@mjhls/mjh-framework 1.0.866-youtube-group-v1 → 1.0.867

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 (293) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +22 -24
  4. package/dist/cjs/AD300x250x600.js +22 -24
  5. package/dist/cjs/AD728x90.js +25 -27
  6. package/dist/cjs/ADFloatingFooter.js +21 -23
  7. package/dist/cjs/ADFooter.js +4 -6
  8. package/dist/cjs/ADGutter.js +21 -23
  9. package/dist/cjs/{ADInfeed-25d48cc2.js → ADInfeed-7d13830e.js} +4 -4
  10. package/dist/cjs/ADSkyscraper.js +21 -23
  11. package/dist/cjs/ADSponsoredResources.js +21 -23
  12. package/dist/cjs/ADWebcast.js +21 -23
  13. package/dist/cjs/ADWelcome.js +18 -20
  14. package/dist/cjs/{ADlgInfeed-a535a768.js → ADlgInfeed-d9dbfadc.js} +4 -4
  15. package/dist/cjs/AccordionPanel.js +6 -8
  16. package/dist/cjs/AdSlot.js +22 -24
  17. package/dist/cjs/AdSlotsProvider.js +11 -13
  18. package/dist/cjs/AlgoliaSearch.js +508 -500
  19. package/dist/cjs/AlphabeticList.js +8 -10
  20. package/dist/cjs/ArticleCarousel.js +13 -15
  21. package/dist/cjs/ArticleProgramLandingPage.js +48 -50
  22. package/dist/cjs/ArticleSeriesLandingPage.js +29 -31
  23. package/dist/cjs/ArticleSeriesListing.js +31 -33
  24. package/dist/cjs/Auth.js +482 -348
  25. package/dist/cjs/AuthWrapper.js +199 -240
  26. package/dist/cjs/{AuthorComponent-ac8972ce.js → AuthorComponent-39b37d84.js} +1 -1
  27. package/dist/cjs/Beam.js +6 -8
  28. package/dist/cjs/{BlockContent-8b494587.js → BlockContent-36e54d77.js} +34 -34
  29. package/dist/cjs/Breadcrumbs.js +6 -8
  30. package/dist/cjs/CMEDeck.js +22 -24
  31. package/dist/cjs/Column2.js +14 -16
  32. package/dist/cjs/Column3.js +31 -33
  33. package/dist/cjs/ConferenceArticleCard.js +25 -22
  34. package/dist/cjs/DeckContent.js +40 -42
  35. package/dist/cjs/DeckQueue.js +30 -31
  36. package/dist/cjs/{Dfp-391fd124.js → Dfp-9be904d5.js} +13 -15
  37. package/dist/cjs/EventsDeck.js +44 -46
  38. package/dist/cjs/ExternalResources.js +45 -47
  39. package/dist/cjs/Feature.js +7 -4
  40. package/dist/cjs/ForbesHero.js +10 -12
  41. package/dist/cjs/GridContent.js +45 -47
  42. package/dist/cjs/GridHero.js +11 -13
  43. package/dist/cjs/GroupDeck.js +12 -14
  44. package/dist/cjs/HamMagazine.js +34 -36
  45. package/dist/cjs/Hero.js +7 -4
  46. package/dist/cjs/HighlightenVideo.js +2 -2
  47. package/dist/cjs/HorizontalArticleListing.js +46 -48
  48. package/dist/cjs/HorizontalHero.js +7 -4
  49. package/dist/cjs/IssueContentDeck.js +11 -13
  50. package/dist/cjs/IssueDeck.js +14 -16
  51. package/dist/cjs/IssueLanding.js +82 -84
  52. package/dist/cjs/KMTracker.js +15 -15
  53. package/dist/cjs/LeftNav.js +20 -22
  54. package/dist/cjs/MasterDeck.js +39 -41
  55. package/dist/cjs/MediaSeriesLanding.js +507 -465
  56. package/dist/cjs/NavDvm.js +11 -13
  57. package/dist/cjs/NavMagazine.js +38 -40
  58. package/dist/cjs/NavNative.js +39 -41
  59. package/dist/cjs/OncliveHero.js +7 -4
  60. package/dist/cjs/OncliveLargeHero.js +11 -13
  61. package/dist/cjs/PageFilter.js +4 -6
  62. package/dist/cjs/PartnerDetailListing.js +64 -2770
  63. package/dist/cjs/PdfDownload.js +1 -1
  64. package/dist/cjs/PopUpModal.js +4 -6
  65. package/dist/cjs/PubSection.js +32 -34
  66. package/dist/cjs/PubToc.js +6 -8
  67. package/dist/cjs/PublicationDeck.js +11 -8
  68. package/dist/cjs/PublicationLanding.js +76 -78
  69. package/dist/cjs/QueueDeckExpanded.js +36 -38
  70. package/dist/cjs/RecentNews.js +3 -3
  71. package/dist/cjs/RelatedContent.js +38 -35
  72. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  73. package/dist/cjs/Search.js +6 -8
  74. package/dist/cjs/Segment.js +4 -6
  75. package/dist/cjs/SeriesListingDeck.js +18 -20
  76. package/dist/cjs/{SeriesSlider-0d3bf265.js → SeriesSlider-ce3261cb.js} +14 -14
  77. package/dist/cjs/SetCookie.js +1 -1
  78. package/dist/cjs/SideFooter.js +15 -17
  79. package/dist/cjs/{SocialSearchComponent-19548e2a.js → SocialSearchComponent-a4ae7b88.js} +10 -10
  80. package/dist/cjs/TaxonomyCard.js +12 -10
  81. package/dist/cjs/TaxonomyDescription.js +44 -46
  82. package/dist/cjs/TemplateNormal.js +45 -47
  83. package/dist/cjs/ThumbnailCard.js +10 -7
  84. package/dist/cjs/Ustream.js +11 -13
  85. package/dist/cjs/VerticalHero.js +6 -3
  86. package/dist/cjs/VideoProgramLandingPage.js +50 -52
  87. package/dist/cjs/VideoSeriesCard.js +14 -14
  88. package/dist/cjs/VideoSeriesFilter.js +7 -9
  89. package/dist/cjs/VideoSeriesLandingPage.js +35 -37
  90. package/dist/cjs/VideoSeriesListing.js +31 -33
  91. package/dist/cjs/View.js +89 -92
  92. package/dist/cjs/YahooHero.js +13 -15
  93. package/dist/cjs/YoutubeGroup.js +25 -46
  94. package/dist/cjs/{_is-array-754e012d.js → _is-array-54228b29.js} +14 -14
  95. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-b1df62f0.js} +9 -10
  96. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  97. package/dist/cjs/_object-sap-d1978572.js +16 -0
  98. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-ce86cae7.js} +5 -5
  99. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-77821af0.js} +82 -84
  100. package/dist/cjs/{_to-object-329a650b.js → core.get-iterator-method-5643aa10.js} +256 -20
  101. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  102. package/dist/cjs/define-property-e8404b64.js +20 -0
  103. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-9673846a.js} +1 -1
  104. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  105. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  106. package/dist/cjs/{extends-0a918631.js → extends-7c86182f.js} +13 -13
  107. package/dist/cjs/faundadb.js +5 -7
  108. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  109. package/dist/cjs/getQuery.js +2 -2
  110. package/dist/cjs/getRelatedArticle.js +133 -71
  111. package/dist/cjs/getRootDocGroup.js +4 -6
  112. package/dist/cjs/getSerializers.js +43 -45
  113. package/dist/cjs/{getTargeting-a9a871f0.js → getTargeting-9d509319.js} +11 -11
  114. package/dist/cjs/getTargeting.js +6 -8
  115. package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
  116. package/dist/cjs/{index-f83a102a.js → index-ad4e6a69.js} +202 -181
  117. package/dist/cjs/{index-9d365128.js → index-eadd5035.js} +7 -7
  118. package/dist/cjs/{index-b5eb3ff8.js → index-efca863c.js} +16 -11
  119. package/dist/cjs/{index-6367b7bf.js → index-f86bb269.js} +35 -35
  120. package/dist/cjs/{index-2cf30c83.js → index-fc2f1ca2.js} +4 -4
  121. package/dist/cjs/{index.esm-3ffa049c.js → index.esm-8123cf40.js} +1 -1
  122. package/dist/cjs/index.js +139 -140
  123. package/dist/cjs/{inherits-0c7830c5.js → inherits-de66ea16.js} +25 -26
  124. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  125. package/dist/cjs/keys-e982b3fa.js +25 -0
  126. package/dist/cjs/{lodash-7fd85bcf.js → lodash-f0783643.js} +58 -10
  127. package/dist/cjs/{main-7b5e57b0.js → main-025fdc78.js} +234 -159
  128. package/dist/cjs/{moment-ca3bd9fb.js → moment-aca40de1.js} +1 -1
  129. package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-af932527.js} +17 -17
  130. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-067dd3bc.js} +17 -19
  131. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  132. package/dist/cjs/stringify-f7a37a8d.js +17 -0
  133. package/dist/cjs/timeDifferenceCalc.js +1 -1
  134. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-d7797c2b.js} +12 -14
  135. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  136. package/dist/cjs/{typeof-9d7f610f.js → typeof-567e31ff.js} +97 -98
  137. package/dist/cjs/urlFor.js +19 -2
  138. package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-3819e4aa.js} +4 -4
  139. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  140. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-d98303e0.js} +8 -9
  141. package/dist/esm/AD.js +1 -1
  142. package/dist/esm/AD300x250.js +22 -24
  143. package/dist/esm/AD300x250x600.js +22 -24
  144. package/dist/esm/AD728x90.js +25 -27
  145. package/dist/esm/ADFloatingFooter.js +21 -23
  146. package/dist/esm/ADFooter.js +4 -6
  147. package/dist/esm/ADGutter.js +21 -23
  148. package/dist/esm/{ADInfeed-56a3db8b.js → ADInfeed-0cbd7bed.js} +4 -4
  149. package/dist/esm/ADSkyscraper.js +21 -23
  150. package/dist/esm/ADSponsoredResources.js +21 -23
  151. package/dist/esm/ADWebcast.js +21 -23
  152. package/dist/esm/ADWelcome.js +18 -20
  153. package/dist/esm/{ADlgInfeed-53edb995.js → ADlgInfeed-2d1a52d9.js} +4 -4
  154. package/dist/esm/AccordionPanel.js +6 -8
  155. package/dist/esm/AdSlot.js +22 -24
  156. package/dist/esm/AdSlotsProvider.js +11 -13
  157. package/dist/esm/AlgoliaSearch.js +507 -499
  158. package/dist/esm/AlphabeticList.js +8 -10
  159. package/dist/esm/ArticleCarousel.js +13 -15
  160. package/dist/esm/ArticleProgramLandingPage.js +48 -50
  161. package/dist/esm/ArticleSeriesLandingPage.js +29 -31
  162. package/dist/esm/ArticleSeriesListing.js +31 -33
  163. package/dist/esm/Auth.js +482 -348
  164. package/dist/esm/AuthWrapper.js +199 -240
  165. package/dist/esm/{AuthorComponent-8ffd4679.js → AuthorComponent-46a745ba.js} +1 -1
  166. package/dist/esm/Beam.js +6 -8
  167. package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-52cf21c5.js} +34 -34
  168. package/dist/esm/Breadcrumbs.js +5 -7
  169. package/dist/esm/CMEDeck.js +22 -24
  170. package/dist/esm/Column2.js +14 -16
  171. package/dist/esm/Column3.js +31 -33
  172. package/dist/esm/ConferenceArticleCard.js +25 -22
  173. package/dist/esm/DeckContent.js +40 -42
  174. package/dist/esm/DeckQueue.js +30 -31
  175. package/dist/esm/{Dfp-2f9796e1.js → Dfp-4ca12f2e.js} +13 -15
  176. package/dist/esm/EventsDeck.js +41 -43
  177. package/dist/esm/ExternalResources.js +45 -47
  178. package/dist/esm/Feature.js +7 -4
  179. package/dist/esm/ForbesHero.js +10 -12
  180. package/dist/esm/GridContent.js +45 -47
  181. package/dist/esm/GridHero.js +11 -13
  182. package/dist/esm/GroupDeck.js +12 -14
  183. package/dist/esm/HamMagazine.js +34 -36
  184. package/dist/esm/Hero.js +7 -4
  185. package/dist/esm/HighlightenVideo.js +2 -2
  186. package/dist/esm/HorizontalArticleListing.js +46 -48
  187. package/dist/esm/HorizontalHero.js +7 -4
  188. package/dist/esm/IssueContentDeck.js +11 -13
  189. package/dist/esm/IssueDeck.js +13 -15
  190. package/dist/esm/IssueLanding.js +82 -84
  191. package/dist/esm/KMTracker.js +15 -15
  192. package/dist/esm/LeftNav.js +20 -22
  193. package/dist/esm/MasterDeck.js +39 -41
  194. package/dist/esm/MediaSeriesLanding.js +507 -465
  195. package/dist/esm/NavDvm.js +11 -13
  196. package/dist/esm/NavMagazine.js +38 -40
  197. package/dist/esm/NavNative.js +37 -39
  198. package/dist/esm/OncliveHero.js +7 -4
  199. package/dist/esm/OncliveLargeHero.js +11 -13
  200. package/dist/esm/PageFilter.js +4 -6
  201. package/dist/esm/PartnerDetailListing.js +62 -2767
  202. package/dist/esm/PdfDownload.js +1 -1
  203. package/dist/esm/PopUpModal.js +4 -6
  204. package/dist/esm/PubSection.js +32 -34
  205. package/dist/esm/PubToc.js +6 -8
  206. package/dist/esm/PublicationDeck.js +10 -7
  207. package/dist/esm/PublicationLanding.js +52 -54
  208. package/dist/esm/QueueDeckExpanded.js +36 -38
  209. package/dist/esm/RecentNews.js +3 -3
  210. package/dist/esm/RelatedContent.js +38 -35
  211. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  212. package/dist/esm/Search.js +5 -7
  213. package/dist/esm/Segment.js +4 -6
  214. package/dist/esm/SeriesListingDeck.js +18 -20
  215. package/dist/esm/{SeriesSlider-7d89f4d9.js → SeriesSlider-485f514e.js} +14 -14
  216. package/dist/esm/SetCookie.js +1 -1
  217. package/dist/esm/SideFooter.js +15 -17
  218. package/dist/esm/{SocialSearchComponent-47815365.js → SocialSearchComponent-41b6b480.js} +9 -9
  219. package/dist/esm/TaxonomyCard.js +12 -10
  220. package/dist/esm/TaxonomyDescription.js +44 -46
  221. package/dist/esm/TemplateNormal.js +45 -47
  222. package/dist/esm/ThumbnailCard.js +10 -7
  223. package/dist/esm/Ustream.js +11 -13
  224. package/dist/esm/VerticalHero.js +6 -3
  225. package/dist/esm/VideoProgramLandingPage.js +49 -51
  226. package/dist/esm/VideoSeriesCard.js +14 -14
  227. package/dist/esm/VideoSeriesFilter.js +7 -9
  228. package/dist/esm/VideoSeriesLandingPage.js +35 -37
  229. package/dist/esm/VideoSeriesListing.js +31 -33
  230. package/dist/esm/View.js +88 -91
  231. package/dist/esm/YahooHero.js +13 -15
  232. package/dist/esm/YoutubeGroup.js +25 -46
  233. package/dist/esm/{_is-array-58e95429.js → _is-array-893ab020.js} +6 -6
  234. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-f089461c.js} +7 -8
  235. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  236. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-169d6272.js} +1 -1
  237. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-50a6b9a3.js} +2 -2
  238. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-b4dfe691.js} +30 -32
  239. package/dist/esm/{_to-object-a4107da3.js → core.get-iterator-method-e903ff31.js} +247 -18
  240. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  241. package/dist/esm/define-property-99e66838.js +18 -0
  242. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-8fa0bc8d.js} +1 -1
  243. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  244. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  245. package/dist/esm/{extends-6f2fcc99.js → extends-dc6a71fd.js} +7 -7
  246. package/dist/esm/faundadb.js +5 -7
  247. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  248. package/dist/esm/getQuery.js +2 -2
  249. package/dist/esm/getRelatedArticle.js +133 -71
  250. package/dist/esm/getRootDocGroup.js +4 -6
  251. package/dist/esm/getSerializers.js +43 -45
  252. package/dist/esm/{getTargeting-bd800589.js → getTargeting-ff2c9409.js} +11 -11
  253. package/dist/esm/getTargeting.js +6 -8
  254. package/dist/esm/{index-51a80699.js → index-0dbff1d1.js} +16 -11
  255. package/dist/esm/{index-f7fb1e25.js → index-2446af28.js} +4 -4
  256. package/dist/esm/{index-6c12bdd5.js → index-35bdcc81.js} +6 -6
  257. package/dist/esm/{index-82fea143.js → index-61397130.js} +198 -177
  258. package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
  259. package/dist/esm/{index-c00b0bbb.js → index-79cfd25c.js} +35 -35
  260. package/dist/esm/{index.esm-8ee5ff72.js → index.esm-8016b507.js} +1 -1
  261. package/dist/esm/index.js +120 -121
  262. package/dist/esm/{inherits-75d45541.js → inherits-8a801a18.js} +18 -19
  263. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  264. package/dist/esm/keys-425c8ab0.js +23 -0
  265. package/dist/esm/{lodash-ec8c6b48.js → lodash-f97fd99a.js} +58 -10
  266. package/dist/esm/{main-747e7d25.js → main-b5c5aac1.js} +228 -153
  267. package/dist/esm/{moment-b6f49411.js → moment-bc12cb97.js} +1 -1
  268. package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-91f9716f.js} +16 -16
  269. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-ca2c8b8d.js} +12 -14
  270. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  271. package/dist/esm/stringify-c21932b3.js +15 -0
  272. package/dist/esm/timeDifferenceCalc.js +1 -1
  273. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-7b1c0e23.js} +7 -9
  274. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  275. package/dist/esm/{typeof-af9c50d8.js → typeof-83d9eb10.js} +34 -35
  276. package/dist/esm/urlFor.js +19 -2
  277. package/dist/esm/{ustream-api-9a50644d.js → ustream-api-41166338.js} +4 -4
  278. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  279. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-fdf034f5.js} +2 -3
  280. package/package.json +111 -111
  281. package/dist/cjs/_object-sap-5e74ba08.js +0 -16
  282. package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
  283. package/dist/cjs/define-property-f4d12f4e.js +0 -20
  284. package/dist/cjs/es6.string.iterator-cc0bbaa4.js +0 -210
  285. package/dist/cjs/keys-a586b7a0.js +0 -25
  286. package/dist/cjs/stringify-7c5aff47.js +0 -17
  287. package/dist/esm/core.get-iterator-method-e1de7503.js +0 -36
  288. package/dist/esm/define-property-8af5f002.js +0 -18
  289. package/dist/esm/es6.string.iterator-c990c18c.js +0 -201
  290. package/dist/esm/keys-8eda7a5c.js +0 -23
  291. package/dist/esm/stringify-4330ccdc.js +0 -15
  292. package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-a195642e.js} +1 -1
  293. package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-b43c695a.js} +1 -1
