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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/dist/cjs/AD.js +10 -9
  2. package/dist/cjs/AD300x250.js +30 -30
  3. package/dist/cjs/AD300x250x600.js +30 -30
  4. package/dist/cjs/AD728x90.js +33 -33
  5. package/dist/cjs/ADFloatingFooter.js +32 -32
  6. package/dist/cjs/ADFooter.js +20 -28
  7. package/dist/cjs/ADGutter.js +32 -32
  8. package/dist/cjs/{ADInfeed-6c2d52f3.js → ADInfeed-d9976673.js} +15 -13
  9. package/dist/cjs/ADSkyscraper.js +32 -32
  10. package/dist/cjs/ADSponsoredResources.js +32 -32
  11. package/dist/cjs/ADWebcast.js +32 -32
  12. package/dist/cjs/ADWelcome.js +33 -33
  13. package/dist/cjs/{ADlgInfeed-fd573385.js → ADlgInfeed-0610e1bb.js} +11 -10
  14. package/dist/cjs/AccordionPanel.js +31 -29
  15. package/dist/cjs/AdSlot.js +35 -35
  16. package/dist/cjs/AdSlotsProvider.js +17 -17
  17. package/dist/cjs/AlgoliaSearch.js +60 -14122
  18. package/dist/cjs/AlphabeticList.js +26 -25
  19. package/dist/cjs/ArticleCarousel.js +24 -23
  20. package/dist/cjs/ArticleProgramLandingPage.js +57 -57
  21. package/dist/cjs/ArticleSeriesLandingPage.js +41 -41
  22. package/dist/cjs/ArticleSeriesListing.js +61 -61
  23. package/dist/cjs/Auth.js +686 -662
  24. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
  25. package/dist/cjs/Beam.js +8 -8
  26. package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
  27. package/dist/cjs/Breadcrumbs.js +29 -27
  28. package/dist/cjs/CMEDeck.js +83 -84
  29. package/dist/cjs/Column1.js +14 -11
  30. package/dist/cjs/Column2.js +36 -33
  31. package/dist/cjs/Column3.js +61 -59
  32. package/dist/cjs/ConferenceArticleCard.js +24 -23
  33. package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
  34. package/dist/cjs/DeckContent.js +99 -96
  35. package/dist/cjs/DeckQueue.js +92 -89
  36. package/dist/cjs/{Dfp-26baccf1.js → Dfp-3f0ed4c8.js} +34 -34
  37. package/dist/cjs/EventsDeck.js +142 -135
  38. package/dist/cjs/ExternalResources.js +80 -80
  39. package/dist/cjs/Feature.js +27 -25
  40. package/dist/cjs/ForbesHero.js +41 -40
  41. package/dist/cjs/GridContent.js +182 -179
  42. package/dist/cjs/GridHero.js +43 -42
  43. package/dist/cjs/GroupDeck.js +59 -58
  44. package/dist/cjs/HamMagazine.js +136 -131
  45. package/dist/cjs/Header.js +14 -12
  46. package/dist/cjs/Hero.js +13 -12
  47. package/dist/cjs/HighlightenVideo.js +18 -17
  48. package/dist/cjs/HorizontalArticleListing.js +70 -70
  49. package/dist/cjs/HorizontalHero.js +27 -26
  50. package/dist/cjs/IssueContentDeck.js +77 -72
  51. package/dist/cjs/IssueDeck.js +76 -71
  52. package/dist/cjs/IssueLanding.js +43 -43
  53. package/dist/cjs/LeftNav.js +40 -39
  54. package/dist/cjs/MasterDeck.js +72 -72
  55. package/dist/cjs/MediaSeriesLanding.js +1182 -1091
  56. package/dist/cjs/NavDvm.js +79 -74
  57. package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
  58. package/dist/cjs/NavMagazine.js +143 -138
  59. package/dist/cjs/NavNative.js +138 -130
  60. package/dist/cjs/NavNormal.js +53 -48
  61. package/dist/cjs/OncliveHero.js +20 -20
  62. package/dist/cjs/OncliveLargeHero.js +67 -66
  63. package/dist/cjs/PageFilter.js +15 -14
  64. package/dist/cjs/PartnerDetailListing.js +109 -109
  65. package/dist/cjs/PdfDownload.js +10 -9
  66. package/dist/cjs/PopUpModal.js +21 -19
  67. package/dist/cjs/PubSection.js +42 -42
  68. package/dist/cjs/PubToc.js +16 -15
  69. package/dist/cjs/PublicationDeck.js +66 -61
  70. package/dist/cjs/PublicationLanding.js +112 -108
  71. package/dist/cjs/QueueDeckExpanded.js +294 -295
  72. package/dist/cjs/RecentNews.js +25 -24
  73. package/dist/cjs/RelatedContent.js +25 -24
  74. package/dist/cjs/RelatedTopicsDropdown.js +22 -19
  75. package/dist/cjs/RolesDeck.js +32 -27
  76. package/dist/cjs/Search.js +22 -18
  77. package/dist/cjs/Segment.js +6 -6
  78. package/dist/cjs/SeriesListingDeck.js +38 -39
  79. package/dist/cjs/{SeriesSlider-4abb21b4.js → SeriesSlider-2db54929.js} +38 -37
  80. package/dist/cjs/SetCookie.js +1 -1
  81. package/dist/cjs/SideFooter.js +37 -36
  82. package/dist/cjs/SocialIcons.js +10 -9
  83. package/dist/cjs/{SocialSearchComponent-97dd19a5.js → SocialSearchComponent-948138c7.js} +40 -36
  84. package/dist/cjs/SocialShare.js +31 -29
  85. package/dist/cjs/TaxonomyCard.js +63 -58
  86. package/dist/cjs/TaxonomyDescription.js +54 -54
  87. package/dist/cjs/TemplateNormal.js +76 -76
  88. package/dist/cjs/ThumbnailCard.js +22 -20
  89. package/dist/cjs/Ustream.js +28 -27
  90. package/dist/cjs/VerticalHero.js +18 -17
  91. package/dist/cjs/VideoProgramLandingPage.js +76 -73
  92. package/dist/cjs/VideoSeriesCard.js +33 -32
  93. package/dist/cjs/VideoSeriesFilter.js +18 -18
  94. package/dist/cjs/VideoSeriesLandingPage.js +50 -50
  95. package/dist/cjs/VideoSeriesListing.js +78 -78
  96. package/dist/cjs/View.js +264 -262
  97. package/dist/cjs/YahooHero.js +40 -39
  98. package/dist/cjs/YoutubeGroup.js +63 -62
  99. package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
  100. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
  101. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
  102. package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
  103. package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
  104. package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
  105. package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
  106. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
  107. package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
  108. package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
  109. package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
  110. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
  111. package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
  112. package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
  113. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
  114. package/dist/cjs/{extends-60837c34.js → extends-9d158713.js} +7 -7
  115. package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
  116. package/dist/cjs/getRelatedArticle.js +425 -12
  117. package/dist/cjs/getRootDocGroup.js +6 -6
  118. package/dist/cjs/getSerializers.js +43 -44
  119. package/dist/cjs/{getTargeting-34e3ba68.js → getTargeting-fbbe92ba.js} +3 -3
  120. package/dist/cjs/getTargeting.js +8 -8
  121. package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
  122. package/dist/cjs/{index-98e01cb9.js → index-0e4427c8.js} +479 -13
  123. package/dist/cjs/{index-b53c1261.js → index-a766f892.js} +1007 -984
  124. package/dist/cjs/index-bd6c9f56.js +211 -0
  125. package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
  126. package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
  127. package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
  128. package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
  129. package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
  130. package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
  131. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-9225638f.js} +5 -10
  132. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
  133. package/dist/cjs/index.js +164 -162
  134. package/dist/cjs/{inherits-513d81cd.js → inherits-3ff1b657.js} +22 -22
  135. package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
  136. package/dist/cjs/keys-7f2c2108.js +25 -0
  137. package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
  138. package/dist/cjs/main-f1c77adb.js +973 -0
  139. package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
  140. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
  141. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
  142. package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
  143. package/dist/cjs/stringify-c9ac1214.js +17 -0
  144. package/dist/cjs/timeDifferenceCalc.js +1 -1
  145. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
  146. package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
  147. package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
  148. package/dist/cjs/urlFor.js +2 -2
  149. package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
  150. package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
  151. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
  152. package/dist/esm/AD.js +1 -1
  153. package/dist/esm/AD300x250.js +23 -24
  154. package/dist/esm/AD300x250x600.js +23 -24
  155. package/dist/esm/AD728x90.js +26 -27
  156. package/dist/esm/ADFloatingFooter.js +22 -23
  157. package/dist/esm/ADFooter.js +11 -20
  158. package/dist/esm/ADGutter.js +22 -23
  159. package/dist/esm/{ADInfeed-04878bcc.js → ADInfeed-33e556f5.js} +6 -6
  160. package/dist/esm/ADSkyscraper.js +22 -23
  161. package/dist/esm/ADSponsoredResources.js +22 -23
  162. package/dist/esm/ADWebcast.js +22 -23
  163. package/dist/esm/ADWelcome.js +19 -20
  164. package/dist/esm/{ADlgInfeed-fb45c8cf.js → ADlgInfeed-1270c526.js} +4 -4
  165. package/dist/esm/AccordionPanel.js +8 -8
  166. package/dist/esm/AdSlot.js +23 -24
  167. package/dist/esm/AdSlotsProvider.js +12 -13
  168. package/dist/esm/AlgoliaSearch.js +28 -14091
  169. package/dist/esm/AlphabeticList.js +10 -10
  170. package/dist/esm/ArticleCarousel.js +17 -17
  171. package/dist/esm/ArticleProgramLandingPage.js +47 -48
  172. package/dist/esm/ArticleSeriesLandingPage.js +32 -33
  173. package/dist/esm/ArticleSeriesListing.js +33 -34
  174. package/dist/esm/Auth.js +595 -575
  175. package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-30aeba69.js} +1 -1
  176. package/dist/esm/Beam.js +8 -8
  177. package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c99c9a8d.js} +34 -34
  178. package/dist/esm/Breadcrumbs.js +7 -7
  179. package/dist/esm/CMEDeck.js +24 -25
  180. package/dist/esm/Column1.js +4 -4
  181. package/dist/esm/Column2.js +21 -21
  182. package/dist/esm/Column3.js +38 -39
  183. package/dist/esm/ConferenceArticleCard.js +7 -7
  184. package/dist/esm/DeckContent.js +48 -49
  185. package/dist/esm/DeckQueue.js +47 -48
  186. package/dist/esm/{Dfp-b7236041.js → Dfp-be030f2a.js} +14 -15
  187. package/dist/esm/EventsDeck.js +50 -50
  188. package/dist/esm/ExternalResources.js +47 -48
  189. package/dist/esm/Feature.js +4 -4
  190. package/dist/esm/ForbesHero.js +11 -11
  191. package/dist/esm/GridContent.js +80 -81
  192. package/dist/esm/GridHero.js +12 -12
  193. package/dist/esm/GroupDeck.js +13 -13
  194. package/dist/esm/HamMagazine.js +29 -29
  195. package/dist/esm/Hero.js +3 -3
  196. package/dist/esm/HighlightenVideo.js +2 -2
  197. package/dist/esm/HorizontalArticleListing.js +44 -45
  198. package/dist/esm/HorizontalHero.js +5 -5
  199. package/dist/esm/IssueContentDeck.js +26 -26
  200. package/dist/esm/IssueDeck.js +36 -36
  201. package/dist/esm/IssueLanding.js +35 -36
  202. package/dist/esm/LeftNav.js +21 -22
  203. package/dist/esm/MasterDeck.js +36 -37
  204. package/dist/esm/MediaSeriesLanding.js +731 -643
  205. package/dist/esm/NavDvm.js +16 -16
  206. package/dist/esm/NavMagazine.js +34 -34
  207. package/dist/esm/NavNative.js +34 -34
  208. package/dist/esm/NavNormal.js +18 -18
  209. package/dist/esm/OncliveHero.js +4 -5
  210. package/dist/esm/OncliveLargeHero.js +12 -12
  211. package/dist/esm/PageFilter.js +6 -6
  212. package/dist/esm/PartnerDetailListing.js +56 -57
  213. package/dist/esm/PdfDownload.js +2 -2
  214. package/dist/esm/PopUpModal.js +6 -6
  215. package/dist/esm/PubSection.js +33 -34
  216. package/dist/esm/PubToc.js +8 -8
  217. package/dist/esm/PublicationDeck.js +23 -23
  218. package/dist/esm/PublicationLanding.js +49 -49
  219. package/dist/esm/QueueDeckExpanded.js +37 -38
  220. package/dist/esm/RecentNews.js +6 -6
  221. package/dist/esm/RelatedContent.js +6 -6
  222. package/dist/esm/RolesDeck.js +12 -12
  223. package/dist/esm/Search.js +8 -8
  224. package/dist/esm/Segment.js +6 -6
  225. package/dist/esm/SeriesListingDeck.js +19 -20
  226. package/dist/esm/{SeriesSlider-36be7223.js → SeriesSlider-c8477bf3.js} +10 -10
  227. package/dist/esm/SetCookie.js +1 -1
  228. package/dist/esm/SideFooter.js +15 -15
  229. package/dist/esm/{SocialSearchComponent-db5ba548.js → SocialSearchComponent-db963c3e.js} +12 -12
  230. package/dist/esm/TaxonomyCard.js +24 -24
  231. package/dist/esm/TaxonomyDescription.js +44 -45
  232. package/dist/esm/TemplateNormal.js +50 -51
  233. package/dist/esm/ThumbnailCard.js +6 -6
  234. package/dist/esm/Ustream.js +11 -11
  235. package/dist/esm/VerticalHero.js +3 -3
  236. package/dist/esm/VideoProgramLandingPage.js +52 -53
  237. package/dist/esm/VideoSeriesCard.js +12 -12
  238. package/dist/esm/VideoSeriesFilter.js +9 -9
  239. package/dist/esm/VideoSeriesLandingPage.js +37 -38
  240. package/dist/esm/VideoSeriesListing.js +34 -35
  241. package/dist/esm/View.js +90 -92
  242. package/dist/esm/YahooHero.js +14 -14
  243. package/dist/esm/YoutubeGroup.js +21 -21
  244. package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
  245. package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
  246. package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
  247. package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
  248. package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
  249. package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
  250. package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
  251. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-57a70a56.js} +5 -4
  252. package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
  253. package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
  254. package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
  255. package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
  256. package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
  257. package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
  258. package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
  259. package/dist/esm/{extends-eb69e8ac.js → extends-f076879e.js} +7 -7
  260. package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
  261. package/dist/esm/getRelatedArticle.js +425 -12
  262. package/dist/esm/getRootDocGroup.js +6 -6
  263. package/dist/esm/getSerializers.js +43 -44
  264. package/dist/esm/{getTargeting-739e9fed.js → getTargeting-0958ad0e.js} +2 -2
  265. package/dist/esm/getTargeting.js +8 -8
  266. package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
  267. package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
  268. package/dist/esm/{index-41a678ea.js → index-5cc7b406.js} +469 -4
  269. package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
  270. package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
  271. package/dist/esm/index-db3bb315.js +207 -0
  272. package/dist/esm/{index-6271cfc8.js → index-f354da27.js} +628 -612
  273. package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
  274. package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
  275. package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
  276. package/dist/esm/{index.esm-b08f4b04.js → index.esm-e874e770.js} +5 -10
  277. package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
  278. package/dist/esm/index.js +118 -119
  279. package/dist/esm/{inherits-fb9b6e8f.js → inherits-f71787cf.js} +19 -19
  280. package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
  281. package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
  282. package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
  283. package/dist/esm/main-d4165069.js +961 -0
  284. package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
  285. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
  286. package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
  287. package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
  288. package/dist/esm/stringify-59c8f690.js +15 -0
  289. package/dist/esm/timeDifferenceCalc.js +1 -1
  290. package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
  291. package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
  292. package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
  293. package/dist/esm/urlFor.js +1 -1
  294. package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
  295. package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
  296. package/package.json +1 -1
  297. package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
  298. package/dist/cjs/events-1b438fe7.js +0 -469
  299. package/dist/cjs/index-e2e62963.js +0 -89
  300. package/dist/cjs/keys-a586b7a0.js +0 -25
  301. package/dist/cjs/main-02daeefe.js +0 -862
  302. package/dist/cjs/stringify-7c5aff47.js +0 -17
  303. package/dist/esm/events-6c3a7a63.js +0 -467
  304. package/dist/esm/index-aaa2dae0.js +0 -85
  305. package/dist/esm/main-e4a934b2.js +0 -851
  306. package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/Auth.js CHANGED
