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

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 (306) hide show
  1. package/dist/cjs/AD.js +10 -9
  2. package/dist/cjs/AD300x250.js +30 -30
  3. package/dist/cjs/AD300x250x600.js +30 -30
  4. package/dist/cjs/AD728x90.js +33 -33
  5. package/dist/cjs/ADFloatingFooter.js +32 -32
  6. package/dist/cjs/ADFooter.js +15 -14
  7. package/dist/cjs/ADGutter.js +32 -32
  8. package/dist/cjs/{ADInfeed-7c4b33b3.js → ADInfeed-d9976673.js} +15 -13
  9. package/dist/cjs/ADSkyscraper.js +32 -32
  10. package/dist/cjs/ADSponsoredResources.js +32 -32
  11. package/dist/cjs/ADWebcast.js +32 -32
  12. package/dist/cjs/ADWelcome.js +33 -33
  13. package/dist/cjs/{ADlgInfeed-563e0168.js → ADlgInfeed-0610e1bb.js} +11 -10
  14. package/dist/cjs/AccordionPanel.js +31 -29
  15. package/dist/cjs/AdSlot.js +35 -35
  16. package/dist/cjs/AdSlotsProvider.js +20 -912
  17. package/dist/cjs/AlgoliaSearch.js +60 -14122
  18. package/dist/cjs/AlphabeticList.js +26 -25
  19. package/dist/cjs/ArticleCarousel.js +24 -23
  20. package/dist/cjs/ArticleProgramLandingPage.js +57 -57
  21. package/dist/cjs/ArticleSeriesLandingPage.js +41 -41
  22. package/dist/cjs/ArticleSeriesListing.js +61 -61
  23. package/dist/cjs/Auth.js +686 -462
  24. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
  25. package/dist/cjs/Beam.js +8 -8
  26. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
  27. package/dist/cjs/Breadcrumbs.js +29 -27
  28. package/dist/cjs/CMEDeck.js +83 -84
  29. package/dist/cjs/Column1.js +14 -11
  30. package/dist/cjs/Column2.js +36 -33
  31. package/dist/cjs/Column3.js +61 -59
  32. package/dist/cjs/ConferenceArticleCard.js +24 -23
  33. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  34. package/dist/cjs/DeckContent.js +99 -96
  35. package/dist/cjs/DeckQueue.js +92 -89
  36. package/dist/cjs/{Dfp-26baccf1.js → Dfp-3f0ed4c8.js} +34 -34
  37. package/dist/cjs/EventsDeck.js +142 -135
  38. package/dist/cjs/ExternalResources.js +80 -80
  39. package/dist/cjs/Feature.js +27 -25
  40. package/dist/cjs/ForbesHero.js +41 -40
  41. package/dist/cjs/GridContent.js +182 -179
  42. package/dist/cjs/GridHero.js +43 -42
  43. package/dist/cjs/GroupDeck.js +59 -58
  44. package/dist/cjs/HamMagazine.js +136 -131
  45. package/dist/cjs/Header.js +14 -12
  46. package/dist/cjs/Hero.js +13 -12
  47. package/dist/cjs/HighlightenVideo.js +18 -17
  48. package/dist/cjs/HorizontalArticleListing.js +70 -70
  49. package/dist/cjs/HorizontalHero.js +27 -26
  50. package/dist/cjs/IssueContentDeck.js +77 -72
  51. package/dist/cjs/IssueDeck.js +76 -71
  52. package/dist/cjs/IssueLanding.js +43 -43
  53. package/dist/cjs/LeftNav.js +40 -39
  54. package/dist/cjs/MasterDeck.js +72 -72
  55. package/dist/cjs/MediaSeriesLanding.js +1182 -1091
  56. package/dist/cjs/NavDvm.js +79 -74
  57. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  58. package/dist/cjs/NavMagazine.js +143 -138
  59. package/dist/cjs/NavNative.js +138 -130
  60. package/dist/cjs/NavNormal.js +53 -48
  61. package/dist/cjs/OncliveHero.js +20 -20
  62. package/dist/cjs/OncliveLargeHero.js +67 -66
  63. package/dist/cjs/PageFilter.js +15 -14
  64. package/dist/cjs/PartnerDetailListing.js +109 -109
  65. package/dist/cjs/PdfDownload.js +10 -9
  66. package/dist/cjs/PopUpModal.js +21 -19
  67. package/dist/cjs/PubSection.js +42 -42
  68. package/dist/cjs/PubToc.js +16 -15
  69. package/dist/cjs/PublicationDeck.js +66 -61
  70. package/dist/cjs/PublicationLanding.js +112 -108
  71. package/dist/cjs/QueueDeckExpanded.js +294 -295
  72. package/dist/cjs/RecentNews.js +25 -24
  73. package/dist/cjs/RelatedContent.js +25 -24
  74. package/dist/cjs/RelatedTopicsDropdown.js +22 -19
  75. package/dist/cjs/RolesDeck.js +32 -27
  76. package/dist/cjs/Search.js +22 -18
  77. package/dist/cjs/Segment.js +6 -6
  78. package/dist/cjs/SeriesListingDeck.js +38 -39
  79. package/dist/cjs/{SeriesSlider-4abb21b4.js → SeriesSlider-2db54929.js} +38 -37
  80. package/dist/cjs/SetCookie.js +1 -1
  81. package/dist/cjs/SideFooter.js +37 -36
  82. package/dist/cjs/SocialIcons.js +10 -9
  83. package/dist/cjs/{SocialSearchComponent-97dd19a5.js → SocialSearchComponent-948138c7.js} +40 -36
  84. package/dist/cjs/SocialShare.js +31 -29
  85. package/dist/cjs/TaxonomyCard.js +63 -58
  86. package/dist/cjs/TaxonomyDescription.js +54 -54
  87. package/dist/cjs/TemplateNormal.js +76 -76
  88. package/dist/cjs/ThumbnailCard.js +22 -20
  89. package/dist/cjs/Ustream.js +31 -30
  90. package/dist/cjs/VerticalHero.js +18 -17
  91. package/dist/cjs/VideoProgramLandingPage.js +76 -73
  92. package/dist/cjs/VideoSeriesCard.js +33 -32
  93. package/dist/cjs/VideoSeriesFilter.js +18 -18
  94. package/dist/cjs/VideoSeriesLandingPage.js +50 -50
  95. package/dist/cjs/VideoSeriesListing.js +78 -78
  96. package/dist/cjs/View.js +263 -261
  97. package/dist/cjs/YahooHero.js +40 -39
  98. package/dist/cjs/YoutubeGroup.js +63 -62
  99. package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
  100. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
  101. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  102. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
  103. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
  104. package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
  105. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
  106. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  107. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
  108. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  109. package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
  110. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
  111. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  112. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  113. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
  114. package/dist/cjs/{extends-0a918631.js → extends-9d158713.js} +7 -8
  115. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  116. package/dist/cjs/getRelatedArticle.js +20 -20
  117. package/dist/cjs/getRootDocGroup.js +6 -6
  118. package/dist/cjs/getSerializers.js +43 -44
  119. package/dist/cjs/{getTargeting-021d644c.js → getTargeting-fbbe92ba.js} +3 -3
  120. package/dist/cjs/getTargeting.js +8 -8
  121. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  122. package/dist/cjs/{index-98e01cb9.js → index-0e4427c8.js} +479 -13
  123. package/dist/cjs/{index-7340b76d.js → index-a766f892.js} +1059 -1261
  124. package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
  125. package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
  126. package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
  127. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  128. package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
  129. package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
  130. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-9225638f.js} +5 -10
  131. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
  132. package/dist/cjs/index.js +165 -162
  133. package/dist/cjs/{inherits-9953db94.js → inherits-3ff1b657.js} +22 -25
  134. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  135. package/dist/cjs/keys-7f2c2108.js +25 -0
  136. package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
  137. package/dist/cjs/main-f1c77adb.js +973 -0
  138. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  139. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  140. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
  141. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  142. package/dist/cjs/stringify-c9ac1214.js +17 -0
  143. package/dist/cjs/timeDifferenceCalc.js +1 -1
  144. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
  145. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  146. package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
  147. package/dist/cjs/urlFor.js +2 -2
  148. package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
  149. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  150. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  151. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
  152. package/dist/esm/AD.js +1 -1
  153. package/dist/esm/AD300x250.js +23 -24
  154. package/dist/esm/AD300x250x600.js +23 -24
  155. package/dist/esm/AD728x90.js +26 -27
  156. package/dist/esm/ADFloatingFooter.js +22 -23
  157. package/dist/esm/ADFooter.js +6 -6
  158. package/dist/esm/ADGutter.js +22 -23
  159. package/dist/esm/{ADInfeed-31055afd.js → ADInfeed-33e556f5.js} +6 -6
  160. package/dist/esm/ADSkyscraper.js +22 -23
  161. package/dist/esm/ADSponsoredResources.js +22 -23
  162. package/dist/esm/ADWebcast.js +22 -23
  163. package/dist/esm/ADWelcome.js +19 -20
  164. package/dist/esm/{ADlgInfeed-dcb27a6c.js → ADlgInfeed-1270c526.js} +4 -4
  165. package/dist/esm/AccordionPanel.js +8 -8
  166. package/dist/esm/AdSlot.js +23 -24
  167. package/dist/esm/AdSlotsProvider.js +16 -909
  168. package/dist/esm/AlgoliaSearch.js +28 -14091
  169. package/dist/esm/AlphabeticList.js +10 -10
  170. package/dist/esm/ArticleCarousel.js +17 -17
  171. package/dist/esm/ArticleProgramLandingPage.js +47 -48
  172. package/dist/esm/ArticleSeriesLandingPage.js +32 -33
  173. package/dist/esm/ArticleSeriesListing.js +33 -34
  174. package/dist/esm/Auth.js +595 -375
  175. package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-30aeba69.js} +1 -1
  176. package/dist/esm/Beam.js +8 -8
  177. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c99c9a8d.js} +34 -34
  178. package/dist/esm/Breadcrumbs.js +7 -7
  179. package/dist/esm/CMEDeck.js +24 -25
  180. package/dist/esm/Column1.js +4 -4
  181. package/dist/esm/Column2.js +21 -21
  182. package/dist/esm/Column3.js +38 -39
  183. package/dist/esm/ConferenceArticleCard.js +7 -7
  184. package/dist/esm/DeckContent.js +48 -49
  185. package/dist/esm/DeckQueue.js +47 -48
  186. package/dist/esm/{Dfp-b7236041.js → Dfp-be030f2a.js} +14 -15
  187. package/dist/esm/EventsDeck.js +50 -50
  188. package/dist/esm/ExternalResources.js +47 -48
  189. package/dist/esm/Feature.js +4 -4
  190. package/dist/esm/ForbesHero.js +11 -11
  191. package/dist/esm/GridContent.js +80 -81
  192. package/dist/esm/GridHero.js +12 -12
  193. package/dist/esm/GroupDeck.js +13 -13
  194. package/dist/esm/HamMagazine.js +29 -29
  195. package/dist/esm/Hero.js +3 -3
  196. package/dist/esm/HighlightenVideo.js +2 -2
  197. package/dist/esm/HorizontalArticleListing.js +44 -45
  198. package/dist/esm/HorizontalHero.js +5 -5
  199. package/dist/esm/IssueContentDeck.js +26 -26
  200. package/dist/esm/IssueDeck.js +36 -36
  201. package/dist/esm/IssueLanding.js +35 -36
  202. package/dist/esm/LeftNav.js +21 -22
  203. package/dist/esm/MasterDeck.js +36 -37
  204. package/dist/esm/MediaSeriesLanding.js +731 -643
  205. package/dist/esm/NavDvm.js +16 -16
  206. package/dist/esm/NavMagazine.js +34 -34
  207. package/dist/esm/NavNative.js +34 -34
  208. package/dist/esm/NavNormal.js +18 -18
  209. package/dist/esm/OncliveHero.js +4 -5
  210. package/dist/esm/OncliveLargeHero.js +12 -12
  211. package/dist/esm/PageFilter.js +6 -6
  212. package/dist/esm/PartnerDetailListing.js +56 -57
  213. package/dist/esm/PdfDownload.js +2 -2
  214. package/dist/esm/PopUpModal.js +6 -6
  215. package/dist/esm/PubSection.js +33 -34
  216. package/dist/esm/PubToc.js +8 -8
  217. package/dist/esm/PublicationDeck.js +23 -23
  218. package/dist/esm/PublicationLanding.js +49 -49
  219. package/dist/esm/QueueDeckExpanded.js +37 -38
  220. package/dist/esm/RecentNews.js +6 -6
  221. package/dist/esm/RelatedContent.js +6 -6
  222. package/dist/esm/RolesDeck.js +12 -12
  223. package/dist/esm/Search.js +8 -8
  224. package/dist/esm/Segment.js +6 -6
  225. package/dist/esm/SeriesListingDeck.js +19 -20
  226. package/dist/esm/{SeriesSlider-36be7223.js → SeriesSlider-c8477bf3.js} +10 -10
  227. package/dist/esm/SetCookie.js +1 -1
  228. package/dist/esm/SideFooter.js +15 -15
  229. package/dist/esm/{SocialSearchComponent-db5ba548.js → SocialSearchComponent-db963c3e.js} +12 -12
  230. package/dist/esm/TaxonomyCard.js +24 -24
  231. package/dist/esm/TaxonomyDescription.js +44 -45
  232. package/dist/esm/TemplateNormal.js +50 -51
  233. package/dist/esm/ThumbnailCard.js +6 -6
  234. package/dist/esm/Ustream.js +14 -14
  235. package/dist/esm/VerticalHero.js +3 -3
  236. package/dist/esm/VideoProgramLandingPage.js +52 -53
  237. package/dist/esm/VideoSeriesCard.js +12 -12
  238. package/dist/esm/VideoSeriesFilter.js +9 -9
  239. package/dist/esm/VideoSeriesLandingPage.js +37 -38
  240. package/dist/esm/VideoSeriesListing.js +34 -35
  241. package/dist/esm/View.js +89 -91
  242. package/dist/esm/YahooHero.js +14 -14
  243. package/dist/esm/YoutubeGroup.js +21 -21
  244. package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
  245. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
  246. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  247. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
  248. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
  249. package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
  250. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
  251. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
  252. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
  253. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  254. package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
  255. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
  256. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  257. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  258. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
  259. package/dist/esm/{extends-6f2fcc99.js → extends-f076879e.js} +8 -8
  260. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  261. package/dist/esm/getRelatedArticle.js +14 -14
  262. package/dist/esm/getRootDocGroup.js +6 -6
  263. package/dist/esm/getSerializers.js +43 -44
  264. package/dist/esm/{getTargeting-82e86707.js → getTargeting-0958ad0e.js} +2 -2
  265. package/dist/esm/getTargeting.js +8 -8
  266. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
  267. package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
  268. package/dist/esm/{index-41a678ea.js → index-5cc7b406.js} +469 -4
  269. package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
  270. package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
  271. package/dist/esm/{index-73a91c0b.js → index-f354da27.js} +681 -890
  272. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  273. package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
  274. package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
  275. package/dist/esm/{index.esm-b08f4b04.js → index.esm-e874e770.js} +5 -10
  276. package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
  277. package/dist/esm/index.js +119 -119
  278. package/dist/esm/{inherits-cf8dde54.js → inherits-f71787cf.js} +20 -20
  279. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  280. package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
  281. package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
  282. package/dist/esm/main-d4165069.js +961 -0
  283. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  284. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
  285. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
  286. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  287. package/dist/esm/stringify-59c8f690.js +15 -0
  288. package/dist/esm/timeDifferenceCalc.js +1 -1
  289. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
  290. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  291. package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
  292. package/dist/esm/urlFor.js +1 -1
  293. package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
  294. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  295. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
  296. package/package.json +1 -1
  297. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  298. package/dist/cjs/events-1b438fe7.js +0 -469
  299. package/dist/cjs/index-e2e62963.js +0 -89
  300. package/dist/cjs/keys-a586b7a0.js +0 -25
  301. package/dist/cjs/main-02daeefe.js +0 -862
  302. package/dist/cjs/stringify-7c5aff47.js +0 -17
  303. package/dist/esm/events-6c3a7a63.js +0 -467
  304. package/dist/esm/index-aaa2dae0.js +0 -85
  305. package/dist/esm/main-e4a934b2.js +0 -851
  306. package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/Auth.js CHANGED
