@mjhls/mjh-framework 1.0.689-segment → 1.0.690

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/README.md +172 -172
  2. package/dist/cjs/AD.js +10 -9
  3. package/dist/cjs/AD300x250.js +24 -23
  4. package/dist/cjs/AD300x250x600.js +24 -23
  5. package/dist/cjs/AD728x90.js +27 -26
  6. package/dist/cjs/ADFloatingFooter.js +29 -28
  7. package/dist/cjs/ADFooter.js +15 -14
  8. package/dist/cjs/ADGutter.js +26 -25
  9. package/dist/cjs/{ADInfeed-3410ab3c.js → ADInfeed-ba531ca6.js} +13 -11
  10. package/dist/cjs/ADSkyscraper.js +26 -25
  11. package/dist/cjs/ADSponsoredResources.js +26 -25
  12. package/dist/cjs/ADWebcast.js +26 -25
  13. package/dist/cjs/ADWelcome.js +30 -29
  14. package/dist/cjs/{ADlgInfeed-845aac15.js → ADlgInfeed-b0cc0e88.js} +9 -8
  15. package/dist/cjs/AccordionPanel.js +31 -29
  16. package/dist/cjs/AdSlot.js +30 -29
  17. package/dist/cjs/AdSlotsProvider.js +7 -6
  18. package/dist/cjs/AlphabeticList.js +25 -24
  19. package/dist/cjs/ArticleCarousel.js +22 -21
  20. package/dist/cjs/ArticleSeriesListing.js +58 -57
  21. package/dist/cjs/Auth.js +793 -357
  22. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-98ebefa4.js} +14 -13
  23. package/dist/cjs/Beam.js +9 -9
  24. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-bbc3be61.js} +25 -24
  25. package/dist/cjs/Breadcrumbs.js +29 -27
  26. package/dist/cjs/BrowseVideosListing.js +28 -27
  27. package/dist/cjs/CMEDeck.js +77 -77
  28. package/dist/cjs/Column1.js +14 -11
  29. package/dist/cjs/Column2.js +35 -32
  30. package/dist/cjs/Column3.js +57 -54
  31. package/dist/cjs/ConferenceArticleCard.js +38 -37
  32. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  33. package/dist/cjs/DeckContent.js +106 -102
  34. package/dist/cjs/DeckQueue.js +90 -86
  35. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-76acc8c2.js} +31 -30
  36. package/dist/cjs/EventsDeck.js +153 -146
  37. package/dist/cjs/ExternalResources.js +73 -72
  38. package/dist/cjs/Feature.js +27 -25
  39. package/dist/cjs/ForbesHero.js +41 -40
  40. package/dist/cjs/GridContent.js +180 -176
  41. package/dist/cjs/GridHero.js +43 -42
  42. package/dist/cjs/GroupDeck.js +50 -49
  43. package/dist/cjs/HamMagazine.js +144 -139
  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/HorizontalHero.js +26 -25
  48. package/dist/cjs/IssueContentDeck.js +77 -72
  49. package/dist/cjs/IssueDeck.js +75 -70
  50. package/dist/cjs/IssueLanding.js +70 -69
  51. package/dist/cjs/KMTracker.js +15 -15
  52. package/dist/cjs/LeftNav.js +37 -35
  53. package/dist/cjs/MasterDeck.js +81 -80
  54. package/dist/cjs/NavDvm.js +80 -75
  55. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  56. package/dist/cjs/NavMagazine.js +153 -148
  57. package/dist/cjs/NavNative.js +132 -138
  58. package/dist/cjs/NavNormal.js +53 -48
  59. package/dist/cjs/OncliveHero.js +20 -20
  60. package/dist/cjs/OncliveLargeHero.js +67 -66
  61. package/dist/cjs/PageFilter.js +15 -14
  62. package/dist/cjs/PartnerDetailListing.js +170 -169
  63. package/dist/cjs/PdfDownload.js +9 -8
  64. package/dist/cjs/PopUpModal.js +21 -19
  65. package/dist/cjs/PublicationDeck.js +66 -61
  66. package/dist/cjs/PublicationLanding.js +98 -94
  67. package/dist/cjs/QueueDeckExpanded.js +292 -292
  68. package/dist/cjs/RecentNews.js +24 -23
  69. package/dist/cjs/RelatedContent.js +53 -52
  70. package/dist/cjs/RelatedTopicsDropdown.js +32 -29
  71. package/dist/cjs/RolesDeck.js +32 -27
  72. package/dist/cjs/Search.js +22 -18
  73. package/dist/cjs/Segment.js +7 -7
  74. package/dist/cjs/SetCookie.js +1 -1
  75. package/dist/cjs/SideFooter.js +38 -37
  76. package/dist/cjs/SocialIcons.js +10 -9
  77. package/dist/cjs/{SocialSearchComponent-6b5e5b47.js → SocialSearchComponent-de064e93.js} +38 -34
  78. package/dist/cjs/SocialShare.js +31 -29
  79. package/dist/cjs/TaxonomyCard.js +62 -57
  80. package/dist/cjs/TemplateNormal.js +72 -71
  81. package/dist/cjs/ThumbnailCard.js +22 -20
  82. package/dist/cjs/Ustream.js +27 -26
  83. package/dist/cjs/VerticalHero.js +18 -17
  84. package/dist/cjs/VideoSeriesCard.js +34 -33
  85. package/dist/cjs/VideoSeriesFilter.js +19 -19
  86. package/dist/cjs/VideoSeriesListing.js +72 -71
  87. package/dist/cjs/View.js +237 -234
  88. package/dist/cjs/YahooHero.js +40 -39
  89. package/dist/cjs/YoutubeGroup.js +69 -68
  90. package/dist/cjs/{_is-array-754e012d.js → _is-array-b1090e3d.js} +6 -6
  91. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-8decaf0f.js} +2 -2
  92. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-b69cab35.js} +1 -1
  93. package/dist/cjs/{_set-species-f92c67c5.js → _set-species-5c9fd235.js} +4 -4
  94. package/dist/cjs/{_to-object-329a650b.js → _to-object-e2d5cc9d.js} +3 -3
  95. package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-a855b820.js} +6 -6
  96. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  97. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-bf3fde8c.js} +2 -2
  98. package/dist/cjs/{define-property-f4d12f4e.js → define-property-1d75ae0f.js} +1 -1
  99. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-16bd5829.js} +1 -1
  100. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e3ce14ae.js} +1 -1
  101. package/dist/cjs/{extends-60837c34.js → extends-a9da965c.js} +1 -1
  102. package/dist/cjs/getRelatedArticle.js +19 -19
  103. package/dist/cjs/getSerializers.js +39 -39
  104. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-d8df2f51.js} +11 -11
  105. package/dist/cjs/getTargeting.js +7 -7
  106. package/dist/cjs/iconBase-68959171.js +0 -3
  107. package/dist/cjs/{index-b5eb3ff8.js → index-10185024.js} +3 -3
  108. package/dist/cjs/{index-2d0a4911.js → index-5ad2b070.js} +12 -11
  109. package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
  110. package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
  111. package/dist/cjs/{index-44c25825.js → index-e1d6c590.js} +427 -417
  112. package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
  113. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  114. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
  115. package/dist/cjs/{index.esm-876ca9ff.js → index.esm-61650d1a.js} +5 -12
  116. package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
  117. package/dist/cjs/index.js +126 -126
  118. package/dist/cjs/{inherits-513d81cd.js → inherits-3affeccb.js} +8 -8
  119. package/dist/cjs/{keys-a586b7a0.js → keys-218a754a.js} +2 -2
  120. package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
  121. package/dist/cjs/{main-b6c96c8d.js → main-df97bfe9.js} +84 -79
  122. package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
  123. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  124. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5b1b0ed8.js} +4 -4
  125. package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
  126. package/dist/cjs/{stringify-7c5aff47.js → stringify-4f757ee6.js} +1 -1
  127. package/dist/cjs/timeDifferenceCalc.js +1 -1
  128. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-57153848.js} +4 -4
  129. package/dist/cjs/{typeof-725500bc.js → typeof-c69a5548.js} +6 -6
  130. package/dist/cjs/urlFor.js +2 -2
  131. package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
  132. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-0ffca19f.js} +3 -3
  133. package/dist/esm/AD.js +7 -7
  134. package/dist/esm/AD300x250.js +20 -20
  135. package/dist/esm/AD300x250x600.js +20 -20
  136. package/dist/esm/AD728x90.js +23 -23
  137. package/dist/esm/ADFloatingFooter.js +25 -25
  138. package/dist/esm/ADFooter.js +11 -11
  139. package/dist/esm/ADGutter.js +22 -22
  140. package/dist/esm/{ADInfeed-205cb7a9.js → ADInfeed-45191cf8.js} +7 -7
  141. package/dist/esm/ADSkyscraper.js +22 -22
  142. package/dist/esm/ADSponsoredResources.js +22 -22
  143. package/dist/esm/ADWebcast.js +22 -22
  144. package/dist/esm/ADWelcome.js +26 -26
  145. package/dist/esm/{ADlgInfeed-e538f17a.js → ADlgInfeed-1f8fc733.js} +6 -6
  146. package/dist/esm/AccordionPanel.js +24 -24
  147. package/dist/esm/AdSlot.js +21 -21
  148. package/dist/esm/AdSlotsProvider.js +3 -3
  149. package/dist/esm/AlphabeticList.js +21 -21
  150. package/dist/esm/ArticleCarousel.js +18 -18
  151. package/dist/esm/ArticleSeriesListing.js +52 -52
  152. package/dist/esm/Auth.js +775 -343
  153. package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-30ec92a8.js} +11 -11
  154. package/dist/esm/Beam.js +9 -9
  155. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c5de3044.js} +4 -4
  156. package/dist/esm/Breadcrumbs.js +17 -17
  157. package/dist/esm/BrowseVideosListing.js +24 -24
  158. package/dist/esm/CMEDeck.js +73 -73
  159. package/dist/esm/Column1.js +5 -5
  160. package/dist/esm/Column2.js +26 -26
  161. package/dist/esm/Column3.js +47 -47
  162. package/dist/esm/ConferenceArticleCard.js +33 -33
  163. package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
  164. package/dist/esm/DeckContent.js +84 -84
  165. package/dist/esm/DeckQueue.js +64 -64
  166. package/dist/esm/{Dfp-8a8fca18.js → Dfp-8b5b19d0.js} +20 -20
  167. package/dist/esm/EventsDeck.js +99 -99
  168. package/dist/esm/ExternalResources.js +66 -66
  169. package/dist/esm/Feature.js +18 -18
  170. package/dist/esm/ForbesHero.js +34 -34
  171. package/dist/esm/GridContent.js +138 -138
  172. package/dist/esm/GridHero.js +36 -36
  173. package/dist/esm/GroupDeck.js +45 -45
  174. package/dist/esm/HamMagazine.js +113 -113
  175. package/dist/esm/Header.js +7 -7
  176. package/dist/esm/Hero.js +9 -9
  177. package/dist/esm/HighlightenVideo.js +14 -14
  178. package/dist/esm/HorizontalHero.js +21 -21
  179. package/dist/esm/IssueContentDeck.js +49 -49
  180. package/dist/esm/IssueDeck.js +46 -46
  181. package/dist/esm/IssueLanding.js +66 -66
  182. package/dist/esm/KMTracker.js +15 -15
  183. package/dist/esm/LeftNav.js +31 -31
  184. package/dist/esm/MasterDeck.js +74 -74
  185. package/dist/esm/NavDvm.js +57 -57
  186. package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
  187. package/dist/esm/NavMagazine.js +124 -124
  188. package/dist/esm/NavNative.js +102 -116
  189. package/dist/esm/NavNormal.js +36 -36
  190. package/dist/esm/OncliveHero.js +16 -17
  191. package/dist/esm/OncliveLargeHero.js +59 -59
  192. package/dist/esm/PageFilter.js +12 -12
  193. package/dist/esm/PartnerDetailListing.js +108 -108
  194. package/dist/esm/PdfDownload.js +6 -6
  195. package/dist/esm/PopUpModal.js +14 -14
  196. package/dist/esm/PublicationDeck.js +38 -38
  197. package/dist/esm/PublicationLanding.js +75 -75
  198. package/dist/esm/QueueDeckExpanded.js +272 -272
  199. package/dist/esm/RecentNews.js +20 -20
  200. package/dist/esm/RelatedContent.js +47 -47
  201. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  202. package/dist/esm/RolesDeck.js +13 -13
  203. package/dist/esm/Search.js +12 -12
  204. package/dist/esm/Segment.js +7 -7
  205. package/dist/esm/SetCookie.js +1 -1
  206. package/dist/esm/SideFooter.js +33 -33
  207. package/dist/esm/SocialIcons.js +7 -7
  208. package/dist/esm/{SocialSearchComponent-7f14e0f3.js → SocialSearchComponent-cddc9ce1.js} +26 -26
  209. package/dist/esm/SocialShare.js +25 -25
  210. package/dist/esm/TaxonomyCard.js +41 -41
  211. package/dist/esm/TemplateNormal.js +65 -65
  212. package/dist/esm/ThumbnailCard.js +13 -13
  213. package/dist/esm/Ustream.js +23 -23
  214. package/dist/esm/VerticalHero.js +13 -13
  215. package/dist/esm/VideoSeriesCard.js +25 -25
  216. package/dist/esm/VideoSeriesFilter.js +16 -16
  217. package/dist/esm/VideoSeriesListing.js +65 -65
  218. package/dist/esm/View.js +223 -224
  219. package/dist/esm/YahooHero.js +34 -34
  220. package/dist/esm/YoutubeGroup.js +53 -53
  221. package/dist/esm/{_is-array-49698029.js → _is-array-ffa65b7e.js} +6 -6
  222. package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-256a4d61.js} +2 -2
  223. package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-0cecd031.js} +1 -1
  224. package/dist/esm/{_set-species-cede29f8.js → _set-species-09ba387c.js} +4 -4
  225. package/dist/esm/{_to-object-ded78eb9.js → _to-object-ee10dabb.js} +4 -4
  226. package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-b0af4000.js} +6 -6
  227. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
  228. package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-0e6dc181.js} +2 -2
  229. package/dist/esm/{define-property-de3fc946.js → define-property-e013aae3.js} +1 -1
  230. package/dist/esm/{defineProperty-b798470d.js → defineProperty-2385da87.js} +1 -1
  231. package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-c5179428.js} +2 -2
  232. package/dist/esm/{extends-cc5da797.js → extends-03593dc6.js} +1 -1
  233. package/dist/esm/getRelatedArticle.js +13 -13
  234. package/dist/esm/getSerializers.js +39 -39
  235. package/dist/esm/{getTargeting-2acdec91.js → getTargeting-60717d7f.js} +11 -11
  236. package/dist/esm/getTargeting.js +7 -7
  237. package/dist/esm/{index-51a80699.js → index-4de5c15f.js} +3 -3
  238. package/dist/esm/{index-93ec3c59.js → index-669ff425.js} +6 -6
  239. package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
  240. package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
  241. package/dist/esm/{index-8a757d91.js → index-cbd95715.js} +373 -369
  242. package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
  243. package/dist/esm/{index.esm-85cb09e6.js → index.esm-79385203.js} +5 -12
  244. package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
  245. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  246. package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
  247. package/dist/esm/index.js +104 -104
  248. package/dist/esm/{inherits-7ee3e0c1.js → inherits-d88f5b29.js} +5 -5
  249. package/dist/esm/{keys-fc2d4c34.js → keys-618df59d.js} +2 -2
  250. package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
  251. package/dist/esm/{main-0465b2a0.js → main-a2443735.js} +84 -80
  252. package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
  253. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
  254. package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-648674b3.js} +4 -4
  255. package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
  256. package/dist/esm/{stringify-008c8802.js → stringify-7c97a94d.js} +1 -1
  257. package/dist/esm/timeDifferenceCalc.js +1 -1
  258. package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-aa76a4fe.js} +4 -4
  259. package/dist/esm/{typeof-08f2c380.js → typeof-5c759779.js} +6 -6
  260. package/dist/esm/urlFor.js +1 -1
  261. package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
  262. package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-de3b4afb.js} +3 -3
  263. package/package.json +107 -107
  264. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
