@mjhls/mjh-framework 1.0.784-beta.0 → 1.0.784

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 (287) hide show
  1. package/dist/cjs/AD.js +10 -9
  2. package/dist/cjs/AD300x250.js +27 -26
  3. package/dist/cjs/AD300x250x600.js +27 -26
  4. package/dist/cjs/AD728x90.js +30 -29
  5. package/dist/cjs/ADFloatingFooter.js +29 -28
  6. package/dist/cjs/ADFooter.js +15 -14
  7. package/dist/cjs/ADGutter.js +29 -28
  8. package/dist/cjs/{ADInfeed-5b042ade.js → ADInfeed-1e53d7db.js} +15 -13
  9. package/dist/cjs/ADSkyscraper.js +29 -28
  10. package/dist/cjs/ADSponsoredResources.js +29 -28
  11. package/dist/cjs/ADWebcast.js +29 -28
  12. package/dist/cjs/ADWelcome.js +30 -29
  13. package/dist/cjs/{ADlgInfeed-e92b6f9f.js → ADlgInfeed-2494fd17.js} +11 -10
  14. package/dist/cjs/AccordionPanel.js +31 -29
  15. package/dist/cjs/AdSlot.js +32 -31
  16. package/dist/cjs/AdSlotsProvider.js +16 -15
  17. package/dist/cjs/AlphabeticList.js +25 -24
  18. package/dist/cjs/ArticleCarousel.js +24 -23
  19. package/dist/cjs/ArticleProgramLandingPage.js +56 -55
  20. package/dist/cjs/ArticleSeriesLandingPage.js +38 -37
  21. package/dist/cjs/ArticleSeriesListing.js +61 -60
  22. package/dist/cjs/Auth.js +819 -333
  23. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-5fa89df5.js} +14 -13
  24. package/dist/cjs/Beam.js +8 -8
  25. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-eca358e4.js} +25 -24
  26. package/dist/cjs/Breadcrumbs.js +29 -27
  27. package/dist/cjs/CMEDeck.js +82 -82
  28. package/dist/cjs/Column1.js +14 -11
  29. package/dist/cjs/Column2.js +35 -32
  30. package/dist/cjs/Column3.js +57 -54
  31. package/dist/cjs/ConferenceArticleCard.js +24 -23
  32. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  33. package/dist/cjs/DeckContent.js +97 -93
  34. package/dist/cjs/DeckQueue.js +91 -87
  35. package/dist/cjs/{Dfp-b807d8fa.js → Dfp-a17e00fa.js} +32 -31
  36. package/dist/cjs/EventsDeck.js +138 -131
  37. package/dist/cjs/ExternalResources.js +79 -78
  38. package/dist/cjs/Feature.js +27 -25
  39. package/dist/cjs/ForbesHero.js +41 -40
  40. package/dist/cjs/GridContent.js +181 -177
  41. package/dist/cjs/GridHero.js +43 -42
  42. package/dist/cjs/GroupDeck.js +59 -58
  43. package/dist/cjs/HamMagazine.js +135 -130
  44. package/dist/cjs/Header.js +14 -14
  45. package/dist/cjs/Hero.js +13 -12
  46. package/dist/cjs/HighlightenVideo.js +18 -17
  47. package/dist/cjs/HorizontalArticleListing.js +70 -69
  48. package/dist/cjs/HorizontalHero.js +26 -25
  49. package/dist/cjs/IssueContentDeck.js +77 -72
  50. package/dist/cjs/IssueDeck.js +75 -70
  51. package/dist/cjs/IssueLanding.js +40 -39
  52. package/dist/cjs/LeftNav.js +37 -35
  53. package/dist/cjs/MasterDeck.js +70 -69
  54. package/dist/cjs/MediaSeriesLanding.js +40 -38
  55. package/dist/cjs/NavDvm.js +79 -74
  56. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  57. package/dist/cjs/NavMagazine.js +142 -137
  58. package/dist/cjs/NavNative.js +134 -126
  59. package/dist/cjs/NavNormal.js +52 -47
  60. package/dist/cjs/OncliveHero.js +20 -20
  61. package/dist/cjs/OncliveLargeHero.js +67 -66
  62. package/dist/cjs/PageFilter.js +15 -14
  63. package/dist/cjs/PartnerDetailListing.js +106 -105
  64. package/dist/cjs/PdfDownload.js +9 -8
  65. package/dist/cjs/PopUpModal.js +21 -19
  66. package/dist/cjs/PubSection.js +39 -38
  67. package/dist/cjs/PubToc.js +16 -15
  68. package/dist/cjs/PublicationDeck.js +66 -61
  69. package/dist/cjs/PublicationLanding.js +83 -79
  70. package/dist/cjs/QueueDeckExpanded.js +291 -291
  71. package/dist/cjs/RecentNews.js +24 -23
  72. package/dist/cjs/RelatedContent.js +25 -24
  73. package/dist/cjs/RelatedTopicsDropdown.js +22 -19
  74. package/dist/cjs/RolesDeck.js +32 -27
  75. package/dist/cjs/Search.js +22 -18
  76. package/dist/cjs/Segment.js +6 -6
  77. package/dist/cjs/SeriesListingDeck.js +37 -37
  78. package/dist/cjs/{SeriesSlider-f662f1f5.js → SeriesSlider-193a2958.js} +38 -37
  79. package/dist/cjs/SetCookie.js +1 -1
  80. package/dist/cjs/SideFooter.js +35 -34
  81. package/dist/cjs/SocialIcons.js +10 -9
  82. package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-45c54bed.js} +40 -36
  83. package/dist/cjs/SocialShare.js +31 -29
  84. package/dist/cjs/TaxonomyCard.js +62 -57
  85. package/dist/cjs/TaxonomyDescription.js +53 -52
  86. package/dist/cjs/TemplateNormal.js +73 -72
  87. package/dist/cjs/ThumbnailCard.js +22 -20
  88. package/dist/cjs/Ustream.js +27 -26
  89. package/dist/cjs/VerticalHero.js +18 -17
  90. package/dist/cjs/VideoProgramLandingPage.js +75 -71
  91. package/dist/cjs/VideoSeriesCard.js +32 -31
  92. package/dist/cjs/VideoSeriesFilter.js +18 -18
  93. package/dist/cjs/VideoSeriesLandingPage.js +46 -45
  94. package/dist/cjs/VideoSeriesListing.js +78 -77
  95. package/dist/cjs/View.js +259 -256
  96. package/dist/cjs/YahooHero.js +40 -39
  97. package/dist/cjs/YoutubeGroup.js +63 -62
  98. package/dist/cjs/{_is-array-754e012d.js → _is-array-63ae4740.js} +6 -6
  99. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-2613ffa1.js} +2 -2
  100. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-c5bd707d.js} +1 -1
  101. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-bec5fcf2.js} +1 -1
  102. package/dist/cjs/{_to-object-329a650b.js → _to-object-821a2927.js} +4 -4
  103. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-b6a175bf.js} +7 -7
  104. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  105. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-b4615fd3.js} +2 -2
  106. package/dist/cjs/{define-property-f4d12f4e.js → define-property-aff11f8a.js} +1 -1
  107. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d6fbb280.js} +1 -1
  108. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  109. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-20d42c53.js} +2 -2
  110. package/dist/cjs/{extends-60837c34.js → extends-1e24fc8d.js} +1 -1
  111. package/dist/cjs/getRelatedArticle.js +137 -75
  112. package/dist/cjs/getRootDocGroup.js +6 -6
  113. package/dist/cjs/getSerializers.js +43 -43
  114. package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-497b581d.js} +3 -3
  115. package/dist/cjs/getTargeting.js +7 -7
  116. package/dist/cjs/iconBase-68959171.js +0 -3
  117. package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
  118. package/dist/cjs/{index-76417d82.js → index-2a34c7db.js} +934 -911
  119. package/dist/cjs/{index-3294d3bc.js → index-4d74ffd6.js} +40 -41
  120. package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
  121. package/dist/cjs/{index-be0c82be.js → index-d48b231c.js} +31 -25
  122. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  123. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  124. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
  125. package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
  126. package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
  127. package/dist/cjs/index.js +163 -160
  128. package/dist/cjs/{inherits-c9f99d47.js → inherits-2eb23889.js} +5 -5
  129. package/dist/cjs/{keys-a586b7a0.js → keys-95c064c9.js} +2 -2
  130. package/dist/cjs/{lodash-fc2922d0.js → lodash-4ef21f0f.js} +72 -23
  131. package/dist/cjs/{main-02daeefe.js → main-dc082238.js} +116 -80
  132. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  133. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  134. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-db24842a.js} +4 -4
  135. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  136. package/dist/cjs/{stringify-7c5aff47.js → stringify-01cf47f7.js} +1 -1
  137. package/dist/cjs/timeDifferenceCalc.js +1 -1
  138. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-cf0865fc.js} +4 -4
  139. package/dist/cjs/{typeof-725500bc.js → typeof-97065d40.js} +7 -7
  140. package/dist/cjs/urlFor.js +2 -2
  141. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  142. package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
  143. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-4480325a.js} +3 -3
  144. package/dist/esm/AD.js +7 -7
  145. package/dist/esm/AD300x250.js +23 -23
  146. package/dist/esm/AD300x250x600.js +23 -23
  147. package/dist/esm/AD728x90.js +26 -26
  148. package/dist/esm/ADFloatingFooter.js +25 -25
  149. package/dist/esm/ADFooter.js +11 -11
  150. package/dist/esm/ADGutter.js +25 -25
  151. package/dist/esm/{ADInfeed-eb7bdd41.js → ADInfeed-94817c40.js} +9 -9
  152. package/dist/esm/ADSkyscraper.js +25 -25
  153. package/dist/esm/ADSponsoredResources.js +25 -25
  154. package/dist/esm/ADWebcast.js +25 -25
  155. package/dist/esm/ADWelcome.js +26 -26
  156. package/dist/esm/{ADlgInfeed-f2ac31d1.js → ADlgInfeed-6124ee3c.js} +8 -8
  157. package/dist/esm/AccordionPanel.js +24 -24
  158. package/dist/esm/AdSlot.js +22 -22
  159. package/dist/esm/AdSlotsProvider.js +12 -12
  160. package/dist/esm/AlphabeticList.js +21 -21
  161. package/dist/esm/ArticleCarousel.js +20 -20
  162. package/dist/esm/ArticleProgramLandingPage.js +52 -52
  163. package/dist/esm/ArticleSeriesLandingPage.js +34 -34
  164. package/dist/esm/ArticleSeriesListing.js +55 -55
  165. package/dist/esm/Auth.js +798 -316
  166. package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-c7ff069f.js} +11 -11
  167. package/dist/esm/Beam.js +8 -8
  168. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d8cd739c.js} +4 -4
  169. package/dist/esm/Breadcrumbs.js +17 -17
  170. package/dist/esm/CMEDeck.js +78 -78
  171. package/dist/esm/Column1.js +5 -5
  172. package/dist/esm/Column2.js +26 -26
  173. package/dist/esm/Column3.js +47 -47
  174. package/dist/esm/ConferenceArticleCard.js +19 -19
  175. package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
  176. package/dist/esm/DeckContent.js +75 -75
  177. package/dist/esm/DeckQueue.js +65 -65
  178. package/dist/esm/{Dfp-ebc4b22f.js → Dfp-988dbcaa.js} +21 -21
  179. package/dist/esm/EventsDeck.js +84 -84
  180. package/dist/esm/ExternalResources.js +71 -71
  181. package/dist/esm/Feature.js +18 -18
  182. package/dist/esm/ForbesHero.js +34 -34
  183. package/dist/esm/GridContent.js +139 -139
  184. package/dist/esm/GridHero.js +36 -36
  185. package/dist/esm/GroupDeck.js +46 -46
  186. package/dist/esm/HamMagazine.js +104 -104
  187. package/dist/esm/Header.js +8 -10
  188. package/dist/esm/Hero.js +9 -9
  189. package/dist/esm/HighlightenVideo.js +14 -14
  190. package/dist/esm/HorizontalArticleListing.js +66 -66
  191. package/dist/esm/HorizontalHero.js +21 -21
  192. package/dist/esm/IssueContentDeck.js +49 -49
  193. package/dist/esm/IssueDeck.js +46 -46
  194. package/dist/esm/IssueLanding.js +36 -36
  195. package/dist/esm/LeftNav.js +31 -31
  196. package/dist/esm/MasterDeck.js +63 -63
  197. package/dist/esm/MediaSeriesLanding.js +31 -31
  198. package/dist/esm/NavDvm.js +56 -56
  199. package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
  200. package/dist/esm/NavMagazine.js +113 -113
  201. package/dist/esm/NavNative.js +99 -99
  202. package/dist/esm/NavNormal.js +35 -35
  203. package/dist/esm/OncliveHero.js +16 -17
  204. package/dist/esm/OncliveLargeHero.js +59 -59
  205. package/dist/esm/PageFilter.js +12 -12
  206. package/dist/esm/PartnerDetailListing.js +101 -101
  207. package/dist/esm/PdfDownload.js +6 -6
  208. package/dist/esm/PopUpModal.js +14 -14
  209. package/dist/esm/PubSection.js +35 -35
  210. package/dist/esm/PubToc.js +12 -12
  211. package/dist/esm/PublicationDeck.js +38 -38
  212. package/dist/esm/PublicationLanding.js +54 -54
  213. package/dist/esm/QueueDeckExpanded.js +271 -271
  214. package/dist/esm/RecentNews.js +20 -20
  215. package/dist/esm/RelatedContent.js +19 -19
  216. package/dist/esm/RelatedTopicsDropdown.js +11 -11
  217. package/dist/esm/RolesDeck.js +13 -13
  218. package/dist/esm/Search.js +12 -12
  219. package/dist/esm/Segment.js +6 -6
  220. package/dist/esm/SeriesListingDeck.js +31 -31
  221. package/dist/esm/{SeriesSlider-9245785f.js → SeriesSlider-6a1081ff.js} +27 -27
  222. package/dist/esm/SetCookie.js +1 -1
  223. package/dist/esm/SideFooter.js +30 -30
  224. package/dist/esm/SocialIcons.js +7 -7
  225. package/dist/esm/{SocialSearchComponent-a2ae84d1.js → SocialSearchComponent-c3216d1a.js} +28 -28
  226. package/dist/esm/SocialShare.js +25 -25
  227. package/dist/esm/TaxonomyCard.js +41 -41
  228. package/dist/esm/TaxonomyDescription.js +47 -47
  229. package/dist/esm/TemplateNormal.js +66 -66
  230. package/dist/esm/ThumbnailCard.js +13 -13
  231. package/dist/esm/Ustream.js +23 -23
  232. package/dist/esm/VerticalHero.js +13 -13
  233. package/dist/esm/VideoProgramLandingPage.js +61 -61
  234. package/dist/esm/VideoSeriesCard.js +24 -24
  235. package/dist/esm/VideoSeriesFilter.js +15 -15
  236. package/dist/esm/VideoSeriesLandingPage.js +38 -38
  237. package/dist/esm/VideoSeriesListing.js +71 -71
  238. package/dist/esm/View.js +239 -240
  239. package/dist/esm/YahooHero.js +34 -34
  240. package/dist/esm/YoutubeGroup.js +46 -46
  241. package/dist/esm/{_is-array-58e95429.js → _is-array-674f71ec.js} +6 -6
  242. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-48516cd3.js} +2 -2
  243. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-fd3054d0.js} +1 -1
  244. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-8f409e54.js} +1 -1
  245. package/dist/esm/{_to-object-a4107da3.js → _to-object-97770c52.js} +5 -5
  246. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-585841c0.js} +7 -7
  247. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
  248. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-d1d5ed02.js} +2 -2
  249. package/dist/esm/{define-property-8af5f002.js → define-property-ec6d528d.js} +1 -1
  250. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-ea516b15.js} +1 -1
  251. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  252. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-aa6068a3.js} +3 -3
  253. package/dist/esm/{extends-eb69e8ac.js → extends-31d65aba.js} +1 -1
  254. package/dist/esm/getRelatedArticle.js +132 -70
  255. package/dist/esm/getRootDocGroup.js +6 -6
  256. package/dist/esm/getSerializers.js +43 -43
  257. package/dist/esm/{getTargeting-7211f12c.js → getTargeting-2d402d66.js} +2 -2
  258. package/dist/esm/getTargeting.js +7 -7
  259. package/dist/esm/{index-73819142.js → index-3f5c03b2.js} +31 -25
  260. package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
  261. package/dist/esm/{index-a9e53f80.js → index-888f9253.js} +6 -6
  262. package/dist/esm/{index-ef6d5dcf.js → index-ccb770c7.js} +40 -41
  263. package/dist/esm/{index-c1374f98.js → index-f42d71f0.js} +869 -853
  264. package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
  265. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  266. package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
  267. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  268. package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
  269. package/dist/esm/index.js +129 -129
  270. package/dist/esm/{inherits-fb9b6e8f.js → inherits-5906fbea.js} +5 -5
  271. package/dist/esm/{keys-8eda7a5c.js → keys-a0b0c7a4.js} +2 -2
  272. package/dist/esm/{lodash-17fdfebb.js → lodash-ad27652f.js} +72 -23
  273. package/dist/esm/{main-e4a934b2.js → main-1450d277.js} +113 -78
  274. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  275. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
  276. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-cdeaee08.js} +4 -4
  277. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  278. package/dist/esm/{stringify-4330ccdc.js → stringify-d4839bab.js} +1 -1
  279. package/dist/esm/timeDifferenceCalc.js +1 -1
  280. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-fa2dcda7.js} +4 -4
  281. package/dist/esm/{typeof-6435ba1c.js → typeof-e9cea9e8.js} +7 -7
  282. package/dist/esm/urlFor.js +1 -1
  283. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  284. package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
  285. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-035980f3.js} +3 -3
  286. package/package.json +1 -1
  287. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/Auth.js CHANGED
