@opentiny/fluent-editor 4.0.0-alpha.6 → 4.0.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/README.md +1 -1
  2. package/es/_virtual/_commonjs-dynamic-modules.es.js +7 -0
  3. package/es/_virtual/_commonjs-dynamic-modules.es.js.map +1 -0
  4. package/es/_virtual/_commonjsHelpers.es.js +42 -0
  5. package/es/_virtual/_commonjsHelpers.es.js.map +1 -0
  6. package/es/_virtual/quill-cursors.es.js +5 -0
  7. package/es/_virtual/quill-cursors.es.js.map +1 -0
  8. package/es/_virtual/simplepeer.min.es.js +5 -0
  9. package/es/_virtual/simplepeer.min.es.js.map +1 -0
  10. package/es/index.es.js +2 -0
  11. package/es/index.es.js.map +1 -1
  12. package/es/modules/collaborative-editing/awareness/awareness.es.js +93 -0
  13. package/es/modules/collaborative-editing/awareness/awareness.es.js.map +1 -0
  14. package/es/modules/collaborative-editing/awareness/index.es.js +8 -0
  15. package/es/modules/collaborative-editing/awareness/index.es.js.map +1 -0
  16. package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js +12 -0
  17. package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js.map +1 -0
  18. package/es/modules/collaborative-editing/collaborative-editing.es.js +105 -0
  19. package/es/modules/collaborative-editing/collaborative-editing.es.js.map +1 -0
  20. package/es/modules/collaborative-editing/index.es.js +6 -0
  21. package/es/modules/collaborative-editing/index.es.js.map +1 -0
  22. package/es/modules/collaborative-editing/module.es.js +35 -0
  23. package/es/modules/collaborative-editing/module.es.js.map +1 -0
  24. package/es/modules/collaborative-editing/provider/providerRegistry.es.js +28 -0
  25. package/es/modules/collaborative-editing/provider/providerRegistry.es.js.map +1 -0
  26. package/es/modules/collaborative-editing/provider/webrtc.es.js +99 -0
  27. package/es/modules/collaborative-editing/provider/webrtc.es.js.map +1 -0
  28. package/es/modules/collaborative-editing/provider/websocket.es.js +111 -0
  29. package/es/modules/collaborative-editing/provider/websocket.es.js.map +1 -0
  30. package/es/modules/collaborative-editing/types.es.js +2 -0
  31. package/es/modules/collaborative-editing/types.es.js.map +1 -0
  32. package/es/modules/custom-image/options.es.js +1 -1
  33. package/es/modules/custom-image/options.es.js.map +1 -1
  34. package/es/modules/index.es.js +1 -0
  35. package/es/modules/index.es.js.map +1 -1
  36. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/array.es.js +112 -0
  37. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/array.es.js.map +1 -0
  38. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/binary.es.js +133 -0
  39. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/binary.es.js.map +1 -0
  40. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/broadcastchannel.es.js +59 -0
  41. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/broadcastchannel.es.js.map +1 -0
  42. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/buffer.es.js +75 -0
  43. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/buffer.es.js.map +1 -0
  44. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/conditions.es.js +5 -0
  45. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/conditions.es.js.map +1 -0
  46. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/decoding.es.js +422 -0
  47. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/decoding.es.js.map +1 -0
  48. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/dom.es.js +142 -0
  49. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/dom.es.js.map +1 -0
  50. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/encoding.es.js +484 -0
  51. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/encoding.es.js.map +1 -0
  52. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/environment.es.js +79 -0
  53. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/environment.es.js.map +1 -0
  54. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/error.es.js +13 -0
  55. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/error.es.js.map +1 -0
  56. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/eventloop.es.js +69 -0
  57. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/eventloop.es.js.map +1 -0
  58. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/function.es.js +124 -0
  59. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/function.es.js.map +1 -0
  60. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/indexeddb.es.js +92 -0
  61. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/indexeddb.es.js.map +1 -0
  62. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/iterator.es.js +38 -0
  63. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/iterator.es.js.map +1 -0
  64. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/json.es.js +7 -0
  65. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/json.es.js.map +1 -0
  66. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.common.es.js +99 -0
  67. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.common.es.js.map +1 -0
  68. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.es.js +288 -0
  69. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.es.js.map +1 -0
  70. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/map.es.js +47 -0
  71. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/map.es.js.map +1 -0
  72. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/math.es.js +37 -0
  73. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/math.es.js.map +1 -0
  74. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/metric.es.js +64 -0
  75. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/metric.es.js.map +1 -0
  76. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/mutex.es.js +19 -0
  77. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/mutex.es.js.map +1 -0
  78. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/number.es.js +31 -0
  79. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/number.es.js.map +1 -0
  80. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/object.es.js +72 -0
  81. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/object.es.js.map +1 -0
  82. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/observable.es.js +128 -0
  83. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/observable.es.js.map +1 -0
  84. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/pair.es.js +22 -0
  85. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/pair.es.js.map +1 -0
  86. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/promise.es.js +50 -0
  87. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/promise.es.js.map +1 -0
  88. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/random.es.js +24 -0
  89. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/random.es.js.map +1 -0
  90. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/set.es.js +11 -0
  91. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/set.es.js.map +1 -0
  92. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/storage.es.js +44 -0
  93. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/storage.es.js.map +1 -0
  94. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/string.es.js +95 -0
  95. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/string.es.js.map +1 -0
  96. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/symbol.es.js +7 -0
  97. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/symbol.es.js.map +1 -0
  98. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/time.es.js +28 -0
  99. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/time.es.js.map +1 -0
  100. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/traits.es.js +5 -0
  101. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/traits.es.js.map +1 -0
  102. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/url.es.js +20 -0
  103. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/url.es.js.map +1 -0
  104. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/webcrypto.es.js +7 -0
  105. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/webcrypto.es.js.map +1 -0
  106. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/websocket.es.js +113 -0
  107. package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/websocket.es.js.map +1 -0
  108. package/es/node_modules/.pnpm/quill-cursors@4.0.4/node_modules/quill-cursors/dist/quill-cursors.es.js +1796 -0
  109. package/es/node_modules/.pnpm/quill-cursors@4.0.4/node_modules/quill-cursors/dist/quill-cursors.es.js.map +1 -0
  110. package/es/node_modules/.pnpm/simple-peer@9.11.1/node_modules/simple-peer/simplepeer.min.es.js +2620 -0
  111. package/es/node_modules/.pnpm/simple-peer@9.11.1/node_modules/simple-peer/simplepeer.min.es.js.map +1 -0
  112. package/es/node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.27/node_modules/y-indexeddb/src/y-indexeddb.es.js +155 -0
  113. package/es/node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.27/node_modules/y-indexeddb/src/y-indexeddb.es.js.map +1 -0
  114. package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/auth.es.js +20 -0
  115. package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/auth.es.js.map +1 -0
  116. package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/awareness.es.js +232 -0
  117. package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/awareness.es.js.map +1 -0
  118. package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/sync.es.js +58 -0
  119. package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/sync.es.js.map +1 -0
  120. package/es/node_modules/.pnpm/y-quill@1.0.0_quill-cursors@4.0.4_quill@2.0.3_patch_hash_dnirvjhpzdmsvdidsclwslxxji__yjs@13.6.27/node_modules/y-quill/src/y-quill.es.js +157 -0
  121. package/es/node_modules/.pnpm/y-quill@1.0.0_quill-cursors@4.0.4_quill@2.0.3_patch_hash_dnirvjhpzdmsvdidsclwslxxji__yjs@13.6.27/node_modules/y-quill/src/y-quill.es.js.map +1 -0
  122. package/es/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/crypto.es.js +94 -0
  123. package/es/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/crypto.es.js.map +1 -0
  124. package/es/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/y-webrtc.es.js +537 -0
  125. package/es/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/y-webrtc.es.js.map +1 -0
  126. package/es/node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.27/node_modules/y-websocket/src/y-websocket.es.js +380 -0
  127. package/es/node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.27/node_modules/y-websocket/src/y-websocket.es.js.map +1 -0
  128. package/es/node_modules/.pnpm/yjs@13.6.27/node_modules/yjs/dist/yjs.es.js +7653 -0
  129. package/es/node_modules/.pnpm/yjs@13.6.27/node_modules/yjs/dist/yjs.es.js.map +1 -0
  130. package/lib/_virtual/_commonjs-dynamic-modules.cjs.js +7 -0
  131. package/lib/_virtual/_commonjs-dynamic-modules.cjs.js.map +1 -0
  132. package/lib/_virtual/_commonjsHelpers.cjs.js +42 -0
  133. package/lib/_virtual/_commonjsHelpers.cjs.js.map +1 -0
  134. package/lib/_virtual/quill-cursors.cjs.js +5 -0
  135. package/lib/_virtual/quill-cursors.cjs.js.map +1 -0
  136. package/lib/_virtual/simplepeer.min.cjs.js +5 -0
  137. package/lib/_virtual/simplepeer.min.cjs.js.map +1 -0
  138. package/lib/index.cjs.js +4 -2
  139. package/lib/index.cjs.js.map +1 -1
  140. package/lib/modules/collaborative-editing/awareness/awareness.cjs.js +93 -0
  141. package/lib/modules/collaborative-editing/awareness/awareness.cjs.js.map +1 -0
  142. package/lib/modules/collaborative-editing/awareness/index.cjs.js +8 -0
  143. package/lib/modules/collaborative-editing/awareness/index.cjs.js.map +1 -0
  144. package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js +12 -0
  145. package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js.map +1 -0
  146. package/lib/modules/collaborative-editing/collaborative-editing.cjs.js +105 -0
  147. package/lib/modules/collaborative-editing/collaborative-editing.cjs.js.map +1 -0
  148. package/lib/modules/collaborative-editing/index.cjs.js +6 -0
  149. package/lib/modules/collaborative-editing/index.cjs.js.map +1 -0
  150. package/lib/modules/collaborative-editing/module.cjs.js +35 -0
  151. package/lib/modules/collaborative-editing/module.cjs.js.map +1 -0
  152. package/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js +28 -0
  153. package/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js.map +1 -0
  154. package/lib/modules/collaborative-editing/provider/webrtc.cjs.js +99 -0
  155. package/lib/modules/collaborative-editing/provider/webrtc.cjs.js.map +1 -0
  156. package/lib/modules/collaborative-editing/provider/websocket.cjs.js +111 -0
  157. package/lib/modules/collaborative-editing/provider/websocket.cjs.js.map +1 -0
  158. package/lib/modules/collaborative-editing/types.cjs.js +2 -0
  159. package/lib/modules/collaborative-editing/types.cjs.js.map +1 -0
  160. package/lib/modules/custom-image/options.cjs.js +1 -1
  161. package/lib/modules/custom-image/options.cjs.js.map +1 -1
  162. package/lib/modules/index.cjs.js +1 -0
  163. package/lib/modules/index.cjs.js.map +1 -1
  164. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/array.cjs.js +112 -0
  165. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/array.cjs.js.map +1 -0
  166. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/binary.cjs.js +133 -0
  167. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/binary.cjs.js.map +1 -0
  168. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/broadcastchannel.cjs.js +59 -0
  169. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/broadcastchannel.cjs.js.map +1 -0
  170. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/buffer.cjs.js +75 -0
  171. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/buffer.cjs.js.map +1 -0
  172. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/conditions.cjs.js +5 -0
  173. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/conditions.cjs.js.map +1 -0
  174. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/decoding.cjs.js +422 -0
  175. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/decoding.cjs.js.map +1 -0
  176. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/dom.cjs.js +142 -0
  177. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/dom.cjs.js.map +1 -0
  178. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/encoding.cjs.js +484 -0
  179. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/encoding.cjs.js.map +1 -0
  180. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/environment.cjs.js +79 -0
  181. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/environment.cjs.js.map +1 -0
  182. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/error.cjs.js +13 -0
  183. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/error.cjs.js.map +1 -0
  184. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/eventloop.cjs.js +69 -0
  185. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/eventloop.cjs.js.map +1 -0
  186. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/function.cjs.js +124 -0
  187. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/function.cjs.js.map +1 -0
  188. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/indexeddb.cjs.js +92 -0
  189. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/indexeddb.cjs.js.map +1 -0
  190. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/iterator.cjs.js +38 -0
  191. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/iterator.cjs.js.map +1 -0
  192. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/json.cjs.js +7 -0
  193. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/json.cjs.js.map +1 -0
  194. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.cjs.js +288 -0
  195. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.cjs.js.map +1 -0
  196. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.common.cjs.js +99 -0
  197. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.common.cjs.js.map +1 -0
  198. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/map.cjs.js +47 -0
  199. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/map.cjs.js.map +1 -0
  200. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/math.cjs.js +37 -0
  201. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/math.cjs.js.map +1 -0
  202. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/metric.cjs.js +64 -0
  203. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/metric.cjs.js.map +1 -0
  204. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/mutex.cjs.js +19 -0
  205. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/mutex.cjs.js.map +1 -0
  206. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/number.cjs.js +31 -0
  207. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/number.cjs.js.map +1 -0
  208. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/object.cjs.js +72 -0
  209. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/object.cjs.js.map +1 -0
  210. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/observable.cjs.js +128 -0
  211. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/observable.cjs.js.map +1 -0
  212. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/pair.cjs.js +22 -0
  213. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/pair.cjs.js.map +1 -0
  214. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/promise.cjs.js +50 -0
  215. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/promise.cjs.js.map +1 -0
  216. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/random.cjs.js +24 -0
  217. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/random.cjs.js.map +1 -0
  218. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/set.cjs.js +11 -0
  219. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/set.cjs.js.map +1 -0
  220. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/storage.cjs.js +44 -0
  221. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/storage.cjs.js.map +1 -0
  222. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/string.cjs.js +94 -0
  223. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/string.cjs.js.map +1 -0
  224. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/symbol.cjs.js +7 -0
  225. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/symbol.cjs.js.map +1 -0
  226. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/time.cjs.js +28 -0
  227. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/time.cjs.js.map +1 -0
  228. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/traits.cjs.js +5 -0
  229. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/traits.cjs.js.map +1 -0
  230. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/url.cjs.js +20 -0
  231. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/url.cjs.js.map +1 -0
  232. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/webcrypto.cjs.js +7 -0
  233. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/webcrypto.cjs.js.map +1 -0
  234. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/websocket.cjs.js +113 -0
  235. package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/websocket.cjs.js.map +1 -0
  236. package/lib/node_modules/.pnpm/quill-cursors@4.0.4/node_modules/quill-cursors/dist/quill-cursors.cjs.js +1796 -0
  237. package/lib/node_modules/.pnpm/quill-cursors@4.0.4/node_modules/quill-cursors/dist/quill-cursors.cjs.js.map +1 -0
  238. package/lib/node_modules/.pnpm/simple-peer@9.11.1/node_modules/simple-peer/simplepeer.min.cjs.js +2620 -0
  239. package/lib/node_modules/.pnpm/simple-peer@9.11.1/node_modules/simple-peer/simplepeer.min.cjs.js.map +1 -0
  240. package/lib/node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.27/node_modules/y-indexeddb/src/y-indexeddb.cjs.js +155 -0
  241. package/lib/node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.27/node_modules/y-indexeddb/src/y-indexeddb.cjs.js.map +1 -0
  242. package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/auth.cjs.js +20 -0
  243. package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/auth.cjs.js.map +1 -0
  244. package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/awareness.cjs.js +232 -0
  245. package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/awareness.cjs.js.map +1 -0
  246. package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/sync.cjs.js +58 -0
  247. package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/sync.cjs.js.map +1 -0
  248. package/lib/node_modules/.pnpm/y-quill@1.0.0_quill-cursors@4.0.4_quill@2.0.3_patch_hash_dnirvjhpzdmsvdidsclwslxxji__yjs@13.6.27/node_modules/y-quill/src/y-quill.cjs.js +157 -0
  249. package/lib/node_modules/.pnpm/y-quill@1.0.0_quill-cursors@4.0.4_quill@2.0.3_patch_hash_dnirvjhpzdmsvdidsclwslxxji__yjs@13.6.27/node_modules/y-quill/src/y-quill.cjs.js.map +1 -0
  250. package/lib/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/crypto.cjs.js +94 -0
  251. package/lib/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/crypto.cjs.js.map +1 -0
  252. package/lib/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/y-webrtc.cjs.js +537 -0
  253. package/lib/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/y-webrtc.cjs.js.map +1 -0
  254. package/lib/node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.27/node_modules/y-websocket/src/y-websocket.cjs.js +380 -0
  255. package/lib/node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.27/node_modules/y-websocket/src/y-websocket.cjs.js.map +1 -0
  256. package/lib/node_modules/.pnpm/yjs@13.6.27/node_modules/yjs/dist/yjs.cjs.js +7653 -0
  257. package/lib/node_modules/.pnpm/yjs@13.6.27/node_modules/yjs/dist/yjs.cjs.js.map +1 -0
  258. package/package.json +9 -2
  259. package/types/modules/collaborative-editing/awareness/awareness.d.ts +29 -0
  260. package/types/modules/collaborative-editing/awareness/index.d.ts +2 -0
  261. package/types/modules/collaborative-editing/awareness/y-indexeddb.d.ts +3 -0
  262. package/types/modules/collaborative-editing/collaborative-editing.d.ts +25 -0
  263. package/types/modules/collaborative-editing/index.d.ts +2 -0
  264. package/types/modules/collaborative-editing/module.d.ts +12 -0
  265. package/types/modules/collaborative-editing/provider/index.d.ts +3 -0
  266. package/types/modules/collaborative-editing/provider/providerRegistry.d.ts +26 -0
  267. package/types/modules/collaborative-editing/provider/webrtc.d.ts +37 -0
  268. package/types/modules/collaborative-editing/provider/websocket.d.ts +41 -0
  269. package/types/modules/collaborative-editing/types.d.ts +37 -0
  270. package/types/modules/index.d.ts +1 -0
