@sparkle-learning/core 0.0.55 → 0.0.57

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 (1097) hide show
  1. package/dist/sparkle-core/PrivateRoute-a12e7ee5.js +37 -0
  2. package/dist/sparkle-core/account.service-e711795d.js +63 -0
  3. package/dist/sparkle-core/active-router-af86c9b4.js +73 -0
  4. package/dist/sparkle-core/animation-676a644d.js +984 -0
  5. package/dist/sparkle-core/app-globals-9ffa9ec3.js +10 -0
  6. package/dist/sparkle-core/appdata.service-703dff70.js +69 -0
  7. package/dist/sparkle-core/assets/user.png +0 -0
  8. package/dist/sparkle-core/assets.service-6508aae6.js +71 -0
  9. package/dist/sparkle-core/assignment.service-e42e9368.js +17 -0
  10. package/dist/sparkle-core/button-active-d68c5eb7.js +67 -0
  11. package/dist/sparkle-core/compass-svg.entry.js +128 -0
  12. package/dist/sparkle-core/context-consumer.entry.js +25 -0
  13. package/dist/sparkle-core/course-select.entry.js +26 -0
  14. package/dist/sparkle-core/css-shim-04165e59.js +4 -0
  15. package/dist/sparkle-core/dom-26e7cb2c.js +73 -0
  16. package/dist/sparkle-core/dom-utils-8e73e88b.js +55 -0
  17. package/dist/sparkle-core/facilitator.service-00a88935.js +79 -0
  18. package/dist/sparkle-core/facilitator.store-01be0386.js +18 -0
  19. package/dist/sparkle-core/feed.service-d495f3e1.js +53 -0
  20. package/dist/sparkle-core/framework-delegate-d3fa493f.js +107 -0
  21. package/dist/sparkle-core/haptic-a9e94599.js +124 -0
  22. package/dist/sparkle-core/header-mobile-collapse.entry.js +86 -0
  23. package/dist/sparkle-core/helpers-f11f0674.js +406 -0
  24. package/dist/sparkle-core/icons-758d1417.js +41 -0
  25. package/dist/sparkle-core/index-05b398c2.js +34 -0
  26. package/dist/sparkle-core/index-0af0deac.js +312 -0
  27. package/dist/sparkle-core/index-0df264ee.js +4518 -0
  28. package/dist/sparkle-core/index-183cda39.js +223 -0
  29. package/dist/sparkle-core/index-18a69883.js +1336 -0
  30. package/dist/sparkle-core/index-1d7a6fa0.js +269 -0
  31. package/dist/sparkle-core/index-1dec9544.js +3064 -0
  32. package/dist/sparkle-core/index-81dab78f.js +85 -0
  33. package/dist/sparkle-core/index-9b5bcea1.js +22 -0
  34. package/dist/sparkle-core/index-bb469fe3.js +128 -0
  35. package/dist/sparkle-core/index-d2990a48.js +184 -0
  36. package/dist/sparkle-core/index-dd414b33.js +653 -0
  37. package/dist/sparkle-core/index-faeec85a.js +8 -0
  38. package/dist/sparkle-core/index.es-1f6eedc5.js +11066 -0
  39. package/dist/sparkle-core/index.esm.js +19 -1
  40. package/dist/sparkle-core/input-shims-0b2f5522.js +418 -0
  41. package/dist/sparkle-core/ion-accordion-group.entry.js +201 -0
  42. package/dist/sparkle-core/ion-accordion.entry.js +332 -0
  43. package/dist/sparkle-core/ion-action-sheet.entry.js +263 -0
  44. package/dist/sparkle-core/ion-alert.entry.js +448 -0
  45. package/dist/sparkle-core/ion-app.entry.js +75 -0
  46. package/dist/sparkle-core/ion-avatar.entry.js +21 -0
  47. package/dist/sparkle-core/ion-back-button.entry.js +90 -0
  48. package/dist/sparkle-core/ion-backdrop.entry.js +63 -0
  49. package/dist/sparkle-core/ion-badge.entry.js +25 -0
  50. package/dist/sparkle-core/ion-breadcrumb.entry.js +91 -0
  51. package/dist/sparkle-core/ion-breadcrumbs.entry.js +129 -0
  52. package/dist/sparkle-core/ion-button.entry.js +125 -0
  53. package/dist/sparkle-core/ion-buttons.entry.js +38 -0
  54. package/dist/sparkle-core/ion-card-content.entry.js +26 -0
  55. package/dist/sparkle-core/ion-card-header.entry.js +33 -0
  56. package/dist/sparkle-core/ion-card-subtitle.entry.js +26 -0
  57. package/dist/sparkle-core/ion-card-title.entry.js +26 -0
  58. package/dist/sparkle-core/ion-card.entry.js +64 -0
  59. package/dist/sparkle-core/ion-checkbox.entry.js +109 -0
  60. package/dist/sparkle-core/ion-chip.entry.js +36 -0
  61. package/dist/sparkle-core/ion-col.entry.js +121 -0
  62. package/dist/sparkle-core/ion-content.entry.js +319 -0
  63. package/dist/sparkle-core/ion-datetime-button.entry.js +308 -0
  64. package/dist/sparkle-core/ion-datetime.entry.js +1619 -0
  65. package/dist/sparkle-core/ion-fab-button.entry.js +104 -0
  66. package/dist/sparkle-core/ion-fab-list.entry.js +41 -0
  67. package/dist/sparkle-core/ion-fab.entry.js +72 -0
  68. package/dist/sparkle-core/ion-footer.entry.js +116 -0
  69. package/dist/sparkle-core/ion-grid.entry.js +24 -0
  70. package/dist/sparkle-core/ion-header.entry.js +341 -0
  71. package/dist/sparkle-core/ion-icon.entry.js +200 -0
  72. package/dist/sparkle-core/ion-img.entry.js +97 -0
  73. package/dist/sparkle-core/ion-infinite-scroll-content.entry.js +33 -0
  74. package/dist/sparkle-core/ion-infinite-scroll.entry.js +202 -0
  75. package/dist/sparkle-core/ion-input.entry.js +293 -0
  76. package/dist/sparkle-core/ion-item-divider.entry.js +36 -0
  77. package/dist/sparkle-core/ion-item-group.entry.js +27 -0
  78. package/dist/sparkle-core/ion-item-option.entry.js +56 -0
  79. package/dist/sparkle-core/ion-item-options.entry.js +43 -0
  80. package/dist/sparkle-core/ion-item-sliding.entry.js +394 -0
  81. package/dist/sparkle-core/ion-item.entry.js +267 -0
  82. package/dist/sparkle-core/ion-label.entry.js +77 -0
  83. package/dist/sparkle-core/ion-list-header.entry.js +27 -0
  84. package/dist/sparkle-core/ion-list.entry.js +48 -0
  85. package/dist/sparkle-core/ion-loading.entry.js +211 -0
  86. package/dist/sparkle-core/ion-menu-button.entry.js +72 -0
  87. package/dist/sparkle-core/ion-menu-toggle.entry.js +43 -0
  88. package/dist/sparkle-core/ion-menu.entry.js +575 -0
  89. package/dist/sparkle-core/ion-modal.entry.js +1706 -0
  90. package/dist/sparkle-core/ion-nav-link.entry.js +43 -0
  91. package/dist/sparkle-core/ion-nav.entry.js +872 -0
  92. package/dist/sparkle-core/ion-note.entry.js +25 -0
  93. package/dist/sparkle-core/ion-picker-column-internal.entry.js +363 -0
  94. package/dist/sparkle-core/ion-picker-column.entry.js +327 -0
  95. package/dist/sparkle-core/ion-picker-internal.entry.js +454 -0
  96. package/dist/sparkle-core/ion-picker.entry.js +217 -0
  97. package/dist/sparkle-core/ion-popover.entry.js +1362 -0
  98. package/dist/sparkle-core/ion-progress-bar.entry.js +70 -0
  99. package/dist/sparkle-core/ion-radio-group.entry.js +121 -0
  100. package/dist/sparkle-core/ion-radio.entry.js +111 -0
  101. package/dist/sparkle-core/ion-range.entry.js +511 -0
  102. package/dist/sparkle-core/ion-refresher-content.entry.js +31 -0
  103. package/dist/sparkle-core/ion-refresher.entry.js +798 -0
  104. package/dist/sparkle-core/ion-reorder-group.entry.js +277 -0
  105. package/dist/sparkle-core/ion-reorder.entry.js +34 -0
  106. package/dist/sparkle-core/ion-ripple-effect.entry.js +89 -0
  107. package/dist/sparkle-core/ion-route-redirect.entry.js +20 -0
  108. package/dist/sparkle-core/ion-route.entry.js +45 -0
  109. package/dist/sparkle-core/ion-router-link.entry.js +34 -0
  110. package/dist/sparkle-core/ion-router-outlet.entry.js +196 -0
  111. package/dist/sparkle-core/ion-router.entry.js +827 -0
  112. package/dist/sparkle-core/ion-row.entry.js +16 -0
  113. package/dist/sparkle-core/ion-searchbar.entry.js +366 -0
  114. package/dist/sparkle-core/ion-segment-button.entry.js +98 -0
  115. package/dist/sparkle-core/ion-segment.entry.js +415 -0
  116. package/dist/sparkle-core/ion-select-option.entry.js +23 -0
  117. package/dist/sparkle-core/ion-select-popover.entry.js +96 -0
  118. package/dist/sparkle-core/ion-select.entry.js +510 -0
  119. package/dist/sparkle-core/ion-skeleton-text.entry.js +29 -0
  120. package/dist/sparkle-core/ion-slide.entry.js +21 -0
  121. package/dist/sparkle-core/ion-slides.entry.js +387 -0
  122. package/dist/sparkle-core/ion-spinner.entry.js +60 -0
  123. package/dist/sparkle-core/ion-split-pane.entry.js +156 -0
  124. package/dist/sparkle-core/ion-tab-bar.entry.js +71 -0
  125. package/dist/sparkle-core/ion-tab-button.entry.js +99 -0
  126. package/dist/sparkle-core/ion-tab.entry.js +63 -0
  127. package/dist/sparkle-core/ion-tabs.entry.js +150 -0
  128. package/dist/sparkle-core/ion-text.entry.js +20 -0
  129. package/dist/sparkle-core/ion-textarea.entry.js +244 -0
  130. package/dist/sparkle-core/ion-thumbnail.entry.js +16 -0
  131. package/dist/sparkle-core/ion-title.entry.js +48 -0
  132. package/dist/sparkle-core/ion-toast.entry.js +268 -0
  133. package/dist/sparkle-core/ion-toggle.entry.js +173 -0
  134. package/dist/sparkle-core/ion-toolbar.entry.js +70 -0
  135. package/dist/sparkle-core/ion-virtual-scroll.entry.js +551 -0
  136. package/dist/sparkle-core/ionic-global-127576f6.js +226 -0
  137. package/dist/sparkle-core/ios.transition-02531dda.js +479 -0
  138. package/dist/sparkle-core/location-utils-fea12957.js +229 -0
  139. package/dist/sparkle-core/match-path-760e1797.js +343 -0
  140. package/dist/sparkle-core/md.transition-f8765467.js +55 -0
  141. package/dist/sparkle-core/media.service-2609406e.js +36 -0
  142. package/dist/sparkle-core/menu-toggle-util-6cc13cbd.js +12 -0
  143. package/dist/sparkle-core/overlays-fd3cfa13.js +493 -0
  144. package/dist/sparkle-core/parse-60474840.js +1196 -0
  145. package/dist/sparkle-core/purify-d9093094.js +1469 -0
  146. package/dist/sparkle-core/quiz.model-1cff62e4.js +5 -0
  147. package/dist/sparkle-core/shadow-css-1257b266.js +387 -0
  148. package/dist/sparkle-core/signalR.service-2b7645c1.js +2983 -0
  149. package/dist/sparkle-core/sparkle-animation-player.entry.js +513 -0
  150. package/dist/sparkle-core/sparkle-assignment.entry.js +114 -0
  151. package/dist/sparkle-core/sparkle-button.entry.js +24 -0
  152. package/dist/sparkle-core/sparkle-card.entry.js +61 -0
  153. package/dist/sparkle-core/sparkle-cards.entry.js +15 -0
  154. package/dist/sparkle-core/sparkle-character-intro.entry.js +22 -0
  155. package/dist/sparkle-core/sparkle-code.entry.js +39 -0
  156. package/dist/sparkle-core/sparkle-compass-post.entry.js +129 -0
  157. package/dist/sparkle-core/sparkle-compass.entry.js +122 -0
  158. package/dist/sparkle-core/sparkle-core.css +2660 -1
  159. package/dist/sparkle-core/sparkle-core.esm.js +130 -1
  160. package/dist/sparkle-core/sparkle-course-root.entry.js +155 -0
  161. package/dist/sparkle-core/sparkle-discussion-questions.entry.js +122 -0
  162. package/dist/sparkle-core/sparkle-discussion-results.entry.js +189 -0
  163. package/dist/sparkle-core/sparkle-discussion.entry.js +52 -0
  164. package/dist/sparkle-core/sparkle-dropdown.entry.js +57 -0
  165. package/dist/sparkle-core/sparkle-emoji.entry.js +77 -0
  166. package/dist/sparkle-core/sparkle-export-lessons.entry.js +10081 -0
  167. package/dist/sparkle-core/sparkle-facilitator-dashboard.entry.js +93 -0
  168. package/dist/sparkle-core/sparkle-facilitator-header.entry.js +60 -0
  169. package/dist/sparkle-core/sparkle-facilitator-notes-form.entry.js +160 -0
  170. package/dist/sparkle-core/sparkle-facilitator-notes.entry.js +65 -0
  171. package/dist/sparkle-core/sparkle-facilitator-page.entry.js +198 -0
  172. package/dist/sparkle-core/sparkle-feed-post.entry.js +131 -0
  173. package/dist/sparkle-core/sparkle-feedback.entry.js +106 -0
  174. package/dist/sparkle-core/sparkle-file-upload.entry.js +57 -0
  175. package/dist/sparkle-core/sparkle-forgot-password.entry.js +80 -0
  176. package/dist/sparkle-core/sparkle-goal-form.entry.js +182 -0
  177. package/dist/sparkle-core/sparkle-goal-item.entry.js +15 -0
  178. package/dist/sparkle-core/sparkle-goal-progress.entry.js +15 -0
  179. package/dist/sparkle-core/sparkle-goals.entry.js +47 -0
  180. package/dist/sparkle-core/sparkle-gww-comment-list.entry.js +22 -0
  181. package/dist/sparkle-core/sparkle-gww-graph.entry.js +15 -0
  182. package/dist/sparkle-core/sparkle-gww-item.entry.js +80 -0
  183. package/dist/sparkle-core/sparkle-gww.entry.js +44 -0
  184. package/dist/sparkle-core/sparkle-header.entry.js +97 -0
  185. package/dist/sparkle-core/sparkle-health.entry.js +70 -0
  186. package/dist/sparkle-core/sparkle-input.entry.js +52 -0
  187. package/dist/sparkle-core/sparkle-intro.entry.js +22 -0
  188. package/dist/sparkle-core/sparkle-login.entry.js +116 -0
  189. package/dist/sparkle-core/sparkle-lower-content-nav.entry.js +18 -0
  190. package/dist/sparkle-core/sparkle-menu-collapsible.entry.js +42 -0
  191. package/dist/sparkle-core/sparkle-menu-toggle.entry.js +24 -0
  192. package/dist/sparkle-core/sparkle-menu.entry.js +26 -0
  193. package/dist/sparkle-core/sparkle-modal-image.entry.js +33 -0
  194. package/dist/sparkle-core/sparkle-mood.entry.js +76 -0
  195. package/dist/sparkle-core/sparkle-nav.entry.js +113 -0
  196. package/dist/sparkle-core/sparkle-notfound-page.entry.js +25 -0
  197. package/dist/sparkle-core/sparkle-online-students.entry.js +55 -0
  198. package/dist/sparkle-core/sparkle-overlay.entry.js +90 -0
  199. package/dist/sparkle-core/sparkle-page-footer.entry.js +24 -0
  200. package/dist/sparkle-core/sparkle-page.entry.js +245 -0
  201. package/dist/sparkle-core/sparkle-pagination.entry.js +67 -0
  202. package/dist/sparkle-core/sparkle-poll.entry.js +15 -0
  203. package/dist/sparkle-core/sparkle-quiz-container.entry.js +43 -0
  204. package/dist/sparkle-core/sparkle-quiz-feedback.entry.js +18 -0
  205. package/dist/sparkle-core/sparkle-quiz-input.entry.js +16 -0
  206. package/dist/sparkle-core/sparkle-quiz-old.entry.js +116 -0
  207. package/dist/sparkle-core/sparkle-quiz-opinion.entry.js +41 -0
  208. package/dist/sparkle-core/sparkle-quiz-poll.entry.js +16 -0
  209. package/dist/sparkle-core/sparkle-quiz-select.entry.js +29 -0
  210. package/dist/sparkle-core/sparkle-quiz.entry.js +98 -0
  211. package/dist/sparkle-core/sparkle-reset-password.entry.js +96 -0
  212. package/dist/sparkle-core/sparkle-root.entry.js +79 -0
  213. package/dist/sparkle-core/sparkle-select.entry.js +57 -0
  214. package/dist/sparkle-core/sparkle-sidebar.entry.js +39 -0
  215. package/dist/sparkle-core/sparkle-signup.entry.js +144 -0
  216. package/dist/sparkle-core/sparkle-tab.entry.js +22 -0
  217. package/dist/sparkle-core/sparkle-table-of-contents.entry.js +67 -0
  218. package/dist/sparkle-core/sparkle-tabs.entry.js +62 -0
  219. package/dist/sparkle-core/sparkle-unauthorized.entry.js +17 -0
  220. package/dist/sparkle-core/sparkle-user-enrollment.entry.js +85 -0
  221. package/dist/sparkle-core/sparkle-user-profile.entry.js +129 -0
  222. package/dist/sparkle-core/sparkle-validation-error.entry.js +17 -0
  223. package/dist/sparkle-core/sparkle-video-player.entry.js +18 -0
  224. package/dist/sparkle-core/sparkle-youtube.entry.js +35 -0
  225. package/dist/sparkle-core/status-tap-52feb1b1.js +40 -0
  226. package/dist/sparkle-core/stencil-async-content.entry.js +28 -0
  227. package/dist/sparkle-core/stencil-route-link.entry.js +74 -0
  228. package/dist/sparkle-core/stencil-route-switch.entry.js +100 -0
  229. package/dist/sparkle-core/stencil-route-title.entry.js +28 -0
  230. package/dist/sparkle-core/stencil-route.entry.js +93 -0
  231. package/dist/sparkle-core/stencil-router-prompt.entry.js +55 -0
  232. package/dist/sparkle-core/stencil-router-redirect.entry.js +28 -0
  233. package/dist/sparkle-core/stencil-router.entry.js +636 -0
  234. package/dist/sparkle-core/store.service-0f7d998b.js +16 -0
  235. package/dist/sparkle-core/student.service-f0375229.js +59 -0
  236. package/dist/sparkle-core/swipe-back-9a614189.js +73 -0
  237. package/dist/sparkle-core/swiper.bundle-4274e115.js +6418 -0
  238. package/dist/sparkle-core/user.store-3d052406.js +19 -0
  239. package/dist/sparkle-core/util-ba470e54.js +14683 -0
  240. package/dist/sparkle-core/utils-cae23bce.js +114 -0
  241. package/dist/types/components/sparkle-video-player/sparkle-video-player.d.ts +7 -0
  242. package/dist/types/components.d.ts +21 -0
  243. package/package.json +1 -1
  244. package/dist/cjs/PrivateRoute-f97245ce.js +0 -217
  245. package/dist/cjs/active-router-f9e18bd8.js +0 -75
  246. package/dist/cjs/animation-ee586546.js +0 -986
  247. package/dist/cjs/app-globals-33c9f31b.js +0 -9
  248. package/dist/cjs/appdata.service-c8d71e05.js +0 -73
  249. package/dist/cjs/assets.service-bfa75092.js +0 -50
  250. package/dist/cjs/assignment.service-690fb59c.js +0 -19
  251. package/dist/cjs/auth.store-1e630a7d.js +0 -3392
  252. package/dist/cjs/compass-svg.cjs.entry.js +0 -132
  253. package/dist/cjs/context-consumer.cjs.entry.js +0 -29
  254. package/dist/cjs/course-select.cjs.entry.js +0 -30
  255. package/dist/cjs/cubic-bezier-53d26d05.js +0 -93
  256. package/dist/cjs/dir-5af5259a.js +0 -20
  257. package/dist/cjs/environment-config.service-c8ff1f3d.js +0 -28
  258. package/dist/cjs/facilitator.service-ff0e1659.js +0 -95
  259. package/dist/cjs/feed.service-8eca4de6.js +0 -57
  260. package/dist/cjs/focus-visible-b0b07ba6.js +0 -76
  261. package/dist/cjs/framework-delegate-59a98abd.js +0 -111
  262. package/dist/cjs/gesture-controller-0eb5579e.js +0 -196
  263. package/dist/cjs/haptic-780f33c4.js +0 -116
  264. package/dist/cjs/hardware-back-button-92d97ff8.js +0 -76
  265. package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +0 -15124
  266. package/dist/cjs/helpers-c2496722.js +0 -425
  267. package/dist/cjs/httpService-d2e7bf8f.js +0 -687
  268. package/dist/cjs/icons-fda820af.js +0 -26
  269. package/dist/cjs/index-12082cba.js +0 -465
  270. package/dist/cjs/index-15ea05f5.js +0 -314
  271. package/dist/cjs/index-51e8292e.js +0 -1928
  272. package/dist/cjs/index-787d4498.js +0 -232
  273. package/dist/cjs/index-8b5629a6.js +0 -186
  274. package/dist/cjs/index-975586fd.js +0 -48
  275. package/dist/cjs/index-9c7b27e4.js +0 -140
  276. package/dist/cjs/index-af080b50.js +0 -139
  277. package/dist/cjs/index-e56e09b8.js +0 -38
  278. package/dist/cjs/index.cjs.js +0 -26
  279. package/dist/cjs/index.es-38cbcdbe.js +0 -10666
  280. package/dist/cjs/input-shims-eff63b88.js +0 -418
  281. package/dist/cjs/ion-accordion-group.cjs.entry.js +0 -205
  282. package/dist/cjs/ion-accordion.cjs.entry.js +0 -336
  283. package/dist/cjs/ion-action-sheet_7.cjs.entry.js +0 -2935
  284. package/dist/cjs/ion-app.cjs.entry.js +0 -79
  285. package/dist/cjs/ion-back-button.cjs.entry.js +0 -94
  286. package/dist/cjs/ion-backdrop.cjs.entry.js +0 -67
  287. package/dist/cjs/ion-badge.cjs.entry.js +0 -29
  288. package/dist/cjs/ion-breadcrumb.cjs.entry.js +0 -95
  289. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +0 -133
  290. package/dist/cjs/ion-buttons_3.cjs.entry.js +0 -153
  291. package/dist/cjs/ion-card-header.cjs.entry.js +0 -37
  292. package/dist/cjs/ion-card-subtitle.cjs.entry.js +0 -30
  293. package/dist/cjs/ion-card-title.cjs.entry.js +0 -30
  294. package/dist/cjs/ion-chip.cjs.entry.js +0 -40
  295. package/dist/cjs/ion-content_2.cjs.entry.js +0 -659
  296. package/dist/cjs/ion-datetime-button.cjs.entry.js +0 -312
  297. package/dist/cjs/ion-datetime.cjs.entry.js +0 -1623
  298. package/dist/cjs/ion-fab-button.cjs.entry.js +0 -108
  299. package/dist/cjs/ion-fab-list.cjs.entry.js +0 -45
  300. package/dist/cjs/ion-fab.cjs.entry.js +0 -76
  301. package/dist/cjs/ion-footer.cjs.entry.js +0 -120
  302. package/dist/cjs/ion-img.cjs.entry.js +0 -101
  303. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +0 -37
  304. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +0 -206
  305. package/dist/cjs/ion-item-divider.cjs.entry.js +0 -40
  306. package/dist/cjs/ion-item-group.cjs.entry.js +0 -31
  307. package/dist/cjs/ion-item-option.cjs.entry.js +0 -60
  308. package/dist/cjs/ion-item-options.cjs.entry.js +0 -47
  309. package/dist/cjs/ion-item-sliding.cjs.entry.js +0 -398
  310. package/dist/cjs/ion-loading.cjs.entry.js +0 -215
  311. package/dist/cjs/ion-menu-button.cjs.entry.js +0 -76
  312. package/dist/cjs/ion-menu-toggle.cjs.entry.js +0 -47
  313. package/dist/cjs/ion-menu.cjs.entry.js +0 -575
  314. package/dist/cjs/ion-modal.cjs.entry.js +0 -1711
  315. package/dist/cjs/ion-nav-link.cjs.entry.js +0 -47
  316. package/dist/cjs/ion-nav.cjs.entry.js +0 -872
  317. package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +0 -808
  318. package/dist/cjs/ion-picker-column.cjs.entry.js +0 -331
  319. package/dist/cjs/ion-picker.cjs.entry.js +0 -221
  320. package/dist/cjs/ion-progress-bar.cjs.entry.js +0 -74
  321. package/dist/cjs/ion-refresher-content.cjs.entry.js +0 -35
  322. package/dist/cjs/ion-refresher.cjs.entry.js +0 -802
  323. package/dist/cjs/ion-reorder-group.cjs.entry.js +0 -281
  324. package/dist/cjs/ion-reorder.cjs.entry.js +0 -38
  325. package/dist/cjs/ion-route-redirect.cjs.entry.js +0 -24
  326. package/dist/cjs/ion-route.cjs.entry.js +0 -49
  327. package/dist/cjs/ion-router-link.cjs.entry.js +0 -38
  328. package/dist/cjs/ion-router-outlet.cjs.entry.js +0 -200
  329. package/dist/cjs/ion-router.cjs.entry.js +0 -831
  330. package/dist/cjs/ion-searchbar.cjs.entry.js +0 -370
  331. package/dist/cjs/ion-segment-button.cjs.entry.js +0 -102
  332. package/dist/cjs/ion-segment.cjs.entry.js +0 -417
  333. package/dist/cjs/ion-skeleton-text.cjs.entry.js +0 -33
  334. package/dist/cjs/ion-slide.cjs.entry.js +0 -25
  335. package/dist/cjs/ion-slides.cjs.entry.js +0 -391
  336. package/dist/cjs/ion-split-pane.cjs.entry.js +0 -154
  337. package/dist/cjs/ion-tab-bar.cjs.entry.js +0 -75
  338. package/dist/cjs/ion-tab-button.cjs.entry.js +0 -103
  339. package/dist/cjs/ion-tab.cjs.entry.js +0 -59
  340. package/dist/cjs/ion-tabs.cjs.entry.js +0 -154
  341. package/dist/cjs/ion-thumbnail.cjs.entry.js +0 -20
  342. package/dist/cjs/ion-toast.cjs.entry.js +0 -272
  343. package/dist/cjs/ion-toggle.cjs.entry.js +0 -177
  344. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +0 -555
  345. package/dist/cjs/ionic-global-2cde9d3a.js +0 -231
  346. package/dist/cjs/ios.transition-da235483.js +0 -482
  347. package/dist/cjs/keyboard-91096619.js +0 -140
  348. package/dist/cjs/loader.cjs.js +0 -24
  349. package/dist/cjs/localstorage.service-6346a41d.js +0 -40
  350. package/dist/cjs/md.transition-be429e07.js +0 -57
  351. package/dist/cjs/media.service-8a1b9bc5.js +0 -40
  352. package/dist/cjs/menu-toggle-util-7a01448c.js +0 -14
  353. package/dist/cjs/overlays-32df265a.js +0 -507
  354. package/dist/cjs/parse-d0071120.js +0 -1237
  355. package/dist/cjs/purify-fb9c107e.js +0 -1468
  356. package/dist/cjs/signalR.service-bd6b42f9.js +0 -2985
  357. package/dist/cjs/sparkle-animation-player.cjs.entry.js +0 -515
  358. package/dist/cjs/sparkle-assignment.cjs.entry.js +0 -110
  359. package/dist/cjs/sparkle-character-intro.cjs.entry.js +0 -26
  360. package/dist/cjs/sparkle-code.cjs.entry.js +0 -43
  361. package/dist/cjs/sparkle-compass-post.cjs.entry.js +0 -133
  362. package/dist/cjs/sparkle-compass.cjs.entry.js +0 -126
  363. package/dist/cjs/sparkle-core.cjs.js +0 -22
  364. package/dist/cjs/sparkle-discussion-questions_2.cjs.entry.js +0 -281
  365. package/dist/cjs/sparkle-discussion.cjs.entry.js +0 -42
  366. package/dist/cjs/sparkle-emoji.cjs.entry.js +0 -80
  367. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +0 -121
  368. package/dist/cjs/sparkle-feed-post.cjs.entry.js +0 -116
  369. package/dist/cjs/sparkle-feedback.cjs.entry.js +0 -101
  370. package/dist/cjs/sparkle-file-upload.cjs.entry.js +0 -53
  371. package/dist/cjs/sparkle-goal-form.cjs.entry.js +0 -179
  372. package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +0 -26
  373. package/dist/cjs/sparkle-gww-graph.cjs.entry.js +0 -19
  374. package/dist/cjs/sparkle-input.cjs.entry.js +0 -56
  375. package/dist/cjs/sparkle-intro.cjs.entry.js +0 -26
  376. package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +0 -22
  377. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +0 -46
  378. package/dist/cjs/sparkle-modal-image.cjs.entry.js +0 -34
  379. package/dist/cjs/sparkle-notfound-page.cjs.entry.js +0 -25
  380. package/dist/cjs/sparkle-overlay.cjs.entry.js +0 -92
  381. package/dist/cjs/sparkle-poll.cjs.entry.js +0 -19
  382. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +0 -47
  383. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +0 -117
  384. package/dist/cjs/sparkle-quiz-old.cjs.entry.js +0 -120
  385. package/dist/cjs/sparkle-quiz.cjs.entry.js +0 -103
  386. package/dist/cjs/sparkle-select.cjs.entry.js +0 -61
  387. package/dist/cjs/sparkle-sidebar.cjs.entry.js +0 -43
  388. package/dist/cjs/sparkle-tab.cjs.entry.js +0 -26
  389. package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +0 -71
  390. package/dist/cjs/sparkle-tabs.cjs.entry.js +0 -66
  391. package/dist/cjs/sparkle-youtube.cjs.entry.js +0 -39
  392. package/dist/cjs/spinner-configs-0ac05f2d.js +0 -147
  393. package/dist/cjs/status-tap-033befa2.js +0 -42
  394. package/dist/cjs/stencil-async-content.cjs.entry.js +0 -32
  395. package/dist/cjs/stencil-route-title.cjs.entry.js +0 -32
  396. package/dist/cjs/stencil-router-prompt.cjs.entry.js +0 -59
  397. package/dist/cjs/student.service-7e5385be.js +0 -78
  398. package/dist/cjs/swipe-back-4a826f9b.js +0 -76
  399. package/dist/cjs/swiper.bundle-8c897c07.js +0 -6420
  400. package/dist/cjs/theme-b0b295c1.js +0 -48
  401. package/dist/cjs/token.service-7a41953d.js +0 -97
  402. package/dist/cjs/util-47e320b2.js +0 -2462
  403. package/dist/collection/PrivateRoute.js +0 -27
  404. package/dist/collection/appconst.js +0 -13
  405. package/dist/collection/assets/img/forward.svg +0 -5
  406. package/dist/collection/assets/img/help/fitt-logo.svg +0 -1
  407. package/dist/collection/assets/img/home/big-white-wall.svg +0 -15
  408. package/dist/collection/assets/img/home/find-help.svg +0 -23
  409. package/dist/collection/assets/img/home/lessons.svg +0 -26
  410. package/dist/collection/assets/img/home/my-goals.svg +0 -19
  411. package/dist/collection/assets/img/home/my-health.svg +0 -17
  412. package/dist/collection/assets/img/home/my-mood.svg +0 -26
  413. package/dist/collection/assets/img/pause.svg +0 -5
  414. package/dist/collection/assets/img/play-symbol.svg +0 -8
  415. package/dist/collection/assets/img/play.svg +0 -4
  416. package/dist/collection/assets/img/rewind.svg +0 -5
  417. package/dist/collection/assets/lib/SignalRAspNetCoreHelper.js +0 -17
  418. package/dist/collection/assets/lib/sparkleUtility.js +0 -8
  419. package/dist/collection/assets/svg/profile.svg +0 -2
  420. package/dist/collection/collection-manifest.json +0 -218
  421. package/dist/collection/components/compass-svg/compass-svg.css +0 -15
  422. package/dist/collection/components/compass-svg/compass-svg.js +0 -156
  423. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.css +0 -7
  424. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.js +0 -110
  425. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.css +0 -3
  426. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.js +0 -214
  427. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header-mobile-collapse/facilitator-header-mobile-collapse.js +0 -0
  428. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.css +0 -172
  429. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.js +0 -104
  430. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.css +0 -3
  431. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.js +0 -144
  432. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.css +0 -14
  433. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.js +0 -64
  434. package/dist/collection/components/layout/facilitator/facilitator-page.css +0 -196
  435. package/dist/collection/components/layout/facilitator/facilitator-page.js +0 -281
  436. package/dist/collection/components/layout/facilitator/online-students/online-students.css +0 -0
  437. package/dist/collection/components/layout/facilitator/online-students/online-students.js +0 -70
  438. package/dist/collection/components/layout/page/page.css +0 -183
  439. package/dist/collection/components/layout/page/page.js +0 -321
  440. package/dist/collection/components/layout/page/templates/default.js +0 -9
  441. package/dist/collection/components/layout/page/templates/error.js +0 -33
  442. package/dist/collection/components/layout/page/templates/index.js +0 -8
  443. package/dist/collection/components/layout/page/templates/pdf.js +0 -8
  444. package/dist/collection/components/layout/page/to-hypertext.js +0 -27
  445. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.css +0 -3
  446. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.js +0 -252
  447. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.css +0 -12
  448. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.js +0 -59
  449. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.css +0 -33
  450. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.js +0 -37
  451. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.css +0 -8
  452. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.js +0 -40
  453. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.css +0 -7
  454. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.js +0 -52
  455. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.css +0 -3
  456. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.js +0 -14
  457. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.css +0 -30
  458. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.js +0 -187
  459. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.css +0 -3
  460. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.js +0 -43
  461. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.css +0 -10
  462. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.js +0 -111
  463. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.css +0 -11
  464. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.js +0 -127
  465. package/dist/collection/components/modal-image/modal-image.css +0 -61
  466. package/dist/collection/components/modal-image/modal-image.js +0 -159
  467. package/dist/collection/components/sparkle-animation-player/assets/play-button-disabled-overlay.png +0 -0
  468. package/dist/collection/components/sparkle-animation-player/assets/play-button-overlay.png +0 -0
  469. package/dist/collection/components/sparkle-animation-player/caption-parser.js +0 -94
  470. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.css +0 -157
  471. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +0 -598
  472. package/dist/collection/components/sparkle-assignment/sparkle-assignment.css +0 -30
  473. package/dist/collection/components/sparkle-assignment/sparkle-assignment.js +0 -159
  474. package/dist/collection/components/sparkle-character-intro/assets/characters/character-img.jpg +0 -0
  475. package/dist/collection/components/sparkle-character-intro/assets/characters/jen.png +0 -0
  476. package/dist/collection/components/sparkle-character-intro/assets/characters/kimberly.png +0 -0
  477. package/dist/collection/components/sparkle-character-intro/assets/characters/valeria.png +0 -0
  478. package/dist/collection/components/sparkle-character-intro/assets/characters/yuna.png +0 -0
  479. package/dist/collection/components/sparkle-character-intro/assets/characters/zynab.png +0 -0
  480. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +0 -74
  481. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +0 -68
  482. package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.css +0 -35
  483. package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.js +0 -171
  484. package/dist/collection/components/sparkle-compass/sparkle-compass.css +0 -25
  485. package/dist/collection/components/sparkle-compass/sparkle-compass.js +0 -283
  486. package/dist/collection/components/sparkle-course-root/sparkle-course-root.css +0 -3
  487. package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +0 -196
  488. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.css +0 -157
  489. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.js +0 -232
  490. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.css +0 -158
  491. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.js +0 -274
  492. package/dist/collection/components/sparkle-discussion/sparkle-discussion.css +0 -5
  493. package/dist/collection/components/sparkle-discussion/sparkle-discussion.js +0 -112
  494. package/dist/collection/components/sparkle-emoji/sparkle-emoji.css +0 -16
  495. package/dist/collection/components/sparkle-emoji/sparkle-emoji.js +0 -116
  496. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +0 -35
  497. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +0 -193
  498. package/dist/collection/components/sparkle-feedback/sparkle-feedback.css +0 -3
  499. package/dist/collection/components/sparkle-feedback/sparkle-feedback.js +0 -118
  500. package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.css +0 -0
  501. package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.js +0 -105
  502. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.css +0 -4
  503. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.js +0 -107
  504. package/dist/collection/components/sparkle-input/sparkle-input.css +0 -0
  505. package/dist/collection/components/sparkle-input/sparkle-input.js +0 -212
  506. package/dist/collection/components/sparkle-intro/sparkle-intro.css +0 -15
  507. package/dist/collection/components/sparkle-intro/sparkle-intro.js +0 -35
  508. package/dist/collection/components/sparkle-login/sparkle-login.css +0 -4
  509. package/dist/collection/components/sparkle-login/sparkle-login.js +0 -173
  510. package/dist/collection/components/sparkle-poll/sparkle-poll.css +0 -3
  511. package/dist/collection/components/sparkle-poll/sparkle-poll.js +0 -15
  512. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.css +0 -3
  513. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.js +0 -69
  514. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.css +0 -3
  515. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.js +0 -59
  516. package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.css +0 -48
  517. package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.js +0 -327
  518. package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.css +0 -18
  519. package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.js +0 -106
  520. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.css +0 -3
  521. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.js +0 -59
  522. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.css +0 -3
  523. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.js +0 -100
  524. package/dist/collection/components/sparkle-quiz/sparkle-quiz.css +0 -48
  525. package/dist/collection/components/sparkle-quiz/sparkle-quiz.js +0 -221
  526. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.css +0 -3
  527. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.js +0 -98
  528. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.css +0 -3
  529. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.js +0 -126
  530. package/dist/collection/components/sparkle-root/sparkle-root.css +0 -61
  531. package/dist/collection/components/sparkle-root/sparkle-root.js +0 -86
  532. package/dist/collection/components/sparkle-signup/sparkle-signup.css +0 -6
  533. package/dist/collection/components/sparkle-signup/sparkle-signup.js +0 -197
  534. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.css +0 -13
  535. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.js +0 -18
  536. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.css +0 -3
  537. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.js +0 -93
  538. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.css +0 -54
  539. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.js +0 -151
  540. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.css +0 -11
  541. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.js +0 -44
  542. package/dist/collection/components/sparkle-youtube/sparkle-youtube.css +0 -24
  543. package/dist/collection/components/sparkle-youtube/sparkle-youtube.js +0 -99
  544. package/dist/collection/global/app.js +0 -4
  545. package/dist/collection/helpers/utils.js +0 -3
  546. package/dist/collection/icons.js +0 -36
  547. package/dist/collection/index.js +0 -3
  548. package/dist/collection/l10n.js +0 -18
  549. package/dist/collection/models/api.model.js +0 -7
  550. package/dist/collection/models/assets.model.js +0 -1
  551. package/dist/collection/models/auth/auth.user.js +0 -1
  552. package/dist/collection/models/class.model.js +0 -5
  553. package/dist/collection/models/course.model.js +0 -10
  554. package/dist/collection/models/definitions.js +0 -1
  555. package/dist/collection/models/facilitator-dashboard.model.js +0 -5
  556. package/dist/collection/models/goal.model.js +0 -1
  557. package/dist/collection/models/index.js +0 -1
  558. package/dist/collection/models/markdown.model.js +0 -1
  559. package/dist/collection/models/page.model.js +0 -1
  560. package/dist/collection/models/quiz.model.js +0 -3
  561. package/dist/collection/models/user.model.js +0 -1
  562. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part1.js +0 -2727
  563. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part2.js +0 -2042
  564. package/dist/collection/services/account.service.js +0 -61
  565. package/dist/collection/services/appdata.service.js +0 -60
  566. package/dist/collection/services/assignment.service.js +0 -14
  567. package/dist/collection/services/auth/auth.service.js +0 -64
  568. package/dist/collection/services/core/assets.service.js +0 -45
  569. package/dist/collection/services/core/localstorage.service.js +0 -34
  570. package/dist/collection/services/environment/environment-config.js +0 -24
  571. package/dist/collection/services/environment/environment-config.service.js +0 -24
  572. package/dist/collection/services/facilitator.service.js +0 -76
  573. package/dist/collection/services/feed.service.js +0 -43
  574. package/dist/collection/services/httpService.js +0 -103
  575. package/dist/collection/services/index.js +0 -4
  576. package/dist/collection/services/media.service.js +0 -29
  577. package/dist/collection/services/signalR.service.js +0 -83
  578. package/dist/collection/services/store.service.js +0 -13
  579. package/dist/collection/services/student.service.js +0 -56
  580. package/dist/collection/services/token.service.js +0 -79
  581. package/dist/collection/stores/auth.store.js +0 -12
  582. package/dist/collection/stores/class.store.js +0 -5
  583. package/dist/collection/stores/error.store.js +0 -5
  584. package/dist/collection/stores/facilitator.store.js +0 -15
  585. package/dist/collection/stores/feed.store.js +0 -8
  586. package/dist/collection/stores/goal.store.js +0 -7
  587. package/dist/collection/stores/index.js +0 -1
  588. package/dist/collection/stores/media.store.js +0 -5
  589. package/dist/collection/stores/mood.store.js +0 -5
  590. package/dist/collection/stores/nav.store.js +0 -11
  591. package/dist/collection/stores/signalR.store.js +0 -6
  592. package/dist/collection/stores/theme.store.js +0 -9
  593. package/dist/collection/stores/toc.store.js +0 -5
  594. package/dist/collection/stores/user.store.js +0 -16
  595. package/dist/collection/util.js +0 -55
  596. package/dist/collection/utils.js +0 -92
  597. package/dist/esm/PrivateRoute-90ac95b8.js +0 -212
  598. package/dist/esm/active-router-fc9e4e06.js +0 -73
  599. package/dist/esm/animation-12377cb3.js +0 -984
  600. package/dist/esm/app-globals-3f0347b0.js +0 -7
  601. package/dist/esm/appdata.service-2e84e167.js +0 -70
  602. package/dist/esm/assets.service-def1d63c.js +0 -48
  603. package/dist/esm/assignment.service-8d31f141.js +0 -17
  604. package/dist/esm/auth.store-dba2c2da.js +0 -3381
  605. package/dist/esm/compass-svg.entry.js +0 -128
  606. package/dist/esm/context-consumer.entry.js +0 -25
  607. package/dist/esm/course-select.entry.js +0 -26
  608. package/dist/esm/dir-03012648.js +0 -18
  609. package/dist/esm/environment-config.service-b191f276.js +0 -26
  610. package/dist/esm/facilitator.service-18c47bdf.js +0 -92
  611. package/dist/esm/feed.service-b4f3cae4.js +0 -54
  612. package/dist/esm/framework-delegate-3e634a5c.js +0 -107
  613. package/dist/esm/gesture-controller-7be18351.js +0 -194
  614. package/dist/esm/haptic-522f76f2.js +0 -110
  615. package/dist/esm/header-mobile-collapse_61.entry.js +0 -15060
  616. package/dist/esm/helpers-bf0e23d6.js +0 -403
  617. package/dist/esm/httpService-7986aeed.js +0 -685
  618. package/dist/esm/icons-1c794c74.js +0 -18
  619. package/dist/esm/index-21661af2.js +0 -463
  620. package/dist/esm/index-2b84cad2.js +0 -223
  621. package/dist/esm/index-4044fde9.js +0 -25
  622. package/dist/esm/index-45fec1e7.js +0 -184
  623. package/dist/esm/index-5e8971ae.js +0 -128
  624. package/dist/esm/index-c04b9ed5.js +0 -1888
  625. package/dist/esm/index-cded2d87.js +0 -312
  626. package/dist/esm/index-dad75b83.js +0 -34
  627. package/dist/esm/index.es-e0c0f891.js +0 -10580
  628. package/dist/esm/index.js +0 -12
  629. package/dist/esm/input-shims-671d8d9f.js +0 -416
  630. package/dist/esm/ion-accordion-group.entry.js +0 -201
  631. package/dist/esm/ion-accordion.entry.js +0 -332
  632. package/dist/esm/ion-action-sheet_7.entry.js +0 -2925
  633. package/dist/esm/ion-app.entry.js +0 -75
  634. package/dist/esm/ion-back-button.entry.js +0 -90
  635. package/dist/esm/ion-backdrop.entry.js +0 -63
  636. package/dist/esm/ion-badge.entry.js +0 -25
  637. package/dist/esm/ion-breadcrumb.entry.js +0 -91
  638. package/dist/esm/ion-breadcrumbs.entry.js +0 -129
  639. package/dist/esm/ion-buttons_3.entry.js +0 -147
  640. package/dist/esm/ion-card-header.entry.js +0 -33
  641. package/dist/esm/ion-card-subtitle.entry.js +0 -26
  642. package/dist/esm/ion-card-title.entry.js +0 -26
  643. package/dist/esm/ion-chip.entry.js +0 -36
  644. package/dist/esm/ion-content_2.entry.js +0 -654
  645. package/dist/esm/ion-datetime-button.entry.js +0 -308
  646. package/dist/esm/ion-datetime.entry.js +0 -1619
  647. package/dist/esm/ion-fab-button.entry.js +0 -104
  648. package/dist/esm/ion-fab-list.entry.js +0 -41
  649. package/dist/esm/ion-fab.entry.js +0 -72
  650. package/dist/esm/ion-footer.entry.js +0 -116
  651. package/dist/esm/ion-img.entry.js +0 -97
  652. package/dist/esm/ion-infinite-scroll-content.entry.js +0 -33
  653. package/dist/esm/ion-infinite-scroll.entry.js +0 -202
  654. package/dist/esm/ion-item-divider.entry.js +0 -36
  655. package/dist/esm/ion-item-group.entry.js +0 -27
  656. package/dist/esm/ion-item-option.entry.js +0 -56
  657. package/dist/esm/ion-item-options.entry.js +0 -43
  658. package/dist/esm/ion-item-sliding.entry.js +0 -394
  659. package/dist/esm/ion-loading.entry.js +0 -211
  660. package/dist/esm/ion-menu-button.entry.js +0 -72
  661. package/dist/esm/ion-menu-toggle.entry.js +0 -43
  662. package/dist/esm/ion-menu.entry.js +0 -571
  663. package/dist/esm/ion-modal.entry.js +0 -1707
  664. package/dist/esm/ion-nav-link.entry.js +0 -43
  665. package/dist/esm/ion-nav.entry.js +0 -868
  666. package/dist/esm/ion-picker-column-internal_2.entry.js +0 -803
  667. package/dist/esm/ion-picker-column.entry.js +0 -327
  668. package/dist/esm/ion-picker.entry.js +0 -217
  669. package/dist/esm/ion-progress-bar.entry.js +0 -70
  670. package/dist/esm/ion-refresher-content.entry.js +0 -31
  671. package/dist/esm/ion-refresher.entry.js +0 -798
  672. package/dist/esm/ion-reorder-group.entry.js +0 -277
  673. package/dist/esm/ion-reorder.entry.js +0 -34
  674. package/dist/esm/ion-route-redirect.entry.js +0 -20
  675. package/dist/esm/ion-route.entry.js +0 -45
  676. package/dist/esm/ion-router-link.entry.js +0 -34
  677. package/dist/esm/ion-router-outlet.entry.js +0 -196
  678. package/dist/esm/ion-router.entry.js +0 -827
  679. package/dist/esm/ion-searchbar.entry.js +0 -366
  680. package/dist/esm/ion-segment-button.entry.js +0 -98
  681. package/dist/esm/ion-segment.entry.js +0 -413
  682. package/dist/esm/ion-skeleton-text.entry.js +0 -29
  683. package/dist/esm/ion-slide.entry.js +0 -21
  684. package/dist/esm/ion-slides.entry.js +0 -387
  685. package/dist/esm/ion-split-pane.entry.js +0 -150
  686. package/dist/esm/ion-tab-bar.entry.js +0 -71
  687. package/dist/esm/ion-tab-button.entry.js +0 -99
  688. package/dist/esm/ion-tab.entry.js +0 -55
  689. package/dist/esm/ion-tabs.entry.js +0 -150
  690. package/dist/esm/ion-thumbnail.entry.js +0 -16
  691. package/dist/esm/ion-toast.entry.js +0 -268
  692. package/dist/esm/ion-toggle.entry.js +0 -173
  693. package/dist/esm/ion-virtual-scroll.entry.js +0 -551
  694. package/dist/esm/ionic-global-4903e23e.js +0 -226
  695. package/dist/esm/ios.transition-131d64fe.js +0 -479
  696. package/dist/esm/loader.js +0 -20
  697. package/dist/esm/md.transition-f6126011.js +0 -55
  698. package/dist/esm/media.service-6e90bc41.js +0 -37
  699. package/dist/esm/menu-toggle-util-bace8ae6.js +0 -12
  700. package/dist/esm/overlays-4233a39d.js +0 -491
  701. package/dist/esm/parse-1ae3a9bb.js +0 -1196
  702. package/dist/esm/polyfills/core-js.js +0 -11
  703. package/dist/esm/polyfills/css-shim.js +0 -1
  704. package/dist/esm/polyfills/dom.js +0 -79
  705. package/dist/esm/polyfills/es5-html-element.js +0 -1
  706. package/dist/esm/polyfills/index.js +0 -34
  707. package/dist/esm/polyfills/system.js +0 -6
  708. package/dist/esm/purify-85bfcc69.js +0 -1466
  709. package/dist/esm/signalR.service-c33fba50.js +0 -2982
  710. package/dist/esm/sparkle-animation-player.entry.js +0 -511
  711. package/dist/esm/sparkle-assignment.entry.js +0 -106
  712. package/dist/esm/sparkle-character-intro.entry.js +0 -22
  713. package/dist/esm/sparkle-code.entry.js +0 -39
  714. package/dist/esm/sparkle-compass-post.entry.js +0 -129
  715. package/dist/esm/sparkle-compass.entry.js +0 -122
  716. package/dist/esm/sparkle-core.js +0 -20
  717. package/dist/esm/sparkle-discussion-questions_2.entry.js +0 -276
  718. package/dist/esm/sparkle-discussion.entry.js +0 -38
  719. package/dist/esm/sparkle-emoji.entry.js +0 -76
  720. package/dist/esm/sparkle-facilitator-notes-form.entry.js +0 -117
  721. package/dist/esm/sparkle-feed-post.entry.js +0 -112
  722. package/dist/esm/sparkle-feedback.entry.js +0 -97
  723. package/dist/esm/sparkle-file-upload.entry.js +0 -49
  724. package/dist/esm/sparkle-goal-form.entry.js +0 -175
  725. package/dist/esm/sparkle-gww-comment-list.entry.js +0 -22
  726. package/dist/esm/sparkle-gww-graph.entry.js +0 -15
  727. package/dist/esm/sparkle-input.entry.js +0 -52
  728. package/dist/esm/sparkle-intro.entry.js +0 -22
  729. package/dist/esm/sparkle-lower-content-nav.entry.js +0 -18
  730. package/dist/esm/sparkle-menu-collapsible.entry.js +0 -42
  731. package/dist/esm/sparkle-modal-image.entry.js +0 -30
  732. package/dist/esm/sparkle-notfound-page.entry.js +0 -21
  733. package/dist/esm/sparkle-overlay.entry.js +0 -88
  734. package/dist/esm/sparkle-poll.entry.js +0 -15
  735. package/dist/esm/sparkle-quiz-container.entry.js +0 -43
  736. package/dist/esm/sparkle-quiz-feedback_5.entry.js +0 -109
  737. package/dist/esm/sparkle-quiz-old.entry.js +0 -116
  738. package/dist/esm/sparkle-quiz.entry.js +0 -99
  739. package/dist/esm/sparkle-select.entry.js +0 -57
  740. package/dist/esm/sparkle-sidebar.entry.js +0 -39
  741. package/dist/esm/sparkle-tab.entry.js +0 -22
  742. package/dist/esm/sparkle-table-of-contents.entry.js +0 -67
  743. package/dist/esm/sparkle-tabs.entry.js +0 -62
  744. package/dist/esm/sparkle-youtube.entry.js +0 -35
  745. package/dist/esm/status-tap-dde52787.js +0 -40
  746. package/dist/esm/stencil-async-content.entry.js +0 -28
  747. package/dist/esm/stencil-route-title.entry.js +0 -28
  748. package/dist/esm/stencil-router-prompt.entry.js +0 -55
  749. package/dist/esm/student.service-08af124f.js +0 -75
  750. package/dist/esm/swipe-back-7847a0c1.js +0 -74
  751. package/dist/esm/swiper.bundle-b6a959de.js +0 -6418
  752. package/dist/esm/token.service-71a5d33f.js +0 -94
  753. package/dist/esm/util-57cc8006.js +0 -2451
  754. package/dist/index.cjs.js +0 -1
  755. package/dist/index.js +0 -1
  756. package/dist/loader/cdn.js +0 -3
  757. package/dist/loader/index.cjs.js +0 -3
  758. package/dist/loader/index.d.ts +0 -12
  759. package/dist/loader/index.es2017.js +0 -3
  760. package/dist/loader/index.js +0 -4
  761. package/dist/loader/package.json +0 -10
  762. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +0 -75
  763. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +0 -72
  764. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +0 -25
  765. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +0 -59
  766. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +0 -357
  767. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +0 -290
  768. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +0 -494
  769. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +0 -502
  770. package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +0 -17
  771. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +0 -22
  772. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +0 -22
  773. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +0 -281
  774. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +0 -309
  775. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +0 -26
  776. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +0 -26
  777. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +0 -58
  778. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +0 -62
  779. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +0 -234
  780. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +0 -237
  781. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +0 -38
  782. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +0 -37
  783. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +0 -439
  784. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +0 -428
  785. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +0 -128
  786. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +0 -151
  787. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +0 -101
  788. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +0 -95
  789. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +0 -61
  790. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +0 -63
  791. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +0 -37
  792. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +0 -35
  793. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +0 -28
  794. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +0 -26
  795. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +0 -27
  796. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +0 -27
  797. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +0 -169
  798. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +0 -172
  799. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +0 -200
  800. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +0 -200
  801. package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +0 -108
  802. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +0 -237
  803. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +0 -648
  804. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +0 -637
  805. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +0 -60
  806. package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +0 -61
  807. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +0 -338
  808. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +0 -307
  809. package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +0 -116
  810. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +0 -37
  811. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +0 -37
  812. package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +0 -151
  813. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +0 -108
  814. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +0 -40
  815. package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +0 -12
  816. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +0 -8
  817. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +0 -54
  818. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +0 -54
  819. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +0 -185
  820. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +0 -185
  821. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +0 -669
  822. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +0 -928
  823. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +0 -204
  824. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +0 -297
  825. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +0 -3
  826. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +0 -3
  827. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +0 -186
  828. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +0 -180
  829. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +0 -88
  830. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +0 -85
  831. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +0 -42
  832. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +0 -156
  833. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +0 -250
  834. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +0 -91
  835. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +0 -114
  836. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +0 -118
  837. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +0 -94
  838. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +0 -109
  839. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +0 -100
  840. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +0 -127
  841. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +0 -123
  842. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +0 -175
  843. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +0 -178
  844. package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +0 -3
  845. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +0 -250
  846. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +0 -177
  847. package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +0 -10
  848. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +0 -16
  849. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +0 -17
  850. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +0 -217
  851. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +0 -204
  852. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +0 -122
  853. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +0 -123
  854. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +0 -82
  855. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +0 -85
  856. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +0 -126
  857. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +0 -122
  858. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +0 -201
  859. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +0 -132
  860. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +0 -206
  861. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +0 -206
  862. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +0 -177
  863. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +0 -178
  864. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +0 -275
  865. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +0 -320
  866. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +0 -189
  867. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +0 -210
  868. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +0 -15
  869. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +0 -15
  870. package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +0 -33
  871. package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +0 -58
  872. package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +0 -29
  873. package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +0 -10
  874. package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +0 -4
  875. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +0 -348
  876. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +0 -279
  877. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +0 -65
  878. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +0 -36
  879. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +0 -446
  880. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +0 -424
  881. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +0 -145
  882. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +0 -177
  883. package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +0 -3
  884. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +0 -14
  885. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +0 -37
  886. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +0 -53
  887. package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +0 -31
  888. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +0 -764
  889. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +0 -764
  890. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +0 -167
  891. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +0 -108
  892. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +0 -108
  893. package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +0 -4
  894. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +0 -97
  895. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +0 -82
  896. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +0 -308
  897. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +0 -331
  898. package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +0 -19
  899. package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +0 -3
  900. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +0 -175
  901. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +0 -179
  902. package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +0 -21
  903. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +0 -122
  904. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +0 -55
  905. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +0 -262
  906. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +0 -295
  907. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +0 -286
  908. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +0 -261
  909. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +0 -175
  910. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +0 -168
  911. package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +0 -21
  912. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +0 -49
  913. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +0 -208
  914. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +0 -31
  915. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +0 -245
  916. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +0 -115
  917. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +0 -255
  918. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +0 -232
  919. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +0 -3
  920. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +0 -25
  921. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +0 -71
  922. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +0 -194
  923. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +0 -4
  924. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +0 -67
  925. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +0 -25
  926. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +0 -93
  927. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +0 -52
  928. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +0 -98
  929. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +0 -8
  930. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +0 -37
  931. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +0 -64
  932. package/dist/node_modules/@stencil/router/dist/collection/components/route/route.css +0 -3
  933. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +0 -101
  934. package/dist/sparkle-core/p-00d10dc9.js +0 -4
  935. package/dist/sparkle-core/p-0147266a.js +0 -1
  936. package/dist/sparkle-core/p-04c7b276.entry.js +0 -1
  937. package/dist/sparkle-core/p-05c032dd.js +0 -4
  938. package/dist/sparkle-core/p-06642405.entry.js +0 -1
  939. package/dist/sparkle-core/p-0664370b.entry.js +0 -1
  940. package/dist/sparkle-core/p-06c7d0f2.entry.js +0 -1
  941. package/dist/sparkle-core/p-076f0239.js +0 -4
  942. package/dist/sparkle-core/p-077c732b.js +0 -4
  943. package/dist/sparkle-core/p-08420531.entry.js +0 -1
  944. package/dist/sparkle-core/p-08cca80d.entry.js +0 -1
  945. package/dist/sparkle-core/p-0ad5c123.entry.js +0 -1
  946. package/dist/sparkle-core/p-0afa3a4d.entry.js +0 -1
  947. package/dist/sparkle-core/p-0c3f3ea6.entry.js +0 -1
  948. package/dist/sparkle-core/p-0e4de1d0.js +0 -4
  949. package/dist/sparkle-core/p-0e8e539f.entry.js +0 -1
  950. package/dist/sparkle-core/p-11356b03.entry.js +0 -1
  951. package/dist/sparkle-core/p-11a6c175.entry.js +0 -1
  952. package/dist/sparkle-core/p-12dd96d7.js +0 -4
  953. package/dist/sparkle-core/p-13ec39db.entry.js +0 -1
  954. package/dist/sparkle-core/p-1adc98f6.js +0 -1
  955. package/dist/sparkle-core/p-1b1ba156.entry.js +0 -1
  956. package/dist/sparkle-core/p-1e125ca5.entry.js +0 -1
  957. package/dist/sparkle-core/p-1e4782af.entry.js +0 -1
  958. package/dist/sparkle-core/p-2033cd86.js +0 -7
  959. package/dist/sparkle-core/p-214d1229.entry.js +0 -1
  960. package/dist/sparkle-core/p-23aca7ca.js +0 -4
  961. package/dist/sparkle-core/p-24cb9a33.entry.js +0 -1
  962. package/dist/sparkle-core/p-27fbabc3.entry.js +0 -1
  963. package/dist/sparkle-core/p-2ba70507.entry.js +0 -1
  964. package/dist/sparkle-core/p-2c1ca854.entry.js +0 -1
  965. package/dist/sparkle-core/p-2d9659e2.entry.js +0 -1
  966. package/dist/sparkle-core/p-2f569553.js +0 -1
  967. package/dist/sparkle-core/p-30b810d1.entry.js +0 -4
  968. package/dist/sparkle-core/p-32f4e565.entry.js +0 -1
  969. package/dist/sparkle-core/p-352677e6.entry.js +0 -1
  970. package/dist/sparkle-core/p-38b7cf68.entry.js +0 -1
  971. package/dist/sparkle-core/p-38c842d5.entry.js +0 -1
  972. package/dist/sparkle-core/p-3963e02b.entry.js +0 -1
  973. package/dist/sparkle-core/p-39712c56.entry.js +0 -4
  974. package/dist/sparkle-core/p-39a31e43.js +0 -1
  975. package/dist/sparkle-core/p-3daf2915.entry.js +0 -352
  976. package/dist/sparkle-core/p-3de0e00c.js +0 -4
  977. package/dist/sparkle-core/p-4053ecdb.entry.js +0 -1
  978. package/dist/sparkle-core/p-408176ba.js +0 -1
  979. package/dist/sparkle-core/p-42ed7d5f.entry.js +0 -1
  980. package/dist/sparkle-core/p-48f72e63.js +0 -4
  981. package/dist/sparkle-core/p-4b4a8703.js +0 -1
  982. package/dist/sparkle-core/p-4c6a7e52.js +0 -1
  983. package/dist/sparkle-core/p-4d1cfcbe.entry.js +0 -1
  984. package/dist/sparkle-core/p-4d4077ea.js +0 -4
  985. package/dist/sparkle-core/p-4fba3e4c.js +0 -1
  986. package/dist/sparkle-core/p-506221fe.js +0 -4
  987. package/dist/sparkle-core/p-5096739e.entry.js +0 -1
  988. package/dist/sparkle-core/p-5322c920.entry.js +0 -1
  989. package/dist/sparkle-core/p-5893bbe5.entry.js +0 -1
  990. package/dist/sparkle-core/p-594a6982.entry.js +0 -1
  991. package/dist/sparkle-core/p-5c435d5a.entry.js +0 -1
  992. package/dist/sparkle-core/p-5cad23f1.js +0 -3
  993. package/dist/sparkle-core/p-5d409601.js +0 -1
  994. package/dist/sparkle-core/p-601397df.entry.js +0 -1
  995. package/dist/sparkle-core/p-604a7987.js +0 -4
  996. package/dist/sparkle-core/p-616941c6.entry.js +0 -1
  997. package/dist/sparkle-core/p-6316d124.entry.js +0 -1
  998. package/dist/sparkle-core/p-63f71ada.entry.js +0 -1
  999. package/dist/sparkle-core/p-69487d90.entry.js +0 -1
  1000. package/dist/sparkle-core/p-6bde0192.entry.js +0 -7
  1001. package/dist/sparkle-core/p-6d2f4093.entry.js +0 -7
  1002. package/dist/sparkle-core/p-6ffd2420.entry.js +0 -1
  1003. package/dist/sparkle-core/p-72053ae0.entry.js +0 -1
  1004. package/dist/sparkle-core/p-73721c84.js +0 -4
  1005. package/dist/sparkle-core/p-74864276.entry.js +0 -1
  1006. package/dist/sparkle-core/p-7d8427eb.js +0 -4
  1007. package/dist/sparkle-core/p-7dae0f0e.js +0 -1
  1008. package/dist/sparkle-core/p-7dbfc316.js +0 -1
  1009. package/dist/sparkle-core/p-7e7ce516.js +0 -4
  1010. package/dist/sparkle-core/p-81714d94.entry.js +0 -1
  1011. package/dist/sparkle-core/p-8492a765.entry.js +0 -1
  1012. package/dist/sparkle-core/p-859563db.entry.js +0 -1
  1013. package/dist/sparkle-core/p-85d4cd5c.entry.js +0 -1
  1014. package/dist/sparkle-core/p-865f36a8.entry.js +0 -1
  1015. package/dist/sparkle-core/p-86ed13f0.js +0 -5
  1016. package/dist/sparkle-core/p-871106e0.js +0 -4
  1017. package/dist/sparkle-core/p-894ff7e6.entry.js +0 -1
  1018. package/dist/sparkle-core/p-8a41b502.entry.js +0 -1
  1019. package/dist/sparkle-core/p-8b56f734.js +0 -1
  1020. package/dist/sparkle-core/p-8c74cbb6.entry.js +0 -1
  1021. package/dist/sparkle-core/p-924b2917.js +0 -4
  1022. package/dist/sparkle-core/p-9289cdbc.entry.js +0 -1
  1023. package/dist/sparkle-core/p-957715c5.entry.js +0 -1
  1024. package/dist/sparkle-core/p-973fe404.entry.js +0 -22
  1025. package/dist/sparkle-core/p-975b99ee.entry.js +0 -1
  1026. package/dist/sparkle-core/p-98daeddb.entry.js +0 -1
  1027. package/dist/sparkle-core/p-99ee9919.js +0 -1
  1028. package/dist/sparkle-core/p-9abbd715.entry.js +0 -1
  1029. package/dist/sparkle-core/p-9d894ed4.js +0 -4
  1030. package/dist/sparkle-core/p-9e309b3e.entry.js +0 -1
  1031. package/dist/sparkle-core/p-9e7fee8f.entry.js +0 -1
  1032. package/dist/sparkle-core/p-9ebf0537.entry.js +0 -1
  1033. package/dist/sparkle-core/p-a208ab2d.js +0 -4
  1034. package/dist/sparkle-core/p-a2638250.entry.js +0 -1
  1035. package/dist/sparkle-core/p-a2ebcf0a.entry.js +0 -1
  1036. package/dist/sparkle-core/p-a98d7ebe.entry.js +0 -1
  1037. package/dist/sparkle-core/p-add30d46.js +0 -4
  1038. package/dist/sparkle-core/p-b0603d19.js +0 -16
  1039. package/dist/sparkle-core/p-b06e2bef.js +0 -1
  1040. package/dist/sparkle-core/p-b3f375fb.entry.js +0 -1
  1041. package/dist/sparkle-core/p-b5f3e1bf.entry.js +0 -1
  1042. package/dist/sparkle-core/p-b6fec622.entry.js +0 -1
  1043. package/dist/sparkle-core/p-b8d71ff4.js +0 -1
  1044. package/dist/sparkle-core/p-b96f3c84.entry.js +0 -7
  1045. package/dist/sparkle-core/p-bd80ff43.js +0 -4
  1046. package/dist/sparkle-core/p-bd90903e.js +0 -1
  1047. package/dist/sparkle-core/p-be64105c.entry.js +0 -1
  1048. package/dist/sparkle-core/p-c0533c23.entry.js +0 -1
  1049. package/dist/sparkle-core/p-c2990b24.entry.js +0 -1
  1050. package/dist/sparkle-core/p-c3cadfc6.entry.js +0 -1
  1051. package/dist/sparkle-core/p-c60b29bd.entry.js +0 -4
  1052. package/dist/sparkle-core/p-c64a34cd.entry.js +0 -1
  1053. package/dist/sparkle-core/p-c9f753a4.js +0 -1
  1054. package/dist/sparkle-core/p-cabe9139.js +0 -1
  1055. package/dist/sparkle-core/p-cabfbf22.entry.js +0 -1
  1056. package/dist/sparkle-core/p-cc518c36.entry.js +0 -1
  1057. package/dist/sparkle-core/p-cffd4817.entry.js +0 -1
  1058. package/dist/sparkle-core/p-d0adf726.entry.js +0 -1
  1059. package/dist/sparkle-core/p-d20e4fcf.entry.js +0 -1
  1060. package/dist/sparkle-core/p-d24e53ab.entry.js +0 -1
  1061. package/dist/sparkle-core/p-d288e6c1.entry.js +0 -1
  1062. package/dist/sparkle-core/p-d601810e.entry.js +0 -1
  1063. package/dist/sparkle-core/p-d68092b7.js +0 -4
  1064. package/dist/sparkle-core/p-da391f3f.js +0 -1
  1065. package/dist/sparkle-core/p-de4deb61.entry.js +0 -1
  1066. package/dist/sparkle-core/p-e0cad1bb.js +0 -1
  1067. package/dist/sparkle-core/p-e249aebf.entry.js +0 -1
  1068. package/dist/sparkle-core/p-e3e36ce9.entry.js +0 -1
  1069. package/dist/sparkle-core/p-e421d638.entry.js +0 -1
  1070. package/dist/sparkle-core/p-e686d8b5.entry.js +0 -4
  1071. package/dist/sparkle-core/p-e8988989.entry.js +0 -1
  1072. package/dist/sparkle-core/p-e9431eeb.js +0 -7
  1073. package/dist/sparkle-core/p-ea962e1b.entry.js +0 -1
  1074. package/dist/sparkle-core/p-eaa8bbee.js +0 -4
  1075. package/dist/sparkle-core/p-ebd4354b.entry.js +0 -1
  1076. package/dist/sparkle-core/p-ee1e0eb4.js +0 -2
  1077. package/dist/sparkle-core/p-ef4edc48.entry.js +0 -4
  1078. package/dist/sparkle-core/p-f196c124.entry.js +0 -7
  1079. package/dist/sparkle-core/p-f3cba72a.js +0 -4
  1080. package/dist/sparkle-core/p-f47fe1fe.entry.js +0 -1
  1081. package/dist/sparkle-core/p-f714f77a.entry.js +0 -1
  1082. package/dist/sparkle-core/p-f891c79a.entry.js +0 -1
  1083. package/dist/sparkle-core/p-fb0ca75e.entry.js +0 -5
  1084. package/dist/sparkle-core/p-fb757951.entry.js +0 -1
  1085. package/dist/sparkle-core/p-fd8d0738.entry.js +0 -4
  1086. package/dist/sparkle-core/p-fda95b6e.entry.js +0 -1
  1087. package/dist/sparkle-core/p-fe6dc976.entry.js +0 -1
  1088. package/dist/sparkle-core/p-ff080f82.entry.js +0 -10
  1089. package/dist/sparkle-core/p-ff7a8a71.js +0 -4
  1090. /package/dist/{esm → sparkle-core}/cubic-bezier-4c0db14f.js +0 -0
  1091. /package/dist/{esm → sparkle-core}/focus-visible-4e9a0764.js +0 -0
  1092. /package/dist/{esm → sparkle-core}/hardware-back-button-fa04d6e9.js +0 -0
  1093. /package/dist/{esm → sparkle-core}/index-be6112f8.js +0 -0
  1094. /package/dist/{esm → sparkle-core}/keyboard-7e8329b3.js +0 -0
  1095. /package/dist/{esm → sparkle-core}/localstorage.service-4bf408c8.js +0 -0
  1096. /package/dist/{esm → sparkle-core}/spinner-configs-a37e628a.js +0 -0
  1097. /package/dist/{esm → sparkle-core}/theme-7ef00c83.js +0 -0
