oficina / docs Public

images: copy review approved; a pasted picture with no name says "Pasted image"

Paul approved every image string as drafted. The review found one
string outside the catalog: the upload box named a nameless pasted
picture with a hard-coded "image". It is now docs.images.editor.unnamed,
"Pasted image", read through the page's strings like the rest.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 279035daf9172923d87d6a832a8239b8f1f64f05 parent 1beafb9
6 files changed, +8 −6
  • docs/superpowers/specs/2026-12-03-docs-images-design.md +1 −1
  • fixtures/image-upload.mjs +2 −2
  • internal/docs/images_view.go +2 −1
  • internal/docs/render.go +1 −0
  • internal/docs/static/{editor.55f121abf0b9044f.js => editor.711ab3525131a0fa.js} +1 −1
  • internal/docs/views/show.html +1 −1

CI passed — run details

CI log
amadan: log truncated — showing the last 524107 bytes of 669293
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
   Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__images/core)
    Finished `release` profile [optimized] target(s) in 13.42s
   Compiling cfg-if v1.0.4
   Compiling once_cell v1.21.4
   Compiling smallvec v1.15.2
   Compiling pin-project-lite v0.2.17
   Compiling parking v2.2.1
   Compiling serde_core v1.0.229
   Compiling zerocopy v0.8.56
   Compiling libc v0.2.189
   Compiling scopeguard v1.2.0
   Compiling zmij v1.0.23
   Compiling crossbeam-utils v0.8.22
   Compiling memchr v2.8.3
   Compiling itoa v1.0.18
   Compiling thiserror v2.0.20
   Compiling arc-swap v1.9.2
   Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/feat__images/core/vendor/fastrand-2.5.0)
   Compiling foldhash v0.2.0
   Compiling lock_api v0.4.14
   Compiling num-traits v0.2.19
   Compiling libm v0.2.16
   Compiling event-listener v5.4.2
   Compiling smallstr v0.3.1
   Compiling indexmap-nostd v0.4.0
   Compiling downcast-rs v1.2.1
   Compiling equivalent v1.0.2
   Compiling spin v0.9.9
   Compiling semver v1.0.28
   Compiling multi-stash v0.2.0
   Compiling bitflags v2.13.1
   Compiling arrayvec v0.7.8
   Compiling event-listener-strategy v0.5.4
   Compiling wasmparser-nostd v0.100.2
   Compiling async-lock v3.4.2
   Compiling parking_lot_core v0.9.12
   Compiling wasmi_core v0.32.3
   Compiling serde v1.0.229
   Compiling serde_json v1.0.151
   Compiling hashbrown v0.17.1
   Compiling indexmap v2.14.1
   Compiling wasmparser v0.258.0
   Compiling ahash v0.8.12
   Compiling hashbrown v0.14.5
   Compiling dashmap v6.2.1
   Compiling string-interner v0.17.0
   Compiling wasmi_collections v0.32.3
   Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5)
   Compiling wasmi v0.32.3
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
   Compiling docs-core v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__images/core)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 10.88s
     Running unittests src/lib.rs (core/target/debug/deps/docs_core-8041e9c86d57a151)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/emit_edit.rs (core/target/debug/deps/emit_edit-55b899d1bca546d7)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/emit_initial.rs (core/target/debug/deps/emit_initial-9f1c73ad9089d9a7)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/emit_update.rs (core/target/debug/deps/emit_update-383ec62d0fcac3ea)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/build.rs (core/target/debug/deps/build-a020b4fa2735f3d8)

running 11 tests
test a_heading_level_is_a_number ... ok
test adjacent_runs_with_the_same_marks_merge ... ok
test an_unmarked_run_after_a_marked_one_inherits_nothing ... ok
test refuses_a_client_id_a_browser_cannot_read ... ok
test one_text_per_block_and_none_when_empty ... ok
test refuses_past_its_limits ... ok
test builds_paragraphs_headings_and_marks ... ok
test writes_only_into_an_empty_document ... ok
test the_abi_reports_each_refusal_as_its_own_code ... ok
test refuses_malformed_lists_and_writes_nothing ... ok
test the_snapshot_replays_to_the_same_structure ... ok

test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/edit.rs (core/target/debug/deps/edit-c97e44a02210d227)

running 5 tests
test missing_dependency_refuses_without_losing_pending_update ... ok
test unsupported_blocks_are_preserved_and_never_deleted ... ok
test splices_are_normal_updates_and_preserve_untouched_items ... ok
test invalid_later_edit_never_mutates_valid_prefix ... ok
test client_and_input_bounds_are_enforced ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/fragment.rs (core/target/debug/deps/fragment-bcfeb5efe386ec14)

running 31 tests
test empty_document_is_empty_output ... ok
test escapes_html_in_text ... ok
test a_hard_break_does_not_split_the_block_it_is_in ... ok
test empty_block_is_preserved_like_html ... ok
test escapes_json_in_text ... ok
test an_unknown_alignment_is_dropped_from_every_renderer ... ok
test json_clamps_heading_level_like_html ... ok
test json_keeps_unknown_nodes_and_their_children ... ok
test json_of_an_empty_document_is_an_empty_doc_node ... ok
test a_document_with_no_alignment_renders_exactly_as_it_did_before ... ok
test nested_blocks_do_not_duplicate_their_text ... ok
test json_names_every_font_mark ... ok
test renders_a_code_block_as_the_editor_does ... ok
test reads_paragraphs_as_blocks ... ok
test json_reports_paragraph_alignment ... ok
test renders_a_hard_break_in_every_renderer ... ok
test json_marks_are_in_a_fixed_order ... ok
test json_is_deterministic ... ok
test renders_paragraphs_as_html ... ok
test renders_paragraph_alignment_as_a_class ... ok
test unknown_nodes_keep_their_text ... ok
test text_sibling_before_a_block_is_separated ... ok
test renders_every_font_mark_as_a_classed_span ... ok
test renders_the_document_as_prosemirror_json ... ok
test renders_marks ... ok
test renders_headings_and_lists ... ok
test renders_font_and_size_marks_as_classed_spans ... ok
test renders_block_indent_as_a_class ... ok
test renders_the_point_ladder_and_the_scale_it_replaced ... ok
test reports_block_indent_to_the_exporters ... ok
test renders_every_family_in_the_manifest ... ok

test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/images.rs (core/target/debug/deps/images-c28e8e83dd718120)

running 10 tests
test own_image_draws_under_a_public_base_without_the_sqid ... ok
test json_carries_only_the_checked_parts ... ok
test alt_text_is_escaped_in_html_and_json ... ok
test views_are_checked_against_their_grammars ... ok
test own_image_draws_under_the_signed_in_base ... ok
test text_is_unchanged_around_an_image ... ok
test the_default_view_draws_every_image_as_missing ... ok
test reads_the_wire_vector ... ok
test sizes_are_digits_clamped_and_both_or_neither ... ok
test anything_but_this_documents_own_address_is_missing ... ok

test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/initial.rs (core/target/debug/deps/initial-6cb9944fcac66f60)

running 3 tests
test initial_rejects_client_ids_outside_yjs_range ... ok
test initial_content_is_real_structured_literal_text ... ok
test initial_rejection_never_leaves_partial_content ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/native_rule_convergence.rs (core/target/debug/deps/native_rule_convergence-342b1cb2a518dd6b)

running 1 test
test native_rule_updates_converge_through_server_rendering_and_snapshot_reload ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/no_host_imports.rs (core/target/debug/deps/no_host_imports-749e3bb81921103c)

running 1 test
test no_host_imports ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/snapshot.rs (core/target/debug/deps/snapshot-9b9d32d43ea3392d)

running 5 tests
test garbage_does_not_verify ... ok
test a_snapshot_of_this_document_verifies ... ok
test a_snapshot_replayed_into_an_empty_doc_reproduces_the_document ... ok
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok
test a_snapshot_of_a_different_document_does_not_verify ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/wasm_trap_containment.rs (core/target/debug/deps/wasm_trap_containment-796adb9aafaf4a54)

running 2 tests
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
build-wasm: Linux/aarch64 builds natively; the result is not the canonical amd64 build
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
    Blocking waiting for file lock on package cache
warning: unused import: `ArrayRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

    Blocking waiting for file lock on build directory
warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
    Finished `release` profile [optimized] target(s) in 0.04s
warning: unused import: `ArrayRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> core/target/wasm32-unknown-unknown/release/docs_core.wasm (490429 bytes)
/docs-core/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /docs-core/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /docs-core/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:441:33
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:459:34
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /docs-core/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /docs-core/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /docs-core/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
    Finished `release` profile [optimized] target(s) in 0.04s
core/target/wasm32-unknown-unknown/release/docs_core.wasm (490429 bytes)
test borrow_leak_repro_trapping_unicode_mutation ... ok
test trap_on_one_document_does_not_corrupt_others_or_wedge_the_instance ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 39.03s

     Running tests/wire_compat.rs (core/target/debug/deps/wire_compat-b83687ba569fdc2c)

running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test abi_round_trips_a_fixture ... ok
test applies_formatted ... ok
test applies_hello ... ok
test applies_unicode ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests docs_core

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

=== the embedded wasm must match a fresh build
gate: byte comparison skipped on Linux/aarch64: no build on this host reproduces the canonical amd64 bytes; the input stamp above holds freshness here
=== wire compatibility, both directions
--- regenerating fixtures from JS yjs
hello: 27 bytes
unicode: 33 bytes
formatted: 70 bytes
concurrent: 36 bytes
--- fixtures must be unchanged (they are the contract, not an output)
--- Rust reads what JS wrote
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
     Running tests/wire_compat.rs (target/debug/deps/wire_compat-b83687ba569fdc2c)

running 6 tests
test abi_rejects_garbage_without_panicking ... ok
test applies_concurrent ... ok
test applies_hello ... ok
test abi_round_trips_a_fixture ... ok
test applies_formatted ... ok
test applies_unicode ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

--- JS reads what Rust wrote
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

verify-rust: ok (81 bytes)
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

initial content: real Yjs/ProseMirror parity passed
semantic edits: production schema, rich-content identity and offline convergence passed
wire-gate: ok
=== spacing: every margin, padding and gap on the scale
=== go: vet, test, gofmt
ok  	github.com/carlosframework/docs/cmd/docs	4.219s
?   	github.com/carlosframework/docs/cmd/docs-colophon	[no test files]
?   	github.com/carlosframework/docs/cmd/docs-contract	[no test files]
ok  	github.com/carlosframework/docs/internal/contract	0.253s
ok  	github.com/carlosframework/docs/internal/core	15.661s
ok  	github.com/carlosframework/docs/internal/docs	258.819s
?   	github.com/carlosframework/docs/internal/docs/keymailtest	[no test files]
?   	github.com/carlosframework/docs/internal/docs/linkstore	[no test files]
ok  	github.com/carlosframework/docs/internal/docs/principalstore	0.203s
ok  	github.com/carlosframework/docs/internal/docx	0.223s
ok  	github.com/carlosframework/docs/internal/export	0.242s
ok  	github.com/carlosframework/docs/internal/fonts	0.148s
ok  	github.com/carlosframework/docs/internal/imagefile	0.523s
ok  	github.com/carlosframework/docs/internal/lint	0.098s
?   	github.com/carlosframework/docs/internal/pdf	[no test files]
ok  	github.com/carlosframework/docs/internal/shipped	5.309s
=== go: race detector on warm handles and the stream
ok  	github.com/carlosframework/docs/internal/docs	373.517s
=== go: build ./... (the app, not just the packages tests import)
gate: ok
=== native ===
sync-fonts: 62 faces match internal/fonts (20.9 MB).
   Compiling proc-macro2 v1.0.107
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling serde_core v1.0.229
   Compiling cfg-if v1.0.4
   Compiling smallvec v1.15.2
   Compiling crossbeam-utils v0.8.22
   Compiling rustversion v1.0.23
   Compiling getrandom v0.4.3
   Compiling parking_lot_core v0.9.12
   Compiling zmij v1.0.23
   Compiling pin-project-lite v0.2.17
   Compiling thiserror v2.0.20
   Compiling serde v1.0.229
   Compiling scopeguard v1.2.0
   Compiling serde_json v1.0.151
   Compiling itoa v1.0.18
   Compiling event-listener v5.4.2
   Compiling lock_api v0.4.14
   Compiling hashbrown v0.14.5
   Compiling memchr v2.8.3
   Compiling once_cell v1.21.4
   Compiling event-listener-strategy v0.5.4
   Compiling smallstr v0.3.1
   Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/feat__images/core/vendor/fastrand-2.5.0)
   Compiling async-lock v3.4.2
   Compiling dashmap v6.2.1
   Compiling arc-swap v1.9.2
   Compiling syn v3.0.5
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v2.0.20
   Compiling async-trait v0.1.92
   Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:441:33
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
441 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:459:34
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
459 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
   Compiling docs-native-crdt v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__images/native/crdt)
warning: unused import: `XmlFragment`
 --> src/projection.rs:3:68
  |
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
  |                                                                    ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: function `branch` is never used
  --> src/projection.rs:15:8
   |
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: `docs-native-crdt` (lib) generated 2 warnings
    Finished `release` profile [optimized] target(s) in 9.18s
   Compiling proc-macro2 v1.0.107
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling serde_core v1.0.229
   Compiling libc v0.2.189
   Compiling zmij v1.0.23
   Compiling smallvec v1.15.2
   Compiling crossbeam-utils v0.8.22
   Compiling parking_lot_core v0.9.12
   Compiling parking v2.2.1
   Compiling rustversion v1.0.23
   Compiling pin-project-lite v0.2.17
   Compiling scopeguard v1.2.0
   Compiling cfg-if v1.0.4
   Compiling thiserror v2.0.20
   Compiling serde_json v1.0.151
   Compiling serde v1.0.229
   Compiling lock_api v0.4.14
   Compiling once_cell v1.21.4
   Compiling event-listener v5.4.2
   Compiling hashbrown v0.14.5
   Compiling itoa v1.0.18
   Compiling memchr v2.8.3
   Compiling smallstr v0.3.1
   Compiling fastrand v2.5.0 (/home/ci/work/repos/oficina__docs/wt/feat__images/core/vendor/fastrand-2.5.0)
   Compiling event-listener-strategy v0.5.4
   Compiling async-lock v3.4.2
   Compiling arc-swap v1.9.2
   Compiling syn v3.0.5
   Compiling dashmap v6.2.1
   Compiling serde_derive v1.0.229
   Compiling thiserror-impl v2.0.20
   Compiling async-trait v0.1.92
   Compiling yrs v0.23.5 (/home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5)
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: `yrs` (lib) generated 66 warnings (run `cargo fix --lib -p yrs` to apply 35 suggestions)
   Compiling docs-native-crdt v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__images/native/crdt)
warning: unused import: `XmlFragment`
 --> src/projection.rs:3:68
  |
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
  |                                                                    ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: function `branch` is never used
  --> src/projection.rs:15:8
   |
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: `docs-native-crdt` (lib test) generated 2 warnings (2 duplicates)
warning: `docs-native-crdt` (lib) generated 2 warnings
warning: variable does not need to be mutable
  --> src/bin/gc_undo_kept_probe.rs:26:9
   |
26 |     let mut record = |stream: &Vec<Vec<u8>>, editor: &Editor| {
   |         ----^^^^^^
   |         |
   |         help: remove this `mut`
   |
   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: `docs-native-crdt` (bin "gc_undo_kept_probe" test) generated 1 warning (1 duplicate)
warning: `docs-native-crdt` (bin "gc_undo_kept_probe") generated 1 warning (run `cargo fix --bin "gc_undo_kept_probe" -p docs-native-crdt` to apply 1 suggestion)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 13.24s
     Running unittests src/lib.rs (native/crdt/target/debug/deps/docs_native_crdt-befa9224879892ef)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/gc_undo_kept_probe.rs (native/crdt/target/debug/deps/gc_undo_kept_probe-eef07e6cbd706f56)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/rule_wire_probe.rs (native/crdt/target/debug/deps/rule_wire_probe-6b8784447f0442f3)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/update_wire_probe.rs (native/crdt/target/debug/deps/update_wire_probe-b642e58c90cd98bb)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running unittests src/bin/wire_fixture.rs (native/crdt/target/debug/deps/wire_fixture-9c9e0438b0ff1542)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/convergence_fuzz.rs (native/crdt/target/debug/deps/convergence_fuzz-bf20b5aa36d36752)

running 2 tests
test three_editors_converge_with_causal_delivery has been running for over 60 seconds
test three_editors_converge_with_shuffled_duplicated_delivery has been running for over 60 seconds
test three_editors_converge_with_causal_delivery ... ok
test three_editors_converge_with_shuffled_duplicated_delivery ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 97.85s

     Running tests/damaged_snapshots.rs (native/crdt/target/debug/deps/damaged_snapshots-8d06803cc8487b90)

running 3 tests
test parked_content_reads_the_same_after_a_rebuild ... ok
test an_edit_on_a_damaged_replica_does_not_carry_what_it_parks ... ok
test every_damaged_snapshot_heals_by_catching_up_from_the_start_and_rebuilding ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s

     Running tests/delete_tail_review.rs (native/crdt/target/debug/deps/delete_tail_review-47f988cd29634850)

running 4 tests
test deletion_received_before_any_source_update_is_preserved ... ok
test partially_known_delete_range_remains_deleted_when_tail_arrives ... ok
test unknown_client_deletion_survives_snapshot_before_source_arrives ... ok
test partially_known_delete_range_survives_snapshot_before_tail_arrives ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/display_mapping.rs (native/crdt/target/debug/deps/display_mapping-a0428517b0879cd7)

running 5 tests
test a_text_holding_an_embed_maps_one_position_per_unit ... ok
test walk_matches_on_every_kind_of_node ... ok
test typing_anywhere_edits_exactly_that_display_position ... ok
test projection_is_unchanged_for_documents_without_embeds ... ok
test walk_matches_the_projection_mapping_on_edited_documents ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.95s

     Running tests/gc_undo_kept.rs (native/crdt/target/debug/deps/gc_undo_kept-7567999986b62301)

running 4 tests
test yrs_collects_kept_children_of_a_collected_type ... ok
test a_snapshot_after_a_peer_deletes_a_kept_items_paragraph_holds_what_the_editor_shows ... ok
test every_update_and_snapshot_replays_into_plain_yrs_with_gc_on_and_off ... ok
test undoing_past_the_collected_paragraph_converges_with_the_peer ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/gc_undo_kept_fuzz.rs (native/crdt/target/debug/deps/gc_undo_kept_fuzz-be0a0bb26c6e21f3)

running 2 tests
test three_editors_with_undo_shuffled_and_duplicated ... ok
test three_editors_with_undo_in_causal_order ... ok

test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 50.77s

     Running tests/insert_into_deleted_parent.rs (native/crdt/target/debug/deps/insert_into_deleted_parent-fd3967092458f291)

running 3 tests
test an_undo_whose_neighbours_trace_to_one_item_places_it_as_every_peer_does ... ok
test an_item_undone_into_a_deleted_restored_parent_is_deleted_as_everywhere_else ... ok
test local_inserts_into_a_type_a_peer_deleted_are_deleted_as_everywhere_else ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/minimal_updates.rs (native/crdt/target/debug/deps/minimal_updates-9e5d3a3002dcd7ce)

running 4 tests
test a_command_that_changes_nothing_sends_an_empty_update ... ok
test applying_updates_records_nothing_for_the_next_command ... ok
test every_command_kind_converges_through_its_own_update_alone ... ok
test keystroke_update_is_independent_of_the_documents_history ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.43s

     Running tests/projection_delta.rs (native/crdt/target/debug/deps/projection_delta-909c401d83293512)

running 3 tests
test a_full_projection_resets_the_delta_base ... ok
test typing_reprojects_only_the_block_typed_in ... ok
test deltas_replay_to_the_whole_projection_through_every_kind_of_change ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 22.29s

     Running tests/replica.rs (native/crdt/target/debug/deps/replica-646ea8f47bcf7d9a)

running 20 tests
test changing_block_preserves_existing_inline_formatting ... ok
test concatenated_log_applies_every_update ... ok
test paragraph_split_keeps_prefix_identity_and_suffix_marks ... ok
test deleting_and_replacing_inline_images_preserves_surrounding_text ... ok
test reads_existing_yjs_fragment_without_rewriting ... ok
test concurrent_insertions_and_own_undo_preserve_peer ... ok
test hard_break_is_inline_and_code_enter_does_not_split_block ... ok
test merged_pending_updates_preserve_dependencies_deletes_and_duplicate_delivery ... ok
test rich_paste_preserves_native_marks_and_existing_suffix ... ok
test rich_paste_rule_retains_suffix_as_separate_paragraph ... ok
test cross_paragraph_replacement_keeps_prefix_id_and_formatted_suffix ... ok
test rich_paste_at_empty_block_keeps_heading_and_list_structure ... ok
test optimistic_newline_typeahead_resolves_new_paragraph_in_source ... ok
test list_item_sink_and_lift_keep_text_and_marks ... ok
test distinct_display_generations_preserve_peer_and_authoritative_undo ... ok
test utf16_edits_preserve_identity_and_marks ... ok
test select_all_replaces_multiple_native_text_nodes_and_terminal_separator ... ok
test selection_anchor_tracks_peer_insertion_in_utf16 ... ok
test toggling_existing_list_changes_type_and_lifts_without_nesting ... ok
test input_rules_transform_and_backspace_restore_typed_prefix ... ok

test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/rule_delta_convergence.rs (native/crdt/target/debug/deps/rule_delta_convergence-bf8bcfd001e0b3ad)

running 1 test
test every_rule_delta_converges_with_remote_apply ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

     Running tests/snapshot.rs (native/crdt/target/debug/deps/snapshot-869801638b07d721)

running 1 test
test a_snapshot_with_a_parked_update_heals_once_its_dependency_arrives ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/structural_commands.rs (native/crdt/target/debug/deps/structural_commands-31fe5eeca1c779aa)

running 5 tests
test quote_toggle_lifts_only_selected_block_preserving_prefix_identity_and_marks ... ok
test formatting_does_not_merge_unrelated_existing_adjacent_lists ... ok
test quote_wrap_groups_selected_paragraphs_in_one_container ... ok
test quote_range_can_lift_last_to_first_without_stale_ids ... ok
test adjacent_list_wrapping_merges_only_after_all_targets_are_applied ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests docs_native_crdt

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Compiling zerocopy v0.8.56
   Compiling serde_core v1.0.229
   Compiling version_check v0.9.5
   Compiling proc-macro2 v1.0.107
   Compiling once_cell v1.21.4
   Compiling serde v1.0.229
   Compiling autocfg v1.5.1
   Compiling cfg-if v1.0.4
   Compiling unicode-ident v1.0.24
   Compiling quote v1.0.47
   Compiling libm v0.2.16
   Compiling paste v1.0.15
   Compiling indexmap-nostd v0.4.0
   Compiling zmij v1.0.23
   Compiling downcast-rs v1.2.1
   Compiling spin v0.9.9
   Compiling smallvec v1.15.2
   Compiling arrayvec v0.7.8
   Compiling serde_json v1.0.151
   Compiling multi-stash v0.2.0
   Compiling memchr v2.8.3
   Compiling wasmparser-nostd v0.100.2
   Compiling itoa v1.0.18
   Compiling ahash v0.8.12
   Compiling num-traits v0.2.19
   Compiling syn v2.0.119
   Compiling wasmi_core v0.32.3
   Compiling num-derive v0.4.2
   Compiling hashbrown v0.14.5
   Compiling string-interner v0.17.0
   Compiling wasmi_collections v0.32.3
   Compiling wasmi v0.32.3
   Compiling docs-native-host v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__images/native/host)
    Finished `test` profile [unoptimized + debuginfo] target(s) in 10.18s
     Running unittests src/lib.rs (native/host/target/debug/deps/docs_native_host-e60fab76ea871d54)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running tests/gc_undo_kept.rs (native/host/target/debug/deps/gc_undo_kept-2b97d1f4eb7f779f)

running 1 test
test a_kept_word_under_a_paragraph_a_peer_deletes_snapshots_whole_in_the_sandbox ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s

     Running tests/sandbox.rs (native/host/target/debug/deps/sandbox-970356a1ca5b85e3)

running 9 tests
test fuel_budget_grows_with_the_instance_but_stays_bounded ... ok
test long_edited_document_opens_and_types ... ignored, needs DOCS_LARGE_DOCUMENT; native/scripts/check-native.sh runs it
test native_boundary_rejects_client_ids_that_v1_decoder_would_truncate ... ok
test failed_replica_cannot_be_reused ... ok
test interpreter_executes_native_crdt_without_host_imports ... ok
test generated_source_delta_applies_to_authority_with_protocol_client_ids ... ok
test selection_anchor_call_does_not_poison_source_interpreter ... ok
test hosts_share_the_compiled_module_but_never_state ... ok
test running_out_of_fuel_is_a_clean_failure_that_discards_the_instance ... ok

test result: ok. 8 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.45s

   Doc-tests docs_native_host

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s


added 19 packages in 557ms
{"pages":200,"edits":10000,"blocks":1140,"chars":631067,"bytes":887424}
   Compiling serde_core v1.0.229
   Compiling zerocopy v0.8.56
   Compiling version_check v0.9.5
   Compiling proc-macro2 v1.0.107
   Compiling once_cell v1.21.4
   Compiling unicode-ident v1.0.24
   Compiling serde v1.0.229
   Compiling autocfg v1.5.1
   Compiling cfg-if v1.0.4
   Compiling quote v1.0.47
   Compiling libm v0.2.16
   Compiling paste v1.0.15
   Compiling zmij v1.0.23
   Compiling downcast-rs v1.2.1
   Compiling indexmap-nostd v0.4.0
   Compiling serde_json v1.0.151
   Compiling multi-stash v0.2.0
   Compiling smallvec v1.15.2
   Compiling spin v0.9.9
   Compiling arrayvec v0.7.8
   Compiling itoa v1.0.18
   Compiling memchr v2.8.3
   Compiling wasmparser-nostd v0.100.2
   Compiling ahash v0.8.12
   Compiling num-traits v0.2.19
   Compiling syn v2.0.119
   Compiling wasmi_core v0.32.3
   Compiling num-derive v0.4.2
   Compiling hashbrown v0.14.5
   Compiling string-interner v0.17.0
   Compiling wasmi_collections v0.32.3
   Compiling wasmi v0.32.3
   Compiling docs-native-host v0.1.0 (/home/ci/work/repos/oficina__docs/wt/feat__images/native/host)
    Finished `release` profile [optimized] target(s) in 15.90s
     Running tests/sandbox.rs (native/host/target/release/deps/sandbox-2a6c113ddc8ca496)

running 1 test
test long_edited_document_opens_and_types ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 8 filtered out; finished in 2.52s

warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: unused import: `XmlFragment`
 --> src/projection.rs:3:68
  |
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
  |                                                                    ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: function `branch` is never used
  --> src/projection.rs:15:8
   |
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: unused import: `XmlFragment`
 --> src/projection.rs:3:68
  |
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
  |                                                                    ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: function `branch` is never used
  --> src/projection.rs:15:8
   |
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: unused import: `XmlFragment`
 --> src/projection.rs:3:68
  |
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
  |                                                                    ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: function `branch` is never used
  --> src/projection.rs:15:8
   |
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

Rule wire replay passed 24 incremental/snapshot comparisons and four exact final bodies.
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: unused import: `XmlFragment`
 --> src/projection.rs:3:68
  |
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
  |                                                                    ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: function `branch` is never used
  --> src/projection.rs:15:8
   |
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
  --> src/bin/gc_undo_kept_probe.rs:26:9
   |
26 |     let mut record = |stream: &Vec<Vec<u8>>, editor: &Editor| {
   |         ----^^^^^^
   |         |
   |         help: remove this `mut`
   |
   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

GC undo-kept wire replay passed 24 snapshot comparisons, Yjs's two references and the collected kept word.
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: unused import: `XmlFragment`
 --> src/projection.rs:3:68
  |
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
  |                                                                    ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: function `branch` is never used
  --> src/projection.rs:15:8
   |
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
  --> src/bin/gc_undo_kept_probe.rs:26:9
   |
26 |     let mut record = |stream: &Vec<Vec<u8>>, editor: &Editor| {
   |         ----^^^^^^
   |         |
   |         help: remove this `mut`
   |
   = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

GC undo-kept wire: 24 browser states read natively as the editor showed them.
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: unused import: `XmlFragment`
 --> src/projection.rs:3:68
  |
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
  |                                                                    ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: function `branch` is never used
  --> src/projection.rs:15:8
   |
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

Update wire replay passed 44 comparisons (19 commands in order, and shuffled with duplicates, gc on and off); keystroke 17 B (browser 18 B, a state-vector diff would be 161 B).
warning: unused import: `ArrayRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:17:39
   |
17 | use crate::types::array::{ArrayEvent, ArrayRef};
   |                                       ^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unused imports: `XmlElementRef` and `XmlTextRef`
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:22:25
   |
22 | use crate::types::xml::{XmlElementRef, XmlEvent, XmlTextEvent, XmlTextRef};
   |                         ^^^^^^^^^^^^^                          ^^^^^^^^^^

warning: value assigned to `left` is never read
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:288:24
    |
288 |         let mut left = None;
    |                        ^^^^ this value is reassigned later and never used
...
334 |                 left = parent_branch.map.get(sub).cloned();
    |                 ------------------------------------------ `left` is overwritten here before the previous value is read
    |
    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default

warning: variable does not need to be mutable
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:672:29
    |
672 |                 if let Some(mut left) = this.left {
    |                             ----^^^^
    |                             |
    |                             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `ptr`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:758:25
    |
758 |                     let ptr = BranchPtr::from(branch);
    |                         ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
    |
    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

warning: unused variable: `branch`
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:447:35
    |
447 |                 ItemContent::Type(branch) => {
    |                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_branch`

warning: method `clock_end` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block.rs:136:12
    |
126 | impl BlockCell {
    | -------------- method in this implementation
...
136 |     pub fn clock_end(&self) -> u32 {
    |            ^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: method `get_block_mut` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:79:8
   |
23 | impl ClientBlockList {
   | -------------------- method in this implementation
...
79 |     fn get_block_mut(&mut self, clock: u32) -> Option<&mut BlockCell> {
   |        ^^^^^^^^^^^^^

warning: methods `contains` and `get_block_mut` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:306:12
    |
299 | impl BlockStore {
    | --------------- methods in this implementation
...
306 |     pub fn contains(&self, id: &ID) -> bool {
    |            ^^^^^^^^
...
381 |     pub(crate) fn get_block_mut(&mut self, id: &ID) -> Option<&mut BlockCell> {
    |                   ^^^^^^^^^^^^^

warning: struct `Blocks` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:486:19
    |
486 | pub(crate) struct Blocks<'a> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_store.rs:492:8
    |
491 | impl<'a> Blocks<'a> {
    | ------------------- associated function in this implementation
492 |     fn new(update: &'a BlockStore) -> Self {
    |        ^^^

warning: constant `WEAK_REF_FLAGS_QUOTE` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:216:7
    |
216 | const WEAK_REF_FLAGS_QUOTE: u8 = 0b0000_0001;
    |       ^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:218:7
    |
218 | const WEAK_REF_FLAGS_START_ASSOC: u8 = 0b0000_0010;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_ASSOC` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:220:7
    |
220 | const WEAK_REF_FLAGS_END_ASSOC: u8 = 0b0000_0100;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_START_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:222:7
    |
222 | const WEAK_REF_FLAGS_START_UNBOUNDED: u8 = 0b0000_1000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_END_UNBOUNDED` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:224:7
    |
224 | const WEAK_REF_FLAGS_END_UNBOUNDED: u8 = 0b0001_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: constant `WEAK_REF_FLAGS_PARENT_ROOT` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:226:7
    |
226 | const WEAK_REF_FLAGS_PARENT_ROOT: u8 = 0b0010_0000;
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: method `blocks` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:45:19
   |
29 | impl UpdateBlocks {
   | ----------------- method in this implementation
...
45 |     pub(crate) fn blocks(&self) -> Blocks<'_> {
   |                   ^^^^^^

warning: methods `last_id` and `into_block` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:934:19
    |
879 | impl BlockCarrier {
    | ----------------- methods in this implementation
...
934 |     pub(crate) fn last_id(&self) -> ID {
    |                   ^^^^^^^
...
963 |     pub fn into_block(self) -> Option<Box<Item>> {
    |            ^^^^^^^^^^

warning: struct `Blocks` is never constructed
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1076:19
     |
1076 | pub(crate) struct Blocks<'a> {
     |                   ^^^^^^

warning: associated function `new` is never used
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/update.rs:1082:8
     |
1081 | impl<'a> Blocks<'a> {
     | ------------------- associated function in this implementation
1082 |     fn new(update: &'a UpdateBlocks) -> Self {
     |        ^^^

warning: methods `move_to`, `forward`, `backward`, and `values` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:73:12
    |
 23 | impl BlockIter {
    | -------------- methods in this implementation
...
 73 |     pub fn move_to(&mut self, index: u32, txn: &mut TransactionMut) {
    |            ^^^^^^^
...
 99 |     pub fn forward<T: ReadTxn>(&mut self, txn: &T, len: u32) {
    |            ^^^^^^^
...
186 |     pub fn backward<T: ReadTxn>(&mut self, txn: &mut T, mut len: u32) {
    |            ^^^^^^^^
...
520 |     pub fn values<'a, 'txn, T: ReadTxn>(
    |            ^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:528:12
    |
528 | pub struct Values<'a, 'txn> {
    |            ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/block_iter.rs:534:8
    |
533 | impl<'a, 'txn> Values<'a, 'txn> {
    | ------------------------------- associated function in this implementation
534 |     fn new(iter: &'a mut BlockIter, txn: &'txn mut TransactionMut<'txn>) -> Self {
    |        ^^^

warning: method `remove_at` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/branch.rs:427:19
    |
245 | impl Branch {
    | ----------- method in this implementation
...
427 |     pub(crate) fn remove_at(&self, txn: &mut TransactionMut, index: u32, len: u32) -> u32 {
    |                   ^^^^^^^^^

warning: trait `BlockIterator` is never used
 --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:7:18
  |
7 | pub(crate) trait BlockIterator: TxnIterator<Item = ItemPtr> + Sized {
  |                  ^^^^^^^^^^^^^

warning: trait `BlockSliceIterator` is never used
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:21:18
   |
21 | pub(crate) trait BlockSliceIterator: TxnIterator<Item = ItemSlice> + Sized {
   |                  ^^^^^^^^^^^^^^^^^^

warning: struct `BlockSlices` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:283:19
    |
283 | pub(crate) struct BlockSlices<I>(I)
    |                   ^^^^^^^^^^^

warning: struct `RangeIter` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:311:19
    |
311 | pub(crate) struct RangeIter<I> {
    |                   ^^^^^^^^^

warning: associated items `new` and `begin` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:322:8
    |
318 | / impl<I> RangeIter<I>
319 | | where
320 | |     I: TxnIterator<Item = ItemPtr>,
    | |___________________________________- associated items in this implementation
321 |   {
322 |       fn new(iter: I, start: StickyIndex, end: StickyIndex) -> Self {
    |          ^^^
...
331 |       fn begin<T: ReadTxn>(&mut self, txn: &T, start_offset: &mut u32) -> Option<ItemPtr> {
    |          ^^^^^

warning: enum `RangeIterState` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:439:6
    |
439 | enum RangeIterState {
    |      ^^^^^^^^^^^^^^

warning: struct `Values` is never constructed
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:450:19
    |
450 | pub(crate) struct Values<I> {
    |                   ^^^^^^

warning: associated function `new` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/iter.rs:456:8
    |
455 | impl<I> Values<I> {
    | ----------------- associated function in this implementation
456 |     fn new(iter: I) -> Self {
    |        ^^^

warning: method `get_item` is never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/moving.rs:640:19
    |
410 | impl StickyIndex {
    | ---------------- method in this implementation
...
640 |     pub(crate) fn get_item<T: ReadTxn>(&self, txn: &T) -> Option<ItemPtr> {
    |                   ^^^^^^^^

warning: methods `contains_id`, `right`, and `left` are never used
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/slice.rs:174:12
    |
100 | impl ItemSlice {
    | -------------- methods in this implementation
...
174 |     pub fn contains_id(&self, id: &ID) -> bool {
    |            ^^^^^^^^^^^
...
244 |     pub fn right(&self) -> Option<ItemSlice> {
    |            ^^^^^
...
264 |     pub fn left(&self) -> Option<ItemSlice> {
    |            ^^^^

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:63:18
   |
63 |     pub fn added(&self) -> SubdocsEventIter {
   |                  ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                  |
   |                  the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
   = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
   |
63 |     pub fn added(&self) -> SubdocsEventIter<'_> {
   |                                            ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:69:20
   |
69 |     pub fn removed(&self) -> SubdocsEventIter {
   |                    ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                    |
   |                    the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
69 |     pub fn removed(&self) -> SubdocsEventIter<'_> {
   |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/event.rs:75:19
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter {
   |                   ^^^^^     ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                   |
   |                   the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
75 |     pub fn loaded(&self) -> SubdocsEventIter<'_> {
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/id_set.rs:595:34
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks {
    |                                  ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
595 |     pub(crate) fn deleted_blocks(&self) -> DeletedBlocks<'_> {
    |                                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:345:20
    |
345 |     pub fn subdocs(&self) -> SubdocsIter {
    |                    ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                    |
    |                    the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
345 |     pub fn subdocs(&self) -> SubdocsIter<'_> {
    |                                         ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:351:25
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids {
    |                         ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                         |
    |                         the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
351 |     pub fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                              ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:431:28
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<Store>> {
    |                            ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                            |
    |                            the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
431 |     pub(crate) fn try_read(&self) -> Option<RwLockReadGuard<'_, Store>> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:436:33
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<Store> {
    |                                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
436 |     pub(crate) fn read_blocking(&self) -> RwLockReadGuard<'_, Store> {
    |                                                           +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:445:30
    |
445 |     pub(crate) fn read_async(&self) -> Read<Store> {
    |                              ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                              |
    |                              the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
445 |     pub(crate) fn read_async(&self) -> Read<'_, Store> {
    |                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:449:29
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<Store>> {
    |                             ^^^^^            ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
449 |     pub(crate) fn try_write(&self) -> Option<RwLockWriteGuard<'_, Store>> {
    |                                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:454:34
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<Store> {
    |                                  ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                  |
    |                                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
454 |     pub(crate) fn write_blocking(&self) -> RwLockWriteGuard<'_, Store> {
    |                                                             +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/store.rs:463:31
    |
463 |     pub(crate) fn write_async(&self) -> Write<Store> {
    |                               ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
    |                               |
    |                               the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
463 |     pub(crate) fn write_async(&self) -> Write<'_, Store> {
    |                                               +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:166:18
    |
166 |     fn root_refs(&self) -> RootRefs {
    |                  ^^^^^     ^^^^^^^^ the same lifetime is hidden here
    |                  |
    |                  the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
166 |     fn root_refs(&self) -> RootRefs<'_> {
    |                                    ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:173:21
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids {
    |                     ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
173 |     fn subdoc_guids(&self) -> SubdocGuids<'_> {
    |                                          ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transaction.rs:179:16
    |
179 |     fn subdocs(&self) -> SubdocsIter {
    |                ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                |
    |                the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
179 |     fn subdocs(&self) -> SubdocsIter<'_> {
    |                                     ++++

warning: hiding a lifetime that's elided elsewhere is confusing
    --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/types/mod.rs:1108:17
     |
1108 |     pub fn iter(&self) -> EventsIter {
     |                 ^^^^^     ^^^^^^^^^^ the same lifetime is hidden here
     |                 |
     |                 the lifetime is elided here
     |
     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
     |
1108 |     pub fn iter(&self) -> EventsIter<'_> {
     |                                     ++++

warning: types that do not implement `Drop` can still have drop glue, consider instead using `std::mem::needs_drop` to detect whether a type is trivially dropped
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/observer.rs:280:33
    |
280 | pub type Subscription = Arc<dyn Drop + 'static>;
    |                                 ^^^^
    |
    = note: `#[warn(dyn_drop)]` on by default

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/state_vector.rs:93:17
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<ClientID, u32> {
   |                 ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
93 |     pub fn iter(&self) -> std::collections::hash_map::Iter<'_, ClientID, u32> {
   |                                                            +++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/sync/awareness.rs:178:17
    |
178 |     pub fn iter(&self) -> AwarenessIter {
    |                 ^^^^^     ^^^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
178 |     pub fn iter(&self) -> AwarenessIter<'_> {
    |                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:18:21
   |
18 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError>;
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
18 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError>;
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:29:25
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError>;
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
29 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError>;
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:43:33
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
   |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                                 |
   |                                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
43 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
   |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:60:29
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
   |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                             |
   |                             the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
60 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
   |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:71:17
   |
71 |     fn transact(&self) -> Transaction;
   |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
   |                 |
   |                 the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
71 |     fn transact(&self) -> Transaction<'_>;
   |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:83:21
   |
83 |     fn transact_mut(&self) -> TransactionMut;
   |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
83 |     fn transact_mut(&self) -> TransactionMut<'_>;
   |                                             ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:87:21
   |
87 |     fn try_transact(&self) -> Result<Transaction, TransactionAcqError> {
   |                     ^^^^^            ^^^^^^^^^^^ the same lifetime is hidden here
   |                     |
   |                     the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
87 |     fn try_transact(&self) -> Result<Transaction<'_>, TransactionAcqError> {
   |                                                 ++++

warning: hiding a lifetime that's elided elsewhere is confusing
  --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:94:25
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut, TransactionAcqError> {
   |                         ^^^^^            ^^^^^^^^^^^^^^ the same lifetime is hidden here
   |                         |
   |                         the lifetime is elided here
   |
   = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
   |
94 |     fn try_transact_mut(&self) -> Result<TransactionMut<'_>, TransactionAcqError> {
   |                                                        ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:101:33
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut, TransactionAcqError>
    |                                 ^^^^^                       ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                                 |
    |                                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
101 |     fn try_transact_mut_with<T>(&self, origin: T) -> Result<TransactionMut<'_>, TransactionAcqError>
    |                                                                           ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:115:29
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut
    |                             ^^^^^                ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                             |
    |                             the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
115 |     fn transact_mut_with<T>(&self, origin: T) -> TransactionMut<'_>
    |                                                                ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:123:17
    |
123 |     fn transact(&self) -> Transaction {
    |                 ^^^^^     ^^^^^^^^^^^ the same lifetime is hidden here
    |                 |
    |                 the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
123 |     fn transact(&self) -> Transaction<'_> {
    |                                      ++++

warning: hiding a lifetime that's elided elsewhere is confusing
   --> /home/ci/work/repos/oficina__docs/wt/feat__images/native/vendor/yrs-0.23.5/src/transact.rs:128:21
    |
128 |     fn transact_mut(&self) -> TransactionMut {
    |                     ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
    |                     |
    |                     the lifetime is elided here
    |
    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
    |
128 |     fn transact_mut(&self) -> TransactionMut<'_> {
    |                                             ++++

warning: unused import: `XmlFragment`
 --> src/projection.rs:3:68
  |
3 | use yrs::{Any, Array, ArrayRef, BranchID, Out, ReadTxn, Text, Xml, XmlFragment, XmlFragmentRef, XmlOut, XmlTextRef, ID};
  |                                                                    ^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: function `branch` is never used
  --> src/projection.rs:15:8
   |
15 | pub fn branch(node: &XmlOut) -> BranchPtr { node.as_ptr() }
   |        ^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

Native applied 4 browser transaction updates.
Native checks passed (core-only=1).
diff --git a/docs/superpowers/specs/2026-12-03-docs-images-design.md b/docs/superpowers/specs/2026-12-03-docs-images-design.md
index 309147f..68db254 100644
--- a/docs/superpowers/specs/2026-12-03-docs-images-design.md
+++ b/docs/superpowers/specs/2026-12-03-docs-images-design.md
@@ -765,7 +765,7 @@ Where the build departs from the text above, or decides what it left open.
|---|---|
| B1 | **The core's missing box holds the alt text only.** The core has no catalog, so an image with no alt text gets an empty `docs-image-missing` span, and the page fills it with "Image not available" in the reader's language (`labelMissingImages`, on the editor page and `/p/`). An alt text cannot forge the empty span: the core escapes it. |
| B2 | **The web catalog is English-only**, as the rest of Docs' web catalog is today (`Locales = []string{"en"}`). Every string is a catalog key, so the twelve locales come with Docs' own. |
-| B3 | **Copy review is not done yet** (§2.5). The strings are `docs.images.*` and `docs.editor.menu.insert*`, `docs.editor.toolbar.image`, `docs.export.image*` in `render.go`. |
+| B3 | **Copy review done** (§2.5): Paul approved all 38 strings unchanged on 2026-12-03, including `docs.images.editor.unnamed` ("Pasted image"), which the review added for the upload box of a pasted picture with no file name (it was a hard-coded "image"). |
| B4 | **A failed upload does not hold up the ones after it** (Mapa's did). Retry on a picture that was stored but could not be put in re-places it without uploading it again. |
| B5 | **A paste's images are found again with a private-use mark** (`images.mjs`'s `MARK`): inserted as text where each image was and deleted in the same transaction, so their places are known in the document the paste made. A paste carrying the mark itself sends its images to the end of what was pasted. The paste is its own undo step (`stopCapturing`), so undoing it, and only it, drops its uploads. |
| B6 | **Boxes map to the right**, as the Yjs anchor does: text typed at a box goes before it, and several files at one place go in in order. `place()` reads the anchor, not the mapped place, when it resolves. |
diff --git a/fixtures/image-upload.mjs b/fixtures/image-upload.mjs
index 61ffd53..114d174 100644
--- a/fixtures/image-upload.mjs
+++ b/fixtures/image-upload.mjs
@@ -139,7 +139,7 @@ export function createImages({ sqid, t, getView, settled, notice, say, describe
}
function make(source, name, extra = {}) {
- const upload = { id: `upload-${++nextUpload}`, source, name: name || 'image', alt: '', paste: false, rel: null, binding: null, fallback: null, reply: null, dropped: false, done: false, ...extra }
+ const upload = { id: `upload-${++nextUpload}`, source, name: name || t('unnamed'), alt: '', paste: false, rel: null, binding: null, fallback: null, reply: null, dropped: false, done: false, ...extra }
upload.dom = box(upload)
return upload
}
@@ -449,7 +449,7 @@ export function createImages({ sqid, t, getView, settled, notice, say, describe
return
}
const source = image.kind === 'copy' ? { copy: image.src } : { data: image.src }
- const upload = make(source, image.alt || 'image', { alt: image.alt, paste: true, pasteBefore })
+ const upload = make(source, image.alt || t('unnamed'), { alt: image.alt, paste: true, pasteBefore })
add.push({ upload, pos: places[i] })
})
if (add.length) tr.setMeta(uploadsKey, { add })
diff --git a/internal/docs/images_view.go b/internal/docs/images_view.go
index 10bc8f6..152692f 100644
--- a/internal/docs/images_view.go
+++ b/internal/docs/images_view.go
@@ -21,7 +21,7 @@ type imagesView struct {
Insert, Image, Uploading, NotUploaded, NotUploadedWhy string
ErrorType, ErrorSVG, ErrorSize, ErrorOffline, ErrorFailed, ErrorOff string
- Retry, Remove, Added, AddedEnd, LeftOne, LeftOther string
+ Retry, Remove, Added, AddedEnd, LeftOne, LeftOther, Unnamed string
Missing, Name, NameNone, AltBadge, AltAdd, AltEdit, AltLabel, AltText string
Open, Bubble string
}
@@ -47,6 +47,7 @@ func newImagesView(r *http.Request, on bool) imagesView {
AddedEnd: t("added.end"),
LeftOne: t("left.one"),
LeftOther: t("left.other"),
+ Unnamed: t("unnamed"),
Missing: t("missing"),
Name: t("name"),
NameNone: t("name.none"),
diff --git a/internal/docs/render.go b/internal/docs/render.go
index 7a65120..6aa4fee 100644
--- a/internal/docs/render.go
+++ b/internal/docs/render.go
@@ -378,6 +378,7 @@ var Catalog = rastrillo.Catalog{
"docs.images.editor.error.offline": "Connection unavailable.",
"docs.images.editor.retry": "Retry",
"docs.images.editor.remove": "Remove",
+ "docs.images.editor.unnamed": "Pasted image",
"docs.images.editor.added": "Image added",
"docs.images.editor.added.end": "Image added at the end",
"docs.images.editor.left.one": "{n} image wasn’t copied. Save it and drop it in.",
diff --git a/internal/docs/static/editor.55f121abf0b9044f.js b/internal/docs/static/editor.711ab3525131a0fa.js
similarity index 95%
rename from internal/docs/static/editor.55f121abf0b9044f.js
rename to internal/docs/static/editor.711ab3525131a0fa.js
index b22b3be..a3ae7ae 100644
--- a/internal/docs/static/editor.55f121abf0b9044f.js
+++ b/internal/docs/static/editor.711ab3525131a0fa.js
@@ -11,6 +11,6 @@ ${t.toString()}`)},zl=class{constructor(e){this.patterns=[],this.$state=e}if(e,t
`);return{dom:a,text:d,slice:e}}function ap(n,e,t,r,i){let s=i.parent.type.spec.code,o,l;if(!t&&!e)return null;let a=!!e&&(r||s||!t);if(a){if(n.someProp("transformPastedText",d=>{e=d(e,s||r,n)}),s)return l=new T(k.from(n.state.schema.text(e.replace(/\r\n?/g,`
`))),0,0),n.someProp("transformPasted",d=>{l=d(l,n,!0)}),l;let u=n.someProp("clipboardTextParser",d=>d(e,i,r,n));if(u)l=u;else{let d=i.marks(),{schema:h}=n.state,p=Un.fromSchema(h);o=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(m=>{let g=o.appendChild(document.createElement("p"));m&&g.appendChild(p.serializeNode(h.text(m,d)))})}}else n.someProp("transformPastedHTML",u=>{t=u(t,n)}),o=Nx(t),ts&&Ix(o);let c=o&&o.querySelector("[data-pm-slice]"),f=c&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(c.getAttribute("data-pm-slice")||"");if(f&&f[3])for(let u=+f[3];u>0;u--){let d=o.firstChild;for(;d&&d.nodeType!=1;)d=d.nextSibling;if(!d)break;o=d}if(l||(l=(n.someProp("clipboardParser")||n.someProp("domParser")||Ui.fromSchema(n.state.schema)).parseSlice(o,{preserveWhitespace:!!(a||f),context:i,ruleFromNode(d){return d.nodeName=="BR"&&!d.nextSibling&&d.parentNode&&!Tx.test(d.parentNode.nodeName)?{ignore:!0}:null}})),f)l=vx(Bh(l,+f[1],+f[2]),f[4]);else if(l=T.maxOpen(Dx(l.content,i),!0),l.openStart||l.openEnd){let u=0,d=0;for(let h=l.content.firstChild;u<l.openStart&&!h.type.spec.isolating;u++,h=h.firstChild);for(let h=l.content.lastChild;d<l.openEnd&&!h.type.spec.isolating;d++,h=h.lastChild);l=Bh(l,u,d)}return n.someProp("transformPasted",u=>{l=u(l,n,a)}),l}var Tx=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function Dx(n,e){if(n.childCount<2)return n;for(let t=e.depth;t>=0;t--){let i=e.node(t).contentMatchAt(e.index(t)),s,o=[];if(n.forEach(l=>{if(!o)return;let a=i.findWrapping(l.type),c;if(!a)return o=null;if(c=o.length&&s.length&&fp(a,s,l,o[o.length-1],0))o[o.length-1]=c;else{o.length&&(o[o.length-1]=up(o[o.length-1],s.length));let f=cp(l,a);o.push(f),i=i.matchType(f.type),s=a}}),o)return k.from(o)}return n}function cp(n,e,t=0){for(let r=e.length-1;r>=t;r--)n=e[r].create(null,k.from(n));return n}function fp(n,e,t,r,i){if(i<n.length&&i<e.length&&n[i]==e[i]){let s=fp(n,e,t,r.lastChild,i+1);if(s)return r.copy(r.content.replaceChild(r.childCount-1,s));if(r.contentMatchAt(r.childCount).matchType(i==n.length-1?t.type:n[i+1]))return r.copy(r.content.append(k.from(cp(t,n,i+1))))}}function up(n,e){if(e==0)return n;let t=n.content.replaceChild(n.childCount-1,up(n.lastChild,e-1)),r=n.contentMatchAt(n.childCount).fillBefore(k.empty,!0);return n.copy(t.append(r))}function sc(n,e,t,r,i,s){let o=e<0?n.firstChild:n.lastChild,l=o.content;return n.childCount>1&&(s=0),i<r-1&&(l=sc(l,e,t,r,i+1,s)),i>=t&&(l=e<0?o.contentMatchAt(0).fillBefore(l,s<=i).append(l):l.append(o.contentMatchAt(o.childCount).fillBefore(k.empty,!0))),n.replaceChild(e<0?0:n.childCount-1,o.copy(l))}function Bh(n,e,t){return e<n.openStart&&(n=new T(sc(n.content,-1,e,n.openStart,0,n.openEnd),e,n.openEnd)),t<n.openEnd&&(n=new T(sc(n.content,1,t,n.openEnd,0,0),n.openStart,t)),n}var dp={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};function hp(){return document.implementation.createHTMLDocument("title")}var Yi=null;function Ox(n){let e=window.trustedTypes;if(!e)return n;if(!Yi){if(Yi=e.defaultPolicy)try{return Yi.createHTML(n)}catch{}Yi=e.createPolicy("ProseMirrorClipboard",{createHTML:t=>t})}return Yi.createHTML(n)}function Nx(n){let e=/^(\s*<meta [^>]*>)*/.exec(n);e&&(n=n.slice(e[0].length));let t=hp(),r=t.body,i=/<([a-z][^>\s]+)/i.exec(n),s;if((s=i&&dp[i[1].toLowerCase()])&&(n=s.map(o=>"<"+o+">").join("")+n+s.map(o=>"</"+o+">").reverse().join("")),r.innerHTML=Ox(n),s)for(let o=0;o<s.length;o++)r=r.querySelector(s[o])||r;for(let o=0;o<t.styleSheets.length;o++){let l=t.styleSheets[o];for(let a=0;a<l.rules.length;a++){let c=l.rules[a];if(c instanceof CSSStyleRule){let f=r.querySelectorAll(c.selectorText);for(let u=0;u<f.length;u++)f[u].style.cssText+=c.style.cssText}}}return r}function Ix(n){let e=n.querySelectorAll(Me?"span:not([class]):not([style])":"span.Apple-converted-space");for(let t=0;t<e.length;t++){let r=e[t];r.childNodes.length==1&&r.textContent=="\xA0"&&r.parentNode&&r.parentNode.replaceChild(n.ownerDocument.createTextNode(" "),r)}}function vx(n,e){if(!n.size)return n;let t=n.content.firstChild.type.schema,r;try{r=JSON.parse(e)}catch{return n}let{content:i,openStart:s,openEnd:o}=n;for(let l=r.length-2;l>=0;l-=2){let a=t.nodes[r[l]];if(!a||a.hasRequiredAttrs())break;try{a.checkAttrs(r[l+1])}catch{break}i=k.from(a.create(r[l+1],i)),s++,o++}return new T(i,s,o)}var Ue={},Pe={},_x={touchstart:!0,touchmove:!0},oc=class{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};function Rx(n){for(let e in Ue){let t=Ue[e];n.dom.addEventListener(e,n.input.eventHandlers[e]=r=>{Lx(n,r)&&!yc(n,r)&&(n.editable||!(r.type in Pe))&&t(n,r)},_x[e]?{passive:!0}:void 0)}_e&&n.dom.addEventListener("input",()=>null),lc(n)}function Yt(n,e){n.input.lastSelectionOrigin=e,n.input.lastSelectionTime=Date.now()}function Bx(n){n.input.mouseDown&&n.input.mouseDown.done(),n.domObserver.stop();for(let e in n.input.eventHandlers)n.dom.removeEventListener(e,n.input.eventHandlers[e]);clearTimeout(n.input.composingTimeout),clearTimeout(n.input.lastIOSEnterFallbackTimeout)}function lc(n){n.someProp("handleDOMEvents",e=>{for(let t in e)n.input.eventHandlers[t]||n.dom.addEventListener(t,n.input.eventHandlers[t]=r=>yc(n,r))})}function yc(n,e){return n.someProp("handleDOMEvents",t=>{let r=t[e.type];return r?r(n,e)||e.defaultPrevented:!1})}function Lx(n,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let t=e.target;t!=n.dom;t=t.parentNode)if(!t||t.nodeType==11||t.pmViewDesc&&t.pmViewDesc.stopEvent(e))return!1;return!0}function Ux(n,e){!yc(n,e)&&Ue[e.type]&&(n.editable||!(e.type in Pe))&&Ue[e.type](n,e)}Pe.keydown=(n,e)=>{let t=e;if(n.input.shiftKey=t.keyCode==16||t.shiftKey,!gp(n)&&(n.input.lastKeyCode=t.keyCode,n.input.lastKeyCodeTime=Date.now(),!(Jt&&Me&&t.keyCode==13)))if(t.keyCode!=229&&n.domObserver.forceFlush(),qr&&t.keyCode==13&&!t.ctrlKey&&!t.altKey&&!t.metaKey){let r=Date.now();n.input.lastIOSEnter=r,n.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{n.input.lastIOSEnter==r&&(n.someProp("handleKeyDown",i=>i(n,$n(13,"Enter"))),n.input.lastIOSEnter=0)},200)}else n.someProp("handleKeyDown",r=>r(n,t))||Mx(n,t)?t.preventDefault():Yt(n,"key")};Pe.keyup=(n,e)=>{e.keyCode==16&&(n.input.shiftKey=!1)};Pe.keypress=(n,e)=>{let t=e;if(gp(n)||!t.charCode||t.ctrlKey&&!t.altKey||lt&&t.metaKey)return;if(n.someProp("handleKeyPress",i=>i(n,t))){t.preventDefault();return}let r=n.state.selection;if(!(r instanceof F)||!r.$from.sameParent(r.$to)){let i=String.fromCharCode(t.charCode),s=()=>n.state.tr.insertText(i).scrollIntoView();!/[\r\n]/.test(i)&&!n.someProp("handleTextInput",o=>o(n,r.$from.pos,r.$to.pos,i,s))&&n.dispatch(s()),t.preventDefault()}};function ns(n){return{left:n.clientX,top:n.clientY}}function Px(n,e){let t=e.x-n.clientX,r=e.y-n.clientY;return t*t+r*r<100}function bc(n,e,t,r,i){if(r==-1)return!1;let s=n.state.doc.resolve(r);for(let o=s.depth+1;o>0;o--)if(n.someProp(e,l=>o>s.depth?l(n,t,s.nodeAfter,s.before(o),i,!0):l(n,t,s.node(o),s.before(o),i,!1)))return!0;return!1}function rs(n,e,t){if(n.focused||n.focus(),n.state.selection.eq(e))return;let r=n.state.tr.setSelection(e);t=="pointer"&&r.setMeta("pointer",!0),n.dispatch(r)}function Fx(n,e){if(e==-1)return!1;let t=n.state.doc.resolve(e),r=t.nodeAfter;return r&&r.isAtom&&B.isSelectable(r)?(rs(n,new B(t),"pointer"),!0):!1}function Vx(n,e){if(e==-1)return!1;let t=n.state.selection,r,i;t instanceof B&&(r=t.node);let s=n.state.doc.resolve(e);for(let o=s.depth+1;o>0;o--){let l=o>s.depth?s.nodeAfter:s.node(o);if(B.isSelectable(l)){r&&t.$from.depth>0&&o>=t.$from.depth&&s.before(t.$from.depth+1)==t.$from.pos?i=s.before(t.$from.depth):i=s.before(o);break}}return i!=null?(rs(n,B.create(n.state.doc,i),"pointer"),!0):!1}function zx(n,e,t,r,i){return bc(n,"handleClickOn",e,t,r)||n.someProp("handleClick",s=>s(n,e,r))||(i?Vx(n,t):Fx(n,t))}function $x(n,e,t,r){return bc(n,"handleDoubleClickOn",e,t,r)||n.someProp("handleDoubleClick",i=>i(n,e,r))}function qx(n,e,t,r){return bc(n,"handleTripleClickOn",e,t,r)||n.someProp("handleTripleClick",i=>i(n,e,r))||jx(n,t,r)}function jx(n,e,t){if(t.button!=0)return!1;let r=pp(n,e,!0),i=n.state.doc;return r?(rs(n,r,"pointer"),r instanceof F&&i.eq(n.state.doc)&&(n.input.mouseDown=new cc(n,r)),!0):!1}function pp(n,e,t){let r=n.state.doc;if(e==-1)return r.inlineContent?F.create(r,0,r.content.size):null;let i=r.resolve(e);for(let s=i.depth+1;s>0;s--){let o=s>i.depth?i.nodeAfter:i.node(s),l=i.before(s);if(o.inlineContent)return F.create(r,l+1,l+1+o.content.size);if(t&&B.isSelectable(o))return B.create(r,l)}return null}function xc(n){return qo(n)}var mp=lt?"metaKey":"ctrlKey";Ue.mousedown=(n,e)=>{let t=e;n.input.shiftKey=t.shiftKey;let r=xc(n),i=Date.now(),s="singleClick";i-n.input.lastClick.time<500&&Px(t,n.input.lastClick)&&!t[mp]&&n.input.lastClick.button==t.button&&(n.input.lastClick.type=="singleClick"?s="doubleClick":n.input.lastClick.type=="doubleClick"&&(s="tripleClick")),n.input.lastClick={time:i,x:t.clientX,y:t.clientY,type:s,button:t.button},n.input.mouseDown&&n.input.mouseDown.done();let o=n.posAtCoords(ns(t));o&&(s=="singleClick"?n.input.mouseDown=new ac(n,o,t,!!r):(s=="doubleClick"?$x:qx)(n,o.pos,o.inside,t)?t.preventDefault():Yt(n,"pointer"))};var $o=class{constructor(e){this.view=e,this.mightDrag=null,e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this))}up(e){this.done()}move(e){e.buttons==0&&this.done()}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.view.input.mouseDown==this&&(this.view.input.mouseDown=null)}delaySelUpdate(){return!1}},ac=class extends $o{constructor(e,t,r,i){super(e),this.pos=t,this.event=r,this.flushed=i,this.delayedSelectionSync=!1,this.startDoc=e.state.doc,this.selectNode=!!r[mp],this.allowDefault=r.shiftKey;let s,o;if(t.inside>-1)s=e.state.doc.nodeAt(t.inside),o=t.inside;else{let f=e.state.doc.resolve(t.pos);s=f.parent,o=f.depth?f.before():0}let l=i?null:r.target,a=l?e.docView.nearestDesc(l,!0):null;this.target=a&&a.nodeDOM.nodeType==1?a.nodeDOM:null;let{selection:c}=e.state;r.button==0&&(s.type.spec.draggable&&s.type.spec.selectable!==!1||c instanceof B&&c.from<=o&&c.to>o)&&(this.mightDrag={node:s,pos:o,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&ct&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),Yt(e,"pointer")}done(){super.done(),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>{this.view.isDestroyed||Ht(this.view)})}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(ns(e))),this.updateAllowDefault(e),this.allowDefault||!t?Yt(this.view,"pointer"):zx(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||_e&&this.mightDrag&&!this.mightDrag.node.isAtom||Me&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(rs(this.view,q.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):Yt(this.view,"pointer")}move(e){this.updateAllowDefault(e),Yt(this.view,"pointer"),super.move(e)}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}delaySelUpdate(){return this.allowDefault?(this.delayedSelectionSync=!0,!0):!1}},cc=class extends $o{constructor(e,t){super(e),this.startSelection=t,this.startDoc=e.state.doc}move(e){if(e.buttons==0||this.view.isDestroyed||!this.view.state.doc.eq(this.startDoc)){this.done();return}e.preventDefault(),Yt(this.view,"pointer");let t=this.view.posAtCoords(ns(e)),r=t&&pp(this.view,t.inside,!1);if(!r)return;let{doc:i}=this.view.state,s=this.startSelection,[o,l]=r.from<s.from?[s.to,r.from]:[s.from,r.to];rs(this.view,F.create(i,o,l),"pointer")}};Ue.touchstart=n=>{n.input.lastTouch=Date.now(),xc(n),Yt(n,"pointer")};Ue.touchmove=n=>{n.input.lastTouch=Date.now(),Yt(n,"pointer")};Ue.contextmenu=n=>xc(n);function gp(n,e){return n.composing?!0:_e&&Math.abs(Date.now()-n.input.compositionEndedAt)<500?(n.input.compositionEndedAt=-2e8,!0):!1}var Wx=Jt?5e3:-1;Pe.compositionstart=Pe.compositionupdate=n=>{if(!n.composing){n.domObserver.flush();let{state:e}=n,t=e.selection.$to;if(e.selection instanceof F&&(e.storedMarks||!t.textOffset&&t.parentOffset&&t.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)||Me&&Hh&&Jx(n)))n.markCursor=n.state.storedMarks||t.marks(),qo(n,!0),n.markCursor=null;else if(qo(n,!e.selection.empty),ct&&e.selection.empty&&t.parentOffset&&!t.textOffset&&t.nodeBefore.marks.length){let r=n.domSelectionRange();for(let i=r.focusNode,s=r.focusOffset;i&&i.nodeType==1&&s!=0;){let o=s<0?i.lastChild:i.childNodes[s-1];if(!o)break;if(o.nodeType==3){let l=n.domSelection();l&&l.collapse(o,o.nodeValue.length);break}else i=o,s=-1}}n.input.composing=!0}yp(n,Wx)};function Jx(n){let{focusNode:e,focusOffset:t}=n.domSelectionRange();if(!e||e.nodeType!=1||t>=e.childNodes.length)return!1;let r=e.childNodes[t];return r.nodeType==1&&r.contentEditable=="false"}Pe.compositionend=(n,e)=>{n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=Date.now(),n.input.compositionPendingChanges=n.domObserver.pendingRecords().length?n.input.compositionID:0,n.input.compositionNode=null,n.input.badSafariComposition?n.domObserver.forceFlush():n.input.compositionPendingChanges&&Promise.resolve().then(()=>n.domObserver.flush()),n.input.compositionID++,yp(n,20))};function yp(n,e){clearTimeout(n.input.composingTimeout),e>-1&&(n.input.composingTimeout=setTimeout(()=>qo(n),e))}function bp(n){for(n.composing&&(n.input.composing=!1,n.input.compositionEndedAt=Date.now());n.input.compositionNodes.length>0;)n.input.compositionNodes.pop().markParentsDirty()}function Yx(n){let e=n.domSelectionRange();if(!e.focusNode)return null;let t=jb(e.focusNode,e.focusOffset),r=Wb(e.focusNode,e.focusOffset);if(t&&r&&t!=r){let i=r.pmViewDesc,s=n.domObserver.lastChangedTextNode;if(t==s||r==s)return s;if(!i||!i.isText(r.nodeValue))return r;if(n.input.compositionNode==r){let o=t.pmViewDesc;if(!(!o||!o.isText(t.nodeValue)))return r}}return t||r}function qo(n,e=!1){if(!(Jt&&n.domObserver.flushingSoon>=0)){if(n.domObserver.forceFlush(),bp(n),e||n.docView&&n.docView.dirty){let t=pc(n),r=n.state.selection;return t&&!t.eq(r)?n.dispatch(n.state.tr.setSelection(t)):(n.markCursor||e)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?n.dispatch(n.state.tr.deleteSelection()):n.updateState(n.state),!0}return!1}}function Hx(n,e){if(!n.dom.parentNode)return;let t=n.dom.parentNode.appendChild(document.createElement("div"));t.appendChild(e),t.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),i=document.createRange();i.selectNodeContents(e),n.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{t.parentNode&&t.parentNode.removeChild(t),n.focus()},50)}var Gi=He&&mn<15||qr&&Kb<604;Ue.copy=Pe.cut=(n,e)=>{let t=e,r=n.state.selection,i=t.type=="cut";if(r.empty)return;let s=Gi?null:t.clipboardData,o=r.content(),{dom:l,text:a}=gc(n,o);s?(t.preventDefault(),s.clearData(),s.setData("text/html",l.innerHTML),s.setData("text/plain",a)):Hx(n,l),i&&n.dispatch(n.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function Kx(n){return n.openStart==0&&n.openEnd==0&&n.content.childCount==1?n.content.firstChild:null}function Gx(n,e){if(!n.dom.parentNode)return;let t=n.input.shiftKey||n.state.selection.$from.parent.type.spec.code,r=n.dom.parentNode.appendChild(document.createElement(t?"textarea":"div"));t||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let i=n.input.shiftKey&&n.input.lastKeyCode!=45;setTimeout(()=>{n.focus(),r.parentNode&&r.parentNode.removeChild(r),t?Xi(n,r.value,null,i,e):Xi(n,r.textContent,r.innerHTML,i,e)},50)}function Xi(n,e,t,r,i){let s=ap(n,e,t,r,n.state.selection.$from);if(n.someProp("handlePaste",a=>a(n,i,s||T.empty)))return!0;if(!s)return!1;let o=Kx(s),l=o?n.state.tr.replaceSelectionWith(o,r):n.state.tr.replaceSelection(s);return n.dispatch(l.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function xp(n){let e=n.getData("text/plain")||n.getData("Text");if(e)return e;let t=n.getData("text/uri-list");return t?t.replace(/\r?\n/g," "):""}Pe.paste=(n,e)=>{let t=e;if(n.composing&&!Jt)return;let r=Gi?null:t.clipboardData,i=n.input.shiftKey&&n.input.lastKeyCode!=45;r&&Xi(n,xp(r),r.getData("text/html"),i,t)?t.preventDefault():Gx(n,t)};var jo=class{constructor(e,t,r){this.slice=e,this.move=t,this.node=r}},Xx=lt?"altKey":"ctrlKey";function wp(n,e){let t;return n.someProp("dragCopies",r=>{t=t||r(e)}),t!=null?!t:!e[Xx]}Ue.dragstart=(n,e)=>{let t=e,r=n.input.mouseDown;if(r&&r.done(),!t.dataTransfer)return;let i=n.state.selection,s=i.empty?null:n.posAtCoords(ns(t)),o;if(!(s&&s.pos>=i.from&&s.pos<=(i instanceof B?i.to-1:i.to))){if(r&&r.mightDrag)o=B.create(n.state.doc,r.mightDrag.pos);else if(t.target&&t.target.nodeType==1){let u=n.docView.nearestDesc(t.target,!0);u&&u.node.type.spec.draggable&&u!=n.docView&&(o=B.create(n.state.doc,u.posBefore))}}let l=(o||n.state.selection).content(),{dom:a,text:c,slice:f}=gc(n,l);(!t.dataTransfer.files.length||!Me||Yh>120)&&t.dataTransfer.clearData(),t.dataTransfer.setData(Gi?"Text":"text/html",a.innerHTML),t.dataTransfer.effectAllowed="copyMove",Gi||t.dataTransfer.setData("text/plain",c),n.dragging=new jo(f,wp(n,t),o)};Ue.dragend=n=>{let e=n.dragging;window.setTimeout(()=>{n.dragging==e&&(n.dragging=null)},50)};Pe.dragover=Pe.dragenter=(n,e)=>e.preventDefault();Pe.drop=(n,e)=>{try{Zx(n,e,n.dragging)}finally{n.dragging=null}};function Zx(n,e,t){if(!e.dataTransfer)return;let r=n.posAtCoords(ns(e));if(!r)return;let i=n.state.doc.resolve(r.pos),s=t&&t.slice;s?n.someProp("transformPasted",h=>{s=h(s,n,!1)}):s=ap(n,xp(e.dataTransfer),Gi?null:e.dataTransfer.getData("text/html"),!1,i);let o=!!(t&&wp(n,e));if(n.someProp("handleDrop",h=>h(n,e,s||T.empty,o))){e.preventDefault();return}if(!s)return;e.preventDefault();let l=s?_o(n.state.doc,i.pos,s):i.pos;l==null&&(l=i.pos);let a=n.state.tr;if(o){let{node:h}=t;h?h.replace(a):a.deleteSelection()}let c=a.mapping.map(l),f=s.openStart==0&&s.openEnd==0&&s.content.childCount==1,u=a.doc;if(f?a.replaceRangeWith(c,c,s.content.firstChild):a.replaceRange(c,c,s),a.doc.eq(u))return;let d=a.doc.resolve(c);if(f&&B.isSelectable(s.content.firstChild)&&d.nodeAfter&&d.nodeAfter.sameMarkup(s.content.firstChild))a.setSelection(new B(d));else{let h=a.mapping.map(l);a.mapping.maps[a.mapping.maps.length-1].forEach((p,m,g,b)=>h=b),a.setSelection(mc(n,d,a.doc.resolve(h)))}n.focus(),n.dispatch(a.setMeta("uiEvent","drop"))}Ue.focus=n=>{n.input.lastFocus=Date.now(),n.focused||(n.domObserver.stop(),n.dom.classList.add("ProseMirror-focused"),n.domObserver.start(),n.focused=!0,setTimeout(()=>{n.docView&&n.hasFocus()&&!n.domObserver.currentSelection.eq(n.domSelectionRange())&&Ht(n)},20))};Ue.blur=(n,e)=>{let t=e;n.focused&&(n.domObserver.stop(),n.dom.classList.remove("ProseMirror-focused"),n.domObserver.start(),t.relatedTarget&&n.dom.contains(t.relatedTarget)&&n.domObserver.currentSelection.clear(),n.focused=!1)};Ue.beforeinput=(n,e)=>{if(Jt&&e.inputType=="deleteContentBackward"){n.domObserver.flushSoon();let{domChangeCount:r}=n.input;setTimeout(()=>{if(n.input.domChangeCount!=r||(n.dom.blur(),n.focus(),n.someProp("handleKeyDown",s=>s(n,$n(8,"Backspace")))))return;let{$cursor:i}=n.state.selection;i&&i.pos>0&&n.dispatch(n.state.tr.delete(i.pos-1,i.pos).scrollIntoView())},50)}};for(let n in Pe)Ue[n]=Pe[n];function Zi(n,e){if(n==e)return!0;for(let t in n)if(n[t]!==e[t])return!1;for(let t in e)if(!(t in n))return!1;return!0}var Wo=class n{constructor(e,t){this.toDOM=e,this.spec=t||Yn,this.side=this.spec.side||0}map(e,t,r,i){let{pos:s,deleted:o}=e.mapResult(t.from+i,this.side<0?-1:1);return o?null:new Fe(s-r,s-r,this)}valid(){return!0}eq(e){return this==e||e instanceof n&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&Zi(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}},Jn=class n{constructor(e,t){this.attrs=e,this.spec=t||Yn}map(e,t,r,i){let s=e.map(t.from+i,this.spec.inclusiveStart?-1:1)-r,o=e.map(t.to+i,this.spec.inclusiveEnd?1:-1)-r;return s>=o?null:new Fe(s,o,this)}valid(e,t){return t.from<t.to}eq(e){return this==e||e instanceof n&&Zi(this.attrs,e.attrs)&&Zi(this.spec,e.spec)}static is(e){return e.type instanceof n}destroy(){}},fc=class n{constructor(e,t){this.attrs=e,this.spec=t||Yn}map(e,t,r,i){let s=e.mapResult(t.from+i,1);if(s.deleted)return null;let o=e.mapResult(t.to+i,-1);return o.deleted||o.pos<=s.pos?null:new Fe(s.pos-r,o.pos-r,this)}valid(e,t){let{index:r,offset:i}=e.content.findIndex(t.from),s;return i==t.from&&!(s=e.child(r)).isText&&i+s.nodeSize==t.to}eq(e){return this==e||e instanceof n&&Zi(this.attrs,e.attrs)&&Zi(this.spec,e.spec)}destroy(){}},Fe=class n{constructor(e,t,r){this.from=e,this.to=t,this.type=r}copy(e,t){return new n(e,t,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,r){return this.type.map(e,this,t,r)}static widget(e,t,r){return new n(e,e,new Wo(t,r))}static inline(e,t,r,i){return new n(e,t,new Jn(r,i))}static node(e,t,r,i){return new n(e,t,new fc(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof Jn}get widget(){return this.type instanceof Wo}},zr=[],Yn={},ae=class n{constructor(e,t){this.local=e.length?e:zr,this.children=t.length?t:zr}static create(e,t){return t.length?Yo(t,e,0,Yn):ve}find(e,t,r){let i=[];return this.findInner(e??0,t??1e9,i,0,r),i}findInner(e,t,r,i,s){for(let o=0;o<this.local.length;o++){let l=this.local[o];l.from<=t&&l.to>=e&&(!s||s(l.spec))&&r.push(l.copy(l.from+i,l.to+i))}for(let o=0;o<this.children.length;o+=3)if(this.children[o]<t&&this.children[o+1]>e){let l=this.children[o]+1;this.children[o+2].findInner(e-l,t-l,r,i+l,s)}}map(e,t,r){return this==ve||e.maps.length==0?this:this.mapInner(e,t,0,0,r||Yn)}mapInner(e,t,r,i,s){let o;for(let l=0;l<this.local.length;l++){let a=this.local[l].map(e,r,i);a&&a.type.valid(t,a)?(o||(o=[])).push(a):s.onRemove&&s.onRemove(this.local[l].spec)}return this.children.length?Qx(this.children,o||[],e,t,r,i,s):o?new n(o.sort(Hn),zr):ve}add(e,t){return t.length?this==ve?n.create(e,t):this.addInner(e,t,0):this}addInner(e,t,r){let i,s=0;e.forEach((l,a)=>{let c=a+r,f;if(f=kp(t,l,c)){for(i||(i=this.children.slice());s<i.length&&i[s]<a;)s+=3;i[s]==a?i[s+2]=i[s+2].addInner(l,f,c+1):i.splice(s,0,a,a+l.nodeSize,Yo(f,l,c+1,Yn)),s+=3}});let o=Sp(s?Cp(t):t,-r);for(let l=0;l<o.length;l++)o[l].type.valid(e,o[l])||o.splice(l--,1);return new n(o.length?this.local.concat(o).sort(Hn):this.local,i||this.children)}remove(e){return e.length==0||this==ve?this:this.removeInner(e,0)}removeInner(e,t){let r=this.children,i=this.local;for(let s=0;s<r.length;s+=3){let o,l=r[s]+t,a=r[s+1]+t;for(let f=0,u;f<e.length;f++)(u=e[f])&&u.from>l&&u.to<a&&(e[f]=null,(o||(o=[])).push(u));if(!o)continue;r==this.children&&(r=this.children.slice());let c=r[s+2].removeInner(o,l+1);c!=ve?r[s+2]=c:(r.splice(s,3),s-=3)}if(i.length){for(let s=0,o;s<e.length;s++)if(o=e[s])for(let l=0;l<i.length;l++)i[l].eq(o,t)&&(i==this.local&&(i=this.local.slice()),i.splice(l--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new n(i,r):ve}forChild(e,t){if(this==ve)return this;if(t.isLeaf)return n.empty;let r,i;for(let l=0;l<this.children.length;l+=3)if(this.children[l]>=e){this.children[l]==e&&(r=this.children[l+2]);break}let s=e+1,o=s+t.content.size;for(let l=0;l<this.local.length;l++){let a=this.local[l];if(a.from<o&&a.to>s&&a.type instanceof Jn){let c=Math.max(s,a.from)-s,f=Math.min(o,a.to)-s;c<f&&(i||(i=[])).push(a.copy(c,f))}}if(i){let l=new n(i.sort(Hn),zr);return r?new Jo([l,r]):l}return r||ve}eq(e){if(this==e)return!0;if(!(e instanceof n)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(let t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(let t=0;t<this.children.length;t+=3)if(this.children[t]!=e.children[t]||this.children[t+1]!=e.children[t+1]||!this.children[t+2].eq(e.children[t+2]))return!1;return!0}locals(e){return wc(this.localsInner(e))}localsInner(e){if(this==ve)return zr;if(e.inlineContent||!this.local.some(Jn.is))return this.local;let t=[];for(let r=0;r<this.local.length;r++)this.local[r].type instanceof Jn||t.push(this.local[r]);return t}forEachSet(e){e(this)}};ae.empty=new ae([],[]);ae.removeOverlap=wc;var ve=ae.empty,Jo=class n{constructor(e){this.members=e}map(e,t){let r=this.members.map(i=>i.map(e,t,Yn));return n.from(r)}forChild(e,t){if(t.isLeaf)return ae.empty;let r=[];for(let i=0;i<this.members.length;i++){let s=this.members[i].forChild(e,t);s!=ve&&(s instanceof n?r=r.concat(s.members):r.push(s))}return n.from(r)}eq(e){if(!(e instanceof n)||e.members.length!=this.members.length)return!1;for(let t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0}locals(e){let t,r=!0;for(let i=0;i<this.members.length;i++){let s=this.members[i].localsInner(e);if(s.length)if(!t)t=s;else{r&&(t=t.slice(),r=!1);for(let o=0;o<s.length;o++)t.push(s[o])}}return t?wc(r?t:t.sort(Hn)):zr}static from(e){switch(e.length){case 0:return ve;case 1:return e[0];default:return new n(e.every(t=>t instanceof ae)?e:e.reduce((t,r)=>t.concat(r instanceof ae?r:r.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}};function Qx(n,e,t,r,i,s,o){let l=n.slice();for(let c=0,f=s;c<t.maps.length;c++){let u=0;t.maps[c].forEach((d,h,p,m)=>{let g=m-p-(h-d);for(let b=0;b<l.length;b+=3){let O=l[b+1];if(O<0||d>O+f-u)continue;let N=l[b]+f-u;h>=N?l[b+1]=d<=N?-2:-1:d>=f&&g&&(l[b]+=g,l[b+1]+=g)}u+=g}),f=t.maps[c].map(f,-1)}let a=!1;for(let c=0;c<l.length;c+=3)if(l[c+1]<0){if(l[c+1]==-2){a=!0,l[c+1]=-1;continue}let f=t.map(n[c]+s),u=f-i;if(u<0||u>=r.content.size){a=!0;continue}let d=t.map(n[c+1]+s,-1),h=d-i,{index:p,offset:m}=r.content.findIndex(u),g=r.maybeChild(p);if(g&&m==u&&m+g.nodeSize==h){let b=l[c+2].mapInner(t,g,f+1,n[c]+s+1,o);b!=ve?(l[c]=u,l[c+1]=h,l[c+2]=b):(l[c+1]=-2,a=!0)}else a=!0}if(a){let c=ew(l,n,e,t,i,s,o),f=Yo(c,r,0,o);e=f.local;for(let u=0;u<l.length;u+=3)l[u+1]<0&&(l.splice(u,3),u-=3);for(let u=0,d=0;u<f.children.length;u+=3){let h=f.children[u];for(;d<l.length&&l[d]<h;)d+=3;l.splice(d,0,f.children[u],f.children[u+1],f.children[u+2])}}return new ae(e.sort(Hn),l)}function Sp(n,e){if(!e||!n.length)return n;let t=[];for(let r=0;r<n.length;r++){let i=n[r];t.push(new Fe(i.from+e,i.to+e,i.type))}return t}function ew(n,e,t,r,i,s,o){function l(a,c){for(let f=0;f<a.local.length;f++){let u=a.local[f].map(r,i,c);u?t.push(u):o.onRemove&&o.onRemove(a.local[f].spec)}for(let f=0;f<a.children.length;f+=3)l(a.children[f+2],a.children[f]+c+1)}for(let a=0;a<n.length;a+=3)n[a+1]==-1&&l(n[a+2],e[a]+s+1);return t}function kp(n,e,t){if(e.isLeaf)return null;let r=t+e.nodeSize,i=null;for(let s=0,o;s<n.length;s++)(o=n[s])&&o.from>t&&o.to<r&&((i||(i=[])).push(o),n[s]=null);return i}function Cp(n){let e=[];for(let t=0;t<n.length;t++)n[t]!=null&&e.push(n[t]);return e}function Yo(n,e,t,r){let i=[],s=!1;e.forEach((l,a)=>{let c=kp(n,l,a+t);if(c){s=!0;let f=Yo(c,l,t+a+1,r);f!=ve&&i.push(a,a+l.nodeSize,f)}});let o=Sp(s?Cp(n):n,-t).sort(Hn);for(let l=0;l<o.length;l++)o[l].type.valid(e,o[l])||(r.onRemove&&r.onRemove(o[l].spec),o.splice(l--,1));return o.length||i.length?new ae(o,i):ve}function Hn(n,e){return n.from-e.from||n.to-e.to}function wc(n){let e=n;for(let t=0;t<e.length-1;t++){let r=e[t];if(r.from!=r.to)for(let i=t+1;i<e.length;i++){let s=e[i];if(s.from==r.from){s.to!=r.to&&(e==n&&(e=n.slice()),e[i]=s.copy(s.from,r.to),Lh(e,i+1,s.copy(r.to,s.to)));continue}else{s.from<r.to&&(e==n&&(e=n.slice()),e[t]=r.copy(r.from,s.from),Lh(e,i,r.copy(s.from,r.to)));break}}}return e}function Lh(n,e,t){for(;e<n.length&&Hn(t,n[e])>0;)e++;n.splice(e,0,t)}function Wa(n){let e=[];return n.someProp("decorations",t=>{let r=t(n.state);r&&r!=ve&&e.push(r)}),n.cursorWrapper&&e.push(ae.create(n.state.doc,[n.cursorWrapper.deco])),Jo.from(e)}var tw={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},nw=He&&mn<=11,uc=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}},dc=class{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new uc,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let i=0;i<r.length;i++)this.queue.push(r[i]);He&&mn<=11&&r.some(i=>i.type=="childList"&&i.removedNodes.length||i.type=="characterData"&&i.oldValue.length>i.target.nodeValue.length)?this.flushSoon():_e&&e.composing&&r.some(i=>i.type=="childList"&&i.target.nodeName=="TR")?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),nw&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,tw)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Oh(this.view)){if(this.suppressingSelectionUpdates)return Ht(this.view);if(He&&mn<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Kn(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,r;for(let s=e.focusNode;s;s=$r(s))t.add(s);for(let s=e.anchorNode;s;s=$r(s))if(t.has(s)){r=s;break}let i=r&&this.view.docView.nearestDesc(r);if(i&&i.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let r=e.domSelectionRange(),i=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&Oh(e)&&!this.ignoreSelectionChange(r),s=-1,o=-1,l=!1,a=[];if(e.editable)for(let f=0;f<t.length;f++){let u=this.registerMutation(t[f],a);u&&(s=s<0?u.from:Math.min(u.from,s),o=o<0?u.to:Math.max(u.to,o),u.typeOver&&(l=!0))}if(a.some(f=>f.nodeName=="BR")&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46||Me&&(e.composing||e.input.compositionEndedAt>Date.now()-50)&&t.some(f=>f.type=="childList"&&f.removedNodes.length))){for(let f of a)if(f.nodeName=="BR"&&f.parentNode){let u=f.nextSibling;for(;u&&u.nodeType==1;){if(u.contentEditable=="false"){f.parentNode.removeChild(f);break}u=u.firstChild}}}else if(ct&&a.length){let f=a.filter(u=>u.nodeName=="BR");if(f.length==2){let[u,d]=f;u.parentNode&&u.parentNode.parentNode==d.parentNode?d.remove():u.remove()}else{let{focusNode:u}=this.currentSelection;for(let d of f){let h=d.parentNode;h&&h.nodeName=="LI"&&(!u||sw(e,u)!=h)&&d.remove()}}}let c=null;s<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Ho(r)&&(c=pc(e))&&c.eq(q.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Ht(e),this.currentSelection.set(r),e.scrollToSelection()):(s>-1||i)&&(s>-1&&(e.docView.markDirty(s,o),rw(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,ow(e,a)),this.handleDOMChange(s,o,l,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Ht(e),this.currentSelection.set(r))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let f=0;f<e.addedNodes.length;f++){let u=e.addedNodes[f];t.push(u),u.nodeType==3&&(this.lastChangedTextNode=u)}if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};let i=e.previousSibling,s=e.nextSibling;if(He&&mn<=11&&e.addedNodes.length)for(let f=0;f<e.addedNodes.length;f++){let{previousSibling:u,nextSibling:d}=e.addedNodes[f];(!u||Array.prototype.indexOf.call(e.addedNodes,u)<0)&&(i=u),(!d||Array.prototype.indexOf.call(e.addedNodes,d)<0)&&(s=d)}let o=i&&i.parentNode==e.target?Ae(i)+1:0,l=r.localPosFromDOM(e.target,o,-1),a=s&&s.parentNode==e.target?Ae(s):e.target.childNodes.length,c=r.localPosFromDOM(e.target,a,1);return{from:l,to:c}}else return e.type=="attributes"?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:(this.lastChangedTextNode=e.target,{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}},Uh=new WeakMap,Ph=!1;function rw(n){if(!Uh.has(n)&&(Uh.set(n,null),["normal","nowrap","pre-line"].indexOf(getComputedStyle(n.dom).whiteSpace)!==-1)){if(n.requiresGeckoHackNode=ct,Ph)return;console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),Ph=!0}}function Fh(n,e){let t=e.startContainer,r=e.startOffset,i=e.endContainer,s=e.endOffset,o=n.domAtPos(n.state.selection.anchor);return Kn(o.node,o.offset,i,s)&&([t,r,i,s]=[i,s,t,r]),{anchorNode:t,anchorOffset:r,focusNode:i,focusOffset:s}}function iw(n,e){if(e.getComposedRanges){let i=e.getComposedRanges(n.root)[0];if(i)return Fh(n,i)}let t;function r(i){i.preventDefault(),i.stopImmediatePropagation(),t=i.getTargetRanges()[0]}return n.dom.addEventListener("beforeinput",r,!0),document.execCommand("indent"),n.dom.removeEventListener("beforeinput",r,!0),t?Fh(n,t):null}function sw(n,e){for(let t=e.parentNode;t&&t!=n.dom;t=t.parentNode){let r=n.docView.nearestDesc(t,!0);if(r&&r.node.isBlock)return t}return null}function ow(n,e){var t;let{focusNode:r,focusOffset:i}=n.domSelectionRange();for(let s of e)if(((t=s.parentNode)===null||t===void 0?void 0:t.nodeName)=="TR"){let o=s.nextSibling;for(;o&&o.nodeName!="TD"&&o.nodeName!="TH";)o=o.nextSibling;if(o){let l=o;for(;;){let a=l.firstChild;if(!a||a.nodeType!=1||a.contentEditable=="false"||/^(BR|IMG)$/.test(a.nodeName))break;l=a}l.insertBefore(s,l.firstChild),r==s&&n.domSelection().collapse(s,i)}else s.parentNode.removeChild(s)}}function lw(n,e,t,r){let{node:i,fromOffset:s,toOffset:o,from:l,to:a}=n.docView.parseRange(e,t),c=n.domSelectionRange(),f,u=c.anchorNode;if(u&&n.dom.contains(u.nodeType==1?u:u.parentNode)&&(f=[{node:u,offset:c.anchorOffset}],Ho(c)||f.push({node:c.focusNode,offset:c.focusOffset})),Me&&n.input.lastKeyCode===8)for(let b=o;b>s;b--){let O=i.childNodes[b-1],N=O.pmViewDesc;if(O.nodeName=="BR"&&!N){o=b;break}if(!N||N.size)break}let d=n.state.doc,h=n.someProp("domParser")||Ui.fromSchema(n.state.schema),p=d.resolve(l),m=null,g=h.parse(i,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:s,to:o,preserveWhitespace:p.parent.type.whitespace=="pre"?"full":!0,findPositions:f,ruleFromNode:aw(r),context:p});if(f&&f[0].pos!=null){let b=f[0].pos,O=f[1]&&f[1].pos;O==null&&(O=b),m={anchor:b+l,head:O+l}}return{doc:g,sel:m,from:l,to:a}}var aw=n=>e=>{let t=e.pmViewDesc;if(t)return t.parseRule(n);if(e.nodeName=="BR"&&e.parentNode){if(_e&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){let r=document.createElement("div");return r.appendChild(document.createElement("li")),{skip:r}}else if(e.parentNode.lastChild==e||_e&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if(e.nodeName=="IMG"&&e.getAttribute("mark-placeholder"))return{ignore:!0};return null},cw=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function fw(n,e,t,r,i){let s=n.input.compositionPendingChanges||(n.composing?n.input.compositionID:0);if(n.input.compositionPendingChanges=0,e<0){let w=n.input.lastSelectionTime>Date.now()-50?n.input.lastSelectionOrigin:null,E=pc(n,w);if(E&&!n.state.selection.eq(E)){if(Me&&Jt&&n.input.lastKeyCode===13&&Date.now()-100<n.input.lastKeyCodeTime&&n.someProp("handleKeyDown",ne=>ne(n,$n(13,"Enter"))))return;let z=n.state.tr.setSelection(E);w=="pointer"?z.setMeta("pointer",!0):w=="key"&&z.scrollIntoView(),s&&z.setMeta("composition",s),n.dispatch(z)}return}let o=n.state.doc.resolve(e),l=o.sharedDepth(t);e=o.before(l+1),t=n.state.doc.resolve(t).after(l+1);let a=n.state.selection,c=lw(n,e,t,i),f=n.state.doc,u=f.slice(c.from,c.to),d,h;n.input.lastKeyCode===8&&Date.now()-100<n.input.lastKeyCodeTime?(d=n.state.selection.to,h="end"):(d=n.state.selection.from,h="start"),n.input.lastKeyCode=null;let p=hw(u.content,c.doc.content,c.from,d,h);if(p&&n.input.domChangeCount++,(qr&&n.input.lastIOSEnter>Date.now()-225||Jt)&&i.some(w=>w.nodeType==1&&!cw.test(w.nodeName))&&(!p||p.endA>=p.endB)&&n.someProp("handleKeyDown",w=>w(n,$n(13,"Enter")))){n.input.lastIOSEnter=0;return}if(!p)if(r&&a instanceof F&&!a.empty&&a.$head.sameParent(a.$anchor)&&!n.composing&&!(c.sel&&c.sel.anchor!=c.sel.head))p={start:a.from,endA:a.to,endB:a.to};else{if(c.sel){let w=Vh(n,n.state.doc,c.sel);if(w&&!w.eq(n.state.selection)){let E=n.state.tr.setSelection(w);s&&E.setMeta("composition",s),n.dispatch(E)}}return}n.state.selection.from<n.state.selection.to&&p.start==p.endB&&n.state.selection instanceof F&&(p.start>n.state.selection.from&&p.start<=n.state.selection.from+2&&n.state.selection.from>=c.from?p.start=n.state.selection.from:p.endA<n.state.selection.to&&p.endA>=n.state.selection.to-2&&n.state.selection.to<=c.to&&(p.endB+=n.state.selection.to-p.endA,p.endA=n.state.selection.to)),He&&mn<=11&&p.endB==p.start+1&&p.endA==p.start&&p.start>c.from&&c.doc.textBetween(p.start-c.from-1,p.start-c.from+1)==" \xA0"&&(p.start--,p.endA--,p.endB--);let m=c.doc.resolveNoCache(p.start-c.from),g=c.doc.resolveNoCache(p.endB-c.from),b=f.resolve(p.start),O=m.sameParent(g)&&m.parent.inlineContent&&b.end()>=p.endA;if((qr&&n.input.lastIOSEnter>Date.now()-225&&(!O||i.some(w=>w.nodeName=="DIV"||w.nodeName=="P"))||!O&&m.pos<c.doc.content.size&&(!m.sameParent(g)||!m.parent.inlineContent)&&m.pos<g.pos&&!/\S/.test(c.doc.textBetween(m.pos,g.pos,"","")))&&n.someProp("handleKeyDown",w=>w(n,$n(13,"Enter")))){n.input.lastIOSEnter=0;return}if(n.state.selection.anchor>p.start&&dw(f,p.start,p.endA,m,g)&&n.someProp("handleKeyDown",w=>w(n,$n(8,"Backspace")))){Jt&&Me&&n.domObserver.suppressSelectionUpdates();return}Me&&p.endB==p.start&&(n.input.lastChromeDelete=Date.now()),Jt&&!O&&m.start()!=g.start()&&g.parentOffset==0&&m.depth==g.depth&&c.sel&&c.sel.anchor==c.sel.head&&c.sel.head==p.endA&&(p.endB-=2,g=c.doc.resolveNoCache(p.endB-c.from),setTimeout(()=>{n.someProp("handleKeyDown",function(w){return w(n,$n(13,"Enter"))})},20));let N=p.start,X=p.endA,G=w=>{let E=w||n.state.tr.replace(N,X,c.doc.slice(p.start-c.from,p.endB-c.from));if(c.sel){let z=Vh(n,E.doc,c.sel);z&&!(Me&&n.composing&&z.empty&&(p.start!=p.endB||n.input.lastChromeDelete<Date.now()-100)&&(z.head==N||z.head==E.mapping.map(X)-1)||He&&z.empty&&z.head==N)&&E.setSelection(z)}return s&&E.setMeta("composition",s),E.scrollIntoView()},_;if(O)if(m.pos==g.pos){He&&mn<=11&&m.parentOffset==0&&(n.domObserver.suppressSelectionUpdates(),setTimeout(()=>Ht(n),20));let w=G(n.state.tr.delete(N,X)),E=f.resolve(p.start).marksAcross(f.resolve(p.endA));E&&w.ensureMarks(E),n.dispatch(w)}else if(p.endA==p.endB&&(_=uw(m.parent.content.cut(m.parentOffset,g.parentOffset),b.parent.content.cut(b.parentOffset,p.endA-b.start())))){let w=G(n.state.tr);_.type=="add"?w.addMark(N,X,_.mark):w.removeMark(N,X,_.mark),n.dispatch(w)}else if(m.parent.child(m.index()).isText&&m.index()==g.index()-(g.textOffset?0:1)){let w=m.parent.textBetween(m.parentOffset,g.parentOffset),E=()=>G(n.state.tr.insertText(w,N,X));n.someProp("handleTextInput",z=>z(n,N,X,w,E))||n.dispatch(E())}else n.dispatch(G());else n.dispatch(G())}function Vh(n,e,t){return Math.max(t.anchor,t.head)>e.content.size?null:mc(n,e.resolve(t.anchor),e.resolve(t.head))}function uw(n,e){let t=n.firstChild.marks,r=e.firstChild.marks,i=t,s=r,o,l,a;for(let f=0;f<r.length;f++)i=r[f].removeFromSet(i);for(let f=0;f<t.length;f++)s=t[f].removeFromSet(s);if(i.length==1&&s.length==0)l=i[0],o="add",a=f=>f.mark(l.addToSet(f.marks));else if(i.length==0&&s.length==1)l=s[0],o="remove",a=f=>f.mark(l.removeFromSet(f.marks));else return null;let c=[];for(let f=0;f<e.childCount;f++)c.push(a(e.child(f)));if(k.from(c).eq(n))return{mark:l,type:o}}function dw(n,e,t,r,i){if(t-e<=i.pos-r.pos||Ja(r,!0,!1)<i.pos)return!1;let s=n.resolve(e);if(!r.parent.isTextblock){let l=s.nodeAfter;return l!=null&&t==e+l.nodeSize}if(s.parentOffset<s.parent.content.size||!s.parent.isTextblock)return!1;let o=n.resolve(Ja(s,!0,!0));return!o.parent.isTextblock||o.pos>t||Ja(o,!0,!1)<t?!1:r.parent.content.cut(r.parentOffset).eq(o.parent.content)}function Ja(n,e,t){let r=n.depth,i=e?n.end():n.pos;for(;r>0&&(e||n.indexAfter(r)==n.node(r).childCount);)r--,i++,e=!1;if(t){let s=n.node(r).maybeChild(n.indexAfter(r));for(;s&&!s.isLeaf;)s=s.firstChild,i++}return i}function hw(n,e,t,r,i){let s=n.findDiffStart(e,t),o=t+n.size,l=t+e.size;if(s==null)return null;let{a,b:c}=n.findDiffEnd(e,o,l);if(i=="end"){let f=Math.max(0,s-Math.min(a,c));r-=a+f-s}if(a<s&&o<l){let f=r<=s&&r>=a?s-r:0;s-=f,c=s+(c-a),a=s}else if(c<s){let f=r<=s&&r>=c?s-r:0;s-=f,a=s+(a-c),c=s}return{start:s,endA:a,endB:c}}var Qi=class{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new oc,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Wh),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=qh(this),$h(this),this.nodeViews=jh(this),this.docView=Ch(this.state.doc,zh(this),Wa(this),this.dom,this),this.domObserver=new dc(this,(r,i,s,o)=>fw(this,r,i,s,o)),this.domObserver.start(),Rx(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&lc(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(Wh),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let r in this._props)t[r]=this._props[r];t.state=this.state;for(let r in e)t[r]=e[r];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){var r;let i=this.state,s=!1,o=!1;e.storedMarks&&this.composing&&(bp(this),o=!0),this.state=e;let l=i.plugins!=e.plugins||this._props.plugins!=t.plugins;if(l||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let h=jh(this);mw(h,this.nodeViews)&&(this.nodeViews=h,s=!0)}(l||t.handleDOMEvents!=this._props.handleDOMEvents)&&lc(this),this.editable=qh(this),$h(this);let a=Wa(this),c=zh(this),f=i.plugins!=e.plugins&&!i.doc.eq(e.doc)?"reset":e.scrollToSelection>i.scrollToSelection?"to selection":"preserve",u=s||!this.docView.matchesNode(e.doc,c,a);(u||!e.selection.eq(i.selection))&&(o=!0);let d=f=="preserve"&&o&&this.dom.style.overflowAnchor==null&&Zb(this);if(o){this.domObserver.stop();let h=u&&(He||Me)&&!this.composing&&!i.selection.empty&&!e.selection.empty&&pw(i.selection,e.selection);if(u){let m=Me?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=Yx(this)),(s||!this.docView.update(e.doc,c,a,this))&&(this.docView.updateOuterDeco(c),this.docView.destroy(),this.docView=Ch(e.doc,c,a,this.dom,this)),m&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(h=!0)}let p=this.input.mouseDown;h||!(p&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&xx(this)&&p.delaySelUpdate())?Ht(this,h):(sp(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),!((r=this.dragging)===null||r===void 0)&&r.node&&!i.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,i),f=="reset"?this.dom.scrollTop=0:f=="to selection"?this.scrollToSelection():d&&Qb(d)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",t=>t(this)))if(this.state.selection instanceof B){let t=this.docView.domAfterPos(this.state.selection.from);t.nodeType==1&&bh(this,t.getBoundingClientRect(),e)}else bh(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let t=0;t<this.directPlugins.length;t++){let r=this.directPlugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}for(let t=0;t<this.state.plugins.length;t++){let r=this.state.plugins[t];r.spec.view&&this.pluginViews.push(r.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let r=this.pluginViews[t];r.update&&r.update(this,e)}}updateDraggedNode(e,t){let r=e.node,i=-1;if(r.from<this.state.doc.content.size&&this.state.doc.nodeAt(r.from)==r.node)i=r.from;else{let s=r.from+(this.state.doc.content.size-t.doc.content.size);(s>0&&s<this.state.doc.content.size&&this.state.doc.nodeAt(s))==r.node&&(i=s)}this.dragging=new jo(e.slice,e.move,i<0?void 0:B.create(this.state.doc,i))}someProp(e,t){let r=this._props&&this._props[e],i;if(r!=null&&(i=t?t(r):r))return i;for(let o=0;o<this.directPlugins.length;o++){let l=this.directPlugins[o].props[e];if(l!=null&&(i=t?t(l):l))return i}let s=this.state.plugins;if(s)for(let o=0;o<s.length;o++){let l=s[o].props[e];if(l!=null&&(i=t?t(l):l))return i}}hasFocus(){if(He){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable=="false")return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&ex(this.dom),Ht(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let t=this.dom.parentNode;t;t=t.parentNode)if(t.nodeType==9||t.nodeType==11&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t}return e||document}updateRoot(){this._root=null}posAtCoords(e){return sx(this,e)}coordsAtPos(e,t=1){return Qh(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,r=-1){let i=this.docView.posFromDOM(e,t,r);if(i==null)throw new RangeError("DOM position not inside the editor");return i}endOfTextblock(e,t){return fx(this,t||this.state,e)}pasteHTML(e,t){return Xi(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return Xi(this,e,null,!0,t||new ClipboardEvent("paste"))}serializeForClipboard(e){return gc(this,e)}destroy(){this.docView&&(Bx(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Wa(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,$b())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return Ux(this,e)}domSelectionRange(){let e=this.domSelection();return e?_e&&this.root.nodeType===11&&Yb(this.dom.ownerDocument)==this.dom&&iw(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}};Qi.prototype.dispatch=function(n){let e=this._props.dispatchTransaction;e?e.call(this,n):this.updateState(this.state.apply(n))};function zh(n){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(n.editable),n.someProp("attributes",t=>{if(typeof t=="function"&&(t=t(n.state)),t)for(let r in t)r=="class"?e.class+=" "+t[r]:r=="style"?e.style=(e.style?e.style+";":"")+t[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(t[r]))}),e.translate||(e.translate="no"),[Fe.node(0,n.state.doc.content.size,e)]}function $h(n){if(n.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),n.cursorWrapper={dom:e,deco:Fe.widget(n.state.selection.from,e,{raw:!0,marks:n.markCursor})}}else n.cursorWrapper=null}function qh(n){return!n.someProp("editable",e=>e(n.state)===!1)}function pw(n,e){let t=Math.min(n.$anchor.sharedDepth(n.head),e.$anchor.sharedDepth(e.head));return n.$anchor.start(t)!=e.$anchor.start(t)}function jh(n){let e=Object.create(null);function t(r){for(let i in r)Object.prototype.hasOwnProperty.call(e,i)||(e[i]=r[i])}return n.someProp("nodeViews",t),n.someProp("markViews",t),e}function mw(n,e){let t=0,r=0;for(let i in n){if(n[i]!=e[i])return!0;t++}for(let i in e)r++;return t!=r}function Wh(n){if(n.spec.state||n.spec.filterTransaction||n.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Ep=()=>{let n=!0;return(e,t)=>{if(n){n=!1;try{e()}finally{n=!0}}else t!==void 0&&t()}};var gw=/[\uD800-\uDBFF]/,yw=/[\uDC00-\uDFFF]/,bw=(n,e)=>{let t=0,r=0;for(;t<n.length&&t<e.length&&n[t]===e[t];)t++;for(t>0&&gw.test(n[t-1])&&t--;r+t<n.length&&r+t<e.length&&n[n.length-r-1]===e[e.length-r-1];)r++;return r>0&&yw.test(n[n.length-r])&&r--,{index:t,remove:n.length-t-r,insert:e.slice(t,e.length-r)}},Ap=bw;var W=new ot("y-sync"),Ve=new ot("y-undo"),tC=new ot("yjs-cursor");var Ot=(n,e)=>n>>>e|n<<32-e,xw=n=>Ot(n,2)^Ot(n,13)^Ot(n,22),ww=n=>Ot(n,6)^Ot(n,11)^Ot(n,25),Sw=n=>Ot(n,7)^Ot(n,18)^n>>>3,kw=n=>Ot(n,17)^Ot(n,19)^n>>>10,Cw=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),Ew=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),Sc=class{constructor(){let e=new ArrayBuffer(320);this._H=new Uint32Array(e,0,8),this._H.set(Ew),this._W=new Uint32Array(e,64,64)}_updateHash(){let e=this._H,t=this._W;for(let u=16;u<64;u++)t[u]=kw(t[u-2])+t[u-7]+Sw(t[u-15])+t[u-16];let r=e[0],i=e[1],s=e[2],o=e[3],l=e[4],a=e[5],c=e[6],f=e[7];for(let u=0,d,h;u<64;u++)d=f+ww(l)+(l&a^~l&c)+Cw[u]+t[u]>>>0,h=xw(r)+(r&i^r&s^i&s)>>>0,f=c,c=a,a=l,l=o+d>>>0,o=s,s=i,i=r,r=d+h>>>0;e[0]+=r,e[1]+=i,e[2]+=s,e[3]+=o,e[4]+=l,e[5]+=a,e[6]+=c,e[7]+=f}digest(e){let t=0;for(;t+56<=e.length;){let o=0;for(;o<16&&t+3<e.length;o++)this._W[o]=e[t++]<<24|e[t++]<<16|e[t++]<<8|e[t++];if(t%64!==0){for(this._W.fill(0,o,16);t<e.length;)this._W[o]|=e[t]<<(3-t%4)*8,t++;this._W[o]|=128<<(3-t%4)*8}this._updateHash()}let r=t%64!==0;this._W.fill(0,0,16);let i=0;for(;t<e.length;i++)for(let o=3;o>=0&&t<e.length;o--)this._W[i]|=e[t++]<<o*8;r||(this._W[i-(t%4===0?0:1)]|=128<<(3-t%4)*8),this._W[14]=e.byteLength/536870912,this._W[15]=e.byteLength*8,this._updateHash();let s=new Uint8Array(32);for(let o=0;o<this._H.length;o++)for(let l=0;l<4;l++)s[o*4+l]=this._H[o]>>>(3-l)*8;return s}},Mp=n=>new Sc().digest(n);var Mw=n=>{for(let t=6;t<n.length;t++)n[t%6]=n[t%6]^n[t];return n.slice(0,6)},Tp=n=>ru(Mw(Mp(su(n))));var Np=()=>({mapping:new Map,isOMark:new Map}),is=(n,e)=>e===void 0?!n.deleted:e.sv.has(n.id.client)&&e.sv.get(n.id.client)>n.id.clock&&!vn(e.ds,n.id),Dw=[{light:"#ecd44433",dark:"#ecd444"}],Ow=(n,e,t)=>{if(!n.has(t)){if(n.size<e.length){let r=pt();n.forEach(i=>r.add(i)),e=e.filter(i=>!r.has(i))}n.set(t,$f(e))}return n.get(t)},Ec=(n,{colors:e=Dw,colorMapping:t=new Map,permanentUserData:r=null,onFirstRender:i=()=>{},mapping:s}={})=>{let o=!1,l=new Ko(n,s),a=new oe({props:{editable:c=>{let f=W.getState(c);return f.snapshot==null&&f.prevSnapshot==null}},key:W,state:{init:(c,f)=>({type:n,doc:n.doc,binding:l,snapshot:null,prevSnapshot:null,isChangeOrigin:!1,isUndoRedoOperation:!1,addToHistory:!0,colors:e,colorMapping:t,permanentUserData:r}),apply:(c,f)=>{let u=c.getMeta(W);if(u!==void 0){f=Object.assign({},f);for(let d in u)f[d]=u[d]}return f.addToHistory=c.getMeta("addToHistory")!==!1,f.isChangeOrigin=u!==void 0&&!!u.isChangeOrigin,f.isUndoRedoOperation=u!==void 0&&!!u.isChangeOrigin&&!!u.isUndoRedoOperation,l.prosemirrorView!==null&&u!==void 0&&(u.snapshot!=null||u.prevSnapshot!=null)&&ql(0,()=>{l.prosemirrorView!=null&&(u.restore==null?l._renderSnapshot(u.snapshot,u.prevSnapshot,f):(l._renderSnapshot(u.snapshot,u.snapshot,f),delete f.restore,delete f.snapshot,delete f.prevSnapshot,l.mux(()=>{l._prosemirrorChanged(l.prosemirrorView.state.doc)})))}),f}},view:c=>(l.initView(c),s==null&&l._forceRerender(),i(),{update:()=>{let f=a.getState(c.state);if(f.snapshot==null&&f.prevSnapshot==null&&(o||c.state.doc.content.findDiffStart(c.state.doc.type.createAndFill().content)!==null)){if(o=!0,f.addToHistory===!1&&!f.isChangeOrigin){let u=Ve.getState(c.state),d=u&&u.undoManager;d&&d.stopCapturing()}l.mux(()=>{f.doc.transact(u=>{u.meta.set("addToHistory",f.addToHistory),l._prosemirrorChanged(c.state.doc)},W)})}},destroy:()=>{l.destroy()}})});return a},Nw=(n,e,t)=>{if(e!==null&&e.anchor!==null&&e.head!==null)if(e.type==="all")n.setSelection(new Le(n.doc));else if(e.type==="node"){let r=Nt(t.doc,t.type,e.anchor,t.mapping);n.setSelection(B.create(n.doc,r))}else{let r=Nt(t.doc,t.type,e.anchor,t.mapping),i=Nt(t.doc,t.type,e.head,t.mapping);if(r!==null&&i!==null){let s=F.between(n.doc.resolve(r),n.doc.resolve(i));n.setSelection(s)}}},ss=(n,e)=>({type:e.selection.jsonID,anchor:Kt(e.selection.anchor,n.type,n.mapping),head:Kt(e.selection.head,n.type,n.mapping)}),Ko=class{constructor(e,t=new Map){this.type=e,this.prosemirrorView=null,this.mux=Ep(),this.mapping=t,this.isOMark=new Map,this._observeFunction=this._typeChanged.bind(this),this.doc=e.doc,this.beforeTransactionSelection=null,this.beforeAllTransactions=()=>{this.beforeTransactionSelection===null&&this.prosemirrorView!=null&&(this.beforeTransactionSelection=ss(this,this.prosemirrorView.state))},this.afterAllTransactions=()=>{this.beforeTransactionSelection=null},this._domSelectionInView=null}get _tr(){return this.prosemirrorView.state.tr.setMeta("addToHistory",!1)}_isLocalCursorInView(){return this.prosemirrorView.hasFocus()?(di&&this._domSelectionInView===null&&(ql(0,()=>{this._domSelectionInView=null}),this._domSelectionInView=this._isDomSelectionInView()),this._domSelectionInView):!1}_isDomSelectionInView(){let e=this.prosemirrorView._root.getSelection();if(e==null||e.anchorNode==null)return!1;let t=this.prosemirrorView._root.createRange();t.setStart(e.anchorNode,e.anchorOffset),t.setEnd(e.focusNode,e.focusOffset),t.getClientRects().length===0&&t.startContainer&&t.collapsed&&t.selectNodeContents(t.startContainer);let i=t.getBoundingClientRect(),s=Ft.documentElement;return i.bottom>=0&&i.right>=0&&i.left<=(window.innerWidth||s.clientWidth||0)&&i.top<=(window.innerHeight||s.clientHeight||0)}renderSnapshot(e,t){t||(t=mo(uo(),new Map)),this.prosemirrorView.dispatch(this._tr.setMeta(W,{snapshot:e,prevSnapshot:t}))}unrenderSnapshot(){this.mapping.clear(),this.mux(()=>{let e=this.type.toArray().map(r=>jr(r,this.prosemirrorView.state.schema,this)).filter(r=>r!==null),t=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new T(k.from(e),0,0));t.setMeta(W,{snapshot:null,prevSnapshot:null}),this.prosemirrorView.dispatch(t)})}_forceRerender(){this.mapping.clear(),this.mux(()=>{let e=this.beforeTransactionSelection!==null?null:this.prosemirrorView.state.selection,t=this.type.toArray().map(i=>jr(i,this.prosemirrorView.state.schema,this)).filter(i=>i!==null),r=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new T(k.from(t),0,0));if(e){let i=Pt(nt(e.anchor,0),r.doc.content.size),s=Pt(nt(e.head,0),r.doc.content.size);r.setSelection(F.create(r.doc,i,s))}this.prosemirrorView.dispatch(r.setMeta(W,{isChangeOrigin:!0,binding:this}))})}_renderSnapshot(e,t,r){let i=this.doc,s=this.type;if(e||(e=go(this.doc)),e instanceof Uint8Array||t instanceof Uint8Array)if((!(e instanceof Uint8Array)||!(t instanceof Uint8Array))&&me(),i=new Ye({gc:!1}),Ii(i,t),t=go(i),Ii(i,e),e=go(i),s._item===null){let o=Array.from(this.doc.share.keys()).find(l=>this.doc.share.get(l)===this.type);s=i.getXmlFragment(o)}else{let o=i.store.clients.get(s._item.id.client)??[],l=it(o,s._item.id.clock);s=o[l].content.type}this.mapping.clear(),this.mux(()=>{i.transact(o=>{let l=r.permanentUserData;l&&l.dss.forEach(u=>{Vt(o,u,d=>{})});let a=(u,d)=>{let h=u==="added"?l.getUserByClientId(d.client):l.getUserByDeletedId(d);return{user:h,type:u,color:Ow(r.colorMapping,r.colors,h)}},c=wa(s,new Er(t.ds,e.sv)).map(u=>!u._item.deleted||is(u._item,e)||is(u._item,t)?jr(u,this.prosemirrorView.state.schema,{mapping:new Map,isOMark:new Map},e,t,a):null).filter(u=>u!==null),f=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new T(k.from(c),0,0));this.prosemirrorView.dispatch(f.setMeta(W,{isChangeOrigin:!0}))},W)})}_typeChanged(e,t){if(this.prosemirrorView==null)return;let r=W.getState(this.prosemirrorView.state);if(e.length===0||r.snapshot!=null||r.prevSnapshot!=null){this.renderSnapshot(r.snapshot,r.prevSnapshot);return}this.mux(()=>{let i=(l,a)=>this.mapping.delete(a);Vt(t,t.deleteSet,l=>{if(l.constructor===K){let a=l.content.type;a&&this.mapping.delete(a)}}),t.changed.forEach(i),t.changedParentTypes.forEach(i);let s=this.type.toArray().map(l=>Ip(l,this.prosemirrorView.state.schema,this)).filter(l=>l!==null),o=this._tr.replace(0,this.prosemirrorView.state.doc.content.size,new T(k.from(s),0,0));Nw(o,this.beforeTransactionSelection,this),o=o.setMeta(W,{isChangeOrigin:!0,isUndoRedoOperation:t.origin instanceof cn}),this.beforeTransactionSelection!==null&&this._isLocalCursorInView()&&o.scrollIntoView(),this.prosemirrorView.dispatch(o)})}_prosemirrorChanged(e){this.doc.transact(()=>{Wr(this.doc,this.type,e,this),this.beforeTransactionSelection=ss(this,this.prosemirrorView.state)},W)}initView(e){this.prosemirrorView!=null&&this.destroy(),this.prosemirrorView=e,this.doc.on("beforeAllTransactions",this.beforeAllTransactions),this.doc.on("afterAllTransactions",this.afterAllTransactions),this.type.observeDeep(this._observeFunction)}destroy(){this.prosemirrorView!=null&&(this.prosemirrorView=null,this.type.unobserveDeep(this._observeFunction),this.doc.off("beforeAllTransactions",this.beforeAllTransactions),this.doc.off("afterAllTransactions",this.afterAllTransactions))}},Ip=(n,e,t,r,i,s)=>{let o=t.mapping.get(n);if(o===void 0){if(n instanceof ye)return jr(n,e,t,r,i,s);throw Be()}return o},jr=(n,e,t,r,i,s)=>{let o=[],l=a=>{if(a instanceof ye){let c=Ip(a,e,t,r,i,s);c!==null&&o.push(c)}else{let c=a._item.right?.content?.type;c instanceof qt&&!c._item.deleted&&c._item.id.client===c.doc.clientID&&(a.applyDelta([{retain:a.length},...c.toDelta()]),c.doc.transact(u=>{c._item.delete(u)}));let f=Iw(a,e,t,r,i,s);f!==null&&f.forEach(u=>{u!==null&&o.push(u)})}};r===void 0||i===void 0?n.toArray().forEach(l):wa(n,new Er(i.ds,r.sv)).forEach(l);try{let a=n.getAttributes(r);r!==void 0&&(is(n._item,r)?is(n._item,i)||(a.ychange=s?s("added",n._item.id):{type:"added"}):a.ychange=s?s("removed",n._item.id):{type:"removed"});let c=e.node(n.nodeName,a,o);return t.mapping.set(n,c),c}catch{return n.doc.transact(c=>{n._item.delete(c)},W),t.mapping.delete(n),null}},Iw=(n,e,t,r,i,s)=>{let o=[],l=n.toDelta(r,i,s);try{for(let a=0;a<l.length;a++){let c=l[a];o.push(e.text(c.insert,Uw(c.attributes,e)))}}catch{return n.doc.transact(c=>{n._item.delete(c)},W),null}return o},vw=(n,e)=>{let t=new Oe,r=n.map(i=>({insert:i.text,attributes:_p(i.marks,e)}));return t.applyDelta(r),e.mapping.set(t,n),t},_w=(n,e)=>{let t=new ye(n.type.name);for(let r in n.attrs){let i=n.attrs[r];i!==null&&r!=="ychange"&&t.setAttribute(r,i)}return t.insert(0,Xo(n).map(r=>kc(r,e))),e.mapping.set(t,n),t},kc=(n,e)=>n instanceof Array?vw(n,e):_w(n,e),Dp=n=>typeof n=="object"&&n!==null,Ac=(n,e)=>{let t=Object.keys(n).filter(i=>n[i]!==null),r=t.length===(e==null?0:Object.keys(e).filter(i=>e[i]!==null).length);for(let i=0;i<t.length&&r;i++){let s=t[i],o=n[s],l=e[s];r=s==="ychange"||o===l||Dp(o)&&Dp(l)&&Ac(o,l)}return r},Xo=n=>{let e=n.content.content,t=[];for(let r=0;r<e.length;r++){let i=e[r];if(i.isText){let s=[];for(let o=e[r];r<e.length&&o.isText;o=e[++r])s.push(o);r--,t.push(s)}else t.push(i)}return t},vp=(n,e)=>{let t=n.toDelta();return t.length===e.length&&t.every((r,i)=>r.insert===e[i].text&&Tl(r.attributes||{}).length===e[i].marks.length&&rn(r.attributes,(s,o)=>{let l=Mc(o),a=e[i].marks;return Ac(s,a.find(c=>c.type.name===l)?.attrs)}))},ls=(n,e)=>{if(n instanceof ye&&!(e instanceof Array)&&Cc(n,e)){let t=Xo(e);return n._length===t.length&&Ac(n.getAttributes(),e.attrs)&&n.toArray().every((r,i)=>ls(r,t[i]))}return n instanceof Oe&&e instanceof Array&&vp(n,e)},Go=(n,e)=>n===e||n instanceof Array&&e instanceof Array&&n.length===e.length&&n.every((t,r)=>e[r]===t),Op=(n,e,t)=>{let r=n.toArray(),i=Xo(e),s=i.length,o=r.length,l=Pt(o,s),a=0,c=0,f=!1;for(;a<l;a++){let u=r[a],d=i[a];if(Go(t.mapping.get(u),d))f=!0;else if(!ls(u,d))break}for(;a+c<l;c++){let u=r[o-c-1],d=i[s-c-1];if(Go(t.mapping.get(u),d))f=!0;else if(!ls(u,d))break}return{equalityFactor:a+c,foundMappedChild:f}},Rw=n=>{let e="",t=n._start,r={};for(;t!==null;)t.deleted||(t.countable&&t.content instanceof mt?e+=t.content.str:t.content instanceof le&&(r[t.content.key]=null)),t=t.right;return{str:e,nAttrs:r}},Bw=(n,e,t)=>{t.mapping.set(n,e);let{nAttrs:r,str:i}=Rw(n),s=e.map(c=>({insert:c.text,attributes:Object.assign({},r,_p(c.marks,t))})),{insert:o,remove:l,index:a}=Ap(i,s.map(c=>c.insert).join(""));n.delete(a,l),n.insert(a,o),n.applyDelta(s.map(c=>({retain:c.insert.length,attributes:c.attributes})))},Lw=/(.*)(--[a-zA-Z0-9+/=]{8})$/,Mc=n=>Lw.exec(n)?.[1]??n,Uw=(n,e)=>{let t=[];for(let r in n)t.push(e.mark(Mc(r),n[r]));return t},_p=(n,e)=>{let t={};return n.forEach(r=>{if(r.type.name!=="ychange"){let i=tt(e.isOMark,r.type,()=>!r.type.excludes(r.type));t[i?`${r.type.name}--${Tp(r.toJSON())}`:r.type.name]=r.attrs}}),t},Wr=(n,e,t,r)=>{if(e instanceof ye&&e.nodeName!==t.type.name)throw new Error("node name mismatch!");if(r.mapping.set(e,t),e instanceof ye){let u=e.getAttributes(),d=t.attrs;for(let h in d)d[h]!==null?u[h]!==d[h]&&h!=="ychange"&&e.setAttribute(h,d[h]):e.removeAttribute(h);for(let h in u)d[h]===void 0&&e.removeAttribute(h)}let i=Xo(t),s=i.length,o=e.toArray(),l=o.length,a=Pt(s,l),c=0,f=0;for(;c<a;c++){let u=o[c],d=i[c];if(!Go(r.mapping.get(u),d))if(ls(u,d))r.mapping.set(u,d);else break}for(;f+c<a;f++){let u=o[l-f-1],d=i[s-f-1];if(!Go(r.mapping.get(u),d))if(ls(u,d))r.mapping.set(u,d);else break}n.transact(()=>{for(;l-c-f>0&&s-c-f>0;){let d=o[c],h=i[c],p=o[l-f-1],m=i[s-f-1];if(d instanceof Oe&&h instanceof Array)vp(d,h)||Bw(d,h,r),c+=1;else{let g=d instanceof ye&&Cc(d,h),b=p instanceof ye&&Cc(p,m);if(g&&b){let O=Op(d,h,r),N=Op(p,m,r);O.foundMappedChild&&!N.foundMappedChild?b=!1:!O.foundMappedChild&&N.foundMappedChild||O.equalityFactor<N.equalityFactor?g=!1:b=!1}g?(Wr(n,d,h,r),c+=1):b?(Wr(n,p,m,r),f+=1):(r.mapping.delete(e.get(c)),e.delete(c,1),e.insert(c,[kc(h,r)]),c+=1)}}let u=l-c-f;if(l===1&&s===0&&o[0]instanceof Oe?(r.mapping.delete(o[0]),o[0].delete(0,o[0].length)):u>0&&(e.slice(c,c+u).forEach(d=>r.mapping.delete(d)),e.delete(c,u)),c+f<s){let d=[];for(let h=c;h<s-f;h++)d.push(kc(i[h],r));e.insert(c,d)}},W)},Cc=(n,e)=>!(e instanceof Array)&&n.nodeName===e.type.name;var Kt=(n,e,t)=>{if(n===0)return po(e,0,e.length===0?-1:0);let r=e._first===null?null:e._first.content.type;for(;r!==null&&e!==r;){if(r instanceof Oe){if(r._length>=n)return po(r,n,e.length===0?-1:0);if(n-=r._length,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{do r=r._item===null?null:r._item.parent,n--;while(r!==e&&r!==null&&r._item!==null&&r._item.next===null);r!==null&&r!==e&&(r=r._item===null?null:r._item.next.content.type)}}else{let i=(t.get(r)||{nodeSize:0}).nodeSize;if(r._first!==null&&n<i)r=r._first.content.type,n--;else{if(n===1&&r._length===0&&i>1)return new Nn(r._item===null?null:r._item.id,r._item===null?Or(r):null,null);if(n-=i,r._item!==null&&r._item.next!==null)r=r._item.next.content.type;else{if(n===0)return r=r._item===null?r:r._item.parent,new Nn(r._item===null?null:r._item.id,r._item===null?Or(r):null,null);do r=r._item.parent,n--;while(r!==e&&r._item.next===null);r!==e&&(r=r._item.next.content.type)}}}if(r===null)throw me();if(n===0&&r.constructor!==Oe&&r!==e)return Pw(r._item.parent,r._item)}return po(e,e._length,e.length===0?-1:0)},Pw=(n,e)=>{let t=null,r=null;return n._item===null?r=Or(n):t=U(n._item.id.client,n._item.id.clock),new Nn(t,r,e.id)},Nt=(n,e,t,r)=>{let i=Xu(t,n);if(i===null||i.type!==e&&!Cr(e,i.type._item))return null;let s=i.type,o=0;if(s.constructor===Oe)o=i.index;else if(s._item===null||!s._item.deleted){let l=s._first,a=0;for(;a<s._length&&a<i.index&&l!==null;){if(!l.deleted){let c=l.content.type;a++,c instanceof Oe?o+=c._length:o+=r.get(c).nodeSize}l=l.right}o+=1}for(;s!==e&&s._item!==null;){let l=s._item.parent;if(l._item===null||!l._item.deleted){o+=1;let a=l._first;for(;a!==null;){let c=a.content.type;if(c===s)break;a.deleted||(c instanceof Oe?o+=c._length:o+=r.get(c).nodeSize),a=a.right}}s=l}return o-1},Rp=(n,e)=>{let t=n.toArray().map(r=>jr(r,e,Np())).filter(r=>r!==null);return k.fromArray(t)},Tc=(n,e)=>e.topNodeType.create(null,Rp(n,e));function Dc(n,e){let t=e||new fn,r=t.doc?t.doc:{transact:i=>i(void 0)};return Wr(r,t,n,{mapping:new Map,isOMark:new Map}),t}var Oc=n=>Ve.getState(n)?.undoManager?.undo()!=null,Zo=n=>Ve.getState(n)?.undoManager?.redo()!=null,Bp=(n,e)=>e==null?Ve.getState(n)?.undoManager?.canUndo():Oc(n),Lp=(n,e)=>e==null?Ve.getState(n)?.undoManager?.canRedo():Zo(n),Nc=new Set(["paragraph"]),Ic=(n,e)=>!(n instanceof K)||!(n.content instanceof st)||!(n.content.type instanceof qt||n.content.type instanceof ye&&e.has(n.content.type.nodeName))||n.content.type._length===0,Up=({protectedNodes:n=Nc,trackedOrigins:e=[],undoManager:t=null}={})=>new oe({key:Ve,state:{init:(r,i)=>{let s=W.getState(i),o=t||new cn(s.type,{trackedOrigins:new Set([W].concat(e)),deleteFilter:l=>Ic(l,n),captureTransaction:l=>l.meta.get("addToHistory")!==!1});return{undoManager:o,prevSel:null,hasUndoOps:o.undoStack.length>0,hasRedoOps:o.redoStack.length>0}},apply:(r,i,s,o)=>{let l=W.getState(o).binding,a=i.undoManager,c=a.undoStack.length>0,f=a.redoStack.length>0;return l?{undoManager:a,prevSel:ss(l,s),hasUndoOps:c,hasRedoOps:f}:c!==i.hasUndoOps||f!==i.hasRedoOps?Object.assign({},i,{hasUndoOps:a.undoStack.length>0,hasRedoOps:a.redoStack.length>0}):i}},view:r=>{let i=W.getState(r.state),s=Ve.getState(r.state).undoManager;return s.on("stack-item-added",({stackItem:o})=>{let l=i.binding;l&&o.meta.set(l,Ve.getState(r.state).prevSel)}),s.on("stack-item-popped",({stackItem:o})=>{let l=i.binding;l&&(l.beforeTransactionSelection=o.meta.get(l)||l.beforeTransactionSelection)}),{destroy:()=>{s.destroy()}}}});function Pp(n,e){let{structs:t,ds:r}=ya(e),i=l=>ie(n.store,l),s=0,o=0;for(let l of t)l instanceof Ce||(i(l.id.client)>=l.id.clock+l.length?s++:o++);for(let[l,a]of r.clients)for(let c of a){let f=i(l);f>c.clock&&s++,f<c.clock+c.len&&o++}return o?s?"some":"none":"all"}function Fw(n,e){let{pendingStructs:t,pendingDs:r}=n.store;n.store.pendingStructs=null,n.store.pendingDs=null;try{return ga(n,e)}finally{n.store.pendingStructs=t,n.store.pendingDs=r}}function Vw(n,e){let t=n.before,r=t.content.findDiffStart(e.content),i=[];if(r!=null){let{a:c,b:f}=t.content.findDiffEnd(e.content),u=r-Math.min(c,f);u>0&&(c+=u,f+=u),i=[r,c-r,f-r]}let s=n.steps,o=new $i;for(let c=s.length-1;c>=0;c--)o.appendMap(s[c].getMap().invert());o.appendMap(new yt(i));let l=Pr.create({doc:e,schema:e.type.schema}).tr,a=s.length;for(let c of s){let f=c.map(o.slice(a));if(a--,!f||l.maybeStep(f).failed)return null;o.appendMap(f.getMap()),o.setMirror(a,o.maps.length-1)}return l.doc}function Fp(n,e){let t=n.content.findDiffStart(e.content);if(t==null)return null;let{a:r,b:i}=n.content.findDiffEnd(e.content),s=t-Math.min(r,i);return s>0&&(r+=s,i+=s),new Ie(t,r,e.slice(t,i))}function zw(n,{tr:e,locate:t,schema:r},i){let s=null;try{s=t(n)}catch{s=null}if(!s)return null;let o=null;try{o=Vw(e,Tc(s,r))}catch{o=null}if(!o)return null;let l=[],a=c=>l.push(c);n.on("update",a);try{n.transact(()=>Dc(o,s),i)}finally{n.off("update",a)}return l}function vc(n,e=$w){for(;;){let t=e();if(!n||!n.store.clients.has(t))return t}}function $w(){let n=new Uint32Array(1);return globalThis.crypto.getRandomValues(n),n[0]}function Vp({newID:n=vc,now:e=Date.now,window:t=500}={}){let r=[],i=null;return{before(s,o){let l=e();o==="pm"&&i!==null&&l-i<t||(s.clientID=n(s),i=o==="pm"?l:null)},keep(s,o,l){let a=r[r.length-1];l&&a&&a.replay===l?a.updates.push(o):r.push({updates:[o],replay:l||void 0,at:e()})},take(){let s=r;return r=[],s},get entries(){return r}}}function qw(n){return ya(n).structs.some(e=>!(e instanceof Ce))}function _c(n,e,t,r=()=>{}){let i=[],s=0,o,l=null;for(let a of e){let c=a.updates;if(!c.length)continue;r(a,o),o=a,l||(l=new Ye({gc:!1}),vi(l,ga(n)));let f=c.map(u=>(vi(l,u),Pp(l,u)));if(f.every(u=>u==="all")){for(let u of c)vi(n,u,t);i.push(...c);continue}if(l=null,a.replay){let u=zw(n,a.replay,t);if(u){i.push(...u);continue}}if(f.every(u=>u==="none")){c.some(qw)&&s++;continue}s++;for(let u of c){let d=Ku(n);vi(n,u,t);let h=Pp(n,u);h==="all"?i.push(u):h==="some"&&i.push(Fw(n,d))}}return{post:i,lost:s}}var jw=["ol",0],Ww=["ul",0],Jw=["li",0],Yw={attrs:{order:{default:1,validate:"number"}},parseDOM:[{tag:"ol",getAttrs(n){return{order:n.hasAttribute("start")?+n.getAttribute("start"):1}}}],toDOM(n){return n.attrs.order==1?jw:["ol",{start:n.attrs.order},0]}},Hw={parseDOM:[{tag:"ul"}],toDOM(){return Ww}},Kw={parseDOM:[{tag:"li"}],toDOM(){return Jw},defining:!0};function Rc(n,e){let t={};for(let r in n)t[r]=n[r];for(let r in e)t[r]=e[r];return t}function zp(n,e,t){return n.append({ordered_list:Rc(Yw,{content:"list_item+",group:t}),bullet_list:Rc(Hw,{content:"list_item+",group:t}),list_item:Rc(Kw,{content:e})})}function $p(n,e=null){return function(t,r){let{$from:i,$to:s}=t.selection,o=i.blockRange(s);if(!o)return!1;let l=r?t.tr:null;return Gw(l,o,n,e)?(r&&r(l.scrollIntoView()),!0):!1}}function Gw(n,e,t,r=null){let i=!1,s=e,o=e.$from.doc;if(e.depth>=2&&e.$from.node(e.depth-1).type.compatibleContent(t)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let a=o.resolve(e.start-2);s=new Bn(a,a,e.depth),e.endIndex<e.parent.childCount&&(e=new Bn(e.$from,o.resolve(e.$to.end(e.depth)),e.depth)),i=!0}let l=Br(s,t,r,e);return l?(n&&Xw(n,e,l,i,t),!0):!1}function Xw(n,e,t,r,i){let s=k.empty;for(let f=t.length-1;f>=0;f--)s=k.from(t[f].type.create(t[f].attrs,s));n.step(new Se(e.start-(r?2:0),e.end,e.start,e.end,new T(s,0,0),t.length,!0));let o=0;for(let f=0;f<t.length;f++)t[f].type==i&&(o=f+1);let l=t.length-o,a=e.start+t.length-(r?2:0),c=e.parent;for(let f=e.startIndex,u=e.endIndex,d=!0;f<u;f++,d=!1)!d&&dn(n.doc,a,l)&&(n.split(a,l),a+=2*l),a+=c.child(f).nodeSize;return n}function qp(n,e){return function(t,r){let{$from:i,$to:s,node:o}=t.selection;if(o&&o.isBlock||i.depth<2||!i.sameParent(s))return!1;let l=i.node(-1);if(l.type!=n)return!1;if(i.parent.content.size==0&&i.node(-1).childCount==i.indexAfter(-1)){if(i.depth==3||i.node(-3).type!=n||i.index(-2)!=i.node(-2).childCount-1)return!1;if(r){let u=k.empty,d=i.index(-1)?1:i.index(-2)?2:3;for(let b=i.depth-d;b>=i.depth-3;b--)u=k.from(i.node(b).copy(u));let h=i.indexAfter(-1)<i.node(-2).childCount?1:i.indexAfter(-2)<i.node(-3).childCount?2:3;u=u.append(k.from(n.createAndFill()));let p=i.before(i.depth-(d-1)),m=t.tr.replace(p,i.after(-h),new T(u,4-d,0)),g=-1;m.doc.nodesBetween(p,m.doc.content.size,(b,O)=>{if(g>-1)return!1;b.isTextblock&&b.content.size==0&&(g=O+1)}),g>-1&&m.setSelection(q.near(m.doc.resolve(g))),r(m.scrollIntoView())}return!0}let a=s.pos==i.end()?l.contentMatchAt(0).defaultType:null,c=t.tr.delete(i.pos,s.pos),f=a?[e?{type:n,attrs:e}:null,{type:a}]:void 0;return dn(c.doc,i.pos,2,f)?(r&&r(c.split(i.pos,2,f).scrollIntoView()),!0):!1}}function as(n){return function(e,t){let{$from:r,$to:i}=e.selection,s=r.blockRange(i,o=>o.childCount>0&&o.firstChild.type==n);return s?t?r.node(s.depth-1).type==n?Zw(e,t,n,s):Qw(e,t,s):!0:!1}}function Zw(n,e,t,r){let i=n.tr,s=r.end,o=r.$to.end(r.depth);s<o&&(i.step(new Se(s-1,o,s,o,new T(k.from(t.create(null,r.parent.copy())),1,0),1,!0)),r=new Bn(i.doc.resolve(r.$from.pos),i.doc.resolve(o),r.depth));let l=Fn(r);if(l==null)return!1;i.lift(r,l);let a=i.doc.resolve(i.mapping.map(s,-1)-1);return Vn(i.doc,a.pos)&&a.nodeBefore.type==a.nodeAfter.type&&i.join(a.pos),e(i.scrollIntoView()),!0}function Qw(n,e,t){let r=n.tr,i=t.parent;for(let h=t.end,p=t.endIndex-1,m=t.startIndex;p>m;p--)h-=i.child(p).nodeSize,r.delete(h-1,h+1);let s=r.doc.resolve(t.start),o=s.nodeAfter;if(r.mapping.map(t.end)!=t.start+s.nodeAfter.nodeSize)return!1;let l=t.startIndex==0,a=t.endIndex==i.childCount,c=s.node(-1),f=s.index(-1);if(!c.canReplace(f+(l?0:1),f+1,o.content.append(a?k.empty:k.from(i))))return!1;let u=s.pos,d=u+o.nodeSize;return r.step(new Se(u-(l?1:0),d+(a?1:0),u+1,d-1,new T((l?k.empty:k.from(i.copy(k.empty))).append(a?k.empty:k.from(i.copy(k.empty))),l?0:1,a?0:1),l?0:1)),e(r.scrollIntoView()),!0}function Qo(n){return function(e,t){let{$from:r,$to:i}=e.selection,s=r.blockRange(i,c=>c.childCount>0&&c.firstChild.type==n);if(!s)return!1;let o=s.startIndex;if(o==0)return!1;let l=s.parent,a=l.child(o-1);if(a.type!=n)return!1;if(t){let c=a.lastChild&&a.lastChild.type==l.type,f=k.from(c?n.create():null),u=new T(k.from(n.create(null,k.from(l.type.create(null,f)))),c?3:1,0),d=s.start,h=s.end;t(e.tr.step(new Se(d-(c?3:1),h,d,h,u,1,!0)).scrollIntoView())}return!0}}var Gt={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},tl={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},eS=typeof navigator<"u"&&/Mac/.test(navigator.platform),tS=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(pe=0;pe<10;pe++)Gt[48+pe]=Gt[96+pe]=String(pe);var pe;for(pe=1;pe<=24;pe++)Gt[pe+111]="F"+pe;var pe;for(pe=65;pe<=90;pe++)Gt[pe]=String.fromCharCode(pe+32),tl[pe]=String.fromCharCode(pe);var pe;for(el in Gt)tl.hasOwnProperty(el)||(tl[el]=Gt[el]);var el;function jp(n){var e=eS&&n.metaKey&&n.shiftKey&&!n.ctrlKey&&!n.altKey||tS&&n.shiftKey&&n.key&&n.key.length==1||n.key=="Unidentified",t=!e&&n.key||(n.shiftKey?tl:Gt)[n.keyCode]||n.key||"Unidentified";return t=="Esc"&&(t="Escape"),t=="Del"&&(t="Delete"),t=="Left"&&(t="ArrowLeft"),t=="Up"&&(t="ArrowUp"),t=="Right"&&(t="ArrowRight"),t=="Down"&&(t="ArrowDown"),t}var nS=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),rS=typeof navigator<"u"&&/Win/.test(navigator.platform);function iS(n){let e=n.split(/-(?!$)/),t=e[e.length-1];t=="Space"&&(t=" ");let r,i,s,o;for(let l=0;l<e.length-1;l++){let a=e[l];if(/^(cmd|meta|m)$/i.test(a))o=!0;else if(/^a(lt)?$/i.test(a))r=!0;else if(/^(c|ctrl|control)$/i.test(a))i=!0;else if(/^s(hift)?$/i.test(a))s=!0;else if(/^mod$/i.test(a))nS?o=!0:i=!0;else throw new Error("Unrecognized modifier name: "+a)}return r&&(t="Alt-"+t),i&&(t="Ctrl-"+t),o&&(t="Meta-"+t),s&&(t="Shift-"+t),t}function sS(n){let e=Object.create(null);for(let t in n)e[iS(t)]=n[t];return e}function Bc(n,e,t=!0){return e.altKey&&(n="Alt-"+n),e.ctrlKey&&(n="Ctrl-"+n),e.metaKey&&(n="Meta-"+n),t&&e.shiftKey&&(n="Shift-"+n),n}function Lc(n){return new oe({props:{handleKeyDown:oS(n)}})}function oS(n){let e=sS(n);return function(t,r){let i=jp(r),s,o=e[Bc(i,r)];if(o&&o(t.state,t.dispatch,t))return!0;if(i.length==1&&i!=" "){if(r.shiftKey){let l=e[Bc(i,r,!1)];if(l&&l(t.state,t.dispatch,t))return!0}if((r.altKey||r.metaKey||r.ctrlKey)&&!(rS&&r.ctrlKey&&r.altKey)&&(s=Gt[r.keyCode])&&s!=i){let l=e[Bc(s,r)];if(l&&l(t.state,t.dispatch,t))return!0}}return!1}}var Jp=(n,e)=>n.selection.empty?!1:(e&&e(n.tr.deleteSelection().scrollIntoView()),!0);function lS(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("backward",n):t.parentOffset>0)?null:t}var aS=(n,e,t)=>{let r=lS(n,t);if(!r)return!1;let i=Yp(r);if(!i){let o=r.blockRange(),l=o&&Fn(o);return l==null?!1:(e&&e(n.tr.lift(o,l).scrollIntoView()),!0)}let s=i.nodeBefore;if(Gp(n,i,e,-1))return!0;if(r.parent.content.size==0&&(Jr(s,"end")||B.isSelectable(s)))for(let o=r.depth;;o--){let l=Ro(n.doc,r.before(o),r.after(o),T.empty);if(l&&l.slice.size<l.to-l.from){if(e){let a=n.tr.step(l);a.setSelection(Jr(s,"end")?q.findFrom(a.doc.resolve(a.mapping.map(i.pos,-1)),-1):B.create(a.doc,i.pos-s.nodeSize)),e(a.scrollIntoView())}return!0}if(o==1||r.node(o-1).childCount>1)break}return s.isAtom&&i.depth==r.depth-1?(e&&e(n.tr.delete(i.pos-s.nodeSize,i.pos).scrollIntoView()),!0):!1};function Jr(n,e,t=!1){for(let r=n;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(t&&r.childCount!=1)return!1}return!1}var cS=(n,e,t)=>{let{$head:r,empty:i}=n.selection,s=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("backward",n):r.parentOffset>0)return!1;s=Yp(r)}let o=s&&s.nodeBefore;return!o||!B.isSelectable(o)?!1:(e&&e(n.tr.setSelection(B.create(n.doc,s.pos-o.nodeSize)).scrollIntoView()),!0)};function Yp(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){if(n.index(e)>0)return n.doc.resolve(n.before(e+1));if(n.node(e).type.spec.isolating)break}return null}function fS(n,e){let{$cursor:t}=n.selection;return!t||(e?!e.endOfTextblock("forward",n):t.parentOffset<t.parent.content.size)?null:t}var uS=(n,e,t)=>{let r=fS(n,t);if(!r)return!1;let i=Hp(r);if(!i)return!1;let s=i.nodeAfter;if(Gp(n,i,e,1))return!0;if(r.parent.content.size==0&&(Jr(s,"start")||B.isSelectable(s))){let o=Ro(n.doc,r.before(),r.after(),T.empty);if(o&&o.slice.size<o.to-o.from){if(e){let l=n.tr.step(o);l.setSelection(Jr(s,"start")?q.findFrom(l.doc.resolve(l.mapping.map(i.pos)),1):B.create(l.doc,l.mapping.map(i.pos))),e(l.scrollIntoView())}return!0}}return s.isAtom&&i.depth==r.depth-1?(e&&e(n.tr.delete(i.pos,i.pos+s.nodeSize).scrollIntoView()),!0):!1},dS=(n,e,t)=>{let{$head:r,empty:i}=n.selection,s=r;if(!i)return!1;if(r.parent.isTextblock){if(t?!t.endOfTextblock("forward",n):r.parentOffset<r.parent.content.size)return!1;s=Hp(r)}let o=s&&s.nodeAfter;return!o||!B.isSelectable(o)?!1:(e&&e(n.tr.setSelection(B.create(n.doc,s.pos)).scrollIntoView()),!0)};function Hp(n){if(!n.parent.type.spec.isolating)for(let e=n.depth-1;e>=0;e--){let t=n.node(e);if(n.index(e)+1<t.childCount)return n.doc.resolve(n.after(e+1));if(t.type.spec.isolating)break}return null}var Kp=(n,e)=>{let{$from:t,$to:r}=n.selection,i=t.blockRange(r),s=i&&Fn(i);return s==null?!1:(e&&e(n.tr.lift(i,s).scrollIntoView()),!0)},hS=(n,e)=>{let{$head:t,$anchor:r}=n.selection;return!t.parent.type.spec.code||!t.sameParent(r)?!1:(e&&e(n.tr.insertText(`
-`).scrollIntoView()),!0)};function Pc(n){for(let e=0;e<n.edgeCount;e++){let{type:t}=n.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}var pS=(n,e)=>{let{$head:t,$anchor:r}=n.selection;if(!t.parent.type.spec.code||!t.sameParent(r))return!1;let i=t.node(-1),s=t.indexAfter(-1),o=Pc(i.contentMatchAt(s));if(!o||!i.canReplaceWith(s,s,o))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,o.createAndFill());a.setSelection(q.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},mS=(n,e)=>{let t=n.selection,{$from:r,$to:i}=t;if(t instanceof Le||r.parent.inlineContent||i.parent.inlineContent)return!1;let s=Pc(i.parent.contentMatchAt(i.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let o=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,l=n.tr.insert(o,s.createAndFill());l.setSelection(F.create(l.doc,o+1)),e(l.scrollIntoView())}return!0},gS=(n,e)=>{let{$cursor:t}=n.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let s=t.before();if(dn(n.doc,s))return e&&e(n.tr.split(s).scrollIntoView()),!0}let r=t.blockRange(),i=r&&Fn(r);return i==null?!1:(e&&e(n.tr.lift(r,i).scrollIntoView()),!0)};function yS(n){return(e,t)=>{if(e.selection instanceof B&&e.selection.node.isBlock){let{$from:h}=e.selection;return!h.parentOffset||!dn(e.doc,h.pos)?!1:(t&&t(e.tr.split(h.pos).scrollIntoView()),!0)}if(!e.selection.$from.depth)return!1;let r=e.tr;!e.selection.empty&&(e.selection instanceof F||e.selection instanceof Le)&&r.deleteSelection();let{$from:i}=r.selection,s=r.steps.length,o=[],l,a,c=!1,f=!1;for(let h=i.depth;;h--)if(i.node(h).isBlock){c=i.end(h)==i.pos+(i.depth-h),f=i.start(h)==i.pos-(i.depth-h),a=Pc(i.node(h-1).contentMatchAt(i.indexAfter(h-1)));let m=n&&n(i.parent,c,i);o.unshift(m||(c&&a?{type:a}:null)),l=h;break}else{if(h==1)return!1;o.unshift(null)}let u=i.pos,d=dn(r.doc,u,o.length,o);if(d||(o[0]=a?{type:a}:null,d=dn(r.doc,u,o.length,o)),!d)return!1;if(r.split(u,o.length,o),!c&&f&&i.node(l).type!=a){let h=r.mapping.slice(s),p=h.map(i.before(l)),m=r.doc.resolve(p);a&&i.node(l-1).canReplaceWith(m.index(),m.index()+1,a)&&r.setNodeMarkup(h.map(i.before(l)),a)}return t&&t(r.scrollIntoView()),!0}}var bS=yS();var Fc=(n,e)=>(e&&e(n.tr.setSelection(new Le(n.doc))),!0);function xS(n,e,t){let r=e.nodeBefore,i=e.nodeAfter,s=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(s-1,s)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(s,s+1)||!(i.isTextblock||Vn(n.doc,e.pos))?!1:(t&&t(n.tr.join(e.pos).scrollIntoView()),!0)}function Gp(n,e,t,r){let i=e.nodeBefore,s=e.nodeAfter,o,l,a=i.type.spec.isolating||s.type.spec.isolating;if(!a&&xS(n,e,t))return!0;let c=!a&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(o=(l=i.contentMatchAt(i.childCount)).findWrapping(s.type))&&l.matchType(o[0]||s.type).validEnd){if(t){let h=e.pos+s.nodeSize,p=k.empty;for(let b=o.length-1;b>=0;b--)p=k.from(o[b].create(null,p));p=k.from(i.copy(p));let m=n.tr.step(new Se(e.pos-1,h,e.pos,h,new T(p,1,0),o.length,!0)),g=m.doc.resolve(h+2*o.length);g.nodeAfter&&g.nodeAfter.type==i.type&&Vn(m.doc,g.pos)&&m.join(g.pos),t(m.scrollIntoView())}return!0}let f=s.type.spec.isolating||r>0&&a?null:q.findFrom(e,1),u=f&&f.$from.blockRange(f.$to),d=u&&Fn(u);if(d!=null&&d>=e.depth)return t&&t(n.tr.lift(u,d).scrollIntoView()),!0;if(c&&Jr(s,"start",!0)&&Jr(i,"end")){let h=i,p=[];for(;p.push(h),!h.isTextblock;)h=h.lastChild;let m=s,g=1;for(;!m.isTextblock;m=m.firstChild)g++;if(h.canReplace(h.childCount,h.childCount,m.content)){if(t){let b=k.empty;for(let N=p.length-1;N>=0;N--)b=k.from(p[N].copy(b));let O=n.tr.step(new Se(e.pos-p.length,e.pos+s.nodeSize,e.pos+g,e.pos+s.nodeSize-g,new T(b,p.length,0),0,!0));t(O.scrollIntoView())}return!0}}return!1}function Xp(n){return function(e,t){let r=e.selection,i=n<0?r.$from:r.$to,s=i.depth;for(;i.node(s).isInline;){if(!s)return!1;s--}return i.node(s).isTextblock?(t&&t(e.tr.setSelection(F.create(e.doc,n<0?i.start(s):i.end(s)))),!0):!1}}var wS=Xp(-1),SS=Xp(1);function Zp(n,e=null){return function(t,r){let{$from:i,$to:s}=t.selection,o=i.blockRange(s),l=o&&Br(o,n,e);return l?(r&&r(t.tr.wrap(o,l).scrollIntoView()),!0):!1}}function Vc(n,e=null){return function(t,r){let i=!1;for(let s=0;s<t.selection.ranges.length&&!i;s++){let{$from:{pos:o},$to:{pos:l}}=t.selection.ranges[s];t.doc.nodesBetween(o,l,(a,c)=>{if(i)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)i=!0;else{let f=t.doc.resolve(c),u=f.index();i=f.parent.canReplaceWith(u,u+1,n)}})}if(!i)return!1;if(r){let s=t.tr;for(let o=0;o<t.selection.ranges.length;o++){let{$from:{pos:l},$to:{pos:a}}=t.selection.ranges[o];s.setBlockType(l,a,n,e)}r(s.scrollIntoView())}return!0}}function kS(n,e,t,r){for(let i=0;i<e.length;i++){let{$from:s,$to:o}=e[i],l=s.depth==0?n.inlineContent&&n.type.allowsMarkType(t):!1;if(n.nodesBetween(s.pos,o.pos,(a,c)=>{if(l||!r&&a.isAtom&&a.isInline&&c>=s.pos&&c+a.nodeSize<=o.pos)return!1;l=a.inlineContent&&a.type.allowsMarkType(t)}),l)return!0}return!1}function CS(n){let e=[];for(let t=0;t<n.length;t++){let{$from:r,$to:i}=n[t];r.doc.nodesBetween(r.pos,i.pos,(s,o)=>{if(s.isAtom&&s.content.size&&s.isInline&&o>=r.pos&&o+s.nodeSize<=i.pos)return o+1>r.pos&&e.push(new Ur(r,r.doc.resolve(o+1))),r=r.doc.resolve(o+1+s.content.size),!1}),r.pos<i.pos&&e.push(new Ur(r,i))}return e}function Xn(n,e=null,t){let r=(t&&t.removeWhenPresent)!==!1,i=(t&&t.enterInlineAtoms)!==!1,s=!(t&&t.includeWhitespace);return function(o,l){let{empty:a,$cursor:c,ranges:f}=o.selection;if(a&&!c||!kS(o.doc,f,n,i))return!1;if(l)if(c)n.isInSet(o.storedMarks||c.marks())?l(o.tr.removeStoredMark(n)):l(o.tr.addStoredMark(n.create(e)));else{let u,d=o.tr;i||(f=CS(f)),r?u=!f.some(h=>o.doc.rangeHasMark(h.$from.pos,h.$to.pos,n)):u=!f.every(h=>{let p=!1;return d.doc.nodesBetween(h.$from.pos,h.$to.pos,(m,g,b)=>{if(p)return!1;p=!n.isInSet(m.marks)&&!!b&&b.type.allowsMarkType(n)&&!(m.isText&&/^\s*$/.test(m.textBetween(Math.max(0,h.$from.pos-g),Math.min(m.nodeSize,h.$to.pos-g))))}),!p});for(let h=0;h<f.length;h++){let{$from:p,$to:m}=f[h];if(!u)d.removeMark(p.pos,m.pos,n);else{let g=p.pos,b=m.pos,O=p.nodeAfter,N=m.nodeBefore,X=s&&O&&O.isText?/^\s*/.exec(O.text)[0].length:0,G=s&&N&&N.isText?/\s*$/.exec(N.text)[0].length:0;g+X<b&&(g+=X,b-=G),d.addMark(g,b,n.create(e))}}l(d.scrollIntoView())}return!0}}function It(...n){return function(e,t,r){for(let i=0;i<n.length;i++)if(n[i](e,t,r))return!0;return!1}}var Uc=It(Jp,aS,cS),Wp=It(Jp,uS,dS),Xt={Enter:It(hS,mS,gS,bS),"Mod-Enter":pS,Backspace:Uc,"Mod-Backspace":Uc,"Shift-Backspace":Uc,Delete:Wp,"Mod-Delete":Wp,"Mod-a":Fc},Qp={"Ctrl-h":Xt.Backspace,"Alt-Backspace":Xt["Mod-Backspace"],"Ctrl-d":Xt.Delete,"Ctrl-Alt-Backspace":Xt["Mod-Delete"],"Alt-Delete":Xt["Mod-Delete"],"Alt-d":Xt["Mod-Delete"],"Ctrl-a":wS,"Ctrl-e":SS};for(let n in Xt)Qp[n]=Xt[n];var ES=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform?os.platform()=="darwin":!1,zc=ES?Qp:Xt;function AS(n){let e=$c(n);return e?"docs-indent-"+e:null}function $c(n){if(typeof n!="number"&&(typeof n!="string"||!/^\d+$/.test(n)))return 0;let e=Number(n);return!Number.isInteger(e)||e<1?0:Math.min(e,8)}function MS(n){for(let e of n){if(!e.startsWith("docs-indent-"))continue;let t=$c(e.slice(12));if(t)return t}return null}function qc(n,e){let t=n.parseDOM||[{tag:e}];return{...n,attrs:{...n.attrs||{},indent:{default:null}},parseDOM:t.map(r=>({...r,getAttrs:i=>{let s=r.getAttrs?r.getAttrs(i):{};return s===!1?!1:{...s||{},indent:MS(Array.from(i.classList||[]))}}})),toDOM:r=>{let i=n.toDOM?n.toDOM(r):[e,0],s=AS(r.attrs.indent);if(!s)return i;let[o,l,...a]=i;if(l&&typeof l=="object"&&!Array.isArray(l)){let c={...l,class:l.class?l.class+" "+s:s};return[o,c,...a]}return[o,{class:s},l,...a]}}}function Yr(n){return(e,t)=>{let{from:r,to:i}=e.selection,s=!1,o=e.tr;return e.doc.nodesBetween(r,i,(l,a)=>{if(!l.type.isTextblock||!l.type.spec.attrs||!l.type.spec.attrs.indent)return;let c=$c(l.attrs.indent),f=Math.max(0,Math.min(8,c+n));f!==c&&(s=!0,t&&o.setNodeMarkup(a,null,{...l.attrs,indent:f===0?null:f}))}),s?(t&&t(o),!0):!1}}var vt=class{constructor(e,t,r={}){this.match=e,this.match=e,this.handler=typeof t=="string"?TS(t):t,this.undoable=r.undoable!==!1,this.inCode=r.inCode||!1,this.inCodeMark=r.inCodeMark!==!1}};function TS(n){return function(e,t,r,i){let s=n;if(t[1]){let o=t[0].lastIndexOf(t[1]);s+=t[0].slice(o+t[1].length),r+=o;let l=r-i;l>0&&(s=t[0].slice(o-l,o)+s,r=i)}return e.tr.insertText(s,r,i)}}var DS=500;function tm({rules:n}){let e=new oe({state:{init(){return null},apply(t,r){let i=t.getMeta(this);return i||(t.selectionSet||t.docChanged?null:r)}},props:{handleTextInput(t,r,i,s){return em(t,r,i,s,n,e)},handleDOMEvents:{compositionend:t=>{setTimeout(()=>{let{$cursor:r}=t.state.selection;r&&em(t,r.pos,r.pos,"",n,e)})}}},isInputRules:!0});return e}function em(n,e,t,r,i,s){if(n.composing)return!1;let o=n.state,l=o.doc.resolve(e),a=l.parent.textBetween(Math.max(0,l.parentOffset-DS),l.parentOffset,null,"\uFFFC")+r;for(let c=0;c<i.length;c++){let f=i[c];if(!f.inCodeMark&&l.marks().some(p=>p.type.spec.code))continue;if(l.parent.type.spec.code){if(!f.inCode)continue}else if(f.inCode==="only")continue;let u=f.match.exec(a);if(!u||u[0].length<r.length)continue;let d=e-(u[0].length-r.length);if(!f.inCodeMark){let p=!1;if(o.doc.nodesBetween(d,l.pos,m=>{m.isInline&&m.marks.some(g=>g.type.spec.code)&&(p=!0)}),p)continue}let h=f.handler(o,u,d,t);if(h)return f.undoable&&h.setMeta(s,{transform:h,from:e,to:t,text:r}),n.dispatch(h),!0}return!1}var nm=(n,e)=>{let t=n.plugins;for(let r=0;r<t.length;r++){let i=t[r],s;if(i.spec.isInputRules&&(s=i.getState(n))){if(e){let o=n.tr,l=s.transform;for(let a=l.steps.length-1;a>=0;a--)o.step(l.steps[a].invert(l.docs[a]));if(s.text){let a=o.doc.resolve(s.from).marks();o.replaceWith(s.from,s.to,n.schema.text(s.text,a))}else o.delete(s.from,s.to);e(o)}return!0}}return!1},eE=new vt(/--$/,"\u2014",{inCodeMark:!1}),tE=new vt(/\.\.\.$/,"\u2026",{inCodeMark:!1}),nE=new vt(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201C",{inCodeMark:!1}),rE=new vt(/"$/,"\u201D",{inCodeMark:!1}),iE=new vt(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018",{inCodeMark:!1}),sE=new vt(/'$/,"\u2019",{inCodeMark:!1});function nl(n,e,t=null,r){return new vt(n,(i,s,o,l)=>{let a=t instanceof Function?t(s):t,c=i.tr.delete(o,l),f=c.doc.resolve(o),u=f.blockRange(),d=u&&Br(u,e,a);if(!d)return null;c.wrap(u,d);let h=c.doc.resolve(o-1).nodeBefore;return h&&h.type==e&&Vn(c.doc,o-1)&&(!r||r(s,h))&&c.join(o-1),c})}function rm(n,e,t=null){return new vt(n,(r,i,s,o)=>{let l=r.doc.resolve(s),a=t instanceof Function?t(i):t;return l.node(-1).canReplaceWith(l.index(-1),l.indexAfter(-1),e)?r.tr.delete(s,o).setBlockType(s,s,e,a):null})}var OS=/^\s*([-+*])\s$/,NS=/^(\d+)\.\s$/,IS=/^\s*>\s$/,vS=/^(#{1,3})\s$/;function im(n){let e=[],{bullet_list:t,ordered_list:r,blockquote:i,heading:s}=n.nodes;return t&&e.push(nl(OS,t)),r&&e.push(nl(NS,r)),i&&e.push(nl(IS,i)),s&&e.push(rm(vS,s,o=>({level:o[1].length}))),tm({rules:e})}var cs=new ot("docs-pages"),_S=864,Zn="paged",fs="infinite",RS="docs-view";function sm(n){document.cookie=`${RS}=${n}; Path=/; Max-Age=31536000; SameSite=Lax`}function BS(n){let e=[],t=n.state.doc,r=null;return t.forEach((i,s)=>{let o=n.nodeDOM(s);if(!o||!o.getBoundingClientRect)return;let l=o.getBoundingClientRect();if(l.height!==0){if(r===null){r=l.top;return}l.bottom-r>_S&&(e.push(s),r=l.top)}}),e}function om({getMode:n,pageLabel:e}){return new oe({key:cs,state:{init:()=>({positions:[],deco:ae.empty}),apply(t,r,i,s){let o=t.getMeta(cs);if(!o)return{positions:r.positions,deco:r.deco.map(t.mapping,t.doc)};let l=o.positions.map((a,c)=>Fe.widget(a,()=>LS(c+2,e),{side:-1,ignoreSelection:!0}));return{positions:o.positions,deco:ae.create(s.doc,l)}}},props:{decorations(t){return n()!==Zn?ae.empty:cs.getState(t).deco}},view(t){let r=0,i="",s=()=>{if(r=0,n()!==Zn){i!==""&&(i="",t.dispatch(t.state.tr.setMeta(cs,{positions:[]})));return}let a=BS(t),c=a.join(",");c!==i&&(i=c,t.dispatch(t.state.tr.setMeta(cs,{positions:a})))},o=()=>{r||(r=requestAnimationFrame(s))},l=typeof ResizeObserver=="function"?new ResizeObserver(o):null;return l&&l.observe(t.dom),o(),{update:o,destroy(){r&&cancelAnimationFrame(r),l&&l.disconnect()}}}})}function LS(n,e){let t=document.createElement("div");t.setAttribute("docs-page-gap",""),t.setAttribute("contenteditable","false"),t.setAttribute("aria-hidden","true");let r=document.createElement("span");return r.setAttribute("docs-page-number",""),r.textContent=e?e.replace("{n}",String(n)):String(n),t.appendChild(r),t}var lm=typeof Intl<"u"&&typeof Intl.Segmenter=="function"?new Intl.Segmenter(void 0,{granularity:"word"}):null;function am(n){if(!n)return 0;if(lm){let t=0;for(let r of lm.segment(n))r.isWordLike&&t++;return t}let e=n.trim().split(/\s+/);return e.length===1&&e[0]===""?0:e.length}function cm(n){let e=[];return n.descendants(t=>{t.isText?e.push(t.text):t.isBlock&&e.length&&e.push(" ")}),e.join("")}function US(n){let e=cm(n.doc),{from:t,to:r,empty:i}=n.selection,s=0;n.doc.forEach(l=>{(l.isTextblock||l.type.name.endsWith("_list")||l.type.name==="blockquote")&&s++});let o=i?null:cm(n.doc.cut(t,r));return{words:am(e),characters:e.length,charactersNoSpaces:e.replace(/\s/g,"").length,paragraphs:s,selection:o===null?null:{words:am(o),characters:o.length}}}function fm(n,{getView:e}){if(!n||typeof n.showModal!="function")return null;let t={words:n.querySelector("[docs-count-words]"),characters:n.querySelector("[docs-count-characters]"),charactersNoSpaces:n.querySelector("[docs-count-characters-nospaces]"),paragraphs:n.querySelector("[docs-count-paragraphs]"),selection:n.querySelector("[docs-count-selection]"),selectionWords:n.querySelector("[docs-count-selection-words]")};return()=>{let r=e();if(!r)return!1;let i=US(r.state);return t.words&&(t.words.textContent=String(i.words)),t.characters&&(t.characters.textContent=String(i.characters)),t.charactersNoSpaces&&(t.charactersNoSpaces.textContent=String(i.charactersNoSpaces)),t.paragraphs&&(t.paragraphs.textContent=String(i.paragraphs)),t.selection&&(t.selection.hidden=i.selection===null),t.selectionWords&&i.selection&&(t.selectionWords.textContent=String(i.selection.words)),n.showModal(),!0}}function PS(n){let e=[];if(!n)return e;for(let t of n.querySelectorAll("[estilo-menubar-menu]")){let r=t.querySelector("[estilo-menubar-title]"),i=r?r.textContent.trim():"";for(let s of t.querySelectorAll("[estilo-menu-item]")){let o=s.getAttribute("data-docs-shortcut");if(!o)continue;let l=s.querySelector("[estilo-menu-label]"),a=(l?l.textContent:s.textContent).trim().replace(/…$/,"");e.push({group:i,label:a,keys:o})}}return e}function um(n,{menubar:e,extraRows:t}){if(!n||typeof n.showModal!="function")return null;let r=n.querySelector("[docs-shortcuts-body]");return r?()=>{let i=[...PS(e),...t||[]];r.textContent="";let s=null;for(let o of i){if(o.group&&o.group!==s){s=o.group;let f=document.createElement("h3");f.setAttribute("docs-shortcuts-group",""),f.textContent=s,r.appendChild(f)}let l=document.createElement("div");l.setAttribute("docs-shortcuts-row","");let a=document.createElement("span");a.textContent=o.label;let c=document.createElement("kbd");c.textContent=o.keys,l.append(a,c),r.appendChild(l)}return n.showModal(),!0}:null}function hm(n){return 3e4+Math.ceil(n.byteLength/8)}function pm(n){return hm(n)+5e3}var FS=1024;async function VS(n){if(typeof CompressionStream!="function")return null;let e=new CompressionStream("gzip"),t=e.writable.getWriter();t.write(n).catch(()=>{}),t.close().catch(()=>{});let r=e.readable.getReader(),i=[],s=0;for(;;){let{done:a,value:c}=await r.read();if(a)break;i.push(c),s+=c.byteLength}let o=new Uint8Array(s),l=0;for(let a of i)o.set(a,l),l+=a.byteLength;return o}async function dm(n,{timeoutMs:e,compress:t=!0}={}){let r={"Content-Type":"application/octet-stream"},i=n;if(t&&n.byteLength>=FS){let o=await VS(n).catch(()=>null);o&&o.byteLength<n.byteLength&&(i=o,r["Content-Encoding"]="gzip")}let s={method:"POST",credentials:"same-origin",headers:r,body:i,keepalive:i.byteLength<=32768};return typeof AbortSignal<"u"&&typeof AbortSignal.timeout=="function"&&(s.signal=AbortSignal.timeout(e??hm(i))),s}var zS=new Set([400,415,422]);function mm({url:n,fetchFn:e=(...t)=>fetch(...t)}){let t=!1;return async function(i,s=()=>{}){let o=await dm(i,{compress:!t});s(o.keepalive);let l=await e(n,o);return o.headers["Content-Encoding"]==="gzip"&&zS.has(l.status)&&(t=!0,o=await dm(i,{compress:!1}),s(o.keepalive),l=await e(n,o)),l}}async function gm(n,e=fetch){for(let t of[!0,!1])try{let r={method:"HEAD",cache:"no-store",credentials:"same-origin",keepalive:t};return typeof AbortSignal<"u"&&typeof AbortSignal.timeout=="function"&&(r.signal=AbortSignal.timeout(5e3)),await e(n,r),!0}catch{}return!1}function ym({post:n,mergeUpdates:e,onStatus:t,debounceMs:r=2e3,maxBatchBytes:i=1/0,answerTimeoutMs:s=1/0,probe:o=null,setTimeoutFn:l=setTimeout,clearTimeoutFn:a=clearTimeout}){let c=[],f=null,u=null,d="ok",h=0,p=0,m=[],g=[],b=0;function O(v){d==="failed"&&v!=="failed"||(d=v,t&&t(d))}function N(){let v=[];for(let j of g){if(p<j.to){v.push(j);continue}j.resolve(!m.some(([se,ze])=>ze>j.from&&se<=j.to))}g=v}function X(v){u||(u=l(()=>{u=null,G()},v))}function G(){if(f||!c.length)return;u&&(a(u),u=null);let v=1,j=c[0].update.byteLength;for(;v<c.length&&j+c[v].update.byteLength<=i;)j+=c[v].update.byteLength,v++;let se=c.slice(0,v);c=c.slice(v);let ze=se.length===1?se[0].update:e(se.map(C=>C.update)),y={lo:se[0].id,hi:se[se.length-1].id,bytes:ze,entries:se};f=y;let S=typeof s=="function"?s(ze):s;Number.isFinite(S)&&(y.timer=l(()=>_(y,"retrying"),S));let A=C=>{y.keepalive=!!C};Promise.resolve().then(()=>n(ze,A)).then(C=>w(y,C),()=>w(y,null))}function _(v,j){f===v&&(f=null,v.timer&&a(v.timer),c=v.entries.concat(c),j?(O(j),X(r)):G())}function w(v,j){if(f===v){if(v.timer&&a(v.timer),f=null,j&&(b=0),j&&j.ok)p=v.hi,O(c.length?"saving":"ok");else if(j&&j.status>=400&&j.status<500)p=v.hi,m.push([v.lo,v.hi]),O("failed");else{if(c=v.entries.concat(c),N(),j||!o){b=0,O("retrying"),X(r);return}Promise.resolve().then(()=>o()).then(se=>se,()=>!1).then(se=>{if(!se){b=0,p<v.hi&&O("retrying"),X(r);return}b++,X(Math.min(r*2**b,4e3))});return}N(),c.length&&G()}}function E(v){c.push({id:++h,update:v}),f||X(r)}function z(){let v=h,j=p,se=p>=v?Promise.resolve(!m.some(([ze,y])=>y>j&&ze<=v)):new Promise(ze=>g.push({from:j,to:v,resolve:ze}));return G(),se}function ne({wire:v="all"}={}){let j=[];f&&(v==="all"||v==="plain"&&!f.keepalive)&&j.push(f.bytes);for(let se of c)j.push(se.update);return j.length?j.length===1?j[0]:e(j):null}function et(){f?_(f,null):G()}return{enqueue:E,flush:z,pendingBytes:ne,resume:et,get onWire(){return f?f.keepalive?"keepalive":"plain":null},get status(){return d}}}function bm({attemptResync:n,onDiverged:e,onRecovered:t,backoffMs:r=l=>Math.min(1e3*2**(l-1),3e4),setTimeoutFn:i=setTimeout,clearTimeoutFn:s=clearTimeout,addOnlineListener:o=l=>addEventListener("online",l)}){let l=!1,a=!1,c=0,f=null;function u(){c++,f&&s(f),f=i(d,r(c))}async function d(){if(f&&(s(f),f=null),!(!l||a)){a=!0;try{await n(),l=!1,c=0,t&&t()}catch{u()}finally{a=!1}}}function h(){l||(l=!0,c=0,e&&e()),d()}return o(()=>{l&&d()}),{reportDivergence:h,get diverged(){return l},get resyncing(){return a}}}function xm(n){return{...n,parseDOM:[{tag:"br.Apple-interchange-newline",ignore:!0},...n.parseDOM||[]]}}function wm(n){let e=n.nodes.paragraph,t=n.nodes.hard_break;return r=>{let i=Sm(r.content,e,t);return i===r.content?r:new T(i,r.openStart,r.openEnd)}}function Sm(n,e,t){let r=[],i=!1;return n.forEach(s=>{if(s.type===e&&s.childCount>0&&$S(s,t)){for(let l=0;l<s.childCount;l+=1)r.push(e.create(s.attrs));i=!0;return}if(s.isTextblock||s.isLeaf){r.push(s);return}let o=Sm(s.content,e,t);if(o===s.content){r.push(s);return}r.push(s.copy(o)),i=!0}),i?k.fromArray(r):n}function $S(n,e){let t=!0;return n.forEach(r=>{r.type!==e&&(t=!1)}),t}function Hr(n,e,t){n.getAttribute(e)!==t&&n.setAttribute(e,t)}function Ze(n,e,t){n[e]!==t&&(n[e]=t)}function km(n,e){if(!n||e.length===0)return{ensureReachable(){},focusStop(){return!1}};let t=l=>typeof l.checkVisibility=="function"?l.checkVisibility():typeof l.getClientRects=="function"?l.getClientRects().length>0:!0,r=()=>e.filter(l=>!l.disabled&&t(l));function i(l){for(let a of e)a.tabIndex=a===l?0:-1}function s(){let l=r();l.length!==0&&(l.some(a=>a.tabIndex===0)||i(l[0]))}n.addEventListener("keydown",l=>{let a=l.key;if(a!=="ArrowRight"&&a!=="ArrowLeft"&&a!=="Home"&&a!=="End")return;let c=r(),f=c.indexOf(document.activeElement);if(f<0||c.length===0)return;let u;a==="Home"?u=c[0]:a==="End"?u=c[c.length-1]:a==="ArrowRight"?u=c[(f+1)%c.length]:u=c[(f-1+c.length)%c.length],l.preventDefault(),i(u),u.focus()}),n.addEventListener("focusin",l=>{e.includes(l.target)&&i(l.target)}),s(),typeof ResizeObserver=="function"&&new ResizeObserver(()=>s()).observe(n);function o(){let l=r();if(l.length===0)return!1;let a=l.find(c=>c.tabIndex===0)||l[0];return i(a),a.focus(),!0}return{ensureReachable:s,focusStop:o}}var jc={center:"docs-align-center",right:"docs-align-right"},Cm=["left","center","right"];function rl(n){return Object.prototype.hasOwnProperty.call(jc,n)?jc[n]:null}function qS(n){for(let[e,t]of Object.entries(jc))if(n.includes(t))return e;return null}function Em(n){return{...n,attrs:{...n.attrs||{},align:{default:null}},parseDOM:[{tag:"p",getAttrs:e=>({align:qS(Array.from(e.classList||[]))})}],toDOM:e=>{let t=rl(e.attrs.align);return t?["p",{class:t},0]:["p",0]}}}function Am(n){return(e,t)=>{let{from:r,to:i}=e.selection,s=!1,o=e.tr;return e.doc.nodesBetween(r,i,(l,a)=>{l.type.isTextblock&&(!l.type.spec.attrs||!l.type.spec.attrs.align||(s=!0,t&&o.setNodeMarkup(a,null,{...l.attrs,align:n})))}),s?(t&&t(o),!0):!1}}function Mm(n){let e=n.selection.$from.parent,t=e.attrs&&e.attrs.align;return rl(t)?t:"left"}var il={comment:"The font vocabulary. internal/fonts embeds it, fixtures/fonts.mjs imports it into the editor bundle, core/src/fragment.rs is tested against it, and scripts/vendor-fonts.py builds files/ from it with sources.json. Order is the picker's order. Keys are mark names after font_ and never change: sans, serif and mono are Liberation, as they always were.",default:"carlito",code:"mono",families:[{key:"carlito",name:"Carlito",category:"sans",twin:"Calibri",reserved:"Carlito",docx:{name:"Calibri",family:"swiss",pitch:"variable",panose:"020F0502020204030204"},fallback:["Calibri","Carlito","Segoe UI","Arial","sans-serif"],dir:"carlito",licence:"OFL.txt",styles:{regular:"Carlito-Regular",bold:"Carlito-Bold",italic:"Carlito-Italic",boldItalic:"Carlito-BoldItalic"}},{key:"caladea",name:"Caladea",category:"serif",twin:"Cambria",docx:{name:"Cambria",family:"roman",pitch:"variable",panose:"02040503050406030204"},fallback:["Cambria","Caladea","Georgia","Times New Roman","serif"],dir:"caladea",licence:"OFL.txt",styles:{regular:"Caladea-Regular",bold:"Caladea-Bold",italic:"Caladea-Italic",boldItalic:"Caladea-BoldItalic"}},{key:"inter",name:"Inter",category:"sans",docx:{name:"Inter",family:"swiss",pitch:"variable",altName:"Arial"},fallback:["Helvetica Neue","Arial","sans-serif"],dir:"inter",licence:"LICENSE.txt",styles:{regular:"Inter-Regular",bold:"Inter-Bold",italic:"Inter-Italic",boldItalic:"Inter-BoldItalic"}},{key:"sourcesans",name:"Source Sans 3",category:"sans",reserved:"Source",docx:{name:"Source Sans 3",family:"swiss",pitch:"variable",altName:"Calibri"},fallback:["Segoe UI","Arial","sans-serif"],dir:"sourcesans",licence:"LICENSE.md",styles:{regular:"SourceSans3-Regular",bold:"SourceSans3-Bold",italic:"SourceSans3-It",boldItalic:"SourceSans3-BoldIt"}},{key:"plexsans",name:"IBM Plex Sans",category:"sans",reserved:"Plex",docx:{name:"IBM Plex Sans",family:"swiss",pitch:"variable",altName:"Arial"},fallback:["Helvetica Neue","Arial","sans-serif"],dir:"plexsans",licence:"LICENSE.txt",styles:{regular:"IBMPlexSans-Regular",bold:"IBMPlexSans-Bold",italic:"IBMPlexSans-Italic",boldItalic:"IBMPlexSans-BoldItalic"}},{key:"sourceserif",name:"Source Serif 4",category:"serif",reserved:"Source",docx:{name:"Source Serif 4",family:"roman",pitch:"variable",altName:"Georgia"},fallback:["Georgia","Times New Roman","serif"],dir:"sourceserif",licence:"LICENSE.md",styles:{regular:"SourceSerif4-Regular",bold:"SourceSerif4-Bold",italic:"SourceSerif4-It",boldItalic:"SourceSerif4-BoldIt"}},{key:"literata",name:"Literata",category:"serif",docx:{name:"Literata",family:"roman",pitch:"variable",altName:"Georgia"},fallback:["Georgia","Times New Roman","serif"],dir:"literata",licence:"OFL.txt",styles:{regular:"Literata-Regular",bold:"Literata-Bold",italic:"Literata-Italic",boldItalic:"Literata-BoldItalic"}},{key:"garamond",name:"EB Garamond",category:"serif",docx:{name:"EB Garamond",family:"roman",pitch:"variable",altName:"Garamond"},fallback:["Garamond","Georgia","serif"],dir:"garamond",licence:"OFL.txt",styles:{regular:"EBGaramond-Regular",bold:"EBGaramond-Bold",italic:"EBGaramond-Italic",boldItalic:"EBGaramond-BoldItalic"}},{key:"sans",name:"Liberation Sans",category:"sans",twin:"Arial",reserved:"Liberation",docx:{name:"Arial",family:"swiss",pitch:"variable",panose:"020B0604020202020204"},fallback:["Arial","Helvetica","Liberation Sans","sans-serif"],dir:"liberation",licence:"LICENSE-OFL-1.1.txt",styles:{regular:"LiberationSans-Regular",bold:"LiberationSans-Bold",italic:"LiberationSans-Italic",boldItalic:"LiberationSans-BoldItalic"}},{key:"serif",name:"Liberation Serif",category:"serif",twin:"Times New Roman",reserved:"Liberation",docx:{name:"Times New Roman",family:"roman",pitch:"variable",panose:"02020603050405020304"},fallback:["Times New Roman","Times","Liberation Serif","serif"],dir:"liberation",licence:"LICENSE-OFL-1.1.txt",styles:{regular:"LiberationSerif-Regular",bold:"LiberationSerif-Bold",italic:"LiberationSerif-Italic",boldItalic:"LiberationSerif-BoldItalic"}},{key:"mono",name:"Liberation Mono",category:"mono",twin:"Courier New",reserved:"Liberation",docx:{name:"Courier New",family:"modern",pitch:"fixed",panose:"02070309020205020404"},fallback:["Courier New","Liberation Mono","Consolas","monospace"],dir:"liberation",licence:"LICENSE-OFL-1.1.txt",styles:{regular:"LiberationMono-Regular",bold:"LiberationMono-Bold",italic:"LiberationMono-Italic",boldItalic:"LiberationMono-BoldItalic"}},{key:"notosans",name:"Noto Sans",category:"sans",docx:{name:"Noto Sans",family:"swiss",pitch:"variable",altName:"Arial"},fallback:["Noto Sans","Arial","sans-serif"],dir:"notosans",licence:"OFL.txt",styles:{regular:"NotoSans-Regular",bold:"NotoSans-Bold",italic:"NotoSans-Italic",boldItalic:"NotoSans-BoldItalic"}},{key:"zilla",name:"Zilla Slab",category:"slab",docx:{name:"Zilla Slab",family:"roman",pitch:"variable",altName:"Rockwell"},fallback:["Rockwell","Georgia","serif"],dir:"zilla",licence:"OFL.txt",styles:{regular:"ZillaSlab-Regular",bold:"ZillaSlab-Bold",italic:"ZillaSlab-Italic",boldItalic:"ZillaSlab-BoldItalic"}},{key:"jetbrains",name:"JetBrains Mono",category:"mono",docx:{name:"JetBrains Mono",family:"modern",pitch:"fixed",altName:"Consolas"},fallback:["Consolas","Menlo","Courier New","monospace"],dir:"jetbrains",licence:"OFL.txt",styles:{regular:"JetBrainsMono-Regular",bold:"JetBrainsMono-Bold",italic:"JetBrainsMono-Italic",boldItalic:"JetBrainsMono-BoldItalic"}},{key:"playfair",name:"Playfair Display",category:"display",reserved:"Playfair Display",docx:{name:"Playfair Display",family:"roman",pitch:"variable",altName:"Georgia"},fallback:["Didot","Bodoni MT","Georgia","serif"],dir:"playfair",licence:"OFL.txt",styles:{regular:"PlayfairDisplay-Regular",bold:"PlayfairDisplay-Bold",italic:"PlayfairDisplay-Italic",boldItalic:"PlayfairDisplay-BoldItalic"}},{key:"caveat",name:"Caveat",category:"handwriting",docx:{name:"Caveat",family:"script",pitch:"variable",altName:"Segoe Print"},fallback:["Segoe Print","Bradley Hand","cursive"],dir:"caveat",licence:"OFL.txt",styles:{regular:"Caveat-Regular",bold:"Caveat-Bold"}}]};var WS={regular:{weight:400,style:"normal"},bold:{weight:700,style:"normal"},italic:{weight:400,style:"italic"},boldItalic:{weight:700,style:"italic"}},_t=il.families.map((n,e)=>({key:n.key,name:n.name,index:e+1,cssName:"Docs "+n.name,docx:n.docx.name,fallback:n.fallback,faces:Object.keys(n.styles).map(t=>WS[t])})),Wc=new Map(_t.map(n=>[n.key,n])),Jc=_t.map(n=>n.key),Qe=il.default,Qn=il.code,sl=Jc.map(n=>"font_"+n).reverse();function Tm(n){if(Wc.has(n))return n===Qe?null:"font_"+n}function Dm(n){for(let e of sl)if(n.includes(e))return e.slice(5);return Qe}function ol(n){let e=String(n||"").split(",").map(t=>t.trim().replace(/^["']|["']$/g,"").toLowerCase()).filter(Boolean);for(let t of e){let r=_t.find(i=>i.cssName.toLowerCase()===t)||_t.find(i=>i.docx.toLowerCase()===t)||_t.find(i=>i.name.toLowerCase()===t)||_t.find(i=>i.fallback.some(s=>s.toLowerCase()===t));if(r)return r.key}return null}function JS(){if(!Wc.has(Qe))throw new Error(`fonts: the default ${Qe} is not a family`);if(!Wc.has(Qn))throw new Error(`fonts: the code face ${Qn} is not a family`);if(Jc[0]!==Qe)throw new Error(`fonts: the toolbar lists ${Jc[0]} first but the default is ${Qe}`);for(let n of _t)if(!n.faces.some(e=>e.weight===400&&e.style==="normal"))throw new Error(`fonts: ${n.key} has no regular`)}JS();var xt=[12,8,9,10,11,14,18,24,36,48,72],bn=12,Rt=[...xt.filter(n=>n!==bn).map(n=>"size_"+n),"size_sm","size_lg","size_xl"],ll={size_sm:10,size_lg:14,size_xl:18};function Yc(n){let e=Number(n);if(xt.includes(e))return e===bn?null:"size_"+e}function Hc(n){for(let e of Rt)if(n.includes(e))return e in ll?ll[e]:Number(e.slice(5));return bn}function YS(){if(!xt.includes(bn))throw new Error(`sizes: the default ${bn} is not one of [${xt}]`);if(xt[0]!==bn)throw new Error(`sizes: the control lists ${xt[0]} first but the default is ${bn} \u2014 with no JavaScript the control would name a size the text is not set in`);for(let[t,r]of Object.entries(ll)){if(!xt.includes(r))throw new Error(`sizes: the legacy mark ${t} maps to ${r}pt, which is not on the ladder [${xt}]`);if(!Rt.includes(t))throw new Error(`sizes: the legacy mark ${t} is not in the group the toolbar clears`)}let n=xt.filter(t=>t!==bn).map(t=>"size_"+t),e=Rt.filter(t=>!(t in ll));if(n.join()!==e.join())throw new Error(`sizes: the marks [${e}] do not match the offered sizes [${n}]`)}YS();var Gc={align_left:null,align_center:"center",align_right:"right"};function HS(){let n=Object.keys(Gc);for(let r of n){let i=Gc[r],s="align_"+(i===null?"left":i);if(r!==s)throw new Error(`toolbar: ${r} sets the alignment ${JSON.stringify(i)}, which belongs to ${s}`);if(i!==null&&!rl(i))throw new Error(`toolbar: ${r} sets ${JSON.stringify(i)}, which align.mjs does not know`)}let e=n.map(r=>r.slice(6)).sort(),t=[...Cm].sort();if(e.join()!==t.join())throw new Error(`toolbar: alignment commands [${e}] do not match align.mjs's [${t}]`)}HS();function Kc(n){let e=n.previousElementSibling;return!e||!e.hasAttribute("rst-combo")?null:e.querySelector("input")}function KS(n,e){if(!e)return;let t=n.getAttribute("aria-label");t&&Hr(e,"aria-label",t)}var al=!1;function GS(n,e,t){if(!e||document.activeElement===e)return;if(t&&typeof n.dispatchEvent=="function"){al=!0;try{n.dispatchEvent(new Event("change"))}finally{al=!1}return}let r=n.options[n.selectedIndex],i=r&&r.dataset||{},s=r?i.rstShort||i.rstName||r.text:"";Ze(e,"value",s)}function _m({root:n,history:e=[],schema:t,getView:r,onSync:i,fonts:s=null,wrapCommand:o=f=>f,onFontUnavailable:l=null,refocus:a=()=>!0,extraCommands:c={}}){if(!n)return{plugin:null,commands:{...Om(t,o),...c},focusStop:()=>!1};let f=Array.from(n.querySelectorAll("[data-docs-command]")),u=e.flatMap(_=>Array.from(_.querySelectorAll("[data-docs-command]"))),d=[...f,...u],h=Array.from(n.querySelectorAll("[data-docs-select]")),p=n.ownerDocument,m=p&&p.querySelector&&p.querySelector("[estilo-bar]");m&&Hr(m,"data-rst-select-ceiling","");let g={...Om(t,o),...c};n.addEventListener("pointerdown",_=>{let w=_.target;if(!w||!w.hasAttribute||!w.hasAttribute("rst-combo"))return;let E=w.querySelector("input");!E||E.disabled||(_.preventDefault(),p.activeElement===E?E.blur():E.focus())});for(let _ of d)_.addEventListener("mousedown",w=>w.preventDefault()),_.addEventListener("click",()=>{let w=g[_.getAttribute("data-docs-command")],E=r();!E||!w||(w(E.state,E.dispatch,E),a()&&E.focus())});for(let _ of h)_.addEventListener("mousedown",w=>w.stopPropagation()),_.addEventListener("change",()=>{if(al)return;let w=r();w&&a()?w.focus():b()}),_.addEventListener("change",()=>{if(al)return;let w=r();if(!w)return;let E=_.getAttribute("data-docs-select"),z=_.value;if(E==="block"&&us(t,z)(w.state,w.dispatch,w),E==="font"){let ne=Tm(z);ne!==void 0&&Xc(t,sl,ne)(w.state,w.dispatch)}if(E==="size"){let ne=Yc(z);ne!==void 0&&Xc(t,Rt,ne)(w.state,w.dispatch)}a()&&w.focus()});function b(){let _=p&&p.activeElement;_&&_.tagName==="INPUT"&&n.contains(_)&&_.blur()}function O(_){let w=_.state;for(let E of d){let z=E.getAttribute("data-docs-command"),ne=g[z];if(!ne)continue;let et=ne(w,null,_);if(Ze(E,"disabled",!et),E.hasAttribute("aria-pressed")){let v=G(w,z);Hr(E,"aria-pressed",v?"true":"false")}}for(let E of h){let z=E.getAttribute("data-docs-select")==="font"&&s&&s.previews==="pending";Ze(E,"disabled",z);let ne=Kc(E);ne&&Ze(ne,"disabled",z),KS(E,ne);let et=E.getAttribute("data-docs-select"),v=E.value;et==="block"&&Ze(E,"value",vm(w)),et==="font"&&Ze(E,"value",ek(w,t)),et==="size"&&Ze(E,"value",String(Hc(Rm(w,t,Rt)))),GS(E,Kc(E),E.value!==v)}i&&i(_)}let N=km(n,[...h.map(_=>Kc(_)||_),...f]),X=new oe({view:_=>{O(_),N.ensureReachable();let w=Ve.getState(_.state)?.undoManager,E=()=>{O(_),N.ensureReachable()};return w&&(w.on("stack-item-added",E),w.on("stack-item-popped",E)),{update:z=>{O(z),N.ensureReachable()},destroy:()=>{w&&(w.off("stack-item-added",E),w.off("stack-item-popped",E))}}}}),G=(_,w)=>w.startsWith("block_")?vm(_)===w.slice(6):QS(_,t,w);return{plugin:X,commands:g,focusStop:N.focusStop,isPressed:G}}function Om(n,e=t=>t){let t=n.marks,r=n.nodes;return{undo:Bp,redo:Lp,strong:e(Xn(t.strong)),em:e(Xn(t.em)),code:e(Xn(t.code),!0),bullet_list:Im(r.bullet_list,r.list_item),ordered_list:Im(r.ordered_list,r.list_item),blockquote:ZS(r.blockquote),select_all:Fc,clear_formatting:XS,block_paragraph:us(n,"paragraph"),"block_heading-1":us(n,"heading-1"),"block_heading-2":us(n,"heading-2"),"block_heading-3":us(n,"heading-3"),size_down:Nm(n,-1),size_up:Nm(n,1),indent:It(Qo(r.list_item),Yr(1)),outdent:It(as(r.list_item),Yr(-1)),...Object.fromEntries(Object.entries(Gc).map(([i,s])=>[i,Am(s)]))}}function XS(n,e){let{from:t,to:r,empty:i}=n.selection;if(i)return!1;if(e){let s=n.tr.removeMark(t,r,null);s.setBlockType(t,r,n.schema.nodes.paragraph),e(s.scrollIntoView())}return!0}function us(n,e){if(e==="paragraph")return Vc(n.nodes.paragraph);let t=Number(e.split("-")[1]);return Number.isInteger(t)?Vc(n.nodes.heading,{level:t}):()=>!1}function Nm(n,e){let t=[...xt].sort((r,i)=>r-i);return(r,i)=>{let s=t.indexOf(Hc(Rm(r,n,Rt))),o=t[s+e];if(s<0||o===void 0)return!1;let l=Yc(o);return l===void 0?!1:Xc(n,Rt,l)(r,i)}}function Xc(n,e,t){return(r,i)=>{let s=e.map(u=>n.marks[u]).filter(Boolean),o=t?n.marks[t]:null;if(t&&!o)return!1;if(!i)return!0;let{from:l,to:a,empty:c}=r.selection;if(c){let u=(r.storedMarks||r.selection.$from.marks()).filter(d=>!s.includes(d.type));return o&&(u=o.create().addToSet(u)),i(r.tr.setStoredMarks(u)),!0}let f=r.tr;for(let u of s)f.removeMark(l,a,u);return o&&f.addMark(l,a,o.create()),i(f),!0}}function Im(n,e){let t=$p(n),r=as(e);return(i,s,o)=>ds(i,n)?r(i,s,o):t(i,s,o)}function ZS(n){let e=Zp(n);return(t,r,i)=>ds(t,n)?Kp(t,r,i):e(t,r,i)}function ds(n,e){let t=n.selection.$from;for(let r=t.depth;r>0;r--)if(t.node(r).type===e)return!0;return!1}function QS(n,e,t){if(t.startsWith("align_"))return Mm(n)===t.slice(6);if(t==="bullet_list")return ds(n,e.nodes.bullet_list);if(t==="ordered_list")return ds(n,e.nodes.ordered_list);if(t==="blockquote")return ds(n,e.nodes.blockquote);let r=e.marks[t];return r?Zc(n,r):!1}function Zc(n,e){let{from:t,$from:r,to:i,empty:s}=n.selection;return s?!!e.isInSet(n.storedMarks||r.marks()):n.doc.rangeHasMark(t,i,e)}function vm(n){let e=n.selection.$from.parent;return e.type.name==="heading"?"heading-"+e.attrs.level:"paragraph"}function ek(n,e){let t=sl.filter(r=>{let i=e.marks[r];return i&&Zc(n,i)});return Dm(t)}function Rm(n,e,t){let r=[];for(let i of t){let s=e.marks[i];s&&Zc(n,s)&&r.push(i)}return r}var tk={print:()=>(window.print(),!0)};function tf(n){return n.querySelector("[estilo-menubar-menu][open]")}function nf(n){return Array.from(n.querySelectorAll("[estilo-menubar-title]"))}function Qc(n){return Array.from(n.querySelectorAll("[estilo-menu-item]")).filter(e=>!e.disabled)}function ef(n,e){for(let t of nf(n))Ze(t,"tabIndex",t===e?0:-1);e.focus()}function cl(n){let e=tf(n);e&&(e.open=!1)}function Bm(n,{getView:e,commands:t,extraCommands:r,isPressed:i,refocus:s=()=>!0}){if(!n)return null;let o=nf(n);if(!o.length)return null;for(let[f,u]of o.entries())Ze(u,"tabIndex",f===0?0:-1);let l={...tk,...r||{}};function a(f,u){let d=l[f];if(d){if(u){let g=u.closest("[estilo-menubar-menu]");if(g){let b=g.querySelector("[estilo-menubar-title]");b&&ef(n,b)}}return d()}let h=e();if(!h)return!1;let p=t[f];if(!p)return!1;let m=p(h.state,h.dispatch,h);return s()&&h.focus(),m}n.addEventListener("click",f=>{let u=f.target.closest("[estilo-menu-item]");if(!(!u||u.disabled)){if(!u.hasAttribute("data-docs-command")){cl(n);return}f.preventDefault(),a(u.getAttribute("data-docs-command"),u),cl(n)}}),n.addEventListener("keydown",f=>{let u=f.target.closest("[estilo-menubar-title]"),d=f.target.closest("[estilo-menu-item]"),h=tf(n);switch(f.key){case"ArrowRight":case"ArrowLeft":{let p=u||h&&h.querySelector("[estilo-menubar-title]");if(!p)return;f.preventDefault();let m=nf(n),g=m[(m.indexOf(p)+(f.key==="ArrowRight"?1:-1)+m.length)%m.length],b=!!h;cl(n),b&&(g.closest("[estilo-menubar-menu]").open=!0),ef(n,g);return}case"ArrowDown":case"ArrowUp":{if(u){f.preventDefault();let p=u.closest("[estilo-menubar-menu]");p.open=!0;let m=Qc(p);m.length&&m[f.key==="ArrowDown"?0:m.length-1].focus();return}if(d&&h){f.preventDefault();let p=Qc(h),m=p.indexOf(d);if(m<0||!p.length)return;p[(m+(f.key==="ArrowDown"?1:-1)+p.length)%p.length].focus()}return}case"Home":case"End":{if(!d||!h)return;f.preventDefault();let p=Qc(h);p.length&&p[f.key==="Home"?0:p.length-1].focus();return}case"Tab":cl(n)}}),n.addEventListener("pointerover",f=>{if(f.pointerType&&f.pointerType!=="mouse")return;let u=f.target.closest&&f.target.closest("[estilo-menubar-title]"),d=tf(n);if(!u||!d||d.contains(u))return;let h=u.closest("[estilo-menubar-menu]");h&&(h.open=!0,ef(n,u))});function c(f){for(let u of n.querySelectorAll("[estilo-menu-item][data-docs-command]")){let d=u.getAttribute("data-docs-command"),h=!1;if(u.hasAttribute("aria-pressed")&&i&&(h=!!i(d,f),Hr(u,"aria-pressed",h?"true":"false")),l[d]){Ze(u,"disabled",!1);continue}let p=t[d],m=!!(f&&p&&(h||p(f.state,null,f)));Ze(u,"disabled",!m)}}return{sync:c}}function rf(n,{since:e,raw:t}={}){let r=[];return e!==void 0&&r.push(`since=${e}`),t&&r.push("raw=1"),r.length?`${n}?${r.join("&")}`:n}function nk(n){let e=new Set,t=!1;return n&&typeof n.addEventListener=="function"&&(n.addEventListener("pagehide",()=>{t=!0;for(let r of[...e])r.leave()}),n.addEventListener("pageshow",r=>{let i=t&&r&&r.persisted;if(t=!1,i)for(let s of[...e])s.back()})),{get left(){return t},subscribe(r){return e.add(r),()=>e.delete(r)}}}var rk=nk(typeof window>"u"?null:window);function Lm({initialSeq:n=0,openStream:e,fetchSince:t,onUpdates:r,onError:i=()=>{},setTimeoutFn:s=setTimeout,clearTimeoutFn:o=clearTimeout,idleMs:l=12e4,hiddenMs:a=3e4,page:c=rk}){let f=n,u=null,d=null,h=!1,p=!1,m=!1;function g(w){d!==null&&o(d),d=s(()=>{d=null,O()},w)}function b(){g(l)}function O(){d!==null&&(o(d),d=null),u&&(u.close(),u=null)}function N(){h||u||c.left||(u=e(w=>{b(),w>f&&X()},w=>{O(),i(w)}),b())}async function X(){if(p){m=!0;return}p=!0;try{let w=f,E=await t(w);if(h)return;try{E&&E.bytes&&E.bytes.length&&await r(E.bytes)}catch{if(E=await t(w,{raw:!0}),h)return;E&&E.bytes&&E.bytes.length&&await r(E.bytes)}E&&typeof E.seq=="number"&&E.seq>f&&(f=E.seq)}catch(w){i(w)}finally{p=!1,m&&!h&&(m=!1,X())}}let G=null,_={leave:()=>O(),back:()=>{s(()=>{h||N()},0)}};return{start(){h=!1,G||(G=c.subscribe(_)),N()},stop(){h=!0,G&&G(),G=null,O()},noteOwnSeq(w){typeof w!="number"||!Number.isFinite(w)||w===f+1&&(f=w)},noteActivity(){h||(u?b():N())},noteHidden(){h||!u||g(a)},get cursor(){return f},get streaming(){return u!==null}}}var Pm=3e3;var Um=new Map([["code",Qn]]);function Fm(n){Um.clear();for(let[e,t]of n)Um.set(e,t)}function Vm(n){let e=()=>!0;return{web:!1,ready:e,loaded:e,committed:()=>!1,fallback:[],inUse:[],use(){},required:()=>[],markShown(){},shown:!0,previews:"system",previewsDone:Promise.resolve("system"),prepare:async()=>{},prepareRemote:async()=>{},waitFor:async()=>!0,load:async()=>!0,commitFallback:()=>!0,prefetch:async()=>{},fontsReady:Promise.resolve(),settled(){!n||n.getAttribute("data-docs-fonts")!=="pending"||(clearTimeout(globalThis.__docsFontsHold),n.setAttribute("data-docs-fonts","shown"),n.getAttribute("data-docs-previews")==="pending"&&n.setAttribute("data-docs-previews","system"))}}}function zm(n,{setTimer:e=setTimeout,clearTimer:t=clearTimeout}={}){if(!n)return{say(){},tell(){},clear(){},state:""};let r=n.querySelector("[docs-fonts-status-text]"),i=n.querySelector("[docs-fonts-status-dismiss]"),s=null,o=()=>n.getAttribute("data-state")||"";function l(a){a&&o()!==a||(t(s),n.removeAttribute("data-state"),r&&(r.textContent=""))}return i&&i.addEventListener("click",()=>l()),{say(a,c=0){t(s),n.setAttribute("data-state",a),r&&(r.textContent=n.getAttribute("data-"+a)||""),c&&(s=e(()=>l(a),c))},tell(a,c=0){t(s),n.setAttribute("data-state","notice"),r&&(r.textContent=a),c&&(s=e(()=>l("notice"),c))},clear:l,get state(){return o()}}}function $m(n={}){return new oe({view(e){return new sf(e,n)}})}var sf=class{constructor(e,t){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.lastDragEvent=null,this.width=(r=t.width)!==null&&r!==void 0?r:1,this.color=t.color===!1?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let s=o=>{this[i](o)};return e.dom.addEventListener(i,s),{name:i,handler:s}})}destroy(){this.setCursor(null),this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){if(this.cursorPos!=null&&t.doc!=e.state.doc)if(this.lastDragEvent){let r=this.computeTarget(this.lastDragEvent);r==this.cursorPos?this.updateOverlay():this.setCursor(r)}else this.updateOverlay()}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,r,i=this.editorView.dom,s=i.getBoundingClientRect(),o=s.width/i.offsetWidth,l=s.height/i.offsetHeight;if(t){let u=e.nodeBefore,d=e.nodeAfter;if(u||d){let h=this.editorView.nodeDOM(this.cursorPos-(u?u.nodeSize:0));if(h){let p=h.getBoundingClientRect(),m=u?p.bottom:p.top;u&&d&&(m=(m+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let g=this.width/2*l;r={left:p.left,right:p.right,top:m-g,bottom:m+g}}}}if(!r){let u=this.editorView.coordsAtPos(this.cursorPos),d=this.width/2*o;r={left:u.left-d,right:u.left+d,top:u.top,bottom:u.bottom}}let a=this.editorView.dom.offsetParent;this.element||(this.element=a.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",t),this.element.classList.toggle("prosemirror-dropcursor-inline",!t);let c,f;if(!a||a==document.body&&getComputedStyle(a).position=="static")c=-pageXOffset,f=-pageYOffset;else{let u=a.getBoundingClientRect(),d=u.width/a.offsetWidth,h=u.height/a.offsetHeight;c=u.left-a.scrollLeft*d,f=u.top-a.scrollTop*h}this.element.style.left=(r.left-c)/o+"px",this.element.style.top=(r.top-f)/l+"px",this.element.style.width=(r.right-r.left)/o+"px",this.element.style.height=(r.bottom-r.top)/l+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}computeTarget(e){let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),i=r&&r.type.spec.disableDropCursor,s=typeof i=="function"?i(this.editorView,t,e):i;if(!t||s)return null;let o=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let l=_o(this.editorView.state.doc,o,this.editorView.dragging.slice);l!=null&&(o=l)}return o}dragover(e){if(!this.editorView.editable)return;this.lastDragEvent=e;let t=this.computeTarget(e);t!=null&&(this.setCursor(t),this.scheduleRemoval(5e3))}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}};var jm=["image/png","image/jpeg","image/gif","image/webp"],Wm=jm.join(","),lf=8*1024*1024,af=4096,ik=/^[23456789abcdefghjkmnpqrstuvwxyz]{1,32}$/,sk=/^[0-9a-z]{16}$/;function qm(n,e){return`/d/${n}/images/${e}`}function Jm(n,e=""){if(typeof n!="string")return null;let t=n;e&&t.startsWith(e+"/")&&(t=t.slice(e.length));let r=/^\/d\/([^/]+)\/images\/([^/?#]+)$/.exec(t);return!r||!ik.test(r[1])||!sk.test(r[2])?null:{sqid:r[1],id:r[2]}}var Ym=/^data:image\/(png|jpeg|gif|webp)[;,]/i;function Hm(n,e){let t=Jm(n);return t?t.sqid===e?"own":null:typeof n=="string"&&Ym.test(n)?"data":null}function ok(n,{sqid:e,origin:t}){let r=Jm(n,t);return r?r.sqid===e?{kind:"own",src:qm(r.sqid,r.id)}:{kind:"copy",src:qm(r.sqid,r.id)}:typeof n=="string"&&Ym.test(n)?{kind:"data",src:n}:{kind:"other"}}function Km(n){return n.type==="image/svg+xml"||/\.svg$/i.test(n.name||"")?"svg":jm.includes(n.type)?n.type!=="image/jpeg"&&n.size>lf?"size":null:"type"}function Gm(n){if(n[0]!==255||n[1]!==216)return null;let e=1;for(let t=2;t+4<=n.length;){if(n[t]!==255)return null;let r=n[t+1],i=n[t+2]<<8|n[t+3];if(r===225&&(e=lk(n,t+4,t+2+i)??e),r>=192&&r<=207&&![196,200,204].includes(r)){let s=n[t+5]<<8|n[t+6];return{width:n[t+7]<<8|n[t+8],height:s,orientation:e}}t+=2+i}return null}function lk(n,e,t){if(String.fromCharCode(...n.slice(e,e+6))!=="Exif\0\0")return null;let i=e+6,s=n[i]===73,o=c=>s?n[c]|n[c+1]<<8:n[c]<<8|n[c+1],a=i+(c=>s?(n[c]|n[c+1]<<8|n[c+2]<<16)+n[c+3]*16777216:n[c]*16777216+(n[c+1]<<16|n[c+2]<<8|n[c+3]))(i+4);if(a+2>t)return null;for(let c=0;c<o(a);c++){let f=a+2+c*12;if(f+12>t)return null;if(o(f)===274)return o(f+8)}return null}function ul(n){return[...n&&n.files||[]].filter(e=>e.type.startsWith("image/")||/\.svg$/i.test(e.name||""))}function Xm(n){return[...n&&n.files||[]].length>0&&ul(n).length===0}function Zm(n){let e=n&&n.getData&&n.getData("text/html")||"",t=ul(n);if(e)return ak(e)?t:[];let r=(n&&n.getData&&n.getData("text/plain")||"").trim();if(!r||/^https?:\/\/[^\s]+$/.test(r))return t;let i=new Set(t.map(o=>o.name));return r.split(/\r?\n/).map(o=>o.trim()).filter(Boolean).every(o=>i.has(o))?t:[]}function ak(n){let e=n.replace(/<!--[^]*?-->/g,"").replace(/<\/?(?:html|head|body|meta)\b[^>]*>/gi,"").trim();return/^<img\b(?:"[^"]*"|'[^']*'|[^<>"'])*>$/i.test(e)}var of="\uE01F";function cf(n,e,t){let r=[],i=o=>{let l=[],a=!1;return o.forEach(c=>{if(c.type.name==="image"){let u=ok(c.attrs.src,t);if(u.kind==="own"){l.push(c.attrs.src===u.src?c:c.type.create({...c.attrs,src:u.src},null,c.marks)),a=a||c.attrs.src!==u.src;return}r.push({...u,alt:ff(c.attrs.alt||"")}),l.push(e.text(of,c.marks)),a=!0;return}if(c.isText||c.isLeaf){l.push(c);return}let f=i(c.content);a=a||f!==c.content,l.push(f===c.content?c:c.copy(f))}),a?k.fromArray(l):o},s=i(n.content);return{slice:s===n.content?n:new T(s,n.openStart,n.openEnd),taken:r}}function Qm(n,e,t,r){e=Math.max(0,e),t=Math.min(t,n.doc.content.size);let i=[];if(n.doc.nodesBetween(e,t,(s,o)=>{if(!s.isText)return!0;for(let l=s.text.indexOf(of);l>=0;l=s.text.indexOf(of,l+1))o+l>=e&&o+l<t&&i.push(o+l);return!1}),i.length!==r)return null;for(let s=i.length-1;s>=0;s--)n.delete(i[s],i[s]+1);return i.map((s,o)=>s-o)}var fl=500;function ff(n){let e=String(n||"").replace(/\s*[\r\n]+\s*/g," ").trim(),t=[...e];return t.length>fl?t.slice(0,fl).join("").trimEnd():e}function eg(n,e="image"){let t=/^data:(image\/(?:png|jpeg|gif|webp))(;base64)?,(.*)$/is.exec(n||"");if(!t)return null;let r;try{if(t[2]){let o=atob(t[3].replace(/\s+/g,""));r=new Uint8Array(o.length);for(let l=0;l<o.length;l++)r[l]=o.charCodeAt(l)}else r=new TextEncoder().encode(decodeURIComponent(t[3]))}catch{return null}let i=t[1].toLowerCase(),s=i.slice(6).replace("jpeg","jpg");return new File([r],`${e}.${s}`,{type:i})}function tg(n,e){let t=Math.max(0,Math.min(e,n.content.size)),r=n.resolve(t),i=r.parent;return i.inlineContent&&!i.type.spec.code?{pos:t,inline:!0}:i.isTextblock?{pos:r.after(),inline:!1}:{pos:t,inline:!1}}var Ke=new ot("docs-uploads");function rg(n){let e=t=>n&&n.getAttribute("data-"+t)||"";return(t,r={})=>e(t).replace(/\{(\w+)\}/g,(i,s)=>s in r?String(r[s]):i)}async function ck(n){if(n.type!=="image/jpeg"||typeof createImageBitmap!="function")return n;let e;try{e=Gm(new Uint8Array(await n.slice(0,256*1024).arrayBuffer()))}catch{return n}if(!e||Math.max(e.width,e.height)<=af)return n;let t=af/Math.max(e.width,e.height),r=e.orientation>=5,i=Math.round((r?e.height:e.width)*t),s=Math.round((r?e.width:e.height)*t);try{let o=await createImageBitmap(n,{imageOrientation:"from-image",resizeWidth:i,resizeHeight:s,resizeQuality:"high"}),l=document.createElement("canvas");l.width=o.width,l.height=o.height,l.getContext("2d").drawImage(o,0,0),o.close&&o.close();let a=await new Promise(c=>l.toBlob(c,"image/jpeg",.9));return a?new File([a],n.name,{type:"image/jpeg"}):n}catch{return n}}function ng(n,e,t,r=null){return new Promise(i=>{let s=new XMLHttpRequest;s.open("POST",n),s.setRequestHeader("Accept","application/json"),r&&s.setRequestHeader("Content-Type",r),s.responseType="json",t&&s.upload.addEventListener("progress",o=>{o.lengthComputable&&t(o.loaded/o.total)}),s.addEventListener("load",()=>i({status:s.status,json:s.response})),s.addEventListener("error",()=>i({status:0,json:null})),s.addEventListener("abort",()=>i({status:0,json:null})),s.send(e)})}var fk=0;function ig({sqid:n,t:e,getView:t,settled:r,notice:i,say:s,describe:o=null,origin:l=location.origin,enabled:a=!0}){let c=`/d/${n}/images`,f=`/d/${n}/images/copy`,u=new Map,d=new WeakSet,h=Promise.resolve();function p(y){let S=document.createElement("span");S.setAttribute("docs-upload",""),S.setAttribute("role","group"),S.setAttribute("aria-label",e("uploading",{name:y.name})),S.contentEditable="false";let A=document.createElement("span");A.setAttribute("docs-upload-name",""),A.textContent=y.name;let C=document.createElement("progress");C.max=1,C.value=0,C.setAttribute("aria-label",e("uploading",{name:y.name}));let I=document.createElement("span");I.setAttribute("docs-upload-why",""),I.hidden=!0;let P=document.createElement("span");return P.setAttribute("docs-upload-actions",""),S.append(A,C,I,P),{group:S,bar:C,why:I,actions:P}}function m(y,S,A={}){let C={id:`upload-${++fk}`,source:y,name:S||"image",alt:"",paste:!1,rel:null,binding:null,fallback:null,reply:null,dropped:!1,done:!1,...A};return C.dom=p(C),C}function g(y,S){let A=W.getState(y);return!A||!A.binding?null:{rel:Kt(S,A.type,A.binding.mapping),binding:A.binding}}function b(y,S){let A=W.getState(y);if(A&&A.binding&&S.rel)try{let C=Nt(A.doc,A.type,S.rel,A.binding.mapping);if(C!==null&&C>=0&&C<=y.doc.content.size)return C}catch{}return O(y.doc,S.fallback)}function O(y,S){if(!S)return null;let A=null;return y.descendants((C,I)=>{if(!C.isTextblock)return!0;if(C.textContent===S.text&&S.offset<=C.content.size){let P=I+1+S.offset;(!A||Math.abs(P-S.at)<Math.abs(A-S.at))&&(A=P)}return!1}),A}let N=new oe({key:Ke,state:{init:()=>({entries:new Map,moves:0}),apply(y,S,A,C){let I=y.getMeta(Ke)||{},P=!!y.getMeta(W),H=new Map;for(let[Z,re]of S.entries){if(re.upload.dropped||re.upload.done)continue;let fe=re.pos;P&&re.upload.rel?fe=b(C,re.upload):fe!==null&&y.docChanged&&(fe=y.mapping.map(fe,1)),H.set(Z,{upload:re.upload,pos:fe})}for(let{upload:Z,pos:re}of I.add||[])H.set(Z.id,{upload:Z,pos:Math.min(re,C.doc.content.size)});for(let Z of I.adopt||[])H.set(Z.id,{upload:Z,pos:b(C,Z)});for(let Z of I.remove||[])H.delete(Z);let ce=!P&&(y.selectionSet||y.docChanged);return{entries:H,moves:S.moves+(ce?1:0)}}},props:{decorations(y){let{entries:S}=Ke.getState(y);if(!S.size)return null;let A=y.doc.content.size;return ae.create(y.doc,[...S.values()].map(({upload:C,pos:I})=>Fe.widget(I===null?A:I,C.dom.group,{key:C.id,side:-1,ignoreSelection:!0})))}},view:()=>({update(y){let{entries:S}=Ke.getState(y.state);for(let{upload:A,pos:C}of S.values()){if(C===null)continue;let I=W.getState(y.state);if(I&&I.binding&&A.binding!==I.binding){let H=g(y.state,C);A.rel=H.rel,A.binding=H.binding}let P=y.state.doc.resolve(C);A.fallback={text:P.parent.textContent,offset:C-P.start(),at:C},u.has(A.id)||X(y,A)}}})});function X(y,S){if(u.set(S.id,S),S.moves=Ke.getState(y.state).moves,S.paste){let A=Ve.getState(y.state),C=A&&A.undoManager;if(C){let I=C.undoStack[C.undoStack.length-1]||null;S.pasteItem=I!==S.pasteBefore?I:null,d.has(C)||(d.add(C),C.on("stack-item-popped",P=>{if(P.type==="undo")for(let H of u.values())H.pasteItem&&H.pasteItem===P.stackItem&&_(H)}))}}h=h.then(()=>E(S)).catch(A=>console.error("images:",A))}function G(y){let S=t();S&&S.dispatch(S.state.tr.setMeta(Ke,y).setMeta("addToHistory",!1))}function _(y){y.dropped||y.done||(y.dropped=!0,u.delete(y.id),G({remove:[y.id]}))}function w(y){y.done=!0,u.delete(y.id)}async function E(y){if(y.dropped)return;let{group:S,bar:A,why:C,actions:I}=y.dom;if(S.setAttribute("docs-upload",""),S.setAttribute("aria-label",e("uploading",{name:y.name})),A.hidden=!1,A.value=0,C.hidden=!0,I.replaceChildren(),!y.reply){let P=await z(y);if(y.dropped)return;if(P.error)return et(y,P.error);y.reply=P.json}await ne(y)}async function z(y){let{source:S}=y,A=S.file;if(S.data&&(A=eg(S.data,y.name),!A))return{error:e("error-type")};let C;if(S.copy)C=await ng(f,JSON.stringify({src:S.copy}),null,"application/json");else{let I=Km(A);if(I)return{error:e("error-"+I)};let P=await ck(A);if(P.size>lf)return{error:e("error-size")};let H=new FormData;H.append("file",P,P.name||"image"),C=await ng(c,H,ce=>{y.dom.bar.value=ce})}return C.status===0?{error:e("error-offline")}:C.status!==200||!C.json||typeof C.json.src!="string"?{error:C.json&&typeof C.json.error=="string"&&C.json.error||e("error-failed")}:{json:C.json}}async function ne(y){await r();let S=t();if(!S||y.dropped)return;let A=Ke.getState(S.state).entries.get(y.id),{src:C,width:I,height:P}=y.reply,H=S.state.schema.nodes.image.create({src:C,alt:y.alt||null,width:I||null,height:P||null}),ce=W.getState(S.state),Z=A?A.pos:null;if(A&&A.pos!==null&&y.rel&&ce&&y.binding===ce.binding){let Zt=b(S.state,y);Zt!==null&&(Z=Zt)}let re=Z===null,fe=re?{pos:S.state.doc.content.size,inline:!1}:tg(S.state.doc,Z),dt=S.state.tr.setMeta(Ke,{remove:[y.id]}),Ge=fe.pos;try{fe.inline?dt=dt.insert(Ge,H):(dt=dt.insert(Ge,S.state.schema.nodes.paragraph.create(null,H)),Ge+=1)}catch{Ge=dt.doc.content.size,dt=S.state.tr.setMeta(Ke,{remove:[y.id]}).insert(Ge,S.state.schema.nodes.paragraph.create(null,H)),Ge+=1}let Gr=!re&&Ke.getState(S.state).moves===y.moves;S.dispatch(dt);let ue=t(),ht=ue===S&&S.state.doc.nodeAt(Ge);if(!(ue===S&&!Ke.getState(S.state).entries.has(y.id))&&(!ht||ht.type.name!=="image"||ht.attrs.src!==C))return et(y,e("error-failed"));w(y),re&&i(e("added-end")),Gr&&o&&!y.paste?(S.dispatch(S.state.tr.setSelection(F.near(S.state.doc.resolve(Ge+1)))),o(S,Ge,"upload")):s(e("added"))}function et(y,S){let{group:A,bar:C,why:I,actions:P}=y.dom;C.hidden=!0,I.hidden=!1,I.textContent=S,A.setAttribute("docs-upload","failed"),A.setAttribute("aria-label",e("not-uploaded",{name:y.name})),s(e("not-uploaded-why",{why:S})),P.replaceChildren();let H=(ce,Z)=>{let re=document.createElement("button");re.type="button",re.setAttribute("rst-btn",""),re.textContent=ce,re.addEventListener("mousedown",fe=>fe.preventDefault()),re.addEventListener("click",Z),P.append(re)};H(e("retry"),()=>E(y)),H(e("remove"),()=>{_(y);let ce=t();ce&&ce.focus()})}function v(y,S,A){if(!S.length)return;if(!a){i(e("error-off"));return}let C=S.map(I=>({upload:m({file:I},I.name),pos:A}));y.dispatch(y.state.tr.setMeta(Ke,{add:C}).setMeta("addToHistory",!1))}function j(y,S,A){let{slice:C,taken:I}=cf(S,y.state.schema,{sqid:n,origin:l});if(!I.length)return C===S?!1:(y.dispatch(y.state.tr.replaceSelection(C).scrollIntoView().setMeta("paste",A==="paste").setMeta("uiEvent",A)),!0);let{from:P,to:H}=y.state.selection,ce=Ve.getState(y.state),Z=ce&&ce.undoManager;Z&&Z.stopCapturing();let re=Z&&Z.undoStack[Z.undoStack.length-1]||null,fe=y.state.tr.replaceSelection(C),dt=fe.mapping.map(P,-1),Ge=fe.mapping.map(H,1),Gr=Qm(fe,dt,Ge,I.length)||I.map(()=>fe.selection.from),ue=[],ht=0;return I.forEach((St,Zt)=>{if(St.kind==="other"||!a){ht++;return}let dl=St.kind==="copy"?{copy:St.src}:{data:St.src},ms=m(dl,St.alt||"image",{alt:St.alt,paste:!0,pasteBefore:re});ue.push({upload:ms,pos:Gr[Zt]})}),ue.length&&fe.setMeta(Ke,{add:ue}),y.dispatch(fe.scrollIntoView().setMeta("paste",A==="paste").setMeta("uiEvent",A)),ht&&i(e(ht===1?"left-one":"left-other",{n:ht.toLocaleString(document.documentElement.lang||void 0)})),!0}let se=new oe({props:{handlePaste(y,S,A){let C=Zm(S.clipboardData);return C.length?(S.preventDefault(),v(y,C,y.state.selection.from),!0):j(y,A,"paste")},handleDrop(y,S,A,C){if(C)return!1;let I=S.dataTransfer;if(Xm(I))return S.preventDefault(),i(e("error-type")),!0;let P=ul(I);if(P.length&&!a)return S.preventDefault(),i(e("error-off")),!0;let H=y.posAtCoords({left:S.clientX,top:S.clientY}),ce=H?H.pos:y.state.selection.from;if(P.length)return S.preventDefault(),y.dispatch(y.state.tr.setSelection(F.near(y.state.doc.resolve(ce)))),v(y,P,y.state.selection.from),y.focus(),!0;if(!A||!A.size)return!1;let{taken:Z}=cf(A,y.state.schema,{sqid:n,origin:l});return Z.length?(S.preventDefault(),y.dispatch(y.state.tr.setSelection(F.near(y.state.doc.resolve(ce)))),j(y,A,"drop"),y.focus(),!0):!1}}});function ze(y,S,A){if(!a||!A||!A.editable)return!1;if(!S)return!0;let C=document.createElement("input");return C.type="file",C.accept=Wm,C.multiple=!0,C.hidden=!0,C.setAttribute("docs-image-input",""),C.addEventListener("change",()=>{let I=[...C.files];C.remove();let P=t();I.length&&P&&v(P,I,P.state.selection.from)}),C.addEventListener("cancel",()=>C.remove()),document.body.append(C),C.click(),!0}return{plugins:[se,N],insertImage:ze,remount(y){let S=[...u.values()].filter(A=>!A.dropped&&!A.done);S.length&&y.dispatch(y.state.tr.setMeta(Ke,{adopt:S}).setMeta("addToHistory",!1))},inFlight:()=>[...u.values()].filter(y=>!y.dropped&&!y.done).length}}var uk=2e3,dk=240,hk=120;function sg(n){let e=String(n??"");if(!/^\d{1,5}$/.test(e))return null;let t=Math.min(Number(e),1e4);return t>0?t:null}function ut(n,e={},t=""){let r=document.createElement(n);for(let[i,s]of Object.entries(e))r.setAttribute(i,s);return t&&(r.textContent=t),r}var wt=null,pk=0,og=new WeakMap;function hf(){wt&&wt.finish(!0,!1)}var uf=class{constructor(e,t,r,i){Object.assign(this,{node:e,view:t,getPos:r,ctx:i}),this.dom=ut("span",{"docs-image-frame":""}),og.set(this.dom,this),this.paint()}name(e){return e?this.ctx.t("name",{alt:e}):this.ctx.t("name-none")}paint(){this.dom.replaceChildren(),this.badge=null,this.img=null,this.retried=!1;let{src:e,alt:t}=this.node.attrs;if(!Hm(e,this.ctx.sqid))return this.missing();let r=ut("img",{src:e,alt:t||"",loading:"lazy",decoding:"async",draggable:"false"}),i=sg(this.node.attrs.width),s=sg(this.node.attrs.height);i&&r.setAttribute("width",String(i)),s&&r.setAttribute("height",String(s)),r.addEventListener("error",()=>{if(this.retried)return this.missing();this.retried=!0,setTimeout(()=>{this.img===r&&r.setAttribute("src",e+(e.startsWith("data:")?"":"?again=1"))},uk)}),this.img=r,this.dom.append(r),this.badge=ut("button",{type:"button","docs-alt-badge":""},this.ctx.t("alt-badge")),this.badge.addEventListener("mousedown",o=>o.preventDefault()),this.badge.addEventListener("click",o=>{o.preventDefault(),this.describe("badge")}),this.showAlt(),this.dom.append(this.badge,this.bubble())}missing(){this.img=null,this.badge=null;let e=ut("span",{"docs-image-missing":"",role:"img","aria-label":this.ctx.t("missing")});e.append(ut("span",{"docs-image-missing-text":""},this.ctx.t("missing"))),this.node.attrs.alt&&e.append(ut("span",{"docs-image-missing-alt":""},this.node.attrs.alt)),this.dom.replaceChildren(e)}showAlt(){if(!this.badge)return;let e=this.node.attrs.alt;this.badge.setAttribute("docs-alt-badge",e?"set":"missing"),this.badge.setAttribute("aria-label",e?this.ctx.t("alt-edit",{alt:e}):this.ctx.t("alt-add")),this.badge.tabIndex=e?-1:0,this.img&&this.img.setAttribute("alt",e||"")}bubble(){let e=ut("span",{"docs-image-bubble":"",role:"group","aria-label":this.ctx.t("bubble")}),t=ut("button",{type:"button","rst-btn":""},this.ctx.t("alt-text"));if(t.addEventListener("mousedown",r=>r.preventDefault()),t.addEventListener("click",()=>this.describe("bubble")),e.append(t),!this.node.attrs.src.startsWith("data:")){let r=ut("a",{href:this.node.attrs.src,target:"_blank",rel:"noopener","rst-btn":""},this.ctx.t("open"));e.append(r)}return e}describe(e){if(e==="badge"&&wt&&wt.frame===this.dom){wt.finish(!0,!0);return}hf(),!(!this.img||!this.dom.isConnected)&&(wt=new df(this,e))}update(e){if(e.type!==this.node.type||e.attrs.src!==this.node.attrs.src)return!1;let t=this.node;return this.node=e,t.attrs.width!==e.attrs.width||t.attrs.height!==e.attrs.height?(this.dom.hasAttribute("docs-alt-open")||this.paint(),!0):(t.attrs.alt!==e.attrs.alt&&(this.img?this.showAlt():this.missing()),!0)}selectNode(){this.dom.setAttribute("docs-image-selected","")}deselectNode(){this.dom.removeAttribute("docs-image-selected")}stopEvent(e){return!!(e.target&&e.target.closest&&e.target.closest("[docs-alt-badge], [docs-image-bubble], [docs-alt]"))}ignoreMutation(){return!0}destroy(){if(wt&&wt.frame===this.dom){let e=wt;queueMicrotask(()=>e.finish(!0,!1))}}},df=class{constructor(e,t){let{view:r,dom:i,ctx:s}=e;Object.assign(this,{view:r,frame:i,ctx:s,from:t,closed:!1,imageView:e}),this.pos=e.getPos(),this.src=e.node.attrs.src,this.before=e.node.attrs.alt||"";let o=i.getBoundingClientRect();this.inset=o.width>=dk&&o.height>=hk;let l=ut("span",{"docs-alt":this.inset?"inset":"popover"}),a=`docs-alt-${++pk}`,c=ut("label",{for:a},s.t("alt-label")),f=ut("textarea",{id:a,rows:"1",autocomplete:"off",enterkeyhint:"done",maxlength:String(fl)});f.value=this.before,l.append(c,f),Object.assign(this,{wrap:l,text:f}),f.addEventListener("keydown",u=>this.key(u)),l.addEventListener("mousedown",u=>{u.target!==f&&(u.preventDefault(),f.focus({preventScroll:!0}))}),f.addEventListener("input",()=>{let u=f.value.replace(/[ \t]*\r?\n[ \t]*/g," ");u!==f.value&&(f.value=u)}),f.addEventListener("blur",()=>{document.hasFocus()&&setTimeout(()=>{document.activeElement!==f&&this.finish(!0,!1)},0)}),i.append(l),i.setAttribute("docs-alt-open",""),f.focus({preventScroll:!0}),f.setSelectionRange(f.value.length,f.value.length),l.scrollIntoView&&l.scrollIntoView({block:"nearest"})}key(e){e.isComposing||e.keyCode===229||(e.key==="Enter"||e.key==="Tab"?(e.preventDefault(),this.finish(!0,!0)):e.key==="Escape"&&(e.preventDefault(),e.stopPropagation(),this.finish(!1,!0)))}place(){let{doc:e}=this.view.state,t=i=>typeof i=="number"&&i>=0&&i<e.content.size&&e.nodeAt(i)&&e.nodeAt(i).type.name==="image"&&e.nodeAt(i).attrs.src===this.src;if(t(this.pos))return this.pos;let r=null;try{r=this.imageView.getPos()}catch{r=null}return t(r)||(r=null,e.descendants((i,s)=>(r===null&&i.type.name==="image"&&i.attrs.src===this.src&&(r=s),r===null))),r}finish(e,t){if(this.closed)return;this.closed=!0,wt===this&&(wt=null),this.wrap.remove(),this.frame.removeAttribute("docs-alt-open");let r=this.place(),i=ff(this.text.value),s=e&&r!==null&&i!==this.before;if(s&&this.view.dispatch(this.view.state.tr.setNodeAttribute(r,"alt",i||null)),s&&this.ctx.say(i?this.ctx.t("name",{alt:i}):this.ctx.t("name-none")),!t)return;let o=this.place();if(this.from==="badge"){let l=o===null?null:this.view.nodeDOM(o),a=l&&l.querySelector&&l.querySelector("[docs-alt-badge]");if(a){a.focus();return}}if(o!==null){let l=this.from==="upload"?F.near(this.view.state.doc.resolve(o+1)):B.create(this.view.state.doc,o);this.view.dispatch(this.view.state.tr.setSelection(l))}this.view.focus()}};function lg(n){return{image:(e,t,r)=>new uf(e,t,r,n)}}function ag(n,e,t){let r=n.nodeDOM(e),i=r&&og.get(r);i&&i.describe(t)}var mk=["p",0],gk=["blockquote",0],yk=["hr"],bk=["pre",["code",0]],xk=["br"],wk={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return mk}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return gk}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return yk}},heading:{attrs:{level:{default:1,validate:"number"}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(n){return["h"+n.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return bk}},text:{group:"inline"},image:{inline:!0,attrs:{src:{validate:"string"},alt:{default:null,validate:"string|null"},title:{default:null,validate:"string|null"}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(n){return{src:n.getAttribute("src"),title:n.getAttribute("title"),alt:n.getAttribute("alt")}}}],toDOM(n){let{src:e,alt:t,title:r}=n.attrs;return["img",{src:e,alt:t,title:r}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return xk}}},Sk=["em",0],kk=["strong",0],Ck=["code",0],Ek={link:{attrs:{href:{validate:"string"},title:{default:null,validate:"string|null"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(n){return{href:n.getAttribute("href"),title:n.getAttribute("title")}}}],toDOM(n){let{href:e,title:t}=n.attrs;return["a",{href:e,title:t},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:n=>n.type.name=="em"}],toDOM(){return Sk}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:n=>n.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:n=>n.type.name=="strong"},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}],toDOM(){return kk}},code:{code:!0,parseDOM:[{tag:"code"}],toDOM(){return Ck}}},er=new vr({nodes:wk,marks:Ek});function cg(n,e){return{group:e,excludes:e,parseDOM:[{tag:"span."+n}],toDOM:()=>["span",{class:n},0]}}var Ak=Rt.reduce((n,e)=>n.addToStart(e,cg("docs-"+e.replace("_","-"),"fontSize")),er.spec.marks),Mk=[..._t].reverse().reduce((n,e)=>{let t=cg("docs-font-"+e.key,"fontFamily");return e.key!==Qe?t.parseDOM=[...t.parseDOM,{style:"font-family",getAttrs:r=>ol(r)===e.key?null:!1}]:t.parseDOM=[...t.parseDOM,{style:"font-family",getAttrs:r=>ol(r)===Qe||ol(r)===null?null:!1,clearMark:r=>r.type.spec.group==="fontFamily"}],n.addToStart("font_"+e.key,t)},Ak);function Tk(n){let e=(t,r)=>{let i=t.getAttribute(r);return i&&/^\d{1,5}$/.test(i)&&Number(i)>0?Math.min(Number(i),1e4):null};return{...n,attrs:{...n.attrs,width:{default:null},height:{default:null}},parseDOM:[{tag:"img[src]",getAttrs:t=>({src:t.getAttribute("src"),alt:t.getAttribute("alt"),title:t.getAttribute("title"),width:e(t,"width"),height:e(t,"height")})}],toDOM(t){let{src:r,alt:i,title:s,width:o,height:l}=t.attrs;return["img",{src:r,alt:i,title:s,width:o,height:l}]}}}var Dk=zp(er.spec.nodes.update("paragraph",qc(Em(er.spec.nodes.get("paragraph")),"p")).update("heading",qc(er.spec.nodes.get("heading"),"h1")).update("hard_break",xm(er.spec.nodes.get("hard_break"))).update("image",Tk(er.spec.nodes.get("image"))),"paragraph block*","block"),Te=new vr({nodes:Dk,marks:Mk});function Kr(n){let e=n.name||n;if(typeof e=="string"&&e.startsWith("font_"))return e.slice(5);let t=typeof n=="string"?Te.marks[n]:n;return t&&t.spec.code?Qn:null}function hs(n){let e=typeof n=="string"?Te.nodes[n]:n;return e&&e.spec.code?Qn:null}function fg(n,e=new Set([Qe])){return n.descendants(t=>{let r=hs(t.type);r&&e.add(r);for(let i of t.marks){let s=Kr(i.type);s&&e.add(s)}}),e}var Bt=new ot("docs-kept-selection"),Nk=new oe({key:Bt,state:{init:()=>!1,apply:(n,e)=>{let t=n.getMeta(Bt);return t===void 0?e:t}},props:{decorations(n){if(!Bt.getState(n))return null;let{from:e,to:t,empty:r}=n.selection;return r?ae.create(n.doc,[Fe.widget(e,()=>{let i=document.createElement("span");return i.setAttribute("data-docs-kept-caret",""),i},{side:1})]):ae.create(n.doc,[Fe.inline(e,t,{"data-docs-kept":""})])}}});function Ik(n){let{anchor:e,head:t,from:r,to:i}=n.state.selection,s=n.state.doc,o=s.resolve(e),l=s.resolve(t),a={at:{anchor:e,head:t},rel:null,text:s.textBetween(r,i,`
+`).scrollIntoView()),!0)};function Pc(n){for(let e=0;e<n.edgeCount;e++){let{type:t}=n.edge(e);if(t.isTextblock&&!t.hasRequiredAttrs())return t}return null}var pS=(n,e)=>{let{$head:t,$anchor:r}=n.selection;if(!t.parent.type.spec.code||!t.sameParent(r))return!1;let i=t.node(-1),s=t.indexAfter(-1),o=Pc(i.contentMatchAt(s));if(!o||!i.canReplaceWith(s,s,o))return!1;if(e){let l=t.after(),a=n.tr.replaceWith(l,l,o.createAndFill());a.setSelection(q.near(a.doc.resolve(l),1)),e(a.scrollIntoView())}return!0},mS=(n,e)=>{let t=n.selection,{$from:r,$to:i}=t;if(t instanceof Le||r.parent.inlineContent||i.parent.inlineContent)return!1;let s=Pc(i.parent.contentMatchAt(i.indexAfter()));if(!s||!s.isTextblock)return!1;if(e){let o=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,l=n.tr.insert(o,s.createAndFill());l.setSelection(F.create(l.doc,o+1)),e(l.scrollIntoView())}return!0},gS=(n,e)=>{let{$cursor:t}=n.selection;if(!t||t.parent.content.size)return!1;if(t.depth>1&&t.after()!=t.end(-1)){let s=t.before();if(dn(n.doc,s))return e&&e(n.tr.split(s).scrollIntoView()),!0}let r=t.blockRange(),i=r&&Fn(r);return i==null?!1:(e&&e(n.tr.lift(r,i).scrollIntoView()),!0)};function yS(n){return(e,t)=>{if(e.selection instanceof B&&e.selection.node.isBlock){let{$from:h}=e.selection;return!h.parentOffset||!dn(e.doc,h.pos)?!1:(t&&t(e.tr.split(h.pos).scrollIntoView()),!0)}if(!e.selection.$from.depth)return!1;let r=e.tr;!e.selection.empty&&(e.selection instanceof F||e.selection instanceof Le)&&r.deleteSelection();let{$from:i}=r.selection,s=r.steps.length,o=[],l,a,c=!1,f=!1;for(let h=i.depth;;h--)if(i.node(h).isBlock){c=i.end(h)==i.pos+(i.depth-h),f=i.start(h)==i.pos-(i.depth-h),a=Pc(i.node(h-1).contentMatchAt(i.indexAfter(h-1)));let m=n&&n(i.parent,c,i);o.unshift(m||(c&&a?{type:a}:null)),l=h;break}else{if(h==1)return!1;o.unshift(null)}let u=i.pos,d=dn(r.doc,u,o.length,o);if(d||(o[0]=a?{type:a}:null,d=dn(r.doc,u,o.length,o)),!d)return!1;if(r.split(u,o.length,o),!c&&f&&i.node(l).type!=a){let h=r.mapping.slice(s),p=h.map(i.before(l)),m=r.doc.resolve(p);a&&i.node(l-1).canReplaceWith(m.index(),m.index()+1,a)&&r.setNodeMarkup(h.map(i.before(l)),a)}return t&&t(r.scrollIntoView()),!0}}var bS=yS();var Fc=(n,e)=>(e&&e(n.tr.setSelection(new Le(n.doc))),!0);function xS(n,e,t){let r=e.nodeBefore,i=e.nodeAfter,s=e.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&e.parent.canReplace(s-1,s)?(t&&t(n.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(s,s+1)||!(i.isTextblock||Vn(n.doc,e.pos))?!1:(t&&t(n.tr.join(e.pos).scrollIntoView()),!0)}function Gp(n,e,t,r){let i=e.nodeBefore,s=e.nodeAfter,o,l,a=i.type.spec.isolating||s.type.spec.isolating;if(!a&&xS(n,e,t))return!0;let c=!a&&e.parent.canReplace(e.index(),e.index()+1);if(c&&(o=(l=i.contentMatchAt(i.childCount)).findWrapping(s.type))&&l.matchType(o[0]||s.type).validEnd){if(t){let h=e.pos+s.nodeSize,p=k.empty;for(let b=o.length-1;b>=0;b--)p=k.from(o[b].create(null,p));p=k.from(i.copy(p));let m=n.tr.step(new Se(e.pos-1,h,e.pos,h,new T(p,1,0),o.length,!0)),g=m.doc.resolve(h+2*o.length);g.nodeAfter&&g.nodeAfter.type==i.type&&Vn(m.doc,g.pos)&&m.join(g.pos),t(m.scrollIntoView())}return!0}let f=s.type.spec.isolating||r>0&&a?null:q.findFrom(e,1),u=f&&f.$from.blockRange(f.$to),d=u&&Fn(u);if(d!=null&&d>=e.depth)return t&&t(n.tr.lift(u,d).scrollIntoView()),!0;if(c&&Jr(s,"start",!0)&&Jr(i,"end")){let h=i,p=[];for(;p.push(h),!h.isTextblock;)h=h.lastChild;let m=s,g=1;for(;!m.isTextblock;m=m.firstChild)g++;if(h.canReplace(h.childCount,h.childCount,m.content)){if(t){let b=k.empty;for(let N=p.length-1;N>=0;N--)b=k.from(p[N].copy(b));let O=n.tr.step(new Se(e.pos-p.length,e.pos+s.nodeSize,e.pos+g,e.pos+s.nodeSize-g,new T(b,p.length,0),0,!0));t(O.scrollIntoView())}return!0}}return!1}function Xp(n){return function(e,t){let r=e.selection,i=n<0?r.$from:r.$to,s=i.depth;for(;i.node(s).isInline;){if(!s)return!1;s--}return i.node(s).isTextblock?(t&&t(e.tr.setSelection(F.create(e.doc,n<0?i.start(s):i.end(s)))),!0):!1}}var wS=Xp(-1),SS=Xp(1);function Zp(n,e=null){return function(t,r){let{$from:i,$to:s}=t.selection,o=i.blockRange(s),l=o&&Br(o,n,e);return l?(r&&r(t.tr.wrap(o,l).scrollIntoView()),!0):!1}}function Vc(n,e=null){return function(t,r){let i=!1;for(let s=0;s<t.selection.ranges.length&&!i;s++){let{$from:{pos:o},$to:{pos:l}}=t.selection.ranges[s];t.doc.nodesBetween(o,l,(a,c)=>{if(i)return!1;if(!(!a.isTextblock||a.hasMarkup(n,e)))if(a.type==n)i=!0;else{let f=t.doc.resolve(c),u=f.index();i=f.parent.canReplaceWith(u,u+1,n)}})}if(!i)return!1;if(r){let s=t.tr;for(let o=0;o<t.selection.ranges.length;o++){let{$from:{pos:l},$to:{pos:a}}=t.selection.ranges[o];s.setBlockType(l,a,n,e)}r(s.scrollIntoView())}return!0}}function kS(n,e,t,r){for(let i=0;i<e.length;i++){let{$from:s,$to:o}=e[i],l=s.depth==0?n.inlineContent&&n.type.allowsMarkType(t):!1;if(n.nodesBetween(s.pos,o.pos,(a,c)=>{if(l||!r&&a.isAtom&&a.isInline&&c>=s.pos&&c+a.nodeSize<=o.pos)return!1;l=a.inlineContent&&a.type.allowsMarkType(t)}),l)return!0}return!1}function CS(n){let e=[];for(let t=0;t<n.length;t++){let{$from:r,$to:i}=n[t];r.doc.nodesBetween(r.pos,i.pos,(s,o)=>{if(s.isAtom&&s.content.size&&s.isInline&&o>=r.pos&&o+s.nodeSize<=i.pos)return o+1>r.pos&&e.push(new Ur(r,r.doc.resolve(o+1))),r=r.doc.resolve(o+1+s.content.size),!1}),r.pos<i.pos&&e.push(new Ur(r,i))}return e}function Xn(n,e=null,t){let r=(t&&t.removeWhenPresent)!==!1,i=(t&&t.enterInlineAtoms)!==!1,s=!(t&&t.includeWhitespace);return function(o,l){let{empty:a,$cursor:c,ranges:f}=o.selection;if(a&&!c||!kS(o.doc,f,n,i))return!1;if(l)if(c)n.isInSet(o.storedMarks||c.marks())?l(o.tr.removeStoredMark(n)):l(o.tr.addStoredMark(n.create(e)));else{let u,d=o.tr;i||(f=CS(f)),r?u=!f.some(h=>o.doc.rangeHasMark(h.$from.pos,h.$to.pos,n)):u=!f.every(h=>{let p=!1;return d.doc.nodesBetween(h.$from.pos,h.$to.pos,(m,g,b)=>{if(p)return!1;p=!n.isInSet(m.marks)&&!!b&&b.type.allowsMarkType(n)&&!(m.isText&&/^\s*$/.test(m.textBetween(Math.max(0,h.$from.pos-g),Math.min(m.nodeSize,h.$to.pos-g))))}),!p});for(let h=0;h<f.length;h++){let{$from:p,$to:m}=f[h];if(!u)d.removeMark(p.pos,m.pos,n);else{let g=p.pos,b=m.pos,O=p.nodeAfter,N=m.nodeBefore,X=s&&O&&O.isText?/^\s*/.exec(O.text)[0].length:0,G=s&&N&&N.isText?/\s*$/.exec(N.text)[0].length:0;g+X<b&&(g+=X,b-=G),d.addMark(g,b,n.create(e))}}l(d.scrollIntoView())}return!0}}function It(...n){return function(e,t,r){for(let i=0;i<n.length;i++)if(n[i](e,t,r))return!0;return!1}}var Uc=It(Jp,aS,cS),Wp=It(Jp,uS,dS),Xt={Enter:It(hS,mS,gS,bS),"Mod-Enter":pS,Backspace:Uc,"Mod-Backspace":Uc,"Shift-Backspace":Uc,Delete:Wp,"Mod-Delete":Wp,"Mod-a":Fc},Qp={"Ctrl-h":Xt.Backspace,"Alt-Backspace":Xt["Mod-Backspace"],"Ctrl-d":Xt.Delete,"Ctrl-Alt-Backspace":Xt["Mod-Delete"],"Alt-Delete":Xt["Mod-Delete"],"Alt-d":Xt["Mod-Delete"],"Ctrl-a":wS,"Ctrl-e":SS};for(let n in Xt)Qp[n]=Xt[n];var ES=typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform?os.platform()=="darwin":!1,zc=ES?Qp:Xt;function AS(n){let e=$c(n);return e?"docs-indent-"+e:null}function $c(n){if(typeof n!="number"&&(typeof n!="string"||!/^\d+$/.test(n)))return 0;let e=Number(n);return!Number.isInteger(e)||e<1?0:Math.min(e,8)}function MS(n){for(let e of n){if(!e.startsWith("docs-indent-"))continue;let t=$c(e.slice(12));if(t)return t}return null}function qc(n,e){let t=n.parseDOM||[{tag:e}];return{...n,attrs:{...n.attrs||{},indent:{default:null}},parseDOM:t.map(r=>({...r,getAttrs:i=>{let s=r.getAttrs?r.getAttrs(i):{};return s===!1?!1:{...s||{},indent:MS(Array.from(i.classList||[]))}}})),toDOM:r=>{let i=n.toDOM?n.toDOM(r):[e,0],s=AS(r.attrs.indent);if(!s)return i;let[o,l,...a]=i;if(l&&typeof l=="object"&&!Array.isArray(l)){let c={...l,class:l.class?l.class+" "+s:s};return[o,c,...a]}return[o,{class:s},l,...a]}}}function Yr(n){return(e,t)=>{let{from:r,to:i}=e.selection,s=!1,o=e.tr;return e.doc.nodesBetween(r,i,(l,a)=>{if(!l.type.isTextblock||!l.type.spec.attrs||!l.type.spec.attrs.indent)return;let c=$c(l.attrs.indent),f=Math.max(0,Math.min(8,c+n));f!==c&&(s=!0,t&&o.setNodeMarkup(a,null,{...l.attrs,indent:f===0?null:f}))}),s?(t&&t(o),!0):!1}}var vt=class{constructor(e,t,r={}){this.match=e,this.match=e,this.handler=typeof t=="string"?TS(t):t,this.undoable=r.undoable!==!1,this.inCode=r.inCode||!1,this.inCodeMark=r.inCodeMark!==!1}};function TS(n){return function(e,t,r,i){let s=n;if(t[1]){let o=t[0].lastIndexOf(t[1]);s+=t[0].slice(o+t[1].length),r+=o;let l=r-i;l>0&&(s=t[0].slice(o-l,o)+s,r=i)}return e.tr.insertText(s,r,i)}}var DS=500;function tm({rules:n}){let e=new oe({state:{init(){return null},apply(t,r){let i=t.getMeta(this);return i||(t.selectionSet||t.docChanged?null:r)}},props:{handleTextInput(t,r,i,s){return em(t,r,i,s,n,e)},handleDOMEvents:{compositionend:t=>{setTimeout(()=>{let{$cursor:r}=t.state.selection;r&&em(t,r.pos,r.pos,"",n,e)})}}},isInputRules:!0});return e}function em(n,e,t,r,i,s){if(n.composing)return!1;let o=n.state,l=o.doc.resolve(e),a=l.parent.textBetween(Math.max(0,l.parentOffset-DS),l.parentOffset,null,"\uFFFC")+r;for(let c=0;c<i.length;c++){let f=i[c];if(!f.inCodeMark&&l.marks().some(p=>p.type.spec.code))continue;if(l.parent.type.spec.code){if(!f.inCode)continue}else if(f.inCode==="only")continue;let u=f.match.exec(a);if(!u||u[0].length<r.length)continue;let d=e-(u[0].length-r.length);if(!f.inCodeMark){let p=!1;if(o.doc.nodesBetween(d,l.pos,m=>{m.isInline&&m.marks.some(g=>g.type.spec.code)&&(p=!0)}),p)continue}let h=f.handler(o,u,d,t);if(h)return f.undoable&&h.setMeta(s,{transform:h,from:e,to:t,text:r}),n.dispatch(h),!0}return!1}var nm=(n,e)=>{let t=n.plugins;for(let r=0;r<t.length;r++){let i=t[r],s;if(i.spec.isInputRules&&(s=i.getState(n))){if(e){let o=n.tr,l=s.transform;for(let a=l.steps.length-1;a>=0;a--)o.step(l.steps[a].invert(l.docs[a]));if(s.text){let a=o.doc.resolve(s.from).marks();o.replaceWith(s.from,s.to,n.schema.text(s.text,a))}else o.delete(s.from,s.to);e(o)}return!0}}return!1},eE=new vt(/--$/,"\u2014",{inCodeMark:!1}),tE=new vt(/\.\.\.$/,"\u2026",{inCodeMark:!1}),nE=new vt(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"\u201C",{inCodeMark:!1}),rE=new vt(/"$/,"\u201D",{inCodeMark:!1}),iE=new vt(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"\u2018",{inCodeMark:!1}),sE=new vt(/'$/,"\u2019",{inCodeMark:!1});function nl(n,e,t=null,r){return new vt(n,(i,s,o,l)=>{let a=t instanceof Function?t(s):t,c=i.tr.delete(o,l),f=c.doc.resolve(o),u=f.blockRange(),d=u&&Br(u,e,a);if(!d)return null;c.wrap(u,d);let h=c.doc.resolve(o-1).nodeBefore;return h&&h.type==e&&Vn(c.doc,o-1)&&(!r||r(s,h))&&c.join(o-1),c})}function rm(n,e,t=null){return new vt(n,(r,i,s,o)=>{let l=r.doc.resolve(s),a=t instanceof Function?t(i):t;return l.node(-1).canReplaceWith(l.index(-1),l.indexAfter(-1),e)?r.tr.delete(s,o).setBlockType(s,s,e,a):null})}var OS=/^\s*([-+*])\s$/,NS=/^(\d+)\.\s$/,IS=/^\s*>\s$/,vS=/^(#{1,3})\s$/;function im(n){let e=[],{bullet_list:t,ordered_list:r,blockquote:i,heading:s}=n.nodes;return t&&e.push(nl(OS,t)),r&&e.push(nl(NS,r)),i&&e.push(nl(IS,i)),s&&e.push(rm(vS,s,o=>({level:o[1].length}))),tm({rules:e})}var cs=new ot("docs-pages"),_S=864,Zn="paged",fs="infinite",RS="docs-view";function sm(n){document.cookie=`${RS}=${n}; Path=/; Max-Age=31536000; SameSite=Lax`}function BS(n){let e=[],t=n.state.doc,r=null;return t.forEach((i,s)=>{let o=n.nodeDOM(s);if(!o||!o.getBoundingClientRect)return;let l=o.getBoundingClientRect();if(l.height!==0){if(r===null){r=l.top;return}l.bottom-r>_S&&(e.push(s),r=l.top)}}),e}function om({getMode:n,pageLabel:e}){return new oe({key:cs,state:{init:()=>({positions:[],deco:ae.empty}),apply(t,r,i,s){let o=t.getMeta(cs);if(!o)return{positions:r.positions,deco:r.deco.map(t.mapping,t.doc)};let l=o.positions.map((a,c)=>Fe.widget(a,()=>LS(c+2,e),{side:-1,ignoreSelection:!0}));return{positions:o.positions,deco:ae.create(s.doc,l)}}},props:{decorations(t){return n()!==Zn?ae.empty:cs.getState(t).deco}},view(t){let r=0,i="",s=()=>{if(r=0,n()!==Zn){i!==""&&(i="",t.dispatch(t.state.tr.setMeta(cs,{positions:[]})));return}let a=BS(t),c=a.join(",");c!==i&&(i=c,t.dispatch(t.state.tr.setMeta(cs,{positions:a})))},o=()=>{r||(r=requestAnimationFrame(s))},l=typeof ResizeObserver=="function"?new ResizeObserver(o):null;return l&&l.observe(t.dom),o(),{update:o,destroy(){r&&cancelAnimationFrame(r),l&&l.disconnect()}}}})}function LS(n,e){let t=document.createElement("div");t.setAttribute("docs-page-gap",""),t.setAttribute("contenteditable","false"),t.setAttribute("aria-hidden","true");let r=document.createElement("span");return r.setAttribute("docs-page-number",""),r.textContent=e?e.replace("{n}",String(n)):String(n),t.appendChild(r),t}var lm=typeof Intl<"u"&&typeof Intl.Segmenter=="function"?new Intl.Segmenter(void 0,{granularity:"word"}):null;function am(n){if(!n)return 0;if(lm){let t=0;for(let r of lm.segment(n))r.isWordLike&&t++;return t}let e=n.trim().split(/\s+/);return e.length===1&&e[0]===""?0:e.length}function cm(n){let e=[];return n.descendants(t=>{t.isText?e.push(t.text):t.isBlock&&e.length&&e.push(" ")}),e.join("")}function US(n){let e=cm(n.doc),{from:t,to:r,empty:i}=n.selection,s=0;n.doc.forEach(l=>{(l.isTextblock||l.type.name.endsWith("_list")||l.type.name==="blockquote")&&s++});let o=i?null:cm(n.doc.cut(t,r));return{words:am(e),characters:e.length,charactersNoSpaces:e.replace(/\s/g,"").length,paragraphs:s,selection:o===null?null:{words:am(o),characters:o.length}}}function fm(n,{getView:e}){if(!n||typeof n.showModal!="function")return null;let t={words:n.querySelector("[docs-count-words]"),characters:n.querySelector("[docs-count-characters]"),charactersNoSpaces:n.querySelector("[docs-count-characters-nospaces]"),paragraphs:n.querySelector("[docs-count-paragraphs]"),selection:n.querySelector("[docs-count-selection]"),selectionWords:n.querySelector("[docs-count-selection-words]")};return()=>{let r=e();if(!r)return!1;let i=US(r.state);return t.words&&(t.words.textContent=String(i.words)),t.characters&&(t.characters.textContent=String(i.characters)),t.charactersNoSpaces&&(t.charactersNoSpaces.textContent=String(i.charactersNoSpaces)),t.paragraphs&&(t.paragraphs.textContent=String(i.paragraphs)),t.selection&&(t.selection.hidden=i.selection===null),t.selectionWords&&i.selection&&(t.selectionWords.textContent=String(i.selection.words)),n.showModal(),!0}}function PS(n){let e=[];if(!n)return e;for(let t of n.querySelectorAll("[estilo-menubar-menu]")){let r=t.querySelector("[estilo-menubar-title]"),i=r?r.textContent.trim():"";for(let s of t.querySelectorAll("[estilo-menu-item]")){let o=s.getAttribute("data-docs-shortcut");if(!o)continue;let l=s.querySelector("[estilo-menu-label]"),a=(l?l.textContent:s.textContent).trim().replace(/…$/,"");e.push({group:i,label:a,keys:o})}}return e}function um(n,{menubar:e,extraRows:t}){if(!n||typeof n.showModal!="function")return null;let r=n.querySelector("[docs-shortcuts-body]");return r?()=>{let i=[...PS(e),...t||[]];r.textContent="";let s=null;for(let o of i){if(o.group&&o.group!==s){s=o.group;let f=document.createElement("h3");f.setAttribute("docs-shortcuts-group",""),f.textContent=s,r.appendChild(f)}let l=document.createElement("div");l.setAttribute("docs-shortcuts-row","");let a=document.createElement("span");a.textContent=o.label;let c=document.createElement("kbd");c.textContent=o.keys,l.append(a,c),r.appendChild(l)}return n.showModal(),!0}:null}function hm(n){return 3e4+Math.ceil(n.byteLength/8)}function pm(n){return hm(n)+5e3}var FS=1024;async function VS(n){if(typeof CompressionStream!="function")return null;let e=new CompressionStream("gzip"),t=e.writable.getWriter();t.write(n).catch(()=>{}),t.close().catch(()=>{});let r=e.readable.getReader(),i=[],s=0;for(;;){let{done:a,value:c}=await r.read();if(a)break;i.push(c),s+=c.byteLength}let o=new Uint8Array(s),l=0;for(let a of i)o.set(a,l),l+=a.byteLength;return o}async function dm(n,{timeoutMs:e,compress:t=!0}={}){let r={"Content-Type":"application/octet-stream"},i=n;if(t&&n.byteLength>=FS){let o=await VS(n).catch(()=>null);o&&o.byteLength<n.byteLength&&(i=o,r["Content-Encoding"]="gzip")}let s={method:"POST",credentials:"same-origin",headers:r,body:i,keepalive:i.byteLength<=32768};return typeof AbortSignal<"u"&&typeof AbortSignal.timeout=="function"&&(s.signal=AbortSignal.timeout(e??hm(i))),s}var zS=new Set([400,415,422]);function mm({url:n,fetchFn:e=(...t)=>fetch(...t)}){let t=!1;return async function(i,s=()=>{}){let o=await dm(i,{compress:!t});s(o.keepalive);let l=await e(n,o);return o.headers["Content-Encoding"]==="gzip"&&zS.has(l.status)&&(t=!0,o=await dm(i,{compress:!1}),s(o.keepalive),l=await e(n,o)),l}}async function gm(n,e=fetch){for(let t of[!0,!1])try{let r={method:"HEAD",cache:"no-store",credentials:"same-origin",keepalive:t};return typeof AbortSignal<"u"&&typeof AbortSignal.timeout=="function"&&(r.signal=AbortSignal.timeout(5e3)),await e(n,r),!0}catch{}return!1}function ym({post:n,mergeUpdates:e,onStatus:t,debounceMs:r=2e3,maxBatchBytes:i=1/0,answerTimeoutMs:s=1/0,probe:o=null,setTimeoutFn:l=setTimeout,clearTimeoutFn:a=clearTimeout}){let c=[],f=null,u=null,d="ok",h=0,p=0,m=[],g=[],b=0;function O(v){d==="failed"&&v!=="failed"||(d=v,t&&t(d))}function N(){let v=[];for(let j of g){if(p<j.to){v.push(j);continue}j.resolve(!m.some(([se,ze])=>ze>j.from&&se<=j.to))}g=v}function X(v){u||(u=l(()=>{u=null,G()},v))}function G(){if(f||!c.length)return;u&&(a(u),u=null);let v=1,j=c[0].update.byteLength;for(;v<c.length&&j+c[v].update.byteLength<=i;)j+=c[v].update.byteLength,v++;let se=c.slice(0,v);c=c.slice(v);let ze=se.length===1?se[0].update:e(se.map(C=>C.update)),y={lo:se[0].id,hi:se[se.length-1].id,bytes:ze,entries:se};f=y;let S=typeof s=="function"?s(ze):s;Number.isFinite(S)&&(y.timer=l(()=>_(y,"retrying"),S));let A=C=>{y.keepalive=!!C};Promise.resolve().then(()=>n(ze,A)).then(C=>w(y,C),()=>w(y,null))}function _(v,j){f===v&&(f=null,v.timer&&a(v.timer),c=v.entries.concat(c),j?(O(j),X(r)):G())}function w(v,j){if(f===v){if(v.timer&&a(v.timer),f=null,j&&(b=0),j&&j.ok)p=v.hi,O(c.length?"saving":"ok");else if(j&&j.status>=400&&j.status<500)p=v.hi,m.push([v.lo,v.hi]),O("failed");else{if(c=v.entries.concat(c),N(),j||!o){b=0,O("retrying"),X(r);return}Promise.resolve().then(()=>o()).then(se=>se,()=>!1).then(se=>{if(!se){b=0,p<v.hi&&O("retrying"),X(r);return}b++,X(Math.min(r*2**b,4e3))});return}N(),c.length&&G()}}function E(v){c.push({id:++h,update:v}),f||X(r)}function z(){let v=h,j=p,se=p>=v?Promise.resolve(!m.some(([ze,y])=>y>j&&ze<=v)):new Promise(ze=>g.push({from:j,to:v,resolve:ze}));return G(),se}function ne({wire:v="all"}={}){let j=[];f&&(v==="all"||v==="plain"&&!f.keepalive)&&j.push(f.bytes);for(let se of c)j.push(se.update);return j.length?j.length===1?j[0]:e(j):null}function et(){f?_(f,null):G()}return{enqueue:E,flush:z,pendingBytes:ne,resume:et,get onWire(){return f?f.keepalive?"keepalive":"plain":null},get status(){return d}}}function bm({attemptResync:n,onDiverged:e,onRecovered:t,backoffMs:r=l=>Math.min(1e3*2**(l-1),3e4),setTimeoutFn:i=setTimeout,clearTimeoutFn:s=clearTimeout,addOnlineListener:o=l=>addEventListener("online",l)}){let l=!1,a=!1,c=0,f=null;function u(){c++,f&&s(f),f=i(d,r(c))}async function d(){if(f&&(s(f),f=null),!(!l||a)){a=!0;try{await n(),l=!1,c=0,t&&t()}catch{u()}finally{a=!1}}}function h(){l||(l=!0,c=0,e&&e()),d()}return o(()=>{l&&d()}),{reportDivergence:h,get diverged(){return l},get resyncing(){return a}}}function xm(n){return{...n,parseDOM:[{tag:"br.Apple-interchange-newline",ignore:!0},...n.parseDOM||[]]}}function wm(n){let e=n.nodes.paragraph,t=n.nodes.hard_break;return r=>{let i=Sm(r.content,e,t);return i===r.content?r:new T(i,r.openStart,r.openEnd)}}function Sm(n,e,t){let r=[],i=!1;return n.forEach(s=>{if(s.type===e&&s.childCount>0&&$S(s,t)){for(let l=0;l<s.childCount;l+=1)r.push(e.create(s.attrs));i=!0;return}if(s.isTextblock||s.isLeaf){r.push(s);return}let o=Sm(s.content,e,t);if(o===s.content){r.push(s);return}r.push(s.copy(o)),i=!0}),i?k.fromArray(r):n}function $S(n,e){let t=!0;return n.forEach(r=>{r.type!==e&&(t=!1)}),t}function Hr(n,e,t){n.getAttribute(e)!==t&&n.setAttribute(e,t)}function Ze(n,e,t){n[e]!==t&&(n[e]=t)}function km(n,e){if(!n||e.length===0)return{ensureReachable(){},focusStop(){return!1}};let t=l=>typeof l.checkVisibility=="function"?l.checkVisibility():typeof l.getClientRects=="function"?l.getClientRects().length>0:!0,r=()=>e.filter(l=>!l.disabled&&t(l));function i(l){for(let a of e)a.tabIndex=a===l?0:-1}function s(){let l=r();l.length!==0&&(l.some(a=>a.tabIndex===0)||i(l[0]))}n.addEventListener("keydown",l=>{let a=l.key;if(a!=="ArrowRight"&&a!=="ArrowLeft"&&a!=="Home"&&a!=="End")return;let c=r(),f=c.indexOf(document.activeElement);if(f<0||c.length===0)return;let u;a==="Home"?u=c[0]:a==="End"?u=c[c.length-1]:a==="ArrowRight"?u=c[(f+1)%c.length]:u=c[(f-1+c.length)%c.length],l.preventDefault(),i(u),u.focus()}),n.addEventListener("focusin",l=>{e.includes(l.target)&&i(l.target)}),s(),typeof ResizeObserver=="function"&&new ResizeObserver(()=>s()).observe(n);function o(){let l=r();if(l.length===0)return!1;let a=l.find(c=>c.tabIndex===0)||l[0];return i(a),a.focus(),!0}return{ensureReachable:s,focusStop:o}}var jc={center:"docs-align-center",right:"docs-align-right"},Cm=["left","center","right"];function rl(n){return Object.prototype.hasOwnProperty.call(jc,n)?jc[n]:null}function qS(n){for(let[e,t]of Object.entries(jc))if(n.includes(t))return e;return null}function Em(n){return{...n,attrs:{...n.attrs||{},align:{default:null}},parseDOM:[{tag:"p",getAttrs:e=>({align:qS(Array.from(e.classList||[]))})}],toDOM:e=>{let t=rl(e.attrs.align);return t?["p",{class:t},0]:["p",0]}}}function Am(n){return(e,t)=>{let{from:r,to:i}=e.selection,s=!1,o=e.tr;return e.doc.nodesBetween(r,i,(l,a)=>{l.type.isTextblock&&(!l.type.spec.attrs||!l.type.spec.attrs.align||(s=!0,t&&o.setNodeMarkup(a,null,{...l.attrs,align:n})))}),s?(t&&t(o),!0):!1}}function Mm(n){let e=n.selection.$from.parent,t=e.attrs&&e.attrs.align;return rl(t)?t:"left"}var il={comment:"The font vocabulary. internal/fonts embeds it, fixtures/fonts.mjs imports it into the editor bundle, core/src/fragment.rs is tested against it, and scripts/vendor-fonts.py builds files/ from it with sources.json. Order is the picker's order. Keys are mark names after font_ and never change: sans, serif and mono are Liberation, as they always were.",default:"carlito",code:"mono",families:[{key:"carlito",name:"Carlito",category:"sans",twin:"Calibri",reserved:"Carlito",docx:{name:"Calibri",family:"swiss",pitch:"variable",panose:"020F0502020204030204"},fallback:["Calibri","Carlito","Segoe UI","Arial","sans-serif"],dir:"carlito",licence:"OFL.txt",styles:{regular:"Carlito-Regular",bold:"Carlito-Bold",italic:"Carlito-Italic",boldItalic:"Carlito-BoldItalic"}},{key:"caladea",name:"Caladea",category:"serif",twin:"Cambria",docx:{name:"Cambria",family:"roman",pitch:"variable",panose:"02040503050406030204"},fallback:["Cambria","Caladea","Georgia","Times New Roman","serif"],dir:"caladea",licence:"OFL.txt",styles:{regular:"Caladea-Regular",bold:"Caladea-Bold",italic:"Caladea-Italic",boldItalic:"Caladea-BoldItalic"}},{key:"inter",name:"Inter",category:"sans",docx:{name:"Inter",family:"swiss",pitch:"variable",altName:"Arial"},fallback:["Helvetica Neue","Arial","sans-serif"],dir:"inter",licence:"LICENSE.txt",styles:{regular:"Inter-Regular",bold:"Inter-Bold",italic:"Inter-Italic",boldItalic:"Inter-BoldItalic"}},{key:"sourcesans",name:"Source Sans 3",category:"sans",reserved:"Source",docx:{name:"Source Sans 3",family:"swiss",pitch:"variable",altName:"Calibri"},fallback:["Segoe UI","Arial","sans-serif"],dir:"sourcesans",licence:"LICENSE.md",styles:{regular:"SourceSans3-Regular",bold:"SourceSans3-Bold",italic:"SourceSans3-It",boldItalic:"SourceSans3-BoldIt"}},{key:"plexsans",name:"IBM Plex Sans",category:"sans",reserved:"Plex",docx:{name:"IBM Plex Sans",family:"swiss",pitch:"variable",altName:"Arial"},fallback:["Helvetica Neue","Arial","sans-serif"],dir:"plexsans",licence:"LICENSE.txt",styles:{regular:"IBMPlexSans-Regular",bold:"IBMPlexSans-Bold",italic:"IBMPlexSans-Italic",boldItalic:"IBMPlexSans-BoldItalic"}},{key:"sourceserif",name:"Source Serif 4",category:"serif",reserved:"Source",docx:{name:"Source Serif 4",family:"roman",pitch:"variable",altName:"Georgia"},fallback:["Georgia","Times New Roman","serif"],dir:"sourceserif",licence:"LICENSE.md",styles:{regular:"SourceSerif4-Regular",bold:"SourceSerif4-Bold",italic:"SourceSerif4-It",boldItalic:"SourceSerif4-BoldIt"}},{key:"literata",name:"Literata",category:"serif",docx:{name:"Literata",family:"roman",pitch:"variable",altName:"Georgia"},fallback:["Georgia","Times New Roman","serif"],dir:"literata",licence:"OFL.txt",styles:{regular:"Literata-Regular",bold:"Literata-Bold",italic:"Literata-Italic",boldItalic:"Literata-BoldItalic"}},{key:"garamond",name:"EB Garamond",category:"serif",docx:{name:"EB Garamond",family:"roman",pitch:"variable",altName:"Garamond"},fallback:["Garamond","Georgia","serif"],dir:"garamond",licence:"OFL.txt",styles:{regular:"EBGaramond-Regular",bold:"EBGaramond-Bold",italic:"EBGaramond-Italic",boldItalic:"EBGaramond-BoldItalic"}},{key:"sans",name:"Liberation Sans",category:"sans",twin:"Arial",reserved:"Liberation",docx:{name:"Arial",family:"swiss",pitch:"variable",panose:"020B0604020202020204"},fallback:["Arial","Helvetica","Liberation Sans","sans-serif"],dir:"liberation",licence:"LICENSE-OFL-1.1.txt",styles:{regular:"LiberationSans-Regular",bold:"LiberationSans-Bold",italic:"LiberationSans-Italic",boldItalic:"LiberationSans-BoldItalic"}},{key:"serif",name:"Liberation Serif",category:"serif",twin:"Times New Roman",reserved:"Liberation",docx:{name:"Times New Roman",family:"roman",pitch:"variable",panose:"02020603050405020304"},fallback:["Times New Roman","Times","Liberation Serif","serif"],dir:"liberation",licence:"LICENSE-OFL-1.1.txt",styles:{regular:"LiberationSerif-Regular",bold:"LiberationSerif-Bold",italic:"LiberationSerif-Italic",boldItalic:"LiberationSerif-BoldItalic"}},{key:"mono",name:"Liberation Mono",category:"mono",twin:"Courier New",reserved:"Liberation",docx:{name:"Courier New",family:"modern",pitch:"fixed",panose:"02070309020205020404"},fallback:["Courier New","Liberation Mono","Consolas","monospace"],dir:"liberation",licence:"LICENSE-OFL-1.1.txt",styles:{regular:"LiberationMono-Regular",bold:"LiberationMono-Bold",italic:"LiberationMono-Italic",boldItalic:"LiberationMono-BoldItalic"}},{key:"notosans",name:"Noto Sans",category:"sans",docx:{name:"Noto Sans",family:"swiss",pitch:"variable",altName:"Arial"},fallback:["Noto Sans","Arial","sans-serif"],dir:"notosans",licence:"OFL.txt",styles:{regular:"NotoSans-Regular",bold:"NotoSans-Bold",italic:"NotoSans-Italic",boldItalic:"NotoSans-BoldItalic"}},{key:"zilla",name:"Zilla Slab",category:"slab",docx:{name:"Zilla Slab",family:"roman",pitch:"variable",altName:"Rockwell"},fallback:["Rockwell","Georgia","serif"],dir:"zilla",licence:"OFL.txt",styles:{regular:"ZillaSlab-Regular",bold:"ZillaSlab-Bold",italic:"ZillaSlab-Italic",boldItalic:"ZillaSlab-BoldItalic"}},{key:"jetbrains",name:"JetBrains Mono",category:"mono",docx:{name:"JetBrains Mono",family:"modern",pitch:"fixed",altName:"Consolas"},fallback:["Consolas","Menlo","Courier New","monospace"],dir:"jetbrains",licence:"OFL.txt",styles:{regular:"JetBrainsMono-Regular",bold:"JetBrainsMono-Bold",italic:"JetBrainsMono-Italic",boldItalic:"JetBrainsMono-BoldItalic"}},{key:"playfair",name:"Playfair Display",category:"display",reserved:"Playfair Display",docx:{name:"Playfair Display",family:"roman",pitch:"variable",altName:"Georgia"},fallback:["Didot","Bodoni MT","Georgia","serif"],dir:"playfair",licence:"OFL.txt",styles:{regular:"PlayfairDisplay-Regular",bold:"PlayfairDisplay-Bold",italic:"PlayfairDisplay-Italic",boldItalic:"PlayfairDisplay-BoldItalic"}},{key:"caveat",name:"Caveat",category:"handwriting",docx:{name:"Caveat",family:"script",pitch:"variable",altName:"Segoe Print"},fallback:["Segoe Print","Bradley Hand","cursive"],dir:"caveat",licence:"OFL.txt",styles:{regular:"Caveat-Regular",bold:"Caveat-Bold"}}]};var WS={regular:{weight:400,style:"normal"},bold:{weight:700,style:"normal"},italic:{weight:400,style:"italic"},boldItalic:{weight:700,style:"italic"}},_t=il.families.map((n,e)=>({key:n.key,name:n.name,index:e+1,cssName:"Docs "+n.name,docx:n.docx.name,fallback:n.fallback,faces:Object.keys(n.styles).map(t=>WS[t])})),Wc=new Map(_t.map(n=>[n.key,n])),Jc=_t.map(n=>n.key),Qe=il.default,Qn=il.code,sl=Jc.map(n=>"font_"+n).reverse();function Tm(n){if(Wc.has(n))return n===Qe?null:"font_"+n}function Dm(n){for(let e of sl)if(n.includes(e))return e.slice(5);return Qe}function ol(n){let e=String(n||"").split(",").map(t=>t.trim().replace(/^["']|["']$/g,"").toLowerCase()).filter(Boolean);for(let t of e){let r=_t.find(i=>i.cssName.toLowerCase()===t)||_t.find(i=>i.docx.toLowerCase()===t)||_t.find(i=>i.name.toLowerCase()===t)||_t.find(i=>i.fallback.some(s=>s.toLowerCase()===t));if(r)return r.key}return null}function JS(){if(!Wc.has(Qe))throw new Error(`fonts: the default ${Qe} is not a family`);if(!Wc.has(Qn))throw new Error(`fonts: the code face ${Qn} is not a family`);if(Jc[0]!==Qe)throw new Error(`fonts: the toolbar lists ${Jc[0]} first but the default is ${Qe}`);for(let n of _t)if(!n.faces.some(e=>e.weight===400&&e.style==="normal"))throw new Error(`fonts: ${n.key} has no regular`)}JS();var xt=[12,8,9,10,11,14,18,24,36,48,72],bn=12,Rt=[...xt.filter(n=>n!==bn).map(n=>"size_"+n),"size_sm","size_lg","size_xl"],ll={size_sm:10,size_lg:14,size_xl:18};function Yc(n){let e=Number(n);if(xt.includes(e))return e===bn?null:"size_"+e}function Hc(n){for(let e of Rt)if(n.includes(e))return e in ll?ll[e]:Number(e.slice(5));return bn}function YS(){if(!xt.includes(bn))throw new Error(`sizes: the default ${bn} is not one of [${xt}]`);if(xt[0]!==bn)throw new Error(`sizes: the control lists ${xt[0]} first but the default is ${bn} \u2014 with no JavaScript the control would name a size the text is not set in`);for(let[t,r]of Object.entries(ll)){if(!xt.includes(r))throw new Error(`sizes: the legacy mark ${t} maps to ${r}pt, which is not on the ladder [${xt}]`);if(!Rt.includes(t))throw new Error(`sizes: the legacy mark ${t} is not in the group the toolbar clears`)}let n=xt.filter(t=>t!==bn).map(t=>"size_"+t),e=Rt.filter(t=>!(t in ll));if(n.join()!==e.join())throw new Error(`sizes: the marks [${e}] do not match the offered sizes [${n}]`)}YS();var Gc={align_left:null,align_center:"center",align_right:"right"};function HS(){let n=Object.keys(Gc);for(let r of n){let i=Gc[r],s="align_"+(i===null?"left":i);if(r!==s)throw new Error(`toolbar: ${r} sets the alignment ${JSON.stringify(i)}, which belongs to ${s}`);if(i!==null&&!rl(i))throw new Error(`toolbar: ${r} sets ${JSON.stringify(i)}, which align.mjs does not know`)}let e=n.map(r=>r.slice(6)).sort(),t=[...Cm].sort();if(e.join()!==t.join())throw new Error(`toolbar: alignment commands [${e}] do not match align.mjs's [${t}]`)}HS();function Kc(n){let e=n.previousElementSibling;return!e||!e.hasAttribute("rst-combo")?null:e.querySelector("input")}function KS(n,e){if(!e)return;let t=n.getAttribute("aria-label");t&&Hr(e,"aria-label",t)}var al=!1;function GS(n,e,t){if(!e||document.activeElement===e)return;if(t&&typeof n.dispatchEvent=="function"){al=!0;try{n.dispatchEvent(new Event("change"))}finally{al=!1}return}let r=n.options[n.selectedIndex],i=r&&r.dataset||{},s=r?i.rstShort||i.rstName||r.text:"";Ze(e,"value",s)}function _m({root:n,history:e=[],schema:t,getView:r,onSync:i,fonts:s=null,wrapCommand:o=f=>f,onFontUnavailable:l=null,refocus:a=()=>!0,extraCommands:c={}}){if(!n)return{plugin:null,commands:{...Om(t,o),...c},focusStop:()=>!1};let f=Array.from(n.querySelectorAll("[data-docs-command]")),u=e.flatMap(_=>Array.from(_.querySelectorAll("[data-docs-command]"))),d=[...f,...u],h=Array.from(n.querySelectorAll("[data-docs-select]")),p=n.ownerDocument,m=p&&p.querySelector&&p.querySelector("[estilo-bar]");m&&Hr(m,"data-rst-select-ceiling","");let g={...Om(t,o),...c};n.addEventListener("pointerdown",_=>{let w=_.target;if(!w||!w.hasAttribute||!w.hasAttribute("rst-combo"))return;let E=w.querySelector("input");!E||E.disabled||(_.preventDefault(),p.activeElement===E?E.blur():E.focus())});for(let _ of d)_.addEventListener("mousedown",w=>w.preventDefault()),_.addEventListener("click",()=>{let w=g[_.getAttribute("data-docs-command")],E=r();!E||!w||(w(E.state,E.dispatch,E),a()&&E.focus())});for(let _ of h)_.addEventListener("mousedown",w=>w.stopPropagation()),_.addEventListener("change",()=>{if(al)return;let w=r();w&&a()?w.focus():b()}),_.addEventListener("change",()=>{if(al)return;let w=r();if(!w)return;let E=_.getAttribute("data-docs-select"),z=_.value;if(E==="block"&&us(t,z)(w.state,w.dispatch,w),E==="font"){let ne=Tm(z);ne!==void 0&&Xc(t,sl,ne)(w.state,w.dispatch)}if(E==="size"){let ne=Yc(z);ne!==void 0&&Xc(t,Rt,ne)(w.state,w.dispatch)}a()&&w.focus()});function b(){let _=p&&p.activeElement;_&&_.tagName==="INPUT"&&n.contains(_)&&_.blur()}function O(_){let w=_.state;for(let E of d){let z=E.getAttribute("data-docs-command"),ne=g[z];if(!ne)continue;let et=ne(w,null,_);if(Ze(E,"disabled",!et),E.hasAttribute("aria-pressed")){let v=G(w,z);Hr(E,"aria-pressed",v?"true":"false")}}for(let E of h){let z=E.getAttribute("data-docs-select")==="font"&&s&&s.previews==="pending";Ze(E,"disabled",z);let ne=Kc(E);ne&&Ze(ne,"disabled",z),KS(E,ne);let et=E.getAttribute("data-docs-select"),v=E.value;et==="block"&&Ze(E,"value",vm(w)),et==="font"&&Ze(E,"value",ek(w,t)),et==="size"&&Ze(E,"value",String(Hc(Rm(w,t,Rt)))),GS(E,Kc(E),E.value!==v)}i&&i(_)}let N=km(n,[...h.map(_=>Kc(_)||_),...f]),X=new oe({view:_=>{O(_),N.ensureReachable();let w=Ve.getState(_.state)?.undoManager,E=()=>{O(_),N.ensureReachable()};return w&&(w.on("stack-item-added",E),w.on("stack-item-popped",E)),{update:z=>{O(z),N.ensureReachable()},destroy:()=>{w&&(w.off("stack-item-added",E),w.off("stack-item-popped",E))}}}}),G=(_,w)=>w.startsWith("block_")?vm(_)===w.slice(6):QS(_,t,w);return{plugin:X,commands:g,focusStop:N.focusStop,isPressed:G}}function Om(n,e=t=>t){let t=n.marks,r=n.nodes;return{undo:Bp,redo:Lp,strong:e(Xn(t.strong)),em:e(Xn(t.em)),code:e(Xn(t.code),!0),bullet_list:Im(r.bullet_list,r.list_item),ordered_list:Im(r.ordered_list,r.list_item),blockquote:ZS(r.blockquote),select_all:Fc,clear_formatting:XS,block_paragraph:us(n,"paragraph"),"block_heading-1":us(n,"heading-1"),"block_heading-2":us(n,"heading-2"),"block_heading-3":us(n,"heading-3"),size_down:Nm(n,-1),size_up:Nm(n,1),indent:It(Qo(r.list_item),Yr(1)),outdent:It(as(r.list_item),Yr(-1)),...Object.fromEntries(Object.entries(Gc).map(([i,s])=>[i,Am(s)]))}}function XS(n,e){let{from:t,to:r,empty:i}=n.selection;if(i)return!1;if(e){let s=n.tr.removeMark(t,r,null);s.setBlockType(t,r,n.schema.nodes.paragraph),e(s.scrollIntoView())}return!0}function us(n,e){if(e==="paragraph")return Vc(n.nodes.paragraph);let t=Number(e.split("-")[1]);return Number.isInteger(t)?Vc(n.nodes.heading,{level:t}):()=>!1}function Nm(n,e){let t=[...xt].sort((r,i)=>r-i);return(r,i)=>{let s=t.indexOf(Hc(Rm(r,n,Rt))),o=t[s+e];if(s<0||o===void 0)return!1;let l=Yc(o);return l===void 0?!1:Xc(n,Rt,l)(r,i)}}function Xc(n,e,t){return(r,i)=>{let s=e.map(u=>n.marks[u]).filter(Boolean),o=t?n.marks[t]:null;if(t&&!o)return!1;if(!i)return!0;let{from:l,to:a,empty:c}=r.selection;if(c){let u=(r.storedMarks||r.selection.$from.marks()).filter(d=>!s.includes(d.type));return o&&(u=o.create().addToSet(u)),i(r.tr.setStoredMarks(u)),!0}let f=r.tr;for(let u of s)f.removeMark(l,a,u);return o&&f.addMark(l,a,o.create()),i(f),!0}}function Im(n,e){let t=$p(n),r=as(e);return(i,s,o)=>ds(i,n)?r(i,s,o):t(i,s,o)}function ZS(n){let e=Zp(n);return(t,r,i)=>ds(t,n)?Kp(t,r,i):e(t,r,i)}function ds(n,e){let t=n.selection.$from;for(let r=t.depth;r>0;r--)if(t.node(r).type===e)return!0;return!1}function QS(n,e,t){if(t.startsWith("align_"))return Mm(n)===t.slice(6);if(t==="bullet_list")return ds(n,e.nodes.bullet_list);if(t==="ordered_list")return ds(n,e.nodes.ordered_list);if(t==="blockquote")return ds(n,e.nodes.blockquote);let r=e.marks[t];return r?Zc(n,r):!1}function Zc(n,e){let{from:t,$from:r,to:i,empty:s}=n.selection;return s?!!e.isInSet(n.storedMarks||r.marks()):n.doc.rangeHasMark(t,i,e)}function vm(n){let e=n.selection.$from.parent;return e.type.name==="heading"?"heading-"+e.attrs.level:"paragraph"}function ek(n,e){let t=sl.filter(r=>{let i=e.marks[r];return i&&Zc(n,i)});return Dm(t)}function Rm(n,e,t){let r=[];for(let i of t){let s=e.marks[i];s&&Zc(n,s)&&r.push(i)}return r}var tk={print:()=>(window.print(),!0)};function tf(n){return n.querySelector("[estilo-menubar-menu][open]")}function nf(n){return Array.from(n.querySelectorAll("[estilo-menubar-title]"))}function Qc(n){return Array.from(n.querySelectorAll("[estilo-menu-item]")).filter(e=>!e.disabled)}function ef(n,e){for(let t of nf(n))Ze(t,"tabIndex",t===e?0:-1);e.focus()}function cl(n){let e=tf(n);e&&(e.open=!1)}function Bm(n,{getView:e,commands:t,extraCommands:r,isPressed:i,refocus:s=()=>!0}){if(!n)return null;let o=nf(n);if(!o.length)return null;for(let[f,u]of o.entries())Ze(u,"tabIndex",f===0?0:-1);let l={...tk,...r||{}};function a(f,u){let d=l[f];if(d){if(u){let g=u.closest("[estilo-menubar-menu]");if(g){let b=g.querySelector("[estilo-menubar-title]");b&&ef(n,b)}}return d()}let h=e();if(!h)return!1;let p=t[f];if(!p)return!1;let m=p(h.state,h.dispatch,h);return s()&&h.focus(),m}n.addEventListener("click",f=>{let u=f.target.closest("[estilo-menu-item]");if(!(!u||u.disabled)){if(!u.hasAttribute("data-docs-command")){cl(n);return}f.preventDefault(),a(u.getAttribute("data-docs-command"),u),cl(n)}}),n.addEventListener("keydown",f=>{let u=f.target.closest("[estilo-menubar-title]"),d=f.target.closest("[estilo-menu-item]"),h=tf(n);switch(f.key){case"ArrowRight":case"ArrowLeft":{let p=u||h&&h.querySelector("[estilo-menubar-title]");if(!p)return;f.preventDefault();let m=nf(n),g=m[(m.indexOf(p)+(f.key==="ArrowRight"?1:-1)+m.length)%m.length],b=!!h;cl(n),b&&(g.closest("[estilo-menubar-menu]").open=!0),ef(n,g);return}case"ArrowDown":case"ArrowUp":{if(u){f.preventDefault();let p=u.closest("[estilo-menubar-menu]");p.open=!0;let m=Qc(p);m.length&&m[f.key==="ArrowDown"?0:m.length-1].focus();return}if(d&&h){f.preventDefault();let p=Qc(h),m=p.indexOf(d);if(m<0||!p.length)return;p[(m+(f.key==="ArrowDown"?1:-1)+p.length)%p.length].focus()}return}case"Home":case"End":{if(!d||!h)return;f.preventDefault();let p=Qc(h);p.length&&p[f.key==="Home"?0:p.length-1].focus();return}case"Tab":cl(n)}}),n.addEventListener("pointerover",f=>{if(f.pointerType&&f.pointerType!=="mouse")return;let u=f.target.closest&&f.target.closest("[estilo-menubar-title]"),d=tf(n);if(!u||!d||d.contains(u))return;let h=u.closest("[estilo-menubar-menu]");h&&(h.open=!0,ef(n,u))});function c(f){for(let u of n.querySelectorAll("[estilo-menu-item][data-docs-command]")){let d=u.getAttribute("data-docs-command"),h=!1;if(u.hasAttribute("aria-pressed")&&i&&(h=!!i(d,f),Hr(u,"aria-pressed",h?"true":"false")),l[d]){Ze(u,"disabled",!1);continue}let p=t[d],m=!!(f&&p&&(h||p(f.state,null,f)));Ze(u,"disabled",!m)}}return{sync:c}}function rf(n,{since:e,raw:t}={}){let r=[];return e!==void 0&&r.push(`since=${e}`),t&&r.push("raw=1"),r.length?`${n}?${r.join("&")}`:n}function nk(n){let e=new Set,t=!1;return n&&typeof n.addEventListener=="function"&&(n.addEventListener("pagehide",()=>{t=!0;for(let r of[...e])r.leave()}),n.addEventListener("pageshow",r=>{let i=t&&r&&r.persisted;if(t=!1,i)for(let s of[...e])s.back()})),{get left(){return t},subscribe(r){return e.add(r),()=>e.delete(r)}}}var rk=nk(typeof window>"u"?null:window);function Lm({initialSeq:n=0,openStream:e,fetchSince:t,onUpdates:r,onError:i=()=>{},setTimeoutFn:s=setTimeout,clearTimeoutFn:o=clearTimeout,idleMs:l=12e4,hiddenMs:a=3e4,page:c=rk}){let f=n,u=null,d=null,h=!1,p=!1,m=!1;function g(w){d!==null&&o(d),d=s(()=>{d=null,O()},w)}function b(){g(l)}function O(){d!==null&&(o(d),d=null),u&&(u.close(),u=null)}function N(){h||u||c.left||(u=e(w=>{b(),w>f&&X()},w=>{O(),i(w)}),b())}async function X(){if(p){m=!0;return}p=!0;try{let w=f,E=await t(w);if(h)return;try{E&&E.bytes&&E.bytes.length&&await r(E.bytes)}catch{if(E=await t(w,{raw:!0}),h)return;E&&E.bytes&&E.bytes.length&&await r(E.bytes)}E&&typeof E.seq=="number"&&E.seq>f&&(f=E.seq)}catch(w){i(w)}finally{p=!1,m&&!h&&(m=!1,X())}}let G=null,_={leave:()=>O(),back:()=>{s(()=>{h||N()},0)}};return{start(){h=!1,G||(G=c.subscribe(_)),N()},stop(){h=!0,G&&G(),G=null,O()},noteOwnSeq(w){typeof w!="number"||!Number.isFinite(w)||w===f+1&&(f=w)},noteActivity(){h||(u?b():N())},noteHidden(){h||!u||g(a)},get cursor(){return f},get streaming(){return u!==null}}}var Pm=3e3;var Um=new Map([["code",Qn]]);function Fm(n){Um.clear();for(let[e,t]of n)Um.set(e,t)}function Vm(n){let e=()=>!0;return{web:!1,ready:e,loaded:e,committed:()=>!1,fallback:[],inUse:[],use(){},required:()=>[],markShown(){},shown:!0,previews:"system",previewsDone:Promise.resolve("system"),prepare:async()=>{},prepareRemote:async()=>{},waitFor:async()=>!0,load:async()=>!0,commitFallback:()=>!0,prefetch:async()=>{},fontsReady:Promise.resolve(),settled(){!n||n.getAttribute("data-docs-fonts")!=="pending"||(clearTimeout(globalThis.__docsFontsHold),n.setAttribute("data-docs-fonts","shown"),n.getAttribute("data-docs-previews")==="pending"&&n.setAttribute("data-docs-previews","system"))}}}function zm(n,{setTimer:e=setTimeout,clearTimer:t=clearTimeout}={}){if(!n)return{say(){},tell(){},clear(){},state:""};let r=n.querySelector("[docs-fonts-status-text]"),i=n.querySelector("[docs-fonts-status-dismiss]"),s=null,o=()=>n.getAttribute("data-state")||"";function l(a){a&&o()!==a||(t(s),n.removeAttribute("data-state"),r&&(r.textContent=""))}return i&&i.addEventListener("click",()=>l()),{say(a,c=0){t(s),n.setAttribute("data-state",a),r&&(r.textContent=n.getAttribute("data-"+a)||""),c&&(s=e(()=>l(a),c))},tell(a,c=0){t(s),n.setAttribute("data-state","notice"),r&&(r.textContent=a),c&&(s=e(()=>l("notice"),c))},clear:l,get state(){return o()}}}function $m(n={}){return new oe({view(e){return new sf(e,n)}})}var sf=class{constructor(e,t){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.lastDragEvent=null,this.width=(r=t.width)!==null&&r!==void 0?r:1,this.color=t.color===!1?void 0:t.color||"black",this.class=t.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let s=o=>{this[i](o)};return e.dom.addEventListener(i,s),{name:i,handler:s}})}destroy(){this.setCursor(null),this.handlers.forEach(({name:e,handler:t})=>this.editorView.dom.removeEventListener(e,t))}update(e,t){if(this.cursorPos!=null&&t.doc!=e.state.doc)if(this.lastDragEvent){let r=this.computeTarget(this.lastDragEvent);r==this.cursorPos?this.updateOverlay():this.setCursor(r)}else this.updateOverlay()}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),t=!e.parent.inlineContent,r,i=this.editorView.dom,s=i.getBoundingClientRect(),o=s.width/i.offsetWidth,l=s.height/i.offsetHeight;if(t){let u=e.nodeBefore,d=e.nodeAfter;if(u||d){let h=this.editorView.nodeDOM(this.cursorPos-(u?u.nodeSize:0));if(h){let p=h.getBoundingClientRect(),m=u?p.bottom:p.top;u&&d&&(m=(m+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let g=this.width/2*l;r={left:p.left,right:p.right,top:m-g,bottom:m+g}}}}if(!r){let u=this.editorView.coordsAtPos(this.cursorPos),d=this.width/2*o;r={left:u.left-d,right:u.left+d,top:u.top,bottom:u.bottom}}let a=this.editorView.dom.offsetParent;this.element||(this.element=a.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",t),this.element.classList.toggle("prosemirror-dropcursor-inline",!t);let c,f;if(!a||a==document.body&&getComputedStyle(a).position=="static")c=-pageXOffset,f=-pageYOffset;else{let u=a.getBoundingClientRect(),d=u.width/a.offsetWidth,h=u.height/a.offsetHeight;c=u.left-a.scrollLeft*d,f=u.top-a.scrollTop*h}this.element.style.left=(r.left-c)/o+"px",this.element.style.top=(r.top-f)/l+"px",this.element.style.width=(r.right-r.left)/o+"px",this.element.style.height=(r.bottom-r.top)/l+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}computeTarget(e){let t=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=t&&t.inside>=0&&this.editorView.state.doc.nodeAt(t.inside),i=r&&r.type.spec.disableDropCursor,s=typeof i=="function"?i(this.editorView,t,e):i;if(!t||s)return null;let o=t.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let l=_o(this.editorView.state.doc,o,this.editorView.dragging.slice);l!=null&&(o=l)}return o}dragover(e){if(!this.editorView.editable)return;this.lastDragEvent=e;let t=this.computeTarget(e);t!=null&&(this.setCursor(t),this.scheduleRemoval(5e3))}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}};var jm=["image/png","image/jpeg","image/gif","image/webp"],Wm=jm.join(","),lf=8*1024*1024,af=4096,ik=/^[23456789abcdefghjkmnpqrstuvwxyz]{1,32}$/,sk=/^[0-9a-z]{16}$/;function qm(n,e){return`/d/${n}/images/${e}`}function Jm(n,e=""){if(typeof n!="string")return null;let t=n;e&&t.startsWith(e+"/")&&(t=t.slice(e.length));let r=/^\/d\/([^/]+)\/images\/([^/?#]+)$/.exec(t);return!r||!ik.test(r[1])||!sk.test(r[2])?null:{sqid:r[1],id:r[2]}}var Ym=/^data:image\/(png|jpeg|gif|webp)[;,]/i;function Hm(n,e){let t=Jm(n);return t?t.sqid===e?"own":null:typeof n=="string"&&Ym.test(n)?"data":null}function ok(n,{sqid:e,origin:t}){let r=Jm(n,t);return r?r.sqid===e?{kind:"own",src:qm(r.sqid,r.id)}:{kind:"copy",src:qm(r.sqid,r.id)}:typeof n=="string"&&Ym.test(n)?{kind:"data",src:n}:{kind:"other"}}function Km(n){return n.type==="image/svg+xml"||/\.svg$/i.test(n.name||"")?"svg":jm.includes(n.type)?n.type!=="image/jpeg"&&n.size>lf?"size":null:"type"}function Gm(n){if(n[0]!==255||n[1]!==216)return null;let e=1;for(let t=2;t+4<=n.length;){if(n[t]!==255)return null;let r=n[t+1],i=n[t+2]<<8|n[t+3];if(r===225&&(e=lk(n,t+4,t+2+i)??e),r>=192&&r<=207&&![196,200,204].includes(r)){let s=n[t+5]<<8|n[t+6];return{width:n[t+7]<<8|n[t+8],height:s,orientation:e}}t+=2+i}return null}function lk(n,e,t){if(String.fromCharCode(...n.slice(e,e+6))!=="Exif\0\0")return null;let i=e+6,s=n[i]===73,o=c=>s?n[c]|n[c+1]<<8:n[c]<<8|n[c+1],a=i+(c=>s?(n[c]|n[c+1]<<8|n[c+2]<<16)+n[c+3]*16777216:n[c]*16777216+(n[c+1]<<16|n[c+2]<<8|n[c+3]))(i+4);if(a+2>t)return null;for(let c=0;c<o(a);c++){let f=a+2+c*12;if(f+12>t)return null;if(o(f)===274)return o(f+8)}return null}function ul(n){return[...n&&n.files||[]].filter(e=>e.type.startsWith("image/")||/\.svg$/i.test(e.name||""))}function Xm(n){return[...n&&n.files||[]].length>0&&ul(n).length===0}function Zm(n){let e=n&&n.getData&&n.getData("text/html")||"",t=ul(n);if(e)return ak(e)?t:[];let r=(n&&n.getData&&n.getData("text/plain")||"").trim();if(!r||/^https?:\/\/[^\s]+$/.test(r))return t;let i=new Set(t.map(o=>o.name));return r.split(/\r?\n/).map(o=>o.trim()).filter(Boolean).every(o=>i.has(o))?t:[]}function ak(n){let e=n.replace(/<!--[^]*?-->/g,"").replace(/<\/?(?:html|head|body|meta)\b[^>]*>/gi,"").trim();return/^<img\b(?:"[^"]*"|'[^']*'|[^<>"'])*>$/i.test(e)}var of="\uE01F";function cf(n,e,t){let r=[],i=o=>{let l=[],a=!1;return o.forEach(c=>{if(c.type.name==="image"){let u=ok(c.attrs.src,t);if(u.kind==="own"){l.push(c.attrs.src===u.src?c:c.type.create({...c.attrs,src:u.src},null,c.marks)),a=a||c.attrs.src!==u.src;return}r.push({...u,alt:ff(c.attrs.alt||"")}),l.push(e.text(of,c.marks)),a=!0;return}if(c.isText||c.isLeaf){l.push(c);return}let f=i(c.content);a=a||f!==c.content,l.push(f===c.content?c:c.copy(f))}),a?k.fromArray(l):o},s=i(n.content);return{slice:s===n.content?n:new T(s,n.openStart,n.openEnd),taken:r}}function Qm(n,e,t,r){e=Math.max(0,e),t=Math.min(t,n.doc.content.size);let i=[];if(n.doc.nodesBetween(e,t,(s,o)=>{if(!s.isText)return!0;for(let l=s.text.indexOf(of);l>=0;l=s.text.indexOf(of,l+1))o+l>=e&&o+l<t&&i.push(o+l);return!1}),i.length!==r)return null;for(let s=i.length-1;s>=0;s--)n.delete(i[s],i[s]+1);return i.map((s,o)=>s-o)}var fl=500;function ff(n){let e=String(n||"").replace(/\s*[\r\n]+\s*/g," ").trim(),t=[...e];return t.length>fl?t.slice(0,fl).join("").trimEnd():e}function eg(n,e="image"){let t=/^data:(image\/(?:png|jpeg|gif|webp))(;base64)?,(.*)$/is.exec(n||"");if(!t)return null;let r;try{if(t[2]){let o=atob(t[3].replace(/\s+/g,""));r=new Uint8Array(o.length);for(let l=0;l<o.length;l++)r[l]=o.charCodeAt(l)}else r=new TextEncoder().encode(decodeURIComponent(t[3]))}catch{return null}let i=t[1].toLowerCase(),s=i.slice(6).replace("jpeg","jpg");return new File([r],`${e}.${s}`,{type:i})}function tg(n,e){let t=Math.max(0,Math.min(e,n.content.size)),r=n.resolve(t),i=r.parent;return i.inlineContent&&!i.type.spec.code?{pos:t,inline:!0}:i.isTextblock?{pos:r.after(),inline:!1}:{pos:t,inline:!1}}var Ke=new ot("docs-uploads");function rg(n){let e=t=>n&&n.getAttribute("data-"+t)||"";return(t,r={})=>e(t).replace(/\{(\w+)\}/g,(i,s)=>s in r?String(r[s]):i)}async function ck(n){if(n.type!=="image/jpeg"||typeof createImageBitmap!="function")return n;let e;try{e=Gm(new Uint8Array(await n.slice(0,256*1024).arrayBuffer()))}catch{return n}if(!e||Math.max(e.width,e.height)<=af)return n;let t=af/Math.max(e.width,e.height),r=e.orientation>=5,i=Math.round((r?e.height:e.width)*t),s=Math.round((r?e.width:e.height)*t);try{let o=await createImageBitmap(n,{imageOrientation:"from-image",resizeWidth:i,resizeHeight:s,resizeQuality:"high"}),l=document.createElement("canvas");l.width=o.width,l.height=o.height,l.getContext("2d").drawImage(o,0,0),o.close&&o.close();let a=await new Promise(c=>l.toBlob(c,"image/jpeg",.9));return a?new File([a],n.name,{type:"image/jpeg"}):n}catch{return n}}function ng(n,e,t,r=null){return new Promise(i=>{let s=new XMLHttpRequest;s.open("POST",n),s.setRequestHeader("Accept","application/json"),r&&s.setRequestHeader("Content-Type",r),s.responseType="json",t&&s.upload.addEventListener("progress",o=>{o.lengthComputable&&t(o.loaded/o.total)}),s.addEventListener("load",()=>i({status:s.status,json:s.response})),s.addEventListener("error",()=>i({status:0,json:null})),s.addEventListener("abort",()=>i({status:0,json:null})),s.send(e)})}var fk=0;function ig({sqid:n,t:e,getView:t,settled:r,notice:i,say:s,describe:o=null,origin:l=location.origin,enabled:a=!0}){let c=`/d/${n}/images`,f=`/d/${n}/images/copy`,u=new Map,d=new WeakSet,h=Promise.resolve();function p(y){let S=document.createElement("span");S.setAttribute("docs-upload",""),S.setAttribute("role","group"),S.setAttribute("aria-label",e("uploading",{name:y.name})),S.contentEditable="false";let A=document.createElement("span");A.setAttribute("docs-upload-name",""),A.textContent=y.name;let C=document.createElement("progress");C.max=1,C.value=0,C.setAttribute("aria-label",e("uploading",{name:y.name}));let I=document.createElement("span");I.setAttribute("docs-upload-why",""),I.hidden=!0;let P=document.createElement("span");return P.setAttribute("docs-upload-actions",""),S.append(A,C,I,P),{group:S,bar:C,why:I,actions:P}}function m(y,S,A={}){let C={id:`upload-${++fk}`,source:y,name:S||e("unnamed"),alt:"",paste:!1,rel:null,binding:null,fallback:null,reply:null,dropped:!1,done:!1,...A};return C.dom=p(C),C}function g(y,S){let A=W.getState(y);return!A||!A.binding?null:{rel:Kt(S,A.type,A.binding.mapping),binding:A.binding}}function b(y,S){let A=W.getState(y);if(A&&A.binding&&S.rel)try{let C=Nt(A.doc,A.type,S.rel,A.binding.mapping);if(C!==null&&C>=0&&C<=y.doc.content.size)return C}catch{}return O(y.doc,S.fallback)}function O(y,S){if(!S)return null;let A=null;return y.descendants((C,I)=>{if(!C.isTextblock)return!0;if(C.textContent===S.text&&S.offset<=C.content.size){let P=I+1+S.offset;(!A||Math.abs(P-S.at)<Math.abs(A-S.at))&&(A=P)}return!1}),A}let N=new oe({key:Ke,state:{init:()=>({entries:new Map,moves:0}),apply(y,S,A,C){let I=y.getMeta(Ke)||{},P=!!y.getMeta(W),H=new Map;for(let[Z,re]of S.entries){if(re.upload.dropped||re.upload.done)continue;let fe=re.pos;P&&re.upload.rel?fe=b(C,re.upload):fe!==null&&y.docChanged&&(fe=y.mapping.map(fe,1)),H.set(Z,{upload:re.upload,pos:fe})}for(let{upload:Z,pos:re}of I.add||[])H.set(Z.id,{upload:Z,pos:Math.min(re,C.doc.content.size)});for(let Z of I.adopt||[])H.set(Z.id,{upload:Z,pos:b(C,Z)});for(let Z of I.remove||[])H.delete(Z);let ce=!P&&(y.selectionSet||y.docChanged);return{entries:H,moves:S.moves+(ce?1:0)}}},props:{decorations(y){let{entries:S}=Ke.getState(y);if(!S.size)return null;let A=y.doc.content.size;return ae.create(y.doc,[...S.values()].map(({upload:C,pos:I})=>Fe.widget(I===null?A:I,C.dom.group,{key:C.id,side:-1,ignoreSelection:!0})))}},view:()=>({update(y){let{entries:S}=Ke.getState(y.state);for(let{upload:A,pos:C}of S.values()){if(C===null)continue;let I=W.getState(y.state);if(I&&I.binding&&A.binding!==I.binding){let H=g(y.state,C);A.rel=H.rel,A.binding=H.binding}let P=y.state.doc.resolve(C);A.fallback={text:P.parent.textContent,offset:C-P.start(),at:C},u.has(A.id)||X(y,A)}}})});function X(y,S){if(u.set(S.id,S),S.moves=Ke.getState(y.state).moves,S.paste){let A=Ve.getState(y.state),C=A&&A.undoManager;if(C){let I=C.undoStack[C.undoStack.length-1]||null;S.pasteItem=I!==S.pasteBefore?I:null,d.has(C)||(d.add(C),C.on("stack-item-popped",P=>{if(P.type==="undo")for(let H of u.values())H.pasteItem&&H.pasteItem===P.stackItem&&_(H)}))}}h=h.then(()=>E(S)).catch(A=>console.error("images:",A))}function G(y){let S=t();S&&S.dispatch(S.state.tr.setMeta(Ke,y).setMeta("addToHistory",!1))}function _(y){y.dropped||y.done||(y.dropped=!0,u.delete(y.id),G({remove:[y.id]}))}function w(y){y.done=!0,u.delete(y.id)}async function E(y){if(y.dropped)return;let{group:S,bar:A,why:C,actions:I}=y.dom;if(S.setAttribute("docs-upload",""),S.setAttribute("aria-label",e("uploading",{name:y.name})),A.hidden=!1,A.value=0,C.hidden=!0,I.replaceChildren(),!y.reply){let P=await z(y);if(y.dropped)return;if(P.error)return et(y,P.error);y.reply=P.json}await ne(y)}async function z(y){let{source:S}=y,A=S.file;if(S.data&&(A=eg(S.data,y.name),!A))return{error:e("error-type")};let C;if(S.copy)C=await ng(f,JSON.stringify({src:S.copy}),null,"application/json");else{let I=Km(A);if(I)return{error:e("error-"+I)};let P=await ck(A);if(P.size>lf)return{error:e("error-size")};let H=new FormData;H.append("file",P,P.name||"image"),C=await ng(c,H,ce=>{y.dom.bar.value=ce})}return C.status===0?{error:e("error-offline")}:C.status!==200||!C.json||typeof C.json.src!="string"?{error:C.json&&typeof C.json.error=="string"&&C.json.error||e("error-failed")}:{json:C.json}}async function ne(y){await r();let S=t();if(!S||y.dropped)return;let A=Ke.getState(S.state).entries.get(y.id),{src:C,width:I,height:P}=y.reply,H=S.state.schema.nodes.image.create({src:C,alt:y.alt||null,width:I||null,height:P||null}),ce=W.getState(S.state),Z=A?A.pos:null;if(A&&A.pos!==null&&y.rel&&ce&&y.binding===ce.binding){let Zt=b(S.state,y);Zt!==null&&(Z=Zt)}let re=Z===null,fe=re?{pos:S.state.doc.content.size,inline:!1}:tg(S.state.doc,Z),dt=S.state.tr.setMeta(Ke,{remove:[y.id]}),Ge=fe.pos;try{fe.inline?dt=dt.insert(Ge,H):(dt=dt.insert(Ge,S.state.schema.nodes.paragraph.create(null,H)),Ge+=1)}catch{Ge=dt.doc.content.size,dt=S.state.tr.setMeta(Ke,{remove:[y.id]}).insert(Ge,S.state.schema.nodes.paragraph.create(null,H)),Ge+=1}let Gr=!re&&Ke.getState(S.state).moves===y.moves;S.dispatch(dt);let ue=t(),ht=ue===S&&S.state.doc.nodeAt(Ge);if(!(ue===S&&!Ke.getState(S.state).entries.has(y.id))&&(!ht||ht.type.name!=="image"||ht.attrs.src!==C))return et(y,e("error-failed"));w(y),re&&i(e("added-end")),Gr&&o&&!y.paste?(S.dispatch(S.state.tr.setSelection(F.near(S.state.doc.resolve(Ge+1)))),o(S,Ge,"upload")):s(e("added"))}function et(y,S){let{group:A,bar:C,why:I,actions:P}=y.dom;C.hidden=!0,I.hidden=!1,I.textContent=S,A.setAttribute("docs-upload","failed"),A.setAttribute("aria-label",e("not-uploaded",{name:y.name})),s(e("not-uploaded-why",{why:S})),P.replaceChildren();let H=(ce,Z)=>{let re=document.createElement("button");re.type="button",re.setAttribute("rst-btn",""),re.textContent=ce,re.addEventListener("mousedown",fe=>fe.preventDefault()),re.addEventListener("click",Z),P.append(re)};H(e("retry"),()=>E(y)),H(e("remove"),()=>{_(y);let ce=t();ce&&ce.focus()})}function v(y,S,A){if(!S.length)return;if(!a){i(e("error-off"));return}let C=S.map(I=>({upload:m({file:I},I.name),pos:A}));y.dispatch(y.state.tr.setMeta(Ke,{add:C}).setMeta("addToHistory",!1))}function j(y,S,A){let{slice:C,taken:I}=cf(S,y.state.schema,{sqid:n,origin:l});if(!I.length)return C===S?!1:(y.dispatch(y.state.tr.replaceSelection(C).scrollIntoView().setMeta("paste",A==="paste").setMeta("uiEvent",A)),!0);let{from:P,to:H}=y.state.selection,ce=Ve.getState(y.state),Z=ce&&ce.undoManager;Z&&Z.stopCapturing();let re=Z&&Z.undoStack[Z.undoStack.length-1]||null,fe=y.state.tr.replaceSelection(C),dt=fe.mapping.map(P,-1),Ge=fe.mapping.map(H,1),Gr=Qm(fe,dt,Ge,I.length)||I.map(()=>fe.selection.from),ue=[],ht=0;return I.forEach((St,Zt)=>{if(St.kind==="other"||!a){ht++;return}let dl=St.kind==="copy"?{copy:St.src}:{data:St.src},ms=m(dl,St.alt||e("unnamed"),{alt:St.alt,paste:!0,pasteBefore:re});ue.push({upload:ms,pos:Gr[Zt]})}),ue.length&&fe.setMeta(Ke,{add:ue}),y.dispatch(fe.scrollIntoView().setMeta("paste",A==="paste").setMeta("uiEvent",A)),ht&&i(e(ht===1?"left-one":"left-other",{n:ht.toLocaleString(document.documentElement.lang||void 0)})),!0}let se=new oe({props:{handlePaste(y,S,A){let C=Zm(S.clipboardData);return C.length?(S.preventDefault(),v(y,C,y.state.selection.from),!0):j(y,A,"paste")},handleDrop(y,S,A,C){if(C)return!1;let I=S.dataTransfer;if(Xm(I))return S.preventDefault(),i(e("error-type")),!0;let P=ul(I);if(P.length&&!a)return S.preventDefault(),i(e("error-off")),!0;let H=y.posAtCoords({left:S.clientX,top:S.clientY}),ce=H?H.pos:y.state.selection.from;if(P.length)return S.preventDefault(),y.dispatch(y.state.tr.setSelection(F.near(y.state.doc.resolve(ce)))),v(y,P,y.state.selection.from),y.focus(),!0;if(!A||!A.size)return!1;let{taken:Z}=cf(A,y.state.schema,{sqid:n,origin:l});return Z.length?(S.preventDefault(),y.dispatch(y.state.tr.setSelection(F.near(y.state.doc.resolve(ce)))),j(y,A,"drop"),y.focus(),!0):!1}}});function ze(y,S,A){if(!a||!A||!A.editable)return!1;if(!S)return!0;let C=document.createElement("input");return C.type="file",C.accept=Wm,C.multiple=!0,C.hidden=!0,C.setAttribute("docs-image-input",""),C.addEventListener("change",()=>{let I=[...C.files];C.remove();let P=t();I.length&&P&&v(P,I,P.state.selection.from)}),C.addEventListener("cancel",()=>C.remove()),document.body.append(C),C.click(),!0}return{plugins:[se,N],insertImage:ze,remount(y){let S=[...u.values()].filter(A=>!A.dropped&&!A.done);S.length&&y.dispatch(y.state.tr.setMeta(Ke,{adopt:S}).setMeta("addToHistory",!1))},inFlight:()=>[...u.values()].filter(y=>!y.dropped&&!y.done).length}}var uk=2e3,dk=240,hk=120;function sg(n){let e=String(n??"");if(!/^\d{1,5}$/.test(e))return null;let t=Math.min(Number(e),1e4);return t>0?t:null}function ut(n,e={},t=""){let r=document.createElement(n);for(let[i,s]of Object.entries(e))r.setAttribute(i,s);return t&&(r.textContent=t),r}var wt=null,pk=0,og=new WeakMap;function hf(){wt&&wt.finish(!0,!1)}var uf=class{constructor(e,t,r,i){Object.assign(this,{node:e,view:t,getPos:r,ctx:i}),this.dom=ut("span",{"docs-image-frame":""}),og.set(this.dom,this),this.paint()}name(e){return e?this.ctx.t("name",{alt:e}):this.ctx.t("name-none")}paint(){this.dom.replaceChildren(),this.badge=null,this.img=null,this.retried=!1;let{src:e,alt:t}=this.node.attrs;if(!Hm(e,this.ctx.sqid))return this.missing();let r=ut("img",{src:e,alt:t||"",loading:"lazy",decoding:"async",draggable:"false"}),i=sg(this.node.attrs.width),s=sg(this.node.attrs.height);i&&r.setAttribute("width",String(i)),s&&r.setAttribute("height",String(s)),r.addEventListener("error",()=>{if(this.retried)return this.missing();this.retried=!0,setTimeout(()=>{this.img===r&&r.setAttribute("src",e+(e.startsWith("data:")?"":"?again=1"))},uk)}),this.img=r,this.dom.append(r),this.badge=ut("button",{type:"button","docs-alt-badge":""},this.ctx.t("alt-badge")),this.badge.addEventListener("mousedown",o=>o.preventDefault()),this.badge.addEventListener("click",o=>{o.preventDefault(),this.describe("badge")}),this.showAlt(),this.dom.append(this.badge,this.bubble())}missing(){this.img=null,this.badge=null;let e=ut("span",{"docs-image-missing":"",role:"img","aria-label":this.ctx.t("missing")});e.append(ut("span",{"docs-image-missing-text":""},this.ctx.t("missing"))),this.node.attrs.alt&&e.append(ut("span",{"docs-image-missing-alt":""},this.node.attrs.alt)),this.dom.replaceChildren(e)}showAlt(){if(!this.badge)return;let e=this.node.attrs.alt;this.badge.setAttribute("docs-alt-badge",e?"set":"missing"),this.badge.setAttribute("aria-label",e?this.ctx.t("alt-edit",{alt:e}):this.ctx.t("alt-add")),this.badge.tabIndex=e?-1:0,this.img&&this.img.setAttribute("alt",e||"")}bubble(){let e=ut("span",{"docs-image-bubble":"",role:"group","aria-label":this.ctx.t("bubble")}),t=ut("button",{type:"button","rst-btn":""},this.ctx.t("alt-text"));if(t.addEventListener("mousedown",r=>r.preventDefault()),t.addEventListener("click",()=>this.describe("bubble")),e.append(t),!this.node.attrs.src.startsWith("data:")){let r=ut("a",{href:this.node.attrs.src,target:"_blank",rel:"noopener","rst-btn":""},this.ctx.t("open"));e.append(r)}return e}describe(e){if(e==="badge"&&wt&&wt.frame===this.dom){wt.finish(!0,!0);return}hf(),!(!this.img||!this.dom.isConnected)&&(wt=new df(this,e))}update(e){if(e.type!==this.node.type||e.attrs.src!==this.node.attrs.src)return!1;let t=this.node;return this.node=e,t.attrs.width!==e.attrs.width||t.attrs.height!==e.attrs.height?(this.dom.hasAttribute("docs-alt-open")||this.paint(),!0):(t.attrs.alt!==e.attrs.alt&&(this.img?this.showAlt():this.missing()),!0)}selectNode(){this.dom.setAttribute("docs-image-selected","")}deselectNode(){this.dom.removeAttribute("docs-image-selected")}stopEvent(e){return!!(e.target&&e.target.closest&&e.target.closest("[docs-alt-badge], [docs-image-bubble], [docs-alt]"))}ignoreMutation(){return!0}destroy(){if(wt&&wt.frame===this.dom){let e=wt;queueMicrotask(()=>e.finish(!0,!1))}}},df=class{constructor(e,t){let{view:r,dom:i,ctx:s}=e;Object.assign(this,{view:r,frame:i,ctx:s,from:t,closed:!1,imageView:e}),this.pos=e.getPos(),this.src=e.node.attrs.src,this.before=e.node.attrs.alt||"";let o=i.getBoundingClientRect();this.inset=o.width>=dk&&o.height>=hk;let l=ut("span",{"docs-alt":this.inset?"inset":"popover"}),a=`docs-alt-${++pk}`,c=ut("label",{for:a},s.t("alt-label")),f=ut("textarea",{id:a,rows:"1",autocomplete:"off",enterkeyhint:"done",maxlength:String(fl)});f.value=this.before,l.append(c,f),Object.assign(this,{wrap:l,text:f}),f.addEventListener("keydown",u=>this.key(u)),l.addEventListener("mousedown",u=>{u.target!==f&&(u.preventDefault(),f.focus({preventScroll:!0}))}),f.addEventListener("input",()=>{let u=f.value.replace(/[ \t]*\r?\n[ \t]*/g," ");u!==f.value&&(f.value=u)}),f.addEventListener("blur",()=>{document.hasFocus()&&setTimeout(()=>{document.activeElement!==f&&this.finish(!0,!1)},0)}),i.append(l),i.setAttribute("docs-alt-open",""),f.focus({preventScroll:!0}),f.setSelectionRange(f.value.length,f.value.length),l.scrollIntoView&&l.scrollIntoView({block:"nearest"})}key(e){e.isComposing||e.keyCode===229||(e.key==="Enter"||e.key==="Tab"?(e.preventDefault(),this.finish(!0,!0)):e.key==="Escape"&&(e.preventDefault(),e.stopPropagation(),this.finish(!1,!0)))}place(){let{doc:e}=this.view.state,t=i=>typeof i=="number"&&i>=0&&i<e.content.size&&e.nodeAt(i)&&e.nodeAt(i).type.name==="image"&&e.nodeAt(i).attrs.src===this.src;if(t(this.pos))return this.pos;let r=null;try{r=this.imageView.getPos()}catch{r=null}return t(r)||(r=null,e.descendants((i,s)=>(r===null&&i.type.name==="image"&&i.attrs.src===this.src&&(r=s),r===null))),r}finish(e,t){if(this.closed)return;this.closed=!0,wt===this&&(wt=null),this.wrap.remove(),this.frame.removeAttribute("docs-alt-open");let r=this.place(),i=ff(this.text.value),s=e&&r!==null&&i!==this.before;if(s&&this.view.dispatch(this.view.state.tr.setNodeAttribute(r,"alt",i||null)),s&&this.ctx.say(i?this.ctx.t("name",{alt:i}):this.ctx.t("name-none")),!t)return;let o=this.place();if(this.from==="badge"){let l=o===null?null:this.view.nodeDOM(o),a=l&&l.querySelector&&l.querySelector("[docs-alt-badge]");if(a){a.focus();return}}if(o!==null){let l=this.from==="upload"?F.near(this.view.state.doc.resolve(o+1)):B.create(this.view.state.doc,o);this.view.dispatch(this.view.state.tr.setSelection(l))}this.view.focus()}};function lg(n){return{image:(e,t,r)=>new uf(e,t,r,n)}}function ag(n,e,t){let r=n.nodeDOM(e),i=r&&og.get(r);i&&i.describe(t)}var mk=["p",0],gk=["blockquote",0],yk=["hr"],bk=["pre",["code",0]],xk=["br"],wk={doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM(){return mk}},blockquote:{content:"block+",group:"block",defining:!0,parseDOM:[{tag:"blockquote"}],toDOM(){return gk}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM(){return yk}},heading:{attrs:{level:{default:1,validate:"number"}},content:"inline*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM(n){return["h"+n.attrs.level,0]}},code_block:{content:"text*",marks:"",group:"block",code:!0,defining:!0,parseDOM:[{tag:"pre",preserveWhitespace:"full"}],toDOM(){return bk}},text:{group:"inline"},image:{inline:!0,attrs:{src:{validate:"string"},alt:{default:null,validate:"string|null"},title:{default:null,validate:"string|null"}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs(n){return{src:n.getAttribute("src"),title:n.getAttribute("title"),alt:n.getAttribute("alt")}}}],toDOM(n){let{src:e,alt:t,title:r}=n.attrs;return["img",{src:e,alt:t,title:r}]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM(){return xk}}},Sk=["em",0],kk=["strong",0],Ck=["code",0],Ek={link:{attrs:{href:{validate:"string"},title:{default:null,validate:"string|null"}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs(n){return{href:n.getAttribute("href"),title:n.getAttribute("title")}}}],toDOM(n){let{href:e,title:t}=n.attrs;return["a",{href:e,title:t},0]}},em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:n=>n.type.name=="em"}],toDOM(){return Sk}},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:n=>n.style.fontWeight!="normal"&&null},{style:"font-weight=400",clearMark:n=>n.type.name=="strong"},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}],toDOM(){return kk}},code:{code:!0,parseDOM:[{tag:"code"}],toDOM(){return Ck}}},er=new vr({nodes:wk,marks:Ek});function cg(n,e){return{group:e,excludes:e,parseDOM:[{tag:"span."+n}],toDOM:()=>["span",{class:n},0]}}var Ak=Rt.reduce((n,e)=>n.addToStart(e,cg("docs-"+e.replace("_","-"),"fontSize")),er.spec.marks),Mk=[..._t].reverse().reduce((n,e)=>{let t=cg("docs-font-"+e.key,"fontFamily");return e.key!==Qe?t.parseDOM=[...t.parseDOM,{style:"font-family",getAttrs:r=>ol(r)===e.key?null:!1}]:t.parseDOM=[...t.parseDOM,{style:"font-family",getAttrs:r=>ol(r)===Qe||ol(r)===null?null:!1,clearMark:r=>r.type.spec.group==="fontFamily"}],n.addToStart("font_"+e.key,t)},Ak);function Tk(n){let e=(t,r)=>{let i=t.getAttribute(r);return i&&/^\d{1,5}$/.test(i)&&Number(i)>0?Math.min(Number(i),1e4):null};return{...n,attrs:{...n.attrs,width:{default:null},height:{default:null}},parseDOM:[{tag:"img[src]",getAttrs:t=>({src:t.getAttribute("src"),alt:t.getAttribute("alt"),title:t.getAttribute("title"),width:e(t,"width"),height:e(t,"height")})}],toDOM(t){let{src:r,alt:i,title:s,width:o,height:l}=t.attrs;return["img",{src:r,alt:i,title:s,width:o,height:l}]}}}var Dk=zp(er.spec.nodes.update("paragraph",qc(Em(er.spec.nodes.get("paragraph")),"p")).update("heading",qc(er.spec.nodes.get("heading"),"h1")).update("hard_break",xm(er.spec.nodes.get("hard_break"))).update("image",Tk(er.spec.nodes.get("image"))),"paragraph block*","block"),Te=new vr({nodes:Dk,marks:Mk});function Kr(n){let e=n.name||n;if(typeof e=="string"&&e.startsWith("font_"))return e.slice(5);let t=typeof n=="string"?Te.marks[n]:n;return t&&t.spec.code?Qn:null}function hs(n){let e=typeof n=="string"?Te.nodes[n]:n;return e&&e.spec.code?Qn:null}function fg(n,e=new Set([Qe])){return n.descendants(t=>{let r=hs(t.type);r&&e.add(r);for(let i of t.marks){let s=Kr(i.type);s&&e.add(s)}}),e}var Bt=new ot("docs-kept-selection"),Nk=new oe({key:Bt,state:{init:()=>!1,apply:(n,e)=>{let t=n.getMeta(Bt);return t===void 0?e:t}},props:{decorations(n){if(!Bt.getState(n))return null;let{from:e,to:t,empty:r}=n.selection;return r?ae.create(n.doc,[Fe.widget(e,()=>{let i=document.createElement("span");return i.setAttribute("data-docs-kept-caret",""),i},{side:1})]):ae.create(n.doc,[Fe.inline(e,t,{"data-docs-kept":""})])}}});function Ik(n){let{anchor:e,head:t,from:r,to:i}=n.state.selection,s=n.state.doc,o=s.resolve(e),l=s.resolve(t),a={at:{anchor:e,head:t},rel:null,text:s.textBetween(r,i,`
`),anchorBlock:o.parent.textContent,anchorOffset:e-o.start(),headBlock:l.parent.textContent,headOffset:t-l.start(),oneBlock:o.sameParent(l)},c=W.getState(n.state);return c&&c.binding&&(a.rel={anchor:Kt(e,c.type,c.binding.mapping),head:Kt(t,c.type,c.binding.mapping)}),a}function ug(n,e,t,r){if(t<0||r<0||t>n.content.size||r>n.content.size)return!1;let i=n.resolve(t);return!i.parent.isTextblock||i.parent.textContent!==e.anchorBlock?!1:n.textBetween(Math.min(t,r),Math.max(t,r),`
`)===e.text}function vk(n,e,t){if(e.rel&&t&&t.binding){let i=Nt(t.doc,t.type,e.rel.anchor,t.binding.mapping),s=Nt(t.doc,t.type,e.rel.head,t.binding.mapping);if(i!==null&&s!==null)return{anchor:i,head:s}}if(ug(n,e,e.at.anchor,e.at.head))return e.at;let r=null;return n.descendants((i,s)=>{if(!i.isTextblock)return!0;if(i.textContent!==e.anchorBlock)return!1;let o=s+1+e.anchorOffset,l=s+1+e.headOffset;if(e.oneBlock||(l=-1,n.nodesBetween(s+i.nodeSize,n.content.size,(a,c)=>l>=0?!1:a.isTextblock?(a.textContent===e.headBlock&&(l=c+1+e.headOffset),!1):!0)),ug(n,e,o,l)){let a=Math.abs(o-e.at.anchor);(!r||a<r.distance)&&(r={anchor:o,head:l,distance:a})}return!1}),r&&{anchor:r.anchor,head:r.head}}function _k(n,e){if(!e)return n.dispatch(n.state.tr.setMeta(Bt,!0)),!0;let t=vk(n.state.doc,e,W.getState(n.state));if(!t)return!1;let r=n.state.tr.setMeta(Bt,!0);return n.dispatch(r.setSelection(F.between(r.doc.resolve(t.anchor),r.doc.resolve(t.head)))),!0}Fm([...Object.values(Te.nodes).filter(n=>hs(n)).map(n=>[n.name,hs(n)]),...Object.values(Te.marks).filter(n=>!n.name.startsWith("font_")&&Kr(n)).map(n=>[n.name,Kr(n)])]);function Rk(n,e){return e&&e(n.tr.replaceSelectionWith(Te.nodes.hard_break.create()).scrollIntoView()),!0}var Bk=250,ps="carried",dg=500;function pf(n,e){if(!e.length)return;let t=Et(e);for(;Ts(t);)Ju(t,n,"server")}function pg(){return globalThis.docsFonts||Vm(document.documentElement)}function Lk(){return document.documentElement.getAttribute("data-docs-layout")==="frozen"}function Uk(n){let e=new Set([Qe]),t=r=>{if(r instanceof Oe){for(let i of r.toDelta())for(let s of Object.keys(i.attributes||{})){let o=Kr(s);o&&e.add(o)}return}if(r instanceof ye){let i=hs(r.nodeName);i&&e.add(i)}for(let i of r.toArray())t(i)};return t(n),[...e]}function Pk(n){let e=new Set,t=r=>{let i=Kr(r.type);i&&e.add(i)};for(let r of n.steps)r.slice&&fg(r.slice.content,e),r.mark&&t(r.mark);return n.storedMarksSet&&n.storedMarks&&n.storedMarks.forEach(t),e.delete(void 0),[...e]}function Fk(){let n=document.createElement("div");return n.setAttribute("docs-images-live",""),n.setAttribute("aria-live","polite"),n.setAttribute("role","status"),document.body.append(n),e=>{n.textContent="",setTimeout(()=>{n.textContent=e},30)}}function hg(){return new Promise(n=>requestAnimationFrame(()=>n()))}async function Vk(n){let e=n.getAttribute("data-sqid"),t=pg(),r=`/d/${e}/updates`,i=`/d/${e}/stream`,s=document.querySelector('[estilo-save-status~="floating"]'),o=new URL(n.getAttribute("data-save-status-module"),location.href);if(!s||o.origin!==location.origin)throw new Error("Invalid save-status module");let{mount:l}=await import(o.href),a=l(s),c=Array.from(document.querySelectorAll('[estilo-save-status~="subtitle"]')).map(l),f=document.querySelector('[estilo-save-status~="subtitle"]'),u=document.querySelector("[docs-inline-state]"),d=x=>{a(x);let M=x==="retrying"||x==="failed"?x:"saved";for(let D of c)D(M);if(u&&f){let D=f.getAttribute("data-text-"+M)||"";u.getAttribute("data-state")!==M&&u.setAttribute("data-state",M),u.textContent!==D&&(u.textContent=D)}},h=!1,p=null,m=null,g=0,b=()=>({top:5,left:5,right:5,bottom:5+(g?g+8:0)}),O=null,N=Vp(),X=null,G=null;function _(x,M,D){if(X||!nr.diverged||!M.some(L=>L.docChanged))return D();let R=M.map(L=>L.getMeta(W)).filter(Boolean);if(R.length){if(R.some(L=>L.isUndoRedoOperation)){let L=Fp(x.before,M[M.length-1].doc);L&&(G={tr:{before:x.before,steps:[L]},schema:Te,locate:Y=>Y.getXmlFragment("prosemirror")})}return D()}X={tr:{before:x.before,steps:M.flatMap(L=>L.steps)},schema:Te,locate:L=>L.getXmlFragment("prosemirror")};try{D()}finally{X=null}}let w=null,E=null,z=document.querySelector("[docs-canvas]"),ne=z&&z.getAttribute("data-view")===Zn?Zn:fs,et=z?z.getAttribute("data-page-label"):"",v=!1;t.fontsReady.then(()=>{document.documentElement.getAttribute("data-docs-fonts")!=="pending"&&document.documentElement.setAttribute("data-docs-layout","frozen"),v=!0});let j=()=>v&&!Lk()?ne:fs;function se(x){ne=x,document.documentElement.removeAttribute("data-docs-layout"),z&&z.setAttribute("data-view",x),sm(x);let M=m;M&&M.dispatch(M.state.tr)}let ze=fm(document.querySelector("[docs-wordcount]"),{getView:()=>m}),y=um(document.querySelector("[docs-shortcuts]"),{menubar:document.querySelector("[estilo-menubar]"),extraRows:Array.from(document.querySelectorAll("[docs-shortcuts-extra] span")).map(x=>({group:x.closest("[docs-shortcuts-extra]").getAttribute("data-group")||"",label:x.getAttribute("data-label")||"",keys:x.getAttribute("data-keys")||""}))}),S=!1,A=[],C=()=>S?new Promise(x=>A.push(x)):Promise.resolve(),I=zm(document.querySelector("[docs-fonts-status]")),P=Array.from(document.querySelectorAll("[docs-history], [docs-quickbar]")),H=[document.querySelector("[docs-toolbar]"),document.querySelector("[estilo-menubar]"),...P,document.querySelector('[data-estilo-toggle][aria-controls="docs-inspector"]')].filter(Boolean),ce=document.querySelector("[docs-page]"),Z=8e3,re=new oe({filterTransaction(x){if(x.getMeta(W))return!0;if(S)return!x.docChanged&&!x.storedMarksSet?!0:(I.say("refused"),!1);let M=Pk(x),D=M.filter(L=>!t.ready(L));if(!D.length)return t.use(M),!0;if(m&&m.composing)return t.commitFallback(D),t.use(M),!0;let R=m;return fe(D,()=>R!==m||R.state.doc!==x.before?!1:(R.dispatch(x),!0)),!1}});async function fe(x,M){S=!0,St(!0);let D=!1;try{D=await t.waitFor(x,Pm)&&x.every(R=>t.loaded(R)||t.committed(R))}catch{D=!1}S=!1,St(!1);try{D=D&&M()!==!1}catch(R){console.error("fonts:",R),D=!1}finally{D?I.clear():I.say("unavailable",Z);let R=A;A=[];for(let L of R)L()}}let dt=new Set(["Backspace"," ","Spacebar","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"]),Ge=x=>{if(!dt.has(x.key))return;let M=x.target;(!M||M===document.body||M===document.documentElement||M.closest&&M.closest("[inert]"))&&x.preventDefault()},Gr=x=>{x.preventDefault(),x.returnValue=""},ue={open:!1,hadFocus:!1},ht=!1;function St(x){let M=x?"addEventListener":"removeEventListener";window[M]("keydown",Ge),window[M]("beforeunload",Gr);let D=m,R=D&&D.dom;x&&(ht=!!R&&(R.contains(document.activeElement)||H.some(L=>L.contains(document.activeElement))));for(let L of[...H,R])L&&(L.inert=x);ce&&ce.setAttribute("aria-busy",x?"true":"false"),x?I.say("loading"):ht&&D&&!ue.open&&(!document.activeElement||document.activeElement===document.body)&&D.focus()}let Zt=x=>(M,D,R)=>{if(!D)return x(M,D,R);if(S)return I.say("refused"),!0;let L=t.inUse.filter(Y=>!t.ready(Y));return L.length?(fe(L,()=>{let Y=m;return Y?(x(Y.state,Y.dispatch,Y),!0):!1}),!0):x(M,D,R)},dl=()=>I.say("unavailable",Z),ms=rg(document.querySelector("[docs-images]")),gf=Fk();async function mg(){for(;;){if(S){await C();continue}if(nr.diverged){await new Promise(x=>setTimeout(x,250));continue}return}}let gg=8e3,hl=n.hasAttribute("data-images"),gs=ig({sqid:e,t:ms,getView:()=>m,settled:mg,notice:x=>I.tell(x,gg),say:gf,describe:ag,enabled:hl}),yg=()=>{let x=document.querySelector('[data-estilo-toggle][aria-controls="docs-inspector"]');return!x||x.disabled||x.inert||!(typeof x.checkVisibility=="function"?x.checkVisibility():x.getClientRects().length>0)?!1:(x.focus(),document.activeElement===x)};document.addEventListener("docs:format-sheet",x=>{let M=m,D=!!(x.detail&&x.detail.open);if(D!==ue.open&&(ue.open=D,!!M))if(D){ue.hadFocus=M.hasFocus();let R=M.composing;ue.hadFocus&&M.dom.blur();let L=()=>{let Q=m;Q&&ue.open&&!Bt.getState(Q.state)&&Q.dispatch(Q.state.tr.setMeta(Bt,!0))};if(!R&&!M.composing)L();else{let Q=!1,kt=()=>{Q||(Q=!0,M.dom.removeEventListener("compositionend",kt),setTimeout(L,50))};M.composing?(M.dom.addEventListener("compositionend",kt),setTimeout(kt,500)):kt()}let Y=x.detail&&x.detail.height||0;try{let Q=M.coordsAtPos(M.state.selection.head),kt=window.innerHeight-Y-16;Q.bottom>kt&&window.scrollBy(0,Q.bottom-kt)}catch{}}else M.hasFocus()?setTimeout(()=>{let R=m;R&&!ue.open&&Bt.getState(R.state)&&R.dispatch(R.state.tr.setMeta(Bt,!1))},50):(M.dispatch(M.state.tr.setMeta(Bt,!1)),ue.hadFocus&&M.focus())}),document.addEventListener("docs:quickbar",x=>{g=Math.max(0,Math.round(x.detail&&x.detail.height||0)),m&&m.setProps({scrollMargin:b()})});let tr=_m({root:document.querySelector("[docs-toolbar]"),history:P,refocus:()=>!ue.open,schema:Te,fonts:t,onFontUnavailable:dl,getView:()=>m,onSync:x=>{E&&E.sync(x)},extraCommands:hl?{insert_image:gs.insertImage}:{}});E=Bm(document.querySelector("[estilo-menubar]"),{getView:()=>m,commands:tr.commands,refocus:()=>!ue.open,isPressed:(x,M)=>x==="view_paged"?ne===Zn:x==="view_infinite"?ne===fs:!!(M&&tr.isPressed&&tr.isPressed(M.state,x)),extraCommands:{view_paged:()=>(se(Zn),!0),view_infinite:()=>(se(fs),!0),...ze?{word_count:ze}:{},...y?{shortcuts:y}:{}}});function pl(x){d(h?"failed":x)}let bg=mm({url:r});function xg(x){return ym({post:async(M,D)=>{let R=await bg(M,D),L=x();if(R.ok&&L){let Y=Number(R.headers.get("Docs-Seq"));Number.isFinite(Y)&&L.noteOwnSeq(Y)}return R},mergeUpdates:yo,debounceMs:Bk,maxBatchBytes:32768,answerTimeoutMs:pm,probe:()=>gm("/healthz"),onStatus:M=>{M==="failed"&&(h=!0,nr.reportDivergence()),pl(M==="saving"?"ok":M)}})}function wg(x){let M=m;if(!M||x.button!==0||M.dom.contains(x.target))return;let D=M.dom.getBoundingClientRect(),R=M.posAtCoords({left:Math.min(Math.max(x.clientX,D.left+1),D.right-1),top:Math.min(Math.max(x.clientY,D.top+1),D.bottom-1)}),L=R?R.pos:M.state.doc.content.size,Y=q.near(M.state.doc.resolve(L));x.preventDefault(),M.dispatch(M.state.tr.setSelection(Y).scrollIntoView()),M.focus()}function Sg(x,M,D){let R=[Ec(M),Up({undoManager:D}),im(Te),om({getMode:j,pageLabel:et}),re,Lc({"Mod-z":Zt(Oc),"Mod-y":Zt(Zo),"Mod-Shift-z":Zt(Zo),"Mod-b":Xn(Te.marks.strong),"Mod-i":Xn(Te.marks.em),"Shift-Enter":Rk,Tab:It(Qo(Te.nodes.list_item),Yr(1)),"Shift-Tab":It(as(Te.nodes.list_item),Yr(-1)),Backspace:nm,Escape:()=>tr.focusStop()||yg(),Enter:It(qp(Te.nodes.list_item),zc.Enter)}),Lc(zc)];return tr.plugin&&R.push(tr.plugin),R.push(Nk),hl&&R.push($m({class:"docs-dropcursor",width:2})),R.push(...gs.plugins),new Qi({mount:x},{state:Pr.create({schema:Te,plugins:R}),scrollMargin:b(),nodeViews:lg({sqid:e,t:ms,say:gf}),dispatchTransaction(L){let{state:Y,transactions:Q}=this.state.applyTransaction(L);_(L,Q,()=>this.updateState(Y))},transformPasted:wm(Te)})}async function yf(x){let M=rf(r,{raw:x}),D=await fetch(M,{credentials:"same-origin"});if(!D.ok)throw new Error(`load ${M}: ${D.status}`);return{log:new Uint8Array(await D.arrayBuffer()),startSeq:Number(D.headers.get("Docs-Seq"))}}async function bf(){for(;S;)await C();let{log:x,startSeq:M}=await yf(!1),D=new Ye;try{pf(D,x)}catch{({log:x,startSeq:M}=await yf(!0)),D=new Ye,pf(D,x)}let R=D.getXmlFragment("prosemirror");await t.prepare(Uk(R));let L=null,Y=xg(()=>L),Q=D;for(Q.on("update",(te,Lt)=>{if(Lt!=="server"){if(nr.diverged){if(Q===O&&Lt!==ps){let Qt=X||G||void 0;G=null,N.keep(Q,te,Qt)}return}Y.enqueue(te)}}),Q.on("beforeTransaction",te=>{Q!==O||!nr.diverged||te.origin==="server"||te.origin===ps||(G=null,N.before(Q,te.origin===W?"pm":"other"))});S;)await C();let kt=new cn(R,{trackedOrigins:new Set([W,ps]),captureTimeout:dg,deleteFilter:te=>Ic(te,Nc),captureTransaction:te=>te.meta.get("addToHistory")!==!1}),kf=(te,Lt)=>{(!Lt||te.at-Lt.at>=dg)&&kt.stopCapturing()},Cf=_c(Q,N.take(),ps,kf),kg=ue.open&&m?Ik(m):null;m&&m.destroy(),p=Y,O=Q,hf(),m=Sg(n,R,kt),gs.remount(m),ue.open&&!_k(m,kg)&&(ue.hadFocus=!1,document.dispatchEvent(new CustomEvent("docs:format-sheet-close"))),w&&w.stop(),L=Lm({initialSeq:Number.isFinite(M)?M:0,openStream:(te,Lt)=>{let Qt=new EventSource(i,{withCredentials:!0});return Qt.addEventListener("update",en=>te(Number(en.data))),Qt.addEventListener("error",en=>Lt(en)),{close:()=>Qt.close()}},fetchSince:async(te,{raw:Lt}={})=>{let Qt=rf(r,{since:te,raw:Lt}),en=await fetch(Qt,{credentials:"same-origin"});if(!en.ok)throw new Error(`fetch ${Qt}: ${en.status}`);return{bytes:new Uint8Array(await en.arrayBuffer()),seq:Number(en.headers.get("Docs-Seq"))}},onUpdates:async te=>{await t.prepareRemote(te),await C(),!(nr.diverged||w!==L)&&pf(D,te)},onError:te=>{console.error("live updates:",te)}}),w=L,w.start(),typeof document<"u"&&document.hidden&&w.noteHidden();let Ef=_c(Q,N.take(),ps,kf);for(let te of Cf.post.concat(Ef.post))Y.enqueue(te);Cf.lost+Ef.lost&&console.warn("resync: a change made on top of a refused one could not be carried over")}let nr=bm({attemptResync:bf,onDiverged:()=>{O&&(O.clientID=vc(O)),pl("failed")},onRecovered:()=>pl(h?"failed":"ok")});addEventListener("pageshow",x=>{x.persisted&&p&&p.resume()}),await bf(),await t.fontsReady,m&&m.dispatch(m.state.tr.setMeta("docs-fonts-ready",!0)),t.previewsDone.then(()=>m&&m.dispatch(m.state.tr.setMeta("docs-previews-ready",!0))),await hg(),await hg(),t.settled();let Xr=m;Xr&&Xr.editable&&Xr.state.doc.textContent===""&&Xr.state.doc.childCount<=1&&(!document.activeElement||document.activeElement===document.body)&&Xr.focus(),addEventListener("visibilitychange",()=>{document.hidden?w&&w.noteHidden():w&&w.noteActivity()});for(let x of["pointermove","scroll","keydown","focus"])addEventListener(x,()=>w&&w.noteActivity(),{passive:!0,capture:!0});let xf=n.closest("[docs-page]");xf&&xf.addEventListener("mousedown",wg);let ml=!1,wf=()=>{ml=!0,setTimeout(()=>{ml=!1},0)};document.addEventListener("mousedown",wf,!0),document.addEventListener("touchstart",wf,!0),n.addEventListener("focus",()=>{if(ml)return;let x=m;x&&x.dispatch(x.state.tr.scrollIntoView())}),addEventListener("beforeunload",x=>{gs.inFlight()&&(x.preventDefault(),x.returnValue="")});let Sf=x=>!!(x.dataTransfer&&Array.from(x.dataTransfer.types||[]).includes("Files"));return addEventListener("dragover",x=>{Sf(x)&&x.preventDefault()}),addEventListener("drop",x=>{Sf(x)&&!(m&&m.dom.contains(x.target))&&x.preventDefault()}),addEventListener("beforeunload",()=>{let x=[];for(let Y of N.entries)x.push(...Y.updates);let M=Y=>{let Q=Y?[Y,...x]:x;return Q.length?Q.length===1?Q[0]:yo(Q):null},D=p,R=M(D&&D.pendingBytes({wire:"plain"}));if(!R)return;let L=[R];if(D&&D.onWire==="plain"){let Y=M(D.pendingBytes({wire:"none"}));Y&&L.push(Y)}for(let Y of L)if(navigator.sendBeacon(r,new Blob([Y],{type:"application/octet-stream"})))return;console.error("beforeunload: sendBeacon refused the pending edit, retrying via keepalive fetch"),fetch(r,{method:"POST",credentials:"same-origin",keepalive:!0,headers:{"Content-Type":"application/octet-stream"},body:L[L.length-1]}).catch(()=>{})}),m}var mf=document.querySelector("[docs-editor]");mf&&Vk(mf).catch(n=>{pg().settled(),mf.setAttribute("data-editor-failed","1"),console.error(n)});export{Vk as mountEditor};
diff --git a/internal/docs/views/show.html b/internal/docs/views/show.html
index a769048..418b585 100644
--- a/internal/docs/views/show.html
+++ b/internal/docs/views/show.html
@@ -2504,7 +2504,7 @@
data-error-offline="{{.ErrorOffline}}" data-error-failed="{{.ErrorFailed}}" data-error-off="{{.ErrorOff}}"
data-retry="{{.Retry}}" data-remove="{{.Remove}}" data-added="{{.Added}}" data-added-end="{{.AddedEnd}}"
data-left-one="{{.LeftOne}}" data-left-other="{{.LeftOther}}" data-missing="{{.Missing}}"
- data-name="{{.Name}}" data-name-none="{{.NameNone}}" data-alt-badge="{{.AltBadge}}" data-alt-add="{{.AltAdd}}"
+ data-name="{{.Name}}" data-name-none="{{.NameNone}}" data-unnamed="{{.Unnamed}}" data-alt-badge="{{.AltBadge}}" data-alt-add="{{.AltAdd}}"
data-alt-edit="{{.AltEdit}}" data-alt-label="{{.AltLabel}}" data-alt-text="{{.AltText}}" data-open="{{.Open}}"
data-bubble="{{.Bubble}}"></div>{{end}}{{end}}
{{/* The Tools menu's two dialogs.