@mjhls/mjh-framework 1.0.865 → 1.0.866-d4d665

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 (309) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +24 -23
  4. package/dist/cjs/AD300x250x600.js +24 -23
  5. package/dist/cjs/AD728x90.js +27 -26
  6. package/dist/cjs/ADFloatingFooter.js +23 -22
  7. package/dist/cjs/ADFooter.js +6 -6
  8. package/dist/cjs/ADGutter.js +23 -22
  9. package/dist/cjs/{ADInfeed-f8324b70.js → ADInfeed-799275aa.js} +4 -4
  10. package/dist/cjs/ADSkyscraper.js +23 -22
  11. package/dist/cjs/ADSponsoredResources.js +23 -22
  12. package/dist/cjs/ADWebcast.js +23 -22
  13. package/dist/cjs/ADWelcome.js +20 -19
  14. package/dist/cjs/{ADlgInfeed-98d7c699.js → ADlgInfeed-591d014e.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +8 -8
  16. package/dist/cjs/AdSlot.js +24 -23
  17. package/dist/cjs/AdSlotsProvider.js +14 -13
  18. package/dist/cjs/AlgoliaSearch.js +14121 -30
  19. package/dist/cjs/AlphabeticList.js +10 -10
  20. package/dist/cjs/ArticleCarousel.js +15 -15
  21. package/dist/cjs/ArticleProgramLandingPage.js +50 -49
  22. package/dist/cjs/ArticleSeriesLandingPage.js +33 -32
  23. package/dist/cjs/ArticleSeriesListing.js +34 -33
  24. package/dist/cjs/Auth.js +348 -519
  25. package/dist/cjs/AuthWrapper.js +20 -20
  26. package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-ac8972ce.js} +1 -1
  27. package/dist/cjs/Beam.js +8 -8
  28. package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
  29. package/dist/cjs/Breadcrumbs.js +8 -8
  30. package/dist/cjs/CMEDeck.js +25 -24
  31. package/dist/cjs/Column2.js +16 -16
  32. package/dist/cjs/Column3.js +33 -32
  33. package/dist/cjs/ConferenceArticleCard.js +22 -22
  34. package/dist/cjs/DeckContent.js +43 -42
  35. package/dist/cjs/DeckQueue.js +32 -31
  36. package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-391fd124.js} +15 -14
  37. package/dist/cjs/EventsDeck.js +45 -45
  38. package/dist/cjs/ExternalResources.js +47 -46
  39. package/dist/cjs/Feature.js +4 -4
  40. package/dist/cjs/ForbesHero.js +12 -12
  41. package/dist/cjs/GridContent.js +48 -47
  42. package/dist/cjs/GridHero.js +13 -13
  43. package/dist/cjs/GroupDeck.js +14 -14
  44. package/dist/cjs/HamMagazine.js +37 -37
  45. package/dist/cjs/Hero.js +4 -4
  46. package/dist/cjs/HighlightenVideo.js +2 -2
  47. package/dist/cjs/HorizontalArticleListing.js +48 -47
  48. package/dist/cjs/HorizontalHero.js +5 -5
  49. package/dist/cjs/IssueContentDeck.js +13 -13
  50. package/dist/cjs/IssueDeck.js +17 -17
  51. package/dist/cjs/IssueLanding.js +85 -84
  52. package/dist/cjs/KMTracker.js +15 -15
  53. package/dist/cjs/LeftNav.js +22 -21
  54. package/dist/cjs/MasterDeck.js +42 -41
  55. package/dist/cjs/MediaSeriesLanding.js +613 -713
  56. package/dist/cjs/NavDvm.js +13 -13
  57. package/dist/cjs/NavMagazine.js +41 -41
  58. package/dist/cjs/NavNative.js +41 -41
  59. package/dist/cjs/OncliveHero.js +4 -4
  60. package/dist/cjs/OncliveLargeHero.js +13 -13
  61. package/dist/cjs/PageFilter.js +6 -6
  62. package/dist/cjs/PartnerDetailListing.js +2796 -67
  63. package/dist/cjs/PdfDownload.js +2 -2
  64. package/dist/cjs/PopUpModal.js +6 -6
  65. package/dist/cjs/PubSection.js +35 -34
  66. package/dist/cjs/PubToc.js +8 -8
  67. package/dist/cjs/PublicationDeck.js +8 -8
  68. package/dist/cjs/PublicationLanding.js +55 -55
  69. package/dist/cjs/QueueDeckExpanded.js +40 -39
  70. package/dist/cjs/RecentNews.js +4 -4
  71. package/dist/cjs/RelatedContent.js +35 -35
  72. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  73. package/dist/cjs/Search.js +8 -8
  74. package/dist/cjs/Segment.js +6 -6
  75. package/dist/cjs/SeriesListingDeck.js +21 -20
  76. package/dist/cjs/{SeriesSlider-e3e8ead7.js → SeriesSlider-d38767ae.js} +14 -14
  77. package/dist/cjs/SetCookie.js +1 -1
  78. package/dist/cjs/SideFooter.js +17 -17
  79. package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-9a9d6f8c.js} +11 -11
  80. package/dist/cjs/TaxonomyCard.js +10 -10
  81. package/dist/cjs/TaxonomyDescription.js +46 -45
  82. package/dist/cjs/TemplateNormal.js +48 -47
  83. package/dist/cjs/ThumbnailCard.js +7 -7
  84. package/dist/cjs/Ustream.js +14 -14
  85. package/dist/cjs/VerticalHero.js +3 -3
  86. package/dist/cjs/VideoProgramLandingPage.js +52 -51
  87. package/dist/cjs/VideoSeriesCard.js +14 -14
  88. package/dist/cjs/VideoSeriesFilter.js +9 -9
  89. package/dist/cjs/VideoSeriesLandingPage.js +39 -38
  90. package/dist/cjs/VideoSeriesListing.js +34 -33
  91. package/dist/cjs/View.js +112 -109
  92. package/dist/cjs/YahooHero.js +15 -15
  93. package/dist/cjs/YoutubeGroup.js +23 -23
  94. package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
  95. package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
  96. package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
  97. package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
  98. package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
  99. package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
  100. package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
  101. package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4ba0d3d5.js} +4 -5
  102. package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
  103. package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
  104. package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
  105. package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
  106. package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
  107. package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
  108. package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
  109. package/dist/cjs/events-1b438fe7.js +469 -0
  110. package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
  111. package/dist/cjs/faundadb.js +7 -7
  112. package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
  113. package/dist/cjs/getRelatedArticle.js +14 -14
  114. package/dist/cjs/getRootDocGroup.js +6 -6
  115. package/dist/cjs/getSerializers.js +46 -45
  116. package/dist/cjs/{getTargeting-32d1c2e4.js → getTargeting-21103688.js} +11 -11
  117. package/dist/cjs/getTargeting.js +8 -8
  118. package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
  119. package/dist/cjs/{index-0e4427c8.js → index-2cf30c83.js} +5 -470
  120. package/dist/cjs/{index-32097c80.js → index-4990e6c9.js} +175 -175
  121. package/dist/cjs/{index-f86bb269.js → index-5be2866f.js} +45 -44
  122. package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
  123. package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
  124. package/dist/cjs/index-f0677b9d.js +99 -0
  125. package/dist/cjs/{index.es-f3e47207.js → index.es-13533f24.js} +4 -20
  126. package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
  127. package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
  128. package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
  129. package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
  130. package/dist/cjs/index.js +140 -140
  131. package/dist/cjs/{inherits-c2065b95.js → inherits-0c7830c5.js} +19 -19
  132. package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
  133. package/dist/cjs/keys-a586b7a0.js +25 -0
  134. package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
  135. package/dist/cjs/main-11ec04d2.js +894 -0
  136. package/dist/cjs/{moment-aca40de1.js → moment-66a6a284.js} +9 -11
  137. package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
  138. package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
  139. package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
  140. package/dist/cjs/stringify-7c5aff47.js +17 -0
  141. package/dist/cjs/timeDifferenceCalc.js +1 -1
  142. package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
  143. package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
  144. package/dist/cjs/{typeof-88a668c5.js → typeof-9d7f610f.js} +35 -35
  145. package/dist/cjs/urlFor.js +1 -1
  146. package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
  147. package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
  148. package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
  149. package/dist/esm/AD.js +7 -7
  150. package/dist/esm/AD300x250.js +27 -26
  151. package/dist/esm/AD300x250x600.js +27 -26
  152. package/dist/esm/AD728x90.js +30 -29
  153. package/dist/esm/ADFloatingFooter.js +29 -28
  154. package/dist/esm/ADFooter.js +11 -11
  155. package/dist/esm/ADGutter.js +29 -28
  156. package/dist/esm/{ADInfeed-a71a3972.js → ADInfeed-4b8902ae.js} +9 -9
  157. package/dist/esm/ADSkyscraper.js +29 -28
  158. package/dist/esm/ADSponsoredResources.js +29 -28
  159. package/dist/esm/ADWebcast.js +29 -28
  160. package/dist/esm/ADWelcome.js +30 -29
  161. package/dist/esm/{ADlgInfeed-d94f1437.js → ADlgInfeed-5193b48f.js} +8 -8
  162. package/dist/esm/AccordionPanel.js +24 -24
  163. package/dist/esm/AdSlot.js +27 -26
  164. package/dist/esm/AdSlotsProvider.js +15 -14
  165. package/dist/esm/AlgoliaSearch.js +14143 -52
  166. package/dist/esm/AlphabeticList.js +22 -22
  167. package/dist/esm/ArticleCarousel.js +18 -18
  168. package/dist/esm/ArticleProgramLandingPage.js +56 -55
  169. package/dist/esm/ArticleSeriesLandingPage.js +38 -37
  170. package/dist/esm/ArticleSeriesListing.js +57 -56
  171. package/dist/esm/Auth.js +418 -589
  172. package/dist/esm/AuthWrapper.js +45 -45
  173. package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-8ffd4679.js} +11 -11
  174. package/dist/esm/Beam.js +8 -8
  175. package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
  176. package/dist/esm/Breadcrumbs.js +17 -17
  177. package/dist/esm/CMEDeck.js +80 -79
  178. package/dist/esm/Column1.js +5 -5
  179. package/dist/esm/Column2.js +27 -27
  180. package/dist/esm/Column3.js +52 -51
  181. package/dist/esm/ConferenceArticleCard.js +35 -35
  182. package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
  183. package/dist/esm/DeckContent.js +87 -86
  184. package/dist/esm/DeckQueue.js +69 -68
  185. package/dist/esm/{Dfp-be030f2a.js → Dfp-2f9796e1.js} +23 -22
  186. package/dist/esm/EventsDeck.js +105 -105
  187. package/dist/esm/ExternalResources.js +73 -72
  188. package/dist/esm/Feature.js +18 -18
  189. package/dist/esm/ForbesHero.js +35 -35
  190. package/dist/esm/GridContent.js +164 -163
  191. package/dist/esm/GridHero.js +37 -37
  192. package/dist/esm/GroupDeck.js +47 -47
  193. package/dist/esm/HamMagazine.js +114 -114
  194. package/dist/esm/Header.js +8 -8
  195. package/dist/esm/Hero.js +10 -10
  196. package/dist/esm/HighlightenVideo.js +14 -14
  197. package/dist/esm/HorizontalArticleListing.js +70 -69
  198. package/dist/esm/HorizontalHero.js +23 -23
  199. package/dist/esm/IssueContentDeck.js +50 -50
  200. package/dist/esm/IssueDeck.js +47 -47
  201. package/dist/esm/IssueLanding.js +93 -92
  202. package/dist/esm/KMTracker.js +15 -15
  203. package/dist/esm/LeftNav.js +35 -34
  204. package/dist/esm/MasterDeck.js +74 -73
  205. package/dist/esm/MediaSeriesLanding.js +625 -725
  206. package/dist/esm/NavDvm.js +56 -56
  207. package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
  208. package/dist/esm/NavMagazine.js +123 -123
  209. package/dist/esm/NavNative.js +112 -112
  210. package/dist/esm/OncliveHero.js +16 -16
  211. package/dist/esm/OncliveLargeHero.js +60 -60
  212. package/dist/esm/PageFilter.js +12 -12
  213. package/dist/esm/PartnerDetailListing.js +2842 -114
  214. package/dist/esm/PdfDownload.js +7 -7
  215. package/dist/esm/PopUpModal.js +14 -14
  216. package/dist/esm/PubSection.js +40 -39
  217. package/dist/esm/PubToc.js +12 -12
  218. package/dist/esm/PublicationDeck.js +39 -39
  219. package/dist/esm/PublicationLanding.js +102 -102
  220. package/dist/esm/QueueDeckExpanded.js +277 -276
  221. package/dist/esm/RecentNews.js +20 -20
  222. package/dist/esm/RelatedContent.js +48 -48
  223. package/dist/esm/RelatedTopicsDropdown.js +21 -21
  224. package/dist/esm/RolesDeck.js +13 -13
  225. package/dist/esm/Search.js +12 -12
  226. package/dist/esm/Segment.js +6 -6
  227. package/dist/esm/SeriesListingDeck.js +33 -32
  228. package/dist/esm/{SeriesSlider-ae17159f.js → SeriesSlider-b8cc1baa.js} +31 -31
  229. package/dist/esm/SetCookie.js +1 -1
  230. package/dist/esm/SideFooter.js +34 -34
  231. package/dist/esm/SocialIcons.js +7 -7
  232. package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-c54d43cb.js} +29 -29
  233. package/dist/esm/SocialShare.js +25 -25
  234. package/dist/esm/TaxonomyCard.js +42 -42
  235. package/dist/esm/TaxonomyDescription.js +50 -49
  236. package/dist/esm/TemplateNormal.js +68 -67
  237. package/dist/esm/ThumbnailCard.js +14 -14
  238. package/dist/esm/Ustream.js +27 -27
  239. package/dist/esm/VerticalHero.js +14 -14
  240. package/dist/esm/VideoProgramLandingPage.js +64 -63
  241. package/dist/esm/VideoSeriesCard.js +26 -26
  242. package/dist/esm/VideoSeriesFilter.js +15 -15
  243. package/dist/esm/VideoSeriesLandingPage.js +43 -42
  244. package/dist/esm/VideoSeriesListing.js +73 -72
  245. package/dist/esm/View.js +268 -265
  246. package/dist/esm/YahooHero.js +35 -35
  247. package/dist/esm/YoutubeGroup.js +48 -48
  248. package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
  249. package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
  250. package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
  251. package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
  252. package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
  253. package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
  254. package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
  255. package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-e1c6b0f2.js} +6 -7
  256. package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
  257. package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
  258. package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
  259. package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
  260. package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
  261. package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
  262. package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
  263. package/dist/esm/events-6c3a7a63.js +467 -0
  264. package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
  265. package/dist/esm/faundadb.js +7 -7
  266. package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
  267. package/dist/esm/getRelatedArticle.js +14 -14
  268. package/dist/esm/getRootDocGroup.js +6 -6
  269. package/dist/esm/getSerializers.js +46 -45
  270. package/dist/esm/{getTargeting-cf2724e3.js → getTargeting-88d69971.js} +11 -11
  271. package/dist/esm/getTargeting.js +8 -8
  272. package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
  273. package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
  274. package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
  275. package/dist/esm/index-b68072f5.js +94 -0
  276. package/dist/esm/{index-5e84f9cd.js → index-bec35c6c.js} +573 -573
  277. package/dist/esm/{index-79cfd25c.js → index-d2f90501.js} +45 -44
  278. package/dist/esm/{index-5cc7b406.js → index-f7fb1e25.js} +7 -472
  279. package/dist/esm/{index.es-a6137319.js → index.es-7dda2f0a.js} +9 -25
  280. package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
  281. package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
  282. package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
  283. package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
  284. package/dist/esm/index.js +136 -136
  285. package/dist/esm/{inherits-a41fe93f.js → inherits-75d45541.js} +19 -19
  286. package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
  287. package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
  288. package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
  289. package/dist/esm/main-aef58dbc.js +882 -0
  290. package/dist/esm/{moment-bc12cb97.js → moment-12415288.js} +9 -11
  291. package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
  292. package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
  293. package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
  294. package/dist/esm/stringify-4330ccdc.js +15 -0
  295. package/dist/esm/timeDifferenceCalc.js +1 -1
  296. package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
  297. package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
  298. package/dist/esm/{typeof-a286cf0c.js → typeof-af9c50d8.js} +35 -35
  299. package/dist/esm/urlFor.js +1 -1
  300. package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
  301. package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
  302. package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
  303. package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
  304. package/package.json +111 -111
  305. package/dist/cjs/keys-7f2c2108.js +0 -25
  306. package/dist/cjs/main-f1c77adb.js +0 -973
  307. package/dist/cjs/stringify-c9ac1214.js +0 -17
  308. package/dist/esm/main-d4165069.js +0 -961
  309. package/dist/esm/stringify-59c8f690.js +0 -15