@@ -1,22 +1,23 @@
1
- import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-a4107da3.js';
3
- import './es6.string.iterator-c990c18c.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-5d49a330.js';
6
- import './core.get-iterator-method-e1de7503.js';
7
- import './_object-pie-33c40e79.js';
8
- import { _ as _extends } from './extends-eb69e8ac.js';
9
- import './web.dom.iterable-4439f05a.js';
1
+ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
2
+ import { _ as _JSON$stringify } from './stringify-59c8f690.js';
3
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-be2f7a22.js';
10
4
  import React__default, { useEffect, useState } from 'react';
11
5
  import Router from 'next/router';
12
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-641f241f.js';
13
- import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
14
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
6
+ import { _ as _extends } from './extends-f076879e.js';
15
7
  import { Col, Form, Button, Spinner } from 'react-bootstrap';
16
- import { u as util } from './util-7700fc59.js';
17
8
  import useSWR from 'swr';
9
+ import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
18
10
  import Local from 'passport-local';
19
11
  import mysql from 'mysql';
12
+ import { u as util } from './util-3ab476bf.js';
13
+ import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
14
+ import './es6.string.iterator-bc33758b.js';
15
+ import './_to-object-b50e61c3.js';
16
+ import './web.dom.iterable-4109ff68.js';
17
+ import './_library-528f1934.js';
18
+ import './core.get-iterator-method-133dfacd.js';
19
+ import './_iter-detect-7e5e5ce2.js';
20
+ import './_object-pie-133f504a.js';
20
21
 
21
22
  var returnFormField = function returnFormField(_ref) {
22
23
  var name = _ref.name,
@@ -134,7 +135,7 @@ var returnFormField = function returnFormField(_ref) {
134
135
  }
135
136
  };
136
137
 
137
- var _this = undefined;
138
+ var _this$4 = undefined;
138
139
 
139
140
  var dataHandler = function () {
140
141
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(api_url, body) {
@@ -200,7 +201,7 @@ var dataHandler = function () {
200
201
  return _context.stop();
201
202
  }
202
203
  }
203
- }, _callee, _this, [[0, 20]]);
204
+ }, _callee, _this$4, [[0, 20]]);
204
205
  }));
205
206
 
206
207
  return function dataHandler(_x, _x2) {
@@ -396,9 +397,9 @@ var countries = ["United States", "Afghanistan", "Albania", "Algeria", "American
396
397
 
397
398
  var states = ['AL', 'AK', 'AS', 'AZ', 'AR', 'CA', 'CO', 'CT', 'DE', 'DC', 'FM', 'FL', 'GA', 'GU', 'HI', 'ID', 'IL', 'IN', 'IA', 'KS', 'KY', 'LA', 'ME', 'MH', 'MD', 'MA', 'MI', 'MN', 'MS', 'MO', 'MT', 'NE', 'NV', 'NH', 'NJ', 'NM', 'NY', 'NC', 'ND', 'MP', 'OH', 'OK', 'OR', 'PW', 'PA', 'PR', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VT', 'VI', 'VA', 'WA', 'WV', 'WI', 'WY'];
398
399
 
399
- var _this$1 = undefined;
400
+ var _this$3 = undefined;
400
401
 
401
- var SignupForm = function SignupForm(props) {
402
+ var SignupForm$1 = function SignupForm(props) {
402
403
  var handleSubmit = function () {
403
404
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
404
405
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -559,7 +560,7 @@ var SignupForm = function SignupForm(props) {
559
560
  return _context.stop();
560
561
  }
561
562
  }
562
- }, _callee, _this$1);
563
+ }, _callee, _this$3);
563
564
  }));
564
565
 
565
566
  return function loadInitData() {
@@ -626,7 +627,7 @@ var SignupForm = function SignupForm(props) {
626
627
  return _context2.stop();
627
628
  }
628
629
  }
629
- }, _callee2, _this$1);
630
+ }, _callee2, _this$3);
630
631
  }));
631
632
 