package/dist/esm/Auth.js CHANGED
@@ -1,24 +1,22 @@
1
- import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-5d49a330.js';
6
- import './core.get-iterator-method-e1de7503.js';
7
- import './_object-pie-33c40e79.js';
8
- import { _ as _extends } from './extends-6f2fcc99.js';
9
- import './web.dom.iterable-4439f05a.js';
1
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
2
+ import { _ as _JSON$stringify } from './stringify-c21932b3.js';
3
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-ca2c8b8d.js';
10
4
  import React, { useEffect, useState } from 'react';
11
5
  import Router from 'next/router';
12
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
13
- import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
14
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
6
+ import { _ as _extends } from './extends-dc6a71fd.js';
15
7
  import { Col, Form, Button, Spinner } from 'react-bootstrap';
16
- import { u as util } from './util-7700fc59.js';
17
- import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
18
8
  import useSWR from 'swr';
9
+ import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
19
10
  import Local from 'passport-local';
20
11
  import mysql from 'mysql';
12
+ import { u as util } from './util-3ab476bf.js';
13
+ import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
21
14
  import { m as md5 } from './md5-4e42248e.js';
15
+ import './core.get-iterator-method-e903ff31.js';
16
+ import './web.dom.iterable-fdf034f5.js';
17
+ import './_library-528f1934.js';
18
+ import './_iter-detect-f089461c.js';
19
+ import './_object-pie-133f504a.js';
22
20
 
23
21
  var returnFormField = function returnFormField(_ref) {
24
22
  var name = _ref.name,
@@ -136,7 +134,7 @@ var returnFormField = function returnFormField(_ref) {
136
134
  }
137
135
  };
138
136
 
139
- var _this = undefined;
137
+ var _this$4 = undefined;
140
138
 
141
139
  var dataHandler = function () {
142
140
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(api_url, body) {
@@ -202,7 +200,7 @@ var dataHandler = function () {
202
200
  return _context.stop();
203
201
  }
204
202
  }
205
- }, _callee, _this, [[0, 20]]);
203
+ }, _callee, _this$4, [[0, 20]]);
206
204
  }));
207
205
 
