@mjhls/mjh-framework 1.0.985 → 1.0.986-article-rec

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 (264) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +2 -1
  4. package/dist/cjs/AD300x250x600.js +2 -1
  5. package/dist/cjs/AD728x90.js +2 -1
  6. package/dist/cjs/ADFloatingFooter.js +2 -1
  7. package/dist/cjs/ADGutter.js +2 -1
  8. package/dist/cjs/ADSkyscraper.js +2 -1
  9. package/dist/cjs/ADSponsoredResources.js +2 -1
  10. package/dist/cjs/ADWebcast.js +2 -1
  11. package/dist/cjs/ADWelcome.js +2 -1
  12. package/dist/cjs/AdSlot.js +2 -1
  13. package/dist/cjs/AdSlotsProvider.js +2 -1
  14. package/dist/cjs/AlgoliaSearch.js +14289 -18
  15. package/dist/cjs/ArticleCarousel.js +1 -1
  16. package/dist/cjs/ArticleProgramLandingPage.js +7 -6
  17. package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
  18. package/dist/cjs/ArticleSeriesListing.js +3 -2
  19. package/dist/cjs/Auth.js +21 -18
  20. package/dist/cjs/AuthWrapper.js +1476 -294
  21. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-9ebd251f.js} +1 -1
  22. package/dist/cjs/CMEDeck.js +7 -2
  23. package/dist/cjs/Column1.js +1 -1
  24. package/dist/cjs/Column2.js +1 -1
  25. package/dist/cjs/Column3.js +3 -2
  26. package/dist/cjs/ConferenceArticleCard.js +16 -16
  27. package/dist/cjs/ContentCardPaginated.js +6 -6
  28. package/dist/cjs/DeckContent.js +13 -12
  29. package/dist/cjs/DeckQueue.js +4 -3
  30. package/dist/cjs/DeckQueuePaginated.js +5 -5
  31. package/dist/cjs/{Dfp-94f8ccdf.js → Dfp-9be904d5.js} +3 -2
  32. package/dist/cjs/EventsDeck.js +17 -17
  33. package/dist/cjs/ExternalResources.js +7 -6
  34. package/dist/cjs/Feature.js +1 -1
  35. package/dist/cjs/ForbesHero.js +1 -1
  36. package/dist/cjs/GridContent.js +7 -6
  37. package/dist/cjs/GridContentPaginated.js +8 -8
  38. package/dist/cjs/GridHero.js +2 -2
  39. package/dist/cjs/GroupDeck.js +1 -1
  40. package/dist/cjs/HamMagazine.js +10 -10
  41. package/dist/cjs/Header.js +1 -1
  42. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  43. package/dist/cjs/Hero.js +2 -2
  44. package/dist/cjs/HorizontalArticleListing.js +7 -6
  45. package/dist/cjs/HorizontalHero.js +1 -1
  46. package/dist/cjs/ImageSlider-6c00b878.js +2813 -0
  47. package/dist/cjs/IssueContentDeck.js +1 -1
  48. package/dist/cjs/IssueDeck.js +1 -1
  49. package/dist/cjs/IssueLanding.js +38 -37
  50. package/dist/cjs/KMTracker.js +15 -15
  51. package/dist/cjs/LeftNav.js +3 -2
  52. package/dist/cjs/MasterDeck.js +13 -12
  53. package/dist/cjs/MasterDeckPaginated.js +13 -13
  54. package/dist/cjs/{MediaSeriesCard-64f3487c.js → MediaSeriesCard-1b1bd850.js} +458 -433
  55. package/dist/cjs/MediaSeriesLanding.js +17 -15
  56. package/dist/cjs/MediaSeriesLandingPaginated.js +18 -17
  57. package/dist/cjs/NavDvm.js +1 -1
  58. package/dist/cjs/NavMagazine.js +11 -11
  59. package/dist/cjs/NavNative.js +10 -10
  60. package/dist/cjs/OncliveHero.js +1 -1
  61. package/dist/cjs/OncliveLargeHero.js +2 -2
  62. package/dist/cjs/Pagination-2a3d0103.js +97 -0
  63. package/dist/cjs/PartnerDetailListing.js +13 -12
  64. package/dist/cjs/PartnerDetailListingPaginated.js +14 -14
  65. package/dist/cjs/PubSection.js +6 -5
  66. package/dist/cjs/PublicationDeck.js +1 -1
  67. package/dist/cjs/PublicationLanding.js +30 -26
  68. package/dist/cjs/QueueDeckExpanded.js +6 -5
  69. package/dist/cjs/QueueDeckExpandedPaginated.js +7 -7
  70. package/dist/cjs/RelatedContent.js +29 -29
  71. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  72. package/dist/cjs/Schema.js +1 -1
  73. package/dist/cjs/Segment.js +49 -0
  74. package/dist/cjs/SeriesListingDeck.js +4 -3
  75. package/dist/cjs/{SeriesSlider-b94f1dd5.js → SeriesSlider-594b19eb.js} +4 -4
  76. package/dist/cjs/SideFooter.js +2 -2
  77. package/dist/cjs/TaxonomyCard.js +2 -2
  78. package/dist/cjs/TaxonomyDescription.js +7 -6
  79. package/dist/cjs/TemplateNormal.js +2 -1
  80. package/dist/cjs/ThumbnailCard.js +2 -2
  81. package/dist/cjs/VerticalHero.js +1 -1
  82. package/dist/cjs/VideoProgramLandingPage.js +7 -6
  83. package/dist/cjs/VideoSeriesCard.js +2 -2
  84. package/dist/cjs/VideoSeriesLandingPage.js +5 -4
  85. package/dist/cjs/VideoSeriesListing.js +3 -2
  86. package/dist/cjs/View.js +161 -69
  87. package/dist/cjs/YahooHero.js +2 -2
  88. package/dist/cjs/YoutubeGroup.js +5 -5
  89. package/dist/cjs/defineProperty-e0fb52c5.js +73 -0
  90. package/dist/cjs/{entities-3f9d0f2f.js → entities-df1aed86.js} +4 -0
  91. package/dist/cjs/events-1b438fe7.js +469 -0
  92. package/dist/cjs/getRelatedArticle.js +2 -2
  93. package/dist/cjs/getSerializers.js +7 -6
  94. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  95. package/dist/cjs/getTargeting.js +1 -1
  96. package/dist/cjs/index-50be6759.js +105 -0
  97. package/dist/cjs/{index-803853cf.js → index-c5778fcd.js} +6 -4
  98. package/dist/cjs/{index-efca863c.js → index-d48b231c.js} +5 -5
  99. package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
  100. package/dist/cjs/index.js +16 -15
  101. package/dist/cjs/typeof-1358762e.js +33 -0
  102. package/dist/cjs/urlFor.js +1 -1
  103. package/dist/cjs/ustream-api-3819e4aa.js +1 -1
  104. package/dist/cjs/{util-6f784d85.js → util-93a37fd0.js} +11 -0
  105. package/dist/esm/AD.js +2 -2
  106. package/dist/esm/AD300x250.js +10 -9
  107. package/dist/esm/AD300x250x600.js +10 -9
  108. package/dist/esm/AD728x90.js +10 -9
  109. package/dist/esm/ADFloatingFooter.js +10 -9
  110. package/dist/esm/ADFooter.js +4 -4
  111. package/dist/esm/ADGutter.js +10 -9
  112. package/dist/esm/{ADInfeed-f684cac9.js → ADInfeed-5765a73a.js} +1 -1
  113. package/dist/esm/ADSkyscraper.js +10 -9
  114. package/dist/esm/ADSponsoredResources.js +10 -9
  115. package/dist/esm/ADWebcast.js +10 -9
  116. package/dist/esm/ADWelcome.js +10 -9
  117. package/dist/esm/{ADlgInfeed-8c438cee.js → ADlgInfeed-5e36f317.js} +1 -1
  118. package/dist/esm/AccordionPanel.js +4 -4
  119. package/dist/esm/AdSlot.js +10 -9
  120. package/dist/esm/AdSlotsProvider.js +8 -7
  121. package/dist/esm/AlgoliaSearch.js +14290 -19
  122. package/dist/esm/AlphabeticList.js +7 -7
  123. package/dist/esm/ArticleCarousel.js +6 -6
  124. package/dist/esm/ArticleProgramLandingPage.js +23 -22
  125. package/dist/esm/ArticleSeriesLandingPage.js +19 -18
  126. package/dist/esm/ArticleSeriesListing.js +13 -12
  127. package/dist/esm/Auth.js +29 -27
  128. package/dist/esm/AuthWrapper.js +1474 -292
  129. package/dist/esm/{AuthorComponent-defe68b6.js → AuthorComponent-11adff02.js} +1 -1
  130. package/dist/esm/Beam.js +6 -6
  131. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-1e73bd2c.js} +1 -1
  132. package/dist/esm/Breadcrumbs.js +4 -4
  133. package/dist/esm/CMEDeck.js +15 -10
  134. package/dist/esm/Column1.js +1 -2
  135. package/dist/esm/Column2.js +7 -8
  136. package/dist/esm/Column3.js +12 -12
  137. package/dist/esm/ConferenceArticleCard.js +20 -20
  138. package/dist/esm/ContentCardPaginated.js +20 -20
  139. package/dist/esm/DeckContent.js +27 -26
  140. package/dist/esm/DeckQueue.js +16 -15
  141. package/dist/esm/DeckQueuePaginated.js +18 -18
  142. package/dist/esm/{Dfp-4b99f79d.js → Dfp-102f0beb.js} +6 -5
  143. package/dist/esm/EventsDeck.js +28 -28
  144. package/dist/esm/ExternalResources.js +23 -22
  145. package/dist/esm/Feature.js +5 -5
  146. package/dist/esm/ForbesHero.js +6 -6
  147. package/dist/esm/GridContent.js +22 -21
  148. package/dist/esm/GridContentPaginated.js +23 -23
  149. package/dist/esm/GridHero.js +7 -7
  150. package/dist/esm/GroupDeck.js +7 -7
  151. package/dist/esm/HamMagazine.js +16 -17
  152. package/dist/esm/Header.js +1 -2
  153. package/dist/esm/HealthCareProfessionalModal.js +2 -2
  154. package/dist/esm/Hero.js +6 -6
  155. package/dist/esm/HighlightenVideo.js +1 -1
  156. package/dist/esm/HorizontalArticleListing.js +23 -22
  157. package/dist/esm/HorizontalHero.js +5 -5
  158. package/dist/esm/ImageSlider-f84174cb.js +2804 -0
  159. package/dist/esm/IssueContentDeck.js +6 -6
  160. package/dist/esm/IssueDeck.js +8 -8
  161. package/dist/esm/IssueLanding.js +55 -54
  162. package/dist/esm/KMTracker.js +16 -16
  163. package/dist/esm/LeftNav.js +10 -10
  164. package/dist/esm/MasterDeck.js +27 -26
  165. package/dist/esm/MasterDeckPaginated.js +27 -27
  166. package/dist/esm/{MediaSeriesCard-a484aaa6.js → MediaSeriesCard-029542ab.js} +174 -149
  167. package/dist/esm/MediaSeriesLanding.js +33 -31
  168. package/dist/esm/MediaSeriesLandingPaginated.js +34 -33
  169. package/dist/esm/NavDvm.js +6 -7
  170. package/dist/esm/NavMagazine.js +17 -18
  171. package/dist/esm/NavNative.js +15 -16
  172. package/dist/esm/OncliveHero.js +5 -5
  173. package/dist/esm/OncliveLargeHero.js +7 -7
  174. package/dist/esm/PageFilter.js +4 -4
  175. package/dist/esm/Pagination-dc30727b.js +90 -0
  176. package/dist/esm/PartnerDetailListing.js +29 -28
  177. package/dist/esm/PartnerDetailListingPaginated.js +30 -30
  178. package/dist/esm/PdfDownload.js +1 -1
  179. package/dist/esm/PixelTracking.js +3 -3
  180. package/dist/esm/PopUpModal.js +4 -4
  181. package/dist/esm/PtceDeck.js +8 -8
  182. package/dist/esm/PubSection.js +16 -15
  183. package/dist/esm/PubToc.js +6 -6
  184. package/dist/esm/PublicationDeck.js +5 -5
  185. package/dist/esm/PublicationLanding.js +40 -36
  186. package/dist/esm/QueueDeckExpanded.js +16 -15
  187. package/dist/esm/QueueDeckExpandedPaginated.js +17 -17
  188. package/dist/esm/RecentNews.js +1 -1
  189. package/dist/esm/RelatedContent.js +33 -33
  190. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  191. package/dist/esm/RolesDeck.js +1 -1
  192. package/dist/esm/Schema.js +9 -9
  193. package/dist/esm/Search.js +4 -4
  194. package/dist/esm/Segment.js +54 -5
  195. package/dist/esm/SeriesListingDeck.js +11 -10
  196. package/dist/esm/{SeriesSlider-609f9d94.js → SeriesSlider-f771e20d.js} +5 -5
  197. package/dist/esm/SetCookie.js +1 -1
  198. package/dist/esm/SideFooter.js +9 -9
  199. package/dist/esm/SocialIcons.js +1 -1
  200. package/dist/esm/{SocialSearchComponent-1d8a9f59.js → SocialSearchComponent-4b56cd8c.js} +1 -1
  201. package/dist/esm/SocialShare.js +1 -1
  202. package/dist/esm/TaxonomyCard.js +7 -7
  203. package/dist/esm/TaxonomyDescription.js +23 -22
  204. package/dist/esm/TemplateNormal.js +13 -12
  205. package/dist/esm/ThumbnailCard.js +6 -6
  206. package/dist/esm/Ustream.js +7 -7
  207. package/dist/esm/VerticalHero.js +5 -5
  208. package/dist/esm/VideoProgramLandingPage.js +23 -22
  209. package/dist/esm/VideoSeriesCard.js +8 -8
  210. package/dist/esm/VideoSeriesFilter.js +6 -6
  211. package/dist/esm/VideoSeriesLandingPage.js +19 -18
  212. package/dist/esm/VideoSeriesListing.js +13 -12
  213. package/dist/esm/View.js +178 -85
  214. package/dist/esm/YahooHero.js +7 -7
  215. package/dist/esm/YoutubeGroup.js +9 -9
  216. package/dist/esm/{_is-array-893ab020.js → _is-array-8d21b9e3.js} +1 -1
  217. package/dist/esm/{_iter-detect-f089461c.js → _iter-detect-98db3b07.js} +1 -1
  218. package/dist/esm/{_object-sap-169d6272.js → _object-sap-7cee6f84.js} +1 -1
  219. package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-2300e51b.js} +1 -1
  220. package/dist/esm/{asyncToGenerator-9716ae8d.js → asyncToGenerator-958ef5fc.js} +3 -3
  221. package/dist/esm/{core.get-iterator-method-e903ff31.js → core.get-iterator-method-ea258bb1.js} +1 -1
  222. package/dist/esm/{define-property-99e66838.js → define-property-5f1bda73.js} +1 -1
  223. package/dist/esm/defineProperty-23a8f8cd.js +68 -0
  224. package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-8c30428f.js} +1 -1
  225. package/dist/esm/{entities-932b50cf.js → entities-6d9154b4.js} +4 -0
  226. package/dist/esm/events-6c3a7a63.js +467 -0
  227. package/dist/esm/{extends-dc6a71fd.js → extends-6d8e3924.js} +1 -1
  228. package/dist/esm/faundadb.js +4 -4
  229. package/dist/esm/getKeywords.js +1 -1
  230. package/dist/esm/getPtceActivities.js +4 -4
  231. package/dist/esm/getQuery.js +1 -1
  232. package/dist/esm/getRelatedArticle.js +8 -8
  233. package/dist/esm/getRootDocGroup.js +5 -5
  234. package/dist/esm/getSerializers.js +22 -21
  235. package/dist/esm/getSeriesDetail.js +1 -1
  236. package/dist/esm/{getTargeting-0cdf8983.js → getTargeting-42f9b439.js} +11 -11
  237. package/dist/esm/getTargeting.js +5 -5
  238. package/dist/esm/{index-0dbff1d1.js → index-3f5c03b2.js} +5 -5
  239. package/dist/esm/{index-f9d13c55.js → index-98646d5c.js} +16 -14
  240. package/dist/esm/index-98ca9cec.js +100 -0
  241. package/dist/esm/{index-5cc7b406.js → index-f0fc23eb.js} +1 -466
  242. package/dist/esm/index.js +35 -34
  243. package/dist/esm/{inherits-8a801a18.js → inherits-a6ba2ec4.js} +4 -4
  244. package/dist/esm/{keys-425c8ab0.js → keys-31dcdb31.js} +2 -2
  245. package/dist/esm/{slicedToArray-ca2c8b8d.js → slicedToArray-6ebcbfea.js} +2 -2
  246. package/dist/esm/{stringify-c21932b3.js → stringify-2b084bee.js} +2 -2
  247. package/dist/esm/timeDifferenceCalc.js +1 -1
  248. package/dist/esm/{toConsumableArray-7b1c0e23.js → toConsumableArray-f7074d7c.js} +2 -2
  249. package/dist/esm/typeof-2f07d0e8.js +30 -0
  250. package/dist/esm/{typeof-83d9eb10.js → typeof-e9fc0c5d.js} +3 -3
  251. package/dist/esm/urlFor.js +5 -5
  252. package/dist/esm/{urlForFile-413f5ddb.js → urlForFile-b69adffc.js} +1 -1
  253. package/dist/esm/{ustream-api-41166338.js → ustream-api-d3714624.js} +5 -5
  254. package/dist/esm/{util-3ab476bf.js → util-8ed16d48.js} +11 -0
  255. package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-ab4dea5c.js} +1 -1
  256. package/package.json +115 -115
  257. package/dist/cjs/ImageSlider-a7fb6218.js +0 -182
  258. package/dist/cjs/Pagination-1e0d5f1d.js +0 -90
  259. package/dist/esm/ImageSlider-eab2fe41.js +0 -176
  260. package/dist/esm/Pagination-cd21f8c2.js +0 -82
  261. /package/dist/cjs/{ADInfeed-cf54cb8a.js → ADInfeed-e87afe8a.js} +0 -0
  262. /package/dist/cjs/{ADlgInfeed-d06624d8.js → ADlgInfeed-b5a3d436.js} +0 -0
  263. /package/dist/cjs/{PublicationFeature-be5f3503.js → PublicationFeature-5ccf9b13.js} +0 -0
  264. /package/dist/esm/{PublicationFeature-03500094.js → PublicationFeature-d88e76b9.js} +0 -0
