@sparkle-learning/core 0.0.57 → 0.0.58

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 (1100) hide show
  1. package/dist/cjs/PrivateRoute-f97245ce.js +217 -0
  2. package/dist/cjs/active-router-f9e18bd8.js +75 -0
  3. package/dist/cjs/animation-ee586546.js +986 -0
  4. package/dist/cjs/app-globals-33c9f31b.js +9 -0
  5. package/dist/cjs/appdata.service-c8d71e05.js +73 -0
  6. package/dist/cjs/assets.service-bfa75092.js +50 -0
  7. package/dist/cjs/assignment.service-690fb59c.js +19 -0
  8. package/dist/cjs/auth.store-1e630a7d.js +3392 -0
  9. package/dist/cjs/compass-svg.cjs.entry.js +132 -0
  10. package/dist/cjs/context-consumer.cjs.entry.js +29 -0
  11. package/dist/cjs/course-select.cjs.entry.js +30 -0
  12. package/dist/cjs/cubic-bezier-53d26d05.js +93 -0
  13. package/dist/cjs/dir-5af5259a.js +20 -0
  14. package/dist/cjs/environment-config.service-c8ff1f3d.js +28 -0
  15. package/dist/cjs/facilitator.service-ff0e1659.js +95 -0
  16. package/dist/cjs/feed.service-8eca4de6.js +57 -0
  17. package/dist/cjs/focus-visible-b0b07ba6.js +76 -0
  18. package/dist/cjs/framework-delegate-59a98abd.js +111 -0
  19. package/dist/cjs/gesture-controller-0eb5579e.js +196 -0
  20. package/dist/cjs/haptic-780f33c4.js +116 -0
  21. package/dist/cjs/hardware-back-button-92d97ff8.js +76 -0
  22. package/dist/cjs/header-mobile-collapse_61.cjs.entry.js +15124 -0
  23. package/dist/cjs/helpers-c2496722.js +425 -0
  24. package/dist/cjs/httpService-d2e7bf8f.js +687 -0
  25. package/dist/cjs/icons-fda820af.js +26 -0
  26. package/dist/cjs/index-12082cba.js +465 -0
  27. package/dist/cjs/index-15ea05f5.js +314 -0
  28. package/dist/cjs/index-51e8292e.js +1928 -0
  29. package/dist/cjs/index-787d4498.js +232 -0
  30. package/dist/cjs/index-8b5629a6.js +186 -0
  31. package/dist/cjs/index-975586fd.js +48 -0
  32. package/dist/cjs/index-9c7b27e4.js +140 -0
  33. package/dist/cjs/index-af080b50.js +139 -0
  34. package/dist/cjs/index-e56e09b8.js +38 -0
  35. package/dist/cjs/index.cjs.js +26 -0
  36. package/dist/cjs/index.es-38cbcdbe.js +10666 -0
  37. package/dist/cjs/input-shims-eff63b88.js +418 -0
  38. package/dist/cjs/ion-accordion-group.cjs.entry.js +205 -0
  39. package/dist/cjs/ion-accordion.cjs.entry.js +336 -0
  40. package/dist/cjs/ion-action-sheet_7.cjs.entry.js +2935 -0
  41. package/dist/cjs/ion-app.cjs.entry.js +79 -0
  42. package/dist/cjs/ion-back-button.cjs.entry.js +94 -0
  43. package/dist/cjs/ion-backdrop.cjs.entry.js +67 -0
  44. package/dist/cjs/ion-badge.cjs.entry.js +29 -0
  45. package/dist/cjs/ion-breadcrumb.cjs.entry.js +95 -0
  46. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +133 -0
  47. package/dist/cjs/ion-buttons_3.cjs.entry.js +153 -0
  48. package/dist/cjs/ion-card-header.cjs.entry.js +37 -0
  49. package/dist/cjs/ion-card-subtitle.cjs.entry.js +30 -0
  50. package/dist/cjs/ion-card-title.cjs.entry.js +30 -0
  51. package/dist/cjs/ion-chip.cjs.entry.js +40 -0
  52. package/dist/cjs/ion-content_2.cjs.entry.js +659 -0
  53. package/dist/cjs/ion-datetime-button.cjs.entry.js +312 -0
  54. package/dist/cjs/ion-datetime.cjs.entry.js +1623 -0
  55. package/dist/cjs/ion-fab-button.cjs.entry.js +108 -0
  56. package/dist/cjs/ion-fab-list.cjs.entry.js +45 -0
  57. package/dist/cjs/ion-fab.cjs.entry.js +76 -0
  58. package/dist/cjs/ion-footer.cjs.entry.js +120 -0
  59. package/dist/cjs/ion-img.cjs.entry.js +101 -0
  60. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +37 -0
  61. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +206 -0
  62. package/dist/cjs/ion-item-divider.cjs.entry.js +40 -0
  63. package/dist/cjs/ion-item-group.cjs.entry.js +31 -0
  64. package/dist/cjs/ion-item-option.cjs.entry.js +60 -0
  65. package/dist/cjs/ion-item-options.cjs.entry.js +47 -0
  66. package/dist/cjs/ion-item-sliding.cjs.entry.js +398 -0
  67. package/dist/cjs/ion-loading.cjs.entry.js +215 -0
  68. package/dist/cjs/ion-menu-button.cjs.entry.js +76 -0
  69. package/dist/cjs/ion-menu-toggle.cjs.entry.js +47 -0
  70. package/dist/cjs/ion-menu.cjs.entry.js +575 -0
  71. package/dist/cjs/ion-modal.cjs.entry.js +1711 -0
  72. package/dist/cjs/ion-nav-link.cjs.entry.js +47 -0
  73. package/dist/cjs/ion-nav.cjs.entry.js +872 -0
  74. package/dist/cjs/ion-picker-column-internal_2.cjs.entry.js +808 -0
  75. package/dist/cjs/ion-picker-column.cjs.entry.js +331 -0
  76. package/dist/cjs/ion-picker.cjs.entry.js +221 -0
  77. package/dist/cjs/ion-progress-bar.cjs.entry.js +74 -0
  78. package/dist/cjs/ion-refresher-content.cjs.entry.js +35 -0
  79. package/dist/cjs/ion-refresher.cjs.entry.js +802 -0
  80. package/dist/cjs/ion-reorder-group.cjs.entry.js +281 -0
  81. package/dist/cjs/ion-reorder.cjs.entry.js +38 -0
  82. package/dist/cjs/ion-route-redirect.cjs.entry.js +24 -0
  83. package/dist/cjs/ion-route.cjs.entry.js +49 -0
  84. package/dist/cjs/ion-router-link.cjs.entry.js +38 -0
  85. package/dist/cjs/ion-router-outlet.cjs.entry.js +200 -0
  86. package/dist/cjs/ion-router.cjs.entry.js +831 -0
  87. package/dist/cjs/ion-searchbar.cjs.entry.js +370 -0
  88. package/dist/cjs/ion-segment-button.cjs.entry.js +102 -0
  89. package/dist/cjs/ion-segment.cjs.entry.js +417 -0
  90. package/dist/cjs/ion-skeleton-text.cjs.entry.js +33 -0
  91. package/dist/cjs/ion-slide.cjs.entry.js +25 -0
  92. package/dist/cjs/ion-slides.cjs.entry.js +391 -0
  93. package/dist/cjs/ion-split-pane.cjs.entry.js +154 -0
  94. package/dist/cjs/ion-tab-bar.cjs.entry.js +75 -0
  95. package/dist/cjs/ion-tab-button.cjs.entry.js +103 -0
  96. package/dist/cjs/ion-tab.cjs.entry.js +59 -0
  97. package/dist/cjs/ion-tabs.cjs.entry.js +154 -0
  98. package/dist/cjs/ion-thumbnail.cjs.entry.js +20 -0
  99. package/dist/cjs/ion-toast.cjs.entry.js +272 -0
  100. package/dist/cjs/ion-toggle.cjs.entry.js +177 -0
  101. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +555 -0
  102. package/dist/cjs/ionic-global-2cde9d3a.js +231 -0
  103. package/dist/cjs/ios.transition-da235483.js +482 -0
  104. package/dist/cjs/keyboard-91096619.js +140 -0
  105. package/dist/cjs/loader.cjs.js +24 -0
  106. package/dist/cjs/localstorage.service-6346a41d.js +40 -0
  107. package/dist/cjs/md.transition-be429e07.js +57 -0
  108. package/dist/cjs/media.service-8a1b9bc5.js +40 -0
  109. package/dist/cjs/menu-toggle-util-7a01448c.js +14 -0
  110. package/dist/cjs/overlays-32df265a.js +507 -0
  111. package/dist/cjs/parse-d0071120.js +1237 -0
  112. package/dist/cjs/purify-fb9c107e.js +1468 -0
  113. package/dist/cjs/signalR.service-bd6b42f9.js +2985 -0
  114. package/dist/cjs/sparkle-animation-player.cjs.entry.js +515 -0
  115. package/dist/cjs/sparkle-assignment.cjs.entry.js +110 -0
  116. package/dist/cjs/sparkle-character-intro.cjs.entry.js +26 -0
  117. package/dist/cjs/sparkle-code.cjs.entry.js +43 -0
  118. package/dist/cjs/sparkle-compass-post.cjs.entry.js +133 -0
  119. package/dist/cjs/sparkle-compass.cjs.entry.js +126 -0
  120. package/dist/cjs/sparkle-core.cjs.js +22 -0
  121. package/dist/cjs/sparkle-discussion-questions_2.cjs.entry.js +281 -0
  122. package/dist/cjs/sparkle-discussion.cjs.entry.js +42 -0
  123. package/dist/cjs/sparkle-emoji.cjs.entry.js +80 -0
  124. package/dist/cjs/sparkle-facilitator-notes-form.cjs.entry.js +121 -0
  125. package/dist/cjs/sparkle-feed-post.cjs.entry.js +122 -0
  126. package/dist/cjs/sparkle-feedback.cjs.entry.js +101 -0
  127. package/dist/cjs/sparkle-file-upload.cjs.entry.js +53 -0
  128. package/dist/cjs/sparkle-goal-form.cjs.entry.js +179 -0
  129. package/dist/cjs/sparkle-gww-comment-list.cjs.entry.js +26 -0
  130. package/dist/cjs/sparkle-gww-graph.cjs.entry.js +19 -0
  131. package/dist/cjs/sparkle-input.cjs.entry.js +56 -0
  132. package/dist/cjs/sparkle-intro.cjs.entry.js +26 -0
  133. package/dist/cjs/sparkle-lower-content-nav.cjs.entry.js +22 -0
  134. package/dist/cjs/sparkle-menu-collapsible.cjs.entry.js +46 -0
  135. package/dist/cjs/sparkle-modal-image.cjs.entry.js +34 -0
  136. package/dist/cjs/sparkle-notfound-page.cjs.entry.js +25 -0
  137. package/dist/cjs/sparkle-overlay.cjs.entry.js +92 -0
  138. package/dist/cjs/sparkle-poll.cjs.entry.js +19 -0
  139. package/dist/cjs/sparkle-quiz-container.cjs.entry.js +47 -0
  140. package/dist/cjs/sparkle-quiz-feedback_5.cjs.entry.js +117 -0
  141. package/dist/cjs/sparkle-quiz-old.cjs.entry.js +120 -0
  142. package/dist/cjs/sparkle-quiz.cjs.entry.js +103 -0
  143. package/dist/cjs/sparkle-select.cjs.entry.js +61 -0
  144. package/dist/cjs/sparkle-sidebar.cjs.entry.js +43 -0
  145. package/dist/cjs/sparkle-tab.cjs.entry.js +26 -0
  146. package/dist/cjs/sparkle-table-of-contents.cjs.entry.js +71 -0
  147. package/dist/cjs/sparkle-tabs.cjs.entry.js +66 -0
  148. package/dist/cjs/sparkle-video-player.cjs.entry.js +22 -0
  149. package/dist/cjs/sparkle-youtube.cjs.entry.js +39 -0
  150. package/dist/cjs/spinner-configs-0ac05f2d.js +147 -0
  151. package/dist/cjs/status-tap-033befa2.js +42 -0
  152. package/dist/cjs/stencil-async-content.cjs.entry.js +32 -0
  153. package/dist/cjs/stencil-route-title.cjs.entry.js +32 -0
  154. package/dist/cjs/stencil-router-prompt.cjs.entry.js +59 -0
  155. package/dist/cjs/student.service-7e5385be.js +78 -0
  156. package/dist/cjs/swipe-back-4a826f9b.js +76 -0
  157. package/dist/cjs/swiper.bundle-8c897c07.js +6420 -0
  158. package/dist/cjs/theme-b0b295c1.js +48 -0
  159. package/dist/cjs/token.service-7a41953d.js +97 -0
  160. package/dist/cjs/util-47e320b2.js +2462 -0
  161. package/dist/collection/PrivateRoute.js +27 -0
  162. package/dist/collection/appconst.js +13 -0
  163. package/dist/collection/assets/img/forward.svg +5 -0
  164. package/dist/collection/assets/img/help/fitt-logo.svg +1 -0
  165. package/dist/collection/assets/img/home/big-white-wall.svg +15 -0
  166. package/dist/collection/assets/img/home/find-help.svg +23 -0
  167. package/dist/collection/assets/img/home/lessons.svg +26 -0
  168. package/dist/collection/assets/img/home/my-goals.svg +19 -0
  169. package/dist/collection/assets/img/home/my-health.svg +17 -0
  170. package/dist/collection/assets/img/home/my-mood.svg +26 -0
  171. package/dist/collection/assets/img/pause.svg +5 -0
  172. package/dist/collection/assets/img/play-symbol.svg +8 -0
  173. package/dist/collection/assets/img/play.svg +4 -0
  174. package/dist/collection/assets/img/rewind.svg +5 -0
  175. package/dist/collection/assets/lib/SignalRAspNetCoreHelper.js +17 -0
  176. package/dist/collection/assets/lib/sparkleUtility.js +8 -0
  177. package/dist/collection/assets/svg/profile.svg +2 -0
  178. package/dist/collection/collection-manifest.json +219 -0
  179. package/dist/collection/components/compass-svg/compass-svg.css +15 -0
  180. package/dist/collection/components/compass-svg/compass-svg.js +156 -0
  181. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.css +7 -0
  182. package/dist/collection/components/layout/facilitator/export-lessons/export-lessons.js +110 -0
  183. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.css +3 -0
  184. package/dist/collection/components/layout/facilitator/facilitator-dashboard/facilitator-dashboard.js +214 -0
  185. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header-mobile-collapse/facilitator-header-mobile-collapse.js +0 -0
  186. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.css +172 -0
  187. package/dist/collection/components/layout/facilitator/facilitator-header/facilitator-header.js +104 -0
  188. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.css +3 -0
  189. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes-form/facilitator-notes-form.js +144 -0
  190. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.css +14 -0
  191. package/dist/collection/components/layout/facilitator/facilitator-notes/facilitator-notes.js +64 -0
  192. package/dist/collection/components/layout/facilitator/facilitator-page.css +196 -0
  193. package/dist/collection/components/layout/facilitator/facilitator-page.js +281 -0
  194. package/dist/collection/components/layout/facilitator/online-students/online-students.css +0 -0
  195. package/dist/collection/components/layout/facilitator/online-students/online-students.js +70 -0
  196. package/dist/collection/components/layout/page/page.css +183 -0
  197. package/dist/collection/components/layout/page/page.js +321 -0
  198. package/dist/collection/components/layout/page/templates/default.js +9 -0
  199. package/dist/collection/components/layout/page/templates/error.js +33 -0
  200. package/dist/collection/components/layout/page/templates/index.js +8 -0
  201. package/dist/collection/components/layout/page/templates/pdf.js +8 -0
  202. package/dist/collection/components/layout/page/to-hypertext.js +27 -0
  203. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.css +3 -0
  204. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-form/sparkle-goal-form.js +252 -0
  205. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.css +12 -0
  206. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-item/sparkle-goal-item.js +59 -0
  207. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.css +33 -0
  208. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goal-progress/sparkle-goal-progress.js +37 -0
  209. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.css +8 -0
  210. package/dist/collection/components/mini-apps/sparkle-goals/sparkle-goals.js +40 -0
  211. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.css +7 -0
  212. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-comment-list/sparkle-gww-comment-list.js +52 -0
  213. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.css +3 -0
  214. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-graph/sparkle-gww-graph.js +14 -0
  215. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.css +30 -0
  216. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww-item/sparkle-gww-item.js +187 -0
  217. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.css +3 -0
  218. package/dist/collection/components/mini-apps/sparkle-gww/sparkle-gww.js +43 -0
  219. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.css +10 -0
  220. package/dist/collection/components/mini-apps/sparkle-health/sparkle-health.js +111 -0
  221. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.css +11 -0
  222. package/dist/collection/components/mini-apps/sparkle-mood/sparkle-mood.js +127 -0
  223. package/dist/collection/components/modal-image/modal-image.css +61 -0
  224. package/dist/collection/components/modal-image/modal-image.js +159 -0
  225. package/dist/collection/components/sparkle-animation-player/assets/play-button-disabled-overlay.png +0 -0
  226. package/dist/collection/components/sparkle-animation-player/assets/play-button-overlay.png +0 -0
  227. package/dist/collection/components/sparkle-animation-player/caption-parser.js +94 -0
  228. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.css +157 -0
  229. package/dist/collection/components/sparkle-animation-player/sparkle-animation-player.js +598 -0
  230. package/dist/collection/components/sparkle-assignment/sparkle-assignment.css +30 -0
  231. package/dist/collection/components/sparkle-assignment/sparkle-assignment.js +159 -0
  232. package/dist/collection/components/sparkle-character-intro/assets/characters/character-img.jpg +0 -0
  233. package/dist/collection/components/sparkle-character-intro/assets/characters/jen.png +0 -0
  234. package/dist/collection/components/sparkle-character-intro/assets/characters/kimberly.png +0 -0
  235. package/dist/collection/components/sparkle-character-intro/assets/characters/valeria.png +0 -0
  236. package/dist/collection/components/sparkle-character-intro/assets/characters/yuna.png +0 -0
  237. package/dist/collection/components/sparkle-character-intro/assets/characters/zynab.png +0 -0
  238. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.css +74 -0
  239. package/dist/collection/components/sparkle-character-intro/sparkle-character-intro.js +68 -0
  240. package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.css +35 -0
  241. package/dist/collection/components/sparkle-compass/sparkle-compass-post/sparkle-compass-post.js +171 -0
  242. package/dist/collection/components/sparkle-compass/sparkle-compass.css +25 -0
  243. package/dist/collection/components/sparkle-compass/sparkle-compass.js +283 -0
  244. package/dist/collection/components/sparkle-course-root/sparkle-course-root.css +3 -0
  245. package/dist/collection/components/sparkle-course-root/sparkle-course-root.js +196 -0
  246. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.css +157 -0
  247. package/dist/collection/components/sparkle-discussion/sparkle-discussion-questions/sparkle-discussion-questions.js +232 -0
  248. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.css +158 -0
  249. package/dist/collection/components/sparkle-discussion/sparkle-discussion-results/sparkle-discussion-results.js +274 -0
  250. package/dist/collection/components/sparkle-discussion/sparkle-discussion.css +5 -0
  251. package/dist/collection/components/sparkle-discussion/sparkle-discussion.js +112 -0
  252. package/dist/collection/components/sparkle-emoji/sparkle-emoji.css +16 -0
  253. package/dist/collection/components/sparkle-emoji/sparkle-emoji.js +116 -0
  254. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.css +35 -0
  255. package/dist/collection/components/sparkle-feed-post/sparkle-feed-post.js +199 -0
  256. package/dist/collection/components/sparkle-feedback/sparkle-feedback.css +3 -0
  257. package/dist/collection/components/sparkle-feedback/sparkle-feedback.js +118 -0
  258. package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.css +0 -0
  259. package/dist/collection/components/sparkle-file-upload/sparkle-file-upload.js +105 -0
  260. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.css +4 -0
  261. package/dist/collection/components/sparkle-forgot-password/sparkle-forgot-password.js +107 -0
  262. package/dist/collection/components/sparkle-input/sparkle-input.css +0 -0
  263. package/dist/collection/components/sparkle-input/sparkle-input.js +212 -0
  264. package/dist/collection/components/sparkle-intro/sparkle-intro.css +15 -0
  265. package/dist/collection/components/sparkle-intro/sparkle-intro.js +35 -0
  266. package/dist/collection/components/sparkle-login/sparkle-login.css +4 -0
  267. package/dist/collection/components/sparkle-login/sparkle-login.js +173 -0
  268. package/dist/collection/components/sparkle-poll/sparkle-poll.css +3 -0
  269. package/dist/collection/components/sparkle-poll/sparkle-poll.js +15 -0
  270. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.css +3 -0
  271. package/dist/collection/components/sparkle-quiz/sparkle-quiz-feedback/sparkle-quiz-feedback.js +69 -0
  272. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.css +3 -0
  273. package/dist/collection/components/sparkle-quiz/sparkle-quiz-input/sparkle-quiz-input.js +59 -0
  274. package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.css +48 -0
  275. package/dist/collection/components/sparkle-quiz/sparkle-quiz-old/sparkle-quiz-old.js +327 -0
  276. package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.css +18 -0
  277. package/dist/collection/components/sparkle-quiz/sparkle-quiz-opinion/sparkle-quiz-opinion.js +106 -0
  278. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.css +3 -0
  279. package/dist/collection/components/sparkle-quiz/sparkle-quiz-poll/sparkle-quiz-poll.js +59 -0
  280. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.css +3 -0
  281. package/dist/collection/components/sparkle-quiz/sparkle-quiz-select/sparkle-quiz-select.js +100 -0
  282. package/dist/collection/components/sparkle-quiz/sparkle-quiz.css +48 -0
  283. package/dist/collection/components/sparkle-quiz/sparkle-quiz.js +221 -0
  284. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.css +3 -0
  285. package/dist/collection/components/sparkle-quiz-container/sparkle-quiz-container.js +98 -0
  286. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.css +3 -0
  287. package/dist/collection/components/sparkle-reset-password/sparkle-reset-password.js +126 -0
  288. package/dist/collection/components/sparkle-root/sparkle-root.css +61 -0
  289. package/dist/collection/components/sparkle-root/sparkle-root.js +86 -0
  290. package/dist/collection/components/sparkle-signup/sparkle-signup.css +6 -0
  291. package/dist/collection/components/sparkle-signup/sparkle-signup.js +197 -0
  292. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.css +13 -0
  293. package/dist/collection/components/sparkle-unauthorized/sparkle-unauthorized.js +18 -0
  294. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.css +3 -0
  295. package/dist/collection/components/sparkle-user-enrollment/sparkle-user-enrollment.js +93 -0
  296. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.css +54 -0
  297. package/dist/collection/components/sparkle-user-profile/sparkle-user-profile.js +151 -0
  298. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.css +11 -0
  299. package/dist/collection/components/sparkle-validation-error/sparkle-validation-error.js +44 -0
  300. package/dist/collection/components/sparkle-video-player/sparkle-video-player.css +0 -0
  301. package/dist/collection/components/sparkle-video-player/sparkle-video-player.js +92 -0
  302. package/dist/collection/components/sparkle-youtube/sparkle-youtube.css +24 -0
  303. package/dist/collection/components/sparkle-youtube/sparkle-youtube.js +99 -0
  304. package/dist/collection/global/app.js +4 -0
  305. package/dist/collection/helpers/utils.js +3 -0
  306. package/dist/collection/icons.js +36 -0
  307. package/dist/collection/index.js +3 -0
  308. package/dist/collection/l10n.js +18 -0
  309. package/dist/collection/models/api.model.js +7 -0
  310. package/dist/collection/models/assets.model.js +1 -0
  311. package/dist/collection/models/auth/auth.user.js +1 -0
  312. package/dist/collection/models/class.model.js +5 -0
  313. package/dist/collection/models/course.model.js +10 -0
  314. package/dist/collection/models/definitions.js +1 -0
  315. package/dist/collection/models/facilitator-dashboard.model.js +5 -0
  316. package/dist/collection/models/goal.model.js +1 -0
  317. package/dist/collection/models/index.js +1 -0
  318. package/dist/collection/models/markdown.model.js +1 -0
  319. package/dist/collection/models/page.model.js +1 -0
  320. package/dist/collection/models/quiz.model.js +3 -0
  321. package/dist/collection/models/user.model.js +1 -0
  322. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part1.js +2727 -0
  323. package/dist/collection/pages/course/welcome-to-mind-body/introduction/animation/m4l1p1_part2.js +2042 -0
  324. package/dist/collection/services/account.service.js +61 -0
  325. package/dist/collection/services/appdata.service.js +60 -0
  326. package/dist/collection/services/assignment.service.js +14 -0
  327. package/dist/collection/services/auth/auth.service.js +64 -0
  328. package/dist/collection/services/core/assets.service.js +45 -0
  329. package/dist/collection/services/core/localstorage.service.js +34 -0
  330. package/dist/collection/services/environment/environment-config.js +24 -0
  331. package/dist/collection/services/environment/environment-config.service.js +24 -0
  332. package/dist/collection/services/facilitator.service.js +76 -0
  333. package/dist/collection/services/feed.service.js +43 -0
  334. package/dist/collection/services/httpService.js +103 -0
  335. package/dist/collection/services/index.js +4 -0
  336. package/dist/collection/services/media.service.js +29 -0
  337. package/dist/collection/services/signalR.service.js +83 -0
  338. package/dist/collection/services/store.service.js +13 -0
  339. package/dist/collection/services/student.service.js +56 -0
  340. package/dist/collection/services/token.service.js +79 -0
  341. package/dist/collection/stores/auth.store.js +12 -0
  342. package/dist/collection/stores/class.store.js +5 -0
  343. package/dist/collection/stores/error.store.js +5 -0
  344. package/dist/collection/stores/facilitator.store.js +15 -0
  345. package/dist/collection/stores/feed.store.js +8 -0
  346. package/dist/collection/stores/goal.store.js +7 -0
  347. package/dist/collection/stores/index.js +1 -0
  348. package/dist/collection/stores/media.store.js +5 -0
  349. package/dist/collection/stores/mood.store.js +5 -0
  350. package/dist/collection/stores/nav.store.js +11 -0
  351. package/dist/collection/stores/signalR.store.js +6 -0
  352. package/dist/collection/stores/theme.store.js +9 -0
  353. package/dist/collection/stores/toc.store.js +5 -0
  354. package/dist/collection/stores/user.store.js +16 -0
  355. package/dist/collection/util.js +55 -0
  356. package/dist/collection/utils.js +92 -0
  357. package/dist/esm/PrivateRoute-90ac95b8.js +212 -0
  358. package/dist/esm/active-router-fc9e4e06.js +73 -0
  359. package/dist/esm/animation-12377cb3.js +984 -0
  360. package/dist/esm/app-globals-3f0347b0.js +7 -0
  361. package/dist/esm/appdata.service-2e84e167.js +70 -0
  362. package/dist/esm/assets.service-def1d63c.js +48 -0
  363. package/dist/esm/assignment.service-8d31f141.js +17 -0
  364. package/dist/esm/auth.store-dba2c2da.js +3381 -0
  365. package/dist/esm/compass-svg.entry.js +128 -0
  366. package/dist/esm/context-consumer.entry.js +25 -0
  367. package/dist/esm/course-select.entry.js +26 -0
  368. package/dist/esm/dir-03012648.js +18 -0
  369. package/dist/esm/environment-config.service-b191f276.js +26 -0
  370. package/dist/esm/facilitator.service-18c47bdf.js +92 -0
  371. package/dist/esm/feed.service-b4f3cae4.js +54 -0
  372. package/dist/esm/framework-delegate-3e634a5c.js +107 -0
  373. package/dist/esm/gesture-controller-7be18351.js +194 -0
  374. package/dist/esm/haptic-522f76f2.js +110 -0
  375. package/dist/esm/header-mobile-collapse_61.entry.js +15060 -0
  376. package/dist/esm/helpers-bf0e23d6.js +403 -0
  377. package/dist/esm/httpService-7986aeed.js +685 -0
  378. package/dist/esm/icons-1c794c74.js +18 -0
  379. package/dist/esm/index-21661af2.js +463 -0
  380. package/dist/esm/index-2b84cad2.js +223 -0
  381. package/dist/esm/index-4044fde9.js +25 -0
  382. package/dist/esm/index-45fec1e7.js +184 -0
  383. package/dist/esm/index-5e8971ae.js +128 -0
  384. package/dist/esm/index-c04b9ed5.js +1888 -0
  385. package/dist/esm/index-cded2d87.js +312 -0
  386. package/dist/esm/index-dad75b83.js +34 -0
  387. package/dist/esm/index.es-e0c0f891.js +10580 -0
  388. package/dist/esm/index.js +12 -0
  389. package/dist/esm/input-shims-671d8d9f.js +416 -0
  390. package/dist/esm/ion-accordion-group.entry.js +201 -0
  391. package/dist/esm/ion-accordion.entry.js +332 -0
  392. package/dist/esm/ion-action-sheet_7.entry.js +2925 -0
  393. package/dist/esm/ion-app.entry.js +75 -0
  394. package/dist/esm/ion-back-button.entry.js +90 -0
  395. package/dist/esm/ion-backdrop.entry.js +63 -0
  396. package/dist/esm/ion-badge.entry.js +25 -0
  397. package/dist/esm/ion-breadcrumb.entry.js +91 -0
  398. package/dist/esm/ion-breadcrumbs.entry.js +129 -0
  399. package/dist/esm/ion-buttons_3.entry.js +147 -0
  400. package/dist/esm/ion-card-header.entry.js +33 -0
  401. package/dist/esm/ion-card-subtitle.entry.js +26 -0
  402. package/dist/esm/ion-card-title.entry.js +26 -0
  403. package/dist/esm/ion-chip.entry.js +36 -0
  404. package/dist/esm/ion-content_2.entry.js +654 -0
  405. package/dist/esm/ion-datetime-button.entry.js +308 -0
  406. package/dist/esm/ion-datetime.entry.js +1619 -0
  407. package/dist/esm/ion-fab-button.entry.js +104 -0
  408. package/dist/esm/ion-fab-list.entry.js +41 -0
  409. package/dist/esm/ion-fab.entry.js +72 -0
  410. package/dist/esm/ion-footer.entry.js +116 -0
  411. package/dist/esm/ion-img.entry.js +97 -0
  412. package/dist/esm/ion-infinite-scroll-content.entry.js +33 -0
  413. package/dist/esm/ion-infinite-scroll.entry.js +202 -0
  414. package/dist/esm/ion-item-divider.entry.js +36 -0
  415. package/dist/esm/ion-item-group.entry.js +27 -0
  416. package/dist/esm/ion-item-option.entry.js +56 -0
  417. package/dist/esm/ion-item-options.entry.js +43 -0
  418. package/dist/esm/ion-item-sliding.entry.js +394 -0
  419. package/dist/esm/ion-loading.entry.js +211 -0
  420. package/dist/esm/ion-menu-button.entry.js +72 -0
  421. package/dist/esm/ion-menu-toggle.entry.js +43 -0
  422. package/dist/esm/ion-menu.entry.js +571 -0
  423. package/dist/esm/ion-modal.entry.js +1707 -0
  424. package/dist/esm/ion-nav-link.entry.js +43 -0
  425. package/dist/esm/ion-nav.entry.js +868 -0
  426. package/dist/esm/ion-picker-column-internal_2.entry.js +803 -0
  427. package/dist/esm/ion-picker-column.entry.js +327 -0
  428. package/dist/esm/ion-picker.entry.js +217 -0
  429. package/dist/esm/ion-progress-bar.entry.js +70 -0
  430. package/dist/esm/ion-refresher-content.entry.js +31 -0
  431. package/dist/esm/ion-refresher.entry.js +798 -0
  432. package/dist/esm/ion-reorder-group.entry.js +277 -0
  433. package/dist/esm/ion-reorder.entry.js +34 -0
  434. package/dist/esm/ion-route-redirect.entry.js +20 -0
  435. package/dist/esm/ion-route.entry.js +45 -0
  436. package/dist/esm/ion-router-link.entry.js +34 -0
  437. package/dist/esm/ion-router-outlet.entry.js +196 -0
  438. package/dist/esm/ion-router.entry.js +827 -0
  439. package/dist/esm/ion-searchbar.entry.js +366 -0
  440. package/dist/esm/ion-segment-button.entry.js +98 -0
  441. package/dist/esm/ion-segment.entry.js +413 -0
  442. package/dist/esm/ion-skeleton-text.entry.js +29 -0
  443. package/dist/esm/ion-slide.entry.js +21 -0
  444. package/dist/esm/ion-slides.entry.js +387 -0
  445. package/dist/esm/ion-split-pane.entry.js +150 -0
  446. package/dist/esm/ion-tab-bar.entry.js +71 -0
  447. package/dist/esm/ion-tab-button.entry.js +99 -0
  448. package/dist/esm/ion-tab.entry.js +55 -0
  449. package/dist/esm/ion-tabs.entry.js +150 -0
  450. package/dist/esm/ion-thumbnail.entry.js +16 -0
  451. package/dist/esm/ion-toast.entry.js +268 -0
  452. package/dist/esm/ion-toggle.entry.js +173 -0
  453. package/dist/esm/ion-virtual-scroll.entry.js +551 -0
  454. package/dist/esm/ionic-global-4903e23e.js +226 -0
  455. package/dist/esm/ios.transition-131d64fe.js +479 -0
  456. package/dist/esm/loader.js +20 -0
  457. package/dist/esm/md.transition-f6126011.js +55 -0
  458. package/dist/esm/media.service-6e90bc41.js +37 -0
  459. package/dist/esm/menu-toggle-util-bace8ae6.js +12 -0
  460. package/dist/esm/overlays-4233a39d.js +491 -0
  461. package/dist/esm/parse-1ae3a9bb.js +1196 -0
  462. package/dist/esm/polyfills/core-js.js +11 -0
  463. package/dist/esm/polyfills/css-shim.js +1 -0
  464. package/dist/esm/polyfills/dom.js +79 -0
  465. package/dist/esm/polyfills/es5-html-element.js +1 -0
  466. package/dist/esm/polyfills/index.js +34 -0
  467. package/dist/esm/polyfills/system.js +6 -0
  468. package/dist/esm/purify-85bfcc69.js +1466 -0
  469. package/dist/esm/signalR.service-c33fba50.js +2982 -0
  470. package/dist/esm/sparkle-animation-player.entry.js +511 -0
  471. package/dist/esm/sparkle-assignment.entry.js +106 -0
  472. package/dist/esm/sparkle-character-intro.entry.js +22 -0
  473. package/dist/esm/sparkle-code.entry.js +39 -0
  474. package/dist/esm/sparkle-compass-post.entry.js +129 -0
  475. package/dist/esm/sparkle-compass.entry.js +122 -0
  476. package/dist/esm/sparkle-core.js +20 -0
  477. package/dist/esm/sparkle-discussion-questions_2.entry.js +276 -0
  478. package/dist/esm/sparkle-discussion.entry.js +38 -0
  479. package/dist/esm/sparkle-emoji.entry.js +76 -0
  480. package/dist/esm/sparkle-facilitator-notes-form.entry.js +117 -0
  481. package/dist/esm/sparkle-feed-post.entry.js +118 -0
  482. package/dist/esm/sparkle-feedback.entry.js +97 -0
  483. package/dist/esm/sparkle-file-upload.entry.js +49 -0
  484. package/dist/esm/sparkle-goal-form.entry.js +175 -0
  485. package/dist/esm/sparkle-gww-comment-list.entry.js +22 -0
  486. package/dist/esm/sparkle-gww-graph.entry.js +15 -0
  487. package/dist/esm/sparkle-input.entry.js +52 -0
  488. package/dist/esm/sparkle-intro.entry.js +22 -0
  489. package/dist/esm/sparkle-lower-content-nav.entry.js +18 -0
  490. package/dist/esm/sparkle-menu-collapsible.entry.js +42 -0
  491. package/dist/esm/sparkle-modal-image.entry.js +30 -0
  492. package/dist/esm/sparkle-notfound-page.entry.js +21 -0
  493. package/dist/esm/sparkle-overlay.entry.js +88 -0
  494. package/dist/esm/sparkle-poll.entry.js +15 -0
  495. package/dist/esm/sparkle-quiz-container.entry.js +43 -0
  496. package/dist/esm/sparkle-quiz-feedback_5.entry.js +109 -0
  497. package/dist/esm/sparkle-quiz-old.entry.js +116 -0
  498. package/dist/esm/sparkle-quiz.entry.js +99 -0
  499. package/dist/esm/sparkle-select.entry.js +57 -0
  500. package/dist/esm/sparkle-sidebar.entry.js +39 -0
  501. package/dist/esm/sparkle-tab.entry.js +22 -0
  502. package/dist/esm/sparkle-table-of-contents.entry.js +67 -0
  503. package/dist/esm/sparkle-tabs.entry.js +62 -0
  504. package/dist/esm/sparkle-video-player.entry.js +18 -0
  505. package/dist/esm/sparkle-youtube.entry.js +35 -0
  506. package/dist/esm/status-tap-dde52787.js +40 -0
  507. package/dist/esm/stencil-async-content.entry.js +28 -0
  508. package/dist/esm/stencil-route-title.entry.js +28 -0
  509. package/dist/esm/stencil-router-prompt.entry.js +55 -0
  510. package/dist/esm/student.service-08af124f.js +75 -0
  511. package/dist/esm/swipe-back-7847a0c1.js +74 -0
  512. package/dist/esm/swiper.bundle-b6a959de.js +6418 -0
  513. package/dist/esm/token.service-71a5d33f.js +94 -0
  514. package/dist/esm/util-57cc8006.js +2451 -0
  515. package/dist/index.cjs.js +1 -0
  516. package/dist/index.js +1 -0
  517. package/dist/loader/cdn.js +3 -0
  518. package/dist/loader/index.cjs.js +3 -0
  519. package/dist/loader/index.d.ts +12 -0
  520. package/dist/loader/index.es2017.js +3 -0
  521. package/dist/loader/index.js +4 -0
  522. package/dist/loader/package.json +10 -0
  523. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.ios.css +75 -0
  524. package/dist/node_modules/@ionic/core/dist/collection/components/accordion/accordion.md.css +72 -0
  525. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.ios.css +25 -0
  526. package/dist/node_modules/@ionic/core/dist/collection/components/accordion-group/accordion-group.md.css +59 -0
  527. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.ios.css +357 -0
  528. package/dist/node_modules/@ionic/core/dist/collection/components/action-sheet/action-sheet.md.css +290 -0
  529. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.ios.css +494 -0
  530. package/dist/node_modules/@ionic/core/dist/collection/components/alert/alert.md.css +502 -0
  531. package/dist/node_modules/@ionic/core/dist/collection/components/app/app.css +17 -0
  532. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.ios.css +22 -0
  533. package/dist/node_modules/@ionic/core/dist/collection/components/avatar/avatar.md.css +22 -0
  534. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.ios.css +281 -0
  535. package/dist/node_modules/@ionic/core/dist/collection/components/back-button/back-button.md.css +309 -0
  536. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.ios.css +26 -0
  537. package/dist/node_modules/@ionic/core/dist/collection/components/backdrop/backdrop.md.css +26 -0
  538. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.ios.css +58 -0
  539. package/dist/node_modules/@ionic/core/dist/collection/components/badge/badge.md.css +62 -0
  540. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.ios.css +234 -0
  541. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumb/breadcrumb.md.css +237 -0
  542. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.ios.css +38 -0
  543. package/dist/node_modules/@ionic/core/dist/collection/components/breadcrumbs/breadcrumbs.md.css +37 -0
  544. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.ios.css +439 -0
  545. package/dist/node_modules/@ionic/core/dist/collection/components/button/button.md.css +428 -0
  546. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.ios.css +128 -0
  547. package/dist/node_modules/@ionic/core/dist/collection/components/buttons/buttons.md.css +151 -0
  548. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.ios.css +101 -0
  549. package/dist/node_modules/@ionic/core/dist/collection/components/card/card.md.css +95 -0
  550. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.ios.css +61 -0
  551. package/dist/node_modules/@ionic/core/dist/collection/components/card-content/card-content.md.css +63 -0
  552. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.ios.css +37 -0
  553. package/dist/node_modules/@ionic/core/dist/collection/components/card-header/card-header.md.css +35 -0
  554. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.ios.css +28 -0
  555. package/dist/node_modules/@ionic/core/dist/collection/components/card-subtitle/card-subtitle.md.css +26 -0
  556. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.ios.css +27 -0
  557. package/dist/node_modules/@ionic/core/dist/collection/components/card-title/card-title.md.css +27 -0
  558. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.ios.css +169 -0
  559. package/dist/node_modules/@ionic/core/dist/collection/components/checkbox/checkbox.md.css +172 -0
  560. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.ios.css +200 -0
  561. package/dist/node_modules/@ionic/core/dist/collection/components/chip/chip.md.css +200 -0
  562. package/dist/node_modules/@ionic/core/dist/collection/components/col/col.css +108 -0
  563. package/dist/node_modules/@ionic/core/dist/collection/components/content/content.css +237 -0
  564. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.ios.css +648 -0
  565. package/dist/node_modules/@ionic/core/dist/collection/components/datetime/datetime.md.css +637 -0
  566. package/dist/node_modules/@ionic/core/dist/collection/components/datetime-button/datetime-button.css +60 -0
  567. package/dist/node_modules/@ionic/core/dist/collection/components/fab/fab.css +61 -0
  568. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.ios.css +338 -0
  569. package/dist/node_modules/@ionic/core/dist/collection/components/fab-button/fab-button.md.css +307 -0
  570. package/dist/node_modules/@ionic/core/dist/collection/components/fab-list/fab-list.css +116 -0
  571. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.ios.css +37 -0
  572. package/dist/node_modules/@ionic/core/dist/collection/components/footer/footer.md.css +37 -0
  573. package/dist/node_modules/@ionic/core/dist/collection/components/grid/grid.css +151 -0
  574. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.ios.css +108 -0
  575. package/dist/node_modules/@ionic/core/dist/collection/components/header/header.md.css +40 -0
  576. package/dist/node_modules/@ionic/core/dist/collection/components/img/img.css +12 -0
  577. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll/infinite-scroll.css +8 -0
  578. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.ios.css +54 -0
  579. package/dist/node_modules/@ionic/core/dist/collection/components/infinite-scroll-content/infinite-scroll-content.md.css +54 -0
  580. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.ios.css +185 -0
  581. package/dist/node_modules/@ionic/core/dist/collection/components/input/input.md.css +185 -0
  582. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.ios.css +669 -0
  583. package/dist/node_modules/@ionic/core/dist/collection/components/item/item.md.css +928 -0
  584. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.ios.css +204 -0
  585. package/dist/node_modules/@ionic/core/dist/collection/components/item-divider/item-divider.md.css +297 -0
  586. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.ios.css +3 -0
  587. package/dist/node_modules/@ionic/core/dist/collection/components/item-group/item-group.md.css +3 -0
  588. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.ios.css +186 -0
  589. package/dist/node_modules/@ionic/core/dist/collection/components/item-option/item-option.md.css +180 -0
  590. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.ios.css +88 -0
  591. package/dist/node_modules/@ionic/core/dist/collection/components/item-options/item-options.md.css +85 -0
  592. package/dist/node_modules/@ionic/core/dist/collection/components/item-sliding/item-sliding.css +42 -0
  593. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.ios.css +156 -0
  594. package/dist/node_modules/@ionic/core/dist/collection/components/label/label.md.css +250 -0
  595. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.ios.css +91 -0
  596. package/dist/node_modules/@ionic/core/dist/collection/components/list/list.md.css +114 -0
  597. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.ios.css +118 -0
  598. package/dist/node_modules/@ionic/core/dist/collection/components/list-header/list-header.md.css +94 -0
  599. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.ios.css +109 -0
  600. package/dist/node_modules/@ionic/core/dist/collection/components/loading/loading.md.css +100 -0
  601. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.ios.css +127 -0
  602. package/dist/node_modules/@ionic/core/dist/collection/components/menu/menu.md.css +123 -0
  603. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.ios.css +175 -0
  604. package/dist/node_modules/@ionic/core/dist/collection/components/menu-button/menu-button.md.css +178 -0
  605. package/dist/node_modules/@ionic/core/dist/collection/components/menu-toggle/menu-toggle.css +3 -0
  606. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.ios.css +250 -0
  607. package/dist/node_modules/@ionic/core/dist/collection/components/modal/modal.md.css +177 -0
  608. package/dist/node_modules/@ionic/core/dist/collection/components/nav/nav.css +10 -0
  609. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.ios.css +16 -0
  610. package/dist/node_modules/@ionic/core/dist/collection/components/note/note.md.css +17 -0
  611. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.ios.css +217 -0
  612. package/dist/node_modules/@ionic/core/dist/collection/components/picker/picker.md.css +204 -0
  613. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.ios.css +122 -0
  614. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column/picker-column.md.css +123 -0
  615. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.ios.css +82 -0
  616. package/dist/node_modules/@ionic/core/dist/collection/components/picker-column-internal/picker-column-internal.md.css +85 -0
  617. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.ios.css +126 -0
  618. package/dist/node_modules/@ionic/core/dist/collection/components/picker-internal/picker-internal.md.css +122 -0
  619. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.ios.css +201 -0
  620. package/dist/node_modules/@ionic/core/dist/collection/components/popover/popover.md.css +132 -0
  621. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.ios.css +206 -0
  622. package/dist/node_modules/@ionic/core/dist/collection/components/progress-bar/progress-bar.md.css +206 -0
  623. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.ios.css +177 -0
  624. package/dist/node_modules/@ionic/core/dist/collection/components/radio/radio.md.css +178 -0
  625. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.ios.css +275 -0
  626. package/dist/node_modules/@ionic/core/dist/collection/components/range/range.md.css +320 -0
  627. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.ios.css +189 -0
  628. package/dist/node_modules/@ionic/core/dist/collection/components/refresher/refresher.md.css +210 -0
  629. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.ios.css +15 -0
  630. package/dist/node_modules/@ionic/core/dist/collection/components/reorder/reorder.md.css +15 -0
  631. package/dist/node_modules/@ionic/core/dist/collection/components/reorder-group/reorder-group.css +33 -0
  632. package/dist/node_modules/@ionic/core/dist/collection/components/ripple-effect/ripple-effect.css +58 -0
  633. package/dist/node_modules/@ionic/core/dist/collection/components/router-link/router-link.css +29 -0
  634. package/dist/node_modules/@ionic/core/dist/collection/components/router-outlet/route-outlet.css +10 -0
  635. package/dist/node_modules/@ionic/core/dist/collection/components/row/row.css +4 -0
  636. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.ios.css +348 -0
  637. package/dist/node_modules/@ionic/core/dist/collection/components/searchbar/searchbar.md.css +279 -0
  638. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.ios.css +65 -0
  639. package/dist/node_modules/@ionic/core/dist/collection/components/segment/segment.md.css +36 -0
  640. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.ios.css +446 -0
  641. package/dist/node_modules/@ionic/core/dist/collection/components/segment-button/segment-button.md.css +424 -0
  642. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.ios.css +145 -0
  643. package/dist/node_modules/@ionic/core/dist/collection/components/select/select.md.css +177 -0
  644. package/dist/node_modules/@ionic/core/dist/collection/components/select-option/select-option.css +3 -0
  645. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.ios.css +14 -0
  646. package/dist/node_modules/@ionic/core/dist/collection/components/select-popover/select-popover.md.css +37 -0
  647. package/dist/node_modules/@ionic/core/dist/collection/components/skeleton-text/skeleton-text.css +53 -0
  648. package/dist/node_modules/@ionic/core/dist/collection/components/slide/slide.css +31 -0
  649. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.ios.css +764 -0
  650. package/dist/node_modules/@ionic/core/dist/collection/components/slides/slides.md.css +764 -0
  651. package/dist/node_modules/@ionic/core/dist/collection/components/spinner/spinner.css +167 -0
  652. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.ios.css +108 -0
  653. package/dist/node_modules/@ionic/core/dist/collection/components/split-pane/split-pane.md.css +108 -0
  654. package/dist/node_modules/@ionic/core/dist/collection/components/tab/tab.css +4 -0
  655. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.ios.css +97 -0
  656. package/dist/node_modules/@ionic/core/dist/collection/components/tab-bar/tab-bar.md.css +82 -0
  657. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.ios.css +308 -0
  658. package/dist/node_modules/@ionic/core/dist/collection/components/tab-button/tab-button.md.css +331 -0
  659. package/dist/node_modules/@ionic/core/dist/collection/components/tabs/tabs.css +19 -0
  660. package/dist/node_modules/@ionic/core/dist/collection/components/text/text.css +3 -0
  661. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.ios.css +175 -0
  662. package/dist/node_modules/@ionic/core/dist/collection/components/textarea/textarea.md.css +179 -0
  663. package/dist/node_modules/@ionic/core/dist/collection/components/thumbnail/thumbnail.css +21 -0
  664. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.ios.css +122 -0
  665. package/dist/node_modules/@ionic/core/dist/collection/components/title/title.md.css +55 -0
  666. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.ios.css +262 -0
  667. package/dist/node_modules/@ionic/core/dist/collection/components/toast/toast.md.css +295 -0
  668. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.ios.css +286 -0
  669. package/dist/node_modules/@ionic/core/dist/collection/components/toggle/toggle.md.css +261 -0
  670. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.ios.css +175 -0
  671. package/dist/node_modules/@ionic/core/dist/collection/components/toolbar/toolbar.md.css +168 -0
  672. package/dist/node_modules/@ionic/core/dist/collection/components/virtual-scroll/virtual-scroll.css +21 -0
  673. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/button/button.css +49 -0
  674. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/card/card.css +208 -0
  675. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/cards/cards.css +31 -0
  676. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/code/code.css +245 -0
  677. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/dropdown/dropdown.css +115 -0
  678. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header-mobile-collapse/header-mobile-collapse.css +255 -0
  679. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/header/header.css +232 -0
  680. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/collapsible/collapsible.css +3 -0
  681. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu-toggle/menu-toggle.css +25 -0
  682. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/menu/menu.css +71 -0
  683. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/nav/nav.css +194 -0
  684. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/notfound-page/notfound-page.css +4 -0
  685. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/overlay/overlay.css +67 -0
  686. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/page-footer/page-footer.css +25 -0
  687. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/pagination/pagination.css +93 -0
  688. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/select/select.css +52 -0
  689. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sidebar/sidebar.css +98 -0
  690. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/sparkle-lower-content-nav/sparkle-lower-content-nav.css +8 -0
  691. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/table-of-contents/table-of-contents.css +37 -0
  692. package/dist/node_modules/@sparkle-learning/components/dist/collection/components/tabs/tabs.css +64 -0
  693. package/dist/node_modules/@stencil/router/dist/collection/components/route/route.css +3 -0
  694. package/dist/node_modules/ionicons/dist/collection/components/icon/icon.css +101 -0
  695. package/dist/sparkle-core/index.esm.js +1 -19
  696. package/dist/sparkle-core/p-00d10dc9.js +4 -0
  697. package/dist/sparkle-core/p-0147266a.js +1 -0
  698. package/dist/sparkle-core/p-04c7b276.entry.js +1 -0
  699. package/dist/sparkle-core/p-05c032dd.js +4 -0
  700. package/dist/sparkle-core/p-06642405.entry.js +1 -0
  701. package/dist/sparkle-core/p-0664370b.entry.js +1 -0
  702. package/dist/sparkle-core/p-06c7d0f2.entry.js +1 -0
  703. package/dist/sparkle-core/p-076f0239.js +4 -0
  704. package/dist/sparkle-core/p-077c732b.js +4 -0
  705. package/dist/sparkle-core/p-08420531.entry.js +1 -0
  706. package/dist/sparkle-core/p-0ad5c123.entry.js +1 -0
  707. package/dist/sparkle-core/p-0afa3a4d.entry.js +1 -0
  708. package/dist/sparkle-core/p-0c3f3ea6.entry.js +1 -0
  709. package/dist/sparkle-core/p-0e4de1d0.js +4 -0
  710. package/dist/sparkle-core/p-0e8e539f.entry.js +1 -0
  711. package/dist/sparkle-core/p-11356b03.entry.js +1 -0
  712. package/dist/sparkle-core/p-11a6c175.entry.js +1 -0
  713. package/dist/sparkle-core/p-12dd96d7.js +4 -0
  714. package/dist/sparkle-core/p-13ec39db.entry.js +1 -0
  715. package/dist/sparkle-core/p-1adc98f6.js +1 -0
  716. package/dist/sparkle-core/p-1b1ba156.entry.js +1 -0
  717. package/dist/sparkle-core/p-1e125ca5.entry.js +1 -0
  718. package/dist/sparkle-core/p-1e4782af.entry.js +1 -0
  719. package/dist/sparkle-core/p-2033cd86.js +7 -0
  720. package/dist/sparkle-core/p-214d1229.entry.js +1 -0
  721. package/dist/sparkle-core/p-23aca7ca.js +4 -0
  722. package/dist/sparkle-core/p-24cb9a33.entry.js +1 -0
  723. package/dist/sparkle-core/p-27fbabc3.entry.js +1 -0
  724. package/dist/sparkle-core/p-2ba70507.entry.js +1 -0
  725. package/dist/sparkle-core/p-2c1ca854.entry.js +1 -0
  726. package/dist/sparkle-core/p-2caed39f.entry.js +1 -0
  727. package/dist/sparkle-core/p-2d9659e2.entry.js +1 -0
  728. package/dist/sparkle-core/p-2f569553.js +1 -0
  729. package/dist/sparkle-core/p-30b810d1.entry.js +4 -0
  730. package/dist/sparkle-core/p-32f4e565.entry.js +1 -0
  731. package/dist/sparkle-core/p-352677e6.entry.js +1 -0
  732. package/dist/sparkle-core/p-38b7cf68.entry.js +1 -0
  733. package/dist/sparkle-core/p-38c842d5.entry.js +1 -0
  734. package/dist/sparkle-core/p-3963e02b.entry.js +1 -0
  735. package/dist/sparkle-core/p-39712c56.entry.js +4 -0
  736. package/dist/sparkle-core/p-39a31e43.js +1 -0
  737. package/dist/sparkle-core/p-3daf2915.entry.js +352 -0
  738. package/dist/sparkle-core/p-3de0e00c.js +4 -0
  739. package/dist/sparkle-core/p-4053ecdb.entry.js +1 -0
  740. package/dist/sparkle-core/p-408176ba.js +1 -0
  741. package/dist/sparkle-core/p-42ed7d5f.entry.js +1 -0
  742. package/dist/sparkle-core/p-48f72e63.js +4 -0
  743. package/dist/sparkle-core/p-4b4a8703.js +1 -0
  744. package/dist/sparkle-core/p-4c6a7e52.js +1 -0
  745. package/dist/sparkle-core/p-4d1cfcbe.entry.js +1 -0
  746. package/dist/sparkle-core/p-4d4077ea.js +4 -0
  747. package/dist/sparkle-core/p-4fba3e4c.js +1 -0
  748. package/dist/sparkle-core/p-506221fe.js +4 -0
  749. package/dist/sparkle-core/p-5096739e.entry.js +1 -0
  750. package/dist/sparkle-core/p-5322c920.entry.js +1 -0
  751. package/dist/sparkle-core/p-5893bbe5.entry.js +1 -0
  752. package/dist/sparkle-core/p-594a6982.entry.js +1 -0
  753. package/dist/sparkle-core/p-5c435d5a.entry.js +1 -0
  754. package/dist/sparkle-core/p-5cad23f1.js +3 -0
  755. package/dist/sparkle-core/p-5d409601.js +1 -0
  756. package/dist/sparkle-core/p-601397df.entry.js +1 -0
  757. package/dist/sparkle-core/p-604a7987.js +4 -0
  758. package/dist/sparkle-core/p-616941c6.entry.js +1 -0
  759. package/dist/sparkle-core/p-6316d124.entry.js +1 -0
  760. package/dist/sparkle-core/p-63f71ada.entry.js +1 -0
  761. package/dist/sparkle-core/p-69487d90.entry.js +1 -0
  762. package/dist/sparkle-core/p-6bde0192.entry.js +7 -0
  763. package/dist/sparkle-core/p-6d2f4093.entry.js +7 -0
  764. package/dist/sparkle-core/p-6ffd2420.entry.js +1 -0
  765. package/dist/sparkle-core/p-72053ae0.entry.js +1 -0
  766. package/dist/sparkle-core/p-73721c84.js +4 -0
  767. package/dist/sparkle-core/p-74864276.entry.js +1 -0
  768. package/dist/sparkle-core/p-7d8427eb.js +4 -0
  769. package/dist/sparkle-core/p-7dae0f0e.js +1 -0
  770. package/dist/sparkle-core/p-7dbfc316.js +1 -0
  771. package/dist/sparkle-core/p-7e7ce516.js +4 -0
  772. package/dist/sparkle-core/p-81714d94.entry.js +1 -0
  773. package/dist/sparkle-core/p-8492a765.entry.js +1 -0
  774. package/dist/sparkle-core/p-859563db.entry.js +1 -0
  775. package/dist/sparkle-core/p-85d4cd5c.entry.js +1 -0
  776. package/dist/sparkle-core/p-865f36a8.entry.js +1 -0
  777. package/dist/sparkle-core/p-86ed13f0.js +5 -0
  778. package/dist/sparkle-core/p-871106e0.js +4 -0
  779. package/dist/sparkle-core/p-894ff7e6.entry.js +1 -0
  780. package/dist/sparkle-core/p-8a41b502.entry.js +1 -0
  781. package/dist/sparkle-core/p-8b56f734.js +1 -0
  782. package/dist/sparkle-core/p-8c74cbb6.entry.js +1 -0
  783. package/dist/sparkle-core/p-924b2917.js +4 -0
  784. package/dist/sparkle-core/p-9289cdbc.entry.js +1 -0
  785. package/dist/sparkle-core/p-957715c5.entry.js +1 -0
  786. package/dist/sparkle-core/p-973fe404.entry.js +22 -0
  787. package/dist/sparkle-core/p-975b99ee.entry.js +1 -0
  788. package/dist/sparkle-core/p-98daeddb.entry.js +1 -0
  789. package/dist/sparkle-core/p-99ee9919.js +1 -0
  790. package/dist/sparkle-core/p-9abbd715.entry.js +1 -0
  791. package/dist/sparkle-core/p-9d894ed4.js +4 -0
  792. package/dist/sparkle-core/p-9e309b3e.entry.js +1 -0
  793. package/dist/sparkle-core/p-9e7fee8f.entry.js +1 -0
  794. package/dist/sparkle-core/p-9ebf0537.entry.js +1 -0
  795. package/dist/sparkle-core/p-a208ab2d.js +4 -0
  796. package/dist/sparkle-core/p-a2638250.entry.js +1 -0
  797. package/dist/sparkle-core/p-a2ebcf0a.entry.js +1 -0
  798. package/dist/sparkle-core/p-a98d7ebe.entry.js +1 -0
  799. package/dist/sparkle-core/p-add30d46.js +4 -0
  800. package/dist/sparkle-core/p-b0603d19.js +16 -0
  801. package/dist/sparkle-core/p-b06e2bef.js +1 -0
  802. package/dist/sparkle-core/p-b3f375fb.entry.js +1 -0
  803. package/dist/sparkle-core/p-b5f3e1bf.entry.js +1 -0
  804. package/dist/sparkle-core/p-b6fec622.entry.js +1 -0
  805. package/dist/sparkle-core/p-b8d71ff4.js +1 -0
  806. package/dist/sparkle-core/p-b96f3c84.entry.js +7 -0
  807. package/dist/sparkle-core/p-bd80ff43.js +4 -0
  808. package/dist/sparkle-core/p-bd90903e.js +1 -0
  809. package/dist/sparkle-core/p-be64105c.entry.js +1 -0
  810. package/dist/sparkle-core/p-c0533c23.entry.js +1 -0
  811. package/dist/sparkle-core/p-c2990b24.entry.js +1 -0
  812. package/dist/sparkle-core/p-c3cadfc6.entry.js +1 -0
  813. package/dist/sparkle-core/p-c60b29bd.entry.js +4 -0
  814. package/dist/sparkle-core/p-c64a34cd.entry.js +1 -0
  815. package/dist/sparkle-core/p-c7e21070.entry.js +1 -0
  816. package/dist/sparkle-core/p-c9f753a4.js +1 -0
  817. package/dist/sparkle-core/p-cabe9139.js +1 -0
  818. package/dist/sparkle-core/p-cabfbf22.entry.js +1 -0
  819. package/dist/sparkle-core/p-cc518c36.entry.js +1 -0
  820. package/dist/sparkle-core/p-cffd4817.entry.js +1 -0
  821. package/dist/sparkle-core/p-d0adf726.entry.js +1 -0
  822. package/dist/sparkle-core/p-d20e4fcf.entry.js +1 -0
  823. package/dist/sparkle-core/p-d24e53ab.entry.js +1 -0
  824. package/dist/sparkle-core/p-d288e6c1.entry.js +1 -0
  825. package/dist/sparkle-core/p-d601810e.entry.js +1 -0
  826. package/dist/sparkle-core/p-d68092b7.js +4 -0
  827. package/dist/sparkle-core/p-da391f3f.js +1 -0
  828. package/dist/sparkle-core/p-de4deb61.entry.js +1 -0
  829. package/dist/sparkle-core/p-e0cad1bb.js +1 -0
  830. package/dist/sparkle-core/p-e249aebf.entry.js +1 -0
  831. package/dist/sparkle-core/p-e3e36ce9.entry.js +1 -0
  832. package/dist/sparkle-core/p-e421d638.entry.js +1 -0
  833. package/dist/sparkle-core/p-e686d8b5.entry.js +4 -0
  834. package/dist/sparkle-core/p-e8988989.entry.js +1 -0
  835. package/dist/sparkle-core/p-e9431eeb.js +7 -0
  836. package/dist/sparkle-core/p-ea962e1b.entry.js +1 -0
  837. package/dist/sparkle-core/p-eaa8bbee.js +4 -0
  838. package/dist/sparkle-core/p-ebd4354b.entry.js +1 -0
  839. package/dist/sparkle-core/p-ee1e0eb4.js +2 -0
  840. package/dist/sparkle-core/p-ef4edc48.entry.js +4 -0
  841. package/dist/sparkle-core/p-f196c124.entry.js +7 -0
  842. package/dist/sparkle-core/p-f3cba72a.js +4 -0
  843. package/dist/sparkle-core/p-f47fe1fe.entry.js +1 -0
  844. package/dist/sparkle-core/p-f714f77a.entry.js +1 -0
  845. package/dist/sparkle-core/p-f891c79a.entry.js +1 -0
  846. package/dist/sparkle-core/p-fb0ca75e.entry.js +5 -0
  847. package/dist/sparkle-core/p-fb757951.entry.js +1 -0
  848. package/dist/sparkle-core/p-fd8d0738.entry.js +4 -0
  849. package/dist/sparkle-core/p-fda95b6e.entry.js +1 -0
  850. package/dist/sparkle-core/p-fe6dc976.entry.js +1 -0
  851. package/dist/sparkle-core/p-ff080f82.entry.js +10 -0
  852. package/dist/sparkle-core/p-ff7a8a71.js +4 -0
  853. package/dist/sparkle-core/sparkle-core.css +1 -2660
  854. package/dist/sparkle-core/sparkle-core.esm.js +1 -130
  855. package/package.json +1 -1
  856. package/dist/sparkle-core/PrivateRoute-a12e7ee5.js +0 -37
  857. package/dist/sparkle-core/account.service-e711795d.js +0 -63
  858. package/dist/sparkle-core/active-router-af86c9b4.js +0 -73
  859. package/dist/sparkle-core/animation-676a644d.js +0 -984
  860. package/dist/sparkle-core/app-globals-9ffa9ec3.js +0 -10
  861. package/dist/sparkle-core/appdata.service-703dff70.js +0 -69
  862. package/dist/sparkle-core/assets/user.png +0 -0
  863. package/dist/sparkle-core/assets.service-6508aae6.js +0 -71
  864. package/dist/sparkle-core/assignment.service-e42e9368.js +0 -17
  865. package/dist/sparkle-core/button-active-d68c5eb7.js +0 -67
  866. package/dist/sparkle-core/compass-svg.entry.js +0 -128
  867. package/dist/sparkle-core/context-consumer.entry.js +0 -25
  868. package/dist/sparkle-core/course-select.entry.js +0 -26
  869. package/dist/sparkle-core/css-shim-04165e59.js +0 -4
  870. package/dist/sparkle-core/dom-26e7cb2c.js +0 -73
  871. package/dist/sparkle-core/dom-utils-8e73e88b.js +0 -55
  872. package/dist/sparkle-core/facilitator.service-00a88935.js +0 -79
  873. package/dist/sparkle-core/facilitator.store-01be0386.js +0 -18
  874. package/dist/sparkle-core/feed.service-d495f3e1.js +0 -53
  875. package/dist/sparkle-core/framework-delegate-d3fa493f.js +0 -107
  876. package/dist/sparkle-core/haptic-a9e94599.js +0 -124
  877. package/dist/sparkle-core/header-mobile-collapse.entry.js +0 -86
  878. package/dist/sparkle-core/helpers-f11f0674.js +0 -406
  879. package/dist/sparkle-core/icons-758d1417.js +0 -41
  880. package/dist/sparkle-core/index-05b398c2.js +0 -34
  881. package/dist/sparkle-core/index-0af0deac.js +0 -312
  882. package/dist/sparkle-core/index-0df264ee.js +0 -4518
  883. package/dist/sparkle-core/index-183cda39.js +0 -223
  884. package/dist/sparkle-core/index-18a69883.js +0 -1336
  885. package/dist/sparkle-core/index-1d7a6fa0.js +0 -269
  886. package/dist/sparkle-core/index-1dec9544.js +0 -3064
  887. package/dist/sparkle-core/index-81dab78f.js +0 -85
  888. package/dist/sparkle-core/index-9b5bcea1.js +0 -22
  889. package/dist/sparkle-core/index-bb469fe3.js +0 -128
  890. package/dist/sparkle-core/index-d2990a48.js +0 -184
  891. package/dist/sparkle-core/index-dd414b33.js +0 -653
  892. package/dist/sparkle-core/index-faeec85a.js +0 -8
  893. package/dist/sparkle-core/index.es-1f6eedc5.js +0 -11066
  894. package/dist/sparkle-core/input-shims-0b2f5522.js +0 -418
  895. package/dist/sparkle-core/ion-accordion-group.entry.js +0 -201
  896. package/dist/sparkle-core/ion-accordion.entry.js +0 -332
  897. package/dist/sparkle-core/ion-action-sheet.entry.js +0 -263
  898. package/dist/sparkle-core/ion-alert.entry.js +0 -448
  899. package/dist/sparkle-core/ion-app.entry.js +0 -75
  900. package/dist/sparkle-core/ion-avatar.entry.js +0 -21
  901. package/dist/sparkle-core/ion-back-button.entry.js +0 -90
  902. package/dist/sparkle-core/ion-backdrop.entry.js +0 -63
  903. package/dist/sparkle-core/ion-badge.entry.js +0 -25
  904. package/dist/sparkle-core/ion-breadcrumb.entry.js +0 -91
  905. package/dist/sparkle-core/ion-breadcrumbs.entry.js +0 -129
  906. package/dist/sparkle-core/ion-button.entry.js +0 -125
  907. package/dist/sparkle-core/ion-buttons.entry.js +0 -38
  908. package/dist/sparkle-core/ion-card-content.entry.js +0 -26
  909. package/dist/sparkle-core/ion-card-header.entry.js +0 -33
  910. package/dist/sparkle-core/ion-card-subtitle.entry.js +0 -26
  911. package/dist/sparkle-core/ion-card-title.entry.js +0 -26
  912. package/dist/sparkle-core/ion-card.entry.js +0 -64
  913. package/dist/sparkle-core/ion-checkbox.entry.js +0 -109
  914. package/dist/sparkle-core/ion-chip.entry.js +0 -36
  915. package/dist/sparkle-core/ion-col.entry.js +0 -121
  916. package/dist/sparkle-core/ion-content.entry.js +0 -319
  917. package/dist/sparkle-core/ion-datetime-button.entry.js +0 -308
  918. package/dist/sparkle-core/ion-datetime.entry.js +0 -1619
  919. package/dist/sparkle-core/ion-fab-button.entry.js +0 -104
  920. package/dist/sparkle-core/ion-fab-list.entry.js +0 -41
  921. package/dist/sparkle-core/ion-fab.entry.js +0 -72
  922. package/dist/sparkle-core/ion-footer.entry.js +0 -116
  923. package/dist/sparkle-core/ion-grid.entry.js +0 -24
  924. package/dist/sparkle-core/ion-header.entry.js +0 -341
  925. package/dist/sparkle-core/ion-icon.entry.js +0 -200
  926. package/dist/sparkle-core/ion-img.entry.js +0 -97
  927. package/dist/sparkle-core/ion-infinite-scroll-content.entry.js +0 -33
  928. package/dist/sparkle-core/ion-infinite-scroll.entry.js +0 -202
  929. package/dist/sparkle-core/ion-input.entry.js +0 -293
  930. package/dist/sparkle-core/ion-item-divider.entry.js +0 -36
  931. package/dist/sparkle-core/ion-item-group.entry.js +0 -27
  932. package/dist/sparkle-core/ion-item-option.entry.js +0 -56
  933. package/dist/sparkle-core/ion-item-options.entry.js +0 -43
  934. package/dist/sparkle-core/ion-item-sliding.entry.js +0 -394
  935. package/dist/sparkle-core/ion-item.entry.js +0 -267
  936. package/dist/sparkle-core/ion-label.entry.js +0 -77
  937. package/dist/sparkle-core/ion-list-header.entry.js +0 -27
  938. package/dist/sparkle-core/ion-list.entry.js +0 -48
  939. package/dist/sparkle-core/ion-loading.entry.js +0 -211
  940. package/dist/sparkle-core/ion-menu-button.entry.js +0 -72
  941. package/dist/sparkle-core/ion-menu-toggle.entry.js +0 -43
  942. package/dist/sparkle-core/ion-menu.entry.js +0 -575
  943. package/dist/sparkle-core/ion-modal.entry.js +0 -1706
  944. package/dist/sparkle-core/ion-nav-link.entry.js +0 -43
  945. package/dist/sparkle-core/ion-nav.entry.js +0 -872
  946. package/dist/sparkle-core/ion-note.entry.js +0 -25
  947. package/dist/sparkle-core/ion-picker-column-internal.entry.js +0 -363
  948. package/dist/sparkle-core/ion-picker-column.entry.js +0 -327
  949. package/dist/sparkle-core/ion-picker-internal.entry.js +0 -454
  950. package/dist/sparkle-core/ion-picker.entry.js +0 -217
  951. package/dist/sparkle-core/ion-popover.entry.js +0 -1362
  952. package/dist/sparkle-core/ion-progress-bar.entry.js +0 -70
  953. package/dist/sparkle-core/ion-radio-group.entry.js +0 -121
  954. package/dist/sparkle-core/ion-radio.entry.js +0 -111
  955. package/dist/sparkle-core/ion-range.entry.js +0 -511
  956. package/dist/sparkle-core/ion-refresher-content.entry.js +0 -31
  957. package/dist/sparkle-core/ion-refresher.entry.js +0 -798
  958. package/dist/sparkle-core/ion-reorder-group.entry.js +0 -277
  959. package/dist/sparkle-core/ion-reorder.entry.js +0 -34
  960. package/dist/sparkle-core/ion-ripple-effect.entry.js +0 -89
  961. package/dist/sparkle-core/ion-route-redirect.entry.js +0 -20
  962. package/dist/sparkle-core/ion-route.entry.js +0 -45
  963. package/dist/sparkle-core/ion-router-link.entry.js +0 -34
  964. package/dist/sparkle-core/ion-router-outlet.entry.js +0 -196
  965. package/dist/sparkle-core/ion-router.entry.js +0 -827
  966. package/dist/sparkle-core/ion-row.entry.js +0 -16
  967. package/dist/sparkle-core/ion-searchbar.entry.js +0 -366
  968. package/dist/sparkle-core/ion-segment-button.entry.js +0 -98
  969. package/dist/sparkle-core/ion-segment.entry.js +0 -415
  970. package/dist/sparkle-core/ion-select-option.entry.js +0 -23
  971. package/dist/sparkle-core/ion-select-popover.entry.js +0 -96
  972. package/dist/sparkle-core/ion-select.entry.js +0 -510
  973. package/dist/sparkle-core/ion-skeleton-text.entry.js +0 -29
  974. package/dist/sparkle-core/ion-slide.entry.js +0 -21
  975. package/dist/sparkle-core/ion-slides.entry.js +0 -387
  976. package/dist/sparkle-core/ion-spinner.entry.js +0 -60
  977. package/dist/sparkle-core/ion-split-pane.entry.js +0 -156
  978. package/dist/sparkle-core/ion-tab-bar.entry.js +0 -71
  979. package/dist/sparkle-core/ion-tab-button.entry.js +0 -99
  980. package/dist/sparkle-core/ion-tab.entry.js +0 -63
  981. package/dist/sparkle-core/ion-tabs.entry.js +0 -150
  982. package/dist/sparkle-core/ion-text.entry.js +0 -20
  983. package/dist/sparkle-core/ion-textarea.entry.js +0 -244
  984. package/dist/sparkle-core/ion-thumbnail.entry.js +0 -16
  985. package/dist/sparkle-core/ion-title.entry.js +0 -48
  986. package/dist/sparkle-core/ion-toast.entry.js +0 -268
  987. package/dist/sparkle-core/ion-toggle.entry.js +0 -173
  988. package/dist/sparkle-core/ion-toolbar.entry.js +0 -70
  989. package/dist/sparkle-core/ion-virtual-scroll.entry.js +0 -551
  990. package/dist/sparkle-core/ionic-global-127576f6.js +0 -226
  991. package/dist/sparkle-core/ios.transition-02531dda.js +0 -479
  992. package/dist/sparkle-core/location-utils-fea12957.js +0 -229
  993. package/dist/sparkle-core/match-path-760e1797.js +0 -343
  994. package/dist/sparkle-core/md.transition-f8765467.js +0 -55
  995. package/dist/sparkle-core/media.service-2609406e.js +0 -36
  996. package/dist/sparkle-core/menu-toggle-util-6cc13cbd.js +0 -12
  997. package/dist/sparkle-core/overlays-fd3cfa13.js +0 -493
  998. package/dist/sparkle-core/parse-60474840.js +0 -1196
  999. package/dist/sparkle-core/purify-d9093094.js +0 -1469
  1000. package/dist/sparkle-core/quiz.model-1cff62e4.js +0 -5
  1001. package/dist/sparkle-core/shadow-css-1257b266.js +0 -387
  1002. package/dist/sparkle-core/signalR.service-2b7645c1.js +0 -2983
  1003. package/dist/sparkle-core/sparkle-animation-player.entry.js +0 -513
  1004. package/dist/sparkle-core/sparkle-assignment.entry.js +0 -114
  1005. package/dist/sparkle-core/sparkle-button.entry.js +0 -24
  1006. package/dist/sparkle-core/sparkle-card.entry.js +0 -61
  1007. package/dist/sparkle-core/sparkle-cards.entry.js +0 -15
  1008. package/dist/sparkle-core/sparkle-character-intro.entry.js +0 -22
  1009. package/dist/sparkle-core/sparkle-code.entry.js +0 -39
  1010. package/dist/sparkle-core/sparkle-compass-post.entry.js +0 -129
  1011. package/dist/sparkle-core/sparkle-compass.entry.js +0 -122
  1012. package/dist/sparkle-core/sparkle-course-root.entry.js +0 -155
  1013. package/dist/sparkle-core/sparkle-discussion-questions.entry.js +0 -122
  1014. package/dist/sparkle-core/sparkle-discussion-results.entry.js +0 -189
  1015. package/dist/sparkle-core/sparkle-discussion.entry.js +0 -52
  1016. package/dist/sparkle-core/sparkle-dropdown.entry.js +0 -57
  1017. package/dist/sparkle-core/sparkle-emoji.entry.js +0 -77
  1018. package/dist/sparkle-core/sparkle-export-lessons.entry.js +0 -10081
  1019. package/dist/sparkle-core/sparkle-facilitator-dashboard.entry.js +0 -93
  1020. package/dist/sparkle-core/sparkle-facilitator-header.entry.js +0 -60
  1021. package/dist/sparkle-core/sparkle-facilitator-notes-form.entry.js +0 -160
  1022. package/dist/sparkle-core/sparkle-facilitator-notes.entry.js +0 -65
  1023. package/dist/sparkle-core/sparkle-facilitator-page.entry.js +0 -198
  1024. package/dist/sparkle-core/sparkle-feed-post.entry.js +0 -131
  1025. package/dist/sparkle-core/sparkle-feedback.entry.js +0 -106
  1026. package/dist/sparkle-core/sparkle-file-upload.entry.js +0 -57
  1027. package/dist/sparkle-core/sparkle-forgot-password.entry.js +0 -80
  1028. package/dist/sparkle-core/sparkle-goal-form.entry.js +0 -182
  1029. package/dist/sparkle-core/sparkle-goal-item.entry.js +0 -15
  1030. package/dist/sparkle-core/sparkle-goal-progress.entry.js +0 -15
  1031. package/dist/sparkle-core/sparkle-goals.entry.js +0 -47
  1032. package/dist/sparkle-core/sparkle-gww-comment-list.entry.js +0 -22
  1033. package/dist/sparkle-core/sparkle-gww-graph.entry.js +0 -15
  1034. package/dist/sparkle-core/sparkle-gww-item.entry.js +0 -80
  1035. package/dist/sparkle-core/sparkle-gww.entry.js +0 -44
  1036. package/dist/sparkle-core/sparkle-header.entry.js +0 -97
  1037. package/dist/sparkle-core/sparkle-health.entry.js +0 -70
  1038. package/dist/sparkle-core/sparkle-input.entry.js +0 -52
  1039. package/dist/sparkle-core/sparkle-intro.entry.js +0 -22
  1040. package/dist/sparkle-core/sparkle-login.entry.js +0 -116
  1041. package/dist/sparkle-core/sparkle-lower-content-nav.entry.js +0 -18
  1042. package/dist/sparkle-core/sparkle-menu-collapsible.entry.js +0 -42
  1043. package/dist/sparkle-core/sparkle-menu-toggle.entry.js +0 -24
  1044. package/dist/sparkle-core/sparkle-menu.entry.js +0 -26
  1045. package/dist/sparkle-core/sparkle-modal-image.entry.js +0 -33
  1046. package/dist/sparkle-core/sparkle-mood.entry.js +0 -76
  1047. package/dist/sparkle-core/sparkle-nav.entry.js +0 -113
  1048. package/dist/sparkle-core/sparkle-notfound-page.entry.js +0 -25
  1049. package/dist/sparkle-core/sparkle-online-students.entry.js +0 -55
  1050. package/dist/sparkle-core/sparkle-overlay.entry.js +0 -90
  1051. package/dist/sparkle-core/sparkle-page-footer.entry.js +0 -24
  1052. package/dist/sparkle-core/sparkle-page.entry.js +0 -245
  1053. package/dist/sparkle-core/sparkle-pagination.entry.js +0 -67
  1054. package/dist/sparkle-core/sparkle-poll.entry.js +0 -15
  1055. package/dist/sparkle-core/sparkle-quiz-container.entry.js +0 -43
  1056. package/dist/sparkle-core/sparkle-quiz-feedback.entry.js +0 -18
  1057. package/dist/sparkle-core/sparkle-quiz-input.entry.js +0 -16
  1058. package/dist/sparkle-core/sparkle-quiz-old.entry.js +0 -116
  1059. package/dist/sparkle-core/sparkle-quiz-opinion.entry.js +0 -41
  1060. package/dist/sparkle-core/sparkle-quiz-poll.entry.js +0 -16
  1061. package/dist/sparkle-core/sparkle-quiz-select.entry.js +0 -29
  1062. package/dist/sparkle-core/sparkle-quiz.entry.js +0 -98
  1063. package/dist/sparkle-core/sparkle-reset-password.entry.js +0 -96
  1064. package/dist/sparkle-core/sparkle-root.entry.js +0 -79
  1065. package/dist/sparkle-core/sparkle-select.entry.js +0 -57
  1066. package/dist/sparkle-core/sparkle-sidebar.entry.js +0 -39
  1067. package/dist/sparkle-core/sparkle-signup.entry.js +0 -144
  1068. package/dist/sparkle-core/sparkle-tab.entry.js +0 -22
  1069. package/dist/sparkle-core/sparkle-table-of-contents.entry.js +0 -67
  1070. package/dist/sparkle-core/sparkle-tabs.entry.js +0 -62
  1071. package/dist/sparkle-core/sparkle-unauthorized.entry.js +0 -17
  1072. package/dist/sparkle-core/sparkle-user-enrollment.entry.js +0 -85
  1073. package/dist/sparkle-core/sparkle-user-profile.entry.js +0 -129
  1074. package/dist/sparkle-core/sparkle-validation-error.entry.js +0 -17
  1075. package/dist/sparkle-core/sparkle-video-player.entry.js +0 -18
  1076. package/dist/sparkle-core/sparkle-youtube.entry.js +0 -35
  1077. package/dist/sparkle-core/status-tap-52feb1b1.js +0 -40
  1078. package/dist/sparkle-core/stencil-async-content.entry.js +0 -28
  1079. package/dist/sparkle-core/stencil-route-link.entry.js +0 -74
  1080. package/dist/sparkle-core/stencil-route-switch.entry.js +0 -100
  1081. package/dist/sparkle-core/stencil-route-title.entry.js +0 -28
  1082. package/dist/sparkle-core/stencil-route.entry.js +0 -93
  1083. package/dist/sparkle-core/stencil-router-prompt.entry.js +0 -55
  1084. package/dist/sparkle-core/stencil-router-redirect.entry.js +0 -28
  1085. package/dist/sparkle-core/stencil-router.entry.js +0 -636
  1086. package/dist/sparkle-core/store.service-0f7d998b.js +0 -16
  1087. package/dist/sparkle-core/student.service-f0375229.js +0 -59
  1088. package/dist/sparkle-core/swipe-back-9a614189.js +0 -73
  1089. package/dist/sparkle-core/swiper.bundle-4274e115.js +0 -6418
  1090. package/dist/sparkle-core/user.store-3d052406.js +0 -19
  1091. package/dist/sparkle-core/util-ba470e54.js +0 -14683
  1092. package/dist/sparkle-core/utils-cae23bce.js +0 -114
  1093. /package/dist/{sparkle-core → esm}/cubic-bezier-4c0db14f.js +0 -0
  1094. /package/dist/{sparkle-core → esm}/focus-visible-4e9a0764.js +0 -0
  1095. /package/dist/{sparkle-core → esm}/hardware-back-button-fa04d6e9.js +0 -0
  1096. /package/dist/{sparkle-core → esm}/index-be6112f8.js +0 -0
  1097. /package/dist/{sparkle-core → esm}/keyboard-7e8329b3.js +0 -0
  1098. /package/dist/{sparkle-core → esm}/localstorage.service-4bf408c8.js +0 -0
  1099. /package/dist/{sparkle-core → esm}/spinner-configs-a37e628a.js +0 -0
  1100. /package/dist/{sparkle-core → esm}/theme-7ef00c83.js +0 -0