208
206
  return function dataHandler(_x, _x2) {
@@ -398,9 +396,9 @@ var countries = ["United States", "Afghanistan", "Albania", "Algeria", "American
398
396
 
399
397
  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'];
400
398
 
401
- var _this$1 = undefined;
399
+ var _this$3 = undefined;
402
400
 
403
- var SignupForm = function SignupForm(props) {
401
+ var SignupForm$1 = function SignupForm(props) {
404
402
  var handleSubmit = function () {
405
403
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
406
404
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -561,7 +559,7 @@ var SignupForm = function SignupForm(props) {
561
559
  return _context.stop();
562
560
  }
563
561
  }
564
- }, _callee, _this$1);
562
+ }, _callee, _this$3);
565
563
  }));
566
564
 
567
565
  return function loadInitData() {
@@ -628,7 +626,7 @@ var SignupForm = function SignupForm(props) {
628
626
  return _context2.stop();
629
627
  }
630
628
  }
631
- }, _callee2, _this$1);
629
+ }, _callee2, _this$3);
632
630
  }));
633
631
 
634
632
  return function handleOccupationChanged(_x) {
@@ -778,7 +776,7 @@ var SignupForm = function SignupForm(props) {
778
776
 
779
777
  var _this$2 = undefined;
780
778
 
781
- var SignupForm$1 = function SignupForm(props) {
779
+ var SignupForm = function SignupForm(props) {
782
780
  var handleSubmit = function () {
783
781
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
784
782
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -1313,10 +1311,10 @@ var iron = /*#__PURE__*/Object.freeze({
1313
1311
  getSession: getSession
1314
1312
  });
1315
1313
 
1316
- var toStr = Object.prototype.toString;
1314
+ var toStr$5 = Object.prototype.toString;
1317
1315
 
1318
1316
  var isArguments = function isArguments(value) {
1319
- var str = toStr.call(value);
1317
+ var str = toStr$5.call(value);
1320
1318
  var isArgs = str === '[object Arguments]';
1321
1319
  if (!isArgs) {
1322
1320
  isArgs = str !== '[object Array]' &&
@@ -1324,16 +1322,16 @@ var isArguments = function isArguments(value) {
1324
1322
  typeof value === 'object' &&
1325
1323
  typeof value.length === 'number' &&
1326
1324
  value.length >= 0 &&
1327
- toStr.call(value.callee) === '[object Function]';
1325
+ toStr$5.call(value.callee) === '[object Function]';
1328
1326
  }
1329
1327
  return isArgs;
1330
1328
  };
1331
1329
 
1332
- var keysShim;
1330
+ var keysShim$1;
1333
1331
  if (!Object.keys) {
1334
1332
  // modified from https://github.com/es-shims/es5-shim
1335
- var has = Object.prototype.hasOwnProperty;
1336
- var toStr$1 = Object.prototype.toString;
1333
+ var has$1 = Object.prototype.hasOwnProperty;
1334
+ var toStr$4 = Object.prototype.toString;
1337
1335
  var isArgs = isArguments; // eslint-disable-line global-require
1338
1336
  var isEnumerable = Object.prototype.propertyIsEnumerable;
1339
1337
  var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
@@ -1381,7 +1379,7 @@ if (!Object.keys) {
1381
1379
  if (typeof window === 'undefined') { return false; }
1382
1380
  for (var k in window) {
1383
1381
  try {
1384
- if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1382
+ if (!excludedKeys['$' + k] && has$1.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1385
1383
  try {
1386
1384
  equalsConstructorPrototype(window[k]);
1387
1385
  } catch (e) {
@@ -1406,11 +1404,11 @@ if (!Object.keys) {
1406
1404
  }
1407
1405
  };
1408
1406
 
1409
- keysShim = function keys(object) {
1407
+ keysShim$1 = function keys(object) {
1410
1408
  var isObject = object !== null && typeof object === 'object';
1411
- var isFunction = toStr$1.call(object) === '[object Function]';
1409
+ var isFunction = toStr$4.call(object) === '[object Function]';
1412
1410
  var isArguments = isArgs(object);
1413
- var isString = isObject && toStr$1.call(object) === '[object String]';
1411
+ var isString = isObject && toStr$4.call(object) === '[object String]';
1414
1412
  var theKeys = [];
1415
1413
 
1416
1414
  if (!isObject && !isFunction && !isArguments) {
@@ -1418,7 +1416,7 @@ if (!Object.keys) {
1418
1416
  }
1419
1417
 
1420
1418
  var skipProto = hasProtoEnumBug && isFunction;
1421
- if (isString && object.length > 0 && !has.call(object, 0)) {
1419
+ if (isString && object.length > 0 && !has$1.call(object, 0)) {
1422
1420
  for (var i = 0; i < object.length; ++i) {
1423
1421
  theKeys.push(String(i));
1424
1422
  }
@@ -1430,7 +1428,7 @@ if (!Object.keys) {
1430
1428
  }
1431
1429
  } else {
1432
1430
  for (var name in object) {
1433
- if (!(skipProto && name === 'prototype') && has.call(object, name)) {
1431
+ if (!(skipProto && name === 'prototype') && has$1.call(object, name)) {
1434
1432
  theKeys.push(String(name));
1435
1433
  }
1436
1434
  }
@@ -1440,7 +1438,7 @@ if (!Object.keys) {
1440
1438
  var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
1441
1439
 
1442
1440
  for (var k = 0; k < dontEnums.length; ++k) {
1443
- if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
1441
+ if (!(skipConstructor && dontEnums[k] === 'constructor') && has$1.call(object, dontEnums[k])) {
1444
1442
  theKeys.push(dontEnums[k]);
1445
1443
  }
1446
1444
  }
@@ -1448,17 +1446,17 @@ if (!Object.keys) {
1448
1446
  return theKeys;
1449
1447
  };
1450
1448
  }
1451
- var implementation = keysShim;
1449
+ var implementation$3 = keysShim$1;
1452
1450
 
1453
- var slice = Array.prototype.slice;
1451
+ var slice$1 = Array.prototype.slice;
1454
1452
 
1455
1453
 
1456
1454
  var origKeys = Object.keys;
1457
- var keysShim$1 = origKeys ? function keys(o) { return origKeys(o); } : implementation;
1455
+ var keysShim = origKeys ? function keys(o) { return origKeys(o); } : implementation$3;
1458
1456
 
1459
1457
  var originalKeys = Object.keys;
1460
1458
 
1461
- keysShim$1.shim = function shimObjectKeys() {
1459
+ keysShim.shim = function shimObjectKeys() {
1462
1460
  if (Object.keys) {
1463
1461
  var keysWorksWithArguments = (function () {
1464
1462
  // Safari 5.0 bug
@@ -1468,27 +1466,27 @@ keysShim$1.shim = function shimObjectKeys() {
1468
1466
  if (!keysWorksWithArguments) {
1469
1467
  Object.keys = function keys(object) { // eslint-disable-line func-name-matching
1470
1468
  if (isArguments(object)) {
1471
- return originalKeys(slice.call(object));
1469
+ return originalKeys(slice$1.call(object));
1472
1470
  }
1473
1471
  return originalKeys(object);
1474
1472
  };
1475
1473
  }
1476
1474
  } else {
1477
- Object.keys = keysShim$1;
1475
+ Object.keys = keysShim;
1478
1476
  }
1479
- return Object.keys || keysShim$1;
1477
+ return Object.keys || keysShim;
1480
1478
  };
1481
1479
 
1482
- var objectKeys = keysShim$1;
1480
+ var objectKeys = keysShim;
1483
1481
 
1484
- var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1482
+ var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1485
1483
 
1486
- var toStr$2 = Object.prototype.toString;
1484
+ var toStr$3 = Object.prototype.toString;
1487
1485
  var concat = Array.prototype.concat;
1488
1486
  var origDefineProperty = Object.defineProperty;
1489
1487
 
1490
1488
  var isFunction = function (fn) {
1491
- return typeof fn === 'function' && toStr$2.call(fn) === '[object Function]';
1489
+ return typeof fn === 'function' && toStr$3.call(fn) === '[object Function]';
1492
1490
  };
1493
1491
 
1494
1492
  var arePropertyDescriptorsSupported = function () {
@@ -1525,7 +1523,7 @@ var defineProperty = function (object, name, value, predicate) {
1525
1523
  var defineProperties = function (object, map) {
1526
1524
  var predicates = arguments.length > 2 ? arguments[2] : {};
1527
1525
  var props = objectKeys(map);
1528
- if (hasSymbols) {
1526
+ if (hasSymbols$4) {
1529
1527
  props = concat.call(props, Object.getOwnPropertySymbols(map));
1530
1528
  }
1531
1529
  for (var i = 0; i < props.length; i += 1) {
@@ -1537,6 +1535,59 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1537
1535
 
1538
1536
  var defineProperties_1 = defineProperties;
1539
1537
 
1538
+ /* eslint no-invalid-this: 1 */
1539
+
1540
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1541
+ var slice = Array.prototype.slice;
1542
+ var toStr$2 = Object.prototype.toString;
1543
+ var funcType = '[object Function]';
1544
+
1545
+ var implementation$2 = function bind(that) {
1546
+ var target = this;
1547
+ if (typeof target !== 'function' || toStr$2.call(target) !== funcType) {
1548
+ throw new TypeError(ERROR_MESSAGE + target);
1549
+ }
1550
+ var args = slice.call(arguments, 1);
1551
+
1552
+ var bound;
1553
+ var binder = function () {
1554
+ if (this instanceof bound) {
1555
+ var result = target.apply(
1556
+ this,
1557
+ args.concat(slice.call(arguments))
1558
+ );
1559
+ if (Object(result) === result) {
1560
+ return result;
1561
+ }
1562
+ return this;
1563
+ } else {
1564
+ return target.apply(
1565
+ that,
1566
+ args.concat(slice.call(arguments))
1567
+ );
1568
+ }
1569
+ };
1570
+
1571
+ var boundLength = Math.max(0, target.length - args.length);
1572
+ var boundArgs = [];
1573
+ for (var i = 0; i < boundLength; i++) {
1574
+ boundArgs.push('$' + i);
1575
+ }
1576
+
1577
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1578
+
1579
+ if (target.prototype) {
1580
+ var Empty = function Empty() {};
1581
+ Empty.prototype = target.prototype;
1582
+ bound.prototype = new Empty();
1583
+ Empty.prototype = null;
1584
+ }
1585
+
1586
+ return bound;
1587
+ };
1588
+
1589
+ var functionBind = Function.prototype.bind || implementation$2;
1590
+
1540
1591
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1541
1592
  var shams = function hasSymbols() {
1542
1593
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
@@ -1560,7 +1611,7 @@ var shams = function hasSymbols() {
1560
1611
 
1561
1612
  var symVal = 42;
1562
1613
  obj[sym] = symVal;
1563
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1614
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
1564
1615
  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1565
1616
 
1566
1617
  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
@@ -1578,10 +1629,10 @@ var shams = function hasSymbols() {
1578
1629
  return true;
1579
1630
  };
1580
1631
 
1581
- var origSymbol = commonjsGlobal.Symbol;
1632
+ var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1582
1633
 
1583
1634
 
1584
- var hasSymbols$1 = function hasNativeSymbols() {
1635
+ var hasSymbols$3 = function hasNativeSymbols() {
1585
1636
  if (typeof origSymbol !== 'function') { return false; }
1586
1637
  if (typeof Symbol !== 'function') { return false; }
1587
1638
  if (typeof origSymbol('foo') !== 'symbol') { return false; }
@@ -1590,79 +1641,34 @@ var hasSymbols$1 = function hasNativeSymbols() {
1590
1641
  return shams();
1591
1642
  };
1592
1643
 
1593
- /* eslint no-invalid-this: 1 */
1594
-
1595
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1596
- var slice$1 = Array.prototype.slice;
1597
- var toStr$3 = Object.prototype.toString;
1598
- var funcType = '[object Function]';
1599
-
1600
- var implementation$1 = function bind(that) {
1601
- var target = this;
1602
- if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1603
- throw new TypeError(ERROR_MESSAGE + target);
1604
- }
1605
- var args = slice$1.call(arguments, 1);
1606
-
1607
- var bound;
1608
- var binder = function () {
1609
- if (this instanceof bound) {
1610
- var result = target.apply(
1611
- this,
1612
- args.concat(slice$1.call(arguments))
1613
- );
1614
- if (Object(result) === result) {
1615
- return result;
1616
- }
1617
- return this;
1618
- } else {
1619
- return target.apply(
1620
- that,
1621
- args.concat(slice$1.call(arguments))
1622
- );
1623
- }
1624
- };
1625
-
1626
- var boundLength = Math.max(0, target.length - args.length);
1627
- var boundArgs = [];
1628
- for (var i = 0; i < boundLength; i++) {
1629
- boundArgs.push('$' + i);
1630
- }
1644
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1631
1645
 
1632
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1646
+ var undefined$1;
1633
1647
 
1634
- if (target.prototype) {
1635
- var Empty = function Empty() {};
1636
- Empty.prototype = target.prototype;
1637
- bound.prototype = new Empty();
1638
- Empty.prototype = null;
1639
- }
1648
+ var $SyntaxError$1 = SyntaxError;
1649
+ var $Function = Function;
1650
+ var $TypeError$5 = TypeError;
1640
1651
 
1641
- return bound;
1652
+ // eslint-disable-next-line consistent-return
1653
+ var getEvalledConstructor = function (expressionSyntax) {
1654
+ try {
1655
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1656
+ } catch (e) {}
1642
1657
  };
1643
1658
 
1644
- var functionBind = Function.prototype.bind || implementation$1;
1645
-
1646
- /* globals
1647
- Atomics,
1648
- SharedArrayBuffer,
1649
- */
1650
-
1651
- var undefined$1;
1652
-
1653
- var $TypeError = TypeError;
1654
-
1655
- var $gOPD = Object.getOwnPropertyDescriptor;
1656
- if ($gOPD) {
1659
+ var $gOPD$2 = Object.getOwnPropertyDescriptor;
1660
+ if ($gOPD$2) {
1657
1661
  try {
1658
- $gOPD({}, '');
1662
+ $gOPD$2({}, '');
1659
1663
  } catch (e) {
1660
- $gOPD = null; // this is IE 8, which has a broken gOPD
1664
+ $gOPD$2 = null; // this is IE 8, which has a broken gOPD
1661
1665
  }
1662
1666
  }
1663
1667
 
1664
- var throwTypeError = function () { throw new $TypeError(); };
1665
- var ThrowTypeError = $gOPD
1668
+ var throwTypeError = function () {
1669
+ throw new $TypeError$5();
1670
+ };
1671
+ var ThrowTypeError = $gOPD$2
1666
1672
  ? (function () {
1667
1673
  try {
1668
1674
  // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
@@ -1671,7 +1677,7 @@ var ThrowTypeError = $gOPD
1671
1677
  } catch (calleeThrows) {
1672
1678
  try {
1673
1679
  // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1674
- return $gOPD(arguments, 'callee').get;
1680
+ return $gOPD$2(arguments, 'callee').get;
1675
1681
  } catch (gOPDthrows) {
1676
1682
  return throwTypeError;
1677
1683
  }
@@ -1679,173 +1685,268 @@ var ThrowTypeError = $gOPD
1679
1685
  }())
1680
1686
  : throwTypeError;
1681
1687
 
1682
- var hasSymbols$2 = hasSymbols$1();
1688
+ var hasSymbols$2 = hasSymbols$3();
1683
1689
 
1684
1690
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1685
- var generatorFunction = undefined$1;
1686
- var asyncFunction = undefined$1;
1687
- var asyncGenFunction = undefined$1;
1691
+
1692
+ var needsEval = {};
1688
1693
 
1689
1694
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1690
1695
 
1691
1696
  var INTRINSICS = {
1697
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1692
1698
  '%Array%': Array,
1693
1699
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1694
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1695
1700
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1696
- '%ArrayPrototype%': Array.prototype,
1697
- '%ArrayProto_entries%': Array.prototype.entries,
1698
- '%ArrayProto_forEach%': Array.prototype.forEach,
1699
- '%ArrayProto_keys%': Array.prototype.keys,
1700
- '%ArrayProto_values%': Array.prototype.values,
1701
1701
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1702
- '%AsyncFunction%': asyncFunction,
1703
- '%AsyncFunctionPrototype%': undefined$1,
1704
- '%AsyncGenerator%': undefined$1,
1705
- '%AsyncGeneratorFunction%': asyncGenFunction,
1706
- '%AsyncGeneratorPrototype%': undefined$1,
1707
- '%AsyncIteratorPrototype%': undefined$1,
1702
+ '%AsyncFunction%': needsEval,
1703
+ '%AsyncGenerator%': needsEval,
1704
+ '%AsyncGeneratorFunction%': needsEval,
1705
+ '%AsyncIteratorPrototype%': needsEval,
1708
1706
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1707
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1709
1708
  '%Boolean%': Boolean,
1710
- '%BooleanPrototype%': Boolean.prototype,
1711
1709
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1712
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1713
1710
  '%Date%': Date,
1714
- '%DatePrototype%': Date.prototype,
1715
1711
  '%decodeURI%': decodeURI,
1716
1712
  '%decodeURIComponent%': decodeURIComponent,
1717
1713
  '%encodeURI%': encodeURI,
1718
1714
  '%encodeURIComponent%': encodeURIComponent,
1719
1715
  '%Error%': Error,
1720
- '%ErrorPrototype%': Error.prototype,
1721
1716
  '%eval%': eval, // eslint-disable-line no-eval
1722
1717
  '%EvalError%': EvalError,
1723
- '%EvalErrorPrototype%': EvalError.prototype,
1724
1718
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1725
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1726
1719
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1727
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1728
- '%Function%': Function,
1729
- '%FunctionPrototype%': Function.prototype,
1730
- '%Generator%': undefined$1,
1731
- '%GeneratorFunction%': generatorFunction,
1732
- '%GeneratorPrototype%': undefined$1,
1720
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1721
+ '%Function%': $Function,
1722
+ '%GeneratorFunction%': needsEval,
1733
1723
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1734
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1735
1724
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1736
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1737
1725
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1738
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1739
1726
  '%isFinite%': isFinite,
1740
1727
  '%isNaN%': isNaN,
1741
1728
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1742
1729
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1743
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1744
1730
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1745
1731
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1746
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1747
1732
  '%Math%': Math,
1748
1733
  '%Number%': Number,
1749
- '%NumberPrototype%': Number.prototype,
1750
1734
  '%Object%': Object,
1751
- '%ObjectPrototype%': Object.prototype,
1752
- '%ObjProto_toString%': Object.prototype.toString,
1753
- '%ObjProto_valueOf%': Object.prototype.valueOf,
1754
1735
  '%parseFloat%': parseFloat,
1755
1736
  '%parseInt%': parseInt,
1756
1737
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1757
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1758
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1759
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1760
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1761
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1762
1738
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1763
1739
  '%RangeError%': RangeError,
1764
- '%RangeErrorPrototype%': RangeError.prototype,
1765
1740
  '%ReferenceError%': ReferenceError,
1766
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
1767
1741
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1768
1742
  '%RegExp%': RegExp,
1769
- '%RegExpPrototype%': RegExp.prototype,
1770
1743
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1771
1744
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1772
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1773
1745
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1774
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1775
1746
  '%String%': String,
1776
1747
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1777
- '%StringPrototype%': String.prototype,
1778
1748
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1779
- '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1780
- '%SyntaxError%': SyntaxError,
1781
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
1749
+ '%SyntaxError%': $SyntaxError$1,
1782
1750
  '%ThrowTypeError%': ThrowTypeError,
1783
1751
  '%TypedArray%': TypedArray,
1784
- '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1785
- '%TypeError%': $TypeError,
1786
- '%TypeErrorPrototype%': $TypeError.prototype,
1752
+ '%TypeError%': $TypeError$5,
1787
1753
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1788
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1789
1754
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1790
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1791
1755
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1792
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1793
1756
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1794
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1795
1757
  '%URIError%': URIError,
1796
- '%URIErrorPrototype%': URIError.prototype,
1797
1758
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1798
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1799
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1800
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1759
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1760
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1801
1761
  };
1802
1762
 
1763
+ var doEval = function doEval(name) {
1764
+ var value;
1765
+ if (name === '%AsyncFunction%') {
1766
+ value = getEvalledConstructor('async function () {}');
1767
+ } else if (name === '%GeneratorFunction%') {
1768
+ value = getEvalledConstructor('function* () {}');
1769
+ } else if (name === '%AsyncGeneratorFunction%') {
1770
+ value = getEvalledConstructor('async function* () {}');
1771
+ } else if (name === '%AsyncGenerator%') {
1772
+ var fn = doEval('%AsyncGeneratorFunction%');
1773
+ if (fn) {
1774
+ value = fn.prototype;
1775
+ }
1776
+ } else if (name === '%AsyncIteratorPrototype%') {
1777
+ var gen = doEval('%AsyncGenerator%');
1778
+ if (gen) {
1779
+ value = getProto(gen.prototype);
1780
+ }
1781
+ }
1782
+
1783
+ INTRINSICS[name] = value;
1803
1784
 
1785
+ return value;
1786
+ };
1787
+
1788
+ var LEGACY_ALIASES = {
1789
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1790
+ '%ArrayPrototype%': ['Array', 'prototype'],
1791
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1792
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1793
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1794
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1795
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1796
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1797
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1798
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1799
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1800
+ '%DatePrototype%': ['Date', 'prototype'],
1801
+ '%ErrorPrototype%': ['Error', 'prototype'],
1802
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1803
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1804
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1805
+ '%FunctionPrototype%': ['Function', 'prototype'],
1806
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1807
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1808
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1809
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1810
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1811
+ '%JSONParse%': ['JSON', 'parse'],
1812
+ '%JSONStringify%': ['JSON', 'stringify'],
1813
+ '%MapPrototype%': ['Map', 'prototype'],
1814
+ '%NumberPrototype%': ['Number', 'prototype'],
1815
+ '%ObjectPrototype%': ['Object', 'prototype'],
1816
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1817
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1818
+ '%PromisePrototype%': ['Promise', 'prototype'],
1819
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1820
+ '%Promise_all%': ['Promise', 'all'],
1821
+ '%Promise_reject%': ['Promise', 'reject'],
1822
+ '%Promise_resolve%': ['Promise', 'resolve'],
1823
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1824
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1825
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1826
+ '%SetPrototype%': ['Set', 'prototype'],
1827
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1828
+ '%StringPrototype%': ['String', 'prototype'],
1829
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1830
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1831
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1832
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1833
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1834
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1835
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1836
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1837
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1838
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1839
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1840
+ };
1841
+
1842
+
1843
+
1844
+ var $concat$2 = functionBind.call(Function.call, Array.prototype.concat);
1845
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1804
1846
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1847
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1805
1848
 
1806
1849
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1807
1850
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1808
1851
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1809
1852
  var stringToPath = function stringToPath(string) {
1853
+ var first = $strSlice(string, 0, 1);
1854
+ var last = $strSlice(string, -1);
1855
+ if (first === '%' && last !== '%') {
1856
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected closing `%`');
1857
+ } else if (last === '%' && first !== '%') {
1858
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected opening `%`');
1859
+ }
1810
1860
  var result = [];
1811
1861
  $replace(string, rePropName, function (match, number, quote, subString) {
1812
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1862
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1813
1863
  });
1814
1864
  return result;
1815
1865
  };
1816
1866
  /* end adaptation */
1817
1867
 
1818
1868
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1819
- if (!(name in INTRINSICS)) {
1820
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1869
+ var intrinsicName = name;
1870
+ var alias;
1871
+ if (src(LEGACY_ALIASES, intrinsicName)) {
1872
+ alias = LEGACY_ALIASES[intrinsicName];
1873
+ intrinsicName = '%' + alias[0] + '%';
1821
1874
  }
1822
1875
 
1823
- // istanbul ignore if // hopefully this is impossible to test :-)
1824
- if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
1825
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1876
+ if (src(INTRINSICS, intrinsicName)) {
1877
+ var value = INTRINSICS[intrinsicName];
1878
+ if (value === needsEval) {
1879
+ value = doEval(intrinsicName);
1880
+ }
1881
+ if (typeof value === 'undefined' && !allowMissing) {
1882
+ throw new $TypeError$5('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1883
+ }
1884
+
1885
+ return {
1886
+ alias: alias,
1887
+ name: intrinsicName,
1888
+ value: value
1889
+ };
1826
1890
  }
1827
1891
 
1828
- return INTRINSICS[name];
1892
+ throw new $SyntaxError$1('intrinsic ' + name + ' does not exist!');
1829
1893
  };
1830
1894
 
1831
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1895
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1832
1896
  if (typeof name !== 'string' || name.length === 0) {
1833
- throw new TypeError('intrinsic name must be a non-empty string');
1897
+ throw new $TypeError$5('intrinsic name must be a non-empty string');
1834
1898
  }
1835
1899
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1836
- throw new TypeError('"allowMissing" argument must be a boolean');
1900
+ throw new $TypeError$5('"allowMissing" argument must be a boolean');
1837
1901
  }
1838
1902
 
1839
1903
  var parts = stringToPath(name);
1904
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1905
+
1906
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1907
+ var intrinsicRealName = intrinsic.name;
1908
+ var value = intrinsic.value;
1909
+ var skipFurtherCaching = false;
1910
+
1911
+ var alias = intrinsic.alias;
1912
+ if (alias) {
1913
+ intrinsicBaseName = alias[0];
1914
+ $spliceApply(parts, $concat$2([0, 1], alias));
1915
+ }
1916
+
1917
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1918
+ var part = parts[i];
1919
+ var first = $strSlice(part, 0, 1);
1920
+ var last = $strSlice(part, -1);
1921
+ if (
1922
+ (
1923
+ (first === '"' || first === "'" || first === '`')
1924
+ || (last === '"' || last === "'" || last === '`')
1925
+ )
1926
+ && first !== last
1927
+ ) {
1928
+ throw new $SyntaxError$1('property names with quotes must have matching quotes');
1929
+ }
1930
+ if (part === 'constructor' || !isOwn) {
1931
+ skipFurtherCaching = true;
1932
+ }
1933
+
1934
+ intrinsicBaseName += '.' + part;
1935
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
1840
1936
 
1841
- var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
1842
- for (var i = 1; i < parts.length; i += 1) {
1843
- if (value != null) {
1844
- if ($gOPD && (i + 1) >= parts.length) {
1845
- var desc = $gOPD(value, parts[i]);
1846
- if (!allowMissing && !(parts[i] in value)) {
1847
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1937
+ if (src(INTRINSICS, intrinsicRealName)) {
1938
+ value = INTRINSICS[intrinsicRealName];
1939
+ } else if (value != null) {
1940
+ if (!(part in value)) {
1941
+ if (!allowMissing) {
1942
+ throw new $TypeError$5('base intrinsic for ' + name + ' exists, but the property is not available.');
1848
1943
  }
1944
+ return void undefined$1;
1945
+ }
1946
+ if ($gOPD$2 && (i + 1) >= parts.length) {
1947
+ var desc = $gOPD$2(value, part);
1948
+ isOwn = !!desc;
1949
+
1849
1950
  // By convention, when a data property is converted to an accessor
1850
1951
  // property to emulate a data property that does not suffer from
1851
1952
  // the override mistake, that accessor's getter is marked with
@@ -1853,9 +1954,18 @@ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1853
1954
  // uphold the illusion by pretending to see that original data
1854
1955
  // property, i.e., returning the value rather than the getter
1855
1956
  // itself.
1856
- value = desc && 'get' in desc && !('originalValue' in desc.get) ? desc.get : value[parts[i]];
1957
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1958
+ value = desc.get;
1959
+ } else {
1960
+ value = value[part];
1961
+ }
1857
1962
  } else {
1858
- value = value[parts[i]];
1963
+ isOwn = src(value, part);
1964
+ value = value[part];
1965
+ }
1966
+
1967
+ if (isOwn && !skipFurtherCaching) {
1968
+ INTRINSICS[intrinsicRealName] = value;
1859
1969
  }
1860
1970
  }
1861
1971
  }
@@ -1867,12 +1977,13 @@ var callBind = createCommonjsModule(function (module) {
1867
1977
 
1868
1978
 
1869
1979
 
1980
+ var $apply = getIntrinsic('%Function.prototype.apply%');
1981
+ var $call = getIntrinsic('%Function.prototype.call%');
1982
+ var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1870
1983
 
1871
- var $apply = GetIntrinsic('%Function.prototype.apply%');
1872
- var $call = GetIntrinsic('%Function.prototype.call%');
1873
- var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1874
-
1875
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
1984
+ var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1985
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1986
+ var $max = getIntrinsic('%Math.max%');
1876
1987
 
1877
1988
  if ($defineProperty) {
1878
1989
  try {
@@ -1883,8 +1994,20 @@ if ($defineProperty) {
1883
1994
  }
1884
1995
  }
1885
1996
 
1886
- module.exports = function callBind() {
1887
- return $reflectApply(functionBind, $call, arguments);
1997
+ module.exports = function callBind(originalFunction) {
1998
+ var func = $reflectApply(functionBind, $call, arguments);
1999
+ if ($gOPD && $defineProperty) {
2000
+ var desc = $gOPD(func, 'length');
2001
+ if (desc.configurable) {
2002
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
2003
+ $defineProperty(
2004
+ func,
2005
+ 'length',
2006
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2007
+ );
2008
+ }
2009
+ }
2010
+ return func;
1888
2011
  };
1889
2012
 
1890
2013
  var applyBind = function applyBind() {
@@ -1897,19 +2020,19 @@ if ($defineProperty) {
1897
2020
  module.exports.apply = applyBind;
1898
2021
  }
1899
2022
  });
1900
- var callBind_1 = callBind.apply;
2023
+ callBind.apply;
1901
2024
 
1902
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2025
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
1903
2026
 
1904
- var callBound = function callBoundIntrinsic(name, allowMissing) {
1905
- var intrinsic = GetIntrinsic(name, !!allowMissing);
1906
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2027
+ var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2028
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2029
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1907
2030
  return callBind(intrinsic);
1908
2031
  }
1909
2032
  return intrinsic;
1910
2033
  };
1911
2034
 
1912
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2035
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1913
2036
 
1914
2037
  if ($defineProperty) {
1915
2038
  try {
@@ -1922,7 +2045,7 @@ if ($defineProperty) {
1922
2045
 
1923
2046
 
1924
2047
 
1925
- var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
2048
+ var $isEnumerable$1 = callBound$1('Object.prototype.propertyIsEnumerable');
1926
2049
 
1927
2050
  // eslint-disable-next-line max-params
1928
2051
  var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
@@ -1936,7 +2059,7 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1936
2059
  }
1937
2060
 
1938
2061
  // fallback for ES3
1939
- if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {
2062
+ if (P in O && $isEnumerable$1(O, P) !== !!desc['[[Enumerable]]']) {
1940
2063
  // a non-enumerable existing property
1941
2064
  return false;
1942
2065
  }
@@ -1951,15 +2074,13 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1951
2074
  return true;
1952
2075
  };
1953
2076
 
1954
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1955
-
1956
- var $TypeError$1 = GetIntrinsic('%TypeError%');
1957
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2077
+ var $TypeError$4 = getIntrinsic('%TypeError%');
2078
+ var $SyntaxError = getIntrinsic('%SyntaxError%');
1958
2079
 
1959
2080
 
1960
2081
 
1961
2082
  var predicates = {
1962
- // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type
2083
+ // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
1963
2084
  'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
1964
2085
  if (Type(Desc) !== 'Object') {
1965
2086
  return false;
@@ -1982,7 +2103,7 @@ var predicates = {
1982
2103
  var isData = src(Desc, '[[Value]]');
1983
2104
  var IsAccessor = src(Desc, '[[Get]]') || src(Desc, '[[Set]]');
1984
2105
  if (isData && IsAccessor) {
1985
- throw new $TypeError$1('Property Descriptors may not be both accessor and data descriptors');
2106
+ throw new $TypeError$4('Property Descriptors may not be both accessor and data descriptors');
1986
2107
  }
1987
2108
  return true;
1988
2109
  }
@@ -1994,13 +2115,13 @@ var assertRecord = function assertRecord(Type, recordType, argumentName, value)
1994
2115
  throw new $SyntaxError('unknown record type: ' + recordType);
1995
2116
  }
1996
2117
  if (!predicate(Type, value)) {
1997
- throw new $TypeError$1(argumentName + ' must be a ' + recordType);
2118
+ throw new $TypeError$4(argumentName + ' must be a ' + recordType);
1998
2119
  }
1999
2120
  };
2000
2121
 
2001
- // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2122
+ // https://262.ecma-international.org/5.1/#sec-8
2002
2123
 
2003
- var Type = function Type(x) {
2124
+ var Type$1 = function Type(x) {
2004
2125
  if (x === null) {
2005
2126
  return 'Null';
2006
2127
  }
@@ -2021,23 +2142,26 @@ var Type = function Type(x) {
2021
2142
  }
2022
2143
  };
2023
2144
 
2024
- // https://ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values
2145
+ // https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
2025
2146
 
2026
- var Type$1 = function Type$1(x) {
2147
+ var Type = function Type(x) {
2027
2148
  if (typeof x === 'symbol') {
2028
2149
  return 'Symbol';
2029
2150
  }
2030
- return Type(x);
2151
+ if (typeof x === 'bigint') {
2152
+ return 'BigInt';
2153
+ }
2154
+ return Type$1(x);
2031
2155
  };
2032
2156
 
2033
- // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2157
+ // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2034
2158
 
2035
2159
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2036
2160
  if (typeof Desc === 'undefined') {
2037
2161
  return Desc;
2038
2162
  }
2039
2163
 
2040
- assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2164
+ assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2041
2165
 
2042
2166
  var obj = {};
2043
2167
  if ('[[Value]]' in Desc) {
@@ -2061,7 +2185,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2061
2185
  return obj;
2062
2186
  };
2063
2187
 
2064
- var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2188
+ var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2065
2189
  if ($gOPD$1) {
2066
2190
  try {
2067
2191
  $gOPD$1([], 'length');
@@ -2073,33 +2197,33 @@ if ($gOPD$1) {
2073
2197
 
2074
2198
  var getOwnPropertyDescriptor = $gOPD$1;
2075
2199
 
2076
- var $Array = GetIntrinsic('%Array%');
2200
+ var $Array = getIntrinsic('%Array%');
2077
2201
 
2078
2202
  // eslint-disable-next-line global-require
2079
- var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2203
+ var toStr$1 = !$Array.isArray && callBound$1('Object.prototype.toString');
2080
2204
 
2081
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2205
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2082
2206
 
2083
2207
  var IsArray = $Array.isArray || function IsArray(argument) {
2084
- return toStr$4(argument) === '[object Array]';
2208
+ return toStr$1(argument) === '[object Array]';
2085
2209
  };
2086
2210
 
2087
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2211
+ // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2088
2212
 
2089
2213
  var IsPropertyKey = function IsPropertyKey(argument) {
2090
2214
  return typeof argument === 'string' || typeof argument === 'symbol';
2091
2215
  };
2092
2216
 
2093
- var hasSymbols$3 = hasSymbols$1();
2094
- var hasToStringTag = hasSymbols$3 && typeof Symbol.toStringTag === 'symbol';
2095
- var hasOwnProperty;
2096
- var regexExec;
2217
+ var hasSymbols$1 = hasSymbols$3();
2218
+ var hasToStringTag$1 = hasSymbols$1 && typeof Symbol.toStringTag === 'symbol';
2219
+ var has;
2220
+ var $exec;
2097
2221
  var isRegexMarker;
2098
2222
  var badStringifier;
2099
2223
 
2100
- if (hasToStringTag) {
2101
- hasOwnProperty = Function.call.bind(Object.prototype.hasOwnProperty);
2102
- regexExec = Function.call.bind(RegExp.prototype.exec);
2224
+ if (hasToStringTag$1) {
2225
+ has = callBound$1('Object.prototype.hasOwnProperty');
2226
+ $exec = callBound$1('RegExp.prototype.exec');
2103
2227
  isRegexMarker = {};
2104
2228
 
2105
2229
  var throwRegexMarker = function () {
@@ -2115,11 +2239,11 @@ if (hasToStringTag) {
2115
2239
  }
2116
2240
  }
2117
2241
 
2118
- var toStr$5 = Object.prototype.toString;
2242
+ var $toString = callBound$1('Object.prototype.toString');
2119
2243
  var gOPD = Object.getOwnPropertyDescriptor;
2120
2244
  var regexClass = '[object RegExp]';
2121
2245
 
2122
- var isRegex = hasToStringTag
2246
+ var isRegex = hasToStringTag$1
2123
2247
  // eslint-disable-next-line consistent-return
2124
2248
  ? function isRegex(value) {
2125
2249
  if (!value || typeof value !== 'object') {
@@ -2127,13 +2251,13 @@ var isRegex = hasToStringTag
2127
2251
  }
2128
2252
 
2129
2253
  var descriptor = gOPD(value, 'lastIndex');
2130
- var hasLastIndexDataProperty = descriptor && hasOwnProperty(descriptor, 'value');
2254
+ var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
2131
2255
  if (!hasLastIndexDataProperty) {
2132
2256
  return false;
2133
2257
  }
2134
2258
 
2135
2259
  try {
2136
- regexExec(value, badStringifier);
2260
+ $exec(value, badStringifier);
2137
2261
  } catch (e) {
2138
2262
  return e === isRegexMarker;
2139
2263
  }
@@ -2144,14 +2268,14 @@ var isRegex = hasToStringTag
2144
2268
  return false;
2145
2269
  }
2146
2270
 
2147
- return toStr$5.call(value) === regexClass;
2271
+ return $toString(value) === regexClass;
2148
2272
  };
2149
2273
 
2150
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2274
+ // http://262.ecma-international.org/5.1/#sec-9.2
2151
2275
 
2152
2276
  var ToBoolean = function ToBoolean(value) { return !!value; };
2153
2277
 
2154
- var $match = GetIntrinsic('%Symbol.match%', true);
2278
+ var $match = getIntrinsic('%Symbol.match%', true);
2155
2279
 
2156
2280
 
2157
2281
 
@@ -2214,13 +2338,16 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2214
2338
  return false;
2215
2339
  }
2216
2340
  };
2217
- var toStr$6 = Object.prototype.toString;
2341
+ var toStr = Object.prototype.toString;
2218
2342
  var fnClass = '[object Function]';
2219
2343
  var genClass = '[object GeneratorFunction]';
2220
- var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2344
+ var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2345
+ /* globals document: false */
2346
+ var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2221
2347
 
2222
2348
  var isCallable = reflectApply
2223
2349
  ? function isCallable(value) {
2350
+ if (value === documentDotAll) { return true; }
2224
2351
  if (!value) { return false; }
2225
2352
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2226
2353
  if (typeof value === 'function' && !value.prototype) { return true; }
@@ -2232,30 +2359,31 @@ var isCallable = reflectApply
2232
2359
  return !isES6ClassFn(value);
2233
2360
  }
2234
2361
  : function isCallable(value) {
2362
+ if (value === documentDotAll) { return true; }
2235
2363
  if (!value) { return false; }
2236
2364
  if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2237
2365
  if (typeof value === 'function' && !value.prototype) { return true; }
2238
- if (hasToStringTag$1) { return tryFunctionObject(value); }
2366
+ if (hasToStringTag) { return tryFunctionObject(value); }
2239
2367
  if (isES6ClassFn(value)) { return false; }
2240
- var strClass = toStr$6.call(value);
2368
+ var strClass = toStr.call(value);
2241
2369
  return strClass === fnClass || strClass === genClass;
2242
2370
  };
2243
2371
 
2244
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2372
+ // http://262.ecma-international.org/5.1/#sec-9.11
2245
2373
 
2246
2374
  var IsCallable = isCallable;
2247
2375
 
2248
- var $TypeError$2 = GetIntrinsic('%TypeError%');
2376
+ var $TypeError$3 = getIntrinsic('%TypeError%');
2249
2377
 
2250
2378
 
2251
2379
 
2252
2380
 
2253
2381
 
2254
- // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
2382
+ // https://262.ecma-international.org/5.1/#sec-8.10.5
2255
2383
 
2256
2384
  var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2257
- if (Type$1(Obj) !== 'Object') {
2258
- throw new $TypeError$2('ToPropertyDescriptor requires an object');
2385
+ if (Type(Obj) !== 'Object') {
2386
+ throw new $TypeError$3('ToPropertyDescriptor requires an object');
2259
2387
  }
2260
2388
 
2261
2389
  var desc = {};
@@ -2274,29 +2402,29 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2274
2402
  if (src(Obj, 'get')) {
2275
2403
  var getter = Obj.get;
2276
2404
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2277
- throw new $TypeError$2('getter must be a function');
2405
+ throw new $TypeError$3('getter must be a function');
2278
2406
  }
2279
2407
  desc['[[Get]]'] = getter;
2280
2408
  }
2281
2409
  if (src(Obj, 'set')) {
2282
2410
  var setter = Obj.set;
2283
2411
  if (typeof setter !== 'undefined' && !IsCallable(setter)) {
2284
- throw new $TypeError$2('setter must be a function');
2412
+ throw new $TypeError$3('setter must be a function');
2285
2413
  }
2286
2414
  desc['[[Set]]'] = setter;
2287
2415
  }
2288
2416
 
2289
2417
  if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
2290
- throw new $TypeError$2('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2418
+ throw new $TypeError$3('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2291
2419
  }
2292
2420
  return desc;
2293
2421
  };
2294
2422
 
2295
- var $TypeError$3 = GetIntrinsic('%TypeError%');
2423
+ var $TypeError$2 = getIntrinsic('%TypeError%');
2296
2424
 
2297
2425
 
2298
2426
 
2299
- var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2427
+ var $isEnumerable = callBound$1('Object.prototype.propertyIsEnumerable');
2300
2428
 
2301
2429
 
2302
2430
 
@@ -2306,14 +2434,14 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2306
2434
 
2307
2435
 
2308
2436
 
2309
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2437
+ // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2310
2438
 
2311
2439
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2312
- if (Type$1(O) !== 'Object') {
2313
- throw new $TypeError$3('Assertion failed: O must be an Object');
2440
+ if (Type(O) !== 'Object') {
2441
+ throw new $TypeError$2('Assertion failed: O must be an Object');
2314
2442
  }
2315
2443
  if (!IsPropertyKey(P)) {
2316
- throw new $TypeError$3('Assertion failed: P must be a Property Key');
2444
+ throw new $TypeError$2('Assertion failed: P must be a Property Key');
2317
2445
  }
2318
2446
  if (!src(O, P)) {
2319
2447
  return void 0;
@@ -2324,7 +2452,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2324
2452
  var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
2325
2453
  return {
2326
2454
  '[[Configurable]]': !(arrayLength || regexLastIndex),
2327
- '[[Enumerable]]': $isEnumerable$1(O, P),
2455
+ '[[Enumerable]]': $isEnumerable(O, P),
2328
2456
  '[[Value]]': O[P],
2329
2457
  '[[Writable]]': true
2330
2458
  };
@@ -2332,14 +2460,14 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2332
2460
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2333
2461
  };
2334
2462
 
2335
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2463
+ // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2336
2464
 
2337
2465
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2338
2466
  if (typeof Desc === 'undefined') {
2339
2467
  return false;
2340
2468
  }
2341
2469
 
2342
- assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2470
+ assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2343
2471
 
2344
2472
  if (!src(Desc, '[[Value]]') && !src(Desc, '[[Writable]]')) {
2345
2473
  return false;
@@ -2352,14 +2480,14 @@ var isPrimitive = function isPrimitive(value) {
2352
2480
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2353
2481
  };
2354
2482
 
2355
- var $Object = GetIntrinsic('%Object%');
2483
+ var $Object$1 = getIntrinsic('%Object%');
2356
2484
 
2357
2485
 
2358
2486
 
2359
- var $preventExtensions = $Object.preventExtensions;
2360
- var $isExtensible = $Object.isExtensible;
2487
+ var $preventExtensions = $Object$1.preventExtensions;
2488
+ var $isExtensible = $Object$1.isExtensible;
2361
2489
 
2362
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2490
+ // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2363
2491
 
2364
2492
  var IsExtensible = $preventExtensions
2365
2493
  ? function IsExtensible(obj) {
@@ -2373,7 +2501,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2373
2501
  return a !== a;
2374
2502
  };
2375
2503
 
2376
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2504
+ // http://262.ecma-international.org/5.1/#sec-9.12
2377
2505
 
2378
2506
  var SameValue = function SameValue(x, y) {
2379
2507
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2383,7 +2511,7 @@ var SameValue = function SameValue(x, y) {
2383
2511
  return _isNaN(x) && _isNaN(y);
2384
2512
  };
2385
2513
 
2386
- var $TypeError$4 = GetIntrinsic('%TypeError%');
2514
+ var $TypeError$1 = getIntrinsic('%TypeError%');
2387
2515
 
2388
2516
 
2389
2517
 
@@ -2395,14 +2523,14 @@ var $TypeError$4 = GetIntrinsic('%TypeError%');
2395
2523
 
2396
2524
 
2397
2525
 
2398
- // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2526
+ // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2399
2527
 
2400
2528
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2401
- if (Type$1(O) !== 'Object') {
2402
- throw new $TypeError$4('Assertion failed: Type(O) is not Object');
2529
+ if (Type(O) !== 'Object') {
2530
+ throw new $TypeError$1('Assertion failed: Type(O) is not Object');
2403
2531
  }
2404
2532
  if (!IsPropertyKey(P)) {
2405
- throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2533
+ throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');
2406
2534
  }
2407
2535
  var oldDesc = OrdinaryGetOwnProperty(O, P);
2408
2536
  var extensible = !oldDesc || IsExtensible(O);
@@ -2425,44 +2553,44 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2425
2553
  );
2426
2554
  };
2427
2555
 
2428
- var $TypeError$5 = GetIntrinsic('%TypeError%');
2556
+ var $TypeError = getIntrinsic('%TypeError%');
2429
2557
 
2430
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2558
+ // http://262.ecma-international.org/5.1/#sec-9.10
2431
2559
 
2432
2560
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2433
2561
  if (value == null) {
2434
- throw new $TypeError$5(optMessage || ('Cannot call method on ' + value));
2562
+ throw new $TypeError(optMessage || ('Cannot call method on ' + value));
2435
2563
  }
2436
2564
  return value;
2437
2565
  };
2438
2566
 
2439
2567
  var RequireObjectCoercible = CheckObjectCoercible;
2440
2568
 
2441
- var $Object$1 = GetIntrinsic('%Object%');
2569
+ var $Object = getIntrinsic('%Object%');
2442
2570
 
2443
2571
 
2444
2572
 
2445
- // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2573
+ // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2446
2574
 
2447
2575
  var ToObject = function ToObject(value) {
2448
2576
  RequireObjectCoercible(value);
2449
- return $Object$1(value);
2577
+ return $Object(value);
2450
2578
  };
2451
2579
 
2452
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
2580
+ var $gOPD = Object.getOwnPropertyDescriptor;
2453
2581
  var $getOwnNames = Object.getOwnPropertyNames;
2454
2582
  var $getSymbols = Object.getOwnPropertySymbols;
2455
- var $concat = callBound('Array.prototype.concat');
2456
- var $reduce = callBound('Array.prototype.reduce');
2583
+ var $concat$1 = callBound$1('Array.prototype.concat');
2584
+ var $reduce = callBound$1('Array.prototype.reduce');
2457
2585
  var getAll = $getSymbols ? function (obj) {
2458
- return $concat($getOwnNames(obj), $getSymbols(obj));
2586
+ return $concat$1($getOwnNames(obj), $getSymbols(obj));
2459
2587
  } : $getOwnNames;
2460
2588
 
2461
- var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
2589
+ var isES5$1 = IsCallable($gOPD) && IsCallable($getOwnNames);
2462
2590
 
2463
- var implementation$2 = function getOwnPropertyDescriptors(value) {
2591
+ var implementation$1 = function getOwnPropertyDescriptors(value) {
2464
2592
  RequireObjectCoercible(value);
2465
- if (!isES5) {
2593
+ if (!isES5$1) {
2466
2594
  throw new TypeError('getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor');
2467
2595
  }
2468
2596
 
@@ -2470,7 +2598,7 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
2470
2598
  return $reduce(
2471
2599
  getAll(O),
2472
2600
  function (acc, key) {
2473
- var descriptor = $gOPD$2(O, key);
2601
+ var descriptor = $gOPD(O, key);
2474
2602
  if (typeof descriptor !== 'undefined') {
2475
2603
  CreateDataProperty(acc, key, descriptor);
2476
2604
  }
@@ -2480,34 +2608,40 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
2480
2608
  );
2481
2609
  };
2482
2610
 
2483
- var polyfill = function getPolyfill() {
2484
- return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$2;
2611
+ var polyfill$2 = function getPolyfill() {
2612
+ return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$1;
2485
2613
  };
2486
2614
 
2487
- var shim = function shimGetOwnPropertyDescriptors() {
2488
- var polyfill$1 = polyfill();
2615
+ var shim$1 = function shimGetOwnPropertyDescriptors() {
2616
+ var polyfill = polyfill$2();
2489
2617
  defineProperties_1(
2490
2618
  Object,
2491
- { getOwnPropertyDescriptors: polyfill$1 },
2492
- { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill$1; } }
2619
+ { getOwnPropertyDescriptors: polyfill },
2620
+ { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill; } }
2493
2621
  );
2494
- return polyfill$1;
2622
+ return polyfill;
2495
2623
  };
2496
2624
 
2497
- defineProperties_1(implementation$2, {
2498
- getPolyfill: polyfill,
2499
- implementation: implementation$2,
2500
- shim: shim
2625
+ var bound = callBind(polyfill$2(), Object);
2626
+
2627
+ defineProperties_1(bound, {
2628
+ getPolyfill: polyfill$2,
2629
+ implementation: implementation$1,
2630
+ shim: shim$1
2501
2631
  });
2502
2632
 
2503
- var object_getownpropertydescriptors = implementation$2;
2633
+ var object_getownpropertydescriptors = bound;
2634
+
2635
+ // TODO; semver-major: remove
2636
+
2637
+ var callBound = callBound$1;
2504
2638
 
2505
- var isES5$1 = typeof Object.defineProperty === 'function'
2639
+ var isES5 = typeof Object.defineProperty === 'function'
2506
2640
  && typeof Object.defineProperties === 'function';
2507
2641
 
2508
2642
  var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto
2509
2643
 
2510
- if (!isES5$1 || !hasProto) {
2644
+ if (!isES5 || !hasProto) {
2511
2645
  throw new TypeError('util.promisify requires a true ES5 environment, that also supports `__proto__`');
2512
2646
  }
2513
2647
 
@@ -2520,15 +2654,15 @@ if (typeof Promise !== 'function') {
2520
2654
 
2521
2655
 
2522
2656
  var $slice = callBound('Array.prototype.slice');
2523
- var $concat$1 = callBound('Array.prototype.concat');
2657
+ var $concat = callBound('Array.prototype.concat');
2524
2658
  var $forEach = callBound('Array.prototype.forEach');
2525
2659
 
2526
- var hasSymbols$4 = hasSymbols$1();
2660
+ var hasSymbols = hasSymbols$3();
2527
2661
 
2528
- var kCustomPromisifiedSymbol = hasSymbols$4 ? Symbol('util.promisify.custom') : null;
2529
- var kCustomPromisifyArgsSymbol = hasSymbols$4 ? Symbol('customPromisifyArgs') : null;
2662
+ var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
2663
+ var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
2530
2664
 
2531
- var implementation$3 = function promisify(orig) {
2665
+ var implementation = function promisify(orig) {
2532
2666
  if (typeof orig !== 'function') {
2533
2667
  var error = new TypeError('The "original" argument must be of type function');
2534
2668
  error.name = 'TypeError [ERR_INVALID_ARG_TYPE]';
@@ -2536,7 +2670,7 @@ var implementation$3 = function promisify(orig) {
2536
2670
  throw error;
2537
2671
  }
2538
2672
 
2539
- if (hasSymbols$4 && orig[kCustomPromisifiedSymbol]) {
2673
+ if (hasSymbols && orig[kCustomPromisifiedSymbol]) {
2540
2674
  var customFunction = orig[kCustomPromisifiedSymbol];
2541
2675
  if (typeof customFunction !== 'function') {
2542
2676
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2558,7 +2692,7 @@ var implementation$3 = function promisify(orig) {
2558
2692
  var args = $slice(arguments);
2559
2693
  var self = this; // eslint-disable-line no-invalid-this
2560
2694
  return new Promise(function (resolve, reject) {
2561
- orig.apply(self, $concat$1(args, function (err) {
2695
+ orig.apply(self, $concat(args, function (err) {
2562
2696
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2563
2697
  if (err) {
2564
2698
  reject(err);
@@ -2588,17 +2722,17 @@ var implementation$3 = function promisify(orig) {
2588
2722
 
2589
2723
  var custom = kCustomPromisifiedSymbol;
2590
2724
  var customPromisifyArgs = kCustomPromisifyArgsSymbol;
2591
- implementation$3.custom = custom;
2592
- implementation$3.customPromisifyArgs = customPromisifyArgs;
2725
+ implementation.custom = custom;
2726
+ implementation.customPromisifyArgs = customPromisifyArgs;
2593
2727
 
2594
2728
  var polyfill$1 = function getPolyfill() {
2595
2729
  if (typeof util.promisify === 'function') {
2596
2730
  return util.promisify;
2597
2731
  }
2598
- return implementation$3;
2732
+ return implementation;
2599
2733
  };
2600
2734
 
2601
- var shim$1 = function shimUtilPromisify() {
2735
+ var shim = function shimUtilPromisify() {
2602
2736
  var polyfill = polyfill$1();
2603
2737
  if (polyfill !== util.promisify) {
2604
2738
  Object.defineProperty(util, 'promisify', {
@@ -2611,20 +2745,20 @@ var shim$1 = function shimUtilPromisify() {
2611
2745
  return polyfill;
2612
2746
  };
2613
2747
 
2614
- var polyfill$2 = polyfill$1();
2748
+ var polyfill = polyfill$1();
2615
2749
 
2616
2750
 
2617
2751
  /* eslint-disable no-unused-vars */
2618
2752
  var boundPromisify = function promisify(orig) {
2619
2753
  /* eslint-enable no-unused-vars */
2620
- return polyfill$2.apply(util, arguments);
2754
+ return polyfill.apply(util, arguments);
2621
2755
  };
2622
2756
  defineProperties_1(boundPromisify, {
2623
- custom: polyfill$2.custom,
2624
- customPromisifyArgs: polyfill$2.customPromisifyArgs,
2757
+ custom: polyfill.custom,
2758
+ customPromisifyArgs: polyfill.customPromisifyArgs,
2625
2759
  getPolyfill: polyfill$1,
2626
- implementation: implementation$3,
2627
- shim: shim$1
2760
+ implementation: implementation,
2761
+ shim: shim
2628
2762
  });
2629
2763
 
2630
2764
  var util_promisify = boundPromisify;
@@ -2665,16 +2799,16 @@ function connect() {
2665
2799
 
2666
2800
  var db = connect;
2667
2801
 
2668
- var _this$3 = undefined;
2802
+ var _this$1 = undefined;
2669
2803
 
2670
- var config = {
2804
+ var config$1 = {
2671
2805
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
2672
2806
  user: 'nasp',
2673
2807
  password: 'uRNkF9SkfXQs6AKK',
2674
2808
  database: 'user'
2675
2809
  };
2676
2810
 
2677
- var findUser = function () {
2811
+ var findUser$1 = function () {
2678
2812
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(email) {
2679
2813
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
2680
2814
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
@@ -2686,7 +2820,7 @@ var findUser = function () {
2686
2820
  _context.prev = 1;
2687
2821
 
2688
2822
 
2689
- db$1 = db(config);
2823
+ db$1 = db(config$1);
2690
2824
 
2691
2825
  query = '\n select * \n from user \n where trim(lower(email)) = ?\n ';
2692
2826
  _context.next = 6;
@@ -2782,7 +2916,7 @@ var findUser = function () {
2782
2916
  };
2783
2917
  }();
2784
2918
 
2785
- var updateUser = function () {
2919
+ var updateUser$1 = function () {
2786
2920
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
2787
2921
  var db$1, query, res, hash, columns, i, column, occupation_name;
2788
2922
  return regenerator.wrap(function _callee2$(_context2) {
@@ -2795,7 +2929,7 @@ var updateUser = function () {
2795
2929
 
2796
2930
  validateUserData(data);
2797
2931
 
2798
- db$1 = db(config);
2932
+ db$1 = db(config$1);
2799
2933
 
2800
2934
  _context2.next = 6;
2801
2935
  return db$1.beginTransaction();
@@ -2902,7 +3036,7 @@ var updateUser = function () {
2902
3036
 
2903
3037
  return _context2.abrupt('return', {
2904
3038
  error: '',
2905
- user: findUser(data.email)
3039
+ user: findUser$1(data.email)
2906
3040
  });
2907
3041
 
2908
3042
  case 45:
@@ -3014,7 +3148,7 @@ var getOccupationNameById = function () {
3014
3148
  return _context3.stop();
3015
3149
  }
3016
3150
  }
3017
- }, _callee3, _this$3);
3151
+ }, _callee3, _this$1);
3018
3152
  }));
3019
3153
 
3020
3154
  return function getOccupationNameById(_x5, _x6) {
@@ -3022,7 +3156,7 @@ var getOccupationNameById = function () {
3022
3156
  };
3023
3157
  }();
3024
3158
 
3025
- var createUser = function () {
3159
+ var createUser$1 = function () {
3026
3160
  var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(data) {
3027
3161
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3028
3162
  return regenerator.wrap(function _callee4$(_context4) {
@@ -3035,7 +3169,7 @@ var createUser = function () {
3035
3169
 
3036
3170
  validateUserData(data, true);
3037
3171
 
3038
- db$1 = db(config);
3172
+ db$1 = db(config$1);
3039
3173
 
3040
3174
  _context4.next = 6;
3041
3175
  return db$1.beginTransaction();
@@ -3131,7 +3265,7 @@ var createUser = function () {
3131
3265
  case 39:
3132
3266
  return _context4.abrupt('return', {
3133
3267
  error: '',
3134
- user: findUser(data.email)
3268
+ user: findUser$1(data.email)
3135
3269
  });
3136
3270
 
3137
3271
  case 42:
@@ -3169,7 +3303,7 @@ var createUser = function () {
3169
3303
  };
3170
3304
  }();
3171
3305
 
3172
- var createUser$1 = function () {
3306
+ var createUser = function () {
3173
3307
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(data) {
3174
3308
  var res;
3175
3309
  return regenerator.wrap(function _callee$(_context) {
@@ -3177,7 +3311,7 @@ var createUser$1 = function () {
3177
3311
  switch (_context.prev = _context.next) {
3178
3312
  case 0:
3179
3313
  _context.next = 2;
3180
- return createUser(data);
3314
+ return createUser$1(data);
3181
3315
 
3182
3316
  case 2:
3183
3317
  res = _context.sent;
@@ -3205,7 +3339,7 @@ var createUser$1 = function () {
3205
3339
  };
3206
3340
  }();
3207
3341
 
3208
- var updateUser$1 = function () {
3342
+ var updateUser = function () {
3209
3343
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3210
3344
  var res;
3211
3345
  return regenerator.wrap(function _callee2$(_context2) {
@@ -3213,7 +3347,7 @@ var updateUser$1 = function () {
3213
3347
  switch (_context2.prev = _context2.next) {
3214
3348
  case 0:
3215
3349
  _context2.next = 2;
3216
- return updateUser(data);
3350
+ return updateUser$1(data);
3217
3351
 
3218
3352
  case 2:
3219
3353
  res = _context2.sent;
@@ -3241,7 +3375,7 @@ var updateUser$1 = function () {
3241
3375
  };
3242
3376
  }();
3243
3377
 
3244
- var findUser$1 = function () {
3378
+ var findUser = function () {
3245
3379
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(_ref4) {
3246
3380
  var email = _ref4.email,
3247
3381
  password = _ref4.password;
@@ -3251,7 +3385,7 @@ var findUser$1 = function () {
3251
3385
  switch (_context3.prev = _context3.next) {
3252
3386
  case 0:
3253
3387
  _context3.next = 2;
3254
- return findUser(email, password);
3388
+ return findUser$1(email, password);
3255
3389
 
3256
3390
  case 2:
3257
3391
  res = _context3.sent;
@@ -3281,9 +3415,9 @@ var findUser$1 = function () {
3281
3415
 
3282
3416
  var user = /*#__PURE__*/Object.freeze({
3283
3417
  __proto__: null,
3284
- createUser: createUser$1,
3285
- updateUser: updateUser$1,
3286
- findUser: findUser$1
3418
+ createUser: createUser,
3419
+ updateUser: updateUser,
3420
+ findUser: findUser
3287
3421
  });
3288
3422
 
3289
3423
  var localStrategy = new Local.Strategy({
@@ -3291,7 +3425,7 @@ var localStrategy = new Local.Strategy({
3291
3425
  passwordField: 'password'
3292
3426
  }, function (email, password, done) {
3293
3427
 
3294
- findUser$1({ email: email, password: password }).then(function (user) {
3428
+ findUser({ email: email, password: password }).then(function (user) {
3295
3429
  done(null, user);
3296
3430
  }).catch(function (error) {
3297
3431
  done(error);
@@ -3303,9 +3437,9 @@ var passportLocal = /*#__PURE__*/Object.freeze({
3303
3437
  localStrategy: localStrategy
3304
3438
  });
3305
3439
 
3306
- var _this$4 = undefined;
3440
+ var _this = undefined;
3307
3441
 
3308
- var config$1 = {
3442
+ var config = {
3309
3443
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
3310
3444
  user: 'nasp',
3311
3445
  password: 'uRNkF9SkfXQs6AKK',
@@ -3319,7 +3453,7 @@ var getOccupation = function () {
3319
3453
  while (1) {
3320
3454
  switch (_context.prev = _context.next) {
3321
3455
  case 0:
3322
- db$1 = db(config$1);
3456
+ db$1 = db(config);
3323
3457
  query = '\n select name as label, id as value\n from occupation\n where type = ?\n ';
3324
3458
  _context.next = 4;
3325
3459
  return db$1.query(query, [type]);
@@ -3337,7 +3471,7 @@ var getOccupation = function () {
3337
3471
  return _context.stop();
3338
3472
  }
3339
3473
  }
3340
- }, _callee, _this$4);
3474
+ }, _callee, _this);
3341
3475
  }));
3342
3476
 
3343
3477
  return function getOccupation(_x) {
@@ -3352,7 +3486,7 @@ var getFieldsAndOptions = function () {
3352
3486
  while (1) {
3353
3487
  switch (_context2.prev = _context2.next) {
3354
3488
  case 0:
3355
- db$1 = db(config$1);
3489
+ db$1 = db(config);
3356
3490
  query = '\n select * \n from field\n where occupation_id = ?\n order by sorting\n ';
3357
3491
  _context2.next = 4;
3358
3492
  return db$1.query(query, [occupation]);
@@ -3400,7 +3534,7 @@ var getFieldsAndOptions = function () {
3400
3534
  return _context2.stop();
3401
3535
  }
3402
3536
  }
3403
- }, _callee2, _this$4);
3537
+ }, _callee2, _this);
3404
3538
  }));
3405
3539
 
3406
3540
  return function getFieldsAndOptions(_x2) {
@@ -3471,8 +3605,8 @@ var ProcessData = (function () {
3471
3605
  })();
3472
3606
 
3473
3607
  var LoginForm_1 = LoginForm;
3474
- var SignupForm_1 = SignupForm;
3475
- var ProfileForm_1 = SignupForm$1;
3608
+ var SignupForm_1 = SignupForm$1;
3609
+ var ProfileForm_1 = SignupForm;
3476
3610
  var AuthCookies_1 = authCookies;
3477
3611
  var AuthHooks_1 = hooks;
3478
3612
  var Iron_1 = iron;