@@ -1,23 +1,23 @@
1
- import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-5d49a330.js';
6
- import './core.get-iterator-method-e1de7503.js';
7
- import './_object-pie-33c40e79.js';
8
- import { _ as _extends } from './extends-eb69e8ac.js';
9
- import './web.dom.iterable-4439f05a.js';
10
- import React__default, { useEffect, useState } from 'react';
1
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-585841c0.js';
2
+ import { _ as _JSON$stringify } from './stringify-d4839bab.js';
3
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-cdeaee08.js';
4
+ import React, { useEffect, useState } from 'react';
11
5
  import Router from 'next/router';
12
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
13
- import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
14
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
6
+ import { _ as _extends } from './extends-31d65aba.js';
15
7
  import { Col, Form, Button, Spinner } from 'react-bootstrap';
16
- import { u as util } from './util-7700fc59.js';
17
- import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
18
8
  import useSWR from 'swr';
9
+ import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
19
10
  import Local from 'passport-local';
20
11
  import mysql from 'mysql';
12
+ import { u as util } from './util-3ab476bf.js';
13
+ import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
14
+ import './es6.string.iterator-aa6068a3.js';
15
+ import './_to-object-97770c52.js';
16
+ import './web.dom.iterable-035980f3.js';
17
+ import './_library-528f1934.js';
18
+ import './core.get-iterator-method-d1d5ed02.js';
19
+ import './_iter-detect-48516cd3.js';
20
+ import './_object-pie-33c40e79.js';
21
21
 
