markdown-flow-ui 0.3.5 → 0.3.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 (352) hide show
  1. package/dist/_virtual/index8.cjs +1 -1
  2. package/dist/_virtual/index8.es.js +2 -2
  3. package/dist/_virtual/index9.cjs +1 -1
  4. package/dist/_virtual/index9.es.js +2 -2
  5. package/dist/assets/markdown-flow-ui.css +1 -1
  6. package/dist/components/ContentRender/ContentRender.cjs +2 -2
  7. package/dist/components/ContentRender/ContentRender.cjs.map +1 -1
  8. package/dist/components/ContentRender/ContentRender.d.ts +2 -0
  9. package/dist/components/ContentRender/ContentRender.es.js +513 -509
  10. package/dist/components/ContentRender/ContentRender.es.js.map +1 -1
  11. package/dist/components/ContentRender/MarkdownFlowInput.cjs +1 -1
  12. package/dist/components/ContentRender/MarkdownFlowInput.cjs.map +1 -1
  13. package/dist/components/ContentRender/MarkdownFlowInput.d.ts +2 -0
  14. package/dist/components/ContentRender/MarkdownFlowInput.es.js +40 -38
  15. package/dist/components/ContentRender/MarkdownFlowInput.es.js.map +1 -1
  16. package/dist/components/ContentRender/plugins/CustomVariable.cjs +1 -1
  17. package/dist/components/ContentRender/plugins/CustomVariable.cjs.map +1 -1
  18. package/dist/components/ContentRender/plugins/CustomVariable.d.ts +2 -1
  19. package/dist/components/ContentRender/plugins/CustomVariable.es.js +110 -90
  20. package/dist/components/ContentRender/plugins/CustomVariable.es.js.map +1 -1
  21. package/dist/components/ContentRender/utils/accept-placeholder.cjs +2 -0
  22. package/dist/components/ContentRender/utils/accept-placeholder.cjs.map +1 -0
  23. package/dist/components/ContentRender/utils/accept-placeholder.d.ts +3 -0
  24. package/dist/components/ContentRender/utils/accept-placeholder.es.js +10 -0
  25. package/dist/components/ContentRender/utils/accept-placeholder.es.js.map +1 -0
  26. package/dist/components/MarkdownFlow/MarkdownFlow.cjs +1 -1
  27. package/dist/components/MarkdownFlow/MarkdownFlow.cjs.map +1 -1
  28. package/dist/components/MarkdownFlow/MarkdownFlow.d.ts +2 -0
  29. package/dist/components/MarkdownFlow/MarkdownFlow.es.js +23 -21
  30. package/dist/components/MarkdownFlow/MarkdownFlow.es.js.map +1 -1
  31. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.cjs +3 -3
  32. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.cjs.map +1 -1
  33. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.es.js +145 -143
  34. package/dist/components/MarkdownFlowEditor/plugins/SyntaxHighlighter.es.js.map +1 -1
  35. package/dist/components/Slide/Slide.cjs +1 -1
  36. package/dist/components/Slide/Slide.cjs.map +1 -1
  37. package/dist/components/Slide/Slide.d.ts +2 -0
  38. package/dist/components/Slide/Slide.es.js +348 -344
  39. package/dist/components/Slide/Slide.es.js.map +1 -1
  40. package/dist/markdown-flow-ui-lib.css +1 -1
  41. package/dist/markdown-flow-ui.css +1 -1
  42. package/dist/node_modules/@braintree/sanitize-url/dist/index.cjs +1 -1
  43. package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
  44. package/dist/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +1 -0
  45. package/dist/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +1 -0
  46. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -1
  47. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +1 -1
  48. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +92 -89
  49. package/dist/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +1 -1
  50. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs +2 -0
  51. package/dist/node_modules/@radix-ui/react-popper/dist/index.cjs.map +1 -0
  52. package/dist/node_modules/@radix-ui/{react-tooltip/node_modules/@radix-ui/react-popper → react-popper}/dist/index.es.js +5 -5
  53. package/dist/node_modules/@radix-ui/react-popper/dist/index.es.js.map +1 -0
  54. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs +1 -1
  55. package/dist/node_modules/@radix-ui/react-slot/dist/index.cjs.map +1 -1
  56. package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js +50 -47
  57. package/dist/node_modules/@radix-ui/react-slot/dist/index.es.js.map +1 -1
  58. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs +1 -1
  59. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.cjs.map +1 -1
  60. package/dist/node_modules/@radix-ui/react-tooltip/dist/index.es.js +9 -9
  61. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -1
  62. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +1 -1
  63. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +10 -7
  64. package/dist/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +1 -1
  65. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -1
  66. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs.map +1 -1
  67. package/dist/node_modules/@radix-ui/react-visually-hidden/dist/index.es.js +1 -1
  68. package/dist/node_modules/classnames/index.cjs +1 -1
  69. package/dist/node_modules/classnames/index.es.js +1 -1
  70. package/dist/node_modules/i18next/dist/esm/i18next.cjs +1 -1
  71. package/dist/node_modules/i18next/dist/esm/i18next.cjs.map +1 -1
  72. package/dist/node_modules/i18next/dist/esm/i18next.es.js +809 -900
  73. package/dist/node_modules/i18next/dist/esm/i18next.es.js.map +1 -1
  74. package/dist/node_modules/katex/dist/katex.cjs +14 -14
  75. package/dist/node_modules/katex/dist/katex.cjs.map +1 -1
  76. package/dist/node_modules/katex/dist/katex.es.js +1302 -1192
  77. package/dist/node_modules/katex/dist/katex.es.js.map +1 -1
  78. package/dist/node_modules/lucide-react/dist/esm/Icon.cjs +1 -1
  79. package/dist/node_modules/lucide-react/dist/esm/Icon.cjs.map +1 -1
  80. package/dist/node_modules/lucide-react/dist/esm/Icon.es.js +52 -29
  81. package/dist/node_modules/lucide-react/dist/esm/Icon.es.js.map +1 -1
  82. package/dist/node_modules/lucide-react/dist/esm/context.cjs +2 -0
  83. package/dist/node_modules/lucide-react/dist/esm/context.cjs.map +1 -0
  84. package/dist/node_modules/lucide-react/dist/esm/context.es.js +6 -0
  85. package/dist/node_modules/lucide-react/dist/esm/context.es.js.map +1 -0
  86. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.cjs +1 -1
  87. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.cjs.map +1 -1
  88. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.es.js +13 -16
  89. package/dist/node_modules/lucide-react/dist/esm/createLucideIcon.es.js.map +1 -1
  90. package/dist/node_modules/lucide-react/dist/esm/icons/captions-off.cjs +1 -1
  91. package/dist/node_modules/lucide-react/dist/esm/icons/captions-off.cjs.map +1 -1
  92. package/dist/node_modules/lucide-react/dist/esm/icons/captions-off.es.js +16 -10
  93. package/dist/node_modules/lucide-react/dist/esm/icons/captions-off.es.js.map +1 -1
  94. package/dist/node_modules/lucide-react/dist/esm/icons/captions.cjs +1 -1
  95. package/dist/node_modules/lucide-react/dist/esm/icons/captions.cjs.map +1 -1
  96. package/dist/node_modules/lucide-react/dist/esm/icons/captions.es.js +13 -6
  97. package/dist/node_modules/lucide-react/dist/esm/icons/captions.es.js.map +1 -1
  98. package/dist/node_modules/lucide-react/dist/esm/icons/check.cjs +1 -1
  99. package/dist/node_modules/lucide-react/dist/esm/icons/check.cjs.map +1 -1
  100. package/dist/node_modules/lucide-react/dist/esm/icons/check.es.js +8 -2
  101. package/dist/node_modules/lucide-react/dist/esm/icons/check.es.js.map +1 -1
  102. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.cjs +1 -1
  103. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.cjs.map +1 -1
  104. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.es.js +10 -4
  105. package/dist/node_modules/lucide-react/dist/esm/icons/chevron-left.es.js.map +1 -1
  106. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.cjs +1 -1
  107. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.cjs.map +1 -1
  108. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.es.js +12 -6
  109. package/dist/node_modules/lucide-react/dist/esm/icons/chevrons-down.es.js.map +1 -1
  110. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.cjs +1 -1
  111. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.cjs.map +1 -1
  112. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.es.js +14 -7
  113. package/dist/node_modules/lucide-react/dist/esm/icons/circle-check.es.js.map +1 -1
  114. package/dist/node_modules/lucide-react/dist/esm/icons/copy.cjs +1 -1
  115. package/dist/node_modules/lucide-react/dist/esm/icons/copy.cjs.map +1 -1
  116. package/dist/node_modules/lucide-react/dist/esm/icons/copy.es.js +11 -5
  117. package/dist/node_modules/lucide-react/dist/esm/icons/copy.es.js.map +1 -1
  118. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.cjs +1 -1
  119. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.cjs.map +1 -1
  120. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.es.js +13 -6
  121. package/dist/node_modules/lucide-react/dist/esm/icons/ellipsis-vertical.es.js.map +1 -1
  122. package/dist/node_modules/lucide-react/dist/esm/icons/fast-forward.cjs +1 -1
  123. package/dist/node_modules/lucide-react/dist/esm/icons/fast-forward.cjs.map +1 -1
  124. package/dist/node_modules/lucide-react/dist/esm/icons/fast-forward.es.js +22 -7
  125. package/dist/node_modules/lucide-react/dist/esm/icons/fast-forward.es.js.map +1 -1
  126. package/dist/node_modules/lucide-react/dist/esm/icons/file-type.cjs +1 -1
  127. package/dist/node_modules/lucide-react/dist/esm/icons/file-type.cjs.map +1 -1
  128. package/dist/node_modules/lucide-react/dist/esm/icons/file-type.es.js +20 -8
  129. package/dist/node_modules/lucide-react/dist/esm/icons/file-type.es.js.map +1 -1
  130. package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.cjs +1 -1
  131. package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.cjs.map +1 -1
  132. package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js +17 -11
  133. package/dist/node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js.map +1 -1
  134. package/dist/node_modules/lucide-react/dist/esm/icons/image.cjs +1 -1
  135. package/dist/node_modules/lucide-react/dist/esm/icons/image.cjs.map +1 -1
  136. package/dist/node_modules/lucide-react/dist/esm/icons/image.es.js +14 -8
  137. package/dist/node_modules/lucide-react/dist/esm/icons/image.es.js.map +1 -1
  138. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.cjs +1 -1
  139. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.cjs.map +1 -1
  140. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.es.js +11 -4
  141. package/dist/node_modules/lucide-react/dist/esm/icons/loader-circle.es.js.map +1 -1
  142. package/dist/node_modules/lucide-react/dist/esm/icons/maximize.cjs +1 -1
  143. package/dist/node_modules/lucide-react/dist/esm/icons/maximize.cjs.map +1 -1
  144. package/dist/node_modules/lucide-react/dist/esm/icons/maximize.es.js +15 -9
  145. package/dist/node_modules/lucide-react/dist/esm/icons/maximize.es.js.map +1 -1
  146. package/dist/node_modules/lucide-react/dist/esm/icons/rewind.cjs +1 -1
  147. package/dist/node_modules/lucide-react/dist/esm/icons/rewind.cjs.map +1 -1
  148. package/dist/node_modules/lucide-react/dist/esm/icons/rewind.es.js +25 -7
  149. package/dist/node_modules/lucide-react/dist/esm/icons/rewind.es.js.map +1 -1
  150. package/dist/node_modules/lucide-react/dist/esm/icons/scan-line.cjs +1 -1
  151. package/dist/node_modules/lucide-react/dist/esm/icons/scan-line.cjs.map +1 -1
  152. package/dist/node_modules/lucide-react/dist/esm/icons/scan-line.es.js +16 -10
  153. package/dist/node_modules/lucide-react/dist/esm/icons/scan-line.es.js.map +1 -1
  154. package/dist/node_modules/lucide-react/dist/esm/icons/skip-back.cjs +1 -1
  155. package/dist/node_modules/lucide-react/dist/esm/icons/skip-back.cjs.map +1 -1
  156. package/dist/node_modules/lucide-react/dist/esm/icons/skip-back.es.js +19 -7
  157. package/dist/node_modules/lucide-react/dist/esm/icons/skip-back.es.js.map +1 -1
  158. package/dist/node_modules/lucide-react/dist/esm/icons/skip-forward.cjs +1 -1
  159. package/dist/node_modules/lucide-react/dist/esm/icons/skip-forward.cjs.map +1 -1
  160. package/dist/node_modules/lucide-react/dist/esm/icons/skip-forward.es.js +19 -7
  161. package/dist/node_modules/lucide-react/dist/esm/icons/skip-forward.es.js.map +1 -1
  162. package/dist/node_modules/lucide-react/dist/esm/icons/square-check.cjs +1 -1
  163. package/dist/node_modules/lucide-react/dist/esm/icons/square-check.cjs.map +1 -1
  164. package/dist/node_modules/lucide-react/dist/esm/icons/square-check.es.js +14 -7
  165. package/dist/node_modules/lucide-react/dist/esm/icons/square-check.es.js.map +1 -1
  166. package/dist/node_modules/lucide-react/dist/esm/icons/square-play.cjs +1 -1
  167. package/dist/node_modules/lucide-react/dist/esm/icons/square-play.cjs.map +1 -1
  168. package/dist/node_modules/lucide-react/dist/esm/icons/square-play.es.js +19 -6
  169. package/dist/node_modules/lucide-react/dist/esm/icons/square-play.es.js.map +1 -1
  170. package/dist/node_modules/lucide-react/dist/esm/icons/text-cursor-input.cjs +1 -1
  171. package/dist/node_modules/lucide-react/dist/esm/icons/text-cursor-input.cjs.map +1 -1
  172. package/dist/node_modules/lucide-react/dist/esm/icons/text-cursor-input.es.js +15 -9
  173. package/dist/node_modules/lucide-react/dist/esm/icons/text-cursor-input.es.js.map +1 -1
  174. package/dist/node_modules/lucide-react/dist/esm/icons/upload.cjs +1 -1
  175. package/dist/node_modules/lucide-react/dist/esm/icons/upload.cjs.map +1 -1
  176. package/dist/node_modules/lucide-react/dist/esm/icons/upload.es.js +13 -7
  177. package/dist/node_modules/lucide-react/dist/esm/icons/upload.es.js.map +1 -1
  178. package/dist/node_modules/lucide-react/dist/esm/icons/volume-2.cjs +1 -1
  179. package/dist/node_modules/lucide-react/dist/esm/icons/volume-2.cjs.map +1 -1
  180. package/dist/node_modules/lucide-react/dist/esm/icons/volume-2.es.js +19 -13
  181. package/dist/node_modules/lucide-react/dist/esm/icons/volume-2.es.js.map +1 -1
  182. package/dist/node_modules/lucide-react/dist/esm/icons/x.cjs +1 -1
  183. package/dist/node_modules/lucide-react/dist/esm/icons/x.cjs.map +1 -1
  184. package/dist/node_modules/lucide-react/dist/esm/icons/x.es.js +13 -7
  185. package/dist/node_modules/lucide-react/dist/esm/icons/x.es.js.map +1 -1
  186. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.cjs +2 -0
  187. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.cjs.map +1 -0
  188. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.es.js +18 -0
  189. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconForReact.es.js.map +1 -0
  190. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.cjs +2 -0
  191. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.cjs.map +1 -0
  192. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.es.js +44 -0
  193. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/buildLucideIconNode.es.js.map +1 -0
  194. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.cjs +2 -0
  195. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.cjs.map +1 -0
  196. package/dist/node_modules/lucide-react/dist/esm/{defaultAttributes.es.js → shared/src/build/defaultAttributes.es.js} +4 -4
  197. package/dist/node_modules/lucide-react/dist/esm/shared/src/build/defaultAttributes.es.js.map +1 -0
  198. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.cjs +2 -0
  199. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.cjs.map +1 -0
  200. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.es.js +10 -0
  201. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/hasA11yProp.es.js.map +1 -0
  202. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.cjs +2 -0
  203. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.cjs.map +1 -0
  204. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.es.js +5 -0
  205. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.es.js.map +1 -0
  206. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.cjs +2 -0
  207. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.cjs.map +1 -0
  208. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.es.js +15 -0
  209. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toCamelCase.es.js.map +1 -0
  210. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.cjs +2 -0
  211. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.cjs.map +1 -0
  212. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.es.js +5 -0
  213. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toKebabCase.es.js.map +1 -0
  214. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.cjs +2 -0
  215. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.cjs.map +1 -0
  216. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.es.js +15 -0
  217. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toLucideIconData.es.js.map +1 -0
  218. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.cjs +2 -0
  219. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.cjs.map +1 -0
  220. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.es.js +9 -0
  221. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils/toPascalCase.es.js.map +1 -0
  222. package/dist/node_modules/micromark/lib/create-tokenizer.cjs +3 -3
  223. package/dist/node_modules/micromark/lib/create-tokenizer.cjs.map +1 -1
  224. package/dist/node_modules/micromark/lib/create-tokenizer.es.js +78 -76
  225. package/dist/node_modules/micromark/lib/create-tokenizer.es.js.map +1 -1
  226. package/dist/node_modules/micromark/lib/initialize/document.cjs +1 -1
  227. package/dist/node_modules/micromark/lib/initialize/document.cjs.map +1 -1
  228. package/dist/node_modules/micromark/lib/initialize/document.es.js +77 -75
  229. package/dist/node_modules/micromark/lib/initialize/document.es.js.map +1 -1
  230. package/dist/node_modules/micromark/lib/initialize/text.cjs +1 -1
  231. package/dist/node_modules/micromark/lib/initialize/text.cjs.map +1 -1
  232. package/dist/node_modules/micromark/lib/initialize/text.es.js +67 -64
  233. package/dist/node_modules/micromark/lib/initialize/text.es.js.map +1 -1
  234. package/dist/node_modules/micromark/lib/preprocess.cjs +1 -1
  235. package/dist/node_modules/micromark/lib/preprocess.cjs.map +1 -1
  236. package/dist/node_modules/micromark/lib/preprocess.es.js +19 -14
  237. package/dist/node_modules/micromark/lib/preprocess.es.js.map +1 -1
  238. package/dist/node_modules/micromark-core-commonmark/lib/attention.cjs +1 -1
  239. package/dist/node_modules/micromark-core-commonmark/lib/attention.cjs.map +1 -1
  240. package/dist/node_modules/micromark-core-commonmark/lib/attention.es.js +36 -32
  241. package/dist/node_modules/micromark-core-commonmark/lib/attention.es.js.map +1 -1
  242. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.cjs +1 -1
  243. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.cjs.map +1 -1
  244. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.es.js +49 -61
  245. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.es.js.map +1 -1
  246. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.cjs +1 -1
  247. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.cjs.map +1 -1
  248. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.es.js +21 -27
  249. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.es.js.map +1 -1
  250. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.cjs +1 -1
  251. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.cjs.map +1 -1
  252. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.es.js +18 -14
  253. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.es.js.map +1 -1
  254. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.cjs +1 -1
  255. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.cjs.map +1 -1
  256. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.es.js +59 -71
  257. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.es.js.map +1 -1
  258. package/dist/node_modules/micromark-core-commonmark/lib/label-end.cjs +1 -1
  259. package/dist/node_modules/micromark-core-commonmark/lib/label-end.cjs.map +1 -1
  260. package/dist/node_modules/micromark-core-commonmark/lib/label-end.es.js +87 -85
  261. package/dist/node_modules/micromark-core-commonmark/lib/label-end.es.js.map +1 -1
  262. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.cjs +1 -1
  263. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.cjs.map +1 -1
  264. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.es.js +11 -10
  265. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.es.js.map +1 -1
  266. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.cjs +1 -1
  267. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.cjs.map +1 -1
  268. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.es.js +12 -11
  269. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.es.js.map +1 -1
  270. package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.cjs +2 -0
  271. package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.cjs.map +1 -0
  272. package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.es.js +18 -0
  273. package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.es.js.map +1 -0
  274. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.cjs +1 -1
  275. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.cjs.map +1 -1
  276. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.es.js +35 -33
  277. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.es.js.map +1 -1
  278. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.cjs +1 -1
  279. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.cjs.map +1 -1
  280. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.es.js +32 -28
  281. package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.es.js.map +1 -1
  282. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.cjs +1 -1
  283. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.cjs.map +1 -1
  284. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.es.js +18 -14
  285. package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.es.js.map +1 -1
  286. package/dist/node_modules/micromark-factory-space/index.cjs +1 -1
  287. package/dist/node_modules/micromark-factory-space/index.cjs.map +1 -1
  288. package/dist/node_modules/micromark-factory-space/index.es.js +24 -10
  289. package/dist/node_modules/micromark-factory-space/index.es.js.map +1 -1
  290. package/dist/node_modules/micromark-util-edit-map/index.cjs +2 -0
  291. package/dist/node_modules/micromark-util-edit-map/index.cjs.map +1 -0
  292. package/dist/node_modules/micromark-util-edit-map/index.es.js +83 -0
  293. package/dist/node_modules/micromark-util-edit-map/index.es.js.map +1 -0
  294. package/package.json +24 -17
  295. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.cjs +0 -2
  296. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.cjs.map +0 -1
  297. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.es.js +0 -50
  298. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/primitive/dist/index.es.js.map +0 -1
  299. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.cjs.map +0 -1
  300. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-arrow/dist/index.es.js.map +0 -1
  301. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.cjs +0 -2
  302. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.cjs.map +0 -1
  303. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.es.js +0 -82
  304. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-context/dist/index.es.js.map +0 -1
  305. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +0 -2
  306. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs.map +0 -1
  307. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js +0 -216
  308. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-dismissable-layer/dist/index.es.js.map +0 -1
  309. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +0 -2
  310. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.cjs.map +0 -1
  311. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js +0 -105
  312. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-focus-scope/dist/index.es.js.map +0 -1
  313. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs +0 -2
  314. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.cjs.map +0 -1
  315. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-popper/dist/index.es.js.map +0 -1
  316. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs +0 -2
  317. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.cjs.map +0 -1
  318. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.es.js +0 -18
  319. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-portal/dist/index.es.js.map +0 -1
  320. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
  321. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
  322. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.es.js +0 -39
  323. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  324. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -2
  325. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
  326. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js +0 -99
  327. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
  328. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +0 -2
  329. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs.map +0 -1
  330. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js +0 -16
  331. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.es.js.map +0 -1
  332. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +0 -2
  333. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs.map +0 -1
  334. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js +0 -70
  335. package/dist/node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-controllable-state/dist/index.es.js.map +0 -1
  336. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs +0 -2
  337. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.cjs.map +0 -1
  338. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.es.js +0 -39
  339. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-primitive/dist/index.es.js.map +0 -1
  340. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs +0 -2
  341. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.cjs.map +0 -1
  342. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js +0 -99
  343. package/dist/node_modules/@radix-ui/react-visually-hidden/node_modules/@radix-ui/react-slot/dist/index.es.js.map +0 -1
  344. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.cjs +0 -2
  345. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.cjs.map +0 -1
  346. package/dist/node_modules/lucide-react/dist/esm/defaultAttributes.es.js.map +0 -1
  347. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.cjs +0 -2
  348. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.cjs.map +0 -1
  349. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.es.js +0 -19
  350. package/dist/node_modules/lucide-react/dist/esm/shared/src/utils.es.js.map +0 -1
  351. /package/dist/node_modules/@radix-ui/{react-tooltip/node_modules/@radix-ui/react-arrow → react-arrow}/dist/index.cjs +0 -0
  352. /package/dist/node_modules/@radix-ui/{react-tooltip/node_modules/@radix-ui/react-arrow → react-arrow}/dist/index.es.js +0 -0