@@ -1,23 +1,23 @@
1
- import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-5d49a330.js';
6
- import './core.get-iterator-method-e1de7503.js';
7
- import './_object-pie-33c40e79.js';
8
- import { _ as _extends } from './extends-6f2fcc99.js';
9
- import './web.dom.iterable-4439f05a.js';
1
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
2
+ import { _ as _JSON$stringify } from './stringify-59c8f690.js';
3
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
10
4
  import React__default, { 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-f076879e.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 { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
14
+ import './es6.string.iterator-bc33758b.js';
15
+ import './_to-object-b50e61c3.js';
16
+ import './web.dom.iterable-4109ff68.js';
17
+ import './_library-528f1934.js';
18
+ import './core.get-iterator-method-133dfacd.js';
19
+ import './_iter-detect-7e5e5ce2.js';
20
+ import './_object-pie-133f504a.js';
21
21
 
22
22
  var returnFormField = function returnFormField(_ref) {
23
23
  var name = _ref.name,
@@ -135,7 +135,7 @@ var returnFormField = function returnFormField(_ref) {
135
135
  }
136
136
  };
137
137
 
138
- var _this = undefined;
138
+ var _this$4 = undefined;
139
139
 
140
140
  var dataHandler = function () {
141
141
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(api_url, body) {
@@ -201,7 +201,7 @@ var dataHandler = function () {
201
201
  return _context.stop();
202
202
  }
203
203
  }
204
- }, _callee, _this, [[0, 20]]);
204
+ }, _callee, _this$4, [[0, 20]]);
205
205
  }));
206
206
 
207
207
  return function dataHandler(_x, _x2) {
@@ -397,9 +397,9 @@ var countries = ["United States", "Afghanistan", "Albania", "Algeria", "American
397
397
 
398
398
  var states = ['AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FM', 'FL', 'GA', 'GU', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MH', 'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'MP', 'OH', 'OK', 'OR', 'PW', 'PA', 'PR', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY'];
399
399
 
400
- var _this$1 = undefined;
400
+ var _this$3 = undefined;
401
401
 
402
- var SignupForm = function SignupForm(props) {
402
+ var SignupForm$1 = function SignupForm(props) {
403
403
  var handleSubmit = function () {
404
404
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
405
405
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -560,7 +560,7 @@ var SignupForm = function SignupForm(props) {
560
560
  return _context.stop();
561
561
  }
562
562
  }
563
- }, _callee, _this$1);
563
+ }, _callee, _this$3);
564
564
  }));
565
565
 
566
566
  return function loadInitData() {
@@ -627,7 +627,7 @@ var SignupForm = function SignupForm(props) {
627
627
  return _context2.stop();
628
628
  }
629
629
  }
630
- }, _callee2, _this$1);
630
+ }, _callee2, _this$3);
631
631
  }));
632
632
 
