@jigowatts/jigowatts-ui 1.2.2 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (419) hide show
  1. package/dist/assets/index10.css +1 -1
  2. package/dist/assets/index11.css +1 -1
  3. package/dist/assets/index12.css +1 -1
  4. package/dist/assets/index13.css +1 -1
  5. package/dist/assets/index14.css +1 -1
  6. package/dist/assets/index15.css +1 -1
  7. package/dist/assets/index16.css +1 -1
  8. package/dist/assets/index17.css +1 -1
  9. package/dist/assets/index18.css +1 -1
  10. package/dist/assets/index19.css +1 -1
  11. package/dist/assets/index20.css +1 -1
  12. package/dist/assets/index21.css +1 -1
  13. package/dist/assets/index22.css +1 -1
  14. package/dist/assets/index23.css +1 -1
  15. package/dist/assets/index24.css +1 -1
  16. package/dist/assets/index25.css +1 -1
  17. package/dist/assets/index26.css +1 -1
  18. package/dist/assets/index27.css +1 -1
  19. package/dist/assets/index28.css +1 -1
  20. package/dist/assets/index29.css +1 -1
  21. package/dist/assets/index30.css +1 -1
  22. package/dist/assets/index31.css +1 -1
  23. package/dist/assets/index32.css +1 -1
  24. package/dist/assets/index7.css +1 -1
  25. package/dist/assets/index8.css +1 -1
  26. package/dist/assets/index9.css +1 -1
  27. package/dist/components/Button/index.cjs.js.map +1 -1
  28. package/dist/components/Button/index.es.js.map +1 -1
  29. package/dist/components/Button/index.test.cjs.js +1 -1
  30. package/dist/components/Button/index.test.cjs.js.map +1 -1
  31. package/dist/components/Button/index.test.es.js +1 -1
  32. package/dist/components/Button/index.test.es.js.map +1 -1
  33. package/dist/components/Card/index.cjs.js +1 -1
  34. package/dist/components/Card/index.cjs.js.map +1 -1
  35. package/dist/components/Card/index.es.js +1 -1
  36. package/dist/components/Card/index.es.js.map +1 -1
  37. package/dist/components/Card/index.test.cjs.js +1 -1
  38. package/dist/components/Card/index.test.cjs.js.map +1 -1
  39. package/dist/components/Card/index.test.es.js +1 -1
  40. package/dist/components/Card/index.test.es.js.map +1 -1
  41. package/dist/components/CardWithTitle/index.cjs.js +1 -1
  42. package/dist/components/CardWithTitle/index.cjs.js.map +1 -1
  43. package/dist/components/CardWithTitle/index.es.js +1 -1
  44. package/dist/components/CardWithTitle/index.es.js.map +1 -1
  45. package/dist/components/CardWithTitle/index.test.cjs.js +1 -1
  46. package/dist/components/CardWithTitle/index.test.cjs.js.map +1 -1
  47. package/dist/components/CardWithTitle/index.test.es.js +2 -2
  48. package/dist/components/CardWithTitle/index.test.es.js.map +1 -1
  49. package/dist/components/CopyableBox/index.cjs.js +2 -0
  50. package/dist/components/CopyableBox/index.cjs.js.map +1 -0
  51. package/dist/components/CopyableBox/index.d.ts +23 -0
  52. package/dist/components/CopyableBox/index.es.js +46 -0
  53. package/dist/components/CopyableBox/index.es.js.map +1 -0
  54. package/dist/components/CopyableBox/index.test.cjs.js +2 -0
  55. package/dist/components/CopyableBox/index.test.cjs.js.map +1 -0
  56. package/dist/components/CopyableBox/index.test.d.ts +1 -0
  57. package/dist/components/CopyableBox/index.test.es.js +39 -0
  58. package/dist/components/CopyableBox/index.test.es.js.map +1 -0
  59. package/dist/components/CustomLink/index.cjs.js +1 -1
  60. package/dist/components/CustomLink/index.cjs.js.map +1 -1
  61. package/dist/components/CustomLink/index.es.js +1 -1
  62. package/dist/components/CustomLink/index.es.js.map +1 -1
  63. package/dist/components/CustomLink/index.test.cjs.js +1 -1
  64. package/dist/components/CustomLink/index.test.cjs.js.map +1 -1
  65. package/dist/components/CustomLink/index.test.es.js +2 -2
  66. package/dist/components/CustomLink/index.test.es.js.map +1 -1
  67. package/dist/components/DataTable/index.cjs.js +1 -1
  68. package/dist/components/DataTable/index.cjs.js.map +1 -1
  69. package/dist/components/DataTable/index.es.js +1 -1
  70. package/dist/components/DataTable/index.es.js.map +1 -1
  71. package/dist/components/DataTable/index.test.cjs.js +1 -1
  72. package/dist/components/DataTable/index.test.cjs.js.map +1 -1
  73. package/dist/components/DataTable/index.test.es.js +3 -3
  74. package/dist/components/DataTable/index.test.es.js.map +1 -1
  75. package/dist/components/DatePickerController/index.cjs.js +1 -1
  76. package/dist/components/DatePickerController/index.cjs.js.map +1 -1
  77. package/dist/components/DatePickerController/index.d.ts +1 -0
  78. package/dist/components/DatePickerController/index.es.js +1 -1
  79. package/dist/components/DatePickerController/index.es.js.map +1 -1
  80. package/dist/components/DatePickerController/index.test.cjs.js +1 -1
  81. package/dist/components/DatePickerController/index.test.cjs.js.map +1 -1
  82. package/dist/components/DatePickerController/index.test.es.js +1 -1
  83. package/dist/components/DatePickerController/index.test.es.js.map +1 -1
  84. package/dist/components/ErrorMessage/index.cjs.js +1 -1
  85. package/dist/components/ErrorMessage/index.cjs.js.map +1 -1
  86. package/dist/components/ErrorMessage/index.es.js +1 -1
  87. package/dist/components/ErrorMessage/index.es.js.map +1 -1
  88. package/dist/components/ErrorMessage/index.test.cjs.js +1 -1
  89. package/dist/components/ErrorMessage/index.test.cjs.js.map +1 -1
  90. package/dist/components/ErrorMessage/index.test.es.js +2 -2
  91. package/dist/components/ErrorMessage/index.test.es.js.map +1 -1
  92. package/dist/components/EvseStateLabel/index.cjs.js +1 -1
  93. package/dist/components/EvseStateLabel/index.cjs.js.map +1 -1
  94. package/dist/components/EvseStateLabel/index.es.js +1 -1
  95. package/dist/components/EvseStateLabel/index.es.js.map +1 -1
  96. package/dist/components/FlexButtons/index.cjs.js +1 -1
  97. package/dist/components/FlexButtons/index.cjs.js.map +1 -1
  98. package/dist/components/FlexButtons/index.es.js +1 -1
  99. package/dist/components/FlexButtons/index.es.js.map +1 -1
  100. package/dist/components/FlexButtons/index.test.cjs.js +1 -1
  101. package/dist/components/FlexButtons/index.test.cjs.js.map +1 -1
  102. package/dist/components/FlexButtons/index.test.es.js +2 -2
  103. package/dist/components/FlexButtons/index.test.es.js.map +1 -1
  104. package/dist/components/Form/index.cjs.js +1 -1
  105. package/dist/components/Form/index.cjs.js.map +1 -1
  106. package/dist/components/Form/index.es.js +1 -1
  107. package/dist/components/Form/index.es.js.map +1 -1
  108. package/dist/components/Form/index.test.cjs.js +1 -1
  109. package/dist/components/Form/index.test.cjs.js.map +1 -1
  110. package/dist/components/Form/index.test.es.js +2 -2
  111. package/dist/components/Form/index.test.es.js.map +1 -1
  112. package/dist/components/FormItem/index.cjs.js +1 -1
  113. package/dist/components/FormItem/index.cjs.js.map +1 -1
  114. package/dist/components/FormItem/index.es.js +1 -1
  115. package/dist/components/FormItem/index.es.js.map +1 -1
  116. package/dist/components/FormItem/index.test.cjs.js +1 -1
  117. package/dist/components/FormItem/index.test.cjs.js.map +1 -1
  118. package/dist/components/FormItem/index.test.es.js +2 -2
  119. package/dist/components/FormItem/index.test.es.js.map +1 -1
  120. package/dist/components/FormTitle/index.cjs.js +1 -1
  121. package/dist/components/FormTitle/index.cjs.js.map +1 -1
  122. package/dist/components/FormTitle/index.es.js +1 -1
  123. package/dist/components/FormTitle/index.es.js.map +1 -1
  124. package/dist/components/FormTitle/index.test.cjs.js +1 -1
  125. package/dist/components/FormTitle/index.test.cjs.js.map +1 -1
  126. package/dist/components/FormTitle/index.test.es.js +2 -2
  127. package/dist/components/FormTitle/index.test.es.js.map +1 -1
  128. package/dist/components/HStack/index.cjs.js +1 -1
  129. package/dist/components/HStack/index.cjs.js.map +1 -1
  130. package/dist/components/HStack/index.es.js +1 -1
  131. package/dist/components/HStack/index.es.js.map +1 -1
  132. package/dist/components/HStack/index.test.cjs.js +1 -1
  133. package/dist/components/HStack/index.test.cjs.js.map +1 -1
  134. package/dist/components/HStack/index.test.es.js +2 -2
  135. package/dist/components/HStack/index.test.es.js.map +1 -1
  136. package/dist/components/HtmlRenderer/index.cjs.js +1 -1
  137. package/dist/components/HtmlRenderer/index.es.js +1 -1
  138. package/dist/components/HtmlRenderer/index.test.cjs.js +1 -1
  139. package/dist/components/HtmlRenderer/index.test.cjs.js.map +1 -1
  140. package/dist/components/HtmlRenderer/index.test.es.js +2 -2
  141. package/dist/components/HtmlRenderer/index.test.es.js.map +1 -1
  142. package/dist/components/Input/index.cjs.js +1 -1
  143. package/dist/components/Input/index.cjs.js.map +1 -1
  144. package/dist/components/Input/index.es.js +1 -1
  145. package/dist/components/Input/index.es.js.map +1 -1
  146. package/dist/components/Input/index.test.cjs.js +1 -1
  147. package/dist/components/Input/index.test.cjs.js.map +1 -1
  148. package/dist/components/Input/index.test.es.js +1 -1
  149. package/dist/components/Input/index.test.es.js.map +1 -1
  150. package/dist/components/InputController/index.cjs.js.map +1 -1
  151. package/dist/components/InputController/index.es.js.map +1 -1
  152. package/dist/components/InputController/index.test.cjs.js +1 -1
  153. package/dist/components/InputController/index.test.cjs.js.map +1 -1
  154. package/dist/components/InputController/index.test.es.js +1 -1
  155. package/dist/components/InputController/index.test.es.js.map +1 -1
  156. package/dist/components/InputGroup/index.cjs.js +1 -1
  157. package/dist/components/InputGroup/index.cjs.js.map +1 -1
  158. package/dist/components/InputGroup/index.es.js +1 -1
  159. package/dist/components/InputGroup/index.es.js.map +1 -1
  160. package/dist/components/InputGroup/index.test.cjs.js +1 -1
  161. package/dist/components/InputGroup/index.test.cjs.js.map +1 -1
  162. package/dist/components/InputGroup/index.test.es.js +2 -2
  163. package/dist/components/InputGroup/index.test.es.js.map +1 -1
  164. package/dist/components/Label/index.cjs.js +1 -1
  165. package/dist/components/Label/index.cjs.js.map +1 -1
  166. package/dist/components/Label/index.es.js +1 -1
  167. package/dist/components/Label/index.es.js.map +1 -1
  168. package/dist/components/Label/index.test.cjs.js +1 -1
  169. package/dist/components/Label/index.test.cjs.js.map +1 -1
  170. package/dist/components/Label/index.test.es.js +2 -2
  171. package/dist/components/Label/index.test.es.js.map +1 -1
  172. package/dist/components/LabeledContent/index.cjs.js +1 -1
  173. package/dist/components/LabeledContent/index.cjs.js.map +1 -1
  174. package/dist/components/LabeledContent/index.es.js +1 -1
  175. package/dist/components/LabeledContent/index.es.js.map +1 -1
  176. package/dist/components/LabeledContent/index.test.cjs.js +1 -1
  177. package/dist/components/LabeledContent/index.test.cjs.js.map +1 -1
  178. package/dist/components/LabeledContent/index.test.es.js +1 -1
  179. package/dist/components/LabeledContent/index.test.es.js.map +1 -1
  180. package/dist/components/LoadingOverlay/index.cjs.js +1 -1
  181. package/dist/components/LoadingOverlay/index.cjs.js.map +1 -1
  182. package/dist/components/LoadingOverlay/index.es.js +1 -1
  183. package/dist/components/LoadingOverlay/index.es.js.map +1 -1
  184. package/dist/components/LoadingOverlay/index.test.cjs.js +1 -1
  185. package/dist/components/LoadingOverlay/index.test.cjs.js.map +1 -1
  186. package/dist/components/LoadingOverlay/index.test.es.js +2 -2
  187. package/dist/components/LoadingOverlay/index.test.es.js.map +1 -1
  188. package/dist/components/Map/index.cjs.js +2 -2
  189. package/dist/components/Map/index.cjs.js.map +1 -1
  190. package/dist/components/Map/index.es.js +709 -716
  191. package/dist/components/Map/index.es.js.map +1 -1
  192. package/dist/components/MaxWidthContainer/index.cjs.js +1 -1
  193. package/dist/components/MaxWidthContainer/index.cjs.js.map +1 -1
  194. package/dist/components/MaxWidthContainer/index.es.js +1 -1
  195. package/dist/components/MaxWidthContainer/index.es.js.map +1 -1
  196. package/dist/components/MaxWidthContainer/index.test.cjs.js +1 -1
  197. package/dist/components/MaxWidthContainer/index.test.cjs.js.map +1 -1
  198. package/dist/components/MaxWidthContainer/index.test.es.js +2 -2
  199. package/dist/components/MaxWidthContainer/index.test.es.js.map +1 -1
  200. package/dist/components/NumericFieldController/index.cjs.js.map +1 -1
  201. package/dist/components/NumericFieldController/index.d.ts +1 -0
  202. package/dist/components/NumericFieldController/index.es.js.map +1 -1
  203. package/dist/components/NumericFieldController/index.test.cjs.js +1 -1
  204. package/dist/components/NumericFieldController/index.test.cjs.js.map +1 -1
  205. package/dist/components/NumericFieldController/index.test.es.js +1 -1
  206. package/dist/components/NumericFieldController/index.test.es.js.map +1 -1
  207. package/dist/components/OfflineLabel/index.cjs.js +1 -1
  208. package/dist/components/OfflineLabel/index.cjs.js.map +1 -1
  209. package/dist/components/OfflineLabel/index.es.js +1 -1
  210. package/dist/components/OfflineLabel/index.es.js.map +1 -1
  211. package/dist/components/PageSizeSelector/index.cjs.js +1 -1
  212. package/dist/components/PageSizeSelector/index.cjs.js.map +1 -1
  213. package/dist/components/PageSizeSelector/index.es.js +2 -2
  214. package/dist/components/PageSizeSelector/index.es.js.map +1 -1
  215. package/dist/components/Pagination/index.cjs.js +2 -2
  216. package/dist/components/Pagination/index.cjs.js.map +1 -1
  217. package/dist/components/Pagination/index.es.js +17 -17
  218. package/dist/components/Pagination/index.es.js.map +1 -1
  219. package/dist/components/Pagination/index.test.cjs.js +1 -1
  220. package/dist/components/Pagination/index.test.cjs.js.map +1 -1
  221. package/dist/components/Pagination/index.test.es.js +1 -1
  222. package/dist/components/Pagination/index.test.es.js.map +1 -1
  223. package/dist/components/PasswordInputController/index.cjs.js.map +1 -1
  224. package/dist/components/PasswordInputController/index.es.js.map +1 -1
  225. package/dist/components/PasswordInputController/index.test.cjs.js +1 -1
  226. package/dist/components/PasswordInputController/index.test.cjs.js.map +1 -1
  227. package/dist/components/PasswordInputController/index.test.es.js +1 -1
  228. package/dist/components/PasswordInputController/index.test.es.js.map +1 -1
  229. package/dist/components/RadioButton/index.cjs.js +1 -1
  230. package/dist/components/RadioButton/index.es.js +1 -1
  231. package/dist/components/RadioButton/index.test.cjs.js +1 -1
  232. package/dist/components/RadioButton/index.test.cjs.js.map +1 -1
  233. package/dist/components/RadioButton/index.test.es.js +3 -3
  234. package/dist/components/RadioButton/index.test.es.js.map +1 -1
  235. package/dist/components/RadioGroupController/index.cjs.js.map +1 -1
  236. package/dist/components/RadioGroupController/index.es.js.map +1 -1
  237. package/dist/components/RadioGroupController/index.test.cjs.js +1 -1
  238. package/dist/components/RadioGroupController/index.test.cjs.js.map +1 -1
  239. package/dist/components/RadioGroupController/index.test.es.js +1 -1
  240. package/dist/components/RadioGroupController/index.test.es.js.map +1 -1
  241. package/dist/components/RangeDatePicker/index.cjs.js +1 -1
  242. package/dist/components/RangeDatePicker/index.cjs.js.map +1 -1
  243. package/dist/components/RangeDatePicker/index.es.js +1 -1
  244. package/dist/components/RangeDatePicker/index.es.js.map +1 -1
  245. package/dist/components/RangeDatePickerController/index.cjs.js.map +1 -1
  246. package/dist/components/RangeDatePickerController/index.es.js.map +1 -1
  247. package/dist/components/RangeDatePickerController/index.test.cjs.js +1 -1
  248. package/dist/components/RangeDatePickerController/index.test.cjs.js.map +1 -1
  249. package/dist/components/RangeDatePickerController/index.test.es.js +1 -1
  250. package/dist/components/RangeDatePickerController/index.test.es.js.map +1 -1
  251. package/dist/components/ReportCard/index.cjs.js +1 -1
  252. package/dist/components/ReportCard/index.cjs.js.map +1 -1
  253. package/dist/components/ReportCard/index.es.js +1 -1
  254. package/dist/components/ReportCard/index.es.js.map +1 -1
  255. package/dist/components/ReportCard/index.test.cjs.js +1 -1
  256. package/dist/components/ReportCard/index.test.cjs.js.map +1 -1
  257. package/dist/components/ReportCard/index.test.es.js +1 -1
  258. package/dist/components/ReportCard/index.test.es.js.map +1 -1
  259. package/dist/components/ReportChart/index.cjs.js +1 -1
  260. package/dist/components/ReportChart/index.cjs.js.map +1 -1
  261. package/dist/components/ReportChart/index.es.js +1 -1
  262. package/dist/components/ReportChart/index.es.js.map +1 -1
  263. package/dist/components/ReportChartMulti/index.cjs.js +1 -1
  264. package/dist/components/ReportChartMulti/index.cjs.js.map +1 -1
  265. package/dist/components/ReportChartMulti/index.es.js +1 -1
  266. package/dist/components/ReportChartMulti/index.es.js.map +1 -1
  267. package/dist/components/ReportChartMulti/index.test.cjs.js +1 -1
  268. package/dist/components/ReportChartMulti/index.test.cjs.js.map +1 -1
  269. package/dist/components/ReportChartMulti/index.test.es.js +1 -1
  270. package/dist/components/ReportChartMulti/index.test.es.js.map +1 -1
  271. package/dist/components/ScrollableDialog/index.cjs.js.map +1 -1
  272. package/dist/components/ScrollableDialog/index.es.js.map +1 -1
  273. package/dist/components/ScrollableDialog/index.test.cjs.js +1 -1
  274. package/dist/components/ScrollableDialog/index.test.cjs.js.map +1 -1
  275. package/dist/components/ScrollableDialog/index.test.es.js +1 -1
  276. package/dist/components/ScrollableDialog/index.test.es.js.map +1 -1
  277. package/dist/components/SearchForm/index.cjs.js.map +1 -1
  278. package/dist/components/SearchForm/index.es.js.map +1 -1
  279. package/dist/components/SelectBox/index.cjs.js +1 -1
  280. package/dist/components/SelectBox/index.es.js +1 -1
  281. package/dist/components/SelectBox/index.test.cjs.js +1 -1
  282. package/dist/components/SelectBox/index.test.cjs.js.map +1 -1
  283. package/dist/components/SelectBox/index.test.es.js +2 -2
  284. package/dist/components/SelectBox/index.test.es.js.map +1 -1
  285. package/dist/components/SelectBoxController/index.cjs.js.map +1 -1
  286. package/dist/components/SelectBoxController/index.es.js.map +1 -1
  287. package/dist/components/SelectBoxController/index.test.cjs.js +1 -1
  288. package/dist/components/SelectBoxController/index.test.cjs.js.map +1 -1
  289. package/dist/components/SelectBoxController/index.test.es.js +1 -1
  290. package/dist/components/SelectBoxController/index.test.es.js.map +1 -1
  291. package/dist/components/SideMenu/index.cjs.js.map +1 -1
  292. package/dist/components/SideMenu/index.es.js.map +1 -1
  293. package/dist/components/SideMenu/index.test.cjs.js +1 -1
  294. package/dist/components/SideMenu/index.test.cjs.js.map +1 -1
  295. package/dist/components/SideMenu/index.test.es.js +3 -3
  296. package/dist/components/SideMenu/index.test.es.js.map +1 -1
  297. package/dist/components/SpinnerButton/index.cjs.js.map +1 -1
  298. package/dist/components/SpinnerButton/index.es.js.map +1 -1
  299. package/dist/components/SpinnerButton/index.test.cjs.js +1 -1
  300. package/dist/components/SpinnerButton/index.test.cjs.js.map +1 -1
  301. package/dist/components/SpinnerButton/index.test.es.js +2 -2
  302. package/dist/components/SpinnerButton/index.test.es.js.map +1 -1
  303. package/dist/components/SubMenu/index.cjs.js.map +1 -1
  304. package/dist/components/SubMenu/index.es.js.map +1 -1
  305. package/dist/components/SubMenu/index.test.cjs.js +1 -1
  306. package/dist/components/SubMenu/index.test.cjs.js.map +1 -1
  307. package/dist/components/SubMenu/index.test.es.js +1 -1
  308. package/dist/components/SubMenu/index.test.es.js.map +1 -1
  309. package/dist/components/Tabs/index.cjs.js.map +1 -1
  310. package/dist/components/Tabs/index.d.ts +1 -1
  311. package/dist/components/Tabs/index.es.js.map +1 -1
  312. package/dist/components/Tabs/index.test.cjs.js +1 -1
  313. package/dist/components/Tabs/index.test.cjs.js.map +1 -1
  314. package/dist/components/Tabs/index.test.es.js +2 -2
  315. package/dist/components/Tabs/index.test.es.js.map +1 -1
  316. package/dist/components/Textarea/index.cjs.js.map +1 -1
  317. package/dist/components/Textarea/index.es.js.map +1 -1
  318. package/dist/components/Textarea/index.test.cjs.js +1 -1
  319. package/dist/components/Textarea/index.test.cjs.js.map +1 -1
  320. package/dist/components/Textarea/index.test.es.js +2 -2
  321. package/dist/components/Textarea/index.test.es.js.map +1 -1
  322. package/dist/components/Title/index.cjs.js +1 -1
  323. package/dist/components/Title/index.cjs.js.map +1 -1
  324. package/dist/components/Title/index.es.js +9 -2
  325. package/dist/components/Title/index.es.js.map +1 -1
  326. package/dist/components/Title/index.test.cjs.js +1 -1
  327. package/dist/components/Title/index.test.cjs.js.map +1 -1
  328. package/dist/components/Title/index.test.es.js +2 -2
  329. package/dist/components/Title/index.test.es.js.map +1 -1
  330. package/dist/components/ToggleButton/index.cjs.js.map +1 -1
  331. package/dist/components/ToggleButton/index.es.js.map +1 -1
  332. package/dist/components/ToggleButton/index.test.cjs.js +1 -1
  333. package/dist/components/ToggleButton/index.test.cjs.js.map +1 -1
  334. package/dist/components/ToggleButton/index.test.es.js +1 -1
  335. package/dist/components/ToggleButton/index.test.es.js.map +1 -1
  336. package/dist/components/TwoFaDialog/index.cjs.js +19 -0
  337. package/dist/components/TwoFaDialog/index.cjs.js.map +1 -0
  338. package/dist/components/TwoFaDialog/index.d.ts +62 -0
  339. package/dist/components/TwoFaDialog/index.es.js +1129 -0
  340. package/dist/components/TwoFaDialog/index.es.js.map +1 -0
  341. package/dist/components/TwoFaDialog/index.test.cjs.js +3 -0
  342. package/dist/components/TwoFaDialog/index.test.cjs.js.map +1 -0
  343. package/dist/components/TwoFaDialog/index.test.d.ts +1 -0
  344. package/dist/components/TwoFaDialog/index.test.es.js +73 -0
  345. package/dist/components/TwoFaDialog/index.test.es.js.map +1 -0
  346. package/dist/components/TwoFaInputController/index.cjs.js +2 -0
  347. package/dist/components/TwoFaInputController/index.cjs.js.map +1 -0
  348. package/dist/components/TwoFaInputController/index.d.ts +34 -0
  349. package/dist/components/TwoFaInputController/index.es.js +87 -0
  350. package/dist/components/TwoFaInputController/index.es.js.map +1 -0
  351. package/dist/components/TwoFaInputController/index.test.cjs.js +2 -0
  352. package/dist/components/TwoFaInputController/index.test.cjs.js.map +1 -0
  353. package/dist/components/TwoFaInputController/index.test.d.ts +1 -0
  354. package/dist/components/TwoFaInputController/index.test.es.js +123 -0
  355. package/dist/components/TwoFaInputController/index.test.es.js.map +1 -0
  356. package/dist/components/TwoFaLabel/index.cjs.js +2 -0
  357. package/dist/components/TwoFaLabel/index.cjs.js.map +1 -0
  358. package/dist/components/TwoFaLabel/index.d.ts +28 -0
  359. package/dist/components/TwoFaLabel/index.es.js +60 -0
  360. package/dist/components/TwoFaLabel/index.es.js.map +1 -0
  361. package/dist/components/TwoFaLabel/index.test.cjs.js +2 -0
  362. package/dist/components/TwoFaLabel/index.test.cjs.js.map +1 -0
  363. package/dist/components/TwoFaLabel/index.test.d.ts +1 -0
  364. package/dist/components/TwoFaLabel/index.test.es.js +19 -0
  365. package/dist/components/TwoFaLabel/index.test.es.js.map +1 -0
  366. package/dist/components/VStack/index.cjs.js.map +1 -1
  367. package/dist/components/VStack/index.es.js.map +1 -1
  368. package/dist/components/VStack/index.test.cjs.js +1 -1
  369. package/dist/components/VStack/index.test.cjs.js.map +1 -1
  370. package/dist/components/VStack/index.test.es.js +2 -2
  371. package/dist/components/VStack/index.test.es.js.map +1 -1
  372. package/dist/index-9p9q0wxE.cjs +39 -0
  373. package/dist/index-9p9q0wxE.cjs.map +1 -0
  374. package/dist/{index-B663CLQ0.cjs → index-BM3CSrls.cjs} +2 -2
  375. package/dist/{index-B663CLQ0.cjs.map → index-BM3CSrls.cjs.map} +1 -1
  376. package/dist/{index-C50NsnJO.cjs → index-BoenezD8.cjs} +2 -2
  377. package/dist/{index-C50NsnJO.cjs.map → index-BoenezD8.cjs.map} +1 -1
  378. package/dist/index-C9Dbd7MM.cjs +4 -0
  379. package/dist/index-C9Dbd7MM.cjs.map +1 -0
  380. package/dist/{index-DCSLk6pp.js → index-Cj9ZvtM1.js} +1890 -2721
  381. package/dist/index-Cj9ZvtM1.js.map +1 -0
  382. package/dist/{index-pr0ncuNy.js → index-CogWL0bN.js} +2 -2
  383. package/dist/{index-pr0ncuNy.js.map → index-CogWL0bN.js.map} +1 -1
  384. package/dist/{index-CSiE_l9r.js → index-D7VNQwOv.js} +2 -2
  385. package/dist/{index-CSiE_l9r.js.map → index-D7VNQwOv.js.map} +1 -1
  386. package/dist/{index-ZP4xL6Dt.js → index-DI17hZPH.js} +7373 -6726
  387. package/dist/index-DI17hZPH.js.map +1 -0
  388. package/dist/index-Ds6DK19y.cjs +96 -0
  389. package/dist/index-Ds6DK19y.cjs.map +1 -0
  390. package/dist/{index-CCbJ_2yU.cjs → index-SHLzSoKB.cjs} +2 -2
  391. package/dist/{index-CCbJ_2yU.cjs.map → index-SHLzSoKB.cjs.map} +1 -1
  392. package/dist/{index-D5b3AasF.js → index-sarAILcU.js} +2 -2
  393. package/dist/{index-D5b3AasF.js.map → index-sarAILcU.js.map} +1 -1
  394. package/dist/{index-BqN32Ptm.js → index-zix1zlkq.js} +628 -602
  395. package/dist/index-zix1zlkq.js.map +1 -0
  396. package/dist/index.cjs.js +1 -1
  397. package/dist/index.d.ts +4 -0
  398. package/dist/index.es.js +75 -65
  399. package/dist/index.es.js.map +1 -1
  400. package/dist/{react.esm-2FJSSo-S.js → react.esm-BBESb8eI.js} +631 -609
  401. package/dist/react.esm-BBESb8eI.js.map +1 -0
  402. package/dist/{react.esm-CiMn0Rnx.cjs → react.esm-DGuy6Rn3.cjs} +33 -33
  403. package/dist/react.esm-DGuy6Rn3.cjs.map +1 -0
  404. package/package.json +42 -18
  405. package/dist/browser-BCVsA9bD.cjs +0 -2
  406. package/dist/browser-BCVsA9bD.cjs.map +0 -1
  407. package/dist/browser-BYxLWVDg.js +0 -654
  408. package/dist/browser-BYxLWVDg.js.map +0 -1
  409. package/dist/index-BHsZ5xlA.cjs +0 -96
  410. package/dist/index-BHsZ5xlA.cjs.map +0 -1
  411. package/dist/index-BoNIpBs7.cjs +0 -4
  412. package/dist/index-BoNIpBs7.cjs.map +0 -1
  413. package/dist/index-BpMSrIOq.cjs +0 -43
  414. package/dist/index-BpMSrIOq.cjs.map +0 -1
  415. package/dist/index-BqN32Ptm.js.map +0 -1
  416. package/dist/index-DCSLk6pp.js.map +0 -1
  417. package/dist/index-ZP4xL6Dt.js.map +0 -1
  418. package/dist/react.esm-2FJSSo-S.js.map +0 -1
  419. package/dist/react.esm-CiMn0Rnx.cjs.map +0 -1