22
22
  var returnFormField = function returnFormField(_ref) {
23
23
  var name = _ref.name,
@@ -56,21 +56,21 @@ var returnFormField = function returnFormField(_ref) {
56
56
  }
57
57
 
58
58
  if (type == 'text' || type == 'email' || type == 'password' || type == 'number') {
59
- return React__default.createElement(
59
+ return React.createElement(
60
60
  Form.Group,
61
61
  _extends({}, opts, { controlId: name }),
62
- React__default.createElement(
62
+ React.createElement(
63
63
  Form.Label,
64
64
  { kye: name + '_label' },
65
65
  label,
66
- required && React__default.createElement(
66
+ required && React.createElement(
67
67
  'span',
68
68
  { style: { color: 'red' } },
69
69
  '*'
70
70
  )
71
71
  ),
72
- React__default.createElement(Form.Control, { key: name + '_' + type, type: type, readOnly: readonly, name: name, placeholder: '', defaultValue: default_value, required: required }),
73
- React__default.createElement(
72
+ React.createElement(Form.Control, { key: name + '_' + type, type: type, readOnly: readonly, name: name, placeholder: '', defaultValue: default_value, required: required }),
73
+ React.createElement(
74
74
  Form.Control.Feedback,
75
75
  { key: name + '_feedback', type: 'invalid' },
76
76
  errors[name]
@@ -78,28 +78,28 @@ var returnFormField = function returnFormField(_ref) {
78
78
  );
79
79
  }
80
80
  if (type == 'select') {
81
- return React__default.createElement(
81
+ return React.createElement(
82
82
  Form.Group,
83
83
  _extends({}, opts, { key: name, controlId: name }),
84
- React__default.createElement(
84
+ React.createElement(
85
85
  Form.Label,
86
86
  { key: name + '_' + label },
87
87
  label,
88
- required && React__default.createElement(
88
+ required && React.createElement(
89
89
  'span',
90
90
  { key: name + '_required_span', style: { color: 'red' } },
91
91
  '*'
92
92
  )
93
93
  ),
94
- React__default.createElement(
94
+ React.createElement(
95
95
  Form.Control,
96
96
  { key: name + '_select', as: 'select', name: name, required: required, defaultValue: default_value },
97
- React__default.createElement('option', { value: '', key: name + '_options_empty' }),
97
+ React.createElement('option', { value: '', key: name + '_options_empty' }),
98
98
  options.map(function (option, index) {
99
99
  var value = option.value ? option.value : option;
100
100
  var label = option.label ? option.label : option;
101
101
  var key = name + '_options_' + index;
102
- return React__default.createElement(
102
+ return React.createElement(
103
103
  'option',
104
104
  { key: key, value: value },
105
105
  label
@@ -110,25 +110,25 @@ var returnFormField = function returnFormField(_ref) {
110
110
  }
111
111
 
112
112
  if (type == 'radio' || type == 'checkbox') {
113
- return React__default.createElement(
113
+ return React.createElement(
114
114
  Form.Group,
115
115
  opts,
116
- React__default.createElement(
116
+ React.createElement(
117
117
  Form.Label,
118
118
  null,
119
119
  label,
120
- required && React__default.createElement(
120
+ required && React.createElement(
121
121
  'span',
122
122
  { style: { color: 'red' } },
123
123
  '*'
124
124
  )
125
125
  ),
126
126
  options.map(function (option, index) {
127
- return React__default.createElement(
127
+ return React.createElement(
128
128
  Form.Check,
129
129
  { type: type, key: index, required: required },
130
- React__default.createElement(Form.Check.Input, { type: type, key: type + '_' + index + '_input', defaultChecked: default_value ? default_value === option.value : false, name: name, id: name + '_' + index, value: option.value, required: required }),
131
- React__default.createElement(Form.Check.Label, { style: { cursor: 'pointer' }, 'for': name + '_' + index, key: type + '_' + index + '_label', dangerouslySetInnerHTML: { __html: option.label } })
130
+ React.createElement(Form.Check.Input, { type: type, key: type + '_' + index + '_input', defaultChecked: default_value ? default_value === option.value : false, name: name, id: name + '_' + index, value: option.value, required: required }),
131
+ React.createElement(Form.Check.Label, { style: { cursor: 'pointer' }, 'for': name + '_' + index, key: type + '_' + index + '_label', dangerouslySetInnerHTML: { __html: option.label } })
132
132
  );
133
133
  })
134
134
  );
@@ -335,43 +335,43 @@ var LoginForm = function LoginForm(props) {
335
335
  loading = _useState4[0],
336
336
  setLoading = _useState4[1];
337
337
 
338
- return React__default.createElement(
338
+ return React.createElement(
339
339
  Form,
340
340
  { className: 'login', onSubmit: handleSubmit },
341
- React__default.createElement(
341
+ React.createElement(
342
342
  'h1',
343
343
  null,
344
344
  'Login'
345
345
  ),
346
- React__default.createElement('hr', null),
346
+ React.createElement('hr', null),
347
347
  returnFormField({ name: 'email', label: 'Email', type: 'email', required: true }),
348
348
  returnFormField({ name: 'password', label: 'Password', type: 'password', required: true }),
349
- React__default.createElement('hr', null),
350
- React__default.createElement(
349
+ React.createElement('hr', null),
350
+ React.createElement(
351
351
  Form.Row,
352
352
  null,
353
- React__default.createElement(
353
+ React.createElement(
354
354
  Form.Group,
355
355
  { as: Col },
356
- React__default.createElement(
356
+ React.createElement(
357
357
  'a',
358
358
  { href: '/auth/signup' },
359
359
  'I don\'t have an account'
360
360
  )
361
361
  ),
362
- React__default.createElement(
362
+ React.createElement(
363
363
  Form.Group,
364
364
  { as: Col, className: 'text-right' },
365
- !loading && React__default.createElement(
365
+ !loading && React.createElement(
366
366
  Button,
367
367
  { type: 'submit' },
368
368
  'Login'
369
369
  ),
370
- loading && React__default.createElement(
370
+ loading && React.createElement(
371
371
  Button,
372
372
  { variant: 'primary', disabled: true },
373
- React__default.createElement(Spinner, { as: 'span', animation: 'border', role: 'status', 'aria-hidden': 'true', size: 'sm' }),
374
- React__default.createElement(
373
+ React.createElement(Spinner, { as: 'span', animation: 'border', role: 'status', 'aria-hidden': 'true', size: 'sm' }),
374
+ React.createElement(
375
375
  'span',
376
376
  { className: 'sr-only' },
377
377
  'Loading...'
@@ -379,12 +379,12 @@ var LoginForm = function LoginForm(props) {
379
379
  )
380
380
  )
381
381
  ),
382
- errorMsg && React__default.createElement(
382
+ errorMsg && React.createElement(
383
383
  'p',
384
384
  { className: 'error' },
385
385
  errorMsg
386
386
  ),
387
- React__default.createElement(
387
+ React.createElement(
388
388
  'style',
389
389
  { jsx: 'true'.toString() },
390
390
  '\n .login {\n margin: 0 auto;\n padding: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n }\n .error {\n color: red;\n margin: 1rem 0 0;\n }\n '
@@ -640,29 +640,29 @@ var SignupForm = function SignupForm(props) {
640
640
  loading = _useState14[0],
641
641
  setLoading = _useState14[1];
642
642
 
643
- return React__default.createElement(
643
+ return React.createElement(
644
644
  Form,
645
645
  { className: 'login', id: 'signupForm', onSubmit: handleSubmit },
646
- React__default.createElement(
646
+ React.createElement(
647
647
  'h1',
648
648
  null,
649
649
  'Sign Up'
650
650
  ),
651
- React__default.createElement('hr', null),
651
+ React.createElement('hr', null),
652
652
  returnFormField({ name: 'email', label: 'Email', type: 'email', required: true }),
653
- React__default.createElement(
653
+ React.createElement(
654
654
  Form.Row,
655
655
  null,
656
656
  returnFormField({ name: 'password', label: 'Password', type: 'password', groupType: Col, required: true }),
657
657
  returnFormField({ name: 'rpassword', label: 'Retype Password', type: 'password', groupType: Col, required: true })
658
658
  ),
659
- React__default.createElement(
659
+ React.createElement(
660
660
  Form.Row,
661
661
  null,
662
662
  returnFormField({ name: 'first_name', label: 'First Name', type: 'text', groupType: Col, required: true }),
663
663
  returnFormField({ name: 'last_name', label: 'Last Name', type: 'text', groupType: Col, required: true })
664
664
  ),
665
- React__default.createElement(
665
+ React.createElement(
666
666
  Form.Row,
667
667
  null,
668
668
  returnFormField({
@@ -676,7 +676,7 @@ var SignupForm = function SignupForm(props) {
676
676
  }),
677
677
  countryUS && returnFormField({ name: 'state', label: 'State', type: 'select', required: true, groupType: Col, options: states })
678
678
  ),
679
- React__default.createElement(
679
+ React.createElement(
680
680
  Form.Row,
681
681
  null,
682
682
  countryUS && returnFormField({ name: 'zip', label: 'Working Zip Code', type: 'text', required: true, groupType: Col }),
@@ -723,38 +723,38 @@ var SignupForm = function SignupForm(props) {
723
723
  required: true,
724
724
  options: [{ label: 'By registering you agree to our <a href="/terms" style="color:blue">Terms and Conditions</a> and <a href="/privacy" style="color:blue">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
725
725
  }),
726
- React__default.createElement('hr', null),
727
- React__default.createElement(
726
+ React.createElement('hr', null),
727
+ React.createElement(
728
728
  Form.Row,
729
729
  null,
730
- React__default.createElement(
730
+ React.createElement(
731
731
  Form.Group,
732
732
  { as: Col },
733
- React__default.createElement(
733
+ React.createElement(
734
734
  'a',
735
735
  { href: '/auth/login' },
736
736
  'I already have an account'
737
737
  )
738
738
  ),
739
- React__default.createElement(
739
+ React.createElement(
740
740
  Form.Group,
741
741
  { as: Col, className: 'text-right' },
742
- !loading && React__default.createElement(
742
+ !loading && React.createElement(
743
743
  Button,
744
744
  { type: 'submit' },
745
745
  'Sign Up'
746
746
  ),
747
- loading && React__default.createElement(
747
+ loading && React.createElement(
748
748
  Button,
749
749
  { variant: 'primary', disabled: true },
750
- React__default.createElement(Spinner, {
750
+ React.createElement(Spinner, {
751
751
  as: 'span',
752
752
  animation: 'border',
753
753
  role: 'status',
754
754
  'aria-hidden': 'true',
755
755
  size: 'sm'
756
756
  }),
757
- React__default.createElement(
757
+ React.createElement(
758
758
  'span',
759
759
  { className: 'sr-only' },
760
760
  'Loading...'
@@ -762,12 +762,12 @@ var SignupForm = function SignupForm(props) {
762
762
  )
763
763
  )
764
764
  ),
765
- errorMsg && React__default.createElement(
765
+ errorMsg && React.createElement(
766
766
  'p',
767
767
  { className: 'error' },
768
768
  errorMsg
769
769
  ),
770
- React__default.createElement(
770
+ React.createElement(
771
771
  'style',
772
772
  { jsx: 'true'.toString() },
773
773
  ' \n .login {\n margin: 0 auto;\n padding: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n }\n .error {\n color: red;\n margin: 1rem 0 0;\n }\n '
@@ -1057,32 +1057,32 @@ var SignupForm$1 = function SignupForm(props) {
1057
1057
  loading = _useState18[0],
1058
1058
  setLoading = _useState18[1];
1059
1059
 
1060
- return React__default.createElement(
1060
+ return React.createElement(
1061
1061
  Form,
1062
1062
  { className: 'login', id: 'signupForm', onSubmit: handleSubmit },
1063
- React__default.createElement(
1063
+ React.createElement(
1064
1064
  'h1',
1065
1065
  null,
1066
1066
  'Profile'
1067
1067
  ),
1068
- React__default.createElement('hr', null),
1069
- userData ? React__default.createElement(
1070
- React__default.Fragment,
1068
+ React.createElement('hr', null),
1069
+ userData ? React.createElement(
1070
+ React.Fragment,
1071
1071
  null,
1072
1072
  returnFormField({ name: 'email', label: 'Email', type: 'email', required: true, readonly: true, default_value: userData.email }),
1073
- React__default.createElement(
1073
+ React.createElement(
1074
1074
  Form.Row,
1075
1075
  null,
1076
1076
  returnFormField({ name: 'password', label: 'Password', type: 'password', groupType: Col, required: false }),
1077
1077
  returnFormField({ name: 'rpassword', label: 'Retype Password', type: 'password', groupType: Col, required: false })
1078
1078
  ),
1079
- React__default.createElement(
1079
+ React.createElement(
1080
1080
  Form.Row,
1081
1081
  null,
1082
1082
  returnFormField({ name: 'first_name', label: 'First Name', type: 'text', groupType: Col, required: true, default_value: userData.shared.first_name }),
1083
1083
  returnFormField({ name: 'last_name', label: 'Last Name', type: 'text', groupType: Col, required: true, default_value: userData.shared.last_name })
1084
1084
  ),
1085
- React__default.createElement(
1085
+ React.createElement(
1086
1086
  Form.Row,
1087
1087
  null,
1088
1088
  returnFormField({
@@ -1097,7 +1097,7 @@ var SignupForm$1 = function SignupForm(props) {
1097
1097
  }),
1098
1098
  countryUS && returnFormField({ name: 'state', label: 'State', type: 'select', required: true, groupType: Col, options: states, default_value: userData.shared.state })
1099
1099
  ),
1100
- React__default.createElement(
1100
+ React.createElement(
1101
1101
  Form.Row,
1102
1102
  null,
1103
1103
  countryUS && returnFormField({ name: 'zip', label: 'Working Zip Code', type: 'text', required: true, groupType: Col, default_value: userData.shared.zip }),
@@ -1147,29 +1147,29 @@ var SignupForm$1 = function SignupForm(props) {
1147
1147
  required: true,
1148
1148
  options: [{ label: 'By registering you agree to our <a href="/terms">Terms and Conditions</a> and <a href="/privacy">Privacy Policy</a> and understand that you will be receiving email communications', value: 'Y' }]
1149
1149
  }),
1150
- React__default.createElement('hr', null),
1151
- React__default.createElement(
1150
+ React.createElement('hr', null),
1151
+ React.createElement(
1152
1152
  Form.Row,
1153
1153
  null,
1154
- React__default.createElement(
1154
+ React.createElement(
1155
1155
  Form.Group,
1156
1156
  { as: Col },
1157
- !loading && React__default.createElement(
1157
+ !loading && React.createElement(
1158
1158
  Button,
1159
1159
  { type: 'submit' },
1160
1160
  'Update'
1161
1161
  ),
1162
- loading && React__default.createElement(
1162
+ loading && React.createElement(
1163
1163
  Button,
1164
1164
  { variant: 'primary', disabled: true },
1165
- React__default.createElement(Spinner, {
1165
+ React.createElement(Spinner, {
1166
1166
  as: 'span',
1167
1167
  animation: 'border',
1168
1168
  role: 'status',
1169
1169
  'aria-hidden': 'true',
1170
1170
  size: 'sm'
1171
1171
  }),
1172
- React__default.createElement(
1172
+ React.createElement(
1173
1173
  'span',
1174
1174
  { className: 'sr-only' },
1175
1175
  'Loading...'
@@ -1177,24 +1177,24 @@ var SignupForm$1 = function SignupForm(props) {
1177
1177
  )
1178
1178
  )
1179
1179
  )
1180
- ) : React__default.createElement(Spinner, {
1180
+ ) : React.createElement(Spinner, {
1181
1181
  as: 'span',
1182
1182
  animation: 'border',
1183
1183
  role: 'status',
1184
1184
  'aria-hidden': 'true',
1185
1185
  size: 'sm'
1186
1186
  }),
1187
- errorMsg && React__default.createElement(
1187
+ errorMsg && React.createElement(
1188
1188
  'p',
1189
1189
  { className: 'error' },
1190
1190
  errorMsg
1191
1191
  ),
1192
- successMsg && React__default.createElement(
1192
+ successMsg && React.createElement(
1193
1193
  'p',
1194
1194
  { className: 'success' },
1195
1195
  successMsg
1196
1196
  ),
1197
- React__default.createElement(
1197
+ React.createElement(
1198
1198
  'style',
1199
1199
  { jsx: 'true'.toString() },
1200
1200
  ' \n .login {\n margin: 0 auto;\n padding: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n }\n .error {\n color: red;\n margin: 1rem 0 0;\n }\n .success {\n color: green;\n margin: 1rem 0 0;\n }\n '
@@ -1536,59 +1536,6 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1536
1536
 
1537
1537
  var defineProperties_1 = defineProperties;
1538
1538
 
1539
- /* eslint complexity: [2, 18], max-statements: [2, 33] */
1540
- var shams = function hasSymbols() {
1541
- if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1542
- if (typeof Symbol.iterator === 'symbol') { return true; }
1543
-
1544
- var obj = {};
1545
- var sym = Symbol('test');
1546
- var symObj = Object(sym);
1547
- if (typeof sym === 'string') { return false; }
1548
-
1549
- if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1550
- if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1551
-
1552
- // temp disabled per https://github.com/ljharb/object.assign/issues/17
1553
- // if (sym instanceof Symbol) { return false; }
1554
- // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1555
- // if (!(symObj instanceof Symbol)) { return false; }
1556
-
1557
- // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1558
- // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1559
-
1560
- var symVal = 42;
1561
- obj[sym] = symVal;
1562
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1563
- if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1564
-
1565
- if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1566
-
1567
- var syms = Object.getOwnPropertySymbols(obj);
1568
- if (syms.length !== 1 || syms[0] !== sym) { return false; }
1569
-
1570
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1571
-
1572
- if (typeof Object.getOwnPropertyDescriptor === 'function') {
1573
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1574
- if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1575
- }
1576
-
1577
- return true;
1578
- };
1579
-
1580
- var origSymbol = commonjsGlobal.Symbol;
1581
-
1582
-
1583
- var hasSymbols$1 = function hasNativeSymbols() {
1584
- if (typeof origSymbol !== 'function') { return false; }
1585
- if (typeof Symbol !== 'function') { return false; }
1586
- if (typeof origSymbol('foo') !== 'symbol') { return false; }
1587
- if (typeof Symbol('bar') !== 'symbol') { return false; }
1588
-
1589
- return shams();
1590
- };
1591
-
1592
1539
  /* eslint no-invalid-this: 1 */
1593
1540
 
1594
1541
  var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
@@ -1642,15 +1589,74 @@ var implementation$1 = function bind(that) {
1642
1589
 
1643
1590
  var functionBind = Function.prototype.bind || implementation$1;
1644
1591
 
1645
- /* globals
1646
- Atomics,
1647
- SharedArrayBuffer,
1648
- */
1592
+ /* eslint complexity: [2, 18], max-statements: [2, 33] */
1593
+ var shams = function hasSymbols() {
1594
+ if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1595
+ if (typeof Symbol.iterator === 'symbol') { return true; }
1596
+
1597
+ var obj = {};
1598
+ var sym = Symbol('test');
1599
+ var symObj = Object(sym);
1600
+ if (typeof sym === 'string') { return false; }
1601
+
1602
+ if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1603
+ if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1604
+
1605
+ // temp disabled per https://github.com/ljharb/object.assign/issues/17
1606
+ // if (sym instanceof Symbol) { return false; }
1607
+ // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1608
+ // if (!(symObj instanceof Symbol)) { return false; }
1609
+
1610
+ // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1611
+ // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1612
+
1613
+ var symVal = 42;
1614
+ obj[sym] = symVal;
1615
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1616
+ if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1617
+
1618
+ if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1619
+
1620
+ var syms = Object.getOwnPropertySymbols(obj);
1621
+ if (syms.length !== 1 || syms[0] !== sym) { return false; }
1622
+
1623
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1624
+
1625
+ if (typeof Object.getOwnPropertyDescriptor === 'function') {
1626
+ var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1627
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1628
+ }
1629
+
1630
+ return true;
1631
+ };
1632
+
1633
+ var origSymbol = commonjsGlobal.Symbol;
1634
+
1635
+
1636
+ var hasSymbols$1 = function hasNativeSymbols() {
1637
+ if (typeof origSymbol !== 'function') { return false; }
1638
+ if (typeof Symbol !== 'function') { return false; }
1639
+ if (typeof origSymbol('foo') !== 'symbol') { return false; }
1640
+ if (typeof Symbol('bar') !== 'symbol') { return false; }
1641
+
1642
+ return shams();
1643
+ };
1644
+
1645
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1649
1646
 
1650
1647
  var undefined$1;
1651
1648
 
1649
+ var $SyntaxError = SyntaxError;
1650
+ var $Function = Function;
1652
1651
  var $TypeError = TypeError;
1653
1652
 
1653
+ // eslint-disable-next-line consistent-return
1654
+ var getEvalledConstructor = function (expressionSyntax) {
1655
+ try {
1656
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1657
+ } catch (e) {}
1658
+ };
1659
+
1654
1660
  var $gOPD = Object.getOwnPropertyDescriptor;
1655
1661
  if ($gOPD) {
1656
1662
  try {
@@ -1660,7 +1666,9 @@ if ($gOPD) {
1660
1666
  }
1661
1667
  }
1662
1668
 
1663
- var throwTypeError = function () { throw new $TypeError(); };
1669
+ var throwTypeError = function () {
1670
+ throw new $TypeError();
1671
+ };
1664
1672
  var ThrowTypeError = $gOPD
1665
1673
  ? (function () {
1666
1674
  try {
@@ -1681,203 +1689,351 @@ var ThrowTypeError = $gOPD
1681
1689
  var hasSymbols$2 = hasSymbols$1();
1682
1690
 
1683
1691
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1684
- var generatorFunction = undefined$1;
1685
- var asyncFunction = undefined$1;
1686
- var asyncGenFunction = undefined$1;
1692
+
1693
+ var needsEval = {};
1687
1694
 
1688
1695
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1689
1696
 
1690
1697
  var INTRINSICS = {
1698
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1691
1699
  '%Array%': Array,
1692
1700
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1693
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1694
1701
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1695
- '%ArrayPrototype%': Array.prototype,
1696
- '%ArrayProto_entries%': Array.prototype.entries,
1697
- '%ArrayProto_forEach%': Array.prototype.forEach,
1698
- '%ArrayProto_keys%': Array.prototype.keys,
1699
- '%ArrayProto_values%': Array.prototype.values,
1700
1702
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1701
- '%AsyncFunction%': asyncFunction,
1702
- '%AsyncFunctionPrototype%': undefined$1,
1703
- '%AsyncGenerator%': undefined$1,
1704
- '%AsyncGeneratorFunction%': asyncGenFunction,
1705
- '%AsyncGeneratorPrototype%': undefined$1,
1706
- '%AsyncIteratorPrototype%': undefined$1,
1703
+ '%AsyncFunction%': needsEval,
1704
+ '%AsyncGenerator%': needsEval,
1705
+ '%AsyncGeneratorFunction%': needsEval,
1706
+ '%AsyncIteratorPrototype%': needsEval,
1707
1707
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1708
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1708
1709
  '%Boolean%': Boolean,
1709
- '%BooleanPrototype%': Boolean.prototype,
1710
1710
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1711
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1712
1711
  '%Date%': Date,
1713
- '%DatePrototype%': Date.prototype,
1714
1712
  '%decodeURI%': decodeURI,
1715
1713
  '%decodeURIComponent%': decodeURIComponent,
1716
1714
  '%encodeURI%': encodeURI,
1717
1715
  '%encodeURIComponent%': encodeURIComponent,
1718
1716
  '%Error%': Error,
1719
- '%ErrorPrototype%': Error.prototype,
1720
1717
  '%eval%': eval, // eslint-disable-line no-eval
1721
1718
  '%EvalError%': EvalError,
1722
- '%EvalErrorPrototype%': EvalError.prototype,
1723
1719
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1724
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1725
1720
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1726
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1727
- '%Function%': Function,
1728
- '%FunctionPrototype%': Function.prototype,
1729
- '%Generator%': undefined$1,
1730
- '%GeneratorFunction%': generatorFunction,
1731
- '%GeneratorPrototype%': undefined$1,
1721
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1722
+ '%Function%': $Function,
1723
+ '%GeneratorFunction%': needsEval,
1732
1724
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1733
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1734
1725
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1735
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1736
1726
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1737
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1738
1727
  '%isFinite%': isFinite,
1739
1728
  '%isNaN%': isNaN,
1740
1729
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1741
1730
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1742
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1743
1731
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1744
1732
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1745
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1746
1733
  '%Math%': Math,
1747
1734
  '%Number%': Number,
1748
- '%NumberPrototype%': Number.prototype,
1749
1735
  '%Object%': Object,
1750
- '%ObjectPrototype%': Object.prototype,
1751
- '%ObjProto_toString%': Object.prototype.toString,
1752
- '%ObjProto_valueOf%': Object.prototype.valueOf,
1753
1736
  '%parseFloat%': parseFloat,
1754
1737
  '%parseInt%': parseInt,
1755
1738
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1756
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1757
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1758
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1759
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1760
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1761
1739
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1762
1740
  '%RangeError%': RangeError,
1763
- '%RangeErrorPrototype%': RangeError.prototype,
1764
1741
  '%ReferenceError%': ReferenceError,
1765
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
1766
1742
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1767
1743
  '%RegExp%': RegExp,
1768
- '%RegExpPrototype%': RegExp.prototype,
1769
1744
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1770
1745
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1771
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1772
1746
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1773
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1774
1747
  '%String%': String,
1775
1748
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1776
- '%StringPrototype%': String.prototype,
1777
1749
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1778
- '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1779
- '%SyntaxError%': SyntaxError,
1780
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
1750
+ '%SyntaxError%': $SyntaxError,
1781
1751
  '%ThrowTypeError%': ThrowTypeError,
1782
1752
  '%TypedArray%': TypedArray,
1783
- '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1784
1753
  '%TypeError%': $TypeError,
1785
- '%TypeErrorPrototype%': $TypeError.prototype,
1786
1754
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1787
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1788
1755
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1789
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1790
1756
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1791
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1792
1757
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1793
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1794
1758
  '%URIError%': URIError,
1795
- '%URIErrorPrototype%': URIError.prototype,
1796
1759
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1797
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1798
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1799
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1760
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1761
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1762
+ };
1763
+
1764
+ var doEval = function doEval(name) {
1765
+ var value;
1766
+ if (name === '%AsyncFunction%') {
1767
+ value = getEvalledConstructor('async function () {}');
1768
+ } else if (name === '%GeneratorFunction%') {
1769
+ value = getEvalledConstructor('function* () {}');
1770
+ } else if (name === '%AsyncGeneratorFunction%') {
1771
+ value = getEvalledConstructor('async function* () {}');
1772
+ } else if (name === '%AsyncGenerator%') {
1773
+ var fn = doEval('%AsyncGeneratorFunction%');
1774
+ if (fn) {
1775
+ value = fn.prototype;
1776
+ }
1777
+ } else if (name === '%AsyncIteratorPrototype%') {
1778
+ var gen = doEval('%AsyncGenerator%');
1779
+ if (gen) {
1780
+ value = getProto(gen.prototype);
1781
+ }
1782
+ }
1783
+
1784
+ INTRINSICS[name] = value;
1785
+
1786
+ return value;
1800
1787
  };
1801
1788
 
1789
+ var LEGACY_ALIASES = {
1790
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1791
+ '%ArrayPrototype%': ['Array', 'prototype'],
1792
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1793
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1794
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1795
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1796
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1797
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1798
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1799
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1800
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1801
+ '%DatePrototype%': ['Date', 'prototype'],
1802
+ '%ErrorPrototype%': ['Error', 'prototype'],
1803
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1804
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1805
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1806
+ '%FunctionPrototype%': ['Function', 'prototype'],
1807
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1808
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1809
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1810
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1811
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1812
+ '%JSONParse%': ['JSON', 'parse'],
1813
+ '%JSONStringify%': ['JSON', 'stringify'],
1814
+ '%MapPrototype%': ['Map', 'prototype'],
1815
+ '%NumberPrototype%': ['Number', 'prototype'],
1816
+ '%ObjectPrototype%': ['Object', 'prototype'],
1817
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1818
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1819
+ '%PromisePrototype%': ['Promise', 'prototype'],
1820
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1821
+ '%Promise_all%': ['Promise', 'all'],
1822
+ '%Promise_reject%': ['Promise', 'reject'],
1823
+ '%Promise_resolve%': ['Promise', 'resolve'],
1824
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1825
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1826
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1827
+ '%SetPrototype%': ['Set', 'prototype'],
1828
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1829
+ '%StringPrototype%': ['String', 'prototype'],
1830
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1831
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1832
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1833
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1834
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1835
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1836
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1837
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1838
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1839
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1840
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1841
+ };
1842
+
1843
+
1802
1844
 
1845
+ var $concat = functionBind.call(Function.call, Array.prototype.concat);
1846
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1803
1847
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1848
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1804
1849
 
1805
1850
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1806
1851
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1807
1852
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1808
1853
  var stringToPath = function stringToPath(string) {
1854
+ var first = $strSlice(string, 0, 1);
1855
+ var last = $strSlice(string, -1);
1856
+ if (first === '%' && last !== '%') {
1857
+ throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
1858
+ } else if (last === '%' && first !== '%') {
1859
+ throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
1860
+ }
1809
1861
  var result = [];
1810
1862
  $replace(string, rePropName, function (match, number, quote, subString) {
1811
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1863
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1812
1864
  });
1813
1865
  return result;
1814
1866
  };
1815
1867
  /* end adaptation */
1816
1868
 
1817
1869
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1818
- if (!(name in INTRINSICS)) {
1819
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1870
+ var intrinsicName = name;
1871
+ var alias;
1872
+ if (src(LEGACY_ALIASES, intrinsicName)) {
1873
+ alias = LEGACY_ALIASES[intrinsicName];
1874
+ intrinsicName = '%' + alias[0] + '%';
1820
1875
  }
1821
1876
 
1822
- // istanbul ignore if // hopefully this is impossible to test :-)
1823
- if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
1824
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1877
+ if (src(INTRINSICS, intrinsicName)) {
1878
+ var value = INTRINSICS[intrinsicName];
1879
+ if (value === needsEval) {
1880
+ value = doEval(intrinsicName);
1881
+ }
1882
+ if (typeof value === 'undefined' && !allowMissing) {
1883
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1884
+ }
1885
+
1886
+ return {
1887
+ alias: alias,
1888
+ name: intrinsicName,
1889
+ value: value
1890
+ };
1825
1891
  }
1826
1892
 
1827
- return INTRINSICS[name];
1893
+ throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
1828
1894
  };
1829
1895
 
1830
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1896
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1831
1897
  if (typeof name !== 'string' || name.length === 0) {
1832
- throw new TypeError('intrinsic name must be a non-empty string');
1898
+ throw new $TypeError('intrinsic name must be a non-empty string');
1833
1899
  }
1834
1900
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1835
- throw new TypeError('"allowMissing" argument must be a boolean');
1901
+ throw new $TypeError('"allowMissing" argument must be a boolean');
1836
1902
  }
1837
1903
 
1838
1904
  var parts = stringToPath(name);
1905
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1839
1906
 
1840
- var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
1841
- for (var i = 1; i < parts.length; i += 1) {
1842
- if (value != null) {
1843
- if ($gOPD && (i + 1) >= parts.length) {
1844
- var desc = $gOPD(value, parts[i]);
1845
- if (!allowMissing && !(parts[i] in value)) {
1907
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1908
+ var intrinsicRealName = intrinsic.name;
1909
+ var value = intrinsic.value;
1910
+ var skipFurtherCaching = false;
1911
+
1912
+ var alias = intrinsic.alias;
1913
+ if (alias) {
1914
+ intrinsicBaseName = alias[0];
1915
+ $spliceApply(parts, $concat([0, 1], alias));
1916
+ }
1917
+
1918
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1919
+ var part = parts[i];
1920
+ var first = $strSlice(part, 0, 1);
1921
+ var last = $strSlice(part, -1);
1922
+ if (
1923
+ (
1924
+ (first === '"' || first === "'" || first === '`')
1925
+ || (last === '"' || last === "'" || last === '`')
1926
+ )
1927
+ && first !== last
1928
+ ) {
1929
+ throw new $SyntaxError('property names with quotes must have matching quotes');
1930
+ }
1931
+ if (part === 'constructor' || !isOwn) {
1932
+ skipFurtherCaching = true;
1933
+ }
1934
+
1935
+ intrinsicBaseName += '.' + part;
1936
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
1937
+
1938
+ if (src(INTRINSICS, intrinsicRealName)) {
1939
+ value = INTRINSICS[intrinsicRealName];
1940
+ } else if (value != null) {
1941
+ if (!(part in value)) {
1942
+ if (!allowMissing) {
1846
1943
  throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1847
1944
  }
1848
- value = desc ? (desc.get || desc.value) : value[parts[i]];
1945
+ return void undefined$1;
1946
+ }
1947
+ if ($gOPD && (i + 1) >= parts.length) {
1948
+ var desc = $gOPD(value, part);
1949
+ isOwn = !!desc;
1950
+
1951
+ // By convention, when a data property is converted to an accessor
1952
+ // property to emulate a data property that does not suffer from
1953
+ // the override mistake, that accessor's getter is marked with
1954
+ // an `originalValue` property. Here, when we detect this, we
1955
+ // uphold the illusion by pretending to see that original data
1956
+ // property, i.e., returning the value rather than the getter
1957
+ // itself.
1958
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1959
+ value = desc.get;
1960
+ } else {
1961
+ value = value[part];
1962
+ }
1849
1963
  } else {
1850
- value = value[parts[i]];
1964
+ isOwn = src(value, part);
1965
+ value = value[part];
1966
+ }
1967
+
1968
+ if (isOwn && !skipFurtherCaching) {
1969
+ INTRINSICS[intrinsicRealName] = value;
1851
1970
  }
1852
1971
  }
1853
1972
  }
1854
1973
  return value;
1855
1974
  };
1856
1975
 
1857
- var $Function = GetIntrinsic('%Function%');
1858
- var $apply = $Function.apply;
1859
- var $call = $Function.call;
1976
+ var callBind = createCommonjsModule(function (module) {
1977
+
1978
+
1979
+
1860
1980
 
1861
- var callBind = function callBind() {
1862
- return functionBind.apply($call, arguments);
1981
+ var $apply = getIntrinsic('%Function.prototype.apply%');
1982
+ var $call = getIntrinsic('%Function.prototype.call%');
1983
+ var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1984
+
1985
+ var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1986
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1987
+ var $max = getIntrinsic('%Math.max%');
1988
+
1989
+ if ($defineProperty) {
1990
+ try {
1991
+ $defineProperty({}, 'a', { value: 1 });
1992
+ } catch (e) {
1993
+ // IE 8 has a broken defineProperty
1994
+ $defineProperty = null;
1995
+ }
1996
+ }
1997
+
1998
+ module.exports = function callBind(originalFunction) {
1999
+ var func = $reflectApply(functionBind, $call, arguments);
2000
+ if ($gOPD && $defineProperty) {
2001
+ var desc = $gOPD(func, 'length');
2002
+ if (desc.configurable) {
2003
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
2004
+ $defineProperty(
2005
+ func,
2006
+ 'length',
2007
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2008
+ );
2009
+ }
2010
+ }
2011
+ return func;
1863
2012
  };
1864
2013
 
1865
- var apply = function applyBind() {
1866
- return functionBind.apply($apply, arguments);
2014
+ var applyBind = function applyBind() {
2015
+ return $reflectApply(functionBind, $apply, arguments);
1867
2016
  };
1868
- callBind.apply = apply;
1869
2017
 
1870
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2018
+ if ($defineProperty) {
2019
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2020
+ } else {
2021
+ module.exports.apply = applyBind;
2022
+ }
2023
+ });
2024
+ callBind.apply;
2025
+
2026
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
1871
2027
 
1872
2028
  var callBound = function callBoundIntrinsic(name, allowMissing) {
1873
- var intrinsic = GetIntrinsic(name, !!allowMissing);
1874
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2029
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2030
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1875
2031
  return callBind(intrinsic);
1876
2032
  }
1877
2033
  return intrinsic;
1878
2034
  };
1879
2035
 
1880
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2036
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1881
2037
 
1882
2038
  if ($defineProperty) {
1883
2039
  try {
@@ -1919,10 +2075,8 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1919
2075
  return true;
1920
2076
  };
1921
2077
 
1922
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1923
-
1924
- var $TypeError$1 = GetIntrinsic('%TypeError%');
1925
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2078
+ var $TypeError$1 = getIntrinsic('%TypeError%');
2079
+ var $SyntaxError$1 = getIntrinsic('%SyntaxError%');
1926
2080
 
1927
2081
 
1928
2082
 
@@ -1959,14 +2113,14 @@ var predicates = {
1959
2113
  var assertRecord = function assertRecord(Type, recordType, argumentName, value) {
1960
2114
  var predicate = predicates[recordType];
1961
2115
  if (typeof predicate !== 'function') {
1962
- throw new $SyntaxError('unknown record type: ' + recordType);
2116
+ throw new $SyntaxError$1('unknown record type: ' + recordType);
1963
2117
  }
1964
2118
  if (!predicate(Type, value)) {
1965
2119
  throw new $TypeError$1(argumentName + ' must be a ' + recordType);
1966
2120
  }
1967
2121
  };
1968
2122
 
1969
- // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2123
+ // https://ecma-international.org/ecma-262/5.1/#sec-8
1970
2124
 
1971
2125
  var Type = function Type(x) {
1972
2126
  if (x === null) {
@@ -1989,16 +2143,19 @@ var Type = function Type(x) {
1989
2143
  }
1990
2144
  };
1991
2145
 
1992
- // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2146
+ // https://ecma-international.org/ecma-262/11.0/#sec-ecmascript-data-types-and-values
1993
2147
 
1994
2148
  var Type$1 = function Type$1(x) {
1995
2149
  if (typeof x === 'symbol') {
1996
2150
  return 'Symbol';
1997
2151
  }
2152
+ if (typeof x === 'bigint') {
2153
+ return 'BigInt';
2154
+ }
1998
2155
  return Type(x);
1999
2156
  };
2000
2157
 
2001
- // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2158
+ // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2002
2159
 
2003
2160
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2004
2161
  if (typeof Desc === 'undefined') {
@@ -2029,7 +2186,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2029
2186
  return obj;
2030
2187
  };
2031
2188
 
2032
- var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2189
+ var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2033
2190
  if ($gOPD$1) {
2034
2191
  try {
2035
2192
  $gOPD$1([], 'length');
@@ -2041,65 +2198,85 @@ if ($gOPD$1) {
2041
2198
 
2042
2199
  var getOwnPropertyDescriptor = $gOPD$1;
2043
2200
 
2044
- var $Array = GetIntrinsic('%Array%');
2201
+ var $Array = getIntrinsic('%Array%');
2045
2202
 
2046
2203
  // eslint-disable-next-line global-require
2047
2204
  var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2048
2205
 
2049
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2206
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2050
2207
 
2051
2208
  var IsArray = $Array.isArray || function IsArray(argument) {
2052
2209
  return toStr$4(argument) === '[object Array]';
2053
2210
  };
2054
2211
 
2055
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2212
+ // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2056
2213
 
2057
2214
  var IsPropertyKey = function IsPropertyKey(argument) {
2058
2215
  return typeof argument === 'string' || typeof argument === 'symbol';
2059
2216
  };
2060
2217
 
2061
- var regexExec = RegExp.prototype.exec;
2062
- var gOPD = Object.getOwnPropertyDescriptor;
2063
-
2064
- var tryRegexExecCall = function tryRegexExec(value) {
2065
- try {
2066
- var lastIndex = value.lastIndex;
2067
- value.lastIndex = 0; // eslint-disable-line no-param-reassign
2218
+ var hasSymbols$3 = hasSymbols$1();
2219
+ var hasToStringTag = hasSymbols$3 && typeof Symbol.toStringTag === 'symbol';
2220
+ var has$1;
2221
+ var $exec;
2222
+ var isRegexMarker;
2223
+ var badStringifier;
2224
+
2225
+ if (hasToStringTag) {
2226
+ has$1 = callBound('Object.prototype.hasOwnProperty');
2227
+ $exec = callBound('RegExp.prototype.exec');
2228
+ isRegexMarker = {};
2229
+
2230
+ var throwRegexMarker = function () {
2231
+ throw isRegexMarker;
2232
+ };
2233
+ badStringifier = {
2234
+ toString: throwRegexMarker,
2235
+ valueOf: throwRegexMarker
2236
+ };
2068
2237
 
2069
- regexExec.call(value);
2070
- return true;
2071
- } catch (e) {
2072
- return false;
2073
- } finally {
2074
- value.lastIndex = lastIndex; // eslint-disable-line no-param-reassign
2238
+ if (typeof Symbol.toPrimitive === 'symbol') {
2239
+ badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2075
2240
  }
2076
- };
2077
- var toStr$5 = Object.prototype.toString;
2241
+ }
2242
+
2243
+ var $toString = callBound('Object.prototype.toString');
2244
+ var gOPD = Object.getOwnPropertyDescriptor;
2078
2245
  var regexClass = '[object RegExp]';
2079
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2080
2246
 
2081
- var isRegex = function isRegex(value) {
2082
- if (!value || typeof value !== 'object') {
2083
- return false;
2084
- }
2085
- if (!hasToStringTag) {
2086
- return toStr$5.call(value) === regexClass;
2087
- }
2247
+ var isRegex = hasToStringTag
2248
+ // eslint-disable-next-line consistent-return
2249
+ ? function isRegex(value) {
2250
+ if (!value || typeof value !== 'object') {
2251
+ return false;
2252
+ }
2088
2253
 
2089
- var descriptor = gOPD(value, 'lastIndex');
2090
- var hasLastIndexDataProperty = descriptor && src(descriptor, 'value');
2091
- if (!hasLastIndexDataProperty) {
2092
- return false;
2254
+ var descriptor = gOPD(value, 'lastIndex');
2255
+ var hasLastIndexDataProperty = descriptor && has$1(descriptor, 'value');
2256
+ if (!hasLastIndexDataProperty) {
2257
+ return false;
2258
+ }
2259
+
2260
+ try {
2261
+ $exec(value, badStringifier);
2262
+ } catch (e) {
2263
+ return e === isRegexMarker;
2264
+ }
2093
2265
  }
2266
+ : function isRegex(value) {
2267
+ // In older browsers, typeof regex incorrectly returns 'function'
2268
+ if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
2269
+ return false;
2270
+ }
2094
2271
 
2095
- return tryRegexExecCall(value);
2096
- };
2272
+ return $toString(value) === regexClass;
2273
+ };
2097
2274
 
2098
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2275
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.2
2099
2276
 
2100
2277
  var ToBoolean = function ToBoolean(value) { return !!value; };
2101
2278
 
2102
- var $match = GetIntrinsic('%Symbol.match%', true);
2279
+ var $match = getIntrinsic('%Symbol.match%', true);
2103
2280
 
2104
2281
 
2105
2282
 
@@ -2121,6 +2298,27 @@ var IsRegExp = function IsRegExp(argument) {
2121
2298
  };
2122
2299
 
2123
2300
  var fnToStr = Function.prototype.toString;
2301
+ var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
2302
+ var badArrayLike;
2303
+ var isCallableMarker;
2304
+ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
2305
+ try {
2306
+ badArrayLike = Object.defineProperty({}, 'length', {
2307
+ get: function () {
2308
+ throw isCallableMarker;
2309
+ }
2310
+ });
2311
+ isCallableMarker = {};
2312
+ // eslint-disable-next-line no-throw-literal
2313
+ reflectApply(function () { throw 42; }, null, badArrayLike);
2314
+ } catch (_) {
2315
+ if (_ !== isCallableMarker) {
2316
+ reflectApply = null;
2317
+ }
2318
+ }
2319
+ } else {
2320
+ reflectApply = null;
2321
+ }
2124
2322
 
2125
2323
  var constructorRegex = /^\s*class\b/;
2126
2324
  var isES6ClassFn = function isES6ClassFunction(value) {
@@ -2141,26 +2339,42 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2141
2339
  return false;
2142
2340
  }
2143
2341
  };
2144
- var toStr$6 = Object.prototype.toString;
2342
+ var toStr$5 = Object.prototype.toString;
2145
2343
  var fnClass = '[object Function]';
2146
2344
  var genClass = '[object GeneratorFunction]';
2147
2345
  var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2346
+ /* globals document: false */
2347
+ var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2348
+
2349
+ var isCallable = reflectApply
2350
+ ? function isCallable(value) {
2351
+ if (value === documentDotAll) { return true; }
2352
+ if (!value) { return false; }
2353
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2354
+ if (typeof value === 'function' && !value.prototype) { return true; }
2355
+ try {
2356
+ reflectApply(value, null, badArrayLike);
2357
+ } catch (e) {
2358
+ if (e !== isCallableMarker) { return false; }
2359
+ }
2360
+ return !isES6ClassFn(value);
2361
+ }
2362
+ : function isCallable(value) {
2363
+ if (value === documentDotAll) { return true; }
2364
+ if (!value) { return false; }
2365
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2366
+ if (typeof value === 'function' && !value.prototype) { return true; }
2367
+ if (hasToStringTag$1) { return tryFunctionObject(value); }
2368
+ if (isES6ClassFn(value)) { return false; }
2369
+ var strClass = toStr$5.call(value);
2370
+ return strClass === fnClass || strClass === genClass;
2371
+ };
2148
2372
 
2149
- var isCallable = function isCallable(value) {
2150
- if (!value) { return false; }
2151
- if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2152
- if (typeof value === 'function' && !value.prototype) { return true; }
2153
- if (hasToStringTag$1) { return tryFunctionObject(value); }
2154
- if (isES6ClassFn(value)) { return false; }
2155
- var strClass = toStr$6.call(value);
2156
- return strClass === fnClass || strClass === genClass;
2157
- };
2158
-
2159
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2373
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.11
2160
2374
 
2161
2375
  var IsCallable = isCallable;
2162
2376
 
2163
- var $TypeError$2 = GetIntrinsic('%TypeError%');
2377
+ var $TypeError$2 = getIntrinsic('%TypeError%');
2164
2378
 
2165
2379
 
2166
2380
 
@@ -2189,7 +2403,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2189
2403
  if (src(Obj, 'get')) {
2190
2404
  var getter = Obj.get;
2191
2405
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2192
- throw new TypeError('getter must be a function');
2406
+ throw new $TypeError$2('getter must be a function');
2193
2407
  }
2194
2408
  desc['[[Get]]'] = getter;
2195
2409
  }
@@ -2207,7 +2421,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2207
2421
  return desc;
2208
2422
  };
2209
2423
 
2210
- var $TypeError$3 = GetIntrinsic('%TypeError%');
2424
+ var $TypeError$3 = getIntrinsic('%TypeError%');
2211
2425
 
2212
2426
 
2213
2427
 
@@ -2221,7 +2435,7 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2221
2435
 
2222
2436
 
2223
2437
 
2224
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2438
+ // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2225
2439
 
2226
2440
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2227
2441
  if (Type$1(O) !== 'Object') {
@@ -2247,7 +2461,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2247
2461
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2248
2462
  };
2249
2463
 
2250
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2464
+ // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2251
2465
 
2252
2466
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2253
2467
  if (typeof Desc === 'undefined') {
@@ -2267,14 +2481,14 @@ var isPrimitive = function isPrimitive(value) {
2267
2481
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2268
2482
  };
2269
2483
 
2270
- var $Object = GetIntrinsic('%Object%');
2484
+ var $Object = getIntrinsic('%Object%');
2271
2485
 
2272
2486
 
2273
2487
 
2274
2488
  var $preventExtensions = $Object.preventExtensions;
2275
2489
  var $isExtensible = $Object.isExtensible;
2276
2490
 
2277
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2491
+ // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2278
2492
 
2279
2493
  var IsExtensible = $preventExtensions
2280
2494
  ? function IsExtensible(obj) {
@@ -2288,7 +2502,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2288
2502
  return a !== a;
2289
2503
  };
2290
2504
 
2291
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2505
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.12
2292
2506
 
2293
2507
  var SameValue = function SameValue(x, y) {
2294
2508
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2298,7 +2512,7 @@ var SameValue = function SameValue(x, y) {
2298
2512
  return _isNaN(x) && _isNaN(y);
2299
2513
  };
2300
2514
 
2301
- var $TypeError$4 = GetIntrinsic('%TypeError%');
2515
+ var $TypeError$4 = getIntrinsic('%TypeError%');
2302
2516
 
2303
2517
 
2304
2518
 
@@ -2310,7 +2524,7 @@ var $TypeError$4 = GetIntrinsic('%TypeError%');
2310
2524
 
2311
2525
 
2312
2526
 
2313
- // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2527
+ // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2314
2528
 
2315
2529
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2316
2530
  if (Type$1(O) !== 'Object') {
@@ -2320,8 +2534,8 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2320
2534
  throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2321
2535
  }
2322
2536
  var oldDesc = OrdinaryGetOwnProperty(O, P);
2323
- var extensible = oldDesc || IsExtensible(O);
2324
- var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable);
2537
+ var extensible = !oldDesc || IsExtensible(O);
2538
+ var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
2325
2539
  if (immutable || !extensible) {
2326
2540
  return false;
2327
2541
  }
@@ -2340,9 +2554,9 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2340
2554
  );
2341
2555
  };
2342
2556
 
2343
- var $TypeError$5 = GetIntrinsic('%TypeError%');
2557
+ var $TypeError$5 = getIntrinsic('%TypeError%');
2344
2558
 
2345
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2559
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.10
2346
2560
 
2347
2561
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2348
2562
  if (value == null) {
@@ -2353,11 +2567,11 @@ var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2353
2567
 
2354
2568
  var RequireObjectCoercible = CheckObjectCoercible;
2355
2569
 
2356
- var $Object$1 = GetIntrinsic('%Object%');
2570
+ var $Object$1 = getIntrinsic('%Object%');
2357
2571
 
2358
2572
 
2359
2573
 
2360
- // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2574
+ // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2361
2575
 
2362
2576
  var ToObject = function ToObject(value) {
2363
2577
  RequireObjectCoercible(value);
@@ -2367,10 +2581,10 @@ var ToObject = function ToObject(value) {
2367
2581
  var $gOPD$2 = Object.getOwnPropertyDescriptor;
2368
2582
  var $getOwnNames = Object.getOwnPropertyNames;
2369
2583
  var $getSymbols = Object.getOwnPropertySymbols;
2370
- var $concat = callBound('Array.prototype.concat');
2584
+ var $concat$1 = callBound('Array.prototype.concat');
2371
2585
  var $reduce = callBound('Array.prototype.reduce');
2372
2586
  var getAll = $getSymbols ? function (obj) {
2373
- return $concat($getOwnNames(obj), $getSymbols(obj));
2587
+ return $concat$1($getOwnNames(obj), $getSymbols(obj));
2374
2588
  } : $getOwnNames;
2375
2589
 
2376
2590
  var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
@@ -2409,13 +2623,281 @@ var shim = function shimGetOwnPropertyDescriptors() {
2409
2623
  return polyfill$1;
2410
2624
  };
2411
2625
 
2412
- defineProperties_1(implementation$2, {
2626
+ var bound = callBind(polyfill(), Object);
2627
+
2628
+ defineProperties_1(bound, {
2413
2629
  getPolyfill: polyfill,
2414
2630
  implementation: implementation$2,
2415
2631
  shim: shim
2416
2632
  });
2417
2633
 
2418
- var object_getownpropertydescriptors = implementation$2;
2634
+ var object_getownpropertydescriptors = bound;
2635
+
2636
+ /* globals
2637
+ Atomics,
2638
+ SharedArrayBuffer,
2639
+ */
2640
+
2641
+ var undefined$2;
2642
+
2643
+ var $TypeError$6 = TypeError;
2644
+
2645
+ var $gOPD$3 = Object.getOwnPropertyDescriptor;
2646
+ if ($gOPD$3) {
2647
+ try {
2648
+ $gOPD$3({}, '');
2649
+ } catch (e) {
2650
+ $gOPD$3 = null; // this is IE 8, which has a broken gOPD
2651
+ }
2652
+ }
2653
+
2654
+ var throwTypeError$1 = function () { throw new $TypeError$6(); };
2655
+ var ThrowTypeError$1 = $gOPD$3
2656
+ ? (function () {
2657
+ try {
2658
+ // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
2659
+ arguments.callee; // IE 8 does not throw here
2660
+ return throwTypeError$1;
2661
+ } catch (calleeThrows) {
2662
+ try {
2663
+ // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
2664
+ return $gOPD$3(arguments, 'callee').get;
2665
+ } catch (gOPDthrows) {
2666
+ return throwTypeError$1;
2667
+ }
2668
+ }
2669
+ }())
2670
+ : throwTypeError$1;
2671
+
2672
+ var hasSymbols$4 = hasSymbols$1();
2673
+
2674
+ var getProto$1 = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
2675
+ var generatorFunction = undefined$2;
2676
+ var asyncFunction = undefined$2;
2677
+ var asyncGenFunction = undefined$2;
2678
+
2679
+ var TypedArray$1 = typeof Uint8Array === 'undefined' ? undefined$2 : getProto$1(Uint8Array);
2680
+
2681
+ var INTRINSICS$1 = {
2682
+ '%Array%': Array,
2683
+ '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer,
2684
+ '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer.prototype,
2685
+ '%ArrayIteratorPrototype%': hasSymbols$4 ? getProto$1([][Symbol.iterator]()) : undefined$2,
2686
+ '%ArrayPrototype%': Array.prototype,
2687
+ '%ArrayProto_entries%': Array.prototype.entries,
2688
+ '%ArrayProto_forEach%': Array.prototype.forEach,
2689
+ '%ArrayProto_keys%': Array.prototype.keys,
2690
+ '%ArrayProto_values%': Array.prototype.values,
2691
+ '%AsyncFromSyncIteratorPrototype%': undefined$2,
2692
+ '%AsyncFunction%': asyncFunction,
2693
+ '%AsyncFunctionPrototype%': undefined$2,
2694
+ '%AsyncGenerator%': undefined$2,
2695
+ '%AsyncGeneratorFunction%': asyncGenFunction,
2696
+ '%AsyncGeneratorPrototype%': undefined$2,
2697
+ '%AsyncIteratorPrototype%': undefined$2,
2698
+ '%Atomics%': typeof Atomics === 'undefined' ? undefined$2 : Atomics,
2699
+ '%Boolean%': Boolean,
2700
+ '%BooleanPrototype%': Boolean.prototype,
2701
+ '%DataView%': typeof DataView === 'undefined' ? undefined$2 : DataView,
2702
+ '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$2 : DataView.prototype,
2703
+ '%Date%': Date,
2704
+ '%DatePrototype%': Date.prototype,
2705
+ '%decodeURI%': decodeURI,
2706
+ '%decodeURIComponent%': decodeURIComponent,
2707
+ '%encodeURI%': encodeURI,
2708
+ '%encodeURIComponent%': encodeURIComponent,
2709
+ '%Error%': Error,
2710
+ '%ErrorPrototype%': Error.prototype,
2711
+ '%eval%': eval, // eslint-disable-line no-eval
2712
+ '%EvalError%': EvalError,
2713
+ '%EvalErrorPrototype%': EvalError.prototype,
2714
+ '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$2 : Float32Array,
2715
+ '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$2 : Float32Array.prototype,
2716
+ '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$2 : Float64Array,
2717
+ '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$2 : Float64Array.prototype,
2718
+ '%Function%': Function,
2719
+ '%FunctionPrototype%': Function.prototype,
2720
+ '%Generator%': undefined$2,
2721
+ '%GeneratorFunction%': generatorFunction,
2722
+ '%GeneratorPrototype%': undefined$2,
2723
+ '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array,
2724
+ '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array.prototype,
2725
+ '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$2 : Int16Array,
2726
+ '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$2 : Int8Array.prototype,
2727
+ '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array,
2728
+ '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array.prototype,
2729
+ '%isFinite%': isFinite,
2730
+ '%isNaN%': isNaN,
2731
+ '%IteratorPrototype%': hasSymbols$4 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
2732
+ '%JSON%': typeof JSON === 'object' ? JSON : undefined$2,
2733
+ '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$2,
2734
+ '%Map%': typeof Map === 'undefined' ? undefined$2 : Map,
2735
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
2736
+ '%MapPrototype%': typeof Map === 'undefined' ? undefined$2 : Map.prototype,
2737
+ '%Math%': Math,
2738
+ '%Number%': Number,
2739
+ '%NumberPrototype%': Number.prototype,
2740
+ '%Object%': Object,
2741
+ '%ObjectPrototype%': Object.prototype,
2742
+ '%ObjProto_toString%': Object.prototype.toString,
2743
+ '%ObjProto_valueOf%': Object.prototype.valueOf,
2744
+ '%parseFloat%': parseFloat,
2745
+ '%parseInt%': parseInt,
2746
+ '%Promise%': typeof Promise === 'undefined' ? undefined$2 : Promise,
2747
+ '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$2 : Promise.prototype,
2748
+ '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$2 : Promise.prototype.then,
2749
+ '%Promise_all%': typeof Promise === 'undefined' ? undefined$2 : Promise.all,
2750
+ '%Promise_reject%': typeof Promise === 'undefined' ? undefined$2 : Promise.reject,
2751
+ '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$2 : Promise.resolve,
2752
+ '%Proxy%': typeof Proxy === 'undefined' ? undefined$2 : Proxy,
2753
+ '%RangeError%': RangeError,
2754
+ '%RangeErrorPrototype%': RangeError.prototype,
2755
+ '%ReferenceError%': ReferenceError,
2756
+ '%ReferenceErrorPrototype%': ReferenceError.prototype,
2757
+ '%Reflect%': typeof Reflect === 'undefined' ? undefined$2 : Reflect,
2758
+ '%RegExp%': RegExp,
2759
+ '%RegExpPrototype%': RegExp.prototype,
2760
+ '%Set%': typeof Set === 'undefined' ? undefined$2 : Set,
2761
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
2762
+ '%SetPrototype%': typeof Set === 'undefined' ? undefined$2 : Set.prototype,
2763
+ '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer,
2764
+ '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer.prototype,
2765
+ '%String%': String,
2766
+ '%StringIteratorPrototype%': hasSymbols$4 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
2767
+ '%StringPrototype%': String.prototype,
2768
+ '%Symbol%': hasSymbols$4 ? Symbol : undefined$2,
2769
+ '%SymbolPrototype%': hasSymbols$4 ? Symbol.prototype : undefined$2,
2770
+ '%SyntaxError%': SyntaxError,
2771
+ '%SyntaxErrorPrototype%': SyntaxError.prototype,
2772
+ '%ThrowTypeError%': ThrowTypeError$1,
2773
+ '%TypedArray%': TypedArray$1,
2774
+ '%TypedArrayPrototype%': TypedArray$1 ? TypedArray$1.prototype : undefined$2,
2775
+ '%TypeError%': $TypeError$6,
2776
+ '%TypeErrorPrototype%': $TypeError$6.prototype,
2777
+ '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array,
2778
+ '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array.prototype,
2779
+ '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray,
2780
+ '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray.prototype,
2781
+ '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$2 : Uint16Array,
2782
+ '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$2 : Uint16Array.prototype,
2783
+ '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$2 : Uint32Array,
2784
+ '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$2 : Uint32Array.prototype,
2785
+ '%URIError%': URIError,
2786
+ '%URIErrorPrototype%': URIError.prototype,
2787
+ '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$2 : WeakMap,
2788
+ '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$2 : WeakMap.prototype,
2789
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$2 : WeakSet,
2790
+ '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$2 : WeakSet.prototype
2791
+ };
2792
+
2793
+
2794
+ var $replace$1 = functionBind.call(Function.call, String.prototype.replace);
2795
+
2796
+ /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
2797
+ var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
2798
+ var reEscapeChar$1 = /\\(\\)?/g; /** Used to match backslashes in property paths. */
2799
+ var stringToPath$1 = function stringToPath(string) {
2800
+ var result = [];
2801
+ $replace$1(string, rePropName$1, function (match, number, quote, subString) {
2802
+ result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, '$1') : (number || match);
2803
+ });
2804
+ return result;
2805
+ };
2806
+ /* end adaptation */
2807
+
2808
+ var getBaseIntrinsic$1 = function getBaseIntrinsic(name, allowMissing) {
2809
+ if (!(name in INTRINSICS$1)) {
2810
+ throw new SyntaxError('intrinsic ' + name + ' does not exist!');
2811
+ }
2812
+
2813
+ // istanbul ignore if // hopefully this is impossible to test :-)
2814
+ if (typeof INTRINSICS$1[name] === 'undefined' && !allowMissing) {
2815
+ throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2816
+ }
2817
+
2818
+ return INTRINSICS$1[name];
2819
+ };
2820
+
2821
+ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
2822
+ if (typeof name !== 'string' || name.length === 0) {
2823
+ throw new TypeError('intrinsic name must be a non-empty string');
2824
+ }
2825
+ if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
2826
+ throw new TypeError('"allowMissing" argument must be a boolean');
2827
+ }
2828
+
2829
+ var parts = stringToPath$1(name);
2830
+
2831
+ var value = getBaseIntrinsic$1('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
2832
+ for (var i = 1; i < parts.length; i += 1) {
2833
+ if (value != null) {
2834
+ if ($gOPD$3 && (i + 1) >= parts.length) {
2835
+ var desc = $gOPD$3(value, parts[i]);
2836
+ if (!allowMissing && !(parts[i] in value)) {
2837
+ throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');
2838
+ }
2839
+ // By convention, when a data property is converted to an accessor
2840
+ // property to emulate a data property that does not suffer from
2841
+ // the override mistake, that accessor's getter is marked with
2842
+ // an `originalValue` property. Here, when we detect this, we
2843
+ // uphold the illusion by pretending to see that original data
2844
+ // property, i.e., returning the value rather than the getter
2845
+ // itself.
2846
+ value = desc && 'get' in desc && !('originalValue' in desc.get) ? desc.get : value[parts[i]];
2847
+ } else {
2848
+ value = value[parts[i]];
2849
+ }
2850
+ }
2851
+ }
2852
+ return value;
2853
+ };
2854
+
2855
+ var callBind$1 = createCommonjsModule(function (module) {
2856
+
2857
+
2858
+
2859
+
2860
+
2861
+ var $apply = GetIntrinsic('%Function.prototype.apply%');
2862
+ var $call = GetIntrinsic('%Function.prototype.call%');
2863
+ var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
2864
+
2865
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2866
+
2867
+ if ($defineProperty) {
2868
+ try {
2869
+ $defineProperty({}, 'a', { value: 1 });
2870
+ } catch (e) {
2871
+ // IE 8 has a broken defineProperty
2872
+ $defineProperty = null;
2873
+ }
2874
+ }
2875
+
2876
+ module.exports = function callBind() {
2877
+ return $reflectApply(functionBind, $call, arguments);
2878
+ };
2879
+
2880
+ var applyBind = function applyBind() {
2881
+ return $reflectApply(functionBind, $apply, arguments);
2882
+ };
2883
+
2884
+ if ($defineProperty) {
2885
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2886
+ } else {
2887
+ module.exports.apply = applyBind;
2888
+ }
2889
+ });
2890
+ callBind$1.apply;
2891
+
2892
+ var $indexOf$1 = callBind$1(GetIntrinsic('String.prototype.indexOf'));
2893
+
2894
+ var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2895
+ var intrinsic = GetIntrinsic(name, !!allowMissing);
2896
+ if (typeof intrinsic === 'function' && $indexOf$1(name, '.prototype.')) {
2897
+ return callBind$1(intrinsic);
2898
+ }
2899
+ return intrinsic;
2900
+ };
2419
2901
 
2420
2902
  var isES5$1 = typeof Object.defineProperty === 'function'
2421
2903
  && typeof Object.defineProperties === 'function';
@@ -2434,14 +2916,14 @@ if (typeof Promise !== 'function') {
2434
2916
 
2435
2917
 
2436
2918
 
2437
- var $slice = callBound('Array.prototype.slice');
2438
- var $concat$1 = callBound('Array.prototype.concat');
2439
- var $forEach = callBound('Array.prototype.forEach');
2919
+ var $slice = callBound$1('Array.prototype.slice');
2920
+ var $concat$2 = callBound$1('Array.prototype.concat');
2921
+ var $forEach = callBound$1('Array.prototype.forEach');
2440
2922
 
2441
- var hasSymbols$3 = hasSymbols$1();
2923
+ var hasSymbols$5 = hasSymbols$1();
2442
2924
 
2443
- var kCustomPromisifiedSymbol = hasSymbols$3 ? Symbol('util.promisify.custom') : null;
2444
- var kCustomPromisifyArgsSymbol = hasSymbols$3 ? Symbol('customPromisifyArgs') : null;
2925
+ var kCustomPromisifiedSymbol = hasSymbols$5 ? Symbol('util.promisify.custom') : null;
2926
+ var kCustomPromisifyArgsSymbol = hasSymbols$5 ? Symbol('customPromisifyArgs') : null;
2445
2927
 
2446
2928
  var implementation$3 = function promisify(orig) {
2447
2929
  if (typeof orig !== 'function') {
@@ -2451,7 +2933,7 @@ var implementation$3 = function promisify(orig) {
2451
2933
  throw error;
2452
2934
  }
2453
2935
 
2454
- if (hasSymbols$3 && orig[kCustomPromisifiedSymbol]) {
2936
+ if (hasSymbols$5 && orig[kCustomPromisifiedSymbol]) {
2455
2937
  var customFunction = orig[kCustomPromisifiedSymbol];
2456
2938
  if (typeof customFunction !== 'function') {
2457
2939
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2473,7 +2955,7 @@ var implementation$3 = function promisify(orig) {
2473
2955
  var args = $slice(arguments);
2474
2956
  var self = this; // eslint-disable-line no-invalid-this
2475
2957
  return new Promise(function (resolve, reject) {
2476
- orig.apply(self, $concat$1(args, function (err) {
2958
+ orig.apply(self, $concat$2(args, function (err) {
2477
2959
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2478
2960
  if (err) {
2479
2961
  reject(err);
@@ -2752,7 +3234,7 @@ var md5 = createCommonjsModule(function (module) {
2752
3234
  message = utf8.stringToBytes(message);
2753
3235
  else if (isBuffer(message))
2754
3236
  message = Array.prototype.slice.call(message, 0);
2755
- else if (!Array.isArray(message))
3237
+ else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2756
3238
  message = message.toString();
2757
3239
  // else, assume byte array already
2758
3240