633
633
  return function handleOccupationChanged(_x) {
@@ -777,7 +777,7 @@ var SignupForm = function SignupForm(props) {
777
777
 
778
778
  var _this$2 = undefined;
779
779
 
780
- var SignupForm$1 = function SignupForm(props) {
780
+ var SignupForm = function SignupForm(props) {
781
781
  var handleSubmit = function () {
782
782
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
783
783
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -1312,10 +1312,10 @@ var iron = /*#__PURE__*/Object.freeze({
1312
1312
  getSession: getSession
1313
1313
  });
1314
1314
 
1315
- var toStr = Object.prototype.toString;
1315
+ var toStr$5 = Object.prototype.toString;
1316
1316
 
1317
1317
  var isArguments = function isArguments(value) {
1318
- var str = toStr.call(value);
1318
+ var str = toStr$5.call(value);
1319
1319
  var isArgs = str === '[object Arguments]';
1320
1320
  if (!isArgs) {
1321
1321
  isArgs = str !== '[object Array]' &&
@@ -1323,16 +1323,16 @@ var isArguments = function isArguments(value) {
1323
1323
  typeof value === 'object' &&
1324
1324
  typeof value.length === 'number' &&
1325
1325
  value.length >= 0 &&
1326
- toStr.call(value.callee) === '[object Function]';
1326
+ toStr$5.call(value.callee) === '[object Function]';
1327
1327
  }
1328
1328
  return isArgs;
1329
1329
  };
1330
1330
 
1331
- var keysShim;
1331
+ var keysShim$1;
1332
1332
  if (!Object.keys) {
1333
1333
  // modified from https://github.com/es-shims/es5-shim
1334
- var has = Object.prototype.hasOwnProperty;
1335
- var toStr$1 = Object.prototype.toString;
1334
+ var has$1 = Object.prototype.hasOwnProperty;
1335
+ var toStr$4 = Object.prototype.toString;
1336
1336
  var isArgs = isArguments; // eslint-disable-line global-require
1337
1337
  var isEnumerable = Object.prototype.propertyIsEnumerable;
1338
1338
  var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
@@ -1380,7 +1380,7 @@ if (!Object.keys) {
1380
1380
  if (typeof window === 'undefined') { return false; }
1381
1381
  for (var k in window) {
1382
1382
  try {
1383
- if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1383
+ if (!excludedKeys['$' + k] && has$1.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1384
1384
  try {
1385
1385
  equalsConstructorPrototype(window[k]);
1386
1386
  } catch (e) {
@@ -1405,11 +1405,11 @@ if (!Object.keys) {
1405
1405
  }
1406
1406
  };
1407
1407
 
1408
- keysShim = function keys(object) {
1408
+ keysShim$1 = function keys(object) {
1409
1409
  var isObject = object !== null && typeof object === 'object';
1410
- var isFunction = toStr$1.call(object) === '[object Function]';
1410
+ var isFunction = toStr$4.call(object) === '[object Function]';
1411
1411
  var isArguments = isArgs(object);
1412
- var isString = isObject && toStr$1.call(object) === '[object String]';
1412
+ var isString = isObject && toStr$4.call(object) === '[object String]';
1413
1413
  var theKeys = [];
1414
1414
 
1415
1415
  if (!isObject && !isFunction && !isArguments) {
@@ -1417,7 +1417,7 @@ if (!Object.keys) {
1417
1417
  }
1418
1418
 
1419
1419
  var skipProto = hasProtoEnumBug && isFunction;
1420
- if (isString && object.length > 0 && !has.call(object, 0)) {
1420
+ if (isString && object.length > 0 && !has$1.call(object, 0)) {
1421
1421
  for (var i = 0; i < object.length; ++i) {
1422
1422
  theKeys.push(String(i));
1423
1423
  }
@@ -1429,7 +1429,7 @@ if (!Object.keys) {
1429
1429
  }
1430
1430
  } else {
1431
1431
  for (var name in object) {
1432
- if (!(skipProto && name === 'prototype') && has.call(object, name)) {
1432
+ if (!(skipProto && name === 'prototype') && has$1.call(object, name)) {
1433
1433
  theKeys.push(String(name));
1434
1434
  }
1435
1435
  }
@@ -1439,7 +1439,7 @@ if (!Object.keys) {
1439
1439
  var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
1440
1440
 
1441
1441
  for (var k = 0; k < dontEnums.length; ++k) {
1442
- if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
1442
+ if (!(skipConstructor && dontEnums[k] === 'constructor') && has$1.call(object, dontEnums[k])) {
1443
1443
  theKeys.push(dontEnums[k]);
1444
1444
  }
1445
1445
  }
@@ -1447,17 +1447,17 @@ if (!Object.keys) {
1447
1447
  return theKeys;
1448
1448
  };
1449
1449
  }
1450
- var implementation = keysShim;
1450
+ var implementation$3 = keysShim$1;
1451
1451
 
1452
- var slice = Array.prototype.slice;
1452
+ var slice$1 = Array.prototype.slice;
1453
1453
 
1454
1454
 
1455
1455
  var origKeys = Object.keys;
1456
- var keysShim$1 = origKeys ? function keys(o) { return origKeys(o); } : implementation;
1456
+ var keysShim = origKeys ? function keys(o) { return origKeys(o); } : implementation$3;
1457
1457
 
1458
1458
  var originalKeys = Object.keys;
1459
1459
 
1460
- keysShim$1.shim = function shimObjectKeys() {
1460
+ keysShim.shim = function shimObjectKeys() {
1461
1461
  if (Object.keys) {
1462
1462
  var keysWorksWithArguments = (function () {
1463
1463
  // Safari 5.0 bug
@@ -1467,27 +1467,27 @@ keysShim$1.shim = function shimObjectKeys() {
1467
1467
  if (!keysWorksWithArguments) {
1468
1468
  Object.keys = function keys(object) { // eslint-disable-line func-name-matching
1469
1469
  if (isArguments(object)) {
1470
- return originalKeys(slice.call(object));
1470
+ return originalKeys(slice$1.call(object));
1471
1471
  }
1472
1472
  return originalKeys(object);
1473
1473
  };
1474
1474
  }
1475
1475
  } else {
1476
- Object.keys = keysShim$1;
1476
+ Object.keys = keysShim;
1477
1477
  }
1478
- return Object.keys || keysShim$1;
1478
+ return Object.keys || keysShim;
1479
1479
  };
1480
1480
 
1481
- var objectKeys = keysShim$1;
1481
+ var objectKeys = keysShim;
1482
1482
 
1483
- var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1483
+ var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1484
1484
 
1485
- var toStr$2 = Object.prototype.toString;
1485
+ var toStr$3 = Object.prototype.toString;
1486
1486
  var concat = Array.prototype.concat;
1487
1487
  var origDefineProperty = Object.defineProperty;
1488
1488
 
1489
1489
  var isFunction = function (fn) {
1490
- return typeof fn === 'function' && toStr$2.call(fn) === '[object Function]';
1490
+ return typeof fn === 'function' && toStr$3.call(fn) === '[object Function]';
1491
1491
  };
1492
1492
 
1493
1493
  var arePropertyDescriptorsSupported = function () {
@@ -1524,7 +1524,7 @@ var defineProperty = function (object, name, value, predicate) {
1524
1524
  var defineProperties = function (object, map) {
1525
1525
  var predicates = arguments.length > 2 ? arguments[2] : {};
1526
1526
  var props = objectKeys(map);
1527
- if (hasSymbols) {
1527
+ if (hasSymbols$4) {
1528
1528
  props = concat.call(props, Object.getOwnPropertySymbols(map));
1529
1529
  }
1530
1530
  for (var i = 0; i < props.length; i += 1) {
@@ -1536,6 +1536,59 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1536
1536
 
1537
1537
  var defineProperties_1 = defineProperties;
1538
1538
 
1539
+ /* eslint no-invalid-this: 1 */
1540
+
1541
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1542
+ var slice = Array.prototype.slice;
1543
+ var toStr$2 = Object.prototype.toString;
1544
+ var funcType = '[object Function]';
1545
+
1546
+ var implementation$2 = function bind(that) {
1547
+ var target = this;
1548
+ if (typeof target !== 'function' || toStr$2.call(target) !== funcType) {
1549
+ throw new TypeError(ERROR_MESSAGE + target);
1550
+ }
1551
+ var args = slice.call(arguments, 1);
1552
+
1553
+ var bound;
1554
+ var binder = function () {
1555
+ if (this instanceof bound) {
1556
+ var result = target.apply(
1557
+ this,
1558
+ args.concat(slice.call(arguments))
1559
+ );
1560
+ if (Object(result) === result) {
1561
+ return result;
1562
+ }
1563
+ return this;
1564
+ } else {
1565
+ return target.apply(
1566
+ that,
1567
+ args.concat(slice.call(arguments))
1568
+ );
1569
+ }
1570
+ };
1571
+
1572
+ var boundLength = Math.max(0, target.length - args.length);
1573
+ var boundArgs = [];
1574
+ for (var i = 0; i < boundLength; i++) {
1575
+ boundArgs.push('$' + i);
1576
+ }
1577
+
1578
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1579
+
1580
+ if (target.prototype) {
1581
+ var Empty = function Empty() {};
1582
+ Empty.prototype = target.prototype;
1583
+ bound.prototype = new Empty();
1584
+ Empty.prototype = null;
1585
+ }
1586
+
1587
+ return bound;
1588
+ };
1589
+
1590
+ var functionBind = Function.prototype.bind || implementation$2;
1591
+
1539
1592
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1540
1593
  var shams = function hasSymbols() {
1541
1594
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
@@ -1559,7 +1612,7 @@ var shams = function hasSymbols() {
1559
1612
 
1560
1613
  var symVal = 42;
1561
1614
  obj[sym] = symVal;
1562
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1615
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
1563
1616
  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1564
1617
 
1565
1618
  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
@@ -1577,10 +1630,10 @@ var shams = function hasSymbols() {
1577
1630
  return true;
1578
1631
  };
1579
1632
 
1580
- var origSymbol = commonjsGlobal.Symbol;
1633
+ var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1581
1634
 
1582
1635
 
1583
- var hasSymbols$1 = function hasNativeSymbols() {
1636
+ var hasSymbols$3 = function hasNativeSymbols() {
1584
1637
  if (typeof origSymbol !== 'function') { return false; }
1585
1638
  if (typeof Symbol !== 'function') { return false; }
1586
1639
  if (typeof origSymbol('foo') !== 'symbol') { return false; }
@@ -1589,79 +1642,34 @@ var hasSymbols$1 = function hasNativeSymbols() {
1589
1642
  return shams();
1590
1643
  };
1591
1644
 
1592
- /* eslint no-invalid-this: 1 */
1593
-
1594
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1595
- var slice$1 = Array.prototype.slice;
1596
- var toStr$3 = Object.prototype.toString;
1597
- var funcType = '[object Function]';
1598
-
1599
- var implementation$1 = function bind(that) {
1600
- var target = this;
1601
- if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1602
- throw new TypeError(ERROR_MESSAGE + target);
1603
- }
1604
- var args = slice$1.call(arguments, 1);
1605
-
1606
- var bound;
1607
- var binder = function () {
1608
- if (this instanceof bound) {
1609
- var result = target.apply(
1610
- this,
1611
- args.concat(slice$1.call(arguments))
1612
- );
1613
- if (Object(result) === result) {
1614
- return result;
1615
- }
1616
- return this;
1617
- } else {
1618
- return target.apply(
1619
- that,
1620
- args.concat(slice$1.call(arguments))
1621
- );
1622
- }
1623
- };
1624
-
1625
- var boundLength = Math.max(0, target.length - args.length);
1626
- var boundArgs = [];
1627
- for (var i = 0; i < boundLength; i++) {
1628
- boundArgs.push('$' + i);
1629
- }
1645
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1630
1646
 
1631
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1647
+ var undefined$1;
1632
1648
 
1633
- if (target.prototype) {
1634
- var Empty = function Empty() {};
1635
- Empty.prototype = target.prototype;
1636
- bound.prototype = new Empty();
1637
- Empty.prototype = null;
1638
- }
1649
+ var $SyntaxError$1 = SyntaxError;
1650
+ var $Function = Function;
1651
+ var $TypeError$5 = TypeError;
1639
1652
 
1640
- return bound;
1653
+ // eslint-disable-next-line consistent-return
1654
+ var getEvalledConstructor = function (expressionSyntax) {
1655
+ try {
1656
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1657
+ } catch (e) {}
1641
1658
  };
1642
1659
 
1643
- var functionBind = Function.prototype.bind || implementation$1;
1644
-
1645
- /* globals
1646
- Atomics,
1647
- SharedArrayBuffer,
1648
- */
1649
-
1650
- var undefined$1;
1651
-
1652
- var $TypeError = TypeError;
1653
-
1654
- var $gOPD = Object.getOwnPropertyDescriptor;
1655
- if ($gOPD) {
1660
+ var $gOPD$2 = Object.getOwnPropertyDescriptor;
1661
+ if ($gOPD$2) {
1656
1662
  try {
1657
- $gOPD({}, '');
1663
+ $gOPD$2({}, '');
1658
1664
  } catch (e) {
1659
- $gOPD = null; // this is IE 8, which has a broken gOPD
1665
+ $gOPD$2 = null; // this is IE 8, which has a broken gOPD
1660
1666
  }
1661
1667
  }
1662
1668
 
1663
- var throwTypeError = function () { throw new $TypeError(); };
1664
- var ThrowTypeError = $gOPD
1669
+ var throwTypeError = function () {
1670
+ throw new $TypeError$5();
1671
+ };
1672
+ var ThrowTypeError = $gOPD$2
1665
1673
  ? (function () {
1666
1674
  try {
1667
1675
  // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
@@ -1670,7 +1678,7 @@ var ThrowTypeError = $gOPD
1670
1678
  } catch (calleeThrows) {
1671
1679
  try {
1672
1680
  // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1673
- return $gOPD(arguments, 'callee').get;
1681
+ return $gOPD$2(arguments, 'callee').get;
1674
1682
  } catch (gOPDthrows) {
1675
1683
  return throwTypeError;
1676
1684
  }
@@ -1678,206 +1686,354 @@ var ThrowTypeError = $gOPD
1678
1686
  }())
1679
1687
  : throwTypeError;
1680
1688
 
1681
- var hasSymbols$2 = hasSymbols$1();
1689
+ var hasSymbols$2 = hasSymbols$3();
1682
1690
 
1683
1691
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1684
- var generatorFunction = undefined$1;
1685
- var asyncFunction = undefined$1;
1686
- var asyncGenFunction = undefined$1;
1692
+
1693
+ var needsEval = {};
1687
1694
 
1688
1695
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1689
1696
 
1690
1697
  var INTRINSICS = {
1698
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1691
1699
  '%Array%': Array,
1692
1700
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1693
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1694
1701
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1695
- '%ArrayPrototype%': Array.prototype,
1696
- '%ArrayProto_entries%': Array.prototype.entries,
1697
- '%ArrayProto_forEach%': Array.prototype.forEach,
1698
- '%ArrayProto_keys%': Array.prototype.keys,
1699
- '%ArrayProto_values%': Array.prototype.values,
1700
1702
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1701
- '%AsyncFunction%': asyncFunction,
1702
- '%AsyncFunctionPrototype%': undefined$1,
1703
- '%AsyncGenerator%': undefined$1,
1704
- '%AsyncGeneratorFunction%': asyncGenFunction,
1705
- '%AsyncGeneratorPrototype%': undefined$1,
1706
- '%AsyncIteratorPrototype%': undefined$1,
1703
+ '%AsyncFunction%': needsEval,
1704
+ '%AsyncGenerator%': needsEval,
1705
+ '%AsyncGeneratorFunction%': needsEval,
1706
+ '%AsyncIteratorPrototype%': needsEval,
1707
1707
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1708
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1708
1709
  '%Boolean%': Boolean,
1709
- '%BooleanPrototype%': Boolean.prototype,
1710
1710
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1711
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1712
1711
  '%Date%': Date,
1713
- '%DatePrototype%': Date.prototype,
1714
1712
  '%decodeURI%': decodeURI,
1715
1713
  '%decodeURIComponent%': decodeURIComponent,
1716
1714
  '%encodeURI%': encodeURI,
1717
1715
  '%encodeURIComponent%': encodeURIComponent,
1718
1716
  '%Error%': Error,
1719
- '%ErrorPrototype%': Error.prototype,
1720
1717
  '%eval%': eval, // eslint-disable-line no-eval
1721
1718
  '%EvalError%': EvalError,
1722
- '%EvalErrorPrototype%': EvalError.prototype,
1723
1719
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1724
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1725
1720
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1726
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1727
- '%Function%': Function,
1728
- '%FunctionPrototype%': Function.prototype,
1729
- '%Generator%': undefined$1,
1730
- '%GeneratorFunction%': generatorFunction,
1731
- '%GeneratorPrototype%': undefined$1,
1721
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1722
+ '%Function%': $Function,
1723
+ '%GeneratorFunction%': needsEval,
1732
1724
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1733
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1734
1725
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1735
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1736
1726
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1737
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1738
1727
  '%isFinite%': isFinite,
1739
1728
  '%isNaN%': isNaN,
1740
1729
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1741
1730
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1742
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1743
1731
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1744
1732
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1745
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1746
1733
  '%Math%': Math,
1747
1734
  '%Number%': Number,
1748
- '%NumberPrototype%': Number.prototype,
1749
1735
  '%Object%': Object,
1750
- '%ObjectPrototype%': Object.prototype,
1751
- '%ObjProto_toString%': Object.prototype.toString,
1752
- '%ObjProto_valueOf%': Object.prototype.valueOf,
1753
1736
  '%parseFloat%': parseFloat,
1754
1737
  '%parseInt%': parseInt,
1755
1738
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1756
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1757
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1758
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1759
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1760
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1761
1739
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1762
1740
  '%RangeError%': RangeError,
1763
- '%RangeErrorPrototype%': RangeError.prototype,
1764
1741
  '%ReferenceError%': ReferenceError,
1765
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
1766
1742
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1767
1743
  '%RegExp%': RegExp,
1768
- '%RegExpPrototype%': RegExp.prototype,
1769
1744
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1770
1745
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1771
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1772
1746
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1773
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1774
1747
  '%String%': String,
1775
1748
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1776
- '%StringPrototype%': String.prototype,
1777
1749
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1778
- '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1779
- '%SyntaxError%': SyntaxError,
1780
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
1750
+ '%SyntaxError%': $SyntaxError$1,
1781
1751
  '%ThrowTypeError%': ThrowTypeError,
1782
1752
  '%TypedArray%': TypedArray,
1783
- '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1784
- '%TypeError%': $TypeError,
1785
- '%TypeErrorPrototype%': $TypeError.prototype,
1753
+ '%TypeError%': $TypeError$5,
1786
1754
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1787
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1788
1755
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1789
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1790
1756
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1791
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1792
1757
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1793
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1794
1758
  '%URIError%': URIError,
1795
- '%URIErrorPrototype%': URIError.prototype,
1796
1759
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1797
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1798
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1799
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1760
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1761
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1762
+ };
1763
+
1764
+ var doEval = function doEval(name) {
1765
+ var value;
1766
+ if (name === '%AsyncFunction%') {
1767
+ value = getEvalledConstructor('async function () {}');
1768
+ } else if (name === '%GeneratorFunction%') {
1769
+ value = getEvalledConstructor('function* () {}');
1770
+ } else if (name === '%AsyncGeneratorFunction%') {
1771
+ value = getEvalledConstructor('async function* () {}');
1772
+ } else if (name === '%AsyncGenerator%') {
1773
+ var fn = doEval('%AsyncGeneratorFunction%');
1774
+ if (fn) {
1775
+ value = fn.prototype;
1776
+ }
1777
+ } else if (name === '%AsyncIteratorPrototype%') {
1778
+ var gen = doEval('%AsyncGenerator%');
1779
+ if (gen) {
1780
+ value = getProto(gen.prototype);
1781
+ }
1782
+ }
1783
+
1784
+ INTRINSICS[name] = value;
1785
+
1786
+ return value;
1787
+ };
1788
+
1789
+ var LEGACY_ALIASES = {
1790
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1791
+ '%ArrayPrototype%': ['Array', 'prototype'],
1792
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1793
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1794
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1795
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1796
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1797
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1798
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1799
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1800
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1801
+ '%DatePrototype%': ['Date', 'prototype'],
1802
+ '%ErrorPrototype%': ['Error', 'prototype'],
1803
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1804
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1805
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1806
+ '%FunctionPrototype%': ['Function', 'prototype'],
1807
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1808
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1809
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1810
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1811
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1812
+ '%JSONParse%': ['JSON', 'parse'],
1813
+ '%JSONStringify%': ['JSON', 'stringify'],
1814
+ '%MapPrototype%': ['Map', 'prototype'],
1815
+ '%NumberPrototype%': ['Number', 'prototype'],
1816
+ '%ObjectPrototype%': ['Object', 'prototype'],
1817
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1818
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1819
+ '%PromisePrototype%': ['Promise', 'prototype'],
1820
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1821
+ '%Promise_all%': ['Promise', 'all'],
1822
+ '%Promise_reject%': ['Promise', 'reject'],
1823
+ '%Promise_resolve%': ['Promise', 'resolve'],
1824
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1825
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1826
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1827
+ '%SetPrototype%': ['Set', 'prototype'],
1828
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1829
+ '%StringPrototype%': ['String', 'prototype'],
1830
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1831
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1832
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1833
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1834
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1835
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1836
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1837
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1838
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1839
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1840
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1800
1841
  };
1801
1842
 
1802
1843
 
1844
+
1845
+ var $concat$2 = functionBind.call(Function.call, Array.prototype.concat);
1846
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1803
1847
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1848
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1804
1849
 
1805
1850
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1806
1851
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1807
1852
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1808
1853
  var stringToPath = function stringToPath(string) {
1854
+ var first = $strSlice(string, 0, 1);
1855
+ var last = $strSlice(string, -1);
1856
+ if (first === '%' && last !== '%') {
1857
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected closing `%`');
1858
+ } else if (last === '%' && first !== '%') {
1859
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected opening `%`');
1860
+ }
1809
1861
  var result = [];
1810
1862
  $replace(string, rePropName, function (match, number, quote, subString) {
1811
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1863
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1812
1864
  });
1813
1865
  return result;
1814
1866
  };
1815
1867
  /* end adaptation */
1816
1868
 
1817
1869
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1818
- if (!(name in INTRINSICS)) {
1819
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1870
+ var intrinsicName = name;
1871
+ var alias;
1872
+ if (src(LEGACY_ALIASES, intrinsicName)) {
1873
+ alias = LEGACY_ALIASES[intrinsicName];
1874
+ intrinsicName = '%' + alias[0] + '%';
1820
1875
  }
1821
1876
 
1822
- // istanbul ignore if // hopefully this is impossible to test :-)
1823
- if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
1824
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1877
+ if (src(INTRINSICS, intrinsicName)) {
1878
+ var value = INTRINSICS[intrinsicName];
1879
+ if (value === needsEval) {
1880
+ value = doEval(intrinsicName);
1881
+ }
1882
+ if (typeof value === 'undefined' && !allowMissing) {
1883
+ throw new $TypeError$5('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1884
+ }
1885
+
1886
+ return {
1887
+ alias: alias,
1888
+ name: intrinsicName,
1889
+ value: value
1890
+ };
1825
1891
  }
1826
1892
 
1827
- return INTRINSICS[name];
1893
+ throw new $SyntaxError$1('intrinsic ' + name + ' does not exist!');
1828
1894
  };
1829
1895
 
1830
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1896
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1831
1897
  if (typeof name !== 'string' || name.length === 0) {
1832
- throw new TypeError('intrinsic name must be a non-empty string');
1898
+ throw new $TypeError$5('intrinsic name must be a non-empty string');
1833
1899
  }
1834
1900
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1835
- throw new TypeError('"allowMissing" argument must be a boolean');
1901
+ throw new $TypeError$5('"allowMissing" argument must be a boolean');
1836
1902
  }
1837
1903
 
1838
1904
  var parts = stringToPath(name);
1905
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1906
+
1907
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1908
+ var intrinsicRealName = intrinsic.name;
1909
+ var value = intrinsic.value;
1910
+ var skipFurtherCaching = false;
1911
+
1912
+ var alias = intrinsic.alias;
1913
+ if (alias) {
1914
+ intrinsicBaseName = alias[0];
1915
+ $spliceApply(parts, $concat$2([0, 1], alias));
1916
+ }
1917
+
1918
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1919
+ var part = parts[i];
1920
+ var first = $strSlice(part, 0, 1);
1921
+ var last = $strSlice(part, -1);
1922
+ if (
1923
+ (
1924
+ (first === '"' || first === "'" || first === '`')
1925
+ || (last === '"' || last === "'" || last === '`')
1926
+ )
1927
+ && first !== last
1928
+ ) {
1929
+ throw new $SyntaxError$1('property names with quotes must have matching quotes');
1930
+ }
1931
+ if (part === 'constructor' || !isOwn) {
1932
+ skipFurtherCaching = true;
1933
+ }
1839
1934
 
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)) {
1846
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1935
+ intrinsicBaseName += '.' + part;
1936
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
1937
+
1938
+ if (src(INTRINSICS, intrinsicRealName)) {
1939
+ value = INTRINSICS[intrinsicRealName];
1940
+ } else if (value != null) {
1941
+ if (!(part in value)) {
1942
+ if (!allowMissing) {
1943
+ throw new $TypeError$5('base intrinsic for ' + name + ' exists, but the property is not available.');
1944
+ }
1945
+ return void undefined$1;
1946
+ }
1947
+ if ($gOPD$2 && (i + 1) >= parts.length) {
1948
+ var desc = $gOPD$2(value, part);
1949
+ isOwn = !!desc;
1950
+
1951
+ // By convention, when a data property is converted to an accessor
1952
+ // property to emulate a data property that does not suffer from
1953
+ // the override mistake, that accessor's getter is marked with
1954
+ // an `originalValue` property. Here, when we detect this, we
1955
+ // uphold the illusion by pretending to see that original data
1956
+ // property, i.e., returning the value rather than the getter
1957
+ // itself.
1958
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1959
+ value = desc.get;
1960
+ } else {
1961
+ value = value[part];
1847
1962
  }
1848
- value = desc ? (desc.get || desc.value) : value[parts[i]];
1849
1963
  } else {
1850
- value = value[parts[i]];
1964
+ isOwn = src(value, part);
1965
+ value = value[part];
1966
+ }
1967
+
1968
+ if (isOwn && !skipFurtherCaching) {
1969
+ INTRINSICS[intrinsicRealName] = value;
1851
1970
  }
1852
1971
  }
1853
1972
  }
1854
1973
  return value;
1855
1974
  };
1856
1975
 
1857
- var $Function = GetIntrinsic('%Function%');
1858
- var $apply = $Function.apply;
1859
- var $call = $Function.call;
1976
+ var callBind = createCommonjsModule(function (module) {
1860
1977
 
1861
- var callBind = function callBind() {
1862
- return functionBind.apply($call, arguments);
1978
+
1979
+
1980
+
1981
+ var $apply = getIntrinsic('%Function.prototype.apply%');
1982
+ var $call = getIntrinsic('%Function.prototype.call%');
1983
+ var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1984
+
1985
+ var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1986
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1987
+ var $max = getIntrinsic('%Math.max%');
1988
+
1989
+ if ($defineProperty) {
1990
+ try {
1991
+ $defineProperty({}, 'a', { value: 1 });
1992
+ } catch (e) {
1993
+ // IE 8 has a broken defineProperty
1994
+ $defineProperty = null;
1995
+ }
1996
+ }
1997
+
1998
+ module.exports = function callBind(originalFunction) {
1999
+ var func = $reflectApply(functionBind, $call, arguments);
2000
+ if ($gOPD && $defineProperty) {
2001
+ var desc = $gOPD(func, 'length');
2002
+ if (desc.configurable) {
2003
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
2004
+ $defineProperty(
2005
+ func,
2006
+ 'length',
2007
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2008
+ );
2009
+ }
2010
+ }
2011
+ return func;
1863
2012
  };
1864
2013
 
1865
- var apply = function applyBind() {
1866
- return functionBind.apply($apply, arguments);
2014
+ var applyBind = function applyBind() {
2015
+ return $reflectApply(functionBind, $apply, arguments);
1867
2016
  };
1868
- callBind.apply = apply;
1869
2017
 
1870
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2018
+ if ($defineProperty) {
2019
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2020
+ } else {
2021
+ module.exports.apply = applyBind;
2022
+ }
2023
+ });
2024
+ callBind.apply;
2025
+
2026
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
1871
2027
 
1872
- var callBound = function callBoundIntrinsic(name, allowMissing) {
1873
- var intrinsic = GetIntrinsic(name, !!allowMissing);
1874
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2028
+ var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2029
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2030
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1875
2031
  return callBind(intrinsic);
1876
2032
  }
1877
2033
  return intrinsic;
1878
2034
  };
1879
2035
 
1880
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2036
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1881
2037
 
1882
2038
  if ($defineProperty) {
1883
2039
  try {
@@ -1890,7 +2046,7 @@ if ($defineProperty) {
1890
2046
 
1891
2047
 
1892
2048
 
1893
- var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
2049
+ var $isEnumerable$1 = callBound$1('Object.prototype.propertyIsEnumerable');
1894
2050
 
1895
2051
  // eslint-disable-next-line max-params
1896
2052
  var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
@@ -1904,7 +2060,7 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1904
2060
  }
1905
2061
 
1906
2062
  // fallback for ES3
1907
- if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {
2063
+ if (P in O && $isEnumerable$1(O, P) !== !!desc['[[Enumerable]]']) {
1908
2064
  // a non-enumerable existing property
1909
2065
  return false;
1910
2066
  }
@@ -1919,15 +2075,13 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1919
2075
  return true;
1920
2076
  };
1921
2077
 
1922
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1923
-
1924
- var $TypeError$1 = GetIntrinsic('%TypeError%');
1925
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2078
+ var $TypeError$4 = getIntrinsic('%TypeError%');
2079
+ var $SyntaxError = getIntrinsic('%SyntaxError%');
1926
2080
 
1927
2081
 
1928
2082
 
1929
2083
  var predicates = {
1930
- // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type
2084
+ // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
1931
2085
  'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
1932
2086
  if (Type(Desc) !== 'Object') {
1933
2087
  return false;
@@ -1950,7 +2104,7 @@ var predicates = {
1950
2104
  var isData = src(Desc, '[[Value]]');
1951
2105
  var IsAccessor = src(Desc, '[[Get]]') || src(Desc, '[[Set]]');
1952
2106
  if (isData && IsAccessor) {
1953
- throw new $TypeError$1('Property Descriptors may not be both accessor and data descriptors');
2107
+ throw new $TypeError$4('Property Descriptors may not be both accessor and data descriptors');
1954
2108
  }
1955
2109
  return true;
1956
2110
  }
@@ -1962,13 +2116,13 @@ var assertRecord = function assertRecord(Type, recordType, argumentName, value)
1962
2116
  throw new $SyntaxError('unknown record type: ' + recordType);
1963
2117
  }
1964
2118
  if (!predicate(Type, value)) {
1965
- throw new $TypeError$1(argumentName + ' must be a ' + recordType);
2119
+ throw new $TypeError$4(argumentName + ' must be a ' + recordType);
1966
2120
  }
1967
2121
  };
1968
2122
 
1969
- // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2123
+ // https://262.ecma-international.org/5.1/#sec-8
1970
2124
 
1971
- var Type = function Type(x) {
2125
+ var Type$1 = function Type(x) {
1972
2126
  if (x === null) {
1973
2127
  return 'Null';
1974
2128
  }
@@ -1989,23 +2143,26 @@ var Type = function Type(x) {
1989
2143
  }
1990
2144
  };
1991
2145
 
1992
- // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2146
+ // https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
1993
2147
 
1994
- var Type$1 = function Type$1(x) {
2148
+ var Type = function Type(x) {
1995
2149
  if (typeof x === 'symbol') {
1996
2150
  return 'Symbol';
1997
2151
  }
1998
- return Type(x);
2152
+ if (typeof x === 'bigint') {
2153
+ return 'BigInt';
2154
+ }
2155
+ return Type$1(x);
1999
2156
  };
2000
2157
 
2001
- // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2158
+ // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2002
2159
 
2003
2160
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2004
2161
  if (typeof Desc === 'undefined') {
2005
2162
  return Desc;
2006
2163
  }
2007
2164
 
2008
- assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2165
+ assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2009
2166
 
2010
2167
  var obj = {};
2011
2168
  if ('[[Value]]' in Desc) {
@@ -2029,7 +2186,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2029
2186
  return obj;
2030
2187
  };
2031
2188
 
2032
- var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2189
+ var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2033
2190
  if ($gOPD$1) {
2034
2191
  try {
2035
2192
  $gOPD$1([], 'length');
@@ -2041,65 +2198,85 @@ if ($gOPD$1) {
2041
2198
 
2042
2199
  var getOwnPropertyDescriptor = $gOPD$1;
2043
2200
 
2044
- var $Array = GetIntrinsic('%Array%');
2201
+ var $Array = getIntrinsic('%Array%');
2045
2202
 
2046
2203
  // eslint-disable-next-line global-require
2047
- var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2204
+ var toStr$1 = !$Array.isArray && callBound$1('Object.prototype.toString');
2048
2205
 
2049
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2206
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2050
2207
 
2051
2208
  var IsArray = $Array.isArray || function IsArray(argument) {
2052
- return toStr$4(argument) === '[object Array]';
2209
+ return toStr$1(argument) === '[object Array]';
2053
2210
  };
2054
2211
 
2055
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2212
+ // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2056
2213
 
2057
2214
  var IsPropertyKey = function IsPropertyKey(argument) {
2058
2215
  return typeof argument === 'string' || typeof argument === 'symbol';
2059
2216
  };
2060
2217
 
2061
- var regexExec = RegExp.prototype.exec;
2062
- var gOPD = Object.getOwnPropertyDescriptor;
2218
+ var hasSymbols$1 = hasSymbols$3();
2219
+ var hasToStringTag$1 = hasSymbols$1 && typeof Symbol.toStringTag === 'symbol';
2220
+ var has;
2221
+ var $exec;
2222
+ var isRegexMarker;
2223
+ var badStringifier;
2063
2224
 
2064
- var tryRegexExecCall = function tryRegexExec(value) {
2065
- try {
2066
- var lastIndex = value.lastIndex;
2067
- value.lastIndex = 0; // eslint-disable-line no-param-reassign
2225
+ if (hasToStringTag$1) {
2226
+ has = callBound$1('Object.prototype.hasOwnProperty');
2227
+ $exec = callBound$1('RegExp.prototype.exec');
2228
+ isRegexMarker = {};
2068
2229
 
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
2230
+ var throwRegexMarker = function () {
2231
+ throw isRegexMarker;
2232
+ };
2233
+ badStringifier = {
2234
+ toString: throwRegexMarker,
2235
+ valueOf: throwRegexMarker
2236
+ };
2237
+
2238
+ if (typeof Symbol.toPrimitive === 'symbol') {
2239
+ badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2075
2240
  }
2076
- };
2077
- var toStr$5 = Object.prototype.toString;
2241
+ }
2242
+
2243
+ var $toString = callBound$1('Object.prototype.toString');
2244
+ var gOPD = Object.getOwnPropertyDescriptor;
2078
2245
  var regexClass = '[object RegExp]';
2079
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2080
2246
 
2081
- var isRegex = function isRegex(value) {
2082
- if (!value || typeof value !== 'object') {
2083
- return false;
2084
- }
2085
- if (!hasToStringTag) {
2086
- return toStr$5.call(value) === regexClass;
2087
- }
2247
+ var isRegex = hasToStringTag$1
2248
+ // eslint-disable-next-line consistent-return
2249
+ ? function isRegex(value) {
2250
+ if (!value || typeof value !== 'object') {
2251
+ return false;
2252
+ }
2088
2253
 
2089
- var descriptor = gOPD(value, 'lastIndex');
2090
- var hasLastIndexDataProperty = descriptor && src(descriptor, 'value');
2091
- if (!hasLastIndexDataProperty) {
2092
- return false;
2254
+ var descriptor = gOPD(value, 'lastIndex');
2255
+ var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
2256
+ if (!hasLastIndexDataProperty) {
2257
+ return false;
2258
+ }
2259
+
2260
+ try {
2261
+ $exec(value, badStringifier);
2262
+ } catch (e) {
2263
+ return e === isRegexMarker;
2264
+ }
2093
2265
  }
2266
+ : function isRegex(value) {
2267
+ // In older browsers, typeof regex incorrectly returns 'function'
2268
+ if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
2269
+ return false;
2270
+ }
2094
2271
 
2095
- return tryRegexExecCall(value);
2096
- };
2272
+ return $toString(value) === regexClass;
2273
+ };
2097
2274
 
2098
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2275
+ // http://262.ecma-international.org/5.1/#sec-9.2
2099
2276
 
2100
2277
  var ToBoolean = function ToBoolean(value) { return !!value; };
2101
2278
 
2102
- var $match = GetIntrinsic('%Symbol.match%', true);
2279
+ var $match = getIntrinsic('%Symbol.match%', true);
2103
2280
 
2104
2281
 
2105
2282
 
@@ -2121,6 +2298,27 @@ var IsRegExp = function IsRegExp(argument) {
2121
2298
  };
2122
2299
 
2123
2300
  var fnToStr = Function.prototype.toString;
2301
+ var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
2302
+ var badArrayLike;
2303
+ var isCallableMarker;
2304
+ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
2305
+ try {
2306
+ badArrayLike = Object.defineProperty({}, 'length', {
2307
+ get: function () {
2308
+ throw isCallableMarker;
2309
+ }
2310
+ });
2311
+ isCallableMarker = {};
2312
+ // eslint-disable-next-line no-throw-literal
2313
+ reflectApply(function () { throw 42; }, null, badArrayLike);
2314
+ } catch (_) {
2315
+ if (_ !== isCallableMarker) {
2316
+ reflectApply = null;
2317
+ }
2318
+ }
2319
+ } else {
2320
+ reflectApply = null;
2321
+ }
2124
2322
 
2125
2323
  var constructorRegex = /^\s*class\b/;
2126
2324
  var isES6ClassFn = function isES6ClassFunction(value) {
@@ -2141,36 +2339,52 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2141
2339
  return false;
2142
2340
  }
2143
2341
  };
2144
- var toStr$6 = Object.prototype.toString;
2342
+ var toStr = Object.prototype.toString;
2145
2343
  var fnClass = '[object Function]';
2146
2344
  var genClass = '[object GeneratorFunction]';
2147
- var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2148
-
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
- };
2345
+ var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2346
+ /* globals document: false */
2347
+ var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2348
+
2349
+ var isCallable = reflectApply
2350
+ ? function isCallable(value) {
2351
+ if (value === documentDotAll) { return true; }
2352
+ if (!value) { return false; }
2353
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2354
+ if (typeof value === 'function' && !value.prototype) { return true; }
2355
+ try {
2356
+ reflectApply(value, null, badArrayLike);
2357
+ } catch (e) {
2358
+ if (e !== isCallableMarker) { return false; }
2359
+ }
2360
+ return !isES6ClassFn(value);
2361
+ }
2362
+ : function isCallable(value) {
2363
+ if (value === documentDotAll) { return true; }
2364
+ if (!value) { return false; }
2365
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2366
+ if (typeof value === 'function' && !value.prototype) { return true; }
2367
+ if (hasToStringTag) { return tryFunctionObject(value); }
2368
+ if (isES6ClassFn(value)) { return false; }
2369
+ var strClass = toStr.call(value);
2370
+ return strClass === fnClass || strClass === genClass;
2371
+ };
2158
2372
 
2159
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2373
+ // http://262.ecma-international.org/5.1/#sec-9.11
2160
2374
 
2161
2375
  var IsCallable = isCallable;
2162
2376
 
2163
- var $TypeError$2 = GetIntrinsic('%TypeError%');
2377
+ var $TypeError$3 = getIntrinsic('%TypeError%');
2164
2378
 
2165
2379
 
2166
2380
 
2167
2381
 
2168
2382
 
2169
- // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
2383
+ // https://262.ecma-international.org/5.1/#sec-8.10.5
2170
2384
 
2171
2385
  var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2172
- if (Type$1(Obj) !== 'Object') {
2173
- throw new $TypeError$2('ToPropertyDescriptor requires an object');
2386
+ if (Type(Obj) !== 'Object') {
2387
+ throw new $TypeError$3('ToPropertyDescriptor requires an object');
2174
2388
  }
2175
2389
 
2176
2390
  var desc = {};
@@ -2189,29 +2403,29 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2189
2403
  if (src(Obj, 'get')) {
2190
2404
  var getter = Obj.get;
2191
2405
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2192
- throw new TypeError('getter must be a function');
2406
+ throw new $TypeError$3('getter must be a function');
2193
2407
  }
2194
2408
  desc['[[Get]]'] = getter;
2195
2409
  }
2196
2410
  if (src(Obj, 'set')) {
2197
2411
  var setter = Obj.set;
2198
2412
  if (typeof setter !== 'undefined' && !IsCallable(setter)) {
2199
- throw new $TypeError$2('setter must be a function');
2413
+ throw new $TypeError$3('setter must be a function');
2200
2414
  }
2201
2415
  desc['[[Set]]'] = setter;
2202
2416
  }
2203
2417
 
2204
2418
  if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
2205
- throw new $TypeError$2('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2419
+ throw new $TypeError$3('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2206
2420
  }
2207
2421
  return desc;
2208
2422
  };
2209
2423
 
2210
- var $TypeError$3 = GetIntrinsic('%TypeError%');
2424
+ var $TypeError$2 = getIntrinsic('%TypeError%');
2211
2425
 
2212
2426
 
2213
2427
 
2214
- var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2428
+ var $isEnumerable = callBound$1('Object.prototype.propertyIsEnumerable');
2215
2429
 
2216
2430
 
2217
2431
 
@@ -2221,14 +2435,14 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2221
2435
 
2222
2436
 
2223
2437
 
2224
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2438
+ // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2225
2439
 
2226
2440
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2227
- if (Type$1(O) !== 'Object') {
2228
- throw new $TypeError$3('Assertion failed: O must be an Object');
2441
+ if (Type(O) !== 'Object') {
2442
+ throw new $TypeError$2('Assertion failed: O must be an Object');
2229
2443
  }
2230
2444
  if (!IsPropertyKey(P)) {
2231
- throw new $TypeError$3('Assertion failed: P must be a Property Key');
2445
+ throw new $TypeError$2('Assertion failed: P must be a Property Key');
2232
2446
  }
2233
2447
  if (!src(O, P)) {
2234
2448
  return void 0;
@@ -2239,7 +2453,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2239
2453
  var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
2240
2454
  return {
2241
2455
  '[[Configurable]]': !(arrayLength || regexLastIndex),
2242
- '[[Enumerable]]': $isEnumerable$1(O, P),
2456
+ '[[Enumerable]]': $isEnumerable(O, P),
2243
2457
  '[[Value]]': O[P],
2244
2458
  '[[Writable]]': true
2245
2459
  };
@@ -2247,14 +2461,14 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2247
2461
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2248
2462
  };
2249
2463
 
2250
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2464
+ // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2251
2465
 
2252
2466
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2253
2467
  if (typeof Desc === 'undefined') {
2254
2468
  return false;
2255
2469
  }
2256
2470
 
2257
- assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2471
+ assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2258
2472
 
2259
2473
  if (!src(Desc, '[[Value]]') && !src(Desc, '[[Writable]]')) {
2260
2474
  return false;
@@ -2267,14 +2481,14 @@ var isPrimitive = function isPrimitive(value) {
2267
2481
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2268
2482
  };
2269
2483
 
2270
- var $Object = GetIntrinsic('%Object%');
2484
+ var $Object$1 = getIntrinsic('%Object%');
2271
2485
 
2272
2486
 
2273
2487
 
2274
- var $preventExtensions = $Object.preventExtensions;
2275
- var $isExtensible = $Object.isExtensible;
2488
+ var $preventExtensions = $Object$1.preventExtensions;
2489
+ var $isExtensible = $Object$1.isExtensible;
2276
2490
 
2277
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2491
+ // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2278
2492
 
2279
2493
  var IsExtensible = $preventExtensions
2280
2494
  ? function IsExtensible(obj) {
@@ -2288,7 +2502,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2288
2502
  return a !== a;
2289
2503
  };
2290
2504
 
2291
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2505
+ // http://262.ecma-international.org/5.1/#sec-9.12
2292
2506
 
2293
2507
  var SameValue = function SameValue(x, y) {
2294
2508
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2298,7 +2512,7 @@ var SameValue = function SameValue(x, y) {
2298
2512
  return _isNaN(x) && _isNaN(y);
2299
2513
  };
2300
2514
 
2301
- var $TypeError$4 = GetIntrinsic('%TypeError%');
2515
+ var $TypeError$1 = getIntrinsic('%TypeError%');
2302
2516
 
2303
2517
 
2304
2518
 
@@ -2310,18 +2524,18 @@ var $TypeError$4 = GetIntrinsic('%TypeError%');
2310
2524
 
2311
2525
 
2312
2526
 
2313
- // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2527
+ // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2314
2528
 
2315
2529
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2316
- if (Type$1(O) !== 'Object') {
2317
- throw new $TypeError$4('Assertion failed: Type(O) is not Object');
2530
+ if (Type(O) !== 'Object') {
2531
+ throw new $TypeError$1('Assertion failed: Type(O) is not Object');
2318
2532
  }
2319
2533
  if (!IsPropertyKey(P)) {
2320
- throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2534
+ throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');
2321
2535
  }
2322
2536
  var oldDesc = OrdinaryGetOwnProperty(O, P);
2323
- var extensible = oldDesc || IsExtensible(O);
2324
- var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable);
2537
+ var extensible = !oldDesc || IsExtensible(O);
2538
+ var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
2325
2539
  if (immutable || !extensible) {
2326
2540
  return false;
2327
2541
  }
@@ -2340,44 +2554,44 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2340
2554
  );
2341
2555
  };
2342
2556
 
2343
- var $TypeError$5 = GetIntrinsic('%TypeError%');
2557
+ var $TypeError = getIntrinsic('%TypeError%');
2344
2558
 
2345
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2559
+ // http://262.ecma-international.org/5.1/#sec-9.10
2346
2560
 
2347
2561
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2348
2562
  if (value == null) {
2349
- throw new $TypeError$5(optMessage || ('Cannot call method on ' + value));
2563
+ throw new $TypeError(optMessage || ('Cannot call method on ' + value));
2350
2564
  }
2351
2565
  return value;
2352
2566
  };
2353
2567
 
2354
2568
  var RequireObjectCoercible = CheckObjectCoercible;
2355
2569
 
2356
- var $Object$1 = GetIntrinsic('%Object%');
2570
+ var $Object = getIntrinsic('%Object%');
2357
2571
 
2358
2572
 
2359
2573
 
2360
- // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2574
+ // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2361
2575
 
2362
2576
  var ToObject = function ToObject(value) {
2363
2577
  RequireObjectCoercible(value);
2364
- return $Object$1(value);
2578
+ return $Object(value);
2365
2579
  };
2366
2580
 
2367
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
2581
+ var $gOPD = Object.getOwnPropertyDescriptor;
2368
2582
  var $getOwnNames = Object.getOwnPropertyNames;
2369
2583
  var $getSymbols = Object.getOwnPropertySymbols;
2370
- var $concat = callBound('Array.prototype.concat');
2371
- var $reduce = callBound('Array.prototype.reduce');
2584
+ var $concat$1 = callBound$1('Array.prototype.concat');
2585
+ var $reduce = callBound$1('Array.prototype.reduce');
2372
2586
  var getAll = $getSymbols ? function (obj) {
2373
- return $concat($getOwnNames(obj), $getSymbols(obj));
2587
+ return $concat$1($getOwnNames(obj), $getSymbols(obj));
2374
2588
  } : $getOwnNames;
2375
2589
 
2376
- var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
2590
+ var isES5$1 = IsCallable($gOPD) && IsCallable($getOwnNames);
2377
2591
 
2378
- var implementation$2 = function getOwnPropertyDescriptors(value) {
2592
+ var implementation$1 = function getOwnPropertyDescriptors(value) {
2379
2593
  RequireObjectCoercible(value);
2380
- if (!isES5) {
2594
+ if (!isES5$1) {
2381
2595
  throw new TypeError('getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor');
2382
2596
  }
2383
2597
 
@@ -2385,7 +2599,7 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
2385
2599
  return $reduce(
2386
2600
  getAll(O),
2387
2601
  function (acc, key) {
2388
- var descriptor = $gOPD$2(O, key);
2602
+ var descriptor = $gOPD(O, key);
2389
2603
  if (typeof descriptor !== 'undefined') {
2390
2604
  CreateDataProperty(acc, key, descriptor);
2391
2605
  }
@@ -2395,34 +2609,40 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
2395
2609
  );
2396
2610
  };
2397
2611
 
2398
- var polyfill = function getPolyfill() {
2399
- return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$2;
2612
+ var polyfill$2 = function getPolyfill() {
2613
+ return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$1;
2400
2614
  };
2401
2615
 
2402
- var shim = function shimGetOwnPropertyDescriptors() {
2403
- var polyfill$1 = polyfill();
2616
+ var shim$1 = function shimGetOwnPropertyDescriptors() {
2617
+ var polyfill = polyfill$2();
2404
2618
  defineProperties_1(
2405
2619
  Object,
2406
- { getOwnPropertyDescriptors: polyfill$1 },
2407
- { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill$1; } }
2620
+ { getOwnPropertyDescriptors: polyfill },
2621
+ { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill; } }
2408
2622
  );
2409
- return polyfill$1;
2623
+ return polyfill;
2410
2624
  };
2411
2625
 
2412
- defineProperties_1(implementation$2, {
2413
- getPolyfill: polyfill,
2414
- implementation: implementation$2,
2415
- shim: shim
2626
+ var bound = callBind(polyfill$2(), Object);
2627
+
2628
+ defineProperties_1(bound, {
2629
+ getPolyfill: polyfill$2,
2630
+ implementation: implementation$1,
2631
+ shim: shim$1
2416
2632
  });
2417
2633
 
2418
- var object_getownpropertydescriptors = implementation$2;
2634
+ var object_getownpropertydescriptors = bound;
2419
2635
 
2420
- var isES5$1 = typeof Object.defineProperty === 'function'
2636
+ // TODO; semver-major: remove
2637
+
2638
+ var callBound = callBound$1;
2639
+
2640
+ var isES5 = typeof Object.defineProperty === 'function'
2421
2641
  && typeof Object.defineProperties === 'function';
2422
2642
 
2423
2643
  var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto
2424
2644
 
2425
- if (!isES5$1 || !hasProto) {
2645
+ if (!isES5 || !hasProto) {
2426
2646
  throw new TypeError('util.promisify requires a true ES5 environment, that also supports `__proto__`');
2427
2647
  }
2428
2648
 
@@ -2435,15 +2655,15 @@ if (typeof Promise !== 'function') {
2435
2655
 
2436
2656
 
2437
2657
  var $slice = callBound('Array.prototype.slice');
2438
- var $concat$1 = callBound('Array.prototype.concat');
2658
+ var $concat = callBound('Array.prototype.concat');
2439
2659
  var $forEach = callBound('Array.prototype.forEach');
2440
2660
 
2441
- var hasSymbols$3 = hasSymbols$1();
2661
+ var hasSymbols = hasSymbols$3();
2442
2662
 
2443
- var kCustomPromisifiedSymbol = hasSymbols$3 ? Symbol('util.promisify.custom') : null;
2444
- var kCustomPromisifyArgsSymbol = hasSymbols$3 ? Symbol('customPromisifyArgs') : null;
2663
+ var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
2664
+ var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
2445
2665
 
2446
- var implementation$3 = function promisify(orig) {
2666
+ var implementation = function promisify(orig) {
2447
2667
  if (typeof orig !== 'function') {
2448
2668
  var error = new TypeError('The "original" argument must be of type function');
2449
2669
  error.name = 'TypeError [ERR_INVALID_ARG_TYPE]';
@@ -2451,7 +2671,7 @@ var implementation$3 = function promisify(orig) {
2451
2671
  throw error;
2452
2672
  }
2453
2673
 
2454
- if (hasSymbols$3 && orig[kCustomPromisifiedSymbol]) {
2674
+ if (hasSymbols && orig[kCustomPromisifiedSymbol]) {
2455
2675
  var customFunction = orig[kCustomPromisifiedSymbol];
2456
2676
  if (typeof customFunction !== 'function') {
2457
2677
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2473,7 +2693,7 @@ var implementation$3 = function promisify(orig) {
2473
2693
  var args = $slice(arguments);
2474
2694
  var self = this; // eslint-disable-line no-invalid-this
2475
2695
  return new Promise(function (resolve, reject) {
2476
- orig.apply(self, $concat$1(args, function (err) {
2696
+ orig.apply(self, $concat(args, function (err) {
2477
2697
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2478
2698
  if (err) {
2479
2699
  reject(err);
@@ -2503,17 +2723,17 @@ var implementation$3 = function promisify(orig) {
2503
2723
 
2504
2724
  var custom = kCustomPromisifiedSymbol;
2505
2725
  var customPromisifyArgs = kCustomPromisifyArgsSymbol;
2506
- implementation$3.custom = custom;
2507
- implementation$3.customPromisifyArgs = customPromisifyArgs;
2726
+ implementation.custom = custom;
2727
+ implementation.customPromisifyArgs = customPromisifyArgs;
2508
2728
 
2509
2729
  var polyfill$1 = function getPolyfill() {
2510
2730
  if (typeof util.promisify === 'function') {
2511
2731
  return util.promisify;
2512
2732
  }
2513
- return implementation$3;
2733
+ return implementation;
2514
2734
  };
2515
2735
 
2516
- var shim$1 = function shimUtilPromisify() {
2736
+ var shim = function shimUtilPromisify() {
2517
2737
  var polyfill = polyfill$1();
2518
2738
  if (polyfill !== util.promisify) {
2519
2739
  Object.defineProperty(util, 'promisify', {
@@ -2526,20 +2746,20 @@ var shim$1 = function shimUtilPromisify() {
2526
2746
  return polyfill;
2527
2747
  };
2528
2748
 
2529
- var polyfill$2 = polyfill$1();
2749
+ var polyfill = polyfill$1();
2530
2750
 
2531
2751
 
2532
2752
  /* eslint-disable no-unused-vars */
2533
2753
  var boundPromisify = function promisify(orig) {
2534
2754
  /* eslint-enable no-unused-vars */
2535
- return polyfill$2.apply(util, arguments);
2755
+ return polyfill.apply(util, arguments);
2536
2756
  };
2537
2757
  defineProperties_1(boundPromisify, {
2538
- custom: polyfill$2.custom,
2539
- customPromisifyArgs: polyfill$2.customPromisifyArgs,
2758
+ custom: polyfill.custom,
2759
+ customPromisifyArgs: polyfill.customPromisifyArgs,
2540
2760
  getPolyfill: polyfill$1,
2541
- implementation: implementation$3,
2542
- shim: shim$1
2761
+ implementation: implementation,
2762
+ shim: shim
2543
2763
  });
2544
2764
 
2545
2765
  var util_promisify = boundPromisify;
@@ -2752,7 +2972,7 @@ var md5 = createCommonjsModule(function (module) {
2752
2972
  message = utf8.stringToBytes(message);
2753
2973
  else if (isBuffer(message))
2754
2974
  message = Array.prototype.slice.call(message, 0);
2755
- else if (!Array.isArray(message))
2975
+ else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2756
2976
  message = message.toString();
2757
2977
  // else, assume byte array already
2758
2978
 
@@ -2898,16 +3118,16 @@ var md5 = createCommonjsModule(function (module) {
2898
3118
  })();
2899
3119
  });
2900
3120
 
2901
- var _this$3 = undefined;
3121
+ var _this$1 = undefined;
2902
3122
 
2903
- var config = {
3123
+ var config$1 = {
2904
3124
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
2905
3125
  user: 'nasp',
2906
3126
  password: 'uRNkF9SkfXQs6AKK',
2907
3127
  database: 'user'
2908
3128
  };
2909
3129
 
2910
- var findUser = function () {
3130
+ var findUser$1 = function () {
2911
3131
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(email) {
2912
3132
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
2913
3133
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
@@ -2919,7 +3139,7 @@ var findUser = function () {
2919
3139
  _context.prev = 1;
2920
3140
 
2921
3141
 
2922
- db$1 = db(config);
3142
+ db$1 = db(config$1);
2923
3143
 
2924
3144
  query = '\n select * \n from user \n where trim(lower(email)) = ?\n ';
2925
3145
  _context.next = 6;
@@ -3015,7 +3235,7 @@ var findUser = function () {
3015
3235
  };
3016
3236
  }();
3017
3237
 
3018
- var updateUser = function () {
3238
+ var updateUser$1 = function () {
3019
3239
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3020
3240
  var db$1, query, res, hash, columns, i, column, occupation_name;
3021
3241
  return regenerator.wrap(function _callee2$(_context2) {
@@ -3028,7 +3248,7 @@ var updateUser = function () {
3028
3248
 
3029
3249
  validateUserData(data);
3030
3250
 
3031
- db$1 = db(config);
3251
+ db$1 = db(config$1);
3032
3252
 
3033
3253
  _context2.next = 6;
3034
3254
  return db$1.beginTransaction();
@@ -3135,7 +3355,7 @@ var updateUser = function () {
3135
3355
 
3136
3356
  return _context2.abrupt('return', {
3137
3357
  error: '',
3138
- user: findUser(data.email)
3358
+ user: findUser$1(data.email)
3139
3359
  });
3140
3360
 
3141
3361
  case 45:
@@ -3247,7 +3467,7 @@ var getOccupationNameById = function () {
3247
3467
  return _context3.stop();
3248
3468
  }
3249
3469
  }
3250
- }, _callee3, _this$3);
3470
+ }, _callee3, _this$1);
3251
3471
  }));
3252
3472
 
3253
3473
  return function getOccupationNameById(_x5, _x6) {
@@ -3255,7 +3475,7 @@ var getOccupationNameById = function () {
3255
3475
  };
3256
3476
  }();
3257
3477
 
3258
- var createUser = function () {
3478
+ var createUser$1 = function () {
3259
3479
  var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(data) {
3260
3480
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3261
3481
  return regenerator.wrap(function _callee4$(_context4) {
@@ -3268,7 +3488,7 @@ var createUser = function () {
3268
3488
 
3269
3489
  validateUserData(data, true);
3270
3490
 
3271
- db$1 = db(config);
3491
+ db$1 = db(config$1);
3272
3492
 
3273
3493
  _context4.next = 6;
3274
3494
  return db$1.beginTransaction();
@@ -3364,7 +3584,7 @@ var createUser = function () {
3364
3584
  case 39:
3365
3585
  return _context4.abrupt('return', {
3366
3586
  error: '',
3367
- user: findUser(data.email)
3587
+ user: findUser$1(data.email)
3368
3588
  });
3369
3589
 
3370
3590
  case 42:
@@ -3402,7 +3622,7 @@ var createUser = function () {
3402
3622
  };
3403
3623
  }();
3404
3624
 
3405
- var createUser$1 = function () {
3625
+ var createUser = function () {
3406
3626
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(data) {
3407
3627
  var res;
3408
3628
  return regenerator.wrap(function _callee$(_context) {
@@ -3410,7 +3630,7 @@ var createUser$1 = function () {
3410
3630
  switch (_context.prev = _context.next) {
3411
3631
  case 0:
3412
3632
  _context.next = 2;
3413
- return createUser(data);
3633
+ return createUser$1(data);
3414
3634
 
3415
3635
  case 2:
3416
3636
  res = _context.sent;
@@ -3438,7 +3658,7 @@ var createUser$1 = function () {
3438
3658
  };
3439
3659
  }();
3440
3660
 
3441
- var updateUser$1 = function () {
3661
+ var updateUser = function () {
3442
3662
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3443
3663
  var res;
3444
3664
  return regenerator.wrap(function _callee2$(_context2) {
@@ -3446,7 +3666,7 @@ var updateUser$1 = function () {
3446
3666
  switch (_context2.prev = _context2.next) {
3447
3667
  case 0:
3448
3668
  _context2.next = 2;
3449
- return updateUser(data);
3669
+ return updateUser$1(data);
3450
3670
 
3451
3671
  case 2:
3452
3672
  res = _context2.sent;
@@ -3474,7 +3694,7 @@ var updateUser$1 = function () {
3474
3694
  };
3475
3695
  }();
3476
3696
 
3477
- var findUser$1 = function () {
3697
+ var findUser = function () {
3478
3698
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(_ref4) {
3479
3699
  var email = _ref4.email,
3480
3700
  password = _ref4.password;
@@ -3484,7 +3704,7 @@ var findUser$1 = function () {
3484
3704
  switch (_context3.prev = _context3.next) {
3485
3705
  case 0:
3486
3706
  _context3.next = 2;
3487
- return findUser(email, password);
3707
+ return findUser$1(email, password);
3488
3708
 
3489
3709
  case 2:
3490
3710
  res = _context3.sent;
@@ -3514,9 +3734,9 @@ var findUser$1 = function () {
3514
3734
 
3515
3735
  var user = /*#__PURE__*/Object.freeze({
3516
3736
  __proto__: null,
3517
- createUser: createUser$1,
3518
- updateUser: updateUser$1,
3519
- findUser: findUser$1
3737
+ createUser: createUser,
3738
+ updateUser: updateUser,
3739
+ findUser: findUser
3520
3740
  });
3521
3741
 
3522
3742
  var localStrategy = new Local.Strategy({
@@ -3524,7 +3744,7 @@ var localStrategy = new Local.Strategy({
3524
3744
  passwordField: 'password'
3525
3745
  }, function (email, password, done) {
3526
3746
 
3527
- findUser$1({ email: email, password: password }).then(function (user) {
3747
+ findUser({ email: email, password: password }).then(function (user) {
3528
3748
  done(null, user);
3529
3749
  }).catch(function (error) {
3530
3750
  done(error);
@@ -3536,9 +3756,9 @@ var passportLocal = /*#__PURE__*/Object.freeze({
3536
3756
  localStrategy: localStrategy
3537
3757
  });
3538
3758
 
3539
- var _this$4 = undefined;
3759
+ var _this = undefined;
3540
3760
 
3541
- var config$1 = {
3761
+ var config = {
3542
3762
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
3543
3763
  user: 'nasp',
3544
3764
  password: 'uRNkF9SkfXQs6AKK',
@@ -3552,7 +3772,7 @@ var getOccupation = function () {
3552
3772
  while (1) {
3553
3773
  switch (_context.prev = _context.next) {
3554
3774
  case 0:
3555
- db$1 = db(config$1);
3775
+ db$1 = db(config);
3556
3776
  query = '\n select name as label, id as value\n from occupation\n where type = ?\n ';
3557
3777
  _context.next = 4;
3558
3778
  return db$1.query(query, [type]);
@@ -3570,7 +3790,7 @@ var getOccupation = function () {
3570
3790
  return _context.stop();
3571
3791
  }
3572
3792
  }
3573
- }, _callee, _this$4);
3793
+ }, _callee, _this);
3574
3794
  }));
3575
3795
 
3576
3796
  return function getOccupation(_x) {
@@ -3585,7 +3805,7 @@ var getFieldsAndOptions = function () {
3585
3805
  while (1) {
3586
3806
  switch (_context2.prev = _context2.next) {
3587
3807
  case 0:
3588
- db$1 = db(config$1);
3808
+ db$1 = db(config);
3589
3809
  query = '\n select * \n from field\n where occupation_id = ?\n order by sorting\n ';
3590
3810
  _context2.next = 4;
3591
3811
  return db$1.query(query, [occupation]);
@@ -3633,7 +3853,7 @@ var getFieldsAndOptions = function () {
3633
3853
  return _context2.stop();
3634
3854
  }
3635
3855
  }
3636
- }, _callee2, _this$4);
3856
+ }, _callee2, _this);
3637
3857
  }));
3638
3858
 
3639
3859
  return function getFieldsAndOptions(_x2) {
@@ -3704,8 +3924,8 @@ var ProcessData = (function () {
3704
3924
  })();
3705
3925
 
3706
3926
  var LoginForm_1 = LoginForm;
3707
- var SignupForm_1 = SignupForm;
3708
- var ProfileForm_1 = SignupForm$1;
3927
+ var SignupForm_1 = SignupForm$1;
3928
+ var ProfileForm_1 = SignupForm;
3709
3929
  var AuthCookies_1 = authCookies;
3710
3930
  var AuthHooks_1 = hooks;
3711
3931
  var Iron_1 = iron;