@@ -1,21 +1,21 @@
1
- import { jsx as ot } from "react/jsx-runtime";
2
- import { c as A, g as gr } from "./_commonjsHelpers-DaMA6jEr.js";
3
- import On from "react";
4
- import './assets/index35.css';/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
1
+ import { jsx as st } from "react/jsx-runtime";
2
+ import { c as R, g as Er } from "./_commonjsHelpers-DaMA6jEr.js";
3
+ import Dn from "react";
4
+ import './assets/index35.css';/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
5
5
  const {
6
- entries: Cn,
7
- setPrototypeOf: nn,
8
- isFrozen: Er,
6
+ entries: Nn,
7
+ setPrototypeOf: on,
8
+ isFrozen: Tr,
9
9
  getPrototypeOf: _r,
10
- getOwnPropertyDescriptor: Tr
10
+ getOwnPropertyDescriptor: vr
11
11
  } = Object;
12
12
  let {
13
13
  freeze: P,
14
14
  seal: H,
15
- create: Nn
15
+ create: Et
16
16
  } = Object, {
17
- apply: mt,
18
- construct: ht
17
+ apply: Tt,
18
+ construct: _t
19
19
  } = typeof Reflect < "u" && Reflect;
20
20
  P || (P = function(t) {
21
21
  return t;
@@ -23,56 +23,60 @@ P || (P = function(t) {
23
23
  H || (H = function(t) {
24
24
  return t;
25
25
  });
26
- mt || (mt = function(t, r, i) {
27
- return t.apply(r, i);
26
+ Tt || (Tt = function(t, r) {
27
+ for (var i = arguments.length, a = new Array(i > 2 ? i - 2 : 0), s = 2; s < i; s++)
28
+ a[s - 2] = arguments[s];
29
+ return t.apply(r, a);
28
30
  });
29
- ht || (ht = function(t, r) {
30
- return new t(...r);
31
+ _t || (_t = function(t) {
32
+ for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
33
+ i[a - 1] = arguments[a];
34
+ return new t(...i);
31
35
  });
32
- const we = k(Array.prototype.forEach), vr = k(Array.prototype.lastIndexOf), rn = k(Array.prototype.pop), pe = k(Array.prototype.push), yr = k(Array.prototype.splice), ke = k(String.prototype.toLowerCase), lt = k(String.prototype.toString), an = k(String.prototype.match), de = k(String.prototype.replace), Ar = k(String.prototype.indexOf), Rr = k(String.prototype.trim), G = k(Object.prototype.hasOwnProperty), M = k(RegExp.prototype.test), me = Sr(TypeError);
36
+ const we = k(Array.prototype.forEach), Ar = k(Array.prototype.lastIndexOf), ln = k(Array.prototype.pop), de = k(Array.prototype.push), yr = k(Array.prototype.splice), xe = k(String.prototype.toLowerCase), ct = k(String.prototype.toString), ut = k(String.prototype.match), me = k(String.prototype.replace), Rr = k(String.prototype.indexOf), Sr = k(String.prototype.trim), G = k(Object.prototype.hasOwnProperty), M = k(RegExp.prototype.test), he = br(TypeError);
33
37
  function k(e) {
34
38
  return function(t) {
35
39
  t instanceof RegExp && (t.lastIndex = 0);
36
40
  for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
37
41
  i[a - 1] = arguments[a];
38
- return mt(e, t, i);
42
+ return Tt(e, t, i);
39
43
  };
40
44
  }
41
- function Sr(e) {
45
+ function br(e) {
42
46
  return function() {
43
47
  for (var t = arguments.length, r = new Array(t), i = 0; i < t; i++)
44
48
  r[i] = arguments[i];
45
- return ht(e, r);
49
+ return _t(e, r);
46
50
  };
47
51
  }
48
- function _(e, t) {
49
- let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ke;
50
- nn && nn(e, null);
52
+ function T(e, t) {
53
+ let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : xe;
54
+ on && on(e, null);
51
55
  let i = t.length;
52
56
  for (; i--; ) {
53
57
  let a = t[i];
54
58
  if (typeof a == "string") {
55
- const c = r(a);
56
- c !== a && (Er(t) || (t[i] = c), a = c);
59
+ const s = r(a);
60
+ s !== a && (Tr(t) || (t[i] = s), a = s);
57
61
  }
58
62
  e[a] = !0;
59
63
  }
60
64
  return e;
61
65
  }
62
- function br(e) {
66
+ function Cr(e) {
63
67
  for (let t = 0; t < e.length; t++)
64
68
  G(e, t) || (e[t] = null);
65
69
  return e;
66
70
  }
67
- function $(e) {
68
- const t = Nn(null);
69
- for (const [r, i] of Cn(e))
70
- G(e, r) && (Array.isArray(i) ? t[r] = br(i) : i && typeof i == "object" && i.constructor === Object ? t[r] = $(i) : t[r] = i);
71
+ function X(e) {
72
+ const t = Et(null);
73
+ for (const [r, i] of Nn(e))
74
+ G(e, r) && (Array.isArray(i) ? t[r] = Cr(i) : i && typeof i == "object" && i.constructor === Object ? t[r] = X(i) : t[r] = i);
71
75
  return t;
72
76
  }
73
- function he(e, t) {
77
+ function ge(e, t) {
74
78
  for (; e !== null; ) {
75
- const i = Tr(e, t);
79
+ const i = vr(e, t);
76
80
  if (i) {
77
81
  if (i.get)
78
82
  return k(i.get);
@@ -86,34 +90,34 @@ function he(e, t) {
86
90
  }
87
91
  return r;
88
92
  }
89
- const on = P(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), st = P(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ct = P(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Or = P(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ut = P(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Cr = P(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), ln = P(["#text"]), sn = P(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), ft = P(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), cn = P(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ie = P(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Nr = H(/\{\{[\w\W]*|[\w\W]*\}\}/gm), wr = H(/<%[\w\W]*|[\w\W]*%>/gm), Ir = H(/\$\{[\w\W]*/gm), Dr = H(/^data-[\-\w.\u00B7-\uFFFF]+$/), Lr = H(/^aria-[\-\w]+$/), wn = H(
93
+ const sn = P(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ft = P(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), pt = P(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Or = P(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), dt = P(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Dr = P(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), cn = P(["#text"]), un = P(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), mt = P(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), fn = P(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Ie = P(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Nr = H(/\{\{[\w\W]*|[\w\W]*\}\}/gm), wr = H(/<%[\w\W]*|[\w\W]*%>/gm), Ir = H(/\$\{[\w\W]*/gm), Lr = H(/^data-[\-\w.\u00B7-\uFFFF]+$/), Mr = H(/^aria-[\-\w]+$/), wn = H(
90
94
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
91
95
  // eslint-disable-line no-useless-escape
92
- ), Mr = H(/^(?:\w+script|data):/i), Pr = H(
96
+ ), Pr = H(/^(?:\w+script|data):/i), kr = H(
93
97
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
94
98
  // eslint-disable-line no-control-regex
95
- ), In = H(/^html$/i), kr = H(/^[a-z][.\w]*(-[.\w]+)+$/i);
96
- var un = /* @__PURE__ */ Object.freeze({
99
+ ), In = H(/^html$/i), xr = H(/^[a-z][.\w]*(-[.\w]+)+$/i);
100
+ var pn = /* @__PURE__ */ Object.freeze({
97
101
  __proto__: null,
98
- ARIA_ATTR: Lr,
99
- ATTR_WHITESPACE: Pr,
100
- CUSTOM_ELEMENT: kr,
101
- DATA_ATTR: Dr,
102
+ ARIA_ATTR: Mr,
103
+ ATTR_WHITESPACE: kr,
104
+ CUSTOM_ELEMENT: xr,
105
+ DATA_ATTR: Lr,
102
106
  DOCTYPE_NAME: In,
103
107
  ERB_EXPR: wr,
104
108
  IS_ALLOWED_URI: wn,
105
- IS_SCRIPT_OR_DATA: Mr,
109
+ IS_SCRIPT_OR_DATA: Pr,
106
110
  MUSTACHE_EXPR: Nr,
107
111
  TMPLIT_EXPR: Ir
108
112
  });
109
- const ge = {
113
+ const Ee = {
110
114
  element: 1,
111
115
  text: 3,
112
116
  // Deprecated
113
117
  progressingInstruction: 7,
114
118
  comment: 8,
115
119
  document: 9
116
- }, xr = function() {
120
+ }, Fr = function() {
117
121
  return typeof window > "u" ? null : window;
118
122
  }, Ur = function(t, r) {
119
123
  if (typeof t != "object" || typeof t.createPolicy != "function")
@@ -121,9 +125,9 @@ const ge = {
121
125
  let i = null;
122
126
  const a = "data-tt-policy-suffix";
123
127
  r && r.hasAttribute(a) && (i = r.getAttribute(a));
124
- const c = "dompurify" + (i ? "#" + i : "");
128
+ const s = "dompurify" + (i ? "#" + i : "");
125
129
  try {
126
- return t.createPolicy(c, {
130
+ return t.createPolicy(s, {
127
131
  createHTML(m) {
128
132
  return m;
129
133
  },
@@ -132,9 +136,9 @@ const ge = {
132
136
  }
133
137
  });
134
138
  } catch {
135
- return console.warn("TrustedTypes policy " + c + " could not be created."), null;
139
+ return console.warn("TrustedTypes policy " + s + " could not be created."), null;
136
140
  }
137
- }, fn = function() {
141
+ }, dn = function() {
138
142
  return {
139
143
  afterSanitizeAttributes: [],
140
144
  afterSanitizeElements: [],
@@ -147,57 +151,57 @@ const ge = {
147
151
  uponSanitizeShadowNode: []
148
152
  };
149
153
  };
150
- function Dn() {
151
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : xr();
152
- const t = (p) => Dn(p);
153
- if (t.version = "3.2.6", t.removed = [], !e || !e.document || e.document.nodeType !== ge.document || !e.Element)
154
+ function Ln() {
155
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Fr();
156
+ const t = (p) => Ln(p);
157
+ if (t.version = "3.3.1", t.removed = [], !e || !e.document || e.document.nodeType !== Ee.document || !e.Element)
154
158
  return t.isSupported = !1, t;
155
159
  let {
156
160
  document: r
157
161
  } = e;
158
162
  const i = r, a = i.currentScript, {
159
- DocumentFragment: c,
163
+ DocumentFragment: s,
160
164
  HTMLTemplateElement: m,
161
165
  Node: u,
162
166
  Element: l,
163
- NodeFilter: s,
167
+ NodeFilter: c,
164
168
  NamedNodeMap: d = e.NamedNodeMap || e.MozNamedAttrMap,
165
169
  HTMLFormElement: g,
166
170
  DOMParser: j,
167
- trustedTypes: W
168
- } = e, E = l.prototype, h = he(E, "cloneNode"), N = he(E, "remove"), We = he(E, "nextSibling"), Qn = he(E, "childNodes"), ye = he(E, "parentNode");
171
+ trustedTypes: V
172
+ } = e, E = l.prototype, h = ge(E, "cloneNode"), N = ge(E, "remove"), Xe = ge(E, "nextSibling"), er = ge(E, "childNodes"), ye = ge(E, "parentNode");
169
173
  if (typeof m == "function") {
170
174
  const p = r.createElement("template");
171
175
  p.content && p.content.ownerDocument && (r = p.content.ownerDocument);
172
176
  }
173
- let D, le = "";
177
+ let I, ce = "";
174
178
  const {
175
- implementation: Xe,
176
- createNodeIterator: er,
177
- createDocumentFragment: tr,
178
- getElementsByTagName: nr
179
+ implementation: Ve,
180
+ createNodeIterator: tr,
181
+ createDocumentFragment: nr,
182
+ getElementsByTagName: rr
179
183
  } = r, {
180
- importNode: rr
184
+ importNode: ir
181
185
  } = i;
182
- let L = fn();
183
- t.isSupported = typeof Cn == "function" && typeof ye == "function" && Xe && Xe.createHTMLDocument !== void 0;
186
+ let L = dn();
187
+ t.isSupported = typeof Nn == "function" && typeof ye == "function" && Ve && Ve.createHTMLDocument !== void 0;
184
188
  const {
185
- MUSTACHE_EXPR: Ve,
186
- ERB_EXPR: Ye,
187
- TMPLIT_EXPR: $e,
188
- DATA_ATTR: ir,
189
- ARIA_ATTR: ar,
190
- IS_SCRIPT_OR_DATA: or,
191
- ATTR_WHITESPACE: Dt,
192
- CUSTOM_ELEMENT: lr
193
- } = un;
189
+ MUSTACHE_EXPR: Ye,
190
+ ERB_EXPR: qe,
191
+ TMPLIT_EXPR: Ze,
192
+ DATA_ATTR: ar,
193
+ ARIA_ATTR: or,
194
+ IS_SCRIPT_OR_DATA: lr,
195
+ ATTR_WHITESPACE: kt,
196
+ CUSTOM_ELEMENT: sr
197
+ } = pn;
194
198
  let {
195
- IS_ALLOWED_URI: Lt
196
- } = un, S = null;
197
- const Mt = _({}, [...on, ...st, ...ct, ...ut, ...ln]);
198
- let O = null;
199
- const Pt = _({}, [...sn, ...ft, ...cn, ...Ie]);
200
- let y = Object.seal(Nn(null, {
199
+ IS_ALLOWED_URI: xt
200
+ } = pn, b = null;
201
+ const Ft = T({}, [...sn, ...ft, ...pt, ...dt, ...cn]);
202
+ let C = null;
203
+ const Ut = T({}, [...un, ...mt, ...fn, ...Ie]);
204
+ let A = Object.seal(Et(null, {
201
205
  tagNameCheck: {
202
206
  writable: !0,
203
207
  configurable: !1,
@@ -216,47 +220,62 @@ function Dn() {
216
220
  enumerable: !0,
217
221
  value: !1
218
222
  }
219
- })), se = null, qe = null, kt = !0, Ze = !0, xt = !1, Ut = !0, ee = !1, Ae = !0, K = !1, Ke = !1, Je = !1, te = !1, Re = !1, Se = !1, Ft = !0, Ht = !1;
220
- const sr = "user-content-";
221
- let Qe = !0, ce = !1, ne = {}, re = null;
222
- const Gt = _({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
223
- let zt = null;
224
- const jt = _({}, ["audio", "video", "img", "source", "image", "track"]);
225
- let et = null;
226
- const Bt = _({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), be = "http://www.w3.org/1998/Math/MathML", Oe = "http://www.w3.org/2000/svg", X = "http://www.w3.org/1999/xhtml";
227
- let ie = X, tt = !1, nt = null;
228
- const cr = _({}, [be, Oe, X], lt);
229
- let Ce = _({}, ["mi", "mo", "mn", "ms", "mtext"]), Ne = _({}, ["annotation-xml"]);
230
- const ur = _({}, ["title", "style", "font", "a", "script"]);
231
- let ue = null;
232
- const fr = ["application/xhtml+xml", "text/html"], pr = "text/html";
233
- let b = null, ae = null;
234
- const dr = r.createElement("form"), Wt = function(n) {
223
+ })), ue = null, Ke = null;
224
+ const ne = Object.seal(Et(null, {
225
+ tagCheck: {
226
+ writable: !0,
227
+ configurable: !1,
228
+ enumerable: !0,
229
+ value: null
230
+ },
231
+ attributeCheck: {
232
+ writable: !0,
233
+ configurable: !1,
234
+ enumerable: !0,
235
+ value: null
236
+ }
237
+ }));
238
+ let Ht = !0, Je = !0, Gt = !1, zt = !0, re = !1, Re = !0, Q = !1, Qe = !1, $e = !1, ie = !1, Se = !1, be = !1, jt = !0, Bt = !1;
239
+ const cr = "user-content-";
240
+ let et = !0, fe = !1, ae = {}, B = null;
241
+ const tt = T({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
242
+ let Wt = null;
243
+ const Xt = T({}, ["audio", "video", "img", "source", "image", "track"]);
244
+ let nt = null;
245
+ const Vt = T({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ce = "http://www.w3.org/1998/Math/MathML", Oe = "http://www.w3.org/2000/svg", Y = "http://www.w3.org/1999/xhtml";
246
+ let oe = Y, rt = !1, it = null;
247
+ const ur = T({}, [Ce, Oe, Y], ct);
248
+ let De = T({}, ["mi", "mo", "mn", "ms", "mtext"]), Ne = T({}, ["annotation-xml"]);
249
+ const fr = T({}, ["title", "style", "font", "a", "script"]);
250
+ let pe = null;
251
+ const pr = ["application/xhtml+xml", "text/html"], dr = "text/html";
252
+ let S = null, le = null;
253
+ const mr = r.createElement("form"), Yt = function(n) {
235
254
  return n instanceof RegExp || n instanceof Function;
236
- }, rt = function() {
255
+ }, at = function() {
237
256
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
238
- if (!(ae && ae === n)) {
239
- if ((!n || typeof n != "object") && (n = {}), n = $(n), ue = // eslint-disable-next-line unicorn/prefer-includes
240
- fr.indexOf(n.PARSER_MEDIA_TYPE) === -1 ? pr : n.PARSER_MEDIA_TYPE, b = ue === "application/xhtml+xml" ? lt : ke, S = G(n, "ALLOWED_TAGS") ? _({}, n.ALLOWED_TAGS, b) : Mt, O = G(n, "ALLOWED_ATTR") ? _({}, n.ALLOWED_ATTR, b) : Pt, nt = G(n, "ALLOWED_NAMESPACES") ? _({}, n.ALLOWED_NAMESPACES, lt) : cr, et = G(n, "ADD_URI_SAFE_ATTR") ? _($(Bt), n.ADD_URI_SAFE_ATTR, b) : Bt, zt = G(n, "ADD_DATA_URI_TAGS") ? _($(jt), n.ADD_DATA_URI_TAGS, b) : jt, re = G(n, "FORBID_CONTENTS") ? _({}, n.FORBID_CONTENTS, b) : Gt, se = G(n, "FORBID_TAGS") ? _({}, n.FORBID_TAGS, b) : $({}), qe = G(n, "FORBID_ATTR") ? _({}, n.FORBID_ATTR, b) : $({}), ne = G(n, "USE_PROFILES") ? n.USE_PROFILES : !1, kt = n.ALLOW_ARIA_ATTR !== !1, Ze = n.ALLOW_DATA_ATTR !== !1, xt = n.ALLOW_UNKNOWN_PROTOCOLS || !1, Ut = n.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ee = n.SAFE_FOR_TEMPLATES || !1, Ae = n.SAFE_FOR_XML !== !1, K = n.WHOLE_DOCUMENT || !1, te = n.RETURN_DOM || !1, Re = n.RETURN_DOM_FRAGMENT || !1, Se = n.RETURN_TRUSTED_TYPE || !1, Je = n.FORCE_BODY || !1, Ft = n.SANITIZE_DOM !== !1, Ht = n.SANITIZE_NAMED_PROPS || !1, Qe = n.KEEP_CONTENT !== !1, ce = n.IN_PLACE || !1, Lt = n.ALLOWED_URI_REGEXP || wn, ie = n.NAMESPACE || X, Ce = n.MATHML_TEXT_INTEGRATION_POINTS || Ce, Ne = n.HTML_INTEGRATION_POINTS || Ne, y = n.CUSTOM_ELEMENT_HANDLING || {}, n.CUSTOM_ELEMENT_HANDLING && Wt(n.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (y.tagNameCheck = n.CUSTOM_ELEMENT_HANDLING.tagNameCheck), n.CUSTOM_ELEMENT_HANDLING && Wt(n.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (y.attributeNameCheck = n.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), n.CUSTOM_ELEMENT_HANDLING && typeof n.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (y.allowCustomizedBuiltInElements = n.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ee && (Ze = !1), Re && (te = !0), ne && (S = _({}, ln), O = [], ne.html === !0 && (_(S, on), _(O, sn)), ne.svg === !0 && (_(S, st), _(O, ft), _(O, Ie)), ne.svgFilters === !0 && (_(S, ct), _(O, ft), _(O, Ie)), ne.mathMl === !0 && (_(S, ut), _(O, cn), _(O, Ie))), n.ADD_TAGS && (S === Mt && (S = $(S)), _(S, n.ADD_TAGS, b)), n.ADD_ATTR && (O === Pt && (O = $(O)), _(O, n.ADD_ATTR, b)), n.ADD_URI_SAFE_ATTR && _(et, n.ADD_URI_SAFE_ATTR, b), n.FORBID_CONTENTS && (re === Gt && (re = $(re)), _(re, n.FORBID_CONTENTS, b)), Qe && (S["#text"] = !0), K && _(S, ["html", "head", "body"]), S.table && (_(S, ["tbody"]), delete se.tbody), n.TRUSTED_TYPES_POLICY) {
257
+ if (!(le && le === n)) {
258
+ if ((!n || typeof n != "object") && (n = {}), n = X(n), pe = // eslint-disable-next-line unicorn/prefer-includes
259
+ pr.indexOf(n.PARSER_MEDIA_TYPE) === -1 ? dr : n.PARSER_MEDIA_TYPE, S = pe === "application/xhtml+xml" ? ct : xe, b = G(n, "ALLOWED_TAGS") ? T({}, n.ALLOWED_TAGS, S) : Ft, C = G(n, "ALLOWED_ATTR") ? T({}, n.ALLOWED_ATTR, S) : Ut, it = G(n, "ALLOWED_NAMESPACES") ? T({}, n.ALLOWED_NAMESPACES, ct) : ur, nt = G(n, "ADD_URI_SAFE_ATTR") ? T(X(Vt), n.ADD_URI_SAFE_ATTR, S) : Vt, Wt = G(n, "ADD_DATA_URI_TAGS") ? T(X(Xt), n.ADD_DATA_URI_TAGS, S) : Xt, B = G(n, "FORBID_CONTENTS") ? T({}, n.FORBID_CONTENTS, S) : tt, ue = G(n, "FORBID_TAGS") ? T({}, n.FORBID_TAGS, S) : X({}), Ke = G(n, "FORBID_ATTR") ? T({}, n.FORBID_ATTR, S) : X({}), ae = G(n, "USE_PROFILES") ? n.USE_PROFILES : !1, Ht = n.ALLOW_ARIA_ATTR !== !1, Je = n.ALLOW_DATA_ATTR !== !1, Gt = n.ALLOW_UNKNOWN_PROTOCOLS || !1, zt = n.ALLOW_SELF_CLOSE_IN_ATTR !== !1, re = n.SAFE_FOR_TEMPLATES || !1, Re = n.SAFE_FOR_XML !== !1, Q = n.WHOLE_DOCUMENT || !1, ie = n.RETURN_DOM || !1, Se = n.RETURN_DOM_FRAGMENT || !1, be = n.RETURN_TRUSTED_TYPE || !1, $e = n.FORCE_BODY || !1, jt = n.SANITIZE_DOM !== !1, Bt = n.SANITIZE_NAMED_PROPS || !1, et = n.KEEP_CONTENT !== !1, fe = n.IN_PLACE || !1, xt = n.ALLOWED_URI_REGEXP || wn, oe = n.NAMESPACE || Y, De = n.MATHML_TEXT_INTEGRATION_POINTS || De, Ne = n.HTML_INTEGRATION_POINTS || Ne, A = n.CUSTOM_ELEMENT_HANDLING || {}, n.CUSTOM_ELEMENT_HANDLING && Yt(n.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (A.tagNameCheck = n.CUSTOM_ELEMENT_HANDLING.tagNameCheck), n.CUSTOM_ELEMENT_HANDLING && Yt(n.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (A.attributeNameCheck = n.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), n.CUSTOM_ELEMENT_HANDLING && typeof n.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (A.allowCustomizedBuiltInElements = n.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), re && (Je = !1), Se && (ie = !0), ae && (b = T({}, cn), C = [], ae.html === !0 && (T(b, sn), T(C, un)), ae.svg === !0 && (T(b, ft), T(C, mt), T(C, Ie)), ae.svgFilters === !0 && (T(b, pt), T(C, mt), T(C, Ie)), ae.mathMl === !0 && (T(b, dt), T(C, fn), T(C, Ie))), n.ADD_TAGS && (typeof n.ADD_TAGS == "function" ? ne.tagCheck = n.ADD_TAGS : (b === Ft && (b = X(b)), T(b, n.ADD_TAGS, S))), n.ADD_ATTR && (typeof n.ADD_ATTR == "function" ? ne.attributeCheck = n.ADD_ATTR : (C === Ut && (C = X(C)), T(C, n.ADD_ATTR, S))), n.ADD_URI_SAFE_ATTR && T(nt, n.ADD_URI_SAFE_ATTR, S), n.FORBID_CONTENTS && (B === tt && (B = X(B)), T(B, n.FORBID_CONTENTS, S)), n.ADD_FORBID_CONTENTS && (B === tt && (B = X(B)), T(B, n.ADD_FORBID_CONTENTS, S)), et && (b["#text"] = !0), Q && T(b, ["html", "head", "body"]), b.table && (T(b, ["tbody"]), delete ue.tbody), n.TRUSTED_TYPES_POLICY) {
241
260
  if (typeof n.TRUSTED_TYPES_POLICY.createHTML != "function")
242
- throw me('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
261
+ throw he('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
243
262
  if (typeof n.TRUSTED_TYPES_POLICY.createScriptURL != "function")
244
- throw me('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
245
- D = n.TRUSTED_TYPES_POLICY, le = D.createHTML("");
263
+ throw he('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
264
+ I = n.TRUSTED_TYPES_POLICY, ce = I.createHTML("");
246
265
  } else
247
- D === void 0 && (D = Ur(W, a)), D !== null && typeof le == "string" && (le = D.createHTML(""));
248
- P && P(n), ae = n;
266
+ I === void 0 && (I = Ur(V, a)), I !== null && typeof ce == "string" && (ce = I.createHTML(""));
267
+ P && P(n), le = n;
249
268
  }
250
- }, Xt = _({}, [...st, ...ct, ...Or]), Vt = _({}, [...ut, ...Cr]), mr = function(n) {
269
+ }, qt = T({}, [...ft, ...pt, ...Or]), Zt = T({}, [...dt, ...Dr]), hr = function(n) {
251
270
  let o = ye(n);
252
271
  (!o || !o.tagName) && (o = {
253
- namespaceURI: ie,
272
+ namespaceURI: oe,
254
273
  tagName: "template"
255
274
  });
256
- const f = ke(n.tagName), v = ke(o.tagName);
257
- return nt[n.namespaceURI] ? n.namespaceURI === Oe ? o.namespaceURI === X ? f === "svg" : o.namespaceURI === be ? f === "svg" && (v === "annotation-xml" || Ce[v]) : !!Xt[f] : n.namespaceURI === be ? o.namespaceURI === X ? f === "math" : o.namespaceURI === Oe ? f === "math" && Ne[v] : !!Vt[f] : n.namespaceURI === X ? o.namespaceURI === Oe && !Ne[v] || o.namespaceURI === be && !Ce[v] ? !1 : !Vt[f] && (ur[f] || !Xt[f]) : !!(ue === "application/xhtml+xml" && nt[n.namespaceURI]) : !1;
258
- }, B = function(n) {
259
- pe(t.removed, {
275
+ const f = xe(n.tagName), v = xe(o.tagName);
276
+ return it[n.namespaceURI] ? n.namespaceURI === Oe ? o.namespaceURI === Y ? f === "svg" : o.namespaceURI === Ce ? f === "svg" && (v === "annotation-xml" || De[v]) : !!qt[f] : n.namespaceURI === Ce ? o.namespaceURI === Y ? f === "math" : o.namespaceURI === Oe ? f === "math" && Ne[v] : !!Zt[f] : n.namespaceURI === Y ? o.namespaceURI === Oe && !Ne[v] || o.namespaceURI === Ce && !De[v] ? !1 : !Zt[f] && (fr[f] || !qt[f]) : !!(pe === "application/xhtml+xml" && it[n.namespaceURI]) : !1;
277
+ }, W = function(n) {
278
+ de(t.removed, {
260
279
  element: n
261
280
  });
262
281
  try {
@@ -264,22 +283,22 @@ function Dn() {
264
283
  } catch {
265
284
  N(n);
266
285
  }
267
- }, oe = function(n, o) {
286
+ }, $ = function(n, o) {
268
287
  try {
269
- pe(t.removed, {
288
+ de(t.removed, {
270
289
  attribute: o.getAttributeNode(n),
271
290
  from: o
272
291
  });
273
292
  } catch {
274
- pe(t.removed, {
293
+ de(t.removed, {
275
294
  attribute: null,
276
295
  from: o
277
296
  });
278
297
  }
279
298
  if (o.removeAttribute(n), n === "is")
280
- if (te || Re)
299
+ if (ie || Se)
281
300
  try {
282
- B(o);
301
+ W(o);
283
302
  } catch {
284
303
  }
285
304
  else
@@ -287,98 +306,100 @@ function Dn() {
287
306
  o.setAttribute(n, "");
288
307
  } catch {
289
308
  }
290
- }, Yt = function(n) {
309
+ }, Kt = function(n) {
291
310
  let o = null, f = null;
292
- if (Je)
311
+ if ($e)
293
312
  n = "<remove></remove>" + n;
294
313
  else {
295
- const R = an(n, /^[\r\n\t ]+/);
296
- f = R && R[0];
314
+ const y = ut(n, /^[\r\n\t ]+/);
315
+ f = y && y[0];
297
316
  }
298
- ue === "application/xhtml+xml" && ie === X && (n = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + n + "</body></html>");
299
- const v = D ? D.createHTML(n) : n;
300
- if (ie === X)
317
+ pe === "application/xhtml+xml" && oe === Y && (n = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + n + "</body></html>");
318
+ const v = I ? I.createHTML(n) : n;
319
+ if (oe === Y)
301
320
  try {
302
- o = new j().parseFromString(v, ue);
321
+ o = new j().parseFromString(v, pe);
303
322
  } catch {
304
323
  }
305
324
  if (!o || !o.documentElement) {
306
- o = Xe.createDocument(ie, "template", null);
325
+ o = Ve.createDocument(oe, "template", null);
307
326
  try {
308
- o.documentElement.innerHTML = tt ? le : v;
327
+ o.documentElement.innerHTML = rt ? ce : v;
309
328
  } catch {
310
329
  }
311
330
  }
312
331
  const w = o.body || o.documentElement;
313
- return n && f && w.insertBefore(r.createTextNode(f), w.childNodes[0] || null), ie === X ? nr.call(o, K ? "html" : "body")[0] : K ? o.documentElement : w;
314
- }, $t = function(n) {
315
- return er.call(
332
+ return n && f && w.insertBefore(r.createTextNode(f), w.childNodes[0] || null), oe === Y ? rr.call(o, Q ? "html" : "body")[0] : Q ? o.documentElement : w;
333
+ }, Jt = function(n) {
334
+ return tr.call(
316
335
  n.ownerDocument || n,
317
336
  n,
318
337
  // eslint-disable-next-line no-bitwise
319
- s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION,
338
+ c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION,
320
339
  null
321
340
  );
322
- }, it = function(n) {
341
+ }, ot = function(n) {
323
342
  return n instanceof g && (typeof n.nodeName != "string" || typeof n.textContent != "string" || typeof n.removeChild != "function" || !(n.attributes instanceof d) || typeof n.removeAttribute != "function" || typeof n.setAttribute != "function" || typeof n.namespaceURI != "string" || typeof n.insertBefore != "function" || typeof n.hasChildNodes != "function");
324
- }, qt = function(n) {
343
+ }, Qt = function(n) {
325
344
  return typeof u == "function" && n instanceof u;
326
345
  };
327
- function V(p, n, o) {
346
+ function q(p, n, o) {
328
347
  we(p, (f) => {
329
- f.call(t, n, o, ae);
348
+ f.call(t, n, o, le);
330
349
  });
331
350
  }
332
- const Zt = function(n) {
351
+ const $t = function(n) {
333
352
  let o = null;
334
- if (V(L.beforeSanitizeElements, n, null), it(n))
335
- return B(n), !0;
336
- const f = b(n.nodeName);
337
- if (V(L.uponSanitizeElement, n, {
353
+ if (q(L.beforeSanitizeElements, n, null), ot(n))
354
+ return W(n), !0;
355
+ const f = S(n.nodeName);
356
+ if (q(L.uponSanitizeElement, n, {
338
357
  tagName: f,
339
- allowedTags: S
340
- }), Ae && n.hasChildNodes() && !qt(n.firstElementChild) && M(/<[/\w!]/g, n.innerHTML) && M(/<[/\w!]/g, n.textContent) || n.nodeType === ge.progressingInstruction || Ae && n.nodeType === ge.comment && M(/<[/\w]/g, n.data))
341
- return B(n), !0;
342
- if (!S[f] || se[f]) {
343
- if (!se[f] && Jt(f) && (y.tagNameCheck instanceof RegExp && M(y.tagNameCheck, f) || y.tagNameCheck instanceof Function && y.tagNameCheck(f)))
358
+ allowedTags: b
359
+ }), Re && n.hasChildNodes() && !Qt(n.firstElementChild) && M(/<[/\w!]/g, n.innerHTML) && M(/<[/\w!]/g, n.textContent) || n.nodeType === Ee.progressingInstruction || Re && n.nodeType === Ee.comment && M(/<[/\w]/g, n.data))
360
+ return W(n), !0;
361
+ if (!(ne.tagCheck instanceof Function && ne.tagCheck(f)) && (!b[f] || ue[f])) {
362
+ if (!ue[f] && tn(f) && (A.tagNameCheck instanceof RegExp && M(A.tagNameCheck, f) || A.tagNameCheck instanceof Function && A.tagNameCheck(f)))
344
363
  return !1;
345
- if (Qe && !re[f]) {
346
- const v = ye(n) || n.parentNode, w = Qn(n) || n.childNodes;
364
+ if (et && !B[f]) {
365
+ const v = ye(n) || n.parentNode, w = er(n) || n.childNodes;
347
366
  if (w && v) {
348
- const R = w.length;
349
- for (let U = R - 1; U >= 0; --U) {
350
- const Y = h(w[U], !0);
351
- Y.__removalCount = (n.__removalCount || 0) + 1, v.insertBefore(Y, We(n));
367
+ const y = w.length;
368
+ for (let F = y - 1; F >= 0; --F) {
369
+ const Z = h(w[F], !0);
370
+ Z.__removalCount = (n.__removalCount || 0) + 1, v.insertBefore(Z, Xe(n));
352
371
  }
353
372
  }
354
373
  }
355
- return B(n), !0;
374
+ return W(n), !0;
356
375
  }
357
- return n instanceof l && !mr(n) || (f === "noscript" || f === "noembed" || f === "noframes") && M(/<\/no(script|embed|frames)/i, n.innerHTML) ? (B(n), !0) : (ee && n.nodeType === ge.text && (o = n.textContent, we([Ve, Ye, $e], (v) => {
358
- o = de(o, v, " ");
359
- }), n.textContent !== o && (pe(t.removed, {
376
+ return n instanceof l && !hr(n) || (f === "noscript" || f === "noembed" || f === "noframes") && M(/<\/no(script|embed|frames)/i, n.innerHTML) ? (W(n), !0) : (re && n.nodeType === Ee.text && (o = n.textContent, we([Ye, qe, Ze], (v) => {
377
+ o = me(o, v, " ");
378
+ }), n.textContent !== o && (de(t.removed, {
360
379
  element: n.cloneNode()
361
- }), n.textContent = o)), V(L.afterSanitizeElements, n, null), !1);
362
- }, Kt = function(n, o, f) {
363
- if (Ft && (o === "id" || o === "name") && (f in r || f in dr))
380
+ }), n.textContent = o)), q(L.afterSanitizeElements, n, null), !1);
381
+ }, en = function(n, o, f) {
382
+ if (jt && (o === "id" || o === "name") && (f in r || f in mr))
364
383
  return !1;
365
- if (!(Ze && !qe[o] && M(ir, o))) {
366
- if (!(kt && M(ar, o))) {
367
- if (!O[o] || qe[o]) {
368
- if (
369
- // First condition does a very basic check if a) it's basically a valid custom element tagname AND
370
- // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
371
- // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
372
- !(Jt(n) && (y.tagNameCheck instanceof RegExp && M(y.tagNameCheck, n) || y.tagNameCheck instanceof Function && y.tagNameCheck(n)) && (y.attributeNameCheck instanceof RegExp && M(y.attributeNameCheck, o) || y.attributeNameCheck instanceof Function && y.attributeNameCheck(o)) || // Alternative, second condition checks if it's an `is`-attribute, AND
373
- // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
374
- o === "is" && y.allowCustomizedBuiltInElements && (y.tagNameCheck instanceof RegExp && M(y.tagNameCheck, f) || y.tagNameCheck instanceof Function && y.tagNameCheck(f)))
375
- ) return !1;
376
- } else if (!et[o]) {
377
- if (!M(Lt, de(f, Dt, ""))) {
378
- if (!((o === "src" || o === "xlink:href" || o === "href") && n !== "script" && Ar(f, "data:") === 0 && zt[n])) {
379
- if (!(xt && !M(or, de(f, Dt, "")))) {
380
- if (f)
381
- return !1;
384
+ if (!(Je && !Ke[o] && M(ar, o))) {
385
+ if (!(Ht && M(or, o))) {
386
+ if (!(ne.attributeCheck instanceof Function && ne.attributeCheck(o, n))) {
387
+ if (!C[o] || Ke[o]) {
388
+ if (
389
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
390
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
391
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
392
+ !(tn(n) && (A.tagNameCheck instanceof RegExp && M(A.tagNameCheck, n) || A.tagNameCheck instanceof Function && A.tagNameCheck(n)) && (A.attributeNameCheck instanceof RegExp && M(A.attributeNameCheck, o) || A.attributeNameCheck instanceof Function && A.attributeNameCheck(o, n)) || // Alternative, second condition checks if it's an `is`-attribute, AND
393
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
394
+ o === "is" && A.allowCustomizedBuiltInElements && (A.tagNameCheck instanceof RegExp && M(A.tagNameCheck, f) || A.tagNameCheck instanceof Function && A.tagNameCheck(f)))
395
+ ) return !1;
396
+ } else if (!nt[o]) {
397
+ if (!M(xt, me(f, kt, ""))) {
398
+ if (!((o === "src" || o === "xlink:href" || o === "href") && n !== "script" && Rr(f, "data:") === 0 && Wt[n])) {
399
+ if (!(Gt && !M(lr, me(f, kt, "")))) {
400
+ if (f)
401
+ return !1;
402
+ }
382
403
  }
383
404
  }
384
405
  }
@@ -386,146 +407,150 @@ function Dn() {
386
407
  }
387
408
  }
388
409
  return !0;
389
- }, Jt = function(n) {
390
- return n !== "annotation-xml" && an(n, lr);
391
- }, Qt = function(n) {
392
- V(L.beforeSanitizeAttributes, n, null);
410
+ }, tn = function(n) {
411
+ return n !== "annotation-xml" && ut(n, sr);
412
+ }, nn = function(n) {
413
+ q(L.beforeSanitizeAttributes, n, null);
393
414
  const {
394
415
  attributes: o
395
416
  } = n;
396
- if (!o || it(n))
417
+ if (!o || ot(n))
397
418
  return;
398
419
  const f = {
399
420
  attrName: "",
400
421
  attrValue: "",
401
422
  keepAttr: !0,
402
- allowedAttributes: O,
423
+ allowedAttributes: C,
403
424
  forceKeepAttr: void 0
404
425
  };
405
426
  let v = o.length;
406
427
  for (; v--; ) {
407
428
  const w = o[v], {
408
- name: R,
409
- namespaceURI: U,
410
- value: Y
411
- } = w, fe = b(R), at = Y;
412
- let I = R === "value" ? at : Rr(at);
413
- if (f.attrName = fe, f.attrValue = I, f.keepAttr = !0, f.forceKeepAttr = void 0, V(L.uponSanitizeAttribute, n, f), I = f.attrValue, Ht && (fe === "id" || fe === "name") && (oe(R, n), I = sr + I), Ae && M(/((--!?|])>)|<\/(style|title)/i, I)) {
414
- oe(R, n);
429
+ name: y,
430
+ namespaceURI: F,
431
+ value: Z
432
+ } = w, se = S(y), lt = Z;
433
+ let O = y === "value" ? lt : Sr(lt);
434
+ if (f.attrName = se, f.attrValue = O, f.keepAttr = !0, f.forceKeepAttr = void 0, q(L.uponSanitizeAttribute, n, f), O = f.attrValue, Bt && (se === "id" || se === "name") && ($(y, n), O = cr + O), Re && M(/((--!?|])>)|<\/(style|title|textarea)/i, O)) {
435
+ $(y, n);
436
+ continue;
437
+ }
438
+ if (se === "attributename" && ut(O, "href")) {
439
+ $(y, n);
415
440
  continue;
416
441
  }
417
442
  if (f.forceKeepAttr)
418
443
  continue;
419
444
  if (!f.keepAttr) {
420
- oe(R, n);
445
+ $(y, n);
421
446
  continue;
422
447
  }
423
- if (!Ut && M(/\/>/i, I)) {
424
- oe(R, n);
448
+ if (!zt && M(/\/>/i, O)) {
449
+ $(y, n);
425
450
  continue;
426
451
  }
427
- ee && we([Ve, Ye, $e], (tn) => {
428
- I = de(I, tn, " ");
452
+ re && we([Ye, qe, Ze], (an) => {
453
+ O = me(O, an, " ");
429
454
  });
430
- const en = b(n.nodeName);
431
- if (!Kt(en, fe, I)) {
432
- oe(R, n);
455
+ const rn = S(n.nodeName);
456
+ if (!en(rn, se, O)) {
457
+ $(y, n);
433
458
  continue;
434
459
  }
435
- if (D && typeof W == "object" && typeof W.getAttributeType == "function" && !U)
436
- switch (W.getAttributeType(en, fe)) {
460
+ if (I && typeof V == "object" && typeof V.getAttributeType == "function" && !F)
461
+ switch (V.getAttributeType(rn, se)) {
437
462
  case "TrustedHTML": {
438
- I = D.createHTML(I);
463
+ O = I.createHTML(O);
439
464
  break;
440
465
  }
441
466
  case "TrustedScriptURL": {
442
- I = D.createScriptURL(I);
467
+ O = I.createScriptURL(O);
443
468
  break;
444
469
  }
445
470
  }
446
- if (I !== at)
471
+ if (O !== lt)
447
472
  try {
448
- U ? n.setAttributeNS(U, R, I) : n.setAttribute(R, I), it(n) ? B(n) : rn(t.removed);
473
+ F ? n.setAttributeNS(F, y, O) : n.setAttribute(y, O), ot(n) ? W(n) : ln(t.removed);
449
474
  } catch {
450
- oe(R, n);
475
+ $(y, n);
451
476
  }
452
477
  }
453
- V(L.afterSanitizeAttributes, n, null);
454
- }, hr = function p(n) {
478
+ q(L.afterSanitizeAttributes, n, null);
479
+ }, gr = function p(n) {
455
480
  let o = null;
456
- const f = $t(n);
457
- for (V(L.beforeSanitizeShadowDOM, n, null); o = f.nextNode(); )
458
- V(L.uponSanitizeShadowNode, o, null), Zt(o), Qt(o), o.content instanceof c && p(o.content);
459
- V(L.afterSanitizeShadowDOM, n, null);
481
+ const f = Jt(n);
482
+ for (q(L.beforeSanitizeShadowDOM, n, null); o = f.nextNode(); )
483
+ q(L.uponSanitizeShadowNode, o, null), $t(o), nn(o), o.content instanceof s && p(o.content);
484
+ q(L.afterSanitizeShadowDOM, n, null);
460
485
  };
461
486
  return t.sanitize = function(p) {
462
487
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o = null, f = null, v = null, w = null;
463
- if (tt = !p, tt && (p = "<!-->"), typeof p != "string" && !qt(p))
488
+ if (rt = !p, rt && (p = "<!-->"), typeof p != "string" && !Qt(p))
464
489
  if (typeof p.toString == "function") {
465
490
  if (p = p.toString(), typeof p != "string")
466
- throw me("dirty is not a string, aborting");
491
+ throw he("dirty is not a string, aborting");
467
492
  } else
468
- throw me("toString is not a function");
493
+ throw he("toString is not a function");
469
494
  if (!t.isSupported)
470
495
  return p;
471
- if (Ke || rt(n), t.removed = [], typeof p == "string" && (ce = !1), ce) {
496
+ if (Qe || at(n), t.removed = [], typeof p == "string" && (fe = !1), fe) {
472
497
  if (p.nodeName) {
473
- const Y = b(p.nodeName);
474
- if (!S[Y] || se[Y])
475
- throw me("root node is forbidden and cannot be sanitized in-place");
498
+ const Z = S(p.nodeName);
499
+ if (!b[Z] || ue[Z])
500
+ throw he("root node is forbidden and cannot be sanitized in-place");
476
501
  }
477
502
  } else if (p instanceof u)
478
- o = Yt("<!---->"), f = o.ownerDocument.importNode(p, !0), f.nodeType === ge.element && f.nodeName === "BODY" || f.nodeName === "HTML" ? o = f : o.appendChild(f);
503
+ o = Kt("<!---->"), f = o.ownerDocument.importNode(p, !0), f.nodeType === Ee.element && f.nodeName === "BODY" || f.nodeName === "HTML" ? o = f : o.appendChild(f);
479
504
  else {
480
- if (!te && !ee && !K && // eslint-disable-next-line unicorn/prefer-includes
505
+ if (!ie && !re && !Q && // eslint-disable-next-line unicorn/prefer-includes
481
506
  p.indexOf("<") === -1)
482
- return D && Se ? D.createHTML(p) : p;
483
- if (o = Yt(p), !o)
484
- return te ? null : Se ? le : "";
507
+ return I && be ? I.createHTML(p) : p;
508
+ if (o = Kt(p), !o)
509
+ return ie ? null : be ? ce : "";
485
510
  }
486
- o && Je && B(o.firstChild);
487
- const R = $t(ce ? p : o);
488
- for (; v = R.nextNode(); )
489
- Zt(v), Qt(v), v.content instanceof c && hr(v.content);
490
- if (ce)
511
+ o && $e && W(o.firstChild);
512
+ const y = Jt(fe ? p : o);
513
+ for (; v = y.nextNode(); )
514
+ $t(v), nn(v), v.content instanceof s && gr(v.content);
515
+ if (fe)
491
516
  return p;
492
- if (te) {
493
- if (Re)
494
- for (w = tr.call(o.ownerDocument); o.firstChild; )
517
+ if (ie) {
518
+ if (Se)
519
+ for (w = nr.call(o.ownerDocument); o.firstChild; )
495
520
  w.appendChild(o.firstChild);
496
521
  else
497
522
  w = o;
498
- return (O.shadowroot || O.shadowrootmode) && (w = rr.call(i, w, !0)), w;
523
+ return (C.shadowroot || C.shadowrootmode) && (w = ir.call(i, w, !0)), w;
499
524
  }
500
- let U = K ? o.outerHTML : o.innerHTML;
501
- return K && S["!doctype"] && o.ownerDocument && o.ownerDocument.doctype && o.ownerDocument.doctype.name && M(In, o.ownerDocument.doctype.name) && (U = "<!DOCTYPE " + o.ownerDocument.doctype.name + `>
502
- ` + U), ee && we([Ve, Ye, $e], (Y) => {
503
- U = de(U, Y, " ");
504
- }), D && Se ? D.createHTML(U) : U;
525
+ let F = Q ? o.outerHTML : o.innerHTML;
526
+ return Q && b["!doctype"] && o.ownerDocument && o.ownerDocument.doctype && o.ownerDocument.doctype.name && M(In, o.ownerDocument.doctype.name) && (F = "<!DOCTYPE " + o.ownerDocument.doctype.name + `>
527
+ ` + F), re && we([Ye, qe, Ze], (Z) => {
528
+ F = me(F, Z, " ");
529
+ }), I && be ? I.createHTML(F) : F;
505
530
  }, t.setConfig = function() {
506
531
  let p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
507
- rt(p), Ke = !0;
532
+ at(p), Qe = !0;
508
533
  }, t.clearConfig = function() {
509
- ae = null, Ke = !1;
534
+ le = null, Qe = !1;
510
535
  }, t.isValidAttribute = function(p, n, o) {
511
- ae || rt({});
512
- const f = b(p), v = b(n);
513
- return Kt(f, v, o);
536
+ le || at({});
537
+ const f = S(p), v = S(n);
538
+ return en(f, v, o);
514
539
  }, t.addHook = function(p, n) {
515
- typeof n == "function" && pe(L[p], n);
540
+ typeof n == "function" && de(L[p], n);
516
541
  }, t.removeHook = function(p, n) {
517
542
  if (n !== void 0) {
518
- const o = vr(L[p], n);
543
+ const o = Ar(L[p], n);
519
544
  return o === -1 ? void 0 : yr(L[p], o, 1)[0];
520
545
  }
521
- return rn(L[p]);
546
+ return ln(L[p]);
522
547
  }, t.removeHooks = function(p) {
523
548
  L[p] = [];
524
549
  }, t.removeAllHooks = function() {
525
- L = fn();
550
+ L = dn();
526
551
  }, t;
527
552
  }
528
- var Fr = Dn(), Ln = {}, Tt = {}, vt = {}, Q = {}, yt = {}, At = {};
553
+ var Hr = Ln(), Mn = {}, Rt = {}, St = {}, te = {}, bt = {}, Ct = {};
529
554
  (function(e) {
530
555
  Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
531
556
  var t;
@@ -536,13 +561,13 @@ var Fr = Dn(), Ln = {}, Tt = {}, vt = {}, Q = {}, yt = {}, At = {};
536
561
  return i.type === t.Tag || i.type === t.Script || i.type === t.Style;
537
562
  }
538
563
  e.isTag = r, e.Root = t.Root, e.Text = t.Text, e.Directive = t.Directive, e.Comment = t.Comment, e.Script = t.Script, e.Style = t.Style, e.Tag = t.Tag, e.CDATA = t.CDATA, e.Doctype = t.Doctype;
539
- })(At);
540
- var T = {}, q = A && A.__extends || /* @__PURE__ */ function() {
564
+ })(Ct);
565
+ var _ = {}, K = R && R.__extends || /* @__PURE__ */ function() {
541
566
  var e = function(t, r) {
542
567
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, a) {
543
568
  i.__proto__ = a;
544
569
  } || function(i, a) {
545
- for (var c in a) Object.prototype.hasOwnProperty.call(a, c) && (i[c] = a[c]);
570
+ for (var s in a) Object.prototype.hasOwnProperty.call(a, s) && (i[s] = a[s]);
546
571
  }, e(t, r);
547
572
  };
548
573
  return function(t, r) {
@@ -554,7 +579,7 @@ var T = {}, q = A && A.__extends || /* @__PURE__ */ function() {
554
579
  }
555
580
  t.prototype = r === null ? Object.create(r) : (i.prototype = r.prototype, new i());
556
581
  };
557
- }(), _e = A && A.__assign || function() {
582
+ }(), _e = R && R.__assign || function() {
558
583
  return _e = Object.assign || function(e) {
559
584
  for (var t, r = 1, i = arguments.length; r < i; r++) {
560
585
  t = arguments[r];
@@ -563,9 +588,9 @@ var T = {}, q = A && A.__extends || /* @__PURE__ */ function() {
563
588
  return e;
564
589
  }, _e.apply(this, arguments);
565
590
  };
566
- Object.defineProperty(T, "__esModule", { value: !0 });
567
- T.cloneNode = T.hasChildren = T.isDocument = T.isDirective = T.isComment = T.isText = T.isCDATA = T.isTag = T.Element = T.Document = T.CDATA = T.NodeWithChildren = T.ProcessingInstruction = T.Comment = T.Text = T.DataNode = T.Node = void 0;
568
- var F = At, Rt = (
591
+ Object.defineProperty(_, "__esModule", { value: !0 });
592
+ _.cloneNode = _.hasChildren = _.isDocument = _.isDirective = _.isComment = _.isText = _.isCDATA = _.isTag = _.Element = _.Document = _.CDATA = _.NodeWithChildren = _.ProcessingInstruction = _.Comment = _.Text = _.DataNode = _.Node = void 0;
593
+ var U = Ct, Ot = (
569
594
  /** @class */
570
595
  function() {
571
596
  function e() {
@@ -612,15 +637,15 @@ var F = At, Rt = (
612
637
  enumerable: !1,
613
638
  configurable: !0
614
639
  }), e.prototype.cloneNode = function(t) {
615
- return t === void 0 && (t = !1), St(this, t);
640
+ return t === void 0 && (t = !1), Dt(this, t);
616
641
  }, e;
617
642
  }()
618
643
  );
619
- T.Node = Rt;
644
+ _.Node = Ot;
620
645
  var Ue = (
621
646
  /** @class */
622
647
  function(e) {
623
- q(t, e);
648
+ K(t, e);
624
649
  function t(r) {
625
650
  var i = e.call(this) || this;
626
651
  return i.data = r, i;
@@ -639,16 +664,16 @@ var Ue = (
639
664
  enumerable: !1,
640
665
  configurable: !0
641
666
  }), t;
642
- }(Rt)
667
+ }(Ot)
643
668
  );
644
- T.DataNode = Ue;
645
- var Mn = (
669
+ _.DataNode = Ue;
670
+ var Pn = (
646
671
  /** @class */
647
672
  function(e) {
648
- q(t, e);
673
+ K(t, e);
649
674
  function t() {
650
675
  var r = e !== null && e.apply(this, arguments) || this;
651
- return r.type = F.ElementType.Text, r;
676
+ return r.type = U.ElementType.Text, r;
652
677
  }
653
678
  return Object.defineProperty(t.prototype, "nodeType", {
654
679
  get: function() {
@@ -659,14 +684,14 @@ var Mn = (
659
684
  }), t;
660
685
  }(Ue)
661
686
  );
662
- T.Text = Mn;
663
- var Pn = (
687
+ _.Text = Pn;
688
+ var kn = (
664
689
  /** @class */
665
690
  function(e) {
666
- q(t, e);
691
+ K(t, e);
667
692
  function t() {
668
693
  var r = e !== null && e.apply(this, arguments) || this;
669
- return r.type = F.ElementType.Comment, r;
694
+ return r.type = U.ElementType.Comment, r;
670
695
  }
671
696
  return Object.defineProperty(t.prototype, "nodeType", {
672
697
  get: function() {
@@ -677,14 +702,14 @@ var Pn = (
677
702
  }), t;
678
703
  }(Ue)
679
704
  );
680
- T.Comment = Pn;
681
- var kn = (
705
+ _.Comment = kn;
706
+ var xn = (
682
707
  /** @class */
683
708
  function(e) {
684
- q(t, e);
709
+ K(t, e);
685
710
  function t(r, i) {
686
711
  var a = e.call(this, i) || this;
687
- return a.name = r, a.type = F.ElementType.Directive, a;
712
+ return a.name = r, a.type = U.ElementType.Directive, a;
688
713
  }
689
714
  return Object.defineProperty(t.prototype, "nodeType", {
690
715
  get: function() {
@@ -695,11 +720,11 @@ var kn = (
695
720
  }), t;
696
721
  }(Ue)
697
722
  );
698
- T.ProcessingInstruction = kn;
699
- var Fe = (
723
+ _.ProcessingInstruction = xn;
724
+ var He = (
700
725
  /** @class */
701
726
  function(e) {
702
- q(t, e);
727
+ K(t, e);
703
728
  function t(r) {
704
729
  var i = e.call(this) || this;
705
730
  return i.children = r, i;
@@ -734,16 +759,16 @@ var Fe = (
734
759
  enumerable: !1,
735
760
  configurable: !0
736
761
  }), t;
737
- }(Rt)
762
+ }(Ot)
738
763
  );
739
- T.NodeWithChildren = Fe;
740
- var xn = (
764
+ _.NodeWithChildren = He;
765
+ var Fn = (
741
766
  /** @class */
742
767
  function(e) {
743
- q(t, e);
768
+ K(t, e);
744
769
  function t() {
745
770
  var r = e !== null && e.apply(this, arguments) || this;
746
- return r.type = F.ElementType.CDATA, r;
771
+ return r.type = U.ElementType.CDATA, r;
747
772
  }
748
773
  return Object.defineProperty(t.prototype, "nodeType", {
749
774
  get: function() {
@@ -752,16 +777,16 @@ var xn = (
752
777
  enumerable: !1,
753
778
  configurable: !0
754
779
  }), t;
755
- }(Fe)
780
+ }(He)
756
781
  );
757
- T.CDATA = xn;
782
+ _.CDATA = Fn;
758
783
  var Un = (
759
784
  /** @class */
760
785
  function(e) {
761
- q(t, e);
786
+ K(t, e);
762
787
  function t() {
763
788
  var r = e !== null && e.apply(this, arguments) || this;
764
- return r.type = F.ElementType.Root, r;
789
+ return r.type = U.ElementType.Root, r;
765
790
  }
766
791
  return Object.defineProperty(t.prototype, "nodeType", {
767
792
  get: function() {
@@ -770,17 +795,17 @@ var Un = (
770
795
  enumerable: !1,
771
796
  configurable: !0
772
797
  }), t;
773
- }(Fe)
798
+ }(He)
774
799
  );
775
- T.Document = Un;
776
- var Fn = (
800
+ _.Document = Un;
801
+ var Hn = (
777
802
  /** @class */
778
803
  function(e) {
779
- q(t, e);
780
- function t(r, i, a, c) {
781
- a === void 0 && (a = []), c === void 0 && (c = r === "script" ? F.ElementType.Script : r === "style" ? F.ElementType.Style : F.ElementType.Tag);
804
+ K(t, e);
805
+ function t(r, i, a, s) {
806
+ a === void 0 && (a = []), s === void 0 && (s = r === "script" ? U.ElementType.Script : r === "style" ? U.ElementType.Style : U.ElementType.Tag);
782
807
  var m = e.call(this, a) || this;
783
- return m.name = r, m.attribs = i, m.type = c, m;
808
+ return m.name = r, m.attribs = i, m.type = s, m;
784
809
  }
785
810
  return Object.defineProperty(t.prototype, "nodeType", {
786
811
  get: function() {
@@ -806,110 +831,110 @@ var Fn = (
806
831
  get: function() {
807
832
  var r = this;
808
833
  return Object.keys(this.attribs).map(function(i) {
809
- var a, c;
834
+ var a, s;
810
835
  return {
811
836
  name: i,
812
837
  value: r.attribs[i],
813
838
  namespace: (a = r["x-attribsNamespace"]) === null || a === void 0 ? void 0 : a[i],
814
- prefix: (c = r["x-attribsPrefix"]) === null || c === void 0 ? void 0 : c[i]
839
+ prefix: (s = r["x-attribsPrefix"]) === null || s === void 0 ? void 0 : s[i]
815
840
  };
816
841
  });
817
842
  },
818
843
  enumerable: !1,
819
844
  configurable: !0
820
845
  }), t;
821
- }(Fe)
846
+ }(He)
822
847
  );
823
- T.Element = Fn;
824
- function Hn(e) {
825
- return (0, F.isTag)(e);
826
- }
827
- T.isTag = Hn;
848
+ _.Element = Hn;
828
849
  function Gn(e) {
829
- return e.type === F.ElementType.CDATA;
850
+ return (0, U.isTag)(e);
830
851
  }
831
- T.isCDATA = Gn;
852
+ _.isTag = Gn;
832
853
  function zn(e) {
833
- return e.type === F.ElementType.Text;
854
+ return e.type === U.ElementType.CDATA;
834
855
  }
835
- T.isText = zn;
856
+ _.isCDATA = zn;
836
857
  function jn(e) {
837
- return e.type === F.ElementType.Comment;
858
+ return e.type === U.ElementType.Text;
838
859
  }
839
- T.isComment = jn;
860
+ _.isText = jn;
840
861
  function Bn(e) {
841
- return e.type === F.ElementType.Directive;
862
+ return e.type === U.ElementType.Comment;
842
863
  }
843
- T.isDirective = Bn;
864
+ _.isComment = Bn;
844
865
  function Wn(e) {
845
- return e.type === F.ElementType.Root;
866
+ return e.type === U.ElementType.Directive;
867
+ }
868
+ _.isDirective = Wn;
869
+ function Xn(e) {
870
+ return e.type === U.ElementType.Root;
846
871
  }
847
- T.isDocument = Wn;
848
- function Hr(e) {
872
+ _.isDocument = Xn;
873
+ function Gr(e) {
849
874
  return Object.prototype.hasOwnProperty.call(e, "children");
850
875
  }
851
- T.hasChildren = Hr;
852
- function St(e, t) {
876
+ _.hasChildren = Gr;
877
+ function Dt(e, t) {
853
878
  t === void 0 && (t = !1);
854
879
  var r;
855
- if (zn(e))
856
- r = new Mn(e.data);
857
- else if (jn(e))
880
+ if (jn(e))
858
881
  r = new Pn(e.data);
859
- else if (Hn(e)) {
860
- var i = t ? pt(e.children) : [], a = new Fn(e.name, _e({}, e.attribs), i);
882
+ else if (Bn(e))
883
+ r = new kn(e.data);
884
+ else if (Gn(e)) {
885
+ var i = t ? ht(e.children) : [], a = new Hn(e.name, _e({}, e.attribs), i);
861
886
  i.forEach(function(l) {
862
887
  return l.parent = a;
863
888
  }), e.namespace != null && (a.namespace = e.namespace), e["x-attribsNamespace"] && (a["x-attribsNamespace"] = _e({}, e["x-attribsNamespace"])), e["x-attribsPrefix"] && (a["x-attribsPrefix"] = _e({}, e["x-attribsPrefix"])), r = a;
864
- } else if (Gn(e)) {
865
- var i = t ? pt(e.children) : [], c = new xn(i);
866
- i.forEach(function(s) {
867
- return s.parent = c;
868
- }), r = c;
869
- } else if (Wn(e)) {
870
- var i = t ? pt(e.children) : [], m = new Un(i);
871
- i.forEach(function(s) {
872
- return s.parent = m;
889
+ } else if (zn(e)) {
890
+ var i = t ? ht(e.children) : [], s = new Fn(i);
891
+ i.forEach(function(c) {
892
+ return c.parent = s;
893
+ }), r = s;
894
+ } else if (Xn(e)) {
895
+ var i = t ? ht(e.children) : [], m = new Un(i);
896
+ i.forEach(function(c) {
897
+ return c.parent = m;
873
898
  }), e["x-mode"] && (m["x-mode"] = e["x-mode"]), r = m;
874
- } else if (Bn(e)) {
875
- var u = new kn(e.name, e.data);
899
+ } else if (Wn(e)) {
900
+ var u = new xn(e.name, e.data);
876
901
  e["x-name"] != null && (u["x-name"] = e["x-name"], u["x-publicId"] = e["x-publicId"], u["x-systemId"] = e["x-systemId"]), r = u;
877
902
  } else
878
903
  throw new Error("Not implemented yet: ".concat(e.type));
879
904
  return r.startIndex = e.startIndex, r.endIndex = e.endIndex, e.sourceCodeLocation != null && (r.sourceCodeLocation = e.sourceCodeLocation), r;
880
905
  }
881
- T.cloneNode = St;
882
- function pt(e) {
906
+ _.cloneNode = Dt;
907
+ function ht(e) {
883
908
  for (var t = e.map(function(i) {
884
- return St(i, !0);
909
+ return Dt(i, !0);
885
910
  }), r = 1; r < t.length; r++)
886
911
  t[r].prev = t[r - 1], t[r - 1].next = t[r];
887
912
  return t;
888
913
  }
889
914
  (function(e) {
890
- var t = A && A.__createBinding || (Object.create ? function(u, l, s, d) {
891
- d === void 0 && (d = s);
892
- var g = Object.getOwnPropertyDescriptor(l, s);
915
+ var t = R && R.__createBinding || (Object.create ? function(u, l, c, d) {
916
+ d === void 0 && (d = c);
917
+ var g = Object.getOwnPropertyDescriptor(l, c);
893
918
  (!g || ("get" in g ? !l.__esModule : g.writable || g.configurable)) && (g = { enumerable: !0, get: function() {
894
- return l[s];
919
+ return l[c];
895
920
  } }), Object.defineProperty(u, d, g);
896
- } : function(u, l, s, d) {
897
- d === void 0 && (d = s), u[d] = l[s];
898
- }), r = A && A.__exportStar || function(u, l) {
899
- for (var s in u) s !== "default" && !Object.prototype.hasOwnProperty.call(l, s) && t(l, u, s);
921
+ } : function(u, l, c, d) {
922
+ d === void 0 && (d = c), u[d] = l[c];
923
+ }), r = R && R.__exportStar || function(u, l) {
924
+ for (var c in u) c !== "default" && !Object.prototype.hasOwnProperty.call(l, c) && t(l, u, c);
900
925
  };
901
926
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DomHandler = void 0;
902
- var i = At, a = T;
903
- r(T, e);
904
- var c = {
927
+ var i = Ct, a = _;
928
+ r(_, e);
929
+ var s = {
905
930
  withStartIndices: !1,
906
931
  withEndIndices: !1,
907
932
  xmlMode: !1
908
933
  }, m = (
909
934
  /** @class */
910
935
  function() {
911
- function u(l, s, d) {
912
- this.dom = [], this.root = new a.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof s == "function" && (d = s, s = c), typeof l == "object" && (s = l, l = void 0), this.callback = l ?? null, this.options = s ?? c, this.elementCB = d ?? null;
936
+ function u(l, c, d) {
937
+ this.dom = [], this.root = new a.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof c == "function" && (d = c, c = s), typeof l == "object" && (c = l, l = void 0), this.callback = l ?? null, this.options = c ?? s, this.elementCB = d ?? null;
913
938
  }
914
939
  return u.prototype.onparserinit = function(l) {
915
940
  this.parser = l;
@@ -923,13 +948,13 @@ function pt(e) {
923
948
  this.lastNode = null;
924
949
  var l = this.tagStack.pop();
925
950
  this.options.withEndIndices && (l.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(l);
926
- }, u.prototype.onopentag = function(l, s) {
927
- var d = this.options.xmlMode ? i.ElementType.Tag : void 0, g = new a.Element(l, s, void 0, d);
951
+ }, u.prototype.onopentag = function(l, c) {
952
+ var d = this.options.xmlMode ? i.ElementType.Tag : void 0, g = new a.Element(l, c, void 0, d);
928
953
  this.addNode(g), this.tagStack.push(g);
929
954
  }, u.prototype.ontext = function(l) {
930
- var s = this.lastNode;
931
- if (s && s.type === i.ElementType.Text)
932
- s.data += l, this.options.withEndIndices && (s.endIndex = this.parser.endIndex);
955
+ var c = this.lastNode;
956
+ if (c && c.type === i.ElementType.Text)
957
+ c.data += l, this.options.withEndIndices && (c.endIndex = this.parser.endIndex);
933
958
  else {
934
959
  var d = new a.Text(l);
935
960
  this.addNode(d), this.lastNode = d;
@@ -939,17 +964,17 @@ function pt(e) {
939
964
  this.lastNode.data += l;
940
965
  return;
941
966
  }
942
- var s = new a.Comment(l);
943
- this.addNode(s), this.lastNode = s;
967
+ var c = new a.Comment(l);
968
+ this.addNode(c), this.lastNode = c;
944
969
  }, u.prototype.oncommentend = function() {
945
970
  this.lastNode = null;
946
971
  }, u.prototype.oncdatastart = function() {
947
- var l = new a.Text(""), s = new a.CDATA([l]);
948
- this.addNode(s), l.parent = s, this.lastNode = l;
972
+ var l = new a.Text(""), c = new a.CDATA([l]);
973
+ this.addNode(c), l.parent = c, this.lastNode = l;
949
974
  }, u.prototype.oncdataend = function() {
950
975
  this.lastNode = null;
951
- }, u.prototype.onprocessinginstruction = function(l, s) {
952
- var d = new a.ProcessingInstruction(l, s);
976
+ }, u.prototype.onprocessinginstruction = function(l, c) {
977
+ var d = new a.ProcessingInstruction(l, c);
953
978
  this.addNode(d);
954
979
  }, u.prototype.handleCallback = function(l) {
955
980
  if (typeof this.callback == "function")
@@ -957,14 +982,14 @@ function pt(e) {
957
982
  else if (l)
958
983
  throw l;
959
984
  }, u.prototype.addNode = function(l) {
960
- var s = this.tagStack[this.tagStack.length - 1], d = s.children[s.children.length - 1];
961
- this.options.withStartIndices && (l.startIndex = this.parser.startIndex), this.options.withEndIndices && (l.endIndex = this.parser.endIndex), s.children.push(l), d && (l.prev = d, d.next = l), l.parent = s, this.lastNode = null;
985
+ var c = this.tagStack[this.tagStack.length - 1], d = c.children[c.children.length - 1];
986
+ this.options.withStartIndices && (l.startIndex = this.parser.startIndex), this.options.withEndIndices && (l.endIndex = this.parser.endIndex), c.children.push(l), d && (l.prev = d, d.next = l), l.parent = c, this.lastNode = null;
962
987
  }, u;
963
988
  }()
964
989
  );
965
990
  e.DomHandler = m, e.default = m;
966
- })(yt);
967
- var Xn = {};
991
+ })(bt);
992
+ var Vn = {};
968
993
  (function(e) {
969
994
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = e.CARRIAGE_RETURN_PLACEHOLDER = e.CARRIAGE_RETURN_REGEX = e.CARRIAGE_RETURN = e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES = void 0, e.CASE_SENSITIVE_TAG_NAMES = [
970
995
  "animateMotion",
@@ -1001,42 +1026,42 @@ var Xn = {};
1001
1026
  ], e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t, r) {
1002
1027
  return t[r.toLowerCase()] = r, t;
1003
1028
  }, {}), e.CARRIAGE_RETURN = "\r", e.CARRIAGE_RETURN_REGEX = new RegExp(e.CARRIAGE_RETURN, "g"), e.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(), "__"), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER, "g");
1004
- })(Xn);
1005
- Object.defineProperty(Q, "__esModule", { value: !0 });
1006
- Q.formatAttributes = Vn;
1007
- Q.escapeSpecialCharacters = jr;
1008
- Q.revertEscapedCharacters = Yn;
1009
- Q.formatDOM = $n;
1010
- var De = yt, ve = Xn;
1011
- function Gr(e) {
1012
- return ve.CASE_SENSITIVE_TAG_NAMES_MAP[e];
1029
+ })(Vn);
1030
+ Object.defineProperty(te, "__esModule", { value: !0 });
1031
+ te.formatAttributes = Yn;
1032
+ te.escapeSpecialCharacters = Br;
1033
+ te.revertEscapedCharacters = qn;
1034
+ te.formatDOM = Zn;
1035
+ var Le = bt, Ae = Vn;
1036
+ function zr(e) {
1037
+ return Ae.CASE_SENSITIVE_TAG_NAMES_MAP[e];
1013
1038
  }
1014
- function Vn(e) {
1039
+ function Yn(e) {
1015
1040
  for (var t = {}, r = 0, i = e.length; r < i; r++) {
1016
1041
  var a = e[r];
1017
1042
  t[a.name] = a.value;
1018
1043
  }
1019
1044
  return t;
1020
1045
  }
1021
- function zr(e) {
1046
+ function jr(e) {
1022
1047
  e = e.toLowerCase();
1023
- var t = Gr(e);
1048
+ var t = zr(e);
1024
1049
  return t || e;
1025
1050
  }
1026
- function jr(e) {
1027
- return e.replace(ve.CARRIAGE_RETURN_REGEX, ve.CARRIAGE_RETURN_PLACEHOLDER);
1051
+ function Br(e) {
1052
+ return e.replace(Ae.CARRIAGE_RETURN_REGEX, Ae.CARRIAGE_RETURN_PLACEHOLDER);
1028
1053
  }
1029
- function Yn(e) {
1030
- return e.replace(ve.CARRIAGE_RETURN_PLACEHOLDER_REGEX, ve.CARRIAGE_RETURN);
1054
+ function qn(e) {
1055
+ return e.replace(Ae.CARRIAGE_RETURN_PLACEHOLDER_REGEX, Ae.CARRIAGE_RETURN);
1031
1056
  }
1032
- function $n(e, t, r) {
1057
+ function Zn(e, t, r) {
1033
1058
  t === void 0 && (t = null);
1034
- for (var i = [], a, c = 0, m = e.length; c < m; c++) {
1035
- var u = e[c];
1059
+ for (var i = [], a, s = 0, m = e.length; s < m; s++) {
1060
+ var u = e[s];
1036
1061
  switch (u.nodeType) {
1037
1062
  case 1: {
1038
- var l = zr(u.nodeName);
1039
- a = new De.Element(l, Vn(u.attributes)), a.children = $n(
1063
+ var l = jr(u.nodeName);
1064
+ a = new Le.Element(l, Yn(u.attributes)), a.children = Zn(
1040
1065
  // template children are on content
1041
1066
  l === "template" ? u.content.childNodes : u.childNodes,
1042
1067
  a
@@ -1044,95 +1069,95 @@ function $n(e, t, r) {
1044
1069
  break;
1045
1070
  }
1046
1071
  case 3:
1047
- a = new De.Text(Yn(u.nodeValue));
1072
+ a = new Le.Text(qn(u.nodeValue));
1048
1073
  break;
1049
1074
  case 8:
1050
- a = new De.Comment(u.nodeValue);
1075
+ a = new Le.Comment(u.nodeValue);
1051
1076
  break;
1052
1077
  default:
1053
1078
  continue;
1054
1079
  }
1055
- var s = i[c - 1] || null;
1056
- s && (s.next = a), a.parent = t, a.prev = s, a.next = null, i.push(a);
1080
+ var c = i[s - 1] || null;
1081
+ c && (c.next = a), a.parent = t, a.prev = c, a.next = null, i.push(a);
1057
1082
  }
1058
- return r && (a = new De.ProcessingInstruction(r.substring(0, r.indexOf(" ")).toLowerCase(), r), a.next = i[0] || null, a.parent = t, i.unshift(a), i[1] && (i[1].prev = i[0])), i;
1083
+ return r && (a = new Le.ProcessingInstruction(r.substring(0, r.indexOf(" ")).toLowerCase(), r), a.next = i[0] || null, a.parent = t, i.unshift(a), i[1] && (i[1].prev = i[0])), i;
1059
1084
  }
1060
- Object.defineProperty(vt, "__esModule", { value: !0 });
1061
- vt.default = Yr;
1062
- var Br = Q, pn = "html", dn = "head", Le = "body", Wr = /<([a-zA-Z]+[0-9]?)/, mn = /<head[^]*>/i, hn = /<body[^]*>/i, xe = function(e, t) {
1085
+ Object.defineProperty(St, "__esModule", { value: !0 });
1086
+ St.default = qr;
1087
+ var Wr = te, mn = "html", hn = "head", Me = "body", Xr = /<([a-zA-Z]+[0-9]?)/, gn = /<head[^]*>/i, En = /<body[^]*>/i, Fe = function(e, t) {
1063
1088
  throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
1064
- }, gt = function(e, t) {
1089
+ }, vt = function(e, t) {
1065
1090
  throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
1066
- }, gn = typeof window == "object" && window.DOMParser;
1067
- if (typeof gn == "function") {
1068
- var Xr = new gn(), Vr = "text/html";
1069
- gt = function(e, t) {
1070
- return t && (e = "<".concat(t, ">").concat(e, "</").concat(t, ">")), Xr.parseFromString(e, Vr);
1071
- }, xe = gt;
1091
+ }, Tn = typeof window == "object" && window.DOMParser;
1092
+ if (typeof Tn == "function") {
1093
+ var Vr = new Tn(), Yr = "text/html";
1094
+ vt = function(e, t) {
1095
+ return t && (e = "<".concat(t, ">").concat(e, "</").concat(t, ">")), Vr.parseFromString(e, Yr);
1096
+ }, Fe = vt;
1072
1097
  }
1073
1098
  if (typeof document == "object" && document.implementation) {
1074
- var Me = document.implementation.createHTMLDocument();
1075
- xe = function(e, t) {
1099
+ var Pe = document.implementation.createHTMLDocument();
1100
+ Fe = function(e, t) {
1076
1101
  if (t) {
1077
- var r = Me.documentElement.querySelector(t);
1078
- return r && (r.innerHTML = e), Me;
1102
+ var r = Pe.documentElement.querySelector(t);
1103
+ return r && (r.innerHTML = e), Pe;
1079
1104
  }
1080
- return Me.documentElement.innerHTML = e, Me;
1105
+ return Pe.documentElement.innerHTML = e, Pe;
1081
1106
  };
1082
1107
  }
1083
- var Pe = typeof document == "object" && document.createElement("template"), Et;
1084
- Pe && Pe.content && (Et = function(e) {
1085
- return Pe.innerHTML = e, Pe.content.childNodes;
1108
+ var ke = typeof document == "object" && document.createElement("template"), At;
1109
+ ke && ke.content && (At = function(e) {
1110
+ return ke.innerHTML = e, ke.content.childNodes;
1086
1111
  });
1087
- function Yr(e) {
1112
+ function qr(e) {
1088
1113
  var t, r;
1089
- e = (0, Br.escapeSpecialCharacters)(e);
1090
- var i = e.match(Wr), a = i && i[1] ? i[1].toLowerCase() : "";
1114
+ e = (0, Wr.escapeSpecialCharacters)(e);
1115
+ var i = e.match(Xr), a = i && i[1] ? i[1].toLowerCase() : "";
1091
1116
  switch (a) {
1092
- case pn: {
1093
- var c = gt(e);
1094
- if (!mn.test(e)) {
1095
- var m = c.querySelector(dn);
1117
+ case mn: {
1118
+ var s = vt(e);
1119
+ if (!gn.test(e)) {
1120
+ var m = s.querySelector(hn);
1096
1121
  (t = m == null ? void 0 : m.parentNode) === null || t === void 0 || t.removeChild(m);
1097
1122
  }
1098
- if (!hn.test(e)) {
1099
- var m = c.querySelector(Le);
1123
+ if (!En.test(e)) {
1124
+ var m = s.querySelector(Me);
1100
1125
  (r = m == null ? void 0 : m.parentNode) === null || r === void 0 || r.removeChild(m);
1101
1126
  }
1102
- return c.querySelectorAll(pn);
1127
+ return s.querySelectorAll(mn);
1103
1128
  }
1104
- case dn:
1105
- case Le: {
1106
- var u = xe(e).querySelectorAll(a);
1107
- return hn.test(e) && mn.test(e) ? u[0].parentNode.childNodes : u;
1129
+ case hn:
1130
+ case Me: {
1131
+ var u = Fe(e).querySelectorAll(a);
1132
+ return En.test(e) && gn.test(e) ? u[0].parentNode.childNodes : u;
1108
1133
  }
1109
1134
  default: {
1110
- if (Et)
1111
- return Et(e);
1112
- var m = xe(e, Le).querySelector(Le);
1135
+ if (At)
1136
+ return At(e);
1137
+ var m = Fe(e, Me).querySelector(Me);
1113
1138
  return m.childNodes;
1114
1139
  }
1115
1140
  }
1116
1141
  }
1117
- var $r = A && A.__importDefault || function(e) {
1142
+ var Zr = R && R.__importDefault || function(e) {
1118
1143
  return e && e.__esModule ? e : { default: e };
1119
1144
  };
1120
- Object.defineProperty(Tt, "__esModule", { value: !0 });
1121
- Tt.default = Jr;
1122
- var qr = $r(vt), Zr = Q, Kr = /<(![a-zA-Z\s]+)>/;
1123
- function Jr(e) {
1145
+ Object.defineProperty(Rt, "__esModule", { value: !0 });
1146
+ Rt.default = $r;
1147
+ var Kr = Zr(St), Jr = te, Qr = /<(![a-zA-Z\s]+)>/;
1148
+ function $r(e) {
1124
1149
  if (typeof e != "string")
1125
1150
  throw new TypeError("First argument must be a string");
1126
1151
  if (!e)
1127
1152
  return [];
1128
- var t = e.match(Kr), r = t ? t[1] : void 0;
1129
- return (0, Zr.formatDOM)((0, qr.default)(e), null, r);
1153
+ var t = e.match(Qr), r = t ? t[1] : void 0;
1154
+ return (0, Jr.formatDOM)((0, Kr.default)(e), null, r);
1130
1155
  }
1131
- var He = {}, z = {}, Ge = {}, Qr = 0;
1132
- Ge.SAME = Qr;
1133
- var ei = 1;
1134
- Ge.CAMELCASE = ei;
1135
- Ge.possibleStandardNames = {
1156
+ var Ge = {}, z = {}, ze = {}, ei = 0;
1157
+ ze.SAME = ei;
1158
+ var ti = 1;
1159
+ ze.CAMELCASE = ti;
1160
+ ze.possibleStandardNames = {
1136
1161
  accept: 0,
1137
1162
  acceptCharset: 1,
1138
1163
  "accept-charset": "acceptCharset",
@@ -1617,14 +1642,14 @@ Ge.possibleStandardNames = {
1617
1642
  z: 0,
1618
1643
  zoomAndPan: 1
1619
1644
  };
1620
- const qn = 0, Z = 1, ze = 2, je = 3, bt = 4, Zn = 5, Kn = 6;
1621
- function ti(e) {
1622
- return C.hasOwnProperty(e) ? C[e] : null;
1645
+ const Kn = 0, J = 1, je = 2, Be = 3, Nt = 4, Jn = 5, Qn = 6;
1646
+ function ni(e) {
1647
+ return D.hasOwnProperty(e) ? D[e] : null;
1623
1648
  }
1624
- function x(e, t, r, i, a, c, m) {
1625
- this.acceptsBooleans = t === ze || t === je || t === bt, this.attributeName = i, this.attributeNamespace = a, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = c, this.removeEmptyString = m;
1649
+ function x(e, t, r, i, a, s, m) {
1650
+ this.acceptsBooleans = t === je || t === Be || t === Nt, this.attributeName = i, this.attributeNamespace = a, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = s, this.removeEmptyString = m;
1626
1651
  }
1627
- const C = {}, ni = [
1652
+ const D = {}, ri = [
1628
1653
  "children",
1629
1654
  "dangerouslySetInnerHTML",
1630
1655
  // TODO: This prevents the assignment of defaultValue to regular
@@ -1637,10 +1662,10 @@ const C = {}, ni = [
1637
1662
  "suppressHydrationWarning",
1638
1663
  "style"
1639
1664
  ];
1640
- ni.forEach((e) => {
1641
- C[e] = new x(
1665
+ ri.forEach((e) => {
1666
+ D[e] = new x(
1642
1667
  e,
1643
- qn,
1668
+ Kn,
1644
1669
  !1,
1645
1670
  // mustUseProperty
1646
1671
  e,
@@ -1659,9 +1684,9 @@ ni.forEach((e) => {
1659
1684
  ["htmlFor", "for"],
1660
1685
  ["httpEquiv", "http-equiv"]
1661
1686
  ].forEach(([e, t]) => {
1662
- C[e] = new x(
1687
+ D[e] = new x(
1663
1688
  e,
1664
- Z,
1689
+ J,
1665
1690
  !1,
1666
1691
  // mustUseProperty
1667
1692
  t,
@@ -1675,9 +1700,9 @@ ni.forEach((e) => {
1675
1700
  );
1676
1701
  });
1677
1702
  ["contentEditable", "draggable", "spellCheck", "value"].forEach((e) => {
1678
- C[e] = new x(
1703
+ D[e] = new x(
1679
1704
  e,
1680
- ze,
1705
+ je,
1681
1706
  !1,
1682
1707
  // mustUseProperty
1683
1708
  e.toLowerCase(),
@@ -1696,9 +1721,9 @@ ni.forEach((e) => {
1696
1721
  "focusable",
1697
1722
  "preserveAlpha"
1698
1723
  ].forEach((e) => {
1699
- C[e] = new x(
1724
+ D[e] = new x(
1700
1725
  e,
1701
- ze,
1726
+ je,
1702
1727
  !1,
1703
1728
  // mustUseProperty
1704
1729
  e,
@@ -1739,9 +1764,9 @@ ni.forEach((e) => {
1739
1764
  // Microdata
1740
1765
  "itemScope"
1741
1766
  ].forEach((e) => {
1742
- C[e] = new x(
1767
+ D[e] = new x(
1743
1768
  e,
1744
- je,
1769
+ Be,
1745
1770
  !1,
1746
1771
  // mustUseProperty
1747
1772
  e.toLowerCase(),
@@ -1765,9 +1790,9 @@ ni.forEach((e) => {
1765
1790
  // you'll need to set attributeName to name.toLowerCase()
1766
1791
  // instead in the assignment below.
1767
1792
  ].forEach((e) => {
1768
- C[e] = new x(
1793
+ D[e] = new x(
1769
1794
  e,
1770
- je,
1795
+ Be,
1771
1796
  !0,
1772
1797
  // mustUseProperty
1773
1798
  e,
@@ -1787,9 +1812,9 @@ ni.forEach((e) => {
1787
1812
  // you'll need to set attributeName to name.toLowerCase()
1788
1813
  // instead in the assignment below.
1789
1814
  ].forEach((e) => {
1790
- C[e] = new x(
1815
+ D[e] = new x(
1791
1816
  e,
1792
- bt,
1817
+ Nt,
1793
1818
  !1,
1794
1819
  // mustUseProperty
1795
1820
  e,
@@ -1811,9 +1836,9 @@ ni.forEach((e) => {
1811
1836
  // you'll need to set attributeName to name.toLowerCase()
1812
1837
  // instead in the assignment below.
1813
1838
  ].forEach((e) => {
1814
- C[e] = new x(
1839
+ D[e] = new x(
1815
1840
  e,
1816
- Kn,
1841
+ Qn,
1817
1842
  !1,
1818
1843
  // mustUseProperty
1819
1844
  e,
@@ -1827,9 +1852,9 @@ ni.forEach((e) => {
1827
1852
  );
1828
1853
  });
1829
1854
  ["rowSpan", "start"].forEach((e) => {
1830
- C[e] = new x(
1855
+ D[e] = new x(
1831
1856
  e,
1832
- Zn,
1857
+ Jn,
1833
1858
  !1,
1834
1859
  // mustUseProperty
1835
1860
  e.toLowerCase(),
@@ -1842,7 +1867,7 @@ ni.forEach((e) => {
1842
1867
  // removeEmptyString
1843
1868
  );
1844
1869
  });
1845
- const Ot = /[\-\:]([a-z])/g, Ct = (e) => e[1].toUpperCase();
1870
+ const wt = /[\-\:]([a-z])/g, It = (e) => e[1].toUpperCase();
1846
1871
  [
1847
1872
  "accent-height",
1848
1873
  "alignment-baseline",
@@ -1921,10 +1946,10 @@ const Ot = /[\-\:]([a-z])/g, Ct = (e) => e[1].toUpperCase();
1921
1946
  // you'll need to set attributeName to name.toLowerCase()
1922
1947
  // instead in the assignment below.
1923
1948
  ].forEach((e) => {
1924
- const t = e.replace(Ot, Ct);
1925
- C[t] = new x(
1949
+ const t = e.replace(wt, It);
1950
+ D[t] = new x(
1926
1951
  t,
1927
- Z,
1952
+ J,
1928
1953
  !1,
1929
1954
  // mustUseProperty
1930
1955
  e,
@@ -1947,10 +1972,10 @@ const Ot = /[\-\:]([a-z])/g, Ct = (e) => e[1].toUpperCase();
1947
1972
  // you'll need to set attributeName to name.toLowerCase()
1948
1973
  // instead in the assignment below.
1949
1974
  ].forEach((e) => {
1950
- const t = e.replace(Ot, Ct);
1951
- C[t] = new x(
1975
+ const t = e.replace(wt, It);
1976
+ D[t] = new x(
1952
1977
  t,
1953
- Z,
1978
+ J,
1954
1979
  !1,
1955
1980
  // mustUseProperty
1956
1981
  e,
@@ -1969,10 +1994,10 @@ const Ot = /[\-\:]([a-z])/g, Ct = (e) => e[1].toUpperCase();
1969
1994
  // you'll need to set attributeName to name.toLowerCase()
1970
1995
  // instead in the assignment below.
1971
1996
  ].forEach((e) => {
1972
- const t = e.replace(Ot, Ct);
1973
- C[t] = new x(
1997
+ const t = e.replace(wt, It);
1998
+ D[t] = new x(
1974
1999
  t,
1975
- Z,
2000
+ J,
1976
2001
  !1,
1977
2002
  // mustUseProperty
1978
2003
  e,
@@ -1984,9 +2009,9 @@ const Ot = /[\-\:]([a-z])/g, Ct = (e) => e[1].toUpperCase();
1984
2009
  );
1985
2010
  });
1986
2011
  ["tabIndex", "crossOrigin"].forEach((e) => {
1987
- C[e] = new x(
2012
+ D[e] = new x(
1988
2013
  e,
1989
- Z,
2014
+ J,
1990
2015
  !1,
1991
2016
  // mustUseProperty
1992
2017
  e.toLowerCase(),
@@ -1999,10 +2024,10 @@ const Ot = /[\-\:]([a-z])/g, Ct = (e) => e[1].toUpperCase();
1999
2024
  // removeEmptyString
2000
2025
  );
2001
2026
  });
2002
- const ri = "xlinkHref";
2003
- C[ri] = new x(
2027
+ const ii = "xlinkHref";
2028
+ D[ii] = new x(
2004
2029
  "xlinkHref",
2005
- Z,
2030
+ J,
2006
2031
  !1,
2007
2032
  // mustUseProperty
2008
2033
  "xlink:href",
@@ -2013,9 +2038,9 @@ C[ri] = new x(
2013
2038
  // removeEmptyString
2014
2039
  );
2015
2040
  ["src", "href", "action", "formAction"].forEach((e) => {
2016
- C[e] = new x(
2041
+ D[e] = new x(
2017
2042
  e,
2018
- Z,
2043
+ J,
2019
2044
  !1,
2020
2045
  // mustUseProperty
2021
2046
  e.toLowerCase(),
@@ -2029,45 +2054,46 @@ C[ri] = new x(
2029
2054
  );
2030
2055
  });
2031
2056
  const {
2032
- CAMELCASE: ii,
2033
- SAME: ai,
2034
- possibleStandardNames: En
2035
- } = Ge, oi = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", li = oi + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", si = RegExp.prototype.test.bind(
2057
+ CAMELCASE: ai,
2058
+ SAME: oi,
2059
+ possibleStandardNames: _n
2060
+ } = ze, li = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", si = li + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", ci = RegExp.prototype.test.bind(
2036
2061
  // eslint-disable-next-line no-misleading-character-class
2037
- new RegExp("^(data|aria)-[" + li + "]*$")
2038
- ), ci = Object.keys(
2039
- En
2062
+ new RegExp("^(data|aria)-[" + si + "]*$")
2063
+ ), ui = Object.keys(
2064
+ _n
2040
2065
  ).reduce((e, t) => {
2041
- const r = En[t];
2042
- return r === ai ? e[t] = t : r === ii ? e[t.toLowerCase()] = t : e[t] = r, e;
2066
+ const r = _n[t];
2067
+ return r === oi ? e[t] = t : r === ai ? e[t.toLowerCase()] = t : e[t] = r, e;
2043
2068
  }, {});
2044
- z.BOOLEAN = je;
2045
- z.BOOLEANISH_STRING = ze;
2046
- z.NUMERIC = Zn;
2047
- z.OVERLOADED_BOOLEAN = bt;
2048
- z.POSITIVE_NUMERIC = Kn;
2049
- z.RESERVED = qn;
2050
- z.STRING = Z;
2051
- z.getPropertyInfo = ti;
2052
- z.isCustomAttribute = si;
2053
- z.possibleStandardNames = ci;
2054
- var Nt = {}, wt = {}, _n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ui = /\n/g, fi = /^\s*/, pi = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, di = /^:\s*/, mi = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, hi = /^[;\s]*/, gi = /^\s+|\s+$/g, Ei = `
2055
- `, Tn = "/", vn = "*", J = "", _i = "comment", Ti = "declaration", vi = function(e, t) {
2069
+ z.BOOLEAN = Be;
2070
+ z.BOOLEANISH_STRING = je;
2071
+ z.NUMERIC = Jn;
2072
+ z.OVERLOADED_BOOLEAN = Nt;
2073
+ z.POSITIVE_NUMERIC = Qn;
2074
+ z.RESERVED = Kn;
2075
+ z.STRING = J;
2076
+ z.getPropertyInfo = ni;
2077
+ z.isCustomAttribute = ci;
2078
+ z.possibleStandardNames = ui;
2079
+ var Lt = {}, Mt = {}, vn = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, fi = /\n/g, pi = /^\s*/, di = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, mi = /^:\s*/, hi = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, gi = /^[;\s]*/, Ei = /^\s+|\s+$/g, Ti = `
2080
+ `, An = "/", yn = "*", ee = "", _i = "comment", vi = "declaration";
2081
+ function Ai(e, t) {
2056
2082
  if (typeof e != "string")
2057
2083
  throw new TypeError("First argument must be a string");
2058
2084
  if (!e) return [];
2059
2085
  t = t || {};
2060
2086
  var r = 1, i = 1;
2061
2087
  function a(E) {
2062
- var h = E.match(ui);
2088
+ var h = E.match(fi);
2063
2089
  h && (r += h.length);
2064
- var N = E.lastIndexOf(Ei);
2090
+ var N = E.lastIndexOf(Ti);
2065
2091
  i = ~N ? E.length - N : i + E.length;
2066
2092
  }
2067
- function c() {
2093
+ function s() {
2068
2094
  var E = { line: r, column: i };
2069
2095
  return function(h) {
2070
- return h.position = new m(E), s(), h;
2096
+ return h.position = new m(E), c(), h;
2071
2097
  };
2072
2098
  }
2073
2099
  function m(E) {
@@ -2087,8 +2113,8 @@ var Nt = {}, wt = {}, _n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ui = /\n/g, fi = /
2087
2113
  return a(N), e = e.slice(N.length), h;
2088
2114
  }
2089
2115
  }
2090
- function s() {
2091
- l(fi);
2116
+ function c() {
2117
+ l(pi);
2092
2118
  }
2093
2119
  function d(E) {
2094
2120
  var h;
@@ -2097,11 +2123,11 @@ var Nt = {}, wt = {}, _n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ui = /\n/g, fi = /
2097
2123
  return E;
2098
2124
  }
2099
2125
  function g() {
2100
- var E = c();
2101
- if (!(Tn != e.charAt(0) || vn != e.charAt(1))) {
2102
- for (var h = 2; J != e.charAt(h) && (vn != e.charAt(h) || Tn != e.charAt(h + 1)); )
2126
+ var E = s();
2127
+ if (!(An != e.charAt(0) || yn != e.charAt(1))) {
2128
+ for (var h = 2; ee != e.charAt(h) && (yn != e.charAt(h) || An != e.charAt(h + 1)); )
2103
2129
  ++h;
2104
- if (h += 2, J === e.charAt(h - 1))
2130
+ if (h += 2, ee === e.charAt(h - 1))
2105
2131
  return u("End of comment missing");
2106
2132
  var N = e.slice(2, h - 2);
2107
2133
  return i += 2, a(N), e = e.slice(h), i += 2, E({
@@ -2111,77 +2137,77 @@ var Nt = {}, wt = {}, _n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ui = /\n/g, fi = /
2111
2137
  }
2112
2138
  }
2113
2139
  function j() {
2114
- var E = c(), h = l(pi);
2140
+ var E = s(), h = l(di);
2115
2141
  if (h) {
2116
- if (g(), !l(di)) return u("property missing ':'");
2117
- var N = l(mi), We = E({
2118
- type: Ti,
2119
- property: yn(h[0].replace(_n, J)),
2120
- value: N ? yn(N[0].replace(_n, J)) : J
2142
+ if (g(), !l(mi)) return u("property missing ':'");
2143
+ var N = l(hi), Xe = E({
2144
+ type: vi,
2145
+ property: Rn(h[0].replace(vn, ee)),
2146
+ value: N ? Rn(N[0].replace(vn, ee)) : ee
2121
2147
  });
2122
- return l(hi), We;
2148
+ return l(gi), Xe;
2123
2149
  }
2124
2150
  }
2125
- function W() {
2151
+ function V() {
2126
2152
  var E = [];
2127
2153
  d(E);
2128
2154
  for (var h; h = j(); )
2129
2155
  h !== !1 && (E.push(h), d(E));
2130
2156
  return E;
2131
2157
  }
2132
- return s(), W();
2133
- };
2134
- function yn(e) {
2135
- return e ? e.replace(gi, J) : J;
2158
+ return c(), V();
2136
2159
  }
2137
- var yi = A && A.__importDefault || function(e) {
2160
+ function Rn(e) {
2161
+ return e ? e.replace(Ei, ee) : ee;
2162
+ }
2163
+ var yi = Ai, Ri = R && R.__importDefault || function(e) {
2138
2164
  return e && e.__esModule ? e : { default: e };
2139
2165
  };
2140
- Object.defineProperty(wt, "__esModule", { value: !0 });
2141
- wt.default = Ri;
2142
- var Ai = yi(vi);
2143
- function Ri(e, t) {
2144
- var r = null;
2166
+ Object.defineProperty(Mt, "__esModule", { value: !0 });
2167
+ Mt.default = bi;
2168
+ const Si = Ri(yi);
2169
+ function bi(e, t) {
2170
+ let r = null;
2145
2171
  if (!e || typeof e != "string")
2146
2172
  return r;
2147
- var i = (0, Ai.default)(e), a = typeof t == "function";
2148
- return i.forEach(function(c) {
2149
- if (c.type === "declaration") {
2150
- var m = c.property, u = c.value;
2151
- a ? t(m, u, c) : u && (r = r || {}, r[m] = u);
2152
- }
2173
+ const i = (0, Si.default)(e), a = typeof t == "function";
2174
+ return i.forEach((s) => {
2175
+ if (s.type !== "declaration")
2176
+ return;
2177
+ const { property: m, value: u } = s;
2178
+ a ? t(m, u, s) : u && (r = r || {}, r[m] = u);
2153
2179
  }), r;
2154
2180
  }
2155
- var Be = {};
2156
- Object.defineProperty(Be, "__esModule", { value: !0 });
2157
- Be.camelCase = void 0;
2158
- var Si = /^--[a-zA-Z0-9_-]+$/, bi = /-([a-z])/g, Oi = /^[^-]+$/, Ci = /^-(webkit|moz|ms|o|khtml)-/, Ni = /^-(ms)-/, wi = function(e) {
2159
- return !e || Oi.test(e) || Si.test(e);
2160
- }, Ii = function(e, t) {
2181
+ var We = {};
2182
+ Object.defineProperty(We, "__esModule", { value: !0 });
2183
+ We.camelCase = void 0;
2184
+ var Ci = /^--[a-zA-Z0-9_-]+$/, Oi = /-([a-z])/g, Di = /^[^-]+$/, Ni = /^-(webkit|moz|ms|o|khtml)-/, wi = /^-(ms)-/, Ii = function(e) {
2185
+ return !e || Di.test(e) || Ci.test(e);
2186
+ }, Li = function(e, t) {
2161
2187
  return t.toUpperCase();
2162
- }, An = function(e, t) {
2188
+ }, Sn = function(e, t) {
2163
2189
  return "".concat(t, "-");
2164
- }, Di = function(e, t) {
2165
- return t === void 0 && (t = {}), wi(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(Ni, An) : e = e.replace(Ci, An), e.replace(bi, Ii));
2190
+ }, Mi = function(e, t) {
2191
+ return t === void 0 && (t = {}), Ii(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(wi, Sn) : e = e.replace(Ni, Sn), e.replace(Oi, Li));
2166
2192
  };
2167
- Be.camelCase = Di;
2168
- var Li = A && A.__importDefault || function(e) {
2193
+ We.camelCase = Mi;
2194
+ var Pi = R && R.__importDefault || function(e) {
2169
2195
  return e && e.__esModule ? e : { default: e };
2170
- }, Mi = Li(wt), Pi = Be;
2171
- function _t(e, t) {
2196
+ }, ki = Pi(Mt), xi = We;
2197
+ function yt(e, t) {
2172
2198
  var r = {};
2173
- return !e || typeof e != "string" || (0, Mi.default)(e, function(i, a) {
2174
- i && a && (r[(0, Pi.camelCase)(i, t)] = a);
2199
+ return !e || typeof e != "string" || (0, ki.default)(e, function(i, a) {
2200
+ i && a && (r[(0, xi.camelCase)(i, t)] = a);
2175
2201
  }), r;
2176
2202
  }
2177
- _t.default = _t;
2178
- var ki = _t;
2203
+ yt.default = yt;
2204
+ var Fi = yt;
2179
2205
  (function(e) {
2180
- var t = A && A.__importDefault || function(d) {
2206
+ var t = R && R.__importDefault || function(d) {
2181
2207
  return d && d.__esModule ? d : { default: d };
2182
2208
  };
2183
- Object.defineProperty(e, "__esModule", { value: !0 }), e.returnFirstArg = e.canTextBeChildOfNode = e.ELEMENTS_WITH_NO_TEXT_CHILDREN = e.PRESERVE_CUSTOM_ATTRIBUTES = void 0, e.isCustomComponent = c, e.setStyleProp = u;
2184
- var r = On, i = t(ki), a = /* @__PURE__ */ new Set([
2209
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.returnFirstArg = e.canTextBeChildOfNode = e.ELEMENTS_WITH_NO_TEXT_CHILDREN = e.PRESERVE_CUSTOM_ATTRIBUTES = void 0, e.isCustomComponent = s, e.setStyleProp = u;
2210
+ var r = Dn, i = t(Fi), a = /* @__PURE__ */ new Set([
2185
2211
  "annotation-xml",
2186
2212
  "color-profile",
2187
2213
  "font-face",
@@ -2191,7 +2217,7 @@ var ki = _t;
2191
2217
  "font-face-name",
2192
2218
  "missing-glyph"
2193
2219
  ]);
2194
- function c(d, g) {
2220
+ function s(d, g) {
2195
2221
  return d.includes("-") ? !a.has(d) : !!(g && typeof g.is == "string");
2196
2222
  }
2197
2223
  var m = {
@@ -2225,78 +2251,78 @@ var ki = _t;
2225
2251
  return !e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(d.name);
2226
2252
  };
2227
2253
  e.canTextBeChildOfNode = l;
2228
- var s = function(d) {
2254
+ var c = function(d) {
2229
2255
  return d;
2230
2256
  };
2231
- e.returnFirstArg = s;
2232
- })(Nt);
2233
- Object.defineProperty(He, "__esModule", { value: !0 });
2234
- He.default = Hi;
2235
- var Ee = z, Rn = Nt, xi = ["checked", "value"], Ui = ["input", "select", "textarea"], Fi = {
2257
+ e.returnFirstArg = c;
2258
+ })(Lt);
2259
+ Object.defineProperty(Ge, "__esModule", { value: !0 });
2260
+ Ge.default = zi;
2261
+ var Te = z, bn = Lt, Ui = ["checked", "value"], Hi = ["input", "select", "textarea"], Gi = {
2236
2262
  reset: !0,
2237
2263
  submit: !0
2238
2264
  };
2239
- function Hi(e, t) {
2265
+ function zi(e, t) {
2240
2266
  e === void 0 && (e = {});
2241
- var r = {}, i = !!(e.type && Fi[e.type]);
2267
+ var r = {}, i = !!(e.type && Gi[e.type]);
2242
2268
  for (var a in e) {
2243
- var c = e[a];
2244
- if ((0, Ee.isCustomAttribute)(a)) {
2245
- r[a] = c;
2269
+ var s = e[a];
2270
+ if ((0, Te.isCustomAttribute)(a)) {
2271
+ r[a] = s;
2246
2272
  continue;
2247
2273
  }
2248
- var m = a.toLowerCase(), u = Sn(m);
2274
+ var m = a.toLowerCase(), u = Cn(m);
2249
2275
  if (u) {
2250
- var l = (0, Ee.getPropertyInfo)(u);
2251
- switch (xi.includes(u) && Ui.includes(t) && !i && (u = Sn("default" + m)), r[u] = c, l && l.type) {
2252
- case Ee.BOOLEAN:
2276
+ var l = (0, Te.getPropertyInfo)(u);
2277
+ switch (Ui.includes(u) && Hi.includes(t) && !i && (u = Cn("default" + m)), r[u] = s, l && l.type) {
2278
+ case Te.BOOLEAN:
2253
2279
  r[u] = !0;
2254
2280
  break;
2255
- case Ee.OVERLOADED_BOOLEAN:
2256
- c === "" && (r[u] = !0);
2281
+ case Te.OVERLOADED_BOOLEAN:
2282
+ s === "" && (r[u] = !0);
2257
2283
  break;
2258
2284
  }
2259
2285
  continue;
2260
2286
  }
2261
- Rn.PRESERVE_CUSTOM_ATTRIBUTES && (r[a] = c);
2287
+ bn.PRESERVE_CUSTOM_ATTRIBUTES && (r[a] = s);
2262
2288
  }
2263
- return (0, Rn.setStyleProp)(e.style, r), r;
2289
+ return (0, bn.setStyleProp)(e.style, r), r;
2264
2290
  }
2265
- function Sn(e) {
2266
- return Ee.possibleStandardNames[e];
2291
+ function Cn(e) {
2292
+ return Te.possibleStandardNames[e];
2267
2293
  }
2268
- var It = {}, Gi = A && A.__importDefault || function(e) {
2294
+ var Pt = {}, ji = R && R.__importDefault || function(e) {
2269
2295
  return e && e.__esModule ? e : { default: e };
2270
2296
  };
2271
- Object.defineProperty(It, "__esModule", { value: !0 });
2272
- It.default = Jn;
2273
- var dt = On, zi = Gi(He), Te = Nt, ji = {
2274
- cloneElement: dt.cloneElement,
2275
- createElement: dt.createElement,
2276
- isValidElement: dt.isValidElement
2297
+ Object.defineProperty(Pt, "__esModule", { value: !0 });
2298
+ Pt.default = $n;
2299
+ var gt = Dn, Bi = ji(Ge), ve = Lt, Wi = {
2300
+ cloneElement: gt.cloneElement,
2301
+ createElement: gt.createElement,
2302
+ isValidElement: gt.isValidElement
2277
2303
  };
2278
- function Jn(e, t) {
2304
+ function $n(e, t) {
2279
2305
  t === void 0 && (t = {});
2280
- for (var r = [], i = typeof t.replace == "function", a = t.transform || Te.returnFirstArg, c = t.library || ji, m = c.cloneElement, u = c.createElement, l = c.isValidElement, s = e.length, d = 0; d < s; d++) {
2306
+ for (var r = [], i = typeof t.replace == "function", a = t.transform || ve.returnFirstArg, s = t.library || Wi, m = s.cloneElement, u = s.createElement, l = s.isValidElement, c = e.length, d = 0; d < c; d++) {
2281
2307
  var g = e[d];
2282
2308
  if (i) {
2283
2309
  var j = t.replace(g, d);
2284
2310
  if (l(j)) {
2285
- s > 1 && (j = m(j, {
2311
+ c > 1 && (j = m(j, {
2286
2312
  key: j.key || d
2287
2313
  })), r.push(a(j, g, d));
2288
2314
  continue;
2289
2315
  }
2290
2316
  }
2291
2317
  if (g.type === "text") {
2292
- var W = !g.data.trim().length;
2293
- if (W && g.parent && !(0, Te.canTextBeChildOfNode)(g.parent) || t.trim && W)
2318
+ var V = !g.data.trim().length;
2319
+ if (V && g.parent && !(0, ve.canTextBeChildOfNode)(g.parent) || t.trim && V)
2294
2320
  continue;
2295
2321
  r.push(a(g.data, g, d));
2296
2322
  continue;
2297
2323
  }
2298
2324
  var E = g, h = {};
2299
- Bi(E) ? ((0, Te.setStyleProp)(E.attribs.style, E.attribs), h = E.attribs) : E.attribs && (h = (0, zi.default)(E.attribs, E.name));
2325
+ Xi(E) ? ((0, ve.setStyleProp)(E.attribs.style, E.attribs), h = E.attribs) : E.attribs && (h = (0, Bi.default)(E.attribs, E.name));
2300
2326
  var N = void 0;
2301
2327
  switch (g.type) {
2302
2328
  case "script":
@@ -2306,49 +2332,49 @@ function Jn(e, t) {
2306
2332
  });
2307
2333
  break;
2308
2334
  case "tag":
2309
- g.name === "textarea" && g.children[0] ? h.defaultValue = g.children[0].data : g.children && g.children.length && (N = Jn(g.children, t));
2335
+ g.name === "textarea" && g.children[0] ? h.defaultValue = g.children[0].data : g.children && g.children.length && (N = $n(g.children, t));
2310
2336
  break;
2311
2337
  default:
2312
2338
  continue;
2313
2339
  }
2314
- s > 1 && (h.key = d), r.push(a(u(g.name, h, N), g, d));
2340
+ c > 1 && (h.key = d), r.push(a(u(g.name, h, N), g, d));
2315
2341
  }
2316
2342
  return r.length === 1 ? r[0] : r;
2317
2343
  }
2318
- function Bi(e) {
2319
- return Te.PRESERVE_CUSTOM_ATTRIBUTES && e.type === "tag" && (0, Te.isCustomComponent)(e.name, e.attribs);
2344
+ function Xi(e) {
2345
+ return ve.PRESERVE_CUSTOM_ATTRIBUTES && e.type === "tag" && (0, ve.isCustomComponent)(e.name, e.attribs);
2320
2346
  }
2321
2347
  (function(e) {
2322
- var t = A && A.__importDefault || function(l) {
2348
+ var t = R && R.__importDefault || function(l) {
2323
2349
  return l && l.__esModule ? l : { default: l };
2324
2350
  };
2325
2351
  Object.defineProperty(e, "__esModule", { value: !0 }), e.htmlToDOM = e.domToReact = e.attributesToProps = e.Text = e.ProcessingInstruction = e.Element = e.Comment = void 0, e.default = u;
2326
- var r = t(Tt);
2352
+ var r = t(Rt);
2327
2353
  e.htmlToDOM = r.default;
2328
- var i = t(He);
2354
+ var i = t(Ge);
2329
2355
  e.attributesToProps = i.default;
2330
- var a = t(It);
2356
+ var a = t(Pt);
2331
2357
  e.domToReact = a.default;
2332
- var c = yt;
2358
+ var s = bt;
2333
2359
  Object.defineProperty(e, "Comment", { enumerable: !0, get: function() {
2334
- return c.Comment;
2360
+ return s.Comment;
2335
2361
  } }), Object.defineProperty(e, "Element", { enumerable: !0, get: function() {
2336
- return c.Element;
2362
+ return s.Element;
2337
2363
  } }), Object.defineProperty(e, "ProcessingInstruction", { enumerable: !0, get: function() {
2338
- return c.ProcessingInstruction;
2364
+ return s.ProcessingInstruction;
2339
2365
  } }), Object.defineProperty(e, "Text", { enumerable: !0, get: function() {
2340
- return c.Text;
2366
+ return s.Text;
2341
2367
  } });
2342
2368
  var m = { lowerCaseAttributeNames: !1 };
2343
- function u(l, s) {
2369
+ function u(l, c) {
2344
2370
  if (typeof l != "string")
2345
2371
  throw new TypeError("First argument must be a string");
2346
- return l ? (0, a.default)((0, r.default)(l, (s == null ? void 0 : s.htmlparser2) || m), s) : [];
2372
+ return l ? (0, a.default)((0, r.default)(l, (c == null ? void 0 : c.htmlparser2) || m), c) : [];
2347
2373
  }
2348
- })(Ln);
2349
- const bn = /* @__PURE__ */ gr(Ln), Wi = bn.default || bn, Xi = "_htmlRenderer_809gk_1", Vi = {
2350
- htmlRenderer: Xi
2351
- }, Zi = (e) => {
2374
+ })(Mn);
2375
+ const On = /* @__PURE__ */ Er(Mn), Vi = On.default || On, Yi = "_htmlRenderer_809gk_1", qi = {
2376
+ htmlRenderer: Yi
2377
+ }, Qi = (e) => {
2352
2378
  const {
2353
2379
  html: t,
2354
2380
  useIframe: r = !1,
@@ -2356,10 +2382,10 @@ const bn = /* @__PURE__ */ gr(Ln), Wi = bn.default || bn, Xi = "_htmlRenderer_80
2356
2382
  iframeHeight: a = "1123px"
2357
2383
  } = e;
2358
2384
  if (!r) {
2359
- const c = Fr.sanitize(t);
2360
- return /* @__PURE__ */ ot("div", { className: Vi.htmlRenderer, children: Wi(c) });
2385
+ const s = Hr.sanitize(t);
2386
+ return /* @__PURE__ */ st("div", { className: qi.htmlRenderer, children: Vi(s) });
2361
2387
  }
2362
- return /* @__PURE__ */ ot(
2388
+ return /* @__PURE__ */ st(
2363
2389
  "div",
2364
2390
  {
2365
2391
  style: {
@@ -2367,7 +2393,7 @@ const bn = /* @__PURE__ */ gr(Ln), Wi = bn.default || bn, Xi = "_htmlRenderer_80
2367
2393
  maxWidth: "100%",
2368
2394
  overflow: "auto"
2369
2395
  },
2370
- children: /* @__PURE__ */ ot(
2396
+ children: /* @__PURE__ */ st(
2371
2397
  "iframe",
2372
2398
  {
2373
2399
  style: {
@@ -2383,7 +2409,7 @@ const bn = /* @__PURE__ */ gr(Ln), Wi = bn.default || bn, Xi = "_htmlRenderer_80
2383
2409
  );
2384
2410
  };
2385
2411
  export {
2386
- Zi as H,
2387
- Fr as p
2412
+ Qi as H,
2413
+ Hr as p
2388
2414
  };
2389
- //# sourceMappingURL=index-BqN32Ptm.js.map
2415
+ //# sourceMappingURL=index-zix1zlkq.js.map