632
633
  return function handleOccupationChanged(_x) {
@@ -776,7 +777,7 @@ var SignupForm = function SignupForm(props) {
776
777
 
777
778
  var _this$2 = undefined;
778
779
 
779
- var SignupForm$1 = function SignupForm(props) {
780
+ var SignupForm = function SignupForm(props) {
780
781
  var handleSubmit = function () {
781
782
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
782
783
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
@@ -1201,207 +1202,6 @@ var SignupForm$1 = function SignupForm(props) {
1201
1202
  );
1202
1203
  };
1203
1204
 
1204
- /*!
1205
- * cookie
1206
- * Copyright(c) 2012-2014 Roman Shtylman
1207
- * Copyright(c) 2015 Douglas Christopher Wilson
1208
- * MIT Licensed
1209
- */
1210
-
1211
- /**
1212
- * Module exports.
1213
- * @public
1214
- */
1215
-
1216
- var parse_1 = parse;
1217
- var serialize_1 = serialize;
1218
-
1219
- /**
1220
- * Module variables.
1221
- * @private
1222
- */
1223
-
1224
- var decode = decodeURIComponent;
1225
- var encode = encodeURIComponent;
1226
- var pairSplitRegExp = /; */;
1227
-
1228
- /**
1229
- * RegExp to match field-content in RFC 7230 sec 3.2
1230
- *
1231
- * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]
1232
- * field-vchar = VCHAR / obs-text
1233
- * obs-text = %x80-FF
1234
- */
1235
-
1236
- var fieldContentRegExp = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;
1237
-
1238
- /**
1239
- * Parse a cookie header.
1240
- *
1241
- * Parse the given cookie header string into an object
1242
- * The object has the various cookies as keys(names) => values
1243
- *
1244
- * @param {string} str
1245
- * @param {object} [options]
1246
- * @return {object}
1247
- * @public
1248
- */
1249
-
1250
- function parse(str, options) {
1251
- if (typeof str !== 'string') {
1252
- throw new TypeError('argument str must be a string');
1253
- }
1254
-
1255
- var obj = {};
1256
- var opt = options || {};
1257
- var pairs = str.split(pairSplitRegExp);
1258
- var dec = opt.decode || decode;
1259
-
1260
- for (var i = 0; i < pairs.length; i++) {
1261
- var pair = pairs[i];
1262
- var eq_idx = pair.indexOf('=');
1263
-
1264
- // skip things that don't look like key=value
1265
- if (eq_idx < 0) {
1266
- continue;
1267
- }
1268
-
1269
- var key = pair.substr(0, eq_idx).trim();
1270
- var val = pair.substr(++eq_idx, pair.length).trim();
1271
-
1272
- // quoted values
1273
- if ('"' == val[0]) {
1274
- val = val.slice(1, -1);
1275
- }
1276
-
1277
- // only assign once
1278
- if (undefined == obj[key]) {
1279
- obj[key] = tryDecode(val, dec);
1280
- }
1281
- }
1282
-
1283
- return obj;
1284
- }
1285
-
1286
- /**
1287
- * Serialize data into a cookie header.
1288
- *
1289
- * Serialize the a name value pair into a cookie string suitable for
1290
- * http headers. An optional options object specified cookie parameters.
1291
- *
1292
- * serialize('foo', 'bar', { httpOnly: true })
1293
- * => "foo=bar; httpOnly"
1294
- *
1295
- * @param {string} name
1296
- * @param {string} val
1297
- * @param {object} [options]
1298
- * @return {string}
1299
- * @public
1300
- */
1301
-
1302
- function serialize(name, val, options) {
1303
- var opt = options || {};
1304
- var enc = opt.encode || encode;
1305
-
1306
- if (typeof enc !== 'function') {
1307
- throw new TypeError('option encode is invalid');
1308
- }
1309
-
1310
- if (!fieldContentRegExp.test(name)) {
1311
- throw new TypeError('argument name is invalid');
1312
- }
1313
-
1314
- var value = enc(val);
1315
-
1316
- if (value && !fieldContentRegExp.test(value)) {
1317
- throw new TypeError('argument val is invalid');
1318
- }
1319
-
1320
- var str = name + '=' + value;
1321
-
1322
- if (null != opt.maxAge) {
1323
- var maxAge = opt.maxAge - 0;
1324
-
1325
- if (isNaN(maxAge) || !isFinite(maxAge)) {
1326
- throw new TypeError('option maxAge is invalid')
1327
- }
1328
-
1329
- str += '; Max-Age=' + Math.floor(maxAge);
1330
- }
1331
-
1332
- if (opt.domain) {
1333
- if (!fieldContentRegExp.test(opt.domain)) {
1334
- throw new TypeError('option domain is invalid');
1335
- }
1336
-
1337
- str += '; Domain=' + opt.domain;
1338
- }
1339
-
1340
- if (opt.path) {
1341
- if (!fieldContentRegExp.test(opt.path)) {
1342
- throw new TypeError('option path is invalid');
1343
- }
1344
-
1345
- str += '; Path=' + opt.path;
1346
- }
1347
-
1348
- if (opt.expires) {
1349
- if (typeof opt.expires.toUTCString !== 'function') {
1350
- throw new TypeError('option expires is invalid');
1351
- }
1352
-
1353
- str += '; Expires=' + opt.expires.toUTCString();
1354
- }
1355
-
1356
- if (opt.httpOnly) {
1357
- str += '; HttpOnly';
1358
- }
1359
-
1360
- if (opt.secure) {
1361
- str += '; Secure';
1362
- }
1363
-
1364
- if (opt.sameSite) {
1365
- var sameSite = typeof opt.sameSite === 'string'
1366
- ? opt.sameSite.toLowerCase() : opt.sameSite;
1367
-
1368
- switch (sameSite) {
1369
- case true:
1370
- str += '; SameSite=Strict';
1371
- break;
1372
- case 'lax':
1373
- str += '; SameSite=Lax';
1374
- break;
1375
- case 'strict':
1376
- str += '; SameSite=Strict';
1377
- break;
1378
- case 'none':
1379
- str += '; SameSite=None';
1380
- break;
1381
- default:
1382
- throw new TypeError('option sameSite is invalid');
1383
- }
1384
- }
1385
-
1386
- return str;
1387
- }
1388
-
1389
- /**
1390
- * Try decoding a string using a decoding function.
1391
- *
1392
- * @param {string} str
1393
- * @param {function} decode
1394
- * @private
1395
- */
1396
-
1397
- function tryDecode(str, decode) {
1398
- try {
1399
- return decode(str);
1400
- } catch (e) {
1401
- return str;
1402
- }
1403
- }
1404
-
1405
1205
  var TOKEN_NAME = 'token';
1406
1206
  var MAX_AGE = 60 * 60 * 8; // 8 hours
1407
1207
 
@@ -1512,10 +1312,10 @@ var iron = /*#__PURE__*/Object.freeze({
1512
1312
  getSession: getSession
1513
1313
  });
1514
1314
 
1515
- var toStr = Object.prototype.toString;
1315
+ var toStr$5 = Object.prototype.toString;
1516
1316
 
1517
1317
  var isArguments = function isArguments(value) {
1518
- var str = toStr.call(value);
1318
+ var str = toStr$5.call(value);
1519
1319
  var isArgs = str === '[object Arguments]';
1520
1320
  if (!isArgs) {
1521
1321
  isArgs = str !== '[object Array]' &&
@@ -1523,16 +1323,16 @@ var isArguments = function isArguments(value) {
1523
1323
  typeof value === 'object' &&
1524
1324
  typeof value.length === 'number' &&
1525
1325
  value.length >= 0 &&
1526
- toStr.call(value.callee) === '[object Function]';
1326
+ toStr$5.call(value.callee) === '[object Function]';
1527
1327
  }
1528
1328
  return isArgs;
1529
1329
  };
1530
1330
 
1531
- var keysShim;
1331
+ var keysShim$1;
1532
1332
  if (!Object.keys) {
1533
1333
  // modified from https://github.com/es-shims/es5-shim
1534
- var has = Object.prototype.hasOwnProperty;
1535
- var toStr$1 = Object.prototype.toString;
1334
+ var has$1 = Object.prototype.hasOwnProperty;
1335
+ var toStr$4 = Object.prototype.toString;
1536
1336
  var isArgs = isArguments; // eslint-disable-line global-require
1537
1337
  var isEnumerable = Object.prototype.propertyIsEnumerable;
1538
1338
  var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString');
@@ -1580,7 +1380,7 @@ if (!Object.keys) {
1580
1380
  if (typeof window === 'undefined') { return false; }
1581
1381
  for (var k in window) {
1582
1382
  try {
1583
- if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1383
+ if (!excludedKeys['$' + k] && has$1.call(window, k) && window[k] !== null && typeof window[k] === 'object') {
1584
1384
  try {
1585
1385
  equalsConstructorPrototype(window[k]);
1586
1386
  } catch (e) {
@@ -1605,11 +1405,11 @@ if (!Object.keys) {
1605
1405
  }
1606
1406
  };
1607
1407
 
1608
- keysShim = function keys(object) {
1408
+ keysShim$1 = function keys(object) {
1609
1409
  var isObject = object !== null && typeof object === 'object';
1610
- var isFunction = toStr$1.call(object) === '[object Function]';
1410
+ var isFunction = toStr$4.call(object) === '[object Function]';
1611
1411
  var isArguments = isArgs(object);
1612
- var isString = isObject && toStr$1.call(object) === '[object String]';
1412
+ var isString = isObject && toStr$4.call(object) === '[object String]';
1613
1413
  var theKeys = [];
1614
1414
 
1615
1415
  if (!isObject && !isFunction && !isArguments) {
@@ -1617,7 +1417,7 @@ if (!Object.keys) {
1617
1417
  }
1618
1418
 
1619
1419
  var skipProto = hasProtoEnumBug && isFunction;
1620
- if (isString && object.length > 0 && !has.call(object, 0)) {
1420
+ if (isString && object.length > 0 && !has$1.call(object, 0)) {
1621
1421
  for (var i = 0; i < object.length; ++i) {
1622
1422
  theKeys.push(String(i));
1623
1423
  }
@@ -1629,7 +1429,7 @@ if (!Object.keys) {
1629
1429
  }
1630
1430
  } else {
1631
1431
  for (var name in object) {
1632
- if (!(skipProto && name === 'prototype') && has.call(object, name)) {
1432
+ if (!(skipProto && name === 'prototype') && has$1.call(object, name)) {
1633
1433
  theKeys.push(String(name));
1634
1434
  }
1635
1435
  }
@@ -1639,7 +1439,7 @@ if (!Object.keys) {
1639
1439
  var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object);
1640
1440
 
1641
1441
  for (var k = 0; k < dontEnums.length; ++k) {
1642
- if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) {
1442
+ if (!(skipConstructor && dontEnums[k] === 'constructor') && has$1.call(object, dontEnums[k])) {
1643
1443
  theKeys.push(dontEnums[k]);
1644
1444
  }
1645
1445
  }
@@ -1647,17 +1447,17 @@ if (!Object.keys) {
1647
1447
  return theKeys;
1648
1448
  };
1649
1449
  }
1650
- var implementation = keysShim;
1450
+ var implementation$3 = keysShim$1;
1651
1451
 
1652
- var slice = Array.prototype.slice;
1452
+ var slice$1 = Array.prototype.slice;
1653
1453
 
1654
1454
 
1655
1455
  var origKeys = Object.keys;
1656
- var keysShim$1 = origKeys ? function keys(o) { return origKeys(o); } : implementation;
1456
+ var keysShim = origKeys ? function keys(o) { return origKeys(o); } : implementation$3;
1657
1457
 
1658
1458
  var originalKeys = Object.keys;
1659
1459
 
1660
- keysShim$1.shim = function shimObjectKeys() {
1460
+ keysShim.shim = function shimObjectKeys() {
1661
1461
  if (Object.keys) {
1662
1462
  var keysWorksWithArguments = (function () {
1663
1463
  // Safari 5.0 bug
@@ -1667,27 +1467,27 @@ keysShim$1.shim = function shimObjectKeys() {
1667
1467
  if (!keysWorksWithArguments) {
1668
1468
  Object.keys = function keys(object) { // eslint-disable-line func-name-matching
1669
1469
  if (isArguments(object)) {
1670
- return originalKeys(slice.call(object));
1470
+ return originalKeys(slice$1.call(object));
1671
1471
  }
1672
1472
  return originalKeys(object);
1673
1473
  };
1674
1474
  }
1675
1475
  } else {
1676
- Object.keys = keysShim$1;
1476
+ Object.keys = keysShim;
1677
1477
  }
1678
- return Object.keys || keysShim$1;
1478
+ return Object.keys || keysShim;
1679
1479
  };
1680
1480
 
1681
- var objectKeys = keysShim$1;
1481
+ var objectKeys = keysShim;
1682
1482
 
1683
- var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1483
+ var hasSymbols$4 = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol';
1684
1484
 
1685
- var toStr$2 = Object.prototype.toString;
1485
+ var toStr$3 = Object.prototype.toString;
1686
1486
  var concat = Array.prototype.concat;
1687
1487
  var origDefineProperty = Object.defineProperty;
1688
1488
 
1689
1489
  var isFunction = function (fn) {
1690
- return typeof fn === 'function' && toStr$2.call(fn) === '[object Function]';
1490
+ return typeof fn === 'function' && toStr$3.call(fn) === '[object Function]';
1691
1491
  };
1692
1492
 
1693
1493
  var arePropertyDescriptorsSupported = function () {
@@ -1724,7 +1524,7 @@ var defineProperty = function (object, name, value, predicate) {
1724
1524
  var defineProperties = function (object, map) {
1725
1525
  var predicates = arguments.length > 2 ? arguments[2] : {};
1726
1526
  var props = objectKeys(map);
1727
- if (hasSymbols) {
1527
+ if (hasSymbols$4) {
1728
1528
  props = concat.call(props, Object.getOwnPropertySymbols(map));
1729
1529
  }
1730
1530
  for (var i = 0; i < props.length; i += 1) {
@@ -1736,6 +1536,59 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1736
1536
 
1737
1537
  var defineProperties_1 = defineProperties;
1738
1538
 
1539
+ /* eslint no-invalid-this: 1 */
1540
+
1541
+ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1542
+ var slice = Array.prototype.slice;
1543
+ var toStr$2 = Object.prototype.toString;
1544
+ var funcType = '[object Function]';
1545
+
1546
+ var implementation$2 = function bind(that) {
1547
+ var target = this;
1548
+ if (typeof target !== 'function' || toStr$2.call(target) !== funcType) {
1549
+ throw new TypeError(ERROR_MESSAGE + target);
1550
+ }
1551
+ var args = slice.call(arguments, 1);
1552
+
1553
+ var bound;
1554
+ var binder = function () {
1555
+ if (this instanceof bound) {
1556
+ var result = target.apply(
1557
+ this,
1558
+ args.concat(slice.call(arguments))
1559
+ );
1560
+ if (Object(result) === result) {
1561
+ return result;
1562
+ }
1563
+ return this;
1564
+ } else {
1565
+ return target.apply(
1566
+ that,
1567
+ args.concat(slice.call(arguments))
1568
+ );
1569
+ }
1570
+ };
1571
+
1572
+ var boundLength = Math.max(0, target.length - args.length);
1573
+ var boundArgs = [];
1574
+ for (var i = 0; i < boundLength; i++) {
1575
+ boundArgs.push('$' + i);
1576
+ }
1577
+
1578
+ bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1579
+
1580
+ if (target.prototype) {
1581
+ var Empty = function Empty() {};
1582
+ Empty.prototype = target.prototype;
1583
+ bound.prototype = new Empty();
1584
+ Empty.prototype = null;
1585
+ }
1586
+
1587
+ return bound;
1588
+ };
1589
+
1590
+ var functionBind = Function.prototype.bind || implementation$2;
1591
+
1739
1592
  /* eslint complexity: [2, 18], max-statements: [2, 33] */
1740
1593
  var shams = function hasSymbols() {
1741
1594
  if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
@@ -1759,7 +1612,7 @@ var shams = function hasSymbols() {
1759
1612
 
1760
1613
  var symVal = 42;
1761
1614
  obj[sym] = symVal;
1762
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1615
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
1763
1616
  if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1764
1617
 
1765
1618
  if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
@@ -1777,10 +1630,10 @@ var shams = function hasSymbols() {
1777
1630
  return true;
1778
1631
  };
1779
1632
 
1780
- var origSymbol = commonjsGlobal.Symbol;
1633
+ var origSymbol = typeof Symbol !== 'undefined' && Symbol;
1781
1634
 
1782
1635
 
1783
- var hasSymbols$1 = function hasNativeSymbols() {
1636
+ var hasSymbols$3 = function hasNativeSymbols() {
1784
1637
  if (typeof origSymbol !== 'function') { return false; }
1785
1638
  if (typeof Symbol !== 'function') { return false; }
1786
1639
  if (typeof origSymbol('foo') !== 'symbol') { return false; }
@@ -1789,79 +1642,34 @@ var hasSymbols$1 = function hasNativeSymbols() {
1789
1642
  return shams();
1790
1643
  };
1791
1644
 
1792
- /* eslint no-invalid-this: 1 */
1793
-
1794
- var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
1795
- var slice$1 = Array.prototype.slice;
1796
- var toStr$3 = Object.prototype.toString;
1797
- var funcType = '[object Function]';
1798
-
1799
- var implementation$1 = function bind(that) {
1800
- var target = this;
1801
- if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
1802
- throw new TypeError(ERROR_MESSAGE + target);
1803
- }
1804
- var args = slice$1.call(arguments, 1);
1805
-
1806
- var bound;
1807
- var binder = function () {
1808
- if (this instanceof bound) {
1809
- var result = target.apply(
1810
- this,
1811
- args.concat(slice$1.call(arguments))
1812
- );
1813
- if (Object(result) === result) {
1814
- return result;
1815
- }
1816
- return this;
1817
- } else {
1818
- return target.apply(
1819
- that,
1820
- args.concat(slice$1.call(arguments))
1821
- );
1822
- }
1823
- };
1645
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1824
1646
 
1825
- var boundLength = Math.max(0, target.length - args.length);
1826
- var boundArgs = [];
1827
- for (var i = 0; i < boundLength; i++) {
1828
- boundArgs.push('$' + i);
1829
- }
1647
+ var undefined$1;
1830
1648
 
1831
- bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
1649
+ var $SyntaxError$1 = SyntaxError;
1650
+ var $Function = Function;
1651
+ var $TypeError$5 = TypeError;
1832
1652
 
1833
- if (target.prototype) {
1834
- var Empty = function Empty() {};
1835
- Empty.prototype = target.prototype;
1836
- bound.prototype = new Empty();
1837
- Empty.prototype = null;
1838
- }
1839
-
1840
- return bound;
1653
+ // eslint-disable-next-line consistent-return
1654
+ var getEvalledConstructor = function (expressionSyntax) {
1655
+ try {
1656
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1657
+ } catch (e) {}
1841
1658
  };
1842
1659
 
1843
- var functionBind = Function.prototype.bind || implementation$1;
1844
-
1845
- /* globals
1846
- Atomics,
1847
- SharedArrayBuffer,
1848
- */
1849
-
1850
- var undefined$1;
1851
-
1852
- var $TypeError = TypeError;
1853
-
1854
- var $gOPD = Object.getOwnPropertyDescriptor;
1855
- if ($gOPD) {
1660
+ var $gOPD$2 = Object.getOwnPropertyDescriptor;
1661
+ if ($gOPD$2) {
1856
1662
  try {
1857
- $gOPD({}, '');
1663
+ $gOPD$2({}, '');
1858
1664
  } catch (e) {
1859
- $gOPD = null; // this is IE 8, which has a broken gOPD
1665
+ $gOPD$2 = null; // this is IE 8, which has a broken gOPD
1860
1666
  }
1861
1667
  }
1862
1668
 
1863
- var throwTypeError = function () { throw new $TypeError(); };
1864
- var ThrowTypeError = $gOPD
1669
+ var throwTypeError = function () {
1670
+ throw new $TypeError$5();
1671
+ };
1672
+ var ThrowTypeError = $gOPD$2
1865
1673
  ? (function () {
1866
1674
  try {
1867
1675
  // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
@@ -1870,7 +1678,7 @@ var ThrowTypeError = $gOPD
1870
1678
  } catch (calleeThrows) {
1871
1679
  try {
1872
1680
  // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
1873
- return $gOPD(arguments, 'callee').get;
1681
+ return $gOPD$2(arguments, 'callee').get;
1874
1682
  } catch (gOPDthrows) {
1875
1683
  return throwTypeError;
1876
1684
  }
@@ -1878,206 +1686,354 @@ var ThrowTypeError = $gOPD
1878
1686
  }())
1879
1687
  : throwTypeError;
1880
1688
 
1881
- var hasSymbols$2 = hasSymbols$1();
1689
+ var hasSymbols$2 = hasSymbols$3();
1882
1690
 
1883
1691
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1884
- var generatorFunction = undefined$1;
1885
- var asyncFunction = undefined$1;
1886
- var asyncGenFunction = undefined$1;
1692
+
1693
+ var needsEval = {};
1887
1694
 
1888
1695
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1889
1696
 
1890
1697
  var INTRINSICS = {
1698
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1891
1699
  '%Array%': Array,
1892
1700
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1893
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1894
1701
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1895
- '%ArrayPrototype%': Array.prototype,
1896
- '%ArrayProto_entries%': Array.prototype.entries,
1897
- '%ArrayProto_forEach%': Array.prototype.forEach,
1898
- '%ArrayProto_keys%': Array.prototype.keys,
1899
- '%ArrayProto_values%': Array.prototype.values,
1900
1702
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1901
- '%AsyncFunction%': asyncFunction,
1902
- '%AsyncFunctionPrototype%': undefined$1,
1903
- '%AsyncGenerator%': undefined$1,
1904
- '%AsyncGeneratorFunction%': asyncGenFunction,
1905
- '%AsyncGeneratorPrototype%': undefined$1,
1906
- '%AsyncIteratorPrototype%': undefined$1,
1703
+ '%AsyncFunction%': needsEval,
1704
+ '%AsyncGenerator%': needsEval,
1705
+ '%AsyncGeneratorFunction%': needsEval,
1706
+ '%AsyncIteratorPrototype%': needsEval,
1907
1707
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1708
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1908
1709
  '%Boolean%': Boolean,
1909
- '%BooleanPrototype%': Boolean.prototype,
1910
1710
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1911
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1912
1711
  '%Date%': Date,
1913
- '%DatePrototype%': Date.prototype,
1914
1712
  '%decodeURI%': decodeURI,
1915
1713
  '%decodeURIComponent%': decodeURIComponent,
1916
1714
  '%encodeURI%': encodeURI,
1917
1715
  '%encodeURIComponent%': encodeURIComponent,
1918
1716
  '%Error%': Error,
1919
- '%ErrorPrototype%': Error.prototype,
1920
1717
  '%eval%': eval, // eslint-disable-line no-eval
1921
1718
  '%EvalError%': EvalError,
1922
- '%EvalErrorPrototype%': EvalError.prototype,
1923
1719
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1924
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1925
1720
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1926
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1927
- '%Function%': Function,
1928
- '%FunctionPrototype%': Function.prototype,
1929
- '%Generator%': undefined$1,
1930
- '%GeneratorFunction%': generatorFunction,
1931
- '%GeneratorPrototype%': undefined$1,
1721
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1722
+ '%Function%': $Function,
1723
+ '%GeneratorFunction%': needsEval,
1932
1724
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1933
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1934
1725
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1935
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1936
1726
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1937
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1938
1727
  '%isFinite%': isFinite,
1939
1728
  '%isNaN%': isNaN,
1940
1729
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1941
1730
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1942
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1943
1731
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1944
1732
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1945
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1946
1733
  '%Math%': Math,
1947
1734
  '%Number%': Number,
1948
- '%NumberPrototype%': Number.prototype,
1949
1735
  '%Object%': Object,
1950
- '%ObjectPrototype%': Object.prototype,
1951
- '%ObjProto_toString%': Object.prototype.toString,
1952
- '%ObjProto_valueOf%': Object.prototype.valueOf,
1953
1736
  '%parseFloat%': parseFloat,
1954
1737
  '%parseInt%': parseInt,
1955
1738
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1956
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1957
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1958
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1959
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1960
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1961
1739
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1962
1740
  '%RangeError%': RangeError,
1963
- '%RangeErrorPrototype%': RangeError.prototype,
1964
1741
  '%ReferenceError%': ReferenceError,
1965
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
1966
1742
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1967
1743
  '%RegExp%': RegExp,
1968
- '%RegExpPrototype%': RegExp.prototype,
1969
1744
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1970
1745
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1971
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1972
1746
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1973
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1974
1747
  '%String%': String,
1975
1748
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1976
- '%StringPrototype%': String.prototype,
1977
1749
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1978
- '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1979
- '%SyntaxError%': SyntaxError,
1980
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
1750
+ '%SyntaxError%': $SyntaxError$1,
1981
1751
  '%ThrowTypeError%': ThrowTypeError,
1982
1752
  '%TypedArray%': TypedArray,
1983
- '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1984
- '%TypeError%': $TypeError,
1985
- '%TypeErrorPrototype%': $TypeError.prototype,
1753
+ '%TypeError%': $TypeError$5,
1986
1754
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1987
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1988
1755
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1989
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1990
1756
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1991
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1992
1757
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1993
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1994
1758
  '%URIError%': URIError,
1995
- '%URIErrorPrototype%': URIError.prototype,
1996
1759
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1997
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1998
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1999
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1760
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1761
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1762
+ };
1763
+
1764
+ var doEval = function doEval(name) {
1765
+ var value;
1766
+ if (name === '%AsyncFunction%') {
1767
+ value = getEvalledConstructor('async function () {}');
1768
+ } else if (name === '%GeneratorFunction%') {
1769
+ value = getEvalledConstructor('function* () {}');
1770
+ } else if (name === '%AsyncGeneratorFunction%') {
1771
+ value = getEvalledConstructor('async function* () {}');
1772
+ } else if (name === '%AsyncGenerator%') {
1773
+ var fn = doEval('%AsyncGeneratorFunction%');
1774
+ if (fn) {
1775
+ value = fn.prototype;
1776
+ }
1777
+ } else if (name === '%AsyncIteratorPrototype%') {
1778
+ var gen = doEval('%AsyncGenerator%');
1779
+ if (gen) {
1780
+ value = getProto(gen.prototype);
1781
+ }
1782
+ }
1783
+
1784
+ INTRINSICS[name] = value;
1785
+
1786
+ return value;
2000
1787
  };
2001
1788
 
1789
+ var LEGACY_ALIASES = {
1790
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1791
+ '%ArrayPrototype%': ['Array', 'prototype'],
1792
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1793
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1794
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1795
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1796
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1797
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1798
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1799
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1800
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1801
+ '%DatePrototype%': ['Date', 'prototype'],
1802
+ '%ErrorPrototype%': ['Error', 'prototype'],
1803
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1804
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1805
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1806
+ '%FunctionPrototype%': ['Function', 'prototype'],
1807
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1808
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1809
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1810
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1811
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1812
+ '%JSONParse%': ['JSON', 'parse'],
1813
+ '%JSONStringify%': ['JSON', 'stringify'],
1814
+ '%MapPrototype%': ['Map', 'prototype'],
1815
+ '%NumberPrototype%': ['Number', 'prototype'],
1816
+ '%ObjectPrototype%': ['Object', 'prototype'],
1817
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1818
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1819
+ '%PromisePrototype%': ['Promise', 'prototype'],
1820
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1821
+ '%Promise_all%': ['Promise', 'all'],
1822
+ '%Promise_reject%': ['Promise', 'reject'],
1823
+ '%Promise_resolve%': ['Promise', 'resolve'],
1824
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1825
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1826
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1827
+ '%SetPrototype%': ['Set', 'prototype'],
1828
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1829
+ '%StringPrototype%': ['String', 'prototype'],
1830
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1831
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1832
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1833
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1834
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1835
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1836
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1837
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1838
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1839
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1840
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1841
+ };
1842
+
1843
+
2002
1844
 
1845
+ var $concat$2 = functionBind.call(Function.call, Array.prototype.concat);
1846
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
2003
1847
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1848
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
2004
1849
 
2005
1850
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
2006
1851
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
2007
1852
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
2008
1853
  var stringToPath = function stringToPath(string) {
1854
+ var first = $strSlice(string, 0, 1);
1855
+ var last = $strSlice(string, -1);
1856
+ if (first === '%' && last !== '%') {
1857
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected closing `%`');
1858
+ } else if (last === '%' && first !== '%') {
1859
+ throw new $SyntaxError$1('invalid intrinsic syntax, expected opening `%`');
1860
+ }
2009
1861
  var result = [];
2010
1862
  $replace(string, rePropName, function (match, number, quote, subString) {
2011
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1863
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
2012
1864
  });
2013
1865
  return result;
2014
1866
  };
2015
1867
  /* end adaptation */
2016
1868
 
2017
1869
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
2018
- if (!(name in INTRINSICS)) {
2019
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1870
+ var intrinsicName = name;
1871
+ var alias;
1872
+ if (src(LEGACY_ALIASES, intrinsicName)) {
1873
+ alias = LEGACY_ALIASES[intrinsicName];
1874
+ intrinsicName = '%' + alias[0] + '%';
2020
1875
  }
2021
1876
 
2022
- // istanbul ignore if // hopefully this is impossible to test :-)
2023
- if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
2024
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1877
+ if (src(INTRINSICS, intrinsicName)) {
1878
+ var value = INTRINSICS[intrinsicName];
1879
+ if (value === needsEval) {
1880
+ value = doEval(intrinsicName);
1881
+ }
1882
+ if (typeof value === 'undefined' && !allowMissing) {
1883
+ throw new $TypeError$5('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1884
+ }
1885
+
1886
+ return {
1887
+ alias: alias,
1888
+ name: intrinsicName,
1889
+ value: value
1890
+ };
2025
1891
  }
2026
1892
 
2027
- return INTRINSICS[name];
1893
+ throw new $SyntaxError$1('intrinsic ' + name + ' does not exist!');
2028
1894
  };
2029
1895
 
2030
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1896
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
2031
1897
  if (typeof name !== 'string' || name.length === 0) {
2032
- throw new TypeError('intrinsic name must be a non-empty string');
1898
+ throw new $TypeError$5('intrinsic name must be a non-empty string');
2033
1899
  }
2034
1900
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
2035
- throw new TypeError('"allowMissing" argument must be a boolean');
1901
+ throw new $TypeError$5('"allowMissing" argument must be a boolean');
2036
1902
  }
2037
1903
 
2038
1904
  var parts = stringToPath(name);
1905
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1906
+
1907
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1908
+ var intrinsicRealName = intrinsic.name;
1909
+ var value = intrinsic.value;
1910
+ var skipFurtherCaching = false;
1911
+
1912
+ var alias = intrinsic.alias;
1913
+ if (alias) {
1914
+ intrinsicBaseName = alias[0];
1915
+ $spliceApply(parts, $concat$2([0, 1], alias));
1916
+ }
1917
+
1918
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1919
+ var part = parts[i];
1920
+ var first = $strSlice(part, 0, 1);
1921
+ var last = $strSlice(part, -1);
1922
+ if (
1923
+ (
1924
+ (first === '"' || first === "'" || first === '`')
1925
+ || (last === '"' || last === "'" || last === '`')
1926
+ )
1927
+ && first !== last
1928
+ ) {
1929
+ throw new $SyntaxError$1('property names with quotes must have matching quotes');
1930
+ }
1931
+ if (part === 'constructor' || !isOwn) {
1932
+ skipFurtherCaching = true;
1933
+ }
2039
1934
 
2040
- var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
2041
- for (var i = 1; i < parts.length; i += 1) {
2042
- if (value != null) {
2043
- if ($gOPD && (i + 1) >= parts.length) {
2044
- var desc = $gOPD(value, parts[i]);
2045
- if (!allowMissing && !(parts[i] in value)) {
2046
- throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1935
+ intrinsicBaseName += '.' + part;
1936
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
1937
+
1938
+ if (src(INTRINSICS, intrinsicRealName)) {
1939
+ value = INTRINSICS[intrinsicRealName];
1940
+ } else if (value != null) {
1941
+ if (!(part in value)) {
1942
+ if (!allowMissing) {
1943
+ throw new $TypeError$5('base intrinsic for ' + name + ' exists, but the property is not available.');
1944
+ }
1945
+ return void undefined$1;
1946
+ }
1947
+ if ($gOPD$2 && (i + 1) >= parts.length) {
1948
+ var desc = $gOPD$2(value, part);
1949
+ isOwn = !!desc;
1950
+
1951
+ // By convention, when a data property is converted to an accessor
1952
+ // property to emulate a data property that does not suffer from
1953
+ // the override mistake, that accessor's getter is marked with
1954
+ // an `originalValue` property. Here, when we detect this, we
1955
+ // uphold the illusion by pretending to see that original data
1956
+ // property, i.e., returning the value rather than the getter
1957
+ // itself.
1958
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1959
+ value = desc.get;
1960
+ } else {
1961
+ value = value[part];
2047
1962
  }
2048
- value = desc ? (desc.get || desc.value) : value[parts[i]];
2049
1963
  } else {
2050
- value = value[parts[i]];
1964
+ isOwn = src(value, part);
1965
+ value = value[part];
1966
+ }
1967
+
1968
+ if (isOwn && !skipFurtherCaching) {
1969
+ INTRINSICS[intrinsicRealName] = value;
2051
1970
  }
2052
1971
  }
2053
1972
  }
2054
1973
  return value;
2055
1974
  };
2056
1975
 
2057
- var $Function = GetIntrinsic('%Function%');
2058
- var $apply = $Function.apply;
2059
- var $call = $Function.call;
1976
+ var callBind = createCommonjsModule(function (module) {
1977
+
1978
+
1979
+
1980
+
1981
+ var $apply = getIntrinsic('%Function.prototype.apply%');
1982
+ var $call = getIntrinsic('%Function.prototype.call%');
1983
+ var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
2060
1984
 
2061
- var callBind = function callBind() {
2062
- return functionBind.apply($call, arguments);
1985
+ var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1986
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1987
+ var $max = getIntrinsic('%Math.max%');
1988
+
1989
+ if ($defineProperty) {
1990
+ try {
1991
+ $defineProperty({}, 'a', { value: 1 });
1992
+ } catch (e) {
1993
+ // IE 8 has a broken defineProperty
1994
+ $defineProperty = null;
1995
+ }
1996
+ }
1997
+
1998
+ module.exports = function callBind(originalFunction) {
1999
+ var func = $reflectApply(functionBind, $call, arguments);
2000
+ if ($gOPD && $defineProperty) {
2001
+ var desc = $gOPD(func, 'length');
2002
+ if (desc.configurable) {
2003
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
2004
+ $defineProperty(
2005
+ func,
2006
+ 'length',
2007
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2008
+ );
2009
+ }
2010
+ }
2011
+ return func;
2063
2012
  };
2064
2013
 
2065
- var apply = function applyBind() {
2066
- return functionBind.apply($apply, arguments);
2014
+ var applyBind = function applyBind() {
2015
+ return $reflectApply(functionBind, $apply, arguments);
2067
2016
  };
2068
- callBind.apply = apply;
2069
2017
 
2070
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2018
+ if ($defineProperty) {
2019
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2020
+ } else {
2021
+ module.exports.apply = applyBind;
2022
+ }
2023
+ });
2024
+ callBind.apply;
2025
+
2026
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
2071
2027
 
2072
- var callBound = function callBoundIntrinsic(name, allowMissing) {
2073
- var intrinsic = GetIntrinsic(name, !!allowMissing);
2074
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2028
+ var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2029
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2030
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
2075
2031
  return callBind(intrinsic);
2076
2032
  }
2077
2033
  return intrinsic;
2078
2034
  };
2079
2035
 
2080
- var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2036
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2081
2037
 
2082
2038
  if ($defineProperty) {
2083
2039
  try {
@@ -2090,7 +2046,7 @@ if ($defineProperty) {
2090
2046
 
2091
2047
 
2092
2048
 
2093
- var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');
2049
+ var $isEnumerable$1 = callBound$1('Object.prototype.propertyIsEnumerable');
2094
2050
 
2095
2051
  // eslint-disable-next-line max-params
2096
2052
  var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue, FromPropertyDescriptor, O, P, desc) {
@@ -2104,7 +2060,7 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
2104
2060
  }
2105
2061
 
2106
2062
  // fallback for ES3
2107
- if (P in O && $isEnumerable(O, P) !== !!desc['[[Enumerable]]']) {
2063
+ if (P in O && $isEnumerable$1(O, P) !== !!desc['[[Enumerable]]']) {
2108
2064
  // a non-enumerable existing property
2109
2065
  return false;
2110
2066
  }
@@ -2119,15 +2075,13 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
2119
2075
  return true;
2120
2076
  };
2121
2077
 
2122
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
2123
-
2124
- var $TypeError$1 = GetIntrinsic('%TypeError%');
2125
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2078
+ var $TypeError$4 = getIntrinsic('%TypeError%');
2079
+ var $SyntaxError = getIntrinsic('%SyntaxError%');
2126
2080
 
2127
2081
 
2128
2082
 
2129
2083
  var predicates = {
2130
- // https://ecma-international.org/ecma-262/6.0/#sec-property-descriptor-specification-type
2084
+ // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type
2131
2085
  'Property Descriptor': function isPropertyDescriptor(Type, Desc) {
2132
2086
  if (Type(Desc) !== 'Object') {
2133
2087
  return false;
@@ -2150,7 +2104,7 @@ var predicates = {
2150
2104
  var isData = src(Desc, '[[Value]]');
2151
2105
  var IsAccessor = src(Desc, '[[Get]]') || src(Desc, '[[Set]]');
2152
2106
  if (isData && IsAccessor) {
2153
- throw new $TypeError$1('Property Descriptors may not be both accessor and data descriptors');
2107
+ throw new $TypeError$4('Property Descriptors may not be both accessor and data descriptors');
2154
2108
  }
2155
2109
  return true;
2156
2110
  }
@@ -2162,13 +2116,13 @@ var assertRecord = function assertRecord(Type, recordType, argumentName, value)
2162
2116
  throw new $SyntaxError('unknown record type: ' + recordType);
2163
2117
  }
2164
2118
  if (!predicate(Type, value)) {
2165
- throw new $TypeError$1(argumentName + ' must be a ' + recordType);
2119
+ throw new $TypeError$4(argumentName + ' must be a ' + recordType);
2166
2120
  }
2167
2121
  };
2168
2122
 
2169
- // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2123
+ // https://262.ecma-international.org/5.1/#sec-8
2170
2124
 
2171
- var Type = function Type(x) {
2125
+ var Type$1 = function Type(x) {
2172
2126
  if (x === null) {
2173
2127
  return 'Null';
2174
2128
  }
@@ -2189,23 +2143,26 @@ var Type = function Type(x) {
2189
2143
  }
2190
2144
  };
2191
2145
 
2192
- // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2146
+ // https://262.ecma-international.org/11.0/#sec-ecmascript-data-types-and-values
2193
2147
 
2194
- var Type$1 = function Type$1(x) {
2148
+ var Type = function Type(x) {
2195
2149
  if (typeof x === 'symbol') {
2196
2150
  return 'Symbol';
2197
2151
  }
2198
- return Type(x);
2152
+ if (typeof x === 'bigint') {
2153
+ return 'BigInt';
2154
+ }
2155
+ return Type$1(x);
2199
2156
  };
2200
2157
 
2201
- // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2158
+ // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2202
2159
 
2203
2160
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2204
2161
  if (typeof Desc === 'undefined') {
2205
2162
  return Desc;
2206
2163
  }
2207
2164
 
2208
- assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2165
+ assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2209
2166
 
2210
2167
  var obj = {};
2211
2168
  if ('[[Value]]' in Desc) {
@@ -2229,7 +2186,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2229
2186
  return obj;
2230
2187
  };
2231
2188
 
2232
- var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2189
+ var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2233
2190
  if ($gOPD$1) {
2234
2191
  try {
2235
2192
  $gOPD$1([], 'length');
@@ -2241,65 +2198,85 @@ if ($gOPD$1) {
2241
2198
 
2242
2199
  var getOwnPropertyDescriptor = $gOPD$1;
2243
2200
 
2244
- var $Array = GetIntrinsic('%Array%');
2201
+ var $Array = getIntrinsic('%Array%');
2245
2202
 
2246
2203
  // eslint-disable-next-line global-require
2247
- var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2204
+ var toStr$1 = !$Array.isArray && callBound$1('Object.prototype.toString');
2248
2205
 
2249
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
2206
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2250
2207
 
2251
2208
  var IsArray = $Array.isArray || function IsArray(argument) {
2252
- return toStr$4(argument) === '[object Array]';
2209
+ return toStr$1(argument) === '[object Array]';
2253
2210
  };
2254
2211
 
2255
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2212
+ // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2256
2213
 
2257
2214
  var IsPropertyKey = function IsPropertyKey(argument) {
2258
2215
  return typeof argument === 'string' || typeof argument === 'symbol';
2259
2216
  };
2260
2217
 
2261
- var regexExec = RegExp.prototype.exec;
2262
- var gOPD = Object.getOwnPropertyDescriptor;
2218
+ var hasSymbols$1 = hasSymbols$3();
2219
+ var hasToStringTag$1 = hasSymbols$1 && typeof Symbol.toStringTag === 'symbol';
2220
+ var has;
2221
+ var $exec;
2222
+ var isRegexMarker;
2223
+ var badStringifier;
2263
2224
 
2264
- var tryRegexExecCall = function tryRegexExec(value) {
2265
- try {
2266
- var lastIndex = value.lastIndex;
2267
- value.lastIndex = 0; // eslint-disable-line no-param-reassign
2225
+ if (hasToStringTag$1) {
2226
+ has = callBound$1('Object.prototype.hasOwnProperty');
2227
+ $exec = callBound$1('RegExp.prototype.exec');
2228
+ isRegexMarker = {};
2268
2229
 
2269
- regexExec.call(value);
2270
- return true;
2271
- } catch (e) {
2272
- return false;
2273
- } finally {
2274
- value.lastIndex = lastIndex; // eslint-disable-line no-param-reassign
2230
+ var throwRegexMarker = function () {
2231
+ throw isRegexMarker;
2232
+ };
2233
+ badStringifier = {
2234
+ toString: throwRegexMarker,
2235
+ valueOf: throwRegexMarker
2236
+ };
2237
+
2238
+ if (typeof Symbol.toPrimitive === 'symbol') {
2239
+ badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2275
2240
  }
2276
- };
2277
- var toStr$5 = Object.prototype.toString;
2241
+ }
2242
+
2243
+ var $toString = callBound$1('Object.prototype.toString');
2244
+ var gOPD = Object.getOwnPropertyDescriptor;
2278
2245
  var regexClass = '[object RegExp]';
2279
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2280
2246
 
2281
- var isRegex = function isRegex(value) {
2282
- if (!value || typeof value !== 'object') {
2283
- return false;
2284
- }
2285
- if (!hasToStringTag) {
2286
- return toStr$5.call(value) === regexClass;
2287
- }
2247
+ var isRegex = hasToStringTag$1
2248
+ // eslint-disable-next-line consistent-return
2249
+ ? function isRegex(value) {
2250
+ if (!value || typeof value !== 'object') {
2251
+ return false;
2252
+ }
2288
2253
 
2289
- var descriptor = gOPD(value, 'lastIndex');
2290
- var hasLastIndexDataProperty = descriptor && src(descriptor, 'value');
2291
- if (!hasLastIndexDataProperty) {
2292
- return false;
2254
+ var descriptor = gOPD(value, 'lastIndex');
2255
+ var hasLastIndexDataProperty = descriptor && has(descriptor, 'value');
2256
+ if (!hasLastIndexDataProperty) {
2257
+ return false;
2258
+ }
2259
+
2260
+ try {
2261
+ $exec(value, badStringifier);
2262
+ } catch (e) {
2263
+ return e === isRegexMarker;
2264
+ }
2293
2265
  }
2266
+ : function isRegex(value) {
2267
+ // In older browsers, typeof regex incorrectly returns 'function'
2268
+ if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
2269
+ return false;
2270
+ }
2294
2271
 
2295
- return tryRegexExecCall(value);
2296
- };
2272
+ return $toString(value) === regexClass;
2273
+ };
2297
2274
 
2298
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
2275
+ // http://262.ecma-international.org/5.1/#sec-9.2
2299
2276
 
2300
2277
  var ToBoolean = function ToBoolean(value) { return !!value; };
2301
2278
 
2302
- var $match = GetIntrinsic('%Symbol.match%', true);
2279
+ var $match = getIntrinsic('%Symbol.match%', true);
2303
2280
 
2304
2281
 
2305
2282
 
@@ -2321,6 +2298,27 @@ var IsRegExp = function IsRegExp(argument) {
2321
2298
  };
2322
2299
 
2323
2300
  var fnToStr = Function.prototype.toString;
2301
+ var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
2302
+ var badArrayLike;
2303
+ var isCallableMarker;
2304
+ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
2305
+ try {
2306
+ badArrayLike = Object.defineProperty({}, 'length', {
2307
+ get: function () {
2308
+ throw isCallableMarker;
2309
+ }
2310
+ });
2311
+ isCallableMarker = {};
2312
+ // eslint-disable-next-line no-throw-literal
2313
+ reflectApply(function () { throw 42; }, null, badArrayLike);
2314
+ } catch (_) {
2315
+ if (_ !== isCallableMarker) {
2316
+ reflectApply = null;
2317
+ }
2318
+ }
2319
+ } else {
2320
+ reflectApply = null;
2321
+ }
2324
2322
 
2325
2323
  var constructorRegex = /^\s*class\b/;
2326
2324
  var isES6ClassFn = function isES6ClassFunction(value) {
@@ -2341,36 +2339,52 @@ var tryFunctionObject = function tryFunctionToStr(value) {
2341
2339
  return false;
2342
2340
  }
2343
2341
  };
2344
- var toStr$6 = Object.prototype.toString;
2342
+ var toStr = Object.prototype.toString;
2345
2343
  var fnClass = '[object Function]';
2346
2344
  var genClass = '[object GeneratorFunction]';
2347
- var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2348
-
2349
- var isCallable = function isCallable(value) {
2350
- if (!value) { return false; }
2351
- if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2352
- if (typeof value === 'function' && !value.prototype) { return true; }
2353
- if (hasToStringTag$1) { return tryFunctionObject(value); }
2354
- if (isES6ClassFn(value)) { return false; }
2355
- var strClass = toStr$6.call(value);
2356
- return strClass === fnClass || strClass === genClass;
2357
- };
2345
+ var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2346
+ /* globals document: false */
2347
+ var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2348
+
2349
+ var isCallable = reflectApply
2350
+ ? function isCallable(value) {
2351
+ if (value === documentDotAll) { return true; }
2352
+ if (!value) { return false; }
2353
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2354
+ if (typeof value === 'function' && !value.prototype) { return true; }
2355
+ try {
2356
+ reflectApply(value, null, badArrayLike);
2357
+ } catch (e) {
2358
+ if (e !== isCallableMarker) { return false; }
2359
+ }
2360
+ return !isES6ClassFn(value);
2361
+ }
2362
+ : function isCallable(value) {
2363
+ if (value === documentDotAll) { return true; }
2364
+ if (!value) { return false; }
2365
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2366
+ if (typeof value === 'function' && !value.prototype) { return true; }
2367
+ if (hasToStringTag) { return tryFunctionObject(value); }
2368
+ if (isES6ClassFn(value)) { return false; }
2369
+ var strClass = toStr.call(value);
2370
+ return strClass === fnClass || strClass === genClass;
2371
+ };
2358
2372
 
2359
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2373
+ // http://262.ecma-international.org/5.1/#sec-9.11
2360
2374
 
2361
2375
  var IsCallable = isCallable;
2362
2376
 
2363
- var $TypeError$2 = GetIntrinsic('%TypeError%');
2377
+ var $TypeError$3 = getIntrinsic('%TypeError%');
2364
2378
 
2365
2379
 
2366
2380
 
2367
2381
 
2368
2382
 
2369
- // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
2383
+ // https://262.ecma-international.org/5.1/#sec-8.10.5
2370
2384
 
2371
2385
  var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2372
- if (Type$1(Obj) !== 'Object') {
2373
- throw new $TypeError$2('ToPropertyDescriptor requires an object');
2386
+ if (Type(Obj) !== 'Object') {
2387
+ throw new $TypeError$3('ToPropertyDescriptor requires an object');
2374
2388
  }
2375
2389
 
2376
2390
  var desc = {};
@@ -2389,29 +2403,29 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2389
2403
  if (src(Obj, 'get')) {
2390
2404
  var getter = Obj.get;
2391
2405
  if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2392
- throw new TypeError('getter must be a function');
2406
+ throw new $TypeError$3('getter must be a function');
2393
2407
  }
2394
2408
  desc['[[Get]]'] = getter;
2395
2409
  }
2396
2410
  if (src(Obj, 'set')) {
2397
2411
  var setter = Obj.set;
2398
2412
  if (typeof setter !== 'undefined' && !IsCallable(setter)) {
2399
- throw new $TypeError$2('setter must be a function');
2413
+ throw new $TypeError$3('setter must be a function');
2400
2414
  }
2401
2415
  desc['[[Set]]'] = setter;
2402
2416
  }
2403
2417
 
2404
2418
  if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
2405
- throw new $TypeError$2('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2419
+ throw new $TypeError$3('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2406
2420
  }
2407
2421
  return desc;
2408
2422
  };
2409
2423
 
2410
- var $TypeError$3 = GetIntrinsic('%TypeError%');
2424
+ var $TypeError$2 = getIntrinsic('%TypeError%');
2411
2425
 
2412
2426
 
2413
2427
 
2414
- var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2428
+ var $isEnumerable = callBound$1('Object.prototype.propertyIsEnumerable');
2415
2429
 
2416
2430
 
2417
2431
 
@@ -2421,14 +2435,14 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2421
2435
 
2422
2436
 
2423
2437
 
2424
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2438
+ // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2425
2439
 
2426
2440
  var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2427
- if (Type$1(O) !== 'Object') {
2428
- throw new $TypeError$3('Assertion failed: O must be an Object');
2441
+ if (Type(O) !== 'Object') {
2442
+ throw new $TypeError$2('Assertion failed: O must be an Object');
2429
2443
  }
2430
2444
  if (!IsPropertyKey(P)) {
2431
- throw new $TypeError$3('Assertion failed: P must be a Property Key');
2445
+ throw new $TypeError$2('Assertion failed: P must be a Property Key');
2432
2446
  }
2433
2447
  if (!src(O, P)) {
2434
2448
  return void 0;
@@ -2439,7 +2453,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2439
2453
  var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
2440
2454
  return {
2441
2455
  '[[Configurable]]': !(arrayLength || regexLastIndex),
2442
- '[[Enumerable]]': $isEnumerable$1(O, P),
2456
+ '[[Enumerable]]': $isEnumerable(O, P),
2443
2457
  '[[Value]]': O[P],
2444
2458
  '[[Writable]]': true
2445
2459
  };
@@ -2447,14 +2461,14 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2447
2461
  return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2448
2462
  };
2449
2463
 
2450
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2464
+ // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2451
2465
 
2452
2466
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2453
2467
  if (typeof Desc === 'undefined') {
2454
2468
  return false;
2455
2469
  }
2456
2470
 
2457
- assertRecord(Type$1, 'Property Descriptor', 'Desc', Desc);
2471
+ assertRecord(Type, 'Property Descriptor', 'Desc', Desc);
2458
2472
 
2459
2473
  if (!src(Desc, '[[Value]]') && !src(Desc, '[[Writable]]')) {
2460
2474
  return false;
@@ -2467,14 +2481,14 @@ var isPrimitive = function isPrimitive(value) {
2467
2481
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2468
2482
  };
2469
2483
 
2470
- var $Object = GetIntrinsic('%Object%');
2484
+ var $Object$1 = getIntrinsic('%Object%');
2471
2485
 
2472
2486
 
2473
2487
 
2474
- var $preventExtensions = $Object.preventExtensions;
2475
- var $isExtensible = $Object.isExtensible;
2488
+ var $preventExtensions = $Object$1.preventExtensions;
2489
+ var $isExtensible = $Object$1.isExtensible;
2476
2490
 
2477
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2491
+ // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2478
2492
 
2479
2493
  var IsExtensible = $preventExtensions
2480
2494
  ? function IsExtensible(obj) {
@@ -2488,7 +2502,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
2488
2502
  return a !== a;
2489
2503
  };
2490
2504
 
2491
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2505
+ // http://262.ecma-international.org/5.1/#sec-9.12
2492
2506
 
2493
2507
  var SameValue = function SameValue(x, y) {
2494
2508
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2498,7 +2512,7 @@ var SameValue = function SameValue(x, y) {
2498
2512
  return _isNaN(x) && _isNaN(y);
2499
2513
  };
2500
2514
 
2501
- var $TypeError$4 = GetIntrinsic('%TypeError%');
2515
+ var $TypeError$1 = getIntrinsic('%TypeError%');
2502
2516
 
2503
2517
 
2504
2518
 
@@ -2510,18 +2524,18 @@ var $TypeError$4 = GetIntrinsic('%TypeError%');
2510
2524
 
2511
2525
 
2512
2526
 
2513
- // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2527
+ // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2514
2528
 
2515
2529
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2516
- if (Type$1(O) !== 'Object') {
2517
- throw new $TypeError$4('Assertion failed: Type(O) is not Object');
2530
+ if (Type(O) !== 'Object') {
2531
+ throw new $TypeError$1('Assertion failed: Type(O) is not Object');
2518
2532
  }
2519
2533
  if (!IsPropertyKey(P)) {
2520
- throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2534
+ throw new $TypeError$1('Assertion failed: IsPropertyKey(P) is not true');
2521
2535
  }
2522
2536
  var oldDesc = OrdinaryGetOwnProperty(O, P);
2523
- var extensible = oldDesc || IsExtensible(O);
2524
- var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable);
2537
+ var extensible = !oldDesc || IsExtensible(O);
2538
+ var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
2525
2539
  if (immutable || !extensible) {
2526
2540
  return false;
2527
2541
  }
@@ -2540,44 +2554,44 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2540
2554
  );
2541
2555
  };
2542
2556
 
2543
- var $TypeError$5 = GetIntrinsic('%TypeError%');
2557
+ var $TypeError = getIntrinsic('%TypeError%');
2544
2558
 
2545
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2559
+ // http://262.ecma-international.org/5.1/#sec-9.10
2546
2560
 
2547
2561
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2548
2562
  if (value == null) {
2549
- throw new $TypeError$5(optMessage || ('Cannot call method on ' + value));
2563
+ throw new $TypeError(optMessage || ('Cannot call method on ' + value));
2550
2564
  }
2551
2565
  return value;
2552
2566
  };
2553
2567
 
2554
2568
  var RequireObjectCoercible = CheckObjectCoercible;
2555
2569
 
2556
- var $Object$1 = GetIntrinsic('%Object%');
2570
+ var $Object = getIntrinsic('%Object%');
2557
2571
 
2558
2572
 
2559
2573
 
2560
- // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2574
+ // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2561
2575
 
2562
2576
  var ToObject = function ToObject(value) {
2563
2577
  RequireObjectCoercible(value);
2564
- return $Object$1(value);
2578
+ return $Object(value);
2565
2579
  };
2566
2580
 
2567
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
2581
+ var $gOPD = Object.getOwnPropertyDescriptor;
2568
2582
  var $getOwnNames = Object.getOwnPropertyNames;
2569
2583
  var $getSymbols = Object.getOwnPropertySymbols;
2570
- var $concat = callBound('Array.prototype.concat');
2571
- var $reduce = callBound('Array.prototype.reduce');
2584
+ var $concat$1 = callBound$1('Array.prototype.concat');
2585
+ var $reduce = callBound$1('Array.prototype.reduce');
2572
2586
  var getAll = $getSymbols ? function (obj) {
2573
- return $concat($getOwnNames(obj), $getSymbols(obj));
2587
+ return $concat$1($getOwnNames(obj), $getSymbols(obj));
2574
2588
  } : $getOwnNames;
2575
2589
 
2576
- var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
2590
+ var isES5$1 = IsCallable($gOPD) && IsCallable($getOwnNames);
2577
2591
 
2578
- var implementation$2 = function getOwnPropertyDescriptors(value) {
2592
+ var implementation$1 = function getOwnPropertyDescriptors(value) {
2579
2593
  RequireObjectCoercible(value);
2580
- if (!isES5) {
2594
+ if (!isES5$1) {
2581
2595
  throw new TypeError('getOwnPropertyDescriptors requires Object.getOwnPropertyDescriptor');
2582
2596
  }
2583
2597
 
@@ -2585,7 +2599,7 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
2585
2599
  return $reduce(
2586
2600
  getAll(O),
2587
2601
  function (acc, key) {
2588
- var descriptor = $gOPD$2(O, key);
2602
+ var descriptor = $gOPD(O, key);
2589
2603
  if (typeof descriptor !== 'undefined') {
2590
2604
  CreateDataProperty(acc, key, descriptor);
2591
2605
  }
@@ -2595,34 +2609,40 @@ var implementation$2 = function getOwnPropertyDescriptors(value) {
2595
2609
  );
2596
2610
  };
2597
2611
 
2598
- var polyfill = function getPolyfill() {
2599
- return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$2;
2612
+ var polyfill$2 = function getPolyfill() {
2613
+ return typeof Object.getOwnPropertyDescriptors === 'function' ? Object.getOwnPropertyDescriptors : implementation$1;
2600
2614
  };
2601
2615
 
2602
- var shim = function shimGetOwnPropertyDescriptors() {
2603
- var polyfill$1 = polyfill();
2616
+ var shim$1 = function shimGetOwnPropertyDescriptors() {
2617
+ var polyfill = polyfill$2();
2604
2618
  defineProperties_1(
2605
2619
  Object,
2606
- { getOwnPropertyDescriptors: polyfill$1 },
2607
- { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill$1; } }
2620
+ { getOwnPropertyDescriptors: polyfill },
2621
+ { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill; } }
2608
2622
  );
2609
- return polyfill$1;
2623
+ return polyfill;
2610
2624
  };
2611
2625
 
2612
- defineProperties_1(implementation$2, {
2613
- getPolyfill: polyfill,
2614
- implementation: implementation$2,
2615
- shim: shim
2626
+ var bound = callBind(polyfill$2(), Object);
2627
+
2628
+ defineProperties_1(bound, {
2629
+ getPolyfill: polyfill$2,
2630
+ implementation: implementation$1,
2631
+ shim: shim$1
2616
2632
  });
2617
2633
 
2618
- var object_getownpropertydescriptors = implementation$2;
2634
+ var object_getownpropertydescriptors = bound;
2619
2635
 
2620
- var isES5$1 = typeof Object.defineProperty === 'function'
2636
+ // TODO; semver-major: remove
2637
+
2638
+ var callBound = callBound$1;
2639
+
2640
+ var isES5 = typeof Object.defineProperty === 'function'
2621
2641
  && typeof Object.defineProperties === 'function';
2622
2642
 
2623
2643
  var hasProto = [].__proto__ === Array.prototype; // eslint-disable-line no-proto
2624
2644
 
2625
- if (!isES5$1 || !hasProto) {
2645
+ if (!isES5 || !hasProto) {
2626
2646
  throw new TypeError('util.promisify requires a true ES5 environment, that also supports `__proto__`');
2627
2647
  }
2628
2648
 
@@ -2635,15 +2655,15 @@ if (typeof Promise !== 'function') {
2635
2655
 
2636
2656
 
2637
2657
  var $slice = callBound('Array.prototype.slice');
2638
- var $concat$1 = callBound('Array.prototype.concat');
2658
+ var $concat = callBound('Array.prototype.concat');
2639
2659
  var $forEach = callBound('Array.prototype.forEach');
2640
2660
 
2641
- var hasSymbols$3 = hasSymbols$1();
2661
+ var hasSymbols = hasSymbols$3();
2642
2662
 
2643
- var kCustomPromisifiedSymbol = hasSymbols$3 ? Symbol('util.promisify.custom') : null;
2644
- var kCustomPromisifyArgsSymbol = hasSymbols$3 ? Symbol('customPromisifyArgs') : null;
2663
+ var kCustomPromisifiedSymbol = hasSymbols ? Symbol('util.promisify.custom') : null;
2664
+ var kCustomPromisifyArgsSymbol = hasSymbols ? Symbol('customPromisifyArgs') : null;
2645
2665
 
2646
- var implementation$3 = function promisify(orig) {
2666
+ var implementation = function promisify(orig) {
2647
2667
  if (typeof orig !== 'function') {
2648
2668
  var error = new TypeError('The "original" argument must be of type function');
2649
2669
  error.name = 'TypeError [ERR_INVALID_ARG_TYPE]';
@@ -2651,7 +2671,7 @@ var implementation$3 = function promisify(orig) {
2651
2671
  throw error;
2652
2672
  }
2653
2673
 
2654
- if (hasSymbols$3 && orig[kCustomPromisifiedSymbol]) {
2674
+ if (hasSymbols && orig[kCustomPromisifiedSymbol]) {
2655
2675
  var customFunction = orig[kCustomPromisifiedSymbol];
2656
2676
  if (typeof customFunction !== 'function') {
2657
2677
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2673,7 +2693,7 @@ var implementation$3 = function promisify(orig) {
2673
2693
  var args = $slice(arguments);
2674
2694
  var self = this; // eslint-disable-line no-invalid-this
2675
2695
  return new Promise(function (resolve, reject) {
2676
- orig.apply(self, $concat$1(args, function (err) {
2696
+ orig.apply(self, $concat(args, function (err) {
2677
2697
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2678
2698
  if (err) {
2679
2699
  reject(err);
@@ -2703,17 +2723,17 @@ var implementation$3 = function promisify(orig) {
2703
2723
 
2704
2724
  var custom = kCustomPromisifiedSymbol;
2705
2725
  var customPromisifyArgs = kCustomPromisifyArgsSymbol;
2706
- implementation$3.custom = custom;
2707
- implementation$3.customPromisifyArgs = customPromisifyArgs;
2726
+ implementation.custom = custom;
2727
+ implementation.customPromisifyArgs = customPromisifyArgs;
2708
2728
 
2709
2729
  var polyfill$1 = function getPolyfill() {
2710
2730
  if (typeof util.promisify === 'function') {
2711
2731
  return util.promisify;
2712
2732
  }
2713
- return implementation$3;
2733
+ return implementation;
2714
2734
  };
2715
2735
 
2716
- var shim$1 = function shimUtilPromisify() {
2736
+ var shim = function shimUtilPromisify() {
2717
2737
  var polyfill = polyfill$1();
2718
2738
  if (polyfill !== util.promisify) {
2719
2739
  Object.defineProperty(util, 'promisify', {
@@ -2726,20 +2746,20 @@ var shim$1 = function shimUtilPromisify() {
2726
2746
  return polyfill;
2727
2747
  };
2728
2748
 
2729
- var polyfill$2 = polyfill$1();
2749
+ var polyfill = polyfill$1();
2730
2750
 
2731
2751
 
2732
2752
  /* eslint-disable no-unused-vars */
2733
2753
  var boundPromisify = function promisify(orig) {
2734
2754
  /* eslint-enable no-unused-vars */
2735
- return polyfill$2.apply(util, arguments);
2755
+ return polyfill.apply(util, arguments);
2736
2756
  };
2737
2757
  defineProperties_1(boundPromisify, {
2738
- custom: polyfill$2.custom,
2739
- customPromisifyArgs: polyfill$2.customPromisifyArgs,
2758
+ custom: polyfill.custom,
2759
+ customPromisifyArgs: polyfill.customPromisifyArgs,
2740
2760
  getPolyfill: polyfill$1,
2741
- implementation: implementation$3,
2742
- shim: shim$1
2761
+ implementation: implementation,
2762
+ shim: shim
2743
2763
  });
2744
2764
 
2745
2765
  var util_promisify = boundPromisify;
@@ -2952,7 +2972,7 @@ var md5 = createCommonjsModule(function (module) {
2952
2972
  message = utf8.stringToBytes(message);
2953
2973
  else if (isBuffer(message))
2954
2974
  message = Array.prototype.slice.call(message, 0);
2955
- else if (!Array.isArray(message))
2975
+ else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2956
2976
  message = message.toString();
2957
2977
  // else, assume byte array already
2958
2978
 
@@ -3098,16 +3118,16 @@ var md5 = createCommonjsModule(function (module) {
3098
3118
  })();
3099
3119
  });
3100
3120
 
3101
- var _this$3 = undefined;
3121
+ var _this$1 = undefined;
3102
3122
 
3103
- var config = {
3123
+ var config$1 = {
3104
3124
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
3105
3125
  user: 'nasp',
3106
3126
  password: 'uRNkF9SkfXQs6AKK',
3107
3127
  database: 'user'
3108
3128
  };
3109
3129
 
3110
- var findUser = function () {
3130
+ var findUser$1 = function () {
3111
3131
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(email) {
3112
3132
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
3113
3133
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
@@ -3119,7 +3139,7 @@ var findUser = function () {
3119
3139
  _context.prev = 1;
3120
3140
 
3121
3141
 
3122
- db$1 = db(config);
3142
+ db$1 = db(config$1);
3123
3143
 
3124
3144
  query = '\n select * \n from user \n where trim(lower(email)) = ?\n ';
3125
3145
  _context.next = 6;
@@ -3215,7 +3235,7 @@ var findUser = function () {
3215
3235
  };
3216
3236
  }();
3217
3237
 
3218
- var updateUser = function () {
3238
+ var updateUser$1 = function () {
3219
3239
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3220
3240
  var db$1, query, res, hash, columns, i, column, occupation_name;
3221
3241
  return regenerator.wrap(function _callee2$(_context2) {
@@ -3228,7 +3248,7 @@ var updateUser = function () {
3228
3248
 
3229
3249
  validateUserData(data);
3230
3250
 
3231
- db$1 = db(config);
3251
+ db$1 = db(config$1);
3232
3252
 
3233
3253
  _context2.next = 6;
3234
3254
  return db$1.beginTransaction();
@@ -3335,7 +3355,7 @@ var updateUser = function () {
3335
3355
 
3336
3356
  return _context2.abrupt('return', {
3337
3357
  error: '',
3338
- user: findUser(data.email)
3358
+ user: findUser$1(data.email)
3339
3359
  });
3340
3360
 
3341
3361
  case 45:
@@ -3447,7 +3467,7 @@ var getOccupationNameById = function () {
3447
3467
  return _context3.stop();
3448
3468
  }
3449
3469
  }
3450
- }, _callee3, _this$3);
3470
+ }, _callee3, _this$1);
3451
3471
  }));
3452
3472
 
3453
3473
  return function getOccupationNameById(_x5, _x6) {
@@ -3455,7 +3475,7 @@ var getOccupationNameById = function () {
3455
3475
  };
3456
3476
  }();
3457
3477
 
3458
- var createUser = function () {
3478
+ var createUser$1 = function () {
3459
3479
  var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(data) {
3460
3480
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3461
3481
  return regenerator.wrap(function _callee4$(_context4) {
@@ -3468,7 +3488,7 @@ var createUser = function () {
3468
3488
 
3469
3489
  validateUserData(data, true);
3470
3490
 
3471
- db$1 = db(config);
3491
+ db$1 = db(config$1);
3472
3492
 
3473
3493
  _context4.next = 6;
3474
3494
  return db$1.beginTransaction();
@@ -3564,7 +3584,7 @@ var createUser = function () {
3564
3584
  case 39:
3565
3585
  return _context4.abrupt('return', {
3566
3586
  error: '',
3567
- user: findUser(data.email)
3587
+ user: findUser$1(data.email)
3568
3588
  });
3569
3589
 
3570
3590
  case 42:
@@ -3602,7 +3622,7 @@ var createUser = function () {
3602
3622
  };
3603
3623
  }();
3604
3624
 
3605
- var createUser$1 = function () {
3625
+ var createUser = function () {
3606
3626
  var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(data) {
3607
3627
  var res;
3608
3628
  return regenerator.wrap(function _callee$(_context) {
@@ -3610,7 +3630,7 @@ var createUser$1 = function () {
3610
3630
  switch (_context.prev = _context.next) {
3611
3631
  case 0:
3612
3632
  _context.next = 2;
3613
- return createUser(data);
3633
+ return createUser$1(data);
3614
3634
 
3615
3635
  case 2:
3616
3636
  res = _context.sent;
@@ -3638,7 +3658,7 @@ var createUser$1 = function () {
3638
3658
  };
3639
3659
  }();
3640
3660
 
3641
- var updateUser$1 = function () {
3661
+ var updateUser = function () {
3642
3662
  var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3643
3663
  var res;
3644
3664
  return regenerator.wrap(function _callee2$(_context2) {
@@ -3646,7 +3666,7 @@ var updateUser$1 = function () {
3646
3666
  switch (_context2.prev = _context2.next) {
3647
3667
  case 0:
3648
3668
  _context2.next = 2;
3649
- return updateUser(data);
3669
+ return updateUser$1(data);
3650
3670
 
3651
3671
  case 2:
3652
3672
  res = _context2.sent;
@@ -3674,7 +3694,7 @@ var updateUser$1 = function () {
3674
3694
  };
3675
3695
  }();
3676
3696
 
3677
- var findUser$1 = function () {
3697
+ var findUser = function () {
3678
3698
  var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(_ref4) {
3679
3699
  var email = _ref4.email,
3680
3700
  password = _ref4.password;
@@ -3684,7 +3704,7 @@ var findUser$1 = function () {
3684
3704
  switch (_context3.prev = _context3.next) {
3685
3705
  case 0:
3686
3706
  _context3.next = 2;
3687
- return findUser(email, password);
3707
+ return findUser$1(email, password);
3688
3708
 
3689
3709
  case 2:
3690
3710
  res = _context3.sent;
@@ -3714,9 +3734,9 @@ var findUser$1 = function () {
3714
3734
 
3715
3735
  var user = /*#__PURE__*/Object.freeze({
3716
3736
  __proto__: null,
3717
- createUser: createUser$1,
3718
- updateUser: updateUser$1,
3719
- findUser: findUser$1
3737
+ createUser: createUser,
3738
+ updateUser: updateUser,
3739
+ findUser: findUser
3720
3740
  });
3721
3741
 
3722
3742
  var localStrategy = new Local.Strategy({
@@ -3724,7 +3744,7 @@ var localStrategy = new Local.Strategy({
3724
3744
  passwordField: 'password'
3725
3745
  }, function (email, password, done) {
3726
3746
 
3727
- findUser$1({ email: email, password: password }).then(function (user) {
3747
+ findUser({ email: email, password: password }).then(function (user) {
3728
3748
  done(null, user);
3729
3749
  }).catch(function (error) {
3730
3750
  done(error);
@@ -3736,9 +3756,9 @@ var passportLocal = /*#__PURE__*/Object.freeze({
3736
3756
  localStrategy: localStrategy
3737
3757
  });
3738
3758
 
3739
- var _this$4 = undefined;
3759
+ var _this = undefined;
3740
3760
 
3741
- var config$1 = {
3761
+ var config = {
3742
3762
  host: 'sanity-datasource.cluster-crao688bsrdh.us-east-1.rds.amazonaws.com',
3743
3763
  user: 'nasp',
3744
3764
  password: 'uRNkF9SkfXQs6AKK',
@@ -3752,7 +3772,7 @@ var getOccupation = function () {
3752
3772
  while (1) {
3753
3773
  switch (_context.prev = _context.next) {
3754
3774
  case 0:
3755
- db$1 = db(config$1);
3775
+ db$1 = db(config);
3756
3776
  query = '\n select name as label, id as value\n from occupation\n where type = ?\n ';
3757
3777
  _context.next = 4;
3758
3778
  return db$1.query(query, [type]);
@@ -3770,7 +3790,7 @@ var getOccupation = function () {
3770
3790
  return _context.stop();
3771
3791
  }
3772
3792
  }
3773
- }, _callee, _this$4);
3793
+ }, _callee, _this);
3774
3794
  }));
3775
3795
 
3776
3796
  return function getOccupation(_x) {
@@ -3785,7 +3805,7 @@ var getFieldsAndOptions = function () {
3785
3805
  while (1) {
3786
3806
  switch (_context2.prev = _context2.next) {
3787
3807
  case 0:
3788
- db$1 = db(config$1);
3808
+ db$1 = db(config);
3789
3809
  query = '\n select * \n from field\n where occupation_id = ?\n order by sorting\n ';
3790
3810
  _context2.next = 4;
3791
3811
  return db$1.query(query, [occupation]);
@@ -3833,7 +3853,7 @@ var getFieldsAndOptions = function () {
3833
3853
  return _context2.stop();
3834
3854
  }
3835
3855
  }
3836
- }, _callee2, _this$4);
3856
+ }, _callee2, _this);
3837
3857
  }));
3838
3858
 
3839
3859
  return function getFieldsAndOptions(_x2) {
@@ -3904,8 +3924,8 @@ var ProcessData = (function () {
3904
3924
  })();
3905
3925
 
3906
3926
  var LoginForm_1 = LoginForm;
3907
- var SignupForm_1 = SignupForm;
3908
- var ProfileForm_1 = SignupForm$1;
3927
+ var SignupForm_1 = SignupForm$1;
3928
+ var ProfileForm_1 = SignupForm;
3909
3929
  var AuthCookies_1 = authCookies;
3910
3930
  var AuthHooks_1 = hooks;
3911
3931
  var Iron_1 = iron;