package/dist/esm/Auth.js CHANGED
@@ -1,24 +1,24 @@
1
- import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-ded78eb9.js';
3
- import './es6.string.iterator-9b2af4a5.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-59409a32.js';
6
- import './core.get-iterator-method-54d2e411.js';
7
- import './_object-pie-71ac75a4.js';
8
- import { _ as _extends } from './extends-cc5da797.js';
9
- import './web.dom.iterable-8956f9a5.js';
10
- import React__default, { useEffect, useState } from 'react';
1
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b0af4000.js';
2
+ import { _ as _JSON$stringify } from './stringify-7c97a94d.js';
3
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-648674b3.js';
4
+ import React, { useEffect, useState } from 'react';
11
5
  import Router from 'next/router';
12
- import { _ as _JSON$stringify } from './stringify-008c8802.js';
13
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-7021e5df.js';
14
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
15
- import './_set-species-cede29f8.js';
6
+ import { _ as _extends } from './extends-03593dc6.js';
16
7
  import { Col, Form, Button, Spinner } from 'react-bootstrap';
17
- import { u as util } from './util-7700fc59.js';
18
- import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
19
8
  import useSWR from 'swr';
9
+ import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
20
10
  import Local from 'passport-local';
21
11
  import mysql from 'mysql';
12
+ import { u as util } from './util-7700fc59.js';
13
+ import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
14
+ import './es6.string.iterator-c5179428.js';
15
+ import './_to-object-ee10dabb.js';
16
+ import './web.dom.iterable-de3b4afb.js';
17
+ import './_library-528f1934.js';
18
+ import './core.get-iterator-method-0e6dc181.js';
19
+ import './_set-species-09ba387c.js';
20
+ import './_iter-detect-256a4d61.js';
21
+ import './_object-pie-71ac75a4.js';
22
22
 