@@ -0,0 +1,3381 @@
1
+ import { d as getRenderingRef, f as forceUpdate } from './index-c04b9ed5.js';
2
+
3
+ var bind = function bind(fn, thisArg) {
4
+ return function wrap() {
5
+ var args = new Array(arguments.length);
6
+ for (var i = 0; i < args.length; i++) {
7
+ args[i] = arguments[i];
8
+ }
9
+ return fn.apply(thisArg, args);
10
+ };
11
+ };
12
+
13
+ // utils is a library of generic helper functions non-specific to axios
14
+
15
+ var toString = Object.prototype.toString;
16
+
17
+ /**
18
+ * Determine if a value is an Array
19
+ *
20
+ * @param {Object} val The value to test
21
+ * @returns {boolean} True if value is an Array, otherwise false
22
+ */
23
+ function isArray$2(val) {
24
+ return Array.isArray(val);
25
+ }
26
+
27
+ /**
28
+ * Determine if a value is undefined
29
+ *
30
+ * @param {Object} val The value to test
31
+ * @returns {boolean} True if the value is undefined, otherwise false
32
+ */
33
+ function isUndefined(val) {
34
+ return typeof val === 'undefined';
35
+ }
36
+
37
+ /**
38
+ * Determine if a value is a Buffer
39
+ *
40
+ * @param {Object} val The value to test
41
+ * @returns {boolean} True if value is a Buffer, otherwise false
42
+ */
43
+ function isBuffer$1(val) {
44
+ return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
45
+ && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
46
+ }
47
+
48
+ /**
49
+ * Determine if a value is an ArrayBuffer
50
+ *
51
+ * @param {Object} val The value to test
52
+ * @returns {boolean} True if value is an ArrayBuffer, otherwise false
53
+ */
54
+ function isArrayBuffer(val) {
55
+ return toString.call(val) === '[object ArrayBuffer]';
56
+ }
57
+
58
+ /**
59
+ * Determine if a value is a FormData
60
+ *
61
+ * @param {Object} val The value to test
62
+ * @returns {boolean} True if value is an FormData, otherwise false
63
+ */
64
+ function isFormData(val) {
65
+ return toString.call(val) === '[object FormData]';
66
+ }
67
+
68
+ /**
69
+ * Determine if a value is a view on an ArrayBuffer
70
+ *
71
+ * @param {Object} val The value to test
72
+ * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
73
+ */
74
+ function isArrayBufferView(val) {
75
+ var result;
76
+ if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
77
+ result = ArrayBuffer.isView(val);
78
+ } else {
79
+ result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));
80
+ }
81
+ return result;
82
+ }
83
+
84
+ /**
85
+ * Determine if a value is a String
86
+ *
87
+ * @param {Object} val The value to test
88
+ * @returns {boolean} True if value is a String, otherwise false
89
+ */
90
+ function isString$1(val) {
91
+ return typeof val === 'string';
92
+ }
93
+
94
+ /**
95
+ * Determine if a value is a Number
96
+ *
97
+ * @param {Object} val The value to test
98
+ * @returns {boolean} True if value is a Number, otherwise false
99
+ */
100
+ function isNumber$1(val) {
101
+ return typeof val === 'number';
102
+ }
103
+
104
+ /**
105
+ * Determine if a value is an Object
106
+ *
107
+ * @param {Object} val The value to test
108
+ * @returns {boolean} True if value is an Object, otherwise false
109
+ */
110
+ function isObject(val) {
111
+ return val !== null && typeof val === 'object';
112
+ }
113
+
114
+ /**
115
+ * Determine if a value is a plain Object
116
+ *
117
+ * @param {Object} val The value to test
118
+ * @return {boolean} True if value is a plain Object, otherwise false
119
+ */
120
+ function isPlainObject(val) {
121
+ if (toString.call(val) !== '[object Object]') {
122
+ return false;
123
+ }
124
+
125
+ var prototype = Object.getPrototypeOf(val);
126
+ return prototype === null || prototype === Object.prototype;
127
+ }
128
+
129
+ /**
130
+ * Determine if a value is a Date
131
+ *
132
+ * @param {Object} val The value to test
133
+ * @returns {boolean} True if value is a Date, otherwise false
134
+ */
135
+ function isDate$1(val) {
136
+ return toString.call(val) === '[object Date]';
137
+ }
138
+
139
+ /**
140
+ * Determine if a value is a File
141
+ *
142
+ * @param {Object} val The value to test
143
+ * @returns {boolean} True if value is a File, otherwise false
144
+ */
145
+ function isFile(val) {
146
+ return toString.call(val) === '[object File]';
147
+ }
148
+
149
+ /**
150
+ * Determine if a value is a Blob
151
+ *
152
+ * @param {Object} val The value to test
153
+ * @returns {boolean} True if value is a Blob, otherwise false
154
+ */
155
+ function isBlob(val) {
156
+ return toString.call(val) === '[object Blob]';
157
+ }
158
+
159
+ /**
160
+ * Determine if a value is a Function
161
+ *
162
+ * @param {Object} val The value to test
163
+ * @returns {boolean} True if value is a Function, otherwise false
164
+ */
165
+ function isFunction(val) {
166
+ return toString.call(val) === '[object Function]';
167
+ }
168
+
169
+ /**
170
+ * Determine if a value is a Stream
171
+ *
172
+ * @param {Object} val The value to test
173
+ * @returns {boolean} True if value is a Stream, otherwise false
174
+ */
175
+ function isStream(val) {
176
+ return isObject(val) && isFunction(val.pipe);
177
+ }
178
+
179
+ /**
180
+ * Determine if a value is a URLSearchParams object
181
+ *
182
+ * @param {Object} val The value to test
183
+ * @returns {boolean} True if value is a URLSearchParams object, otherwise false
184
+ */
185
+ function isURLSearchParams(val) {
186
+ return toString.call(val) === '[object URLSearchParams]';
187
+ }
188
+
189
+ /**
190
+ * Trim excess whitespace off the beginning and end of a string
191
+ *
192
+ * @param {String} str The String to trim
193
+ * @returns {String} The String freed of excess whitespace
194
+ */
195
+ function trim(str) {
196
+ return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, '');
197
+ }
198
+
199
+ /**
200
+ * Determine if we're running in a standard browser environment
201
+ *
202
+ * This allows axios to run in a web worker, and react-native.
203
+ * Both environments support XMLHttpRequest, but not fully standard globals.
204
+ *
205
+ * web workers:
206
+ * typeof window -> undefined
207
+ * typeof document -> undefined
208
+ *
209
+ * react-native:
210
+ * navigator.product -> 'ReactNative'
211
+ * nativescript
212
+ * navigator.product -> 'NativeScript' or 'NS'
213
+ */
214
+ function isStandardBrowserEnv() {
215
+ if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
216
+ navigator.product === 'NativeScript' ||
217
+ navigator.product === 'NS')) {
218
+ return false;
219
+ }
220
+ return (
221
+ typeof window !== 'undefined' &&
222
+ typeof document !== 'undefined'
223
+ );
224
+ }
225
+
226
+ /**
227
+ * Iterate over an Array or an Object invoking a function for each item.
228
+ *
229
+ * If `obj` is an Array callback will be called passing
230
+ * the value, index, and complete array for each item.
231
+ *
232
+ * If 'obj' is an Object callback will be called passing
233
+ * the value, key, and complete object for each property.
234
+ *
235
+ * @param {Object|Array} obj The object to iterate
236
+ * @param {Function} fn The callback to invoke for each item
237
+ */
238
+ function forEach(obj, fn) {
239
+ // Don't bother if no value provided
240
+ if (obj === null || typeof obj === 'undefined') {
241
+ return;
242
+ }
243
+
244
+ // Force an array if not already something iterable
245
+ if (typeof obj !== 'object') {
246
+ /*eslint no-param-reassign:0*/
247
+ obj = [obj];
248
+ }
249
+
250
+ if (isArray$2(obj)) {
251
+ // Iterate over array values
252
+ for (var i = 0, l = obj.length; i < l; i++) {
253
+ fn.call(null, obj[i], i, obj);
254
+ }
255
+ } else {
256
+ // Iterate over object keys
257
+ for (var key in obj) {
258
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
259
+ fn.call(null, obj[key], key, obj);
260
+ }
261
+ }
262
+ }
263
+ }
264
+
265
+ /**
266
+ * Accepts varargs expecting each argument to be an object, then
267
+ * immutably merges the properties of each object and returns result.
268
+ *
269
+ * When multiple objects contain the same key the later object in
270
+ * the arguments list will take precedence.
271
+ *
272
+ * Example:
273
+ *
274
+ * ```js
275
+ * var result = merge({foo: 123}, {foo: 456});
276
+ * console.log(result.foo); // outputs 456
277
+ * ```
278
+ *
279
+ * @param {Object} obj1 Object to merge
280
+ * @returns {Object} Result of all merge properties
281
+ */
282
+ function merge$1(/* obj1, obj2, obj3, ... */) {
283
+ var result = {};
284
+ function assignValue(val, key) {
285
+ if (isPlainObject(result[key]) && isPlainObject(val)) {
286
+ result[key] = merge$1(result[key], val);
287
+ } else if (isPlainObject(val)) {
288
+ result[key] = merge$1({}, val);
289
+ } else if (isArray$2(val)) {
290
+ result[key] = val.slice();
291
+ } else {
292
+ result[key] = val;
293
+ }
294
+ }
295
+
296
+ for (var i = 0, l = arguments.length; i < l; i++) {
297
+ forEach(arguments[i], assignValue);
298
+ }
299
+ return result;
300
+ }
301
+
302
+ /**
303
+ * Extends object a by mutably adding to it the properties of object b.
304
+ *
305
+ * @param {Object} a The object to be extended
306
+ * @param {Object} b The object to copy properties from
307
+ * @param {Object} thisArg The object to bind function to
308
+ * @return {Object} The resulting value of object a
309
+ */
310
+ function extend(a, b, thisArg) {
311
+ forEach(b, function assignValue(val, key) {
312
+ if (thisArg && typeof val === 'function') {
313
+ a[key] = bind(val, thisArg);
314
+ } else {
315
+ a[key] = val;
316
+ }
317
+ });
318
+ return a;
319
+ }
320
+
321
+ /**
322
+ * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
323
+ *
324
+ * @param {string} content with BOM
325
+ * @return {string} content value without BOM
326
+ */
327
+ function stripBOM(content) {
328
+ if (content.charCodeAt(0) === 0xFEFF) {
329
+ content = content.slice(1);
330
+ }
331
+ return content;
332
+ }
333
+
334
+ var utils$1 = {
335
+ isArray: isArray$2,
336
+ isArrayBuffer: isArrayBuffer,
337
+ isBuffer: isBuffer$1,
338
+ isFormData: isFormData,
339
+ isArrayBufferView: isArrayBufferView,
340
+ isString: isString$1,
341
+ isNumber: isNumber$1,
342
+ isObject: isObject,
343
+ isPlainObject: isPlainObject,
344
+ isUndefined: isUndefined,
345
+ isDate: isDate$1,
346
+ isFile: isFile,
347
+ isBlob: isBlob,
348
+ isFunction: isFunction,
349
+ isStream: isStream,
350
+ isURLSearchParams: isURLSearchParams,
351
+ isStandardBrowserEnv: isStandardBrowserEnv,
352
+ forEach: forEach,
353
+ merge: merge$1,
354
+ extend: extend,
355
+ trim: trim,
356
+ stripBOM: stripBOM
357
+ };
358
+
359
+ function encode$1(val) {
360
+ return encodeURIComponent(val).
361
+ replace(/%3A/gi, ':').
362
+ replace(/%24/g, '$').
363
+ replace(/%2C/gi, ',').
364
+ replace(/%20/g, '+').
365
+ replace(/%5B/gi, '[').
366
+ replace(/%5D/gi, ']');
367
+ }
368
+
369
+ /**
370
+ * Build a URL by appending params to the end
371
+ *
372
+ * @param {string} url The base of the url (e.g., http://www.google.com)
373
+ * @param {object} [params] The params to be appended
374
+ * @returns {string} The formatted url
375
+ */
376
+ var buildURL = function buildURL(url, params, paramsSerializer) {
377
+ /*eslint no-param-reassign:0*/
378
+ if (!params) {
379
+ return url;
380
+ }
381
+
382
+ var serializedParams;
383
+ if (paramsSerializer) {
384
+ serializedParams = paramsSerializer(params);
385
+ } else if (utils$1.isURLSearchParams(params)) {
386
+ serializedParams = params.toString();
387
+ } else {
388
+ var parts = [];
389
+
390
+ utils$1.forEach(params, function serialize(val, key) {
391
+ if (val === null || typeof val === 'undefined') {
392
+ return;
393
+ }
394
+
395
+ if (utils$1.isArray(val)) {
396
+ key = key + '[]';
397
+ } else {
398
+ val = [val];
399
+ }
400
+
401
+ utils$1.forEach(val, function parseValue(v) {
402
+ if (utils$1.isDate(v)) {
403
+ v = v.toISOString();
404
+ } else if (utils$1.isObject(v)) {
405
+ v = JSON.stringify(v);
406
+ }
407
+ parts.push(encode$1(key) + '=' + encode$1(v));
408
+ });
409
+ });
410
+
411
+ serializedParams = parts.join('&');
412
+ }
413
+
414
+ if (serializedParams) {
415
+ var hashmarkIndex = url.indexOf('#');
416
+ if (hashmarkIndex !== -1) {
417
+ url = url.slice(0, hashmarkIndex);
418
+ }
419
+
420
+ url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
421
+ }
422
+
423
+ return url;
424
+ };
425
+
426
+ function InterceptorManager() {
427
+ this.handlers = [];
428
+ }
429
+
430
+ /**
431
+ * Add a new interceptor to the stack
432
+ *
433
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
434
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
435
+ *
436
+ * @return {Number} An ID used to remove interceptor later
437
+ */
438
+ InterceptorManager.prototype.use = function use(fulfilled, rejected, options) {
439
+ this.handlers.push({
440
+ fulfilled: fulfilled,
441
+ rejected: rejected,
442
+ synchronous: options ? options.synchronous : false,
443
+ runWhen: options ? options.runWhen : null
444
+ });
445
+ return this.handlers.length - 1;
446
+ };
447
+
448
+ /**
449
+ * Remove an interceptor from the stack
450
+ *
451
+ * @param {Number} id The ID that was returned by `use`
452
+ */
453
+ InterceptorManager.prototype.eject = function eject(id) {
454
+ if (this.handlers[id]) {
455
+ this.handlers[id] = null;
456
+ }
457
+ };
458
+
459
+ /**
460
+ * Iterate over all the registered interceptors
461
+ *
462
+ * This method is particularly useful for skipping over any
463
+ * interceptors that may have become `null` calling `eject`.
464
+ *
465
+ * @param {Function} fn The function to call for each interceptor
466
+ */
467
+ InterceptorManager.prototype.forEach = function forEach(fn) {
468
+ utils$1.forEach(this.handlers, function forEachHandler(h) {
469
+ if (h !== null) {
470
+ fn(h);
471
+ }
472
+ });
473
+ };
474
+
475
+ var InterceptorManager_1 = InterceptorManager;
476
+
477
+ var normalizeHeaderName = function normalizeHeaderName(headers, normalizedName) {
478
+ utils$1.forEach(headers, function processHeader(value, name) {
479
+ if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
480
+ headers[normalizedName] = value;
481
+ delete headers[name];
482
+ }
483
+ });
484
+ };
485
+
486
+ /**
487
+ * Update an Error with the specified config, error code, and response.
488
+ *
489
+ * @param {Error} error The error to update.
490
+ * @param {Object} config The config.
491
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
492
+ * @param {Object} [request] The request.
493
+ * @param {Object} [response] The response.
494
+ * @returns {Error} The error.
495
+ */
496
+ var enhanceError = function enhanceError(error, config, code, request, response) {
497
+ error.config = config;
498
+ if (code) {
499
+ error.code = code;
500
+ }
501
+
502
+ error.request = request;
503
+ error.response = response;
504
+ error.isAxiosError = true;
505
+
506
+ error.toJSON = function toJSON() {
507
+ return {
508
+ // Standard
509
+ message: this.message,
510
+ name: this.name,
511
+ // Microsoft
512
+ description: this.description,
513
+ number: this.number,
514
+ // Mozilla
515
+ fileName: this.fileName,
516
+ lineNumber: this.lineNumber,
517
+ columnNumber: this.columnNumber,
518
+ stack: this.stack,
519
+ // Axios
520
+ config: this.config,
521
+ code: this.code,
522
+ status: this.response && this.response.status ? this.response.status : null
523
+ };
524
+ };
525
+ return error;
526
+ };
527
+
528
+ var transitional = {
529
+ silentJSONParsing: true,
530
+ forcedJSONParsing: true,
531
+ clarifyTimeoutError: false
532
+ };
533
+
534
+ /**
535
+ * Create an Error with the specified message, config, error code, request and response.
536
+ *
537
+ * @param {string} message The error message.
538
+ * @param {Object} config The config.
539
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
540
+ * @param {Object} [request] The request.
541
+ * @param {Object} [response] The response.
542
+ * @returns {Error} The created error.
543
+ */
544
+ var createError = function createError(message, config, code, request, response) {
545
+ var error = new Error(message);
546
+ return enhanceError(error, config, code, request, response);
547
+ };
548
+
549
+ /**
550
+ * Resolve or reject a Promise based on response status.
551
+ *
552
+ * @param {Function} resolve A function that resolves the promise.
553
+ * @param {Function} reject A function that rejects the promise.
554
+ * @param {object} response The response.
555
+ */
556
+ var settle = function settle(resolve, reject, response) {
557
+ var validateStatus = response.config.validateStatus;
558
+ if (!response.status || !validateStatus || validateStatus(response.status)) {
559
+ resolve(response);
560
+ } else {
561
+ reject(createError(
562
+ 'Request failed with status code ' + response.status,
563
+ response.config,
564
+ null,
565
+ response.request,
566
+ response
567
+ ));
568
+ }
569
+ };
570
+
571
+ var cookies = (
572
+ utils$1.isStandardBrowserEnv() ?
573
+
574
+ // Standard browser envs support document.cookie
575
+ (function standardBrowserEnv() {
576
+ return {
577
+ write: function write(name, value, expires, path, domain, secure) {
578
+ var cookie = [];
579
+ cookie.push(name + '=' + encodeURIComponent(value));
580
+
581
+ if (utils$1.isNumber(expires)) {
582
+ cookie.push('expires=' + new Date(expires).toGMTString());
583
+ }
584
+
585
+ if (utils$1.isString(path)) {
586
+ cookie.push('path=' + path);
587
+ }
588
+
589
+ if (utils$1.isString(domain)) {
590
+ cookie.push('domain=' + domain);
591
+ }
592
+
593
+ if (secure === true) {
594
+ cookie.push('secure');
595
+ }
596
+
597
+ document.cookie = cookie.join('; ');
598
+ },
599
+
600
+ read: function read(name) {
601
+ var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
602
+ return (match ? decodeURIComponent(match[3]) : null);
603
+ },
604
+
605
+ remove: function remove(name) {
606
+ this.write(name, '', Date.now() - 86400000);
607
+ }
608
+ };
609
+ })() :
610
+
611
+ // Non standard browser env (web workers, react-native) lack needed support.
612
+ (function nonStandardBrowserEnv() {
613
+ return {
614
+ write: function write() {},
615
+ read: function read() { return null; },
616
+ remove: function remove() {}
617
+ };
618
+ })()
619
+ );
620
+
621
+ /**
622
+ * Determines whether the specified URL is absolute
623
+ *
624
+ * @param {string} url The URL to test
625
+ * @returns {boolean} True if the specified URL is absolute, otherwise false
626
+ */
627
+ var isAbsoluteURL = function isAbsoluteURL(url) {
628
+ // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
629
+ // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
630
+ // by any combination of letters, digits, plus, period, or hyphen.
631
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
632
+ };
633
+
634
+ /**
635
+ * Creates a new URL by combining the specified URLs
636
+ *
637
+ * @param {string} baseURL The base URL
638
+ * @param {string} relativeURL The relative URL
639
+ * @returns {string} The combined URL
640
+ */
641
+ var combineURLs = function combineURLs(baseURL, relativeURL) {
642
+ return relativeURL
643
+ ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
644
+ : baseURL;
645
+ };
646
+
647
+ /**
648
+ * Creates a new URL by combining the baseURL with the requestedURL,
649
+ * only when the requestedURL is not already an absolute URL.
650
+ * If the requestURL is absolute, this function returns the requestedURL untouched.
651
+ *
652
+ * @param {string} baseURL The base URL
653
+ * @param {string} requestedURL Absolute or relative URL to combine
654
+ * @returns {string} The combined full path
655
+ */
656
+ var buildFullPath = function buildFullPath(baseURL, requestedURL) {
657
+ if (baseURL && !isAbsoluteURL(requestedURL)) {
658
+ return combineURLs(baseURL, requestedURL);
659
+ }
660
+ return requestedURL;
661
+ };
662
+
663
+ // Headers whose duplicates are ignored by node
664
+ // c.f. https://nodejs.org/api/http.html#http_message_headers
665
+ var ignoreDuplicateOf = [
666
+ 'age', 'authorization', 'content-length', 'content-type', 'etag',
667
+ 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
668
+ 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
669
+ 'referer', 'retry-after', 'user-agent'
670
+ ];
671
+
672
+ /**
673
+ * Parse headers into an object
674
+ *
675
+ * ```
676
+ * Date: Wed, 27 Aug 2014 08:58:49 GMT
677
+ * Content-Type: application/json
678
+ * Connection: keep-alive
679
+ * Transfer-Encoding: chunked
680
+ * ```
681
+ *
682
+ * @param {String} headers Headers needing to be parsed
683
+ * @returns {Object} Headers parsed into an object
684
+ */
685
+ var parseHeaders = function parseHeaders(headers) {
686
+ var parsed = {};
687
+ var key;
688
+ var val;
689
+ var i;
690
+
691
+ if (!headers) { return parsed; }
692
+
693
+ utils$1.forEach(headers.split('\n'), function parser(line) {
694
+ i = line.indexOf(':');
695
+ key = utils$1.trim(line.substr(0, i)).toLowerCase();
696
+ val = utils$1.trim(line.substr(i + 1));
697
+
698
+ if (key) {
699
+ if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
700
+ return;
701
+ }
702
+ if (key === 'set-cookie') {
703
+ parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
704
+ } else {
705
+ parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
706
+ }
707
+ }
708
+ });
709
+
710
+ return parsed;
711
+ };
712
+
713
+ var isURLSameOrigin = (
714
+ utils$1.isStandardBrowserEnv() ?
715
+
716
+ // Standard browser envs have full support of the APIs needed to test
717
+ // whether the request URL is of the same origin as current location.
718
+ (function standardBrowserEnv() {
719
+ var msie = /(msie|trident)/i.test(navigator.userAgent);
720
+ var urlParsingNode = document.createElement('a');
721
+ var originURL;
722
+
723
+ /**
724
+ * Parse a URL to discover it's components
725
+ *
726
+ * @param {String} url The URL to be parsed
727
+ * @returns {Object}
728
+ */
729
+ function resolveURL(url) {
730
+ var href = url;
731
+
732
+ if (msie) {
733
+ // IE needs attribute set twice to normalize properties
734
+ urlParsingNode.setAttribute('href', href);
735
+ href = urlParsingNode.href;
736
+ }
737
+
738
+ urlParsingNode.setAttribute('href', href);
739
+
740
+ // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
741
+ return {
742
+ href: urlParsingNode.href,
743
+ protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
744
+ host: urlParsingNode.host,
745
+ search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
746
+ hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
747
+ hostname: urlParsingNode.hostname,
748
+ port: urlParsingNode.port,
749
+ pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
750
+ urlParsingNode.pathname :
751
+ '/' + urlParsingNode.pathname
752
+ };
753
+ }
754
+
755
+ originURL = resolveURL(window.location.href);
756
+
757
+ /**
758
+ * Determine if a URL shares the same origin as the current location
759
+ *
760
+ * @param {String} requestURL The URL to test
761
+ * @returns {boolean} True if URL shares the same origin, otherwise false
762
+ */
763
+ return function isURLSameOrigin(requestURL) {
764
+ var parsed = (utils$1.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
765
+ return (parsed.protocol === originURL.protocol &&
766
+ parsed.host === originURL.host);
767
+ };
768
+ })() :
769
+
770
+ // Non standard browser envs (web workers, react-native) lack needed support.
771
+ (function nonStandardBrowserEnv() {
772
+ return function isURLSameOrigin() {
773
+ return true;
774
+ };
775
+ })()
776
+ );
777
+
778
+ /**
779
+ * A `Cancel` is an object that is thrown when an operation is canceled.
780
+ *
781
+ * @class
782
+ * @param {string=} message The message.
783
+ */
784
+ function Cancel(message) {
785
+ this.message = message;
786
+ }
787
+
788
+ Cancel.prototype.toString = function toString() {
789
+ return 'Cancel' + (this.message ? ': ' + this.message : '');
790
+ };
791
+
792
+ Cancel.prototype.__CANCEL__ = true;
793
+
794
+ var Cancel_1 = Cancel;
795
+
796
+ var xhr = function xhrAdapter(config) {
797
+ return new Promise(function dispatchXhrRequest(resolve, reject) {
798
+ var requestData = config.data;
799
+ var requestHeaders = config.headers;
800
+ var responseType = config.responseType;
801
+ var onCanceled;
802
+ function done() {
803
+ if (config.cancelToken) {
804
+ config.cancelToken.unsubscribe(onCanceled);
805
+ }
806
+
807
+ if (config.signal) {
808
+ config.signal.removeEventListener('abort', onCanceled);
809
+ }
810
+ }
811
+
812
+ if (utils$1.isFormData(requestData)) {
813
+ delete requestHeaders['Content-Type']; // Let the browser set it
814
+ }
815
+
816
+ var request = new XMLHttpRequest();
817
+
818
+ // HTTP basic authentication
819
+ if (config.auth) {
820
+ var username = config.auth.username || '';
821
+ var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
822
+ requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
823
+ }
824
+
825
+ var fullPath = buildFullPath(config.baseURL, config.url);
826
+ request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
827
+
828
+ // Set the request timeout in MS
829
+ request.timeout = config.timeout;
830
+
831
+ function onloadend() {
832
+ if (!request) {
833
+ return;
834
+ }
835
+ // Prepare the response
836
+ var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
837
+ var responseData = !responseType || responseType === 'text' || responseType === 'json' ?
838
+ request.responseText : request.response;
839
+ var response = {
840
+ data: responseData,
841
+ status: request.status,
842
+ statusText: request.statusText,
843
+ headers: responseHeaders,
844
+ config: config,
845
+ request: request
846
+ };
847
+
848
+ settle(function _resolve(value) {
849
+ resolve(value);
850
+ done();
851
+ }, function _reject(err) {
852
+ reject(err);
853
+ done();
854
+ }, response);
855
+
856
+ // Clean up request
857
+ request = null;
858
+ }
859
+
860
+ if ('onloadend' in request) {
861
+ // Use onloadend if available
862
+ request.onloadend = onloadend;
863
+ } else {
864
+ // Listen for ready state to emulate onloadend
865
+ request.onreadystatechange = function handleLoad() {
866
+ if (!request || request.readyState !== 4) {
867
+ return;
868
+ }
869
+
870
+ // The request errored out and we didn't get a response, this will be
871
+ // handled by onerror instead
872
+ // With one exception: request that using file: protocol, most browsers
873
+ // will return status as 0 even though it's a successful request
874
+ if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
875
+ return;
876
+ }
877
+ // readystate handler is calling before onerror or ontimeout handlers,
878
+ // so we should call onloadend on the next 'tick'
879
+ setTimeout(onloadend);
880
+ };
881
+ }
882
+
883
+ // Handle browser request cancellation (as opposed to a manual cancellation)
884
+ request.onabort = function handleAbort() {
885
+ if (!request) {
886
+ return;
887
+ }
888
+
889
+ reject(createError('Request aborted', config, 'ECONNABORTED', request));
890
+
891
+ // Clean up request
892
+ request = null;
893
+ };
894
+
895
+ // Handle low level network errors
896
+ request.onerror = function handleError() {
897
+ // Real errors are hidden from us by the browser
898
+ // onerror should only fire if it's a network error
899
+ reject(createError('Network Error', config, null, request));
900
+
901
+ // Clean up request
902
+ request = null;
903
+ };
904
+
905
+ // Handle timeout
906
+ request.ontimeout = function handleTimeout() {
907
+ var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';
908
+ var transitional$1 = config.transitional || transitional;
909
+ if (config.timeoutErrorMessage) {
910
+ timeoutErrorMessage = config.timeoutErrorMessage;
911
+ }
912
+ reject(createError(
913
+ timeoutErrorMessage,
914
+ config,
915
+ transitional$1.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',
916
+ request));
917
+
918
+ // Clean up request
919
+ request = null;
920
+ };
921
+
922
+ // Add xsrf header
923
+ // This is only done if running in a standard browser environment.
924
+ // Specifically not if we're in a web worker, or react-native.
925
+ if (utils$1.isStandardBrowserEnv()) {
926
+ // Add xsrf header
927
+ var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
928
+ cookies.read(config.xsrfCookieName) :
929
+ undefined;
930
+
931
+ if (xsrfValue) {
932
+ requestHeaders[config.xsrfHeaderName] = xsrfValue;
933
+ }
934
+ }
935
+
936
+ // Add headers to the request
937
+ if ('setRequestHeader' in request) {
938
+ utils$1.forEach(requestHeaders, function setRequestHeader(val, key) {
939
+ if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
940
+ // Remove Content-Type if data is undefined
941
+ delete requestHeaders[key];
942
+ } else {
943
+ // Otherwise add header to the request
944
+ request.setRequestHeader(key, val);
945
+ }
946
+ });
947
+ }
948
+
949
+ // Add withCredentials to request if needed
950
+ if (!utils$1.isUndefined(config.withCredentials)) {
951
+ request.withCredentials = !!config.withCredentials;
952
+ }
953
+
954
+ // Add responseType to request if needed
955
+ if (responseType && responseType !== 'json') {
956
+ request.responseType = config.responseType;
957
+ }
958
+
959
+ // Handle progress if needed
960
+ if (typeof config.onDownloadProgress === 'function') {
961
+ request.addEventListener('progress', config.onDownloadProgress);
962
+ }
963
+
964
+ // Not all browsers support upload events
965
+ if (typeof config.onUploadProgress === 'function' && request.upload) {
966
+ request.upload.addEventListener('progress', config.onUploadProgress);
967
+ }
968
+
969
+ if (config.cancelToken || config.signal) {
970
+ // Handle cancellation
971
+ // eslint-disable-next-line func-names
972
+ onCanceled = function(cancel) {
973
+ if (!request) {
974
+ return;
975
+ }
976
+ reject(!cancel || (cancel && cancel.type) ? new Cancel_1('canceled') : cancel);
977
+ request.abort();
978
+ request = null;
979
+ };
980
+
981
+ config.cancelToken && config.cancelToken.subscribe(onCanceled);
982
+ if (config.signal) {
983
+ config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);
984
+ }
985
+ }
986
+
987
+ if (!requestData) {
988
+ requestData = null;
989
+ }
990
+
991
+ // Send the request
992
+ request.send(requestData);
993
+ });
994
+ };
995
+
996
+ var DEFAULT_CONTENT_TYPE = {
997
+ 'Content-Type': 'application/x-www-form-urlencoded'
998
+ };
999
+
1000
+ function setContentTypeIfUnset(headers, value) {
1001
+ if (!utils$1.isUndefined(headers) && utils$1.isUndefined(headers['Content-Type'])) {
1002
+ headers['Content-Type'] = value;
1003
+ }
1004
+ }
1005
+
1006
+ function getDefaultAdapter() {
1007
+ var adapter;
1008
+ if (typeof XMLHttpRequest !== 'undefined') {
1009
+ // For browsers use XHR adapter
1010
+ adapter = xhr;
1011
+ } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
1012
+ // For node use HTTP adapter
1013
+ adapter = xhr;
1014
+ }
1015
+ return adapter;
1016
+ }
1017
+
1018
+ function stringifySafely(rawValue, parser, encoder) {
1019
+ if (utils$1.isString(rawValue)) {
1020
+ try {
1021
+ (parser || JSON.parse)(rawValue);
1022
+ return utils$1.trim(rawValue);
1023
+ } catch (e) {
1024
+ if (e.name !== 'SyntaxError') {
1025
+ throw e;
1026
+ }
1027
+ }
1028
+ }
1029
+
1030
+ return (encoder || JSON.stringify)(rawValue);
1031
+ }
1032
+
1033
+ var defaults = {
1034
+
1035
+ transitional: transitional,
1036
+
1037
+ adapter: getDefaultAdapter(),
1038
+
1039
+ transformRequest: [function transformRequest(data, headers) {
1040
+ normalizeHeaderName(headers, 'Accept');
1041
+ normalizeHeaderName(headers, 'Content-Type');
1042
+
1043
+ if (utils$1.isFormData(data) ||
1044
+ utils$1.isArrayBuffer(data) ||
1045
+ utils$1.isBuffer(data) ||
1046
+ utils$1.isStream(data) ||
1047
+ utils$1.isFile(data) ||
1048
+ utils$1.isBlob(data)
1049
+ ) {
1050
+ return data;
1051
+ }
1052
+ if (utils$1.isArrayBufferView(data)) {
1053
+ return data.buffer;
1054
+ }
1055
+ if (utils$1.isURLSearchParams(data)) {
1056
+ setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
1057
+ return data.toString();
1058
+ }
1059
+ if (utils$1.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {
1060
+ setContentTypeIfUnset(headers, 'application/json');
1061
+ return stringifySafely(data);
1062
+ }
1063
+ return data;
1064
+ }],
1065
+
1066
+ transformResponse: [function transformResponse(data) {
1067
+ var transitional = this.transitional || defaults.transitional;
1068
+ var silentJSONParsing = transitional && transitional.silentJSONParsing;
1069
+ var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
1070
+ var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';
1071
+
1072
+ if (strictJSONParsing || (forcedJSONParsing && utils$1.isString(data) && data.length)) {
1073
+ try {
1074
+ return JSON.parse(data);
1075
+ } catch (e) {
1076
+ if (strictJSONParsing) {
1077
+ if (e.name === 'SyntaxError') {
1078
+ throw enhanceError(e, this, 'E_JSON_PARSE');
1079
+ }
1080
+ throw e;
1081
+ }
1082
+ }
1083
+ }
1084
+
1085
+ return data;
1086
+ }],
1087
+
1088
+ /**
1089
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
1090
+ * timeout is not created.
1091
+ */
1092
+ timeout: 0,
1093
+
1094
+ xsrfCookieName: 'XSRF-TOKEN',
1095
+ xsrfHeaderName: 'X-XSRF-TOKEN',
1096
+
1097
+ maxContentLength: -1,
1098
+ maxBodyLength: -1,
1099
+
1100
+ validateStatus: function validateStatus(status) {
1101
+ return status >= 200 && status < 300;
1102
+ },
1103
+
1104
+ headers: {
1105
+ common: {
1106
+ 'Accept': 'application/json, text/plain, */*'
1107
+ }
1108
+ }
1109
+ };
1110
+
1111
+ utils$1.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
1112
+ defaults.headers[method] = {};
1113
+ });
1114
+
1115
+ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
1116
+ defaults.headers[method] = utils$1.merge(DEFAULT_CONTENT_TYPE);
1117
+ });
1118
+
1119
+ var defaults_1 = defaults;
1120
+
1121
+ /**
1122
+ * Transform the data for a request or a response
1123
+ *
1124
+ * @param {Object|String} data The data to be transformed
1125
+ * @param {Array} headers The headers for the request or response
1126
+ * @param {Array|Function} fns A single function or Array of functions
1127
+ * @returns {*} The resulting transformed data
1128
+ */
1129
+ var transformData = function transformData(data, headers, fns) {
1130
+ var context = this || defaults_1;
1131
+ /*eslint no-param-reassign:0*/
1132
+ utils$1.forEach(fns, function transform(fn) {
1133
+ data = fn.call(context, data, headers);
1134
+ });
1135
+
1136
+ return data;
1137
+ };
1138
+
1139
+ var isCancel = function isCancel(value) {
1140
+ return !!(value && value.__CANCEL__);
1141
+ };
1142
+
1143
+ /**
1144
+ * Throws a `Cancel` if cancellation has been requested.
1145
+ */
1146
+ function throwIfCancellationRequested(config) {
1147
+ if (config.cancelToken) {
1148
+ config.cancelToken.throwIfRequested();
1149
+ }
1150
+
1151
+ if (config.signal && config.signal.aborted) {
1152
+ throw new Cancel_1('canceled');
1153
+ }
1154
+ }
1155
+
1156
+ /**
1157
+ * Dispatch a request to the server using the configured adapter.
1158
+ *
1159
+ * @param {object} config The config that is to be used for the request
1160
+ * @returns {Promise} The Promise to be fulfilled
1161
+ */
1162
+ var dispatchRequest = function dispatchRequest(config) {
1163
+ throwIfCancellationRequested(config);
1164
+
1165
+ // Ensure headers exist
1166
+ config.headers = config.headers || {};
1167
+
1168
+ // Transform request data
1169
+ config.data = transformData.call(
1170
+ config,
1171
+ config.data,
1172
+ config.headers,
1173
+ config.transformRequest
1174
+ );
1175
+
1176
+ // Flatten headers
1177
+ config.headers = utils$1.merge(
1178
+ config.headers.common || {},
1179
+ config.headers[config.method] || {},
1180
+ config.headers
1181
+ );
1182
+
1183
+ utils$1.forEach(
1184
+ ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
1185
+ function cleanHeaderConfig(method) {
1186
+ delete config.headers[method];
1187
+ }
1188
+ );
1189
+
1190
+ var adapter = config.adapter || defaults_1.adapter;
1191
+
1192
+ return adapter(config).then(function onAdapterResolution(response) {
1193
+ throwIfCancellationRequested(config);
1194
+
1195
+ // Transform response data
1196
+ response.data = transformData.call(
1197
+ config,
1198
+ response.data,
1199
+ response.headers,
1200
+ config.transformResponse
1201
+ );
1202
+
1203
+ return response;
1204
+ }, function onAdapterRejection(reason) {
1205
+ if (!isCancel(reason)) {
1206
+ throwIfCancellationRequested(config);
1207
+
1208
+ // Transform response data
1209
+ if (reason && reason.response) {
1210
+ reason.response.data = transformData.call(
1211
+ config,
1212
+ reason.response.data,
1213
+ reason.response.headers,
1214
+ config.transformResponse
1215
+ );
1216
+ }
1217
+ }
1218
+
1219
+ return Promise.reject(reason);
1220
+ });
1221
+ };
1222
+
1223
+ /**
1224
+ * Config-specific merge-function which creates a new config-object
1225
+ * by merging two configuration objects together.
1226
+ *
1227
+ * @param {Object} config1
1228
+ * @param {Object} config2
1229
+ * @returns {Object} New object resulting from merging config2 to config1
1230
+ */
1231
+ var mergeConfig = function mergeConfig(config1, config2) {
1232
+ // eslint-disable-next-line no-param-reassign
1233
+ config2 = config2 || {};
1234
+ var config = {};
1235
+
1236
+ function getMergedValue(target, source) {
1237
+ if (utils$1.isPlainObject(target) && utils$1.isPlainObject(source)) {
1238
+ return utils$1.merge(target, source);
1239
+ } else if (utils$1.isPlainObject(source)) {
1240
+ return utils$1.merge({}, source);
1241
+ } else if (utils$1.isArray(source)) {
1242
+ return source.slice();
1243
+ }
1244
+ return source;
1245
+ }
1246
+
1247
+ // eslint-disable-next-line consistent-return
1248
+ function mergeDeepProperties(prop) {
1249
+ if (!utils$1.isUndefined(config2[prop])) {
1250
+ return getMergedValue(config1[prop], config2[prop]);
1251
+ } else if (!utils$1.isUndefined(config1[prop])) {
1252
+ return getMergedValue(undefined, config1[prop]);
1253
+ }
1254
+ }
1255
+
1256
+ // eslint-disable-next-line consistent-return
1257
+ function valueFromConfig2(prop) {
1258
+ if (!utils$1.isUndefined(config2[prop])) {
1259
+ return getMergedValue(undefined, config2[prop]);
1260
+ }
1261
+ }
1262
+
1263
+ // eslint-disable-next-line consistent-return
1264
+ function defaultToConfig2(prop) {
1265
+ if (!utils$1.isUndefined(config2[prop])) {
1266
+ return getMergedValue(undefined, config2[prop]);
1267
+ } else if (!utils$1.isUndefined(config1[prop])) {
1268
+ return getMergedValue(undefined, config1[prop]);
1269
+ }
1270
+ }
1271
+
1272
+ // eslint-disable-next-line consistent-return
1273
+ function mergeDirectKeys(prop) {
1274
+ if (prop in config2) {
1275
+ return getMergedValue(config1[prop], config2[prop]);
1276
+ } else if (prop in config1) {
1277
+ return getMergedValue(undefined, config1[prop]);
1278
+ }
1279
+ }
1280
+
1281
+ var mergeMap = {
1282
+ 'url': valueFromConfig2,
1283
+ 'method': valueFromConfig2,
1284
+ 'data': valueFromConfig2,
1285
+ 'baseURL': defaultToConfig2,
1286
+ 'transformRequest': defaultToConfig2,
1287
+ 'transformResponse': defaultToConfig2,
1288
+ 'paramsSerializer': defaultToConfig2,
1289
+ 'timeout': defaultToConfig2,
1290
+ 'timeoutMessage': defaultToConfig2,
1291
+ 'withCredentials': defaultToConfig2,
1292
+ 'adapter': defaultToConfig2,
1293
+ 'responseType': defaultToConfig2,
1294
+ 'xsrfCookieName': defaultToConfig2,
1295
+ 'xsrfHeaderName': defaultToConfig2,
1296
+ 'onUploadProgress': defaultToConfig2,
1297
+ 'onDownloadProgress': defaultToConfig2,
1298
+ 'decompress': defaultToConfig2,
1299
+ 'maxContentLength': defaultToConfig2,
1300
+ 'maxBodyLength': defaultToConfig2,
1301
+ 'transport': defaultToConfig2,
1302
+ 'httpAgent': defaultToConfig2,
1303
+ 'httpsAgent': defaultToConfig2,
1304
+ 'cancelToken': defaultToConfig2,
1305
+ 'socketPath': defaultToConfig2,
1306
+ 'responseEncoding': defaultToConfig2,
1307
+ 'validateStatus': mergeDirectKeys
1308
+ };
1309
+
1310
+ utils$1.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {
1311
+ var merge = mergeMap[prop] || mergeDeepProperties;
1312
+ var configValue = merge(prop);
1313
+ (utils$1.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);
1314
+ });
1315
+
1316
+ return config;
1317
+ };
1318
+
1319
+ var data = {
1320
+ "version": "0.26.1"
1321
+ };
1322
+
1323
+ var VERSION = data.version;
1324
+
1325
+ var validators$1 = {};
1326
+
1327
+ // eslint-disable-next-line func-names
1328
+ ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {
1329
+ validators$1[type] = function validator(thing) {
1330
+ return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
1331
+ };
1332
+ });
1333
+
1334
+ var deprecatedWarnings = {};
1335
+
1336
+ /**
1337
+ * Transitional option validator
1338
+ * @param {function|boolean?} validator - set to false if the transitional option has been removed
1339
+ * @param {string?} version - deprecated version / removed since version
1340
+ * @param {string?} message - some message with additional info
1341
+ * @returns {function}
1342
+ */
1343
+ validators$1.transitional = function transitional(validator, version, message) {
1344
+ function formatMessage(opt, desc) {
1345
+ return '[Axios v' + VERSION + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
1346
+ }
1347
+
1348
+ // eslint-disable-next-line func-names
1349
+ return function(value, opt, opts) {
1350
+ if (validator === false) {
1351
+ throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));
1352
+ }
1353
+
1354
+ if (version && !deprecatedWarnings[opt]) {
1355
+ deprecatedWarnings[opt] = true;
1356
+ // eslint-disable-next-line no-console
1357
+ console.warn(
1358
+ formatMessage(
1359
+ opt,
1360
+ ' has been deprecated since v' + version + ' and will be removed in the near future'
1361
+ )
1362
+ );
1363
+ }
1364
+
1365
+ return validator ? validator(value, opt, opts) : true;
1366
+ };
1367
+ };
1368
+
1369
+ /**
1370
+ * Assert object's properties type
1371
+ * @param {object} options
1372
+ * @param {object} schema
1373
+ * @param {boolean?} allowUnknown
1374
+ */
1375
+
1376
+ function assertOptions(options, schema, allowUnknown) {
1377
+ if (typeof options !== 'object') {
1378
+ throw new TypeError('options must be an object');
1379
+ }
1380
+ var keys = Object.keys(options);
1381
+ var i = keys.length;
1382
+ while (i-- > 0) {
1383
+ var opt = keys[i];
1384
+ var validator = schema[opt];
1385
+ if (validator) {
1386
+ var value = options[opt];
1387
+ var result = value === undefined || validator(value, opt, options);
1388
+ if (result !== true) {
1389
+ throw new TypeError('option ' + opt + ' must be ' + result);
1390
+ }
1391
+ continue;
1392
+ }
1393
+ if (allowUnknown !== true) {
1394
+ throw Error('Unknown option ' + opt);
1395
+ }
1396
+ }
1397
+ }
1398
+
1399
+ var validator = {
1400
+ assertOptions: assertOptions,
1401
+ validators: validators$1
1402
+ };
1403
+
1404
+ var validators = validator.validators;
1405
+ /**
1406
+ * Create a new instance of Axios
1407
+ *
1408
+ * @param {Object} instanceConfig The default config for the instance
1409
+ */
1410
+ function Axios(instanceConfig) {
1411
+ this.defaults = instanceConfig;
1412
+ this.interceptors = {
1413
+ request: new InterceptorManager_1(),
1414
+ response: new InterceptorManager_1()
1415
+ };
1416
+ }
1417
+
1418
+ /**
1419
+ * Dispatch a request
1420
+ *
1421
+ * @param {Object} config The config specific for this request (merged with this.defaults)
1422
+ */
1423
+ Axios.prototype.request = function request(configOrUrl, config) {
1424
+ /*eslint no-param-reassign:0*/
1425
+ // Allow for axios('example/url'[, config]) a la fetch API
1426
+ if (typeof configOrUrl === 'string') {
1427
+ config = config || {};
1428
+ config.url = configOrUrl;
1429
+ } else {
1430
+ config = configOrUrl || {};
1431
+ }
1432
+
1433
+ config = mergeConfig(this.defaults, config);
1434
+
1435
+ // Set config.method
1436
+ if (config.method) {
1437
+ config.method = config.method.toLowerCase();
1438
+ } else if (this.defaults.method) {
1439
+ config.method = this.defaults.method.toLowerCase();
1440
+ } else {
1441
+ config.method = 'get';
1442
+ }
1443
+
1444
+ var transitional = config.transitional;
1445
+
1446
+ if (transitional !== undefined) {
1447
+ validator.assertOptions(transitional, {
1448
+ silentJSONParsing: validators.transitional(validators.boolean),
1449
+ forcedJSONParsing: validators.transitional(validators.boolean),
1450
+ clarifyTimeoutError: validators.transitional(validators.boolean)
1451
+ }, false);
1452
+ }
1453
+
1454
+ // filter out skipped interceptors
1455
+ var requestInterceptorChain = [];
1456
+ var synchronousRequestInterceptors = true;
1457
+ this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
1458
+ if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
1459
+ return;
1460
+ }
1461
+
1462
+ synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
1463
+
1464
+ requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
1465
+ });
1466
+
1467
+ var responseInterceptorChain = [];
1468
+ this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
1469
+ responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
1470
+ });
1471
+
1472
+ var promise;
1473
+
1474
+ if (!synchronousRequestInterceptors) {
1475
+ var chain = [dispatchRequest, undefined];
1476
+
1477
+ Array.prototype.unshift.apply(chain, requestInterceptorChain);
1478
+ chain = chain.concat(responseInterceptorChain);
1479
+
1480
+ promise = Promise.resolve(config);
1481
+ while (chain.length) {
1482
+ promise = promise.then(chain.shift(), chain.shift());
1483
+ }
1484
+
1485
+ return promise;
1486
+ }
1487
+
1488
+
1489
+ var newConfig = config;
1490
+ while (requestInterceptorChain.length) {
1491
+ var onFulfilled = requestInterceptorChain.shift();
1492
+ var onRejected = requestInterceptorChain.shift();
1493
+ try {
1494
+ newConfig = onFulfilled(newConfig);
1495
+ } catch (error) {
1496
+ onRejected(error);
1497
+ break;
1498
+ }
1499
+ }
1500
+
1501
+ try {
1502
+ promise = dispatchRequest(newConfig);
1503
+ } catch (error) {
1504
+ return Promise.reject(error);
1505
+ }
1506
+
1507
+ while (responseInterceptorChain.length) {
1508
+ promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());
1509
+ }
1510
+
1511
+ return promise;
1512
+ };
1513
+
1514
+ Axios.prototype.getUri = function getUri(config) {
1515
+ config = mergeConfig(this.defaults, config);
1516
+ return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
1517
+ };
1518
+
1519
+ // Provide aliases for supported request methods
1520
+ utils$1.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
1521
+ /*eslint func-names:0*/
1522
+ Axios.prototype[method] = function(url, config) {
1523
+ return this.request(mergeConfig(config || {}, {
1524
+ method: method,
1525
+ url: url,
1526
+ data: (config || {}).data
1527
+ }));
1528
+ };
1529
+ });
1530
+
1531
+ utils$1.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
1532
+ /*eslint func-names:0*/
1533
+ Axios.prototype[method] = function(url, data, config) {
1534
+ return this.request(mergeConfig(config || {}, {
1535
+ method: method,
1536
+ url: url,
1537
+ data: data
1538
+ }));
1539
+ };
1540
+ });
1541
+
1542
+ var Axios_1 = Axios;
1543
+
1544
+ /**
1545
+ * A `CancelToken` is an object that can be used to request cancellation of an operation.
1546
+ *
1547
+ * @class
1548
+ * @param {Function} executor The executor function.
1549
+ */
1550
+ function CancelToken(executor) {
1551
+ if (typeof executor !== 'function') {
1552
+ throw new TypeError('executor must be a function.');
1553
+ }
1554
+
1555
+ var resolvePromise;
1556
+
1557
+ this.promise = new Promise(function promiseExecutor(resolve) {
1558
+ resolvePromise = resolve;
1559
+ });
1560
+
1561
+ var token = this;
1562
+
1563
+ // eslint-disable-next-line func-names
1564
+ this.promise.then(function(cancel) {
1565
+ if (!token._listeners) return;
1566
+
1567
+ var i;
1568
+ var l = token._listeners.length;
1569
+
1570
+ for (i = 0; i < l; i++) {
1571
+ token._listeners[i](cancel);
1572
+ }
1573
+ token._listeners = null;
1574
+ });
1575
+
1576
+ // eslint-disable-next-line func-names
1577
+ this.promise.then = function(onfulfilled) {
1578
+ var _resolve;
1579
+ // eslint-disable-next-line func-names
1580
+ var promise = new Promise(function(resolve) {
1581
+ token.subscribe(resolve);
1582
+ _resolve = resolve;
1583
+ }).then(onfulfilled);
1584
+
1585
+ promise.cancel = function reject() {
1586
+ token.unsubscribe(_resolve);
1587
+ };
1588
+
1589
+ return promise;
1590
+ };
1591
+
1592
+ executor(function cancel(message) {
1593
+ if (token.reason) {
1594
+ // Cancellation has already been requested
1595
+ return;
1596
+ }
1597
+
1598
+ token.reason = new Cancel_1(message);
1599
+ resolvePromise(token.reason);
1600
+ });
1601
+ }
1602
+
1603
+ /**
1604
+ * Throws a `Cancel` if cancellation has been requested.
1605
+ */
1606
+ CancelToken.prototype.throwIfRequested = function throwIfRequested() {
1607
+ if (this.reason) {
1608
+ throw this.reason;
1609
+ }
1610
+ };
1611
+
1612
+ /**
1613
+ * Subscribe to the cancel signal
1614
+ */
1615
+
1616
+ CancelToken.prototype.subscribe = function subscribe(listener) {
1617
+ if (this.reason) {
1618
+ listener(this.reason);
1619
+ return;
1620
+ }
1621
+
1622
+ if (this._listeners) {
1623
+ this._listeners.push(listener);
1624
+ } else {
1625
+ this._listeners = [listener];
1626
+ }
1627
+ };
1628
+
1629
+ /**
1630
+ * Unsubscribe from the cancel signal
1631
+ */
1632
+
1633
+ CancelToken.prototype.unsubscribe = function unsubscribe(listener) {
1634
+ if (!this._listeners) {
1635
+ return;
1636
+ }
1637
+ var index = this._listeners.indexOf(listener);
1638
+ if (index !== -1) {
1639
+ this._listeners.splice(index, 1);
1640
+ }
1641
+ };
1642
+
1643
+ /**
1644
+ * Returns an object that contains a new `CancelToken` and a function that, when called,
1645
+ * cancels the `CancelToken`.
1646
+ */
1647
+ CancelToken.source = function source() {
1648
+ var cancel;
1649
+ var token = new CancelToken(function executor(c) {
1650
+ cancel = c;
1651
+ });
1652
+ return {
1653
+ token: token,
1654
+ cancel: cancel
1655
+ };
1656
+ };
1657
+
1658
+ var CancelToken_1 = CancelToken;
1659
+
1660
+ /**
1661
+ * Syntactic sugar for invoking a function and expanding an array for arguments.
1662
+ *
1663
+ * Common use case would be to use `Function.prototype.apply`.
1664
+ *
1665
+ * ```js
1666
+ * function f(x, y, z) {}
1667
+ * var args = [1, 2, 3];
1668
+ * f.apply(null, args);
1669
+ * ```
1670
+ *
1671
+ * With `spread` this example can be re-written.
1672
+ *
1673
+ * ```js
1674
+ * spread(function(x, y, z) {})([1, 2, 3]);
1675
+ * ```
1676
+ *
1677
+ * @param {Function} callback
1678
+ * @returns {Function}
1679
+ */
1680
+ var spread = function spread(callback) {
1681
+ return function wrap(arr) {
1682
+ return callback.apply(null, arr);
1683
+ };
1684
+ };
1685
+
1686
+ /**
1687
+ * Determines whether the payload is an error thrown by Axios
1688
+ *
1689
+ * @param {*} payload The value to test
1690
+ * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
1691
+ */
1692
+ var isAxiosError = function isAxiosError(payload) {
1693
+ return utils$1.isObject(payload) && (payload.isAxiosError === true);
1694
+ };
1695
+
1696
+ /**
1697
+ * Create an instance of Axios
1698
+ *
1699
+ * @param {Object} defaultConfig The default config for the instance
1700
+ * @return {Axios} A new instance of Axios
1701
+ */
1702
+ function createInstance(defaultConfig) {
1703
+ var context = new Axios_1(defaultConfig);
1704
+ var instance = bind(Axios_1.prototype.request, context);
1705
+
1706
+ // Copy axios.prototype to instance
1707
+ utils$1.extend(instance, Axios_1.prototype, context);
1708
+
1709
+ // Copy context to instance
1710
+ utils$1.extend(instance, context);
1711
+
1712
+ // Factory for creating new instances
1713
+ instance.create = function create(instanceConfig) {
1714
+ return createInstance(mergeConfig(defaultConfig, instanceConfig));
1715
+ };
1716
+
1717
+ return instance;
1718
+ }
1719
+
1720
+ // Create the default instance to be exported
1721
+ var axios = createInstance(defaults_1);
1722
+
1723
+ // Expose Axios class to allow class inheritance
1724
+ axios.Axios = Axios_1;
1725
+
1726
+ // Expose Cancel & CancelToken
1727
+ axios.Cancel = Cancel_1;
1728
+ axios.CancelToken = CancelToken_1;
1729
+ axios.isCancel = isCancel;
1730
+ axios.VERSION = data.version;
1731
+
1732
+ // Expose all/spread
1733
+ axios.all = function all(promises) {
1734
+ return Promise.all(promises);
1735
+ };
1736
+ axios.spread = spread;
1737
+
1738
+ // Expose isAxiosError
1739
+ axios.isAxiosError = isAxiosError;
1740
+
1741
+ var axios_1 = axios;
1742
+
1743
+ // Allow use of default import syntax in TypeScript
1744
+ var _default = axios;
1745
+ axios_1.default = _default;
1746
+
1747
+ /* eslint complexity: [2, 18], max-statements: [2, 33] */
1748
+ var shams = function hasSymbols() {
1749
+ if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1750
+ if (typeof Symbol.iterator === 'symbol') { return true; }
1751
+
1752
+ var obj = {};
1753
+ var sym = Symbol('test');
1754
+ var symObj = Object(sym);
1755
+ if (typeof sym === 'string') { return false; }
1756
+
1757
+ if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1758
+ if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1759
+
1760
+ // temp disabled per https://github.com/ljharb/object.assign/issues/17
1761
+ // if (sym instanceof Symbol) { return false; }
1762
+ // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1763
+ // if (!(symObj instanceof Symbol)) { return false; }
1764
+
1765
+ // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1766
+ // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1767
+
1768
+ var symVal = 42;
1769
+ obj[sym] = symVal;
1770
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
1771
+ if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1772
+
1773
+ if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1774
+
1775
+ var syms = Object.getOwnPropertySymbols(obj);
1776
+ if (syms.length !== 1 || syms[0] !== sym) { return false; }
1777
+
1778
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1779
+
1780
+ if (typeof Object.getOwnPropertyDescriptor === 'function') {
1781
+ var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1782
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1783
+ }
1784
+
1785
+ return true;
1786
+ };
1787
+
1788
+ var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1789
+
1790
+
1791
+ var hasSymbols$1 = function hasNativeSymbols() {
1792
+ if (typeof origSymbol !== 'function') { return false; }
1793
+ if (typeof Symbol !== 'function') { return false; }
1794
+ if (typeof origSymbol('foo') !== 'symbol') { return false; }
1795
+ if (typeof Symbol('bar') !== 'symbol') { return false; }
1796
+
1797
+ return shams();
1798
+ };
1799
+
1800
+ /* eslint no-invalid-this: 1 */
1801
+
1802
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1803
+ var slice = Array.prototype.slice;
1804
+ var toStr$1 = Object.prototype.toString;
1805
+ var funcType = '[object Function]';
1806
+
1807
+ var implementation = function bind(that) {
1808
+ var target = this;
1809
+ if (typeof target !== 'function' || toStr$1.call(target) !== funcType) {
1810
+ throw new TypeError(ERROR_MESSAGE + target);
1811
+ }
1812
+ var args = slice.call(arguments, 1);
1813
+
1814
+ var bound;
1815
+ var binder = function () {
1816
+ if (this instanceof bound) {
1817
+ var result = target.apply(
1818
+ this,
1819
+ args.concat(slice.call(arguments))
1820
+ );
1821
+ if (Object(result) === result) {
1822
+ return result;
1823
+ }
1824
+ return this;
1825
+ } else {
1826
+ return target.apply(
1827
+ that,
1828
+ args.concat(slice.call(arguments))
1829
+ );
1830
+ }
1831
+ };
1832
+
1833
+ var boundLength = Math.max(0, target.length - args.length);
1834
+ var boundArgs = [];
1835
+ for (var i = 0; i < boundLength; i++) {
1836
+ boundArgs.push('$' + i);
1837
+ }
1838
+
1839
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1840
+
1841
+ if (target.prototype) {
1842
+ var Empty = function Empty() {};
1843
+ Empty.prototype = target.prototype;
1844
+ bound.prototype = new Empty();
1845
+ Empty.prototype = null;
1846
+ }
1847
+
1848
+ return bound;
1849
+ };
1850
+
1851
+ var functionBind = Function.prototype.bind || implementation;
1852
+
1853
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1854
+
1855
+ var undefined$1;
1856
+
1857
+ var $SyntaxError = SyntaxError;
1858
+ var $Function = Function;
1859
+ var $TypeError$1 = TypeError;
1860
+
1861
+ // eslint-disable-next-line consistent-return
1862
+ var getEvalledConstructor = function (expressionSyntax) {
1863
+ try {
1864
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1865
+ } catch (e) {}
1866
+ };
1867
+
1868
+ var $gOPD = Object.getOwnPropertyDescriptor;
1869
+
1870
+ var throwTypeError = function () {
1871
+ throw new $TypeError$1();
1872
+ };
1873
+ var ThrowTypeError = $gOPD
1874
+ ? (function () {
1875
+ try {
1876
+ return throwTypeError;
1877
+ } catch (calleeThrows) {
1878
+ try {
1879
+ // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1880
+ return $gOPD(arguments, 'callee').get;
1881
+ } catch (gOPDthrows) {
1882
+ return throwTypeError;
1883
+ }
1884
+ }
1885
+ }())
1886
+ : throwTypeError;
1887
+
1888
+ var hasSymbols = hasSymbols$1();
1889
+
1890
+ var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1891
+
1892
+ var needsEval = {};
1893
+
1894
+ var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1895
+
1896
+ var INTRINSICS = {
1897
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1898
+ '%Array%': Array,
1899
+ '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1900
+ '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined$1,
1901
+ '%AsyncFromSyncIteratorPrototype%': undefined$1,
1902
+ '%AsyncFunction%': needsEval,
1903
+ '%AsyncGenerator%': needsEval,
1904
+ '%AsyncGeneratorFunction%': needsEval,
1905
+ '%AsyncIteratorPrototype%': needsEval,
1906
+ '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1907
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1908
+ '%Boolean%': Boolean,
1909
+ '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1910
+ '%Date%': Date,
1911
+ '%decodeURI%': decodeURI,
1912
+ '%decodeURIComponent%': decodeURIComponent,
1913
+ '%encodeURI%': encodeURI,
1914
+ '%encodeURIComponent%': encodeURIComponent,
1915
+ '%Error%': Error,
1916
+ '%eval%': eval, // eslint-disable-line no-eval
1917
+ '%EvalError%': EvalError,
1918
+ '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1919
+ '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1920
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1921
+ '%Function%': $Function,
1922
+ '%GeneratorFunction%': needsEval,
1923
+ '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1924
+ '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1925
+ '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1926
+ '%isFinite%': isFinite,
1927
+ '%isNaN%': isNaN,
1928
+ '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1929
+ '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1930
+ '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1931
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1932
+ '%Math%': Math,
1933
+ '%Number%': Number,
1934
+ '%Object%': Object,
1935
+ '%parseFloat%': parseFloat,
1936
+ '%parseInt%': parseInt,
1937
+ '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1938
+ '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1939
+ '%RangeError%': RangeError,
1940
+ '%ReferenceError%': ReferenceError,
1941
+ '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1942
+ '%RegExp%': RegExp,
1943
+ '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1944
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1945
+ '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1946
+ '%String%': String,
1947
+ '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined$1,
1948
+ '%Symbol%': hasSymbols ? Symbol : undefined$1,
1949
+ '%SyntaxError%': $SyntaxError,
1950
+ '%ThrowTypeError%': ThrowTypeError,
1951
+ '%TypedArray%': TypedArray,
1952
+ '%TypeError%': $TypeError$1,
1953
+ '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1954
+ '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1955
+ '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1956
+ '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1957
+ '%URIError%': URIError,
1958
+ '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1959
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1960
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1961
+ };
1962
+
1963
+ var doEval = function doEval(name) {
1964
+ var value;
1965
+ if (name === '%AsyncFunction%') {
1966
+ value = getEvalledConstructor('async function () {}');
1967
+ } else if (name === '%GeneratorFunction%') {
1968
+ value = getEvalledConstructor('function* () {}');
1969
+ } else if (name === '%AsyncGeneratorFunction%') {
1970
+ value = getEvalledConstructor('async function* () {}');
1971
+ } else if (name === '%AsyncGenerator%') {
1972
+ var fn = doEval('%AsyncGeneratorFunction%');
1973
+ if (fn) {
1974
+ value = fn.prototype;
1975
+ }
1976
+ } else if (name === '%AsyncIteratorPrototype%') {
1977
+ var gen = doEval('%AsyncGenerator%');
1978
+ if (gen) {
1979
+ value = getProto(gen.prototype);
1980
+ }
1981
+ }
1982
+
1983
+ INTRINSICS[name] = value;
1984
+
1985
+ return value;
1986
+ };
1987
+
1988
+ var LEGACY_ALIASES = {
1989
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1990
+ '%ArrayPrototype%': ['Array', 'prototype'],
1991
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1992
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1993
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1994
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1995
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1996
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1997
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1998
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1999
+ '%DataViewPrototype%': ['DataView', 'prototype'],
2000
+ '%DatePrototype%': ['Date', 'prototype'],
2001
+ '%ErrorPrototype%': ['Error', 'prototype'],
2002
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
2003
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
2004
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
2005
+ '%FunctionPrototype%': ['Function', 'prototype'],
2006
+ '%Generator%': ['GeneratorFunction', 'prototype'],
2007
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
2008
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
2009
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
2010
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
2011
+ '%JSONParse%': ['JSON', 'parse'],
2012
+ '%JSONStringify%': ['JSON', 'stringify'],
2013
+ '%MapPrototype%': ['Map', 'prototype'],
2014
+ '%NumberPrototype%': ['Number', 'prototype'],
2015
+ '%ObjectPrototype%': ['Object', 'prototype'],
2016
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
2017
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
2018
+ '%PromisePrototype%': ['Promise', 'prototype'],
2019
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
2020
+ '%Promise_all%': ['Promise', 'all'],
2021
+ '%Promise_reject%': ['Promise', 'reject'],
2022
+ '%Promise_resolve%': ['Promise', 'resolve'],
2023
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
2024
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
2025
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
2026
+ '%SetPrototype%': ['Set', 'prototype'],
2027
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
2028
+ '%StringPrototype%': ['String', 'prototype'],
2029
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
2030
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
2031
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
2032
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
2033
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
2034
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
2035
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
2036
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
2037
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
2038
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
2039
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
2040
+ };
2041
+
2042
+
2043
+
2044
+ var $concat$1 = functionBind.call(Function.call, Array.prototype.concat);
2045
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
2046
+ var $replace$1 = functionBind.call(Function.call, String.prototype.replace);
2047
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
2048
+
2049
+ /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
2050
+ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
2051
+ var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
2052
+ var stringToPath = function stringToPath(string) {
2053
+ var first = $strSlice(string, 0, 1);
2054
+ var last = $strSlice(string, -1);
2055
+ if (first === '%' && last !== '%') {
2056
+ throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
2057
+ } else if (last === '%' && first !== '%') {
2058
+ throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
2059
+ }
2060
+ var result = [];
2061
+ $replace$1(string, rePropName, function (match, number, quote, subString) {
2062
+ result[result.length] = quote ? $replace$1(subString, reEscapeChar, '$1') : number || match;
2063
+ });
2064
+ return result;
2065
+ };
2066
+ /* end adaptation */
2067
+
2068
+ var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
2069
+ var intrinsicName = name;
2070
+ var alias;
2071
+ if (src(LEGACY_ALIASES, intrinsicName)) {
2072
+ alias = LEGACY_ALIASES[intrinsicName];
2073
+ intrinsicName = '%' + alias[0] + '%';
2074
+ }
2075
+
2076
+ if (src(INTRINSICS, intrinsicName)) {
2077
+ var value = INTRINSICS[intrinsicName];
2078
+ if (value === needsEval) {
2079
+ value = doEval(intrinsicName);
2080
+ }
2081
+ if (typeof value === 'undefined' && !allowMissing) {
2082
+ throw new $TypeError$1('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2083
+ }
2084
+
2085
+ return {
2086
+ alias: alias,
2087
+ name: intrinsicName,
2088
+ value: value
2089
+ };
2090
+ }
2091
+
2092
+ throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
2093
+ };
2094
+
2095
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
2096
+ if (typeof name !== 'string' || name.length === 0) {
2097
+ throw new $TypeError$1('intrinsic name must be a non-empty string');
2098
+ }
2099
+ if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
2100
+ throw new $TypeError$1('"allowMissing" argument must be a boolean');
2101
+ }
2102
+
2103
+ var parts = stringToPath(name);
2104
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
2105
+
2106
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
2107
+ var intrinsicRealName = intrinsic.name;
2108
+ var value = intrinsic.value;
2109
+ var skipFurtherCaching = false;
2110
+
2111
+ var alias = intrinsic.alias;
2112
+ if (alias) {
2113
+ intrinsicBaseName = alias[0];
2114
+ $spliceApply(parts, $concat$1([0, 1], alias));
2115
+ }
2116
+
2117
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
2118
+ var part = parts[i];
2119
+ var first = $strSlice(part, 0, 1);
2120
+ var last = $strSlice(part, -1);
2121
+ if (
2122
+ (
2123
+ (first === '"' || first === "'" || first === '`')
2124
+ || (last === '"' || last === "'" || last === '`')
2125
+ )
2126
+ && first !== last
2127
+ ) {
2128
+ throw new $SyntaxError('property names with quotes must have matching quotes');
2129
+ }
2130
+ if (part === 'constructor' || !isOwn) {
2131
+ skipFurtherCaching = true;
2132
+ }
2133
+
2134
+ intrinsicBaseName += '.' + part;
2135
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
2136
+
2137
+ if (src(INTRINSICS, intrinsicRealName)) {
2138
+ value = INTRINSICS[intrinsicRealName];
2139
+ } else if (value != null) {
2140
+ if (!(part in value)) {
2141
+ if (!allowMissing) {
2142
+ throw new $TypeError$1('base intrinsic for ' + name + ' exists, but the property is not available.');
2143
+ }
2144
+ return void undefined$1;
2145
+ }
2146
+ if ($gOPD && (i + 1) >= parts.length) {
2147
+ var desc = $gOPD(value, part);
2148
+ isOwn = !!desc;
2149
+
2150
+ // By convention, when a data property is converted to an accessor
2151
+ // property to emulate a data property that does not suffer from
2152
+ // the override mistake, that accessor's getter is marked with
2153
+ // an `originalValue` property. Here, when we detect this, we
2154
+ // uphold the illusion by pretending to see that original data
2155
+ // property, i.e., returning the value rather than the getter
2156
+ // itself.
2157
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
2158
+ value = desc.get;
2159
+ } else {
2160
+ value = value[part];
2161
+ }
2162
+ } else {
2163
+ isOwn = src(value, part);
2164
+ value = value[part];
2165
+ }
2166
+
2167
+ if (isOwn && !skipFurtherCaching) {
2168
+ INTRINSICS[intrinsicRealName] = value;
2169
+ }
2170
+ }
2171
+ }
2172
+ return value;
2173
+ };
2174
+
2175
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2176
+
2177
+ function getDefaultExportFromCjs (x) {
2178
+ return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
2179
+ }
2180
+
2181
+ function createCommonjsModule(fn, basedir, module) {
2182
+ return module = {
2183
+ path: basedir,
2184
+ exports: {},
2185
+ require: function (path, base) {
2186
+ return commonjsRequire();
2187
+ }
2188
+ }, fn(module, module.exports), module.exports;
2189
+ }
2190
+
2191
+ function getAugmentedNamespace(n) {
2192
+ if (n.__esModule) return n;
2193
+ var a = Object.defineProperty({}, '__esModule', {value: true});
2194
+ Object.keys(n).forEach(function (k) {
2195
+ var d = Object.getOwnPropertyDescriptor(n, k);
2196
+ Object.defineProperty(a, k, d.get ? d : {
2197
+ enumerable: true,
2198
+ get: function () {
2199
+ return n[k];
2200
+ }
2201
+ });
2202
+ });
2203
+ return a;
2204
+ }
2205
+
2206
+ function commonjsRequire () {
2207
+ throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
2208
+ }
2209
+
2210
+ var callBind = createCommonjsModule(function (module) {
2211
+
2212
+
2213
+
2214
+
2215
+ var $apply = getIntrinsic('%Function.prototype.apply%');
2216
+ var $call = getIntrinsic('%Function.prototype.call%');
2217
+ var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
2218
+
2219
+ var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
2220
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2221
+ var $max = getIntrinsic('%Math.max%');
2222
+
2223
+ if ($defineProperty) {
2224
+ try {
2225
+ $defineProperty({}, 'a', { value: 1 });
2226
+ } catch (e) {
2227
+ // IE 8 has a broken defineProperty
2228
+ $defineProperty = null;
2229
+ }
2230
+ }
2231
+
2232
+ module.exports = function callBind(originalFunction) {
2233
+ var func = $reflectApply(functionBind, $call, arguments);
2234
+ if ($gOPD && $defineProperty) {
2235
+ var desc = $gOPD(func, 'length');
2236
+ if (desc.configurable) {
2237
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
2238
+ $defineProperty(
2239
+ func,
2240
+ 'length',
2241
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2242
+ );
2243
+ }
2244
+ }
2245
+ return func;
2246
+ };
2247
+
2248
+ var applyBind = function applyBind() {
2249
+ return $reflectApply(functionBind, $apply, arguments);
2250
+ };
2251
+
2252
+ if ($defineProperty) {
2253
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2254
+ } else {
2255
+ module.exports.apply = applyBind;
2256
+ }
2257
+ });
2258
+
2259
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
2260
+
2261
+ var callBound = function callBoundIntrinsic(name, allowMissing) {
2262
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2263
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
2264
+ return callBind(intrinsic);
2265
+ }
2266
+ return intrinsic;
2267
+ };
2268
+
2269
+ const _nodeResolve_empty = {};
2270
+
2271
+ const _nodeResolve_empty$1 = /*#__PURE__*/Object.freeze({
2272
+ __proto__: null,
2273
+ 'default': _nodeResolve_empty
2274
+ });
2275
+
2276
+ const require$$0 = /*@__PURE__*/getAugmentedNamespace(_nodeResolve_empty$1);
2277
+
2278
+ var hasMap = typeof Map === 'function' && Map.prototype;
2279
+ var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
2280
+ var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
2281
+ var mapForEach = hasMap && Map.prototype.forEach;
2282
+ var hasSet = typeof Set === 'function' && Set.prototype;
2283
+ var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
2284
+ var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
2285
+ var setForEach = hasSet && Set.prototype.forEach;
2286
+ var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
2287
+ var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
2288
+ var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
2289
+ var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
2290
+ var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
2291
+ var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
2292
+ var booleanValueOf = Boolean.prototype.valueOf;
2293
+ var objectToString = Object.prototype.toString;
2294
+ var functionToString = Function.prototype.toString;
2295
+ var $match = String.prototype.match;
2296
+ var $slice = String.prototype.slice;
2297
+ var $replace = String.prototype.replace;
2298
+ var $toUpperCase = String.prototype.toUpperCase;
2299
+ var $toLowerCase = String.prototype.toLowerCase;
2300
+ var $test = RegExp.prototype.test;
2301
+ var $concat = Array.prototype.concat;
2302
+ var $join = Array.prototype.join;
2303
+ var $arrSlice = Array.prototype.slice;
2304
+ var $floor = Math.floor;
2305
+ var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
2306
+ var gOPS = Object.getOwnPropertySymbols;
2307
+ var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
2308
+ var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
2309
+ // ie, `has-tostringtag/shams
2310
+ var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
2311
+ ? Symbol.toStringTag
2312
+ : null;
2313
+ var isEnumerable = Object.prototype.propertyIsEnumerable;
2314
+
2315
+ var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
2316
+ [].__proto__ === Array.prototype // eslint-disable-line no-proto
2317
+ ? function (O) {
2318
+ return O.__proto__; // eslint-disable-line no-proto
2319
+ }
2320
+ : null
2321
+ );
2322
+
2323
+ function addNumericSeparator(num, str) {
2324
+ if (
2325
+ num === Infinity
2326
+ || num === -Infinity
2327
+ || num !== num
2328
+ || (num && num > -1000 && num < 1000)
2329
+ || $test.call(/e/, str)
2330
+ ) {
2331
+ return str;
2332
+ }
2333
+ var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
2334
+ if (typeof num === 'number') {
2335
+ var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
2336
+ if (int !== num) {
2337
+ var intStr = String(int);
2338
+ var dec = $slice.call(str, intStr.length + 1);
2339
+ return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
2340
+ }
2341
+ }
2342
+ return $replace.call(str, sepRegex, '$&_');
2343
+ }
2344
+
2345
+ var inspectCustom = require$$0.custom;
2346
+ var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
2347
+
2348
+ var objectInspect = function inspect_(obj, options, depth, seen) {
2349
+ var opts = options || {};
2350
+
2351
+ if (has$1(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
2352
+ throw new TypeError('option "quoteStyle" must be "single" or "double"');
2353
+ }
2354
+ if (
2355
+ has$1(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
2356
+ ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
2357
+ : opts.maxStringLength !== null
2358
+ )
2359
+ ) {
2360
+ throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
2361
+ }
2362
+ var customInspect = has$1(opts, 'customInspect') ? opts.customInspect : true;
2363
+ if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
2364
+ throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
2365
+ }
2366
+
2367
+ if (
2368
+ has$1(opts, 'indent')
2369
+ && opts.indent !== null
2370
+ && opts.indent !== '\t'
2371
+ && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
2372
+ ) {
2373
+ throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
2374
+ }
2375
+ if (has$1(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
2376
+ throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
2377
+ }
2378
+ var numericSeparator = opts.numericSeparator;
2379
+
2380
+ if (typeof obj === 'undefined') {
2381
+ return 'undefined';
2382
+ }
2383
+ if (obj === null) {
2384
+ return 'null';
2385
+ }
2386
+ if (typeof obj === 'boolean') {
2387
+ return obj ? 'true' : 'false';
2388
+ }
2389
+
2390
+ if (typeof obj === 'string') {
2391
+ return inspectString(obj, opts);
2392
+ }
2393
+ if (typeof obj === 'number') {
2394
+ if (obj === 0) {
2395
+ return Infinity / obj > 0 ? '0' : '-0';
2396
+ }
2397
+ var str = String(obj);
2398
+ return numericSeparator ? addNumericSeparator(obj, str) : str;
2399
+ }
2400
+ if (typeof obj === 'bigint') {
2401
+ var bigIntStr = String(obj) + 'n';
2402
+ return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
2403
+ }
2404
+
2405
+ var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
2406
+ if (typeof depth === 'undefined') { depth = 0; }
2407
+ if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
2408
+ return isArray$1(obj) ? '[Array]' : '[Object]';
2409
+ }
2410
+
2411
+ var indent = getIndent(opts, depth);
2412
+
2413
+ if (typeof seen === 'undefined') {
2414
+ seen = [];
2415
+ } else if (indexOf(seen, obj) >= 0) {
2416
+ return '[Circular]';
2417
+ }
2418
+
2419
+ function inspect(value, from, noIndent) {
2420
+ if (from) {
2421
+ seen = $arrSlice.call(seen);
2422
+ seen.push(from);
2423
+ }
2424
+ if (noIndent) {
2425
+ var newOpts = {
2426
+ depth: opts.depth
2427
+ };
2428
+ if (has$1(opts, 'quoteStyle')) {
2429
+ newOpts.quoteStyle = opts.quoteStyle;
2430
+ }
2431
+ return inspect_(value, newOpts, depth + 1, seen);
2432
+ }
2433
+ return inspect_(value, opts, depth + 1, seen);
2434
+ }
2435
+
2436
+ if (typeof obj === 'function') {
2437
+ var name = nameOf(obj);
2438
+ var keys = arrObjKeys(obj, inspect);
2439
+ return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
2440
+ }
2441
+ if (isSymbol(obj)) {
2442
+ var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
2443
+ return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
2444
+ }
2445
+ if (isElement(obj)) {
2446
+ var s = '<' + $toLowerCase.call(String(obj.nodeName));
2447
+ var attrs = obj.attributes || [];
2448
+ for (var i = 0; i < attrs.length; i++) {
2449
+ s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
2450
+ }
2451
+ s += '>';
2452
+ if (obj.childNodes && obj.childNodes.length) { s += '...'; }
2453
+ s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
2454
+ return s;
2455
+ }
2456
+ if (isArray$1(obj)) {
2457
+ if (obj.length === 0) { return '[]'; }
2458
+ var xs = arrObjKeys(obj, inspect);
2459
+ if (indent && !singleLineValues(xs)) {
2460
+ return '[' + indentedJoin(xs, indent) + ']';
2461
+ }
2462
+ return '[ ' + $join.call(xs, ', ') + ' ]';
2463
+ }
2464
+ if (isError(obj)) {
2465
+ var parts = arrObjKeys(obj, inspect);
2466
+ if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
2467
+ return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
2468
+ }
2469
+ if (parts.length === 0) { return '[' + String(obj) + ']'; }
2470
+ return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
2471
+ }
2472
+ if (typeof obj === 'object' && customInspect) {
2473
+ if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
2474
+ return obj[inspectSymbol]();
2475
+ } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
2476
+ return obj.inspect();
2477
+ }
2478
+ }
2479
+ if (isMap(obj)) {
2480
+ var mapParts = [];
2481
+ mapForEach.call(obj, function (value, key) {
2482
+ mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
2483
+ });
2484
+ return collectionOf('Map', mapSize.call(obj), mapParts, indent);
2485
+ }
2486
+ if (isSet(obj)) {
2487
+ var setParts = [];
2488
+ setForEach.call(obj, function (value) {
2489
+ setParts.push(inspect(value, obj));
2490
+ });
2491
+ return collectionOf('Set', setSize.call(obj), setParts, indent);
2492
+ }
2493
+ if (isWeakMap(obj)) {
2494
+ return weakCollectionOf('WeakMap');
2495
+ }
2496
+ if (isWeakSet(obj)) {
2497
+ return weakCollectionOf('WeakSet');
2498
+ }
2499
+ if (isWeakRef(obj)) {
2500
+ return weakCollectionOf('WeakRef');
2501
+ }
2502
+ if (isNumber(obj)) {
2503
+ return markBoxed(inspect(Number(obj)));
2504
+ }
2505
+ if (isBigInt(obj)) {
2506
+ return markBoxed(inspect(bigIntValueOf.call(obj)));
2507
+ }
2508
+ if (isBoolean(obj)) {
2509
+ return markBoxed(booleanValueOf.call(obj));
2510
+ }
2511
+ if (isString(obj)) {
2512
+ return markBoxed(inspect(String(obj)));
2513
+ }
2514
+ if (!isDate(obj) && !isRegExp$1(obj)) {
2515
+ var ys = arrObjKeys(obj, inspect);
2516
+ var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
2517
+ var protoTag = obj instanceof Object ? '' : 'null prototype';
2518
+ var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
2519
+ var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
2520
+ var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
2521
+ if (ys.length === 0) { return tag + '{}'; }
2522
+ if (indent) {
2523
+ return tag + '{' + indentedJoin(ys, indent) + '}';
2524
+ }
2525
+ return tag + '{ ' + $join.call(ys, ', ') + ' }';
2526
+ }
2527
+ return String(obj);
2528
+ };
2529
+
2530
+ function wrapQuotes(s, defaultStyle, opts) {
2531
+ var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
2532
+ return quoteChar + s + quoteChar;
2533
+ }
2534
+
2535
+ function quote(s) {
2536
+ return $replace.call(String(s), /"/g, '&quot;');
2537
+ }
2538
+
2539
+ function isArray$1(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2540
+ function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2541
+ function isRegExp$1(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2542
+ function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2543
+ function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2544
+ function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2545
+ function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
2546
+
2547
+ // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
2548
+ function isSymbol(obj) {
2549
+ if (hasShammedSymbols) {
2550
+ return obj && typeof obj === 'object' && obj instanceof Symbol;
2551
+ }
2552
+ if (typeof obj === 'symbol') {
2553
+ return true;
2554
+ }
2555
+ if (!obj || typeof obj !== 'object' || !symToString) {
2556
+ return false;
2557
+ }
2558
+ try {
2559
+ symToString.call(obj);
2560
+ return true;
2561
+ } catch (e) {}
2562
+ return false;
2563
+ }
2564
+
2565
+ function isBigInt(obj) {
2566
+ if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
2567
+ return false;
2568
+ }
2569
+ try {
2570
+ bigIntValueOf.call(obj);
2571
+ return true;
2572
+ } catch (e) {}
2573
+ return false;
2574
+ }
2575
+
2576
+ var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
2577
+ function has$1(obj, key) {
2578
+ return hasOwn.call(obj, key);
2579
+ }
2580
+
2581
+ function toStr(obj) {
2582
+ return objectToString.call(obj);
2583
+ }
2584
+
2585
+ function nameOf(f) {
2586
+ if (f.name) { return f.name; }
2587
+ var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
2588
+ if (m) { return m[1]; }
2589
+ return null;
2590
+ }
2591
+
2592
+ function indexOf(xs, x) {
2593
+ if (xs.indexOf) { return xs.indexOf(x); }
2594
+ for (var i = 0, l = xs.length; i < l; i++) {
2595
+ if (xs[i] === x) { return i; }
2596
+ }
2597
+ return -1;
2598
+ }
2599
+
2600
+ function isMap(x) {
2601
+ if (!mapSize || !x || typeof x !== 'object') {
2602
+ return false;
2603
+ }
2604
+ try {
2605
+ mapSize.call(x);
2606
+ try {
2607
+ setSize.call(x);
2608
+ } catch (s) {
2609
+ return true;
2610
+ }
2611
+ return x instanceof Map; // core-js workaround, pre-v2.5.0
2612
+ } catch (e) {}
2613
+ return false;
2614
+ }
2615
+
2616
+ function isWeakMap(x) {
2617
+ if (!weakMapHas || !x || typeof x !== 'object') {
2618
+ return false;
2619
+ }
2620
+ try {
2621
+ weakMapHas.call(x, weakMapHas);
2622
+ try {
2623
+ weakSetHas.call(x, weakSetHas);
2624
+ } catch (s) {
2625
+ return true;
2626
+ }
2627
+ return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
2628
+ } catch (e) {}
2629
+ return false;
2630
+ }
2631
+
2632
+ function isWeakRef(x) {
2633
+ if (!weakRefDeref || !x || typeof x !== 'object') {
2634
+ return false;
2635
+ }
2636
+ try {
2637
+ weakRefDeref.call(x);
2638
+ return true;
2639
+ } catch (e) {}
2640
+ return false;
2641
+ }
2642
+
2643
+ function isSet(x) {
2644
+ if (!setSize || !x || typeof x !== 'object') {
2645
+ return false;
2646
+ }
2647
+ try {
2648
+ setSize.call(x);
2649
+ try {
2650
+ mapSize.call(x);
2651
+ } catch (m) {
2652
+ return true;
2653
+ }
2654
+ return x instanceof Set; // core-js workaround, pre-v2.5.0
2655
+ } catch (e) {}
2656
+ return false;
2657
+ }
2658
+
2659
+ function isWeakSet(x) {
2660
+ if (!weakSetHas || !x || typeof x !== 'object') {
2661
+ return false;
2662
+ }
2663
+ try {
2664
+ weakSetHas.call(x, weakSetHas);
2665
+ try {
2666
+ weakMapHas.call(x, weakMapHas);
2667
+ } catch (s) {
2668
+ return true;
2669
+ }
2670
+ return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
2671
+ } catch (e) {}
2672
+ return false;
2673
+ }
2674
+
2675
+ function isElement(x) {
2676
+ if (!x || typeof x !== 'object') { return false; }
2677
+ if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
2678
+ return true;
2679
+ }
2680
+ return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
2681
+ }
2682
+
2683
+ function inspectString(str, opts) {
2684
+ if (str.length > opts.maxStringLength) {
2685
+ var remaining = str.length - opts.maxStringLength;
2686
+ var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
2687
+ return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
2688
+ }
2689
+ // eslint-disable-next-line no-control-regex
2690
+ var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
2691
+ return wrapQuotes(s, 'single', opts);
2692
+ }
2693
+
2694
+ function lowbyte(c) {
2695
+ var n = c.charCodeAt(0);
2696
+ var x = {
2697
+ 8: 'b',
2698
+ 9: 't',
2699
+ 10: 'n',
2700
+ 12: 'f',
2701
+ 13: 'r'
2702
+ }[n];
2703
+ if (x) { return '\\' + x; }
2704
+ return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
2705
+ }
2706
+
2707
+ function markBoxed(str) {
2708
+ return 'Object(' + str + ')';
2709
+ }
2710
+
2711
+ function weakCollectionOf(type) {
2712
+ return type + ' { ? }';
2713
+ }
2714
+
2715
+ function collectionOf(type, size, entries, indent) {
2716
+ var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
2717
+ return type + ' (' + size + ') {' + joinedEntries + '}';
2718
+ }
2719
+
2720
+ function singleLineValues(xs) {
2721
+ for (var i = 0; i < xs.length; i++) {
2722
+ if (indexOf(xs[i], '\n') >= 0) {
2723
+ return false;
2724
+ }
2725
+ }
2726
+ return true;
2727
+ }
2728
+
2729
+ function getIndent(opts, depth) {
2730
+ var baseIndent;
2731
+ if (opts.indent === '\t') {
2732
+ baseIndent = '\t';
2733
+ } else if (typeof opts.indent === 'number' && opts.indent > 0) {
2734
+ baseIndent = $join.call(Array(opts.indent + 1), ' ');
2735
+ } else {
2736
+ return null;
2737
+ }
2738
+ return {
2739
+ base: baseIndent,
2740
+ prev: $join.call(Array(depth + 1), baseIndent)
2741
+ };
2742
+ }
2743
+
2744
+ function indentedJoin(xs, indent) {
2745
+ if (xs.length === 0) { return ''; }
2746
+ var lineJoiner = '\n' + indent.prev + indent.base;
2747
+ return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
2748
+ }
2749
+
2750
+ function arrObjKeys(obj, inspect) {
2751
+ var isArr = isArray$1(obj);
2752
+ var xs = [];
2753
+ if (isArr) {
2754
+ xs.length = obj.length;
2755
+ for (var i = 0; i < obj.length; i++) {
2756
+ xs[i] = has$1(obj, i) ? inspect(obj[i], obj) : '';
2757
+ }
2758
+ }
2759
+ var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
2760
+ var symMap;
2761
+ if (hasShammedSymbols) {
2762
+ symMap = {};
2763
+ for (var k = 0; k < syms.length; k++) {
2764
+ symMap['$' + syms[k]] = syms[k];
2765
+ }
2766
+ }
2767
+
2768
+ for (var key in obj) { // eslint-disable-line no-restricted-syntax
2769
+ if (!has$1(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2770
+ if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
2771
+ if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
2772
+ // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
2773
+ continue; // eslint-disable-line no-restricted-syntax, no-continue
2774
+ } else if ($test.call(/[^\w$]/, key)) {
2775
+ xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
2776
+ } else {
2777
+ xs.push(key + ': ' + inspect(obj[key], obj));
2778
+ }
2779
+ }
2780
+ if (typeof gOPS === 'function') {
2781
+ for (var j = 0; j < syms.length; j++) {
2782
+ if (isEnumerable.call(obj, syms[j])) {
2783
+ xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
2784
+ }
2785
+ }
2786
+ }
2787
+ return xs;
2788
+ }
2789
+
2790
+ var $TypeError = getIntrinsic('%TypeError%');
2791
+ var $WeakMap = getIntrinsic('%WeakMap%', true);
2792
+ var $Map = getIntrinsic('%Map%', true);
2793
+
2794
+ var $weakMapGet = callBound('WeakMap.prototype.get', true);
2795
+ var $weakMapSet = callBound('WeakMap.prototype.set', true);
2796
+ var $weakMapHas = callBound('WeakMap.prototype.has', true);
2797
+ var $mapGet = callBound('Map.prototype.get', true);
2798
+ var $mapSet = callBound('Map.prototype.set', true);
2799
+ var $mapHas = callBound('Map.prototype.has', true);
2800
+
2801
+ /*
2802
+ * This function traverses the list returning the node corresponding to the
2803
+ * given key.
2804
+ *
2805
+ * That node is also moved to the head of the list, so that if it's accessed
2806
+ * again we don't need to traverse the whole list. By doing so, all the recently
2807
+ * used nodes can be accessed relatively quickly.
2808
+ */
2809
+ var listGetNode = function (list, key) { // eslint-disable-line consistent-return
2810
+ for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
2811
+ if (curr.key === key) {
2812
+ prev.next = curr.next;
2813
+ curr.next = list.next;
2814
+ list.next = curr; // eslint-disable-line no-param-reassign
2815
+ return curr;
2816
+ }
2817
+ }
2818
+ };
2819
+
2820
+ var listGet = function (objects, key) {
2821
+ var node = listGetNode(objects, key);
2822
+ return node && node.value;
2823
+ };
2824
+ var listSet = function (objects, key, value) {
2825
+ var node = listGetNode(objects, key);
2826
+ if (node) {
2827
+ node.value = value;
2828
+ } else {
2829
+ // Prepend the new node to the beginning of the list
2830
+ objects.next = { // eslint-disable-line no-param-reassign
2831
+ key: key,
2832
+ next: objects.next,
2833
+ value: value
2834
+ };
2835
+ }
2836
+ };
2837
+ var listHas = function (objects, key) {
2838
+ return !!listGetNode(objects, key);
2839
+ };
2840
+
2841
+ var sideChannel = function getSideChannel() {
2842
+ var $wm;
2843
+ var $m;
2844
+ var $o;
2845
+ var channel = {
2846
+ assert: function (key) {
2847
+ if (!channel.has(key)) {
2848
+ throw new $TypeError('Side channel does not contain ' + objectInspect(key));
2849
+ }
2850
+ },
2851
+ get: function (key) { // eslint-disable-line consistent-return
2852
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
2853
+ if ($wm) {
2854
+ return $weakMapGet($wm, key);
2855
+ }
2856
+ } else if ($Map) {
2857
+ if ($m) {
2858
+ return $mapGet($m, key);
2859
+ }
2860
+ } else {
2861
+ if ($o) { // eslint-disable-line no-lonely-if
2862
+ return listGet($o, key);
2863
+ }
2864
+ }
2865
+ },
2866
+ has: function (key) {
2867
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
2868
+ if ($wm) {
2869
+ return $weakMapHas($wm, key);
2870
+ }
2871
+ } else if ($Map) {
2872
+ if ($m) {
2873
+ return $mapHas($m, key);
2874
+ }
2875
+ } else {
2876
+ if ($o) { // eslint-disable-line no-lonely-if
2877
+ return listHas($o, key);
2878
+ }
2879
+ }
2880
+ return false;
2881
+ },
2882
+ set: function (key, value) {
2883
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
2884
+ if (!$wm) {
2885
+ $wm = new $WeakMap();
2886
+ }
2887
+ $weakMapSet($wm, key, value);
2888
+ } else if ($Map) {
2889
+ if (!$m) {
2890
+ $m = new $Map();
2891
+ }
2892
+ $mapSet($m, key, value);
2893
+ } else {
2894
+ if (!$o) {
2895
+ /*
2896
+ * Initialize the linked list as an empty node, so that we don't have
2897
+ * to special-case handling of the first node: we can always refer to
2898
+ * it as (previous node).next, instead of something like (list).head
2899
+ */
2900
+ $o = { key: {}, next: null };
2901
+ }
2902
+ listSet($o, key, value);
2903
+ }
2904
+ }
2905
+ };
2906
+ return channel;
2907
+ };
2908
+
2909
+ var replace = String.prototype.replace;
2910
+ var percentTwenties = /%20/g;
2911
+
2912
+ var Format = {
2913
+ RFC1738: 'RFC1738',
2914
+ RFC3986: 'RFC3986'
2915
+ };
2916
+
2917
+ var formats = {
2918
+ 'default': Format.RFC3986,
2919
+ formatters: {
2920
+ RFC1738: function (value) {
2921
+ return replace.call(value, percentTwenties, '+');
2922
+ },
2923
+ RFC3986: function (value) {
2924
+ return String(value);
2925
+ }
2926
+ },
2927
+ RFC1738: Format.RFC1738,
2928
+ RFC3986: Format.RFC3986
2929
+ };
2930
+
2931
+ var has = Object.prototype.hasOwnProperty;
2932
+ var isArray = Array.isArray;
2933
+
2934
+ var hexTable = (function () {
2935
+ var array = [];
2936
+ for (var i = 0; i < 256; ++i) {
2937
+ array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
2938
+ }
2939
+
2940
+ return array;
2941
+ }());
2942
+
2943
+ var compactQueue = function compactQueue(queue) {
2944
+ while (queue.length > 1) {
2945
+ var item = queue.pop();
2946
+ var obj = item.obj[item.prop];
2947
+
2948
+ if (isArray(obj)) {
2949
+ var compacted = [];
2950
+
2951
+ for (var j = 0; j < obj.length; ++j) {
2952
+ if (typeof obj[j] !== 'undefined') {
2953
+ compacted.push(obj[j]);
2954
+ }
2955
+ }
2956
+
2957
+ item.obj[item.prop] = compacted;
2958
+ }
2959
+ }
2960
+ };
2961
+
2962
+ var arrayToObject = function arrayToObject(source, options) {
2963
+ var obj = options && options.plainObjects ? Object.create(null) : {};
2964
+ for (var i = 0; i < source.length; ++i) {
2965
+ if (typeof source[i] !== 'undefined') {
2966
+ obj[i] = source[i];
2967
+ }
2968
+ }
2969
+
2970
+ return obj;
2971
+ };
2972
+
2973
+ var merge = function merge(target, source, options) {
2974
+ /* eslint no-param-reassign: 0 */
2975
+ if (!source) {
2976
+ return target;
2977
+ }
2978
+
2979
+ if (typeof source !== 'object') {
2980
+ if (isArray(target)) {
2981
+ target.push(source);
2982
+ } else if (target && typeof target === 'object') {
2983
+ if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
2984
+ target[source] = true;
2985
+ }
2986
+ } else {
2987
+ return [target, source];
2988
+ }
2989
+
2990
+ return target;
2991
+ }
2992
+
2993
+ if (!target || typeof target !== 'object') {
2994
+ return [target].concat(source);
2995
+ }
2996
+
2997
+ var mergeTarget = target;
2998
+ if (isArray(target) && !isArray(source)) {
2999
+ mergeTarget = arrayToObject(target, options);
3000
+ }
3001
+
3002
+ if (isArray(target) && isArray(source)) {
3003
+ source.forEach(function (item, i) {
3004
+ if (has.call(target, i)) {
3005
+ var targetItem = target[i];
3006
+ if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
3007
+ target[i] = merge(targetItem, item, options);
3008
+ } else {
3009
+ target.push(item);
3010
+ }
3011
+ } else {
3012
+ target[i] = item;
3013
+ }
3014
+ });
3015
+ return target;
3016
+ }
3017
+
3018
+ return Object.keys(source).reduce(function (acc, key) {
3019
+ var value = source[key];
3020
+
3021
+ if (has.call(acc, key)) {
3022
+ acc[key] = merge(acc[key], value, options);
3023
+ } else {
3024
+ acc[key] = value;
3025
+ }
3026
+ return acc;
3027
+ }, mergeTarget);
3028
+ };
3029
+
3030
+ var assign = function assignSingleSource(target, source) {
3031
+ return Object.keys(source).reduce(function (acc, key) {
3032
+ acc[key] = source[key];
3033
+ return acc;
3034
+ }, target);
3035
+ };
3036
+
3037
+ var decode = function (str, decoder, charset) {
3038
+ var strWithoutPlus = str.replace(/\+/g, ' ');
3039
+ if (charset === 'iso-8859-1') {
3040
+ // unescape never throws, no try...catch needed:
3041
+ return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
3042
+ }
3043
+ // utf-8
3044
+ try {
3045
+ return decodeURIComponent(strWithoutPlus);
3046
+ } catch (e) {
3047
+ return strWithoutPlus;
3048
+ }
3049
+ };
3050
+
3051
+ var encode = function encode(str, defaultEncoder, charset, kind, format) {
3052
+ // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
3053
+ // It has been adapted here for stricter adherence to RFC 3986
3054
+ if (str.length === 0) {
3055
+ return str;
3056
+ }
3057
+
3058
+ var string = str;
3059
+ if (typeof str === 'symbol') {
3060
+ string = Symbol.prototype.toString.call(str);
3061
+ } else if (typeof str !== 'string') {
3062
+ string = String(str);
3063
+ }
3064
+
3065
+ if (charset === 'iso-8859-1') {
3066
+ return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
3067
+ return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
3068
+ });
3069
+ }
3070
+
3071
+ var out = '';
3072
+ for (var i = 0; i < string.length; ++i) {
3073
+ var c = string.charCodeAt(i);
3074
+
3075
+ if (
3076
+ c === 0x2D // -
3077
+ || c === 0x2E // .
3078
+ || c === 0x5F // _
3079
+ || c === 0x7E // ~
3080
+ || (c >= 0x30 && c <= 0x39) // 0-9
3081
+ || (c >= 0x41 && c <= 0x5A) // a-z
3082
+ || (c >= 0x61 && c <= 0x7A) // A-Z
3083
+ || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
3084
+ ) {
3085
+ out += string.charAt(i);
3086
+ continue;
3087
+ }
3088
+
3089
+ if (c < 0x80) {
3090
+ out = out + hexTable[c];
3091
+ continue;
3092
+ }
3093
+
3094
+ if (c < 0x800) {
3095
+ out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
3096
+ continue;
3097
+ }
3098
+
3099
+ if (c < 0xD800 || c >= 0xE000) {
3100
+ out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
3101
+ continue;
3102
+ }
3103
+
3104
+ i += 1;
3105
+ c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
3106
+ /* eslint operator-linebreak: [2, "before"] */
3107
+ out += hexTable[0xF0 | (c >> 18)]
3108
+ + hexTable[0x80 | ((c >> 12) & 0x3F)]
3109
+ + hexTable[0x80 | ((c >> 6) & 0x3F)]
3110
+ + hexTable[0x80 | (c & 0x3F)];
3111
+ }
3112
+
3113
+ return out;
3114
+ };
3115
+
3116
+ var compact = function compact(value) {
3117
+ var queue = [{ obj: { o: value }, prop: 'o' }];
3118
+ var refs = [];
3119
+
3120
+ for (var i = 0; i < queue.length; ++i) {
3121
+ var item = queue[i];
3122
+ var obj = item.obj[item.prop];
3123
+
3124
+ var keys = Object.keys(obj);
3125
+ for (var j = 0; j < keys.length; ++j) {
3126
+ var key = keys[j];
3127
+ var val = obj[key];
3128
+ if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
3129
+ queue.push({ obj: obj, prop: key });
3130
+ refs.push(val);
3131
+ }
3132
+ }
3133
+ }
3134
+
3135
+ compactQueue(queue);
3136
+
3137
+ return value;
3138
+ };
3139
+
3140
+ var isRegExp = function isRegExp(obj) {
3141
+ return Object.prototype.toString.call(obj) === '[object RegExp]';
3142
+ };
3143
+
3144
+ var isBuffer = function isBuffer(obj) {
3145
+ if (!obj || typeof obj !== 'object') {
3146
+ return false;
3147
+ }
3148
+
3149
+ return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
3150
+ };
3151
+
3152
+ var combine = function combine(a, b) {
3153
+ return [].concat(a, b);
3154
+ };
3155
+
3156
+ var maybeMap = function maybeMap(val, fn) {
3157
+ if (isArray(val)) {
3158
+ var mapped = [];
3159
+ for (var i = 0; i < val.length; i += 1) {
3160
+ mapped.push(fn(val[i]));
3161
+ }
3162
+ return mapped;
3163
+ }
3164
+ return fn(val);
3165
+ };
3166
+
3167
+ var utils = {
3168
+ arrayToObject: arrayToObject,
3169
+ assign: assign,
3170
+ combine: combine,
3171
+ compact: compact,
3172
+ decode: decode,
3173
+ encode: encode,
3174
+ isBuffer: isBuffer,
3175
+ isRegExp: isRegExp,
3176
+ maybeMap: maybeMap,
3177
+ merge: merge
3178
+ };
3179
+
3180
+ const appendToMap = (map, propName, value) => {
3181
+ const items = map.get(propName);
3182
+ if (!items) {
3183
+ map.set(propName, [value]);
3184
+ }
3185
+ else if (!items.includes(value)) {
3186
+ items.push(value);
3187
+ }
3188
+ };
3189
+ const debounce = (fn, ms) => {
3190
+ let timeoutId;
3191
+ return (...args) => {
3192
+ if (timeoutId) {
3193
+ clearTimeout(timeoutId);
3194
+ }
3195
+ timeoutId = setTimeout(() => {
3196
+ timeoutId = 0;
3197
+ fn(...args);
3198
+ }, ms);
3199
+ };
3200
+ };
3201
+
3202
+ /**
3203
+ * Check if a possible element isConnected.
3204
+ * The property might not be there, so we check for it.
3205
+ *
3206
+ * We want it to return true if isConnected is not a property,
3207
+ * otherwise we would remove these elements and would not update.
3208
+ *
3209
+ * Better leak in Edge than to be useless.
3210
+ */
3211
+ const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
3212
+ const cleanupElements = debounce((map) => {
3213
+ for (let key of map.keys()) {
3214
+ map.set(key, map.get(key).filter(isConnected));
3215
+ }
3216
+ }, 2000);
3217
+ const stencilSubscription = () => {
3218
+ if (typeof getRenderingRef !== 'function') {
3219
+ // If we are not in a stencil project, we do nothing.
3220
+ // This function is not really exported by @stencil/core.
3221
+ return {};
3222
+ }
3223
+ const elmsToUpdate = new Map();
3224
+ return {
3225
+ dispose: () => elmsToUpdate.clear(),
3226
+ get: (propName) => {
3227
+ const elm = getRenderingRef();
3228
+ if (elm) {
3229
+ appendToMap(elmsToUpdate, propName, elm);
3230
+ }
3231
+ },
3232
+ set: (propName) => {
3233
+ const elements = elmsToUpdate.get(propName);
3234
+ if (elements) {
3235
+ elmsToUpdate.set(propName, elements.filter(forceUpdate));
3236
+ }
3237
+ cleanupElements(elmsToUpdate);
3238
+ },
3239
+ reset: () => {
3240
+ elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));
3241
+ cleanupElements(elmsToUpdate);
3242
+ },
3243
+ };
3244
+ };
3245
+
3246
+ const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
3247
+ let states = new Map(Object.entries(defaultState !== null && defaultState !== void 0 ? defaultState : {}));
3248
+ const handlers = {
3249
+ dispose: [],
3250
+ get: [],
3251
+ set: [],
3252
+ reset: [],
3253
+ };
3254
+ const reset = () => {
3255
+ states = new Map(Object.entries(defaultState !== null && defaultState !== void 0 ? defaultState : {}));
3256
+ handlers.reset.forEach((cb) => cb());
3257
+ };
3258
+ const dispose = () => {
3259
+ // Call first dispose as resetting the state would
3260
+ // cause less updates ;)
3261
+ handlers.dispose.forEach((cb) => cb());
3262
+ reset();
3263
+ };
3264
+ const get = (propName) => {
3265
+ handlers.get.forEach((cb) => cb(propName));
3266
+ return states.get(propName);
3267
+ };
3268
+ const set = (propName, value) => {
3269
+ const oldValue = states.get(propName);
3270
+ if (shouldUpdate(value, oldValue, propName)) {
3271
+ states.set(propName, value);
3272
+ handlers.set.forEach((cb) => cb(propName, value, oldValue));
3273
+ }
3274
+ };
3275
+ const state = (typeof Proxy === 'undefined'
3276
+ ? {}
3277
+ : new Proxy(defaultState, {
3278
+ get(_, propName) {
3279
+ return get(propName);
3280
+ },
3281
+ ownKeys(_) {
3282
+ return Array.from(states.keys());
3283
+ },
3284
+ getOwnPropertyDescriptor() {
3285
+ return {
3286
+ enumerable: true,
3287
+ configurable: true,
3288
+ };
3289
+ },
3290
+ has(_, propName) {
3291
+ return states.has(propName);
3292
+ },
3293
+ set(_, propName, value) {
3294
+ set(propName, value);
3295
+ return true;
3296
+ },
3297
+ }));
3298
+ const on = (eventName, callback) => {
3299
+ handlers[eventName].push(callback);
3300
+ return () => {
3301
+ removeFromArray(handlers[eventName], callback);
3302
+ };
3303
+ };
3304
+ const onChange = (propName, cb) => {
3305
+ const unSet = on('set', (key, newValue) => {
3306
+ if (key === propName) {
3307
+ cb(newValue);
3308
+ }
3309
+ });
3310
+ const unReset = on('reset', () => cb(defaultState[propName]));
3311
+ return () => {
3312
+ unSet();
3313
+ unReset();
3314
+ };
3315
+ };
3316
+ const use = (...subscriptions) => {
3317
+ const unsubs = subscriptions.reduce((unsubs, subscription) => {
3318
+ if (subscription.set) {
3319
+ unsubs.push(on('set', subscription.set));
3320
+ }
3321
+ if (subscription.get) {
3322
+ unsubs.push(on('get', subscription.get));
3323
+ }
3324
+ if (subscription.reset) {
3325
+ unsubs.push(on('reset', subscription.reset));
3326
+ }
3327
+ if (subscription.dispose) {
3328
+ unsubs.push(on('dispose', subscription.dispose));
3329
+ }
3330
+ return unsubs;
3331
+ }, []);
3332
+ return () => unsubs.forEach((unsub) => unsub());
3333
+ };
3334
+ const forceUpdate = (key) => {
3335
+ const oldValue = states.get(key);
3336
+ handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
3337
+ };
3338
+ return {
3339
+ state,
3340
+ get,
3341
+ set,
3342
+ on,
3343
+ onChange,
3344
+ use,
3345
+ dispose,
3346
+ reset,
3347
+ forceUpdate,
3348
+ };
3349
+ };
3350
+ const removeFromArray = (array, item) => {
3351
+ const index = array.indexOf(item);
3352
+ if (index >= 0) {
3353
+ array[index] = array[array.length - 1];
3354
+ array.length--;
3355
+ }
3356
+ };
3357
+
3358
+ const createStore = (defaultState, shouldUpdate) => {
3359
+ const map = createObservableMap(defaultState, shouldUpdate);
3360
+ map.use(stencilSubscription());
3361
+ return map;
3362
+ };
3363
+
3364
+ const { state: state$1, onChange: onChange$1, reset: reset$1 } = createStore({
3365
+ toc: undefined,
3366
+ });
3367
+ const TocStore = { state: state$1, onChange: onChange$1, reset: reset$1 };
3368
+
3369
+ const { state, onChange, reset } = createStore({
3370
+ authUser: null,
3371
+ bearer: 'Bearer ',
3372
+ isAuthenticated: false,
3373
+ loading: false
3374
+ });
3375
+ onChange('authUser', (authUser) => {
3376
+ state.bearer = `Bearer ${authUser ? authUser.JWToken : ''}`;
3377
+ state.isAuthenticated = authUser && !!authUser.Id;
3378
+ });
3379
+ const AuthStore = { state, onChange, reset };
3380
+
3381
+ export { AuthStore as A, TocStore as T, axios_1 as a, commonjsGlobal as b, createCommonjsModule as c, createStore as d, formats as f, getDefaultExportFromCjs as g, sideChannel as s, utils as u };