@@ -1,14 +1,14 @@
1
1
  import React__default from 'react';
2
2
  import { m as moment } from './moment-bc12cb97.js';
3
3
  import urlFor from './urlFor.js';
4
- import { c as clean_html_1 } from './entities-932b50cf.js';
5
- import { A as AuthorComponent } from './AuthorComponent-defe68b6.js';
4
+ import { c as clean_html_1 } from './entities-6d9154b4.js';
5
+ import { A as AuthorComponent } from './AuthorComponent-11adff02.js';
6
6
  import { L as LazyLoad } from './index-755f2cc2.js';
7
7
  import './_commonjsHelpers-0c4b6f40.js';
8
- import './slicedToArray-ca2c8b8d.js';
9
- import './web.dom.iterable-fdf034f5.js';
10
- import './core.get-iterator-method-e903ff31.js';
11
- import './index-0dbff1d1.js';
8
+ import './slicedToArray-6ebcbfea.js';
9
+ import './web.dom.iterable-ab4dea5c.js';
10
+ import './core.get-iterator-method-ea258bb1.js';
11
+ import './index-3f5c03b2.js';
12
12
  import 'react-dom';
13
13
  import 'prop-types';
14
14
 
@@ -117,4 +117,4 @@ var YahooHero = function YahooHero(props) {
117
117
  );
118
118
  };
119
119
 
120
- export default YahooHero;
120
+ export { YahooHero as default };
@@ -1,4 +1,4 @@
1
- import { _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
1
+ import { _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
2
2
  import React__default, { useRef, useState, useEffect } from 'react';
3
3
  import { g as getYoutubeId } from './index-c7e2ac95.js';
4
4
  import { L as LazyLoad } from './index-755f2cc2.js';
@@ -6,16 +6,16 @@ import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
6
6
  import urlFor from './urlFor.js';
7
7
  import { m as main_43, a as main_49, b as main_42 } from './main-1894c974.js';
8
8
  import './_commonjsHelpers-0c4b6f40.js';
9
- import './web.dom.iterable-fdf034f5.js';
10
- import './core.get-iterator-method-e903ff31.js';
9
+ import './web.dom.iterable-ab4dea5c.js';
10
+ import './core.get-iterator-method-ea258bb1.js';
11
11
  import 'react-dom';
12
12
  import 'prop-types';
13
- import './index-0dbff1d1.js';
13
+ import './index-3f5c03b2.js';
14
14
 
15
- /*
16
- GROQ query -
17
- accepts an array of title, URL
18
- `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
15
+ /*
16
+ GROQ query -
17
+ accepts an array of title, URL
18
+ `https://img.youtube.com/vi/${getYouTubeId(vid.url)}/hqdefault.jpg`
19
19
  */
20
20
 
21
21
  var YoutubeGroup = function YoutubeGroup(props) {
@@ -362,4 +362,4 @@ var YoutubeGroup = function YoutubeGroup(props) {
362
362
  );
363
363
  };
364
364
 
365
- export default YoutubeGroup;
365
+ export { YoutubeGroup as default };
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import { D as _uid, m as _fails, b as _isObject, B as _has, g as _objectDp, G as _cof } from './core.get-iterator-method-e903ff31.js';
2
+ import { D as _uid, c as _objectDp, m as _fails, b as _isObject, B as _has, G as _cof } from './core.get-iterator-method-ea258bb1.js';
3
3
 
4
4
  var _meta = createCommonjsModule(function (module) {
5
5
  var META = _uid('meta');
@@ -1,4 +1,4 @@
1
- import { v as _anObject, h as _wks, F as _iterators } from './core.get-iterator-method-e903ff31.js';
1
+ import { v as _anObject, h as _wks, F as _iterators } from './core.get-iterator-method-ea258bb1.js';
2
2
 
3
3
  // call something on iterator step with safe closing on error
4
4
 
@@ -1,4 +1,4 @@
1
- import { a as _core, _ as _export, m as _fails } from './core.get-iterator-method-e903ff31.js';
1
+ import { a as _core, _ as _export, m as _fails } from './core.get-iterator-method-ea258bb1.js';
2
2
 
3
3
  // most Object methods by ES6 should accept primitives
4
4
 
@@ -1,4 +1,4 @@
1
- import { y as _toIobject, t as _objectKeys, e as _descriptors } from './core.get-iterator-method-e903ff31.js';
1
+ import { y as _toIobject, t as _objectKeys, f as _descriptors } from './core.get-iterator-method-ea258bb1.js';
2
2
  import { a as _objectPie } from './_object-pie-133f504a.js';
3
3
 
4
4
  var isEnum = _objectPie.f;
@@ -1,8 +1,8 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { s as core_getIteratorMethod, d as _ctx, k as _toLength, v as _anObject, h as _wks, q as _aFunction, l as _global, G as _cof, H as _domCreate, I as _html, b as _isObject, n as _hide, a as _core, e as _descriptors, g as _objectDp, p as _classof, _ as _export, o as _setToStringTag } from './core.get-iterator-method-e903ff31.js';
3
- import './web.dom.iterable-fdf034f5.js';
2
+ import { s as core_getIteratorMethod, e as _ctx, k as _toLength, v as _anObject, h as _wks, q as _aFunction, l as _global, G as _cof, H as _domCreate, I as _html, b as _isObject, n as _hide, a as _core, f as _descriptors, c as _objectDp, p as _classof, _ as _export, o as _setToStringTag } from './core.get-iterator-method-ea258bb1.js';
3
+ import './web.dom.iterable-ab4dea5c.js';
4
4
  import { _ as _library } from './_library-528f1934.js';
5
- import { a as _isArrayIter, b as _iterCall, _ as _iterDetect } from './_iter-detect-f089461c.js';
5
+ import { a as _isArrayIter, b as _iterCall, _ as _iterDetect } from './_iter-detect-98db3b07.js';
6
6
 
7
7
  var runtime = createCommonjsModule(function (module) {
8
8
  /**
@@ -544,4 +544,4 @@ var core_getIteratorMethod = _core.getIteratorMethod = function (it) {
544
544
  || _iterators[_classof(it)];
545
545
  };
546
546
 
547
- export { _ie8DomDefine as A, _has as B, _shared as C, _uid as D, _redefine as E, _iterators as F, _cof as G, _domCreate as H, _html as I, _export as _, _core as a, _isObject as b, _objectCreate as c, _ctx as d, _descriptors as e, _iterDefine as f, _objectDp as g, _wks as h, _toObject as i, _iobject as j, _toLength as k, _global as l, _fails as m, _hide as n, _setToStringTag as o, _classof as p, _aFunction as q, _propertyDesc as r, core_getIteratorMethod as s, _objectKeys as t, _objectGpo as u, _anObject as v, _objectKeysInternal as w, _enumBugKeys as x, _toIobject as y, _toPrimitive as z };
547
+ export { _ie8DomDefine as A, _has as B, _shared as C, _uid as D, _redefine as E, _iterators as F, _cof as G, _domCreate as H, _html as I, _export as _, _core as a, _isObject as b, _objectDp as c, _objectCreate as d, _ctx as e, _descriptors as f, _iterDefine as g, _wks as h, _toObject as i, _iobject as j, _toLength as k, _global as l, _fails as m, _hide as n, _setToStringTag as o, _classof as p, _aFunction as q, _propertyDesc as r, core_getIteratorMethod as s, _objectKeys as t, _objectGpo as u, _anObject as v, _enumBugKeys as w, _objectKeysInternal as x, _toIobject as y, _toPrimitive as z };
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { _ as _export, g as _objectDp, e as _descriptors, a as _core } from './core.get-iterator-method-e903ff31.js';
2
+ import { _ as _export, c as _objectDp, f as _descriptors, a as _core } from './core.get-iterator-method-ea258bb1.js';
3
3
 
4
4
  // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
5
5
  _export(_export.S + _export.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
@@ -0,0 +1,68 @@
1
+ import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
+
3
+ var asyncToGenerator = createCommonjsModule(function (module) {
4
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
5
+ try {
6
+ var info = gen[key](arg);
7
+ var value = info.value;
8
+ } catch (error) {
9
+ reject(error);
10
+ return;
11
+ }
12
+
13
+ if (info.done) {
14
+ resolve(value);
15
+ } else {
16
+ Promise.resolve(value).then(_next, _throw);
17
+ }
18
+ }
19
+
20
+ function _asyncToGenerator(fn) {
21
+ return function () {
22
+ var self = this,
23
+ args = arguments;
24
+ return new Promise(function (resolve, reject) {
25
+ var gen = fn.apply(self, args);
26
+
27
+ function _next(value) {
28
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
29
+ }
30
+
31
+ function _throw(err) {
32
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
33
+ }
34
+
35
+ _next(undefined);
36
+ });
37
+ };
38
+ }
39
+
40
+ module.exports = _asyncToGenerator;
41
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
42
+ });
43
+
44
+ var _asyncToGenerator = unwrapExports(asyncToGenerator);
45
+
46
+ var defineProperty = createCommonjsModule(function (module) {
47
+ function _defineProperty(obj, key, value) {
48
+ if (key in obj) {
49
+ Object.defineProperty(obj, key, {
50
+ value: value,
51
+ enumerable: true,
52
+ configurable: true,
53
+ writable: true
54
+ });
55
+ } else {
56
+ obj[key] = value;
57
+ }
58
+
59
+ return obj;
60
+ }
61
+
62
+ module.exports = _defineProperty;
63
+ module.exports["default"] = module.exports, module.exports.__esModule = true;
64
+ });
65
+
66
+ var _defineProperty = unwrapExports(defineProperty);
67
+
68
+ export { _asyncToGenerator as _, _defineProperty as a, asyncToGenerator as b, defineProperty as d };
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { d as defineProperty$1 } from './define-property-99e66838.js';
2
+ import { d as defineProperty$1 } from './define-property-5f1bda73.js';
3
3
 
4
4
  var defineProperty = createCommonjsModule(function (module, exports) {
5
5
 
@@ -58,6 +58,10 @@ var striptags = createCommonjsModule(function (module) {
58
58
  }
59
59
 
60
60
  function striptags_internal(html, context) {
61
+ if (typeof html != "string") {
62
+ throw new TypeError("'html' parameter must be a string");
63
+ }
64
+
61
65
  let allowable_tags = context.allowable_tags;
62
66
  let tag_replacement = context.tag_replacement;
63
67
 
@@ -0,0 +1,467 @@
1
+ var domain;
2
+
3
+ // This constructor is used to store event handlers. Instantiating this is
4
+ // faster than explicitly calling `Object.create(null)` to get a "clean" empty
5
+ // object (tested with v8 v4.9).
6
+ function EventHandlers() {}
7
+ EventHandlers.prototype = Object.create(null);
8
+
9
+ function EventEmitter() {
10
+ EventEmitter.init.call(this);
11
+ }
12
+
13
+ // nodejs oddity
14
+ // require('events') === require('events').EventEmitter
15
+ EventEmitter.EventEmitter = EventEmitter;
16
+
17
+ EventEmitter.usingDomains = false;
18
+
19
+ EventEmitter.prototype.domain = undefined;
20
+ EventEmitter.prototype._events = undefined;
21
+ EventEmitter.prototype._maxListeners = undefined;
22
+
23
+ // By default EventEmitters will print a warning if more than 10 listeners are
24
+ // added to it. This is a useful default which helps finding memory leaks.
25
+ EventEmitter.defaultMaxListeners = 10;
26
+
27
+ EventEmitter.init = function() {
28
+ this.domain = null;
29
+ if (EventEmitter.usingDomains) {
30
+ // if there is an active domain, then attach to it.
31
+ if (domain.active ) ;
32
+ }
33
+
34
+ if (!this._events || this._events === Object.getPrototypeOf(this)._events) {
35
+ this._events = new EventHandlers();
36
+ this._eventsCount = 0;
37
+ }
38
+
39
+ this._maxListeners = this._maxListeners || undefined;
40
+ };
41
+
42
+ // Obviously not all Emitters should be limited to 10. This function allows
43
+ // that to be increased. Set to zero for unlimited.
44
+ EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) {
45
+ if (typeof n !== 'number' || n < 0 || isNaN(n))
46
+ throw new TypeError('"n" argument must be a positive number');
47
+ this._maxListeners = n;
48
+ return this;
49
+ };
50
+
51
+ function $getMaxListeners(that) {
52
+ if (that._maxListeners === undefined)
53
+ return EventEmitter.defaultMaxListeners;
54
+ return that._maxListeners;
55
+ }
56
+
57
+ EventEmitter.prototype.getMaxListeners = function getMaxListeners() {
58
+ return $getMaxListeners(this);
59
+ };
60
+
61
+ // These standalone emit* functions are used to optimize calling of event
62
+ // handlers for fast cases because emit() itself often has a variable number of
63
+ // arguments and can be deoptimized because of that. These functions always have
64
+ // the same number of arguments and thus do not get deoptimized, so the code
65
+ // inside them can execute faster.
66
+ function emitNone(handler, isFn, self) {
67
+ if (isFn)
68
+ handler.call(self);
69
+ else {
70
+ var len = handler.length;
71
+ var listeners = arrayClone(handler, len);
72
+ for (var i = 0; i < len; ++i)
73
+ listeners[i].call(self);
74
+ }
75
+ }
76
+ function emitOne(handler, isFn, self, arg1) {
77
+ if (isFn)
78
+ handler.call(self, arg1);
79
+ else {
80
+ var len = handler.length;
81
+ var listeners = arrayClone(handler, len);
82
+ for (var i = 0; i < len; ++i)
83
+ listeners[i].call(self, arg1);
84
+ }
85
+ }
86
+ function emitTwo(handler, isFn, self, arg1, arg2) {
87
+ if (isFn)
88
+ handler.call(self, arg1, arg2);
89
+ else {
90
+ var len = handler.length;
91
+ var listeners = arrayClone(handler, len);
92
+ for (var i = 0; i < len; ++i)
93
+ listeners[i].call(self, arg1, arg2);
94
+ }
95
+ }
96
+ function emitThree(handler, isFn, self, arg1, arg2, arg3) {
97
+ if (isFn)
98
+ handler.call(self, arg1, arg2, arg3);
99
+ else {
100
+ var len = handler.length;
101
+ var listeners = arrayClone(handler, len);
102
+ for (var i = 0; i < len; ++i)
103
+ listeners[i].call(self, arg1, arg2, arg3);
104
+ }
105
+ }
106
+
107
+ function emitMany(handler, isFn, self, args) {
108
+ if (isFn)
109
+ handler.apply(self, args);
110
+ else {
111
+ var len = handler.length;
112
+ var listeners = arrayClone(handler, len);
113
+ for (var i = 0; i < len; ++i)
114
+ listeners[i].apply(self, args);
115
+ }
116
+ }
117
+
118
+ EventEmitter.prototype.emit = function emit(type) {
119
+ var er, handler, len, args, i, events, domain;
120
+ var doError = (type === 'error');
121
+
122
+ events = this._events;
123
+ if (events)
124
+ doError = (doError && events.error == null);
125
+ else if (!doError)
126
+ return false;
127
+
128
+ domain = this.domain;
129
+
130
+ // If there is no 'error' event listener then throw.
131
+ if (doError) {
132
+ er = arguments[1];
133
+ if (domain) {
134
+ if (!er)
135
+ er = new Error('Uncaught, unspecified "error" event');
136
+ er.domainEmitter = this;
137
+ er.domain = domain;
138
+ er.domainThrown = false;
139
+ domain.emit('error', er);
140
+ } else if (er instanceof Error) {
141
+ throw er; // Unhandled 'error' event
142
+ } else {
143
+ // At least give some kind of context to the user
144
+ var err = new Error('Uncaught, unspecified "error" event. (' + er + ')');
145
+ err.context = er;
146
+ throw err;
147
+ }
148
+ return false;
149
+ }
150
+
151
+ handler = events[type];
152
+
153
+ if (!handler)
154
+ return false;
155
+
156
+ var isFn = typeof handler === 'function';
157
+ len = arguments.length;
158
+ switch (len) {
159
+ // fast cases
160
+ case 1:
161
+ emitNone(handler, isFn, this);
162
+ break;
163
+ case 2:
164
+ emitOne(handler, isFn, this, arguments[1]);
165
+ break;
166
+ case 3:
167
+ emitTwo(handler, isFn, this, arguments[1], arguments[2]);
168
+ break;
169
+ case 4:
170
+ emitThree(handler, isFn, this, arguments[1], arguments[2], arguments[3]);
171
+ break;
172
+ // slower
173
+ default:
174
+ args = new Array(len - 1);
175
+ for (i = 1; i < len; i++)
176
+ args[i - 1] = arguments[i];
177
+ emitMany(handler, isFn, this, args);
178
+ }
179
+
180
+ return true;
181
+ };
182
+
183
+ function _addListener(target, type, listener, prepend) {
184
+ var m;
185
+ var events;
186
+ var existing;
187
+
188
+ if (typeof listener !== 'function')
189
+ throw new TypeError('"listener" argument must be a function');
190
+
191
+ events = target._events;
192
+ if (!events) {
193
+ events = target._events = new EventHandlers();
194
+ target._eventsCount = 0;
195
+ } else {
196
+ // To avoid recursion in the case that type === "newListener"! Before
197
+ // adding it to the listeners, first emit "newListener".
198
+ if (events.newListener) {
199
+ target.emit('newListener', type,
200
+ listener.listener ? listener.listener : listener);
201
+
202
+ // Re-assign `events` because a newListener handler could have caused the
203
+ // this._events to be assigned to a new object
204
+ events = target._events;
205
+ }
206
+ existing = events[type];
207
+ }
208
+
209
+ if (!existing) {
210
+ // Optimize the case of one listener. Don't need the extra array object.
211
+ existing = events[type] = listener;
212
+ ++target._eventsCount;
213
+ } else {
214
+ if (typeof existing === 'function') {
215
+ // Adding the second element, need to change to array.
216
+ existing = events[type] = prepend ? [listener, existing] :
217
+ [existing, listener];
218
+ } else {
219
+ // If we've already got an array, just append.
220
+ if (prepend) {
221
+ existing.unshift(listener);
222
+ } else {
223
+ existing.push(listener);
224
+ }
225
+ }
226
+
227
+ // Check for listener leak
228
+ if (!existing.warned) {
229
+ m = $getMaxListeners(target);
230
+ if (m && m > 0 && existing.length > m) {
231
+ existing.warned = true;
232
+ var w = new Error('Possible EventEmitter memory leak detected. ' +
233
+ existing.length + ' ' + type + ' listeners added. ' +
234
+ 'Use emitter.setMaxListeners() to increase limit');
235
+ w.name = 'MaxListenersExceededWarning';
236
+ w.emitter = target;
237
+ w.type = type;
238
+ w.count = existing.length;
239
+ emitWarning(w);
240
+ }
241
+ }
242
+ }
243
+
244
+ return target;
245
+ }
246
+ function emitWarning(e) {
247
+ typeof console.warn === 'function' ? console.warn(e) : console.log(e);
248
+ }
249
+ EventEmitter.prototype.addListener = function addListener(type, listener) {
250
+ return _addListener(this, type, listener, false);
251
+ };
252
+
253
+ EventEmitter.prototype.on = EventEmitter.prototype.addListener;
254
+
255
+ EventEmitter.prototype.prependListener =
256
+ function prependListener(type, listener) {
257
+ return _addListener(this, type, listener, true);
258
+ };
259
+
260
+ function _onceWrap(target, type, listener) {
261
+ var fired = false;
262
+ function g() {
263
+ target.removeListener(type, g);
264
+ if (!fired) {
265
+ fired = true;
266
+ listener.apply(target, arguments);
267
+ }
268
+ }
269
+ g.listener = listener;
270
+ return g;
271
+ }
272
+
273
+ EventEmitter.prototype.once = function once(type, listener) {
274
+ if (typeof listener !== 'function')
275
+ throw new TypeError('"listener" argument must be a function');
276
+ this.on(type, _onceWrap(this, type, listener));
277
+ return this;
278
+ };
279
+
280
+ EventEmitter.prototype.prependOnceListener =
281
+ function prependOnceListener(type, listener) {
282
+ if (typeof listener !== 'function')
283
+ throw new TypeError('"listener" argument must be a function');
284
+ this.prependListener(type, _onceWrap(this, type, listener));
285
+ return this;
286
+ };
287
+
288
+ // emits a 'removeListener' event iff the listener was removed
289
+ EventEmitter.prototype.removeListener =
290
+ function removeListener(type, listener) {
291
+ var list, events, position, i, originalListener;
292
+
293
+ if (typeof listener !== 'function')
294
+ throw new TypeError('"listener" argument must be a function');
295
+
296
+ events = this._events;
297
+ if (!events)
298
+ return this;
299
+
300
+ list = events[type];
301
+ if (!list)
302
+ return this;
303
+
304
+ if (list === listener || (list.listener && list.listener === listener)) {
305
+ if (--this._eventsCount === 0)
306
+ this._events = new EventHandlers();
307
+ else {
308
+ delete events[type];
309
+ if (events.removeListener)
310
+ this.emit('removeListener', type, list.listener || listener);
311
+ }
312
+ } else if (typeof list !== 'function') {
313
+ position = -1;
314
+
315
+ for (i = list.length; i-- > 0;) {
316
+ if (list[i] === listener ||
317
+ (list[i].listener && list[i].listener === listener)) {
318
+ originalListener = list[i].listener;
319
+ position = i;
320
+ break;
321
+ }
322
+ }
323
+
324
+ if (position < 0)
325
+ return this;
326
+
327
+ if (list.length === 1) {
328
+ list[0] = undefined;
329
+ if (--this._eventsCount === 0) {
330
+ this._events = new EventHandlers();
331
+ return this;
332
+ } else {
333
+ delete events[type];
334
+ }
335
+ } else {
336
+ spliceOne(list, position);
337
+ }
338
+
339
+ if (events.removeListener)
340
+ this.emit('removeListener', type, originalListener || listener);
341
+ }
342
+
343
+ return this;
344
+ };
345
+
346
+ EventEmitter.prototype.removeAllListeners =
347
+ function removeAllListeners(type) {
348
+ var listeners, events;
349
+
350
+ events = this._events;
351
+ if (!events)
352
+ return this;
353
+
354
+ // not listening for removeListener, no need to emit
355
+ if (!events.removeListener) {
356
+ if (arguments.length === 0) {
357
+ this._events = new EventHandlers();
358
+ this._eventsCount = 0;
359
+ } else if (events[type]) {
360
+ if (--this._eventsCount === 0)
361
+ this._events = new EventHandlers();
362
+ else
363
+ delete events[type];
364
+ }
365
+ return this;
366
+ }
367
+
368
+ // emit removeListener for all listeners on all events
369
+ if (arguments.length === 0) {
370
+ var keys = Object.keys(events);
371
+ for (var i = 0, key; i < keys.length; ++i) {
372
+ key = keys[i];
373
+ if (key === 'removeListener') continue;
374
+ this.removeAllListeners(key);
375
+ }
376
+ this.removeAllListeners('removeListener');
377
+ this._events = new EventHandlers();
378
+ this._eventsCount = 0;
379
+ return this;
380
+ }
381
+
382
+ listeners = events[type];
383
+
384
+ if (typeof listeners === 'function') {
385
+ this.removeListener(type, listeners);
386
+ } else if (listeners) {
387
+ // LIFO order
388
+ do {
389
+ this.removeListener(type, listeners[listeners.length - 1]);
390
+ } while (listeners[0]);
391
+ }
392
+
393
+ return this;
394
+ };
395
+
396
+ EventEmitter.prototype.listeners = function listeners(type) {
397
+ var evlistener;
398
+ var ret;
399
+ var events = this._events;
400
+
401
+ if (!events)
402
+ ret = [];
403
+ else {
404
+ evlistener = events[type];
405
+ if (!evlistener)
406
+ ret = [];
407
+ else if (typeof evlistener === 'function')
408
+ ret = [evlistener.listener || evlistener];
409
+ else
410
+ ret = unwrapListeners(evlistener);
411
+ }
412
+
413
+ return ret;
414
+ };
415
+
416
+ EventEmitter.listenerCount = function(emitter, type) {
417
+ if (typeof emitter.listenerCount === 'function') {
418
+ return emitter.listenerCount(type);
419
+ } else {
420
+ return listenerCount.call(emitter, type);
421
+ }
422
+ };
423
+
424
+ EventEmitter.prototype.listenerCount = listenerCount;
425
+ function listenerCount(type) {
426
+ var events = this._events;
427
+
428
+ if (events) {
429
+ var evlistener = events[type];
430
+
431
+ if (typeof evlistener === 'function') {
432
+ return 1;
433
+ } else if (evlistener) {
434
+ return evlistener.length;
435
+ }
436
+ }
437
+
438
+ return 0;
439
+ }
440
+
441
+ EventEmitter.prototype.eventNames = function eventNames() {
442
+ return this._eventsCount > 0 ? Reflect.ownKeys(this._events) : [];
443
+ };
444
+
445
+ // About 1.5x faster than the two-arg version of Array#splice().
446
+ function spliceOne(list, index) {
447
+ for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1)
448
+ list[i] = list[k];
449
+ list.pop();
450
+ }
451
+
452
+ function arrayClone(arr, i) {
453
+ var copy = new Array(i);
454
+ while (i--)
455
+ copy[i] = arr[i];
456
+ return copy;
457
+ }
458
+
459
+ function unwrapListeners(arr) {
460
+ var ret = new Array(arr.length);
461
+ for (var i = 0; i < ret.length; ++i) {
462
+ ret[i] = arr[i].listener || arr[i];
463
+ }
464
+ return ret;
465
+ }
466
+
467
+ export { EventEmitter as E };
@@ -1,5 +1,5 @@
1
1
  import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
2
- import { m as _fails, i as _toObject, j as _iobject, t as _objectKeys, e as _descriptors, _ as _export, a as _core } from './core.get-iterator-method-e903ff31.js';
2
+ import { m as _fails, i as _toObject, j as _iobject, t as _objectKeys, f as _descriptors, _ as _export, a as _core } from './core.get-iterator-method-ea258bb1.js';
3
3
  import { _ as _objectGops, a as _objectPie } from './_object-pie-133f504a.js';
4
4
 
5
5
  // 19.1.2.1 Object.assign(target, source, ...)