@jackuait/blok 0.10.0-beta.4 → 0.10.0-beta.6

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 (355) hide show
  1. package/dist/blok.mjs +3 -3
  2. package/dist/chunks/{blok-D_0qAdUd.mjs → blok-BdlR_lX6.mjs} +2073 -2034
  3. package/dist/chunks/chunk-Byubey_H.mjs +20 -0
  4. package/dist/chunks/{constants-DxSXr7kd.mjs → constants-Cp8O0UfP.mjs} +524 -550
  5. package/dist/chunks/default-DIfXCS2E.mjs +4 -0
  6. package/dist/chunks/{i18next-G6FKbZqA.mjs → i18next-KNC_XV5x.mjs} +1 -1
  7. package/dist/chunks/{i18next-loader-CwNimni3.mjs → i18next-loader-oDO9ZKUV.mjs} +2 -2
  8. package/dist/chunks/katex-NjLaA6AJ.mjs +22026 -0
  9. package/dist/chunks/{lightweight-i18n-DWCdzAw0.mjs → lightweight-i18n-DTySD6f6.mjs} +16 -18
  10. package/dist/chunks/mdast-util-math-yS0EygZV.mjs +151 -0
  11. package/dist/{messages-DVQNjdPk.mjs → chunks/messages-5ArOv8cj.mjs} +3 -17
  12. package/dist/chunks/{messages-Czny5pPT2.mjs → messages-876bKyUj2.mjs} +3 -17
  13. package/dist/{messages-JhoVMjfX2.mjs → chunks/messages-9l49jauY.mjs} +3 -17
  14. package/dist/{messages-D3cAcyzj.mjs → chunks/messages-B5aAzExz.mjs} +3 -17
  15. package/dist/chunks/{messages-CmrMwBv3.mjs → messages-B5fKJXd6.mjs} +3 -17
  16. package/dist/chunks/{messages-DBpXyvRe2.mjs → messages-B9N__q552.mjs} +3 -17
  17. package/dist/{messages-CVcQD-9u.mjs → chunks/messages-BAP2OAQk.mjs} +3 -17
  18. package/dist/chunks/{messages-R2W_rGOo2.mjs → messages-BDXl53cy2.mjs} +3 -17
  19. package/dist/{messages-CM5fsPo02.mjs → chunks/messages-BGCQCeWd.mjs} +3 -17
  20. package/dist/{messages-DtrSrdfE2.mjs → chunks/messages-BHhbHLoq.mjs} +3 -17
  21. package/dist/{messages-C6Y4Jv2N.mjs → chunks/messages-BMq9k_lI.mjs} +3 -17
  22. package/dist/{messages-DjJQoYvP2.mjs → chunks/messages-BXSXk3oS2.mjs} +3 -17
  23. package/dist/{messages-pgPcitDH.mjs → chunks/messages-BXn9Vzbx2.mjs} +3 -17
  24. package/dist/chunks/{messages-DR09nkcZ.mjs → messages-BaoJwsEZ.mjs} +3 -17
  25. package/dist/{messages-CdlsTFB1.mjs → chunks/messages-BbfLRqLh2.mjs} +3 -17
  26. package/dist/{messages-BvgTQLf72.mjs → chunks/messages-BhcYsC_M2.mjs} +3 -17
  27. package/dist/chunks/{messages-Cdx4QMR1.mjs → messages-BlO_37l_.mjs} +3 -17
  28. package/dist/{messages--S8_taOd2.mjs → chunks/messages-BlcRm2I3.mjs} +3 -17
  29. package/dist/{messages-DbxbxUiK2.mjs → chunks/messages-Btr121zI2.mjs} +3 -17
  30. package/dist/chunks/{messages-p4byLfvR.mjs → messages-BxBID_0B.mjs} +3 -17
  31. package/dist/chunks/{messages-Cs9XBt4T.mjs → messages-ByAqzAhB.mjs} +3 -17
  32. package/dist/chunks/{messages-JQKFJo7C.mjs → messages-C-jA6Rf7.mjs} +3 -17
  33. package/dist/{messages-BAcH6PtT2.mjs → chunks/messages-C5aCWL7B.mjs} +3 -17
  34. package/dist/{messages-BCG_evLg.mjs → chunks/messages-CF_PfacZ.mjs} +3 -17
  35. package/dist/{messages-B-4fku2H2.mjs → chunks/messages-CKRJDX0K2.mjs} +3 -17
  36. package/dist/chunks/{messages-CrMfiGu5.mjs → messages-CL3mCbi6.mjs} +3 -17
  37. package/dist/chunks/{messages-BnznaKEP2.mjs → messages-CNEJxD8q2.mjs} +3 -17
  38. package/dist/{messages-hTpeKUaW.mjs → chunks/messages-CZ5Sbf8U.mjs} +3 -17
  39. package/dist/chunks/{messages-CljStrYi.mjs → messages-CcyIKgGU.mjs} +3 -17
  40. package/dist/{messages-Dcyrzdxa2.mjs → chunks/messages-CdzF0Hvl.mjs} +3 -17
  41. package/dist/chunks/{messages-IDEUsFhQ2.mjs → messages-CgedvWCf.mjs} +3 -17
  42. package/dist/chunks/{messages-CmXADeab2.mjs → messages-CjVPwkVy.mjs} +3 -17
  43. package/dist/chunks/{messages-wLSVQbsA2.mjs → messages-CnQydQJd2.mjs} +3 -17
  44. package/dist/chunks/{messages-BS1nOvZ-.mjs → messages-CqgEz7C5.mjs} +3 -17
  45. package/dist/{messages-BCuTVHBV.mjs → chunks/messages-CvlMT1e62.mjs} +3 -17
  46. package/dist/{messages-CYX48nfg.mjs → chunks/messages-CyxDkx8a.mjs} +3 -17
  47. package/dist/chunks/{messages-ClRHDxzh.mjs → messages-D7n_wJK7.mjs} +3 -17
  48. package/dist/chunks/{messages-Dplnp19q.mjs → messages-D8-N0FmU.mjs} +3 -17
  49. package/dist/chunks/{messages-DAVsuDWh2.mjs → messages-D8dKkyII2.mjs} +3 -17
  50. package/dist/chunks/{messages-B3s2vra72.mjs → messages-DGD6BiGd.mjs} +3 -17
  51. package/dist/chunks/{messages-DHCVA7XQ.mjs → messages-DJO0ERQT.mjs} +3 -17
  52. package/dist/chunks/{messages-B7MIRzCa2.mjs → messages-DMyRdafk2.mjs} +3 -17
  53. package/dist/chunks/{messages-C-b6tPad2.mjs → messages-DN-194c32.mjs} +3 -17
  54. package/dist/chunks/{messages-BW_7lfqG2.mjs → messages-DQ5ng0_t2.mjs} +3 -17
  55. package/dist/{messages-DUBHHfEt.mjs → chunks/messages-DRv4g-IA.mjs} +3 -17
  56. package/dist/chunks/{messages-xfjdrZmx.mjs → messages-DSO2U-ul.mjs} +3 -17
  57. package/dist/{messages-CgzbJ8_l2.mjs → chunks/messages-DUGEqDEG.mjs} +3 -17
  58. package/dist/{messages-DA-o8X3A.mjs → chunks/messages-DVKifYlq.mjs} +3 -17
  59. package/dist/{messages-tsHpMdDT2.mjs → chunks/messages-DWD0ry9x.mjs} +3 -17
  60. package/dist/{messages-Dddxv8-f2.mjs → chunks/messages-DYizZHT2.mjs} +3 -17
  61. package/dist/chunks/{messages-Csvm4mtA.mjs → messages-DZwCufSb.mjs} +3 -17
  62. package/dist/{messages-BJ7BuFZi.mjs → chunks/messages-DdmWzF5M.mjs} +3 -17
  63. package/dist/{messages-Bo_FUvVH.mjs → chunks/messages-DgEGJECT.mjs} +3 -17
  64. package/dist/chunks/{messages-Bpda_3PM2.mjs → messages-Dgng6KN8.mjs} +3 -17
  65. package/dist/{messages-CBzd_x7H.mjs → chunks/messages-DkTxBa1V.mjs} +3 -17
  66. package/dist/{messages-Bio7KYsr2.mjs → chunks/messages-DnJHflSh.mjs} +3 -17
  67. package/dist/{messages-CjmSrt1D.mjs → chunks/messages-DopbvJlg.mjs} +3 -17
  68. package/dist/{messages-DIRha_gg2.mjs → chunks/messages-Dux1S0-D2.mjs} +3 -17
  69. package/dist/chunks/{messages-1Raf1IK82.mjs → messages-Dw2rmKMi2.mjs} +3 -17
  70. package/dist/chunks/{messages-D5IgUbBD2.mjs → messages-Dz3UhEco2.mjs} +3 -17
  71. package/dist/{messages-C6OJvnJg2.mjs → chunks/messages-FYl9woii2.mjs} +3 -17
  72. package/dist/{messages-BBvDbp62.mjs → chunks/messages-Jps5Tc77.mjs} +3 -17
  73. package/dist/chunks/{messages-Dfpi8pDY.mjs → messages-NJsvFwJj.mjs} +3 -17
  74. package/dist/chunks/{messages-DPykxECP2.mjs → messages-SSDr5fGF2.mjs} +3 -17
  75. package/dist/{messages-BXI3qIos.mjs → chunks/messages-bmwto4UV.mjs} +3 -17
  76. package/dist/{messages-CBdQ3XP9.mjs → chunks/messages-vN4T4r67.mjs} +3 -17
  77. package/dist/{messages-tK67CBqn.mjs → chunks/messages-yszqJukE.mjs} +3 -17
  78. package/dist/chunks/micromark-extension-math-CCEGWpdz.mjs +169 -0
  79. package/dist/chunks/micromark-factory-space-WwmyBO_J.mjs +36 -0
  80. package/dist/chunks/{notifier-Butv4Dvo.mjs → notifier-BOwxj_Ok.mjs} +1 -1
  81. package/dist/chunks/{objectSpread2-BY4mgzrQ.mjs → objectSpread2-CWwMYL_U.mjs} +1 -1
  82. package/dist/chunks/{tools-DVZ3zU40.mjs → tools-DGOsJbHH.mjs} +1816 -2916
  83. package/dist/full.mjs +14 -14
  84. package/dist/locales.mjs +82 -84
  85. package/dist/markdown.mjs +3962 -0
  86. package/dist/{messages-DqyqEw1_.mjs → messages--cUQf9JX.mjs} +3 -17
  87. package/dist/{messages-BtxaN-xx.mjs → messages-12_eyAo-.mjs} +3 -17
  88. package/dist/{chunks/messages-LxumrNue2.mjs → messages-B3Yhiycb2.mjs} +3 -17
  89. package/dist/{chunks/messages-Cqc-6rfh2.mjs → messages-B4lhNMKm2.mjs} +3 -17
  90. package/dist/{chunks/messages-B0ffBqzr.mjs → messages-BOE2mzCj2.mjs} +3 -17
  91. package/dist/{chunks/messages-BaPZuLjN.mjs → messages-BPL7riv-.mjs} +3 -17
  92. package/dist/{messages-DD5pW0zJ.mjs → messages-BYQ769S5.mjs} +3 -17
  93. package/dist/{chunks/messages-C11byid72.mjs → messages-B_sKqaeK.mjs} +3 -17
  94. package/dist/{messages-BmNaAyKS.mjs → messages-Bdk4ocMI.mjs} +3 -17
  95. package/dist/{chunks/messages-6mikOS4D2.mjs → messages-BeI2HORe2.mjs} +3 -17
  96. package/dist/{chunks/messages-u2yxkNTE2.mjs → messages-Bug6Du35.mjs} +3 -17
  97. package/dist/{messages-eTourT12.mjs → messages-C2veeQpU.mjs} +3 -17
  98. package/dist/{messages-BokEflKa.mjs → messages-C5Uufygq.mjs} +3 -17
  99. package/dist/{chunks/messages-BPog17132.mjs → messages-C8f1I5EQ2.mjs} +3 -17
  100. package/dist/{chunks/messages-ID1PHnMv.mjs → messages-CBPiFbEf2.mjs} +3 -17
  101. package/dist/{messages-DZEcrbmH.mjs → messages-CByBLxWk.mjs} +3 -17
  102. package/dist/{chunks/messages-BgVEGd4c.mjs → messages-CD8K1g_t2.mjs} +3 -17
  103. package/dist/{messages-Dkg99bfr2.mjs → messages-CEEzfqMO2.mjs} +3 -17
  104. package/dist/{messages-DV9e1DW7.mjs → messages-CNNcKuGH.mjs} +3 -17
  105. package/dist/{messages-C30Vz-UZ2.mjs → messages-CSl0Wla62.mjs} +3 -17
  106. package/dist/{messages-fLi0P2dP.mjs → messages-CUzBNjnc.mjs} +3 -17
  107. package/dist/{chunks/messages-DJA6fb_P2.mjs → messages-CWEL1WDy2.mjs} +3 -17
  108. package/dist/{messages-BcFQFcJ92.mjs → messages-C_HmWyXc2.mjs} +3 -17
  109. package/dist/{chunks/messages-CpzO7KRA.mjs → messages-Cb3wXGnc.mjs} +3 -17
  110. package/dist/{messages-C5XPUD9T2.mjs → messages-Cd23UgLV2.mjs} +3 -17
  111. package/dist/{chunks/messages-DSjXen8E.mjs → messages-Cg1CF4pw.mjs} +3 -17
  112. package/dist/{messages-i4S6q64n2.mjs → messages-CgEDVri-2.mjs} +3 -17
  113. package/dist/{messages-CHJ5SOZI.mjs → messages-ChTWmxS8.mjs} +3 -17
  114. package/dist/{messages-BVKZK-3t.mjs → messages-Cho2VTAX.mjs} +3 -17
  115. package/dist/{chunks/messages-d0Ky6QjR.mjs → messages-CkySRhtd2.mjs} +3 -17
  116. package/dist/{chunks/messages-C1OqT_nL.mjs → messages-Clsh86WQ.mjs} +3 -17
  117. package/dist/{chunks/messages-BrFl5773.mjs → messages-CsiGzUSP2.mjs} +3 -17
  118. package/dist/{messages-BKjqW08U.mjs → messages-Cv-DKlZd.mjs} +3 -17
  119. package/dist/{messages-BGsDZTQp2.mjs → messages-CvvbLyTy2.mjs} +3 -17
  120. package/dist/{chunks/messages-DA7Zk-Cy.mjs → messages-CwCEcbWG.mjs} +3 -17
  121. package/dist/{chunks/messages-DQ5AyNCU.mjs → messages-D38h5XlF.mjs} +3 -17
  122. package/dist/{chunks/messages-DC7TX-YT.mjs → messages-D7juvhHp.mjs} +3 -17
  123. package/dist/{chunks/messages-BdnSVKOw.mjs → messages-D8WvwU42.mjs} +3 -17
  124. package/dist/{chunks/messages-Df87zXXG.mjs → messages-DACg1XAu.mjs} +3 -17
  125. package/dist/{messages-BBq0M604.mjs → messages-DIKCwGog.mjs} +3 -17
  126. package/dist/{messages-Ccd587Yn.mjs → messages-DJU4YLij.mjs} +3 -17
  127. package/dist/{chunks/messages-Dm4YVlrm.mjs → messages-DQN1y6E9.mjs} +3 -17
  128. package/dist/{messages-CqkRG9mH.mjs → messages-DRU_IgoW.mjs} +3 -17
  129. package/dist/{chunks/messages-DT7fRpCy.mjs → messages-DbZsJAff.mjs} +3 -17
  130. package/dist/{messages-upqrRZQH2.mjs → messages-Dg2CDXZi2.mjs} +3 -17
  131. package/dist/{messages-DJKLtW7u.mjs → messages-Dj79y02X.mjs} +3 -17
  132. package/dist/{chunks/messages-Ct7AMBS82.mjs → messages-DjWfVYHS2.mjs} +3 -17
  133. package/dist/{chunks/messages-B2pW6jO_.mjs → messages-DkvQ-6HC2.mjs} +3 -17
  134. package/dist/{chunks/messages-ZJ0b1C3a.mjs → messages-DnhEzmXJ2.mjs} +3 -17
  135. package/dist/{chunks/messages-BgsPQXfP.mjs → messages-DqJTZbwt.mjs} +3 -17
  136. package/dist/{chunks/messages-DUDgFEEe2.mjs → messages-Dq_v7slw2.mjs} +3 -17
  137. package/dist/{chunks/messages-CyNsByCY.mjs → messages-En8LDjUB.mjs} +3 -17
  138. package/dist/{chunks/messages-FHrCEJmY2.mjs → messages-JK9Okzsy2.mjs} +3 -17
  139. package/dist/{messages-DnatBKPm.mjs → messages-KSxF8eib.mjs} +3 -17
  140. package/dist/{chunks/messages-DD7BI6BK.mjs → messages-KbYSpNrE.mjs} +3 -17
  141. package/dist/{messages-BvgXeMSL2.mjs → messages-KqWQKmIu2.mjs} +3 -17
  142. package/dist/{messages-BSe3QDnQ.mjs → messages-PvMdmlxI.mjs} +3 -17
  143. package/dist/{chunks/messages-DJkIeapn.mjs → messages-So3SHdIc2.mjs} +3 -17
  144. package/dist/{messages-BywbKcPC.mjs → messages-X80Nh0ib.mjs} +3 -17
  145. package/dist/{messages-DOTJ2NvJ.mjs → messages-hrSlVSHp.mjs} +3 -17
  146. package/dist/{messages-DJT4Bt_02.mjs → messages-mipkPgwQ2.mjs} +3 -17
  147. package/dist/{messages-xEI8gEDK.mjs → messages-nOe1gJYu.mjs} +3 -17
  148. package/dist/{messages-Bk984gRE2.mjs → messages-rbox5gSb2.mjs} +3 -17
  149. package/dist/{chunks/messages-CgRvtOEY.mjs → messages-uCsQjz7M.mjs} +3 -17
  150. package/dist/{chunks/messages-BbdNugdi.mjs → messages-vcoib5Ga.mjs} +3 -17
  151. package/dist/{chunks/messages-CvfKofOP.mjs → messages-vptt-pVF.mjs} +3 -17
  152. package/dist/{chunks/messages-BkCjgGxc.mjs → messages-x353UCBI.mjs} +3 -17
  153. package/dist/react.mjs +3 -3
  154. package/dist/tools.mjs +3 -3
  155. package/dist/vendor.LICENSE.txt +1622 -182
  156. package/package.json +15 -2
  157. package/src/components/blocks.ts +26 -1
  158. package/src/components/i18n/locales/am/messages.json +3 -17
  159. package/src/components/i18n/locales/ar/messages.json +3 -17
  160. package/src/components/i18n/locales/az/messages.json +3 -17
  161. package/src/components/i18n/locales/bg/messages.json +3 -17
  162. package/src/components/i18n/locales/bn/messages.json +3 -17
  163. package/src/components/i18n/locales/bs/messages.json +3 -17
  164. package/src/components/i18n/locales/cs/messages.json +3 -17
  165. package/src/components/i18n/locales/da/messages.json +3 -17
  166. package/src/components/i18n/locales/de/messages.json +3 -17
  167. package/src/components/i18n/locales/dv/messages.json +3 -17
  168. package/src/components/i18n/locales/el/messages.json +3 -17
  169. package/src/components/i18n/locales/en/messages.json +15 -17
  170. package/src/components/i18n/locales/es/messages.json +3 -17
  171. package/src/components/i18n/locales/et/messages.json +3 -17
  172. package/src/components/i18n/locales/fa/messages.json +3 -17
  173. package/src/components/i18n/locales/fi/messages.json +3 -17
  174. package/src/components/i18n/locales/fil/messages.json +3 -17
  175. package/src/components/i18n/locales/fr/messages.json +3 -17
  176. package/src/components/i18n/locales/gu/messages.json +3 -17
  177. package/src/components/i18n/locales/he/messages.json +3 -17
  178. package/src/components/i18n/locales/hi/messages.json +3 -17
  179. package/src/components/i18n/locales/hr/messages.json +3 -17
  180. package/src/components/i18n/locales/hu/messages.json +3 -17
  181. package/src/components/i18n/locales/hy/messages.json +3 -17
  182. package/src/components/i18n/locales/id/messages.json +3 -17
  183. package/src/components/i18n/locales/it/messages.json +3 -17
  184. package/src/components/i18n/locales/ja/messages.json +3 -17
  185. package/src/components/i18n/locales/ka/messages.json +3 -17
  186. package/src/components/i18n/locales/km/messages.json +3 -17
  187. package/src/components/i18n/locales/kn/messages.json +3 -17
  188. package/src/components/i18n/locales/ko/messages.json +3 -17
  189. package/src/components/i18n/locales/ku/messages.json +3 -17
  190. package/src/components/i18n/locales/lo/messages.json +3 -17
  191. package/src/components/i18n/locales/lt/messages.json +3 -17
  192. package/src/components/i18n/locales/lv/messages.json +3 -17
  193. package/src/components/i18n/locales/mk/messages.json +3 -17
  194. package/src/components/i18n/locales/ml/messages.json +3 -17
  195. package/src/components/i18n/locales/mn/messages.json +3 -17
  196. package/src/components/i18n/locales/mr/messages.json +3 -17
  197. package/src/components/i18n/locales/ms/messages.json +3 -17
  198. package/src/components/i18n/locales/my/messages.json +3 -17
  199. package/src/components/i18n/locales/ne/messages.json +3 -17
  200. package/src/components/i18n/locales/nl/messages.json +3 -17
  201. package/src/components/i18n/locales/no/messages.json +3 -17
  202. package/src/components/i18n/locales/pa/messages.json +3 -17
  203. package/src/components/i18n/locales/pl/messages.json +3 -17
  204. package/src/components/i18n/locales/ps/messages.json +3 -17
  205. package/src/components/i18n/locales/pt/messages.json +3 -17
  206. package/src/components/i18n/locales/ro/messages.json +3 -17
  207. package/src/components/i18n/locales/ru/messages.json +3 -17
  208. package/src/components/i18n/locales/sd/messages.json +3 -17
  209. package/src/components/i18n/locales/si/messages.json +3 -17
  210. package/src/components/i18n/locales/sk/messages.json +3 -17
  211. package/src/components/i18n/locales/sl/messages.json +3 -17
  212. package/src/components/i18n/locales/sq/messages.json +3 -17
  213. package/src/components/i18n/locales/sr/messages.json +3 -17
  214. package/src/components/i18n/locales/sv/messages.json +3 -17
  215. package/src/components/i18n/locales/sw/messages.json +3 -17
  216. package/src/components/i18n/locales/ta/messages.json +3 -17
  217. package/src/components/i18n/locales/te/messages.json +3 -17
  218. package/src/components/i18n/locales/th/messages.json +3 -17
  219. package/src/components/i18n/locales/tr/messages.json +3 -17
  220. package/src/components/i18n/locales/ug/messages.json +3 -17
  221. package/src/components/i18n/locales/uk/messages.json +3 -17
  222. package/src/components/i18n/locales/ur/messages.json +3 -17
  223. package/src/components/i18n/locales/vi/messages.json +3 -17
  224. package/src/components/i18n/locales/yi/messages.json +3 -17
  225. package/src/components/i18n/locales/zh/messages.json +3 -17
  226. package/src/components/icons/index.ts +30 -56
  227. package/src/components/inline-tools/inline-tool-code.ts +399 -0
  228. package/src/components/modules/api/blocks.ts +17 -0
  229. package/src/components/modules/api/tools.ts +0 -19
  230. package/src/components/modules/blockEvents/composers/blockSelectionKeys.ts +20 -3
  231. package/src/components/modules/blockEvents/composers/keyboardNavigation.ts +5 -5
  232. package/src/components/modules/blockManager/blockManager.ts +0 -11
  233. package/src/components/modules/blockManager/event-binder.ts +1 -12
  234. package/src/components/modules/paste/handlers/html-handler.ts +13 -10
  235. package/src/components/modules/paste/handlers/index.ts +1 -0
  236. package/src/components/modules/paste/index.ts +6 -0
  237. package/src/components/modules/themeManager.ts +1 -3
  238. package/src/components/modules/toolbar/blockSettings.ts +1 -0
  239. package/src/components/modules/toolbar/inline/index.ts +3 -0
  240. package/src/components/modules/uiControllers/controllers/keyboard.ts +0 -29
  241. package/src/components/modules/uiControllers/controllers/selection.ts +2 -14
  242. package/src/components/ui/toolbox.ts +1 -0
  243. package/src/components/utils/popover/popover-position.ts +2 -4
  244. package/src/markdown/index.ts +63 -0
  245. package/src/markdown/markdown-handler.ts +110 -0
  246. package/src/markdown/mdast-to-blocks.ts +418 -0
  247. package/src/markdown/phrasing-to-html.ts +60 -0
  248. package/src/markdown/types.ts +42 -0
  249. package/src/styles/main.css +0 -1139
  250. package/src/tools/callout/index.ts +24 -0
  251. package/src/tools/code/code-keyboard.ts +135 -0
  252. package/src/tools/code/constants.ts +73 -0
  253. package/src/tools/code/dom-builder.ts +146 -0
  254. package/src/tools/code/index.ts +322 -0
  255. package/src/tools/code/katex-loader.ts +50 -0
  256. package/src/tools/code/language-picker.ts +241 -0
  257. package/src/tools/divider/index.ts +9 -1
  258. package/src/tools/index.ts +4 -2
  259. package/src/tools/list/block-operations.ts +3 -1
  260. package/src/tools/list/depth-validator.ts +4 -7
  261. package/src/tools/list/dom-builder.ts +5 -3
  262. package/src/tools/list/index.ts +21 -3
  263. package/src/tools/list/list-helpers.ts +9 -2
  264. package/src/tools/list/list-keyboard.ts +56 -14
  265. package/src/tools/list/list-lifecycle.ts +3 -1
  266. package/src/tools/list/marker-calculator.ts +37 -0
  267. package/src/tools/list/ordered-marker-manager.ts +4 -2
  268. package/src/tools/table/index.ts +2 -2
  269. package/src/tools/table/table-cell-clipboard.ts +1 -1
  270. package/types/api/tools.d.ts +0 -18
  271. package/types/markdown.d.ts +2 -0
  272. package/types/tools/code.d.ts +11 -0
  273. package/src/tools/database/database-backend-sync.ts +0 -101
  274. package/src/tools/database/database-board-view.ts +0 -301
  275. package/src/tools/database/database-card-drag.ts +0 -306
  276. package/src/tools/database/database-card-drawer.ts +0 -546
  277. package/src/tools/database/database-column-controls.ts +0 -46
  278. package/src/tools/database/database-column-drag.ts +0 -262
  279. package/src/tools/database/database-keyboard.ts +0 -35
  280. package/src/tools/database/database-list-row-drag.ts +0 -245
  281. package/src/tools/database/database-list-view.ts +0 -333
  282. package/src/tools/database/database-model.ts +0 -246
  283. package/src/tools/database/database-property-type-popover.ts +0 -108
  284. package/src/tools/database/database-tab-bar.ts +0 -532
  285. package/src/tools/database/database-view-popover.ts +0 -109
  286. package/src/tools/database/database-view-renderer.ts +0 -25
  287. package/src/tools/database/index.ts +0 -948
  288. package/src/tools/database/types.ts +0 -144
  289. /package/dist/chunks/{am-CHDDMHkd.mjs → am-CS-JjQ0N.mjs} +0 -0
  290. /package/dist/chunks/{ar-DoqfNqut.mjs → ar-Dt4XzR5U.mjs} +0 -0
  291. /package/dist/chunks/{az-C34P9iEa.mjs → az-CaDTXby8.mjs} +0 -0
  292. /package/dist/chunks/{bg-jroXLY8Y.mjs → bg-D1pLog-R.mjs} +0 -0
  293. /package/dist/chunks/{bn-BRI-WqxY.mjs → bn-Db_ae60m.mjs} +0 -0
  294. /package/dist/chunks/{bs-CCGUpNHu.mjs → bs-DJTg1R9e.mjs} +0 -0
  295. /package/dist/chunks/{cs-D5qZOGuc.mjs → cs-_Gc21gSL.mjs} +0 -0
  296. /package/dist/chunks/{da-DrJ7W37K.mjs → da-xDB8uhCd.mjs} +0 -0
  297. /package/dist/chunks/{de-BW6-kp2c.mjs → de-B6gVjh1Z.mjs} +0 -0
  298. /package/dist/chunks/{el-C-Vc_Otu.mjs → el-ClbRSnOs.mjs} +0 -0
  299. /package/dist/chunks/{es-B6fI5K9i.mjs → es-CuY9rnLK.mjs} +0 -0
  300. /package/dist/chunks/{et-BhVlZ-Yz.mjs → et-BLu5lDVc.mjs} +0 -0
  301. /package/dist/chunks/{fa-D55Ijdqa.mjs → fa-P3gnrZH8.mjs} +0 -0
  302. /package/dist/chunks/{fi-jNLjhKUQ.mjs → fi-B8PVHLjq.mjs} +0 -0
  303. /package/dist/chunks/{fil-DYd0T5aX.mjs → fil-B9JII5iF.mjs} +0 -0
  304. /package/dist/chunks/{fr-yxy5xWw_.mjs → fr-BWLDZdcc.mjs} +0 -0
  305. /package/dist/chunks/{gu-CcY_LJe7.mjs → gu-BH3R_s4c.mjs} +0 -0
  306. /package/dist/chunks/{he-DL9s7wNw.mjs → he-CCmeCVR_.mjs} +0 -0
  307. /package/dist/chunks/{hi-C8eGXgw5.mjs → hi-BBav00DN.mjs} +0 -0
  308. /package/dist/chunks/{hr-DLpybOhU.mjs → hr-B5ZX0r9G.mjs} +0 -0
  309. /package/dist/chunks/{hu-BkT0gT00.mjs → hu-1jgDa3YU.mjs} +0 -0
  310. /package/dist/chunks/{hy-CVFDCp2S.mjs → hy-LX4Kp2PE.mjs} +0 -0
  311. /package/dist/chunks/{id-0P4W9Az0.mjs → id-CcG40D1H.mjs} +0 -0
  312. /package/dist/chunks/{it-mLY6_uoW.mjs → it-Cb8_K72W.mjs} +0 -0
  313. /package/dist/chunks/{ja-7RkeRNWG.mjs → ja-ipCH91mv.mjs} +0 -0
  314. /package/dist/chunks/{ka-C7Lx-Qsh.mjs → ka-BRvREIgq.mjs} +0 -0
  315. /package/dist/chunks/{km-Q8udaraH.mjs → km-BJwVw7Fg.mjs} +0 -0
  316. /package/dist/chunks/{kn-BiETM-iq.mjs → kn-BPgUazCC.mjs} +0 -0
  317. /package/dist/chunks/{ko-tiB80pF1.mjs → ko-CQLzxe7k.mjs} +0 -0
  318. /package/dist/chunks/{ku-CY-OABkR.mjs → ku-BHhHu8Iz.mjs} +0 -0
  319. /package/dist/chunks/{lo-CTBhEnyk.mjs → lo-DsTgYblY.mjs} +0 -0
  320. /package/dist/chunks/{lt-BHKHEtqK.mjs → lt-CDzHJm71.mjs} +0 -0
  321. /package/dist/chunks/{lv-DWxgtfUg.mjs → lv-MLLIAnIX.mjs} +0 -0
  322. /package/dist/chunks/{mk-BjookGdx.mjs → mk-DQdmUquZ.mjs} +0 -0
  323. /package/dist/chunks/{ml-L-NnZcp9.mjs → ml-DqehZnra.mjs} +0 -0
  324. /package/dist/chunks/{mn-OMWi7Hl_.mjs → mn-4cFkKFjW.mjs} +0 -0
  325. /package/dist/chunks/{mr-B6JPzITo.mjs → mr-DWiztOP4.mjs} +0 -0
  326. /package/dist/chunks/{ms-CG3S-sPB.mjs → ms-BSz-iSnc.mjs} +0 -0
  327. /package/dist/chunks/{my-BLAmGfhT.mjs → my-DbtbM1MW.mjs} +0 -0
  328. /package/dist/chunks/{native-BPcABu9z.mjs → native-CzYG0YgY.mjs} +0 -0
  329. /package/dist/chunks/{ne-D1JHLfYw.mjs → ne-CqALWw_f.mjs} +0 -0
  330. /package/dist/chunks/{nl-Ca7Q8FnY.mjs → nl-D_ra6RvH.mjs} +0 -0
  331. /package/dist/chunks/{no-Coxcohcz.mjs → no-Cg_kz_jl.mjs} +0 -0
  332. /package/dist/chunks/{pa-CCaXqpaI.mjs → pa-NLAsNqwY.mjs} +0 -0
  333. /package/dist/chunks/{pl-Cl_fAZ84.mjs → pl-NHKp4YDg.mjs} +0 -0
  334. /package/dist/chunks/{ps-WD5qGAWy.mjs → ps-D1zEqNeg.mjs} +0 -0
  335. /package/dist/chunks/{pt-C4zvLfvq.mjs → pt-DBtqbUEB.mjs} +0 -0
  336. /package/dist/chunks/{ro-DbefHcmM.mjs → ro-lqr63ai5.mjs} +0 -0
  337. /package/dist/chunks/{ru-uU1J14jd.mjs → ru-BycNnDyN.mjs} +0 -0
  338. /package/dist/chunks/{sd-DKu368Ip.mjs → sd-DpHpIN9Z.mjs} +0 -0
  339. /package/dist/chunks/{si-BsJCiPkZ.mjs → si-BwiwaC7N.mjs} +0 -0
  340. /package/dist/chunks/{sk-CD-a3SN6.mjs → sk-CqRHT2Gp.mjs} +0 -0
  341. /package/dist/chunks/{sl-CXhrPJe_.mjs → sl-DA348uQ_.mjs} +0 -0
  342. /package/dist/chunks/{sq-CTctCoFQ.mjs → sq-D7JNgve1.mjs} +0 -0
  343. /package/dist/chunks/{sr-BZkhBwXj.mjs → sr-D8RK6Kwp.mjs} +0 -0
  344. /package/dist/chunks/{sv-NmRZb_xi.mjs → sv-dwgT67ZG.mjs} +0 -0
  345. /package/dist/chunks/{sw-Be5ik3H6.mjs → sw-ZRRJnkem.mjs} +0 -0
  346. /package/dist/chunks/{ta-DsXh6neL.mjs → ta-5x4L5Krl.mjs} +0 -0
  347. /package/dist/chunks/{te-CwpCbM8M.mjs → te-BZpEimwA.mjs} +0 -0
  348. /package/dist/chunks/{th-CcZ15OLk.mjs → th-Bhr-33kv.mjs} +0 -0
  349. /package/dist/chunks/{tr-q3bTgvhW.mjs → tr-6tSNKGNB.mjs} +0 -0
  350. /package/dist/chunks/{tw-DmW6-pCY.mjs → tw-CqxBf-1Y.mjs} +0 -0
  351. /package/dist/chunks/{ug-919EhLsL.mjs → ug-_e-jvr2b.mjs} +0 -0
  352. /package/dist/chunks/{uk-aNMEzd0Y.mjs → uk-DooSc2Ja.mjs} +0 -0
  353. /package/dist/chunks/{ur-BwQI77sh.mjs → ur-rb-krkIO.mjs} +0 -0
  354. /package/dist/chunks/{vi-Dxq806-F.mjs → vi-CQkLn2AQ.mjs} +0 -0
  355. /package/dist/chunks/{zh-BcHuy1Ti.mjs → zh-CXQ40Q2_.mjs} +0 -0
