@ozdao/prometheus-framework 0.2.155 → 0.2.157

Sign up to get free protection for your applications and to get access to all the features.
Files changed (321) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  2. package/dist/_virtual/_commonjsHelpers.js +5 -3
  3. package/dist/_virtual/purify.cjs +1 -0
  4. package/dist/_virtual/purify.js +4 -0
  5. package/dist/builder.js +822 -0
  6. package/dist/builder.mjs +801 -0
  7. package/dist/{main-D_RRsfEH.mjs → main-Ba3SEUWZ.mjs} +1812 -1774
  8. package/dist/main-ldzk-jIP.js +92 -0
  9. package/dist/main.css +1 -1
  10. package/dist/node_modules/dompurify/dist/purify.cjs +2 -0
  11. package/dist/node_modules/dompurify/dist/purify.js +531 -0
  12. package/dist/node_modules/isomorphic-dompurify/browser.cjs +1 -0
  13. package/dist/node_modules/isomorphic-dompurify/browser.js +7 -0
  14. package/dist/products.server.js +1 -1
  15. package/dist/products.server.mjs +1 -1
  16. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/regex.cjs +1 -0
  17. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/regex.js +4 -0
  18. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/rng.cjs +1 -0
  19. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/rng.js +9 -0
  20. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/stringify.cjs +1 -0
  21. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/stringify.js +13 -0
  22. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/v4.cjs +1 -0
  23. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/v4.js +10 -0
  24. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/validate.cjs +1 -0
  25. package/dist/prometheus-framework/node_modules/uuid/dist/esm-browser/validate.js +7 -0
  26. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +1 -1
  28. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  29. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +47 -30
  30. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +9 -9
  31. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  32. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +10 -10
  33. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +14 -14
  34. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +9 -9
  35. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +11 -11
  36. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +34 -34
  37. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +27 -27
  38. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -0
  39. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +58 -0
  40. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +11 -180
  42. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.cjs +1 -0
  43. package/dist/prometheus-framework/src/modules/backoffice/components/partials/Sidebar.vue.js +190 -0
  44. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +9 -7
  46. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +48 -43
  48. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  50. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +41 -63
  52. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  54. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +37 -36
  56. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +5 -5
  58. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
  60. package/dist/prometheus-framework/src/modules/community/router/blogposts.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/community/router/blogposts.js +3 -0
  62. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +13 -13
  63. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +1 -5
  64. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +105 -53
  65. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  66. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +92 -98
  67. package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.cjs +1 -0
  68. package/dist/prometheus-framework/src/modules/constructor/components/sections/Viewer.vue.js +39 -0
  69. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.cjs +1 -1
  70. package/dist/prometheus-framework/src/modules/events/components/blocks/CardEvent.vue.js +1 -1
  71. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  72. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  73. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  74. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +13 -12
  75. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  76. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +19 -19
  77. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.cjs +1 -1
  78. package/dist/prometheus-framework/src/modules/gallery/components/pages/Gallery.vue.js +32 -32
  79. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  80. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  81. package/dist/prometheus-framework/src/modules/globals/components/blocks/BlockSearch.vue.js +7 -7
  82. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  83. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  84. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.cjs +1 -1
  85. package/dist/prometheus-framework/src/modules/globals/components/sections/SectionPageTitle.vue.js +2 -2
  86. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  87. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  88. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  89. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +13 -15
  90. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  91. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  92. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  93. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  94. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  95. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  96. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  97. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +4 -4
  98. package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +8 -8
  99. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  100. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  101. package/dist/prometheus-framework/src/modules/orders/orders.client.cjs +1 -1
  102. package/dist/prometheus-framework/src/modules/orders/orders.client.js +34 -33
  103. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  105. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  107. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  109. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  110. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  111. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationBackoffice.vue.js +1 -1
  113. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  114. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +14 -14
  115. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  116. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +2 -2
  117. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  118. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +10 -10
  119. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  120. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +5 -5
  121. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +4 -4
  123. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  124. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +13 -7
  125. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +18 -18
  127. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  129. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +6 -6
  130. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  131. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +11 -11
  132. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  133. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +17 -17
  134. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  135. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +30 -30
  136. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +9 -9
  137. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  139. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  140. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  141. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +1 -1
  143. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/modules/spots/components/blocks/SpotMemberModify.vue.js +1 -1
  145. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.cjs +1 -1
  146. package/dist/prometheus-framework/src/modules/spots/components/layouts/Spots.vue.js +1 -1
  147. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/modules/spots/components/pages/SpotEdit.vue.js +16 -16
  149. package/dist/prometheus-framework/src/modules/spots/router/spots.cjs +1 -1
  150. package/dist/prometheus-framework/src/modules/spots/router/spots.js +4 -0
  151. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  153. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +22 -22
  154. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CardDeposit.vue.js +4 -4
  155. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.cjs +1 -1
  156. package/dist/prometheus-framework/src/modules/wallet/views/components/blocks/CryptoDeposit.vue.js +17 -17
  157. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  158. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +4 -4
  159. package/dist/prometheus-framework.cjs.js +1 -1
  160. package/dist/prometheus-framework.es.js +1 -1
  161. package/dist/style.css +1 -1
  162. package/dist/{web-3rnOWrQO.mjs → web-CT2tGYho.mjs} +1 -1
  163. package/dist/{web-C04IcLk4.js → web-DWjMBTNi.js} +1 -1
  164. package/package.json +3 -2
  165. package/src/builder/builder.js +14 -0
  166. package/src/builder/modes/spa.dev.js +100 -0
  167. package/src/builder/modes/spa.prod.js +59 -0
  168. package/src/builder/modes/ssr.dev.js +184 -0
  169. package/src/builder/modes/ssr.prod.js +76 -0
  170. package/src/builder/ssr/ssr-render-html.js +57 -0
  171. package/src/builder/ssr/ssr-transform-webpack-stats.js +54 -0
  172. package/src/builder/templates/page.html +37 -0
  173. package/src/builder/templates/screen.html +33 -0
  174. package/src/builder/utils/hot-reload.js +5 -0
  175. package/src/builder/webpack/index.js +13 -0
  176. package/src/builder/webpack/webpack.config.base.js +127 -0
  177. package/src/builder/webpack/webpack.config.client.js +78 -0
  178. package/src/builder/webpack/webpack.config.server.js +31 -0
  179. package/src/builder/webpack/webpack.config.spa.js +80 -0
  180. package/src/builder/webpack/webpack.config.ssr.js +57 -0
  181. package/src/components/Breadcrumbs/Breadcrumbs.vue +39 -16
  182. package/src/components/Field/Field.vue +21 -2
  183. package/src/components/Popup/Popup.vue +2 -2
  184. package/src/modules/auth/store/auth.js +1 -2
  185. package/src/modules/backoffice/components/layouts/Backoffice.vue +36 -62
  186. package/src/modules/backoffice/components/pages/Dashboard.vue +2 -125
  187. package/src/modules/backoffice/components/partials/Sidebar.vue +176 -0
  188. package/src/modules/backoffice/router/admin.js +0 -15
  189. package/src/modules/backoffice/router/backoffice.js +5 -1
  190. package/src/modules/community/components/blocks/CardBlogpost.vue +6 -1
  191. package/src/modules/community/components/pages/BlogPost.vue +30 -67
  192. package/src/modules/community/components/sections/Comments.vue +1 -1
  193. package/src/modules/community/router/blogposts.js +4 -0
  194. package/src/modules/constructor/components/elements/Textarea.vue +197 -79
  195. package/src/modules/constructor/components/sections/Constructor.vue +19 -32
  196. package/src/modules/constructor/components/sections/Viewer.vue +53 -0
  197. package/src/modules/gallery/components/pages/Gallery.vue +1 -1
  198. package/src/modules/globals/components/layouts/Client.vue +21 -7
  199. package/src/modules/globals/components/layouts/Empty.vue +1 -6
  200. package/src/modules/globals/components/pages/404.vue +1 -1
  201. package/src/modules/globals/components/sections/SectionPageTitle.vue +2 -2
  202. package/src/modules/globals/mixins/mixins.js +129 -97
  203. package/src/modules/landing/router/landing.js +3 -0
  204. package/src/modules/marketplace/components/pages/Catalog.vue +1 -1
  205. package/src/modules/middlewares/client/auth.validation.js +14 -15
  206. package/src/modules/orders/orders.client.js +4 -2
  207. package/src/modules/organizations/router/organizations.js +9 -3
  208. package/src/modules/pages/controllers/factories/pages.factory.js +106 -0
  209. package/src/modules/pages/controllers/routes/pages.routes.js +24 -0
  210. package/src/modules/pages/models/page.model.js +18 -11
  211. package/src/modules/pages/pages.client.js +40 -0
  212. package/src/modules/pages/pages.server.js +32 -0
  213. package/src/modules/pages/views/components/blocks/CardPage.vue +123 -0
  214. package/src/modules/pages/views/components/pages/Page.vue +173 -0
  215. package/src/modules/pages/views/components/pages/PageEdit.vue +121 -0
  216. package/src/modules/pages/views/components/pages/Pages.vue +60 -0
  217. package/src/modules/pages/views/components/partials/SidebarPages.vue +112 -0
  218. package/src/modules/pages/views/router/pages.backoffice.router.js +46 -0
  219. package/src/modules/pages/views/router/pages.router.js +25 -0
  220. package/src/modules/pages/views/store/pages.js +78 -0
  221. package/src/modules/pages/views/store/pages.store.js +5 -0
  222. package/src/modules/products/controllers/leftovers.controller.js +1 -1
  223. package/src/modules/spots/router/spots.js +4 -0
  224. package/src/styles/base/all.scss +66 -53
  225. package/dist/index-BshfsiQG.js +0 -220
  226. package/dist/index-C-8xOJnM.mjs +0 -244
  227. package/dist/index-C-DW6ra2.js +0 -260
  228. package/dist/index-CDbtWkBj.js +0 -243
  229. package/dist/index-D4j29ivg.mjs +0 -261
  230. package/dist/index-DKtnWDNC.mjs +0 -221
  231. package/dist/index-DNI4aUP2.js +0 -259
  232. package/dist/index-Tcyehi73.mjs +0 -260
  233. package/dist/main-3Vn8SU2y.mjs +0 -14509
  234. package/dist/main-5IrI2IOV.js +0 -92
  235. package/dist/main-BFKp44Ze.mjs +0 -14509
  236. package/dist/main-BF_nMkug.js +0 -92
  237. package/dist/main-BHr0-Z3t.mjs +0 -14510
  238. package/dist/main-BY2OvGB9.mjs +0 -14509
  239. package/dist/main-Bcj0J6tP.mjs +0 -14509
  240. package/dist/main-By5Tbyui.js +0 -92
  241. package/dist/main-CEoQQpJV.js +0 -92
  242. package/dist/main-CI9l9xMs.js +0 -92
  243. package/dist/main-Ckn0Sslr.js +0 -92
  244. package/dist/main-DBv451oC.js +0 -92
  245. package/dist/main-DPg58GOU.mjs +0 -14509
  246. package/dist/main-DTHFR7H_.mjs +0 -14510
  247. package/dist/main-DxyAONrm.mjs +0 -14438
  248. package/dist/main-gY_284gJ.js +0 -92
  249. package/dist/main-wXdocsbd.js +0 -92
  250. package/dist/middlewares.server.js +0 -19
  251. package/dist/middlewares.server.mjs +0 -20
  252. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +0 -1
  253. package/dist/prometheus-framework/src/components/Address/Address.vue.js +0 -89
  254. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +0 -1
  255. package/dist/prometheus-framework/src/components/Button/Button.vue.js +0 -95
  256. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +0 -1
  257. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +0 -26
  258. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +0 -1
  259. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +0 -57
  260. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +0 -1
  261. package/dist/prometheus-framework/src/components/Field/Field.vue.js +0 -83
  262. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +0 -1
  263. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +0 -127
  264. package/dist/prometheus-framework/src/components/Menu/Menu.vue.cjs +0 -1
  265. package/dist/prometheus-framework/src/components/Menu/Menu.vue.js +0 -13
  266. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +0 -1
  267. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +0 -77
  268. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +0 -1
  269. package/dist/prometheus-framework/src/components/Select/Select.vue.js +0 -103
  270. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +0 -1
  271. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +0 -36
  272. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +0 -1
  273. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +0 -44
  274. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.cjs +0 -1
  275. package/dist/prometheus-framework/src/modules/community/components/sections/Feed.vue.js +0 -125
  276. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.cjs +0 -2
  277. package/dist/prometheus-framework/src/modules/constructor/components/elements/Bullets.vue.js +0 -47
  278. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.cjs +0 -2
  279. package/dist/prometheus-framework/src/modules/constructor/components/elements/Caption.vue.js +0 -46
  280. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.cjs +0 -4
  281. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue.js +0 -65
  282. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +0 -5
  283. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -67
  284. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.cjs +0 -1
  285. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardBalanceReplenished.vue.js +0 -30
  286. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.cjs +0 -1
  287. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CardDeposite.vue.js +0 -42
  288. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.cjs +0 -1
  289. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CashDeposite.vue.js +0 -26
  290. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.cjs +0 -1
  291. package/dist/prometheus-framework/src/modules/wallet/components/blocks/CryptoDeposite.vue.js +0 -42
  292. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.cjs +0 -1
  293. package/dist/prometheus-framework/src/modules/wallet/localization/Wallet.json.js +0 -26
  294. package/dist/queryProcessor-g8208K6g.mjs +0 -178
  295. package/dist/queryProcessor-haY_gPGg.js +0 -177
  296. package/dist/web-5eyiz9L7.mjs +0 -54
  297. package/dist/web-BPUCAST-.mjs +0 -54
  298. package/dist/web-Be96Xqd4.mjs +0 -54
  299. package/dist/web-BmdKi_fZ.js +0 -1
  300. package/dist/web-Bqpk8Mpk.js +0 -1
  301. package/dist/web-BzUFKqzw.js +0 -1
  302. package/dist/web-CcFPvlkl.js +0 -1
  303. package/dist/web-CgjTW1bL.js +0 -1
  304. package/dist/web-Cw0ijzjY.js +0 -1
  305. package/dist/web-CwTWV4ca.mjs +0 -54
  306. package/dist/web-DZUec7pP.js +0 -1
  307. package/dist/web-Dh669DqQ.mjs +0 -54
  308. package/dist/web-DkWpHYrh.mjs +0 -54
  309. package/dist/web-Dt2RCU54.js +0 -1
  310. package/dist/web-krQQeSb6.mjs +0 -54
  311. package/dist/web-nqFW_Sd1.mjs +0 -54
  312. package/src/modules/community/controllers/comments.controller.aggr.js +0 -280
  313. package/src/modules/community/controllers/comments.controller.populate.js +0 -180
  314. package/src/modules/constructor/components/elements/H2.vue +0 -102
  315. package/src/modules/pages/components/pages/Page.vue +0 -174
  316. package/src/modules/pages/components/pages/PageEdit.vue +0 -159
  317. package/src/modules/pages/components/pages/Pages.vue +0 -108
  318. package/src/modules/pages/controllers/pages.controller.js +0 -71
  319. package/src/modules/pages/router/pages.router.js +0 -15
  320. package/src/modules/pages/routes/pages.routes.js +0 -30
  321. package/src/modules/pages/store/pages.js +0 -94
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const un=require("../../../_virtual/_commonjsHelpers.cjs"),we=require("../../../_virtual/purify.cjs");/*! @license DOMPurify 3.1.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.1.6/LICENSE */var ht;function mn(){return ht||(ht=1,function(At,pn){(function(ce,J){At.exports=J()})(un.commonjsGlobal,function(){const{entries:ce,setPrototypeOf:J,isFrozen:St,getPrototypeOf:Rt,getOwnPropertyDescriptor:yt}=Object;let{freeze:E,seal:y,create:xe}=Object,{apply:fe,construct:ue}=typeof Reflect<"u"&&Reflect;E||(E=function(o){return o}),y||(y=function(o){return o}),fe||(fe=function(o,l,a){return o.apply(l,a)}),ue||(ue=function(o,l){return new o(...l)});const Q=R(Array.prototype.forEach),Pe=R(Array.prototype.pop),z=R(Array.prototype.push),ee=R(String.prototype.toLowerCase),me=R(String.prototype.toString),ve=R(String.prototype.match),G=R(String.prototype.replace),Lt=R(String.prototype.indexOf),Ot=R(String.prototype.trim),L=R(Object.prototype.hasOwnProperty),g=R(RegExp.prototype.test),W=Dt(TypeError);function R(s){return function(o){for(var l=arguments.length,a=new Array(l>1?l-1:0),T=1;T<l;T++)a[T-1]=arguments[T];return fe(s,o,a)}}function Dt(s){return function(){for(var o=arguments.length,l=new Array(o),a=0;a<o;a++)l[a]=arguments[a];return ue(s,l)}}function r(s,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ee;J&&J(s,null);let a=o.length;for(;a--;){let T=o[a];if(typeof T=="string"){const N=l(T);N!==T&&(St(o)||(o[a]=N),T=N)}s[T]=!0}return s}function bt(s){for(let o=0;o<s.length;o++)L(s,o)||(s[o]=null);return s}function M(s){const o=xe(null);for(const[l,a]of ce(s))L(s,l)&&(Array.isArray(a)?o[l]=bt(a):a&&typeof a=="object"&&a.constructor===Object?o[l]=M(a):o[l]=a);return o}function B(s,o){for(;s!==null;){const a=yt(s,o);if(a){if(a.get)return R(a.get);if(typeof a.value=="function")return R(a.value)}s=Rt(s)}function l(){return null}return l}const ke=E(["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"]),pe=E(["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"]),de=E(["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"]),Nt=E(["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"]),Te=E(["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"]),Ct=E(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ue=E(["#text"]),Fe=E(["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"]),_e=E(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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"]),He=E(["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"]),te=E(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),It=y(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Mt=y(/<%[\w\W]*|[\w\W]*%>/gm),wt=y(/\${[\w\W]*}/gm),xt=y(/^data-[\-\w.\u00B7-\uFFFF]/),Pt=y(/^aria-[\-\w]+$/),ze=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),vt=y(/^(?:\w+script|data):/i),kt=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ge=y(/^html$/i),Ut=y(/^[a-z][.\w]*(-[.\w]+)+$/i);var We=Object.freeze({__proto__:null,MUSTACHE_EXPR:It,ERB_EXPR:Mt,TMPLIT_EXPR:wt,DATA_ATTR:xt,ARIA_ATTR:Pt,IS_ALLOWED_URI:ze,IS_SCRIPT_OR_DATA:vt,ATTR_WHITESPACE:kt,DOCTYPE_NAME:Ge,CUSTOM_ELEMENT:Ut});const Y={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Ft=function(){return typeof window>"u"?null:window},Ht=function(o,l){if(typeof o!="object"||typeof o.createPolicy!="function")return null;let a=null;const T="data-tt-policy-suffix";l&&l.hasAttribute(T)&&(a=l.getAttribute(T));const N="dompurify"+(a?"#"+a:"");try{return o.createPolicy(N,{createHTML(x){return x},createScriptURL(x){return x}})}catch{return console.warn("TrustedTypes policy "+N+" could not be created."),null}};function Be(){let s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ft();const o=i=>Be(i);if(o.version="3.1.6",o.removed=[],!s||!s.document||s.document.nodeType!==Y.document)return o.isSupported=!1,o;let{document:l}=s;const a=l,T=a.currentScript,{DocumentFragment:N,HTMLTemplateElement:x,Node:Ee,Element:Ye,NodeFilter:j,NamedNodeMap:Gt=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:Wt,DOMParser:Bt,trustedTypes:ne}=s,X=Ye.prototype,Yt=B(X,"cloneNode"),jt=B(X,"remove"),Xt=B(X,"nextSibling"),qt=B(X,"childNodes"),oe=B(X,"parentNode");if(typeof x=="function"){const i=l.createElement("template");i.content&&i.content.ownerDocument&&(l=i.content.ownerDocument)}let h,q="";const{implementation:ge,createNodeIterator:Vt,createDocumentFragment:$t,getElementsByTagName:Kt}=l,{importNode:Zt}=a;let O={};o.isSupported=typeof ce=="function"&&typeof oe=="function"&&ge&&ge.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:he,ERB_EXPR:Ae,TMPLIT_EXPR:Se,DATA_ATTR:Jt,ARIA_ATTR:Qt,IS_SCRIPT_OR_DATA:en,ATTR_WHITESPACE:je,CUSTOM_ELEMENT:tn}=We;let{IS_ALLOWED_URI:Xe}=We,u=null;const qe=r({},[...ke,...pe,...de,...Te,...Ue]);let m=null;const Ve=r({},[...Fe,..._e,...He,...te]);let f=Object.seal(xe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),V=null,Re=null,$e=!0,ye=!0,Ke=!1,Ze=!0,P=!1,Le=!0,w=!1,Oe=!1,De=!1,v=!1,ie=!1,re=!1,Je=!0,Qe=!1;const nn="user-content-";let be=!0,$=!1,k={},U=null;const et=r({},["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"]);let tt=null;const nt=r({},["audio","video","img","source","image","track"]);let Ne=null;const ot=r({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ae="http://www.w3.org/1998/Math/MathML",se="http://www.w3.org/2000/svg",C="http://www.w3.org/1999/xhtml";let F=C,Ce=!1,Ie=null;const on=r({},[ae,se,C],me);let K=null;const rn=["application/xhtml+xml","text/html"],an="text/html";let p=null,H=null;const sn=l.createElement("form"),it=function(e){return e instanceof RegExp||e instanceof Function},Me=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(H&&H===e)){if((!e||typeof e!="object")&&(e={}),e=M(e),K=rn.indexOf(e.PARSER_MEDIA_TYPE)===-1?an:e.PARSER_MEDIA_TYPE,p=K==="application/xhtml+xml"?me:ee,u=L(e,"ALLOWED_TAGS")?r({},e.ALLOWED_TAGS,p):qe,m=L(e,"ALLOWED_ATTR")?r({},e.ALLOWED_ATTR,p):Ve,Ie=L(e,"ALLOWED_NAMESPACES")?r({},e.ALLOWED_NAMESPACES,me):on,Ne=L(e,"ADD_URI_SAFE_ATTR")?r(M(ot),e.ADD_URI_SAFE_ATTR,p):ot,tt=L(e,"ADD_DATA_URI_TAGS")?r(M(nt),e.ADD_DATA_URI_TAGS,p):nt,U=L(e,"FORBID_CONTENTS")?r({},e.FORBID_CONTENTS,p):et,V=L(e,"FORBID_TAGS")?r({},e.FORBID_TAGS,p):{},Re=L(e,"FORBID_ATTR")?r({},e.FORBID_ATTR,p):{},k=L(e,"USE_PROFILES")?e.USE_PROFILES:!1,$e=e.ALLOW_ARIA_ATTR!==!1,ye=e.ALLOW_DATA_ATTR!==!1,Ke=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ze=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,P=e.SAFE_FOR_TEMPLATES||!1,Le=e.SAFE_FOR_XML!==!1,w=e.WHOLE_DOCUMENT||!1,v=e.RETURN_DOM||!1,ie=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,Je=e.SANITIZE_DOM!==!1,Qe=e.SANITIZE_NAMED_PROPS||!1,be=e.KEEP_CONTENT!==!1,$=e.IN_PLACE||!1,Xe=e.ALLOWED_URI_REGEXP||ze,F=e.NAMESPACE||C,f=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(f.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&it(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(f.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(f.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),P&&(ye=!1),ie&&(v=!0),k&&(u=r({},Ue),m=[],k.html===!0&&(r(u,ke),r(m,Fe)),k.svg===!0&&(r(u,pe),r(m,_e),r(m,te)),k.svgFilters===!0&&(r(u,de),r(m,_e),r(m,te)),k.mathMl===!0&&(r(u,Te),r(m,He),r(m,te))),e.ADD_TAGS&&(u===qe&&(u=M(u)),r(u,e.ADD_TAGS,p)),e.ADD_ATTR&&(m===Ve&&(m=M(m)),r(m,e.ADD_ATTR,p)),e.ADD_URI_SAFE_ATTR&&r(Ne,e.ADD_URI_SAFE_ATTR,p),e.FORBID_CONTENTS&&(U===et&&(U=M(U)),r(U,e.FORBID_CONTENTS,p)),be&&(u["#text"]=!0),w&&r(u,["html","head","body"]),u.table&&(r(u,["tbody"]),delete V.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw W('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw W('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');h=e.TRUSTED_TYPES_POLICY,q=h.createHTML("")}else h===void 0&&(h=Ht(ne,T)),h!==null&&typeof q=="string"&&(q=h.createHTML(""));E&&E(e),H=e}},rt=r({},["mi","mo","mn","ms","mtext"]),at=r({},["foreignobject","annotation-xml"]),ln=r({},["title","style","font","a","script"]),st=r({},[...pe,...de,...Nt]),lt=r({},[...Te,...Ct]),cn=function(e){let t=oe(e);(!t||!t.tagName)&&(t={namespaceURI:F,tagName:"template"});const n=ee(e.tagName),c=ee(t.tagName);return Ie[e.namespaceURI]?e.namespaceURI===se?t.namespaceURI===C?n==="svg":t.namespaceURI===ae?n==="svg"&&(c==="annotation-xml"||rt[c]):!!st[n]:e.namespaceURI===ae?t.namespaceURI===C?n==="math":t.namespaceURI===se?n==="math"&&at[c]:!!lt[n]:e.namespaceURI===C?t.namespaceURI===se&&!at[c]||t.namespaceURI===ae&&!rt[c]?!1:!lt[n]&&(ln[n]||!st[n]):!!(K==="application/xhtml+xml"&&Ie[e.namespaceURI]):!1},D=function(e){z(o.removed,{element:e});try{oe(e).removeChild(e)}catch{jt(e)}},le=function(e,t){try{z(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch{z(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is"&&!m[e])if(v||ie)try{D(t)}catch{}else try{t.setAttribute(e,"")}catch{}},ct=function(e){let t=null,n=null;if(De)e="<remove></remove>"+e;else{const d=ve(e,/^[\r\n\t ]+/);n=d&&d[0]}K==="application/xhtml+xml"&&F===C&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const c=h?h.createHTML(e):e;if(F===C)try{t=new Bt().parseFromString(c,K)}catch{}if(!t||!t.documentElement){t=ge.createDocument(F,"template",null);try{t.documentElement.innerHTML=Ce?q:c}catch{}}const _=t.body||t.documentElement;return e&&n&&_.insertBefore(l.createTextNode(n),_.childNodes[0]||null),F===C?Kt.call(t,w?"html":"body")[0]:w?t.documentElement:_},ft=function(e){return Vt.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT|j.SHOW_PROCESSING_INSTRUCTION|j.SHOW_CDATA_SECTION,null)},ut=function(e){return e instanceof Wt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof Gt)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},mt=function(e){return typeof Ee=="function"&&e instanceof Ee},I=function(e,t,n){O[e]&&Q(O[e],c=>{c.call(o,t,n,H)})},pt=function(e){let t=null;if(I("beforeSanitizeElements",e,null),ut(e))return D(e),!0;const n=p(e.nodeName);if(I("uponSanitizeElement",e,{tagName:n,allowedTags:u}),e.hasChildNodes()&&!mt(e.firstElementChild)&&g(/<[/\w]/g,e.innerHTML)&&g(/<[/\w]/g,e.textContent)||e.nodeType===Y.progressingInstruction||Le&&e.nodeType===Y.comment&&g(/<[/\w]/g,e.data))return D(e),!0;if(!u[n]||V[n]){if(!V[n]&&Tt(n)&&(f.tagNameCheck instanceof RegExp&&g(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n)))return!1;if(be&&!U[n]){const c=oe(e)||e.parentNode,_=qt(e)||e.childNodes;if(_&&c){const d=_.length;for(let S=d-1;S>=0;--S){const b=Yt(_[S],!0);b.__removalCount=(e.__removalCount||0)+1,c.insertBefore(b,Xt(e))}}}return D(e),!0}return e instanceof Ye&&!cn(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&g(/<\/no(script|embed|frames)/i,e.innerHTML)?(D(e),!0):(P&&e.nodeType===Y.text&&(t=e.textContent,Q([he,Ae,Se],c=>{t=G(t,c," ")}),e.textContent!==t&&(z(o.removed,{element:e.cloneNode()}),e.textContent=t)),I("afterSanitizeElements",e,null),!1)},dt=function(e,t,n){if(Je&&(t==="id"||t==="name")&&(n in l||n in sn))return!1;if(!(ye&&!Re[t]&&g(Jt,t))){if(!($e&&g(Qt,t))){if(!m[t]||Re[t]){if(!(Tt(e)&&(f.tagNameCheck instanceof RegExp&&g(f.tagNameCheck,e)||f.tagNameCheck instanceof Function&&f.tagNameCheck(e))&&(f.attributeNameCheck instanceof RegExp&&g(f.attributeNameCheck,t)||f.attributeNameCheck instanceof Function&&f.attributeNameCheck(t))||t==="is"&&f.allowCustomizedBuiltInElements&&(f.tagNameCheck instanceof RegExp&&g(f.tagNameCheck,n)||f.tagNameCheck instanceof Function&&f.tagNameCheck(n))))return!1}else if(!Ne[t]){if(!g(Xe,G(n,je,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Lt(n,"data:")===0&&tt[e])){if(!(Ke&&!g(en,G(n,je,"")))){if(n)return!1}}}}}}return!0},Tt=function(e){return e!=="annotation-xml"&&ve(e,tn)},_t=function(e){I("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:m};let c=t.length;for(;c--;){const _=t[c],{name:d,namespaceURI:S,value:b}=_,Z=p(d);let A=d==="value"?b:Ot(b);if(n.attrName=Z,n.attrValue=A,n.keepAttr=!0,n.forceKeepAttr=void 0,I("uponSanitizeAttribute",e,n),A=n.attrValue,Le&&g(/((--!?|])>)|<\/(style|title)/i,A)){le(d,e);continue}if(n.forceKeepAttr||(le(d,e),!n.keepAttr))continue;if(!Ze&&g(/\/>/i,A)){le(d,e);continue}P&&Q([he,Ae,Se],gt=>{A=G(A,gt," ")});const Et=p(e.nodeName);if(dt(Et,Z,A)){if(Qe&&(Z==="id"||Z==="name")&&(le(d,e),A=nn+A),h&&typeof ne=="object"&&typeof ne.getAttributeType=="function"&&!S)switch(ne.getAttributeType(Et,Z)){case"TrustedHTML":{A=h.createHTML(A);break}case"TrustedScriptURL":{A=h.createScriptURL(A);break}}try{S?e.setAttributeNS(S,d,A):e.setAttribute(d,A),ut(e)?D(e):Pe(o.removed)}catch{}}}I("afterSanitizeAttributes",e,null)},fn=function i(e){let t=null;const n=ft(e);for(I("beforeSanitizeShadowDOM",e,null);t=n.nextNode();)I("uponSanitizeShadowNode",t,null),!pt(t)&&(t.content instanceof N&&i(t.content),_t(t));I("afterSanitizeShadowDOM",e,null)};return o.sanitize=function(i){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=null,n=null,c=null,_=null;if(Ce=!i,Ce&&(i="<!-->"),typeof i!="string"&&!mt(i))if(typeof i.toString=="function"){if(i=i.toString(),typeof i!="string")throw W("dirty is not a string, aborting")}else throw W("toString is not a function");if(!o.isSupported)return i;if(Oe||Me(e),o.removed=[],typeof i=="string"&&($=!1),$){if(i.nodeName){const b=p(i.nodeName);if(!u[b]||V[b])throw W("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof Ee)t=ct("<!---->"),n=t.ownerDocument.importNode(i,!0),n.nodeType===Y.element&&n.nodeName==="BODY"||n.nodeName==="HTML"?t=n:t.appendChild(n);else{if(!v&&!P&&!w&&i.indexOf("<")===-1)return h&&re?h.createHTML(i):i;if(t=ct(i),!t)return v?null:re?q:""}t&&De&&D(t.firstChild);const d=ft($?i:t);for(;c=d.nextNode();)pt(c)||(c.content instanceof N&&fn(c.content),_t(c));if($)return i;if(v){if(ie)for(_=$t.call(t.ownerDocument);t.firstChild;)_.appendChild(t.firstChild);else _=t;return(m.shadowroot||m.shadowrootmode)&&(_=Zt.call(a,_,!0)),_}let S=w?t.outerHTML:t.innerHTML;return w&&u["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&g(Ge,t.ownerDocument.doctype.name)&&(S="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
2
+ `+S),P&&Q([he,Ae,Se],b=>{S=G(S,b," ")}),h&&re?h.createHTML(S):S},o.setConfig=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Me(i),Oe=!0},o.clearConfig=function(){H=null,Oe=!1},o.isValidAttribute=function(i,e,t){H||Me({});const n=p(i),c=p(e);return dt(n,c,t)},o.addHook=function(i,e){typeof e=="function"&&(O[i]=O[i]||[],z(O[i],e))},o.removeHook=function(i){if(O[i])return Pe(O[i])},o.removeHooks=function(i){O[i]&&(O[i]=[])},o.removeAllHooks=function(){O={}},o}var zt=Be();return zt})}(we.__module)),we.__module.exports}exports.__require=mn;
@@ -0,0 +1,531 @@
1
+ import { commonjsGlobal as un } from "../../../_virtual/_commonjsHelpers.js";
2
+ import { __module as we } from "../../../_virtual/purify.js";
3
+ /*! @license DOMPurify 3.1.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.1.6/LICENSE */
4
+ var ht;
5
+ function Tn() {
6
+ return ht ? we.exports : (ht = 1, function(At, mn) {
7
+ (function(ce, J) {
8
+ At.exports = J();
9
+ })(un, function() {
10
+ const {
11
+ entries: ce,
12
+ setPrototypeOf: J,
13
+ isFrozen: St,
14
+ getPrototypeOf: Rt,
15
+ getOwnPropertyDescriptor: yt
16
+ } = Object;
17
+ let {
18
+ freeze: E,
19
+ seal: y,
20
+ create: xe
21
+ } = Object, {
22
+ apply: fe,
23
+ construct: ue
24
+ } = typeof Reflect < "u" && Reflect;
25
+ E || (E = function(o) {
26
+ return o;
27
+ }), y || (y = function(o) {
28
+ return o;
29
+ }), fe || (fe = function(o, l, a) {
30
+ return o.apply(l, a);
31
+ }), ue || (ue = function(o, l) {
32
+ return new o(...l);
33
+ });
34
+ const Q = R(Array.prototype.forEach), Pe = R(Array.prototype.pop), z = R(Array.prototype.push), ee = R(String.prototype.toLowerCase), me = R(String.prototype.toString), ve = R(String.prototype.match), G = R(String.prototype.replace), Lt = R(String.prototype.indexOf), Ot = R(String.prototype.trim), L = R(Object.prototype.hasOwnProperty), g = R(RegExp.prototype.test), W = Dt(TypeError);
35
+ function R(s) {
36
+ return function(o) {
37
+ for (var l = arguments.length, a = new Array(l > 1 ? l - 1 : 0), T = 1; T < l; T++)
38
+ a[T - 1] = arguments[T];
39
+ return fe(s, o, a);
40
+ };
41
+ }
42
+ function Dt(s) {
43
+ return function() {
44
+ for (var o = arguments.length, l = new Array(o), a = 0; a < o; a++)
45
+ l[a] = arguments[a];
46
+ return ue(s, l);
47
+ };
48
+ }
49
+ function r(s, o) {
50
+ let l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ee;
51
+ J && J(s, null);
52
+ let a = o.length;
53
+ for (; a--; ) {
54
+ let T = o[a];
55
+ if (typeof T == "string") {
56
+ const b = l(T);
57
+ b !== T && (St(o) || (o[a] = b), T = b);
58
+ }
59
+ s[T] = !0;
60
+ }
61
+ return s;
62
+ }
63
+ function Nt(s) {
64
+ for (let o = 0; o < s.length; o++)
65
+ L(s, o) || (s[o] = null);
66
+ return s;
67
+ }
68
+ function M(s) {
69
+ const o = xe(null);
70
+ for (const [l, a] of ce(s))
71
+ L(s, l) && (Array.isArray(a) ? o[l] = Nt(a) : a && typeof a == "object" && a.constructor === Object ? o[l] = M(a) : o[l] = a);
72
+ return o;
73
+ }
74
+ function B(s, o) {
75
+ for (; s !== null; ) {
76
+ const a = yt(s, o);
77
+ if (a) {
78
+ if (a.get)
79
+ return R(a.get);
80
+ if (typeof a.value == "function")
81
+ return R(a.value);
82
+ }
83
+ s = Rt(s);
84
+ }
85
+ function l() {
86
+ return null;
87
+ }
88
+ return l;
89
+ }
90
+ const ke = E(["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"]), pe = E(["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"]), de = E(["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"]), bt = E(["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"]), Te = E(["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"]), Ct = E(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ue = E(["#text"]), Fe = E(["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"]), _e = E(["accent-height", "accumulate", "additive", "alignment-baseline", "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", "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", "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", "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", "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"]), He = E(["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"]), te = E(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), It = y(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Mt = y(/<%[\w\W]*|[\w\W]*%>/gm), wt = y(/\${[\w\W]*}/gm), xt = y(/^data-[\-\w.\u00B7-\uFFFF]/), Pt = y(/^aria-[\-\w]+$/), ze = y(
91
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
92
+ // eslint-disable-line no-useless-escape
93
+ ), vt = y(/^(?:\w+script|data):/i), kt = y(
94
+ /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
95
+ // eslint-disable-line no-control-regex
96
+ ), Ge = y(/^html$/i), Ut = y(/^[a-z][.\w]*(-[.\w]+)+$/i);
97
+ var We = /* @__PURE__ */ Object.freeze({
98
+ __proto__: null,
99
+ MUSTACHE_EXPR: It,
100
+ ERB_EXPR: Mt,
101
+ TMPLIT_EXPR: wt,
102
+ DATA_ATTR: xt,
103
+ ARIA_ATTR: Pt,
104
+ IS_ALLOWED_URI: ze,
105
+ IS_SCRIPT_OR_DATA: vt,
106
+ ATTR_WHITESPACE: kt,
107
+ DOCTYPE_NAME: Ge,
108
+ CUSTOM_ELEMENT: Ut
109
+ });
110
+ const Y = {
111
+ element: 1,
112
+ attribute: 2,
113
+ text: 3,
114
+ cdataSection: 4,
115
+ entityReference: 5,
116
+ // Deprecated
117
+ entityNode: 6,
118
+ // Deprecated
119
+ progressingInstruction: 7,
120
+ comment: 8,
121
+ document: 9,
122
+ documentType: 10,
123
+ documentFragment: 11,
124
+ notation: 12
125
+ // Deprecated
126
+ }, Ft = function() {
127
+ return typeof window > "u" ? null : window;
128
+ }, Ht = function(o, l) {
129
+ if (typeof o != "object" || typeof o.createPolicy != "function")
130
+ return null;
131
+ let a = null;
132
+ const T = "data-tt-policy-suffix";
133
+ l && l.hasAttribute(T) && (a = l.getAttribute(T));
134
+ const b = "dompurify" + (a ? "#" + a : "");
135
+ try {
136
+ return o.createPolicy(b, {
137
+ createHTML(x) {
138
+ return x;
139
+ },
140
+ createScriptURL(x) {
141
+ return x;
142
+ }
143
+ });
144
+ } catch {
145
+ return console.warn("TrustedTypes policy " + b + " could not be created."), null;
146
+ }
147
+ };
148
+ function Be() {
149
+ let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ft();
150
+ const o = (i) => Be(i);
151
+ if (o.version = "3.1.6", o.removed = [], !s || !s.document || s.document.nodeType !== Y.document)
152
+ return o.isSupported = !1, o;
153
+ let {
154
+ document: l
155
+ } = s;
156
+ const a = l, T = a.currentScript, {
157
+ DocumentFragment: b,
158
+ HTMLTemplateElement: x,
159
+ Node: Ee,
160
+ Element: Ye,
161
+ NodeFilter: X,
162
+ NamedNodeMap: Gt = s.NamedNodeMap || s.MozNamedAttrMap,
163
+ HTMLFormElement: Wt,
164
+ DOMParser: Bt,
165
+ trustedTypes: ne
166
+ } = s, j = Ye.prototype, Yt = B(j, "cloneNode"), Xt = B(j, "remove"), jt = B(j, "nextSibling"), Vt = B(j, "childNodes"), oe = B(j, "parentNode");
167
+ if (typeof x == "function") {
168
+ const i = l.createElement("template");
169
+ i.content && i.content.ownerDocument && (l = i.content.ownerDocument);
170
+ }
171
+ let h, V = "";
172
+ const {
173
+ implementation: ge,
174
+ createNodeIterator: qt,
175
+ createDocumentFragment: $t,
176
+ getElementsByTagName: Kt
177
+ } = l, {
178
+ importNode: Zt
179
+ } = a;
180
+ let O = {};
181
+ o.isSupported = typeof ce == "function" && typeof oe == "function" && ge && ge.createHTMLDocument !== void 0;
182
+ const {
183
+ MUSTACHE_EXPR: he,
184
+ ERB_EXPR: Ae,
185
+ TMPLIT_EXPR: Se,
186
+ DATA_ATTR: Jt,
187
+ ARIA_ATTR: Qt,
188
+ IS_SCRIPT_OR_DATA: en,
189
+ ATTR_WHITESPACE: Xe,
190
+ CUSTOM_ELEMENT: tn
191
+ } = We;
192
+ let {
193
+ IS_ALLOWED_URI: je
194
+ } = We, u = null;
195
+ const Ve = r({}, [...ke, ...pe, ...de, ...Te, ...Ue]);
196
+ let m = null;
197
+ const qe = r({}, [...Fe, ..._e, ...He, ...te]);
198
+ let f = Object.seal(xe(null, {
199
+ tagNameCheck: {
200
+ writable: !0,
201
+ configurable: !1,
202
+ enumerable: !0,
203
+ value: null
204
+ },
205
+ attributeNameCheck: {
206
+ writable: !0,
207
+ configurable: !1,
208
+ enumerable: !0,
209
+ value: null
210
+ },
211
+ allowCustomizedBuiltInElements: {
212
+ writable: !0,
213
+ configurable: !1,
214
+ enumerable: !0,
215
+ value: !1
216
+ }
217
+ })), q = null, Re = null, $e = !0, ye = !0, Ke = !1, Ze = !0, P = !1, Le = !0, w = !1, Oe = !1, De = !1, v = !1, ie = !1, re = !1, Je = !0, Qe = !1;
218
+ const nn = "user-content-";
219
+ let Ne = !0, $ = !1, k = {}, U = null;
220
+ const et = r({}, ["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"]);
221
+ let tt = null;
222
+ const nt = r({}, ["audio", "video", "img", "source", "image", "track"]);
223
+ let be = null;
224
+ const ot = r({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ae = "http://www.w3.org/1998/Math/MathML", se = "http://www.w3.org/2000/svg", C = "http://www.w3.org/1999/xhtml";
225
+ let F = C, Ce = !1, Ie = null;
226
+ const on = r({}, [ae, se, C], me);
227
+ let K = null;
228
+ const rn = ["application/xhtml+xml", "text/html"], an = "text/html";
229
+ let p = null, H = null;
230
+ const sn = l.createElement("form"), it = function(e) {
231
+ return e instanceof RegExp || e instanceof Function;
232
+ }, Me = function() {
233
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
234
+ if (!(H && H === e)) {
235
+ if ((!e || typeof e != "object") && (e = {}), e = M(e), K = // eslint-disable-next-line unicorn/prefer-includes
236
+ rn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? an : e.PARSER_MEDIA_TYPE, p = K === "application/xhtml+xml" ? me : ee, u = L(e, "ALLOWED_TAGS") ? r({}, e.ALLOWED_TAGS, p) : Ve, m = L(e, "ALLOWED_ATTR") ? r({}, e.ALLOWED_ATTR, p) : qe, Ie = L(e, "ALLOWED_NAMESPACES") ? r({}, e.ALLOWED_NAMESPACES, me) : on, be = L(e, "ADD_URI_SAFE_ATTR") ? r(
237
+ M(ot),
238
+ // eslint-disable-line indent
239
+ e.ADD_URI_SAFE_ATTR,
240
+ // eslint-disable-line indent
241
+ p
242
+ // eslint-disable-line indent
243
+ ) : ot, tt = L(e, "ADD_DATA_URI_TAGS") ? r(
244
+ M(nt),
245
+ // eslint-disable-line indent
246
+ e.ADD_DATA_URI_TAGS,
247
+ // eslint-disable-line indent
248
+ p
249
+ // eslint-disable-line indent
250
+ ) : nt, U = L(e, "FORBID_CONTENTS") ? r({}, e.FORBID_CONTENTS, p) : et, q = L(e, "FORBID_TAGS") ? r({}, e.FORBID_TAGS, p) : {}, Re = L(e, "FORBID_ATTR") ? r({}, e.FORBID_ATTR, p) : {}, k = L(e, "USE_PROFILES") ? e.USE_PROFILES : !1, $e = e.ALLOW_ARIA_ATTR !== !1, ye = e.ALLOW_DATA_ATTR !== !1, Ke = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ze = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = e.SAFE_FOR_TEMPLATES || !1, Le = e.SAFE_FOR_XML !== !1, w = e.WHOLE_DOCUMENT || !1, v = e.RETURN_DOM || !1, ie = e.RETURN_DOM_FRAGMENT || !1, re = e.RETURN_TRUSTED_TYPE || !1, De = e.FORCE_BODY || !1, Je = e.SANITIZE_DOM !== !1, Qe = e.SANITIZE_NAMED_PROPS || !1, Ne = e.KEEP_CONTENT !== !1, $ = e.IN_PLACE || !1, je = e.ALLOWED_URI_REGEXP || ze, F = e.NAMESPACE || C, f = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && it(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (f.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && it(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (f.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (f.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), P && (ye = !1), ie && (v = !0), k && (u = r({}, Ue), m = [], k.html === !0 && (r(u, ke), r(m, Fe)), k.svg === !0 && (r(u, pe), r(m, _e), r(m, te)), k.svgFilters === !0 && (r(u, de), r(m, _e), r(m, te)), k.mathMl === !0 && (r(u, Te), r(m, He), r(m, te))), e.ADD_TAGS && (u === Ve && (u = M(u)), r(u, e.ADD_TAGS, p)), e.ADD_ATTR && (m === qe && (m = M(m)), r(m, e.ADD_ATTR, p)), e.ADD_URI_SAFE_ATTR && r(be, e.ADD_URI_SAFE_ATTR, p), e.FORBID_CONTENTS && (U === et && (U = M(U)), r(U, e.FORBID_CONTENTS, p)), Ne && (u["#text"] = !0), w && r(u, ["html", "head", "body"]), u.table && (r(u, ["tbody"]), delete q.tbody), e.TRUSTED_TYPES_POLICY) {
251
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
252
+ throw W('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
253
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
254
+ throw W('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
255
+ h = e.TRUSTED_TYPES_POLICY, V = h.createHTML("");
256
+ } else
257
+ h === void 0 && (h = Ht(ne, T)), h !== null && typeof V == "string" && (V = h.createHTML(""));
258
+ E && E(e), H = e;
259
+ }
260
+ }, rt = r({}, ["mi", "mo", "mn", "ms", "mtext"]), at = r({}, ["foreignobject", "annotation-xml"]), ln = r({}, ["title", "style", "font", "a", "script"]), st = r({}, [...pe, ...de, ...bt]), lt = r({}, [...Te, ...Ct]), cn = function(e) {
261
+ let t = oe(e);
262
+ (!t || !t.tagName) && (t = {
263
+ namespaceURI: F,
264
+ tagName: "template"
265
+ });
266
+ const n = ee(e.tagName), c = ee(t.tagName);
267
+ return Ie[e.namespaceURI] ? e.namespaceURI === se ? t.namespaceURI === C ? n === "svg" : t.namespaceURI === ae ? n === "svg" && (c === "annotation-xml" || rt[c]) : !!st[n] : e.namespaceURI === ae ? t.namespaceURI === C ? n === "math" : t.namespaceURI === se ? n === "math" && at[c] : !!lt[n] : e.namespaceURI === C ? t.namespaceURI === se && !at[c] || t.namespaceURI === ae && !rt[c] ? !1 : !lt[n] && (ln[n] || !st[n]) : !!(K === "application/xhtml+xml" && Ie[e.namespaceURI]) : !1;
268
+ }, D = function(e) {
269
+ z(o.removed, {
270
+ element: e
271
+ });
272
+ try {
273
+ oe(e).removeChild(e);
274
+ } catch {
275
+ Xt(e);
276
+ }
277
+ }, le = function(e, t) {
278
+ try {
279
+ z(o.removed, {
280
+ attribute: t.getAttributeNode(e),
281
+ from: t
282
+ });
283
+ } catch {
284
+ z(o.removed, {
285
+ attribute: null,
286
+ from: t
287
+ });
288
+ }
289
+ if (t.removeAttribute(e), e === "is" && !m[e])
290
+ if (v || ie)
291
+ try {
292
+ D(t);
293
+ } catch {
294
+ }
295
+ else
296
+ try {
297
+ t.setAttribute(e, "");
298
+ } catch {
299
+ }
300
+ }, ct = function(e) {
301
+ let t = null, n = null;
302
+ if (De)
303
+ e = "<remove></remove>" + e;
304
+ else {
305
+ const d = ve(e, /^[\r\n\t ]+/);
306
+ n = d && d[0];
307
+ }
308
+ K === "application/xhtml+xml" && F === C && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
309
+ const c = h ? h.createHTML(e) : e;
310
+ if (F === C)
311
+ try {
312
+ t = new Bt().parseFromString(c, K);
313
+ } catch {
314
+ }
315
+ if (!t || !t.documentElement) {
316
+ t = ge.createDocument(F, "template", null);
317
+ try {
318
+ t.documentElement.innerHTML = Ce ? V : c;
319
+ } catch {
320
+ }
321
+ }
322
+ const _ = t.body || t.documentElement;
323
+ return e && n && _.insertBefore(l.createTextNode(n), _.childNodes[0] || null), F === C ? Kt.call(t, w ? "html" : "body")[0] : w ? t.documentElement : _;
324
+ }, ft = function(e) {
325
+ return qt.call(
326
+ e.ownerDocument || e,
327
+ e,
328
+ // eslint-disable-next-line no-bitwise
329
+ X.SHOW_ELEMENT | X.SHOW_COMMENT | X.SHOW_TEXT | X.SHOW_PROCESSING_INSTRUCTION | X.SHOW_CDATA_SECTION,
330
+ null
331
+ );
332
+ }, ut = function(e) {
333
+ return e instanceof Wt && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof Gt) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
334
+ }, mt = function(e) {
335
+ return typeof Ee == "function" && e instanceof Ee;
336
+ }, I = function(e, t, n) {
337
+ O[e] && Q(O[e], (c) => {
338
+ c.call(o, t, n, H);
339
+ });
340
+ }, pt = function(e) {
341
+ let t = null;
342
+ if (I("beforeSanitizeElements", e, null), ut(e))
343
+ return D(e), !0;
344
+ const n = p(e.nodeName);
345
+ if (I("uponSanitizeElement", e, {
346
+ tagName: n,
347
+ allowedTags: u
348
+ }), e.hasChildNodes() && !mt(e.firstElementChild) && g(/<[/\w]/g, e.innerHTML) && g(/<[/\w]/g, e.textContent) || e.nodeType === Y.progressingInstruction || Le && e.nodeType === Y.comment && g(/<[/\w]/g, e.data))
349
+ return D(e), !0;
350
+ if (!u[n] || q[n]) {
351
+ if (!q[n] && Tt(n) && (f.tagNameCheck instanceof RegExp && g(f.tagNameCheck, n) || f.tagNameCheck instanceof Function && f.tagNameCheck(n)))
352
+ return !1;
353
+ if (Ne && !U[n]) {
354
+ const c = oe(e) || e.parentNode, _ = Vt(e) || e.childNodes;
355
+ if (_ && c) {
356
+ const d = _.length;
357
+ for (let S = d - 1; S >= 0; --S) {
358
+ const N = Yt(_[S], !0);
359
+ N.__removalCount = (e.__removalCount || 0) + 1, c.insertBefore(N, jt(e));
360
+ }
361
+ }
362
+ }
363
+ return D(e), !0;
364
+ }
365
+ return e instanceof Ye && !cn(e) || (n === "noscript" || n === "noembed" || n === "noframes") && g(/<\/no(script|embed|frames)/i, e.innerHTML) ? (D(e), !0) : (P && e.nodeType === Y.text && (t = e.textContent, Q([he, Ae, Se], (c) => {
366
+ t = G(t, c, " ");
367
+ }), e.textContent !== t && (z(o.removed, {
368
+ element: e.cloneNode()
369
+ }), e.textContent = t)), I("afterSanitizeElements", e, null), !1);
370
+ }, dt = function(e, t, n) {
371
+ if (Je && (t === "id" || t === "name") && (n in l || n in sn))
372
+ return !1;
373
+ if (!(ye && !Re[t] && g(Jt, t))) {
374
+ if (!($e && g(Qt, t))) {
375
+ if (!m[t] || Re[t]) {
376
+ if (
377
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
378
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
379
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
380
+ !(Tt(e) && (f.tagNameCheck instanceof RegExp && g(f.tagNameCheck, e) || f.tagNameCheck instanceof Function && f.tagNameCheck(e)) && (f.attributeNameCheck instanceof RegExp && g(f.attributeNameCheck, t) || f.attributeNameCheck instanceof Function && f.attributeNameCheck(t)) || // Alternative, second condition checks if it's an `is`-attribute, AND
381
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
382
+ t === "is" && f.allowCustomizedBuiltInElements && (f.tagNameCheck instanceof RegExp && g(f.tagNameCheck, n) || f.tagNameCheck instanceof Function && f.tagNameCheck(n)))
383
+ ) return !1;
384
+ } else if (!be[t]) {
385
+ if (!g(je, G(n, Xe, ""))) {
386
+ if (!((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && Lt(n, "data:") === 0 && tt[e])) {
387
+ if (!(Ke && !g(en, G(n, Xe, "")))) {
388
+ if (n)
389
+ return !1;
390
+ }
391
+ }
392
+ }
393
+ }
394
+ }
395
+ }
396
+ return !0;
397
+ }, Tt = function(e) {
398
+ return e !== "annotation-xml" && ve(e, tn);
399
+ }, _t = function(e) {
400
+ I("beforeSanitizeAttributes", e, null);
401
+ const {
402
+ attributes: t
403
+ } = e;
404
+ if (!t)
405
+ return;
406
+ const n = {
407
+ attrName: "",
408
+ attrValue: "",
409
+ keepAttr: !0,
410
+ allowedAttributes: m
411
+ };
412
+ let c = t.length;
413
+ for (; c--; ) {
414
+ const _ = t[c], {
415
+ name: d,
416
+ namespaceURI: S,
417
+ value: N
418
+ } = _, Z = p(d);
419
+ let A = d === "value" ? N : Ot(N);
420
+ if (n.attrName = Z, n.attrValue = A, n.keepAttr = !0, n.forceKeepAttr = void 0, I("uponSanitizeAttribute", e, n), A = n.attrValue, Le && g(/((--!?|])>)|<\/(style|title)/i, A)) {
421
+ le(d, e);
422
+ continue;
423
+ }
424
+ if (n.forceKeepAttr || (le(d, e), !n.keepAttr))
425
+ continue;
426
+ if (!Ze && g(/\/>/i, A)) {
427
+ le(d, e);
428
+ continue;
429
+ }
430
+ P && Q([he, Ae, Se], (gt) => {
431
+ A = G(A, gt, " ");
432
+ });
433
+ const Et = p(e.nodeName);
434
+ if (dt(Et, Z, A)) {
435
+ if (Qe && (Z === "id" || Z === "name") && (le(d, e), A = nn + A), h && typeof ne == "object" && typeof ne.getAttributeType == "function" && !S)
436
+ switch (ne.getAttributeType(Et, Z)) {
437
+ case "TrustedHTML": {
438
+ A = h.createHTML(A);
439
+ break;
440
+ }
441
+ case "TrustedScriptURL": {
442
+ A = h.createScriptURL(A);
443
+ break;
444
+ }
445
+ }
446
+ try {
447
+ S ? e.setAttributeNS(S, d, A) : e.setAttribute(d, A), ut(e) ? D(e) : Pe(o.removed);
448
+ } catch {
449
+ }
450
+ }
451
+ }
452
+ I("afterSanitizeAttributes", e, null);
453
+ }, fn = function i(e) {
454
+ let t = null;
455
+ const n = ft(e);
456
+ for (I("beforeSanitizeShadowDOM", e, null); t = n.nextNode(); )
457
+ I("uponSanitizeShadowNode", t, null), !pt(t) && (t.content instanceof b && i(t.content), _t(t));
458
+ I("afterSanitizeShadowDOM", e, null);
459
+ };
460
+ return o.sanitize = function(i) {
461
+ let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = null, n = null, c = null, _ = null;
462
+ if (Ce = !i, Ce && (i = "<!-->"), typeof i != "string" && !mt(i))
463
+ if (typeof i.toString == "function") {
464
+ if (i = i.toString(), typeof i != "string")
465
+ throw W("dirty is not a string, aborting");
466
+ } else
467
+ throw W("toString is not a function");
468
+ if (!o.isSupported)
469
+ return i;
470
+ if (Oe || Me(e), o.removed = [], typeof i == "string" && ($ = !1), $) {
471
+ if (i.nodeName) {
472
+ const N = p(i.nodeName);
473
+ if (!u[N] || q[N])
474
+ throw W("root node is forbidden and cannot be sanitized in-place");
475
+ }
476
+ } else if (i instanceof Ee)
477
+ t = ct("<!---->"), n = t.ownerDocument.importNode(i, !0), n.nodeType === Y.element && n.nodeName === "BODY" || n.nodeName === "HTML" ? t = n : t.appendChild(n);
478
+ else {
479
+ if (!v && !P && !w && // eslint-disable-next-line unicorn/prefer-includes
480
+ i.indexOf("<") === -1)
481
+ return h && re ? h.createHTML(i) : i;
482
+ if (t = ct(i), !t)
483
+ return v ? null : re ? V : "";
484
+ }
485
+ t && De && D(t.firstChild);
486
+ const d = ft($ ? i : t);
487
+ for (; c = d.nextNode(); )
488
+ pt(c) || (c.content instanceof b && fn(c.content), _t(c));
489
+ if ($)
490
+ return i;
491
+ if (v) {
492
+ if (ie)
493
+ for (_ = $t.call(t.ownerDocument); t.firstChild; )
494
+ _.appendChild(t.firstChild);
495
+ else
496
+ _ = t;
497
+ return (m.shadowroot || m.shadowrootmode) && (_ = Zt.call(a, _, !0)), _;
498
+ }
499
+ let S = w ? t.outerHTML : t.innerHTML;
500
+ return w && u["!doctype"] && t.ownerDocument && t.ownerDocument.doctype && t.ownerDocument.doctype.name && g(Ge, t.ownerDocument.doctype.name) && (S = "<!DOCTYPE " + t.ownerDocument.doctype.name + `>
501
+ ` + S), P && Q([he, Ae, Se], (N) => {
502
+ S = G(S, N, " ");
503
+ }), h && re ? h.createHTML(S) : S;
504
+ }, o.setConfig = function() {
505
+ let i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
506
+ Me(i), Oe = !0;
507
+ }, o.clearConfig = function() {
508
+ H = null, Oe = !1;
509
+ }, o.isValidAttribute = function(i, e, t) {
510
+ H || Me({});
511
+ const n = p(i), c = p(e);
512
+ return dt(n, c, t);
513
+ }, o.addHook = function(i, e) {
514
+ typeof e == "function" && (O[i] = O[i] || [], z(O[i], e));
515
+ }, o.removeHook = function(i) {
516
+ if (O[i])
517
+ return Pe(O[i]);
518
+ }, o.removeHooks = function(i) {
519
+ O[i] && (O[i] = []);
520
+ }, o.removeAllHooks = function() {
521
+ O = {};
522
+ }, o;
523
+ }
524
+ var zt = Be();
525
+ return zt;
526
+ });
527
+ }(we), we.exports);
528
+ }
529
+ export {
530
+ Tn as __require
531
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("../../_virtual/_commonjsHelpers.cjs"),e=require("../dompurify/dist/purify.cjs");var u=window.DOMPurify||(window.DOMPurify=e.__require().default||e.__require());const o=r.getDefaultExportFromCjs(u);exports.default=o;
@@ -0,0 +1,7 @@
1
+ import { getDefaultExportFromCjs as o } from "../../_virtual/_commonjsHelpers.js";
2
+ import { __require as r } from "../dompurify/dist/purify.js";
3
+ var e = window.DOMPurify || (window.DOMPurify = r().default || r());
4
+ const t = /* @__PURE__ */ o(e);
5
+ export {
6
+ t as default
7
+ };
@@ -886,7 +886,7 @@ const controllerFactory$1 = (db) => {
886
886
  }
887
887
  matchConditions.push({
888
888
  $or: [
889
- { "comment ": { $regex: regexPattern, $options: "i" } },
889
+ { "comment": { $regex: regexPattern, $options: "i" } },
890
890
  { "positions.name": { $regex: regexPattern, $options: "i" } }
891
891
  ]
892
892
  });