@mjhls/mjh-framework 1.0.99-0.next12 → 1.0.99

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 (356) hide show
  1. package/README.md +172 -168
  2. package/dist/index.es.js +12800 -0
  3. package/dist/index.es.js.map +1 -0
  4. package/dist/index.js +12835 -0
  5. package/dist/index.js.map +1 -0
  6. package/package.json +84 -115
  7. package/dist/cjs/AD.js +0 -32
  8. package/dist/cjs/AD300x250.js +0 -95
  9. package/dist/cjs/AD300x250x600.js +0 -112
  10. package/dist/cjs/AD728x90.js +0 -109
  11. package/dist/cjs/ADFloatingFooter.js +0 -143
  12. package/dist/cjs/ADFooter.js +0 -53
  13. package/dist/cjs/ADGutter.js +0 -115
  14. package/dist/cjs/ADInfeed-cf54cb8a.js +0 -66
  15. package/dist/cjs/ADSkyscraper.js +0 -117
  16. package/dist/cjs/ADSponsoredResources.js +0 -114
  17. package/dist/cjs/ADWebcast.js +0 -119
  18. package/dist/cjs/ADWelcome.js +0 -166
  19. package/dist/cjs/ADlgInfeed-d06624d8.js +0 -60
  20. package/dist/cjs/AccordionPanel.js +0 -94
  21. package/dist/cjs/AdSlot.js +0 -251
  22. package/dist/cjs/AdSlotsProvider.js +0 -183
  23. package/dist/cjs/AlgoliaSearch.js +0 -195
  24. package/dist/cjs/AlphabeticList.js +0 -135
  25. package/dist/cjs/ArticleCarousel.js +0 -46
  26. package/dist/cjs/ArticleProgramLandingPage.js +0 -184
  27. package/dist/cjs/ArticleSeriesLandingPage.js +0 -162
  28. package/dist/cjs/ArticleSeriesListing.js +0 -315
  29. package/dist/cjs/AuthWrapper.js +0 -720
  30. package/dist/cjs/AuthorComponent-39b37d84.js +0 -96
  31. package/dist/cjs/Beam.js +0 -350
  32. package/dist/cjs/BlockContent-36e54d77.js +0 -916
  33. package/dist/cjs/Breadcrumbs.js +0 -107
  34. package/dist/cjs/CMEDeck.js +0 -443
  35. package/dist/cjs/Column1.js +0 -39
  36. package/dist/cjs/Column2.js +0 -75
  37. package/dist/cjs/Column3.js +0 -144
  38. package/dist/cjs/ConferenceArticleCard.js +0 -93
  39. package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
  40. package/dist/cjs/ContentCardPaginated.js +0 -417
  41. package/dist/cjs/DeckContent.js +0 -507
  42. package/dist/cjs/DeckQueue.js +0 -403
  43. package/dist/cjs/DeckQueuePaginated.js +0 -348
  44. package/dist/cjs/Dfp-94f8ccdf.js +0 -103
  45. package/dist/cjs/EventsDeck.js +0 -857
  46. package/dist/cjs/ExternalResources.js +0 -217
  47. package/dist/cjs/Feature.js +0 -129
  48. package/dist/cjs/ForbesHero.js +0 -137
  49. package/dist/cjs/GridContent.js +0 -828
  50. package/dist/cjs/GridContentPaginated.js +0 -704
  51. package/dist/cjs/GridHero.js +0 -147
  52. package/dist/cjs/GroupDeck.js +0 -314
  53. package/dist/cjs/HamMagazine.js +0 -602
  54. package/dist/cjs/Header.js +0 -39
  55. package/dist/cjs/HealthCareProfessionalModal.js +0 -78
  56. package/dist/cjs/Hero.js +0 -48
  57. package/dist/cjs/HighlightenVideo.js +0 -69
  58. package/dist/cjs/HorizontalArticleListing.js +0 -165
  59. package/dist/cjs/HorizontalHero.js +0 -111
  60. package/dist/cjs/ImageSlider-a7fb6218.js +0 -182
  61. package/dist/cjs/IssueContentDeck.js +0 -241
  62. package/dist/cjs/IssueDeck.js +0 -268
  63. package/dist/cjs/IssueLanding.js +0 -172
  64. package/dist/cjs/KMTracker.js +0 -27
  65. package/dist/cjs/LeftNav.js +0 -145
  66. package/dist/cjs/MasterDeck.js +0 -555
  67. package/dist/cjs/MasterDeckPaginated.js +0 -469
  68. package/dist/cjs/MediaSeriesCard-36eab8b7.js +0 -9502
  69. package/dist/cjs/MediaSeriesLanding.js +0 -503
  70. package/dist/cjs/MediaSeriesLandingPaginated.js +0 -529
  71. package/dist/cjs/NavDvm.js +0 -245
  72. package/dist/cjs/NavFooter-3dcd99a8.js +0 -66
  73. package/dist/cjs/NavMagazine.js +0 -595
  74. package/dist/cjs/NavNative.js +0 -861
  75. package/dist/cjs/OncliveHero.js +0 -79
  76. package/dist/cjs/OncliveLargeHero.js +0 -241
  77. package/dist/cjs/PageFilter.js +0 -72
  78. package/dist/cjs/Pagination-1e0d5f1d.js +0 -90
  79. package/dist/cjs/PartnerDetailListing.js +0 -326
  80. package/dist/cjs/PartnerDetailListingPaginated.js +0 -318
  81. package/dist/cjs/PdfDownload.js +0 -28
  82. package/dist/cjs/PixelTracking.js +0 -165
  83. package/dist/cjs/PopUpModal.js +0 -58
  84. package/dist/cjs/PtceDeck.js +0 -149
  85. package/dist/cjs/PubSection.js +0 -120
  86. package/dist/cjs/PubToc.js +0 -87
  87. package/dist/cjs/PublicationDeck.js +0 -183
  88. package/dist/cjs/PublicationFeature-be5f3503.js +0 -130
  89. package/dist/cjs/PublicationLanding.js +0 -853
  90. package/dist/cjs/QueueDeckExpanded.js +0 -1540
  91. package/dist/cjs/QueueDeckExpandedPaginated.js +0 -1388
  92. package/dist/cjs/RecentNews.js +0 -91
  93. package/dist/cjs/RelatedContent.js +0 -114
  94. package/dist/cjs/RelatedTopicsDropdown.js +0 -90
  95. package/dist/cjs/RolesDeck.js +0 -94
  96. package/dist/cjs/Schema.js +0 -101
  97. package/dist/cjs/Search.js +0 -66
  98. package/dist/cjs/Segment.js +0 -403
  99. package/dist/cjs/SeriesListingDeck.js +0 -248
  100. package/dist/cjs/SeriesSlider-b94f1dd5.js +0 -332
  101. package/dist/cjs/SetCookie.js +0 -10
  102. package/dist/cjs/SideFooter.js +0 -151
  103. package/dist/cjs/SocialIcons.js +0 -103
  104. package/dist/cjs/SocialSearchComponent-b7faaedc.js +0 -213
  105. package/dist/cjs/SocialShare.js +0 -74
  106. package/dist/cjs/TaxonomyCard.js +0 -253
  107. package/dist/cjs/TaxonomyDescription.js +0 -205
  108. package/dist/cjs/TemplateNormal.js +0 -204
  109. package/dist/cjs/ThumbnailCard.js +0 -59
  110. package/dist/cjs/Ustream.js +0 -156
  111. package/dist/cjs/VerticalHero.js +0 -74
  112. package/dist/cjs/VideoProgramLandingPage.js +0 -260
  113. package/dist/cjs/VideoSeriesCard.js +0 -88
  114. package/dist/cjs/VideoSeriesFilter.js +0 -128
  115. package/dist/cjs/VideoSeriesLandingPage.js +0 -178
  116. package/dist/cjs/VideoSeriesListing.js +0 -422
  117. package/dist/cjs/View.js +0 -2601
  118. package/dist/cjs/YahooHero.js +0 -126
  119. package/dist/cjs/YoutubeGroup.js +0 -371
  120. package/dist/cjs/_commonjsHelpers-06173234.js +0 -25
  121. package/dist/cjs/_is-array-54228b29.js +0 -74
  122. package/dist/cjs/_iter-detect-b1df62f0.js +0 -52
  123. package/dist/cjs/_library-dd23b178.js +0 -5
  124. package/dist/cjs/_object-pie-083f2dd6.js +0 -16
  125. package/dist/cjs/_object-sap-d1978572.js +0 -16
  126. package/dist/cjs/_object-to-array-ce86cae7.js +0 -25
  127. package/dist/cjs/asyncToGenerator-77821af0.js +0 -1395
  128. package/dist/cjs/brightcove-react-player-loader.es-a195642e.js +0 -2232
  129. package/dist/cjs/core.get-iterator-method-5643aa10.js +0 -584
  130. package/dist/cjs/debounce-d4a2369b.js +0 -216
  131. package/dist/cjs/define-property-e8404b64.js +0 -20
  132. package/dist/cjs/defineProperty-9673846a.js +0 -34
  133. package/dist/cjs/entities-3f9d0f2f.js +0 -506
  134. package/dist/cjs/eq-5fc26c07.js +0 -79
  135. package/dist/cjs/extends-7c86182f.js +0 -87
  136. package/dist/cjs/faundadb.js +0 -644
  137. package/dist/cjs/get-5839e5b5.js +0 -920
  138. package/dist/cjs/getContentCategory-f38a4c00.js +0 -11
  139. package/dist/cjs/getKeywords.js +0 -46
  140. package/dist/cjs/getPtceActivities.js +0 -89
  141. package/dist/cjs/getQuery.js +0 -28
  142. package/dist/cjs/getRelatedArticle.js +0 -747
  143. package/dist/cjs/getRootDocGroup.js +0 -62
  144. package/dist/cjs/getSerializers.js +0 -64
  145. package/dist/cjs/getSeriesDetail.js +0 -40
  146. package/dist/cjs/getTargeting-4439c99d.js +0 -164
  147. package/dist/cjs/getTargeting.js +0 -13
  148. package/dist/cjs/iconBase-be4097c0.js +0 -106
  149. package/dist/cjs/index-0e4427c8.js +0 -1683
  150. package/dist/cjs/index-187c967e.js +0 -54
  151. package/dist/cjs/index-7361fa72.js +0 -11305
  152. package/dist/cjs/index-eadd5035.js +0 -613
  153. package/dist/cjs/index-efca863c.js +0 -556
  154. package/dist/cjs/index-f86bb269.js +0 -1571
  155. package/dist/cjs/index.es-f3e47207.js +0 -445
  156. package/dist/cjs/index.esm-2bb721c8.js +0 -96
  157. package/dist/cjs/index.esm-c1e16606.js +0 -13
  158. package/dist/cjs/index.esm-d51c9ac6.js +0 -25
  159. package/dist/cjs/index.esm-d81454e7.js +0 -19
  160. package/dist/cjs/index.js +0 -635
  161. package/dist/cjs/inherits-de66ea16.js +0 -188
  162. package/dist/cjs/isSymbol-03abbdf0.js +0 -209
  163. package/dist/cjs/js.cookie-a511c430.js +0 -160
  164. package/dist/cjs/keys-e982b3fa.js +0 -25
  165. package/dist/cjs/lodash-f0783643.js +0 -17195
  166. package/dist/cjs/main-f1c77adb.js +0 -973
  167. package/dist/cjs/moment-aca40de1.js +0 -5669
  168. package/dist/cjs/react-social-icons-af932527.js +0 -616
  169. package/dist/cjs/slicedToArray-067dd3bc.js +0 -95
  170. package/dist/cjs/smoothscroll-99df7f93.js +0 -438
  171. package/dist/cjs/stringify-f7a37a8d.js +0 -17
  172. package/dist/cjs/style-inject.es-dcee06b6.js +0 -30
  173. package/dist/cjs/timeDifferenceCalc.js +0 -39
  174. package/dist/cjs/toConsumableArray-d7797c2b.js +0 -74
  175. package/dist/cjs/toNumber-5e1fac58.js +0 -104
  176. package/dist/cjs/typeof-567e31ff.js +0 -382
  177. package/dist/cjs/urlFor.js +0 -65
  178. package/dist/cjs/urlForFile-29d3815a.js +0 -24
  179. package/dist/cjs/ustream-api-3819e4aa.js +0 -106
  180. package/dist/cjs/visibility-sensor-eb2c5b69.js +0 -597
  181. package/dist/cjs/web.dom.iterable-d98303e0.js +0 -50
  182. package/dist/esm/AD.js +0 -26
  183. package/dist/esm/AD300x250.js +0 -89
  184. package/dist/esm/AD300x250x600.js +0 -106
  185. package/dist/esm/AD728x90.js +0 -103
  186. package/dist/esm/ADFloatingFooter.js +0 -137
  187. package/dist/esm/ADFooter.js +0 -47
  188. package/dist/esm/ADGutter.js +0 -109
  189. package/dist/esm/ADInfeed-f684cac9.js +0 -59
  190. package/dist/esm/ADSkyscraper.js +0 -111
  191. package/dist/esm/ADSponsoredResources.js +0 -108
  192. package/dist/esm/ADWebcast.js +0 -113
  193. package/dist/esm/ADWelcome.js +0 -160
  194. package/dist/esm/ADlgInfeed-8c438cee.js +0 -54
  195. package/dist/esm/AccordionPanel.js +0 -87
  196. package/dist/esm/AdSlot.js +0 -244
  197. package/dist/esm/AdSlotsProvider.js +0 -176
  198. package/dist/esm/AlgoliaSearch.js +0 -188
  199. package/dist/esm/AlphabeticList.js +0 -129
  200. package/dist/esm/ArticleCarousel.js +0 -40
  201. package/dist/esm/ArticleProgramLandingPage.js +0 -178
  202. package/dist/esm/ArticleSeriesLandingPage.js +0 -156
  203. package/dist/esm/ArticleSeriesListing.js +0 -308
  204. package/dist/esm/AuthWrapper.js +0 -714
  205. package/dist/esm/AuthorComponent-defe68b6.js +0 -90
  206. package/dist/esm/Beam.js +0 -348
  207. package/dist/esm/BlockContent-c99c9a8d.js +0 -909
  208. package/dist/esm/Breadcrumbs.js +0 -100
  209. package/dist/esm/CMEDeck.js +0 -437
  210. package/dist/esm/Column1.js +0 -29
  211. package/dist/esm/Column2.js +0 -65
  212. package/dist/esm/Column3.js +0 -134
  213. package/dist/esm/ConferenceArticleCard.js +0 -87
  214. package/dist/esm/ConferenceBanner-8792ebd2.js +0 -18
  215. package/dist/esm/ContentCardPaginated.js +0 -406
  216. package/dist/esm/DeckContent.js +0 -497
  217. package/dist/esm/DeckQueue.js +0 -393
  218. package/dist/esm/DeckQueuePaginated.js +0 -337
  219. package/dist/esm/Dfp-4b99f79d.js +0 -96
  220. package/dist/esm/EventsDeck.js +0 -844
  221. package/dist/esm/ExternalResources.js +0 -210
  222. package/dist/esm/Feature.js +0 -122
  223. package/dist/esm/ForbesHero.js +0 -131
  224. package/dist/esm/GridContent.js +0 -818
  225. package/dist/esm/GridContentPaginated.js +0 -693
  226. package/dist/esm/GridHero.js +0 -141
  227. package/dist/esm/GroupDeck.js +0 -308
  228. package/dist/esm/HamMagazine.js +0 -590
  229. package/dist/esm/Header.js +0 -30
  230. package/dist/esm/HealthCareProfessionalModal.js +0 -70
  231. package/dist/esm/Hero.js +0 -42
  232. package/dist/esm/HighlightenVideo.js +0 -63
  233. package/dist/esm/HorizontalArticleListing.js +0 -159
  234. package/dist/esm/HorizontalHero.js +0 -105
  235. package/dist/esm/ImageSlider-eab2fe41.js +0 -176
  236. package/dist/esm/IssueContentDeck.js +0 -231
  237. package/dist/esm/IssueDeck.js +0 -258
  238. package/dist/esm/IssueLanding.js +0 -166
  239. package/dist/esm/KMTracker.js +0 -25
  240. package/dist/esm/LeftNav.js +0 -136
  241. package/dist/esm/MasterDeck.js +0 -548
  242. package/dist/esm/MasterDeckPaginated.js +0 -461
  243. package/dist/esm/MediaSeriesCard-99048e65.js +0 -9492
  244. package/dist/esm/MediaSeriesLanding.js +0 -496
  245. package/dist/esm/MediaSeriesLandingPaginated.js +0 -522
  246. package/dist/esm/NavDvm.js +0 -233
  247. package/dist/esm/NavFooter-e27bd93b.js +0 -60
  248. package/dist/esm/NavMagazine.js +0 -583
  249. package/dist/esm/NavNative.js +0 -846
  250. package/dist/esm/OncliveHero.js +0 -73
  251. package/dist/esm/OncliveLargeHero.js +0 -235
  252. package/dist/esm/PageFilter.js +0 -66
  253. package/dist/esm/Pagination-cd21f8c2.js +0 -82
  254. package/dist/esm/PartnerDetailListing.js +0 -320
  255. package/dist/esm/PartnerDetailListingPaginated.js +0 -312
  256. package/dist/esm/PdfDownload.js +0 -22
  257. package/dist/esm/PixelTracking.js +0 -156
  258. package/dist/esm/PopUpModal.js +0 -51
  259. package/dist/esm/PtceDeck.js +0 -143
  260. package/dist/esm/PubSection.js +0 -114
  261. package/dist/esm/PubToc.js +0 -81
  262. package/dist/esm/PublicationDeck.js +0 -173
  263. package/dist/esm/PublicationFeature-03500094.js +0 -121
  264. package/dist/esm/PublicationLanding.js +0 -843
  265. package/dist/esm/QueueDeckExpanded.js +0 -1534
  266. package/dist/esm/QueueDeckExpandedPaginated.js +0 -1382
  267. package/dist/esm/RecentNews.js +0 -85
  268. package/dist/esm/RelatedContent.js +0 -108
  269. package/dist/esm/RelatedTopicsDropdown.js +0 -82
  270. package/dist/esm/RolesDeck.js +0 -84
  271. package/dist/esm/Schema.js +0 -95
  272. package/dist/esm/Search.js +0 -57
  273. package/dist/esm/Segment.js +0 -401
  274. package/dist/esm/SeriesListingDeck.js +0 -242
  275. package/dist/esm/SeriesSlider-609f9d94.js +0 -326
  276. package/dist/esm/SetCookie.js +0 -8
  277. package/dist/esm/SideFooter.js +0 -145
  278. package/dist/esm/SocialIcons.js +0 -97
  279. package/dist/esm/SocialSearchComponent-1d8a9f59.js +0 -204
  280. package/dist/esm/SocialShare.js +0 -67
  281. package/dist/esm/TaxonomyCard.js +0 -243
  282. package/dist/esm/TaxonomyDescription.js +0 -198
  283. package/dist/esm/TemplateNormal.js +0 -197
  284. package/dist/esm/ThumbnailCard.js +0 -52
  285. package/dist/esm/Ustream.js +0 -150
  286. package/dist/esm/VerticalHero.js +0 -68
  287. package/dist/esm/VideoProgramLandingPage.js +0 -251
  288. package/dist/esm/VideoSeriesCard.js +0 -82
  289. package/dist/esm/VideoSeriesFilter.js +0 -122
  290. package/dist/esm/VideoSeriesLandingPage.js +0 -172
  291. package/dist/esm/VideoSeriesListing.js +0 -415
  292. package/dist/esm/View.js +0 -2590
  293. package/dist/esm/YahooHero.js +0 -120
  294. package/dist/esm/YoutubeGroup.js +0 -365
  295. package/dist/esm/_commonjsHelpers-0c4b6f40.js +0 -19
  296. package/dist/esm/_is-array-893ab020.js +0 -71
  297. package/dist/esm/_iter-detect-f089461c.js +0 -48
  298. package/dist/esm/_library-528f1934.js +0 -3
  299. package/dist/esm/_object-pie-133f504a.js +0 -13
  300. package/dist/esm/_object-sap-169d6272.js +0 -14
  301. package/dist/esm/_object-to-array-50a6b9a3.js +0 -23
  302. package/dist/esm/asyncToGenerator-9716ae8d.js +0 -1387
  303. package/dist/esm/brightcove-react-player-loader.es-57a70a56.js +0 -2226
  304. package/dist/esm/core.get-iterator-method-e903ff31.js +0 -547
  305. package/dist/esm/debounce-533d9748.js +0 -214
  306. package/dist/esm/define-property-99e66838.js +0 -18
  307. package/dist/esm/defineProperty-8fa0bc8d.js +0 -32
  308. package/dist/esm/entities-932b50cf.js +0 -503
  309. package/dist/esm/eq-bdcbf886.js +0 -76
  310. package/dist/esm/extends-dc6a71fd.js +0 -83
  311. package/dist/esm/faundadb.js +0 -636
  312. package/dist/esm/get-3c308da4.js +0 -918
  313. package/dist/esm/getContentCategory-15dcc413.js +0 -9
  314. package/dist/esm/getKeywords.js +0 -44
  315. package/dist/esm/getPtceActivities.js +0 -87
  316. package/dist/esm/getQuery.js +0 -26
  317. package/dist/esm/getRelatedArticle.js +0 -745
  318. package/dist/esm/getRootDocGroup.js +0 -60
  319. package/dist/esm/getSerializers.js +0 -58
  320. package/dist/esm/getSeriesDetail.js +0 -38
  321. package/dist/esm/getTargeting-db566006.js +0 -161
  322. package/dist/esm/getTargeting.js +0 -7
  323. package/dist/esm/iconBase-ccc56b97.js +0 -81
  324. package/dist/esm/index-0dbff1d1.js +0 -553
  325. package/dist/esm/index-5cc7b406.js +0 -1674
  326. package/dist/esm/index-755f2cc2.js +0 -605
  327. package/dist/esm/index-79cfd25c.js +0 -1569
  328. package/dist/esm/index-c60f3bb6.js +0 -11284
  329. package/dist/esm/index-c7e2ac95.js +0 -52
  330. package/dist/esm/index.es-a6137319.js +0 -439
  331. package/dist/esm/index.esm-1bd8a0a8.js +0 -18
  332. package/dist/esm/index.esm-37268dca.js +0 -89
  333. package/dist/esm/index.esm-9b042655.js +0 -10
  334. package/dist/esm/index.esm-eb1e8e80.js +0 -14
  335. package/dist/esm/index.js +0 -529
  336. package/dist/esm/inherits-8a801a18.js +0 -179
  337. package/dist/esm/isSymbol-a7e9aafe.js +0 -203
  338. package/dist/esm/js.cookie-6874175c.js +0 -158
  339. package/dist/esm/keys-425c8ab0.js +0 -23
  340. package/dist/esm/lodash-f97fd99a.js +0 -17193
  341. package/dist/esm/main-1894c974.js +0 -961
  342. package/dist/esm/moment-bc12cb97.js +0 -5667
  343. package/dist/esm/react-social-icons-9be47857.js +0 -609
  344. package/dist/esm/slicedToArray-ca2c8b8d.js +0 -92
  345. package/dist/esm/smoothscroll-fa4e3f8c.js +0 -436
  346. package/dist/esm/stringify-c21932b3.js +0 -15
  347. package/dist/esm/style-inject.es-1f59c1d0.js +0 -28
  348. package/dist/esm/timeDifferenceCalc.js +0 -37
  349. package/dist/esm/toConsumableArray-7b1c0e23.js +0 -71
  350. package/dist/esm/toNumber-5aeba6e7.js +0 -102
  351. package/dist/esm/typeof-83d9eb10.js +0 -378
  352. package/dist/esm/urlFor.js +0 -63
  353. package/dist/esm/urlForFile-413f5ddb.js +0 -22
  354. package/dist/esm/ustream-api-41166338.js +0 -104
  355. package/dist/esm/visibility-sensor-72fd8f8b.js +0 -590
  356. package/dist/esm/web.dom.iterable-fdf034f5.js +0 -48