23
23
  var returnFormField = function returnFormField(_ref) {
24
24
  var name = _ref.name,
@@ -57,21 +57,21 @@ var returnFormField = function returnFormField(_ref) {
57
57
  }
58
58
 
59
59
  if (type == 'text' || type == 'email' || type == 'password' || type == 'number') {
60
- return React__default.createElement(
60
+ return React.createElement(
61
61
  Form.Group,
62
62
  _extends({}, opts, { controlId: name }),
63
- React__default.createElement(
63
+ React.createElement(
64
64
  Form.Label,
65
65
  { kye: name + '_label' },
66
66
  label,
67
- required && React__default.createElement(
67
+ required && React.createElement(
68
68
  'span',
69
69
  { style: { color: 'red' } },
70
70
  '*'
71
71
  )
72
72
  ),
73
- React__default.createElement(Form.Control, { key: name + '_' + type, type: type, readOnly: readonly, name: name, placeholder: '', defaultValue: default_value, required: required }),
74
- 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(
75
75
  Form.Control.Feedback,
76
76
  { key: name + '_feedback', type: 'invalid' },
77
77
  errors[name]
@@ -79,28 +79,28 @@ var returnFormField = function returnFormField(_ref) {
79
79
  );
80
80
  }
81
81
  if (type == 'select') {
82
- return React__default.createElement(
82
+ return React.createElement(
83
83
  Form.Group,
84
84
  _extends({}, opts, { key: name, controlId: name }),
85
- React__default.createElement(
85
+ React.createElement(
86
86
  Form.Label,
87
87
  { key: name + '_' + label },
88
88
  label,
89
- required && React__default.createElement(
89
+ required && React.createElement(
90
90
  'span',
91
91
  { key: name + '_required_span', style: { color: 'red' } },
92
92
  '*'
93
93
  )
94
94
  ),
95
- React__default.createElement(
95
+ React.createElement(
96
96
  Form.Control,
97
97
  { key: name + '_select', as: 'select', name: name, required: required, defaultValue: default_value },
98
- React__default.createElement('option', { value: '', key: name + '_options_empty' }),
98
+ React.createElement('option', { value: '', key: name + '_options_empty' }),
99
99
  options.map(function (option, index) {
100
100
  var value = option.value ? option.value : option;
101
101
  var label = option.label ? option.label : option;
102
102
  var key = name + '_options_' + index;
103
- return React__default.createElement(
103
+ return React.createElement(
104
104
  'option',
105
105
  { key: key, value: value },
106
106
  label
@@ -111,25 +111,25 @@ var returnFormField = function returnFormField(_ref) {
111
111
  }
112
112
 
113
113
  if (type == 'radio' || type == 'checkbox') {
114
- return React__default.createElement(
114
+ return React.createElement(
115
115
  Form.Group,
116
116
  opts,
117
- React__default.createElement(
117
+ React.createElement(
118
118
  Form.Label,
119
119
  null,
120
120
  label,
121
- required && React__default.createElement(
121
+ required && React.createElement(
122
122
  'span',
123
123
  { style: { color: 'red' } },
124
124
  '*'
125
125
  )
126
126
  ),
127
127
  options.map(function (option, index) {
128
- return React__default.createElement(
128
+ return React.createElement(
129
129
  Form.Check,
130
130
  { type: type, key: index, required: required },
131
- 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 }),
132
- 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 } })
133
133
  );
134
134
  })
135
135
  );
@@ -336,43 +336,43 @@ var LoginForm = function LoginForm(props) {
336
336
  loading = _useState4[0],
337
337
  setLoading = _useState4[1];
338
338
 
339
- return React__default.createElement(
339
+ return React.createElement(
340
340
  Form,
341
341
  { className: 'login', onSubmit: handleSubmit },
342
- React__default.createElement(
342
+ React.createElement(
343
343
  'h1',
344
344
  null,
345
345
  'Login'
346
346
  ),
347
- React__default.createElement('hr', null),
347
+ React.createElement('hr', null),
348
348
  returnFormField({ name: 'email', label: 'Email', type: 'email', required: true }),
349
349
  returnFormField({ name: 'password', label: 'Password', type: 'password', required: true }),
350
- React__default.createElement('hr', null),
351
- React__default.createElement(
350
+ React.createElement('hr', null),
351
+ React.createElement(
352
352
  Form.Row,
353
353
  null,
354
- React__default.createElement(
354
+ React.createElement(
355
355
  Form.Group,
356
356
  { as: Col },
357
- React__default.createElement(
357
+ React.createElement(
358
358
  'a',
359
359
  { href: '/auth/signup' },
360
360
  'I don\'t have an account'
361
361
  )
362
362
  ),
363
- React__default.createElement(
363
+ React.createElement(
364
364
  Form.Group,
365
365
  { as: Col, className: 'text-right' },
366
- !loading && React__default.createElement(
366
+ !loading && React.createElement(
367
367
  Button,
368
368
  { type: 'submit' },
369
369
  'Login'
370
370
  ),
371
- loading && React__default.createElement(
371
+ loading && React.createElement(
372
372
  Button,
373
373
  { variant: 'primary', disabled: true },
374
- React__default.createElement(Spinner, { as: 'span', animation: 'border', role: 'status', 'aria-hidden': 'true', size: 'sm' }),
375
- React__default.createElement(
374
+ React.createElement(Spinner, { as: 'span', animation: 'border', role: 'status', 'aria-hidden': 'true', size: 'sm' }),
375
+ React.createElement(
376
376
  'span',
377
377
  { className: 'sr-only' },
378
378
  'Loading...'
@@ -380,12 +380,12 @@ var LoginForm = function LoginForm(props) {
380
380
  )
381
381
  )
382
382
  ),
383
- errorMsg && React__default.createElement(
383
+ errorMsg && React.createElement(
384
384
  'p',
385
385
  { className: 'error' },
386
386
  errorMsg
387
387
  ),
388
- React__default.createElement(
388
+ React.createElement(
389
389
  'style',
390
390
  { jsx: 'true'.toString() },
391
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 '
@@ -641,29 +641,29 @@ var SignupForm = function SignupForm(props) {
641
641
  loading = _useState14[0],
642
642
  setLoading = _useState14[1];
643
643
 
644
- return React__default.createElement(
644
+ return React.createElement(
645
645
  Form,
646
646
  { className: 'login', id: 'signupForm', onSubmit: handleSubmit },
647
- React__default.createElement(
647
+ React.createElement(
648
648
  'h1',
649
649
  null,
650
650
  'Sign Up'
651
651
  ),
652
- React__default.createElement('hr', null),
652
+ React.createElement('hr', null),
653
653
  returnFormField({ name: 'email', label: 'Email', type: 'email', required: true }),
654
- React__default.createElement(
654
+ React.createElement(
655
655
  Form.Row,
656
656
  null,
657
657
  returnFormField({ name: 'password', label: 'Password', type: 'password', groupType: Col, required: true }),
658
658
  returnFormField({ name: 'rpassword', label: 'Retype Password', type: 'password', groupType: Col, required: true })
659
659
  ),
660
- React__default.createElement(
660
+ React.createElement(
661
661
  Form.Row,
662
662
  null,
663
663
  returnFormField({ name: 'first_name', label: 'First Name', type: 'text', groupType: Col, required: true }),
664
664
  returnFormField({ name: 'last_name', label: 'Last Name', type: 'text', groupType: Col, required: true })
665
665
  ),
666
- React__default.createElement(
666
+ React.createElement(
667
667
  Form.Row,
668
668
  null,
669
669
  returnFormField({
@@ -677,7 +677,7 @@ var SignupForm = function SignupForm(props) {
677
677
  }),
678
678
  countryUS && returnFormField({ name: 'state', label: 'State', type: 'select', required: true, groupType: Col, options: states })
679
679
  ),
680
- React__default.createElement(
680
+ React.createElement(
681
681
  Form.Row,
682
682
  null,
683
683
  countryUS && returnFormField({ name: 'zip', label: 'Working Zip Code', type: 'text', required: true, groupType: Col }),
@@ -724,38 +724,38 @@ var SignupForm = function SignupForm(props) {
724
724
  required: true,
725
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' }]
726
726
  }),
727
- React__default.createElement('hr', null),
728
- React__default.createElement(
727
+ React.createElement('hr', null),
728
+ React.createElement(
729
729
  Form.Row,
730
730
  null,
731
- React__default.createElement(
731
+ React.createElement(
732
732
  Form.Group,
733
733
  { as: Col },
734
- React__default.createElement(
734
+ React.createElement(
735
735
  'a',
736
736
  { href: '/auth/login' },
737
737
  'I already have an account'
738
738
  )
739
739
  ),
740
- React__default.createElement(
740
+ React.createElement(
741
741
  Form.Group,
742
742
  { as: Col, className: 'text-right' },
743
- !loading && React__default.createElement(
743
+ !loading && React.createElement(
744
744
  Button,
745
745
  { type: 'submit' },
746
746
  'Sign Up'
747
747
  ),
748
- loading && React__default.createElement(
748
+ loading && React.createElement(
749
749
  Button,
750
750
  { variant: 'primary', disabled: true },
751
- React__default.createElement(Spinner, {
751
+ React.createElement(Spinner, {
752
752
  as: 'span',
753
753
  animation: 'border',
754
754
  role: 'status',
755
755
  'aria-hidden': 'true',
756
756
  size: 'sm'
757
757
  }),
758
- React__default.createElement(
758
+ React.createElement(
759
759
  'span',
760
760
  { className: 'sr-only' },
761
761
  'Loading...'
@@ -763,12 +763,12 @@ var SignupForm = function SignupForm(props) {
763
763
  )
764
764
  )
765
765
  ),
766
- errorMsg && React__default.createElement(
766
+ errorMsg && React.createElement(
767
767
  'p',
768
768
  { className: 'error' },
769
769
  errorMsg
770
770
  ),
771
- React__default.createElement(
771
+ React.createElement(
772
772
  'style',
773
773
  { jsx: 'true'.toString() },
774
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 '
@@ -1058,32 +1058,32 @@ var SignupForm$1 = function SignupForm(props) {
1058
1058
  loading = _useState18[0],
1059
1059
  setLoading = _useState18[1];
1060
1060
 
1061
- return React__default.createElement(
1061
+ return React.createElement(
1062
1062
  Form,
1063
1063
  { className: 'login', id: 'signupForm', onSubmit: handleSubmit },
1064
- React__default.createElement(
1064
+ React.createElement(
1065
1065
  'h1',
1066
1066
  null,
1067
1067
  'Profile'
1068
1068
  ),
1069
- React__default.createElement('hr', null),
1070
- userData ? React__default.createElement(
1071
- React__default.Fragment,
1069
+ React.createElement('hr', null),
1070
+ userData ? React.createElement(
1071
+ React.Fragment,
1072
1072
  null,
1073
1073
  returnFormField({ name: 'email', label: 'Email', type: 'email', required: true, readonly: true, default_value: userData.email }),
1074
- React__default.createElement(
1074
+ React.createElement(
1075
1075
  Form.Row,
1076
1076
  null,
1077
1077
  returnFormField({ name: 'password', label: 'Password', type: 'password', groupType: Col, required: false }),
1078
1078
  returnFormField({ name: 'rpassword', label: 'Retype Password', type: 'password', groupType: Col, required: false })
1079
1079
  ),
1080
- React__default.createElement(
1080
+ React.createElement(
1081
1081
  Form.Row,
1082
1082
  null,
1083
1083
  returnFormField({ name: 'first_name', label: 'First Name', type: 'text', groupType: Col, required: true, default_value: userData.shared.first_name }),
1084
1084
  returnFormField({ name: 'last_name', label: 'Last Name', type: 'text', groupType: Col, required: true, default_value: userData.shared.last_name })
1085
1085
  ),
1086
- React__default.createElement(
1086
+ React.createElement(
1087
1087
  Form.Row,
1088
1088
  null,
1089
1089
  returnFormField({
@@ -1098,7 +1098,7 @@ var SignupForm$1 = function SignupForm(props) {
1098
1098
  }),
1099
1099
  countryUS && returnFormField({ name: 'state', label: 'State', type: 'select', required: true, groupType: Col, options: states, default_value: userData.shared.state })
1100
1100
  ),
1101
- React__default.createElement(
1101
+ React.createElement(
1102
1102
  Form.Row,
1103
1103
  null,
1104
1104
  countryUS && returnFormField({ name: 'zip', label: 'Working Zip Code', type: 'text', required: true, groupType: Col, default_value: userData.shared.zip }),
@@ -1148,29 +1148,29 @@ var SignupForm$1 = function SignupForm(props) {
1148
1148
  required: true,
1149
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' }]
1150
1150
  }),
1151
- React__default.createElement('hr', null),
1152
- React__default.createElement(
1151
+ React.createElement('hr', null),
1152
+ React.createElement(
1153
1153
  Form.Row,
1154
1154
  null,
1155
- React__default.createElement(
1155
+ React.createElement(
1156
1156
  Form.Group,
1157
1157
  { as: Col },
1158
- !loading && React__default.createElement(
1158
+ !loading && React.createElement(
1159
1159
  Button,
1160
1160
  { type: 'submit' },
1161
1161
  'Update'
1162
1162
  ),
1163
- loading && React__default.createElement(
1163
+ loading && React.createElement(
1164
1164
  Button,
1165
1165
  { variant: 'primary', disabled: true },
1166
- React__default.createElement(Spinner, {
1166
+ React.createElement(Spinner, {
1167
1167
  as: 'span',
1168
1168
  animation: 'border',
1169
1169
  role: 'status',
1170
1170
  'aria-hidden': 'true',
1171
1171
  size: 'sm'
1172
1172
  }),
1173
- React__default.createElement(
1173
+ React.createElement(
1174
1174
  'span',
1175
1175
  { className: 'sr-only' },
1176
1176
  'Loading...'
@@ -1178,24 +1178,24 @@ var SignupForm$1 = function SignupForm(props) {
1178
1178
  )
1179
1179
  )
1180
1180
  )
1181
- ) : React__default.createElement(Spinner, {
1181
+ ) : React.createElement(Spinner, {
1182
1182
  as: 'span',
1183
1183
  animation: 'border',
1184
1184
  role: 'status',
1185
1185
  'aria-hidden': 'true',
1186
1186
  size: 'sm'
1187
1187
  }),
1188
- errorMsg && React__default.createElement(
1188
+ errorMsg && React.createElement(
1189
1189
  'p',
1190
1190
  { className: 'error' },
1191
1191
  errorMsg
1192
1192
  ),
1193
- successMsg && React__default.createElement(
1193
+ successMsg && React.createElement(
1194
1194
  'p',
1195
1195
  { className: 'success' },
1196
1196
  successMsg
1197
1197
  ),
1198
- React__default.createElement(
1198
+ React.createElement(
1199
1199
  'style',
1200
1200
  { jsx: 'true'.toString() },
1201
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 '
@@ -1537,6 +1537,59 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1537
1537
 
1538
1538
  var defineProperties_1 = defineProperties;
1539
1539
 
1540
+ /* eslint no-invalid-this: 1 */
1541
+
1542
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1543
+ var slice$1 = Array.prototype.slice;
1544
+ var toStr$3 = Object.prototype.toString;
1545
+ var funcType = '[object Function]';
1546
+
1547
+ var implementation$1 = function bind(that) {
1548
+ var target = this;
1549
+ if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1550
+ throw new TypeError(ERROR_MESSAGE + target);
1551
+ }
1552
+ var args = slice$1.call(arguments, 1);
1553
+
1554
+ var bound;
1555
+ var binder = function () {
1556
+ if (this instanceof bound) {
1557
+ var result = target.apply(
1558
+ this,
1559
+ args.concat(slice$1.call(arguments))
1560
+ );
1561
+ if (Object(result) === result) {
1562
+ return result;
1563
+ }
1564
+ return this;
1565
+ } else {
1566
+ return target.apply(
1567
+ that,
1568
+ args.concat(slice$1.call(arguments))
1569
+ );
1570
+ }
1571
+ };
1572
+
1573
+ var boundLength = Math.max(0, target.length - args.length);
1574
+ var boundArgs = [];
1575
+ for (var i = 0; i < boundLength; i++) {
1576
+ boundArgs.push('$' + i);
1577
+ }
1578
+
1579
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1580
+
1581
+ if (target.prototype) {
1582
+ var Empty = function Empty() {};
1583
+ Empty.prototype = target.prototype;
1584
+ bound.prototype = new Empty();
1585
+ Empty.prototype = null;
1586
+ }
1587
+
1588
+ return bound;
1589
+ };
1590
+
1591
+ var functionBind = Function.prototype.bind || implementation$1;
1592
+
1540
1593
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1541
1594
  var shams = function hasSymbols() {
1542
1595
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
@@ -1590,68 +1643,26 @@ var hasSymbols$1 = function hasNativeSymbols() {
1590
1643
  return shams();
1591
1644
  };
1592
1645
 
1593
- /* eslint no-invalid-this: 1 */
1594
-
1595
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1596
- var slice$1 = Array.prototype.slice;
1597
- var toStr$3 = Object.prototype.toString;
1598
- var funcType = '[object Function]';
1599
-
1600
- var implementation$1 = function bind(that) {
1601
- var target = this;
1602
- if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1603
- throw new TypeError(ERROR_MESSAGE + target);
1604
- }
1605
- var args = slice$1.call(arguments, 1);
1606
-
1607
- var bound;
1608
- var binder = function () {
1609
- if (this instanceof bound) {
1610
- var result = target.apply(
1611
- this,
1612
- args.concat(slice$1.call(arguments))
1613
- );
1614
- if (Object(result) === result) {
1615
- return result;
1616
- }
1617
- return this;
1618
- } else {
1619
- return target.apply(
1620
- that,
1621
- args.concat(slice$1.call(arguments))
1622
- );
1623
- }
1624
- };
1625
-
1626
- var boundLength = Math.max(0, target.length - args.length);
1627
- var boundArgs = [];
1628
- for (var i = 0; i < boundLength; i++) {
1629
- boundArgs.push('$' + i);
1630
- }
1631
-
1632
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1633
-
1634
- if (target.prototype) {
1635
- var Empty = function Empty() {};
1636
- Empty.prototype = target.prototype;
1637
- bound.prototype = new Empty();
1638
- Empty.prototype = null;
1639
- }
1640
-
1641
- return bound;
1642
- };
1643
-
1644
- var functionBind = Function.prototype.bind || implementation$1;
1646
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1645
1647
 
1646
1648
  /* globals
1647
- Atomics,
1649
+ AggregateError,
1648
1650
  SharedArrayBuffer,
1649
1651
  */
1650
1652
 
1651
1653
  var undefined$1;
1652
1654
 
1655
+ var $SyntaxError = SyntaxError;
1656
+ var $Function = Function;
1653
1657
  var $TypeError = TypeError;
1654
1658
 
1659
+ // eslint-disable-next-line consistent-return
1660
+ var getEvalledConstructor = function (expressionSyntax) {
1661
+ try {
1662
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1663
+ } catch (e) {}
1664
+ };
1665
+
1655
1666
  var $gOPD = Object.getOwnPropertyDescriptor;
1656
1667
  if ($gOPD) {
1657
1668
  try {
@@ -1661,7 +1672,9 @@ if ($gOPD) {
1661
1672
  }
1662
1673
  }
1663
1674
 
1664
- var throwTypeError = function () { throw new $TypeError(); };
1675
+ var throwTypeError = function () {
1676
+ throw new $TypeError();
1677
+ };
1665
1678
  var ThrowTypeError = $gOPD
1666
1679
  ? (function () {
1667
1680
  try {
@@ -1682,200 +1695,360 @@ var ThrowTypeError = $gOPD
1682
1695
  var hasSymbols$2 = hasSymbols$1();
1683
1696
 
1684
1697
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1685
- var generatorFunction = undefined$1;
1686
- var asyncFunction = undefined$1;
1687
- var asyncGenFunction = undefined$1;
1698
+
1699
+ var needsEval = {};
1688
1700
 
1689
1701
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1690
1702
 
1691
1703
  var INTRINSICS = {
1704
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1692
1705
  '%Array%': Array,
1693
1706
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1694
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1695
1707
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1696
- '%ArrayPrototype%': Array.prototype,
1697
- '%ArrayProto_entries%': Array.prototype.entries,
1698
- '%ArrayProto_forEach%': Array.prototype.forEach,
1699
- '%ArrayProto_keys%': Array.prototype.keys,
1700
- '%ArrayProto_values%': Array.prototype.values,
1701
1708
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1702
- '%AsyncFunction%': asyncFunction,
1703
- '%AsyncFunctionPrototype%': undefined$1,
1704
- '%AsyncGenerator%': undefined$1,
1705
- '%AsyncGeneratorFunction%': asyncGenFunction,
1706
- '%AsyncGeneratorPrototype%': undefined$1,
1707
- '%AsyncIteratorPrototype%': undefined$1,
1709
+ '%AsyncFunction%': needsEval,
1710
+ '%AsyncGenerator%': needsEval,
1711
+ '%AsyncGeneratorFunction%': needsEval,
1712
+ '%AsyncIteratorPrototype%': needsEval,
1708
1713
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1714
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1709
1715
  '%Boolean%': Boolean,
1710
- '%BooleanPrototype%': Boolean.prototype,
1711
1716
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1712
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1713
1717
  '%Date%': Date,
1714
- '%DatePrototype%': Date.prototype,
1715
1718
  '%decodeURI%': decodeURI,
1716
1719
  '%decodeURIComponent%': decodeURIComponent,
1717
1720
  '%encodeURI%': encodeURI,
1718
1721
  '%encodeURIComponent%': encodeURIComponent,
1719
1722
  '%Error%': Error,
1720
- '%ErrorPrototype%': Error.prototype,
1721
1723
  '%eval%': eval, // eslint-disable-line no-eval
1722
1724
  '%EvalError%': EvalError,
1723
- '%EvalErrorPrototype%': EvalError.prototype,
1724
1725
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1725
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1726
1726
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1727
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1728
- '%Function%': Function,
1729
- '%FunctionPrototype%': Function.prototype,
1730
- '%Generator%': undefined$1,
1731
- '%GeneratorFunction%': generatorFunction,
1732
- '%GeneratorPrototype%': undefined$1,
1727
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1728
+ '%Function%': $Function,
1729
+ '%GeneratorFunction%': needsEval,
1733
1730
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1734
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1735
1731
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1736
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1737
1732
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1738
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1739
1733
  '%isFinite%': isFinite,
1740
1734
  '%isNaN%': isNaN,
1741
1735
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1742
1736
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1743
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1744
1737
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1745
1738
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1746
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1747
1739
  '%Math%': Math,
1748
1740
  '%Number%': Number,
1749
- '%NumberPrototype%': Number.prototype,
1750
1741
  '%Object%': Object,
1751
- '%ObjectPrototype%': Object.prototype,
1752
- '%ObjProto_toString%': Object.prototype.toString,
1753
- '%ObjProto_valueOf%': Object.prototype.valueOf,
1754
1742
  '%parseFloat%': parseFloat,
1755
1743
  '%parseInt%': parseInt,
1756
1744
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1757
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1758
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1759
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1760
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1761
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1762
1745
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1763
1746
  '%RangeError%': RangeError,
1764
- '%RangeErrorPrototype%': RangeError.prototype,
1765
1747
  '%ReferenceError%': ReferenceError,
1766
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
1767
1748
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1768
1749
  '%RegExp%': RegExp,
1769
- '%RegExpPrototype%': RegExp.prototype,
1770
1750
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1771
1751
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1772
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1773
1752
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1774
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1775
1753
  '%String%': String,
1776
1754
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1777
- '%StringPrototype%': String.prototype,
1778
1755
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1779
- '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1780
- '%SyntaxError%': SyntaxError,
1781
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
1756
+ '%SyntaxError%': $SyntaxError,
1782
1757
  '%ThrowTypeError%': ThrowTypeError,
1783
1758
  '%TypedArray%': TypedArray,
1784
- '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1785
1759
  '%TypeError%': $TypeError,
1786
- '%TypeErrorPrototype%': $TypeError.prototype,
1787
1760
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1788
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1789
1761
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1790
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1791
1762
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1792
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1793
1763
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1794
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1795
1764
  '%URIError%': URIError,
1796
- '%URIErrorPrototype%': URIError.prototype,
1797
1765
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1798
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1799
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1800
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1766
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1767
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1801
1768
  };
1802
1769
 
1770
+ var doEval = function doEval(name) {
1771
+ var value;
1772
+ if (name === '%AsyncFunction%') {
1773
+ value = getEvalledConstructor('async function () {}');
1774
+ } else if (name === '%GeneratorFunction%') {
1775
+ value = getEvalledConstructor('function* () {}');
1776
+ } else if (name === '%AsyncGeneratorFunction%') {
1777
+ value = getEvalledConstructor('async function* () {}');
1778
+ } else if (name === '%AsyncGenerator%') {
1779
+ var fn = doEval('%AsyncGeneratorFunction%');
1780
+ if (fn) {
1781
+ value = fn.prototype;
1782
+ }
1783
+ } else if (name === '%AsyncIteratorPrototype%') {
1784
+ var gen = doEval('%AsyncGenerator%');
1785
+ if (gen) {
1786
+ value = getProto(gen.prototype);
1787
+ }
1788
+ }
1789
+
1790
+ INTRINSICS[name] = value;
1803
1791
 
1792
+ return value;
1793
+ };
1794
+
1795
+ var LEGACY_ALIASES = {
1796
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1797
+ '%ArrayPrototype%': ['Array', 'prototype'],
1798
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1799
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1800
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1801
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1802
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1803
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1804
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1805
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1806
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1807
+ '%DatePrototype%': ['Date', 'prototype'],
1808
+ '%ErrorPrototype%': ['Error', 'prototype'],
1809
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1810
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1811
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1812
+ '%FunctionPrototype%': ['Function', 'prototype'],
1813
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1814
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1815
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1816
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1817
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1818
+ '%JSONParse%': ['JSON', 'parse'],
1819
+ '%JSONStringify%': ['JSON', 'stringify'],
1820
+ '%MapPrototype%': ['Map', 'prototype'],
1821
+ '%NumberPrototype%': ['Number', 'prototype'],
1822
+ '%ObjectPrototype%': ['Object', 'prototype'],
1823
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1824
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1825
+ '%PromisePrototype%': ['Promise', 'prototype'],
1826
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1827
+ '%Promise_all%': ['Promise', 'all'],
1828
+ '%Promise_reject%': ['Promise', 'reject'],
1829
+ '%Promise_resolve%': ['Promise', 'resolve'],
1830
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1831
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1832
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1833
+ '%SetPrototype%': ['Set', 'prototype'],
1834
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1835
+ '%StringPrototype%': ['String', 'prototype'],
1836
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1837
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1838
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1839
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1840
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1841
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1842
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1843
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1844
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1845
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1846
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1847
+ };
1848
+
1849
+
1850
+
1851
+ var $concat = functionBind.call(Function.call, Array.prototype.concat);
1852
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1804
1853
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1854
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1805
1855
 
1806
1856
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1807
1857
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1808
1858
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1809
1859
  var stringToPath = function stringToPath(string) {
1860
+ var first = $strSlice(string, 0, 1);
1861
+ var last = $strSlice(string, -1);
1862
+ if (first === '%' && last !== '%') {
1863
+ throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
1864
+ } else if (last === '%' && first !== '%') {
1865
+ throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
1866
+ }
1810
1867
  var result = [];
1811
1868
  $replace(string, rePropName, function (match, number, quote, subString) {
1812
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1869
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1813
1870
  });
1814
1871
  return result;
1815
1872
  };
1816
1873
  /* end adaptation */
1817
1874
 
1818
1875
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1819
- if (!(name in INTRINSICS)) {
1820
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1876
+ var intrinsicName = name;
1877
+ var alias;
1878
+ if (src(LEGACY_ALIASES, intrinsicName)) {
1879
+ alias = LEGACY_ALIASES[intrinsicName];
1880
+ intrinsicName = '%' + alias[0] + '%';
1821
1881
  }
1822
1882
 
1823
- // istanbul ignore if // hopefully this is impossible to test :-)
1824
- if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
1825
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1883
+ if (src(INTRINSICS, intrinsicName)) {
1884
+ var value = INTRINSICS[intrinsicName];
1885
+ if (value === needsEval) {
1886
+ value = doEval(intrinsicName);
1887
+ }
1888
+ if (typeof value === 'undefined' && !allowMissing) {
1889
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1890
+ }
1891
+
1892
+ return {
1893
+ alias: alias,
1894
+ name: intrinsicName,
1895
+ value: value
1896
+ };
1826
1897
  }
1827
1898
 
1828
- return INTRINSICS[name];
1899
+ throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
1829
1900
  };
1830
1901
 
1831
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1902
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1832
1903
  if (typeof name !== 'string' || name.length === 0) {
1833
- throw new TypeError('intrinsic name must be a non-empty string');
1904
+ throw new $TypeError('intrinsic name must be a non-empty string');
1834
1905
  }
1835
1906
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1836
- throw new TypeError('"allowMissing" argument must be a boolean');
1907
+ throw new $TypeError('"allowMissing" argument must be a boolean');
1837
1908
  }
1838
1909
 
1839
1910
  var parts = stringToPath(name);
1911
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1840
1912
 
1841
- var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
1842
- for (var i = 1; i < parts.length; i += 1) {
1843
- if (value != null) {
1913
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1914
+ var intrinsicRealName = intrinsic.name;
1915
+ var value = intrinsic.value;
1916
+ var skipFurtherCaching = false;
1917
+
1918
+ var alias = intrinsic.alias;
1919
+ if (alias) {
1920
+ intrinsicBaseName = alias[0];
1921
+ $spliceApply(parts, $concat([0, 1], alias));
1922
+ }
1923
+
1924
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1925
+ var part = parts[i];
1926
+ var first = $strSlice(part, 0, 1);
1927
+ var last = $strSlice(part, -1);
1928
+ if (
1929
+ (
1930
+ (first === '"' || first === "'" || first === '`')
1931
+ || (last === '"' || last === "'" || last === '`')
1932
+ )
1933
+ && first !== last
1934
+ ) {
1935
+ throw new $SyntaxError('property names with quotes must have matching quotes');
1936
+ }
1937
+ if (part === 'constructor' || !isOwn) {
1938
+ skipFurtherCaching = true;
1939
+ }
1940
+
1941
+ intrinsicBaseName += '.' + part;
1942
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
1943
+
1944
+ if (src(INTRINSICS, intrinsicRealName)) {
1945
+ value = INTRINSICS[intrinsicRealName];
1946
+ } else if (value != null) {
1947
+ if (!(part in value)) {
1948
+ if (!allowMissing) {
1949
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1950
+ }
1951
+ return void undefined$1;
1952
+ }
1844
1953
  if ($gOPD && (i + 1) >= parts.length) {
1845
- var desc = $gOPD(value, parts[i]);
1846
- value = desc ? (desc.get || desc.value) : value[parts[i]];
1954
+ var desc = $gOPD(value, part);
1955
+ isOwn = !!desc;
1956
+
1957
+ // By convention, when a data property is converted to an accessor
1958
+ // property to emulate a data property that does not suffer from
1959
+ // the override mistake, that accessor's getter is marked with
1960
+ // an `originalValue` property. Here, when we detect this, we
1961
+ // uphold the illusion by pretending to see that original data
1962
+ // property, i.e., returning the value rather than the getter
1963
+ // itself.
1964
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1965
+ value = desc.get;
1966
+ } else {
1967
+ value = value[part];
1968
+ }
1847
1969
  } else {
1848
- value = value[parts[i]];
1970
+ isOwn = src(value, part);
1971
+ value = value[part];
1972
+ }
1973
+
1974
+ if (isOwn && !skipFurtherCaching) {
1975
+ INTRINSICS[intrinsicRealName] = value;
1849
1976
  }
1850
1977
  }
1851
1978
  }
1852
1979
  return value;
1853
1980
  };
1854
1981
 
1855
- var $Function = GetIntrinsic('%Function%');
1856
- var $apply = $Function.apply;
1857
- var $call = $Function.call;
1982
+ var callBind = createCommonjsModule(function (module) {
1858
1983
 
1859
- var callBind = function callBind() {
1860
- return functionBind.apply($call, arguments);
1984
+
1985
+
1986
+
1987
+ var $apply = getIntrinsic('%Function.prototype.apply%');
1988
+ var $call = getIntrinsic('%Function.prototype.call%');
1989
+ var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1990
+
1991
+ var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1992
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1993
+ var $max = getIntrinsic('%Math.max%');
1994
+
1995
+ if ($defineProperty) {
1996
+ try {
1997
+ $defineProperty({}, 'a', { value: 1 });
1998
+ } catch (e) {
1999
+ // IE 8 has a broken defineProperty
2000
+ $defineProperty = null;
2001
+ }
2002
+ }
2003
+
2004
+ module.exports = function callBind(originalFunction) {
2005
+ var func = $reflectApply(functionBind, $call, arguments);
2006
+ if ($gOPD && $defineProperty) {
2007
+ var desc = $gOPD(func, 'length');
2008
+ if (desc.configurable) {
2009
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
2010
+ $defineProperty(
2011
+ func,
2012
+ 'length',
2013
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2014
+ );
2015
+ }
2016
+ }
2017
+ return func;
1861
2018
  };
1862
2019
 
1863
- var apply = function applyBind() {
1864
- return functionBind.apply($apply, arguments);
2020
+ var applyBind = function applyBind() {
2021
+ return $reflectApply(functionBind, $apply, arguments);
1865
2022
  };
1866
- callBind.apply = apply;
1867
2023
 
1868
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2024
+ if ($defineProperty) {
2025
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2026
+ } else {
2027
+ module.exports.apply = applyBind;
2028
+ }
2029
+ });
2030
+ callBind.apply;
2031
+
2032
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
1869
2033
 
1870
2034
  var callBound = function callBoundIntrinsic(name, allowMissing) {
1871
- var intrinsic = GetIntrinsic(name, !!allowMissing);
1872
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2035
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2036
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1873
2037
  return callBind(intrinsic);
1874
2038
  }
1875
2039
  return intrinsic;
1876
2040
  };
1877
2041
 
1878
- var $defineProperty = GetIntrinsic('%Object.defineProperty%');
2042
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2043
+
2044
+ if ($defineProperty) {
2045
+ try {
2046
+ $defineProperty({}, 'a', { value: 1 });
2047
+ } catch (e) {
2048
+ // IE 8 has a broken defineProperty
2049
+ $defineProperty = null;
2050
+ }
2051
+ }
1879
2052
 
1880
2053
 
1881
2054
 
@@ -1908,10 +2081,8 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1908
2081
  return true;
1909
2082
  };
1910
2083
 
1911
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1912
-
1913
- var $TypeError$1 = GetIntrinsic('%TypeError%');
1914
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2084
+ var $TypeError$1 = getIntrinsic('%TypeError%');
2085
+ var $SyntaxError$1 = getIntrinsic('%SyntaxError%');
1915
2086
 
1916
2087
 
1917
2088
 
@@ -1948,14 +2119,14 @@ var predicates = {
1948
2119
  var assertRecord = function assertRecord(Type, recordType, argumentName, value) {
1949
2120
  var predicate = predicates[recordType];
1950
2121
  if (typeof predicate !== 'function') {
1951
- throw new $SyntaxError('unknown record type: ' + recordType);
2122
+ throw new $SyntaxError$1('unknown record type: ' + recordType);
1952
2123
  }
1953
2124
  if (!predicate(Type, value)) {
1954
2125
  throw new $TypeError$1(argumentName + ' must be a ' + recordType);
1955
2126
  }
1956
2127
  };
1957
2128
 
1958
- // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2129
+ // https://ecma-international.org/ecma-262/5.1/#sec-8
1959
2130
 
1960
2131
  var Type = function Type(x) {
1961
2132
  if (x === null) {
@@ -1978,16 +2149,19 @@ var Type = function Type(x) {
1978
2149
  }
1979
2150
  };
1980
2151
 
1981
- // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2152
+ // https://ecma-international.org/ecma-262/11.0/#sec-ecmascript-data-types-and-values
1982
2153
 
1983
2154
  var Type$1 = function Type$1(x) {
1984
2155
  if (typeof x === 'symbol') {
1985
2156
  return 'Symbol';
1986
2157
  }
2158
+ if (typeof x === 'bigint') {
2159
+ return 'BigInt';
2160
+ }
1987
2161
  return Type(x);
1988
2162
  };
1989
2163
 
1990
- // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2164
+ // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
1991
2165
 
1992
2166
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
1993
2167
  if (typeof Desc === 'undefined') {
@@ -2018,7 +2192,278 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2018
2192
  return obj;
2019
2193
  };
2020
2194
 
2021
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2195
+ var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2196
+ if ($gOPD$1) {
2197
+ try {
2198
+ $gOPD$1([], 'length');
2199
+ } catch (e) {
2200
+ // IE 8 has a broken gOPD
2201
+ $gOPD$1 = null;
2202
+ }
2203
+ }
2204
+
2205
+ var getOwnPropertyDescriptor = $gOPD$1;
2206
+
2207
+ var $Array = getIntrinsic('%Array%');
2208
+
2209
+ // eslint-disable-next-line global-require
2210
+ var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2211
+
2212
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2213
+
2214
+ var IsArray = $Array.isArray || function IsArray(argument) {
2215
+ return toStr$4(argument) === '[object Array]';
2216
+ };
2217
+
2218
+ // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2219
+
2220
+ var IsPropertyKey = function IsPropertyKey(argument) {
2221
+ return typeof argument === 'string' || typeof argument === 'symbol';
2222
+ };
2223
+
2224
+ var hasSymbols$3 = hasSymbols$1();
2225
+ var hasToStringTag = hasSymbols$3 && typeof Symbol.toStringTag === 'symbol';
2226
+ var hasOwnProperty;
2227
+ var regexExec;
2228
+ var isRegexMarker;
2229
+ var badStringifier;
2230
+
2231
+ if (hasToStringTag) {
2232
+ hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty);
2233
+ regexExec = Function.call.bind(RegExp.prototype.exec);
2234
+ isRegexMarker = {};
2235
+
2236
+ var throwRegexMarker = function () {
2237
+ throw isRegexMarker;
2238
+ };
2239
+ badStringifier = {
2240
+ toString: throwRegexMarker,
2241
+ valueOf: throwRegexMarker
2242
+ };
2243
+
2244
+ if (typeof Symbol.toPrimitive === 'symbol') {
2245
+ badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2246
+ }
2247
+ }
2248
+
2249
+ var toStr$5 = Object.prototype.toString;
2250
+ var gOPD = Object.getOwnPropertyDescriptor;
2251
+ var regexClass = '[object RegExp]';
2252
+
2253
+ var isRegex = hasToStringTag
2254
+ // eslint-disable-next-line consistent-return
2255
+ ? function isRegex(value) {
2256
+ if (!value || typeof value !== 'object') {
2257
+ return false;
2258
+ }
2259
+
2260
+ var descriptor = gOPD(value, 'lastIndex');
2261
+ var hasLastIndexDataProperty = descriptor && hasOwnProperty(descriptor, 'value');
2262
+ if (!hasLastIndexDataProperty) {
2263
+ return false;
2264
+ }
2265
+
2266
+ try {
2267
+ regexExec(value, badStringifier);
2268
+ } catch (e) {
2269
+ return e === isRegexMarker;
2270
+ }
2271
+ }
2272
+ : function isRegex(value) {
2273
+ // In older browsers, typeof regex incorrectly returns 'function'
2274
+ if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
2275
+ return false;
2276
+ }
2277
+
2278
+ return toStr$5.call(value) === regexClass;
2279
+ };
2280
+
2281
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.2
2282
+
2283
+ var ToBoolean = function ToBoolean(value) { return !!value; };
2284
+
2285
+ var $match = getIntrinsic('%Symbol.match%', true);
2286
+
2287
+
2288
+
2289
+
2290
+
2291
+ // https://ecma-international.org/ecma-262/6.0/#sec-isregexp
2292
+
2293
+ var IsRegExp = function IsRegExp(argument) {
2294
+ if (!argument || typeof argument !== 'object') {
2295
+ return false;
2296
+ }
2297
+ if ($match) {
2298
+ var isRegExp = argument[$match];
2299
+ if (typeof isRegExp !== 'undefined') {
2300
+ return ToBoolean(isRegExp);
2301
+ }
2302
+ }
2303
+ return isRegex(argument);
2304
+ };
2305
+
2306
+ var fnToStr = Function.prototype.toString;
2307
+ var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
2308
+ var badArrayLike;
2309
+ var isCallableMarker;
2310
+ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
2311
+ try {
2312
+ badArrayLike = Object.defineProperty({}, 'length', {
2313
+ get: function () {
2314
+ throw isCallableMarker;
2315
+ }
2316
+ });
2317
+ isCallableMarker = {};
2318
+ // eslint-disable-next-line no-throw-literal
2319
+ reflectApply(function () { throw 42; }, null, badArrayLike);
2320
+ } catch (_) {
2321
+ if (_ !== isCallableMarker) {
2322
+ reflectApply = null;
2323
+ }
2324
+ }
2325
+ } else {
2326
+ reflectApply = null;
2327
+ }
2328
+
2329
+ var constructorRegex = /^\s*class\b/;
2330
+ var isES6ClassFn = function isES6ClassFunction(value) {
2331
+ try {
2332
+ var fnStr = fnToStr.call(value);
2333
+ return constructorRegex.test(fnStr);
2334
+ } catch (e) {
2335
+ return false; // not a function
2336
+ }
2337
+ };
2338
+
2339
+ var tryFunctionObject = function tryFunctionToStr(value) {
2340
+ try {
2341
+ if (isES6ClassFn(value)) { return false; }
2342
+ fnToStr.call(value);
2343
+ return true;
2344
+ } catch (e) {
2345
+ return false;
2346
+ }
2347
+ };
2348
+ var toStr$6 = Object.prototype.toString;
2349
+ var fnClass = '[object Function]';
2350
+ var genClass = '[object GeneratorFunction]';
2351
+ var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2352
+
2353
+ var isCallable = reflectApply
2354
+ ? function isCallable(value) {
2355
+ if (!value) { return false; }
2356
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2357
+ if (typeof value === 'function' && !value.prototype) { return true; }
2358
+ try {
2359
+ reflectApply(value, null, badArrayLike);
2360
+ } catch (e) {
2361
+ if (e !== isCallableMarker) { return false; }
2362
+ }
2363
+ return !isES6ClassFn(value);
2364
+ }
2365
+ : function isCallable(value) {
2366
+ if (!value) { return false; }
2367
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2368
+ if (typeof value === 'function' && !value.prototype) { return true; }
2369
+ if (hasToStringTag$1) { return tryFunctionObject(value); }
2370
+ if (isES6ClassFn(value)) { return false; }
2371
+ var strClass = toStr$6.call(value);
2372
+ return strClass === fnClass || strClass === genClass;
2373
+ };
2374
+
2375
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.11
2376
+
2377
+ var IsCallable = isCallable;
2378
+
2379
+ var $TypeError$2 = getIntrinsic('%TypeError%');
2380
+
2381
+
2382
+
2383
+
2384
+
2385
+ // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
2386
+
2387
+ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2388
+ if (Type$1(Obj) !== 'Object') {
2389
+ throw new $TypeError$2('ToPropertyDescriptor requires an object');
2390
+ }
2391
+
2392
+ var desc = {};
2393
+ if (src(Obj, 'enumerable')) {
2394
+ desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);
2395
+ }
2396
+ if (src(Obj, 'configurable')) {
2397
+ desc['[[Configurable]]'] = ToBoolean(Obj.configurable);
2398
+ }
2399
+ if (src(Obj, 'value')) {
2400
+ desc['[[Value]]'] = Obj.value;
2401
+ }
2402
+ if (src(Obj, 'writable')) {
2403
+ desc['[[Writable]]'] = ToBoolean(Obj.writable);
2404
+ }
2405
+ if (src(Obj, 'get')) {
2406
+ var getter = Obj.get;
2407
+ if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2408
+ throw new $TypeError$2('getter must be a function');
2409
+ }
2410
+ desc['[[Get]]'] = getter;
2411
+ }
2412
+ if (src(Obj, 'set')) {
2413
+ var setter = Obj.set;
2414
+ if (typeof setter !== 'undefined' && !IsCallable(setter)) {
2415
+ throw new $TypeError$2('setter must be a function');
2416
+ }
2417
+ desc['[[Set]]'] = setter;
2418
+ }
2419
+
2420
+ if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
2421
+ throw new $TypeError$2('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2422
+ }
2423
+ return desc;
2424
+ };
2425
+
2426
+ var $TypeError$3 = getIntrinsic('%TypeError%');
2427
+
2428
+
2429
+
2430
+ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2431
+
2432
+
2433
+
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+
2440
+ // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2441
+
2442
+ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2443
+ if (Type$1(O) !== 'Object') {
2444
+ throw new $TypeError$3('Assertion failed: O must be an Object');
2445
+ }
2446
+ if (!IsPropertyKey(P)) {
2447
+ throw new $TypeError$3('Assertion failed: P must be a Property Key');
2448
+ }
2449
+ if (!src(O, P)) {
2450
+ return void 0;
2451
+ }
2452
+ if (!getOwnPropertyDescriptor) {
2453
+ // ES3 / IE 8 fallback
2454
+ var arrayLength = IsArray(O) && P === 'length';
2455
+ var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
2456
+ return {
2457
+ '[[Configurable]]': !(arrayLength || regexLastIndex),
2458
+ '[[Enumerable]]': $isEnumerable$1(O, P),
2459
+ '[[Value]]': O[P],
2460
+ '[[Writable]]': true
2461
+ };
2462
+ }
2463
+ return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2464
+ };
2465
+
2466
+ // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2022
2467
 
2023
2468
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2024
2469
  if (typeof Desc === 'undefined') {
@@ -2038,34 +2483,28 @@ var isPrimitive = function isPrimitive(value) {
2038
2483
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2039
2484
  };
2040
2485
 
2041
- var $Object = GetIntrinsic('%Object%');
2486
+ var $Object = getIntrinsic('%Object%');
2042
2487
 
2043
2488
 
2044
2489
 
2045
2490
  var $preventExtensions = $Object.preventExtensions;
2046
2491
  var $isExtensible = $Object.isExtensible;
2047
2492
 
2048
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2493
+ // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2049
2494
 
2050
2495
  var IsExtensible = $preventExtensions
2051
2496
  ? function IsExtensible(obj) {
2052
2497
  return !isPrimitive(obj) && $isExtensible(obj);
2053
2498
  }
2054
- : function IsExtensible(obj) { // eslint-disable-line no-unused-vars
2055
- return true;
2499
+ : function IsExtensible(obj) {
2500
+ return !isPrimitive(obj);
2056
2501
  };
2057
2502
 
2058
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2059
-
2060
- var IsPropertyKey = function IsPropertyKey(argument) {
2061
- return typeof argument === 'string' || typeof argument === 'symbol';
2062
- };
2063
-
2064
2503
  var _isNaN = Number.isNaN || function isNaN(a) {
2065
2504
  return a !== a;
2066
2505
  };
2067
2506
 
2068
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2507
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.12
2069
2508
 
2070
2509
  var SameValue = function SameValue(x, y) {
2071
2510
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2075,8 +2514,7 @@ var SameValue = function SameValue(x, y) {
2075
2514
  return _isNaN(x) && _isNaN(y);
2076
2515
  };
2077
2516
 
2078
- var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2079
- var $TypeError$2 = GetIntrinsic('%TypeError%');
2517
+ var $TypeError$4 = getIntrinsic('%TypeError%');
2080
2518
 
2081
2519
 
2082
2520
 
@@ -2087,18 +2525,19 @@ var $TypeError$2 = GetIntrinsic('%TypeError%');
2087
2525
 
2088
2526
 
2089
2527
 
2090
- // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2528
+
2529
+ // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2091
2530
 
2092
2531
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2093
2532
  if (Type$1(O) !== 'Object') {
2094
- throw new $TypeError$2('Assertion failed: Type(O) is not Object');
2533
+ throw new $TypeError$4('Assertion failed: Type(O) is not Object');
2095
2534
  }
2096
2535
  if (!IsPropertyKey(P)) {
2097
- throw new $TypeError$2('Assertion failed: IsPropertyKey(P) is not true');
2536
+ throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2098
2537
  }
2099
- var oldDesc = $gOPD$1(O, P);
2100
- var extensible = oldDesc || IsExtensible(O);
2101
- var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable);
2538
+ var oldDesc = OrdinaryGetOwnProperty(O, P);
2539
+ var extensible = !oldDesc || IsExtensible(O);
2540
+ var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
2102
2541
  if (immutable || !extensible) {
2103
2542
  return false;
2104
2543
  }
@@ -2117,64 +2556,24 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2117
2556
  );
2118
2557
  };
2119
2558
 
2120
- var fnToStr = Function.prototype.toString;
2121
-
2122
- var constructorRegex = /^\s*class\b/;
2123
- var isES6ClassFn = function isES6ClassFunction(value) {
2124
- try {
2125
- var fnStr = fnToStr.call(value);
2126
- return constructorRegex.test(fnStr);
2127
- } catch (e) {
2128
- return false; // not a function
2129
- }
2130
- };
2131
-
2132
- var tryFunctionObject = function tryFunctionToStr(value) {
2133
- try {
2134
- if (isES6ClassFn(value)) { return false; }
2135
- fnToStr.call(value);
2136
- return true;
2137
- } catch (e) {
2138
- return false;
2139
- }
2140
- };
2141
- var toStr$4 = Object.prototype.toString;
2142
- var fnClass = '[object Function]';
2143
- var genClass = '[object GeneratorFunction]';
2144
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2145
-
2146
- var isCallable = function isCallable(value) {
2147
- if (!value) { return false; }
2148
- if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2149
- if (typeof value === 'function' && !value.prototype) { return true; }
2150
- if (hasToStringTag) { return tryFunctionObject(value); }
2151
- if (isES6ClassFn(value)) { return false; }
2152
- var strClass = toStr$4.call(value);
2153
- return strClass === fnClass || strClass === genClass;
2154
- };
2155
-
2156
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2157
-
2158
- var IsCallable = isCallable;
2159
-
2160
- var $TypeError$3 = GetIntrinsic('%TypeError%');
2559
+ var $TypeError$5 = getIntrinsic('%TypeError%');
2161
2560
 
2162
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2561
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.10
2163
2562
 
2164
2563
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2165
2564
  if (value == null) {
2166
- throw new $TypeError$3(optMessage || ('Cannot call method on ' + value));
2565
+ throw new $TypeError$5(optMessage || ('Cannot call method on ' + value));
2167
2566
  }
2168
2567
  return value;
2169
2568
  };
2170
2569
 
2171
2570
  var RequireObjectCoercible = CheckObjectCoercible;
2172
2571
 
2173
- var $Object$1 = GetIntrinsic('%Object%');
2572
+ var $Object$1 = getIntrinsic('%Object%');
2174
2573
 
2175
2574
 
2176
2575
 
2177
- // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2576
+ // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2178
2577
 
2179
2578
  var ToObject = function ToObject(value) {
2180
2579
  RequireObjectCoercible(value);
@@ -2184,10 +2583,10 @@ var ToObject = function ToObject(value) {
2184
2583
  var $gOPD$2 = Object.getOwnPropertyDescriptor;
2185
2584
  var $getOwnNames = Object.getOwnPropertyNames;
2186
2585
  var $getSymbols = Object.getOwnPropertySymbols;
2187
- var $concat = callBound('Array.prototype.concat');
2586
+ var $concat$1 = callBound('Array.prototype.concat');
2188
2587
  var $reduce = callBound('Array.prototype.reduce');
2189
2588
  var getAll = $getSymbols ? function (obj) {
2190
- return $concat($getOwnNames(obj), $getSymbols(obj));
2589
+ return $concat$1($getOwnNames(obj), $getSymbols(obj));
2191
2590
  } : $getOwnNames;
2192
2591
 
2193
2592
  var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
@@ -2226,13 +2625,15 @@ var shim = function shimGetOwnPropertyDescriptors() {
2226
2625
  return polyfill$1;
2227
2626
  };
2228
2627
 
2229
- defineProperties_1(implementation$2, {
2628
+ var bound = callBind(polyfill(), Object);
2629
+
2630
+ defineProperties_1(bound, {
2230
2631
  getPolyfill: polyfill,
2231
2632
  implementation: implementation$2,
2232
2633
  shim: shim
2233
2634
  });
2234
2635
 
2235
- var object_getownpropertydescriptors = implementation$2;
2636
+ var object_getownpropertydescriptors = bound;
2236
2637
 
2237
2638
  /* globals
2238
2639
  Atomics,
@@ -2241,7 +2642,7 @@ var object_getownpropertydescriptors = implementation$2;
2241
2642
 
2242
2643
  var undefined$2;
2243
2644
 
2244
- var $TypeError$4 = TypeError;
2645
+ var $TypeError$6 = TypeError;
2245
2646
 
2246
2647
  var $gOPD$3 = Object.getOwnPropertyDescriptor;
2247
2648
  if ($gOPD$3) {
@@ -2252,7 +2653,7 @@ if ($gOPD$3) {
2252
2653
  }
2253
2654
  }
2254
2655
 
2255
- var throwTypeError$1 = function () { throw new $TypeError$4(); };
2656
+ var throwTypeError$1 = function () { throw new $TypeError$6(); };
2256
2657
  var ThrowTypeError$1 = $gOPD$3
2257
2658
  ? (function () {
2258
2659
  try {
@@ -2270,12 +2671,12 @@ var ThrowTypeError$1 = $gOPD$3
2270
2671
  }())
2271
2672
  : throwTypeError$1;
2272
2673
 
2273
- var hasSymbols$3 = hasSymbols$1();
2674
+ var hasSymbols$4 = hasSymbols$1();
2274
2675
 
2275
2676
  var getProto$1 = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
2276
- var generatorFunction$1 = undefined$2;
2277
- var asyncFunction$1 = undefined$2;
2278
- var asyncGenFunction$1 = undefined$2;
2677
+ var generatorFunction = undefined$2;
2678
+ var asyncFunction = undefined$2;
2679
+ var asyncGenFunction = undefined$2;
2279
2680
 
2280
2681
  var TypedArray$1 = typeof Uint8Array === 'undefined' ? undefined$2 : getProto$1(Uint8Array);
2281
2682
 
@@ -2283,17 +2684,17 @@ var INTRINSICS$1 = {
2283
2684
  '%Array%': Array,
2284
2685
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer,
2285
2686
  '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer.prototype,
2286
- '%ArrayIteratorPrototype%': hasSymbols$3 ? getProto$1([][Symbol.iterator]()) : undefined$2,
2687
+ '%ArrayIteratorPrototype%': hasSymbols$4 ? getProto$1([][Symbol.iterator]()) : undefined$2,
2287
2688
  '%ArrayPrototype%': Array.prototype,
2288
2689
  '%ArrayProto_entries%': Array.prototype.entries,
2289
2690
  '%ArrayProto_forEach%': Array.prototype.forEach,
2290
2691
  '%ArrayProto_keys%': Array.prototype.keys,
2291
2692
  '%ArrayProto_values%': Array.prototype.values,
2292
2693
  '%AsyncFromSyncIteratorPrototype%': undefined$2,
2293
- '%AsyncFunction%': asyncFunction$1,
2694
+ '%AsyncFunction%': asyncFunction,
2294
2695
  '%AsyncFunctionPrototype%': undefined$2,
2295
2696
  '%AsyncGenerator%': undefined$2,
2296
- '%AsyncGeneratorFunction%': asyncGenFunction$1,
2697
+ '%AsyncGeneratorFunction%': asyncGenFunction,
2297
2698
  '%AsyncGeneratorPrototype%': undefined$2,
2298
2699
  '%AsyncIteratorPrototype%': undefined$2,
2299
2700
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$2 : Atomics,
@@ -2319,7 +2720,7 @@ var INTRINSICS$1 = {
2319
2720
  '%Function%': Function,
2320
2721
  '%FunctionPrototype%': Function.prototype,
2321
2722
  '%Generator%': undefined$2,
2322
- '%GeneratorFunction%': generatorFunction$1,
2723
+ '%GeneratorFunction%': generatorFunction,
2323
2724
  '%GeneratorPrototype%': undefined$2,
2324
2725
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array,
2325
2726
  '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array.prototype,
@@ -2329,11 +2730,11 @@ var INTRINSICS$1 = {
2329
2730
  '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array.prototype,
2330
2731
  '%isFinite%': isFinite,
2331
2732
  '%isNaN%': isNaN,
2332
- '%IteratorPrototype%': hasSymbols$3 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
2733
+ '%IteratorPrototype%': hasSymbols$4 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
2333
2734
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$2,
2334
2735
  '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$2,
2335
2736
  '%Map%': typeof Map === 'undefined' ? undefined$2 : Map,
2336
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$3 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
2737
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
2337
2738
  '%MapPrototype%': typeof Map === 'undefined' ? undefined$2 : Map.prototype,
2338
2739
  '%Math%': Math,
2339
2740
  '%Number%': Number,
@@ -2359,22 +2760,22 @@ var INTRINSICS$1 = {
2359
2760
  '%RegExp%': RegExp,
2360
2761
  '%RegExpPrototype%': RegExp.prototype,
2361
2762
  '%Set%': typeof Set === 'undefined' ? undefined$2 : Set,
2362
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$3 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
2763
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
2363
2764
  '%SetPrototype%': typeof Set === 'undefined' ? undefined$2 : Set.prototype,
2364
2765
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer,
2365
2766
  '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer.prototype,
2366
2767
  '%String%': String,
2367
- '%StringIteratorPrototype%': hasSymbols$3 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
2768
+ '%StringIteratorPrototype%': hasSymbols$4 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
2368
2769
  '%StringPrototype%': String.prototype,
2369
- '%Symbol%': hasSymbols$3 ? Symbol : undefined$2,
2370
- '%SymbolPrototype%': hasSymbols$3 ? Symbol.prototype : undefined$2,
2770
+ '%Symbol%': hasSymbols$4 ? Symbol : undefined$2,
2771
+ '%SymbolPrototype%': hasSymbols$4 ? Symbol.prototype : undefined$2,
2371
2772
  '%SyntaxError%': SyntaxError,
2372
2773
  '%SyntaxErrorPrototype%': SyntaxError.prototype,
2373
2774
  '%ThrowTypeError%': ThrowTypeError$1,
2374
2775
  '%TypedArray%': TypedArray$1,
2375
2776
  '%TypedArrayPrototype%': TypedArray$1 ? TypedArray$1.prototype : undefined$2,
2376
- '%TypeError%': $TypeError$4,
2377
- '%TypeErrorPrototype%': $TypeError$4.prototype,
2777
+ '%TypeError%': $TypeError$6,
2778
+ '%TypeErrorPrototype%': $TypeError$6.prototype,
2378
2779
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array,
2379
2780
  '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array.prototype,
2380
2781
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray,
@@ -2413,13 +2814,13 @@ var getBaseIntrinsic$1 = function getBaseIntrinsic(name, allowMissing) {
2413
2814
 
2414
2815
  // istanbul ignore if // hopefully this is impossible to test :-)
2415
2816
  if (typeof INTRINSICS$1[name] === 'undefined' && !allowMissing) {
2416
- throw new $TypeError$4('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2817
+ throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2417
2818
  }
2418
2819
 
2419
2820
  return INTRINSICS$1[name];
2420
2821
  };
2421
2822
 
2422
- var GetIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
2823
+ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
2423
2824
  if (typeof name !== 'string' || name.length === 0) {
2424
2825
  throw new TypeError('intrinsic name must be a non-empty string');
2425
2826
  }
@@ -2435,9 +2836,16 @@ var GetIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
2435
2836
  if ($gOPD$3 && (i + 1) >= parts.length) {
2436
2837
  var desc = $gOPD$3(value, parts[i]);
2437
2838
  if (!allowMissing && !(parts[i] in value)) {
2438
- throw new $TypeError$4('base intrinsic for ' + name + ' exists, but the property is not available.');
2839
+ throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');
2439
2840
  }
2440
- value = desc ? (desc.get || desc.value) : value[parts[i]];
2841
+ // By convention, when a data property is converted to an accessor
2842
+ // property to emulate a data property that does not suffer from
2843
+ // the override mistake, that accessor's getter is marked with
2844
+ // an `originalValue` property. Here, when we detect this, we
2845
+ // uphold the illusion by pretending to see that original data
2846
+ // property, i.e., returning the value rather than the getter
2847
+ // itself.
2848
+ value = desc && 'get' in desc && !('originalValue' in desc.get) ? desc.get : value[parts[i]];
2441
2849
  } else {
2442
2850
  value = value[parts[i]];
2443
2851
  }
@@ -2446,23 +2854,47 @@ var GetIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
2446
2854
  return value;
2447
2855
  };
2448
2856
 
2449
- var $apply$1 = GetIntrinsic$1('%Function.prototype.apply%');
2450
- var $call$1 = GetIntrinsic$1('%Function.prototype.call%');
2451
- var $reflectApply = GetIntrinsic$1('%Reflect.apply%', true) || functionBind.call($call$1, $apply$1);
2857
+ var callBind$1 = createCommonjsModule(function (module) {
2858
+
2859
+
2860
+
2861
+
2452
2862
 
2453
- var callBind$1 = function callBind() {
2454
- return $reflectApply(functionBind, $call$1, arguments);
2863
+ var $apply = GetIntrinsic('%Function.prototype.apply%');
2864
+ var $call = GetIntrinsic('%Function.prototype.call%');
2865
+ var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
2866
+
2867
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2868
+
2869
+ if ($defineProperty) {
2870
+ try {
2871
+ $defineProperty({}, 'a', { value: 1 });
2872
+ } catch (e) {
2873
+ // IE 8 has a broken defineProperty
2874
+ $defineProperty = null;
2875
+ }
2876
+ }
2877
+
2878
+ module.exports = function callBind() {
2879
+ return $reflectApply(functionBind, $call, arguments);
2455
2880
  };
2456
2881
 
2457
- var apply$1 = function applyBind() {
2458
- return $reflectApply(functionBind, $apply$1, arguments);
2882
+ var applyBind = function applyBind() {
2883
+ return $reflectApply(functionBind, $apply, arguments);
2459
2884
  };
2460
- callBind$1.apply = apply$1;
2461
2885
 
2462
- var $indexOf$1 = callBind$1(GetIntrinsic$1('String.prototype.indexOf'));
2886
+ if ($defineProperty) {
2887
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2888
+ } else {
2889
+ module.exports.apply = applyBind;
2890
+ }
2891
+ });
2892
+ callBind$1.apply;
2893
+
2894
+ var $indexOf$1 = callBind$1(GetIntrinsic('String.prototype.indexOf'));
2463
2895
 
2464
2896
  var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2465
- var intrinsic = GetIntrinsic$1(name, !!allowMissing);
2897
+ var intrinsic = GetIntrinsic(name, !!allowMissing);
2466
2898
  if (typeof intrinsic === 'function' && $indexOf$1(name, '.prototype.')) {
2467
2899
  return callBind$1(intrinsic);
2468
2900
  }
@@ -2487,13 +2919,13 @@ if (typeof Promise !== 'function') {
2487
2919
 
2488
2920
 
2489
2921
  var $slice = callBound$1('Array.prototype.slice');
2490
- var $concat$1 = callBound$1('Array.prototype.concat');
2922
+ var $concat$2 = callBound$1('Array.prototype.concat');
2491
2923
  var $forEach = callBound$1('Array.prototype.forEach');
2492
2924
 
2493
- var hasSymbols$4 = hasSymbols$1();
2925
+ var hasSymbols$5 = hasSymbols$1();
2494
2926
 
2495
- var kCustomPromisifiedSymbol = hasSymbols$4 ? Symbol('util.promisify.custom') : null;
2496
- var kCustomPromisifyArgsSymbol = hasSymbols$4 ? Symbol('customPromisifyArgs') : null;
2927
+ var kCustomPromisifiedSymbol = hasSymbols$5 ? Symbol('util.promisify.custom') : null;
2928
+ var kCustomPromisifyArgsSymbol = hasSymbols$5 ? Symbol('customPromisifyArgs') : null;
2497
2929
 
2498
2930
  var implementation$3 = function promisify(orig) {
2499
2931
  if (typeof orig !== 'function') {
@@ -2503,7 +2935,7 @@ var implementation$3 = function promisify(orig) {
2503
2935
  throw error;
2504
2936
  }
2505
2937
 
2506
- if (hasSymbols$4 && orig[kCustomPromisifiedSymbol]) {
2938
+ if (hasSymbols$5 && orig[kCustomPromisifiedSymbol]) {
2507
2939
  var customFunction = orig[kCustomPromisifiedSymbol];
2508
2940
  if (typeof customFunction !== 'function') {
2509
2941
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2525,7 +2957,7 @@ var implementation$3 = function promisify(orig) {
2525
2957
  var args = $slice(arguments);
2526
2958
  var self = this; // eslint-disable-line no-invalid-this
2527
2959
  return new Promise(function (resolve, reject) {
2528
- orig.apply(self, $concat$1(args, function (err) {
2960
+ orig.apply(self, $concat$2(args, function (err) {
2529
2961
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2530
2962
  if (err) {
2531
2963
  reject(err);
@@ -2804,7 +3236,7 @@ var md5 = createCommonjsModule(function (module) {
2804
3236
  message = utf8.stringToBytes(message);
2805
3237
  else if (isBuffer(message))
2806
3238
  message = Array.prototype.slice.call(message, 0);
2807
- else if (!Array.isArray(message))
3239
+ else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2808
3240
  message = message.toString();
2809
3241
  // else, assume byte array already
2810
3242