@milkdown/crepe 7.3.6 → 7.4.0

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 (827) hide show
  1. package/lib/cjs/_view-TbSIR42F.js +27 -0
  2. package/lib/cjs/_view-TbSIR42F.js.map +1 -0
  3. package/lib/cjs/apl-99bWvYTf.js +145 -0
  4. package/lib/cjs/apl-99bWvYTf.js.map +1 -0
  5. package/lib/cjs/asciiarmor-cf0JLIr_.js +59 -0
  6. package/lib/cjs/asciiarmor-cf0JLIr_.js.map +1 -0
  7. package/lib/cjs/asn1-H4XzAvBS.js +195 -0
  8. package/lib/cjs/asn1-H4XzAvBS.js.map +1 -0
  9. package/lib/cjs/asterisk-0FgJEfZB.js +190 -0
  10. package/lib/cjs/asterisk-0FgJEfZB.js.map +1 -0
  11. package/lib/cjs/brainfuck-JX7vRZy7.js +73 -0
  12. package/lib/cjs/brainfuck-JX7vRZy7.js.map +1 -0
  13. package/lib/cjs/clike-ueXlMQy5.js +1034 -0
  14. package/lib/cjs/clike-ueXlMQy5.js.map +1 -0
  15. package/lib/cjs/clojure-6iDAG5oi.js +277 -0
  16. package/lib/cjs/clojure-6iDAG5oi.js.map +1 -0
  17. package/lib/cjs/clsx-7JLENl8W.js +62 -0
  18. package/lib/cjs/clsx-7JLENl8W.js.map +1 -0
  19. package/lib/cjs/cmake-L0RIBnfc.js +84 -0
  20. package/lib/cjs/cmake-L0RIBnfc.js.map +1 -0
  21. package/lib/cjs/cobol-oxkMh1GJ.js +238 -0
  22. package/lib/cjs/cobol-oxkMh1GJ.js.map +1 -0
  23. package/lib/cjs/coffeescript--eauIeRQ.js +332 -0
  24. package/lib/cjs/coffeescript--eauIeRQ.js.map +1 -0
  25. package/lib/cjs/commonlisp-pgSu-q6f.js +111 -0
  26. package/lib/cjs/commonlisp-pgSu-q6f.js.map +1 -0
  27. package/lib/cjs/composed-offset-position.browser.min-FwypoGc1.js +1138 -0
  28. package/lib/cjs/composed-offset-position.browser.min-FwypoGc1.js.map +1 -0
  29. package/lib/cjs/crystal-2y3I5ibZ.js +422 -0
  30. package/lib/cjs/crystal-2y3I5ibZ.js.map +1 -0
  31. package/lib/cjs/css-WH69cXzo.js +855 -0
  32. package/lib/cjs/css-WH69cXzo.js.map +1 -0
  33. package/lib/cjs/cypher-da-dqVyQ.js +125 -0
  34. package/lib/cjs/cypher-da-dqVyQ.js.map +1 -0
  35. package/lib/cjs/d-58J7EOkP.js +208 -0
  36. package/lib/cjs/d-58J7EOkP.js.map +1 -0
  37. package/lib/cjs/diff-437Hfzqm.js +33 -0
  38. package/lib/cjs/diff-437Hfzqm.js.map +1 -0
  39. package/lib/cjs/dockerfile-7i0OoaQe.js +202 -0
  40. package/lib/cjs/dockerfile-7i0OoaQe.js.map +1 -0
  41. package/lib/cjs/dtd-AKekCPPB.js +124 -0
  42. package/lib/cjs/dtd-AKekCPPB.js.map +1 -0
  43. package/lib/cjs/dylan-DLEmvz1I.js +340 -0
  44. package/lib/cjs/dylan-DLEmvz1I.js.map +1 -0
  45. package/lib/cjs/ebnf-36cJWqxB.js +154 -0
  46. package/lib/cjs/ebnf-36cJWqxB.js.map +1 -0
  47. package/lib/cjs/ecl-UWr5vJKJ.js +193 -0
  48. package/lib/cjs/ecl-UWr5vJKJ.js.map +1 -0
  49. package/lib/cjs/eiffel-Su-C9LAY.js +149 -0
  50. package/lib/cjs/eiffel-Su-C9LAY.js.map +1 -0
  51. package/lib/cjs/elm-vNNfVJj7.js +233 -0
  52. package/lib/cjs/elm-vNNfVJj7.js.map +1 -0
  53. package/lib/cjs/erlang-NM9dgYaS.js +584 -0
  54. package/lib/cjs/erlang-NM9dgYaS.js.map +1 -0
  55. package/lib/cjs/factor-RWs-4aWg.js +68 -0
  56. package/lib/cjs/factor-RWs-4aWg.js.map +1 -0
  57. package/lib/cjs/fcl-acUhGCfs.js +157 -0
  58. package/lib/cjs/fcl-acUhGCfs.js.map +1 -0
  59. package/lib/cjs/forth-sDkE6z3A.js +167 -0
  60. package/lib/cjs/forth-sDkE6z3A.js.map +1 -0
  61. package/lib/cjs/fortran-gkb4yvdk.js +175 -0
  62. package/lib/cjs/fortran-gkb4yvdk.js.map +1 -0
  63. package/lib/cjs/gas-mNA0qvkv.js +347 -0
  64. package/lib/cjs/gas-mNA0qvkv.js.map +1 -0
  65. package/lib/cjs/gherkin-5uyKpXXh.js +150 -0
  66. package/lib/cjs/gherkin-5uyKpXXh.js.map +1 -0
  67. package/lib/cjs/go-5XitXoIZ.js +167 -0
  68. package/lib/cjs/go-5XitXoIZ.js.map +1 -0
  69. package/lib/cjs/groovy-mz3pWMKN.js +233 -0
  70. package/lib/cjs/groovy-mz3pWMKN.js.map +1 -0
  71. package/lib/cjs/haskell-9KaSS7kb.js +242 -0
  72. package/lib/cjs/haskell-9KaSS7kb.js.map +1 -0
  73. package/lib/cjs/haxe-L8h6Pvni.js +494 -0
  74. package/lib/cjs/haxe-L8h6Pvni.js.map +1 -0
  75. package/lib/cjs/helper-OEW-2Vxr.js +9 -0
  76. package/lib/cjs/helper-OEW-2Vxr.js.map +1 -0
  77. package/lib/cjs/http-BFQQnRR-.js +92 -0
  78. package/lib/cjs/http-BFQQnRR-.js.map +1 -0
  79. package/lib/cjs/idl-29T-AzAy.js +277 -0
  80. package/lib/cjs/idl-29T-AzAy.js.map +1 -0
  81. package/lib/cjs/index-2oxl5Zo4.js +551 -0
  82. package/lib/cjs/index-2oxl5Zo4.js.map +1 -0
  83. package/lib/cjs/index-5PcT4iSf.js +107 -0
  84. package/lib/cjs/index-5PcT4iSf.js.map +1 -0
  85. package/lib/cjs/index-78P4PeZ9.js +361 -0
  86. package/lib/cjs/index-78P4PeZ9.js.map +1 -0
  87. package/lib/cjs/index-GEIgbcVc.js +1028 -0
  88. package/lib/cjs/index-GEIgbcVc.js.map +1 -0
  89. package/lib/cjs/index-GKolgvC5.js +505 -0
  90. package/lib/cjs/index-GKolgvC5.js.map +1 -0
  91. package/lib/cjs/index-JAqL0ybh.js +55 -0
  92. package/lib/cjs/index-JAqL0ybh.js.map +1 -0
  93. package/lib/cjs/index-LdEYPSZc.js +80 -0
  94. package/lib/cjs/index-LdEYPSZc.js.map +1 -0
  95. package/lib/cjs/index-Ne_pk53w.js +178 -0
  96. package/lib/cjs/index-Ne_pk53w.js.map +1 -0
  97. package/lib/cjs/index-O3vRXWIP.js +199 -0
  98. package/lib/cjs/index-O3vRXWIP.js.map +1 -0
  99. package/lib/cjs/index-OA_u95ey.js +531 -0
  100. package/lib/cjs/index-OA_u95ey.js.map +1 -0
  101. package/lib/cjs/index-OIQn1x0L.js +262 -0
  102. package/lib/cjs/index-OIQn1x0L.js.map +1 -0
  103. package/lib/cjs/index-OtaMLv5l.js +397 -0
  104. package/lib/cjs/index-OtaMLv5l.js.map +1 -0
  105. package/lib/cjs/index-PF7s7DOo.js +386 -0
  106. package/lib/cjs/index-PF7s7DOo.js.map +1 -0
  107. package/lib/cjs/index-SxWWV8XD.js +442 -0
  108. package/lib/cjs/index-SxWWV8XD.js.map +1 -0
  109. package/lib/cjs/index-TEjdwq--.js +2518 -0
  110. package/lib/cjs/index-TEjdwq--.js.map +1 -0
  111. package/lib/cjs/index-de3dfsQr.js +1044 -0
  112. package/lib/cjs/index-de3dfsQr.js.map +1 -0
  113. package/lib/cjs/index-fkT0ywfA.js +698 -0
  114. package/lib/cjs/index-fkT0ywfA.js.map +1 -0
  115. package/lib/cjs/index-i0_v2uVp.js +202 -0
  116. package/lib/cjs/index-i0_v2uVp.js.map +1 -0
  117. package/lib/cjs/index-kNI3S3lF.js +22477 -0
  118. package/lib/cjs/index-kNI3S3lF.js.map +1 -0
  119. package/lib/cjs/index-kvO8ReCY.js +1960 -0
  120. package/lib/cjs/index-kvO8ReCY.js.map +1 -0
  121. package/lib/cjs/index-llNS_EuP.js +25695 -0
  122. package/lib/cjs/index-llNS_EuP.js.map +1 -0
  123. package/lib/cjs/index-lrFGGa_l.js +404 -0
  124. package/lib/cjs/index-lrFGGa_l.js.map +1 -0
  125. package/lib/cjs/index-mJ47ZWO2.js +155 -0
  126. package/lib/cjs/index-mJ47ZWO2.js.map +1 -0
  127. package/lib/cjs/index-ortUqbAp.js +463 -0
  128. package/lib/cjs/index-ortUqbAp.js.map +1 -0
  129. package/lib/cjs/index-qRg5-QJH.js +160 -0
  130. package/lib/cjs/index-qRg5-QJH.js.map +1 -0
  131. package/lib/cjs/index-t_GA5F26.js +208 -0
  132. package/lib/cjs/index-t_GA5F26.js.map +1 -0
  133. package/lib/cjs/index-tbEq3xma.js +118 -0
  134. package/lib/cjs/index-tbEq3xma.js.map +1 -0
  135. package/lib/cjs/index-vlxA_KJ8.js +127 -0
  136. package/lib/cjs/index-vlxA_KJ8.js.map +1 -0
  137. package/lib/cjs/index-w9buMrFW.js +355 -0
  138. package/lib/cjs/index-w9buMrFW.js.map +1 -0
  139. package/lib/cjs/index-wXLifZgm.js +1877 -0
  140. package/lib/cjs/index-wXLifZgm.js.map +1 -0
  141. package/lib/cjs/index-xqKfEyRA.js +73 -0
  142. package/lib/cjs/index-xqKfEyRA.js.map +1 -0
  143. package/lib/cjs/index-z6pe2alg.js +20 -0
  144. package/lib/cjs/index-z6pe2alg.js.map +1 -0
  145. package/lib/cjs/index-zBr61zy6.js +773 -0
  146. package/lib/cjs/index-zBr61zy6.js.map +1 -0
  147. package/lib/cjs/index.js +19 -0
  148. package/lib/cjs/index.js.map +1 -0
  149. package/lib/cjs/javascript-5-BTydbD.js +928 -0
  150. package/lib/cjs/javascript-5-BTydbD.js.map +1 -0
  151. package/lib/cjs/jinja2-BWMz4gPk.js +174 -0
  152. package/lib/cjs/jinja2-BWMz4gPk.js.map +1 -0
  153. package/lib/cjs/julia-dtR9J3KZ.js +372 -0
  154. package/lib/cjs/julia-dtR9J3KZ.js.map +1 -0
  155. package/lib/cjs/livescript-YxT0INe3.js +262 -0
  156. package/lib/cjs/livescript-YxT0INe3.js.map +1 -0
  157. package/lib/cjs/lua-h7_AXjy9.js +140 -0
  158. package/lib/cjs/lua-h7_AXjy9.js.map +1 -0
  159. package/lib/cjs/mathematica-Zc57fOr3.js +156 -0
  160. package/lib/cjs/mathematica-Zc57fOr3.js.map +1 -0
  161. package/lib/cjs/mbox-ltKsKgJd.js +117 -0
  162. package/lib/cjs/mbox-ltKsKgJd.js.map +1 -0
  163. package/lib/cjs/meta-q8q9fHyr.js +14 -0
  164. package/lib/cjs/meta-q8q9fHyr.js.map +1 -0
  165. package/lib/cjs/mirc-xTLeWqmy.js +179 -0
  166. package/lib/cjs/mirc-xTLeWqmy.js.map +1 -0
  167. package/lib/cjs/mllike-xukl-Kjp.js +351 -0
  168. package/lib/cjs/mllike-xukl-Kjp.js.map +1 -0
  169. package/lib/cjs/modelica-LsXtAawk.js +195 -0
  170. package/lib/cjs/modelica-LsXtAawk.js.map +1 -0
  171. package/lib/cjs/mscgen-9HooYIVW.js +154 -0
  172. package/lib/cjs/mscgen-9HooYIVW.js.map +1 -0
  173. package/lib/cjs/mumps-VXqGp84f.js +132 -0
  174. package/lib/cjs/mumps-VXqGp84f.js.map +1 -0
  175. package/lib/cjs/nginx-UrubUbn1.js +166 -0
  176. package/lib/cjs/nginx-UrubUbn1.js.map +1 -0
  177. package/lib/cjs/nsis-c2AYwqyy.js +83 -0
  178. package/lib/cjs/nsis-c2AYwqyy.js.map +1 -0
  179. package/lib/cjs/ntriples-N1nwiheD.js +144 -0
  180. package/lib/cjs/ntriples-N1nwiheD.js.map +1 -0
  181. package/lib/cjs/octave-ElonStfZ.js +115 -0
  182. package/lib/cjs/octave-ElonStfZ.js.map +1 -0
  183. package/lib/cjs/oz-7VQTnCfu.js +238 -0
  184. package/lib/cjs/oz-7VQTnCfu.js.map +1 -0
  185. package/lib/cjs/pascal-yq2Cb88Q.js +127 -0
  186. package/lib/cjs/pascal-yq2Cb88Q.js.map +1 -0
  187. package/lib/cjs/perl-hJq4byS9.js +822 -0
  188. package/lib/cjs/perl-hJq4byS9.js.map +1 -0
  189. package/lib/cjs/pig-2syuOlAa.js +152 -0
  190. package/lib/cjs/pig-2syuOlAa.js.map +1 -0
  191. package/lib/cjs/powershell-NDwxuSDg.js +384 -0
  192. package/lib/cjs/powershell-NDwxuSDg.js.map +1 -0
  193. package/lib/cjs/properties-wacODxDJ.js +65 -0
  194. package/lib/cjs/properties-wacODxDJ.js.map +1 -0
  195. package/lib/cjs/protobuf-zVHZwskk.js +57 -0
  196. package/lib/cjs/protobuf-zVHZwskk.js.map +1 -0
  197. package/lib/cjs/puppet-koQikqO-.js +208 -0
  198. package/lib/cjs/puppet-koQikqO-.js.map +1 -0
  199. package/lib/cjs/python-P3UsKHbj.js +394 -0
  200. package/lib/cjs/python-P3UsKHbj.js.map +1 -0
  201. package/lib/cjs/q-Z_d2uXoA.js +126 -0
  202. package/lib/cjs/q-Z_d2uXoA.js.map +1 -0
  203. package/lib/cjs/r-J6Jl9z1i.js +177 -0
  204. package/lib/cjs/r-J6Jl9z1i.js.map +1 -0
  205. package/lib/cjs/rpm-6C0Omumu.js +93 -0
  206. package/lib/cjs/rpm-6C0Omumu.js.map +1 -0
  207. package/lib/cjs/ruby-POVyUmsb.js +290 -0
  208. package/lib/cjs/ruby-POVyUmsb.js.map +1 -0
  209. package/lib/cjs/sas-vDtpSmFr.js +271 -0
  210. package/lib/cjs/sas-vDtpSmFr.js.map +1 -0
  211. package/lib/cjs/schema-7d3meDfB.js +74 -0
  212. package/lib/cjs/schema-7d3meDfB.js.map +1 -0
  213. package/lib/cjs/scheme-5AA5BH7S.js +266 -0
  214. package/lib/cjs/scheme-5AA5BH7S.js.map +1 -0
  215. package/lib/cjs/shell-_ztDMiW6.js +148 -0
  216. package/lib/cjs/shell-_ztDMiW6.js.map +1 -0
  217. package/lib/cjs/sieve-R_vzlbvH.js +181 -0
  218. package/lib/cjs/sieve-R_vzlbvH.js.map +1 -0
  219. package/lib/cjs/simple-mode-ZwmNbV0h.js +138 -0
  220. package/lib/cjs/simple-mode-ZwmNbV0h.js.map +1 -0
  221. package/lib/cjs/smalltalk-dWLp5zN8.js +156 -0
  222. package/lib/cjs/smalltalk-dWLp5zN8.js.map +1 -0
  223. package/lib/cjs/solr-wSmvjKI8.js +83 -0
  224. package/lib/cjs/solr-wSmvjKI8.js.map +1 -0
  225. package/lib/cjs/sparql-GNU_0xKB.js +173 -0
  226. package/lib/cjs/sparql-GNU_0xKB.js.map +1 -0
  227. package/lib/cjs/spreadsheet-BiqYLk6M.js +101 -0
  228. package/lib/cjs/spreadsheet-BiqYLk6M.js.map +1 -0
  229. package/lib/cjs/sql-9GpHBPsC.js +497 -0
  230. package/lib/cjs/sql-9GpHBPsC.js.map +1 -0
  231. package/lib/cjs/stex-1V41CNLk.js +250 -0
  232. package/lib/cjs/stex-1V41CNLk.js.map +1 -0
  233. package/lib/cjs/stylus-H6hn9z_G.js +753 -0
  234. package/lib/cjs/stylus-H6hn9z_G.js.map +1 -0
  235. package/lib/cjs/swift-Xv5f8zgN.js +205 -0
  236. package/lib/cjs/swift-Xv5f8zgN.js.map +1 -0
  237. package/lib/cjs/tcl-LI-LOw_t.js +128 -0
  238. package/lib/cjs/tcl-LI-LOw_t.js.map +1 -0
  239. package/lib/cjs/textile-3NvRPUgg.js +444 -0
  240. package/lib/cjs/textile-3NvRPUgg.js.map +1 -0
  241. package/lib/cjs/tiddlywiki-PkMzy8_R.js +281 -0
  242. package/lib/cjs/tiddlywiki-PkMzy8_R.js.map +1 -0
  243. package/lib/cjs/tiki-Zk_GnEC8.js +292 -0
  244. package/lib/cjs/tiki-Zk_GnEC8.js.map +1 -0
  245. package/lib/cjs/toml-36gJ0YCq.js +78 -0
  246. package/lib/cjs/toml-36gJ0YCq.js.map +1 -0
  247. package/lib/cjs/tooltip-plugin-Mk9fRTxI.js +200 -0
  248. package/lib/cjs/tooltip-plugin-Mk9fRTxI.js.map +1 -0
  249. package/lib/cjs/troff-RLZ_o61o.js +67 -0
  250. package/lib/cjs/troff-RLZ_o61o.js.map +1 -0
  251. package/lib/cjs/ttcn-cfg-twaoJYvf.js +204 -0
  252. package/lib/cjs/ttcn-cfg-twaoJYvf.js.map +1 -0
  253. package/lib/cjs/ttcn-kGwvGb2v.js +260 -0
  254. package/lib/cjs/ttcn-kGwvGb2v.js.map +1 -0
  255. package/lib/cjs/turtle-nnevat7b.js +144 -0
  256. package/lib/cjs/turtle-nnevat7b.js.map +1 -0
  257. package/lib/cjs/vb-fO_I9s3s.js +252 -0
  258. package/lib/cjs/vb-fO_I9s3s.js.map +1 -0
  259. package/lib/cjs/vbscript-HXnn40y4.js +324 -0
  260. package/lib/cjs/vbscript-HXnn40y4.js.map +1 -0
  261. package/lib/cjs/velocity-Wn-ZfFzr.js +189 -0
  262. package/lib/cjs/velocity-Wn-ZfFzr.js.map +1 -0
  263. package/lib/cjs/verilog-y1ev34z6.js +569 -0
  264. package/lib/cjs/verilog-y1ev34z6.js.map +1 -0
  265. package/lib/cjs/vhdl-LF0oeXxc.js +177 -0
  266. package/lib/cjs/vhdl-LF0oeXxc.js.map +1 -0
  267. package/lib/cjs/webidl-6kI5KbeC.js +182 -0
  268. package/lib/cjs/webidl-6kI5KbeC.js.map +1 -0
  269. package/lib/cjs/xquery-BavrmwsO.js +428 -0
  270. package/lib/cjs/xquery-BavrmwsO.js.map +1 -0
  271. package/lib/cjs/yacas-1g_AbTrl.js +185 -0
  272. package/lib/cjs/yacas-1g_AbTrl.js.map +1 -0
  273. package/lib/cjs/z80-QYzKAAp7.js +106 -0
  274. package/lib/cjs/z80-QYzKAAp7.js.map +1 -0
  275. package/lib/esm/_view-JjtfhQ8k.js +25 -0
  276. package/lib/esm/_view-JjtfhQ8k.js.map +1 -0
  277. package/lib/esm/apl-eHQxyJFn.js +143 -0
  278. package/lib/esm/apl-eHQxyJFn.js.map +1 -0
  279. package/lib/esm/asciiarmor-Z-IGYCI4.js +57 -0
  280. package/lib/esm/asciiarmor-Z-IGYCI4.js.map +1 -0
  281. package/lib/esm/asn1-gF7x-q1y.js +193 -0
  282. package/lib/esm/asn1-gF7x-q1y.js.map +1 -0
  283. package/lib/esm/asterisk-swk20ftp.js +188 -0
  284. package/lib/esm/asterisk-swk20ftp.js.map +1 -0
  285. package/lib/esm/brainfuck-IFQdiQoR.js +71 -0
  286. package/lib/esm/brainfuck-IFQdiQoR.js.map +1 -0
  287. package/lib/esm/clike-q3hUF2Cx.js +1019 -0
  288. package/lib/esm/clike-q3hUF2Cx.js.map +1 -0
  289. package/lib/esm/clojure-I2Krbr2M.js +275 -0
  290. package/lib/esm/clojure-I2Krbr2M.js.map +1 -0
  291. package/lib/{icons-HYkfuR-O.js → esm/clsx-R7WFaNKL.js} +22 -20
  292. package/lib/esm/clsx-R7WFaNKL.js.map +1 -0
  293. package/lib/esm/cmake-ewwXLeuZ.js +82 -0
  294. package/lib/esm/cmake-ewwXLeuZ.js.map +1 -0
  295. package/lib/esm/cobol-fpN1nAnR.js +236 -0
  296. package/lib/esm/cobol-fpN1nAnR.js.map +1 -0
  297. package/lib/esm/coffeescript--eTFR-bH.js +330 -0
  298. package/lib/esm/coffeescript--eTFR-bH.js.map +1 -0
  299. package/lib/esm/commonlisp-XLSwVdLc.js +109 -0
  300. package/lib/esm/commonlisp-XLSwVdLc.js.map +1 -0
  301. package/lib/esm/composed-offset-position.browser.min-Tnm31e-m.js +1132 -0
  302. package/lib/esm/composed-offset-position.browser.min-Tnm31e-m.js.map +1 -0
  303. package/lib/esm/crystal-_r3Aa1_a.js +420 -0
  304. package/lib/esm/crystal-_r3Aa1_a.js.map +1 -0
  305. package/lib/esm/css-hgwYGMKZ.js +848 -0
  306. package/lib/esm/css-hgwYGMKZ.js.map +1 -0
  307. package/lib/esm/cypher-bbJyAa-4.js +123 -0
  308. package/lib/esm/cypher-bbJyAa-4.js.map +1 -0
  309. package/lib/esm/d-5MyulviS.js +206 -0
  310. package/lib/esm/d-5MyulviS.js.map +1 -0
  311. package/lib/esm/diff-neOaT_vk.js +31 -0
  312. package/lib/esm/diff-neOaT_vk.js.map +1 -0
  313. package/lib/{dockerfile-u6f6Vw2s.js → esm/dockerfile-lzx42-zz.js} +42 -36
  314. package/lib/esm/dockerfile-lzx42-zz.js.map +1 -0
  315. package/lib/esm/dtd-FmzPLZcQ.js +122 -0
  316. package/lib/esm/dtd-FmzPLZcQ.js.map +1 -0
  317. package/lib/esm/dylan-1HtRK4GO.js +338 -0
  318. package/lib/esm/dylan-1HtRK4GO.js.map +1 -0
  319. package/lib/esm/ebnf-Nz-pnLHy.js +152 -0
  320. package/lib/esm/ebnf-Nz-pnLHy.js.map +1 -0
  321. package/lib/esm/ecl-lQsZhQz0.js +191 -0
  322. package/lib/esm/ecl-lQsZhQz0.js.map +1 -0
  323. package/lib/esm/eiffel-R_HiEkhx.js +147 -0
  324. package/lib/esm/eiffel-R_HiEkhx.js.map +1 -0
  325. package/lib/esm/elm-KYv4VTDg.js +231 -0
  326. package/lib/esm/elm-KYv4VTDg.js.map +1 -0
  327. package/lib/esm/erlang-7YaHCBIe.js +582 -0
  328. package/lib/esm/erlang-7YaHCBIe.js.map +1 -0
  329. package/lib/esm/factor-opBU9aTK.js +66 -0
  330. package/lib/esm/factor-opBU9aTK.js.map +1 -0
  331. package/lib/esm/fcl-jm31FmFz.js +155 -0
  332. package/lib/esm/fcl-jm31FmFz.js.map +1 -0
  333. package/lib/esm/forth-5NKbjnWh.js +165 -0
  334. package/lib/esm/forth-5NKbjnWh.js.map +1 -0
  335. package/lib/esm/fortran-dXm_-cb9.js +173 -0
  336. package/lib/esm/fortran-dXm_-cb9.js.map +1 -0
  337. package/lib/esm/gas-nsYVnsy-.js +344 -0
  338. package/lib/esm/gas-nsYVnsy-.js.map +1 -0
  339. package/lib/esm/gherkin-fzKpjm3M.js +148 -0
  340. package/lib/esm/gherkin-fzKpjm3M.js.map +1 -0
  341. package/lib/esm/go-Pn1qh7yl.js +165 -0
  342. package/lib/esm/go-Pn1qh7yl.js.map +1 -0
  343. package/lib/esm/groovy-DZY-8keZ.js +231 -0
  344. package/lib/esm/groovy-DZY-8keZ.js.map +1 -0
  345. package/lib/esm/haskell-JGh2upDd.js +240 -0
  346. package/lib/esm/haskell-JGh2upDd.js.map +1 -0
  347. package/lib/esm/haxe-1hvVK-Fy.js +491 -0
  348. package/lib/esm/haxe-1hvVK-Fy.js.map +1 -0
  349. package/lib/esm/helper-iYEjPbOY.js +7 -0
  350. package/lib/esm/helper-iYEjPbOY.js.map +1 -0
  351. package/lib/esm/http-mY1M77wn.js +90 -0
  352. package/lib/esm/http-mY1M77wn.js.map +1 -0
  353. package/lib/esm/idl-dy_653wH.js +275 -0
  354. package/lib/esm/idl-dy_653wH.js.map +1 -0
  355. package/lib/esm/index-0khVa44f.js +77 -0
  356. package/lib/esm/index-0khVa44f.js.map +1 -0
  357. package/lib/esm/index-218OjRxG.js +549 -0
  358. package/lib/esm/index-218OjRxG.js.map +1 -0
  359. package/lib/{index-jZuF1Iix.js → esm/index-4QzlLVWs.js} +181 -128
  360. package/lib/esm/index-4QzlLVWs.js.map +1 -0
  361. package/lib/{index-P4-KqpEN.js → esm/index-4oMdufW4.js} +321 -239
  362. package/lib/esm/index-4oMdufW4.js.map +1 -0
  363. package/lib/esm/index-6P9Xk934.js +758 -0
  364. package/lib/esm/index-6P9Xk934.js.map +1 -0
  365. package/lib/{index-yrfirMbY.js → esm/index-7BVeXLQZ.js} +489 -514
  366. package/lib/esm/index-7BVeXLQZ.js.map +1 -0
  367. package/lib/{index-qMeqmZtK.js → esm/index-A9zdyi2L.js} +186 -149
  368. package/lib/esm/index-A9zdyi2L.js.map +1 -0
  369. package/lib/esm/index-AHPvVH4H.js +197 -0
  370. package/lib/esm/index-AHPvVH4H.js.map +1 -0
  371. package/lib/esm/index-Bg5GFp0g.js +384 -0
  372. package/lib/esm/index-Bg5GFp0g.js.map +1 -0
  373. package/lib/esm/index-DoEghZHy.js +2511 -0
  374. package/lib/esm/index-DoEghZHy.js.map +1 -0
  375. package/lib/esm/index-Grquo08f.js +152 -0
  376. package/lib/esm/index-Grquo08f.js.map +1 -0
  377. package/lib/esm/index-JkHHp3K-.js +22445 -0
  378. package/lib/esm/index-JkHHp3K-.js.map +1 -0
  379. package/lib/esm/index-Jvxff1vU.js +16 -0
  380. package/lib/esm/index-Jvxff1vU.js.map +1 -0
  381. package/lib/{index-DDSXiQ90.js → esm/index-L7VXk-jT.js} +645 -512
  382. package/lib/esm/index-L7VXk-jT.js.map +1 -0
  383. package/lib/esm/index-NmjiRA0M.js +1026 -0
  384. package/lib/esm/index-NmjiRA0M.js.map +1 -0
  385. package/lib/esm/index-PkBZpDL4.js +258 -0
  386. package/lib/esm/index-PkBZpDL4.js.map +1 -0
  387. package/lib/esm/index-TNMG6UrN.js +53 -0
  388. package/lib/esm/index-TNMG6UrN.js.map +1 -0
  389. package/lib/esm/index-U71v7KdA.js +400 -0
  390. package/lib/esm/index-U71v7KdA.js.map +1 -0
  391. package/lib/esm/index-U8q-F7hU.js +114 -0
  392. package/lib/esm/index-U8q-F7hU.js.map +1 -0
  393. package/lib/esm/index-UBeneu17.js +392 -0
  394. package/lib/esm/index-UBeneu17.js.map +1 -0
  395. package/lib/esm/index-VyZguCIt.js +69 -0
  396. package/lib/esm/index-VyZguCIt.js.map +1 -0
  397. package/lib/esm/index-a-SAfeeT.js +104 -0
  398. package/lib/esm/index-a-SAfeeT.js.map +1 -0
  399. package/lib/{index-KCykNSJx.js → esm/index-bVubJ6Rv.js} +405 -289
  400. package/lib/esm/index-bVubJ6Rv.js.map +1 -0
  401. package/lib/{index-kyD7hUif.js → esm/index-bsED907r.js} +143 -128
  402. package/lib/esm/index-bsED907r.js.map +1 -0
  403. package/lib/esm/index-h1arGiXv.js +1958 -0
  404. package/lib/esm/index-h1arGiXv.js.map +1 -0
  405. package/lib/esm/index-hQaRWeq1.js +350 -0
  406. package/lib/esm/index-hQaRWeq1.js.map +1 -0
  407. package/lib/esm/index-oMy83ynO.js +460 -0
  408. package/lib/esm/index-oMy83ynO.js.map +1 -0
  409. package/lib/esm/index-pHsvfB_I.js +503 -0
  410. package/lib/esm/index-pHsvfB_I.js.map +1 -0
  411. package/lib/esm/index-q-qE7-96.js +25651 -0
  412. package/lib/esm/index-q-qE7-96.js.map +1 -0
  413. package/lib/esm/index-rwcSpYkt.js +1037 -0
  414. package/lib/esm/index-rwcSpYkt.js.map +1 -0
  415. package/lib/esm/index-u8tWJbca.js +176 -0
  416. package/lib/esm/index-u8tWJbca.js.map +1 -0
  417. package/lib/{index-x6C6leag.js → esm/index-vwrMVELn.js} +110 -85
  418. package/lib/esm/index-vwrMVELn.js.map +1 -0
  419. package/lib/esm/index-x-zW6gKj.js +1872 -0
  420. package/lib/esm/index-x-zW6gKj.js.map +1 -0
  421. package/lib/esm/index.js +12 -0
  422. package/lib/esm/index.js.map +1 -0
  423. package/lib/esm/javascript-TMTz-YQH.js +923 -0
  424. package/lib/esm/javascript-TMTz-YQH.js.map +1 -0
  425. package/lib/esm/jinja2-sRIdliZK.js +172 -0
  426. package/lib/esm/jinja2-sRIdliZK.js.map +1 -0
  427. package/lib/esm/julia-fK0wmpGL.js +370 -0
  428. package/lib/esm/julia-fK0wmpGL.js.map +1 -0
  429. package/lib/esm/livescript-FRbAot3D.js +260 -0
  430. package/lib/esm/livescript-FRbAot3D.js.map +1 -0
  431. package/lib/esm/lua-t4FHEjvK.js +138 -0
  432. package/lib/esm/lua-t4FHEjvK.js.map +1 -0
  433. package/lib/esm/mathematica-sn_KGlYj.js +154 -0
  434. package/lib/esm/mathematica-sn_KGlYj.js.map +1 -0
  435. package/lib/esm/mbox-KvVC319E.js +115 -0
  436. package/lib/esm/mbox-KvVC319E.js.map +1 -0
  437. package/lib/esm/meta-3ZYGAGrY.js +12 -0
  438. package/lib/esm/meta-3ZYGAGrY.js.map +1 -0
  439. package/lib/esm/mirc-PzJ0zKSk.js +177 -0
  440. package/lib/esm/mirc-PzJ0zKSk.js.map +1 -0
  441. package/lib/esm/mllike-ZK411xkN.js +347 -0
  442. package/lib/esm/mllike-ZK411xkN.js.map +1 -0
  443. package/lib/esm/modelica-ZaHlRCbp.js +193 -0
  444. package/lib/esm/modelica-ZaHlRCbp.js.map +1 -0
  445. package/lib/esm/mscgen-Kkq4o4Zm.js +150 -0
  446. package/lib/esm/mscgen-Kkq4o4Zm.js.map +1 -0
  447. package/lib/esm/mumps-M8a87-rl.js +130 -0
  448. package/lib/esm/mumps-M8a87-rl.js.map +1 -0
  449. package/lib/esm/nginx-2LJIX23E.js +164 -0
  450. package/lib/esm/nginx-2LJIX23E.js.map +1 -0
  451. package/lib/esm/nsis-zvfFgMLi.js +81 -0
  452. package/lib/esm/nsis-zvfFgMLi.js.map +1 -0
  453. package/lib/esm/ntriples-tVkHy5bk.js +142 -0
  454. package/lib/esm/ntriples-tVkHy5bk.js.map +1 -0
  455. package/lib/esm/octave-mE4T5MF5.js +113 -0
  456. package/lib/esm/octave-mE4T5MF5.js.map +1 -0
  457. package/lib/esm/oz-q-LCsuVg.js +236 -0
  458. package/lib/esm/oz-q-LCsuVg.js.map +1 -0
  459. package/lib/esm/pascal-0IgUAn4C.js +125 -0
  460. package/lib/esm/pascal-0IgUAn4C.js.map +1 -0
  461. package/lib/esm/perl-AqxdYGac.js +820 -0
  462. package/lib/esm/perl-AqxdYGac.js.map +1 -0
  463. package/lib/esm/pig-ESM-IjQj.js +150 -0
  464. package/lib/esm/pig-ESM-IjQj.js.map +1 -0
  465. package/lib/esm/powershell-CLFP0L55.js +382 -0
  466. package/lib/esm/powershell-CLFP0L55.js.map +1 -0
  467. package/lib/esm/properties-oWHNzvb9.js +63 -0
  468. package/lib/esm/properties-oWHNzvb9.js.map +1 -0
  469. package/lib/esm/protobuf-c7eMmdcc.js +55 -0
  470. package/lib/esm/protobuf-c7eMmdcc.js.map +1 -0
  471. package/lib/esm/puppet-FjzvdRJr.js +206 -0
  472. package/lib/esm/puppet-FjzvdRJr.js.map +1 -0
  473. package/lib/esm/python-3Pv0tnvt.js +390 -0
  474. package/lib/esm/python-3Pv0tnvt.js.map +1 -0
  475. package/lib/esm/q-IImW8da6.js +124 -0
  476. package/lib/esm/q-IImW8da6.js.map +1 -0
  477. package/lib/esm/r-CnEkTvR0.js +175 -0
  478. package/lib/esm/r-CnEkTvR0.js.map +1 -0
  479. package/lib/esm/rpm-Q55-fEHj.js +90 -0
  480. package/lib/esm/rpm-Q55-fEHj.js.map +1 -0
  481. package/lib/esm/ruby-zhaGB3Kh.js +288 -0
  482. package/lib/esm/ruby-zhaGB3Kh.js.map +1 -0
  483. package/lib/esm/sas-Ur9jZIOV.js +269 -0
  484. package/lib/esm/sas-Ur9jZIOV.js.map +1 -0
  485. package/lib/esm/schema-hVsy-vme.js +71 -0
  486. package/lib/esm/schema-hVsy-vme.js.map +1 -0
  487. package/lib/esm/scheme-daT5-Rya.js +264 -0
  488. package/lib/esm/scheme-daT5-Rya.js.map +1 -0
  489. package/lib/esm/shell-cwFL0AYP.js +146 -0
  490. package/lib/esm/shell-cwFL0AYP.js.map +1 -0
  491. package/lib/esm/sieve-MlNXFFUq.js +179 -0
  492. package/lib/esm/sieve-MlNXFFUq.js.map +1 -0
  493. package/lib/esm/simple-mode-m1rsX7Gw.js +136 -0
  494. package/lib/esm/simple-mode-m1rsX7Gw.js.map +1 -0
  495. package/lib/esm/smalltalk-xrQICp9e.js +154 -0
  496. package/lib/esm/smalltalk-xrQICp9e.js.map +1 -0
  497. package/lib/esm/solr-PU3oPgQz.js +81 -0
  498. package/lib/esm/solr-PU3oPgQz.js.map +1 -0
  499. package/lib/esm/sparql--u8NRBii.js +171 -0
  500. package/lib/esm/sparql--u8NRBii.js.map +1 -0
  501. package/lib/esm/spreadsheet-QCp0LifX.js +99 -0
  502. package/lib/esm/spreadsheet-QCp0LifX.js.map +1 -0
  503. package/lib/esm/sql-dsGfl64h.js +482 -0
  504. package/lib/esm/sql-dsGfl64h.js.map +1 -0
  505. package/lib/esm/stex-WcLBzvkD.js +247 -0
  506. package/lib/esm/stex-WcLBzvkD.js.map +1 -0
  507. package/lib/esm/stylus--A5XAqOX.js +751 -0
  508. package/lib/esm/stylus--A5XAqOX.js.map +1 -0
  509. package/lib/esm/swift-qAm73i7G.js +203 -0
  510. package/lib/esm/swift-qAm73i7G.js.map +1 -0
  511. package/lib/esm/tcl-Kdc7qxc-.js +126 -0
  512. package/lib/esm/tcl-Kdc7qxc-.js.map +1 -0
  513. package/lib/esm/textile--sz8UrIz.js +442 -0
  514. package/lib/esm/textile--sz8UrIz.js.map +1 -0
  515. package/lib/esm/tiddlywiki-xNXTeBlQ.js +279 -0
  516. package/lib/esm/tiddlywiki-xNXTeBlQ.js.map +1 -0
  517. package/lib/esm/tiki-LCXjrNH3.js +290 -0
  518. package/lib/esm/tiki-LCXjrNH3.js.map +1 -0
  519. package/lib/esm/toml-Ac4tlBMn.js +76 -0
  520. package/lib/esm/toml-Ac4tlBMn.js.map +1 -0
  521. package/lib/esm/tooltip-plugin-vZefVSGL.js +194 -0
  522. package/lib/esm/tooltip-plugin-vZefVSGL.js.map +1 -0
  523. package/lib/esm/troff-LLW1x1Yz.js +65 -0
  524. package/lib/esm/troff-LLW1x1Yz.js.map +1 -0
  525. package/lib/esm/ttcn-ZYZ9FS3u.js +258 -0
  526. package/lib/esm/ttcn-ZYZ9FS3u.js.map +1 -0
  527. package/lib/esm/ttcn-cfg-qsvf3MfB.js +202 -0
  528. package/lib/esm/ttcn-cfg-qsvf3MfB.js.map +1 -0
  529. package/lib/esm/turtle-wq3TqOth.js +142 -0
  530. package/lib/esm/turtle-wq3TqOth.js.map +1 -0
  531. package/lib/esm/vb-86M_JuNP.js +250 -0
  532. package/lib/esm/vb-86M_JuNP.js.map +1 -0
  533. package/lib/esm/vbscript-GueAeVug.js +321 -0
  534. package/lib/esm/vbscript-GueAeVug.js.map +1 -0
  535. package/lib/esm/velocity-7PW9GXO2.js +187 -0
  536. package/lib/esm/velocity-7PW9GXO2.js.map +1 -0
  537. package/lib/esm/verilog-PXtXH14C.js +566 -0
  538. package/lib/esm/verilog-PXtXH14C.js.map +1 -0
  539. package/lib/esm/vhdl-I8eyK83X.js +175 -0
  540. package/lib/esm/vhdl-I8eyK83X.js.map +1 -0
  541. package/lib/esm/webidl-1f8ATJ66.js +180 -0
  542. package/lib/esm/webidl-1f8ATJ66.js.map +1 -0
  543. package/lib/esm/xquery-IYp28Wx6.js +426 -0
  544. package/lib/esm/xquery-IYp28Wx6.js.map +1 -0
  545. package/lib/esm/yacas-wkENB05f.js +183 -0
  546. package/lib/esm/yacas-wkENB05f.js.map +1 -0
  547. package/lib/esm/z80-GaXiLdiV.js +103 -0
  548. package/lib/esm/z80-GaXiLdiV.js.map +1 -0
  549. package/lib/theme/_internal/classic-common.css +256 -0
  550. package/lib/theme/classic/style.css +28 -0
  551. package/lib/theme/classic-dark/style.css +28 -0
  552. package/lib/theme/common/block-edit.css +118 -0
  553. package/lib/theme/common/code-mirror.css +177 -0
  554. package/lib/theme/common/cursor.css +13 -0
  555. package/lib/theme/common/image-block.css +362 -0
  556. package/lib/theme/common/link-tooltip.css +105 -0
  557. package/lib/theme/common/list-item.css +34 -0
  558. package/lib/theme/common/placeholder.css +7 -0
  559. package/lib/theme/common/prosemirror.css +1 -0
  560. package/lib/theme/common/style.css +9 -0
  561. package/lib/theme/common/toolbar.css +34 -0
  562. package/lib/{core → types/core}/crepe.d.ts +1 -3
  563. package/lib/types/core/crepe.d.ts.map +1 -0
  564. package/lib/types/core/index.d.ts +2 -0
  565. package/lib/types/core/index.d.ts.map +1 -0
  566. package/lib/types/core/slice.d.ts +5 -0
  567. package/lib/types/core/slice.d.ts.map +1 -0
  568. package/lib/types/feature/block-edit/handle/component.d.ts.map +1 -0
  569. package/lib/{feature → types/feature}/block-edit/handle/index.d.ts +2 -3
  570. package/lib/types/feature/block-edit/handle/index.d.ts.map +1 -0
  571. package/lib/types/feature/block-edit/index.d.ts.map +1 -0
  572. package/lib/types/feature/block-edit/menu/component.d.ts.map +1 -0
  573. package/lib/types/feature/block-edit/menu/config.d.ts.map +1 -0
  574. package/lib/types/feature/block-edit/menu/icons.d.ts.map +1 -0
  575. package/lib/types/feature/block-edit/menu/index.d.ts.map +1 -0
  576. package/lib/types/feature/code-mirror/index.d.ts +11 -0
  577. package/lib/types/feature/code-mirror/index.d.ts.map +1 -0
  578. package/lib/types/feature/cursor/index.d.ts +9 -0
  579. package/lib/types/feature/cursor/index.d.ts.map +1 -0
  580. package/lib/types/feature/image-block/index.d.ts.map +1 -0
  581. package/lib/{feature → types/feature}/index.d.ts +3 -1
  582. package/lib/types/feature/index.d.ts.map +1 -0
  583. package/lib/types/feature/link-tooltip/consts.d.ts.map +1 -0
  584. package/lib/types/feature/link-tooltip/index.d.ts.map +1 -0
  585. package/lib/types/feature/list-item/consts.d.ts.map +1 -0
  586. package/lib/types/feature/list-item/index.d.ts.map +1 -0
  587. package/lib/{feature → types/feature}/placeholder/index.d.ts +2 -1
  588. package/lib/types/feature/placeholder/index.d.ts.map +1 -0
  589. package/lib/{feature → types/feature}/shared.d.ts +1 -1
  590. package/lib/types/feature/shared.d.ts.map +1 -0
  591. package/lib/types/feature/toolbar/component.d.ts.map +1 -0
  592. package/lib/types/feature/toolbar/consts.d.ts.map +1 -0
  593. package/lib/types/feature/toolbar/index.d.ts.map +1 -0
  594. package/lib/types/index.d.ts +3 -0
  595. package/lib/types/index.d.ts.map +1 -0
  596. package/lib/{utils → types/utils}/index.d.ts +1 -0
  597. package/lib/types/utils/index.d.ts.map +1 -0
  598. package/package.json +31 -23
  599. package/src/core/crepe.ts +2 -8
  600. package/src/core/index.ts +0 -3
  601. package/src/core/slice.ts +0 -33
  602. package/src/feature/block-edit/handle/component.ts +0 -1
  603. package/src/feature/block-edit/handle/index.ts +26 -19
  604. package/src/feature/block-edit/index.ts +0 -4
  605. package/src/feature/block-edit/menu/component.ts +18 -10
  606. package/src/feature/block-edit/menu/config.ts +0 -1
  607. package/src/feature/block-edit/menu/icons.ts +0 -1
  608. package/src/feature/block-edit/menu/index.ts +9 -13
  609. package/src/feature/code-mirror/index.ts +24 -32
  610. package/src/feature/cursor/index.ts +22 -0
  611. package/src/feature/image-block/index.ts +0 -4
  612. package/src/feature/index.ts +6 -5
  613. package/src/feature/link-tooltip/consts.ts +0 -1
  614. package/src/feature/link-tooltip/index.ts +0 -4
  615. package/src/feature/list-item/consts.ts +0 -1
  616. package/src/feature/list-item/index.ts +2 -6
  617. package/src/feature/placeholder/index.ts +1 -5
  618. package/src/feature/shared.ts +1 -2
  619. package/src/feature/toolbar/component.ts +0 -1
  620. package/src/feature/toolbar/consts.ts +0 -1
  621. package/src/feature/toolbar/index.ts +10 -16
  622. package/src/index.ts +0 -3
  623. package/src/theme/_internal/classic-common.css +219 -0
  624. package/src/theme/classic/style.css +2 -166
  625. package/src/theme/classic-dark/style.css +2 -171
  626. package/src/{feature/block-edit/style.css → theme/common/block-edit.css} +11 -1
  627. package/src/theme/common/code-mirror.css +176 -0
  628. package/src/theme/common/cursor.css +15 -0
  629. package/src/{feature/image-block/style.css → theme/common/image-block.css} +180 -16
  630. package/src/{feature/link-tooltip/style.css → theme/common/link-tooltip.css} +8 -0
  631. package/src/{feature/list-item/style.css → theme/common/list-item.css} +14 -3
  632. package/src/theme/common/prosemirror.css +1 -0
  633. package/src/theme/common/style.css +9 -0
  634. package/src/{feature/toolbar/style.css → theme/common/toolbar.css} +4 -0
  635. package/src/utils/index.ts +5 -1
  636. package/src/vite-env.d.ts +0 -1
  637. package/lib/apl-p0IPP13W.js +0 -76
  638. package/lib/asciiarmor-lJsBxlJJ.js +0 -34
  639. package/lib/asn1-Q9v1zIy5.js +0 -102
  640. package/lib/asterisk-foNkeTjy.js +0 -273
  641. package/lib/brainfuck-0XqyXpNS.js +0 -35
  642. package/lib/clike-ak6Z6Yhe.js +0 -639
  643. package/lib/clojure-iYO8U8Sg.js +0 -810
  644. package/lib/clsx-7d8NmkQq.js +0 -21
  645. package/lib/cmake-SVzjkxV_.js +0 -28
  646. package/lib/cobol-APHEnAOX.js +0 -74
  647. package/lib/coffeescript-KqQa0SYG.js +0 -182
  648. package/lib/commonlisp-bwqNqR5V.js +0 -79
  649. package/lib/core/crepe.d.ts.map +0 -1
  650. package/lib/core/index.d.ts +0 -3
  651. package/lib/core/index.d.ts.map +0 -1
  652. package/lib/core/slice.d.ts +0 -12
  653. package/lib/core/slice.d.ts.map +0 -1
  654. package/lib/crystal-BViWuDpA.js +0 -217
  655. package/lib/css-KHXHXfXg.js +0 -1572
  656. package/lib/cypher-XpTt4zQ3.js +0 -69
  657. package/lib/d-fLig6yqY.js +0 -139
  658. package/lib/diff-WoKGLpy6.js +0 -18
  659. package/lib/dtd-SIJRUW6K.js +0 -91
  660. package/lib/dylan-4HCLhpWP.js +0 -238
  661. package/lib/ebnf-h_0lged5.js +0 -77
  662. package/lib/ecl-Lf4FF0lf.js +0 -133
  663. package/lib/eiffel-qlw8KUyf.js +0 -112
  664. package/lib/elm-QRnB3zXs.js +0 -108
  665. package/lib/erlang-fyVKb7eK.js +0 -488
  666. package/lib/factor-BEeN4upY.js +0 -65
  667. package/lib/fcl-lRek3hEb.js +0 -106
  668. package/lib/feature/block-edit/handle/component.d.ts.map +0 -1
  669. package/lib/feature/block-edit/handle/index.d.ts.map +0 -1
  670. package/lib/feature/block-edit/index.d.ts.map +0 -1
  671. package/lib/feature/block-edit/menu/component.d.ts.map +0 -1
  672. package/lib/feature/block-edit/menu/config.d.ts.map +0 -1
  673. package/lib/feature/block-edit/menu/icons.d.ts.map +0 -1
  674. package/lib/feature/block-edit/menu/index.d.ts.map +0 -1
  675. package/lib/feature/code-mirror/index.d.ts.map +0 -1
  676. package/lib/feature/gap-cursor/index.d.ts.map +0 -1
  677. package/lib/feature/image-block/index.d.ts.map +0 -1
  678. package/lib/feature/index.d.ts.map +0 -1
  679. package/lib/feature/link-tooltip/consts.d.ts.map +0 -1
  680. package/lib/feature/link-tooltip/index.d.ts.map +0 -1
  681. package/lib/feature/list-item/consts.d.ts.map +0 -1
  682. package/lib/feature/list-item/index.d.ts +0 -3
  683. package/lib/feature/list-item/index.d.ts.map +0 -1
  684. package/lib/feature/placeholder/index.d.ts.map +0 -1
  685. package/lib/feature/shared.d.ts.map +0 -1
  686. package/lib/feature/toolbar/component.d.ts.map +0 -1
  687. package/lib/feature/toolbar/consts.d.ts.map +0 -1
  688. package/lib/feature/toolbar/index.d.ts +0 -3
  689. package/lib/feature/toolbar/index.d.ts.map +0 -1
  690. package/lib/forth-ua2bRd8T.js +0 -60
  691. package/lib/fortran-WnF7znuN.js +0 -443
  692. package/lib/gas-wowve1o7.js +0 -183
  693. package/lib/gherkin-m7GIChu3.js +0 -34
  694. package/lib/go-th443Dhb.js +0 -158
  695. package/lib/groovy-tR4RiZnc.js +0 -161
  696. package/lib/haskell-jxVBofv5.js +0 -375
  697. package/lib/haxe-kWPI2tq3.js +0 -390
  698. package/lib/hooks-82sqkbtE.js +0 -21
  699. package/lib/http-3GIFWUlG.js +0 -45
  700. package/lib/idl-PvpMZg-l.js +0 -947
  701. package/lib/index-BSv6537G.js +0 -364
  702. package/lib/index-BoI246Ti.js +0 -507
  703. package/lib/index-ECCvmC6D.js +0 -1301
  704. package/lib/index-EI1FcaSv.js +0 -928
  705. package/lib/index-ESoQGvsE.js +0 -288
  706. package/lib/index-GOH7H2i9.js +0 -81
  707. package/lib/index-GjFRg3RJ.js +0 -8
  708. package/lib/index-GzVCh3P9.js +0 -353
  709. package/lib/index-Ls2I7eOW.js +0 -20986
  710. package/lib/index-Qcks_HSE.js +0 -984
  711. package/lib/index-RKThEh9x.js +0 -517
  712. package/lib/index-UqF8o9eD.js +0 -19665
  713. package/lib/index-_VrGF4z-.js +0 -47
  714. package/lib/index-cteyPSwp.js +0 -83
  715. package/lib/index-f0pbmfJP.js +0 -64
  716. package/lib/index-gMYRN2wV.js +0 -107
  717. package/lib/index-oszOFbwW.js +0 -1041
  718. package/lib/index-pC1MPpe2.js +0 -1744
  719. package/lib/index-q3iu4cef.js +0 -78
  720. package/lib/index-rs4SJ8Gd.js +0 -253
  721. package/lib/index-w-CiezW1.js +0 -135
  722. package/lib/index-xHADmDT3.js +0 -12
  723. package/lib/index-xa7wUurf.js +0 -8
  724. package/lib/index-xjkoF_Bn.js +0 -317
  725. package/lib/index-zNGl_CdN.js +0 -8
  726. package/lib/index-zc51oyS8.js +0 -121
  727. package/lib/index.d.ts +0 -4
  728. package/lib/index.d.ts.map +0 -1
  729. package/lib/index.es.js +0 -7
  730. package/lib/javascript-8ZHqHagw.js +0 -758
  731. package/lib/jinja2-vsOFe0qD.js +0 -154
  732. package/lib/julia-dlp_pbN1.js +0 -241
  733. package/lib/livescript-Gf5R-LT6.js +0 -273
  734. package/lib/lua-c5Y_JsBp.js +0 -221
  735. package/lib/mathematica-iiGTGmUs.js +0 -35
  736. package/lib/mbox-ZJh86H8B.js +0 -78
  737. package/lib/meta-tAGyVRPE.js +0 -511
  738. package/lib/mirc-i0qkCa0y.js +0 -73
  739. package/lib/mllike-Dy551fZW.js +0 -275
  740. package/lib/modelica-n6tGqUT9.js +0 -94
  741. package/lib/mscgen-aKSbB7D9.js +0 -104
  742. package/lib/mumps-lNiKA6sp.js +0 -25
  743. package/lib/nginx--YmuCfDj.js +0 -93
  744. package/lib/nsis-zhS8iA09.js +0 -62
  745. package/lib/ntriples-E3jQl3MC.js +0 -79
  746. package/lib/octave-EQvkGIeG.js +0 -144
  747. package/lib/oz-W2cpqFf6.js +0 -152
  748. package/lib/pascal-lCh6ouNZ.js +0 -79
  749. package/lib/perl-PxEQBX0B.js +0 -915
  750. package/lib/pig-Y_bNcrzS.js +0 -56
  751. package/lib/powershell-GaQP-TZr.js +0 -249
  752. package/lib/properties-mbRyn54L.js +0 -26
  753. package/lib/prosemirror-noTDkx-k.js +0 -4
  754. package/lib/protobuf-8CJideyJ.js +0 -49
  755. package/lib/puppet-ABBaChNZ.js +0 -45
  756. package/lib/python-sKdHg3Ka.js +0 -321
  757. package/lib/q-_1yG40Nm.js +0 -89
  758. package/lib/r-Ziz56bHT.js +0 -108
  759. package/lib/rpm-ORjGOHaQ.js +0 -57
  760. package/lib/ruby-jlbYq0dT.js +0 -233
  761. package/lib/sas-2n7xeUuO.js +0 -107
  762. package/lib/schema-ywm7RaKF.js +0 -62
  763. package/lib/scheme-XCs-NPeU.js +0 -126
  764. package/lib/shell-0_1Um7Dq.js +0 -184
  765. package/lib/sieve-7uyJD1x1.js +0 -73
  766. package/lib/simple-mode--HIzBxba.js +0 -95
  767. package/lib/smalltalk-PEFzrlQ-.js +0 -48
  768. package/lib/solr-BLBaHahN.js +0 -41
  769. package/lib/sparql-4F9ZWf1b.js +0 -204
  770. package/lib/spreadsheet-SGSo6blj.js +0 -49
  771. package/lib/sql-tebLBzN0.js +0 -291
  772. package/lib/stex-SFJcFGOO.js +0 -130
  773. package/lib/stylus-rwwWYWFm.js +0 -256
  774. package/lib/swift-eorJ0tCv.js +0 -238
  775. package/lib/tcl-IwXMB8U4.js +0 -82
  776. package/lib/textile-ok2VyjwC.js +0 -299
  777. package/lib/theme/classic/index.d.ts +0 -3
  778. package/lib/theme/classic/index.d.ts.map +0 -1
  779. package/lib/theme/classic-dark/index.d.ts +0 -3
  780. package/lib/theme/classic-dark/index.d.ts.map +0 -1
  781. package/lib/theme/headless/index.d.ts +0 -3
  782. package/lib/theme/headless/index.d.ts.map +0 -1
  783. package/lib/theme/index.d.ts +0 -8
  784. package/lib/theme/index.d.ts.map +0 -1
  785. package/lib/theme/shared.d.ts +0 -3
  786. package/lib/theme/shared.d.ts.map +0 -1
  787. package/lib/tiddlywiki-DLhz8_pc.js +0 -156
  788. package/lib/tiki-DFAqFElY.js +0 -183
  789. package/lib/tippy.esm-4ny8MQOF.js +0 -1813
  790. package/lib/toml-ryxpTZEV.js +0 -49
  791. package/lib/tooltip-plugin-NpyG8C5u.js +0 -122
  792. package/lib/troff-ZzZyvNct.js +0 -36
  793. package/lib/ttcn-6gvkqqpW.js +0 -136
  794. package/lib/ttcn-cfg-oSu-Dq5C.js +0 -98
  795. package/lib/turtle-10ofr5au.js +0 -87
  796. package/lib/utils/index.d.ts.map +0 -1
  797. package/lib/vb-a6n6fzrD.js +0 -74
  798. package/lib/vbscript-dgvo8jPt.js +0 -324
  799. package/lib/velocity-CBncCrwO.js +0 -97
  800. package/lib/verilog-KlcACt6C.js +0 -271
  801. package/lib/vhdl-NMd7Gf35.js +0 -117
  802. package/lib/webidl-z1UE5DN_.js +0 -160
  803. package/lib/xquery-hDt5jWTp.js +0 -431
  804. package/lib/yacas-ftgh_qwr.js +0 -74
  805. package/lib/z80-dA1PqWe1.js +0 -62
  806. package/src/feature/code-mirror/style.css +0 -159
  807. package/src/feature/gap-cursor/index.ts +0 -31
  808. package/src/theme/classic/index.ts +0 -12
  809. package/src/theme/classic-dark/index.ts +0 -12
  810. package/src/theme/headless/index.ts +0 -9
  811. package/src/theme/index.ts +0 -26
  812. package/src/theme/shared.ts +0 -4
  813. /package/lib/{feature → types/feature}/block-edit/handle/component.d.ts +0 -0
  814. /package/lib/{feature → types/feature}/block-edit/index.d.ts +0 -0
  815. /package/lib/{feature → types/feature}/block-edit/menu/component.d.ts +0 -0
  816. /package/lib/{feature → types/feature}/block-edit/menu/config.d.ts +0 -0
  817. /package/lib/{feature → types/feature}/block-edit/menu/icons.d.ts +0 -0
  818. /package/lib/{feature → types/feature}/block-edit/menu/index.d.ts +0 -0
  819. /package/lib/{feature/code-mirror → types/feature/image-block}/index.d.ts +0 -0
  820. /package/lib/{feature → types/feature}/link-tooltip/consts.d.ts +0 -0
  821. /package/lib/{feature/gap-cursor → types/feature/link-tooltip}/index.d.ts +0 -0
  822. /package/lib/{feature → types/feature}/list-item/consts.d.ts +0 -0
  823. /package/lib/{feature/image-block → types/feature/list-item}/index.d.ts +0 -0
  824. /package/lib/{feature → types/feature}/toolbar/component.d.ts +0 -0
  825. /package/lib/{feature → types/feature}/toolbar/consts.d.ts +0 -0
  826. /package/lib/{feature/link-tooltip → types/feature/toolbar}/index.d.ts +0 -0
  827. /package/src/{feature/placeholder/style.css → theme/common/placeholder.css} +0 -0
