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

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