@@ -1,16 +1,8 @@
1
- import { t as e } from "./objectSpread2-BY4mgzrQ.mjs";
2
- import { n as t, t as n } from "./tw-DmW6-pCY.mjs";
3
- //#region \0rolldown/runtime.js
4
- var r = Object.create, i = Object.defineProperty, a = Object.getOwnPropertyDescriptor, o = Object.getOwnPropertyNames, s = Object.getPrototypeOf, c = Object.prototype.hasOwnProperty, l = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), u = (e, t, n, r) => {
5
- if (t && typeof t == "object" || typeof t == "function") for (var s = o(t), l = 0, u = s.length, d; l < u; l++) d = s[l], !c.call(e, d) && d !== n && i(e, d, {
6
- get: ((e) => t[e]).bind(null, d),
7
- enumerable: !(r = a(t, d)) || r.enumerable
8
- });
9
- return e;
10
- }, d = (e, t, n) => (n = e == null ? {} : r(s(e)), u(t || !e || !e.__esModule ? i(n, "default", {
11
- value: e,
12
- enumerable: !0
13
- }) : n, e)), f = {
1
+ import { r as e, t } from "./chunk-Byubey_H.mjs";
2
+ import { t as n } from "./objectSpread2-CWwMYL_U.mjs";
3
+ import { n as r, t as i } from "./tw-CqxBf-1Y.mjs";
4
+ //#region src/components/constants/data-attributes.ts
5
+ var a = {
14
6
  interface: "data-blok-interface",
15
7
  element: "data-blok-element",
16
8
  elementContent: "data-blok-element-content",
@@ -105,7 +97,7 @@ var r = Object.create, i = Object.defineProperty, a = Object.getOwnPropertyDescr
105
97
  slashSearch: "data-blok-slash-search",
106
98
  testid: "data-blok-testid",
107
99
  forceHover: "data-blok-force-hover"
108
- }, p = (e, t) => t === void 0 ? `[${e}]` : `[${e}="${t}"]`, m = {
100
+ }, o = (e, t) => t === void 0 ? `[${e}]` : `[${e}="${t}"]`, s = {
109
101
  BACKSPACE: 8,
110
102
  TAB: 9,
111
103
  ENTER: 13,
@@ -132,15 +124,15 @@ var r = Object.create, i = Object.defineProperty, a = Object.getOwnPropertyDescr
132
124
  BRACKET_KEY_MAX: 223,
133
125
  PROCESSING_KEY: 229,
134
126
  SLASH: 191
135
- }, h = {
127
+ }, c = {
136
128
  LEFT: 0,
137
129
  WHEEL: 1,
138
130
  RIGHT: 2,
139
131
  BACKWARD: 3,
140
132
  FORWARD: 4
141
- }, g = () => "0.10.0-beta.4", _ = /* @__PURE__ */ function(e) {
133
+ }, l = () => "0.10.0-beta.6", u = /* @__PURE__ */ function(e) {
142
134
  return e.VERBOSE = "VERBOSE", e.INFO = "INFO", e.WARN = "WARN", e.ERROR = "ERROR", e;
143
- }({}), v = (e, t, n = "log", r, i = "color: inherit") => {
135
+ }({}), d = (e, t, n = "log", r, i = "color: inherit") => {
144
136
  let a = typeof console > "u" ? void 0 : console;
145
137
  if (!a || typeof a[n] != "function") return;
146
138
  let o = [
@@ -149,40 +141,40 @@ var r = Object.create, i = Object.defineProperty, a = Object.getOwnPropertyDescr
149
141
  "warn",
150
142
  "error"
151
143
  ].includes(n), s = [];
152
- switch (v.logLevel) {
153
- case _.VERBOSE: break;
154
- case _.ERROR:
144
+ switch (d.logLevel) {
145
+ case u.VERBOSE: break;
146
+ case u.ERROR:
155
147
  if (n !== "error") return;
156
148
  break;
157
- case _.WARN:
149
+ case u.WARN:
158
150
  if (!["error", "warn"].includes(n)) return;
159
151
  break;
160
- case _.INFO:
152
+ case u.INFO:
161
153
  if (!o || e) return;
162
154
  break;
163
155
  }
164
156
  r && s.push(r);
165
- let c = `Blok ${g()}`, l = e ? o ? (s.unshift("line-height: 1em;\n color: #006FEA;\n display: inline-block;\n font-size: 11px;\n line-height: 1em;\n background-color: #fff;\n padding: 4px 9px;\n border-radius: 30px;\n border: 1px solid rgba(56, 138, 229, 0.16);\n margin: 4px 5px 4px 0;", i), `%c${c}%c ${t}`) : `( ${c} )${t}` : t, u = o ? r === void 0 ? [l, ...s] : [`${l} %o`, ...s] : [l];
157
+ let c = `Blok ${l()}`, f = e ? o ? (s.unshift("line-height: 1em;\n color: #006FEA;\n display: inline-block;\n font-size: 11px;\n line-height: 1em;\n background-color: #fff;\n padding: 4px 9px;\n border-radius: 30px;\n border: 1px solid rgba(56, 138, 229, 0.16);\n margin: 4px 5px 4px 0;", i), `%c${c}%c ${t}`) : `( ${c} )${t}` : t, p = o ? r === void 0 ? [f, ...s] : [`${f} %o`, ...s] : [f];
166
158
  try {
167
- a[n](...u);
159
+ a[n](...p);
168
160
  } catch (e) {}
169
161
  };
170
- v.logLevel = _.VERBOSE;
171
- var ee = (e) => {
172
- v.logLevel = e;
173
- }, y = (e, t = "log", n, r) => {
174
- v(!1, e, t, n, r);
175
- }, te = (e, t = "log", n, r) => {
176
- v(!0, e, t, n, r);
177
- }, b = (e) => typeof e == "function", x = (e) => {
162
+ d.logLevel = u.VERBOSE;
163
+ var f = (e) => {
164
+ d.logLevel = e;
165
+ }, p = (e, t = "log", n, r) => {
166
+ d(!1, e, t, n, r);
167
+ }, m = (e, t = "log", n, r) => {
168
+ d(!0, e, t, n, r);
169
+ }, h = (e) => typeof e == "function", g = (e) => {
178
170
  if (typeof e != "object" || !e) return !1;
179
171
  let t = Object.getPrototypeOf(e);
180
172
  return t === null || t === Object.prototype;
181
- }, S = (e) => typeof e == "string", ne = (e) => typeof e == "boolean", re = (e) => typeof e == "number", ie = function(e) {
173
+ }, _ = (e) => typeof e == "string", v = (e) => typeof e == "boolean", y = (e) => typeof e == "number", ee = function(e) {
182
174
  return e === void 0;
183
- }, C = (e) => e == null ? !0 : typeof e == "string" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, ae = (e, t) => function(...n) {
175
+ }, b = (e) => e == null ? !0 : typeof e == "string" || Array.isArray(e) ? e.length === 0 : e instanceof Map || e instanceof Set ? e.size === 0 : typeof e == "object" ? Object.keys(e).length === 0 : !1, x = (e, t) => function(...n) {
184
176
  setTimeout(() => e.apply(this, n), t);
185
- }, oe = (e, t, n) => {
177
+ }, te = (e, t, n) => {
186
178
  let r = { timeoutId: null };
187
179
  return function(...i) {
188
180
  let a = () => {
@@ -190,7 +182,7 @@ var ee = (e) => {
190
182
  }, o = n === !0 && r.timeoutId === null;
191
183
  r.timeoutId !== null && clearTimeout(r.timeoutId), r.timeoutId = setTimeout(a, t), o && e.apply(this, i);
192
184
  };
193
- }, se = (e, t, n) => {
185
+ }, ne = (e, t, n) => {
194
186
  let r = (n == null ? void 0 : n.leading) !== !1, i = (n == null ? void 0 : n.trailing) !== !1, a = {
195
187
  lastCallTime: void 0,
196
188
  lastInvokeTime: 0,
@@ -221,79 +213,79 @@ var ee = (e) => {
221
213
  let n = Date.now(), i = c(n);
222
214
  if (a.lastArgs = e, a.lastThis = this, a.lastCallTime = n, i && a.timerId === void 0) return a.lastInvokeTime = n, a.timerId = setTimeout(l, t), r ? o(n) : void 0;
223
215
  };
224
- }, w = (() => {
216
+ }, S = (() => {
225
217
  try {
226
218
  return Function("return this")();
227
219
  } catch (e) {
228
220
  return;
229
221
  }
230
222
  })();
231
- w && w.window === void 0 && (w.window = w);
232
- var T = () => {
233
- if (w != null && w.window) return w.window;
234
- }, ce = () => {
235
- if (w != null && w.navigator) return w.navigator;
236
- let e = T();
223
+ S && S.window === void 0 && (S.window = S);
224
+ var C = () => {
225
+ if (S != null && S.window) return S.window;
226
+ }, re = () => {
227
+ if (S != null && S.navigator) return S.navigator;
228
+ let e = C();
237
229
  return e == null ? void 0 : e.navigator;
238
- }, le = (e) => /^[-\w]+\/([-+\w]+|\*)$/.test(e), ue = () => {
230
+ }, ie = (e) => /^[-\w]+\/([-+\w]+|\*)$/.test(e), ae = () => {
239
231
  var e, t;
240
232
  let n = {
241
233
  win: !1,
242
234
  mac: !1,
243
235
  x11: !1,
244
236
  linux: !1
245
- }, r = ce(), i = (e = r == null || (t = r.userAgent) == null ? void 0 : t.toLowerCase()) == null ? "" : e, a = i ? Object.keys(n).find((e) => i.indexOf(e) !== -1) : void 0;
237
+ }, r = re(), i = (e = r == null || (t = r.userAgent) == null ? void 0 : t.toLowerCase()) == null ? "" : e, a = i ? Object.keys(n).find((e) => i.indexOf(e) !== -1) : void 0;
246
238
  return a === void 0 || (n[a] = !0), n;
247
- }, de = () => {
248
- let e = T();
239
+ }, oe = () => {
240
+ let e = C();
249
241
  return !e || typeof e.matchMedia != "function" ? !1 : e.matchMedia("(max-width: 650px)").matches;
250
- }, fe = (() => {
242
+ }, se = (() => {
251
243
  var e;
252
- let t = ce();
244
+ let t = re();
253
245
  if (!t) return !1;
254
246
  let n = t.userAgent || "", r = t.userAgentData, i = r == null ? void 0 : r.platform;
255
247
  if (/iP(ad|hone|od)/.test(n) || i !== void 0 && i !== "" && /iP(ad|hone|od)/.test(i)) return !0;
256
248
  let a = ((e = t.maxTouchPoints) == null ? 0 : e) > 1, o = () => t.platform, s = i !== void 0 && i !== "" ? i : void 0;
257
249
  return (a ? s == null ? o() : s : void 0) === "MacIntel";
258
- })(), pe = (e) => {
250
+ })(), ce = (e) => {
259
251
  try {
260
252
  return new URL(e).href;
261
253
  } catch (e) {}
262
- let t = T();
254
+ let t = C();
263
255
  return e.substring(0, 2) === "//" ? t ? `${t.location.protocol}${e}` : e : t ? `${t.location.origin}${e}` : e;
264
- }, me = (e) => {
265
- let t = T();
256
+ }, le = (e) => {
257
+ let t = C();
266
258
  t && t.open(e, "_blank");
267
- }, he = (e) => e && e.slice(0, 1).toUpperCase() + e.slice(1), ge = (e) => {
268
- let t = ue(), n = e.replace(/shift/gi, "⇧").replace(/backspace/gi, "⌫").replace(/enter/gi, "⏎").replace(/up/gi, "↑").replace(/left/gi, "→").replace(/down/gi, "↓").replace(/right/gi, "←").replace(/escape/gi, "⎋").replace(/insert/gi, "Ins").replace(/delete/gi, "␡").replace(/\+/gi, " + ");
259
+ }, ue = (e) => e && e.slice(0, 1).toUpperCase() + e.slice(1), de = (e) => {
260
+ let t = ae(), n = e.replace(/shift/gi, "⇧").replace(/backspace/gi, "⌫").replace(/enter/gi, "⏎").replace(/up/gi, "↑").replace(/left/gi, "→").replace(/down/gi, "↓").replace(/right/gi, "←").replace(/escape/gi, "⎋").replace(/insert/gi, "Ins").replace(/delete/gi, "␡").replace(/\+/gi, " + ");
269
261
  return t.mac ? n.replace(/ctrl|cmd/gi, "⌘").replace(/alt/gi, "⌥") : n.replace(/cmd/gi, "Ctrl").replace(/windows/gi, "WIN");
270
- }, _e = (t, n) => {
271
- let r = e({}, t);
272
- return Object.keys(n).forEach((e) => {
273
- let t = r[e], i = n[e];
262
+ }, fe = (e, t) => {
263
+ let r = n({}, e);
264
+ return Object.keys(t).forEach((e) => {
265
+ let n = r[e], i = t[e];
274
266
  if (i !== void 0) {
275
- if (x(i) && x(t) && !Array.isArray(i)) {
276
- r[e] = _e(t, i);
267
+ if (g(i) && g(n) && !Array.isArray(i)) {
268
+ r[e] = fe(n, i);
277
269
  return;
278
270
  }
279
271
  r[e] = i;
280
272
  }
281
273
  }), r;
282
- }, E = (e, ...t) => {
283
- if (!x(e) || t.length === 0) return e;
284
- let n = t.reduce((e, t) => x(t) ? _e(e, t) : e, e);
274
+ }, w = (e, ...t) => {
275
+ if (!g(e) || t.length === 0) return e;
276
+ let n = t.reduce((e, t) => g(t) ? fe(e, t) : e, e);
285
277
  return Object.assign(e, n), e;
286
- }, ve = (e, t) => e.length === t.length ? e.every((e, n) => D(e, t[n])) : !1, D = (e, t) => {
278
+ }, pe = (e, t) => e.length === t.length ? e.every((e, n) => T(e, t[n])) : !1, T = (e, t) => {
287
279
  if (e === t) return !0;
288
280
  if (e === null || t === null || typeof e != "object" || typeof t != "object" || Array.isArray(e) !== Array.isArray(t)) return !1;
289
- if (Array.isArray(e) && Array.isArray(t)) return ve(e, t);
281
+ if (Array.isArray(e) && Array.isArray(t)) return pe(e, t);
290
282
  let n = Object.keys(e), r = Object.keys(t);
291
- return n.length === r.length ? n.every((n) => Object.prototype.hasOwnProperty.call(t, n) && D(e[n], t[n])) : !1;
292
- }, ye = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", be = (e = 21) => {
283
+ return n.length === r.length ? n.every((n) => Object.prototype.hasOwnProperty.call(t, n) && T(e[n], t[n])) : !1;
284
+ }, me = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", he = (e = 21) => {
293
285
  let t = "", n = crypto.getRandomValues(new Uint8Array(e |= 0));
294
- for (; e--;) t += ye[n[e] & 63];
286
+ for (; e--;) t += me[n[e] & 63];
295
287
  return t;
296
- }, xe = 1e8, Se = 16, Ce = () => be(10), we = (e = "") => `${e}${Math.floor(Math.random() * xe).toString(Se)}`, O = class e {
288
+ }, ge = 1e8, _e = 16, ve = () => he(10), ye = (e = "") => `${e}${Math.floor(Math.random() * ge).toString(_e)}`, E = class e {
297
289
  static isSingleTag(e) {
298
290
  return !!e.tagName && [
299
291
  "AREA",
@@ -404,10 +396,10 @@ var T = () => {
404
396
  return l ? this.getDeepestNode(l, n) : s.parentNode;
405
397
  }
406
398
  static isElement(e) {
407
- return re(e) ? !1 : typeof e == "object" && !!e && "nodeType" in e && e.nodeType === Node.ELEMENT_NODE;
399
+ return y(e) ? !1 : typeof e == "object" && !!e && "nodeType" in e && e.nodeType === Node.ELEMENT_NODE;
408
400
  }
409
401
  static isFragment(e) {
410
- return re(e) ? !1 : typeof e == "object" && !!e && "nodeType" in e && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
402
+ return y(e) ? !1 : typeof e == "object" && !!e && "nodeType" in e && e.nodeType === Node.DOCUMENT_FRAGMENT_NODE;
411
403
  }
412
404
  static isContentEditable(e) {
413
405
  return e.contentEditable === "true";
@@ -459,7 +451,7 @@ var T = () => {
459
451
  return /* @__PURE__ */ "address.article.aside.blockquote.canvas.div.dl.dt.fieldset.figcaption.figure.footer.form.h1.h2.h3.h4.h5.h6.header.hgroup.hr.li.main.nav.noscript.ol.output.p.pre.ruby.section.table.tbody.thead.tr.tfoot.ul.video".split(".");
460
452
  }
461
453
  static containsOnlyInlineElements(t) {
462
- let n = S(t) ? (() => {
454
+ let n = _(t) ? (() => {
463
455
  let e = document.createElement("div");
464
456
  return e.innerHTML = t, e;
465
457
  })() : t, r = (t) => !e.blockElements.includes(t.tagName.toLowerCase()) && Array.from(t.children).every(r);
@@ -469,7 +461,7 @@ var T = () => {
469
461
  return e.containsOnlyInlineElements(t) ? [t] : Array.from(t.children).reduce((t, n) => [...t, ...e.getDeepestBlockElements(n)], []);
470
462
  }
471
463
  static getHolder(e) {
472
- if (!S(e)) return e;
464
+ if (!_(e)) return e;
473
465
  let t = document.getElementById(e);
474
466
  if (t !== null) return t;
475
467
  throw Error(`Element with id "${e}" not found`);
@@ -519,32 +511,32 @@ var T = () => {
519
511
  offset: a
520
512
  };
521
513
  }
522
- }, Te = (e) => !/[^\t\n\r \u200B]/.test(e), Ee = (e) => {
523
- e.setAttribute("data-blok-empty", O.isEmpty(e) ? "true" : "false");
524
- }, De = ["header", "table"], k = /* @__PURE__ */ new Map(), Oe = (e) => {
514
+ }, be = (e) => !/[^\t\n\r \u200B]/.test(e), xe = (e) => {
515
+ e.setAttribute("data-blok-empty", E.isEmpty(e) ? "true" : "false");
516
+ }, Se = ["header", "table"], D = /* @__PURE__ */ new Map(), Ce = (e) => {
525
517
  let t = [...new Set(e)];
526
518
  for (let e of t) {
527
519
  var n;
528
- let t = (n = k.get(e)) == null ? 0 : n;
529
- k.set(e, t + 1);
520
+ let t = (n = D.get(e)) == null ? 0 : n;
521
+ D.set(e, t + 1);
530
522
  }
531
523
  let r = { cleanedUp: !1 };
532
524
  return () => {
533
525
  if (!r.cleanedUp) {
534
526
  r.cleanedUp = !0;
535
527
  for (let e of t) {
536
- let t = k.get(e);
537
- t !== void 0 && (t <= 1 ? k.delete(e) : k.set(e, t - 1));
528
+ let t = D.get(e);
529
+ t !== void 0 && (t <= 1 ? D.delete(e) : D.set(e, t - 1));
538
530
  }
539
531
  }
540
532
  };
541
- }, ke = () => [...De, ...k.keys()], Ae = (e) => e ? (e instanceof HTMLElement ? e : e.holder).closest("[data-blok-table-cell-blocks]") !== null : !1, je = (e) => De.includes(e) || k.has(e), Me = class {
533
+ }, we = () => [...Se, ...D.keys()], Te = (e) => e ? (e instanceof HTMLElement ? e : e.holder).closest("[data-blok-table-cell-blocks]") !== null : !1, Ee = (e) => Se.includes(e) || D.has(e), De = class {
542
534
  constructor() {
543
535
  this.allListeners = [];
544
536
  }
545
537
  on(e, t, n, r = !1) {
546
538
  if (this.findOne(e, t, n, r)) return;
547
- let i = we("l"), a = {
539
+ let i = ye("l"), a = {
548
540
  id: i,
549
541
  element: e,
550
542
  eventType: t,
@@ -619,60 +611,60 @@ var T = () => {
619
611
  let n = this.normalizeListenerOptions(e), r = this.normalizeListenerOptions(t);
620
612
  return n.capture === r.capture && n.once === r.once && n.passive === r.passive && n.signal === r.signal;
621
613
  }
622
- }, A = (e, t) => {
614
+ }, O = (e, t) => {
623
615
  if (!e.conversionConfig) return !1;
624
616
  let n = e.conversionConfig[t];
625
- return b(n) || S(n);
626
- }, j = (e, t) => {
617
+ return h(n) || _(n);
618
+ }, k = (e, t) => {
627
619
  let n = t.includes(".") ? t : `toolNames.${t}`;
628
620
  return e.has(n) ? e.t(n) : void 0;
629
- }, Ne = (e, t, n = "") => {
630
- let r = t.titleKey ? j(e, t.titleKey) : void 0;
621
+ }, Oe = (e, t, n = "") => {
622
+ let r = t.titleKey ? k(e, t.titleKey) : void 0;
631
623
  if (r !== void 0) return r;
632
- let i = t.title ? j(e, t.title) : void 0;
624
+ let i = t.title ? k(e, t.title) : void 0;
633
625
  if (i !== void 0) return i;
634
626
  if (t.title) return t.title;
635
- let a = n ? j(e, n) : void 0;
627
+ let a = n ? k(e, n) : void 0;
636
628
  return a == null ? n : a;
637
- }, Pe = (e, t, n) => {
638
- let r = t ? j(e, t) : void 0;
629
+ }, ke = (e, t, n) => {
630
+ let r = t ? k(e, t) : void 0;
639
631
  if (r !== void 0) return r;
640
- let i = j(e, n);
632
+ let i = k(e, n);
641
633
  return i == null ? n : i;
642
- }, Fe = (e, t) => A(e.tool, t), Ie = (e, t) => Object.entries(e).some((([e, n]) => t[e] && D(t[e], n))), Le = async (t, n) => {
643
- let r = (await t.save()).data, i = n.find((e) => e.name === t.name);
644
- return i !== void 0 && !A(i, "export") ? [] : n.reduce((n, i) => {
645
- if (!A(i, "import") || i.toolbox === void 0) return n;
646
- let a = new Set(i.toolbox.map((e) => e.data).filter((e) => e !== void 0).flatMap((e) => Object.keys(e))), o = i.toolbox.filter((e) => {
647
- if (C(e) || e.icon === void 0) return !1;
648
- let n = e.data !== void 0;
649
- return !(n && e.data !== void 0 && [...a].every((t) => {
650
- let n = e.data === void 0 ? void 0 : e.data[t], i = r[t];
651
- return D(n, i);
652
- }) || !n && i.name === t.name);
634
+ }, Ae = (e, t) => O(e.tool, t), je = (e, t) => Object.entries(e).some((([e, n]) => t[e] && T(t[e], n))), Me = async (e, t) => {
635
+ let r = (await e.save()).data, i = t.find((t) => t.name === e.name);
636
+ return i !== void 0 && !O(i, "export") ? [] : t.reduce((t, i) => {
637
+ if (!O(i, "import") || i.toolbox === void 0) return t;
638
+ let a = new Set(i.toolbox.map((e) => e.data).filter((e) => e !== void 0).flatMap((e) => Object.keys(e))), o = i.toolbox.filter((t) => {
639
+ if (b(t) || t.icon === void 0) return !1;
640
+ let n = t.data !== void 0;
641
+ return !(n && t.data !== void 0 && [...a].every((e) => {
642
+ let n = t.data === void 0 ? void 0 : t.data[e], i = r[e];
643
+ return T(n, i);
644
+ }) || !n && i.name === e.name);
653
645
  });
654
- return o.length > 0 && n.push(e(e({}, i), {}, { toolbox: o })), n;
646
+ return o.length > 0 && t.push(n(n({}, i), {}, { toolbox: o })), t;
655
647
  }, []);
656
- }, Re = (e, t) => e.mergeable ? e.name === t.name ? !0 : Fe(t, "export") && Fe(e, "import") : !1, ze = async (t, n) => {
657
- if (t.length === 0) return [];
658
- if (t.length === 1) return Le(t[0], n);
659
- for (let e of t) {
660
- let t = n.find((t) => t.name === e.name);
661
- if (t !== void 0 && !A(t, "export")) return [];
662
- }
663
- let r = new Set(t.map((e) => e.name));
664
- return n.reduce((t, n) => {
665
- if (!A(n, "import") || n.toolbox === void 0) return t;
666
- let i = n.toolbox.filter((e) => !(C(e) || e.icon === void 0 || e.data === void 0 && r.size === 1 && r.has(n.name)));
667
- return i.length > 0 && t.push(e(e({}, n), {}, { toolbox: i })), t;
648
+ }, Ne = (e, t) => e.mergeable ? e.name === t.name ? !0 : Ae(t, "export") && Ae(e, "import") : !1, Pe = async (e, t) => {
649
+ if (e.length === 0) return [];
650
+ if (e.length === 1) return Me(e[0], t);
651
+ for (let n of e) {
652
+ let e = t.find((e) => e.name === n.name);
653
+ if (e !== void 0 && !O(e, "export")) return [];
654
+ }
655
+ let r = new Set(e.map((e) => e.name));
656
+ return t.reduce((e, t) => {
657
+ if (!O(t, "import") || t.toolbox === void 0) return e;
658
+ let i = t.toolbox.filter((e) => !(b(e) || e.icon === void 0 || e.data === void 0 && r.size === 1 && r.has(t.name)));
659
+ return i.length > 0 && e.push(n(n({}, t), {}, { toolbox: i })), e;
668
660
  }, []);
669
- }, Be = (e, t) => {
661
+ }, Fe = (e, t) => {
670
662
  let n = t == null ? void 0 : t.export;
671
- return b(n) ? n(e) : S(n) ? e[n] : (n !== void 0 && y("Conversion «export» property must be a string or function. String means key of saved data object to export. Function should export processed string to export."), "");
672
- }, Ve = (e, t, n) => {
663
+ return h(n) ? n(e) : _(n) ? e[n] : (n !== void 0 && p("Conversion «export» property must be a string or function. String means key of saved data object to export. Function should export processed string to export."), "");
664
+ }, Ie = (e, t, n) => {
673
665
  let r = t == null ? void 0 : t.import;
674
- return b(r) ? r(e, n) : S(r) ? { [r]: e } : (r !== void 0 && y("Conversion «import» property must be a string or function. String means key of tool data to import. Function accepts a imported string and return composed tool data."), {});
675
- }, He = class {
666
+ return h(r) ? r(e, n) : _(r) ? { [r]: e } : (r !== void 0 && p("Conversion «import» property must be a string or function. String means key of tool data to import. Function accepts a imported string and return composed tool data."), {});
667
+ }, Le = class {
676
668
  constructor() {
677
669
  this.subscribers = {};
678
670
  }
@@ -688,7 +680,7 @@ var T = () => {
688
680
  this.subscribers[e].push(n);
689
681
  }
690
682
  emit(e, t) {
691
- C(this.subscribers) || !this.subscribers[e] || this.subscribers[e].reduce((e, t) => {
683
+ b(this.subscribers) || !this.subscribers[e] || this.subscribers[e].reduce((e, t) => {
692
684
  let n = t(e);
693
685
  return n === void 0 ? e : n;
694
686
  }, t);
@@ -705,7 +697,7 @@ var T = () => {
705
697
  destroy() {
706
698
  this.subscribers = {};
707
699
  }
708
- }, Ue = "blok", We = "inline-toolbar", Ge = "tooltip", Ke = "[data-blok-interface=inline-toolbar]", qe = typeof process < "u" ? process.platform === "darwin" ? "Meta" : "Control" : typeof navigator < "u" && navigator.userAgent.toLowerCase().includes("mac") ? "Meta" : "Control", M = class {
700
+ }, Re = "blok", ze = "inline-toolbar", Be = "tooltip", Ve = "[data-blok-interface=inline-toolbar]", He = typeof process < "u" ? process.platform === "darwin" ? "Meta" : "Control" : typeof navigator < "u" && navigator.userAgent.toLowerCase().includes("mac") ? "Meta" : "Control", A = class {
709
701
  static getAnchorNode() {
710
702
  let e = window.getSelection();
711
703
  return e ? e.anchorNode : null;
@@ -714,7 +706,7 @@ var T = () => {
714
706
  let e = window.getSelection();
715
707
  if (!e) return null;
716
708
  let t = e.anchorNode;
717
- return t ? O.isElement(t) ? t : t.parentElement : null;
709
+ return t ? E.isElement(t) ? t : t.parentElement : null;
718
710
  }
719
711
  static getAnchorOffset() {
720
712
  let e = window.getSelection();
@@ -726,7 +718,7 @@ var T = () => {
726
718
  }
727
719
  static isSelectionAtBlok(e) {
728
720
  if (!e) return !1;
729
- let t = e.anchorNode || e.focusNode, n = t && t.nodeType === Node.TEXT_NODE ? t.parentNode : t, r = n && n instanceof Element ? n.closest(p(f.redactor)) : null;
721
+ let t = e.anchorNode || e.focusNode, n = t && t.nodeType === Node.TEXT_NODE ? t.parentNode : t, r = n && n instanceof Element ? n.closest(o(a.redactor)) : null;
730
722
  return r ? r.nodeType === Node.ELEMENT_NODE : !1;
731
723
  }
732
724
  static getIsAtBlok() {
@@ -734,7 +726,7 @@ var T = () => {
734
726
  }
735
727
  static isRangeAtBlok(e) {
736
728
  if (!e) return;
737
- let t = e.startContainer && e.startContainer.nodeType === Node.TEXT_NODE ? e.startContainer.parentNode : e.startContainer, n = t && t instanceof Element ? t.closest(p(f.redactor)) : null;
729
+ let t = e.startContainer && e.startContainer.nodeType === Node.TEXT_NODE ? e.startContainer.parentNode : e.startContainer, n = t && t instanceof Element ? t.closest(o(a.redactor)) : null;
738
730
  return n ? n.nodeType === Node.ELEMENT_NODE : !1;
739
731
  }
740
732
  static getIsSelectionExists() {
@@ -757,8 +749,8 @@ var T = () => {
757
749
  width: 0,
758
750
  height: 0
759
751
  }, t = window.getSelection();
760
- if (!t) return y("Method window.getSelection returned null", "warn"), e;
761
- if (t.rangeCount === null || Number.isNaN(t.rangeCount)) return y("Method SelectionUtils.rangeCount is not supported", "warn"), e;
752
+ if (!t) return p("Method window.getSelection returned null", "warn"), e;
753
+ if (t.rangeCount === null || Number.isNaN(t.rangeCount)) return p("Method SelectionUtils.rangeCount is not supported", "warn"), e;
762
754
  if (t.rangeCount === 0) return e;
763
755
  let n = t.getRangeAt(0).cloneRange(), r = n.getBoundingClientRect();
764
756
  if (r.x === 0 && r.y === 0) {
@@ -774,13 +766,13 @@ var T = () => {
774
766
  let t = window.getSelection();
775
767
  return (e = t == null ? void 0 : t.toString()) == null ? "" : e;
776
768
  }
777
- }, Je = class {
769
+ }, Ue = class {
778
770
  static setCursor(e, t = 0) {
779
- let n = document.createRange(), r = window.getSelection(), i = O.isNativeInput(e);
780
- return i && !O.canSetCaret(e) ? e.getBoundingClientRect() : i ? (e.focus(), e.selectionStart = t, e.selectionEnd = t, e.getBoundingClientRect()) : (n.setStart(e, t), n.setEnd(e, t), r ? (r.removeAllRanges(), r.addRange(n), O.isContentEditable(e) && document.activeElement !== e && e.focus(), n.getBoundingClientRect()) : e.getBoundingClientRect());
771
+ let n = document.createRange(), r = window.getSelection(), i = E.isNativeInput(e);
772
+ return i && !E.canSetCaret(e) ? e.getBoundingClientRect() : i ? (e.focus(), e.selectionStart = t, e.selectionEnd = t, e.getBoundingClientRect()) : (n.setStart(e, t), n.setEnd(e, t), r ? (r.removeAllRanges(), r.addRange(n), E.isContentEditable(e) && document.activeElement !== e && e.focus(), n.getBoundingClientRect()) : e.getBoundingClientRect());
781
773
  }
782
774
  static isRangeInsideContainer(e) {
783
- let t = M.getRange();
775
+ let t = A.getRange();
784
776
  return t === null ? !1 : e.contains(t.startContainer);
785
777
  }
786
778
  static collapseToEnd() {
@@ -789,7 +781,7 @@ var T = () => {
789
781
  let t = document.createRange();
790
782
  t.selectNodeContents(e.focusNode), t.collapse(!1), e.removeAllRanges(), e.addRange(t);
791
783
  }
792
- }, Ye, N = class {
784
+ }, We, j = class {
793
785
  static applyBoxShadowToWrapper(e) {
794
786
  let t = e.parentElement;
795
787
  if (!t) return;
@@ -853,10 +845,10 @@ var T = () => {
853
845
  return n.push(`inset 0 0 0 9999px ${this.BG_COLOR}`), t > 0 && n.push(`0 ${t}px 0 ${this.BG_COLOR}`), e > 0 && n.push(`0 -${e}px 0 ${this.BG_COLOR}`), n.join(", ");
854
846
  }
855
847
  };
856
- Ye = N, Ye.BG_COLOR = "rgba(0, 0, 0, 0.08)";
848
+ We = j, We.BG_COLOR = "rgba(0, 0, 0, 0.08)";
857
849
  //#endregion
858
850
  //#region src/components/selection/fake-background/text-nodes.ts
859
- var Xe = class {
851
+ var Ge = class {
860
852
  static collectTextNodes(e) {
861
853
  let t = [], { commonAncestorContainer: n } = e;
862
854
  if (n.nodeType === Node.TEXT_NODE) return t.push(n), t;
@@ -887,10 +879,10 @@ var Xe = class {
887
879
  ];
888
880
  return n.slice(0, -1).map((t, r) => e.substring(t, n[r + 1])).filter((e) => e.length > 0);
889
881
  }
890
- }, P = class {
882
+ }, M = class {
891
883
  static wrapRangeWithHighlight(e) {
892
884
  if (e.collapsed) return null;
893
- let t = O.make("span");
885
+ let t = E.make("span");
894
886
  t.setAttribute("data-blok-testid", "fake-background"), t.setAttribute("data-blok-fake-background", "true"), t.setAttribute("data-blok-mutation-free", "true"), t.style.color = "inherit", t.style.boxDecorationBreak = "clone", t.style["-webkit-box-decoration-break"] = "clone", t.style.whiteSpace = "pre-wrap";
895
887
  let n = e.extractContents();
896
888
  return n.childNodes.length === 0 ? null : (t.appendChild(n), e.insertNode(t), t);
@@ -904,17 +896,17 @@ var Xe = class {
904
896
  }
905
897
  static splitMultiLineWrapper(e) {
906
898
  let t = e.getClientRects();
907
- if (t.length <= 1) return N.applyBoxShadowToWrapper(e), [e];
899
+ if (t.length <= 1) return j.applyBoxShadowToWrapper(e), [e];
908
900
  let n = e.textContent || "", r = e.parentNode;
909
- if (!r || !n) return N.applyBoxShadowToWrapper(e), [e];
901
+ if (!r || !n) return j.applyBoxShadowToWrapper(e), [e];
910
902
  let i = [], a = e.firstChild;
911
- if (!a || a.nodeType !== Node.TEXT_NODE) return N.applyBoxShadowToWrapper(e), [e];
912
- let o = Xe.findLineBreakPositions(a, t.length);
913
- if (o.length === 0) return N.applyBoxShadowToWrapper(e), [e];
914
- let s = Xe.splitTextAtPositions(n, o), c = document.createDocumentFragment();
903
+ if (!a || a.nodeType !== Node.TEXT_NODE) return j.applyBoxShadowToWrapper(e), [e];
904
+ let o = Ge.findLineBreakPositions(a, t.length);
905
+ if (o.length === 0) return j.applyBoxShadowToWrapper(e), [e];
906
+ let s = Ge.splitTextAtPositions(n, o), c = document.createDocumentFragment();
915
907
  return s.forEach((e) => {
916
908
  if (e.length === 0) return;
917
- let t = O.make("span");
909
+ let t = E.make("span");
918
910
  t.setAttribute("data-blok-testid", "fake-background"), t.setAttribute("data-blok-fake-background", "true"), t.setAttribute("data-blok-mutation-free", "true"), t.style.color = "inherit", t.style.boxDecorationBreak = "clone", t.style["-webkit-box-decoration-break"] = "clone", t.style.whiteSpace = "pre-wrap", t.textContent = e, c.appendChild(t), i.push(t);
919
911
  }), r.replaceChild(c, e), i;
920
912
  }
@@ -925,7 +917,7 @@ var Xe = class {
925
917
  t.removeChild(e);
926
918
  }
927
919
  }
928
- }, Ze = class {
920
+ }, Ke = class {
929
921
  constructor(e) {
930
922
  this.selectionUtils = e;
931
923
  }
@@ -935,7 +927,7 @@ var Xe = class {
935
927
  if (!e || e.rangeCount === 0) return;
936
928
  let t = e.getRangeAt(0);
937
929
  if (t.collapsed) return;
938
- let n = Xe.collectTextNodes(t);
930
+ let n = Ge.collectTextNodes(t);
939
931
  if (n.length === 0) return;
940
932
  let r = t.startContainer, i = t.startOffset, a = t.endContainer, o = t.endOffset, s = [];
941
933
  if (n.forEach((e) => {
@@ -943,11 +935,11 @@ var Xe = class {
943
935
  let c = document.createRange(), l = e === r, u = e === a, d = l ? i : 0, f = (t = (n = e.textContent) == null ? void 0 : n.length) == null ? 0 : t, p = u ? o : f;
944
936
  if (d === p) return;
945
937
  c.setStart(e, d), c.setEnd(e, p);
946
- let m = P.wrapRangeWithHighlight(c);
938
+ let m = M.wrapRangeWithHighlight(c);
947
939
  m && s.push(m);
948
940
  }), s.length === 0) return;
949
- let c = P.postProcessHighlightWrappers(s);
950
- N.applyLineHeightExtensions(c);
941
+ let c = M.postProcessHighlightWrappers(s);
942
+ j.applyLineHeightExtensions(c);
951
943
  let l = document.createRange();
952
944
  l.setStartBefore(c[0]), l.setEndAfter(c[c.length - 1]), this.selectionUtils.savedSelectionRange = l.cloneRange();
953
945
  let u = window.getSelection();
@@ -958,7 +950,7 @@ var Xe = class {
958
950
  }
959
951
  removeOrphanedFakeBackgroundElements() {
960
952
  document.querySelectorAll("[data-blok-fake-background=\"true\"]").forEach((e) => {
961
- P.unwrapFakeBackground(e);
953
+ M.unwrapFakeBackground(e);
962
954
  });
963
955
  }
964
956
  clearFakeBackground() {
@@ -969,28 +961,28 @@ var Xe = class {
969
961
  if (e.length === 0) return;
970
962
  let t = e[0], n = e[e.length - 1], r = t.firstChild, i = n.lastChild;
971
963
  if (e.forEach((e) => {
972
- P.unwrapFakeBackground(e);
964
+ M.unwrapFakeBackground(e);
973
965
  }), r && i) {
974
966
  var a;
975
967
  let e = document.createRange();
976
968
  e.setStart(r, 0), e.setEnd(i, ((a = i.textContent) == null ? void 0 : a.length) || 0), this.selectionUtils.savedSelectionRange = e;
977
969
  }
978
970
  }
979
- }, Qe = class {
971
+ }, qe = class {
980
972
  static addFakeCursor() {
981
- let e = M.getRange();
973
+ let e = A.getRange();
982
974
  if (e === null) return;
983
- let t = O.make("span");
984
- t.setAttribute(f.fakeCursor, ""), t.setAttribute("data-blok-mutation-free", "true"), e.collapse(), e.insertNode(t);
975
+ let t = E.make("span");
976
+ t.setAttribute(a.fakeCursor, ""), t.setAttribute("data-blok-mutation-free", "true"), e.collapse(), e.insertNode(t);
985
977
  }
986
978
  static isFakeCursorInsideContainer(e) {
987
- return O.find(e, p(f.fakeCursor)) !== null;
979
+ return E.find(e, o(a.fakeCursor)) !== null;
988
980
  }
989
981
  static removeFakeCursor(e = document.body) {
990
- let t = O.find(e, p(f.fakeCursor));
982
+ let t = E.find(e, o(a.fakeCursor));
991
983
  t && t.remove();
992
984
  }
993
- }, $e = class {
985
+ }, Je = class {
994
986
  static findParentTag(e, t, n = 10) {
995
987
  let r = window.getSelection();
996
988
  if (!r || !r.anchorNode || !r.focusNode) return null;
@@ -1018,63 +1010,63 @@ var Xe = class {
1018
1010
  let n = document.createRange();
1019
1011
  n.selectNodeContents(e), t.addRange(n);
1020
1012
  }
1021
- }, et = class {
1013
+ }, Ye = class {
1022
1014
  constructor() {
1023
- this.instance = null, this.selection = null, this.savedSelectionRange = null, this.isFakeBackgroundEnabled = !1, this.fakeBackgroundManager = new Ze(this);
1015
+ this.instance = null, this.selection = null, this.savedSelectionRange = null, this.isFakeBackgroundEnabled = !1, this.fakeBackgroundManager = new Ke(this);
1024
1016
  }
1025
1017
  static get anchorNode() {
1026
- return M.getAnchorNode();
1018
+ return A.getAnchorNode();
1027
1019
  }
1028
1020
  static get anchorElement() {
1029
- return M.getAnchorElement();
1021
+ return A.getAnchorElement();
1030
1022
  }
1031
1023
  static get anchorOffset() {
1032
- return M.getAnchorOffset();
1024
+ return A.getAnchorOffset();
1033
1025
  }
1034
1026
  static get isCollapsed() {
1035
- return M.getIsCollapsed();
1027
+ return A.getIsCollapsed();
1036
1028
  }
1037
1029
  static get isAtBlok() {
1038
- return M.getIsAtBlok();
1030
+ return A.getIsAtBlok();
1039
1031
  }
1040
1032
  static isSelectionAtBlok(e) {
1041
- return M.isSelectionAtBlok(e);
1033
+ return A.isSelectionAtBlok(e);
1042
1034
  }
1043
1035
  static isRangeAtBlok(e) {
1044
- return M.isRangeAtBlok(e);
1036
+ return A.isRangeAtBlok(e);
1045
1037
  }
1046
1038
  static get isSelectionExists() {
1047
- return M.getIsSelectionExists();
1039
+ return A.getIsSelectionExists();
1048
1040
  }
1049
1041
  static get range() {
1050
- return M.getRange();
1042
+ return A.getRange();
1051
1043
  }
1052
1044
  static getRangeFromSelection(e) {
1053
- return M.getRangeFromSelection(e);
1045
+ return A.getRangeFromSelection(e);
1054
1046
  }
1055
1047
  static get rect() {
1056
- return M.getRect();
1048
+ return A.getRect();
1057
1049
  }
1058
1050
  static get text() {
1059
- return M.getText();
1051
+ return A.getText();
1060
1052
  }
1061
1053
  static get() {
1062
- return M.get();
1054
+ return A.get();
1063
1055
  }
1064
1056
  static setCursor(e, t = 0) {
1065
- return Je.setCursor(e, t);
1057
+ return Ue.setCursor(e, t);
1066
1058
  }
1067
1059
  static isRangeInsideContainer(e) {
1068
- return Je.isRangeInsideContainer(e);
1060
+ return Ue.isRangeInsideContainer(e);
1069
1061
  }
1070
1062
  static addFakeCursor() {
1071
- Qe.addFakeCursor();
1063
+ qe.addFakeCursor();
1072
1064
  }
1073
1065
  static isFakeCursorInsideContainer(e) {
1074
- return Qe.isFakeCursorInsideContainer(e);
1066
+ return qe.isFakeCursorInsideContainer(e);
1075
1067
  }
1076
1068
  static removeFakeCursor(e = document.body) {
1077
- Qe.removeFakeCursor(e);
1069
+ qe.removeFakeCursor(e);
1078
1070
  }
1079
1071
  removeFakeBackground() {
1080
1072
  this.fakeBackgroundManager.removeFakeBackground();
@@ -1089,7 +1081,7 @@ var Xe = class {
1089
1081
  this.fakeBackgroundManager.setFakeBackground();
1090
1082
  }
1091
1083
  save() {
1092
- this.savedSelectionRange = M.getRange();
1084
+ this.savedSelectionRange = A.getRange();
1093
1085
  }
1094
1086
  restore() {
1095
1087
  if (!this.savedSelectionRange) return;
@@ -1100,17 +1092,17 @@ var Xe = class {
1100
1092
  this.savedSelectionRange = null;
1101
1093
  }
1102
1094
  collapseToEnd() {
1103
- Je.collapseToEnd();
1095
+ Ue.collapseToEnd();
1104
1096
  }
1105
1097
  findParentTag(e, t, n = 10) {
1106
- return $e.findParentTag(e, t, n);
1098
+ return Je.findParentTag(e, t, n);
1107
1099
  }
1108
1100
  expandToTag(e) {
1109
- $e.expandToTag(e);
1101
+ Je.expandToTag(e);
1110
1102
  }
1111
- }, F = /* @__PURE__ */ function(e) {
1103
+ }, N = /* @__PURE__ */ function(e) {
1112
1104
  return e.Default = "default", e.Separator = "separator", e.Html = "html", e;
1113
- }({}), tt = /* @__PURE__ */ d((/* @__PURE__ */ l(((e, t) => {
1105
+ }({}), Xe = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
1114
1106
  (function(n, r) {
1115
1107
  typeof define == "function" && define.amd ? define("html-janitor", r) : typeof e == "object" ? t.exports = r() : n.HTMLJanitor = r();
1116
1108
  })(e, function() {
@@ -1198,129 +1190,129 @@ var Xe = class {
1198
1190
  }
1199
1191
  return e;
1200
1192
  });
1201
- })))()), nt = /^\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)/i, rt = /\s*(?:href|src)\s*=\s*(?:"\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)[^"]*"|'\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)[^']*|(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)[^ \t\r\n>]*)/gi, it = (t, n, r = {}) => t.map((t) => {
1202
- let i = b(n) ? n(t.tool) : n, a = i == null ? {} : i;
1203
- return x(a) && C(a) && C(r) ? t : e(e({}, t), {}, { data: at(t.data, a, r) });
1204
- }), I = (e, t = {}) => new tt.default({ tags: t }).clean(e), at = (e, t, n) => Array.isArray(e) ? ot(e, t, n) : x(e) ? st(e, t, n) : S(e) ? ct(e, t, n) : e, ot = (e, t, n) => e.map((e) => at(e, t, n)), st = (e, t, n) => {
1193
+ })))()), Ze = /^\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)/i, Qe = /\s*(?:href|src)\s*=\s*(?:"\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)[^"]*"|'\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)[^']*|(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)[^ \t\r\n>]*)/gi, $e = (e, t, r = {}) => e.map((e) => {
1194
+ let i = h(t) ? t(e.tool) : t, a = i == null ? {} : i;
1195
+ return g(a) && b(a) && b(r) ? e : n(n({}, e), {}, { data: et(e.data, a, r) });
1196
+ }), P = (e, t = {}) => new Xe.default({ tags: t }).clean(e), et = (e, t, n) => Array.isArray(e) ? tt(e, t, n) : g(e) ? nt(e, t, n) : _(e) ? rt(e, t, n) : e, tt = (e, t, n) => e.map((e) => et(e, t, n)), nt = (e, t, n) => {
1205
1197
  let r = {}, i = e;
1206
1198
  for (let a in e) {
1207
1199
  if (!Object.prototype.hasOwnProperty.call(e, a)) continue;
1208
- let o = i[a], s = x(t) ? t : void 0, c = s == null ? void 0 : s[a];
1209
- r[a] = at(o, c !== void 0 && lt(c) ? c : t, n);
1200
+ let o = i[a], s = g(t) ? t : void 0, c = s == null ? void 0 : s[a];
1201
+ r[a] = et(o, c !== void 0 && it(c) ? c : t, n);
1210
1202
  }
1211
1203
  return r;
1212
- }, ct = (e, t, n) => {
1213
- let r = vt(t, n);
1214
- return r ? dt(bt(I(e, r), r)) : C(n) ? dt(e) : dt(bt(I(e, n), n));
1215
- }, lt = (e) => x(e) || ne(e) || b(e), ut = (e) => e ? nt.test(e) : !1, dt = (e) => {
1204
+ }, rt = (e, t, n) => {
1205
+ let r = pt(t, n);
1206
+ return r ? ot(ht(P(e, r), r)) : b(n) ? ot(e) : ot(ht(P(e, n), n));
1207
+ }, it = (e) => g(e) || v(e) || h(e), at = (e) => e ? Ze.test(e) : !1, ot = (e) => {
1216
1208
  if (!e || e.indexOf("<") === -1) return e;
1217
1209
  if (typeof document < "u") {
1218
1210
  let t = document.createElement("template");
1219
1211
  return t.innerHTML = e, t.content.querySelectorAll("[href],[src]").forEach((e) => {
1220
1212
  ["href", "src"].forEach((t) => {
1221
- ut(e.getAttribute(t)) && e.removeAttribute(t);
1213
+ at(e.getAttribute(t)) && e.removeAttribute(t);
1222
1214
  });
1223
1215
  }), t.innerHTML;
1224
1216
  }
1225
- return e.replace(rt, "");
1226
- }, ft = (e) => {
1227
- if (C(e)) return {};
1217
+ return e.replace(Qe, "");
1218
+ }, st = (e) => {
1219
+ if (b(e)) return {};
1228
1220
  let t = {};
1229
- for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = L(e[n]));
1221
+ for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = F(e[n]));
1230
1222
  return t;
1231
- }, pt = (e) => function(t) {
1223
+ }, ct = (e) => function(t) {
1232
1224
  let n = e.call(this, t);
1233
1225
  return n == null ? {} : n;
1234
- }, mt = new Set([
1226
+ }, lt = new Set([
1235
1227
  "class",
1236
1228
  "id",
1237
1229
  "title",
1238
1230
  "role",
1239
1231
  "dir",
1240
1232
  "lang"
1241
- ]), ht = (e) => {
1233
+ ]), ut = (e) => {
1242
1234
  let t = e.toLowerCase();
1243
- return t.startsWith("data-") || t.startsWith("aria-") || mt.has(t);
1244
- }, gt = (e) => {
1235
+ return t.startsWith("data-") || t.startsWith("aria-") || lt.has(t);
1236
+ }, dt = (e) => {
1245
1237
  let t = {};
1246
1238
  return Array.from(e.attributes).forEach((e) => {
1247
- ht(e.name) && (t[e.name] = !0);
1239
+ ut(e.name) && (t[e.name] = !0);
1248
1240
  }), t;
1249
- }, L = (e) => e === !0 ? pt(gt) : e === !1 ? !1 : b(e) ? pt(e) : S(e) ? e : x(e) ? E({}, e) : e, _t = (e, t) => {
1250
- if (C(e)) return ft(t);
1241
+ }, F = (e) => e === !0 ? ct(dt) : e === !1 ? !1 : h(e) ? ct(e) : _(e) ? e : g(e) ? w({}, e) : e, ft = (e, t) => {
1242
+ if (b(e)) return st(t);
1251
1243
  let n = {};
1252
1244
  for (let r in e) {
1253
1245
  if (!Object.prototype.hasOwnProperty.call(e, r)) continue;
1254
1246
  let i = e[r], a = t ? t[r] : void 0;
1255
- if (b(a)) {
1256
- n[r] = L(a);
1247
+ if (h(a)) {
1248
+ n[r] = F(a);
1257
1249
  continue;
1258
1250
  }
1259
- if (b(i)) {
1260
- n[r] = L(i);
1251
+ if (h(i)) {
1252
+ n[r] = F(i);
1261
1253
  continue;
1262
1254
  }
1263
- if (x(i) && x(a)) {
1264
- n[r] = E({}, a, i);
1255
+ if (g(i) && g(a)) {
1256
+ n[r] = w({}, a, i);
1265
1257
  continue;
1266
1258
  }
1267
1259
  if (a !== void 0) {
1268
- n[r] = L(a);
1260
+ n[r] = F(a);
1269
1261
  continue;
1270
1262
  }
1271
- n[r] = L(i);
1263
+ n[r] = F(i);
1272
1264
  }
1273
1265
  if (!t) return n;
1274
- for (let e in t) Object.prototype.hasOwnProperty.call(t, e) && (Object.prototype.hasOwnProperty.call(n, e) || (n[e] = L(t[e])));
1266
+ for (let e in t) Object.prototype.hasOwnProperty.call(t, e) && (Object.prototype.hasOwnProperty.call(n, e) || (n[e] = F(t[e])));
1275
1267
  return n;
1276
- }, vt = (e, t) => x(e) && !b(e) ? _t(t, e) : e === !1 ? {} : C(t) ? null : ft(t), yt = (e, ...t) => {
1277
- if (C(e)) return Object.assign({}, ...t);
1278
- let n = ft(e);
1268
+ }, pt = (e, t) => g(e) && !h(e) ? ft(t, e) : e === !1 ? {} : b(t) ? null : st(t), mt = (e, ...t) => {
1269
+ if (b(e)) return Object.assign({}, ...t);
1270
+ let n = st(e);
1279
1271
  return t.forEach((e) => {
1280
1272
  if (e) for (let t in e) {
1281
1273
  if (!Object.prototype.hasOwnProperty.call(e, t)) continue;
1282
1274
  let r = e[t];
1283
1275
  if (!Object.prototype.hasOwnProperty.call(n, t)) continue;
1284
1276
  let i = n[t];
1285
- if (b(r)) {
1277
+ if (h(r)) {
1286
1278
  n[t] = r;
1287
1279
  continue;
1288
1280
  }
1289
- if (!(r === !0 && b(i))) {
1281
+ if (!(r === !0 && h(i))) {
1290
1282
  if (r === !0) {
1291
- n[t] = x(i) && !b(i) ? E({}, i) : L(r);
1283
+ n[t] = g(i) && !h(i) ? w({}, i) : F(r);
1292
1284
  continue;
1293
1285
  }
1294
- if (x(r) && x(i)) {
1295
- n[t] = E({}, i, r);
1286
+ if (g(r) && g(i)) {
1287
+ n[t] = w({}, i, r);
1296
1288
  continue;
1297
1289
  }
1298
- n[t] = L(r);
1290
+ n[t] = F(r);
1299
1291
  }
1300
1292
  }
1301
1293
  }), n;
1302
- }, bt = (e, t) => {
1294
+ }, ht = (e, t) => {
1303
1295
  if (typeof document > "u" || !e || e.indexOf("<") === -1) return e;
1304
- let n = Object.entries(t).filter(([, e]) => b(e));
1296
+ let n = Object.entries(t).filter(([, e]) => h(e));
1305
1297
  if (n.length === 0) return e;
1306
1298
  let r = document.createElement("template");
1307
1299
  return r.innerHTML = e, n.forEach(([e, t]) => {
1308
1300
  r.content.querySelectorAll(e).forEach((e) => {
1309
1301
  let n = t(e);
1310
- if (!(ne(n) || b(n) || n == null)) for (let [t, r] of Object.entries(n)) {
1302
+ if (!(v(n) || h(n) || n == null)) for (let [t, r] of Object.entries(n)) {
1311
1303
  if (r === !1) {
1312
1304
  e.removeAttribute(t);
1313
1305
  continue;
1314
1306
  }
1315
- r !== !0 && S(r) && e.setAttribute(t, r);
1307
+ r !== !0 && _(r) && e.setAttribute(t, r);
1316
1308
  }
1317
1309
  });
1318
1310
  }), r.innerHTML;
1319
- }, xt, St = 10, Ct = "tooltip", wt = "aria-hidden", Tt = "false", Et = "true", Dt = "visibility", Ot = "visible", kt = "hidden", At = class e {
1311
+ }, gt, _t = 10, vt = "tooltip", yt = "aria-hidden", bt = "false", xt = "true", St = "visibility", Ct = "visible", wt = "hidden", Tt = class e {
1320
1312
  get CSS() {
1321
1313
  return {
1322
- tooltip: n("absolute z-overlay top-0 left-0", "bg-tooltip-bg opacity-0", "select-none pointer-events-none", "rounded-lg shadow-tooltip", "before:content-[''] before:absolute before:inset-0 before:bg-tooltip-bg before:-z-10 before:rounded-lg", "mobile:hidden").split(" "),
1323
- tooltipContent: n("px-2.5 py-1.5", "text-tooltip-font text-xs text-center", "tracking-[0.02em] leading-[1em]").split(" "),
1314
+ tooltip: i("absolute z-overlay top-0 left-0", "bg-tooltip-bg opacity-0", "select-none pointer-events-none", "rounded-lg shadow-tooltip", "before:content-[''] before:absolute before:inset-0 before:bg-tooltip-bg before:-z-10 before:rounded-lg", "mobile:hidden").split(" "),
1315
+ tooltipContent: i("px-2.5 py-1.5", "text-tooltip-font text-xs text-center", "tracking-[0.02em] leading-[1em]").split(" "),
1324
1316
  tooltipShown: ["opacity-100"]
1325
1317
  };
1326
1318
  }
@@ -1331,7 +1323,7 @@ var Xe = class {
1331
1323
  this.nodes = {
1332
1324
  wrapper: null,
1333
1325
  content: null
1334
- }, this.showed = !1, this.offsetTop = St, this.offsetLeft = St, this.offsetRight = St, this.showingTimeout = null, this.ariaObserver = null, this.handleWindowScroll = () => {
1326
+ }, this.showed = !1, this.offsetTop = _t, this.offsetLeft = _t, this.offsetRight = _t, this.showingTimeout = null, this.ariaObserver = null, this.handleWindowScroll = () => {
1335
1327
  this.showed && this.hide();
1336
1328
  }, this.prepare(), window.addEventListener("scroll", this.handleWindowScroll, { passive: !0 });
1337
1329
  }
@@ -1402,12 +1394,12 @@ var Xe = class {
1402
1394
  (t = this.ariaObserver) == null || t.disconnect(), this.ariaObserver = null, this.nodes.wrapper && this.nodes.wrapper.remove(), window.removeEventListener("scroll", this.handleWindowScroll), e.instance = null;
1403
1395
  }
1404
1396
  prepare() {
1405
- this.nodes.wrapper = this.make("div", this.CSS.tooltip), this.nodes.wrapper.setAttribute(f.interface, Ge), this.nodes.wrapper.setAttribute("data-blok-testid", "tooltip"), this.nodes.content = this.make("div", this.CSS.tooltipContent), this.nodes.content.setAttribute("data-blok-testid", "tooltip-content"), this.nodes.wrapper && this.nodes.content && (this.append(this.nodes.wrapper, this.nodes.content), this.append(document.body, this.nodes.wrapper), this.ensureTooltipAttributes());
1397
+ this.nodes.wrapper = this.make("div", this.CSS.tooltip), this.nodes.wrapper.setAttribute(a.interface, Be), this.nodes.wrapper.setAttribute("data-blok-testid", "tooltip"), this.nodes.content = this.make("div", this.CSS.tooltipContent), this.nodes.content.setAttribute("data-blok-testid", "tooltip-content"), this.nodes.wrapper && this.nodes.content && (this.append(this.nodes.wrapper, this.nodes.content), this.append(document.body, this.nodes.wrapper), this.ensureTooltipAttributes());
1406
1398
  }
1407
1399
  updateTooltipVisibility() {
1408
1400
  if (!this.nodes.wrapper) return;
1409
1401
  let e = Array.isArray(this.CSS.tooltipShown) ? this.CSS.tooltipShown[0] : this.CSS.tooltipShown, t = this.nodes.wrapper.classList.contains(e);
1410
- this.nodes.wrapper.style.setProperty(Dt, t ? Ot : kt, t ? "" : "important"), this.nodes.wrapper.setAttribute(wt, t ? Tt : Et), this.nodes.wrapper.setAttribute("data-blok-shown", t ? "true" : "false");
1402
+ this.nodes.wrapper.style.setProperty(St, t ? Ct : wt, t ? "" : "important"), this.nodes.wrapper.setAttribute(yt, t ? bt : xt), this.nodes.wrapper.setAttribute("data-blok-shown", t ? "true" : "false");
1411
1403
  }
1412
1404
  watchTooltipVisibility() {
1413
1405
  var e;
@@ -1419,7 +1411,7 @@ var Xe = class {
1419
1411
  }));
1420
1412
  }
1421
1413
  ensureTooltipAttributes() {
1422
- this.nodes.wrapper && ((!this.nodes.wrapper.hasAttribute(f.interface) || this.nodes.wrapper.getAttribute(f.interface) !== "tooltip") && this.nodes.wrapper.setAttribute(f.interface, Ge), this.nodes.wrapper.setAttribute("role", Ct), this.watchTooltipVisibility());
1414
+ this.nodes.wrapper && ((!this.nodes.wrapper.hasAttribute(a.interface) || this.nodes.wrapper.getAttribute(a.interface) !== "tooltip") && this.nodes.wrapper.setAttribute(a.interface, Be), this.nodes.wrapper.setAttribute("role", vt), this.watchTooltipVisibility());
1423
1415
  }
1424
1416
  placeBottom(e, t) {
1425
1417
  var n;
@@ -1461,16 +1453,16 @@ var Xe = class {
1461
1453
  Array.isArray(t) ? t.forEach((t) => e.appendChild(t)) : e.appendChild(t);
1462
1454
  }
1463
1455
  };
1464
- xt = At, xt.instance = null;
1465
- var R = () => At.getInstance(), jt = (e, t, n) => {
1466
- R().show(e, t, n == null ? {} : n);
1467
- }, Mt = () => {
1468
- R().hide();
1469
- }, Nt = (e, t, n) => {
1470
- R().onHover(e, t, n == null ? {} : n);
1471
- }, Pt = () => {
1472
- R().destroy();
1473
- }, Ft = () => {
1456
+ gt = Tt, gt.instance = null;
1457
+ var I = () => Tt.getInstance(), Et = (e, t, n) => {
1458
+ I().show(e, t, n == null ? {} : n);
1459
+ }, Dt = () => {
1460
+ I().hide();
1461
+ }, Ot = (e, t, n) => {
1462
+ I().onHover(e, t, n == null ? {} : n);
1463
+ }, kt = () => {
1464
+ I().destroy();
1465
+ }, At = () => {
1474
1466
  var e, t;
1475
1467
  let n = window.getSelection();
1476
1468
  if (n === null) return [null, 0];
@@ -1481,7 +1473,7 @@ var R = () => At.getInstance(), jt = (e, t, n) => {
1481
1473
  if (a !== void 0) return [a, 0];
1482
1474
  let o = (e = r.childNodes[i - 1]) == null ? null : e, s = (t = o == null ? void 0 : o.textContent) == null ? null : t;
1483
1475
  return [o, s === null ? 0 : s.length];
1484
- }, It = (e) => {
1476
+ }, jt = (e) => {
1485
1477
  var t;
1486
1478
  let n = window.getSelection();
1487
1479
  if (n === null || n.rangeCount === 0) return 0;
@@ -1489,7 +1481,7 @@ var R = () => At.getInstance(), jt = (e, t, n) => {
1489
1481
  if (i == null) return 0;
1490
1482
  let a = document.createRange();
1491
1483
  return a.selectNodeContents(i), a.setEnd(r.startContainer, r.startOffset), a.toString().length;
1492
- }, Lt = (e, t, n, r) => {
1484
+ }, Mt = (e, t, n, r) => {
1493
1485
  let i = document.createRange();
1494
1486
  r === "left" ? (i.selectNodeContents(e), i.setEnd(t, n)) : (i.selectNodeContents(e), i.setStart(t, n));
1495
1487
  let a = i.cloneContents(), o = document.createElement("div");
@@ -1500,24 +1492,24 @@ var R = () => At.getInstance(), jt = (e, t, n) => {
1500
1492
  if (c || l) return !1;
1501
1493
  o.style.position = "absolute", o.style.visibility = "hidden", o.style.height = "auto", o.style.width = "auto", o.style.whiteSpace = window.getComputedStyle(e).whiteSpace, document.body.appendChild(o);
1502
1494
  let u = o.getBoundingClientRect().width;
1503
- return document.body.removeChild(o), !(u > 0 || !Te(s) || window.getComputedStyle(e).whiteSpace.startsWith("pre") && s.length > 0);
1504
- }, Rt = (e) => {
1495
+ return document.body.removeChild(o), !(u > 0 || !be(s) || window.getComputedStyle(e).whiteSpace.startsWith("pre") && s.length > 0);
1496
+ }, Nt = (e) => {
1505
1497
  var t;
1506
- let n = O.getDeepestNode(e);
1507
- if (n === null || O.isEmpty(e)) return !0;
1508
- if (O.isNativeInput(n)) return n.selectionEnd === 0;
1509
- if (O.isEmpty(e)) return !0;
1510
- let [r, i] = Ft();
1498
+ let n = E.getDeepestNode(e);
1499
+ if (n === null || E.isEmpty(e)) return !0;
1500
+ if (E.isNativeInput(n)) return n.selectionEnd === 0;
1501
+ if (E.isEmpty(e)) return !0;
1502
+ let [r, i] = At();
1511
1503
  if (r === null) return !1;
1512
1504
  let a = window.getSelection(), o = (t = a == null ? void 0 : a.focusNode) == null ? null : t;
1513
- return o !== null && o !== e && !(o.nodeType === Node.TEXT_NODE && o.parentNode === e) ? !1 : Lt(e, r, i, "left");
1514
- }, zt = (e) => {
1515
- let t = O.getDeepestNode(e, !0);
1505
+ return o !== null && o !== e && !(o.nodeType === Node.TEXT_NODE && o.parentNode === e) ? !1 : Mt(e, r, i, "left");
1506
+ }, Pt = (e) => {
1507
+ let t = E.getDeepestNode(e, !0);
1516
1508
  if (t === null) return !0;
1517
- if (O.isNativeInput(t)) return t.selectionEnd === t.value.length;
1518
- let [n, r] = Ft();
1519
- return n === null ? !1 : Lt(e, n, r, "right");
1520
- }, Bt, z = class e {
1509
+ if (E.isNativeInput(t)) return t.selectionEnd === t.value.length;
1510
+ let [n, r] = At();
1511
+ return n === null ? !1 : Mt(e, n, r, "right");
1512
+ }, Ft, L = class e {
1521
1513
  constructor(e, t) {
1522
1514
  this.cursor = -1, this.items = [], this.items = e == null ? [] : e, this.focusedCssClass = t;
1523
1515
  }
@@ -1547,16 +1539,16 @@ var R = () => At.getInstance(), jt = (e, t, n) => {
1547
1539
  let n = t === e.directions.RIGHT ? -1 : 0, r = this.cursor === -1 ? n : this.cursor;
1548
1540
  r !== -1 && (this.items[r].classList.remove(this.focusedCssClass), this.items[r].removeAttribute("data-blok-focused"));
1549
1541
  let i = t === e.directions.RIGHT ? (r + 1) % this.items.length : (this.items.length + r - 1) % this.items.length;
1550
- return O.canSetCaret(this.items[i]) && ae(() => et.setCursor(this.items[i]), 50)(), this.items[i].classList.add(this.focusedCssClass), this.items[i].setAttribute("data-blok-focused", "true"), i;
1542
+ return E.canSetCaret(this.items[i]) && x(() => Ye.setCursor(this.items[i]), 50)(), this.items[i].classList.add(this.focusedCssClass), this.items[i].setAttribute("data-blok-focused", "true"), i;
1551
1543
  }
1552
1544
  };
1553
- Bt = z, Bt.directions = {
1545
+ Ft = L, Ft.directions = {
1554
1546
  RIGHT: "right",
1555
1547
  LEFT: "left"
1556
1548
  };
1557
1549
  //#endregion
1558
1550
  //#region src/components/flipper.ts
1559
- var Vt = class e {
1551
+ var It = class e {
1560
1552
  get isActivated() {
1561
1553
  return this.activated;
1562
1554
  }
@@ -1566,39 +1558,39 @@ var Vt = class e {
1566
1558
  var n;
1567
1559
  let r = t.target;
1568
1560
  if (this.shouldSkipTarget(r, t)) return;
1569
- let i = this.getKeyCode(t), a = i === m.LEFT || i === m.RIGHT || i === m.UP || i === m.DOWN;
1570
- if (!(t.shiftKey && a) && this.isEventReadyForHandling(t) && !(i === m.ENTER && !((n = this.iterator) != null && n.currentItem))) switch (t.stopPropagation(), t.stopImmediatePropagation(), i !== null && e.usedKeys.includes(i) && t.preventDefault(), i) {
1571
- case m.TAB:
1561
+ let i = this.getKeyCode(t), a = i === s.LEFT || i === s.RIGHT || i === s.UP || i === s.DOWN;
1562
+ if (!(t.shiftKey && a) && this.isEventReadyForHandling(t) && !(i === s.ENTER && !((n = this.iterator) != null && n.currentItem))) switch (t.stopPropagation(), t.stopImmediatePropagation(), i !== null && e.usedKeys.includes(i) && t.preventDefault(), i) {
1563
+ case s.TAB:
1572
1564
  this.handleTabPress(t);
1573
1565
  break;
1574
- case m.LEFT:
1566
+ case s.LEFT:
1575
1567
  this.onArrowLeftCallback && this.onArrowLeftCallback();
1576
1568
  break;
1577
- case m.UP:
1569
+ case s.UP:
1578
1570
  this.flipLeft();
1579
1571
  break;
1580
- case m.RIGHT:
1572
+ case s.RIGHT:
1581
1573
  var o;
1582
1574
  (o = this.iterator) != null && o.currentItem && this.currentItemHasChildren() && this.handleEnterPress(t);
1583
1575
  break;
1584
- case m.DOWN:
1576
+ case s.DOWN:
1585
1577
  this.flipRight();
1586
1578
  break;
1587
- case m.ENTER:
1579
+ case s.ENTER:
1588
1580
  this.handleEnterPress(t);
1589
1581
  break;
1590
1582
  case null: break;
1591
1583
  }
1592
- }, this.iterator = new z(t.items || [], (n = t.focusedItemClass) == null ? "" : n), this.activateCallback = t.activateCallback, this.allowedKeys = t.allowedKeys || e.usedKeys, this.handleContentEditableTargets = (r = t.handleContentEditableTargets) == null ? !1 : r, this.onArrowLeftCallback = t.onArrowLeft;
1584
+ }, this.iterator = new L(t.items || [], (n = t.focusedItemClass) == null ? "" : n), this.activateCallback = t.activateCallback, this.allowedKeys = t.allowedKeys || e.usedKeys, this.handleContentEditableTargets = (r = t.handleContentEditableTargets) == null ? !1 : r, this.onArrowLeftCallback = t.onArrowLeft;
1593
1585
  }
1594
1586
  static get usedKeys() {
1595
1587
  return [
1596
- m.TAB,
1597
- m.LEFT,
1598
- m.RIGHT,
1599
- m.ENTER,
1600
- m.UP,
1601
- m.DOWN
1588
+ s.TAB,
1589
+ s.LEFT,
1590
+ s.RIGHT,
1591
+ s.ENTER,
1592
+ s.UP,
1593
+ s.DOWN
1602
1594
  ];
1603
1595
  }
1604
1596
  activate(e, t) {
@@ -1659,12 +1651,12 @@ var Vt = class e {
1659
1651
  getKeyCode(e) {
1660
1652
  var t;
1661
1653
  return (t = {
1662
- Tab: m.TAB,
1663
- Enter: m.ENTER,
1664
- ArrowLeft: m.LEFT,
1665
- ArrowRight: m.RIGHT,
1666
- ArrowUp: m.UP,
1667
- ArrowDown: m.DOWN
1654
+ Tab: s.TAB,
1655
+ Enter: s.ENTER,
1656
+ ArrowLeft: s.LEFT,
1657
+ ArrowRight: s.RIGHT,
1658
+ ArrowUp: s.UP,
1659
+ ArrowDown: s.DOWN
1668
1660
  }[e.key]) == null ? null : t;
1669
1661
  }
1670
1662
  isEventReadyForHandling(e) {
@@ -1678,16 +1670,16 @@ var Vt = class e {
1678
1670
  return this.handleContentEditableTargets;
1679
1671
  }
1680
1672
  handleTabPress(e) {
1681
- let t = e.shiftKey ? z.directions.LEFT : z.directions.RIGHT;
1673
+ let t = e.shiftKey ? L.directions.LEFT : L.directions.RIGHT;
1682
1674
  if (this.skipNextTabFocus) {
1683
1675
  this.skipNextTabFocus = !1;
1684
1676
  return;
1685
1677
  }
1686
1678
  switch (t) {
1687
- case z.directions.RIGHT:
1679
+ case L.directions.RIGHT:
1688
1680
  this.flipRight();
1689
1681
  break;
1690
- case z.directions.LEFT:
1682
+ case L.directions.LEFT:
1691
1683
  this.flipLeft();
1692
1684
  break;
1693
1685
  }
@@ -1697,7 +1689,7 @@ var Vt = class e {
1697
1689
  }
1698
1690
  handleEnterPress(e) {
1699
1691
  var t, n;
1700
- this.activated && ((t = this.iterator) != null && t.currentItem && (e.stopPropagation(), e.preventDefault(), this.iterator.currentItem.click()), b(this.activateCallback) && (n = this.iterator) != null && n.currentItem && this.activateCallback(this.iterator.currentItem));
1692
+ this.activated && ((t = this.iterator) != null && t.currentItem && (e.stopPropagation(), e.preventDefault(), this.iterator.currentItem.click()), h(this.activateCallback) && (n = this.iterator) != null && n.currentItem && this.activateCallback(this.iterator.currentItem));
1701
1693
  }
1702
1694
  scrollElementIntoView(e) {
1703
1695
  let t = e;
@@ -1716,7 +1708,7 @@ var Vt = class e {
1716
1708
  let n = e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement, r = t.key === "Tab" || t.key === "ArrowUp" || t.key === "ArrowDown" || t.key === "Enter" || t.key === "ArrowRight" || t.key === "ArrowLeft", i = e.getAttribute("data-blok-flipper-navigation-target") === "true" && r, a = e.isContentEditable, o = e.closest("[data-blok-link-tool-input-opened=\"true\"]") !== null, s = a && !this.handleContentEditableTargets;
1717
1709
  return n && !i || s || o;
1718
1710
  }
1719
- }, Ht = [
1711
+ }, Lt = [
1720
1712
  {
1721
1713
  name: "gray",
1722
1714
  text: "#787774",
@@ -1762,7 +1754,7 @@ var Vt = class e {
1762
1754
  text: "#d44c47",
1763
1755
  bg: "#fdebec"
1764
1756
  }
1765
- ], Ut = [
1757
+ ], Rt = [
1766
1758
  {
1767
1759
  name: "gray",
1768
1760
  text: "#9b9b9b",
@@ -1809,12 +1801,12 @@ var Vt = class e {
1809
1801
  bg: "#4e1a18"
1810
1802
  }
1811
1803
  ];
1812
- function Wt(e, t) {
1804
+ function zt(e, t) {
1813
1805
  return `var(--blok-color-${e}-${t})`;
1814
1806
  }
1815
1807
  //#endregion
1816
1808
  //#region src/components/utils/color-mapping.ts
1817
- function Gt(e, t, n) {
1809
+ function Bt(e, t, n) {
1818
1810
  let r = t / 100, i = n / 100;
1819
1811
  if (r === 0) {
1820
1812
  let e = Math.round(i * 255);
@@ -1834,7 +1826,7 @@ function Gt(e, t, n) {
1834
1826
  Math.round(o(c, s, l - 1 / 3) * 255)
1835
1827
  ];
1836
1828
  }
1837
- function B(e) {
1829
+ function R(e) {
1838
1830
  let t = /^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);
1839
1831
  if (t) return [
1840
1832
  parseInt(t[1], 16),
@@ -1866,10 +1858,10 @@ function B(e) {
1866
1858
  Number(a[3])
1867
1859
  ];
1868
1860
  let o = /^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%\s*(?:,\s*[\d.]+\s*)?\)$/i.exec(e);
1869
- return o ? Gt(Number(o[1]), Number(o[2]), Number(o[3])) : null;
1861
+ return o ? Bt(Number(o[1]), Number(o[2]), Number(o[3])) : null;
1870
1862
  }
1871
- var Kt = .1;
1872
- function V(e) {
1863
+ var Vt = .1;
1864
+ function z(e) {
1873
1865
  let t = e[0] / 255, n = e[1] / 255, r = e[2] / 255, i = Math.max(t, n, r), a = Math.min(t, n, r), o = (i + a) / 2;
1874
1866
  if (i === a) return [
1875
1867
  0,
@@ -1883,8 +1875,8 @@ function V(e) {
1883
1875
  o
1884
1876
  ];
1885
1877
  }
1886
- function qt(e, t) {
1887
- let n = e[1] < Kt, r = t[1] < Kt;
1878
+ function Ht(e, t) {
1879
+ let n = e[1] < Vt, r = t[1] < Vt;
1888
1880
  if (n && r) {
1889
1881
  let n = Math.abs(e[2] - t[2]);
1890
1882
  return n * n;
@@ -1893,14 +1885,14 @@ function qt(e, t) {
1893
1885
  let i = Math.abs(e[0] - t[0]), a = Math.min(i, 360 - i) / 180, o = Math.abs(e[1] - t[1]), s = Math.abs(e[2] - t[2]);
1894
1886
  return 8 * a * a + 1 * o * o + 1 * s * s;
1895
1887
  }
1896
- function H(e, t) {
1897
- let n = B(e);
1888
+ function B(e, t) {
1889
+ let n = R(e);
1898
1890
  if (n === null) return e;
1899
- let r = V(n);
1900
- return Ht.reduce((e, n) => {
1901
- let i = B(n[t]);
1891
+ let r = z(n);
1892
+ return Lt.reduce((e, n) => {
1893
+ let i = R(n[t]);
1902
1894
  if (i === null) return e;
1903
- let a = qt(r, V(i));
1895
+ let a = Ht(r, z(i));
1904
1896
  return a < e.distance ? {
1905
1897
  color: n[t],
1906
1898
  distance: a
@@ -1910,14 +1902,14 @@ function H(e, t) {
1910
1902
  distance: Infinity
1911
1903
  }).color;
1912
1904
  }
1913
- function Jt(e, t) {
1905
+ function Ut(e, t) {
1914
1906
  var n;
1915
- let r = B(e);
1907
+ let r = R(e);
1916
1908
  if (r === null) return null;
1917
- let i = V(r), a = [...Ht, ...Ut].reduce((e, n) => {
1918
- let r = B(n[t]);
1909
+ let i = z(r), a = [...Lt, ...Rt].reduce((e, n) => {
1910
+ let r = R(n[t]);
1919
1911
  if (r === null) return e;
1920
- let a = qt(i, V(r));
1912
+ let a = Ht(i, z(r));
1921
1913
  return e === null || a < e.distance ? {
1922
1914
  name: n.name,
1923
1915
  distance: a
@@ -1927,11 +1919,11 @@ function Jt(e, t) {
1927
1919
  }
1928
1920
  //#endregion
1929
1921
  //#region src/tools/table/table-cell-clipboard.ts
1930
- var U = "data-blok-table-cells";
1931
- function Yt(e, t, n) {
1922
+ var V = "data-blok-table-cells";
1923
+ function Wt(e, t, n) {
1932
1924
  return e ? `background-color: ${n}` : t ? "background-color: transparent" : "";
1933
1925
  }
1934
- function Xt(e) {
1926
+ function Gt(e) {
1935
1927
  if (e.length === 0) return {
1936
1928
  rows: 0,
1937
1929
  cols: 0,
@@ -1948,70 +1940,74 @@ function Xt(e) {
1948
1940
  cells: s
1949
1941
  };
1950
1942
  }
1951
- function Zt(e) {
1943
+ function Kt(e) {
1952
1944
  let { data: t } = e;
1953
1945
  return typeof t.text == "string" ? t.text : Array.isArray(t.items) ? t.items.filter((e) => typeof e == "string").join(" ") : "";
1954
1946
  }
1955
- function Qt(e) {
1947
+ function qt(e) {
1956
1948
  var t;
1957
1949
  let n = document.createElement("div");
1958
1950
  return n.innerHTML = e, (t = n.textContent) == null ? "" : t;
1959
1951
  }
1960
- function $t(e) {
1961
- return Qt(Zt(e));
1952
+ function Jt(e) {
1953
+ return qt(Kt(e));
1962
1954
  }
1963
- function en(e) {
1964
- return `<table ${U}='${JSON.stringify(e).replace(/'/g, "&#39;")}'>${e.cells.map((e) => `<tr>${e.map((e) => {
1965
- let t = e.blocks.map(Zt).join(" "), n = [e.color ? `background-color: ${e.color}` : "", e.textColor ? `color: ${e.textColor}` : ""].filter(Boolean).join("; ");
1955
+ function Yt(e) {
1956
+ return `<table ${V}='${JSON.stringify(e).replace(/'/g, "&#39;")}'>${e.cells.map((e) => `<tr>${e.map((e) => {
1957
+ let t = e.blocks.map(Kt).join(" "), n = [e.color ? `background-color: ${e.color}` : "", e.textColor ? `color: ${e.textColor}` : ""].filter(Boolean).join("; ");
1966
1958
  return `<td${n ? ` style="${n}"` : ""}>${t}</td>`;
1967
1959
  }).join("")}</tr>`).join("")}</table>`;
1968
1960
  }
1969
- function tn(e) {
1970
- return e.cells.map((e) => e.map((e) => e.blocks.map($t).join(" ")).join(" ")).join("\n");
1961
+ function Xt(e) {
1962
+ return e.cells.map((e) => e.map((e) => e.blocks.map(Jt).join(" ")).join(" ")).join("\n");
1971
1963
  }
1972
- var nn = new Set(["color", "background-color"]), rn = {
1964
+ var Zt = new Set(["color", "background-color"]), Qt = {
1973
1965
  b: !0,
1974
1966
  strong: !0,
1975
1967
  i: !0,
1976
1968
  em: !0,
1977
1969
  br: !0,
1978
- a: { href: !0 },
1970
+ a: {
1971
+ href: !0,
1972
+ target: "_blank",
1973
+ rel: "nofollow"
1974
+ },
1979
1975
  mark: (e) => {
1980
1976
  let t = e.style, n = Array.from({ length: t.length }, (e, n) => t.item(n));
1981
- for (let e of n) nn.has(e) || t.removeProperty(e);
1977
+ for (let e of n) Zt.has(e) || t.removeProperty(e);
1982
1978
  return t.length > 0 ? { style: !0 } : {};
1983
1979
  }
1984
1980
  };
1985
- function W(e) {
1981
+ function H(e) {
1986
1982
  let t = e.replace(/\s/g, "");
1987
1983
  return t === "rgb(0,0,0)" || t === "#000000";
1988
1984
  }
1989
- function an(e) {
1985
+ function $t(e) {
1990
1986
  let t = e.cloneNode(!0);
1991
1987
  for (let e of Array.from(t.querySelectorAll("span"))) {
1992
1988
  var n, r, i;
1993
- let t = (n = e.getAttribute("style")) == null ? "" : n, a = /font-weight\s*:\s*(700|bold)/i.test(t), o = /font-style\s*:\s*italic/i.test(t), s = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(t), c = /background-color\s*:\s*([^;]+)/i.exec(t), l = s == null || (r = s[1]) == null ? void 0 : r.trim(), u = c == null || (i = c[1]) == null ? void 0 : i.trim(), d = l !== void 0 && !W(l), f = u !== void 0 && u !== "transparent";
1989
+ let t = (n = e.getAttribute("style")) == null ? "" : n, a = /font-weight\s*:\s*(700|bold)/i.test(t), o = /font-style\s*:\s*italic/i.test(t), s = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(t), c = /background-color\s*:\s*([^;]+)/i.exec(t), l = s == null || (r = s[1]) == null ? void 0 : r.trim(), u = c == null || (i = c[1]) == null ? void 0 : i.trim(), d = l !== void 0 && !H(l), f = u !== void 0 && u !== "transparent";
1994
1990
  if (!a && !o && !d && !f) continue;
1995
- let p = d ? H(l, "text") : "", m = f ? H(u, "bg") : "", h = [d ? `color: ${p}` : "", Yt(f, d, m)].filter(Boolean).join("; "), g = e.innerHTML, _ = h ? `<mark style="${h};">${g}</mark>` : g, v = o ? `<i>${_}</i>` : _, ee = a ? `<b>${v}</b>` : v;
1996
- e.replaceWith(document.createRange().createContextualFragment(ee));
1991
+ let p = d ? B(l, "text") : "", m = f ? B(u, "bg") : "", h = [d ? `color: ${p}` : "", Wt(f, d, m)].filter(Boolean).join("; "), g = e.innerHTML, _ = h ? `<mark style="${h};">${g}</mark>` : g, v = o ? `<i>${_}</i>` : _, y = a ? `<b>${v}</b>` : v;
1992
+ e.replaceWith(document.createRange().createContextualFragment(y));
1997
1993
  }
1998
1994
  for (let e of Array.from(t.querySelectorAll("a[style]"))) {
1999
1995
  var a, o, s;
2000
- let t = (a = e.getAttribute("style")) == null ? "" : a, n = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(t), r = /background-color\s*:\s*([^;]+)/i.exec(t), i = n == null || (o = n[1]) == null ? void 0 : o.trim(), c = r == null || (s = r[1]) == null ? void 0 : s.trim(), l = i !== void 0 && !W(i) && i !== "inherit", u = c !== void 0 && c !== "transparent" && c !== "inherit";
1996
+ let t = (a = e.getAttribute("style")) == null ? "" : a, n = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(t), r = /background-color\s*:\s*([^;]+)/i.exec(t), i = n == null || (o = n[1]) == null ? void 0 : o.trim(), c = r == null || (s = r[1]) == null ? void 0 : s.trim(), l = i !== void 0 && !H(i) && i !== "inherit", u = c !== void 0 && c !== "transparent" && c !== "inherit";
2001
1997
  if (!l && !u) continue;
2002
- let d = l ? H(i, "text") : "", f = u ? H(c, "bg") : "", p = [l ? `color: ${d}` : "", Yt(u, l, f)].filter(Boolean).join("; "), m = e;
1998
+ let d = l ? B(i, "text") : "", f = u ? B(c, "bg") : "", p = [l ? `color: ${d}` : "", Wt(u, l, f)].filter(Boolean).join("; "), m = e;
2003
1999
  m.innerHTML = `<mark style="${p};">${m.innerHTML}</mark>`, m.style.removeProperty("color"), m.style.removeProperty("background-color");
2004
2000
  }
2005
2001
  for (let e of Array.from(t.querySelectorAll("p"))) {
2006
2002
  let t = document.createRange().createContextualFragment(e.innerHTML + "<br>");
2007
2003
  e.replaceWith(t);
2008
2004
  }
2009
- return I(t.innerHTML, rn).replace(/(<br\s*\/?>|\s)+$/i, "").trim();
2005
+ return P(t.innerHTML, Qt).replace(/(<br\s*\/?>|\s)+$/i, "").trim();
2010
2006
  }
2011
- function on(e) {
2007
+ function en(e) {
2012
2008
  if (!e) return null;
2013
2009
  let t = new DOMParser().parseFromString(e, "text/html").querySelector("table");
2014
- if (!t || t.hasAttribute(U)) return null;
2010
+ if (!t || t.hasAttribute(V)) return null;
2015
2011
  let n = t.querySelectorAll("tr");
2016
2012
  if (n.length === 0) return null;
2017
2013
  let r = [];
@@ -2019,16 +2015,16 @@ function on(e) {
2019
2015
  let t = e.querySelectorAll("td, th"), n = [];
2020
2016
  t.forEach((e) => {
2021
2017
  var t;
2022
- let r = an(e).split(/<br\s*\/?>/i).map((e) => e.trim()).filter(Boolean), i = { blocks: r.length > 0 ? r.map((e) => ({
2018
+ let r = $t(e).split(/<br\s*\/?>/i).map((e) => e.trim()).filter(Boolean), i = { blocks: r.length > 0 ? r.map((e) => ({
2023
2019
  tool: "paragraph",
2024
2020
  data: { text: e }
2025
2021
  })) : [{
2026
2022
  tool: "paragraph",
2027
2023
  data: { text: "" }
2028
2024
  }] }, a = (t = e.getAttribute("style")) == null ? "" : t, o = /background-color\s*:\s*([^;]+)/i.exec(a);
2029
- o != null && o[1] && (i.color = H(o[1].trim(), "bg"));
2025
+ o != null && o[1] && (i.color = B(o[1].trim(), "bg"));
2030
2026
  let s = (/* @__PURE__ */ RegExp("(?<![a-z-])color\\s*:\\s*([^;]+)", "i")).exec(a);
2031
- s != null && s[1] && !W(s[1].trim()) && (i.textColor = H(s[1].trim(), "text")), n.push(i);
2027
+ s != null && s[1] && !H(s[1].trim()) && (i.textColor = B(s[1].trim(), "text")), n.push(i);
2032
2028
  }), r.push(n);
2033
2029
  });
2034
2030
  let i = Math.max(0, ...r.map((e) => e.length));
@@ -2043,8 +2039,8 @@ function on(e) {
2043
2039
  cells: r
2044
2040
  };
2045
2041
  }
2046
- function sn(e) {
2047
- let t = RegExp(`${U}='([^']*)'|${U}="([^"]*)"`, "s").exec(e);
2042
+ function tn(e) {
2043
+ let t = RegExp(`${V}='([^']*)'|${V}="([^"]*)"`, "s").exec(e);
2048
2044
  if (!t) return null;
2049
2045
  try {
2050
2046
  var n;
@@ -2057,47 +2053,25 @@ function sn(e) {
2057
2053
  }
2058
2054
  }
2059
2055
  //#endregion
2060
- //#region \0@oxc-project+runtime@0.115.0/helpers/objectWithoutPropertiesLoose.js
2061
- function cn(e, t) {
2062
- if (e == null) return {};
2063
- var n = {};
2064
- for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
2065
- if (t.includes(r)) continue;
2066
- n[r] = e[r];
2067
- }
2068
- return n;
2069
- }
2070
- //#endregion
2071
- //#region \0@oxc-project+runtime@0.115.0/helpers/objectWithoutProperties.js
2072
- function ln(e, t) {
2073
- if (e == null) return {};
2074
- var n, r, i = cn(e, t);
2075
- if (Object.getOwnPropertySymbols) {
2076
- var a = Object.getOwnPropertySymbols(e);
2077
- for (r = 0; r < a.length; r++) n = a[r], t.includes(n) || {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
2078
- }
2079
- return i;
2080
- }
2081
- //#endregion
2082
2056
  //#region src/components/icons/index.ts
2083
- var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m5 15 10-10m0 10L5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", dn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n transform=\"translate(0,-1)\"\n d=\"M6 11h4.9231c.6528 0 1.2789-.3161 1.7405-.8787.4617-.56259.721-1.32565.721-2.1213 0-.79565-.2593-1.55871-.721-2.12132C12.202 5.31607 11.5759 5 10.9231 5H6v6Zm0 0h5.5385c.6528 0 1.2789.3161 1.7405.8787.4617.5626.721 1.3257.721 2.1213 0 .7956-.2593 1.5587-.721 2.1213-.4616.5626-1.0877.8787-1.7405.8787H6v-6Z\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", fn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M8.5 4h6m-10 12h6m1-12-4 12\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", pn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.5 11.5a3.5 3.5 0 0 0 5 0l2-2a3.536 3.536 0 0 0-5-5l-1 1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11.5 8.5a3.5 3.5 0 0 0-5 0l-2 2a3.536 3.536 0 0 0 5 5l1-1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", mn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"1.25\" y=\"1.25\" width=\"17.5\" height=\"17.5\" rx=\"4.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M6.5 14.5L10 5.5l3.5 9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8.5 11h3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", hn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.5 3.5v7.5a4.5 4.5 0 0 0 9 0V3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M3.5 18.5h13\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", gn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10h12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M8.2 10c-1-.5-1.8-1.27-1.8-2.4 0-1.99 1.61-3.6 3.6-3.6s3.6 1.61 3.6 3.6\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11.8 10c1 .5 1.8 1.27 1.8 2.4 0 1.99-1.61 3.6-3.6 3.6s-3.6-1.61-3.6-3.6\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", _n = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M14.5 6.5l2-2-2-2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16.5 4.5h-4a5 5 0 0 0-5 5v1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M5.5 13.5l-2 2 2 2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M3.5 15.5h4a5 5 0 0 0 5-5v-1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", vn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"7.5\" cy=\"5.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"5.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"7.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"7.5\" cy=\"14.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"14.5\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", yn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 10h11M10 4.5v11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", bn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m12 5-5 5 5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", xn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m8 5 5 5-5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"9\" cy=\"9\" r=\"4.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"m12.5 12.5 3.5 3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Cn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.1667 5 2.5-1.66667V15\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", wn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m7.5 10h-3.3333c0-3.3333 3.3333-2.5 3.3333-5 0-1.25-1.6667-2.08333-3.3333-.83333\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Tn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.5833 3.75C16 7.91667 17.5 8.75 17.5 10c0 .442-.1756.866-.4882 1.1785-.3125.3126-.7364.4882-1.1785.4882.4421 0 .866.1756 1.1785.4881.3126.3126.4882.7365.4882 1.1785 0 1.5-1.6667 2.5-3.3333 1.25\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", En = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M10 15V5M14.1667 8.33333V10.8333C14.1667 11.0543 14.2545 11.2663 14.4107 11.4226C14.567 11.5789 14.779 11.6667 15 11.6667H17.5M17.5 8.33333V15M3.33334 10H10M3.33334 15V5\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Dn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10M3.33334 15V5M10 15V5M17.5 8.33333H14.1667V10.8333H15.25C16.5 10.8333 17.5 11.75 17.5 12.9167C17.5 14.0833 16.5 15 15.25 15C14.8333 15 14.5 14.9167 14.1667 14.75\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", On = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.1667 8.3333c0 .9205.7462 1.6667 1.6666 1.6667.9205 0 1.6667-.7462 1.6667-1.6667 0-.9204-.7462-1.6666-1.6667-1.6666-.9204 0-1.6666.7462-1.6666 1.6666Zm0 0c0-2.0833.8333-3.3333 2.5-4.99997\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", kn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M14.5 7.28571V6h-9v1.28571M10 6v9m0 0H8.71429M10 15h1.2857\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", An = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4 3 16h14Z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M10 8.5v3.5m0 2v.01\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", jn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3 3l3 2-3 2M9 5h8M6 10h11M6 15h11\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Mn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M8 5h9M8 10h9M8 15h9\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n />\n <circle cx=\"4\" cy=\"5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4\" cy=\"15\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", Nn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 5h9M8 10h9M8 15h9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <text x=\"4\" y=\"6\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">1</text>\n <text x=\"4\" y=\"11\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">2</text>\n <text x=\"4\" y=\"16\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">3</text>\n</svg>\n", Pn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M10 5h7M10 10h7M10 15h7M3 5l1 1 2-2M3 10l1 1 2-2M3 15l1 1 2-2\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Fn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", In = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 4h11A1.5 1.5 0 0 1 17 5.5V8H3V5.5A1.5 1.5 0 0 1 4.5 4Z\" fill=\"currentColor\"/>\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", Ln = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 4H7.5v12H4.5A1.5 1.5 0 0 1 3 14.5v-9A1.5 1.5 0 0 1 4.5 4Z\" fill=\"currentColor\"/>\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", Rn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4l-3 3m3-3l3 3M10 4v7M5 16h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", zn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 16l-3-3m3 3l3-3M10 16V9M5 4h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Bn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10l3-3M4 10l3 3M4 10h7M16 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Vn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16 10l-3-3m3 3l-3 3M16 10H9M4 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Hn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"7\" y=\"7\" width=\"9\" height=\"9\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M5 13h-.5A1.5 1.5 0 0 1 3 11.5v-7A1.5 1.5 0 0 1 4.5 3h7A1.5 1.5 0 0 1 13 4.5V5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", Un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M12.5 5.5l2 2M4.5 13.5l8-8 2 2-8 8H4.5v-2z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Wn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 6.5h11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M8 6.5V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M6.5 6.5l.5 8.5a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1l.5-8.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8.5 9.5v3.5M11.5 9.5v3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Gn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5m3.5 5 2-1.5V15\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Kn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5m7 10h-3c0-3 3-2.25 3-4.5 0-1.125-1.5-1.875-3-.75\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", qn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11 8.5c1.25-.75 2.5-.25 2.5.75 0 .75-1 1.25-1 1.25s1 .5 1 1.25c0 1-1.25 1.5-2.5.75\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Jn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M10 4C8 6 7.5 8 7.5 10C7.5 12 8 14 10 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M10 4C12 6 12.5 8 12.5 10C12.5 12 12 14 10 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M4 10H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Yn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"5.5\" width=\"14\" height=\"9\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M3 8L10 10L17 8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Xn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M7.5 4L7.5 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M12.5 4L12.5 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M4 8H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M4 12H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Zn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 4v12\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n <path d=\"M9 6h7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M9 10h7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M9 14h5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Qn = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"/><line x1=\"9\" y1=\"10\" x2=\"15\" y2=\"10\"/><line x1=\"12\" y1=\"7\" x2=\"12\" y2=\"13\"/></svg>", $n = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\n <rect x=\"2.5\" y=\"3\" width=\"12\" height=\"6\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M14.5 6H16a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-6a1 1 0 0 0-1 1V14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <rect x=\"8\" y=\"14\" width=\"3\" height=\"3.5\" rx=\"0.75\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>", er = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10h12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", tr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 3l2.2 4.4 4.8.7-3.5 3.4.8 4.8L10 14l-4.3 2.3.8-4.8L3 8.1l4.8-.7L10 3z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", nr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <circle cx=\"7.5\" cy=\"8.5\" r=\"0.75\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"8.5\" r=\"0.75\" fill=\"currentColor\"/>\n <path d=\"M7.5 12a3 3 0 0 0 5 0\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", rr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 17v-7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M10 13c-3 0-6-2-6-5 3 0 6 2 6 5z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M10 10c3 0 6-2.5 6-5.5-3 0-6 2.5-6 5.5z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", ir = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 3v4c0 1.1.9 2 2 2v8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M9 3v4c0 1.1-.9 2-2 2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M7 3v3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M13 3v14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M13 3c1.7 0 3 1.5 3 3.5S13 10 13 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", ar = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M10 7.5l2.4 1.7-.9 2.8h-3l-.9-2.8z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M10 7.5V4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M12.4 9.2l3.1-1.1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M11.5 12l2 2.6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M8.5 12l-2 2.6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M7.6 9.2l-3.1-1.1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", or = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <ellipse cx=\"10\" cy=\"10\" rx=\"2.75\" ry=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3.5 10h13\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", sr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 13.5c-.25-1.5-1.5-3.5-2.5-5.5a4.5 4.5 0 0 1 9 0c-1 2-2.25 4-2.5 5.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8 13.5v1.75c0 .41.34.75.75.75h2.5c.41 0 .75-.34.75-.75V13.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M8 14.75h4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M9.25 11l.75-3 .75 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <circle cx=\"10\" cy=\"7\" r=\"1\" stroke=\"currentColor\" stroke-width=\"1\"/>\n</svg>\n", cr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.5 5l-1 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M12.5 5l-1 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 8h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 12h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", lr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 17V3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 3c2 0 3 1.5 5 1.5S14 3 16 3v8c-2 0-3 1.5-5 1.5S7 11 5 11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", ur = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <ellipse cx=\"10\" cy=\"5.5\" rx=\"6\" ry=\"2.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M4 5.5v4c0 1.38 2.69 2.5 6 2.5s6-1.12 6-2.5v-4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M4 9.5v4c0 1.38 2.69 2.5 6 2.5s6-1.12 6-2.5v-4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", dr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <rect x=\"4.5\" y=\"6\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n <rect x=\"4.5\" y=\"9\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n <rect x=\"9\" y=\"6\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n <rect x=\"14\" y=\"6\" width=\"1.5\" height=\"2\" rx=\"0.5\" fill=\"currentColor\"/>\n</svg>\n", fr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"6\" height=\"5\" rx=\"1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <rect x=\"11\" y=\"4\" width=\"6\" height=\"5\" rx=\"1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <rect x=\"3\" y=\"11\" width=\"6\" height=\"5\" rx=\"1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <rect x=\"11\" y=\"11\" width=\"6\" height=\"5\" rx=\"1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", pr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"4.5\" cy=\"6.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4.5\" cy=\"13.5\" r=\"1\" fill=\"currentColor\"/>\n <path d=\"M7.5 6.5h9M7.5 10h9M7.5 13.5h9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", mr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4.5\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8.5h14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M7 3v3M13 3v3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <circle cx=\"7\" cy=\"12\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"10\" cy=\"12\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"13\" cy=\"12\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", G = {
2057
+ var nn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m5 15 10-10m0 10L5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", rn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n transform=\"translate(0,-1)\"\n d=\"M6 11h4.9231c.6528 0 1.2789-.3161 1.7405-.8787.4617-.56259.721-1.32565.721-2.1213 0-.79565-.2593-1.55871-.721-2.12132C12.202 5.31607 11.5759 5 10.9231 5H6v6Zm0 0h5.5385c.6528 0 1.2789.3161 1.7405.8787.4617.5626.721 1.3257.721 2.1213 0 .7956-.2593 1.5587-.721 2.1213-.4616.5626-1.0877.8787-1.7405.8787H6v-6Z\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", an = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M8.5 4h6m-10 12h6m1-12-4 12\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", on = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.5 11.5a3.5 3.5 0 0 0 5 0l2-2a3.536 3.536 0 0 0-5-5l-1 1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11.5 8.5a3.5 3.5 0 0 0-5 0l-2 2a3.536 3.536 0 0 0 5 5l1-1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"1.25\" y=\"1.25\" width=\"17.5\" height=\"17.5\" rx=\"4.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M6.5 14.5L10 5.5l3.5 9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8.5 11h3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", cn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.5 3.5v7.5a4.5 4.5 0 0 0 9 0V3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M3.5 18.5h13\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", ln = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10h12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M8.2 10c-1-.5-1.8-1.27-1.8-2.4 0-1.99 1.61-3.6 3.6-3.6s3.6 1.61 3.6 3.6\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11.8 10c1 .5 1.8 1.27 1.8 2.4 0 1.99-1.61 3.6-3.6 3.6s-3.6-1.61-3.6-3.6\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M14.5 6.5l2-2-2-2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16.5 4.5h-4a5 5 0 0 0-5 5v1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M5.5 13.5l-2 2 2 2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M3.5 15.5h4a5 5 0 0 0 5-5v-1\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", dn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"7.5\" cy=\"5.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"5.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"7.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"7.5\" cy=\"14.5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"14.5\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", fn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 10h11M10 4.5v11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", pn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m12 5-5 5 5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", mn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m8 5 5 5-5 5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", hn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"9\" cy=\"9\" r=\"4.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"m12.5 12.5 3.5 3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", gn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.1667 5 2.5-1.66667V15\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", _n = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m7.5 10h-3.3333c0-3.3333 3.3333-2.5 3.3333-5 0-1.25-1.6667-2.08333-3.3333-.83333\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", vn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.5833 3.75C16 7.91667 17.5 8.75 17.5 10c0 .442-.1756.866-.4882 1.1785-.3125.3126-.7364.4882-1.1785.4882.4421 0 .866.1756 1.1785.4881.3126.3126.4882.7365.4882 1.1785 0 1.5-1.6667 2.5-3.3333 1.25\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", yn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M10 15V5M14.1667 8.33333V10.8333C14.1667 11.0543 14.2545 11.2663 14.4107 11.4226C14.567 11.5789 14.779 11.6667 15 11.6667H17.5M17.5 8.33333V15M3.33334 10H10M3.33334 15V5\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", bn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10M3.33334 15V5M10 15V5M17.5 8.33333H14.1667V10.8333H15.25C16.5 10.8333 17.5 11.75 17.5 12.9167C17.5 14.0833 16.5 15 15.25 15C14.8333 15 14.5 14.9167 14.1667 14.75\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", xn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3.33334 10H10m-6.66666 5V5M10 15V5m4.1667 8.3333c0 .9205.7462 1.6667 1.6666 1.6667.9205 0 1.6667-.7462 1.6667-1.6667 0-.9204-.7462-1.6666-1.6667-1.6666-.9204 0-1.6666.7462-1.6666 1.6666Zm0 0c0-2.0833.8333-3.3333 2.5-4.99997\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Sn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M14.5 7.28571V6h-9v1.28571M10 6v9m0 0H8.71429M10 15h1.2857\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Cn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4 3 16h14Z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M10 8.5v3.5m0 2v.01\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", wn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M3 3l3 2-3 2M9 5h8M6 10h11M6 15h11\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", Tn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M8 5h9M8 10h9M8 15h9\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n />\n <circle cx=\"4\" cy=\"5\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4\" cy=\"10\" r=\"1\" fill=\"currentColor\"/>\n <circle cx=\"4\" cy=\"15\" r=\"1\" fill=\"currentColor\"/>\n</svg>\n", En = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 5h9M8 10h9M8 15h9\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <text x=\"4\" y=\"6\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">1</text>\n <text x=\"4\" y=\"11\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">2</text>\n <text x=\"4\" y=\"16\" fill=\"currentColor\" font-size=\"5\" font-family=\"sans-serif\" text-anchor=\"middle\" dominant-baseline=\"central\">3</text>\n</svg>\n", Dn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n d=\"M10 5h7M10 10h7M10 15h7M3 5l1 1 2-2M3 10l1 1 2-2M3 15l1 1 2-2\"\n stroke=\"currentColor\"\n stroke-width=\"1.25\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n</svg>\n", On = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", kn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 4h11A1.5 1.5 0 0 1 17 5.5V8H3V5.5A1.5 1.5 0 0 1 4.5 4Z\" fill=\"currentColor\"/>\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", An = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 4H7.5v12H4.5A1.5 1.5 0 0 1 3 14.5v-9A1.5 1.5 0 0 1 4.5 4Z\" fill=\"currentColor\"/>\n <rect x=\"3\" y=\"4\" width=\"14\" height=\"12\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3 8h14M3 12h14M7.5 4v12M12.5 4v12\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", jn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 4l-3 3m3-3l3 3M10 4v7M5 16h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Mn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 16l-3-3m3 3l3-3M10 16V9M5 4h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Nn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10l3-3M4 10l3 3M4 10h7M16 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Pn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16 10l-3-3m3 3l-3 3M16 10H9M4 5v10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Fn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"7\" y=\"7\" width=\"9\" height=\"9\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M5 13h-.5A1.5 1.5 0 0 1 3 11.5v-7A1.5 1.5 0 0 1 4.5 3h7A1.5 1.5 0 0 1 13 4.5V5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", In = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4.5 6.5h11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M8 6.5V5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v1.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M6.5 6.5l.5 8.5a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1l.5-8.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8.5 9.5v3.5M11.5 9.5v3.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Ln = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5m3.5 5 2-1.5V15\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Rn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5m7 10h-3c0-3 3-2.25 3-4.5 0-1.125-1.5-1.875-3-.75\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", zn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M2.5 10h5M2.5 15V5M7.5 15V5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M11 8.5c1.25-.75 2.5-.25 2.5.75 0 .75-1 1.25-1 1.25s1 .5 1 1.25c0 1-1.25 1.5-2.5.75\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M16 7l2.5 3-2.5 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Bn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M10 4C8 6 7.5 8 7.5 10C7.5 12 8 14 10 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M10 4C12 6 12.5 8 12.5 10C12.5 12 12 14 10 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M4 10H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Vn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <rect x=\"3\" y=\"5.5\" width=\"14\" height=\"9\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M3 8L10 10L17 8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Hn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M7.5 4L7.5 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M12.5 4L12.5 16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M4 8H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M4 12H16\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 4v12\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\"/>\n <path d=\"M9 6h7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M9 10h7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M9 14h5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Wn = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z\"/><line x1=\"9\" y1=\"10\" x2=\"15\" y2=\"10\"/><line x1=\"12\" y1=\"7\" x2=\"12\" y2=\"13\"/></svg>", Gn = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\">\n <rect x=\"2.5\" y=\"3\" width=\"12\" height=\"6\" rx=\"1.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M14.5 6H16a1 1 0 0 1 1 1v3.5a1 1 0 0 1-1 1h-6a1 1 0 0 0-1 1V14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <rect x=\"8\" y=\"14\" width=\"3\" height=\"3.5\" rx=\"0.75\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>", Kn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 10h12\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", qn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m7 6-4 4 4 4m6-8 4 4-4 4\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Jn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"m6 7-3 3 3 3m8-6 3 3-3 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"m12 5-4 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Yn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 6h12M4 10h8a2 2 0 0 1 2 2v0a2 2 0 0 1-2 2H9m0 0 2-2m-2 2 2 2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Xn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 3l2.2 4.4 4.8.7-3.5 3.4.8 4.8L10 14l-4.3 2.3.8-4.8L3 8.1l4.8-.7L10 3z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", Zn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <circle cx=\"7.5\" cy=\"8.5\" r=\"0.75\" fill=\"currentColor\"/>\n <circle cx=\"12.5\" cy=\"8.5\" r=\"0.75\" fill=\"currentColor\"/>\n <path d=\"M7.5 12a3 3 0 0 0 5 0\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", Qn = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M10 17v-7\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M10 13c-3 0-6-2-6-5 3 0 6 2 6 5z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M10 10c3 0 6-2.5 6-5.5-3 0-6 2.5-6 5.5z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", $n = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 3v4c0 1.1.9 2 2 2v8\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M9 3v4c0 1.1-.9 2-2 2\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M7 3v3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M13 3v14\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M13 3c1.7 0 3 1.5 3 3.5S13 10 13 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n</svg>\n", er = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M10 7.5l2.4 1.7-.9 2.8h-3l-.9-2.8z\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M10 7.5V4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M12.4 9.2l3.1-1.1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M11.5 12l2 2.6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M8.5 12l-2 2.6\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M7.6 9.2l-3.1-1.1\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", tr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <circle cx=\"10\" cy=\"10\" r=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <ellipse cx=\"10\" cy=\"10\" rx=\"2.75\" ry=\"6.5\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M3.5 10h13\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n</svg>\n", nr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 13.5c-.25-1.5-1.5-3.5-2.5-5.5a4.5 4.5 0 0 1 9 0c-1 2-2.25 4-2.5 5.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M8 13.5v1.75c0 .41.34.75.75.75h2.5c.41 0 .75-.34.75-.75V13.5\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linejoin=\"round\"/>\n <path d=\"M8 14.75h4\" stroke=\"currentColor\" stroke-width=\"1.25\"/>\n <path d=\"M9.25 11l.75-3 .75 3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <circle cx=\"10\" cy=\"7\" r=\"1\" stroke=\"currentColor\" stroke-width=\"1\"/>\n</svg>\n", rr = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8.5 5l-1 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M12.5 5l-1 10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 8h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 12h10\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n</svg>\n", ir = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5 17V3\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\"/>\n <path d=\"M5 3c2 0 3 1.5 5 1.5S14 3 16 3v8c-2 0-3 1.5-5 1.5S7 11 5 11\" stroke=\"currentColor\" stroke-width=\"1.25\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n", U = {
2084
2058
  root: "",
2085
2059
  alignedStart: "text-start",
2086
2060
  alignedCenter: "text-center",
2087
2061
  title: "",
2088
2062
  description: "opacity-60 mt-[3px]"
2089
- }, hr = class {
2063
+ }, ar = class {
2090
2064
  constructor(e) {
2091
2065
  let t = e.alignment === "center" ? "center" : "start";
2092
2066
  this.nodes = {
2093
- root: O.make("div", [G.root, t === "center" ? G.alignedCenter : G.alignedStart]),
2094
- title: O.make("div", G.title, { textContent: e.title })
2095
- }, this.nodes.root.setAttribute("data-alignment", t), this.nodes.root.appendChild(this.nodes.title), e.description !== void 0 && (this.nodes.description = O.make("div", G.description, { textContent: e.description }), this.nodes.root.appendChild(this.nodes.description));
2067
+ root: E.make("div", [U.root, t === "center" ? U.alignedCenter : U.alignedStart]),
2068
+ title: E.make("div", U.title, { textContent: e.title })
2069
+ }, this.nodes.root.setAttribute("data-alignment", t), this.nodes.root.appendChild(this.nodes.title), e.description !== void 0 && (this.nodes.description = E.make("div", U.description, { textContent: e.description }), this.nodes.root.appendChild(this.nodes.description));
2096
2070
  }
2097
2071
  getElement() {
2098
2072
  return this.nodes.root;
2099
2073
  }
2100
- }, gr = class {
2074
+ }, or = class {
2101
2075
  constructor(e) {
2102
2076
  this.params = e;
2103
2077
  }
@@ -2105,7 +2079,7 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2105
2079
  if (this.params !== void 0 && "name" in this.params) return this.params.name;
2106
2080
  }
2107
2081
  destroy() {
2108
- Mt();
2082
+ Dt();
2109
2083
  }
2110
2084
  onChildrenOpen() {
2111
2085
  var e;
@@ -2120,7 +2094,7 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2120
2094
  this.params !== void 0 && "onActivate" in this.params && ((e = (t = this.params).onActivate) == null || e.call(t, this.params));
2121
2095
  }
2122
2096
  addHint(e, t) {
2123
- Nt(e, new hr(t).getElement(), { placement: t.position });
2097
+ Ot(e, new ar(t).getElement(), { placement: t.position });
2124
2098
  }
2125
2099
  getMountElement() {
2126
2100
  return this.getElement();
@@ -2162,15 +2136,15 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2162
2136
  get isActive() {
2163
2137
  return this.params === void 0 || !("isActive" in this.params) ? !1 : typeof this.params.isActive == "function" ? this.params.isActive() : this.params.isActive === !0;
2164
2138
  }
2165
- }, K = {
2139
+ }, W = {
2166
2140
  item: "flex items-center select-none border-none bg-transparent rounded-lg px-2 py-1 text-text-primary mb-px outline-hidden max-h-9 overflow-hidden data-blok-popover-item-active:bg-icon-active-bg data-blok-popover-item-active:text-icon-active-text can-hover:hover:cursor-pointer can-hover:hover:bg-item-hover-bg data-blok-force-hover:cursor-pointer data-blok-force-hover:bg-item-hover-bg data-[blok-focused=\"true\"]:bg-item-focus-bg data-blok-popover-item-no-hover:hover:bg-transparent data-blok-popover-item-no-hover:cursor-default can-hover:data-blok-popover-item-destructive:hover:text-item-destructive-text can-hover:data-blok-popover-item-destructive:hover:bg-item-destructive-hover-bg [&[data-blok-popover-item-destructive][data-blok-force-hover]]:text-item-destructive-text [&[data-blok-popover-item-destructive][data-blok-force-hover]]:bg-item-destructive-hover-bg [&[data-blok-popover-item-destructive][data-blok-focused=\"true\"]]:text-item-destructive-text [&[data-blok-popover-item-destructive][data-blok-focused=\"true\"]]:bg-item-destructive-hover-bg",
2167
2141
  itemDisabled: "cursor-default pointer-events-none text-text-secondary",
2168
2142
  icon: "flex items-center justify-center w-7 h-7 shrink-0 rounded-lg bg-popover-icon-bg [&_svg]:w-icon [&_svg]:h-icon",
2169
2143
  focused: "is-focused"
2170
- }, _r = {
2144
+ }, sr = {
2171
2145
  item: "rounded-lg p-1",
2172
2146
  itemIconOnly: "aspect-square justify-center"
2173
- }, vr = { item: "rounded p-[3px] mobile:p-1" }, q = class extends gr {
2147
+ }, cr = { item: "rounded p-[3px] mobile:p-1" }, G = class extends or {
2174
2148
  get isDisabled() {
2175
2149
  return this.params.isDisabled === !0;
2176
2150
  }
@@ -2190,7 +2164,7 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2190
2164
  return this.confirmationState !== null;
2191
2165
  }
2192
2166
  get isFocused() {
2193
- return this.nodes.root === null ? !1 : this.nodes.root.hasAttribute(f.focused);
2167
+ return this.nodes.root === null ? !1 : this.nodes.root.hasAttribute(a.focused);
2194
2168
  }
2195
2169
  constructor(e, t) {
2196
2170
  super(e), this.params = e, this.nodes = {
@@ -2217,7 +2191,7 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2217
2191
  }
2218
2192
  toggleActive(e) {
2219
2193
  if (this.nodes.root === null) return;
2220
- let t = this.nodes.root.hasAttribute(f.popoverItemActive), n = e === void 0 ? !t : e;
2194
+ let t = this.nodes.root.hasAttribute(a.popoverItemActive), n = e === void 0 ? !t : e;
2221
2195
  this.setActive(n);
2222
2196
  }
2223
2197
  toggleHidden(e) {
@@ -2229,70 +2203,70 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2229
2203
  onFocus() {
2230
2204
  this.disableSpecialHoverAndFocusBehavior();
2231
2205
  }
2232
- createRootElement(t, n) {
2206
+ createRootElement(e, t) {
2233
2207
  var r, i;
2234
- let a = (r = n == null ? void 0 : n.wrapperTag) == null ? "div" : r, o = document.createElement(a);
2235
- if (a === "button" && o.setAttribute("type", "button"), o.className = this.getContainerClass(), o.setAttribute(f.popoverItem, ""), o.setAttribute("data-blok-testid", "popover-item"), t.name && o.setAttribute("data-blok-item-name", t.name), t.dataset && Object.entries(t.dataset).forEach(([e, t]) => {
2236
- o.setAttribute(`data-${e}`, t);
2237
- }), t.isDisabled && o.setAttribute(f.disabled, "true"), "isDestructive" in t && t.isDestructive && o.setAttribute(f.popoverItemDestructive, "true"), this.isActive && o.setAttribute(f.popoverItemActive, "true"), this.hasChildren && o.setAttribute(f.hasChildren, "true"), this.createContentElements(o, t, n), t.hint !== void 0 && (n == null || (i = n.hint) == null ? void 0 : i.enabled) !== !1 && t.hint !== void 0) {
2238
- var s, c;
2239
- this.addHint(o, e(e({}, t.hint), {}, {
2240
- position: (n == null || (s = n.hint) == null ? void 0 : s.position) || "right",
2241
- alignment: (n == null || (c = n.hint) == null ? void 0 : c.alignment) || "center"
2208
+ let o = (r = t == null ? void 0 : t.wrapperTag) == null ? "div" : r, s = document.createElement(o);
2209
+ if (o === "button" && s.setAttribute("type", "button"), s.className = this.getContainerClass(), s.setAttribute(a.popoverItem, ""), s.setAttribute("data-blok-testid", "popover-item"), e.name && s.setAttribute("data-blok-item-name", e.name), e.dataset && Object.entries(e.dataset).forEach(([e, t]) => {
2210
+ s.setAttribute(`data-${e}`, t);
2211
+ }), e.isDisabled && s.setAttribute(a.disabled, "true"), "isDestructive" in e && e.isDestructive && s.setAttribute(a.popoverItemDestructive, "true"), this.isActive && s.setAttribute(a.popoverItemActive, "true"), this.hasChildren && s.setAttribute(a.hasChildren, "true"), this.createContentElements(s, e, t), e.hint !== void 0 && (t == null || (i = t.hint) == null ? void 0 : i.enabled) !== !1 && e.hint !== void 0) {
2212
+ var c, l;
2213
+ this.addHint(s, n(n({}, e.hint), {}, {
2214
+ position: (t == null || (c = t.hint) == null ? void 0 : c.position) || "right",
2215
+ alignment: (t == null || (l = t.hint) == null ? void 0 : l.alignment) || "center"
2242
2216
  }));
2243
2217
  }
2244
- return o;
2218
+ return s;
2245
2219
  }
2246
2220
  createContentElements(e, t, n) {
2247
- var r, i, a;
2248
- let o = (r = n == null ? void 0 : n.iconWithGap) == null ? !0 : r, s = (i = n == null ? void 0 : n.isInline) == null ? !1 : i, c = (a = n == null ? void 0 : n.isNestedInline) == null ? !1 : a, l = t.title;
2249
- if (t.icon && (this.nodes.icon = this.createIconElement(t.icon, o, s, c), e.appendChild(this.nodes.icon)), l !== void 0) {
2221
+ var r, i, o;
2222
+ let s = (r = n == null ? void 0 : n.iconWithGap) == null ? !0 : r, c = (i = n == null ? void 0 : n.isInline) == null ? !1 : i, l = (o = n == null ? void 0 : n.isNestedInline) == null ? !1 : o, u = t.title;
2223
+ if (t.icon && (this.nodes.icon = this.createIconElement(t.icon, s, c, l), e.appendChild(this.nodes.icon)), u !== void 0) {
2250
2224
  let n = document.createElement("div");
2251
- n.className = t.secondaryLabel ? "grow whitespace-nowrap text-[13px] font-medium leading-5" : "mr-auto whitespace-nowrap text-[13px] font-medium leading-5", n.setAttribute(f.popoverItemTitle, ""), n.setAttribute("data-blok-testid", "popover-item-title"), n.textContent = l, e.appendChild(n), this.nodes.titleEl = n;
2225
+ n.className = t.secondaryLabel ? "grow whitespace-nowrap text-[13px] font-medium leading-5" : "mr-auto whitespace-nowrap text-[13px] font-medium leading-5", n.setAttribute(a.popoverItemTitle, ""), n.setAttribute("data-blok-testid", "popover-item-title"), n.textContent = u, e.appendChild(n), this.nodes.titleEl = n;
2252
2226
  }
2253
2227
  if (t.secondaryLabel) {
2254
2228
  let n = document.createElement("div");
2255
- n.className = "ml-auto shrink-0 flex items-center whitespace-nowrap pl-20 font-mono text-[13px] tracking-wide text-text-secondary/60", n.setAttribute(f.popoverItemSecondaryTitle, ""), n.setAttribute("data-blok-testid", "popover-item-secondary-title"), n.textContent = t.secondaryLabel, e.appendChild(n), this.nodes.secondaryLabelEl = n;
2229
+ n.className = "ml-auto shrink-0 flex items-center whitespace-nowrap pl-20 font-mono text-[13px] tracking-wide text-text-secondary/60", n.setAttribute(a.popoverItemSecondaryTitle, ""), n.setAttribute("data-blok-testid", "popover-item-secondary-title"), n.textContent = t.secondaryLabel, e.appendChild(n), this.nodes.secondaryLabelEl = n;
2256
2230
  }
2257
2231
  if (this.hasChildren && !this.isChevronHidden) {
2258
2232
  let t = document.createElement("div");
2259
- t.className = this.getChevronClass(s), t.setAttribute(f.popoverItemIcon, ""), t.setAttribute(f.popoverItemIconChevronRight, ""), t.setAttribute("data-blok-testid", "popover-item-chevron-right"), t.innerHTML = xn, e.appendChild(t), this.nodes.chevron = t;
2233
+ t.className = this.getChevronClass(c), t.setAttribute(a.popoverItemIcon, ""), t.setAttribute(a.popoverItemIconChevronRight, ""), t.setAttribute("data-blok-testid", "popover-item-chevron-right"), t.innerHTML = mn, e.appendChild(t), this.nodes.chevron = t;
2260
2234
  }
2261
2235
  }
2262
2236
  createIconElement(e, t, n, r) {
2263
2237
  let i = document.createElement("div");
2264
- return i.className = this.getIconClass(t, n, r), i.setAttribute(f.popoverItemIcon, ""), i.setAttribute("data-blok-testid", "popover-item-icon"), i.innerHTML = e, t && i.setAttribute(f.tool, ""), i;
2238
+ return i.className = this.getIconClass(t, n, r), i.setAttribute(a.popoverItemIcon, ""), i.setAttribute("data-blok-testid", "popover-item-icon"), i.innerHTML = e, t && i.setAttribute(a.tool, ""), i;
2265
2239
  }
2266
2240
  getContainerClass() {
2267
- var e, n, r, i;
2268
- let a = (e = (n = this.renderParams) == null ? void 0 : n.isInline) == null ? !1 : e, o = (r = (i = this.renderParams) == null ? void 0 : i.isNestedInline) == null ? !1 : r;
2269
- return t(K.item, !a && !o && "pl-2 pr-3", a && _r.item, a && this.params.icon && _r.itemIconOnly, o && vr.item, this.params.isDisabled && K.itemDisabled);
2241
+ var e, t, n, i;
2242
+ let a = (e = (t = this.renderParams) == null ? void 0 : t.isInline) == null ? !1 : e, o = (n = (i = this.renderParams) == null ? void 0 : i.isNestedInline) == null ? !1 : n;
2243
+ return r(W.item, !a && !o && "pl-2 pr-3", a && sr.item, a && this.params.icon && sr.itemIconOnly, o && cr.item, this.params.isDisabled && W.itemDisabled);
2270
2244
  }
2271
- getIconClass(e, n, r) {
2272
- return t(K.icon, n && "w-auto h-auto bg-transparent [&_svg]:w-icon [&_svg]:h-icon mobile:[&_svg]:w-icon-mobile mobile:[&_svg]:h-icon-mobile", r && "w-toolbox-btn h-toolbox-btn", e && "mr-3", e && n && "shadow-none mr-0!", e && r && "mr-2!");
2245
+ getIconClass(e, t, n) {
2246
+ return r(W.icon, t && "w-auto h-auto bg-transparent [&_svg]:w-icon [&_svg]:h-icon mobile:[&_svg]:w-icon-mobile mobile:[&_svg]:h-icon-mobile", n && "w-toolbox-btn h-toolbox-btn", e && "mr-3", e && t && "shadow-none mr-0!", e && n && "mr-2!");
2273
2247
  }
2274
2248
  getChevronClass(e) {
2275
- return t(K.icon, "w-5 h-5 bg-transparent", e && "rotate-90");
2249
+ return r(W.icon, "w-5 h-5 bg-transparent", e && "rotate-90");
2276
2250
  }
2277
2251
  setActive(e) {
2278
- this.nodes.root && (e ? this.nodes.root.setAttribute(f.popoverItemActive, "true") : this.nodes.root.removeAttribute(f.popoverItemActive));
2252
+ this.nodes.root && (e ? this.nodes.root.setAttribute(a.popoverItemActive, "true") : this.nodes.root.removeAttribute(a.popoverItemActive));
2279
2253
  }
2280
2254
  setHidden(e) {
2281
- this.nodes.root && (e ? (this.nodes.root.setAttribute(f.hidden, "true"), this.nodes.root.classList.add("opacity-0", "max-h-0!", "py-0!", "mb-0!")) : (this.nodes.root.removeAttribute(f.hidden), this.nodes.root.classList.remove("opacity-0", "max-h-0!", "py-0!", "mb-0!")));
2255
+ this.nodes.root && (e ? (this.nodes.root.setAttribute(a.hidden, "true"), this.nodes.root.classList.add("opacity-0", "max-h-0!", "py-0!", "mb-0!")) : (this.nodes.root.removeAttribute(a.hidden), this.nodes.root.classList.remove("opacity-0", "max-h-0!", "py-0!", "mb-0!")));
2282
2256
  }
2283
2257
  setFocused(e) {
2284
- this.nodes.root && (e ? (this.nodes.root.setAttribute(f.focused, "true"), this.nodes.root.classList.add("bg-item-focus-bg!")) : (this.nodes.root.removeAttribute(f.focused), this.nodes.root.classList.remove("bg-item-focus-bg!")));
2258
+ this.nodes.root && (e ? (this.nodes.root.setAttribute(a.focused, "true"), this.nodes.root.classList.add("bg-item-focus-bg!")) : (this.nodes.root.removeAttribute(a.focused), this.nodes.root.classList.remove("bg-item-focus-bg!")));
2285
2259
  }
2286
2260
  setNoHover(e) {
2287
- this.nodes.root && (e ? this.nodes.root.setAttribute(f.popoverItemNoHover, "true") : this.nodes.root.removeAttribute(f.popoverItemNoHover));
2261
+ this.nodes.root && (e ? this.nodes.root.setAttribute(a.popoverItemNoHover, "true") : this.nodes.root.removeAttribute(a.popoverItemNoHover));
2288
2262
  }
2289
2263
  setNoFocus(e) {
2290
- this.nodes.root && (e ? this.nodes.root.setAttribute(f.popoverItemNoFocus, "true") : this.nodes.root.removeAttribute(f.popoverItemNoFocus));
2264
+ this.nodes.root && (e ? this.nodes.root.setAttribute(a.popoverItemNoFocus, "true") : this.nodes.root.removeAttribute(a.popoverItemNoFocus));
2291
2265
  }
2292
- enableConfirmationMode(t) {
2266
+ enableConfirmationMode(e) {
2293
2267
  if (this.nodes.root === null) return;
2294
- let n = e(e(e({}, this.params), t), {}, { confirmation: "confirmation" in t ? t.confirmation : void 0 });
2295
- this.setConfirmation(n), this.confirmationState = t, this.enableSpecialHoverAndFocusBehavior();
2268
+ let t = n(n(n({}, this.params), e), {}, { confirmation: "confirmation" in e ? e.confirmation : void 0 });
2269
+ this.setConfirmation(t), this.confirmationState = e, this.enableSpecialHoverAndFocusBehavior();
2296
2270
  }
2297
2271
  setConfirmation(e) {
2298
2272
  if (this.nodes.root) {
@@ -2304,10 +2278,10 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2304
2278
  }
2305
2279
  }
2306
2280
  clearConfirmationState() {
2307
- this.nodes.root && (this.nodes.root.removeAttribute(f.popoverItemConfirmation), this.nodes.root.classList.remove("bg-item-confirm-bg!", "text-white!"), this.restoreOriginalIcon(), this.restoreOriginalTitle(), this.restoreOriginalSecondaryLabel());
2281
+ this.nodes.root && (this.nodes.root.removeAttribute(a.popoverItemConfirmation), this.nodes.root.classList.remove("bg-item-confirm-bg!", "text-white!"), this.restoreOriginalIcon(), this.restoreOriginalTitle(), this.restoreOriginalSecondaryLabel());
2308
2282
  }
2309
2283
  applyConfirmationState(e) {
2310
- this.nodes.root && (this.nodes.root.setAttribute(f.popoverItemConfirmation, "true"), this.nodes.root.classList.add("bg-item-confirm-bg!", "text-white!"), this.updateIcon(e.icon), this.updateTitle(e), this.updateSecondaryLabel(e.secondaryLabel));
2284
+ this.nodes.root && (this.nodes.root.setAttribute(a.popoverItemConfirmation, "true"), this.nodes.root.classList.add("bg-item-confirm-bg!", "text-white!"), this.updateIcon(e.icon), this.updateTitle(e), this.updateSecondaryLabel(e.secondaryLabel));
2311
2285
  }
2312
2286
  restoreOriginalIcon() {
2313
2287
  !this.nodes.icon || !this.params.icon || (this.nodes.icon.innerHTML = this.params.icon);
@@ -2349,16 +2323,16 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2349
2323
  getIconElement() {
2350
2324
  return this.nodes.icon;
2351
2325
  }
2352
- }, J = {
2326
+ }, K = {
2353
2327
  container: "py-1.5 px-2 max-h-5 overflow-hidden",
2354
2328
  containerHidden: "opacity-0 max-h-0! py-0!",
2355
2329
  line: "h-px w-full bg-popover-border/60"
2356
- }, Y = {
2330
+ }, q = {
2357
2331
  container: "px-1 py-0 max-h-none",
2358
2332
  line: "h-full w-px",
2359
2333
  nestedContainer: "py-1 px-[3px]",
2360
2334
  nestedLine: "w-full h-px"
2361
- }, yr = class extends gr {
2335
+ }, lr = class extends or {
2362
2336
  constructor(e) {
2363
2337
  var t, n;
2364
2338
  super(), this.nodes = {
@@ -2372,25 +2346,25 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2372
2346
  toggleHidden(e) {
2373
2347
  if (!this.nodes.root) return;
2374
2348
  let t = this.getContainerClass(!1), n = this.getContainerClass(!0);
2375
- this.nodes.root.className = e ? n : t, e ? this.nodes.root.setAttribute(f.hidden, "true") : this.nodes.root.removeAttribute(f.hidden);
2349
+ this.nodes.root.className = e ? n : t, e ? this.nodes.root.setAttribute(a.hidden, "true") : this.nodes.root.removeAttribute(a.hidden);
2376
2350
  }
2377
2351
  getContainerClass(e) {
2378
- let n = J.container;
2379
- return this.isNestedInline ? t(n, Y.nestedContainer, e && J.containerHidden) : this.isInline ? t(n, Y.container, e && J.containerHidden) : t(n, e && J.containerHidden);
2352
+ let t = K.container;
2353
+ return this.isNestedInline ? r(t, q.nestedContainer, e && K.containerHidden) : this.isInline ? r(t, q.container, e && K.containerHidden) : r(t, e && K.containerHidden);
2380
2354
  }
2381
2355
  getLineClass() {
2382
- return this.isNestedInline ? t(J.line, Y.nestedLine) : this.isInline ? t(J.line, Y.line) : J.line;
2356
+ return this.isNestedInline ? r(K.line, q.nestedLine) : this.isInline ? r(K.line, q.line) : K.line;
2383
2357
  }
2384
2358
  createRootElement() {
2385
2359
  let e = document.createElement("div");
2386
- e.className = this.getContainerClass(!1), e.setAttribute(f.popoverItemSeparator, ""), e.setAttribute("data-blok-testid", "popover-item-separator");
2360
+ e.className = this.getContainerClass(!1), e.setAttribute(a.popoverItemSeparator, ""), e.setAttribute("data-blok-testid", "popover-item-separator");
2387
2361
  let t = document.createElement("div");
2388
- return t.className = this.getLineClass(), t.setAttribute(f.popoverItemSeparatorLine, ""), e.appendChild(t), this.nodes.line = t, e;
2362
+ return t.className = this.getLineClass(), t.setAttribute(a.popoverItemSeparatorLine, ""), e.appendChild(t), this.nodes.line = t, e;
2389
2363
  }
2390
- }, br = {
2364
+ }, ur = {
2391
2365
  root: "",
2392
2366
  rootHidden: "hidden"
2393
- }, xr = { root: "flex items-center" }, X = class extends gr {
2367
+ }, dr = { root: "flex items-center" }, J = class extends or {
2394
2368
  constructor(e, t) {
2395
2369
  var n;
2396
2370
  super(e), this.nodes = { root: null }, this.isHidden = !1, this.isInline = (n = t == null ? void 0 : t.isInline) == null ? !1 : n, this.nodes.root = this.createRootElement(e, t);
@@ -2399,33 +2373,33 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2399
2373
  return this.nodes.root;
2400
2374
  }
2401
2375
  toggleHidden(e) {
2402
- this.isHidden = e, this.updateRootClasses(), this.nodes.root && (e ? this.nodes.root.setAttribute(f.hidden, "true") : this.nodes.root.removeAttribute(f.hidden));
2376
+ this.isHidden = e, this.updateRootClasses(), this.nodes.root && (e ? this.nodes.root.setAttribute(a.hidden, "true") : this.nodes.root.removeAttribute(a.hidden));
2403
2377
  }
2404
2378
  getControls() {
2405
2379
  if (!this.nodes.root) return [];
2406
- let e = this.nodes.root.querySelectorAll(`button, ${O.allInputsSelector}`);
2380
+ let e = this.nodes.root.querySelectorAll(`button, ${E.allInputsSelector}`);
2407
2381
  return Array.from(e);
2408
2382
  }
2409
2383
  updateRootClasses() {
2410
- this.nodes.root && (this.nodes.root.className = t(br.root, this.isInline && xr.root, this.isHidden && br.rootHidden));
2384
+ this.nodes.root && (this.nodes.root.className = r(ur.root, this.isInline && dr.root, this.isHidden && ur.rootHidden));
2411
2385
  }
2412
- createRootElement(n, r) {
2386
+ createRootElement(e, t) {
2413
2387
  var i;
2414
- let a = document.createElement("div");
2415
- if (a.className = t(br.root, this.isInline && xr.root), a.setAttribute(f.popoverItemHtml, ""), a.setAttribute("data-blok-testid", "popover-item-html"), n.name && a.setAttribute("data-blok-item-name", n.name), a.appendChild(n.element), n.hint !== void 0 && (r == null || (i = r.hint) == null ? void 0 : i.enabled) !== !1) {
2416
- var o, s;
2417
- this.addHint(a, e(e({}, n.hint), {}, {
2418
- position: (r == null || (o = r.hint) == null ? void 0 : o.position) || "right",
2419
- alignment: (r == null || (s = r.hint) == null ? void 0 : s.alignment) || "center"
2388
+ let o = document.createElement("div");
2389
+ if (o.className = r(ur.root, this.isInline && dr.root), o.setAttribute(a.popoverItemHtml, ""), o.setAttribute("data-blok-testid", "popover-item-html"), e.name && o.setAttribute("data-blok-item-name", e.name), o.appendChild(e.element), e.hint !== void 0 && (t == null || (i = t.hint) == null ? void 0 : i.enabled) !== !1) {
2390
+ var s, c;
2391
+ this.addHint(o, n(n({}, e.hint), {}, {
2392
+ position: (t == null || (s = t.hint) == null ? void 0 : s.position) || "right",
2393
+ alignment: (t == null || (c = t.hint) == null ? void 0 : c.alignment) || "center"
2420
2394
  }));
2421
2395
  }
2422
- return a;
2396
+ return o;
2423
2397
  }
2424
- }, Sr = {
2398
+ }, fr = {
2425
2399
  wrapper: "bg-search-input-bg border border-search-input-border rounded-lg p-1 grid grid-cols-[auto_1fr] grid-rows-[auto] focus-within:border-search-input-focus-border focus-within:shadow-[0_0_0_2px_rgba(35,131,226,0.15)]",
2426
2400
  icon: "w-toolbox-btn h-toolbox-btn flex items-center justify-center mr-2 [&_svg]:w-icon [&_svg]:h-icon [&_svg]:text-gray-text",
2427
2401
  input: "text-sm outline-hidden font-medium font-inherit border-0 bg-transparent m-0 p-0 leading-[22px] min-w-[calc(100%-(--spacing(6))-10px)] text-text-primary placeholder:text-gray-text/80 placeholder:font-normal"
2428
- }, Cr = (e, t) => {
2402
+ }, pr = (e, t) => {
2429
2403
  if (e.length === 0) return t.length;
2430
2404
  if (t.length === 0) return e.length;
2431
2405
  let n = Array.from({ length: t.length + 1 }, (e, t) => t), r = Array(t.length + 1);
@@ -2438,37 +2412,37 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2438
2412
  n.splice(0, n.length, ...r);
2439
2413
  }
2440
2414
  return n[t.length];
2441
- }, wr = (e, t) => [...e].reduce((e, n) => e < t.length && n === t[e] ? e + 1 : e, 0) === t.length, Tr = (e, t) => [...e].reduce((n, r, i) => {
2415
+ }, mr = (e, t) => [...e].reduce((e, n) => e < t.length && n === t[e] ? e + 1 : e, 0) === t.length, hr = (e, t) => [...e].reduce((n, r, i) => {
2442
2416
  let a = i === 0 || e[i - 1] === " " || e[i - 1] === "-" || e[i - 1] === "_";
2443
2417
  return n < t.length && a && r === t[n] ? n + 1 : n;
2444
- }, 0) === t.length, Er = (e, t) => {
2418
+ }, 0) === t.length, gr = (e, t) => {
2445
2419
  if (e === t) return 100;
2446
2420
  if (e.startsWith(t)) return 90;
2447
2421
  if (e.includes(t)) return 75;
2448
- if (t.length >= 2 && Tr(e, t)) return 55;
2449
- if (t.length >= 2 && wr(e, t)) return 35;
2422
+ if (t.length >= 2 && hr(e, t)) return 55;
2423
+ if (t.length >= 2 && mr(e, t)) return 35;
2450
2424
  if (t.length >= 3) {
2451
2425
  let n = Math.floor(t.length / 3);
2452
- if (Cr(e, t) <= n) return 15;
2426
+ if (pr(e, t) <= n) return 15;
2453
2427
  }
2454
2428
  return 0;
2455
- }, Dr = (e, t) => {
2429
+ }, Y = (e, t) => {
2456
2430
  if (t === "") return 100;
2457
2431
  let n = t.toLowerCase(), r = [];
2458
2432
  if (e.title !== void 0 && r.push(e.title.toLowerCase()), e.englishTitle !== void 0 && r.push(e.englishTitle.toLowerCase()), e.searchTerms !== void 0) for (let t of e.searchTerms) r.push(t.toLowerCase());
2459
2433
  return r.reduce((e, t) => {
2460
- let r = Er(t, n);
2434
+ let r = gr(t, n);
2461
2435
  return r > e ? r : e;
2462
2436
  }, 0);
2463
- }, Or = /* @__PURE__ */ function(e) {
2437
+ }, _r = /* @__PURE__ */ function(e) {
2464
2438
  return e.Search = "search", e;
2465
- }({}), kr = class extends He {
2439
+ }({}), vr = class extends Le {
2466
2440
  constructor({ items: e, placeholder: t }) {
2467
2441
  super(), this.searchQuery = "", this.handleValueChange = () => {
2468
2442
  this.applySearch(this.input.value);
2469
- }, this.listeners = new Me(), this.items = e, this.wrapper = O.make("div", Sr.wrapper), this.wrapper.setAttribute("data-blok-testid", "popover-search-field");
2470
- let n = O.make("div", Sr.icon, { innerHTML: Sn });
2471
- this.input = O.make("input", Sr.input, {
2443
+ }, this.listeners = new De(), this.items = e, this.wrapper = E.make("div", fr.wrapper), this.wrapper.setAttribute("data-blok-testid", "popover-search-field");
2444
+ let n = E.make("div", fr.icon, { innerHTML: hn });
2445
+ this.input = E.make("input", fr.input, {
2472
2446
  type: "search",
2473
2447
  placeholder: t,
2474
2448
  tabIndex: -1
@@ -2491,7 +2465,7 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2491
2465
  this.input.value = "";
2492
2466
  }
2493
2467
  applySearch(e) {
2494
- this.searchQuery !== e && (this.searchQuery = e, this.emit(Or.Search, {
2468
+ this.searchQuery !== e && (this.searchQuery = e, this.emit(_r.Search, {
2495
2469
  query: e,
2496
2470
  items: this.foundItems
2497
2471
  }));
@@ -2519,10 +2493,10 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2519
2493
  get foundItems() {
2520
2494
  return this.items.map((e) => ({
2521
2495
  item: e,
2522
- score: Dr(e, this.searchQuery)
2496
+ score: Y(e, this.searchQuery)
2523
2497
  })).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score).map(({ item: e }) => e);
2524
2498
  }
2525
- }, Ar, jr = class e {
2499
+ }, yr, X = class e {
2526
2500
  constructor() {
2527
2501
  this.stack = [], this.boundPointerDown = null;
2528
2502
  }
@@ -2574,7 +2548,7 @@ var un = "\n<svg width=\"20\" height=\"20\" viewBox=\"0 0 20 20\" fill=\"none\"
2574
2548
  t !== -1 && this.stack.splice(t, 1);
2575
2549
  }
2576
2550
  };
2577
- Ar = jr, Ar._instance = null;
2551
+ yr = X, yr._instance = null;
2578
2552
  //#endregion
2579
2553
  //#region src/components/utils/popover/popover.const.ts
2580
2554
  var Z = {
@@ -2583,22 +2557,22 @@ var Z = {
2583
2557
  popoverContainerOpened: "opacity-100 pointer-events-auto p-1.5 max-h-(--max-height) border-none",
2584
2558
  popoverOverlay: "hidden bg-dark",
2585
2559
  items: "overflow-y-auto overscroll-contain"
2586
- }, Mr = {
2560
+ }, br = {
2587
2561
  popover: "relative",
2588
2562
  popoverContainer: "flex-row top-0 min-w-max w-max p-1 mobile:absolute"
2589
- }, Nr = (e) => `level-${e}`, Q = /* @__PURE__ */ function(e) {
2563
+ }, xr = (e) => `level-${e}`, Q = /* @__PURE__ */ function(e) {
2590
2564
  return e.NestingLevel = "--nesting-level", e.PopoverHeight = "--popover-height", e.InlinePopoverWidth = "--inline-popover-width", e.PopoverTop = "--popover-top", e.PopoverLeft = "--popover-left", e.TriggerItemLeft = "--trigger-item-left", e.TriggerItemTop = "--trigger-item-top", e;
2591
2565
  }({}), $ = /* @__PURE__ */ function(e) {
2592
2566
  return e.Closed = "closed", e.ClosedOnActivate = "closed-on-activate", e;
2593
- }({}), Pr = class extends He {
2567
+ }({}), Sr = class extends Le {
2594
2568
  get itemsDefault() {
2595
- return this.items.filter((e) => e instanceof q);
2569
+ return this.items.filter((e) => e instanceof G);
2596
2570
  }
2597
- constructor(t, n = {}) {
2598
- super(), this.params = t, this.itemsRenderParams = n, this.listeners = new Me(), this.messages = {
2571
+ constructor(e, t = {}) {
2572
+ super(), this.params = e, this.itemsRenderParams = t, this.listeners = new De(), this.messages = {
2599
2573
  nothingFound: "Nothing found",
2600
2574
  search: "Search"
2601
- }, this.permanentlyHiddenNames = /* @__PURE__ */ new Set(), this.items = this.buildItems(t.items), t.messages && (this.messages = e(e({}, this.messages), t.messages)), this.nodes = this.createPopoverDOM(), this.appendItemElements(), this.nodes.popoverContainer && this.listeners.on(this.nodes.popoverContainer, "click", (e) => this.handleClick(e));
2575
+ }, this.permanentlyHiddenNames = /* @__PURE__ */ new Set(), this.items = this.buildItems(e.items), e.messages && (this.messages = n(n({}, this.messages), e.messages)), this.nodes = this.createPopoverDOM(), this.appendItemElements(), this.nodes.popoverContainer && this.listeners.on(this.nodes.popoverContainer, "click", (e) => this.handleClick(e));
2602
2576
  }
2603
2577
  getElement() {
2604
2578
  return this.nodes.popover;
@@ -2608,13 +2582,13 @@ var Z = {
2608
2582
  }
2609
2583
  show() {
2610
2584
  var e;
2611
- let n = this.nodes.popover;
2612
- n !== null && !n.isConnected && document.body.appendChild(n), this.nodes.popover.setAttribute(f.popoverOpened, "true"), this.nodes.popoverContainer.className = t(this.nodes.popoverContainer.className, Z.popoverContainerOpened), this.itemsDefault.forEach((e) => this.refreshItemActiveState(e)), this.search !== void 0 && this.search.focus();
2613
- let { trigger: r } = this.params;
2614
- ((e = this.params.nestingLevel) == null ? 0 : e) === 0 && r !== void 0 && jr.instance.register(this, r);
2585
+ let t = this.nodes.popover;
2586
+ t !== null && !t.isConnected && document.body.appendChild(t), this.nodes.popover.setAttribute(a.popoverOpened, "true"), this.nodes.popoverContainer.className = r(this.nodes.popoverContainer.className, Z.popoverContainerOpened), this.itemsDefault.forEach((e) => this.refreshItemActiveState(e)), this.search !== void 0 && this.search.focus();
2587
+ let { trigger: n } = this.params;
2588
+ ((e = this.params.nestingLevel) == null ? 0 : e) === 0 && n !== void 0 && X.instance.register(this, n);
2615
2589
  }
2616
2590
  hide() {
2617
- this.nodes.popover.removeAttribute(f.popoverOpened), this.nodes.popover.removeAttribute(f.popoverOpenTop), this.nodes.popover.removeAttribute(f.popoverOpenLeft), this.nodes.popoverContainer.className = Z.popoverContainer, this.itemsDefault.forEach((e) => e.reset()), this.search !== void 0 && this.search.clear(), jr.instance.unregister(this), this.emit($.Closed);
2591
+ this.nodes.popover.removeAttribute(a.popoverOpened), this.nodes.popover.removeAttribute(a.popoverOpenTop), this.nodes.popover.removeAttribute(a.popoverOpenLeft), this.nodes.popoverContainer.className = Z.popoverContainer, this.itemsDefault.forEach((e) => e.reset()), this.search !== void 0 && this.search.clear(), X.instance.unregister(this), this.emit($.Closed);
2618
2592
  }
2619
2593
  destroy() {
2620
2594
  var e, t;
@@ -2634,21 +2608,21 @@ var Z = {
2634
2608
  buildItems(e) {
2635
2609
  return e.map((e) => {
2636
2610
  switch (e.type) {
2637
- case F.Separator: return new yr(this.itemsRenderParams[F.Separator]);
2638
- case F.Html: return new X(e, this.itemsRenderParams[F.Html]);
2639
- case F.Default:
2640
- case void 0: return new q(e, this.itemsRenderParams[F.Default]);
2611
+ case N.Separator: return new lr(this.itemsRenderParams[N.Separator]);
2612
+ case N.Html: return new J(e, this.itemsRenderParams[N.Html]);
2613
+ case N.Default:
2614
+ case void 0: return new G(e, this.itemsRenderParams[N.Default]);
2641
2615
  }
2642
2616
  });
2643
2617
  }
2644
2618
  getTargetItem(e) {
2645
- return this.items.filter((e) => e instanceof q || e instanceof X).find((t) => {
2619
+ return this.items.filter((e) => e instanceof G || e instanceof J).find((t) => {
2646
2620
  let n = t.getElement();
2647
2621
  return n === null ? !1 : e.composedPath().includes(n);
2648
2622
  });
2649
2623
  }
2650
2624
  handleItemClick(e) {
2651
- if (!(e instanceof q && e.isDisabled)) {
2625
+ if (!(e instanceof G && e.isDisabled)) {
2652
2626
  if (e.hasChildren) {
2653
2627
  this.showNestedItems(e), this.callHandleClickIfPresent(e);
2654
2628
  return;
@@ -2661,7 +2635,7 @@ var Z = {
2661
2635
  t !== void 0 && this.handleItemClick(t);
2662
2636
  }
2663
2637
  toggleItemActivenessIfNeeded(e) {
2664
- if (!(e instanceof q) || (e.toggle === !0 && e.toggleActive(), typeof e.toggle != "string")) return;
2638
+ if (!(e instanceof G) || (e.toggle === !0 && e.toggleActive(), typeof e.toggle != "string")) return;
2665
2639
  let t = this.itemsDefault.filter((t) => t.toggle === e.toggle);
2666
2640
  if (t.length === 1) {
2667
2641
  e.toggleActive();
@@ -2672,37 +2646,37 @@ var Z = {
2672
2646
  });
2673
2647
  }
2674
2648
  refreshItemActiveState(e) {
2675
- e instanceof q && e.toggle === void 0 && e.toggleActive(e.isActive);
2649
+ e instanceof G && e.toggle === void 0 && e.toggleActive(e.isActive);
2676
2650
  }
2677
2651
  callHandleClickIfPresent(e) {
2678
2652
  "handleClick" in e && typeof e.handleClick == "function" && e.handleClick();
2679
2653
  }
2680
2654
  toggleNothingFoundMessage(e) {
2681
- e ? (this.nodes.nothingFoundMessage.classList.remove("hidden"), this.nodes.nothingFoundMessage.setAttribute(f.nothingFoundDisplayed, "true")) : (this.nodes.nothingFoundMessage.classList.add("hidden"), this.nodes.nothingFoundMessage.removeAttribute(f.nothingFoundDisplayed));
2655
+ e ? (this.nodes.nothingFoundMessage.classList.remove("hidden"), this.nodes.nothingFoundMessage.setAttribute(a.nothingFoundDisplayed, "true")) : (this.nodes.nothingFoundMessage.classList.add("hidden"), this.nodes.nothingFoundMessage.removeAttribute(a.nothingFoundDisplayed));
2682
2656
  }
2683
2657
  setOpenTop(e) {
2684
- e ? this.nodes.popover.setAttribute(f.popoverOpenTop, "true") : this.nodes.popover.removeAttribute(f.popoverOpenTop);
2658
+ e ? this.nodes.popover.setAttribute(a.popoverOpenTop, "true") : this.nodes.popover.removeAttribute(a.popoverOpenTop);
2685
2659
  }
2686
2660
  setOpenLeft(e) {
2687
- e ? this.nodes.popover.setAttribute(f.popoverOpenLeft, "true") : this.nodes.popover.removeAttribute(f.popoverOpenLeft);
2661
+ e ? this.nodes.popover.setAttribute(a.popoverOpenLeft, "true") : this.nodes.popover.removeAttribute(a.popoverOpenLeft);
2688
2662
  }
2689
2663
  hasNode(e) {
2690
2664
  return this.nodes.popover.contains(e);
2691
2665
  }
2692
2666
  createPopoverDOM() {
2693
- var e, n;
2694
- let r = document.createElement("div");
2695
- this.params.class && (r.className = this.params.class), r.setAttribute(f.popover, ""), this.params.class && r.setAttribute("data-blok-popover-custom-class", this.params.class), r.setAttribute("data-blok-testid", "popover"), r.style.setProperty("--width", (e = this.params.width) == null ? "auto" : e), r.style.setProperty("--item-padding", "4px"), r.style.setProperty("--item-height", "calc(1.75rem + 2 * var(--item-padding))"), r.style.setProperty("--popover-top", "calc(100% + 0.5rem)"), r.style.setProperty("--popover-left", "0"), r.style.setProperty("--nested-popover-overlap", "0.25rem"), r.style.setProperty("--max-height", "400px");
2667
+ var e, t;
2668
+ let n = document.createElement("div");
2669
+ this.params.class && (n.className = this.params.class), n.setAttribute(a.popover, ""), this.params.class && n.setAttribute("data-blok-popover-custom-class", this.params.class), n.setAttribute("data-blok-testid", "popover"), n.style.setProperty("--width", (e = this.params.width) == null ? "auto" : e), n.style.setProperty("--item-padding", "4px"), n.style.setProperty("--item-height", "calc(1.75rem + 2 * var(--item-padding))"), n.style.setProperty("--popover-top", "calc(100% + 0.5rem)"), n.style.setProperty("--popover-left", "0"), n.style.setProperty("--nested-popover-overlap", "0.25rem"), n.style.setProperty("--max-height", "400px");
2696
2670
  let i = document.createElement("div");
2697
- i.className = Z.popoverContainer, i.style.boxShadow = "var(--blok-popover-box-shadow)", i.setAttribute(f.popoverContainer, ""), i.setAttribute("data-blok-testid", "popover-container");
2698
- let a = document.createElement("div");
2699
- a.className = t("cursor-default text-[13px] leading-5 font-normal whitespace-nowrap overflow-hidden text-ellipsis text-gray-text px-3 py-4 text-center", "hidden"), a.setAttribute("data-blok-testid", "popover-nothing-found"), a.textContent = (n = this.messages.nothingFound) == null ? "Nothing found" : n;
2671
+ i.className = Z.popoverContainer, i.style.boxShadow = "var(--blok-popover-box-shadow)", i.setAttribute(a.popoverContainer, ""), i.setAttribute("data-blok-testid", "popover-container");
2700
2672
  let o = document.createElement("div");
2701
- return o.className = Z.items, o.setAttribute(f.popoverItems, ""), o.setAttribute("data-blok-testid", "popover-items"), i.appendChild(a), i.appendChild(o), r.appendChild(i), {
2702
- popover: r,
2673
+ o.className = r("cursor-default text-[13px] leading-5 font-normal whitespace-nowrap overflow-hidden text-ellipsis text-gray-text px-3 py-4 text-center", "hidden"), o.setAttribute("data-blok-testid", "popover-nothing-found"), o.textContent = (t = this.messages.nothingFound) == null ? "Nothing found" : t;
2674
+ let s = document.createElement("div");
2675
+ return s.className = Z.items, s.setAttribute(a.popoverItems, ""), s.setAttribute("data-blok-testid", "popover-items"), i.appendChild(o), i.appendChild(s), n.appendChild(i), {
2676
+ popover: n,
2703
2677
  popoverContainer: i,
2704
- nothingFoundMessage: a,
2705
- items: o
2678
+ nothingFoundMessage: o,
2679
+ items: s
2706
2680
  };
2707
2681
  }
2708
2682
  appendItemElements() {
@@ -2715,22 +2689,22 @@ var Z = {
2715
2689
  };
2716
2690
  //#endregion
2717
2691
  //#region src/components/utils/popover/popover-position.ts
2718
- function Fr(e, t, n) {
2719
- return e <= t ? !1 : e <= n;
2692
+ function Cr(e, t, n) {
2693
+ return e <= t ? !1 : e <= n ? !0 : n > t;
2720
2694
  }
2721
- function Ir(e) {
2695
+ function wr(e) {
2722
2696
  var t;
2723
- let { anchor: n, popoverSize: r, scopeBounds: i, viewportSize: a, scrollOffset: o, offset: s = 8, leftAlignRect: c } = e, l = Math.min(a.height, i.bottom), u = Math.max(0, i.top), d = l - n.bottom - s, f = n.top - s - u, p = Fr(r.height, d, f), m = p ? n.top - s - r.height + o.y : n.bottom + s + o.y, h = m < u + o.y ? u + o.y : m, g = Math.min(a.width, i.right), _ = Math.max(0, i.left), v = ((t = c == null ? void 0 : c.left) == null ? n.left : t) + o.x, ee = n.right + o.x, y = g + o.x - v, te = ee - _ - o.x, b = Fr(r.width, y, te), x = b ? Math.max(_ + o.x, n.right - r.width + o.x) : v;
2697
+ let { anchor: n, popoverSize: r, scopeBounds: i, viewportSize: a, scrollOffset: o, offset: s = 8, leftAlignRect: c } = e, l = Math.min(a.height, i.bottom), u = Math.max(0, i.top), d = l - n.bottom - s, f = n.top - s - u, p = Cr(r.height, d, f), m = p ? n.top - s - r.height + o.y : n.bottom + s + o.y, h = m < u + o.y ? u + o.y : m, g = Math.min(a.width, i.right), _ = Math.max(0, i.left), v = ((t = c == null ? void 0 : c.left) == null ? n.left : t) + o.x, y = n.right + o.x, ee = g + o.x - v, b = y - _ - o.x, x = Cr(r.width, ee, b), te = x ? Math.max(_ + o.x, n.right - r.width + o.x) : v;
2724
2698
  return {
2725
2699
  top: h,
2726
- left: x + r.width > g + o.x ? Math.max(_ + o.x, g + o.x - r.width) : x,
2700
+ left: te + r.width > g + o.x ? Math.max(_ + o.x, g + o.x - r.width) : te,
2727
2701
  openTop: p,
2728
- openLeft: b
2702
+ openLeft: x
2729
2703
  };
2730
2704
  }
2731
2705
  //#endregion
2732
2706
  //#region src/components/utils/popover/popover-desktop.ts
2733
- var Lr = class e extends Pr {
2707
+ var Tr = class e extends Sr {
2734
2708
  setLeftAlignElement(e) {
2735
2709
  this.leftAlignElement = e;
2736
2710
  }
@@ -2744,15 +2718,15 @@ var Lr = class e extends Pr {
2744
2718
  e == null || e.onFocus();
2745
2719
  }, this.onSearch = (e) => {
2746
2720
  var t;
2747
- let n = e.query === "", r = e.topLevelItems, i = !n && e.promotedItems.length > 0 ? this.deduplicateAgainstPromoted(r, e.promotedItems) : r, a = i.length === 0 && e.promotedItems.length === 0;
2721
+ let n = e.query === "", r = e.topLevelItems, i = !n && e.promotedItems.length > 0 ? this.deduplicateAgainstPromoted(r, e.promotedItems) : r, o = i.length === 0 && e.promotedItems.length === 0;
2748
2722
  this.items.forEach((e) => {
2749
- let t = e instanceof q, r = e instanceof yr || e instanceof X, o = t ? !i.includes(e) || e.name !== void 0 && this.isNamePermanentlyHidden(e.name) : r && (a || !n);
2750
- e.toggleHidden(o);
2723
+ let t = e instanceof G, r = e instanceof lr || e instanceof J, a = t ? !i.includes(e) || e.name !== void 0 && this.isNamePermanentlyHidden(e.name) : r && (o || !n);
2724
+ e.toggleHidden(a);
2751
2725
  }), this._size = void 0, !n && i.length > 0 ? this.reorderItemsByRank(i) : n && this.originalItemOrder !== void 0 && this.restoreOriginalItemOrder();
2752
2726
  for (let e of this.promotedSeparators) e.remove();
2753
2727
  if (this.promotedSeparators = [], this.promotedItemCache !== null) for (let e of this.promotedItemCache.items) {
2754
- var o;
2755
- (o = e.getElement()) == null || o.remove();
2728
+ var s;
2729
+ (s = e.getElement()) == null || s.remove();
2756
2730
  }
2757
2731
  if (e.promotedItems.length > 0) {
2758
2732
  let t = /* @__PURE__ */ new Map();
@@ -2771,29 +2745,29 @@ var Lr = class e extends Pr {
2771
2745
  return Math.max(...t[1].map((e) => e.score)) - n;
2772
2746
  });
2773
2747
  for (let [e, t] of n) {
2774
- var s;
2748
+ var c;
2775
2749
  let n = this.createGroupSeparator(e);
2776
- this.promotedSeparators.push(n), (s = this.nodes.items) == null || s.appendChild(n), this.appendPromotedGroupElements(t);
2750
+ this.promotedSeparators.push(n), (c = this.nodes.items) == null || c.appendChild(n), this.appendPromotedGroupElements(t);
2777
2751
  }
2778
2752
  }
2779
- if (this.toggleNothingFoundMessage(a), this.trigger && this.nodes.popover.hasAttribute(f.popoverOpened)) {
2753
+ if (this.toggleNothingFoundMessage(o), this.trigger && this.nodes.popover.hasAttribute(a.popoverOpened)) {
2780
2754
  let { top: e, left: t, openTop: n, openLeft: r } = this.calculatePosition();
2781
2755
  this.nodes.popover.style.top = `${e}px`, this.nodes.popover.style.left = `${t}px`, this.setOpenTop(n), this.setOpenLeft(r);
2782
2756
  }
2783
- let c = n ? this.flippableElements : i.map((e) => e.getElement()), l = e.promotedItems.map(({ item: e }) => e.getElement()), u = [...c, ...l].filter((e) => e !== null);
2784
- (t = this.flipper) != null && t.isActivated && (this.flipper.deactivate(), this.flipper.activate(u), u.length > 0 && this.flipper.focusItem(0, { skipNextTab: !0 }));
2785
- }, e.trigger && (this.trigger = e.trigger), e.leftAlignElement && (this.leftAlignElement = e.leftAlignElement), e.nestingLevel !== void 0 && (this.nestingLevel = e.nestingLevel), this.nestingLevel > 0 && this.nodes.popover.setAttribute(f.nested, "true"), e.scopeElement !== void 0 && (this.scopeElement = e.scopeElement), this.nodes.popoverContainer !== null && (this.listeners.on(this.nodes.popoverContainer, "mouseover", (e) => this.handleHover(e)), this.listeners.on(this.nodes.popoverContainer, "mouseleave", (e) => this.handleMouseLeave(e))), e.searchable && this.addSearch(), e.flippable === !1) return;
2757
+ let l = n ? this.flippableElements : i.map((e) => e.getElement()), u = e.promotedItems.map(({ item: e }) => e.getElement()), d = [...l, ...u].filter((e) => e !== null);
2758
+ (t = this.flipper) != null && t.isActivated && (this.flipper.deactivate(), this.flipper.activate(d), d.length > 0 && this.flipper.focusItem(0, { skipNextTab: !0 }));
2759
+ }, e.trigger && (this.trigger = e.trigger), e.leftAlignElement && (this.leftAlignElement = e.leftAlignElement), e.nestingLevel !== void 0 && (this.nestingLevel = e.nestingLevel), this.nestingLevel > 0 && this.nodes.popover.setAttribute(a.nested, "true"), e.scopeElement !== void 0 && (this.scopeElement = e.scopeElement), this.nodes.popoverContainer !== null && (this.listeners.on(this.nodes.popoverContainer, "mouseover", (e) => this.handleHover(e)), this.listeners.on(this.nodes.popoverContainer, "mouseleave", (e) => this.handleMouseLeave(e))), e.searchable && this.addSearch(), e.flippable === !1) return;
2786
2760
  let r = e.flipper;
2787
- r === void 0 ? this.flipper = new Vt({
2761
+ r === void 0 ? this.flipper = new It({
2788
2762
  items: this.flippableElements,
2789
- focusedItemClass: K.focused,
2763
+ focusedItemClass: W.focused,
2790
2764
  allowedKeys: [
2791
- m.TAB,
2792
- m.UP,
2793
- m.DOWN,
2794
- m.ENTER,
2795
- m.RIGHT,
2796
- m.LEFT
2765
+ s.TAB,
2766
+ s.UP,
2767
+ s.DOWN,
2768
+ s.ENTER,
2769
+ s.RIGHT,
2770
+ s.LEFT
2797
2771
  ],
2798
2772
  onArrowLeft: e.onNavigateBack,
2799
2773
  handleContentEditableTargets: e.handleContentEditableNavigation
@@ -2824,7 +2798,7 @@ var Lr = class e extends Pr {
2824
2798
  this.nodes.popover.style.setProperty("--width", t + "px");
2825
2799
  }
2826
2800
  if (!this.trigger) {
2827
- let { openTop: e, openLeft: t } = Ir({
2801
+ let { openTop: e, openLeft: t } = wr({
2828
2802
  anchor: this.nodes.popoverContainer.getBoundingClientRect(),
2829
2803
  popoverSize: n,
2830
2804
  scopeBounds: this.scopeElement.getBoundingClientRect(),
@@ -2861,7 +2835,7 @@ var Lr = class e extends Pr {
2861
2835
  calculatePosition() {
2862
2836
  var e, t, n;
2863
2837
  let r = (e = this.params.position) == null ? (t = this.trigger) == null ? void 0 : t.getBoundingClientRect() : e;
2864
- return r ? Ir({
2838
+ return r ? wr({
2865
2839
  anchor: r,
2866
2840
  popoverSize: this.size,
2867
2841
  scopeBounds: this.scopeElement.getBoundingClientRect(),
@@ -2900,14 +2874,14 @@ var Lr = class e extends Pr {
2900
2874
  t instanceof Node && this.nestedPopover !== void 0 && this.nestedPopover !== null && this.nestedPopover.hasNode(t) || (this.destroyNestedPopoverIfExists(!1), this.previouslyHoveredItem = null);
2901
2875
  }
2902
2876
  getTargetItem(e) {
2903
- return (this.promotedItemCache === null ? this.items : [...this.items, ...this.promotedItemCache.items]).filter((e) => e instanceof q || e instanceof X).find((t) => {
2877
+ return (this.promotedItemCache === null ? this.items : [...this.items, ...this.promotedItemCache.items]).filter((e) => e instanceof G || e instanceof J).find((t) => {
2904
2878
  let n = t.getElement();
2905
2879
  return n === null ? !1 : e.composedPath().includes(n);
2906
2880
  });
2907
2881
  }
2908
2882
  setTriggerItemPosition(e, t) {
2909
- let n = t.getElement(), r = (n ? n.offsetTop : 0) - this.scrollTop, i = this.offsetTop + r, a = e.querySelector(`[${f.popover}]`);
2910
- (a instanceof HTMLElement ? a : e).style.setProperty(Q.TriggerItemTop, i + "px");
2883
+ let n = t.getElement(), r = (n ? n.offsetTop : 0) - this.scrollTop, i = this.offsetTop + r, o = e.querySelector(`[${a.popover}]`);
2884
+ (o instanceof HTMLElement ? o : e).style.setProperty(Q.TriggerItemTop, i + "px");
2911
2885
  }
2912
2886
  destroyNestedPopoverIfExists(e = !0) {
2913
2887
  var t, n, r;
@@ -2949,27 +2923,27 @@ var Lr = class e extends Pr {
2949
2923
  }), this.nestedPopover.show(), (r = this.flipper) == null || r.deactivate(), this.nestedPopover;
2950
2924
  }
2951
2925
  applyNestedPopoverPositioning(e) {
2952
- let t = e.querySelector(`[${f.popoverContainer}]`);
2926
+ let t = e.querySelector(`[${a.popoverContainer}]`);
2953
2927
  if (!(t instanceof HTMLElement)) return;
2954
- let n = t, r = e.querySelector(`[${f.popover}]`), i = r instanceof HTMLElement ? r : e;
2955
- this.nodes.popover.hasAttribute(f.popoverOpenTop);
2956
- let a = this.nodes.popover.hasAttribute(f.popoverOpenLeft);
2928
+ let n = t, r = e.querySelector(`[${a.popover}]`), i = r instanceof HTMLElement ? r : e;
2929
+ this.nodes.popover.hasAttribute(a.popoverOpenTop);
2930
+ let o = this.nodes.popover.hasAttribute(a.popoverOpenLeft);
2957
2931
  n.style.position = "absolute";
2958
- let o = this.params.width === void 0 || this.params.width === "auto" ? `${this.nodes.popoverContainer.offsetWidth}px` : "var(--width)";
2959
- a ? i.style.setProperty(Q.PopoverLeft, `calc(-1 * (var(--nesting-level) + 1) * ${o} + 100%)`) : i.style.setProperty(Q.PopoverLeft, `calc(var(--nesting-level) * (${o} - var(--nested-popover-overlap)))`), n.style.top = "calc(var(--trigger-item-top) - var(--popover-height) / 2 + var(--item-height) / 2)";
2932
+ let s = this.params.width === void 0 || this.params.width === "auto" ? `${this.nodes.popoverContainer.offsetWidth}px` : "var(--width)";
2933
+ o ? i.style.setProperty(Q.PopoverLeft, `calc(-1 * (var(--nesting-level) + 1) * ${s} + 100%)`) : i.style.setProperty(Q.PopoverLeft, `calc(var(--nesting-level) * (${s} - var(--nested-popover-overlap)))`), n.style.top = "calc(var(--trigger-item-top) - var(--popover-height) / 2 + var(--item-height) / 2)";
2960
2934
  }
2961
2935
  get size() {
2962
2936
  var e;
2963
2937
  if (this._size) return this._size;
2964
- let n = {
2938
+ let t = {
2965
2939
  height: 0,
2966
2940
  width: 0
2967
2941
  };
2968
- if (this.nodes.popover === null) return n;
2969
- let r = this.nodes.popover.cloneNode(!0);
2970
- r.style.visibility = "hidden", r.style.position = "absolute", r.style.top = "-1000px", r.setAttribute(f.popoverOpened, "true"), (e = r.querySelector(`[${f.nested}]`)) == null || e.remove();
2971
- let i = r.querySelector(`[${f.popoverContainer}]`);
2972
- return i.className = t(i.className, Z.popoverContainerOpened), document.body.appendChild(r), n.height = i.offsetHeight, n.width = i.offsetWidth, r.remove(), this._size = n, n;
2942
+ if (this.nodes.popover === null) return t;
2943
+ let n = this.nodes.popover.cloneNode(!0);
2944
+ n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "-1000px", n.setAttribute(a.popoverOpened, "true"), (e = n.querySelector(`[${a.nested}]`)) == null || e.remove();
2945
+ let i = n.querySelector(`[${a.popoverContainer}]`);
2946
+ return i.className = r(i.className, Z.popoverContainerOpened), document.body.appendChild(n), t.height = i.offsetHeight, t.width = i.offsetWidth, n.remove(), this._size = t, t;
2973
2947
  }
2974
2948
  invalidateSizeCache() {
2975
2949
  this._size = void 0;
@@ -2978,11 +2952,11 @@ var Lr = class e extends Pr {
2978
2952
  return this.items.flatMap((e) => this.getFlippableElementsForItem(e)).filter((e) => e != null);
2979
2953
  }
2980
2954
  getFlippableElementsForItem(e) {
2981
- if (e instanceof X) {
2955
+ if (e instanceof J) {
2982
2956
  let t = e.getElement();
2983
2957
  return t ? [t] : [];
2984
2958
  }
2985
- if (!(e instanceof q) || e.isDisabled) return [];
2959
+ if (!(e instanceof G) || e.isDisabled) return [];
2986
2960
  let t = e.getElement();
2987
2961
  return t ? [t] : [];
2988
2962
  }
@@ -2996,15 +2970,15 @@ var Lr = class e extends Pr {
2996
2970
  collectPromotedChildren(e, t, n) {
2997
2971
  for (let a of e) {
2998
2972
  var r, i;
2999
- if (!(a instanceof q) || !a.hasChildren) continue;
2973
+ if (!(a instanceof G) || !a.hasChildren) continue;
3000
2974
  let e = (r = (i = a.title) == null ? a.name : i) == null ? "" : r, o = [...t, e];
3001
2975
  this.collectDefaultChildren(a.children, o, n);
3002
2976
  }
3003
2977
  }
3004
2978
  collectDefaultChildren(e, t, n) {
3005
2979
  for (let r of e) {
3006
- if (r.type !== void 0 && r.type !== F.Default) continue;
3007
- let e = new q(r);
2980
+ if (r.type !== void 0 && r.type !== N.Default) continue;
2981
+ let e = new G(r);
3008
2982
  if (e.name !== void 0 && this.isNamePermanentlyHidden(e.name)) {
3009
2983
  e.destroy();
3010
2984
  continue;
@@ -3024,7 +2998,7 @@ var Lr = class e extends Pr {
3024
2998
  }
3025
2999
  createGroupSeparator(e) {
3026
3000
  let t = document.createElement("div");
3027
- return t.setAttribute(f.promotedGroupLabel, ""), t.setAttribute("role", "separator"), t.className = "px-3 pt-2.5 pb-1 text-[11px] font-medium uppercase tracking-wide text-gray-text/50 cursor-default", t.textContent = e, t;
3001
+ return t.setAttribute(a.promotedGroupLabel, ""), t.setAttribute("role", "separator"), t.className = "px-3 pt-2.5 pb-1 text-[11px] font-medium uppercase tracking-wide text-gray-text/50 cursor-default", t.textContent = e, t;
3028
3002
  }
3029
3003
  appendPromotedGroupElements(e) {
3030
3004
  for (let { item: n } of e) {
@@ -3038,13 +3012,13 @@ var Lr = class e extends Pr {
3038
3012
  deduplicateAgainstPromoted(e, t) {
3039
3013
  let n = /* @__PURE__ */ new Set();
3040
3014
  for (let { item: e } of t) e.title !== void 0 && n.add(e.title.toLowerCase());
3041
- return e.filter((e) => !(e instanceof q) || e.title === void 0 ? !0 : !n.has(e.title.toLowerCase()));
3015
+ return e.filter((e) => !(e instanceof G) || e.title === void 0 ? !0 : !n.has(e.title.toLowerCase()));
3042
3016
  }
3043
3017
  addSearch() {
3044
- this.search = new kr({
3018
+ this.search = new vr({
3045
3019
  items: this.itemsDefault,
3046
3020
  placeholder: this.messages.search
3047
- }), this.search.on(Or.Search, (e) => {
3021
+ }), this.search.on(_r.Search, (e) => {
3048
3022
  if (e.query === "") {
3049
3023
  this.cleanupPromotedItems(), this.onSearch({
3050
3024
  query: e.query,
@@ -3058,7 +3032,7 @@ var Lr = class e extends Pr {
3058
3032
  var r;
3059
3033
  return {
3060
3034
  item: n,
3061
- score: Dr(n, e.query),
3035
+ score: Y(n, e.query),
3062
3036
  chain: (r = t.get(n)) == null ? [] : r
3063
3037
  };
3064
3038
  }).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score);
@@ -3083,12 +3057,12 @@ var Lr = class e extends Pr {
3083
3057
  this.promotedItemCache === null && (this.promotedItemCache = this.buildPromotedItemCache());
3084
3058
  let t = this.itemsDefault.map((t) => ({
3085
3059
  item: t,
3086
- score: Dr(t, e)
3060
+ score: Y(t, e)
3087
3061
  })).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score), { parentChains: n } = this.promotedItemCache, r = this.promotedItemCache.items.map((t) => {
3088
3062
  var r;
3089
3063
  return {
3090
3064
  item: t,
3091
- score: Dr(t, e),
3065
+ score: Y(t, e),
3092
3066
  chain: (r = n.get(t)) == null ? [] : r
3093
3067
  };
3094
3068
  }).filter(({ score: e }) => e > 0).sort((e, t) => t.score - e.score);
@@ -3113,17 +3087,17 @@ var Lr = class e extends Pr {
3113
3087
  this.originalItemOrder = void 0;
3114
3088
  }
3115
3089
  }
3116
- }, Rr = function(e) {
3117
- let t = O.make("div");
3090
+ }, Er = function(e) {
3091
+ let t = E.make("div");
3118
3092
  return t.style.display = "flex", t.style.flexDirection = "column", t.style.gap = "4px", e.forEach((e) => {
3119
- let n = O.make("div"), r = e.indexOf(" ");
3093
+ let n = E.make("div"), r = e.indexOf(" ");
3120
3094
  if (r > 0) {
3121
- let t = e.substring(0, r), i = e.substring(r), a = O.make("span", null, { textContent: t });
3095
+ let t = e.substring(0, r), i = e.substring(r), a = E.make("span", null, { textContent: t });
3122
3096
  a.style.color = "white", n.appendChild(a), n.appendChild(document.createTextNode(i));
3123
3097
  } else n.appendChild(document.createTextNode(e));
3124
3098
  t.appendChild(n);
3125
3099
  }), t;
3126
- }, zr, Br = class {
3100
+ }, Dr, Or = class {
3127
3101
  constructor({ api: e }) {
3128
3102
  this.i18nAPI = e.i18n, this.blocksAPI = e.blocks, this.selectionAPI = e.selection, this.toolsAPI = e.tools, this.caretAPI = e.caret, this.i18nInstance = {
3129
3103
  t: (e, t) => this.i18nAPI.t(e),
@@ -3132,11 +3106,11 @@ var Lr = class e extends Pr {
3132
3106
  }
3133
3107
  async render() {
3134
3108
  var e = this;
3135
- let t = et.get();
3109
+ let t = Ye.get();
3136
3110
  if (t === null) return [];
3137
3111
  let n = e.blocksAPI.getBlockByElement(t.anchorNode);
3138
3112
  if (n === void 0) return [];
3139
- let r = await Le(n, e.toolsAPI.getBlockTools());
3113
+ let r = await Me(n, e.toolsAPI.getBlockTools());
3140
3114
  if (r.length === 0) return [];
3141
3115
  let i = r.reduce((t, r) => {
3142
3116
  var i;
@@ -3144,7 +3118,7 @@ var Lr = class e extends Pr {
3144
3118
  var a;
3145
3119
  i.title !== void 0 && t.push({
3146
3120
  icon: i.icon,
3147
- title: Ne(e.i18nInstance, i, r.name),
3121
+ title: Oe(e.i18nInstance, i, r.name),
3148
3122
  name: (a = i.name) == null ? r.name : a,
3149
3123
  closeOnActivate: !0,
3150
3124
  onActivate: async () => {
@@ -3153,7 +3127,7 @@ var Lr = class e extends Pr {
3153
3127
  }
3154
3128
  });
3155
3129
  }), t;
3156
- }, []), a = await n.getActiveToolboxEntry(), o = a ? Ne(e.i18nInstance, a, n.name) : Pe(e.i18nInstance, n.name, he(n.name)), s = !de();
3130
+ }, []), a = await n.getActiveToolboxEntry(), o = a ? Oe(e.i18nInstance, a, n.name) : ke(e.i18nInstance, n.name, ue(n.name)), s = !oe();
3157
3131
  return {
3158
3132
  name: "convert-to",
3159
3133
  title: o,
@@ -3171,10 +3145,10 @@ var Lr = class e extends Pr {
3171
3145
  };
3172
3146
  }
3173
3147
  };
3174
- zr = Br, zr.isInline = !0;
3148
+ Dr = Or, Dr.isInline = !0;
3175
3149
  //#endregion
3176
3150
  //#region src/tools/toggle/constants.ts
3177
- var Vr = "toggle", Hr = "tools.toggle.placeholder", Ur = "tools.toggle.bodyPlaceholder", Wr = "tools.toggle.ariaLabelCollapse", Gr = "tools.toggle.ariaLabelExpand", Kr = "outline-hidden py-[7px] mt-[2px] mb-px", qr = "outline-hidden pl-0.5 leading-[1.5] flex-1 min-w-0", Jr = "flex items-center", Yr = "flex-shrink-0 p-[8px] flex items-center justify-center cursor-pointer select-none rounded can-hover:hover:bg-item-hover-bg transition-colors duration-200 ease-in-out focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none", Xr = "<svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.5 2.5L8.5 6L4.5 9.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>", Zr = "hidden pl-7 pt-[8px] pb-[8px] text-gray-text leading-[1.5] cursor-pointer select-none", Qr = "pl-7", $r = {
3151
+ var kr = "toggle", Ar = "tools.toggle.placeholder", jr = "tools.toggle.bodyPlaceholder", Mr = "tools.toggle.ariaLabelCollapse", Nr = "tools.toggle.ariaLabelExpand", Pr = "outline-hidden py-[7px] mt-[2px] mb-px", Fr = "outline-hidden pl-0.5 leading-[1.5] flex-1 min-w-0", Ir = "flex items-center", Lr = "flex-shrink-0 p-[8px] flex items-center justify-center cursor-pointer select-none rounded can-hover:hover:bg-item-hover-bg transition-colors duration-200 ease-in-out focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none", Rr = "<svg aria-hidden=\"true\" width=\"12\" height=\"12\" viewBox=\"0 0 12 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M4.5 2.5L8.5 6L4.5 9.5\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/></svg>", zr = "hidden pl-7 pt-[8px] pb-[8px] text-gray-text leading-[1.5] cursor-pointer select-none", Br = "pl-7", Vr = {
3178
3152
  toggleOpen: "data-blok-toggle-open",
3179
3153
  toggleArrow: "data-blok-toggle-arrow",
3180
3154
  toggleContent: "data-blok-toggle-content",
@@ -3182,4 +3156,4 @@ var Vr = "toggle", Hr = "tools.toggle.placeholder", Ur = "tools.toggle.bodyPlace
3182
3156
  toggleChildren: "data-blok-toggle-children"
3183
3157
  };
3184
3158
  //#endregion
3185
- export { On as $, m as $n, Nt as $t, Qn as A, E as An, hn as At, cr as B, oe as Bn, H as Bt, jr as C, je as Cn, Fn as Ct, dr as D, Ee as Dn, qn as Dt, K as E, Te as En, Kn as Et, ur as F, pe as Fn, tn as Ft, ir as G, x as Gn, Wt as Gt, nr as H, se as Hn, B as Ht, er as I, fe as In, W as It, Cn as J, _ as Jn, Rt as Jt, fr as K, S as Kn, Vt as Kt, ar as L, de as Ln, sn as Lt, xn as M, ge as Mn, ln as Mt, Hn as N, he as Nn, nn as Nt, dn as O, Ce as On, jn as Ot, un as P, ue as Pn, en as Pt, Dn as Q, g as Qn, Mt as Qt, lr as R, le as Rn, on as Rt, Nr as S, Ae as Sn, gn as St, q as T, O as Tn, Gn as Tt, rr as U, C as Un, Ht as Ut, sr as V, ae as Vn, Jt as Vt, tr as W, b as Wn, Ut as Wt, Tn as X, te as Xn, It as Xt, wn as Y, y as Yn, Ft as Yt, En as Z, ee as Zn, Pt as Zt, Pr as _, Ie as _n, Un as _t, Kr as a, et as an, Bn as at, Z as b, Me as bn, _n as bt, qr as c, We as cn, pn as ct, Qr as d, Re as dn, Pn as dt, jt as en, h as er, Xn as et, Jr as f, Be as fn, Nn as ft, Lr as g, Fe as gn, $n as gt, Rr as h, ze as hn, vn as ht, Yr as i, F as in, zn as it, bn as j, D as jn, An as jt, mr as k, be as kn, Wn as kt, Hr as l, qe as ln, pr as lt, Br as m, Le as mn, mn as mt, Gr as n, yt as nn, p as nr, In as nt, Ur as o, Ue as on, Vn as ot, Vr as p, Ve as pn, Yn as pt, Jn as q, ie as qn, zt as qt, Xr as r, it as rn, l as rr, Rn as rt, Zr as s, Ke as sn, fn as st, Wr as t, I as tn, f as tr, Ln as tt, $r as u, He as un, Mn as ut, $ as v, Pe as vn, yn as vt, X as w, Oe as wn, kn as wt, Mr as x, ke as xn, Sn as xt, Q as y, Ne as yn, Zn as yt, or as z, me as zn, Xt as zt };
3159
+ export { kn as $, N as $t, qn as A, se as An, Xt as At, Zn as B, _ as Bn, zt as Bt, X as C, ve as Cn, wn as Ct, rn as D, ue as Dn, Yn as Dt, W as E, de as En, Cn as Et, er as F, x as Fn, B as Ft, gn as G, f as Gn, jt as Gt, Xn as H, u as Hn, Pt as Ht, ir as I, ne as In, Ut as It, yn as J, c as Jn, Ot as Jt, _n as K, l as Kn, kt as Kt, tr as L, b as Ln, R as Lt, Fn as M, ie as Mn, tn as Mt, nn as N, le as Nn, en as Nt, Wn as O, ae as On, Zt as Ot, Kn as P, te as Pn, Gt as Pt, An as Q, $e as Qt, rr as R, h as Rn, Lt as Rt, xr as S, xe as Sn, zn as St, G as T, T as Tn, cn as Tt, $n as U, p as Un, Nt as Ut, Qn as V, ee as Vn, It as Vt, Bn as W, m as Wn, At as Wt, xn as X, o as Xn, P as Xt, bn as Y, a as Yn, Et as Yt, Hn as Z, mt as Zt, Sr as _, Te as _n, ln as _t, Pr as a, Le as an, on as at, Z as b, E as bn, Ln as bt, Fr as c, Ie as cn, En as ct, Br as d, Ae as dn, dn as dt, Ye as en, jn as et, Ir as f, je as fn, Gn as ft, Tr as g, we as gn, hn as gt, Er as h, De as hn, un as ht, Lr as i, He as in, an as it, Jn as j, oe as jn, H as jt, pn as k, ce as kn, Yt as kt, Ar as l, Me as ln, Vn as lt, Or as m, Oe as mn, Un as mt, Nr as n, Ve as nn, Nn as nt, jr as o, Ne as on, Tn as ot, kr as p, ke as pn, fn as pt, vn as q, s as qn, Dt as qt, Rr as r, ze as rn, Pn as rt, zr as s, Fe as sn, Dn as st, Mr as t, Re as tn, Mn as tt, Vr as u, Pe as un, sn as ut, $ as v, Ee as vn, On as vt, J as w, w as wn, In as wt, br as x, be as xn, Rn as xt, Q as y, Ce as yn, Sn as yt, nr as z, g as zn, Rt as zt };