@jackuait/blok 0.4.3-beta.5 → 0.4.3-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/dist/blok.mjs +2 -2
  2. package/dist/chunks/{blok-CC3asvLc.mjs → blok-B-fFKCc3.mjs} +174 -168
  3. package/dist/chunks/{i18next-loader-DESAFQPB.mjs → i18next-loader-BFNg4Ihu.mjs} +1 -1
  4. package/dist/chunks/{index-qoZny9Yh.mjs → index-DwJjM4zN.mjs} +1 -1
  5. package/dist/chunks/{inline-tool-convert-DtMsnFGn.mjs → inline-tool-convert-BQzo9tk1.mjs} +8 -8
  6. package/dist/chunks/{messages-BFiUomgG.mjs → messages--yMo5vYp.mjs} +1 -1
  7. package/dist/chunks/{messages-2434tVOK.mjs → messages-82j7Sb1f.mjs} +1 -1
  8. package/dist/chunks/{messages-p9BZJaFV.mjs → messages-9-pnvSWZ.mjs} +1 -1
  9. package/dist/{messages-D5WeksbV.mjs → chunks/messages-B-b_IFZh.mjs} +1 -1
  10. package/dist/chunks/{messages-ez3w5NBn.mjs → messages-B5OIvtYB.mjs} +1 -1
  11. package/dist/{messages-FTOZNhRD.mjs → chunks/messages-B7zIiLTq.mjs} +1 -1
  12. package/dist/{messages-JF2fzCkK.mjs → chunks/messages-BCidD-VB.mjs} +1 -1
  13. package/dist/chunks/{messages-WYWIbQwo.mjs → messages-BWDnoNq0.mjs} +1 -1
  14. package/dist/chunks/{messages-BIPNHHAV.mjs → messages-BXsoyz5-.mjs} +1 -1
  15. package/dist/{messages-CXHt3eCC.mjs → chunks/messages-BYeiscyc.mjs} +1 -1
  16. package/dist/chunks/{messages-er-kd-VO.mjs → messages-BZ-Ia4tk.mjs} +1 -1
  17. package/dist/chunks/{messages-CmymP_Ar.mjs → messages-BaaIMBL8.mjs} +1 -1
  18. package/dist/chunks/{messages-Dd5iZN3c.mjs → messages-BgbVziWf.mjs} +1 -1
  19. package/dist/chunks/{messages-76-iJV9Q.mjs → messages-BgmPDL9Z.mjs} +1 -1
  20. package/dist/chunks/{messages-BextV3Qh.mjs → messages-Bi0X1QMU.mjs} +1 -1
  21. package/dist/chunks/{messages-QgYhPL-3.mjs → messages-BjZll4R7.mjs} +1 -1
  22. package/dist/{messages-D_FCyfW6.mjs → chunks/messages-BnmcUH66.mjs} +1 -1
  23. package/dist/chunks/{messages-DueVe0F1.mjs → messages-Bo9JrN9m.mjs} +1 -1
  24. package/dist/{messages-f3uXjegd.mjs → chunks/messages-BuKgyEeU.mjs} +1 -1
  25. package/dist/chunks/{messages-ohwI1UGv.mjs → messages-CJQt8nzO.mjs} +1 -1
  26. package/dist/chunks/{messages-D3vTzIpL.mjs → messages-CNRsIuSS.mjs} +1 -1
  27. package/dist/chunks/{messages-qWkXPggi.mjs → messages-CPdlHIEi.mjs} +1 -1
  28. package/dist/{messages-CbmsBrB0.mjs → chunks/messages-CTeYgNo1.mjs} +1 -1
  29. package/dist/{messages-BCm2eudQ.mjs → chunks/messages-CVvHbBlx.mjs} +1 -1
  30. package/dist/{messages-D3GrDwXh.mjs → chunks/messages-CbP4KoKV.mjs} +1 -1
  31. package/dist/chunks/{messages-Dg1OHftD.mjs → messages-CbepBt3K.mjs} +1 -1
  32. package/dist/{messages-BqWaOGMn.mjs → chunks/messages-CbtBGtJT.mjs} +1 -1
  33. package/dist/chunks/{messages-BqkL2_Ro.mjs → messages-CcYGSGRh.mjs} +1 -1
  34. package/dist/{messages-57uL5htT.mjs → chunks/messages-CjksZqgf.mjs} +1 -1
  35. package/dist/chunks/{messages-CFrKE-TN.mjs → messages-Cm4WhO4g.mjs} +1 -1
  36. package/dist/{messages-BiXe9G-O.mjs → chunks/messages-CoY-hJgp.mjs} +1 -1
  37. package/dist/chunks/{messages-qIQ4L4rw.mjs → messages-CpkO-V0C.mjs} +1 -1
  38. package/dist/{messages-DKha57ZU.mjs → chunks/messages-CwYueRo5.mjs} +1 -1
  39. package/dist/chunks/{messages-3DcCwXMF.mjs → messages-D-tDNAzW.mjs} +1 -1
  40. package/dist/{messages-DehM7135.mjs → chunks/messages-D2h_bTrn.mjs} +1 -1
  41. package/dist/chunks/{messages-IQxGfQIV.mjs → messages-D5J2Xlpx.mjs} +1 -1
  42. package/dist/chunks/{messages-Cm0LJLtB.mjs → messages-D8VsV_Ro.mjs} +1 -1
  43. package/dist/chunks/{messages-CHz8VlG-.mjs → messages-D8sk1mxH.mjs} +1 -1
  44. package/dist/chunks/{messages-MOGl7I5v.mjs → messages-D8tlQmPj.mjs} +1 -1
  45. package/dist/chunks/{messages-BiPSFlUG.mjs → messages-D9xzl8Wn.mjs} +1 -1
  46. package/dist/{messages-BoO8gsVD.mjs → chunks/messages-DG2QXu_f.mjs} +1 -1
  47. package/dist/{messages-DGaab4EP.mjs → chunks/messages-DHdkT1vy.mjs} +1 -1
  48. package/dist/{messages-4kMwVAKY.mjs → chunks/messages-DIbeBo-6.mjs} +1 -1
  49. package/dist/{messages-DVbPLd_0.mjs → chunks/messages-DR0sRlko.mjs} +1 -1
  50. package/dist/{messages-BX-DPa-z.mjs → chunks/messages-DRTt_xBc.mjs} +1 -1
  51. package/dist/{messages-CV7OM_qk.mjs → chunks/messages-DT43ZUKr.mjs} +1 -1
  52. package/dist/{messages-Di6Flq-b.mjs → chunks/messages-DT5djAjs.mjs} +1 -1
  53. package/dist/{messages-C6tbPLoj.mjs → chunks/messages-Df6LYOt5.mjs} +1 -1
  54. package/dist/chunks/{messages-BUlwu9mo.mjs → messages-DhdzbzrS.mjs} +1 -1
  55. package/dist/chunks/{messages-Ceo1KtFx.mjs → messages-DiyoZ_Oa.mjs} +1 -1
  56. package/dist/chunks/{messages-8p86Eyf2.mjs → messages-DkJ5aV3V.mjs} +1 -1
  57. package/dist/{messages-Dx3eFwI0.mjs → chunks/messages-DvwZEFTL.mjs} +1 -1
  58. package/dist/{messages-Bl5z_Igo.mjs → chunks/messages-Dw5GZ4YT.mjs} +1 -1
  59. package/dist/chunks/{messages-CLixzySl.mjs → messages-HSxl9MoN.mjs} +1 -1
  60. package/dist/chunks/{messages-DOaujgMW.mjs → messages-JztkG3tZ.mjs} +1 -1
  61. package/dist/{messages-BnsE97ku.mjs → chunks/messages-KLzTvDED.mjs} +1 -1
  62. package/dist/{messages-BBX0p0Pi.mjs → chunks/messages-TulYnz1f.mjs} +1 -1
  63. package/dist/chunks/{messages-D0ohMB5H.mjs → messages-Uexhy7C9.mjs} +1 -1
  64. package/dist/{messages-Dqhhex6e.mjs → chunks/messages-ctRNTfv5.mjs} +1 -1
  65. package/dist/chunks/{messages-CA6T3-gQ.mjs → messages-dIzxSHR2.mjs} +1 -1
  66. package/dist/chunks/{messages-bSf31LJi.mjs → messages-g7Njot5w.mjs} +1 -1
  67. package/dist/chunks/{messages-w5foGze_.mjs → messages-iNIhRBkQ.mjs} +1 -1
  68. package/dist/chunks/{messages-FOtiUoKl.mjs → messages-jmh1Gbfd.mjs} +1 -1
  69. package/dist/chunks/{messages-a6A_LgDv.mjs → messages-oO_lJ-_I.mjs} +1 -1
  70. package/dist/chunks/{messages-BvCkXKX-.mjs → messages-qFesO1Lu.mjs} +1 -1
  71. package/dist/{messages-diGozhTn.mjs → chunks/messages-sSYZ0Mz9.mjs} +1 -1
  72. package/dist/chunks/{messages-CFFPFdWP.mjs → messages-zs9AgeBF.mjs} +1 -1
  73. package/dist/full.mjs +2 -2
  74. package/dist/locales.mjs +68 -68
  75. package/dist/{messages-BFiUomgG.mjs → messages--yMo5vYp.mjs} +1 -1
  76. package/dist/{messages-2434tVOK.mjs → messages-82j7Sb1f.mjs} +1 -1
  77. package/dist/{messages-p9BZJaFV.mjs → messages-9-pnvSWZ.mjs} +1 -1
  78. package/dist/{chunks/messages-D5WeksbV.mjs → messages-B-b_IFZh.mjs} +1 -1
  79. package/dist/{messages-ez3w5NBn.mjs → messages-B5OIvtYB.mjs} +1 -1
  80. package/dist/{chunks/messages-FTOZNhRD.mjs → messages-B7zIiLTq.mjs} +1 -1
  81. package/dist/{chunks/messages-JF2fzCkK.mjs → messages-BCidD-VB.mjs} +1 -1
  82. package/dist/{messages-WYWIbQwo.mjs → messages-BWDnoNq0.mjs} +1 -1
  83. package/dist/{messages-BIPNHHAV.mjs → messages-BXsoyz5-.mjs} +1 -1
  84. package/dist/{chunks/messages-CXHt3eCC.mjs → messages-BYeiscyc.mjs} +1 -1
  85. package/dist/{messages-er-kd-VO.mjs → messages-BZ-Ia4tk.mjs} +1 -1
  86. package/dist/{messages-CmymP_Ar.mjs → messages-BaaIMBL8.mjs} +1 -1
  87. package/dist/{messages-Dd5iZN3c.mjs → messages-BgbVziWf.mjs} +1 -1
  88. package/dist/{messages-76-iJV9Q.mjs → messages-BgmPDL9Z.mjs} +1 -1
  89. package/dist/{messages-BextV3Qh.mjs → messages-Bi0X1QMU.mjs} +1 -1
  90. package/dist/{messages-QgYhPL-3.mjs → messages-BjZll4R7.mjs} +1 -1
  91. package/dist/{chunks/messages-D_FCyfW6.mjs → messages-BnmcUH66.mjs} +1 -1
  92. package/dist/{messages-DueVe0F1.mjs → messages-Bo9JrN9m.mjs} +1 -1
  93. package/dist/{chunks/messages-f3uXjegd.mjs → messages-BuKgyEeU.mjs} +1 -1
  94. package/dist/{messages-ohwI1UGv.mjs → messages-CJQt8nzO.mjs} +1 -1
  95. package/dist/{messages-D3vTzIpL.mjs → messages-CNRsIuSS.mjs} +1 -1
  96. package/dist/{messages-qWkXPggi.mjs → messages-CPdlHIEi.mjs} +1 -1
  97. package/dist/{chunks/messages-CbmsBrB0.mjs → messages-CTeYgNo1.mjs} +1 -1
  98. package/dist/{chunks/messages-BCm2eudQ.mjs → messages-CVvHbBlx.mjs} +1 -1
  99. package/dist/{chunks/messages-D3GrDwXh.mjs → messages-CbP4KoKV.mjs} +1 -1
  100. package/dist/{messages-Dg1OHftD.mjs → messages-CbepBt3K.mjs} +1 -1
  101. package/dist/{chunks/messages-BqWaOGMn.mjs → messages-CbtBGtJT.mjs} +1 -1
  102. package/dist/{messages-BqkL2_Ro.mjs → messages-CcYGSGRh.mjs} +1 -1
  103. package/dist/{chunks/messages-57uL5htT.mjs → messages-CjksZqgf.mjs} +1 -1
  104. package/dist/{messages-CFrKE-TN.mjs → messages-Cm4WhO4g.mjs} +1 -1
  105. package/dist/{chunks/messages-BiXe9G-O.mjs → messages-CoY-hJgp.mjs} +1 -1
  106. package/dist/{messages-qIQ4L4rw.mjs → messages-CpkO-V0C.mjs} +1 -1
  107. package/dist/{chunks/messages-DKha57ZU.mjs → messages-CwYueRo5.mjs} +1 -1
  108. package/dist/{messages-3DcCwXMF.mjs → messages-D-tDNAzW.mjs} +1 -1
  109. package/dist/{chunks/messages-DehM7135.mjs → messages-D2h_bTrn.mjs} +1 -1
  110. package/dist/{messages-IQxGfQIV.mjs → messages-D5J2Xlpx.mjs} +1 -1
  111. package/dist/{messages-Cm0LJLtB.mjs → messages-D8VsV_Ro.mjs} +1 -1
  112. package/dist/{messages-CHz8VlG-.mjs → messages-D8sk1mxH.mjs} +1 -1
  113. package/dist/{messages-MOGl7I5v.mjs → messages-D8tlQmPj.mjs} +1 -1
  114. package/dist/{messages-BiPSFlUG.mjs → messages-D9xzl8Wn.mjs} +1 -1
  115. package/dist/{chunks/messages-BoO8gsVD.mjs → messages-DG2QXu_f.mjs} +1 -1
  116. package/dist/{chunks/messages-DGaab4EP.mjs → messages-DHdkT1vy.mjs} +1 -1
  117. package/dist/{chunks/messages-4kMwVAKY.mjs → messages-DIbeBo-6.mjs} +1 -1
  118. package/dist/{chunks/messages-DVbPLd_0.mjs → messages-DR0sRlko.mjs} +1 -1
  119. package/dist/{chunks/messages-BX-DPa-z.mjs → messages-DRTt_xBc.mjs} +1 -1
  120. package/dist/{chunks/messages-CV7OM_qk.mjs → messages-DT43ZUKr.mjs} +1 -1
  121. package/dist/{chunks/messages-Di6Flq-b.mjs → messages-DT5djAjs.mjs} +1 -1
  122. package/dist/{chunks/messages-C6tbPLoj.mjs → messages-Df6LYOt5.mjs} +1 -1
  123. package/dist/{messages-BUlwu9mo.mjs → messages-DhdzbzrS.mjs} +1 -1
  124. package/dist/{messages-Ceo1KtFx.mjs → messages-DiyoZ_Oa.mjs} +1 -1
  125. package/dist/{messages-8p86Eyf2.mjs → messages-DkJ5aV3V.mjs} +1 -1
  126. package/dist/{chunks/messages-Dx3eFwI0.mjs → messages-DvwZEFTL.mjs} +1 -1
  127. package/dist/{chunks/messages-Bl5z_Igo.mjs → messages-Dw5GZ4YT.mjs} +1 -1
  128. package/dist/{messages-CLixzySl.mjs → messages-HSxl9MoN.mjs} +1 -1
  129. package/dist/{messages-DOaujgMW.mjs → messages-JztkG3tZ.mjs} +1 -1
  130. package/dist/{chunks/messages-BnsE97ku.mjs → messages-KLzTvDED.mjs} +1 -1
  131. package/dist/{chunks/messages-BBX0p0Pi.mjs → messages-TulYnz1f.mjs} +1 -1
  132. package/dist/{messages-D0ohMB5H.mjs → messages-Uexhy7C9.mjs} +1 -1
  133. package/dist/{chunks/messages-Dqhhex6e.mjs → messages-ctRNTfv5.mjs} +1 -1
  134. package/dist/{messages-CA6T3-gQ.mjs → messages-dIzxSHR2.mjs} +1 -1
  135. package/dist/{messages-bSf31LJi.mjs → messages-g7Njot5w.mjs} +1 -1
  136. package/dist/{messages-w5foGze_.mjs → messages-iNIhRBkQ.mjs} +1 -1
  137. package/dist/{messages-FOtiUoKl.mjs → messages-jmh1Gbfd.mjs} +1 -1
  138. package/dist/{messages-a6A_LgDv.mjs → messages-oO_lJ-_I.mjs} +1 -1
  139. package/dist/{messages-BvCkXKX-.mjs → messages-qFesO1Lu.mjs} +1 -1
  140. package/dist/{chunks/messages-diGozhTn.mjs → messages-sSYZ0Mz9.mjs} +1 -1
  141. package/dist/{messages-CFFPFdWP.mjs → messages-zs9AgeBF.mjs} +1 -1
  142. package/dist/tools.mjs +128 -87
  143. package/package.json +1 -1
  144. package/src/components/i18n/locales/am/messages.json +1 -1
  145. package/src/components/i18n/locales/ar/messages.json +1 -1
  146. package/src/components/i18n/locales/az/messages.json +1 -1
  147. package/src/components/i18n/locales/bg/messages.json +1 -1
  148. package/src/components/i18n/locales/bn/messages.json +1 -1
  149. package/src/components/i18n/locales/bs/messages.json +1 -1
  150. package/src/components/i18n/locales/cs/messages.json +1 -1
  151. package/src/components/i18n/locales/da/messages.json +1 -1
  152. package/src/components/i18n/locales/de/messages.json +1 -1
  153. package/src/components/i18n/locales/dv/messages.json +1 -1
  154. package/src/components/i18n/locales/el/messages.json +1 -1
  155. package/src/components/i18n/locales/en/messages.json +1 -1
  156. package/src/components/i18n/locales/es/messages.json +1 -1
  157. package/src/components/i18n/locales/et/messages.json +1 -1
  158. package/src/components/i18n/locales/fa/messages.json +1 -1
  159. package/src/components/i18n/locales/fi/messages.json +1 -1
  160. package/src/components/i18n/locales/fil/messages.json +1 -1
  161. package/src/components/i18n/locales/fr/messages.json +1 -1
  162. package/src/components/i18n/locales/gu/messages.json +1 -1
  163. package/src/components/i18n/locales/he/messages.json +1 -1
  164. package/src/components/i18n/locales/hi/messages.json +1 -1
  165. package/src/components/i18n/locales/hr/messages.json +1 -1
  166. package/src/components/i18n/locales/hu/messages.json +1 -1
  167. package/src/components/i18n/locales/hy/messages.json +1 -1
  168. package/src/components/i18n/locales/id/messages.json +1 -1
  169. package/src/components/i18n/locales/it/messages.json +1 -1
  170. package/src/components/i18n/locales/ja/messages.json +1 -1
  171. package/src/components/i18n/locales/ka/messages.json +1 -1
  172. package/src/components/i18n/locales/km/messages.json +1 -1
  173. package/src/components/i18n/locales/kn/messages.json +1 -1
  174. package/src/components/i18n/locales/ko/messages.json +1 -1
  175. package/src/components/i18n/locales/ku/messages.json +1 -1
  176. package/src/components/i18n/locales/lo/messages.json +1 -1
  177. package/src/components/i18n/locales/lt/messages.json +1 -1
  178. package/src/components/i18n/locales/lv/messages.json +1 -1
  179. package/src/components/i18n/locales/mk/messages.json +1 -1
  180. package/src/components/i18n/locales/ml/messages.json +1 -1
  181. package/src/components/i18n/locales/mn/messages.json +1 -1
  182. package/src/components/i18n/locales/mr/messages.json +1 -1
  183. package/src/components/i18n/locales/ms/messages.json +1 -1
  184. package/src/components/i18n/locales/my/messages.json +1 -1
  185. package/src/components/i18n/locales/ne/messages.json +1 -1
  186. package/src/components/i18n/locales/nl/messages.json +1 -1
  187. package/src/components/i18n/locales/no/messages.json +1 -1
  188. package/src/components/i18n/locales/pa/messages.json +1 -1
  189. package/src/components/i18n/locales/pl/messages.json +1 -1
  190. package/src/components/i18n/locales/ps/messages.json +1 -1
  191. package/src/components/i18n/locales/pt/messages.json +1 -1
  192. package/src/components/i18n/locales/ro/messages.json +1 -1
  193. package/src/components/i18n/locales/ru/messages.json +1 -1
  194. package/src/components/i18n/locales/sd/messages.json +1 -1
  195. package/src/components/i18n/locales/si/messages.json +1 -1
  196. package/src/components/i18n/locales/sk/messages.json +1 -1
  197. package/src/components/i18n/locales/sl/messages.json +1 -1
  198. package/src/components/i18n/locales/sq/messages.json +1 -1
  199. package/src/components/i18n/locales/sr/messages.json +1 -1
  200. package/src/components/i18n/locales/sv/messages.json +1 -1
  201. package/src/components/i18n/locales/sw/messages.json +1 -1
  202. package/src/components/i18n/locales/ta/messages.json +1 -1
  203. package/src/components/i18n/locales/te/messages.json +1 -1
  204. package/src/components/i18n/locales/th/messages.json +1 -1
  205. package/src/components/i18n/locales/tr/messages.json +1 -1
  206. package/src/components/i18n/locales/ug/messages.json +1 -1
  207. package/src/components/i18n/locales/uk/messages.json +1 -1
  208. package/src/components/i18n/locales/ur/messages.json +1 -1
  209. package/src/components/i18n/locales/vi/messages.json +1 -1
  210. package/src/components/i18n/locales/yi/messages.json +1 -1
  211. package/src/components/i18n/locales/zh/messages.json +1 -1
  212. package/src/components/modules/api/i18n.ts +1 -0
  213. package/src/components/tools/block.ts +10 -1
  214. package/src/components/tools/factory.ts +8 -7
  215. package/src/tools/header/index.ts +73 -0
  216. package/src/tools/list/index.ts +2 -2
  217. package/types/api/i18n.d.ts +8 -0
