@mjhls/mjh-framework 1.0.703 → 1.0.704-beta-v2
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.
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +17 -19
- package/dist/cjs/AD300x250x600.js +17 -19
- package/dist/cjs/AD728x90.js +18 -20
- package/dist/cjs/ADFloatingFooter.js +16 -18
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +16 -18
- package/dist/cjs/{ADInfeed-ede153e2.js → ADInfeed-38066a36.js} +2 -2
- package/dist/cjs/ADSkyscraper.js +16 -18
- package/dist/cjs/ADSponsoredResources.js +16 -18
- package/dist/cjs/ADWebcast.js +16 -18
- package/dist/cjs/ADWelcome.js +17 -19
- package/dist/cjs/{ADlgInfeed-6a121a0d.js → ADlgInfeed-d95c9027.js} +2 -2
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +17 -19
- package/dist/cjs/AdSlotsProvider.js +2 -4
- package/dist/cjs/AlphabeticList.js +9 -9
- package/dist/cjs/ArticleCarousel.js +13 -16
- package/dist/cjs/ArticleSeriesListing.js +24 -27
- package/dist/cjs/Auth.js +280 -762
- package/dist/cjs/{AuthorComponent-d19285ed.js → AuthorComponent-bb831b74.js} +1 -1
- package/dist/cjs/Beam.js +19 -19
- package/dist/cjs/{BlockContent-e53217a7.js → BlockContent-80b15fac.js} +25 -23
- package/dist/cjs/Breadcrumbs.js +5 -5
- package/dist/cjs/BrowseVideosListing.js +14 -17
- package/dist/cjs/CMEDeck.js +23 -26
- package/dist/cjs/Column2.js +13 -15
- package/dist/cjs/Column3.js +22 -24
- package/dist/cjs/ConferenceArticleCard.js +2 -2
- package/dist/cjs/DeckContent.js +30 -33
- package/dist/cjs/DeckQueue.js +29 -32
- package/dist/cjs/{Dfp-13ff07b4.js → Dfp-390337bf.js} +10 -13
- package/dist/cjs/EventsDeck.js +34 -35
- package/dist/cjs/ExternalResources.js +32 -35
- package/dist/cjs/Feature.js +3 -4
- package/dist/cjs/ForbesHero.js +9 -12
- package/dist/cjs/GridContent.js +42 -45
- package/dist/cjs/GridHero.js +9 -12
- package/dist/cjs/GroupDeck.js +13 -13
- package/dist/cjs/HamMagazine.js +17 -19
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HighlightenVideo.js +1 -1
- package/dist/cjs/HorizontalHero.js +3 -3
- package/dist/cjs/IssueContentDeck.js +9 -12
- package/dist/cjs/IssueDeck.js +12 -15
- package/dist/cjs/IssueLanding.js +26 -29
- package/dist/cjs/LeftNav.js +16 -18
- package/dist/cjs/MasterDeck.js +34 -37
- package/dist/cjs/NavDvm.js +9 -9
- package/dist/cjs/NavMagazine.js +17 -19
- package/dist/cjs/NavNative.js +14 -16
- package/dist/cjs/NavNormal.js +10 -10
- package/dist/cjs/OncliveHero.js +3 -2
- package/dist/cjs/OncliveLargeHero.js +9 -12
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/PartnerDetailListing.js +38 -41
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +5 -5
- package/dist/cjs/PublicationDeck.js +5 -8
- package/dist/cjs/PublicationLanding.js +57 -60
- package/dist/cjs/QueueDeckExpanded.js +33 -36
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +3 -6
- package/dist/cjs/Search.js +5 -5
- package/dist/cjs/Segment.js +20 -20
- package/dist/cjs/SetCookie.js +2 -2
- package/dist/cjs/SideFooter.js +14 -16
- package/dist/cjs/{SocialSearchComponent-1ef1e6fb.js → SocialSearchComponent-56d49a1a.js} +7 -7
- package/dist/cjs/TaxonomyCard.js +7 -10
- package/dist/cjs/TemplateNormal.js +31 -33
- package/dist/cjs/ThumbnailCard.js +2 -5
- package/dist/cjs/Ustream.js +9 -10
- package/dist/cjs/VerticalHero.js +2 -2
- package/dist/cjs/VideoSeriesCard.js +10 -13
- package/dist/cjs/VideoSeriesFilter.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +24 -27
- package/dist/cjs/View.js +46 -49
- package/dist/cjs/YahooHero.js +9 -12
- package/dist/cjs/YoutubeGroup.js +14 -17
- package/dist/cjs/{_is-array-a82382b4.js → _is-array-754e012d.js} +11 -11
- package/dist/cjs/{_iter-detect-671c90bd.js → _iter-detect-60b2f026.js} +10 -10
- package/dist/cjs/{_library-4360b4e4.js → _library-dd23b178.js} +1 -1
- package/dist/cjs/{_object-pie-6bed508e.js → _object-pie-68c5bcbc.js} +2 -2
- package/dist/cjs/_object-sap-5e74ba08.js +16 -0
- package/dist/cjs/{_set-species-47156c42.js → _set-species-f92c67c5.js} +17 -17
- package/dist/cjs/{_export-a917dedd.js → _to-object-329a650b.js} +31 -31
- package/dist/cjs/{asyncToGenerator-fd8e35e7.js → asyncToGenerator-533d476a.js} +69 -69
- package/dist/cjs/{brightcove-react-player-loader.es-05029198.js → brightcove-react-player-loader.es-156bd4d6.js} +3 -4
- package/dist/cjs/core.get-iterator-method-f62321d4.js +39 -0
- package/dist/cjs/{debounce-fb3a46a9.js → debounce-eb287781.js} +7 -7
- package/dist/cjs/{define-property-9b6df20e.js → define-property-f4d12f4e.js} +4 -4
- package/dist/cjs/{defineProperty-d3c0cfc0.js → defineProperty-55548b25.js} +2 -2
- package/dist/cjs/{es6.string.iterator-e5f4ce45.js → es6.string.iterator-cc0bbaa4.js} +34 -34
- package/dist/cjs/{extends-5fde0677.js → extends-60837c34.js} +11 -11
- package/dist/cjs/{get-70ef997d.js → get-68c52cb1.js} +11 -11
- package/dist/cjs/getRelatedArticle.js +72 -134
- package/dist/cjs/getSerializers.js +30 -33
- package/dist/cjs/{getTargeting-5ca9bfaf.js → getTargeting-fee8c429.js} +2 -2
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-d7577df6.js → index-099d45ae.js} +16 -12
- package/dist/cjs/{index-949261b4.js → index-3294d3bc.js} +19 -18
- package/dist/cjs/{index-ff69979f.js → index-39beccb3.js} +21 -26
- package/dist/cjs/{index-b1ee7cd9.js → index-58dae365.js} +329 -335
- package/dist/cjs/{index-29e3f3a9.js → index-da796b8c.js} +12 -11
- package/dist/cjs/{index.es-e9d84959.js → index.es-9110add6.js} +5 -23
- package/dist/cjs/{index.esm-8a8fa078.js → index.esm-4d410430.js} +4 -3
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +54 -57
- package/dist/cjs/{inherits-02a27fbf.js → inherits-513d81cd.js} +16 -16
- package/dist/cjs/{isSymbol-a0d5eb50.js → isSymbol-04666465.js} +5 -5
- package/dist/cjs/{js.cookie-e4684873.js → js.cookie-a511c430.js} +1 -1
- package/dist/cjs/{keys-1a65eb47.js → keys-a586b7a0.js} +5 -5
- package/dist/cjs/{lodash-257df6c4.js → lodash-7fd85bcf.js} +1 -1
- package/dist/cjs/{main-1442052b.js → main-03ffa84c.js} +57 -90
- package/dist/cjs/{moment-29403f08.js → moment-575fe24c.js} +8 -11
- package/dist/cjs/{react-social-icons-5604d0d1.js → react-social-icons-f7f48f71.js} +13 -11
- package/dist/cjs/{slicedToArray-d0ac47b9.js → slicedToArray-8f385299.js} +10 -10
- package/dist/cjs/{smoothscroll-03c20c7d.js → smoothscroll-95231a70.js} +1 -1
- package/dist/cjs/{stringify-e064b7d0.js → stringify-7c5aff47.js} +2 -2
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d47f0c64.js → toConsumableArray-9a3476fe.js} +13 -13
- package/dist/cjs/{typeof-5763a25b.js → typeof-725500bc.js} +84 -84
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{visibility-sensor-ede0bc7b.js → visibility-sensor-0c45a583.js} +6 -5
- package/dist/cjs/{web.dom.iterable-cd8a9ccb.js → web.dom.iterable-a0e279c1.js} +10 -10
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +19 -21
- package/dist/esm/AD300x250x600.js +19 -21
- package/dist/esm/AD728x90.js +20 -22
- package/dist/esm/ADFloatingFooter.js +18 -20
- package/dist/esm/ADFooter.js +5 -5
- package/dist/esm/ADGutter.js +18 -20
- package/dist/esm/{ADInfeed-d890d5ca.js → ADInfeed-7b1b2fcb.js} +4 -4
- package/dist/esm/ADSkyscraper.js +18 -20
- package/dist/esm/ADSponsoredResources.js +18 -20
- package/dist/esm/ADWebcast.js +18 -20
- package/dist/esm/ADWelcome.js +19 -21
- package/dist/esm/{ADlgInfeed-1d006b36.js → ADlgInfeed-2afe92e6.js} +4 -4
- package/dist/esm/AccordionPanel.js +6 -6
- package/dist/esm/AdSlot.js +17 -19
- package/dist/esm/AdSlotsProvider.js +2 -4
- package/dist/esm/AlphabeticList.js +9 -9
- package/dist/esm/ArticleCarousel.js +13 -16
- package/dist/esm/ArticleSeriesListing.js +24 -27
- package/dist/esm/Auth.js +280 -762
- package/dist/esm/{AuthorComponent-8ffb1deb.js → AuthorComponent-00f13201.js} +1 -1
- package/dist/esm/Beam.js +19 -19
- package/dist/esm/{BlockContent-e6f64e62.js → BlockContent-c409aca5.js} +21 -23
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/BrowseVideosListing.js +14 -17
- package/dist/esm/CMEDeck.js +23 -26
- package/dist/esm/Column2.js +13 -15
- package/dist/esm/Column3.js +22 -24
- package/dist/esm/ConferenceArticleCard.js +2 -2
- package/dist/esm/DeckContent.js +30 -33
- package/dist/esm/DeckQueue.js +29 -32
- package/dist/esm/{Dfp-7db56716.js → Dfp-741c01be.js} +10 -13
- package/dist/esm/EventsDeck.js +34 -35
- package/dist/esm/ExternalResources.js +32 -35
- package/dist/esm/Feature.js +3 -4
- package/dist/esm/ForbesHero.js +9 -12
- package/dist/esm/GridContent.js +42 -45
- package/dist/esm/GridHero.js +9 -12
- package/dist/esm/GroupDeck.js +13 -13
- package/dist/esm/HamMagazine.js +17 -19
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalHero.js +3 -3
- package/dist/esm/IssueContentDeck.js +9 -12
- package/dist/esm/IssueDeck.js +12 -15
- package/dist/esm/IssueLanding.js +26 -29
- package/dist/esm/LeftNav.js +16 -18
- package/dist/esm/MasterDeck.js +34 -37
- package/dist/esm/NavDvm.js +9 -9
- package/dist/esm/NavMagazine.js +17 -19
- package/dist/esm/NavNative.js +14 -16
- package/dist/esm/NavNormal.js +10 -10
- package/dist/esm/OncliveHero.js +3 -2
- package/dist/esm/OncliveLargeHero.js +9 -12
- package/dist/esm/PageFilter.js +5 -5
- package/dist/esm/PartnerDetailListing.js +38 -41
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +5 -5
- package/dist/esm/PublicationDeck.js +5 -8
- package/dist/esm/PublicationLanding.js +57 -60
- package/dist/esm/QueueDeckExpanded.js +33 -36
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +3 -6
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +20 -20
- package/dist/esm/SetCookie.js +2 -2
- package/dist/esm/SideFooter.js +14 -16
- package/dist/esm/{SocialSearchComponent-4eae0149.js → SocialSearchComponent-677ed3bd.js} +7 -7
- package/dist/esm/TaxonomyCard.js +7 -10
- package/dist/esm/TemplateNormal.js +33 -35
- package/dist/esm/ThumbnailCard.js +2 -5
- package/dist/esm/Ustream.js +9 -10
- package/dist/esm/VerticalHero.js +2 -2
- package/dist/esm/VideoSeriesCard.js +10 -13
- package/dist/esm/VideoSeriesFilter.js +11 -11
- package/dist/esm/VideoSeriesListing.js +24 -27
- package/dist/esm/View.js +51 -54
- package/dist/esm/YahooHero.js +9 -12
- package/dist/esm/YoutubeGroup.js +14 -17
- package/dist/esm/{_is-array-5bea6006.js → _is-array-49698029.js} +10 -10
- package/dist/esm/{_iter-detect-65720de7.js → _iter-detect-59409a32.js} +8 -8
- package/dist/esm/_library-528f1934.js +3 -0
- package/dist/esm/{_object-pie-8e2f6c3a.js → _object-pie-71ac75a4.js} +1 -1
- package/dist/esm/_object-sap-4d59d5bd.js +14 -0
- package/dist/esm/{_set-species-26ee5c2a.js → _set-species-cede29f8.js} +14 -14
- package/dist/esm/{_export-f7ec2adf.js → _to-object-ded78eb9.js} +3 -3
- package/dist/esm/{asyncToGenerator-0c61f551.js → asyncToGenerator-7c654f36.js} +69 -69
- package/dist/esm/{brightcove-react-player-loader.es-e761d404.js → brightcove-react-player-loader.es-83f53e4e.js} +3 -4
- package/dist/esm/core.get-iterator-method-54d2e411.js +36 -0
- package/dist/esm/{debounce-7b569c00.js → debounce-1a993acf.js} +6 -6
- package/dist/esm/{define-property-7a40a451.js → define-property-de3fc946.js} +4 -4
- package/dist/esm/{defineProperty-a2ac5d3d.js → defineProperty-b798470d.js} +2 -2
- package/dist/esm/{es6.string.iterator-13b94db0.js → es6.string.iterator-9b2af4a5.js} +27 -27
- package/dist/esm/{extends-8e0228d5.js → extends-cc5da797.js} +11 -11
- package/dist/esm/{get-bb2155d5.js → get-5ee14cda.js} +10 -10
- package/dist/esm/getRelatedArticle.js +72 -134
- package/dist/esm/getSerializers.js +30 -33
- package/dist/esm/{getTargeting-d97a1e83.js → getTargeting-2acdec91.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-f7fdcc91.js → index-3849e3fe.js} +21 -26
- package/dist/esm/{index-17490425.js → index-3f4dd6f2.js} +12 -12
- package/dist/esm/{index-a4e850af.js → index-5f9f807a.js} +8 -11
- package/dist/esm/{index-4540328d.js → index-7779a6df.js} +332 -338
- package/dist/esm/{index-1295881c.js → index-ef6d5dcf.js} +17 -16
- package/dist/esm/{index.es-a6137319.js → index.es-29c1cef5.js} +5 -23
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-4838a32e.js → index.esm-fd746768.js} +4 -3
- package/dist/esm/index.js +54 -57
- package/dist/esm/{inherits-d1948b66.js → inherits-7ee3e0c1.js} +16 -16
- package/dist/esm/{isSymbol-2b7f6e65.js → isSymbol-807e927e.js} +1 -1
- package/dist/esm/{js.cookie-2ce24ab0.js → js.cookie-6874175c.js} +1 -1
- package/dist/esm/{keys-e091cb65.js → keys-fc2d4c34.js} +5 -5
- package/dist/esm/{lodash-2b866578.js → lodash-ec8c6b48.js} +1 -1
- package/dist/esm/{main-140f99b4.js → main-35ff7b4f.js} +52 -88
- package/dist/esm/{moment-8797a4d3.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-40e8d28f.js → react-social-icons-a7d5c5c7.js} +9 -11
- package/dist/esm/{slicedToArray-8818fe95.js → slicedToArray-7021e5df.js} +10 -10
- package/dist/esm/{stringify-dedf4a20.js → stringify-008c8802.js} +2 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-02217419.js → toConsumableArray-725434a0.js} +13 -13
- package/dist/esm/{typeof-a10a5616.js → typeof-08f2c380.js} +85 -85
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-7b6316cf.js → visibility-sensor-0baa4eea.js} +3 -5
- package/dist/esm/{web.dom.iterable-c3ba4d37.js → web.dom.iterable-8956f9a5.js} +10 -10
- package/package.json +3 -3
- package/dist/cjs/_object-sap-947ef6fb.js +0 -16
- package/dist/cjs/_prop-types_commonjs-external-1a8c9893.js +0 -10
- package/dist/cjs/_react-dom_commonjs-external-3c49a59a.js +0 -9
- package/dist/cjs/_react_commonjs-external-58b78ee1.js +0 -10
- package/dist/cjs/core.get-iterator-method-07b02ac3.js +0 -39
- package/dist/esm/_library-90219a8d.js +0 -3
- package/dist/esm/_object-sap-146241c9.js +0 -14
- package/dist/esm/_prop-types_commonjs-external-9481d338.js +0 -5
- package/dist/esm/_react-dom_commonjs-external-f1a1ac81.js +0 -5
- package/dist/esm/_react_commonjs-external-22b61490.js +0 -5
- package/dist/esm/core.get-iterator-method-dbbb346b.js +0 -36
- /package/dist/esm/{smoothscroll-2d74941c.js → smoothscroll-4b699764.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 './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_library-
|
|
5
|
-
import './_iter-detect-
|
|
6
|
-
import './core.get-iterator-method-
|
|
7
|
-
import './_object-pie-
|
|
8
|
-
import { _ as _extends } from './extends-
|
|
9
|
-
import './web.dom.iterable-
|
|
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';
|
|
10
10
|
import React__default, { useEffect, useState } from 'react';
|
|
11
11
|
import Router from 'next/router';
|
|
12
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
13
|
-
import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-
|
|
14
|
-
import { a as _asyncToGenerator,
|
|
15
|
-
import './_set-species-
|
|
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';
|
|
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__*/
|
|
142
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(api_url, body) {
|
|
143
143
|
var res, result;
|
|
144
|
-
return
|
|
144
|
+
return regenerator.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__*/
|
|
247
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(e) {
|
|
248
248
|
var body, res;
|
|
249
|
-
return
|
|
249
|
+
return regenerator.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__*/
|
|
405
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
|
|
406
406
|
var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
|
|
407
407
|
|
|
408
|
-
return
|
|
408
|
+
return regenerator.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__*/
|
|
538
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
539
539
|
var healthcare_occupation, non_healthcare_occupation;
|
|
540
|
-
return
|
|
540
|
+
return regenerator.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__*/
|
|
611
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(e) {
|
|
612
612
|
var occupation, fields;
|
|
613
|
-
return
|
|
613
|
+
return regenerator.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__*/
|
|
783
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(e) {
|
|
784
784
|
var formData, body, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, key, res;
|
|
785
785
|
|
|
786
|
-
return
|
|
786
|
+
return regenerator.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__*/
|
|
927
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
928
928
|
var healthcare_occupation, non_healthcare_occupation, foundOccupation, fields;
|
|
929
|
-
return
|
|
929
|
+
return regenerator.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__*/
|
|
1023
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(e) {
|
|
1024
1024
|
var occupation, fields;
|
|
1025
|
-
return
|
|
1025
|
+
return regenerator.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__*/
|
|
1278
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(req) {
|
|
1279
1279
|
var token, buff;
|
|
1280
|
-
return
|
|
1280
|
+
return regenerator.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 no-invalid-this: 1 */
|
|
1541
|
-
|
|
1542
|
-
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
1543
|
-
var slice$1 = Array.prototype.slice;
|
|
1544
|
-
var toStr$3 = Object.prototype.toString;
|
|
1545
|
-
var funcType = '[object Function]';
|
|
1546
|
-
|
|
1547
|
-
var implementation$1 = function bind(that) {
|
|
1548
|
-
var target = this;
|
|
1549
|
-
if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
|
|
1550
|
-
throw new TypeError(ERROR_MESSAGE + target);
|
|
1551
|
-
}
|
|
1552
|
-
var args = slice$1.call(arguments, 1);
|
|
1553
|
-
|
|
1554
|
-
var bound;
|
|
1555
|
-
var binder = function () {
|
|
1556
|
-
if (this instanceof bound) {
|
|
1557
|
-
var result = target.apply(
|
|
1558
|
-
this,
|
|
1559
|
-
args.concat(slice$1.call(arguments))
|
|
1560
|
-
);
|
|
1561
|
-
if (Object(result) === result) {
|
|
1562
|
-
return result;
|
|
1563
|
-
}
|
|
1564
|
-
return this;
|
|
1565
|
-
} else {
|
|
1566
|
-
return target.apply(
|
|
1567
|
-
that,
|
|
1568
|
-
args.concat(slice$1.call(arguments))
|
|
1569
|
-
);
|
|
1570
|
-
}
|
|
1571
|
-
};
|
|
1572
|
-
|
|
1573
|
-
var boundLength = Math.max(0, target.length - args.length);
|
|
1574
|
-
var boundArgs = [];
|
|
1575
|
-
for (var i = 0; i < boundLength; i++) {
|
|
1576
|
-
boundArgs.push('$' + i);
|
|
1577
|
-
}
|
|
1578
|
-
|
|
1579
|
-
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
1580
|
-
|
|
1581
|
-
if (target.prototype) {
|
|
1582
|
-
var Empty = function Empty() {};
|
|
1583
|
-
Empty.prototype = target.prototype;
|
|
1584
|
-
bound.prototype = new Empty();
|
|
1585
|
-
Empty.prototype = null;
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
return bound;
|
|
1589
|
-
};
|
|
1590
|
-
|
|
1591
|
-
var functionBind = Function.prototype.bind || implementation$1;
|
|
1592
|
-
|
|
1593
1540
|
/* eslint complexity: [2, 18], max-statements: [2, 33] */
|
|
1594
1541
|
var shams = function hasSymbols() {
|
|
1595
1542
|
if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
|
|
@@ -1643,21 +1590,68 @@ var hasSymbols$1 = function hasNativeSymbols() {
|
|
|
1643
1590
|
return shams();
|
|
1644
1591
|
};
|
|
1645
1592
|
|
|
1646
|
-
|
|
1593
|
+
/* eslint no-invalid-this: 1 */
|
|
1647
1594
|
|
|
1648
|
-
var
|
|
1595
|
+
var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
|
|
1596
|
+
var slice$1 = Array.prototype.slice;
|
|
1597
|
+
var toStr$3 = Object.prototype.toString;
|
|
1598
|
+
var funcType = '[object Function]';
|
|
1649
1599
|
|
|
1650
|
-
var $
|
|
1651
|
-
var
|
|
1652
|
-
|
|
1600
|
+
var implementation$1 = function bind(that) {
|
|
1601
|
+
var target = this;
|
|
1602
|
+
if (typeof target !== 'function' || toStr$3.call(target) !== funcType) {
|
|
1603
|
+
throw new TypeError(ERROR_MESSAGE + target);
|
|
1604
|
+
}
|
|
1605
|
+
var args = slice$1.call(arguments, 1);
|
|
1653
1606
|
|
|
1654
|
-
|
|
1655
|
-
var
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1607
|
+
var bound;
|
|
1608
|
+
var binder = function () {
|
|
1609
|
+
if (this instanceof bound) {
|
|
1610
|
+
var result = target.apply(
|
|
1611
|
+
this,
|
|
1612
|
+
args.concat(slice$1.call(arguments))
|
|
1613
|
+
);
|
|
1614
|
+
if (Object(result) === result) {
|
|
1615
|
+
return result;
|
|
1616
|
+
}
|
|
1617
|
+
return this;
|
|
1618
|
+
} else {
|
|
1619
|
+
return target.apply(
|
|
1620
|
+
that,
|
|
1621
|
+
args.concat(slice$1.call(arguments))
|
|
1622
|
+
);
|
|
1623
|
+
}
|
|
1624
|
+
};
|
|
1625
|
+
|
|
1626
|
+
var boundLength = Math.max(0, target.length - args.length);
|
|
1627
|
+
var boundArgs = [];
|
|
1628
|
+
for (var i = 0; i < boundLength; i++) {
|
|
1629
|
+
boundArgs.push('$' + i);
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
|
|
1633
|
+
|
|
1634
|
+
if (target.prototype) {
|
|
1635
|
+
var Empty = function Empty() {};
|
|
1636
|
+
Empty.prototype = target.prototype;
|
|
1637
|
+
bound.prototype = new Empty();
|
|
1638
|
+
Empty.prototype = null;
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
return bound;
|
|
1659
1642
|
};
|
|
1660
1643
|
|
|
1644
|
+
var functionBind = Function.prototype.bind || implementation$1;
|
|
1645
|
+
|
|
1646
|
+
/* globals
|
|
1647
|
+
Atomics,
|
|
1648
|
+
SharedArrayBuffer,
|
|
1649
|
+
*/
|
|
1650
|
+
|
|
1651
|
+
var undefined$1;
|
|
1652
|
+
|
|
1653
|
+
var $TypeError = TypeError;
|
|
1654
|
+
|
|
1661
1655
|
var $gOPD = Object.getOwnPropertyDescriptor;
|
|
1662
1656
|
if ($gOPD) {
|
|
1663
1657
|
try {
|
|
@@ -1667,9 +1661,7 @@ if ($gOPD) {
|
|
|
1667
1661
|
}
|
|
1668
1662
|
}
|
|
1669
1663
|
|
|
1670
|
-
var throwTypeError = function () {
|
|
1671
|
-
throw new $TypeError();
|
|
1672
|
-
};
|
|
1664
|
+
var throwTypeError = function () { throw new $TypeError(); };
|
|
1673
1665
|
var ThrowTypeError = $gOPD
|
|
1674
1666
|
? (function () {
|
|
1675
1667
|
try {
|
|
@@ -1690,351 +1682,203 @@ var ThrowTypeError = $gOPD
|
|
|
1690
1682
|
var hasSymbols$2 = hasSymbols$1();
|
|
1691
1683
|
|
|
1692
1684
|
var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
1693
|
-
|
|
1694
|
-
var
|
|
1685
|
+
var generatorFunction = undefined$1;
|
|
1686
|
+
var asyncFunction = undefined$1;
|
|
1687
|
+
var asyncGenFunction = undefined$1;
|
|
1695
1688
|
|
|
1696
1689
|
var TypedArray = typeof Uint8Array === 'undefined' ? undefined$1 : getProto(Uint8Array);
|
|
1697
1690
|
|
|
1698
1691
|
var INTRINSICS = {
|
|
1699
|
-
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined$1 : AggregateError,
|
|
1700
1692
|
'%Array%': Array,
|
|
1701
1693
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer,
|
|
1694
|
+
'%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$1 : ArrayBuffer.prototype,
|
|
1702
1695
|
'%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,
|
|
1703
1701
|
'%AsyncFromSyncIteratorPrototype%': undefined$1,
|
|
1704
|
-
'%AsyncFunction%':
|
|
1705
|
-
'%
|
|
1706
|
-
'%
|
|
1707
|
-
'%
|
|
1702
|
+
'%AsyncFunction%': asyncFunction,
|
|
1703
|
+
'%AsyncFunctionPrototype%': undefined$1,
|
|
1704
|
+
'%AsyncGenerator%': undefined$1,
|
|
1705
|
+
'%AsyncGeneratorFunction%': asyncGenFunction,
|
|
1706
|
+
'%AsyncGeneratorPrototype%': undefined$1,
|
|
1707
|
+
'%AsyncIteratorPrototype%': undefined$1,
|
|
1708
1708
|
'%Atomics%': typeof Atomics === 'undefined' ? undefined$1 : Atomics,
|
|
1709
|
-
'%BigInt%': typeof BigInt === 'undefined' ? undefined$1 : BigInt,
|
|
1710
1709
|
'%Boolean%': Boolean,
|
|
1710
|
+
'%BooleanPrototype%': Boolean.prototype,
|
|
1711
1711
|
'%DataView%': typeof DataView === 'undefined' ? undefined$1 : DataView,
|
|
1712
|
+
'%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$1 : DataView.prototype,
|
|
1712
1713
|
'%Date%': Date,
|
|
1714
|
+
'%DatePrototype%': Date.prototype,
|
|
1713
1715
|
'%decodeURI%': decodeURI,
|
|
1714
1716
|
'%decodeURIComponent%': decodeURIComponent,
|
|
1715
1717
|
'%encodeURI%': encodeURI,
|
|
1716
1718
|
'%encodeURIComponent%': encodeURIComponent,
|
|
1717
1719
|
'%Error%': Error,
|
|
1720
|
+
'%ErrorPrototype%': Error.prototype,
|
|
1718
1721
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
1719
1722
|
'%EvalError%': EvalError,
|
|
1723
|
+
'%EvalErrorPrototype%': EvalError.prototype,
|
|
1720
1724
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array,
|
|
1725
|
+
'%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$1 : Float32Array.prototype,
|
|
1721
1726
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$1 : Float64Array,
|
|
1722
|
-
'%
|
|
1723
|
-
'%Function%':
|
|
1724
|
-
'%
|
|
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,
|
|
1725
1733
|
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array,
|
|
1734
|
+
'%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$1 : Int8Array.prototype,
|
|
1726
1735
|
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$1 : Int16Array,
|
|
1736
|
+
'%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$1 : Int8Array.prototype,
|
|
1727
1737
|
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array,
|
|
1738
|
+
'%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$1 : Int32Array.prototype,
|
|
1728
1739
|
'%isFinite%': isFinite,
|
|
1729
1740
|
'%isNaN%': isNaN,
|
|
1730
1741
|
'%IteratorPrototype%': hasSymbols$2 ? getProto(getProto([][Symbol.iterator]())) : undefined$1,
|
|
1731
1742
|
'%JSON%': typeof JSON === 'object' ? JSON : undefined$1,
|
|
1743
|
+
'%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$1,
|
|
1732
1744
|
'%Map%': typeof Map === 'undefined' ? undefined$1 : Map,
|
|
1733
1745
|
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Map()[Symbol.iterator]()),
|
|
1746
|
+
'%MapPrototype%': typeof Map === 'undefined' ? undefined$1 : Map.prototype,
|
|
1734
1747
|
'%Math%': Math,
|
|
1735
1748
|
'%Number%': Number,
|
|
1749
|
+
'%NumberPrototype%': Number.prototype,
|
|
1736
1750
|
'%Object%': Object,
|
|
1751
|
+
'%ObjectPrototype%': Object.prototype,
|
|
1752
|
+
'%ObjProto_toString%': Object.prototype.toString,
|
|
1753
|
+
'%ObjProto_valueOf%': Object.prototype.valueOf,
|
|
1737
1754
|
'%parseFloat%': parseFloat,
|
|
1738
1755
|
'%parseInt%': parseInt,
|
|
1739
1756
|
'%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,
|
|
1740
1762
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined$1 : Proxy,
|
|
1741
1763
|
'%RangeError%': RangeError,
|
|
1764
|
+
'%RangeErrorPrototype%': RangeError.prototype,
|
|
1742
1765
|
'%ReferenceError%': ReferenceError,
|
|
1766
|
+
'%ReferenceErrorPrototype%': ReferenceError.prototype,
|
|
1743
1767
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined$1 : Reflect,
|
|
1744
1768
|
'%RegExp%': RegExp,
|
|
1769
|
+
'%RegExpPrototype%': RegExp.prototype,
|
|
1745
1770
|
'%Set%': typeof Set === 'undefined' ? undefined$1 : Set,
|
|
1746
1771
|
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$2 ? undefined$1 : getProto(new Set()[Symbol.iterator]()),
|
|
1772
|
+
'%SetPrototype%': typeof Set === 'undefined' ? undefined$1 : Set.prototype,
|
|
1747
1773
|
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer,
|
|
1774
|
+
'%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$1 : SharedArrayBuffer.prototype,
|
|
1748
1775
|
'%String%': String,
|
|
1749
1776
|
'%StringIteratorPrototype%': hasSymbols$2 ? getProto(''[Symbol.iterator]()) : undefined$1,
|
|
1777
|
+
'%StringPrototype%': String.prototype,
|
|
1750
1778
|
'%Symbol%': hasSymbols$2 ? Symbol : undefined$1,
|
|
1751
|
-
'%
|
|
1779
|
+
'%SymbolPrototype%': hasSymbols$2 ? Symbol.prototype : undefined$1,
|
|
1780
|
+
'%SyntaxError%': SyntaxError,
|
|
1781
|
+
'%SyntaxErrorPrototype%': SyntaxError.prototype,
|
|
1752
1782
|
'%ThrowTypeError%': ThrowTypeError,
|
|
1753
1783
|
'%TypedArray%': TypedArray,
|
|
1784
|
+
'%TypedArrayPrototype%': TypedArray ? TypedArray.prototype : undefined$1,
|
|
1754
1785
|
'%TypeError%': $TypeError,
|
|
1786
|
+
'%TypeErrorPrototype%': $TypeError.prototype,
|
|
1755
1787
|
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array,
|
|
1788
|
+
'%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$1 : Uint8Array.prototype,
|
|
1756
1789
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray,
|
|
1790
|
+
'%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$1 : Uint8ClampedArray.prototype,
|
|
1757
1791
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array,
|
|
1792
|
+
'%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$1 : Uint16Array.prototype,
|
|
1758
1793
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array,
|
|
1794
|
+
'%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$1 : Uint32Array.prototype,
|
|
1759
1795
|
'%URIError%': URIError,
|
|
1796
|
+
'%URIErrorPrototype%': URIError.prototype,
|
|
1760
1797
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$1 : WeakMap,
|
|
1761
|
-
'%
|
|
1762
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$1 : WeakSet
|
|
1763
|
-
|
|
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
|
-
};
|
|
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']
|
|
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
|
|
1842
1801
|
};
|
|
1843
1802
|
|
|
1844
1803
|
|
|
1845
|
-
|
|
1846
|
-
var $concat = functionBind.call(Function.call, Array.prototype.concat);
|
|
1847
|
-
var $spliceApply = functionBind.call(Function.apply, Array.prototype.splice);
|
|
1848
1804
|
var $replace = functionBind.call(Function.call, String.prototype.replace);
|
|
1849
|
-
var $strSlice = functionBind.call(Function.call, String.prototype.slice);
|
|
1850
1805
|
|
|
1851
1806
|
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
1852
1807
|
var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
1853
1808
|
var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
1854
1809
|
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
|
-
}
|
|
1862
1810
|
var result = [];
|
|
1863
1811
|
$replace(string, rePropName, function (match, number, quote, subString) {
|
|
1864
|
-
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
|
|
1812
|
+
result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : (number || match);
|
|
1865
1813
|
});
|
|
1866
1814
|
return result;
|
|
1867
1815
|
};
|
|
1868
1816
|
/* end adaptation */
|
|
1869
1817
|
|
|
1870
1818
|
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
if (src(LEGACY_ALIASES, intrinsicName)) {
|
|
1874
|
-
alias = LEGACY_ALIASES[intrinsicName];
|
|
1875
|
-
intrinsicName = '%' + alias[0] + '%';
|
|
1819
|
+
if (!(name in INTRINSICS)) {
|
|
1820
|
+
throw new SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
1876
1821
|
}
|
|
1877
1822
|
|
|
1878
|
-
if
|
|
1879
|
-
|
|
1880
|
-
|
|
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
|
-
};
|
|
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!');
|
|
1892
1826
|
}
|
|
1893
1827
|
|
|
1894
|
-
|
|
1828
|
+
return INTRINSICS[name];
|
|
1895
1829
|
};
|
|
1896
1830
|
|
|
1897
|
-
var
|
|
1831
|
+
var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
1898
1832
|
if (typeof name !== 'string' || name.length === 0) {
|
|
1899
|
-
throw new
|
|
1833
|
+
throw new TypeError('intrinsic name must be a non-empty string');
|
|
1900
1834
|
}
|
|
1901
1835
|
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
1902
|
-
throw new
|
|
1836
|
+
throw new TypeError('"allowMissing" argument must be a boolean');
|
|
1903
1837
|
}
|
|
1904
1838
|
|
|
1905
1839
|
var parts = stringToPath(name);
|
|
1906
|
-
var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
|
|
1907
1840
|
|
|
1908
|
-
var
|
|
1909
|
-
var
|
|
1910
|
-
|
|
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
|
-
}
|
|
1841
|
+
var value = getBaseIntrinsic('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
|
|
1842
|
+
for (var i = 1; i < parts.length; i += 1) {
|
|
1843
|
+
if (value != null) {
|
|
1948
1844
|
if ($gOPD && (i + 1) >= parts.length) {
|
|
1949
|
-
var desc = $gOPD(value,
|
|
1950
|
-
|
|
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];
|
|
1845
|
+
var desc = $gOPD(value, parts[i]);
|
|
1846
|
+
if (!allowMissing && !(parts[i] in value)) {
|
|
1847
|
+
throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
1963
1848
|
}
|
|
1849
|
+
value = desc ? (desc.get || desc.value) : value[parts[i]];
|
|
1964
1850
|
} else {
|
|
1965
|
-
|
|
1966
|
-
value = value[part];
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
|
-
if (isOwn && !skipFurtherCaching) {
|
|
1970
|
-
INTRINSICS[intrinsicRealName] = value;
|
|
1851
|
+
value = value[parts[i]];
|
|
1971
1852
|
}
|
|
1972
1853
|
}
|
|
1973
1854
|
}
|
|
1974
1855
|
return value;
|
|
1975
1856
|
};
|
|
1976
1857
|
|
|
1977
|
-
var
|
|
1978
|
-
|
|
1858
|
+
var $Function = GetIntrinsic('%Function%');
|
|
1859
|
+
var $apply = $Function.apply;
|
|
1860
|
+
var $call = $Function.call;
|
|
1979
1861
|
|
|
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
|
-
}
|
|
1998
|
-
|
|
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;
|
|
1862
|
+
var callBind = function callBind() {
|
|
1863
|
+
return functionBind.apply($call, arguments);
|
|
2013
1864
|
};
|
|
2014
1865
|
|
|
2015
|
-
var
|
|
2016
|
-
return
|
|
1866
|
+
var apply = function applyBind() {
|
|
1867
|
+
return functionBind.apply($apply, arguments);
|
|
2017
1868
|
};
|
|
1869
|
+
callBind.apply = apply;
|
|
2018
1870
|
|
|
2019
|
-
|
|
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'));
|
|
1871
|
+
var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
|
|
2028
1872
|
|
|
2029
1873
|
var callBound = function callBoundIntrinsic(name, allowMissing) {
|
|
2030
|
-
var intrinsic =
|
|
2031
|
-
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')
|
|
1874
|
+
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
1875
|
+
if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.')) {
|
|
2032
1876
|
return callBind(intrinsic);
|
|
2033
1877
|
}
|
|
2034
1878
|
return intrinsic;
|
|
2035
1879
|
};
|
|
2036
1880
|
|
|
2037
|
-
var $defineProperty =
|
|
1881
|
+
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
2038
1882
|
|
|
2039
1883
|
if ($defineProperty) {
|
|
2040
1884
|
try {
|
|
@@ -2076,8 +1920,10 @@ var DefineOwnProperty = function DefineOwnProperty(IsDataDescriptor, SameValue,
|
|
|
2076
1920
|
return true;
|
|
2077
1921
|
};
|
|
2078
1922
|
|
|
2079
|
-
var
|
|
2080
|
-
|
|
1923
|
+
var src = functionBind.call(Function.call, Object.prototype.hasOwnProperty);
|
|
1924
|
+
|
|
1925
|
+
var $TypeError$1 = GetIntrinsic('%TypeError%');
|
|
1926
|
+
var $SyntaxError = GetIntrinsic('%SyntaxError%');
|
|
2081
1927
|
|
|
2082
1928
|
|
|
2083
1929
|
|
|
@@ -2114,14 +1960,14 @@ var predicates = {
|
|
|
2114
1960
|
var assertRecord = function assertRecord(Type, recordType, argumentName, value) {
|
|
2115
1961
|
var predicate = predicates[recordType];
|
|
2116
1962
|
if (typeof predicate !== 'function') {
|
|
2117
|
-
throw new $SyntaxError
|
|
1963
|
+
throw new $SyntaxError('unknown record type: ' + recordType);
|
|
2118
1964
|
}
|
|
2119
1965
|
if (!predicate(Type, value)) {
|
|
2120
1966
|
throw new $TypeError$1(argumentName + ' must be a ' + recordType);
|
|
2121
1967
|
}
|
|
2122
1968
|
};
|
|
2123
1969
|
|
|
2124
|
-
// https://ecma-international.org/ecma-262/5.1/#sec-8
|
|
1970
|
+
// https://www.ecma-international.org/ecma-262/5.1/#sec-8
|
|
2125
1971
|
|
|
2126
1972
|
var Type = function Type(x) {
|
|
2127
1973
|
if (x === null) {
|
|
@@ -2144,19 +1990,16 @@ var Type = function Type(x) {
|
|
|
2144
1990
|
}
|
|
2145
1991
|
};
|
|
2146
1992
|
|
|
2147
|
-
// https://ecma-international.org/ecma-262/
|
|
1993
|
+
// https://www.ecma-international.org/ecma-262/6.0/#sec-tostring
|
|
2148
1994
|
|
|
2149
1995
|
var Type$1 = function Type$1(x) {
|
|
2150
1996
|
if (typeof x === 'symbol') {
|
|
2151
1997
|
return 'Symbol';
|
|
2152
1998
|
}
|
|
2153
|
-
if (typeof x === 'bigint') {
|
|
2154
|
-
return 'BigInt';
|
|
2155
|
-
}
|
|
2156
1999
|
return Type(x);
|
|
2157
2000
|
};
|
|
2158
2001
|
|
|
2159
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
|
|
2002
|
+
// https://www.ecma-international.org/ecma-262/6.0/#sec-frompropertydescriptor
|
|
2160
2003
|
|
|
2161
2004
|
var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
|
|
2162
2005
|
if (typeof Desc === 'undefined') {
|
|
@@ -2187,7 +2030,7 @@ var FromPropertyDescriptor = function FromPropertyDescriptor(Desc) {
|
|
|
2187
2030
|
return obj;
|
|
2188
2031
|
};
|
|
2189
2032
|
|
|
2190
|
-
var $gOPD$1 =
|
|
2033
|
+
var $gOPD$1 = GetIntrinsic('%Object.getOwnPropertyDescriptor%');
|
|
2191
2034
|
if ($gOPD$1) {
|
|
2192
2035
|
try {
|
|
2193
2036
|
$gOPD$1([], 'length');
|
|
@@ -2199,85 +2042,65 @@ if ($gOPD$1) {
|
|
|
2199
2042
|
|
|
2200
2043
|
var getOwnPropertyDescriptor = $gOPD$1;
|
|
2201
2044
|
|
|
2202
|
-
var $Array =
|
|
2045
|
+
var $Array = GetIntrinsic('%Array%');
|
|
2203
2046
|
|
|
2204
2047
|
// eslint-disable-next-line global-require
|
|
2205
2048
|
var toStr$4 = !$Array.isArray && callBound('Object.prototype.toString');
|
|
2206
2049
|
|
|
2207
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-isarray
|
|
2050
|
+
// https://www.ecma-international.org/ecma-262/6.0/#sec-isarray
|
|
2208
2051
|
|
|
2209
2052
|
var IsArray = $Array.isArray || function IsArray(argument) {
|
|
2210
2053
|
return toStr$4(argument) === '[object Array]';
|
|
2211
2054
|
};
|
|
2212
2055
|
|
|
2213
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-ispropertykey
|
|
2056
|
+
// https://www.ecma-international.org/ecma-262/6.0/#sec-ispropertykey
|
|
2214
2057
|
|
|
2215
2058
|
var IsPropertyKey = function IsPropertyKey(argument) {
|
|
2216
2059
|
return typeof argument === 'string' || typeof argument === 'symbol';
|
|
2217
2060
|
};
|
|
2218
2061
|
|
|
2219
|
-
var
|
|
2220
|
-
var
|
|
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
|
-
};
|
|
2062
|
+
var regexExec = RegExp.prototype.exec;
|
|
2063
|
+
var gOPD = Object.getOwnPropertyDescriptor;
|
|
2238
2064
|
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2065
|
+
var tryRegexExecCall = function tryRegexExec(value) {
|
|
2066
|
+
try {
|
|
2067
|
+
var lastIndex = value.lastIndex;
|
|
2068
|
+
value.lastIndex = 0; // eslint-disable-line no-param-reassign
|
|
2243
2069
|
|
|
2244
|
-
|
|
2245
|
-
|
|
2070
|
+
regexExec.call(value);
|
|
2071
|
+
return true;
|
|
2072
|
+
} catch (e) {
|
|
2073
|
+
return false;
|
|
2074
|
+
} finally {
|
|
2075
|
+
value.lastIndex = lastIndex; // eslint-disable-line no-param-reassign
|
|
2076
|
+
}
|
|
2077
|
+
};
|
|
2078
|
+
var toStr$5 = Object.prototype.toString;
|
|
2246
2079
|
var regexClass = '[object RegExp]';
|
|
2080
|
+
var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol';
|
|
2247
2081
|
|
|
2248
|
-
var isRegex =
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
var descriptor = gOPD(value, 'lastIndex');
|
|
2256
|
-
var hasLastIndexDataProperty = descriptor && has$1(descriptor, 'value');
|
|
2257
|
-
if (!hasLastIndexDataProperty) {
|
|
2258
|
-
return false;
|
|
2259
|
-
}
|
|
2082
|
+
var isRegex = function isRegex(value) {
|
|
2083
|
+
if (!value || typeof value !== 'object') {
|
|
2084
|
+
return false;
|
|
2085
|
+
}
|
|
2086
|
+
if (!hasToStringTag) {
|
|
2087
|
+
return toStr$5.call(value) === regexClass;
|
|
2088
|
+
}
|
|
2260
2089
|
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
}
|
|
2090
|
+
var descriptor = gOPD(value, 'lastIndex');
|
|
2091
|
+
var hasLastIndexDataProperty = descriptor && src(descriptor, 'value');
|
|
2092
|
+
if (!hasLastIndexDataProperty) {
|
|
2093
|
+
return false;
|
|
2266
2094
|
}
|
|
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
2095
|
|
|
2273
|
-
|
|
2274
|
-
|
|
2096
|
+
return tryRegexExecCall(value);
|
|
2097
|
+
};
|
|
2275
2098
|
|
|
2276
|
-
// http://ecma-international.org/ecma-262/5.1/#sec-9.2
|
|
2099
|
+
// http://www.ecma-international.org/ecma-262/5.1/#sec-9.2
|
|
2277
2100
|
|
|
2278
2101
|
var ToBoolean = function ToBoolean(value) { return !!value; };
|
|
2279
2102
|
|
|
2280
|
-
var $match =
|
|
2103
|
+
var $match = GetIntrinsic('%Symbol.match%', true);
|
|
2281
2104
|
|
|
2282
2105
|
|
|
2283
2106
|
|
|
@@ -2299,27 +2122,6 @@ var IsRegExp = function IsRegExp(argument) {
|
|
|
2299
2122
|
};
|
|
2300
2123
|
|
|
2301
2124
|
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
2125
|
|
|
2324
2126
|
var constructorRegex = /^\s*class\b/;
|
|
2325
2127
|
var isES6ClassFn = function isES6ClassFunction(value) {
|
|
@@ -2340,42 +2142,26 @@ var tryFunctionObject = function tryFunctionToStr(value) {
|
|
|
2340
2142
|
return false;
|
|
2341
2143
|
}
|
|
2342
2144
|
};
|
|
2343
|
-
var toStr$
|
|
2145
|
+
var toStr$6 = Object.prototype.toString;
|
|
2344
2146
|
var fnClass = '[object Function]';
|
|
2345
2147
|
var genClass = '[object GeneratorFunction]';
|
|
2346
2148
|
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
2149
|
|
|
2374
|
-
|
|
2150
|
+
var isCallable = function isCallable(value) {
|
|
2151
|
+
if (!value) { return false; }
|
|
2152
|
+
if (typeof value !== 'function' && typeof value !== 'object') { return false; }
|
|
2153
|
+
if (typeof value === 'function' && !value.prototype) { return true; }
|
|
2154
|
+
if (hasToStringTag$1) { return tryFunctionObject(value); }
|
|
2155
|
+
if (isES6ClassFn(value)) { return false; }
|
|
2156
|
+
var strClass = toStr$6.call(value);
|
|
2157
|
+
return strClass === fnClass || strClass === genClass;
|
|
2158
|
+
};
|
|
2159
|
+
|
|
2160
|
+
// http://www.ecma-international.org/ecma-262/5.1/#sec-9.11
|
|
2375
2161
|
|
|
2376
2162
|
var IsCallable = isCallable;
|
|
2377
2163
|
|
|
2378
|
-
var $TypeError$2 =
|
|
2164
|
+
var $TypeError$2 = GetIntrinsic('%TypeError%');
|
|
2379
2165
|
|
|
2380
2166
|
|
|
2381
2167
|
|
|
@@ -2404,7 +2190,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
|
|
|
2404
2190
|
if (src(Obj, 'get')) {
|
|
2405
2191
|
var getter = Obj.get;
|
|
2406
2192
|
if (typeof getter !== 'undefined' && !IsCallable(getter)) {
|
|
2407
|
-
throw new
|
|
2193
|
+
throw new TypeError('getter must be a function');
|
|
2408
2194
|
}
|
|
2409
2195
|
desc['[[Get]]'] = getter;
|
|
2410
2196
|
}
|
|
@@ -2422,7 +2208,7 @@ var ToPropertyDescriptor = function ToPropertyDescriptor(Obj) {
|
|
|
2422
2208
|
return desc;
|
|
2423
2209
|
};
|
|
2424
2210
|
|
|
2425
|
-
var $TypeError$3 =
|
|
2211
|
+
var $TypeError$3 = GetIntrinsic('%TypeError%');
|
|
2426
2212
|
|
|
2427
2213
|
|
|
2428
2214
|
|
|
@@ -2436,7 +2222,7 @@ var $isEnumerable$1 = callBound('Object.prototype.propertyIsEnumerable');
|
|
|
2436
2222
|
|
|
2437
2223
|
|
|
2438
2224
|
|
|
2439
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
|
|
2225
|
+
// https://www.ecma-international.org/ecma-262/6.0/#sec-ordinarygetownproperty
|
|
2440
2226
|
|
|
2441
2227
|
var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
|
|
2442
2228
|
if (Type$1(O) !== 'Object') {
|
|
@@ -2462,7 +2248,7 @@ var OrdinaryGetOwnProperty = function OrdinaryGetOwnProperty(O, P) {
|
|
|
2462
2248
|
return ToPropertyDescriptor(getOwnPropertyDescriptor(O, P));
|
|
2463
2249
|
};
|
|
2464
2250
|
|
|
2465
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
|
|
2251
|
+
// https://www.ecma-international.org/ecma-262/6.0/#sec-isdatadescriptor
|
|
2466
2252
|
|
|
2467
2253
|
var IsDataDescriptor = function IsDataDescriptor(Desc) {
|
|
2468
2254
|
if (typeof Desc === 'undefined') {
|
|
@@ -2482,14 +2268,14 @@ var isPrimitive = function isPrimitive(value) {
|
|
|
2482
2268
|
return value === null || (typeof value !== 'function' && typeof value !== 'object');
|
|
2483
2269
|
};
|
|
2484
2270
|
|
|
2485
|
-
var $Object =
|
|
2271
|
+
var $Object = GetIntrinsic('%Object%');
|
|
2486
2272
|
|
|
2487
2273
|
|
|
2488
2274
|
|
|
2489
2275
|
var $preventExtensions = $Object.preventExtensions;
|
|
2490
2276
|
var $isExtensible = $Object.isExtensible;
|
|
2491
2277
|
|
|
2492
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-isextensible-o
|
|
2278
|
+
// https://www.ecma-international.org/ecma-262/6.0/#sec-isextensible-o
|
|
2493
2279
|
|
|
2494
2280
|
var IsExtensible = $preventExtensions
|
|
2495
2281
|
? function IsExtensible(obj) {
|
|
@@ -2503,7 +2289,7 @@ var _isNaN = Number.isNaN || function isNaN(a) {
|
|
|
2503
2289
|
return a !== a;
|
|
2504
2290
|
};
|
|
2505
2291
|
|
|
2506
|
-
// http://ecma-international.org/ecma-262/5.1/#sec-9.12
|
|
2292
|
+
// http://www.ecma-international.org/ecma-262/5.1/#sec-9.12
|
|
2507
2293
|
|
|
2508
2294
|
var SameValue = function SameValue(x, y) {
|
|
2509
2295
|
if (x === y) { // 0 === -0, but they are not identical.
|
|
@@ -2513,7 +2299,7 @@ var SameValue = function SameValue(x, y) {
|
|
|
2513
2299
|
return _isNaN(x) && _isNaN(y);
|
|
2514
2300
|
};
|
|
2515
2301
|
|
|
2516
|
-
var $TypeError$4 =
|
|
2302
|
+
var $TypeError$4 = GetIntrinsic('%TypeError%');
|
|
2517
2303
|
|
|
2518
2304
|
|
|
2519
2305
|
|
|
@@ -2525,7 +2311,7 @@ var $TypeError$4 = getIntrinsic('%TypeError%');
|
|
|
2525
2311
|
|
|
2526
2312
|
|
|
2527
2313
|
|
|
2528
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-createdataproperty
|
|
2314
|
+
// https://www.ecma-international.org/ecma-262/6.0/#sec-createdataproperty
|
|
2529
2315
|
|
|
2530
2316
|
var CreateDataProperty = function CreateDataProperty(O, P, V) {
|
|
2531
2317
|
if (Type$1(O) !== 'Object') {
|
|
@@ -2555,9 +2341,9 @@ var CreateDataProperty = function CreateDataProperty(O, P, V) {
|
|
|
2555
2341
|
);
|
|
2556
2342
|
};
|
|
2557
2343
|
|
|
2558
|
-
var $TypeError$5 =
|
|
2344
|
+
var $TypeError$5 = GetIntrinsic('%TypeError%');
|
|
2559
2345
|
|
|
2560
|
-
// http://ecma-international.org/ecma-262/5.1/#sec-9.10
|
|
2346
|
+
// http://www.ecma-international.org/ecma-262/5.1/#sec-9.10
|
|
2561
2347
|
|
|
2562
2348
|
var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
|
|
2563
2349
|
if (value == null) {
|
|
@@ -2568,11 +2354,11 @@ var CheckObjectCoercible = function CheckObjectCoercible(value, optMessage) {
|
|
|
2568
2354
|
|
|
2569
2355
|
var RequireObjectCoercible = CheckObjectCoercible;
|
|
2570
2356
|
|
|
2571
|
-
var $Object$1 =
|
|
2357
|
+
var $Object$1 = GetIntrinsic('%Object%');
|
|
2572
2358
|
|
|
2573
2359
|
|
|
2574
2360
|
|
|
2575
|
-
// https://ecma-international.org/ecma-262/6.0/#sec-toobject
|
|
2361
|
+
// https://www.ecma-international.org/ecma-262/6.0/#sec-toobject
|
|
2576
2362
|
|
|
2577
2363
|
var ToObject = function ToObject(value) {
|
|
2578
2364
|
RequireObjectCoercible(value);
|
|
@@ -2582,10 +2368,10 @@ var ToObject = function ToObject(value) {
|
|
|
2582
2368
|
var $gOPD$2 = Object.getOwnPropertyDescriptor;
|
|
2583
2369
|
var $getOwnNames = Object.getOwnPropertyNames;
|
|
2584
2370
|
var $getSymbols = Object.getOwnPropertySymbols;
|
|
2585
|
-
var $concat
|
|
2371
|
+
var $concat = callBound('Array.prototype.concat');
|
|
2586
2372
|
var $reduce = callBound('Array.prototype.reduce');
|
|
2587
2373
|
var getAll = $getSymbols ? function (obj) {
|
|
2588
|
-
return $concat
|
|
2374
|
+
return $concat($getOwnNames(obj), $getSymbols(obj));
|
|
2589
2375
|
} : $getOwnNames;
|
|
2590
2376
|
|
|
2591
2377
|
var isES5 = IsCallable($gOPD$2) && IsCallable($getOwnNames);
|
|
@@ -2624,281 +2410,13 @@ var shim = function shimGetOwnPropertyDescriptors() {
|
|
|
2624
2410
|
return polyfill$1;
|
|
2625
2411
|
};
|
|
2626
2412
|
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
defineProperties_1(bound, {
|
|
2413
|
+
defineProperties_1(implementation$2, {
|
|
2630
2414
|
getPolyfill: polyfill,
|
|
2631
2415
|
implementation: implementation$2,
|
|
2632
2416
|
shim: shim
|
|
2633
2417
|
});
|
|
2634
2418
|
|
|
2635
|
-
var object_getownpropertydescriptors =
|
|
2636
|
-
|
|
2637
|
-
/* globals
|
|
2638
|
-
Atomics,
|
|
2639
|
-
SharedArrayBuffer,
|
|
2640
|
-
*/
|
|
2641
|
-
|
|
2642
|
-
var undefined$2;
|
|
2643
|
-
|
|
2644
|
-
var $TypeError$6 = TypeError;
|
|
2645
|
-
|
|
2646
|
-
var $gOPD$3 = Object.getOwnPropertyDescriptor;
|
|
2647
|
-
if ($gOPD$3) {
|
|
2648
|
-
try {
|
|
2649
|
-
$gOPD$3({}, '');
|
|
2650
|
-
} catch (e) {
|
|
2651
|
-
$gOPD$3 = null; // this is IE 8, which has a broken gOPD
|
|
2652
|
-
}
|
|
2653
|
-
}
|
|
2654
|
-
|
|
2655
|
-
var throwTypeError$1 = function () { throw new $TypeError$6(); };
|
|
2656
|
-
var ThrowTypeError$1 = $gOPD$3
|
|
2657
|
-
? (function () {
|
|
2658
|
-
try {
|
|
2659
|
-
// eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
|
|
2660
|
-
arguments.callee; // IE 8 does not throw here
|
|
2661
|
-
return throwTypeError$1;
|
|
2662
|
-
} catch (calleeThrows) {
|
|
2663
|
-
try {
|
|
2664
|
-
// IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
|
|
2665
|
-
return $gOPD$3(arguments, 'callee').get;
|
|
2666
|
-
} catch (gOPDthrows) {
|
|
2667
|
-
return throwTypeError$1;
|
|
2668
|
-
}
|
|
2669
|
-
}
|
|
2670
|
-
}())
|
|
2671
|
-
: throwTypeError$1;
|
|
2672
|
-
|
|
2673
|
-
var hasSymbols$4 = hasSymbols$1();
|
|
2674
|
-
|
|
2675
|
-
var getProto$1 = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
|
|
2676
|
-
var generatorFunction = undefined$2;
|
|
2677
|
-
var asyncFunction = undefined$2;
|
|
2678
|
-
var asyncGenFunction = undefined$2;
|
|
2679
|
-
|
|
2680
|
-
var TypedArray$1 = typeof Uint8Array === 'undefined' ? undefined$2 : getProto$1(Uint8Array);
|
|
2681
|
-
|
|
2682
|
-
var INTRINSICS$1 = {
|
|
2683
|
-
'%Array%': Array,
|
|
2684
|
-
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer,
|
|
2685
|
-
'%ArrayBufferPrototype%': typeof ArrayBuffer === 'undefined' ? undefined$2 : ArrayBuffer.prototype,
|
|
2686
|
-
'%ArrayIteratorPrototype%': hasSymbols$4 ? getProto$1([][Symbol.iterator]()) : undefined$2,
|
|
2687
|
-
'%ArrayPrototype%': Array.prototype,
|
|
2688
|
-
'%ArrayProto_entries%': Array.prototype.entries,
|
|
2689
|
-
'%ArrayProto_forEach%': Array.prototype.forEach,
|
|
2690
|
-
'%ArrayProto_keys%': Array.prototype.keys,
|
|
2691
|
-
'%ArrayProto_values%': Array.prototype.values,
|
|
2692
|
-
'%AsyncFromSyncIteratorPrototype%': undefined$2,
|
|
2693
|
-
'%AsyncFunction%': asyncFunction,
|
|
2694
|
-
'%AsyncFunctionPrototype%': undefined$2,
|
|
2695
|
-
'%AsyncGenerator%': undefined$2,
|
|
2696
|
-
'%AsyncGeneratorFunction%': asyncGenFunction,
|
|
2697
|
-
'%AsyncGeneratorPrototype%': undefined$2,
|
|
2698
|
-
'%AsyncIteratorPrototype%': undefined$2,
|
|
2699
|
-
'%Atomics%': typeof Atomics === 'undefined' ? undefined$2 : Atomics,
|
|
2700
|
-
'%Boolean%': Boolean,
|
|
2701
|
-
'%BooleanPrototype%': Boolean.prototype,
|
|
2702
|
-
'%DataView%': typeof DataView === 'undefined' ? undefined$2 : DataView,
|
|
2703
|
-
'%DataViewPrototype%': typeof DataView === 'undefined' ? undefined$2 : DataView.prototype,
|
|
2704
|
-
'%Date%': Date,
|
|
2705
|
-
'%DatePrototype%': Date.prototype,
|
|
2706
|
-
'%decodeURI%': decodeURI,
|
|
2707
|
-
'%decodeURIComponent%': decodeURIComponent,
|
|
2708
|
-
'%encodeURI%': encodeURI,
|
|
2709
|
-
'%encodeURIComponent%': encodeURIComponent,
|
|
2710
|
-
'%Error%': Error,
|
|
2711
|
-
'%ErrorPrototype%': Error.prototype,
|
|
2712
|
-
'%eval%': eval, // eslint-disable-line no-eval
|
|
2713
|
-
'%EvalError%': EvalError,
|
|
2714
|
-
'%EvalErrorPrototype%': EvalError.prototype,
|
|
2715
|
-
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined$2 : Float32Array,
|
|
2716
|
-
'%Float32ArrayPrototype%': typeof Float32Array === 'undefined' ? undefined$2 : Float32Array.prototype,
|
|
2717
|
-
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined$2 : Float64Array,
|
|
2718
|
-
'%Float64ArrayPrototype%': typeof Float64Array === 'undefined' ? undefined$2 : Float64Array.prototype,
|
|
2719
|
-
'%Function%': Function,
|
|
2720
|
-
'%FunctionPrototype%': Function.prototype,
|
|
2721
|
-
'%Generator%': undefined$2,
|
|
2722
|
-
'%GeneratorFunction%': generatorFunction,
|
|
2723
|
-
'%GeneratorPrototype%': undefined$2,
|
|
2724
|
-
'%Int8Array%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array,
|
|
2725
|
-
'%Int8ArrayPrototype%': typeof Int8Array === 'undefined' ? undefined$2 : Int8Array.prototype,
|
|
2726
|
-
'%Int16Array%': typeof Int16Array === 'undefined' ? undefined$2 : Int16Array,
|
|
2727
|
-
'%Int16ArrayPrototype%': typeof Int16Array === 'undefined' ? undefined$2 : Int8Array.prototype,
|
|
2728
|
-
'%Int32Array%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array,
|
|
2729
|
-
'%Int32ArrayPrototype%': typeof Int32Array === 'undefined' ? undefined$2 : Int32Array.prototype,
|
|
2730
|
-
'%isFinite%': isFinite,
|
|
2731
|
-
'%isNaN%': isNaN,
|
|
2732
|
-
'%IteratorPrototype%': hasSymbols$4 ? getProto$1(getProto$1([][Symbol.iterator]())) : undefined$2,
|
|
2733
|
-
'%JSON%': typeof JSON === 'object' ? JSON : undefined$2,
|
|
2734
|
-
'%JSONParse%': typeof JSON === 'object' ? JSON.parse : undefined$2,
|
|
2735
|
-
'%Map%': typeof Map === 'undefined' ? undefined$2 : Map,
|
|
2736
|
-
'%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Map()[Symbol.iterator]()),
|
|
2737
|
-
'%MapPrototype%': typeof Map === 'undefined' ? undefined$2 : Map.prototype,
|
|
2738
|
-
'%Math%': Math,
|
|
2739
|
-
'%Number%': Number,
|
|
2740
|
-
'%NumberPrototype%': Number.prototype,
|
|
2741
|
-
'%Object%': Object,
|
|
2742
|
-
'%ObjectPrototype%': Object.prototype,
|
|
2743
|
-
'%ObjProto_toString%': Object.prototype.toString,
|
|
2744
|
-
'%ObjProto_valueOf%': Object.prototype.valueOf,
|
|
2745
|
-
'%parseFloat%': parseFloat,
|
|
2746
|
-
'%parseInt%': parseInt,
|
|
2747
|
-
'%Promise%': typeof Promise === 'undefined' ? undefined$2 : Promise,
|
|
2748
|
-
'%PromisePrototype%': typeof Promise === 'undefined' ? undefined$2 : Promise.prototype,
|
|
2749
|
-
'%PromiseProto_then%': typeof Promise === 'undefined' ? undefined$2 : Promise.prototype.then,
|
|
2750
|
-
'%Promise_all%': typeof Promise === 'undefined' ? undefined$2 : Promise.all,
|
|
2751
|
-
'%Promise_reject%': typeof Promise === 'undefined' ? undefined$2 : Promise.reject,
|
|
2752
|
-
'%Promise_resolve%': typeof Promise === 'undefined' ? undefined$2 : Promise.resolve,
|
|
2753
|
-
'%Proxy%': typeof Proxy === 'undefined' ? undefined$2 : Proxy,
|
|
2754
|
-
'%RangeError%': RangeError,
|
|
2755
|
-
'%RangeErrorPrototype%': RangeError.prototype,
|
|
2756
|
-
'%ReferenceError%': ReferenceError,
|
|
2757
|
-
'%ReferenceErrorPrototype%': ReferenceError.prototype,
|
|
2758
|
-
'%Reflect%': typeof Reflect === 'undefined' ? undefined$2 : Reflect,
|
|
2759
|
-
'%RegExp%': RegExp,
|
|
2760
|
-
'%RegExpPrototype%': RegExp.prototype,
|
|
2761
|
-
'%Set%': typeof Set === 'undefined' ? undefined$2 : Set,
|
|
2762
|
-
'%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols$4 ? undefined$2 : getProto$1(new Set()[Symbol.iterator]()),
|
|
2763
|
-
'%SetPrototype%': typeof Set === 'undefined' ? undefined$2 : Set.prototype,
|
|
2764
|
-
'%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer,
|
|
2765
|
-
'%SharedArrayBufferPrototype%': typeof SharedArrayBuffer === 'undefined' ? undefined$2 : SharedArrayBuffer.prototype,
|
|
2766
|
-
'%String%': String,
|
|
2767
|
-
'%StringIteratorPrototype%': hasSymbols$4 ? getProto$1(''[Symbol.iterator]()) : undefined$2,
|
|
2768
|
-
'%StringPrototype%': String.prototype,
|
|
2769
|
-
'%Symbol%': hasSymbols$4 ? Symbol : undefined$2,
|
|
2770
|
-
'%SymbolPrototype%': hasSymbols$4 ? Symbol.prototype : undefined$2,
|
|
2771
|
-
'%SyntaxError%': SyntaxError,
|
|
2772
|
-
'%SyntaxErrorPrototype%': SyntaxError.prototype,
|
|
2773
|
-
'%ThrowTypeError%': ThrowTypeError$1,
|
|
2774
|
-
'%TypedArray%': TypedArray$1,
|
|
2775
|
-
'%TypedArrayPrototype%': TypedArray$1 ? TypedArray$1.prototype : undefined$2,
|
|
2776
|
-
'%TypeError%': $TypeError$6,
|
|
2777
|
-
'%TypeErrorPrototype%': $TypeError$6.prototype,
|
|
2778
|
-
'%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array,
|
|
2779
|
-
'%Uint8ArrayPrototype%': typeof Uint8Array === 'undefined' ? undefined$2 : Uint8Array.prototype,
|
|
2780
|
-
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray,
|
|
2781
|
-
'%Uint8ClampedArrayPrototype%': typeof Uint8ClampedArray === 'undefined' ? undefined$2 : Uint8ClampedArray.prototype,
|
|
2782
|
-
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined$2 : Uint16Array,
|
|
2783
|
-
'%Uint16ArrayPrototype%': typeof Uint16Array === 'undefined' ? undefined$2 : Uint16Array.prototype,
|
|
2784
|
-
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined$2 : Uint32Array,
|
|
2785
|
-
'%Uint32ArrayPrototype%': typeof Uint32Array === 'undefined' ? undefined$2 : Uint32Array.prototype,
|
|
2786
|
-
'%URIError%': URIError,
|
|
2787
|
-
'%URIErrorPrototype%': URIError.prototype,
|
|
2788
|
-
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined$2 : WeakMap,
|
|
2789
|
-
'%WeakMapPrototype%': typeof WeakMap === 'undefined' ? undefined$2 : WeakMap.prototype,
|
|
2790
|
-
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined$2 : WeakSet,
|
|
2791
|
-
'%WeakSetPrototype%': typeof WeakSet === 'undefined' ? undefined$2 : WeakSet.prototype
|
|
2792
|
-
};
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
var $replace$1 = functionBind.call(Function.call, String.prototype.replace);
|
|
2796
|
-
|
|
2797
|
-
/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
|
|
2798
|
-
var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
2799
|
-
var reEscapeChar$1 = /\\(\\)?/g; /** Used to match backslashes in property paths. */
|
|
2800
|
-
var stringToPath$1 = function stringToPath(string) {
|
|
2801
|
-
var result = [];
|
|
2802
|
-
$replace$1(string, rePropName$1, function (match, number, quote, subString) {
|
|
2803
|
-
result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, '$1') : (number || match);
|
|
2804
|
-
});
|
|
2805
|
-
return result;
|
|
2806
|
-
};
|
|
2807
|
-
/* end adaptation */
|
|
2808
|
-
|
|
2809
|
-
var getBaseIntrinsic$1 = function getBaseIntrinsic(name, allowMissing) {
|
|
2810
|
-
if (!(name in INTRINSICS$1)) {
|
|
2811
|
-
throw new SyntaxError('intrinsic ' + name + ' does not exist!');
|
|
2812
|
-
}
|
|
2813
|
-
|
|
2814
|
-
// istanbul ignore if // hopefully this is impossible to test :-)
|
|
2815
|
-
if (typeof INTRINSICS$1[name] === 'undefined' && !allowMissing) {
|
|
2816
|
-
throw new $TypeError$6('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
|
|
2817
|
-
}
|
|
2818
|
-
|
|
2819
|
-
return INTRINSICS$1[name];
|
|
2820
|
-
};
|
|
2821
|
-
|
|
2822
|
-
var GetIntrinsic = function GetIntrinsic(name, allowMissing) {
|
|
2823
|
-
if (typeof name !== 'string' || name.length === 0) {
|
|
2824
|
-
throw new TypeError('intrinsic name must be a non-empty string');
|
|
2825
|
-
}
|
|
2826
|
-
if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
|
|
2827
|
-
throw new TypeError('"allowMissing" argument must be a boolean');
|
|
2828
|
-
}
|
|
2829
|
-
|
|
2830
|
-
var parts = stringToPath$1(name);
|
|
2831
|
-
|
|
2832
|
-
var value = getBaseIntrinsic$1('%' + (parts.length > 0 ? parts[0] : '') + '%', allowMissing);
|
|
2833
|
-
for (var i = 1; i < parts.length; i += 1) {
|
|
2834
|
-
if (value != null) {
|
|
2835
|
-
if ($gOPD$3 && (i + 1) >= parts.length) {
|
|
2836
|
-
var desc = $gOPD$3(value, parts[i]);
|
|
2837
|
-
if (!allowMissing && !(parts[i] in value)) {
|
|
2838
|
-
throw new $TypeError$6('base intrinsic for ' + name + ' exists, but the property is not available.');
|
|
2839
|
-
}
|
|
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]];
|
|
2848
|
-
} else {
|
|
2849
|
-
value = value[parts[i]];
|
|
2850
|
-
}
|
|
2851
|
-
}
|
|
2852
|
-
}
|
|
2853
|
-
return value;
|
|
2854
|
-
};
|
|
2855
|
-
|
|
2856
|
-
var callBind$1 = createCommonjsModule(function (module) {
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
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);
|
|
2879
|
-
};
|
|
2880
|
-
|
|
2881
|
-
var applyBind = function applyBind() {
|
|
2882
|
-
return $reflectApply(functionBind, $apply, arguments);
|
|
2883
|
-
};
|
|
2884
|
-
|
|
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'));
|
|
2894
|
-
|
|
2895
|
-
var callBound$1 = function callBoundIntrinsic(name, allowMissing) {
|
|
2896
|
-
var intrinsic = GetIntrinsic(name, !!allowMissing);
|
|
2897
|
-
if (typeof intrinsic === 'function' && $indexOf$1(name, '.prototype.')) {
|
|
2898
|
-
return callBind$1(intrinsic);
|
|
2899
|
-
}
|
|
2900
|
-
return intrinsic;
|
|
2901
|
-
};
|
|
2419
|
+
var object_getownpropertydescriptors = implementation$2;
|
|
2902
2420
|
|
|
2903
2421
|
var isES5$1 = typeof Object.defineProperty === 'function'
|
|
2904
2422
|
&& typeof Object.defineProperties === 'function';
|
|
@@ -2917,14 +2435,14 @@ if (typeof Promise !== 'function') {
|
|
|
2917
2435
|
|
|
2918
2436
|
|
|
2919
2437
|
|
|
2920
|
-
var $slice = callBound
|
|
2921
|
-
var $concat$
|
|
2922
|
-
var $forEach = callBound
|
|
2438
|
+
var $slice = callBound('Array.prototype.slice');
|
|
2439
|
+
var $concat$1 = callBound('Array.prototype.concat');
|
|
2440
|
+
var $forEach = callBound('Array.prototype.forEach');
|
|
2923
2441
|
|
|
2924
|
-
var hasSymbols$
|
|
2442
|
+
var hasSymbols$3 = hasSymbols$1();
|
|
2925
2443
|
|
|
2926
|
-
var kCustomPromisifiedSymbol = hasSymbols$
|
|
2927
|
-
var kCustomPromisifyArgsSymbol = hasSymbols$
|
|
2444
|
+
var kCustomPromisifiedSymbol = hasSymbols$3 ? Symbol('util.promisify.custom') : null;
|
|
2445
|
+
var kCustomPromisifyArgsSymbol = hasSymbols$3 ? Symbol('customPromisifyArgs') : null;
|
|
2928
2446
|
|
|
2929
2447
|
var implementation$3 = function promisify(orig) {
|
|
2930
2448
|
if (typeof orig !== 'function') {
|
|
@@ -2934,7 +2452,7 @@ var implementation$3 = function promisify(orig) {
|
|
|
2934
2452
|
throw error;
|
|
2935
2453
|
}
|
|
2936
2454
|
|
|
2937
|
-
if (hasSymbols$
|
|
2455
|
+
if (hasSymbols$3 && orig[kCustomPromisifiedSymbol]) {
|
|
2938
2456
|
var customFunction = orig[kCustomPromisifiedSymbol];
|
|
2939
2457
|
if (typeof customFunction !== 'function') {
|
|
2940
2458
|
throw new TypeError('The [util.promisify.custom] property must be a function');
|
|
@@ -2956,7 +2474,7 @@ var implementation$3 = function promisify(orig) {
|
|
|
2956
2474
|
var args = $slice(arguments);
|
|
2957
2475
|
var self = this; // eslint-disable-line no-invalid-this
|
|
2958
2476
|
return new Promise(function (resolve, reject) {
|
|
2959
|
-
orig.apply(self, $concat$
|
|
2477
|
+
orig.apply(self, $concat$1(args, function (err) {
|
|
2960
2478
|
var values = arguments.length > 1 ? $slice(arguments, 1) : [];
|
|
2961
2479
|
if (err) {
|
|
2962
2480
|
reject(err);
|
|
@@ -3235,7 +2753,7 @@ var md5 = createCommonjsModule(function (module) {
|
|
|
3235
2753
|
message = utf8.stringToBytes(message);
|
|
3236
2754
|
else if (isBuffer(message))
|
|
3237
2755
|
message = Array.prototype.slice.call(message, 0);
|
|
3238
|
-
else if (!Array.isArray(message)
|
|
2756
|
+
else if (!Array.isArray(message))
|
|
3239
2757
|
message = message.toString();
|
|
3240
2758
|
// else, assume byte array already
|
|
3241
2759
|
|
|
@@ -3391,10 +2909,10 @@ var config = {
|
|
|
3391
2909
|
};
|
|
3392
2910
|
|
|
3393
2911
|
var findUser = function () {
|
|
3394
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
2912
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(email) {
|
|
3395
2913
|
var password = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
3396
2914
|
var db$1, query, res, user, hash, passwordsMatch, user_shared, occupation_id;
|
|
3397
|
-
return
|
|
2915
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
3398
2916
|
while (1) {
|
|
3399
2917
|
switch (_context.prev = _context.next) {
|
|
3400
2918
|
case 0:
|
|
@@ -3499,9 +3017,9 @@ var findUser = function () {
|
|
|
3499
3017
|
}();
|
|
3500
3018
|
|
|
3501
3019
|
var updateUser = function () {
|
|
3502
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/
|
|
3020
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
|
|
3503
3021
|
var db$1, query, res, hash, columns, i, column, occupation_name;
|
|
3504
|
-
return
|
|
3022
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
3505
3023
|
while (1) {
|
|
3506
3024
|
switch (_context2.prev = _context2.next) {
|
|
3507
3025
|
case 0:
|
|
@@ -3702,9 +3220,9 @@ var validateUserData = function validateUserData(data) {
|
|
|
3702
3220
|
};
|
|
3703
3221
|
|
|
3704
3222
|
var getOccupationNameById = function () {
|
|
3705
|
-
var _ref3 = _asyncToGenerator( /*#__PURE__*/
|
|
3223
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(db, occupation_id) {
|
|
3706
3224
|
var query, res;
|
|
3707
|
-
return
|
|
3225
|
+
return regenerator.wrap(function _callee3$(_context3) {
|
|
3708
3226
|
while (1) {
|
|
3709
3227
|
switch (_context3.prev = _context3.next) {
|
|
3710
3228
|
case 0:
|
|
@@ -3739,9 +3257,9 @@ var getOccupationNameById = function () {
|
|
|
3739
3257
|
}();
|
|
3740
3258
|
|
|
3741
3259
|
var createUser = function () {
|
|
3742
|
-
var _ref4 = _asyncToGenerator( /*#__PURE__*/
|
|
3260
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(data) {
|
|
3743
3261
|
var db$1, query, res, hash, columns, i, column, user_id, occupation_name;
|
|
3744
|
-
return
|
|
3262
|
+
return regenerator.wrap(function _callee4$(_context4) {
|
|
3745
3263
|
while (1) {
|
|
3746
3264
|
switch (_context4.prev = _context4.next) {
|
|
3747
3265
|
case 0:
|
|
@@ -3886,9 +3404,9 @@ var createUser = function () {
|
|
|
3886
3404
|
}();
|
|
3887
3405
|
|
|
3888
3406
|
var createUser$1 = function () {
|
|
3889
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
3407
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(data) {
|
|
3890
3408
|
var res;
|
|
3891
|
-
return
|
|
3409
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
3892
3410
|
while (1) {
|
|
3893
3411
|
switch (_context.prev = _context.next) {
|
|
3894
3412
|
case 0:
|
|
@@ -3922,9 +3440,9 @@ var createUser$1 = function () {
|
|
|
3922
3440
|
}();
|
|
3923
3441
|
|
|
3924
3442
|
var updateUser$1 = function () {
|
|
3925
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/
|
|
3443
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(data) {
|
|
3926
3444
|
var res;
|
|
3927
|
-
return
|
|
3445
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
3928
3446
|
while (1) {
|
|
3929
3447
|
switch (_context2.prev = _context2.next) {
|
|
3930
3448
|
case 0:
|
|
@@ -3958,11 +3476,11 @@ var updateUser$1 = function () {
|
|
|
3958
3476
|
}();
|
|
3959
3477
|
|
|
3960
3478
|
var findUser$1 = function () {
|
|
3961
|
-
var _ref3 = _asyncToGenerator( /*#__PURE__*/
|
|
3479
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(_ref4) {
|
|
3962
3480
|
var email = _ref4.email,
|
|
3963
3481
|
password = _ref4.password;
|
|
3964
3482
|
var res;
|
|
3965
|
-
return
|
|
3483
|
+
return regenerator.wrap(function _callee3$(_context3) {
|
|
3966
3484
|
while (1) {
|
|
3967
3485
|
switch (_context3.prev = _context3.next) {
|
|
3968
3486
|
case 0:
|
|
@@ -4029,9 +3547,9 @@ var config$1 = {
|
|
|
4029
3547
|
};
|
|
4030
3548
|
|
|
4031
3549
|
var getOccupation = function () {
|
|
4032
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
3550
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(type) {
|
|
4033
3551
|
var db$1, query, result;
|
|
4034
|
-
return
|
|
3552
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
4035
3553
|
while (1) {
|
|
4036
3554
|
switch (_context.prev = _context.next) {
|
|
4037
3555
|
case 0:
|
|
@@ -4062,9 +3580,9 @@ var getOccupation = function () {
|
|
|
4062
3580
|
}();
|
|
4063
3581
|
|
|
4064
3582
|
var getFieldsAndOptions = function () {
|
|
4065
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/
|
|
3583
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(occupation) {
|
|
4066
3584
|
var db$1, query, result, i, field, optionQuery, options;
|
|
4067
|
-
return
|
|
3585
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
4068
3586
|
while (1) {
|
|
4069
3587
|
switch (_context2.prev = _context2.next) {
|
|
4070
3588
|
case 0:
|
|
@@ -4125,9 +3643,9 @@ var getFieldsAndOptions = function () {
|
|
|
4125
3643
|
}();
|
|
4126
3644
|
|
|
4127
3645
|
var ProcessData = (function () {
|
|
4128
|
-
var _ref3 = _asyncToGenerator( /*#__PURE__*/
|
|
3646
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(req, res) {
|
|
4129
3647
|
var action, data, type, occupation;
|
|
4130
|
-
return
|
|
3648
|
+
return regenerator.wrap(function _callee3$(_context3) {
|
|
4131
3649
|
while (1) {
|
|
4132
3650
|
switch (_context3.prev = _context3.next) {
|
|
4133
3651
|
case 0:
|