package/dist/cjs/Auth.js CHANGED
@@ -2,27 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var asyncToGenerator = require('./asyncToGenerator-58c289d9.js');
6
- var stringify = require('./stringify-c9ac1214.js');
7
- var slicedToArray = require('./slicedToArray-5d1bc3b3.js');
5
+ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
6
+ require('./_to-object-329a650b.js');
7
+ require('./es6.string.iterator-cc0bbaa4.js');
8
+ require('./_library-dd23b178.js');
9
+ require('./_iter-detect-60b2f026.js');
10
+ require('./core.get-iterator-method-f62321d4.js');
11
+ require('./_object-pie-68c5bcbc.js');
12
+ var _extends = require('./extends-0a918631.js');
13
+ require('./web.dom.iterable-a0e279c1.js');
8
14
  var React = require('react');
9
15
  var Router = require('next/router');
10
- var _extends = require('./extends-29bdbc6d.js');
16
+ var slicedToArray = require('./slicedToArray-8f385299.js');
17
+ var stringify = require('./stringify-7c5aff47.js');
18
+ var asyncToGenerator = require('./asyncToGenerator-140e5f89.js');
11
19
  var reactBootstrap = require('react-bootstrap');
12
- var useSWR = require('swr');
20
+ var util = require('./util-f2c1b65b.js');
13
21
  var index = require('./index-bd6c9f56.js');
22
+ var useSWR = require('swr');
14
23
  var Local = require('passport-local');
15
24
  var mysql = require('mysql');
16
- var util = require('./util-6f784d85.js');
17
- var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
18
25
  var md5 = require('./md5-e1ca5797.js');
19
- require('./es6.string.iterator-c2573ffd.js');
20
- require('./_to-object-6de10e57.js');
21
- require('./web.dom.iterable-46657b5c.js');
22
- require('./_library-dd23b178.js');
23
- require('./core.get-iterator-method-f474eacc.js');
24
- require('./_iter-detect-55a5657a.js');
25
- require('./_object-pie-083f2dd6.js');
26
26
 
27
27
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
28
28
 
@@ -148,7 +148,7 @@ var returnFormField = function returnFormField(_ref) {
148
148
  }
149
149
  };
150
150
 
151
- var _this$4 = undefined;
151
+ var _this = undefined;
152
152
 
153
153
  var dataHandler = function () {
154
154
  var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(api_url, body) {
@@ -214,7 +214,7 @@ var dataHandler = function () {
214
214
  return _context.stop();
215
215
  }
216
216
  }
217
- }, _callee, _this$4, [[0, 20]]);
217
+ }, _callee, _this, [[0, 20]]);
218
218
  }));
219
219
 
220
220
  return function dataHandler(_x, _x2) {
@@ -410,9 +410,9 @@ var countries = ["United States", "Afghanistan", "Albania", "Algeria", "American
410
410
 
411
411
  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'];
412
412
 
413
- var _this$3 = undefined;
413
+ var _this$1 = undefined;
414
414
 
415
- var SignupForm$1 = function SignupForm(props) {
415
+ var SignupForm = function SignupForm(props) {
416
416
  var handleSubmit = function () {
417
417
  var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(e) {
418
418
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -573,7 +573,7 @@ var SignupForm$1 = function SignupForm(props) {
573
573
  return _context.stop();
574
574
  }
575
575
  }
576
- }, _callee, _this$3);
576
+ }, _callee, _this$1);
577
577
  }));
578
578
 
579
579
  return function loadInitData() {
@@ -640,7 +640,7 @@ var SignupForm$1 = function SignupForm(props) {
640
640
  return _context2.stop();
641
641
  }
642
642
  }
643
- }, _callee2, _this$3);
643
+ }, _callee2, _this$1);
644
644
  }));
645
645
 