@@ -0,0 +1,1469 @@
1
+ import { e as createCommonjsModule, f as commonjsGlobal } from './index-0df264ee.js';
2
+
3
+ var purify = createCommonjsModule(function (module, exports) {
4
+ /*! @license DOMPurify 2.3.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.6/LICENSE */
5
+
6
+ (function (global, factory) {
7
+ 'object' === 'object' && 'object' !== 'undefined' ? module.exports = factory() :
8
+ typeof undefined === 'function' && undefined.amd ? undefined(factory) :
9
+ (global = global || self, global.DOMPurify = factory());
10
+ }(commonjsGlobal, function () { 'use strict';
11
+
12
+ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
13
+
14
+ var hasOwnProperty = Object.hasOwnProperty,
15
+ setPrototypeOf = Object.setPrototypeOf,
16
+ isFrozen = Object.isFrozen,
17
+ getPrototypeOf = Object.getPrototypeOf,
18
+ getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
19
+ var freeze = Object.freeze,
20
+ seal = Object.seal,
21
+ create = Object.create; // eslint-disable-line import/no-mutable-exports
22
+
23
+ var _ref = typeof Reflect !== 'undefined' && Reflect,
24
+ apply = _ref.apply,
25
+ construct = _ref.construct;
26
+
27
+ if (!apply) {
28
+ apply = function apply(fun, thisValue, args) {
29
+ return fun.apply(thisValue, args);
30
+ };
31
+ }
32
+
33
+ if (!freeze) {
34
+ freeze = function freeze(x) {
35
+ return x;
36
+ };
37
+ }
38
+
39
+ if (!seal) {
40
+ seal = function seal(x) {
41
+ return x;
42
+ };
43
+ }
44
+
45
+ if (!construct) {
46
+ construct = function construct(Func, args) {
47
+ return new (Function.prototype.bind.apply(Func, [null].concat(_toConsumableArray(args))))();
48
+ };
49
+ }
50
+
51
+ var arrayForEach = unapply(Array.prototype.forEach);
52
+ var arrayPop = unapply(Array.prototype.pop);
53
+ var arrayPush = unapply(Array.prototype.push);
54
+
55
+ var stringToLowerCase = unapply(String.prototype.toLowerCase);
56
+ var stringMatch = unapply(String.prototype.match);
57
+ var stringReplace = unapply(String.prototype.replace);
58
+ var stringIndexOf = unapply(String.prototype.indexOf);
59
+ var stringTrim = unapply(String.prototype.trim);
60
+
61
+ var regExpTest = unapply(RegExp.prototype.test);
62
+
63
+ var typeErrorCreate = unconstruct(TypeError);
64
+
65
+ function unapply(func) {
66
+ return function (thisArg) {
67
+ for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
68
+ args[_key - 1] = arguments[_key];
69
+ }
70
+
71
+ return apply(func, thisArg, args);
72
+ };
73
+ }
74
+
75
+ function unconstruct(func) {
76
+ return function () {
77
+ for (var _len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
78
+ args[_key2] = arguments[_key2];
79
+ }
80
+
81
+ return construct(func, args);
82
+ };
83
+ }
84
+
85
+ /* Add properties to a lookup table */
86
+ function addToSet(set, array) {
87
+ if (setPrototypeOf) {
88
+ // Make 'in' and truthy checks like Boolean(set.constructor)
89
+ // independent of any properties defined on Object.prototype.
90
+ // Prevent prototype setters from intercepting set as a this value.
91
+ setPrototypeOf(set, null);
92
+ }
93
+
94
+ var l = array.length;
95
+ while (l--) {
96
+ var element = array[l];
97
+ if (typeof element === 'string') {
98
+ var lcElement = stringToLowerCase(element);
99
+ if (lcElement !== element) {
100
+ // Config presets (e.g. tags.js, attrs.js) are immutable.
101
+ if (!isFrozen(array)) {
102
+ array[l] = lcElement;
103
+ }
104
+
105
+ element = lcElement;
106
+ }
107
+ }
108
+
109
+ set[element] = true;
110
+ }
111
+
112
+ return set;
113
+ }
114
+
115
+ /* Shallow clone an object */
116
+ function clone(object) {
117
+ var newObject = create(null);
118
+
119
+ var property = void 0;
120
+ for (property in object) {
121
+ if (apply(hasOwnProperty, object, [property])) {
122
+ newObject[property] = object[property];
123
+ }
124
+ }
125
+
126
+ return newObject;
127
+ }
128
+
129
+ /* IE10 doesn't support __lookupGetter__ so lets'
130
+ * simulate it. It also automatically checks
131
+ * if the prop is function or getter and behaves
132
+ * accordingly. */
133
+ function lookupGetter(object, prop) {
134
+ while (object !== null) {
135
+ var desc = getOwnPropertyDescriptor(object, prop);
136
+ if (desc) {
137
+ if (desc.get) {
138
+ return unapply(desc.get);
139
+ }
140
+
141
+ if (typeof desc.value === 'function') {
142
+ return unapply(desc.value);
143
+ }
144
+ }
145
+
146
+ object = getPrototypeOf(object);
147
+ }
148
+
149
+ function fallbackValue(element) {
150
+ console.warn('fallback value for', element);
151
+ return null;
152
+ }
153
+
154
+ return fallbackValue;
155
+ }
156
+
157
+ var html = freeze(['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']);
158
+
159
+ // SVG
160
+ var svg = freeze(['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']);
161
+
162
+ var svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);
163
+
164
+ // List of SVG elements that are disallowed by default.
165
+ // We still need to know them so that we can do namespace
166
+ // checks properly in case one wants to add them to
167
+ // allow-list.
168
+ var svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'fedropshadow', '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']);
169
+
170
+ var mathMl = freeze(['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']);
171
+
172
+ // Similarly to SVG, we want to know all MathML elements,
173
+ // even those that we disallow by default.
174
+ var mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
175
+
176
+ var text = freeze(['#text']);
177
+
178
+ var html$1 = freeze(['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', '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', 'xmlns', 'slot']);
179
+
180
+ var svg$1 = freeze(['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']);
181
+
182
+ var mathMl$1 = freeze(['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']);
183
+
184
+ var xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
185
+
186
+ // eslint-disable-next-line unicorn/better-regex
187
+ var MUSTACHE_EXPR = seal(/\{\{[\s\S]*|[\s\S]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
188
+ var ERB_EXPR = seal(/<%[\s\S]*|[\s\S]*%>/gm);
189
+ var DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]/); // eslint-disable-line no-useless-escape
190
+ var ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
191
+ var IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
192
+ );
193
+ var IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
194
+ var ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g // eslint-disable-line no-control-regex
195
+ );
196
+ var DOCTYPE_NAME = seal(/^html$/i);
197
+
198
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
199
+
200
+ function _toConsumableArray$1(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
201
+
202
+ var getGlobal = function getGlobal() {
203
+ return typeof window === 'undefined' ? null : window;
204
+ };
205
+
206
+ /**
207
+ * Creates a no-op policy for internal use only.
208
+ * Don't export this function outside this module!
209
+ * @param {?TrustedTypePolicyFactory} trustedTypes The policy factory.
210
+ * @param {Document} document The document object (to determine policy name suffix)
211
+ * @return {?TrustedTypePolicy} The policy created (or null, if Trusted Types
212
+ * are not supported).
213
+ */
214
+ var _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, document) {
215
+ if ((typeof trustedTypes === 'undefined' ? 'undefined' : _typeof(trustedTypes)) !== 'object' || typeof trustedTypes.createPolicy !== 'function') {
216
+ return null;
217
+ }
218
+
219
+ // Allow the callers to control the unique policy name
220
+ // by adding a data-tt-policy-suffix to the script element with the DOMPurify.
221
+ // Policy creation with duplicate names throws in Trusted Types.
222
+ var suffix = null;
223
+ var ATTR_NAME = 'data-tt-policy-suffix';
224
+ if (document.currentScript && document.currentScript.hasAttribute(ATTR_NAME)) {
225
+ suffix = document.currentScript.getAttribute(ATTR_NAME);
226
+ }
227
+
228
+ var policyName = 'dompurify' + (suffix ? '#' + suffix : '');
229
+
230
+ try {
231
+ return trustedTypes.createPolicy(policyName, {
232
+ createHTML: function createHTML(html$$1) {
233
+ return html$$1;
234
+ }
235
+ });
236
+ } catch (_) {
237
+ // Policy creation failed (most likely another DOMPurify script has
238
+ // already run). Skip creating the policy, as this will only cause errors
239
+ // if TT are enforced.
240
+ console.warn('TrustedTypes policy ' + policyName + ' could not be created.');
241
+ return null;
242
+ }
243
+ };
244
+
245
+ function createDOMPurify() {
246
+ var window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
247
+
248
+ var DOMPurify = function DOMPurify(root) {
249
+ return createDOMPurify(root);
250
+ };
251
+
252
+ /**
253
+ * Version label, exposed for easier checks
254
+ * if DOMPurify is up to date or not
255
+ */
256
+ DOMPurify.version = '2.3.6';
257
+
258
+ /**
259
+ * Array of elements that DOMPurify removed during sanitation.
260
+ * Empty if nothing was removed.
261
+ */
262
+ DOMPurify.removed = [];
263
+
264
+ if (!window || !window.document || window.document.nodeType !== 9) {
265
+ // Not running in a browser, provide a factory function
266
+ // so that you can pass your own Window
267
+ DOMPurify.isSupported = false;
268
+
269
+ return DOMPurify;
270
+ }
271
+
272
+ var originalDocument = window.document;
273
+
274
+ var document = window.document;
275
+ var DocumentFragment = window.DocumentFragment,
276
+ HTMLTemplateElement = window.HTMLTemplateElement,
277
+ Node = window.Node,
278
+ Element = window.Element,
279
+ NodeFilter = window.NodeFilter,
280
+ _window$NamedNodeMap = window.NamedNodeMap,
281
+ NamedNodeMap = _window$NamedNodeMap === undefined ? window.NamedNodeMap || window.MozNamedAttrMap : _window$NamedNodeMap,
282
+ HTMLFormElement = window.HTMLFormElement,
283
+ DOMParser = window.DOMParser,
284
+ trustedTypes = window.trustedTypes;
285
+
286
+
287
+ var ElementPrototype = Element.prototype;
288
+
289
+ var cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
290
+ var getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');
291
+ var getChildNodes = lookupGetter(ElementPrototype, 'childNodes');
292
+ var getParentNode = lookupGetter(ElementPrototype, 'parentNode');
293
+
294
+ // As per issue #47, the web-components registry is inherited by a
295
+ // new document created via createHTMLDocument. As per the spec
296
+ // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)
297
+ // a new empty registry is used when creating a template contents owner
298
+ // document, so we use that as our parent document to ensure nothing
299
+ // is inherited.
300
+ if (typeof HTMLTemplateElement === 'function') {
301
+ var template = document.createElement('template');
302
+ if (template.content && template.content.ownerDocument) {
303
+ document = template.content.ownerDocument;
304
+ }
305
+ }
306
+
307
+ var trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, originalDocument);
308
+ var emptyHTML = trustedTypesPolicy ? trustedTypesPolicy.createHTML('') : '';
309
+
310
+ var _document = document,
311
+ implementation = _document.implementation,
312
+ createNodeIterator = _document.createNodeIterator,
313
+ createDocumentFragment = _document.createDocumentFragment,
314
+ getElementsByTagName = _document.getElementsByTagName;
315
+ var importNode = originalDocument.importNode;
316
+
317
+
318
+ var documentMode = {};
319
+ try {
320
+ documentMode = clone(document).documentMode ? document.documentMode : {};
321
+ } catch (_) {}
322
+
323
+ var hooks = {};
324
+
325
+ /**
326
+ * Expose whether this browser supports running the full DOMPurify.
327
+ */
328
+ DOMPurify.isSupported = typeof getParentNode === 'function' && implementation && typeof implementation.createHTMLDocument !== 'undefined' && documentMode !== 9;
329
+
330
+ var MUSTACHE_EXPR$$1 = MUSTACHE_EXPR,
331
+ ERB_EXPR$$1 = ERB_EXPR,
332
+ DATA_ATTR$$1 = DATA_ATTR,
333
+ ARIA_ATTR$$1 = ARIA_ATTR,
334
+ IS_SCRIPT_OR_DATA$$1 = IS_SCRIPT_OR_DATA,
335
+ ATTR_WHITESPACE$$1 = ATTR_WHITESPACE;
336
+ var IS_ALLOWED_URI$$1 = IS_ALLOWED_URI;
337
+
338
+ /**
339
+ * We consider the elements and attributes below to be safe. Ideally
340
+ * don't add any new ones but feel free to remove unwanted ones.
341
+ */
342
+
343
+ /* allowed element names */
344
+
345
+ var ALLOWED_TAGS = null;
346
+ var DEFAULT_ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray$1(html), _toConsumableArray$1(svg), _toConsumableArray$1(svgFilters), _toConsumableArray$1(mathMl), _toConsumableArray$1(text)));
347
+
348
+ /* Allowed attribute names */
349
+ var ALLOWED_ATTR = null;
350
+ var DEFAULT_ALLOWED_ATTR = addToSet({}, [].concat(_toConsumableArray$1(html$1), _toConsumableArray$1(svg$1), _toConsumableArray$1(mathMl$1), _toConsumableArray$1(xml)));
351
+
352
+ /*
353
+ * Configure how DOMPUrify should handle custom elements and their attributes as well as customized built-in elements.
354
+ * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)
355
+ * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)
356
+ * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.
357
+ */
358
+ var CUSTOM_ELEMENT_HANDLING = Object.seal(Object.create(null, {
359
+ tagNameCheck: {
360
+ writable: true,
361
+ configurable: false,
362
+ enumerable: true,
363
+ value: null
364
+ },
365
+ attributeNameCheck: {
366
+ writable: true,
367
+ configurable: false,
368
+ enumerable: true,
369
+ value: null
370
+ },
371
+ allowCustomizedBuiltInElements: {
372
+ writable: true,
373
+ configurable: false,
374
+ enumerable: true,
375
+ value: false
376
+ }
377
+ }));
378
+
379
+ /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */
380
+ var FORBID_TAGS = null;
381
+
382
+ /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
383
+ var FORBID_ATTR = null;
384
+
385
+ /* Decide if ARIA attributes are okay */
386
+ var ALLOW_ARIA_ATTR = true;
387
+
388
+ /* Decide if custom data attributes are okay */
389
+ var ALLOW_DATA_ATTR = true;
390
+
391
+ /* Decide if unknown protocols are okay */
392
+ var ALLOW_UNKNOWN_PROTOCOLS = false;
393
+
394
+ /* Output should be safe for common template engines.
395
+ * This means, DOMPurify removes data attributes, mustaches and ERB
396
+ */
397
+ var SAFE_FOR_TEMPLATES = false;
398
+
399
+ /* Decide if document with <html>... should be returned */
400
+ var WHOLE_DOCUMENT = false;
401
+
402
+ /* Track whether config is already set on this instance of DOMPurify. */
403
+ var SET_CONFIG = false;
404
+
405
+ /* Decide if all elements (e.g. style, script) must be children of
406
+ * document.body. By default, browsers might move them to document.head */
407
+ var FORCE_BODY = false;
408
+
409
+ /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html
410
+ * string (or a TrustedHTML object if Trusted Types are supported).
411
+ * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead
412
+ */
413
+ var RETURN_DOM = false;
414
+
415
+ /* Decide if a DOM `DocumentFragment` should be returned, instead of a html
416
+ * string (or a TrustedHTML object if Trusted Types are supported) */
417
+ var RETURN_DOM_FRAGMENT = false;
418
+
419
+ /* Try to return a Trusted Type object instead of a string, return a string in
420
+ * case Trusted Types are not supported */
421
+ var RETURN_TRUSTED_TYPE = false;
422
+
423
+ /* Output should be free from DOM clobbering attacks? */
424
+ var SANITIZE_DOM = true;
425
+
426
+ /* Keep element content when removing element? */
427
+ var KEEP_CONTENT = true;
428
+
429
+ /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead
430
+ * of importing it into a new Document and returning a sanitized copy */
431
+ var IN_PLACE = false;
432
+
433
+ /* Allow usage of profiles like html, svg and mathMl */
434
+ var USE_PROFILES = {};
435
+
436
+ /* Tags to ignore content of when KEEP_CONTENT is true */
437
+ var FORBID_CONTENTS = null;
438
+ var DEFAULT_FORBID_CONTENTS = addToSet({}, ['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']);
439
+
440
+ /* Tags that are safe for data: URIs */
441
+ var DATA_URI_TAGS = null;
442
+ var DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);
443
+
444
+ /* Attributes safe for values like "javascript:" */
445
+ var URI_SAFE_ATTRIBUTES = null;
446
+ var DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);
447
+
448
+ var MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
449
+ var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
450
+ var HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
451
+ /* Document namespace */
452
+ var NAMESPACE = HTML_NAMESPACE;
453
+ var IS_EMPTY_INPUT = false;
454
+
455
+ /* Parsing of strict XHTML documents */
456
+ var PARSER_MEDIA_TYPE = void 0;
457
+ var SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];
458
+ var DEFAULT_PARSER_MEDIA_TYPE = 'text/html';
459
+ var transformCaseFunc = void 0;
460
+
461
+ /* Keep a reference to config to pass to hooks */
462
+ var CONFIG = null;
463
+
464
+ /* Ideally, do not touch anything below this line */
465
+ /* ______________________________________________ */
466
+
467
+ var formElement = document.createElement('form');
468
+
469
+ var isRegexOrFunction = function isRegexOrFunction(testValue) {
470
+ return testValue instanceof RegExp || testValue instanceof Function;
471
+ };
472
+
473
+ /**
474
+ * _parseConfig
475
+ *
476
+ * @param {Object} cfg optional config literal
477
+ */
478
+ // eslint-disable-next-line complexity
479
+ var _parseConfig = function _parseConfig(cfg) {
480
+ if (CONFIG && CONFIG === cfg) {
481
+ return;
482
+ }
483
+
484
+ /* Shield configuration object from tampering */
485
+ if (!cfg || (typeof cfg === 'undefined' ? 'undefined' : _typeof(cfg)) !== 'object') {
486
+ cfg = {};
487
+ }
488
+
489
+ /* Shield configuration object from prototype pollution */
490
+ cfg = clone(cfg);
491
+
492
+ /* Set configuration parameters */
493
+ ALLOWED_TAGS = 'ALLOWED_TAGS' in cfg ? addToSet({}, cfg.ALLOWED_TAGS) : DEFAULT_ALLOWED_TAGS;
494
+ ALLOWED_ATTR = 'ALLOWED_ATTR' in cfg ? addToSet({}, cfg.ALLOWED_ATTR) : DEFAULT_ALLOWED_ATTR;
495
+ URI_SAFE_ATTRIBUTES = 'ADD_URI_SAFE_ATTR' in cfg ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR) : DEFAULT_URI_SAFE_ATTRIBUTES;
496
+ DATA_URI_TAGS = 'ADD_DATA_URI_TAGS' in cfg ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS) : DEFAULT_DATA_URI_TAGS;
497
+ FORBID_CONTENTS = 'FORBID_CONTENTS' in cfg ? addToSet({}, cfg.FORBID_CONTENTS) : DEFAULT_FORBID_CONTENTS;
498
+ FORBID_TAGS = 'FORBID_TAGS' in cfg ? addToSet({}, cfg.FORBID_TAGS) : {};
499
+ FORBID_ATTR = 'FORBID_ATTR' in cfg ? addToSet({}, cfg.FORBID_ATTR) : {};
500
+ USE_PROFILES = 'USE_PROFILES' in cfg ? cfg.USE_PROFILES : false;
501
+ ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
502
+ ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
503
+ ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
504
+ SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false
505
+ WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false
506
+ RETURN_DOM = cfg.RETURN_DOM || false; // Default false
507
+ RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false
508
+ RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false
509
+ FORCE_BODY = cfg.FORCE_BODY || false; // Default false
510
+ SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true
511
+ KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
512
+ IN_PLACE = cfg.IN_PLACE || false; // Default false
513
+ IS_ALLOWED_URI$$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI$$1;
514
+ NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
515
+ if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
516
+ CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
517
+ }
518
+
519
+ if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {
520
+ CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;
521
+ }
522
+
523
+ if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {
524
+ CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;
525
+ }
526
+
527
+ PARSER_MEDIA_TYPE =
528
+ // eslint-disable-next-line unicorn/prefer-includes
529
+ SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? PARSER_MEDIA_TYPE = DEFAULT_PARSER_MEDIA_TYPE : PARSER_MEDIA_TYPE = cfg.PARSER_MEDIA_TYPE;
530
+
531
+ // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
532
+ transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? function (x) {
533
+ return x;
534
+ } : stringToLowerCase;
535
+
536
+ if (SAFE_FOR_TEMPLATES) {
537
+ ALLOW_DATA_ATTR = false;
538
+ }
539
+
540
+ if (RETURN_DOM_FRAGMENT) {
541
+ RETURN_DOM = true;
542
+ }
543
+
544
+ /* Parse profile info */
545
+ if (USE_PROFILES) {
546
+ ALLOWED_TAGS = addToSet({}, [].concat(_toConsumableArray$1(text)));
547
+ ALLOWED_ATTR = [];
548
+ if (USE_PROFILES.html === true) {
549
+ addToSet(ALLOWED_TAGS, html);
550
+ addToSet(ALLOWED_ATTR, html$1);
551
+ }
552
+
553
+ if (USE_PROFILES.svg === true) {
554
+ addToSet(ALLOWED_TAGS, svg);
555
+ addToSet(ALLOWED_ATTR, svg$1);
556
+ addToSet(ALLOWED_ATTR, xml);
557
+ }
558
+
559
+ if (USE_PROFILES.svgFilters === true) {
560
+ addToSet(ALLOWED_TAGS, svgFilters);
561
+ addToSet(ALLOWED_ATTR, svg$1);
562
+ addToSet(ALLOWED_ATTR, xml);
563
+ }
564
+
565
+ if (USE_PROFILES.mathMl === true) {
566
+ addToSet(ALLOWED_TAGS, mathMl);
567
+ addToSet(ALLOWED_ATTR, mathMl$1);
568
+ addToSet(ALLOWED_ATTR, xml);
569
+ }
570
+ }
571
+
572
+ /* Merge configuration parameters */
573
+ if (cfg.ADD_TAGS) {
574
+ if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
575
+ ALLOWED_TAGS = clone(ALLOWED_TAGS);
576
+ }
577
+
578
+ addToSet(ALLOWED_TAGS, cfg.ADD_TAGS);
579
+ }
580
+
581
+ if (cfg.ADD_ATTR) {
582
+ if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
583
+ ALLOWED_ATTR = clone(ALLOWED_ATTR);
584
+ }
585
+
586
+ addToSet(ALLOWED_ATTR, cfg.ADD_ATTR);
587
+ }
588
+
589
+ if (cfg.ADD_URI_SAFE_ATTR) {
590
+ addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR);
591
+ }
592
+
593
+ if (cfg.FORBID_CONTENTS) {
594
+ if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
595
+ FORBID_CONTENTS = clone(FORBID_CONTENTS);
596
+ }
597
+
598
+ addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS);
599
+ }
600
+
601
+ /* Add #text in case KEEP_CONTENT is set to true */
602
+ if (KEEP_CONTENT) {
603
+ ALLOWED_TAGS['#text'] = true;
604
+ }
605
+
606
+ /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */
607
+ if (WHOLE_DOCUMENT) {
608
+ addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);
609
+ }
610
+
611
+ /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */
612
+ if (ALLOWED_TAGS.table) {
613
+ addToSet(ALLOWED_TAGS, ['tbody']);
614
+ delete FORBID_TAGS.tbody;
615
+ }
616
+
617
+ // Prevent further manipulation of configuration.
618
+ // Not available in IE8, Safari 5, etc.
619
+ if (freeze) {
620
+ freeze(cfg);
621
+ }
622
+
623
+ CONFIG = cfg;
624
+ };
625
+
626
+ var MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
627
+
628
+ var HTML_INTEGRATION_POINTS = addToSet({}, ['foreignobject', 'desc', 'title', 'annotation-xml']);
629
+
630
+ /* Keep track of all possible SVG and MathML tags
631
+ * so that we can perform the namespace checks
632
+ * correctly. */
633
+ var ALL_SVG_TAGS = addToSet({}, svg);
634
+ addToSet(ALL_SVG_TAGS, svgFilters);
635
+ addToSet(ALL_SVG_TAGS, svgDisallowed);
636
+
637
+ var ALL_MATHML_TAGS = addToSet({}, mathMl);
638
+ addToSet(ALL_MATHML_TAGS, mathMlDisallowed);
639
+
640
+ /**
641
+ *
642
+ *
643
+ * @param {Element} element a DOM element whose namespace is being checked
644
+ * @returns {boolean} Return false if the element has a
645
+ * namespace that a spec-compliant parser would never
646
+ * return. Return true otherwise.
647
+ */
648
+ var _checkValidNamespace = function _checkValidNamespace(element) {
649
+ var parent = getParentNode(element);
650
+
651
+ // In JSDOM, if we're inside shadow DOM, then parentNode
652
+ // can be null. We just simulate parent in this case.
653
+ if (!parent || !parent.tagName) {
654
+ parent = {
655
+ namespaceURI: HTML_NAMESPACE,
656
+ tagName: 'template'
657
+ };
658
+ }
659
+
660
+ var tagName = stringToLowerCase(element.tagName);
661
+ var parentTagName = stringToLowerCase(parent.tagName);
662
+
663
+ if (element.namespaceURI === SVG_NAMESPACE) {
664
+ // The only way to switch from HTML namespace to SVG
665
+ // is via <svg>. If it happens via any other tag, then
666
+ // it should be killed.
667
+ if (parent.namespaceURI === HTML_NAMESPACE) {
668
+ return tagName === 'svg';
669
+ }
670
+
671
+ // The only way to switch from MathML to SVG is via
672
+ // svg if parent is either <annotation-xml> or MathML
673
+ // text integration points.
674
+ if (parent.namespaceURI === MATHML_NAMESPACE) {
675
+ return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
676
+ }
677
+
678
+ // We only allow elements that are defined in SVG
679
+ // spec. All others are disallowed in SVG namespace.
680
+ return Boolean(ALL_SVG_TAGS[tagName]);
681
+ }
682
+
683
+ if (element.namespaceURI === MATHML_NAMESPACE) {
684
+ // The only way to switch from HTML namespace to MathML
685
+ // is via <math>. If it happens via any other tag, then
686
+ // it should be killed.
687
+ if (parent.namespaceURI === HTML_NAMESPACE) {
688
+ return tagName === 'math';
689
+ }
690
+
691
+ // The only way to switch from SVG to MathML is via
692
+ // <math> and HTML integration points
693
+ if (parent.namespaceURI === SVG_NAMESPACE) {
694
+ return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];
695
+ }
696
+
697
+ // We only allow elements that are defined in MathML
698
+ // spec. All others are disallowed in MathML namespace.
699
+ return Boolean(ALL_MATHML_TAGS[tagName]);
700
+ }
701
+
702
+ if (element.namespaceURI === HTML_NAMESPACE) {
703
+ // The only way to switch from SVG to HTML is via
704
+ // HTML integration points, and from MathML to HTML
705
+ // is via MathML text integration points
706
+ if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {
707
+ return false;
708
+ }
709
+
710
+ if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
711
+ return false;
712
+ }
713
+
714
+ // Certain elements are allowed in both SVG and HTML
715
+ // namespace. We need to specify them explicitly
716
+ // so that they don't get erronously deleted from
717
+ // HTML namespace.
718
+ var commonSvgAndHTMLElements = addToSet({}, ['title', 'style', 'font', 'a', 'script']);
719
+
720
+ // We disallow tags that are specific for MathML
721
+ // or SVG and should never appear in HTML namespace
722
+ return !ALL_MATHML_TAGS[tagName] && (commonSvgAndHTMLElements[tagName] || !ALL_SVG_TAGS[tagName]);
723
+ }
724
+
725
+ // The code should never reach this place (this means
726
+ // that the element somehow got namespace that is not
727
+ // HTML, SVG or MathML). Return false just in case.
728
+ return false;
729
+ };
730
+
731
+ /**
732
+ * _forceRemove
733
+ *
734
+ * @param {Node} node a DOM node
735
+ */
736
+ var _forceRemove = function _forceRemove(node) {
737
+ arrayPush(DOMPurify.removed, { element: node });
738
+ try {
739
+ // eslint-disable-next-line unicorn/prefer-dom-node-remove
740
+ node.parentNode.removeChild(node);
741
+ } catch (_) {
742
+ try {
743
+ node.outerHTML = emptyHTML;
744
+ } catch (_) {
745
+ node.remove();
746
+ }
747
+ }
748
+ };
749
+
750
+ /**
751
+ * _removeAttribute
752
+ *
753
+ * @param {String} name an Attribute name
754
+ * @param {Node} node a DOM node
755
+ */
756
+ var _removeAttribute = function _removeAttribute(name, node) {
757
+ try {
758
+ arrayPush(DOMPurify.removed, {
759
+ attribute: node.getAttributeNode(name),
760
+ from: node
761
+ });
762
+ } catch (_) {
763
+ arrayPush(DOMPurify.removed, {
764
+ attribute: null,
765
+ from: node
766
+ });
767
+ }
768
+
769
+ node.removeAttribute(name);
770
+
771
+ // We void attribute values for unremovable "is"" attributes
772
+ if (name === 'is' && !ALLOWED_ATTR[name]) {
773
+ if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
774
+ try {
775
+ _forceRemove(node);
776
+ } catch (_) {}
777
+ } else {
778
+ try {
779
+ node.setAttribute(name, '');
780
+ } catch (_) {}
781
+ }
782
+ }
783
+ };
784
+
785
+ /**
786
+ * _initDocument
787
+ *
788
+ * @param {String} dirty a string of dirty markup
789
+ * @return {Document} a DOM, filled with the dirty markup
790
+ */
791
+ var _initDocument = function _initDocument(dirty) {
792
+ /* Create a HTML document */
793
+ var doc = void 0;
794
+ var leadingWhitespace = void 0;
795
+
796
+ if (FORCE_BODY) {
797
+ dirty = '<remove></remove>' + dirty;
798
+ } else {
799
+ /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */
800
+ var matches = stringMatch(dirty, /^[\r\n\t ]+/);
801
+ leadingWhitespace = matches && matches[0];
802
+ }
803
+
804
+ if (PARSER_MEDIA_TYPE === 'application/xhtml+xml') {
805
+ // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)
806
+ dirty = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + dirty + '</body></html>';
807
+ }
808
+
809
+ var dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
810
+ /*
811
+ * Use the DOMParser API by default, fallback later if needs be
812
+ * DOMParser not work for svg when has multiple root element.
813
+ */
814
+ if (NAMESPACE === HTML_NAMESPACE) {
815
+ try {
816
+ doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
817
+ } catch (_) {}
818
+ }
819
+
820
+ /* Use createHTMLDocument in case DOMParser is not available */
821
+ if (!doc || !doc.documentElement) {
822
+ doc = implementation.createDocument(NAMESPACE, 'template', null);
823
+ try {
824
+ doc.documentElement.innerHTML = IS_EMPTY_INPUT ? '' : dirtyPayload;
825
+ } catch (_) {
826
+ // Syntax error if dirtyPayload is invalid xml
827
+ }
828
+ }
829
+
830
+ var body = doc.body || doc.documentElement;
831
+
832
+ if (dirty && leadingWhitespace) {
833
+ body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);
834
+ }
835
+
836
+ /* Work on whole document or just its body */
837
+ if (NAMESPACE === HTML_NAMESPACE) {
838
+ return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];
839
+ }
840
+
841
+ return WHOLE_DOCUMENT ? doc.documentElement : body;
842
+ };
843
+
844
+ /**
845
+ * _createIterator
846
+ *
847
+ * @param {Document} root document/fragment to create iterator for
848
+ * @return {Iterator} iterator instance
849
+ */
850
+ var _createIterator = function _createIterator(root) {
851
+ return createNodeIterator.call(root.ownerDocument || root, root,
852
+ // eslint-disable-next-line no-bitwise
853
+ NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT, null, false);
854
+ };
855
+
856
+ /**
857
+ * _isClobbered
858
+ *
859
+ * @param {Node} elm element to check for clobbering attacks
860
+ * @return {Boolean} true if clobbered, false if safe
861
+ */
862
+ var _isClobbered = function _isClobbered(elm) {
863
+ return elm instanceof HTMLFormElement && (typeof elm.nodeName !== 'string' || typeof elm.textContent !== 'string' || typeof elm.removeChild !== 'function' || !(elm.attributes instanceof NamedNodeMap) || typeof elm.removeAttribute !== 'function' || typeof elm.setAttribute !== 'function' || typeof elm.namespaceURI !== 'string' || typeof elm.insertBefore !== 'function');
864
+ };
865
+
866
+ /**
867
+ * _isNode
868
+ *
869
+ * @param {Node} obj object to check whether it's a DOM node
870
+ * @return {Boolean} true is object is a DOM node
871
+ */
872
+ var _isNode = function _isNode(object) {
873
+ return (typeof Node === 'undefined' ? 'undefined' : _typeof(Node)) === 'object' ? object instanceof Node : object && (typeof object === 'undefined' ? 'undefined' : _typeof(object)) === 'object' && typeof object.nodeType === 'number' && typeof object.nodeName === 'string';
874
+ };
875
+
876
+ /**
877
+ * _executeHook
878
+ * Execute user configurable hooks
879
+ *
880
+ * @param {String} entryPoint Name of the hook's entry point
881
+ * @param {Node} currentNode node to work on with the hook
882
+ * @param {Object} data additional hook parameters
883
+ */
884
+ var _executeHook = function _executeHook(entryPoint, currentNode, data) {
885
+ if (!hooks[entryPoint]) {
886
+ return;
887
+ }
888
+
889
+ arrayForEach(hooks[entryPoint], function (hook) {
890
+ hook.call(DOMPurify, currentNode, data, CONFIG);
891
+ });
892
+ };
893
+
894
+ /**
895
+ * _sanitizeElements
896
+ *
897
+ * @protect nodeName
898
+ * @protect textContent
899
+ * @protect removeChild
900
+ *
901
+ * @param {Node} currentNode to check for permission to exist
902
+ * @return {Boolean} true if node was killed, false if left alive
903
+ */
904
+ var _sanitizeElements = function _sanitizeElements(currentNode) {
905
+ var content = void 0;
906
+
907
+ /* Execute a hook if present */
908
+ _executeHook('beforeSanitizeElements', currentNode, null);
909
+
910
+ /* Check if element is clobbered or can clobber */
911
+ if (_isClobbered(currentNode)) {
912
+ _forceRemove(currentNode);
913
+ return true;
914
+ }
915
+
916
+ /* Check if tagname contains Unicode */
917
+ if (stringMatch(currentNode.nodeName, /[\u0080-\uFFFF]/)) {
918
+ _forceRemove(currentNode);
919
+ return true;
920
+ }
921
+
922
+ /* Now let's check the element's type and name */
923
+ var tagName = transformCaseFunc(currentNode.nodeName);
924
+
925
+ /* Execute a hook if present */
926
+ _executeHook('uponSanitizeElement', currentNode, {
927
+ tagName: tagName,
928
+ allowedTags: ALLOWED_TAGS
929
+ });
930
+
931
+ /* Detect mXSS attempts abusing namespace confusion */
932
+ if (!_isNode(currentNode.firstElementChild) && (!_isNode(currentNode.content) || !_isNode(currentNode.content.firstElementChild)) && regExpTest(/<[/\w]/g, currentNode.innerHTML) && regExpTest(/<[/\w]/g, currentNode.textContent)) {
933
+ _forceRemove(currentNode);
934
+ return true;
935
+ }
936
+
937
+ /* Mitigate a problem with templates inside select */
938
+ if (tagName === 'select' && regExpTest(/<template/i, currentNode.innerHTML)) {
939
+ _forceRemove(currentNode);
940
+ return true;
941
+ }
942
+
943
+ /* Remove element if anything forbids its presence */
944
+ if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
945
+ /* Check if we have a custom element to handle */
946
+ if (!FORBID_TAGS[tagName] && _basicCustomElementTest(tagName)) {
947
+ if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) return false;
948
+ if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) return false;
949
+ }
950
+
951
+ /* Keep content except for bad-listed elements */
952
+ if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
953
+ var parentNode = getParentNode(currentNode) || currentNode.parentNode;
954
+ var childNodes = getChildNodes(currentNode) || currentNode.childNodes;
955
+
956
+ if (childNodes && parentNode) {
957
+ var childCount = childNodes.length;
958
+
959
+ for (var i = childCount - 1; i >= 0; --i) {
960
+ parentNode.insertBefore(cloneNode(childNodes[i], true), getNextSibling(currentNode));
961
+ }
962
+ }
963
+ }
964
+
965
+ _forceRemove(currentNode);
966
+ return true;
967
+ }
968
+
969
+ /* Check whether element has a valid namespace */
970
+ if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {
971
+ _forceRemove(currentNode);
972
+ return true;
973
+ }
974
+
975
+ if ((tagName === 'noscript' || tagName === 'noembed') && regExpTest(/<\/no(script|embed)/i, currentNode.innerHTML)) {
976
+ _forceRemove(currentNode);
977
+ return true;
978
+ }
979
+
980
+ /* Sanitize element content to be template-safe */
981
+ if (SAFE_FOR_TEMPLATES && currentNode.nodeType === 3) {
982
+ /* Get the element's text content */
983
+ content = currentNode.textContent;
984
+ content = stringReplace(content, MUSTACHE_EXPR$$1, ' ');
985
+ content = stringReplace(content, ERB_EXPR$$1, ' ');
986
+ if (currentNode.textContent !== content) {
987
+ arrayPush(DOMPurify.removed, { element: currentNode.cloneNode() });
988
+ currentNode.textContent = content;
989
+ }
990
+ }
991
+
992
+ /* Execute a hook if present */
993
+ _executeHook('afterSanitizeElements', currentNode, null);
994
+
995
+ return false;
996
+ };
997
+
998
+ /**
999
+ * _isValidAttribute
1000
+ *
1001
+ * @param {string} lcTag Lowercase tag name of containing element.
1002
+ * @param {string} lcName Lowercase attribute name.
1003
+ * @param {string} value Attribute value.
1004
+ * @return {Boolean} Returns true if `value` is valid, otherwise false.
1005
+ */
1006
+ // eslint-disable-next-line complexity
1007
+ var _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
1008
+ /* Make sure attribute cannot clobber */
1009
+ if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
1010
+ return false;
1011
+ }
1012
+
1013
+ /* Allow valid data-* attributes: At least one character after "-"
1014
+ (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
1015
+ XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
1016
+ We don't need to check the value; it's always URI safe. */
1017
+ if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR$$1, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR$$1, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
1018
+ if (
1019
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
1020
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1021
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
1022
+ _basicCustomElementTest(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) ||
1023
+ // Alternative, second condition checks if it's an `is`-attribute, AND
1024
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1025
+ lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {
1026
+ return false;
1027
+ }
1028
+ /* Check value is safe. First, is attr inert? If so, is safe */
1029
+ } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$$1, stringReplace(value, ATTR_WHITESPACE$$1, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA$$1, stringReplace(value, ATTR_WHITESPACE$$1, ''))) ; else if (!value) ; else {
1030
+ return false;
1031
+ }
1032
+
1033
+ return true;
1034
+ };
1035
+
1036
+ /**
1037
+ * _basicCustomElementCheck
1038
+ * checks if at least one dash is included in tagName, and it's not the first char
1039
+ * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name
1040
+ * @param {string} tagName name of the tag of the node to sanitize
1041
+ */
1042
+ var _basicCustomElementTest = function _basicCustomElementTest(tagName) {
1043
+ return tagName.indexOf('-') > 0;
1044
+ };
1045
+
1046
+ /**
1047
+ * _sanitizeAttributes
1048
+ *
1049
+ * @protect attributes
1050
+ * @protect nodeName
1051
+ * @protect removeAttribute
1052
+ * @protect setAttribute
1053
+ *
1054
+ * @param {Node} currentNode to sanitize
1055
+ */
1056
+ var _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
1057
+ var attr = void 0;
1058
+ var value = void 0;
1059
+ var lcName = void 0;
1060
+ var l = void 0;
1061
+ /* Execute a hook if present */
1062
+ _executeHook('beforeSanitizeAttributes', currentNode, null);
1063
+
1064
+ var attributes = currentNode.attributes;
1065
+
1066
+ /* Check if we have attributes; if not we might have a text node */
1067
+
1068
+ if (!attributes) {
1069
+ return;
1070
+ }
1071
+
1072
+ var hookEvent = {
1073
+ attrName: '',
1074
+ attrValue: '',
1075
+ keepAttr: true,
1076
+ allowedAttributes: ALLOWED_ATTR
1077
+ };
1078
+ l = attributes.length;
1079
+
1080
+ /* Go backwards over all attributes; safely remove bad ones */
1081
+ while (l--) {
1082
+ attr = attributes[l];
1083
+ var _attr = attr,
1084
+ name = _attr.name,
1085
+ namespaceURI = _attr.namespaceURI;
1086
+
1087
+ value = stringTrim(attr.value);
1088
+ lcName = transformCaseFunc(name);
1089
+
1090
+ /* Execute a hook if present */
1091
+ hookEvent.attrName = lcName;
1092
+ hookEvent.attrValue = value;
1093
+ hookEvent.keepAttr = true;
1094
+ hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set
1095
+ _executeHook('uponSanitizeAttribute', currentNode, hookEvent);
1096
+ value = hookEvent.attrValue;
1097
+ /* Did the hooks approve of the attribute? */
1098
+ if (hookEvent.forceKeepAttr) {
1099
+ continue;
1100
+ }
1101
+
1102
+ /* Remove attribute */
1103
+ _removeAttribute(name, currentNode);
1104
+
1105
+ /* Did the hooks approve of the attribute? */
1106
+ if (!hookEvent.keepAttr) {
1107
+ continue;
1108
+ }
1109
+
1110
+ /* Work around a security issue in jQuery 3.0 */
1111
+ if (regExpTest(/\/>/i, value)) {
1112
+ _removeAttribute(name, currentNode);
1113
+ continue;
1114
+ }
1115
+
1116
+ /* Sanitize attribute content to be template-safe */
1117
+ if (SAFE_FOR_TEMPLATES) {
1118
+ value = stringReplace(value, MUSTACHE_EXPR$$1, ' ');
1119
+ value = stringReplace(value, ERB_EXPR$$1, ' ');
1120
+ }
1121
+
1122
+ /* Is `value` valid for this attribute? */
1123
+ var lcTag = transformCaseFunc(currentNode.nodeName);
1124
+ if (!_isValidAttribute(lcTag, lcName, value)) {
1125
+ continue;
1126
+ }
1127
+
1128
+ /* Handle invalid data-* attribute set by try-catching it */
1129
+ try {
1130
+ if (namespaceURI) {
1131
+ currentNode.setAttributeNS(namespaceURI, name, value);
1132
+ } else {
1133
+ /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
1134
+ currentNode.setAttribute(name, value);
1135
+ }
1136
+
1137
+ arrayPop(DOMPurify.removed);
1138
+ } catch (_) {}
1139
+ }
1140
+
1141
+ /* Execute a hook if present */
1142
+ _executeHook('afterSanitizeAttributes', currentNode, null);
1143
+ };
1144
+
1145
+ /**
1146
+ * _sanitizeShadowDOM
1147
+ *
1148
+ * @param {DocumentFragment} fragment to iterate over recursively
1149
+ */
1150
+ var _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {
1151
+ var shadowNode = void 0;
1152
+ var shadowIterator = _createIterator(fragment);
1153
+
1154
+ /* Execute a hook if present */
1155
+ _executeHook('beforeSanitizeShadowDOM', fragment, null);
1156
+
1157
+ while (shadowNode = shadowIterator.nextNode()) {
1158
+ /* Execute a hook if present */
1159
+ _executeHook('uponSanitizeShadowNode', shadowNode, null);
1160
+
1161
+ /* Sanitize tags and elements */
1162
+ if (_sanitizeElements(shadowNode)) {
1163
+ continue;
1164
+ }
1165
+
1166
+ /* Deep shadow DOM detected */
1167
+ if (shadowNode.content instanceof DocumentFragment) {
1168
+ _sanitizeShadowDOM(shadowNode.content);
1169
+ }
1170
+
1171
+ /* Check attributes, sanitize if necessary */
1172
+ _sanitizeAttributes(shadowNode);
1173
+ }
1174
+
1175
+ /* Execute a hook if present */
1176
+ _executeHook('afterSanitizeShadowDOM', fragment, null);
1177
+ };
1178
+
1179
+ /**
1180
+ * Sanitize
1181
+ * Public method providing core sanitation functionality
1182
+ *
1183
+ * @param {String|Node} dirty string or DOM node
1184
+ * @param {Object} configuration object
1185
+ */
1186
+ // eslint-disable-next-line complexity
1187
+ DOMPurify.sanitize = function (dirty, cfg) {
1188
+ var body = void 0;
1189
+ var importedNode = void 0;
1190
+ var currentNode = void 0;
1191
+ var oldNode = void 0;
1192
+ var returnNode = void 0;
1193
+ /* Make sure we have a string to sanitize.
1194
+ DO NOT return early, as this will return the wrong type if
1195
+ the user has requested a DOM object rather than a string */
1196
+ IS_EMPTY_INPUT = !dirty;
1197
+ if (IS_EMPTY_INPUT) {
1198
+ dirty = '<!-->';
1199
+ }
1200
+
1201
+ /* Stringify, in case dirty is an object */
1202
+ if (typeof dirty !== 'string' && !_isNode(dirty)) {
1203
+ // eslint-disable-next-line no-negated-condition
1204
+ if (typeof dirty.toString !== 'function') {
1205
+ throw typeErrorCreate('toString is not a function');
1206
+ } else {
1207
+ dirty = dirty.toString();
1208
+ if (typeof dirty !== 'string') {
1209
+ throw typeErrorCreate('dirty is not a string, aborting');
1210
+ }
1211
+ }
1212
+ }
1213
+
1214
+ /* Check we can run. Otherwise fall back or ignore */
1215
+ if (!DOMPurify.isSupported) {
1216
+ if (_typeof(window.toStaticHTML) === 'object' || typeof window.toStaticHTML === 'function') {
1217
+ if (typeof dirty === 'string') {
1218
+ return window.toStaticHTML(dirty);
1219
+ }
1220
+
1221
+ if (_isNode(dirty)) {
1222
+ return window.toStaticHTML(dirty.outerHTML);
1223
+ }
1224
+ }
1225
+
1226
+ return dirty;
1227
+ }
1228
+
1229
+ /* Assign config vars */
1230
+ if (!SET_CONFIG) {
1231
+ _parseConfig(cfg);
1232
+ }
1233
+
1234
+ /* Clean up removed elements */
1235
+ DOMPurify.removed = [];
1236
+
1237
+ /* Check if dirty is correctly typed for IN_PLACE */
1238
+ if (typeof dirty === 'string') {
1239
+ IN_PLACE = false;
1240
+ }
1241
+
1242
+ if (IN_PLACE) {
1243
+ /* Do some early pre-sanitization to avoid unsafe root nodes */
1244
+ if (dirty.nodeName) {
1245
+ var tagName = transformCaseFunc(dirty.nodeName);
1246
+ if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
1247
+ throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
1248
+ }
1249
+ }
1250
+ } else if (dirty instanceof Node) {
1251
+ /* If dirty is a DOM element, append to an empty document to avoid
1252
+ elements being stripped by the parser */
1253
+ body = _initDocument('<!---->');
1254
+ importedNode = body.ownerDocument.importNode(dirty, true);
1255
+ if (importedNode.nodeType === 1 && importedNode.nodeName === 'BODY') {
1256
+ /* Node is already a body, use as is */
1257
+ body = importedNode;
1258
+ } else if (importedNode.nodeName === 'HTML') {
1259
+ body = importedNode;
1260
+ } else {
1261
+ // eslint-disable-next-line unicorn/prefer-dom-node-append
1262
+ body.appendChild(importedNode);
1263
+ }
1264
+ } else {
1265
+ /* Exit directly if we have nothing to do */
1266
+ if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&
1267
+ // eslint-disable-next-line unicorn/prefer-includes
1268
+ dirty.indexOf('<') === -1) {
1269
+ return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;
1270
+ }
1271
+
1272
+ /* Initialize the document to work on */
1273
+ body = _initDocument(dirty);
1274
+
1275
+ /* Check we have a DOM node from the data */
1276
+ if (!body) {
1277
+ return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';
1278
+ }
1279
+ }
1280
+
1281
+ /* Remove first element node (ours) if FORCE_BODY is set */
1282
+ if (body && FORCE_BODY) {
1283
+ _forceRemove(body.firstChild);
1284
+ }
1285
+
1286
+ /* Get node iterator */
1287
+ var nodeIterator = _createIterator(IN_PLACE ? dirty : body);
1288
+
1289
+ /* Now start iterating over the created document */
1290
+ while (currentNode = nodeIterator.nextNode()) {
1291
+ /* Fix IE's strange behavior with manipulated textNodes #89 */
1292
+ if (currentNode.nodeType === 3 && currentNode === oldNode) {
1293
+ continue;
1294
+ }
1295
+
1296
+ /* Sanitize tags and elements */
1297
+ if (_sanitizeElements(currentNode)) {
1298
+ continue;
1299
+ }
1300
+
1301
+ /* Shadow DOM detected, sanitize it */
1302
+ if (currentNode.content instanceof DocumentFragment) {
1303
+ _sanitizeShadowDOM(currentNode.content);
1304
+ }
1305
+
1306
+ /* Check attributes, sanitize if necessary */
1307
+ _sanitizeAttributes(currentNode);
1308
+
1309
+ oldNode = currentNode;
1310
+ }
1311
+
1312
+ oldNode = null;
1313
+
1314
+ /* If we sanitized `dirty` in-place, return it. */
1315
+ if (IN_PLACE) {
1316
+ return dirty;
1317
+ }
1318
+
1319
+ /* Return sanitized string or DOM */
1320
+ if (RETURN_DOM) {
1321
+ if (RETURN_DOM_FRAGMENT) {
1322
+ returnNode = createDocumentFragment.call(body.ownerDocument);
1323
+
1324
+ while (body.firstChild) {
1325
+ // eslint-disable-next-line unicorn/prefer-dom-node-append
1326
+ returnNode.appendChild(body.firstChild);
1327
+ }
1328
+ } else {
1329
+ returnNode = body;
1330
+ }
1331
+
1332
+ if (ALLOWED_ATTR.shadowroot) {
1333
+ /*
1334
+ AdoptNode() is not used because internal state is not reset
1335
+ (e.g. the past names map of a HTMLFormElement), this is safe
1336
+ in theory but we would rather not risk another attack vector.
1337
+ The state that is cloned by importNode() is explicitly defined
1338
+ by the specs.
1339
+ */
1340
+ returnNode = importNode.call(originalDocument, returnNode, true);
1341
+ }
1342
+
1343
+ return returnNode;
1344
+ }
1345
+
1346
+ var serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
1347
+
1348
+ /* Serialize doctype if allowed */
1349
+ if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {
1350
+ serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\n' + serializedHTML;
1351
+ }
1352
+
1353
+ /* Sanitize final string template-safe */
1354
+ if (SAFE_FOR_TEMPLATES) {
1355
+ serializedHTML = stringReplace(serializedHTML, MUSTACHE_EXPR$$1, ' ');
1356
+ serializedHTML = stringReplace(serializedHTML, ERB_EXPR$$1, ' ');
1357
+ }
1358
+
1359
+ return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
1360
+ };
1361
+
1362
+ /**
1363
+ * Public method to set the configuration once
1364
+ * setConfig
1365
+ *
1366
+ * @param {Object} cfg configuration object
1367
+ */
1368
+ DOMPurify.setConfig = function (cfg) {
1369
+ _parseConfig(cfg);
1370
+ SET_CONFIG = true;
1371
+ };
1372
+
1373
+ /**
1374
+ * Public method to remove the configuration
1375
+ * clearConfig
1376
+ *
1377
+ */
1378
+ DOMPurify.clearConfig = function () {
1379
+ CONFIG = null;
1380
+ SET_CONFIG = false;
1381
+ };
1382
+
1383
+ /**
1384
+ * Public method to check if an attribute value is valid.
1385
+ * Uses last set config, if any. Otherwise, uses config defaults.
1386
+ * isValidAttribute
1387
+ *
1388
+ * @param {string} tag Tag name of containing element.
1389
+ * @param {string} attr Attribute name.
1390
+ * @param {string} value Attribute value.
1391
+ * @return {Boolean} Returns true if `value` is valid. Otherwise, returns false.
1392
+ */
1393
+ DOMPurify.isValidAttribute = function (tag, attr, value) {
1394
+ /* Initialize shared config vars if necessary. */
1395
+ if (!CONFIG) {
1396
+ _parseConfig({});
1397
+ }
1398
+
1399
+ var lcTag = transformCaseFunc(tag);
1400
+ var lcName = transformCaseFunc(attr);
1401
+ return _isValidAttribute(lcTag, lcName, value);
1402
+ };
1403
+
1404
+ /**
1405
+ * AddHook
1406
+ * Public method to add DOMPurify hooks
1407
+ *
1408
+ * @param {String} entryPoint entry point for the hook to add
1409
+ * @param {Function} hookFunction function to execute
1410
+ */
1411
+ DOMPurify.addHook = function (entryPoint, hookFunction) {
1412
+ if (typeof hookFunction !== 'function') {
1413
+ return;
1414
+ }
1415
+
1416
+ hooks[entryPoint] = hooks[entryPoint] || [];
1417
+ arrayPush(hooks[entryPoint], hookFunction);
1418
+ };
1419
+
1420
+ /**
1421
+ * RemoveHook
1422
+ * Public method to remove a DOMPurify hook at a given entryPoint
1423
+ * (pops it from the stack of hooks if more are present)
1424
+ *
1425
+ * @param {String} entryPoint entry point for the hook to remove
1426
+ */
1427
+ DOMPurify.removeHook = function (entryPoint) {
1428
+ if (hooks[entryPoint]) {
1429
+ arrayPop(hooks[entryPoint]);
1430
+ }
1431
+ };
1432
+
1433
+ /**
1434
+ * RemoveHooks
1435
+ * Public method to remove all DOMPurify hooks at a given entryPoint
1436
+ *
1437
+ * @param {String} entryPoint entry point for the hooks to remove
1438
+ */
1439
+ DOMPurify.removeHooks = function (entryPoint) {
1440
+ if (hooks[entryPoint]) {
1441
+ hooks[entryPoint] = [];
1442
+ }
1443
+ };
1444
+
1445
+ /**
1446
+ * RemoveAllHooks
1447
+ * Public method to remove all DOMPurify hooks
1448
+ *
1449
+ */
1450
+ DOMPurify.removeAllHooks = function () {
1451
+ hooks = {};
1452
+ };
1453
+
1454
+ return DOMPurify;
1455
+ }
1456
+
1457
+ var purify = createDOMPurify();
1458
+
1459
+ return purify;
1460
+
1461
+ }));
1462
+ //# sourceMappingURL=purify.js.map
1463
+ });
1464
+
1465
+ const purify$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.assign(/*#__PURE__*/Object.create(null), purify, {
1466
+ 'default': purify
1467
+ }));
1468
+
1469
+ export { purify$1 as p };