@@ -1,1813 +0,0 @@
1
- import { Z as Dr, _ as tt } from "./index-Ls2I7eOW.js";
2
- function Mt(e = 0, t = 0, r = 0) {
3
- return Math.min(Math.max(e, t), r);
4
- }
5
- function Di(e, t, r) {
6
- const o = e.state.doc.content.size, u = Mt(t, 0, o), f = Mt(r, 0, o), c = e.coordsAtPos(u), s = e.coordsAtPos(f, -1), d = Math.min(c.top, s.top), p = Math.max(c.bottom, s.bottom), g = Math.min(c.left, s.left), w = Math.max(c.right, s.right), m = w - g, O = p - d, x = {
7
- top: d,
8
- bottom: p,
9
- left: g,
10
- right: w,
11
- width: m,
12
- height: O,
13
- x: g,
14
- y: d
15
- };
16
- return {
17
- ...x,
18
- toJSON: () => x
19
- };
20
- }
21
- var Cr = "Expected a function", Pt = NaN, Sr = "[object Symbol]", jr = /^\s+|\s+$/g, Lr = /^[-+]0x[0-9a-f]+$/i, Mr = /^0b[01]+$/i, Pr = /^0o[0-7]+$/i, Nr = parseInt, Rr = typeof tt == "object" && tt && tt.Object === Object && tt, kr = typeof self == "object" && self && self.Object === Object && self, Br = Rr || kr || Function("return this")(), Ir = Object.prototype, Vr = Ir.toString, $r = Math.max, Wr = Math.min, pt = function() {
22
- return Br.Date.now();
23
- };
24
- function Hr(e, t, r) {
25
- var n, o, u, f, c, s, d = 0, p = !1, g = !1, w = !0;
26
- if (typeof e != "function")
27
- throw new TypeError(Cr);
28
- t = Nt(t) || 0, ht(r) && (p = !!r.leading, g = "maxWait" in r, u = g ? $r(Nt(r.maxWait) || 0, t) : u, w = "trailing" in r ? !!r.trailing : w);
29
- function m(l) {
30
- var T = n, j = o;
31
- return n = o = void 0, d = l, f = e.apply(j, T), f;
32
- }
33
- function O(l) {
34
- return d = l, c = setTimeout(x, t), p ? m(l) : f;
35
- }
36
- function b(l) {
37
- var T = l - s, j = l - d, L = t - T;
38
- return g ? Wr(L, u - j) : L;
39
- }
40
- function y(l) {
41
- var T = l - s, j = l - d;
42
- return s === void 0 || T >= t || T < 0 || g && j >= u;
43
- }
44
- function x() {
45
- var l = pt();
46
- if (y(l))
47
- return D(l);
48
- c = setTimeout(x, b(l));
49
- }
50
- function D(l) {
51
- return c = void 0, w && n ? m(l) : (n = o = void 0, f);
52
- }
53
- function S() {
54
- c !== void 0 && clearTimeout(c), d = 0, n = s = o = c = void 0;
55
- }
56
- function i() {
57
- return c === void 0 ? f : D(pt());
58
- }
59
- function E() {
60
- var l = pt(), T = y(l);
61
- if (n = arguments, o = this, s = l, T) {
62
- if (c === void 0)
63
- return O(s);
64
- if (g)
65
- return c = setTimeout(x, t), m(s);
66
- }
67
- return c === void 0 && (c = setTimeout(x, t)), f;
68
- }
69
- return E.cancel = S, E.flush = i, E;
70
- }
71
- function ht(e) {
72
- var t = typeof e;
73
- return !!e && (t == "object" || t == "function");
74
- }
75
- function Fr(e) {
76
- return !!e && typeof e == "object";
77
- }
78
- function Ur(e) {
79
- return typeof e == "symbol" || Fr(e) && Vr.call(e) == Sr;
80
- }
81
- function Nt(e) {
82
- if (typeof e == "number")
83
- return e;
84
- if (Ur(e))
85
- return Pt;
86
- if (ht(e)) {
87
- var t = typeof e.valueOf == "function" ? e.valueOf() : e;
88
- e = ht(t) ? t + "" : t;
89
- }
90
- if (typeof e != "string")
91
- return e === 0 ? e : +e;
92
- e = e.replace(jr, "");
93
- var r = Mr.test(e);
94
- return r || Pr.test(e) ? Nr(e.slice(2), r ? 2 : 8) : Lr.test(e) ? Pt : +e;
95
- }
96
- var _r = Hr;
97
- const Ci = /* @__PURE__ */ Dr(_r);
98
- var $ = "top", X = "bottom", Y = "right", W = "left", xt = "auto", Fe = [$, X, Y, W], Ae = "start", Ve = "end", qr = "clippingParents", Qt = "viewport", Re = "popper", zr = "reference", Rt = /* @__PURE__ */ Fe.reduce(function(e, t) {
99
- return e.concat([t + "-" + Ae, t + "-" + Ve]);
100
- }, []), er = /* @__PURE__ */ [].concat(Fe, [xt]).reduce(function(e, t) {
101
- return e.concat([t, t + "-" + Ae, t + "-" + Ve]);
102
- }, []), Xr = "beforeRead", Yr = "read", Gr = "afterRead", Kr = "beforeMain", Jr = "main", Zr = "afterMain", Qr = "beforeWrite", en = "write", tn = "afterWrite", rn = [Xr, Yr, Gr, Kr, Jr, Zr, Qr, en, tn];
103
- function te(e) {
104
- return e ? (e.nodeName || "").toLowerCase() : null;
105
- }
106
- function _(e) {
107
- if (e == null)
108
- return window;
109
- if (e.toString() !== "[object Window]") {
110
- var t = e.ownerDocument;
111
- return t && t.defaultView || window;
112
- }
113
- return e;
114
- }
115
- function ge(e) {
116
- var t = _(e).Element;
117
- return e instanceof t || e instanceof Element;
118
- }
119
- function z(e) {
120
- var t = _(e).HTMLElement;
121
- return e instanceof t || e instanceof HTMLElement;
122
- }
123
- function Et(e) {
124
- if (typeof ShadowRoot > "u")
125
- return !1;
126
- var t = _(e).ShadowRoot;
127
- return e instanceof t || e instanceof ShadowRoot;
128
- }
129
- function nn(e) {
130
- var t = e.state;
131
- Object.keys(t.elements).forEach(function(r) {
132
- var n = t.styles[r] || {}, o = t.attributes[r] || {}, u = t.elements[r];
133
- !z(u) || !te(u) || (Object.assign(u.style, n), Object.keys(o).forEach(function(f) {
134
- var c = o[f];
135
- c === !1 ? u.removeAttribute(f) : u.setAttribute(f, c === !0 ? "" : c);
136
- }));
137
- });
138
- }
139
- function on(e) {
140
- var t = e.state, r = {
141
- popper: {
142
- position: t.options.strategy,
143
- left: "0",
144
- top: "0",
145
- margin: "0"
146
- },
147
- arrow: {
148
- position: "absolute"
149
- },
150
- reference: {}
151
- };
152
- return Object.assign(t.elements.popper.style, r.popper), t.styles = r, t.elements.arrow && Object.assign(t.elements.arrow.style, r.arrow), function() {
153
- Object.keys(t.elements).forEach(function(n) {
154
- var o = t.elements[n], u = t.attributes[n] || {}, f = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), c = f.reduce(function(s, d) {
155
- return s[d] = "", s;
156
- }, {});
157
- !z(o) || !te(o) || (Object.assign(o.style, c), Object.keys(u).forEach(function(s) {
158
- o.removeAttribute(s);
159
- }));
160
- });
161
- };
162
- }
163
- const tr = {
164
- name: "applyStyles",
165
- enabled: !0,
166
- phase: "write",
167
- fn: nn,
168
- effect: on,
169
- requires: ["computeStyles"]
170
- };
171
- function ee(e) {
172
- return e.split("-")[0];
173
- }
174
- var he = Math.max, ot = Math.min, De = Math.round;
175
- function gt() {
176
- var e = navigator.userAgentData;
177
- return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
178
- return t.brand + "/" + t.version;
179
- }).join(" ") : navigator.userAgent;
180
- }
181
- function rr() {
182
- return !/^((?!chrome|android).)*safari/i.test(gt());
183
- }
184
- function Ce(e, t, r) {
185
- t === void 0 && (t = !1), r === void 0 && (r = !1);
186
- var n = e.getBoundingClientRect(), o = 1, u = 1;
187
- t && z(e) && (o = e.offsetWidth > 0 && De(n.width) / e.offsetWidth || 1, u = e.offsetHeight > 0 && De(n.height) / e.offsetHeight || 1);
188
- var f = ge(e) ? _(e) : window, c = f.visualViewport, s = !rr() && r, d = (n.left + (s && c ? c.offsetLeft : 0)) / o, p = (n.top + (s && c ? c.offsetTop : 0)) / u, g = n.width / o, w = n.height / u;
189
- return {
190
- width: g,
191
- height: w,
192
- top: p,
193
- right: d + g,
194
- bottom: p + w,
195
- left: d,
196
- x: d,
197
- y: p
198
- };
199
- }
200
- function Tt(e) {
201
- var t = Ce(e), r = e.offsetWidth, n = e.offsetHeight;
202
- return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
203
- x: e.offsetLeft,
204
- y: e.offsetTop,
205
- width: r,
206
- height: n
207
- };
208
- }
209
- function nr(e, t) {
210
- var r = t.getRootNode && t.getRootNode();
211
- if (e.contains(t))
212
- return !0;
213
- if (r && Et(r)) {
214
- var n = t;
215
- do {
216
- if (n && e.isSameNode(n))
217
- return !0;
218
- n = n.parentNode || n.host;
219
- } while (n);
220
- }
221
- return !1;
222
- }
223
- function se(e) {
224
- return _(e).getComputedStyle(e);
225
- }
226
- function an(e) {
227
- return ["table", "td", "th"].indexOf(te(e)) >= 0;
228
- }
229
- function fe(e) {
230
- return ((ge(e) ? e.ownerDocument : (
231
- // $FlowFixMe[prop-missing]
232
- e.document
233
- )) || window.document).documentElement;
234
- }
235
- function st(e) {
236
- return te(e) === "html" ? e : (
237
- // this is a quicker (but less type safe) way to save quite some bytes from the bundle
238
- // $FlowFixMe[incompatible-return]
239
- // $FlowFixMe[prop-missing]
240
- e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
241
- e.parentNode || // DOM Element detected
242
- (Et(e) ? e.host : null) || // ShadowRoot detected
243
- // $FlowFixMe[incompatible-call]: HTMLElement is a Node
244
- fe(e)
245
- );
246
- }
247
- function kt(e) {
248
- return !z(e) || // https://github.com/popperjs/popper-core/issues/837
249
- se(e).position === "fixed" ? null : e.offsetParent;
250
- }
251
- function sn(e) {
252
- var t = /firefox/i.test(gt()), r = /Trident/i.test(gt());
253
- if (r && z(e)) {
254
- var n = se(e);
255
- if (n.position === "fixed")
256
- return null;
257
- }
258
- var o = st(e);
259
- for (Et(o) && (o = o.host); z(o) && ["html", "body"].indexOf(te(o)) < 0; ) {
260
- var u = se(o);
261
- if (u.transform !== "none" || u.perspective !== "none" || u.contain === "paint" || ["transform", "perspective"].indexOf(u.willChange) !== -1 || t && u.willChange === "filter" || t && u.filter && u.filter !== "none")
262
- return o;
263
- o = o.parentNode;
264
- }
265
- return null;
266
- }
267
- function Ue(e) {
268
- for (var t = _(e), r = kt(e); r && an(r) && se(r).position === "static"; )
269
- r = kt(r);
270
- return r && (te(r) === "html" || te(r) === "body" && se(r).position === "static") ? t : r || sn(e) || t;
271
- }
272
- function At(e) {
273
- return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
274
- }
275
- function ke(e, t, r) {
276
- return he(e, ot(t, r));
277
- }
278
- function un(e, t, r) {
279
- var n = ke(e, t, r);
280
- return n > r ? r : n;
281
- }
282
- function ir() {
283
- return {
284
- top: 0,
285
- right: 0,
286
- bottom: 0,
287
- left: 0
288
- };
289
- }
290
- function or(e) {
291
- return Object.assign({}, ir(), e);
292
- }
293
- function ar(e, t) {
294
- return t.reduce(function(r, n) {
295
- return r[n] = e, r;
296
- }, {});
297
- }
298
- var cn = function(t, r) {
299
- return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
300
- placement: r.placement
301
- })) : t, or(typeof t != "number" ? t : ar(t, Fe));
302
- };
303
- function fn(e) {
304
- var t, r = e.state, n = e.name, o = e.options, u = r.elements.arrow, f = r.modifiersData.popperOffsets, c = ee(r.placement), s = At(c), d = [W, Y].indexOf(c) >= 0, p = d ? "height" : "width";
305
- if (!(!u || !f)) {
306
- var g = cn(o.padding, r), w = Tt(u), m = s === "y" ? $ : W, O = s === "y" ? X : Y, b = r.rects.reference[p] + r.rects.reference[s] - f[s] - r.rects.popper[p], y = f[s] - r.rects.reference[s], x = Ue(u), D = x ? s === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, S = b / 2 - y / 2, i = g[m], E = D - w[p] - g[O], l = D / 2 - w[p] / 2 + S, T = ke(i, l, E), j = s;
307
- r.modifiersData[n] = (t = {}, t[j] = T, t.centerOffset = T - l, t);
308
- }
309
- }
310
- function pn(e) {
311
- var t = e.state, r = e.options, n = r.element, o = n === void 0 ? "[data-popper-arrow]" : n;
312
- o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || nr(t.elements.popper, o) && (t.elements.arrow = o));
313
- }
314
- const ln = {
315
- name: "arrow",
316
- enabled: !0,
317
- phase: "main",
318
- fn,
319
- effect: pn,
320
- requires: ["popperOffsets"],
321
- requiresIfExists: ["preventOverflow"]
322
- };
323
- function Se(e) {
324
- return e.split("-")[1];
325
- }
326
- var dn = {
327
- top: "auto",
328
- right: "auto",
329
- bottom: "auto",
330
- left: "auto"
331
- };
332
- function vn(e, t) {
333
- var r = e.x, n = e.y, o = t.devicePixelRatio || 1;
334
- return {
335
- x: De(r * o) / o || 0,
336
- y: De(n * o) / o || 0
337
- };
338
- }
339
- function Bt(e) {
340
- var t, r = e.popper, n = e.popperRect, o = e.placement, u = e.variation, f = e.offsets, c = e.position, s = e.gpuAcceleration, d = e.adaptive, p = e.roundOffsets, g = e.isFixed, w = f.x, m = w === void 0 ? 0 : w, O = f.y, b = O === void 0 ? 0 : O, y = typeof p == "function" ? p({
341
- x: m,
342
- y: b
343
- }) : {
344
- x: m,
345
- y: b
346
- };
347
- m = y.x, b = y.y;
348
- var x = f.hasOwnProperty("x"), D = f.hasOwnProperty("y"), S = W, i = $, E = window;
349
- if (d) {
350
- var l = Ue(r), T = "clientHeight", j = "clientWidth";
351
- if (l === _(r) && (l = fe(r), se(l).position !== "static" && c === "absolute" && (T = "scrollHeight", j = "scrollWidth")), l = l, o === $ || (o === W || o === Y) && u === Ve) {
352
- i = X;
353
- var L = g && l === E && E.visualViewport ? E.visualViewport.height : (
354
- // $FlowFixMe[prop-missing]
355
- l[T]
356
- );
357
- b -= L - n.height, b *= s ? 1 : -1;
358
- }
359
- if (o === W || (o === $ || o === X) && u === Ve) {
360
- S = Y;
361
- var P = g && l === E && E.visualViewport ? E.visualViewport.width : (
362
- // $FlowFixMe[prop-missing]
363
- l[j]
364
- );
365
- m -= P - n.width, m *= s ? 1 : -1;
366
- }
367
- }
368
- var R = Object.assign({
369
- position: c
370
- }, d && dn), N = p === !0 ? vn({
371
- x: m,
372
- y: b
373
- }, _(r)) : {
374
- x: m,
375
- y: b
376
- };
377
- if (m = N.x, b = N.y, s) {
378
- var M;
379
- return Object.assign({}, R, (M = {}, M[i] = D ? "0" : "", M[S] = x ? "0" : "", M.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + b + "px)" : "translate3d(" + m + "px, " + b + "px, 0)", M));
380
- }
381
- return Object.assign({}, R, (t = {}, t[i] = D ? b + "px" : "", t[S] = x ? m + "px" : "", t.transform = "", t));
382
- }
383
- function mn(e) {
384
- var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, u = r.adaptive, f = u === void 0 ? !0 : u, c = r.roundOffsets, s = c === void 0 ? !0 : c, d = {
385
- placement: ee(t.placement),
386
- variation: Se(t.placement),
387
- popper: t.elements.popper,
388
- popperRect: t.rects.popper,
389
- gpuAcceleration: o,
390
- isFixed: t.options.strategy === "fixed"
391
- };
392
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Bt(Object.assign({}, d, {
393
- offsets: t.modifiersData.popperOffsets,
394
- position: t.options.strategy,
395
- adaptive: f,
396
- roundOffsets: s
397
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Bt(Object.assign({}, d, {
398
- offsets: t.modifiersData.arrow,
399
- position: "absolute",
400
- adaptive: !1,
401
- roundOffsets: s
402
- })))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
403
- "data-popper-placement": t.placement
404
- });
405
- }
406
- const hn = {
407
- name: "computeStyles",
408
- enabled: !0,
409
- phase: "beforeWrite",
410
- fn: mn,
411
- data: {}
412
- };
413
- var rt = {
414
- passive: !0
415
- };
416
- function gn(e) {
417
- var t = e.state, r = e.instance, n = e.options, o = n.scroll, u = o === void 0 ? !0 : o, f = n.resize, c = f === void 0 ? !0 : f, s = _(t.elements.popper), d = [].concat(t.scrollParents.reference, t.scrollParents.popper);
418
- return u && d.forEach(function(p) {
419
- p.addEventListener("scroll", r.update, rt);
420
- }), c && s.addEventListener("resize", r.update, rt), function() {
421
- u && d.forEach(function(p) {
422
- p.removeEventListener("scroll", r.update, rt);
423
- }), c && s.removeEventListener("resize", r.update, rt);
424
- };
425
- }
426
- const yn = {
427
- name: "eventListeners",
428
- enabled: !0,
429
- phase: "write",
430
- fn: function() {
431
- },
432
- effect: gn,
433
- data: {}
434
- };
435
- var bn = {
436
- left: "right",
437
- right: "left",
438
- bottom: "top",
439
- top: "bottom"
440
- };
441
- function it(e) {
442
- return e.replace(/left|right|bottom|top/g, function(t) {
443
- return bn[t];
444
- });
445
- }
446
- var wn = {
447
- start: "end",
448
- end: "start"
449
- };
450
- function It(e) {
451
- return e.replace(/start|end/g, function(t) {
452
- return wn[t];
453
- });
454
- }
455
- function Dt(e) {
456
- var t = _(e), r = t.pageXOffset, n = t.pageYOffset;
457
- return {
458
- scrollLeft: r,
459
- scrollTop: n
460
- };
461
- }
462
- function Ct(e) {
463
- return Ce(fe(e)).left + Dt(e).scrollLeft;
464
- }
465
- function On(e, t) {
466
- var r = _(e), n = fe(e), o = r.visualViewport, u = n.clientWidth, f = n.clientHeight, c = 0, s = 0;
467
- if (o) {
468
- u = o.width, f = o.height;
469
- var d = rr();
470
- (d || !d && t === "fixed") && (c = o.offsetLeft, s = o.offsetTop);
471
- }
472
- return {
473
- width: u,
474
- height: f,
475
- x: c + Ct(e),
476
- y: s
477
- };
478
- }
479
- function xn(e) {
480
- var t, r = fe(e), n = Dt(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, u = he(r.scrollWidth, r.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), f = he(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), c = -n.scrollLeft + Ct(e), s = -n.scrollTop;
481
- return se(o || r).direction === "rtl" && (c += he(r.clientWidth, o ? o.clientWidth : 0) - u), {
482
- width: u,
483
- height: f,
484
- x: c,
485
- y: s
486
- };
487
- }
488
- function St(e) {
489
- var t = se(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
490
- return /auto|scroll|overlay|hidden/.test(r + o + n);
491
- }
492
- function sr(e) {
493
- return ["html", "body", "#document"].indexOf(te(e)) >= 0 ? e.ownerDocument.body : z(e) && St(e) ? e : sr(st(e));
494
- }
495
- function Be(e, t) {
496
- var r;
497
- t === void 0 && (t = []);
498
- var n = sr(e), o = n === ((r = e.ownerDocument) == null ? void 0 : r.body), u = _(n), f = o ? [u].concat(u.visualViewport || [], St(n) ? n : []) : n, c = t.concat(f);
499
- return o ? c : (
500
- // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
501
- c.concat(Be(st(f)))
502
- );
503
- }
504
- function yt(e) {
505
- return Object.assign({}, e, {
506
- left: e.x,
507
- top: e.y,
508
- right: e.x + e.width,
509
- bottom: e.y + e.height
510
- });
511
- }
512
- function En(e, t) {
513
- var r = Ce(e, !1, t === "fixed");
514
- return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
515
- }
516
- function Vt(e, t, r) {
517
- return t === Qt ? yt(On(e, r)) : ge(t) ? En(t, r) : yt(xn(fe(e)));
518
- }
519
- function Tn(e) {
520
- var t = Be(st(e)), r = ["absolute", "fixed"].indexOf(se(e).position) >= 0, n = r && z(e) ? Ue(e) : e;
521
- return ge(n) ? t.filter(function(o) {
522
- return ge(o) && nr(o, n) && te(o) !== "body";
523
- }) : [];
524
- }
525
- function An(e, t, r, n) {
526
- var o = t === "clippingParents" ? Tn(e) : [].concat(t), u = [].concat(o, [r]), f = u[0], c = u.reduce(function(s, d) {
527
- var p = Vt(e, d, n);
528
- return s.top = he(p.top, s.top), s.right = ot(p.right, s.right), s.bottom = ot(p.bottom, s.bottom), s.left = he(p.left, s.left), s;
529
- }, Vt(e, f, n));
530
- return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
531
- }
532
- function ur(e) {
533
- var t = e.reference, r = e.element, n = e.placement, o = n ? ee(n) : null, u = n ? Se(n) : null, f = t.x + t.width / 2 - r.width / 2, c = t.y + t.height / 2 - r.height / 2, s;
534
- switch (o) {
535
- case $:
536
- s = {
537
- x: f,
538
- y: t.y - r.height
539
- };
540
- break;
541
- case X:
542
- s = {
543
- x: f,
544
- y: t.y + t.height
545
- };
546
- break;
547
- case Y:
548
- s = {
549
- x: t.x + t.width,
550
- y: c
551
- };
552
- break;
553
- case W:
554
- s = {
555
- x: t.x - r.width,
556
- y: c
557
- };
558
- break;
559
- default:
560
- s = {
561
- x: t.x,
562
- y: t.y
563
- };
564
- }
565
- var d = o ? At(o) : null;
566
- if (d != null) {
567
- var p = d === "y" ? "height" : "width";
568
- switch (u) {
569
- case Ae:
570
- s[d] = s[d] - (t[p] / 2 - r[p] / 2);
571
- break;
572
- case Ve:
573
- s[d] = s[d] + (t[p] / 2 - r[p] / 2);
574
- break;
575
- }
576
- }
577
- return s;
578
- }
579
- function $e(e, t) {
580
- t === void 0 && (t = {});
581
- var r = t, n = r.placement, o = n === void 0 ? e.placement : n, u = r.strategy, f = u === void 0 ? e.strategy : u, c = r.boundary, s = c === void 0 ? qr : c, d = r.rootBoundary, p = d === void 0 ? Qt : d, g = r.elementContext, w = g === void 0 ? Re : g, m = r.altBoundary, O = m === void 0 ? !1 : m, b = r.padding, y = b === void 0 ? 0 : b, x = or(typeof y != "number" ? y : ar(y, Fe)), D = w === Re ? zr : Re, S = e.rects.popper, i = e.elements[O ? D : w], E = An(ge(i) ? i : i.contextElement || fe(e.elements.popper), s, p, f), l = Ce(e.elements.reference), T = ur({
582
- reference: l,
583
- element: S,
584
- strategy: "absolute",
585
- placement: o
586
- }), j = yt(Object.assign({}, S, T)), L = w === Re ? j : l, P = {
587
- top: E.top - L.top + x.top,
588
- bottom: L.bottom - E.bottom + x.bottom,
589
- left: E.left - L.left + x.left,
590
- right: L.right - E.right + x.right
591
- }, R = e.modifiersData.offset;
592
- if (w === Re && R) {
593
- var N = R[o];
594
- Object.keys(P).forEach(function(M) {
595
- var H = [Y, X].indexOf(M) >= 0 ? 1 : -1, F = [$, X].indexOf(M) >= 0 ? "y" : "x";
596
- P[M] += N[F] * H;
597
- });
598
- }
599
- return P;
600
- }
601
- function Dn(e, t) {
602
- t === void 0 && (t = {});
603
- var r = t, n = r.placement, o = r.boundary, u = r.rootBoundary, f = r.padding, c = r.flipVariations, s = r.allowedAutoPlacements, d = s === void 0 ? er : s, p = Se(n), g = p ? c ? Rt : Rt.filter(function(O) {
604
- return Se(O) === p;
605
- }) : Fe, w = g.filter(function(O) {
606
- return d.indexOf(O) >= 0;
607
- });
608
- w.length === 0 && (w = g);
609
- var m = w.reduce(function(O, b) {
610
- return O[b] = $e(e, {
611
- placement: b,
612
- boundary: o,
613
- rootBoundary: u,
614
- padding: f
615
- })[ee(b)], O;
616
- }, {});
617
- return Object.keys(m).sort(function(O, b) {
618
- return m[O] - m[b];
619
- });
620
- }
621
- function Cn(e) {
622
- if (ee(e) === xt)
623
- return [];
624
- var t = it(e);
625
- return [It(e), t, It(t)];
626
- }
627
- function Sn(e) {
628
- var t = e.state, r = e.options, n = e.name;
629
- if (!t.modifiersData[n]._skip) {
630
- for (var o = r.mainAxis, u = o === void 0 ? !0 : o, f = r.altAxis, c = f === void 0 ? !0 : f, s = r.fallbackPlacements, d = r.padding, p = r.boundary, g = r.rootBoundary, w = r.altBoundary, m = r.flipVariations, O = m === void 0 ? !0 : m, b = r.allowedAutoPlacements, y = t.options.placement, x = ee(y), D = x === y, S = s || (D || !O ? [it(y)] : Cn(y)), i = [y].concat(S).reduce(function(re, G) {
631
- return re.concat(ee(G) === xt ? Dn(t, {
632
- placement: G,
633
- boundary: p,
634
- rootBoundary: g,
635
- padding: d,
636
- flipVariations: O,
637
- allowedAutoPlacements: b
638
- }) : G);
639
- }, []), E = t.rects.reference, l = t.rects.popper, T = /* @__PURE__ */ new Map(), j = !0, L = i[0], P = 0; P < i.length; P++) {
640
- var R = i[P], N = ee(R), M = Se(R) === Ae, H = [$, X].indexOf(N) >= 0, F = H ? "width" : "height", B = $e(t, {
641
- placement: R,
642
- boundary: p,
643
- rootBoundary: g,
644
- altBoundary: w,
645
- padding: d
646
- }), I = H ? M ? Y : W : M ? X : $;
647
- E[F] > l[F] && (I = it(I));
648
- var k = it(I), K = [];
649
- if (u && K.push(B[N] <= 0), c && K.push(B[I] <= 0, B[k] <= 0), K.every(function(re) {
650
- return re;
651
- })) {
652
- L = R, j = !1;
653
- break;
654
- }
655
- T.set(R, K);
656
- }
657
- if (j)
658
- for (var J = O ? 3 : 1, pe = function(G) {
659
- var ne = i.find(function(ye) {
660
- var ie = T.get(ye);
661
- if (ie)
662
- return ie.slice(0, G).every(function(be) {
663
- return be;
664
- });
665
- });
666
- if (ne)
667
- return L = ne, "break";
668
- }, Z = J; Z > 0; Z--) {
669
- var le = pe(Z);
670
- if (le === "break")
671
- break;
672
- }
673
- t.placement !== L && (t.modifiersData[n]._skip = !0, t.placement = L, t.reset = !0);
674
- }
675
- }
676
- const jn = {
677
- name: "flip",
678
- enabled: !0,
679
- phase: "main",
680
- fn: Sn,
681
- requiresIfExists: ["offset"],
682
- data: {
683
- _skip: !1
684
- }
685
- };
686
- function $t(e, t, r) {
687
- return r === void 0 && (r = {
688
- x: 0,
689
- y: 0
690
- }), {
691
- top: e.top - t.height - r.y,
692
- right: e.right - t.width + r.x,
693
- bottom: e.bottom - t.height + r.y,
694
- left: e.left - t.width - r.x
695
- };
696
- }
697
- function Wt(e) {
698
- return [$, Y, X, W].some(function(t) {
699
- return e[t] >= 0;
700
- });
701
- }
702
- function Ln(e) {
703
- var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, u = t.modifiersData.preventOverflow, f = $e(t, {
704
- elementContext: "reference"
705
- }), c = $e(t, {
706
- altBoundary: !0
707
- }), s = $t(f, n), d = $t(c, o, u), p = Wt(s), g = Wt(d);
708
- t.modifiersData[r] = {
709
- referenceClippingOffsets: s,
710
- popperEscapeOffsets: d,
711
- isReferenceHidden: p,
712
- hasPopperEscaped: g
713
- }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
714
- "data-popper-reference-hidden": p,
715
- "data-popper-escaped": g
716
- });
717
- }
718
- const Mn = {
719
- name: "hide",
720
- enabled: !0,
721
- phase: "main",
722
- requiresIfExists: ["preventOverflow"],
723
- fn: Ln
724
- };
725
- function Pn(e, t, r) {
726
- var n = ee(e), o = [W, $].indexOf(n) >= 0 ? -1 : 1, u = typeof r == "function" ? r(Object.assign({}, t, {
727
- placement: e
728
- })) : r, f = u[0], c = u[1];
729
- return f = f || 0, c = (c || 0) * o, [W, Y].indexOf(n) >= 0 ? {
730
- x: c,
731
- y: f
732
- } : {
733
- x: f,
734
- y: c
735
- };
736
- }
737
- function Nn(e) {
738
- var t = e.state, r = e.options, n = e.name, o = r.offset, u = o === void 0 ? [0, 0] : o, f = er.reduce(function(p, g) {
739
- return p[g] = Pn(g, t.rects, u), p;
740
- }, {}), c = f[t.placement], s = c.x, d = c.y;
741
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += s, t.modifiersData.popperOffsets.y += d), t.modifiersData[n] = f;
742
- }
743
- const Rn = {
744
- name: "offset",
745
- enabled: !0,
746
- phase: "main",
747
- requires: ["popperOffsets"],
748
- fn: Nn
749
- };
750
- function kn(e) {
751
- var t = e.state, r = e.name;
752
- t.modifiersData[r] = ur({
753
- reference: t.rects.reference,
754
- element: t.rects.popper,
755
- strategy: "absolute",
756
- placement: t.placement
757
- });
758
- }
759
- const Bn = {
760
- name: "popperOffsets",
761
- enabled: !0,
762
- phase: "read",
763
- fn: kn,
764
- data: {}
765
- };
766
- function In(e) {
767
- return e === "x" ? "y" : "x";
768
- }
769
- function Vn(e) {
770
- var t = e.state, r = e.options, n = e.name, o = r.mainAxis, u = o === void 0 ? !0 : o, f = r.altAxis, c = f === void 0 ? !1 : f, s = r.boundary, d = r.rootBoundary, p = r.altBoundary, g = r.padding, w = r.tether, m = w === void 0 ? !0 : w, O = r.tetherOffset, b = O === void 0 ? 0 : O, y = $e(t, {
771
- boundary: s,
772
- rootBoundary: d,
773
- padding: g,
774
- altBoundary: p
775
- }), x = ee(t.placement), D = Se(t.placement), S = !D, i = At(x), E = In(i), l = t.modifiersData.popperOffsets, T = t.rects.reference, j = t.rects.popper, L = typeof b == "function" ? b(Object.assign({}, t.rects, {
776
- placement: t.placement
777
- })) : b, P = typeof L == "number" ? {
778
- mainAxis: L,
779
- altAxis: L
780
- } : Object.assign({
781
- mainAxis: 0,
782
- altAxis: 0
783
- }, L), R = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, N = {
784
- x: 0,
785
- y: 0
786
- };
787
- if (l) {
788
- if (u) {
789
- var M, H = i === "y" ? $ : W, F = i === "y" ? X : Y, B = i === "y" ? "height" : "width", I = l[i], k = I + y[H], K = I - y[F], J = m ? -j[B] / 2 : 0, pe = D === Ae ? T[B] : j[B], Z = D === Ae ? -j[B] : -T[B], le = t.elements.arrow, re = m && le ? Tt(le) : {
790
- width: 0,
791
- height: 0
792
- }, G = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : ir(), ne = G[H], ye = G[F], ie = ke(0, T[B], re[B]), be = S ? T[B] / 2 - J - ie - ne - P.mainAxis : pe - ie - ne - P.mainAxis, ue = S ? -T[B] / 2 + J + ie + ye + P.mainAxis : Z + ie + ye + P.mainAxis, we = t.elements.arrow && Ue(t.elements.arrow), _e = we ? i === "y" ? we.clientTop || 0 : we.clientLeft || 0 : 0, je = (M = R == null ? void 0 : R[i]) != null ? M : 0, qe = I + be - je - _e, ze = I + ue - je, Le = ke(m ? ot(k, qe) : k, I, m ? he(K, ze) : K);
793
- l[i] = Le, N[i] = Le - I;
794
- }
795
- if (c) {
796
- var Me, Xe = i === "x" ? $ : W, Ye = i === "x" ? X : Y, oe = l[E], ce = E === "y" ? "height" : "width", Pe = oe + y[Xe], de = oe - y[Ye], Ne = [$, W].indexOf(x) !== -1, Ge = (Me = R == null ? void 0 : R[E]) != null ? Me : 0, Ke = Ne ? Pe : oe - T[ce] - j[ce] - Ge + P.altAxis, Je = Ne ? oe + T[ce] + j[ce] - Ge - P.altAxis : de, Ze = m && Ne ? un(Ke, oe, Je) : ke(m ? Ke : Pe, oe, m ? Je : de);
797
- l[E] = Ze, N[E] = Ze - oe;
798
- }
799
- t.modifiersData[n] = N;
800
- }
801
- }
802
- const $n = {
803
- name: "preventOverflow",
804
- enabled: !0,
805
- phase: "main",
806
- fn: Vn,
807
- requiresIfExists: ["offset"]
808
- };
809
- function Wn(e) {
810
- return {
811
- scrollLeft: e.scrollLeft,
812
- scrollTop: e.scrollTop
813
- };
814
- }
815
- function Hn(e) {
816
- return e === _(e) || !z(e) ? Dt(e) : Wn(e);
817
- }
818
- function Fn(e) {
819
- var t = e.getBoundingClientRect(), r = De(t.width) / e.offsetWidth || 1, n = De(t.height) / e.offsetHeight || 1;
820
- return r !== 1 || n !== 1;
821
- }
822
- function Un(e, t, r) {
823
- r === void 0 && (r = !1);
824
- var n = z(t), o = z(t) && Fn(t), u = fe(t), f = Ce(e, o, r), c = {
825
- scrollLeft: 0,
826
- scrollTop: 0
827
- }, s = {
828
- x: 0,
829
- y: 0
830
- };
831
- return (n || !n && !r) && ((te(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
832
- St(u)) && (c = Hn(t)), z(t) ? (s = Ce(t, !0), s.x += t.clientLeft, s.y += t.clientTop) : u && (s.x = Ct(u))), {
833
- x: f.left + c.scrollLeft - s.x,
834
- y: f.top + c.scrollTop - s.y,
835
- width: f.width,
836
- height: f.height
837
- };
838
- }
839
- function _n(e) {
840
- var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
841
- e.forEach(function(u) {
842
- t.set(u.name, u);
843
- });
844
- function o(u) {
845
- r.add(u.name);
846
- var f = [].concat(u.requires || [], u.requiresIfExists || []);
847
- f.forEach(function(c) {
848
- if (!r.has(c)) {
849
- var s = t.get(c);
850
- s && o(s);
851
- }
852
- }), n.push(u);
853
- }
854
- return e.forEach(function(u) {
855
- r.has(u.name) || o(u);
856
- }), n;
857
- }
858
- function qn(e) {
859
- var t = _n(e);
860
- return rn.reduce(function(r, n) {
861
- return r.concat(t.filter(function(o) {
862
- return o.phase === n;
863
- }));
864
- }, []);
865
- }
866
- function zn(e) {
867
- var t;
868
- return function() {
869
- return t || (t = new Promise(function(r) {
870
- Promise.resolve().then(function() {
871
- t = void 0, r(e());
872
- });
873
- })), t;
874
- };
875
- }
876
- function Xn(e) {
877
- var t = e.reduce(function(r, n) {
878
- var o = r[n.name];
879
- return r[n.name] = o ? Object.assign({}, o, n, {
880
- options: Object.assign({}, o.options, n.options),
881
- data: Object.assign({}, o.data, n.data)
882
- }) : n, r;
883
- }, {});
884
- return Object.keys(t).map(function(r) {
885
- return t[r];
886
- });
887
- }
888
- var Ht = {
889
- placement: "bottom",
890
- modifiers: [],
891
- strategy: "absolute"
892
- };
893
- function Ft() {
894
- for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
895
- t[r] = arguments[r];
896
- return !t.some(function(n) {
897
- return !(n && typeof n.getBoundingClientRect == "function");
898
- });
899
- }
900
- function Yn(e) {
901
- e === void 0 && (e = {});
902
- var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, u = o === void 0 ? Ht : o;
903
- return function(c, s, d) {
904
- d === void 0 && (d = u);
905
- var p = {
906
- placement: "bottom",
907
- orderedModifiers: [],
908
- options: Object.assign({}, Ht, u),
909
- modifiersData: {},
910
- elements: {
911
- reference: c,
912
- popper: s
913
- },
914
- attributes: {},
915
- styles: {}
916
- }, g = [], w = !1, m = {
917
- state: p,
918
- setOptions: function(x) {
919
- var D = typeof x == "function" ? x(p.options) : x;
920
- b(), p.options = Object.assign({}, u, p.options, D), p.scrollParents = {
921
- reference: ge(c) ? Be(c) : c.contextElement ? Be(c.contextElement) : [],
922
- popper: Be(s)
923
- };
924
- var S = qn(Xn([].concat(n, p.options.modifiers)));
925
- return p.orderedModifiers = S.filter(function(i) {
926
- return i.enabled;
927
- }), O(), m.update();
928
- },
929
- // Sync update – it will always be executed, even if not necessary. This
930
- // is useful for low frequency updates where sync behavior simplifies the
931
- // logic.
932
- // For high frequency updates (e.g. `resize` and `scroll` events), always
933
- // prefer the async Popper#update method
934
- forceUpdate: function() {
935
- if (!w) {
936
- var x = p.elements, D = x.reference, S = x.popper;
937
- if (Ft(D, S)) {
938
- p.rects = {
939
- reference: Un(D, Ue(S), p.options.strategy === "fixed"),
940
- popper: Tt(S)
941
- }, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(P) {
942
- return p.modifiersData[P.name] = Object.assign({}, P.data);
943
- });
944
- for (var i = 0; i < p.orderedModifiers.length; i++) {
945
- if (p.reset === !0) {
946
- p.reset = !1, i = -1;
947
- continue;
948
- }
949
- var E = p.orderedModifiers[i], l = E.fn, T = E.options, j = T === void 0 ? {} : T, L = E.name;
950
- typeof l == "function" && (p = l({
951
- state: p,
952
- options: j,
953
- name: L,
954
- instance: m
955
- }) || p);
956
- }
957
- }
958
- }
959
- },
960
- // Async and optimistically optimized update – it will not be executed if
961
- // not necessary (debounced to run at most once-per-tick)
962
- update: zn(function() {
963
- return new Promise(function(y) {
964
- m.forceUpdate(), y(p);
965
- });
966
- }),
967
- destroy: function() {
968
- b(), w = !0;
969
- }
970
- };
971
- if (!Ft(c, s))
972
- return m;
973
- m.setOptions(d).then(function(y) {
974
- !w && d.onFirstUpdate && d.onFirstUpdate(y);
975
- });
976
- function O() {
977
- p.orderedModifiers.forEach(function(y) {
978
- var x = y.name, D = y.options, S = D === void 0 ? {} : D, i = y.effect;
979
- if (typeof i == "function") {
980
- var E = i({
981
- state: p,
982
- name: x,
983
- instance: m,
984
- options: S
985
- }), l = function() {
986
- };
987
- g.push(E || l);
988
- }
989
- });
990
- }
991
- function b() {
992
- g.forEach(function(y) {
993
- return y();
994
- }), g = [];
995
- }
996
- return m;
997
- };
998
- }
999
- var Gn = [yn, Bn, hn, tr, Rn, jn, $n, ln, Mn], Kn = /* @__PURE__ */ Yn({
1000
- defaultModifiers: Gn
1001
- }), Jn = "tippy-box", cr = "tippy-content", Zn = "tippy-backdrop", fr = "tippy-arrow", pr = "tippy-svg-arrow", me = {
1002
- passive: !0,
1003
- capture: !0
1004
- }, lr = function() {
1005
- return document.body;
1006
- };
1007
- function Qn(e, t) {
1008
- return {}.hasOwnProperty.call(e, t);
1009
- }
1010
- function lt(e, t, r) {
1011
- if (Array.isArray(e)) {
1012
- var n = e[t];
1013
- return n ?? (Array.isArray(r) ? r[t] : r);
1014
- }
1015
- return e;
1016
- }
1017
- function jt(e, t) {
1018
- var r = {}.toString.call(e);
1019
- return r.indexOf("[object") === 0 && r.indexOf(t + "]") > -1;
1020
- }
1021
- function dr(e, t) {
1022
- return typeof e == "function" ? e.apply(void 0, t) : e;
1023
- }
1024
- function Ut(e, t) {
1025
- if (t === 0)
1026
- return e;
1027
- var r;
1028
- return function(n) {
1029
- clearTimeout(r), r = setTimeout(function() {
1030
- e(n);
1031
- }, t);
1032
- };
1033
- }
1034
- function ei(e, t) {
1035
- var r = Object.assign({}, e);
1036
- return t.forEach(function(n) {
1037
- delete r[n];
1038
- }), r;
1039
- }
1040
- function ti(e) {
1041
- return e.split(/\s+/).filter(Boolean);
1042
- }
1043
- function Te(e) {
1044
- return [].concat(e);
1045
- }
1046
- function _t(e, t) {
1047
- e.indexOf(t) === -1 && e.push(t);
1048
- }
1049
- function ri(e) {
1050
- return e.filter(function(t, r) {
1051
- return e.indexOf(t) === r;
1052
- });
1053
- }
1054
- function ni(e) {
1055
- return e.split("-")[0];
1056
- }
1057
- function at(e) {
1058
- return [].slice.call(e);
1059
- }
1060
- function qt(e) {
1061
- return Object.keys(e).reduce(function(t, r) {
1062
- return e[r] !== void 0 && (t[r] = e[r]), t;
1063
- }, {});
1064
- }
1065
- function Ie() {
1066
- return document.createElement("div");
1067
- }
1068
- function We(e) {
1069
- return ["Element", "Fragment"].some(function(t) {
1070
- return jt(e, t);
1071
- });
1072
- }
1073
- function ii(e) {
1074
- return jt(e, "NodeList");
1075
- }
1076
- function oi(e) {
1077
- return jt(e, "MouseEvent");
1078
- }
1079
- function ai(e) {
1080
- return !!(e && e._tippy && e._tippy.reference === e);
1081
- }
1082
- function si(e) {
1083
- return We(e) ? [e] : ii(e) ? at(e) : Array.isArray(e) ? e : at(document.querySelectorAll(e));
1084
- }
1085
- function dt(e, t) {
1086
- e.forEach(function(r) {
1087
- r && (r.style.transitionDuration = t + "ms");
1088
- });
1089
- }
1090
- function zt(e, t) {
1091
- e.forEach(function(r) {
1092
- r && r.setAttribute("data-state", t);
1093
- });
1094
- }
1095
- function ui(e) {
1096
- var t, r = Te(e), n = r[0];
1097
- return n != null && (t = n.ownerDocument) != null && t.body ? n.ownerDocument : document;
1098
- }
1099
- function ci(e, t) {
1100
- var r = t.clientX, n = t.clientY;
1101
- return e.every(function(o) {
1102
- var u = o.popperRect, f = o.popperState, c = o.props, s = c.interactiveBorder, d = ni(f.placement), p = f.modifiersData.offset;
1103
- if (!p)
1104
- return !0;
1105
- var g = d === "bottom" ? p.top.y : 0, w = d === "top" ? p.bottom.y : 0, m = d === "right" ? p.left.x : 0, O = d === "left" ? p.right.x : 0, b = u.top - n + g > s, y = n - u.bottom - w > s, x = u.left - r + m > s, D = r - u.right - O > s;
1106
- return b || y || x || D;
1107
- });
1108
- }
1109
- function vt(e, t, r) {
1110
- var n = t + "EventListener";
1111
- ["transitionend", "webkitTransitionEnd"].forEach(function(o) {
1112
- e[n](o, r);
1113
- });
1114
- }
1115
- function Xt(e, t) {
1116
- for (var r = t; r; ) {
1117
- var n;
1118
- if (e.contains(r))
1119
- return !0;
1120
- r = r.getRootNode == null || (n = r.getRootNode()) == null ? void 0 : n.host;
1121
- }
1122
- return !1;
1123
- }
1124
- var Q = {
1125
- isTouch: !1
1126
- }, Yt = 0;
1127
- function fi() {
1128
- Q.isTouch || (Q.isTouch = !0, window.performance && document.addEventListener("mousemove", vr));
1129
- }
1130
- function vr() {
1131
- var e = performance.now();
1132
- e - Yt < 20 && (Q.isTouch = !1, document.removeEventListener("mousemove", vr)), Yt = e;
1133
- }
1134
- function pi() {
1135
- var e = document.activeElement;
1136
- if (ai(e)) {
1137
- var t = e._tippy;
1138
- e.blur && !t.state.isVisible && e.blur();
1139
- }
1140
- }
1141
- function li() {
1142
- document.addEventListener("touchstart", fi, me), window.addEventListener("blur", pi);
1143
- }
1144
- var di = typeof window < "u" && typeof document < "u", vi = di ? (
1145
- // @ts-ignore
1146
- !!window.msCrypto
1147
- ) : !1;
1148
- function Ee(e) {
1149
- var t = e === "destroy" ? "n already-" : " ";
1150
- return [e + "() was called on a" + t + "destroyed instance. This is a no-op but", "indicates a potential memory leak."].join(" ");
1151
- }
1152
- function Gt(e) {
1153
- var t = /[ \t]{2,}/g, r = /^[ \t]*/gm;
1154
- return e.replace(t, " ").replace(r, "").trim();
1155
- }
1156
- function mi(e) {
1157
- return Gt(`
1158
- %ctippy.js
1159
-
1160
- %c` + Gt(e) + `
1161
-
1162
- %c👷‍ This is a development-only message. It will be removed in production.
1163
- `);
1164
- }
1165
- function mr(e) {
1166
- return [
1167
- mi(e),
1168
- // title
1169
- "color: #00C584; font-size: 1.3em; font-weight: bold;",
1170
- // message
1171
- "line-height: 1.5",
1172
- // footer
1173
- "color: #a6a095;"
1174
- ];
1175
- }
1176
- var He;
1177
- process.env.NODE_ENV !== "production" && hi();
1178
- function hi() {
1179
- He = /* @__PURE__ */ new Set();
1180
- }
1181
- function ae(e, t) {
1182
- if (e && !He.has(t)) {
1183
- var r;
1184
- He.add(t), (r = console).warn.apply(r, mr(t));
1185
- }
1186
- }
1187
- function bt(e, t) {
1188
- if (e && !He.has(t)) {
1189
- var r;
1190
- He.add(t), (r = console).error.apply(r, mr(t));
1191
- }
1192
- }
1193
- function gi(e) {
1194
- var t = !e, r = Object.prototype.toString.call(e) === "[object Object]" && !e.addEventListener;
1195
- bt(t, ["tippy() was passed", "`" + String(e) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), bt(r, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
1196
- }
1197
- var hr = {
1198
- animateFill: !1,
1199
- followCursor: !1,
1200
- inlinePositioning: !1,
1201
- sticky: !1
1202
- }, yi = {
1203
- allowHTML: !1,
1204
- animation: "fade",
1205
- arrow: !0,
1206
- content: "",
1207
- inertia: !1,
1208
- maxWidth: 350,
1209
- role: "tooltip",
1210
- theme: "",
1211
- zIndex: 9999
1212
- }, U = Object.assign({
1213
- appendTo: lr,
1214
- aria: {
1215
- content: "auto",
1216
- expanded: "auto"
1217
- },
1218
- delay: 0,
1219
- duration: [300, 250],
1220
- getReferenceClientRect: null,
1221
- hideOnClick: !0,
1222
- ignoreAttributes: !1,
1223
- interactive: !1,
1224
- interactiveBorder: 2,
1225
- interactiveDebounce: 0,
1226
- moveTransition: "",
1227
- offset: [0, 10],
1228
- onAfterUpdate: function() {
1229
- },
1230
- onBeforeUpdate: function() {
1231
- },
1232
- onCreate: function() {
1233
- },
1234
- onDestroy: function() {
1235
- },
1236
- onHidden: function() {
1237
- },
1238
- onHide: function() {
1239
- },
1240
- onMount: function() {
1241
- },
1242
- onShow: function() {
1243
- },
1244
- onShown: function() {
1245
- },
1246
- onTrigger: function() {
1247
- },
1248
- onUntrigger: function() {
1249
- },
1250
- onClickOutside: function() {
1251
- },
1252
- placement: "top",
1253
- plugins: [],
1254
- popperOptions: {},
1255
- render: null,
1256
- showOnCreate: !1,
1257
- touch: !0,
1258
- trigger: "mouseenter focus",
1259
- triggerTarget: null
1260
- }, hr, yi), bi = Object.keys(U), wi = function(t) {
1261
- process.env.NODE_ENV !== "production" && yr(t, []);
1262
- var r = Object.keys(t);
1263
- r.forEach(function(n) {
1264
- U[n] = t[n];
1265
- });
1266
- };
1267
- function gr(e) {
1268
- var t = e.plugins || [], r = t.reduce(function(n, o) {
1269
- var u = o.name, f = o.defaultValue;
1270
- if (u) {
1271
- var c;
1272
- n[u] = e[u] !== void 0 ? e[u] : (c = U[u]) != null ? c : f;
1273
- }
1274
- return n;
1275
- }, {});
1276
- return Object.assign({}, e, r);
1277
- }
1278
- function Oi(e, t) {
1279
- var r = t ? Object.keys(gr(Object.assign({}, U, {
1280
- plugins: t
1281
- }))) : bi, n = r.reduce(function(o, u) {
1282
- var f = (e.getAttribute("data-tippy-" + u) || "").trim();
1283
- if (!f)
1284
- return o;
1285
- if (u === "content")
1286
- o[u] = f;
1287
- else
1288
- try {
1289
- o[u] = JSON.parse(f);
1290
- } catch {
1291
- o[u] = f;
1292
- }
1293
- return o;
1294
- }, {});
1295
- return n;
1296
- }
1297
- function Kt(e, t) {
1298
- var r = Object.assign({}, t, {
1299
- content: dr(t.content, [e])
1300
- }, t.ignoreAttributes ? {} : Oi(e, t.plugins));
1301
- return r.aria = Object.assign({}, U.aria, r.aria), r.aria = {
1302
- expanded: r.aria.expanded === "auto" ? t.interactive : r.aria.expanded,
1303
- content: r.aria.content === "auto" ? t.interactive ? null : "describedby" : r.aria.content
1304
- }, r;
1305
- }
1306
- function yr(e, t) {
1307
- e === void 0 && (e = {}), t === void 0 && (t = []);
1308
- var r = Object.keys(e);
1309
- r.forEach(function(n) {
1310
- var o = ei(U, Object.keys(hr)), u = !Qn(o, n);
1311
- u && (u = t.filter(function(f) {
1312
- return f.name === n;
1313
- }).length === 0), ae(u, ["`" + n + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
1314
-
1315
- `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
1316
- `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
1317
- });
1318
- }
1319
- var xi = function() {
1320
- return "innerHTML";
1321
- };
1322
- function wt(e, t) {
1323
- e[xi()] = t;
1324
- }
1325
- function Jt(e) {
1326
- var t = Ie();
1327
- return e === !0 ? t.className = fr : (t.className = pr, We(e) ? t.appendChild(e) : wt(t, e)), t;
1328
- }
1329
- function Zt(e, t) {
1330
- We(t.content) ? (wt(e, ""), e.appendChild(t.content)) : typeof t.content != "function" && (t.allowHTML ? wt(e, t.content) : e.textContent = t.content);
1331
- }
1332
- function Ot(e) {
1333
- var t = e.firstElementChild, r = at(t.children);
1334
- return {
1335
- box: t,
1336
- content: r.find(function(n) {
1337
- return n.classList.contains(cr);
1338
- }),
1339
- arrow: r.find(function(n) {
1340
- return n.classList.contains(fr) || n.classList.contains(pr);
1341
- }),
1342
- backdrop: r.find(function(n) {
1343
- return n.classList.contains(Zn);
1344
- })
1345
- };
1346
- }
1347
- function br(e) {
1348
- var t = Ie(), r = Ie();
1349
- r.className = Jn, r.setAttribute("data-state", "hidden"), r.setAttribute("tabindex", "-1");
1350
- var n = Ie();
1351
- n.className = cr, n.setAttribute("data-state", "hidden"), Zt(n, e.props), t.appendChild(r), r.appendChild(n), o(e.props, e.props);
1352
- function o(u, f) {
1353
- var c = Ot(t), s = c.box, d = c.content, p = c.arrow;
1354
- f.theme ? s.setAttribute("data-theme", f.theme) : s.removeAttribute("data-theme"), typeof f.animation == "string" ? s.setAttribute("data-animation", f.animation) : s.removeAttribute("data-animation"), f.inertia ? s.setAttribute("data-inertia", "") : s.removeAttribute("data-inertia"), s.style.maxWidth = typeof f.maxWidth == "number" ? f.maxWidth + "px" : f.maxWidth, f.role ? s.setAttribute("role", f.role) : s.removeAttribute("role"), (u.content !== f.content || u.allowHTML !== f.allowHTML) && Zt(d, e.props), f.arrow ? p ? u.arrow !== f.arrow && (s.removeChild(p), s.appendChild(Jt(f.arrow))) : s.appendChild(Jt(f.arrow)) : p && s.removeChild(p);
1355
- }
1356
- return {
1357
- popper: t,
1358
- onUpdate: o
1359
- };
1360
- }
1361
- br.$$tippy = !0;
1362
- var Ei = 1, nt = [], mt = [];
1363
- function Ti(e, t) {
1364
- var r = Kt(e, Object.assign({}, U, gr(qt(t)))), n, o, u, f = !1, c = !1, s = !1, d = !1, p, g, w, m = [], O = Ut(qe, r.interactiveDebounce), b, y = Ei++, x = null, D = ri(r.plugins), S = {
1365
- // Is the instance currently enabled?
1366
- isEnabled: !0,
1367
- // Is the tippy currently showing and not transitioning out?
1368
- isVisible: !1,
1369
- // Has the instance been destroyed?
1370
- isDestroyed: !1,
1371
- // Is the tippy currently mounted to the DOM?
1372
- isMounted: !1,
1373
- // Has the tippy finished transitioning in?
1374
- isShown: !1
1375
- }, i = {
1376
- // properties
1377
- id: y,
1378
- reference: e,
1379
- popper: Ie(),
1380
- popperInstance: x,
1381
- props: r,
1382
- state: S,
1383
- plugins: D,
1384
- // methods
1385
- clearDelayTimeouts: Ke,
1386
- setProps: Je,
1387
- setContent: Ze,
1388
- show: wr,
1389
- hide: Or,
1390
- hideWithInteractivity: xr,
1391
- enable: Ne,
1392
- disable: Ge,
1393
- unmount: Er,
1394
- destroy: Tr
1395
- };
1396
- if (!r.render)
1397
- return process.env.NODE_ENV !== "production" && bt(!0, "render() function has not been supplied."), i;
1398
- var E = r.render(i), l = E.popper, T = E.onUpdate;
1399
- l.setAttribute("data-tippy-root", ""), l.id = "tippy-" + i.id, i.popper = l, e._tippy = i, l._tippy = i;
1400
- var j = D.map(function(a) {
1401
- return a.fn(i);
1402
- }), L = e.hasAttribute("aria-expanded");
1403
- return we(), J(), I(), k("onCreate", [i]), r.showOnCreate && Pe(), l.addEventListener("mouseenter", function() {
1404
- i.props.interactive && i.state.isVisible && i.clearDelayTimeouts();
1405
- }), l.addEventListener("mouseleave", function() {
1406
- i.props.interactive && i.props.trigger.indexOf("mouseenter") >= 0 && H().addEventListener("mousemove", O);
1407
- }), i;
1408
- function P() {
1409
- var a = i.props.touch;
1410
- return Array.isArray(a) ? a : [a, 0];
1411
- }
1412
- function R() {
1413
- return P()[0] === "hold";
1414
- }
1415
- function N() {
1416
- var a;
1417
- return !!((a = i.props.render) != null && a.$$tippy);
1418
- }
1419
- function M() {
1420
- return b || e;
1421
- }
1422
- function H() {
1423
- var a = M().parentNode;
1424
- return a ? ui(a) : document;
1425
- }
1426
- function F() {
1427
- return Ot(l);
1428
- }
1429
- function B(a) {
1430
- return i.state.isMounted && !i.state.isVisible || Q.isTouch || p && p.type === "focus" ? 0 : lt(i.props.delay, a ? 0 : 1, U.delay);
1431
- }
1432
- function I(a) {
1433
- a === void 0 && (a = !1), l.style.pointerEvents = i.props.interactive && !a ? "" : "none", l.style.zIndex = "" + i.props.zIndex;
1434
- }
1435
- function k(a, v, h) {
1436
- if (h === void 0 && (h = !0), j.forEach(function(A) {
1437
- A[a] && A[a].apply(A, v);
1438
- }), h) {
1439
- var C;
1440
- (C = i.props)[a].apply(C, v);
1441
- }
1442
- }
1443
- function K() {
1444
- var a = i.props.aria;
1445
- if (a.content) {
1446
- var v = "aria-" + a.content, h = l.id, C = Te(i.props.triggerTarget || e);
1447
- C.forEach(function(A) {
1448
- var V = A.getAttribute(v);
1449
- if (i.state.isVisible)
1450
- A.setAttribute(v, V ? V + " " + h : h);
1451
- else {
1452
- var q = V && V.replace(h, "").trim();
1453
- q ? A.setAttribute(v, q) : A.removeAttribute(v);
1454
- }
1455
- });
1456
- }
1457
- }
1458
- function J() {
1459
- if (!(L || !i.props.aria.expanded)) {
1460
- var a = Te(i.props.triggerTarget || e);
1461
- a.forEach(function(v) {
1462
- i.props.interactive ? v.setAttribute("aria-expanded", i.state.isVisible && v === M() ? "true" : "false") : v.removeAttribute("aria-expanded");
1463
- });
1464
- }
1465
- }
1466
- function pe() {
1467
- H().removeEventListener("mousemove", O), nt = nt.filter(function(a) {
1468
- return a !== O;
1469
- });
1470
- }
1471
- function Z(a) {
1472
- if (!(Q.isTouch && (s || a.type === "mousedown"))) {
1473
- var v = a.composedPath && a.composedPath()[0] || a.target;
1474
- if (!(i.props.interactive && Xt(l, v))) {
1475
- if (Te(i.props.triggerTarget || e).some(function(h) {
1476
- return Xt(h, v);
1477
- })) {
1478
- if (Q.isTouch || i.state.isVisible && i.props.trigger.indexOf("click") >= 0)
1479
- return;
1480
- } else
1481
- k("onClickOutside", [i, a]);
1482
- i.props.hideOnClick === !0 && (i.clearDelayTimeouts(), i.hide(), c = !0, setTimeout(function() {
1483
- c = !1;
1484
- }), i.state.isMounted || ne());
1485
- }
1486
- }
1487
- }
1488
- function le() {
1489
- s = !0;
1490
- }
1491
- function re() {
1492
- s = !1;
1493
- }
1494
- function G() {
1495
- var a = H();
1496
- a.addEventListener("mousedown", Z, !0), a.addEventListener("touchend", Z, me), a.addEventListener("touchstart", re, me), a.addEventListener("touchmove", le, me);
1497
- }
1498
- function ne() {
1499
- var a = H();
1500
- a.removeEventListener("mousedown", Z, !0), a.removeEventListener("touchend", Z, me), a.removeEventListener("touchstart", re, me), a.removeEventListener("touchmove", le, me);
1501
- }
1502
- function ye(a, v) {
1503
- be(a, function() {
1504
- !i.state.isVisible && l.parentNode && l.parentNode.contains(l) && v();
1505
- });
1506
- }
1507
- function ie(a, v) {
1508
- be(a, v);
1509
- }
1510
- function be(a, v) {
1511
- var h = F().box;
1512
- function C(A) {
1513
- A.target === h && (vt(h, "remove", C), v());
1514
- }
1515
- if (a === 0)
1516
- return v();
1517
- vt(h, "remove", g), vt(h, "add", C), g = C;
1518
- }
1519
- function ue(a, v, h) {
1520
- h === void 0 && (h = !1);
1521
- var C = Te(i.props.triggerTarget || e);
1522
- C.forEach(function(A) {
1523
- A.addEventListener(a, v, h), m.push({
1524
- node: A,
1525
- eventType: a,
1526
- handler: v,
1527
- options: h
1528
- });
1529
- });
1530
- }
1531
- function we() {
1532
- R() && (ue("touchstart", je, {
1533
- passive: !0
1534
- }), ue("touchend", ze, {
1535
- passive: !0
1536
- })), ti(i.props.trigger).forEach(function(a) {
1537
- if (a !== "manual")
1538
- switch (ue(a, je), a) {
1539
- case "mouseenter":
1540
- ue("mouseleave", ze);
1541
- break;
1542
- case "focus":
1543
- ue(vi ? "focusout" : "blur", Le);
1544
- break;
1545
- case "focusin":
1546
- ue("focusout", Le);
1547
- break;
1548
- }
1549
- });
1550
- }
1551
- function _e() {
1552
- m.forEach(function(a) {
1553
- var v = a.node, h = a.eventType, C = a.handler, A = a.options;
1554
- v.removeEventListener(h, C, A);
1555
- }), m = [];
1556
- }
1557
- function je(a) {
1558
- var v, h = !1;
1559
- if (!(!i.state.isEnabled || Me(a) || c)) {
1560
- var C = ((v = p) == null ? void 0 : v.type) === "focus";
1561
- p = a, b = a.currentTarget, J(), !i.state.isVisible && oi(a) && nt.forEach(function(A) {
1562
- return A(a);
1563
- }), a.type === "click" && (i.props.trigger.indexOf("mouseenter") < 0 || f) && i.props.hideOnClick !== !1 && i.state.isVisible ? h = !0 : Pe(a), a.type === "click" && (f = !h), h && !C && de(a);
1564
- }
1565
- }
1566
- function qe(a) {
1567
- var v = a.target, h = M().contains(v) || l.contains(v);
1568
- if (!(a.type === "mousemove" && h)) {
1569
- var C = ce().concat(l).map(function(A) {
1570
- var V, q = A._tippy, Oe = (V = q.popperInstance) == null ? void 0 : V.state;
1571
- return Oe ? {
1572
- popperRect: A.getBoundingClientRect(),
1573
- popperState: Oe,
1574
- props: r
1575
- } : null;
1576
- }).filter(Boolean);
1577
- ci(C, a) && (pe(), de(a));
1578
- }
1579
- }
1580
- function ze(a) {
1581
- var v = Me(a) || i.props.trigger.indexOf("click") >= 0 && f;
1582
- if (!v) {
1583
- if (i.props.interactive) {
1584
- i.hideWithInteractivity(a);
1585
- return;
1586
- }
1587
- de(a);
1588
- }
1589
- }
1590
- function Le(a) {
1591
- i.props.trigger.indexOf("focusin") < 0 && a.target !== M() || i.props.interactive && a.relatedTarget && l.contains(a.relatedTarget) || de(a);
1592
- }
1593
- function Me(a) {
1594
- return Q.isTouch ? R() !== a.type.indexOf("touch") >= 0 : !1;
1595
- }
1596
- function Xe() {
1597
- Ye();
1598
- var a = i.props, v = a.popperOptions, h = a.placement, C = a.offset, A = a.getReferenceClientRect, V = a.moveTransition, q = N() ? Ot(l).arrow : null, Oe = A ? {
1599
- getBoundingClientRect: A,
1600
- contextElement: A.contextElement || M()
1601
- } : e, Lt = {
1602
- name: "$$tippy",
1603
- enabled: !0,
1604
- phase: "beforeWrite",
1605
- requires: ["computeStyles"],
1606
- fn: function(Qe) {
1607
- var xe = Qe.state;
1608
- if (N()) {
1609
- var Ar = F(), ft = Ar.box;
1610
- ["placement", "reference-hidden", "escaped"].forEach(function(et) {
1611
- et === "placement" ? ft.setAttribute("data-placement", xe.placement) : xe.attributes.popper["data-popper-" + et] ? ft.setAttribute("data-" + et, "") : ft.removeAttribute("data-" + et);
1612
- }), xe.attributes.popper = {};
1613
- }
1614
- }
1615
- }, ve = [{
1616
- name: "offset",
1617
- options: {
1618
- offset: C
1619
- }
1620
- }, {
1621
- name: "preventOverflow",
1622
- options: {
1623
- padding: {
1624
- top: 2,
1625
- bottom: 2,
1626
- left: 5,
1627
- right: 5
1628
- }
1629
- }
1630
- }, {
1631
- name: "flip",
1632
- options: {
1633
- padding: 5
1634
- }
1635
- }, {
1636
- name: "computeStyles",
1637
- options: {
1638
- adaptive: !V
1639
- }
1640
- }, Lt];
1641
- N() && q && ve.push({
1642
- name: "arrow",
1643
- options: {
1644
- element: q,
1645
- padding: 3
1646
- }
1647
- }), ve.push.apply(ve, (v == null ? void 0 : v.modifiers) || []), i.popperInstance = Kn(Oe, l, Object.assign({}, v, {
1648
- placement: h,
1649
- onFirstUpdate: w,
1650
- modifiers: ve
1651
- }));
1652
- }
1653
- function Ye() {
1654
- i.popperInstance && (i.popperInstance.destroy(), i.popperInstance = null);
1655
- }
1656
- function oe() {
1657
- var a = i.props.appendTo, v, h = M();
1658
- i.props.interactive && a === lr || a === "parent" ? v = h.parentNode : v = dr(a, [h]), v.contains(l) || v.appendChild(l), i.state.isMounted = !0, Xe(), process.env.NODE_ENV !== "production" && ae(i.props.interactive && a === U.appendTo && h.nextElementSibling !== l, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
1659
-
1660
- `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
1661
-
1662
- `, "Specifying `appendTo: document.body` silences this warning, but it", "assumes you are using a focus management solution to handle", "keyboard navigation.", `
1663
-
1664
- `, "See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "));
1665
- }
1666
- function ce() {
1667
- return at(l.querySelectorAll("[data-tippy-root]"));
1668
- }
1669
- function Pe(a) {
1670
- i.clearDelayTimeouts(), a && k("onTrigger", [i, a]), G();
1671
- var v = B(!0), h = P(), C = h[0], A = h[1];
1672
- Q.isTouch && C === "hold" && A && (v = A), v ? n = setTimeout(function() {
1673
- i.show();
1674
- }, v) : i.show();
1675
- }
1676
- function de(a) {
1677
- if (i.clearDelayTimeouts(), k("onUntrigger", [i, a]), !i.state.isVisible) {
1678
- ne();
1679
- return;
1680
- }
1681
- if (!(i.props.trigger.indexOf("mouseenter") >= 0 && i.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(a.type) >= 0 && f)) {
1682
- var v = B(!1);
1683
- v ? o = setTimeout(function() {
1684
- i.state.isVisible && i.hide();
1685
- }, v) : u = requestAnimationFrame(function() {
1686
- i.hide();
1687
- });
1688
- }
1689
- }
1690
- function Ne() {
1691
- i.state.isEnabled = !0;
1692
- }
1693
- function Ge() {
1694
- i.hide(), i.state.isEnabled = !1;
1695
- }
1696
- function Ke() {
1697
- clearTimeout(n), clearTimeout(o), cancelAnimationFrame(u);
1698
- }
1699
- function Je(a) {
1700
- if (process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ee("setProps")), !i.state.isDestroyed) {
1701
- k("onBeforeUpdate", [i, a]), _e();
1702
- var v = i.props, h = Kt(e, Object.assign({}, v, qt(a), {
1703
- ignoreAttributes: !0
1704
- }));
1705
- i.props = h, we(), v.interactiveDebounce !== h.interactiveDebounce && (pe(), O = Ut(qe, h.interactiveDebounce)), v.triggerTarget && !h.triggerTarget ? Te(v.triggerTarget).forEach(function(C) {
1706
- C.removeAttribute("aria-expanded");
1707
- }) : h.triggerTarget && e.removeAttribute("aria-expanded"), J(), I(), T && T(v, h), i.popperInstance && (Xe(), ce().forEach(function(C) {
1708
- requestAnimationFrame(C._tippy.popperInstance.forceUpdate);
1709
- })), k("onAfterUpdate", [i, a]);
1710
- }
1711
- }
1712
- function Ze(a) {
1713
- i.setProps({
1714
- content: a
1715
- });
1716
- }
1717
- function wr() {
1718
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ee("show"));
1719
- var a = i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, C = Q.isTouch && !i.props.touch, A = lt(i.props.duration, 0, U.duration);
1720
- if (!(a || v || h || C) && !M().hasAttribute("disabled") && (k("onShow", [i], !1), i.props.onShow(i) !== !1)) {
1721
- if (i.state.isVisible = !0, N() && (l.style.visibility = "visible"), I(), G(), i.state.isMounted || (l.style.transition = "none"), N()) {
1722
- var V = F(), q = V.box, Oe = V.content;
1723
- dt([q, Oe], 0);
1724
- }
1725
- w = function() {
1726
- var ve;
1727
- if (!(!i.state.isVisible || d)) {
1728
- if (d = !0, l.offsetHeight, l.style.transition = i.props.moveTransition, N() && i.props.animation) {
1729
- var ct = F(), Qe = ct.box, xe = ct.content;
1730
- dt([Qe, xe], A), zt([Qe, xe], "visible");
1731
- }
1732
- K(), J(), _t(mt, i), (ve = i.popperInstance) == null || ve.forceUpdate(), k("onMount", [i]), i.props.animation && N() && ie(A, function() {
1733
- i.state.isShown = !0, k("onShown", [i]);
1734
- });
1735
- }
1736
- }, oe();
1737
- }
1738
- }
1739
- function Or() {
1740
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ee("hide"));
1741
- var a = !i.state.isVisible, v = i.state.isDestroyed, h = !i.state.isEnabled, C = lt(i.props.duration, 1, U.duration);
1742
- if (!(a || v || h) && (k("onHide", [i], !1), i.props.onHide(i) !== !1)) {
1743
- if (i.state.isVisible = !1, i.state.isShown = !1, d = !1, f = !1, N() && (l.style.visibility = "hidden"), pe(), ne(), I(!0), N()) {
1744
- var A = F(), V = A.box, q = A.content;
1745
- i.props.animation && (dt([V, q], C), zt([V, q], "hidden"));
1746
- }
1747
- K(), J(), i.props.animation ? N() && ye(C, i.unmount) : i.unmount();
1748
- }
1749
- }
1750
- function xr(a) {
1751
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ee("hideWithInteractivity")), H().addEventListener("mousemove", O), _t(nt, O), O(a);
1752
- }
1753
- function Er() {
1754
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ee("unmount")), i.state.isVisible && i.hide(), i.state.isMounted && (Ye(), ce().forEach(function(a) {
1755
- a._tippy.unmount();
1756
- }), l.parentNode && l.parentNode.removeChild(l), mt = mt.filter(function(a) {
1757
- return a !== i;
1758
- }), i.state.isMounted = !1, k("onHidden", [i]));
1759
- }
1760
- function Tr() {
1761
- process.env.NODE_ENV !== "production" && ae(i.state.isDestroyed, Ee("destroy")), !i.state.isDestroyed && (i.clearDelayTimeouts(), i.unmount(), _e(), delete e._tippy, i.state.isDestroyed = !0, k("onDestroy", [i]));
1762
- }
1763
- }
1764
- function ut(e, t) {
1765
- t === void 0 && (t = {});
1766
- var r = U.plugins.concat(t.plugins || []);
1767
- process.env.NODE_ENV !== "production" && (gi(e), yr(t, r)), li();
1768
- var n = Object.assign({}, t, {
1769
- plugins: r
1770
- }), o = si(e);
1771
- if (process.env.NODE_ENV !== "production") {
1772
- var u = We(n.content), f = o.length > 1;
1773
- ae(u && f, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
1774
-
1775
- `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
1776
-
1777
- `, `1) content: element.innerHTML
1778
- `, "2) content: () => element.cloneNode(true)"].join(" "));
1779
- }
1780
- var c = o.reduce(function(s, d) {
1781
- var p = d && Ti(d, n);
1782
- return p && s.push(p), s;
1783
- }, []);
1784
- return We(e) ? c[0] : c;
1785
- }
1786
- ut.defaultProps = U;
1787
- ut.setDefaultProps = wi;
1788
- ut.currentInput = Q;
1789
- Object.assign({}, tr, {
1790
- effect: function(t) {
1791
- var r = t.state, n = {
1792
- popper: {
1793
- position: r.options.strategy,
1794
- left: "0",
1795
- top: "0",
1796
- margin: "0"
1797
- },
1798
- arrow: {
1799
- position: "absolute"
1800
- },
1801
- reference: {}
1802
- };
1803
- Object.assign(r.elements.popper.style, n.popper), r.styles = n, r.elements.arrow && Object.assign(r.elements.arrow.style, n.arrow);
1804
- }
1805
- });
1806
- ut.setDefaultProps({
1807
- render: br
1808
- });
1809
- export {
1810
- Ci as d,
1811
- Di as p,
1812
- ut as t
1813
- };