@@ -0,0 +1,1796 @@
1
+ import { getDefaultExportFromCjs } from "../../../../../../_virtual/_commonjsHelpers.es.js";
2
+ import { __module as quillCursors$1 } from "../../../../../../_virtual/quill-cursors.es.js";
3
+ /*! For license information please see quill-cursors.js.LICENSE.txt */
4
+ var quillCursors = quillCursors$1.exports;
5
+ (function(module, exports) {
6
+ !function(t, e) {
7
+ true ? module.exports = e() : false ? (void 0)([], e) : true ? exports.QuillCursors = e() : t.QuillCursors = e();
8
+ }(self, () => (() => {
9
+ var t = { 582: (t2, e2, n2) => {
10
+ "use strict";
11
+ n2.d(e2, { Z: () => a });
12
+ var r2 = n2(81), i = n2.n(r2), o = n2(645), s = n2.n(o)()(i());
13
+ s.push([t2.id, ".ql-container{position:relative;overflow:hidden}@media(pointer: coarse){.ql-cursor-caret-container{z-index:-1}}.ql-cursor.hidden{display:none}.ql-cursor .ql-cursor-caret-container,.ql-cursor .ql-cursor-flag{position:absolute}.ql-cursor .ql-cursor-flag{z-index:1;transform:translate3d(-1px, -100%, 0);opacity:0;visibility:hidden;color:#fff;padding-bottom:2px;border-radius:0 3px 3px 0}.ql-cursor .ql-cursor-flag.flag-flipped{border-radius:3px 0 0 3px;transform:translate3d(calc(-100% + 1px ), -100%, 0)}@media screen{.ql-cursor .ql-cursor-flag{transition:opacity 0ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms,visibility 0ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms}}.ql-cursor .ql-cursor-flag .ql-cursor-name{margin-left:5px;margin-right:5px;display:inline-block;margin-top:-2px;white-space:nowrap}.ql-cursor .ql-cursor-flag.no-delay[style]{transition-delay:unset !important}.ql-cursor .ql-cursor-caret-container{cursor:text;margin-left:-9px;padding:0 9px}.ql-cursor .ql-cursor-caret-container.hover+.ql-cursor-flag{opacity:1;visibility:visible;transition:none}.ql-cursor .ql-cursor-caret-container.no-pointer{pointer-events:none}.ql-cursor .ql-cursor-caret-container .ql-cursor-caret{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background-color:attr(data-color)}.ql-cursor .ql-cursor-selection-block{position:absolute;pointer-events:none}", ""]);
14
+ const a = s;
15
+ }, 645: (t2) => {
16
+ "use strict";
17
+ t2.exports = function(t3) {
18
+ var e2 = [];
19
+ return e2.toString = function() {
20
+ return this.map(function(e3) {
21
+ var n2 = "", r2 = void 0 !== e3[5];
22
+ return e3[4] && (n2 += "@supports (".concat(e3[4], ") {")), e3[2] && (n2 += "@media ".concat(e3[2], " {")), r2 && (n2 += "@layer".concat(e3[5].length > 0 ? " ".concat(e3[5]) : "", " {")), n2 += t3(e3), r2 && (n2 += "}"), e3[2] && (n2 += "}"), e3[4] && (n2 += "}"), n2;
23
+ }).join("");
24
+ }, e2.i = function(t4, n2, r2, i, o) {
25
+ "string" == typeof t4 && (t4 = [[null, t4, void 0]]);
26
+ var s = {};
27
+ if (r2) for (var a = 0; a < this.length; a++) {
28
+ var u = this[a][0];
29
+ null != u && (s[u] = true);
30
+ }
31
+ for (var c = 0; c < t4.length; c++) {
32
+ var l = [].concat(t4[c]);
33
+ r2 && s[l[0]] || (void 0 !== o && (void 0 === l[5] || (l[1] = "@layer".concat(l[5].length > 0 ? " ".concat(l[5]) : "", " {").concat(l[1], "}")), l[5] = o), n2 && (l[2] ? (l[1] = "@media ".concat(l[2], " {").concat(l[1], "}"), l[2] = n2) : l[2] = n2), i && (l[4] ? (l[1] = "@supports (".concat(l[4], ") {").concat(l[1], "}"), l[4] = i) : l[4] = "".concat(i)), e2.push(l));
34
+ }
35
+ }, e2;
36
+ };
37
+ }, 81: (t2) => {
38
+ "use strict";
39
+ t2.exports = function(t3) {
40
+ return t3[1];
41
+ };
42
+ }, 529: (t2) => {
43
+ var e2 = -1;
44
+ function n2(t3, a2, u2, c2) {
45
+ if (t3 === a2) return t3 ? [[0, t3]] : [];
46
+ if (null != u2) {
47
+ var l2 = function(t4, e3, n3) {
48
+ var r3 = "number" == typeof n3 ? { index: n3, length: 0 } : n3.oldRange, i2 = "number" == typeof n3 ? null : n3.newRange, o2 = t4.length, s2 = e3.length;
49
+ if (0 === r3.length && (null === i2 || 0 === i2.length)) {
50
+ var a3 = r3.index, u3 = t4.slice(0, a3), c3 = t4.slice(a3), l3 = i2 ? i2.index : null, h3 = a3 + s2 - o2;
51
+ if ((null === l3 || l3 === h3) && !(h3 < 0 || h3 > s2)) {
52
+ var p2 = e3.slice(0, h3);
53
+ if ((v = e3.slice(h3)) === c3) {
54
+ var d2 = Math.min(a3, h3);
55
+ if ((y = u3.slice(0, d2)) === (m = p2.slice(0, d2))) return f(y, u3.slice(d2), p2.slice(d2), c3);
56
+ }
57
+ }
58
+ if (null === l3 || l3 === a3) {
59
+ var g2 = a3, v = (p2 = e3.slice(0, g2), e3.slice(g2));
60
+ if (p2 === u3) {
61
+ var _ = Math.min(o2 - g2, s2 - g2);
62
+ if ((b = c3.slice(c3.length - _)) === (C = v.slice(v.length - _))) return f(u3, c3.slice(0, c3.length - _), v.slice(0, v.length - _), b);
63
+ }
64
+ }
65
+ }
66
+ if (r3.length > 0 && i2 && 0 === i2.length) {
67
+ var y = t4.slice(0, r3.index), b = t4.slice(r3.index + r3.length);
68
+ if (!(s2 < (d2 = y.length) + (_ = b.length))) {
69
+ var m = e3.slice(0, d2), C = e3.slice(s2 - _);
70
+ if (y === m && b === C) return f(y, t4.slice(d2, o2 - _), e3.slice(d2, s2 - _), b);
71
+ }
72
+ }
73
+ return null;
74
+ }(t3, a2, u2);
75
+ if (l2) return l2;
76
+ }
77
+ var h2 = i(t3, a2), p = t3.substring(0, h2);
78
+ h2 = o(t3 = t3.substring(h2), a2 = a2.substring(h2));
79
+ var d = t3.substring(t3.length - h2), g = function(t4, s2) {
80
+ var a3;
81
+ if (!t4) return [[1, s2]];
82
+ if (!s2) return [[e2, t4]];
83
+ var u3 = t4.length > s2.length ? t4 : s2, c3 = t4.length > s2.length ? s2 : t4, l3 = u3.indexOf(c3);
84
+ if (-1 !== l3) return a3 = [[1, u3.substring(0, l3)], [0, c3], [1, u3.substring(l3 + c3.length)]], t4.length > s2.length && (a3[0][0] = a3[2][0] = e2), a3;
85
+ if (1 === c3.length) return [[e2, t4], [1, s2]];
86
+ var f2 = function(t5, e3) {
87
+ var n3 = t5.length > e3.length ? t5 : e3, r3 = t5.length > e3.length ? e3 : t5;
88
+ if (n3.length < 4 || 2 * r3.length < n3.length) return null;
89
+ function s3(t6, e4, n4) {
90
+ for (var r4, s4, a5, u5, c5 = t6.substring(n4, n4 + Math.floor(t6.length / 4)), l5 = -1, f4 = ""; -1 !== (l5 = e4.indexOf(c5, l5 + 1)); ) {
91
+ var h5 = i(t6.substring(n4), e4.substring(l5)), p4 = o(t6.substring(0, n4), e4.substring(0, l5));
92
+ f4.length < p4 + h5 && (f4 = e4.substring(l5 - p4, l5) + e4.substring(l5, l5 + h5), r4 = t6.substring(0, n4 - p4), s4 = t6.substring(n4 + h5), a5 = e4.substring(0, l5 - p4), u5 = e4.substring(l5 + h5));
93
+ }
94
+ return 2 * f4.length >= t6.length ? [r4, s4, a5, u5, f4] : null;
95
+ }
96
+ var a4, u4, c4, l4, f3, h4 = s3(n3, r3, Math.ceil(n3.length / 4)), p3 = s3(n3, r3, Math.ceil(n3.length / 2));
97
+ return h4 || p3 ? (a4 = p3 ? h4 && h4[4].length > p3[4].length ? h4 : p3 : h4, t5.length > e3.length ? (u4 = a4[0], c4 = a4[1], l4 = a4[2], f3 = a4[3]) : (l4 = a4[0], f3 = a4[1], u4 = a4[2], c4 = a4[3]), [u4, c4, l4, f3, a4[4]]) : null;
98
+ }(t4, s2);
99
+ if (f2) {
100
+ var h3 = f2[0], p2 = f2[1], d2 = f2[2], g2 = f2[3], v = f2[4], _ = n2(h3, d2), y = n2(p2, g2);
101
+ return _.concat([[0, v]], y);
102
+ }
103
+ return function(t5, n3) {
104
+ for (var i2 = t5.length, o2 = n3.length, s3 = Math.ceil((i2 + o2) / 2), a4 = s3, u4 = 2 * s3, c4 = new Array(u4), l4 = new Array(u4), f3 = 0; f3 < u4; f3++) c4[f3] = -1, l4[f3] = -1;
105
+ c4[a4 + 1] = 0, l4[a4 + 1] = 0;
106
+ for (var h4 = i2 - o2, p3 = h4 % 2 != 0, d3 = 0, g3 = 0, v2 = 0, _2 = 0, y2 = 0; y2 < s3; y2++) {
107
+ for (var b = -y2 + d3; b <= y2 - g3; b += 2) {
108
+ for (var m = a4 + b, C = (S = b === -y2 || b !== y2 && c4[m - 1] < c4[m + 1] ? c4[m + 1] : c4[m - 1] + 1) - b; S < i2 && C < o2 && t5.charAt(S) === n3.charAt(C); ) S++, C++;
109
+ if (c4[m] = S, S > i2) g3 += 2;
110
+ else if (C > o2) d3 += 2;
111
+ else if (p3 && (O = a4 + h4 - b) >= 0 && O < u4 && -1 !== l4[O] && S >= (A = i2 - l4[O])) return r2(t5, n3, S, C);
112
+ }
113
+ for (var E = -y2 + v2; E <= y2 - _2; E += 2) {
114
+ for (var A, O = a4 + E, w = (A = E === -y2 || E !== y2 && l4[O - 1] < l4[O + 1] ? l4[O + 1] : l4[O - 1] + 1) - E; A < i2 && w < o2 && t5.charAt(i2 - A - 1) === n3.charAt(o2 - w - 1); ) A++, w++;
115
+ if (l4[O] = A, A > i2) _2 += 2;
116
+ else if (w > o2) v2 += 2;
117
+ else if (!p3) {
118
+ var S;
119
+ if ((m = a4 + h4 - E) >= 0 && m < u4 && -1 !== c4[m]) {
120
+ if (C = a4 + (S = c4[m]) - m, S >= (A = i2 - A)) return r2(t5, n3, S, C);
121
+ }
122
+ }
123
+ }
124
+ }
125
+ return [[e2, t5], [1, n3]];
126
+ }(t4, s2);
127
+ }(t3 = t3.substring(0, t3.length - h2), a2 = a2.substring(0, a2.length - h2));
128
+ return p && g.unshift([0, p]), d && g.push([0, d]), s(g, c2), g;
129
+ }
130
+ function r2(t3, e3, r3, i2) {
131
+ var o2 = t3.substring(0, r3), s2 = e3.substring(0, i2), a2 = t3.substring(r3), u2 = e3.substring(i2), c2 = n2(o2, s2), l2 = n2(a2, u2);
132
+ return c2.concat(l2);
133
+ }
134
+ function i(t3, e3) {
135
+ if (!t3 || !e3 || t3.charAt(0) !== e3.charAt(0)) return 0;
136
+ for (var n3 = 0, r3 = Math.min(t3.length, e3.length), i2 = r3, o2 = 0; n3 < i2; ) t3.substring(o2, i2) == e3.substring(o2, i2) ? o2 = n3 = i2 : r3 = i2, i2 = Math.floor((r3 - n3) / 2 + n3);
137
+ return a(t3.charCodeAt(i2 - 1)) && i2--, i2;
138
+ }
139
+ function o(t3, e3) {
140
+ if (!t3 || !e3 || t3.slice(-1) !== e3.slice(-1)) return 0;
141
+ for (var n3 = 0, r3 = Math.min(t3.length, e3.length), i2 = r3, o2 = 0; n3 < i2; ) t3.substring(t3.length - i2, t3.length - o2) == e3.substring(e3.length - i2, e3.length - o2) ? o2 = n3 = i2 : r3 = i2, i2 = Math.floor((r3 - n3) / 2 + n3);
142
+ return u(t3.charCodeAt(t3.length - i2)) && i2--, i2;
143
+ }
144
+ function s(t3, n3) {
145
+ t3.push([0, ""]);
146
+ for (var r3, a2 = 0, u2 = 0, f2 = 0, h2 = "", p = ""; a2 < t3.length; ) if (a2 < t3.length - 1 && !t3[a2][1]) t3.splice(a2, 1);
147
+ else switch (t3[a2][0]) {
148
+ case 1:
149
+ f2++, p += t3[a2][1], a2++;
150
+ break;
151
+ case e2:
152
+ u2++, h2 += t3[a2][1], a2++;
153
+ break;
154
+ case 0:
155
+ var d = a2 - f2 - u2 - 1;
156
+ if (n3) {
157
+ if (d >= 0 && l(t3[d][1])) {
158
+ var g = t3[d][1].slice(-1);
159
+ if (t3[d][1] = t3[d][1].slice(0, -1), h2 = g + h2, p = g + p, !t3[d][1]) {
160
+ t3.splice(d, 1), a2--;
161
+ var v = d - 1;
162
+ t3[v] && 1 === t3[v][0] && (f2++, p = t3[v][1] + p, v--), t3[v] && t3[v][0] === e2 && (u2++, h2 = t3[v][1] + h2, v--), d = v;
163
+ }
164
+ }
165
+ c(t3[a2][1]) && (g = t3[a2][1].charAt(0), t3[a2][1] = t3[a2][1].slice(1), h2 += g, p += g);
166
+ }
167
+ if (a2 < t3.length - 1 && !t3[a2][1]) {
168
+ t3.splice(a2, 1);
169
+ break;
170
+ }
171
+ if (h2.length > 0 || p.length > 0) {
172
+ h2.length > 0 && p.length > 0 && (0 !== (r3 = i(p, h2)) && (d >= 0 ? t3[d][1] += p.substring(0, r3) : (t3.splice(0, 0, [0, p.substring(0, r3)]), a2++), p = p.substring(r3), h2 = h2.substring(r3)), 0 !== (r3 = o(p, h2)) && (t3[a2][1] = p.substring(p.length - r3) + t3[a2][1], p = p.substring(0, p.length - r3), h2 = h2.substring(0, h2.length - r3)));
173
+ var _ = f2 + u2;
174
+ 0 === h2.length && 0 === p.length ? (t3.splice(a2 - _, _), a2 -= _) : 0 === h2.length ? (t3.splice(a2 - _, _, [1, p]), a2 = a2 - _ + 1) : 0 === p.length ? (t3.splice(a2 - _, _, [e2, h2]), a2 = a2 - _ + 1) : (t3.splice(a2 - _, _, [e2, h2], [1, p]), a2 = a2 - _ + 2);
175
+ }
176
+ 0 !== a2 && 0 === t3[a2 - 1][0] ? (t3[a2 - 1][1] += t3[a2][1], t3.splice(a2, 1)) : a2++, f2 = 0, u2 = 0, h2 = "", p = "";
177
+ }
178
+ "" === t3[t3.length - 1][1] && t3.pop();
179
+ var y = false;
180
+ for (a2 = 1; a2 < t3.length - 1; ) 0 === t3[a2 - 1][0] && 0 === t3[a2 + 1][0] && (t3[a2][1].substring(t3[a2][1].length - t3[a2 - 1][1].length) === t3[a2 - 1][1] ? (t3[a2][1] = t3[a2 - 1][1] + t3[a2][1].substring(0, t3[a2][1].length - t3[a2 - 1][1].length), t3[a2 + 1][1] = t3[a2 - 1][1] + t3[a2 + 1][1], t3.splice(a2 - 1, 1), y = true) : t3[a2][1].substring(0, t3[a2 + 1][1].length) == t3[a2 + 1][1] && (t3[a2 - 1][1] += t3[a2 + 1][1], t3[a2][1] = t3[a2][1].substring(t3[a2 + 1][1].length) + t3[a2 + 1][1], t3.splice(a2 + 1, 1), y = true)), a2++;
181
+ y && s(t3, n3);
182
+ }
183
+ function a(t3) {
184
+ return t3 >= 55296 && t3 <= 56319;
185
+ }
186
+ function u(t3) {
187
+ return t3 >= 56320 && t3 <= 57343;
188
+ }
189
+ function c(t3) {
190
+ return u(t3.charCodeAt(0));
191
+ }
192
+ function l(t3) {
193
+ return a(t3.charCodeAt(t3.length - 1));
194
+ }
195
+ function f(t3, n3, r3, i2) {
196
+ return l(t3) || c(i2) ? null : function(t4) {
197
+ for (var e3 = [], n4 = 0; n4 < t4.length; n4++) t4[n4][1].length > 0 && e3.push(t4[n4]);
198
+ return e3;
199
+ }([[0, t3], [e2, n3], [1, r3], [0, i2]]);
200
+ }
201
+ function h(t3, e3, r3) {
202
+ return n2(t3, e3, r3, true);
203
+ }
204
+ h.INSERT = 1, h.DELETE = e2, h.EQUAL = 0, t2.exports = h;
205
+ }, 465: (t2, e2, n2) => {
206
+ t2 = n2.nmd(t2);
207
+ var r2 = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", s = "[object Boolean]", a = "[object Date]", u = "[object Function]", c = "[object GeneratorFunction]", l = "[object Map]", f = "[object Number]", h = "[object Object]", p = "[object Promise]", d = "[object RegExp]", g = "[object Set]", v = "[object String]", _ = "[object Symbol]", y = "[object WeakMap]", b = "[object ArrayBuffer]", m = "[object DataView]", C = "[object Float32Array]", E = "[object Float64Array]", A = "[object Int8Array]", O = "[object Int16Array]", w = "[object Int32Array]", S = "[object Uint8Array]", j = "[object Uint8ClampedArray]", x = "[object Uint16Array]", L = "[object Uint32Array]", T = /\w*$/, M = /^\[object .+?Constructor\]$/, N = /^(?:0|[1-9]\d*)$/, R = {};
208
+ R[o] = R["[object Array]"] = R[b] = R[m] = R[s] = R[a] = R[C] = R[E] = R[A] = R[O] = R[w] = R[l] = R[f] = R[h] = R[d] = R[g] = R[v] = R[_] = R[S] = R[j] = R[x] = R[L] = true, R["[object Error]"] = R[u] = R[y] = false;
209
+ var k = "object" == typeof n2.g && n2.g && n2.g.Object === Object && n2.g, D = "object" == typeof self && self && self.Object === Object && self, q = k || D || Function("return this")(), I = e2 && !e2.nodeType && e2, B = I && t2 && !t2.nodeType && t2, P = B && B.exports === I;
210
+ function F(t3, e3) {
211
+ return t3.set(e3[0], e3[1]), t3;
212
+ }
213
+ function z(t3, e3) {
214
+ return t3.add(e3), t3;
215
+ }
216
+ function U(t3, e3, n3, r3) {
217
+ var i2 = -1, o2 = t3 ? t3.length : 0;
218
+ for (r3 && o2 && (n3 = t3[++i2]); ++i2 < o2; ) n3 = e3(n3, t3[i2], i2, t3);
219
+ return n3;
220
+ }
221
+ function G(t3) {
222
+ var e3 = false;
223
+ if (null != t3 && "function" != typeof t3.toString) try {
224
+ e3 = !!(t3 + "");
225
+ } catch (t4) {
226
+ }
227
+ return e3;
228
+ }
229
+ function H(t3) {
230
+ var e3 = -1, n3 = Array(t3.size);
231
+ return t3.forEach(function(t4, r3) {
232
+ n3[++e3] = [r3, t4];
233
+ }), n3;
234
+ }
235
+ function $(t3, e3) {
236
+ return function(n3) {
237
+ return t3(e3(n3));
238
+ };
239
+ }
240
+ function V(t3) {
241
+ var e3 = -1, n3 = Array(t3.size);
242
+ return t3.forEach(function(t4) {
243
+ n3[++e3] = t4;
244
+ }), n3;
245
+ }
246
+ var W, X = Array.prototype, Q = Function.prototype, Z = Object.prototype, Y = q["__core-js_shared__"], K = (W = /[^.]+$/.exec(Y && Y.keys && Y.keys.IE_PROTO || "")) ? "Symbol(src)_1." + W : "", J = Q.toString, tt = Z.hasOwnProperty, et = Z.toString, nt = RegExp("^" + J.call(tt).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), rt = P ? q.Buffer : void 0, it = q.Symbol, ot = q.Uint8Array, st = $(Object.getPrototypeOf, Object), at = Object.create, ut = Z.propertyIsEnumerable, ct = X.splice, lt = Object.getOwnPropertySymbols, ft = rt ? rt.isBuffer : void 0, ht = $(Object.keys, Object), pt = qt(q, "DataView"), dt = qt(q, "Map"), gt = qt(q, "Promise"), vt = qt(q, "Set"), _t = qt(q, "WeakMap"), yt = qt(Object, "create"), bt = zt(pt), mt = zt(dt), Ct = zt(gt), Et = zt(vt), At = zt(_t), Ot = it ? it.prototype : void 0, wt = Ot ? Ot.valueOf : void 0;
247
+ function St(t3) {
248
+ var e3 = -1, n3 = t3 ? t3.length : 0;
249
+ for (this.clear(); ++e3 < n3; ) {
250
+ var r3 = t3[e3];
251
+ this.set(r3[0], r3[1]);
252
+ }
253
+ }
254
+ function jt(t3) {
255
+ var e3 = -1, n3 = t3 ? t3.length : 0;
256
+ for (this.clear(); ++e3 < n3; ) {
257
+ var r3 = t3[e3];
258
+ this.set(r3[0], r3[1]);
259
+ }
260
+ }
261
+ function xt(t3) {
262
+ var e3 = -1, n3 = t3 ? t3.length : 0;
263
+ for (this.clear(); ++e3 < n3; ) {
264
+ var r3 = t3[e3];
265
+ this.set(r3[0], r3[1]);
266
+ }
267
+ }
268
+ function Lt(t3) {
269
+ this.__data__ = new jt(t3);
270
+ }
271
+ function Tt(t3, e3, n3) {
272
+ var r3 = t3[e3];
273
+ tt.call(t3, e3) && Ut(r3, n3) && (void 0 !== n3 || e3 in t3) || (t3[e3] = n3);
274
+ }
275
+ function Mt(t3, e3) {
276
+ for (var n3 = t3.length; n3--; ) if (Ut(t3[n3][0], e3)) return n3;
277
+ return -1;
278
+ }
279
+ function Nt(t3, e3, n3, r3, i2, p2, y2) {
280
+ var M2;
281
+ if (r3 && (M2 = p2 ? r3(t3, i2, p2, y2) : r3(t3)), void 0 !== M2) return M2;
282
+ if (!Wt(t3)) return t3;
283
+ var N2 = Gt(t3);
284
+ if (N2) {
285
+ if (M2 = function(t4) {
286
+ var e4 = t4.length, n4 = t4.constructor(e4);
287
+ return e4 && "string" == typeof t4[0] && tt.call(t4, "index") && (n4.index = t4.index, n4.input = t4.input), n4;
288
+ }(t3), !e3) return function(t4, e4) {
289
+ var n4 = -1, r4 = t4.length;
290
+ for (e4 || (e4 = Array(r4)); ++n4 < r4; ) e4[n4] = t4[n4];
291
+ return e4;
292
+ }(t3, M2);
293
+ } else {
294
+ var k2 = Bt(t3), D2 = k2 == u || k2 == c;
295
+ if ($t(t3)) return function(t4, e4) {
296
+ if (e4) return t4.slice();
297
+ var n4 = new t4.constructor(t4.length);
298
+ return t4.copy(n4), n4;
299
+ }(t3, e3);
300
+ if (k2 == h || k2 == o || D2 && !p2) {
301
+ if (G(t3)) return p2 ? t3 : {};
302
+ if (M2 = function(t4) {
303
+ return "function" != typeof t4.constructor || Ft(t4) ? {} : Wt(e4 = st(t4)) ? at(e4) : {};
304
+ var e4;
305
+ }(D2 ? {} : t3), !e3) return function(t4, e4) {
306
+ return kt(t4, It(t4), e4);
307
+ }(t3, function(t4, e4) {
308
+ return t4 && kt(e4, Xt(e4), t4);
309
+ }(M2, t3));
310
+ } else {
311
+ if (!R[k2]) return p2 ? t3 : {};
312
+ M2 = function(t4, e4, n4, r4) {
313
+ var i3, o2 = t4.constructor;
314
+ switch (e4) {
315
+ case b:
316
+ return Rt(t4);
317
+ case s:
318
+ case a:
319
+ return new o2(+t4);
320
+ case m:
321
+ return function(t5, e5) {
322
+ var n5 = e5 ? Rt(t5.buffer) : t5.buffer;
323
+ return new t5.constructor(n5, t5.byteOffset, t5.byteLength);
324
+ }(t4, r4);
325
+ case C:
326
+ case E:
327
+ case A:
328
+ case O:
329
+ case w:
330
+ case S:
331
+ case j:
332
+ case x:
333
+ case L:
334
+ return function(t5, e5) {
335
+ var n5 = e5 ? Rt(t5.buffer) : t5.buffer;
336
+ return new t5.constructor(n5, t5.byteOffset, t5.length);
337
+ }(t4, r4);
338
+ case l:
339
+ return function(t5, e5, n5) {
340
+ return U(e5 ? n5(H(t5), true) : H(t5), F, new t5.constructor());
341
+ }(t4, r4, n4);
342
+ case f:
343
+ case v:
344
+ return new o2(t4);
345
+ case d:
346
+ return function(t5) {
347
+ var e5 = new t5.constructor(t5.source, T.exec(t5));
348
+ return e5.lastIndex = t5.lastIndex, e5;
349
+ }(t4);
350
+ case g:
351
+ return function(t5, e5, n5) {
352
+ return U(e5 ? n5(V(t5), true) : V(t5), z, new t5.constructor());
353
+ }(t4, r4, n4);
354
+ case _:
355
+ return i3 = t4, wt ? Object(wt.call(i3)) : {};
356
+ }
357
+ }(t3, k2, Nt, e3);
358
+ }
359
+ }
360
+ y2 || (y2 = new Lt());
361
+ var q2 = y2.get(t3);
362
+ if (q2) return q2;
363
+ if (y2.set(t3, M2), !N2) var I2 = n3 ? function(t4) {
364
+ return function(t5, e4, n4) {
365
+ var r4 = e4(t5);
366
+ return Gt(t5) ? r4 : function(t6, e5) {
367
+ for (var n5 = -1, r5 = e5.length, i3 = t6.length; ++n5 < r5; ) t6[i3 + n5] = e5[n5];
368
+ return t6;
369
+ }(r4, n4(t5));
370
+ }(t4, Xt, It);
371
+ }(t3) : Xt(t3);
372
+ return function(t4, e4) {
373
+ for (var n4 = -1, r4 = t4 ? t4.length : 0; ++n4 < r4 && false !== e4(t4[n4], n4); ) ;
374
+ }(I2 || t3, function(i3, o2) {
375
+ I2 && (i3 = t3[o2 = i3]), Tt(M2, o2, Nt(i3, e3, n3, r3, o2, t3, y2));
376
+ }), M2;
377
+ }
378
+ function Rt(t3) {
379
+ var e3 = new t3.constructor(t3.byteLength);
380
+ return new ot(e3).set(new ot(t3)), e3;
381
+ }
382
+ function kt(t3, e3, n3, r3) {
383
+ n3 || (n3 = {});
384
+ for (var i2 = -1, o2 = e3.length; ++i2 < o2; ) {
385
+ var s2 = e3[i2], a2 = r3 ? r3(n3[s2], t3[s2], s2, n3, t3) : void 0;
386
+ Tt(n3, s2, void 0 === a2 ? t3[s2] : a2);
387
+ }
388
+ return n3;
389
+ }
390
+ function Dt(t3, e3) {
391
+ var n3, r3, i2 = t3.__data__;
392
+ return ("string" == (r3 = typeof (n3 = e3)) || "number" == r3 || "symbol" == r3 || "boolean" == r3 ? "__proto__" !== n3 : null === n3) ? i2["string" == typeof e3 ? "string" : "hash"] : i2.map;
393
+ }
394
+ function qt(t3, e3) {
395
+ var n3 = function(t4, e4) {
396
+ return null == t4 ? void 0 : t4[e4];
397
+ }(t3, e3);
398
+ return function(t4) {
399
+ return !(!Wt(t4) || (e4 = t4, K && K in e4)) && (Vt(t4) || G(t4) ? nt : M).test(zt(t4));
400
+ var e4;
401
+ }(n3) ? n3 : void 0;
402
+ }
403
+ St.prototype.clear = function() {
404
+ this.__data__ = yt ? yt(null) : {};
405
+ }, St.prototype.delete = function(t3) {
406
+ return this.has(t3) && delete this.__data__[t3];
407
+ }, St.prototype.get = function(t3) {
408
+ var e3 = this.__data__;
409
+ if (yt) {
410
+ var n3 = e3[t3];
411
+ return n3 === r2 ? void 0 : n3;
412
+ }
413
+ return tt.call(e3, t3) ? e3[t3] : void 0;
414
+ }, St.prototype.has = function(t3) {
415
+ var e3 = this.__data__;
416
+ return yt ? void 0 !== e3[t3] : tt.call(e3, t3);
417
+ }, St.prototype.set = function(t3, e3) {
418
+ return this.__data__[t3] = yt && void 0 === e3 ? r2 : e3, this;
419
+ }, jt.prototype.clear = function() {
420
+ this.__data__ = [];
421
+ }, jt.prototype.delete = function(t3) {
422
+ var e3 = this.__data__, n3 = Mt(e3, t3);
423
+ return !(n3 < 0 || (n3 == e3.length - 1 ? e3.pop() : ct.call(e3, n3, 1), 0));
424
+ }, jt.prototype.get = function(t3) {
425
+ var e3 = this.__data__, n3 = Mt(e3, t3);
426
+ return n3 < 0 ? void 0 : e3[n3][1];
427
+ }, jt.prototype.has = function(t3) {
428
+ return Mt(this.__data__, t3) > -1;
429
+ }, jt.prototype.set = function(t3, e3) {
430
+ var n3 = this.__data__, r3 = Mt(n3, t3);
431
+ return r3 < 0 ? n3.push([t3, e3]) : n3[r3][1] = e3, this;
432
+ }, xt.prototype.clear = function() {
433
+ this.__data__ = { hash: new St(), map: new (dt || jt)(), string: new St() };
434
+ }, xt.prototype.delete = function(t3) {
435
+ return Dt(this, t3).delete(t3);
436
+ }, xt.prototype.get = function(t3) {
437
+ return Dt(this, t3).get(t3);
438
+ }, xt.prototype.has = function(t3) {
439
+ return Dt(this, t3).has(t3);
440
+ }, xt.prototype.set = function(t3, e3) {
441
+ return Dt(this, t3).set(t3, e3), this;
442
+ }, Lt.prototype.clear = function() {
443
+ this.__data__ = new jt();
444
+ }, Lt.prototype.delete = function(t3) {
445
+ return this.__data__.delete(t3);
446
+ }, Lt.prototype.get = function(t3) {
447
+ return this.__data__.get(t3);
448
+ }, Lt.prototype.has = function(t3) {
449
+ return this.__data__.has(t3);
450
+ }, Lt.prototype.set = function(t3, e3) {
451
+ var n3 = this.__data__;
452
+ if (n3 instanceof jt) {
453
+ var r3 = n3.__data__;
454
+ if (!dt || r3.length < 199) return r3.push([t3, e3]), this;
455
+ n3 = this.__data__ = new xt(r3);
456
+ }
457
+ return n3.set(t3, e3), this;
458
+ };
459
+ var It = lt ? $(lt, Object) : function() {
460
+ return [];
461
+ }, Bt = function(t3) {
462
+ return et.call(t3);
463
+ };
464
+ function Pt(t3, e3) {
465
+ return !!(e3 = null == e3 ? i : e3) && ("number" == typeof t3 || N.test(t3)) && t3 > -1 && t3 % 1 == 0 && t3 < e3;
466
+ }
467
+ function Ft(t3) {
468
+ var e3 = t3 && t3.constructor;
469
+ return t3 === ("function" == typeof e3 && e3.prototype || Z);
470
+ }
471
+ function zt(t3) {
472
+ if (null != t3) {
473
+ try {
474
+ return J.call(t3);
475
+ } catch (t4) {
476
+ }
477
+ try {
478
+ return t3 + "";
479
+ } catch (t4) {
480
+ }
481
+ }
482
+ return "";
483
+ }
484
+ function Ut(t3, e3) {
485
+ return t3 === e3 || t3 != t3 && e3 != e3;
486
+ }
487
+ (pt && Bt(new pt(new ArrayBuffer(1))) != m || dt && Bt(new dt()) != l || gt && Bt(gt.resolve()) != p || vt && Bt(new vt()) != g || _t && Bt(new _t()) != y) && (Bt = function(t3) {
488
+ var e3 = et.call(t3), n3 = e3 == h ? t3.constructor : void 0, r3 = n3 ? zt(n3) : void 0;
489
+ if (r3) switch (r3) {
490
+ case bt:
491
+ return m;
492
+ case mt:
493
+ return l;
494
+ case Ct:
495
+ return p;
496
+ case Et:
497
+ return g;
498
+ case At:
499
+ return y;
500
+ }
501
+ return e3;
502
+ });
503
+ var Gt = Array.isArray;
504
+ function Ht(t3) {
505
+ return null != t3 && function(t4) {
506
+ return "number" == typeof t4 && t4 > -1 && t4 % 1 == 0 && t4 <= i;
507
+ }(t3.length) && !Vt(t3);
508
+ }
509
+ var $t = ft || function() {
510
+ return false;
511
+ };
512
+ function Vt(t3) {
513
+ var e3 = Wt(t3) ? et.call(t3) : "";
514
+ return e3 == u || e3 == c;
515
+ }
516
+ function Wt(t3) {
517
+ var e3 = typeof t3;
518
+ return !!t3 && ("object" == e3 || "function" == e3);
519
+ }
520
+ function Xt(t3) {
521
+ return Ht(t3) ? function(t4, e3) {
522
+ var n3 = Gt(t4) || function(t5) {
523
+ return function(t6) {
524
+ return /* @__PURE__ */ function(t7) {
525
+ return !!t7 && "object" == typeof t7;
526
+ }(t6) && Ht(t6);
527
+ }(t5) && tt.call(t5, "callee") && (!ut.call(t5, "callee") || et.call(t5) == o);
528
+ }(t4) ? function(t5, e4) {
529
+ for (var n4 = -1, r4 = Array(t5); ++n4 < t5; ) r4[n4] = e4(n4);
530
+ return r4;
531
+ }(t4.length, String) : [], r3 = n3.length, i2 = !!r3;
532
+ for (var s2 in t4) !e3 && !tt.call(t4, s2) || i2 && ("length" == s2 || Pt(s2, r3)) || n3.push(s2);
533
+ return n3;
534
+ }(t3) : function(t4) {
535
+ if (!Ft(t4)) return ht(t4);
536
+ var e3 = [];
537
+ for (var n3 in Object(t4)) tt.call(t4, n3) && "constructor" != n3 && e3.push(n3);
538
+ return e3;
539
+ }(t3);
540
+ }
541
+ t2.exports = function(t3) {
542
+ return Nt(t3, true, true);
543
+ };
544
+ }, 307: (t2, e2, n2) => {
545
+ t2 = n2.nmd(t2);
546
+ var r2 = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", s = "[object Array]", a = "[object Boolean]", u = "[object Date]", c = "[object Error]", l = "[object Function]", f = "[object Map]", h = "[object Number]", p = "[object Object]", d = "[object Promise]", g = "[object RegExp]", v = "[object Set]", _ = "[object String]", y = "[object WeakMap]", b = "[object ArrayBuffer]", m = "[object DataView]", C = /^\[object .+?Constructor\]$/, E = /^(?:0|[1-9]\d*)$/, A = {};
547
+ A["[object Float32Array]"] = A["[object Float64Array]"] = A["[object Int8Array]"] = A["[object Int16Array]"] = A["[object Int32Array]"] = A["[object Uint8Array]"] = A["[object Uint8ClampedArray]"] = A["[object Uint16Array]"] = A["[object Uint32Array]"] = true, A[o] = A[s] = A[b] = A[a] = A[m] = A[u] = A[c] = A[l] = A[f] = A[h] = A[p] = A[g] = A[v] = A[_] = A[y] = false;
548
+ var O = "object" == typeof n2.g && n2.g && n2.g.Object === Object && n2.g, w = "object" == typeof self && self && self.Object === Object && self, S = O || w || Function("return this")(), j = e2 && !e2.nodeType && e2, x = j && t2 && !t2.nodeType && t2, L = x && x.exports === j, T = L && O.process, M = function() {
549
+ try {
550
+ return T && T.binding && T.binding("util");
551
+ } catch (t3) {
552
+ }
553
+ }(), N = M && M.isTypedArray;
554
+ function R(t3, e3) {
555
+ for (var n3 = -1, r3 = null == t3 ? 0 : t3.length; ++n3 < r3; ) if (e3(t3[n3], n3, t3)) return true;
556
+ return false;
557
+ }
558
+ function k(t3) {
559
+ var e3 = -1, n3 = Array(t3.size);
560
+ return t3.forEach(function(t4, r3) {
561
+ n3[++e3] = [r3, t4];
562
+ }), n3;
563
+ }
564
+ function D(t3) {
565
+ var e3 = -1, n3 = Array(t3.size);
566
+ return t3.forEach(function(t4) {
567
+ n3[++e3] = t4;
568
+ }), n3;
569
+ }
570
+ var q, I, B, P = Array.prototype, F = Function.prototype, z = Object.prototype, U = S["__core-js_shared__"], G = F.toString, H = z.hasOwnProperty, $ = (q = /[^.]+$/.exec(U && U.keys && U.keys.IE_PROTO || "")) ? "Symbol(src)_1." + q : "", V = z.toString, W = RegExp("^" + G.call(H).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), X = L ? S.Buffer : void 0, Q = S.Symbol, Z = S.Uint8Array, Y = z.propertyIsEnumerable, K = P.splice, J = Q ? Q.toStringTag : void 0, tt = Object.getOwnPropertySymbols, et = X ? X.isBuffer : void 0, nt = (I = Object.keys, B = Object, function(t3) {
571
+ return I(B(t3));
572
+ }), rt = xt(S, "DataView"), it = xt(S, "Map"), ot = xt(S, "Promise"), st = xt(S, "Set"), at = xt(S, "WeakMap"), ut = xt(Object, "create"), ct = Nt(rt), lt = Nt(it), ft = Nt(ot), ht = Nt(st), pt = Nt(at), dt = Q ? Q.prototype : void 0, gt = dt ? dt.valueOf : void 0;
573
+ function vt(t3) {
574
+ var e3 = -1, n3 = null == t3 ? 0 : t3.length;
575
+ for (this.clear(); ++e3 < n3; ) {
576
+ var r3 = t3[e3];
577
+ this.set(r3[0], r3[1]);
578
+ }
579
+ }
580
+ function _t(t3) {
581
+ var e3 = -1, n3 = null == t3 ? 0 : t3.length;
582
+ for (this.clear(); ++e3 < n3; ) {
583
+ var r3 = t3[e3];
584
+ this.set(r3[0], r3[1]);
585
+ }
586
+ }
587
+ function yt(t3) {
588
+ var e3 = -1, n3 = null == t3 ? 0 : t3.length;
589
+ for (this.clear(); ++e3 < n3; ) {
590
+ var r3 = t3[e3];
591
+ this.set(r3[0], r3[1]);
592
+ }
593
+ }
594
+ function bt(t3) {
595
+ var e3 = -1, n3 = null == t3 ? 0 : t3.length;
596
+ for (this.__data__ = new yt(); ++e3 < n3; ) this.add(t3[e3]);
597
+ }
598
+ function mt(t3) {
599
+ var e3 = this.__data__ = new _t(t3);
600
+ this.size = e3.size;
601
+ }
602
+ function Ct(t3, e3) {
603
+ for (var n3 = t3.length; n3--; ) if (Rt(t3[n3][0], e3)) return n3;
604
+ return -1;
605
+ }
606
+ function Et(t3) {
607
+ return null == t3 ? void 0 === t3 ? "[object Undefined]" : "[object Null]" : J && J in Object(t3) ? function(t4) {
608
+ var e3 = H.call(t4, J), n3 = t4[J];
609
+ try {
610
+ t4[J] = void 0;
611
+ var r3 = true;
612
+ } catch (t5) {
613
+ }
614
+ var i2 = V.call(t4);
615
+ return r3 && (e3 ? t4[J] = n3 : delete t4[J]), i2;
616
+ }(t3) : function(t4) {
617
+ return V.call(t4);
618
+ }(t3);
619
+ }
620
+ function At(t3) {
621
+ return Ft(t3) && Et(t3) == o;
622
+ }
623
+ function Ot(t3, e3, n3, r3, i2) {
624
+ return t3 === e3 || (null == t3 || null == e3 || !Ft(t3) && !Ft(e3) ? t3 != t3 && e3 != e3 : function(t4, e4, n4, r4, i3, l2) {
625
+ var d2 = Dt(t4), y2 = Dt(e4), C2 = d2 ? s : Tt(t4), E2 = y2 ? s : Tt(e4), A2 = (C2 = C2 == o ? p : C2) == p, O2 = (E2 = E2 == o ? p : E2) == p, w2 = C2 == E2;
626
+ if (w2 && qt(t4)) {
627
+ if (!qt(e4)) return false;
628
+ d2 = true, A2 = false;
629
+ }
630
+ if (w2 && !A2) return l2 || (l2 = new mt()), d2 || zt(t4) ? wt(t4, e4, n4, r4, i3, l2) : function(t5, e5, n5, r5, i4, o2, s2) {
631
+ switch (n5) {
632
+ case m:
633
+ if (t5.byteLength != e5.byteLength || t5.byteOffset != e5.byteOffset) return false;
634
+ t5 = t5.buffer, e5 = e5.buffer;
635
+ case b:
636
+ return !(t5.byteLength != e5.byteLength || !o2(new Z(t5), new Z(e5)));
637
+ case a:
638
+ case u:
639
+ case h:
640
+ return Rt(+t5, +e5);
641
+ case c:
642
+ return t5.name == e5.name && t5.message == e5.message;
643
+ case g:
644
+ case _:
645
+ return t5 == e5 + "";
646
+ case f:
647
+ var l3 = k;
648
+ case v:
649
+ var p2 = 1 & r5;
650
+ if (l3 || (l3 = D), t5.size != e5.size && !p2) return false;
651
+ var d3 = s2.get(t5);
652
+ if (d3) return d3 == e5;
653
+ r5 |= 2, s2.set(t5, e5);
654
+ var y3 = wt(l3(t5), l3(e5), r5, i4, o2, s2);
655
+ return s2.delete(t5), y3;
656
+ case "[object Symbol]":
657
+ if (gt) return gt.call(t5) == gt.call(e5);
658
+ }
659
+ return false;
660
+ }(t4, e4, C2, n4, r4, i3, l2);
661
+ if (!(1 & n4)) {
662
+ var S2 = A2 && H.call(t4, "__wrapped__"), j2 = O2 && H.call(e4, "__wrapped__");
663
+ if (S2 || j2) {
664
+ var x2 = S2 ? t4.value() : t4, L2 = j2 ? e4.value() : e4;
665
+ return l2 || (l2 = new mt()), i3(x2, L2, n4, r4, l2);
666
+ }
667
+ }
668
+ return !!w2 && (l2 || (l2 = new mt()), function(t5, e5, n5, r5, i4, o2) {
669
+ var s2 = 1 & n5, a2 = St(t5), u2 = a2.length;
670
+ if (u2 != St(e5).length && !s2) return false;
671
+ for (var c2 = u2; c2--; ) {
672
+ var l3 = a2[c2];
673
+ if (!(s2 ? l3 in e5 : H.call(e5, l3))) return false;
674
+ }
675
+ var f2 = o2.get(t5);
676
+ if (f2 && o2.get(e5)) return f2 == e5;
677
+ var h2 = true;
678
+ o2.set(t5, e5), o2.set(e5, t5);
679
+ for (var p2 = s2; ++c2 < u2; ) {
680
+ var d3 = t5[l3 = a2[c2]], g2 = e5[l3];
681
+ if (r5) var v2 = s2 ? r5(g2, d3, l3, e5, t5, o2) : r5(d3, g2, l3, t5, e5, o2);
682
+ if (!(void 0 === v2 ? d3 === g2 || i4(d3, g2, n5, r5, o2) : v2)) {
683
+ h2 = false;
684
+ break;
685
+ }
686
+ p2 || (p2 = "constructor" == l3);
687
+ }
688
+ if (h2 && !p2) {
689
+ var _2 = t5.constructor, y3 = e5.constructor;
690
+ _2 == y3 || !("constructor" in t5) || !("constructor" in e5) || "function" == typeof _2 && _2 instanceof _2 && "function" == typeof y3 && y3 instanceof y3 || (h2 = false);
691
+ }
692
+ return o2.delete(t5), o2.delete(e5), h2;
693
+ }(t4, e4, n4, r4, i3, l2));
694
+ }(t3, e3, n3, r3, Ot, i2));
695
+ }
696
+ function wt(t3, e3, n3, r3, i2, o2) {
697
+ var s2 = 1 & n3, a2 = t3.length, u2 = e3.length;
698
+ if (a2 != u2 && !(s2 && u2 > a2)) return false;
699
+ var c2 = o2.get(t3);
700
+ if (c2 && o2.get(e3)) return c2 == e3;
701
+ var l2 = -1, f2 = true, h2 = 2 & n3 ? new bt() : void 0;
702
+ for (o2.set(t3, e3), o2.set(e3, t3); ++l2 < a2; ) {
703
+ var p2 = t3[l2], d2 = e3[l2];
704
+ if (r3) var g2 = s2 ? r3(d2, p2, l2, e3, t3, o2) : r3(p2, d2, l2, t3, e3, o2);
705
+ if (void 0 !== g2) {
706
+ if (g2) continue;
707
+ f2 = false;
708
+ break;
709
+ }
710
+ if (h2) {
711
+ if (!R(e3, function(t4, e4) {
712
+ if (s3 = e4, !h2.has(s3) && (p2 === t4 || i2(p2, t4, n3, r3, o2))) return h2.push(e4);
713
+ var s3;
714
+ })) {
715
+ f2 = false;
716
+ break;
717
+ }
718
+ } else if (p2 !== d2 && !i2(p2, d2, n3, r3, o2)) {
719
+ f2 = false;
720
+ break;
721
+ }
722
+ }
723
+ return o2.delete(t3), o2.delete(e3), f2;
724
+ }
725
+ function St(t3) {
726
+ return function(t4, e3, n3) {
727
+ var r3 = e3(t4);
728
+ return Dt(t4) ? r3 : function(t5, e4) {
729
+ for (var n4 = -1, r4 = e4.length, i2 = t5.length; ++n4 < r4; ) t5[i2 + n4] = e4[n4];
730
+ return t5;
731
+ }(r3, n3(t4));
732
+ }(t3, Ut, Lt);
733
+ }
734
+ function jt(t3, e3) {
735
+ var n3, r3, i2 = t3.__data__;
736
+ return ("string" == (r3 = typeof (n3 = e3)) || "number" == r3 || "symbol" == r3 || "boolean" == r3 ? "__proto__" !== n3 : null === n3) ? i2["string" == typeof e3 ? "string" : "hash"] : i2.map;
737
+ }
738
+ function xt(t3, e3) {
739
+ var n3 = function(t4, e4) {
740
+ return null == t4 ? void 0 : t4[e4];
741
+ }(t3, e3);
742
+ return function(t4) {
743
+ return !(!Pt(t4) || function(t5) {
744
+ return !!$ && $ in t5;
745
+ }(t4)) && (It(t4) ? W : C).test(Nt(t4));
746
+ }(n3) ? n3 : void 0;
747
+ }
748
+ vt.prototype.clear = function() {
749
+ this.__data__ = ut ? ut(null) : {}, this.size = 0;
750
+ }, vt.prototype.delete = function(t3) {
751
+ var e3 = this.has(t3) && delete this.__data__[t3];
752
+ return this.size -= e3 ? 1 : 0, e3;
753
+ }, vt.prototype.get = function(t3) {
754
+ var e3 = this.__data__;
755
+ if (ut) {
756
+ var n3 = e3[t3];
757
+ return n3 === r2 ? void 0 : n3;
758
+ }
759
+ return H.call(e3, t3) ? e3[t3] : void 0;
760
+ }, vt.prototype.has = function(t3) {
761
+ var e3 = this.__data__;
762
+ return ut ? void 0 !== e3[t3] : H.call(e3, t3);
763
+ }, vt.prototype.set = function(t3, e3) {
764
+ var n3 = this.__data__;
765
+ return this.size += this.has(t3) ? 0 : 1, n3[t3] = ut && void 0 === e3 ? r2 : e3, this;
766
+ }, _t.prototype.clear = function() {
767
+ this.__data__ = [], this.size = 0;
768
+ }, _t.prototype.delete = function(t3) {
769
+ var e3 = this.__data__, n3 = Ct(e3, t3);
770
+ return !(n3 < 0 || (n3 == e3.length - 1 ? e3.pop() : K.call(e3, n3, 1), --this.size, 0));
771
+ }, _t.prototype.get = function(t3) {
772
+ var e3 = this.__data__, n3 = Ct(e3, t3);
773
+ return n3 < 0 ? void 0 : e3[n3][1];
774
+ }, _t.prototype.has = function(t3) {
775
+ return Ct(this.__data__, t3) > -1;
776
+ }, _t.prototype.set = function(t3, e3) {
777
+ var n3 = this.__data__, r3 = Ct(n3, t3);
778
+ return r3 < 0 ? (++this.size, n3.push([t3, e3])) : n3[r3][1] = e3, this;
779
+ }, yt.prototype.clear = function() {
780
+ this.size = 0, this.__data__ = { hash: new vt(), map: new (it || _t)(), string: new vt() };
781
+ }, yt.prototype.delete = function(t3) {
782
+ var e3 = jt(this, t3).delete(t3);
783
+ return this.size -= e3 ? 1 : 0, e3;
784
+ }, yt.prototype.get = function(t3) {
785
+ return jt(this, t3).get(t3);
786
+ }, yt.prototype.has = function(t3) {
787
+ return jt(this, t3).has(t3);
788
+ }, yt.prototype.set = function(t3, e3) {
789
+ var n3 = jt(this, t3), r3 = n3.size;
790
+ return n3.set(t3, e3), this.size += n3.size == r3 ? 0 : 1, this;
791
+ }, bt.prototype.add = bt.prototype.push = function(t3) {
792
+ return this.__data__.set(t3, r2), this;
793
+ }, bt.prototype.has = function(t3) {
794
+ return this.__data__.has(t3);
795
+ }, mt.prototype.clear = function() {
796
+ this.__data__ = new _t(), this.size = 0;
797
+ }, mt.prototype.delete = function(t3) {
798
+ var e3 = this.__data__, n3 = e3.delete(t3);
799
+ return this.size = e3.size, n3;
800
+ }, mt.prototype.get = function(t3) {
801
+ return this.__data__.get(t3);
802
+ }, mt.prototype.has = function(t3) {
803
+ return this.__data__.has(t3);
804
+ }, mt.prototype.set = function(t3, e3) {
805
+ var n3 = this.__data__;
806
+ if (n3 instanceof _t) {
807
+ var r3 = n3.__data__;
808
+ if (!it || r3.length < 199) return r3.push([t3, e3]), this.size = ++n3.size, this;
809
+ n3 = this.__data__ = new yt(r3);
810
+ }
811
+ return n3.set(t3, e3), this.size = n3.size, this;
812
+ };
813
+ var Lt = tt ? function(t3) {
814
+ return null == t3 ? [] : (t3 = Object(t3), function(e3, n3) {
815
+ for (var r3 = -1, i2 = null == e3 ? 0 : e3.length, o2 = 0, s2 = []; ++r3 < i2; ) {
816
+ var a2 = e3[r3];
817
+ u2 = a2, Y.call(t3, u2) && (s2[o2++] = a2);
818
+ }
819
+ var u2;
820
+ return s2;
821
+ }(tt(t3)));
822
+ } : function() {
823
+ return [];
824
+ }, Tt = Et;
825
+ function Mt(t3, e3) {
826
+ return !!(e3 = null == e3 ? i : e3) && ("number" == typeof t3 || E.test(t3)) && t3 > -1 && t3 % 1 == 0 && t3 < e3;
827
+ }
828
+ function Nt(t3) {
829
+ if (null != t3) {
830
+ try {
831
+ return G.call(t3);
832
+ } catch (t4) {
833
+ }
834
+ try {
835
+ return t3 + "";
836
+ } catch (t4) {
837
+ }
838
+ }
839
+ return "";
840
+ }
841
+ function Rt(t3, e3) {
842
+ return t3 === e3 || t3 != t3 && e3 != e3;
843
+ }
844
+ (rt && Tt(new rt(new ArrayBuffer(1))) != m || it && Tt(new it()) != f || ot && Tt(ot.resolve()) != d || st && Tt(new st()) != v || at && Tt(new at()) != y) && (Tt = function(t3) {
845
+ var e3 = Et(t3), n3 = e3 == p ? t3.constructor : void 0, r3 = n3 ? Nt(n3) : "";
846
+ if (r3) switch (r3) {
847
+ case ct:
848
+ return m;
849
+ case lt:
850
+ return f;
851
+ case ft:
852
+ return d;
853
+ case ht:
854
+ return v;
855
+ case pt:
856
+ return y;
857
+ }
858
+ return e3;
859
+ });
860
+ var kt = At(/* @__PURE__ */ function() {
861
+ return arguments;
862
+ }()) ? At : function(t3) {
863
+ return Ft(t3) && H.call(t3, "callee") && !Y.call(t3, "callee");
864
+ }, Dt = Array.isArray, qt = et || function() {
865
+ return false;
866
+ };
867
+ function It(t3) {
868
+ if (!Pt(t3)) return false;
869
+ var e3 = Et(t3);
870
+ return e3 == l || "[object GeneratorFunction]" == e3 || "[object AsyncFunction]" == e3 || "[object Proxy]" == e3;
871
+ }
872
+ function Bt(t3) {
873
+ return "number" == typeof t3 && t3 > -1 && t3 % 1 == 0 && t3 <= i;
874
+ }
875
+ function Pt(t3) {
876
+ var e3 = typeof t3;
877
+ return null != t3 && ("object" == e3 || "function" == e3);
878
+ }
879
+ function Ft(t3) {
880
+ return null != t3 && "object" == typeof t3;
881
+ }
882
+ var zt = N ? /* @__PURE__ */ function(t3) {
883
+ return function(e3) {
884
+ return t3(e3);
885
+ };
886
+ }(N) : function(t3) {
887
+ return Ft(t3) && Bt(t3.length) && !!A[Et(t3)];
888
+ };
889
+ function Ut(t3) {
890
+ return null != (e3 = t3) && Bt(e3.length) && !It(e3) ? function(t4, e4) {
891
+ var n3 = Dt(t4), r3 = !n3 && kt(t4), i2 = !n3 && !r3 && qt(t4), o2 = !n3 && !r3 && !i2 && zt(t4), s2 = n3 || r3 || i2 || o2, a2 = s2 ? function(t5, e5) {
892
+ for (var n4 = -1, r4 = Array(t5); ++n4 < t5; ) r4[n4] = e5(n4);
893
+ return r4;
894
+ }(t4.length, String) : [], u2 = a2.length;
895
+ for (var c2 in t4) !e4 && !H.call(t4, c2) || s2 && ("length" == c2 || i2 && ("offset" == c2 || "parent" == c2) || o2 && ("buffer" == c2 || "byteLength" == c2 || "byteOffset" == c2) || Mt(c2, u2)) || a2.push(c2);
896
+ return a2;
897
+ }(t3) : function(t4) {
898
+ if (n3 = (e4 = t4) && e4.constructor, e4 !== ("function" == typeof n3 && n3.prototype || z)) return nt(t4);
899
+ var e4, n3, r3 = [];
900
+ for (var i2 in Object(t4)) H.call(t4, i2) && "constructor" != i2 && r3.push(i2);
901
+ return r3;
902
+ }(t3);
903
+ var e3;
904
+ }
905
+ t2.exports = function(t3, e3) {
906
+ return Ot(t3, e3);
907
+ };
908
+ }, 210: function(t2, e2, n2) {
909
+ "use strict";
910
+ var r2 = this && this.__importDefault || function(t3) {
911
+ return t3 && t3.__esModule ? t3 : { default: t3 };
912
+ };
913
+ Object.defineProperty(e2, "__esModule", { value: true });
914
+ var i, o = r2(n2(465)), s = r2(n2(307));
915
+ !function(t3) {
916
+ t3.compose = function(t4, e3, n3) {
917
+ void 0 === t4 && (t4 = {}), void 0 === e3 && (e3 = {}), "object" != typeof t4 && (t4 = {}), "object" != typeof e3 && (e3 = {});
918
+ var r3 = o.default(e3);
919
+ for (var i2 in n3 || (r3 = Object.keys(r3).reduce(function(t5, e4) {
920
+ return null != r3[e4] && (t5[e4] = r3[e4]), t5;
921
+ }, {})), t4) void 0 !== t4[i2] && void 0 === e3[i2] && (r3[i2] = t4[i2]);
922
+ return Object.keys(r3).length > 0 ? r3 : void 0;
923
+ }, t3.diff = function(t4, e3) {
924
+ void 0 === t4 && (t4 = {}), void 0 === e3 && (e3 = {}), "object" != typeof t4 && (t4 = {}), "object" != typeof e3 && (e3 = {});
925
+ var n3 = Object.keys(t4).concat(Object.keys(e3)).reduce(function(n4, r3) {
926
+ return s.default(t4[r3], e3[r3]) || (n4[r3] = void 0 === e3[r3] ? null : e3[r3]), n4;
927
+ }, {});
928
+ return Object.keys(n3).length > 0 ? n3 : void 0;
929
+ }, t3.invert = function(t4, e3) {
930
+ void 0 === t4 && (t4 = {}), void 0 === e3 && (e3 = {}), t4 = t4 || {};
931
+ var n3 = Object.keys(e3).reduce(function(n4, r3) {
932
+ return e3[r3] !== t4[r3] && void 0 !== t4[r3] && (n4[r3] = e3[r3]), n4;
933
+ }, {});
934
+ return Object.keys(t4).reduce(function(n4, r3) {
935
+ return t4[r3] !== e3[r3] && void 0 === e3[r3] && (n4[r3] = null), n4;
936
+ }, n3);
937
+ }, t3.transform = function(t4, e3, n3) {
938
+ if (void 0 === n3 && (n3 = false), "object" != typeof t4) return e3;
939
+ if ("object" == typeof e3) {
940
+ if (!n3) return e3;
941
+ var r3 = Object.keys(e3).reduce(function(n4, r4) {
942
+ return void 0 === t4[r4] && (n4[r4] = e3[r4]), n4;
943
+ }, {});
944
+ return Object.keys(r3).length > 0 ? r3 : void 0;
945
+ }
946
+ };
947
+ }(i || (i = {})), e2.default = i;
948
+ }, 895: function(t2, e2, n2) {
949
+ "use strict";
950
+ var r2 = this && this.__importDefault || function(t3) {
951
+ return t3 && t3.__esModule ? t3 : { default: t3 };
952
+ }, i = r2(n2(529)), o = r2(n2(465)), s = r2(n2(307)), a = r2(n2(210)), u = r2(n2(430)), c = String.fromCharCode(0), l = function() {
953
+ function t3(t4) {
954
+ Array.isArray(t4) ? this.ops = t4 : null != t4 && Array.isArray(t4.ops) ? this.ops = t4.ops : this.ops = [];
955
+ }
956
+ return t3.prototype.insert = function(t4, e3) {
957
+ var n3 = {};
958
+ return "string" == typeof t4 && 0 === t4.length ? this : (n3.insert = t4, null != e3 && "object" == typeof e3 && Object.keys(e3).length > 0 && (n3.attributes = e3), this.push(n3));
959
+ }, t3.prototype.delete = function(t4) {
960
+ return t4 <= 0 ? this : this.push({ delete: t4 });
961
+ }, t3.prototype.retain = function(t4, e3) {
962
+ if (t4 <= 0) return this;
963
+ var n3 = { retain: t4 };
964
+ return null != e3 && "object" == typeof e3 && Object.keys(e3).length > 0 && (n3.attributes = e3), this.push(n3);
965
+ }, t3.prototype.push = function(t4) {
966
+ var e3 = this.ops.length, n3 = this.ops[e3 - 1];
967
+ if (t4 = o.default(t4), "object" == typeof n3) {
968
+ if ("number" == typeof t4.delete && "number" == typeof n3.delete) return this.ops[e3 - 1] = { delete: n3.delete + t4.delete }, this;
969
+ if ("number" == typeof n3.delete && null != t4.insert && (e3 -= 1, "object" != typeof (n3 = this.ops[e3 - 1]))) return this.ops.unshift(t4), this;
970
+ if (s.default(t4.attributes, n3.attributes)) {
971
+ if ("string" == typeof t4.insert && "string" == typeof n3.insert) return this.ops[e3 - 1] = { insert: n3.insert + t4.insert }, "object" == typeof t4.attributes && (this.ops[e3 - 1].attributes = t4.attributes), this;
972
+ if ("number" == typeof t4.retain && "number" == typeof n3.retain) return this.ops[e3 - 1] = { retain: n3.retain + t4.retain }, "object" == typeof t4.attributes && (this.ops[e3 - 1].attributes = t4.attributes), this;
973
+ }
974
+ }
975
+ return e3 === this.ops.length ? this.ops.push(t4) : this.ops.splice(e3, 0, t4), this;
976
+ }, t3.prototype.chop = function() {
977
+ var t4 = this.ops[this.ops.length - 1];
978
+ return t4 && t4.retain && !t4.attributes && this.ops.pop(), this;
979
+ }, t3.prototype.filter = function(t4) {
980
+ return this.ops.filter(t4);
981
+ }, t3.prototype.forEach = function(t4) {
982
+ this.ops.forEach(t4);
983
+ }, t3.prototype.map = function(t4) {
984
+ return this.ops.map(t4);
985
+ }, t3.prototype.partition = function(t4) {
986
+ var e3 = [], n3 = [];
987
+ return this.forEach(function(r3) {
988
+ (t4(r3) ? e3 : n3).push(r3);
989
+ }), [e3, n3];
990
+ }, t3.prototype.reduce = function(t4, e3) {
991
+ return this.ops.reduce(t4, e3);
992
+ }, t3.prototype.changeLength = function() {
993
+ return this.reduce(function(t4, e3) {
994
+ return e3.insert ? t4 + u.default.length(e3) : e3.delete ? t4 - e3.delete : t4;
995
+ }, 0);
996
+ }, t3.prototype.length = function() {
997
+ return this.reduce(function(t4, e3) {
998
+ return t4 + u.default.length(e3);
999
+ }, 0);
1000
+ }, t3.prototype.slice = function(e3, n3) {
1001
+ void 0 === e3 && (e3 = 0), void 0 === n3 && (n3 = 1 / 0);
1002
+ for (var r3 = [], i2 = u.default.iterator(this.ops), o2 = 0; o2 < n3 && i2.hasNext(); ) {
1003
+ var s2 = void 0;
1004
+ o2 < e3 ? s2 = i2.next(e3 - o2) : (s2 = i2.next(n3 - o2), r3.push(s2)), o2 += u.default.length(s2);
1005
+ }
1006
+ return new t3(r3);
1007
+ }, t3.prototype.compose = function(e3) {
1008
+ var n3 = u.default.iterator(this.ops), r3 = u.default.iterator(e3.ops), i2 = [], o2 = r3.peek();
1009
+ if (null != o2 && "number" == typeof o2.retain && null == o2.attributes) {
1010
+ for (var c2 = o2.retain; "insert" === n3.peekType() && n3.peekLength() <= c2; ) c2 -= n3.peekLength(), i2.push(n3.next());
1011
+ o2.retain - c2 > 0 && r3.next(o2.retain - c2);
1012
+ }
1013
+ for (var l2 = new t3(i2); n3.hasNext() || r3.hasNext(); ) if ("insert" === r3.peekType()) l2.push(r3.next());
1014
+ else if ("delete" === n3.peekType()) l2.push(n3.next());
1015
+ else {
1016
+ var f = Math.min(n3.peekLength(), r3.peekLength()), h = n3.next(f), p = r3.next(f);
1017
+ if ("number" == typeof p.retain) {
1018
+ var d = {};
1019
+ "number" == typeof h.retain ? d.retain = f : d.insert = h.insert;
1020
+ var g = a.default.compose(h.attributes, p.attributes, "number" == typeof h.retain);
1021
+ if (g && (d.attributes = g), l2.push(d), !r3.hasNext() && s.default(l2.ops[l2.ops.length - 1], d)) {
1022
+ var v = new t3(n3.rest());
1023
+ return l2.concat(v).chop();
1024
+ }
1025
+ } else "number" == typeof p.delete && "number" == typeof h.retain && l2.push(p);
1026
+ }
1027
+ return l2.chop();
1028
+ }, t3.prototype.concat = function(e3) {
1029
+ var n3 = new t3(this.ops.slice());
1030
+ return e3.ops.length > 0 && (n3.push(e3.ops[0]), n3.ops = n3.ops.concat(e3.ops.slice(1))), n3;
1031
+ }, t3.prototype.diff = function(e3, n3) {
1032
+ if (this.ops === e3.ops) return new t3();
1033
+ var r3 = [this, e3].map(function(t4) {
1034
+ return t4.map(function(n4) {
1035
+ if (null != n4.insert) return "string" == typeof n4.insert ? n4.insert : c;
1036
+ throw new Error("diff() called " + (t4 === e3 ? "on" : "with") + " non-document");
1037
+ }).join("");
1038
+ }), o2 = new t3(), l2 = i.default(r3[0], r3[1], n3), f = u.default.iterator(this.ops), h = u.default.iterator(e3.ops);
1039
+ return l2.forEach(function(t4) {
1040
+ for (var e4 = t4[1].length; e4 > 0; ) {
1041
+ var n4 = 0;
1042
+ switch (t4[0]) {
1043
+ case i.default.INSERT:
1044
+ n4 = Math.min(h.peekLength(), e4), o2.push(h.next(n4));
1045
+ break;
1046
+ case i.default.DELETE:
1047
+ n4 = Math.min(e4, f.peekLength()), f.next(n4), o2.delete(n4);
1048
+ break;
1049
+ case i.default.EQUAL:
1050
+ n4 = Math.min(f.peekLength(), h.peekLength(), e4);
1051
+ var r4 = f.next(n4), u2 = h.next(n4);
1052
+ s.default(r4.insert, u2.insert) ? o2.retain(n4, a.default.diff(r4.attributes, u2.attributes)) : o2.push(u2).delete(n4);
1053
+ }
1054
+ e4 -= n4;
1055
+ }
1056
+ }), o2.chop();
1057
+ }, t3.prototype.eachLine = function(e3, n3) {
1058
+ void 0 === n3 && (n3 = "\n");
1059
+ for (var r3 = u.default.iterator(this.ops), i2 = new t3(), o2 = 0; r3.hasNext(); ) {
1060
+ if ("insert" !== r3.peekType()) return;
1061
+ var s2 = r3.peek(), a2 = u.default.length(s2) - r3.peekLength(), c2 = "string" == typeof s2.insert ? s2.insert.indexOf(n3, a2) - a2 : -1;
1062
+ if (c2 < 0) i2.push(r3.next());
1063
+ else if (c2 > 0) i2.push(r3.next(c2));
1064
+ else {
1065
+ if (false === e3(i2, r3.next(1).attributes || {}, o2)) return;
1066
+ o2 += 1, i2 = new t3();
1067
+ }
1068
+ }
1069
+ i2.length() > 0 && e3(i2, {}, o2);
1070
+ }, t3.prototype.invert = function(e3) {
1071
+ var n3 = new t3();
1072
+ return this.reduce(function(t4, r3) {
1073
+ if (r3.insert) n3.delete(u.default.length(r3));
1074
+ else {
1075
+ if (r3.retain && null == r3.attributes) return n3.retain(r3.retain), t4 + r3.retain;
1076
+ if (r3.delete || r3.retain && r3.attributes) {
1077
+ var i2 = r3.delete || r3.retain;
1078
+ return e3.slice(t4, t4 + i2).forEach(function(t5) {
1079
+ r3.delete ? n3.push(t5) : r3.retain && r3.attributes && n3.retain(u.default.length(t5), a.default.invert(r3.attributes, t5.attributes));
1080
+ }), t4 + i2;
1081
+ }
1082
+ }
1083
+ return t4;
1084
+ }, 0), n3.chop();
1085
+ }, t3.prototype.transform = function(e3, n3) {
1086
+ if (void 0 === n3 && (n3 = false), n3 = !!n3, "number" == typeof e3) return this.transformPosition(e3, n3);
1087
+ for (var r3 = e3, i2 = u.default.iterator(this.ops), o2 = u.default.iterator(r3.ops), s2 = new t3(); i2.hasNext() || o2.hasNext(); ) if ("insert" !== i2.peekType() || !n3 && "insert" === o2.peekType()) if ("insert" === o2.peekType()) s2.push(o2.next());
1088
+ else {
1089
+ var c2 = Math.min(i2.peekLength(), o2.peekLength()), l2 = i2.next(c2), f = o2.next(c2);
1090
+ if (l2.delete) continue;
1091
+ f.delete ? s2.push(f) : s2.retain(c2, a.default.transform(l2.attributes, f.attributes, n3));
1092
+ }
1093
+ else s2.retain(u.default.length(i2.next()));
1094
+ return s2.chop();
1095
+ }, t3.prototype.transformPosition = function(t4, e3) {
1096
+ void 0 === e3 && (e3 = false), e3 = !!e3;
1097
+ for (var n3 = u.default.iterator(this.ops), r3 = 0; n3.hasNext() && r3 <= t4; ) {
1098
+ var i2 = n3.peekLength(), o2 = n3.peekType();
1099
+ n3.next(), "delete" !== o2 ? ("insert" === o2 && (r3 < t4 || !e3) && (t4 += i2), r3 += i2) : t4 -= Math.min(i2, t4 - r3);
1100
+ }
1101
+ return t4;
1102
+ }, t3.Op = u.default, t3.AttributeMap = a.default, t3;
1103
+ }();
1104
+ t2.exports = l;
1105
+ }, 977: function(t2, e2, n2) {
1106
+ "use strict";
1107
+ var r2 = this && this.__importDefault || function(t3) {
1108
+ return t3 && t3.__esModule ? t3 : { default: t3 };
1109
+ };
1110
+ Object.defineProperty(e2, "__esModule", { value: true });
1111
+ var i = r2(n2(430)), o = function() {
1112
+ function t3(t4) {
1113
+ this.ops = t4, this.index = 0, this.offset = 0;
1114
+ }
1115
+ return t3.prototype.hasNext = function() {
1116
+ return this.peekLength() < 1 / 0;
1117
+ }, t3.prototype.next = function(t4) {
1118
+ t4 || (t4 = 1 / 0);
1119
+ var e3 = this.ops[this.index];
1120
+ if (e3) {
1121
+ var n3 = this.offset, r3 = i.default.length(e3);
1122
+ if (t4 >= r3 - n3 ? (t4 = r3 - n3, this.index += 1, this.offset = 0) : this.offset += t4, "number" == typeof e3.delete) return { delete: t4 };
1123
+ var o2 = {};
1124
+ return e3.attributes && (o2.attributes = e3.attributes), "number" == typeof e3.retain ? o2.retain = t4 : "string" == typeof e3.insert ? o2.insert = e3.insert.substr(n3, t4) : o2.insert = e3.insert, o2;
1125
+ }
1126
+ return { retain: 1 / 0 };
1127
+ }, t3.prototype.peek = function() {
1128
+ return this.ops[this.index];
1129
+ }, t3.prototype.peekLength = function() {
1130
+ return this.ops[this.index] ? i.default.length(this.ops[this.index]) - this.offset : 1 / 0;
1131
+ }, t3.prototype.peekType = function() {
1132
+ return this.ops[this.index] ? "number" == typeof this.ops[this.index].delete ? "delete" : "number" == typeof this.ops[this.index].retain ? "retain" : "insert" : "retain";
1133
+ }, t3.prototype.rest = function() {
1134
+ if (this.hasNext()) {
1135
+ if (0 === this.offset) return this.ops.slice(this.index);
1136
+ var t4 = this.offset, e3 = this.index, n3 = this.next(), r3 = this.ops.slice(this.index);
1137
+ return this.offset = t4, this.index = e3, [n3].concat(r3);
1138
+ }
1139
+ return [];
1140
+ }, t3;
1141
+ }();
1142
+ e2.default = o;
1143
+ }, 430: function(t2, e2, n2) {
1144
+ "use strict";
1145
+ var r2 = this && this.__importDefault || function(t3) {
1146
+ return t3 && t3.__esModule ? t3 : { default: t3 };
1147
+ };
1148
+ Object.defineProperty(e2, "__esModule", { value: true });
1149
+ var i, o = r2(n2(977));
1150
+ !function(t3) {
1151
+ t3.iterator = function(t4) {
1152
+ return new o.default(t4);
1153
+ }, t3.length = function(t4) {
1154
+ return "number" == typeof t4.delete ? t4.delete : "number" == typeof t4.retain ? t4.retain : "string" == typeof t4.insert ? t4.insert.length : 1;
1155
+ };
1156
+ }(i || (i = {})), e2.default = i;
1157
+ }, 165: function(t2, e2, n2) {
1158
+ var r2, i;
1159
+ void 0 === (i = "function" == typeof (r2 = function() {
1160
+ var t3, e3 = {};
1161
+ function n3(t4, e4, n4) {
1162
+ var r4 = t4.getClientRects();
1163
+ if (2 === r4.length) {
1164
+ var i3 = t4.getBoundingClientRect();
1165
+ return r4[e4][n4] < i3[n4];
1166
+ }
1167
+ return false;
1168
+ }
1169
+ function r3(t4) {
1170
+ if (!t4) return t4;
1171
+ if (screen.deviceXDPI === screen.logicalXDPI) return t4;
1172
+ if ("length" in t4) return Array.prototype.map.call(t4, r3);
1173
+ var e4 = screen.deviceXDPI / screen.logicalXDPI;
1174
+ return { top: t4.top / e4, bottom: t4.bottom / e4, left: t4.left / e4, right: t4.right / e4, width: t4.width / e4, height: t4.height / e4 };
1175
+ }
1176
+ function i2(t4, e4) {
1177
+ var n4, r4 = 0, i3 = 1024;
1178
+ if (i3 >= e4.length) return Array.prototype.push.apply(t4, e4);
1179
+ for (; r4 < e4.length; ) n4 = Array.prototype.push.apply(t4, Array.prototype.slice.call(e4, r4, r4 + i3)), r4 += i3;
1180
+ return n4;
1181
+ }
1182
+ return e3.isBroken = function() {
1183
+ if (void 0 === t3) {
1184
+ var e4 = document.createElement("p"), r4 = document.createElement("span"), i3 = document.createTextNode("aa"), o = document.createTextNode("aa"), s = document.createElement("img");
1185
+ s.setAttribute("src", "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=");
1186
+ var a = document.createRange();
1187
+ if (t3 = {}, e4.appendChild(i3), e4.appendChild(r4), r4.appendChild(s), r4.appendChild(o), document.body.appendChild(e4), a.setStart(i3, 1), a.setEnd(r4, 0), t3.getClientRects = t3.getBoundingClientRect = a.getClientRects().length > 1, t3.getClientRects || (a.setEnd(o, 1), t3.getClientRects = t3.getBoundingClientRect = 2 === a.getClientRects().length), !t3.getBoundingClientRect) {
1188
+ a.setEnd(a.startContainer, a.startOffset);
1189
+ var u = a.getBoundingClientRect();
1190
+ t3.getBoundingClientRect = 0 === u.top && 0 === u.left;
1191
+ }
1192
+ if (document.body.removeChild(e4), !t3.getBoundingClientRect) {
1193
+ var c = document.createElement("p");
1194
+ c.style.width = "0px", c.style.fontSize = "20px", c.style.whiteSpace = "normal", c.style.wordBreak = "normal";
1195
+ var l = document.createTextNode("m mm");
1196
+ c.appendChild(l), document.body.appendChild(c), a.setStart(l, 1), a.setEnd(l, 2), n3(a, 1, "left") ? t3.getBoundingClientRect = true : (a.setStart(l, 1), a.setEnd(l, 3), n3(a, 0, "top") && (t3.getBoundingClientRect = true)), document.body.removeChild(c);
1197
+ }
1198
+ var f = window.ActiveXObject && new Function("/*@cc_on return @_jscript_version; @*/")();
1199
+ t3.ieZoom = !!f && f <= 10;
1200
+ }
1201
+ return t3;
1202
+ }, e3.getClientRects = function(t4) {
1203
+ var e4 = this.isBroken();
1204
+ if (e4.ieZoom) return r3(t4.getClientRects());
1205
+ if (!e4.getClientRects) return t4.getClientRects();
1206
+ var n4 = [], o = [], s = t4.endContainer, a = t4.endOffset, u = document.createRange();
1207
+ function c(t5) {
1208
+ for (var e5 = 0; t5 = t5.previousSibling; ) e5++;
1209
+ return e5;
1210
+ }
1211
+ for (; s !== t4.commonAncestorContainer; ) u.setStart(s, 0), u.setEnd(s, a), i2(o, u.getClientRects()), a = c(s), s = s.parentNode;
1212
+ return (u = t4.cloneRange()).setEnd(s, a), i2(n4, u.getClientRects()), i2(n4, o), n4;
1213
+ }, e3.getBoundingClientRect = function(t4) {
1214
+ var e4 = this.getClientRects(t4);
1215
+ if (0 === e4.length) return null;
1216
+ var n4, i3 = t4.getBoundingClientRect(), o = this.isBroken();
1217
+ if (o.ieZoom) return r3(i3);
1218
+ if (!o.getBoundingClientRect) return i3;
1219
+ if (0 === i3.width && 0 === i3.height) return e4[0];
1220
+ for (var s = 0, a = e4.length; s < a; s++) {
1221
+ var u = e4[s];
1222
+ n4 ? (n4.left = Math.min(n4.left, u.left), n4.top = Math.min(n4.top, u.top), n4.right = Math.max(n4.right, u.right), n4.bottom = Math.max(n4.bottom, u.bottom)) : n4 = { left: u.left, top: u.top, right: u.right, bottom: u.bottom };
1223
+ }
1224
+ return n4 && (n4.width = n4.right - n4.left, n4.height = n4.bottom - n4.top), n4;
1225
+ }, e3;
1226
+ }) ? r2.call(e2, n2, e2, t2) : r2) || (t2.exports = i);
1227
+ }, 33: (t2, e2, n2) => {
1228
+ "use strict";
1229
+ n2.r(e2), n2.d(e2, { default: () => A });
1230
+ var r2 = function() {
1231
+ if ("undefined" != typeof Map) return Map;
1232
+ function t3(t4, e3) {
1233
+ var n3 = -1;
1234
+ return t4.some(function(t5, r3) {
1235
+ return t5[0] === e3 && (n3 = r3, true);
1236
+ }), n3;
1237
+ }
1238
+ return function() {
1239
+ function e3() {
1240
+ this.__entries__ = [];
1241
+ }
1242
+ return Object.defineProperty(e3.prototype, "size", { get: function() {
1243
+ return this.__entries__.length;
1244
+ }, enumerable: true, configurable: true }), e3.prototype.get = function(e4) {
1245
+ var n3 = t3(this.__entries__, e4), r3 = this.__entries__[n3];
1246
+ return r3 && r3[1];
1247
+ }, e3.prototype.set = function(e4, n3) {
1248
+ var r3 = t3(this.__entries__, e4);
1249
+ ~r3 ? this.__entries__[r3][1] = n3 : this.__entries__.push([e4, n3]);
1250
+ }, e3.prototype.delete = function(e4) {
1251
+ var n3 = this.__entries__, r3 = t3(n3, e4);
1252
+ ~r3 && n3.splice(r3, 1);
1253
+ }, e3.prototype.has = function(e4) {
1254
+ return !!~t3(this.__entries__, e4);
1255
+ }, e3.prototype.clear = function() {
1256
+ this.__entries__.splice(0);
1257
+ }, e3.prototype.forEach = function(t4, e4) {
1258
+ void 0 === e4 && (e4 = null);
1259
+ for (var n3 = 0, r3 = this.__entries__; n3 < r3.length; n3++) {
1260
+ var i2 = r3[n3];
1261
+ t4.call(e4, i2[1], i2[0]);
1262
+ }
1263
+ }, e3;
1264
+ }();
1265
+ }(), i = "undefined" != typeof window && "undefined" != typeof document && window.document === document, o = void 0 !== n2.g && n2.g.Math === Math ? n2.g : "undefined" != typeof self && self.Math === Math ? self : "undefined" != typeof window && window.Math === Math ? window : Function("return this")(), s = "function" == typeof requestAnimationFrame ? requestAnimationFrame.bind(o) : function(t3) {
1266
+ return setTimeout(function() {
1267
+ return t3(Date.now());
1268
+ }, 1e3 / 60);
1269
+ }, a = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], u = "undefined" != typeof MutationObserver, c = function() {
1270
+ function t3() {
1271
+ this.connected_ = false, this.mutationEventsAdded_ = false, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = /* @__PURE__ */ function(t4, e3) {
1272
+ var n3 = false, r3 = false, i2 = 0;
1273
+ function o2() {
1274
+ n3 && (n3 = false, t4()), r3 && u2();
1275
+ }
1276
+ function a2() {
1277
+ s(o2);
1278
+ }
1279
+ function u2() {
1280
+ var t5 = Date.now();
1281
+ if (n3) {
1282
+ if (t5 - i2 < 2) return;
1283
+ r3 = true;
1284
+ } else n3 = true, r3 = false, setTimeout(a2, 20);
1285
+ i2 = t5;
1286
+ }
1287
+ return u2;
1288
+ }(this.refresh.bind(this));
1289
+ }
1290
+ return t3.prototype.addObserver = function(t4) {
1291
+ ~this.observers_.indexOf(t4) || this.observers_.push(t4), this.connected_ || this.connect_();
1292
+ }, t3.prototype.removeObserver = function(t4) {
1293
+ var e3 = this.observers_, n3 = e3.indexOf(t4);
1294
+ ~n3 && e3.splice(n3, 1), !e3.length && this.connected_ && this.disconnect_();
1295
+ }, t3.prototype.refresh = function() {
1296
+ this.updateObservers_() && this.refresh();
1297
+ }, t3.prototype.updateObservers_ = function() {
1298
+ var t4 = this.observers_.filter(function(t5) {
1299
+ return t5.gatherActive(), t5.hasActive();
1300
+ });
1301
+ return t4.forEach(function(t5) {
1302
+ return t5.broadcastActive();
1303
+ }), t4.length > 0;
1304
+ }, t3.prototype.connect_ = function() {
1305
+ i && !this.connected_ && (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), u ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, { attributes: true, childList: true, characterData: true, subtree: true })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = true), this.connected_ = true);
1306
+ }, t3.prototype.disconnect_ = function() {
1307
+ i && this.connected_ && (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = false, this.connected_ = false);
1308
+ }, t3.prototype.onTransitionEnd_ = function(t4) {
1309
+ var e3 = t4.propertyName, n3 = void 0 === e3 ? "" : e3;
1310
+ a.some(function(t5) {
1311
+ return !!~n3.indexOf(t5);
1312
+ }) && this.refresh();
1313
+ }, t3.getInstance = function() {
1314
+ return this.instance_ || (this.instance_ = new t3()), this.instance_;
1315
+ }, t3.instance_ = null, t3;
1316
+ }(), l = function(t3, e3) {
1317
+ for (var n3 = 0, r3 = Object.keys(e3); n3 < r3.length; n3++) {
1318
+ var i2 = r3[n3];
1319
+ Object.defineProperty(t3, i2, { value: e3[i2], enumerable: false, writable: false, configurable: true });
1320
+ }
1321
+ return t3;
1322
+ }, f = function(t3) {
1323
+ return t3 && t3.ownerDocument && t3.ownerDocument.defaultView || o;
1324
+ }, h = _(0, 0, 0, 0);
1325
+ function p(t3) {
1326
+ return parseFloat(t3) || 0;
1327
+ }
1328
+ function d(t3) {
1329
+ for (var e3 = [], n3 = 1; n3 < arguments.length; n3++) e3[n3 - 1] = arguments[n3];
1330
+ return e3.reduce(function(e4, n4) {
1331
+ return e4 + p(t3["border-" + n4 + "-width"]);
1332
+ }, 0);
1333
+ }
1334
+ var g = "undefined" != typeof SVGGraphicsElement ? function(t3) {
1335
+ return t3 instanceof f(t3).SVGGraphicsElement;
1336
+ } : function(t3) {
1337
+ return t3 instanceof f(t3).SVGElement && "function" == typeof t3.getBBox;
1338
+ };
1339
+ function v(t3) {
1340
+ return i ? g(t3) ? function(t4) {
1341
+ var e3 = t4.getBBox();
1342
+ return _(0, 0, e3.width, e3.height);
1343
+ }(t3) : function(t4) {
1344
+ var e3 = t4.clientWidth, n3 = t4.clientHeight;
1345
+ if (!e3 && !n3) return h;
1346
+ var r3 = f(t4).getComputedStyle(t4), i2 = function(t5) {
1347
+ for (var e4 = {}, n4 = 0, r4 = ["top", "right", "bottom", "left"]; n4 < r4.length; n4++) {
1348
+ var i3 = r4[n4], o3 = t5["padding-" + i3];
1349
+ e4[i3] = p(o3);
1350
+ }
1351
+ return e4;
1352
+ }(r3), o2 = i2.left + i2.right, s2 = i2.top + i2.bottom, a2 = p(r3.width), u2 = p(r3.height);
1353
+ if ("border-box" === r3.boxSizing && (Math.round(a2 + o2) !== e3 && (a2 -= d(r3, "left", "right") + o2), Math.round(u2 + s2) !== n3 && (u2 -= d(r3, "top", "bottom") + s2)), !function(t5) {
1354
+ return t5 === f(t5).document.documentElement;
1355
+ }(t4)) {
1356
+ var c2 = Math.round(a2 + o2) - e3, l2 = Math.round(u2 + s2) - n3;
1357
+ 1 !== Math.abs(c2) && (a2 -= c2), 1 !== Math.abs(l2) && (u2 -= l2);
1358
+ }
1359
+ return _(i2.left, i2.top, a2, u2);
1360
+ }(t3) : h;
1361
+ }
1362
+ function _(t3, e3, n3, r3) {
1363
+ return { x: t3, y: e3, width: n3, height: r3 };
1364
+ }
1365
+ var y = function() {
1366
+ function t3(t4) {
1367
+ this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = _(0, 0, 0, 0), this.target = t4;
1368
+ }
1369
+ return t3.prototype.isActive = function() {
1370
+ var t4 = v(this.target);
1371
+ return this.contentRect_ = t4, t4.width !== this.broadcastWidth || t4.height !== this.broadcastHeight;
1372
+ }, t3.prototype.broadcastRect = function() {
1373
+ var t4 = this.contentRect_;
1374
+ return this.broadcastWidth = t4.width, this.broadcastHeight = t4.height, t4;
1375
+ }, t3;
1376
+ }(), b = function(t3, e3) {
1377
+ var n3, r3, i2, o2, s2, a2, u2, c2 = (r3 = (n3 = e3).x, i2 = n3.y, o2 = n3.width, s2 = n3.height, a2 = "undefined" != typeof DOMRectReadOnly ? DOMRectReadOnly : Object, u2 = Object.create(a2.prototype), l(u2, { x: r3, y: i2, width: o2, height: s2, top: i2, right: r3 + o2, bottom: s2 + i2, left: r3 }), u2);
1378
+ l(this, { target: t3, contentRect: c2 });
1379
+ }, m = function() {
1380
+ function t3(t4, e3, n3) {
1381
+ if (this.activeObservations_ = [], this.observations_ = new r2(), "function" != typeof t4) throw new TypeError("The callback provided as parameter 1 is not a function.");
1382
+ this.callback_ = t4, this.controller_ = e3, this.callbackCtx_ = n3;
1383
+ }
1384
+ return t3.prototype.observe = function(t4) {
1385
+ if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
1386
+ if ("undefined" != typeof Element && Element instanceof Object) {
1387
+ if (!(t4 instanceof f(t4).Element)) throw new TypeError('parameter 1 is not of type "Element".');
1388
+ var e3 = this.observations_;
1389
+ e3.has(t4) || (e3.set(t4, new y(t4)), this.controller_.addObserver(this), this.controller_.refresh());
1390
+ }
1391
+ }, t3.prototype.unobserve = function(t4) {
1392
+ if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
1393
+ if ("undefined" != typeof Element && Element instanceof Object) {
1394
+ if (!(t4 instanceof f(t4).Element)) throw new TypeError('parameter 1 is not of type "Element".');
1395
+ var e3 = this.observations_;
1396
+ e3.has(t4) && (e3.delete(t4), e3.size || this.controller_.removeObserver(this));
1397
+ }
1398
+ }, t3.prototype.disconnect = function() {
1399
+ this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
1400
+ }, t3.prototype.gatherActive = function() {
1401
+ var t4 = this;
1402
+ this.clearActive(), this.observations_.forEach(function(e3) {
1403
+ e3.isActive() && t4.activeObservations_.push(e3);
1404
+ });
1405
+ }, t3.prototype.broadcastActive = function() {
1406
+ if (this.hasActive()) {
1407
+ var t4 = this.callbackCtx_, e3 = this.activeObservations_.map(function(t5) {
1408
+ return new b(t5.target, t5.broadcastRect());
1409
+ });
1410
+ this.callback_.call(t4, e3, t4), this.clearActive();
1411
+ }
1412
+ }, t3.prototype.clearActive = function() {
1413
+ this.activeObservations_.splice(0);
1414
+ }, t3.prototype.hasActive = function() {
1415
+ return this.activeObservations_.length > 0;
1416
+ }, t3;
1417
+ }(), C = "undefined" != typeof WeakMap ? /* @__PURE__ */ new WeakMap() : new r2(), E = function t3(e3) {
1418
+ if (!(this instanceof t3)) throw new TypeError("Cannot call a class as a function.");
1419
+ if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
1420
+ var n3 = c.getInstance(), r3 = new m(e3, n3, this);
1421
+ C.set(this, r3);
1422
+ };
1423
+ ["observe", "unobserve", "disconnect"].forEach(function(t3) {
1424
+ E.prototype[t3] = function() {
1425
+ var e3;
1426
+ return (e3 = C.get(this))[t3].apply(e3, arguments);
1427
+ };
1428
+ });
1429
+ const A = void 0 !== o.ResizeObserver ? o.ResizeObserver : E;
1430
+ }, 413: (t2, e2, n2) => {
1431
+ "use strict";
1432
+ n2.r(e2), n2.d(e2, { default: () => _ });
1433
+ var r2 = n2(379), i = n2.n(r2), o = n2(795), s = n2.n(o), a = n2(569), u = n2.n(a), c = n2(565), l = n2.n(c), f = n2(216), h = n2.n(f), p = n2(589), d = n2.n(p), g = n2(582), v = {};
1434
+ v.styleTagTransform = d(), v.setAttributes = l(), v.insert = u().bind(null, "head"), v.domAPI = s(), v.insertStyleElement = h(), i()(g.Z, v);
1435
+ const _ = g.Z && g.Z.locals ? g.Z.locals : void 0;
1436
+ }, 379: (t2) => {
1437
+ "use strict";
1438
+ var e2 = [];
1439
+ function n2(t3) {
1440
+ for (var n3 = -1, r3 = 0; r3 < e2.length; r3++) if (e2[r3].identifier === t3) {
1441
+ n3 = r3;
1442
+ break;
1443
+ }
1444
+ return n3;
1445
+ }
1446
+ function r2(t3, r3) {
1447
+ for (var o = {}, s = [], a = 0; a < t3.length; a++) {
1448
+ var u = t3[a], c = r3.base ? u[0] + r3.base : u[0], l = o[c] || 0, f = "".concat(c, " ").concat(l);
1449
+ o[c] = l + 1;
1450
+ var h = n2(f), p = { css: u[1], media: u[2], sourceMap: u[3], supports: u[4], layer: u[5] };
1451
+ if (-1 !== h) e2[h].references++, e2[h].updater(p);
1452
+ else {
1453
+ var d = i(p, r3);
1454
+ r3.byIndex = a, e2.splice(a, 0, { identifier: f, updater: d, references: 1 });
1455
+ }
1456
+ s.push(f);
1457
+ }
1458
+ return s;
1459
+ }
1460
+ function i(t3, e3) {
1461
+ var n3 = e3.domAPI(e3);
1462
+ return n3.update(t3), function(e4) {
1463
+ if (e4) {
1464
+ if (e4.css === t3.css && e4.media === t3.media && e4.sourceMap === t3.sourceMap && e4.supports === t3.supports && e4.layer === t3.layer) return;
1465
+ n3.update(t3 = e4);
1466
+ } else n3.remove();
1467
+ };
1468
+ }
1469
+ t2.exports = function(t3, i2) {
1470
+ var o = r2(t3 = t3 || [], i2 = i2 || {});
1471
+ return function(t4) {
1472
+ t4 = t4 || [];
1473
+ for (var s = 0; s < o.length; s++) {
1474
+ var a = n2(o[s]);
1475
+ e2[a].references--;
1476
+ }
1477
+ for (var u = r2(t4, i2), c = 0; c < o.length; c++) {
1478
+ var l = n2(o[c]);
1479
+ 0 === e2[l].references && (e2[l].updater(), e2.splice(l, 1));
1480
+ }
1481
+ o = u;
1482
+ };
1483
+ };
1484
+ }, 569: (t2) => {
1485
+ "use strict";
1486
+ var e2 = {};
1487
+ t2.exports = function(t3, n2) {
1488
+ var r2 = function(t4) {
1489
+ if (void 0 === e2[t4]) {
1490
+ var n3 = document.querySelector(t4);
1491
+ if (window.HTMLIFrameElement && n3 instanceof window.HTMLIFrameElement) try {
1492
+ n3 = n3.contentDocument.head;
1493
+ } catch (t5) {
1494
+ n3 = null;
1495
+ }
1496
+ e2[t4] = n3;
1497
+ }
1498
+ return e2[t4];
1499
+ }(t3);
1500
+ if (!r2) throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
1501
+ r2.appendChild(n2);
1502
+ };
1503
+ }, 216: (t2) => {
1504
+ "use strict";
1505
+ t2.exports = function(t3) {
1506
+ var e2 = document.createElement("style");
1507
+ return t3.setAttributes(e2, t3.attributes), t3.insert(e2, t3.options), e2;
1508
+ };
1509
+ }, 565: (t2, e2, n2) => {
1510
+ "use strict";
1511
+ t2.exports = function(t3) {
1512
+ var e3 = n2.nc;
1513
+ e3 && t3.setAttribute("nonce", e3);
1514
+ };
1515
+ }, 795: (t2) => {
1516
+ "use strict";
1517
+ t2.exports = function(t3) {
1518
+ var e2 = t3.insertStyleElement(t3);
1519
+ return { update: function(n2) {
1520
+ !function(t4, e3, n3) {
1521
+ var r2 = "";
1522
+ n3.supports && (r2 += "@supports (".concat(n3.supports, ") {")), n3.media && (r2 += "@media ".concat(n3.media, " {"));
1523
+ var i = void 0 !== n3.layer;
1524
+ i && (r2 += "@layer".concat(n3.layer.length > 0 ? " ".concat(n3.layer) : "", " {")), r2 += n3.css, i && (r2 += "}"), n3.media && (r2 += "}"), n3.supports && (r2 += "}");
1525
+ var o = n3.sourceMap;
1526
+ o && "undefined" != typeof btoa && (r2 += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o)))), " */")), e3.styleTagTransform(r2, t4, e3.options);
1527
+ }(e2, t3, n2);
1528
+ }, remove: function() {
1529
+ !function(t4) {
1530
+ if (null === t4.parentNode) return false;
1531
+ t4.parentNode.removeChild(t4);
1532
+ }(e2);
1533
+ } };
1534
+ };
1535
+ }, 589: (t2) => {
1536
+ "use strict";
1537
+ t2.exports = function(t3, e2) {
1538
+ if (e2.styleSheet) e2.styleSheet.cssText = t3;
1539
+ else {
1540
+ for (; e2.firstChild; ) e2.removeChild(e2.firstChild);
1541
+ e2.appendChild(document.createTextNode(t3));
1542
+ }
1543
+ };
1544
+ }, 607: function(t2, e2, n2) {
1545
+ "use strict";
1546
+ var r2 = this && this.__importDefault || function(t3) {
1547
+ return t3 && t3.__esModule ? t3 : { default: t3 };
1548
+ };
1549
+ Object.defineProperty(e2, "__esModule", { value: true }), e2.Cursor = e2.default = void 0;
1550
+ var i = r2(n2(678));
1551
+ e2.default = i.default;
1552
+ var o = r2(n2(353));
1553
+ e2.Cursor = o.default, n2(413);
1554
+ }, 353: (t2, e2) => {
1555
+ "use strict";
1556
+ Object.defineProperty(e2, "__esModule", { value: true });
1557
+ var n2 = function() {
1558
+ function t3(t4, e3, n3) {
1559
+ this.id = t4, this.name = e3, this.color = n3, this.toggleNearCursor = this.toggleNearCursor.bind(this), this._toggleOpenedCursor = this._toggleOpenedCursor.bind(this), this._setHoverState = this._setHoverState.bind(this);
1560
+ }
1561
+ return t3.prototype.build = function(e3) {
1562
+ var n3 = document.createElement(t3.CONTAINER_ELEMENT_TAG);
1563
+ n3.classList.add(t3.CURSOR_CLASS), n3.id = "ql-cursor-".concat(this.id), n3.innerHTML = e3.template;
1564
+ var r2 = n3.getElementsByClassName(t3.SELECTION_CLASS)[0], i = n3.getElementsByClassName(t3.CARET_CONTAINER_CLASS)[0], o = i.getElementsByClassName(t3.CARET_CLASS)[0], s = n3.getElementsByClassName(t3.FLAG_CLASS)[0];
1565
+ return s.style.backgroundColor = this.color, o.style.backgroundColor = this.color, n3.getElementsByClassName(t3.NAME_CLASS)[0].textContent = this.name, this._hideDelay = "".concat(e3.hideDelayMs, "ms"), this._hideSpeedMs = e3.hideSpeedMs, this._positionFlag = e3.positionFlag, s.style.transitionDelay = this._hideDelay, s.style.transitionDuration = "".concat(this._hideSpeedMs, "ms"), this._el = n3, this._selectionEl = r2, this._caretEl = i, this._flagEl = s, i.addEventListener("mouseover", this._setHoverState, { passive: true }), this._el;
1566
+ }, t3.prototype.show = function() {
1567
+ this._el.classList.remove(t3.HIDDEN_CLASS);
1568
+ }, t3.prototype.hide = function() {
1569
+ this._el.classList.add(t3.HIDDEN_CLASS);
1570
+ }, t3.prototype.remove = function() {
1571
+ this._el.parentNode.removeChild(this._el);
1572
+ }, t3.prototype.toggleNearCursor = function(e3, n3) {
1573
+ var r2 = this._getCoordinates(), i = r2.left, o = r2.right, s = r2.top, a = r2.bottom, u = e3 >= i && e3 <= o && n3 >= s && n3 <= a;
1574
+ return this._caretEl.classList.toggle(t3.CONTAINER_HOVER_CLASS, u), u;
1575
+ }, t3.prototype.toggleFlag = function(e3) {
1576
+ var n3 = this;
1577
+ this._caretEl.classList.toggle(t3.CONTAINER_HOVER_CLASS, e3) || (this._flagEl.classList.add(t3.NO_DELAY_CLASS), setTimeout(function() {
1578
+ return n3._flagEl.classList.remove(t3.NO_DELAY_CLASS);
1579
+ }, this._hideSpeedMs));
1580
+ }, t3.prototype.updateCaret = function(t4, e3) {
1581
+ this._caretEl.style.top = "".concat(t4.top, "px"), this._caretEl.style.left = "".concat(t4.left, "px"), this._caretEl.style.height = "".concat(t4.height, "px"), this._positionFlag ? this._positionFlag(this._flagEl, t4, e3) : this._updateCaretFlag(t4, e3);
1582
+ }, t3.prototype.updateSelection = function(t4, e3) {
1583
+ var n3 = this;
1584
+ this._clearSelection(), t4 = t4 || [], t4 = Array.from(t4), t4 = this._sanitize(t4), (t4 = this._sortByDomPosition(t4)).forEach(function(t5) {
1585
+ return n3._addSelection(t5, e3);
1586
+ });
1587
+ }, t3.prototype._setHoverState = function() {
1588
+ document.addEventListener("mousemove", this._toggleOpenedCursor, { passive: true });
1589
+ }, t3.prototype._toggleOpenedCursor = function(e3) {
1590
+ var n3 = this.toggleNearCursor(e3.clientX, e3.clientY);
1591
+ this._caretEl.classList.toggle(t3.CONTAINER_NO_POINTER_CLASS, n3), n3 || document.removeEventListener("mousemove", this._toggleOpenedCursor);
1592
+ }, t3.prototype._getCoordinates = function() {
1593
+ return this._caretEl.getBoundingClientRect();
1594
+ }, t3.prototype._updateCaretFlag = function(e3, n3) {
1595
+ this._flagEl.style.width = "";
1596
+ var r2 = this._flagEl.getBoundingClientRect();
1597
+ this._flagEl.classList.remove(t3.FLAG_FLIPPED_CLASS), e3.left > n3.width - r2.width && this._flagEl.classList.add(t3.FLAG_FLIPPED_CLASS), this._flagEl.style.left = "".concat(e3.left, "px"), this._flagEl.style.top = "".concat(e3.top, "px"), this._flagEl.style.width = "".concat(Math.ceil(r2.width), "px");
1598
+ }, t3.prototype._clearSelection = function() {
1599
+ this._selectionEl.innerHTML = "";
1600
+ }, t3.prototype._addSelection = function(t4, e3) {
1601
+ var n3 = this._selectionBlock(t4, e3);
1602
+ this._selectionEl.appendChild(n3);
1603
+ }, t3.prototype._selectionBlock = function(e3, n3) {
1604
+ var r2 = document.createElement(t3.SELECTION_ELEMENT_TAG);
1605
+ return r2.classList.add(t3.SELECTION_BLOCK_CLASS), r2.style.top = "".concat(e3.top - n3.top, "px"), r2.style.left = "".concat(e3.left - n3.left, "px"), r2.style.width = "".concat(e3.width, "px"), r2.style.height = "".concat(e3.height, "px"), r2.style.backgroundColor = this.color, r2.style.opacity = "0.3", r2;
1606
+ }, t3.prototype._sortByDomPosition = function(t4) {
1607
+ return t4.sort(function(t5, e3) {
1608
+ return t5.top === e3.top ? t5.left - e3.left : t5.top - e3.top;
1609
+ });
1610
+ }, t3.prototype._sanitize = function(t4) {
1611
+ var e3 = this, n3 = /* @__PURE__ */ new Set();
1612
+ return t4.filter(function(t5) {
1613
+ if (!t5.width || !t5.height) return false;
1614
+ var r2 = e3._serialize(t5);
1615
+ return !n3.has(r2) && (n3.add(r2), true);
1616
+ });
1617
+ }, t3.prototype._serialize = function(t4) {
1618
+ return ["top:".concat(t4.top), "right:".concat(t4.right), "bottom:".concat(t4.bottom), "left:".concat(t4.left)].join(";");
1619
+ }, t3.CONTAINER_ELEMENT_TAG = "SPAN", t3.SELECTION_ELEMENT_TAG = "SPAN", t3.CURSOR_CLASS = "ql-cursor", t3.SELECTION_CLASS = "ql-cursor-selections", t3.SELECTION_BLOCK_CLASS = "ql-cursor-selection-block", t3.CARET_CLASS = "ql-cursor-caret", t3.CARET_CONTAINER_CLASS = "ql-cursor-caret-container", t3.CONTAINER_HOVER_CLASS = "hover", t3.CONTAINER_NO_POINTER_CLASS = "no-pointer", t3.FLAG_CLASS = "ql-cursor-flag", t3.FLAG_FLIPPED_CLASS = "flag-flipped", t3.NAME_CLASS = "ql-cursor-name", t3.HIDDEN_CLASS = "hidden", t3.NO_DELAY_CLASS = "no-delay", t3;
1620
+ }();
1621
+ e2.default = n2;
1622
+ }, 678: function(t2, e2, n2) {
1623
+ "use strict";
1624
+ var r2 = this && this.__createBinding || (Object.create ? function(t3, e3, n3, r3) {
1625
+ void 0 === r3 && (r3 = n3);
1626
+ var i2 = Object.getOwnPropertyDescriptor(e3, n3);
1627
+ i2 && !("get" in i2 ? !e3.__esModule : i2.writable || i2.configurable) || (i2 = { enumerable: true, get: function() {
1628
+ return e3[n3];
1629
+ } }), Object.defineProperty(t3, r3, i2);
1630
+ } : function(t3, e3, n3, r3) {
1631
+ void 0 === r3 && (r3 = n3), t3[r3] = e3[n3];
1632
+ }), i = this && this.__setModuleDefault || (Object.create ? function(t3, e3) {
1633
+ Object.defineProperty(t3, "default", { enumerable: true, value: e3 });
1634
+ } : function(t3, e3) {
1635
+ t3.default = e3;
1636
+ }), o = this && this.__importStar || function(t3) {
1637
+ if (t3 && t3.__esModule) return t3;
1638
+ var e3 = {};
1639
+ if (null != t3) for (var n3 in t3) "default" !== n3 && Object.prototype.hasOwnProperty.call(t3, n3) && r2(e3, t3, n3);
1640
+ return i(e3, t3), e3;
1641
+ }, s = this && this.__importDefault || function(t3) {
1642
+ return t3 && t3.__esModule ? t3 : { default: t3 };
1643
+ };
1644
+ Object.defineProperty(e2, "__esModule", { value: true });
1645
+ var a = s(n2(353)), u = o(n2(165)), c = s(n2(338)), l = s(n2(33)), f = n2(895), h = function() {
1646
+ function t3(t4, e3) {
1647
+ void 0 === e3 && (e3 = {}), this._cursors = {}, this._isObserving = false, this._handleCursorTouch = this._handleCursorTouch.bind(this), this.quill = t4, this.options = this._setDefaults(e3), this._container = this.quill.addContainer(this.options.containerClass), this._boundsContainer = this.options.boundsContainer || this.quill.container, this._currentSelection = this.quill.getSelection(), this._registerSelectionChangeListeners(), this._registerTextChangeListener(), this._registerDomListeners();
1648
+ }
1649
+ return t3.prototype.createCursor = function(t4, e3, n3) {
1650
+ var r3 = this._cursors[t4];
1651
+ if (!r3) {
1652
+ r3 = new a.default(t4, e3, n3), this._cursors[t4] = r3;
1653
+ var i2 = r3.build(this.options);
1654
+ this._container.appendChild(i2);
1655
+ }
1656
+ return r3;
1657
+ }, t3.prototype.moveCursor = function(t4, e3) {
1658
+ var n3 = this._cursors[t4];
1659
+ n3 && (n3.range = e3, this._updateCursor(n3));
1660
+ }, t3.prototype.removeCursor = function(t4) {
1661
+ var e3 = this._cursors[t4];
1662
+ e3 && (e3.remove(), delete this._cursors[t4]);
1663
+ }, t3.prototype.update = function() {
1664
+ var t4 = this;
1665
+ this.cursors().forEach(function(e3) {
1666
+ return t4._updateCursor(e3);
1667
+ });
1668
+ }, t3.prototype.clearCursors = function() {
1669
+ var t4 = this;
1670
+ this.cursors().forEach(function(e3) {
1671
+ return t4.removeCursor(e3.id);
1672
+ });
1673
+ }, t3.prototype.toggleFlag = function(t4, e3) {
1674
+ var n3 = this._cursors[t4];
1675
+ n3 && n3.toggleFlag(e3);
1676
+ }, t3.prototype.cursors = function() {
1677
+ var t4 = this;
1678
+ return Object.keys(this._cursors).map(function(e3) {
1679
+ return t4._cursors[e3];
1680
+ });
1681
+ }, t3.prototype._registerSelectionChangeListeners = function() {
1682
+ var t4 = this;
1683
+ this.quill.on(this.quill.constructor.events.SELECTION_CHANGE, function(e3) {
1684
+ t4._currentSelection = e3;
1685
+ });
1686
+ }, t3.prototype._registerTextChangeListener = function() {
1687
+ var t4 = this;
1688
+ this.quill.on(this.quill.constructor.events.TEXT_CHANGE, function(e3) {
1689
+ return t4._handleTextChange(e3);
1690
+ });
1691
+ }, t3.prototype._registerDomListeners = function() {
1692
+ var t4 = this, e3 = this.quill.container.getElementsByClassName("ql-editor")[0];
1693
+ e3.addEventListener("scroll", function() {
1694
+ return t4.update();
1695
+ }, { passive: true }), e3.addEventListener("touchstart", this._handleCursorTouch, { passive: true });
1696
+ }, t3.prototype._handleCursorTouch = function(t4) {
1697
+ var e3 = this;
1698
+ this.cursors().forEach(function(n3) {
1699
+ n3.toggleNearCursor(t4.pageX, t4.pageY), setTimeout(function() {
1700
+ return n3.toggleFlag(false);
1701
+ }, e3.options.hideDelayMs);
1702
+ });
1703
+ }, t3.prototype._registerResizeObserver = function() {
1704
+ var t4 = this;
1705
+ if (!this._isObserving) {
1706
+ var e3 = this.quill.container.getElementsByClassName("ql-editor")[0], n3 = new l.default(function(e4) {
1707
+ if (!e4[0].target.isConnected) return n3.disconnect(), void (t4._isObserving = false);
1708
+ t4.update();
1709
+ });
1710
+ n3.observe(e3), this._isObserving = true;
1711
+ }
1712
+ }, t3.prototype._updateCursor = function(t4) {
1713
+ if (this._registerResizeObserver(), !t4.range) return t4.hide();
1714
+ var e3 = this._indexWithinQuillBounds(t4.range.index), n3 = this._indexWithinQuillBounds(t4.range.index + t4.range.length), r3 = this.quill.getLeaf(e3), i2 = this.quill.getLeaf(n3);
1715
+ if (!this._leafIsValid(r3) || !this._leafIsValid(i2)) return t4.hide();
1716
+ t4.show();
1717
+ var o2 = this._boundsContainer.getBoundingClientRect(), s2 = this.quill.getBounds(n3);
1718
+ t4.updateCaret(s2, o2);
1719
+ var a2 = this._lineRanges(t4, r3, i2).reduce(function(t5, e4) {
1720
+ return t5.concat(Array.from(u.getClientRects(e4)));
1721
+ }, []);
1722
+ t4.updateSelection(a2, o2);
1723
+ }, t3.prototype._indexWithinQuillBounds = function(t4) {
1724
+ var e3 = this.quill.getLength(), n3 = e3 ? e3 - 1 : 0;
1725
+ return t4 = Math.max(t4, 0), Math.min(t4, n3);
1726
+ }, t3.prototype._leafIsValid = function(t4) {
1727
+ return t4 && t4[0] && t4[0].domNode && t4[1] >= 0;
1728
+ }, t3.prototype._handleTextChange = function(t4) {
1729
+ var e3 = this;
1730
+ window.setTimeout(function() {
1731
+ e3.options.transformOnTextChange && e3._transformCursors(t4), e3.options.selectionChangeSource && (e3._emitSelection(), e3.update());
1732
+ });
1733
+ }, t3.prototype._emitSelection = function() {
1734
+ this.quill.emitter.emit(this.quill.constructor.events.SELECTION_CHANGE, this.quill.getSelection(), this._currentSelection, this.options.selectionChangeSource);
1735
+ }, t3.prototype._setDefaults = function(e3) {
1736
+ return (e3 = Object.assign({}, e3)).template || (e3.template = t3.DEFAULTS.template), e3.containerClass || (e3.containerClass = t3.DEFAULTS.containerClass), null !== e3.selectionChangeSource && (e3.selectionChangeSource || (e3.selectionChangeSource = t3.DEFAULTS.selectionChangeSource)), e3.hideDelayMs = Number.isInteger(e3.hideDelayMs) ? e3.hideDelayMs : t3.DEFAULTS.hideDelayMs, e3.hideSpeedMs = Number.isInteger(e3.hideSpeedMs) ? e3.hideSpeedMs : t3.DEFAULTS.hideSpeedMs, e3.transformOnTextChange = !!e3.transformOnTextChange, e3;
1737
+ }, t3.prototype._lineRanges = function(t4, e3, n3) {
1738
+ var r3 = this.quill.getLines(t4.range);
1739
+ return r3.reduce(function(t5, i2, o2) {
1740
+ if (!i2.children) {
1741
+ var s2 = document.createRange();
1742
+ return s2.selectNode(i2.domNode), t5.concat(s2);
1743
+ }
1744
+ var a2 = 0 === o2 ? e3 : i2.path(0).pop(), u2 = a2[0], c2 = a2[1], l2 = o2 === r3.length - 1 ? n3 : i2.path(i2.length() - 1).pop(), f2 = l2[0], h2 = l2[1], p = document.createRange();
1745
+ return u2.domNode.nodeType === Node.TEXT_NODE ? p.setStart(u2.domNode, c2) : p.setStartBefore(u2.domNode), f2.domNode.nodeType === Node.TEXT_NODE ? p.setEnd(f2.domNode, h2) : p.setEndAfter(f2.domNode), t5.concat(p);
1746
+ }, []);
1747
+ }, t3.prototype._transformCursors = function(t4) {
1748
+ var e3 = this;
1749
+ t4 = new f(t4), this.cursors().filter(function(t5) {
1750
+ return t5.range;
1751
+ }).forEach(function(n3) {
1752
+ n3.range.index = t4.transformPosition(n3.range.index), e3._updateCursor(n3);
1753
+ });
1754
+ }, t3.DEFAULTS = { template: c.default, containerClass: "ql-cursors", selectionChangeSource: "api", hideDelayMs: 3e3, hideSpeedMs: 400 }, t3;
1755
+ }();
1756
+ e2.default = h;
1757
+ }, 338: function(t2, e2, n2) {
1758
+ "use strict";
1759
+ var r2 = this && this.__importDefault || function(t3) {
1760
+ return t3 && t3.__esModule ? t3 : { default: t3 };
1761
+ };
1762
+ Object.defineProperty(e2, "__esModule", { value: true });
1763
+ var i = r2(n2(353)), o = '\n <span class="'.concat(i.default.SELECTION_CLASS, '"></span>\n <span class="').concat(i.default.CARET_CONTAINER_CLASS, '">\n <span class="').concat(i.default.CARET_CLASS, '"></span>\n </span>\n <div class="').concat(i.default.FLAG_CLASS, '">\n <small class="').concat(i.default.NAME_CLASS, '"></small>\n </div>\n');
1764
+ e2.default = o;
1765
+ } }, e = {};
1766
+ function n(r2) {
1767
+ var i = e[r2];
1768
+ if (void 0 !== i) return i.exports;
1769
+ var o = e[r2] = { id: r2, loaded: false, exports: {} };
1770
+ return t[r2].call(o.exports, o, o.exports, n), o.loaded = true, o.exports;
1771
+ }
1772
+ n.n = (t2) => {
1773
+ var e2 = t2 && t2.__esModule ? () => t2.default : () => t2;
1774
+ return n.d(e2, { a: e2 }), e2;
1775
+ }, n.d = (t2, e2) => {
1776
+ for (var r2 in e2) n.o(e2, r2) && !n.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: e2[r2] });
1777
+ }, n.g = function() {
1778
+ if ("object" == typeof globalThis) return globalThis;
1779
+ try {
1780
+ return this || new Function("return this")();
1781
+ } catch (t2) {
1782
+ if ("object" == typeof window) return window;
1783
+ }
1784
+ }(), n.o = (t2, e2) => Object.prototype.hasOwnProperty.call(t2, e2), n.r = (t2) => {
1785
+ "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t2, "__esModule", { value: true });
1786
+ }, n.nmd = (t2) => (t2.paths = [], t2.children || (t2.children = []), t2), n.nc = void 0;
1787
+ var r = n(607);
1788
+ return r.default;
1789
+ })());
1790
+ })(quillCursors$1, quillCursors$1.exports);
1791
+ var quillCursorsExports = quillCursors$1.exports;
1792
+ const QuillCursors = /* @__PURE__ */ getDefaultExportFromCjs(quillCursorsExports);
1793
+ export {
1794
+ QuillCursors as default
1795
+ };
1796
+ //# sourceMappingURL=quill-cursors.es.js.map