646
646
  return function handleOccupationChanged(_x) {
@@ -790,7 +790,7 @@ var SignupForm$1 = function SignupForm(props) {
790
790
 
791
791
  var _this$2 = undefined;
792
792
 
793
- var SignupForm = function SignupForm(props) {
793
+ var SignupForm$1 = function SignupForm(props) {
794
794
  var handleSubmit = function () {
795
795
  var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(e) {
796
796
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -1325,10 +1325,10 @@ var iron = /*#__PURE__*/Object.freeze({
1325
1325
  getSession: getSession
1326
1326
  });
1327
1327
 
1328
- var toStr$5 = Object.prototype.toString;
1328
+ var toStr = Object.prototype.toString;
1329
1329
 
1330
1330
  var isArguments = function isArguments(value) {
1331
- var str = toStr$5.call(value);
1331
+ var str = toStr.call(value);
1332
1332
  var isArgs = str === '[object Arguments]';
1333
1333
  if (!isArgs) {
1334
1334
  isArgs = str !== '[object Array]' &&
@@ -1336,16 +1336,16 @@ var isArguments = function isArguments(value) {
1336
1336
  typeof value === 'object' &&
1337
1337
  typeof value.length === 'number' &&
1338
1338
  value.length >= 0 &&
1339
- toStr$5.call(value.callee) === '[object Function]';
1339
+ toStr.call(value.callee) === '[object Function]';
1340
1340
  }
1341
1341
  return isArgs;
1342
1342
  };
1343
1343
 
1344
- var keysShim$1;
1344
+ var keysShim;
1345
1345
  if (!Object.keys) {
1346
1346
  // modified from https://github.com/es-shims/es5-shim
1347
- var has$1 = Object.prototype.hasOwnProperty;
1348
- var toStr$4 = Object.prototype.toString;
1347
+ var has = Object.prototype.hasOwnProperty;
1348
+ var toStr$1 = Object.prototype.toString;
1349
1349
  var isArgs = isArguments; // eslint-disable-line global-require
1350
1350
  var isEnumerable = Object.prototype.propertyIsEnumerable;
1351
1351
  var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
@@ -1393,7 +1393,7 @@ if (!Object.keys) {
1393
1393
  if (typeof window === 'undefined') { return false; }
1394
1394
  for (var k in window) {
1395
1395
  try {
1396
- if (!excludedKeys['$' + k] && has$1.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1396
+ if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1397
1397
  try {
1398
1398
  equalsConstructorPrototype(window[k]);
1399
1399
  } catch (e) {
@@ -1418,11 +1418,11 @@ if (!Object.keys) {
1418
1418
  }
1419
1419
  };
1420
1420
 
1421
- keysShim$1 = function keys(object) {
1421
+ keysShim = function keys(object) {
1422
1422
  var isObject = object !== null && typeof object === 'object';
1423
- var isFunction = toStr$4.call(object) === '[object Function]';
1423
+ var isFunction = toStr$1.call(object) === '[object Function]';
1424
1424
  var isArguments = isArgs(object);
1425
- var isString = isObject && toStr$4.call(object) === '[object String]';
1425
+ var isString = isObject && toStr$1.call(object) === '[object String]';
1426
1426
  var theKeys = [];
1427
1427
 
1428
1428
  if (!isObject && !isFunction && !isArguments) {
@@ -1430,7 +1430,7 @@ if (!Object.keys) {
1430
1430
  }
1431
1431
 
1432
1432
  var skipProto = hasProtoEnumBug && isFunction;
1433
- if (isString && object.length > 0 && !has$1.call(object, 0)) {
1433
+ if (isString && object.length > 0 && !has.call(object, 0)) {
1434
1434
  for (var i = 0; i < object.length; ++i) {
1435
1435
  theKeys.push(String(i));
1436
1436
  }
@@ -1442,7 +1442,7 @@ if (!Object.keys) {
1442
1442
  }
1443
1443
  } else {
1444
1444
  for (var name in object) {
1445
- if (!(skipProto && name === 'prototype') && has$1.call(object, name)) {
1445
+ if (!(skipProto && name === 'prototype') && has.call(object, name)) {
1446
1446
  theKeys.push(String(name));
1447
1447
  }
1448
1448
  }
@@ -1452,7 +1452,7 @@ if (!Object.keys) {
1452
1452
  var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
1453
1453
 
1454
1454
  for (var k = 0; k < dontEnums.length; ++k) {
1455
- if (!(skipConstructor && dontEnums[k] === 'constructor') && has$1.call(object, dontEnums[k])) {
1455
+ if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
1456
1456
  theKeys.push(dontEnums[k]);
1457
1457
  }
1458
1458
  }
@@ -1460,17 +1460,17 @@ if (!Object.keys) {
1460
1460
  return theKeys;
1461
1461
  };
1462
1462
  }
1463
- var implementation$3 = keysShim$1;
1463
+ var implementation = keysShim;
1464
1464
 
1465
- var slice$1 = Array.prototype.slice;
1465
+ var slice = Array.prototype.slice;
1466
1466
 
1467
1467
 
1468
1468
  var origKeys = Object.keys;
1469
- var keysShim = origKeys ? function keys(o) { return origKeys(o); } : implementation$3;
1469
+ var keysShim$1 = origKeys ? function keys(o) { return origKeys(o); } : implementation;
1470
1470
 
1471
1471
  var originalKeys = Object.keys;
1472
1472
 
1473
- keysShim.shim = function shimObjectKeys() {
1473
+ keysShim$1.shim = function shimObjectKeys() {
1474
1474
  if (Object.keys) {
1475
1475
  var keysWorksWithArguments = (function () {
1476
1476
  // Safari 5.0 bug
@@ -1480,27 +1480,27 @@ keysShim.shim = function shimObjectKeys() {
1480
1480
  if (!keysWorksWithArguments) {
1481
1481
  Object.keys = function keys(object) { // eslint-disable-line func-name-matching
1482
1482
  if (isArguments(object)) {
1483
- return originalKeys(slice$1.call(object));
1483
+ return originalKeys(slice.call(object));
1484
1484
  }
1485
1485
  return originalKeys(object);
1486
1486
  };
1487
1487
  }
1488
1488
  } else {
1489
- Object.keys = keysShim;
1489
+ Object.keys = keysShim$1;
1490
1490
  }
1491
- return Object.keys || keysShim;
1491
+ return Object.keys || keysShim$1;
1492
1492
  };
1493
1493
 
1494
- var objectKeys = keysShim;
1494
+ var objectKeys = keysShim$1;
1495
1495
 
1496
- var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1496
+ var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1497
1497
 
1498
- var toStr$3 = Object.prototype.toString;
1498
+ var toStr$2 = Object.prototype.toString;
1499
1499
  var concat = Array.prototype.concat;
1500
1500
  var origDefineProperty = Object.defineProperty;
1501
1501
 
1502
1502
  var isFunction = function (fn) {
1503
- return typeof fn === 'function' && toStr$3.call(fn) === '[object Function]';
1503
+ return typeof fn === 'function' && toStr$2.call(fn) === '[object Function]';
1504
1504
  };
1505
1505
 
1506
1506
  var arePropertyDescriptorsSupported = function () {
@@ -1537,7 +1537,7 @@ var defineProperty = function (object, name, value, predicate) {
1537
1537
  var defineProperties = function (object, map) {
1538
1538
  var predicates = arguments.length > 2 ? arguments[2] : {};
1539
1539
  var props = objectKeys(map);
1540
- if (hasSymbols$4) {
1540
+ if (hasSymbols) {
1541
1541
  props = concat.call(props, Object.getOwnPropertySymbols(map));
1542
1542
  }
1543
1543
  for (var i = 0; i < props.length; i += 1) {
@@ -1549,59 +1549,6 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1549
1549
 
1550
1550
  var defineProperties_1 = defineProperties;
1551
1551
 
1552
- /* eslint no-invalid-this: 1 */
1553
-
1554
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1555
- var slice = Array.prototype.slice;
1556
- var toStr$2 = Object.prototype.toString;
1557
- var funcType = '[object Function]';
1558
-
1559
- var implementation$2 = function bind(that) {
1560
- var target = this;
1561
- if (typeof target !== 'function' || toStr$2.call(target) !== funcType) {
1562
- throw new TypeError(ERROR_MESSAGE + target);
1563
- }
1564
- var args = slice.call(arguments, 1);
1565
-
1566
- var bound;
1567
- var binder = function () {
1568
- if (this instanceof bound) {
1569
- var result = target.apply(
1570
- this,
1571
- args.concat(slice.call(arguments))
1572
- );
1573
- if (Object(result) === result) {
1574
- return result;
1575
- }
1576
- return this;
1577
- } else {
1578
- return target.apply(
1579
- that,
1580
- args.concat(slice.call(arguments))
1581
- );
1582
- }
1583
- };
1584
-
1585
- var boundLength = Math.max(0, target.length - args.length);
1586
- var boundArgs = [];
1587
- for (var i = 0; i < boundLength; i++) {
1588
- boundArgs.push('$' + i);
1589
- }
1590
-
1591
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1592
-
1593
- if (target.prototype) {
1594
- var Empty = function Empty() {};
1595
- Empty.prototype = target.prototype;
1596
- bound.prototype = new Empty();
1597
- Empty.prototype = null;
1598
- }
1599
-
1600
- return bound;
1601
- };
1602
-
1603
- var functionBind = Function.prototype.bind || implementation$2;
1604
-
1605
1552
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1606
1553
  var shams = function hasSymbols() {
1607
1554
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
@@ -1625,7 +1572,7 @@ var shams = function hasSymbols() {
1625
1572
 
1626
1573
  var symVal = 42;
1627
1574
  obj[sym] = symVal;
1628
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
1575
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1629
1576
  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1630
1577
 
1631
1578
  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
@@ -1643,10 +1590,10 @@ var shams = function hasSymbols() {
1643
1590
  return true;
1644
1591
  };
1645
1592
 
1646
- var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1593
+ var origSymbol = _commonjsHelpers.commonjsGlobal.Symbol;
1647
1594
 
1648
1595
 
1649
- var hasSymbols$3 = function hasNativeSymbols() {
1596
+ var hasSymbols$1 = function hasNativeSymbols() {
1650
1597
  if (typeof origSymbol !== 'function') { return false; }
1651
1598
  if (typeof Symbol !== 'function') { return false; }
1652
1599
  if (typeof origSymbol('foo') !== 'symbol') { return false; }
@@ -1655,34 +1602,79 @@ var hasSymbols$3 = function hasNativeSymbols() {
1655
1602
  return shams();
1656
1603
  };
1657
1604
 
1658
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1605
+ /* eslint no-invalid-this: 1 */
1659
1606
 
1660
- var undefined$1;
1607
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1608
+ var slice$1 = Array.prototype.slice;
1609
+ var toStr$3 = Object.prototype.toString;
1610
+ var funcType = '[object Function]';
1661
1611
 
1662
- var $SyntaxError$1 = SyntaxError;
1663
- var $Function = Function;
1664
- var $TypeError$5 = TypeError;
1612
+ var implementation$1 = function bind(that) {
1613
+ var target = this;
1614
+ if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1615
+ throw new TypeError(ERROR_MESSAGE + target);
1616
+ }
1617
+ var args = slice$1.call(arguments, 1);
1665
1618
 
1666
- // eslint-disable-next-line consistent-return
1667
- var getEvalledConstructor = function (expressionSyntax) {
1668
- try {
1669
- return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1670
- } catch (e) {}
1619
+ var bound;
1620
+ var binder = function () {
1621
+ if (this instanceof bound) {
1622
+ var result = target.apply(
1623
+ this,
1624
+ args.concat(slice$1.call(arguments))
1625
+ );
1626
+ if (Object(result) === result) {
1627
+ return result;
1628
+ }
1629
+ return this;
1630
+ } else {
1631
+ return target.apply(
1632
+ that,
1633
+ args.concat(slice$1.call(arguments))
1634
+ );
1635
+ }
1636
+ };
1637
+
1638
+ var boundLength = Math.max(0, target.length - args.length);
1639
+ var boundArgs = [];
1640
+ for (var i = 0; i < boundLength; i++) {
1641
+ boundArgs.push('$' + i);
1642
+ }
1643
+
1644
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1645
+
1646
+ if (target.prototype) {
1647
+ var Empty = function Empty() {};
1648
+ Empty.prototype = target.prototype;
1649
+ bound.prototype = new Empty();
1650
+ Empty.prototype = null;
1651
+ }
1652
+
1653
+ return bound;
1671
1654
  };
1672
1655
 
1673
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
1674
- if ($gOPD$2) {
1656
+ var functionBind = Function.prototype.bind || implementation$1;
1657
+
1658
+ /* globals
1659
+ Atomics,
1660
+ SharedArrayBuffer,
1661
+ */
1662
+
1663
+ var undefined$1;
1664
+
1665
+ var $TypeError = TypeError;
1666
+
1667
+ var $gOPD = Object.getOwnPropertyDescriptor;
1668
+ if ($gOPD) {
1675
1669
  try {
1676
- $gOPD$2({}, '');
1670
+ $gOPD({}, '');
1677
1671
  } catch (e) {
1678
- $gOPD$2 = null; // this is IE 8, which has a broken gOPD
1672
+ $gOPD = null; // this is IE 8, which has a broken gOPD
1679
1673
  }
1680
1674
  }
1681
1675
 
1682
- var throwTypeError = function () {
1683
- throw new $TypeError$5();
1684
- };
1685
- var ThrowTypeError = $gOPD$2
1676
+ var throwTypeError = function () { throw new $TypeError(); };
1677
+ var ThrowTypeError = $gOPD
1686
1678
  ? (function () {
1687
1679
  try {
1688
1680
  // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
@@ -1691,7 +1683,7 @@ var ThrowTypeError = $gOPD$2
1691
1683
  } catch (calleeThrows) {
1692
1684
  try {
1693
1685
  // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1694
- return $gOPD$2(arguments, 'callee').get;
1686
+ return $gOPD(arguments, 'callee').get;
1695
1687
  } catch (gOPDthrows) {
1696
1688
  return throwTypeError;
1697
1689
  }
@@ -1699,354 +1691,206 @@ var ThrowTypeError = $gOPD$2
1699
1691
  }())
1700
1692
  : throwTypeError;
1701
1693
 
1702
- var hasSymbols$2 = hasSymbols$3();
1694
+ var hasSymbols$2 = hasSymbols$1();
1703
1695
 
1704
1696
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1705
-
1706
- var needsEval = {};
1697
+ var generatorFunction = undefined$1;
1698
+ var asyncFunction = undefined$1;
1699
+ var asyncGenFunction = undefined$1;
1707
1700
 
1708
1701
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1709
1702
 
1710
1703
  var INTRINSICS = {
1711
- '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1712
1704
  '%Array%': Array,
1713
1705
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1706
+ '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1714
1707
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1708
+ '%ArrayPrototype%': Array.prototype,
1709
+ '%ArrayProto_entries%': Array.prototype.entries,
1710
+ '%ArrayProto_forEach%': Array.prototype.forEach,
1711
+ '%ArrayProto_keys%': Array.prototype.keys,
1712
+ '%ArrayProto_values%': Array.prototype.values,
1715
1713
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1716
- '%AsyncFunction%': needsEval,
1717
- '%AsyncGenerator%': needsEval,
1718
- '%AsyncGeneratorFunction%': needsEval,
1719
- '%AsyncIteratorPrototype%': needsEval,
1714
+ '%AsyncFunction%': asyncFunction,
1715
+ '%AsyncFunctionPrototype%': undefined$1,
1716
+ '%AsyncGenerator%': undefined$1,
1717
+ '%AsyncGeneratorFunction%': asyncGenFunction,
1718
+ '%AsyncGeneratorPrototype%': undefined$1,
1719
+ '%AsyncIteratorPrototype%': undefined$1,
1720
1720
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1721
- '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1722
1721
  '%Boolean%': Boolean,
1722
+ '%BooleanPrototype%': Boolean.prototype,
1723
1723
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1724
+ '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1724
1725
  '%Date%': Date,
1726
+ '%DatePrototype%': Date.prototype,
1725
1727
  '%decodeURI%': decodeURI,
1726
1728
  '%decodeURIComponent%': decodeURIComponent,
1727
1729
  '%encodeURI%': encodeURI,
1728
1730
  '%encodeURIComponent%': encodeURIComponent,
1729
1731
  '%Error%': Error,
1732
+ '%ErrorPrototype%': Error.prototype,
1730
1733
  '%eval%': eval, // eslint-disable-line no-eval
1731
1734
  '%EvalError%': EvalError,
1735
+ '%EvalErrorPrototype%': EvalError.prototype,
1732
1736
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1737
+ '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1733
1738
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1734
- '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1735
- '%Function%': $Function,
1736
- '%GeneratorFunction%': needsEval,
1739
+ '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1740
+ '%Function%': Function,
1741
+ '%FunctionPrototype%': Function.prototype,
1742
+ '%Generator%': undefined$1,
1743
+ '%GeneratorFunction%': generatorFunction,
1744
+ '%GeneratorPrototype%': undefined$1,
1737
1745
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1746
+ '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1738
1747
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1748
+ '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1739
1749
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1750
+ '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1740
1751
  '%isFinite%': isFinite,
1741
1752
  '%isNaN%': isNaN,
1742
1753
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1743
1754
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1755
+ '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1744
1756
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1745
1757
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1758
+ '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1746
1759
  '%Math%': Math,
1747
1760
  '%Number%': Number,
1761
+ '%NumberPrototype%': Number.prototype,
1748
1762
  '%Object%': Object,
1763
+ '%ObjectPrototype%': Object.prototype,
1764
+ '%ObjProto_toString%': Object.prototype.toString,
1765
+ '%ObjProto_valueOf%': Object.prototype.valueOf,
1749
1766
  '%parseFloat%': parseFloat,
1750
1767
  '%parseInt%': parseInt,
1751
1768
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1769
+ '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1770
+ '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1771
+ '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1772
+ '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1773
+ '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1752
1774
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1753
1775
  '%RangeError%': RangeError,
1776
+ '%RangeErrorPrototype%': RangeError.prototype,
1754
1777
  '%ReferenceError%': ReferenceError,
1778
+ '%ReferenceErrorPrototype%': ReferenceError.prototype,
1755
1779
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1756
1780
  '%RegExp%': RegExp,
1781
+ '%RegExpPrototype%': RegExp.prototype,
1757
1782
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1758
1783
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1784
+ '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1759
1785
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1786
+ '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1760
1787
  '%String%': String,
1761
1788
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1789
+ '%StringPrototype%': String.prototype,
1762
1790
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1763
- '%SyntaxError%': $SyntaxError$1,
1791
+ '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1792
+ '%SyntaxError%': SyntaxError,
1793
+ '%SyntaxErrorPrototype%': SyntaxError.prototype,
1764
1794
  '%ThrowTypeError%': ThrowTypeError,
1765
1795
  '%TypedArray%': TypedArray,
1766
- '%TypeError%': $TypeError$5,
1796
+ '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1797
+ '%TypeError%': $TypeError,
1798
+ '%TypeErrorPrototype%': $TypeError.prototype,
1767
1799
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1800
+ '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1768
1801
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1802
+ '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1769
1803
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1804
+ '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1770
1805
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1806
+ '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1771
1807
  '%URIError%': URIError,
1808
+ '%URIErrorPrototype%': URIError.prototype,
1772
1809
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1773
- '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1774
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1810
+ '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1811
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1812
+ '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1775
1813
  };
1776
1814
 
1777
- var doEval = function doEval(name) {
1778
- var value;
1779
- if (name === '%AsyncFunction%') {
1780
- value = getEvalledConstructor('async function () {}');
1781
- } else if (name === '%GeneratorFunction%') {
1782
- value = getEvalledConstructor('function* () {}');
1783
- } else if (name === '%AsyncGeneratorFunction%') {
1784
- value = getEvalledConstructor('async function* () {}');
1785
- } else if (name === '%AsyncGenerator%') {
1786
- var fn = doEval('%AsyncGeneratorFunction%');
1787
- if (fn) {
1788
- value = fn.prototype;
1789
- }
1790
- } else if (name === '%AsyncIteratorPrototype%') {
1791
- var gen = doEval('%AsyncGenerator%');
1792
- if (gen) {
1793
- value = getProto(gen.prototype);
1794
- }
1795
- }
1796
-
1797
- INTRINSICS[name] = value;
1798
-
1799
- return value;
1800
- };
1801
-
1802
- var LEGACY_ALIASES = {
1803
- '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1804
- '%ArrayPrototype%': ['Array', 'prototype'],
1805
- '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1806
- '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1807
- '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1808
- '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1809
- '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1810
- '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1811
- '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1812
- '%BooleanPrototype%': ['Boolean', 'prototype'],
1813
- '%DataViewPrototype%': ['DataView', 'prototype'],
1814
- '%DatePrototype%': ['Date', 'prototype'],
1815
- '%ErrorPrototype%': ['Error', 'prototype'],
1816
- '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1817
- '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1818
- '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1819
- '%FunctionPrototype%': ['Function', 'prototype'],
1820
- '%Generator%': ['GeneratorFunction', 'prototype'],
1821
- '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1822
- '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1823
- '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1824
- '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1825
- '%JSONParse%': ['JSON', 'parse'],
1826
- '%JSONStringify%': ['JSON', 'stringify'],
1827
- '%MapPrototype%': ['Map', 'prototype'],
1828
- '%NumberPrototype%': ['Number', 'prototype'],
1829
- '%ObjectPrototype%': ['Object', 'prototype'],
1830
- '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1831
- '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1832
- '%PromisePrototype%': ['Promise', 'prototype'],
1833
- '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1834
- '%Promise_all%': ['Promise', 'all'],
1835
- '%Promise_reject%': ['Promise', 'reject'],
1836
- '%Promise_resolve%': ['Promise', 'resolve'],
1837
- '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1838
- '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1839
- '%RegExpPrototype%': ['RegExp', 'prototype'],
1840
- '%SetPrototype%': ['Set', 'prototype'],
1841
- '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1842
- '%StringPrototype%': ['String', 'prototype'],
1843
- '%SymbolPrototype%': ['Symbol', 'prototype'],
1844
- '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1845
- '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1846
- '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1847
- '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1848
- '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1849
- '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1850
- '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1851
- '%URIErrorPrototype%': ['URIError', 'prototype'],
1852
- '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1853
- '%WeakSetPrototype%': ['WeakSet', 'prototype']
1854
- };
1855
1815
 
1856
-
1857
-
1858
- var $concat$2 = functionBind.call(Function.call, Array.prototype.concat);
1859
- var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1860
1816
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1861
- var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1862
1817
 
1863
1818
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1864
1819
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1865
1820
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1866
1821
  var stringToPath = function stringToPath(string) {
1867
- var first = $strSlice(string, 0, 1);
1868
- var last = $strSlice(string, -1);
1869
- if (first === '%' && last !== '%') {
1870
- throw new $SyntaxError$1('invalid intrinsic syntax, expected closing `%`');
1871
- } else if (last === '%' && first !== '%') {
1872
- throw new $SyntaxError$1('invalid intrinsic syntax, expected opening `%`');
1873
- }
1874
1822
  var result = [];
1875
1823
  $replace(string, rePropName, function (match, number, quote, subString) {
1876
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1824
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1877
1825
  });
1878
1826
  return result;
1879
1827
  };
1880
1828
  /* end adaptation */
1881
1829
 
1882
1830
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1883
- var intrinsicName = name;
1884
- var alias;
1885
- if (src(LEGACY_ALIASES, intrinsicName)) {
1886
- alias = LEGACY_ALIASES[intrinsicName];
1887
- intrinsicName = '%' + alias[0] + '%';
1831
+ if (!(name in INTRINSICS)) {
1832
+ throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1888
1833
  }
1889
1834
 
1890
- if (src(INTRINSICS, intrinsicName)) {
1891
- var value = INTRINSICS[intrinsicName];
1892
- if (value === needsEval) {
1893
- value = doEval(intrinsicName);
1894
- }
1895
- if (typeof value === 'undefined' && !allowMissing) {
1896
- throw new $TypeError$5('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1897
- }
1898
-
1899
- return {
1900
- alias: alias,
1901
- name: intrinsicName,
1902
- value: value
1903
- };
1835
+ // istanbul ignore if // hopefully this is impossible to test :-)
1836
+ if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
1837
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1904
1838
  }
1905
1839
 
1906
- throw new $SyntaxError$1('intrinsic ' + name + ' does not exist!');
1840
+ return INTRINSICS[name];
1907
1841
  };
1908
1842
 
1909
- var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1843
+ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1910
1844
  if (typeof name !== 'string' || name.length === 0) {
1911
- throw new $TypeError$5('intrinsic name must be a non-empty string');
1845
+ throw new TypeError('intrinsic name must be a non-empty string');
1912
1846
  }
1913
1847
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1914
- throw new $TypeError$5('"allowMissing" argument must be a boolean');
1848
+ throw new TypeError('"allowMissing" argument must be a boolean');
1915
1849
  }
1916
1850
 
1917
1851
  var parts = stringToPath(name);
1918
- var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1919
-
1920
- var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1921
- var intrinsicRealName = intrinsic.name;
1922
- var value = intrinsic.value;
1923
- var skipFurtherCaching = false;
1924
-
1925
- var alias = intrinsic.alias;
1926
- if (alias) {
1927
- intrinsicBaseName = alias[0];
1928
- $spliceApply(parts, $concat$2([0, 1], alias));
1929
- }
1930
-
1931
- for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1932
- var part = parts[i];
1933
- var first = $strSlice(part, 0, 1);
1934
- var last = $strSlice(part, -1);
1935
- if (
1936
- (
1937
- (first === '"' || first === "'" || first === '`')
1938
- || (last === '"' || last === "'" || last === '`')
1939
- )
1940
- && first !== last
1941
- ) {
1942
- throw new $SyntaxError$1('property names with quotes must have matching quotes');
1943
- }
1944
- if (part === 'constructor' || !isOwn) {
1945
- skipFurtherCaching = true;
1946
- }
1947
1852
 
1948
- intrinsicBaseName += '.' + part;
1949
- intrinsicRealName = '%' + intrinsicBaseName + '%';
1950
-
1951
- if (src(INTRINSICS, intrinsicRealName)) {
1952
- value = INTRINSICS[intrinsicRealName];
1953
- } else if (value != null) {
1954
- if (!(part in value)) {
1955
- if (!allowMissing) {
1956
- throw new $TypeError$5('base intrinsic for ' + name + ' exists, but the property is not available.');
1957
- }
1958
- return void undefined$1;
1959
- }
1960
- if ($gOPD$2 && (i + 1) >= parts.length) {
1961
- var desc = $gOPD$2(value, part);
1962
- isOwn = !!desc;
1963
-
1964
- // By convention, when a data property is converted to an accessor
1965
- // property to emulate a data property that does not suffer from
1966
- // the override mistake, that accessor's getter is marked with
1967
- // an `originalValue` property. Here, when we detect this, we
1968
- // uphold the illusion by pretending to see that original data
1969
- // property, i.e., returning the value rather than the getter
1970
- // itself.
1971
- if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1972
- value = desc.get;
1973
- } else {
1974
- value = value[part];
1853
+ var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
1854
+ for (var i = 1; i < parts.length; i += 1) {
1855
+ if (value != null) {
1856
+ if ($gOPD && (i + 1) >= parts.length) {
1857
+ var desc = $gOPD(value, parts[i]);
1858
+ if (!allowMissing && !(parts[i] in value)) {
1859
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1975
1860
  }
1861
+ value = desc ? (desc.get || desc.value) : value[parts[i]];
1976
1862
  } else {
1977
- isOwn = src(value, part);
1978
- value = value[part];
1979
- }
1980
-
1981
- if (isOwn && !skipFurtherCaching) {
1982
- INTRINSICS[intrinsicRealName] = value;
1863
+ value = value[parts[i]];
1983
1864
  }
1984
1865
  }
1985
1866
  }
1986
1867
  return value;
1987
1868
  };
1988
1869
 
1989
- var callBind = _commonjsHelpers.createCommonjsModule(function (module) {
1990
-
1991
-
1992
-
1993
-
1994
- var $apply = getIntrinsic('%Function.prototype.apply%');
1995
- var $call = getIntrinsic('%Function.prototype.call%');
1996
- var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1870
+ var $apply = GetIntrinsic('%Function.prototype.apply%');
1871
+ var $call = GetIntrinsic('%Function.prototype.call%');
1872
+ var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1997
1873
 
1998
- var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1999
- var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2000
- var $max = getIntrinsic('%Math.max%');
2001
-
2002
- if ($defineProperty) {
2003
- try {
2004
- $defineProperty({}, 'a', { value: 1 });
2005
- } catch (e) {
2006
- // IE 8 has a broken defineProperty
2007
- $defineProperty = null;
2008
- }
2009
- }
2010
-
2011
- module.exports = function callBind(originalFunction) {
2012
- var func = $reflectApply(functionBind, $call, arguments);
2013
- if ($gOPD && $defineProperty) {
2014
- var desc = $gOPD(func, 'length');
2015
- if (desc.configurable) {
2016
- // original length, plus the receiver, minus any additional arguments (after the receiver)
2017
- $defineProperty(
2018
- func,
2019
- 'length',
2020
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2021
- );
2022
- }
2023
- }
2024
- return func;
1874
+ var callBind = function callBind() {
1875
+ return $reflectApply(functionBind, $call, arguments);
2025
1876
  };
2026
1877
 
2027
- var applyBind = function applyBind() {
1878
+ var apply = function applyBind() {
2028
1879
  return $reflectApply(functionBind, $apply, arguments);
2029
1880
  };
1881
+ callBind.apply = apply;
2030
1882
 
2031
- if ($defineProperty) {
2032
- $defineProperty(module.exports, 'apply', { value: applyBind });
2033
- } else {
2034
- module.exports.apply = applyBind;
2035
- }
2036
- });
2037
- callBind.apply;
2038
-
2039
- var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
1883
+ var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2040
1884
 
2041
- var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2042
- var intrinsic = getIntrinsic(name, !!allowMissing);
2043
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1885
+ var callBound = function callBoundIntrinsic(name, allowMissing) {
1886
+ var intrinsic = GetIntrinsic(name, !!allowMissing);
1887
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2044
1888
  return callBind(intrinsic);
2045
1889
  }
2046
1890
  return intrinsic;
2047
1891
  };
2048
1892
 
2049
- var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1893
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2050
1894
 
2051
1895
  if ($defineProperty) {
2052
1896
  try {
@@ -2059,7 +1903,7 @@ if ($defineProperty) {
2059
1903
 
2060
1904
 
2061
1905
 
2062
- var $isEnumerable$1 = callBound$1('Object.prototype.propertyIsEnumerable');
1906
+ var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
2063
1907
 
2064
1908
  // eslint-disable-next-line max-params
2065
1909
  var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
@@ -2073,7 +1917,7 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
2073
1917
  }
2074
1918
 
2075
1919
  // fallback for ES3
2076
- if (P in O && $isEnumerable$1(O, P) !== !!desc['[[Enumerable]]']) {
1920
+ if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {
2077
1921
  // a non-enumerable existing property
2078
1922
  return false;
2079
1923
  }
@@ -2088,13 +1932,15 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
2088
1932
  return true;
2089
1933
  };
2090
1934
 
2091
- var $TypeError$4 = getIntrinsic('%TypeError%');
2092
- var $SyntaxError = getIntrinsic('%SyntaxError%');
1935
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1936
+
1937
+ var $TypeError$1 = GetIntrinsic('%TypeError%');
1938
+ var $SyntaxError = GetIntrinsic('%SyntaxError%');
2093
1939
 
2094
1940
 
2095
1941
 
2096
1942
  var predicates = {
2097
- // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
1943
+ // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type
2098
1944
  'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
2099
1945
  if (Type(Desc) !== 'Object') {
2100
1946
  return false;
@@ -2117,7 +1963,7 @@ var predicates = {
2117
1963
  var isData = src(Desc, '[[Value]]');
2118
1964
  var IsAccessor = src(Desc, '[[Get]]') || src(Desc, '[[Set]]');
2119
1965
  if (isData && IsAccessor) {
2120
- throw new $TypeError$4('Property Descriptors may not be both accessor and data descriptors');
1966
+ throw new $TypeError$1('Property Descriptors may not be both accessor and data descriptors');
2121
1967
  }
2122
1968
  return true;
2123
1969
  }
@@ -2129,13 +1975,13 @@ var assertRecord = function assertRecord(Type, recordType, argumentName, value)
2129
1975
  throw new $SyntaxError('unknown record type: ' + recordType);
2130
1976
  }
2131
1977
  if (!predicate(Type, value)) {
2132
- throw new $TypeError$4(argumentName + ' must be a ' + recordType);
1978
+ throw new $TypeError$1(argumentName + ' must be a ' + recordType);
2133
1979
  }
2134
1980
  };
2135
1981
 
2136
- // https://262.ecma-international.org/5.1/#sec-8
1982
+ // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2137
1983
 
2138
- var Type$1 = function Type(x) {
1984
+ var Type = function Type(x) {
2139
1985
  if (x === null) {
2140
1986
  return 'Null';
2141
1987
  }
@@ -2156,26 +2002,23 @@ var Type$1 = function Type(x) {
2156
2002
  }
2157
2003
  };
2158
2004
 
2159
- // https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
2005
+ // https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values
2160
2006
 
2161
- var Type = function Type(x) {
2007
+ var Type$1 = function Type$1(x) {
2162
2008
  if (typeof x === 'symbol') {
2163
2009
  return 'Symbol';
2164
2010
  }
2165
- if (typeof x === 'bigint') {
2166
- return 'BigInt';
2167
- }
2168
- return Type$1(x);
2011
+ return Type(x);
2169
2012
  };
2170
2013
 
2171
- // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2014
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2172
2015
 
2173
2016
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2174
2017
  if (typeof Desc === 'undefined') {
2175
2018
  return Desc;
2176
2019
  }
2177
2020
 
2178
- assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2021
+ assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2179
2022
 
2180
2023
  var obj = {};
2181
2024
  if ('[[Value]]' in Desc) {
@@ -2199,7 +2042,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2199
2042
  return obj;
2200
2043
  };
2201
2044
 
2202
- var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2045
+ var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2203
2046
  if ($gOPD$1) {
2204
2047
  try {
2205
2048
  $gOPD$1([], 'length');
@@ -2211,33 +2054,33 @@ if ($gOPD$1) {
2211
2054
 
2212
2055
  var getOwnPropertyDescriptor = $gOPD$1;
2213
2056
 
2214
- var $Array = getIntrinsic('%Array%');
2057
+ var $Array = GetIntrinsic('%Array%');
2215
2058
 
2216
2059
  // eslint-disable-next-line global-require
2217
- var toStr$1 = !$Array.isArray && callBound$1('Object.prototype.toString');
2060
+ var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2218
2061
 
2219
- // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2062
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2220
2063
 
2221
2064
  var IsArray = $Array.isArray || function IsArray(argument) {
2222
- return toStr$1(argument) === '[object Array]';
2065
+ return toStr$4(argument) === '[object Array]';
2223
2066
  };
2224
2067
 
2225
- // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2068
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2226
2069
 
2227
2070
  var IsPropertyKey = function IsPropertyKey(argument) {
2228
2071
  return typeof argument === 'string' || typeof argument === 'symbol';
2229
2072
  };
2230
2073
 
2231
- var hasSymbols$1 = hasSymbols$3();
2232
- var hasToStringTag$1 = hasSymbols$1 && typeof Symbol.toStringTag === 'symbol';
2233
- var has;
2234
- var $exec;
2074
+ var hasSymbols$3 = hasSymbols$1();
2075
+ var hasToStringTag = hasSymbols$3 && typeof Symbol.toStringTag === 'symbol';
2076
+ var hasOwnProperty;
2077
+ var regexExec;
2235
2078
  var isRegexMarker;
2236
2079
  var badStringifier;
2237
2080
 
2238
- if (hasToStringTag$1) {
2239
- has = callBound$1('Object.prototype.hasOwnProperty');
2240
- $exec = callBound$1('RegExp.prototype.exec');
2081
+ if (hasToStringTag) {
2082
+ hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty);
2083
+ regexExec = Function.call.bind(RegExp.prototype.exec);
2241
2084
  isRegexMarker = {};
2242
2085
 
2243
2086
  var throwRegexMarker = function () {
@@ -2253,11 +2096,11 @@ if (hasToStringTag$1) {
2253
2096
  }
2254
2097
  }
2255
2098
 
2256
- var $toString = callBound$1('Object.prototype.toString');
2099
+ var toStr$5 = Object.prototype.toString;
2257
2100
  var gOPD = Object.getOwnPropertyDescriptor;
2258
2101
  var regexClass = '[object RegExp]';
2259
2102
 
2260
- var isRegex = hasToStringTag$1
2103
+ var isRegex = hasToStringTag
2261
2104
  // eslint-disable-next-line consistent-return
2262
2105
  ? function isRegex(value) {
2263
2106
  if (!value || typeof value !== 'object') {
@@ -2265,13 +2108,13 @@ var isRegex = hasToStringTag$1
2265
2108
  }
2266
2109
 
2267
2110
  var descriptor = gOPD(value, 'lastIndex');
2268
- var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
2111
+ var hasLastIndexDataProperty = descriptor && hasOwnProperty(descriptor, 'value');
2269
2112
  if (!hasLastIndexDataProperty) {
2270
2113
  return false;
2271
2114
  }
2272
2115
 
2273
2116
  try {
2274
- $exec(value, badStringifier);
2117
+ regexExec(value, badStringifier);
2275
2118
  } catch (e) {
2276
2119
  return e === isRegexMarker;
2277
2120
  }
@@ -2282,14 +2125,14 @@ var isRegex = hasToStringTag$1
2282
2125
  return false;
2283
2126
  }
2284
2127
 
2285
- return $toString(value) === regexClass;
2128
+ return toStr$5.call(value) === regexClass;
2286
2129
  };
2287
2130
 
2288
- // http://262.ecma-international.org/5.1/#sec-9.2
2131
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2289
2132
 
2290
2133
  var ToBoolean = function ToBoolean(value) { return !!value; };
2291
2134
 
2292
- var $match = getIntrinsic('%Symbol.match%', true);
2135
+ var $match = GetIntrinsic('%Symbol.match%', true);
2293
2136
 
2294
2137
 
2295
2138
 
@@ -2322,12 +2165,8 @@ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'func
2322
2165
  }
2323
2166
  });
2324
2167
  isCallableMarker = {};
2325
- // eslint-disable-next-line no-throw-literal
2326
- reflectApply(function () { throw 42; }, null, badArrayLike);
2327
2168
  } catch (_) {
2328
- if (_ !== isCallableMarker) {
2329
- reflectApply = null;
2330
- }
2169
+ reflectApply = null;
2331
2170
  }
2332
2171
  } else {
2333
2172
  reflectApply = null;
@@ -2352,16 +2191,13 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2352
2191
  return false;
2353
2192
  }
2354
2193
  };
2355
- var toStr = Object.prototype.toString;
2194
+ var toStr$6 = Object.prototype.toString;
2356
2195
  var fnClass = '[object Function]';
2357
2196
  var genClass = '[object GeneratorFunction]';
2358
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2359
- /* globals document: false */
2360
- var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2197
+ var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2361
2198
 
2362
2199
  var isCallable = reflectApply
2363
2200
  ? function isCallable(value) {
2364
- if (value === documentDotAll) { return true; }
2365
2201
  if (!value) { return false; }
2366
2202
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2367
2203
  if (typeof value === 'function' && !value.prototype) { return true; }
@@ -2373,31 +2209,30 @@ var isCallable = reflectApply
2373
2209
  return !isES6ClassFn(value);
2374
2210
  }
2375
2211
  : function isCallable(value) {
2376
- if (value === documentDotAll) { return true; }
2377
2212
  if (!value) { return false; }
2378
2213
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2379
2214
  if (typeof value === 'function' && !value.prototype) { return true; }
2380
- if (hasToStringTag) { return tryFunctionObject(value); }
2215
+ if (hasToStringTag$1) { return tryFunctionObject(value); }
2381
2216
  if (isES6ClassFn(value)) { return false; }
2382
- var strClass = toStr.call(value);
2217
+ var strClass = toStr$6.call(value);
2383
2218
  return strClass === fnClass || strClass === genClass;
2384
2219
  };
2385
2220
 
2386
- // http://262.ecma-international.org/5.1/#sec-9.11
2221
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2387
2222
 
2388
2223
  var IsCallable = isCallable;
2389
2224
 
2390
- var $TypeError$3 = getIntrinsic('%TypeError%');
2225
+ var $TypeError$2 = GetIntrinsic('%TypeError%');
2391
2226
 
2392
2227
 
2393
2228
 
2394
2229
 
2395
2230
 
2396
- // https://262.ecma-international.org/5.1/#sec-8.10.5
2231
+ // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
2397
2232
 
2398
2233
  var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2399
- if (Type(Obj) !== 'Object') {
2400
- throw new $TypeError$3('ToPropertyDescriptor requires an object');
2234
+ if (Type$1(Obj) !== 'Object') {
2235
+ throw new $TypeError$2('ToPropertyDescriptor requires an object');
2401
2236
  }
2402
2237
 
2403
2238
  var desc = {};
@@ -2416,29 +2251,29 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2416
2251
  if (src(Obj, 'get')) {
2417
2252
  var getter = Obj.get;
2418
2253
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2419
- throw new $TypeError$3('getter must be a function');
2254
+ throw new TypeError('getter must be a function');
2420
2255
  }
2421
2256
  desc['[[Get]]'] = getter;
2422
2257
  }
2423
2258
  if (src(Obj, 'set')) {
2424
2259
  var setter = Obj.set;
2425
2260
  if (typeof setter !== 'undefined' && !IsCallable(setter)) {
2426
- throw new $TypeError$3('setter must be a function');
2261
+ throw new $TypeError$2('setter must be a function');
2427
2262
  }
2428
2263
  desc['[[Set]]'] = setter;
2429
2264
  }
2430
2265
 
2431
2266
  if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
2432
- throw new $TypeError$3('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2267
+ throw new $TypeError$2('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2433
2268
  }
2434
2269
  return desc;
2435
2270
  };
2436
2271
 
2437
- var $TypeError$2 = getIntrinsic('%TypeError%');
2272
+ var $TypeError$3 = GetIntrinsic('%TypeError%');
2438
2273
 
2439
2274
 
2440
2275
 
2441
- var $isEnumerable = callBound$1('Object.prototype.propertyIsEnumerable');
2276
+ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2442
2277
 
2443
2278
 
2444
2279
 
@@ -2448,14 +2283,14 @@ var $isEnumerable = callBound$1('Object.prototype.propertyIsEnumerable');
2448
2283
 
2449
2284
 
2450
2285
 
2451
- // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2286
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2452
2287
 
2453
2288
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2454
- if (Type(O) !== 'Object') {
2455
- throw new $TypeError$2('Assertion failed: O must be an Object');
2289
+ if (Type$1(O) !== 'Object') {
2290
+ throw new $TypeError$3('Assertion failed: O must be an Object');
2456
2291
  }
2457
2292
  if (!IsPropertyKey(P)) {
2458
- throw new $TypeError$2('Assertion failed: P must be a Property Key');
2293
+ throw new $TypeError$3('Assertion failed: P must be a Property Key');
2459
2294
  }
2460
2295
  if (!src(O, P)) {
2461
2296
  return void 0;
@@ -2466,7 +2301,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2466
2301
  var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
2467
2302
  return {
2468
2303
  '[[Configurable]]': !(arrayLength || regexLastIndex),
2469
- '[[Enumerable]]': $isEnumerable(O, P),
2304
+ '[[Enumerable]]': $isEnumerable$1(O, P),
2470
2305
  '[[Value]]': O[P],
2471
2306
  '[[Writable]]': true
2472
2307
  };
@@ -2474,14 +2309,14 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2474
2309
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2475
2310
  };
2476
2311
 
2477
- // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2312
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2478
2313
 
2479
2314
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2480
2315
  if (typeof Desc === 'undefined') {
2481
2316
  return false;
2482
2317
  }
2483
2318
 
2484
- assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2319
+ assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2485
2320
 
2486
2321
  if (!src(Desc, '[[Value]]') && !src(Desc, '[[Writable]]')) {
2487
2322
  return false;
@@ -2494,14 +2329,14 @@ var isPrimitive = function isPrimitive(value) {
2494
2329
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2495
2330
  };
2496
2331
 
2497
- var $Object$1 = getIntrinsic('%Object%');
2332
+ var $Object = GetIntrinsic('%Object%');
2498
2333
 
2499
2334
 
2500
2335
 
2501
- var $preventExtensions = $Object$1.preventExtensions;
2502
- var $isExtensible = $Object$1.isExtensible;
2336
+ var $preventExtensions = $Object.preventExtensions;
2337
+ var $isExtensible = $Object.isExtensible;
2503
2338
 
2504
- // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2339
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2505
2340
 
2506
2341
  var IsExtensible = $preventExtensions
2507
2342
  ? function IsExtensible(obj) {
@@ -2515,7 +2350,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2515
2350
  return a !== a;
2516
2351
  };
2517
2352
 
2518
- // http://262.ecma-international.org/5.1/#sec-9.12
2353
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2519
2354
 
2520
2355
  var SameValue = function SameValue(x, y) {
2521
2356
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2525,7 +2360,7 @@ var SameValue = function SameValue(x, y) {
2525
2360
  return _isNaN(x) && _isNaN(y);
2526
2361
  };
2527
2362
 
2528
- var $TypeError$1 = getIntrinsic('%TypeError%');
2363
+ var $TypeError$4 = GetIntrinsic('%TypeError%');
2529
2364
 
2530
2365
 
2531
2366
 
@@ -2537,14 +2372,14 @@ var $TypeError$1 = getIntrinsic('%TypeError%');
2537
2372
 
2538
2373
 
2539
2374
 
2540
- // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2375
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2541
2376
 
2542
2377
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2543
- if (Type(O) !== 'Object') {
2544
- throw new $TypeError$1('Assertion failed: Type(O) is not Object');
2378
+ if (Type$1(O) !== 'Object') {
2379
+ throw new $TypeError$4('Assertion failed: Type(O) is not Object');
2545
2380
  }
2546
2381
  if (!IsPropertyKey(P)) {
2547
- throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');
2382
+ throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2548
2383
  }
2549
2384
  var oldDesc = OrdinaryGetOwnProperty(O, P);
2550
2385
  var extensible = !oldDesc || IsExtensible(O);
@@ -2567,44 +2402,44 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2567
2402
  );
2568
2403
  };
2569
2404
 
2570
- var $TypeError = getIntrinsic('%TypeError%');
2405
+ var $TypeError$5 = GetIntrinsic('%TypeError%');
2571
2406
 
2572
- // http://262.ecma-international.org/5.1/#sec-9.10
2407
+ // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2573
2408
 
2574
2409
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2575
2410
  if (value == null) {
2576
- throw new $TypeError(optMessage || ('Cannot call method on ' + value));
2411
+ throw new $TypeError$5(optMessage || ('Cannot call method on ' + value));
2577
2412
  }
2578
2413
  return value;
2579
2414
  };
2580
2415
 
2581
2416
  var RequireObjectCoercible = CheckObjectCoercible;
2582
2417
 
2583
- var $Object = getIntrinsic('%Object%');
2418
+ var $Object$1 = GetIntrinsic('%Object%');
2584
2419
 
2585
2420
 
2586
2421
 
2587
- // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2422
+ // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2588
2423
 
2589
2424
  var ToObject = function ToObject(value) {
2590
2425
  RequireObjectCoercible(value);
2591
- return $Object(value);
2426
+ return $Object$1(value);
2592
2427
  };
2593
2428
 
2594
- var $gOPD = Object.getOwnPropertyDescriptor;
2429
+ var $gOPD$2 = Object.getOwnPropertyDescriptor;
2595
2430
  var $getOwnNames = Object.getOwnPropertyNames;
2596
2431
  var $getSymbols = Object.getOwnPropertySymbols;
2597
- var $concat$1 = callBound$1('Array.prototype.concat');
2598
- var $reduce = callBound$1('Array.prototype.reduce');
2432
+ var $concat = callBound('Array.prototype.concat');
2433
+ var $reduce = callBound('Array.prototype.reduce');
2599
2434
  var getAll = $getSymbols ? function (obj) {
2600
- return $concat$1($getOwnNames(obj), $getSymbols(obj));
2435
+ return $concat($getOwnNames(obj), $getSymbols(obj));
2601
2436
  } : $getOwnNames;
2602
2437
 
2603
- var isES5$1 = IsCallable($gOPD) && IsCallable($getOwnNames);
2438
+ var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
2604
2439
 
2605
- var implementation$1 = function getOwnPropertyDescriptors(value) {
2440
+ var implementation$2 = function getOwnPropertyDescriptors(value) {
2606
2441
  RequireObjectCoercible(value);
2607
- if (!isES5$1) {
2442
+ if (!isES5) {
2608
2443
  throw new TypeError('getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor');
2609
2444
  }
2610
2445
 
@@ -2612,7 +2447,7 @@ var implementation$1 = function getOwnPropertyDescriptors(value) {
2612
2447
  return $reduce(
2613
2448
  getAll(O),
2614
2449
  function (acc, key) {
2615
- var descriptor = $gOPD(O, key);
2450
+ var descriptor = $gOPD$2(O, key);
2616
2451
  if (typeof descriptor !== 'undefined') {
2617
2452
  CreateDataProperty(acc, key, descriptor);
2618
2453
  }
@@ -2622,40 +2457,34 @@ var implementation$1 = function getOwnPropertyDescriptors(value) {
2622
2457
  );
2623
2458
  };
2624
2459
 
2625
- var polyfill$2 = function getPolyfill() {
2626
- return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$1;
2460
+ var polyfill = function getPolyfill() {
2461
+ return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$2;
2627
2462
  };
2628
2463
 
2629
- var shim$1 = function shimGetOwnPropertyDescriptors() {
2630
- var polyfill = polyfill$2();
2464
+ var shim = function shimGetOwnPropertyDescriptors() {
2465
+ var polyfill$1 = polyfill();
2631
2466
  defineProperties_1(
2632
2467
  Object,
2633
- { getOwnPropertyDescriptors: polyfill },
2634
- { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill; } }
2468
+ { getOwnPropertyDescriptors: polyfill$1 },
2469
+ { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill$1; } }
2635
2470
  );
2636
- return polyfill;
2471
+ return polyfill$1;
2637
2472
  };
2638
2473
 
2639
- var bound = callBind(polyfill$2(), Object);
2640
-
2641
- defineProperties_1(bound, {
2642
- getPolyfill: polyfill$2,
2643
- implementation: implementation$1,
2644
- shim: shim$1
2474
+ defineProperties_1(implementation$2, {
2475
+ getPolyfill: polyfill,
2476
+ implementation: implementation$2,
2477
+ shim: shim
2645
2478
  });
2646
2479
 
2647
- var object_getownpropertydescriptors = bound;
2648
-
2649
- // TODO; semver-major: remove
2650
-
2651
- var callBound = callBound$1;
2480
+ var object_getownpropertydescriptors = implementation$2;
2652
2481
 
2653
- var isES5 = typeof Object.defineProperty === 'function'
2482
+ var isES5$1 = typeof Object.defineProperty === 'function'
2654
2483
  && typeof Object.defineProperties === 'function';
2655
2484
 
2656
2485
  var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto
2657
2486
 
2658
- if (!isES5 || !hasProto) {
2487
+ if (!isES5$1 || !hasProto) {
2659
2488
  throw new TypeError('util.promisify requires a true ES5 environment, that also supports `__proto__`');
2660
2489
  }
2661
2490
 
@@ -2668,15 +2497,15 @@ if (typeof Promise !== 'function') {
2668
2497
 
2669
2498
 
2670
2499
  var $slice = callBound('Array.prototype.slice');
2671
- var $concat = callBound('Array.prototype.concat');
2500
+ var $concat$1 = callBound('Array.prototype.concat');
2672
2501
  var $forEach = callBound('Array.prototype.forEach');
2673
2502
 
2674
- var hasSymbols = hasSymbols$3();
2503
+ var hasSymbols$4 = hasSymbols$1();
2675
2504
 
2676
- var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
2677
- var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
2505
+ var kCustomPromisifiedSymbol = hasSymbols$4 ? Symbol('util.promisify.custom') : null;
2506
+ var kCustomPromisifyArgsSymbol = hasSymbols$4 ? Symbol('customPromisifyArgs') : null;
2678
2507
 
2679
- var implementation = function promisify(orig) {
2508
+ var implementation$3 = function promisify(orig) {
2680
2509
  if (typeof orig !== 'function') {
2681
2510
  var error = new TypeError('The "original" argument must be of type function');
2682
2511
  error.name = 'TypeError [ERR_INVALID_ARG_TYPE]';
@@ -2684,7 +2513,7 @@ var implementation = function promisify(orig) {
2684
2513
  throw error;
2685
2514
  }
2686
2515
 
2687
- if (hasSymbols && orig[kCustomPromisifiedSymbol]) {
2516
+ if (hasSymbols$4 && orig[kCustomPromisifiedSymbol]) {
2688
2517
  var customFunction = orig[kCustomPromisifiedSymbol];
2689
2518
  if (typeof customFunction !== 'function') {
2690
2519
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2706,7 +2535,7 @@ var implementation = function promisify(orig) {
2706
2535
  var args = $slice(arguments);
2707
2536
  var self = this; // eslint-disable-line no-invalid-this
2708
2537
  return new Promise(function (resolve, reject) {
2709
- orig.apply(self, $concat(args, function (err) {
2538
+ orig.apply(self, $concat$1(args, function (err) {
2710
2539
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2711
2540
  if (err) {
2712
2541
  reject(err);
@@ -2736,17 +2565,17 @@ var implementation = function promisify(orig) {
2736
2565
 
2737
2566
  var custom = kCustomPromisifiedSymbol;
2738
2567
  var customPromisifyArgs = kCustomPromisifyArgsSymbol;
2739
- implementation.custom = custom;
2740
- implementation.customPromisifyArgs = customPromisifyArgs;
2568
+ implementation$3.custom = custom;
2569
+ implementation$3.customPromisifyArgs = customPromisifyArgs;
2741
2570
 
2742
2571
  var polyfill$1 = function getPolyfill() {
2743
2572
  if (typeof util.util.promisify === 'function') {
2744
2573
  return util.util.promisify;
2745
2574
  }
2746
- return implementation;
2575
+ return implementation$3;
2747
2576
  };
2748
2577
 
2749
- var shim = function shimUtilPromisify() {
2578
+ var shim$1 = function shimUtilPromisify() {
2750
2579
  var polyfill = polyfill$1();
2751
2580
  if (polyfill !== util.util.promisify) {
2752
2581
  Object.defineProperty(util.util, 'promisify', {
@@ -2759,20 +2588,20 @@ var shim = function shimUtilPromisify() {
2759
2588
  return polyfill;
2760
2589
  };
2761
2590
 
2762
- var polyfill = polyfill$1();
2591
+ var polyfill$2 = polyfill$1();
2763
2592
 
2764
2593
 
2765
2594
  /* eslint-disable no-unused-vars */
2766
2595
  var boundPromisify = function promisify(orig) {
2767
2596
  /* eslint-enable no-unused-vars */
2768
- return polyfill.apply(util.util, arguments);
2597
+ return polyfill$2.apply(util.util, arguments);
2769
2598
  };
2770
2599
  defineProperties_1(boundPromisify, {
2771
- custom: polyfill.custom,
2772
- customPromisifyArgs: polyfill.customPromisifyArgs,
2600
+ custom: polyfill$2.custom,
2601
+ customPromisifyArgs: polyfill$2.customPromisifyArgs,
2773
2602
  getPolyfill: polyfill$1,
2774
- implementation: implementation,
2775
- shim: shim
2603
+ implementation: implementation$3,
2604
+ shim: shim$1
2776
2605
  });
2777
2606
 
2778
2607
  var util_promisify = boundPromisify;
@@ -2813,16 +2642,16 @@ function connect() {
2813
2642
 
2814
2643
  var db = connect;
2815
2644
 
2816
- var _this$1 = undefined;
2645
+ var _this$3 = undefined;
2817
2646
 
2818
- var config$1 = {
2647
+ var config = {
2819
2648
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
2820
2649
  user: 'nasp',
2821
2650
  password: 'uRNkF9SkfXQs6AKK',
2822
2651
  database: 'user'
2823
2652
  };
2824
2653
 
2825
- var findUser$1 = function () {
2654
+ var findUser = function () {
2826
2655
  var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(email) {
2827
2656
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
2828
2657
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
@@ -2834,7 +2663,7 @@ var findUser$1 = function () {
2834
2663
  _context.prev = 1;
2835
2664
 
2836
2665
 
2837
- db$1 = db(config$1);
2666
+ db$1 = db(config);
2838
2667
 
2839
2668
  query = '\n select * \n from user \n where trim(lower(email)) = ?\n ';
2840
2669
  _context.next = 6;
@@ -2930,7 +2759,7 @@ var findUser$1 = function () {
2930
2759
  };
2931
2760
  }();
2932
2761
 
2933
- var updateUser$1 = function () {
2762
+ var updateUser = function () {
2934
2763
  var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(data) {
2935
2764
  var db$1, query, res, hash, columns, i, column, occupation_name;
2936
2765
  return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
@@ -2943,7 +2772,7 @@ var updateUser$1 = function () {
2943
2772
 
2944
2773
  validateUserData(data);
2945
2774
 
2946
- db$1 = db(config$1);
2775
+ db$1 = db(config);
2947
2776
 
2948
2777
  _context2.next = 6;
2949
2778
  return db$1.beginTransaction();
@@ -3050,7 +2879,7 @@ var updateUser$1 = function () {
3050
2879
 
3051
2880
  return _context2.abrupt('return', {
3052
2881
  error: '',
3053
- user: findUser$1(data.email)
2882
+ user: findUser(data.email)
3054
2883
  });
3055
2884
 
3056
2885
  case 45:
@@ -3162,7 +2991,7 @@ var getOccupationNameById = function () {
3162
2991
  return _context3.stop();
3163
2992
  }
3164
2993
  }
3165
- }, _callee3, _this$1);
2994
+ }, _callee3, _this$3);
3166
2995
  }));
3167
2996
 
3168
2997
  return function getOccupationNameById(_x5, _x6) {
@@ -3170,7 +2999,7 @@ var getOccupationNameById = function () {
3170
2999
  };
3171
3000
  }();
3172
3001
 
3173
- var createUser$1 = function () {
3002
+ var createUser = function () {
3174
3003
  var _ref4 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee4(data) {
3175
3004
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3176
3005
  return asyncToGenerator.regenerator.wrap(function _callee4$(_context4) {
@@ -3183,7 +3012,7 @@ var createUser$1 = function () {
3183
3012
 
3184
3013
  validateUserData(data, true);
3185
3014
 
3186
- db$1 = db(config$1);
3015
+ db$1 = db(config);
3187
3016
 
3188
3017
  _context4.next = 6;
3189
3018
  return db$1.beginTransaction();
@@ -3279,7 +3108,7 @@ var createUser$1 = function () {
3279
3108
  case 39:
3280
3109
  return _context4.abrupt('return', {
3281
3110
  error: '',
3282
- user: findUser$1(data.email)
3111
+ user: findUser(data.email)
3283
3112
  });
3284
3113
 
3285
3114
  case 42:
@@ -3317,7 +3146,7 @@ var createUser$1 = function () {
3317
3146
  };
3318
3147
  }();
3319
3148
 
3320
- var createUser = function () {
3149
+ var createUser$1 = function () {
3321
3150
  var _ref = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee(data) {
3322
3151
  var res;
3323
3152
  return asyncToGenerator.regenerator.wrap(function _callee$(_context) {
@@ -3325,7 +3154,7 @@ var createUser = function () {
3325
3154
  switch (_context.prev = _context.next) {
3326
3155
  case 0:
3327
3156
  _context.next = 2;
3328
- return createUser$1(data);
3157
+ return createUser(data);
3329
3158
 
3330
3159
  case 2:
3331
3160
  res = _context.sent;
@@ -3353,7 +3182,7 @@ var createUser = function () {
3353
3182
  };
3354
3183
  }();
3355
3184
 
3356
- var updateUser = function () {
3185
+ var updateUser$1 = function () {
3357
3186
  var _ref2 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee2(data) {
3358
3187
  var res;
3359
3188
  return asyncToGenerator.regenerator.wrap(function _callee2$(_context2) {
@@ -3361,7 +3190,7 @@ var updateUser = function () {
3361
3190
  switch (_context2.prev = _context2.next) {
3362
3191
  case 0:
3363
3192
  _context2.next = 2;
3364
- return updateUser$1(data);
3193
+ return updateUser(data);
3365
3194
 
3366
3195
  case 2:
3367
3196
  res = _context2.sent;
@@ -3389,7 +3218,7 @@ var updateUser = function () {
3389
3218
  };
3390
3219
  }();
3391
3220
 
3392
- var findUser = function () {
3221
+ var findUser$1 = function () {
3393
3222
  var _ref3 = asyncToGenerator._asyncToGenerator( /*#__PURE__*/asyncToGenerator.regenerator.mark(function _callee3(_ref4) {
3394
3223
  var email = _ref4.email,
3395
3224
  password = _ref4.password;
@@ -3399,7 +3228,7 @@ var findUser = function () {
3399
3228
  switch (_context3.prev = _context3.next) {
3400
3229
  case 0:
3401
3230
  _context3.next = 2;
3402
- return findUser$1(email, password);
3231
+ return findUser(email, password);
3403
3232
 
3404
3233
  case 2:
3405
3234
  res = _context3.sent;
@@ -3429,9 +3258,9 @@ var findUser = function () {
3429
3258
 
3430
3259
  var user = /*#__PURE__*/Object.freeze({
3431
3260
  __proto__: null,
3432
- createUser: createUser,
3433
- updateUser: updateUser,
3434
- findUser: findUser
3261
+ createUser: createUser$1,
3262
+ updateUser: updateUser$1,
3263
+ findUser: findUser$1
3435
3264
  });
3436
3265
 
3437
3266
  var localStrategy = new Local__default['default'].Strategy({
@@ -3439,7 +3268,7 @@ var localStrategy = new Local__default['default'].Strategy({
3439
3268
  passwordField: 'password'
3440
3269
  }, function (email, password, done) {
3441
3270
 
3442
- findUser({ email: email, password: password }).then(function (user) {
3271
+ findUser$1({ email: email, password: password }).then(function (user) {
3443
3272
  done(null, user);
3444
3273
  }).catch(function (error) {
3445
3274
  done(error);
@@ -3451,9 +3280,9 @@ var passportLocal = /*#__PURE__*/Object.freeze({
3451
3280
  localStrategy: localStrategy
3452
3281
  });
3453
3282
 
3454
- var _this = undefined;
3283
+ var _this$4 = undefined;
3455
3284
 
3456
- var config = {
3285
+ var config$1 = {
3457
3286
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
3458
3287
  user: 'nasp',
3459
3288
  password: 'uRNkF9SkfXQs6AKK',
@@ -3467,7 +3296,7 @@ var getOccupation = function () {
3467
3296
  while (1) {
3468
3297
  switch (_context.prev = _context.next) {
3469
3298
  case 0:
3470
- db$1 = db(config);
3299
+ db$1 = db(config$1);
3471
3300
  query = '\n select name as label, id as value\n from occupation\n where type = ?\n ';
3472
3301
  _context.next = 4;
3473
3302
  return db$1.query(query, [type]);
@@ -3485,7 +3314,7 @@ var getOccupation = function () {
3485
3314
  return _context.stop();
3486
3315
  }
3487
3316
  }
3488
- }, _callee, _this);
3317
+ }, _callee, _this$4);
3489
3318
  }));
3490
3319
 
3491
3320
  return function getOccupation(_x) {
@@ -3500,7 +3329,7 @@ var getFieldsAndOptions = function () {
3500
3329
  while (1) {
3501
3330
  switch (_context2.prev = _context2.next) {
3502
3331
  case 0:
3503
- db$1 = db(config);
3332
+ db$1 = db(config$1);
3504
3333
  query = '\n select * \n from field\n where occupation_id = ?\n order by sorting\n ';
3505
3334
  _context2.next = 4;
3506
3335
  return db$1.query(query, [occupation]);
@@ -3548,7 +3377,7 @@ var getFieldsAndOptions = function () {
3548
3377
  return _context2.stop();
3549
3378
  }
3550
3379
  }
3551
- }, _callee2, _this);
3380
+ }, _callee2, _this$4);
3552
3381
  }));
3553
3382
 
3554
3383
  return function getFieldsAndOptions(_x2) {
@@ -3619,8 +3448,8 @@ var ProcessData = (function () {
3619
3448
  })();
3620
3449
 
3621
3450
  var LoginForm_1 = LoginForm;
3622
- var SignupForm_1 = SignupForm$1;
3623
- var ProfileForm_1 = SignupForm;
3451
+ var SignupForm_1 = SignupForm;
3452
+ var ProfileForm_1 = SignupForm$1;
3624
3453
  var AuthCookies_1 = authCookies;
3625
3454
  var AuthHooks_1 = hooks;
3626
3455
  var Iron_1 = iron;