@@ -1,61 +1,61 @@
1
- import { jsxs as Ge, jsx as u, Fragment as zr } from "react/jsx-runtime";
2
- import { memo as Xr, useMemo as f, useId as Jr, useRef as m, useCallback as r, useState as p, useEffect as s, useLayoutEffect as Wr } from "react";
3
- import { isSandboxInteractionMessage as jr } from "../../lib/sandboxInteraction.es.js";
1
+ import { jsxs as Ge, jsx as u, Fragment as Xr } from "react/jsx-runtime";
2
+ import { memo as Jr, useMemo as f, useId as Wr, useRef as m, useCallback as r, useState as p, useEffect as s, useLayoutEffect as jr } from "react";
3
+ import { isSandboxInteractionMessage as Qr } from "../../lib/sandboxInteraction.es.js";
4
4
  import { cn as Pe } from "../../lib/utils.es.js";
5
- import { useResolvedDirection as Qr } from "../../lib/useResolvedDirection.es.js";
6
- import { getMarkdownFlowDirection as Zr, getMarkdownFlowLanguage as eo } from "../../lib/locale.es.js";
7
- import to from "../ui/loading-overlay-card.es.js";
8
- import no from "../ContentRender/ContentRender.es.js";
5
+ import { useResolvedDirection as Zr } from "../../lib/useResolvedDirection.es.js";
6
+ import { getMarkdownFlowDirection as eo, getMarkdownFlowLanguage as to } from "../../lib/locale.es.js";
7
+ import no from "../ui/loading-overlay-card.es.js";
8
+ import ro from "../ContentRender/ContentRender.es.js";
9
9
  import Dn from "../ContentRender/IframeSandbox.es.js";