@@ -2,14 +2,14 @@ var No = Object.defineProperty, Ro = Object.defineProperties;
2
2
  var Po = Object.getOwnPropertyDescriptors;
3
3
  var Et = Object.getOwnPropertySymbols;
4
4
  var Re = Object.prototype.hasOwnProperty, Pe = Object.prototype.propertyIsEnumerable;
5
- var Ne = (a, t, e) => t in a ? No(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e, B = (a, t) => {
5
+ var Ne = (a, t, e) => t in a ? No(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e, y = (a, t) => {
6
6
  for (var e in t || (t = {}))
7
7
  Re.call(t, e) && Ne(a, e, t[e]);
8
8
  if (Et)
9
9
  for (var e of Et(t))
10
10
  Pe.call(t, e) && Ne(a, e, t[e]);
11
11
  return a;
12
- }, H = (a, t) => Ro(a, Po(t));
12
+ }, P = (a, t) => Ro(a, Po(t));
13
13
  var Yt = (a, t) => {
14
14
  var e = {};
15
15
  for (var o in a)
@@ -19,7 +19,7 @@ var Yt = (a, t) => {
19
19
  t.indexOf(o) < 0 && Pe.call(a, o) && (e[o] = a[o]);
20
20
  return e;
21
21
  };
22
- import { i as N, g as Ho, a as f, b as be, c as E, l as I, S as y, d as Fo, e as _o, D as m, t as C, f as $, h as co, P as O, j as Ht, k as j, m as A, n as wt, o as ht, p as ho, q as J, T as jt, r as Ft, s as v, I as zo, u as Uo, v as ct, w as oe, x as Ko, y as Wo, z as $o, A as uo, B as Yo, C as po, E as fo, F as jo, G as Xo, H as Vo, J as qo, K as Go, L as ke, M as He, N as Zo, O as Fe, Q as _e, R as Jo, U as Qo, V as ts, W as es, X as os, Y as se, Z as _t, _ as ss, $ as ns, a0 as is, a1 as ze, a2 as rs, a3 as as, a4 as ls, a5 as cs, a6 as ds, a7 as hs, a8 as us } from "./inline-tool-convert-DtMsnFGn.mjs";
22
+ import { i as N, g as Ho, a as f, b as be, c as E, l as I, S as B, d as Fo, e as _o, D as m, t as C, f as $, h as co, P as O, j as Ht, k as j, m as A, n as wt, o as ht, p as ho, q as J, T as jt, r as Ft, s as v, I as zo, u as Uo, v as ct, w as oe, x as Ko, y as Wo, z as $o, A as uo, B as Yo, C as po, E as fo, F as jo, G as Xo, H as Vo, J as qo, K as Go, L as ke, M as He, N as Zo, O as Fe, Q as _e, R as Jo, U as Qo, V as ts, W as es, X as os, Y as se, Z as _t, _ as ss, $ as ns, a0 as is, a1 as ze, a2 as rs, a3 as as, a4 as ls, a5 as cs, a6 as ds, a7 as hs, a8 as us } from "./inline-tool-convert-BQzo9tk1.mjs";
23
23
  function ps(a) {
24
24
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
25
25
  }
@@ -577,7 +577,7 @@ const z = class z extends Ct {
577
577
  const t = await this.extractToolData();
578
578
  if (t === void 0)
579
579
  return;
580
- const e = B({}, this.unavailableTunesData);
580
+ const e = y({}, this.unavailableTunesData);
581
581
  [
582
582
  ...this.tunesInstances.entries(),
583
583
  ...this.defaultTunesInstances.entries()
@@ -590,7 +590,7 @@ const z = class z extends Ct {
590
590
  }
591
591
  });
592
592
  const o = window.performance.now();
593
- this.lastSavedData = t, this.lastSavedTunes = B({}, e);
593
+ this.lastSavedData = t, this.lastSavedTunes = y({}, e);
594
594
  const s = window.performance.now();
595
595
  return {
596
596
  id: this.id,
@@ -608,7 +608,7 @@ const z = class z extends Ct {
608
608
  const t = await this.toolInstance.save(this.pluginsContent);
609
609
  if (!this.isEmpty || t === void 0 || t === null || typeof t != "object")
610
610
  return t;
611
- const e = B({}, t), o = (s) => {
611
+ const e = y({}, t), o = (s) => {
612
612
  const n = e[s];
613
613
  if (typeof n != "string")
614
614
  return;
@@ -672,7 +672,7 @@ const z = class z extends Ct {
672
672
  */
673
673
  updateCurrentInput() {
674
674
  var n;
675
- const t = y.anchorNode, e = document.activeElement, o = (i) => {
675
+ const t = B.anchorNode, e = document.activeElement, o = (i) => {
676
676
  if (!i)
677
677
  return;
678
678
  const r = i instanceof HTMLElement ? i : i.parentElement;
@@ -889,8 +889,8 @@ const z = class z extends Ct {
889
889
  const i = this.stretched ? z.styles.contentStretched : "";
890
890
  this.contentElement.className = t ? C(z.styles.content, z.styles.contentSelected) : C(z.styles.content, i);
891
891
  }
892
- const e = t === !0 && y.isRangeInsideContainer(this.holder), o = t === !1 && y.isFakeCursorInsideContainer(this.holder);
893
- !e && !o || ((s = this.blokEventBus) == null || s.emit(go, { state: t }), e && y.addFakeCursor(), o && y.removeFakeCursor(this.holder), (n = this.blokEventBus) == null || n.emit(mo, { state: t }));
892
+ const e = t === !0 && B.isRangeInsideContainer(this.holder), o = t === !1 && B.isFakeCursorInsideContainer(this.holder);
893
+ !e && !o || ((s = this.blokEventBus) == null || s.emit(go, { state: t }), e && B.addFakeCursor(), o && B.removeFakeCursor(this.holder), (n = this.blokEventBus) == null || n.emit(mo, { state: t }));
894
894
  }
895
895
  /**
896
896
  * Returns True if it is Selected
@@ -1355,7 +1355,8 @@ class Ss extends T {
1355
1355
  */
1356
1356
  get methods() {
1357
1357
  return this.cachedMethods === null && (this.cachedMethods = {
1358
- t: (t) => this.Blok.I18n.t(t)
1358
+ t: (t) => this.Blok.I18n.t(t),
1359
+ has: (t) => this.Blok.I18n.has(t)
1359
1360
  }), this.cachedMethods;
1360
1361
  }
1361
1362
  }
@@ -1458,7 +1459,7 @@ class As {
1458
1459
  * @returns {Promise<NotifierModule>} loaded notifier module
1459
1460
  */
1460
1461
  loadNotifierModule() {
1461
- return this.notifierModule !== null ? Promise.resolve(this.notifierModule) : (this.loadingPromise === null && (this.loadingPromise = import("./index-qoZny9Yh.mjs").then((t) => {
1462
+ return this.notifierModule !== null ? Promise.resolve(this.notifierModule) : (this.loadingPromise === null && (this.loadingPromise = import("./index-DwJjM4zN.mjs").then((t) => {
1462
1463
  const e = t;
1463
1464
  if (!this.isNotifierModule(e))
1464
1465
  throw new Error('notifier module does not expose a "show" method.');
@@ -1625,7 +1626,7 @@ function Os() {
1625
1626
  var Ns = Os();
1626
1627
  const Rs = /* @__PURE__ */ ps(Ns), Ps = /^\s*(?:javascript\s*:|data\s*:\s*text\s*\/\s*html)/i, Hs = /\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, ve = (a, t, e = {}) => a.map((o) => {
1627
1628
  const s = E(t) ? t(o.tool) : t, n = s != null ? s : {};
1628
- return A(n) && N(n) && N(e) ? o : H(B({}, o), {
1629
+ return A(n) && N(n) && N(e) ? o : P(y({}, o), {
1629
1630
  data: we(o.data, n, e)
1630
1631
  });
1631
1632
  }), q = (a, t = {}) => {
@@ -1814,7 +1815,7 @@ class qs extends T {
1814
1815
  }
1815
1816
  class Gs extends T {
1816
1817
  constructor() {
1817
- super(...arguments), this.selectionUtils = new y();
1818
+ super(...arguments), this.selectionUtils = new B();
1818
1819
  }
1819
1820
  /**
1820
1821
  * Available methods
@@ -2446,7 +2447,7 @@ const it = class it {
2446
2447
  */
2447
2448
  (this.items.length + o - 1) % this.items.length
2448
2449
  );
2449
- return f.canSetCaret(this.items[s]) && Ft(() => y.setCursor(this.items[s]), 50)(), this.items[s].classList.add(this.focusedCssClass), this.items[s].setAttribute("data-blok-focused", "true"), s;
2450
+ return f.canSetCaret(this.items[s]) && Ft(() => B.setCursor(this.items[s]), 50)(), this.items[s].classList.add(this.focusedCssClass), this.items[s].setAttribute("data-blok-focused", "true"), s;
2450
2451
  }
2451
2452
  };
2452
2453
  it.directions = {
@@ -2978,7 +2979,7 @@ class G extends xe {
2978
2979
  const o = (i = e == null ? void 0 : e.wrapperTag) != null ? i : "div", s = document.createElement(o);
2979
2980
  return o === "button" && s.setAttribute("type", "button"), s.className = this.getContainerClass(), s.setAttribute(m.popoverItem, ""), s.setAttribute("data-blok-testid", "popover-item"), t.name && s.setAttribute("data-blok-item-name", t.name), t.dataset && Object.entries(t.dataset).forEach(([d, h]) => {
2980
2981
  s.setAttribute(`data-${d}`, h);
2981
- }), t.isDisabled && s.setAttribute(m.disabled, "true"), this.isActive && s.setAttribute(m.popoverItemActive, "true"), this.hasChildren && s.setAttribute(m.hasChildren, "true"), this.createContentElements(s, t, e), t.hint !== void 0 && ((r = e == null ? void 0 : e.hint) == null ? void 0 : r.enabled) !== !1 && t.hint !== void 0 && this.addHint(s, H(B({}, t.hint), {
2982
+ }), t.isDisabled && s.setAttribute(m.disabled, "true"), this.isActive && s.setAttribute(m.popoverItemActive, "true"), this.hasChildren && s.setAttribute(m.hasChildren, "true"), this.createContentElements(s, t, e), t.hint !== void 0 && ((r = e == null ? void 0 : e.hint) == null ? void 0 : r.enabled) !== !1 && t.hint !== void 0 && this.addHint(s, P(y({}, t.hint), {
2982
2983
  position: ((l = e == null ? void 0 : e.hint) == null ? void 0 : l.position) || "right",
2983
2984
  alignment: ((c = e == null ? void 0 : e.hint) == null ? void 0 : c.alignment) || "center"
2984
2985
  })), s;
@@ -3083,7 +3084,7 @@ class G extends xe {
3083
3084
  enableConfirmationMode(t) {
3084
3085
  if (this.nodes.root === null)
3085
3086
  return;
3086
- const e = H(B(B({}, this.params), t), {
3087
+ const e = P(y(y({}, this.params), t), {
3087
3088
  confirmation: "confirmation" in t ? t.confirmation : void 0
3088
3089
  });
3089
3090
  this.setConfirmation(e), this.confirmationState = t, this.enableSpecialHoverAndFocusBehavior();
@@ -3335,7 +3336,7 @@ class St extends xe {
3335
3336
  return o.className = C(
3336
3337
  Gt.root,
3337
3338
  this.isInline && Ye.root
3338
- ), o.setAttribute(m.popoverItemHtml, ""), o.setAttribute("data-blok-testid", "popover-item-html"), t.name && o.setAttribute("data-blok-item-name", t.name), o.appendChild(t.element), t.hint !== void 0 && ((s = e == null ? void 0 : e.hint) == null ? void 0 : s.enabled) !== !1 && this.addHint(o, H(B({}, t.hint), {
3339
+ ), o.setAttribute(m.popoverItemHtml, ""), o.setAttribute("data-blok-testid", "popover-item-html"), t.name && o.setAttribute("data-blok-item-name", t.name), o.appendChild(t.element), t.hint !== void 0 && ((s = e == null ? void 0 : e.hint) == null ? void 0 : s.enabled) !== !1 && this.addHint(o, P(y({}, t.hint), {
3339
3340
  position: ((n = e == null ? void 0 : e.hint) == null ? void 0 : n.position) || "right",
3340
3341
  alignment: ((i = e == null ? void 0 : e.hint) == null ? void 0 : i.alignment) || "center"
3341
3342
  })), o;
@@ -3370,7 +3371,7 @@ class ko extends Ct {
3370
3371
  super(), this.params = t, this.itemsRenderParams = e, this.listeners = new It(), this.messages = {
3371
3372
  nothingFound: "Nothing found",
3372
3373
  search: "Search"
3373
- }, this.items = this.buildItems(t.items), t.messages && (this.messages = B(B({}, this.messages), t.messages)), this.nodes = this.createPopoverDOM(), this.appendItemElements(), this.nodes.popoverContainer && this.listeners.on(this.nodes.popoverContainer, "click", (o) => this.handleClick(o));
3374
+ }, this.items = this.buildItems(t.items), t.messages && (this.messages = y(y({}, this.messages), t.messages)), this.nodes = this.createPopoverDOM(), this.appendItemElements(), this.nodes.popoverContainer && this.listeners.on(this.nodes.popoverContainer, "click", (o) => this.handleClick(o));
3374
3375
  }
3375
3376
  /**
3376
3377
  * List of default popover items that are searchable and may have confirmation state
@@ -3953,7 +3954,7 @@ class je extends ft {
3953
3954
  ]
3954
3955
  });
3955
3956
  super(
3956
- H(B({}, t), {
3957
+ P(y({}, t), {
3957
3958
  flipper: o
3958
3959
  }),
3959
3960
  {
@@ -4108,7 +4109,7 @@ class je extends ft {
4108
4109
  t !== this.nestedPopoverTriggerItem && ((e = this.nestedPopoverTriggerItem) == null || e.handleClick(), super.destroyNestedPopoverIfExists()), super.handleItemClick(t);
4109
4110
  }
4110
4111
  }
4111
- const P = class P {
4112
+ const H = class H {
4112
4113
  constructor() {
4113
4114
  this.scrollPosition = null;
4114
4115
  }
@@ -4116,13 +4117,13 @@ const P = class P {
4116
4117
  * Locks body element scroll
4117
4118
  */
4118
4119
  lock() {
4119
- oe ? this.lockHard() : (document.body.classList.add(P.CSS.overflowHidden), document.body.setAttribute(P.DATA_ATTR.scrollLocked, "true"));
4120
+ oe ? this.lockHard() : (document.body.classList.add(H.CSS.overflowHidden), document.body.setAttribute(H.DATA_ATTR.scrollLocked, "true"));
4120
4121
  }
4121
4122
  /**
4122
4123
  * Unlocks body element scroll
4123
4124
  */
4124
4125
  unlock() {
4125
- oe ? this.unlockHard() : (document.body.classList.remove(P.CSS.overflowHidden), document.body.removeAttribute(P.DATA_ATTR.scrollLocked));
4126
+ oe ? this.unlockHard() : (document.body.classList.remove(H.CSS.overflowHidden), document.body.removeAttribute(H.DATA_ATTR.scrollLocked));
4126
4127
  }
4127
4128
  /**
4128
4129
  * Locks scroll in a hard way (via setting fixed position to body element)
@@ -4132,31 +4133,31 @@ const P = class P {
4132
4133
  "--window-scroll-offset",
4133
4134
  `${this.scrollPosition}px`
4134
4135
  ), document.body.classList.add(
4135
- P.CSS.overflowHidden,
4136
- P.CSS.fixed,
4137
- P.CSS.wFull
4138
- ), document.body.style.top = "calc(-1 * var(--window-scroll-offset))", document.body.setAttribute(P.DATA_ATTR.scrollLockedHard, "true");
4136
+ H.CSS.overflowHidden,
4137
+ H.CSS.fixed,
4138
+ H.CSS.wFull
4139
+ ), document.body.style.top = "calc(-1 * var(--window-scroll-offset))", document.body.setAttribute(H.DATA_ATTR.scrollLockedHard, "true");
4139
4140
  }
4140
4141
  /**
4141
4142
  * Unlocks hard scroll lock
4142
4143
  */
4143
4144
  unlockHard() {
4144
4145
  document.body.classList.remove(
4145
- P.CSS.overflowHidden,
4146
- P.CSS.fixed,
4147
- P.CSS.wFull
4148
- ), document.body.style.top = "", document.body.removeAttribute(P.DATA_ATTR.scrollLockedHard), this.scrollPosition !== null && window.scrollTo(0, this.scrollPosition), this.scrollPosition = null;
4146
+ H.CSS.overflowHidden,
4147
+ H.CSS.fixed,
4148
+ H.CSS.wFull
4149
+ ), document.body.style.top = "", document.body.removeAttribute(H.DATA_ATTR.scrollLockedHard), this.scrollPosition !== null && window.scrollTo(0, this.scrollPosition), this.scrollPosition = null;
4149
4150
  }
4150
4151
  };
4151
- P.CSS = {
4152
+ H.CSS = {
4152
4153
  overflowHidden: "overflow-hidden",
4153
4154
  fixed: "fixed",
4154
4155
  wFull: "w-full"
4155
- }, P.DATA_ATTR = {
4156
+ }, H.DATA_ATTR = {
4156
4157
  scrollLocked: "data-blok-scroll-locked",
4157
4158
  scrollLockedHard: "data-blok-scroll-locked-hard"
4158
4159
  };
4159
- let le = P;
4160
+ let le = H;
4160
4161
  const Jt = {
4161
4162
  root: "flex items-center mb-2 mt-1",
4162
4163
  text: "text-lg font-semibold text-text-primary",
@@ -4325,7 +4326,7 @@ class vo extends ko {
4325
4326
  }
4326
4327
  class Bn extends T {
4327
4328
  constructor() {
4328
- super(...arguments), this.opened = !1, this.selection = new y(), this.popover = null, this.flipperInstance = new Z({
4329
+ super(...arguments), this.opened = !1, this.selection = new B(), this.popover = null, this.flipperInstance = new Z({
4329
4330
  focusedItemClass: lt.focused,
4330
4331
  allowedKeys: [
4331
4332
  v.TAB,
@@ -4336,7 +4337,7 @@ class Bn extends T {
4336
4337
  v.LEFT
4337
4338
  ]
4338
4339
  }), this.flipperKeydownHandler = null, this.flipperKeydownSource = null, this.close = () => {
4339
- this.opened && (this.opened = !1, y.isAtBlok || this.selection.restore(), this.selection.clearSaved(), this.detachFlipperKeydownListener(), this.clearBlockSelectionOnClose(), this.eventsDispatcher.emit(this.events.closed), this.popover && (this.popover.off(X.Closed, this.onPopoverClose), this.popover.destroy(), this.popover.getElement().remove(), this.popover = null));
4340
+ this.opened && (this.opened = !1, B.isAtBlok || this.selection.restore(), this.selection.clearSaved(), this.detachFlipperKeydownListener(), this.clearBlockSelectionOnClose(), this.eventsDispatcher.emit(this.events.closed), this.popover && (this.popover.off(X.Closed, this.onPopoverClose), this.popover.destroy(), this.popover.getElement().remove(), this.popover = null));
4340
4341
  }, this.onPopoverClose = () => {
4341
4342
  this.close();
4342
4343
  };
@@ -5427,7 +5428,7 @@ class En extends T {
5427
5428
  */
5428
5429
  plusButtonClicked() {
5429
5430
  var t, e;
5430
- this.hoveredBlock && (this.Blok.BlockManager.currentBlock = this.hoveredBlock), this.Blok.BlockSettings.opened && this.Blok.BlockSettings.close(), this.Blok.BlockSelection.anyBlockSelected && this.Blok.BlockSelection.clearSelection(), (t = y.get()) == null || t.removeAllRanges(), (e = this.toolboxInstance) == null || e.toggle();
5431
+ this.hoveredBlock && (this.Blok.BlockManager.currentBlock = this.hoveredBlock), this.Blok.BlockSettings.opened && this.Blok.BlockSettings.close(), this.Blok.BlockSelection.anyBlockSelected && this.Blok.BlockSelection.clearSelection(), (t = B.get()) == null || t.removeAllRanges(), (e = this.toolboxInstance) == null || e.toggle();
5431
5432
  }
5432
5433
  /**
5433
5434
  * Enable bindings
@@ -5839,14 +5840,14 @@ class An extends T {
5839
5840
  if (t instanceof HTMLElement)
5840
5841
  return i;
5841
5842
  if (t.type === O.Html)
5842
- return i.push(H(B(B({}, r), t), {
5843
+ return i.push(P(y(y({}, r), t), {
5843
5844
  type: O.Html
5844
5845
  })), i;
5845
5846
  if (t.type === O.Separator)
5846
5847
  return i.push({
5847
5848
  type: O.Separator
5848
5849
  }), i;
5849
- const l = H(B(B({}, r), t), {
5850
+ const l = P(y(y({}, r), t), {
5850
5851
  type: O.Default
5851
5852
  });
5852
5853
  return i.push(l), "children" in l && n && i.push({
@@ -5859,7 +5860,7 @@ class An extends T {
5859
5860
  applyPosition(t) {
5860
5861
  if (!this.nodes.wrapper)
5861
5862
  return;
5862
- const e = this.Blok.UI.nodes.wrapper.getBoundingClientRect(), o = this.Blok.UI.contentRect, s = y.rect, n = {
5863
+ const e = this.Blok.UI.nodes.wrapper.getBoundingClientRect(), o = this.Blok.UI.contentRect, s = B.rect, n = {
5863
5864
  x: s.x - e.x,
5864
5865
  y: s.y + s.height - e.top + this.toolbarVerticalMargin
5865
5866
  };
@@ -5869,7 +5870,7 @@ class An extends T {
5869
5870
  * Need to show Inline Toolbar or not
5870
5871
  */
5871
5872
  allowedToShow() {
5872
- const t = ["IMG", "INPUT"], e = this.resolveSelection(), o = y.text;
5873
+ const t = ["IMG", "INPUT"], e = this.resolveSelection(), o = B.text;
5873
5874
  if (!e || !e.anchorNode || e.isCollapsed || o.length < 1)
5874
5875
  return !1;
5875
5876
  const s = f.isElement(e.anchorNode) ? e.anchorNode : e.anchorNode.parentElement;
@@ -5882,7 +5883,7 @@ class An extends T {
5882
5883
  if (s.closest(d) !== null)
5883
5884
  return !0;
5884
5885
  const u = r.holder;
5885
- return u && (u.matches(d) ? u : u.closest(d)) ? !0 : this.Blok.ReadOnly.isEnabled ? y.isSelectionAtBlok(e) : !1;
5886
+ return u && (u.matches(d) ? u : u.closest(d)) ? !0 : this.Blok.ReadOnly.isEnabled ? B.isSelectionAtBlok(e) : !1;
5886
5887
  }
5887
5888
  /**
5888
5889
  * Working with Tools
@@ -5999,11 +6000,11 @@ class An extends T {
5999
6000
  * Resolves the current selection, handling test mocks
6000
6001
  */
6001
6002
  resolveSelection() {
6002
- const t = y.selection;
6003
+ const t = B.selection;
6003
6004
  if (t !== void 0)
6004
6005
  return t;
6005
- const e = y.instance;
6006
- return e !== void 0 ? e : y.get();
6006
+ const e = B.instance;
6007
+ return e !== void 0 ? e : B.get();
6007
6008
  }
6008
6009
  }
6009
6010
  const $t = {
@@ -6033,7 +6034,7 @@ const $t = {
6033
6034
  "tools.header.heading4": "Heading 4",
6034
6035
  "tools.header.heading5": "Heading 5",
6035
6036
  "tools.header.heading6": "Heading 6",
6036
- "tools.list.list": "List",
6037
+ "tools.list.placeholder": "List",
6037
6038
  "blockSettings.delete": "Delete",
6038
6039
  "a11y.dragHandle": "Drag to move block or click for menu",
6039
6040
  "a11y.dragHandleRole": "drag handle",
@@ -6135,74 +6136,74 @@ const $t = {
6135
6136
  ], Ve = "en", Ln = To("en", $t), de = /* @__PURE__ */ new Map();
6136
6137
  de.set("en", Ln);
6137
6138
  const On = {
6138
- am: () => import("./messages-CmymP_Ar.mjs"),
6139
- ar: () => import("./messages-JF2fzCkK.mjs"),
6140
- az: () => import("./messages-CLixzySl.mjs"),
6141
- bg: () => import("./messages-er-kd-VO.mjs"),
6142
- bn: () => import("./messages-BFiUomgG.mjs"),
6143
- bs: () => import("./messages-DKha57ZU.mjs"),
6144
- cs: () => import("./messages-IQxGfQIV.mjs"),
6145
- da: () => import("./messages-D5WeksbV.mjs"),
6146
- de: () => import("./messages-Ceo1KtFx.mjs"),
6147
- dv: () => import("./messages-BCm2eudQ.mjs"),
6148
- el: () => import("./messages-p9BZJaFV.mjs"),
6139
+ am: () => import("./messages-BaaIMBL8.mjs"),
6140
+ ar: () => import("./messages-BCidD-VB.mjs"),
6141
+ az: () => import("./messages-HSxl9MoN.mjs"),
6142
+ bg: () => import("./messages-BZ-Ia4tk.mjs"),
6143
+ bn: () => import("./messages--yMo5vYp.mjs"),
6144
+ bs: () => import("./messages-CwYueRo5.mjs"),
6145
+ cs: () => import("./messages-D5J2Xlpx.mjs"),
6146
+ da: () => import("./messages-B-b_IFZh.mjs"),
6147
+ de: () => import("./messages-DiyoZ_Oa.mjs"),
6148
+ dv: () => import("./messages-CVvHbBlx.mjs"),
6149
+ el: () => import("./messages-9-pnvSWZ.mjs"),
6149
6150
  en: () => Promise.resolve({ default: $t }),
6150
- es: () => import("./messages-BqWaOGMn.mjs"),
6151
- et: () => import("./messages-D3vTzIpL.mjs"),
6152
- fa: () => import("./messages-qIQ4L4rw.mjs"),
6153
- fi: () => import("./messages-Dd5iZN3c.mjs"),
6154
- fil: () => import("./messages-BoO8gsVD.mjs"),
6155
- fr: () => import("./messages-8p86Eyf2.mjs"),
6156
- gu: () => import("./messages-diGozhTn.mjs"),
6157
- he: () => import("./messages-CbmsBrB0.mjs"),
6158
- hi: () => import("./messages-C6tbPLoj.mjs"),
6159
- hr: () => import("./messages-ez3w5NBn.mjs"),
6160
- hu: () => import("./messages-Dg1OHftD.mjs"),
6161
- hy: () => import("./messages-D0ohMB5H.mjs"),
6162
- id: () => import("./messages-MOGl7I5v.mjs"),
6163
- it: () => import("./messages-FOtiUoKl.mjs"),
6164
- ja: () => import("./messages-CFFPFdWP.mjs"),
6165
- ka: () => import("./messages-BextV3Qh.mjs"),
6166
- km: () => import("./messages-3DcCwXMF.mjs"),
6167
- kn: () => import("./messages-CA6T3-gQ.mjs"),
6168
- ko: () => import("./messages-WYWIbQwo.mjs"),
6169
- ku: () => import("./messages-DOaujgMW.mjs"),
6170
- lo: () => import("./messages-BBX0p0Pi.mjs"),
6171
- lt: () => import("./messages-DueVe0F1.mjs"),
6172
- lv: () => import("./messages-2434tVOK.mjs"),
6173
- mk: () => import("./messages-CV7OM_qk.mjs"),
6174
- ml: () => import("./messages-CXHt3eCC.mjs"),
6175
- mn: () => import("./messages-qWkXPggi.mjs"),
6176
- mr: () => import("./messages-Di6Flq-b.mjs"),
6177
- ms: () => import("./messages-DGaab4EP.mjs"),
6178
- my: () => import("./messages-BnsE97ku.mjs"),
6179
- ne: () => import("./messages-BIPNHHAV.mjs"),
6180
- nl: () => import("./messages-4kMwVAKY.mjs"),
6181
- no: () => import("./messages-Dx3eFwI0.mjs"),
6182
- pa: () => import("./messages-76-iJV9Q.mjs"),
6183
- pl: () => import("./messages-CHz8VlG-.mjs"),
6184
- ps: () => import("./messages-CFrKE-TN.mjs"),
6185
- pt: () => import("./messages-D_FCyfW6.mjs"),
6186
- ro: () => import("./messages-f3uXjegd.mjs"),
6187
- ru: () => import("./messages-Bl5z_Igo.mjs"),
6188
- sd: () => import("./messages-DehM7135.mjs"),
6189
- si: () => import("./messages-BqkL2_Ro.mjs"),
6190
- sk: () => import("./messages-Dqhhex6e.mjs"),
6191
- sl: () => import("./messages-ohwI1UGv.mjs"),
6192
- sq: () => import("./messages-BX-DPa-z.mjs"),
6193
- sr: () => import("./messages-BUlwu9mo.mjs"),
6194
- sv: () => import("./messages-a6A_LgDv.mjs"),
6195
- sw: () => import("./messages-BiPSFlUG.mjs"),
6196
- ta: () => import("./messages-QgYhPL-3.mjs"),
6197
- te: () => import("./messages-BiXe9G-O.mjs"),
6198
- th: () => import("./messages-w5foGze_.mjs"),
6199
- tr: () => import("./messages-D3GrDwXh.mjs"),
6200
- ug: () => import("./messages-DVbPLd_0.mjs"),
6201
- uk: () => import("./messages-bSf31LJi.mjs"),
6202
- ur: () => import("./messages-FTOZNhRD.mjs"),
6203
- vi: () => import("./messages-Cm0LJLtB.mjs"),
6204
- yi: () => import("./messages-57uL5htT.mjs"),
6205
- zh: () => import("./messages-BvCkXKX-.mjs")
6151
+ es: () => import("./messages-CbtBGtJT.mjs"),
6152
+ et: () => import("./messages-CNRsIuSS.mjs"),
6153
+ fa: () => import("./messages-CpkO-V0C.mjs"),
6154
+ fi: () => import("./messages-BgbVziWf.mjs"),
6155
+ fil: () => import("./messages-DG2QXu_f.mjs"),
6156
+ fr: () => import("./messages-DkJ5aV3V.mjs"),
6157
+ gu: () => import("./messages-sSYZ0Mz9.mjs"),
6158
+ he: () => import("./messages-CTeYgNo1.mjs"),
6159
+ hi: () => import("./messages-Df6LYOt5.mjs"),
6160
+ hr: () => import("./messages-B5OIvtYB.mjs"),
6161
+ hu: () => import("./messages-CbepBt3K.mjs"),
6162
+ hy: () => import("./messages-Uexhy7C9.mjs"),
6163
+ id: () => import("./messages-D8tlQmPj.mjs"),
6164
+ it: () => import("./messages-jmh1Gbfd.mjs"),
6165
+ ja: () => import("./messages-zs9AgeBF.mjs"),
6166
+ ka: () => import("./messages-Bi0X1QMU.mjs"),
6167
+ km: () => import("./messages-D-tDNAzW.mjs"),
6168
+ kn: () => import("./messages-dIzxSHR2.mjs"),
6169
+ ko: () => import("./messages-BWDnoNq0.mjs"),
6170
+ ku: () => import("./messages-JztkG3tZ.mjs"),
6171
+ lo: () => import("./messages-TulYnz1f.mjs"),
6172
+ lt: () => import("./messages-Bo9JrN9m.mjs"),
6173
+ lv: () => import("./messages-82j7Sb1f.mjs"),
6174
+ mk: () => import("./messages-DT43ZUKr.mjs"),
6175
+ ml: () => import("./messages-BYeiscyc.mjs"),
6176
+ mn: () => import("./messages-CPdlHIEi.mjs"),
6177
+ mr: () => import("./messages-DT5djAjs.mjs"),
6178
+ ms: () => import("./messages-DHdkT1vy.mjs"),
6179
+ my: () => import("./messages-KLzTvDED.mjs"),
6180
+ ne: () => import("./messages-BXsoyz5-.mjs"),
6181
+ nl: () => import("./messages-DIbeBo-6.mjs"),
6182
+ no: () => import("./messages-DvwZEFTL.mjs"),
6183
+ pa: () => import("./messages-BgmPDL9Z.mjs"),
6184
+ pl: () => import("./messages-D8sk1mxH.mjs"),
6185
+ ps: () => import("./messages-Cm4WhO4g.mjs"),
6186
+ pt: () => import("./messages-BnmcUH66.mjs"),
6187
+ ro: () => import("./messages-BuKgyEeU.mjs"),
6188
+ ru: () => import("./messages-Dw5GZ4YT.mjs"),
6189
+ sd: () => import("./messages-D2h_bTrn.mjs"),
6190
+ si: () => import("./messages-CcYGSGRh.mjs"),
6191
+ sk: () => import("./messages-ctRNTfv5.mjs"),
6192
+ sl: () => import("./messages-CJQt8nzO.mjs"),
6193
+ sq: () => import("./messages-DRTt_xBc.mjs"),
6194
+ sr: () => import("./messages-DhdzbzrS.mjs"),
6195
+ sv: () => import("./messages-oO_lJ-_I.mjs"),
6196
+ sw: () => import("./messages-D9xzl8Wn.mjs"),
6197
+ ta: () => import("./messages-BjZll4R7.mjs"),
6198
+ te: () => import("./messages-CoY-hJgp.mjs"),
6199
+ th: () => import("./messages-iNIhRBkQ.mjs"),
6200
+ tr: () => import("./messages-CbP4KoKV.mjs"),
6201
+ ug: () => import("./messages-DR0sRlko.mjs"),
6202
+ uk: () => import("./messages-g7Njot5w.mjs"),
6203
+ ur: () => import("./messages-B7zIiLTq.mjs"),
6204
+ vi: () => import("./messages-D8VsV_Ro.mjs"),
6205
+ yi: () => import("./messages-CjksZqgf.mjs"),
6206
+ zh: () => import("./messages-qFesO1Lu.mjs")
6206
6207
  }, Nn = async (a) => {
6207
6208
  const t = de.get(a);
6208
6209
  if (t !== void 0)
@@ -6240,7 +6241,7 @@ class Rn {
6240
6241
  * Add custom dictionary overrides
6241
6242
  */
6242
6243
  setDictionary(t) {
6243
- this.overrides = B(B({}, this.overrides), t);
6244
+ this.overrides = y(y({}, this.overrides), t);
6244
6245
  }
6245
6246
  /**
6246
6247
  * Get the current locale
@@ -6366,7 +6367,7 @@ class Pn extends T {
6366
6367
  async ensureI18nextLoaded(t, e) {
6367
6368
  if (this.i18nextWrapper !== null)
6368
6369
  return;
6369
- const { loadI18next: o } = await import("./i18next-loader-DESAFQPB.mjs");
6370
+ const { loadI18next: o } = await import("./i18next-loader-BFNg4Ihu.mjs");
6370
6371
  this.i18nextWrapper = await o(t, e);
6371
6372
  }
6372
6373
  /**
@@ -6798,7 +6799,7 @@ const Hn = (a) => {
6798
6799
  const { BlockSelection: e, BlockManager: o, Caret: s, BlockSettings: n } = this.Blok;
6799
6800
  if (n.contains(t.target))
6800
6801
  return !1;
6801
- const i = t.key === "Backspace" || t.key === "Delete", r = y.isSelectionExists, l = y.isCollapsed === !0;
6802
+ const i = t.key === "Backspace" || t.key === "Delete", r = B.isSelectionExists, l = B.isCollapsed === !0;
6802
6803
  if (!(i && e.anyBlockSelected && (!r || l)))
6803
6804
  return !1;
6804
6805
  const d = o.removeSelectedBlocks();
@@ -6883,7 +6884,7 @@ const Hn = (a) => {
6883
6884
  return;
6884
6885
  const i = n.textContent || "", r = o.holder.getAttribute("data-blok-depth"), l = r ? parseInt(r, 10) : 0, c = tt.CHECKLIST_PATTERN.exec(i);
6885
6886
  if (c) {
6886
- const S = ((x = c[1]) == null ? void 0 : x.toLowerCase()) === "x", M = c[1] !== void 0 ? 4 : 3, R = this.extractRemainingHtml(n, M), D = this.getCaretOffset(n) - M, et = t.replace(o, "list", B({
6887
+ const S = ((x = c[1]) == null ? void 0 : x.toLowerCase()) === "x", M = c[1] !== void 0 ? 4 : 3, R = this.extractRemainingHtml(n, M), D = this.getCaretOffset(n) - M, et = t.replace(o, "list", y({
6887
6888
  text: R,
6888
6889
  style: "checklist",
6889
6890
  checked: S
@@ -6892,7 +6893,7 @@ const Hn = (a) => {
6892
6893
  return;
6893
6894
  }
6894
6895
  if (tt.UNORDERED_LIST_PATTERN.exec(i)) {
6895
- const M = this.extractRemainingHtml(n, 2), R = this.getCaretOffset(n) - 2, D = t.replace(o, "list", B({
6896
+ const M = this.extractRemainingHtml(n, 2), R = this.getCaretOffset(n) - 2, D = t.replace(o, "list", y({
6896
6897
  text: M,
6897
6898
  style: "unordered",
6898
6899
  checked: !1
@@ -7035,7 +7036,7 @@ const Hn = (a) => {
7035
7036
  */
7036
7037
  backspace(t) {
7037
7038
  const { BlockManager: e, Caret: o } = this.Blok, { currentBlock: s, previousBlock: n } = e;
7038
- if (s === void 0 || !y.isCollapsed || !s.currentInput || !Pt(s.currentInput))
7039
+ if (s === void 0 || !B.isCollapsed || !s.currentInput || !Pt(s.currentInput))
7039
7040
  return;
7040
7041
  if (t.preventDefault(), this.Blok.Toolbar.close(), !(s.currentInput === s.firstInput)) {
7041
7042
  o.navigatePrevious();
@@ -7063,7 +7064,7 @@ const Hn = (a) => {
7063
7064
  */
7064
7065
  delete(t) {
7065
7066
  const { BlockManager: e, Caret: o } = this.Blok, { currentBlock: s, nextBlock: n } = e;
7066
- if (s === void 0 || !y.isCollapsed || !s.currentInput || !kt(s.currentInput))
7067
+ if (s === void 0 || !B.isCollapsed || !s.currentInput || !kt(s.currentInput))
7067
7068
  return;
7068
7069
  if (t.preventDefault(), this.Blok.Toolbar.close(), !(s.currentInput === s.lastInput)) {
7069
7070
  o.navigateNext();
@@ -7106,7 +7107,7 @@ const Hn = (a) => {
7106
7107
  if (this.Blok.UI.someToolbarOpened && o)
7107
7108
  return;
7108
7109
  t.shiftKey || (this.Blok.Toolbar.close(), this.Blok.InlineToolbar.close());
7109
- const s = y.get();
7110
+ const s = B.get();
7110
7111
  s != null && s.anchorNode && !this.Blok.BlockSelection.anyBlockSelected && this.Blok.BlockManager.setCurrentBlockByChildNode(s.anchorNode);
7111
7112
  const { currentBlock: n } = this.Blok.BlockManager, i = t.target, r = document.activeElement instanceof HTMLElement ? document.activeElement : null, l = [
7112
7113
  n == null ? void 0 : n.inputs.find((S) => i !== null && S.contains(i)),
@@ -7121,7 +7122,7 @@ const Hn = (a) => {
7121
7122
  u && this.Blok.InlineToolbar.tryToShow();
7122
7123
  const p = e === v.RIGHT && !t.shiftKey && !this.isRtl && c instanceof HTMLElement ? Hn(c) : null;
7123
7124
  if (p !== null) {
7124
- y.setCursor(p.node, p.offset), t.preventDefault();
7125
+ B.setCursor(p.node, p.offset), t.preventDefault();
7125
7126
  return;
7126
7127
  }
7127
7128
  const b = e === v.DOWN, k = e === v.RIGHT && !this.isRtl;
@@ -8200,10 +8201,10 @@ class Gn extends T {
8200
8201
  * @param detailData - additional data to pass with change event
8201
8202
  */
8202
8203
  blockDidMutated(t, e, o) {
8203
- const s = B({
8204
+ const s = y({
8204
8205
  target: new V(e)
8205
8206
  }, o), n = new CustomEvent(t, {
8206
- detail: B({}, s)
8207
+ detail: y({}, s)
8207
8208
  });
8208
8209
  return Object.prototype.propertyIsEnumerable.call(n, "type") || Object.defineProperty(n, "type", {
8209
8210
  value: t,
@@ -8220,7 +8221,7 @@ class Gn extends T {
8220
8221
  }
8221
8222
  class Zn extends T {
8222
8223
  constructor() {
8223
- super(...arguments), this.anyBlockSelectedCache = null, this._navigationModeEnabled = !1, this.navigationFocusIndex = -1, this.needToSelectAll = !1, this.nativeInputSelected = !1, this.readyToBlockSelection = !1, this.selection = new y();
8224
+ super(...arguments), this.anyBlockSelectedCache = null, this._navigationModeEnabled = !1, this.navigationFocusIndex = -1, this.needToSelectAll = !1, this.nativeInputSelected = !1, this.readyToBlockSelection = !1, this.selection = new B();
8224
8225
  }
8225
8226
  /**
8226
8227
  * Sanitizer Config
@@ -8307,7 +8308,7 @@ class Zn extends T {
8307
8308
  * to select all and copy them
8308
8309
  */
8309
8310
  prepare() {
8310
- this.selection = new y(), _.add({
8311
+ this.selection = new B(), _.add({
8311
8312
  name: "CMD+A",
8312
8313
  handler: (t) => {
8313
8314
  const { BlockManager: e, ReadOnly: o } = this.Blok;
@@ -8327,7 +8328,7 @@ class Zn extends T {
8327
8328
  * - Unselect all Blocks
8328
8329
  */
8329
8330
  toggleReadOnly() {
8330
- const t = y.get();
8331
+ const t = B.get();
8331
8332
  t == null || t.removeAllRanges(), this.allBlocksSelected = !1;
8332
8333
  }
8333
8334
  /**
@@ -8347,7 +8348,7 @@ class Zn extends T {
8347
8348
  const { RectangleSelection: o } = this.Blok;
8348
8349
  this.needToSelectAll = !1, this.nativeInputSelected = !1, this.readyToBlockSelection = !1, this._navigationModeEnabled && this.disableNavigationMode();
8349
8350
  const s = t && t instanceof KeyboardEvent, n = t, i = s && n.key && n.key.length === 1;
8350
- this.anyBlockSelected && s && i && !y.isSelectionExists && this.replaceSelectedBlocksWithPrintableKey(t), this.Blok.CrossBlockSelection.clear(t), e && this.selection.restore(), o.isRectActivated() && this.Blok.RectangleSelection.clearSelection(), this.anyBlockSelected && (this.allBlocksSelected = !1);
8351
+ this.anyBlockSelected && s && i && !B.isSelectionExists && this.replaceSelectedBlocksWithPrintableKey(t), this.Blok.CrossBlockSelection.clear(t), e && this.selection.restore(), o.isRectActivated() && this.Blok.RectangleSelection.clearSelection(), this.anyBlockSelected && (this.allBlocksSelected = !1);
8351
8352
  }
8352
8353
  /**
8353
8354
  * Reduce each Block and copy its content
@@ -8396,7 +8397,7 @@ class Zn extends T {
8396
8397
  */
8397
8398
  selectBlock(t) {
8398
8399
  this.selection.save();
8399
- const e = y.get();
8400
+ const e = B.get();
8400
8401
  e == null || e.removeAllRanges();
8401
8402
  const o = t;
8402
8403
  o.selected = !0, this.clearCache(), this.Blok.InlineToolbar.close();
@@ -8471,7 +8472,7 @@ class Zn extends T {
8471
8472
  return;
8472
8473
  const s = this.navigationFocusedBlock;
8473
8474
  s && s.holder.removeAttribute("data-blok-navigation-focused"), this.navigationFocusIndex = t, o.holder.setAttribute("data-blok-navigation-focused", "true");
8474
- const n = y.get();
8475
+ const n = B.get();
8475
8476
  n == null || n.removeAllRanges(), document.activeElement instanceof HTMLElement && document.activeElement.blur(), o.holder.scrollIntoView({
8476
8477
  behavior: "smooth",
8477
8478
  block: "nearest"
@@ -8518,7 +8519,7 @@ class Zn extends T {
8518
8519
  */
8519
8520
  selectAllBlocks() {
8520
8521
  this.selection.save();
8521
- const t = y.get();
8522
+ const t = B.get();
8522
8523
  t == null || t.removeAllRanges(), this.allBlocksSelected = !0, this.Blok.InlineToolbar.close();
8523
8524
  }
8524
8525
  /**
@@ -8751,7 +8752,7 @@ class Ee extends T {
8751
8752
  * @param {number} offset - offset
8752
8753
  */
8753
8754
  set(t, e = 0) {
8754
- const { top: s, bottom: n } = y.setCursor(t, e), { innerHeight: i } = window;
8755
+ const { top: s, bottom: n } = B.setCursor(t, e), { innerHeight: i } = window;
8755
8756
  if (s < 0) {
8756
8757
  window.scrollBy(0, s - 30);
8757
8758
  return;
@@ -8777,7 +8778,7 @@ class Ee extends T {
8777
8778
  */
8778
8779
  extractFragmentFromCaretPosition() {
8779
8780
  var i;
8780
- const t = y.get();
8781
+ const t = B.get();
8781
8782
  if (!t || !t.rangeCount)
8782
8783
  return;
8783
8784
  const e = t.getRangeAt(0), o = this.Blok.BlockManager.currentBlock;
@@ -8900,7 +8901,7 @@ class Ee extends T {
8900
8901
  const e = t.querySelector('[data-blok-testid="shadow-caret"]');
8901
8902
  if (!e)
8902
8903
  return;
8903
- new y().expandToTag(e);
8904
+ new B().expandToTag(e);
8904
8905
  const s = document.createRange();
8905
8906
  s.selectNode(e), s.extractContents();
8906
8907
  }
@@ -8909,7 +8910,7 @@ class Ee extends T {
8909
8910
  * @param {string} content - content to insert
8910
8911
  */
8911
8912
  insertContentAtCaretPosition(t) {
8912
- const e = document.createDocumentFragment(), o = document.createElement("div"), s = y.get(), n = y.range;
8913
+ const e = document.createDocumentFragment(), o = document.createElement("div"), s = B.get(), n = B.range;
8913
8914
  if (!s || !n)
8914
8915
  return;
8915
8916
  o.innerHTML = t, Array.from(o.childNodes).forEach((c) => e.appendChild(c)), e.childNodes.length === 0 && e.appendChild(new Text());
@@ -8931,7 +8932,7 @@ class ti extends T {
8931
8932
  const r = o.getBlockByChildNode(e.relatedTarget) || this.lastSelectedBlock, l = o.getBlockByChildNode(e.target);
8932
8933
  if (!(!r || !l) && l !== r) {
8933
8934
  if (this.firstSelectedBlock && r === this.firstSelectedBlock) {
8934
- (c = y.get()) == null || c.removeAllRanges(), r.selected = !0, l.selected = !0, s.clearCache();
8935
+ (c = B.get()) == null || c.removeAllRanges(), r.selected = !0, l.selected = !0, s.clearCache();
8935
8936
  return;
8936
8937
  }
8937
8938
  if (this.firstSelectedBlock && l === this.firstSelectedBlock) {
@@ -8976,7 +8977,7 @@ class ti extends T {
8976
8977
  toggleBlockSelectedState(t = !0) {
8977
8978
  var r;
8978
8979
  const { BlockManager: e, BlockSelection: o } = this.Blok, s = e.currentBlock;
8979
- if (!this.lastSelectedBlock && !s || (!this.lastSelectedBlock && s && (this.lastSelectedBlock = this.firstSelectedBlock = s), this.firstSelectedBlock === this.lastSelectedBlock && this.firstSelectedBlock && (this.firstSelectedBlock.selected = !0, o.clearCache(), (r = y.get()) == null || r.removeAllRanges(), this.Blok.Toolbar.close()), !this.lastSelectedBlock))
8980
+ if (!this.lastSelectedBlock && !s || (!this.lastSelectedBlock && s && (this.lastSelectedBlock = this.firstSelectedBlock = s), this.firstSelectedBlock === this.lastSelectedBlock && this.firstSelectedBlock && (this.firstSelectedBlock.selected = !0, o.clearCache(), (r = B.get()) == null || r.removeAllRanges(), this.Blok.Toolbar.close()), !this.lastSelectedBlock))
8980
8981
  return;
8981
8982
  const n = e.blocks.indexOf(this.lastSelectedBlock) + (t ? 1 : -1), i = e.blocks[n];
8982
8983
  i && (this.lastSelectedBlock.selected !== i.selected ? (i.selected = !0, o.clearCache(), this.Blok.Toolbar.close()) : (this.lastSelectedBlock.selected = !1, o.clearCache(), this.Blok.Toolbar.close()), this.lastSelectedBlock = i, this.Blok.InlineToolbar.close(), i.holder.scrollIntoView({
@@ -9017,7 +9018,7 @@ class ti extends T {
9017
9018
  */
9018
9019
  enableCrossBlockSelection(t) {
9019
9020
  const { UI: e } = this.Blok;
9020
- e.nodes.redactor && (y.isCollapsed || this.Blok.BlockSelection.clearSelection(t), e.nodes.redactor.contains(t.target) ? this.watchSelection(t) : this.Blok.BlockSelection.clearSelection(t));
9021
+ e.nodes.redactor && (B.isCollapsed || this.Blok.BlockSelection.clearSelection(t), e.nodes.redactor.contains(t.target) ? this.watchSelection(t) : this.Blok.BlockSelection.clearSelection(t));
9021
9022
  }
9022
9023
  /**
9023
9024
  * Change blocks selection state between passed two blocks.
@@ -9946,7 +9947,7 @@ const ro = /* @__PURE__ */ new Set([
9946
9947
  if (!i)
9947
9948
  return null;
9948
9949
  const { content: r, tool: l, isBlock: c } = i, h = (l.pasteConfig === !1 ? [] : ((k = l.pasteConfig) == null ? void 0 : k.tags) || []).reduce((w, x) => {
9949
- const S = this.collectTagNames(x), M = B({}, w);
9950
+ const S = this.collectTagNames(x), M = y({}, w);
9950
9951
  return S.forEach((R) => {
9951
9952
  const D = A(x) ? x[R] : null;
9952
9953
  M[R.toLowerCase()] = D != null ? D : {};
@@ -10389,7 +10390,7 @@ class ni extends T {
10389
10390
  if (this.rectCrossesBlocks = !(i || r), this.isRectSelectionActivated || (this.rectCrossesBlocks = !1, this.isRectSelectionActivated = !0, this.shrinkRectangleToPoint(), e.style.display = "block"), this.updateRectangleSize(), this.Blok.Toolbar.close(), n === void 0)
10390
10391
  return;
10391
10392
  this.trySelectNextBlock(n), this.inverseSelection();
10392
- const l = y.get();
10393
+ const l = B.get();
10393
10394
  l && l.removeAllRanges();
10394
10395
  }
10395
10396
  /**
@@ -10512,10 +10513,10 @@ const ii = (a) => a.some((t) => t.items !== void 0 && t.items.length > 0), ri =
10512
10513
  return a.forEach((l, c) => {
10513
10514
  const d = be();
10514
10515
  r.push(d);
10515
- const h = l.items && l.items.length > 0 ? Lo(l.items, d, e + 1, o, void 0, n, i) : [], u = o === "ordered" && e === 0 && c === 0 && s !== void 0 && s !== 1, g = B(B(B({
10516
+ const h = l.items && l.items.length > 0 ? Lo(l.items, d, e + 1, o, void 0, n, i) : [], u = o === "ordered" && e === 0 && c === 0 && s !== void 0 && s !== 1, g = y(y(y({
10516
10517
  id: d,
10517
10518
  type: "list_item",
10518
- data: B({
10519
+ data: y({
10519
10520
  text: l.content,
10520
10521
  checked: l.checked,
10521
10522
  style: o
@@ -10535,7 +10536,7 @@ const ii = (a) => a.some((t) => t.items !== void 0 && t.items.length > 0), ri =
10535
10536
  const r = s.data, l = ci(r, s.tunes);
10536
10537
  t.push(...l);
10537
10538
  } else
10538
- t.push(H(B({}, s), {
10539
+ t.push(P(y({}, s), {
10539
10540
  id: n
10540
10541
  }));
10541
10542
  }
@@ -10567,10 +10568,10 @@ const ii = (a) => a.some((t) => t.items !== void 0 && t.items.length > 0), ri =
10567
10568
  }, pi = (a, t, e) => {
10568
10569
  var r, l;
10569
10570
  const o = Oo(a, t, e), s = ((r = a.data) == null ? void 0 : r.style) || "unordered", n = (l = a.data) == null ? void 0 : l.start;
10570
- return B({
10571
+ return y({
10571
10572
  id: a.id,
10572
10573
  type: "list",
10573
- data: B({
10574
+ data: y({
10574
10575
  style: s,
10575
10576
  items: o
10576
10577
  }, s === "ordered" && n !== void 0 && n !== 1 ? { start: n } : {})
@@ -10726,7 +10727,7 @@ class ki extends T {
10726
10727
  isValid: !1
10727
10728
  };
10728
10729
  const n = await t.validate(s.data);
10729
- return H(B({}, s), {
10730
+ return P(y({}, s), {
10730
10731
  isValid: n,
10731
10732
  parentId: t.parentId,
10732
10733
  contentIds: t.contentIds
@@ -10757,7 +10758,7 @@ class ki extends T {
10757
10758
  I("Stub block data is malformed and was skipped");
10758
10759
  return;
10759
10760
  }
10760
- const k = u === void 0 || N(u), w = p != null, x = b !== void 0 && b.length > 0, S = B(B(B({
10761
+ const k = u === void 0 || N(u), w = p != null, x = b !== void 0 && b.length > 0, S = y(y(y({
10761
10762
  id: c,
10762
10763
  type: d,
10763
10764
  data: h
@@ -10796,10 +10797,10 @@ class ki extends T {
10796
10797
  s.map(({ data: r }) => r),
10797
10798
  e,
10798
10799
  o
10799
- ), i = t.map((r) => B({}, r));
10800
+ ), i = t.map((r) => y({}, r));
10800
10801
  return s.forEach(({ index: r }, l) => {
10801
10802
  const c = n[l];
10802
- i[r] = H(B({}, i[r]), {
10803
+ i[r] = P(y({}, i[r]), {
10803
10804
  data: c.data
10804
10805
  });
10805
10806
  }), i;
@@ -10836,7 +10837,7 @@ class ki extends T {
10836
10837
  if (N(e))
10837
10838
  return;
10838
10839
  const o = t.preservedTunes;
10839
- return H(B({
10840
+ return P(y({
10840
10841
  id: t.id,
10841
10842
  tool: t.name,
10842
10843
  data: e
@@ -10994,12 +10995,13 @@ class yi extends Se {
10994
10995
  * @param readOnly - True if Blok is in read-only mode
10995
10996
  */
10996
10997
  create(t, e, o) {
10998
+ const s = this.toolbox, n = s !== void 0 ? P(y({}, this.settings), { _toolboxEntries: s }) : this.settings;
10997
10999
  return new this.constructable({
10998
11000
  data: t,
10999
11001
  block: e,
11000
11002
  readOnly: o,
11001
11003
  api: this.api,
11002
- config: this.settings
11004
+ config: n
11003
11005
  });
11004
11006
  }
11005
11007
  /**
@@ -11044,9 +11046,9 @@ class yi extends Se {
11044
11046
  mergeToolboxSettings(t, e) {
11045
11047
  return e == null ? Array.isArray(t) ? t : [t] : !Array.isArray(e) && Array.isArray(t) ? [e] : Array.isArray(e) ? Array.isArray(t) ? e.map((o, s) => {
11046
11048
  const n = t[s];
11047
- return n ? B(B({}, n), o) : o;
11049
+ return n ? y(y({}, n), o) : o;
11048
11050
  }) : e : [
11049
- B(B({}, t), e)
11051
+ y(y({}, t), e)
11050
11052
  ];
11051
11053
  }
11052
11054
  /**
@@ -11164,11 +11166,15 @@ class Bi {
11164
11166
  createToolApi(t) {
11165
11167
  const e = this.api.methods, o = `tools.${t}`, s = {
11166
11168
  t: (n) => {
11167
- const i = `${o}.${n}`, r = e.i18n.t(i);
11168
- return r !== i ? r : e.i18n.t(n);
11169
+ const i = `${o}.${n}`;
11170
+ return e.i18n.has(i) ? e.i18n.t(i) : e.i18n.t(n);
11171
+ },
11172
+ has: (n) => {
11173
+ const i = `${o}.${n}`;
11174
+ return e.i18n.has(i) || e.i18n.has(n);
11169
11175
  }
11170
11176
  };
11171
- return H(B({}, e), {
11177
+ return P(y({}, e), {
11172
11178
  i18n: s
11173
11179
  });
11174
11180
  }
@@ -11814,7 +11820,7 @@ class Si extends T {
11814
11820
  backspacePressed(t) {
11815
11821
  if (this.Blok.BlockSettings.contains(t.target))
11816
11822
  return;
11817
- const { BlockManager: e, BlockSelection: o, Caret: s } = this.Blok, n = y.isSelectionExists, i = y.isCollapsed;
11823
+ const { BlockManager: e, BlockSelection: o, Caret: s } = this.Blok, n = B.isSelectionExists, i = B.isCollapsed;
11818
11824
  if (!(o.anyBlockSelected && (!n || i === !0 || this.Blok.CrossBlockSelection.isCrossBlockSelectionStarted)))
11819
11825
  return;
11820
11826
  const l = e.removeSelectedBlocks();
@@ -11873,7 +11879,7 @@ class Si extends T {
11873
11879
  s.keydown(t);
11874
11880
  return;
11875
11881
  }
11876
- const n = e.currentBlockIndex >= 0, i = y.isSelectionExists, r = y.isCollapsed;
11882
+ const n = e.currentBlockIndex >= 0, i = B.isSelectionExists, r = B.isCollapsed;
11877
11883
  if (o.anyBlockSelected && (!i || r === !0)) {
11878
11884
  o.clearSelection(t), t.preventDefault(), t.stopImmediatePropagation(), t.stopPropagation();
11879
11885
  return;
@@ -11892,7 +11898,7 @@ class Si extends T {
11892
11898
  var p, b;
11893
11899
  if (!t.isTrusted)
11894
11900
  return;
11895
- const e = t.target, o = this.nodes.holder.contains(e) || y.isAtBlok, s = this.nodes.redactor.contains(e), n = this.Blok.Toolbar.contains(e), i = this.Blok.InlineToolbar.containsNode(e), r = o || n, l = this.Blok.BlockSettings.contains(e), c = (p = this.Blok.Toolbar.nodes.settingsToggler) == null ? void 0 : p.contains(e), d = (b = this.Blok.Toolbar.nodes.plusButton) == null ? void 0 : b.contains(e), h = l || c || d;
11901
+ const e = t.target, o = this.nodes.holder.contains(e) || B.isAtBlok, s = this.nodes.redactor.contains(e), n = this.Blok.Toolbar.contains(e), i = this.Blok.InlineToolbar.containsNode(e), r = o || n, l = this.Blok.BlockSettings.contains(e), c = (p = this.Blok.Toolbar.nodes.settingsToggler) == null ? void 0 : p.contains(e), d = (b = this.Blok.Toolbar.nodes.plusButton) == null ? void 0 : b.contains(e), h = l || c || d;
11896
11902
  (!r || !s && !n) && !h && (this.Blok.BlockManager.unsetCurrentBlock(), this.Blok.Toolbar.close());
11897
11903
  const g = this.Blok.BlockSettings.opened && !h;
11898
11904
  if (g && this.Blok.BlockSettings.close(), g && s) {
@@ -11941,7 +11947,7 @@ class Si extends T {
11941
11947
  * - otherwise, add a new empty Block and set a Caret to that
11942
11948
  */
11943
11949
  redactorClicked(t) {
11944
- if (!y.isCollapsed)
11950
+ if (!B.isCollapsed)
11945
11951
  return;
11946
11952
  const e = t.target, o = t.metaKey || t.ctrlKey;
11947
11953
  if (!(f.isAnchor(e) && o)) {
@@ -11982,10 +11988,10 @@ class Si extends T {
11982
11988
  */
11983
11989
  selectionChanged() {
11984
11990
  var u, g, p;
11985
- const { CrossBlockSelection: t, BlockSelection: e } = this.Blok, o = y.anchorElement;
11986
- if (t.isCrossBlockSelectionStarted && e.anyBlockSelected && ((u = y.get()) == null || u.removeAllRanges()), document.querySelector('[data-blok-fake-background="true"]') !== null && ((p = (g = this.Blok) == null ? void 0 : g.InlineToolbar) != null && p.opened) || (!o && !y.range && this.Blok.InlineToolbar.close(), !o))
11991
+ const { CrossBlockSelection: t, BlockSelection: e } = this.Blok, o = B.anchorElement;
11992
+ if (t.isCrossBlockSelectionStarted && e.anyBlockSelected && ((u = B.get()) == null || u.removeAllRanges()), document.querySelector('[data-blok-fake-background="true"]') !== null && ((p = (g = this.Blok) == null ? void 0 : g.InlineToolbar) != null && p.opened) || (!o && !B.range && this.Blok.InlineToolbar.close(), !o))
11987
11993
  return;
11988
- const n = o.closest('[data-blok-testid="block-content"]'), i = n === null || n.closest('[data-blok-testid="blok-editor"]') !== this.nodes.wrapper, r = o.getAttribute("data-blok-inline-toolbar") === "true", l = i && !this.Blok.InlineToolbar.containsNode(o), c = y.get(), d = !c || c.isCollapsed || y.text.length === 0, h = this.Blok.InlineToolbar.hasFlipperFocus;
11994
+ const n = o.closest('[data-blok-testid="block-content"]'), i = n === null || n.closest('[data-blok-testid="blok-editor"]') !== this.nodes.wrapper, r = o.getAttribute("data-blok-inline-toolbar") === "true", l = i && !this.Blok.InlineToolbar.containsNode(o), c = B.get(), d = !c || c.isCollapsed || B.text.length === 0, h = this.Blok.InlineToolbar.hasFlipperFocus;
11989
11995
  if (d && this.Blok.InlineToolbar.opened && !h) {
11990
11996
  this.Blok.InlineToolbar.close();
11991
11997
  return;
@@ -12231,7 +12237,7 @@ const Ci = 30, Ii = 200, Ei = 100, rt = class rt extends T {
12231
12237
  };
12232
12238
  const o = e.map(async (i) => {
12233
12239
  const r = await i.save();
12234
- return !r || r.data === void 0 || !await i.validate(r.data) ? null : B({
12240
+ return !r || r.data === void 0 || !await i.validate(r.data) ? null : y({
12235
12241
  id: r.id,
12236
12242
  type: r.tool,
12237
12243
  data: r.data
@@ -12599,7 +12605,7 @@ class Mi {
12599
12605
  */
12600
12606
  set configuration(t) {
12601
12607
  var l, c, d, h;
12602
- A(t) ? this.config = B({}, t) : this.config = {
12608
+ A(t) ? this.config = y({}, t) : this.config = {
12603
12609
  holder: t
12604
12610
  }, this.config.holder == null && (this.config.holder = "blok"), this.config.logLevel == null && (this.config.logLevel = hs.VERBOSE), us(this.config.logLevel), this.config.defaultBlock = (l = this.config.defaultBlock) != null ? l : "paragraph";
12605
12611
  const e = this.config.tools, o = this.config.defaultBlock, s = e != null && Object.prototype.hasOwnProperty.call(e, o != null ? o : ""), n = (c = this.config.data) == null ? void 0 : c.blocks, i = Array.isArray(n) && n.length > 0;
@@ -12608,7 +12614,7 @@ class Mi {
12608
12614
  `Default block "${o}" is not configured. Falling back to "paragraph" tool.`,
12609
12615
  "warn"
12610
12616
  ), this.config.defaultBlock = "paragraph";
12611
- const u = this.config.tools, g = B({}, u != null ? u : {}), p = g.paragraph;
12617
+ const u = this.config.tools, g = y({}, u != null ? u : {}), p = g.paragraph;
12612
12618
  g.paragraph = this.createParagraphToolConfig(p), this.config.tools = g;
12613
12619
  }
12614
12620
  this.config.minHeight = this.config.minHeight !== void 0 ? this.config.minHeight : 300;
@@ -12732,8 +12738,8 @@ class Mi {
12732
12738
  };
12733
12739
  if (A(t)) {
12734
12740
  const e = t, o = e.config;
12735
- return H(B({}, e), {
12736
- config: H(B({}, A(o) ? o : {}), {
12741
+ return P(y({}, e), {
12742
+ config: P(y({}, A(o) ? o : {}), {
12737
12743
  preserveBlank: !0
12738
12744
  })
12739
12745
  });
@@ -12764,7 +12770,7 @@ const Ni = _t(), vt = class vt {
12764
12770
  * @param {BlokConfig|string|undefined} [configuration] - user configuration
12765
12771
  */
12766
12772
  constructor(t) {
12767
- this.initialConfiguration = A(t) ? B({}, t) : t;
12773
+ this.initialConfiguration = A(t) ? y({}, t) : t;
12768
12774
  const e = A(t) && E(t.onReady) ? t.onReady : () => {
12769
12775
  }, o = new Mi(t);
12770
12776
  this.destroy = () => {