@mjhls/mjh-framework 1.0.795-beta.1 → 1.0.795
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 +1 -1
- package/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +30 -29
- package/dist/cjs/AD300x250x600.js +30 -29
- package/dist/cjs/AD728x90.js +33 -32
- package/dist/cjs/ADFloatingFooter.js +32 -31
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +32 -31
- package/dist/cjs/{ADInfeed-bb09e44c.js → ADInfeed-7cf51090.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +32 -31
- package/dist/cjs/ADSponsoredResources.js +32 -31
- package/dist/cjs/ADWebcast.js +32 -31
- package/dist/cjs/ADWelcome.js +33 -32
- package/dist/cjs/{ADlgInfeed-fa91dbda.js → ADlgInfeed-bf24708d.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +35 -34
- package/dist/cjs/AdSlotsProvider.js +17 -16
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +57 -56
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +61 -60
- package/dist/cjs/Auth.js +686 -462
- 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 +61 -58
- package/dist/cjs/ConferenceArticleCard.js +24 -23
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +99 -95
- package/dist/cjs/DeckQueue.js +92 -88
- package/dist/cjs/{Dfp-946b8c39.js → Dfp-3f0ed4c8.js} +34 -33
- package/dist/cjs/EventsDeck.js +142 -135
- package/dist/cjs/ExternalResources.js +80 -79
- 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 +136 -131
- 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 +70 -69
- package/dist/cjs/HorizontalHero.js +27 -26
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +76 -71
- package/dist/cjs/IssueLanding.js +43 -42
- package/dist/cjs/LeftNav.js +40 -38
- package/dist/cjs/MasterDeck.js +72 -71
- package/dist/cjs/MediaSeriesLanding.js +966 -956
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +143 -138
- package/dist/cjs/NavNative.js +138 -130
- package/dist/cjs/NavNormal.js +53 -48
- 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 +10 -9
- 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 +112 -108
- package/dist/cjs/QueueDeckExpanded.js +294 -294
- package/dist/cjs/RecentNews.js +25 -24
- package/dist/cjs/RelatedContent.js +25 -24
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- 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-2db54929.js} +38 -37
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +37 -36
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-9cb50ae4.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +63 -58
- package/dist/cjs/TaxonomyDescription.js +54 -53
- package/dist/cjs/TemplateNormal.js +76 -75
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +28 -27
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoProgramLandingPage.js +76 -72
- package/dist/cjs/VideoSeriesCard.js +32 -31
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +49 -48
- package/dist/cjs/VideoSeriesListing.js +78 -77
- package/dist/cjs/View.js +264 -261
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +63 -62
- 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-29bdbc6d.js} +7 -7
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +140 -76
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-021d644c.js → getTargeting-a100d6e5.js} +3 -3
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-f05824b5.js → index-08b35e31.js} +1013 -1018
- package/dist/cjs/{index-8bf6c863.js → index-0e4427c8.js} +12 -11
- 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.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-90433435.js → index.esm-00a6aade.js} +7 -16
- package/dist/cjs/{index.esm-4d410430.js → index.esm-2bb721c8.js} +21 -21
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-9225638f.js} +5 -10
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-f27f80d9.js} +6 -13
- package/dist/cjs/index.js +163 -160
- package/dist/cjs/{inherits-452ff02c.js → inherits-c2065b95.js} +19 -19
- 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-f1c77adb.js +973 -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/{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 +1 -1
- package/dist/esm/AD300x250.js +23 -23
- package/dist/esm/AD300x250x600.js +23 -23
- package/dist/esm/AD728x90.js +26 -26
- package/dist/esm/ADFloatingFooter.js +22 -22
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +22 -22
- package/dist/esm/{ADInfeed-ab8f9325.js → ADInfeed-f7d00a9a.js} +6 -6
- package/dist/esm/ADSkyscraper.js +22 -22
- package/dist/esm/ADSponsoredResources.js +22 -22
- package/dist/esm/ADWebcast.js +22 -22
- package/dist/esm/ADWelcome.js +19 -19
- package/dist/esm/{ADlgInfeed-49f41f83.js → ADlgInfeed-db64f46d.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +12 -12
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +47 -47
- package/dist/esm/ArticleSeriesLandingPage.js +32 -32
- package/dist/esm/ArticleSeriesListing.js +33 -33
- package/dist/esm/Auth.js +595 -375
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-30aeba69.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-c99c9a8d.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +24 -24
- package/dist/esm/Column1.js +4 -4
- package/dist/esm/Column2.js +21 -21
- package/dist/esm/Column3.js +38 -38
- package/dist/esm/ConferenceArticleCard.js +7 -7
- package/dist/esm/DeckContent.js +48 -48
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-965b3873.js → Dfp-be030f2a.js} +14 -14
- package/dist/esm/EventsDeck.js +50 -50
- package/dist/esm/ExternalResources.js +47 -47
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +11 -11
- package/dist/esm/GridContent.js +80 -80
- package/dist/esm/GridHero.js +12 -12
- package/dist/esm/GroupDeck.js +13 -13
- package/dist/esm/HamMagazine.js +29 -29
- package/dist/esm/Hero.js +3 -3
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +44 -44
- package/dist/esm/HorizontalHero.js +5 -5
- package/dist/esm/IssueContentDeck.js +26 -26
- package/dist/esm/IssueDeck.js +36 -36
- package/dist/esm/IssueLanding.js +35 -35
- package/dist/esm/LeftNav.js +21 -21
- package/dist/esm/MasterDeck.js +36 -36
- package/dist/esm/MediaSeriesLanding.js +501 -494
- package/dist/esm/NavDvm.js +16 -16
- package/dist/esm/NavMagazine.js +34 -34
- package/dist/esm/NavNative.js +34 -34
- package/dist/esm/NavNormal.js +18 -18
- package/dist/esm/OncliveHero.js +4 -5
- package/dist/esm/OncliveLargeHero.js +12 -12
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +56 -56
- package/dist/esm/PdfDownload.js +2 -2
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +33 -33
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +23 -23
- package/dist/esm/PublicationLanding.js +49 -49
- package/dist/esm/QueueDeckExpanded.js +37 -37
- package/dist/esm/RecentNews.js +6 -6
- package/dist/esm/RelatedContent.js +6 -6
- package/dist/esm/RolesDeck.js +12 -12
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +19 -19
- package/dist/esm/{SeriesSlider-36be7223.js → SeriesSlider-c8477bf3.js} +10 -10
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-719f230f.js → SocialSearchComponent-09775683.js} +12 -12
- package/dist/esm/TaxonomyCard.js +24 -24
- package/dist/esm/TaxonomyDescription.js +44 -44
- package/dist/esm/TemplateNormal.js +50 -50
- package/dist/esm/ThumbnailCard.js +6 -6
- package/dist/esm/Ustream.js +11 -11
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +52 -52
- package/dist/esm/VideoSeriesCard.js +12 -12
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +37 -37
- package/dist/esm/VideoSeriesListing.js +34 -34
- package/dist/esm/View.js +89 -90
- package/dist/esm/YahooHero.js +14 -14
- package/dist/esm/YoutubeGroup.js +21 -21
- 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-57a70a56.js} +5 -4
- 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-60e0e1c6.js} +7 -7
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +135 -71
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-82e86707.js → getTargeting-05c216d6.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -8
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-a9e53f80.js → index-5cc7b406.js} +3 -3
- package/dist/esm/{index-5f7e79e7.js → index-755f2cc2.js} +6 -6
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/{index-41b5c632.js → index-c2daf449.js} +639 -651
- package/dist/esm/{index.es-29c1cef5.js → index.es-a6137319.js} +23 -5
- package/dist/esm/{index.esm-fd746768.js → index.esm-37268dca.js} +4 -5
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-d4932dea.js} +6 -13
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-e874e770.js} +5 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-f6156a57.js} +7 -16
- package/dist/esm/index.js +117 -117
- package/dist/esm/{inherits-cf8dde54.js → inherits-a41fe93f.js} +19 -19
- 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-d4165069.js +961 -0
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-9be47857.js} +16 -16
- 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/{util-7700fc59.js → util-3ab476bf.js} +1 -1
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +1 -1
- 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
|
@@ -1,68 +1,67 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
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 { _ as _extends$2 } from './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 { _ as _typeof } from './typeof-6435ba1c.js';
|
|
15
|
-
import './_is-array-58e95429.js';
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-f5ff6f5a.js';
|
|
2
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
3
|
+
import { _ as _extends$1 } from './extends-60e0e1c6.js';
|
|
4
|
+
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
16
5
|
import React__default, { useCallback, useRef, useState, useContext, useMemo, useEffect, useImperativeHandle, useReducer, forwardRef, cloneElement } from 'react';
|
|
17
|
-
import './
|
|
6
|
+
import { c as createCommonjsModule, u as unwrapExports } from './_commonjsHelpers-0c4b6f40.js';
|
|
18
7
|
import PropTypes from 'prop-types';
|
|
8
|
+
import ReactDOM from 'react-dom';
|
|
9
|
+
import Link from 'next/link';
|
|
10
|
+
import './iconBase-ccc56b97.js';
|
|
11
|
+
import MasterDeck from './MasterDeck.js';
|
|
12
|
+
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
13
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
14
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
15
|
+
import { m as moment } from './moment-bc12cb97.js';
|
|
16
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
17
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
18
|
+
import { g as getSerializers } from './index-c2daf449.js';
|
|
19
|
+
import './define-property-fe54dc9f.js';
|
|
20
|
+
import './_to-object-b50e61c3.js';
|
|
21
|
+
import './es6.string.iterator-bc33758b.js';
|
|
22
|
+
import './web.dom.iterable-4109ff68.js';
|
|
23
|
+
import './_library-528f1934.js';
|
|
24
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
25
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
26
|
+
import './_object-pie-133f504a.js';
|
|
27
|
+
import './toConsumableArray-6d9a4616.js';
|
|
28
|
+
import './inherits-a41fe93f.js';
|
|
29
|
+
import './_object-sap-f353c2a9.js';
|
|
30
|
+
import './index-5cc7b406.js';
|
|
19
31
|
import 'react-bootstrap/Container';
|
|
20
32
|
import 'react-bootstrap/Row';
|
|
21
33
|
import 'react-bootstrap/Col';
|
|
22
34
|
import 'react-bootstrap/Card';
|
|
23
|
-
import { m as moment } from './moment-e2f9b20c.js';
|
|
24
35
|
import 'next/router';
|
|
25
|
-
import './
|
|
26
|
-
import './debounce-
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
29
|
-
import
|
|
36
|
+
import './lodash-f97fd99a.js';
|
|
37
|
+
import './debounce-533d9748.js';
|
|
38
|
+
import './isSymbol-a7e9aafe.js';
|
|
39
|
+
import './toNumber-5aeba6e7.js';
|
|
40
|
+
import './index.es-a6137319.js';
|
|
30
41
|
import './visibility-sensor-72fd8f8b.js';
|
|
31
|
-
import
|
|
32
|
-
import { L as LazyLoad } from './index-5f7e79e7.js';
|
|
33
|
-
import './main-e4a934b2.js';
|
|
34
|
-
import './entities-7cc3bf45.js';
|
|
35
|
-
import { _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
|
-
import './stringify-4330ccdc.js';
|
|
37
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
38
|
-
import './Segment.js';
|
|
39
|
-
import './Beam.js';
|
|
42
|
+
import './ADlgInfeed-db64f46d.js';
|
|
40
43
|
import './AdSlot.js';
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
43
|
-
import './
|
|
44
|
-
import
|
|
44
|
+
import './Beam.js';
|
|
45
|
+
import './stringify-59c8f690.js';
|
|
46
|
+
import './Segment.js';
|
|
47
|
+
import './main-d4165069.js';
|
|
48
|
+
import './ADInfeed-f7d00a9a.js';
|
|
49
|
+
import './_is-array-3e99e06e.js';
|
|
50
|
+
import 'react-bootstrap';
|
|
45
51
|
import './index-c7e2ac95.js';
|
|
46
|
-
import './
|
|
52
|
+
import './util-3ab476bf.js';
|
|
53
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
47
54
|
import './GroupDeck.js';
|
|
48
|
-
import '
|
|
49
|
-
import './
|
|
50
|
-
import './index.esm-29e48d38.js';
|
|
51
|
-
import { g as getSerializers } from './index-41b5c632.js';
|
|
52
|
-
import './util-7700fc59.js';
|
|
53
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
55
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
56
|
+
import './SocialShare.js';
|
|
54
57
|
import 'next/head';
|
|
55
58
|
import 'react-share';
|
|
56
|
-
import './
|
|
57
|
-
import './_object-to-array-7e804fce.js';
|
|
59
|
+
import './_object-to-array-0f197f89.js';
|
|
58
60
|
import 'react-bootstrap/Pagination';
|
|
59
61
|
import 'react-bootstrap/Button';
|
|
62
|
+
import './entities-932b50cf.js';
|
|
63
|
+
import './index.esm-f6156a57.js';
|
|
60
64
|
import 'react-bootstrap/Figure';
|
|
61
|
-
import MasterDeck from './MasterDeck.js';
|
|
62
|
-
import { _ as _defineProperty } from './defineProperty-94fd8bfc.js';
|
|
63
|
-
import './index.esm-cf08bf18.js';
|
|
64
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
65
|
-
import Link from 'next/link';
|
|
66
65
|
|
|
67
66
|
function _extends() {
|
|
68
67
|
_extends = Object.assign || function (target) {
|
|
@@ -137,7 +136,7 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
137
136
|
return classes.join(' ');
|
|
138
137
|
}
|
|
139
138
|
|
|
140
|
-
if (
|
|
139
|
+
if (module.exports) {
|
|
141
140
|
classNames.default = classNames;
|
|
142
141
|
module.exports = classNames;
|
|
143
142
|
} else {
|
|
@@ -251,15 +250,24 @@ function useUncontrolled(props, config) {
|
|
|
251
250
|
}, props);
|
|
252
251
|
}
|
|
253
252
|
|
|
253
|
+
function _setPrototypeOf(o, p) {
|
|
254
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
255
|
+
o.__proto__ = p;
|
|
256
|
+
return o;
|
|
257
|
+
};
|
|
258
|
+
|
|
259
|
+
return _setPrototypeOf(o, p);
|
|
260
|
+
}
|
|
261
|
+
|
|
254
262
|
function _inheritsLoose(subClass, superClass) {
|
|
255
263
|
subClass.prototype = Object.create(superClass.prototype);
|
|
256
264
|
subClass.prototype.constructor = subClass;
|
|
257
|
-
subClass
|
|
265
|
+
_setPrototypeOf(subClass, superClass);
|
|
258
266
|
}
|
|
259
267
|
|
|
260
268
|
var ThemeContext = React__default.createContext({});
|
|
261
|
-
|
|
262
|
-
|
|
269
|
+
ThemeContext.Consumer;
|
|
270
|
+
ThemeContext.Provider;
|
|
263
271
|
|
|
264
272
|
function useBootstrapPrefix(prefix, defaultPrefix) {
|
|
265
273
|
var prefixes = useContext(ThemeContext);
|
|
@@ -276,11 +284,11 @@ var makeEventKey = function makeEventKey(eventKey, href) {
|
|
|
276
284
|
return href || null;
|
|
277
285
|
};
|
|
278
286
|
|
|
279
|
-
var context = React__default.createContext(null);
|
|
280
|
-
context.displayName = 'AccordionContext';
|
|
287
|
+
var context$2 = React__default.createContext(null);
|
|
288
|
+
context$2.displayName = 'AccordionContext';
|
|
281
289
|
|
|
282
290
|
function useAccordionToggle(eventKey, onClick) {
|
|
283
|
-
var contextEventKey = useContext(context);
|
|
291
|
+
var contextEventKey = useContext(context$2);
|
|
284
292
|
var onSelect = useContext(SelectableContext);
|
|
285
293
|
return function (e) {
|
|
286
294
|
/*
|
|
@@ -312,16 +320,16 @@ var AccordionToggle = React__default.forwardRef(function (_ref, ref) {
|
|
|
312
320
|
}, props), children);
|
|
313
321
|
});
|
|
314
322
|
|
|
315
|
-
function ownerDocument(node) {
|
|
323
|
+
function ownerDocument$1(node) {
|
|
316
324
|
return node && node.ownerDocument || document;
|
|
317
325
|
}
|
|
318
326
|
|
|
319
327
|
function ownerWindow(node) {
|
|
320
|
-
var doc = ownerDocument(node);
|
|
328
|
+
var doc = ownerDocument$1(node);
|
|
321
329
|
return doc && doc.defaultView || window;
|
|
322
330
|
}
|
|
323
331
|
|
|
324
|
-
function getComputedStyle$
|
|
332
|
+
function getComputedStyle$2(node, psuedoElement) {
|
|
325
333
|
return ownerWindow(node).getComputedStyle(node, psuedoElement);
|
|
326
334
|
}
|
|
327
335
|
|
|
@@ -350,7 +358,7 @@ function style(node, property) {
|
|
|
350
358
|
var transforms = '';
|
|
351
359
|
|
|
352
360
|
if (typeof property === 'string') {
|
|
353
|
-
return node.style.getPropertyValue(hyphenateStyleName(property)) || getComputedStyle$
|
|
361
|
+
return node.style.getPropertyValue(hyphenateStyleName(property)) || getComputedStyle$2(node).getPropertyValue(hyphenateStyleName(property));
|
|
354
362
|
}
|
|
355
363
|
|
|
356
364
|
Object.keys(property).forEach(function (key) {
|
|
@@ -490,7 +498,7 @@ var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType(
|
|
|
490
498
|
exit: PropTypes.number,
|
|
491
499
|
appear: PropTypes.number
|
|
492
500
|
}).isRequired]) : null;
|
|
493
|
-
|
|
501
|
+
process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({
|
|
494
502
|
enter: PropTypes.string,
|
|
495
503
|
exit: PropTypes.string,
|
|
496
504
|
active: PropTypes.string
|
|
@@ -872,23 +880,23 @@ var Transition = /*#__PURE__*/function (_React$Component) {
|
|
|
872
880
|
}
|
|
873
881
|
|
|
874
882
|
var _this$props = this.props,
|
|
875
|
-
children = _this$props.children
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
883
|
+
children = _this$props.children;
|
|
884
|
+
_this$props.in;
|
|
885
|
+
_this$props.mountOnEnter;
|
|
886
|
+
_this$props.unmountOnExit;
|
|
887
|
+
_this$props.appear;
|
|
888
|
+
_this$props.enter;
|
|
889
|
+
_this$props.exit;
|
|
890
|
+
_this$props.timeout;
|
|
891
|
+
_this$props.addEndListener;
|
|
892
|
+
_this$props.onEnter;
|
|
893
|
+
_this$props.onEntering;
|
|
894
|
+
_this$props.onEntered;
|
|
895
|
+
_this$props.onExit;
|
|
896
|
+
_this$props.onExiting;
|
|
897
|
+
_this$props.onExited;
|
|
898
|
+
_this$props.nodeRef;
|
|
899
|
+
var childProps = _objectWithoutPropertiesLoose(_this$props, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
892
900
|
|
|
893
901
|
return (
|
|
894
902
|
/*#__PURE__*/
|
|
@@ -1088,7 +1096,7 @@ Transition.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
1088
1096
|
onExited: PropTypes.func
|
|
1089
1097
|
} : {}; // Name the function so it is clearer in the documentation
|
|
1090
1098
|
|
|
1091
|
-
function noop() {}
|
|
1099
|
+
function noop$5() {}
|
|
1092
1100
|
|
|
1093
1101
|
Transition.defaultProps = {
|
|
1094
1102
|
in: false,
|
|
@@ -1097,12 +1105,12 @@ Transition.defaultProps = {
|
|
|
1097
1105
|
appear: false,
|
|
1098
1106
|
enter: true,
|
|
1099
1107
|
exit: true,
|
|
1100
|
-
onEnter: noop,
|
|
1101
|
-
onEntering: noop,
|
|
1102
|
-
onEntered: noop,
|
|
1103
|
-
onExit: noop,
|
|
1104
|
-
onExiting: noop,
|
|
1105
|
-
onExited: noop
|
|
1108
|
+
onEnter: noop$5,
|
|
1109
|
+
onEntering: noop$5,
|
|
1110
|
+
onEntered: noop$5,
|
|
1111
|
+
onExit: noop$5,
|
|
1112
|
+
onExiting: noop$5,
|
|
1113
|
+
onExited: noop$5
|
|
1106
1114
|
};
|
|
1107
1115
|
Transition.UNMOUNTED = UNMOUNTED;
|
|
1108
1116
|
Transition.EXITED = EXITED;
|
|
@@ -1168,7 +1176,7 @@ function getDefaultDimensionValue(dimension, elem) {
|
|
|
1168
1176
|
}
|
|
1169
1177
|
|
|
1170
1178
|
var collapseStyles = (_collapseStyles = {}, _collapseStyles[EXITED] = 'collapse', _collapseStyles[EXITING] = 'collapsing', _collapseStyles[ENTERING] = 'collapsing', _collapseStyles[ENTERED] = 'collapse show', _collapseStyles);
|
|
1171
|
-
var defaultProps = {
|
|
1179
|
+
var defaultProps$E = {
|
|
1172
1180
|
in: false,
|
|
1173
1181
|
timeout: 300,
|
|
1174
1182
|
mountOnEnter: false,
|
|
@@ -1242,14 +1250,14 @@ var Collapse = React__default.forwardRef(function (_ref, ref) {
|
|
|
1242
1250
|
}); // @ts-ignore
|
|
1243
1251
|
|
|
1244
1252
|
// @ts-ignore
|
|
1245
|
-
Collapse.defaultProps = defaultProps;
|
|
1253
|
+
Collapse.defaultProps = defaultProps$E;
|
|
1246
1254
|
|
|
1247
1255
|
var AccordionCollapse = React__default.forwardRef(function (_ref, ref) {
|
|
1248
1256
|
var children = _ref.children,
|
|
1249
1257
|
eventKey = _ref.eventKey,
|
|
1250
1258
|
props = _objectWithoutPropertiesLoose(_ref, ["children", "eventKey"]);
|
|
1251
1259
|
|
|
1252
|
-
var contextEventKey = useContext(context); // Empty SelectableContext is to prevent elements in the collapse
|
|
1260
|
+
var contextEventKey = useContext(context$2); // Empty SelectableContext is to prevent elements in the collapse
|
|
1253
1261
|
// from collapsing the accordion when clicked.
|
|
1254
1262
|
|
|
1255
1263
|
return /*#__PURE__*/React__default.createElement(SelectableContext.Provider, {
|
|
@@ -1275,7 +1283,7 @@ var Accordion = React__default.forwardRef(function (props, ref) {
|
|
|
1275
1283
|
controlledProps = _objectWithoutPropertiesLoose(_useUncontrolled, ["as", "activeKey", "bsPrefix", "children", "className", "onSelect"]);
|
|
1276
1284
|
|
|
1277
1285
|
var finalClassName = classnames(className, useBootstrapPrefix(bsPrefix, 'accordion'));
|
|
1278
|
-
return /*#__PURE__*/React__default.createElement(context.Provider, {
|
|
1286
|
+
return /*#__PURE__*/React__default.createElement(context$2.Provider, {
|
|
1279
1287
|
value: activeKey || null
|
|
1280
1288
|
}, /*#__PURE__*/React__default.createElement(SelectableContext.Provider, {
|
|
1281
1289
|
value: onSelect || null
|
|
@@ -1315,7 +1323,7 @@ function useEventCallback(fn) {
|
|
|
1315
1323
|
}
|
|
1316
1324
|
|
|
1317
1325
|
var _fadeStyles;
|
|
1318
|
-
var defaultProps$
|
|
1326
|
+
var defaultProps$D = {
|
|
1319
1327
|
in: false,
|
|
1320
1328
|
timeout: 300,
|
|
1321
1329
|
mountOnEnter: false,
|
|
@@ -1343,14 +1351,14 @@ var Fade = React__default.forwardRef(function (_ref, ref) {
|
|
|
1343
1351
|
}));
|
|
1344
1352
|
});
|
|
1345
1353
|
});
|
|
1346
|
-
Fade.defaultProps = defaultProps$
|
|
1354
|
+
Fade.defaultProps = defaultProps$D;
|
|
1347
1355
|
Fade.displayName = 'Fade';
|
|
1348
1356
|
|
|
1349
|
-
var propTypes = {
|
|
1357
|
+
var propTypes$a = {
|
|
1350
1358
|
label: PropTypes.string.isRequired,
|
|
1351
1359
|
onClick: PropTypes.func
|
|
1352
1360
|
};
|
|
1353
|
-
var defaultProps$
|
|
1361
|
+
var defaultProps$C = {
|
|
1354
1362
|
label: 'Close'
|
|
1355
1363
|
};
|
|
1356
1364
|
var CloseButton = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -1371,8 +1379,8 @@ var CloseButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
1371
1379
|
}, label));
|
|
1372
1380
|
});
|
|
1373
1381
|
CloseButton.displayName = 'CloseButton';
|
|
1374
|
-
CloseButton.propTypes = propTypes;
|
|
1375
|
-
CloseButton.defaultProps = defaultProps$
|
|
1382
|
+
CloseButton.propTypes = propTypes$a;
|
|
1383
|
+
CloseButton.defaultProps = defaultProps$C;
|
|
1376
1384
|
|
|
1377
1385
|
var divWithClassName = (function (className) {
|
|
1378
1386
|
return React__default.forwardRef(function (p, ref) {
|
|
@@ -1485,15 +1493,15 @@ var SafeAnchor = React__default.forwardRef(function (_ref, ref) {
|
|
|
1485
1493
|
});
|
|
1486
1494
|
SafeAnchor.displayName = 'SafeAnchor';
|
|
1487
1495
|
|
|
1488
|
-
var DivStyledAsH4 = divWithClassName('h4');
|
|
1489
|
-
DivStyledAsH4.displayName = 'DivStyledAsH4';
|
|
1496
|
+
var DivStyledAsH4$1 = divWithClassName('h4');
|
|
1497
|
+
DivStyledAsH4$1.displayName = 'DivStyledAsH4';
|
|
1490
1498
|
var AlertHeading = createWithBsPrefix('alert-heading', {
|
|
1491
|
-
Component: DivStyledAsH4
|
|
1499
|
+
Component: DivStyledAsH4$1
|
|
1492
1500
|
});
|
|
1493
1501
|
var AlertLink = createWithBsPrefix('alert-link', {
|
|
1494
1502
|
Component: SafeAnchor
|
|
1495
1503
|
});
|
|
1496
|
-
var defaultProps$
|
|
1504
|
+
var defaultProps$B = {
|
|
1497
1505
|
show: true,
|
|
1498
1506
|
transition: Fade,
|
|
1499
1507
|
closeLabel: 'Close alert'
|
|
@@ -1538,11 +1546,11 @@ var Alert = React__default.forwardRef(function (uncontrolledProps, ref) {
|
|
|
1538
1546
|
}), alert);
|
|
1539
1547
|
});
|
|
1540
1548
|
Alert.displayName = 'Alert';
|
|
1541
|
-
Alert.defaultProps = defaultProps$
|
|
1549
|
+
Alert.defaultProps = defaultProps$B;
|
|
1542
1550
|
Alert.Link = AlertLink;
|
|
1543
1551
|
Alert.Heading = AlertHeading;
|
|
1544
1552
|
|
|
1545
|
-
var defaultProps$
|
|
1553
|
+
var defaultProps$A = {
|
|
1546
1554
|
pill: false
|
|
1547
1555
|
};
|
|
1548
1556
|
var Badge = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -1562,9 +1570,9 @@ var Badge = React__default.forwardRef(function (_ref, ref) {
|
|
|
1562
1570
|
}));
|
|
1563
1571
|
});
|
|
1564
1572
|
Badge.displayName = 'Badge';
|
|
1565
|
-
Badge.defaultProps = defaultProps$
|
|
1573
|
+
Badge.defaultProps = defaultProps$A;
|
|
1566
1574
|
|
|
1567
|
-
var defaultProps$
|
|
1575
|
+
var defaultProps$z = {
|
|
1568
1576
|
active: false,
|
|
1569
1577
|
linkProps: {}
|
|
1570
1578
|
};
|
|
@@ -1598,9 +1606,9 @@ var BreadcrumbItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
1598
1606
|
}), children));
|
|
1599
1607
|
});
|
|
1600
1608
|
BreadcrumbItem.displayName = 'BreadcrumbItem';
|
|
1601
|
-
BreadcrumbItem.defaultProps = defaultProps$
|
|
1609
|
+
BreadcrumbItem.defaultProps = defaultProps$z;
|
|
1602
1610
|
|
|
1603
|
-
var defaultProps$
|
|
1611
|
+
var defaultProps$y = {
|
|
1604
1612
|
label: 'breadcrumb',
|
|
1605
1613
|
listProps: {}
|
|
1606
1614
|
};
|
|
@@ -1624,10 +1632,10 @@ var Breadcrumb = React__default.forwardRef(function (_ref, ref) {
|
|
|
1624
1632
|
}), children));
|
|
1625
1633
|
});
|
|
1626
1634
|
Breadcrumb.displayName = 'Breadcrumb';
|
|
1627
|
-
Breadcrumb.defaultProps = defaultProps$
|
|
1635
|
+
Breadcrumb.defaultProps = defaultProps$y;
|
|
1628
1636
|
Breadcrumb.Item = BreadcrumbItem;
|
|
1629
1637
|
|
|
1630
|
-
var defaultProps$
|
|
1638
|
+
var defaultProps$x = {
|
|
1631
1639
|
variant: 'primary',
|
|
1632
1640
|
active: false,
|
|
1633
1641
|
disabled: false
|
|
@@ -1670,9 +1678,9 @@ var Button = React__default.forwardRef(function (_ref, ref) {
|
|
|
1670
1678
|
}));
|
|
1671
1679
|
});
|
|
1672
1680
|
Button.displayName = 'Button';
|
|
1673
|
-
Button.defaultProps = defaultProps$
|
|
1681
|
+
Button.defaultProps = defaultProps$x;
|
|
1674
1682
|
|
|
1675
|
-
var defaultProps$
|
|
1683
|
+
var defaultProps$w = {
|
|
1676
1684
|
vertical: false,
|
|
1677
1685
|
toggle: false,
|
|
1678
1686
|
role: 'group'
|
|
@@ -1696,9 +1704,9 @@ var ButtonGroup = React__default.forwardRef(function (_ref, ref) {
|
|
|
1696
1704
|
}));
|
|
1697
1705
|
});
|
|
1698
1706
|
ButtonGroup.displayName = 'ButtonGroup';
|
|
1699
|
-
ButtonGroup.defaultProps = defaultProps$
|
|
1707
|
+
ButtonGroup.defaultProps = defaultProps$w;
|
|
1700
1708
|
|
|
1701
|
-
var defaultProps$
|
|
1709
|
+
var defaultProps$v = {
|
|
1702
1710
|
role: 'toolbar'
|
|
1703
1711
|
};
|
|
1704
1712
|
var ButtonToolbar = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -1713,12 +1721,12 @@ var ButtonToolbar = React__default.forwardRef(function (_ref, ref) {
|
|
|
1713
1721
|
}));
|
|
1714
1722
|
});
|
|
1715
1723
|
ButtonToolbar.displayName = 'ButtonToolbar';
|
|
1716
|
-
ButtonToolbar.defaultProps = defaultProps$
|
|
1724
|
+
ButtonToolbar.defaultProps = defaultProps$v;
|
|
1717
1725
|
|
|
1718
1726
|
var context$1 = React__default.createContext(null);
|
|
1719
1727
|
context$1.displayName = 'CardContext';
|
|
1720
1728
|
|
|
1721
|
-
var defaultProps$
|
|
1729
|
+
var defaultProps$u = {
|
|
1722
1730
|
variant: null
|
|
1723
1731
|
};
|
|
1724
1732
|
var CardImg = React__default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
@@ -1737,7 +1745,7 @@ function (_ref, ref) {
|
|
|
1737
1745
|
}, props));
|
|
1738
1746
|
});
|
|
1739
1747
|
CardImg.displayName = 'CardImg';
|
|
1740
|
-
CardImg.defaultProps = defaultProps$
|
|
1748
|
+
CardImg.defaultProps = defaultProps$u;
|
|
1741
1749
|
|
|
1742
1750
|
var DivStyledAsH5 = divWithClassName('h5');
|
|
1743
1751
|
var DivStyledAsH6 = divWithClassName('h6');
|
|
@@ -1757,7 +1765,7 @@ var CardText = createWithBsPrefix('card-text', {
|
|
|
1757
1765
|
var CardHeader = createWithBsPrefix('card-header');
|
|
1758
1766
|
var CardFooter = createWithBsPrefix('card-footer');
|
|
1759
1767
|
var CardImgOverlay = createWithBsPrefix('card-img-overlay');
|
|
1760
|
-
var defaultProps$
|
|
1768
|
+
var defaultProps$t = {
|
|
1761
1769
|
body: false
|
|
1762
1770
|
};
|
|
1763
1771
|
var Card = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -1790,7 +1798,7 @@ var Card = React__default.forwardRef(function (_ref, ref) {
|
|
|
1790
1798
|
React__default.createElement(CardBody, null, children) : children));
|
|
1791
1799
|
});
|
|
1792
1800
|
Card.displayName = 'Card';
|
|
1793
|
-
Card.defaultProps = defaultProps$
|
|
1801
|
+
Card.defaultProps = defaultProps$t;
|
|
1794
1802
|
Card.Img = CardImg;
|
|
1795
1803
|
Card.Title = CardTitle;
|
|
1796
1804
|
Card.Subtitle = CardSubtitle;
|
|
@@ -2025,7 +2033,7 @@ function forEach(children, func) {
|
|
|
2025
2033
|
}
|
|
2026
2034
|
|
|
2027
2035
|
var SWIPE_THRESHOLD = 40;
|
|
2028
|
-
var propTypes$
|
|
2036
|
+
var propTypes$9 = {
|
|
2029
2037
|
/**
|
|
2030
2038
|
* @default 'carousel'
|
|
2031
2039
|
*/
|
|
@@ -2127,7 +2135,7 @@ var propTypes$1 = {
|
|
|
2127
2135
|
*/
|
|
2128
2136
|
nextLabel: PropTypes.string
|
|
2129
2137
|
};
|
|
2130
|
-
var defaultProps$
|
|
2138
|
+
var defaultProps$s = {
|
|
2131
2139
|
slide: true,
|
|
2132
2140
|
fade: false,
|
|
2133
2141
|
controls: true,
|
|
@@ -2497,12 +2505,12 @@ function CarouselFunc(uncontrolledProps, ref) {
|
|
|
2497
2505
|
|
|
2498
2506
|
var Carousel = React__default.forwardRef(CarouselFunc);
|
|
2499
2507
|
Carousel.displayName = 'Carousel';
|
|
2500
|
-
Carousel.propTypes = propTypes$
|
|
2501
|
-
Carousel.defaultProps = defaultProps$
|
|
2508
|
+
Carousel.propTypes = propTypes$9;
|
|
2509
|
+
Carousel.defaultProps = defaultProps$s;
|
|
2502
2510
|
Carousel.Caption = CarouselCaption;
|
|
2503
2511
|
Carousel.Item = CarouselItem;
|
|
2504
2512
|
|
|
2505
|
-
var DEVICE_SIZES = ['xl', 'lg', 'md', 'sm', 'xs'];
|
|
2513
|
+
var DEVICE_SIZES$1 = ['xl', 'lg', 'md', 'sm', 'xs'];
|
|
2506
2514
|
var Col = React__default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2507
2515
|
function (_ref, ref) {
|
|
2508
2516
|
var bsPrefix = _ref.bsPrefix,
|
|
@@ -2514,7 +2522,7 @@ function (_ref, ref) {
|
|
|
2514
2522
|
var prefix = useBootstrapPrefix(bsPrefix, 'col');
|
|
2515
2523
|
var spans = [];
|
|
2516
2524
|
var classes = [];
|
|
2517
|
-
DEVICE_SIZES.forEach(function (brkPoint) {
|
|
2525
|
+
DEVICE_SIZES$1.forEach(function (brkPoint) {
|
|
2518
2526
|
var propValue = props[brkPoint];
|
|
2519
2527
|
delete props[brkPoint];
|
|
2520
2528
|
var span;
|
|
@@ -2651,39 +2659,6 @@ function useForceUpdate() {
|
|
|
2651
2659
|
|
|
2652
2660
|
var DropdownContext = /*#__PURE__*/React__default.createContext(null);
|
|
2653
2661
|
|
|
2654
|
-
function _extends$1() {
|
|
2655
|
-
_extends$1 = Object.assign || function (target) {
|
|
2656
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
2657
|
-
var source = arguments[i];
|
|
2658
|
-
|
|
2659
|
-
for (var key in source) {
|
|
2660
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
2661
|
-
target[key] = source[key];
|
|
2662
|
-
}
|
|
2663
|
-
}
|
|
2664
|
-
}
|
|
2665
|
-
|
|
2666
|
-
return target;
|
|
2667
|
-
};
|
|
2668
|
-
|
|
2669
|
-
return _extends$1.apply(this, arguments);
|
|
2670
|
-
}
|
|
2671
|
-
|
|
2672
|
-
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
2673
|
-
if (source == null) return {};
|
|
2674
|
-
var target = {};
|
|
2675
|
-
var sourceKeys = Object.keys(source);
|
|
2676
|
-
var key, i;
|
|
2677
|
-
|
|
2678
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
2679
|
-
key = sourceKeys[i];
|
|
2680
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
2681
|
-
target[key] = source[key];
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
return target;
|
|
2685
|
-
}
|
|
2686
|
-
|
|
2687
2662
|
function useSafeState(state) {
|
|
2688
2663
|
var isMounted = useMounted();
|
|
2689
2664
|
return [state[0], useCallback(function (nextState) {
|
|
@@ -2728,21 +2703,50 @@ function getBasePlacement(placement) {
|
|
|
2728
2703
|
return placement.split('-')[0];
|
|
2729
2704
|
}
|
|
2730
2705
|
|
|
2731
|
-
|
|
2706
|
+
function getBoundingClientRect(element) {
|
|
2707
|
+
var rect = element.getBoundingClientRect();
|
|
2708
|
+
return {
|
|
2709
|
+
width: rect.width,
|
|
2710
|
+
height: rect.height,
|
|
2711
|
+
top: rect.top,
|
|
2712
|
+
right: rect.right,
|
|
2713
|
+
bottom: rect.bottom,
|
|
2714
|
+
left: rect.left,
|
|
2715
|
+
x: rect.left,
|
|
2716
|
+
y: rect.top
|
|
2717
|
+
};
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2732
2720
|
// means it doesn't take into account transforms.
|
|
2721
|
+
|
|
2733
2722
|
function getLayoutRect(element) {
|
|
2723
|
+
var clientRect = getBoundingClientRect(element); // Use the clientRect sizes if it's not been transformed.
|
|
2724
|
+
// Fixes https://github.com/popperjs/popper-core/issues/1223
|
|
2725
|
+
|
|
2726
|
+
var width = element.offsetWidth;
|
|
2727
|
+
var height = element.offsetHeight;
|
|
2728
|
+
|
|
2729
|
+
if (Math.abs(clientRect.width - width) <= 1) {
|
|
2730
|
+
width = clientRect.width;
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
if (Math.abs(clientRect.height - height) <= 1) {
|
|
2734
|
+
height = clientRect.height;
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2734
2737
|
return {
|
|
2735
2738
|
x: element.offsetLeft,
|
|
2736
2739
|
y: element.offsetTop,
|
|
2737
|
-
width:
|
|
2738
|
-
height:
|
|
2740
|
+
width: width,
|
|
2741
|
+
height: height
|
|
2739
2742
|
};
|
|
2740
2743
|
}
|
|
2741
2744
|
|
|
2742
|
-
/*:: import type { Window } from '../types'; */
|
|
2743
|
-
|
|
2744
|
-
/*:: declare function getWindow(node: Node | Window): Window; */
|
|
2745
2745
|
function getWindow(node) {
|
|
2746
|
+
if (node == null) {
|
|
2747
|
+
return window;
|
|
2748
|
+
}
|
|
2749
|
+
|
|
2746
2750
|
if (node.toString() !== '[object Window]') {
|
|
2747
2751
|
var ownerDocument = node.ownerDocument;
|
|
2748
2752
|
return ownerDocument ? ownerDocument.defaultView || window : window;
|
|
@@ -2751,31 +2755,27 @@ function getWindow(node) {
|
|
|
2751
2755
|
return node;
|
|
2752
2756
|
}
|
|
2753
2757
|
|
|
2754
|
-
/*:: declare function isElement(node: mixed): boolean %checks(node instanceof
|
|
2755
|
-
Element); */
|
|
2756
|
-
|
|
2757
2758
|
function isElement(node) {
|
|
2758
2759
|
var OwnElement = getWindow(node).Element;
|
|
2759
2760
|
return node instanceof OwnElement || node instanceof Element;
|
|
2760
2761
|
}
|
|
2761
|
-
/*:: declare function isHTMLElement(node: mixed): boolean %checks(node instanceof
|
|
2762
|
-
HTMLElement); */
|
|
2763
|
-
|
|
2764
2762
|
|
|
2765
2763
|
function isHTMLElement(node) {
|
|
2766
2764
|
var OwnElement = getWindow(node).HTMLElement;
|
|
2767
2765
|
return node instanceof OwnElement || node instanceof HTMLElement;
|
|
2768
2766
|
}
|
|
2769
|
-
/*:: declare function isShadowRoot(node: mixed): boolean %checks(node instanceof
|
|
2770
|
-
ShadowRoot); */
|
|
2771
|
-
|
|
2772
2767
|
|
|
2773
2768
|
function isShadowRoot(node) {
|
|
2769
|
+
// IE 11 has no ShadowRoot
|
|
2770
|
+
if (typeof ShadowRoot === 'undefined') {
|
|
2771
|
+
return false;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
2774
|
var OwnElement = getWindow(node).ShadowRoot;
|
|
2775
2775
|
return node instanceof OwnElement || node instanceof ShadowRoot;
|
|
2776
2776
|
}
|
|
2777
2777
|
|
|
2778
|
-
function contains(parent, child) {
|
|
2778
|
+
function contains$1(parent, child) {
|
|
2779
2779
|
var rootNode = child.getRootNode && child.getRootNode(); // First, attempt with faster native method
|
|
2780
2780
|
|
|
2781
2781
|
if (parent.contains(child)) {
|
|
@@ -2802,7 +2802,7 @@ function getNodeName(element) {
|
|
|
2802
2802
|
return element ? (element.nodeName || '').toLowerCase() : null;
|
|
2803
2803
|
}
|
|
2804
2804
|
|
|
2805
|
-
function getComputedStyle$
|
|
2805
|
+
function getComputedStyle$1(element) {
|
|
2806
2806
|
return getWindow(element).getComputedStyle(element);
|
|
2807
2807
|
}
|
|
2808
2808
|
|
|
@@ -2825,9 +2825,8 @@ function getParentNode(element) {
|
|
|
2825
2825
|
// $FlowFixMe[incompatible-return]
|
|
2826
2826
|
// $FlowFixMe[prop-missing]
|
|
2827
2827
|
element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
2828
|
-
element.parentNode || // DOM Element detected
|
|
2829
|
-
|
|
2830
|
-
element.host || // ShadowRoot detected
|
|
2828
|
+
element.parentNode || ( // DOM Element detected
|
|
2829
|
+
isShadowRoot(element) ? element.host : null) || // ShadowRoot detected
|
|
2831
2830
|
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
2832
2831
|
getDocumentElement(element) // fallback
|
|
2833
2832
|
|
|
@@ -2836,33 +2835,36 @@ function getParentNode(element) {
|
|
|
2836
2835
|
|
|
2837
2836
|
function getTrueOffsetParent(element) {
|
|
2838
2837
|
if (!isHTMLElement(element) || // https://github.com/popperjs/popper-core/issues/837
|
|
2839
|
-
getComputedStyle$
|
|
2838
|
+
getComputedStyle$1(element).position === 'fixed') {
|
|
2840
2839
|
return null;
|
|
2841
2840
|
}
|
|
2842
2841
|
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
if (offsetParent) {
|
|
2846
|
-
var html = getDocumentElement(offsetParent);
|
|
2847
|
-
|
|
2848
|
-
if (getNodeName(offsetParent) === 'body' && getComputedStyle$2(offsetParent).position === 'static' && getComputedStyle$2(html).position !== 'static') {
|
|
2849
|
-
return html;
|
|
2850
|
-
}
|
|
2851
|
-
}
|
|
2852
|
-
|
|
2853
|
-
return offsetParent;
|
|
2842
|
+
return element.offsetParent;
|
|
2854
2843
|
} // `.offsetParent` reports `null` for fixed elements, while absolute elements
|
|
2855
2844
|
// return the containing block
|
|
2856
2845
|
|
|
2857
2846
|
|
|
2858
2847
|
function getContainingBlock(element) {
|
|
2848
|
+
var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;
|
|
2849
|
+
var isIE = navigator.userAgent.indexOf('Trident') !== -1;
|
|
2850
|
+
|
|
2851
|
+
if (isIE && isHTMLElement(element)) {
|
|
2852
|
+
// In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
|
|
2853
|
+
var elementCss = getComputedStyle$1(element);
|
|
2854
|
+
|
|
2855
|
+
if (elementCss.position === 'fixed') {
|
|
2856
|
+
return null;
|
|
2857
|
+
}
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2859
2860
|
var currentNode = getParentNode(element);
|
|
2860
2861
|
|
|
2861
2862
|
while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
|
|
2862
|
-
var css = getComputedStyle$
|
|
2863
|
+
var css = getComputedStyle$1(currentNode); // This is non-exhaustive but covers the most common CSS properties that
|
|
2863
2864
|
// create a containing block.
|
|
2865
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
2864
2866
|
|
|
2865
|
-
if (css.transform !== 'none' || css.perspective !== 'none' || css.willChange && css.willChange !== '
|
|
2867
|
+
if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
|
|
2866
2868
|
return currentNode;
|
|
2867
2869
|
} else {
|
|
2868
2870
|
currentNode = currentNode.parentNode;
|
|
@@ -2878,11 +2880,11 @@ function getOffsetParent(element) {
|
|
|
2878
2880
|
var window = getWindow(element);
|
|
2879
2881
|
var offsetParent = getTrueOffsetParent(element);
|
|
2880
2882
|
|
|
2881
|
-
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$
|
|
2883
|
+
while (offsetParent && isTableElement(offsetParent) && getComputedStyle$1(offsetParent).position === 'static') {
|
|
2882
2884
|
offsetParent = getTrueOffsetParent(offsetParent);
|
|
2883
2885
|
}
|
|
2884
2886
|
|
|
2885
|
-
if (offsetParent && getNodeName(offsetParent) === 'body' && getComputedStyle$
|
|
2887
|
+
if (offsetParent && (getNodeName(offsetParent) === 'html' || getNodeName(offsetParent) === 'body' && getComputedStyle$1(offsetParent).position === 'static')) {
|
|
2886
2888
|
return window;
|
|
2887
2889
|
}
|
|
2888
2890
|
|
|
@@ -2893,8 +2895,12 @@ function getMainAxisFromPlacement(placement) {
|
|
|
2893
2895
|
return ['top', 'bottom'].indexOf(placement) >= 0 ? 'x' : 'y';
|
|
2894
2896
|
}
|
|
2895
2897
|
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
+
var max = Math.max;
|
|
2899
|
+
var min = Math.min;
|
|
2900
|
+
var round = Math.round;
|
|
2901
|
+
|
|
2902
|
+
function within(min$1, value, max$1) {
|
|
2903
|
+
return max(min$1, min(value, max$1));
|
|
2898
2904
|
}
|
|
2899
2905
|
|
|
2900
2906
|
function getFreshSideObject() {
|
|
@@ -2907,7 +2913,7 @@ function getFreshSideObject() {
|
|
|
2907
2913
|
}
|
|
2908
2914
|
|
|
2909
2915
|
function mergePaddingObject(paddingObject) {
|
|
2910
|
-
return Object.assign(
|
|
2916
|
+
return Object.assign({}, getFreshSideObject(), paddingObject);
|
|
2911
2917
|
}
|
|
2912
2918
|
|
|
2913
2919
|
function expandToHashMap(value, keys) {
|
|
@@ -2917,11 +2923,19 @@ function expandToHashMap(value, keys) {
|
|
|
2917
2923
|
}, {});
|
|
2918
2924
|
}
|
|
2919
2925
|
|
|
2926
|
+
var toPaddingObject = function toPaddingObject(padding, state) {
|
|
2927
|
+
padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
|
|
2928
|
+
placement: state.placement
|
|
2929
|
+
})) : padding;
|
|
2930
|
+
return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));
|
|
2931
|
+
};
|
|
2932
|
+
|
|
2920
2933
|
function arrow(_ref) {
|
|
2921
2934
|
var _state$modifiersData$;
|
|
2922
2935
|
|
|
2923
2936
|
var state = _ref.state,
|
|
2924
|
-
name = _ref.name
|
|
2937
|
+
name = _ref.name,
|
|
2938
|
+
options = _ref.options;
|
|
2925
2939
|
var arrowElement = state.elements.arrow;
|
|
2926
2940
|
var popperOffsets = state.modifiersData.popperOffsets;
|
|
2927
2941
|
var basePlacement = getBasePlacement(state.placement);
|
|
@@ -2933,7 +2947,7 @@ function arrow(_ref) {
|
|
|
2933
2947
|
return;
|
|
2934
2948
|
}
|
|
2935
2949
|
|
|
2936
|
-
var paddingObject =
|
|
2950
|
+
var paddingObject = toPaddingObject(options.padding, state);
|
|
2937
2951
|
var arrowRect = getLayoutRect(arrowElement);
|
|
2938
2952
|
var minProp = axis === 'y' ? top : left;
|
|
2939
2953
|
var maxProp = axis === 'y' ? bottom : right;
|
|
@@ -2953,14 +2967,11 @@ function arrow(_ref) {
|
|
|
2953
2967
|
state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
|
|
2954
2968
|
}
|
|
2955
2969
|
|
|
2956
|
-
function effect(_ref2) {
|
|
2970
|
+
function effect$1(_ref2) {
|
|
2957
2971
|
var state = _ref2.state,
|
|
2958
|
-
options = _ref2.options
|
|
2959
|
-
name = _ref2.name;
|
|
2972
|
+
options = _ref2.options;
|
|
2960
2973
|
var _options$element = options.element,
|
|
2961
|
-
arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element
|
|
2962
|
-
_options$padding = options.padding,
|
|
2963
|
-
padding = _options$padding === void 0 ? 0 : _options$padding;
|
|
2974
|
+
arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
|
|
2964
2975
|
|
|
2965
2976
|
if (arrowElement == null) {
|
|
2966
2977
|
return;
|
|
@@ -2981,7 +2992,7 @@ function effect(_ref2) {
|
|
|
2981
2992
|
}
|
|
2982
2993
|
}
|
|
2983
2994
|
|
|
2984
|
-
if (!contains(state.elements.popper, arrowElement)) {
|
|
2995
|
+
if (!contains$1(state.elements.popper, arrowElement)) {
|
|
2985
2996
|
if (process.env.NODE_ENV !== "production") {
|
|
2986
2997
|
console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' '));
|
|
2987
2998
|
}
|
|
@@ -2990,9 +3001,6 @@ function effect(_ref2) {
|
|
|
2990
3001
|
}
|
|
2991
3002
|
|
|
2992
3003
|
state.elements.arrow = arrowElement;
|
|
2993
|
-
state.modifiersData[name + "#persistent"] = {
|
|
2994
|
-
padding: mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements))
|
|
2995
|
-
};
|
|
2996
3004
|
} // eslint-disable-next-line import/no-unused-modules
|
|
2997
3005
|
|
|
2998
3006
|
|
|
@@ -3001,7 +3009,7 @@ var arrow$1 = {
|
|
|
3001
3009
|
enabled: true,
|
|
3002
3010
|
phase: 'main',
|
|
3003
3011
|
fn: arrow,
|
|
3004
|
-
effect: effect,
|
|
3012
|
+
effect: effect$1,
|
|
3005
3013
|
requires: ['popperOffsets'],
|
|
3006
3014
|
requiresIfExists: ['preventOverflow']
|
|
3007
3015
|
};
|
|
@@ -3021,8 +3029,8 @@ function roundOffsetsByDPR(_ref) {
|
|
|
3021
3029
|
var win = window;
|
|
3022
3030
|
var dpr = win.devicePixelRatio || 1;
|
|
3023
3031
|
return {
|
|
3024
|
-
x:
|
|
3025
|
-
y:
|
|
3032
|
+
x: round(round(x * dpr) / dpr) || 0,
|
|
3033
|
+
y: round(round(y * dpr) / dpr) || 0
|
|
3026
3034
|
};
|
|
3027
3035
|
}
|
|
3028
3036
|
|
|
@@ -3038,7 +3046,7 @@ function mapToStyles(_ref2) {
|
|
|
3038
3046
|
adaptive = _ref2.adaptive,
|
|
3039
3047
|
roundOffsets = _ref2.roundOffsets;
|
|
3040
3048
|
|
|
3041
|
-
var _ref3 = roundOffsets ? roundOffsetsByDPR(offsets) : offsets,
|
|
3049
|
+
var _ref3 = roundOffsets === true ? roundOffsetsByDPR(offsets) : typeof roundOffsets === 'function' ? roundOffsets(offsets) : offsets,
|
|
3042
3050
|
_ref3$x = _ref3.x,
|
|
3043
3051
|
x = _ref3$x === void 0 ? 0 : _ref3$x,
|
|
3044
3052
|
_ref3$y = _ref3.y,
|
|
@@ -3052,23 +3060,32 @@ function mapToStyles(_ref2) {
|
|
|
3052
3060
|
|
|
3053
3061
|
if (adaptive) {
|
|
3054
3062
|
var offsetParent = getOffsetParent(popper);
|
|
3063
|
+
var heightProp = 'clientHeight';
|
|
3064
|
+
var widthProp = 'clientWidth';
|
|
3055
3065
|
|
|
3056
3066
|
if (offsetParent === getWindow(popper)) {
|
|
3057
3067
|
offsetParent = getDocumentElement(popper);
|
|
3068
|
+
|
|
3069
|
+
if (getComputedStyle$1(offsetParent).position !== 'static') {
|
|
3070
|
+
heightProp = 'scrollHeight';
|
|
3071
|
+
widthProp = 'scrollWidth';
|
|
3072
|
+
}
|
|
3058
3073
|
} // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
|
|
3059
3074
|
|
|
3060
|
-
/*:: offsetParent = (offsetParent: Element); */
|
|
3061
3075
|
|
|
3076
|
+
offsetParent = offsetParent;
|
|
3062
3077
|
|
|
3063
3078
|
if (placement === top) {
|
|
3064
|
-
sideY = bottom;
|
|
3065
|
-
|
|
3079
|
+
sideY = bottom; // $FlowFixMe[prop-missing]
|
|
3080
|
+
|
|
3081
|
+
y -= offsetParent[heightProp] - popperRect.height;
|
|
3066
3082
|
y *= gpuAcceleration ? 1 : -1;
|
|
3067
3083
|
}
|
|
3068
3084
|
|
|
3069
3085
|
if (placement === left) {
|
|
3070
|
-
sideX = right;
|
|
3071
|
-
|
|
3086
|
+
sideX = right; // $FlowFixMe[prop-missing]
|
|
3087
|
+
|
|
3088
|
+
x -= offsetParent[widthProp] - popperRect.width;
|
|
3072
3089
|
x *= gpuAcceleration ? 1 : -1;
|
|
3073
3090
|
}
|
|
3074
3091
|
}
|
|
@@ -3080,10 +3097,10 @@ function mapToStyles(_ref2) {
|
|
|
3080
3097
|
if (gpuAcceleration) {
|
|
3081
3098
|
var _Object$assign;
|
|
3082
3099
|
|
|
3083
|
-
return Object.assign(
|
|
3100
|
+
return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) < 2 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
|
|
3084
3101
|
}
|
|
3085
3102
|
|
|
3086
|
-
return Object.assign(
|
|
3103
|
+
return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
|
|
3087
3104
|
}
|
|
3088
3105
|
|
|
3089
3106
|
function computeStyles(_ref4) {
|
|
@@ -3097,7 +3114,7 @@ function computeStyles(_ref4) {
|
|
|
3097
3114
|
roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
|
|
3098
3115
|
|
|
3099
3116
|
if (process.env.NODE_ENV !== "production") {
|
|
3100
|
-
var transitionProperty = getComputedStyle$
|
|
3117
|
+
var transitionProperty = getComputedStyle$1(state.elements.popper).transitionProperty || '';
|
|
3101
3118
|
|
|
3102
3119
|
if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {
|
|
3103
3120
|
return transitionProperty.indexOf(property) >= 0;
|
|
@@ -3114,7 +3131,7 @@ function computeStyles(_ref4) {
|
|
|
3114
3131
|
};
|
|
3115
3132
|
|
|
3116
3133
|
if (state.modifiersData.popperOffsets != null) {
|
|
3117
|
-
state.styles.popper = Object.assign(
|
|
3134
|
+
state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {
|
|
3118
3135
|
offsets: state.modifiersData.popperOffsets,
|
|
3119
3136
|
position: state.options.strategy,
|
|
3120
3137
|
adaptive: adaptive,
|
|
@@ -3123,7 +3140,7 @@ function computeStyles(_ref4) {
|
|
|
3123
3140
|
}
|
|
3124
3141
|
|
|
3125
3142
|
if (state.modifiersData.arrow != null) {
|
|
3126
|
-
state.styles.arrow = Object.assign(
|
|
3143
|
+
state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {
|
|
3127
3144
|
offsets: state.modifiersData.arrow,
|
|
3128
3145
|
position: 'absolute',
|
|
3129
3146
|
adaptive: false,
|
|
@@ -3131,7 +3148,7 @@ function computeStyles(_ref4) {
|
|
|
3131
3148
|
})));
|
|
3132
3149
|
}
|
|
3133
3150
|
|
|
3134
|
-
state.attributes.popper = Object.assign(
|
|
3151
|
+
state.attributes.popper = Object.assign({}, state.attributes.popper, {
|
|
3135
3152
|
'data-popper-placement': state.placement
|
|
3136
3153
|
});
|
|
3137
3154
|
} // eslint-disable-next-line import/no-unused-modules
|
|
@@ -3149,7 +3166,7 @@ var passive = {
|
|
|
3149
3166
|
passive: true
|
|
3150
3167
|
};
|
|
3151
3168
|
|
|
3152
|
-
function effect
|
|
3169
|
+
function effect(_ref) {
|
|
3153
3170
|
var state = _ref.state,
|
|
3154
3171
|
instance = _ref.instance,
|
|
3155
3172
|
options = _ref.options;
|
|
@@ -3189,11 +3206,11 @@ var eventListeners = {
|
|
|
3189
3206
|
enabled: true,
|
|
3190
3207
|
phase: 'write',
|
|
3191
3208
|
fn: function fn() {},
|
|
3192
|
-
effect: effect
|
|
3209
|
+
effect: effect,
|
|
3193
3210
|
data: {}
|
|
3194
3211
|
};
|
|
3195
3212
|
|
|
3196
|
-
var hash = {
|
|
3213
|
+
var hash$1 = {
|
|
3197
3214
|
left: 'right',
|
|
3198
3215
|
right: 'left',
|
|
3199
3216
|
bottom: 'top',
|
|
@@ -3201,34 +3218,20 @@ var hash = {
|
|
|
3201
3218
|
};
|
|
3202
3219
|
function getOppositePlacement(placement) {
|
|
3203
3220
|
return placement.replace(/left|right|bottom|top/g, function (matched) {
|
|
3204
|
-
return hash[matched];
|
|
3221
|
+
return hash$1[matched];
|
|
3205
3222
|
});
|
|
3206
3223
|
}
|
|
3207
3224
|
|
|
3208
|
-
var hash
|
|
3225
|
+
var hash = {
|
|
3209
3226
|
start: 'end',
|
|
3210
3227
|
end: 'start'
|
|
3211
3228
|
};
|
|
3212
3229
|
function getOppositeVariationPlacement(placement) {
|
|
3213
3230
|
return placement.replace(/start|end/g, function (matched) {
|
|
3214
|
-
return hash
|
|
3231
|
+
return hash[matched];
|
|
3215
3232
|
});
|
|
3216
3233
|
}
|
|
3217
3234
|
|
|
3218
|
-
function getBoundingClientRect(element) {
|
|
3219
|
-
var rect = element.getBoundingClientRect();
|
|
3220
|
-
return {
|
|
3221
|
-
width: rect.width,
|
|
3222
|
-
height: rect.height,
|
|
3223
|
-
top: rect.top,
|
|
3224
|
-
right: rect.right,
|
|
3225
|
-
bottom: rect.bottom,
|
|
3226
|
-
left: rect.left,
|
|
3227
|
-
x: rect.left,
|
|
3228
|
-
y: rect.top
|
|
3229
|
-
};
|
|
3230
|
-
}
|
|
3231
|
-
|
|
3232
3235
|
function getWindowScroll(node) {
|
|
3233
3236
|
var win = getWindow(node);
|
|
3234
3237
|
var scrollLeft = win.pageXOffset;
|
|
@@ -3291,16 +3294,18 @@ function getViewportRect(element) {
|
|
|
3291
3294
|
// of the `<html>` and `<body>` rect bounds if horizontally scrollable
|
|
3292
3295
|
|
|
3293
3296
|
function getDocumentRect(element) {
|
|
3297
|
+
var _element$ownerDocumen;
|
|
3298
|
+
|
|
3294
3299
|
var html = getDocumentElement(element);
|
|
3295
3300
|
var winScroll = getWindowScroll(element);
|
|
3296
|
-
var body = element.ownerDocument.body;
|
|
3297
|
-
var width =
|
|
3298
|
-
var height =
|
|
3301
|
+
var body = (_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body;
|
|
3302
|
+
var width = max(html.scrollWidth, html.clientWidth, body ? body.scrollWidth : 0, body ? body.clientWidth : 0);
|
|
3303
|
+
var height = max(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
|
|
3299
3304
|
var x = -winScroll.scrollLeft + getWindowScrollBarX(element);
|
|
3300
3305
|
var y = -winScroll.scrollTop;
|
|
3301
3306
|
|
|
3302
|
-
if (getComputedStyle$
|
|
3303
|
-
x +=
|
|
3307
|
+
if (getComputedStyle$1(body || html).direction === 'rtl') {
|
|
3308
|
+
x += max(html.clientWidth, body ? body.clientWidth : 0) - width;
|
|
3304
3309
|
}
|
|
3305
3310
|
|
|
3306
3311
|
return {
|
|
@@ -3313,7 +3318,7 @@ function getDocumentRect(element) {
|
|
|
3313
3318
|
|
|
3314
3319
|
function isScrollParent(element) {
|
|
3315
3320
|
// Firefox wants us to check `-x` and `-y` variations as well
|
|
3316
|
-
var _getComputedStyle = getComputedStyle$
|
|
3321
|
+
var _getComputedStyle = getComputedStyle$1(element),
|
|
3317
3322
|
overflow = _getComputedStyle.overflow,
|
|
3318
3323
|
overflowX = _getComputedStyle.overflowX,
|
|
3319
3324
|
overflowY = _getComputedStyle.overflowY;
|
|
@@ -3342,12 +3347,14 @@ reference element's position.
|
|
|
3342
3347
|
*/
|
|
3343
3348
|
|
|
3344
3349
|
function listScrollParents(element, list) {
|
|
3350
|
+
var _element$ownerDocumen;
|
|
3351
|
+
|
|
3345
3352
|
if (list === void 0) {
|
|
3346
3353
|
list = [];
|
|
3347
3354
|
}
|
|
3348
3355
|
|
|
3349
3356
|
var scrollParent = getScrollParent(element);
|
|
3350
|
-
var isBody =
|
|
3357
|
+
var isBody = scrollParent === ((_element$ownerDocumen = element.ownerDocument) == null ? void 0 : _element$ownerDocumen.body);
|
|
3351
3358
|
var win = getWindow(scrollParent);
|
|
3352
3359
|
var target = isBody ? [win].concat(win.visualViewport || [], isScrollParent(scrollParent) ? scrollParent : []) : scrollParent;
|
|
3353
3360
|
var updatedList = list.concat(target);
|
|
@@ -3356,7 +3363,7 @@ function listScrollParents(element, list) {
|
|
|
3356
3363
|
}
|
|
3357
3364
|
|
|
3358
3365
|
function rectToClientRect(rect) {
|
|
3359
|
-
return Object.assign(
|
|
3366
|
+
return Object.assign({}, rect, {
|
|
3360
3367
|
left: rect.x,
|
|
3361
3368
|
top: rect.y,
|
|
3362
3369
|
right: rect.x + rect.width,
|
|
@@ -3386,7 +3393,7 @@ function getClientRectFromMixedType(element, clippingParent) {
|
|
|
3386
3393
|
|
|
3387
3394
|
function getClippingParents(element) {
|
|
3388
3395
|
var clippingParents = listScrollParents(getParentNode(element));
|
|
3389
|
-
var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$
|
|
3396
|
+
var canEscapeClipping = ['absolute', 'fixed'].indexOf(getComputedStyle$1(element).position) >= 0;
|
|
3390
3397
|
var clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
|
|
3391
3398
|
|
|
3392
3399
|
if (!isElement(clipperElement)) {
|
|
@@ -3395,7 +3402,7 @@ function getClippingParents(element) {
|
|
|
3395
3402
|
|
|
3396
3403
|
|
|
3397
3404
|
return clippingParents.filter(function (clippingParent) {
|
|
3398
|
-
return isElement(clippingParent) && contains(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3405
|
+
return isElement(clippingParent) && contains$1(clippingParent, clipperElement) && getNodeName(clippingParent) !== 'body';
|
|
3399
3406
|
});
|
|
3400
3407
|
} // Gets the maximum area that the element is visible in due to any number of
|
|
3401
3408
|
// clipping parents
|
|
@@ -3407,10 +3414,10 @@ function getClippingRect(element, boundary, rootBoundary) {
|
|
|
3407
3414
|
var firstClippingParent = clippingParents[0];
|
|
3408
3415
|
var clippingRect = clippingParents.reduce(function (accRect, clippingParent) {
|
|
3409
3416
|
var rect = getClientRectFromMixedType(element, clippingParent);
|
|
3410
|
-
accRect.top =
|
|
3411
|
-
accRect.right =
|
|
3412
|
-
accRect.bottom =
|
|
3413
|
-
accRect.left =
|
|
3417
|
+
accRect.top = max(rect.top, accRect.top);
|
|
3418
|
+
accRect.right = min(rect.right, accRect.right);
|
|
3419
|
+
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
3420
|
+
accRect.left = max(rect.left, accRect.left);
|
|
3414
3421
|
return accRect;
|
|
3415
3422
|
}, getClientRectFromMixedType(element, firstClippingParent));
|
|
3416
3423
|
clippingRect.width = clippingRect.right - clippingRect.left;
|
|
@@ -3520,7 +3527,7 @@ function detectOverflow(state, options) {
|
|
|
3520
3527
|
strategy: 'absolute',
|
|
3521
3528
|
placement: placement
|
|
3522
3529
|
});
|
|
3523
|
-
var popperClientRect = rectToClientRect(Object.assign(
|
|
3530
|
+
var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
|
|
3524
3531
|
var elementClientRect = elementContext === popper ? popperClientRect : referenceClientRect; // positive = overflowing the clipping rect
|
|
3525
3532
|
// 0 or negative = within the clipping rect
|
|
3526
3533
|
|
|
@@ -3544,9 +3551,6 @@ function detectOverflow(state, options) {
|
|
|
3544
3551
|
return overflowOffsets;
|
|
3545
3552
|
}
|
|
3546
3553
|
|
|
3547
|
-
/*:: type OverflowsMap = { [ComputedPlacement]: number }; */
|
|
3548
|
-
|
|
3549
|
-
/*;; type OverflowsMap = { [key in ComputedPlacement]: number }; */
|
|
3550
3554
|
function computeAutoPlacement(state, options) {
|
|
3551
3555
|
if (options === void 0) {
|
|
3552
3556
|
options = {};
|
|
@@ -3775,7 +3779,7 @@ function hide(_ref) {
|
|
|
3775
3779
|
isReferenceHidden: isReferenceHidden,
|
|
3776
3780
|
hasPopperEscaped: hasPopperEscaped
|
|
3777
3781
|
};
|
|
3778
|
-
state.attributes.popper = Object.assign(
|
|
3782
|
+
state.attributes.popper = Object.assign({}, state.attributes.popper, {
|
|
3779
3783
|
'data-popper-reference-hidden': isReferenceHidden,
|
|
3780
3784
|
'data-popper-escaped': hasPopperEscaped
|
|
3781
3785
|
});
|
|
@@ -3794,7 +3798,7 @@ function distanceAndSkiddingToXY(placement, rects, offset) {
|
|
|
3794
3798
|
var basePlacement = getBasePlacement(placement);
|
|
3795
3799
|
var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;
|
|
3796
3800
|
|
|
3797
|
-
var _ref = typeof offset === 'function' ? offset(Object.assign(
|
|
3801
|
+
var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
|
|
3798
3802
|
placement: placement
|
|
3799
3803
|
})) : offset,
|
|
3800
3804
|
skidding = _ref[0],
|
|
@@ -3900,7 +3904,7 @@ function preventOverflow(_ref) {
|
|
|
3900
3904
|
var popperOffsets = state.modifiersData.popperOffsets;
|
|
3901
3905
|
var referenceRect = state.rects.reference;
|
|
3902
3906
|
var popperRect = state.rects.popper;
|
|
3903
|
-
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign(
|
|
3907
|
+
var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
|
|
3904
3908
|
placement: state.placement
|
|
3905
3909
|
})) : tetherOffset;
|
|
3906
3910
|
var data = {
|
|
@@ -3912,13 +3916,13 @@ function preventOverflow(_ref) {
|
|
|
3912
3916
|
return;
|
|
3913
3917
|
}
|
|
3914
3918
|
|
|
3915
|
-
if (checkMainAxis) {
|
|
3919
|
+
if (checkMainAxis || checkAltAxis) {
|
|
3916
3920
|
var mainSide = mainAxis === 'y' ? top : left;
|
|
3917
3921
|
var altSide = mainAxis === 'y' ? bottom : right;
|
|
3918
3922
|
var len = mainAxis === 'y' ? 'height' : 'width';
|
|
3919
3923
|
var offset = popperOffsets[mainAxis];
|
|
3920
|
-
var min = popperOffsets[mainAxis] + overflow[mainSide];
|
|
3921
|
-
var max = popperOffsets[mainAxis] - overflow[altSide];
|
|
3924
|
+
var min$1 = popperOffsets[mainAxis] + overflow[mainSide];
|
|
3925
|
+
var max$1 = popperOffsets[mainAxis] - overflow[altSide];
|
|
3922
3926
|
var additive = tether ? -popperRect[len] / 2 : 0;
|
|
3923
3927
|
var minLen = variation === start ? referenceRect[len] : popperRect[len];
|
|
3924
3928
|
var maxLen = variation === start ? -popperRect[len] : -referenceRect[len]; // We need to include the arrow in the calculation so the arrow doesn't go
|
|
@@ -3945,26 +3949,29 @@ function preventOverflow(_ref) {
|
|
|
3945
3949
|
var offsetModifierValue = state.modifiersData.offset ? state.modifiersData.offset[state.placement][mainAxis] : 0;
|
|
3946
3950
|
var tetherMin = popperOffsets[mainAxis] + minOffset - offsetModifierValue - clientOffset;
|
|
3947
3951
|
var tetherMax = popperOffsets[mainAxis] + maxOffset - offsetModifierValue;
|
|
3948
|
-
var preventedOffset = within(tether ? Math.min(min, tetherMin) : min, offset, tether ? Math.max(max, tetherMax) : max);
|
|
3949
|
-
popperOffsets[mainAxis] = preventedOffset;
|
|
3950
|
-
data[mainAxis] = preventedOffset - offset;
|
|
3951
|
-
}
|
|
3952
3952
|
|
|
3953
|
-
|
|
3954
|
-
|
|
3953
|
+
if (checkMainAxis) {
|
|
3954
|
+
var preventedOffset = within(tether ? min(min$1, tetherMin) : min$1, offset, tether ? max(max$1, tetherMax) : max$1);
|
|
3955
|
+
popperOffsets[mainAxis] = preventedOffset;
|
|
3956
|
+
data[mainAxis] = preventedOffset - offset;
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3959
|
+
if (checkAltAxis) {
|
|
3960
|
+
var _mainSide = mainAxis === 'x' ? top : left;
|
|
3955
3961
|
|
|
3956
|
-
|
|
3962
|
+
var _altSide = mainAxis === 'x' ? bottom : right;
|
|
3957
3963
|
|
|
3958
|
-
|
|
3964
|
+
var _offset = popperOffsets[altAxis];
|
|
3959
3965
|
|
|
3960
|
-
|
|
3966
|
+
var _min = _offset + overflow[_mainSide];
|
|
3961
3967
|
|
|
3962
|
-
|
|
3968
|
+
var _max = _offset - overflow[_altSide];
|
|
3963
3969
|
|
|
3964
|
-
|
|
3970
|
+
var _preventedOffset = within(tether ? min(_min, tetherMin) : _min, _offset, tether ? max(_max, tetherMax) : _max);
|
|
3965
3971
|
|
|
3966
|
-
|
|
3967
|
-
|
|
3972
|
+
popperOffsets[altAxis] = _preventedOffset;
|
|
3973
|
+
data[altAxis] = _preventedOffset - _offset;
|
|
3974
|
+
}
|
|
3968
3975
|
}
|
|
3969
3976
|
|
|
3970
3977
|
state.modifiersData[name] = data;
|
|
@@ -4195,9 +4202,9 @@ function uniqueBy(arr, fn) {
|
|
|
4195
4202
|
function mergeByName(modifiers) {
|
|
4196
4203
|
var merged = modifiers.reduce(function (merged, current) {
|
|
4197
4204
|
var existing = merged[current.name];
|
|
4198
|
-
merged[current.name] = existing ? Object.assign(
|
|
4199
|
-
options: Object.assign(
|
|
4200
|
-
data: Object.assign(
|
|
4205
|
+
merged[current.name] = existing ? Object.assign({}, existing, current, {
|
|
4206
|
+
options: Object.assign({}, existing.options, current.options),
|
|
4207
|
+
data: Object.assign({}, existing.data, current.data)
|
|
4201
4208
|
}) : current;
|
|
4202
4209
|
return merged;
|
|
4203
4210
|
}, {}); // IE11 does not support Object.values
|
|
@@ -4243,7 +4250,7 @@ function popperGenerator(generatorOptions) {
|
|
|
4243
4250
|
var state = {
|
|
4244
4251
|
placement: 'bottom',
|
|
4245
4252
|
orderedModifiers: [],
|
|
4246
|
-
options: Object.assign(
|
|
4253
|
+
options: Object.assign({}, DEFAULT_OPTIONS, defaultOptions),
|
|
4247
4254
|
modifiersData: {},
|
|
4248
4255
|
elements: {
|
|
4249
4256
|
reference: reference,
|
|
@@ -4258,7 +4265,7 @@ function popperGenerator(generatorOptions) {
|
|
|
4258
4265
|
state: state,
|
|
4259
4266
|
setOptions: function setOptions(options) {
|
|
4260
4267
|
cleanupModifierEffects();
|
|
4261
|
-
state.options = Object.assign(
|
|
4268
|
+
state.options = Object.assign({}, defaultOptions, state.options, options);
|
|
4262
4269
|
state.scrollParents = {
|
|
4263
4270
|
reference: isElement(reference) ? listScrollParents(reference) : reference.contextElement ? listScrollParents(reference.contextElement) : [],
|
|
4264
4271
|
popper: listScrollParents(popper)
|
|
@@ -4290,7 +4297,7 @@ function popperGenerator(generatorOptions) {
|
|
|
4290
4297
|
}
|
|
4291
4298
|
}
|
|
4292
4299
|
|
|
4293
|
-
var _getComputedStyle = getComputedStyle$
|
|
4300
|
+
var _getComputedStyle = getComputedStyle$1(popper),
|
|
4294
4301
|
marginTop = _getComputedStyle.marginTop,
|
|
4295
4302
|
marginRight = _getComputedStyle.marginRight,
|
|
4296
4303
|
marginBottom = _getComputedStyle.marginBottom,
|
|
@@ -4537,7 +4544,7 @@ function usePopper(referenceElement, popperElement, _temp) {
|
|
|
4537
4544
|
strategy = _ref3$strategy === void 0 ? 'absolute' : _ref3$strategy,
|
|
4538
4545
|
_ref3$modifiers = _ref3.modifiers,
|
|
4539
4546
|
modifiers = _ref3$modifiers === void 0 ? EMPTY_MODIFIERS : _ref3$modifiers,
|
|
4540
|
-
config = _objectWithoutPropertiesLoose
|
|
4547
|
+
config = _objectWithoutPropertiesLoose(_ref3, ["enabled", "placement", "strategy", "modifiers"]);
|
|
4541
4548
|
|
|
4542
4549
|
var popperInstanceRef = useRef();
|
|
4543
4550
|
var update = useCallback(function () {
|
|
@@ -4603,7 +4610,7 @@ function usePopper(referenceElement, popperElement, _temp) {
|
|
|
4603
4610
|
return undefined;
|
|
4604
4611
|
}
|
|
4605
4612
|
|
|
4606
|
-
popperInstanceRef.current = createPopper(referenceElement, popperElement, _extends
|
|
4613
|
+
popperInstanceRef.current = createPopper(referenceElement, popperElement, _extends({}, config, {
|
|
4607
4614
|
placement: placement,
|
|
4608
4615
|
strategy: strategy,
|
|
4609
4616
|
modifiers: [].concat(modifiers, [ariaDescribedByModifier, updateModifier])
|
|
@@ -4613,7 +4620,7 @@ function usePopper(referenceElement, popperElement, _temp) {
|
|
|
4613
4620
|
popperInstanceRef.current.destroy();
|
|
4614
4621
|
popperInstanceRef.current = undefined;
|
|
4615
4622
|
setState(function (s) {
|
|
4616
|
-
return _extends
|
|
4623
|
+
return _extends({}, s, {
|
|
4617
4624
|
attributes: {},
|
|
4618
4625
|
styles: {
|
|
4619
4626
|
popper: initialPopperStyles(strategy)
|
|
@@ -4630,7 +4637,7 @@ function usePopper(referenceElement, popperElement, _temp) {
|
|
|
4630
4637
|
/* eslint-disable no-bitwise, no-cond-assign */
|
|
4631
4638
|
// HTML DOM and SVG DOM may have different support levels,
|
|
4632
4639
|
// so we need to check on context instead of a document root element.
|
|
4633
|
-
function contains
|
|
4640
|
+
function contains(context, node) {
|
|
4634
4641
|
if (context.contains) return context.contains(node);
|
|
4635
4642
|
if (context.compareDocumentPosition) return context === node || !!(context.compareDocumentPosition(node) & 16);
|
|
4636
4643
|
}
|
|
@@ -4704,13 +4711,13 @@ function safeFindDOMNode(componentOrElement) {
|
|
|
4704
4711
|
return componentOrElement != null ? componentOrElement : null;
|
|
4705
4712
|
}
|
|
4706
4713
|
|
|
4707
|
-
var ownerDocument
|
|
4708
|
-
return ownerDocument(safeFindDOMNode(componentOrElement));
|
|
4714
|
+
var ownerDocument = (function (componentOrElement) {
|
|
4715
|
+
return ownerDocument$1(safeFindDOMNode(componentOrElement));
|
|
4709
4716
|
});
|
|
4710
4717
|
|
|
4711
4718
|
var escapeKeyCode = 27;
|
|
4712
4719
|
|
|
4713
|
-
var noop$
|
|
4720
|
+
var noop$4 = function noop() {};
|
|
4714
4721
|
|
|
4715
4722
|
function isLeftClickEvent(event) {
|
|
4716
4723
|
return event.button === 0;
|
|
@@ -4743,11 +4750,11 @@ function useRootClose(ref, onRootClose, _temp) {
|
|
|
4743
4750
|
clickTrigger = _ref$clickTrigger === void 0 ? 'click' : _ref$clickTrigger;
|
|
4744
4751
|
|
|
4745
4752
|
var preventMouseRootCloseRef = useRef(false);
|
|
4746
|
-
var onClose = onRootClose || noop$
|
|
4753
|
+
var onClose = onRootClose || noop$4;
|
|
4747
4754
|
var handleMouseCapture = useCallback(function (e) {
|
|
4748
4755
|
var currentTarget = getRefTarget(ref);
|
|
4749
4756
|
warning_1(!!currentTarget, 'RootClose captured a close event but does not have a ref to compare it to. ' + 'useRootClose(), should be passed a ref that resolves to a DOM node');
|
|
4750
|
-
preventMouseRootCloseRef.current = !currentTarget || isModifiedEvent(e) || !isLeftClickEvent(e) || !!contains
|
|
4757
|
+
preventMouseRootCloseRef.current = !currentTarget || isModifiedEvent(e) || !isLeftClickEvent(e) || !!contains(currentTarget, e.target);
|
|
4751
4758
|
}, [ref]);
|
|
4752
4759
|
var handleMouse = useEventCallback(function (e) {
|
|
4753
4760
|
if (!preventMouseRootCloseRef.current) {
|
|
@@ -4764,7 +4771,7 @@ function useRootClose(ref, onRootClose, _temp) {
|
|
|
4764
4771
|
// https://github.com/facebook/react/issues/20074
|
|
4765
4772
|
|
|
4766
4773
|
var currentEvent = window.event;
|
|
4767
|
-
var doc = ownerDocument
|
|
4774
|
+
var doc = ownerDocument(getRefTarget(ref)); // Use capture for this listener so it fires before React's listener, to
|
|
4768
4775
|
// avoid false positives in the contains() check below if the target DOM
|
|
4769
4776
|
// element is removed in the React mouse callback.
|
|
4770
4777
|
|
|
@@ -4791,7 +4798,7 @@ function useRootClose(ref, onRootClose, _temp) {
|
|
|
4791
4798
|
|
|
4792
4799
|
if ('ontouchstart' in doc.documentElement) {
|
|
4793
4800
|
mobileSafariHackListeners = [].slice.call(doc.body.children).map(function (el) {
|
|
4794
|
-
return listen(el, 'mousemove', noop$
|
|
4801
|
+
return listen(el, 'mousemove', noop$4);
|
|
4795
4802
|
});
|
|
4796
4803
|
}
|
|
4797
4804
|
|
|
@@ -4843,37 +4850,37 @@ function mergeOptionsWithPopperConfig(_ref) {
|
|
|
4843
4850
|
_ref$popperConfig = _ref.popperConfig,
|
|
4844
4851
|
popperConfig = _ref$popperConfig === void 0 ? {} : _ref$popperConfig;
|
|
4845
4852
|
var modifiers = toModifierMap(popperConfig.modifiers);
|
|
4846
|
-
return _extends
|
|
4853
|
+
return _extends({}, popperConfig, {
|
|
4847
4854
|
placement: placement,
|
|
4848
4855
|
enabled: enabled,
|
|
4849
|
-
modifiers: toModifierArray(_extends
|
|
4856
|
+
modifiers: toModifierArray(_extends({}, modifiers, {
|
|
4850
4857
|
eventListeners: {
|
|
4851
4858
|
enabled: enableEvents
|
|
4852
4859
|
},
|
|
4853
|
-
preventOverflow: _extends
|
|
4854
|
-
options: containerPadding ? _extends
|
|
4860
|
+
preventOverflow: _extends({}, modifiers.preventOverflow, {
|
|
4861
|
+
options: containerPadding ? _extends({
|
|
4855
4862
|
padding: containerPadding
|
|
4856
4863
|
}, (_modifiers$preventOve = modifiers.preventOverflow) == null ? void 0 : _modifiers$preventOve.options) : (_modifiers$preventOve2 = modifiers.preventOverflow) == null ? void 0 : _modifiers$preventOve2.options
|
|
4857
4864
|
}),
|
|
4858
4865
|
offset: {
|
|
4859
|
-
options: _extends
|
|
4866
|
+
options: _extends({
|
|
4860
4867
|
offset: offset
|
|
4861
4868
|
}, (_modifiers$offset = modifiers.offset) == null ? void 0 : _modifiers$offset.options)
|
|
4862
4869
|
},
|
|
4863
|
-
arrow: _extends
|
|
4870
|
+
arrow: _extends({}, modifiers.arrow, {
|
|
4864
4871
|
enabled: !!arrowElement,
|
|
4865
|
-
options: _extends
|
|
4872
|
+
options: _extends({}, (_modifiers$arrow = modifiers.arrow) == null ? void 0 : _modifiers$arrow.options, {
|
|
4866
4873
|
element: arrowElement
|
|
4867
4874
|
})
|
|
4868
4875
|
}),
|
|
4869
|
-
flip: _extends
|
|
4876
|
+
flip: _extends({
|
|
4870
4877
|
enabled: !!flip
|
|
4871
4878
|
}, modifiers.flip)
|
|
4872
4879
|
}))
|
|
4873
4880
|
});
|
|
4874
4881
|
}
|
|
4875
4882
|
|
|
4876
|
-
var noop$
|
|
4883
|
+
var noop$3 = function noop() {};
|
|
4877
4884
|
/**
|
|
4878
4885
|
* @memberOf Dropdown
|
|
4879
4886
|
* @param {object} options
|
|
@@ -4937,11 +4944,11 @@ function useDropdownMenu(options) {
|
|
|
4937
4944
|
})),
|
|
4938
4945
|
styles = _usePopper.styles,
|
|
4939
4946
|
attributes = _usePopper.attributes,
|
|
4940
|
-
popper = _objectWithoutPropertiesLoose
|
|
4947
|
+
popper = _objectWithoutPropertiesLoose(_usePopper, ["styles", "attributes"]);
|
|
4941
4948
|
|
|
4942
4949
|
var menu;
|
|
4943
4950
|
var menuProps = {
|
|
4944
|
-
ref: setMenu || noop$
|
|
4951
|
+
ref: setMenu || noop$3,
|
|
4945
4952
|
'aria-labelledby': toggleElement == null ? void 0 : toggleElement.id
|
|
4946
4953
|
};
|
|
4947
4954
|
var childArgs = {
|
|
@@ -4952,15 +4959,15 @@ function useDropdownMenu(options) {
|
|
|
4952
4959
|
};
|
|
4953
4960
|
|
|
4954
4961
|
if (!shouldUsePopper) {
|
|
4955
|
-
menu = _extends
|
|
4962
|
+
menu = _extends({}, childArgs, {
|
|
4956
4963
|
props: menuProps
|
|
4957
4964
|
});
|
|
4958
4965
|
} else {
|
|
4959
|
-
menu = _extends
|
|
4960
|
-
props: _extends
|
|
4966
|
+
menu = _extends({}, popper, childArgs, {
|
|
4967
|
+
props: _extends({}, menuProps, attributes.popper, {
|
|
4961
4968
|
style: styles.popper
|
|
4962
4969
|
}),
|
|
4963
|
-
arrowProps: _extends
|
|
4970
|
+
arrowProps: _extends({
|
|
4964
4971
|
ref: attachArrowRef
|
|
4965
4972
|
}, attributes.arrow, {
|
|
4966
4973
|
style: styles.arrow
|
|
@@ -4974,7 +4981,7 @@ function useDropdownMenu(options) {
|
|
|
4974
4981
|
});
|
|
4975
4982
|
return menu;
|
|
4976
4983
|
}
|
|
4977
|
-
var propTypes$
|
|
4984
|
+
var propTypes$8 = {
|
|
4978
4985
|
/**
|
|
4979
4986
|
* A render prop that returns a Menu element. The `props`
|
|
4980
4987
|
* argument should spread through to **a component that can accept a ref**.
|
|
@@ -5031,7 +5038,7 @@ var propTypes$2 = {
|
|
|
5031
5038
|
*/
|
|
5032
5039
|
rootCloseEvent: PropTypes.string
|
|
5033
5040
|
};
|
|
5034
|
-
var defaultProps$
|
|
5041
|
+
var defaultProps$r = {
|
|
5035
5042
|
usePopper: true
|
|
5036
5043
|
};
|
|
5037
5044
|
|
|
@@ -5041,19 +5048,19 @@ var defaultProps$d = {
|
|
|
5041
5048
|
* @displayName DropdownMenu
|
|
5042
5049
|
* @memberOf Dropdown
|
|
5043
5050
|
*/
|
|
5044
|
-
function DropdownMenu(_ref2) {
|
|
5051
|
+
function DropdownMenu$1(_ref2) {
|
|
5045
5052
|
var children = _ref2.children,
|
|
5046
|
-
options = _objectWithoutPropertiesLoose
|
|
5053
|
+
options = _objectWithoutPropertiesLoose(_ref2, ["children"]);
|
|
5047
5054
|
|
|
5048
5055
|
var args = useDropdownMenu(options);
|
|
5049
5056
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, args.hasShown ? children(args) : null);
|
|
5050
5057
|
}
|
|
5051
5058
|
|
|
5052
|
-
DropdownMenu.displayName = 'ReactOverlaysDropdownMenu';
|
|
5053
|
-
DropdownMenu.propTypes = propTypes$
|
|
5054
|
-
DropdownMenu.defaultProps = defaultProps$
|
|
5059
|
+
DropdownMenu$1.displayName = 'ReactOverlaysDropdownMenu';
|
|
5060
|
+
DropdownMenu$1.propTypes = propTypes$8;
|
|
5061
|
+
DropdownMenu$1.defaultProps = defaultProps$r;
|
|
5055
5062
|
|
|
5056
|
-
var noop$
|
|
5063
|
+
var noop$2 = function noop() {};
|
|
5057
5064
|
/**
|
|
5058
5065
|
* Wires up Dropdown toggle functionality, returning a set a props to attach
|
|
5059
5066
|
* to the element that functions as the dropdown toggle (generally a button).
|
|
@@ -5067,11 +5074,11 @@ function useDropdownToggle() {
|
|
|
5067
5074
|
_ref$show = _ref.show,
|
|
5068
5075
|
show = _ref$show === void 0 ? false : _ref$show,
|
|
5069
5076
|
_ref$toggle = _ref.toggle,
|
|
5070
|
-
toggle = _ref$toggle === void 0 ? noop$
|
|
5077
|
+
toggle = _ref$toggle === void 0 ? noop$2 : _ref$toggle,
|
|
5071
5078
|
setToggle = _ref.setToggle;
|
|
5072
5079
|
|
|
5073
5080
|
return [{
|
|
5074
|
-
ref: setToggle || noop$
|
|
5081
|
+
ref: setToggle || noop$2,
|
|
5075
5082
|
'aria-haspopup': true,
|
|
5076
5083
|
'aria-expanded': !!show
|
|
5077
5084
|
}, {
|
|
@@ -5079,7 +5086,7 @@ function useDropdownToggle() {
|
|
|
5079
5086
|
toggle: toggle
|
|
5080
5087
|
}];
|
|
5081
5088
|
}
|
|
5082
|
-
var propTypes$
|
|
5089
|
+
var propTypes$7 = {
|
|
5083
5090
|
/**
|
|
5084
5091
|
* A render prop that returns a Toggle element. The `props`
|
|
5085
5092
|
* argument should spread through to **a component that can accept a ref**. Use
|
|
@@ -5104,7 +5111,7 @@ var propTypes$3 = {
|
|
|
5104
5111
|
* @displayName DropdownToggle
|
|
5105
5112
|
* @memberOf Dropdown
|
|
5106
5113
|
*/
|
|
5107
|
-
function DropdownToggle(_ref2) {
|
|
5114
|
+
function DropdownToggle$1(_ref2) {
|
|
5108
5115
|
var children = _ref2.children;
|
|
5109
5116
|
|
|
5110
5117
|
var _useDropdownToggle = useDropdownToggle(),
|
|
@@ -5120,10 +5127,10 @@ function DropdownToggle(_ref2) {
|
|
|
5120
5127
|
}));
|
|
5121
5128
|
}
|
|
5122
5129
|
|
|
5123
|
-
DropdownToggle.displayName = 'ReactOverlaysDropdownToggle';
|
|
5124
|
-
DropdownToggle.propTypes = propTypes$
|
|
5130
|
+
DropdownToggle$1.displayName = 'ReactOverlaysDropdownToggle';
|
|
5131
|
+
DropdownToggle$1.propTypes = propTypes$7;
|
|
5125
5132
|
|
|
5126
|
-
var propTypes$
|
|
5133
|
+
var propTypes$6 = {
|
|
5127
5134
|
/**
|
|
5128
5135
|
* A render prop that returns the root dropdown element. The `props`
|
|
5129
5136
|
* argument should spread through to an element containing _both_ the
|
|
@@ -5195,7 +5202,7 @@ var propTypes$4 = {
|
|
|
5195
5202
|
/**
|
|
5196
5203
|
* @displayName Dropdown
|
|
5197
5204
|
*/
|
|
5198
|
-
function Dropdown(_ref) {
|
|
5205
|
+
function Dropdown$1(_ref) {
|
|
5199
5206
|
var drop = _ref.drop,
|
|
5200
5207
|
alignEnd = _ref.alignEnd,
|
|
5201
5208
|
defaultShow = _ref.defaultShow,
|
|
@@ -5337,15 +5344,15 @@ function Dropdown(_ref) {
|
|
|
5337
5344
|
}));
|
|
5338
5345
|
}
|
|
5339
5346
|
|
|
5340
|
-
Dropdown.displayName = 'ReactOverlaysDropdown';
|
|
5341
|
-
Dropdown.propTypes = propTypes$
|
|
5342
|
-
Dropdown.Menu = DropdownMenu;
|
|
5343
|
-
Dropdown.Toggle = DropdownToggle;
|
|
5347
|
+
Dropdown$1.displayName = 'ReactOverlaysDropdown';
|
|
5348
|
+
Dropdown$1.propTypes = propTypes$6;
|
|
5349
|
+
Dropdown$1.Menu = DropdownMenu$1;
|
|
5350
|
+
Dropdown$1.Toggle = DropdownToggle$1;
|
|
5344
5351
|
|
|
5345
5352
|
var NavContext = React__default.createContext(null);
|
|
5346
5353
|
NavContext.displayName = 'NavContext';
|
|
5347
5354
|
|
|
5348
|
-
var defaultProps$
|
|
5355
|
+
var defaultProps$q = {
|
|
5349
5356
|
as: SafeAnchor,
|
|
5350
5357
|
disabled: false
|
|
5351
5358
|
};
|
|
@@ -5394,7 +5401,7 @@ var DropdownItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
5394
5401
|
);
|
|
5395
5402
|
});
|
|
5396
5403
|
DropdownItem.displayName = 'DropdownItem';
|
|
5397
|
-
DropdownItem.defaultProps = defaultProps$
|
|
5404
|
+
DropdownItem.defaultProps = defaultProps$q;
|
|
5398
5405
|
|
|
5399
5406
|
var toFnRef = function toFnRef(ref) {
|
|
5400
5407
|
return !ref || typeof ref === 'function' ? ref : function (value) {
|
|
@@ -5433,8 +5440,8 @@ function useMergedRefs(refA, refB) {
|
|
|
5433
5440
|
}, [refA, refB]);
|
|
5434
5441
|
}
|
|
5435
5442
|
|
|
5436
|
-
var context
|
|
5437
|
-
context
|
|
5443
|
+
var context = React__default.createContext(null);
|
|
5444
|
+
context.displayName = 'NavbarContext';
|
|
5438
5445
|
|
|
5439
5446
|
function useWrappedRefWithWarning(ref, componentName) {
|
|
5440
5447
|
// @ts-ignore
|
|
@@ -5555,13 +5562,13 @@ var alignPropType = PropTypes.oneOfType([alignDirection, PropTypes.shape({
|
|
|
5555
5562
|
}), PropTypes.shape({
|
|
5556
5563
|
xl: alignDirection
|
|
5557
5564
|
})]);
|
|
5558
|
-
var defaultProps$
|
|
5565
|
+
var defaultProps$p = {
|
|
5559
5566
|
align: 'left',
|
|
5560
5567
|
alignRight: false,
|
|
5561
5568
|
flip: true
|
|
5562
5569
|
}; // TODO: remove this hack
|
|
5563
5570
|
|
|
5564
|
-
var DropdownMenu
|
|
5571
|
+
var DropdownMenu = React__default.forwardRef(function (_ref, ref) {
|
|
5565
5572
|
var bsPrefix = _ref.bsPrefix,
|
|
5566
5573
|
className = _ref.className,
|
|
5567
5574
|
align = _ref.align,
|
|
@@ -5575,7 +5582,7 @@ var DropdownMenu$1 = React__default.forwardRef(function (_ref, ref) {
|
|
|
5575
5582
|
popperConfig = _ref.popperConfig,
|
|
5576
5583
|
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "className", "align", "alignRight", "rootCloseEvent", "flip", "show", "renderOnMount", "as", "popperConfig"]);
|
|
5577
5584
|
|
|
5578
|
-
var isNavbar = useContext(context
|
|
5585
|
+
var isNavbar = useContext(context);
|
|
5579
5586
|
var prefix = useBootstrapPrefix(bsPrefix, 'dropdown-menu');
|
|
5580
5587
|
|
|
5581
5588
|
var _usePopperMarginModif = usePopperMarginModifiers(),
|
|
@@ -5640,8 +5647,8 @@ var DropdownMenu$1 = React__default.forwardRef(function (_ref, ref) {
|
|
|
5640
5647
|
className: classnames.apply(void 0, [className, prefix, show && 'show', alignEnd && prefix + "-right"].concat(alignClasses))
|
|
5641
5648
|
}));
|
|
5642
5649
|
});
|
|
5643
|
-
DropdownMenu
|
|
5644
|
-
DropdownMenu
|
|
5650
|
+
DropdownMenu.displayName = 'DropdownMenu';
|
|
5651
|
+
DropdownMenu.defaultProps = defaultProps$p;
|
|
5645
5652
|
|
|
5646
5653
|
var isRequiredForA11y_1 = createCommonjsModule(function (module, exports) {
|
|
5647
5654
|
|
|
@@ -5670,7 +5677,7 @@ module.exports = exports['default'];
|
|
|
5670
5677
|
|
|
5671
5678
|
unwrapExports(isRequiredForA11y_1);
|
|
5672
5679
|
|
|
5673
|
-
var DropdownToggle
|
|
5680
|
+
var DropdownToggle = React__default.forwardRef(function (_ref, ref) {
|
|
5674
5681
|
var bsPrefix = _ref.bsPrefix,
|
|
5675
5682
|
split = _ref.split,
|
|
5676
5683
|
className = _ref.className,
|
|
@@ -5697,7 +5704,7 @@ var DropdownToggle$1 = React__default.forwardRef(function (_ref, ref) {
|
|
|
5697
5704
|
className: classnames(className, prefix, split && prefix + "-split")
|
|
5698
5705
|
}, toggleProps, props));
|
|
5699
5706
|
});
|
|
5700
|
-
DropdownToggle
|
|
5707
|
+
DropdownToggle.displayName = 'DropdownToggle';
|
|
5701
5708
|
|
|
5702
5709
|
var DropdownHeader = createWithBsPrefix('dropdown-header', {
|
|
5703
5710
|
defaultProps: {
|
|
@@ -5712,10 +5719,10 @@ var DropdownDivider = createWithBsPrefix('dropdown-divider', {
|
|
|
5712
5719
|
var DropdownItemText = createWithBsPrefix('dropdown-item-text', {
|
|
5713
5720
|
Component: 'span'
|
|
5714
5721
|
});
|
|
5715
|
-
var defaultProps$
|
|
5722
|
+
var defaultProps$o = {
|
|
5716
5723
|
navbar: false
|
|
5717
5724
|
};
|
|
5718
|
-
var Dropdown
|
|
5725
|
+
var Dropdown = React__default.forwardRef(function (pProps, ref) {
|
|
5719
5726
|
var _useUncontrolled = useUncontrolled(pProps, {
|
|
5720
5727
|
show: 'onToggle'
|
|
5721
5728
|
}),
|
|
@@ -5728,9 +5735,9 @@ var Dropdown$1 = React__default.forwardRef(function (pProps, ref) {
|
|
|
5728
5735
|
onToggle = _useUncontrolled.onToggle,
|
|
5729
5736
|
focusFirstItemOnShow = _useUncontrolled.focusFirstItemOnShow,
|
|
5730
5737
|
_useUncontrolled$as = _useUncontrolled.as,
|
|
5731
|
-
Component = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as
|
|
5732
|
-
|
|
5733
|
-
props = _objectWithoutPropertiesLoose(_useUncontrolled, ["bsPrefix", "drop", "show", "className", "alignRight", "onSelect", "onToggle", "focusFirstItemOnShow", "as", "navbar"]);
|
|
5738
|
+
Component = _useUncontrolled$as === void 0 ? 'div' : _useUncontrolled$as;
|
|
5739
|
+
_useUncontrolled.navbar;
|
|
5740
|
+
var props = _objectWithoutPropertiesLoose(_useUncontrolled, ["bsPrefix", "drop", "show", "className", "alignRight", "onSelect", "onToggle", "focusFirstItemOnShow", "as", "navbar"]);
|
|
5734
5741
|
|
|
5735
5742
|
var onSelectCtx = useContext(SelectableContext);
|
|
5736
5743
|
var prefix = useBootstrapPrefix(bsPrefix, 'dropdown');
|
|
@@ -5754,7 +5761,7 @@ var Dropdown$1 = React__default.forwardRef(function (pProps, ref) {
|
|
|
5754
5761
|
});
|
|
5755
5762
|
return /*#__PURE__*/React__default.createElement(SelectableContext.Provider, {
|
|
5756
5763
|
value: handleSelect
|
|
5757
|
-
}, /*#__PURE__*/React__default.createElement(Dropdown, {
|
|
5764
|
+
}, /*#__PURE__*/React__default.createElement(Dropdown$1, {
|
|
5758
5765
|
drop: drop,
|
|
5759
5766
|
show: show,
|
|
5760
5767
|
alignEnd: alignRight,
|
|
@@ -5769,14 +5776,14 @@ var Dropdown$1 = React__default.forwardRef(function (pProps, ref) {
|
|
|
5769
5776
|
}));
|
|
5770
5777
|
}));
|
|
5771
5778
|
});
|
|
5772
|
-
Dropdown
|
|
5773
|
-
Dropdown
|
|
5774
|
-
Dropdown
|
|
5775
|
-
Dropdown
|
|
5776
|
-
Dropdown
|
|
5777
|
-
Dropdown
|
|
5778
|
-
Dropdown
|
|
5779
|
-
Dropdown
|
|
5779
|
+
Dropdown.displayName = 'Dropdown';
|
|
5780
|
+
Dropdown.defaultProps = defaultProps$o;
|
|
5781
|
+
Dropdown.Divider = DropdownDivider;
|
|
5782
|
+
Dropdown.Header = DropdownHeader;
|
|
5783
|
+
Dropdown.Item = DropdownItem;
|
|
5784
|
+
Dropdown.ItemText = DropdownItemText;
|
|
5785
|
+
Dropdown.Menu = DropdownMenu;
|
|
5786
|
+
Dropdown.Toggle = DropdownToggle;
|
|
5780
5787
|
|
|
5781
5788
|
var propTypes$5 = {
|
|
5782
5789
|
/**
|
|
@@ -5853,16 +5860,16 @@ var DropdownButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
5853
5860
|
id = _ref.id,
|
|
5854
5861
|
props = _objectWithoutPropertiesLoose(_ref, ["title", "children", "bsPrefix", "rootCloseEvent", "variant", "size", "menuAlign", "menuRole", "renderMenuOnMount", "disabled", "href", "id"]);
|
|
5855
5862
|
|
|
5856
|
-
return /*#__PURE__*/React__default.createElement(Dropdown
|
|
5863
|
+
return /*#__PURE__*/React__default.createElement(Dropdown, _extends({
|
|
5857
5864
|
ref: ref
|
|
5858
|
-
}, props), /*#__PURE__*/React__default.createElement(DropdownToggle
|
|
5865
|
+
}, props), /*#__PURE__*/React__default.createElement(DropdownToggle, {
|
|
5859
5866
|
id: id,
|
|
5860
5867
|
href: href,
|
|
5861
5868
|
size: size,
|
|
5862
5869
|
variant: variant,
|
|
5863
5870
|
disabled: disabled,
|
|
5864
5871
|
childBsPrefix: bsPrefix
|
|
5865
|
-
}, title), /*#__PURE__*/React__default.createElement(DropdownMenu
|
|
5872
|
+
}, title), /*#__PURE__*/React__default.createElement(DropdownMenu, {
|
|
5866
5873
|
align: menuAlign,
|
|
5867
5874
|
role: menuRole,
|
|
5868
5875
|
renderOnMount: renderMenuOnMount,
|
|
@@ -5965,7 +5972,7 @@ module.exports = exports['default'];
|
|
|
5965
5972
|
|
|
5966
5973
|
unwrapExports(all_1);
|
|
5967
5974
|
|
|
5968
|
-
var propTypes$
|
|
5975
|
+
var propTypes$4 = {
|
|
5969
5976
|
/**
|
|
5970
5977
|
* Specify whether the feedback is for valid or invalid fields
|
|
5971
5978
|
*
|
|
@@ -5994,7 +6001,7 @@ function (_ref, ref) {
|
|
|
5994
6001
|
}));
|
|
5995
6002
|
});
|
|
5996
6003
|
Feedback.displayName = 'Feedback';
|
|
5997
|
-
Feedback.propTypes = propTypes$
|
|
6004
|
+
Feedback.propTypes = propTypes$4;
|
|
5998
6005
|
|
|
5999
6006
|
var FormContext = React__default.createContext({
|
|
6000
6007
|
controlId: undefined
|
|
@@ -6344,7 +6351,7 @@ var FormGroup = React__default.forwardRef(function (_ref, ref) {
|
|
|
6344
6351
|
});
|
|
6345
6352
|
FormGroup.displayName = 'FormGroup';
|
|
6346
6353
|
|
|
6347
|
-
var defaultProps$
|
|
6354
|
+
var defaultProps$n = {
|
|
6348
6355
|
column: false,
|
|
6349
6356
|
srOnly: false
|
|
6350
6357
|
};
|
|
@@ -6383,7 +6390,7 @@ var FormLabel = React__default.forwardRef(function (_ref, ref) {
|
|
|
6383
6390
|
);
|
|
6384
6391
|
});
|
|
6385
6392
|
FormLabel.displayName = 'FormLabel';
|
|
6386
|
-
FormLabel.defaultProps = defaultProps$
|
|
6393
|
+
FormLabel.defaultProps = defaultProps$n;
|
|
6387
6394
|
|
|
6388
6395
|
var FormText = React__default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
6389
6396
|
function (_ref, ref) {
|
|
@@ -6413,7 +6420,7 @@ Switch.Input = FormCheck.Input;
|
|
|
6413
6420
|
Switch.Label = FormCheck.Label;
|
|
6414
6421
|
|
|
6415
6422
|
var FormRow = createWithBsPrefix('form-row');
|
|
6416
|
-
var defaultProps$
|
|
6423
|
+
var defaultProps$m = {
|
|
6417
6424
|
inline: false
|
|
6418
6425
|
};
|
|
6419
6426
|
var FormImpl = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6432,7 +6439,7 @@ var FormImpl = React__default.forwardRef(function (_ref, ref) {
|
|
|
6432
6439
|
}));
|
|
6433
6440
|
});
|
|
6434
6441
|
FormImpl.displayName = 'Form';
|
|
6435
|
-
FormImpl.defaultProps = defaultProps$
|
|
6442
|
+
FormImpl.defaultProps = defaultProps$m;
|
|
6436
6443
|
FormImpl.Row = FormRow;
|
|
6437
6444
|
FormImpl.Group = FormGroup;
|
|
6438
6445
|
FormImpl.Control = FormControl$1;
|
|
@@ -6442,7 +6449,7 @@ FormImpl.Switch = Switch;
|
|
|
6442
6449
|
FormImpl.Label = FormLabel;
|
|
6443
6450
|
FormImpl.Text = FormText;
|
|
6444
6451
|
|
|
6445
|
-
var defaultProps$
|
|
6452
|
+
var defaultProps$l = {
|
|
6446
6453
|
fluid: false
|
|
6447
6454
|
};
|
|
6448
6455
|
var Container = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6462,9 +6469,9 @@ var Container = React__default.forwardRef(function (_ref, ref) {
|
|
|
6462
6469
|
}));
|
|
6463
6470
|
});
|
|
6464
6471
|
Container.displayName = 'Container';
|
|
6465
|
-
Container.defaultProps = defaultProps$
|
|
6472
|
+
Container.defaultProps = defaultProps$l;
|
|
6466
6473
|
|
|
6467
|
-
var propTypes$
|
|
6474
|
+
var propTypes$3 = {
|
|
6468
6475
|
/**
|
|
6469
6476
|
* @default 'img'
|
|
6470
6477
|
*/
|
|
@@ -6517,7 +6524,7 @@ var Image = React__default.forwardRef(function (_ref, ref) {
|
|
|
6517
6524
|
Image.displayName = 'Image';
|
|
6518
6525
|
Image.defaultProps = defaultProps$k;
|
|
6519
6526
|
|
|
6520
|
-
var defaultProps$
|
|
6527
|
+
var defaultProps$j = {
|
|
6521
6528
|
fluid: true
|
|
6522
6529
|
};
|
|
6523
6530
|
var FigureImage = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6531,8 +6538,8 @@ var FigureImage = React__default.forwardRef(function (_ref, ref) {
|
|
|
6531
6538
|
}));
|
|
6532
6539
|
});
|
|
6533
6540
|
FigureImage.displayName = 'FigureImage';
|
|
6534
|
-
FigureImage.propTypes = propTypes$
|
|
6535
|
-
FigureImage.defaultProps = defaultProps$
|
|
6541
|
+
FigureImage.propTypes = propTypes$3;
|
|
6542
|
+
FigureImage.defaultProps = defaultProps$j;
|
|
6536
6543
|
|
|
6537
6544
|
var FigureCaption = createWithBsPrefix('figure-caption', {
|
|
6538
6545
|
Component: 'figcaption'
|
|
@@ -6587,7 +6594,7 @@ var InputGroup = React__default.forwardRef(function (_ref, ref) {
|
|
|
6587
6594
|
});
|
|
6588
6595
|
InputGroup.displayName = 'InputGroup';
|
|
6589
6596
|
|
|
6590
|
-
|
|
6597
|
+
_extends({}, InputGroup, {
|
|
6591
6598
|
Text: InputGroupText,
|
|
6592
6599
|
Radio: InputGroupRadio,
|
|
6593
6600
|
Checkbox: InputGroupCheckbox,
|
|
@@ -6595,7 +6602,7 @@ var InputGroupWithExtras = _extends({}, InputGroup, {
|
|
|
6595
6602
|
Prepend: InputGroupPrepend
|
|
6596
6603
|
});
|
|
6597
6604
|
|
|
6598
|
-
var defaultProps$
|
|
6605
|
+
var defaultProps$i = {
|
|
6599
6606
|
fluid: false
|
|
6600
6607
|
};
|
|
6601
6608
|
var Jumbotron = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6616,13 +6623,13 @@ var Jumbotron = React__default.forwardRef(function (_ref, ref) {
|
|
|
6616
6623
|
className: classnames(className, classes)
|
|
6617
6624
|
}));
|
|
6618
6625
|
});
|
|
6619
|
-
Jumbotron.defaultProps = defaultProps$
|
|
6626
|
+
Jumbotron.defaultProps = defaultProps$i;
|
|
6620
6627
|
Jumbotron.displayName = 'Jumbotron';
|
|
6621
6628
|
|
|
6622
6629
|
var TabContext = React__default.createContext(null);
|
|
6623
6630
|
|
|
6624
6631
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
6625
|
-
var noop$
|
|
6632
|
+
var noop$1 = function noop() {};
|
|
6626
6633
|
|
|
6627
6634
|
var AbstractNav = React__default.forwardRef(function (_ref, ref) {
|
|
6628
6635
|
var _ref$as = _ref.as,
|
|
@@ -6712,8 +6719,8 @@ var AbstractNav = React__default.forwardRef(function (_ref, ref) {
|
|
|
6712
6719
|
role: role,
|
|
6713
6720
|
// used by NavLink to determine it's role
|
|
6714
6721
|
activeKey: makeEventKey(activeKey),
|
|
6715
|
-
getControlledId: getControlledId || noop$
|
|
6716
|
-
getControllerId: getControllerId || noop$
|
|
6722
|
+
getControlledId: getControlledId || noop$1,
|
|
6723
|
+
getControllerId: getControllerId || noop$1
|
|
6717
6724
|
}
|
|
6718
6725
|
}, /*#__PURE__*/React__default.createElement(Component, _extends({}, props, {
|
|
6719
6726
|
onKeyDown: handleKeyDown,
|
|
@@ -6722,7 +6729,7 @@ var AbstractNav = React__default.forwardRef(function (_ref, ref) {
|
|
|
6722
6729
|
}))));
|
|
6723
6730
|
});
|
|
6724
6731
|
|
|
6725
|
-
var defaultProps$
|
|
6732
|
+
var defaultProps$h = {
|
|
6726
6733
|
disabled: false
|
|
6727
6734
|
};
|
|
6728
6735
|
var AbstractNavItem = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -6768,9 +6775,9 @@ var AbstractNavItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
6768
6775
|
className: classnames(className, isActive && 'active')
|
|
6769
6776
|
}));
|
|
6770
6777
|
});
|
|
6771
|
-
AbstractNavItem.defaultProps = defaultProps$
|
|
6778
|
+
AbstractNavItem.defaultProps = defaultProps$h;
|
|
6772
6779
|
|
|
6773
|
-
var defaultProps$
|
|
6780
|
+
var defaultProps$g = {
|
|
6774
6781
|
variant: undefined,
|
|
6775
6782
|
active: false,
|
|
6776
6783
|
disabled: false
|
|
@@ -6808,10 +6815,10 @@ var ListGroupItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
6808
6815
|
className: classnames(className, bsPrefix, active && 'active', disabled && 'disabled', variant && bsPrefix + "-" + variant, action && bsPrefix + "-action")
|
|
6809
6816
|
}));
|
|
6810
6817
|
});
|
|
6811
|
-
ListGroupItem.defaultProps = defaultProps$
|
|
6818
|
+
ListGroupItem.defaultProps = defaultProps$g;
|
|
6812
6819
|
ListGroupItem.displayName = 'ListGroupItem';
|
|
6813
6820
|
|
|
6814
|
-
var defaultProps$
|
|
6821
|
+
var defaultProps$f = {
|
|
6815
6822
|
variant: undefined,
|
|
6816
6823
|
horizontal: undefined
|
|
6817
6824
|
};
|
|
@@ -6844,7 +6851,7 @@ var ListGroup = React__default.forwardRef(function (props, ref) {
|
|
|
6844
6851
|
className: classnames(className, bsPrefix, variant && bsPrefix + "-" + variant, horizontalVariant && bsPrefix + "-" + horizontalVariant)
|
|
6845
6852
|
}));
|
|
6846
6853
|
});
|
|
6847
|
-
ListGroup.defaultProps = defaultProps$
|
|
6854
|
+
ListGroup.defaultProps = defaultProps$f;
|
|
6848
6855
|
ListGroup.displayName = 'ListGroup';
|
|
6849
6856
|
ListGroup.Item = ListGroupItem;
|
|
6850
6857
|
|
|
@@ -6893,7 +6900,7 @@ function scrollbarSize(recalc) {
|
|
|
6893
6900
|
|
|
6894
6901
|
function activeElement(doc) {
|
|
6895
6902
|
if (doc === void 0) {
|
|
6896
|
-
doc = ownerDocument();
|
|
6903
|
+
doc = ownerDocument$1();
|
|
6897
6904
|
}
|
|
6898
6905
|
|
|
6899
6906
|
// Support: IE 9 only
|
|
@@ -6943,7 +6950,7 @@ function isBody(node) {
|
|
|
6943
6950
|
}
|
|
6944
6951
|
|
|
6945
6952
|
function bodyIsOverflowing(node) {
|
|
6946
|
-
var doc = isWindow(node) ? ownerDocument() : ownerDocument(node);
|
|
6953
|
+
var doc = isWindow(node) ? ownerDocument$1() : ownerDocument$1(node);
|
|
6947
6954
|
var win = isWindow(node) || doc.defaultView;
|
|
6948
6955
|
return doc.body.clientWidth < win.innerWidth;
|
|
6949
6956
|
}
|
|
@@ -7155,7 +7162,7 @@ var resolveContainerRef = function resolveContainerRef(ref) {
|
|
|
7155
7162
|
var _ref;
|
|
7156
7163
|
|
|
7157
7164
|
if (typeof document === 'undefined') return null;
|
|
7158
|
-
if (ref == null) return ownerDocument().body;
|
|
7165
|
+
if (ref == null) return ownerDocument$1().body;
|
|
7159
7166
|
if (typeof ref === 'function') ref = ref();
|
|
7160
7167
|
if (ref && 'current' in ref) ref = ref.current;
|
|
7161
7168
|
if ((_ref = ref) == null ? void 0 : _ref.nodeType) return ref || null;
|
|
@@ -7188,11 +7195,11 @@ function useWaitForDOMRef(ref, onResolved) {
|
|
|
7188
7195
|
return resolvedRef;
|
|
7189
7196
|
}
|
|
7190
7197
|
|
|
7191
|
-
var manager;
|
|
7198
|
+
var manager$1;
|
|
7192
7199
|
|
|
7193
7200
|
function getManager() {
|
|
7194
|
-
if (!manager) manager = new ModalManager();
|
|
7195
|
-
return manager;
|
|
7201
|
+
if (!manager$1) manager$1 = new ModalManager();
|
|
7202
|
+
return manager$1;
|
|
7196
7203
|
}
|
|
7197
7204
|
|
|
7198
7205
|
function useModalManager(provided) {
|
|
@@ -7220,7 +7227,7 @@ function useModalManager(provided) {
|
|
|
7220
7227
|
});
|
|
7221
7228
|
}
|
|
7222
7229
|
|
|
7223
|
-
var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
7230
|
+
var Modal$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
7224
7231
|
var _ref$show = _ref.show,
|
|
7225
7232
|
show = _ref$show === void 0 ? false : _ref$show,
|
|
7226
7233
|
_ref$role = _ref.role,
|
|
@@ -7260,7 +7267,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7260
7267
|
onEnter = _ref.onEnter,
|
|
7261
7268
|
onEntering = _ref.onEntering,
|
|
7262
7269
|
onEntered = _ref.onEntered,
|
|
7263
|
-
rest = _objectWithoutPropertiesLoose
|
|
7270
|
+
rest = _objectWithoutPropertiesLoose(_ref, ["show", "role", "className", "style", "children", "backdrop", "keyboard", "onBackdropClick", "onEscapeKeyDown", "transition", "backdropTransition", "autoFocus", "enforceFocus", "restoreFocus", "restoreFocusOptions", "renderDialog", "renderBackdrop", "manager", "container", "containerClassName", "onShow", "onHide", "onExit", "onExited", "onExiting", "onEnter", "onEntering", "onEntered"]);
|
|
7264
7271
|
|
|
7265
7272
|
var container = useWaitForDOMRef(containerRef);
|
|
7266
7273
|
var modal = useModalManager(providedManager);
|
|
@@ -7304,7 +7311,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7304
7311
|
if (autoFocus) {
|
|
7305
7312
|
var currentActiveElement = activeElement(document);
|
|
7306
7313
|
|
|
7307
|
-
if (modal.dialog && currentActiveElement && !contains
|
|
7314
|
+
if (modal.dialog && currentActiveElement && !contains(modal.dialog, currentActiveElement)) {
|
|
7308
7315
|
lastFocusRef.current = currentActiveElement;
|
|
7309
7316
|
modal.dialog.focus();
|
|
7310
7317
|
}
|
|
@@ -7350,7 +7357,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7350
7357
|
|
|
7351
7358
|
var currentActiveElement = activeElement();
|
|
7352
7359
|
|
|
7353
|
-
if (modal.dialog && currentActiveElement && !contains
|
|
7360
|
+
if (modal.dialog && currentActiveElement && !contains(modal.dialog, currentActiveElement)) {
|
|
7354
7361
|
modal.dialog.focus();
|
|
7355
7362
|
}
|
|
7356
7363
|
});
|
|
@@ -7393,7 +7400,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7393
7400
|
return null;
|
|
7394
7401
|
}
|
|
7395
7402
|
|
|
7396
|
-
var dialogProps = _extends
|
|
7403
|
+
var dialogProps = _extends({
|
|
7397
7404
|
role: role,
|
|
7398
7405
|
ref: modal.setDialogRef,
|
|
7399
7406
|
// apparently only works on the dialog role element
|
|
@@ -7441,7 +7448,7 @@ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7441
7448
|
|
|
7442
7449
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, backdropElement, dialog), container));
|
|
7443
7450
|
});
|
|
7444
|
-
var propTypes$
|
|
7451
|
+
var propTypes$2 = {
|
|
7445
7452
|
/**
|
|
7446
7453
|
* Set the visibility of the Modal
|
|
7447
7454
|
*/
|
|
@@ -7597,9 +7604,9 @@ var propTypes$8 = {
|
|
|
7597
7604
|
*/
|
|
7598
7605
|
manager: PropTypes.instanceOf(ModalManager)
|
|
7599
7606
|
};
|
|
7600
|
-
Modal.displayName = 'Modal';
|
|
7601
|
-
Modal.propTypes = propTypes$
|
|
7602
|
-
var BaseModal = Object.assign(Modal, {
|
|
7607
|
+
Modal$1.displayName = 'Modal';
|
|
7608
|
+
Modal$1.propTypes = propTypes$2;
|
|
7609
|
+
var BaseModal = Object.assign(Modal$1, {
|
|
7603
7610
|
Manager: ModalManager
|
|
7604
7611
|
});
|
|
7605
7612
|
|
|
@@ -7706,7 +7713,7 @@ ModalDialog.displayName = 'ModalDialog';
|
|
|
7706
7713
|
|
|
7707
7714
|
var ModalFooter = createWithBsPrefix('modal-footer');
|
|
7708
7715
|
|
|
7709
|
-
var defaultProps$
|
|
7716
|
+
var defaultProps$e = {
|
|
7710
7717
|
closeLabel: 'Close',
|
|
7711
7718
|
closeButton: false
|
|
7712
7719
|
};
|
|
@@ -7735,15 +7742,15 @@ var ModalHeader = React__default.forwardRef(function (_ref, ref) {
|
|
|
7735
7742
|
}));
|
|
7736
7743
|
});
|
|
7737
7744
|
ModalHeader.displayName = 'ModalHeader';
|
|
7738
|
-
ModalHeader.defaultProps = defaultProps$
|
|
7745
|
+
ModalHeader.defaultProps = defaultProps$e;
|
|
7739
7746
|
|
|
7740
|
-
var DivStyledAsH4
|
|
7747
|
+
var DivStyledAsH4 = divWithClassName('h4');
|
|
7741
7748
|
var ModalTitle = createWithBsPrefix('modal-title', {
|
|
7742
|
-
Component: DivStyledAsH4
|
|
7749
|
+
Component: DivStyledAsH4
|
|
7743
7750
|
});
|
|
7744
7751
|
|
|
7745
|
-
var manager
|
|
7746
|
-
var defaultProps$
|
|
7752
|
+
var manager;
|
|
7753
|
+
var defaultProps$d = {
|
|
7747
7754
|
show: false,
|
|
7748
7755
|
backdrop: true,
|
|
7749
7756
|
keyboard: true,
|
|
@@ -7765,7 +7772,7 @@ function BackdropTransition(props) {
|
|
|
7765
7772
|
/* eslint-enable no-use-before-define */
|
|
7766
7773
|
|
|
7767
7774
|
|
|
7768
|
-
var Modal
|
|
7775
|
+
var Modal = React__default.forwardRef(function (_ref, ref) {
|
|
7769
7776
|
var bsPrefix = _ref.bsPrefix,
|
|
7770
7777
|
className = _ref.className,
|
|
7771
7778
|
style = _ref.style,
|
|
@@ -7831,14 +7838,14 @@ var Modal$1 = React__default.forwardRef(function (_ref, ref) {
|
|
|
7831
7838
|
|
|
7832
7839
|
function getModalManager() {
|
|
7833
7840
|
if (propsManager) return propsManager;
|
|
7834
|
-
if (!manager
|
|
7835
|
-
return manager
|
|
7841
|
+
if (!manager) manager = new BootstrapModalManager();
|
|
7842
|
+
return manager;
|
|
7836
7843
|
}
|
|
7837
7844
|
|
|
7838
7845
|
function updateDialogStyle(node) {
|
|
7839
7846
|
if (!canUseDOM) return;
|
|
7840
7847
|
var containerIsOverflowing = getModalManager().isContainerOverflowing(modal);
|
|
7841
|
-
var modalIsOverflowing = node.scrollHeight > ownerDocument(node).documentElement.clientHeight;
|
|
7848
|
+
var modalIsOverflowing = node.scrollHeight > ownerDocument$1(node).documentElement.clientHeight;
|
|
7842
7849
|
setStyle({
|
|
7843
7850
|
paddingRight: containerIsOverflowing && !modalIsOverflowing ? scrollbarSize() : undefined,
|
|
7844
7851
|
paddingLeft: !containerIsOverflowing && modalIsOverflowing ? scrollbarSize() : undefined
|
|
@@ -8019,15 +8026,15 @@ var Modal$1 = React__default.forwardRef(function (_ref, ref) {
|
|
|
8019
8026
|
renderDialog: renderDialog
|
|
8020
8027
|
}));
|
|
8021
8028
|
});
|
|
8022
|
-
Modal
|
|
8023
|
-
Modal
|
|
8024
|
-
Modal
|
|
8025
|
-
Modal
|
|
8026
|
-
Modal
|
|
8027
|
-
Modal
|
|
8028
|
-
Modal
|
|
8029
|
-
Modal
|
|
8030
|
-
Modal
|
|
8029
|
+
Modal.displayName = 'Modal';
|
|
8030
|
+
Modal.defaultProps = defaultProps$d;
|
|
8031
|
+
Modal.Body = ModalBody;
|
|
8032
|
+
Modal.Header = ModalHeader;
|
|
8033
|
+
Modal.Title = ModalTitle;
|
|
8034
|
+
Modal.Footer = ModalFooter;
|
|
8035
|
+
Modal.Dialog = ModalDialog;
|
|
8036
|
+
Modal.TRANSITION_DURATION = 300;
|
|
8037
|
+
Modal.BACKDROP_TRANSITION_DURATION = 150;
|
|
8031
8038
|
|
|
8032
8039
|
var NavItem = React__default.forwardRef( // Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
8033
8040
|
function (_ref, ref) {
|
|
@@ -8046,7 +8053,7 @@ function (_ref, ref) {
|
|
|
8046
8053
|
});
|
|
8047
8054
|
NavItem.displayName = 'NavItem';
|
|
8048
8055
|
|
|
8049
|
-
var defaultProps$
|
|
8056
|
+
var defaultProps$c = {
|
|
8050
8057
|
disabled: false,
|
|
8051
8058
|
as: SafeAnchor
|
|
8052
8059
|
};
|
|
@@ -8072,9 +8079,9 @@ var NavLink = React__default.forwardRef(function (_ref, ref) {
|
|
|
8072
8079
|
}));
|
|
8073
8080
|
});
|
|
8074
8081
|
NavLink.displayName = 'NavLink';
|
|
8075
|
-
NavLink.defaultProps = defaultProps$
|
|
8082
|
+
NavLink.defaultProps = defaultProps$c;
|
|
8076
8083
|
|
|
8077
|
-
var defaultProps$
|
|
8084
|
+
var defaultProps$b = {
|
|
8078
8085
|
justify: false,
|
|
8079
8086
|
fill: false
|
|
8080
8087
|
};
|
|
@@ -8100,7 +8107,7 @@ var Nav = React__default.forwardRef(function (uncontrolledProps, ref) {
|
|
|
8100
8107
|
var navbarBsPrefix;
|
|
8101
8108
|
var cardHeaderBsPrefix;
|
|
8102
8109
|
var isNavbar = false;
|
|
8103
|
-
var navbarContext = useContext(context
|
|
8110
|
+
var navbarContext = useContext(context);
|
|
8104
8111
|
var cardContext = useContext(context$1);
|
|
8105
8112
|
|
|
8106
8113
|
if (navbarContext) {
|
|
@@ -8118,7 +8125,7 @@ var Nav = React__default.forwardRef(function (uncontrolledProps, ref) {
|
|
|
8118
8125
|
}, props), children);
|
|
8119
8126
|
});
|
|
8120
8127
|
Nav.displayName = 'Nav';
|
|
8121
|
-
Nav.defaultProps = defaultProps$
|
|
8128
|
+
Nav.defaultProps = defaultProps$b;
|
|
8122
8129
|
Nav.Item = NavItem;
|
|
8123
8130
|
Nav.Link = NavLink;
|
|
8124
8131
|
|
|
@@ -8143,7 +8150,7 @@ var NavbarCollapse = React__default.forwardRef(function (_ref, ref) {
|
|
|
8143
8150
|
props = _objectWithoutPropertiesLoose(_ref, ["children", "bsPrefix"]);
|
|
8144
8151
|
|
|
8145
8152
|
bsPrefix = useBootstrapPrefix(bsPrefix, 'navbar-collapse');
|
|
8146
|
-
return /*#__PURE__*/React__default.createElement(context
|
|
8153
|
+
return /*#__PURE__*/React__default.createElement(context.Consumer, null, function (context) {
|
|
8147
8154
|
return /*#__PURE__*/React__default.createElement(Collapse, _extends({
|
|
8148
8155
|
in: !!(context && context.expanded)
|
|
8149
8156
|
}, props), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -8154,7 +8161,7 @@ var NavbarCollapse = React__default.forwardRef(function (_ref, ref) {
|
|
|
8154
8161
|
});
|
|
8155
8162
|
NavbarCollapse.displayName = 'NavbarCollapse';
|
|
8156
8163
|
|
|
8157
|
-
var defaultProps$
|
|
8164
|
+
var defaultProps$a = {
|
|
8158
8165
|
label: 'Toggle navigation'
|
|
8159
8166
|
};
|
|
8160
8167
|
var NavbarToggle = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -8169,7 +8176,7 @@ var NavbarToggle = React__default.forwardRef(function (_ref, ref) {
|
|
|
8169
8176
|
|
|
8170
8177
|
bsPrefix = useBootstrapPrefix(bsPrefix, 'navbar-toggler');
|
|
8171
8178
|
|
|
8172
|
-
var _ref2 = useContext(context
|
|
8179
|
+
var _ref2 = useContext(context) || {},
|
|
8173
8180
|
onToggle = _ref2.onToggle,
|
|
8174
8181
|
expanded = _ref2.expanded;
|
|
8175
8182
|
|
|
@@ -8192,12 +8199,12 @@ var NavbarToggle = React__default.forwardRef(function (_ref, ref) {
|
|
|
8192
8199
|
}));
|
|
8193
8200
|
});
|
|
8194
8201
|
NavbarToggle.displayName = 'NavbarToggle';
|
|
8195
|
-
NavbarToggle.defaultProps = defaultProps$
|
|
8202
|
+
NavbarToggle.defaultProps = defaultProps$a;
|
|
8196
8203
|
|
|
8197
8204
|
var NavbarText = createWithBsPrefix('navbar-text', {
|
|
8198
8205
|
Component: 'span'
|
|
8199
8206
|
});
|
|
8200
|
-
var defaultProps$
|
|
8207
|
+
var defaultProps$9 = {
|
|
8201
8208
|
expand: true,
|
|
8202
8209
|
variant: 'light',
|
|
8203
8210
|
collapseOnSelect: false
|
|
@@ -8250,7 +8257,7 @@ var Navbar = React__default.forwardRef(function (props, ref) {
|
|
|
8250
8257
|
expanded: !!expanded
|
|
8251
8258
|
};
|
|
8252
8259
|
}, [bsPrefix, expanded, _onToggle]);
|
|
8253
|
-
return /*#__PURE__*/React__default.createElement(context
|
|
8260
|
+
return /*#__PURE__*/React__default.createElement(context.Provider, {
|
|
8254
8261
|
value: navbarContext
|
|
8255
8262
|
}, /*#__PURE__*/React__default.createElement(SelectableContext.Provider, {
|
|
8256
8263
|
value: handleCollapse
|
|
@@ -8260,14 +8267,14 @@ var Navbar = React__default.forwardRef(function (props, ref) {
|
|
|
8260
8267
|
className: classnames(className, bsPrefix, expand && expandClass, variant && bsPrefix + "-" + variant, bg && "bg-" + bg, sticky && "sticky-" + sticky, fixed && "fixed-" + fixed)
|
|
8261
8268
|
}), children)));
|
|
8262
8269
|
});
|
|
8263
|
-
Navbar.defaultProps = defaultProps$
|
|
8270
|
+
Navbar.defaultProps = defaultProps$9;
|
|
8264
8271
|
Navbar.displayName = 'Navbar';
|
|
8265
8272
|
Navbar.Brand = NavbarBrand;
|
|
8266
8273
|
Navbar.Toggle = NavbarToggle;
|
|
8267
8274
|
Navbar.Collapse = NavbarCollapse;
|
|
8268
8275
|
Navbar.Text = NavbarText;
|
|
8269
8276
|
|
|
8270
|
-
var propTypes$
|
|
8277
|
+
var propTypes$1 = {
|
|
8271
8278
|
/**
|
|
8272
8279
|
* An html id attribute for the Toggle button, necessary for assistive technologies, such as screen readers.
|
|
8273
8280
|
* @type {string|number}
|
|
@@ -8315,29 +8322,29 @@ var NavDropdown = React__default.forwardRef(function (_ref, ref) {
|
|
|
8315
8322
|
renderMenuOnMount = _ref.renderMenuOnMount,
|
|
8316
8323
|
props = _objectWithoutPropertiesLoose(_ref, ["id", "title", "children", "bsPrefix", "rootCloseEvent", "menuRole", "disabled", "active", "renderMenuOnMount"]);
|
|
8317
8324
|
|
|
8318
|
-
return /*#__PURE__*/React__default.createElement(Dropdown
|
|
8325
|
+
return /*#__PURE__*/React__default.createElement(Dropdown, _extends({
|
|
8319
8326
|
ref: ref
|
|
8320
8327
|
}, props, {
|
|
8321
8328
|
as: NavItem
|
|
8322
|
-
}), /*#__PURE__*/React__default.createElement(Dropdown
|
|
8329
|
+
}), /*#__PURE__*/React__default.createElement(Dropdown.Toggle, {
|
|
8323
8330
|
id: id,
|
|
8324
8331
|
eventKey: null,
|
|
8325
8332
|
active: active,
|
|
8326
8333
|
disabled: disabled,
|
|
8327
8334
|
childBsPrefix: bsPrefix,
|
|
8328
8335
|
as: NavLink
|
|
8329
|
-
}, title), /*#__PURE__*/React__default.createElement(Dropdown
|
|
8336
|
+
}, title), /*#__PURE__*/React__default.createElement(Dropdown.Menu, {
|
|
8330
8337
|
role: menuRole,
|
|
8331
8338
|
renderOnMount: renderMenuOnMount,
|
|
8332
8339
|
rootCloseEvent: rootCloseEvent
|
|
8333
8340
|
}, children));
|
|
8334
8341
|
});
|
|
8335
8342
|
NavDropdown.displayName = 'NavDropdown';
|
|
8336
|
-
NavDropdown.propTypes = propTypes$
|
|
8337
|
-
NavDropdown.Item = Dropdown
|
|
8338
|
-
NavDropdown.ItemText = Dropdown
|
|
8339
|
-
NavDropdown.Divider = Dropdown
|
|
8340
|
-
NavDropdown.Header = Dropdown
|
|
8343
|
+
NavDropdown.propTypes = propTypes$1;
|
|
8344
|
+
NavDropdown.Item = Dropdown.Item;
|
|
8345
|
+
NavDropdown.ItemText = Dropdown.ItemText;
|
|
8346
|
+
NavDropdown.Divider = Dropdown.Divider;
|
|
8347
|
+
NavDropdown.Header = Dropdown.Header;
|
|
8341
8348
|
|
|
8342
8349
|
/**
|
|
8343
8350
|
* Built on top of `Popper.js`, the overlay component is
|
|
@@ -8380,7 +8387,7 @@ var Overlay = /*#__PURE__*/React__default.forwardRef(function (props, outerRef)
|
|
|
8380
8387
|
})),
|
|
8381
8388
|
styles = _usePopper.styles,
|
|
8382
8389
|
attributes = _usePopper.attributes,
|
|
8383
|
-
popper = _objectWithoutPropertiesLoose
|
|
8390
|
+
popper = _objectWithoutPropertiesLoose(_usePopper, ["styles", "attributes"]);
|
|
8384
8391
|
|
|
8385
8392
|
if (props.show) {
|
|
8386
8393
|
if (exited) setExited(false);
|
|
@@ -8408,13 +8415,13 @@ var Overlay = /*#__PURE__*/React__default.forwardRef(function (props, outerRef)
|
|
|
8408
8415
|
return null;
|
|
8409
8416
|
}
|
|
8410
8417
|
|
|
8411
|
-
var child = props.children(_extends
|
|
8418
|
+
var child = props.children(_extends({}, popper, {
|
|
8412
8419
|
show: !!props.show,
|
|
8413
|
-
props: _extends
|
|
8420
|
+
props: _extends({}, attributes.popper, {
|
|
8414
8421
|
style: styles.popper,
|
|
8415
8422
|
ref: mergedRef
|
|
8416
8423
|
}),
|
|
8417
|
-
arrowProps: _extends
|
|
8424
|
+
arrowProps: _extends({}, attributes.arrow, {
|
|
8418
8425
|
style: styles.arrow,
|
|
8419
8426
|
ref: attachArrowRef
|
|
8420
8427
|
})
|
|
@@ -8578,7 +8585,7 @@ Overlay.propTypes = {
|
|
|
8578
8585
|
onExited: PropTypes.func
|
|
8579
8586
|
};
|
|
8580
8587
|
|
|
8581
|
-
|
|
8588
|
+
/*#__PURE__*/(function (_React$Component) {
|
|
8582
8589
|
_inheritsLoose(RefHolder, _React$Component);
|
|
8583
8590
|
|
|
8584
8591
|
function RefHolder() {
|
|
@@ -8592,9 +8599,9 @@ var RefHolder = /*#__PURE__*/function (_React$Component) {
|
|
|
8592
8599
|
};
|
|
8593
8600
|
|
|
8594
8601
|
return RefHolder;
|
|
8595
|
-
}(React__default.Component);
|
|
8602
|
+
})(React__default.Component);
|
|
8596
8603
|
|
|
8597
|
-
var defaultProps$
|
|
8604
|
+
var defaultProps$8 = {
|
|
8598
8605
|
active: false,
|
|
8599
8606
|
disabled: false,
|
|
8600
8607
|
activeLabel: '(current)'
|
|
@@ -8623,7 +8630,7 @@ var PageItem = React__default.forwardRef(function (_ref, ref) {
|
|
|
8623
8630
|
className: "sr-only"
|
|
8624
8631
|
}, activeLabel)));
|
|
8625
8632
|
});
|
|
8626
|
-
PageItem.defaultProps = defaultProps$
|
|
8633
|
+
PageItem.defaultProps = defaultProps$8;
|
|
8627
8634
|
PageItem.displayName = 'PageItem';
|
|
8628
8635
|
|
|
8629
8636
|
function createButton(name, defaultValue, label) {
|
|
@@ -8713,7 +8720,7 @@ var PopoverContent = React__default.forwardRef(function (_ref, ref) {
|
|
|
8713
8720
|
}), children);
|
|
8714
8721
|
});
|
|
8715
8722
|
|
|
8716
|
-
var defaultProps$
|
|
8723
|
+
var defaultProps$7 = {
|
|
8717
8724
|
placement: 'right'
|
|
8718
8725
|
};
|
|
8719
8726
|
var Popover = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -8723,10 +8730,10 @@ var Popover = React__default.forwardRef(function (_ref, ref) {
|
|
|
8723
8730
|
style = _ref.style,
|
|
8724
8731
|
children = _ref.children,
|
|
8725
8732
|
content = _ref.content,
|
|
8726
|
-
arrowProps = _ref.arrowProps
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "placement", "className", "style", "children", "content", "arrowProps", "popper", "show"]);
|
|
8733
|
+
arrowProps = _ref.arrowProps;
|
|
8734
|
+
_ref.popper;
|
|
8735
|
+
_ref.show;
|
|
8736
|
+
var props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "placement", "className", "style", "children", "content", "arrowProps", "popper", "show"]);
|
|
8730
8737
|
|
|
8731
8738
|
var decoratedBsPrefix = useBootstrapPrefix(bsPrefix, 'popover');
|
|
8732
8739
|
|
|
@@ -8743,13 +8750,13 @@ var Popover = React__default.forwardRef(function (_ref, ref) {
|
|
|
8743
8750
|
className: "arrow"
|
|
8744
8751
|
}, arrowProps)), content ? /*#__PURE__*/React__default.createElement(PopoverContent, null, children) : children);
|
|
8745
8752
|
});
|
|
8746
|
-
Popover.defaultProps = defaultProps$
|
|
8753
|
+
Popover.defaultProps = defaultProps$7;
|
|
8747
8754
|
Popover.Title = PopoverTitle;
|
|
8748
8755
|
Popover.Content = PopoverContent;
|
|
8749
8756
|
|
|
8750
8757
|
var ROUND_PRECISION = 1000;
|
|
8751
8758
|
|
|
8752
|
-
var defaultProps$
|
|
8759
|
+
var defaultProps$6 = {
|
|
8753
8760
|
min: 0,
|
|
8754
8761
|
max: 100,
|
|
8755
8762
|
animated: false,
|
|
@@ -8839,9 +8846,9 @@ var ProgressBar = React__default.forwardRef(function (_ref2, ref) {
|
|
|
8839
8846
|
}, ref));
|
|
8840
8847
|
});
|
|
8841
8848
|
ProgressBar.displayName = 'ProgressBar';
|
|
8842
|
-
ProgressBar.defaultProps = defaultProps$
|
|
8849
|
+
ProgressBar.defaultProps = defaultProps$6;
|
|
8843
8850
|
|
|
8844
|
-
var defaultProps$
|
|
8851
|
+
var defaultProps$5 = {
|
|
8845
8852
|
aspectRatio: '1by1'
|
|
8846
8853
|
};
|
|
8847
8854
|
var ResponsiveEmbed = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -8861,10 +8868,10 @@ var ResponsiveEmbed = React__default.forwardRef(function (_ref, ref) {
|
|
|
8861
8868
|
className: classnames(child.props.className, decoratedBsPrefix + "-item")
|
|
8862
8869
|
}));
|
|
8863
8870
|
});
|
|
8864
|
-
ResponsiveEmbed.defaultProps = defaultProps$
|
|
8871
|
+
ResponsiveEmbed.defaultProps = defaultProps$5;
|
|
8865
8872
|
|
|
8866
|
-
var DEVICE_SIZES
|
|
8867
|
-
var defaultProps$
|
|
8873
|
+
var DEVICE_SIZES = ['xl', 'lg', 'md', 'sm', 'xs'];
|
|
8874
|
+
var defaultProps$4 = {
|
|
8868
8875
|
noGutters: false
|
|
8869
8876
|
};
|
|
8870
8877
|
var Row = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -8878,7 +8885,7 @@ var Row = React__default.forwardRef(function (_ref, ref) {
|
|
|
8878
8885
|
var decoratedBsPrefix = useBootstrapPrefix(bsPrefix, 'row');
|
|
8879
8886
|
var sizePrefix = decoratedBsPrefix + "-cols";
|
|
8880
8887
|
var classes = [];
|
|
8881
|
-
DEVICE_SIZES
|
|
8888
|
+
DEVICE_SIZES.forEach(function (brkPoint) {
|
|
8882
8889
|
var propValue = props[brkPoint];
|
|
8883
8890
|
delete props[brkPoint];
|
|
8884
8891
|
var cols;
|
|
@@ -8899,7 +8906,7 @@ var Row = React__default.forwardRef(function (_ref, ref) {
|
|
|
8899
8906
|
}));
|
|
8900
8907
|
});
|
|
8901
8908
|
Row.displayName = 'Row';
|
|
8902
|
-
Row.defaultProps = defaultProps$
|
|
8909
|
+
Row.defaultProps = defaultProps$4;
|
|
8903
8910
|
|
|
8904
8911
|
var Spinner = React__default.forwardRef(function (_ref, ref) {
|
|
8905
8912
|
var bsPrefix = _ref.bsPrefix,
|
|
@@ -8922,7 +8929,7 @@ var Spinner = React__default.forwardRef(function (_ref, ref) {
|
|
|
8922
8929
|
});
|
|
8923
8930
|
Spinner.displayName = 'Spinner';
|
|
8924
8931
|
|
|
8925
|
-
var propTypes
|
|
8932
|
+
var propTypes = {
|
|
8926
8933
|
/**
|
|
8927
8934
|
* An html id attribute for the Toggle button, necessary for assistive technologies, such as screen readers.
|
|
8928
8935
|
* @type {string|number}
|
|
@@ -8984,7 +8991,7 @@ var propTypes$a = {
|
|
|
8984
8991
|
/** @ignore */
|
|
8985
8992
|
size: PropTypes.string
|
|
8986
8993
|
};
|
|
8987
|
-
var defaultProps$
|
|
8994
|
+
var defaultProps$3 = {
|
|
8988
8995
|
toggleLabel: 'Toggle dropdown',
|
|
8989
8996
|
type: 'button'
|
|
8990
8997
|
};
|
|
@@ -9006,7 +9013,7 @@ var SplitButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
9006
9013
|
rootCloseEvent = _ref.rootCloseEvent,
|
|
9007
9014
|
props = _objectWithoutPropertiesLoose(_ref, ["id", "bsPrefix", "size", "variant", "title", "type", "toggleLabel", "children", "onClick", "href", "target", "menuAlign", "menuRole", "renderMenuOnMount", "rootCloseEvent"]);
|
|
9008
9015
|
|
|
9009
|
-
return /*#__PURE__*/React__default.createElement(Dropdown
|
|
9016
|
+
return /*#__PURE__*/React__default.createElement(Dropdown, _extends({
|
|
9010
9017
|
ref: ref
|
|
9011
9018
|
}, props, {
|
|
9012
9019
|
as: ButtonGroup
|
|
@@ -9019,7 +9026,7 @@ var SplitButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
9019
9026
|
target: target,
|
|
9020
9027
|
onClick: onClick,
|
|
9021
9028
|
type: type
|
|
9022
|
-
}, title), /*#__PURE__*/React__default.createElement(Dropdown
|
|
9029
|
+
}, title), /*#__PURE__*/React__default.createElement(Dropdown.Toggle, {
|
|
9023
9030
|
split: true,
|
|
9024
9031
|
id: id ? id.toString() : undefined,
|
|
9025
9032
|
size: size,
|
|
@@ -9028,15 +9035,15 @@ var SplitButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
9028
9035
|
childBsPrefix: bsPrefix
|
|
9029
9036
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
9030
9037
|
className: "sr-only"
|
|
9031
|
-
}, toggleLabel)), /*#__PURE__*/React__default.createElement(Dropdown
|
|
9038
|
+
}, toggleLabel)), /*#__PURE__*/React__default.createElement(Dropdown.Menu, {
|
|
9032
9039
|
align: menuAlign,
|
|
9033
9040
|
role: menuRole,
|
|
9034
9041
|
renderOnMount: renderMenuOnMount,
|
|
9035
9042
|
rootCloseEvent: rootCloseEvent
|
|
9036
9043
|
}, children));
|
|
9037
9044
|
});
|
|
9038
|
-
SplitButton.propTypes = propTypes
|
|
9039
|
-
SplitButton.defaultProps = defaultProps$
|
|
9045
|
+
SplitButton.propTypes = propTypes;
|
|
9046
|
+
SplitButton.defaultProps = defaultProps$3;
|
|
9040
9047
|
SplitButton.displayName = 'SplitButton';
|
|
9041
9048
|
|
|
9042
9049
|
var TabContainer = function TabContainer(props) {
|
|
@@ -9130,9 +9137,9 @@ var TabPane = React__default.forwardRef(function (props, ref) {
|
|
|
9130
9137
|
unmountOnExit = _useTabContext.unmountOnExit,
|
|
9131
9138
|
Transition = _useTabContext.transition,
|
|
9132
9139
|
_useTabContext$as = _useTabContext.as,
|
|
9133
|
-
Component = _useTabContext$as === void 0 ? 'div' : _useTabContext$as
|
|
9134
|
-
|
|
9135
|
-
rest = _objectWithoutPropertiesLoose(_useTabContext, ["bsPrefix", "className", "active", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "mountOnEnter", "unmountOnExit", "transition", "as", "eventKey"]);
|
|
9140
|
+
Component = _useTabContext$as === void 0 ? 'div' : _useTabContext$as;
|
|
9141
|
+
_useTabContext.eventKey;
|
|
9142
|
+
var rest = _objectWithoutPropertiesLoose(_useTabContext, ["bsPrefix", "className", "active", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "mountOnEnter", "unmountOnExit", "transition", "as", "eventKey"]);
|
|
9136
9143
|
|
|
9137
9144
|
var prefix = useBootstrapPrefix(bsPrefix, 'tab-pane');
|
|
9138
9145
|
if (!active && !Transition && unmountOnExit) return null;
|
|
@@ -9186,7 +9193,7 @@ Tab.Container = TabContainer;
|
|
|
9186
9193
|
Tab.Content = TabContent;
|
|
9187
9194
|
Tab.Pane = TabPane;
|
|
9188
9195
|
|
|
9189
|
-
|
|
9196
|
+
React__default.forwardRef(function (_ref, ref) {
|
|
9190
9197
|
var bsPrefix = _ref.bsPrefix,
|
|
9191
9198
|
className = _ref.className,
|
|
9192
9199
|
striped = _ref.striped,
|
|
@@ -9225,7 +9232,7 @@ var ToastContext = React__default.createContext({
|
|
|
9225
9232
|
onClose: function onClose() {}
|
|
9226
9233
|
});
|
|
9227
9234
|
|
|
9228
|
-
var defaultProps$
|
|
9235
|
+
var defaultProps$2 = {
|
|
9229
9236
|
closeLabel: 'Close',
|
|
9230
9237
|
closeButton: true
|
|
9231
9238
|
};
|
|
@@ -9256,7 +9263,7 @@ var ToastHeader = React__default.forwardRef(function (_ref, ref) {
|
|
|
9256
9263
|
}));
|
|
9257
9264
|
});
|
|
9258
9265
|
ToastHeader.displayName = 'ToastHeader';
|
|
9259
|
-
ToastHeader.defaultProps = defaultProps$
|
|
9266
|
+
ToastHeader.defaultProps = defaultProps$2;
|
|
9260
9267
|
|
|
9261
9268
|
var ToastBody = createWithBsPrefix('toast-body');
|
|
9262
9269
|
|
|
@@ -9323,7 +9330,7 @@ Object.assign(Toast, {
|
|
|
9323
9330
|
Header: ToastHeader
|
|
9324
9331
|
});
|
|
9325
9332
|
|
|
9326
|
-
var noop
|
|
9333
|
+
var noop = function noop() {
|
|
9327
9334
|
return undefined;
|
|
9328
9335
|
};
|
|
9329
9336
|
|
|
@@ -9365,12 +9372,12 @@ var ToggleButton = React__default.forwardRef(function (_ref, ref) {
|
|
|
9365
9372
|
disabled: !!disabled,
|
|
9366
9373
|
onFocus: handleFocus,
|
|
9367
9374
|
onBlur: handleBlur,
|
|
9368
|
-
onChange: onChange || noop
|
|
9375
|
+
onChange: onChange || noop
|
|
9369
9376
|
}), children);
|
|
9370
9377
|
});
|
|
9371
9378
|
ToggleButton.displayName = 'ToggleButton';
|
|
9372
9379
|
|
|
9373
|
-
var defaultProps$
|
|
9380
|
+
var defaultProps$1 = {
|
|
9374
9381
|
type: 'radio',
|
|
9375
9382
|
vertical: false
|
|
9376
9383
|
};
|
|
@@ -9433,10 +9440,10 @@ var ToggleButtonGroup = React__default.forwardRef(function (props, ref) {
|
|
|
9433
9440
|
});
|
|
9434
9441
|
}));
|
|
9435
9442
|
});
|
|
9436
|
-
ToggleButtonGroup.defaultProps = defaultProps$
|
|
9443
|
+
ToggleButtonGroup.defaultProps = defaultProps$1;
|
|
9437
9444
|
ToggleButtonGroup.Button = ToggleButton;
|
|
9438
9445
|
|
|
9439
|
-
var defaultProps
|
|
9446
|
+
var defaultProps = {
|
|
9440
9447
|
placement: 'right'
|
|
9441
9448
|
};
|
|
9442
9449
|
var Tooltip = React__default.forwardRef(function (_ref, ref) {
|
|
@@ -9445,10 +9452,10 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
|
|
|
9445
9452
|
className = _ref.className,
|
|
9446
9453
|
style = _ref.style,
|
|
9447
9454
|
children = _ref.children,
|
|
9448
|
-
arrowProps = _ref.arrowProps
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "placement", "className", "style", "children", "arrowProps", "popper", "show"]);
|
|
9455
|
+
arrowProps = _ref.arrowProps;
|
|
9456
|
+
_ref.popper;
|
|
9457
|
+
_ref.show;
|
|
9458
|
+
var props = _objectWithoutPropertiesLoose(_ref, ["bsPrefix", "placement", "className", "style", "children", "arrowProps", "popper", "show"]);
|
|
9452
9459
|
|
|
9453
9460
|
bsPrefix = useBootstrapPrefix(bsPrefix, 'tooltip');
|
|
9454
9461
|
|
|
@@ -9467,7 +9474,7 @@ var Tooltip = React__default.forwardRef(function (_ref, ref) {
|
|
|
9467
9474
|
className: bsPrefix + "-inner"
|
|
9468
9475
|
}, children));
|
|
9469
9476
|
});
|
|
9470
|
-
Tooltip.defaultProps = defaultProps
|
|
9477
|
+
Tooltip.defaultProps = defaultProps;
|
|
9471
9478
|
Tooltip.displayName = 'Tooltip';
|
|
9472
9479
|
|
|
9473
9480
|
var css = ".MediaSeriesCard-module_article__SAFYK {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.MediaSeriesCard-module_article__SAFYK a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU {\r\n width: 25%;\r\n}\r\n.MediaSeriesCard-module_thumb__3jRAU img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.MediaSeriesCard-module_info__3L7_o h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_published__E4oiz {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_summary__1xanh {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR {\r\n margin: 0;\r\n}\r\n.MediaSeriesCard-module_author__e5fuR span {\r\n color: #6d6d6d;\r\n}\r\n.MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1.3rem;\r\n font-weight: bold;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .MediaSeriesCard-module_article__SAFYK {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .MediaSeriesCard-module_article__SAFYK a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .MediaSeriesCard-module_thumb__3jRAU figure {\r\n margin: 0;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o {\r\n width: 90%;\r\n padding: 0rem !important;\r\n }\r\n .MediaSeriesCard-module_info__3L7_o h2 {\r\n font-size: 1rem;\r\n }\r\n .MediaSeriesCard-module_name__2m5KY {\r\n font-size: 1rem;\r\n \r\n }\r\n}\r\n";
|
|
@@ -9578,7 +9585,7 @@ var Filter = function Filter(_ref) {
|
|
|
9578
9585
|
|
|
9579
9586
|
if (type === 'parent') {
|
|
9580
9587
|
setParentData(function (prevState) {
|
|
9581
|
-
return _extends$
|
|
9588
|
+
return _extends$1({}, prevState, { name: group.name ? group.name : null });
|
|
9582
9589
|
});
|
|
9583
9590
|
if (group && group.children && group.children.length > 0) {
|
|
9584
9591
|
setChildData({ data: group.children });
|
|
@@ -9591,7 +9598,7 @@ var Filter = function Filter(_ref) {
|
|
|
9591
9598
|
}
|
|
9592
9599
|
if (type === 'child') {
|
|
9593
9600
|
setChildData(function (prevState) {
|
|
9594
|
-
return _extends$
|
|
9601
|
+
return _extends$1({}, prevState, { name: group.name ? group.name : null });
|
|
9595
9602
|
});
|
|
9596
9603
|
if (group && group.grandchildren && group.grandchildren.length > 0) {
|
|
9597
9604
|
setGrandChildData({ data: group.grandchildren });
|
|
@@ -9603,7 +9610,7 @@ var Filter = function Filter(_ref) {
|
|
|
9603
9610
|
}
|
|
9604
9611
|
if (type === 'grandchild') {
|
|
9605
9612
|
setGrandChildData(function (prevState) {
|
|
9606
|
-
return _extends$
|
|
9613
|
+
return _extends$1({}, prevState, { name: group.name ? group.name : null });
|
|
9607
9614
|
});
|
|
9608
9615
|
//handle filter
|
|
9609
9616
|
setFilterTopicID(group._id ? group._id : 'all');
|
|
@@ -9617,7 +9624,7 @@ var Filter = function Filter(_ref) {
|
|
|
9617
9624
|
DropdownButton,
|
|
9618
9625
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn', title: parentData.name ? parentData.name : 'Filter By Category' },
|
|
9619
9626
|
React__default.createElement(
|
|
9620
|
-
Dropdown
|
|
9627
|
+
Dropdown.Item,
|
|
9621
9628
|
{ onSelect: function onSelect() {
|
|
9622
9629
|
return handleFilterSelect({}, 'parent');
|
|
9623
9630
|
} },
|
|
@@ -9625,7 +9632,7 @@ var Filter = function Filter(_ref) {
|
|
|
9625
9632
|
),
|
|
9626
9633
|
parentData.data.map(function (docGroup) {
|
|
9627
9634
|
return React__default.createElement(
|
|
9628
|
-
Dropdown
|
|
9635
|
+
Dropdown.Item,
|
|
9629
9636
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
9630
9637
|
return handleFilterSelect(docGroup, 'parent');
|
|
9631
9638
|
} },
|
|
@@ -9637,7 +9644,7 @@ var Filter = function Filter(_ref) {
|
|
|
9637
9644
|
DropdownButton,
|
|
9638
9645
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: childData.name ? childData.name : 'Filter By Topic' },
|
|
9639
9646
|
!parentData && React__default.createElement(
|
|
9640
|
-
Dropdown
|
|
9647
|
+
Dropdown.Item,
|
|
9641
9648
|
{ onSelect: function onSelect() {
|
|
9642
9649
|
return handleFilterSelect({}, 'child');
|
|
9643
9650
|
} },
|
|
@@ -9645,7 +9652,7 @@ var Filter = function Filter(_ref) {
|
|
|
9645
9652
|
),
|
|
9646
9653
|
childData.data.map(function (docGroup) {
|
|
9647
9654
|
return React__default.createElement(
|
|
9648
|
-
Dropdown
|
|
9655
|
+
Dropdown.Item,
|
|
9649
9656
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
9650
9657
|
return handleFilterSelect(docGroup, 'child');
|
|
9651
9658
|
} },
|
|
@@ -9657,7 +9664,7 @@ var Filter = function Filter(_ref) {
|
|
|
9657
9664
|
DropdownButton,
|
|
9658
9665
|
{ drop: 'down', style: { borderRadius: '3px' }, className: 'filter-btn ml-3', title: grandChildData.name ? grandChildData.name : 'Select Sub Topic' },
|
|
9659
9666
|
!childData && React__default.createElement(
|
|
9660
|
-
Dropdown
|
|
9667
|
+
Dropdown.Item,
|
|
9661
9668
|
{ onSelect: function onSelect() {
|
|
9662
9669
|
return handleFilterSelect({}, 'grandchild');
|
|
9663
9670
|
} },
|
|
@@ -9665,7 +9672,7 @@ var Filter = function Filter(_ref) {
|
|
|
9665
9672
|
),
|
|
9666
9673
|
grandChildData.data.map(function (docGroup) {
|
|
9667
9674
|
return React__default.createElement(
|
|
9668
|
-
Dropdown
|
|
9675
|
+
Dropdown.Item,
|
|
9669
9676
|
{ key: docGroup._id, onSelect: function onSelect() {
|
|
9670
9677
|
return handleFilterSelect(docGroup, 'grandchild');
|
|
9671
9678
|
} },
|
|
@@ -9721,7 +9728,7 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
9721
9728
|
while (1) {
|
|
9722
9729
|
switch (_context.prev = _context.next) {
|
|
9723
9730
|
case 0:
|
|
9724
|
-
newParams = _extends$
|
|
9731
|
+
newParams = _extends$1({}, params, { from: 0, to: 10 });
|
|
9725
9732
|
filterQuery = filterTopicID !== 'all' ? '&& references(\'' + filterTopicID + '\')' : '';
|
|
9726
9733
|
seriesQuery = '*[_type == \'documentGroup\' && references(\'' + docGroupID + '\') ' + filterQuery + ' && isSeries != false && isShow != false && defined(published) && dateTime(published) <= dateTime(now())] | order(published desc) [$from...$to] {\n _id,\n name,\n identifier,\n published,\n thumbnail,\n description,\n topicMapping[]->,\n \'pageNumber\': ' + currentPage + ',\n \'parentUrl\': \'' + parentUrl + '\'\n }';
|
|
9727
9734
|
_context.next = 5;
|
|
@@ -9805,12 +9812,12 @@ var MediaSeriesLanding = function MediaSeriesLanding(props) {
|
|
|
9805
9812
|
|
|
9806
9813
|
MediaSeriesLanding.getInitialData = function () {
|
|
9807
9814
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee2(ctx, client, cache) {
|
|
9808
|
-
var urlQuery, pathname,
|
|
9815
|
+
var urlQuery, pathname, identifier, itemsPerPage, currentPage, start, statusCode, params, docGroupID, seriesQuery, seriesData, taxonomyFilter;
|
|
9809
9816
|
return regenerator.wrap(function _callee2$(_context2) {
|
|
9810
9817
|
while (1) {
|
|
9811
9818
|
switch (_context2.prev = _context2.next) {
|
|
9812
9819
|
case 0:
|
|
9813
|
-
urlQuery = ctx.query, pathname = ctx.pathname,
|
|
9820
|
+
urlQuery = ctx.query, pathname = ctx.pathname, ctx.req;
|
|
9814
9821
|
identifier = pathname.replace('/', '');
|
|
9815
9822
|
itemsPerPage = 10;
|
|
9816
9823
|
currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
|