10
10
  import "../ContentRender/utils/inline-code-ranges.es.js";
11
11
  import "../ui/inputGroup/input-group.es.js";
12
- import { isMobileDevice as ro, isLandscapeViewport as Bn, subscribeMobileDeviceChange as oo } from "../../lib/mobileDevice.es.js";
13
- import io from "./Player.es.js";
14
- import lo from "./MarkdownSlideScaling.es.js";
15
- import ao from "./SubtitleOverlay.es.js";
16
- import so from "./useSlide.es.js";
17
- import co from "./useWakePlayerFromIframe.es.js";
18
- import { PlayerKeyboardShortcutContext as uo } from "./utils/playerKeyboardShortcutContext.es.js";
19
- import { activatePlayerKeyboardShortcutOwner as fo } from "./utils/playerKeyboardShortcuts.es.js";
20
- import { DEFAULT_MOBILE_VIEW_MODE as vt, resolveMobileViewModeState as mo } from "./utils/mobileScreenMode.es.js";
21
- import { clampInteractionOverlayDragOffset as Vn, shouldPresentInteractionOverlay as po, shouldRenderInteractionOverlay as yo } from "./utils/interactionPlayback.es.js";
22
- import { resolveMarkdownScalingMode as ho } from "./utils/markdownScaling.es.js";
23
- import { shouldWakePlayerControlsAfterNavigation as $t } from "./utils/playerNavigationContext.es.js";
24
- import { shouldAutoAdvanceIntoAppendedMarker as go } from "./utils/appendedMarkerAdvance.es.js";
25
- import { resolvePendingStepAudioKey as vo, hasUnplayedStepAudio as So } from "./utils/stepAudioProgress.es.js";
26
- import { getPlaybackSequenceTransition as Io, shouldStartDefaultAudioSequence as bo } from "./utils/playbackSequence.es.js";
27
- import { hasResolvedInteractionElement as Ao, canReachSubtitleJumpTarget as Kn } from "./utils/subtitleJumpNavigation.es.js";
28
- import { resolvePlayerCustomActionElement as wo, getPlayerCustomActionCount as xo } from "./utils/playerCustomActions.es.js";
29
- import { createPlaybackTimeStore as Po } from "./utils/playbackTimeStore.es.js";
30
- import { resolveSlideInteractionState as Eo } from "./utils/interactionResolution.es.js";
31
- import { shouldUseAutoAdvanceToggle as Co } from "./utils/playerToggleMode.es.js";
32
- import { DEFAULT_IMAGE_ONLY_VISUAL_READY_TIMEOUT_MS as To, areImageOnlyStepIframeVisualsReady as Ro } from "./utils/imageOnlyStepVisualReady.es.js";
33
- import { resolveSilentStepAutoAdvanceBehavior as _o } from "./utils/silentStepAutoAdvance.es.js";
34
- import { resolveSlidePlayerVisibility as Oo, resolveSlidePlayerLayoutState as Mo } from "./utils/playerVisibility.es.js";
35
- import { getSlideLocaleTexts as ko, DEFAULT_SLIDE_BUFFERING_TEXTS as Lo } from "./slideI18n.es.js";
12
+ import { isMobileDevice as oo, isLandscapeViewport as Bn, subscribeMobileDeviceChange as io } from "../../lib/mobileDevice.es.js";
13
+ import lo from "./Player.es.js";
14
+ import ao from "./MarkdownSlideScaling.es.js";
15
+ import so from "./SubtitleOverlay.es.js";
16
+ import co from "./useSlide.es.js";
17
+ import uo from "./useWakePlayerFromIframe.es.js";
18
+ import { PlayerKeyboardShortcutContext as fo } from "./utils/playerKeyboardShortcutContext.es.js";
19
+ import { activatePlayerKeyboardShortcutOwner as mo } from "./utils/playerKeyboardShortcuts.es.js";
20
+ import { DEFAULT_MOBILE_VIEW_MODE as St, resolveMobileViewModeState as po } from "./utils/mobileScreenMode.es.js";
21
+ import { clampInteractionOverlayDragOffset as Vn, shouldPresentInteractionOverlay as yo, shouldRenderInteractionOverlay as ho } from "./utils/interactionPlayback.es.js";
22
+ import { resolveMarkdownScalingMode as go } from "./utils/markdownScaling.es.js";
23
+ import { shouldWakePlayerControlsAfterNavigation as zt } from "./utils/playerNavigationContext.es.js";
24
+ import { shouldAutoAdvanceIntoAppendedMarker as vo } from "./utils/appendedMarkerAdvance.es.js";
25
+ import { resolvePendingStepAudioKey as So, hasUnplayedStepAudio as Io } from "./utils/stepAudioProgress.es.js";
26
+ import { getPlaybackSequenceTransition as bo, shouldStartDefaultAudioSequence as Ao } from "./utils/playbackSequence.es.js";
27
+ import { hasResolvedInteractionElement as wo, canReachSubtitleJumpTarget as Kn } from "./utils/subtitleJumpNavigation.es.js";
28
+ import { resolvePlayerCustomActionElement as xo, getPlayerCustomActionCount as Po } from "./utils/playerCustomActions.es.js";
29
+ import { createPlaybackTimeStore as Eo } from "./utils/playbackTimeStore.es.js";
30
+ import { resolveSlideInteractionState as Co } from "./utils/interactionResolution.es.js";
31
+ import { shouldUseAutoAdvanceToggle as To } from "./utils/playerToggleMode.es.js";
32
+ import { DEFAULT_IMAGE_ONLY_VISUAL_READY_TIMEOUT_MS as Ro, areImageOnlyStepIframeVisualsReady as _o } from "./utils/imageOnlyStepVisualReady.es.js";
33
+ import { resolveSilentStepAutoAdvanceBehavior as Oo } from "./utils/silentStepAutoAdvance.es.js";
34
+ import { resolveSlidePlayerVisibility as Mo, resolveSlidePlayerLayoutState as ko } from "./utils/playerVisibility.es.js";
35
+ import { getSlideLocaleTexts as Lo, DEFAULT_SLIDE_BUFFERING_TEXTS as Fo } from "./slideI18n.es.js";
36
36
  /* empty css */
