@mjhls/mjh-framework 1.0.701 → 1.0.702

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 (267) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/AD.js +1 -1
  3. package/dist/cjs/AD300x250.js +19 -15
  4. package/dist/cjs/AD300x250x600.js +19 -15
  5. package/dist/cjs/AD728x90.js +20 -16
  6. package/dist/cjs/ADFloatingFooter.js +18 -14
  7. package/dist/cjs/ADFooter.js +5 -5
  8. package/dist/cjs/ADGutter.js +18 -14
  9. package/dist/cjs/{ADInfeed-f60d8625.js → ADInfeed-ede153e2.js} +2 -2
  10. package/dist/cjs/ADSkyscraper.js +18 -14
  11. package/dist/cjs/ADSponsoredResources.js +18 -14
  12. package/dist/cjs/ADWebcast.js +18 -14
  13. package/dist/cjs/ADWelcome.js +18 -14
  14. package/dist/cjs/{ADlgInfeed-a08f8a4b.js → ADlgInfeed-6a121a0d.js} +2 -2
  15. package/dist/cjs/AccordionPanel.js +6 -6
  16. package/dist/cjs/AdSlot.js +29 -16
  17. package/dist/cjs/AdSlotsProvider.js +4 -2
  18. package/dist/cjs/AlphabeticList.js +9 -9
  19. package/dist/cjs/ArticleCarousel.js +16 -13
  20. package/dist/cjs/ArticleSeriesListing.js +27 -24
  21. package/dist/cjs/Auth.js +743 -312
  22. package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-d19285ed.js} +1 -1
  23. package/dist/cjs/Beam.js +19 -19
  24. package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-e53217a7.js} +23 -25
  25. package/dist/cjs/Breadcrumbs.js +5 -5
  26. package/dist/cjs/BrowseVideosListing.js +17 -14
  27. package/dist/cjs/CMEDeck.js +26 -23
  28. package/dist/cjs/Column2.js +15 -13
  29. package/dist/cjs/Column3.js +24 -20
  30. package/dist/cjs/ConferenceArticleCard.js +2 -2
  31. package/dist/cjs/DeckContent.js +33 -30
  32. package/dist/cjs/DeckQueue.js +32 -29
  33. package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-13ff07b4.js} +13 -10
  34. package/dist/cjs/EventsDeck.js +35 -34
  35. package/dist/cjs/ExternalResources.js +35 -32
  36. package/dist/cjs/Feature.js +4 -3
  37. package/dist/cjs/ForbesHero.js +12 -9
  38. package/dist/cjs/GridContent.js +45 -42
  39. package/dist/cjs/GridHero.js +12 -9
  40. package/dist/cjs/GroupDeck.js +13 -13
  41. package/dist/cjs/HamMagazine.js +19 -17
  42. package/dist/cjs/Hero.js +1 -1
  43. package/dist/cjs/HighlightenVideo.js +1 -1
  44. package/dist/cjs/HorizontalHero.js +3 -3
  45. package/dist/cjs/IssueContentDeck.js +12 -9
  46. package/dist/cjs/IssueDeck.js +15 -12
  47. package/dist/cjs/IssueLanding.js +29 -26
  48. package/dist/cjs/LeftNav.js +18 -14
  49. package/dist/cjs/MasterDeck.js +37 -34
  50. package/dist/cjs/NavDvm.js +9 -9
  51. package/dist/cjs/NavMagazine.js +19 -17
  52. package/dist/cjs/NavNative.js +16 -14
  53. package/dist/cjs/NavNormal.js +10 -10
  54. package/dist/cjs/OncliveHero.js +2 -3
  55. package/dist/cjs/OncliveLargeHero.js +12 -9
  56. package/dist/cjs/PageFilter.js +5 -5
  57. package/dist/cjs/PartnerDetailListing.js +45 -1239
  58. package/dist/cjs/PdfDownload.js +1 -1
  59. package/dist/cjs/PopUpModal.js +5 -5
  60. package/dist/cjs/PublicationDeck.js +8 -5
  61. package/dist/cjs/PublicationLanding.js +60 -57
  62. package/dist/cjs/QueueDeckExpanded.js +36 -33
  63. package/dist/cjs/RecentNews.js +3 -3
  64. package/dist/cjs/RelatedContent.js +6 -3
  65. package/dist/cjs/Search.js +5 -5
  66. package/dist/cjs/Segment.js +20 -20
  67. package/dist/cjs/SetCookie.js +2 -2
  68. package/dist/cjs/SideFooter.js +16 -14
  69. package/dist/cjs/{SocialSearchComponent-75c51b47.js → SocialSearchComponent-1ef1e6fb.js} +5 -5
  70. package/dist/cjs/TaxonomyCard.js +10 -7
  71. package/dist/cjs/TemplateNormal.js +33 -29
  72. package/dist/cjs/ThumbnailCard.js +5 -2
  73. package/dist/cjs/Ustream.js +10 -9
  74. package/dist/cjs/VerticalHero.js +2 -2
  75. package/dist/cjs/VideoSeriesCard.js +13 -10
  76. package/dist/cjs/VideoSeriesFilter.js +11 -11
  77. package/dist/cjs/VideoSeriesListing.js +27 -24
  78. package/dist/cjs/View.js +49 -46
  79. package/dist/cjs/YahooHero.js +12 -9
  80. package/dist/cjs/YoutubeGroup.js +17 -14
  81. package/dist/cjs/{_to-object-329a650b.js → _export-a917dedd.js} +31 -31
  82. package/dist/cjs/{_is-array-754e012d.js → _is-array-a82382b4.js} +11 -11
  83. package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-671c90bd.js} +10 -10
  84. package/dist/cjs/{_library-dd23b178.js → _library-4360b4e4.js} +1 -1
  85. package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-6bed508e.js} +2 -2
  86. package/dist/cjs/_object-sap-947ef6fb.js +16 -0
  87. package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +10 -0
  88. package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +9 -0
  89. package/dist/cjs/_react_commonjs-external-58b78ee1.js +10 -0
  90. package/dist/cjs/{_set-species-f92c67c5.js → _set-species-47156c42.js} +17 -17
  91. package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-fd8e35e7.js} +69 -69
  92. package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-05029198.js} +4 -3
  93. package/dist/cjs/core.get-iterator-method-07b02ac3.js +39 -0
  94. package/dist/cjs/{debounce-eb287781.js → debounce-fb3a46a9.js} +7 -7
  95. package/dist/cjs/{define-property-f4d12f4e.js → define-property-9b6df20e.js} +4 -4
  96. package/dist/cjs/{defineProperty-55548b25.js → defineProperty-d3c0cfc0.js} +2 -2
  97. package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e5f4ce45.js} +34 -34
  98. package/dist/cjs/{extends-60837c34.js → extends-5fde0677.js} +11 -11
  99. package/dist/cjs/{get-68c52cb1.js → get-70ef997d.js} +11 -11
  100. package/dist/cjs/getRelatedArticle.js +10 -10
  101. package/dist/cjs/getSerializers.js +33 -30
  102. package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-5ca9bfaf.js} +2 -2
  103. package/dist/cjs/getTargeting.js +8 -8
  104. package/dist/cjs/{index-da796b8c.js → index-29e3f3a9.js} +11 -12
  105. package/dist/cjs/{index-5be2866f.js → index-949261b4.js} +18 -19
  106. package/dist/cjs/{index-ec02006c.js → index-b1ee7cd9.js} +335 -329
  107. package/dist/cjs/{index-2d0a4911.js → index-d7577df6.js} +8 -10
  108. package/dist/cjs/{index-b5eb3ff8.js → index-ff69979f.js} +8 -3
  109. package/dist/cjs/{index.es-ab3f2690.js → index.es-e9d84959.js} +20 -4
  110. package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
  111. package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
  112. package/dist/cjs/{index.esm-4d410430.js → index.esm-8a8fa078.js} +3 -4
  113. package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
  114. package/dist/cjs/index.js +58 -54
  115. package/dist/cjs/{inherits-513d81cd.js → inherits-02a27fbf.js} +16 -16
  116. package/dist/cjs/{isSymbol-04666465.js → isSymbol-a0d5eb50.js} +5 -5
  117. package/dist/cjs/{js.cookie-a511c430.js → js.cookie-e4684873.js} +1 -1
  118. package/dist/cjs/{keys-a586b7a0.js → keys-1a65eb47.js} +5 -5
  119. package/dist/cjs/{lodash-fc2922d0.js → lodash-257df6c4.js} +72 -23
  120. package/dist/cjs/{main-99536bdc.js → main-1442052b.js} +48 -46
  121. package/dist/cjs/{moment-66a6a284.js → moment-29403f08.js} +11 -8
  122. package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-5604d0d1.js} +11 -13
  123. package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-d0ac47b9.js} +10 -10
  124. package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-03c20c7d.js} +1 -1
  125. package/dist/cjs/{stringify-7c5aff47.js → stringify-e064b7d0.js} +2 -2
  126. package/dist/cjs/timeDifferenceCalc.js +1 -1
  127. package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-d47f0c64.js} +13 -13
  128. package/dist/cjs/{typeof-725500bc.js → typeof-5763a25b.js} +84 -84
  129. package/dist/cjs/urlFor.js +1 -1
  130. package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-ede0bc7b.js} +5 -6
  131. package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-cd8a9ccb.js} +10 -10
  132. package/dist/esm/AD.js +1 -1
  133. package/dist/esm/AD300x250.js +21 -17
  134. package/dist/esm/AD300x250x600.js +21 -17
  135. package/dist/esm/AD728x90.js +22 -18
  136. package/dist/esm/ADFloatingFooter.js +20 -16
  137. package/dist/esm/ADFooter.js +5 -5
  138. package/dist/esm/ADGutter.js +20 -16
  139. package/dist/esm/{ADInfeed-c7e745f1.js → ADInfeed-d890d5ca.js} +4 -4
  140. package/dist/esm/ADSkyscraper.js +20 -16
  141. package/dist/esm/ADSponsoredResources.js +20 -16
  142. package/dist/esm/ADWebcast.js +20 -16
  143. package/dist/esm/ADWelcome.js +20 -16
  144. package/dist/esm/{ADlgInfeed-6fedd79b.js → ADlgInfeed-1d006b36.js} +4 -4
  145. package/dist/esm/AccordionPanel.js +6 -6
  146. package/dist/esm/AdSlot.js +30 -17
  147. package/dist/esm/AdSlotsProvider.js +4 -2
  148. package/dist/esm/AlphabeticList.js +9 -9
  149. package/dist/esm/ArticleCarousel.js +16 -13
  150. package/dist/esm/ArticleSeriesListing.js +27 -24
  151. package/dist/esm/Auth.js +743 -312
  152. package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-8ffb1deb.js} +1 -1
  153. package/dist/esm/Beam.js +19 -19
  154. package/dist/esm/{BlockContent-a614acdf.js → BlockContent-e6f64e62.js} +23 -21
  155. package/dist/esm/Breadcrumbs.js +5 -5
  156. package/dist/esm/BrowseVideosListing.js +17 -14
  157. package/dist/esm/CMEDeck.js +26 -23
  158. package/dist/esm/Column2.js +15 -13
  159. package/dist/esm/Column3.js +24 -20
  160. package/dist/esm/ConferenceArticleCard.js +2 -2
  161. package/dist/esm/DeckContent.js +33 -30
  162. package/dist/esm/DeckQueue.js +32 -29
  163. package/dist/esm/{Dfp-8a8fca18.js → Dfp-7db56716.js} +13 -10
  164. package/dist/esm/EventsDeck.js +35 -34
  165. package/dist/esm/ExternalResources.js +35 -32
  166. package/dist/esm/Feature.js +4 -3
  167. package/dist/esm/ForbesHero.js +12 -9
  168. package/dist/esm/GridContent.js +45 -42
  169. package/dist/esm/GridHero.js +12 -9
  170. package/dist/esm/GroupDeck.js +13 -13
  171. package/dist/esm/HamMagazine.js +19 -17
  172. package/dist/esm/Hero.js +1 -1
  173. package/dist/esm/HighlightenVideo.js +1 -1
  174. package/dist/esm/HorizontalHero.js +3 -3
  175. package/dist/esm/IssueContentDeck.js +12 -9
  176. package/dist/esm/IssueDeck.js +15 -12
  177. package/dist/esm/IssueLanding.js +29 -26
  178. package/dist/esm/LeftNav.js +18 -14
  179. package/dist/esm/MasterDeck.js +37 -34
  180. package/dist/esm/NavDvm.js +9 -9
  181. package/dist/esm/NavMagazine.js +19 -17
  182. package/dist/esm/NavNative.js +16 -14
  183. package/dist/esm/NavNormal.js +10 -10
  184. package/dist/esm/OncliveHero.js +2 -3
  185. package/dist/esm/OncliveLargeHero.js +12 -9
  186. package/dist/esm/PageFilter.js +5 -5
  187. package/dist/esm/PartnerDetailListing.js +45 -1238
  188. package/dist/esm/PdfDownload.js +1 -1
  189. package/dist/esm/PopUpModal.js +5 -5
  190. package/dist/esm/PublicationDeck.js +8 -5
  191. package/dist/esm/PublicationLanding.js +60 -57
  192. package/dist/esm/QueueDeckExpanded.js +36 -33
  193. package/dist/esm/RecentNews.js +3 -3
  194. package/dist/esm/RelatedContent.js +6 -3
  195. package/dist/esm/Search.js +5 -5
  196. package/dist/esm/Segment.js +20 -20
  197. package/dist/esm/SetCookie.js +2 -2
  198. package/dist/esm/SideFooter.js +16 -14
  199. package/dist/esm/{SocialSearchComponent-5a9c4628.js → SocialSearchComponent-4eae0149.js} +5 -5
  200. package/dist/esm/TaxonomyCard.js +10 -7
  201. package/dist/esm/TemplateNormal.js +35 -31
  202. package/dist/esm/ThumbnailCard.js +5 -2
  203. package/dist/esm/Ustream.js +10 -9
  204. package/dist/esm/VerticalHero.js +2 -2
  205. package/dist/esm/VideoSeriesCard.js +13 -10
  206. package/dist/esm/VideoSeriesFilter.js +11 -11
  207. package/dist/esm/VideoSeriesListing.js +27 -24
  208. package/dist/esm/View.js +54 -51
  209. package/dist/esm/YahooHero.js +12 -9
  210. package/dist/esm/YoutubeGroup.js +17 -14
  211. package/dist/esm/{_to-object-ded78eb9.js → _export-f7ec2adf.js} +3 -3
  212. package/dist/esm/{_is-array-49698029.js → _is-array-5bea6006.js} +10 -10
  213. package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-65720de7.js} +8 -8
  214. package/dist/esm/_library-90219a8d.js +3 -0
  215. package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-8e2f6c3a.js} +1 -1
  216. package/dist/esm/_object-sap-146241c9.js +14 -0
  217. package/dist/esm/_prop-types_commonjs-external-9481d338.js +5 -0
  218. package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +5 -0
  219. package/dist/esm/_react_commonjs-external-22b61490.js +5 -0
  220. package/dist/esm/{_set-species-cede29f8.js → _set-species-26ee5c2a.js} +14 -14
  221. package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-0c61f551.js} +69 -69
  222. package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-e761d404.js} +4 -3
  223. package/dist/esm/core.get-iterator-method-dbbb346b.js +36 -0
  224. package/dist/esm/{debounce-1a993acf.js → debounce-7b569c00.js} +6 -6
  225. package/dist/esm/{define-property-de3fc946.js → define-property-7a40a451.js} +4 -4
  226. package/dist/esm/{defineProperty-b798470d.js → defineProperty-a2ac5d3d.js} +2 -2
  227. package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-13b94db0.js} +27 -27
  228. package/dist/esm/{extends-cc5da797.js → extends-8e0228d5.js} +11 -11
  229. package/dist/esm/{get-5ee14cda.js → get-bb2155d5.js} +10 -10
  230. package/dist/esm/getRelatedArticle.js +10 -10
  231. package/dist/esm/getSerializers.js +33 -30
  232. package/dist/esm/{getTargeting-2acdec91.js → getTargeting-d97a1e83.js} +2 -2
  233. package/dist/esm/getTargeting.js +8 -8
  234. package/dist/esm/{index-d2f90501.js → index-1295881c.js} +16 -17
  235. package/dist/esm/{index-93ec3c59.js → index-17490425.js} +8 -6
  236. package/dist/esm/{index-50d0fbc7.js → index-4540328d.js} +338 -332
  237. package/dist/esm/{index-5f9f807a.js → index-a4e850af.js} +11 -8
  238. package/dist/esm/{index-51a80699.js → index-f7fdcc91.js} +8 -3
  239. package/dist/esm/{index.es-938a3a58.js → index.es-a6137319.js} +20 -4
  240. package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
  241. package/dist/esm/{index.esm-fd746768.js → index.esm-4838a32e.js} +3 -4
  242. package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
  243. package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
  244. package/dist/esm/index.js +58 -54
  245. package/dist/esm/{inherits-7ee3e0c1.js → inherits-d1948b66.js} +16 -16
  246. package/dist/esm/{isSymbol-807e927e.js → isSymbol-2b7f6e65.js} +1 -1
  247. package/dist/esm/{js.cookie-6874175c.js → js.cookie-2ce24ab0.js} +1 -1
  248. package/dist/esm/{keys-fc2d4c34.js → keys-e091cb65.js} +5 -5
  249. package/dist/esm/{lodash-17fdfebb.js → lodash-2b866578.js} +72 -23
  250. package/dist/esm/{main-e2627831.js → main-140f99b4.js} +49 -44
  251. package/dist/esm/{moment-12415288.js → moment-8797a4d3.js} +11 -9
  252. package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-40e8d28f.js} +11 -9
  253. package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-8818fe95.js} +10 -10
  254. package/dist/esm/{stringify-008c8802.js → stringify-dedf4a20.js} +2 -2
  255. package/dist/esm/timeDifferenceCalc.js +1 -1
  256. package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-02217419.js} +13 -13
  257. package/dist/esm/{typeof-08f2c380.js → typeof-a10a5616.js} +85 -85
  258. package/dist/esm/urlFor.js +1 -1
  259. package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-7b6316cf.js} +5 -3
  260. package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-c3ba4d37.js} +10 -10
  261. package/package.json +1 -1
  262. package/dist/cjs/_object-sap-5e74ba08.js +0 -16
  263. package/dist/cjs/core.get-iterator-method-f62321d4.js +0 -39
  264. package/dist/esm/_library-528f1934.js +0 -3
  265. package/dist/esm/_object-sap-4d59d5bd.js +0 -14
  266. package/dist/esm/core.get-iterator-method-54d2e411.js +0 -36
  267. /package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-2d74941c.js} +0 -0