@@ -1,52 +0,0 @@
1
- import { c as createCommonjsModule, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
2
-
3
- var getYoutubeId = createCommonjsModule(function (module, exports) {
4
- (function (root, factory) {
5
- {
6
- module.exports = factory();
7
- }
8
- }(commonjsGlobal, function (exports) {
9
-
10
- return function (url, opts) {
11
- if (opts == undefined) {
12
- opts = {fuzzy: true};
13
- }
14
-
15
- if (/youtu\.?be/.test(url)) {
16
-
17
- // Look first for known patterns
18
- var i;
19
- var patterns = [
20
- /youtu\.be\/([^#\&\?]{11})/, // youtu.be/<id>
21
- /\?v=([^#\&\?]{11})/, // ?v=<id>
22
- /\&v=([^#\&\?]{11})/, // &v=<id>
23
- /embed\/([^#\&\?]{11})/, // embed/<id>
24
- /\/v\/([^#\&\?]{11})/ // /v/<id>
25
- ];
26
-
27
- // If any pattern matches, return the ID
28
- for (i = 0; i < patterns.length; ++i) {
29
- if (patterns[i].test(url)) {
30
- return patterns[i].exec(url)[1];
31
- }
32
- }
33
-
34
- if (opts.fuzzy) {
35
- // If that fails, break it apart by certain characters and look
36
- // for the 11 character key
37
- var tokens = url.split(/[\/\&\?=#\.\s]/g);
38
- for (i = 0; i < tokens.length; ++i) {
39
- if (/^[^#\&\?]{11}$/.test(tokens[i])) {
40
- return tokens[i];
41
- }
42
- }
43
- }
44
- }
45
-
46
- return null;
47
- };
48
-
49
- }));
50
- });
51
-
52
- export { getYoutubeId as g };
@@ -1,439 +0,0 @@
1
- import React__default, { Component } from 'react';
2
-
3
- /*! *****************************************************************************
4
- Copyright (c) Microsoft Corporation. All rights reserved.
5
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
6
- this file except in compliance with the License. You may obtain a copy of the
7
- License at http://www.apache.org/licenses/LICENSE-2.0
8
-
9
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
10
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
11
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
12
- MERCHANTABLITY OR NON-INFRINGEMENT.
13
-
14
- See the Apache Version 2.0 License for specific language governing permissions
15
- and limitations under the License.
16
- ***************************************************************************** */
17
- /* global Reflect, Promise */
18
-
19
- var extendStatics = function(d, b) {
20
- extendStatics = Object.setPrototypeOf ||
21
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
22
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
23
- return extendStatics(d, b);
24
- };
25
-
26
- function __extends(d, b) {
27
- extendStatics(d, b);
28
- function __() { this.constructor = d; }
29
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
30
- }
31
-
32
- var __assign = function() {
33
- __assign = Object.assign || function __assign(t) {
34
- for (var s, i = 1, n = arguments.length; i < n; i++) {
35
- s = arguments[i];
36
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
37
- }
38
- return t;
39
- };
40
- return __assign.apply(this, arguments);
41
- };
42
-
43
- /* eslint-disable no-undefined,no-param-reassign,no-shadow */
44
-
45
- /**
46
- * Throttle execution of a function. Especially useful for rate limiting
47
- * execution of handlers on events like resize and scroll.
48
- *
49
- * @param {Number} delay A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.
50
- * @param {Boolean} [noTrailing] Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds while the
51
- * throttled-function is being called. If noTrailing is false or unspecified, callback will be executed one final time
52
- * after the last throttled-function call. (After the throttled-function has not been called for `delay` milliseconds,
53
- * the internal counter is reset)
54
- * @param {Function} callback A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,
55
- * to `callback` when the throttled-function is executed.
56
- * @param {Boolean} [debounceMode] If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is false (at end),
57
- * schedule `callback` to execute after `delay` ms.
58
- *
59
- * @return {Function} A new, throttled, function.
60
- */
61
- function throttle (delay, noTrailing, callback, debounceMode) {
62
- /*
63
- * After wrapper has stopped being called, this timeout ensures that
64
- * `callback` is executed at the proper times in `throttle` and `end`
65
- * debounce modes.
66
- */
67
- var timeoutID;
68
- var cancelled = false; // Keep track of the last time `callback` was executed.
69
-
70
- var lastExec = 0; // Function to clear existing timeout
71
-
72
- function clearExistingTimeout() {
73
- if (timeoutID) {
74
- clearTimeout(timeoutID);
75
- }
76
- } // Function to cancel next exec
77
-
78
-
79
- function cancel() {
80
- clearExistingTimeout();
81
- cancelled = true;
82
- } // `noTrailing` defaults to falsy.
83
-
84
-
85
- if (typeof noTrailing !== 'boolean') {
86
- debounceMode = callback;
87
- callback = noTrailing;
88
- noTrailing = undefined;
89
- }
90
- /*
91
- * The `wrapper` function encapsulates all of the throttling / debouncing
92
- * functionality and when executed will limit the rate at which `callback`
93
- * is executed.
94
- */
95
-
96
-
97
- function wrapper() {
98
- var self = this;
99
- var elapsed = Date.now() - lastExec;
100
- var args = arguments;
101
-
102
- if (cancelled) {
103
- return;
104
- } // Execute `callback` and update the `lastExec` timestamp.
105
-
106
-
107
- function exec() {
108
- lastExec = Date.now();
109
- callback.apply(self, args);
110
- }
111
- /*
112
- * If `debounceMode` is true (at begin) this is used to clear the flag
113
- * to allow future `callback` executions.
114
- */
115
-
116
-
117
- function clear() {
118
- timeoutID = undefined;
119
- }
120
-
121
- if (debounceMode && !timeoutID) {
122
- /*
123
- * Since `wrapper` is being called for the first time and
124
- * `debounceMode` is true (at begin), execute `callback`.
125
- */
126
- exec();
127
- }
128
-
129
- clearExistingTimeout();
130
-
131
- if (debounceMode === undefined && elapsed > delay) {
132
- /*
133
- * In throttle mode, if `delay` time has been exceeded, execute
134
- * `callback`.
135
- */
136
- exec();
137
- } else if (noTrailing !== true) {
138
- /*
139
- * In trailing throttle mode, since `delay` time has not been
140
- * exceeded, schedule `callback` to execute `delay` ms after most
141
- * recent execution.
142
- *
143
- * If `debounceMode` is true (at begin), schedule `clear` to execute
144
- * after `delay` ms.
145
- *
146
- * If `debounceMode` is false (at end), schedule `callback` to
147
- * execute after `delay` ms.
148
- */
149
- timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);
150
- }
151
- }
152
-
153
- wrapper.cancel = cancel; // Return the wrapper function.
154
-
155
- return wrapper;
156
- }
157
-
158
- var ThresholdUnits = {
159
- Pixel: 'Pixel',
160
- Percent: 'Percent',
161
- };
162
- var defaultThreshold = {
163
- unit: ThresholdUnits.Percent,
164
- value: 0.8,
165
- };
166
- function parseThreshold(scrollThreshold) {
167
- if (typeof scrollThreshold === 'number') {
168
- return {
169
- unit: ThresholdUnits.Percent,
170
- value: scrollThreshold * 100,
171
- };
172
- }
173
- if (typeof scrollThreshold === 'string') {
174
- if (scrollThreshold.match(/^(\d*(\.\d+)?)px$/)) {
175
- return {
176
- unit: ThresholdUnits.Pixel,
177
- value: parseFloat(scrollThreshold),
178
- };
179
- }
180
- if (scrollThreshold.match(/^(\d*(\.\d+)?)%$/)) {
181
- return {
182
- unit: ThresholdUnits.Percent,
183
- value: parseFloat(scrollThreshold),
184
- };
185
- }
186
- console.warn('scrollThreshold format is invalid. Valid formats: "120px", "50%"...');
187
- return defaultThreshold;
188
- }
189
- console.warn('scrollThreshold should be string or number');
190
- return defaultThreshold;
191
- }
192
-
193
- var InfiniteScroll = /** @class */ (function (_super) {
194
- __extends(InfiniteScroll, _super);
195
- function InfiniteScroll(props) {
196
- var _this = _super.call(this, props) || this;
197
- _this.lastScrollTop = 0;
198
- _this.actionTriggered = false;
199
- // variables to keep track of pull down behaviour
200
- _this.startY = 0;
201
- _this.currentY = 0;
202
- _this.dragging = false;
203
- // will be populated in componentDidMount
204
- // based on the height of the pull down element
205
- _this.maxPullDownDistance = 0;
206
- _this.getScrollableTarget = function () {
207
- if (_this.props.scrollableTarget instanceof HTMLElement)
208
- return _this.props.scrollableTarget;
209
- if (typeof _this.props.scrollableTarget === 'string') {
210
- return document.getElementById(_this.props.scrollableTarget);
211
- }
212
- if (_this.props.scrollableTarget === null) {
213
- console.warn("You are trying to pass scrollableTarget but it is null. This might\n happen because the element may not have been added to DOM yet.\n See https://github.com/ankeetmaini/react-infinite-scroll-component/issues/59 for more info.\n ");
214
- }
215
- return null;
216
- };
217
- _this.onStart = function (evt) {
218
- if (_this.lastScrollTop)
219
- return;
220
- _this.dragging = true;
221
- if (evt instanceof MouseEvent) {
222
- _this.startY = evt.pageY;
223
- }
224
- else if (evt instanceof TouchEvent) {
225
- _this.startY = evt.touches[0].pageY;
226
- }
227
- _this.currentY = _this.startY;
228
- if (_this._infScroll) {
229
- _this._infScroll.style.willChange = 'transform';
230
- _this._infScroll.style.transition = "transform 0.2s cubic-bezier(0,0,0.31,1)";
231
- }
232
- };
233
- _this.onMove = function (evt) {
234
- if (!_this.dragging)
235
- return;
236
- if (evt instanceof MouseEvent) {
237
- _this.currentY = evt.pageY;
238
- }
239
- else if (evt instanceof TouchEvent) {
240
- _this.currentY = evt.touches[0].pageY;
241
- }
242
- // user is scrolling down to up
243
- if (_this.currentY < _this.startY)
244
- return;
245
- if (_this.currentY - _this.startY >=
246
- Number(_this.props.pullDownToRefreshThreshold)) {
247
- _this.setState({
248
- pullToRefreshThresholdBreached: true,
249
- });
250
- }
251
- // so you can drag upto 1.5 times of the maxPullDownDistance
252
- if (_this.currentY - _this.startY > _this.maxPullDownDistance * 1.5)
253
- return;
254
- if (_this._infScroll) {
255
- _this._infScroll.style.overflow = 'visible';
256
- _this._infScroll.style.transform = "translate3d(0px, " + (_this.currentY -
257
- _this.startY) + "px, 0px)";
258
- }
259
- };
260
- _this.onEnd = function () {
261
- _this.startY = 0;
262
- _this.currentY = 0;
263
- _this.dragging = false;
264
- if (_this.state.pullToRefreshThresholdBreached) {
265
- _this.props.refreshFunction && _this.props.refreshFunction();
266
- _this.setState({
267
- pullToRefreshThresholdBreached: false,
268
- });
269
- }
270
- requestAnimationFrame(function () {
271
- // this._infScroll
272
- if (_this._infScroll) {
273
- _this._infScroll.style.overflow = 'auto';
274
- _this._infScroll.style.transform = 'none';
275
- _this._infScroll.style.willChange = 'none';
276
- }
277
- });
278
- };
279
- _this.onScrollListener = function (event) {
280
- if (typeof _this.props.onScroll === 'function') {
281
- // Execute this callback in next tick so that it does not affect the
282
- // functionality of the library.
283
- setTimeout(function () { return _this.props.onScroll && _this.props.onScroll(event); }, 0);
284
- }
285
- var target = _this.props.height || _this._scrollableNode
286
- ? event.target
287
- : document.documentElement.scrollTop
288
- ? document.documentElement
289
- : document.body;
290
- // return immediately if the action has already been triggered,
291
- // prevents multiple triggers.
292
- if (_this.actionTriggered)
293
- return;
294
- var atBottom = _this.props.inverse
295
- ? _this.isElementAtTop(target, _this.props.scrollThreshold)
296
- : _this.isElementAtBottom(target, _this.props.scrollThreshold);
297
- // call the `next` function in the props to trigger the next data fetch
298
- if (atBottom && _this.props.hasMore) {
299
- _this.actionTriggered = true;
300
- _this.setState({ showLoader: true });
301
- _this.props.next && _this.props.next();
302
- }
303
- _this.lastScrollTop = target.scrollTop;
304
- };
305
- _this.state = {
306
- showLoader: false,
307
- pullToRefreshThresholdBreached: false,
308
- };
309
- _this.throttledOnScrollListener = throttle(150, _this.onScrollListener).bind(_this);
310
- _this.onStart = _this.onStart.bind(_this);
311
- _this.onMove = _this.onMove.bind(_this);
312
- _this.onEnd = _this.onEnd.bind(_this);
313
- return _this;
314
- }
315
- InfiniteScroll.prototype.componentDidMount = function () {
316
- if (typeof this.props.dataLength === 'undefined') {
317
- throw new Error("mandatory prop \"dataLength\" is missing. The prop is needed" +
318
- " when loading more content. Check README.md for usage");
319
- }
320
- this._scrollableNode = this.getScrollableTarget();
321
- this.el = this.props.height
322
- ? this._infScroll
323
- : this._scrollableNode || window;
324
- if (this.el) {
325
- this.el.addEventListener('scroll', this
326
- .throttledOnScrollListener);
327
- }
328
- if (typeof this.props.initialScrollY === 'number' &&
329
- this.el &&
330
- this.el instanceof HTMLElement &&
331
- this.el.scrollHeight > this.props.initialScrollY) {
332
- this.el.scrollTo(0, this.props.initialScrollY);
333
- }
334
- if (this.props.pullDownToRefresh && this.el) {
335
- this.el.addEventListener('touchstart', this.onStart);
336
- this.el.addEventListener('touchmove', this.onMove);
337
- this.el.addEventListener('touchend', this.onEnd);
338
- this.el.addEventListener('mousedown', this.onStart);
339
- this.el.addEventListener('mousemove', this.onMove);
340
- this.el.addEventListener('mouseup', this.onEnd);
341
- // get BCR of pullDown element to position it above
342
- this.maxPullDownDistance =
343
- (this._pullDown &&
344
- this._pullDown.firstChild &&
345
- this._pullDown.firstChild.getBoundingClientRect()
346
- .height) ||
347
- 0;
348
- this.forceUpdate();
349
- if (typeof this.props.refreshFunction !== 'function') {
350
- throw new Error("Mandatory prop \"refreshFunction\" missing.\n Pull Down To Refresh functionality will not work\n as expected. Check README.md for usage'");
351
- }
352
- }
353
- };
354
- InfiniteScroll.prototype.componentWillUnmount = function () {
355
- if (this.el) {
356
- this.el.removeEventListener('scroll', this
357
- .throttledOnScrollListener);
358
- if (this.props.pullDownToRefresh) {
359
- this.el.removeEventListener('touchstart', this.onStart);
360
- this.el.removeEventListener('touchmove', this.onMove);
361
- this.el.removeEventListener('touchend', this.onEnd);
362
- this.el.removeEventListener('mousedown', this.onStart);
363
- this.el.removeEventListener('mousemove', this.onMove);
364
- this.el.removeEventListener('mouseup', this.onEnd);
365
- }
366
- }
367
- };
368
- InfiniteScroll.prototype.UNSAFE_componentWillReceiveProps = function (props) {
369
- // do nothing when dataLength is unchanged
370
- if (this.props.dataLength === props.dataLength)
371
- return;
372
- this.actionTriggered = false;
373
- // update state when new data was sent in
374
- this.setState({
375
- showLoader: false,
376
- });
377
- };
378
- InfiniteScroll.prototype.isElementAtTop = function (target, scrollThreshold) {
379
- if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
380
- var clientHeight = target === document.body || target === document.documentElement
381
- ? window.screen.availHeight
382
- : target.clientHeight;
383
- var threshold = parseThreshold(scrollThreshold);
384
- if (threshold.unit === ThresholdUnits.Pixel) {
385
- return (target.scrollTop <=
386
- threshold.value + clientHeight - target.scrollHeight + 1 ||
387
- target.scrollTop === 0);
388
- }
389
- return (target.scrollTop <=
390
- threshold.value / 100 + clientHeight - target.scrollHeight + 1 ||
391
- target.scrollTop === 0);
392
- };
393
- InfiniteScroll.prototype.isElementAtBottom = function (target, scrollThreshold) {
394
- if (scrollThreshold === void 0) { scrollThreshold = 0.8; }
395
- var clientHeight = target === document.body || target === document.documentElement
396
- ? window.screen.availHeight
397
- : target.clientHeight;
398
- var threshold = parseThreshold(scrollThreshold);
399
- if (threshold.unit === ThresholdUnits.Pixel) {
400
- return (target.scrollTop + clientHeight >= target.scrollHeight - threshold.value);
401
- }
402
- return (target.scrollTop + clientHeight >=
403
- (threshold.value / 100) * target.scrollHeight);
404
- };
405
- InfiniteScroll.prototype.render = function () {
406
- var _this = this;
407
- var style = __assign({ height: this.props.height || 'auto', overflow: 'auto', WebkitOverflowScrolling: 'touch' }, this.props.style);
408
- var hasChildren = this.props.hasChildren ||
409
- !!(this.props.children &&
410
- this.props.children instanceof Array &&
411
- this.props.children.length);
412
- // because heighted infiniteScroll visualy breaks
413
- // on drag down as overflow becomes visible
414
- var outerDivStyle = this.props.pullDownToRefresh && this.props.height
415
- ? { overflow: 'auto' }
416
- : {};
417
- return (React__default.createElement("div", { style: outerDivStyle, className: "infinite-scroll-component__outerdiv" },
418
- React__default.createElement("div", { className: "infinite-scroll-component " + (this.props.className || ''), ref: function (infScroll) { return (_this._infScroll = infScroll); }, style: style },
419
- this.props.pullDownToRefresh && (React__default.createElement("div", { style: { position: 'relative' }, ref: function (pullDown) { return (_this._pullDown = pullDown); } },
420
- React__default.createElement("div", { style: {
421
- position: 'absolute',
422
- left: 0,
423
- right: 0,
424
- top: -1 * this.maxPullDownDistance,
425
- } }, this.state.pullToRefreshThresholdBreached
426
- ? this.props.releaseToRefreshContent
427
- : this.props.pullDownToRefreshContent))),
428
- this.props.children,
429
- !this.state.showLoader &&
430
- !hasChildren &&
431
- this.props.hasMore &&
432
- this.props.loader,
433
- this.state.showLoader && this.props.hasMore && this.props.loader,
434
- !this.props.hasMore && this.props.endMessage)));
435
- };
436
- return InfiniteScroll;
437
- }(Component));
438
-
439
- export { InfiniteScroll as I };
@@ -1,18 +0,0 @@
1
- import { G as GenIcon } from './iconBase-ccc56b97.js';
2
-
3
- // THIS FILE IS AUTO GENERATED
4
- function FaArrowLeft (props) {
5
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}]})(props);
6
- }function FaArrowRight (props) {
7
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}]})(props);
8
- }function FaLongArrowAltRight (props) {
9
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M313.941 216H12c-6.627 0-12 5.373-12 12v56c0 6.627 5.373 12 12 12h301.941v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.569 0-33.941l-86.059-86.059c-15.119-15.119-40.971-4.411-40.971 16.971V216z"}}]})(props);
10
- }function FaMinus (props) {
11
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(props);
12
- }function FaPlus (props) {
13
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 448 512"},"child":[{"tag":"path","attr":{"d":"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(props);
14
- }function FaWindowClose (props) {
15
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-83.6 290.5c4.8 4.8 4.8 12.6 0 17.4l-40.5 40.5c-4.8 4.8-12.6 4.8-17.4 0L256 313.3l-66.5 67.1c-4.8 4.8-12.6 4.8-17.4 0l-40.5-40.5c-4.8-4.8-4.8-12.6 0-17.4l67.1-66.5-67.1-66.5c-4.8-4.8-4.8-12.6 0-17.4l40.5-40.5c4.8-4.8 12.6-4.8 17.4 0l66.5 67.1 66.5-67.1c4.8-4.8 12.6-4.8 17.4 0l40.5 40.5c4.8 4.8 4.8 12.6 0 17.4L313.3 256l67.1 66.5z"}}]})(props);
16
- }
17
-
18
- export { FaWindowClose as F, FaLongArrowAltRight as a, FaMinus as b, FaPlus as c, FaArrowRight as d, FaArrowLeft as e };
@@ -1,89 +0,0 @@
1
- import React__default from 'react';
2
- import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
3
- import { G as GenIcon } from './iconBase-ccc56b97.js';
4
-
5
- var year = new Date().getFullYear();
6
-
7
- var SocialNavFooter = function SocialNavFooter(props) {
8
- var website = props.website,
9
- showLogo = props.showLogo;
10
-
11
- return React__default.createElement(
12
- 'div',
13
- { className: 'nav-footer' },
14
- website && website.footerLinks && website.footerLinks.length && React__default.createElement(
15
- 'ul',
16
- null,
17
- website && website.footerLinks.map(function (content, index) {
18
- if (content.url && content.title) {
19
- return content.blank ? React__default.createElement(
20
- 'li',
21
- { key: index },
22
- React__default.createElement(
23
- 'a',
24
- { target: '_blank', rel: 'noopener noreferrer', href: content.url, className: 'nav-link' },
25
- content.title
26
- )
27
- ) : React__default.createElement(
28
- 'li',
29
- { key: index },
30
- React__default.createElement(
31
- 'a',
32
- { href: content.url, className: 'nav-link' },
33
- content.title
34
- )
35
- );
36
- } else return null;
37
- })
38
- ),
39
- React__default.createElement(
40
- 'ul',
41
- null,
42
- React__default.createElement(
43
- 'li',
44
- { style: { marginTop: '10px' }, key: website.footerLinks ? website.footerLinks.length + 1 : 1 },
45
- website.socialLinks && website.socialLinks.map(function (row, index) {
46
- return React__default.createElement(reactSocialIcons_1, {
47
- target: row.blank ? '_blank' : '_self',
48
- rel: 'noopener noreferrer',
49
- key: index,
50
- index: index,
51
- url: row.url
52
- // including network prop to identify the icon based on the social icon title.
53
- , network: row.title.split(' ')[0].toLowerCase(),
54
- style: { width: 30, height: 30, marginRight: 5 }
55
- });
56
- })
57
- ),
58
- showLogo && React__default.createElement(
59
- 'li',
60
- null,
61
- React__default.createElement(
62
- 'a',
63
- { href: 'https://www.mjhlifesciences.com' },
64
- React__default.createElement('img', {
65
- style: { maxWidth: '100%', height: '50px', margin: ' 10px 0', objectFit: 'contain' },
66
- alt: 'MJHLS Brand Logo',
67
- src: 'https://mjh-web.s3.amazonaws.com/_media/an_mjhls_brand_logo.png'
68
- })
69
- )
70
- )
71
- ),
72
- website && website.name && React__default.createElement(
73
- 'p',
74
- { className: 'nav-link' },
75
- '\xA9 ',
76
- year,
77
- ' MJH Life Sciences and ',
78
- website.name,
79
- '. All rights reserved.'
80
- )
81
- );
82
- };
83
-
84
- // THIS FILE IS AUTO GENERATED
85
- function GoSearch (props) {
86
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 16 16"},"child":[{"tag":"path","attr":{"fillRule":"evenodd","d":"M15.7 13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"}}]})(props);
87
- }
88
-
89
- export { GoSearch as G, SocialNavFooter as S };
@@ -1,10 +0,0 @@
1
- import { G as GenIcon } from './iconBase-ccc56b97.js';
2
-
3
- // THIS FILE IS AUTO GENERATED
4
- function MdEmail (props) {
5
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"}}]})(props);
6
- }function MdPictureAsPdf (props) {
7
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 24 24"},"child":[{"tag":"path","attr":{"d":"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-8.5 7.5c0 .83-.67 1.5-1.5 1.5H9v2H7.5V7H10c.83 0 1.5.67 1.5 1.5v1zm5 2c0 .83-.67 1.5-1.5 1.5h-2.5V7H15c.83 0 1.5.67 1.5 1.5v3zm4-3H19v1h1.5V11H19v2h-1.5V7h3v1.5zM9 9.5h1v-1H9v1zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm10 5.5h1v-3h-1v3z"}}]})(props);
8
- }
9
-
10
- export { MdEmail as M, MdPictureAsPdf as a };
@@ -1,14 +0,0 @@
1
- import { G as GenIcon } from './iconBase-ccc56b97.js';
2
-
3
- // THIS FILE IS AUTO GENERATED
4
- function IoIosArrowDropupCircle (props) {
5
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M256 464c114.9 0 208-93.1 208-208S370.9 48 256 48 48 141.1 48 256s93.1 208 208 208zm0-244.5l-81.1 81.9c-7.5 7.5-19.8 7.5-27.3 0s-7.5-19.8 0-27.3l95.7-95.4c7.3-7.3 19.1-7.5 26.6-.6l94.3 94c3.8 3.8 5.7 8.7 5.7 13.7 0 4.9-1.9 9.9-5.6 13.6-7.5 7.5-19.7 7.6-27.3 0l-81-79.9z"}}]})(props);
6
- }function IoIosArrowForward (props) {
7
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z"}}]})(props);
8
- }function IoMdArrowDropdown (props) {
9
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M128 192l128 128 128-128z"}}]})(props);
10
- }function IoMdLogIn (props) {
11
- return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 512 512"},"child":[{"tag":"path","attr":{"d":"M256 48c-42.9 0-84.2 13-119.2 37.5-34.2 24-60.2 57.2-75.1 96.1L58 192h45.7l1.9-5c8.2-17.8 19.4-33.9 33.5-48 31.2-31.2 72.7-48.4 116.9-48.4s85.7 17.2 116.9 48.4c31.2 31.2 48.4 72.7 48.4 116.9 0 44.1-17.2 85.7-48.4 116.9-31.2 31.2-72.7 48.4-116.9 48.4-44.1 0-85.6-17.2-116.9-48.4-14-14-25.3-30.1-33.5-47.9l-1.9-5H58l3.6 10.4c14.9 38.9 40.9 72.1 75.1 96.1C171.8 451.1 213 464 256 464c114.7 0 208-93.3 208-208S370.7 48 256 48z"}},{"tag":"path","attr":{"d":"M48 277.4h189.7l-43.6 44.7L224 352l96-96-96-96-31 29.9 44.7 44.7H48v42.8z"}}]})(props);
12
- }
13
-
14
- export { IoIosArrowForward as I, IoMdArrowDropdown as a, IoMdLogIn as b, IoIosArrowDropupCircle as c };