37
- import zt from "../../node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js";
38
- import Fo from "../../node_modules/lucide-react/dist/esm/icons/chevron-left.es.js";
39
- const No = 2e3, Do = 300, Bo = 160, Vo = 16, qn = 3e3, St = {
37
+ import Xt from "../../node_modules/lucide-react/dist/esm/icons/grip-horizontal.es.js";
38
+ import No from "../../node_modules/lucide-react/dist/esm/icons/chevron-left.es.js";
39
+ const Do = 2e3, Bo = 300, Vo = 160, Ko = 16, qn = 3e3, It = {
40
40
  x: 0,
41
41
  y: 0
42
- }, Jt = 0.5, Ko = typeof window > "u" ? s : Wr, qo = [
42
+ }, Wt = 0.5, qo = typeof window > "u" ? s : jr, Uo = [
43
43
  "button",
44
44
  "input",
45
45
  "textarea",
46
46
  '[contenteditable=""]',
47
47
  '[contenteditable="true"]',
48
48
  '[contenteditable="plaintext-only"]'
49
- ].join(", "), Wt = "waitingForAudio", Uo = ({
49
+ ].join(", "), jt = "waitingForAudio", Ho = ({
50
50
  x: c,
51
51
  y: d
52
52
  }) => ({
53
53
  x: Number(c.toFixed(2)),
54
54
  y: Number(d.toFixed(2))
55
- }), Un = (c) => Math.abs(c) >= Jt, Hn = (c, d) => Math.abs(c.x - d.x) < Jt && Math.abs(c.y - d.y) < Jt, Ho = (c, d) => typeof c == "string" ? c : c[d] ?? c[Wt] ?? Lo[d], Yo = (c, d) => typeof c == "string" ? c : {
55
+ }), Un = (c) => Math.abs(c) >= Wt, Hn = (c, d) => Math.abs(c.x - d.x) < Wt && Math.abs(c.y - d.y) < Wt, Yo = (c, d) => typeof c == "string" ? c : c[d] ?? c[jt] ?? Fo[d], Go = (c, d) => typeof c == "string" ? c : {
56
56
  ...d,
57
57
  ...c
58
- }, Go = (c, d) => d ? c !== "loadingAudio" : !1, Yn = Xr(
58
+ }, $o = (c, d) => d ? c !== "loadingAudio" : !1, Yn = Jr(
59
59
  ({
60
60
  content: c,
61
61
  title: d,
@@ -66,15 +66,16 @@ const No = 2e3, Do = 300, Bo = 160, Vo = 16, qn = 3e3, St = {
66
66
  defaultButtonText: Ce,
67
67
  defaultInputText: ce,
68
68
  defaultSelectedValues: $e,
69
- confirmButtonText: It,
69
+ confirmButtonText: bt,
70
70
  copyButtonText: W,
71
- copiedButtonText: bt,
71
+ copiedButtonText: At,
72
72
  onSend: Te,
73
- onDragHandlePointerCancel: ze,
74
- onDragHandlePointerDown: Xe,
75
- onDragHandlePointerMove: At,
76
- onDragHandlePointerUp: Je,
77
- readonly: We = !1
73
+ onPlaceholderAccepted: ze,
74
+ onDragHandlePointerCancel: Xe,
75
+ onDragHandlePointerDown: wt,
76
+ onDragHandlePointerMove: Je,
77
+ onDragHandlePointerUp: We,
78
+ readonly: je = !1
78
79
  }) => /* @__PURE__ */ Ge("div", { className: "slide-player__interaction-card", children: [
79
80
  /* @__PURE__ */ u(
80
81
  "button",
@@ -82,20 +83,20 @@ const No = 2e3, Do = 300, Bo = 160, Vo = 16, qn = 3e3, St = {
82
83
  type: "button",
83
84
  className: "slide-player__interaction-drag-handle",
84
85
  "aria-label": z,
85
- onPointerCancel: ze,
86
- onPointerDown: Xe,
87
- onPointerMove: At,
88
- onPointerUp: Je,
86
+ onPointerCancel: Xe,
87
+ onPointerDown: wt,
88
+ onPointerMove: Je,
89
+ onPointerUp: We,
89
90
  children: /* @__PURE__ */ Ge("span", { className: "slide-player__interaction-drag-handle-icon", children: [
90
- /* @__PURE__ */ u(zt, { "aria-hidden": "true" }),
91
- /* @__PURE__ */ u(zt, { "aria-hidden": "true" }),
92
- /* @__PURE__ */ u(zt, { "aria-hidden": "true" })
91
+ /* @__PURE__ */ u(Xt, { "aria-hidden": "true" }),
92
+ /* @__PURE__ */ u(Xt, { "aria-hidden": "true" }),
93
+ /* @__PURE__ */ u(Xt, { "aria-hidden": "true" })
93
94
  ] })
94
95
  }
95
96
  ),
96
97
  /* @__PURE__ */ u("div", { className: "slide-player__interaction-header", children: /* @__PURE__ */ u("p", { className: "slide-player__interaction-title", children: d }) }),
97
98
  /* @__PURE__ */ u("div", { className: "slide-player__interaction-body", children: /* @__PURE__ */ u(
98
- no,
99
+ ro,
99
100
  {
100
101
  content: c,
101
102
  locale: Ee,
@@ -104,21 +105,22 @@ const No = 2e3, Do = 300, Bo = 160, Vo = 16, qn = 3e3, St = {
104
105
  defaultButtonText: Ce,
105
106
  defaultInputText: ce,
106
107
  defaultSelectedValues: $e,
107
- confirmButtonText: It,
108
+ confirmButtonText: bt,
108
109
  copyButtonText: W,
109
- copiedButtonText: bt,
110
+ copiedButtonText: At,
110
111
  onSend: Te,
111
- readonly: We,
112
+ onPlaceholderAccepted: ze,
113
+ readonly: je,
112
114
  sandboxMode: "content"
113
115
  }
114
116
  ) })
115
117
  ] })
116
118
  );
117
119
  Yn.displayName = "InteractionOverlayCard";
118
- const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
120
+ const zo = (c, d) => c.length === d.length && c.every((z, Ee) => {
119
121
  const X = d[Ee];
120
122
  return z.sequence_number === X?.sequence_number && z.type === X?.type && z.content === X?.content;
121
- }), Xt = (c) => c instanceof HTMLElement && !!c.closest(qo), Mi = ({
123
+ }), Jt = (c) => c instanceof HTMLElement && !!c.closest(Uo), ki = ({
122
124
  elementList: c = [],
123
125
  locale: d,
124
126
  playerEnabled: z,
@@ -128,64 +130,65 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
128
130
  playerCustomActions: Ce,
129
131
  playerCustomActionPauseOnActive: ce = !0,
130
132
  bufferingText: $e,
131
- interactionTitle: It,
133
+ interactionTitle: bt,
132
134
  interactionTexts: W,
133
- playerTexts: bt,
135
+ playerTexts: At,
134
136
  playerAutoHideDelay: Te = 3e3,
135
- markerAutoAdvanceDelay: ze = No,
137
+ markerAutoAdvanceDelay: ze = Do,
136
138
  showSlideProgress: Xe = !1,
137
- isSlideProgressGenerating: At = !1,
139
+ isSlideProgressGenerating: wt = !1,
138
140
  onSlideProgressNavigate: Je,
139
141
  interactionDefaultValueOptions: We,
140
- onSend: jt,
141
- onPlayerVisibilityChange: wt,
142
+ onSend: je,
143
+ onPlaceholderAccepted: Gn,
144
+ onPlayerVisibilityChange: xt,
142
145
  onMobileViewModeChange: Qt,
143
146
  onStepChange: Zt,
144
- onPlaybackCheckpoint: Gn,
147
+ onPlaybackCheckpoint: $n,
145
148
  playbackRestoreRequest: U = null,
146
149
  enableKeyboardShortcuts: ue = !0,
147
- enableIframeScaling: $n = !0,
148
- enableMarkdownScaling: zn = !0,
150
+ enableIframeScaling: zn = !0,
151
+ enableMarkdownScaling: Xn = !0,
149
152
  disableLoadingOverlay: F = !1,
150
- className: Xn,
151
- dir: Jn,
152
- lang: Wn,
153
+ className: Jn,
154
+ dir: Wn,
155
+ lang: jn,
153
156
  onPointerDown: en,
154
157
  onFocusCapture: tn,
155
- ...jn
158
+ ...Qn
156
159
  }) => {
157
- const j = Jn ?? Zr(d), Re = Wn ?? eo(d), N = f(() => ko(d), [d]), Qn = f(
158
- () => Yo(
160
+ const j = Wn ?? eo(d), Re = jn ?? to(d), N = f(() => Lo(d), [d]), Zn = f(
161
+ () => Go(
159
162
  $e,
160
163
  N.bufferingText
161
164
  ),
162
165
  [$e, N.bufferingText]
163
166
  ), {
164
- playerEnabled: Zn,
167
+ playerEnabled: er,
165
168
  playerControlsVisibility: Q
166
- } = Oo({
169
+ } = Mo({
167
170
  playerEnabled: z,
168
171
  playerControlsVisibility: Ee
169
- }), je = Jr(), de = m(null), { resolvedDirection: er } = Qr(de, j), xt = m(null), Qe = m(null), nn = m(null), fe = m(null), Ze = m(!1), _e = m(null), et = m(null), Z = m(null), Oe = m(null), Me = m(null), me = m(null), ke = m(null), rn = m([]), pe = m(!1), H = m(null), Le = m(null), on = m(0), Pt = m(null), ln = m({
172
+ }), Qe = Wr(), de = m(null), { resolvedDirection: tr } = Zr(de, j), Pt = m(null), Ze = m(null), nn = m(null), fe = m(null), et = m(!1), _e = m(null), tt = m(null), Z = m(null), Oe = m(null), Me = m(null), me = m(null), ke = m(null), rn = m([]), pe = m(!1), H = m(null), Le = m(null), on = m(0), Et = m(null), ln = m({
170
173
  markerCount: 0,
171
174
  currentIndex: -1,
172
175
  canGoNext: !1
173
- }), Et = m(!1), {
176
+ }), Ct = m(!1), {
174
177
  currentElementList: T,
175
178
  stepElementLists: an,
176
179
  slideElementList: S,
177
180
  currentIndex: a,
178
181
  audioList: y,
179
182
  audioSlideIndexes: ee,
180
- currentAudioSequenceIndexes: tt,
183
+ currentAudioSequenceIndexes: nt,
181
184
  currentStepHasSpeakableElement: w,
182
185
  currentInteractionElement: h,
183
- canGoPrev: tr,
186
+ canGoPrev: nr,
184
187
  canGoNext: R,
185
188
  handlePrev: sn,
186
189
  handleNext: D,
187
190
  handleGoTo: ye
188
- } = so(c), Fe = f(() => {
191
+ } = co(c), Fe = f(() => {
189
192
  if (!(a < 0))
190
193
  return S[a];
191
194
  }, [a, S]), he = f(
@@ -193,83 +196,83 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
193
196
  (e, t) => `${e.sequence_number ?? `${e.type}-${t}`}:${String(e.is_new ?? "")}`
194
197
  ),
195
198
  [T]
196
- ), cn = S.length, nr = cn === 1, x = Zn && (S.length > 0 || y.length > 0 || !!h), rr = f(
199
+ ), cn = S.length, rr = cn === 1, x = er && (S.length > 0 || y.length > 0 || !!h), or = f(
197
200
  () => ({
198
201
  enabled: ue,
199
- ownerId: je
202
+ ownerId: Qe
200
203
  }),
201
- [ue, je]
204
+ [ue, Qe]
202
205
  ), Y = r(() => {
203
- !ue || !x || fo(je);
204
- }, [ue, je, x]), _ = f(
205
- () => tt.map((e) => y[e]?.audioKey).filter((e) => !!e),
206
- [y, tt]
207
- ), [or, Ne] = p(!0), [nt, te] = p(!1), [Ct, Tt] = p(!0), [De, un] = p(!0), [P, B] = p(null), [rt, dn] = p(null), Be = m(
206
+ !ue || !x || mo(Qe);
207
+ }, [ue, Qe, x]), _ = f(
208
+ () => nt.map((e) => y[e]?.audioKey).filter((e) => !!e),
209
+ [y, nt]
210
+ ), [ir, Ne] = p(!0), [rt, te] = p(!1), [Tt, Rt] = p(!0), [De, un] = p(!0), [P, B] = p(null), [ot, dn] = p(null), Be = m(
208
211
  null
209
- ), fn = m(null), [ir, mn] = p(null), [lr, I] = p(!1), [ar, Rt] = p(Wt), [O, ot] = p(!1), it = m(/* @__PURE__ */ new Set()), [sr, lt] = p(!1), [pn, cr] = p(!0), [_t, Ot] = p(!1), [b, Mt] = p(), [ge, at] = p(!1), [yn, st] = p(!1), [E, kt] = p(
210
- St
211
- ), [Lt, Ft] = p(!1), [
212
- ur,
212
+ ), fn = m(null), [lr, mn] = p(null), [ar, I] = p(!1), [sr, _t] = p(jt), [O, it] = p(!1), lt = m(/* @__PURE__ */ new Set()), [cr, at] = p(!1), [pn, ur] = p(!0), [Ot, Mt] = p(!1), [b, kt] = p(), [ge, st] = p(!1), [yn, ct] = p(!1), [E, Lt] = p(
213
+ It
214
+ ), [Ft, Nt] = p(!1), [
215
+ dr,
213
216
  ve
214
- ] = p(0), [hn, dr] = p(!1), V = f(() => ro(), []), [ct, Nt] = p(
215
- vt
216
- ), [gn, Dt] = p(!1), [fr, vn] = p(
217
+ ] = p(0), [hn, fr] = p(!1), V = f(() => oo(), []), [ut, Dt] = p(
218
+ St
219
+ ), [gn, Bt] = p(!1), [mr, vn] = p(
217
220
  () => V ? Bn() : !1
218
- ), Se = f(() => Po(), []), {
221
+ ), Se = f(() => Eo(), []), {
219
222
  effectiveMobileViewMode: ne,
220
223
  isImmersiveMobileFullscreen: Ie,
221
224
  isNativeMobileFullscreen: Sn,
222
- shouldRotateFullscreenViewport: mr
225
+ shouldRotateFullscreenViewport: pr
223
226
  } = f(
224
- () => mo({
227
+ () => po({
225
228
  hasManualMobileViewMode: gn,
226
229
  isMobileDevice: V,
227
- mobileViewMode: ct
230
+ mobileViewMode: ut
228
231
  }),
229
232
  [
230
233
  gn,
231
234
  V,
232
- fr,
233
- ct
235
+ mr,
236
+ ut
234
237
  ]
235
238
  ), In = m(ne), {
236
239
  controlsVisible: K,
237
- layoutReserved: ut
238
- } = Mo({
239
- isAutoVisible: or,
240
+ layoutReserved: dt
241
+ } = ko({
242
+ isAutoVisible: ir,
240
243
  playerControlsVisibility: Q,
241
244
  shouldMountPlayer: x
242
- }), pr = Ie && K, yr = Ie && ut, hr = Ie || Sn, bn = hn && !V, gr = r(
245
+ }), yr = Ie && K, hr = Ie && dt, gr = Ie || Sn, bn = hn && !V, vr = r(
243
246
  (e) => {
244
- Dt(!0), Nt(e);
247
+ Bt(!0), Dt(e);
245
248
  },
246
249
  []
247
250
  ), An = r(() => {
248
- Dt(!1), Nt(vt);
249
- }, []), vr = r(() => {
251
+ Bt(!1), Dt(St);
252
+ }, []), Sr = r(() => {
250
253
  An(), J?.onBack?.();
251
254
  }, [J, An]), M = r(() => {
252
255
  Z.current !== null && (window.clearTimeout(Z.current), Z.current = null);
253
256
  }, []), k = r(() => {
254
257
  Oe.current !== null && (window.clearTimeout(Oe.current), Oe.current = null);
255
- }, []), dt = r(() => {
256
- M(), k(), at(!1), ve(0);
257
- }, [M, k]), ft = r(
258
+ }, []), ft = r(() => {
259
+ M(), k(), st(!1), ve(0);
260
+ }, [M, k]), mt = r(
258
261
  (e) => {
259
- e && dt(), Ot(e);
262
+ e && ft(), Mt(e);
260
263
  },
261
- [dt]
264
+ [ft]
262
265
  ), wn = r(() => {
263
- dt(), Ot((e) => !e);
264
- }, [dt]), re = r(() => {
265
- kt(
266
- (e) => e.x === St.x && e.y === St.y ? e : St
267
- ), Ft(!1), ke.current = null, me.current = null;
268
- }, []), { mountedStepStates: Sr, currentMountedStateIndex: Ir } = f(() => {
266
+ ft(), Mt((e) => !e);
267
+ }, [ft]), re = r(() => {
268
+ Lt(
269
+ (e) => e.x === It.x && e.y === It.y ? e : It
270
+ ), Nt(!1), ke.current = null, me.current = null;
271
+ }, []), { mountedStepStates: Ir, currentMountedStateIndex: br } = f(() => {
269
272
  const e = [], t = /* @__PURE__ */ new Map();
270
273
  return an.forEach((n, i) => {
271
274
  const l = e.findIndex(
272
- (o) => $o(
275
+ (o) => zo(
273
276
  o.elementList,
274
277
  n
275
278
  )
@@ -288,7 +291,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
288
291
  };
289
292
  }, [a, an]), xn = f(() => String(a), [a]), C = f(() => P ? y.findIndex(
290
293
  (e) => (e.audioKey ?? "") === P
291
- ) : -1, [y, P]), mt = f(
294
+ ) : -1, [y, P]), pt = f(
292
295
  () => C >= 0 ? y[C] : void 0,
293
296
  [y, C]
294
297
  );
@@ -301,7 +304,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
301
304
  if (e < 0)
302
305
  return;
303
306
  const t = ee[e];
304
- t != null && (fn.current = U.id, Tt(!0), B(U.audioKey), Be.current = U, dn(U), a !== t && ye(t));
307
+ t != null && (fn.current = U.id, Rt(!0), B(U.audioKey), Be.current = U, dn(U), a !== t && ye(t));
305
308
  }, [
306
309
  y,
307
310
  ee,
@@ -309,46 +312,46 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
309
312
  ye,
310
313
  U
311
314
  ]);
312
- const br = mt?.element?.subtitle_cues ?? [], pt = f(
315
+ const Ar = pt?.element?.subtitle_cues ?? [], yt = f(
313
316
  () => _[0] ?? "none",
314
317
  [_]
315
- ), Bt = f(
318
+ ), Vt = f(
316
319
  () => ({
317
- currentElement: wo({
320
+ currentElement: xo({
318
321
  currentAudioIndex: C,
319
- currentAudioSequenceIndexes: tt,
322
+ currentAudioSequenceIndexes: nt,
320
323
  audioList: y,
321
324
  currentInteractionElement: b,
322
325
  currentStepElement: Fe
323
326
  }),
324
327
  currentIndex: a,
325
328
  currentStepElement: Fe,
326
- isActive: _t,
327
- setActive: ft,
329
+ isActive: Ot,
330
+ setActive: mt,
328
331
  toggleActive: wn
329
332
  }),
330
333
  [
331
334
  b,
332
335
  y,
333
336
  C,
334
- tt,
337
+ nt,
335
338
  a,
336
339
  Fe,
337
- _t,
338
- ft,
340
+ Ot,
341
+ mt,
339
342
  wn
340
343
  ]
341
- ), yt = f(
342
- () => xo(
344
+ ), ht = f(
345
+ () => Po(
343
346
  Ce,
344
- Bt
347
+ Vt
345
348
  ),
346
- [Bt, Ce]
347
- ), Vt = yt > 0, Kt = Vt && _t, Ar = f(
349
+ [Vt, Ce]
350
+ ), Kt = ht > 0, qt = Kt && Ot, wr = f(
348
351
  () => ({
349
- "--slide-player-custom-action-count": String(yt),
352
+ "--slide-player-custom-action-count": String(ht),
350
353
  "--slide-player-mobile-control-count": String(
351
- yt + 4
354
+ ht + 4
352
355
  ),
353
356
  "--slide-interaction-drag-x": `${E.x}px`,
354
357
  "--slide-interaction-drag-y": `${E.y}px`
@@ -356,24 +359,24 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
356
359
  [
357
360
  E.x,
358
361
  E.y,
359
- yt
362
+ ht
360
363
  ]
361
364
  ), Pn = _.length > 0, En = f(() => h ? `${h.sequence_number ?? "none"}:${String(
362
365
  h.content ?? ""
363
366
  )}` : "none", [h]), be = f(
364
367
  () => [xn, En].join("|"),
365
368
  [En, xn]
366
- ), wr = f(
369
+ ), xr = f(
367
370
  () => [
368
371
  be,
369
- mt?.audioKey ?? "none",
372
+ pt?.audioKey ?? "none",
370
373
  String(C)
371
374
  ].join("|"),
372
- [C, mt?.audioKey, be]
373
- ), Cn = !!f(() => !pt || pt === "none" ? "" : y.find(
374
- (t) => t.audioKey === pt
375
- )?.audioUrl?.trim() ?? "", [y, pt]), oe = ce && Kt, Ve = f(
376
- () => Co({
375
+ [C, pt?.audioKey, be]
376
+ ), Cn = !!f(() => !yt || yt === "none" ? "" : y.find(
377
+ (t) => t.audioKey === yt
378
+ )?.audioUrl?.trim() ?? "", [y, yt]), oe = ce && qt, Ve = f(
379
+ () => To({
377
380
  canGoNext: R,
378
381
  currentAudioIndex: C,
379
382
  currentStepHasSpeakableElement: w,
@@ -386,7 +389,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
386
389
  w
387
390
  ]
388
391
  ), Tn = f(
389
- () => _o({
392
+ () => Oo({
390
393
  currentElementList: T,
391
394
  currentStepHasSpeakableElement: w,
392
395
  currentInteractionElement: h,
@@ -398,18 +401,18 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
398
401
  w,
399
402
  ze
400
403
  ]
401
- ), Rn = Tn.delayMs, Ke = Tn.usesImageOnlyDelay, qt = f(
404
+ ), Rn = Tn.delayMs, Ke = Tn.usesImageOnlyDelay, Ut = f(
402
405
  () => `${a}:${he.join("|")}`,
403
406
  [a, he]
404
- ), [xr, Pr] = p(null), _n = !Ke || xr === qt, q = r(() => {
407
+ ), [Pr, Er] = p(null), _n = !Ke || Pr === Ut, q = r(() => {
405
408
  fe.current !== null && (window.clearTimeout(fe.current), fe.current = null);
406
409
  }, []), Ae = r(() => {
407
410
  _e.current !== null && (window.clearTimeout(_e.current), _e.current = null);
408
411
  }, []), G = r(() => {
409
- et.current !== null && (window.clearTimeout(et.current), et.current = null);
412
+ tt.current !== null && (window.clearTimeout(tt.current), tt.current = null);
410
413
  }, []), L = r(
411
414
  (e = {}) => {
412
- Ae(), M(), k(), G(), B(null), Se.reset(), I(!1), Rt(Wt), ot(!1), it.current = /* @__PURE__ */ new Set(), lt(!1), mn(null), e.preservePendingSubtitleJump || (Le.current = null), Mt(void 0), at(!1), ve(0);
415
+ Ae(), M(), k(), G(), B(null), Se.reset(), I(!1), _t(jt), it(!1), lt.current = /* @__PURE__ */ new Set(), at(!1), mn(null), e.preservePendingSubtitleJump || (Le.current = null), kt(void 0), st(!1), ve(0);
413
416
  },
414
417
  [
415
418
  Ae,
@@ -418,7 +421,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
418
421
  k,
419
422
  Se
420
423
  ]
421
- ), ht = r(
424
+ ), gt = r(
422
425
  (e) => {
423
426
  on.current += 1, mn({
424
427
  ...e,
@@ -427,13 +430,13 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
427
430
  },
428
431
  []
429
432
  ), we = r(() => {
430
- const e = vo(
433
+ const e = So(
431
434
  _,
432
- it.current
435
+ lt.current
433
436
  );
434
437
  return e ? (B(e), !0) : !1;
435
438
  }, [_]), qe = r(() => {
436
- M(), k(), at(!1), ve(0), !we() && R && D();
439
+ M(), k(), st(!1), ve(0), !we() && R && D();
437
440
  }, [
438
441
  R,
439
442
  M,
@@ -446,22 +449,22 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
446
449
  return;
447
450
  const t = () => {
448
451
  Oe.current = null, ve(
449
- Bo
450
- ), at(!0), H.current = null;
452
+ Vo
453
+ ), st(!0), H.current = null;
451
454
  };
452
455
  Oe.current = window.setTimeout(
453
456
  t,
454
- Do
457
+ Bo
455
458
  );
456
459
  },
457
460
  [k]
458
- ), Ut = r(
459
- () => Ze.current || !!de.current?.querySelector(".slide-player__controls:hover"),
461
+ ), Ht = r(
462
+ () => et.current || !!de.current?.querySelector(".slide-player__controls:hover"),
460
463
  []
461
464
  ), g = r(
462
- (e = nt) => {
463
- !x || Q === "hidden" || (Ne(!0), q(), !(Q === "visible" || !e || Te <= 0 || Ut()) && (fe.current = window.setTimeout(() => {
464
- if (Ut()) {
465
+ (e = rt) => {
466
+ !x || Q === "hidden" || (Ne(!0), q(), !(Q === "visible" || !e || Te <= 0 || Ht()) && (fe.current = window.setTimeout(() => {
467
+ if (Ht()) {
465
468
  fe.current = null;
466
469
  return;
467
470
  }
@@ -470,31 +473,31 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
470
473
  },
471
474
  [
472
475
  q,
473
- nt,
474
- Ut,
476
+ rt,
477
+ Ht,
475
478
  Te,
476
479
  Q,
477
480
  x
478
481
  ]
479
- ), Ue = !!Ao(h), ie = !!h && !Ue, Er = r((e) => {
480
- Tt(e);
482
+ ), Ue = !!wo(h), ie = !!h && !Ue, Cr = r((e) => {
483
+ Rt(e);
481
484
  }, []), $ = r(
482
485
  (e) => {
483
- e && Tt(e.shouldContinuePlayback);
486
+ e && Rt(e.shouldContinuePlayback);
484
487
  },
485
488
  []
486
489
  );
487
490
  s(() => {
488
- un(Ct);
489
- }, [a, Ct, ce]), s(() => {
490
- ce && ft(!1);
491
+ un(Tt);
492
+ }, [a, Tt, ce]), s(() => {
493
+ ce && mt(!1);
491
494
  }, [
492
495
  a,
493
496
  ce,
494
- ft
497
+ mt
495
498
  ]), s(() => {
496
- Vt || Ot(!1);
497
- }, [Vt]), s(() => () => {
499
+ Kt || Mt(!1);
500
+ }, [Kt]), s(() => () => {
498
501
  Ae(), G(), q(), M(), k();
499
502
  }, [
500
503
  Ae,
@@ -511,12 +514,12 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
511
514
  const i = () => {
512
515
  n?.(), n = null;
513
516
  }, l = () => {
514
- e || (i(), G(), Pr(qt));
517
+ e || (i(), G(), Er(Ut));
515
518
  }, o = () => {
516
519
  if (e)
517
520
  return;
518
521
  i();
519
- const v = Qe.current?.querySelector(
522
+ const v = Ze.current?.querySelector(
520
523
  '[data-active-step="true"]'
521
524
  );
522
525
  if (!v)
@@ -524,7 +527,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
524
527
  const A = Array.from(
525
528
  v.querySelectorAll("iframe")
526
529
  );
527
- if (A.length === 0 || Ro(A)) {
530
+ if (A.length === 0 || _o(A)) {
528
531
  l();
529
532
  return;
530
533
  }
@@ -532,7 +535,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
532
535
  e || (t !== null && window.cancelAnimationFrame(t), t = window.requestAnimationFrame(() => {
533
536
  t = null, o();
534
537
  }));
535
- }, Gt = (ae, xe, se) => {
538
+ }, $t = (ae, xe, se) => {
536
539
  ae.addEventListener(xe, se, { once: !0 }), le.push(
537
540
  () => ae.removeEventListener(xe, se)
538
541
  );
@@ -540,11 +543,11 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
540
543
  A.forEach((ae) => {
541
544
  const xe = ae.contentDocument;
542
545
  if (!xe || xe.readyState !== "complete") {
543
- Gt(ae, "load", Ye);
546
+ $t(ae, "load", Ye);
544
547
  return;
545
548
  }
546
549
  Array.from(xe.images).filter((se) => !se.complete).forEach((se) => {
547
- Gt(se, "load", Ye), Gt(se, "error", Ye);
550
+ $t(se, "load", Ye), $t(se, "error", Ye);
548
551
  });
549
552
  }), n = () => {
550
553
  le.forEach((ae) => ae());
@@ -552,24 +555,24 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
552
555
  };
553
556
  return t = window.requestAnimationFrame(() => {
554
557
  t = null, o();
555
- }), et.current = window.setTimeout(() => {
558
+ }), tt.current = window.setTimeout(() => {
556
559
  l();
557
- }, To), () => {
560
+ }, Ro), () => {
558
561
  e = !0, i(), G(), t !== null && window.cancelAnimationFrame(t);
559
562
  };
560
563
  }, [
561
564
  G,
562
565
  T,
563
566
  a,
564
- qt,
567
+ Ut,
565
568
  Ke
566
- ]), s(() => (wt?.(K), () => {
567
- wt?.(!1);
568
- }), [wt, K]), s(() => {
569
- K || (Ze.current = !1);
569
+ ]), s(() => (xt?.(K), () => {
570
+ xt?.(!1);
571
+ }), [xt, K]), s(() => {
572
+ K || (et.current = !1);
570
573
  }, [K]), s(() => {
571
- V || ct === vt || (Dt(!1), Nt(vt));
572
- }, [V, ct]), s(() => {
574
+ V || ut === St || (Bt(!1), Dt(St));
575
+ }, [V, ut]), s(() => {
573
576
  if (!V) {
574
577
  vn(!1);
575
578
  return;
@@ -583,7 +586,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
583
586
  "change",
584
587
  t
585
588
  );
586
- const n = oo(
589
+ const n = io(
587
590
  e
588
591
  );
589
592
  return () => {
@@ -599,7 +602,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
599
602
  }, [ne, re]), s(() => {
600
603
  Zt?.(Fe, a);
601
604
  }, [a, Fe, Zt]), s(() => {
602
- const e = ln.current, t = go(
605
+ const e = ln.current, t = vo(
603
606
  {
604
607
  previousMarkerCount: e.markerCount,
605
608
  nextMarkerCount: S.length,
@@ -641,10 +644,10 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
641
644
  q(), Ne(!0);
642
645
  return;
643
646
  }
644
- nt || g(!0);
647
+ rt || g(!0);
645
648
  }, [
646
649
  q,
647
- nt,
650
+ rt,
648
651
  Q,
649
652
  x,
650
653
  g
@@ -652,12 +655,12 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
652
655
  if (typeof window > "u")
653
656
  return;
654
657
  const e = (t) => {
655
- t.origin === window.location.origin && jr(t.data) && t.data.eventType === "click" && x && (Y(), te(!0), g(!0));
658
+ t.origin === window.location.origin && Qr(t.data) && t.data.eventType === "click" && x && (Y(), te(!0), g(!0));
656
659
  };
657
660
  return window.addEventListener("message", e), () => {
658
661
  window.removeEventListener("message", e);
659
662
  };
660
- }, [Y, x, g]), co({
663
+ }, [Y, x, g]), uo({
661
664
  sectionRef: de,
662
665
  enabled: x,
663
666
  keyboardShortcutsEnabled: ue,
@@ -671,24 +674,24 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
671
674
  return;
672
675
  }
673
676
  if (Be.current) {
674
- Pt.current = be;
677
+ Et.current = be;
675
678
  return;
676
679
  }
677
- const { hasPlaybackContextChanged: e, shouldInitializeAudioSequence: t } = Io({
678
- previousResetKey: Pt.current,
680
+ const { hasPlaybackContextChanged: e, shouldInitializeAudioSequence: t } = bo({
681
+ previousResetKey: Et.current,
679
682
  nextResetKey: be,
680
683
  currentAudioKey: P,
681
684
  hasCompletedCurrentStepAudio: O
682
685
  });
683
- Pt.current = be;
684
- const n = H.current === a && !!h, i = po({
686
+ Et.current = be;
687
+ const n = H.current === a && !!h, i = yo({
685
688
  hasInteraction: !!h,
686
689
  shouldBlockPlaybackForInteraction: ie,
687
690
  shouldOpenInteractionOverlayAfterAudio: n,
688
691
  hasPlaybackContextChanged: e,
689
692
  hasResolvedCurrentInteraction: Ue,
690
693
  currentStepHasSpeakableElement: w,
691
- isPlayerCustomActionActive: Kt
694
+ isPlayerCustomActionActive: qt
692
695
  }), l = Le.current, o = l?.slideIndex === a;
693
696
  if (e && L({
694
697
  preservePendingSubtitleJump: o
@@ -699,13 +702,13 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
699
702
  slideElementList: S,
700
703
  targetSlideIndex: l.slideIndex
701
704
  })) {
702
- Le.current = null, Et.current = !0, B(l.audioKey), ht({
705
+ Le.current = null, Ct.current = !0, B(l.audioKey), gt({
703
706
  audioIndex: l.audioIndex,
704
707
  timeMs: l.timeMs
705
708
  });
706
709
  return;
707
710
  }
708
- if (h && Mt(h), i) {
711
+ if (h && kt(h), i) {
709
712
  On(h);
710
713
  return;
711
714
  }
@@ -744,11 +747,11 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
744
747
  F,
745
748
  De,
746
749
  Ue,
747
- Kt,
750
+ qt,
748
751
  ie,
749
752
  k,
750
753
  L,
751
- ht,
754
+ gt,
752
755
  On,
753
756
  x,
754
757
  S,
@@ -768,7 +771,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
768
771
  I(!1);
769
772
  return;
770
773
  }
771
- Rt("waitingForAudio"), I(!0);
774
+ _t("waitingForAudio"), I(!0);
772
775
  }, [
773
776
  Pn,
774
777
  w,
@@ -777,15 +780,15 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
777
780
  oe,
778
781
  ie
779
782
  ]), s(() => {
780
- O && So(
783
+ O && Io(
781
784
  _,
782
- it.current
783
- ) && ot(!1);
785
+ lt.current
786
+ ) && it(!1);
784
787
  }, [_, O]), s(() => {
785
788
  if (Be.current)
786
789
  return;
787
- const e = Et.current;
788
- Et.current = !1, bo({
790
+ const e = Ct.current;
791
+ Ct.current = !1, Ao({
789
792
  currentAudioKey: P,
790
793
  currentAudioSequenceLength: _.length,
791
794
  currentStepHasSpeakableElement: w,
@@ -807,45 +810,45 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
807
810
  }, [C, P]), s(() => {
808
811
  C >= 0 || Se.reset();
809
812
  }, [C, Se]), s(() => {
810
- lt(!1);
811
- }, [wr]);
813
+ at(!1);
814
+ }, [xr]);
812
815
  const {
813
816
  interactionDefaults: Mn,
814
- interactionDefaultSelectedValues: Cr,
817
+ interactionDefaultSelectedValues: Tr,
815
818
  hasResolvedInteractionInput: kn,
816
- isInteractionReadonly: Tr,
819
+ isInteractionReadonly: Rr,
817
820
  shouldAutoContinueInteraction: Ln
818
821
  } = f(
819
- () => Eo(b, {
822
+ () => Co(b, {
820
823
  interactionDefaultValueOptions: We
821
824
  }),
822
825
  [b, We]
823
- ), Rr = !!b?.readonly || Tr, He = yo({
826
+ ), _r = !!b?.readonly || Rr, He = ho({
824
827
  hasActiveInteraction: !!b,
825
828
  isInteractionOverlayOpen: ge
826
- }), _r = r(
829
+ }), Or = r(
827
830
  (e) => {
828
831
  const n = [
829
832
  ...e.selectedValues ?? [],
830
833
  e.inputText?.trim() ?? "",
831
834
  e.buttonText?.trim() ?? ""
832
835
  ].filter(Boolean).join(", ");
833
- Mt((i) => !i || !n ? i : {
836
+ kt((i) => !i || !n ? i : {
834
837
  ...i,
835
838
  user_input: n
836
- }), jt?.(e, b), qe();
839
+ }), je?.(e, b), qe();
837
840
  },
838
- [b, qe, jt]
841
+ [b, qe, je]
839
842
  );
840
843
  s(() => {
841
844
  const e = () => {
842
- dr(document.fullscreenElement === de.current);
845
+ fr(document.fullscreenElement === de.current);
843
846
  };
844
847
  return e(), document.addEventListener("fullscreenchange", e), () => {
845
848
  document.removeEventListener("fullscreenchange", e);
846
849
  };
847
850
  }, []), s(() => {
848
- b && ge || st(!1);
851
+ b && ge || ct(!1);
849
852
  }, [b, ge]), s(() => {
850
853
  re();
851
854
  }, [b, re]), s(() => {
@@ -861,7 +864,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
861
864
  e.getBoundingClientRect().height
862
865
  );
863
866
  ve(
864
- i + Vo
867
+ i + Ko
865
868
  );
866
869
  };
867
870
  if (t(), typeof ResizeObserver > "u")
@@ -895,7 +898,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
895
898
  ge,
896
899
  Ln
897
900
  ]);
898
- const Or = (e, t = {}) => e ? e.type === "slot" ? /* @__PURE__ */ u(zr, { children: e.content }) : e.type === "html" ? /* @__PURE__ */ u(
901
+ const Mr = (e, t = {}) => e ? e.type === "slot" ? /* @__PURE__ */ u(Xr, { children: e.content }) : e.type === "html" ? /* @__PURE__ */ u(
899
902
  Dn,
900
903
  {
901
904
  className: "content-render-iframe",
@@ -908,7 +911,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
908
911
  replaceRootScreenHeightWithFull: t.replaceRootScreenHeightWithFull,
909
912
  type: "sandbox",
910
913
  content: e.content,
911
- enableScaling: $n
914
+ enableScaling: zn
912
915
  }
913
916
  ) : /* @__PURE__ */ u(
914
917
  Dn,
@@ -923,17 +926,17 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
923
926
  type: "markdown",
924
927
  content: e.content
925
928
  }
926
- ) : null, Mr = (e = [], t = !1) => {
929
+ ) : null, kr = (e = [], t = !1) => {
927
930
  if (e.length === 0)
928
931
  return null;
929
932
  const n = e.filter(
930
933
  (o) => o.is_renderable !== !1
931
- ).length, i = t && zn ? ho(e) : "disabled", l = e.reduce(
934
+ ).length, i = t && Xn ? go(e) : "disabled", l = e.reduce(
932
935
  (o, v, A) => v.is_renderable !== !1 ? A : o,
933
936
  -1
934
937
  );
935
938
  return /* @__PURE__ */ u(
936
- lo,
939
+ ao,
937
940
  {
938
941
  className: "slide-stage__content flex w-full flex-col gap-4",
939
942
  mode: i,
@@ -949,7 +952,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
949
952
  n === 1 && o.is_renderable !== !1 && "slide-element--single",
950
953
  A ? "pointer-events-none fixed left-[-200vw] top-0 -z-10 h-[100dvh] w-[100vw] overflow-hidden opacity-0" : o.is_renderable === !1 && "hidden"
951
954
  ),
952
- children: Or(o, {
955
+ children: Mr(o, {
953
956
  replaceRootScreenHeightWithFull: n === 1 && o.type === "html" && o.is_renderable !== !1
954
957
  })
955
958
  },
@@ -958,7 +961,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
958
961
  })
959
962
  }
960
963
  );
961
- }, kr = r(() => {
964
+ }, Lr = r(() => {
962
965
  const e = de.current;
963
966
  if (e) {
964
967
  if (document.fullscreenElement === e) {
@@ -970,12 +973,12 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
970
973
  });
971
974
  }
972
975
  }, []), Fn = r(() => {
973
- const e = Qe.current;
976
+ const e = Ze.current;
974
977
  e && e.scrollTo({
975
978
  top: e.scrollHeight,
976
979
  behavior: "smooth"
977
980
  });
978
- }, []), Ht = r(
981
+ }, []), Yt = r(
979
982
  (e) => Kn({
980
983
  currentIndex: a,
981
984
  resolvedCurrentInteractionElement: b,
@@ -988,10 +991,10 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
988
991
  a,
989
992
  S
990
993
  ]
991
- ), Lr = r(
994
+ ), Fr = r(
992
995
  (e, t) => {
993
996
  const i = y[e.audioIndex]?.audioKey, l = ee[e.audioIndex];
994
- return !i || l == null || !Ht(e) ? !1 : ($(t), H.current = null, I(!1), ot(!1), lt(!1), $t(t) && (te(!0), g(!0)), l === a ? (Le.current = null, L(), B(i), ht(e), !0) : (pe.current = !0, L(), Le.current = {
997
+ return !i || l == null || !Yt(e) ? !1 : ($(t), H.current = null, I(!1), it(!1), at(!1), zt(t) && (te(!0), g(!0)), l === a ? (Le.current = null, L(), B(i), gt(e), !0) : (pe.current = !0, L(), Le.current = {
995
998
  audioIndex: e.audioIndex,
996
999
  audioKey: i,
997
1000
  slideIndex: l,
@@ -1001,17 +1004,17 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1001
1004
  [
1002
1005
  y,
1003
1006
  ee,
1004
- Ht,
1007
+ Yt,
1005
1008
  a,
1006
1009
  ye,
1007
- ht,
1010
+ gt,
1008
1011
  L,
1009
1012
  g,
1010
1013
  $
1011
1014
  ]
1012
- ), Fr = r(
1015
+ ), Nr = r(
1013
1016
  (e) => {
1014
- $(e), pe.current = !0, H.current = null, I(!1), $t(e) && (te(!0), g(!0)), L(), sn();
1017
+ $(e), pe.current = !0, H.current = null, I(!1), zt(e) && (te(!0), g(!0)), L(), sn();
1015
1018
  },
1016
1019
  [
1017
1020
  sn,
@@ -1019,9 +1022,9 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1019
1022
  g,
1020
1023
  $
1021
1024
  ]
1022
- ), Nr = r(
1025
+ ), Dr = r(
1023
1026
  (e) => {
1024
- $(e), pe.current = !0, H.current = null, I(!1), $t(e) && (te(!0), g(!0)), L(), D();
1027
+ $(e), pe.current = !0, H.current = null, I(!1), zt(e) && (te(!0), g(!0)), L(), D();
1025
1028
  },
1026
1029
  [
1027
1030
  D,
@@ -1029,7 +1032,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1029
1032
  g,
1030
1033
  $
1031
1034
  ]
1032
- ), Dr = r(
1035
+ ), Br = r(
1033
1036
  (e, t) => {
1034
1037
  e < 0 || e >= S.length || e === a || ($(t), pe.current = !0, H.current = null, I(!1), te(!0), g(!0), L(), ye(e), Je?.(S[e], e));
1035
1038
  },
@@ -1042,7 +1045,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1042
1045
  S,
1043
1046
  $
1044
1047
  ]
1045
- ), Br = r(
1048
+ ), Vr = r(
1046
1049
  ({
1047
1050
  loading: e,
1048
1051
  reason: t
@@ -1055,7 +1058,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1055
1058
  I(!1);
1056
1059
  return;
1057
1060
  }
1058
- e && t && Rt(t), I(Go(t, e));
1061
+ e && t && _t(t), I($o(t, e));
1059
1062
  },
1060
1063
  [
1061
1064
  w,
@@ -1066,12 +1069,12 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1066
1069
  s(() => {
1067
1070
  F && I(!1);
1068
1071
  }, [F]);
1069
- const Vr = r(
1072
+ const Kr = r(
1070
1073
  (e) => {
1071
1074
  const t = y[e]?.audioKey;
1072
1075
  if (!t || !P || t !== P)
1073
1076
  return;
1074
- it.current.add(t);
1077
+ lt.current.add(t);
1075
1078
  const n = _.findIndex(
1076
1079
  (o) => o === t
1077
1080
  );
@@ -1084,7 +1087,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1084
1087
  B(l);
1085
1088
  return;
1086
1089
  }
1087
- if (B(null), ot(!0), I(!1), R) {
1090
+ if (B(null), it(!0), I(!1), R) {
1088
1091
  const o = a + 1, v = S[o];
1089
1092
  Cn && v?.type === "interaction" && (H.current = o), D();
1090
1093
  return;
@@ -1100,18 +1103,18 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1100
1103
  Cn,
1101
1104
  S
1102
1105
  ]
1103
- ), Kr = r(() => {
1104
- Ze.current = !0, q(), x && Ne(!0);
1105
- }, [q, x]), qr = r(() => {
1106
- Ze.current = !1, g(!0);
1107
- }, [g]), Yt = r(
1106
+ ), qr = r(() => {
1107
+ et.current = !0, q(), x && Ne(!0);
1108
+ }, [q, x]), Ur = r(() => {
1109
+ et.current = !1, g(!0);
1110
+ }, [g]), Gt = r(
1108
1111
  (e) => {
1109
1112
  e.stopPropagation(), K && g(!0);
1110
1113
  },
1111
1114
  [K, g]
1112
- ), gt = r(
1115
+ ), vt = r(
1113
1116
  (e, t) => {
1114
- const n = xt.current;
1117
+ const n = Pt.current;
1115
1118
  if (!n)
1116
1119
  return null;
1117
1120
  const i = e.getBoundingClientRect(), l = n.getBoundingClientRect();
@@ -1124,14 +1127,14 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1124
1127
  },
1125
1128
  []
1126
1129
  );
1127
- Ko(() => {
1130
+ qo(() => {
1128
1131
  const e = Me.current;
1129
1132
  if (!He || !e) {
1130
1133
  me.current = null;
1131
1134
  return;
1132
1135
  }
1133
1136
  const t = me.current, n = e.getBoundingClientRect();
1134
- if (!t || Lt) {
1137
+ if (!t || Ft) {
1135
1138
  me.current = {
1136
1139
  left: n.left,
1137
1140
  top: n.top
@@ -1149,10 +1152,10 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1149
1152
  const o = {
1150
1153
  x: E.x + i,
1151
1154
  y: E.y + l
1152
- }, v = gt(
1155
+ }, v = vt(
1153
1156
  e,
1154
1157
  E
1155
- ), A = Uo(
1158
+ ), A = Ho(
1156
1159
  v ? Vn(o, v) : o
1157
1160
  );
1158
1161
  me.current = {
@@ -1161,21 +1164,21 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1161
1164
  }, Hn(
1162
1165
  A,
1163
1166
  E
1164
- ) || kt(
1167
+ ) || Lt(
1165
1168
  (le) => Hn(le, A) ? le : A
1166
1169
  );
1167
1170
  }, [
1168
- gt,
1171
+ vt,
1169
1172
  E,
1170
- Lt,
1171
- ut,
1173
+ Ft,
1174
+ dt,
1172
1175
  He
1173
1176
  ]);
1174
- const Ur = r(
1177
+ const Hr = r(
1175
1178
  (e) => {
1176
- if (Yt(e), e.button !== 0 || !e.currentTarget.isConnected || !Me.current)
1179
+ if (Gt(e), e.button !== 0 || !e.currentTarget.isConnected || !Me.current)
1177
1180
  return;
1178
- const t = gt(
1181
+ const t = vt(
1179
1182
  Me.current,
1180
1183
  E
1181
1184
  );
@@ -1185,17 +1188,17 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1185
1188
  startClientY: e.clientY,
1186
1189
  startOffset: E,
1187
1190
  bounds: t
1188
- }, Ft(!0));
1191
+ }, Nt(!0));
1189
1192
  },
1190
1193
  [
1191
- gt,
1194
+ vt,
1192
1195
  E,
1193
- Yt
1196
+ Gt
1194
1197
  ]
1195
- ), Hr = r(
1198
+ ), Yr = r(
1196
1199
  (e) => {
1197
1200
  const t = ke.current;
1198
- !t || t.pointerId !== e.pointerId || (e.preventDefault(), e.stopPropagation(), kt(
1201
+ !t || t.pointerId !== e.pointerId || (e.preventDefault(), e.stopPropagation(), Lt(
1199
1202
  Vn(
1200
1203
  {
1201
1204
  x: t.startOffset.x + e.clientX - t.startClientX,
@@ -1209,20 +1212,20 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1209
1212
  ), Nn = r(
1210
1213
  (e) => {
1211
1214
  const t = ke.current;
1212
- !t || t.pointerId !== e.pointerId || (e.stopPropagation(), e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), ke.current = null, Ft(!1));
1215
+ !t || t.pointerId !== e.pointerId || (e.stopPropagation(), e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId), ke.current = null, Nt(!1));
1213
1216
  },
1214
1217
  []
1215
- ), Yr = r(
1218
+ ), Gr = r(
1216
1219
  (e) => {
1217
1220
  Y(), en?.(e);
1218
1221
  },
1219
1222
  [Y, en]
1220
- ), Gr = r(
1223
+ ), $r = r(
1221
1224
  (e) => {
1222
1225
  Y(), tn?.(e);
1223
1226
  },
1224
1227
  [Y, tn]
1225
- ), $r = r(() => {
1228
+ ), zr = r(() => {
1226
1229
  te(!0), g(!0);
1227
1230
  }, [g]);
1228
1231
  return s(() => {
@@ -1232,7 +1235,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1232
1235
  if (rn.current = he, !i)
1233
1236
  return;
1234
1237
  const l = window.requestAnimationFrame(() => {
1235
- const o = Qe.current, v = nn.current;
1238
+ const o = Ze.current, v = nn.current;
1236
1239
  if (!o || !v)
1237
1240
  return;
1238
1241
  const A = o.getBoundingClientRect(), le = v.getBoundingClientRect(), Ye = o.scrollTop + (le.top - A.top);
@@ -1263,16 +1266,16 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1263
1266
  bn && "slide--browser-fullscreen",
1264
1267
  Ie && "slide--mobile-landscape",
1265
1268
  Sn && "slide--mobile-landscape-native",
1266
- Xn
1269
+ Jn
1267
1270
  ),
1268
1271
  dir: j,
1269
1272
  lang: Re,
1270
- onClick: $r,
1271
- onFocusCapture: Gr,
1272
- onPointerDown: Yr,
1273
- ...jn,
1273
+ onClick: zr,
1274
+ onFocusCapture: $r,
1275
+ onPointerDown: Gr,
1276
+ ...Qn,
1274
1277
  children: [
1275
- hr ? /* @__PURE__ */ u(
1278
+ gr ? /* @__PURE__ */ u(
1276
1279
  "div",
1277
1280
  {
1278
1281
  "aria-hidden": "true",
@@ -1282,23 +1285,23 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1282
1285
  /* @__PURE__ */ Ge(
1283
1286
  "div",
1284
1287
  {
1285
- ref: xt,
1288
+ ref: Pt,
1286
1289
  className: Pe(
1287
1290
  "slide__viewport relative h-full min-h-0 w-full",
1288
1291
  Ie && "slide__viewport--mobile-landscape",
1289
- Ie && !mr && "slide__viewport--mobile-landscape-native"
1292
+ Ie && !pr && "slide__viewport--mobile-landscape-native"
1290
1293
  ),
1291
1294
  children: [
1292
- pr ? /* @__PURE__ */ Ge("div", { className: "slide-landscape-header", children: [
1295
+ yr ? /* @__PURE__ */ Ge("div", { className: "slide-landscape-header", children: [
1293
1296
  /* @__PURE__ */ u(
1294
1297
  "button",
1295
1298
  {
1296
1299
  "aria-label": J?.backAriaLabel ?? N.fullscreenBackAriaLabel,
1297
1300
  className: "slide-landscape-header__back",
1298
- onClick: vr,
1301
+ onClick: Sr,
1299
1302
  type: "button",
1300
1303
  children: /* @__PURE__ */ u(
1301
- Fo,
1304
+ No,
1302
1305
  {
1303
1306
  className: "slide-landscape-header__icon h-6 w-6",
1304
1307
  strokeWidth: 2.25
@@ -1313,12 +1316,12 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1313
1316
  {
1314
1317
  className: Pe(
1315
1318
  "h-full min-h-0 w-full",
1316
- yr && "slide__viewport-content--with-header",
1317
- nr ? "slide-content--single" : "grid gap-4"
1319
+ hr && "slide__viewport-content--with-header",
1320
+ rr ? "slide-content--single" : "grid gap-4"
1318
1321
  ),
1319
- children: T.length > 0 ? /* @__PURE__ */ u("div", { className: "slide-stage", children: /* @__PURE__ */ u("div", { ref: Qe, className: "slide-stage__layer w-full", children: Sr.map(
1322
+ children: T.length > 0 ? /* @__PURE__ */ u("div", { className: "slide-stage", children: /* @__PURE__ */ u("div", { ref: Ze, className: "slide-stage__layer w-full", children: Ir.map(
1320
1323
  (e, t) => {
1321
- const n = t === Ir;
1324
+ const n = t === br;
1322
1325
  return /* @__PURE__ */ u(
1323
1326
  "div",
1324
1327
  {
@@ -1326,7 +1329,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1326
1329
  "aria-hidden": !n || void 0,
1327
1330
  className: "w-full h-full",
1328
1331
  style: { display: n ? void 0 : "none" },
1329
- children: Mr(
1332
+ children: kr(
1330
1333
  e.elementList,
1331
1334
  n
1332
1335
  )
@@ -1337,24 +1340,24 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1337
1340
  ) }) }) : null
1338
1341
  }
1339
1342
  ),
1340
- lr ? /* @__PURE__ */ u(
1341
- to,
1343
+ ar ? /* @__PURE__ */ u(
1344
+ no,
1342
1345
  {
1343
- message: Ho(
1344
- Qn,
1345
- ar
1346
+ message: Yo(
1347
+ Zn,
1348
+ sr
1346
1349
  ),
1347
1350
  className: "absolute left-1/2 top-1/2 z-[3] -translate-x-1/2 -translate-y-1/2"
1348
1351
  }
1349
1352
  ) : null,
1350
1353
  /* @__PURE__ */ u(
1351
- ao,
1354
+ so,
1352
1355
  {
1353
- extraBottomOffset: ur,
1354
- hasPlayerGap: ut,
1355
- isEnabled: pn && sr,
1356
+ extraBottomOffset: dr,
1357
+ hasPlayerGap: dt,
1358
+ isEnabled: pn && cr,
1356
1359
  playbackTimeStore: Se,
1357
- subtitleCues: br
1360
+ subtitleCues: Ar
1358
1361
  }
1359
1362
  ),
1360
1363
  He ? /* @__PURE__ */ u(
@@ -1364,20 +1367,20 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1364
1367
  "data-player-keyboard-shortcuts-ignore": "true",
1365
1368
  className: Pe(
1366
1369
  "slide-interaction-overlay",
1367
- ut ? "slide-interaction-overlay--with-player" : "slide-interaction-overlay--standalone",
1368
- Lt && "slide-interaction-overlay--dragging"
1370
+ dt ? "slide-interaction-overlay--with-player" : "slide-interaction-overlay--standalone",
1371
+ Ft && "slide-interaction-overlay--dragging"
1369
1372
  ),
1370
- onClick: Yt,
1373
+ onClick: Gt,
1371
1374
  onPointerDownCapture: (e) => {
1372
- Xt(e.target) && st(!0);
1375
+ Jt(e.target) && ct(!0);
1373
1376
  },
1374
1377
  onFocusCapture: (e) => {
1375
- Xt(e.target) && st(!0);
1378
+ Jt(e.target) && ct(!0);
1376
1379
  },
1377
1380
  onInputCapture: (e) => {
1378
- Xt(e.target) && st(!0);
1381
+ Jt(e.target) && ct(!0);
1379
1382
  },
1380
- style: Ar,
1383
+ style: wr,
1381
1384
  children: /* @__PURE__ */ u(
1382
1385
  Yn,
1383
1386
  {
@@ -1388,29 +1391,30 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1388
1391
  locale: d,
1389
1392
  defaultButtonText: Mn.buttonText ?? "",
1390
1393
  defaultInputText: Mn.inputText ?? "",
1391
- defaultSelectedValues: Cr,
1394
+ defaultSelectedValues: Tr,
1392
1395
  confirmButtonText: W?.confirmButtonText ?? N.interactionTexts.confirmButtonText,
1393
1396
  copyButtonText: W?.copyButtonText ?? N.interactionTexts.copyButtonText,
1394
1397
  copiedButtonText: W?.copiedButtonText ?? N.interactionTexts.copiedButtonText,
1395
- onSend: _r,
1398
+ onSend: Or,
1399
+ onPlaceholderAccepted: Gn,
1396
1400
  onDragHandlePointerCancel: Nn,
1397
- onDragHandlePointerDown: Ur,
1398
- onDragHandlePointerMove: Hr,
1401
+ onDragHandlePointerDown: Hr,
1402
+ onDragHandlePointerMove: Yr,
1399
1403
  onDragHandlePointerUp: Nn,
1400
- readonly: Rr,
1401
- title: W?.title ?? It ?? N.interactionTexts.title
1404
+ readonly: _r,
1405
+ title: W?.title ?? bt ?? N.interactionTexts.title
1402
1406
  }
1403
1407
  )
1404
1408
  }
1405
1409
  ) : null,
1406
1410
  x ? /* @__PURE__ */ u(
1407
- uo.Provider,
1411
+ fo.Provider,
1408
1412
  {
1409
- value: rr,
1413
+ value: or,
1410
1414
  children: /* @__PURE__ */ u(
1411
- io,
1415
+ lo,
1412
1416
  {
1413
- dir: j === "auto" ? er : j,
1417
+ dir: j === "auto" ? tr : j,
1414
1418
  lang: Re,
1415
1419
  audioList: y,
1416
1420
  className: Pe(
@@ -1420,7 +1424,7 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1420
1424
  !K && "pointer-events-none opacity-0"
1421
1425
  ),
1422
1426
  currentAudioIndex: C,
1423
- defaultPlaying: Ct,
1427
+ defaultPlaying: Tt,
1424
1428
  enableKeyboardShortcuts: ue,
1425
1429
  isPlaybackPaused: oe,
1426
1430
  isAutoAdvanceEnabled: De,
@@ -1428,15 +1432,15 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1428
1432
  isInteractionOpen: ge,
1429
1433
  isSubtitleEnabled: pn,
1430
1434
  onAutoAdvanceToggle: un,
1431
- onLoadingChange: Br,
1435
+ onLoadingChange: Vr,
1432
1436
  onPlaybackStarted: () => {
1433
- lt(!0);
1437
+ at(!0);
1434
1438
  },
1435
1439
  onPlaybackCheckpoint: ({ audioKey: e, isComplete: t, timeMs: n }) => {
1436
1440
  const i = y.findIndex(
1437
1441
  (o) => o.audioKey === e
1438
1442
  ), l = i >= 0 ? y[i] : void 0;
1439
- !l?.audioKey || !l.element || Gn?.({
1443
+ !l?.audioKey || !l.element || $n?.({
1440
1444
  audioKey: l.audioKey,
1441
1445
  element: l.element,
1442
1446
  isComplete: t,
@@ -1444,44 +1448,44 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1444
1448
  timeMs: n
1445
1449
  });
1446
1450
  },
1447
- onPlaybackPreferenceChange: Er,
1451
+ onPlaybackPreferenceChange: Cr,
1448
1452
  onPlaybackTimeChange: Se.setTime,
1449
1453
  onSubtitleToggle: () => {
1450
- cr((e) => !e);
1454
+ ur((e) => !e);
1451
1455
  },
1452
1456
  nextDisabled: !R,
1453
- onEnded: Vr,
1454
- onFullscreen: kr,
1457
+ onEnded: Kr,
1458
+ onFullscreen: Lr,
1455
1459
  isFullscreen: hn,
1456
1460
  mobileViewMode: ne,
1457
- settingsPortalContainer: xt.current,
1458
- onMobileViewModeChange: gr,
1459
- onControlsPointerEnter: Kr,
1460
- onControlsPointerLeave: qr,
1461
- onNext: Nr,
1462
- onPrev: Fr,
1463
- onSubtitleJump: Lr,
1464
- canJumpToSubtitleTarget: Ht,
1465
- prevDisabled: !tr,
1461
+ settingsPortalContainer: Pt.current,
1462
+ onMobileViewModeChange: vr,
1463
+ onControlsPointerEnter: qr,
1464
+ onControlsPointerLeave: Ur,
1465
+ onNext: Dr,
1466
+ onPrev: Nr,
1467
+ onSubtitleJump: Fr,
1468
+ canJumpToSubtitleTarget: Yt,
1469
+ prevDisabled: !nr,
1466
1470
  showControls: K,
1467
1471
  slideProgress: Xe ? {
1468
1472
  ariaLabel: N.slideProgressAriaLabel,
1469
1473
  currentIndex: a,
1470
1474
  generatingLabel: N.slideProgressGeneratingLabel,
1471
- isGenerating: At,
1472
- onNavigate: Dr,
1475
+ isGenerating: wt,
1476
+ onNavigate: Br,
1473
1477
  totalSteps: cn
1474
1478
  } : null,
1475
- subtitleSeekRequest: ir,
1476
- playbackRestoreRequest: rt && rt.audioKey === mt?.audioKey ? {
1477
- id: rt.id,
1478
- timeMs: rt.timeMs
1479
+ subtitleSeekRequest: lr,
1480
+ playbackRestoreRequest: ot && ot.audioKey === pt?.audioKey ? {
1481
+ id: ot.id,
1482
+ timeMs: ot.timeMs
1479
1483
  } : null,
1480
1484
  onPlaybackRestoreComplete: (e) => {
1481
1485
  Be.current?.id === e && (Be.current = null, dn(null));
1482
1486
  },
1483
- texts: bt,
1484
- customActionContext: Bt,
1487
+ texts: At,
1488
+ customActionContext: Vt,
1485
1489
  customActions: Ce,
1486
1490
  useAutoAdvanceToggle: Ve
1487
1491
  }
@@ -1496,6 +1500,6 @@ const $o = (c, d) => c.length === d.length && c.every((z, Ee) => {
1496
1500
  );
1497
1501
  };
1498
1502
  export {
1499
- Mi as default
1503
+ ki as default
1500
1504
  };
1501
1505
  //# sourceMappingURL=Slide.es.js.map