package/dist/esm/Auth.js CHANGED
@@ -1,18 +1,18 @@
1
1
  import { a as commonjsGlobal, c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
2
- import './_to-object-ded78eb9.js';
3
- import './es6.string.iterator-9b2af4a5.js';
4
- import './_library-528f1934.js';
5
- import './_iter-detect-59409a32.js';
6
- import './core.get-iterator-method-54d2e411.js';
7
- import './_object-pie-71ac75a4.js';
8
- import { _ as _extends } from './extends-cc5da797.js';
9
- import './web.dom.iterable-8956f9a5.js';
2
+ import './_export-f7ec2adf.js';
3
+ import './es6.string.iterator-13b94db0.js';
4
+ import './_library-90219a8d.js';
5
+ import './_iter-detect-65720de7.js';
6
+ import './core.get-iterator-method-dbbb346b.js';
7
+ import './_object-pie-8e2f6c3a.js';
8
+ import { _ as _extends } from './extends-8e0228d5.js';
9
+ import './web.dom.iterable-c3ba4d37.js';
10
10
  import React__default, { useEffect, useState } from 'react';
11
11
  import Router from 'next/router';
12
- import { _ as _JSON$stringify } from './stringify-008c8802.js';
13
- import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-7021e5df.js';
14
- import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
15
- import './_set-species-cede29f8.js';
12
+ import { _ as _JSON$stringify } from './stringify-dedf4a20.js';
13
+ import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-8818fe95.js';
14
+ import { a as _asyncToGenerator, b as _regeneratorRuntime } from './asyncToGenerator-0c61f551.js';
15
+ import './_set-species-26ee5c2a.js';
16
16
  import { Col, Form, Button, Spinner } from 'react-bootstrap';
17
17
  import { u as util } from './util-7700fc59.js';
18
18
  import { s as serialize_1, p as parse_1 } from './index-db3bb315.js';
@@ -139,9 +139,9 @@ var returnFormField = function returnFormField(_ref) {
139
139
  var _this = undefined;
140
140
 
141
141
  var dataHandler = function () {
142
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(api_url, body) {
142
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(api_url, body) {
143
143
  var res, result;
144
- return regenerator.wrap(function _callee$(_context) {
144
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
145
145
  while (1) {
146
146
  switch (_context.prev = _context.next) {
147
147
  case 0:
@@ -244,9 +244,9 @@ var hooks = /*#__PURE__*/Object.freeze({
244
244
 
245
245
  var LoginForm = function LoginForm(props) {
246
246
  var handleSubmit = function () {
247
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(e) {
247
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(e) {
248
248
  var body, res;
249
- return regenerator.wrap(function _callee$(_context) {
249
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
250
250
  while (1) {
251
251
  switch (_context.prev = _context.next) {
252
252
  case 0:
@@ -402,10 +402,10 @@ var _this$1 = undefined;
402
402
 
403
403
  var SignupForm = function SignupForm(props) {
404
404
  var handleSubmit = function () {
405
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
405
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(e) {
406
406
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
407
407
 
408
- return regenerator.wrap(function _callee3$(_context3) {
408
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
409
409
  while (1) {
410
410
  switch (_context3.prev = _context3.next) {
411
411
  case 0:
@@ -535,9 +535,9 @@ var SignupForm = function SignupForm(props) {
535
535
  setNonHealthcareOccupation = _useState8[1];
536
536
 
537
537
  var loadInitData = function () {
538
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
538
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
539
539
  var healthcare_occupation, non_healthcare_occupation;
540
- return regenerator.wrap(function _callee$(_context) {
540
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
541
541
  while (1) {
542
542
  switch (_context.prev = _context.next) {
543
543
  case 0:
@@ -608,9 +608,9 @@ var SignupForm = function SignupForm(props) {
608
608
  setOccupationFields = _useState12[1];
609
609
 
610
610
  var handleOccupationChanged = function () {
611
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(e) {
611
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(e) {
612
612
  var occupation, fields;
613
- return regenerator.wrap(function _callee2$(_context2) {
613
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
614
614
  while (1) {
615
615
  switch (_context2.prev = _context2.next) {
616
616
  case 0:
@@ -780,10 +780,10 @@ var _this$2 = undefined;
780
780
 
781
781
  var SignupForm$1 = function SignupForm(props) {
782
782
  var handleSubmit = function () {
783
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
783
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(e) {
784
784
  var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
785
785
 
786
- return regenerator.wrap(function _callee3$(_context3) {
786
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
787
787
  while (1) {
788
788
  switch (_context3.prev = _context3.next) {
789
789
  case 0:
@@ -924,9 +924,9 @@ var SignupForm$1 = function SignupForm(props) {
924
924
  var user = props.user;
925
925
 
926
926
  var loadInitData = function () {
927
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
927
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
928
928
  var healthcare_occupation, non_healthcare_occupation, foundOccupation, fields;
929
- return regenerator.wrap(function _callee$(_context) {
929
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
930
930
  while (1) {
931
931
  switch (_context.prev = _context.next) {
932
932
  case 0:
@@ -1020,9 +1020,9 @@ var SignupForm$1 = function SignupForm(props) {
1020
1020
  setOccupationFields = _useState14[1];
1021
1021
 
1022
1022
  var handleOccupationChanged = function () {
1023
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(e) {
1023
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(e) {
1024
1024
  var occupation, fields;
1025
- return regenerator.wrap(function _callee2$(_context2) {
1025
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
1026
1026
  while (1) {
1027
1027
  switch (_context2.prev = _context2.next) {
1028
1028
  case 0:
@@ -1275,9 +1275,9 @@ function encryptSession(session) {
1275
1275
  }
1276
1276
 
1277
1277
  var getSession = function () {
1278
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(req) {
1278
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(req) {
1279
1279
  var token, buff;
1280
- return regenerator.wrap(function _callee$(_context) {
1280
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
1281
1281
  while (1) {
1282
1282
  switch (_context.prev = _context.next) {
1283
1283
  case 0:
@@ -1537,59 +1537,6 @@ defineProperties.supportsDescriptors = !!supportsDescriptors;
1537
1537
 
1538
1538
  var defineProperties_1 = defineProperties;
1539
1539
 
1540
- /* eslint complexity: [2, 18], max-statements: [2, 33] */
1541
- var shams = function hasSymbols() {
1542
- if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1543
- if (typeof Symbol.iterator === 'symbol') { return true; }
1544
-
1545
- var obj = {};
1546
- var sym = Symbol('test');
1547
- var symObj = Object(sym);
1548
- if (typeof sym === 'string') { return false; }
1549
-
1550
- if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1551
- if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1552
-
1553
- // temp disabled per https://github.com/ljharb/object.assign/issues/17
1554
- // if (sym instanceof Symbol) { return false; }
1555
- // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1556
- // if (!(symObj instanceof Symbol)) { return false; }
1557
-
1558
- // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1559
- // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1560
-
1561
- var symVal = 42;
1562
- obj[sym] = symVal;
1563
- for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1564
- if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1565
-
1566
- if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1567
-
1568
- var syms = Object.getOwnPropertySymbols(obj);
1569
- if (syms.length !== 1 || syms[0] !== sym) { return false; }
1570
-
1571
- if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1572
-
1573
- if (typeof Object.getOwnPropertyDescriptor === 'function') {
1574
- var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1575
- if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1576
- }
1577
-
1578
- return true;
1579
- };
1580
-
1581
- var origSymbol = commonjsGlobal.Symbol;
1582
-
1583
-
1584
- var hasSymbols$1 = function hasNativeSymbols() {
1585
- if (typeof origSymbol !== 'function') { return false; }
1586
- if (typeof Symbol !== 'function') { return false; }
1587
- if (typeof origSymbol('foo') !== 'symbol') { return false; }
1588
- if (typeof Symbol('bar') !== 'symbol') { return false; }
1589
-
1590
- return shams();
1591
- };
1592
-
1593
1540
  /* eslint no-invalid-this: 1 */
1594
1541
 
1595
1542
  var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
@@ -1643,15 +1590,74 @@ var implementation$1 = function bind(that) {
1643
1590
 
1644
1591
  var functionBind = Function.prototype.bind || implementation$1;
1645
1592
 
1646
- /* globals
1647
- Atomics,
1648
- SharedArrayBuffer,
1649
- */
1593
+ /* eslint complexity: [2, 18], max-statements: [2, 33] */
1594
+ var shams = function hasSymbols() {
1595
+ if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
1596
+ if (typeof Symbol.iterator === 'symbol') { return true; }
1597
+
1598
+ var obj = {};
1599
+ var sym = Symbol('test');
1600
+ var symObj = Object(sym);
1601
+ if (typeof sym === 'string') { return false; }
1602
+
1603
+ if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
1604
+ if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
1605
+
1606
+ // temp disabled per https://github.com/ljharb/object.assign/issues/17
1607
+ // if (sym instanceof Symbol) { return false; }
1608
+ // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
1609
+ // if (!(symObj instanceof Symbol)) { return false; }
1610
+
1611
+ // if (typeof Symbol.prototype.toString !== 'function') { return false; }
1612
+ // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
1613
+
1614
+ var symVal = 42;
1615
+ obj[sym] = symVal;
1616
+ for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax
1617
+ if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
1618
+
1619
+ if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
1620
+
1621
+ var syms = Object.getOwnPropertySymbols(obj);
1622
+ if (syms.length !== 1 || syms[0] !== sym) { return false; }
1623
+
1624
+ if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
1625
+
1626
+ if (typeof Object.getOwnPropertyDescriptor === 'function') {
1627
+ var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
1628
+ if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
1629
+ }
1630
+
1631
+ return true;
1632
+ };
1633
+
1634
+ var origSymbol = commonjsGlobal.Symbol;
1635
+
1636
+
1637
+ var hasSymbols$1 = function hasNativeSymbols() {
1638
+ if (typeof origSymbol !== 'function') { return false; }
1639
+ if (typeof Symbol !== 'function') { return false; }
1640
+ if (typeof origSymbol('foo') !== 'symbol') { return false; }
1641
+ if (typeof Symbol('bar') !== 'symbol') { return false; }
1642
+
1643
+ return shams();
1644
+ };
1645
+
1646
+ var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1650
1647
 
1651
1648
  var undefined$1;
1652
1649
 
1650
+ var $SyntaxError = SyntaxError;
1651
+ var $Function = Function;
1653
1652
  var $TypeError = TypeError;
1654
1653
 
1654
+ // eslint-disable-next-line consistent-return
1655
+ var getEvalledConstructor = function (expressionSyntax) {
1656
+ try {
1657
+ return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
1658
+ } catch (e) {}
1659
+ };
1660
+
1655
1661
  var $gOPD = Object.getOwnPropertyDescriptor;
1656
1662
  if ($gOPD) {
1657
1663
  try {
@@ -1661,7 +1667,9 @@ if ($gOPD) {
1661
1667
  }
1662
1668
  }
1663
1669
 
1664
- var throwTypeError = function () { throw new $TypeError(); };
1670
+ var throwTypeError = function () {
1671
+ throw new $TypeError();
1672
+ };
1665
1673
  var ThrowTypeError = $gOPD
1666
1674
  ? (function () {
1667
1675
  try {
@@ -1682,200 +1690,360 @@ var ThrowTypeError = $gOPD
1682
1690
  var hasSymbols$2 = hasSymbols$1();
1683
1691
 
1684
1692
  var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
1685
- var generatorFunction = undefined$1;
1686
- var asyncFunction = undefined$1;
1687
- var asyncGenFunction = undefined$1;
1693
+
1694
+ var needsEval = {};
1688
1695
 
1689
1696
  var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
1690
1697
 
1691
1698
  var INTRINSICS = {
1699
+ '%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
1692
1700
  '%Array%': Array,
1693
1701
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
1694
- '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
1695
1702
  '%ArrayIteratorPrototype%': hasSymbols$2 ? getProto([][Symbol.iterator]()) : undefined$1,
1696
- '%ArrayPrototype%': Array.prototype,
1697
- '%ArrayProto_entries%': Array.prototype.entries,
1698
- '%ArrayProto_forEach%': Array.prototype.forEach,
1699
- '%ArrayProto_keys%': Array.prototype.keys,
1700
- '%ArrayProto_values%': Array.prototype.values,
1701
1703
  '%AsyncFromSyncIteratorPrototype%': undefined$1,
1702
- '%AsyncFunction%': asyncFunction,
1703
- '%AsyncFunctionPrototype%': undefined$1,
1704
- '%AsyncGenerator%': undefined$1,
1705
- '%AsyncGeneratorFunction%': asyncGenFunction,
1706
- '%AsyncGeneratorPrototype%': undefined$1,
1707
- '%AsyncIteratorPrototype%': undefined$1,
1704
+ '%AsyncFunction%': needsEval,
1705
+ '%AsyncGenerator%': needsEval,
1706
+ '%AsyncGeneratorFunction%': needsEval,
1707
+ '%AsyncIteratorPrototype%': needsEval,
1708
1708
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
1709
+ '%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
1709
1710
  '%Boolean%': Boolean,
1710
- '%BooleanPrototype%': Boolean.prototype,
1711
1711
  '%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
1712
- '%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
1713
1712
  '%Date%': Date,
1714
- '%DatePrototype%': Date.prototype,
1715
1713
  '%decodeURI%': decodeURI,
1716
1714
  '%decodeURIComponent%': decodeURIComponent,
1717
1715
  '%encodeURI%': encodeURI,
1718
1716
  '%encodeURIComponent%': encodeURIComponent,
1719
1717
  '%Error%': Error,
1720
- '%ErrorPrototype%': Error.prototype,
1721
1718
  '%eval%': eval, // eslint-disable-line no-eval
1722
1719
  '%EvalError%': EvalError,
1723
- '%EvalErrorPrototype%': EvalError.prototype,
1724
1720
  '%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
1725
- '%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
1726
1721
  '%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
1727
- '%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array.prototype,
1728
- '%Function%': Function,
1729
- '%FunctionPrototype%': Function.prototype,
1730
- '%Generator%': undefined$1,
1731
- '%GeneratorFunction%': generatorFunction,
1732
- '%GeneratorPrototype%': undefined$1,
1722
+ '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined$1 : FinalizationRegistry,
1723
+ '%Function%': $Function,
1724
+ '%GeneratorFunction%': needsEval,
1733
1725
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
1734
- '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1735
1726
  '%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
1736
- '%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
1737
1727
  '%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
1738
- '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
1739
1728
  '%isFinite%': isFinite,
1740
1729
  '%isNaN%': isNaN,
1741
1730
  '%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
1742
1731
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
1743
- '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
1744
1732
  '%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
1745
1733
  '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
1746
- '%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
1747
1734
  '%Math%': Math,
1748
1735
  '%Number%': Number,
1749
- '%NumberPrototype%': Number.prototype,
1750
1736
  '%Object%': Object,
1751
- '%ObjectPrototype%': Object.prototype,
1752
- '%ObjProto_toString%': Object.prototype.toString,
1753
- '%ObjProto_valueOf%': Object.prototype.valueOf,
1754
1737
  '%parseFloat%': parseFloat,
1755
1738
  '%parseInt%': parseInt,
1756
1739
  '%Promise%': typeof Promise === 'undefined' ? undefined$1 : Promise,
1757
- '%PromisePrototype%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype,
1758
- '%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$1 : Promise.prototype.then,
1759
- '%Promise_all%': typeof Promise === 'undefined' ? undefined$1 : Promise.all,
1760
- '%Promise_reject%': typeof Promise === 'undefined' ? undefined$1 : Promise.reject,
1761
- '%Promise_resolve%': typeof Promise === 'undefined' ? undefined$1 : Promise.resolve,
1762
1740
  '%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
1763
1741
  '%RangeError%': RangeError,
1764
- '%RangeErrorPrototype%': RangeError.prototype,
1765
1742
  '%ReferenceError%': ReferenceError,
1766
- '%ReferenceErrorPrototype%': ReferenceError.prototype,
1767
1743
  '%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
1768
1744
  '%RegExp%': RegExp,
1769
- '%RegExpPrototype%': RegExp.prototype,
1770
1745
  '%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
1771
1746
  '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
1772
- '%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
1773
1747
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
1774
- '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
1775
1748
  '%String%': String,
1776
1749
  '%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
1777
- '%StringPrototype%': String.prototype,
1778
1750
  '%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
1779
- '%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
1780
- '%SyntaxError%': SyntaxError,
1781
- '%SyntaxErrorPrototype%': SyntaxError.prototype,
1751
+ '%SyntaxError%': $SyntaxError,
1782
1752
  '%ThrowTypeError%': ThrowTypeError,
1783
1753
  '%TypedArray%': TypedArray,
1784
- '%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
1785
1754
  '%TypeError%': $TypeError,
1786
- '%TypeErrorPrototype%': $TypeError.prototype,
1787
1755
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
1788
- '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
1789
1756
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
1790
- '%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
1791
1757
  '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
1792
- '%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
1793
1758
  '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
1794
- '%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
1795
1759
  '%URIError%': URIError,
1796
- '%URIErrorPrototype%': URIError.prototype,
1797
1760
  '%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
1798
- '%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap.prototype,
1799
- '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet,
1800
- '%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet.prototype
1761
+ '%WeakRef%': typeof WeakRef === 'undefined' ? undefined$1 : WeakRef,
1762
+ '%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
1801
1763
  };
1802
1764
 
1765
+ var doEval = function doEval(name) {
1766
+ var value;
1767
+ if (name === '%AsyncFunction%') {
1768
+ value = getEvalledConstructor('async function () {}');
1769
+ } else if (name === '%GeneratorFunction%') {
1770
+ value = getEvalledConstructor('function* () {}');
1771
+ } else if (name === '%AsyncGeneratorFunction%') {
1772
+ value = getEvalledConstructor('async function* () {}');
1773
+ } else if (name === '%AsyncGenerator%') {
1774
+ var fn = doEval('%AsyncGeneratorFunction%');
1775
+ if (fn) {
1776
+ value = fn.prototype;
1777
+ }
1778
+ } else if (name === '%AsyncIteratorPrototype%') {
1779
+ var gen = doEval('%AsyncGenerator%');
1780
+ if (gen) {
1781
+ value = getProto(gen.prototype);
1782
+ }
1783
+ }
1784
+
1785
+ INTRINSICS[name] = value;
1786
+
1787
+ return value;
1788
+ };
1803
1789
 
1790
+ var LEGACY_ALIASES = {
1791
+ '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
1792
+ '%ArrayPrototype%': ['Array', 'prototype'],
1793
+ '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
1794
+ '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
1795
+ '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
1796
+ '%ArrayProto_values%': ['Array', 'prototype', 'values'],
1797
+ '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
1798
+ '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
1799
+ '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
1800
+ '%BooleanPrototype%': ['Boolean', 'prototype'],
1801
+ '%DataViewPrototype%': ['DataView', 'prototype'],
1802
+ '%DatePrototype%': ['Date', 'prototype'],
1803
+ '%ErrorPrototype%': ['Error', 'prototype'],
1804
+ '%EvalErrorPrototype%': ['EvalError', 'prototype'],
1805
+ '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
1806
+ '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
1807
+ '%FunctionPrototype%': ['Function', 'prototype'],
1808
+ '%Generator%': ['GeneratorFunction', 'prototype'],
1809
+ '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
1810
+ '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
1811
+ '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
1812
+ '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
1813
+ '%JSONParse%': ['JSON', 'parse'],
1814
+ '%JSONStringify%': ['JSON', 'stringify'],
1815
+ '%MapPrototype%': ['Map', 'prototype'],
1816
+ '%NumberPrototype%': ['Number', 'prototype'],
1817
+ '%ObjectPrototype%': ['Object', 'prototype'],
1818
+ '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
1819
+ '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
1820
+ '%PromisePrototype%': ['Promise', 'prototype'],
1821
+ '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
1822
+ '%Promise_all%': ['Promise', 'all'],
1823
+ '%Promise_reject%': ['Promise', 'reject'],
1824
+ '%Promise_resolve%': ['Promise', 'resolve'],
1825
+ '%RangeErrorPrototype%': ['RangeError', 'prototype'],
1826
+ '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
1827
+ '%RegExpPrototype%': ['RegExp', 'prototype'],
1828
+ '%SetPrototype%': ['Set', 'prototype'],
1829
+ '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
1830
+ '%StringPrototype%': ['String', 'prototype'],
1831
+ '%SymbolPrototype%': ['Symbol', 'prototype'],
1832
+ '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
1833
+ '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
1834
+ '%TypeErrorPrototype%': ['TypeError', 'prototype'],
1835
+ '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
1836
+ '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
1837
+ '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
1838
+ '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
1839
+ '%URIErrorPrototype%': ['URIError', 'prototype'],
1840
+ '%WeakMapPrototype%': ['WeakMap', 'prototype'],
1841
+ '%WeakSetPrototype%': ['WeakSet', 'prototype']
1842
+ };
1843
+
1844
+
1845
+
1846
+ var $concat = functionBind.call(Function.call, Array.prototype.concat);
1847
+ var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
1804
1848
  var $replace = functionBind.call(Function.call, String.prototype.replace);
1849
+ var $strSlice = functionBind.call(Function.call, String.prototype.slice);
1805
1850
 
1806
1851
  /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
1807
1852
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
1808
1853
  var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
1809
1854
  var stringToPath = function stringToPath(string) {
1855
+ var first = $strSlice(string, 0, 1);
1856
+ var last = $strSlice(string, -1);
1857
+ if (first === '%' && last !== '%') {
1858
+ throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
1859
+ } else if (last === '%' && first !== '%') {
1860
+ throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
1861
+ }
1810
1862
  var result = [];
1811
1863
  $replace(string, rePropName, function (match, number, quote, subString) {
1812
- result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
1864
+ result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
1813
1865
  });
1814
1866
  return result;
1815
1867
  };
1816
1868
  /* end adaptation */
1817
1869
 
1818
1870
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
1819
- if (!(name in INTRINSICS)) {
1820
- throw new SyntaxError('intrinsic ' + name + ' does not exist!');
1871
+ var intrinsicName = name;
1872
+ var alias;
1873
+ if (src(LEGACY_ALIASES, intrinsicName)) {
1874
+ alias = LEGACY_ALIASES[intrinsicName];
1875
+ intrinsicName = '%' + alias[0] + '%';
1821
1876
  }
1822
1877
 
1823
- // istanbul ignore if // hopefully this is impossible to test :-)
1824
- if (typeof INTRINSICS[name] === 'undefined' && !allowMissing) {
1825
- throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1878
+ if (src(INTRINSICS, intrinsicName)) {
1879
+ var value = INTRINSICS[intrinsicName];
1880
+ if (value === needsEval) {
1881
+ value = doEval(intrinsicName);
1882
+ }
1883
+ if (typeof value === 'undefined' && !allowMissing) {
1884
+ throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
1885
+ }
1886
+
1887
+ return {
1888
+ alias: alias,
1889
+ name: intrinsicName,
1890
+ value: value
1891
+ };
1826
1892
  }
1827
1893
 
1828
- return INTRINSICS[name];
1894
+ throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
1829
1895
  };
1830
1896
 
1831
- var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
1897
+ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
1832
1898
  if (typeof name !== 'string' || name.length === 0) {
1833
- throw new TypeError('intrinsic name must be a non-empty string');
1899
+ throw new $TypeError('intrinsic name must be a non-empty string');
1834
1900
  }
1835
1901
  if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
1836
- throw new TypeError('"allowMissing" argument must be a boolean');
1902
+ throw new $TypeError('"allowMissing" argument must be a boolean');
1837
1903
  }
1838
1904
 
1839
1905
  var parts = stringToPath(name);
1906
+ var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
1840
1907
 
1841
- var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
1842
- for (var i = 1; i < parts.length; i += 1) {
1843
- if (value != null) {
1908
+ var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
1909
+ var intrinsicRealName = intrinsic.name;
1910
+ var value = intrinsic.value;
1911
+ var skipFurtherCaching = false;
1912
+
1913
+ var alias = intrinsic.alias;
1914
+ if (alias) {
1915
+ intrinsicBaseName = alias[0];
1916
+ $spliceApply(parts, $concat([0, 1], alias));
1917
+ }
1918
+
1919
+ for (var i = 1, isOwn = true; i < parts.length; i += 1) {
1920
+ var part = parts[i];
1921
+ var first = $strSlice(part, 0, 1);
1922
+ var last = $strSlice(part, -1);
1923
+ if (
1924
+ (
1925
+ (first === '"' || first === "'" || first === '`')
1926
+ || (last === '"' || last === "'" || last === '`')
1927
+ )
1928
+ && first !== last
1929
+ ) {
1930
+ throw new $SyntaxError('property names with quotes must have matching quotes');
1931
+ }
1932
+ if (part === 'constructor' || !isOwn) {
1933
+ skipFurtherCaching = true;
1934
+ }
1935
+
1936
+ intrinsicBaseName += '.' + part;
1937
+ intrinsicRealName = '%' + intrinsicBaseName + '%';
1938
+
1939
+ if (src(INTRINSICS, intrinsicRealName)) {
1940
+ value = INTRINSICS[intrinsicRealName];
1941
+ } else if (value != null) {
1942
+ if (!(part in value)) {
1943
+ if (!allowMissing) {
1944
+ throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
1945
+ }
1946
+ return void undefined$1;
1947
+ }
1844
1948
  if ($gOPD && (i + 1) >= parts.length) {
1845
- var desc = $gOPD(value, parts[i]);
1846
- value = desc ? (desc.get || desc.value) : value[parts[i]];
1949
+ var desc = $gOPD(value, part);
1950
+ isOwn = !!desc;
1951
+
1952
+ // By convention, when a data property is converted to an accessor
1953
+ // property to emulate a data property that does not suffer from
1954
+ // the override mistake, that accessor's getter is marked with
1955
+ // an `originalValue` property. Here, when we detect this, we
1956
+ // uphold the illusion by pretending to see that original data
1957
+ // property, i.e., returning the value rather than the getter
1958
+ // itself.
1959
+ if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
1960
+ value = desc.get;
1961
+ } else {
1962
+ value = value[part];
1963
+ }
1847
1964
  } else {
1848
- value = value[parts[i]];
1965
+ isOwn = src(value, part);
1966
+ value = value[part];
1967
+ }
1968
+
1969
+ if (isOwn && !skipFurtherCaching) {
1970
+ INTRINSICS[intrinsicRealName] = value;
1849
1971
  }
1850
1972
  }
1851
1973
  }
1852
1974
  return value;
1853
1975
  };
1854
1976
 
1855
- var $Function = GetIntrinsic('%Function%');
1856
- var $apply = $Function.apply;
1857
- var $call = $Function.call;
1977
+ var callBind = createCommonjsModule(function (module) {
1978
+
1979
+
1980
+
1981
+
1982
+ var $apply = getIntrinsic('%Function.prototype.apply%');
1983
+ var $call = getIntrinsic('%Function.prototype.call%');
1984
+ var $reflectApply = getIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
1985
+
1986
+ var $gOPD = getIntrinsic('%Object.getOwnPropertyDescriptor%', true);
1987
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
1988
+ var $max = getIntrinsic('%Math.max%');
1989
+
1990
+ if ($defineProperty) {
1991
+ try {
1992
+ $defineProperty({}, 'a', { value: 1 });
1993
+ } catch (e) {
1994
+ // IE 8 has a broken defineProperty
1995
+ $defineProperty = null;
1996
+ }
1997
+ }
1858
1998
 
1859
- var callBind = function callBind() {
1860
- return functionBind.apply($call, arguments);
1999
+ module.exports = function callBind(originalFunction) {
2000
+ var func = $reflectApply(functionBind, $call, arguments);
2001
+ if ($gOPD && $defineProperty) {
2002
+ var desc = $gOPD(func, 'length');
2003
+ if (desc.configurable) {
2004
+ // original length, plus the receiver, minus any additional arguments (after the receiver)
2005
+ $defineProperty(
2006
+ func,
2007
+ 'length',
2008
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
2009
+ );
2010
+ }
2011
+ }
2012
+ return func;
1861
2013
  };
1862
2014
 
1863
- var apply = function applyBind() {
1864
- return functionBind.apply($apply, arguments);
2015
+ var applyBind = function applyBind() {
2016
+ return $reflectApply(functionBind, $apply, arguments);
1865
2017
  };
1866
- callBind.apply = apply;
1867
2018
 
1868
- var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
2019
+ if ($defineProperty) {
2020
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2021
+ } else {
2022
+ module.exports.apply = applyBind;
2023
+ }
2024
+ });
2025
+ var callBind_1 = callBind.apply;
2026
+
2027
+ var $indexOf = callBind(getIntrinsic('String.prototype.indexOf'));
1869
2028
 
1870
2029
  var callBound = function callBoundIntrinsic(name, allowMissing) {
1871
- var intrinsic = GetIntrinsic(name, !!allowMissing);
1872
- if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
2030
+ var intrinsic = getIntrinsic(name, !!allowMissing);
2031
+ if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
1873
2032
  return callBind(intrinsic);
1874
2033
  }
1875
2034
  return intrinsic;
1876
2035
  };
1877
2036
 
1878
- var $defineProperty = GetIntrinsic('%Object.defineProperty%');
2037
+ var $defineProperty = getIntrinsic('%Object.defineProperty%', true);
2038
+
2039
+ if ($defineProperty) {
2040
+ try {
2041
+ $defineProperty({}, 'a', { value: 1 });
2042
+ } catch (e) {
2043
+ // IE 8 has a broken defineProperty
2044
+ $defineProperty = null;
2045
+ }
2046
+ }
1879
2047
 
1880
2048
 
1881
2049
 
@@ -1908,10 +2076,8 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
1908
2076
  return true;
1909
2077
  };
1910
2078
 
1911
- var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
1912
-
1913
- var $TypeError$1 = GetIntrinsic('%TypeError%');
1914
- var $SyntaxError = GetIntrinsic('%SyntaxError%');
2079
+ var $TypeError$1 = getIntrinsic('%TypeError%');
2080
+ var $SyntaxError$1 = getIntrinsic('%SyntaxError%');
1915
2081
 
1916
2082
 
1917
2083
 
@@ -1948,14 +2114,14 @@ var predicates = {
1948
2114
  var assertRecord = function assertRecord(Type, recordType, argumentName, value) {
1949
2115
  var predicate = predicates[recordType];
1950
2116
  if (typeof predicate !== 'function') {
1951
- throw new $SyntaxError('unknown record type: ' + recordType);
2117
+ throw new $SyntaxError$1('unknown record type: ' + recordType);
1952
2118
  }
1953
2119
  if (!predicate(Type, value)) {
1954
2120
  throw new $TypeError$1(argumentName + ' must be a ' + recordType);
1955
2121
  }
1956
2122
  };
1957
2123
 
1958
- // https://www.ecma-international.org/ecma-262/5.1/#sec-8
2124
+ // https://ecma-international.org/ecma-262/5.1/#sec-8
1959
2125
 
1960
2126
  var Type = function Type(x) {
1961
2127
  if (x === null) {
@@ -1978,16 +2144,19 @@ var Type = function Type(x) {
1978
2144
  }
1979
2145
  };
1980
2146
 
1981
- // https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
2147
+ // https://ecma-international.org/ecma-262/11.0/#sec-ecmascript-data-types-and-values
1982
2148
 
1983
2149
  var Type$1 = function Type$1(x) {
1984
2150
  if (typeof x === 'symbol') {
1985
2151
  return 'Symbol';
1986
2152
  }
2153
+ if (typeof x === 'bigint') {
2154
+ return 'BigInt';
2155
+ }
1987
2156
  return Type(x);
1988
2157
  };
1989
2158
 
1990
- // https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
2159
+ // https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
1991
2160
 
1992
2161
  var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
1993
2162
  if (typeof Desc === 'undefined') {
@@ -2018,7 +2187,282 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
2018
2187
  return obj;
2019
2188
  };
2020
2189
 
2021
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2190
+ var $gOPD$1 = getIntrinsic('%Object.getOwnPropertyDescriptor%');
2191
+ if ($gOPD$1) {
2192
+ try {
2193
+ $gOPD$1([], 'length');
2194
+ } catch (e) {
2195
+ // IE 8 has a broken gOPD
2196
+ $gOPD$1 = null;
2197
+ }
2198
+ }
2199
+
2200
+ var getOwnPropertyDescriptor = $gOPD$1;
2201
+
2202
+ var $Array = getIntrinsic('%Array%');
2203
+
2204
+ // eslint-disable-next-line global-require
2205
+ var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
2206
+
2207
+ // https://ecma-international.org/ecma-262/6.0/#sec-isarray
2208
+
2209
+ var IsArray = $Array.isArray || function IsArray(argument) {
2210
+ return toStr$4(argument) === '[object Array]';
2211
+ };
2212
+
2213
+ // https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2214
+
2215
+ var IsPropertyKey = function IsPropertyKey(argument) {
2216
+ return typeof argument === 'string' || typeof argument === 'symbol';
2217
+ };
2218
+
2219
+ var hasSymbols$3 = hasSymbols$1();
2220
+ var hasToStringTag = hasSymbols$3 && typeof Symbol.toStringTag === 'symbol';
2221
+ var has$1;
2222
+ var $exec;
2223
+ var isRegexMarker;
2224
+ var badStringifier;
2225
+
2226
+ if (hasToStringTag) {
2227
+ has$1 = callBound('Object.prototype.hasOwnProperty');
2228
+ $exec = callBound('RegExp.prototype.exec');
2229
+ isRegexMarker = {};
2230
+
2231
+ var throwRegexMarker = function () {
2232
+ throw isRegexMarker;
2233
+ };
2234
+ badStringifier = {
2235
+ toString: throwRegexMarker,
2236
+ valueOf: throwRegexMarker
2237
+ };
2238
+
2239
+ if (typeof Symbol.toPrimitive === 'symbol') {
2240
+ badStringifier[Symbol.toPrimitive] = throwRegexMarker;
2241
+ }
2242
+ }
2243
+
2244
+ var $toString = callBound('Object.prototype.toString');
2245
+ var gOPD = Object.getOwnPropertyDescriptor;
2246
+ var regexClass = '[object RegExp]';
2247
+
2248
+ var isRegex = hasToStringTag
2249
+ // eslint-disable-next-line consistent-return
2250
+ ? function isRegex(value) {
2251
+ if (!value || typeof value !== 'object') {
2252
+ return false;
2253
+ }
2254
+
2255
+ var descriptor = gOPD(value, 'lastIndex');
2256
+ var hasLastIndexDataProperty = descriptor && has$1(descriptor, 'value');
2257
+ if (!hasLastIndexDataProperty) {
2258
+ return false;
2259
+ }
2260
+
2261
+ try {
2262
+ $exec(value, badStringifier);
2263
+ } catch (e) {
2264
+ return e === isRegexMarker;
2265
+ }
2266
+ }
2267
+ : function isRegex(value) {
2268
+ // In older browsers, typeof regex incorrectly returns 'function'
2269
+ if (!value || (typeof value !== 'object' && typeof value !== 'function')) {
2270
+ return false;
2271
+ }
2272
+
2273
+ return $toString(value) === regexClass;
2274
+ };
2275
+
2276
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.2
2277
+
2278
+ var ToBoolean = function ToBoolean(value) { return !!value; };
2279
+
2280
+ var $match = getIntrinsic('%Symbol.match%', true);
2281
+
2282
+
2283
+
2284
+
2285
+
2286
+ // https://ecma-international.org/ecma-262/6.0/#sec-isregexp
2287
+
2288
+ var IsRegExp = function IsRegExp(argument) {
2289
+ if (!argument || typeof argument !== 'object') {
2290
+ return false;
2291
+ }
2292
+ if ($match) {
2293
+ var isRegExp = argument[$match];
2294
+ if (typeof isRegExp !== 'undefined') {
2295
+ return ToBoolean(isRegExp);
2296
+ }
2297
+ }
2298
+ return isRegex(argument);
2299
+ };
2300
+
2301
+ var fnToStr = Function.prototype.toString;
2302
+ var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply;
2303
+ var badArrayLike;
2304
+ var isCallableMarker;
2305
+ if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') {
2306
+ try {
2307
+ badArrayLike = Object.defineProperty({}, 'length', {
2308
+ get: function () {
2309
+ throw isCallableMarker;
2310
+ }
2311
+ });
2312
+ isCallableMarker = {};
2313
+ // eslint-disable-next-line no-throw-literal
2314
+ reflectApply(function () { throw 42; }, null, badArrayLike);
2315
+ } catch (_) {
2316
+ if (_ !== isCallableMarker) {
2317
+ reflectApply = null;
2318
+ }
2319
+ }
2320
+ } else {
2321
+ reflectApply = null;
2322
+ }
2323
+
2324
+ var constructorRegex = /^\s*class\b/;
2325
+ var isES6ClassFn = function isES6ClassFunction(value) {
2326
+ try {
2327
+ var fnStr = fnToStr.call(value);
2328
+ return constructorRegex.test(fnStr);
2329
+ } catch (e) {
2330
+ return false; // not a function
2331
+ }
2332
+ };
2333
+
2334
+ var tryFunctionObject = function tryFunctionToStr(value) {
2335
+ try {
2336
+ if (isES6ClassFn(value)) { return false; }
2337
+ fnToStr.call(value);
2338
+ return true;
2339
+ } catch (e) {
2340
+ return false;
2341
+ }
2342
+ };
2343
+ var toStr$5 = Object.prototype.toString;
2344
+ var fnClass = '[object Function]';
2345
+ var genClass = '[object GeneratorFunction]';
2346
+ var hasToStringTag$1 = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2347
+ /* globals document: false */
2348
+ var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {};
2349
+
2350
+ var isCallable = reflectApply
2351
+ ? function isCallable(value) {
2352
+ if (value === documentDotAll) { return true; }
2353
+ if (!value) { return false; }
2354
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2355
+ if (typeof value === 'function' && !value.prototype) { return true; }
2356
+ try {
2357
+ reflectApply(value, null, badArrayLike);
2358
+ } catch (e) {
2359
+ if (e !== isCallableMarker) { return false; }
2360
+ }
2361
+ return !isES6ClassFn(value);
2362
+ }
2363
+ : function isCallable(value) {
2364
+ if (value === documentDotAll) { return true; }
2365
+ if (!value) { return false; }
2366
+ if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2367
+ if (typeof value === 'function' && !value.prototype) { return true; }
2368
+ if (hasToStringTag$1) { return tryFunctionObject(value); }
2369
+ if (isES6ClassFn(value)) { return false; }
2370
+ var strClass = toStr$5.call(value);
2371
+ return strClass === fnClass || strClass === genClass;
2372
+ };
2373
+
2374
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.11
2375
+
2376
+ var IsCallable = isCallable;
2377
+
2378
+ var $TypeError$2 = getIntrinsic('%TypeError%');
2379
+
2380
+
2381
+
2382
+
2383
+
2384
+ // https://ecma-international.org/ecma-262/5.1/#sec-8.10.5
2385
+
2386
+ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
2387
+ if (Type$1(Obj) !== 'Object') {
2388
+ throw new $TypeError$2('ToPropertyDescriptor requires an object');
2389
+ }
2390
+
2391
+ var desc = {};
2392
+ if (src(Obj, 'enumerable')) {
2393
+ desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable);
2394
+ }
2395
+ if (src(Obj, 'configurable')) {
2396
+ desc['[[Configurable]]'] = ToBoolean(Obj.configurable);
2397
+ }
2398
+ if (src(Obj, 'value')) {
2399
+ desc['[[Value]]'] = Obj.value;
2400
+ }
2401
+ if (src(Obj, 'writable')) {
2402
+ desc['[[Writable]]'] = ToBoolean(Obj.writable);
2403
+ }
2404
+ if (src(Obj, 'get')) {
2405
+ var getter = Obj.get;
2406
+ if (typeof getter !== 'undefined' && !IsCallable(getter)) {
2407
+ throw new $TypeError$2('getter must be a function');
2408
+ }
2409
+ desc['[[Get]]'] = getter;
2410
+ }
2411
+ if (src(Obj, 'set')) {
2412
+ var setter = Obj.set;
2413
+ if (typeof setter !== 'undefined' && !IsCallable(setter)) {
2414
+ throw new $TypeError$2('setter must be a function');
2415
+ }
2416
+ desc['[[Set]]'] = setter;
2417
+ }
2418
+
2419
+ if ((src(desc, '[[Get]]') || src(desc, '[[Set]]')) && (src(desc, '[[Value]]') || src(desc, '[[Writable]]'))) {
2420
+ throw new $TypeError$2('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute');
2421
+ }
2422
+ return desc;
2423
+ };
2424
+
2425
+ var $TypeError$3 = getIntrinsic('%TypeError%');
2426
+
2427
+
2428
+
2429
+ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
2430
+
2431
+
2432
+
2433
+
2434
+
2435
+
2436
+
2437
+
2438
+
2439
+ // https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
2440
+
2441
+ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
2442
+ if (Type$1(O) !== 'Object') {
2443
+ throw new $TypeError$3('Assertion failed: O must be an Object');
2444
+ }
2445
+ if (!IsPropertyKey(P)) {
2446
+ throw new $TypeError$3('Assertion failed: P must be a Property Key');
2447
+ }
2448
+ if (!src(O, P)) {
2449
+ return void 0;
2450
+ }
2451
+ if (!getOwnPropertyDescriptor) {
2452
+ // ES3 / IE 8 fallback
2453
+ var arrayLength = IsArray(O) && P === 'length';
2454
+ var regexLastIndex = IsRegExp(O) && P === 'lastIndex';
2455
+ return {
2456
+ '[[Configurable]]': !(arrayLength || regexLastIndex),
2457
+ '[[Enumerable]]': $isEnumerable$1(O, P),
2458
+ '[[Value]]': O[P],
2459
+ '[[Writable]]': true
2460
+ };
2461
+ }
2462
+ return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
2463
+ };
2464
+
2465
+ // https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
2022
2466
 
2023
2467
  var IsDataDescriptor = function IsDataDescriptor(Desc) {
2024
2468
  if (typeof Desc === 'undefined') {
@@ -2038,34 +2482,28 @@ var isPrimitive = function isPrimitive(value) {
2038
2482
  return value === null || (typeof value !== 'function' && typeof value !== 'object');
2039
2483
  };
2040
2484
 
2041
- var $Object = GetIntrinsic('%Object%');
2485
+ var $Object = getIntrinsic('%Object%');
2042
2486
 
2043
2487
 
2044
2488
 
2045
2489
  var $preventExtensions = $Object.preventExtensions;
2046
2490
  var $isExtensible = $Object.isExtensible;
2047
2491
 
2048
- // https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2492
+ // https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
2049
2493
 
2050
2494
  var IsExtensible = $preventExtensions
2051
2495
  ? function IsExtensible(obj) {
2052
2496
  return !isPrimitive(obj) && $isExtensible(obj);
2053
2497
  }
2054
- : function IsExtensible(obj) { // eslint-disable-line no-unused-vars
2055
- return true;
2498
+ : function IsExtensible(obj) {
2499
+ return !isPrimitive(obj);
2056
2500
  };
2057
2501
 
2058
- // https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
2059
-
2060
- var IsPropertyKey = function IsPropertyKey(argument) {
2061
- return typeof argument === 'string' || typeof argument === 'symbol';
2062
- };
2063
-
2064
2502
  var _isNaN = Number.isNaN || function isNaN(a) {
2065
2503
  return a !== a;
2066
2504
  };
2067
2505
 
2068
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
2506
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.12
2069
2507
 
2070
2508
  var SameValue = function SameValue(x, y) {
2071
2509
  if (x === y) { // 0 === -0, but they are not identical.
@@ -2075,8 +2513,8 @@ var SameValue = function SameValue(x, y) {
2075
2513
  return _isNaN(x) && _isNaN(y);
2076
2514
  };
2077
2515
 
2078
- var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
2079
- var $TypeError$2 = GetIntrinsic('%TypeError%');
2516
+ var $TypeError$4 = getIntrinsic('%TypeError%');
2517
+
2080
2518
 
2081
2519
 
2082
2520
 
@@ -2087,18 +2525,18 @@ var $TypeError$2 = GetIntrinsic('%TypeError%');
2087
2525
 
2088
2526
 
2089
2527
 
2090
- // https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2528
+ // https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
2091
2529
 
2092
2530
  var CreateDataProperty = function CreateDataProperty(O, P, V) {
2093
2531
  if (Type$1(O) !== 'Object') {
2094
- throw new $TypeError$2('Assertion failed: Type(O) is not Object');
2532
+ throw new $TypeError$4('Assertion failed: Type(O) is not Object');
2095
2533
  }
2096
2534
  if (!IsPropertyKey(P)) {
2097
- throw new $TypeError$2('Assertion failed: IsPropertyKey(P) is not true');
2535
+ throw new $TypeError$4('Assertion failed: IsPropertyKey(P) is not true');
2098
2536
  }
2099
- var oldDesc = $gOPD$1(O, P);
2100
- var extensible = oldDesc || IsExtensible(O);
2101
- var immutable = oldDesc && (!oldDesc.writable || !oldDesc.configurable);
2537
+ var oldDesc = OrdinaryGetOwnProperty(O, P);
2538
+ var extensible = !oldDesc || IsExtensible(O);
2539
+ var immutable = oldDesc && (!oldDesc['[[Writable]]'] || !oldDesc['[[Configurable]]']);
2102
2540
  if (immutable || !extensible) {
2103
2541
  return false;
2104
2542
  }
@@ -2117,64 +2555,24 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
2117
2555
  );
2118
2556
  };
2119
2557
 
2120
- var fnToStr = Function.prototype.toString;
2558
+ var $TypeError$5 = getIntrinsic('%TypeError%');
2121
2559
 
2122
- var constructorRegex = /^\s*class\b/;
2123
- var isES6ClassFn = function isES6ClassFunction(value) {
2124
- try {
2125
- var fnStr = fnToStr.call(value);
2126
- return constructorRegex.test(fnStr);
2127
- } catch (e) {
2128
- return false; // not a function
2129
- }
2130
- };
2131
-
2132
- var tryFunctionObject = function tryFunctionToStr(value) {
2133
- try {
2134
- if (isES6ClassFn(value)) { return false; }
2135
- fnToStr.call(value);
2136
- return true;
2137
- } catch (e) {
2138
- return false;
2139
- }
2140
- };
2141
- var toStr$4 = Object.prototype.toString;
2142
- var fnClass = '[object Function]';
2143
- var genClass = '[object GeneratorFunction]';
2144
- var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
2145
-
2146
- var isCallable = function isCallable(value) {
2147
- if (!value) { return false; }
2148
- if (typeof value !== 'function' && typeof value !== 'object') { return false; }
2149
- if (typeof value === 'function' && !value.prototype) { return true; }
2150
- if (hasToStringTag) { return tryFunctionObject(value); }
2151
- if (isES6ClassFn(value)) { return false; }
2152
- var strClass = toStr$4.call(value);
2153
- return strClass === fnClass || strClass === genClass;
2154
- };
2155
-
2156
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
2157
-
2158
- var IsCallable = isCallable;
2159
-
2160
- var $TypeError$3 = GetIntrinsic('%TypeError%');
2161
-
2162
- // http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
2560
+ // http://ecma-international.org/ecma-262/5.1/#sec-9.10
2163
2561
 
2164
2562
  var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
2165
2563
  if (value == null) {
2166
- throw new $TypeError$3(optMessage || ('Cannot call method on ' + value));
2564
+ throw new $TypeError$5(optMessage || ('Cannot call method on ' + value));
2167
2565
  }
2168
2566
  return value;
2169
2567
  };
2170
2568
 
2171
2569
  var RequireObjectCoercible = CheckObjectCoercible;
2172
2570
 
2173
- var $Object$1 = GetIntrinsic('%Object%');
2571
+ var $Object$1 = getIntrinsic('%Object%');
2174
2572
 
2175
2573
 
2176
2574
 
2177
- // https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
2575
+ // https://ecma-international.org/ecma-262/6.0/#sec-toobject
2178
2576
 
2179
2577
  var ToObject = function ToObject(value) {
2180
2578
  RequireObjectCoercible(value);
@@ -2184,10 +2582,10 @@ var ToObject = function ToObject(value) {
2184
2582
  var $gOPD$2 = Object.getOwnPropertyDescriptor;
2185
2583
  var $getOwnNames = Object.getOwnPropertyNames;
2186
2584
  var $getSymbols = Object.getOwnPropertySymbols;
2187
- var $concat = callBound('Array.prototype.concat');
2585
+ var $concat$1 = callBound('Array.prototype.concat');
2188
2586
  var $reduce = callBound('Array.prototype.reduce');
2189
2587
  var getAll = $getSymbols ? function (obj) {
2190
- return $concat($getOwnNames(obj), $getSymbols(obj));
2588
+ return $concat$1($getOwnNames(obj), $getSymbols(obj));
2191
2589
  } : $getOwnNames;
2192
2590
 
2193
2591
  var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
@@ -2226,13 +2624,15 @@ var shim = function shimGetOwnPropertyDescriptors() {
2226
2624
  return polyfill$1;
2227
2625
  };
2228
2626
 
2229
- defineProperties_1(implementation$2, {
2627
+ var bound = callBind(polyfill(), Object);
2628
+
2629
+ defineProperties_1(bound, {
2230
2630
  getPolyfill: polyfill,
2231
2631
  implementation: implementation$2,
2232
2632
  shim: shim
2233
2633
  });
2234
2634
 
2235
- var object_getownpropertydescriptors = implementation$2;
2635
+ var object_getownpropertydescriptors = bound;
2236
2636
 
2237
2637
  /* globals
2238
2638
  Atomics,
@@ -2241,7 +2641,7 @@ var object_getownpropertydescriptors = implementation$2;
2241
2641
 
2242
2642
  var undefined$2;
2243
2643
 
2244
- var $TypeError$4 = TypeError;
2644
+ var $TypeError$6 = TypeError;
2245
2645
 
2246
2646
  var $gOPD$3 = Object.getOwnPropertyDescriptor;
2247
2647
  if ($gOPD$3) {
@@ -2252,7 +2652,7 @@ if ($gOPD$3) {
2252
2652
  }
2253
2653
  }
2254
2654
 
2255
- var throwTypeError$1 = function () { throw new $TypeError$4(); };
2655
+ var throwTypeError$1 = function () { throw new $TypeError$6(); };
2256
2656
  var ThrowTypeError$1 = $gOPD$3
2257
2657
  ? (function () {
2258
2658
  try {
@@ -2270,12 +2670,12 @@ var ThrowTypeError$1 = $gOPD$3
2270
2670
  }())
2271
2671
  : throwTypeError$1;
2272
2672
 
2273
- var hasSymbols$3 = hasSymbols$1();
2673
+ var hasSymbols$4 = hasSymbols$1();
2274
2674
 
2275
2675
  var getProto$1 = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
2276
- var generatorFunction$1 = undefined$2;
2277
- var asyncFunction$1 = undefined$2;
2278
- var asyncGenFunction$1 = undefined$2;
2676
+ var generatorFunction = undefined$2;
2677
+ var asyncFunction = undefined$2;
2678
+ var asyncGenFunction = undefined$2;
2279
2679
 
2280
2680
  var TypedArray$1 = typeof Uint8Array === 'undefined' ? undefined$2 : getProto$1(Uint8Array);
2281
2681
 
@@ -2283,17 +2683,17 @@ var INTRINSICS$1 = {
2283
2683
  '%Array%': Array,
2284
2684
  '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer,
2285
2685
  '%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer.prototype,
2286
- '%ArrayIteratorPrototype%': hasSymbols$3 ? getProto$1([][Symbol.iterator]()) : undefined$2,
2686
+ '%ArrayIteratorPrototype%': hasSymbols$4 ? getProto$1([][Symbol.iterator]()) : undefined$2,
2287
2687
  '%ArrayPrototype%': Array.prototype,
2288
2688
  '%ArrayProto_entries%': Array.prototype.entries,
2289
2689
  '%ArrayProto_forEach%': Array.prototype.forEach,
2290
2690
  '%ArrayProto_keys%': Array.prototype.keys,
2291
2691
  '%ArrayProto_values%': Array.prototype.values,
2292
2692
  '%AsyncFromSyncIteratorPrototype%': undefined$2,
2293
- '%AsyncFunction%': asyncFunction$1,
2693
+ '%AsyncFunction%': asyncFunction,
2294
2694
  '%AsyncFunctionPrototype%': undefined$2,
2295
2695
  '%AsyncGenerator%': undefined$2,
2296
- '%AsyncGeneratorFunction%': asyncGenFunction$1,
2696
+ '%AsyncGeneratorFunction%': asyncGenFunction,
2297
2697
  '%AsyncGeneratorPrototype%': undefined$2,
2298
2698
  '%AsyncIteratorPrototype%': undefined$2,
2299
2699
  '%Atomics%': typeof Atomics === 'undefined' ? undefined$2 : Atomics,
@@ -2319,7 +2719,7 @@ var INTRINSICS$1 = {
2319
2719
  '%Function%': Function,
2320
2720
  '%FunctionPrototype%': Function.prototype,
2321
2721
  '%Generator%': undefined$2,
2322
- '%GeneratorFunction%': generatorFunction$1,
2722
+ '%GeneratorFunction%': generatorFunction,
2323
2723
  '%GeneratorPrototype%': undefined$2,
2324
2724
  '%Int8Array%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array,
2325
2725
  '%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array.prototype,
@@ -2329,11 +2729,11 @@ var INTRINSICS$1 = {
2329
2729
  '%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array.prototype,
2330
2730
  '%isFinite%': isFinite,
2331
2731
  '%isNaN%': isNaN,
2332
- '%IteratorPrototype%': hasSymbols$3 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
2732
+ '%IteratorPrototype%': hasSymbols$4 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
2333
2733
  '%JSON%': typeof JSON === 'object' ? JSON : undefined$2,
2334
2734
  '%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$2,
2335
2735
  '%Map%': typeof Map === 'undefined' ? undefined$2 : Map,
2336
- '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$3 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
2736
+ '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
2337
2737
  '%MapPrototype%': typeof Map === 'undefined' ? undefined$2 : Map.prototype,
2338
2738
  '%Math%': Math,
2339
2739
  '%Number%': Number,
@@ -2359,22 +2759,22 @@ var INTRINSICS$1 = {
2359
2759
  '%RegExp%': RegExp,
2360
2760
  '%RegExpPrototype%': RegExp.prototype,
2361
2761
  '%Set%': typeof Set === 'undefined' ? undefined$2 : Set,
2362
- '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$3 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
2762
+ '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
2363
2763
  '%SetPrototype%': typeof Set === 'undefined' ? undefined$2 : Set.prototype,
2364
2764
  '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer,
2365
2765
  '%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer.prototype,
2366
2766
  '%String%': String,
2367
- '%StringIteratorPrototype%': hasSymbols$3 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
2767
+ '%StringIteratorPrototype%': hasSymbols$4 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
2368
2768
  '%StringPrototype%': String.prototype,
2369
- '%Symbol%': hasSymbols$3 ? Symbol : undefined$2,
2370
- '%SymbolPrototype%': hasSymbols$3 ? Symbol.prototype : undefined$2,
2769
+ '%Symbol%': hasSymbols$4 ? Symbol : undefined$2,
2770
+ '%SymbolPrototype%': hasSymbols$4 ? Symbol.prototype : undefined$2,
2371
2771
  '%SyntaxError%': SyntaxError,
2372
2772
  '%SyntaxErrorPrototype%': SyntaxError.prototype,
2373
2773
  '%ThrowTypeError%': ThrowTypeError$1,
2374
2774
  '%TypedArray%': TypedArray$1,
2375
2775
  '%TypedArrayPrototype%': TypedArray$1 ? TypedArray$1.prototype : undefined$2,
2376
- '%TypeError%': $TypeError$4,
2377
- '%TypeErrorPrototype%': $TypeError$4.prototype,
2776
+ '%TypeError%': $TypeError$6,
2777
+ '%TypeErrorPrototype%': $TypeError$6.prototype,
2378
2778
  '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array,
2379
2779
  '%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array.prototype,
2380
2780
  '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray,
@@ -2413,13 +2813,13 @@ var getBaseIntrinsic$1 = function getBaseIntrinsic(name, allowMissing) {
2413
2813
 
2414
2814
  // istanbul ignore if // hopefully this is impossible to test :-)
2415
2815
  if (typeof INTRINSICS$1[name] === 'undefined' && !allowMissing) {
2416
- throw new $TypeError$4('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2816
+ throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
2417
2817
  }
2418
2818
 
2419
2819
  return INTRINSICS$1[name];
2420
2820
  };
2421
2821
 
2422
- var GetIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
2822
+ var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
2423
2823
  if (typeof name !== 'string' || name.length === 0) {
2424
2824
  throw new TypeError('intrinsic name must be a non-empty string');
2425
2825
  }
@@ -2435,9 +2835,16 @@ var GetIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
2435
2835
  if ($gOPD$3 && (i + 1) >= parts.length) {
2436
2836
  var desc = $gOPD$3(value, parts[i]);
2437
2837
  if (!allowMissing && !(parts[i] in value)) {
2438
- throw new $TypeError$4('base intrinsic for ' + name + ' exists, but the property is not available.');
2838
+ throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');
2439
2839
  }
2440
- value = desc ? (desc.get || desc.value) : value[parts[i]];
2840
+ // By convention, when a data property is converted to an accessor
2841
+ // property to emulate a data property that does not suffer from
2842
+ // the override mistake, that accessor's getter is marked with
2843
+ // an `originalValue` property. Here, when we detect this, we
2844
+ // uphold the illusion by pretending to see that original data
2845
+ // property, i.e., returning the value rather than the getter
2846
+ // itself.
2847
+ value = desc && 'get' in desc && !('originalValue' in desc.get) ? desc.get : value[parts[i]];
2441
2848
  } else {
2442
2849
  value = value[parts[i]];
2443
2850
  }
@@ -2446,23 +2853,47 @@ var GetIntrinsic$1 = function GetIntrinsic(name, allowMissing) {
2446
2853
  return value;
2447
2854
  };
2448
2855
 
2449
- var $apply$1 = GetIntrinsic$1('%Function.prototype.apply%');
2450
- var $call$1 = GetIntrinsic$1('%Function.prototype.call%');
2451
- var $reflectApply = GetIntrinsic$1('%Reflect.apply%', true) || functionBind.call($call$1, $apply$1);
2856
+ var callBind$1 = createCommonjsModule(function (module) {
2857
+
2858
+
2859
+
2860
+
2452
2861
 
2453
- var callBind$1 = function callBind() {
2454
- return $reflectApply(functionBind, $call$1, arguments);
2862
+ var $apply = GetIntrinsic('%Function.prototype.apply%');
2863
+ var $call = GetIntrinsic('%Function.prototype.call%');
2864
+ var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || functionBind.call($call, $apply);
2865
+
2866
+ var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
2867
+
2868
+ if ($defineProperty) {
2869
+ try {
2870
+ $defineProperty({}, 'a', { value: 1 });
2871
+ } catch (e) {
2872
+ // IE 8 has a broken defineProperty
2873
+ $defineProperty = null;
2874
+ }
2875
+ }
2876
+
2877
+ module.exports = function callBind() {
2878
+ return $reflectApply(functionBind, $call, arguments);
2455
2879
  };
2456
2880
 
2457
- var apply$1 = function applyBind() {
2458
- return $reflectApply(functionBind, $apply$1, arguments);
2881
+ var applyBind = function applyBind() {
2882
+ return $reflectApply(functionBind, $apply, arguments);
2459
2883
  };
2460
- callBind$1.apply = apply$1;
2461
2884
 
2462
- var $indexOf$1 = callBind$1(GetIntrinsic$1('String.prototype.indexOf'));
2885
+ if ($defineProperty) {
2886
+ $defineProperty(module.exports, 'apply', { value: applyBind });
2887
+ } else {
2888
+ module.exports.apply = applyBind;
2889
+ }
2890
+ });
2891
+ var callBind_1$1 = callBind$1.apply;
2892
+
2893
+ var $indexOf$1 = callBind$1(GetIntrinsic('String.prototype.indexOf'));
2463
2894
 
2464
2895
  var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
2465
- var intrinsic = GetIntrinsic$1(name, !!allowMissing);
2896
+ var intrinsic = GetIntrinsic(name, !!allowMissing);
2466
2897
  if (typeof intrinsic === 'function' && $indexOf$1(name, '.prototype.')) {
2467
2898
  return callBind$1(intrinsic);
2468
2899
  }
@@ -2487,13 +2918,13 @@ if (typeof Promise !== 'function') {
2487
2918
 
2488
2919
 
2489
2920
  var $slice = callBound$1('Array.prototype.slice');
2490
- var $concat$1 = callBound$1('Array.prototype.concat');
2921
+ var $concat$2 = callBound$1('Array.prototype.concat');
2491
2922
  var $forEach = callBound$1('Array.prototype.forEach');
2492
2923
 
2493
- var hasSymbols$4 = hasSymbols$1();
2924
+ var hasSymbols$5 = hasSymbols$1();
2494
2925
 
2495
- var kCustomPromisifiedSymbol = hasSymbols$4 ? Symbol('util.promisify.custom') : null;
2496
- var kCustomPromisifyArgsSymbol = hasSymbols$4 ? Symbol('customPromisifyArgs') : null;
2926
+ var kCustomPromisifiedSymbol = hasSymbols$5 ? Symbol('util.promisify.custom') : null;
2927
+ var kCustomPromisifyArgsSymbol = hasSymbols$5 ? Symbol('customPromisifyArgs') : null;
2497
2928
 
2498
2929
  var implementation$3 = function promisify(orig) {
2499
2930
  if (typeof orig !== 'function') {
@@ -2503,7 +2934,7 @@ var implementation$3 = function promisify(orig) {
2503
2934
  throw error;
2504
2935
  }
2505
2936
 
2506
- if (hasSymbols$4 && orig[kCustomPromisifiedSymbol]) {
2937
+ if (hasSymbols$5 && orig[kCustomPromisifiedSymbol]) {
2507
2938
  var customFunction = orig[kCustomPromisifiedSymbol];
2508
2939
  if (typeof customFunction !== 'function') {
2509
2940
  throw new TypeError('The [util.promisify.custom] property must be a function');
@@ -2525,7 +2956,7 @@ var implementation$3 = function promisify(orig) {
2525
2956
  var args = $slice(arguments);
2526
2957
  var self = this; // eslint-disable-line no-invalid-this
2527
2958
  return new Promise(function (resolve, reject) {
2528
- orig.apply(self, $concat$1(args, function (err) {
2959
+ orig.apply(self, $concat$2(args, function (err) {
2529
2960
  var values = arguments.length > 1 ? $slice(arguments, 1) : [];
2530
2961
  if (err) {
2531
2962
  reject(err);
@@ -2804,7 +3235,7 @@ var md5 = createCommonjsModule(function (module) {
2804
3235
  message = utf8.stringToBytes(message);
2805
3236
  else if (isBuffer(message))
2806
3237
  message = Array.prototype.slice.call(message, 0);
2807
- else if (!Array.isArray(message))
3238
+ else if (!Array.isArray(message) && message.constructor !== Uint8Array)
2808
3239
  message = message.toString();
2809
3240
  // else, assume byte array already
2810
3241
 
@@ -2960,10 +3391,10 @@ var config = {
2960
3391
  };
2961
3392
 
2962
3393
  var findUser = function () {
2963
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(email) {
3394
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(email) {
2964
3395
  var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
2965
3396
  var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
2966
- return regenerator.wrap(function _callee$(_context) {
3397
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
2967
3398
  while (1) {
2968
3399
  switch (_context.prev = _context.next) {
2969
3400
  case 0:
@@ -3068,9 +3499,9 @@ var findUser = function () {
3068
3499
  }();
3069
3500
 
3070
3501
  var updateUser = function () {
3071
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3502
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
3072
3503
  var db$1, query, res, hash, columns, i, column, occupation_name;
3073
- return regenerator.wrap(function _callee2$(_context2) {
3504
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
3074
3505
  while (1) {
3075
3506
  switch (_context2.prev = _context2.next) {
3076
3507
  case 0:
@@ -3271,9 +3702,9 @@ var validateUserData = function validateUserData(data) {
3271
3702
  };
3272
3703
 
3273
3704
  var getOccupationNameById = function () {
3274
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(db, occupation_id) {
3705
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(db, occupation_id) {
3275
3706
  var query, res;
3276
- return regenerator.wrap(function _callee3$(_context3) {
3707
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
3277
3708
  while (1) {
3278
3709
  switch (_context3.prev = _context3.next) {
3279
3710
  case 0:
@@ -3308,9 +3739,9 @@ var getOccupationNameById = function () {
3308
3739
  }();
3309
3740
 
3310
3741
  var createUser = function () {
3311
- var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(data) {
3742
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4(data) {
3312
3743
  var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
3313
- return regenerator.wrap(function _callee4$(_context4) {
3744
+ return _regeneratorRuntime.wrap(function _callee4$(_context4) {
3314
3745
  while (1) {
3315
3746
  switch (_context4.prev = _context4.next) {
3316
3747
  case 0:
@@ -3455,9 +3886,9 @@ var createUser = function () {
3455
3886
  }();
3456
3887
 
3457
3888
  var createUser$1 = function () {
3458
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(data) {
3889
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(data) {
3459
3890
  var res;
3460
- return regenerator.wrap(function _callee$(_context) {
3891
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
3461
3892
  while (1) {
3462
3893
  switch (_context.prev = _context.next) {
3463
3894
  case 0:
@@ -3491,9 +3922,9 @@ var createUser$1 = function () {
3491
3922
  }();
3492
3923
 
3493
3924
  var updateUser$1 = function () {
3494
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
3925
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(data) {
3495
3926
  var res;
3496
- return regenerator.wrap(function _callee2$(_context2) {
3927
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
3497
3928
  while (1) {
3498
3929
  switch (_context2.prev = _context2.next) {
3499
3930
  case 0:
@@ -3527,11 +3958,11 @@ var updateUser$1 = function () {
3527
3958
  }();
3528
3959
 
3529
3960
  var findUser$1 = function () {
3530
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(_ref4) {
3961
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(_ref4) {
3531
3962
  var email = _ref4.email,
3532
3963
  password = _ref4.password;
3533
3964
  var res;
3534
- return regenerator.wrap(function _callee3$(_context3) {
3965
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
3535
3966
  while (1) {
3536
3967
  switch (_context3.prev = _context3.next) {
3537
3968
  case 0:
@@ -3598,9 +4029,9 @@ var config$1 = {
3598
4029
  };
3599
4030
 
3600
4031
  var getOccupation = function () {
3601
- var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(type) {
4032
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(type) {
3602
4033
  var db$1, query, result;
3603
- return regenerator.wrap(function _callee$(_context) {
4034
+ return _regeneratorRuntime.wrap(function _callee$(_context) {
3604
4035
  while (1) {
3605
4036
  switch (_context.prev = _context.next) {
3606
4037
  case 0:
@@ -3631,9 +4062,9 @@ var getOccupation = function () {
3631
4062
  }();
3632
4063
 
3633
4064
  var getFieldsAndOptions = function () {
3634
- var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(occupation) {
4065
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(occupation) {
3635
4066
  var db$1, query, result, i, field, optionQuery, options;
3636
- return regenerator.wrap(function _callee2$(_context2) {
4067
+ return _regeneratorRuntime.wrap(function _callee2$(_context2) {
3637
4068
  while (1) {
3638
4069
  switch (_context2.prev = _context2.next) {
3639
4070
  case 0:
@@ -3694,9 +4125,9 @@ var getFieldsAndOptions = function () {
3694
4125
  }();
3695
4126
 
3696
4127
  var ProcessData = (function () {
3697
- var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(req, res) {
4128
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(req, res) {
3698
4129
  var action, data, type, occupation;
3699
- return regenerator.wrap(function _callee3$(_context3) {
4130
+ return _regeneratorRuntime.wrap(function _callee3$(_context3) {
3700
4131
  while (1) {
3701
4132
  switch (_context3.prev = _context3.next) {
3702
4133
  case 0: