@mjhls/mjh-framework 1.0.811-beta.0 → 1.0.811-gate-test
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/README.md +170 -170
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +31 -30
- package/dist/cjs/AD300x250x600.js +31 -30
- package/dist/cjs/AD728x90.js +34 -33
- package/dist/cjs/ADFloatingFooter.js +33 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +33 -32
- package/dist/cjs/{ADInfeed-7c4b33b3.js → ADInfeed-77f334bb.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +33 -32
- package/dist/cjs/ADSponsoredResources.js +33 -32
- package/dist/cjs/ADWebcast.js +33 -32
- package/dist/cjs/ADWelcome.js +34 -33
- package/dist/cjs/{ADlgInfeed-563e0168.js → ADlgInfeed-0664c67f.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -35
- package/dist/cjs/AdSlotsProvider.js +20 -911
- package/dist/cjs/AlgoliaSearch.js +1085 -1066
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +58 -57
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +61 -60
- package/dist/cjs/Auth.js +689 -782
- package/dist/cjs/AuthWrapper.js +725 -0
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +62 -59
- package/dist/cjs/ConferenceArticleCard.js +39 -38
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -103
- package/dist/cjs/DeckQueue.js +92 -88
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-93399f8c.js} +35 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +81 -80
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +182 -178
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +59 -58
- package/dist/cjs/HamMagazine.js +144 -139
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +71 -70
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +76 -71
- package/dist/cjs/IssueLanding.js +72 -71
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -39
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/MediaSeriesLanding.js +1118 -1135
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -147
- package/dist/cjs/NavNative.js +147 -139
- package/dist/cjs/NavNormal.js +52 -47
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +109 -108
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +42 -41
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +142 -138
- package/dist/cjs/QueueDeckExpanded.js +294 -294
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-4abb21b4.js → SeriesSlider-c022ce04.js} +42 -41
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-97dd19a5.js → SocialSearchComponent-ecb4f972.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +63 -58
- package/dist/cjs/TaxonomyDescription.js +55 -54
- package/dist/cjs/TemplateNormal.js +77 -76
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +77 -73
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +50 -49
- package/dist/cjs/VideoSeriesListing.js +78 -77
- package/dist/cjs/View.js +265 -262
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +67 -66
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-0a918631.js → extends-9d158713.js} +7 -8
- package/dist/cjs/faundadb.js +329 -0
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +20 -20
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-021d644c.js → getTargeting-c8081c76.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-7340b76d.js → index-667c091e.js} +1059 -1261
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +167 -162
- package/dist/cjs/{inherits-9953db94.js → inherits-3ff1b657.js} +22 -25
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- package/dist/cjs/md5-e1ca5797.js +323 -0
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/{util-f2c1b65b.js → util-6f784d85.js} +1 -1
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -27
- package/dist/esm/AD300x250x600.js +27 -27
- package/dist/esm/AD728x90.js +30 -30
- package/dist/esm/ADFloatingFooter.js +29 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -29
- package/dist/esm/{ADInfeed-31055afd.js → ADInfeed-6ed88032.js} +11 -11
- package/dist/esm/ADSkyscraper.js +29 -29
- package/dist/esm/ADSponsoredResources.js +29 -29
- package/dist/esm/ADWebcast.js +29 -29
- package/dist/esm/ADWelcome.js +30 -30
- package/dist/esm/{ADlgInfeed-dcb27a6c.js → ADlgInfeed-e02d1d98.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +17 -909
- package/dist/esm/AlgoliaSearch.js +735 -717
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +54 -54
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +56 -56
- package/dist/esm/Auth.js +665 -762
- package/dist/esm/AuthWrapper.js +719 -0
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-5ae7409f.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-52cf21c5.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +30 -30
- package/dist/esm/Column3.js +56 -56
- package/dist/esm/ConferenceArticleCard.js +34 -34
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +97 -97
- package/dist/esm/DeckQueue.js +82 -82
- package/dist/esm/{Dfp-b7236041.js → Dfp-43f121ff.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +74 -74
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +170 -170
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -46
- package/dist/esm/HamMagazine.js +115 -115
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +67 -67
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +60 -60
- package/dist/esm/IssueDeck.js +64 -64
- package/dist/esm/IssueLanding.js +68 -68
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +77 -77
- package/dist/esm/MediaSeriesLanding.js +843 -863
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +126 -126
- package/dist/esm/NavNative.js +116 -116
- package/dist/esm/NavNormal.js +38 -38
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +104 -104
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +38 -38
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +52 -52
- package/dist/esm/PublicationLanding.js +125 -125
- package/dist/esm/QueueDeckExpanded.js +274 -274
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +13 -13
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-36be7223.js → SeriesSlider-8414085b.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db5ba548.js → SocialSearchComponent-cd38ae60.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +53 -53
- package/dist/esm/TaxonomyDescription.js +49 -49
- package/dist/esm/TemplateNormal.js +72 -72
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +26 -26
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +66 -66
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +41 -41
- package/dist/esm/VideoSeriesListing.js +73 -73
- package/dist/esm/View.js +245 -246
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +50 -50
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-fc1c2e29.js → asyncToGenerator-7f8f9219.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-6f2fcc99.js → extends-f076879e.js} +8 -8
- package/dist/esm/faundadb.js +321 -0
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-82e86707.js → getTargeting-2302c1b4.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-73a91c0b.js → index-d2fb744b.js} +992 -1201
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +136 -134
- package/dist/esm/{inherits-cf8dde54.js → inherits-f71787cf.js} +20 -20
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-b5c5aac1.js +961 -0
- package/dist/esm/md5-4e42248e.js +321 -0
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +111 -109
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-4330ccdc.js +0 -15
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
+
import { m as md5 } from './md5-4e42248e.js';
|
|
3
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
4
|
+
import './es6.string.iterator-bc33758b.js';
|
|
5
|
+
import './_to-object-b50e61c3.js';
|
|
6
|
+
import './web.dom.iterable-4109ff68.js';
|
|
7
|
+
import './_library-528f1934.js';
|
|
8
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
9
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
10
|
+
|
|
11
|
+
var encrypt = function () {
|
|
12
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(password) {
|
|
13
|
+
var hash;
|
|
14
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
15
|
+
while (1) {
|
|
16
|
+
switch (_context.prev = _context.next) {
|
|
17
|
+
case 0:
|
|
18
|
+
hash = md5(password);
|
|
19
|
+
return _context.abrupt('return', hash);
|
|
20
|
+
|
|
21
|
+
case 2:
|
|
22
|
+
case 'end':
|
|
23
|
+
return _context.stop();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}, _callee, this);
|
|
27
|
+
}));
|
|
28
|
+
|
|
29
|
+
return function encrypt(_x) {
|
|
30
|
+
return _ref.apply(this, arguments);
|
|
31
|
+
};
|
|
32
|
+
}();
|
|
33
|
+
|
|
34
|
+
var comparePassword = function () {
|
|
35
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(plainTextPassword, hashedPassword) {
|
|
36
|
+
var hash;
|
|
37
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
38
|
+
while (1) {
|
|
39
|
+
switch (_context2.prev = _context2.next) {
|
|
40
|
+
case 0:
|
|
41
|
+
hash = md5(plainTextPassword);
|
|
42
|
+
return _context2.abrupt('return', hash === hashedPassword);
|
|
43
|
+
|
|
44
|
+
case 2:
|
|
45
|
+
case 'end':
|
|
46
|
+
return _context2.stop();
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}, _callee2, this);
|
|
50
|
+
}));
|
|
51
|
+
|
|
52
|
+
return function comparePassword(_x2, _x3) {
|
|
53
|
+
return _ref2.apply(this, arguments);
|
|
54
|
+
};
|
|
55
|
+
}();
|
|
56
|
+
|
|
57
|
+
var faunadb = require('faunadb'),
|
|
58
|
+
q = faunadb.query;
|
|
59
|
+
|
|
60
|
+
var registerUser = function () {
|
|
61
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(body) {
|
|
62
|
+
var secret = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'fnAEG3Bb7AACAC0BiSQFYGBLFUtHjn3QOTKE1iBX';
|
|
63
|
+
var data, client, hashedPassword, result;
|
|
64
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
65
|
+
while (1) {
|
|
66
|
+
switch (_context.prev = _context.next) {
|
|
67
|
+
case 0:
|
|
68
|
+
_context.prev = 0;
|
|
69
|
+
data = body;
|
|
70
|
+
|
|
71
|
+
if (secret) {
|
|
72
|
+
_context.next = 4;
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
throw new Error('Missing secret key');
|
|
77
|
+
|
|
78
|
+
case 4:
|
|
79
|
+
client = new faunadb.Client({ secret: secret });
|
|
80
|
+
_context.next = 7;
|
|
81
|
+
return encrypt(data.Password);
|
|
82
|
+
|
|
83
|
+
case 7:
|
|
84
|
+
hashedPassword = _context.sent;
|
|
85
|
+
|
|
86
|
+
data.Password = hashedPassword;
|
|
87
|
+
|
|
88
|
+
_context.next = 11;
|
|
89
|
+
return client.query(q.Create(q.Collection('Users'), {
|
|
90
|
+
data: data
|
|
91
|
+
}));
|
|
92
|
+
|
|
93
|
+
case 11:
|
|
94
|
+
result = _context.sent;
|
|
95
|
+
|
|
96
|
+
if (!(!result || !result.data || result.data.Email != data.Email)) {
|
|
97
|
+
_context.next = 14;
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
throw new Error('Failed to register!');
|
|
102
|
+
|
|
103
|
+
case 14:
|
|
104
|
+
return _context.abrupt('return', result);
|
|
105
|
+
|
|
106
|
+
case 17:
|
|
107
|
+
_context.prev = 17;
|
|
108
|
+
_context.t0 = _context['catch'](0);
|
|
109
|
+
return _context.abrupt('return', { error: _context.t0.message });
|
|
110
|
+
|
|
111
|
+
case 20:
|
|
112
|
+
case 'end':
|
|
113
|
+
return _context.stop();
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}, _callee, this, [[0, 17]]);
|
|
117
|
+
}));
|
|
118
|
+
|
|
119
|
+
return function registerUser(_x) {
|
|
120
|
+
return _ref.apply(this, arguments);
|
|
121
|
+
};
|
|
122
|
+
}();
|
|
123
|
+
|
|
124
|
+
var findUserByEmail = function () {
|
|
125
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(email) {
|
|
126
|
+
var secret = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'fnAEG3Bb7AACAC0BiSQFYGBLFUtHjn3QOTKE1iBX';
|
|
127
|
+
var client, result;
|
|
128
|
+
return regenerator.wrap(function _callee2$(_context2) {
|
|
129
|
+
while (1) {
|
|
130
|
+
switch (_context2.prev = _context2.next) {
|
|
131
|
+
case 0:
|
|
132
|
+
_context2.prev = 0;
|
|
133
|
+
client = new faunadb.Client({ secret: secret });
|
|
134
|
+
_context2.next = 4;
|
|
135
|
+
return client.query(q.Get(q.Match(q.Index('Email'), email)));
|
|
136
|
+
|
|
137
|
+
case 4:
|
|
138
|
+
result = _context2.sent;
|
|
139
|
+
return _context2.abrupt('return', result ? true : false);
|
|
140
|
+
|
|
141
|
+
case 8:
|
|
142
|
+
_context2.prev = 8;
|
|
143
|
+
_context2.t0 = _context2['catch'](0);
|
|
144
|
+
return _context2.abrupt('return', false);
|
|
145
|
+
|
|
146
|
+
case 11:
|
|
147
|
+
case 'end':
|
|
148
|
+
return _context2.stop();
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
}, _callee2, this, [[0, 8]]);
|
|
152
|
+
}));
|
|
153
|
+
|
|
154
|
+
return function findUserByEmail(_x3) {
|
|
155
|
+
return _ref2.apply(this, arguments);
|
|
156
|
+
};
|
|
157
|
+
}();
|
|
158
|
+
|
|
159
|
+
var authenticateUser = function () {
|
|
160
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee3(email, password) {
|
|
161
|
+
var secret = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'fnAEG3Bb7AACAC0BiSQFYGBLFUtHjn3QOTKE1iBX';
|
|
162
|
+
var client, result, hashedPassword, isAuth;
|
|
163
|
+
return regenerator.wrap(function _callee3$(_context3) {
|
|
164
|
+
while (1) {
|
|
165
|
+
switch (_context3.prev = _context3.next) {
|
|
166
|
+
case 0:
|
|
167
|
+
_context3.prev = 0;
|
|
168
|
+
client = new faunadb.Client({ secret: secret });
|
|
169
|
+
_context3.next = 4;
|
|
170
|
+
return client.query(q.Get(q.Match(q.Index('Email'), email)));
|
|
171
|
+
|
|
172
|
+
case 4:
|
|
173
|
+
result = _context3.sent;
|
|
174
|
+
hashedPassword = result.data.Password;
|
|
175
|
+
_context3.next = 8;
|
|
176
|
+
return comparePassword(password, hashedPassword);
|
|
177
|
+
|
|
178
|
+
case 8:
|
|
179
|
+
isAuth = _context3.sent;
|
|
180
|
+
return _context3.abrupt('return', isAuth ? { email: email } : false);
|
|
181
|
+
|
|
182
|
+
case 12:
|
|
183
|
+
_context3.prev = 12;
|
|
184
|
+
_context3.t0 = _context3['catch'](0);
|
|
185
|
+
|
|
186
|
+
console.log(_context3.t0);
|
|
187
|
+
return _context3.abrupt('return', false);
|
|
188
|
+
|
|
189
|
+
case 16:
|
|
190
|
+
case 'end':
|
|
191
|
+
return _context3.stop();
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}, _callee3, this, [[0, 12]]);
|
|
195
|
+
}));
|
|
196
|
+
|
|
197
|
+
return function authenticateUser(_x5, _x6) {
|
|
198
|
+
return _ref3.apply(this, arguments);
|
|
199
|
+
};
|
|
200
|
+
}();
|
|
201
|
+
|
|
202
|
+
var updateUserSecret = function () {
|
|
203
|
+
var _ref4 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee4(email, hash) {
|
|
204
|
+
var secret = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'fnAEG3Bb7AACAC0BiSQFYGBLFUtHjn3QOTKE1iBX';
|
|
205
|
+
var expiration, client, result;
|
|
206
|
+
return regenerator.wrap(function _callee4$(_context4) {
|
|
207
|
+
while (1) {
|
|
208
|
+
switch (_context4.prev = _context4.next) {
|
|
209
|
+
case 0:
|
|
210
|
+
expiration = new Date().getTime() + 43200000; //1day
|
|
211
|
+
|
|
212
|
+
_context4.prev = 1;
|
|
213
|
+
|
|
214
|
+
console.log(email, hash, expiration);
|
|
215
|
+
client = new faunadb.Client({ secret: secret });
|
|
216
|
+
_context4.next = 6;
|
|
217
|
+
return client.query(q.Update(q.Select(['ref'], q.Get(q.Match(q.Index('Email'), email))), { data: { secretKey: hash, secretExpiration: expiration } }));
|
|
218
|
+
|
|
219
|
+
case 6:
|
|
220
|
+
result = _context4.sent;
|
|
221
|
+
return _context4.abrupt('return', result ? true : false);
|
|
222
|
+
|
|
223
|
+
case 10:
|
|
224
|
+
_context4.prev = 10;
|
|
225
|
+
_context4.t0 = _context4['catch'](1);
|
|
226
|
+
|
|
227
|
+
console.log(_context4.t0);
|
|
228
|
+
return _context4.abrupt('return', false);
|
|
229
|
+
|
|
230
|
+
case 14:
|
|
231
|
+
case 'end':
|
|
232
|
+
return _context4.stop();
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}, _callee4, this, [[1, 10]]);
|
|
236
|
+
}));
|
|
237
|
+
|
|
238
|
+
return function updateUserSecret(_x8, _x9) {
|
|
239
|
+
return _ref4.apply(this, arguments);
|
|
240
|
+
};
|
|
241
|
+
}();
|
|
242
|
+
|
|
243
|
+
var updateUserPassword = function () {
|
|
244
|
+
var _ref5 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee5(hash, newPassword) {
|
|
245
|
+
var secret = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'fnAEG3Bb7AACAC0BiSQFYGBLFUtHjn3QOTKE1iBX';
|
|
246
|
+
var now, client, result, expiration, password, updatePassword;
|
|
247
|
+
return regenerator.wrap(function _callee5$(_context5) {
|
|
248
|
+
while (1) {
|
|
249
|
+
switch (_context5.prev = _context5.next) {
|
|
250
|
+
case 0:
|
|
251
|
+
_context5.prev = 0;
|
|
252
|
+
now = Date.now();
|
|
253
|
+
client = new faunadb.Client({ secret: secret });
|
|
254
|
+
_context5.next = 5;
|
|
255
|
+
return client.query(q.Get(q.Match(q.Index('SecretKey'), hash)));
|
|
256
|
+
|
|
257
|
+
case 5:
|
|
258
|
+
result = _context5.sent;
|
|
259
|
+
expiration = result.data.secretExpiration;
|
|
260
|
+
|
|
261
|
+
if (!(now > expiration)) {
|
|
262
|
+
_context5.next = 9;
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
throw new Error('eKey has expired.');
|
|
267
|
+
|
|
268
|
+
case 9:
|
|
269
|
+
if (!(now < expiration)) {
|
|
270
|
+
_context5.next = 18;
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
_context5.next = 12;
|
|
275
|
+
return encrypt(newPassword);
|
|
276
|
+
|
|
277
|
+
case 12:
|
|
278
|
+
password = _context5.sent;
|
|
279
|
+
_context5.next = 15;
|
|
280
|
+
return client.query(q.Update(q.Select(['ref'], q.Get(q.Match(q.Index('SecretKey'), hash))), { data: { Password: password, secretKey: '' } }));
|
|
281
|
+
|
|
282
|
+
case 15:
|
|
283
|
+
updatePassword = _context5.sent;
|
|
284
|
+
|
|
285
|
+
if (updatePassword) {
|
|
286
|
+
_context5.next = 18;
|
|
287
|
+
break;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
throw new Error('Failed to update password.');
|
|
291
|
+
|
|
292
|
+
case 18:
|
|
293
|
+
if (!(!result || result.error)) {
|
|
294
|
+
_context5.next = 20;
|
|
295
|
+
break;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
throw new Error('User not found');
|
|
299
|
+
|
|
300
|
+
case 20:
|
|
301
|
+
return _context5.abrupt('return', true);
|
|
302
|
+
|
|
303
|
+
case 23:
|
|
304
|
+
_context5.prev = 23;
|
|
305
|
+
_context5.t0 = _context5['catch'](0);
|
|
306
|
+
return _context5.abrupt('return', { err: _context5.t0 });
|
|
307
|
+
|
|
308
|
+
case 26:
|
|
309
|
+
case 'end':
|
|
310
|
+
return _context5.stop();
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}, _callee5, this, [[0, 23]]);
|
|
314
|
+
}));
|
|
315
|
+
|
|
316
|
+
return function updateUserPassword(_x11, _x12) {
|
|
317
|
+
return _ref5.apply(this, arguments);
|
|
318
|
+
};
|
|
319
|
+
}();
|
|
320
|
+
|
|
321
|
+
export { authenticateUser, findUserByEmail, registerUser, updateUserPassword, updateUserSecret };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as isSymbol_1, _ as _root, i as isObject_1, b as _Symbol } from './isSymbol-
|
|
2
|
-
import { i as isFunction_1, e as eq_1 } from './eq-
|
|
1
|
+
import { a as isSymbol_1, _ as _root, i as isObject_1, b as _Symbol } from './isSymbol-a7e9aafe.js';
|
|
2
|
+
import { i as isFunction_1, e as eq_1 } from './eq-bdcbf886.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Checks if `value` is classified as an `Array` object.
|
|
@@ -80,10 +80,10 @@ function isMasked(func) {
|
|
|
80
80
|
var _isMasked = isMasked;
|
|
81
81
|
|
|
82
82
|
/** Used for built-in method references. */
|
|
83
|
-
var funcProto = Function.prototype;
|
|
83
|
+
var funcProto$1 = Function.prototype;
|
|
84
84
|
|
|
85
85
|
/** Used to resolve the decompiled source of functions. */
|
|
86
|
-
var funcToString = funcProto.toString;
|
|
86
|
+
var funcToString$1 = funcProto$1.toString;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
89
|
* Converts `func` to its source code.
|
|
@@ -95,7 +95,7 @@ var funcToString = funcProto.toString;
|
|
|
95
95
|
function toSource(func) {
|
|
96
96
|
if (func != null) {
|
|
97
97
|
try {
|
|
98
|
-
return funcToString.call(func);
|
|
98
|
+
return funcToString$1.call(func);
|
|
99
99
|
} catch (e) {}
|
|
100
100
|
try {
|
|
101
101
|
return (func + '');
|
|
@@ -116,18 +116,18 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
|
116
116
|
var reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
117
117
|
|
|
118
118
|
/** Used for built-in method references. */
|
|
119
|
-
var funcProto
|
|
120
|
-
objectProto = Object.prototype;
|
|
119
|
+
var funcProto = Function.prototype,
|
|
120
|
+
objectProto$2 = Object.prototype;
|
|
121
121
|
|
|
122
122
|
/** Used to resolve the decompiled source of functions. */
|
|
123
|
-
var funcToString
|
|
123
|
+
var funcToString = funcProto.toString;
|
|
124
124
|
|
|
125
125
|
/** Used to check objects for own properties. */
|
|
126
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
126
|
+
var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
127
127
|
|
|
128
128
|
/** Used to detect if a method is native. */
|
|
129
129
|
var reIsNative = RegExp('^' +
|
|
130
|
-
funcToString
|
|
130
|
+
funcToString.call(hasOwnProperty$2).replace(reRegExpChar, '\\$&')
|
|
131
131
|
.replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
|
|
132
132
|
);
|
|
133
133
|
|
|
@@ -216,7 +216,7 @@ function hashDelete(key) {
|
|
|
216
216
|
var _hashDelete = hashDelete;
|
|
217
217
|
|
|
218
218
|
/** Used to stand-in for `undefined` hash values. */
|
|
219
|
-
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
219
|
+
var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
220
220
|
|
|
221
221
|
/** Used for built-in method references. */
|
|
222
222
|
var objectProto$1 = Object.prototype;
|
|
@@ -237,7 +237,7 @@ function hashGet(key) {
|
|
|
237
237
|
var data = this.__data__;
|
|
238
238
|
if (_nativeCreate) {
|
|
239
239
|
var result = data[key];
|
|
240
|
-
return result === HASH_UNDEFINED ? undefined : result;
|
|
240
|
+
return result === HASH_UNDEFINED$1 ? undefined : result;
|
|
241
241
|
}
|
|
242
242
|
return hasOwnProperty$1.call(data, key) ? data[key] : undefined;
|
|
243
243
|
}
|
|
@@ -245,10 +245,10 @@ function hashGet(key) {
|
|
|
245
245
|
var _hashGet = hashGet;
|
|
246
246
|
|
|
247
247
|
/** Used for built-in method references. */
|
|
248
|
-
var objectProto
|
|
248
|
+
var objectProto = Object.prototype;
|
|
249
249
|
|
|
250
250
|
/** Used to check objects for own properties. */
|
|
251
|
-
var hasOwnProperty
|
|
251
|
+
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
252
252
|
|
|
253
253
|
/**
|
|
254
254
|
* Checks if a hash value for `key` exists.
|
|
@@ -261,13 +261,13 @@ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
|
|
|
261
261
|
*/
|
|
262
262
|
function hashHas(key) {
|
|
263
263
|
var data = this.__data__;
|
|
264
|
-
return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty
|
|
264
|
+
return _nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
var _hashHas = hashHas;
|
|
268
268
|
|
|
269
269
|
/** Used to stand-in for `undefined` hash values. */
|
|
270
|
-
var HASH_UNDEFINED
|
|
270
|
+
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
273
|
* Sets the hash `key` to `value`.
|
|
@@ -282,7 +282,7 @@ var HASH_UNDEFINED$1 = '__lodash_hash_undefined__';
|
|
|
282
282
|
function hashSet(key, value) {
|
|
283
283
|
var data = this.__data__;
|
|
284
284
|
this.size += this.has(key) ? 0 : 1;
|
|
285
|
-
data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED
|
|
285
|
+
data[key] = (_nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
|
|
286
286
|
return this;
|
|
287
287
|
}
|
|
288
288
|
|
|
@@ -765,7 +765,7 @@ function arrayMap(array, iteratee) {
|
|
|
765
765
|
var _arrayMap = arrayMap;
|
|
766
766
|
|
|
767
767
|
/** Used as references for various `Number` constants. */
|
|
768
|
-
var INFINITY = 1 / 0;
|
|
768
|
+
var INFINITY$1 = 1 / 0;
|
|
769
769
|
|
|
770
770
|
/** Used to convert symbols to primitives and strings. */
|
|
771
771
|
var symbolProto = _Symbol ? _Symbol.prototype : undefined,
|
|
@@ -792,7 +792,7 @@ function baseToString(value) {
|
|
|
792
792
|
return symbolToString ? symbolToString.call(value) : '';
|
|
793
793
|
}
|
|
794
794
|
var result = (value + '');
|
|
795
|
-
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
795
|
+
return (result == '0' && (1 / value) == -INFINITY$1) ? '-0' : result;
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
var _baseToString = baseToString;
|
|
@@ -842,7 +842,7 @@ function castPath(value, object) {
|
|
|
842
842
|
var _castPath = castPath;
|
|
843
843
|
|
|
844
844
|
/** Used as references for various `Number` constants. */
|
|
845
|
-
var INFINITY
|
|
845
|
+
var INFINITY = 1 / 0;
|
|
846
846
|
|
|
847
847
|
/**
|
|
848
848
|
* Converts `value` to a string key if it's not a string or symbol.
|
|
@@ -856,7 +856,7 @@ function toKey(value) {
|
|
|
856
856
|
return value;
|
|
857
857
|
}
|
|
858
858
|
var result = (value + '');
|
|
859
|
-
return (result == '0' && (1 / value) == -INFINITY
|
|
859
|
+
return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;
|
|
860
860
|
}
|
|
861
861
|
|
|
862
862
|
var _toKey = toKey;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
1
2
|
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-a4107da3.js';
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-5d49a330.js';
|
|
6
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
7
|
-
import './web.dom.iterable-4439f05a.js';
|
|
8
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
9
3
|
import { c as cookie } from './index-db3bb315.js';
|
|
10
4
|
import getQuery from './getQuery.js';
|
|
5
|
+
import './es6.string.iterator-bc33758b.js';
|
|
6
|
+
import './_to-object-b50e61c3.js';
|
|
7
|
+
import './web.dom.iterable-4109ff68.js';
|
|
8
|
+
import './_library-528f1934.js';
|
|
9
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
10
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
11
11
|
|
|
12
12
|
var defaultParseOptions = {
|
|
13
13
|
decodeValues: true,
|
|
@@ -284,14 +284,14 @@ function areCookiesEqual(a, b) {
|
|
|
284
284
|
}
|
|
285
285
|
exports.areCookiesEqual = areCookiesEqual;
|
|
286
286
|
/* Functions */
|
|
287
|
-
|
|
287
|
+
//# sourceMappingURL=utils.js.map
|
|
288
288
|
});
|
|
289
289
|
|
|
290
290
|
unwrapExports(utils);
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
291
|
+
utils.areCookiesEqual;
|
|
292
|
+
utils.hasSameProperties;
|
|
293
|
+
utils.createCookie;
|
|
294
|
+
utils.isBrowser;
|
|
295
295
|
|
|
296
296
|
var dist = createCommonjsModule(function (module, exports) {
|
|
297
297
|
var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () {
|
|
@@ -414,11 +414,11 @@ exports.default = {
|
|
|
414
414
|
get: parseCookies,
|
|
415
415
|
destroy: destroyCookie,
|
|
416
416
|
};
|
|
417
|
-
|
|
417
|
+
//# sourceMappingURL=index.js.map
|
|
418
418
|
});
|
|
419
419
|
|
|
420
420
|
unwrapExports(dist);
|
|
421
|
-
|
|
421
|
+
dist.destroyCookie;
|
|
422
422
|
var dist_2 = dist.setCookie;
|
|
423
423
|
var dist_3 = dist.parseCookies;
|
|
424
424
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
1
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
3
|
+
import './es6.string.iterator-bc33758b.js';
|
|
4
|
+
import './_to-object-b50e61c3.js';
|
|
5
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
6
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import './
|
|
7
|
-
import './web.dom.iterable-4439f05a.js';
|
|
8
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
7
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
8
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
9
9
|
|
|
10
10
|
var _this = undefined;
|
|
11
11
|
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-a4107da3.js';
|
|
3
|
-
import './es6.string.iterator-c990c18c.js';
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-5d49a330.js';
|
|
6
|
-
import './toConsumableArray-43aa614d.js';
|
|
7
|
-
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
-
import './_object-pie-33c40e79.js';
|
|
9
|
-
import './extends-6f2fcc99.js';
|
|
10
|
-
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-cf8dde54.js';
|
|
12
|
-
import './define-property-8af5f002.js';
|
|
13
|
-
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import './typeof-6435ba1c.js';
|
|
15
|
-
import './_is-array-58e95429.js';
|
|
16
1
|
import 'react';
|
|
2
|
+
export { g as default } from './index-d2fb744b.js';
|
|
3
|
+
import './BlockContent-52cf21c5.js';
|
|
4
|
+
import './entities-932b50cf.js';
|
|
5
|
+
import './slicedToArray-be2f7a22.js';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './web.dom.iterable-4109ff68.js';
|
|
8
|
+
import './es6.string.iterator-bc33758b.js';
|
|
9
|
+
import './_to-object-b50e61c3.js';
|
|
10
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
11
|
+
import 'react-bootstrap';
|
|
12
|
+
import './index-0dbff1d1.js';
|
|
13
|
+
import './index-2446af28.js';
|
|
17
14
|
import './events-6c3a7a63.js';
|
|
18
|
-
import './index-41a678ea.js';
|
|
19
15
|
import 'prop-types';
|
|
20
|
-
import 'react-bootstrap/Row';
|
|
21
|
-
import 'react-bootstrap/Col';
|
|
22
|
-
import './moment-e2f9b20c.js';
|
|
23
16
|
import 'next/router';
|
|
24
|
-
import './isSymbol-1981418f.js';
|
|
25
|
-
import './debounce-9207d8ee.js';
|
|
26
|
-
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import 'react-dom';
|
|
28
|
-
import './index-73819142.js';
|
|
29
|
-
import './index-5f7e79e7.js';
|
|
30
|
-
import './main-e4a934b2.js';
|
|
31
|
-
import './entities-7cc3bf45.js';
|
|
32
|
-
import './slicedToArray-641f241f.js';
|
|
33
|
-
import './stringify-4330ccdc.js';
|
|
34
|
-
import './asyncToGenerator-fc1c2e29.js';
|
|
35
|
-
import './Segment.js';
|
|
36
|
-
import './Beam.js';
|
|
37
|
-
import './AdSlot.js';
|
|
38
|
-
import './BlockContent-e9b4ddcf.js';
|
|
39
17
|
import './index-c7e2ac95.js';
|
|
40
|
-
import './
|
|
18
|
+
import './util-3ab476bf.js';
|
|
19
|
+
import './Beam.js';
|
|
20
|
+
import './stringify-59c8f690.js';
|
|
21
|
+
import './asyncToGenerator-7f8f9219.js';
|
|
22
|
+
import './_library-528f1934.js';
|
|
23
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
24
|
+
import './Segment.js';
|
|
25
|
+
import './main-b5c5aac1.js';
|
|
26
|
+
import './extends-f076879e.js';
|
|
27
|
+
import './_object-pie-133f504a.js';
|
|
28
|
+
import './index-35bdcc81.js';
|
|
29
|
+
import 'react-dom';
|
|
30
|
+
import './typeof-a286cf0c.js';
|
|
31
|
+
import './_is-array-3e99e06e.js';
|
|
32
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
41
33
|
import './GroupDeck.js';
|
|
42
|
-
import '
|
|
43
|
-
import './
|
|
44
|
-
import './
|
|
45
|
-
export { g as default } from './index-73a91c0b.js';
|
|
46
|
-
import './util-7700fc59.js';
|
|
47
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
34
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
35
|
+
import './moment-bc12cb97.js';
|
|
36
|
+
import './SocialShare.js';
|
|
48
37
|
import 'next/head';
|
|
49
38
|
import 'react-share';
|
|
50
|
-
import './
|
|
51
|
-
import './
|
|
39
|
+
import './_object-to-array-0f197f89.js';
|
|
40
|
+
import './toConsumableArray-6d9a4616.js';
|
|
52
41
|
import 'react-bootstrap/Pagination';
|
|
53
42
|
import 'react-bootstrap/Button';
|
|
43
|
+
import './AdSlot.js';
|
|
44
|
+
import './debounce-533d9748.js';
|
|
45
|
+
import './isSymbol-a7e9aafe.js';
|
|
46
|
+
import './toNumber-5aeba6e7.js';
|
|
47
|
+
import 'react-bootstrap/Row';
|
|
48
|
+
import 'react-bootstrap/Col';
|
|
49
|
+
import './inherits-f71787cf.js';
|
|
50
|
+
import './_object-sap-f353c2a9.js';
|
|
51
|
+
import './define-property-fe54dc9f.js';
|
|
52
|
+
import './index.esm-3fdda599.js';
|
|
53
|
+
import './iconBase-602d52fe.js';
|
|
54
54
|
import 'react-bootstrap/Figure';
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { _ as
|
|
1
|
+
import { _ as _extends } from './extends-f076879e.js';
|
|
2
|
+
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
3
3
|
|
|
4
4
|
var getContentPlacementUrl = function getContentPlacementUrl(cp) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
var cp_url = '';
|
|
6
|
+
if (cp.ancestor && typeof cp.ancestor == 'string') {
|
|
7
|
+
cp_url += (cp_url === '' ? '' : '/') + cp.ancestor;
|
|
8
|
+
}
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
if (!cp.ancestor && cp.parent && typeof cp.parent == 'string') {
|
|
11
|
+
cp_url += (cp_url === '' ? '' : '/') + cp.parent;
|
|
12
|
+
}
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
cp_url += (cp_url === '' ? '' : '/') + cp.path;
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
return cp_url;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
var getTargeting = function getTargeting(props) {
|
package/dist/esm/getTargeting.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import './extends-f076879e.js';
|
|
2
|
+
import './toConsumableArray-6d9a4616.js';
|
|
3
|
+
export { g as default } from './getTargeting-2302c1b4.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './_to-object-
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import './core.get-iterator-method-
|
|
7
|
-
import './_object-pie-33c40e79.js';
|
|
8
|
-
import './extends-6f2fcc99.js';
|
|
9
|
-
export { g as default } from './getTargeting-82e86707.js';
|
|
5
|
+
import './_to-object-b50e61c3.js';
|
|
6
|
+
import './_object-pie-133f504a.js';
|
|
7
|
+
import './es6.string.iterator-bc33758b.js';
|
|
8
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
9
|
+
import './core.get-iterator-method-133dfacd.js';
|