Version Description
- Release date: September 7, 2016
Support Enhancements
- We're now syncing data about hosts so that we can provide better support when needed.
- Minor update to inline docs to match version numbers.
Bug Fixes:
- Admin Page: fix error when Admin Page resources could not be fetched with
wp_remote_get
due to unique host configurations. - Admin Page: fix error when Post By Email could not be enabled when the browser's dev console was enabled.
- Admin Page: make sure all translated strings are encoded properly.
- Admin Page: only use POST requests for updating the state of Jetpack, to avoid issues on servers not allowing PUT requests.
- Admin Page: search icon no longer overlaps the global notices.
- Admin Page: make sure that non-admins can also modify Spellchecking settings.
- General: Improve random number generation for compatibility with more hosts.
- General: Add deprecated PHP file (class.jetpack-landing-page.php) back as an empty file, to avoid generating fatal errors on sites with aggressive caching.
- General: Ensure concatenated CSS is generated for RTL languages.
- Security: Ensure that all options are included on the security tab.
- Stats: fix display for sites with pretty permalinks disabled.
- Subscriptions: ensure that no email is sent when updating a published post.
- Sync: To improve performance, add snapTW to the list of post meta data that won't be synchronized for each post.
- Sync: do not schedule a full sync after each import.
- Verification Tools: in the Settings card, use appropriate link for each service.
Download this release
Release Info
Developer | samhotchkiss |
Plugin | Jetpack by WordPress.com |
Version | 4.3.1 |
Comparing to | |
See all releases |
Code changes from version 4.3 to 4.3.1
- _inc/build/admin.dops-style.css +1 -1
- _inc/build/admin.dops-style.rtl.css +1 -1
- _inc/build/admin.dops-style.rtl.css.map +1 -0
- _inc/build/admin.js +3 -3
- _inc/build/style.min.rtl.css.map +1 -0
- _inc/lib/admin-pages/class.jetpack-admin-page.php +2 -2
- _inc/lib/admin-pages/class.jetpack-landing-page.php +3 -0
- _inc/lib/admin-pages/class.jetpack-react-page.php +35 -14
- _inc/lib/admin-pages/class.jetpack-settings-page.php +11 -24
- _inc/lib/class.core-rest-api-endpoints.php +29 -5
- _inc/lib/core-api/class.jetpack-core-api-module-endpoints.php +4 -3
- changelog.txt +29 -2
- class.frame-nonce-preview.php +4 -4
- class.jetpack.php +1 -1
- css/jetpack-rtl.css +21 -0
- jetpack.php +2 -2
- modules/sso/class.jetpack-sso-helpers.php +1 -1
- modules/stats.php +1 -1
- modules/subscriptions.php +8 -0
- readme.txt +30 -513
- sync/class.jetpack-sync-actions.php +0 -3
- sync/class.jetpack-sync-defaults.php +2 -0
- sync/class.jetpack-sync-functions.php +16 -0
- sync/class.jetpack-sync-module.php +8 -1
- sync/class.jetpack-sync-queue.php +1 -1
_inc/build/admin.dops-style.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.dops-count{display:inline-block;padding:.0625rem .375rem;border:1px solid #87a6bc;border-radius:.75rem;font-size:.6875rem;font-weight:600;line-height:.875rem;color:#87a6bc;text-align:center}.dops-select-dropdown.is-open .dops-select-dropdown__header:after,.dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-select-dropdown{height:43px}.dops-select-dropdown.is-compact{height:28px}.dops-select-dropdown__container{position:relative;overflow:hidden;display:inline-block;width:auto;max-width:100%}.dops-select-dropdown.is-open .dops-select-dropdown__container{z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container,.dops-accessible-focus .dops-select-dropdown__container:focus{z-index:170;box-shadow:0 0 0 2px #78dcfa}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container .select-dropdown__header,.dops-accessible-focus .dops-select-dropdown__container:focus .select-dropdown__header{border-color:#0087be}.dops-accessible-focus .dops-select-dropdown__container:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;border-radius:4px}.dops-select-dropdown__header{padding:11px 44px 11px 16px;border-style:solid;border-color:#c8d7e1;border-width:1px 1px 2px;border-radius:4px;background-color:#fff;font-size:14px;font-weight:600;line-height:18px;height:18px;color:#2e4453;transition:background-color .2s ease;cursor:pointer}.dops-select-dropdown__header:after{content:'\F347';position:absolute;right:13px;top:12px;display:block;line-height:18px;color:rgba(135,166,188,.5)}.is-compact .dops-select-dropdown__header:after{right:4px;top:4px}.is-compact .dops-select-dropdown__header{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.is-compact .dops-select-dropdown__header .dops-count{border-width:0;margin-left:0;line-height:1}.dops-select-dropdown.is-open .dops-select-dropdown__header{border-radius:4px 4px 0 0;box-shadow:none;background-color:#f3f6f8}.dops-select-dropdown.is-open .dops-select-dropdown__header:after{content:'\F343'}.dops-select-dropdown__header .dops-count{margin-left:8px}.dops-select-dropdown__header-text{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-select-dropdown__options{visibility:hidden;height:0;box-sizing:border-box;padding:0;list-style:none;margin:-2px 0 0;background-color:#fff;border:1px solid #c8d7e1;border-radius:0 0 4px 4px}.dops-accessible-focus .dops-select-dropdown__options{border:1px solid #0087be;border-top-color:#c8d7e1}.dops-select-dropdown.is-open .dops-select-dropdown__options{visibility:visible;height:auto}.dops-select-dropdown__option:last-child .dops-select-dropdown__item{border-radius:0 0 4px 4px}.dops-select-dropdown__item,.dops-select-dropdown__item-text{padding:11px 44px 11px 16px}.dops-select-dropdown__item{display:block;position:relative;font-size:14px;font-weight:400;line-height:18px;color:#2e4453;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer}.dops-select-dropdown__item:before{content:attr(data-bold-text);font-weight:700;opacity:0}.dops-select-dropdown__item:visited{color:#2e4453}.dops-select-dropdown__item.is-selected{background-color:#00aadc;color:#fff}.dops-select-dropdown__item.is-disabled{background-color:#fff;color:#87a6bc;cursor:default;opacity:.5}.notouch .dops-select-dropdown__item:hover{color:#00aadc}.notouch .dops-select-dropdown__item.is-selected:hover{color:#fff}.dops-select-dropdown__item-text{padding-right:16px;box-sizing:border-box;position:absolute;top:0;left:0;width:100%;white-space:nowrap;text-overflow:ellipsis;color:inherit;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between}.dops-select-dropdown__item-text .dops-count{color:inherit;border-color:inherit}.dops-select-dropdown__separator{border-top:1px solid #c8d7e1;display:block;margin:8px 0}.dops-select-dropdown__label{display:block;color:#a8bece;margin-top:5px;line-height:20px}.dops-select-dropdown__label label{font-size:12px;text-transform:uppercase;padding:0 16px}@keyframes rotate-spinner__right{0%{transform:rotate(0deg)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(1turn)}to{transform:rotate(1turn)}}@keyframes rotate-spinner__left{0%{transform:rotate(0deg)}25%{transform:rotate(0deg)}50%{transform:rotate(180deg)}75%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.dops-spinner.is-fallback{position:relative;border-radius:100%;background-color:#c8d7e1}.dops-spinner.is-fallback:after,.dops-spinner.is-fallback:before{content:'';position:absolute;background-color:#fff;border-radius:50%}.dops-spinner.is-fallback:before{width:90%;height:90%;top:5%;left:5%}.dops-spinner.is-fallback:after{width:70%;height:70%;top:15%;left:15%}.dops-spinner__image{display:block}.dops-spinner__border{fill:#c8d7e1}.dops-spinner__progress{animation:3s linear infinite;transform-origin:50px 50px;fill:#00aadc}.dops-spinner.is-fallback .dops-spinner__progress{position:absolute;overflow:hidden;width:50%;height:100%;animation:none}.dops-spinner.is-fallback .dops-spinner__progress:before{content:'';position:absolute;width:100%;height:100%;animation:3s linear infinite;border-radius:9999px;background-color:#00aadc;fill:none}.dops-spinner.is-fallback .dops-spinner__progress.is-left{left:0}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before{left:100%;border-top-left-radius:0;border-bottom-left-radius:0;transform-origin:0 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right{left:50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before{left:-100%;border-top-right-radius:0;border-bottom-right-radius:0;transform-origin:100% 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before,.dops-spinner__progress.is-left{animation-name:rotate-spinner__left}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before,.dops-spinner__progress.is-right{animation-name:rotate-spinner__right}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-search{margin-bottom:24px;width:60px;height:51px;position:relative;z-index:22}@media (max-width:660px){.dops-search{width:50px}}.dops-search .dops-search-open__icon{position:absolute;top:50%;margin-top:-12px;width:60px;z-index:20;color:#0087be;cursor:pointer}.dops-accessible-focus .dops-search .dops-search-open__icon:focus{outline:1px dotted #0087be}@media (max-width:660px){.dops-search .dops-search-open__icon{width:50px}}.dops-search .dops-search-open__icon:hover{color:#3d596d}.dops-search .dops-search-close__icon{position:absolute;bottom:0;top:50%;right:0;margin-top:-12px;width:60px;cursor:pointer;z-index:20;color:#3d596d;display:none;opacity:0;transition:opacity .2s ease-in}.dops-accessible-focus .dops-search .dops-search-close__icon:focus{outline:1px dotted #0087be}.dops-search .dops-search-close__icon:before{position:absolute;left:0;right:0;top:50%;margin-top:-8px;font-size:16px;text-align:center}@media (max-width:660px){.dops-search .dops-search-close__icon:before{font-size:14px;margin-top:-7px}}@media (max-width:660px){.dops-search .dops-search-close__icon{width:50px}}.dops-search.is-pinned{margin-bottom:0;height:auto;position:absolute;bottom:0;top:0;right:0;z-index:170}.dops-search.is-pinned .dops-search-open__icon{right:0}.dops-search.is-pinned .dops-search__input[type=search]{height:100%}.dops-search__input[type=search]{display:none;position:absolute;z-index:10;top:0;margin:0;padding:0 50px 0 60px;border:none;background:#fff;height:51px;-moz-appearance:none;appearance:none;box-sizing:border-box;-webkit-appearance:none;box-shadow:none}@media (max-width:660px){.dops-search__input[type=search]{opacity:0;left:0;padding-left:50px}}.dops-search__input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.dops-search__input[type=search]:focus{box-shadow:none;border:none}.dops-search.is-open{margin-right:0!important;width:100%}.dops-search.is-open .dops-search-open__icon{color:#3d596d;left:0}.dops-search.is-open .dops-search-close__icon{display:inline-block}.dops-search.is-open .dops-search-close__icon,.dops-search.is-open .dops-search__input{opacity:1}.dops-search.is-open .dops-search__input{display:block}.dops-search .dops-spinner{display:none;position:absolute;top:50%;left:30px;transform:translate(-50%,-50%)}@media (max-width:660px){.dops-search .dops-spinner{left:25px}}.dops-search.is-searching .dops-search-open__icon{display:none}.dops-search.is-searching .dops-spinner{display:block;z-index:20}@media (max-width:660px){.animating.dops-search-opening .dops-search input{opacity:1}}.dops-section-nav.is-open .dops-section-nav__mobile-header:after,.dops-section-nav__mobile-header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-section-nav{position:relative;width:100%;padding:0;margin:0 0 17px;background:#fff;box-sizing:border-box;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-section-nav.is-empty .dops-section-nav__panel{visibility:hidden}@media (max-width:480px){.dops-section-nav.is-open{box-shadow:0 0 0 1px #87a6bc,0 2px 4px #c8d7e1}}@media (min-width:481px){.dops-section-nav.has-pinned-items{padding-right:60px}}@media (min-width:481px) and (max-width:660px){.dops-section-nav.has-pinned-items{padding-right:50px}}@media (max-width:660px){.dops-section-nav{margin-bottom:9px}}.dops-section-nav__mobile-header{display:-ms-flexbox;display:flex;padding:15px;font-size:14px;line-height:16px;color:#2e4453;font-weight:600;cursor:pointer}.dops-section-nav__mobile-header:after{content:'\F347';line-height:16px;color:rgba(135,166,188,.5)}.dops-section-nav.is-open .dops-section-nav__mobile-header:after{content:'\F343'}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header{padding-right:50px}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header:after{margin-left:8px}@media (min-width:481px){.dops-section-nav__mobile-header{display:none}}.dops-section-nav__mobile-header-text{width:0;-ms-flex:1 0 auto;flex:1 0 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav__mobile-header-text small{margin-left:5px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header-text{width:auto;-ms-flex:0 1 auto;flex:0 1 auto}.dops-section-nav__panel{box-sizing:border-box;width:100%}@media (max-width:480px){.dops-section-nav.is-open .dops-section-nav__panel{padding-bottom:15px;border-top:1px solid #c8d7e1;background:linear-gradient(180deg,#f3f6f8 0,#fff 4px)}}@media (min-width:481px){.dops-section-nav__panel{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.dops-section-nav__panel:first-child{width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav-group{position:relative;margin-top:16px;padding-top:16px;border-top:1px solid #c8d7e1}.dops-section-nav-group:first-child{padding-top:0;border-top:none}@media (max-width:480px){.dops-section-nav-group{display:none}.dops-section-nav.is-open .dops-section-nav-group{display:block}}@media (min-width:481px){.dops-section-nav-group{margin-top:0;padding-top:0;border-top:none}.dops-section-nav-group:first-child{display:-ms-flexbox;display:flex;width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav__button{width:100%;margin-top:24px}.dops-section-nav__hr{background:#e9eff3}.dops-section-nav-group__label{display:none;margin-bottom:8px;padding:0 15px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase;line-height:12px}@media (max-width:480px){.has-siblings .dops-section-nav-group__label{display:block}}.dops-section-nav-group__label-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-section-nav-tab .count{margin-left:8px}@media (min-width:481px){.dops-section-nav-tabs{width:0;-ms-flex:1 0 auto;flex:1 0 auto}.dops-section-nav-tabs.is-dropdown{position:relative;width:auto;-ms-flex:0 1 auto;flex:0 1 auto;margin:8px}}.dops-section-nav-tabs__list{margin:0;list-style:none}@media (min-width:481px){.dops-section-nav-tabs__list{display:-ms-flexbox;display:flex;width:100%;overflow:hidden}.is-dropdown .dops-section-nav-tabs__list{display:none}}.dops-section-nav-tab{margin-bottom:0}@media (min-width:481px){.dops-section-nav-tab{width:auto;-ms-flex:none;flex:none;border-bottom:2px solid transparent;border-top:none;text-align:center}.dops-section-nav-tab.is-selected{border-bottom-color:#2e4453}}.dops-section-nav-tab__link,.dops-section-nav-tab__text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav-tab__link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box;padding:15px;width:100%;font-size:14px;font-weight:600;line-height:18px;color:#2e4453;cursor:pointer}.dops-section-nav-tab__link:visited{color:#2e4453}.dops-section-nav-tab__link[disabled],.notouch .dops-section-nav-tab__link[disabled]:hover{color:#e9eff3;cursor:default}.is-selected .dops-section-nav-tab__link{color:#fff;background-color:#00aadc}.dops-section-nav-tab__link:focus{outline:none;box-shadow:none}.accessible-focus .dops-section-nav-tab__link:focus{outline:1px solid #87a6bc}.is-external .dops-section-nav-tab__link:after{font-size:18px;padding-left:2px}.notouch .dops-section-nav-tab__link:hover{color:#00aadc}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#fff}@media (min-width:481px){.dops-section-nav-tab__link{display:block;width:auto;padding:16px 16px 14px;color:#0087be;font-weight:400}.dops-section-nav-tab__link:visited{color:#0087be}.is-selected .dops-section-nav-tab__link{color:#2e4453;background-color:transparent}.is-selected .dops-section-nav-tab__link:after{display:none}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#2e4453}}.dops-section-nav-tab__text{display:block;-ms-flex:1 0 auto;flex:1 0 auto;width:0;color:inherit}@media (min-width:481px){.dops-section-nav-tab__text{display:inline;-ms-flex:none;flex:none;width:auto}}.dops-section-nav-tabs__dropdown{position:relative;z-index:3;width:100%}.dops-section-nav-tabs__dropdown.is-open{z-index:4}.dops-section-nav-tabs__dropdown .dops-select-dropdown__container{position:static}.dops-section-nav__segmented .dops-segmented-control{margin:0 15px}.dops-section-nav__segmented .dops-segmented-control__link{padding:3px 16px 5px}@media (max-width:480px){.dops-section-nav .dops-search.is-pinned{height:46px}}.dops-card{position:relative;margin:0 auto .625rem;padding:1rem;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card{margin-bottom:1rem;padding:1.5rem}}.dops-card.is-compact{margin-bottom:1px}@media (min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:1rem 1.5rem}}.dops-card-title{background-color:#f9f9f9;color:#000;font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;text-transform:uppercase;border-bottom:1px solid #ddd;padding:10px 16px;margin:0}@media (min-width:481px){.dops-card-title{padding:16px 24px}}.dops-card-title .dops-card-meta{color:#aaa;float:right}.dops-card-section{font-size:14px;padding:16px;border-bottom:1px solid #ddd}.dops-card-section:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card-section{padding:24px}}.dops-card-section:last-child{border-bottom:none}.dops-card-section .dops-card-section-label{color:#000;font-size:12px;font-weight:400;text-transform:uppercase}.dops-card-section .dops-card-section-orient-vertical .dops-card-section-label{margin-bottom:10px}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{float:left;width:30%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{margin-bottom:10px;float:none;width:100%}}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:right;width:70%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:none;width:100%}}.dops-card-footer{background:#f9f9f9;padding:15px 20px}.dops-card-icon{float:right;text-transform:capitalize}.dops-card-icon .genericon{border-radius:50%;width:16px;height:16px;margin-right:10px;color:#fff;background:#81bf16}.dops-button{background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dops-button:hover{border-color:#a8bece;color:#2e4453}.dops-button:active{border-width:2px 1px 1px}.dops-button:visited{color:#2e4453}.dops-button:disabled,.dops-button[disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}.dops-button:disabled:active,.dops-button[disabled]:active{border-width:1px 1px 2px}.dops-button:focus{outline:0;border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.dops-button.is-compact{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.dops-button.is-compact:disabled{color:#e9eff3}.dops-button.is-compact .gridicon{top:4px;margin-top:-8px}.dops-button.is-compact .gridicons-plus-small{margin-left:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-left:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-left:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{position:relative;top:4px;margin-top:-2px;width:18px;height:18px}.dops-button.is-primary{background:#00aadc;border-color:#0087be;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{border-color:#005082;color:#fff}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}.dops-button.is-primary.is-compact{color:#fff}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{color:#f4cdcd;border-color:#e9eff3}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#668eaa;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#2e4453}.dops-button.is-borderless:focus{box-shadow:none}.dops-button.is-borderless .gridicon{width:24px;height:24px;top:6px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{color:#e9eff3;background:#fff;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{width:18px;height:18px;top:5px}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-foldable-card.dops-card{position:relative;transition:margin .15s linear;padding:0}.dops-foldable-card.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-foldable-card.dops-card.is-expanded{margin-bottom:8px}.dops-foldable-card.dops-card .is-clickable{cursor:pointer}.dops-foldable-card__header{min-height:64px;width:100%;padding:16px;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;position:relative}.dops-foldable-card__header.has-border .dops-foldable-card__summary,.dops-foldable-card__header.has-border .dops-foldable-card__summary_expanded{margin-right:48px}.dops-foldable-card__header.has-border .dops-foldable-card__expand{border-left:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card__header{padding:8px 16px;min-height:40px}.dops-foldable-card.is-expanded .dops-foldable-card__header{margin-bottom:0;height:inherit;min-height:64px}.dops-foldable-card.is-expanded.is-compact .dops-foldable-card__header{min-height:40px}.dops-foldable-card.is-disabled .dops-foldable-card__header{opacity:.2}.dops-foldable-card__action{position:absolute;top:0;right:0;height:100%;background:none;border:0}.dops-foldable-card.is-expanded .dops-foldable-card__action{height:100%}.dops-foldable-card.is-disabled .dops-foldable-card__action{cursor:default}.accessible-focus .dops-foldable-card__action:focus{outline:thin dotted}button.dops-foldable-card__action{cursor:pointer;outline:0}.dops-foldable-card__main{max-width:calc(100% - 36px);display:block;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;width:100%;margin-right:5px}@media (max-width:480px){.dops-foldable-card__main{-ms-flex:1 1;flex:1 1}}.dops-foldable-card__secondary{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1;flex:1 1;-ms-flex-pack:end;justify-content:flex-end}.dops-foldable-card__expand{width:48px}.dops-foldable-card__expand .gridicon{fill:#87a6bc;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;vertical-align:middle;transition:transform .15s cubic-bezier(.175,.885,.32,1.275),color .2s ease-in}.dops-foldable-card.is-expanded .dops-foldable-card__expand .gridicon{transform:rotate(180deg)}.dops-foldable-card__expand .gridicon:hover{fill:#87a6bc}.dops-foldable-card__expand:focus .gridicon,.dops-foldable-card__expand:hover .gridicon{fill:#00aadc}.dops-foldable-card__header-text{font-size:1.125rem;width:100%}.dops-foldable-card__subheader{margin-top:.125rem;margin-bottom:.125rem;font-size:.875rem;color:#4f748e}.dops-foldable-card__content{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__content{display:block;padding:16px;border-top:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card.is-expanded .dops-foldable-card__content{padding:8px}.dops-foldable-card.is-expanded .dops-foldable-card__content p:first-child{margin-top:0}.dops-foldable-card.is-expanded .dops-foldable-card__content p:last-child{margin-bottom:0}.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{margin-right:40px;color:#87a6bc;font-size:12px;transition:opacity .2s linear;display:inline-block}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{transition:none;-ms-flex:2;flex:2;text-align:right}@media (max-width:480px){.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{display:none}}.dops-foldable-card__summary{opacity:1;display:inline-block}.dops-foldable-card.is-expanded .dops-foldable-card__summary,.dops-foldable-card__summary_expanded,.has-expanded-summary .dops-foldable-card.is-expanded .dops-foldable-card__summary{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__summary_expanded{display:inline-block}.tip-hide{opacity:0}.popover{font-size:11px;padding:10px;z-index:1000;position:absolute;top:0;left:0;right:auto}.popover .tip-inner{background-color:#fff;border:1px solid #c8d7e1;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);text-align:center}.popover .tip-arrow{border:10px dashed #c8d7e1;height:0;line-height:0;position:absolute;width:0;z-index:1}.popover.fade{transition:opacity .1s}.popover.tip-top-left .tip-arrow,.popover.tip-top-right .tip-arrow,.popover.tip-top .tip-arrow{bottom:0;left:50%;margin-left:-10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.popover.tip-top-left .tip-arrow:before,.popover.tip-top-right .tip-arrow:before,.popover.tip-top .tip-arrow:before{bottom:2px;border:10px solid #fff;content:" ";position:absolute;left:50%;margin-left:-10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.popover.tip-bottom-left .tip-arrow,.popover.tip-bottom-right .tip-arrow,.popover.tip-bottom .tip-arrow{top:0;left:50%;margin-left:-10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.popover.tip-bottom-left .tip-arrow:before,.popover.tip-bottom-right .tip-arrow:before,.popover.tip-bottom .tip-arrow:before{top:2px;border:10px solid #fff;content:" ";position:absolute;left:50%;margin-left:-10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.popover.tip-left-bottom .tip-arrow,.popover.tip-left-top .tip-arrow,.popover.tip-left .tip-arrow{right:0;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-left-bottom .tip-arrow:before,.popover.tip-left-top .tip-arrow:before,.popover.tip-left .tip-arrow:before{right:2px;border:10px solid #fff;content:" ";position:absolute;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow,.popover.tip-right-top .tip-arrow,.popover.tip-right .tip-arrow{left:0;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow:before,.popover.tip-right-top .tip-arrow:before,.popover.tip-right .tip-arrow:before{left:2px;border:10px solid #fff;content:" ";position:absolute;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-bottom-left,.popover.tip-bottom-right,.popover.tip-top-left,.popover.tip-top-right{padding-right:0;padding-left:0}.popover.tip-bottom-left .tip-arrow,.popover.tip-top-left .tip-arrow{left:auto;right:5px}.popover.tip-bottom-right .tip-arrow,.popover.tip-top-right .tip-arrow{left:15px}.popover.tip-bottom-left .tip-inner,.popover.tip-top-left .tip-inner{position:relative;left:10px}.popover.tip-bottom-right .tip-inner,.popover.tip-top-right .tip-inner{position:relative;left:-10px}.popover.is-dialog-visible{z-index:100300}.popover__menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:200px}.popover__menu-item{position:relative;background:inherit;border:none;border-radius:0;color:#2e4453;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;text-align:left;transition:all .05s ease-in-out}.popover__menu-item:first-child{margin-top:5px}.popover__menu-item:focus,.popover__menu-item:hover{background-color:#00aadc;border:0;box-shadow:none;color:#fff}.popover__menu-item:focus .gridicon,.popover__menu-item:hover .gridicon{color:#fff}.popover__menu-item[disabled]:focus,.popover__menu-item[disabled]:hover{background:transparent;cursor:default}.popover__menu-item:last-child{margin-bottom:5px}.popover__menu-item::-moz-focus-inner{border:0}.popover__menu-item.has-icon{padding-left:42px}.popover__menu-item .gridicon{color:#a8bece;vertical-align:bottom;margin-right:8px}.popover__hr{margin:8px 0;background:#e9eff3}.dops-chart__empty_notice:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-chart{position:relative;box-sizing:border-box;background-color:#fff;padding:8px 0 8px 20px}.dops-chart .dops-chart__y-axis-markers{position:absolute;top:8px;left:0;right:0;height:200px}.dops-chart .dops-chart__y-axis-marker{position:absolute;top:0;width:100%;height:1px;border-top:1px solid #e9eff3}.dops-chart__bar-marker{z-index:1;position:absolute;top:0;width:100%;height:1px;border-top:1px solid rgba(233,239,243,.1)}.dops-chart .dops-chart__y-axis-marker.is-fifty,.dops-chart__bar-marker.is-fifty,.dops-chart__y-axis-label.is-fifty{top:50%}.dops-chart .dops-chart__y-axis-marker.is-zero,.dops-chart__bar-marker.is-zero,.dops-chart__y-axis-label.is-zero{top:100%}.dops-chart__y-axis{position:relative;float:right;height:200px;padding:0 20px 0 10px;font-size:11px;color:#668eaa;margin-bottom:30px}.dops-chart__y-axis-label{position:absolute;top:0;right:20px;text-align:right}.dops-chart__y-axis-width-fix{color:hsla(0,0%,100%,0)}.dops-chart__x-axis{position:relative;font-size:0;padding:5px 0;min-height:18px;color:#3d596d}.dops-chart__x-axis-label{position:absolute;display:inline-block;vertical-align:top;font-size:11px;text-align:center}.dops-chart__x-axis-label:before{content:'';display:block;position:absolute;top:-4px;left:50%;margin-left:-.5px;width:1px;height:5px;background:#f3f6f8;background-image:linear-gradient(180deg,#f3f6f8 0,#c8d7e1)}.dops-chart__bars{font-size:0;overflow:hidden;display:-ms-flex;display:-ms-flexbox;display:flex}.dops-chart__bar,.dops-chart__bars{position:relative;height:200px;text-align:center}.dops-chart__bar{display:inline-block;-ms-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1}.dops-chart__bar.is-weekend{background-color:rgba(233,239,243,.5)}.dops-chart__bar:hover{cursor:pointer;background-color:rgba(233,239,243,.3)}.dops-chart__bar.is-selected{cursor:default;background-color:rgba(240,130,30,.1)}.dops-chart__bar-section{display:inline-block;background-color:#0087be;position:absolute;top:0;right:16%;bottom:0;left:16%;z-index:2}.dops-chart__bar:hover .dops-chart__bar-section.is-bar{background-color:#00aadc}.dops-chart__bar.is-selected .dops-chart__bar-section.is-bar{background-color:#f0821e}.dops-chart__bar-section.is-spacer{z-index:0;background-color:hsla(0,0%,100%,0)}.dops-chart__bar-section.is-ghost:after{content:"";display:block;position:absolute;top:160px;bottom:0;left:0;z-index:1;width:100%;height:40px;background-image:linear-gradient(180deg,hsla(0,0%,100%,0),rgba(233,239,243,.5))}.dops-chart__bar:hover .dops-chart__bar-section.is-ghost:after{display:none}.dops-chart__bar-section-inner{background:#004069;position:absolute;right:23.33%;bottom:0;left:23.33%}.dops-chart__bar.is-selected .dops-chart__bar-section-inner{background-color:#d54e21}.dops-chart__legend{margin-bottom:-8px}.dops-chart__legend:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-chart__legend .dops-chart__legend-options{float:right;color:#537994;list-style-type:none;margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.1em}@media (max-width:480px){.dops-chart__legend .dops-chart__legend-options{width:100%}}.dops-chart__legend-option{display:inline;text-align:left}@media (max-width:480px){.dops-chart__legend-option{width:50%;display:inline-block}}.dops-chart__legend-label{display:inline-block;padding:12px 19px 10px 20px}.dops-chart__legend-label.is-selectable{cursor:pointer}.dops-chart__legend-label.is-selectable:focus,.dops-chart__legend-label.is-selectable:hover{color:tint(#00aadc,20%)}@media (max-width:480px){.dops-chart__legend-label{display:block}}.dops-chart__legend-option .dops-chart__legend-color{width:10px;height:10px;background:#0087be;display:inline-block;border-radius:1px;vertical-align:top;margin:3px 5px 3px 8px}@media (max-width:480px){.dops-chart__legend-option:first-child .dops-chart__legend-color{margin-left:2px}}.dops-chart__legend-color.is-dark-blue{background:#004069}.dops-chart__legend-option .dops-chart__legend-checkbox{margin:0;float:none;vertical-align:top}.dops-chart__empty{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;font-size:14px;line-height:24px;clear:both;z-index:1}.dops-chart__empty_notice{position:relative;top:97px;padding:11px 24px;margin-bottom:24px;border-radius:1px;background:#fff;box-sizing:border-box;font-size:14px;line-height:1.4285;animation:appear .3s ease-in-out;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-chart__empty_notice{padding:13px 48px;font-size:inherit}.dops-chart__empty_notice:before{content:'\F348';position:absolute;top:23px;left:20px;margin:-12px 0 0 -8px;font-size:24px;line-height:1}}.dops-chart__tooltip{z-index:1000;position:absolute;top:0;left:0;right:auto}.dops-chart__tooltip.tip-bottom-left .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-left .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;left:211px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-left .tip-arrow:before{left:-18px;top:-3px}.dops-chart__tooltip.tip-bottom-right .tip-arrow,.dops-chart__tooltip.tip-bottom .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.dops-chart__tooltip.tip-bottom .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;left:11px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{left:-238px;top:-3px}.dops-chart__tooltip.tip-top .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-top .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-top-color:#3d596d;position:absolute;left:118px;top:-4px}.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{left:-93px}.dops-chart__tooltip .tip-inner{border:0;box-shadow:none;border-radius:2px;color:#fff;background:#3d596d;font-size:11px;padding:6px 10px;margin-top:4px;width:230px;text-align:left}.dops-chart__tooltip .tip-inner ul{list-style:none;margin:0;padding:0}.dops-chart__tooltip .tip-inner ul:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-chart__tooltip .tip-inner ul li{font-size:11px;text-transform:uppercase;font-weight:100;height:24px;letter-spacing:.1em;border:0}.dops-chart__tooltip .tip-inner ul li .wrapper{display:block;line-height:inherit;line-height:24px;clear:both}.dops-chart__tooltip .tip-inner ul li .value{text-align:right;float:right;min-width:22px;color:#c8d7e1}.dops-chart__tooltip .tip-inner ul li .label{display:block;overflow:hidden;word-break:break-all;vertical-align:baseline}.dops-chart__tooltip .tip-inner ul li .gridicon{vertical-align:middle;margin-right:6px;margin-top:-3px}.dops-chart__tooltip.is-streak{margin-top:-5px;height:35px}.dops-chart__tooltip.is-streak .tip-arrow:before{left:85px;top:30px}.dops-chart__tooltip.is-streak .tip-inner{width:160px;position:relative;top:-10px}.dops-chart__tooltip.is-streak .tip-inner li{height:14px}.dops-chart__tooltip.is-streak .tip-inner li .label{width:100%;float:left;text-align:center}.rtl .dops-chart__tooltip.is-streak .tip-inner li .label{font-size:11px}.dops-chart__tooltip.is-streak .tip-inner li .label .post-count{font-weight:700}.dops-chart__tooltip.is-streak .tip-inner li .value{float:none}.dops-chart__tooltip .dops-module-content-list-item.is-date-label{font-size:11px;margin-bottom:2px;text-transform:uppercase;font-weight:700;border-bottom:1px solid #426177;padding-bottom:2px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item{height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .label{text-transform:none;color:#c8d7e1;overflow:hidden;letter-spacing:0;height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value{width:0;min-width:0}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value:before{content:'';position:relative;background-image:linear-gradient(90deg,rgba(61,89,109,0) 0,rgba(61,89,109,.5),#3d596d);left:-30px;width:30px;height:24px;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-notice{display:-ms-flexbox;display:flex;position:relative;margin-bottom:24px;border-radius:1px;background:#e9eff3;box-sizing:border-box;font-size:14px;animation:appear .3s ease-in-out}@media (min-width:661px){.dops-notice{font-size:inherit}}.dops-notice.is-success{background:#4ab866}.dops-notice.is-warning{background:#f0b849}.dops-notice.is-error{background:#d94f4f}.dops-notice.is-info{background:#0087be}.dops-notice.is-error,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-error .dops-notice__text a,.dops-notice.is-info,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-info .dops-notice__text a,.dops-notice.is-success,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-success .dops-notice__text a,.dops-notice.is-warning,.dops-notice.is-warning .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__text a{color:#fff}.dops-notice.is-basic{background:#fff;color:#87a6bc}.dops-notice.is-basic,.dops-notice.is-basic .dops-notice__dismiss:focus{box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-notice.is-basic:before{display:none}}.dops-notice.is-basic .dops-notice__text{padding:11px 24px}@media (min-width:661px){.dops-notice.is-basic .dops-notice__text{padding:13px}}.dops-notice__icon{-ms-flex-negative:0;flex-shrink:0;padding:13px 0 13px 16px}@media (max-width:660px){.dops-notice__icon{display:none}}.dops-notice__content{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}@media (max-width:480px){.dops-notice__content{-ms-flex-direction:column;flex-direction:column}}.dops-notice__text{font-size:15px;padding:11px 24px}.dops-notice__text>div,.dops-notice__text>span{max-width:680px}@media (min-width:661px){.dops-notice__text{padding:13px}}.dops-notice__text a{text-decoration:underline}.dops-notice__text ul{margin-bottom:0;margin-left:0}.dops-notice__text li{margin-left:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-left:.428em}.dops-notice__dismiss{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;padding:11px 16px;cursor:pointer;color:#87a6bc}@media (min-width:661px){.dops-notice__dismiss{padding:13px 16px}}.dops-notice__dismiss:focus,.dops-notice__dismiss:hover{color:#2e4453}.dops-notice .dops-notice__dismiss{color:#87a6bc;opacity:.85}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{opacity:1}a.dops-notice__action{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;box-sizing:border-box;cursor:pointer;font-size:15px;font-weight:400;margin-left:auto;padding:13px 16px;text-decoration:none;white-space:nowrap}.is-error a.dops-notice__action,.is-info a.dops-notice__action,.is-success a.dops-notice__action,.is-warning a.dops-notice__action{color:#fff}.is-success a.dops-notice__action{background:#338247}.is-error a.dops-notice__action{background:#b52727}.is-warning a.dops-notice__action{background:#da9712}.is-info a.dops-notice__action{background:#005172}a.dops-notice__action .gridicon{margin-left:8px;opacity:.7}a.dops-notice__action:focus,a.dops-notice__action:hover{background:hsla(0,0%,100%,.2)}@media (max-width:480px){a.dops-notice__action{margin:0;-ms-flex-pack:end;justify-content:flex-end}}.dops-notice.is-compact{border-radius:2px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;min-height:20px;margin:0;padding:0;text-decoration:none;text-transform:none;vertical-align:middle}.dops-notice.is-compact.is-error,.dops-notice.is-compact.is-info,.dops-notice.is-compact.is-success,.dops-notice.is-compact.is-warning{color:#fff}.dops-notice.is-compact .dops-notice__text{font-size:12px;padding:6px 8px;line-height:1}.dops-notice.is-compact .dops-notice__icon{-ms-flex-item-align:center;align-self:center;-ms-flex-negative:0;flex-shrink:0;margin:0 0 0 8px;padding:0;width:18px;height:18px;vertical-align:middle}.dops-notice.is-compact .dops-notice__dismiss{display:none}.dops-notice.is-compact a.dops-notice__action{background:transparent;display:inline-block;font-size:11px;font-weight:600;-ms-flex-item-align:center;align-self:center;margin-left:16px;padding:0 8px;text-decoration:underline;text-transform:uppercase}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent;text-decoration:none}.dops-notice.is-compact a.dops-notice__action .gridicon{margin-left:8px;width:14px;height:14px;vertical-align:sub;opacity:1}.dops-section-header.dops-card{display:-ms-flexbox;display:flex;padding-top:.6875rem;padding-bottom:.6875rem;position:relative}.dops-section-header.dops-card:after{content:''}.dops-section-header__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;line-height:1.75rem;position:relative;color:#87a6bc;font-size:.875rem}.dops-section-header__label:before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.dops-section-header__card-badge,.dops-section-header__label .dops-count{margin-left:.5rem}.dops-section-header__actions{-ms-flex-positive:0;flex-grow:0;position:relative}.dops-section-header__actions:after{content:".";display:block;height:0;clear:both;visibility:hidden}.section-header__actions .button{float:left;margin-right:.5rem}.section-header__actions .button:last-child{margin-right:0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{position:relative;display:inline-block;border-radius:12px;box-sizing:border-box;padding:2px;width:40px;height:24px;background:#a8bece;vertical-align:middle;outline:0;cursor:pointer;transition:all .4s ease,box-shadow 0}.form-toggle__switch:after,.form-toggle__switch:before{position:relative;display:block;content:"";width:20px;height:20px}.form-toggle__switch:after{left:0;border-radius:50%;background:#fff;transition:all .2s ease}.form-toggle__switch:before{display:none}.form-toggle__switch:hover{background:#c8d7e1}.accessible-focus .form-toggle__switch:focus,.form-toggle__switch:focus{box-shadow:0 0 0 2px #00aadc}.form-toggle__label{cursor:pointer;width:auto;float:none}.accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #00aadc}.accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{left:16px}.form-toggle:checked:hover+.form-toggle__label .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+.form-toggle__label .form-toggle__switch,.form-toggle:disabled:hover+.form-toggle__label .form-toggle__switch{background:#e9eff3}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#c8d7e1}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;width:24px;height:16px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{width:12px;height:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{left:8px}.dops-text-input.dops-text-input{box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-text-input.dops-text-input::-webkit-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::-moz-placeholder{color:#87a6bc}.dops-text-input.dops-text-input:-ms-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::placeholder{color:#87a6bc}.dops-text-input.dops-text-input:hover{border-color:#a8bece}.dops-text-input.dops-text-input:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-text-input.dops-text-input:focus::-ms-clear{display:none}.dops-text-input.dops-text-input:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-text-input.dops-text-input:disabled:hover{cursor:default}.dops-text-input.dops-text-input:disabled::-webkit-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::-moz-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled:-ms-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::placeholder{color:#a8bece}.dops-text-input.dops-text-input{-webkit-appearance:none}.dops-text-input.dops-text-input.is-valid{border-color:#4ab866}.dops-text-input.dops-text-input.is-valid:hover{border-color:#3a9551}.dops-text-input.dops-text-input.is-error{border-color:#d94f4f}.dops-text-input.dops-text-input.is-error:hover{border-color:#c92c2c}.dops-text-input.dops-text-input:focus.is-valid{box-shadow:0 0 0 2px #caead2}.dops-text-input.dops-text-input:focus.is-valid:hover{box-shadow:0 0 0 2px #a6dcb3}.dops-text-input.dops-text-input:focus.is-error{box-shadow:0 0 0 2px #f9e2e2}.dops-text-input.dops-text-input:focus.is-error:hover{box-shadow:0 0 0 2px #f0b8b8}.dops-textarea{box-sizing:border-box;margin:0;padding:.4375rem .875rem;min-height:5.75rem;width:100%;color:#2e4453;font-size:1rem;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-textarea::-webkit-input-placeholder{color:#87a6bc}.dops-textarea::-moz-placeholder{color:#87a6bc}.dops-textarea:-ms-input-placeholder{color:#87a6bc}.dops-textarea::placeholder{color:#87a6bc}.dops-textarea:hover{border-color:#a8bece}.dops-textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-textarea:focus::-ms-clear{display:none}.dops-textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-textarea:disabled:hover{cursor:default}.dops-textarea:disabled::-webkit-input-placeholder{color:#a8bece}.dops-textarea:disabled::-moz-placeholder{color:#a8bece}.dops-textarea:disabled:-ms-input-placeholder{color:#a8bece}.dops-textarea:disabled::placeholder{color:#a8bece}.dops-clipboard-button-input{position:relative;display:block}.dops-clipboard-button-input .dops-clipboard-button{position:absolute;top:50%;right:4px;transform:translateY(-50%);overflow:visible}.dops-clipboard-button-input .dops-clipboard-button:not(:disabled):before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:16px;height:auto;right:calc(100% + 1px)}.dops-clipboard-button-input .dops-clipboard-button:focus:before{right:calc(100% + 3px)}.dops-checkbox.dops-checkbox{display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.dops-checkbox.dops-checkbox:checked:before{content:'\F147';margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.dops-checkbox.dops-checkbox:disabled:checked:before{color:#a8bece}.dops-checkbox.dops-checkbox:hover{border-color:#a8bece}.dops-checkbox.dops-checkbox:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-checkbox.dops-checkbox:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.dops-checkbox.dops-checkbox:disabled:hover{cursor:default}.dops-checkbox.dops-checkbox+span{display:block;margin-left:24px}.dops-external-link .gridicons-external{color:currentColor;margin-left:.5rem;top:.125rem;position:relative}.notices-list{overflow:hidden}.notices-list.is-pinned{width:calc(100% - 272px - 32px - 32px);z-index:z-index("root",".notices-list.is-pinned");position:fixed;top:79px}.notices-list.is-pinned .notice{z-index:z-index("root",".notices-list.is-pinned .notice")}.notices-list__whitespace{height:71px;width:100%;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{overflow:hidden;text-align:right;z-index:100;position:fixed;top:auto;right:0;bottom:0;left:0}@media (min-width:661px){.global-notices{top:63px;right:16px;bottom:auto;left:auto;max-width:calc(100% - 32px)}}@media (min-width:961px){.global-notices{top:71px;right:24px;max-width:calc(100% - 48px)}}@media (min-width:1041px){.global-notices{right:32px;max-width:calc(100% - 64px)}}.global-notices .dops-notice{-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-bottom:0;text-align:left;pointer-events:auto}@media (min-width:661px){.global-notices .dops-notice{display:-ms-flexbox;display:flex;border-radius:20px;overflow:hidden;margin-bottom:24px}}@media (min-width:661px){.global-notices .dops-notice__icon{padding:8px 0 8px 16px}}.global-notices .dops-notice__text{padding-left:16px;-ms-flex-preferred-size:auto;flex-basis:auto;-ms-flex-positive:1;flex-grow:1}@media (min-width:661px){.global-notices .dops-notice__text{-ms-flex-positive:0;flex-grow:0;padding:9px 13px}}@media (min-width:661px){.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:9px 16px}}.global-notices .dops-notice__dismiss{-ms-flex-negative:0;flex-shrink:0}@media (min-width:661px){.global-notices .dops-notice__dismiss{padding:8px 16px}}
|
1 |
+
.dops-count{display:inline-block;padding:.0625rem .375rem;border:1px solid #87a6bc;border-radius:.75rem;font-size:.6875rem;font-weight:600;line-height:.875rem;color:#87a6bc;text-align:center}.dops-select-dropdown.is-open .dops-select-dropdown__header:after,.dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-select-dropdown{height:43px}.dops-select-dropdown.is-compact{height:28px}.dops-select-dropdown__container{position:relative;overflow:hidden;display:inline-block;width:auto;max-width:100%}.dops-select-dropdown.is-open .dops-select-dropdown__container{z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container,.dops-accessible-focus .dops-select-dropdown__container:focus{z-index:170;box-shadow:0 0 0 2px #78dcfa}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container .select-dropdown__header,.dops-accessible-focus .dops-select-dropdown__container:focus .select-dropdown__header{border-color:#0087be}.dops-accessible-focus .dops-select-dropdown__container:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;border-radius:4px}.dops-select-dropdown__header{padding:11px 44px 11px 16px;border-style:solid;border-color:#c8d7e1;border-width:1px 1px 2px;border-radius:4px;background-color:#fff;font-size:14px;font-weight:600;line-height:18px;height:18px;color:#2e4453;transition:background-color .2s ease;cursor:pointer}.dops-select-dropdown__header:after{content:'\F347';position:absolute;right:13px;top:12px;display:block;line-height:18px;color:rgba(135,166,188,.5)}.is-compact .dops-select-dropdown__header:after{right:4px;top:4px}.is-compact .dops-select-dropdown__header{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.is-compact .dops-select-dropdown__header .dops-count{border-width:0;margin-left:0;line-height:1}.dops-select-dropdown.is-open .dops-select-dropdown__header{border-radius:4px 4px 0 0;box-shadow:none;background-color:#f3f6f8}.dops-select-dropdown.is-open .dops-select-dropdown__header:after{content:'\F343'}.dops-select-dropdown__header .dops-count{margin-left:8px}.dops-select-dropdown__header-text{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-select-dropdown__options{visibility:hidden;height:0;box-sizing:border-box;padding:0;list-style:none;margin:-2px 0 0;background-color:#fff;border:1px solid #c8d7e1;border-radius:0 0 4px 4px}.dops-accessible-focus .dops-select-dropdown__options{border:1px solid #0087be;border-top-color:#c8d7e1}.dops-select-dropdown.is-open .dops-select-dropdown__options{visibility:visible;height:auto}.dops-select-dropdown__option:last-child .dops-select-dropdown__item{border-radius:0 0 4px 4px}.dops-select-dropdown__item,.dops-select-dropdown__item-text{padding:11px 44px 11px 16px}.dops-select-dropdown__item{display:block;position:relative;font-size:14px;font-weight:400;line-height:18px;color:#2e4453;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer}.dops-select-dropdown__item:before{content:attr(data-bold-text);font-weight:700;opacity:0}.dops-select-dropdown__item:visited{color:#2e4453}.dops-select-dropdown__item.is-selected{background-color:#00aadc;color:#fff}.dops-select-dropdown__item.is-disabled{background-color:#fff;color:#87a6bc;cursor:default;opacity:.5}.notouch .dops-select-dropdown__item:hover{color:#00aadc}.notouch .dops-select-dropdown__item.is-selected:hover{color:#fff}.dops-select-dropdown__item-text{padding-right:16px;box-sizing:border-box;position:absolute;top:0;left:0;width:100%;white-space:nowrap;text-overflow:ellipsis;color:inherit;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between}.dops-select-dropdown__item-text .dops-count{color:inherit;border-color:inherit}.dops-select-dropdown__separator{border-top:1px solid #c8d7e1;display:block;margin:8px 0}.dops-select-dropdown__label{display:block;color:#a8bece;margin-top:5px;line-height:20px}.dops-select-dropdown__label label{font-size:12px;text-transform:uppercase;padding:0 16px}@keyframes rotate-spinner__right{0%{transform:rotate(0deg)}25%{transform:rotate(180deg)}50%{transform:rotate(180deg)}75%{transform:rotate(1turn)}to{transform:rotate(1turn)}}@keyframes rotate-spinner__left{0%{transform:rotate(0deg)}25%{transform:rotate(0deg)}50%{transform:rotate(180deg)}75%{transform:rotate(180deg)}to{transform:rotate(1turn)}}.dops-spinner.is-fallback{position:relative;border-radius:100%;background-color:#c8d7e1}.dops-spinner.is-fallback:after,.dops-spinner.is-fallback:before{content:'';position:absolute;background-color:#fff;border-radius:50%}.dops-spinner.is-fallback:before{width:90%;height:90%;top:5%;left:5%}.dops-spinner.is-fallback:after{width:70%;height:70%;top:15%;left:15%}.dops-spinner__image{display:block}.dops-spinner__border{fill:#c8d7e1}.dops-spinner__progress{animation:3s linear infinite;transform-origin:50px 50px;fill:#00aadc}.dops-spinner.is-fallback .dops-spinner__progress{position:absolute;overflow:hidden;width:50%;height:100%;animation:none}.dops-spinner.is-fallback .dops-spinner__progress:before{content:'';position:absolute;width:100%;height:100%;animation:3s linear infinite;border-radius:9999px;background-color:#00aadc;fill:none}.dops-spinner.is-fallback .dops-spinner__progress.is-left{left:0}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before{left:100%;border-top-left-radius:0;border-bottom-left-radius:0;transform-origin:0 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right{left:50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before{left:-100%;border-top-right-radius:0;border-bottom-right-radius:0;transform-origin:100% 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before,.dops-spinner__progress.is-left{animation-name:rotate-spinner__left}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before,.dops-spinner__progress.is-right{animation-name:rotate-spinner__right}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(1px,1px)}.gridicon.needs-offset-x g{transform:translate(1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-search{margin-bottom:24px;width:60px;height:51px;position:relative;z-index:22}@media (max-width:660px){.dops-search{width:50px}}.dops-search .dops-search-open__icon{position:absolute;top:50%;margin-top:-12px;width:60px;z-index:20;color:#0087be;cursor:pointer}.dops-accessible-focus .dops-search .dops-search-open__icon:focus{outline:1px dotted #0087be}@media (max-width:660px){.dops-search .dops-search-open__icon{width:50px}}.dops-search .dops-search-open__icon:hover{color:#3d596d}.dops-search .dops-search-close__icon{position:absolute;bottom:0;top:50%;right:0;margin-top:-12px;width:60px;cursor:pointer;z-index:20;color:#3d596d;display:none;opacity:0;transition:opacity .2s ease-in}.dops-accessible-focus .dops-search .dops-search-close__icon:focus{outline:1px dotted #0087be}.dops-search .dops-search-close__icon:before{position:absolute;left:0;right:0;top:50%;margin-top:-8px;font-size:16px;text-align:center}@media (max-width:660px){.dops-search .dops-search-close__icon:before{font-size:14px;margin-top:-7px}}@media (max-width:660px){.dops-search .dops-search-close__icon{width:50px}}.dops-search.is-pinned{margin-bottom:0;height:auto;position:absolute;bottom:0;top:0;right:0;z-index:170}.dops-search.is-pinned .dops-search-open__icon{right:0}.dops-search.is-pinned .dops-search__input[type=search]{height:100%}.dops-search__input[type=search]{display:none;position:absolute;z-index:10;top:0;margin:0;padding:0 50px 0 60px;border:none;background:#fff;height:51px;-moz-appearance:none;appearance:none;box-sizing:border-box;-webkit-appearance:none;box-shadow:none}@media (max-width:660px){.dops-search__input[type=search]{opacity:0;left:0;padding-left:50px}}.dops-search__input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.dops-search__input[type=search]:focus{box-shadow:none;border:none}.dops-search.is-open{margin-right:0!important;width:100%}.dops-search.is-open .dops-search-open__icon{color:#3d596d;left:0}.dops-search.is-open .dops-search-close__icon{display:inline-block}.dops-search.is-open .dops-search-close__icon,.dops-search.is-open .dops-search__input{opacity:1}.dops-search.is-open .dops-search__input{display:block}.dops-search .dops-spinner{display:none;position:absolute;top:50%;left:30px;transform:translate(-50%,-50%)}@media (max-width:660px){.dops-search .dops-spinner{left:25px}}.dops-search.is-searching .dops-search-open__icon{display:none}.dops-search.is-searching .dops-spinner{display:block;z-index:20}@media (max-width:660px){.animating.dops-search-opening .dops-search input{opacity:1}}.dops-section-nav.is-open .dops-section-nav__mobile-header:after,.dops-section-nav__mobile-header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-section-nav{position:relative;width:100%;padding:0;margin:0 0 17px;background:#fff;box-sizing:border-box;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-section-nav.is-empty .dops-section-nav__panel{visibility:hidden}@media (max-width:480px){.dops-section-nav.is-open{box-shadow:0 0 0 1px #87a6bc,0 2px 4px #c8d7e1}}@media (min-width:481px){.dops-section-nav.has-pinned-items{padding-right:60px}}@media (min-width:481px) and (max-width:660px){.dops-section-nav.has-pinned-items{padding-right:50px}}@media (max-width:660px){.dops-section-nav{margin-bottom:9px}}.dops-section-nav__mobile-header{display:-ms-flexbox;display:flex;padding:15px;font-size:14px;line-height:16px;color:#2e4453;font-weight:600;cursor:pointer}.dops-section-nav__mobile-header:after{content:'\F347';line-height:16px;color:rgba(135,166,188,.5)}.dops-section-nav.is-open .dops-section-nav__mobile-header:after{content:'\F343'}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header{padding-right:50px}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header:after{margin-left:8px}@media (min-width:481px){.dops-section-nav__mobile-header{display:none}}.dops-section-nav__mobile-header-text{width:0;-ms-flex:1 0 auto;flex:1 0 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav__mobile-header-text small{margin-left:5px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header-text{width:auto;-ms-flex:0 1 auto;flex:0 1 auto}.dops-section-nav__panel{box-sizing:border-box;width:100%}@media (max-width:480px){.dops-section-nav.is-open .dops-section-nav__panel{padding-bottom:15px;border-top:1px solid #c8d7e1;background:linear-gradient(180deg,#f3f6f8 0,#fff 4px)}}@media (min-width:481px){.dops-section-nav__panel{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.dops-section-nav__panel:first-child{width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav-group{position:relative;margin-top:16px;padding-top:16px;border-top:1px solid #c8d7e1}.dops-section-nav-group:first-child{padding-top:0;border-top:none}@media (max-width:480px){.dops-section-nav-group{display:none}.dops-section-nav.is-open .dops-section-nav-group{display:block}}@media (min-width:481px){.dops-section-nav-group{margin-top:0;padding-top:0;border-top:none}.dops-section-nav-group:first-child{display:-ms-flexbox;display:flex;width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav__button{width:100%;margin-top:24px}.dops-section-nav__hr{background:#e9eff3}.dops-section-nav-group__label{display:none;margin-bottom:8px;padding:0 15px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase;line-height:12px}@media (max-width:480px){.has-siblings .dops-section-nav-group__label{display:block}}.dops-section-nav-group__label-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-section-nav-tab .count{margin-left:8px}@media (min-width:481px){.dops-section-nav-tabs{width:0;-ms-flex:1 0 auto;flex:1 0 auto}.dops-section-nav-tabs.is-dropdown{position:relative;width:auto;-ms-flex:0 1 auto;flex:0 1 auto;margin:8px}}.dops-section-nav-tabs__list{margin:0;list-style:none}@media (min-width:481px){.dops-section-nav-tabs__list{display:-ms-flexbox;display:flex;width:100%;overflow:hidden}.is-dropdown .dops-section-nav-tabs__list{display:none}}.dops-section-nav-tab{margin-bottom:0}@media (min-width:481px){.dops-section-nav-tab{width:auto;-ms-flex:none;flex:none;border-bottom:2px solid transparent;border-top:none;text-align:center}.dops-section-nav-tab.is-selected{border-bottom-color:#2e4453}}.dops-section-nav-tab__link,.dops-section-nav-tab__text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav-tab__link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box;padding:15px;width:100%;font-size:14px;font-weight:600;line-height:18px;color:#2e4453;cursor:pointer}.dops-section-nav-tab__link:visited{color:#2e4453}.dops-section-nav-tab__link[disabled],.notouch .dops-section-nav-tab__link[disabled]:hover{color:#e9eff3;cursor:default}.is-selected .dops-section-nav-tab__link{color:#fff;background-color:#00aadc}.dops-section-nav-tab__link:focus{outline:none;box-shadow:none}.accessible-focus .dops-section-nav-tab__link:focus{outline:1px solid #87a6bc}.is-external .dops-section-nav-tab__link:after{font-size:18px;padding-left:2px}.notouch .dops-section-nav-tab__link:hover{color:#00aadc}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#fff}@media (min-width:481px){.dops-section-nav-tab__link{display:block;width:auto;padding:16px 16px 14px;color:#0087be;font-weight:400}.dops-section-nav-tab__link:visited{color:#0087be}.is-selected .dops-section-nav-tab__link{color:#2e4453;background-color:transparent}.is-selected .dops-section-nav-tab__link:after{display:none}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#2e4453}}.dops-section-nav-tab__text{display:block;-ms-flex:1 0 auto;flex:1 0 auto;width:0;color:inherit}@media (min-width:481px){.dops-section-nav-tab__text{display:inline;-ms-flex:none;flex:none;width:auto}}.dops-section-nav-tabs__dropdown{position:relative;z-index:3;width:100%}.dops-section-nav-tabs__dropdown.is-open{z-index:4}.dops-section-nav-tabs__dropdown .dops-select-dropdown__container{position:static}.dops-section-nav__segmented .dops-segmented-control{margin:0 15px}.dops-section-nav__segmented .dops-segmented-control__link{padding:3px 16px 5px}@media (max-width:480px){.dops-section-nav .dops-search.is-pinned{height:46px}}.dops-card{position:relative;margin:0 auto .625rem;padding:1rem;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card{margin-bottom:1rem;padding:1.5rem}}.dops-card.is-compact{margin-bottom:1px}@media (min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:1rem 1.5rem}}.dops-card-title{background-color:#f9f9f9;color:#000;font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;text-transform:uppercase;border-bottom:1px solid #ddd;padding:10px 16px;margin:0}@media (min-width:481px){.dops-card-title{padding:16px 24px}}.dops-card-title .dops-card-meta{color:#aaa;float:right}.dops-card-section{font-size:14px;padding:16px;border-bottom:1px solid #ddd}.dops-card-section:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card-section{padding:24px}}.dops-card-section:last-child{border-bottom:none}.dops-card-section .dops-card-section-label{color:#000;font-size:12px;font-weight:400;text-transform:uppercase}.dops-card-section .dops-card-section-orient-vertical .dops-card-section-label{margin-bottom:10px}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{float:left;width:30%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{margin-bottom:10px;float:none;width:100%}}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:right;width:70%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:none;width:100%}}.dops-card-footer{background:#f9f9f9;padding:15px 20px}.dops-card-icon{float:right;text-transform:capitalize}.dops-card-icon .genericon{border-radius:50%;width:16px;height:16px;margin-right:10px;color:#fff;background:#81bf16}.dops-button{background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dops-button:hover{border-color:#a8bece;color:#2e4453}.dops-button:active{border-width:2px 1px 1px}.dops-button:visited{color:#2e4453}.dops-button:disabled,.dops-button[disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}.dops-button:disabled:active,.dops-button[disabled]:active{border-width:1px 1px 2px}.dops-button:focus{outline:0;border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.dops-button.is-compact{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.dops-button.is-compact:disabled{color:#e9eff3}.dops-button.is-compact .gridicon{top:4px;margin-top:-8px}.dops-button.is-compact .gridicons-plus-small{margin-left:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-left:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-left:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{position:relative;top:4px;margin-top:-2px;width:18px;height:18px}.dops-button.is-primary{background:#00aadc;border-color:#0087be;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{border-color:#005082;color:#fff}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}.dops-button.is-primary.is-compact{color:#fff}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{color:#f4cdcd;border-color:#e9eff3}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#668eaa;padding-left:0;padding-right:0}.dops-button.is-borderless:hover{color:#2e4453}.dops-button.is-borderless:focus{box-shadow:none}.dops-button.is-borderless .gridicon{width:24px;height:24px;top:6px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{color:#e9eff3;background:#fff;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{width:18px;height:18px;top:5px}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-foldable-card.dops-card{position:relative;transition:margin .15s linear;padding:0}.dops-foldable-card.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-foldable-card.dops-card.is-expanded{margin-bottom:8px}.dops-foldable-card.dops-card .is-clickable{cursor:pointer}.dops-foldable-card__header{min-height:64px;width:100%;padding:16px;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;position:relative}.dops-foldable-card__header.has-border .dops-foldable-card__summary,.dops-foldable-card__header.has-border .dops-foldable-card__summary_expanded{margin-right:48px}.dops-foldable-card__header.has-border .dops-foldable-card__expand{border-left:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card__header{padding:8px 16px;min-height:40px}.dops-foldable-card.is-expanded .dops-foldable-card__header{margin-bottom:0;height:inherit;min-height:64px}.dops-foldable-card.is-expanded.is-compact .dops-foldable-card__header{min-height:40px}.dops-foldable-card.is-disabled .dops-foldable-card__header{opacity:.2}.dops-foldable-card__action{position:absolute;top:0;right:0;height:100%;background:none;border:0}.dops-foldable-card.is-expanded .dops-foldable-card__action{height:100%}.dops-foldable-card.is-disabled .dops-foldable-card__action{cursor:default}.accessible-focus .dops-foldable-card__action:focus{outline:thin dotted}button.dops-foldable-card__action{cursor:pointer;outline:0}.dops-foldable-card__main{max-width:calc(100% - 36px);display:block;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;width:100%;margin-right:5px}@media (max-width:480px){.dops-foldable-card__main{-ms-flex:1 1;flex:1 1}}.dops-foldable-card__secondary{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1;flex:1 1;-ms-flex-pack:end;justify-content:flex-end}.dops-foldable-card__expand{width:48px}.dops-foldable-card__expand .gridicon{fill:#87a6bc;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;vertical-align:middle;transition:transform .15s cubic-bezier(.175,.885,.32,1.275),color .2s ease-in}.dops-foldable-card.is-expanded .dops-foldable-card__expand .gridicon{transform:rotate(180deg)}.dops-foldable-card__expand .gridicon:hover{fill:#87a6bc}.dops-foldable-card__expand:focus .gridicon,.dops-foldable-card__expand:hover .gridicon{fill:#00aadc}.dops-foldable-card__header-text{font-size:1.125rem;width:100%}.dops-foldable-card__subheader{margin-top:.125rem;margin-bottom:.125rem;font-size:.875rem;color:#4f748e}.dops-foldable-card__content{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__content{display:block;padding:16px;border-top:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card.is-expanded .dops-foldable-card__content{padding:8px}.dops-foldable-card.is-expanded .dops-foldable-card__content p:first-child{margin-top:0}.dops-foldable-card.is-expanded .dops-foldable-card__content p:last-child{margin-bottom:0}.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{margin-right:40px;color:#87a6bc;font-size:12px;transition:opacity .2s linear;display:inline-block}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{transition:none;-ms-flex:2;flex:2;text-align:right}@media (max-width:480px){.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{display:none}}.dops-foldable-card__summary{opacity:1;display:inline-block}.dops-foldable-card.is-expanded .dops-foldable-card__summary,.dops-foldable-card__summary_expanded,.has-expanded-summary .dops-foldable-card.is-expanded .dops-foldable-card__summary{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__summary_expanded{display:inline-block}.tip-hide{opacity:0}.popover{font-size:11px;padding:10px;z-index:1000;position:absolute;top:0;left:0;right:auto}.popover .tip-inner{background-color:#fff;border:1px solid #c8d7e1;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);text-align:center}.popover .tip-arrow{border:10px dashed #c8d7e1;height:0;line-height:0;position:absolute;width:0;z-index:1}.popover.fade{transition:opacity .1s}.popover.tip-top-left .tip-arrow,.popover.tip-top-right .tip-arrow,.popover.tip-top .tip-arrow{bottom:0;left:50%;margin-left:-10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.popover.tip-top-left .tip-arrow:before,.popover.tip-top-right .tip-arrow:before,.popover.tip-top .tip-arrow:before{bottom:2px;border:10px solid #fff;content:" ";position:absolute;left:50%;margin-left:-10px;border-top-style:solid;border-bottom:none;border-left-color:transparent;border-right-color:transparent}.popover.tip-bottom-left .tip-arrow,.popover.tip-bottom-right .tip-arrow,.popover.tip-bottom .tip-arrow{top:0;left:50%;margin-left:-10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.popover.tip-bottom-left .tip-arrow:before,.popover.tip-bottom-right .tip-arrow:before,.popover.tip-bottom .tip-arrow:before{top:2px;border:10px solid #fff;content:" ";position:absolute;left:50%;margin-left:-10px;border-bottom-style:solid;border-top:none;border-left-color:transparent;border-right-color:transparent}.popover.tip-left-bottom .tip-arrow,.popover.tip-left-top .tip-arrow,.popover.tip-left .tip-arrow{right:0;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-left-bottom .tip-arrow:before,.popover.tip-left-top .tip-arrow:before,.popover.tip-left .tip-arrow:before{right:2px;border:10px solid #fff;content:" ";position:absolute;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow,.popover.tip-right-top .tip-arrow,.popover.tip-right .tip-arrow{left:0;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow:before,.popover.tip-right-top .tip-arrow:before,.popover.tip-right .tip-arrow:before{left:2px;border:10px solid #fff;content:" ";position:absolute;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-bottom-left,.popover.tip-bottom-right,.popover.tip-top-left,.popover.tip-top-right{padding-right:0;padding-left:0}.popover.tip-bottom-left .tip-arrow,.popover.tip-top-left .tip-arrow{left:auto;right:5px}.popover.tip-bottom-right .tip-arrow,.popover.tip-top-right .tip-arrow{left:15px}.popover.tip-bottom-left .tip-inner,.popover.tip-top-left .tip-inner{position:relative;left:10px}.popover.tip-bottom-right .tip-inner,.popover.tip-top-right .tip-inner{position:relative;left:-10px}.popover.is-dialog-visible{z-index:100300}.popover__menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:200px}.popover__menu-item{position:relative;background:inherit;border:none;border-radius:0;color:#2e4453;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;text-align:left;transition:all .05s ease-in-out}.popover__menu-item:first-child{margin-top:5px}.popover__menu-item:focus,.popover__menu-item:hover{background-color:#00aadc;border:0;box-shadow:none;color:#fff}.popover__menu-item:focus .gridicon,.popover__menu-item:hover .gridicon{color:#fff}.popover__menu-item[disabled]:focus,.popover__menu-item[disabled]:hover{background:transparent;cursor:default}.popover__menu-item:last-child{margin-bottom:5px}.popover__menu-item::-moz-focus-inner{border:0}.popover__menu-item.has-icon{padding-left:42px}.popover__menu-item .gridicon{color:#a8bece;vertical-align:bottom;margin-right:8px}.popover__hr{margin:8px 0;background:#e9eff3}.dops-chart__empty_notice:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-chart{position:relative;box-sizing:border-box;background-color:#fff;padding:8px 0 8px 20px}.dops-chart .dops-chart__y-axis-markers{position:absolute;top:8px;left:0;right:0;height:200px}.dops-chart .dops-chart__y-axis-marker{position:absolute;top:0;width:100%;height:1px;border-top:1px solid #e9eff3}.dops-chart__bar-marker{z-index:1;position:absolute;top:0;width:100%;height:1px;border-top:1px solid rgba(233,239,243,.1)}.dops-chart .dops-chart__y-axis-marker.is-fifty,.dops-chart__bar-marker.is-fifty,.dops-chart__y-axis-label.is-fifty{top:50%}.dops-chart .dops-chart__y-axis-marker.is-zero,.dops-chart__bar-marker.is-zero,.dops-chart__y-axis-label.is-zero{top:100%}.dops-chart__y-axis{position:relative;float:right;height:200px;padding:0 20px 0 10px;font-size:11px;color:#668eaa;margin-bottom:30px}.dops-chart__y-axis-label{position:absolute;top:0;right:20px;text-align:right}.dops-chart__y-axis-width-fix{color:hsla(0,0%,100%,0)}.dops-chart__x-axis{position:relative;font-size:0;padding:5px 0;min-height:18px;color:#3d596d}.dops-chart__x-axis-label{position:absolute;display:inline-block;vertical-align:top;font-size:11px;text-align:center}.dops-chart__x-axis-label:before{content:'';display:block;position:absolute;top:-4px;left:50%;margin-left:-.5px;width:1px;height:5px;background:#f3f6f8;background-image:linear-gradient(180deg,#f3f6f8 0,#c8d7e1)}.dops-chart__bars{font-size:0;overflow:hidden;display:-ms-flex;display:-ms-flexbox;display:flex}.dops-chart__bar,.dops-chart__bars{position:relative;height:200px;text-align:center}.dops-chart__bar{display:inline-block;-ms-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1}.dops-chart__bar.is-weekend{background-color:rgba(233,239,243,.5)}.dops-chart__bar:hover{cursor:pointer;background-color:rgba(233,239,243,.3)}.dops-chart__bar.is-selected{cursor:default;background-color:rgba(240,130,30,.1)}.dops-chart__bar-section{display:inline-block;background-color:#0087be;position:absolute;top:0;right:16%;bottom:0;left:16%;z-index:2}.dops-chart__bar:hover .dops-chart__bar-section.is-bar{background-color:#00aadc}.dops-chart__bar.is-selected .dops-chart__bar-section.is-bar{background-color:#f0821e}.dops-chart__bar-section.is-spacer{z-index:0;background-color:hsla(0,0%,100%,0)}.dops-chart__bar-section.is-ghost:after{content:"";display:block;position:absolute;top:160px;bottom:0;left:0;z-index:1;width:100%;height:40px;background-image:linear-gradient(180deg,hsla(0,0%,100%,0),rgba(233,239,243,.5))}.dops-chart__bar:hover .dops-chart__bar-section.is-ghost:after{display:none}.dops-chart__bar-section-inner{background:#004069;position:absolute;right:23.33%;bottom:0;left:23.33%}.dops-chart__bar.is-selected .dops-chart__bar-section-inner{background-color:#d54e21}.dops-chart__legend{margin-bottom:-8px}.dops-chart__legend:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-chart__legend .dops-chart__legend-options{float:right;color:#537994;list-style-type:none;margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.1em}@media (max-width:480px){.dops-chart__legend .dops-chart__legend-options{width:100%}}.dops-chart__legend-option{display:inline;text-align:left}@media (max-width:480px){.dops-chart__legend-option{width:50%;display:inline-block}}.dops-chart__legend-label{display:inline-block;padding:12px 19px 10px 20px}.dops-chart__legend-label.is-selectable{cursor:pointer}.dops-chart__legend-label.is-selectable:focus,.dops-chart__legend-label.is-selectable:hover{color:tint(#00aadc,20%)}@media (max-width:480px){.dops-chart__legend-label{display:block}}.dops-chart__legend-option .dops-chart__legend-color{width:10px;height:10px;background:#0087be;display:inline-block;border-radius:1px;vertical-align:top;margin:3px 5px 3px 8px}@media (max-width:480px){.dops-chart__legend-option:first-child .dops-chart__legend-color{margin-left:2px}}.dops-chart__legend-color.is-dark-blue{background:#004069}.dops-chart__legend-option .dops-chart__legend-checkbox{margin:0;float:none;vertical-align:top}.dops-chart__empty{position:absolute;top:0;right:0;bottom:0;left:0;text-align:center;font-size:14px;line-height:24px;clear:both;z-index:1}.dops-chart__empty_notice{position:relative;top:97px;padding:11px 24px;margin-bottom:24px;border-radius:1px;background:#fff;box-sizing:border-box;font-size:14px;line-height:1.4285;animation:appear .3s ease-in-out;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-chart__empty_notice{padding:13px 48px;font-size:inherit}.dops-chart__empty_notice:before{content:'\F348';position:absolute;top:23px;left:20px;margin:-12px 0 0 -8px;font-size:24px;line-height:1}}.dops-chart__tooltip{z-index:1000;position:absolute;top:0;left:0;right:auto}.dops-chart__tooltip.tip-bottom-left .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-left .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;left:211px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-left .tip-arrow:before{left:-18px;top:-3px}.dops-chart__tooltip.tip-bottom-right .tip-arrow,.dops-chart__tooltip.tip-bottom .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.dops-chart__tooltip.tip-bottom .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;left:11px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{left:-238px;top:-3px}.dops-chart__tooltip.tip-top .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-top .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-top-color:#3d596d;position:absolute;left:118px;top:-4px}.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{left:-93px}.dops-chart__tooltip .tip-inner{border:0;box-shadow:none;border-radius:2px;color:#fff;background:#3d596d;font-size:11px;padding:6px 10px;margin-top:4px;width:230px;text-align:left}.dops-chart__tooltip .tip-inner ul{list-style:none;margin:0;padding:0}.dops-chart__tooltip .tip-inner ul:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-chart__tooltip .tip-inner ul li{font-size:11px;text-transform:uppercase;font-weight:100;height:24px;letter-spacing:.1em;border:0}.dops-chart__tooltip .tip-inner ul li .wrapper{display:block;line-height:inherit;line-height:24px;clear:both}.dops-chart__tooltip .tip-inner ul li .value{text-align:right;float:right;min-width:22px;color:#c8d7e1}.dops-chart__tooltip .tip-inner ul li .label{display:block;overflow:hidden;word-break:break-all;vertical-align:baseline}.dops-chart__tooltip .tip-inner ul li .gridicon{vertical-align:middle;margin-right:6px;margin-top:-3px}.dops-chart__tooltip.is-streak{margin-top:-5px;height:35px}.dops-chart__tooltip.is-streak .tip-arrow:before{left:85px;top:30px}.dops-chart__tooltip.is-streak .tip-inner{width:160px;position:relative;top:-10px}.dops-chart__tooltip.is-streak .tip-inner li{height:14px}.dops-chart__tooltip.is-streak .tip-inner li .label{width:100%;float:left;text-align:center}.rtl .dops-chart__tooltip.is-streak .tip-inner li .label{font-size:11px}.dops-chart__tooltip.is-streak .tip-inner li .label .post-count{font-weight:700}.dops-chart__tooltip.is-streak .tip-inner li .value{float:none}.dops-chart__tooltip .dops-module-content-list-item.is-date-label{font-size:11px;margin-bottom:2px;text-transform:uppercase;font-weight:700;border-bottom:1px solid #426177;padding-bottom:2px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item{height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .label{text-transform:none;color:#c8d7e1;overflow:hidden;letter-spacing:0;height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value{width:0;min-width:0}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value:before{content:'';position:relative;background-image:linear-gradient(90deg,rgba(61,89,109,0) 0,rgba(61,89,109,.5),#3d596d);left:-30px;width:30px;height:24px;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-notice{display:-ms-flexbox;display:flex;position:relative;margin-bottom:24px;border-radius:1px;background:#e9eff3;box-sizing:border-box;font-size:14px;animation:appear .3s ease-in-out}@media (min-width:661px){.dops-notice{font-size:inherit}}.dops-notice.is-success{background:#4ab866}.dops-notice.is-warning{background:#f0b849}.dops-notice.is-error{background:#d94f4f}.dops-notice.is-info{background:#0087be}.dops-notice.is-error,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-error .dops-notice__text a,.dops-notice.is-info,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-info .dops-notice__text a,.dops-notice.is-success,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-success .dops-notice__text a,.dops-notice.is-warning,.dops-notice.is-warning .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__text a{color:#fff}.dops-notice.is-basic{background:#fff;color:#87a6bc}.dops-notice.is-basic,.dops-notice.is-basic .dops-notice__dismiss:focus{box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-notice.is-basic:before{display:none}}.dops-notice.is-basic .dops-notice__text{padding:11px 24px}@media (min-width:661px){.dops-notice.is-basic .dops-notice__text{padding:13px}}.dops-notice__icon{-ms-flex-negative:0;flex-shrink:0;padding:13px 0 13px 16px}@media (max-width:660px){.dops-notice__icon{display:none}}.dops-notice__content{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}@media (max-width:480px){.dops-notice__content{-ms-flex-direction:column;flex-direction:column}}.dops-notice__text{font-size:15px;padding:11px 24px}.dops-notice__text>div,.dops-notice__text>span{max-width:680px}@media (min-width:661px){.dops-notice__text{padding:13px}}.dops-notice__text a{text-decoration:underline}.dops-notice__text ul{margin-bottom:0;margin-left:0}.dops-notice__text li{margin-left:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-left:.428em}.dops-notice__dismiss{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;padding:11px 16px;cursor:pointer;color:#87a6bc}@media (min-width:661px){.dops-notice__dismiss{padding:13px 16px}}.dops-notice__dismiss:focus,.dops-notice__dismiss:hover{color:#2e4453}.dops-notice .dops-notice__dismiss{color:#87a6bc;opacity:.85}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{opacity:1}a.dops-notice__action{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;box-sizing:border-box;cursor:pointer;font-size:15px;font-weight:400;margin-left:auto;padding:13px 16px;text-decoration:none;white-space:nowrap}.is-error a.dops-notice__action,.is-info a.dops-notice__action,.is-success a.dops-notice__action,.is-warning a.dops-notice__action{color:#fff}.is-success a.dops-notice__action{background:#338247}.is-error a.dops-notice__action{background:#b52727}.is-warning a.dops-notice__action{background:#da9712}.is-info a.dops-notice__action{background:#005172}a.dops-notice__action .gridicon{margin-left:8px;opacity:.7}a.dops-notice__action:focus,a.dops-notice__action:hover{background:hsla(0,0%,100%,.2)}@media (max-width:480px){a.dops-notice__action{margin:0;-ms-flex-pack:end;justify-content:flex-end}}.dops-notice.is-compact{border-radius:2px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;min-height:20px;margin:0;padding:0;text-decoration:none;text-transform:none;vertical-align:middle}.dops-notice.is-compact.is-error,.dops-notice.is-compact.is-info,.dops-notice.is-compact.is-success,.dops-notice.is-compact.is-warning{color:#fff}.dops-notice.is-compact .dops-notice__text{font-size:12px;padding:6px 8px;line-height:1}.dops-notice.is-compact .dops-notice__icon{-ms-flex-item-align:center;align-self:center;-ms-flex-negative:0;flex-shrink:0;margin:0 0 0 8px;padding:0;width:18px;height:18px;vertical-align:middle}.dops-notice.is-compact .dops-notice__dismiss{display:none}.dops-notice.is-compact a.dops-notice__action{background:transparent;display:inline-block;font-size:11px;font-weight:600;-ms-flex-item-align:center;align-self:center;margin-left:16px;padding:0 8px;text-decoration:underline;text-transform:uppercase}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent;text-decoration:none}.dops-notice.is-compact a.dops-notice__action .gridicon{margin-left:8px;width:14px;height:14px;vertical-align:sub;opacity:1}.dops-section-header.dops-card{display:-ms-flexbox;display:flex;padding-top:.6875rem;padding-bottom:.6875rem;position:relative}.dops-section-header.dops-card:after{content:''}.dops-section-header__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;line-height:1.75rem;position:relative;color:#87a6bc;font-size:.875rem}.dops-section-header__label:before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:20%;height:auto}.dops-section-header__card-badge,.dops-section-header__label .dops-count{margin-left:.5rem}.dops-section-header__actions{-ms-flex-positive:0;flex-grow:0;position:relative}.dops-section-header__actions:after{content:".";display:block;height:0;clear:both;visibility:hidden}.section-header__actions .button{float:left;margin-right:.5rem}.section-header__actions .button:last-child{margin-right:0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{position:relative;display:inline-block;border-radius:12px;box-sizing:border-box;padding:2px;width:40px;height:24px;background:#a8bece;vertical-align:middle;outline:0;cursor:pointer;transition:all .4s ease,box-shadow 0}.form-toggle__switch:after,.form-toggle__switch:before{position:relative;display:block;content:"";width:20px;height:20px}.form-toggle__switch:after{left:0;border-radius:50%;background:#fff;transition:all .2s ease}.form-toggle__switch:before{display:none}.form-toggle__switch:hover{background:#c8d7e1}.accessible-focus .form-toggle__switch:focus,.form-toggle__switch:focus{box-shadow:0 0 0 2px #00aadc}.form-toggle__label{cursor:pointer;width:auto;float:none}.accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #00aadc}.accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{left:16px}.form-toggle:checked:hover+.form-toggle__label .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+.form-toggle__label .form-toggle__switch,.form-toggle:disabled:hover+.form-toggle__label .form-toggle__switch{background:#e9eff3}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#c8d7e1}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;width:24px;height:16px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{width:12px;height:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{left:8px}.dops-text-input.dops-text-input{box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-text-input.dops-text-input::-webkit-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::-moz-placeholder{color:#87a6bc}.dops-text-input.dops-text-input:-ms-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::placeholder{color:#87a6bc}.dops-text-input.dops-text-input:hover{border-color:#a8bece}.dops-text-input.dops-text-input:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-text-input.dops-text-input:focus::-ms-clear{display:none}.dops-text-input.dops-text-input:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-text-input.dops-text-input:disabled:hover{cursor:default}.dops-text-input.dops-text-input:disabled::-webkit-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::-moz-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled:-ms-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::placeholder{color:#a8bece}.dops-text-input.dops-text-input{-webkit-appearance:none}.dops-text-input.dops-text-input.is-valid{border-color:#4ab866}.dops-text-input.dops-text-input.is-valid:hover{border-color:#3a9551}.dops-text-input.dops-text-input.is-error{border-color:#d94f4f}.dops-text-input.dops-text-input.is-error:hover{border-color:#c92c2c}.dops-text-input.dops-text-input:focus.is-valid{box-shadow:0 0 0 2px #caead2}.dops-text-input.dops-text-input:focus.is-valid:hover{box-shadow:0 0 0 2px #a6dcb3}.dops-text-input.dops-text-input:focus.is-error{box-shadow:0 0 0 2px #f9e2e2}.dops-text-input.dops-text-input:focus.is-error:hover{box-shadow:0 0 0 2px #f0b8b8}.dops-textarea{box-sizing:border-box;margin:0;padding:.4375rem .875rem;min-height:5.75rem;width:100%;color:#2e4453;font-size:1rem;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-textarea::-webkit-input-placeholder{color:#87a6bc}.dops-textarea::-moz-placeholder{color:#87a6bc}.dops-textarea:-ms-input-placeholder{color:#87a6bc}.dops-textarea::placeholder{color:#87a6bc}.dops-textarea:hover{border-color:#a8bece}.dops-textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-textarea:focus::-ms-clear{display:none}.dops-textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-textarea:disabled:hover{cursor:default}.dops-textarea:disabled::-webkit-input-placeholder{color:#a8bece}.dops-textarea:disabled::-moz-placeholder{color:#a8bece}.dops-textarea:disabled:-ms-input-placeholder{color:#a8bece}.dops-textarea:disabled::placeholder{color:#a8bece}.dops-clipboard-button-input{position:relative;display:block}.dops-clipboard-button-input .dops-clipboard-button{position:absolute;top:50%;right:4px;transform:translateY(-50%);overflow:visible}.dops-clipboard-button-input .dops-clipboard-button:not(:disabled):before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;right:0;left:auto;width:16px;height:auto;right:calc(100% + 1px)}.dops-clipboard-button-input .dops-clipboard-button:focus:before{right:calc(100% + 3px)}.dops-checkbox.dops-checkbox{display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:left;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.dops-checkbox.dops-checkbox:checked:before{content:'\F147';margin:-3px 0 0 -4px;float:left;display:inline-block;vertical-align:middle;width:16px;font-size:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.dops-checkbox.dops-checkbox:disabled:checked:before{color:#a8bece}.dops-checkbox.dops-checkbox:hover{border-color:#a8bece}.dops-checkbox.dops-checkbox:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-checkbox.dops-checkbox:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.dops-checkbox.dops-checkbox:disabled:hover{cursor:default}.dops-checkbox.dops-checkbox+span{display:block;margin-left:24px}.dops-external-link .gridicons-external{color:currentColor;margin-left:.5rem;top:.125rem;position:relative}.notices-list{overflow:hidden}.notices-list.is-pinned{width:calc(100% - 272px - 32px - 32px);z-index:z-index("root",".notices-list.is-pinned");position:fixed;top:79px}.notices-list.is-pinned .notice{z-index:z-index("root",".notices-list.is-pinned .notice")}.notices-list__whitespace{height:71px;width:100%;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{overflow:hidden;text-align:right;z-index:179;position:fixed;top:auto;right:0;bottom:0;left:0}@media (min-width:661px){.global-notices{top:63px;right:16px;bottom:auto;left:auto;max-width:calc(100% - 32px)}}@media (min-width:961px){.global-notices{top:71px;right:24px;max-width:calc(100% - 48px)}}@media (min-width:1041px){.global-notices{right:32px;max-width:calc(100% - 64px)}}.global-notices .dops-notice{-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-bottom:0;text-align:left;pointer-events:auto}@media (min-width:661px){.global-notices .dops-notice{display:-ms-flexbox;display:flex;border-radius:20px;overflow:hidden;margin-bottom:24px}}@media (min-width:661px){.global-notices .dops-notice__icon{padding:8px 0 8px 16px}}.global-notices .dops-notice__text{padding-left:16px;-ms-flex-preferred-size:auto;flex-basis:auto;-ms-flex-positive:1;flex-grow:1}@media (min-width:661px){.global-notices .dops-notice__text{-ms-flex-positive:0;flex-grow:0;padding:9px 13px}}@media (min-width:661px){.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:9px 16px}}.global-notices .dops-notice__dismiss{-ms-flex-negative:0;flex-shrink:0}@media (min-width:661px){.global-notices .dops-notice__dismiss{padding:8px 16px}}
|
_inc/build/admin.dops-style.rtl.css
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
.dops-count{display:inline-block;padding:.0625rem .375rem;border:1px solid #87a6bc;border-radius:.75rem;font-size:.6875rem;font-weight:600;line-height:.875rem;color:#87a6bc;text-align:center}.dops-select-dropdown.is-open .dops-select-dropdown__header:after,.dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-select-dropdown{height:43px}.dops-select-dropdown.is-compact{height:28px}.dops-select-dropdown__container{position:relative;overflow:hidden;display:inline-block;width:auto;max-width:100%}.dops-select-dropdown.is-open .dops-select-dropdown__container{z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container,.dops-accessible-focus .dops-select-dropdown__container:focus{z-index:170;box-shadow:0 0 0 2px #78dcfa}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container .select-dropdown__header,.dops-accessible-focus .dops-select-dropdown__container:focus .select-dropdown__header{border-color:#0087be}.dops-accessible-focus .dops-select-dropdown__container:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;border-radius:4px}.dops-select-dropdown__header{padding:11px 16px 11px 44px;border-style:solid;border-color:#c8d7e1;border-width:1px 1px 2px;border-radius:4px;background-color:#fff;font-size:14px;font-weight:600;line-height:18px;height:18px;color:#2e4453;transition:background-color .2s ease;cursor:pointer}.dops-select-dropdown__header:after{content:'\F347';position:absolute;left:13px;top:12px;display:block;line-height:18px;color:rgba(135,166,188,.5)}.is-compact .dops-select-dropdown__header:after{left:4px;top:4px}.is-compact .dops-select-dropdown__header{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.is-compact .dops-select-dropdown__header .dops-count{border-width:0;margin-right:0;line-height:1}.dops-select-dropdown.is-open .dops-select-dropdown__header{border-radius:4px 4px 0 0;box-shadow:none;background-color:#f3f6f8}.dops-select-dropdown.is-open .dops-select-dropdown__header:after{content:'\F343'}.dops-select-dropdown__header .dops-count{margin-right:8px}.dops-select-dropdown__header-text{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-select-dropdown__options{visibility:hidden;height:0;box-sizing:border-box;padding:0;list-style:none;margin:-2px 0 0;background-color:#fff;border:1px solid #c8d7e1;border-radius:0 0 4px 4px}.dops-accessible-focus .dops-select-dropdown__options{border:1px solid #0087be;border-top-color:#c8d7e1}.dops-select-dropdown.is-open .dops-select-dropdown__options{visibility:visible;height:auto}.dops-select-dropdown__option:last-child .dops-select-dropdown__item{border-radius:0 0 4px 4px}.dops-select-dropdown__item,.dops-select-dropdown__item-text{padding:11px 16px 11px 44px}.dops-select-dropdown__item{display:block;position:relative;font-size:14px;font-weight:400;line-height:18px;color:#2e4453;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer}.dops-select-dropdown__item:before{content:attr(data-bold-text);font-weight:700;opacity:0}.dops-select-dropdown__item:visited{color:#2e4453}.dops-select-dropdown__item.is-selected{background-color:#00aadc;color:#fff}.dops-select-dropdown__item.is-disabled{background-color:#fff;color:#87a6bc;cursor:default;opacity:.5}.notouch .dops-select-dropdown__item:hover{color:#00aadc}.notouch .dops-select-dropdown__item.is-selected:hover{color:#fff}.dops-select-dropdown__item-text{padding-left:16px;box-sizing:border-box;position:absolute;top:0;right:0;width:100%;white-space:nowrap;text-overflow:ellipsis;color:inherit;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between}.dops-select-dropdown__item-text .dops-count{color:inherit;border-color:inherit}.dops-select-dropdown__separator{border-top:1px solid #c8d7e1;display:block;margin:8px 0}.dops-select-dropdown__label{display:block;color:#a8bece;margin-top:5px;line-height:20px}.dops-select-dropdown__label label{font-size:12px;text-transform:uppercase;padding:0 16px}@keyframes rotate-spinner__right{0%{transform:rotate(0deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(-180deg)}75%{transform:rotate(-1turn)}to{transform:rotate(-1turn)}}@keyframes rotate-spinner__left{0%{transform:rotate(0deg)}25%{transform:rotate(0deg)}50%{transform:rotate(-180deg)}75%{transform:rotate(-180deg)}to{transform:rotate(-1turn)}}.dops-spinner.is-fallback{position:relative;border-radius:100%;background-color:#c8d7e1}.dops-spinner.is-fallback:after,.dops-spinner.is-fallback:before{content:'';position:absolute;background-color:#fff;border-radius:50%}.dops-spinner.is-fallback:before{width:90%;height:90%;top:5%;right:5%}.dops-spinner.is-fallback:after{width:70%;height:70%;top:15%;right:15%}.dops-spinner__image{display:block}.dops-spinner__border{fill:#c8d7e1}.dops-spinner__progress{animation:3s linear infinite;transform-origin:50px 50px;fill:#00aadc}.dops-spinner.is-fallback .dops-spinner__progress{position:absolute;overflow:hidden;width:50%;height:100%;animation:none}.dops-spinner.is-fallback .dops-spinner__progress:before{content:'';position:absolute;width:100%;height:100%;animation:3s linear infinite;border-radius:9999px;background-color:#00aadc;fill:none}.dops-spinner.is-fallback .dops-spinner__progress.is-left{right:0}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before{right:100%;border-top-right-radius:0;border-bottom-right-radius:0;transform-origin:100% 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right{right:50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before{right:-100%;border-top-left-radius:0;border-bottom-left-radius:0;transform-origin:0% 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before,.dops-spinner__progress.is-left{animation-name:rotate-spinner__left}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before,.dops-spinner__progress.is-right{animation-name:rotate-spinner__right}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(-1px,1px)}.gridicon.needs-offset-x g{transform:translate(-1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-search{margin-bottom:24px;width:60px;height:51px;position:relative;z-index:22}@media (max-width:660px){.dops-search{width:50px}}.dops-search .dops-search-open__icon{position:absolute;top:50%;margin-top:-12px;width:60px;z-index:20;color:#0087be;cursor:pointer}.dops-accessible-focus .dops-search .dops-search-open__icon:focus{outline:1px dotted #0087be}@media (max-width:660px){.dops-search .dops-search-open__icon{width:50px}}.dops-search .dops-search-open__icon:hover{color:#3d596d}.dops-search .dops-search-close__icon{position:absolute;bottom:0;top:50%;left:0;margin-top:-12px;width:60px;cursor:pointer;z-index:20;color:#3d596d;display:none;opacity:0;transition:opacity .2s ease-in}.dops-accessible-focus .dops-search .dops-search-close__icon:focus{outline:1px dotted #0087be}.dops-search .dops-search-close__icon:before{position:absolute;right:0;left:0;top:50%;margin-top:-8px;font-size:16px;text-align:center}@media (max-width:660px){.dops-search .dops-search-close__icon:before{font-size:14px;margin-top:-7px}}@media (max-width:660px){.dops-search .dops-search-close__icon{width:50px}}.dops-search.is-pinned{margin-bottom:0;height:auto;position:absolute;bottom:0;top:0;left:0;z-index:170}.dops-search.is-pinned .dops-search-open__icon{left:0}.dops-search.is-pinned .dops-search__input[type=search]{height:100%}.dops-search__input[type=search]{display:none;position:absolute;z-index:10;top:0;margin:0;padding:0 60px 0 50px;border:none;background:#fff;height:51px;-moz-appearance:none;appearance:none;box-sizing:border-box;-webkit-appearance:none;box-shadow:none}@media (max-width:660px){.dops-search__input[type=search]{opacity:0;right:0;padding-right:50px}}.dops-search__input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.dops-search__input[type=search]:focus{box-shadow:none;border:none}.dops-search.is-open{margin-left:0!important;width:100%}.dops-search.is-open .dops-search-open__icon{color:#3d596d;right:0}.dops-search.is-open .dops-search-close__icon{display:inline-block}.dops-search.is-open .dops-search-close__icon,.dops-search.is-open .dops-search__input{opacity:1}.dops-search.is-open .dops-search__input{display:block}.dops-search .dops-spinner{display:none;position:absolute;top:50%;right:30px;transform:translate(50%,-50%)}@media (max-width:660px){.dops-search .dops-spinner{right:25px}}.dops-search.is-searching .dops-search-open__icon{display:none}.dops-search.is-searching .dops-spinner{display:block;z-index:20}@media (max-width:660px){.animating.dops-search-opening .dops-search input{opacity:1}}.dops-section-nav.is-open .dops-section-nav__mobile-header:after,.dops-section-nav__mobile-header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-section-nav{position:relative;width:100%;padding:0;margin:0 0 17px;background:#fff;box-sizing:border-box;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-section-nav.is-empty .dops-section-nav__panel{visibility:hidden}@media (max-width:480px){.dops-section-nav.is-open{box-shadow:0 0 0 1px #87a6bc,0 2px 4px #c8d7e1}}@media (min-width:481px){.dops-section-nav.has-pinned-items{padding-left:60px}}@media (min-width:481px) and (max-width:660px){.dops-section-nav.has-pinned-items{padding-left:50px}}@media (max-width:660px){.dops-section-nav{margin-bottom:9px}}.dops-section-nav__mobile-header{display:-ms-flexbox;display:flex;padding:15px;font-size:14px;line-height:16px;color:#2e4453;font-weight:600;cursor:pointer}.dops-section-nav__mobile-header:after{content:'\F347';line-height:16px;color:rgba(135,166,188,.5)}.dops-section-nav.is-open .dops-section-nav__mobile-header:after{content:'\F343'}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header{padding-left:50px}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header:after{margin-right:8px}@media (min-width:481px){.dops-section-nav__mobile-header{display:none}}.dops-section-nav__mobile-header-text{width:0;-ms-flex:1 0 auto;flex:1 0 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav__mobile-header-text small{margin-right:5px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header-text{width:auto;-ms-flex:0 1 auto;flex:0 1 auto}.dops-section-nav__panel{box-sizing:border-box;width:100%}@media (max-width:480px){.dops-section-nav.is-open .dops-section-nav__panel{padding-bottom:15px;border-top:1px solid #c8d7e1;background:linear-gradient(-180deg,#f3f6f8 0,#fff 4px)}}@media (min-width:481px){.dops-section-nav__panel{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.dops-section-nav__panel:first-child{width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav-group{position:relative;margin-top:16px;padding-top:16px;border-top:1px solid #c8d7e1}.dops-section-nav-group:first-child{padding-top:0;border-top:none}@media (max-width:480px){.dops-section-nav-group{display:none}.dops-section-nav.is-open .dops-section-nav-group{display:block}}@media (min-width:481px){.dops-section-nav-group{margin-top:0;padding-top:0;border-top:none}.dops-section-nav-group:first-child{display:-ms-flexbox;display:flex;width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav__button{width:100%;margin-top:24px}.dops-section-nav__hr{background:#e9eff3}.dops-section-nav-group__label{display:none;margin-bottom:8px;padding:0 15px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase;line-height:12px}@media (max-width:480px){.has-siblings .dops-section-nav-group__label{display:block}}.dops-section-nav-group__label-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-section-nav-tab .count{margin-right:8px}@media (min-width:481px){.dops-section-nav-tabs{width:0;-ms-flex:1 0 auto;flex:1 0 auto}.dops-section-nav-tabs.is-dropdown{position:relative;width:auto;-ms-flex:0 1 auto;flex:0 1 auto;margin:8px}}.dops-section-nav-tabs__list{margin:0;list-style:none}@media (min-width:481px){.dops-section-nav-tabs__list{display:-ms-flexbox;display:flex;width:100%;overflow:hidden}.is-dropdown .dops-section-nav-tabs__list{display:none}}.dops-section-nav-tab{margin-bottom:0}@media (min-width:481px){.dops-section-nav-tab{width:auto;-ms-flex:none;flex:none;border-bottom:2px solid transparent;border-top:none;text-align:center}.dops-section-nav-tab.is-selected{border-bottom-color:#2e4453}}.dops-section-nav-tab__link,.dops-section-nav-tab__text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav-tab__link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box;padding:15px;width:100%;font-size:14px;font-weight:600;line-height:18px;color:#2e4453;cursor:pointer}.dops-section-nav-tab__link:visited{color:#2e4453}.dops-section-nav-tab__link[disabled],.notouch .dops-section-nav-tab__link[disabled]:hover{color:#e9eff3;cursor:default}.is-selected .dops-section-nav-tab__link{color:#fff;background-color:#00aadc}.dops-section-nav-tab__link:focus{outline:none;box-shadow:none}.accessible-focus .dops-section-nav-tab__link:focus{outline:1px solid #87a6bc}.is-external .dops-section-nav-tab__link:after{font-size:18px;padding-right:2px}.notouch .dops-section-nav-tab__link:hover{color:#00aadc}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#fff}@media (min-width:481px){.dops-section-nav-tab__link{display:block;width:auto;padding:16px 16px 14px;color:#0087be;font-weight:400}.dops-section-nav-tab__link:visited{color:#0087be}.is-selected .dops-section-nav-tab__link{color:#2e4453;background-color:transparent}.is-selected .dops-section-nav-tab__link:after{display:none}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#2e4453}}.dops-section-nav-tab__text{display:block;-ms-flex:1 0 auto;flex:1 0 auto;width:0;color:inherit}@media (min-width:481px){.dops-section-nav-tab__text{display:inline;-ms-flex:none;flex:none;width:auto}}.dops-section-nav-tabs__dropdown{position:relative;z-index:3;width:100%}.dops-section-nav-tabs__dropdown.is-open{z-index:4}.dops-section-nav-tabs__dropdown .dops-select-dropdown__container{position:static}.dops-section-nav__segmented .dops-segmented-control{margin:0 15px}.dops-section-nav__segmented .dops-segmented-control__link{padding:3px 16px 5px}@media (max-width:480px){.dops-section-nav .dops-search.is-pinned{height:46px}}.dops-card{position:relative;margin:0 auto .625rem;padding:1rem;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card{margin-bottom:1rem;padding:1.5rem}}.dops-card.is-compact{margin-bottom:1px}@media (min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:1rem 1.5rem}}.dops-card-title{background-color:#f9f9f9;color:#000;font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;text-transform:uppercase;border-bottom:1px solid #ddd;padding:10px 16px;margin:0}@media (min-width:481px){.dops-card-title{padding:16px 24px}}.dops-card-title .dops-card-meta{color:#aaa;float:left}.dops-card-section{font-size:14px;padding:16px;border-bottom:1px solid #ddd}.dops-card-section:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card-section{padding:24px}}.dops-card-section:last-child{border-bottom:none}.dops-card-section .dops-card-section-label{color:#000;font-size:12px;font-weight:400;text-transform:uppercase}.dops-card-section .dops-card-section-orient-vertical .dops-card-section-label{margin-bottom:10px}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{float:right;width:30%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{margin-bottom:10px;float:none;width:100%}}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:left;width:70%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:none;width:100%}}.dops-card-footer{background:#f9f9f9;padding:15px 20px}.dops-card-icon{float:left;text-transform:capitalize}.dops-card-icon .genericon{border-radius:50%;width:16px;height:16px;margin-left:10px;color:#fff;background:#81bf16}.dops-button{background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dops-button:hover{border-color:#a8bece;color:#2e4453}.dops-button:active{border-width:2px 1px 1px}.dops-button:visited{color:#2e4453}.dops-button:disabled,.dops-button[disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}.dops-button:disabled:active,.dops-button[disabled]:active{border-width:1px 1px 2px}.dops-button:focus{outline:0;border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.dops-button.is-compact{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.dops-button.is-compact:disabled{color:#e9eff3}.dops-button.is-compact .gridicon{top:4px;margin-top:-8px}.dops-button.is-compact .gridicons-plus-small{margin-right:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-right:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-right:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{position:relative;top:4px;margin-top:-2px;width:18px;height:18px}.dops-button.is-primary{background:#00aadc;border-color:#0087be;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{border-color:#005082;color:#fff}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}.dops-button.is-primary.is-compact{color:#fff}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{color:#f4cdcd;border-color:#e9eff3}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#668eaa;padding-right:0;padding-left:0}.dops-button.is-borderless:hover{color:#2e4453}.dops-button.is-borderless:focus{box-shadow:none}.dops-button.is-borderless .gridicon{width:24px;height:24px;top:6px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{color:#e9eff3;background:#fff;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{width:18px;height:18px;top:5px}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-foldable-card.dops-card{position:relative;transition:margin .15s linear;padding:0}.dops-foldable-card.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-foldable-card.dops-card.is-expanded{margin-bottom:8px}.dops-foldable-card.dops-card .is-clickable{cursor:pointer}.dops-foldable-card__header{min-height:64px;width:100%;padding:16px;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;position:relative}.dops-foldable-card__header.has-border .dops-foldable-card__summary,.dops-foldable-card__header.has-border .dops-foldable-card__summary_expanded{margin-left:48px}.dops-foldable-card__header.has-border .dops-foldable-card__expand{border-right:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card__header{padding:8px 16px;min-height:40px}.dops-foldable-card.is-expanded .dops-foldable-card__header{margin-bottom:0;height:inherit;min-height:64px}.dops-foldable-card.is-expanded.is-compact .dops-foldable-card__header{min-height:40px}.dops-foldable-card.is-disabled .dops-foldable-card__header{opacity:.2}.dops-foldable-card__action{position:absolute;top:0;left:0;height:100%;background:none;border:0}.dops-foldable-card.is-expanded .dops-foldable-card__action{height:100%}.dops-foldable-card.is-disabled .dops-foldable-card__action{cursor:default}.accessible-focus .dops-foldable-card__action:focus{outline:thin dotted}button.dops-foldable-card__action{cursor:pointer;outline:0}.dops-foldable-card__main{max-width:calc(100% - 36px);display:block;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;width:100%;margin-left:5px}@media (max-width:480px){.dops-foldable-card__main{-ms-flex:1 1;flex:1 1}}.dops-foldable-card__secondary{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1;flex:1 1;-ms-flex-pack:end;justify-content:flex-end}.dops-foldable-card__expand{width:48px}.dops-foldable-card__expand .gridicon{fill:#87a6bc;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;vertical-align:middle;transition:transform .15s cubic-bezier(.175,.885,.32,1.275),color .2s ease-in}.dops-foldable-card.is-expanded .dops-foldable-card__expand .gridicon{transform:rotate(-180deg)}.dops-foldable-card__expand .gridicon:hover{fill:#87a6bc}.dops-foldable-card__expand:focus .gridicon,.dops-foldable-card__expand:hover .gridicon{fill:#00aadc}.dops-foldable-card__header-text{font-size:1.125rem;width:100%}.dops-foldable-card__subheader{margin-top:.125rem;margin-bottom:.125rem;font-size:.875rem;color:#4f748e}.dops-foldable-card__content{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__content{display:block;padding:16px;border-top:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card.is-expanded .dops-foldable-card__content{padding:8px}.dops-foldable-card.is-expanded .dops-foldable-card__content p:first-child{margin-top:0}.dops-foldable-card.is-expanded .dops-foldable-card__content p:last-child{margin-bottom:0}.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{margin-left:40px;color:#87a6bc;font-size:12px;transition:opacity .2s linear;display:inline-block}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{transition:none;-ms-flex:2;flex:2;text-align:left}@media (max-width:480px){.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{display:none}}.dops-foldable-card__summary{opacity:1;display:inline-block}.dops-foldable-card.is-expanded .dops-foldable-card__summary,.dops-foldable-card__summary_expanded,.has-expanded-summary .dops-foldable-card.is-expanded .dops-foldable-card__summary{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__summary_expanded{display:inline-block}.tip-hide{opacity:0}.popover{font-size:11px;padding:10px;z-index:1000;position:absolute;top:0;right:0;left:auto}.popover .tip-inner{background-color:#fff;border:1px solid #c8d7e1;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);text-align:center}.popover .tip-arrow{border:10px dashed #c8d7e1;height:0;line-height:0;position:absolute;width:0;z-index:1}.popover.fade{transition:opacity .1s}.popover.tip-top-left .tip-arrow,.popover.tip-top-right .tip-arrow,.popover.tip-top .tip-arrow{bottom:0;right:50%;margin-right:-10px;border-top-style:solid;border-bottom:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-top-left .tip-arrow:before,.popover.tip-top-right .tip-arrow:before,.popover.tip-top .tip-arrow:before{bottom:2px;border:10px solid #fff;content:" ";position:absolute;right:50%;margin-right:-10px;border-top-style:solid;border-bottom:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-bottom-left .tip-arrow,.popover.tip-bottom-right .tip-arrow,.popover.tip-bottom .tip-arrow{top:0;right:50%;margin-right:-10px;border-bottom-style:solid;border-top:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-bottom-left .tip-arrow:before,.popover.tip-bottom-right .tip-arrow:before,.popover.tip-bottom .tip-arrow:before{top:2px;border:10px solid #fff;content:" ";position:absolute;right:50%;margin-right:-10px;border-bottom-style:solid;border-top:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-left-bottom .tip-arrow,.popover.tip-left-top .tip-arrow,.popover.tip-left .tip-arrow{left:0;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-left-bottom .tip-arrow:before,.popover.tip-left-top .tip-arrow:before,.popover.tip-left .tip-arrow:before{left:2px;border:10px solid #fff;content:" ";position:absolute;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow,.popover.tip-right-top .tip-arrow,.popover.tip-right .tip-arrow{right:0;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow:before,.popover.tip-right-top .tip-arrow:before,.popover.tip-right .tip-arrow:before{right:2px;border:10px solid #fff;content:" ";position:absolute;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-bottom-left,.popover.tip-bottom-right,.popover.tip-top-left,.popover.tip-top-right{padding-left:0;padding-right:0}.popover.tip-bottom-left .tip-arrow,.popover.tip-top-left .tip-arrow{right:auto;left:5px}.popover.tip-bottom-right .tip-arrow,.popover.tip-top-right .tip-arrow{right:15px}.popover.tip-bottom-left .tip-inner,.popover.tip-top-left .tip-inner{position:relative;right:10px}.popover.tip-bottom-right .tip-inner,.popover.tip-top-right .tip-inner{position:relative;right:-10px}.popover.is-dialog-visible{z-index:100300}.popover__menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:200px}.popover__menu-item{position:relative;background:inherit;border:none;border-radius:0;color:#2e4453;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;text-align:right;transition:all .05s ease-in-out}.popover__menu-item:first-child{margin-top:5px}.popover__menu-item:focus,.popover__menu-item:hover{background-color:#00aadc;border:0;box-shadow:none;color:#fff}.popover__menu-item:focus .gridicon,.popover__menu-item:hover .gridicon{color:#fff}.popover__menu-item[disabled]:focus,.popover__menu-item[disabled]:hover{background:transparent;cursor:default}.popover__menu-item:last-child{margin-bottom:5px}.popover__menu-item::-moz-focus-inner{border:0}.popover__menu-item.has-icon{padding-right:42px}.popover__menu-item .gridicon{color:#a8bece;vertical-align:bottom;margin-left:8px}.popover__hr{margin:8px 0;background:#e9eff3}.dops-chart__empty_notice:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-chart{position:relative;box-sizing:border-box;background-color:#fff;padding:8px 20px 8px 0}.dops-chart .dops-chart__y-axis-markers{position:absolute;top:8px;right:0;left:0;height:200px}.dops-chart .dops-chart__y-axis-marker{position:absolute;top:0;width:100%;height:1px;border-top:1px solid #e9eff3}.dops-chart__bar-marker{z-index:1;position:absolute;top:0;width:100%;height:1px;border-top:1px solid rgba(233,239,243,.1)}.dops-chart .dops-chart__y-axis-marker.is-fifty,.dops-chart__bar-marker.is-fifty,.dops-chart__y-axis-label.is-fifty{top:50%}.dops-chart .dops-chart__y-axis-marker.is-zero,.dops-chart__bar-marker.is-zero,.dops-chart__y-axis-label.is-zero{top:100%}.dops-chart__y-axis{position:relative;float:left;height:200px;padding:0 10px 0 20px;font-size:11px;color:#668eaa;margin-bottom:30px}.dops-chart__y-axis-label{position:absolute;top:0;left:20px;text-align:left}.dops-chart__y-axis-width-fix{color:hsla(0,0%,100%,0)}.dops-chart__x-axis{position:relative;font-size:0;padding:5px 0;min-height:18px;color:#3d596d}.dops-chart__x-axis-label{position:absolute;display:inline-block;vertical-align:top;font-size:11px;text-align:center}.dops-chart__x-axis-label:before{content:'';display:block;position:absolute;top:-4px;right:50%;margin-right:-.5px;width:1px;height:5px;background:#f3f6f8;background-image:linear-gradient(-180deg,#f3f6f8 0,#c8d7e1)}.dops-chart__bars{font-size:0;overflow:hidden;display:-ms-flex;display:-ms-flexbox;display:flex}.dops-chart__bar,.dops-chart__bars{position:relative;height:200px;text-align:center}.dops-chart__bar{display:inline-block;-ms-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1}.dops-chart__bar.is-weekend{background-color:rgba(233,239,243,.5)}.dops-chart__bar:hover{cursor:pointer;background-color:rgba(233,239,243,.3)}.dops-chart__bar.is-selected{cursor:default;background-color:rgba(240,130,30,.1)}.dops-chart__bar-section{display:inline-block;background-color:#0087be;position:absolute;top:0;left:16%;bottom:0;right:16%;z-index:2}.dops-chart__bar:hover .dops-chart__bar-section.is-bar{background-color:#00aadc}.dops-chart__bar.is-selected .dops-chart__bar-section.is-bar{background-color:#f0821e}.dops-chart__bar-section.is-spacer{z-index:0;background-color:hsla(0,0%,100%,0)}.dops-chart__bar-section.is-ghost:after{content:"";display:block;position:absolute;top:160px;bottom:0;right:0;z-index:1;width:100%;height:40px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,0),rgba(233,239,243,.5))}.dops-chart__bar:hover .dops-chart__bar-section.is-ghost:after{display:none}.dops-chart__bar-section-inner{background:#004069;position:absolute;left:23.33%;bottom:0;right:23.33%}.dops-chart__bar.is-selected .dops-chart__bar-section-inner{background-color:#d54e21}.dops-chart__legend{margin-bottom:-8px}.dops-chart__legend:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-chart__legend .dops-chart__legend-options{float:left;color:#537994;list-style-type:none;margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.1em}@media (max-width:480px){.dops-chart__legend .dops-chart__legend-options{width:100%}}.dops-chart__legend-option{display:inline;text-align:right}@media (max-width:480px){.dops-chart__legend-option{width:50%;display:inline-block}}.dops-chart__legend-label{display:inline-block;padding:12px 20px 10px 19px}.dops-chart__legend-label.is-selectable{cursor:pointer}.dops-chart__legend-label.is-selectable:focus,.dops-chart__legend-label.is-selectable:hover{color:tint(#00aadc,20%)}@media (max-width:480px){.dops-chart__legend-label{display:block}}.dops-chart__legend-option .dops-chart__legend-color{width:10px;height:10px;background:#0087be;display:inline-block;border-radius:1px;vertical-align:top;margin:3px 8px 3px 5px}@media (max-width:480px){.dops-chart__legend-option:first-child .dops-chart__legend-color{margin-right:2px}}.dops-chart__legend-color.is-dark-blue{background:#004069}.dops-chart__legend-option .dops-chart__legend-checkbox{margin:0;float:none;vertical-align:top}.dops-chart__empty{position:absolute;top:0;left:0;bottom:0;right:0;text-align:center;font-size:14px;line-height:24px;clear:both;z-index:1}.dops-chart__empty_notice{position:relative;top:97px;padding:11px 24px;margin-bottom:24px;border-radius:1px;background:#fff;box-sizing:border-box;font-size:14px;line-height:1.4285;animation:appear .3s ease-in-out;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-chart__empty_notice{padding:13px 48px;font-size:inherit}.dops-chart__empty_notice:before{content:'\F348';position:absolute;top:23px;right:20px;margin:-12px -8px 0 0;font-size:24px;line-height:1}}.dops-chart__tooltip{z-index:1000;position:absolute;top:0;right:0;left:auto}.dops-chart__tooltip.tip-bottom-left .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-left .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;right:211px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-left .tip-arrow:before{right:-18px;top:-3px}.dops-chart__tooltip.tip-bottom-right .tip-arrow,.dops-chart__tooltip.tip-bottom .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.dops-chart__tooltip.tip-bottom .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;right:11px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{right:-238px;top:-3px}.dops-chart__tooltip.tip-top .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-top .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-top-color:#3d596d;position:absolute;right:118px;top:-4px}.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{right:-93px}.dops-chart__tooltip .tip-inner{border:0;box-shadow:none;border-radius:2px;color:#fff;background:#3d596d;font-size:11px;padding:6px 10px;margin-top:4px;width:230px;text-align:right}.dops-chart__tooltip .tip-inner ul{list-style:none;margin:0;padding:0}.dops-chart__tooltip .tip-inner ul:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-chart__tooltip .tip-inner ul li{font-size:11px;text-transform:uppercase;font-weight:100;height:24px;letter-spacing:.1em;border:0}.dops-chart__tooltip .tip-inner ul li .wrapper{display:block;line-height:inherit;line-height:24px;clear:both}.dops-chart__tooltip .tip-inner ul li .value{text-align:left;float:left;min-width:22px;color:#c8d7e1}.dops-chart__tooltip .tip-inner ul li .label{display:block;overflow:hidden;word-break:break-all;vertical-align:baseline}.dops-chart__tooltip .tip-inner ul li .gridicon{vertical-align:middle;margin-left:6px;margin-top:-3px}.dops-chart__tooltip.is-streak{margin-top:-5px;height:35px}.dops-chart__tooltip.is-streak .tip-arrow:before{right:85px;top:30px}.dops-chart__tooltip.is-streak .tip-inner{width:160px;position:relative;top:-10px}.dops-chart__tooltip.is-streak .tip-inner li{height:14px}.dops-chart__tooltip.is-streak .tip-inner li .label{width:100%;float:right;text-align:center}.rtl .dops-chart__tooltip.is-streak .tip-inner li .label{font-size:11px}.dops-chart__tooltip.is-streak .tip-inner li .label .post-count{font-weight:700}.dops-chart__tooltip.is-streak .tip-inner li .value{float:none}.dops-chart__tooltip .dops-module-content-list-item.is-date-label{font-size:11px;margin-bottom:2px;text-transform:uppercase;font-weight:700;border-bottom:1px solid #426177;padding-bottom:2px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item{height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .label{text-transform:none;color:#c8d7e1;overflow:hidden;letter-spacing:0;height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value{width:0;min-width:0}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value:before{content:'';position:relative;background-image:linear-gradient(-90deg,rgba(61,89,109,0) 0,rgba(61,89,109,.5),#3d596d);right:-30px;width:30px;height:24px;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-notice{display:-ms-flexbox;display:flex;position:relative;margin-bottom:24px;border-radius:1px;background:#e9eff3;box-sizing:border-box;font-size:14px;animation:appear .3s ease-in-out}@media (min-width:661px){.dops-notice{font-size:inherit}}.dops-notice.is-success{background:#4ab866}.dops-notice.is-warning{background:#f0b849}.dops-notice.is-error{background:#d94f4f}.dops-notice.is-info{background:#0087be}.dops-notice.is-error,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-error .dops-notice__text a,.dops-notice.is-info,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-info .dops-notice__text a,.dops-notice.is-success,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-success .dops-notice__text a,.dops-notice.is-warning,.dops-notice.is-warning .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__text a{color:#fff}.dops-notice.is-basic{background:#fff;color:#87a6bc}.dops-notice.is-basic,.dops-notice.is-basic .dops-notice__dismiss:focus{box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-notice.is-basic:before{display:none}}.dops-notice.is-basic .dops-notice__text{padding:11px 24px}@media (min-width:661px){.dops-notice.is-basic .dops-notice__text{padding:13px}}.dops-notice__icon{-ms-flex-negative:0;flex-shrink:0;padding:13px 16px 13px 0}@media (max-width:660px){.dops-notice__icon{display:none}}.dops-notice__content{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}@media (max-width:480px){.dops-notice__content{-ms-flex-direction:column;flex-direction:column}}.dops-notice__text{font-size:15px;padding:11px 24px}.dops-notice__text>div,.dops-notice__text>span{max-width:680px}@media (min-width:661px){.dops-notice__text{padding:13px}}.dops-notice__text a{text-decoration:underline}.dops-notice__text ul{margin-bottom:0;margin-right:0}.dops-notice__text li{margin-right:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-right:.428em}.dops-notice__dismiss{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;padding:11px 16px;cursor:pointer;color:#87a6bc}@media (min-width:661px){.dops-notice__dismiss{padding:13px 16px}}.dops-notice__dismiss:focus,.dops-notice__dismiss:hover{color:#2e4453}.dops-notice .dops-notice__dismiss{color:#87a6bc;opacity:.85}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{opacity:1}a.dops-notice__action{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;box-sizing:border-box;cursor:pointer;font-size:15px;font-weight:400;margin-right:auto;padding:13px 16px;text-decoration:none;white-space:nowrap}.is-error a.dops-notice__action,.is-info a.dops-notice__action,.is-success a.dops-notice__action,.is-warning a.dops-notice__action{color:#fff}.is-success a.dops-notice__action{background:#338247}.is-error a.dops-notice__action{background:#b52727}.is-warning a.dops-notice__action{background:#da9712}.is-info a.dops-notice__action{background:#005172}a.dops-notice__action .gridicon{margin-right:8px;opacity:.7}a.dops-notice__action:focus,a.dops-notice__action:hover{background:hsla(0,0%,100%,.2)}@media (max-width:480px){a.dops-notice__action{margin:0;-ms-flex-pack:end;justify-content:flex-end}}.dops-notice.is-compact{border-radius:2px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;min-height:20px;margin:0;padding:0;text-decoration:none;text-transform:none;vertical-align:middle}.dops-notice.is-compact.is-error,.dops-notice.is-compact.is-info,.dops-notice.is-compact.is-success,.dops-notice.is-compact.is-warning{color:#fff}.dops-notice.is-compact .dops-notice__text{font-size:12px;padding:6px 8px;line-height:1}.dops-notice.is-compact .dops-notice__icon{-ms-flex-item-align:center;align-self:center;-ms-flex-negative:0;flex-shrink:0;margin:0 8px 0 0;padding:0;width:18px;height:18px;vertical-align:middle}.dops-notice.is-compact .dops-notice__dismiss{display:none}.dops-notice.is-compact a.dops-notice__action{background:transparent;display:inline-block;font-size:11px;font-weight:600;-ms-flex-item-align:center;align-self:center;margin-right:16px;padding:0 8px;text-decoration:underline;text-transform:uppercase}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent;text-decoration:none}.dops-notice.is-compact a.dops-notice__action .gridicon{margin-right:8px;width:14px;height:14px;vertical-align:sub;opacity:1}.dops-section-header.dops-card{display:-ms-flexbox;display:flex;padding-top:.6875rem;padding-bottom:.6875rem;position:relative}.dops-section-header.dops-card:after{content:''}.dops-section-header__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;line-height:1.75rem;position:relative;color:#87a6bc;font-size:.875rem}.dops-section-header__label:before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(-90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;left:0;right:auto;width:20%;height:auto}.dops-section-header__card-badge,.dops-section-header__label .dops-count{margin-right:.5rem}.dops-section-header__actions{-ms-flex-positive:0;flex-grow:0;position:relative}.dops-section-header__actions:after{content:".";display:block;height:0;clear:both;visibility:hidden}.section-header__actions .button{float:right;margin-left:.5rem}.section-header__actions .button:last-child{margin-left:0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{position:relative;display:inline-block;border-radius:12px;box-sizing:border-box;padding:2px;width:40px;height:24px;background:#a8bece;vertical-align:middle;outline:0;cursor:pointer;transition:all .4s ease,box-shadow 0}.form-toggle__switch:after,.form-toggle__switch:before{position:relative;display:block;content:"";width:20px;height:20px}.form-toggle__switch:after{right:0;border-radius:50%;background:#fff;transition:all .2s ease}.form-toggle__switch:before{display:none}.form-toggle__switch:hover{background:#c8d7e1}.accessible-focus .form-toggle__switch:focus,.form-toggle__switch:focus{box-shadow:0 0 0 2px #00aadc}.form-toggle__label{cursor:pointer;width:auto;float:none}.accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #00aadc}.accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:hover+.form-toggle__label .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+.form-toggle__label .form-toggle__switch,.form-toggle:disabled:hover+.form-toggle__label .form-toggle__switch{background:#e9eff3}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#c8d7e1}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;width:24px;height:16px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{width:12px;height:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{right:8px}.dops-text-input.dops-text-input{box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-text-input.dops-text-input::-webkit-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::-moz-placeholder{color:#87a6bc}.dops-text-input.dops-text-input:-ms-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::placeholder{color:#87a6bc}.dops-text-input.dops-text-input:hover{border-color:#a8bece}.dops-text-input.dops-text-input:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-text-input.dops-text-input:focus::-ms-clear{display:none}.dops-text-input.dops-text-input:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-text-input.dops-text-input:disabled:hover{cursor:default}.dops-text-input.dops-text-input:disabled::-webkit-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::-moz-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled:-ms-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::placeholder{color:#a8bece}.dops-text-input.dops-text-input{-webkit-appearance:none}.dops-text-input.dops-text-input.is-valid{border-color:#4ab866}.dops-text-input.dops-text-input.is-valid:hover{border-color:#3a9551}.dops-text-input.dops-text-input.is-error{border-color:#d94f4f}.dops-text-input.dops-text-input.is-error:hover{border-color:#c92c2c}.dops-text-input.dops-text-input:focus.is-valid{box-shadow:0 0 0 2px #caead2}.dops-text-input.dops-text-input:focus.is-valid:hover{box-shadow:0 0 0 2px #a6dcb3}.dops-text-input.dops-text-input:focus.is-error{box-shadow:0 0 0 2px #f9e2e2}.dops-text-input.dops-text-input:focus.is-error:hover{box-shadow:0 0 0 2px #f0b8b8}.dops-textarea{box-sizing:border-box;margin:0;padding:.4375rem .875rem;min-height:5.75rem;width:100%;color:#2e4453;font-size:1rem;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-textarea::-webkit-input-placeholder{color:#87a6bc}.dops-textarea::-moz-placeholder{color:#87a6bc}.dops-textarea:-ms-input-placeholder{color:#87a6bc}.dops-textarea::placeholder{color:#87a6bc}.dops-textarea:hover{border-color:#a8bece}.dops-textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-textarea:focus::-ms-clear{display:none}.dops-textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-textarea:disabled:hover{cursor:default}.dops-textarea:disabled::-webkit-input-placeholder{color:#a8bece}.dops-textarea:disabled::-moz-placeholder{color:#a8bece}.dops-textarea:disabled:-ms-input-placeholder{color:#a8bece}.dops-textarea:disabled::placeholder{color:#a8bece}.dops-clipboard-button-input{position:relative;display:block}.dops-clipboard-button-input .dops-clipboard-button{position:absolute;top:50%;left:4px;transform:translateY(-50%);overflow:visible}.dops-clipboard-button-input .dops-clipboard-button:not(:disabled):before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(-90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;left:0;right:auto;width:16px;height:auto;left:calc(100% + 1px)}.dops-clipboard-button-input .dops-clipboard-button:focus:before{left:calc(100% + 3px)}.dops-checkbox.dops-checkbox{display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.dops-checkbox.dops-checkbox:checked:before{content:'\F147';margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.dops-checkbox.dops-checkbox:disabled:checked:before{color:#a8bece}.dops-checkbox.dops-checkbox:hover{border-color:#a8bece}.dops-checkbox.dops-checkbox:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-checkbox.dops-checkbox:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.dops-checkbox.dops-checkbox:disabled:hover{cursor:default}.dops-checkbox.dops-checkbox+span{display:block;margin-right:24px}.dops-external-link .gridicons-external{color:currentColor;margin-right:.5rem;top:.125rem;position:relative}.notices-list{overflow:hidden}.notices-list.is-pinned{width:calc(100% - 272px - 32px - 32px);z-index:z-index("root",".notices-list.is-pinned");position:fixed;top:79px}.notices-list.is-pinned .notice{z-index:z-index("root",".notices-list.is-pinned .notice")}.notices-list__whitespace{height:71px;width:100%;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{overflow:hidden;text-align:left;z-index:100;position:fixed;top:auto;left:0;bottom:0;right:0}@media (min-width:661px){.global-notices{top:63px;left:16px;bottom:auto;right:auto;max-width:calc(100% - 32px)}}@media (min-width:961px){.global-notices{top:71px;left:24px;max-width:calc(100% - 48px)}}@media (min-width:1041px){.global-notices{left:32px;max-width:calc(100% - 64px)}}.global-notices .dops-notice{-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-bottom:0;text-align:right;pointer-events:auto}@media (min-width:661px){.global-notices .dops-notice{display:-ms-flexbox;display:flex;border-radius:20px;overflow:hidden;margin-bottom:24px}}@media (min-width:661px){.global-notices .dops-notice__icon{padding:8px 16px 8px 0}}.global-notices .dops-notice__text{padding-right:16px;-ms-flex-preferred-size:auto;flex-basis:auto;-ms-flex-positive:1;flex-grow:1}@media (min-width:661px){.global-notices .dops-notice__text{-ms-flex-positive:0;flex-grow:0;padding:9px 13px}}@media (min-width:661px){.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:9px 16px}}.global-notices .dops-notice__dismiss{-ms-flex-negative:0;flex-shrink:0}@media (min-width:661px){.global-notices .dops-notice__dismiss{padding:8px 16px}}
|
2 |
/*# sourceMappingURL=admin.dops-style.rtl.css.map */
|
1 |
+
.dops-count{display:inline-block;padding:.0625rem .375rem;border:1px solid #87a6bc;border-radius:.75rem;font-size:.6875rem;font-weight:600;line-height:.875rem;color:#87a6bc;text-align:center}.dops-select-dropdown.is-open .dops-select-dropdown__header:after,.dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-select-dropdown{height:43px}.dops-select-dropdown.is-compact{height:28px}.dops-select-dropdown__container{position:relative;overflow:hidden;display:inline-block;width:auto;max-width:100%}.dops-select-dropdown.is-open .dops-select-dropdown__container{z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container,.dops-accessible-focus .dops-select-dropdown__container:focus{z-index:170;box-shadow:0 0 0 2px #78dcfa}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container .select-dropdown__header,.dops-accessible-focus .dops-select-dropdown__container:focus .select-dropdown__header{border-color:#0087be}.dops-accessible-focus .dops-select-dropdown__container:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;border-radius:4px}.dops-select-dropdown__header{padding:11px 16px 11px 44px;border-style:solid;border-color:#c8d7e1;border-width:1px 1px 2px;border-radius:4px;background-color:#fff;font-size:14px;font-weight:600;line-height:18px;height:18px;color:#2e4453;transition:background-color .2s ease;cursor:pointer}.dops-select-dropdown__header:after{content:'\F347';position:absolute;left:13px;top:12px;display:block;line-height:18px;color:rgba(135,166,188,.5)}.is-compact .dops-select-dropdown__header:after{left:4px;top:4px}.is-compact .dops-select-dropdown__header{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.is-compact .dops-select-dropdown__header .dops-count{border-width:0;margin-right:0;line-height:1}.dops-select-dropdown.is-open .dops-select-dropdown__header{border-radius:4px 4px 0 0;box-shadow:none;background-color:#f3f6f8}.dops-select-dropdown.is-open .dops-select-dropdown__header:after{content:'\F343'}.dops-select-dropdown__header .dops-count{margin-right:8px}.dops-select-dropdown__header-text{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-select-dropdown__options{visibility:hidden;height:0;box-sizing:border-box;padding:0;list-style:none;margin:-2px 0 0;background-color:#fff;border:1px solid #c8d7e1;border-radius:0 0 4px 4px}.dops-accessible-focus .dops-select-dropdown__options{border:1px solid #0087be;border-top-color:#c8d7e1}.dops-select-dropdown.is-open .dops-select-dropdown__options{visibility:visible;height:auto}.dops-select-dropdown__option:last-child .dops-select-dropdown__item{border-radius:0 0 4px 4px}.dops-select-dropdown__item,.dops-select-dropdown__item-text{padding:11px 16px 11px 44px}.dops-select-dropdown__item{display:block;position:relative;font-size:14px;font-weight:400;line-height:18px;color:#2e4453;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer}.dops-select-dropdown__item:before{content:attr(data-bold-text);font-weight:700;opacity:0}.dops-select-dropdown__item:visited{color:#2e4453}.dops-select-dropdown__item.is-selected{background-color:#00aadc;color:#fff}.dops-select-dropdown__item.is-disabled{background-color:#fff;color:#87a6bc;cursor:default;opacity:.5}.notouch .dops-select-dropdown__item:hover{color:#00aadc}.notouch .dops-select-dropdown__item.is-selected:hover{color:#fff}.dops-select-dropdown__item-text{padding-left:16px;box-sizing:border-box;position:absolute;top:0;right:0;width:100%;white-space:nowrap;text-overflow:ellipsis;color:inherit;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between}.dops-select-dropdown__item-text .dops-count{color:inherit;border-color:inherit}.dops-select-dropdown__separator{border-top:1px solid #c8d7e1;display:block;margin:8px 0}.dops-select-dropdown__label{display:block;color:#a8bece;margin-top:5px;line-height:20px}.dops-select-dropdown__label label{font-size:12px;text-transform:uppercase;padding:0 16px}@keyframes rotate-spinner__right{0%{transform:rotate(0deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(-180deg)}75%{transform:rotate(-1turn)}to{transform:rotate(-1turn)}}@keyframes rotate-spinner__left{0%{transform:rotate(0deg)}25%{transform:rotate(0deg)}50%{transform:rotate(-180deg)}75%{transform:rotate(-180deg)}to{transform:rotate(-1turn)}}.dops-spinner.is-fallback{position:relative;border-radius:100%;background-color:#c8d7e1}.dops-spinner.is-fallback:after,.dops-spinner.is-fallback:before{content:'';position:absolute;background-color:#fff;border-radius:50%}.dops-spinner.is-fallback:before{width:90%;height:90%;top:5%;right:5%}.dops-spinner.is-fallback:after{width:70%;height:70%;top:15%;right:15%}.dops-spinner__image{display:block}.dops-spinner__border{fill:#c8d7e1}.dops-spinner__progress{animation:3s linear infinite;transform-origin:50px 50px;fill:#00aadc}.dops-spinner.is-fallback .dops-spinner__progress{position:absolute;overflow:hidden;width:50%;height:100%;animation:none}.dops-spinner.is-fallback .dops-spinner__progress:before{content:'';position:absolute;width:100%;height:100%;animation:3s linear infinite;border-radius:9999px;background-color:#00aadc;fill:none}.dops-spinner.is-fallback .dops-spinner__progress.is-left{right:0}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before{right:100%;border-top-right-radius:0;border-bottom-right-radius:0;transform-origin:100% 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right{right:50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before{right:-100%;border-top-left-radius:0;border-bottom-left-radius:0;transform-origin:0% 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before,.dops-spinner__progress.is-left{animation-name:rotate-spinner__left}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before,.dops-spinner__progress.is-right{animation-name:rotate-spinner__right}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(-1px,1px)}.gridicon.needs-offset-x g{transform:translate(-1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-search{margin-bottom:24px;width:60px;height:51px;position:relative;z-index:22}@media (max-width:660px){.dops-search{width:50px}}.dops-search .dops-search-open__icon{position:absolute;top:50%;margin-top:-12px;width:60px;z-index:20;color:#0087be;cursor:pointer}.dops-accessible-focus .dops-search .dops-search-open__icon:focus{outline:1px dotted #0087be}@media (max-width:660px){.dops-search .dops-search-open__icon{width:50px}}.dops-search .dops-search-open__icon:hover{color:#3d596d}.dops-search .dops-search-close__icon{position:absolute;bottom:0;top:50%;left:0;margin-top:-12px;width:60px;cursor:pointer;z-index:20;color:#3d596d;display:none;opacity:0;transition:opacity .2s ease-in}.dops-accessible-focus .dops-search .dops-search-close__icon:focus{outline:1px dotted #0087be}.dops-search .dops-search-close__icon:before{position:absolute;right:0;left:0;top:50%;margin-top:-8px;font-size:16px;text-align:center}@media (max-width:660px){.dops-search .dops-search-close__icon:before{font-size:14px;margin-top:-7px}}@media (max-width:660px){.dops-search .dops-search-close__icon{width:50px}}.dops-search.is-pinned{margin-bottom:0;height:auto;position:absolute;bottom:0;top:0;left:0;z-index:170}.dops-search.is-pinned .dops-search-open__icon{left:0}.dops-search.is-pinned .dops-search__input[type=search]{height:100%}.dops-search__input[type=search]{display:none;position:absolute;z-index:10;top:0;margin:0;padding:0 60px 0 50px;border:none;background:#fff;height:51px;-moz-appearance:none;appearance:none;box-sizing:border-box;-webkit-appearance:none;box-shadow:none}@media (max-width:660px){.dops-search__input[type=search]{opacity:0;right:0;padding-right:50px}}.dops-search__input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.dops-search__input[type=search]:focus{box-shadow:none;border:none}.dops-search.is-open{margin-left:0!important;width:100%}.dops-search.is-open .dops-search-open__icon{color:#3d596d;right:0}.dops-search.is-open .dops-search-close__icon{display:inline-block}.dops-search.is-open .dops-search-close__icon,.dops-search.is-open .dops-search__input{opacity:1}.dops-search.is-open .dops-search__input{display:block}.dops-search .dops-spinner{display:none;position:absolute;top:50%;right:30px;transform:translate(50%,-50%)}@media (max-width:660px){.dops-search .dops-spinner{right:25px}}.dops-search.is-searching .dops-search-open__icon{display:none}.dops-search.is-searching .dops-spinner{display:block;z-index:20}@media (max-width:660px){.animating.dops-search-opening .dops-search input{opacity:1}}.dops-section-nav.is-open .dops-section-nav__mobile-header:after,.dops-section-nav__mobile-header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-section-nav{position:relative;width:100%;padding:0;margin:0 0 17px;background:#fff;box-sizing:border-box;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-section-nav.is-empty .dops-section-nav__panel{visibility:hidden}@media (max-width:480px){.dops-section-nav.is-open{box-shadow:0 0 0 1px #87a6bc,0 2px 4px #c8d7e1}}@media (min-width:481px){.dops-section-nav.has-pinned-items{padding-left:60px}}@media (min-width:481px) and (max-width:660px){.dops-section-nav.has-pinned-items{padding-left:50px}}@media (max-width:660px){.dops-section-nav{margin-bottom:9px}}.dops-section-nav__mobile-header{display:-ms-flexbox;display:flex;padding:15px;font-size:14px;line-height:16px;color:#2e4453;font-weight:600;cursor:pointer}.dops-section-nav__mobile-header:after{content:'\F347';line-height:16px;color:rgba(135,166,188,.5)}.dops-section-nav.is-open .dops-section-nav__mobile-header:after{content:'\F343'}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header{padding-left:50px}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header:after{margin-right:8px}@media (min-width:481px){.dops-section-nav__mobile-header{display:none}}.dops-section-nav__mobile-header-text{width:0;-ms-flex:1 0 auto;flex:1 0 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav__mobile-header-text small{margin-right:5px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header-text{width:auto;-ms-flex:0 1 auto;flex:0 1 auto}.dops-section-nav__panel{box-sizing:border-box;width:100%}@media (max-width:480px){.dops-section-nav.is-open .dops-section-nav__panel{padding-bottom:15px;border-top:1px solid #c8d7e1;background:linear-gradient(-180deg,#f3f6f8 0,#fff 4px)}}@media (min-width:481px){.dops-section-nav__panel{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.dops-section-nav__panel:first-child{width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav-group{position:relative;margin-top:16px;padding-top:16px;border-top:1px solid #c8d7e1}.dops-section-nav-group:first-child{padding-top:0;border-top:none}@media (max-width:480px){.dops-section-nav-group{display:none}.dops-section-nav.is-open .dops-section-nav-group{display:block}}@media (min-width:481px){.dops-section-nav-group{margin-top:0;padding-top:0;border-top:none}.dops-section-nav-group:first-child{display:-ms-flexbox;display:flex;width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav__button{width:100%;margin-top:24px}.dops-section-nav__hr{background:#e9eff3}.dops-section-nav-group__label{display:none;margin-bottom:8px;padding:0 15px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase;line-height:12px}@media (max-width:480px){.has-siblings .dops-section-nav-group__label{display:block}}.dops-section-nav-group__label-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-section-nav-tab .count{margin-right:8px}@media (min-width:481px){.dops-section-nav-tabs{width:0;-ms-flex:1 0 auto;flex:1 0 auto}.dops-section-nav-tabs.is-dropdown{position:relative;width:auto;-ms-flex:0 1 auto;flex:0 1 auto;margin:8px}}.dops-section-nav-tabs__list{margin:0;list-style:none}@media (min-width:481px){.dops-section-nav-tabs__list{display:-ms-flexbox;display:flex;width:100%;overflow:hidden}.is-dropdown .dops-section-nav-tabs__list{display:none}}.dops-section-nav-tab{margin-bottom:0}@media (min-width:481px){.dops-section-nav-tab{width:auto;-ms-flex:none;flex:none;border-bottom:2px solid transparent;border-top:none;text-align:center}.dops-section-nav-tab.is-selected{border-bottom-color:#2e4453}}.dops-section-nav-tab__link,.dops-section-nav-tab__text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav-tab__link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box;padding:15px;width:100%;font-size:14px;font-weight:600;line-height:18px;color:#2e4453;cursor:pointer}.dops-section-nav-tab__link:visited{color:#2e4453}.dops-section-nav-tab__link[disabled],.notouch .dops-section-nav-tab__link[disabled]:hover{color:#e9eff3;cursor:default}.is-selected .dops-section-nav-tab__link{color:#fff;background-color:#00aadc}.dops-section-nav-tab__link:focus{outline:none;box-shadow:none}.accessible-focus .dops-section-nav-tab__link:focus{outline:1px solid #87a6bc}.is-external .dops-section-nav-tab__link:after{font-size:18px;padding-right:2px}.notouch .dops-section-nav-tab__link:hover{color:#00aadc}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#fff}@media (min-width:481px){.dops-section-nav-tab__link{display:block;width:auto;padding:16px 16px 14px;color:#0087be;font-weight:400}.dops-section-nav-tab__link:visited{color:#0087be}.is-selected .dops-section-nav-tab__link{color:#2e4453;background-color:transparent}.is-selected .dops-section-nav-tab__link:after{display:none}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#2e4453}}.dops-section-nav-tab__text{display:block;-ms-flex:1 0 auto;flex:1 0 auto;width:0;color:inherit}@media (min-width:481px){.dops-section-nav-tab__text{display:inline;-ms-flex:none;flex:none;width:auto}}.dops-section-nav-tabs__dropdown{position:relative;z-index:3;width:100%}.dops-section-nav-tabs__dropdown.is-open{z-index:4}.dops-section-nav-tabs__dropdown .dops-select-dropdown__container{position:static}.dops-section-nav__segmented .dops-segmented-control{margin:0 15px}.dops-section-nav__segmented .dops-segmented-control__link{padding:3px 16px 5px}@media (max-width:480px){.dops-section-nav .dops-search.is-pinned{height:46px}}.dops-card{position:relative;margin:0 auto .625rem;padding:1rem;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card{margin-bottom:1rem;padding:1.5rem}}.dops-card.is-compact{margin-bottom:1px}@media (min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:1rem 1.5rem}}.dops-card-title{background-color:#f9f9f9;color:#000;font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;text-transform:uppercase;border-bottom:1px solid #ddd;padding:10px 16px;margin:0}@media (min-width:481px){.dops-card-title{padding:16px 24px}}.dops-card-title .dops-card-meta{color:#aaa;float:left}.dops-card-section{font-size:14px;padding:16px;border-bottom:1px solid #ddd}.dops-card-section:after{content:".";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card-section{padding:24px}}.dops-card-section:last-child{border-bottom:none}.dops-card-section .dops-card-section-label{color:#000;font-size:12px;font-weight:400;text-transform:uppercase}.dops-card-section .dops-card-section-orient-vertical .dops-card-section-label{margin-bottom:10px}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{float:right;width:30%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{margin-bottom:10px;float:none;width:100%}}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:left;width:70%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:none;width:100%}}.dops-card-footer{background:#f9f9f9;padding:15px 20px}.dops-card-icon{float:left;text-transform:capitalize}.dops-card-icon .genericon{border-radius:50%;width:16px;height:16px;margin-left:10px;color:#fff;background:#81bf16}.dops-button{background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dops-button:hover{border-color:#a8bece;color:#2e4453}.dops-button:active{border-width:2px 1px 1px}.dops-button:visited{color:#2e4453}.dops-button:disabled,.dops-button[disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}.dops-button:disabled:active,.dops-button[disabled]:active{border-width:1px 1px 2px}.dops-button:focus{outline:0;border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.dops-button.is-compact{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.dops-button.is-compact:disabled{color:#e9eff3}.dops-button.is-compact .gridicon{top:4px;margin-top:-8px}.dops-button.is-compact .gridicons-plus-small{margin-right:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-right:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-right:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{position:relative;top:4px;margin-top:-2px;width:18px;height:18px}.dops-button.is-primary{background:#00aadc;border-color:#0087be;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{border-color:#005082;color:#fff}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}.dops-button.is-primary.is-compact{color:#fff}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{color:#f4cdcd;border-color:#e9eff3}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#668eaa;padding-right:0;padding-left:0}.dops-button.is-borderless:hover{color:#2e4453}.dops-button.is-borderless:focus{box-shadow:none}.dops-button.is-borderless .gridicon{width:24px;height:24px;top:6px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{color:#e9eff3;background:#fff;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{width:18px;height:18px;top:5px}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-foldable-card.dops-card{position:relative;transition:margin .15s linear;padding:0}.dops-foldable-card.dops-card:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-foldable-card.dops-card.is-expanded{margin-bottom:8px}.dops-foldable-card.dops-card .is-clickable{cursor:pointer}.dops-foldable-card__header{min-height:64px;width:100%;padding:16px;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;position:relative}.dops-foldable-card__header.has-border .dops-foldable-card__summary,.dops-foldable-card__header.has-border .dops-foldable-card__summary_expanded{margin-left:48px}.dops-foldable-card__header.has-border .dops-foldable-card__expand{border-right:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card__header{padding:8px 16px;min-height:40px}.dops-foldable-card.is-expanded .dops-foldable-card__header{margin-bottom:0;height:inherit;min-height:64px}.dops-foldable-card.is-expanded.is-compact .dops-foldable-card__header{min-height:40px}.dops-foldable-card.is-disabled .dops-foldable-card__header{opacity:.2}.dops-foldable-card__action{position:absolute;top:0;left:0;height:100%;background:none;border:0}.dops-foldable-card.is-expanded .dops-foldable-card__action{height:100%}.dops-foldable-card.is-disabled .dops-foldable-card__action{cursor:default}.accessible-focus .dops-foldable-card__action:focus{outline:thin dotted}button.dops-foldable-card__action{cursor:pointer;outline:0}.dops-foldable-card__main{max-width:calc(100% - 36px);display:block;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;width:100%;margin-left:5px}@media (max-width:480px){.dops-foldable-card__main{-ms-flex:1 1;flex:1 1}}.dops-foldable-card__secondary{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1;flex:1 1;-ms-flex-pack:end;justify-content:flex-end}.dops-foldable-card__expand{width:48px}.dops-foldable-card__expand .gridicon{fill:#87a6bc;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;vertical-align:middle;transition:transform .15s cubic-bezier(.175,.885,.32,1.275),color .2s ease-in}.dops-foldable-card.is-expanded .dops-foldable-card__expand .gridicon{transform:rotate(-180deg)}.dops-foldable-card__expand .gridicon:hover{fill:#87a6bc}.dops-foldable-card__expand:focus .gridicon,.dops-foldable-card__expand:hover .gridicon{fill:#00aadc}.dops-foldable-card__header-text{font-size:1.125rem;width:100%}.dops-foldable-card__subheader{margin-top:.125rem;margin-bottom:.125rem;font-size:.875rem;color:#4f748e}.dops-foldable-card__content{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__content{display:block;padding:16px;border-top:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card.is-expanded .dops-foldable-card__content{padding:8px}.dops-foldable-card.is-expanded .dops-foldable-card__content p:first-child{margin-top:0}.dops-foldable-card.is-expanded .dops-foldable-card__content p:last-child{margin-bottom:0}.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{margin-left:40px;color:#87a6bc;font-size:12px;transition:opacity .2s linear;display:inline-block}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{transition:none;-ms-flex:2;flex:2;text-align:left}@media (max-width:480px){.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{display:none}}.dops-foldable-card__summary{opacity:1;display:inline-block}.dops-foldable-card.is-expanded .dops-foldable-card__summary,.dops-foldable-card__summary_expanded,.has-expanded-summary .dops-foldable-card.is-expanded .dops-foldable-card__summary{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__summary_expanded{display:inline-block}.tip-hide{opacity:0}.popover{font-size:11px;padding:10px;z-index:1000;position:absolute;top:0;right:0;left:auto}.popover .tip-inner{background-color:#fff;border:1px solid #c8d7e1;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);text-align:center}.popover .tip-arrow{border:10px dashed #c8d7e1;height:0;line-height:0;position:absolute;width:0;z-index:1}.popover.fade{transition:opacity .1s}.popover.tip-top-left .tip-arrow,.popover.tip-top-right .tip-arrow,.popover.tip-top .tip-arrow{bottom:0;right:50%;margin-right:-10px;border-top-style:solid;border-bottom:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-top-left .tip-arrow:before,.popover.tip-top-right .tip-arrow:before,.popover.tip-top .tip-arrow:before{bottom:2px;border:10px solid #fff;content:" ";position:absolute;right:50%;margin-right:-10px;border-top-style:solid;border-bottom:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-bottom-left .tip-arrow,.popover.tip-bottom-right .tip-arrow,.popover.tip-bottom .tip-arrow{top:0;right:50%;margin-right:-10px;border-bottom-style:solid;border-top:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-bottom-left .tip-arrow:before,.popover.tip-bottom-right .tip-arrow:before,.popover.tip-bottom .tip-arrow:before{top:2px;border:10px solid #fff;content:" ";position:absolute;right:50%;margin-right:-10px;border-bottom-style:solid;border-top:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-left-bottom .tip-arrow,.popover.tip-left-top .tip-arrow,.popover.tip-left .tip-arrow{left:0;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-left-bottom .tip-arrow:before,.popover.tip-left-top .tip-arrow:before,.popover.tip-left .tip-arrow:before{left:2px;border:10px solid #fff;content:" ";position:absolute;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow,.popover.tip-right-top .tip-arrow,.popover.tip-right .tip-arrow{right:0;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow:before,.popover.tip-right-top .tip-arrow:before,.popover.tip-right .tip-arrow:before{right:2px;border:10px solid #fff;content:" ";position:absolute;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-bottom-left,.popover.tip-bottom-right,.popover.tip-top-left,.popover.tip-top-right{padding-left:0;padding-right:0}.popover.tip-bottom-left .tip-arrow,.popover.tip-top-left .tip-arrow{right:auto;left:5px}.popover.tip-bottom-right .tip-arrow,.popover.tip-top-right .tip-arrow{right:15px}.popover.tip-bottom-left .tip-inner,.popover.tip-top-left .tip-inner{position:relative;right:10px}.popover.tip-bottom-right .tip-inner,.popover.tip-top-right .tip-inner{position:relative;right:-10px}.popover.is-dialog-visible{z-index:100300}.popover__menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:200px}.popover__menu-item{position:relative;background:inherit;border:none;border-radius:0;color:#2e4453;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;text-align:right;transition:all .05s ease-in-out}.popover__menu-item:first-child{margin-top:5px}.popover__menu-item:focus,.popover__menu-item:hover{background-color:#00aadc;border:0;box-shadow:none;color:#fff}.popover__menu-item:focus .gridicon,.popover__menu-item:hover .gridicon{color:#fff}.popover__menu-item[disabled]:focus,.popover__menu-item[disabled]:hover{background:transparent;cursor:default}.popover__menu-item:last-child{margin-bottom:5px}.popover__menu-item::-moz-focus-inner{border:0}.popover__menu-item.has-icon{padding-right:42px}.popover__menu-item .gridicon{color:#a8bece;vertical-align:bottom;margin-left:8px}.popover__hr{margin:8px 0;background:#e9eff3}.dops-chart__empty_notice:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-chart{position:relative;box-sizing:border-box;background-color:#fff;padding:8px 20px 8px 0}.dops-chart .dops-chart__y-axis-markers{position:absolute;top:8px;right:0;left:0;height:200px}.dops-chart .dops-chart__y-axis-marker{position:absolute;top:0;width:100%;height:1px;border-top:1px solid #e9eff3}.dops-chart__bar-marker{z-index:1;position:absolute;top:0;width:100%;height:1px;border-top:1px solid rgba(233,239,243,.1)}.dops-chart .dops-chart__y-axis-marker.is-fifty,.dops-chart__bar-marker.is-fifty,.dops-chart__y-axis-label.is-fifty{top:50%}.dops-chart .dops-chart__y-axis-marker.is-zero,.dops-chart__bar-marker.is-zero,.dops-chart__y-axis-label.is-zero{top:100%}.dops-chart__y-axis{position:relative;float:left;height:200px;padding:0 10px 0 20px;font-size:11px;color:#668eaa;margin-bottom:30px}.dops-chart__y-axis-label{position:absolute;top:0;left:20px;text-align:left}.dops-chart__y-axis-width-fix{color:hsla(0,0%,100%,0)}.dops-chart__x-axis{position:relative;font-size:0;padding:5px 0;min-height:18px;color:#3d596d}.dops-chart__x-axis-label{position:absolute;display:inline-block;vertical-align:top;font-size:11px;text-align:center}.dops-chart__x-axis-label:before{content:'';display:block;position:absolute;top:-4px;right:50%;margin-right:-.5px;width:1px;height:5px;background:#f3f6f8;background-image:linear-gradient(-180deg,#f3f6f8 0,#c8d7e1)}.dops-chart__bars{font-size:0;overflow:hidden;display:-ms-flex;display:-ms-flexbox;display:flex}.dops-chart__bar,.dops-chart__bars{position:relative;height:200px;text-align:center}.dops-chart__bar{display:inline-block;-ms-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1}.dops-chart__bar.is-weekend{background-color:rgba(233,239,243,.5)}.dops-chart__bar:hover{cursor:pointer;background-color:rgba(233,239,243,.3)}.dops-chart__bar.is-selected{cursor:default;background-color:rgba(240,130,30,.1)}.dops-chart__bar-section{display:inline-block;background-color:#0087be;position:absolute;top:0;left:16%;bottom:0;right:16%;z-index:2}.dops-chart__bar:hover .dops-chart__bar-section.is-bar{background-color:#00aadc}.dops-chart__bar.is-selected .dops-chart__bar-section.is-bar{background-color:#f0821e}.dops-chart__bar-section.is-spacer{z-index:0;background-color:hsla(0,0%,100%,0)}.dops-chart__bar-section.is-ghost:after{content:"";display:block;position:absolute;top:160px;bottom:0;right:0;z-index:1;width:100%;height:40px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,0),rgba(233,239,243,.5))}.dops-chart__bar:hover .dops-chart__bar-section.is-ghost:after{display:none}.dops-chart__bar-section-inner{background:#004069;position:absolute;left:23.33%;bottom:0;right:23.33%}.dops-chart__bar.is-selected .dops-chart__bar-section-inner{background-color:#d54e21}.dops-chart__legend{margin-bottom:-8px}.dops-chart__legend:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-chart__legend .dops-chart__legend-options{float:left;color:#537994;list-style-type:none;margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.1em}@media (max-width:480px){.dops-chart__legend .dops-chart__legend-options{width:100%}}.dops-chart__legend-option{display:inline;text-align:right}@media (max-width:480px){.dops-chart__legend-option{width:50%;display:inline-block}}.dops-chart__legend-label{display:inline-block;padding:12px 20px 10px 19px}.dops-chart__legend-label.is-selectable{cursor:pointer}.dops-chart__legend-label.is-selectable:focus,.dops-chart__legend-label.is-selectable:hover{color:tint(#00aadc,20%)}@media (max-width:480px){.dops-chart__legend-label{display:block}}.dops-chart__legend-option .dops-chart__legend-color{width:10px;height:10px;background:#0087be;display:inline-block;border-radius:1px;vertical-align:top;margin:3px 8px 3px 5px}@media (max-width:480px){.dops-chart__legend-option:first-child .dops-chart__legend-color{margin-right:2px}}.dops-chart__legend-color.is-dark-blue{background:#004069}.dops-chart__legend-option .dops-chart__legend-checkbox{margin:0;float:none;vertical-align:top}.dops-chart__empty{position:absolute;top:0;left:0;bottom:0;right:0;text-align:center;font-size:14px;line-height:24px;clear:both;z-index:1}.dops-chart__empty_notice{position:relative;top:97px;padding:11px 24px;margin-bottom:24px;border-radius:1px;background:#fff;box-sizing:border-box;font-size:14px;line-height:1.4285;animation:appear .3s ease-in-out;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-chart__empty_notice{padding:13px 48px;font-size:inherit}.dops-chart__empty_notice:before{content:'\F348';position:absolute;top:23px;right:20px;margin:-12px -8px 0 0;font-size:24px;line-height:1}}.dops-chart__tooltip{z-index:1000;position:absolute;top:0;right:0;left:auto}.dops-chart__tooltip.tip-bottom-left .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-left .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;right:211px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-left .tip-arrow:before{right:-18px;top:-3px}.dops-chart__tooltip.tip-bottom-right .tip-arrow,.dops-chart__tooltip.tip-bottom .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.dops-chart__tooltip.tip-bottom .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;right:11px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{right:-238px;top:-3px}.dops-chart__tooltip.tip-top .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-top .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-top-color:#3d596d;position:absolute;right:118px;top:-4px}.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{right:-93px}.dops-chart__tooltip .tip-inner{border:0;box-shadow:none;border-radius:2px;color:#fff;background:#3d596d;font-size:11px;padding:6px 10px;margin-top:4px;width:230px;text-align:right}.dops-chart__tooltip .tip-inner ul{list-style:none;margin:0;padding:0}.dops-chart__tooltip .tip-inner ul:after{content:".";display:block;height:0;clear:both;visibility:hidden}.dops-chart__tooltip .tip-inner ul li{font-size:11px;text-transform:uppercase;font-weight:100;height:24px;letter-spacing:.1em;border:0}.dops-chart__tooltip .tip-inner ul li .wrapper{display:block;line-height:inherit;line-height:24px;clear:both}.dops-chart__tooltip .tip-inner ul li .value{text-align:left;float:left;min-width:22px;color:#c8d7e1}.dops-chart__tooltip .tip-inner ul li .label{display:block;overflow:hidden;word-break:break-all;vertical-align:baseline}.dops-chart__tooltip .tip-inner ul li .gridicon{vertical-align:middle;margin-left:6px;margin-top:-3px}.dops-chart__tooltip.is-streak{margin-top:-5px;height:35px}.dops-chart__tooltip.is-streak .tip-arrow:before{right:85px;top:30px}.dops-chart__tooltip.is-streak .tip-inner{width:160px;position:relative;top:-10px}.dops-chart__tooltip.is-streak .tip-inner li{height:14px}.dops-chart__tooltip.is-streak .tip-inner li .label{width:100%;float:right;text-align:center}.rtl .dops-chart__tooltip.is-streak .tip-inner li .label{font-size:11px}.dops-chart__tooltip.is-streak .tip-inner li .label .post-count{font-weight:700}.dops-chart__tooltip.is-streak .tip-inner li .value{float:none}.dops-chart__tooltip .dops-module-content-list-item.is-date-label{font-size:11px;margin-bottom:2px;text-transform:uppercase;font-weight:700;border-bottom:1px solid #426177;padding-bottom:2px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item{height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .label{text-transform:none;color:#c8d7e1;overflow:hidden;letter-spacing:0;height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value{width:0;min-width:0}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value:before{content:'';position:relative;background-image:linear-gradient(-90deg,rgba(61,89,109,0) 0,rgba(61,89,109,.5),#3d596d);right:-30px;width:30px;height:24px;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-notice{display:-ms-flexbox;display:flex;position:relative;margin-bottom:24px;border-radius:1px;background:#e9eff3;box-sizing:border-box;font-size:14px;animation:appear .3s ease-in-out}@media (min-width:661px){.dops-notice{font-size:inherit}}.dops-notice.is-success{background:#4ab866}.dops-notice.is-warning{background:#f0b849}.dops-notice.is-error{background:#d94f4f}.dops-notice.is-info{background:#0087be}.dops-notice.is-error,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-error .dops-notice__text a,.dops-notice.is-info,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-info .dops-notice__text a,.dops-notice.is-success,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-success .dops-notice__text a,.dops-notice.is-warning,.dops-notice.is-warning .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__text a{color:#fff}.dops-notice.is-basic{background:#fff;color:#87a6bc}.dops-notice.is-basic,.dops-notice.is-basic .dops-notice__dismiss:focus{box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-notice.is-basic:before{display:none}}.dops-notice.is-basic .dops-notice__text{padding:11px 24px}@media (min-width:661px){.dops-notice.is-basic .dops-notice__text{padding:13px}}.dops-notice__icon{-ms-flex-negative:0;flex-shrink:0;padding:13px 16px 13px 0}@media (max-width:660px){.dops-notice__icon{display:none}}.dops-notice__content{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}@media (max-width:480px){.dops-notice__content{-ms-flex-direction:column;flex-direction:column}}.dops-notice__text{font-size:15px;padding:11px 24px}.dops-notice__text>div,.dops-notice__text>span{max-width:680px}@media (min-width:661px){.dops-notice__text{padding:13px}}.dops-notice__text a{text-decoration:underline}.dops-notice__text ul{margin-bottom:0;margin-right:0}.dops-notice__text li{margin-right:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-right:.428em}.dops-notice__dismiss{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;padding:11px 16px;cursor:pointer;color:#87a6bc}@media (min-width:661px){.dops-notice__dismiss{padding:13px 16px}}.dops-notice__dismiss:focus,.dops-notice__dismiss:hover{color:#2e4453}.dops-notice .dops-notice__dismiss{color:#87a6bc;opacity:.85}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{opacity:1}a.dops-notice__action{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;box-sizing:border-box;cursor:pointer;font-size:15px;font-weight:400;margin-right:auto;padding:13px 16px;text-decoration:none;white-space:nowrap}.is-error a.dops-notice__action,.is-info a.dops-notice__action,.is-success a.dops-notice__action,.is-warning a.dops-notice__action{color:#fff}.is-success a.dops-notice__action{background:#338247}.is-error a.dops-notice__action{background:#b52727}.is-warning a.dops-notice__action{background:#da9712}.is-info a.dops-notice__action{background:#005172}a.dops-notice__action .gridicon{margin-right:8px;opacity:.7}a.dops-notice__action:focus,a.dops-notice__action:hover{background:hsla(0,0%,100%,.2)}@media (max-width:480px){a.dops-notice__action{margin:0;-ms-flex-pack:end;justify-content:flex-end}}.dops-notice.is-compact{border-radius:2px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;min-height:20px;margin:0;padding:0;text-decoration:none;text-transform:none;vertical-align:middle}.dops-notice.is-compact.is-error,.dops-notice.is-compact.is-info,.dops-notice.is-compact.is-success,.dops-notice.is-compact.is-warning{color:#fff}.dops-notice.is-compact .dops-notice__text{font-size:12px;padding:6px 8px;line-height:1}.dops-notice.is-compact .dops-notice__icon{-ms-flex-item-align:center;align-self:center;-ms-flex-negative:0;flex-shrink:0;margin:0 8px 0 0;padding:0;width:18px;height:18px;vertical-align:middle}.dops-notice.is-compact .dops-notice__dismiss{display:none}.dops-notice.is-compact a.dops-notice__action{background:transparent;display:inline-block;font-size:11px;font-weight:600;-ms-flex-item-align:center;align-self:center;margin-right:16px;padding:0 8px;text-decoration:underline;text-transform:uppercase}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent;text-decoration:none}.dops-notice.is-compact a.dops-notice__action .gridicon{margin-right:8px;width:14px;height:14px;vertical-align:sub;opacity:1}.dops-section-header.dops-card{display:-ms-flexbox;display:flex;padding-top:.6875rem;padding-bottom:.6875rem;position:relative}.dops-section-header.dops-card:after{content:''}.dops-section-header__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;line-height:1.75rem;position:relative;color:#87a6bc;font-size:.875rem}.dops-section-header__label:before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(-90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;left:0;right:auto;width:20%;height:auto}.dops-section-header__card-badge,.dops-section-header__label .dops-count{margin-right:.5rem}.dops-section-header__actions{-ms-flex-positive:0;flex-grow:0;position:relative}.dops-section-header__actions:after{content:".";display:block;height:0;clear:both;visibility:hidden}.section-header__actions .button{float:right;margin-left:.5rem}.section-header__actions .button:last-child{margin-left:0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{position:relative;display:inline-block;border-radius:12px;box-sizing:border-box;padding:2px;width:40px;height:24px;background:#a8bece;vertical-align:middle;outline:0;cursor:pointer;transition:all .4s ease,box-shadow 0}.form-toggle__switch:after,.form-toggle__switch:before{position:relative;display:block;content:"";width:20px;height:20px}.form-toggle__switch:after{right:0;border-radius:50%;background:#fff;transition:all .2s ease}.form-toggle__switch:before{display:none}.form-toggle__switch:hover{background:#c8d7e1}.accessible-focus .form-toggle__switch:focus,.form-toggle__switch:focus{box-shadow:0 0 0 2px #00aadc}.form-toggle__label{cursor:pointer;width:auto;float:none}.accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #00aadc}.accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:hover+.form-toggle__label .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+.form-toggle__label .form-toggle__switch,.form-toggle:disabled:hover+.form-toggle__label .form-toggle__switch{background:#e9eff3}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#c8d7e1}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;width:24px;height:16px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{width:12px;height:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{right:8px}.dops-text-input.dops-text-input{box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-text-input.dops-text-input::-webkit-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::-moz-placeholder{color:#87a6bc}.dops-text-input.dops-text-input:-ms-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::placeholder{color:#87a6bc}.dops-text-input.dops-text-input:hover{border-color:#a8bece}.dops-text-input.dops-text-input:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-text-input.dops-text-input:focus::-ms-clear{display:none}.dops-text-input.dops-text-input:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-text-input.dops-text-input:disabled:hover{cursor:default}.dops-text-input.dops-text-input:disabled::-webkit-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::-moz-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled:-ms-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::placeholder{color:#a8bece}.dops-text-input.dops-text-input{-webkit-appearance:none}.dops-text-input.dops-text-input.is-valid{border-color:#4ab866}.dops-text-input.dops-text-input.is-valid:hover{border-color:#3a9551}.dops-text-input.dops-text-input.is-error{border-color:#d94f4f}.dops-text-input.dops-text-input.is-error:hover{border-color:#c92c2c}.dops-text-input.dops-text-input:focus.is-valid{box-shadow:0 0 0 2px #caead2}.dops-text-input.dops-text-input:focus.is-valid:hover{box-shadow:0 0 0 2px #a6dcb3}.dops-text-input.dops-text-input:focus.is-error{box-shadow:0 0 0 2px #f9e2e2}.dops-text-input.dops-text-input:focus.is-error:hover{box-shadow:0 0 0 2px #f0b8b8}.dops-textarea{box-sizing:border-box;margin:0;padding:.4375rem .875rem;min-height:5.75rem;width:100%;color:#2e4453;font-size:1rem;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-textarea::-webkit-input-placeholder{color:#87a6bc}.dops-textarea::-moz-placeholder{color:#87a6bc}.dops-textarea:-ms-input-placeholder{color:#87a6bc}.dops-textarea::placeholder{color:#87a6bc}.dops-textarea:hover{border-color:#a8bece}.dops-textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-textarea:focus::-ms-clear{display:none}.dops-textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-textarea:disabled:hover{cursor:default}.dops-textarea:disabled::-webkit-input-placeholder{color:#a8bece}.dops-textarea:disabled::-moz-placeholder{color:#a8bece}.dops-textarea:disabled:-ms-input-placeholder{color:#a8bece}.dops-textarea:disabled::placeholder{color:#a8bece}.dops-clipboard-button-input{position:relative;display:block}.dops-clipboard-button-input .dops-clipboard-button{position:absolute;top:50%;left:4px;transform:translateY(-50%);overflow:visible}.dops-clipboard-button-input .dops-clipboard-button:not(:disabled):before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(-90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;left:0;right:auto;width:16px;height:auto;left:calc(100% + 1px)}.dops-clipboard-button-input .dops-clipboard-button:focus:before{left:calc(100% + 3px)}.dops-checkbox.dops-checkbox{display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.dops-checkbox.dops-checkbox:checked:before{content:'\F147';margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.dops-checkbox.dops-checkbox:disabled:checked:before{color:#a8bece}.dops-checkbox.dops-checkbox:hover{border-color:#a8bece}.dops-checkbox.dops-checkbox:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-checkbox.dops-checkbox:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.dops-checkbox.dops-checkbox:disabled:hover{cursor:default}.dops-checkbox.dops-checkbox+span{display:block;margin-right:24px}.dops-external-link .gridicons-external{color:currentColor;margin-right:.5rem;top:.125rem;position:relative}.notices-list{overflow:hidden}.notices-list.is-pinned{width:calc(100% - 272px - 32px - 32px);z-index:z-index("root",".notices-list.is-pinned");position:fixed;top:79px}.notices-list.is-pinned .notice{z-index:z-index("root",".notices-list.is-pinned .notice")}.notices-list__whitespace{height:71px;width:100%;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{overflow:hidden;text-align:left;z-index:179;position:fixed;top:auto;left:0;bottom:0;right:0}@media (min-width:661px){.global-notices{top:63px;left:16px;bottom:auto;right:auto;max-width:calc(100% - 32px)}}@media (min-width:961px){.global-notices{top:71px;left:24px;max-width:calc(100% - 48px)}}@media (min-width:1041px){.global-notices{left:32px;max-width:calc(100% - 64px)}}.global-notices .dops-notice{-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-bottom:0;text-align:right;pointer-events:auto}@media (min-width:661px){.global-notices .dops-notice{display:-ms-flexbox;display:flex;border-radius:20px;overflow:hidden;margin-bottom:24px}}@media (min-width:661px){.global-notices .dops-notice__icon{padding:8px 16px 8px 0}}.global-notices .dops-notice__text{padding-right:16px;-ms-flex-preferred-size:auto;flex-basis:auto;-ms-flex-positive:1;flex-grow:1}@media (min-width:661px){.global-notices .dops-notice__text{-ms-flex-positive:0;flex-grow:0;padding:9px 13px}}@media (min-width:661px){.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:9px 16px}}.global-notices .dops-notice__dismiss{-ms-flex-negative:0;flex-shrink:0}@media (min-width:661px){.global-notices .dops-notice__dismiss{padding:8px 16px}}
|
2 |
/*# sourceMappingURL=admin.dops-style.rtl.css.map */
|
_inc/build/admin.dops-style.rtl.css.map
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"version":3,"names":[],"mappings":"","sources":["admin.dops-style.rtl.css"],"sourcesContent":[".dops-count{display:inline-block;padding:.0625rem .375rem;border:1px solid #87a6bc;border-radius:.75rem;font-size:.6875rem;font-weight:600;line-height:.875rem;color:#87a6bc;text-align:center}.dops-select-dropdown.is-open .dops-select-dropdown__header:after,.dops-select-dropdown__header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-select-dropdown{height:43px}.dops-select-dropdown.is-compact{height:28px}.dops-select-dropdown__container{position:relative;overflow:hidden;display:inline-block;width:auto;max-width:100%}.dops-select-dropdown.is-open .dops-select-dropdown__container{z-index:170}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container,.dops-accessible-focus .dops-select-dropdown__container:focus{z-index:170;box-shadow:0 0 0 2px #78dcfa}.dops-accessible-focus .dops-select-dropdown.is-open .dops-select-dropdown__container .select-dropdown__header,.dops-accessible-focus .dops-select-dropdown__container:focus .select-dropdown__header{border-color:#0087be}.dops-accessible-focus .dops-select-dropdown__container:focus{border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa;outline:0;border-radius:4px}.dops-select-dropdown__header{padding:11px 16px 11px 44px;border-style:solid;border-color:#c8d7e1;border-width:1px 1px 2px;border-radius:4px;background-color:#fff;font-size:14px;font-weight:600;line-height:18px;height:18px;color:#2e4453;transition:background-color .2s ease;cursor:pointer}.dops-select-dropdown__header:after{content:'\\F347';position:absolute;left:13px;top:12px;display:block;line-height:18px;color:rgba(135,166,188,.5)}.is-compact .dops-select-dropdown__header:after{left:4px;top:4px}.is-compact .dops-select-dropdown__header{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.is-compact .dops-select-dropdown__header .dops-count{border-width:0;margin-right:0;line-height:1}.dops-select-dropdown.is-open .dops-select-dropdown__header{border-radius:4px 4px 0 0;box-shadow:none;background-color:#f3f6f8}.dops-select-dropdown.is-open .dops-select-dropdown__header:after{content:'\\F343'}.dops-select-dropdown__header .dops-count{margin-right:8px}.dops-select-dropdown__header-text{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-select-dropdown__options{visibility:hidden;height:0;box-sizing:border-box;padding:0;list-style:none;margin:-2px 0 0;background-color:#fff;border:1px solid #c8d7e1;border-radius:0 0 4px 4px}.dops-accessible-focus .dops-select-dropdown__options{border:1px solid #0087be;border-top-color:#c8d7e1}.dops-select-dropdown.is-open .dops-select-dropdown__options{visibility:visible;height:auto}.dops-select-dropdown__option:last-child .dops-select-dropdown__item{border-radius:0 0 4px 4px}.dops-select-dropdown__item,.dops-select-dropdown__item-text{padding:11px 16px 11px 44px}.dops-select-dropdown__item{display:block;position:relative;font-size:14px;font-weight:400;line-height:18px;color:#2e4453;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer}.dops-select-dropdown__item:before{content:attr(data-bold-text);font-weight:700;opacity:0}.dops-select-dropdown__item:visited{color:#2e4453}.dops-select-dropdown__item.is-selected{background-color:#00aadc;color:#fff}.dops-select-dropdown__item.is-disabled{background-color:#fff;color:#87a6bc;cursor:default;opacity:.5}.notouch .dops-select-dropdown__item:hover{color:#00aadc}.notouch .dops-select-dropdown__item.is-selected:hover{color:#fff}.dops-select-dropdown__item-text{padding-left:16px;box-sizing:border-box;position:absolute;top:0;right:0;width:100%;white-space:nowrap;text-overflow:ellipsis;color:inherit;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex-pack:justify;justify-content:space-between}.dops-select-dropdown__item-text .dops-count{color:inherit;border-color:inherit}.dops-select-dropdown__separator{border-top:1px solid #c8d7e1;display:block;margin:8px 0}.dops-select-dropdown__label{display:block;color:#a8bece;margin-top:5px;line-height:20px}.dops-select-dropdown__label label{font-size:12px;text-transform:uppercase;padding:0 16px}@keyframes rotate-spinner__right{0%{transform:rotate(0deg)}25%{transform:rotate(-180deg)}50%{transform:rotate(-180deg)}75%{transform:rotate(-1turn)}to{transform:rotate(-1turn)}}@keyframes rotate-spinner__left{0%{transform:rotate(0deg)}25%{transform:rotate(0deg)}50%{transform:rotate(-180deg)}75%{transform:rotate(-180deg)}to{transform:rotate(-1turn)}}.dops-spinner.is-fallback{position:relative;border-radius:100%;background-color:#c8d7e1}.dops-spinner.is-fallback:after,.dops-spinner.is-fallback:before{content:'';position:absolute;background-color:#fff;border-radius:50%}.dops-spinner.is-fallback:before{width:90%;height:90%;top:5%;right:5%}.dops-spinner.is-fallback:after{width:70%;height:70%;top:15%;right:15%}.dops-spinner__image{display:block}.dops-spinner__border{fill:#c8d7e1}.dops-spinner__progress{animation:3s linear infinite;transform-origin:50px 50px;fill:#00aadc}.dops-spinner.is-fallback .dops-spinner__progress{position:absolute;overflow:hidden;width:50%;height:100%;animation:none}.dops-spinner.is-fallback .dops-spinner__progress:before{content:'';position:absolute;width:100%;height:100%;animation:3s linear infinite;border-radius:9999px;background-color:#00aadc;fill:none}.dops-spinner.is-fallback .dops-spinner__progress.is-left{right:0}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before{right:100%;border-top-right-radius:0;border-bottom-right-radius:0;transform-origin:100% 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right{right:50%}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before{right:-100%;border-top-left-radius:0;border-bottom-left-radius:0;transform-origin:0% 50%}.dops-spinner.is-fallback .dops-spinner__progress.is-left:before,.dops-spinner__progress.is-left{animation-name:rotate-spinner__left}.dops-spinner.is-fallback .dops-spinner__progress.is-right:before,.dops-spinner__progress.is-right{animation-name:rotate-spinner__right}.gridicon{fill:currentColor}.gridicon.needs-offset g{transform:translate(-1px,1px)}.gridicon.needs-offset-x g{transform:translate(-1px)}.gridicon.needs-offset-y g{transform:translateY(1px)}.dops-search{margin-bottom:24px;width:60px;height:51px;position:relative;z-index:22}@media (max-width:660px){.dops-search{width:50px}}.dops-search .dops-search-open__icon{position:absolute;top:50%;margin-top:-12px;width:60px;z-index:20;color:#0087be;cursor:pointer}.dops-accessible-focus .dops-search .dops-search-open__icon:focus{outline:1px dotted #0087be}@media (max-width:660px){.dops-search .dops-search-open__icon{width:50px}}.dops-search .dops-search-open__icon:hover{color:#3d596d}.dops-search .dops-search-close__icon{position:absolute;bottom:0;top:50%;left:0;margin-top:-12px;width:60px;cursor:pointer;z-index:20;color:#3d596d;display:none;opacity:0;transition:opacity .2s ease-in}.dops-accessible-focus .dops-search .dops-search-close__icon:focus{outline:1px dotted #0087be}.dops-search .dops-search-close__icon:before{position:absolute;right:0;left:0;top:50%;margin-top:-8px;font-size:16px;text-align:center}@media (max-width:660px){.dops-search .dops-search-close__icon:before{font-size:14px;margin-top:-7px}}@media (max-width:660px){.dops-search .dops-search-close__icon{width:50px}}.dops-search.is-pinned{margin-bottom:0;height:auto;position:absolute;bottom:0;top:0;left:0;z-index:170}.dops-search.is-pinned .dops-search-open__icon{left:0}.dops-search.is-pinned .dops-search__input[type=search]{height:100%}.dops-search__input[type=search]{display:none;position:absolute;z-index:10;top:0;margin:0;padding:0 60px 0 50px;border:none;background:#fff;height:51px;-moz-appearance:none;appearance:none;box-sizing:border-box;-webkit-appearance:none;box-shadow:none}@media (max-width:660px){.dops-search__input[type=search]{opacity:0;right:0;padding-right:50px}}.dops-search__input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.dops-search__input[type=search]:focus{box-shadow:none;border:none}.dops-search.is-open{margin-left:0!important;width:100%}.dops-search.is-open .dops-search-open__icon{color:#3d596d;right:0}.dops-search.is-open .dops-search-close__icon{display:inline-block}.dops-search.is-open .dops-search-close__icon,.dops-search.is-open .dops-search__input{opacity:1}.dops-search.is-open .dops-search__input{display:block}.dops-search .dops-spinner{display:none;position:absolute;top:50%;right:30px;transform:translate(50%,-50%)}@media (max-width:660px){.dops-search .dops-spinner{right:25px}}.dops-search.is-searching .dops-search-open__icon{display:none}.dops-search.is-searching .dops-spinner{display:block;z-index:20}@media (max-width:660px){.animating.dops-search-opening .dops-search input{opacity:1}}.dops-section-nav.is-open .dops-section-nav__mobile-header:after,.dops-section-nav__mobile-header:after{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-section-nav{position:relative;width:100%;padding:0;margin:0 0 17px;background:#fff;box-sizing:border-box;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-section-nav.is-empty .dops-section-nav__panel{visibility:hidden}@media (max-width:480px){.dops-section-nav.is-open{box-shadow:0 0 0 1px #87a6bc,0 2px 4px #c8d7e1}}@media (min-width:481px){.dops-section-nav.has-pinned-items{padding-left:60px}}@media (min-width:481px) and (max-width:660px){.dops-section-nav.has-pinned-items{padding-left:50px}}@media (max-width:660px){.dops-section-nav{margin-bottom:9px}}.dops-section-nav__mobile-header{display:-ms-flexbox;display:flex;padding:15px;font-size:14px;line-height:16px;color:#2e4453;font-weight:600;cursor:pointer}.dops-section-nav__mobile-header:after{content:'\\F347';line-height:16px;color:rgba(135,166,188,.5)}.dops-section-nav.is-open .dops-section-nav__mobile-header:after{content:'\\F343'}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header{padding-left:50px}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header:after{margin-right:8px}@media (min-width:481px){.dops-section-nav__mobile-header{display:none}}.dops-section-nav__mobile-header-text{width:0;-ms-flex:1 0 auto;flex:1 0 auto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav__mobile-header-text small{margin-right:5px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase}.dops-section-nav.has-pinned-items .dops-section-nav__mobile-header-text{width:auto;-ms-flex:0 1 auto;flex:0 1 auto}.dops-section-nav__panel{box-sizing:border-box;width:100%}@media (max-width:480px){.dops-section-nav.is-open .dops-section-nav__panel{padding-bottom:15px;border-top:1px solid #c8d7e1;background:linear-gradient(-180deg,#f3f6f8 0,#fff 4px)}}@media (min-width:481px){.dops-section-nav__panel{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.dops-section-nav__panel:first-child{width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav-group{position:relative;margin-top:16px;padding-top:16px;border-top:1px solid #c8d7e1}.dops-section-nav-group:first-child{padding-top:0;border-top:none}@media (max-width:480px){.dops-section-nav-group{display:none}.dops-section-nav.is-open .dops-section-nav-group{display:block}}@media (min-width:481px){.dops-section-nav-group{margin-top:0;padding-top:0;border-top:none}.dops-section-nav-group:first-child{display:-ms-flexbox;display:flex;width:0;-ms-flex:1 0 auto;flex:1 0 auto}}.dops-section-nav__button{width:100%;margin-top:24px}.dops-section-nav__hr{background:#e9eff3}.dops-section-nav-group__label{display:none;margin-bottom:8px;padding:0 15px;font-size:11px;color:#87a6bc;font-weight:600;text-transform:uppercase;line-height:12px}@media (max-width:480px){.has-siblings .dops-section-nav-group__label{display:block}}.dops-section-nav-group__label-text{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.dops-section-nav-tab .count{margin-right:8px}@media (min-width:481px){.dops-section-nav-tabs{width:0;-ms-flex:1 0 auto;flex:1 0 auto}.dops-section-nav-tabs.is-dropdown{position:relative;width:auto;-ms-flex:0 1 auto;flex:0 1 auto;margin:8px}}.dops-section-nav-tabs__list{margin:0;list-style:none}@media (min-width:481px){.dops-section-nav-tabs__list{display:-ms-flexbox;display:flex;width:100%;overflow:hidden}.is-dropdown .dops-section-nav-tabs__list{display:none}}.dops-section-nav-tab{margin-bottom:0}@media (min-width:481px){.dops-section-nav-tab{width:auto;-ms-flex:none;flex:none;border-bottom:2px solid transparent;border-top:none;text-align:center}.dops-section-nav-tab.is-selected{border-bottom-color:#2e4453}}.dops-section-nav-tab__link,.dops-section-nav-tab__text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.dops-section-nav-tab__link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;box-sizing:border-box;padding:15px;width:100%;font-size:14px;font-weight:600;line-height:18px;color:#2e4453;cursor:pointer}.dops-section-nav-tab__link:visited{color:#2e4453}.dops-section-nav-tab__link[disabled],.notouch .dops-section-nav-tab__link[disabled]:hover{color:#e9eff3;cursor:default}.is-selected .dops-section-nav-tab__link{color:#fff;background-color:#00aadc}.dops-section-nav-tab__link:focus{outline:none;box-shadow:none}.accessible-focus .dops-section-nav-tab__link:focus{outline:1px solid #87a6bc}.is-external .dops-section-nav-tab__link:after{font-size:18px;padding-right:2px}.notouch .dops-section-nav-tab__link:hover{color:#00aadc}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#fff}@media (min-width:481px){.dops-section-nav-tab__link{display:block;width:auto;padding:16px 16px 14px;color:#0087be;font-weight:400}.dops-section-nav-tab__link:visited{color:#0087be}.is-selected .dops-section-nav-tab__link{color:#2e4453;background-color:transparent}.is-selected .dops-section-nav-tab__link:after{display:none}.notouch .is-selected .dops-section-nav-tab__link:hover{color:#2e4453}}.dops-section-nav-tab__text{display:block;-ms-flex:1 0 auto;flex:1 0 auto;width:0;color:inherit}@media (min-width:481px){.dops-section-nav-tab__text{display:inline;-ms-flex:none;flex:none;width:auto}}.dops-section-nav-tabs__dropdown{position:relative;z-index:3;width:100%}.dops-section-nav-tabs__dropdown.is-open{z-index:4}.dops-section-nav-tabs__dropdown .dops-select-dropdown__container{position:static}.dops-section-nav__segmented .dops-segmented-control{margin:0 15px}.dops-section-nav__segmented .dops-segmented-control__link{padding:3px 16px 5px}@media (max-width:480px){.dops-section-nav .dops-search.is-pinned{height:46px}}.dops-card{position:relative;margin:0 auto .625rem;padding:1rem;box-sizing:border-box;background:#fff;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}.dops-card:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card{margin-bottom:1rem;padding:1.5rem}}.dops-card.is-compact{margin-bottom:1px}@media (min-width:481px){.dops-card.is-compact{margin-bottom:1px;padding:1rem 1.5rem}}.dops-card-title{background-color:#f9f9f9;color:#000;font-family:Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;text-transform:uppercase;border-bottom:1px solid #ddd;padding:10px 16px;margin:0}@media (min-width:481px){.dops-card-title{padding:16px 24px}}.dops-card-title .dops-card-meta{color:#aaa;float:left}.dops-card-section{font-size:14px;padding:16px;border-bottom:1px solid #ddd}.dops-card-section:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}@media (min-width:481px){.dops-card-section{padding:24px}}.dops-card-section:last-child{border-bottom:none}.dops-card-section .dops-card-section-label{color:#000;font-size:12px;font-weight:400;text-transform:uppercase}.dops-card-section .dops-card-section-orient-vertical .dops-card-section-label{margin-bottom:10px}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{float:right;width:30%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-label{margin-bottom:10px;float:none;width:100%}}.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:left;width:70%}@media all and (max-width:590px){.dops-card-section .dops-card-section-orient-horizontal .dops-card-section-content{float:none;width:100%}}.dops-card-footer{background:#f9f9f9;padding:15px 20px}.dops-card-icon{float:left;text-transform:capitalize}.dops-card-icon .genericon{border-radius:50%;width:16px;height:16px;margin-left:10px;color:#fff;background:#81bf16}.dops-button{background:#fff;border-color:#c8d7e1;border-style:solid;border-width:1px 1px 2px;color:#2e4453;cursor:pointer;display:inline-block;margin:0;outline:0;overflow:hidden;font-weight:500;text-overflow:ellipsis;text-decoration:none;vertical-align:top;box-sizing:border-box;font-size:14px;line-height:21px;border-radius:4px;padding:7px 14px 9px;-webkit-appearance:none;-moz-appearance:none;appearance:none}.dops-button:hover{border-color:#a8bece;color:#2e4453}.dops-button:active{border-width:2px 1px 1px}.dops-button:visited{color:#2e4453}.dops-button:disabled,.dops-button[disabled]{color:#e9eff3;background:#fff;border-color:#e9eff3;cursor:default}.dops-button:disabled:active,.dops-button[disabled]:active{border-width:1px 1px 2px}.dops-button:focus{outline:0;border-color:#00aadc;box-shadow:0 0 0 2px #78dcfa}.dops-button.is-compact{padding:7px;color:#668eaa;font-size:11px;line-height:1;text-transform:uppercase}.dops-button.is-compact:disabled{color:#e9eff3}.dops-button.is-compact .gridicon{top:4px;margin-top:-8px}.dops-button.is-compact .gridicons-plus-small{margin-right:-4px}.dops-button.is-compact .gridicons-plus-small:last-of-type{margin-right:0}.dops-button.is-compact .gridicons-plus-small+.gridicon{margin-right:-4px}.dops-button.hidden{display:none}.dops-button .gridicon{position:relative;top:4px;margin-top:-2px;width:18px;height:18px}.dops-button.is-primary{background:#00aadc;border-color:#0087be;color:#fff}.dops-button.is-primary:focus,.dops-button.is-primary:hover{border-color:#005082;color:#fff}.dops-button.is-primary:disabled,.dops-button.is-primary[disabled]{background:#bceefd;border-color:#8cc9e2;color:#fff}.dops-button.is-primary.is-compact{color:#fff}.dops-button.is-scary{color:#d94f4f}.dops-button.is-scary:focus,.dops-button.is-scary:hover{border-color:#d94f4f}.dops-button.is-scary:focus{box-shadow:0 0 0 2px #eba3a3}.dops-button.is-scary:disabled,.dops-button.is-scary[disabled]{color:#f4cdcd;border-color:#e9eff3}.dops-button.is-primary.is-scary{background:#d94f4f;border-color:#a02222;color:#fff}.dops-button.is-primary.is-scary:focus,.dops-button.is-primary.is-scary:hover{border-color:#4c1010}.dops-button.is-primary.is-scary:disabled,.dops-button.is-primary.is-scary[disabled]{background:#eba3a3;border-color:#e48484}.dops-button.is-borderless{border:none;color:#668eaa;padding-right:0;padding-left:0}.dops-button.is-borderless:hover{color:#2e4453}.dops-button.is-borderless:focus{box-shadow:none}.dops-button.is-borderless .gridicon{width:24px;height:24px;top:6px}.dops-button.is-borderless:disabled,.dops-button.is-borderless[disabled]{color:#e9eff3;background:#fff;cursor:default}.dops-button.is-borderless:disabled:active,.dops-button.is-borderless[disabled]:active{border-width:0}.dops-button.is-borderless.is-scary{color:#d94f4f}.dops-button.is-borderless.is-scary:focus,.dops-button.is-borderless.is-scary:hover{color:#a02222}.dops-button.is-borderless.is-scary[disabled]{color:#f4cdcd}.dops-button.is-borderless.is-compact{background:transparent;border-radius:0}.dops-button.is-borderless.is-compact .gridicon{width:18px;height:18px;top:5px}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-foldable-card.dops-card{position:relative;transition:margin .15s linear;padding:0}.dops-foldable-card.dops-card:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.dops-foldable-card.dops-card.is-expanded{margin-bottom:8px}.dops-foldable-card.dops-card .is-clickable{cursor:pointer}.dops-foldable-card__header{min-height:64px;width:100%;padding:16px;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;position:relative}.dops-foldable-card__header.has-border .dops-foldable-card__summary,.dops-foldable-card__header.has-border .dops-foldable-card__summary_expanded{margin-left:48px}.dops-foldable-card__header.has-border .dops-foldable-card__expand{border-right:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card__header{padding:8px 16px;min-height:40px}.dops-foldable-card.is-expanded .dops-foldable-card__header{margin-bottom:0;height:inherit;min-height:64px}.dops-foldable-card.is-expanded.is-compact .dops-foldable-card__header{min-height:40px}.dops-foldable-card.is-disabled .dops-foldable-card__header{opacity:.2}.dops-foldable-card__action{position:absolute;top:0;left:0;height:100%;background:none;border:0}.dops-foldable-card.is-expanded .dops-foldable-card__action{height:100%}.dops-foldable-card.is-disabled .dops-foldable-card__action{cursor:default}.accessible-focus .dops-foldable-card__action:focus{outline:thin dotted}button.dops-foldable-card__action{cursor:pointer;outline:0}.dops-foldable-card__main{max-width:calc(100% - 36px);display:block;-ms-flex-align:center;-ms-grid-row-align:center;align-items:center;width:100%;margin-left:5px}@media (max-width:480px){.dops-foldable-card__main{-ms-flex:1 1;flex:1 1}}.dops-foldable-card__secondary{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex:1 1;flex:1 1;-ms-flex-pack:end;justify-content:flex-end}.dops-foldable-card__expand{width:48px}.dops-foldable-card__expand .gridicon{fill:#87a6bc;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;vertical-align:middle;transition:transform .15s cubic-bezier(.175,.885,.32,1.275),color .2s ease-in}.dops-foldable-card.is-expanded .dops-foldable-card__expand .gridicon{transform:rotate(-180deg)}.dops-foldable-card__expand .gridicon:hover{fill:#87a6bc}.dops-foldable-card__expand:focus .gridicon,.dops-foldable-card__expand:hover .gridicon{fill:#00aadc}.dops-foldable-card__header-text{font-size:1.125rem;width:100%}.dops-foldable-card__subheader{margin-top:.125rem;margin-bottom:.125rem;font-size:.875rem;color:#4f748e}.dops-foldable-card__content{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__content{display:block;padding:16px;border-top:1px solid #f3f6f8}.dops-foldable-card.is-compact .dops-foldable-card.is-expanded .dops-foldable-card__content{padding:8px}.dops-foldable-card.is-expanded .dops-foldable-card__content p:first-child{margin-top:0}.dops-foldable-card.is-expanded .dops-foldable-card__content p:last-child{margin-bottom:0}.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{margin-left:40px;color:#87a6bc;font-size:12px;transition:opacity .2s linear;display:inline-block}.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{transition:none;-ms-flex:2;flex:2;text-align:left}@media (max-width:480px){.dops-foldable-card__summary,.dops-foldable-card__summary_expanded{display:none}}.dops-foldable-card__summary{opacity:1;display:inline-block}.dops-foldable-card.is-expanded .dops-foldable-card__summary,.dops-foldable-card__summary_expanded,.has-expanded-summary .dops-foldable-card.is-expanded .dops-foldable-card__summary{display:none}.dops-foldable-card.is-expanded .dops-foldable-card__summary_expanded{display:inline-block}.tip-hide{opacity:0}.popover{font-size:11px;padding:10px;z-index:1000;position:absolute;top:0;right:0;left:auto}.popover .tip-inner{background-color:#fff;border:1px solid #c8d7e1;border-radius:4px;box-shadow:0 2px 5px rgba(0,0,0,.1),0 0 56px rgba(0,0,0,.075);text-align:center}.popover .tip-arrow{border:10px dashed #c8d7e1;height:0;line-height:0;position:absolute;width:0;z-index:1}.popover.fade{transition:opacity .1s}.popover.tip-top-left .tip-arrow,.popover.tip-top-right .tip-arrow,.popover.tip-top .tip-arrow{bottom:0;right:50%;margin-right:-10px;border-top-style:solid;border-bottom:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-top-left .tip-arrow:before,.popover.tip-top-right .tip-arrow:before,.popover.tip-top .tip-arrow:before{bottom:2px;border:10px solid #fff;content:\" \";position:absolute;right:50%;margin-right:-10px;border-top-style:solid;border-bottom:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-bottom-left .tip-arrow,.popover.tip-bottom-right .tip-arrow,.popover.tip-bottom .tip-arrow{top:0;right:50%;margin-right:-10px;border-bottom-style:solid;border-top:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-bottom-left .tip-arrow:before,.popover.tip-bottom-right .tip-arrow:before,.popover.tip-bottom .tip-arrow:before{top:2px;border:10px solid #fff;content:\" \";position:absolute;right:50%;margin-right:-10px;border-bottom-style:solid;border-top:none;border-right-color:transparent;border-left-color:transparent}.popover.tip-left-bottom .tip-arrow,.popover.tip-left-top .tip-arrow,.popover.tip-left .tip-arrow{left:0;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-left-bottom .tip-arrow:before,.popover.tip-left-top .tip-arrow:before,.popover.tip-left .tip-arrow:before{left:2px;border:10px solid #fff;content:\" \";position:absolute;top:50%;margin-top:-10px;border-right-style:solid;border-left:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow,.popover.tip-right-top .tip-arrow,.popover.tip-right .tip-arrow{right:0;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-right-bottom .tip-arrow:before,.popover.tip-right-top .tip-arrow:before,.popover.tip-right .tip-arrow:before{right:2px;border:10px solid #fff;content:\" \";position:absolute;top:50%;margin-top:-10px;border-left-style:solid;border-right:none;border-top-color:transparent;border-bottom-color:transparent}.popover.tip-bottom-left,.popover.tip-bottom-right,.popover.tip-top-left,.popover.tip-top-right{padding-left:0;padding-right:0}.popover.tip-bottom-left .tip-arrow,.popover.tip-top-left .tip-arrow{right:auto;left:5px}.popover.tip-bottom-right .tip-arrow,.popover.tip-top-right .tip-arrow{right:15px}.popover.tip-bottom-left .tip-inner,.popover.tip-top-left .tip-inner{position:relative;right:10px}.popover.tip-bottom-right .tip-inner,.popover.tip-top-right .tip-inner{position:relative;right:-10px}.popover.is-dialog-visible{z-index:100300}.popover__menu{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-width:200px}.popover__menu-item{position:relative;background:inherit;border:none;border-radius:0;color:#2e4453;cursor:pointer;display:block;font-size:14px;font-weight:400;margin:0;padding:8px 16px;text-align:right;transition:all .05s ease-in-out}.popover__menu-item:first-child{margin-top:5px}.popover__menu-item:focus,.popover__menu-item:hover{background-color:#00aadc;border:0;box-shadow:none;color:#fff}.popover__menu-item:focus .gridicon,.popover__menu-item:hover .gridicon{color:#fff}.popover__menu-item[disabled]:focus,.popover__menu-item[disabled]:hover{background:transparent;cursor:default}.popover__menu-item:last-child{margin-bottom:5px}.popover__menu-item::-moz-focus-inner{border:0}.popover__menu-item.has-icon{padding-right:42px}.popover__menu-item .gridicon{color:#a8bece;vertical-align:bottom;margin-left:8px}.popover__hr{margin:8px 0;background:#e9eff3}.dops-chart__empty_notice:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font:normal 16px/1 Dashicons;vertical-align:middle}.dops-chart{position:relative;box-sizing:border-box;background-color:#fff;padding:8px 20px 8px 0}.dops-chart .dops-chart__y-axis-markers{position:absolute;top:8px;right:0;left:0;height:200px}.dops-chart .dops-chart__y-axis-marker{position:absolute;top:0;width:100%;height:1px;border-top:1px solid #e9eff3}.dops-chart__bar-marker{z-index:1;position:absolute;top:0;width:100%;height:1px;border-top:1px solid rgba(233,239,243,.1)}.dops-chart .dops-chart__y-axis-marker.is-fifty,.dops-chart__bar-marker.is-fifty,.dops-chart__y-axis-label.is-fifty{top:50%}.dops-chart .dops-chart__y-axis-marker.is-zero,.dops-chart__bar-marker.is-zero,.dops-chart__y-axis-label.is-zero{top:100%}.dops-chart__y-axis{position:relative;float:left;height:200px;padding:0 10px 0 20px;font-size:11px;color:#668eaa;margin-bottom:30px}.dops-chart__y-axis-label{position:absolute;top:0;left:20px;text-align:left}.dops-chart__y-axis-width-fix{color:hsla(0,0%,100%,0)}.dops-chart__x-axis{position:relative;font-size:0;padding:5px 0;min-height:18px;color:#3d596d}.dops-chart__x-axis-label{position:absolute;display:inline-block;vertical-align:top;font-size:11px;text-align:center}.dops-chart__x-axis-label:before{content:'';display:block;position:absolute;top:-4px;right:50%;margin-right:-.5px;width:1px;height:5px;background:#f3f6f8;background-image:linear-gradient(-180deg,#f3f6f8 0,#c8d7e1)}.dops-chart__bars{font-size:0;overflow:hidden;display:-ms-flex;display:-ms-flexbox;display:flex}.dops-chart__bar,.dops-chart__bars{position:relative;height:200px;text-align:center}.dops-chart__bar{display:inline-block;-ms-flex-grow:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-shrink:1;-ms-flex-negative:1;flex-shrink:1}.dops-chart__bar.is-weekend{background-color:rgba(233,239,243,.5)}.dops-chart__bar:hover{cursor:pointer;background-color:rgba(233,239,243,.3)}.dops-chart__bar.is-selected{cursor:default;background-color:rgba(240,130,30,.1)}.dops-chart__bar-section{display:inline-block;background-color:#0087be;position:absolute;top:0;left:16%;bottom:0;right:16%;z-index:2}.dops-chart__bar:hover .dops-chart__bar-section.is-bar{background-color:#00aadc}.dops-chart__bar.is-selected .dops-chart__bar-section.is-bar{background-color:#f0821e}.dops-chart__bar-section.is-spacer{z-index:0;background-color:hsla(0,0%,100%,0)}.dops-chart__bar-section.is-ghost:after{content:\"\";display:block;position:absolute;top:160px;bottom:0;right:0;z-index:1;width:100%;height:40px;background-image:linear-gradient(-180deg,hsla(0,0%,100%,0),rgba(233,239,243,.5))}.dops-chart__bar:hover .dops-chart__bar-section.is-ghost:after{display:none}.dops-chart__bar-section-inner{background:#004069;position:absolute;left:23.33%;bottom:0;right:23.33%}.dops-chart__bar.is-selected .dops-chart__bar-section-inner{background-color:#d54e21}.dops-chart__legend{margin-bottom:-8px}.dops-chart__legend:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.dops-chart__legend .dops-chart__legend-options{float:left;color:#537994;list-style-type:none;margin:0;font-size:11px;text-transform:uppercase;letter-spacing:.1em}@media (max-width:480px){.dops-chart__legend .dops-chart__legend-options{width:100%}}.dops-chart__legend-option{display:inline;text-align:right}@media (max-width:480px){.dops-chart__legend-option{width:50%;display:inline-block}}.dops-chart__legend-label{display:inline-block;padding:12px 20px 10px 19px}.dops-chart__legend-label.is-selectable{cursor:pointer}.dops-chart__legend-label.is-selectable:focus,.dops-chart__legend-label.is-selectable:hover{color:tint(#00aadc,20%)}@media (max-width:480px){.dops-chart__legend-label{display:block}}.dops-chart__legend-option .dops-chart__legend-color{width:10px;height:10px;background:#0087be;display:inline-block;border-radius:1px;vertical-align:top;margin:3px 8px 3px 5px}@media (max-width:480px){.dops-chart__legend-option:first-child .dops-chart__legend-color{margin-right:2px}}.dops-chart__legend-color.is-dark-blue{background:#004069}.dops-chart__legend-option .dops-chart__legend-checkbox{margin:0;float:none;vertical-align:top}.dops-chart__empty{position:absolute;top:0;left:0;bottom:0;right:0;text-align:center;font-size:14px;line-height:24px;clear:both;z-index:1}.dops-chart__empty_notice{position:relative;top:97px;padding:11px 24px;margin-bottom:24px;border-radius:1px;background:#fff;box-sizing:border-box;font-size:14px;line-height:1.4285;animation:appear .3s ease-in-out;box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-chart__empty_notice{padding:13px 48px;font-size:inherit}.dops-chart__empty_notice:before{content:'\\F348';position:absolute;top:23px;right:20px;margin:-12px -8px 0 0;font-size:24px;line-height:1}}.dops-chart__tooltip{z-index:1000;position:absolute;top:0;right:0;left:auto}.dops-chart__tooltip.tip-bottom-left .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-left .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;right:211px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-left .tip-arrow:before{right:-18px;top:-3px}.dops-chart__tooltip.tip-bottom-right .tip-arrow,.dops-chart__tooltip.tip-bottom .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.dops-chart__tooltip.tip-bottom .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-bottom-color:#3d596d;position:absolute;right:11px;top:-3px}.rtl .dops-chart__tooltip.tip-bottom-right .tip-arrow:before,.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{right:-238px;top:-3px}.dops-chart__tooltip.tip-top .tip-arrow{border-color:hsla(0,0%,100%,0);position:absolute}.dops-chart__tooltip.tip-top .tip-arrow:before{content:'';border:4px solid hsla(0,0%,100%,0);border-top-color:#3d596d;position:absolute;right:118px;top:-4px}.rtl .dops-chart__tooltip.tip-bottom .tip-arrow:before{right:-93px}.dops-chart__tooltip .tip-inner{border:0;box-shadow:none;border-radius:2px;color:#fff;background:#3d596d;font-size:11px;padding:6px 10px;margin-top:4px;width:230px;text-align:right}.dops-chart__tooltip .tip-inner ul{list-style:none;margin:0;padding:0}.dops-chart__tooltip .tip-inner ul:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.dops-chart__tooltip .tip-inner ul li{font-size:11px;text-transform:uppercase;font-weight:100;height:24px;letter-spacing:.1em;border:0}.dops-chart__tooltip .tip-inner ul li .wrapper{display:block;line-height:inherit;line-height:24px;clear:both}.dops-chart__tooltip .tip-inner ul li .value{text-align:left;float:left;min-width:22px;color:#c8d7e1}.dops-chart__tooltip .tip-inner ul li .label{display:block;overflow:hidden;word-break:break-all;vertical-align:baseline}.dops-chart__tooltip .tip-inner ul li .gridicon{vertical-align:middle;margin-left:6px;margin-top:-3px}.dops-chart__tooltip.is-streak{margin-top:-5px;height:35px}.dops-chart__tooltip.is-streak .tip-arrow:before{right:85px;top:30px}.dops-chart__tooltip.is-streak .tip-inner{width:160px;position:relative;top:-10px}.dops-chart__tooltip.is-streak .tip-inner li{height:14px}.dops-chart__tooltip.is-streak .tip-inner li .label{width:100%;float:right;text-align:center}.rtl .dops-chart__tooltip.is-streak .tip-inner li .label{font-size:11px}.dops-chart__tooltip.is-streak .tip-inner li .label .post-count{font-weight:700}.dops-chart__tooltip.is-streak .tip-inner li .value{float:none}.dops-chart__tooltip .dops-module-content-list-item.is-date-label{font-size:11px;margin-bottom:2px;text-transform:uppercase;font-weight:700;border-bottom:1px solid #426177;padding-bottom:2px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item{height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .label{text-transform:none;color:#c8d7e1;overflow:hidden;letter-spacing:0;height:19px}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value{width:0;min-width:0}.dops-chart__tooltip .dops-module-content-list-item.is-published-item .value:before{content:'';position:relative;background-image:linear-gradient(-90deg,rgba(61,89,109,0) 0,rgba(61,89,109,.5),#3d596d);right:-30px;width:30px;height:24px;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.dops-notice{display:-ms-flexbox;display:flex;position:relative;margin-bottom:24px;border-radius:1px;background:#e9eff3;box-sizing:border-box;font-size:14px;animation:appear .3s ease-in-out}@media (min-width:661px){.dops-notice{font-size:inherit}}.dops-notice.is-success{background:#4ab866}.dops-notice.is-warning{background:#f0b849}.dops-notice.is-error{background:#d94f4f}.dops-notice.is-info{background:#0087be}.dops-notice.is-error,.dops-notice.is-error .dops-notice__dismiss,.dops-notice.is-error .dops-notice__text a,.dops-notice.is-info,.dops-notice.is-info .dops-notice__dismiss,.dops-notice.is-info .dops-notice__text a,.dops-notice.is-success,.dops-notice.is-success .dops-notice__dismiss,.dops-notice.is-success .dops-notice__text a,.dops-notice.is-warning,.dops-notice.is-warning .dops-notice__dismiss,.dops-notice.is-warning .dops-notice__text a{color:#fff}.dops-notice.is-basic{background:#fff;color:#87a6bc}.dops-notice.is-basic,.dops-notice.is-basic .dops-notice__dismiss:focus{box-shadow:0 0 0 1px rgba(200,215,225,.5),0 1px 2px #e9eff3}@media (min-width:661px){.dops-notice.is-basic:before{display:none}}.dops-notice.is-basic .dops-notice__text{padding:11px 24px}@media (min-width:661px){.dops-notice.is-basic .dops-notice__text{padding:13px}}.dops-notice__icon{-ms-flex-negative:0;flex-shrink:0;padding:13px 16px 13px 0}@media (max-width:660px){.dops-notice__icon{display:none}}.dops-notice__content{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1}@media (max-width:480px){.dops-notice__content{-ms-flex-direction:column;flex-direction:column}}.dops-notice__text{font-size:15px;padding:11px 24px}.dops-notice__text>div,.dops-notice__text>span{max-width:680px}@media (min-width:661px){.dops-notice__text{padding:13px}}.dops-notice__text a{text-decoration:underline}.dops-notice__text ul{margin-bottom:0;margin-right:0}.dops-notice__text li{margin-right:2em;margin-top:.5em}.dops-notice__text p{margin-bottom:0;margin-top:.5em}.dops-notice__text p:first-child{margin-top:0}.dops-notice__button{cursor:pointer;margin-right:.428em}.dops-notice__dismiss{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;padding:11px 16px;cursor:pointer;color:#87a6bc}@media (min-width:661px){.dops-notice__dismiss{padding:13px 16px}}.dops-notice__dismiss:focus,.dops-notice__dismiss:hover{color:#2e4453}.dops-notice .dops-notice__dismiss{color:#87a6bc;opacity:.85}.dops-notice .dops-notice__dismiss:focus,.dops-notice .dops-notice__dismiss:hover{opacity:1}a.dops-notice__action{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-negative:0;flex-shrink:0;box-sizing:border-box;cursor:pointer;font-size:15px;font-weight:400;margin-right:auto;padding:13px 16px;text-decoration:none;white-space:nowrap}.is-error a.dops-notice__action,.is-info a.dops-notice__action,.is-success a.dops-notice__action,.is-warning a.dops-notice__action{color:#fff}.is-success a.dops-notice__action{background:#338247}.is-error a.dops-notice__action{background:#b52727}.is-warning a.dops-notice__action{background:#da9712}.is-info a.dops-notice__action{background:#005172}a.dops-notice__action .gridicon{margin-right:8px;opacity:.7}a.dops-notice__action:focus,a.dops-notice__action:hover{background:hsla(0,0%,100%,.2)}@media (max-width:480px){a.dops-notice__action{margin:0;-ms-flex-pack:end;justify-content:flex-end}}.dops-notice.is-compact{border-radius:2px;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;min-height:20px;margin:0;padding:0;text-decoration:none;text-transform:none;vertical-align:middle}.dops-notice.is-compact.is-error,.dops-notice.is-compact.is-info,.dops-notice.is-compact.is-success,.dops-notice.is-compact.is-warning{color:#fff}.dops-notice.is-compact .dops-notice__text{font-size:12px;padding:6px 8px;line-height:1}.dops-notice.is-compact .dops-notice__icon{-ms-flex-item-align:center;align-self:center;-ms-flex-negative:0;flex-shrink:0;margin:0 8px 0 0;padding:0;width:18px;height:18px;vertical-align:middle}.dops-notice.is-compact .dops-notice__dismiss{display:none}.dops-notice.is-compact a.dops-notice__action{background:transparent;display:inline-block;font-size:11px;font-weight:600;-ms-flex-item-align:center;align-self:center;margin-right:16px;padding:0 8px;text-decoration:underline;text-transform:uppercase}.dops-notice.is-compact a.dops-notice__action:active,.dops-notice.is-compact a.dops-notice__action:focus,.dops-notice.is-compact a.dops-notice__action:hover{background:transparent;text-decoration:none}.dops-notice.is-compact a.dops-notice__action .gridicon{margin-right:8px;width:14px;height:14px;vertical-align:sub;opacity:1}.dops-section-header.dops-card{display:-ms-flexbox;display:flex;padding-top:.6875rem;padding-bottom:.6875rem;position:relative}.dops-section-header.dops-card:after{content:''}.dops-section-header__label{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;line-height:1.75rem;position:relative;color:#87a6bc;font-size:.875rem}.dops-section-header__label:before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(-90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;left:0;right:auto;width:20%;height:auto}.dops-section-header__card-badge,.dops-section-header__label .dops-count{margin-right:.5rem}.dops-section-header__actions{-ms-flex-positive:0;flex-grow:0;position:relative}.dops-section-header__actions:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.section-header__actions .button{float:right;margin-left:.5rem}.section-header__actions .button:last-child{margin-left:0}.form-toggle[type=checkbox]{display:none}.form-toggle__switch{position:relative;display:inline-block;border-radius:12px;box-sizing:border-box;padding:2px;width:40px;height:24px;background:#a8bece;vertical-align:middle;outline:0;cursor:pointer;transition:all .4s ease,box-shadow 0}.form-toggle__switch:after,.form-toggle__switch:before{position:relative;display:block;content:\"\";width:20px;height:20px}.form-toggle__switch:after{right:0;border-radius:50%;background:#fff;transition:all .2s ease}.form-toggle__switch:before{display:none}.form-toggle__switch:hover{background:#c8d7e1}.accessible-focus .form-toggle__switch:focus,.form-toggle__switch:focus{box-shadow:0 0 0 2px #00aadc}.form-toggle__label{cursor:pointer;width:auto;float:none}.accessible-focus .form-toggle:focus+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #00aadc}.accessible-focus .form-toggle:focus:checked+.form-toggle__label .form-toggle__switch{box-shadow:0 0 0 2px #78dcfa}.form-toggle:checked+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle:checked+.form-toggle__label .form-toggle__switch:after{right:16px}.form-toggle:checked:hover+.form-toggle__label .form-toggle__switch{background:#78dcfa}.form-toggle:disabled+.form-toggle__label .form-toggle__switch,.form-toggle:disabled:hover+.form-toggle__label .form-toggle__switch{background:#e9eff3}.form-toggle.is-toggling+.form-toggle__label .form-toggle__switch{background:#00aadc}.form-toggle.is-toggling:checked+.form-toggle__label .form-toggle__switch{background:#c8d7e1}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch{border-radius:8px;width:24px;height:16px}.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:after,.form-toggle.is-compact+.form-toggle__label .form-toggle__switch:before{width:12px;height:12px}.form-toggle.is-compact:checked+.form-toggle__label .form-toggle__switch:after{right:8px}.dops-text-input.dops-text-input{box-sizing:border-box;margin:0;padding:7px 14px;width:100%;color:#2e4453;font-size:16px;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-text-input.dops-text-input::-webkit-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::-moz-placeholder{color:#87a6bc}.dops-text-input.dops-text-input:-ms-input-placeholder{color:#87a6bc}.dops-text-input.dops-text-input::placeholder{color:#87a6bc}.dops-text-input.dops-text-input:hover{border-color:#a8bece}.dops-text-input.dops-text-input:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-text-input.dops-text-input:focus::-ms-clear{display:none}.dops-text-input.dops-text-input:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-text-input.dops-text-input:disabled:hover{cursor:default}.dops-text-input.dops-text-input:disabled::-webkit-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::-moz-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled:-ms-input-placeholder{color:#a8bece}.dops-text-input.dops-text-input:disabled::placeholder{color:#a8bece}.dops-text-input.dops-text-input{-webkit-appearance:none}.dops-text-input.dops-text-input.is-valid{border-color:#4ab866}.dops-text-input.dops-text-input.is-valid:hover{border-color:#3a9551}.dops-text-input.dops-text-input.is-error{border-color:#d94f4f}.dops-text-input.dops-text-input.is-error:hover{border-color:#c92c2c}.dops-text-input.dops-text-input:focus.is-valid{box-shadow:0 0 0 2px #caead2}.dops-text-input.dops-text-input:focus.is-valid:hover{box-shadow:0 0 0 2px #a6dcb3}.dops-text-input.dops-text-input:focus.is-error{box-shadow:0 0 0 2px #f9e2e2}.dops-text-input.dops-text-input:focus.is-error:hover{box-shadow:0 0 0 2px #f0b8b8}.dops-textarea{box-sizing:border-box;margin:0;padding:.4375rem .875rem;min-height:5.75rem;width:100%;color:#2e4453;font-size:1rem;line-height:1.5;border:1px solid #c8d7e1;background-color:#fff;transition:all .15s ease-in-out;box-shadow:none}.dops-textarea::-webkit-input-placeholder{color:#87a6bc}.dops-textarea::-moz-placeholder{color:#87a6bc}.dops-textarea:-ms-input-placeholder{color:#87a6bc}.dops-textarea::placeholder{color:#87a6bc}.dops-textarea:hover{border-color:#a8bece}.dops-textarea:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-textarea:focus::-ms-clear{display:none}.dops-textarea:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;-webkit-text-fill-color:#a8bece}.dops-textarea:disabled:hover{cursor:default}.dops-textarea:disabled::-webkit-input-placeholder{color:#a8bece}.dops-textarea:disabled::-moz-placeholder{color:#a8bece}.dops-textarea:disabled:-ms-input-placeholder{color:#a8bece}.dops-textarea:disabled::placeholder{color:#a8bece}.dops-clipboard-button-input{position:relative;display:block}.dops-clipboard-button-input .dops-clipboard-button{position:absolute;top:50%;left:4px;transform:translateY(-50%);overflow:visible}.dops-clipboard-button-input .dops-clipboard-button:not(:disabled):before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(-90deg,hsla(0,0%,100%,0),#fff 90%);top:0;bottom:0;left:0;right:auto;width:16px;height:auto;left:calc(100% + 1px)}.dops-clipboard-button-input .dops-clipboard-button:focus:before{left:calc(100% + 3px)}.dops-checkbox.dops-checkbox{display:inline-block;box-sizing:border-box;margin:2px 0 0;padding:7px 14px;width:16px;height:16px;float:right;outline:0;padding:0;box-shadow:none;background-color:#fff;border:1px solid #c8d7e1;color:#2e4453;font-size:16px;line-height:0;text-align:center;vertical-align:middle;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:all .15s ease-in-out;clear:none;cursor:pointer}.dops-checkbox.dops-checkbox:checked:before{content:'\\F147';margin:-3px -4px 0 0;float:right;display:inline-block;vertical-align:middle;width:16px;font-size:20px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;speak:none;color:#00aadc}.dops-checkbox.dops-checkbox:disabled:checked:before{color:#a8bece}.dops-checkbox.dops-checkbox:hover{border-color:#a8bece}.dops-checkbox.dops-checkbox:focus{border-color:#0087be;outline:none;box-shadow:0 0 0 2px #78dcfa}.dops-checkbox.dops-checkbox:disabled{background:#f3f6f8;border-color:#e9eff3;color:#a8bece;opacity:1}.dops-checkbox.dops-checkbox:disabled:hover{cursor:default}.dops-checkbox.dops-checkbox+span{display:block;margin-right:24px}.dops-external-link .gridicons-external{color:currentColor;margin-right:.5rem;top:.125rem;position:relative}.notices-list{overflow:hidden}.notices-list.is-pinned{width:calc(100% - 272px - 32px - 32px);z-index:z-index(\"root\",\".notices-list.is-pinned\");position:fixed;top:79px}.notices-list.is-pinned .notice{z-index:z-index(\"root\",\".notices-list.is-pinned .notice\")}.notices-list__whitespace{height:71px;width:100%;display:block}@keyframes appear{0%{opacity:0}to{opacity:1}}.global-notices{overflow:hidden;text-align:left;z-index:179;position:fixed;top:auto;left:0;bottom:0;right:0}@media (min-width:661px){.global-notices{top:63px;left:16px;bottom:auto;right:auto;max-width:calc(100% - 32px)}}@media (min-width:961px){.global-notices{top:71px;left:24px;max-width:calc(100% - 48px)}}@media (min-width:1041px){.global-notices{left:32px;max-width:calc(100% - 64px)}}.global-notices .dops-notice{-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-bottom:0;text-align:right;pointer-events:auto}@media (min-width:661px){.global-notices .dops-notice{display:-ms-flexbox;display:flex;border-radius:20px;overflow:hidden;margin-bottom:24px}}@media (min-width:661px){.global-notices .dops-notice__icon{padding:8px 16px 8px 0}}.global-notices .dops-notice__text{padding-right:16px;-ms-flex-preferred-size:auto;flex-basis:auto;-ms-flex-positive:1;flex-grow:1}@media (min-width:661px){.global-notices .dops-notice__text{-ms-flex-positive:0;flex-grow:0;padding:9px 13px}}@media (min-width:661px){.global-notices .dops-notice a.dops-notice__action{font-size:14px;padding:9px 16px}}.global-notices .dops-notice__dismiss{-ms-flex-negative:0;flex-shrink:0}@media (min-width:661px){.global-notices .dops-notice__dismiss{padding:8px 16px}}"],"file":"admin.dops-style.rtl.css","sourceRoot":"/source/"}
|
_inc/build/admin.js
CHANGED
@@ -20,7 +20,7 @@ M.push({parentID:e,parentNode:null,type:d.MOVE_EXISTING,markupIndex:null,content
|
|
20 |
return H&&H.action===f.POP?Y.indexOf(H.key):B?Y.indexOf(B.key):-1}function n(e){var n=t();B=e,B.action===f.PUSH?Y=[].concat(Y.slice(0,n+1),[B.key]):B.action===f.REPLACE&&(Y[n]=B.key),R.forEach(function(e){e(B)})}function r(e){if(R.push(e),B)e(B);else{var t=C();Y=[t.key],n(t)}return function(){R=R.filter(function(t){return t!==e})}}function i(e,t){p.loopAsync(q.length,function(t,n,r){_["default"](q[t],e,function(e){null!=e?r(e):n()})},function(e){j&&"string"==typeof e?j(e,function(e){t(e!==!1)}):t(e!==!1)})}function c(e){B&&o(B,e)||(H=e,i(e,function(t){if(H===e)if(t){if(e.action===f.PUSH){var r=A(B),a=A(e);a===r&&l["default"](B.state,e.state)&&(e.action=f.REPLACE)}D(e)!==!1&&n(e)}else if(B&&e.action===f.POP){var o=Y.indexOf(B.key),i=Y.indexOf(e.key);o!==-1&&i!==-1&&P(o-i)}}))}function u(e){c(L(e,f.PUSH,y()))}function h(e){c(L(e,f.REPLACE,y()))}function M(){P(-1)}function g(){P(1)}function y(){return a(W)}function A(e){if(null==e||"string"==typeof e)return e;var t=e.pathname,n=e.search,r=e.hash,a=t;return n&&(a+=n),r&&(a+=r),a}function T(e){return A(e)}function L(e,t){var n=arguments.length<=2||void 0===arguments[2]?y():arguments[2];return"object"==typeof t&&("string"==typeof e&&(e=d.parsePath(e)),e=s({},e,{state:t}),t=n,n=arguments[3]||y()),m["default"](e,t,n)}function E(e){B?(w(B,e),n(B)):w(C(),e)}function w(e,t){e.state=s({},e.state,t),x(e.key,e.state)}function z(e){q.indexOf(e)===-1&&q.push(e)}function S(e){q=q.filter(function(t){return t!==e})}function k(e,t){"string"==typeof t&&(t=d.parsePath(t)),u(s({state:e},t))}function O(e,t){"string"==typeof t&&(t=d.parsePath(t)),h(s({state:e},t))}var N=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],C=N.getCurrentLocation,D=N.finishTransition,x=N.saveState,P=N.go,j=N.getUserConfirmation,W=N.keyLength;"number"!=typeof W&&(W=b);var q=[],Y=[],R=[],B=void 0,H=void 0;return{listenBefore:e,listen:r,transitionTo:c,push:u,replace:h,go:P,goBack:M,goForward:g,createKey:y,createPath:A,createHref:T,createLocation:L,setState:v["default"](E,"setState is deprecated; use location.key to save state instead"),registerTransitionHook:v["default"](z,"registerTransitionHook is deprecated; use listenBefore instead"),unregisterTransitionHook:v["default"](S,"unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead"),pushState:v["default"](k,"pushState is deprecated; use push instead"),replaceState:v["default"](O,"replaceState is deprecated; use replace instead")}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(188),u=(r(c),n(196)),l=r(u),d=n(190),p=n(199),f=n(189),h=n(200),m=r(h),M=n(201),_=r(M),g=n(202),v=r(g),b=6;t["default"]=i,e.exports=t["default"]},function(e,t,n){function r(e){return null===e||void 0===e}function a(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}function o(e,t,n){var o,l;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(c(e))return!!c(t)&&(e=i.call(e),t=i.call(t),u(e,t,n));if(a(e)){if(!a(t))return!1;if(e.length!==t.length)return!1;for(o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}try{var d=s(e),p=s(t)}catch(f){return!1}if(d.length!=p.length)return!1;for(d.sort(),p.sort(),o=d.length-1;o>=0;o--)if(d[o]!=p[o])return!1;for(o=d.length-1;o>=0;o--)if(l=d[o],!u(e[l],t[l],n))return!1;return typeof e==typeof t}var i=Array.prototype.slice,s=n(197),c=n(198),u=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:o(e,t,n))}},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var a="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=a?n:r,t.supported=n,t.unsupported=r},function(e,t){"use strict";function n(e,t,n){function a(){return s=!0,c?void(l=[].concat(r.call(arguments))):void n.apply(this,arguments)}function o(){if(!s&&(u=!0,!c)){for(c=!0;!s&&i<e&&u;)u=!1,t.call(this,i++,o,a);return c=!1,s?void n.apply(this,l):void(i>=e&&u&&(s=!0,n()))}}var i=0,s=!1,c=!1,u=!1,l=void 0;o()}t.__esModule=!0;var r=Array.prototype.slice;t.loopAsync=n},[1056,188,189,190],[1057,188],[1058,188],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return c.stringify(e).replace(/%20/g,"+")}function o(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=A(t.substring(1)),e[h]={search:t,searchBase:""}}return e}function n(e,t){var n,r=e[h],a=t?y(t):"";if(!r&&!a)return e;"string"==typeof e&&(e=d.parsePath(e));var o=void 0;o=r&&e.search===r.search?r.searchBase:e.search||"";var s=o;return a&&(s+=(s?"&":"?")+a),i({},e,(n={search:s},n[h]={search:s,searchBase:o},n))}function r(e){return b.listenBefore(function(n,r){l["default"](e,t(n),r)})}function o(e){return b.listen(function(n){e(t(n))})}function s(e){b.push(n(e,e.query))}function c(e){b.replace(n(e,e.query))}function u(e,t){return b.createPath(n(e,t||e.query))}function p(e,t){return b.createHref(n(e,t||e.query))}function M(e){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];var i=b.createLocation.apply(b,[n(e,e.query)].concat(a));return e.query&&(i.query=e.query),t(i)}function _(e,t,n){"string"==typeof t&&(t=d.parsePath(t)),s(i({state:e},t,{query:n}))}function g(e,t,n){"string"==typeof t&&(t=d.parsePath(t)),c(i({state:e},t,{query:n}))}var v=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],b=e(v),y=v.stringifyQuery,A=v.parseQueryString;return"function"!=typeof y&&(y=a),"function"!=typeof A&&(A=m),i({},b,{listenBefore:r,listen:o,push:s,replace:c,createPath:u,createHref:p,createLocation:M,pushState:f["default"](_,"pushState is deprecated; use push instead"),replaceState:f["default"](g,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(188),c=(r(s),n(204)),u=n(201),l=r(u),d=n(190),p=n(202),f=r(p),h="$searchBase",m=c.parse;t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";var r=n(205);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e){return"string"!=typeof e?{}:(e=e.trim().replace(/^(\?|#|&)/,""),e?e.split("&").reduce(function(e,t){var n=t.replace(/\+/g," ").split("="),r=n.shift(),a=n.length>0?n.join("="):void 0;return r=decodeURIComponent(r),a=void 0===a?null:decodeURIComponent(a),e.hasOwnProperty(r)?Array.isArray(e[r])?e[r].push(a):e[r]=[e[r],a]:e[r]=a,e},{}):{})},t.stringify=function(e){return e?Object.keys(e).sort().map(function(t){var n=e[t];return void 0===n?"":null===n?t:Array.isArray(n)?n.slice().sort().map(function(e){return r(t)+"="+r(e)}).join("&"):r(t)+"="+r(n)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function o(e,t){function n(t){var n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=arguments.length<=2||void 0===arguments[2]?null:arguments[2],a=void 0;return n&&n!==!0||null!==r?(t={pathname:t,query:n},a=r||!1):(t=e.createLocation(t),a=n),(0,f["default"])(t,a,y.location,y.routes,y.params)}function r(t){return e.createLocation(t,c.REPLACE)}function o(e,n){A&&A.location===e?s(A,n):(0,_["default"])(t,e,function(t,r){t?n(t):r?s(i({},r,{location:e}),n):n()})}function s(e,t){function n(n,r){return n||r?a(n,r):void(0,m["default"])(e,function(n,r){n?t(n):t(null,null,y=i({},e,{components:r}))})}function a(e,n){e?t(e):t(null,r(n))}var o=(0,l["default"])(y,e),s=o.leaveRoutes,c=o.changeRoutes,u=o.enterRoutes;(0,d.runLeaveHooks)(s,y),s.filter(function(e){return u.indexOf(e)===-1}).forEach(g),(0,d.runChangeHooks)(c,y,e,function(t,r){return t||r?a(t,r):void(0,d.runEnterHooks)(u,e,n)})}function u(e){var t=arguments.length<=1||void 0===arguments[1]||arguments[1];return e.__id__||t&&(e.__id__=T++)}function p(e){return e.reduce(function(e,t){return e.push.apply(e,L[u(t)]),e},[])}function h(e,n){(0,_["default"])(t,e,function(t,r){if(null==r)return void n();A=i({},r,{location:e});for(var a=p((0,l["default"])(y,A).leaveRoutes),o=void 0,s=0,c=a.length;null==o&&s<c;++s)o=a[s](e);n(o)})}function M(){if(y.routes){for(var e=p(y.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&n<r;++n)t=e[n]();return t}}function g(e){var t=u(e,!1);t&&(delete L[t],a(L)||(E&&(E(),E=null),w&&(w(),w=null)))}function v(t,n){var r=u(t),o=L[r];if(o)o.indexOf(n)===-1&&o.push(n);else{var i=!a(L);L[r]=[n],i&&(E=e.listenBefore(h),e.listenBeforeUnload&&(w=e.listenBeforeUnload(M)))}return function(){var e=L[r];if(e){var a=e.filter(function(e){return e!==n});0===a.length?g(t):L[r]=a}}}function b(t){return e.listen(function(n){y.location===n?t(null,y):o(n,function(n,r,a){n?t(n):r?e.transitionTo(r):a&&t(null,a)})})}var y={},A=void 0,T=1,L=Object.create(null),E=void 0,w=void 0;return{isActive:n,match:o,listenBeforeLeavingRoute:v,listen:b}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var s=n(182),c=(r(s),n(189)),u=n(207),l=r(u),d=n(208),p=n(210),f=r(p),h=n(211),m=r(h),M=n(213),_=r(M);e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=(0,o.getParamNames)(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function a(e,t){var n=e&&e.routes,a=t.routes,o=void 0,i=void 0,s=void 0;return n?!function(){var c=!1;o=n.filter(function(n){if(c)return!0;var o=a.indexOf(n)===-1||r(n,e,t);return o&&(c=!0),o}),o.reverse(),s=[],i=[],a.forEach(function(e){var t=n.indexOf(e)===-1,r=o.indexOf(e)!==-1;t||r?s.push(e):i.push(e)})}():(o=[],i=[],s=a),{leaveRoutes:o,changeRoutes:i,enterRoutes:s}}t.__esModule=!0;var o=n(185);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){return function(){for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];if(e.apply(t,a),e.length<n){var i=a[a.length-1];i()}}}function o(e){return e.reduce(function(e,t){return t.onEnter&&e.push(a(t.onEnter,t,3)),e},[])}function i(e){return e.reduce(function(e,t){return t.onChange&&e.push(a(t.onChange,t,4)),e},[])}function s(e,t,n){function r(e,t,n){return t?void(a={pathname:t,query:n,state:e}):void(a=e)}if(!e)return void n();var a=void 0;(0,d.loopAsync)(e,function(e,n,o){t(e,r,function(e){e||a?o(e,a):n()})},n)}function c(e,t,n){var r=o(e);return s(r.length,function(e,n,a){r[e](t,n,a)},n)}function u(e,t,n,r){var a=i(e);return s(a.length,function(e,r,o){a[e](t,n,r,o)},r)}function l(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}t.__esModule=!0,t.runEnterHooks=c,t.runChangeHooks=u,t.runLeaveHooks=l;var d=n(209),p=n(182);r(p)},function(e,t){"use strict";function n(e,t,n){function r(){return i=!0,s?void(u=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function a(){if(!i&&(c=!0,!s)){for(s=!0;!i&&o<e&&c;)c=!1,t.call(this,o++,a,r);return s=!1,i?void n.apply(this,u):void(o>=e&&c&&(i=!0,n()))}}var o=0,i=!1,s=!1,c=!1,u=void 0;a()}function r(e,t,n){function r(e,t,r){i||(t?(i=!0,n(t)):(o[e]=r,i=++s===a,i&&n(null,o)))}var a=e.length,o=[];if(0===a)return n(null,o);var i=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":c(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function a(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function o(e,t,n){for(var r=e,a=[],o=[],i=0,s=t.length;i<s;++i){var c=t[i],l=c.path||"";if("/"===l.charAt(0)&&(r=e,a=[],o=[]),null!==r&&l){var d=(0,u.matchPattern)(l,r);if(d?(r=d.remainingPathname,a=[].concat(a,d.paramNames),o=[].concat(o,d.paramValues)):r=null,""===r)return a.every(function(e,t){return String(o[t])===String(n[e])})}}return!1}function i(e,t){return null==t?null==e:null==e||r(e,t)}function s(e,t,n,r,s){var c=e.pathname,u=e.query;return null!=n&&("/"!==c.charAt(0)&&(c="/"+c),!!(a(c,n.pathname)||!t&&o(c,r,s))&&i(u,n.query))}t.__esModule=!0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t["default"]=s;var u=n(185);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){if(t.component||t.components)return void n(null,t.component||t.components);var r=t.getComponent||t.getComponents;if(!r)return void n();var a=e.location,o=(0,c["default"])(e,a);r.call(t,o,n)}function o(e,t){(0,i.mapAsync)(e.routes,function(t,n,r){a(e,t,r)},t)}t.__esModule=!0;var i=n(209),s=n(212),c=r(s);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return o({},e,t)}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=a;var i=(n(181),n(182));r(i);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n,r,a){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var o=!0,i=void 0,c={location:t,params:s(n,r)},u=(0,h["default"])(c,t);return e.getChildRoutes(u,function(e,t){return t=!e&&(0,_.createRoutes)(t),o?void(i=[e,t]):void a(e,t)}),o=!1,i}function o(e,t,n,r,a){if(e.indexRoute)a(null,e.indexRoute);else if(e.getIndexRoute){var i={location:t,params:s(n,r)},c=(0,h["default"])(i,t);e.getIndexRoute(c,function(e,t){a(e,!e&&(0,_.createRoutes)(t)[0])})}else e.childRoutes?!function(){var i=e.childRoutes.filter(function(e){return!e.path});(0,p.loopAsync)(i.length,function(e,a,s){o(i[e],t,n,r,function(t,n){if(t||n){var r=[i[e]].concat(Array.isArray(n)?n:[n]);s(t,r)}else a()})},function(e,t){a(null,t)})}():a()}function i(e,t,n){return t.reduce(function(e,t,r){var a=n&&n[r];return Array.isArray(e[t])?e[t].push(a):t in e?e[t]=[e[t],a]:e[t]=a,e},e)}function s(e,t){return i({},e,t)}function c(e,t,n,r,i,c){var l=e.path||"";if("/"===l.charAt(0)&&(n=t.pathname,r=[],i=[]),null!==n&&l){try{var p=(0,m.matchPattern)(l,n);p?(n=p.remainingPathname,r=[].concat(r,p.paramNames),i=[].concat(i,p.paramValues)):n=null}catch(f){c(f)}if(""===n){var h=function(){var n={routes:[e],params:s(r,i)};return o(e,t,r,i,function(e,t){if(e)c(e);else{if(Array.isArray(t)){var r;(r=n.routes).push.apply(r,t)}else t&&n.routes.push(t);c(null,n)}}),{v:void 0}}();if("object"===("undefined"==typeof h?"undefined":d(h)))return h.v}}if(null!=n||e.childRoutes){var M=function(a,o){a?c(a):o?u(o,t,function(t,n){t?c(t):n?(n.routes.unshift(e),c(null,n)):c()},n,r,i):c()},_=a(e,t,r,i,M);_&&M.apply(void 0,_)}else c()}function u(e,t,n,r){var a=arguments.length<=4||void 0===arguments[4]?[]:arguments[4],o=arguments.length<=5||void 0===arguments[5]?[]:arguments[5];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=l({},t,{pathname:"/"+t.pathname})),r=t.pathname),(0,p.loopAsync)(e.length,function(n,i,s){c(e[n],t,r,a,o,function(e,t){e||t?s(e,t):i()})},n)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t["default"]=u;var p=n(209),f=n(212),h=r(f),m=n(185),M=n(182),_=(r(M),n(179));e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(177),s=r(i),c=n(142),u=r(c),l=n(181),d=(r(l),n(215)),p=r(d),f=n(179),h=n(182),m=(r(h),u["default"].PropTypes),M=m.array,_=m.func,g=m.object,v=u["default"].createClass({displayName:"RouterContext",propTypes:{history:g,router:g.isRequired,location:g.isRequired,routes:M.isRequired,params:g.isRequired,components:M.isRequired,createElement:_.isRequired},getDefaultProps:function(){return{createElement:u["default"].createElement}},childContextTypes:{history:g,location:g.isRequired,router:g.isRequired},getChildContext:function(){var e=this.props,t=e.router,n=e.history,r=e.location;return t||(t=o({},n,{setRouteLeaveHook:n.listenBeforeLeavingRoute}),delete t.listenBeforeLeavingRoute),{history:n,location:r,router:t}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.history,r=t.location,i=t.routes,c=t.params,l=t.components,d=null;return l&&(d=l.reduceRight(function(t,s,u){if(null==s)return t;var l=i[u],d=(0,p["default"])(l,c),h={history:n,location:r,params:c,route:l,routeParams:d,routes:i};if((0,f.isReactChildren)(t))h.children=t;else if(t)for(var m in t)Object.prototype.hasOwnProperty.call(t,m)&&(h[m]=t[m]);if("object"===("undefined"==typeof s?"undefined":a(s))){var M={};for(var _ in s)Object.prototype.hasOwnProperty.call(s,_)&&(M[_]=e.createElement(s[_],o({key:_},h)));return M}return e.createElement(s,h)},d)),null===d||d===!1||u["default"].isValidElement(d)?void 0:(0,s["default"])(!1),d}});t["default"]=v,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n={};return e.path?((0,a.getParamNames)(e.path).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n):n}t.__esModule=!0;var a=n(185);t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return i({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive})}function o(e,t){return e=i({},e,t)}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createRouterObject=a,t.createRoutingHistory=o;var s=n(181);r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return 0===e.button}function i(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function c(e,t){var n=t.query,r=t.hash,a=t.state;return n||r||a?{pathname:e,query:n,hash:r,state:a}:e}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(142),d=r(l),p=n(182),f=(r(p),n(177)),h=r(f),m=n(180),M=d["default"].PropTypes,_=M.bool,g=M.object,v=M.string,b=M.func,y=M.oneOfType,A=d["default"].createClass({displayName:"Link",contextTypes:{router:m.routerShape},propTypes:{to:y([v,g]).isRequired,query:g,hash:v,state:g,activeStyle:g,activeClassName:v,onlyActiveOnIndex:_.isRequired,onClick:b,target:v},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented&&(this.context.router?void 0:(0,h["default"])(!1),!i(e)&&o(e)&&!this.props.target)){e.preventDefault();var t=this.props,n=t.to,r=t.query,a=t.hash,s=t.state,u=c(n,{query:r,hash:a,state:s});this.context.router.push(u)}},render:function(){var e=this.props,t=e.to,n=e.query,r=e.hash,o=e.state,i=e.activeClassName,l=e.activeStyle,p=e.onlyActiveOnIndex,f=a(e,["to","query","hash","state","activeClassName","activeStyle","onlyActiveOnIndex"]),h=this.context.router;if(h){var m=c(t,{query:n,hash:r,state:o});f.href=h.createHref(m),(i||null!=l&&!s(l))&&h.isActive(m,p)&&(i&&(f.className?f.className+=" "+i:f.className=i),l&&(f.style=u({},f.style,l)))}return d["default"].createElement("a",u({},f,{onClick:this.handleClick}))}});t["default"]=A,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(217),c=r(s),u=i["default"].createClass({displayName:"IndexLink",render:function(){return i["default"].createElement(c["default"],a({},this.props,{onlyActiveOnIndex:!0}))}});t["default"]=u,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.displayName||e.name||"Component"}function o(e,t){var n=t&&t.withRef,r=l["default"].createClass({displayName:"WithRouter",contextTypes:{router:f.routerShape},propTypes:{router:f.routerShape},getWrappedInstance:function(){return n?void 0:(0,c["default"])(!1),this.wrappedInstance},render:function(){var t=this,r=this.props.router||this.context.router,a=i({},this.props,{router:r});return n&&(a.ref=function(e){t.wrappedInstance=e}),l["default"].createElement(e,a)}});return r.displayName="withRouter("+a(e)+")",r.WrappedComponent=e,(0,p["default"])(r,e)}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var s=n(177),c=r(s),u=n(142),l=r(u),d=n(176),p=r(d),f=n(180);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(182),s=(r(i),n(177)),c=r(s),u=n(221),l=r(u),d=n(184),p=o["default"].PropTypes,f=p.string,h=p.object,m=o["default"].createClass({displayName:"IndexRedirect",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=l["default"].createRouteFromReactElement(e))}},propTypes:{to:f.isRequired,query:h,state:h,onEnter:d.falsy,children:d.falsy},render:function(){(0,c["default"])(!1)}});t["default"]=m,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(177),s=r(i),c=n(179),u=n(185),l=n(184),d=o["default"].PropTypes,p=d.string,f=d.object,h=o["default"].createClass({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=(0,c.createRouteFromReactElement)(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,a=e.params,o=void 0;if("/"===t.to.charAt(0))o=(0,u.formatPattern)(t.to,a);else if(t.to){var i=e.routes.indexOf(t),s=h.getRoutePattern(e.routes,i-1),c=s.replace(/\/*$/,"/")+t.to;o=(0,u.formatPattern)(c,a)}else o=r.pathname;n({pathname:o,query:t.query||r.query,state:t.state||r.state})},t},getRoutePattern:function(e,t){for(var n="",r=t;r>=0;r--){var a=e[r],o=a.path||"";if(n=o.replace(/\/*$/,"/")+n,0===o.indexOf("/"))break}return"/"+n}},propTypes:{path:p,from:p,to:p.isRequired,query:f,state:f,onEnter:l.falsy,children:l.falsy},render:function(){(0,s["default"])(!1)}});t["default"]=h,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(182),s=(r(i),n(177)),c=r(s),u=n(179),l=n(184),d=o["default"].PropTypes.func,p=o["default"].createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,u.createRouteFromReactElement)(e))}},propTypes:{path:l.falsy,component:l.component,components:l.components,getComponent:d,getComponents:d},render:function(){(0,c["default"])(!1)}});t["default"]=p,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(177),s=r(i),c=n(179),u=n(184),l=o["default"].PropTypes,d=l.string,p=l.func,f=o["default"].createClass({displayName:"Route",statics:{createRouteFromReactElement:c.createRouteFromReactElement},propTypes:{path:d,component:u.component,components:u.components,getComponent:p,getComponents:p},render:function(){(0,s["default"])(!1)}});t["default"]=f,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(182),o=(r(a),n(184)),i={contextTypes:{history:o.history},componentWillMount:function(){this.history=this.context.history}};t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(182),o=(r(a),n(142)),i=r(o),s=n(177),c=r(s),u=i["default"].PropTypes.object,l={contextTypes:{history:u.isRequired,route:u},propTypes:{route:u},componentDidMount:function(){this.routerWillLeave?void 0:(0,c["default"])(!1);var e=this.props.route||this.context.route;e?void 0:(0,c["default"])(!1),this._unlistenBeforeLeavingRoute=this.context.history.listenBeforeLeavingRoute(e,this.routerWillLeave)},componentWillUnmount:function(){this._unlistenBeforeLeavingRoute&&this._unlistenBeforeLeavingRoute()}};t["default"]=l,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(182),o=(r(a),n(142)),i=r(o),s=i["default"].PropTypes.object,c={propTypes:{route:s.isRequired},childContextTypes:{route:s.isRequired},getChildContext:function(){return{route:this.props.route}},componentWillMount:function(){}};t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=t.routes,r=a(t,["routes"]),o=(0,c["default"])(e)(r),s=(0,l["default"])(o,n);return i({},o,s)}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(203),c=r(s),u=n(206),l=r(u),d=n(182);r(d);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(214),s=r(i),c=n(182),u=(r(c),o["default"].createClass({displayName:"RoutingContext",componentWillMount:function(){},render:function(){return o["default"].createElement(s["default"],this.props)}}));t["default"]=u,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=e.history,r=e.routes,o=e.location,s=a(e,["history","routes","location"]);n||o?void 0:(0,c["default"])(!1),n=n?n:(0,l["default"])(s);var u=(0,p["default"])(n,(0,f.createRoutes)(r)),d=void 0;o?o=n.createLocation(o):d=n.listen(function(e){o=e});var m=(0,h.createRouterObject)(n,u);n=(0,h.createRoutingHistory)(n,u),u.match(o,function(e,r,a){t(e,r,a&&i({},a,{history:n,router:m,matchContext:{history:n,transitionManager:u,router:m}})),d&&d()})}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(177),c=r(s),u=n(230),l=r(u),d=n(206),p=r(d),f=n(179),h=n(216);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){var t=(0,l["default"])(e),n=function(){return t},r=(0,i["default"])((0,c["default"])(n))(e);return r.__v2_compatible__=!0,r}t.__esModule=!0,t["default"]=a;var o=n(203),i=r(o),s=n(231),c=r(s),u=n(232),l=r(u);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return function(){function t(){if(!y){if(null==b&&s.canUseDOM){var e=document.getElementsByTagName("base")[0],t=e&&e.getAttribute("href");null!=t&&(b=t)}y=!0}}function n(e){return t(),b&&null==e.basename&&(0===e.pathname.indexOf(b)?(e.pathname=e.pathname.substring(b.length),e.basename=b,""===e.pathname&&(e.pathname="/")):e.basename=""),e}function r(e){if(t(),!b)return e;"string"==typeof e&&(e=c.parsePath(e));var n=e.pathname,r="/"===b.slice(-1)?b:b+"/",a="/"===n.charAt(0)?n.slice(1):n,i=r+a;return o({},e,{pathname:i})}function a(e){return v.listenBefore(function(t,r){l["default"](e,n(t),r)})}function i(e){return v.listen(function(t){e(n(t))})}function u(e){v.push(r(e))}function d(e){v.replace(r(e))}function f(e){return v.createPath(r(e))}function h(e){return v.createHref(r(e))}function m(e){for(var t=arguments.length,a=Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return n(v.createLocation.apply(v,[r(e)].concat(a)))}function M(e,t){"string"==typeof t&&(t=c.parsePath(t)),u(o({state:e},t))}function _(e,t){"string"==typeof t&&(t=c.parsePath(t)),d(o({state:e},t))}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],v=e(g),b=g.basename,y=!1;return o({},v,{listenBefore:a,listen:i,push:u,replace:d,createPath:f,createHref:h,createLocation:m,pushState:p["default"](M,"pushState is deprecated; use push instead"),replaceState:p["default"](_,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(188),s=(r(i),n(191)),c=n(190),u=n(201),l=r(u),d=n(202),p=r(d);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})}function o(){function e(e,t){_[e]=t}function t(e){return _[e]}function n(){var e=m[M],n=e.basename,r=e.pathname,a=e.search,o=(n||"")+r+(a||""),s=void 0,c=void 0;e.key?(s=e.key,c=t(s)):(s=p.createKey(),c=null,e.key=s);var u=l.parsePath(o);return p.createLocation(i({},u,{state:c}),void 0,s)}function r(e){var t=M+e;return t>=0&&t<m.length}function o(e){if(e){if(!r(e))return;M+=e;var t=n();p.transitionTo(i({},t,{action:d.POP}))}}function s(t){switch(t.action){case d.PUSH:M+=1,M<m.length&&m.splice(M),m.push(t),e(t.key,t.state);break;case d.REPLACE:m[M]=t,e(t.key,t.state)}}var c=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(c)?c={entries:c}:"string"==typeof c&&(c={entries:[c]});var p=f["default"](i({},c,{getCurrentLocation:n,finishTransition:s,
|
21 |
saveState:e,go:o})),h=c,m=h.entries,M=h.current;"string"==typeof m?m=[m]:Array.isArray(m)||(m=["/"]),m=m.map(function(e){var t=p.createKey();return"string"==typeof e?{pathname:e,key:t}:"object"==typeof e&&e?i({},e,{key:t}):void u["default"](!1)}),null==M?M=m.length-1:M>=0&&M<m.length?void 0:u["default"](!1);var _=a(m);return p}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(188),c=(r(s),n(177)),u=r(c),l=n(190),d=n(189),p=n(195),f=r(p);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return function(t){var n=(0,i["default"])((0,c["default"])(e))(t);return n.__v2_compatible__=!0,n}}t.__esModule=!0,t["default"]=a;var o=n(203),i=r(o),s=n(231),c=r(s);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(214),c=r(s),u=n(182);r(u);t["default"]=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(function(e){return e.renderRouterContext}).filter(Boolean),s=t.map(function(e){return e.renderRouteComponent}).filter(Boolean),u=function(){var e=arguments.length<=0||void 0===arguments[0]?o.createElement:arguments[0];return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return r.reduceRight(function(t,n){return n(t,e)},i["default"].createElement(c["default"],a({},e,{createElement:u(e.createElement)})))}},e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(236),o=r(a),i=n(237),s=r(i);t["default"]=(0,s["default"])(o["default"]),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){function e(e){try{e=e||window.history.state||{}}catch(t){e={}}var n=d.getWindowPath(),r=e,a=r.key,i=void 0;a?i=p.readState(a):(i=null,a=v.createKey(),_&&window.history.replaceState(o({},e,{key:a}),null));var s=u.parsePath(n);return v.createLocation(o({},s,{state:i}),void 0,a)}function t(t){function n(t){void 0!==t.state&&r(e(t.state))}var r=t.transitionTo;return d.addEventListener(window,"popstate",n),function(){d.removeEventListener(window,"popstate",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,a=e.hash,o=e.state,i=e.action,s=e.key;if(i!==c.POP){p.saveState(s,o);var u=(t||"")+n+r+a,l={key:s};if(i===c.PUSH){if(g)return window.location.href=u,!1;window.history.pushState(l,null,u)}else{if(g)return window.location.replace(u),!1;window.history.replaceState(l,null,u)}}}function r(e){1===++b&&(y=t(v));var n=v.listenBefore(e);return function(){n(),0===--b&&y()}}function a(e){1===++b&&(y=t(v));var n=v.listen(e);return function(){n(),0===--b&&y()}}function i(e){1===++b&&(y=t(v)),v.registerTransitionHook(e)}function f(e){v.unregisterTransitionHook(e),0===--b&&y()}var m=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];l.canUseDOM?void 0:s["default"](!1);var M=m.forceRefresh,_=d.supportsHistory(),g=!_||M,v=h["default"](o({},m,{getCurrentLocation:e,finishTransition:n,saveState:p.saveState})),b=0,y=void 0;return o({},v,{listenBefore:r,listen:a,registerTransitionHook:i,unregisterTransitionHook:f})}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(177),s=r(i),c=n(189),u=n(190),l=n(191),d=n(192),p=n(193),f=n(194),h=r(f);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t["default"]=function(e){var t=void 0;return i&&(t=(0,o["default"])(e)()),t};var a=n(233),o=r(a),i=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(187),o=r(a),i=n(237),s=r(i);t["default"]=(0,s["default"])(o["default"]),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.routerMiddleware=t.routerActions=t.goForward=t.goBack=t.go=t.replace=t.push=t.CALL_HISTORY_METHOD=t.routerReducer=t.LOCATION_CHANGE=t.syncHistoryWithStore=void 0;var a=n(240);Object.defineProperty(t,"LOCATION_CHANGE",{enumerable:!0,get:function(){return a.LOCATION_CHANGE}}),Object.defineProperty(t,"routerReducer",{enumerable:!0,get:function(){return a.routerReducer}});var o=n(241);Object.defineProperty(t,"CALL_HISTORY_METHOD",{enumerable:!0,get:function(){return o.CALL_HISTORY_METHOD}}),Object.defineProperty(t,"push",{enumerable:!0,get:function(){return o.push}}),Object.defineProperty(t,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return o.go}}),Object.defineProperty(t,"goBack",{enumerable:!0,get:function(){return o.goBack}}),Object.defineProperty(t,"goForward",{enumerable:!0,get:function(){return o.goForward}}),Object.defineProperty(t,"routerActions",{enumerable:!0,get:function(){return o.routerActions}});var i=n(242),s=r(i),c=n(243),u=r(c);t.syncHistoryWithStore=s["default"],t.routerMiddleware=u["default"]},function(e,t){"use strict";function n(){var e=arguments.length<=0||void 0===arguments[0]?o:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.type,i=t.payload;return n===a?r({},e,{locationBeforeTransitions:i}):e}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.routerReducer=n;var a=t.LOCATION_CHANGE="@@router/LOCATION_CHANGE",o={locationBeforeTransitions:null}},function(e,t){"use strict";function n(e){return function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];return{type:r,payload:{method:e,args:n}}}}Object.defineProperty(t,"__esModule",{value:!0});var r=t.CALL_HISTORY_METHOD="@@router/CALL_HISTORY_METHOD",a=t.push=n("push"),o=t.replace=n("replace"),i=t.go=n("go"),s=t.goBack=n("goBack"),c=t.goForward=n("goForward");t.routerActions={push:a,replace:o,go:i,goBack:s,goForward:c}},function(e,t,n){"use strict";function r(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],r=n.selectLocationState,s=void 0===r?i:r,c=n.adjustUrlOnReplay,u=void 0===c||c;if("undefined"==typeof s(t.getState()))throw new Error("Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` options. Ensure you have added the `routerReducer` to your store's reducers via `combineReducers` or whatever method you use to isolate your reducers.");var l=void 0,d=void 0,p=void 0,f=void 0,h=function(e){var n=s(t.getState());return n.locationBeforeTransitions||(e?l:void 0)},m=h();if(u){var M=function(){var t=h(!0);m!==t&&(d=!0,m=t,e.transitionTo(a({},t,{action:"PUSH"})),d=!1)};p=t.subscribe(M),M()}var _=function(e){d||(m=e,!l&&(l=e,h())||t.dispatch({type:o.LOCATION_CHANGE,payload:e}))};return f=e.listen(_),a({},e,{listen:function(e){var n=h(!0),r=!1,a=t.subscribe(function(){var t=h(!0);t!==n&&(n=t,r||e(n))});return e(n),function(){r=!0,a()}},unsubscribe:function(){u&&p(),f()}})}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=r;var o=n(240),i=function(e){return e.routing}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){return function(){return function(t){return function(n){if(n.type!==o.CALL_HISTORY_METHOD)return t(n);var a=n.payload,i=a.method,s=a.args;e[i].apply(e,r(s))}}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var o=n(241)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(245),o=r(a),i=n(247),s=r(i),c=n(250),u=r(c);t.createHistory=u["default"];var l=n(258),d=r(l);t.createHashHistory=d["default"];var p=n(259),f=r(p);t.createMemoryHistory=f["default"];var h=n(260),m=r(h);t.useBasename=m["default"];var M=n(261),_=r(M);t.useBeforeUnload=_["default"];var g=n(262),v=r(g);t.useQueries=v["default"];var b=n(248),y=r(b);t.Actions=y["default"];var A=n(264),T=r(A);t.enableBeforeUnload=T["default"];var L=n(265),E=r(L);t.enableQueries=E["default"];var w=o["default"](s["default"],"Using createLocation without a history instance is deprecated; please use history.createLocation instead");t.createLocation=w},[1058,246],183,[1056,246,248,249],189,[1053,246],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){function e(e){e=e||window.history.state||{};var t=d.getWindowPath(),n=e,r=n.key,a=void 0;r?a=p.readState(r):(a=null,r=v.createKey(),_&&window.history.replaceState(o({},e,{key:r}),null,t));var i=u.parsePath(t);return v.createLocation(o({},i,{state:a}),void 0,r)}function t(t){function n(t){void 0!==t.state&&r(e(t.state))}var r=t.transitionTo;return d.addEventListener(window,"popstate",n),function(){d.removeEventListener(window,"popstate",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,a=e.hash,o=e.state,i=e.action,s=e.key;if(i!==c.POP){p.saveState(s,o);var u=(t||"")+n+r+a,l={key:s};if(i===c.PUSH){if(g)return window.location.href=u,!1;window.history.pushState(l,null,u)}else{if(g)return window.location.replace(u),!1;window.history.replaceState(l,null,u)}}}function r(e){1===++b&&(y=t(v));var n=v.listenBefore(e);return function(){n(),0===--b&&y()}}function a(e){1===++b&&(y=t(v));var n=v.listen(e);return function(){n(),0===--b&&y()}}function i(e){1===++b&&(y=t(v)),v.registerTransitionHook(e)}function f(e){v.unregisterTransitionHook(e),0===--b&&y()}var m=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];l.canUseDOM?void 0:s["default"](!1);var M=m.forceRefresh,_=d.supportsHistory(),g=!_||M,v=h["default"](o({},m,{getCurrentLocation:e,finishTransition:n,saveState:p.saveState})),b=0,y=void 0;return o({},v,{listenBefore:r,listen:a,registerTransitionHook:i,unregisterTransitionHook:f})}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(177),s=r(i),c=n(248),u=n(249),l=n(251),d=n(252),p=n(253),f=n(254),h=r(f);t["default"]=a,e.exports=t["default"]},191,192,[1054,246],[1055,251,252,255],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return Math.random().toString(36).substr(2,e)}function o(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.key===t.key&&l["default"](e.state,t.state)}function i(){function e(e){return q.push(e),function(){q=q.filter(function(t){return t!==e})}}function t(){return H&&H.action===f.POP?Y.indexOf(H.key):B?Y.indexOf(B.key):-1}function n(e){var n=t();B=e,B.action===f.PUSH?Y=[].concat(Y.slice(0,n+1),[B.key]):B.action===f.REPLACE&&(Y[n]=B.key),R.forEach(function(e){e(B)})}function r(e){if(R.push(e),B)e(B);else{var t=C();Y=[t.key],n(t)}return function(){R=R.filter(function(t){return t!==e})}}function i(e,t){p.loopAsync(q.length,function(t,n,r){_["default"](q[t],e,function(e){null!=e?r(e):n()})},function(e){W&&"string"==typeof e?W(e,function(e){t(e!==!1)}):t(e!==!1)})}function c(e){B&&o(B,e)||(H=e,i(e,function(t){if(H===e)if(t){if(e.action===f.PUSH){var r=A(B),a=A(e);a===r&&l["default"](B.state,e.state)&&(e.action=f.REPLACE)}D(e)!==!1&&n(e)}else if(B&&e.action===f.POP){var o=Y.indexOf(B.key),i=Y.indexOf(e.key);o!==-1&&i!==-1&&P(o-i)}}))}function u(e){c(L(e,f.PUSH,y()))}function h(e){c(L(e,f.REPLACE,y()))}function M(){P(-1)}function g(){P(1)}function y(){return a(j)}function A(e){if(null==e||"string"==typeof e)return e;var t=e.pathname,n=e.search,r=e.hash,a=t;return n&&(a+=n),r&&(a+=r),a}function T(e){return A(e)}function L(e,t){var n=arguments.length<=2||void 0===arguments[2]?y():arguments[2];return"object"==typeof t&&("string"==typeof e&&(e=d.parsePath(e)),e=s({},e,{state:t}),t=n,n=arguments[3]||y()),m["default"](e,t,n)}function E(e){B?(w(B,e),n(B)):w(C(),e)}function w(e,t){e.state=s({},e.state,t),x(e.key,e.state)}function z(e){q.indexOf(e)===-1&&q.push(e)}function S(e){q=q.filter(function(t){return t!==e})}function k(e,t){"string"==typeof t&&(t=d.parsePath(t)),u(s({state:e},t))}function O(e,t){"string"==typeof t&&(t=d.parsePath(t)),h(s({state:e},t))}var N=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],C=N.getCurrentLocation,D=N.finishTransition,x=N.saveState,P=N.go,j=N.keyLength,W=N.getUserConfirmation;"number"!=typeof j&&(j=b);var q=[],Y=[],R=[],B=void 0,H=void 0;return{listenBefore:e,listen:r,transitionTo:c,push:u,replace:h,go:P,goBack:M,goForward:g,createKey:y,createPath:A,createHref:T,createLocation:L,setState:v["default"](E,"setState is deprecated; use location.key to save state instead"),registerTransitionHook:v["default"](z,"registerTransitionHook is deprecated; use listenBefore instead"),unregisterTransitionHook:v["default"](S,"unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead"),pushState:v["default"](k,"pushState is deprecated; use push instead"),replaceState:v["default"](O,"replaceState is deprecated; use replace instead")}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(246),u=(r(c),n(196)),l=r(u),d=n(249),p=n(256),f=n(248),h=n(247),m=r(h),M=n(257),_=r(M),g=n(245),v=r(g),b=6;t["default"]=i,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){function r(){i=!0,n.apply(this,arguments)}function a(){i||(o<e?t.call(this,o++,a,r):r.apply(this,arguments))}var o=0,i=!1;a()}t.__esModule=!0,t.loopAsync=n},[1057,246],[1052,246,248,249,251,252,253,254],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})}function o(){function e(e,t){_[e]=t}function t(e){return _[e]}function n(){var e=m[M],n=e.key,r=e.basename,a=e.pathname,o=e.search,s=(r||"")+a+(o||""),c=void 0;n?c=t(n):(c=null,n=p.createKey(),e.key=n);var u=l.parsePath(s);return p.createLocation(i({},u,{state:c}),void 0,n)}function r(e){var t=M+e;return t>=0&&t<m.length}function o(e){if(e){if(!r(e))return;M+=e;var t=n();p.transitionTo(i({},t,{action:d.POP}))}}function s(t){switch(t.action){case d.PUSH:M+=1,M<m.length&&m.splice(M),m.push(t),e(t.key,t.state);break;case d.REPLACE:m[M]=t,e(t.key,t.state)}}var c=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(c)?c={entries:c}:"string"==typeof c&&(c={entries:[c]});var p=f["default"](i({},c,{getCurrentLocation:n,finishTransition:s,saveState:e,go:o})),h=c,m=h.entries,M=h.current;"string"==typeof m?m=[m]:Array.isArray(m)||(m=["/"]),m=m.map(function(e){var t=p.createKey();return"string"==typeof e?{pathname:e,key:t}:"object"==typeof e&&e?i({},e,{key:t}):void u["default"](!1)}),null==M?M=m.length-1:M>=0&&M<m.length?void 0:u["default"](!1);var _=a(m);return p}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(246),c=(r(s),n(177)),u=r(c),l=n(249),d=n(248),p=n(255),f=r(p);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return function(){function t(e){return v&&null==e.basename&&(0===e.pathname.indexOf(v)?(e.pathname=e.pathname.substring(v.length),e.basename=v,""===e.pathname&&(e.pathname="/")):e.basename=""),e}function n(e){if(!v)return e;"string"==typeof e&&(e=c.parsePath(e));var t=e.pathname,n="/"===v.slice(-1)?v:v+"/",r="/"===t.charAt(0)?t.slice(1):t,a=n+r;return i({},e,{pathname:a})}function r(e){return y.listenBefore(function(n,r){l["default"](e,t(n),r)})}function o(e){return y.listen(function(n){e(t(n))})}function u(e){y.push(n(e))}function d(e){y.replace(n(e))}function f(e){return y.createPath(n(e))}function h(e){return y.createHref(n(e))}function m(e){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return t(y.createLocation.apply(y,[n(e)].concat(a)))}function M(e,t){"string"==typeof t&&(t=c.parsePath(t)),u(i({state:e},t))}function _(e,t){"string"==typeof t&&(t=c.parsePath(t)),d(i({state:e},t))}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],v=g.basename,b=a(g,["basename"]),y=e(b);if(null==v&&s.canUseDOM){var A=document.getElementsByTagName("base")[0];A&&(v=c.extractPath(A.href))}return i({},y,{listenBefore:r,listen:o,push:u,replace:d,createPath:f,createHref:h,createLocation:m,pushState:p["default"](M,"pushState is deprecated; use push instead"),replaceState:p["default"](_,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(251),c=n(249),u=n(257),l=r(u),d=n(245),p=r(d);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){function t(t){var n=e();if("string"==typeof n)return(t||window.event).returnValue=n,n}return u.addEventListener(window,"beforeunload",t),function(){u.removeEventListener(window,"beforeunload",t)}}function o(e){return function(t){function n(){for(var e=void 0,t=0,n=p.length;null==e&&t<n;++t)e=p[t].call();return e}function r(e){return p.push(e),1===p.length&&c.canUseDOM&&(l=a(n)),function(){p=p.filter(function(t){return t!==e}),0===p.length&&l&&(l(),l=null)}}function o(e){c.canUseDOM&&p.indexOf(e)===-1&&(p.push(e),1===p.length&&(l=a(n)))}function s(e){p.length>0&&(p=p.filter(function(t){return t!==e}),0===p.length&&l())}var u=e(t),l=void 0,p=[];return i({},u,{listenBeforeUnload:r,registerBeforeUnloadHook:d["default"](o,"registerBeforeUnloadHook is deprecated; use listenBeforeUnload instead"),unregisterBeforeUnloadHook:d["default"](s,"unregisterBeforeUnloadHook is deprecated; use the callback returned from listenBeforeUnload instead")})}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(246),c=(r(s),n(251)),u=n(252),l=n(245),d=r(l);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return u.stringify(e).replace(/%20/g,"+")}function i(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=A(t.substring(1)),e[m]={search:t,searchBase:""}}return e}function n(e,t){var n,r=e[m],a=t?y(t):"";if(!r&&!a)return e;"string"==typeof e&&(e=p.parsePath(e));var o=void 0;o=r&&e.search===r.search?r.searchBase:e.search||"";var i=o;return a&&(i+=(i?"&":"?")+a),s({},e,(n={search:i},n[m]={search:i,searchBase:o},n))}function r(e){return L.listenBefore(function(n,r){d["default"](e,t(n),r)})}function i(e){return L.listen(function(n){e(t(n))})}function c(e){L.push(n(e,e.query))}function u(e){L.replace(n(e,e.query))}function l(e,t){return L.createPath(n(e,t||e.query))}function f(e,t){return L.createHref(n(e,t||e.query))}function _(e){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];var i=L.createLocation.apply(L,[n(e,e.query)].concat(a));return e.query&&(i.query=e.query),t(i)}function g(e,t,n){"string"==typeof t&&(t=p.parsePath(t)),c(s({state:e},t,{query:n}))}function v(e,t,n){"string"==typeof t&&(t=p.parsePath(t)),u(s({state:e},t,{query:n}))}var b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],y=b.stringifyQuery,A=b.parseQueryString,T=a(b,["stringifyQuery","parseQueryString"]),L=e(T);return"function"!=typeof y&&(y=o),"function"!=typeof A&&(A=M),s({},L,{listenBefore:r,listen:i,push:c,replace:u,createPath:l,createHref:f,createLocation:_,pushState:h["default"](g,"pushState is deprecated; use push instead"),replaceState:h["default"](v,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(246),u=(r(c),n(263)),l=n(257),d=r(l),p=n(249),f=n(245),h=r(f),m="$searchBase",M=u.parse;t["default"]=i,e.exports=t["default"]},204,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(245),o=r(a),i=n(261),s=r(i);t["default"]=o["default"](s["default"],"enableBeforeUnload is deprecated, use useBeforeUnload instead"),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(245),o=r(a),i=n(262),s=r(i);t["default"]=o["default"](s["default"],"enableQueries is deprecated, use useQueries instead"),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){var e=(0,s.compose)((0,s.applyMiddleware)(u["default"]),(0,s.applyMiddleware)(h),"object"===("undefined"==typeof window?"undefined":(0,i["default"])(window))&&"undefined"!=typeof window.devToolsExtension?window.devToolsExtension():function(e){return e})(s.createStore);return e(f["default"])}Object.defineProperty(t,"__esModule",{value:!0});var o=n(267),i=r(o),s=n(161),c=n(335),u=r(c),l=n(239),d=n(178),p=n(336),f=r(p),h=(0,l.routerMiddleware)(d.hashHistory);t["default"]=a(),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(268),o=r(a),i=n(319),s=r(i),c="function"==typeof s["default"]&&"symbol"==typeof o["default"]?function(e){return typeof e}:function(e){return e&&"function"==typeof s["default"]&&e.constructor===s["default"]?"symbol":typeof e};t["default"]="function"==typeof s["default"]&&"symbol"===c(o["default"])?function(e){return"undefined"==typeof e?"undefined":c(e)}:function(e){return e&&"function"==typeof s["default"]&&e.constructor===s["default"]?"symbol":"undefined"==typeof e?"undefined":c(e)}},function(e,t,n){e.exports={"default":n(269),__esModule:!0}},function(e,t,n){n(270),n(314),e.exports=n(318).f("iterator")},function(e,t,n){"use strict";var r=n(271)(!0);n(274)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(272),a=n(273);e.exports=function(e){return function(t,n){var o,i,s=String(a(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(i=s.charCodeAt(c+1))<56320||i>57343?e?s.charAt(c):o:e?s.slice(c,c+2):(o-55296<<10)+(i-56320)+65536)}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(275),a=n(276),o=n(291),i=n(281),s=n(292),c=n(293),u=n(294),l=n(310),d=n(312),p=n(311)("iterator"),f=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",M="values",_=function(){return this};e.exports=function(e,t,n,g,v,b,y){u(n,t,g);var A,T,L,E=function(e){if(!f&&e in k)return k[e];switch(e){case m:return function(){return new n(this,e)};case M:return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",z=v==M,S=!1,k=e.prototype,O=k[p]||k[h]||v&&k[v],N=O||E(v),C=v?z?E("entries"):N:void 0,D="Array"==t?k.entries||O:O;if(D&&(L=d(D.call(new e)),L!==Object.prototype&&(l(L,w,!0),r||s(L,p)||i(L,p,_))),z&&O&&O.name!==M&&(S=!0,N=function(){return O.call(this)}),r&&!y||!f&&!S&&k[p]||i(k,p,N),c[t]=N,c[w]=_,v)if(A={values:z?N:E(M),keys:b?N:E(m),entries:C},y)for(T in A)T in k||o(k,T,A[T]);else a(a.P+a.F*(f||S),t,A);return A}},function(e,t){e.exports=!0},function(e,t,n){var r=n(277),a=n(278),o=n(279),i=n(281),s="prototype",c=function(e,t,n){var u,l,d,p=e&c.F,f=e&c.G,h=e&c.S,m=e&c.P,M=e&c.B,_=e&c.W,g=f?a:a[t]||(a[t]={}),v=g[s],b=f?r:h?r[t]:(r[t]||{})[s];f&&(n=t);for(u in n)l=!p&&b&&void 0!==b[u],l&&u in g||(d=l?b[u]:n[u],g[u]=f&&"function"!=typeof b[u]?n[u]:M&&l?o(d,r):_&&b[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((g.virtual||(g.virtual={}))[u]=d,e&c.R&&v&&!v[u]&&i(v,u,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(280);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(282),a=n(290);e.exports=n(286)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(283),a=n(285),o=n(289),i=Object.defineProperty;t.f=n(286)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),a)try{return i(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(284);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(286)&&!n(287)(function(){return 7!=Object.defineProperty(n(288)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(287)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(284),a=n(277).document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){var r=n(284);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=n(281)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(295),a=n(290),o=n(310),i={};n(281)(i,n(311)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:a(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(283),a=n(296),o=n(308),i=n(305)("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,t=n(288)("iframe"),r=o.length,a="<",i=">";for(t.style.display="none",n(309).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(a+"script"+i+"document.F=Object"+a+"/script"+i),e.close(),u=e.F;r--;)delete u[c][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=r(e),n=new s,s[c]=null,n[i]=e):n=u(),void 0===t?n:a(n,t)}},function(e,t,n){var r=n(282),a=n(283),o=n(297);e.exports=n(286)?Object.defineProperties:function(e,t){a(e);for(var n,i=o(t),s=i.length,c=0;s>c;)r.f(e,n=i[c++],t[n]);return e}},function(e,t,n){var r=n(298),a=n(308);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t,n){var r=n(292),a=n(299),o=n(302)(!1),i=n(305)("IE_PROTO");e.exports=function(e,t){var n,s=a(e),c=0,u=[];for(n in s)n!=i&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(300),a=n(273);e.exports=function(e){return r(a(e))}},function(e,t,n){var r=n(301);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(299),a=n(303),o=n(304);e.exports=function(e){return function(t,n,i){var s,c=r(t),u=a(c.length),l=o(i,u);if(e&&n!=n){for(;u>l;)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(272),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t,n){var r=n(272),a=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?a(e+t,0):o(e,t)}},function(e,t,n){var r=n(306)("keys"),a=n(307);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t,n){var r=n(277),a="__core-js_shared__",o=r[a]||(r[a]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){e.exports=n(277).document&&document.documentElement},function(e,t,n){var r=n(282).f,a=n(292),o=n(311)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(306)("wks"),a=n(307),o=n(277).Symbol,i="function"==typeof o,s=e.exports=function(e){return r[e]||(r[e]=i&&o[e]||(i?o:a)("Symbol."+e))};s.store=r},function(e,t,n){var r=n(292),a=n(313),o=n(305)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,n){var r=n(273);e.exports=function(e){return Object(r(e))}},function(e,t,n){n(315);for(var r=n(277),a=n(281),o=n(293),i=n(311)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],c=0;c<5;c++){var u=s[c],l=r[u],d=l&&l.prototype;d&&!d[i]&&a(d,i,u),o[u]=o.Array}},function(e,t,n){"use strict";var r=n(316),a=n(317),o=n(293),i=n(299);e.exports=n(274)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):"keys"==t?a(0,n):"values"==t?a(0,e[n]):a(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(311)},function(e,t,n){e.exports={"default":n(320),__esModule:!0}},function(e,t,n){n(321),n(332),n(333),n(334),e.exports=n(278).Symbol},function(e,t,n){"use strict";var r=n(277),a=n(292),o=n(286),i=n(276),s=n(291),c=n(322).KEY,u=n(287),l=n(306),d=n(310),p=n(307),f=n(311),h=n(318),m=n(323),M=n(324),_=n(325),g=n(328),v=n(283),b=n(299),y=n(289),A=n(290),T=n(295),L=n(329),E=n(331),w=n(282),z=n(297),S=E.f,k=w.f,O=L.f,N=r.Symbol,C=r.JSON,D=C&&C.stringify,x="prototype",P=f("_hidden"),j=f("toPrimitive"),W={}.propertyIsEnumerable,q=l("symbol-registry"),Y=l("symbols"),R=l("op-symbols"),B=Object[x],H="function"==typeof N,I=r.QObject,X=!I||!I[x]||!I[x].findChild,U=o&&u(function(){
|
22 |
return 7!=T(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(B,t);r&&delete B[t],k(e,t,n),r&&e!==B&&k(B,t,r)}:k,F=function(e){var t=Y[e]=T(N[x]);return t._k=e,t},V=H&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},J=function(e,t,n){return e===B&&J(R,t,n),v(e),t=y(t,!0),v(n),a(Y,t)?(n.enumerable?(a(e,P)&&e[P][t]&&(e[P][t]=!1),n=T(n,{enumerable:A(0,!1)})):(a(e,P)||k(e,P,A(1,{})),e[P][t]=!0),U(e,t,n)):k(e,t,n)},K=function(e,t){v(e);for(var n,r=_(t=b(t)),a=0,o=r.length;o>a;)J(e,n=r[a++],t[n]);return e},G=function(e,t){return void 0===t?T(e):K(T(e),t)},Q=function(e){var t=W.call(this,e=y(e,!0));return!(this===B&&a(Y,e)&&!a(R,e))&&(!(t||!a(this,e)||!a(Y,e)||a(this,P)&&this[P][e])||t)},$=function(e,t){if(e=b(e),t=y(t,!0),e!==B||!a(Y,t)||a(R,t)){var n=S(e,t);return!n||!a(Y,t)||a(e,P)&&e[P][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=O(b(e)),r=[],o=0;n.length>o;)a(Y,t=n[o++])||t==P||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=O(n?R:b(e)),o=[],i=0;r.length>i;)!a(Y,t=r[i++])||n&&!a(B,t)||o.push(Y[t]);return o};H||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(R,n),a(this,P)&&a(this[P],e)&&(this[P][e]=!1),U(this,e,A(1,n))};return o&&X&&U(B,e,{configurable:!0,set:t}),F(e)},s(N[x],"toString",function(){return this._k}),E.f=$,w.f=J,n(330).f=L.f=Z,n(327).f=Q,n(326).f=ee,o&&!n(275)&&s(B,"propertyIsEnumerable",Q,!0),h.f=function(e){return F(f(e))}),i(i.G+i.W+i.F*!H,{Symbol:N});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var te=z(f.store),ne=0;te.length>ne;)m(te[ne++]);i(i.S+i.F*!H,"Symbol",{"for":function(e){return a(q,e+="")?q[e]:q[e]=N(e)},keyFor:function(e){if(V(e))return M(q,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){X=!0},useSimple:function(){X=!1}}),i(i.S+i.F*!H,"Object",{create:G,defineProperty:J,defineProperties:K,getOwnPropertyDescriptor:$,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),C&&i(i.S+i.F*(!H||u(function(){var e=N();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!V(e)){for(var t,n,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);return t=r[1],"function"==typeof t&&(n=t),!n&&g(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,D.apply(C,r)}}}),N[x][j]||n(281)(N[x],j,N[x].valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(307)("meta"),a=n(284),o=n(292),i=n(282).f,s=0,c=Object.isExtensible||function(){return!0},u=!n(287)(function(){return c(Object.preventExtensions({}))}),l=function(e){i(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[r].i},p=function(e,t){if(!o(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].w},f=function(e){return u&&h.NEED&&c(e)&&!o(e,r)&&l(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:p,onFreeze:f}},function(e,t,n){var r=n(277),a=n(278),o=n(275),i=n(318),s=n(282).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(297),a=n(299);e.exports=function(e,t){for(var n,o=a(e),i=r(o),s=i.length,c=0;s>c;)if(o[n=i[c++]]===t)return n}},function(e,t,n){var r=n(297),a=n(326),o=n(327);e.exports=function(e){var t=r(e),n=a.f;if(n)for(var i,s=n(e),c=o.f,u=0;s.length>u;)c.call(e,i=s[u++])&&t.push(i);return t}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(301);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(299),a=n(330).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return a(e)}catch(t){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?s(e):a(r(e))}},function(e,t,n){var r=n(298),a=n(308).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){var r=n(327),a=n(290),o=n(299),i=n(289),s=n(292),c=n(285),u=Object.getOwnPropertyDescriptor;t.f=n(286)?u:function(e,t){if(e=o(e),t=i(t,!0),c)try{return u(e,t)}catch(n){}if(s(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(323)("asyncIterator")},function(e,t,n){n(323)("observable")},function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(a){return"function"==typeof a?a(n,r,e):t(a)}}}}t.__esModule=!0;var r=n();r.withExtraArgument=n,t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(161),a=n(239),o=n(337),i=n(348),s=n(421),c=n(433),u=n(631),l=n(645),d=n(678),p=n(681),f=n(684),h=n(687),m=n(690),M=(0,r.combineReducers)({initialState:i.initialState,dashboard:s.dashboard,modules:c.reducer,connection:u.reducer,jumpstart:l.reducer,settings:d.reducer,siteData:p.reducer,jetpackNotices:h.reducer,pluginsData:f.reducer,search:m.reducer});t["default"]=(0,r.combineReducers)({jetpack:M,routing:a.routerReducer,globalNotices:o.globalNotices}),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=arguments[1];switch(t.type){case i.NEW_NOTICE:return[t.notice].concat(r(e));case i.REMOVE_NOTICE:return e.filter(function(e){return e.noticeId!==t.noticeId})}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.globalNotices=a;var o=n(338),i=n(347);t["default"]=(0,o.combineReducers)({globalNotices:a})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(339),o=r(a),i=n(341),s=r(i),c=n(344),u=r(c),l=n(345),d=r(l),p=n(346),f=r(p);t.createStore=o["default"],t.combineReducers=s["default"],t.bindActionCreators=u["default"],t.applyMiddleware=d["default"],t.compose=f["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){function n(){return u}function r(e){l.push(e);var t=!0;return function(){if(t){t=!1;var n=l.indexOf(e);l.splice(n,1)}}}function a(e){if(!i["default"](e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,u=c(u,e)}finally{d=!1}return l.slice().forEach(function(e){return e()}),e}function o(e){c=e,a({type:s.INIT})}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,u=t,l=[],d=!1;return a({type:s.INIT}),{dispatch:a,subscribe:r,getState:n,replaceReducer:o}}t.__esModule=!0,t["default"]=a;var o=n(340),i=r(o),s={INIT:"@@redux/INIT"};t.ActionTypes=s},function(e,t){"use strict";function n(e){if(!e||"object"!=typeof e)return!1;var t="function"==typeof e.constructor?Object.getPrototypeOf(e):Object.prototype;if(null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&r(n)===r(Object)}t.__esModule=!0,t["default"]=n;var r=function(e){return Function.prototype.toString.call(e)};e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return'Reducer "'+e+'" returned undefined handling '+r+". To ignore an action, you must explicitly return the previous state."}function o(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var a="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:a}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function i(e){var t,n=p["default"](e,function(e){return"function"==typeof e});try{o(n)}catch(r){t=r}var i=l["default"](n,function(){});return function(e,r){if(void 0===e&&(e=i),t)throw t;var o=!1,s=l["default"](n,function(t,n){var i=e[n],s=t(i,r);if("undefined"==typeof s){var c=a(n,r);throw new Error(c)}return o=o||s!==i,s});return o?s:e}}t.__esModule=!0,t["default"]=i;var s=n(339),c=n(340),u=(r(c),n(342)),l=r(u),d=n(343),p=r(d);e.exports=t["default"]},function(e,t){"use strict";function n(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=t(e[r],r),n},{})}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";function n(e,t){return Object.keys(e).reduce(function(n,r){return t(e[r])&&(n[r]=e[r]),n},{})}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return function(){return t(e.apply(void 0,arguments))}}function o(e,t){if("function"==typeof e)return a(e,t);if("object"!=typeof e||null===e||void 0===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');return s["default"](e,function(e){return a(e,t)})}t.__esModule=!0,t["default"]=o;var i=n(342),s=r(i);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r){var a=e(n,r),i=a.dispatch,c=[],u={getState:a.getState,dispatch:function(e){return i(e)}};return c=t.map(function(e){return e(u)}),i=s["default"].apply(void 0,c)(a.dispatch),o({},a,{dispatch:i})}}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=a;var i=n(346),s=r(i);e.exports=t["default"]},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NEW_NOTICE="NEW_NOTICE",t.REMOVE_NOTICE="REMOVE_NOTICE"},[1059,354,420],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(350),o=r(a);t["default"]=o["default"]||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports={"default":n(351),__esModule:!0}},function(e,t,n){n(352),e.exports=n(278).Object.assign},function(e,t,n){var r=n(276);r(r.S+r.F,"Object",{assign:n(353)})},function(e,t,n){"use strict";var r=n(297),a=n(326),o=n(327),i=n(313),s=n(300),c=Object.assign;e.exports=!c||n(287)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=i(e),c=arguments.length,u=1,l=a.f,d=o.f;c>u;)for(var p,f=s(arguments[u++]),h=l?r(f).concat(l(f)):r(f),m=h.length,M=0;m>M;)d.call(f,p=h[M++])&&(n[p]=f[p]);return n}:c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.jetpack.initialState.happinessGravIds}function o(e){return e.jetpack.initialState.isDevVersion}function i(e){return e.jetpack.initialState.currentVersion}function s(e){return(0,C["default"])(e.jetpack.initialState.stats,"roles",{})}function c(e){return(0,C["default"])(e.jetpack.initialState.stats,"data")}function u(e){return(0,C["default"])(e.jetpack.initialState,["userData","currentUser","wpcomUser","email"])}function l(e){return(0,C["default"])(e.jetpack.initialState,"rawUrl",{})}function d(e){return(0,C["default"])(e.jetpack.initialState,"adminUrl",{})}function p(e){return(0,C["default"])(e.jetpack.initialState,["connectionStatus","isPublic"])}function f(e){return!(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function h(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"manage_modules",!1)}function m(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"manage_options",!1)}function M(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function _(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"manage_plugins",!1)}function g(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"disconnect",!1)}function v(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,"isMaster",!1)}function b(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,["wpcomUser","login"])}function y(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,["wpcomUser","email"])}function A(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,["wpcomUser","avatar"])}function T(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,["username"])}function L(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"view_stats",!1)}function E(e){return(0,C["default"])(e.jetpack.initialState,"WP_API_nonce")}function w(e){return(0,C["default"])(e.jetpack.initialState,"WP_API_root")}function z(e){return(0,C["default"])(e.jetpack.initialState,"tracksUserData")}function S(e){return(0,C["default"])(e.jetpack.initialState,"currentIp")}Object.defineProperty(t,"__esModule",{value:!0}),t.initialState=void 0,t.getHappinessGravatarIds=a,t.isDevVersion=o,t.getCurrentVersion=i,t.getSiteRoles=s,t.getInitialStateStatsData=c,t.getAdminEmailAddress=u,t.getSiteRawUrl=l,t.getSiteAdminUrl=d,t.isSitePublic=p,t.userIsSubscriber=f,t.userCanManageModules=h,t.userCanManageOptions=m,t.userCanEditPosts=M,t.userCanManagePlugins=_,t.userCanDisconnectSite=g,t.userIsMaster=v,t.getUserWpComLogin=b,t.getUserWpComEmail=y,t.getUserWpComAvatar=A,t.getUsername=T,t.userCanViewStats=L,t.getApiNonce=E,t.getApiRootUrl=w,t.getTracksUserData=z,t.getCurrentIp=S;var k=n(355),O=r(k),N=n(377),C=r(N),D=n(419);t.initialState=function(){var e=arguments.length<=0||void 0===arguments[0]?window.Initial_State:arguments[0],t=arguments[1];switch(t.type){case D.JETPACK_SET_INITIAL_STATE:return(0,O["default"])({},e,t.initialState);default:return e}}},function(e,t,n){var r=n(356),a=n(358),o=n(359),i=n(363),s=n(368),c=n(369),u=Object.prototype,l=u.hasOwnProperty,d=u.propertyIsEnumerable,p=!d.call({valueOf:1},"valueOf"),f=o(function(e,t){if(p||s(t)||i(t))return void a(t,c(t),e);for(var n in t)l.call(t,n)&&r(e,n,t[n])});e.exports=f},function(e,t,n){function r(e,t,n){var r=e[t];i.call(e,t)&&a(r,n)&&(void 0!==n||t in e)||(e[t]=n)}var a=n(357),o=Object.prototype,i=o.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],c=r?r(n[s],e[s],s,n,e):void 0;a(n,s,void 0===c?e[s]:c)}return n}var a=n(356);e.exports=r},function(e,t,n){function r(e){return a(function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(n[0],n[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t})}var a=n(360),o=n(362);e.exports=r},function(e,t,n){function r(e,t){return t=o(void 0===t?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=o(n.length-t,0),s=Array(i);++r<i;)s[r]=n[t+r];r=-1;for(var c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=s,a(e,this,c)}}var a=n(361),o=Math.max;e.exports=r},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?o(n)&&i(t,n.length):"string"==r&&t in n)&&a(n[t],e)}var a=n(357),o=n(363),i=n(367),s=n(365);e.exports=r},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!a(e)}var a=n(364),o=n(366);e.exports=r},function(e,t,n){function r(e){var t=a(e)?c.call(e):"";return t==o||t==i}var a=n(365),o="[object Function]",i="[object GeneratorFunction]",s=Object.prototype,c=s.toString;e.exports=r},function(e,t){function n(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){return t=null==t?r:t,!!t&&("number"==typeof e||a.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t){function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var a=n(370),o=n(375),i=n(363);e.exports=r},function(e,t,n){function r(e,t){var n=i(e)||o(e)?a(e.length,String):[],r=n.length,c=!!r;for(var l in e)!t&&!u.call(e,l)||c&&("length"==l||s(l,r))||n.push(l);return n}var a=n(371),o=n(372),i=n(374),s=n(367),c=Object.prototype,u=c.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e){return a(e)&&s.call(e,"callee")&&(!u.call(e,"callee")||c.call(e)==o)}var a=n(373),o="[object Arguments]",i=Object.prototype,s=i.hasOwnProperty,c=i.toString,u=i.propertyIsEnumerable;e.exports=r},function(e,t,n){function r(e){return o(e)&&a(e)}var a=n(363),o=n(167);e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function r(e){if(!a(e))return o(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var a=n(368),o=n(376),i=Object.prototype,s=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(165),a=r(Object.keys,Object);e.exports=a},function(e,t,n){function r(e,t,n){var r=null==e?void 0:a(e,t);return void 0===r?n:r}var a=n(378);e.exports=r},function(e,t,n){function r(e,t){t=o(t,e)?[t]:a(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var a=n(379),o=n(417),i=n(418);e.exports=r},function(e,t,n){function r(e){return a(e)?e:o(e)}var a=n(374),o=n(380);e.exports=r},function(e,t,n){var r=n(381),a=n(413),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,c=r(function(e){e=a(e);var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,a){t.push(r?a.replace(s,"$1"):n||e)}),t});e.exports=c},function(e,t,n){function r(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i),i};return n.cache=new(r.Cache||a),n}var a=n(382),o="Expected a function";r.Cache=a,e.exports=r},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(383),o=n(407),i=n(410),s=n(411),c=n(412);r.prototype.clear=a,r.prototype["delete"]=o,r.prototype.get=i,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t,n){function r(){this.__data__={hash:new a,map:new(i||o),string:new a}}var a=n(384),o=n(399),i=n(406);e.exports=r},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(385),o=n(395),i=n(396),s=n(397),c=n(398);r.prototype.clear=a,r.prototype["delete"]=o,r.prototype.get=i,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t,n){function r(){this.__data__=a?a(null):{}}var a=n(386);e.exports=r},[1060,387],function(e,t,n){function r(e,t){var n=o(e,t);return a(n)?n:void 0}var a=n(388),o=n(394);e.exports=r},function(e,t,n){function r(e){if(!s(e)||i(e))return!1;var t=a(e)||o(e)?m:l;return t.test(c(e))}var a=n(364),o=n(166),i=n(389),s=n(365),c=n(393),u=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,d=Function.prototype,p=Object.prototype,f=d.toString,h=p.hasOwnProperty,m=RegExp("^"+f.call(h).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return!!o&&o in e}var a=n(390),o=function(){var e=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t,n){var r=n(391),a=r["__core-js_shared__"];e.exports=a},function(e,t,n){var r=n(392),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t){function n(e){if(null!=e){try{return a.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var r=Function.prototype,a=r.toString;e.exports=n},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t){function n(e){return this.has(e)&&delete this.__data__[e]}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(a){var n=t[e];return n===o?void 0:n}return s.call(t,e)?t[e]:void 0}var a=n(386),o="__lodash_hash_undefined__",i=Object.prototype,s=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return a?void 0!==t[e]:i.call(t,e)}var a=n(386),o=Object.prototype,i=o.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return n[e]=a&&void 0===t?o:t,this}var a=n(386),o="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(400),o=n(401),i=n(403),s=n(404),c=n(405);r.prototype.clear=a,r.prototype["delete"]=o,r.prototype.get=i,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t){function n(){this.__data__=[]}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():i.call(t,n,1),!0}var a=n(402),o=Array.prototype,i=o.splice;e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(a(e[n][0],t))return n;return-1}var a=n(357);e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}var a=n(402);e.exports=r},function(e,t,n){function r(e){return a(this.__data__,e)>-1}var a=n(402);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=a(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}var a=n(402);e.exports=r},[1061,387,391],function(e,t,n){function r(e){return a(this,e)["delete"](e)}var a=n(408);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return a(t)?n["string"==typeof t?"string":"hash"]:n.map}var a=n(409);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return a(this,e).get(e)}var a=n(408);e.exports=r},function(e,t,n){function r(e){return a(this,e).has(e)}var a=n(408);e.exports=r},function(e,t,n){function r(e,t){return a(this,e).set(e,t),this}var a=n(408);e.exports=r},function(e,t,n){function r(e){return null==e?"":a(e)}var a=n(414);e.exports=r},function(e,t,n){function r(e){if("string"==typeof e)return e;if(o(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}var a=n(415),o=n(416),i=1/0,s=a?a.prototype:void 0,c=s?s.toString:void 0;e.exports=r},[1062,391],function(e,t,n){function r(e){return"symbol"==typeof e||a(e)&&s.call(e)==o}var a=n(167),o="[object Symbol]",i=Object.prototype,s=i.toString;e.exports=r},function(e,t,n){function r(e,t){if(a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}var a=n(374),o=n(416),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){function r(e){if("string"==typeof e||a(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var a=n(416),o=1/0;e.exports=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.JETPACK_SET_INITIAL_STATE="JETPACK_SET_INITIAL_STATE",t.CONNECT_URL_FETCH="CONNECT_URL_FETCH",t.CONNECT_URL_FETCH_FAIL="CONNECT_URL_FETCH_FAIL",t.CONNECT_URL_FETCH_SUCCESS="CONNECT_URL_FETCH_SUCCESS",t.DISCONNECT_SITE="DISCONNECT_SITE",t.DISCONNECT_SITE_FAIL="DISCONNECT_SITE_FAIL",t.DISCONNECT_SITE_SUCCESS="DISCONNECT_SITE_SUCCESS",t.UNLINK_USER="UNLINK_USER",t.UNLINK_USER_FAIL="UNLINK_USER_FAIL",t.UNLINK_USER_SUCCESS="UNLINK_USER_SUCCESS",t.USER_CONNECTION_DATA_FETCH="USER_CONNECTION_DATA_FETCH",t.USER_CONNECTION_DATA_FETCH_FAIL="USER_CONNECTION_DATA_FETCH_FAIL",t.USER_CONNECTION_DATA_FETCH_SUCCESS="USER_CONNECTION_DATA_FETCH_SUCCESS",t.JETPACK_MODULES_LIST_FETCH="JETPACK_MODULES_LIST_FETCH",t.JETPACK_MODULES_LIST_FETCH_FAIL="JETPACK_MODULES_LIST_FETCH_FAIL",t.JETPACK_MODULES_LIST_RECEIVE="JETPACK_MODULES_LIST_RECEIVE",t.JETPACK_MODULE_FETCH="JETPACK_MODULE_FETCH",t.JETPACK_MODULE_FETCH_FAIL="JETPACK_MODULE_FETCH_FAIL",t.JETPACK_MODULE_RECEIVE="JETPACK_MODULE_RECEIVE",t.JETPACK_MODULE_ACTIVATE="JETPACK_MODULE_ACTIVATE",t.JETPACK_MODULE_ACTIVATE_SUCCESS="JETPACK_MODULE_ACTIVATE_SUCCESS",t.JETPACK_MODULE_ACTIVATE_FAIL="JETPACK_MODULE_ACTIVATE_FAIL",t.JETPACK_MODULE_DEACTIVATE="JETPACK_MODULE_DEACTIVATE",t.JETPACK_MODULE_DEACTIVATE_FAIL="JETPACK_MODULE_DEACTIVATE_FAIL",t.JETPACK_MODULE_DEACTIVATE_SUCCESS="JETPACK_MODULE_DEACTIVATE_SUCCESS",t.JETPACK_MODULE_UPDATE_OPTIONS="JETPACK_MODULE_UPDATE_OPTIONS",t.JETPACK_MODULE_UPDATE_OPTIONS_FAIL="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",t.JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",t.JETPACK_MODULES_SET_UNSAVED_OPTION_FLAG="JETPACK_MODULES_SET_UNSAVED_OPTION_FLAG",t.JETPACK_MODULES_CLEAR_UNSAVED_OPTION_FLAG="JETPACK_MODULES_CLEAR_UNSAVED_OPTION_FLAG",t.JETPACK_CONNECTION_STATUS_FETCH="JETPACK_CONNECTION_STATUS_FETCH",t.JUMPSTART_ACTIVATE="JUMPSTART_ACTIVATE",t.JUMPSTART_ACTIVATE_FAIL="JUMPSTART_ACTIVATE_FAIL",t.JUMPSTART_ACTIVATE_SUCCESS="JUMPSTART_ACTIVATE_SUCCESS",t.JUMPSTART_SKIP="JUMPSTART_SKIP",t.JUMPSTART_SKIP_FAIL="JUMPSTART_SKIP_FAIL",t.JUMPSTART_SKIP_SUCCESS="JUMPSTART_SKIP_SUCCESS",t.DASHBOARD_PROTECT_COUNT_FETCH="DASHBOARD_PROTECT_COUNT_FETCH",t.DASHBOARD_PROTECT_COUNT_FETCH_FAIL="DASHBOARD_PROTECT_COUNT_FETCH_FAIL",t.DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS="DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS",t.RESET_OPTIONS="RESET_OPTIONS",t.RESET_OPTIONS_FAIL="RESET_OPTIONS_FAIL",t.RESET_OPTIONS_SUCCESS="RESET_OPTIONS_SUCCESS",t.VAULTPRESS_SITE_DATA_FETCH="VAULTPRESS_SITE_DATA_FETCH",t.VAULTPRESS_SITE_DATA_FETCH_FAIL="VAULTPRESS_SITE_DATA_FETCH_FAIL",t.VAULTPRESS_SITE_DATA_FETCH_SUCCESS="VAULTPRESS_SITE_DATA_FETCH_SUCCESS",t.MONITOR_LAST_DOWNTIME_FETCH="MONITOR_LAST_DOWNTIME_FETCH",t.MONITOR_LAST_DOWNTIME_FETCH_FAIL="MONITOR_LAST_DOWNTIME_FETCH_FAIL",t.MONITOR_LAST_DOWNTIME_FETCH_SUCCESS="MONITOR_LAST_DOWNTIME_FETCH_SUCCESS",t.AKISMET_DATA_FETCH="AKISMET_DATA_FETCH",t.AKISMET_DATA_FETCH_FAIL="AKISMET_DATA_FETCH_FAIL",t.AKISMET_DATA_FETCH_SUCCESS="AKISMET_DATA_FETCH_SUCCESS",t.PLUGIN_UPDATES_FETCH="PLUGIN_UPDATES_FETCH",t.PLUGIN_UPDATES_FETCH_FAIL="PLUGIN_UPDATES_FETCH_FAIL",t.PLUGIN_UPDATES_FETCH_SUCCESS="PLUGIN_UPDATES_FETCH_SUCCESS",t.STATS_SWITCH_TAB="STATS_SWITCH_TAB",t.STATS_DATA_FETCH="STATS_DATA_FETCH",t.STATS_DATA_FETCH_FAIL="STATS_DATA_FETCH_FAIL",t.STATS_DATA_FETCH_SUCCESS="STATS_DATA_FETCH_SUCCESS",t.JETPACK_SETTINGS_FETCH="JETPACK_SETTINGS_FETCH",t.JETPACK_SETTINGS_FETCH_RECEIVE="JETPACK_SETTINGS_FETCH_RECEIVE",t.JETPACK_SETTINGS_FETCH_FAIL="JETPACK_SETTINGS_FETCH_FAIL",t.JETPACK_SETTING_UPDATE="JETPACK_SETTING_UPDATE",t.JETPACK_SETTING_UPDATE_SUCCESS="JETPACK_SETTING_UPDATE_SUCCESS",t.JETPACK_SETTING_UPDATE_FAIL="JETPACK_SETTING_UPDATE_FAIL",t.JETPACK_SITE_DATA_FETCH="JETPACK_SITE_DATA_FETCH",t.JETPACK_SITE_DATA_FETCH_RECEIVE="JETPACK_SITE_DATA_FETCH_RECEIVE",t.JETPACK_SITE_DATA_FETCH_FAIL="JETPACK_SITE_DATA_FETCH_FAIL",t.JETPACK_ACTION_NOTICES_DISMISS="JETPACK_ACTION_NOTICES_DISMISS",t.JETPACK_NOTICES_DISPATCH_TYPE="JETPACK_NOTICES_DISPATCH_TYPE",t.JETPACK_NOTICES_DISMISS="JETPACK_NOTICES_DISMISS",t.JETPACK_NOTICES_DISMISS_FAIL="JETPACK_NOTICES_DISMISS_FAIL",t.JETPACK_NOTICES_DISMISS_SUCCESS="JETPACK_NOTICES_DISMISS_SUCCESS",t.JETPACK_PLUGINS_DATA_FETCH="JETPACK_PLUGINS_DATA_FETCH",t.JETPACK_PLUGINS_DATA_FETCH_RECEIVE="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",t.JETPACK_PLUGINS_DATA_FETCH_FAIL="JETPACK_PLUGINS_DATA_FETCH_FAIL",t.JETPACK_SEARCH_TERM="JETPACK_SEARCH_TERM"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setInitialState=void 0;var r=n(419);t.setInitialState=function(){return function(e){e({type:r.JETPACK_SET_INITIAL_STATE,initialState:window.Initial_State})}}},[1059,422,423],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.jetpack.dashboard.activeStatsTab}function o(e){return!!e.jetpack.dashboard.requests.fetchingStatsData}function i(e){return e.jetpack.dashboard.statsData}function s(e){return!!e.jetpack.dashboard.requests.fetchingAkismetData}function c(e){return e.jetpack.dashboard.akismetData}function u(e){return!!e.jetpack.dashboard.requests.fetchingProtectData}function l(e){return e.jetpack.dashboard.protectCount}function d(e){return!!e.jetpack.dashboard.requests.fetchingMonitorData}function p(e){return e.jetpack.dashboard.lastDownTime}function f(e){return!!e.jetpack.dashboard.requests.fetchingVaultPressData}function h(e){return e.jetpack.dashboard.vaultPressData}function m(e){return(0,A["default"])(e.jetpack.dashboard.vaultPressData,"data.security.notice_count",0)}function M(e){return!!e.jetpack.dashboard.requests.fetchingPluginUpdates}function _(e){return e.jetpack.dashboard.pluginUpdates}Object.defineProperty(t,"__esModule",{value:!0}),t.dashboard=void 0,t.getActiveStatsTab=a,t.isFetchingStatsData=o,t.getStatsData=i,t.isFetchingAkismetData=s,t.getAkismetData=c,t.isFetchingProtectData=u,t.getProtectCount=l,t.isFetchingMonitorData=d,t.getLastDownTime=p,t.isFetchingVaultPressData=f,t.getVaultPressData=h,t.getVaultPressScanThreatCount=m,t.isFetchingPluginUpdates=M,t.getPluginUpdates=_;var g=n(161),v=n(355),b=r(v),y=n(377),A=r(y),T=n(419),L=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];switch(t.type){case T.STATS_DATA_FETCH:return(0,b["default"])({},e,{fetchingStatsData:!0});case T.AKISMET_DATA_FETCH:return(0,b["default"])({},e,{fetchingAkismetData:!0});case T.MONITOR_LAST_DOWNTIME_FETCH:return(0,b["default"])({},e,{fetchingMonitorData:!0});case T.VAULTPRESS_SITE_DATA_FETCH:return(0,b["default"])({},e,{fetchingVaultPressData:!0});case T.DASHBOARD_PROTECT_COUNT_FETCH:return(0,b["default"])({},e,{fetchingProtectData:!0});case T.PLUGIN_UPDATES_FETCH:return(0,b["default"])({},e,{fetchingPluginUpdates:!0});case T.STATS_DATA_FETCH_FAIL:case T.STATS_DATA_FETCH_SUCCESS:case T.AKISMET_DATA_FETCH_FAIL:case T.AKISMET_DATA_FETCH_SUCCESS:case T.MONITOR_LAST_DOWNTIME_FETCH_FAIL:case T.MONITOR_LAST_DOWNTIME_FETCH_SUCCESS:case T.VAULTPRESS_SITE_DATA_FETCH_FAIL:case T.VAULTPRESS_SITE_DATA_FETCH_SUCCESS:
|
23 |
-
case T.DASHBOARD_PROTECT_COUNT_FETCH_FAIL:case T.DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS:case T.PLUGIN_UPDATES_FETCH_FAIL:case T.PLUGIN_UPDATES_FETCH_SUCCESS:return(0,b["default"])({},e,{fetchingStatsData:!1,fetchingAkismetData:!1,fetchingMonitorData:!1,fetchingVaultPressData:!1,fetchingProtectData:!1,fetchingPluginUpdates:!1});default:return e}},E=function(){var e=arguments.length<=0||void 0===arguments[0]?"day":arguments[0],t=arguments[1];switch(t.type){case T.STATS_SWITCH_TAB:return t.activeStatsTab;default:return e}},w=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.STATS_DATA_FETCH_SUCCESS:return(0,b["default"])({},e,t.statsData);default:return e}},z=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.AKISMET_DATA_FETCH_SUCCESS:return t.akismetData;default:return e}},S=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS:return t.protectCount;default:return e}},k=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.MONITOR_LAST_DOWNTIME_FETCH_SUCCESS:return t.lastDownTime;default:return e}},O=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.VAULTPRESS_SITE_DATA_FETCH_SUCCESS:return t.vaultPressData;default:return e}},N=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.PLUGIN_UPDATES_FETCH_SUCCESS:return t.pluginUpdates;default:return e}};t.dashboard=(0,g.combineReducers)({requests:L,activeStatsTab:E,protectCount:S,lastDownTime:k,vaultPressData:O,statsData:w,akismetData:z,pluginUpdates:N})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.fetchPluginUpdates=t.fetchAkismetData=t.fetchVaultPressData=t.fetchLastDownTime=t.fetchProtectCount=t.fetchStatsData=t.statsSwitchTab=void 0;var a=n(424),o=r(a),i=n(419);t.statsSwitchTab=function(e){return function(t){t({type:i.STATS_SWITCH_TAB,activeStatsTab:e})}},t.fetchStatsData=function(e){return function(t){return t({type:i.STATS_DATA_FETCH}),o["default"].fetchStatsData(e).then(function(e){t({type:i.STATS_DATA_FETCH_SUCCESS,statsData:e})})["catch"](function(e){t({type:i.STATS_DATA_FETCH_FAIL,error:e})})}},t.fetchProtectCount=function(){return function(e){return e({type:i.DASHBOARD_PROTECT_COUNT_FETCH}),o["default"].getProtectCount().then(function(t){e({type:i.DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS,protectCount:t})})["catch"](function(t){e({type:i.DASHBOARD_PROTECT_COUNT_FETCH_FAIL,error:t})})}},t.fetchLastDownTime=function(){return function(e){return e({type:i.MONITOR_LAST_DOWNTIME_FETCH}),o["default"].getLastDownTime().then(function(t){e({type:i.MONITOR_LAST_DOWNTIME_FETCH_SUCCESS,lastDownTime:t})})["catch"](function(t){e({type:i.MONITOR_LAST_DOWNTIME_FETCH_FAIL,error:t})})}},t.fetchVaultPressData=function(){return function(e){return e({type:i.VAULTPRESS_SITE_DATA_FETCH}),o["default"].getVaultPressData().then(function(t){e({type:i.VAULTPRESS_SITE_DATA_FETCH_SUCCESS,vaultPressData:t})})["catch"](function(t){e({type:i.VAULTPRESS_SITE_DATA_FETCH_FAIL,error:t})})}},t.fetchAkismetData=function(){return function(e){return e({type:i.AKISMET_DATA_FETCH}),o["default"].getAkismetData().then(function(t){e({type:i.AKISMET_DATA_FETCH_SUCCESS,akismetData:t})})["catch"](function(t){e({type:i.AKISMET_DATA_FETCH_FAIL,error:t})})}},t.fetchPluginUpdates=function(){return function(e){return e({type:i.PLUGIN_UPDATES_FETCH}),o["default"].getPluginUpdates().then(function(t){e({type:i.PLUGIN_UPDATES_FETCH_SUCCESS,pluginUpdates:t})})["catch"](function(t){e({type:i.PLUGIN_UPDATES_FETCH_FAIL,error:t})})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n=e,r=t,a={setApiRoot:function(e){n=e},setApiNonce:function(e){r=e},fetchSiteConnectionStatus:function(){return fetch(n+"jetpack/v4/connection",{credentials:"same-origin",headers:{"X-WP-Nonce":r}}).then(function(e){return e.json()})},fetchUserConnectionData:function(){return fetch(n+"jetpack/v4/connection/data",{credentials:"same-origin",headers:{"X-WP-Nonce":r}}).then(function(e){return e.json()})},disconnectSite:function(){return fetch(n+"jetpack/v4/connection",{method:"delete",credentials:"same-origin",headers:{"X-WP-Nonce":r}}).then(o).then(function(e){return e.json()})},fetchConnectUrl:function(){return fetch(n+"jetpack/v4/connection/url",{credentials:"same-origin",headers:{"X-WP-Nonce":r}}).then(o).then(function(e){return e.json()})},unlinkUser:function(){return fetch(n+"jetpack/v4/connection/user",{method:"delete",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},jumpStart:function(e){var t=void 0;return"activate"===e&&(t=!0),"deactivate"===e&&(t=!1),fetch(n+"jetpack/v4/jumpstart",{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"},body:(0,s["default"])({active:t})}).then(o).then(function(e){return e.json()})},fetchModules:function(){return fetch(n+"jetpack/v4/module/all",{credentials:"same-origin",headers:{"X-WP-Nonce":r}}).then(o).then(function(e){return e.json()})},fetchModule:function(e){return fetch(n+"jetpack/v4/module/"+e,{credentials:"same-origin",headers:{"X-WP-Nonce":r}}).then(o).then(function(e){return e.json()})},activateModule:function(e){return fetch(n+"jetpack/v4/module/"+e+"/active",{method:"put",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"},body:(0,s["default"])({active:!0})}).then(o).then(function(e){return e.json()})},deactivateModule:function(e){return fetch(n+"jetpack/v4/module/"+e+"/active",{method:"put",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"},body:(0,s["default"])({active:!1})})},updateModuleOptions:function(e,t){return fetch(n+"jetpack/v4/module/"+e,{method:"put",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"},body:(0,s["default"])(t)}).then(o).then(function(e){return e.json()})},getProtectCount:function(){return fetch(n+"jetpack/v4/module/protect/data",{credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},resetOptions:function(e){return fetch(n+"jetpack/v4/options/"+e,{method:"delete",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},getVaultPressData:function(){return fetch(n+"jetpack/v4/module/vaultpress/data",{credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},getLastDownTime:function(){return fetch(n+"jetpack/v4/module/monitor/data",{credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},getAkismetData:function(){return fetch(n+"jetpack/v4/module/akismet/data",{credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},fetchStatsData:function(e){return fetch(n+"jetpack/v4/module/stats/data?range="+encodeURIComponent(e),{credentials:"same-origin",headers:{"X-WP-Nonce":r}}).then(o).then(function(e){return e.json()})},getPluginUpdates:function(){return fetch(n+"jetpack/v4/updates/plugins",{credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},fetchSettings:function(){return fetch(n+"jetpack/v4/settings",{credentials:"same-origin",headers:{"X-WP-Nonce":r}}).then(o).then(function(e){return e.json()})},updateSetting:function(e){return fetch(n+"jetpack/v4/settings",{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"},body:(0,s["default"])(e)}).then(o).then(function(e){return e.json()})},fetchSiteData:function(){return fetch(n+"jetpack/v4/site",{method:"get",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()}).then(function(e){return JSON.parse(e.data)})},dismissJetpackNotice:function(e){return fetch(n+"jetpack/v4/notice/"+e,{method:"delete",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},fetchPluginsData:function(){return fetch(n+"jetpack/v4/plugins",{method:"get",credentials:"same-origin",headers:{"X-WP-Nonce":r,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})}};(0,u["default"])(this,a)}function o(e){return e.status>=200&&e.status<300?e:e.json().then(function(e){var t=new Error(e.message);throw t.response=e,t})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(425),s=r(i);n(427);var c=n(355),u=r(c);n(428).polyfill();var l=new a;t["default"]=l,e.exports=t["default"]},function(e,t,n){e.exports={"default":n(426),__esModule:!0}},function(e,t,n){var r=n(278),a=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return m.iterable&&(t[Symbol.iterator]=function(){return t}),t}function a(e){this.map={},e instanceof a?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function i(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader;return t.readAsArrayBuffer(e),i(t)}function c(e){var t=new FileReader;return t.readAsText(e),i(t)}function u(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(m.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(m.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(e){if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob?(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(s)},this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=o(this);return e?e:Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function l(e){var t=e.toUpperCase();return M.indexOf(t)>-1?t:e}function d(e,t){t=t||{};var n=t.body;if(d.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=l(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(a))}}),t}function f(e){var t=new a,n=(e.getAllResponseHeaders()||"").trim().split("\n");return n.forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),a=n.join(":").trim();t.append(r,a)}),t}function h(e,t){t||(t={}),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof a?t.headers:new a(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var m={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};a.prototype.append=function(e,r){e=t(e),r=n(r);var a=this.map[e];a||(a=[],this.map[e]=a),a.push(r)},a.prototype["delete"]=function(e){delete this.map[t(e)]},a.prototype.get=function(e){var n=this.map[t(e)];return n?n[0]:null},a.prototype.getAll=function(e){return this.map[t(e)]||[]},a.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},a.prototype.set=function(e,r){this.map[t(e)]=[n(r)]},a.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)},a.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},a.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},a.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},m.iterable&&(a.prototype[Symbol.iterator]=a.prototype.entries);var M=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this)},u.call(d.prototype),u.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];h.redirect=function(e,t){if(_.indexOf(t)===-1)throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},e.Headers=a,e.Request=d,e.Response=h,e.fetch=function(e,t){return new Promise(function(n,r){function a(){return"responseURL"in i?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):void 0}var o;o=d.prototype.isPrototypeOf(e)&&!t?e:new d(e,t);var i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:f(i),url:a()},t="response"in i?i.response:i.responseText;n(new h(t,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&m.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t,n){var r;(function(e,a,o){/*!
|
24 |
* @overview es6-promise - a tiny implementation of Promises/A+.
|
25 |
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
26 |
* @license Licensed under MIT license
|
@@ -87,8 +87,8 @@ className:"jp-jumpstart__cta-container"},i["default"].createElement(l["default"]
|
|
87 |
*/
|
88 |
hasTouch:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}}},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(421),_=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){this.props.fetchingStatsData||this.props.fetchStatsData(this.props.range)}},{key:"render",value:function(){return null}}]),t}(h.Component);_.defaultProps={fetchStatsData:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchStatsData:function(t){return(0,M.fetchStatsData)(e,t)},fetchingStatsData:(0,M.isFetchingStatsData)(e)}},function(e){return{fetchStatsData:function(t){return e((0,M.fetchStatsData)(t))}}})(_),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(267),o=r(a),i=n(142),s=r(i),c=n(829),u=r(c),l=n(648),d=r(l),p=n(452),f=s["default"].createClass({displayName:"DashStatsBottom",statsBottom:function(){var e=void 0;return e="object"===(0,o["default"])(this.props.statsData.general)?this.props.statsData.general.stats:{views:"-",comments:"-",views_today:"-",views_best_day:"-",views_best_day_total:"-"},[{viewsToday:e.views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]},render:function(){var e=this.statsBottom()[0];return s["default"].createElement("div",null,s["default"].createElement("div",{className:"jp-at-a-glance__stats-summary"},s["default"].createElement("div",{className:"jp-at-a-glance__stats-summary-today"},s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("Views today",{comment:"Referring to a number of page views"})),s["default"].createElement("h3",{className:"jp-at-a-glance__stat-number"},e.viewsToday)),s["default"].createElement("div",{className:"jp-at-a-glance__stats-summary-bestday"},s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("Best overall day",{comment:"Referring to a number of page views"})),s["default"].createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.bestDay.count?"-":(0,p.translate)("%(number)s View","%(number)s Views",{count:e.bestDay.count,args:{number:(0,p.numberFormat)(e.bestDay.count)}})),s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},"-"===e.bestDay.day?"-":(0,p.moment)(e.bestDay.day).format("MMMM Do, YYYY"))),s["default"].createElement("div",{className:"jp-at-a-glance__stats-summary-alltime"},s["default"].createElement("div",{className:"jp-at-a-glance__stats-alltime-views"},s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("All-time views",{comment:"Referring to a number of page views"})),s["default"].createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.views?"-":(0,p.numberFormat)(e.allTime.views))),s["default"].createElement("div",{className:"jp-at-a-glance__stats-alltime-comments"},s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("All-time comments",{comment:"Referring to a number of comments"})),s["default"].createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.comments?"-":(0,p.numberFormat)(e.allTime.comments))))),s["default"].createElement("div",{className:"jp-at-a-glance__stats-cta"},s["default"].createElement("div",{className:"jp-at-a-glance__stats-cta-description"}),s["default"].createElement("div",{className:"jp-at-a-glance__stats-cta-buttons"},(0,p.translate)("{{button}}View Old Stats{{/button}}",{components:{button:s["default"].createElement(u["default"],{onClick:function(){return d["default"].tracks.recordEvent("jetpack_wpa_aag_view_old_stats_click",{})},href:this.props.siteAdminUrl+"admin.php?page=stats"})}}),(0,p.translate)("{{button}}View More Stats on WordPress.com {{/button}}",{components:{button:s["default"].createElement(u["default"],{onClick:function(){return d["default"].tracks.recordEvent("jetpack_wpa_aag_stats_wpcom_click",{})},className:"is-primary",href:"https://wordpress.com/stats/insights/"+this.props.siteRawUrl})}}))))}});t["default"]=f,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(435),o=r(a),i=n(142),s=r(i),c=n(154),u=n(931),l=r(u),d=n(452),p=n(633),f=r(p),h=n(946),m=r(h),M=n(433),_=n(421),g=n(631),v=s["default"].createClass({displayName:"DashProtect",getContent:function(){if(this.props.isModuleActivated("protect")){var e=this.props.getProtectCount();return!1===e||"0"===e||"N/A"===e?s["default"].createElement(l["default"],{label:"Protect",module:"protect",status:"is-working",className:"jp-dash-item__recently-activated"},s["default"].createElement("div",{className:"jp-dash-item__recently-activated-lower"},s["default"].createElement(m["default"],null),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is actively blocking malicious login attempts. Data will display here soon!")))):s["default"].createElement(l["default"],{label:"Protect",module:"protect",status:"is-working"},s["default"].createElement("h2",{className:"jp-dash-item__count"},(0,d.numberFormat)(e)),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Total malicious attacks blocked on your site.")))}return s["default"].createElement(l["default"],{label:"Protect",module:"protect",className:"jp-dash-item__is-inactive"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,g.isDevMode)(this.props)?(0,d.translate)("Unavailable in Dev Mode"):(0,d.translate)("{{a}}Activate Protect{{/a}} to keep your site protected from malicious login attempts.",{components:{a:s["default"].createElement("a",{href:"javascript:void(0)",onClick:this.props.activateProtect})}})))},render:function(){var e=(0,o["default"])(this.props.moduleList);return(0,f["default"])(e,"protect")?s["default"].createElement("div",{className:"jp-dash-item__interior"},s["default"].createElement(m["default"],null),this.getContent()):null}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,M.isModuleActivated)(e,t)},getProtectCount:function(){return(0,_.getProtectCount)(e)},isFetchingModulesList:function(){return(0,M.isFetchingModulesList)(e)},moduleList:(0,M.getModules)(e)}},function(e){return{activateProtect:function(){return e((0,M.activateModule)("protect"))},fetchProtectCount:function(){return e((0,_.fetchProtectCount)())}}})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(739),s=r(i),c=n(154),u=n(932),l=r(u),d=n(452),p=n(829),f=r(p),h=n(633),m=r(h),M=n(824),_=r(M),g=n(935),v=r(g),b=n(938),y=n(631),A=n(433),T=n(942),L=r(T),E=n(348),w=o["default"].createClass({displayName:"DashItem",propTypes:{label:o["default"].PropTypes.string,status:o["default"].PropTypes.string,statusText:o["default"].PropTypes.string,disabled:o["default"].PropTypes.bool,module:o["default"].PropTypes.string,pro:o["default"].PropTypes.bool},getDefaultProps:function(){return{label:"",module:"",pro:!1}},render:function(){var e=void 0,t="",n=(0,s["default"])(this.props.className,"jp-dash-item",this.props.disabled?"jp-dash-item__disabled":"");return""!==this.props.module&&(e=(0,m["default"])(["protect","monitor","photon","vaultpress","scan","backups","akismet"],this.props.module)&&this.props.isDevMode?"":o["default"].createElement(b.ModuleToggle,{slug:this.props.module,activated:this.props.isModuleActivated(this.props.module),toggling:this.props.isTogglingModule(this.props.module),toggleModule:this.props.toggleModule,compact:!0}),"manage"===this.props.module&&("is-warning"===this.props.status&&(e=o["default"].createElement(l["default"],{showDismiss:!1,status:this.props.status,isCompact:!0},(0,d.translate)("Updates Needed"))),"is-working"===this.props.status&&(e=o["default"].createElement("span",{className:"jp-dash-item__active-label"},(0,d.translate)("Active"))))),this.props.pro&&!this.props.isDevMode&&(t=o["default"].createElement(f["default"],{compact:!0,href:"#professional"},(0,d.translate)("Pro")),e=o["default"].createElement(L["default"],{proFeature:this.props.module})),o["default"].createElement("div",{className:n},o["default"].createElement(v["default"],{label:this.props.label,cardBadge:t},this.props.userCanToggle?e:""),o["default"].createElement(_["default"],{className:"jp-dash-item__card",href:this.props.href},o["default"].createElement("div",{className:"jp-dash-item__content"},this.props.children)))}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,A.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,A.isActivatingModule)(e,t)||(0,A.isDeactivatingModule)(e,t)},getModule:function(t){return(0,A.getModule)(e,t)},isDevMode:(0,y.isDevMode)(e),userCanToggle:(0,E.userCanManageModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,A.deactivateModule)(t):(0,A.activateModule)(t))}}})(w),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(739),s=r(i),c=n(798),u=r(c),l=n(802),d=r(l);n(933),t["default"]=o["default"].createClass({displayName:"SimpleNotice",dismissTimeout:null,getDefaultProps:function(){return{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:u["default"]}},propTypes:{status:a.PropTypes.string,showDismiss:a.PropTypes.bool,isCompact:a.PropTypes.bool,duration:o["default"].PropTypes.number,text:a.PropTypes.oneOfType([a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.node]),a.PropTypes.arrayOf(a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.node]))]),icon:a.PropTypes.string,className:a.PropTypes.string},componentDidMount:function(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))},componentWillUnmount:function(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)},renderChildren:function(){var e=void 0;return"string"==typeof this.props.children?o["default"].createElement("span",{className:"dops-notice__text"},this.props.children):(this.props.text?(e=[this.props.children],e.unshift(o["default"].createElement("span",{key:"dops-notice_text",className:"dops-notice__text"},this.props.text))):e=o["default"].createElement("span",{key:"dops-notice_text",className:"dops-notice__text"},this.props.children),e)},getIcon:function(){var e=void 0;switch(this.props.status){case"is-info":e="info";break;case"is-success":e="checkmark";break;case"is-error":e="notice";break;case"is-warning":e="notice";break;default:e="info"}return e},render:function(){var e=void 0,t=(0,s["default"])("dops-notice",this.props.status);return this.props.isCompact&&(t=(0,s["default"])(t,"is-compact")),this.props.showDismiss&&(t=(0,s["default"])(t,"is-dismissable"),e=o["default"].createElement("span",{tabIndex:"0",className:"dops-notice__dismiss",onClick:this.props.onDismissClick},o["default"].createElement(d["default"],{icon:"cross",size:24}))),o["default"].createElement("div",{className:(0,s["default"])(this.props.className,t)},o["default"].createElement(d["default"],{className:"dops-notice__icon",icon:this.props.icon||this.getIcon(),size:24}),o["default"].createElement("div",{className:"dops-notice__content"},this.renderChildren()),e)}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(739),s=r(i),c=n(824),u=r(c);n(936),t["default"]=o["default"].createClass({displayName:"SectionHeader",propTypes:{label:o["default"].PropTypes.string,cardBadge:o["default"].PropTypes.oneOfType([o["default"].PropTypes.string,o["default"].PropTypes.element,o["default"].PropTypes.object])},getDefaultProps:function(){return{label:"",cardBadge:""}},render:function(){var e=(0,s["default"])(this.props.className,"dops-section-header"),t=""!==this.props.cardBadge?o["default"].createElement("span",{className:"dops-section-header__card-badge"},this.props.cardBadge):"";return o["default"].createElement(u["default"],{compact:!0,className:e},o["default"].createElement("div",{className:"dops-section-header__label"},this.props.label,t),o["default"].createElement("div",{className:"dops-section-header__actions"},this.props.children))}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleToggle=void 0;var a=n(142),o=r(a),i=n(939),s=r(i);t.ModuleToggle=o["default"].createClass({displayName:"ModuleToggle",propTypes:{toggleModule:o["default"].PropTypes.func,activated:o["default"].PropTypes.bool,disabled:o["default"].PropTypes.bool,className:o["default"].PropTypes.string,compact:o["default"].PropTypes.bool,id:o["default"].PropTypes.string},getDefaultProps:function(){return{activated:!1,disabled:!1}},toggleModule:function(){return this.props.toggleModule(this.props.slug,this.props.activated)},render:function(){return o["default"].createElement(s["default"],{checked:this.props.activated,toggling:this.props.toggling,className:this.props.className,disabled:this.props.disabled,id:this.props.id,compact:this.props.compact,onChange:this.toggleModule})}})},function(e,t,n){"use strict";var r=n(142),a=n(739),o=0;n(940),e.exports=r.createClass({displayName:"FormToggle",propTypes:{onChange:r.PropTypes.func,checked:r.PropTypes.bool,disabled:r.PropTypes.bool,className:r.PropTypes.string,compact:r.PropTypes.bool,id:r.PropTypes.string},getDefaultProps:function(){return{checked:!1,disabled:!1}},_onKeyDown:function(e){this.props.disabled||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown&&this.props.onKeyDown(e)},render:function(){var e=this.props.id||"toggle-"+o++,t=a({"form-toggle":!0,"is-toggling":this.props.toggling,"is-compact":this.props.compact});return r.createElement("span",null,r.createElement("input",{className:a(this.props.className,t),type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),r.createElement("label",{className:"form-toggle__label",htmlFor:e},r.createElement("span",{className:"form-toggle__switch",disabled:this.props.disabled,id:e,onClick:this.props.onChange,onKeyDown:this._onKeyDown,role:"checkbox","aria-checked":this.props.checked,tabIndex:this.props.disabled?-1:0}),this.props.children))}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(452),c=n(829),u=r(c),l=n(932),d=r(l),p=n(348),f=n(943),h=r(f),m=n(944),M=r(m),_=n(945),g=r(_),v=n(631),b=n(684),y=n(421),A=n(681),T=o["default"].createClass({displayName:"ProStatus",propTypes:{isCompact:o["default"].PropTypes.bool,proFeature:o["default"].PropTypes.string},getDefaultProps:function(){return{isCompact:!0,proFeature:""}},render:function(){var e=this,t=this.props.sitePlan(),n="scan"===this.props.proFeature||"backups"===this.props.proFeature||"vaultpress"===this.props.proFeature?"vaultpress/vaultpress.php":"akismet/akismet.php",r=function(n,r,a){var i=e.props.getVaultPressData();if(e.props.isDevMode)return(0,s.translate)("Unavailable in Dev Mode");if("N/A"!==i&&"scan"===n&&0!==e.props.getScanThreats())return o["default"].createElement(d["default"],{showDismiss:!1,status:"is-error",isCompact:!0},(0,s.translate)("Threats found!"));if("akismet"===n){var c=e.props.getAkismetData();if("invalid_key"===c)return o["default"].createElement(d["default"],{showDismiss:!1,status:"is-warning",isCompact:!0},(0,s.translate)("Invalid Key"))}if(t.product_slug){var l={};return l="jetpack_free"!==t.product_slug?{href:"https://wordpress.com/plugins/setup/"+e.props.siteRawUrl+"?only="+n,text:(0,s.translate)("Set up")}:{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,text:(0,s.translate)("Upgrade")},r&&a?o["default"].createElement("span",{className:"jp-dash-item__active-label"},(0,s.translate)("ACTIVE")):o["default"].createElement(u["default"],{compact:!0,primary:!0,href:l.href},l.text)}return r&&a?o["default"].createElement("span",{className:"jp-dash-item__active-label"},(0,s.translate)("ACTIVE")):""};return o["default"].createElement("div",null,o["default"].createElement(h["default"],null),o["default"].createElement(g["default"],null),o["default"].createElement(M["default"],null),r(this.props.proFeature,this.props.pluginActive(n),this.props.pluginInstalled(n)))}});t["default"]=(0,i.connect)(function(e){return{siteRawUrl:(0,p.getSiteRawUrl)(e),getScanThreats:function(){return(0,y.getVaultPressScanThreatCount)(e)},getVaultPressData:function(){return(0,y.getVaultPressData)(e)},getAkismetData:function(){return(0,y.getAkismetData)(e)},sitePlan:function(){return(0,A.getSitePlan)(e)},fetchingPluginsData:(0,b.isFetchingPluginsData)(e),pluginActive:function(t){return(0,b.isPluginActive)(e,t)},pluginInstalled:function(t){return(0,b.isPluginInstalled)(e,t)},isDevMode:(0,v.isDevMode)(e)}})(T),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.QuerySitePlugins=void 0;var a=n(142),o=r(a),i=n(154),s=n(684),c=t.QuerySitePlugins=o["default"].createClass({displayName:"QuerySitePlugins",componentWillMount:function(){this.props.isFetchingPluginsData||this.props.fetchPluginsData()},render:function(){return null}});t["default"]=(0,i.connect)(function(e){return{isFetchingPluginsData:(0,s.isFetchingPluginsData)(e)}},function(e){return{fetchPluginsData:function(){return e((0,s.fetchPluginsData)())}}})(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=n(433),v=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){!this.props.fetchingVaultPressData&&this.props.isModuleActivated("vaultpress")&&this.props.fetchVaultPressData()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchVaultPressData:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchVaultPressData:(0,_.fetchVaultPressData)(),fetchingVaultPressData:(0,_.isFetchingVaultPressData)(e),isModuleActivated:function(t){return(0,g.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchVaultPressData:_.fetchVaultPressData},e)})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){this.props.fetchingAkismetData||this.props.fetchAkismetData()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchAkismetData:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchAkismetData:(0,_.fetchAkismetData)(),fetchingAkismetData:(0,_.isFetchingAkismetData)(e)}},function(e){return(0,M.bindActionCreators)({fetchAkismetData:_.fetchAkismetData},e)})(g),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=n(433),v=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){!this.props.fetchingProtectData&&this.props.isModuleActivated("protect")&&this.props.fetchProtectCount()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchProtectCount:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchProtectCount:(0,_.fetchProtectCount)(),fetchingProtectData:(0,_.isFetchingProtectData)(e),isModuleActivated:function(t){return(0,g.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchProtectCount:_.fetchProtectCount},e)})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(435),o=r(a),i=n(142),s=r(i),c=n(154),u=n(931),l=r(u),d=n(452),p=n(633),f=r(p),h=n(948),m=r(h),M=n(433),_=n(421),g=n(631),v=s["default"].createClass({displayName:"DashMonitor",getContent:function(){var e=(0,d.translate)("Downtime Monitoring");if(this.props.isModuleActivated("monitor")){var t=this.props.getLastDownTime();return"N/A"===t?s["default"].createElement(l["default"],{label:e,module:"monitor",status:"is-working"},s["default"].createElement(m["default"],null),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Loading…"))):s["default"].createElement(l["default"],{label:e,module:"monitor",status:"is-working"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is monitoring your site. If we think your site is down you will receive an email.")))}return s["default"].createElement(l["default"],{label:e,module:"monitor",className:"jp-dash-item__is-inactive"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,g.isDevMode)(this.props)?(0,d.translate)("Unavailable in Dev Mode."):(0,d.translate)("{{a}}Activate Monitor{{/a}} to receive notifications if your site goes down.",{components:{a:s["default"].createElement("a",{href:"javascript:void(0)",onClick:this.props.activateMonitor})}})))},render:function(){var e=(0,o["default"])(this.props.moduleList);return(0,f["default"])(e,"monitor")?s["default"].createElement("div",null,s["default"].createElement(m["default"],null),this.getContent()):null}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,M.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,M.isFetchingModulesList)(e)},getLastDownTime:function(){return(0,_.getLastDownTime)(e)},moduleList:(0,M.getModules)(e)}},function(e){return{activateMonitor:function(){return e((0,M.activateModule)("monitor"))}}})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=n(433),v=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){!this.props.fetchingMonitorData&&this.props.isModuleActivated("monitor")&&this.props.fetchLastDownTime()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchLastDownTime:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchLastDownTime:(0,_.fetchLastDownTime)(),fetchingMonitorData:(0,_.isFetchingMonitorData)(e),isModuleActivated:function(t){return(0,g.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchLastDownTime:_.fetchLastDownTime},e)})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(931),c=r(s),u=n(452),l=n(944),d=r(l),p=n(433),f=n(681),h=n(684),m=n(421),M=n(631),_=o["default"].createClass({displayName:"DashScan",getContent:function(){var e=this,t=(0,u.translate)("Malware Scanning"),n=!1!==this.props.getSitePlan(),r=this.props.getVaultPressData(),a=this.props.isPluginInstalled("vaultpress/vaultpress.php")?"pro-inactive":"pro-uninstalled";if(this.props.isModuleActivated("vaultpress")){if("N/A"===r)return o["default"].createElement(c["default"],{label:t},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…")));var i=this.props.getScanThreats();if(0!==i)return o["default"].createElement(c["default"],{label:t,module:"scan",status:"is-error",statusText:(0,u.translate)("Threats found"),pro:!0},o["default"].createElement("h3",null,(0,u.translate)("Uh oh, %(number)s threat found.","Uh oh, %(number)s threats found.",{count:i,args:{number:(0,u.numberFormat)(i)}})),o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("{{a}}View details at VaultPress.com{{/a}}",{components:{a:o["default"].createElement("a",{href:"https://dashboard.vaultpress.com/"})}}),o["default"].createElement("br",null),(0,u.translate)("{{a}}Contact Support{{/a}}",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support"})}})));if("success"===r.code)return o["default"].createElement(c["default"],{label:t,module:"scan",status:"is-working",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("No threats found, you're good to go!")))}var s=function(){return n?(0,u.translate)("For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plugins/vaultpress",target:"_blank"})}}):(0,u.translate)("For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,target:"_blank"})}})};return o["default"].createElement(c["default"],{label:t,module:"scan",className:"jp-dash-item__is-inactive",status:n?a:"no-pro-uninstalled-or-inactive",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,M.isDevMode)(this.props)?(0,u.translate)("Unavailable in Dev Mode."):s()))},render:function(){return o["default"].createElement("div",null,o["default"].createElement(d["default"],null),this.getContent())}});t["default"]=(0,i.connect)(function(e){return{isModuleActivated:function(t){return(0,p.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,p.isFetchingModulesList)(e)},getVaultPressData:function(){return(0,m.getVaultPressData)(e)},getScanThreats:function(){return(0,m.getVaultPressScanThreatCount)(e)},getSitePlan:function(){return(0,f.getSitePlan)(e)},isPluginInstalled:function(t){return(0,h.isPluginInstalled)(e,t)}}},function(e){return{activateModule:function(t){return e((0,p.activateModule)(t))}}})(_),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(931),c=r(s),u=n(452),l=n(945),d=r(l),p=n(421),f=n(681),h=n(433),m=o["default"].createClass({displayName:"DashAkismet",activateManageAndRedirect:function(e){var t=this.props;e.preventDefault(),this.props.activateModule("manage").then(window.location="https://wordpress.com/plugins/akismet/"+t.siteRawUrl)["catch"](console.log("Error: unable to activate Manage"))},getContent:function(){var e=this.props.getAkismetData(),t=this.props.siteAdminUrl+"admin.php?page=akismet-key-config",n=(0,u.translate)("Spam Protection"),r=!1!==this.props.getSitePlan();return"N/A"===e?o["default"].createElement(c["default"],{label:n,module:"akismet",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…"))):"not_installed"===e?o["default"].createElement(c["default"],{label:n,module:"akismet",className:"jp-dash-item__is-inactive",status:r?"pro-uninstalled":"no-pro-uninstalled-or-inactive",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl,target:"_blank"})}}))):"not_active"===e?o["default"].createElement(c["default"],{label:n,module:"akismet",status:r?"pro-inactive":"no-pro-uninstalled-or-inactive",className:"jp-dash-item__is-inactive",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl,target:"_blank"})}}))):"invalid_key"===e?o["default"].createElement(c["default"],{label:n,module:"akismet",className:"jp-dash-item__is-inactive",status:"is-warning",statusText:(0,u.translate)("Invalid Key"),pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.",{components:{akismetSettings:o["default"].createElement("a",{href:t})}}))):o["default"].createElement(c["default"],{label:n,module:"akismet",status:"is-working",pro:!0},o["default"].createElement("h2",{className:"jp-dash-item__count"},(0,u.numberFormat)(e.all.spam)),o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Spam comments blocked.",{context:'Example: "412 Spam comments blocked"'})))},render:function(){return o["default"].createElement("div",{className:"jp-dash-item__interior"},o["default"].createElement(d["default"],null),this.getContent())}});t["default"]=(0,i.connect)(function(e){return{getAkismetData:function(){return(0,p.getAkismetData)(e)},isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},getSitePlan:function(){return(0,f.getSitePlan)(e)}}},function(e){return{activateModule:function(t){return e((0,h.activateModule)(t))}}})(m),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(931),c=r(s),u=n(452),l=n(944),d=r(l),p=n(433),f=n(681),h=n(684),m=n(421),M=n(631),_=o["default"].createClass({displayName:"DashBackups",getContent:function(){var e=this,t=(0,u.translate)("Backups"),n=!1!==this.props.getSitePlan(),r=this.props.isPluginInstalled("vaultpress/vaultpress.php")?"pro-inactive":"pro-uninstalled";if(this.props.isModuleActivated("vaultpress")){var a=this.props.getVaultPressData();if("N/A"===a)return o["default"].createElement(c["default"],{label:t},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…")));if("success"===a.code)return o["default"].createElement(c["default"],{label:t,module:"backups",status:"is-working",className:"jp-dash-item__is-active",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},a.message," ",(0,u.translate)("{{a}}View backup details{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://dashboard.vaultpress.com",target:"_blank"})}})))}var i=function(){return n?(0,u.translate)("To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plugins/vaultpress",
|
89 |
target:"_blank"})}}):(0,u.translate)("To automatically back up your entire site, please {{a}}upgrade!{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,target:"_blank"})}})};return o["default"].createElement(c["default"],{label:t,module:"backups",className:"jp-dash-item__is-inactive",status:n?r:"no-pro-uninstalled-or-inactive",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,M.isDevMode)(this.props)?(0,u.translate)("Unavailable in Dev Mode."):i()))},render:function(){return o["default"].createElement("div",{className:"jp-dash-item__interior"},o["default"].createElement(d["default"],null),this.getContent())}});t["default"]=(0,i.connect)(function(e){return{isModuleActivated:function(t){return(0,p.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,p.isFetchingModulesList)(e)},getVaultPressData:function(){return(0,m.getVaultPressData)(e)},getSitePlan:function(){return(0,f.getSitePlan)(e)},isPluginInstalled:function(t){return(0,h.isPluginInstalled)(e,t)}}},function(e){return{activateModule:function(t){return e((0,p.activateModule)(t))}}})(_),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(435),o=r(a),i=n(142),s=r(i),c=n(154),u=n(931),l=r(u),d=n(452),p=n(633),f=r(p),h=n(953),m=r(h),M=n(421),_=n(433),g=n(631),v=s["default"].createClass({displayName:"DashPluginUpdates",activateAndRedirect:function(e){var t=this.props;e.preventDefault(),this.props.activateManage().then(window.location="https://wordpress.com/plugins/"+t.siteRawUrl)["catch"](console.log("Error activating Manage"))},getContent:function(){var e=(0,d.translate)("Plugin Updates"),t=this.props.getPluginUpdates(),n=this.props.isModuleActivated("manage"),r=n?"https://wordpress.com/plugins/"+this.props.siteRawUrl:this.props.siteAdminUrl+"plugins.php";return"N/A"===t?s["default"].createElement(l["default"],{label:e,module:"manage",status:"is-working"},s["default"].createElement(m["default"],null),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Loading…"))):"updates-available"===t.code?s["default"].createElement(l["default"],{label:e,module:"manage",status:"is-warning"},s["default"].createElement("h2",{className:"jp-dash-item__count"},(0,d.translate)("%(number)s plugin","%(number)s plugins",{count:t.count,args:{number:t.count}})),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Needs updating. ","Need updating. ",{count:t.count,args:{number:t.count}}),(0,g.isDevMode)(this.props)?"":n?(0,d.translate)("{{a}}Turn on plugin auto updates{{/a}}",{components:{a:s["default"].createElement("a",{href:r})}}):(0,d.translate)("{{a}}Activate Manage and turn on auto updates{{/a}}",{components:{a:s["default"].createElement("a",{onClick:this.activateAndRedirect,href:"javascript:void(0)"})}}))):s["default"].createElement(l["default"],{label:e,module:"manage",status:n?"is-working":"is-inactive"},s["default"].createElement("p",{className:"jp-dash-item__description"},n?(0,d.translate)("All plugins are up-to-date. Awesome work!"):(0,d.translate)("{{a}}Activate Manage{{/a}} to turn on auto updates and manage your plugins from WordPress.com.",{components:{a:s["default"].createElement("a",{onClick:this.props.activateManage,href:"javascript:void(0)"})}})))},render:function(){var e=(0,o["default"])(this.props.moduleList);return(0,f["default"])(e,"manage")?s["default"].createElement("div",null,s["default"].createElement(m["default"],null),this.getContent()):null}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,_.isModuleActivated)(e,t)},getPluginUpdates:function(){return(0,M.getPluginUpdates)(e)},moduleList:(0,_.getModules)(e)}},function(e){return{activateManage:function(){return e((0,_.activateModule)("manage"))}}})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){this.props.fetchingPluginUpdates||this.props.fetchPluginUpdates()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchPluginUpdates:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchPluginUpdates:(0,_.fetchPluginUpdates)(),fetchingPluginUpdates:(0,_.isFetchingPluginUpdates)(e)}},function(e){return(0,M.bindActionCreators)({fetchPluginUpdates:_.fetchPluginUpdates},e)})(g),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(435),o=r(a),i=n(142),s=r(i),c=n(154),u=n(931),l=r(u),d=n(452),p=n(633),f=r(p),h=n(433),m=n(631),M=s["default"].createClass({displayName:"DashPhoton",getContent:function(){var e=(0,d.translate)("Image Performance %(photon)s",{args:{photon:"(Photon)"}});return this.props.isModuleActivated("photon")?s["default"].createElement(l["default"],{label:e,module:"photon",status:"is-working"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is improving and optimising your image speed."))):s["default"].createElement(l["default"],{label:e,module:"photon",className:"jp-dash-item__is-inactive"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,m.isDevMode)(this.props)?(0,d.translate)("Unavailable in Dev Mode"):(0,d.translate)("{{a}}Activate Photon{{/a}} to enhance the performance and speed of your images.",{components:{a:s["default"].createElement("a",{href:"javascript:void(0)",onClick:this.props.activatePhoton})}})))},render:function(){var e=(0,o["default"])(this.props.moduleList);return(0,f["default"])(e,"photon")?s["default"].createElement("div",{className:"jp-dash-item__interior"},this.getContent()):null}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},moduleList:(0,h.getModules)(e)}},function(e){return{activatePhoton:function(){return e((0,h.activateModule)("photon"))}}})(M),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(452),c=n(932),u=r(c),l=n(956),d=r(l),p=n(687),f=o["default"].createClass({displayName:"FeedbackDashRequest",renderContent:function(){if(!this.props.isDismissed("feedback_dash_request"))return o["default"].createElement("div",null,o["default"].createElement(u["default"],{className:"jp-dash-item__feedback-request",status:"is-basic",onDismissClick:this.props.dismissNotice,text:(0,s.translate)("What would you like to see on your Jetpack Dashboard?")},o["default"].createElement(d["default"],{href:"https://jetpack.com/contact"},(0,s.translate)("Let us know!"))))},render:function(){return o["default"].createElement("div",null,this.renderContent())}});t["default"]=(0,i.connect)(function(e){return{isDismissed:function(t){return(0,p.isNoticeDismissed)(e,t)}}},function(e){return{dismissNotice:function(){return e((0,p.dismissJetpackNotice)("feedback_dash_request"))}}})(f),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(802),s=r(i);n(933),t["default"]=o["default"].createClass({displayName:"NoticeAction",propTypes:{href:o["default"].PropTypes.string,onClick:o["default"].PropTypes.func,external:o["default"].PropTypes.bool,icon:o["default"].PropTypes.string},getDefaultProps:function(){return{external:!1}},render:function(){var e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),o["default"].createElement("a",e,o["default"].createElement("span",null,this.props.children),this.props.icon&&o["default"].createElement(s["default"],{icon:this.props.icon,size:24}),this.props.external&&o["default"].createElement(s["default"],{icon:"external",size:24}))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.QuerySite=void 0;var a=n(142),o=r(a),i=n(154),s=n(681),c=t.QuerySite=o["default"].createClass({displayName:"QuerySite",componentDidMount:function(){this.props.isFetchingSiteData||this.props.fetchSiteData()},render:function(){return null}});t["default"]=(0,i.connect)(function(e){return{isFetchingSiteData:(0,s.isFetchingSiteData)(e)}},function(e){return{fetchSiteData:function(){return e((0,s.fetchSiteData)())}}})(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Engagement=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(633),g=r(_),v=n(648),b=r(v),y=n(433),A=n(938),T=n(959),L=n(631),E=n(348),w=t.Engagement=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=o("sitemaps").description,l=(0,i["default"])(e.moduleList);e.isSitePublic()||(u=c["default"].createElement("span",null,u,c["default"].createElement("p",{className:"jp-form-setting-explanation"},(0,M.translate)("Your site must be accessible by search engines for this feature to work properly. You can change this in {{a}}Reading Settings{{/a}}.",{components:{a:c["default"].createElement("a",{href:e.getSiteAdminUrl()+"options-reading.php#blog_public",className:"jetpack-js-stop-propagation"})}}))));var p=[["stats",o("stats").name,o("stats").description,o("stats").learn_more_button],["sharedaddy",o("sharedaddy").name,o("sharedaddy").description,o("sharedaddy").learn_more_button],["publicize",o("publicize").name,o("publicize").description,o("publicize").learn_more_button],["related-posts",o("related-posts").name,o("related-posts").description,o("related-posts").learn_more_button],["comments",o("comments").name,o("comments").description,o("comments").learn_more_button],["likes",o("likes").name,o("likes").description,o("likes").learn_more_button],["subscriptions",o("subscriptions").name,o("subscriptions").description,o("subscriptions").learn_more_button],["gravatar-hovercards",o("gravatar-hovercards").name,o("gravatar-hovercards").description,o("gravatar-hovercards").learn_more_button],["sitemaps",o("sitemaps").name,u,o("sitemaps").learn_more_button],["enhanced-distribution",o("enhanced-distribution").name,o("enhanced-distribution").description,o("enhanced-distribution").learn_more_button],["verification-tools",o("verification-tools").name,o("verification-tools").description,o("verification-tools").learn_more_button]],h=["publicize"];if(!s){var _=p.slice();_.reverse().forEach(function(e){(0,g["default"])(h,e[0])&&p.unshift(e)}),p=p.filter(function(e,t){return p.indexOf(e)===t})}return p=p.map(function(i){if(!(0,g["default"])(l,i[0]))return null;var u=e.isUnavailableInDevMode(i[0]),p=u?"devmode-disabled":"",_="",v=s||(0,g["default"])(h,i[0]),y=n(i[0]);return u?_=(0,M.translate)("Unavailable in Dev Mode"):s&&(_=c["default"].createElement(A.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t})),!!v&&c["default"].createElement(d["default"],{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:_,expandedSummary:_,clickableHeaderText:!0,onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},y?c["default"].createElement(T.AllModuleSettings,{module:o(i[0]),adminUrl:e.getSiteAdminUrl()}):c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:i[3]},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More"))),"stats"===i[0]&&y?c["default"].createElement("span",null,c["default"].createElement("span",{className:"jp-module-settings__more-sep"}),c["default"].createElement("span",{className:"jp-module-settings__more-text"},(0,M.translate)("View {{a}}All Stats{{/a}}",{components:{a:c["default"].createElement("a",{href:e.getSiteAdminUrl()+"admin.php?page=stats"})}}))):"","subscriptions"===i[0]&&y?c["default"].createElement("span",null,c["default"].createElement("span",{className:"jp-module-settings__more-sep"}),c["default"].createElement("span",{className:"jp-module-settings__more-text"},(0,M.translate)("View your {{a}}Email Followers{{/a}}",{components:{a:c["default"].createElement("a",{href:"https://wordpress.com/people/email-followers/"+e.getSiteRawUrl()})}}))):""))}),c["default"].createElement("div",null,p)};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},getSiteRawUrl:function(){return(0,E.getSiteRawUrl)(e)},getSiteAdminUrl:function(){return(0,E.getSiteAdminUrl)(e)},isSitePublic:function(){return(0,E.isSitePublic)(e)},userCanManageModules:(0,E.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AllModuleSettings=void 0;var a=n(349),o=r(a),i=n(142),s=r(i),c=n(452),u=n(960),l=n(1013),d=r(l);t.AllModuleSettings=s["default"].createClass({displayName:"AllModuleSettings",render:function(){var e=this.props.module;switch(e.module){case"omnisearch":return s["default"].createElement("div",null,s["default"].createElement("span",{className:"jp-form-setting-explanation"},this.props.module.long_description),s["default"].createElement("br",null),s["default"].createElement(d["default"],{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:"/wp-admin/admin.php?page=omnisearch"},(0,c.translate)("Search your content.")));case"post-by-email":return s["default"].createElement(u.PostByEmailSettings,(0,o["default"])({module:e},this.props));case"custom-content-types":return s["default"].createElement(u.CustomContentTypesSettings,(0,o["default"])({module:e},this.props));case"after-the-deadline":return s["default"].createElement(u.AfterTheDeadlineSettings,(0,o["default"])({module:e},this.props));case"markdown":return s["default"].createElement(u.MarkdownSettings,(0,o["default"])({module:e},this.props));case"tiled-gallery":return s["default"].createElement(u.TiledGallerySettings,(0,o["default"])({module:e},this.props));case"minileven":return s["default"].createElement(u.MinilevenSettings,(0,o["default"])({module:e},this.props));case"carousel":return s["default"].createElement(u.CarouselSettings,(0,o["default"])({module:e},this.props));case"infinite-scroll":return s["default"].createElement(u.InfiniteScrollSettings,(0,o["default"])({module:e},this.props));case"protect":return s["default"].createElement(u.ProtectSettings,(0,o["default"])({module:e},this.props));case"monitor":return s["default"].createElement(u.MonitorSettings,(0,o["default"])({module:e},this.props));case"scan":return""===e.configure_url?s["default"].createElement("div",null,(0,c.translate)("Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.")):s["default"].createElement("div",null,s["default"].createElement("div",{className:"jp-form-setting-explanation"},(0,c.translate)('You can see the information about security scanning in the "At a Glance" section.')),s["default"].createElement("br",null),s["default"].createElement(d["default"],{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url},(0,c.translate)("Configure your Security Scans")));case"sso":return s["default"].createElement(u.SingleSignOnSettings,(0,o["default"])({module:e},this.props));case"stats":return s["default"].createElement(u.StatsSettings,(0,o["default"])({module:e},this.props));case"related-posts":return s["default"].createElement(u.RelatedPostsSettings,(0,o["default"])({module:e},this.props));case"comments":return s["default"].createElement(u.CommentsSettings,(0,o["default"])({module:e},this.props));case"subscriptions":return s["default"].createElement(u.SubscriptionsSettings,(0,o["default"])({module:e},this.props));case"gravatar-hovercards":return s["default"].createElement(u.GravatarHovercardsSettings,(0,o["default"])({module:e},this.props));case"likes":return s["default"].createElement(u.LikesSettings,(0,o["default"])({module:e},this.props));case"verification-tools":return s["default"].createElement(u.VerificationToolsSettings,(0,o["default"])({module:e},this.props));case"sitemaps":return s["default"].createElement(u.SitemapsSettings,(0,o["default"])({module:e},this.props));case"contact-form":case"latex":case"shortlinks":case"shortcodes":case"photon":case"widget-visibility":case"notifications":case"enhanced-distribution":return s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("This module has no configuration options")," ");case"akismet":case"backups":return""===e.configure_url?s["default"].createElement("div",null,"akismet"===e.module?(0,c.translate)("Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch."):(0,c.translate)("Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.")):s["default"].createElement("div",null,(0,c.translate)("{{link}}Configure your %(module_slug)s Settings {{/link}}",{components:{link:s["default"].createElement(d["default"],{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url})},args:{module_slug:"akismet"===e.module?"Akismet":"Backups"}}));case"custom-css":case"widgets":case"publicize":case"sharedaddy":default:return"publicize"===e.module&&(e.configure_url=this.props.adminUrl+"options-general.php?page=sharing"),s["default"].createElement("div",null,(0,c.translate)("{{link}}Configure your %(module_slug)s Settings {{/link}}",{components:{link:s["default"].createElement(d["default"],{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url})},args:{module_slug:e.name}}))}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SitemapsSettings=t.MarkdownSettings=t.AfterTheDeadlineSettings=t.CustomContentTypesSettings=t.PostByEmailSettings=t.TiledGallerySettings=t.VerificationToolsSettings=t.GravatarHovercardsSettings=t.MinilevenSettings=t.InfiniteScrollSettings=t.CarouselSettings=t.SingleSignOnSettings=t.MonitorSettings=t.ProtectSettings=t.StatsSettings=t.SubscriptionsSettings=t.CommentsSettings=t.LikesSettings=t.RelatedPostsSettings=t.SharedaddySettings=void 0;var a=n(349),o=r(a),i=n(142),s=r(i),c=n(452),u=n(824),l=r(u),d=n(961),p=r(d),f=n(964),h=r(f),m=n(967),M=r(m),_=n(969),g=r(_),v=n(828),b=r(v),y=n(377),A=r(y),T=n(829),L=r(T),E=n(982),w=n(1004),z=n(1011),S=t.SharedaddySettings=s["default"].createClass({displayName:"SharedaddySettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"option_name"},this.props,{label:(0,c.translate)("Subscriber")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SharedaddySettings=S=(0,z.ModuleSettingsForm)(S);var k=t.RelatedPostsSettings=s["default"].createClass({displayName:"RelatedPostsSettings",renderPreviews:function(){var e=this.props.getOptionValue("show_headline"),t=this.props.getOptionValue("show_thumbnails"),n=[{url:"https://jetpackme.files.wordpress.com/2014/08/1-wpios-ipad-3-1-viewsite.png?w=350&h=200&crop=1",text:(0,c.translate)("Big iPhone/iPad Update Now Available")},{url:"https://jetpackme.files.wordpress.com/2014/08/wordpress-com-news-wordpress-for-android-ui-update2.jpg?w=350&h=200&crop=1",text:(0,c.translate)("The WordPress for Android App Gets a Big Facelift")},{url:"https://jetpackme.files.wordpress.com/2014/08/videopresswedding.jpg?w=350&h=200&crop=1",text:(0,c.translate)("Upgrade Focus: VideoPress For Weddings")}];return s["default"].createElement("div",{className:"jp-related-posts-preview"},e?s["default"].createElement("div",{className:"jp-related-posts-preview__title"},(0,c.translate)("Related")):"",n.map(function(e,n){return s["default"].createElement("span",{key:"preview_"+n,className:"jp-related-posts-preview__item"},t?s["default"].createElement("img",{src:e.url}):"",s["default"].createElement("span",null,s["default"].createElement("a",{href:"#/engagement"}," ",e.text," ")))}))},render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"show_headline",label:(0,c.translate)('Show a "Related" header to more clearly separate the related section from posts')},this.props)),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"show_thumbnails",label:(0,c.translate)("Use a large and visually striking layout")},this.props)),s["default"].createElement("div",{className:"jp-related-posts-settings__preview-label"},(0,c.translate)("Preview")),s["default"].createElement(l["default"],null,this.renderPreviews()),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.RelatedPostsSettings=k=(0,z.ModuleSettingsForm)(k);var O=t.LikesSettings=s["default"].createClass({displayName:"LikesSettings",render:function(){var e=this.props.module.configure_url;return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("WordPress.com Likes are:")),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"wpl_default"},this.props,{validValues:this.props.validValues("wpl_default")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})),s["default"].createElement("p",null,(0,c.translate)("{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}",{components:{a:s["default"].createElement("a",{href:e})}})))}});t.LikesSettings=O=(0,z.ModuleSettingsForm)(O);var N=t.CommentsSettings=s["default"].createClass({displayName:"CommentsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Comments headline")),s["default"].createElement(E.FormLabel,null,s["default"].createElement(p["default"],{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:this.props.isUpdating("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("A few catchy words to motivate your readers to comment."))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Color Scheme")),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"jetpack_comment_form_color_scheme"},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CommentsSettings=N=(0,z.ModuleSettingsForm)(N);var C=t.SubscriptionsSettings=s["default"].createClass({displayName:"SubscriptionsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormLegend,null,(0,c.translate)("Can readers subscribe to your posts, comments or both?")),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"stb_enabled"},this.props,{label:(0,c.translate)('Show a "follow blog" options in the comment form')})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"stc_enabled"},this.props,{label:(0,c.translate)('Show a "follow comments" option in the comment form.')+" (Currently does not work)"})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SubscriptionsSettings=C=(0,z.ModuleSettingsForm)(C);var D=t.StatsSettings=s["default"].createClass({displayName:"StatsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Admin Bar")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"admin_bar"},this.props,{label:(0,c.translate)("Put a chart showing 48 hours of views in the admin bar")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Smiley")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"hide_smile"},this.props,{label:(0,c.translate)("Hide the stats smiley face image. The image helps collect stats but should still work when hidden.")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Registered Users: Count the page views of registered users who are logged in")),s["default"].createElement(w.ModuleSettingMultipleSelectCheckboxes,(0,o["default"])({name:"count_roles"},this.props,{validValues:this.props.getSiteRoles()}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Report Visibility: Select the roles that will be able to view stats reports")),s["default"].createElement(w.ModuleSettingMultipleSelectCheckboxes,(0,o["default"])({always_checked:["administrator"],name:"roles"},this.props,{validValues:this.props.getSiteRoles()})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.StatsSettings=D=(0,z.ModuleSettingsForm)(D);var x=t.ProtectSettings=s["default"].createClass({displayName:"ProtectSettings",render:function(){var e=this.props.currentIp?s["default"].createElement("p",null,(0,c.translate)("Your Current IP: %(ip)s",{args:{ip:this.props.currentIp}})):"";return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Whitelist Management")),s["default"].createElement("p",null,(0,c.translate)("Whitelisting an IP address prevents it from ever being blocked by Jetpack.")),s["default"].createElement("small",null,(0,c.translate)("Make sure to add your most frequently used IP addresses as they can change between your home, office or other locations. Removing an IP address from the list below will remove it from your whitelist.")),e,s["default"].createElement(E.FormLabel,null,s["default"].createElement(h["default"],{name:"jetpack_protect_global_whitelist",placeholder:"Example: 12.12.12.1-12.12.12.100",onChange:this.props.onOptionChange,value:this.props.getOptionValue("jetpack_protect_global_whitelist").local})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("IPv4 and IPv6 are acceptable. {{br/}} To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100",{components:{br:s["default"].createElement("br",null)}})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.ProtectSettings=x=(0,z.ModuleSettingsForm)(x);var P=t.MonitorSettings=s["default"].createClass({displayName:"MonitorSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"monitor_receive_notifications"},this.props,{label:(0,c.translate)("Receive Monitor Email Notifications")})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Emails will be sent to ")+this.props.adminEmailAddress,". ",s["default"].createElement("span",null," ",(0,c.translate)("{{a}}Edit{{/a}}",{components:{a:s["default"].createElement("a",{href:"https://wordpress.com/settings/account/"})}}))),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MonitorSettings=P=(0,z.ModuleSettingsForm)(P);var j=t.SingleSignOnSettings=s["default"].createClass({displayName:"SingleSignOnSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"jetpack_sso_match_by_email"},this.props,{label:(0,c.translate)("Match By Email")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"jetpack_sso_require_two_step"},this.props,{label:(0,c.translate)("Require Two-Step Authentication")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SingleSignOnSettings=j=(0,z.ModuleSettingsForm)(j);var W=t.CarouselSettings=s["default"].createClass({displayName:"CarouselSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Mobile Promos")," "),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"carousel_display_exif"},this.props,{label:(0,c.translate)("Show photo metadata (Exif) in carousel, when available")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Background Color")),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"carousel_background_color"},this.props,{validValues:this.props.validValues("carousel_background_color")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CarouselSettings=W=(0,z.ModuleSettingsForm)(W);var q=t.InfiniteScrollSettings=s["default"].createClass({
|
90 |
-
displayName:"InfiniteScrollSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"infinite_scroll"},this.props,{label:(0,c.translate)("Scroll infinitely (Shows 7 posts on each load)")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"infinite_scroll_google_analytics"},this.props,{label:(0,c.translate)("Track each infinite Scroll post load as a page view in Google Analytics")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.InfiniteScrollSettings=q=(0,z.ModuleSettingsForm)(q);var Y=t.MinilevenSettings=s["default"].createClass({displayName:"MinilevenSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Excerpts")," "),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"wp_mobile_excerpt"},this.props,{validValues:this.props.validValues("wp_mobile_excerpt")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Featured Images")," "),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"wp_mobile_featured_images"},this.props,{validValues:this.props.validValues("wp_mobile_featured_images")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Mobile Promos")," "),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"wp_mobile_app_promos"},this.props,{label:(0,c.translate)("Show a promo for the WordPress mobile apps in the footer of the mobile theme")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MinilevenSettings=Y=(0,z.ModuleSettingsForm)(Y);var R=t.GravatarHovercardsSettings=s["default"].createClass({displayName:"GravatarHovercardsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("View people's profiles when you mouse over their Gravatars")),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"gravatar_disable_hovercards"},this.props,{validValues:this.props.validValues("gravatar_disable_hovercards")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.GravatarHovercardsSettings=R=(0,z.ModuleSettingsForm)(R);var B=t.VerificationToolsSettings=s["default"].createClass({displayName:"VerificationToolsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement("p",{className:"jp-form-setting-explanation"},(0,c.translate)('Enter your meta key "content" value to verify your blog with {{a}}Google Search Console{{/a}}, {{a}}Bing Webmaster Center{{/a}} and {{a}}Pinterest Site Verification{{/a}}.',{components:{a:s["default"].createElement("a",{href:"https://www.google.com/webmasters/tools/",target:"_blank"}),a1:s["default"].createElement("a",{href:"http://www.bing.com/webmaster/",target:"_blank"}),a2:s["default"].createElement("a",{href:"https://pinterest.com/website/verify/",target:"_blank"})}})),s["default"].createElement("div",{className:"dops-card"},s["default"].createElement(E.FormLabel,null,s["default"].createElement(E.FormLegend,null,"Google"),s["default"].createElement(p["default"],{name:"google",value:this.props.getOptionValue("google"),placeholder:"Example: dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8",className:"widefat code",disabled:this.props.isUpdating("google"),onChange:this.props.onOptionChange})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example: "),"<meta name='google-site-verification' content='",s["default"].createElement("strong",{className:"code"},"dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8"),"'>")),s["default"].createElement("div",{className:"dops-card"},s["default"].createElement(E.FormLabel,null,s["default"].createElement(E.FormLegend,null,"Bing"),s["default"].createElement(p["default"],{name:"bing",value:this.props.getOptionValue("bing"),placeholder:"Example: 12C1203B5086AECE94EB3A3D9830B2E",className:"widefat code",disabled:this.props.isUpdating("bing"),onChange:this.props.onOptionChange})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example: "),"<meta name='msvalidate.01' content='",s["default"].createElement("strong",null,"12C1203B5086AECE94EB3A3D9830B2E"),"'>")),s["default"].createElement("div",{className:"dops-card"},s["default"].createElement(E.FormLabel,null,s["default"].createElement(E.FormLegend,null,"Pinterest"),s["default"].createElement(p["default"],{name:"pinterest",value:this.props.getOptionValue("pinterest"),placeholder:"Example: f100679e6048d45e4a0b0b92dce1efce",className:"widefat code",disabled:this.props.isUpdating("pinterest"),onChange:this.props.onOptionChange})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example: "),"<meta name='p:domain_verify' content='",s["default"].createElement("strong",null,"f100679e6048d45e4a0b0b92dce1efce"),"'>")),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.VerificationToolsSettings=B=(0,z.ModuleSettingsForm)(B);var H=t.TiledGallerySettings=s["default"].createClass({displayName:"TiledGallerySettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Excerpts")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"tiled_galleries"},this.props,{label:(0,c.translate)("Display all your gallery pictures in a cool mosaic")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.TiledGallerySettings=H=(0,z.ModuleSettingsForm)(H);var I=t.PostByEmailSettings=s["default"].createClass({displayName:"PostByEmailSettings",regeneratePostByEmailAddress:function(e){e.preventDefault(),this.props.regeneratePostByEmailAddress()},address:function(){var e=this.props.getOptionValue("post_by_email_address");return e===!1?"":e},render:function(){return this.props.isCurrentUserLinked?s["default"].createElement("form",null,s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLabel,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Email Address")),s["default"].createElement(g["default"],{value:this.address(),copy:(0,c.translate)("Copy",{context:"verb"}),copied:(0,c.translate)("Copied!"),prompt:(0,c.translate)("Highlight and copy the following text to your clipboard:")}),s["default"].createElement(E.FormButton,{onClick:this.regeneratePostByEmailAddress},(0,c.translate)("Regenerate address"))))):s["default"].createElement("div",null,s["default"].createElement("div",{className:"jp-connection-settings"},s["default"].createElement("div",{className:"jp-connection-settings__headline"},(0,c.translate)("Link your account to WordPress.com to start using this feature.")),s["default"].createElement("div",{className:"jp-connection-settings__actions"},s["default"].createElement(b["default"],{connectUser:!0}))))}});t.PostByEmailSettings=I=(0,z.ModuleSettingsForm)(I);var X=t.CustomContentTypesSettings=s["default"].createClass({displayName:"CustomContentTypesSettings",render:function(){var e=this,t=function(){return e.props.getOptionCurrentValue(e.props.module.module,"jetpack_portfolio")?s["default"].createElement(L["default"],{disabled:!e.props.shouldSaveButtonBeDisabled(),href:e.props.siteAdminUrl+"/wp-admin/edit.php?post_type=jetpack-portfolio",compact:!0},(0,c.translate)("Configure Portfolios")):""},n=function(){return e.props.getOptionCurrentValue(e.props.module.module,"jetpack_testimonial")?s["default"].createElement(L["default"],{disabled:!e.props.shouldSaveButtonBeDisabled(),href:e.props.siteAdminUrl+"/wp-admin/edit.php?post_type=jetpack-testimonial",compact:!0},(0,c.translate)("Configure Testimonials")):""};return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"jetpack_portfolio"},this.props,{label:(0,c.translate)("Enable Portfolio Projects for this site.")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"jetpack_testimonial"},this.props,{label:(0,c.translate)("Enable Testimonials for this site.")})),s["default"].createElement("br",null),t(),n(),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CustomContentTypesSettings=X=(0,z.ModuleSettingsForm)(X);var U=t.AfterTheDeadlineSettings=s["default"].createClass({displayName:"AfterTheDeadlineSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Proofreading")," "),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Automatically proofread content when: ")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"onpublish"},this.props,{label:(0,c.translate)("A post or page is first published")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"onupdate"},this.props,{label:(0,c.translate)("A post or page is updated")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Automatic Language Detection")),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("The proofreader supports English, French, German, Portuguese and Spanish.")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"guess_lang"},this.props,{label:(0,c.translate)("Use automatically detected language to proofread posts and pages")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("English Options")," "),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Enable proofreading for the following grammar and style rules: ")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Bias Language"},this.props,{label:(0,c.translate)("Bias Language")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Cliches"},this.props,{label:(0,c.translate)("Clichés")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Complex Expression"},this.props,{label:(0,c.translate)("Complex Phrases")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Diacritical Marks"},this.props,{label:(0,c.translate)("Diacritical Marks")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Double Negative"},this.props,{label:(0,c.translate)("Double Negatives")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Hidden Verbs"},this.props,{label:(0,c.translate)("Hidden Verbs")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Jargon Language"},this.props,{label:(0,c.translate)("Jargon")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Passive voice"},this.props,{label:(0,c.translate)("Passive Voice")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Phrases to Avoid"},this.props,{label:(0,c.translate)("Phrases to Avoid")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Redundant Expression"},this.props,{label:(0,c.translate)("Redundant Phrases")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Ignored Phrases")),s["default"].createElement(M["default"],{name:"ignored_phrases",placeholder:(0,c.translate)("Add a phrase"),value:""!==this.props.getOptionValue("ignored_phrases")?this.props.getOptionValue("ignored_phrases").split(","):[],onChange:this.props.onOptionChange})),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.AfterTheDeadlineSettings=U=(0,z.ModuleSettingsForm)(U);var F=t.MarkdownSettings=s["default"].createClass({displayName:"MarkdownSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"wpcom_publish_comments_with_markdown"},this.props,{label:(0,c.translate)("Use Markdown for comments")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MarkdownSettings=F=(0,z.ModuleSettingsForm)(F);var V=t.SitemapsSettings=s["default"].createClass({displayName:"SitemapsSettings",render:function(){var e=(0,A["default"])(this.props,["module","extra","sitemap_url"],""),t=(0,A["default"])(this.props,["module","extra","news_sitemap_url"],"");return s["default"].createElement("div",null,s["default"].createElement("p",null,(0,c.translate)("Search engines will find the sitemaps at these locations:")),s["default"].createElement("p",null,(0,c.translate)("Sitemap: {{a}}%(url)s{{/a}}",{components:{a:s["default"].createElement("a",{href:e,target:"_blank"})},args:{url:e}})),s["default"].createElement("p",null,(0,c.translate)("News Sitemap: {{a}}%(url)s{{/a}}",{components:{a:s["default"].createElement("a",{href:t,target:"_blank"})},args:{url:t}})))}});t.SitemapsSettings=V=(0,z.ModuleSettingsForm)(V)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(739),c=r(s);n(962),t["default"]=i["default"].createClass({displayName:"TextInput",getDefaultProps:function(){return{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"}},focus:function(){this.refs.textField.focus()},render:function(){var e=this.props,t=e.className,n=e.selectOnFocus,r=(0,c["default"])(t,{"dops-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid});return i["default"].createElement("input",a({},this.props,{ref:"textField",className:r,onClick:n?this.selectOnFocus:null}))},selectOnFocus:function(e){e.target.select()}})},787,,function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(142),o=n(739),i=n(868);n(965),e.exports=a.createClass({displayName:"Textarea",render:function(){return a.createElement("textarea",r({},i(this.props,"className"),{className:o(this.props.className,"dops-textarea")}),this.props.children)}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(968),s=r(i),c=o["default"].createClass({displayName:"JetpackTagsInput",getInitialState:function(){return{tags:this.props.value||[]}},handleChange:function(e){this.setState({tags:e}),this.props.onChange&&this.props.onChange({target:{name:this.props.name,value:e.join(",")}})},render:function(){var e=this.props;return o["default"].createElement(s["default"],{inputProps:{placeholder:e.placeholder},onChange:this.handleChange,value:this.state.tags})}});t["default"]=c,e.exports=t["default"]},function(e,t,n){var r,a,o;!function(i,s){a=[e,t,n(142)],r=s,o="function"==typeof r?r.apply(t,a):r,!(void 0!==o&&(e.exports=o))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}function l(e){return window.clipboardData?window.clipboardData.getData("Text"):e.clipboardData?e.clipboardData.getData("text/plain"):""}function d(e){var t=e.tag,n=e.key,r=e.disabled,a=e.onRemove,o=e.classNameRemove,i=e.getTagDisplayValue,s=c(e,["tag","key","disabled","onRemove","classNameRemove","getTagDisplayValue"]);return m["default"].createElement("span",_({key:n},s),i(t),!r&&m["default"].createElement("a",{className:o,onClick:function(e){return a(n)}}))}function p(e){var t=e.onChange,n=e.value,r=(e.addTag,c(e,["onChange","value","addTag"]));return m["default"].createElement("input",_({type:"text",onChange:t,value:n},r))}function f(e,t){return m["default"].createElement("span",null,e,t)}function h(e){return e.split(" ").map(function(e){return e.trim()})}Object.defineProperty(t,"__esModule",{value:!0});var m=r(n),M=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};d.propTypes={key:m["default"].PropTypes.number,tag:m["default"].PropTypes.string,onRemove:m["default"].PropTypes.func,classNameRemove:m["default"].PropTypes.string,getTagDisplayValue:m["default"].PropTypes.func},p.propTypes={value:m["default"].PropTypes.string,onChange:m["default"].PropTypes.func,addTag:m["default"].PropTypes.func};var g={className:"react-tagsinput-input",placeholder:"Add a tag"},v=function(e){function t(){o(this,t);var e=i(this,Object.getPrototypeOf(t).call(this));return e.state={tag:"",isFocused:!1},e.focus=e.focus.bind(e),e.blur=e.blur.bind(e),e}return s(t,e),M(t,[{key:"_getTagDisplayValue",value:function(e){var t=this.props.tagDisplayProp;return t?e[t]:e}},{key:"_makeTag",value:function(e){var t=this.props.tagDisplayProp;return t?a({},t,e):e}},{key:"_removeTag",value:function(e){var t=this.props.value.concat([]);if(e>-1&&e<t.length){var n=t.splice(e,1);this.props.onChange(t,n,[e])}}},{key:"_clearInput",value:function(){this.setState({tag:""})}},{key:"_addTags",value:function(e){var t=this,n=this.props,r=n.validationRegex,a=n.onChange,o=n.onlyUnique,i=n.maxTags,s=n.value;if(o&&(e=u(e),e=e.filter(function(e){return s.every(function(n){return t._getTagDisplayValue(n)!==t._getTagDisplayValue(e)})})),e=e.filter(function(e){return r.test(t._getTagDisplayValue(e))}),e=e.filter(function(e){var n=t._getTagDisplayValue(e);return"function"==typeof n.trim?n.trim().length>0:n}),i>=0){var c=Math.max(i-s.length,0);e=e.slice(0,c)}if(e.length>0){for(var l=s.concat(e),d=[],p=0;p<e.length;p++)d.push(s.length+p);return a(l,e,d),this._clearInput(),!0}return!1}},{key:"focus",value:function(){"function"==typeof this.refs.input.focus&&this.refs.input.focus(),this.handleOnFocus()}},{key:"blur",value:function(){"function"==typeof this.refs.input.blur&&this.refs.input.blur(),this.handleOnBlur()}},{key:"accept",value:function(){var e=this.state.tag;return""!==e&&(e=this._makeTag(e),this._addTags([e]))}},{key:"addTag",value:function(e){return this._addTags([e])}},{key:"clearInput",value:function(){this._clearInput()}},{key:"handlePaste",value:function(e){var t=this,n=this.props,r=n.addOnPaste,a=n.pasteSplit;if(r){e.preventDefault();var o=l(e),i=a(o).map(function(e){return t._makeTag(e)});this._addTags(i)}}},{key:"handleKeyDown",value:function(e){if(!e.defaultPrevented){var t=this.props,n=t.value,r=t.removeKeys,a=t.addKeys,o=this.state.tag,i=""===o,s=e.keyCode,c=a.indexOf(s)!==-1,u=r.indexOf(s)!==-1;if(c){var l=this.accept();(l||13===s)&&e.preventDefault()}u&&n.length>0&&i&&(e.preventDefault(),this._removeTag(n.length-1))}}},{key:"handleClick",value:function(e){e.target===this.refs.div&&this.focus()}},{key:"handleChange",value:function(e){var t=this.props.inputProps.onChange,n=e.target.value;t&&t(e),this.setState({tag:n})}},{key:"handleOnFocus",value:function(e){var t=this.props.inputProps.onFocus;t&&t(e),this.setState({isFocused:!0})}},{key:"handleOnBlur",value:function(e){var t=this.props.inputProps.onBlur;if(this.setState({isFocused:!1}),null!=e&&(t&&t(e),this.props.addOnBlur)){var n=this._makeTag(e.target.value);this._addTags([n])}}},{key:"handleRemove",value:function(e){this._removeTag(e)}},{key:"inputProps",value:function(){var e=this.props.inputProps,t=(e.onChange,e.onFocus,e.onBlur,c(e,["onChange","onFocus","onBlur"])),n=_({},g,t);return this.props.disabled&&(n.disabled=!0),n}},{key:"componentDidMount",value:function(){this.setState({tag:this.props.currentValue})}},{key:"componentWillReceiveProps",value:function(e){e.currentValue&&this.setState({tag:e.currentValue})}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=(t.onChange,t.tagProps),a=t.renderLayout,o=t.renderTag,i=t.renderInput,s=(t.addKeys,t.removeKeys,t.className),u=t.focusedClassName,l=(t.addOnBlur,t.addOnPaste,t.inputProps,t.pasteSplit,t.onlyUnique,t.maxTags,t.validationRegex,t.disabled),d=(t.tagDisplayProp,c(t,["value","onChange","tagProps","renderLayout","renderTag","renderInput","addKeys","removeKeys","className","focusedClassName","addOnBlur","addOnPaste","inputProps","pasteSplit","onlyUnique","maxTags","validationRegex","disabled","tagDisplayProp"]),this.state),p=d.tag,f=d.isFocused;f&&(s+=" "+u);var h=n.map(function(t,n){return o(_({key:n,tag:t,onRemove:e.handleRemove.bind(e),disabled:l,getTagDisplayValue:e._getTagDisplayValue.bind(e)},r))}),M=i(_({ref:"input",value:p,onPaste:this.handlePaste.bind(this),onKeyDown:this.handleKeyDown.bind(this),onChange:this.handleChange.bind(this),onFocus:this.handleOnFocus.bind(this),onBlur:this.handleOnBlur.bind(this),addTag:this.addTag.bind(this)},this.inputProps()));return m["default"].createElement("div",{ref:"div",onClick:this.handleClick.bind(this),className:s},a(h,M))}}]),t}(m["default"].Component);v.propTypes={focusedClassName:m["default"].PropTypes.string,addKeys:m["default"].PropTypes.array,addOnBlur:m["default"].PropTypes.bool,addOnPaste:m["default"].PropTypes.bool,currentValue:m["default"].PropTypes.string,inputProps:m["default"].PropTypes.object,onChange:m["default"].PropTypes.func.isRequired,removeKeys:m["default"].PropTypes.array,renderInput:m["default"].PropTypes.func,renderTag:m["default"].PropTypes.func,renderLayout:m["default"].PropTypes.func,pasteSplit:m["default"].PropTypes.func,tagProps:m["default"].PropTypes.object,onlyUnique:m["default"].PropTypes.bool,value:m["default"].PropTypes.array.isRequired,maxTags:m["default"].PropTypes.number,validationRegex:m["default"].PropTypes.instanceOf(RegExp),disabled:m["default"].PropTypes.bool,tagDisplayProp:m["default"].PropTypes.string},v.defaultProps={className:"react-tagsinput",focusedClassName:"react-tagsinput--focused",currentValue:"",addKeys:[9,13],addOnBlur:!1,addOnPaste:!1,inputProps:{},removeKeys:[8],renderInput:p,renderTag:d,renderLayout:f,pasteSplit:h,tagProps:{className:"react-tagsinput-tag",classNameRemove:"react-tagsinput-remove"},onlyUnique:!1,maxTags:-1,validationRegex:/.*/,disabled:!1,tagDisplayProp:null},t["default"]=v,e.exports=t["default"]})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(739),c=r(s),u=n(868),l=r(u),d=n(970),p=r(d),f=n(961),h=r(f);n(980),t["default"]=i["default"].createClass({displayName:"ClipboardButtonInput",propTypes:{value:o.PropTypes.string,disabled:o.PropTypes.bool,className:o.PropTypes.string,copied:o.PropTypes.string,copy:o.PropTypes.string,prompt:o.PropTypes.string},getInitialState:function(){return{isCopied:!1,disabled:!1}},getDefaultProps:function(){return{value:""}},componentWillUnmount:function(){clearTimeout(this.confirmationTimeout),delete this.confirmationTimeout},showConfirmation:function(){var e=this;this.setState({isCopied:!0}),this.confirmationTimeout=setTimeout(function(){e.setState({isCopied:!1})},4e3)},render:function(){return i["default"].createElement("span",{className:(0,c["default"])("dops-clipboard-button-input",this.props.className)},i["default"].createElement(h["default"],a({},(0,l["default"])(this.props,"className"),{type:"text",selectOnFocus:!0,readOnly:!0})),i["default"].createElement(p["default"],{text:this.props.value,onCopy:this.showConfirmation,disabled:this.props.disabled,prompt:this.props.prompt,compact:!0},this.state.isCopied?this.props.copied:this.props.copy))}})},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),o=n(142),i=n(971),s=n(868),c=n(798),u=n(739),l=n(829);e.exports=o.createClass({displayName:"ClipboardButton",propTypes:{className:o.PropTypes.string,text:o.PropTypes.string,prompt:o.PropTypes.string,onCopy:o.PropTypes.func},getDefaultProps:function(){return{onCopy:c}},componentDidMount:function(){var e=this,t=a.findDOMNode(this.refs.button);this.clipboard=new i(t,{text:function(){return e.props.text}}),this.clipboard.on("success",this.props.onCopy),this.clipboard.on("error",this.displayPrompt)},componentWillUnmount:function(){this.clipboard.destroy(),delete this.clipboard},displayPrompt:function(){window.prompt(this.props.prompt,this.props.text)},render:function(){var e=u("dops-clipboard-button",this.props.className);return o.createElement(l,r({ref:"button"},s(this.props,Object.keys(this.constructor.propTypes)),{className:e}))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}t.__esModule=!0;var s=n(972),c=r(s),u=n(974),l=r(u),d=n(975),p=r(d),f=function(e){function t(n,r){a(this,t),e.call(this),this.resolveOptions(r),this.listenClick(n)}return o(t,e),t.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText},t.prototype.listenClick=function(e){var t=this;this.listener=p["default"](e,"click",function(e){return t.onClick(e)})},t.prototype.onClick=function(e){this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c["default"]({action:this.action(e.target),target:this.target(e.target),text:this.text(e.target),trigger:e.target,emitter:this})},t.prototype.defaultAction=function(e){return i("action",e)},t.prototype.defaultTarget=function(e){var t=i("target",e);if(t)return document.querySelector(t)},t.prototype.defaultText=function(e){return i("text",e)},t.prototype.destroy=function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)},t}(l["default"]);t["default"]=f,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(973),s=r(i),c=function(){function e(t){a(this,e),this.resolveOptions(t),this.initSelection()}return e.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""},e.prototype.initSelection=function(){if(this.text&&this.target)throw new Error('Multiple attributes declared, use either "target" or "text"');if(this.text)this.selectFake();else{if(!this.target)throw new Error('Missing required attributes, use either "target" or "text"');this.selectTarget()}},e.prototype.selectFake=function(){var e=this;this.removeFake(),this.fakeHandler=document.body.addEventListener("click",function(){return e.removeFake()}),this.fakeElem=document.createElement("textarea"),this.fakeElem.style.position="absolute",this.fakeElem.style.left="-9999px",this.fakeElem.style.top=(window.pageYOffset||document.documentElement.scrollTop)+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=s["default"](this.fakeElem),this.copyText()},e.prototype.removeFake=function(){this.fakeHandler&&(document.body.removeEventListener("click"),this.fakeHandler=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)},e.prototype.selectTarget=function(){this.selectedText=s["default"](this.target),this.copyText()},e.prototype.copyText=function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)},e.prototype.handleResult=function(e){e?this.emitter.emit("success",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)}):this.emitter.emit("error",{action:this.action,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})},e.prototype.clearSelection=function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()},e.prototype.destroy=function(){this.removeFake()},o(e,[{key:"action",set:function(){var e=arguments.length<=0||void 0===arguments[0]?"copy":arguments[0];if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action;
|
91 |
-
}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!=typeof e||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');this._target=e}},get:function(){return this._target}}]),e}();t["default"]=c,e.exports=t["default"]},function(e,t){function n(e){var t;if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}e.exports=n},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){a.off(e,r),t.apply(n,arguments)}var a=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,a=n.length;for(r;r<a;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],a=[];if(r&&t)for(var o=0,i=r.length;o<i;o++)r[o].fn!==t&&r[o].fn._!==t&&a.push(r[o]);return a.length?n[e]=a:delete n[e],this}},e.exports=n},function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return a(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return i(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function i(e,t,n){return c(document.body,e,t,n)}var s=n(976),c=n(977);e.exports=r},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},function(e,t,n){function r(e,t,n,r,o){var i=a.apply(this,arguments);return e.addEventListener(n,i,o),{destroy:function(){e.removeEventListener(n,i,o)}}}function a(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t,!0),n.delegateTarget&&r.call(e,n)}}var o=n(978);e.exports=r},function(e,t,n){var r=n(979);e.exports=function(e,t,n){for(var a=n?e:e.parentNode;a&&a!==document;){if(r(a,t))return a;a=a.parentNode}}},function(e,t){function n(e,t){if(a)return a.call(e,t);for(var n=e.parentNode.querySelectorAll(t),r=0;r<n.length;++r)if(n[r]==e)return!0;return!1}var r=Element.prototype,a=r.matchesSelector||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector;e.exports=n},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FormButton=t.FormRadio=t.FormTextarea=t.FormTextInput=t.FormCheckbox=t.FormLegend=t.FormLabel=t.FormFieldset=void 0;var a=n(349),o=r(a),i=n(739),s=r(i),c=n(983),u=r(c),l=n(1001),d=r(l),p=n(452),f=n(829),h=r(f),m=n(142),M=n(739);t.FormFieldset=m.createClass({displayName:"FormFieldset",render:function(){return m.createElement("fieldset",(0,o["default"])({},(0,u["default"])(this.props,"className"),{className:M(this.props.className,"jp-form-fieldset")}),this.props.children)}}),t.FormLabel=m.createClass({displayName:"FormLabel",render:function(){return m.createElement("label",(0,o["default"])({},(0,u["default"])(this.props,"className"),{className:M(this.props.className,"jp-form-label")}),this.props.children)}}),t.FormLegend=m.createClass({displayName:"FormLegend",render:function(){return m.createElement("legend",(0,o["default"])({},(0,u["default"])(this.props,"className"),{className:M(this.props.className,"jp-form-legend")}),this.props.children)}}),t.FormCheckbox=m.createClass({displayName:"FormInputCheckbox",render:function(){var e=(0,u["default"])(this.props,["className","type"]);return m.createElement("input",(0,o["default"])({},e,{type:"checkbox",className:M(this.props.className,"jp-form-checkbox")}))}}),t.FormTextInput=m.createClass({displayName:"FormTextInput",getDefaultProps:function(){return{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"}},focus:function(){this.refs.textField.focus()},render:function(){var e=this.props,t=e.className,n=e.selectOnFocus,r=(0,s["default"])(t,{"jp-form-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid});return m.createElement("input",(0,o["default"])({},this.props,{ref:"textField",className:r,onClick:n?this.selectOnFocus:null}))},selectOnFocus:function(e){e.target.select()}}),t.FormTextarea=m.createClass({displayName:"FormTextarea",render:function(){return m.createElement("textarea",(0,o["default"])({},(0,u["default"])(this.props,"className"),{className:M(this.props.className,"jp-form-textarea")}),this.props.children)}}),t.FormRadio=m.createClass({displayName:"FormRadio",render:function(){var e=(0,u["default"])(this.props,["className","type"]);return m.createElement("input",(0,o["default"])({},e,{type:"radio",className:M(this.props.className,"jp-form-radio")}))}}),t.FormButton=m.createClass({displayName:"FormsButton",getDefaultProps:function(){return{isSubmitting:!1,isPrimary:!0,type:"submit"}},getDefaultButtonAction:function(){return this.props.isSubmitting?(0,p.translate)("Saving…"):(0,p.translate)("Save Settings")},render:function(){var e=(0,s["default"])({"jp-form-button":!0});return m.createElement(h["default"],(0,o["default"])({},(0,u["default"])(this.props,"className"),{primary:this.props.isPrimary,className:M(this.props.className,e)}),(0,d["default"])(this.props.children)?this.getDefaultButtonAction():this.props.children)}})},function(e,t,n){var r=n(643),a=n(984),o=n(988),i=n(991),s=n(360),c=n(993),u=n(418),l=s(function(e,t){return null==e?{}:(t=r(o(t,1),u),i(e,a(c(e),t)))});e.exports=l},function(e,t,n){function r(e,t,n,r){var d=-1,p=o,f=!0,h=e.length,m=[],M=t.length;if(!h)return m;n&&(t=s(t,c(n))),r?(p=i,f=!1):t.length>=l&&(p=u,f=!1,t=new a(t));e:for(;++d<h;){var _=e[d],g=n?n(_):_;if(_=r||0!==_?_:0,f&&g===g){for(var v=M;v--;)if(t[v]===g)continue e;m.push(_)}else p(t,g,r)||m.push(_)}return m}var a=n(601),o=n(985),i=n(986),s=n(643),c=n(618),u=n(987),l=200;e.exports=r},function(e,t,n){function r(e,t){var n=e?e.length:0;return!!n&&a(e,t,0)>-1}var a=n(634);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,a=e?e.length:0;++r<a;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function r(e,t,n,i,s){var c=-1,u=e.length;for(n||(n=o),s||(s=[]);++c<u;){var l=e[c];t>0&&n(l)?t>1?r(l,t-1,n,i,s):a(s,l):i||(s[s.length]=l)}return s}var a=n(989),o=n(990);e.exports=r},879,function(e,t,n){function r(e){return i(e)||o(e)||!!(s&&e&&e[s])}var a=n(415),o=n(372),i=n(374),s=a?a.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t){return e=Object(e),a(e,t,function(t,n){return n in e})}var a=n(992);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,a=t.length,o={};++r<a;){var i=t[r],s=e[i];n(s,i)&&(o[i]=s)}return o}e.exports=n},function(e,t,n){function r(e){return a(e,i,o)}var a=n(994),o=n(995),i=n(998);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return o(e)?r:a(r,n(e))}var a=n(989),o=n(374);e.exports=r},function(e,t,n){var r=n(989),a=n(164),o=n(996),i=n(997),s=Object.getOwnPropertySymbols,c=s?function(e){for(var t=[];e;)r(t,o(e)),e=a(e);return t}:i;e.exports=c},function(e,t,n){var r=n(165),a=n(997),o=Object.getOwnPropertySymbols,i=o?r(o,Object):a;e.exports=i},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e){return i(e)?a(e,!0):o(e)}var a=n(370),o=n(999),i=n(363);e.exports=r},function(e,t,n){function r(e){if(!a(e))return i(e);var t=o(e),n=[];for(var r in e)("constructor"!=r||!t&&c.call(e,r))&&n.push(r);return n}var a=n(365),o=n(368),i=n(1e3),s=Object.prototype,c=s.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){function r(e){if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||o(e)))return!e.length;var t=a(e);if(t==d||t==p)return!e.size;if(M||u(e))return!l(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}var a=n(610),o=n(372),i=n(374),s=n(363),c=n(1002),u=n(368),l=n(376),d="[object Map]",p="[object Set]",f=Object.prototype,h=f.hasOwnProperty,m=f.propertyIsEnumerable,M=!m.call({valueOf:1},"valueOf");e.exports=r},function(e,t,n){(function(e){var r=n(391),a=n(1003),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===o,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,l=u||a;e.exports=l}).call(t,n(430)(e))},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleSettingMultipleSelectCheckboxes=t.ModuleSettingRadios=t.ModuleSettingCheckbox=void 0;var a=n(435),o=r(a),i=n(142),s=r(i),c=n(1005),u=r(c),l=n(1007),d=r(l),p=n(982),f=n(1008),h=r(f);t.ModuleSettingCheckbox=s["default"].createClass({displayName:"ModuleSettingCheckbox",render:function(){var e=this.props;return s["default"].createElement(p.FormLabel,null,s["default"].createElement(h["default"],{name:e.name,checked:!!e.getOptionValue(e.name),value:!!e.getOptionValue(e.name),disabled:e.isUpdating(e.name),onChange:e.onOptionChange}),s["default"].createElement("span",null,e.label))}}),t.ModuleSettingRadios=s["default"].createClass({displayName:"ModuleSettingRadios",render:function(){var e=this.props,t=this.props.validValues;return s["default"].createElement("div",null,(0,o["default"])(t).map(function(n){return s["default"].createElement(p.FormLabel,{key:"option-"+e.option_name+"-"+n},s["default"].createElement(p.FormRadio,{name:e.name,checked:n===e.getOptionValue(e.name),value:n,disabled:e.isUpdating(e.name),onChange:e.onOptionChange}),s["default"].createElement("span",null,t[n]))}))}}),t.ModuleSettingMultipleSelectCheckboxes=s["default"].createClass({displayName:"ModuleSettingMultipleSelectCheckboxes",getDefaultProps:function(){return{always_checked:[]}},onOptionChange:function(e){var t=e.target.value,n=this.props.getOptionValue(this.props.name),r=n.indexOf(t)===-1?(0,u["default"])(n,t):(0,d["default"])(n,t);this.props.updateFormStateOptionValue(this.props.name,r)},isAlwaysChecked:function(e){return this.props.always_checked.indexOf(e)!==-1},shouldBeChecked:function(e){return this.isAlwaysChecked(e)||this.props.getOptionValue(this.props.name).indexOf(e)!==-1},shouldBeDisabled:function(e){return this.isAlwaysChecked(e)||this.props.isUpdating(this.props.name)},render:function(){var e=this,t=this.props,n=this.props.validValues;return s["default"].createElement("div",null,(0,o["default"])(n).map(function(r){return s["default"].createElement(p.FormLabel,{key:"option-"+t.option_name+"-"+r},s["default"].createElement(h["default"],{name:t.name,checked:e.shouldBeChecked(r),value:r,disabled:e.shouldBeDisabled(r),onChange:e.onOptionChange}),s["default"].createElement("span",null,n[r].name))}))}})},function(e,t,n){function r(){for(var e=arguments.length,t=Array(e?e-1:0),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return e?a(s(n)?i(n):[n],o(t,1)):[]}var a=n(989),o=n(988),i=n(1006),s=n(374);e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){var r=n(984),a=n(360),o=n(373),i=a(function(e,t){return o(e)?r(e,t):[]});e.exports=i},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(142),o=n(739),i=n(868);n(1009),e.exports=a.createClass({displayName:"Checkbox",propTypes:{disabled:a.PropTypes.bool,checked:a.PropTypes.bool},getDefaultProps:function(){return{disabled:!1}},render:function(){var e=i(this.props,["className","type"]);return a.createElement("input",r({},e,{type:"checkbox",className:o(this.props.className,"dops-checkbox")}))}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){var t=p["default"].createClass({displayName:"SettingsForm",getInitialState:function(){return{options:{}}},onOptionChange:function(e){var t=e.target.name,n=void 0;n="checkbox"===e.target.type&&"undefined"!=typeof e.target.checked?e.target.checked:e.target.value,this.updateFormStateOptionValue(t,n)},updateFormStateOptionValue:function(e,t){var n=(0,l["default"])({},this.state.options,(0,c["default"])({},e,t));return this.setState({options:n}),this.props.setUnsavedOptionFlag(),!0},onSubmit:function(e){var t=this;e.preventDefault(),this.props.updateOptions(this.state.options).then(function(){t.setState({options:{}})}),this.props.clearUnsavedOptionFlag()},getOptionValue:function(e){var t=this.props.getOptionCurrentValue(this.props.module.module,e);return"undefined"!=typeof this.state.options[e]?this.state.options[e]:t},shouldSaveButtonBeDisabled:function(){var e=!1;return e=!this.isSavingAnyOption()&&this.isDirty(),!e},isDirty:function(){return!!(0,i["default"])(this.state.options).length},isSavingAnyOption:function(){var e=this;return(0,i["default"])(this.state.options).some(function(t){return e.props.isUpdating(t)})},render:function(){return p["default"].createElement(e,(0,l["default"])({getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption},this.props))}});return(0,f.connectModuleOptions)(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(435),i=r(o),s=n(439),c=r(s),u=n(349),l=r(u);t.ModuleSettingsForm=a;var d=n(142),p=r(d),f=n(1012)},function(e,t,n){"use strict";function r(e){return(0,a.connect)(function(e,t){return{validValues:function(n){return(0,o.getModuleOptionValidValues)(e,t.module.module,n)},getOptionCurrentValue:function(t,n){return(0,o.getModuleOption)(e,t,n)},getSiteRoles:function(){return(0,i.getSiteRoles)(e)},isUpdating:function(n){return(0,o.isUpdatingModuleOption)(e,t.module.module,n)},adminEmailAddress:(0,i.getAdminEmailAddress)(e),isCurrentUserLinked:(0,s.isCurrentUserLinked)(e)}},function(e,t){return{updateOptions:function(n){return e((0,o.updateModuleOptions)(t.module.module,n))},regeneratePostByEmailAddress:function(){return e((0,o.regeneratePostByEmailAddress)())},setUnsavedOptionFlag:function(){return e((0,o.setUnsavedOptionFlag)())},clearUnsavedOptionFlag:function(){return e((0,o.clearUnsavedOptionFlag)())}}})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connectModuleOptions=r;var a=n(154),o=n(433),i=n(348),s=n(631)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(784),s=r(i),c=n(739),u=r(c),l=n(649),d=r(l),p=n(868),f=r(p),h=n(802),m=r(h);n(1014),t["default"]=o["default"].createClass({displayName:"ExternalLink",mixins:[s["default"]],propTypes:{className:o["default"].PropTypes.string,href:o["default"].PropTypes.string,onClick:o["default"].PropTypes.func,icon:o["default"].PropTypes.bool,iconSize:o["default"].PropTypes.number},getDefaultProps:function(){return{iconSize:18}},render:function(){var e=(0,u["default"])("dops-external-link",this.props.className,{"has-icon":!!this.props.icon}),t=(0,d["default"])({},(0,f["default"])(this.props,"icon","iconSize"),{className:e,rel:"external"});return o["default"].createElement("a",t,this.props.children,this.props.icon?o["default"].createElement(m["default"],{icon:"external",size:this.props.iconSize}):null)}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(932),g=(r(_),n(633)),v=r(g),b=n(648),y=r(b),A=n(957),T=r(A),L=n(942),E=r(L),w=n(433),z=n(938),S=n(959),k=n(631),O=n(684),N=n(348),C=t.Page=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.currentIp,u=(0,i["default"])(e.moduleList),l=[["scan",(0,M.translate)("Security Scanning"),(0,M.translate)("Automated, comprehensive protection from threats and attacks."),"https://vaultpress.com/jetpack/"],["protect",o("protect").name,o("protect").description,o("protect").learn_more_button],["monitor",o("monitor").name,o("monitor").description,o("monitor").learn_more_button],["akismet","Akismet",(0,M.translate)("State-of-the-art spam defense."),"https://akismet.com/jetpack/"],["backups",(0,M.translate)("Site Backups"),(0,M.translate)("Automatically backup your entire site."),"https://vaultpress.com/jetpack/"],["sso",o("sso").name,o("sso").description,o("sso").learn_more_button]].map(function(i){if(!(0,v["default"])(u,i[0]))return null;var l=e.isUnavailableInDevMode(i[0]),p=l?(0,M.translate)("Unavailable in Dev Mode"):c["default"].createElement(z.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t}),h=l?"devmode-disabled":"",_="scan"===i[0]||"akismet"===i[0]||"backups"===i[0],g={};return _&&(g={module:i[0],configure_url:""},p=c["default"].createElement(E["default"],{proFeature:i[0]}),i[1]=c["default"].createElement("span",null,i[1],c["default"].createElement(f["default"],{compact:!0,href:"#professional"},(0,M.translate)("Pro"))),e.isFetchingPluginsData||("akismet"===i[0]&&e.isPluginActive("akismet/akismet.php")?g.configure_url=e.siteAdminUrl+"admin.php?page=akismet-key-config":"scan"!==i[0]&&"backups"!==i[0]||!e.isPluginActive("vaultpress/vaultpress.php")||(g.configure_url="https://dashboard.vaultpress.com/"))),c["default"].createElement(d["default"],{className:h,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:p,expandedSummary:p,clickableHeaderText:!0,onOpen:function(){return y["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])||_?c["default"].createElement(S.AllModuleSettings,{module:_?g:o(i[0]),currentIp:s}):c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:i[3]},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))});return c["default"].createElement("div",null,c["default"].createElement(T["default"],null),l)};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,w.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,w.isActivatingModule)(e,t)||(0,w.isDeactivatingModule)(e,t)},getModule:function(t){return(0,w.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,k.isUnavailableInDevMode)(e,t)},isFetchingPluginsData:(0,O.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,O.isPluginActive)(e,t)},currentIp:(0,N.getCurrentIp)(e),moduleList:(0,w.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,w.deactivateModule)(t):(0,w.activateModule)(t))}}})(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(633),g=r(_),v=n(648),b=r(v),y=n(433),A=n(938),T=n(959),L=n(631),E=n(348),w=n(1018),z=r(w),S=t.Page=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=(0,i["default"])(e.moduleList),l=[["tiled-gallery",o("tiled-gallery").name,o("tiled-gallery").description,o("tiled-gallery").learn_more_button],["photon",o("photon").name,o("photon").description,o("photon").learn_more_button],["carousel",o("carousel").name,o("carousel").description,o("carousel").learn_more_button],["widgets",o("widgets").name,o("widgets").description,o("widgets").learn_more_button],["widget-visibility",o("widget-visibility").name,o("widget-visibility").description,o("widget-visibility").learn_more_button],["custom-css",o("custom-css").name,o("custom-css").description,o("custom-css").learn_more_button],["infinite-scroll",o("infinite-scroll").name,o("infinite-scroll").description,o("infinite-scroll").learn_more_button],["minileven",o("minileven").name,o("minileven").description,o("minileven").learn_more_button]].map(function(i){if(!(0,g["default"])(u,i[0]))return null;var s=e.isUnavailableInDevMode(i[0]),l=s?(0,M.translate)("Unavailable in Dev Mode"):c["default"].createElement(A.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t}),p=s?"devmode-disabled":"";return c["default"].createElement(d["default"],{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:l,expandedSummary:l,clickableHeaderText:!0,onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])?c["default"].createElement(T.AllModuleSettings,{module:o(i[0])}):c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:i[3]},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))});return c["default"].createElement("div",null,l,c["default"].createElement(d["default"],{header:(0,M.translate)("Holiday Snow"),subheader:(0,M.translate)("Show falling snow in the holiday period."),clickableHeaderText:!0,disabled:!s,summary:s?c["default"].createElement(z["default"],{slug:"snow"}):"",expandedSummary:s?c["default"].createElement(z["default"],{slug:"snow"}):"",onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:"holiday_snow",path:e.route.path})}},c["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,M.translate)("Show falling snow on my blog from Dec 1st until Jan 4th."))))};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,E.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(S)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=void 0;var a=n(439),o=r(a),i=n(142),s=r(i),c=n(154),u=(n(452),n(678)),l=n(1019),d=t.Settings=s["default"].createClass({displayName:"Settings",propTypes:{slug:s["default"].PropTypes.string,activated:s["default"].PropTypes.bool,toggleSetting:s["default"].PropTypes.func,disabled:s["default"].PropTypes.bool},componentDidMount:function(){this.props.isFetchingSettingsList||this.props.fetchSettings()},render:function(){var e="snow"===this.props.slug?this.props.snowSlug:this.props.slug;return s["default"].createElement("div",null,s["default"].createElement(l.SettingToggle,{slug:e,activated:this.props.isSettingActivated(e),toggleSetting:this.props.toggleSetting,disabled:this.props.isFetchingSettingsList}))}});t["default"]=(0,c.connect)(function(e){return{snowSlug:(0,u.getSettingName)(e,"jetpack_holiday_snow_enabled"),isSettingActivated:function(t){return(0,u.isSettingActivated)(e,t)},isFetchingSettingsList:(0,u.isFetchingSettingsList)(e),settings:(0,u.fetchSettings)(e)}},function(e){return{fetchSettings:function(){return e((0,u.fetchSettings)())},toggleSetting:function(t,n){e((0,u.updateSetting)((0,o["default"])({},t,!n)))}}})(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SettingToggle=void 0;var a=n(142),o=r(a),i=n(939),s=r(i);t.SettingToggle=o["default"].createClass({displayName:"SettingToggle",propTypes:{toggleSetting:o["default"].PropTypes.func,activated:o["default"].PropTypes.bool,disabled:o["default"].PropTypes.bool,className:o["default"].PropTypes.string,id:o["default"].PropTypes.string},getDefaultProps:function(){return{activated:!1}},toggleSetting:function(){return this.props.toggleSetting(this.props.slug,this.props.activated)},render:function(){return o["default"].createElement(s["default"],{checked:this.props.activated,className:this.props.className,onChange:this.toggleSetting,disabled:this.props.disabled,id:this.props.id}," ",this.props.children)}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralSettings=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(633),g=r(_),v=n(648),b=r(v),y=n(1021),A=r(y),T=n(631),L=n(433),E=n(938),w=n(348),z=t.GeneralSettings=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=(0,i["default"])(e.moduleList),l=function(i){var l=e.isUnavailableInDevMode(i),p=l?"devmode-disabled":"",h="";return l?h=function(){return(0,M.translate)("Unavailable in Dev Mode")}:s&&(h=function(e){return c["default"].createElement(E.ModuleToggle,{slug:e,activated:n(e),toggling:r(e),toggleModule:t})}),s&&(0,g["default"])(u,i)?c["default"].createElement(d["default"],{className:p,header:o(i).name,subheader:o(i).description,clickableHeaderText:!0,disabled:!s,summary:s?h(i):"",expandedSummary:s?h(i):"",onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i,path:e.route.path})}},c["default"].createElement("div",{className:"jp-form-setting-explanation"},c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i))})),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:o(i).learn_more_button},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More"))))):null};return c["default"].createElement("div",null,c["default"].createElement(d["default"],{header:(0,M.translate)("Connection Settings"),subheader:(0,M.translate)("Manage your Jetpack connection."),clickableHeaderText:!0,onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:"connection_settings",path:e.route.path})}},c["default"].createElement(A["default"],e)),n("manage")?"":l("manage"),l("notes"),l("json-api"))};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,L.isModuleActivated)(e,t)},getModule:function(t){return(0,L.getModule)(e,t)},isTogglingModule:function(t){return(0,L.isActivatingModule)(e,t)||(0,L.isDeactivatingModule)(e,t)},isUnavailableInDevMode:function(t){return(0,T.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,w.userCanManageModules)(e),moduleList:(0,L.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,L.deactivateModule)(t):(0,L.activateModule)(t))},disconnectSite:function(){return e(T.disconnectSite)}}})(z)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(452),c=n(631),u=n(348),l=n(1022),d=r(l),p=n(828),f=r(p),h=o["default"].createClass({displayName:"ConnectionSettings",renderContent:function(){var e=this.props.userCanDisconnectSite?o["default"].createElement(f["default"],null):null,t=this.props.userIsMaster?null:o["default"].createElement(f["default"],{connectUser:!0});return(0,c.isDevMode)(this.props)?o["default"].createElement("div",null,(0,s.translate)("The site is in Development Mode, so you can not connect to WordPress.com.")):o["default"].createElement("div",null,this.props.isLinked?o["default"].createElement("div",{className:"jp-connection-settings"},o["default"].createElement("img",{alt:"gravatar",width:"75",height:"75",className:"jp-connection-settings__gravatar",src:this.props.userWpComAvatar}),o["default"].createElement("div",{className:"jp-connection-settings__headline"},(0,s.translate)("You are connected as "),o["default"].createElement("span",{className:"jp-connection-settings__username"},this.props.userWpComLogin)),o["default"].createElement("div",{className:"jp-connection-settings__email"},this.props.userWpComEmail),o["default"].createElement("div",{className:"jp-connection-settings__actions"},e,t)):o["default"].createElement("div",{className:"jp-connection-settings"},o["default"].createElement("div",{className:"jp-connection-settings__headline"},(0,s.translate)("Link your account to WordPress.com to get the most out of Jetpack.")),o["default"].createElement("div",{className:"jp-connection-settings__actions"},e,t)))},render:function(){return o["default"].createElement("div",null,this.renderContent(),o["default"].createElement(d["default"],null))}});t["default"]=(0,i.connect)(function(e){return{userCanDisconnectSite:(0,u.userCanDisconnectSite)(e),userIsMaster:(0,u.userIsMaster)(e),userWpComLogin:(0,u.getUserWpComLogin)(e),userWpComEmail:(0,u.getUserWpComEmail)(e),userWpComAvatar:(0,u.getUserWpComAvatar)(e),username:(0,u.getUsername)(e),isLinked:(0,c.isCurrentUserLinked)(e)}})(h),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(631),g=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){this.props.fetchUserConnectionData()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchSiteConnectionStatus:function(){}},t["default"]=(0,m.connect)(function(){return{fetchUserConnectionData:(0,_.fetchUserConnectionData)()}},function(e){return(0,M.bindActionCreators)({fetchUserConnectionData:_.fetchUserConnectionData},e)})(g),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Writing=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(633),g=r(_),v=n(648),b=r(v),y=n(433),A=n(938),T=n(959),L=n(631),E=n(348),w=t.Writing=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=s,l=(0,i["default"])(e.moduleList),p=[["shortlinks",o("shortlinks").name,o("shortlinks").description,o("shortlinks").learn_more_button],["shortcodes",o("shortcodes").name,o("shortcodes").description,o("shortcodes").learn_more_button],["videopress",o("videopress").name,o("videopress").description,o("videopress").learn_more_button],["contact-form",o("contact-form").name,o("contact-form").description,o("contact-form").learn_more_button],["after-the-deadline",o("after-the-deadline").name,o("after-the-deadline").description,o("after-the-deadline").learn_more_button],["markdown",o("markdown").name,o("markdown").description,o("markdown").learn_more_button],["post-by-email",o("post-by-email").name,o("post-by-email").description,o("post-by-email").learn_more_button],["latex",o("latex").name,o("latex").description,o("latex").learn_more_button],["custom-content-types",o("custom-content-types").name,o("custom-content-types").description,o("custom-content-types").learn_more_button]],h=["after-the-deadline","post-by-email"];
|
92 |
if(!u){var _=p.slice();_.reverse().forEach(function(e){(0,g["default"])(h,e[0])&&p.unshift(e)}),p=p.filter(function(e,t){return p.indexOf(e)===t})}return p=p.map(function(i,s){if(!(0,g["default"])(l,i[0]))return null;var p=e.isUnavailableInDevMode(i[0]),_=p?"devmode-disabled":"",v="",y=u||(0,g["default"])(h,i[0]);return p?v=(0,M.translate)("Unavailable in Dev Mode"):u&&(v=c["default"].createElement(A.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t})),1===i.length?c["default"].createElement("h1",{key:"section-header-"+s},i[0]):!!y&&c["default"].createElement(d["default"],{className:_,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:v,expandedSummary:v,clickableHeaderText:!0,onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])||"scan"===i[0]?c["default"].createElement(T.AllModuleSettings,{module:o(i[0]),siteAdminUrl:e.siteAdminUrl}):c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:i[3]},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))}),c["default"].createElement("div",null,p)};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,E.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(829),c=r(s),u=n(452),l=n(847),d=n(348),p=function(e){var t=e.userCanViewStats;return o["default"].createElement("div",{className:"jp-landing__apps dops-card"},o["default"].createElement("div",{className:"jp-landing-apps__header"},o["default"].createElement("h2",{className:"jp-landing-apps__title"},(0,u.translate)("Powerful WordPress.com features on every device.")),o["default"].createElement("p",{className:"jp-landing-apps__description"},(0,u.translate)("Manage all your sites from a single dashboard.")),o["default"].createElement("div",{className:"jp-landing-apps__header-img-container"},o["default"].createElement("div",{className:"jp-landing-apps__header-col-left"},o["default"].createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("Feel the performance")),o["default"].createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around."))),o["default"].createElement("div",{className:"jp-landing-apps__header-col-right"},o["default"].createElement("img",{src:l.imagePath+"/apps/laptop-90deg-themes2x.jpg",className:"jp-landing-apps__header-img"}))),o["default"].createElement("div",{className:"jp-landing-apps__clouds jp-clouds-top"},o["default"].createElement("img",{src:l.imagePath+"/white-clouds.svg"}))),o["default"].createElement("div",{className:"jp-landing-apps__feature-container"},e.userCanManagePlugins?o["default"].createElement("div",{className:"jp-landing-apps__feature"},o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/manage2x.jpg"})),o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o["default"].createElement("h3",{className:"jp-landing__apps-feature-title"},(0,u.translate)("Bulk and automatic updates")),o["default"].createElement("p",{className:"jp-landing__apps-feature-text"},(0,u.translate)("Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.")),o["default"].createElement(c["default"],{href:"https://wordpress.com/plugins/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("Manage Plugins")))):null,e.userCanEditPosts?o["default"].createElement("div",{className:"jp-landing-apps__feature"},o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o["default"].createElement("h3",{className:"jp-landing__apps-feature-title"},(0,u.translate)("Focus on your Writing")),o["default"].createElement("p",{className:"jp-landing__apps-feature-text"},(0,u.translate)("Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.")),o["default"].createElement(c["default"],{href:"https://wordpress.com/post/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("Try the New Editor"))),o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/editor2x.jpg"}))):null,t?o["default"].createElement("div",{className:"jp-landing-apps__feature"},o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/stats2x.jpg"})),o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o["default"].createElement("h2",null,(0,u.translate)("Connect with your Visitors")),o["default"].createElement("p",null,(0,u.translate)("Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.")),o["default"].createElement(c["default"],{href:"https://wordpress.com/stats/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("View Your Stats")))):"",o["default"].createElement("div",{className:"jp-landing-apps__feature"},t?"":o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/community2x.jpg"})),o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o["default"].createElement("h2",null,(0,u.translate)("Connect with the Community")),o["default"].createElement("p",null,(0,u.translate)("The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.")),o["default"].createElement(c["default"],{href:"https://wordpress.com/reader",className:"is-primary"},(0,u.translate)("Launch Reader"))),t?o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/community2x.jpg"})):"")),o["default"].createElement("div",{className:"jp-landing-apps__footer"},o["default"].createElement("div",{className:"jp-landing-apps__clouds jp-clouds-bottom"},o["default"].createElement("img",{src:l.imagePath+"/white-clouds-reverse.svg"})),o["default"].createElement("div",{className:"jp-landing-apps__footer-top"},o["default"].createElement("h2",{className:"jp-landing-apps__title"},(0,u.translate)("Inspiration strikes any time, anywhere.")),o["default"].createElement("p",{className:"jp-landing-apps__description"},(0,u.translate)("Get WordPress apps for any screen.")),o["default"].createElement("img",{src:l.imagePath+"/apps/triple-devices.svg",className:"jp-landing-apps__devices"})),o["default"].createElement("div",{className:"jp-landing-apps__downloads"},o["default"].createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("In Your Pocket")),o["default"].createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.")),o["default"].createElement("p",{className:"jp-landing-apps__btn-container"},o["default"].createElement(c["default"],{href:"http://itunes.apple.com/us/app/wordpress/id335703880?mt=8",title:(0,u.translate)("WordPress.com in the App Store"),className:"jp-app-button button-ios"},o["default"].createElement("svg",{width:"28",height:"28",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},o["default"].createElement("path",{d:"M74.7,62.2c-3.5-3.2-5.2-7.2-5.3-12.1c-0.1-6.2,2.8-11.1,8.5-14.5c-3.2-4.5-8-7.1-14.4-7.6c-2.4-0.2-5.2,0.3-8.7,1.5 c-3.6,1.3-5.7,2-6.4,2c-0.8,0-2.8-0.6-5.7-1.7c-3-1.1-5.4-1.7-7.2-1.7c-3.4,0.1-6.5,0.9-9.4,2.6c-2.9,1.7-5.2,4-6.9,7 C17.1,41.5,16,45.9,16,51c0,4.4,0.8,9,2.4,13.8c1.5,4.4,3.5,8.2,5.8,11.6c2.2,3.1,4,5.3,5.5,6.6c2.3,2.1,4.6,3.2,6.9,3.1 c1.5-0.1,3.5-0.6,6-1.6c2.5-1,4.8-1.5,6.9-1.5c2,0,4.3,0.5,6.7,1.5c2.4,1,4.5,1.5,6.2,1.5c2.4-0.1,4.7-1,6.8-3 c1.4-1.2,3.1-3.3,5.3-6.4c1.6-2.2,2.9-4.7,4.1-7.3c0.5-1.1,0.9-2.3,1.3-3.5C78.1,64.9,76.3,63.7,74.7,62.2z M59.8,22.2 c2.8-3.3,4.2-6.8,4.2-10.6v0c0-0.5,0-1-0.1-1.5c-1.9,0.1-4,0.7-6.1,1.7c-2.2,1.1-4,2.4-5.4,4C49.6,19,48,22.9,48,26.5 c0,0.5,0,1,0.1,1.4C52.5,28.3,56.5,26.1,59.8,22.2z"})),"iOS"),o["default"].createElement(c["default"],{href:"http://play.google.com/store/apps/details?id=org.wordpress.android",title:(0,u.translate)("WordPress.com in Google Play"),className:"jp-app-button button-android"},o["default"].createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},o["default"].createElement("path",{d:"M25,34.1c-2.1,0-4,1.7-4,3.7v16.6c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V37.8C29,35.7,27.1,34.1,25,34.1z M31,35v29.5 c0,1.1,0.5,2.5,1.6,2.5H37v8.8c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V67h6v8.8c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V67h4.4 c1.2,0,1.6-1.3,1.6-2.5V50V35h-1.6H31z M56.4,20.1l3-4.1c0.1-0.1,0-0.2-0.2-0.3c-0.2-0.1-0.4-0.1-0.4,0l-3.1,4.3 c-2.1-0.8-4.6-1.3-7.7-1.3c-3.1,0-5.7,0.5-7.8,1.3l-3.1-4.3c-0.1-0.1-0.3-0.1-0.4,0.1c-0.2,0.1-0.3,0.3-0.2,0.4l3,4 c-8.6,3.8-8.9,13-8.9,13h34.7C65.3,33,65,23.9,56.4,20.1z M40.4,27.8c-1.2,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.1-2.1 c1.2,0,2.1,0.9,2.1,2.1C42.5,26.9,41.5,27.8,40.4,27.8z M55.6,27.8c-1.2,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.1-2.1 c1.2,0,2.1,0.9,2.1,2.1C57.7,26.9,56.8,27.8,55.6,27.8z M71,34.1c-2.1,0-4,1.7-4,3.7v16.6c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V37.8 C75,35.7,73.1,34.1,71,34.1z"})),"Android")),o["default"].createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("On Your Desktop")),o["default"].createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.")),o["default"].createElement("p",{className:"jp-landing-apps__btn-container"},o["default"].createElement(c["default"],{href:"https://apps.wordpress.com/d/osx",title:(0,u.translate)("WordPress.com for Mac OS X"),className:"jp-app-button button-macosx"},o["default"].createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o["default"].createElement("path",{d:"M24,8C15.163,8,8,15.163,8,24s7.163,16,16,16s16-7.163,16-16S32.837,8,24,8z M31.31,33.849h-0.986 l-6.31-9.152h-0.058l-6.31,9.152h-0.972l6.817-9.82l-6.846-9.878h0.986l6.339,9.181h0.058l6.353-9.181h0.972l-6.861,9.878 L31.31,33.849z"})),"Mac OS X"),o["default"].createElement(c["default"],{href:"https://apps.wordpress.com/d/windows",title:(0,u.translate)("WordPress.com for Windows"),className:"jp-app-button button-windows"},o["default"].createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o["default"].createElement("path",{d:"M8,35.5l13,2.031V25H8V35.5z M8,24h13V10.172L8,12V24z M22,37.688L40,40.5V25H22V37.688z M22,10.031 V24h18V7.5L22,10.031z"})),"Windows"),o["default"].createElement(c["default"],{href:"https://apps.wordpress.com/d/linux",title:(0,u.translate)("WordPress.com for Linux"),className:"jp-app-button button-linux"},o["default"].createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"24",viewBox:"0 0 21 24"},o["default"].createElement("path",{d:"M9.8 5.9C9.8 5.9 9.8 5.9 9.8 5.9L9.7 5.9C9.6 5.9 9.6 5.9 9.5 5.8 9.5 5.8 9.4 5.7 9.4 5.6 9.4 5.5 9.4 5.5 9.5 5.5L9.7 5.6C9.8 5.7 9.8 5.8 9.8 5.9M8.4 5.1C8.4 4.7 8.3 4.4 8 4.4 8 4.4 8 4.5 7.9 4.5L7.9 4.7 8.2 4.7C8.2 4.8 8.3 4.9 8.3 5.1L8.4 5.1M11.2 4.7C11.3 4.7 11.4 4.8 11.5 5.1L11.7 5.1C11.6 5 11.6 4.9 11.6 4.8 11.6 4.8 11.6 4.7 11.5 4.6 11.4 4.5 11.3 4.4 11.3 4.4 11.3 4.4 11.2 4.5 11.1 4.5 11.1 4.6 11.2 4.6 11.2 4.7M8.8 5.9C8.7 5.9 8.7 5.9 8.7 5.9 8.7 5.8 8.7 5.7 8.8 5.6 9 5.6 9.1 5.5 9.1 5.5 9.1 5.5 9.1 5.6 9.1 5.6 9.1 5.7 9.1 5.8 8.9 5.9L8.8 5.9M7.9 5.9C7.6 5.7 7.6 5.5 7.6 5.1 7.6 4.8 7.6 4.7 7.7 4.5 7.8 4.4 7.9 4.3 8.1 4.3 8.3 4.3 8.3 4.4 8.5 4.5 8.6 4.8 8.7 5 8.7 5.2L8.7 5.3 8.7 5.4 8.7 5.4 8.7 5.3C8.8 5.3 8.8 5.2 8.8 4.8 8.8 4.6 8.8 4.4 8.7 4.1 8.5 3.9 8.3 3.7 8 3.7 7.8 3.7 7.6 3.9 7.5 4.1 7.3 4.4 7.3 4.7 7.3 5.1 7.3 5.4 7.4 5.7 7.7 6 7.8 5.9 7.9 5.9 7.9 5.9M17.8 17C17.9 17 17.9 17 17.9 16.9 17.9 16.7 17.8 16.5 17.6 16.3 17.3 16 16.9 15.9 16.5 15.8 16.4 15.8 16.3 15.8 16.3 15.8 16.2 15.8 16.2 15.8 16.2 15.8 16.1 15.8 15.9 15.8 15.8 15.8 16.1 15 16.2 14.4 16.2 13.8 16.2 13 16 12.5 15.7 12 15.4 11.5 15.1 11.3 14.7 11.2 14.6 11.3 14.6 11.3 14.6 11.4 15 11.5 15.4 11.8 15.6 12.3 15.8 12.9 15.9 13.3 15.9 13.9 15.9 14.3 15.8 15 15.5 15.8 15.2 16 14.9 16.3 14.7 16.7 14.7 16.8 14.7 16.8 14.7 16.8 14.7 16.8 14.8 16.8 14.9 16.6 15.1 16.5 15.1 16.3 15.3 16.2 15.5 16.1 15.7 16 15.9 16 16.3 16 16.7 16.1 16.9 16.2 17.3 16.3 17.4 16.4 17.5 16.5 17.6 16.6 17.7 16.7 17.7 16.8 17.7 16.9 17.8 17 17.8 17M10.6 5.5C10.5 5.5 10.5 5.3 10.5 5.2 10.5 4.8 10.5 4.7 10.6 4.4 10.8 4.3 10.9 4.2 11.1 4.2 11.3 4.2 11.5 4.4 11.7 4.5 11.7 4.8 11.8 4.9 11.8 5.2 11.8 5.5 11.7 5.8 11.3 5.9 11.3 5.9 11.4 5.9 11.5 5.9 11.7 5.9 11.7 6 11.9 6.1 12 5.6 12.1 5.3 12.1 4.9 12.1 4.4 12 4.1 11.8 3.9 11.6 3.7 11.3 3.6 11 3.6 10.8 3.6 10.6 3.7 10.3 3.8 10.2 4 10.1 4.2 10.1 4.4 10.1 4.8 10.2 5.2 10.3 5.5 10.4 5.5 10.5 5.5 10.6 5.5M11.5 6.8C10.5 7.5 9.7 7.8 9.1 7.8 8.5 7.8 7.9 7.6 7.5 7.2 7.6 7.4 7.6 7.5 7.7 7.6L8.2 8.1C8.5 8.4 8.9 8.5 9.3 8.5 9.8 8.5 10.5 8.2 11.3 7.7L12 7.2C12.1 7 12.3 6.9 12.3 6.7 12.3 6.6 12.3 6.5 12.2 6.5 12.1 6.3 11.7 6.1 10.9 5.9 10.2 5.5 9.7 5.4 9.4 5.4 9.1 5.4 8.7 5.5 8.2 5.9 7.7 6.2 7.4 6.5 7.4 6.8 7.4 6.8 7.5 6.9 7.6 7 8 7.4 8.5 7.7 9 7.7 9.6 7.7 10.4 7.4 11.4 6.6L11.4 6.7C11.5 6.7 11.5 6.8 11.5 6.8M13.3 22.8C13.6 23.4 14.2 23.7 14.8 23.7 15 23.7 15.1 23.6 15.3 23.6 15.4 23.5 15.6 23.5 15.7 23.4 15.8 23.4 15.8 23.3 15.9 23.3 16.1 23.2 16.1 23.2 16.2 23.1L17.5 22C17.8 21.7 18.1 21.5 18.5 21.3 18.8 21.1 19.2 21 19.3 20.9 19.6 20.8 19.7 20.8 19.9 20.6 19.9 20.5 20 20.4 20 20.2 20 19.9 19.9 19.8 19.7 19.6 19.6 19.5 19.4 19.4 19.2 19.4 19.1 19.3 18.9 19.2 18.7 19 18.5 18.8 18.4 18.5 18.3 18.1L18.2 17.7C18.1 17.4 18.1 17.3 18.1 17.2 18.1 17.2 18.1 17.2 18 17.2 17.9 17.2 17.7 17.2 17.7 17.4 17.5 17.5 17.3 17.7 17.2 17.8 17.1 18 16.9 18.1 16.7 18.3 16.5 18.4 16.2 18.5 16.1 18.5 15.4 18.5 15.1 18.3 14.9 17.9 14.7 17.7 14.7 17.4 14.6 17.1 14.4 16.9 14.3 16.9 14.2 16.9 13.8 16.9 13.6 17.3 13.6 18.1L13.6 18.4 13.6 19.3 13.6 20 13.6 20.3 13.6 20.6C13.6 20.6 13.6 20.8 13.6 21 13.5 21.3 13.5 21.6 13.5 21.9L13.3 22.7 13.3 22.8M1.9 22.3C2.6 22.4 3.4 22.7 4.4 23 5.4 23.4 5.9 23.6 6.2 23.6 6.7 23.6 7.2 23.3 7.5 22.8 7.6 22.7 7.6 22.5 7.6 22.3 7.6 21.6 7.2 20.6 6.3 19.5L5.7 18.7C5.6 18.6 5.5 18.4 5.3 18.1 5.2 17.8 5 17.5 4.9 17.3 4.8 17.2 4.6 17 4.4 16.8 4.2 16.6 4 16.5 3.7 16.4 3.4 16.5 3.1 16.6 3 16.8 2.9 16.9 2.9 17.1 2.8 17.3 2.8 17.4 2.8 17.5 2.7 17.6 2.6 17.6 2.5 17.7 2.3 17.7 2.3 17.7 2.2 17.7 2.1 17.7L1.9 17.7C1.4 17.7 1.2 17.8 1 17.8 0.8 18.1 0.7 18.3 0.7 18.6 0.7 18.7 0.7 19 0.8 19.3 0.9 19.5 0.9 19.8 0.9 19.9 0.9 20.3 0.8 20.6 0.6 20.9 0.4 21.3 0.3 21.5 0.3 21.7 0.4 22 0.9 22.2 1.9 22.3M4.5 15.2C4.5 14.6 4.6 14 4.9 13.3 5.2 12.6 5.5 12.1 5.8 11.8 5.8 11.7 5.7 11.7 5.7 11.7L5.6 11.6C5.3 11.9 5.1 12.4 4.7 13.2 4.4 13.9 4.2 14.6 4.2 15.1 4.2 15.4 4.3 15.7 4.5 16 4.7 16.3 5.1 16.6 5.7 17.1L6.6 17.7C7.5 18.4 7.9 19 7.9 19.3 7.9 19.5 7.9 19.6 7.6 19.8 7.5 20 7.3 20.1 7.1 20.1 7.1 20.1 7 20.1 7 20.1 7 20.2 7.1 20.3 7.3 20.6 7.6 21.1 8.3 21.3 9.3 21.3 11 21.3 12.4 20.6 13.4 19.2 13.4 18.8 13.4 18.5 13.3 18.4L13.3 18.1C13.3 17.6 13.4 17.2 13.5 17 13.7 16.7 13.9 16.6 14.1 16.6 14.3 16.6 14.4 16.7 14.6 16.8 14.6 16.2 14.6 15.6 14.6 15.2 14.6 14.4 14.6 13.9 14.5 13.3 14.4 12.8 14.3 12.4 14.1 12.1 13.9 11.9 13.8 11.6 13.6 11.4 13.5 11.2 13.4 10.9 13.2 10.7 13.1 10.4 13.1 10.1 13.1 9.8 12.8 9.4 12.7 9 12.4 8.6 12.3 8.2 12.1 7.8 12 7.5L11.3 8C10.5 8.6 9.8 8.8 9.3 8.8 8.8 8.8 8.4 8.7 8.2 8.4L7.7 8C7.7 8.3 7.6 8.6 7.5 8.9L7 9.8C6.7 10.4 6.6 10.7 6.6 10.9 6.6 11.1 6.5 11.3 6.5 11.3L5.9 12.4C5.3 13.6 5 14.7 5 15.6 5 15.8 5 16 5 16.2 4.7 15.9 4.5 15.6 4.5 15.2M10.1 22.6C9.1 22.6 8.3 22.8 7.8 23L7.8 23C7.4 23.5 6.9 23.7 6.3 23.7 5.9 23.7 5.3 23.6 4.5 23.3 3.7 23 2.9 22.8 2.3 22.6 2.2 22.6 2.1 22.6 1.9 22.6 1.7 22.5 1.4 22.5 1.3 22.5 1.1 22.4 0.9 22.4 0.7 22.3 0.5 22.2 0.4 22.1 0.2 22 0.1 21.9 0.1 21.8 0.1 21.7 0.1 21.6 0.1 21.4 0.2 21.3 0.2 21.2 0.3 21.1 0.3 21.1 0.4 21 0.4 20.9 0.4 20.8 0.5 20.7 0.5 20.7 0.6 20.6 0.6 20.5 0.6 20.4 0.6 20.4 0.7 20.3 0.7 20.2 0.7 20.1 0.7 20 0.6 19.8 0.6 19.4 0.5 19 0.5 18.7 0.5 18.6 0.5 18.3 0.6 18 0.7 17.8 0.9 17.6 1.1 17.5 1.2 17.5L2.2 17.5C2.2 17.5 2.3 17.4 2.5 17.4 2.6 17.2 2.6 17.1 2.6 17 2.7 16.9 2.7 16.9 2.7 16.8 2.7 16.8 2.7 16.7 2.8 16.7 2.8 16.6 2.8 16.6 2.9 16.5 2.8 16.4 2.8 16.3 2.8 16.2 2.8 16.1 2.8 16 2.8 16 2.8 15.7 2.9 15.3 3.2 14.8L3.5 14.3C3.7 13.9 3.9 13.5 4 13.2 4.2 12.9 4.3 12.4 4.5 11.8 4.6 11.2 4.9 10.7 5.4 10.1L5.9 9.4C6.4 9 6.6 8.6 6.8 8.2 6.9 7.9 7 7.5 7 7.2 7 7.1 7 6.6 6.9 5.8 6.8 5 6.8 4.2 6.8 3.5 6.8 3 6.8 2.6 6.9 2.2 7 1.8 7.2 1.4 7.5 1.1 7.7 0.7 8 0.4 8.5 0.3 9 0.1 9.5 0 10.1 0 10.4 0 10.6 0 10.9 0.1 11.1 0.1 11.4 0.2 11.8 0.4 12.1 0.5 12.4 0.7 12.7 0.9 13 1.1 13.2 1.5 13.5 1.9 13.6 2.4 13.8 2.9 13.9 3.5 13.9 3.9 13.9 4.3 14 4.9 14 5.3 14.1 5.6 14.1 5.9 14.2 6.1 14.2 6.4 14.3 6.8 14.3 7.1 14.4 7.5 14.6 7.7 14.7 8 14.9 8.3 15.1 8.6 15.4 9 15.7 9.4 16 9.9 16.7 10.7 17.3 11.6 17.6 12.4 18 13.2 18.2 14.2 18.2 15.3 18.2 15.9 18.1 16.4 18 16.9 18.1 16.9 18.2 17 18.3 17.1 18.4 17.2 18.4 17.5 18.5 17.8L18.6 18.4C18.7 18.6 18.8 18.7 19 18.9 19.1 19 19.3 19.2 19.5 19.2 19.7 19.3 19.9 19.4 20.1 19.6 20.3 19.7 20.3 19.9 20.3 20.1 20.3 20.3 20.3 20.5 20.1 20.7 19.9 20.8 19.8 21 19.5 21 19.4 21.1 19.1 21.3 18.6 21.5 18.2 21.7 17.8 22 17.4 22.3L16.6 23C16.3 23.3 16 23.5 15.8 23.7 15.5 23.8 15.2 23.9 14.9 23.9L14.3 23.8C13.7 23.7 13.3 23.3 13.1 22.9 11.8 22.7 10.8 22.6 10.1 22.6"})),"Linux")))))};t["default"]=(0,i.connect)(function(e){return{userCanViewStats:(0,d.userCanViewStats)(e),userCanManagePlugins:(0,d.userCanManagePlugins)(e),userCanEditPosts:(0,d.userCanEditPosts)(e)}})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Plans=void 0;var a=n(142),o=r(a),i=n(154),s=n(829),c=(r(s),n(452),n(681)),u=n(957),l=r(u),d=n(631),p=n(1026),f=r(p),h=n(1027),m=r(h),M=t.Plans=o["default"].createClass({displayName:"Plans",render:function(){var e=this.props.sitePlan.product_slug||"";return"dev"===this.props.getSiteConnectionStatus(this.props)&&(e="dev"),o["default"].createElement("div",null,o["default"].createElement(l["default"],null),o["default"].createElement("div",{className:"jp-landing__plans dops-card"},o["default"].createElement(f["default"],{plan:e}),o["default"].createElement(m["default"],{plan:e,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl})))}});t["default"]=(0,i.connect)(function(e){return{getSiteConnectionStatus:function(){return(0,d.getSiteConnectionStatus)(e)},sitePlan:(0,c.getSitePlan)(e)}})(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(829),s=r(i),c=n(452),u=n(847),l=o["default"].createClass({displayName:"PlanHeader",render:function(){var e="",t="";switch(this.props.plan){case"jetpack_free":e=o["default"].createElement("div",{className:"jp-landing-plans__header"},o["default"].createElement("h2",{className:"jp-landing-plans__header-title"},(0,c.translate)("Powerful security tools for ultimate peace of mind")),o["default"].createElement("p",{className:"jp-landing-plans__header-description"},(0,c.translate)("Backup, protect, repair and build a better website.")),o["default"].createElement("div",{className:"jp-landing-plans__header-img-container"},o["default"].createElement("div",{className:"jp-landing-plans__header-col-left"},o["default"].createElement("h3",{className:"jp-landing-plans__header-subtitle"},(0,c.translate)("Threats don't discriminate")),o["default"].createElement("p",{className:"jp-landing-plans__header-text"},(0,c.translate)("Hackers, botnets and spammers attack websites indiscriminately. Their goal is to attack everywhere and often. Our goal is to help you prepare by blocking these threats, and in worst-case-scenarios we'll be here to help you restore your site to its former glory.")),o["default"].createElement("p",{className:"jp-landing-plans__header-btn-container"},o["default"].createElement(s["default"],{href:"https://wordpress.com/plans/"+window.Initial_State.rawUrl,className:"is-primary"},(0,c.translate)("Compare Plans")))),o["default"].createElement("div",{className:"jp-landing-plans__header-col-right"},o["default"].createElement("img",{src:u.imagePath+"/plans/admin-lock2x.png",className:"jp-landing-plans__header-img"}))),o["default"].createElement("div",{className:"jp-landing-plans__clouds jp-clouds-top"},o["default"].createElement("img",{src:u.imagePath+"/white-clouds.svg"}))),t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img"},o["default"].createElement("img",{src:u.imagePath+"/plans/plan-jetpack-free.svg",className:"jp-landing__plan-icon"})),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Free Jetpack Plan")),o["default"].createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Upgrade to Premium or Pro in order to unlock world class security, spam protection tools, and priority support."))));break;case"jetpack_premium":case"jetpack_premium_monthly":t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img"},o["default"].createElement("img",{src:u.imagePath+"/plans/plan-jetpack-premium.svg",className:"jp-landing__plan-icon"})),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Premium plan")),o["default"].createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Unlock the full potential of your site with the features included in your plan."))));break;case"jetpack_business":case"jetpack_business_monthly":t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img"},o["default"].createElement("img",{src:u.imagePath+"/plans/plan-jetpack-pro.svg",className:"jp-landing__plan-icon"})),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Professional plan")),o["default"].createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Unlock the full potential of your site with the features included in your plan."))));break;case"dev":t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img"},o["default"].createElement("img",{src:u.imagePath+"/plans/plan-jetpack-free.svg",className:"jp-landing__plan-icon"})),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on Development Mode")),o["default"].createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Once you connect, you can upgrade to Premium or Pro in order to unlock worldclass security, spam protection tools, and priority support."))));break;default:t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img is-placeholder"}),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o["default"].createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return o["default"].createElement("div",null,e,t)}});t["default"]=l,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(829),c=r(s),u=n(452),l=n(633),d=r(l),p=(n(847),n(684)),f=n(943),h=r(f),m=o["default"].createClass({displayName:"PlanBody",render:function(){var e="";switch(this.props.plan){case"jetpack_premium":case"jetpack_premium_monthly":case"jetpack_business":case"jetpack_business_monthly":e=o["default"].createElement("div",{className:"jp-landing__plan-features"},o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Spam Protection")),o["default"].createElement("p",null,(0,u.translate)("State-of-the-art spam defense powered by Akismet.")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?o["default"].createElement(c["default"],{href:this.props.siteAdminUrl+"admin.php?page=akismet-key-config",className:"is-primary"},(0,u.translate)("View your spam stats")):o["default"].createElement(c["default"],{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=akismet",className:"is-primary"},(0,u.translate)("Configure Akismet"))),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Security Scanning & Backups")),o["default"].createElement("p",null,(0,u.translate)("Realtime backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense, and brute-force login protection - all in one place.")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?o["default"].createElement(c["default"],{href:"https://dashboard.vaultpress.com/",className:"is-primary"},(0,u.translate)("View your security dashboard")):o["default"].createElement(c["default"],{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=vaultpress",className:"is-primary"},(0,u.translate)("Configure VaultPress"))),(0,d["default"])(["jetpack_business","jetpack_business_monthly"],this.props.plan)?o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Surveys & Polls")),o["default"].createElement("p",null,(0,u.translate)("Unlimited surveys, unlimited responses. Use the survey editor to create surveys quickly and easily. Collect responses via your website, e-mail or on your iPad or iPhone.")),o["default"].createElement(c["default"],{href:"https://polldaddy.com/dashboard/",className:"is-primary"},(0,u.translate)("Create a new poll"))):"",(0,d["default"])(["jetpack_premium","jetpack_premium_monthly"],this.props.plan)?o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Need more?")),o["default"].createElement("p",null,(0,u.translate)("Jetpack Professional offers advanced features including:")),o["default"].createElement("p",null," — ",(0,u.translate)("Supports 1-3 sites")),o["default"].createElement("p",null," — ",(0,u.translate)("Includes on-demand malware scanning")),o["default"].createElement("p",null," — ",(0,u.translate)("Unlimited backup archive")),o["default"].createElement("p",null," — ",(0,u.translate)("Real-time backups")),o["default"].createElement("p",null," — ",(0,u.translate)("One-click threat resolution")),o["default"].createElement("p",null," — ",(0,u.translate)("Advanced polls and ratings")),o["default"].createElement("p",null,o["default"].createElement(c["default"],{href:"https://wordpress.com/plans/"+this.props.siteRawUrl,className:"is-primary"},(0,u.translate)("Compare Plans")))):"");break;case"jetpack_free":case"dev":e=o["default"].createElement("div",{className:"jp-landing__plan-features"},o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Maximum grade security")),o["default"].createElement("p",null,(0,u.translate)("Realtime backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense and brute-force login protection - all in one place and optimized for WordPress."))),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Lock out the bad guys")),o["default"].createElement("p",null,(0,u.translate)("Bulletproof spam filtering protects your brand, your readers, and improves SEO. Brute force login protection helps maintain peace of mind and keeps your backend safe from intruders."))),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Enjoy priority support")),o["default"].createElement("p",null,(0,u.translate)("Need help? A Happiness Engineer can answer questions about your site, your account or how to do about anything."))));break;default:e=o["default"].createElement("div",{className:"jp-landing__plan-features"},o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o["default"].createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o["default"].createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o["default"].createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return o["default"].createElement("div",null,o["default"].createElement(h["default"],null),e)}});t["default"]=(0,i.connect)(function(e){return{isFetchingPluginsData:(0,p.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,
|
93 |
p.isPluginActive)(e,t)},isPluginInstalled:function(t){return(0,p.isPluginInstalled)(e,t)}}},function(e){return{fetchPluginsData:function(){return e((0,p.fetchPluginsData)())}}})(m),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;var a=n(142),o=r(a),i=n(154),s=n(739),c=r(s),u=n(452),l=n(348),d=n(1029),p=n(631),f=t.Footer=o["default"].createClass({displayName:"Footer",disconnectSite:function(){window.confirm((0,u.translate)("Do you really want to disconnect your site from WordPress.com?"))&&this.props.disconnectSite()},resetOnClick:function(){window.confirm((0,u.translate)("This will reset all Jetpack options, are you sure?"))&&this.props.resetOptions()},render:function(){var e=this,t=(0,c["default"])(this.props.className,"jp-footer"),n=this.props.currentVersion,r=function(){return e.props.isDevVersion&&e.props.userCanManageOptions?o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{onClick:e.resetOnClick,className:"jp-footer__link"},(0,u.translate)("Reset Options (dev versions only)",{context:"Navigation item."}))):""},a=function(){if(e.props.userCanManageOptions)return o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{href:e.props.siteAdminUrl+"admin.php?page=jetpack-debugger",title:(0,u.translate)("Test your site’s compatibility with Jetpack."),className:"jp-footer__link"},(0,u.translate)("Debug",{context:"Navigation item. Noun. Links to a debugger tool for Jetpack."})))},i=function(){if(e.props.userCanDisconnectSite&&e.props.siteConnectionStatus&&!e.props.isDevMode)return o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{onClick:e.disconnectSite,title:(0,u.translate)("Disconnect from WordPress.com"),className:"jp-footer__link"},(0,u.translate)("Disconnect Jetpack")))};return o["default"].createElement("div",{className:t},o["default"].createElement("div",{className:"jp-footer__a8c-attr-container"},o["default"].createElement("a",{href:"https://automattic.com",target:"_blank"},o["default"].createElement("svg",{className:"jp-footer__a8c-attr",x:"0",y:"0",viewBox:"0 0 935 38.2","enable-background":"new 0 0 935 38.2"},o["default"].createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),o["default"].createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),o["default"].createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"})))),o["default"].createElement("ul",{className:"jp-footer__links"},o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{href:"https://jetpack.com",target:"_blank",className:"jp-footer__link",title:n},n)),o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{href:"https://wordpress.com/tos/",target:"_blank",title:(0,u.translate)("WordPress.com Terms of Service"),className:"jp-footer__link"},(0,u.translate)("Terms",{context:"Shorthand for Terms of Service."}))),o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{href:"https://automattic.com/privacy/",target:"_blank",title:(0,u.translate)("Automattic's Privacy Policy"),className:"jp-footer__link"},(0,u.translate)("Privacy",{context:"Shorthand for Privacy Policy."}))),a(),r(),i()))}});t["default"]=(0,i.connect)(function(e){return{currentVersion:(0,l.getCurrentVersion)(e),userCanManageOptions:(0,l.userCanManageOptions)(e),userCanDisconnectSite:(0,l.userCanDisconnectSite)(e),isDevVersion:(0,l.isDevVersion)(e),isDevMode:(0,p.isDevMode)(e),siteConnectionStatus:(0,p.getSiteConnectionStatus)(e),siteAdminUrl:(0,l.getSiteAdminUrl)(e)}},function(e){return{disconnectSite:function(){return e((0,p.disconnectSite)())},resetOptions:function(){return e((0,d.resetOptions)("options"))}}})(f)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function a(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(349),i=a(o),s=n(1030),c=r(s),u=(0,i["default"])({},c);t["default"]=u,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.resetOptions=void 0;var a=n(444),o=n(452),i=n(419),s=n(424),c=r(s);t.resetOptions=function(e){return function(t){return t({type:i.RESET_OPTIONS}),t((0,a.createNotice)("is-info",(0,o.translate)("Resetting Jetpack options…"),{id:"reset-options"})),c["default"].resetOptions(e).then(function(){t({type:i.RESET_OPTIONS_SUCCESS}),t((0,a.removeNotice)("reset-options")),t((0,a.createNotice)("is-success",(0,o.translate)("Options reset."),{id:"reset-options"}))})["catch"](function(e){t({type:i.RESET_OPTIONS_FAIL,error:e}),t((0,a.removeNotice)("reset-options")),t((0,a.createNotice)("is-error",(0,o.translate)("Options failed to reset."),{id:"reset-options"}))})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(739),s=r(i),c=n(1032),u=r(c),l=n(452),d=n(824),p=r(d),f=n(348);t["default"]=o["default"].createClass({displayName:"SupportCard",render:function(){var e=(0,s["default"])(this.props.className,"jp-support-card"),t=(0,u["default"])((0,f.getHappinessGravatarIds)(this.props));return o["default"].createElement("div",{className:e},o["default"].createElement(p["default"],{className:"jp-support-card__happiness"},o["default"].createElement("div",{className:"jp-support-card__happiness-engineer"},o["default"].createElement("img",{src:"https://secure.gravatar.com/avatar/"+t,alt:(0,l.translate)("Jetpack Happiness Engineer"),className:"jp-support-card__happiness-engineer-img"})),o["default"].createElement("div",{className:"jp-support-card__happiness-contact"},o["default"].createElement("h4",{className:"jp-support-card__header"},(0,l.translate)("Need help? The Jetpack team is here for you.")),o["default"].createElement("p",{className:"jp-support-card__description"},(0,l.translate)("We offer free, full support to all of our Jetpack users. Our support team is always around to help you.")),o["default"].createElement("p",{className:"jp-support-card__description"},(0,l.translate)("{{supportLink}}View our support page{{/supportLink}}{{hideOnMobile}},{{/hideOnMobile}} {{forumLink}}check the forums for answers{{/forumLink}}{{hideOnMobile}}, or{{/hideOnMobile}} {{contactLink}}contact us directly{{/contactLink}}{{hideOnMobile}}.{{/hideOnMobile}}",{components:{hideOnMobile:o["default"].createElement("span",{className:"jp-hidden-on-mobile"}),supportLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://jetpack.com/support/",title:(0,l.translate)("Go to Jetpack.com/support")}),forumLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://wordpress.org/support/plugin/jetpack",title:(0,l.translate)("Go to the WordPress.org support forums")}),contactLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://jetpack.com/contact-support/",title:(0,l.translate)("Contact Jetpack support staff directly")})}})))),o["default"].createElement(p["default"],{className:"jp-support-card__social"},o["default"].createElement("p",{className:"jp-support-card__description"},(0,l.translate)("{{hideOnMobile}}Enjoying Jetpack or have feedback?{{/hideOnMobile}} {{reviewLink}}Leave us a review{{/reviewLink}}{{hideOnMobile}},{{/hideOnMobile}} {{twitterLink}}follow us on Twitter{{/twitterLink}}{{hideOnMobile}}, and{{/hideOnMobile}} {{facebookLink}}like us on Facebook{{/facebookLink}}{{hideOnMobile}}.{{/hideOnMobile}}",{components:{hideOnMobile:o["default"].createElement("span",{className:"jp-hidden-on-mobile"}),reviewLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://wordpress.org/support/view/plugin-reviews/jetpack",title:(0,l.translate)("Leave a Jetpack review"),target:"_blank"}),twitterLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"http://twitter.com/jetpack",title:(0,l.translate)("Follow Jetpack on Twitter"),target:"_blank"}),facebookLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://www.facebook.com/jetpackme",title:(0,l.translate)("Like us on Facebook"),target:"_blank"})}}))))}}),e.exports=t["default"]},function(e,t,n){function r(e){var t=o(e)?e:i(e),n=t.length;return n>0?t[a(0,n-1)]:void 0}var a=n(1033),o=n(363),i=n(641);e.exports=r},function(e,t){function n(e,t){return e+r(a()*(t-e+1))}var r=Math.floor,a=Math.random;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(348),c=n(433),u=n(695),l=r(u),d=n(813),p=r(d),f=n(853),h=r(f),m=n(958),M=r(m),_=n(1020),g=r(_),v=n(1023),b=r(v),y=n(1024),A=r(y),T=o["default"].createClass({displayName:"NonAdminView",componentWillMount:function(){this.props.setInitialState()},shouldComponentUpdate:function(e){return e.jetpack.connection.status!==this.props.jetpack.connection.status||e.route.path!==this.props.route.path},renderMainContent:function(e){var t=void 0,n=o["default"].createElement(l["default"],this.props);switch(e){case"/dashboard":(this.props.userCanViewStats||this.props.isModuleActivated("protect"))&&(t=o["default"].createElement(h["default"],this.props));break;case"/apps":t=o["default"].createElement(A["default"],this.props);break;case"/settings":n=o["default"].createElement(p["default"],this.props),t=o["default"].createElement(g["default"],this.props);break;case"/general":n=o["default"].createElement(p["default"],this.props),t=o["default"].createElement(g["default"],this.props);break;case"/engagement":this.props.isSubscriber||(n=o["default"].createElement(p["default"],this.props),t=o["default"].createElement(M["default"],this.props));break;case"/writing":this.props.isSubscriber||(n=o["default"].createElement(p["default"],this.props),t=o["default"].createElement(b["default"],this.props));break;default:t=o["default"].createElement(h["default"],this.props)}return window.wpNavMenuClassChange(),o["default"].createElement("div",null,n,t)},render:function(){return this.renderMainContent(this.props.route.path)}});t["default"]=(0,i.connect)(function(e){return{userCanViewStats:(0,s.userCanViewStats)(e),isSubscriber:(0,s.userIsSubscriber)(e),isModuleActivated:function(t){return(0,c.isModuleActivated)(e,t)}}})(T),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.UserUnlinked=t.DevModeNotice=t.StagingSiteNotice=t.DevVersionNotice=void 0;var a=n(142),o=r(a),i=n(154),s=n(932),c=r(s),u=n(956),l=r(u),d=n(452),p=n(1036),f=r(p),h=n(1043),m=r(h),M=n(631),_=n(348),g=n(1044),v=r(g),b=n(832),y=r(b),A=t.DevVersionNotice=o["default"].createClass({displayName:"DevVersionNotice",render:function(){return!!(0,_.isDevVersion)(this.props)&&o["default"].createElement(c["default"],{showDismiss:!1,status:"is-basic",text:(0,d.translate)("You are currently running a development version of Jetpack.")},o["default"].createElement(l["default"],{href:"https://jetpack.com/contact-support/beta-group/"},(0,d.translate)("Submit Beta feedback")))}}),T=t.StagingSiteNotice=o["default"].createClass({displayName:"StagingSiteNotice",render:function(){if((0,M.isStaging)(this.props)){var e=(0,d.translate)("You are running Jetpack on a {{a}}staging server{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support/staging-sites/",target:"_blank"})}});return o["default"].createElement(c["default"],{showDismiss:!1,status:"is-basic"},e)}return!1}}),L=t.DevModeNotice=o["default"].createClass({displayName:"DevModeNotice",render:function(){if("dev"===(0,M.getSiteConnectionStatus)(this.props)){var e=(0,M.getSiteDevMode)(this.props),t=void 0;return e.filter?t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} via the jetpack_development_mode filter.{{br/}}Some features are disabled.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o["default"].createElement("br",null)}}):e.constant?t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} via the JETPACK_DEV_DEBUG constant.{{br/}}Some features are disabled.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o["default"].createElement("br",null)}}):e.url&&(t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} because your site URL lacks a dot (e.g. http://localhost).{{br/}}Some features are disabled.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o["default"].createElement("br",null)}})),o["default"].createElement(c["default"],{showDismiss:!1,status:"is-basic"},t)}return!1}}),E=t.UserUnlinked=o["default"].createClass({displayName:"UserUnlinked",render:function(){if(!window.Initial_State.userData.currentUser.isConnected&&this.props.connectUrl&&this.props.siteConnected){var e=void 0;return e=(0,d.translate)("You, %(userName)s, are not connected to WordPress.com.",{args:{userName:window.Initial_State.userData.currentUser.username}}),o["default"].createElement(c["default"],{showDismiss:!1,status:"is-info",text:e},o["default"].createElement(l["default"],{href:this.props.connectUrl},(0,d.translate)("Link to WordPress.com")))}return!1}}),w=o["default"].createClass({displayName:"JetpackNotices",render:function(){return o["default"].createElement("div",null,o["default"].createElement(y["default"],null),o["default"].createElement(f["default"],this.props),o["default"].createElement(m["default"],null),o["default"].createElement(A,this.props),o["default"].createElement(L,this.props),o["default"].createElement(T,this.props),o["default"].createElement(v["default"],null),o["default"].createElement(E,{connectUrl:this.props.connectUrl(this.props),siteConnected:!0===(0,M.getSiteConnectionStatus)(this.props)}))}});t["default"]=(0,i.connect)(function(e){return{connectUrl:function(){return(0,M.getConnectUrl)(e)}}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(454),s=r(i),c=n(932),u=r(c),l=n(956),d=r(l),p=n(1037),f=r(p),h=n(154),m=n(338),M=n(444),_=(0,s["default"])("calypso:notices");n(1041);var g=o["default"].createClass({displayName:"NoticesList",propTypes:{id:o["default"].PropTypes.string,notices:o["default"].PropTypes.oneOfType([o["default"].PropTypes.object,o["default"].PropTypes.array])},getDefaultProps:function(){return{id:"overlay-notices",notices:Object.freeze([])}},componentWillMount:function(){_("Mounting Global Notices React component.")},removeNotice:function(e){e&&f["default"].removeNotice(e)},render:function(){var e=this.props.notices[this.props.id]||[],t=e.map(function(e,t){return o["default"].createElement(u["default"],{key:"notice-old-"+t,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:this.removeNotice.bind(this,e),showDismiss:e.showDismiss},e.button&&o["default"].createElement(d["default"],{href:e.href,onClick:e.onClick},e.button))},this);return t=t.concat(this.props.storeNotices.map(function(e,t){return o["default"].createElement(u["default"],{key:"notice-"+t,status:e.status,duration:e.duration||null,showDismiss:e.showDismiss,onDismissClick:this.props.removeNotice.bind(this,e.noticeId),text:e.text})},this)),t.length?o["default"].createElement("div",{id:this.props.id,className:"global-notices"},t):null}});t["default"]=(0,h.connect)(function(e){return{storeNotices:e.globalNotices}},function(e){return(0,m.bindActionCreators)({removeNotice:M.removeNotice},e)})(g)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(454)("calypso:notices"),a=n(1038);r("initializing notices");var o={containerNames:{}};a(o);var i=[];n(1039);var s={"new":function(e,t,n){var a=t.overlay?"overlay-notices":"notices";o.containerNames[a]=a,r("creating notice",e,t,n),o[a]=[];var c={type:t.type||"message",status:n,text:e,duration:t.duration,container:a,button:t.button,href:t.href,onClick:function(e){if("function"==typeof t.onClick){var n=s.removeNotice.bind(s,c);return t.onClick(e,n)}},onRemoveCallback:t.onRemoveCallback||function(){},arrow:t.arrow,isCompact:t.isCompact,showDismiss:t.showDismiss,persistent:t.persistent};return t.displayOnNextPage?i.push(c):o[a].push(c),o.emit("change"),c},success:function(e,t){return t=t||{},this["new"](e,t,"is-success")},error:function(e,t){return t=t||{},this["new"](e,t,"is-error")},info:function(e,t){return t=t||{},this["new"](e,t,"is-info")},warning:function(e,t){return t=t||{},this["new"](e,t,"is-warning")},list:o,removeNotice:function(e){if(e.container){var t=o[e.container],n=t.indexOf(e);-1!==n&&(t.splice(n,1),o.emit("change"))}},clearNoticesOnNavigation:function(e,t){r("clearNoticesOnNavigation");var n,a,s=!1,c=function(e){return e.persistent};for(a in o.containerNames)n=o[a].length,o[a]=o[a].filter(c),n!==o[a].length&&(s=!0);i.length&&(i.forEach(function(e){o[e.container]=[],o[e.container].push(e)}),i=[]),s&&o.emit("change"),t()},clearNotices:function(e){o[e]=[],o.emit("change")},getStatusHelper:function(e){return e.error?"is-error":e.warning?"is-warning":e.info?"is-info":e.success?"is-success":void 0}};t["default"]=s},function(e,t,n){"use strict";var r=n(564).EventEmitter,a=n(649);e.exports=function(e){a(e,r.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},787,,787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(452),c=n(932),u=r(c),l=n(348),d=n(687),p=o["default"].createClass({displayName:"JetpackStateNotices",getInitialState:function(){return{showNotice:!0}},dismissJetpackStateNotice:function(){this.setState({showNotice:!1})},getErrorFromKey:function(e){var t=this.props.jetpackStateNoticesErrorDescription||!1,n="";switch(e){case"cheatin":n=(0,s.translate)("Cheatin' uh?");break;case"access_denied":n=(0,s.translate)("{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/cancelled-connection/",target:"_blank"}),p:o["default"].createElement("p",null)}});break;case"wrong_state":n=(0,s.translate)("You need to stay logged in to your WordPress blog while you authorize Jetpack.");break;case"invalid_client":n=(0,s.translate)("We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.");break;case"invalid_grant":n=(0,s.translate)('There was an issue connecting your Jetpack. Please click "Connect to WordPress.com" again.');break;case"site_inaccessible":case"site_requires_authorization":n=(0,s.translate)("Your website needs to be publicly accessible to use Jetpack: %(error_key)s",{args:{error_key:e}});break;case"not_public":n=(0,s.translate)("{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).",{components:{s:o["default"].createElement("strong",null)}});break;case"wpcom_408":case"wpcom_5??":case"wpcom_bad_response":case"wpcom_outage":n=(0,s.translate)("WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.");break;case"register_http_request_failed":case"token_http_request_failed":n=(0,s.translate)("Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.",{args:{error_key:e}});break;case"no_role":case"no_cap":case"no_code":case"no_state":case"invalid_state":case"invalid_request":case"invalid_scope":case"unsupported_response_type":case"invalid_token":case"no_token":case"missing_secrets":case"home_missing":case"siteurl_missing":case"gmt_offset_missing":case"site_name_missing":case"secret_1_missing":case"secret_2_missing":case"site_lang_missing":case"home_malformed":case"siteurl_malformed":case"gmt_offset_malformed":case"timezone_string_malformed":case"site_name_malformed":case"secret_1_malformed":case"secret_2_malformed":case"site_lang_malformed":case"secrets_mismatch":case"verify_secret_1_missing":case"verify_secret_1_malformed":case"verify_secrets_missing":case"verify_secrets_mismatch":n=(0,s.translate)("{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s",{components:{s:o["default"].createElement("strong",null)},args:{error_key:e}});break;default:n=e}return t?o["default"].createElement("div",null,n,o["default"].createElement("br",null),t):o["default"].createElement("div",null,n)},getMessageFromKey:function(e){var t="",n="is-info";switch(e){case"modules_activated":t=(0,s.translate)("Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!",{args:{jetpack_version:this.props.currentVersion},components:{s:o["default"].createElement("strong",null)}});break;case"already_authorized":t=(0,s.translate)("Your Jetpack is already connected."),n="is-success";break;case"authorized":t=(0,s.translate)("You're fueled up and ready to go, Jetpack is now active."),n="is-success";break;case"linked":t=(0,s.translate)("You're fueled up and ready to go."),n="is-success";break;default:t=e}return[t,n]},renderContent:function(){var e="is-info",t="",n=this.props.jetpackStateNoticesErrorCode,r=this.props.jetpackStateNoticesMessageCode;if(n||r){if(n&&(t=this.getErrorFromKey(n),"access_denied"!==n&&(e="is-error")),r){var a=this.getMessageFromKey(r);t=a[0],e=a[1]}return o["default"].createElement(u["default"],{status:e,onDismissClick:this.dismissJetpackStateNotice},t)}},render:function(){return o["default"].createElement("div",null,this.state.showNotice?this.renderContent():null)}});t["default"]=(0,i.connect)(function(e){return{currentVersion:(0,l.getCurrentVersion)(e),jetpackStateNoticesErrorCode:(0,d.getJetpackStateNoticesErrorCode)(e),jetpackStateNoticesMessageCode:(0,d.getJetpackStateNoticesMessageCode)(e),jetpackStateNoticesErrorDescription:(0,d.getJetpackStateNoticesErrorDescription)(e)}})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(161),s=n(154),c=n(932),u=r(c),l=n(452),d=n(687),p=o["default"].createClass({displayName:"DismissableNotices",renderNotices:function(){var e=this.props.jetpackNotices;switch(e){case"disconnected":return!this.props.isDismissed(e)&&o["default"].createElement("div",null,o["default"].createElement(u["default"],{onDismissClick:this.props.dismissJetpackActionNotice.bind(null,e)},(0,l.translate)("You have successfully disconnected Jetpack"),o["default"].createElement("br",null),(0,l.translate)("Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/survey-disconnected/",target:"_blank"})}})));default:return!1}},render:function(){return o["default"].createElement("div",null,this.renderNotices())}});t["default"]=(0,s.connect)(function(e){return{jetpackNotices:(0,d.getJetpackNotices)(e),isDismissed:function(t){return(0,d.isNoticeDismissed)(e,t)}}},function(e){return(0,i.bindActionCreators)({dismissJetpackActionNotice:d.dismissJetpackActionNotice},e)})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=o["default"].createClass({displayName:"AdminNotices",componentDidMount:function(){var e=jQuery(this.refs.adminNotices),t=jQuery(".vp-notice");t.length>0&&t.each(function(){var t=jQuery(this).addClass("dops-notice is-warning").removeClass("wrap vp-notice");t.find("a").addClass("dops-notice__action").appendTo(t),t.find(".vp-message").removeClass("vp-message").addClass("dops-notice__text"),t.find("h3").replaceWith(function(){return jQuery("<strong />",{html:this.innerHTML})}),t.find("p").replaceWith(function(){return jQuery("<div/>",{html:this.innerHTML})}),t.prependTo(e).wrapInner('<div class="dops-notice__content">').show()});var n=jQuery(".woocommerce-message");n.length>0&&n.each(function(){var t=jQuery(this).addClass("dops-notice is-basic").removeClass("updated wc-connect");t.find(".button-primary").addClass("dops-notice__action").removeClass("button-primary").detach().appendTo(t),t.find("p").not(".submit").wrapAll('<div class="dops-notice__text"/>');var n=t.find(".dops-notice__text");n.find("p").replaceWith(function(){return jQuery("<div/>",{html:this.innerHTML,"class":"dops-notice__moved_text"})}),n.find("br").remove(),t.find(".button-secondary").removeClass("button-secondary").detach().appendTo(n),t.find(".submit").remove(),t.find(".woocommerce-message-close").removeClass("woocommerce-message-close").addClass("dops-notice__action"),t.prependTo(e).wrapInner('<div class="dops-notice__content">').show(),t.find(".dops-notice__action").not(":first").removeClass("dops-notice__action").detach().appendTo(t.find(".dops-notice__text"))})},render:function(){return o["default"].createElement("div",{ref:"adminNotices"})}});t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.SearchResults=void 0;var o=n(142),i=r(o),s=n(154),c=n(849),u=r(c),l=n(938),d=n(582),p=r(d),f=n(829),h=r(f),m=n(802),M=r(m),_=n(1047),g=r(_),v=n(452),b=n(648),y=r(b),A=n(957),T=r(A),L=n(631),E=n(959),w=n(433),z=n(690),S=n(681),k=n(942),O=r(k),N=n(684),C=t.SearchResults=function(e){var t=e.siteAdminUrl,n=e.toggleModule,r=e.isModuleActivated,o=e.isTogglingModule,s=e.getModule,c=e.getModules,d=e.searchTerm,f=e.unavailableInDevMode,m=e.isFetchingPluginsData,_=e.isPluginActive,b=c(),A=[["scan",(0,v.translate)("Security Scanning"),(0,v.translate)("Automatically scan your site for common threats and attacks."),"https://vaultpress.com/jetpack/","security scan threat attacks pro scanning"],["akismet","Akismet",(0,v.translate)("Keep those spammers away!"),"https://akismet.com/jetpack/","spam security comments pro"],["backups",(0,v.translate)("Site Backups"),(0,v.translate)("Keep your site backed up!"),"https://vaultpress.com/jetpack/","backup restore pro security"]],L=void 0;return(0,p["default"])(b,function(e){"vaultpress"!==e.module?A.push([e.module,s(e.module).name,s(e.module).description,s(e.module).learn_more_button,s(e.module).long_description,s(e.module).search_terms,s(e.module).additional_search_queries,s(e.module).short_description,s(e.module).feature.toString()]):""}),L=A.map(function(e){var c="scan"===e[0]||"akismet"===e[0]||"backups"===e[0],d={},p=f(e[0]),g=p?(0,v.translate)("Unavailable in Dev Mode"):i["default"].createElement(l.ModuleToggle,{slug:e[0],activated:r(e[0]),toggling:o(e[0]),toggleModule:n}),b=p?"devmode-disabled":"";return c&&(d={module:e[0],configure_url:""},g=i["default"].createElement(O["default"],{proFeature:e[0]}),e[1]=i["default"].createElement("span",null,e[1],i["default"].createElement(h["default"],{compact:!0,href:"#professional"},(0,v.translate)("Pro"))),m||("akismet"===e[0]&&_("akismet/akismet.php")?d.configure_url=t+"admin.php?page=akismet-key-config":"scan"!==e[0]&&"backups"!==e[0]||!_("vaultpress/vaultpress.php")||(d.configure_url="https://dashboard.vaultpress.com/"))),1===e.length?i["default"].createElement("h1",null,e[0]):i["default"].createElement(u["default"],{key:e[0],className:b,header:e[1],searchTerms:e.toString().replace(/<(?:.|\n)*?>/gm,""),subheader:e[2],summary:g,expandedSummary:g,clickableHeaderText:!0,onOpen:function(){return y["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:e[0],path:"/search"})}},r(e[0])||c?i["default"].createElement(E.AllModuleSettings,{module:c?d:s(e[0])}):i["default"].createElement("div",{dangerouslySetInnerHTML:a(s(e[0]))}),i["default"].createElement("br",null),i["default"].createElement("div",{className:"jp-module-settings__read-more"},i["default"].createElement(h["default"],{borderless:!0,compact:!0,href:e[3]},i["default"].createElement(M["default"],{icon:"help-outline"}),i["default"].createElement("span",{className:"screen-reader-text"},(0,v.translate)("Learn More")))))}),i["default"].createElement("div",null,i["default"].createElement(T["default"],null),i["default"].createElement(g["default"],{filter:d(),noResultsText:(0,v.translate)("No Results Found.")},L))};t["default"]=(0,s.connect)(function(e){return{isModuleActivated:function(t){return(0,w.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,w.isActivatingModule)(e,t)||(0,w.isDeactivatingModule)(e,t)},getModule:function(t){return(0,w.getModule)(e,t)},getModules:function(){return(0,w.getModules)(e)},searchTerm:function(){return(0,z.getSearchTerm)(e)},sitePlan:function(){return(0,S.getSitePlan)(e)},unavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},isFetchingPluginsData:(0,N.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,N.isPluginActive)(e,t)}}},function(e){return{toggleModule:function(t,n){return e(n?(0,w.deactivateModule)(t):(0,w.activateModule)(t))}}})(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=o["default"].createClass({displayName:"Hider",propTypes:{hide:o["default"].PropTypes.bool},render:function(){return o["default"].createElement("div",{
|
94 |
className:"design-assets__group",style:this.props.hide?{display:"none"}:{}},this.props.children)}}),s=o["default"].createClass({displayName:"FilterSummary",getDefaultProps:function(){return{noResultsText:"No Results Found"}},propTypes:{noResultsText:o["default"].PropTypes.string},render:function(){return 0===this.props.items.length?o["default"].createElement("p",null,this.props.noResultsText):null}});t["default"]=o["default"].createClass({displayName:"Collection",shouldWeHide:function(e){var t=void 0,n=void 0;return t=this.props.filter||"",n=e.props.searchTerms,this.props.component?e.type.displayName.toLowerCase()!==this.props.component.replace(/-([a-z])/g,"$1"):(e.props.searchKeywords&&(n+=" "+e.props.searchKeywords),!(!t||n.toLowerCase().indexOf(t)>-1))},visibleExamples:function(e){return e.filter(function(e){return!e.props.hide})},render:function(){var e=this,t=void 0,n=void 0;return n=o["default"].Children.map(this.props.children,function(t){return o["default"].createElement(i,{hide:e.shouldWeHide(t),key:"example-"+t.type.displayName},t)}),this.props.component||(t=o["default"].createElement(s,{items:this.visibleExamples(n),total:this.props.children.length,noResultsText:this.props.noResultsText})),o["default"].createElement("div",{className:"collection"},t,n)}})},,,,,function(e,t,n,r,a,o,i,s,c,u){"use strict";function l(e){return e&&e.__esModule?e:{"default":e}}function d(e){return"string"==typeof e&&"/"===e.charAt(0)}function p(){var e=L.getHashPath();return!!d(e)||(L.replaceHashPath("/"+e),!1)}function f(e,t,n){return e+(e.indexOf("?")===-1?"?":"&")+(t+"="+n)}function h(e,t){return e.replace(new RegExp("[?&]?"+t+"=[a-zA-Z0-9]+"),"")}function m(e,t){var n=e.match(new RegExp("\\?.*?\\b"+t+"=(.+?)\\b"));return n&&n[1]}function M(){function e(){var e=L.getHashPath(),t=void 0,n=void 0;v?(t=m(e,v),e=h(e,v),t?n=E.readState(t):(n=null,t=w.createKey(),L.replaceHashPath(f(e,v,t)))):t=n=null;var r=A.parsePath(e);return w.createLocation(_({},r,{state:n}),void 0,t)}function t(t){function n(){p()&&r(e())}var r=t.transitionTo;return p(),L.addEventListener(window,"hashchange",n),function(){L.removeEventListener(window,"hashchange",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,a=e.state,o=e.action,i=e.key;if(o!==y.POP){var s=(t||"")+n+r;v?(s=f(s,v,i),E.saveState(i,a)):e.key=e.state=null;var c=L.getHashPath();o===y.PUSH?c!==s&&(window.location.hash=s):c!==s&&L.replaceHashPath(s)}}function r(e){1===++k&&(O=t(w));var n=w.listenBefore(e);return function(){n(),0===--k&&O()}}function a(e){1===++k&&(O=t(w));var n=w.listen(e);return function(){n(),0===--k&&O()}}function o(e){w.push(e)}function i(e){w.replace(e)}function s(e){w.go(e)}function c(e){return"#"+w.createHref(e)}function u(e){1===++k&&(O=t(w)),w.registerTransitionHook(e)}function l(e){w.unregisterTransitionHook(e),0===--k&&O()}function d(e,t){w.pushState(e,t)}function M(e,t){w.replaceState(e,t)}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];T.canUseDOM?void 0:b["default"](!1);var v=g.queryKey;(void 0===v||v)&&(v="string"==typeof v?v:S);var w=z["default"](_({},g,{getCurrentLocation:e,finishTransition:n,saveState:E.saveState})),k=0,O=void 0;L.supportsGoWithoutReloadUsingHash();return _({},w,{listenBefore:r,listen:a,push:o,replace:i,go:s,createHref:c,registerTransitionHook:u,unregisterTransitionHook:l,pushState:d,replaceState:M})}t.__esModule=!0;var _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g=n(r),v=(l(g),n(177)),b=l(v),y=n(a),A=n(o),T=n(i),L=n(s),E=n(c),w=n(u),z=l(w),S="_k";t["default"]=M,e.exports=t["default"]},function(e,t,n,r){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=e.match(/^https?:\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}function i(e){var t=o(e),n="",r="",a=t.indexOf("#");a!==-1&&(r=t.substring(a),t=t.substring(0,a));var i=t.indexOf("?");return i!==-1&&(n=t.substring(i),t=t.substring(0,i)),""===t&&(t="/"),{pathname:t,search:n,hash:r}}t.__esModule=!0,t.extractPath=o,t.parsePath=i;var s=n(r);a(s)},function(e,t,n,r){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function o(e){return u+e}function i(e,t){try{null==t?window.sessionStorage.removeItem(o(e)):window.sessionStorage.setItem(o(e),JSON.stringify(t))}catch(n){if(n.name===d)return;if(l.indexOf(n.name)>=0&&0===window.sessionStorage.length)return;throw n}}function s(e){var t=void 0;try{t=window.sessionStorage.getItem(o(e))}catch(n){if(n.name===d)return null}if(t)try{return JSON.parse(t)}catch(n){}return null}t.__esModule=!0,t.saveState=i,t.readState=s;var c=n(r),u=(a(c),"@@History/"),l=["QuotaExceededError","QUOTA_EXCEEDED_ERR"],d="SecurityError"},function(e,t,n,r,a,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function s(e){function t(e){return d.canUseDOM?void 0:l["default"](!1),n.listen(e)}var n=h["default"](c({getUserConfirmation:p.getUserConfirmation},e,{go:p.go}));return c({},n,{listen:t})}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(177),l=i(u),d=n(r),p=n(a),f=n(o),h=i(f);t["default"]=s,e.exports=t["default"]},function(e,t,n,r,a,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function s(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?l.POP:arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];"string"==typeof e&&(e=d.parsePath(e)),"object"==typeof t&&(e=c({},e,{state:t}),t=n||l.POP,n=r);var a=e.pathname||"/",o=e.search||"",i=e.hash||"",s=e.state||null;return{pathname:a,search:o,hash:i,state:s,action:t,key:n}}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(r),l=(i(u),n(a)),d=n(o);t["default"]=s,e.exports=t["default"]},function(e,t,n,r){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){var r=e(t,n);e.length<2&&n(r)}t.__esModule=!0;var i=n(r);a(i);t["default"]=o,e.exports=t["default"]},function(e,t,n,r){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return function(){return e.apply(this,arguments)}}t.__esModule=!0;var i=n(r);a(i);t["default"]=o,e.exports=t["default"]},function(e,t,n,r,a){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var s=n(349),c=i(s),u=n(r),l=o(u),d=n(a),p=o(d),f=(0,c["default"])({},l,p);t["default"]=f,e.exports=t["default"]},function(e,t,n,r){var a=n(r),o=a(Object,"create");e.exports=o},function(e,t,n,r,a){var o=n(r),i=n(a),s=o(i,"Map");e.exports=s},function(e,t,n,r){var a=n(r),o=a.Symbol;e.exports=o},function(e,t,n,r,a){var o=n(r),i=n(a),s=i(o);e.exports=s},function(e,t,n,r,a){function o(e,t){return e&&i(e,t,s)}var i=n(r),s=n(a);e.exports=o},function(e,t,n,r){function a(e,t){return function(n,r){if(null==n)return n;if(!o(n))return e(n,r);for(var a=n.length,i=t?a:-1,s=Object(n);(t?i--:++i<a)&&r(s[i],i,s)!==!1;);return n}}var o=n(r);e.exports=a},function(e,t,n,r,a,o){function i(e,t,n,r,a){return e===t||(null==e||null==t||!c(e)&&!u(t)?e!==e&&t!==t:s(e,t,i,n,r,a))}var s=n(r),c=n(a),u=n(o);e.exports=i},function(e,t,n,r){var a=n(r),o=a.Uint8Array;e.exports=o},function(e,t,n,r,a){var o=n(r),i=n(a),s=o(i,"Set");e.exports=s},function(e,t,n,r,a){var o=n(r),i=n(a),s=o(i,"WeakMap");e.exports=s},function(e,t,n,r){function a(e){return e===e&&!o(e)}var o=n(r);e.exports=a}]));
|
20 |
return H&&H.action===f.POP?Y.indexOf(H.key):B?Y.indexOf(B.key):-1}function n(e){var n=t();B=e,B.action===f.PUSH?Y=[].concat(Y.slice(0,n+1),[B.key]):B.action===f.REPLACE&&(Y[n]=B.key),R.forEach(function(e){e(B)})}function r(e){if(R.push(e),B)e(B);else{var t=C();Y=[t.key],n(t)}return function(){R=R.filter(function(t){return t!==e})}}function i(e,t){p.loopAsync(q.length,function(t,n,r){_["default"](q[t],e,function(e){null!=e?r(e):n()})},function(e){j&&"string"==typeof e?j(e,function(e){t(e!==!1)}):t(e!==!1)})}function c(e){B&&o(B,e)||(H=e,i(e,function(t){if(H===e)if(t){if(e.action===f.PUSH){var r=A(B),a=A(e);a===r&&l["default"](B.state,e.state)&&(e.action=f.REPLACE)}D(e)!==!1&&n(e)}else if(B&&e.action===f.POP){var o=Y.indexOf(B.key),i=Y.indexOf(e.key);o!==-1&&i!==-1&&P(o-i)}}))}function u(e){c(L(e,f.PUSH,y()))}function h(e){c(L(e,f.REPLACE,y()))}function M(){P(-1)}function g(){P(1)}function y(){return a(W)}function A(e){if(null==e||"string"==typeof e)return e;var t=e.pathname,n=e.search,r=e.hash,a=t;return n&&(a+=n),r&&(a+=r),a}function T(e){return A(e)}function L(e,t){var n=arguments.length<=2||void 0===arguments[2]?y():arguments[2];return"object"==typeof t&&("string"==typeof e&&(e=d.parsePath(e)),e=s({},e,{state:t}),t=n,n=arguments[3]||y()),m["default"](e,t,n)}function E(e){B?(w(B,e),n(B)):w(C(),e)}function w(e,t){e.state=s({},e.state,t),x(e.key,e.state)}function z(e){q.indexOf(e)===-1&&q.push(e)}function S(e){q=q.filter(function(t){return t!==e})}function k(e,t){"string"==typeof t&&(t=d.parsePath(t)),u(s({state:e},t))}function O(e,t){"string"==typeof t&&(t=d.parsePath(t)),h(s({state:e},t))}var N=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],C=N.getCurrentLocation,D=N.finishTransition,x=N.saveState,P=N.go,j=N.getUserConfirmation,W=N.keyLength;"number"!=typeof W&&(W=b);var q=[],Y=[],R=[],B=void 0,H=void 0;return{listenBefore:e,listen:r,transitionTo:c,push:u,replace:h,go:P,goBack:M,goForward:g,createKey:y,createPath:A,createHref:T,createLocation:L,setState:v["default"](E,"setState is deprecated; use location.key to save state instead"),registerTransitionHook:v["default"](z,"registerTransitionHook is deprecated; use listenBefore instead"),unregisterTransitionHook:v["default"](S,"unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead"),pushState:v["default"](k,"pushState is deprecated; use push instead"),replaceState:v["default"](O,"replaceState is deprecated; use replace instead")}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(188),u=(r(c),n(196)),l=r(u),d=n(190),p=n(199),f=n(189),h=n(200),m=r(h),M=n(201),_=r(M),g=n(202),v=r(g),b=6;t["default"]=i,e.exports=t["default"]},function(e,t,n){function r(e){return null===e||void 0===e}function a(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}function o(e,t,n){var o,l;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(c(e))return!!c(t)&&(e=i.call(e),t=i.call(t),u(e,t,n));if(a(e)){if(!a(t))return!1;if(e.length!==t.length)return!1;for(o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0}try{var d=s(e),p=s(t)}catch(f){return!1}if(d.length!=p.length)return!1;for(d.sort(),p.sort(),o=d.length-1;o>=0;o--)if(d[o]!=p[o])return!1;for(o=d.length-1;o>=0;o--)if(l=d[o],!u(e[l],t[l],n))return!1;return typeof e==typeof t}var i=Array.prototype.slice,s=n(197),c=n(198),u=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:o(e,t,n))}},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var a="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=a?n:r,t.supported=n,t.unsupported=r},function(e,t){"use strict";function n(e,t,n){function a(){return s=!0,c?void(l=[].concat(r.call(arguments))):void n.apply(this,arguments)}function o(){if(!s&&(u=!0,!c)){for(c=!0;!s&&i<e&&u;)u=!1,t.call(this,i++,o,a);return c=!1,s?void n.apply(this,l):void(i>=e&&u&&(s=!0,n()))}}var i=0,s=!1,c=!1,u=!1,l=void 0;o()}t.__esModule=!0;var r=Array.prototype.slice;t.loopAsync=n},[1056,188,189,190],[1057,188],[1058,188],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return c.stringify(e).replace(/%20/g,"+")}function o(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=A(t.substring(1)),e[h]={search:t,searchBase:""}}return e}function n(e,t){var n,r=e[h],a=t?y(t):"";if(!r&&!a)return e;"string"==typeof e&&(e=d.parsePath(e));var o=void 0;o=r&&e.search===r.search?r.searchBase:e.search||"";var s=o;return a&&(s+=(s?"&":"?")+a),i({},e,(n={search:s},n[h]={search:s,searchBase:o},n))}function r(e){return b.listenBefore(function(n,r){l["default"](e,t(n),r)})}function o(e){return b.listen(function(n){e(t(n))})}function s(e){b.push(n(e,e.query))}function c(e){b.replace(n(e,e.query))}function u(e,t){return b.createPath(n(e,t||e.query))}function p(e,t){return b.createHref(n(e,t||e.query))}function M(e){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];var i=b.createLocation.apply(b,[n(e,e.query)].concat(a));return e.query&&(i.query=e.query),t(i)}function _(e,t,n){"string"==typeof t&&(t=d.parsePath(t)),s(i({state:e},t,{query:n}))}function g(e,t,n){"string"==typeof t&&(t=d.parsePath(t)),c(i({state:e},t,{query:n}))}var v=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],b=e(v),y=v.stringifyQuery,A=v.parseQueryString;return"function"!=typeof y&&(y=a),"function"!=typeof A&&(A=m),i({},b,{listenBefore:r,listen:o,push:s,replace:c,createPath:u,createHref:p,createLocation:M,pushState:f["default"](_,"pushState is deprecated; use push instead"),replaceState:f["default"](g,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(188),c=(r(s),n(204)),u=n(201),l=r(u),d=n(190),p=n(202),f=r(p),h="$searchBase",m=c.parse;t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";var r=n(205);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e){return"string"!=typeof e?{}:(e=e.trim().replace(/^(\?|#|&)/,""),e?e.split("&").reduce(function(e,t){var n=t.replace(/\+/g," ").split("="),r=n.shift(),a=n.length>0?n.join("="):void 0;return r=decodeURIComponent(r),a=void 0===a?null:decodeURIComponent(a),e.hasOwnProperty(r)?Array.isArray(e[r])?e[r].push(a):e[r]=[e[r],a]:e[r]=a,e},{}):{})},t.stringify=function(e){return e?Object.keys(e).sort().map(function(t){var n=e[t];return void 0===n?"":null===n?t:Array.isArray(n)?n.slice().sort().map(function(e){return r(t)+"="+r(e)}).join("&"):r(t)+"="+r(n)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function o(e,t){function n(t){var n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=arguments.length<=2||void 0===arguments[2]?null:arguments[2],a=void 0;return n&&n!==!0||null!==r?(t={pathname:t,query:n},a=r||!1):(t=e.createLocation(t),a=n),(0,f["default"])(t,a,y.location,y.routes,y.params)}function r(t){return e.createLocation(t,c.REPLACE)}function o(e,n){A&&A.location===e?s(A,n):(0,_["default"])(t,e,function(t,r){t?n(t):r?s(i({},r,{location:e}),n):n()})}function s(e,t){function n(n,r){return n||r?a(n,r):void(0,m["default"])(e,function(n,r){n?t(n):t(null,null,y=i({},e,{components:r}))})}function a(e,n){e?t(e):t(null,r(n))}var o=(0,l["default"])(y,e),s=o.leaveRoutes,c=o.changeRoutes,u=o.enterRoutes;(0,d.runLeaveHooks)(s,y),s.filter(function(e){return u.indexOf(e)===-1}).forEach(g),(0,d.runChangeHooks)(c,y,e,function(t,r){return t||r?a(t,r):void(0,d.runEnterHooks)(u,e,n)})}function u(e){var t=arguments.length<=1||void 0===arguments[1]||arguments[1];return e.__id__||t&&(e.__id__=T++)}function p(e){return e.reduce(function(e,t){return e.push.apply(e,L[u(t)]),e},[])}function h(e,n){(0,_["default"])(t,e,function(t,r){if(null==r)return void n();A=i({},r,{location:e});for(var a=p((0,l["default"])(y,A).leaveRoutes),o=void 0,s=0,c=a.length;null==o&&s<c;++s)o=a[s](e);n(o)})}function M(){if(y.routes){for(var e=p(y.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&n<r;++n)t=e[n]();return t}}function g(e){var t=u(e,!1);t&&(delete L[t],a(L)||(E&&(E(),E=null),w&&(w(),w=null)))}function v(t,n){var r=u(t),o=L[r];if(o)o.indexOf(n)===-1&&o.push(n);else{var i=!a(L);L[r]=[n],i&&(E=e.listenBefore(h),e.listenBeforeUnload&&(w=e.listenBeforeUnload(M)))}return function(){var e=L[r];if(e){var a=e.filter(function(e){return e!==n});0===a.length?g(t):L[r]=a}}}function b(t){return e.listen(function(n){y.location===n?t(null,y):o(n,function(n,r,a){n?t(n):r?e.transitionTo(r):a&&t(null,a)})})}var y={},A=void 0,T=1,L=Object.create(null),E=void 0,w=void 0;return{isActive:n,match:o,listenBeforeLeavingRoute:v,listen:b}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var s=n(182),c=(r(s),n(189)),u=n(207),l=r(u),d=n(208),p=n(210),f=r(p),h=n(211),m=r(h),M=n(213),_=r(M);e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=(0,o.getParamNames)(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function a(e,t){var n=e&&e.routes,a=t.routes,o=void 0,i=void 0,s=void 0;return n?!function(){var c=!1;o=n.filter(function(n){if(c)return!0;var o=a.indexOf(n)===-1||r(n,e,t);return o&&(c=!0),o}),o.reverse(),s=[],i=[],a.forEach(function(e){var t=n.indexOf(e)===-1,r=o.indexOf(e)!==-1;t||r?s.push(e):i.push(e)})}():(o=[],i=[],s=a),{leaveRoutes:o,changeRoutes:i,enterRoutes:s}}t.__esModule=!0;var o=n(185);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){return function(){for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];if(e.apply(t,a),e.length<n){var i=a[a.length-1];i()}}}function o(e){return e.reduce(function(e,t){return t.onEnter&&e.push(a(t.onEnter,t,3)),e},[])}function i(e){return e.reduce(function(e,t){return t.onChange&&e.push(a(t.onChange,t,4)),e},[])}function s(e,t,n){function r(e,t,n){return t?void(a={pathname:t,query:n,state:e}):void(a=e)}if(!e)return void n();var a=void 0;(0,d.loopAsync)(e,function(e,n,o){t(e,r,function(e){e||a?o(e,a):n()})},n)}function c(e,t,n){var r=o(e);return s(r.length,function(e,n,a){r[e](t,n,a)},n)}function u(e,t,n,r){var a=i(e);return s(a.length,function(e,r,o){a[e](t,n,r,o)},r)}function l(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}t.__esModule=!0,t.runEnterHooks=c,t.runChangeHooks=u,t.runLeaveHooks=l;var d=n(209),p=n(182);r(p)},function(e,t){"use strict";function n(e,t,n){function r(){return i=!0,s?void(u=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function a(){if(!i&&(c=!0,!s)){for(s=!0;!i&&o<e&&c;)c=!1,t.call(this,o++,a,r);return s=!1,i?void n.apply(this,u):void(o>=e&&c&&(i=!0,n()))}}var o=0,i=!1,s=!1,c=!1,u=void 0;a()}function r(e,t,n){function r(e,t,r){i||(t?(i=!0,n(t)):(o[e]=r,i=++s===a,i&&n(null,o)))}var a=e.length,o=[];if(0===a)return n(null,o);var i=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=n,t.mapAsync=r},function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":c(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function a(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function o(e,t,n){for(var r=e,a=[],o=[],i=0,s=t.length;i<s;++i){var c=t[i],l=c.path||"";if("/"===l.charAt(0)&&(r=e,a=[],o=[]),null!==r&&l){var d=(0,u.matchPattern)(l,r);if(d?(r=d.remainingPathname,a=[].concat(a,d.paramNames),o=[].concat(o,d.paramValues)):r=null,""===r)return a.every(function(e,t){return String(o[t])===String(n[e])})}}return!1}function i(e,t){return null==t?null==e:null==e||r(e,t)}function s(e,t,n,r,s){var c=e.pathname,u=e.query;return null!=n&&("/"!==c.charAt(0)&&(c="/"+c),!!(a(c,n.pathname)||!t&&o(c,r,s))&&i(u,n.query))}t.__esModule=!0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t["default"]=s;var u=n(185);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){if(t.component||t.components)return void n(null,t.component||t.components);var r=t.getComponent||t.getComponents;if(!r)return void n();var a=e.location,o=(0,c["default"])(e,a);r.call(t,o,n)}function o(e,t){(0,i.mapAsync)(e.routes,function(t,n,r){a(e,t,r)},t)}t.__esModule=!0;var i=n(209),s=n(212),c=r(s);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return o({},e,t)}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=a;var i=(n(181),n(182));r(i);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n,r,a){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var o=!0,i=void 0,c={location:t,params:s(n,r)},u=(0,h["default"])(c,t);return e.getChildRoutes(u,function(e,t){return t=!e&&(0,_.createRoutes)(t),o?void(i=[e,t]):void a(e,t)}),o=!1,i}function o(e,t,n,r,a){if(e.indexRoute)a(null,e.indexRoute);else if(e.getIndexRoute){var i={location:t,params:s(n,r)},c=(0,h["default"])(i,t);e.getIndexRoute(c,function(e,t){a(e,!e&&(0,_.createRoutes)(t)[0])})}else e.childRoutes?!function(){var i=e.childRoutes.filter(function(e){return!e.path});(0,p.loopAsync)(i.length,function(e,a,s){o(i[e],t,n,r,function(t,n){if(t||n){var r=[i[e]].concat(Array.isArray(n)?n:[n]);s(t,r)}else a()})},function(e,t){a(null,t)})}():a()}function i(e,t,n){return t.reduce(function(e,t,r){var a=n&&n[r];return Array.isArray(e[t])?e[t].push(a):t in e?e[t]=[e[t],a]:e[t]=a,e},e)}function s(e,t){return i({},e,t)}function c(e,t,n,r,i,c){var l=e.path||"";if("/"===l.charAt(0)&&(n=t.pathname,r=[],i=[]),null!==n&&l){try{var p=(0,m.matchPattern)(l,n);p?(n=p.remainingPathname,r=[].concat(r,p.paramNames),i=[].concat(i,p.paramValues)):n=null}catch(f){c(f)}if(""===n){var h=function(){var n={routes:[e],params:s(r,i)};return o(e,t,r,i,function(e,t){if(e)c(e);else{if(Array.isArray(t)){var r;(r=n.routes).push.apply(r,t)}else t&&n.routes.push(t);c(null,n)}}),{v:void 0}}();if("object"===("undefined"==typeof h?"undefined":d(h)))return h.v}}if(null!=n||e.childRoutes){var M=function(a,o){a?c(a):o?u(o,t,function(t,n){t?c(t):n?(n.routes.unshift(e),c(null,n)):c()},n,r,i):c()},_=a(e,t,r,i,M);_&&M.apply(void 0,_)}else c()}function u(e,t,n,r){var a=arguments.length<=4||void 0===arguments[4]?[]:arguments[4],o=arguments.length<=5||void 0===arguments[5]?[]:arguments[5];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=l({},t,{pathname:"/"+t.pathname})),r=t.pathname),(0,p.loopAsync)(e.length,function(n,i,s){c(e[n],t,r,a,o,function(e,t){e||t?s(e,t):i()})},n)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t["default"]=u;var p=n(209),f=n(212),h=r(f),m=n(185),M=n(182),_=(r(M),n(179));e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(177),s=r(i),c=n(142),u=r(c),l=n(181),d=(r(l),n(215)),p=r(d),f=n(179),h=n(182),m=(r(h),u["default"].PropTypes),M=m.array,_=m.func,g=m.object,v=u["default"].createClass({displayName:"RouterContext",propTypes:{history:g,router:g.isRequired,location:g.isRequired,routes:M.isRequired,params:g.isRequired,components:M.isRequired,createElement:_.isRequired},getDefaultProps:function(){return{createElement:u["default"].createElement}},childContextTypes:{history:g,location:g.isRequired,router:g.isRequired},getChildContext:function(){var e=this.props,t=e.router,n=e.history,r=e.location;return t||(t=o({},n,{setRouteLeaveHook:n.listenBeforeLeavingRoute}),delete t.listenBeforeLeavingRoute),{history:n,location:r,router:t}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.history,r=t.location,i=t.routes,c=t.params,l=t.components,d=null;return l&&(d=l.reduceRight(function(t,s,u){if(null==s)return t;var l=i[u],d=(0,p["default"])(l,c),h={history:n,location:r,params:c,route:l,routeParams:d,routes:i};if((0,f.isReactChildren)(t))h.children=t;else if(t)for(var m in t)Object.prototype.hasOwnProperty.call(t,m)&&(h[m]=t[m]);if("object"===("undefined"==typeof s?"undefined":a(s))){var M={};for(var _ in s)Object.prototype.hasOwnProperty.call(s,_)&&(M[_]=e.createElement(s[_],o({key:_},h)));return M}return e.createElement(s,h)},d)),null===d||d===!1||u["default"].isValidElement(d)?void 0:(0,s["default"])(!1),d}});t["default"]=v,e.exports=t["default"]},function(e,t,n){"use strict";function r(e,t){var n={};return e.path?((0,a.getParamNames)(e.path).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n):n}t.__esModule=!0;var a=n(185);t["default"]=r,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return i({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive})}function o(e,t){return e=i({},e,t)}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createRouterObject=a,t.createRoutingHistory=o;var s=n(181);r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return 0===e.button}function i(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function c(e,t){var n=t.query,r=t.hash,a=t.state;return n||r||a?{pathname:e,query:n,hash:r,state:a}:e}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(142),d=r(l),p=n(182),f=(r(p),n(177)),h=r(f),m=n(180),M=d["default"].PropTypes,_=M.bool,g=M.object,v=M.string,b=M.func,y=M.oneOfType,A=d["default"].createClass({displayName:"Link",contextTypes:{router:m.routerShape},propTypes:{to:y([v,g]).isRequired,query:g,hash:v,state:g,activeStyle:g,activeClassName:v,onlyActiveOnIndex:_.isRequired,onClick:b,target:v},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented&&(this.context.router?void 0:(0,h["default"])(!1),!i(e)&&o(e)&&!this.props.target)){e.preventDefault();var t=this.props,n=t.to,r=t.query,a=t.hash,s=t.state,u=c(n,{query:r,hash:a,state:s});this.context.router.push(u)}},render:function(){var e=this.props,t=e.to,n=e.query,r=e.hash,o=e.state,i=e.activeClassName,l=e.activeStyle,p=e.onlyActiveOnIndex,f=a(e,["to","query","hash","state","activeClassName","activeStyle","onlyActiveOnIndex"]),h=this.context.router;if(h){var m=c(t,{query:n,hash:r,state:o});f.href=h.createHref(m),(i||null!=l&&!s(l))&&h.isActive(m,p)&&(i&&(f.className?f.className+=" "+i:f.className=i),l&&(f.style=u({},f.style,l)))}return d["default"].createElement("a",u({},f,{onClick:this.handleClick}))}});t["default"]=A,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(217),c=r(s),u=i["default"].createClass({displayName:"IndexLink",render:function(){return i["default"].createElement(c["default"],a({},this.props,{onlyActiveOnIndex:!0}))}});t["default"]=u,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.displayName||e.name||"Component"}function o(e,t){var n=t&&t.withRef,r=l["default"].createClass({displayName:"WithRouter",contextTypes:{router:f.routerShape},propTypes:{router:f.routerShape},getWrappedInstance:function(){return n?void 0:(0,c["default"])(!1),this.wrappedInstance},render:function(){var t=this,r=this.props.router||this.context.router,a=i({},this.props,{router:r});return n&&(a.ref=function(e){t.wrappedInstance=e}),l["default"].createElement(e,a)}});return r.displayName="withRouter("+a(e)+")",r.WrappedComponent=e,(0,p["default"])(r,e)}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var s=n(177),c=r(s),u=n(142),l=r(u),d=n(176),p=r(d),f=n(180);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(182),s=(r(i),n(177)),c=r(s),u=n(221),l=r(u),d=n(184),p=o["default"].PropTypes,f=p.string,h=p.object,m=o["default"].createClass({displayName:"IndexRedirect",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=l["default"].createRouteFromReactElement(e))}},propTypes:{to:f.isRequired,query:h,state:h,onEnter:d.falsy,children:d.falsy},render:function(){(0,c["default"])(!1)}});t["default"]=m,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(177),s=r(i),c=n(179),u=n(185),l=n(184),d=o["default"].PropTypes,p=d.string,f=d.object,h=o["default"].createClass({displayName:"Redirect",statics:{createRouteFromReactElement:function(e){var t=(0,c.createRouteFromReactElement)(e);return t.from&&(t.path=t.from),t.onEnter=function(e,n){var r=e.location,a=e.params,o=void 0;if("/"===t.to.charAt(0))o=(0,u.formatPattern)(t.to,a);else if(t.to){var i=e.routes.indexOf(t),s=h.getRoutePattern(e.routes,i-1),c=s.replace(/\/*$/,"/")+t.to;o=(0,u.formatPattern)(c,a)}else o=r.pathname;n({pathname:o,query:t.query||r.query,state:t.state||r.state})},t},getRoutePattern:function(e,t){for(var n="",r=t;r>=0;r--){var a=e[r],o=a.path||"";if(n=o.replace(/\/*$/,"/")+n,0===o.indexOf("/"))break}return"/"+n}},propTypes:{path:p,from:p,to:p.isRequired,query:f,state:f,onEnter:l.falsy,children:l.falsy},render:function(){(0,s["default"])(!1)}});t["default"]=h,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(182),s=(r(i),n(177)),c=r(s),u=n(179),l=n(184),d=o["default"].PropTypes.func,p=o["default"].createClass({displayName:"IndexRoute",statics:{createRouteFromReactElement:function(e,t){t&&(t.indexRoute=(0,u.createRouteFromReactElement)(e))}},propTypes:{path:l.falsy,component:l.component,components:l.components,getComponent:d,getComponents:d},render:function(){(0,c["default"])(!1)}});t["default"]=p,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(177),s=r(i),c=n(179),u=n(184),l=o["default"].PropTypes,d=l.string,p=l.func,f=o["default"].createClass({displayName:"Route",statics:{createRouteFromReactElement:c.createRouteFromReactElement},propTypes:{path:d,component:u.component,components:u.components,getComponent:p,getComponents:p},render:function(){(0,s["default"])(!1)}});t["default"]=f,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(182),o=(r(a),n(184)),i={contextTypes:{history:o.history},componentWillMount:function(){this.history=this.context.history}};t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(182),o=(r(a),n(142)),i=r(o),s=n(177),c=r(s),u=i["default"].PropTypes.object,l={contextTypes:{history:u.isRequired,route:u},propTypes:{route:u},componentDidMount:function(){this.routerWillLeave?void 0:(0,c["default"])(!1);var e=this.props.route||this.context.route;e?void 0:(0,c["default"])(!1),this._unlistenBeforeLeavingRoute=this.context.history.listenBeforeLeavingRoute(e,this.routerWillLeave)},componentWillUnmount:function(){this._unlistenBeforeLeavingRoute&&this._unlistenBeforeLeavingRoute()}};t["default"]=l,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(182),o=(r(a),n(142)),i=r(o),s=i["default"].PropTypes.object,c={propTypes:{route:s.isRequired},childContextTypes:{route:s.isRequired},getChildContext:function(){return{route:this.props.route}},componentWillMount:function(){}};t["default"]=c,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=t.routes,r=a(t,["routes"]),o=(0,c["default"])(e)(r),s=(0,l["default"])(o,n);return i({},o,s)}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(203),c=r(s),u=n(206),l=r(u),d=n(182);r(d);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(142),o=r(a),i=n(214),s=r(i),c=n(182),u=(r(c),o["default"].createClass({displayName:"RoutingContext",componentWillMount:function(){},render:function(){return o["default"].createElement(s["default"],this.props)}}));t["default"]=u,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){var n=e.history,r=e.routes,o=e.location,s=a(e,["history","routes","location"]);n||o?void 0:(0,c["default"])(!1),n=n?n:(0,l["default"])(s);var u=(0,p["default"])(n,(0,f.createRoutes)(r)),d=void 0;o?o=n.createLocation(o):d=n.listen(function(e){o=e});var m=(0,h.createRouterObject)(n,u);n=(0,h.createRoutingHistory)(n,u),u.match(o,function(e,r,a){t(e,r,a&&i({},a,{history:n,router:m,matchContext:{history:n,transitionManager:u,router:m}})),d&&d()})}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(177),c=r(s),u=n(230),l=r(u),d=n(206),p=r(d),f=n(179),h=n(216);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){var t=(0,l["default"])(e),n=function(){return t},r=(0,i["default"])((0,c["default"])(n))(e);return r.__v2_compatible__=!0,r}t.__esModule=!0,t["default"]=a;var o=n(203),i=r(o),s=n(231),c=r(s),u=n(232),l=r(u);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return function(){function t(){if(!y){if(null==b&&s.canUseDOM){var e=document.getElementsByTagName("base")[0],t=e&&e.getAttribute("href");null!=t&&(b=t)}y=!0}}function n(e){return t(),b&&null==e.basename&&(0===e.pathname.indexOf(b)?(e.pathname=e.pathname.substring(b.length),e.basename=b,""===e.pathname&&(e.pathname="/")):e.basename=""),e}function r(e){if(t(),!b)return e;"string"==typeof e&&(e=c.parsePath(e));var n=e.pathname,r="/"===b.slice(-1)?b:b+"/",a="/"===n.charAt(0)?n.slice(1):n,i=r+a;return o({},e,{pathname:i})}function a(e){return v.listenBefore(function(t,r){l["default"](e,n(t),r)})}function i(e){return v.listen(function(t){e(n(t))})}function u(e){v.push(r(e))}function d(e){v.replace(r(e))}function f(e){return v.createPath(r(e))}function h(e){return v.createHref(r(e))}function m(e){for(var t=arguments.length,a=Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return n(v.createLocation.apply(v,[r(e)].concat(a)))}function M(e,t){"string"==typeof t&&(t=c.parsePath(t)),u(o({state:e},t))}function _(e,t){"string"==typeof t&&(t=c.parsePath(t)),d(o({state:e},t))}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],v=e(g),b=g.basename,y=!1;return o({},v,{listenBefore:a,listen:i,push:u,replace:d,createPath:f,createHref:h,createLocation:m,pushState:p["default"](M,"pushState is deprecated; use push instead"),replaceState:p["default"](_,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(188),s=(r(i),n(191)),c=n(190),u=n(201),l=r(u),d=n(202),p=r(d);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})}function o(){function e(e,t){_[e]=t}function t(e){return _[e]}function n(){var e=m[M],n=e.basename,r=e.pathname,a=e.search,o=(n||"")+r+(a||""),s=void 0,c=void 0;e.key?(s=e.key,c=t(s)):(s=p.createKey(),c=null,e.key=s);var u=l.parsePath(o);return p.createLocation(i({},u,{state:c}),void 0,s)}function r(e){var t=M+e;return t>=0&&t<m.length}function o(e){if(e){if(!r(e))return;M+=e;var t=n();p.transitionTo(i({},t,{action:d.POP}))}}function s(t){switch(t.action){case d.PUSH:M+=1,M<m.length&&m.splice(M),m.push(t),e(t.key,t.state);break;case d.REPLACE:m[M]=t,e(t.key,t.state)}}var c=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(c)?c={entries:c}:"string"==typeof c&&(c={entries:[c]});var p=f["default"](i({},c,{getCurrentLocation:n,finishTransition:s,
|
21 |
saveState:e,go:o})),h=c,m=h.entries,M=h.current;"string"==typeof m?m=[m]:Array.isArray(m)||(m=["/"]),m=m.map(function(e){var t=p.createKey();return"string"==typeof e?{pathname:e,key:t}:"object"==typeof e&&e?i({},e,{key:t}):void u["default"](!1)}),null==M?M=m.length-1:M>=0&&M<m.length?void 0:u["default"](!1);var _=a(m);return p}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(188),c=(r(s),n(177)),u=r(c),l=n(190),d=n(189),p=n(195),f=r(p);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return function(t){var n=(0,i["default"])((0,c["default"])(e))(t);return n.__v2_compatible__=!0,n}}t.__esModule=!0,t["default"]=a;var o=n(203),i=r(o),s=n(231),c=r(s);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(214),c=r(s),u=n(182);r(u);t["default"]=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.map(function(e){return e.renderRouterContext}).filter(Boolean),s=t.map(function(e){return e.renderRouteComponent}).filter(Boolean),u=function(){var e=arguments.length<=0||void 0===arguments[0]?o.createElement:arguments[0];return function(t,n){return s.reduceRight(function(e,t){return t(e,n)},e(t,n))}};return function(e){return r.reduceRight(function(t,n){return n(t,e)},i["default"].createElement(c["default"],a({},e,{createElement:u(e.createElement)})))}},e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(236),o=r(a),i=n(237),s=r(i);t["default"]=(0,s["default"])(o["default"]),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){function e(e){try{e=e||window.history.state||{}}catch(t){e={}}var n=d.getWindowPath(),r=e,a=r.key,i=void 0;a?i=p.readState(a):(i=null,a=v.createKey(),_&&window.history.replaceState(o({},e,{key:a}),null));var s=u.parsePath(n);return v.createLocation(o({},s,{state:i}),void 0,a)}function t(t){function n(t){void 0!==t.state&&r(e(t.state))}var r=t.transitionTo;return d.addEventListener(window,"popstate",n),function(){d.removeEventListener(window,"popstate",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,a=e.hash,o=e.state,i=e.action,s=e.key;if(i!==c.POP){p.saveState(s,o);var u=(t||"")+n+r+a,l={key:s};if(i===c.PUSH){if(g)return window.location.href=u,!1;window.history.pushState(l,null,u)}else{if(g)return window.location.replace(u),!1;window.history.replaceState(l,null,u)}}}function r(e){1===++b&&(y=t(v));var n=v.listenBefore(e);return function(){n(),0===--b&&y()}}function a(e){1===++b&&(y=t(v));var n=v.listen(e);return function(){n(),0===--b&&y()}}function i(e){1===++b&&(y=t(v)),v.registerTransitionHook(e)}function f(e){v.unregisterTransitionHook(e),0===--b&&y()}var m=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];l.canUseDOM?void 0:s["default"](!1);var M=m.forceRefresh,_=d.supportsHistory(),g=!_||M,v=h["default"](o({},m,{getCurrentLocation:e,finishTransition:n,saveState:p.saveState})),b=0,y=void 0;return o({},v,{listenBefore:r,listen:a,registerTransitionHook:i,unregisterTransitionHook:f})}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(177),s=r(i),c=n(189),u=n(190),l=n(191),d=n(192),p=n(193),f=n(194),h=r(f);t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t["default"]=function(e){var t=void 0;return i&&(t=(0,o["default"])(e)()),t};var a=n(233),o=r(a),i=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(187),o=r(a),i=n(237),s=r(i);t["default"]=(0,s["default"])(o["default"]),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.routerMiddleware=t.routerActions=t.goForward=t.goBack=t.go=t.replace=t.push=t.CALL_HISTORY_METHOD=t.routerReducer=t.LOCATION_CHANGE=t.syncHistoryWithStore=void 0;var a=n(240);Object.defineProperty(t,"LOCATION_CHANGE",{enumerable:!0,get:function(){return a.LOCATION_CHANGE}}),Object.defineProperty(t,"routerReducer",{enumerable:!0,get:function(){return a.routerReducer}});var o=n(241);Object.defineProperty(t,"CALL_HISTORY_METHOD",{enumerable:!0,get:function(){return o.CALL_HISTORY_METHOD}}),Object.defineProperty(t,"push",{enumerable:!0,get:function(){return o.push}}),Object.defineProperty(t,"replace",{enumerable:!0,get:function(){return o.replace}}),Object.defineProperty(t,"go",{enumerable:!0,get:function(){return o.go}}),Object.defineProperty(t,"goBack",{enumerable:!0,get:function(){return o.goBack}}),Object.defineProperty(t,"goForward",{enumerable:!0,get:function(){return o.goForward}}),Object.defineProperty(t,"routerActions",{enumerable:!0,get:function(){return o.routerActions}});var i=n(242),s=r(i),c=n(243),u=r(c);t.syncHistoryWithStore=s["default"],t.routerMiddleware=u["default"]},function(e,t){"use strict";function n(){var e=arguments.length<=0||void 0===arguments[0]?o:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.type,i=t.payload;return n===a?r({},e,{locationBeforeTransitions:i}):e}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.routerReducer=n;var a=t.LOCATION_CHANGE="@@router/LOCATION_CHANGE",o={locationBeforeTransitions:null}},function(e,t){"use strict";function n(e){return function(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];return{type:r,payload:{method:e,args:n}}}}Object.defineProperty(t,"__esModule",{value:!0});var r=t.CALL_HISTORY_METHOD="@@router/CALL_HISTORY_METHOD",a=t.push=n("push"),o=t.replace=n("replace"),i=t.go=n("go"),s=t.goBack=n("goBack"),c=t.goForward=n("goForward");t.routerActions={push:a,replace:o,go:i,goBack:s,goForward:c}},function(e,t,n){"use strict";function r(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],r=n.selectLocationState,s=void 0===r?i:r,c=n.adjustUrlOnReplay,u=void 0===c||c;if("undefined"==typeof s(t.getState()))throw new Error("Expected the routing state to be available either as `state.routing` or as the custom expression you can specify as `selectLocationState` in the `syncHistoryWithStore()` options. Ensure you have added the `routerReducer` to your store's reducers via `combineReducers` or whatever method you use to isolate your reducers.");var l=void 0,d=void 0,p=void 0,f=void 0,h=function(e){var n=s(t.getState());return n.locationBeforeTransitions||(e?l:void 0)},m=h();if(u){var M=function(){var t=h(!0);m!==t&&(d=!0,m=t,e.transitionTo(a({},t,{action:"PUSH"})),d=!1)};p=t.subscribe(M),M()}var _=function(e){d||(m=e,!l&&(l=e,h())||t.dispatch({type:o.LOCATION_CHANGE,payload:e}))};return f=e.listen(_),a({},e,{listen:function(e){var n=h(!0),r=!1,a=t.subscribe(function(){var t=h(!0);t!==n&&(n=t,r||e(n))});return e(n),function(){r=!0,a()}},unsubscribe:function(){u&&p(),f()}})}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=r;var o=n(240),i=function(e){return e.routing}},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){return function(){return function(t){return function(n){if(n.type!==o.CALL_HISTORY_METHOD)return t(n);var a=n.payload,i=a.method,s=a.args;e[i].apply(e,r(s))}}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=a;var o=n(241)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(245),o=r(a),i=n(247),s=r(i),c=n(250),u=r(c);t.createHistory=u["default"];var l=n(258),d=r(l);t.createHashHistory=d["default"];var p=n(259),f=r(p);t.createMemoryHistory=f["default"];var h=n(260),m=r(h);t.useBasename=m["default"];var M=n(261),_=r(M);t.useBeforeUnload=_["default"];var g=n(262),v=r(g);t.useQueries=v["default"];var b=n(248),y=r(b);t.Actions=y["default"];var A=n(264),T=r(A);t.enableBeforeUnload=T["default"];var L=n(265),E=r(L);t.enableQueries=E["default"];var w=o["default"](s["default"],"Using createLocation without a history instance is deprecated; please use history.createLocation instead");t.createLocation=w},[1058,246],183,[1056,246,248,249],189,[1053,246],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){function e(e){e=e||window.history.state||{};var t=d.getWindowPath(),n=e,r=n.key,a=void 0;r?a=p.readState(r):(a=null,r=v.createKey(),_&&window.history.replaceState(o({},e,{key:r}),null,t));var i=u.parsePath(t);return v.createLocation(o({},i,{state:a}),void 0,r)}function t(t){function n(t){void 0!==t.state&&r(e(t.state))}var r=t.transitionTo;return d.addEventListener(window,"popstate",n),function(){d.removeEventListener(window,"popstate",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,a=e.hash,o=e.state,i=e.action,s=e.key;if(i!==c.POP){p.saveState(s,o);var u=(t||"")+n+r+a,l={key:s};if(i===c.PUSH){if(g)return window.location.href=u,!1;window.history.pushState(l,null,u)}else{if(g)return window.location.replace(u),!1;window.history.replaceState(l,null,u)}}}function r(e){1===++b&&(y=t(v));var n=v.listenBefore(e);return function(){n(),0===--b&&y()}}function a(e){1===++b&&(y=t(v));var n=v.listen(e);return function(){n(),0===--b&&y()}}function i(e){1===++b&&(y=t(v)),v.registerTransitionHook(e)}function f(e){v.unregisterTransitionHook(e),0===--b&&y()}var m=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];l.canUseDOM?void 0:s["default"](!1);var M=m.forceRefresh,_=d.supportsHistory(),g=!_||M,v=h["default"](o({},m,{getCurrentLocation:e,finishTransition:n,saveState:p.saveState})),b=0,y=void 0;return o({},v,{listenBefore:r,listen:a,registerTransitionHook:i,unregisterTransitionHook:f})}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(177),s=r(i),c=n(248),u=n(249),l=n(251),d=n(252),p=n(253),f=n(254),h=r(f);t["default"]=a,e.exports=t["default"]},191,192,[1054,246],[1055,251,252,255],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return Math.random().toString(36).substr(2,e)}function o(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.key===t.key&&l["default"](e.state,t.state)}function i(){function e(e){return q.push(e),function(){q=q.filter(function(t){return t!==e})}}function t(){return H&&H.action===f.POP?Y.indexOf(H.key):B?Y.indexOf(B.key):-1}function n(e){var n=t();B=e,B.action===f.PUSH?Y=[].concat(Y.slice(0,n+1),[B.key]):B.action===f.REPLACE&&(Y[n]=B.key),R.forEach(function(e){e(B)})}function r(e){if(R.push(e),B)e(B);else{var t=C();Y=[t.key],n(t)}return function(){R=R.filter(function(t){return t!==e})}}function i(e,t){p.loopAsync(q.length,function(t,n,r){_["default"](q[t],e,function(e){null!=e?r(e):n()})},function(e){W&&"string"==typeof e?W(e,function(e){t(e!==!1)}):t(e!==!1)})}function c(e){B&&o(B,e)||(H=e,i(e,function(t){if(H===e)if(t){if(e.action===f.PUSH){var r=A(B),a=A(e);a===r&&l["default"](B.state,e.state)&&(e.action=f.REPLACE)}D(e)!==!1&&n(e)}else if(B&&e.action===f.POP){var o=Y.indexOf(B.key),i=Y.indexOf(e.key);o!==-1&&i!==-1&&P(o-i)}}))}function u(e){c(L(e,f.PUSH,y()))}function h(e){c(L(e,f.REPLACE,y()))}function M(){P(-1)}function g(){P(1)}function y(){return a(j)}function A(e){if(null==e||"string"==typeof e)return e;var t=e.pathname,n=e.search,r=e.hash,a=t;return n&&(a+=n),r&&(a+=r),a}function T(e){return A(e)}function L(e,t){var n=arguments.length<=2||void 0===arguments[2]?y():arguments[2];return"object"==typeof t&&("string"==typeof e&&(e=d.parsePath(e)),e=s({},e,{state:t}),t=n,n=arguments[3]||y()),m["default"](e,t,n)}function E(e){B?(w(B,e),n(B)):w(C(),e)}function w(e,t){e.state=s({},e.state,t),x(e.key,e.state)}function z(e){q.indexOf(e)===-1&&q.push(e)}function S(e){q=q.filter(function(t){return t!==e})}function k(e,t){"string"==typeof t&&(t=d.parsePath(t)),u(s({state:e},t))}function O(e,t){"string"==typeof t&&(t=d.parsePath(t)),h(s({state:e},t))}var N=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],C=N.getCurrentLocation,D=N.finishTransition,x=N.saveState,P=N.go,j=N.keyLength,W=N.getUserConfirmation;"number"!=typeof j&&(j=b);var q=[],Y=[],R=[],B=void 0,H=void 0;return{listenBefore:e,listen:r,transitionTo:c,push:u,replace:h,go:P,goBack:M,goForward:g,createKey:y,createPath:A,createHref:T,createLocation:L,setState:v["default"](E,"setState is deprecated; use location.key to save state instead"),registerTransitionHook:v["default"](z,"registerTransitionHook is deprecated; use listenBefore instead"),unregisterTransitionHook:v["default"](S,"unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead"),pushState:v["default"](k,"pushState is deprecated; use push instead"),replaceState:v["default"](O,"replaceState is deprecated; use replace instead")}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(246),u=(r(c),n(196)),l=r(u),d=n(249),p=n(256),f=n(248),h=n(247),m=r(h),M=n(257),_=r(M),g=n(245),v=r(g),b=6;t["default"]=i,e.exports=t["default"]},function(e,t){"use strict";function n(e,t,n){function r(){i=!0,n.apply(this,arguments)}function a(){i||(o<e?t.call(this,o++,a,r):r.apply(this,arguments))}var o=0,i=!1;a()}t.__esModule=!0,t.loopAsync=n},[1057,246],[1052,246,248,249,251,252,253,254],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.filter(function(e){return e.state}).reduce(function(e,t){return e[t.key]=t.state,e},{})}function o(){function e(e,t){_[e]=t}function t(e){return _[e]}function n(){var e=m[M],n=e.key,r=e.basename,a=e.pathname,o=e.search,s=(r||"")+a+(o||""),c=void 0;n?c=t(n):(c=null,n=p.createKey(),e.key=n);var u=l.parsePath(s);return p.createLocation(i({},u,{state:c}),void 0,n)}function r(e){var t=M+e;return t>=0&&t<m.length}function o(e){if(e){if(!r(e))return;M+=e;var t=n();p.transitionTo(i({},t,{action:d.POP}))}}function s(t){switch(t.action){case d.PUSH:M+=1,M<m.length&&m.splice(M),m.push(t),e(t.key,t.state);break;case d.REPLACE:m[M]=t,e(t.key,t.state)}}var c=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];Array.isArray(c)?c={entries:c}:"string"==typeof c&&(c={entries:[c]});var p=f["default"](i({},c,{getCurrentLocation:n,finishTransition:s,saveState:e,go:o})),h=c,m=h.entries,M=h.current;"string"==typeof m?m=[m]:Array.isArray(m)||(m=["/"]),m=m.map(function(e){var t=p.createKey();return"string"==typeof e?{pathname:e,key:t}:"object"==typeof e&&e?i({},e,{key:t}):void u["default"](!1)}),null==M?M=m.length-1:M>=0&&M<m.length?void 0:u["default"](!1);var _=a(m);return p}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(246),c=(r(s),n(177)),u=r(c),l=n(249),d=n(248),p=n(255),f=r(p);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return function(){function t(e){return v&&null==e.basename&&(0===e.pathname.indexOf(v)?(e.pathname=e.pathname.substring(v.length),e.basename=v,""===e.pathname&&(e.pathname="/")):e.basename=""),e}function n(e){if(!v)return e;"string"==typeof e&&(e=c.parsePath(e));var t=e.pathname,n="/"===v.slice(-1)?v:v+"/",r="/"===t.charAt(0)?t.slice(1):t,a=n+r;return i({},e,{pathname:a})}function r(e){return y.listenBefore(function(n,r){l["default"](e,t(n),r)})}function o(e){return y.listen(function(n){e(t(n))})}function u(e){y.push(n(e))}function d(e){y.replace(n(e))}function f(e){return y.createPath(n(e))}function h(e){return y.createHref(n(e))}function m(e){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return t(y.createLocation.apply(y,[n(e)].concat(a)))}function M(e,t){"string"==typeof t&&(t=c.parsePath(t)),u(i({state:e},t))}function _(e,t){"string"==typeof t&&(t=c.parsePath(t)),d(i({state:e},t))}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],v=g.basename,b=a(g,["basename"]),y=e(b);if(null==v&&s.canUseDOM){var A=document.getElementsByTagName("base")[0];A&&(v=c.extractPath(A.href))}return i({},y,{listenBefore:r,listen:o,push:u,replace:d,createPath:f,createHref:h,createLocation:m,pushState:p["default"](M,"pushState is deprecated; use push instead"),replaceState:p["default"](_,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(251),c=n(249),u=n(257),l=r(u),d=n(245),p=r(d);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){function t(t){var n=e();if("string"==typeof n)return(t||window.event).returnValue=n,n}return u.addEventListener(window,"beforeunload",t),function(){u.removeEventListener(window,"beforeunload",t)}}function o(e){return function(t){function n(){for(var e=void 0,t=0,n=p.length;null==e&&t<n;++t)e=p[t].call();return e}function r(e){return p.push(e),1===p.length&&c.canUseDOM&&(l=a(n)),function(){p=p.filter(function(t){return t!==e}),0===p.length&&l&&(l(),l=null)}}function o(e){c.canUseDOM&&p.indexOf(e)===-1&&(p.push(e),1===p.length&&(l=a(n)))}function s(e){p.length>0&&(p=p.filter(function(t){return t!==e}),0===p.length&&l())}var u=e(t),l=void 0,p=[];return i({},u,{listenBeforeUnload:r,registerBeforeUnloadHook:d["default"](o,"registerBeforeUnloadHook is deprecated; use listenBeforeUnload instead"),unregisterBeforeUnloadHook:d["default"](s,"unregisterBeforeUnloadHook is deprecated; use the callback returned from listenBeforeUnload instead")})}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=n(246),c=(r(s),n(251)),u=n(252),l=n(245),d=r(l);t["default"]=o,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){return u.stringify(e).replace(/%20/g,"+")}function i(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=A(t.substring(1)),e[m]={search:t,searchBase:""}}return e}function n(e,t){var n,r=e[m],a=t?y(t):"";if(!r&&!a)return e;"string"==typeof e&&(e=p.parsePath(e));var o=void 0;o=r&&e.search===r.search?r.searchBase:e.search||"";var i=o;return a&&(i+=(i?"&":"?")+a),s({},e,(n={search:i},n[m]={search:i,searchBase:o},n))}function r(e){return L.listenBefore(function(n,r){d["default"](e,t(n),r)})}function i(e){return L.listen(function(n){e(t(n))})}function c(e){L.push(n(e,e.query))}function u(e){L.replace(n(e,e.query))}function l(e,t){return L.createPath(n(e,t||e.query))}function f(e,t){return L.createHref(n(e,t||e.query))}function _(e){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];var i=L.createLocation.apply(L,[n(e,e.query)].concat(a));return e.query&&(i.query=e.query),t(i)}function g(e,t,n){"string"==typeof t&&(t=p.parsePath(t)),c(s({state:e},t,{query:n}))}function v(e,t,n){"string"==typeof t&&(t=p.parsePath(t)),u(s({state:e},t,{query:n}))}var b=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],y=b.stringifyQuery,A=b.parseQueryString,T=a(b,["stringifyQuery","parseQueryString"]),L=e(T);return"function"!=typeof y&&(y=o),"function"!=typeof A&&(A=M),s({},L,{listenBefore:r,listen:i,push:c,replace:u,createPath:l,createHref:f,createLocation:_,pushState:h["default"](g,"pushState is deprecated; use push instead"),replaceState:h["default"](v,"replaceState is deprecated; use replace instead")})}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(246),u=(r(c),n(263)),l=n(257),d=r(l),p=n(249),f=n(245),h=r(f),m="$searchBase",M=u.parse;t["default"]=i,e.exports=t["default"]},204,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(245),o=r(a),i=n(261),s=r(i);t["default"]=o["default"](s["default"],"enableBeforeUnload is deprecated, use useBeforeUnload instead"),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(245),o=r(a),i=n(262),s=r(i);t["default"]=o["default"](s["default"],"enableQueries is deprecated, use useQueries instead"),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){var e=(0,s.compose)((0,s.applyMiddleware)(u["default"]),(0,s.applyMiddleware)(h),"object"===("undefined"==typeof window?"undefined":(0,i["default"])(window))&&"undefined"!=typeof window.devToolsExtension?window.devToolsExtension():function(e){return e})(s.createStore);return e(f["default"])}Object.defineProperty(t,"__esModule",{value:!0});var o=n(267),i=r(o),s=n(161),c=n(335),u=r(c),l=n(239),d=n(178),p=n(336),f=r(p),h=(0,l.routerMiddleware)(d.hashHistory);t["default"]=a(),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(268),o=r(a),i=n(319),s=r(i),c="function"==typeof s["default"]&&"symbol"==typeof o["default"]?function(e){return typeof e}:function(e){return e&&"function"==typeof s["default"]&&e.constructor===s["default"]?"symbol":typeof e};t["default"]="function"==typeof s["default"]&&"symbol"===c(o["default"])?function(e){return"undefined"==typeof e?"undefined":c(e)}:function(e){return e&&"function"==typeof s["default"]&&e.constructor===s["default"]?"symbol":"undefined"==typeof e?"undefined":c(e)}},function(e,t,n){e.exports={"default":n(269),__esModule:!0}},function(e,t,n){n(270),n(314),e.exports=n(318).f("iterator")},function(e,t,n){"use strict";var r=n(271)(!0);n(274)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(272),a=n(273);e.exports=function(e){return function(t,n){var o,i,s=String(a(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(i=s.charCodeAt(c+1))<56320||i>57343?e?s.charAt(c):o:e?s.slice(c,c+2):(o-55296<<10)+(i-56320)+65536)}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var r=n(275),a=n(276),o=n(291),i=n(281),s=n(292),c=n(293),u=n(294),l=n(310),d=n(312),p=n(311)("iterator"),f=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",M="values",_=function(){return this};e.exports=function(e,t,n,g,v,b,y){u(n,t,g);var A,T,L,E=function(e){if(!f&&e in k)return k[e];switch(e){case m:return function(){return new n(this,e)};case M:return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",z=v==M,S=!1,k=e.prototype,O=k[p]||k[h]||v&&k[v],N=O||E(v),C=v?z?E("entries"):N:void 0,D="Array"==t?k.entries||O:O;if(D&&(L=d(D.call(new e)),L!==Object.prototype&&(l(L,w,!0),r||s(L,p)||i(L,p,_))),z&&O&&O.name!==M&&(S=!0,N=function(){return O.call(this)}),r&&!y||!f&&!S&&k[p]||i(k,p,N),c[t]=N,c[w]=_,v)if(A={values:z?N:E(M),keys:b?N:E(m),entries:C},y)for(T in A)T in k||o(k,T,A[T]);else a(a.P+a.F*(f||S),t,A);return A}},function(e,t){e.exports=!0},function(e,t,n){var r=n(277),a=n(278),o=n(279),i=n(281),s="prototype",c=function(e,t,n){var u,l,d,p=e&c.F,f=e&c.G,h=e&c.S,m=e&c.P,M=e&c.B,_=e&c.W,g=f?a:a[t]||(a[t]={}),v=g[s],b=f?r:h?r[t]:(r[t]||{})[s];f&&(n=t);for(u in n)l=!p&&b&&void 0!==b[u],l&&u in g||(d=l?b[u]:n[u],g[u]=f&&"function"!=typeof b[u]?n[u]:M&&l?o(d,r):_&&b[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((g.virtual||(g.virtual={}))[u]=d,e&c.R&&v&&!v[u]&&i(v,u,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(280);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,a){return e.call(t,n,r,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(282),a=n(290);e.exports=n(286)?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(283),a=n(285),o=n(289),i=Object.defineProperty;t.f=n(286)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),a)try{return i(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(284);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(286)&&!n(287)(function(){return 7!=Object.defineProperty(n(288)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){e.exports=!n(287)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var r=n(284),a=n(277).document,o=r(a)&&r(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},function(e,t,n){var r=n(284);e.exports=function(e,t){if(!r(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!r(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!r(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){e.exports=n(281)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(295),a=n(290),o=n(310),i={};n(281)(i,n(311)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:a(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(283),a=n(296),o=n(308),i=n(305)("IE_PROTO"),s=function(){},c="prototype",u=function(){var e,t=n(288)("iframe"),r=o.length,a="<",i=">";for(t.style.display="none",n(309).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(a+"script"+i+"document.F=Object"+a+"/script"+i),e.close(),u=e.F;r--;)delete u[c][o[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[c]=r(e),n=new s,s[c]=null,n[i]=e):n=u(),void 0===t?n:a(n,t)}},function(e,t,n){var r=n(282),a=n(283),o=n(297);e.exports=n(286)?Object.defineProperties:function(e,t){a(e);for(var n,i=o(t),s=i.length,c=0;s>c;)r.f(e,n=i[c++],t[n]);return e}},function(e,t,n){var r=n(298),a=n(308);e.exports=Object.keys||function(e){return r(e,a)}},function(e,t,n){var r=n(292),a=n(299),o=n(302)(!1),i=n(305)("IE_PROTO");e.exports=function(e,t){var n,s=a(e),c=0,u=[];for(n in s)n!=i&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(300),a=n(273);e.exports=function(e){return r(a(e))}},function(e,t,n){var r=n(301);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(299),a=n(303),o=n(304);e.exports=function(e){return function(t,n,i){var s,c=r(t),u=a(c.length),l=o(i,u);if(e&&n!=n){for(;u>l;)if(s=c[l++],s!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(272),a=Math.min;e.exports=function(e){return e>0?a(r(e),9007199254740991):0}},function(e,t,n){var r=n(272),a=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?a(e+t,0):o(e,t)}},function(e,t,n){var r=n(306)("keys"),a=n(307);e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,t,n){var r=n(277),a="__core-js_shared__",o=r[a]||(r[a]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){e.exports=n(277).document&&document.documentElement},function(e,t,n){var r=n(282).f,a=n(292),o=n(311)("toStringTag");e.exports=function(e,t,n){e&&!a(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(306)("wks"),a=n(307),o=n(277).Symbol,i="function"==typeof o,s=e.exports=function(e){return r[e]||(r[e]=i&&o[e]||(i?o:a)("Symbol."+e))};s.store=r},function(e,t,n){var r=n(292),a=n(313),o=n(305)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=a(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,n){var r=n(273);e.exports=function(e){return Object(r(e))}},function(e,t,n){n(315);for(var r=n(277),a=n(281),o=n(293),i=n(311)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],c=0;c<5;c++){var u=s[c],l=r[u],d=l&&l.prototype;d&&!d[i]&&a(d,i,u),o[u]=o.Array}},function(e,t,n){"use strict";var r=n(316),a=n(317),o=n(293),i=n(299);e.exports=n(274)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,a(1)):"keys"==t?a(0,n):"values"==t?a(0,e[n]):a(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(311)},function(e,t,n){e.exports={"default":n(320),__esModule:!0}},function(e,t,n){n(321),n(332),n(333),n(334),e.exports=n(278).Symbol},function(e,t,n){"use strict";var r=n(277),a=n(292),o=n(286),i=n(276),s=n(291),c=n(322).KEY,u=n(287),l=n(306),d=n(310),p=n(307),f=n(311),h=n(318),m=n(323),M=n(324),_=n(325),g=n(328),v=n(283),b=n(299),y=n(289),A=n(290),T=n(295),L=n(329),E=n(331),w=n(282),z=n(297),S=E.f,k=w.f,O=L.f,N=r.Symbol,C=r.JSON,D=C&&C.stringify,x="prototype",P=f("_hidden"),j=f("toPrimitive"),W={}.propertyIsEnumerable,q=l("symbol-registry"),Y=l("symbols"),R=l("op-symbols"),B=Object[x],H="function"==typeof N,I=r.QObject,X=!I||!I[x]||!I[x].findChild,U=o&&u(function(){
|
22 |
return 7!=T(k({},"a",{get:function(){return k(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=S(B,t);r&&delete B[t],k(e,t,n),r&&e!==B&&k(B,t,r)}:k,F=function(e){var t=Y[e]=T(N[x]);return t._k=e,t},V=H&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},J=function(e,t,n){return e===B&&J(R,t,n),v(e),t=y(t,!0),v(n),a(Y,t)?(n.enumerable?(a(e,P)&&e[P][t]&&(e[P][t]=!1),n=T(n,{enumerable:A(0,!1)})):(a(e,P)||k(e,P,A(1,{})),e[P][t]=!0),U(e,t,n)):k(e,t,n)},K=function(e,t){v(e);for(var n,r=_(t=b(t)),a=0,o=r.length;o>a;)J(e,n=r[a++],t[n]);return e},G=function(e,t){return void 0===t?T(e):K(T(e),t)},Q=function(e){var t=W.call(this,e=y(e,!0));return!(this===B&&a(Y,e)&&!a(R,e))&&(!(t||!a(this,e)||!a(Y,e)||a(this,P)&&this[P][e])||t)},$=function(e,t){if(e=b(e),t=y(t,!0),e!==B||!a(Y,t)||a(R,t)){var n=S(e,t);return!n||!a(Y,t)||a(e,P)&&e[P][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=O(b(e)),r=[],o=0;n.length>o;)a(Y,t=n[o++])||t==P||t==c||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=O(n?R:b(e)),o=[],i=0;r.length>i;)!a(Y,t=r[i++])||n&&!a(B,t)||o.push(Y[t]);return o};H||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(R,n),a(this,P)&&a(this[P],e)&&(this[P][e]=!1),U(this,e,A(1,n))};return o&&X&&U(B,e,{configurable:!0,set:t}),F(e)},s(N[x],"toString",function(){return this._k}),E.f=$,w.f=J,n(330).f=L.f=Z,n(327).f=Q,n(326).f=ee,o&&!n(275)&&s(B,"propertyIsEnumerable",Q,!0),h.f=function(e){return F(f(e))}),i(i.G+i.W+i.F*!H,{Symbol:N});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var te=z(f.store),ne=0;te.length>ne;)m(te[ne++]);i(i.S+i.F*!H,"Symbol",{"for":function(e){return a(q,e+="")?q[e]:q[e]=N(e)},keyFor:function(e){if(V(e))return M(q,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){X=!0},useSimple:function(){X=!1}}),i(i.S+i.F*!H,"Object",{create:G,defineProperty:J,defineProperties:K,getOwnPropertyDescriptor:$,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),C&&i(i.S+i.F*(!H||u(function(){var e=N();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!V(e)){for(var t,n,r=[e],a=1;arguments.length>a;)r.push(arguments[a++]);return t=r[1],"function"==typeof t&&(n=t),!n&&g(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,D.apply(C,r)}}}),N[x][j]||n(281)(N[x],j,N[x].valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){var r=n(307)("meta"),a=n(284),o=n(292),i=n(282).f,s=0,c=Object.isExtensible||function(){return!0},u=!n(287)(function(){return c(Object.preventExtensions({}))}),l=function(e){i(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!a(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!c(e))return"F";if(!t)return"E";l(e)}return e[r].i},p=function(e,t){if(!o(e,r)){if(!c(e))return!0;if(!t)return!1;l(e)}return e[r].w},f=function(e){return u&&h.NEED&&c(e)&&!o(e,r)&&l(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:p,onFreeze:f}},function(e,t,n){var r=n(277),a=n(278),o=n(275),i=n(318),s=n(282).f;e.exports=function(e){var t=a.Symbol||(a.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(297),a=n(299);e.exports=function(e,t){for(var n,o=a(e),i=r(o),s=i.length,c=0;s>c;)if(o[n=i[c++]]===t)return n}},function(e,t,n){var r=n(297),a=n(326),o=n(327);e.exports=function(e){var t=r(e),n=a.f;if(n)for(var i,s=n(e),c=o.f,u=0;s.length>u;)c.call(e,i=s[u++])&&t.push(i);return t}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(301);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(299),a=n(330).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return a(e)}catch(t){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==o.call(e)?s(e):a(r(e))}},function(e,t,n){var r=n(298),a=n(308).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,a)}},function(e,t,n){var r=n(327),a=n(290),o=n(299),i=n(289),s=n(292),c=n(285),u=Object.getOwnPropertyDescriptor;t.f=n(286)?u:function(e,t){if(e=o(e),t=i(t,!0),c)try{return u(e,t)}catch(n){}if(s(e,t))return a(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(323)("asyncIterator")},function(e,t,n){n(323)("observable")},function(e,t){"use strict";function n(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(a){return"function"==typeof a?a(n,r,e):t(a)}}}}t.__esModule=!0;var r=n();r.withExtraArgument=n,t["default"]=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(161),a=n(239),o=n(337),i=n(348),s=n(421),c=n(433),u=n(631),l=n(645),d=n(678),p=n(681),f=n(684),h=n(687),m=n(690),M=(0,r.combineReducers)({initialState:i.initialState,dashboard:s.dashboard,modules:c.reducer,connection:u.reducer,jumpstart:l.reducer,settings:d.reducer,siteData:p.reducer,jetpackNotices:h.reducer,pluginsData:f.reducer,search:m.reducer});t["default"]=(0,r.combineReducers)({jetpack:M,routing:a.routerReducer,globalNotices:o.globalNotices}),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=arguments[1];switch(t.type){case i.NEW_NOTICE:return[t.notice].concat(r(e));case i.REMOVE_NOTICE:return e.filter(function(e){return e.noticeId!==t.noticeId})}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.globalNotices=a;var o=n(338),i=n(347);t["default"]=(0,o.combineReducers)({globalNotices:a})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(339),o=r(a),i=n(341),s=r(i),c=n(344),u=r(c),l=n(345),d=r(l),p=n(346),f=r(p);t.createStore=o["default"],t.combineReducers=s["default"],t.bindActionCreators=u["default"],t.applyMiddleware=d["default"],t.compose=f["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){function n(){return u}function r(e){l.push(e);var t=!0;return function(){if(t){t=!1;var n=l.indexOf(e);l.splice(n,1)}}}function a(e){if(!i["default"](e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(d)throw new Error("Reducers may not dispatch actions.");try{d=!0,u=c(u,e)}finally{d=!1}return l.slice().forEach(function(e){return e()}),e}function o(e){c=e,a({type:s.INIT})}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var c=e,u=t,l=[],d=!1;return a({type:s.INIT}),{dispatch:a,subscribe:r,getState:n,replaceReducer:o}}t.__esModule=!0,t["default"]=a;var o=n(340),i=r(o),s={INIT:"@@redux/INIT"};t.ActionTypes=s},function(e,t){"use strict";function n(e){if(!e||"object"!=typeof e)return!1;var t="function"==typeof e.constructor?Object.getPrototypeOf(e):Object.prototype;if(null===t)return!0;var n=t.constructor;return"function"==typeof n&&n instanceof n&&r(n)===r(Object)}t.__esModule=!0,t["default"]=n;var r=function(e){return Function.prototype.toString.call(e)};e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return'Reducer "'+e+'" returned undefined handling '+r+". To ignore an action, you must explicitly return the previous state."}function o(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var a="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:a}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function i(e){var t,n=p["default"](e,function(e){return"function"==typeof e});try{o(n)}catch(r){t=r}var i=l["default"](n,function(){});return function(e,r){if(void 0===e&&(e=i),t)throw t;var o=!1,s=l["default"](n,function(t,n){var i=e[n],s=t(i,r);if("undefined"==typeof s){var c=a(n,r);throw new Error(c)}return o=o||s!==i,s});return o?s:e}}t.__esModule=!0,t["default"]=i;var s=n(339),c=n(340),u=(r(c),n(342)),l=r(u),d=n(343),p=r(d);e.exports=t["default"]},function(e,t){"use strict";function n(e,t){return Object.keys(e).reduce(function(n,r){return n[r]=t(e[r],r),n},{})}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";function n(e,t){return Object.keys(e).reduce(function(n,r){return t(e[r])&&(n[r]=e[r]),n},{})}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){return function(){return t(e.apply(void 0,arguments))}}function o(e,t){if("function"==typeof e)return a(e,t);if("object"!=typeof e||null===e||void 0===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');return s["default"](e,function(e){return a(e,t)})}t.__esModule=!0,t["default"]=o;var i=n(342),s=r(i);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r){var a=e(n,r),i=a.dispatch,c=[],u={getState:a.getState,dispatch:function(e){return i(e)}};return c=t.map(function(e){return e(u)}),i=s["default"].apply(void 0,c)(a.dispatch),o({},a,{dispatch:i})}}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=a;var i=n(346),s=r(i);e.exports=t["default"]},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}}t.__esModule=!0,t["default"]=n,e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.NEW_NOTICE="NEW_NOTICE",t.REMOVE_NOTICE="REMOVE_NOTICE"},[1059,354,420],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var a=n(350),o=r(a);t["default"]=o["default"]||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports={"default":n(351),__esModule:!0}},function(e,t,n){n(352),e.exports=n(278).Object.assign},function(e,t,n){var r=n(276);r(r.S+r.F,"Object",{assign:n(353)})},function(e,t,n){"use strict";var r=n(297),a=n(326),o=n(327),i=n(313),s=n(300),c=Object.assign;e.exports=!c||n(287)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r})?function(e,t){for(var n=i(e),c=arguments.length,u=1,l=a.f,d=o.f;c>u;)for(var p,f=s(arguments[u++]),h=l?r(f).concat(l(f)):r(f),m=h.length,M=0;m>M;)d.call(f,p=h[M++])&&(n[p]=f[p]);return n}:c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.jetpack.initialState.happinessGravIds}function o(e){return e.jetpack.initialState.isDevVersion}function i(e){return e.jetpack.initialState.currentVersion}function s(e){return(0,C["default"])(e.jetpack.initialState.stats,"roles",{})}function c(e){return(0,C["default"])(e.jetpack.initialState.stats,"data")}function u(e){return(0,C["default"])(e.jetpack.initialState,["userData","currentUser","wpcomUser","email"])}function l(e){return(0,C["default"])(e.jetpack.initialState,"rawUrl",{})}function d(e){return(0,C["default"])(e.jetpack.initialState,"adminUrl",{})}function p(e){return(0,C["default"])(e.jetpack.initialState,["connectionStatus","isPublic"])}function f(e){return!(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function h(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"manage_modules",!1)}function m(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"manage_options",!1)}function M(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"edit_posts",!1)}function _(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"manage_plugins",!1)}function g(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"disconnect",!1)}function v(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,"isMaster",!1)}function b(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,["wpcomUser","login"])}function y(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,["wpcomUser","email"])}function A(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,["wpcomUser","avatar"])}function T(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser,["username"])}function L(e){return(0,C["default"])(e.jetpack.initialState.userData.currentUser.permissions,"view_stats",!1)}function E(e){return(0,C["default"])(e.jetpack.initialState,"WP_API_nonce")}function w(e){return(0,C["default"])(e.jetpack.initialState,"WP_API_root")}function z(e){return(0,C["default"])(e.jetpack.initialState,"tracksUserData")}function S(e){return(0,C["default"])(e.jetpack.initialState,"currentIp")}Object.defineProperty(t,"__esModule",{value:!0}),t.initialState=void 0,t.getHappinessGravatarIds=a,t.isDevVersion=o,t.getCurrentVersion=i,t.getSiteRoles=s,t.getInitialStateStatsData=c,t.getAdminEmailAddress=u,t.getSiteRawUrl=l,t.getSiteAdminUrl=d,t.isSitePublic=p,t.userIsSubscriber=f,t.userCanManageModules=h,t.userCanManageOptions=m,t.userCanEditPosts=M,t.userCanManagePlugins=_,t.userCanDisconnectSite=g,t.userIsMaster=v,t.getUserWpComLogin=b,t.getUserWpComEmail=y,t.getUserWpComAvatar=A,t.getUsername=T,t.userCanViewStats=L,t.getApiNonce=E,t.getApiRootUrl=w,t.getTracksUserData=z,t.getCurrentIp=S;var k=n(355),O=r(k),N=n(377),C=r(N),D=n(419);t.initialState=function(){var e=arguments.length<=0||void 0===arguments[0]?window.Initial_State:arguments[0],t=arguments[1];switch(t.type){case D.JETPACK_SET_INITIAL_STATE:return(0,O["default"])({},e,t.initialState);default:return e}}},function(e,t,n){var r=n(356),a=n(358),o=n(359),i=n(363),s=n(368),c=n(369),u=Object.prototype,l=u.hasOwnProperty,d=u.propertyIsEnumerable,p=!d.call({valueOf:1},"valueOf"),f=o(function(e,t){if(p||s(t)||i(t))return void a(t,c(t),e);for(var n in t)l.call(t,n)&&r(e,n,t[n])});e.exports=f},function(e,t,n){function r(e,t,n){var r=e[t];i.call(e,t)&&a(r,n)&&(void 0!==n||t in e)||(e[t]=n)}var a=n(357),o=Object.prototype,i=o.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e,t,n,r){n||(n={});for(var o=-1,i=t.length;++o<i;){var s=t[o],c=r?r(n[s],e[s],s,n,e):void 0;a(n,s,void 0===c?e[s]:c)}return n}var a=n(356);e.exports=r},function(e,t,n){function r(e){return a(function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(a--,i):void 0,s&&o(n[0],n[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var c=n[r];c&&e(t,c,r,i)}return t})}var a=n(360),o=n(362);e.exports=r},function(e,t,n){function r(e,t){return t=o(void 0===t?e.length-1:t,0),function(){for(var n=arguments,r=-1,i=o(n.length-t,0),s=Array(i);++r<i;)s[r]=n[t+r];r=-1;for(var c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=s,a(e,this,c)}}var a=n(361),o=Math.max;e.exports=r},function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?o(n)&&i(t,n.length):"string"==r&&t in n)&&a(n[t],e)}var a=n(357),o=n(363),i=n(367),s=n(365);e.exports=r},function(e,t,n){function r(e){return null!=e&&o(e.length)&&!a(e)}var a=n(364),o=n(366);e.exports=r},function(e,t,n){function r(e){var t=a(e)?c.call(e):"";return t==o||t==i}var a=n(365),o="[object Function]",i="[object GeneratorFunction]",s=Object.prototype,c=s.toString;e.exports=r},function(e,t){function n(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t){function n(e,t){return t=null==t?r:t,!!t&&("number"==typeof e||a.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,a=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t){function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e){return i(e)?a(e):o(e)}var a=n(370),o=n(375),i=n(363);e.exports=r},function(e,t,n){function r(e,t){var n=i(e)||o(e)?a(e.length,String):[],r=n.length,c=!!r;for(var l in e)!t&&!u.call(e,l)||c&&("length"==l||s(l,r))||n.push(l);return n}var a=n(371),o=n(372),i=n(374),s=n(367),c=Object.prototype,u=c.hasOwnProperty;e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e){return a(e)&&s.call(e,"callee")&&(!u.call(e,"callee")||c.call(e)==o)}var a=n(373),o="[object Arguments]",i=Object.prototype,s=i.hasOwnProperty,c=i.toString,u=i.propertyIsEnumerable;e.exports=r},function(e,t,n){function r(e){return o(e)&&a(e)}var a=n(363),o=n(167);e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function r(e){if(!a(e))return o(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var a=n(368),o=n(376),i=Object.prototype,s=i.hasOwnProperty;e.exports=r},function(e,t,n){var r=n(165),a=r(Object.keys,Object);e.exports=a},function(e,t,n){function r(e,t,n){var r=null==e?void 0:a(e,t);return void 0===r?n:r}var a=n(378);e.exports=r},function(e,t,n){function r(e,t){t=o(t,e)?[t]:a(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var a=n(379),o=n(417),i=n(418);e.exports=r},function(e,t,n){function r(e){return a(e)?e:o(e)}var a=n(374),o=n(380);e.exports=r},function(e,t,n){var r=n(381),a=n(413),o=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,c=r(function(e){e=a(e);var t=[];return o.test(e)&&t.push(""),e.replace(i,function(e,n,r,a){t.push(r?a.replace(s,"$1"):n||e)}),t});e.exports=c},function(e,t,n){function r(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i),i};return n.cache=new(r.Cache||a),n}var a=n(382),o="Expected a function";r.Cache=a,e.exports=r},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(383),o=n(407),i=n(410),s=n(411),c=n(412);r.prototype.clear=a,r.prototype["delete"]=o,r.prototype.get=i,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t,n){function r(){this.__data__={hash:new a,map:new(i||o),string:new a}}var a=n(384),o=n(399),i=n(406);e.exports=r},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(385),o=n(395),i=n(396),s=n(397),c=n(398);r.prototype.clear=a,r.prototype["delete"]=o,r.prototype.get=i,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t,n){function r(){this.__data__=a?a(null):{}}var a=n(386);e.exports=r},[1060,387],function(e,t,n){function r(e,t){var n=o(e,t);return a(n)?n:void 0}var a=n(388),o=n(394);e.exports=r},function(e,t,n){function r(e){if(!s(e)||i(e))return!1;var t=a(e)||o(e)?m:l;return t.test(c(e))}var a=n(364),o=n(166),i=n(389),s=n(365),c=n(393),u=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,d=Function.prototype,p=Object.prototype,f=d.toString,h=p.hasOwnProperty,m=RegExp("^"+f.call(h).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e){return!!o&&o in e}var a=n(390),o=function(){var e=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=r},function(e,t,n){var r=n(391),a=r["__core-js_shared__"];e.exports=a},function(e,t,n){var r=n(392),a="object"==typeof self&&self&&self.Object===Object&&self,o=r||a||Function("return this")();e.exports=o},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t){function n(e){if(null!=e){try{return a.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var r=Function.prototype,a=r.toString;e.exports=n},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t){function n(e){return this.has(e)&&delete this.__data__[e]}e.exports=n},function(e,t,n){function r(e){var t=this.__data__;if(a){var n=t[e];return n===o?void 0:n}return s.call(t,e)?t[e]:void 0}var a=n(386),o="__lodash_hash_undefined__",i=Object.prototype,s=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return a?void 0!==t[e]:i.call(t,e)}var a=n(386),o=Object.prototype,i=o.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return n[e]=a&&void 0===t?o:t,this}var a=n(386),o="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var a=n(400),o=n(401),i=n(403),s=n(404),c=n(405);r.prototype.clear=a,r.prototype["delete"]=o,r.prototype.get=i,r.prototype.has=s,r.prototype.set=c,e.exports=r},function(e,t){function n(){this.__data__=[]}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():i.call(t,n,1),!0}var a=n(402),o=Array.prototype,i=o.splice;e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(a(e[n][0],t))return n;return-1}var a=n(357);e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=a(t,e);return n<0?void 0:t[n][1]}var a=n(402);e.exports=r},function(e,t,n){function r(e){return a(this.__data__,e)>-1}var a=n(402);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=a(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}var a=n(402);e.exports=r},[1061,387,391],function(e,t,n){function r(e){return a(this,e)["delete"](e)}var a=n(408);e.exports=r},function(e,t,n){function r(e,t){var n=e.__data__;return a(t)?n["string"==typeof t?"string":"hash"]:n.map}var a=n(409);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function r(e){return a(this,e).get(e)}var a=n(408);e.exports=r},function(e,t,n){function r(e){return a(this,e).has(e)}var a=n(408);e.exports=r},function(e,t,n){function r(e,t){return a(this,e).set(e,t),this}var a=n(408);e.exports=r},function(e,t,n){function r(e){return null==e?"":a(e)}var a=n(414);e.exports=r},function(e,t,n){function r(e){if("string"==typeof e)return e;if(o(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}var a=n(415),o=n(416),i=1/0,s=a?a.prototype:void 0,c=s?s.toString:void 0;e.exports=r},[1062,391],function(e,t,n){function r(e){return"symbol"==typeof e||a(e)&&s.call(e)==o}var a=n(167),o="[object Symbol]",i=Object.prototype,s=i.toString;e.exports=r},function(e,t,n){function r(e,t){if(a(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}var a=n(374),o=n(416),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){function r(e){if("string"==typeof e||a(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var a=n(416),o=1/0;e.exports=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.JETPACK_SET_INITIAL_STATE="JETPACK_SET_INITIAL_STATE",t.CONNECT_URL_FETCH="CONNECT_URL_FETCH",t.CONNECT_URL_FETCH_FAIL="CONNECT_URL_FETCH_FAIL",t.CONNECT_URL_FETCH_SUCCESS="CONNECT_URL_FETCH_SUCCESS",t.DISCONNECT_SITE="DISCONNECT_SITE",t.DISCONNECT_SITE_FAIL="DISCONNECT_SITE_FAIL",t.DISCONNECT_SITE_SUCCESS="DISCONNECT_SITE_SUCCESS",t.UNLINK_USER="UNLINK_USER",t.UNLINK_USER_FAIL="UNLINK_USER_FAIL",t.UNLINK_USER_SUCCESS="UNLINK_USER_SUCCESS",t.USER_CONNECTION_DATA_FETCH="USER_CONNECTION_DATA_FETCH",t.USER_CONNECTION_DATA_FETCH_FAIL="USER_CONNECTION_DATA_FETCH_FAIL",t.USER_CONNECTION_DATA_FETCH_SUCCESS="USER_CONNECTION_DATA_FETCH_SUCCESS",t.JETPACK_MODULES_LIST_FETCH="JETPACK_MODULES_LIST_FETCH",t.JETPACK_MODULES_LIST_FETCH_FAIL="JETPACK_MODULES_LIST_FETCH_FAIL",t.JETPACK_MODULES_LIST_RECEIVE="JETPACK_MODULES_LIST_RECEIVE",t.JETPACK_MODULE_FETCH="JETPACK_MODULE_FETCH",t.JETPACK_MODULE_FETCH_FAIL="JETPACK_MODULE_FETCH_FAIL",t.JETPACK_MODULE_RECEIVE="JETPACK_MODULE_RECEIVE",t.JETPACK_MODULE_ACTIVATE="JETPACK_MODULE_ACTIVATE",t.JETPACK_MODULE_ACTIVATE_SUCCESS="JETPACK_MODULE_ACTIVATE_SUCCESS",t.JETPACK_MODULE_ACTIVATE_FAIL="JETPACK_MODULE_ACTIVATE_FAIL",t.JETPACK_MODULE_DEACTIVATE="JETPACK_MODULE_DEACTIVATE",t.JETPACK_MODULE_DEACTIVATE_FAIL="JETPACK_MODULE_DEACTIVATE_FAIL",t.JETPACK_MODULE_DEACTIVATE_SUCCESS="JETPACK_MODULE_DEACTIVATE_SUCCESS",t.JETPACK_MODULE_UPDATE_OPTIONS="JETPACK_MODULE_UPDATE_OPTIONS",t.JETPACK_MODULE_UPDATE_OPTIONS_FAIL="JETPACK_MODULE_UPDATE_OPTIONS_FAIL",t.JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS="JETPACK_MODULE_UPDATE_OPTIONS_SUCCESS",t.JETPACK_MODULES_SET_UNSAVED_OPTION_FLAG="JETPACK_MODULES_SET_UNSAVED_OPTION_FLAG",t.JETPACK_MODULES_CLEAR_UNSAVED_OPTION_FLAG="JETPACK_MODULES_CLEAR_UNSAVED_OPTION_FLAG",t.JETPACK_CONNECTION_STATUS_FETCH="JETPACK_CONNECTION_STATUS_FETCH",t.JUMPSTART_ACTIVATE="JUMPSTART_ACTIVATE",t.JUMPSTART_ACTIVATE_FAIL="JUMPSTART_ACTIVATE_FAIL",t.JUMPSTART_ACTIVATE_SUCCESS="JUMPSTART_ACTIVATE_SUCCESS",t.JUMPSTART_SKIP="JUMPSTART_SKIP",t.JUMPSTART_SKIP_FAIL="JUMPSTART_SKIP_FAIL",t.JUMPSTART_SKIP_SUCCESS="JUMPSTART_SKIP_SUCCESS",t.DASHBOARD_PROTECT_COUNT_FETCH="DASHBOARD_PROTECT_COUNT_FETCH",t.DASHBOARD_PROTECT_COUNT_FETCH_FAIL="DASHBOARD_PROTECT_COUNT_FETCH_FAIL",t.DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS="DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS",t.RESET_OPTIONS="RESET_OPTIONS",t.RESET_OPTIONS_FAIL="RESET_OPTIONS_FAIL",t.RESET_OPTIONS_SUCCESS="RESET_OPTIONS_SUCCESS",t.VAULTPRESS_SITE_DATA_FETCH="VAULTPRESS_SITE_DATA_FETCH",t.VAULTPRESS_SITE_DATA_FETCH_FAIL="VAULTPRESS_SITE_DATA_FETCH_FAIL",t.VAULTPRESS_SITE_DATA_FETCH_SUCCESS="VAULTPRESS_SITE_DATA_FETCH_SUCCESS",t.MONITOR_LAST_DOWNTIME_FETCH="MONITOR_LAST_DOWNTIME_FETCH",t.MONITOR_LAST_DOWNTIME_FETCH_FAIL="MONITOR_LAST_DOWNTIME_FETCH_FAIL",t.MONITOR_LAST_DOWNTIME_FETCH_SUCCESS="MONITOR_LAST_DOWNTIME_FETCH_SUCCESS",t.AKISMET_DATA_FETCH="AKISMET_DATA_FETCH",t.AKISMET_DATA_FETCH_FAIL="AKISMET_DATA_FETCH_FAIL",t.AKISMET_DATA_FETCH_SUCCESS="AKISMET_DATA_FETCH_SUCCESS",t.PLUGIN_UPDATES_FETCH="PLUGIN_UPDATES_FETCH",t.PLUGIN_UPDATES_FETCH_FAIL="PLUGIN_UPDATES_FETCH_FAIL",t.PLUGIN_UPDATES_FETCH_SUCCESS="PLUGIN_UPDATES_FETCH_SUCCESS",t.STATS_SWITCH_TAB="STATS_SWITCH_TAB",t.STATS_DATA_FETCH="STATS_DATA_FETCH",t.STATS_DATA_FETCH_FAIL="STATS_DATA_FETCH_FAIL",t.STATS_DATA_FETCH_SUCCESS="STATS_DATA_FETCH_SUCCESS",t.JETPACK_SETTINGS_FETCH="JETPACK_SETTINGS_FETCH",t.JETPACK_SETTINGS_FETCH_RECEIVE="JETPACK_SETTINGS_FETCH_RECEIVE",t.JETPACK_SETTINGS_FETCH_FAIL="JETPACK_SETTINGS_FETCH_FAIL",t.JETPACK_SETTING_UPDATE="JETPACK_SETTING_UPDATE",t.JETPACK_SETTING_UPDATE_SUCCESS="JETPACK_SETTING_UPDATE_SUCCESS",t.JETPACK_SETTING_UPDATE_FAIL="JETPACK_SETTING_UPDATE_FAIL",t.JETPACK_SITE_DATA_FETCH="JETPACK_SITE_DATA_FETCH",t.JETPACK_SITE_DATA_FETCH_RECEIVE="JETPACK_SITE_DATA_FETCH_RECEIVE",t.JETPACK_SITE_DATA_FETCH_FAIL="JETPACK_SITE_DATA_FETCH_FAIL",t.JETPACK_ACTION_NOTICES_DISMISS="JETPACK_ACTION_NOTICES_DISMISS",t.JETPACK_NOTICES_DISPATCH_TYPE="JETPACK_NOTICES_DISPATCH_TYPE",t.JETPACK_NOTICES_DISMISS="JETPACK_NOTICES_DISMISS",t.JETPACK_NOTICES_DISMISS_FAIL="JETPACK_NOTICES_DISMISS_FAIL",t.JETPACK_NOTICES_DISMISS_SUCCESS="JETPACK_NOTICES_DISMISS_SUCCESS",t.JETPACK_PLUGINS_DATA_FETCH="JETPACK_PLUGINS_DATA_FETCH",t.JETPACK_PLUGINS_DATA_FETCH_RECEIVE="JETPACK_PLUGINS_DATA_FETCH_RECEIVE",t.JETPACK_PLUGINS_DATA_FETCH_FAIL="JETPACK_PLUGINS_DATA_FETCH_FAIL",t.JETPACK_SEARCH_TERM="JETPACK_SEARCH_TERM"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setInitialState=void 0;var r=n(419);t.setInitialState=function(){return function(e){e({type:r.JETPACK_SET_INITIAL_STATE,initialState:window.Initial_State})}}},[1059,422,423],function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return e.jetpack.dashboard.activeStatsTab}function o(e){return!!e.jetpack.dashboard.requests.fetchingStatsData}function i(e){return e.jetpack.dashboard.statsData}function s(e){return!!e.jetpack.dashboard.requests.fetchingAkismetData}function c(e){return e.jetpack.dashboard.akismetData}function u(e){return!!e.jetpack.dashboard.requests.fetchingProtectData}function l(e){return e.jetpack.dashboard.protectCount}function d(e){return!!e.jetpack.dashboard.requests.fetchingMonitorData}function p(e){return e.jetpack.dashboard.lastDownTime}function f(e){return!!e.jetpack.dashboard.requests.fetchingVaultPressData}function h(e){return e.jetpack.dashboard.vaultPressData}function m(e){return(0,A["default"])(e.jetpack.dashboard.vaultPressData,"data.security.notice_count",0)}function M(e){return!!e.jetpack.dashboard.requests.fetchingPluginUpdates}function _(e){return e.jetpack.dashboard.pluginUpdates}Object.defineProperty(t,"__esModule",{value:!0}),t.dashboard=void 0,t.getActiveStatsTab=a,t.isFetchingStatsData=o,t.getStatsData=i,t.isFetchingAkismetData=s,t.getAkismetData=c,t.isFetchingProtectData=u,t.getProtectCount=l,t.isFetchingMonitorData=d,t.getLastDownTime=p,t.isFetchingVaultPressData=f,t.getVaultPressData=h,t.getVaultPressScanThreatCount=m,t.isFetchingPluginUpdates=M,t.getPluginUpdates=_;var g=n(161),v=n(355),b=r(v),y=n(377),A=r(y),T=n(419),L=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];switch(t.type){case T.STATS_DATA_FETCH:return(0,b["default"])({},e,{fetchingStatsData:!0});case T.AKISMET_DATA_FETCH:return(0,b["default"])({},e,{fetchingAkismetData:!0});case T.MONITOR_LAST_DOWNTIME_FETCH:return(0,b["default"])({},e,{fetchingMonitorData:!0});case T.VAULTPRESS_SITE_DATA_FETCH:return(0,b["default"])({},e,{fetchingVaultPressData:!0});case T.DASHBOARD_PROTECT_COUNT_FETCH:return(0,b["default"])({},e,{fetchingProtectData:!0});case T.PLUGIN_UPDATES_FETCH:return(0,b["default"])({},e,{fetchingPluginUpdates:!0});case T.STATS_DATA_FETCH_FAIL:case T.STATS_DATA_FETCH_SUCCESS:case T.AKISMET_DATA_FETCH_FAIL:case T.AKISMET_DATA_FETCH_SUCCESS:case T.MONITOR_LAST_DOWNTIME_FETCH_FAIL:case T.MONITOR_LAST_DOWNTIME_FETCH_SUCCESS:case T.VAULTPRESS_SITE_DATA_FETCH_FAIL:case T.VAULTPRESS_SITE_DATA_FETCH_SUCCESS:
|
23 |
+
case T.DASHBOARD_PROTECT_COUNT_FETCH_FAIL:case T.DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS:case T.PLUGIN_UPDATES_FETCH_FAIL:case T.PLUGIN_UPDATES_FETCH_SUCCESS:return(0,b["default"])({},e,{fetchingStatsData:!1,fetchingAkismetData:!1,fetchingMonitorData:!1,fetchingVaultPressData:!1,fetchingProtectData:!1,fetchingPluginUpdates:!1});default:return e}},E=function(){var e=arguments.length<=0||void 0===arguments[0]?"day":arguments[0],t=arguments[1];switch(t.type){case T.STATS_SWITCH_TAB:return t.activeStatsTab;default:return e}},w=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.STATS_DATA_FETCH_SUCCESS:return(0,b["default"])({},e,t.statsData);default:return e}},z=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.AKISMET_DATA_FETCH_SUCCESS:return t.akismetData;default:return e}},S=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS:return t.protectCount;default:return e}},k=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.MONITOR_LAST_DOWNTIME_FETCH_SUCCESS:return t.lastDownTime;default:return e}},O=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.VAULTPRESS_SITE_DATA_FETCH_SUCCESS:return t.vaultPressData;default:return e}},N=function(){var e=arguments.length<=0||void 0===arguments[0]?"N/A":arguments[0],t=arguments[1];switch(t.type){case T.PLUGIN_UPDATES_FETCH_SUCCESS:return t.pluginUpdates;default:return e}};t.dashboard=(0,g.combineReducers)({requests:L,activeStatsTab:E,protectCount:S,lastDownTime:k,vaultPressData:O,statsData:w,akismetData:z,pluginUpdates:N})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.fetchPluginUpdates=t.fetchAkismetData=t.fetchVaultPressData=t.fetchLastDownTime=t.fetchProtectCount=t.fetchStatsData=t.statsSwitchTab=void 0;var a=n(424),o=r(a),i=n(419);t.statsSwitchTab=function(e){return function(t){t({type:i.STATS_SWITCH_TAB,activeStatsTab:e})}},t.fetchStatsData=function(e){return function(t){return t({type:i.STATS_DATA_FETCH}),o["default"].fetchStatsData(e).then(function(e){t({type:i.STATS_DATA_FETCH_SUCCESS,statsData:e})})["catch"](function(e){t({type:i.STATS_DATA_FETCH_FAIL,error:e})})}},t.fetchProtectCount=function(){return function(e){return e({type:i.DASHBOARD_PROTECT_COUNT_FETCH}),o["default"].getProtectCount().then(function(t){e({type:i.DASHBOARD_PROTECT_COUNT_FETCH_SUCCESS,protectCount:t})})["catch"](function(t){e({type:i.DASHBOARD_PROTECT_COUNT_FETCH_FAIL,error:t})})}},t.fetchLastDownTime=function(){return function(e){return e({type:i.MONITOR_LAST_DOWNTIME_FETCH}),o["default"].getLastDownTime().then(function(t){e({type:i.MONITOR_LAST_DOWNTIME_FETCH_SUCCESS,lastDownTime:t})})["catch"](function(t){e({type:i.MONITOR_LAST_DOWNTIME_FETCH_FAIL,error:t})})}},t.fetchVaultPressData=function(){return function(e){return e({type:i.VAULTPRESS_SITE_DATA_FETCH}),o["default"].getVaultPressData().then(function(t){e({type:i.VAULTPRESS_SITE_DATA_FETCH_SUCCESS,vaultPressData:t})})["catch"](function(t){e({type:i.VAULTPRESS_SITE_DATA_FETCH_FAIL,error:t})})}},t.fetchAkismetData=function(){return function(e){return e({type:i.AKISMET_DATA_FETCH}),o["default"].getAkismetData().then(function(t){e({type:i.AKISMET_DATA_FETCH_SUCCESS,akismetData:t})})["catch"](function(t){e({type:i.AKISMET_DATA_FETCH_FAIL,error:t})})}},t.fetchPluginUpdates=function(){return function(e){return e({type:i.PLUGIN_UPDATES_FETCH}),o["default"].getPluginUpdates().then(function(t){e({type:i.PLUGIN_UPDATES_FETCH_SUCCESS,pluginUpdates:t})})["catch"](function(t){e({type:i.PLUGIN_UPDATES_FETCH_FAIL,error:t})})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){function n(e){var t=r+"jetpack/v4/module/stats/data";return t+=t.indexOf("?")!==-1?"&range="+encodeURIComponent(e):"?range="+encodeURIComponent(e)}var r=e,a=t,i={setApiRoot:function(e){r=e},setApiNonce:function(e){a=e},fetchSiteConnectionStatus:function(){return fetch(r+"jetpack/v4/connection",{credentials:"same-origin",headers:{"X-WP-Nonce":a}}).then(function(e){return e.json()})},fetchUserConnectionData:function(){return fetch(r+"jetpack/v4/connection/data",{credentials:"same-origin",headers:{"X-WP-Nonce":a}}).then(function(e){return e.json()})},disconnectSite:function(){return fetch(r+"jetpack/v4/connection",{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"},body:(0,s["default"])({isActive:!1})}).then(o).then(function(e){return e.json()})},fetchConnectUrl:function(){return fetch(r+"jetpack/v4/connection/url",{credentials:"same-origin",headers:{"X-WP-Nonce":a}}).then(o).then(function(e){return e.json()})},unlinkUser:function(){return fetch(r+"jetpack/v4/connection/user",{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"},body:(0,s["default"])({linked:!1})}).then(o).then(function(e){return e.json()})},jumpStart:function(e){var t=void 0;return"activate"===e&&(t=!0),"deactivate"===e&&(t=!1),fetch(r+"jetpack/v4/jumpstart",{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"},body:(0,s["default"])({active:t})}).then(o).then(function(e){return e.json()})},fetchModules:function(){return fetch(r+"jetpack/v4/module/all",{credentials:"same-origin",headers:{"X-WP-Nonce":a}}).then(o).then(function(e){return e.json()})},fetchModule:function(e){return fetch(r+"jetpack/v4/module/"+e,{credentials:"same-origin",headers:{"X-WP-Nonce":a}}).then(o).then(function(e){return e.json()})},activateModule:function(e){return fetch(r+"jetpack/v4/module/"+e+"/active",{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"},body:(0,s["default"])({active:!0})}).then(o).then(function(e){return e.json()})},deactivateModule:function(e){return fetch(r+"jetpack/v4/module/"+e+"/active",{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"},body:(0,s["default"])({active:!1})})},updateModuleOptions:function(e,t){return fetch(r+"jetpack/v4/module/"+e,{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"},body:(0,s["default"])(t)}).then(o).then(function(e){return e.json()})},getProtectCount:function(){return fetch(r+"jetpack/v4/module/protect/data",{credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},resetOptions:function(e){return fetch(r+"jetpack/v4/options/"+e,{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"},body:(0,s["default"])({reset:!0})}).then(o).then(function(e){return e.json()})},getVaultPressData:function(){return fetch(r+"jetpack/v4/module/vaultpress/data",{credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},getLastDownTime:function(){return fetch(r+"jetpack/v4/module/monitor/data",{credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},getAkismetData:function(){return fetch(r+"jetpack/v4/module/akismet/data",{credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},fetchStatsData:function(e){return fetch(n(e),{credentials:"same-origin",headers:{"X-WP-Nonce":a}}).then(o).then(function(e){return e.json()})},getPluginUpdates:function(){return fetch(r+"jetpack/v4/updates/plugins",{credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})},fetchSettings:function(){return fetch(r+"jetpack/v4/settings",{credentials:"same-origin",headers:{"X-WP-Nonce":a}}).then(o).then(function(e){return e.json()})},updateSetting:function(e){return fetch(r+"jetpack/v4/settings",{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"},body:(0,s["default"])(e)}).then(o).then(function(e){return e.json()})},fetchSiteData:function(){return fetch(r+"jetpack/v4/site",{method:"get",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()}).then(function(e){return JSON.parse(e.data)})},dismissJetpackNotice:function(e){return fetch(r+"jetpack/v4/notice/"+e,{method:"post",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"},body:(0,s["default"])({dismissed:!0})}).then(o).then(function(e){return e.json()})},fetchPluginsData:function(){return fetch(r+"jetpack/v4/plugins",{method:"get",credentials:"same-origin",headers:{"X-WP-Nonce":a,"Content-type":"application/json"}}).then(o).then(function(e){return e.json()})}};(0,u["default"])(this,i)}function o(e){return e.status>=200&&e.status<300?e:e.json().then(function(e){var t=new Error(e.message);throw t.response=e,t})}Object.defineProperty(t,"__esModule",{value:!0});var i=n(425),s=r(i);n(427);var c=n(355),u=r(c);n(428).polyfill();var l=new a;t["default"]=l,e.exports=t["default"]},function(e,t,n){e.exports={"default":n(426),__esModule:!0}},function(e,t,n){var r=n(278),a=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return a.stringify.apply(a,arguments)}},function(e,t){!function(e){"use strict";function t(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function n(e){return"string"!=typeof e&&(e=String(e)),e}function r(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return m.iterable&&(t[Symbol.iterator]=function(){return t}),t}function a(e){this.map={},e instanceof a?e.forEach(function(e,t){this.append(t,e)},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function o(e){return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function i(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function s(e){var t=new FileReader;return t.readAsArrayBuffer(e),i(t)}function c(e){var t=new FileReader;return t.readAsText(e),i(t)}function u(){return this.bodyUsed=!1,this._initBody=function(e){if(this._bodyInit=e,"string"==typeof e)this._bodyText=e;else if(m.blob&&Blob.prototype.isPrototypeOf(e))this._bodyBlob=e;else if(m.formData&&FormData.prototype.isPrototypeOf(e))this._bodyFormData=e;else if(m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e))this._bodyText=e.toString();else if(e){if(!m.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(e))throw new Error("unsupported BodyInit type")}else this._bodyText="";this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob?(this.blob=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(s)},this.text=function(){var e=o(this);if(e)return e;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var e=o(this);return e?e:Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function l(e){var t=e.toUpperCase();return M.indexOf(t)>-1?t:e}function d(e,t){t=t||{};var n=t.body;if(d.prototype.isPrototypeOf(e)){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,n||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=e;if(this.credentials=t.credentials||this.credentials||"omit",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=l(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(a))}}),t}function f(e){var t=new a,n=(e.getAllResponseHeaders()||"").trim().split("\n");return n.forEach(function(e){var n=e.trim().split(":"),r=n.shift().trim(),a=n.join(":").trim();t.append(r,a)}),t}function h(e,t){t||(t={}),this.type="default",this.status=t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText,this.headers=t.headers instanceof a?t.headers:new a(t.headers),this.url=t.url||"",this._initBody(e)}if(!e.fetch){var m={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};a.prototype.append=function(e,r){e=t(e),r=n(r);var a=this.map[e];a||(a=[],this.map[e]=a),a.push(r)},a.prototype["delete"]=function(e){delete this.map[t(e)]},a.prototype.get=function(e){var n=this.map[t(e)];return n?n[0]:null},a.prototype.getAll=function(e){return this.map[t(e)]||[]},a.prototype.has=function(e){return this.map.hasOwnProperty(t(e))},a.prototype.set=function(e,r){this.map[t(e)]=[n(r)]},a.prototype.forEach=function(e,t){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){e.call(t,r,n,this)},this)},this)},a.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),r(e)},a.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),r(e)},a.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),r(e)},m.iterable&&(a.prototype[Symbol.iterator]=a.prototype.entries);var M=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this)},u.call(d.prototype),u.call(h.prototype),h.prototype.clone=function(){return new h(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},h.error=function(){var e=new h(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];h.redirect=function(e,t){if(_.indexOf(t)===-1)throw new RangeError("Invalid status code");return new h(null,{status:t,headers:{location:e}})},e.Headers=a,e.Request=d,e.Response=h,e.fetch=function(e,t){return new Promise(function(n,r){function a(){return"responseURL"in i?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):void 0}var o;o=d.prototype.isPrototypeOf(e)&&!t?e:new d(e,t);var i=new XMLHttpRequest;i.onload=function(){var e={status:i.status,statusText:i.statusText,headers:f(i),url:a()},t="response"in i?i.response:i.responseText;n(new h(t,e))},i.onerror=function(){r(new TypeError("Network request failed"))},i.ontimeout=function(){r(new TypeError("Network request failed"))},i.open(o.method,o.url,!0),"include"===o.credentials&&(i.withCredentials=!0),"responseType"in i&&m.blob&&(i.responseType="blob"),o.headers.forEach(function(e,t){i.setRequestHeader(t,e)}),i.send("undefined"==typeof o._bodyInit?null:o._bodyInit)})},e.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},function(e,t,n){var r;(function(e,a,o){/*!
|
24 |
* @overview es6-promise - a tiny implementation of Promises/A+.
|
25 |
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
26 |
* @license Licensed under MIT license
|
87 |
*/
|
88 |
hasTouch:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch}}},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(421),_=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){this.props.fetchingStatsData||this.props.fetchStatsData(this.props.range)}},{key:"render",value:function(){return null}}]),t}(h.Component);_.defaultProps={fetchStatsData:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchStatsData:function(t){return(0,M.fetchStatsData)(e,t)},fetchingStatsData:(0,M.isFetchingStatsData)(e)}},function(e){return{fetchStatsData:function(t){return e((0,M.fetchStatsData)(t))}}})(_),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(267),o=r(a),i=n(142),s=r(i),c=n(829),u=r(c),l=n(648),d=r(l),p=n(452),f=s["default"].createClass({displayName:"DashStatsBottom",statsBottom:function(){var e=void 0;return e="object"===(0,o["default"])(this.props.statsData.general)?this.props.statsData.general.stats:{views:"-",comments:"-",views_today:"-",views_best_day:"-",views_best_day_total:"-"},[{viewsToday:e.views_today,bestDay:{day:e.views_best_day,count:e.views_best_day_total},allTime:{views:e.views,comments:e.comments}}]},render:function(){var e=this.statsBottom()[0];return s["default"].createElement("div",null,s["default"].createElement("div",{className:"jp-at-a-glance__stats-summary"},s["default"].createElement("div",{className:"jp-at-a-glance__stats-summary-today"},s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("Views today",{comment:"Referring to a number of page views"})),s["default"].createElement("h3",{className:"jp-at-a-glance__stat-number"},e.viewsToday)),s["default"].createElement("div",{className:"jp-at-a-glance__stats-summary-bestday"},s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("Best overall day",{comment:"Referring to a number of page views"})),s["default"].createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.bestDay.count?"-":(0,p.translate)("%(number)s View","%(number)s Views",{count:e.bestDay.count,args:{number:(0,p.numberFormat)(e.bestDay.count)}})),s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},"-"===e.bestDay.day?"-":(0,p.moment)(e.bestDay.day).format("MMMM Do, YYYY"))),s["default"].createElement("div",{className:"jp-at-a-glance__stats-summary-alltime"},s["default"].createElement("div",{className:"jp-at-a-glance__stats-alltime-views"},s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("All-time views",{comment:"Referring to a number of page views"})),s["default"].createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.views?"-":(0,p.numberFormat)(e.allTime.views))),s["default"].createElement("div",{className:"jp-at-a-glance__stats-alltime-comments"},s["default"].createElement("p",{className:"jp-at-a-glance__stat-details"},(0,p.translate)("All-time comments",{comment:"Referring to a number of comments"})),s["default"].createElement("h3",{className:"jp-at-a-glance__stat-number"},"-"===e.allTime.comments?"-":(0,p.numberFormat)(e.allTime.comments))))),s["default"].createElement("div",{className:"jp-at-a-glance__stats-cta"},s["default"].createElement("div",{className:"jp-at-a-glance__stats-cta-description"}),s["default"].createElement("div",{className:"jp-at-a-glance__stats-cta-buttons"},(0,p.translate)("{{button}}View Old Stats{{/button}}",{components:{button:s["default"].createElement(u["default"],{onClick:function(){return d["default"].tracks.recordEvent("jetpack_wpa_aag_view_old_stats_click",{})},href:this.props.siteAdminUrl+"admin.php?page=stats"})}}),(0,p.translate)("{{button}}View More Stats on WordPress.com {{/button}}",{components:{button:s["default"].createElement(u["default"],{onClick:function(){return d["default"].tracks.recordEvent("jetpack_wpa_aag_stats_wpcom_click",{})},className:"is-primary",href:"https://wordpress.com/stats/insights/"+this.props.siteRawUrl})}}))))}});t["default"]=f,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(435),o=r(a),i=n(142),s=r(i),c=n(154),u=n(931),l=r(u),d=n(452),p=n(633),f=r(p),h=n(946),m=r(h),M=n(433),_=n(421),g=n(631),v=s["default"].createClass({displayName:"DashProtect",getContent:function(){if(this.props.isModuleActivated("protect")){var e=this.props.getProtectCount();return!1===e||"0"===e||"N/A"===e?s["default"].createElement(l["default"],{label:"Protect",module:"protect",status:"is-working",className:"jp-dash-item__recently-activated"},s["default"].createElement("div",{className:"jp-dash-item__recently-activated-lower"},s["default"].createElement(m["default"],null),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is actively blocking malicious login attempts. Data will display here soon!")))):s["default"].createElement(l["default"],{label:"Protect",module:"protect",status:"is-working"},s["default"].createElement("h2",{className:"jp-dash-item__count"},(0,d.numberFormat)(e)),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Total malicious attacks blocked on your site.")))}return s["default"].createElement(l["default"],{label:"Protect",module:"protect",className:"jp-dash-item__is-inactive"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,g.isDevMode)(this.props)?(0,d.translate)("Unavailable in Dev Mode"):(0,d.translate)("{{a}}Activate Protect{{/a}} to keep your site protected from malicious login attempts.",{components:{a:s["default"].createElement("a",{href:"javascript:void(0)",onClick:this.props.activateProtect})}})))},render:function(){var e=(0,o["default"])(this.props.moduleList);return(0,f["default"])(e,"protect")?s["default"].createElement("div",{className:"jp-dash-item__interior"},s["default"].createElement(m["default"],null),this.getContent()):null}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,M.isModuleActivated)(e,t)},getProtectCount:function(){return(0,_.getProtectCount)(e)},isFetchingModulesList:function(){return(0,M.isFetchingModulesList)(e)},moduleList:(0,M.getModules)(e)}},function(e){return{activateProtect:function(){return e((0,M.activateModule)("protect"))},fetchProtectCount:function(){return e((0,_.fetchProtectCount)())}}})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(739),s=r(i),c=n(154),u=n(932),l=r(u),d=n(452),p=n(829),f=r(p),h=n(633),m=r(h),M=n(824),_=r(M),g=n(935),v=r(g),b=n(938),y=n(631),A=n(433),T=n(942),L=r(T),E=n(348),w=o["default"].createClass({displayName:"DashItem",propTypes:{label:o["default"].PropTypes.string,status:o["default"].PropTypes.string,statusText:o["default"].PropTypes.string,disabled:o["default"].PropTypes.bool,module:o["default"].PropTypes.string,pro:o["default"].PropTypes.bool},getDefaultProps:function(){return{label:"",module:"",pro:!1}},render:function(){var e=void 0,t="",n=(0,s["default"])(this.props.className,"jp-dash-item",this.props.disabled?"jp-dash-item__disabled":"");return""!==this.props.module&&(e=(0,m["default"])(["protect","monitor","photon","vaultpress","scan","backups","akismet"],this.props.module)&&this.props.isDevMode?"":o["default"].createElement(b.ModuleToggle,{slug:this.props.module,activated:this.props.isModuleActivated(this.props.module),toggling:this.props.isTogglingModule(this.props.module),toggleModule:this.props.toggleModule,compact:!0}),"manage"===this.props.module&&("is-warning"===this.props.status&&(e=o["default"].createElement(l["default"],{showDismiss:!1,status:this.props.status,isCompact:!0},(0,d.translate)("Updates Needed"))),"is-working"===this.props.status&&(e=o["default"].createElement("span",{className:"jp-dash-item__active-label"},(0,d.translate)("Active"))))),this.props.pro&&!this.props.isDevMode&&(t=o["default"].createElement(f["default"],{compact:!0,href:"#professional"},(0,d.translate)("Pro")),e=o["default"].createElement(L["default"],{proFeature:this.props.module})),o["default"].createElement("div",{className:n},o["default"].createElement(v["default"],{label:this.props.label,cardBadge:t},this.props.userCanToggle?e:""),o["default"].createElement(_["default"],{className:"jp-dash-item__card",href:this.props.href},o["default"].createElement("div",{className:"jp-dash-item__content"},this.props.children)))}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,A.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,A.isActivatingModule)(e,t)||(0,A.isDeactivatingModule)(e,t)},getModule:function(t){return(0,A.getModule)(e,t)},isDevMode:(0,y.isDevMode)(e),userCanToggle:(0,E.userCanManageModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,A.deactivateModule)(t):(0,A.activateModule)(t))}}})(w),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(739),s=r(i),c=n(798),u=r(c),l=n(802),d=r(l);n(933),t["default"]=o["default"].createClass({displayName:"SimpleNotice",dismissTimeout:null,getDefaultProps:function(){return{duration:0,status:null,showDismiss:!0,className:"",onDismissClick:u["default"]}},propTypes:{status:a.PropTypes.string,showDismiss:a.PropTypes.bool,isCompact:a.PropTypes.bool,duration:o["default"].PropTypes.number,text:a.PropTypes.oneOfType([a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.node]),a.PropTypes.arrayOf(a.PropTypes.oneOfType([a.PropTypes.string,a.PropTypes.node]))]),icon:a.PropTypes.string,className:a.PropTypes.string},componentDidMount:function(){this.props.duration>0&&(this.dismissTimeout=setTimeout(this.props.onDismissClick,this.props.duration))},componentWillUnmount:function(){this.dismissTimeout&&clearTimeout(this.dismissTimeout)},renderChildren:function(){var e=void 0;return"string"==typeof this.props.children?o["default"].createElement("span",{className:"dops-notice__text"},this.props.children):(this.props.text?(e=[this.props.children],e.unshift(o["default"].createElement("span",{key:"dops-notice_text",className:"dops-notice__text"},this.props.text))):e=o["default"].createElement("span",{key:"dops-notice_text",className:"dops-notice__text"},this.props.children),e)},getIcon:function(){var e=void 0;switch(this.props.status){case"is-info":e="info";break;case"is-success":e="checkmark";break;case"is-error":e="notice";break;case"is-warning":e="notice";break;default:e="info"}return e},render:function(){var e=void 0,t=(0,s["default"])("dops-notice",this.props.status);return this.props.isCompact&&(t=(0,s["default"])(t,"is-compact")),this.props.showDismiss&&(t=(0,s["default"])(t,"is-dismissable"),e=o["default"].createElement("span",{tabIndex:"0",className:"dops-notice__dismiss",onClick:this.props.onDismissClick},o["default"].createElement(d["default"],{icon:"cross",size:24}))),o["default"].createElement("div",{className:(0,s["default"])(this.props.className,t)},o["default"].createElement(d["default"],{className:"dops-notice__icon",icon:this.props.icon||this.getIcon(),size:24}),o["default"].createElement("div",{className:"dops-notice__content"},this.renderChildren()),e)}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(739),s=r(i),c=n(824),u=r(c);n(936),t["default"]=o["default"].createClass({displayName:"SectionHeader",propTypes:{label:o["default"].PropTypes.string,cardBadge:o["default"].PropTypes.oneOfType([o["default"].PropTypes.string,o["default"].PropTypes.element,o["default"].PropTypes.object])},getDefaultProps:function(){return{label:"",cardBadge:""}},render:function(){var e=(0,s["default"])(this.props.className,"dops-section-header"),t=""!==this.props.cardBadge?o["default"].createElement("span",{className:"dops-section-header__card-badge"},this.props.cardBadge):"";return o["default"].createElement(u["default"],{compact:!0,className:e},o["default"].createElement("div",{className:"dops-section-header__label"},this.props.label,t),o["default"].createElement("div",{className:"dops-section-header__actions"},this.props.children))}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleToggle=void 0;var a=n(142),o=r(a),i=n(939),s=r(i);t.ModuleToggle=o["default"].createClass({displayName:"ModuleToggle",propTypes:{toggleModule:o["default"].PropTypes.func,activated:o["default"].PropTypes.bool,disabled:o["default"].PropTypes.bool,className:o["default"].PropTypes.string,compact:o["default"].PropTypes.bool,id:o["default"].PropTypes.string},getDefaultProps:function(){return{activated:!1,disabled:!1}},toggleModule:function(){return this.props.toggleModule(this.props.slug,this.props.activated)},render:function(){return o["default"].createElement(s["default"],{checked:this.props.activated,toggling:this.props.toggling,className:this.props.className,disabled:this.props.disabled,id:this.props.id,compact:this.props.compact,onChange:this.toggleModule})}})},function(e,t,n){"use strict";var r=n(142),a=n(739),o=0;n(940),e.exports=r.createClass({displayName:"FormToggle",propTypes:{onChange:r.PropTypes.func,checked:r.PropTypes.bool,disabled:r.PropTypes.bool,className:r.PropTypes.string,compact:r.PropTypes.bool,id:r.PropTypes.string},getDefaultProps:function(){return{checked:!1,disabled:!1}},_onKeyDown:function(e){this.props.disabled||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.props.onChange()),this.props.onKeyDown&&this.props.onKeyDown(e)},render:function(){var e=this.props.id||"toggle-"+o++,t=a({"form-toggle":!0,"is-toggling":this.props.toggling,"is-compact":this.props.compact});return r.createElement("span",null,r.createElement("input",{className:a(this.props.className,t),type:"checkbox",checked:this.props.checked,readOnly:!0,disabled:this.props.disabled}),r.createElement("label",{className:"form-toggle__label",htmlFor:e},r.createElement("span",{className:"form-toggle__switch",disabled:this.props.disabled,id:e,onClick:this.props.onChange,onKeyDown:this._onKeyDown,role:"checkbox","aria-checked":this.props.checked,tabIndex:this.props.disabled?-1:0}),this.props.children))}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(452),c=n(829),u=r(c),l=n(932),d=r(l),p=n(348),f=n(943),h=r(f),m=n(944),M=r(m),_=n(945),g=r(_),v=n(631),b=n(684),y=n(421),A=n(681),T=o["default"].createClass({displayName:"ProStatus",propTypes:{isCompact:o["default"].PropTypes.bool,proFeature:o["default"].PropTypes.string},getDefaultProps:function(){return{isCompact:!0,proFeature:""}},render:function(){var e=this,t=this.props.sitePlan(),n="scan"===this.props.proFeature||"backups"===this.props.proFeature||"vaultpress"===this.props.proFeature?"vaultpress/vaultpress.php":"akismet/akismet.php",r=function(n,r,a){var i=e.props.getVaultPressData();if(e.props.isDevMode)return(0,s.translate)("Unavailable in Dev Mode");if("N/A"!==i&&"scan"===n&&0!==e.props.getScanThreats())return o["default"].createElement(d["default"],{showDismiss:!1,status:"is-error",isCompact:!0},(0,s.translate)("Threats found!"));if("akismet"===n){var c=e.props.getAkismetData();if("invalid_key"===c)return o["default"].createElement(d["default"],{showDismiss:!1,status:"is-warning",isCompact:!0},(0,s.translate)("Invalid Key"))}if(t.product_slug){var l={};return l="jetpack_free"!==t.product_slug?{href:"https://wordpress.com/plugins/setup/"+e.props.siteRawUrl+"?only="+n,text:(0,s.translate)("Set up")}:{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,text:(0,s.translate)("Upgrade")},r&&a?o["default"].createElement("span",{className:"jp-dash-item__active-label"},(0,s.translate)("ACTIVE")):o["default"].createElement(u["default"],{compact:!0,primary:!0,href:l.href},l.text)}return r&&a?o["default"].createElement("span",{className:"jp-dash-item__active-label"},(0,s.translate)("ACTIVE")):""};return o["default"].createElement("div",null,o["default"].createElement(h["default"],null),o["default"].createElement(g["default"],null),o["default"].createElement(M["default"],null),r(this.props.proFeature,this.props.pluginActive(n),this.props.pluginInstalled(n)))}});t["default"]=(0,i.connect)(function(e){return{siteRawUrl:(0,p.getSiteRawUrl)(e),getScanThreats:function(){return(0,y.getVaultPressScanThreatCount)(e)},getVaultPressData:function(){return(0,y.getVaultPressData)(e)},getAkismetData:function(){return(0,y.getAkismetData)(e)},sitePlan:function(){return(0,A.getSitePlan)(e)},fetchingPluginsData:(0,b.isFetchingPluginsData)(e),pluginActive:function(t){return(0,b.isPluginActive)(e,t)},pluginInstalled:function(t){return(0,b.isPluginInstalled)(e,t)},isDevMode:(0,v.isDevMode)(e)}})(T),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.QuerySitePlugins=void 0;var a=n(142),o=r(a),i=n(154),s=n(684),c=t.QuerySitePlugins=o["default"].createClass({displayName:"QuerySitePlugins",componentWillMount:function(){this.props.isFetchingPluginsData||this.props.fetchPluginsData()},render:function(){return null}});t["default"]=(0,i.connect)(function(e){return{isFetchingPluginsData:(0,s.isFetchingPluginsData)(e)}},function(e){return{fetchPluginsData:function(){return e((0,s.fetchPluginsData)())}}})(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=n(433),v=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){!this.props.fetchingVaultPressData&&this.props.isModuleActivated("vaultpress")&&this.props.fetchVaultPressData()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchVaultPressData:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchVaultPressData:(0,_.fetchVaultPressData)(),fetchingVaultPressData:(0,_.isFetchingVaultPressData)(e),isModuleActivated:function(t){return(0,g.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchVaultPressData:_.fetchVaultPressData},e)})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){this.props.fetchingAkismetData||this.props.fetchAkismetData()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchAkismetData:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchAkismetData:(0,_.fetchAkismetData)(),fetchingAkismetData:(0,_.isFetchingAkismetData)(e)}},function(e){return(0,M.bindActionCreators)({fetchAkismetData:_.fetchAkismetData},e)})(g),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=n(433),v=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){!this.props.fetchingProtectData&&this.props.isModuleActivated("protect")&&this.props.fetchProtectCount()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchProtectCount:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchProtectCount:(0,_.fetchProtectCount)(),fetchingProtectData:(0,_.isFetchingProtectData)(e),isModuleActivated:function(t){return(0,g.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchProtectCount:_.fetchProtectCount},e)})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(435),o=r(a),i=n(142),s=r(i),c=n(154),u=n(931),l=r(u),d=n(452),p=n(633),f=r(p),h=n(948),m=r(h),M=n(433),_=n(421),g=n(631),v=s["default"].createClass({displayName:"DashMonitor",getContent:function(){var e=(0,d.translate)("Downtime Monitoring");if(this.props.isModuleActivated("monitor")){var t=this.props.getLastDownTime();return"N/A"===t?s["default"].createElement(l["default"],{label:e,module:"monitor",status:"is-working"},s["default"].createElement(m["default"],null),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Loading…"))):s["default"].createElement(l["default"],{label:e,module:"monitor",status:"is-working"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is monitoring your site. If we think your site is down you will receive an email.")))}return s["default"].createElement(l["default"],{label:e,module:"monitor",className:"jp-dash-item__is-inactive"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,g.isDevMode)(this.props)?(0,d.translate)("Unavailable in Dev Mode."):(0,d.translate)("{{a}}Activate Monitor{{/a}} to receive notifications if your site goes down.",{components:{a:s["default"].createElement("a",{href:"javascript:void(0)",onClick:this.props.activateMonitor})}})))},render:function(){var e=(0,o["default"])(this.props.moduleList);return(0,f["default"])(e,"monitor")?s["default"].createElement("div",null,s["default"].createElement(m["default"],null),this.getContent()):null}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,M.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,M.isFetchingModulesList)(e)},getLastDownTime:function(){return(0,_.getLastDownTime)(e)},moduleList:(0,M.getModules)(e)}},function(e){return{activateMonitor:function(){return e((0,M.activateModule)("monitor"))}}})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=n(433),v=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){!this.props.fetchingMonitorData&&this.props.isModuleActivated("monitor")&&this.props.fetchLastDownTime()}},{key:"render",value:function(){return null}}]),t}(h.Component);v.defaultProps={fetchLastDownTime:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchLastDownTime:(0,_.fetchLastDownTime)(),fetchingMonitorData:(0,_.isFetchingMonitorData)(e),isModuleActivated:function(t){return(0,g.isModuleActivated)(e,t)}}},function(e){return(0,M.bindActionCreators)({fetchLastDownTime:_.fetchLastDownTime},e)})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(931),c=r(s),u=n(452),l=n(944),d=r(l),p=n(433),f=n(681),h=n(684),m=n(421),M=n(631),_=o["default"].createClass({displayName:"DashScan",getContent:function(){var e=this,t=(0,u.translate)("Malware Scanning"),n=!1!==this.props.getSitePlan(),r=this.props.getVaultPressData(),a=this.props.isPluginInstalled("vaultpress/vaultpress.php")?"pro-inactive":"pro-uninstalled";if(this.props.isModuleActivated("vaultpress")){if("N/A"===r)return o["default"].createElement(c["default"],{label:t},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…")));var i=this.props.getScanThreats();if(0!==i)return o["default"].createElement(c["default"],{label:t,module:"scan",status:"is-error",statusText:(0,u.translate)("Threats found"),pro:!0},o["default"].createElement("h3",null,(0,u.translate)("Uh oh, %(number)s threat found.","Uh oh, %(number)s threats found.",{count:i,args:{number:(0,u.numberFormat)(i)}})),o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("{{a}}View details at VaultPress.com{{/a}}",{components:{a:o["default"].createElement("a",{href:"https://dashboard.vaultpress.com/"})}}),o["default"].createElement("br",null),(0,u.translate)("{{a}}Contact Support{{/a}}",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support"})}})));if("success"===r.code)return o["default"].createElement(c["default"],{label:t,module:"scan",status:"is-working",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("No threats found, you're good to go!")))}var s=function(){return n?(0,u.translate)("For automated, comprehensive scanning of security threats, please {{a}}install and activate{{/a}} VaultPress.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plugins/vaultpress",target:"_blank"})}}):(0,u.translate)("For automated, comprehensive scanning of security threats, please {{a}}upgrade your account{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,target:"_blank"})}})};return o["default"].createElement(c["default"],{label:t,module:"scan",className:"jp-dash-item__is-inactive",status:n?a:"no-pro-uninstalled-or-inactive",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,M.isDevMode)(this.props)?(0,u.translate)("Unavailable in Dev Mode."):s()))},render:function(){return o["default"].createElement("div",null,o["default"].createElement(d["default"],null),this.getContent())}});t["default"]=(0,i.connect)(function(e){return{isModuleActivated:function(t){return(0,p.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,p.isFetchingModulesList)(e)},getVaultPressData:function(){return(0,m.getVaultPressData)(e)},getScanThreats:function(){return(0,m.getVaultPressScanThreatCount)(e)},getSitePlan:function(){return(0,f.getSitePlan)(e)},isPluginInstalled:function(t){return(0,h.isPluginInstalled)(e,t)}}},function(e){return{activateModule:function(t){return e((0,p.activateModule)(t))}}})(_),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(931),c=r(s),u=n(452),l=n(945),d=r(l),p=n(421),f=n(681),h=n(433),m=o["default"].createClass({displayName:"DashAkismet",activateManageAndRedirect:function(e){var t=this.props;e.preventDefault(),this.props.activateModule("manage").then(window.location="https://wordpress.com/plugins/akismet/"+t.siteRawUrl)["catch"](console.log("Error: unable to activate Manage"))},getContent:function(){var e=this.props.getAkismetData(),t=this.props.siteAdminUrl+"admin.php?page=akismet-key-config",n=(0,u.translate)("Spam Protection"),r=!1!==this.props.getSitePlan();return"N/A"===e?o["default"].createElement(c["default"],{label:n,module:"akismet",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…"))):"not_installed"===e?o["default"].createElement(c["default"],{label:n,module:"akismet",className:"jp-dash-item__is-inactive",status:r?"pro-uninstalled":"no-pro-uninstalled-or-inactive",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("For state-of-the-art spam defense, please {{a}}install Akismet{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl,target:"_blank"})}}))):"not_active"===e?o["default"].createElement(c["default"],{label:n,module:"akismet",status:r?"pro-inactive":"no-pro-uninstalled-or-inactive",className:"jp-dash-item__is-inactive",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("For state-of-the-art spam defense, please {{a}}activate Akismet{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plugins/akismet/"+this.props.siteRawUrl,target:"_blank"})}}))):"invalid_key"===e?o["default"].createElement(c["default"],{label:n,module:"akismet",className:"jp-dash-item__is-inactive",status:"is-warning",statusText:(0,u.translate)("Invalid Key"),pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Whoops! Your Akismet key is missing or invalid. {{akismetSettings}}Go to Akismet settings to fix{{/akismetSettings}}.",{components:{akismetSettings:o["default"].createElement("a",{href:t})}}))):o["default"].createElement(c["default"],{label:n,module:"akismet",status:"is-working",pro:!0},o["default"].createElement("h2",{className:"jp-dash-item__count"},(0,u.numberFormat)(e.all.spam)),o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Spam comments blocked.",{context:'Example: "412 Spam comments blocked"'})))},render:function(){return o["default"].createElement("div",{className:"jp-dash-item__interior"},o["default"].createElement(d["default"],null),this.getContent())}});t["default"]=(0,i.connect)(function(e){return{getAkismetData:function(){return(0,p.getAkismetData)(e)},isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},getSitePlan:function(){return(0,f.getSitePlan)(e)}}},function(e){return{activateModule:function(t){return e((0,h.activateModule)(t))}}})(m),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(931),c=r(s),u=n(452),l=n(944),d=r(l),p=n(433),f=n(681),h=n(684),m=n(421),M=n(631),_=o["default"].createClass({displayName:"DashBackups",getContent:function(){var e=this,t=(0,u.translate)("Backups"),n=!1!==this.props.getSitePlan(),r=this.props.isPluginInstalled("vaultpress/vaultpress.php")?"pro-inactive":"pro-uninstalled";if(this.props.isModuleActivated("vaultpress")){var a=this.props.getVaultPressData();if("N/A"===a)return o["default"].createElement(c["default"],{label:t},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,u.translate)("Loading…")));if("success"===a.code)return o["default"].createElement(c["default"],{label:t,module:"backups",status:"is-working",className:"jp-dash-item__is-active",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},a.message," ",(0,u.translate)("{{a}}View backup details{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://dashboard.vaultpress.com",target:"_blank"})}})))}var i=function(){return n?(0,u.translate)("To automatically back up your entire site, please {{a}}install and activate{{/a}} VaultPress.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plugins/vaultpress",
|
89 |
target:"_blank"})}}):(0,u.translate)("To automatically back up your entire site, please {{a}}upgrade!{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://wordpress.com/plans/"+e.props.siteRawUrl,target:"_blank"})}})};return o["default"].createElement(c["default"],{label:t,module:"backups",className:"jp-dash-item__is-inactive",status:n?r:"no-pro-uninstalled-or-inactive",pro:!0},o["default"].createElement("p",{className:"jp-dash-item__description"},(0,M.isDevMode)(this.props)?(0,u.translate)("Unavailable in Dev Mode."):i()))},render:function(){return o["default"].createElement("div",{className:"jp-dash-item__interior"},o["default"].createElement(d["default"],null),this.getContent())}});t["default"]=(0,i.connect)(function(e){return{isModuleActivated:function(t){return(0,p.isModuleActivated)(e,t)},isFetchingModulesList:function(){return(0,p.isFetchingModulesList)(e)},getVaultPressData:function(){return(0,m.getVaultPressData)(e)},getSitePlan:function(){return(0,f.getSitePlan)(e)},isPluginInstalled:function(t){return(0,h.isPluginInstalled)(e,t)}}},function(e){return{activateModule:function(t){return e((0,p.activateModule)(t))}}})(_),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(435),o=r(a),i=n(142),s=r(i),c=n(154),u=n(931),l=r(u),d=n(452),p=n(633),f=r(p),h=n(953),m=r(h),M=n(421),_=n(433),g=n(631),v=s["default"].createClass({displayName:"DashPluginUpdates",activateAndRedirect:function(e){var t=this.props;e.preventDefault(),this.props.activateManage().then(window.location="https://wordpress.com/plugins/"+t.siteRawUrl)["catch"](console.log("Error activating Manage"))},getContent:function(){var e=(0,d.translate)("Plugin Updates"),t=this.props.getPluginUpdates(),n=this.props.isModuleActivated("manage"),r=n?"https://wordpress.com/plugins/"+this.props.siteRawUrl:this.props.siteAdminUrl+"plugins.php";return"N/A"===t?s["default"].createElement(l["default"],{label:e,module:"manage",status:"is-working"},s["default"].createElement(m["default"],null),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Loading…"))):"updates-available"===t.code?s["default"].createElement(l["default"],{label:e,module:"manage",status:"is-warning"},s["default"].createElement("h2",{className:"jp-dash-item__count"},(0,d.translate)("%(number)s plugin","%(number)s plugins",{count:t.count,args:{number:t.count}})),s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Needs updating. ","Need updating. ",{count:t.count,args:{number:t.count}}),(0,g.isDevMode)(this.props)?"":n?(0,d.translate)("{{a}}Turn on plugin auto updates{{/a}}",{components:{a:s["default"].createElement("a",{href:r})}}):(0,d.translate)("{{a}}Activate Manage and turn on auto updates{{/a}}",{components:{a:s["default"].createElement("a",{onClick:this.activateAndRedirect,href:"javascript:void(0)"})}}))):s["default"].createElement(l["default"],{label:e,module:"manage",status:n?"is-working":"is-inactive"},s["default"].createElement("p",{className:"jp-dash-item__description"},n?(0,d.translate)("All plugins are up-to-date. Awesome work!"):(0,d.translate)("{{a}}Activate Manage{{/a}} to turn on auto updates and manage your plugins from WordPress.com.",{components:{a:s["default"].createElement("a",{onClick:this.props.activateManage,href:"javascript:void(0)"})}})))},render:function(){var e=(0,o["default"])(this.props.moduleList);return(0,f["default"])(e,"manage")?s["default"].createElement("div",null,s["default"].createElement(m["default"],null),this.getContent()):null}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,_.isModuleActivated)(e,t)},getPluginUpdates:function(){return(0,M.getPluginUpdates)(e)},moduleList:(0,_.getModules)(e)}},function(e){return{activateManage:function(){return e((0,_.activateModule)("manage"))}}})(v),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(421),g=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){this.props.fetchingPluginUpdates||this.props.fetchPluginUpdates()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchPluginUpdates:function(){}},t["default"]=(0,m.connect)(function(e){return{fetchPluginUpdates:(0,_.fetchPluginUpdates)(),fetchingPluginUpdates:(0,_.isFetchingPluginUpdates)(e)}},function(e){return(0,M.bindActionCreators)({fetchPluginUpdates:_.fetchPluginUpdates},e)})(g),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(435),o=r(a),i=n(142),s=r(i),c=n(154),u=n(931),l=r(u),d=n(452),p=n(633),f=r(p),h=n(433),m=n(631),M=s["default"].createClass({displayName:"DashPhoton",getContent:function(){var e=(0,d.translate)("Image Performance %(photon)s",{args:{photon:"(Photon)"}});return this.props.isModuleActivated("photon")?s["default"].createElement(l["default"],{label:e,module:"photon",status:"is-working"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,d.translate)("Jetpack is improving and optimising your image speed."))):s["default"].createElement(l["default"],{label:e,module:"photon",className:"jp-dash-item__is-inactive"},s["default"].createElement("p",{className:"jp-dash-item__description"},(0,m.isDevMode)(this.props)?(0,d.translate)("Unavailable in Dev Mode"):(0,d.translate)("{{a}}Activate Photon{{/a}} to enhance the performance and speed of your images.",{components:{a:s["default"].createElement("a",{href:"javascript:void(0)",onClick:this.props.activatePhoton})}})))},render:function(){var e=(0,o["default"])(this.props.moduleList);return(0,f["default"])(e,"photon")?s["default"].createElement("div",{className:"jp-dash-item__interior"},this.getContent()):null}});t["default"]=(0,c.connect)(function(e){return{isModuleActivated:function(t){return(0,h.isModuleActivated)(e,t)},moduleList:(0,h.getModules)(e)}},function(e){return{activatePhoton:function(){return e((0,h.activateModule)("photon"))}}})(M),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(452),c=n(932),u=r(c),l=n(956),d=r(l),p=n(687),f=o["default"].createClass({displayName:"FeedbackDashRequest",renderContent:function(){if(!this.props.isDismissed("feedback_dash_request"))return o["default"].createElement("div",null,o["default"].createElement(u["default"],{className:"jp-dash-item__feedback-request",status:"is-basic",onDismissClick:this.props.dismissNotice,text:(0,s.translate)("What would you like to see on your Jetpack Dashboard?")},o["default"].createElement(d["default"],{href:"https://jetpack.com/contact"},(0,s.translate)("Let us know!"))))},render:function(){return o["default"].createElement("div",null,this.renderContent())}});t["default"]=(0,i.connect)(function(e){return{isDismissed:function(t){return(0,p.isNoticeDismissed)(e,t)}}},function(e){return{dismissNotice:function(){return e((0,p.dismissJetpackNotice)("feedback_dash_request"))}}})(f),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(802),s=r(i);n(933),t["default"]=o["default"].createClass({displayName:"NoticeAction",propTypes:{href:o["default"].PropTypes.string,onClick:o["default"].PropTypes.func,external:o["default"].PropTypes.bool,icon:o["default"].PropTypes.string},getDefaultProps:function(){return{external:!1}},render:function(){var e={className:"dops-notice__action",href:this.props.href,onClick:this.props.onClick};return this.props.external&&(e.target="_blank"),o["default"].createElement("a",e,o["default"].createElement("span",null,this.props.children),this.props.icon&&o["default"].createElement(s["default"],{icon:this.props.icon,size:24}),this.props.external&&o["default"].createElement(s["default"],{icon:"external",size:24}))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.QuerySite=void 0;var a=n(142),o=r(a),i=n(154),s=n(681),c=t.QuerySite=o["default"].createClass({displayName:"QuerySite",componentDidMount:function(){this.props.isFetchingSiteData||this.props.fetchSiteData()},render:function(){return null}});t["default"]=(0,i.connect)(function(e){return{isFetchingSiteData:(0,s.isFetchingSiteData)(e)}},function(e){return{fetchSiteData:function(){return e((0,s.fetchSiteData)())}}})(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Engagement=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(633),g=r(_),v=n(648),b=r(v),y=n(433),A=n(938),T=n(959),L=n(631),E=n(348),w=t.Engagement=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=o("sitemaps").description,l=(0,i["default"])(e.moduleList);e.isSitePublic()||(u=c["default"].createElement("span",null,u,c["default"].createElement("p",{className:"jp-form-setting-explanation"},(0,M.translate)("Your site must be accessible by search engines for this feature to work properly. You can change this in {{a}}Reading Settings{{/a}}.",{components:{a:c["default"].createElement("a",{href:e.getSiteAdminUrl()+"options-reading.php#blog_public",className:"jetpack-js-stop-propagation"})}}))));var p=[["stats",o("stats").name,o("stats").description,o("stats").learn_more_button],["sharedaddy",o("sharedaddy").name,o("sharedaddy").description,o("sharedaddy").learn_more_button],["publicize",o("publicize").name,o("publicize").description,o("publicize").learn_more_button],["related-posts",o("related-posts").name,o("related-posts").description,o("related-posts").learn_more_button],["comments",o("comments").name,o("comments").description,o("comments").learn_more_button],["likes",o("likes").name,o("likes").description,o("likes").learn_more_button],["subscriptions",o("subscriptions").name,o("subscriptions").description,o("subscriptions").learn_more_button],["gravatar-hovercards",o("gravatar-hovercards").name,o("gravatar-hovercards").description,o("gravatar-hovercards").learn_more_button],["sitemaps",o("sitemaps").name,u,o("sitemaps").learn_more_button],["enhanced-distribution",o("enhanced-distribution").name,o("enhanced-distribution").description,o("enhanced-distribution").learn_more_button],["verification-tools",o("verification-tools").name,o("verification-tools").description,o("verification-tools").learn_more_button]],h=["publicize"];if(!s){var _=p.slice();_.reverse().forEach(function(e){(0,g["default"])(h,e[0])&&p.unshift(e)}),p=p.filter(function(e,t){return p.indexOf(e)===t})}return p=p.map(function(i){if(!(0,g["default"])(l,i[0]))return null;var u=e.isUnavailableInDevMode(i[0]),p=u?"devmode-disabled":"",_="",v=s||(0,g["default"])(h,i[0]),y=n(i[0]);return u?_=(0,M.translate)("Unavailable in Dev Mode"):s&&(_=c["default"].createElement(A.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t})),!!v&&c["default"].createElement(d["default"],{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:_,expandedSummary:_,clickableHeaderText:!0,onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},y?c["default"].createElement(T.AllModuleSettings,{module:o(i[0]),adminUrl:e.getSiteAdminUrl()}):c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:i[3]},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More"))),"stats"===i[0]&&y?c["default"].createElement("span",null,c["default"].createElement("span",{className:"jp-module-settings__more-sep"}),c["default"].createElement("span",{className:"jp-module-settings__more-text"},(0,M.translate)("View {{a}}All Stats{{/a}}",{components:{a:c["default"].createElement("a",{href:e.getSiteAdminUrl()+"admin.php?page=stats"})}}))):"","subscriptions"===i[0]&&y?c["default"].createElement("span",null,c["default"].createElement("span",{className:"jp-module-settings__more-sep"}),c["default"].createElement("span",{className:"jp-module-settings__more-text"},(0,M.translate)("View your {{a}}Email Followers{{/a}}",{components:{a:c["default"].createElement("a",{href:"https://wordpress.com/people/email-followers/"+e.getSiteRawUrl()})}}))):""))}),c["default"].createElement("div",null,p)};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},getSiteRawUrl:function(){return(0,E.getSiteRawUrl)(e)},getSiteAdminUrl:function(){return(0,E.getSiteAdminUrl)(e)},isSitePublic:function(){return(0,E.isSitePublic)(e)},userCanManageModules:(0,E.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AllModuleSettings=void 0;var a=n(349),o=r(a),i=n(142),s=r(i),c=n(452),u=n(960),l=n(1013),d=r(l);t.AllModuleSettings=s["default"].createClass({displayName:"AllModuleSettings",render:function(){var e=this.props.module;switch(e.module){case"omnisearch":return s["default"].createElement("div",null,s["default"].createElement("span",{className:"jp-form-setting-explanation"},this.props.module.long_description),s["default"].createElement("br",null),s["default"].createElement(d["default"],{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:"/wp-admin/admin.php?page=omnisearch"},(0,c.translate)("Search your content.")));case"post-by-email":return s["default"].createElement(u.PostByEmailSettings,(0,o["default"])({module:e},this.props));case"custom-content-types":return s["default"].createElement(u.CustomContentTypesSettings,(0,o["default"])({module:e},this.props));case"after-the-deadline":return s["default"].createElement(u.AfterTheDeadlineSettings,(0,o["default"])({module:e},this.props));case"markdown":return s["default"].createElement(u.MarkdownSettings,(0,o["default"])({module:e},this.props));case"tiled-gallery":return s["default"].createElement(u.TiledGallerySettings,(0,o["default"])({module:e},this.props));case"minileven":return s["default"].createElement(u.MinilevenSettings,(0,o["default"])({module:e},this.props));case"carousel":return s["default"].createElement(u.CarouselSettings,(0,o["default"])({module:e},this.props));case"infinite-scroll":return s["default"].createElement(u.InfiniteScrollSettings,(0,o["default"])({module:e},this.props));case"protect":return s["default"].createElement(u.ProtectSettings,(0,o["default"])({module:e},this.props));case"monitor":return s["default"].createElement(u.MonitorSettings,(0,o["default"])({module:e},this.props));case"scan":return""===e.configure_url?s["default"].createElement("div",null,(0,c.translate)("Upgrade Jetpack and our state-of-the-art security scanner will hunt out malicious files and report them immediately so that you're never unaware of what is happening on your website.")):s["default"].createElement("div",null,s["default"].createElement("div",{className:"jp-form-setting-explanation"},(0,c.translate)('You can see the information about security scanning in the "At a Glance" section.')),s["default"].createElement("br",null),s["default"].createElement(d["default"],{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url},(0,c.translate)("Configure your Security Scans")));case"sso":return s["default"].createElement(u.SingleSignOnSettings,(0,o["default"])({module:e},this.props));case"stats":return s["default"].createElement(u.StatsSettings,(0,o["default"])({module:e},this.props));case"related-posts":return s["default"].createElement(u.RelatedPostsSettings,(0,o["default"])({module:e},this.props));case"comments":return s["default"].createElement(u.CommentsSettings,(0,o["default"])({module:e},this.props));case"subscriptions":return s["default"].createElement(u.SubscriptionsSettings,(0,o["default"])({module:e},this.props));case"gravatar-hovercards":return s["default"].createElement(u.GravatarHovercardsSettings,(0,o["default"])({module:e},this.props));case"likes":return s["default"].createElement(u.LikesSettings,(0,o["default"])({module:e},this.props));case"verification-tools":return s["default"].createElement(u.VerificationToolsSettings,(0,o["default"])({module:e},this.props));case"sitemaps":return s["default"].createElement(u.SitemapsSettings,(0,o["default"])({module:e},this.props));case"contact-form":case"latex":case"shortlinks":case"shortcodes":case"photon":case"widget-visibility":case"notifications":case"enhanced-distribution":return s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("This module has no configuration options")," ");case"akismet":case"backups":return""===e.configure_url?s["default"].createElement("div",null,"akismet"===e.module?(0,c.translate)("Let search engines and visitors know that you are serious about your websites integrity by upgrading Jetpack. Our anti-spam tools will eliminate comment spam, protect your SEO, and make it easier for visitors to stay in touch."):(0,c.translate)("Real-time offsite backups with automated restores deliver peace-of-mind, so you can focus on writing great content and increasing traffic while we protect every aspect of your investment. Upgrade today.")):s["default"].createElement("div",null,(0,c.translate)("{{link}}Configure your %(module_slug)s Settings {{/link}}",{components:{link:s["default"].createElement(d["default"],{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url})},args:{module_slug:"akismet"===e.module?"Akismet":"Backups"}}));case"custom-css":case"widgets":case"publicize":case"sharedaddy":default:return"publicize"===e.module&&(e.configure_url=this.props.adminUrl+"options-general.php?page=sharing"),s["default"].createElement("div",null,(0,c.translate)("{{link}}Configure your %(module_slug)s Settings {{/link}}",{components:{link:s["default"].createElement(d["default"],{className:"jp-module-settings__external-link",icon:!0,iconSize:16,href:e.configure_url})},args:{module_slug:e.name}}))}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SitemapsSettings=t.MarkdownSettings=t.AfterTheDeadlineSettings=t.CustomContentTypesSettings=t.PostByEmailSettings=t.TiledGallerySettings=t.VerificationToolsSettings=t.GravatarHovercardsSettings=t.MinilevenSettings=t.InfiniteScrollSettings=t.CarouselSettings=t.SingleSignOnSettings=t.MonitorSettings=t.ProtectSettings=t.StatsSettings=t.SubscriptionsSettings=t.CommentsSettings=t.LikesSettings=t.RelatedPostsSettings=t.SharedaddySettings=void 0;var a=n(349),o=r(a),i=n(142),s=r(i),c=n(452),u=n(824),l=r(u),d=n(961),p=r(d),f=n(964),h=r(f),m=n(967),M=r(m),_=n(969),g=r(_),v=n(828),b=r(v),y=n(377),A=r(y),T=n(829),L=r(T),E=n(982),w=n(1004),z=n(1011),S=t.SharedaddySettings=s["default"].createClass({displayName:"SharedaddySettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"option_name"},this.props,{label:(0,c.translate)("Subscriber")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SharedaddySettings=S=(0,z.ModuleSettingsForm)(S);var k=t.RelatedPostsSettings=s["default"].createClass({displayName:"RelatedPostsSettings",renderPreviews:function(){var e=this.props.getOptionValue("show_headline"),t=this.props.getOptionValue("show_thumbnails"),n=[{url:"https://jetpackme.files.wordpress.com/2014/08/1-wpios-ipad-3-1-viewsite.png?w=350&h=200&crop=1",text:(0,c.translate)("Big iPhone/iPad Update Now Available")},{url:"https://jetpackme.files.wordpress.com/2014/08/wordpress-com-news-wordpress-for-android-ui-update2.jpg?w=350&h=200&crop=1",text:(0,c.translate)("The WordPress for Android App Gets a Big Facelift")},{url:"https://jetpackme.files.wordpress.com/2014/08/videopresswedding.jpg?w=350&h=200&crop=1",text:(0,c.translate)("Upgrade Focus: VideoPress For Weddings")}];return s["default"].createElement("div",{className:"jp-related-posts-preview"},e?s["default"].createElement("div",{className:"jp-related-posts-preview__title"},(0,c.translate)("Related")):"",n.map(function(e,n){return s["default"].createElement("span",{key:"preview_"+n,className:"jp-related-posts-preview__item"},t?s["default"].createElement("img",{src:e.url}):"",s["default"].createElement("span",null,s["default"].createElement("a",{href:"#/engagement"}," ",e.text," ")))}))},render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"show_headline",label:(0,c.translate)('Show a "Related" header to more clearly separate the related section from posts')},this.props)),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"show_thumbnails",label:(0,c.translate)("Use a large and visually striking layout")},this.props)),s["default"].createElement("div",{className:"jp-related-posts-settings__preview-label"},(0,c.translate)("Preview")),s["default"].createElement(l["default"],null,this.renderPreviews()),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.RelatedPostsSettings=k=(0,z.ModuleSettingsForm)(k);var O=t.LikesSettings=s["default"].createClass({displayName:"LikesSettings",render:function(){var e=this.props.module.configure_url;return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("WordPress.com Likes are:")),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"wpl_default"},this.props,{validValues:this.props.validValues("wpl_default")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})),s["default"].createElement("p",null,(0,c.translate)("{{a}}Manage Likes visibility from the Sharing Module Settings{{/a}}",{components:{a:s["default"].createElement("a",{href:e})}})))}});t.LikesSettings=O=(0,z.ModuleSettingsForm)(O);var N=t.CommentsSettings=s["default"].createClass({displayName:"CommentsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Comments headline")),s["default"].createElement(E.FormLabel,null,s["default"].createElement(p["default"],{name:"highlander_comment_form_prompt",value:this.props.getOptionValue("highlander_comment_form_prompt"),disabled:this.props.isUpdating("highlander_comment_form_prompt"),onChange:this.props.onOptionChange})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("A few catchy words to motivate your readers to comment."))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Color Scheme")),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"jetpack_comment_form_color_scheme"},this.props,{validValues:this.props.validValues("jetpack_comment_form_color_scheme")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CommentsSettings=N=(0,z.ModuleSettingsForm)(N);var C=t.SubscriptionsSettings=s["default"].createClass({displayName:"SubscriptionsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormLegend,null,(0,c.translate)("Can readers subscribe to your posts, comments or both?")),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"stb_enabled"},this.props,{label:(0,c.translate)('Show a "follow blog" options in the comment form')})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"stc_enabled"},this.props,{label:(0,c.translate)('Show a "follow comments" option in the comment form.')+" (Currently does not work)"})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SubscriptionsSettings=C=(0,z.ModuleSettingsForm)(C);var D=t.StatsSettings=s["default"].createClass({displayName:"StatsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Admin Bar")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"admin_bar"},this.props,{label:(0,c.translate)("Put a chart showing 48 hours of views in the admin bar")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Smiley")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"hide_smile"},this.props,{label:(0,c.translate)("Hide the stats smiley face image. The image helps collect stats but should still work when hidden.")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Registered Users: Count the page views of registered users who are logged in")),s["default"].createElement(w.ModuleSettingMultipleSelectCheckboxes,(0,o["default"])({name:"count_roles"},this.props,{validValues:this.props.getSiteRoles()}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Report Visibility: Select the roles that will be able to view stats reports")),s["default"].createElement(w.ModuleSettingMultipleSelectCheckboxes,(0,o["default"])({always_checked:["administrator"],name:"roles"},this.props,{validValues:this.props.getSiteRoles()})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.StatsSettings=D=(0,z.ModuleSettingsForm)(D);var x=t.ProtectSettings=s["default"].createClass({displayName:"ProtectSettings",render:function(){var e=this.props.currentIp?s["default"].createElement("p",null,(0,c.translate)("Your Current IP: %(ip)s",{args:{ip:this.props.currentIp}})):"";return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Whitelist Management")),s["default"].createElement("p",null,(0,c.translate)("Whitelisting an IP address prevents it from ever being blocked by Jetpack.")),s["default"].createElement("small",null,(0,c.translate)("Make sure to add your most frequently used IP addresses as they can change between your home, office or other locations. Removing an IP address from the list below will remove it from your whitelist.")),e,s["default"].createElement(E.FormLabel,null,s["default"].createElement(h["default"],{name:"jetpack_protect_global_whitelist",placeholder:"Example: 12.12.12.1-12.12.12.100",onChange:this.props.onOptionChange,value:this.props.getOptionValue("jetpack_protect_global_whitelist").local})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("IPv4 and IPv6 are acceptable. {{br/}} To specify a range, enter the low value and high value separated by a dash. Example: 12.12.12.1-12.12.12.100",{components:{br:s["default"].createElement("br",null)}})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.ProtectSettings=x=(0,z.ModuleSettingsForm)(x);var P=t.MonitorSettings=s["default"].createClass({displayName:"MonitorSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"monitor_receive_notifications"},this.props,{label:(0,c.translate)("Receive Monitor Email Notifications")})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Emails will be sent to ")+this.props.adminEmailAddress,". ",s["default"].createElement("span",null," ",(0,c.translate)("{{a}}Edit{{/a}}",{components:{a:s["default"].createElement("a",{href:"https://wordpress.com/settings/account/"})}}))),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MonitorSettings=P=(0,z.ModuleSettingsForm)(P);var j=t.SingleSignOnSettings=s["default"].createClass({displayName:"SingleSignOnSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"jetpack_sso_match_by_email"},this.props,{label:(0,c.translate)("Match By Email")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"jetpack_sso_require_two_step"},this.props,{label:(0,c.translate)("Require Two-Step Authentication")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.SingleSignOnSettings=j=(0,z.ModuleSettingsForm)(j);var W=t.CarouselSettings=s["default"].createClass({displayName:"CarouselSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Mobile Promos")," "),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"carousel_display_exif"},this.props,{label:(0,c.translate)("Show photo metadata (Exif) in carousel, when available")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Background Color")),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"carousel_background_color"},this.props,{validValues:this.props.validValues("carousel_background_color")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CarouselSettings=W=(0,z.ModuleSettingsForm)(W);var q=t.InfiniteScrollSettings=s["default"].createClass({
|
90 |
+
displayName:"InfiniteScrollSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"infinite_scroll"},this.props,{label:(0,c.translate)("Scroll infinitely (Shows 7 posts on each load)")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"infinite_scroll_google_analytics"},this.props,{label:(0,c.translate)("Track each infinite Scroll post load as a page view in Google Analytics")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.InfiniteScrollSettings=q=(0,z.ModuleSettingsForm)(q);var Y=t.MinilevenSettings=s["default"].createClass({displayName:"MinilevenSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Excerpts")," "),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"wp_mobile_excerpt"},this.props,{validValues:this.props.validValues("wp_mobile_excerpt")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Featured Images")," "),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"wp_mobile_featured_images"},this.props,{validValues:this.props.validValues("wp_mobile_featured_images")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Mobile Promos")," "),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"wp_mobile_app_promos"},this.props,{label:(0,c.translate)("Show a promo for the WordPress mobile apps in the footer of the mobile theme")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MinilevenSettings=Y=(0,z.ModuleSettingsForm)(Y);var R=t.GravatarHovercardsSettings=s["default"].createClass({displayName:"GravatarHovercardsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("View people's profiles when you mouse over their Gravatars")),s["default"].createElement(w.ModuleSettingRadios,(0,o["default"])({name:"gravatar_disable_hovercards"},this.props,{validValues:this.props.validValues("gravatar_disable_hovercards")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.GravatarHovercardsSettings=R=(0,z.ModuleSettingsForm)(R);var B=t.VerificationToolsSettings=s["default"].createClass({displayName:"VerificationToolsSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement("p",{className:"jp-form-setting-explanation"},(0,c.translate)('Enter your meta key "content" value to verify your blog with {{a}}Google Search Console{{/a}}, {{a1}}Bing Webmaster Center{{/a1}} and {{a2}}Pinterest Site Verification{{/a2}}.',{components:{a:s["default"].createElement("a",{href:"https://www.google.com/webmasters/tools/",target:"_blank"}),a1:s["default"].createElement("a",{href:"http://www.bing.com/webmaster/",target:"_blank"}),a2:s["default"].createElement("a",{href:"https://pinterest.com/website/verify/",target:"_blank"})}})),s["default"].createElement("div",{className:"dops-card"},s["default"].createElement(E.FormLabel,null,s["default"].createElement(E.FormLegend,null,"Google"),s["default"].createElement(p["default"],{name:"google",value:this.props.getOptionValue("google"),placeholder:"Example: dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8",className:"widefat code",disabled:this.props.isUpdating("google"),onChange:this.props.onOptionChange})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example: "),"<meta name='google-site-verification' content='",s["default"].createElement("strong",{className:"code"},"dBw5CvburAxi537Rp9qi5uG2174Vb6JwHwIRwPSLIK8"),"'>")),s["default"].createElement("div",{className:"dops-card"},s["default"].createElement(E.FormLabel,null,s["default"].createElement(E.FormLegend,null,"Bing"),s["default"].createElement(p["default"],{name:"bing",value:this.props.getOptionValue("bing"),placeholder:"Example: 12C1203B5086AECE94EB3A3D9830B2E",className:"widefat code",disabled:this.props.isUpdating("bing"),onChange:this.props.onOptionChange})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example: "),"<meta name='msvalidate.01' content='",s["default"].createElement("strong",null,"12C1203B5086AECE94EB3A3D9830B2E"),"'>")),s["default"].createElement("div",{className:"dops-card"},s["default"].createElement(E.FormLabel,null,s["default"].createElement(E.FormLegend,null,"Pinterest"),s["default"].createElement(p["default"],{name:"pinterest",value:this.props.getOptionValue("pinterest"),placeholder:"Example: f100679e6048d45e4a0b0b92dce1efce",className:"widefat code",disabled:this.props.isUpdating("pinterest"),onChange:this.props.onOptionChange})),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Meta key example: "),"<meta name='p:domain_verify' content='",s["default"].createElement("strong",null,"f100679e6048d45e4a0b0b92dce1efce"),"'>")),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.VerificationToolsSettings=B=(0,z.ModuleSettingsForm)(B);var H=t.TiledGallerySettings=s["default"].createClass({displayName:"TiledGallerySettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Excerpts")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"tiled_galleries"},this.props,{label:(0,c.translate)("Display all your gallery pictures in a cool mosaic")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.TiledGallerySettings=H=(0,z.ModuleSettingsForm)(H);var I=t.PostByEmailSettings=s["default"].createClass({displayName:"PostByEmailSettings",regeneratePostByEmailAddress:function(e){e.preventDefault(),this.props.regeneratePostByEmailAddress()},address:function(){var e=this.props.getOptionValue("post_by_email_address");return e===!1?"":e},render:function(){return this.props.isCurrentUserLinked?s["default"].createElement("form",null,s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLabel,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Email Address")),s["default"].createElement(g["default"],{value:this.address(),copy:(0,c.translate)("Copy",{context:"verb"}),copied:(0,c.translate)("Copied!"),prompt:(0,c.translate)("Highlight and copy the following text to your clipboard:")}),s["default"].createElement(E.FormButton,{onClick:this.regeneratePostByEmailAddress},(0,c.translate)("Regenerate address"))))):s["default"].createElement("div",null,s["default"].createElement("div",{className:"jp-connection-settings"},s["default"].createElement("div",{className:"jp-connection-settings__headline"},(0,c.translate)("Link your account to WordPress.com to start using this feature.")),s["default"].createElement("div",{className:"jp-connection-settings__actions"},s["default"].createElement(b["default"],{connectUser:!0}))))}});t.PostByEmailSettings=I=(0,z.ModuleSettingsForm)(I);var X=t.CustomContentTypesSettings=s["default"].createClass({displayName:"CustomContentTypesSettings",render:function(){var e=this,t=function(){return e.props.getOptionCurrentValue(e.props.module.module,"jetpack_portfolio")?s["default"].createElement(L["default"],{disabled:!e.props.shouldSaveButtonBeDisabled(),href:e.props.siteAdminUrl+"/wp-admin/edit.php?post_type=jetpack-portfolio",compact:!0},(0,c.translate)("Configure Portfolios")):""},n=function(){return e.props.getOptionCurrentValue(e.props.module.module,"jetpack_testimonial")?s["default"].createElement(L["default"],{disabled:!e.props.shouldSaveButtonBeDisabled(),href:e.props.siteAdminUrl+"/wp-admin/edit.php?post_type=jetpack-testimonial",compact:!0},(0,c.translate)("Configure Testimonials")):""};return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"jetpack_portfolio"},this.props,{label:(0,c.translate)("Enable Portfolio Projects for this site.")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"jetpack_testimonial"},this.props,{label:(0,c.translate)("Enable Testimonials for this site.")})),s["default"].createElement("br",null),t(),n(),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.CustomContentTypesSettings=X=(0,z.ModuleSettingsForm)(X);var U=t.AfterTheDeadlineSettings=s["default"].createClass({displayName:"AfterTheDeadlineSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Proofreading")," "),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Automatically proofread content when: ")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"onpublish"},this.props,{label:(0,c.translate)("A post or page is first published")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"onupdate"},this.props,{label:(0,c.translate)("A post or page is updated")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("Automatic Language Detection")),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("The proofreader supports English, French, German, Portuguese and Spanish.")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"guess_lang"},this.props,{label:(0,c.translate)("Use automatically detected language to proofread posts and pages")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null," ",(0,c.translate)("English Options")," "),s["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,c.translate)("Enable proofreading for the following grammar and style rules: ")),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Bias Language"},this.props,{label:(0,c.translate)("Bias Language")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Cliches"},this.props,{label:(0,c.translate)("Clichés")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Complex Expression"},this.props,{label:(0,c.translate)("Complex Phrases")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Diacritical Marks"},this.props,{label:(0,c.translate)("Diacritical Marks")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Double Negative"},this.props,{label:(0,c.translate)("Double Negatives")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Hidden Verbs"},this.props,{label:(0,c.translate)("Hidden Verbs")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Jargon Language"},this.props,{label:(0,c.translate)("Jargon")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Passive voice"},this.props,{label:(0,c.translate)("Passive Voice")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Phrases to Avoid"},this.props,{label:(0,c.translate)("Phrases to Avoid")})),s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"Redundant Expression"},this.props,{label:(0,c.translate)("Redundant Phrases")}))),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormLegend,null,(0,c.translate)("Ignored Phrases")),s["default"].createElement(M["default"],{name:"ignored_phrases",placeholder:(0,c.translate)("Add a phrase"),value:""!==this.props.getOptionValue("ignored_phrases")?this.props.getOptionValue("ignored_phrases").split(","):[],onChange:this.props.onOptionChange})),s["default"].createElement(E.FormFieldset,null,s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.AfterTheDeadlineSettings=U=(0,z.ModuleSettingsForm)(U);var F=t.MarkdownSettings=s["default"].createClass({displayName:"MarkdownSettings",render:function(){return s["default"].createElement("form",{onSubmit:this.props.onSubmit},s["default"].createElement(E.FormFieldset,null,s["default"].createElement(w.ModuleSettingCheckbox,(0,o["default"])({name:"wpcom_publish_comments_with_markdown"},this.props,{label:(0,c.translate)("Use Markdown for comments")})),s["default"].createElement(E.FormButton,{className:"is-primary",isSubmitting:this.props.isSavingAnyOption(),disabled:this.props.shouldSaveButtonBeDisabled()})))}});t.MarkdownSettings=F=(0,z.ModuleSettingsForm)(F);var V=t.SitemapsSettings=s["default"].createClass({displayName:"SitemapsSettings",render:function(){var e=(0,A["default"])(this.props,["module","extra","sitemap_url"],""),t=(0,A["default"])(this.props,["module","extra","news_sitemap_url"],"");return s["default"].createElement("div",null,s["default"].createElement("p",null,(0,c.translate)("Search engines will find the sitemaps at these locations:")),s["default"].createElement("p",null,(0,c.translate)("Sitemap: {{a}}%(url)s{{/a}}",{components:{a:s["default"].createElement("a",{href:e,target:"_blank"})},args:{url:e}})),s["default"].createElement("p",null,(0,c.translate)("News Sitemap: {{a}}%(url)s{{/a}}",{components:{a:s["default"].createElement("a",{href:t,target:"_blank"})},args:{url:t}})))}});t.SitemapsSettings=V=(0,z.ModuleSettingsForm)(V)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(739),c=r(s);n(962),t["default"]=i["default"].createClass({displayName:"TextInput",getDefaultProps:function(){return{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"}},focus:function(){this.refs.textField.focus()},render:function(){var e=this.props,t=e.className,n=e.selectOnFocus,r=(0,c["default"])(t,{"dops-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid});return i["default"].createElement("input",a({},this.props,{ref:"textField",className:r,onClick:n?this.selectOnFocus:null}))},selectOnFocus:function(e){e.target.select()}})},787,,function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(142),o=n(739),i=n(868);n(965),e.exports=a.createClass({displayName:"Textarea",render:function(){return a.createElement("textarea",r({},i(this.props,"className"),{className:o(this.props.className,"dops-textarea")}),this.props.children)}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(968),s=r(i),c=o["default"].createClass({displayName:"JetpackTagsInput",getInitialState:function(){return{tags:this.props.value||[]}},handleChange:function(e){this.setState({tags:e}),this.props.onChange&&this.props.onChange({target:{name:this.props.name,value:e.join(",")}})},render:function(){var e=this.props;return o["default"].createElement(s["default"],{inputProps:{placeholder:e.placeholder},onChange:this.handleChange,value:this.state.tags})}});t["default"]=c,e.exports=t["default"]},function(e,t,n){var r,a,o;!function(i,s){a=[e,t,n(142)],r=s,o="function"==typeof r?r.apply(t,a):r,!(void 0!==o&&(e.exports=o))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(e){for(var t=[],n=0;n<e.length;n++)t.indexOf(e[n])===-1&&t.push(e[n]);return t}function l(e){return window.clipboardData?window.clipboardData.getData("Text"):e.clipboardData?e.clipboardData.getData("text/plain"):""}function d(e){var t=e.tag,n=e.key,r=e.disabled,a=e.onRemove,o=e.classNameRemove,i=e.getTagDisplayValue,s=c(e,["tag","key","disabled","onRemove","classNameRemove","getTagDisplayValue"]);return m["default"].createElement("span",_({key:n},s),i(t),!r&&m["default"].createElement("a",{className:o,onClick:function(e){return a(n)}}))}function p(e){var t=e.onChange,n=e.value,r=(e.addTag,c(e,["onChange","value","addTag"]));return m["default"].createElement("input",_({type:"text",onChange:t,value:n},r))}function f(e,t){return m["default"].createElement("span",null,e,t)}function h(e){return e.split(" ").map(function(e){return e.trim()})}Object.defineProperty(t,"__esModule",{value:!0});var m=r(n),M=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};d.propTypes={key:m["default"].PropTypes.number,tag:m["default"].PropTypes.string,onRemove:m["default"].PropTypes.func,classNameRemove:m["default"].PropTypes.string,getTagDisplayValue:m["default"].PropTypes.func},p.propTypes={value:m["default"].PropTypes.string,onChange:m["default"].PropTypes.func,addTag:m["default"].PropTypes.func};var g={className:"react-tagsinput-input",placeholder:"Add a tag"},v=function(e){function t(){o(this,t);var e=i(this,Object.getPrototypeOf(t).call(this));return e.state={tag:"",isFocused:!1},e.focus=e.focus.bind(e),e.blur=e.blur.bind(e),e}return s(t,e),M(t,[{key:"_getTagDisplayValue",value:function(e){var t=this.props.tagDisplayProp;return t?e[t]:e}},{key:"_makeTag",value:function(e){var t=this.props.tagDisplayProp;return t?a({},t,e):e}},{key:"_removeTag",value:function(e){var t=this.props.value.concat([]);if(e>-1&&e<t.length){var n=t.splice(e,1);this.props.onChange(t,n,[e])}}},{key:"_clearInput",value:function(){this.setState({tag:""})}},{key:"_addTags",value:function(e){var t=this,n=this.props,r=n.validationRegex,a=n.onChange,o=n.onlyUnique,i=n.maxTags,s=n.value;if(o&&(e=u(e),e=e.filter(function(e){return s.every(function(n){return t._getTagDisplayValue(n)!==t._getTagDisplayValue(e)})})),e=e.filter(function(e){return r.test(t._getTagDisplayValue(e))}),e=e.filter(function(e){var n=t._getTagDisplayValue(e);return"function"==typeof n.trim?n.trim().length>0:n}),i>=0){var c=Math.max(i-s.length,0);e=e.slice(0,c)}if(e.length>0){for(var l=s.concat(e),d=[],p=0;p<e.length;p++)d.push(s.length+p);return a(l,e,d),this._clearInput(),!0}return!1}},{key:"focus",value:function(){"function"==typeof this.refs.input.focus&&this.refs.input.focus(),this.handleOnFocus()}},{key:"blur",value:function(){"function"==typeof this.refs.input.blur&&this.refs.input.blur(),this.handleOnBlur()}},{key:"accept",value:function(){var e=this.state.tag;return""!==e&&(e=this._makeTag(e),this._addTags([e]))}},{key:"addTag",value:function(e){return this._addTags([e])}},{key:"clearInput",value:function(){this._clearInput()}},{key:"handlePaste",value:function(e){var t=this,n=this.props,r=n.addOnPaste,a=n.pasteSplit;if(r){e.preventDefault();var o=l(e),i=a(o).map(function(e){return t._makeTag(e)});this._addTags(i)}}},{key:"handleKeyDown",value:function(e){if(!e.defaultPrevented){var t=this.props,n=t.value,r=t.removeKeys,a=t.addKeys,o=this.state.tag,i=""===o,s=e.keyCode,c=a.indexOf(s)!==-1,u=r.indexOf(s)!==-1;if(c){var l=this.accept();(l||13===s)&&e.preventDefault()}u&&n.length>0&&i&&(e.preventDefault(),this._removeTag(n.length-1))}}},{key:"handleClick",value:function(e){e.target===this.refs.div&&this.focus()}},{key:"handleChange",value:function(e){var t=this.props.inputProps.onChange,n=e.target.value;t&&t(e),this.setState({tag:n})}},{key:"handleOnFocus",value:function(e){var t=this.props.inputProps.onFocus;t&&t(e),this.setState({isFocused:!0})}},{key:"handleOnBlur",value:function(e){var t=this.props.inputProps.onBlur;if(this.setState({isFocused:!1}),null!=e&&(t&&t(e),this.props.addOnBlur)){var n=this._makeTag(e.target.value);this._addTags([n])}}},{key:"handleRemove",value:function(e){this._removeTag(e)}},{key:"inputProps",value:function(){var e=this.props.inputProps,t=(e.onChange,e.onFocus,e.onBlur,c(e,["onChange","onFocus","onBlur"])),n=_({},g,t);return this.props.disabled&&(n.disabled=!0),n}},{key:"componentDidMount",value:function(){this.setState({tag:this.props.currentValue})}},{key:"componentWillReceiveProps",value:function(e){e.currentValue&&this.setState({tag:e.currentValue})}},{key:"render",value:function(){var e=this,t=this.props,n=t.value,r=(t.onChange,t.tagProps),a=t.renderLayout,o=t.renderTag,i=t.renderInput,s=(t.addKeys,t.removeKeys,t.className),u=t.focusedClassName,l=(t.addOnBlur,t.addOnPaste,t.inputProps,t.pasteSplit,t.onlyUnique,t.maxTags,t.validationRegex,t.disabled),d=(t.tagDisplayProp,c(t,["value","onChange","tagProps","renderLayout","renderTag","renderInput","addKeys","removeKeys","className","focusedClassName","addOnBlur","addOnPaste","inputProps","pasteSplit","onlyUnique","maxTags","validationRegex","disabled","tagDisplayProp"]),this.state),p=d.tag,f=d.isFocused;f&&(s+=" "+u);var h=n.map(function(t,n){return o(_({key:n,tag:t,onRemove:e.handleRemove.bind(e),disabled:l,getTagDisplayValue:e._getTagDisplayValue.bind(e)},r))}),M=i(_({ref:"input",value:p,onPaste:this.handlePaste.bind(this),onKeyDown:this.handleKeyDown.bind(this),onChange:this.handleChange.bind(this),onFocus:this.handleOnFocus.bind(this),onBlur:this.handleOnBlur.bind(this),addTag:this.addTag.bind(this)},this.inputProps()));return m["default"].createElement("div",{ref:"div",onClick:this.handleClick.bind(this),className:s},a(h,M))}}]),t}(m["default"].Component);v.propTypes={focusedClassName:m["default"].PropTypes.string,addKeys:m["default"].PropTypes.array,addOnBlur:m["default"].PropTypes.bool,addOnPaste:m["default"].PropTypes.bool,currentValue:m["default"].PropTypes.string,inputProps:m["default"].PropTypes.object,onChange:m["default"].PropTypes.func.isRequired,removeKeys:m["default"].PropTypes.array,renderInput:m["default"].PropTypes.func,renderTag:m["default"].PropTypes.func,renderLayout:m["default"].PropTypes.func,pasteSplit:m["default"].PropTypes.func,tagProps:m["default"].PropTypes.object,onlyUnique:m["default"].PropTypes.bool,value:m["default"].PropTypes.array.isRequired,maxTags:m["default"].PropTypes.number,validationRegex:m["default"].PropTypes.instanceOf(RegExp),disabled:m["default"].PropTypes.bool,tagDisplayProp:m["default"].PropTypes.string},v.defaultProps={className:"react-tagsinput",focusedClassName:"react-tagsinput--focused",currentValue:"",addKeys:[9,13],addOnBlur:!1,addOnPaste:!1,inputProps:{},removeKeys:[8],renderInput:p,renderTag:d,renderLayout:f,pasteSplit:h,tagProps:{className:"react-tagsinput-tag",classNameRemove:"react-tagsinput-remove"},onlyUnique:!1,maxTags:-1,validationRegex:/.*/,disabled:!1,tagDisplayProp:null},t["default"]=v,e.exports=t["default"]})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(142),i=r(o),s=n(739),c=r(s),u=n(868),l=r(u),d=n(970),p=r(d),f=n(961),h=r(f);n(980),t["default"]=i["default"].createClass({displayName:"ClipboardButtonInput",propTypes:{value:o.PropTypes.string,disabled:o.PropTypes.bool,className:o.PropTypes.string,copied:o.PropTypes.string,copy:o.PropTypes.string,prompt:o.PropTypes.string},getInitialState:function(){return{isCopied:!1,disabled:!1}},getDefaultProps:function(){return{value:""}},componentWillUnmount:function(){clearTimeout(this.confirmationTimeout),delete this.confirmationTimeout},showConfirmation:function(){var e=this;this.setState({isCopied:!0}),this.confirmationTimeout=setTimeout(function(){e.setState({isCopied:!1})},4e3)},render:function(){return i["default"].createElement("span",{className:(0,c["default"])("dops-clipboard-button-input",this.props.className)},i["default"].createElement(h["default"],a({},(0,l["default"])(this.props,"className"),{type:"text",selectOnFocus:!0,readOnly:!0})),i["default"].createElement(p["default"],{text:this.props.value,onCopy:this.showConfirmation,disabled:this.props.disabled,prompt:this.props.prompt,compact:!0},this.state.isCopied?this.props.copied:this.props.copy))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(829),i=r(o),s=n(1),c=n(142),u=n(971),l=n(868),d=n(798),p=n(739);e.exports=c.createClass({displayName:"ClipboardButton",propTypes:{className:c.PropTypes.string,text:c.PropTypes.string,prompt:c.PropTypes.string,onCopy:c.PropTypes.func},getDefaultProps:function(){return{onCopy:d}},componentDidMount:function(){var e=this,t=s.findDOMNode(this.refs.button);this.clipboard=new u(t,{text:function(){return e.props.text}}),this.clipboard.on("success",this.props.onCopy),this.clipboard.on("error",this.displayPrompt)},componentWillUnmount:function(){this.clipboard.destroy(),delete this.clipboard},displayPrompt:function(){window.prompt(this.props.prompt,this.props.text)},render:function(){var e=p("dops-clipboard-button",this.props.className);return c.createElement(i["default"],a({ref:"button"},l(this.props,Object.keys(this.constructor.propTypes)),{className:e}))}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}t.__esModule=!0;var s=n(972),c=r(s),u=n(974),l=r(u),d=n(975),p=r(d),f=function(e){function t(n,r){a(this,t),e.call(this),this.resolveOptions(r),this.listenClick(n)}return o(t,e),t.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText},t.prototype.listenClick=function(e){var t=this;this.listener=p["default"](e,"click",function(e){return t.onClick(e)})},t.prototype.onClick=function(e){this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new c["default"]({action:this.action(e.target),target:this.target(e.target),text:this.text(e.target),trigger:e.target,emitter:this})},t.prototype.defaultAction=function(e){return i("action",e)},t.prototype.defaultTarget=function(e){var t=i("target",e);if(t)return document.querySelector(t)},t.prototype.defaultText=function(e){return i("text",e)},t.prototype.destroy=function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)},t}(l["default"]);t["default"]=f,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(973),s=r(i),c=function(){function e(t){a(this,e),this.resolveOptions(t),this.initSelection()}return e.prototype.resolveOptions=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""},e.prototype.initSelection=function(){if(this.text&&this.target)throw new Error('Multiple attributes declared, use either "target" or "text"');if(this.text)this.selectFake();else{if(!this.target)throw new Error('Missing required attributes, use either "target" or "text"');this.selectTarget()}},e.prototype.selectFake=function(){var e=this;this.removeFake(),this.fakeHandler=document.body.addEventListener("click",function(){return e.removeFake()}),this.fakeElem=document.createElement("textarea"),this.fakeElem.style.position="absolute",this.fakeElem.style.left="-9999px",this.fakeElem.style.top=(window.pageYOffset||document.documentElement.scrollTop)+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=s["default"](this.fakeElem),this.copyText()},e.prototype.removeFake=function(){this.fakeHandler&&(document.body.removeEventListener("click"),this.fakeHandler=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)},e.prototype.selectTarget=function(){this.selectedText=s["default"](this.target),this.copyText()},e.prototype.copyText=function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)},e.prototype.handleResult=function(e){e?this.emitter.emit("success",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)}):this.emitter.emit("error",{action:this.action,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})},e.prototype.clearSelection=function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()},e.prototype.destroy=function(){this.removeFake()},o(e,[{key:"action",set:function(){var e=arguments.length<=0||void 0===arguments[0]?"copy":arguments[0];if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"');
|
91 |
+
},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!=typeof e||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');this._target=e}},get:function(){return this._target}}]),e}();t["default"]=c,e.exports=t["default"]},function(e,t){function n(e){var t;if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}e.exports=n},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){a.off(e,r),t.apply(n,arguments)}var a=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,a=n.length;for(r;r<a;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],a=[];if(r&&t)for(var o=0,i=r.length;o<i;o++)r[o].fn!==t&&r[o].fn._!==t&&a.push(r[o]);return a.length?n[e]=a:delete n[e],this}},e.exports=n},function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return a(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return i(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function a(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function i(e,t,n){return c(document.body,e,t,n)}var s=n(976),c=n(977);e.exports=r},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},function(e,t,n){function r(e,t,n,r,o){var i=a.apply(this,arguments);return e.addEventListener(n,i,o),{destroy:function(){e.removeEventListener(n,i,o)}}}function a(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t,!0),n.delegateTarget&&r.call(e,n)}}var o=n(978);e.exports=r},function(e,t,n){var r=n(979);e.exports=function(e,t,n){for(var a=n?e:e.parentNode;a&&a!==document;){if(r(a,t))return a;a=a.parentNode}}},function(e,t){function n(e,t){if(a)return a.call(e,t);for(var n=e.parentNode.querySelectorAll(t),r=0;r<n.length;++r)if(n[r]==e)return!0;return!1}var r=Element.prototype,a=r.matchesSelector||r.webkitMatchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector;e.exports=n},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.FormButton=t.FormRadio=t.FormTextarea=t.FormTextInput=t.FormCheckbox=t.FormLegend=t.FormLabel=t.FormFieldset=void 0;var a=n(349),o=r(a),i=n(739),s=r(i),c=n(983),u=r(c),l=n(1001),d=r(l),p=n(452),f=n(829),h=r(f),m=n(142),M=n(739);t.FormFieldset=m.createClass({displayName:"FormFieldset",render:function(){return m.createElement("fieldset",(0,o["default"])({},(0,u["default"])(this.props,"className"),{className:M(this.props.className,"jp-form-fieldset")}),this.props.children)}}),t.FormLabel=m.createClass({displayName:"FormLabel",render:function(){return m.createElement("label",(0,o["default"])({},(0,u["default"])(this.props,"className"),{className:M(this.props.className,"jp-form-label")}),this.props.children)}}),t.FormLegend=m.createClass({displayName:"FormLegend",render:function(){return m.createElement("legend",(0,o["default"])({},(0,u["default"])(this.props,"className"),{className:M(this.props.className,"jp-form-legend")}),this.props.children)}}),t.FormCheckbox=m.createClass({displayName:"FormInputCheckbox",render:function(){var e=(0,u["default"])(this.props,["className","type"]);return m.createElement("input",(0,o["default"])({},e,{type:"checkbox",className:M(this.props.className,"jp-form-checkbox")}))}}),t.FormTextInput=m.createClass({displayName:"FormTextInput",getDefaultProps:function(){return{isError:!1,isValid:!1,selectOnFocus:!1,type:"text"}},focus:function(){this.refs.textField.focus()},render:function(){var e=this.props,t=e.className,n=e.selectOnFocus,r=(0,s["default"])(t,{"jp-form-text-input":!0,"is-error":this.props.isError,"is-valid":this.props.isValid});return m.createElement("input",(0,o["default"])({},this.props,{ref:"textField",className:r,onClick:n?this.selectOnFocus:null}))},selectOnFocus:function(e){e.target.select()}}),t.FormTextarea=m.createClass({displayName:"FormTextarea",render:function(){return m.createElement("textarea",(0,o["default"])({},(0,u["default"])(this.props,"className"),{className:M(this.props.className,"jp-form-textarea")}),this.props.children)}}),t.FormRadio=m.createClass({displayName:"FormRadio",render:function(){var e=(0,u["default"])(this.props,["className","type"]);return m.createElement("input",(0,o["default"])({},e,{type:"radio",className:M(this.props.className,"jp-form-radio")}))}}),t.FormButton=m.createClass({displayName:"FormsButton",getDefaultProps:function(){return{isSubmitting:!1,isPrimary:!0,type:"submit"}},getDefaultButtonAction:function(){return this.props.isSubmitting?(0,p.translate)("Saving…"):(0,p.translate)("Save Settings")},render:function(){var e=(0,s["default"])({"jp-form-button":!0});return m.createElement(h["default"],(0,o["default"])({},(0,u["default"])(this.props,"className"),{primary:this.props.isPrimary,className:M(this.props.className,e)}),(0,d["default"])(this.props.children)?this.getDefaultButtonAction():this.props.children)}})},function(e,t,n){var r=n(643),a=n(984),o=n(988),i=n(991),s=n(360),c=n(993),u=n(418),l=s(function(e,t){return null==e?{}:(t=r(o(t,1),u),i(e,a(c(e),t)))});e.exports=l},function(e,t,n){function r(e,t,n,r){var d=-1,p=o,f=!0,h=e.length,m=[],M=t.length;if(!h)return m;n&&(t=s(t,c(n))),r?(p=i,f=!1):t.length>=l&&(p=u,f=!1,t=new a(t));e:for(;++d<h;){var _=e[d],g=n?n(_):_;if(_=r||0!==_?_:0,f&&g===g){for(var v=M;v--;)if(t[v]===g)continue e;m.push(_)}else p(t,g,r)||m.push(_)}return m}var a=n(601),o=n(985),i=n(986),s=n(643),c=n(618),u=n(987),l=200;e.exports=r},function(e,t,n){function r(e,t){var n=e?e.length:0;return!!n&&a(e,t,0)>-1}var a=n(634);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,a=e?e.length:0;++r<a;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function r(e,t,n,i,s){var c=-1,u=e.length;for(n||(n=o),s||(s=[]);++c<u;){var l=e[c];t>0&&n(l)?t>1?r(l,t-1,n,i,s):a(s,l):i||(s[s.length]=l)}return s}var a=n(989),o=n(990);e.exports=r},879,function(e,t,n){function r(e){return i(e)||o(e)||!!(s&&e&&e[s])}var a=n(415),o=n(372),i=n(374),s=a?a.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){function r(e,t){return e=Object(e),a(e,t,function(t,n){return n in e})}var a=n(992);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,a=t.length,o={};++r<a;){var i=t[r],s=e[i];n(s,i)&&(o[i]=s)}return o}e.exports=n},function(e,t,n){function r(e){return a(e,i,o)}var a=n(994),o=n(995),i=n(998);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return o(e)?r:a(r,n(e))}var a=n(989),o=n(374);e.exports=r},function(e,t,n){var r=n(989),a=n(164),o=n(996),i=n(997),s=Object.getOwnPropertySymbols,c=s?function(e){for(var t=[];e;)r(t,o(e)),e=a(e);return t}:i;e.exports=c},function(e,t,n){var r=n(165),a=n(997),o=Object.getOwnPropertySymbols,i=o?r(o,Object):a;e.exports=i},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function r(e){return i(e)?a(e,!0):o(e)}var a=n(370),o=n(999),i=n(363);e.exports=r},function(e,t,n){function r(e){if(!a(e))return i(e);var t=o(e),n=[];for(var r in e)("constructor"!=r||!t&&c.call(e,r))&&n.push(r);return n}var a=n(365),o=n(368),i=n(1e3),s=Object.prototype,c=s.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){function r(e){if(s(e)&&(i(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||o(e)))return!e.length;var t=a(e);if(t==d||t==p)return!e.size;if(M||u(e))return!l(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}var a=n(610),o=n(372),i=n(374),s=n(363),c=n(1002),u=n(368),l=n(376),d="[object Map]",p="[object Set]",f=Object.prototype,h=f.hasOwnProperty,m=f.propertyIsEnumerable,M=!m.call({valueOf:1},"valueOf");e.exports=r},function(e,t,n){(function(e){var r=n(391),a=n(1003),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===o,c=s?r.Buffer:void 0,u=c?c.isBuffer:void 0,l=u||a;e.exports=l}).call(t,n(430)(e))},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ModuleSettingMultipleSelectCheckboxes=t.ModuleSettingRadios=t.ModuleSettingCheckbox=void 0;var a=n(435),o=r(a),i=n(142),s=r(i),c=n(1005),u=r(c),l=n(1007),d=r(l),p=n(982),f=n(1008),h=r(f);t.ModuleSettingCheckbox=s["default"].createClass({displayName:"ModuleSettingCheckbox",render:function(){var e=this.props;return s["default"].createElement(p.FormLabel,null,s["default"].createElement(h["default"],{name:e.name,checked:!!e.getOptionValue(e.name),value:!!e.getOptionValue(e.name),disabled:e.isUpdating(e.name),onChange:e.onOptionChange}),s["default"].createElement("span",null,e.label))}}),t.ModuleSettingRadios=s["default"].createClass({displayName:"ModuleSettingRadios",render:function(){var e=this.props,t=this.props.validValues;return s["default"].createElement("div",null,(0,o["default"])(t).map(function(n){return s["default"].createElement(p.FormLabel,{key:"option-"+e.option_name+"-"+n},s["default"].createElement(p.FormRadio,{name:e.name,checked:n===e.getOptionValue(e.name),value:n,disabled:e.isUpdating(e.name),onChange:e.onOptionChange}),s["default"].createElement("span",null,t[n]))}))}}),t.ModuleSettingMultipleSelectCheckboxes=s["default"].createClass({displayName:"ModuleSettingMultipleSelectCheckboxes",getDefaultProps:function(){return{always_checked:[]}},onOptionChange:function(e){var t=e.target.value,n=this.props.getOptionValue(this.props.name),r=n.indexOf(t)===-1?(0,u["default"])(n,t):(0,d["default"])(n,t);this.props.updateFormStateOptionValue(this.props.name,r)},isAlwaysChecked:function(e){return this.props.always_checked.indexOf(e)!==-1},shouldBeChecked:function(e){return this.isAlwaysChecked(e)||this.props.getOptionValue(this.props.name).indexOf(e)!==-1},shouldBeDisabled:function(e){return this.isAlwaysChecked(e)||this.props.isUpdating(this.props.name)},render:function(){var e=this,t=this.props,n=this.props.validValues;return s["default"].createElement("div",null,(0,o["default"])(n).map(function(r){return s["default"].createElement(p.FormLabel,{key:"option-"+t.option_name+"-"+r},s["default"].createElement(h["default"],{name:t.name,checked:e.shouldBeChecked(r),value:r,disabled:e.shouldBeDisabled(r),onChange:e.onOptionChange}),s["default"].createElement("span",null,n[r].name))}))}})},function(e,t,n){function r(){for(var e=arguments.length,t=Array(e?e-1:0),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return e?a(s(n)?i(n):[n],o(t,1)):[]}var a=n(989),o=n(988),i=n(1006),s=n(374);e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){var r=n(984),a=n(360),o=n(373),i=a(function(e,t){return o(e)?r(e,t):[]});e.exports=i},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(142),o=n(739),i=n(868);n(1009),e.exports=a.createClass({displayName:"Checkbox",propTypes:{disabled:a.PropTypes.bool,checked:a.PropTypes.bool},getDefaultProps:function(){return{disabled:!1}},render:function(){var e=i(this.props,["className","type"]);return a.createElement("input",r({},e,{type:"checkbox",className:o(this.props.className,"dops-checkbox")}))}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){var t=p["default"].createClass({displayName:"SettingsForm",getInitialState:function(){return{options:{}}},onOptionChange:function(e){var t=e.target.name,n=void 0;n="checkbox"===e.target.type&&"undefined"!=typeof e.target.checked?e.target.checked:e.target.value,this.updateFormStateOptionValue(t,n)},updateFormStateOptionValue:function(e,t){var n=(0,l["default"])({},this.state.options,(0,c["default"])({},e,t));return this.setState({options:n}),this.props.setUnsavedOptionFlag(),!0},onSubmit:function(e){var t=this;e.preventDefault(),this.props.updateOptions(this.state.options).then(function(){t.setState({options:{}})}),this.props.clearUnsavedOptionFlag()},getOptionValue:function(e){var t=this.props.getOptionCurrentValue(this.props.module.module,e);return"undefined"!=typeof this.state.options[e]?this.state.options[e]:t},shouldSaveButtonBeDisabled:function(){var e=!1;return e=!this.isSavingAnyOption()&&this.isDirty(),!e},isDirty:function(){return!!(0,i["default"])(this.state.options).length},isSavingAnyOption:function(){var e=this;return(0,i["default"])(this.state.options).some(function(t){return e.props.isUpdating(t)})},render:function(){return p["default"].createElement(e,(0,l["default"])({getOptionValue:this.getOptionValue,onSubmit:this.onSubmit,onOptionChange:this.onOptionChange,updateFormStateOptionValue:this.updateFormStateOptionValue,shouldSaveButtonBeDisabled:this.shouldSaveButtonBeDisabled,isSavingAnyOption:this.isSavingAnyOption},this.props))}});return(0,f.connectModuleOptions)(t)}Object.defineProperty(t,"__esModule",{value:!0});var o=n(435),i=r(o),s=n(439),c=r(s),u=n(349),l=r(u);t.ModuleSettingsForm=a;var d=n(142),p=r(d),f=n(1012)},function(e,t,n){"use strict";function r(e){return(0,a.connect)(function(e,t){return{validValues:function(n){return(0,o.getModuleOptionValidValues)(e,t.module.module,n)},getOptionCurrentValue:function(t,n){return(0,o.getModuleOption)(e,t,n)},getSiteRoles:function(){return(0,i.getSiteRoles)(e)},isUpdating:function(n){return(0,o.isUpdatingModuleOption)(e,t.module.module,n)},adminEmailAddress:(0,i.getAdminEmailAddress)(e),isCurrentUserLinked:(0,s.isCurrentUserLinked)(e)}},function(e,t){return{updateOptions:function(n){return e((0,o.updateModuleOptions)(t.module.module,n))},regeneratePostByEmailAddress:function(){return e((0,o.regeneratePostByEmailAddress)())},setUnsavedOptionFlag:function(){return e((0,o.setUnsavedOptionFlag)())},clearUnsavedOptionFlag:function(){return e((0,o.clearUnsavedOptionFlag)())}}})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.connectModuleOptions=r;var a=n(154),o=n(433),i=n(348),s=n(631)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(784),s=r(i),c=n(739),u=r(c),l=n(649),d=r(l),p=n(868),f=r(p),h=n(802),m=r(h);n(1014),t["default"]=o["default"].createClass({displayName:"ExternalLink",mixins:[s["default"]],propTypes:{className:o["default"].PropTypes.string,href:o["default"].PropTypes.string,onClick:o["default"].PropTypes.func,icon:o["default"].PropTypes.bool,iconSize:o["default"].PropTypes.number},getDefaultProps:function(){return{iconSize:18}},render:function(){var e=(0,u["default"])("dops-external-link",this.props.className,{"has-icon":!!this.props.icon}),t=(0,d["default"])({},(0,f["default"])(this.props,"icon","iconSize"),{className:e,rel:"external"});return o["default"].createElement("a",t,this.props.children,this.props.icon?o["default"].createElement(m["default"],{icon:"external",size:this.props.iconSize}):null)}})},787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(932),g=(r(_),n(633)),v=r(g),b=n(648),y=r(b),A=n(957),T=r(A),L=n(942),E=r(L),w=n(433),z=n(938),S=n(959),k=n(631),O=n(684),N=n(348),C=t.Page=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.currentIp,u=(0,i["default"])(e.moduleList),l=[["scan",(0,M.translate)("Security Scanning"),(0,M.translate)("Automated, comprehensive protection from threats and attacks."),"https://vaultpress.com/jetpack/"],["protect",o("protect").name,o("protect").description,o("protect").learn_more_button],["monitor",o("monitor").name,o("monitor").description,o("monitor").learn_more_button],["akismet","Akismet",(0,M.translate)("State-of-the-art spam defense."),"https://akismet.com/jetpack/"],["backups",(0,M.translate)("Site Backups"),(0,M.translate)("Automatically backup your entire site."),"https://vaultpress.com/jetpack/"],["sso",o("sso").name,o("sso").description,o("sso").learn_more_button]].map(function(i){var l=e.isUnavailableInDevMode(i[0]),p=l?(0,M.translate)("Unavailable in Dev Mode"):c["default"].createElement(z.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t}),h=l?"devmode-disabled":"",_="scan"===i[0]||"akismet"===i[0]||"backups"===i[0],g={};return(0,v["default"])(u,i[0])||_?(_&&(g={module:i[0],configure_url:""},p=c["default"].createElement(E["default"],{proFeature:i[0]}),i[1]=c["default"].createElement("span",null,i[1],c["default"].createElement(f["default"],{compact:!0,href:"#professional"},(0,M.translate)("Pro"))),e.isFetchingPluginsData||("akismet"===i[0]&&e.isPluginActive("akismet/akismet.php")?g.configure_url=e.siteAdminUrl+"admin.php?page=akismet-key-config":"scan"!==i[0]&&"backups"!==i[0]||!e.isPluginActive("vaultpress/vaultpress.php")||(g.configure_url="https://dashboard.vaultpress.com/"))),c["default"].createElement(d["default"],{className:h,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:p,expandedSummary:p,clickableHeaderText:!0,onOpen:function(){return y["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])||_?c["default"].createElement(S.AllModuleSettings,{module:_?g:o(i[0]),currentIp:s}):c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:i[3]},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))):null});return c["default"].createElement("div",null,c["default"].createElement(T["default"],null),l)};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,w.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,w.isActivatingModule)(e,t)||(0,w.isDeactivatingModule)(e,t)},getModule:function(t){return(0,w.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,k.isUnavailableInDevMode)(e,t)},isFetchingPluginsData:(0,O.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,O.isPluginActive)(e,t)},currentIp:(0,N.getCurrentIp)(e),moduleList:(0,w.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,w.deactivateModule)(t):(0,w.activateModule)(t))}}})(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Page=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(633),g=r(_),v=n(648),b=r(v),y=n(433),A=n(938),T=n(959),L=n(631),E=n(348),w=n(1018),z=r(w),S=t.Page=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=(0,i["default"])(e.moduleList),l=[["tiled-gallery",o("tiled-gallery").name,o("tiled-gallery").description,o("tiled-gallery").learn_more_button],["photon",o("photon").name,o("photon").description,o("photon").learn_more_button],["carousel",o("carousel").name,o("carousel").description,o("carousel").learn_more_button],["widgets",o("widgets").name,o("widgets").description,o("widgets").learn_more_button],["widget-visibility",o("widget-visibility").name,o("widget-visibility").description,o("widget-visibility").learn_more_button],["custom-css",o("custom-css").name,o("custom-css").description,o("custom-css").learn_more_button],["infinite-scroll",o("infinite-scroll").name,o("infinite-scroll").description,o("infinite-scroll").learn_more_button],["minileven",o("minileven").name,o("minileven").description,o("minileven").learn_more_button]].map(function(i){if(!(0,g["default"])(u,i[0]))return null;var s=e.isUnavailableInDevMode(i[0]),l=s?(0,M.translate)("Unavailable in Dev Mode"):c["default"].createElement(A.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t}),p=s?"devmode-disabled":"";return c["default"].createElement(d["default"],{className:p,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:l,expandedSummary:l,clickableHeaderText:!0,onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])?c["default"].createElement(T.AllModuleSettings,{module:o(i[0])}):c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:i[3]},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))});return c["default"].createElement("div",null,l,c["default"].createElement(d["default"],{header:(0,M.translate)("Holiday Snow"),subheader:(0,M.translate)("Show falling snow in the holiday period."),clickableHeaderText:!0,disabled:!s,summary:s?c["default"].createElement(z["default"],{slug:"snow"}):"",expandedSummary:s?c["default"].createElement(z["default"],{slug:"snow"}):"",onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:"holiday_snow",path:e.route.path})}},c["default"].createElement("span",{className:"jp-form-setting-explanation"},(0,M.translate)("Show falling snow on my blog from Dec 1st until Jan 4th."))))};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,E.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(S)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=void 0;var a=n(439),o=r(a),i=n(142),s=r(i),c=n(154),u=(n(452),n(678)),l=n(1019),d=t.Settings=s["default"].createClass({displayName:"Settings",propTypes:{slug:s["default"].PropTypes.string,activated:s["default"].PropTypes.bool,toggleSetting:s["default"].PropTypes.func,disabled:s["default"].PropTypes.bool},componentDidMount:function(){this.props.isFetchingSettingsList||this.props.fetchSettings()},render:function(){var e="snow"===this.props.slug?this.props.snowSlug:this.props.slug;return s["default"].createElement("div",null,s["default"].createElement(l.SettingToggle,{slug:e,activated:this.props.isSettingActivated(e),toggleSetting:this.props.toggleSetting,disabled:this.props.isFetchingSettingsList}))}});t["default"]=(0,c.connect)(function(e){return{snowSlug:(0,u.getSettingName)(e,"jetpack_holiday_snow_enabled"),isSettingActivated:function(t){return(0,u.isSettingActivated)(e,t)},isFetchingSettingsList:(0,u.isFetchingSettingsList)(e),settings:(0,u.fetchSettings)(e)}},function(e){return{fetchSettings:function(){return e((0,u.fetchSettings)())},toggleSetting:function(t,n){e((0,u.updateSetting)((0,o["default"])({},t,!n)))}}})(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SettingToggle=void 0;var a=n(142),o=r(a),i=n(939),s=r(i);t.SettingToggle=o["default"].createClass({displayName:"SettingToggle",propTypes:{toggleSetting:o["default"].PropTypes.func,activated:o["default"].PropTypes.bool,disabled:o["default"].PropTypes.bool,className:o["default"].PropTypes.string,id:o["default"].PropTypes.string},getDefaultProps:function(){return{activated:!1}},toggleSetting:function(){return this.props.toggleSetting(this.props.slug,this.props.activated)},render:function(){return o["default"].createElement(s["default"],{checked:this.props.activated,className:this.props.className,onChange:this.toggleSetting,disabled:this.props.disabled,id:this.props.id}," ",this.props.children)}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.GeneralSettings=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(633),g=r(_),v=n(648),b=r(v),y=n(1021),A=r(y),T=n(631),L=n(433),E=n(938),w=n(348),z=t.GeneralSettings=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=(0,i["default"])(e.moduleList),l=function(i){var l=e.isUnavailableInDevMode(i),p=l?"devmode-disabled":"",h="";return l?h=function(){return(0,M.translate)("Unavailable in Dev Mode")}:s&&(h=function(e){return c["default"].createElement(E.ModuleToggle,{slug:e,activated:n(e),toggling:r(e),toggleModule:t})}),s&&(0,g["default"])(u,i)?c["default"].createElement(d["default"],{className:p,header:o(i).name,subheader:o(i).description,clickableHeaderText:!0,disabled:!s,summary:s?h(i):"",expandedSummary:s?h(i):"",onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i,path:e.route.path})}},c["default"].createElement("div",{className:"jp-form-setting-explanation"},c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i))})),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:o(i).learn_more_button},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More"))))):null};return c["default"].createElement("div",null,c["default"].createElement(d["default"],{header:(0,M.translate)("Connection Settings"),subheader:(0,M.translate)("Manage your Jetpack connection."),clickableHeaderText:!0,onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:"connection_settings",path:e.route.path})}},c["default"].createElement(A["default"],e)),n("manage")?"":l("manage"),l("notes"),l("json-api"))};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,L.isModuleActivated)(e,t)},getModule:function(t){return(0,L.getModule)(e,t)},isTogglingModule:function(t){return(0,L.isActivatingModule)(e,t)||(0,L.isDeactivatingModule)(e,t)},isUnavailableInDevMode:function(t){return(0,T.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,w.userCanManageModules)(e),moduleList:(0,L.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,L.deactivateModule)(t):(0,L.activateModule)(t))},disconnectSite:function(){return e(T.disconnectSite)}}})(z)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(452),c=n(631),u=n(348),l=n(1022),d=r(l),p=n(828),f=r(p),h=o["default"].createClass({displayName:"ConnectionSettings",renderContent:function(){var e=this.props.userCanDisconnectSite?o["default"].createElement(f["default"],null):null,t=this.props.userIsMaster?null:o["default"].createElement(f["default"],{connectUser:!0});return(0,c.isDevMode)(this.props)?o["default"].createElement("div",null,(0,s.translate)("The site is in Development Mode, so you can not connect to WordPress.com.")):o["default"].createElement("div",null,this.props.isLinked?o["default"].createElement("div",{className:"jp-connection-settings"},o["default"].createElement("img",{alt:"gravatar",width:"75",height:"75",className:"jp-connection-settings__gravatar",src:this.props.userWpComAvatar}),o["default"].createElement("div",{className:"jp-connection-settings__headline"},(0,s.translate)("You are connected as "),o["default"].createElement("span",{className:"jp-connection-settings__username"},this.props.userWpComLogin)),o["default"].createElement("div",{className:"jp-connection-settings__email"},this.props.userWpComEmail),o["default"].createElement("div",{className:"jp-connection-settings__actions"},e,t)):o["default"].createElement("div",{className:"jp-connection-settings"},o["default"].createElement("div",{className:"jp-connection-settings__headline"},(0,s.translate)("Link your account to WordPress.com to get the most out of Jetpack.")),o["default"].createElement("div",{className:"jp-connection-settings__actions"},e,t)))},render:function(){return o["default"].createElement("div",null,this.renderContent(),o["default"].createElement(d["default"],null))}});t["default"]=(0,i.connect)(function(e){return{userCanDisconnectSite:(0,u.userCanDisconnectSite)(e),userIsMaster:(0,u.userIsMaster)(e),userWpComLogin:(0,u.getUserWpComLogin)(e),userWpComEmail:(0,u.getUserWpComEmail)(e),userWpComAvatar:(0,u.getUserWpComAvatar)(e),username:(0,u.getUsername)(e),isLinked:(0,c.isCurrentUserLinked)(e)}})(h),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(833),o=r(a),i=n(836),s=r(i),c=n(837),u=r(c),l=n(838),d=r(l),p=n(839),f=r(p),h=n(142),m=n(154),M=n(161),_=n(631),g=function(e){function t(){return(0,s["default"])(this,t),(0,d["default"])(this,(t.__proto__||(0,o["default"])(t)).apply(this,arguments))}return(0,f["default"])(t,e),(0,u["default"])(t,[{key:"componentWillMount",value:function(){this.props.fetchUserConnectionData()}},{key:"render",value:function(){return null}}]),t}(h.Component);g.defaultProps={fetchSiteConnectionStatus:function(){}},t["default"]=(0,m.connect)(function(){return{fetchUserConnectionData:(0,_.fetchUserConnectionData)()}},function(e){return(0,M.bindActionCreators)({fetchUserConnectionData:_.fetchUserConnectionData},e)})(g),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.Writing=void 0;var o=n(435),i=r(o),s=n(142),c=r(s),u=n(154),l=n(849),d=r(l),p=n(829),f=r(p),h=n(802),m=r(h),M=n(452),_=n(633),g=r(_),v=n(648),b=r(v),y=n(433),A=n(938),T=n(959),L=n(631),E=n(348),w=t.Writing=function(e){var t=e.toggleModule,n=e.isModuleActivated,r=e.isTogglingModule,o=e.getModule,s=e.userCanManageModules,u=s,l=(0,i["default"])(e.moduleList),p=[["shortlinks",o("shortlinks").name,o("shortlinks").description,o("shortlinks").learn_more_button],["shortcodes",o("shortcodes").name,o("shortcodes").description,o("shortcodes").learn_more_button],["videopress",o("videopress").name,o("videopress").description,o("videopress").learn_more_button],["contact-form",o("contact-form").name,o("contact-form").description,o("contact-form").learn_more_button],["after-the-deadline",o("after-the-deadline").name,o("after-the-deadline").description,o("after-the-deadline").learn_more_button],["markdown",o("markdown").name,o("markdown").description,o("markdown").learn_more_button],["post-by-email",o("post-by-email").name,o("post-by-email").description,o("post-by-email").learn_more_button],["latex",o("latex").name,o("latex").description,o("latex").learn_more_button],["custom-content-types",o("custom-content-types").name,o("custom-content-types").description,o("custom-content-types").learn_more_button]],h=["after-the-deadline","post-by-email"];
|
92 |
if(!u){var _=p.slice();_.reverse().forEach(function(e){(0,g["default"])(h,e[0])&&p.unshift(e)}),p=p.filter(function(e,t){return p.indexOf(e)===t})}return p=p.map(function(i,s){if(!(0,g["default"])(l,i[0]))return null;var p=e.isUnavailableInDevMode(i[0]),_=p?"devmode-disabled":"",v="",y=u||(0,g["default"])(h,i[0]);return p?v=(0,M.translate)("Unavailable in Dev Mode"):u&&(v=c["default"].createElement(A.ModuleToggle,{slug:i[0],activated:n(i[0]),toggling:r(i[0]),toggleModule:t})),1===i.length?c["default"].createElement("h1",{key:"section-header-"+s},i[0]):!!y&&c["default"].createElement(d["default"],{className:_,key:"module-card_"+i[0],header:i[1],subheader:i[2],summary:v,expandedSummary:v,clickableHeaderText:!0,onOpen:function(){return b["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:i[0],path:e.route.path})}},n(i[0])||"scan"===i[0]?c["default"].createElement(T.AllModuleSettings,{module:o(i[0]),siteAdminUrl:e.siteAdminUrl}):c["default"].createElement("div",{dangerouslySetInnerHTML:a(o(i[0]))}),c["default"].createElement("div",{className:"jp-module-settings__read-more"},c["default"].createElement(f["default"],{borderless:!0,compact:!0,href:i[3]},c["default"].createElement(m["default"],{icon:"help-outline"}),c["default"].createElement("span",{className:"screen-reader-text"},(0,M.translate)("Learn More")))))}),c["default"].createElement("div",null,p)};t["default"]=(0,u.connect)(function(e){return{isModuleActivated:function(t){return(0,y.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,y.isActivatingModule)(e,t)||(0,y.isDeactivatingModule)(e,t)},getModule:function(t){return(0,y.getModule)(e,t)},isUnavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},userCanManageModules:(0,E.userCanManageModules)(e),moduleList:(0,y.getModules)(e)}},function(e){return{toggleModule:function(t,n){return e(n?(0,y.deactivateModule)(t):(0,y.activateModule)(t))}}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(829),c=r(s),u=n(452),l=n(847),d=n(348),p=function(e){var t=e.userCanViewStats;return o["default"].createElement("div",{className:"jp-landing__apps dops-card"},o["default"].createElement("div",{className:"jp-landing-apps__header"},o["default"].createElement("h2",{className:"jp-landing-apps__title"},(0,u.translate)("Powerful WordPress.com features on every device.")),o["default"].createElement("p",{className:"jp-landing-apps__description"},(0,u.translate)("Manage all your sites from a single dashboard.")),o["default"].createElement("div",{className:"jp-landing-apps__header-img-container"},o["default"].createElement("div",{className:"jp-landing-apps__header-col-left"},o["default"].createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("Feel the performance")),o["default"].createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("All the WordPress apps are built for speed. You'll notice the difference in performance immediately, with near-instant page-loads and less waiting around."))),o["default"].createElement("div",{className:"jp-landing-apps__header-col-right"},o["default"].createElement("img",{src:l.imagePath+"/apps/laptop-90deg-themes2x.jpg",className:"jp-landing-apps__header-img"}))),o["default"].createElement("div",{className:"jp-landing-apps__clouds jp-clouds-top"},o["default"].createElement("img",{src:l.imagePath+"/white-clouds.svg"}))),o["default"].createElement("div",{className:"jp-landing-apps__feature-container"},e.userCanManagePlugins?o["default"].createElement("div",{className:"jp-landing-apps__feature"},o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/manage2x.jpg"})),o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o["default"].createElement("h3",{className:"jp-landing__apps-feature-title"},(0,u.translate)("Bulk and automatic updates")),o["default"].createElement("p",{className:"jp-landing__apps-feature-text"},(0,u.translate)("Most security flaws are found in outdated plugins. Use our Web and Desktop apps to turn on auto-updates or update plugins manually for all your websites in one convenient place.")),o["default"].createElement(c["default"],{href:"https://wordpress.com/plugins/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("Manage Plugins")))):null,e.userCanEditPosts?o["default"].createElement("div",{className:"jp-landing-apps__feature"},o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o["default"].createElement("h3",{className:"jp-landing__apps-feature-title"},(0,u.translate)("Focus on your Writing")),o["default"].createElement("p",{className:"jp-landing__apps-feature-text"},(0,u.translate)("Our new editor is lightning fast, optimized for writers and eliminates distractions, giving you the ability to focus on your work.")),o["default"].createElement(c["default"],{href:"https://wordpress.com/post/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("Try the New Editor"))),o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/editor2x.jpg"}))):null,t?o["default"].createElement("div",{className:"jp-landing-apps__feature"},o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/stats2x.jpg"})),o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o["default"].createElement("h2",null,(0,u.translate)("Connect with your Visitors")),o["default"].createElement("p",null,(0,u.translate)("Monitor your visitors with advanced stats. Watch for trends, learn what content performs the best and understand your visitors from anywhere in the world.")),o["default"].createElement(c["default"],{href:"https://wordpress.com/stats/"+e.siteRawUrl,className:"is-primary"},(0,u.translate)("View Your Stats")))):"",o["default"].createElement("div",{className:"jp-landing-apps__feature"},t?"":o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/community2x.jpg"})),o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-desc"},o["default"].createElement("h2",null,(0,u.translate)("Connect with the Community")),o["default"].createElement("p",null,(0,u.translate)("The WordPress apps all have impressively fast and full featured readers so you can catch up with your favorite sites and join the conversation anywhere, any time.")),o["default"].createElement(c["default"],{href:"https://wordpress.com/reader",className:"is-primary"},(0,u.translate)("Launch Reader"))),t?o["default"].createElement("div",{className:"jp-landing-apps__feature-col jp-landing-apps__feature-img"},o["default"].createElement("img",{src:l.imagePath+"/apps/community2x.jpg"})):"")),o["default"].createElement("div",{className:"jp-landing-apps__footer"},o["default"].createElement("div",{className:"jp-landing-apps__clouds jp-clouds-bottom"},o["default"].createElement("img",{src:l.imagePath+"/white-clouds-reverse.svg"})),o["default"].createElement("div",{className:"jp-landing-apps__footer-top"},o["default"].createElement("h2",{className:"jp-landing-apps__title"},(0,u.translate)("Inspiration strikes any time, anywhere.")),o["default"].createElement("p",{className:"jp-landing-apps__description"},(0,u.translate)("Get WordPress apps for any screen.")),o["default"].createElement("img",{src:l.imagePath+"/apps/triple-devices.svg",className:"jp-landing-apps__devices"})),o["default"].createElement("div",{className:"jp-landing-apps__downloads"},o["default"].createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("In Your Pocket")),o["default"].createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("Publish content, track stats, moderate comments and so much more from anywhere in the world. Our mobile apps are open source, free and available to you on Apple or Android devices.")),o["default"].createElement("p",{className:"jp-landing-apps__btn-container"},o["default"].createElement(c["default"],{href:"http://itunes.apple.com/us/app/wordpress/id335703880?mt=8",title:(0,u.translate)("WordPress.com in the App Store"),className:"jp-app-button button-ios"},o["default"].createElement("svg",{width:"28",height:"28",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},o["default"].createElement("path",{d:"M74.7,62.2c-3.5-3.2-5.2-7.2-5.3-12.1c-0.1-6.2,2.8-11.1,8.5-14.5c-3.2-4.5-8-7.1-14.4-7.6c-2.4-0.2-5.2,0.3-8.7,1.5 c-3.6,1.3-5.7,2-6.4,2c-0.8,0-2.8-0.6-5.7-1.7c-3-1.1-5.4-1.7-7.2-1.7c-3.4,0.1-6.5,0.9-9.4,2.6c-2.9,1.7-5.2,4-6.9,7 C17.1,41.5,16,45.9,16,51c0,4.4,0.8,9,2.4,13.8c1.5,4.4,3.5,8.2,5.8,11.6c2.2,3.1,4,5.3,5.5,6.6c2.3,2.1,4.6,3.2,6.9,3.1 c1.5-0.1,3.5-0.6,6-1.6c2.5-1,4.8-1.5,6.9-1.5c2,0,4.3,0.5,6.7,1.5c2.4,1,4.5,1.5,6.2,1.5c2.4-0.1,4.7-1,6.8-3 c1.4-1.2,3.1-3.3,5.3-6.4c1.6-2.2,2.9-4.7,4.1-7.3c0.5-1.1,0.9-2.3,1.3-3.5C78.1,64.9,76.3,63.7,74.7,62.2z M59.8,22.2 c2.8-3.3,4.2-6.8,4.2-10.6v0c0-0.5,0-1-0.1-1.5c-1.9,0.1-4,0.7-6.1,1.7c-2.2,1.1-4,2.4-5.4,4C49.6,19,48,22.9,48,26.5 c0,0.5,0,1,0.1,1.4C52.5,28.3,56.5,26.1,59.8,22.2z"})),"iOS"),o["default"].createElement(c["default"],{href:"http://play.google.com/store/apps/details?id=org.wordpress.android",title:(0,u.translate)("WordPress.com in Google Play"),className:"jp-app-button button-android"},o["default"].createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 96 96"},o["default"].createElement("path",{d:"M25,34.1c-2.1,0-4,1.7-4,3.7v16.6c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V37.8C29,35.7,27.1,34.1,25,34.1z M31,35v29.5 c0,1.1,0.5,2.5,1.6,2.5H37v8.8c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V67h6v8.8c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V67h4.4 c1.2,0,1.6-1.3,1.6-2.5V50V35h-1.6H31z M56.4,20.1l3-4.1c0.1-0.1,0-0.2-0.2-0.3c-0.2-0.1-0.4-0.1-0.4,0l-3.1,4.3 c-2.1-0.8-4.6-1.3-7.7-1.3c-3.1,0-5.7,0.5-7.8,1.3l-3.1-4.3c-0.1-0.1-0.3-0.1-0.4,0.1c-0.2,0.1-0.3,0.3-0.2,0.4l3,4 c-8.6,3.8-8.9,13-8.9,13h34.7C65.3,33,65,23.9,56.4,20.1z M40.4,27.8c-1.2,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.1-2.1 c1.2,0,2.1,0.9,2.1,2.1C42.5,26.9,41.5,27.8,40.4,27.8z M55.6,27.8c-1.2,0-2.1-0.9-2.1-2.1c0-1.1,0.9-2.1,2.1-2.1 c1.2,0,2.1,0.9,2.1,2.1C57.7,26.9,56.8,27.8,55.6,27.8z M71,34.1c-2.1,0-4,1.7-4,3.7v16.6c0,2,1.9,3.7,4,3.7c2.1,0,4-1.7,4-3.7V37.8 C75,35.7,73.1,34.1,71,34.1z"})),"Android")),o["default"].createElement("h3",{className:"jp-landing-apps__subtitle"},(0,u.translate)("On Your Desktop")),o["default"].createElement("p",{className:"jp-landing-apps__sub-description"},(0,u.translate)("A desktop app that gives WordPress a permanent home on your computer. Not to mention the distraction free environment you get writing outside of a web browser.")),o["default"].createElement("p",{className:"jp-landing-apps__btn-container"},o["default"].createElement(c["default"],{href:"https://apps.wordpress.com/d/osx",title:(0,u.translate)("WordPress.com for Mac OS X"),className:"jp-app-button button-macosx"},o["default"].createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o["default"].createElement("path",{d:"M24,8C15.163,8,8,15.163,8,24s7.163,16,16,16s16-7.163,16-16S32.837,8,24,8z M31.31,33.849h-0.986 l-6.31-9.152h-0.058l-6.31,9.152h-0.972l6.817-9.82l-6.846-9.878h0.986l6.339,9.181h0.058l6.353-9.181h0.972l-6.861,9.878 L31.31,33.849z"})),"Mac OS X"),o["default"].createElement(c["default"],{href:"https://apps.wordpress.com/d/windows",title:(0,u.translate)("WordPress.com for Windows"),className:"jp-app-button button-windows"},o["default"].createElement("svg",{width:"32",height:"32",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},o["default"].createElement("path",{d:"M8,35.5l13,2.031V25H8V35.5z M8,24h13V10.172L8,12V24z M22,37.688L40,40.5V25H22V37.688z M22,10.031 V24h18V7.5L22,10.031z"})),"Windows"),o["default"].createElement(c["default"],{href:"https://apps.wordpress.com/d/linux",title:(0,u.translate)("WordPress.com for Linux"),className:"jp-app-button button-linux"},o["default"].createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"21",height:"24",viewBox:"0 0 21 24"},o["default"].createElement("path",{d:"M9.8 5.9C9.8 5.9 9.8 5.9 9.8 5.9L9.7 5.9C9.6 5.9 9.6 5.9 9.5 5.8 9.5 5.8 9.4 5.7 9.4 5.6 9.4 5.5 9.4 5.5 9.5 5.5L9.7 5.6C9.8 5.7 9.8 5.8 9.8 5.9M8.4 5.1C8.4 4.7 8.3 4.4 8 4.4 8 4.4 8 4.5 7.9 4.5L7.9 4.7 8.2 4.7C8.2 4.8 8.3 4.9 8.3 5.1L8.4 5.1M11.2 4.7C11.3 4.7 11.4 4.8 11.5 5.1L11.7 5.1C11.6 5 11.6 4.9 11.6 4.8 11.6 4.8 11.6 4.7 11.5 4.6 11.4 4.5 11.3 4.4 11.3 4.4 11.3 4.4 11.2 4.5 11.1 4.5 11.1 4.6 11.2 4.6 11.2 4.7M8.8 5.9C8.7 5.9 8.7 5.9 8.7 5.9 8.7 5.8 8.7 5.7 8.8 5.6 9 5.6 9.1 5.5 9.1 5.5 9.1 5.5 9.1 5.6 9.1 5.6 9.1 5.7 9.1 5.8 8.9 5.9L8.8 5.9M7.9 5.9C7.6 5.7 7.6 5.5 7.6 5.1 7.6 4.8 7.6 4.7 7.7 4.5 7.8 4.4 7.9 4.3 8.1 4.3 8.3 4.3 8.3 4.4 8.5 4.5 8.6 4.8 8.7 5 8.7 5.2L8.7 5.3 8.7 5.4 8.7 5.4 8.7 5.3C8.8 5.3 8.8 5.2 8.8 4.8 8.8 4.6 8.8 4.4 8.7 4.1 8.5 3.9 8.3 3.7 8 3.7 7.8 3.7 7.6 3.9 7.5 4.1 7.3 4.4 7.3 4.7 7.3 5.1 7.3 5.4 7.4 5.7 7.7 6 7.8 5.9 7.9 5.9 7.9 5.9M17.8 17C17.9 17 17.9 17 17.9 16.9 17.9 16.7 17.8 16.5 17.6 16.3 17.3 16 16.9 15.9 16.5 15.8 16.4 15.8 16.3 15.8 16.3 15.8 16.2 15.8 16.2 15.8 16.2 15.8 16.1 15.8 15.9 15.8 15.8 15.8 16.1 15 16.2 14.4 16.2 13.8 16.2 13 16 12.5 15.7 12 15.4 11.5 15.1 11.3 14.7 11.2 14.6 11.3 14.6 11.3 14.6 11.4 15 11.5 15.4 11.8 15.6 12.3 15.8 12.9 15.9 13.3 15.9 13.9 15.9 14.3 15.8 15 15.5 15.8 15.2 16 14.9 16.3 14.7 16.7 14.7 16.8 14.7 16.8 14.7 16.8 14.7 16.8 14.8 16.8 14.9 16.6 15.1 16.5 15.1 16.3 15.3 16.2 15.5 16.1 15.7 16 15.9 16 16.3 16 16.7 16.1 16.9 16.2 17.3 16.3 17.4 16.4 17.5 16.5 17.6 16.6 17.7 16.7 17.7 16.8 17.7 16.9 17.8 17 17.8 17M10.6 5.5C10.5 5.5 10.5 5.3 10.5 5.2 10.5 4.8 10.5 4.7 10.6 4.4 10.8 4.3 10.9 4.2 11.1 4.2 11.3 4.2 11.5 4.4 11.7 4.5 11.7 4.8 11.8 4.9 11.8 5.2 11.8 5.5 11.7 5.8 11.3 5.9 11.3 5.9 11.4 5.9 11.5 5.9 11.7 5.9 11.7 6 11.9 6.1 12 5.6 12.1 5.3 12.1 4.9 12.1 4.4 12 4.1 11.8 3.9 11.6 3.7 11.3 3.6 11 3.6 10.8 3.6 10.6 3.7 10.3 3.8 10.2 4 10.1 4.2 10.1 4.4 10.1 4.8 10.2 5.2 10.3 5.5 10.4 5.5 10.5 5.5 10.6 5.5M11.5 6.8C10.5 7.5 9.7 7.8 9.1 7.8 8.5 7.8 7.9 7.6 7.5 7.2 7.6 7.4 7.6 7.5 7.7 7.6L8.2 8.1C8.5 8.4 8.9 8.5 9.3 8.5 9.8 8.5 10.5 8.2 11.3 7.7L12 7.2C12.1 7 12.3 6.9 12.3 6.7 12.3 6.6 12.3 6.5 12.2 6.5 12.1 6.3 11.7 6.1 10.9 5.9 10.2 5.5 9.7 5.4 9.4 5.4 9.1 5.4 8.7 5.5 8.2 5.9 7.7 6.2 7.4 6.5 7.4 6.8 7.4 6.8 7.5 6.9 7.6 7 8 7.4 8.5 7.7 9 7.7 9.6 7.7 10.4 7.4 11.4 6.6L11.4 6.7C11.5 6.7 11.5 6.8 11.5 6.8M13.3 22.8C13.6 23.4 14.2 23.7 14.8 23.7 15 23.7 15.1 23.6 15.3 23.6 15.4 23.5 15.6 23.5 15.7 23.4 15.8 23.4 15.8 23.3 15.9 23.3 16.1 23.2 16.1 23.2 16.2 23.1L17.5 22C17.8 21.7 18.1 21.5 18.5 21.3 18.8 21.1 19.2 21 19.3 20.9 19.6 20.8 19.7 20.8 19.9 20.6 19.9 20.5 20 20.4 20 20.2 20 19.9 19.9 19.8 19.7 19.6 19.6 19.5 19.4 19.4 19.2 19.4 19.1 19.3 18.9 19.2 18.7 19 18.5 18.8 18.4 18.5 18.3 18.1L18.2 17.7C18.1 17.4 18.1 17.3 18.1 17.2 18.1 17.2 18.1 17.2 18 17.2 17.9 17.2 17.7 17.2 17.7 17.4 17.5 17.5 17.3 17.7 17.2 17.8 17.1 18 16.9 18.1 16.7 18.3 16.5 18.4 16.2 18.5 16.1 18.5 15.4 18.5 15.1 18.3 14.9 17.9 14.7 17.7 14.7 17.4 14.6 17.1 14.4 16.9 14.3 16.9 14.2 16.9 13.8 16.9 13.6 17.3 13.6 18.1L13.6 18.4 13.6 19.3 13.6 20 13.6 20.3 13.6 20.6C13.6 20.6 13.6 20.8 13.6 21 13.5 21.3 13.5 21.6 13.5 21.9L13.3 22.7 13.3 22.8M1.9 22.3C2.6 22.4 3.4 22.7 4.4 23 5.4 23.4 5.9 23.6 6.2 23.6 6.7 23.6 7.2 23.3 7.5 22.8 7.6 22.7 7.6 22.5 7.6 22.3 7.6 21.6 7.2 20.6 6.3 19.5L5.7 18.7C5.6 18.6 5.5 18.4 5.3 18.1 5.2 17.8 5 17.5 4.9 17.3 4.8 17.2 4.6 17 4.4 16.8 4.2 16.6 4 16.5 3.7 16.4 3.4 16.5 3.1 16.6 3 16.8 2.9 16.9 2.9 17.1 2.8 17.3 2.8 17.4 2.8 17.5 2.7 17.6 2.6 17.6 2.5 17.7 2.3 17.7 2.3 17.7 2.2 17.7 2.1 17.7L1.9 17.7C1.4 17.7 1.2 17.8 1 17.8 0.8 18.1 0.7 18.3 0.7 18.6 0.7 18.7 0.7 19 0.8 19.3 0.9 19.5 0.9 19.8 0.9 19.9 0.9 20.3 0.8 20.6 0.6 20.9 0.4 21.3 0.3 21.5 0.3 21.7 0.4 22 0.9 22.2 1.9 22.3M4.5 15.2C4.5 14.6 4.6 14 4.9 13.3 5.2 12.6 5.5 12.1 5.8 11.8 5.8 11.7 5.7 11.7 5.7 11.7L5.6 11.6C5.3 11.9 5.1 12.4 4.7 13.2 4.4 13.9 4.2 14.6 4.2 15.1 4.2 15.4 4.3 15.7 4.5 16 4.7 16.3 5.1 16.6 5.7 17.1L6.6 17.7C7.5 18.4 7.9 19 7.9 19.3 7.9 19.5 7.9 19.6 7.6 19.8 7.5 20 7.3 20.1 7.1 20.1 7.1 20.1 7 20.1 7 20.1 7 20.2 7.1 20.3 7.3 20.6 7.6 21.1 8.3 21.3 9.3 21.3 11 21.3 12.4 20.6 13.4 19.2 13.4 18.8 13.4 18.5 13.3 18.4L13.3 18.1C13.3 17.6 13.4 17.2 13.5 17 13.7 16.7 13.9 16.6 14.1 16.6 14.3 16.6 14.4 16.7 14.6 16.8 14.6 16.2 14.6 15.6 14.6 15.2 14.6 14.4 14.6 13.9 14.5 13.3 14.4 12.8 14.3 12.4 14.1 12.1 13.9 11.9 13.8 11.6 13.6 11.4 13.5 11.2 13.4 10.9 13.2 10.7 13.1 10.4 13.1 10.1 13.1 9.8 12.8 9.4 12.7 9 12.4 8.6 12.3 8.2 12.1 7.8 12 7.5L11.3 8C10.5 8.6 9.8 8.8 9.3 8.8 8.8 8.8 8.4 8.7 8.2 8.4L7.7 8C7.7 8.3 7.6 8.6 7.5 8.9L7 9.8C6.7 10.4 6.6 10.7 6.6 10.9 6.6 11.1 6.5 11.3 6.5 11.3L5.9 12.4C5.3 13.6 5 14.7 5 15.6 5 15.8 5 16 5 16.2 4.7 15.9 4.5 15.6 4.5 15.2M10.1 22.6C9.1 22.6 8.3 22.8 7.8 23L7.8 23C7.4 23.5 6.9 23.7 6.3 23.7 5.9 23.7 5.3 23.6 4.5 23.3 3.7 23 2.9 22.8 2.3 22.6 2.2 22.6 2.1 22.6 1.9 22.6 1.7 22.5 1.4 22.5 1.3 22.5 1.1 22.4 0.9 22.4 0.7 22.3 0.5 22.2 0.4 22.1 0.2 22 0.1 21.9 0.1 21.8 0.1 21.7 0.1 21.6 0.1 21.4 0.2 21.3 0.2 21.2 0.3 21.1 0.3 21.1 0.4 21 0.4 20.9 0.4 20.8 0.5 20.7 0.5 20.7 0.6 20.6 0.6 20.5 0.6 20.4 0.6 20.4 0.7 20.3 0.7 20.2 0.7 20.1 0.7 20 0.6 19.8 0.6 19.4 0.5 19 0.5 18.7 0.5 18.6 0.5 18.3 0.6 18 0.7 17.8 0.9 17.6 1.1 17.5 1.2 17.5L2.2 17.5C2.2 17.5 2.3 17.4 2.5 17.4 2.6 17.2 2.6 17.1 2.6 17 2.7 16.9 2.7 16.9 2.7 16.8 2.7 16.8 2.7 16.7 2.8 16.7 2.8 16.6 2.8 16.6 2.9 16.5 2.8 16.4 2.8 16.3 2.8 16.2 2.8 16.1 2.8 16 2.8 16 2.8 15.7 2.9 15.3 3.2 14.8L3.5 14.3C3.7 13.9 3.9 13.5 4 13.2 4.2 12.9 4.3 12.4 4.5 11.8 4.6 11.2 4.9 10.7 5.4 10.1L5.9 9.4C6.4 9 6.6 8.6 6.8 8.2 6.9 7.9 7 7.5 7 7.2 7 7.1 7 6.6 6.9 5.8 6.8 5 6.8 4.2 6.8 3.5 6.8 3 6.8 2.6 6.9 2.2 7 1.8 7.2 1.4 7.5 1.1 7.7 0.7 8 0.4 8.5 0.3 9 0.1 9.5 0 10.1 0 10.4 0 10.6 0 10.9 0.1 11.1 0.1 11.4 0.2 11.8 0.4 12.1 0.5 12.4 0.7 12.7 0.9 13 1.1 13.2 1.5 13.5 1.9 13.6 2.4 13.8 2.9 13.9 3.5 13.9 3.9 13.9 4.3 14 4.9 14 5.3 14.1 5.6 14.1 5.9 14.2 6.1 14.2 6.4 14.3 6.8 14.3 7.1 14.4 7.5 14.6 7.7 14.7 8 14.9 8.3 15.1 8.6 15.4 9 15.7 9.4 16 9.9 16.7 10.7 17.3 11.6 17.6 12.4 18 13.2 18.2 14.2 18.2 15.3 18.2 15.9 18.1 16.4 18 16.9 18.1 16.9 18.2 17 18.3 17.1 18.4 17.2 18.4 17.5 18.5 17.8L18.6 18.4C18.7 18.6 18.8 18.7 19 18.9 19.1 19 19.3 19.2 19.5 19.2 19.7 19.3 19.9 19.4 20.1 19.6 20.3 19.7 20.3 19.9 20.3 20.1 20.3 20.3 20.3 20.5 20.1 20.7 19.9 20.8 19.8 21 19.5 21 19.4 21.1 19.1 21.3 18.6 21.5 18.2 21.7 17.8 22 17.4 22.3L16.6 23C16.3 23.3 16 23.5 15.8 23.7 15.5 23.8 15.2 23.9 14.9 23.9L14.3 23.8C13.7 23.7 13.3 23.3 13.1 22.9 11.8 22.7 10.8 22.6 10.1 22.6"})),"Linux")))))};t["default"]=(0,i.connect)(function(e){return{userCanViewStats:(0,d.userCanViewStats)(e),userCanManagePlugins:(0,d.userCanManagePlugins)(e),userCanEditPosts:(0,d.userCanEditPosts)(e)}})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Plans=void 0;var a=n(142),o=r(a),i=n(154),s=n(829),c=(r(s),n(452),n(681)),u=n(957),l=r(u),d=n(631),p=n(1026),f=r(p),h=n(1027),m=r(h),M=t.Plans=o["default"].createClass({displayName:"Plans",render:function(){var e=this.props.sitePlan.product_slug||"";return"dev"===this.props.getSiteConnectionStatus(this.props)&&(e="dev"),o["default"].createElement("div",null,o["default"].createElement(l["default"],null),o["default"].createElement("div",{className:"jp-landing__plans dops-card"},o["default"].createElement(f["default"],{plan:e}),o["default"].createElement(m["default"],{plan:e,siteRawUrl:this.props.siteRawUrl,siteAdminUrl:this.props.siteAdminUrl})))}});t["default"]=(0,i.connect)(function(e){return{getSiteConnectionStatus:function(){return(0,d.getSiteConnectionStatus)(e)},sitePlan:(0,c.getSitePlan)(e)}})(M)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(829),s=r(i),c=n(452),u=n(847),l=o["default"].createClass({displayName:"PlanHeader",render:function(){var e="",t="";switch(this.props.plan){case"jetpack_free":e=o["default"].createElement("div",{className:"jp-landing-plans__header"},o["default"].createElement("h2",{className:"jp-landing-plans__header-title"},(0,c.translate)("Powerful security tools for ultimate peace of mind")),o["default"].createElement("p",{className:"jp-landing-plans__header-description"},(0,c.translate)("Backup, protect, repair and build a better website.")),o["default"].createElement("div",{className:"jp-landing-plans__header-img-container"},o["default"].createElement("div",{className:"jp-landing-plans__header-col-left"},o["default"].createElement("h3",{className:"jp-landing-plans__header-subtitle"},(0,c.translate)("Threats don't discriminate")),o["default"].createElement("p",{className:"jp-landing-plans__header-text"},(0,c.translate)("Hackers, botnets and spammers attack websites indiscriminately. Their goal is to attack everywhere and often. Our goal is to help you prepare by blocking these threats, and in worst-case-scenarios we'll be here to help you restore your site to its former glory.")),o["default"].createElement("p",{className:"jp-landing-plans__header-btn-container"},o["default"].createElement(s["default"],{href:"https://wordpress.com/plans/"+window.Initial_State.rawUrl,className:"is-primary"},(0,c.translate)("Compare Plans")))),o["default"].createElement("div",{className:"jp-landing-plans__header-col-right"},o["default"].createElement("img",{src:u.imagePath+"/plans/admin-lock2x.png",className:"jp-landing-plans__header-img"}))),o["default"].createElement("div",{className:"jp-landing-plans__clouds jp-clouds-top"},o["default"].createElement("img",{src:u.imagePath+"/white-clouds.svg"}))),t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img"},o["default"].createElement("img",{src:u.imagePath+"/plans/plan-jetpack-free.svg",className:"jp-landing__plan-icon"})),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Free Jetpack Plan")),o["default"].createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Upgrade to Premium or Pro in order to unlock world class security, spam protection tools, and priority support."))));break;case"jetpack_premium":case"jetpack_premium_monthly":t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img"},o["default"].createElement("img",{src:u.imagePath+"/plans/plan-jetpack-premium.svg",className:"jp-landing__plan-icon"})),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Premium plan")),o["default"].createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Unlock the full potential of your site with the features included in your plan."))));break;case"jetpack_business":case"jetpack_business_monthly":t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img"},o["default"].createElement("img",{src:u.imagePath+"/plans/plan-jetpack-pro.svg",className:"jp-landing__plan-icon"})),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on the Jetpack Professional plan")),o["default"].createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Unlock the full potential of your site with the features included in your plan."))));break;case"dev":t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img"},o["default"].createElement("img",{src:u.imagePath+"/plans/plan-jetpack-free.svg",className:"jp-landing__plan-icon"})),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,c.translate)("Your site is on Development Mode")),o["default"].createElement("p",{className:"jp-landing__plan-features-text"},(0,c.translate)("Once you connect, you can upgrade to Premium or Pro in order to unlock worldclass security, spam protection tools, and priority support."))));break;default:t=o["default"].createElement("div",{className:"jp-landing__plan-card"},o["default"].createElement("div",{className:"jp-landing__plan-card-img is-placeholder"}),o["default"].createElement("div",{className:"jp-landing__plan-card-current"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o["default"].createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return o["default"].createElement("div",null,e,t)}});t["default"]=l,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(829),c=r(s),u=n(452),l=n(633),d=r(l),p=(n(847),n(684)),f=n(943),h=r(f),m=o["default"].createClass({displayName:"PlanBody",render:function(){var e="";switch(this.props.plan){case"jetpack_premium":case"jetpack_premium_monthly":case"jetpack_business":case"jetpack_business_monthly":e=o["default"].createElement("div",{className:"jp-landing__plan-features"},o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Spam Protection")),o["default"].createElement("p",null,(0,u.translate)("State-of-the-art spam defense powered by Akismet.")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("akismet/akismet.php")&&this.props.isPluginActive("akismet/akismet.php")?o["default"].createElement(c["default"],{href:this.props.siteAdminUrl+"admin.php?page=akismet-key-config",className:"is-primary"},(0,u.translate)("View your spam stats")):o["default"].createElement(c["default"],{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=akismet",className:"is-primary"},(0,u.translate)("Configure Akismet"))),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Security Scanning & Backups")),o["default"].createElement("p",null,(0,u.translate)("Realtime backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense, and brute-force login protection - all in one place.")),this.props.isFetchingPluginsData?"":this.props.isPluginInstalled("vaultpress/vaultpress.php")&&this.props.isPluginActive("vaultpress/vaultpress.php")?o["default"].createElement(c["default"],{href:"https://dashboard.vaultpress.com/",className:"is-primary"},(0,u.translate)("View your security dashboard")):o["default"].createElement(c["default"],{href:"https://wordpress.com/plugins/setup/"+this.props.siteRawUrl+"?only=vaultpress",className:"is-primary"},(0,u.translate)("Configure VaultPress"))),(0,d["default"])(["jetpack_business","jetpack_business_monthly"],this.props.plan)?o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Surveys & Polls")),o["default"].createElement("p",null,(0,u.translate)("Unlimited surveys, unlimited responses. Use the survey editor to create surveys quickly and easily. Collect responses via your website, e-mail or on your iPad or iPhone.")),o["default"].createElement(c["default"],{href:"https://polldaddy.com/dashboard/",className:"is-primary"},(0,u.translate)("Create a new poll"))):"",(0,d["default"])(["jetpack_premium","jetpack_premium_monthly"],this.props.plan)?o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Need more?")),o["default"].createElement("p",null,(0,u.translate)("Jetpack Professional offers advanced features including:")),o["default"].createElement("p",null," — ",(0,u.translate)("Supports 1-3 sites")),o["default"].createElement("p",null," — ",(0,u.translate)("Includes on-demand malware scanning")),o["default"].createElement("p",null," — ",(0,u.translate)("Unlimited backup archive")),o["default"].createElement("p",null," — ",(0,u.translate)("Real-time backups")),o["default"].createElement("p",null," — ",(0,u.translate)("One-click threat resolution")),o["default"].createElement("p",null," — ",(0,u.translate)("Advanced polls and ratings")),o["default"].createElement("p",null,o["default"].createElement(c["default"],{href:"https://wordpress.com/plans/"+this.props.siteRawUrl,className:"is-primary"},(0,u.translate)("Compare Plans")))):"");break;case"jetpack_free":case"dev":e=o["default"].createElement("div",{className:"jp-landing__plan-features"},o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Maximum grade security")),o["default"].createElement("p",null,(0,u.translate)("Realtime backup with unlimited space, one-click restores, bulletproof spam monitoring, malware defense and brute-force login protection - all in one place and optimized for WordPress."))),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Lock out the bad guys")),o["default"].createElement("p",null,(0,u.translate)("Bulletproof spam filtering protects your brand, your readers, and improves SEO. Brute force login protection helps maintain peace of mind and keeps your backend safe from intruders."))),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title"},(0,u.translate)("Enjoy priority support")),o["default"].createElement("p",null,(0,u.translate)("Need help? A Happiness Engineer can answer questions about your site, your account or how to do about anything."))));break;default:e=o["default"].createElement("div",{className:"jp-landing__plan-features"},o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o["default"].createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o["default"].createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")),o["default"].createElement("div",{className:"jp-landing__plan-features-card"},o["default"].createElement("h3",{className:"jp-landing__plan-features-title is-placeholder"}," "),o["default"].createElement("p",{className:"jp-landing__plan-features-text is-placeholder"}," ")))}return o["default"].createElement("div",null,o["default"].createElement(h["default"],null),e)}});t["default"]=(0,i.connect)(function(e){return{isFetchingPluginsData:(0,p.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,
|
93 |
p.isPluginActive)(e,t)},isPluginInstalled:function(t){return(0,p.isPluginInstalled)(e,t)}}},function(e){return{fetchPluginsData:function(){return e((0,p.fetchPluginsData)())}}})(m),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Footer=void 0;var a=n(142),o=r(a),i=n(154),s=n(739),c=r(s),u=n(452),l=n(348),d=n(1029),p=n(631),f=t.Footer=o["default"].createClass({displayName:"Footer",disconnectSite:function(){window.confirm((0,u.translate)("Do you really want to disconnect your site from WordPress.com?"))&&this.props.disconnectSite()},resetOnClick:function(){window.confirm((0,u.translate)("This will reset all Jetpack options, are you sure?"))&&this.props.resetOptions()},render:function(){var e=this,t=(0,c["default"])(this.props.className,"jp-footer"),n=this.props.currentVersion,r=function(){return e.props.isDevVersion&&e.props.userCanManageOptions?o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{onClick:e.resetOnClick,className:"jp-footer__link"},(0,u.translate)("Reset Options (dev versions only)",{context:"Navigation item."}))):""},a=function(){if(e.props.userCanManageOptions)return o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{href:e.props.siteAdminUrl+"admin.php?page=jetpack-debugger",title:(0,u.translate)("Test your site’s compatibility with Jetpack."),className:"jp-footer__link"},(0,u.translate)("Debug",{context:"Navigation item. Noun. Links to a debugger tool for Jetpack."})))},i=function(){if(e.props.userCanDisconnectSite&&e.props.siteConnectionStatus&&!e.props.isDevMode)return o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{onClick:e.disconnectSite,title:(0,u.translate)("Disconnect from WordPress.com"),className:"jp-footer__link"},(0,u.translate)("Disconnect Jetpack")))};return o["default"].createElement("div",{className:t},o["default"].createElement("div",{className:"jp-footer__a8c-attr-container"},o["default"].createElement("a",{href:"https://automattic.com",target:"_blank"},o["default"].createElement("svg",{className:"jp-footer__a8c-attr",x:"0",y:"0",viewBox:"0 0 935 38.2","enable-background":"new 0 0 935 38.2"},o["default"].createElement("path",{d:"M317.1 38.2c-12.6 0-20.7-9.1-20.7-18.5v-1.2c0-9.6 8.2-18.5 20.7-18.5 12.6 0 20.8 8.9 20.8 18.5v1.2C337.9 29.1 329.7 38.2 317.1 38.2zM331.2 18.6c0-6.9-5-13-14.1-13s-14 6.1-14 13v0.9c0 6.9 5 13.1 14 13.1s14.1-6.2 14.1-13.1V18.6zM175 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7L157 1.3h5.5L182 36.8H175zM159.7 8.2L152 23.1h15.7L159.7 8.2zM212.4 38.2c-12.7 0-18.7-6.9-18.7-16.2V1.3h6.6v20.9c0 6.6 4.3 10.5 12.5 10.5 8.4 0 11.9-3.9 11.9-10.5V1.3h6.7V22C231.4 30.8 225.8 38.2 212.4 38.2zM268.6 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H268.6zM397.3 36.8V8.7l-1.8 3.1 -14.9 25h-3.3l-14.7-25 -1.8-3.1v28.1h-6.5V1.3h9.2l14 24.4 1.7 3 1.7-3 13.9-24.4h9.1v35.5H397.3zM454.4 36.8l-4.7-8.8h-20.9l-4.5 8.8h-7l19.2-35.5h5.5l19.5 35.5H454.4zM439.1 8.2l-7.7 14.9h15.7L439.1 8.2zM488.4 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H488.4zM537.3 6.8v30h-6.7v-30h-15.5V1.3h37.7v5.5H537.3zM569.3 36.8V4.6c2.7 0 3.7-1.4 3.7-3.4h2.8v35.5L569.3 36.8 569.3 36.8zM628 11.3c-3.2-2.9-7.9-5.7-14.2-5.7 -9.5 0-14.8 6.5-14.8 13.3v0.7c0 6.7 5.4 13 15.3 13 5.9 0 10.8-2.8 13.9-5.7l4 4.2c-3.9 3.8-10.5 7.1-18.3 7.1 -13.4 0-21.6-8.7-21.6-18.3v-1.2c0-9.6 8.9-18.7 21.9-18.7 7.5 0 14.3 3.1 18 7.1L628 11.3zM321.5 12.4c1.2 0.8 1.5 2.4 0.8 3.6l-6.1 9.4c-0.8 1.2-2.4 1.6-3.6 0.8l0 0c-1.2-0.8-1.5-2.4-0.8-3.6l6.1-9.4C318.7 11.9 320.3 11.6 321.5 12.4L321.5 12.4z"}),o["default"].createElement("path",{d:"M37.5 36.7l-4.7-8.9H11.7l-4.6 8.9H0L19.4 0.8H25l19.7 35.9H37.5zM22 7.8l-7.8 15.1h15.9L22 7.8zM82.8 36.7l-23.3-24 -2.3-2.5v26.6h-6.7v-36H57l22.6 24 2.3 2.6V0.8h6.7v35.9H82.8z"}),o["default"].createElement("path",{d:"M719.9 37l-4.8-8.9H694l-4.6 8.9h-7.1l19.5-36h5.6l19.8 36H719.9zM704.4 8l-7.8 15.1h15.9L704.4 8zM733 37V1h6.8v36H733zM781 37c-1.8 0-2.6-2.5-2.9-5.8l-0.2-3.7c-0.2-3.6-1.7-5.1-8.4-5.1h-12.8V37H750V1h19.6c10.8 0 15.7 4.3 15.7 9.9 0 3.9-2 7.7-9 9 7 0.5 8.5 3.7 8.6 7.9l0.1 3c0.1 2.5 0.5 4.3 2.2 6.1V37H781zM778.5 11.8c0-2.6-2.1-5.1-7.9-5.1h-13.8v10.8h14.4c5 0 7.3-2.4 7.3-5.2V11.8zM794.8 37V1h6.8v30.4h28.2V37H794.8zM836.7 37V1h6.8v36H836.7zM886.2 37l-23.4-24.1 -2.3-2.5V37h-6.8V1h6.5l22.7 24.1 2.3 2.6V1h6.8v36H886.2zM902.3 37V1H935v5.6h-26v9.2h20v5.5h-20v10.1h26V37H902.3z"})))),o["default"].createElement("ul",{className:"jp-footer__links"},o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{href:"https://jetpack.com",target:"_blank",className:"jp-footer__link",title:n},n)),o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{href:"https://wordpress.com/tos/",target:"_blank",title:(0,u.translate)("WordPress.com Terms of Service"),className:"jp-footer__link"},(0,u.translate)("Terms",{context:"Shorthand for Terms of Service."}))),o["default"].createElement("li",{className:"jp-footer__link-item"},o["default"].createElement("a",{href:"https://automattic.com/privacy/",target:"_blank",title:(0,u.translate)("Automattic's Privacy Policy"),className:"jp-footer__link"},(0,u.translate)("Privacy",{context:"Shorthand for Privacy Policy."}))),a(),r(),i()))}});t["default"]=(0,i.connect)(function(e){return{currentVersion:(0,l.getCurrentVersion)(e),userCanManageOptions:(0,l.userCanManageOptions)(e),userCanDisconnectSite:(0,l.userCanDisconnectSite)(e),isDevVersion:(0,l.isDevVersion)(e),isDevMode:(0,p.isDevMode)(e),siteConnectionStatus:(0,p.getSiteConnectionStatus)(e),siteAdminUrl:(0,l.getSiteAdminUrl)(e)}},function(e){return{disconnectSite:function(){return e((0,p.disconnectSite)())},resetOptions:function(){return e((0,d.resetOptions)("options"))}}})(f)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function a(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(349),i=a(o),s=n(1030),c=r(s),u=(0,i["default"])({},c);t["default"]=u,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.resetOptions=void 0;var a=n(444),o=n(452),i=n(419),s=n(424),c=r(s);t.resetOptions=function(e){return function(t){return t({type:i.RESET_OPTIONS}),t((0,a.createNotice)("is-info",(0,o.translate)("Resetting Jetpack options…"),{id:"reset-options"})),c["default"].resetOptions(e).then(function(){t({type:i.RESET_OPTIONS_SUCCESS}),t((0,a.removeNotice)("reset-options")),t((0,a.createNotice)("is-success",(0,o.translate)("Options reset."),{id:"reset-options"}))})["catch"](function(e){t({type:i.RESET_OPTIONS_FAIL,error:e}),t((0,a.removeNotice)("reset-options")),t((0,a.createNotice)("is-error",(0,o.translate)("Options failed to reset."),{id:"reset-options"}))})}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(739),s=r(i),c=n(1032),u=r(c),l=n(452),d=n(824),p=r(d),f=n(348);t["default"]=o["default"].createClass({displayName:"SupportCard",render:function(){var e=(0,s["default"])(this.props.className,"jp-support-card"),t=(0,u["default"])((0,f.getHappinessGravatarIds)(this.props));return o["default"].createElement("div",{className:e},o["default"].createElement(p["default"],{className:"jp-support-card__happiness"},o["default"].createElement("div",{className:"jp-support-card__happiness-engineer"},o["default"].createElement("img",{src:"https://secure.gravatar.com/avatar/"+t,alt:(0,l.translate)("Jetpack Happiness Engineer"),className:"jp-support-card__happiness-engineer-img"})),o["default"].createElement("div",{className:"jp-support-card__happiness-contact"},o["default"].createElement("h4",{className:"jp-support-card__header"},(0,l.translate)("Need help? The Jetpack team is here for you.")),o["default"].createElement("p",{className:"jp-support-card__description"},(0,l.translate)("We offer free, full support to all of our Jetpack users. Our support team is always around to help you.")),o["default"].createElement("p",{className:"jp-support-card__description"},(0,l.translate)("{{supportLink}}View our support page{{/supportLink}}{{hideOnMobile}},{{/hideOnMobile}} {{forumLink}}check the forums for answers{{/forumLink}}{{hideOnMobile}}, or{{/hideOnMobile}} {{contactLink}}contact us directly{{/contactLink}}{{hideOnMobile}}.{{/hideOnMobile}}",{components:{hideOnMobile:o["default"].createElement("span",{className:"jp-hidden-on-mobile"}),supportLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://jetpack.com/support/",title:(0,l.translate)("Go to Jetpack.com/support")}),forumLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://wordpress.org/support/plugin/jetpack",title:(0,l.translate)("Go to the WordPress.org support forums")}),contactLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://jetpack.com/contact-support/",title:(0,l.translate)("Contact Jetpack support staff directly")})}})))),o["default"].createElement(p["default"],{className:"jp-support-card__social"},o["default"].createElement("p",{className:"jp-support-card__description"},(0,l.translate)("{{hideOnMobile}}Enjoying Jetpack or have feedback?{{/hideOnMobile}} {{reviewLink}}Leave us a review{{/reviewLink}}{{hideOnMobile}},{{/hideOnMobile}} {{twitterLink}}follow us on Twitter{{/twitterLink}}{{hideOnMobile}}, and{{/hideOnMobile}} {{facebookLink}}like us on Facebook{{/facebookLink}}{{hideOnMobile}}.{{/hideOnMobile}}",{components:{hideOnMobile:o["default"].createElement("span",{className:"jp-hidden-on-mobile"}),reviewLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://wordpress.org/support/view/plugin-reviews/jetpack",title:(0,l.translate)("Leave a Jetpack review"),target:"_blank"}),twitterLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"http://twitter.com/jetpack",title:(0,l.translate)("Follow Jetpack on Twitter"),target:"_blank"}),facebookLink:o["default"].createElement("a",{className:"jp-support-card__link",href:"https://www.facebook.com/jetpackme",title:(0,l.translate)("Like us on Facebook"),target:"_blank"})}}))))}}),e.exports=t["default"]},function(e,t,n){function r(e){var t=o(e)?e:i(e),n=t.length;return n>0?t[a(0,n-1)]:void 0}var a=n(1033),o=n(363),i=n(641);e.exports=r},function(e,t){function n(e,t){return e+r(a()*(t-e+1))}var r=Math.floor,a=Math.random;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(348),c=n(433),u=n(695),l=r(u),d=n(813),p=r(d),f=n(853),h=r(f),m=n(958),M=r(m),_=n(1020),g=r(_),v=n(1023),b=r(v),y=n(1024),A=r(y),T=o["default"].createClass({displayName:"NonAdminView",componentWillMount:function(){this.props.setInitialState()},shouldComponentUpdate:function(e){return e.jetpack.connection.status!==this.props.jetpack.connection.status||e.route.path!==this.props.route.path},renderMainContent:function(e){var t=void 0,n=o["default"].createElement(l["default"],this.props);switch(e){case"/dashboard":(this.props.userCanViewStats||this.props.isModuleActivated("protect"))&&(t=o["default"].createElement(h["default"],this.props));break;case"/apps":t=o["default"].createElement(A["default"],this.props);break;case"/settings":n=o["default"].createElement(p["default"],this.props),t=o["default"].createElement(g["default"],this.props);break;case"/general":n=o["default"].createElement(p["default"],this.props),t=o["default"].createElement(g["default"],this.props);break;case"/engagement":this.props.isSubscriber||(n=o["default"].createElement(p["default"],this.props),t=o["default"].createElement(M["default"],this.props));break;case"/writing":this.props.isSubscriber||(n=o["default"].createElement(p["default"],this.props),t=o["default"].createElement(b["default"],this.props));break;default:t=o["default"].createElement(h["default"],this.props)}return window.wpNavMenuClassChange(),o["default"].createElement("div",null,n,t)},render:function(){return this.renderMainContent(this.props.route.path)}});t["default"]=(0,i.connect)(function(e){return{userCanViewStats:(0,s.userCanViewStats)(e),isSubscriber:(0,s.userIsSubscriber)(e),isModuleActivated:function(t){return(0,c.isModuleActivated)(e,t)}}})(T),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.UserUnlinked=t.DevModeNotice=t.StagingSiteNotice=t.DevVersionNotice=void 0;var a=n(142),o=r(a),i=n(154),s=n(932),c=r(s),u=n(956),l=r(u),d=n(452),p=n(1036),f=r(p),h=n(1043),m=r(h),M=n(631),_=n(348),g=n(1044),v=r(g),b=n(832),y=r(b),A=t.DevVersionNotice=o["default"].createClass({displayName:"DevVersionNotice",render:function(){return!!(0,_.isDevVersion)(this.props)&&o["default"].createElement(c["default"],{showDismiss:!1,status:"is-basic",text:(0,d.translate)("You are currently running a development version of Jetpack.")},o["default"].createElement(l["default"],{href:"https://jetpack.com/contact-support/beta-group/"},(0,d.translate)("Submit Beta feedback")))}}),T=t.StagingSiteNotice=o["default"].createClass({displayName:"StagingSiteNotice",render:function(){if((0,M.isStaging)(this.props)){var e=(0,d.translate)("You are running Jetpack on a {{a}}staging server{{/a}}.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support/staging-sites/",target:"_blank"})}});return o["default"].createElement(c["default"],{showDismiss:!1,status:"is-basic"},e)}return!1}}),L=t.DevModeNotice=o["default"].createClass({displayName:"DevModeNotice",render:function(){if("dev"===(0,M.getSiteConnectionStatus)(this.props)){var e=(0,M.getSiteDevMode)(this.props),t=void 0;return e.filter?t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} via the jetpack_development_mode filter.{{br/}}Some features are disabled.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o["default"].createElement("br",null)}}):e.constant?t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} via the JETPACK_DEV_DEBUG constant.{{br/}}Some features are disabled.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o["default"].createElement("br",null)}}):e.url&&(t=(0,d.translate)("Currently in {{a}}Development Mode{{/a}} because your site URL lacks a dot (e.g. http://localhost).{{br/}}Some features are disabled.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/support/development-mode/",target:"_blank"}),br:o["default"].createElement("br",null)}})),o["default"].createElement(c["default"],{showDismiss:!1,status:"is-basic"},t)}return!1}}),E=t.UserUnlinked=o["default"].createClass({displayName:"UserUnlinked",render:function(){if(!window.Initial_State.userData.currentUser.isConnected&&this.props.connectUrl&&this.props.siteConnected){var e=void 0;return e=(0,d.translate)("You, %(userName)s, are not connected to WordPress.com.",{args:{userName:window.Initial_State.userData.currentUser.username}}),o["default"].createElement(c["default"],{showDismiss:!1,status:"is-info",text:e},o["default"].createElement(l["default"],{href:this.props.connectUrl},(0,d.translate)("Link to WordPress.com")))}return!1}}),w=o["default"].createClass({displayName:"JetpackNotices",render:function(){return o["default"].createElement("div",null,o["default"].createElement(y["default"],null),o["default"].createElement(f["default"],this.props),o["default"].createElement(m["default"],null),o["default"].createElement(A,this.props),o["default"].createElement(L,this.props),o["default"].createElement(T,this.props),o["default"].createElement(v["default"],null),o["default"].createElement(E,{connectUrl:this.props.connectUrl(this.props),siteConnected:!0===(0,M.getSiteConnectionStatus)(this.props)}))}});t["default"]=(0,i.connect)(function(e){return{connectUrl:function(){return(0,M.getConnectUrl)(e)}}})(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(454),s=r(i),c=n(932),u=r(c),l=n(956),d=r(l),p=n(1037),f=r(p),h=n(154),m=n(338),M=n(444),_=(0,s["default"])("calypso:notices");n(1041);var g=o["default"].createClass({displayName:"NoticesList",propTypes:{id:o["default"].PropTypes.string,notices:o["default"].PropTypes.oneOfType([o["default"].PropTypes.object,o["default"].PropTypes.array])},getDefaultProps:function(){return{id:"overlay-notices",notices:Object.freeze([])}},componentWillMount:function(){_("Mounting Global Notices React component.")},removeNotice:function(e){e&&f["default"].removeNotice(e)},render:function(){var e=this.props.notices[this.props.id]||[],t=e.map(function(e,t){return o["default"].createElement(u["default"],{key:"notice-old-"+t,status:e.status,duration:e.duration||null,text:e.text,isCompact:e.isCompact,onDismissClick:this.removeNotice.bind(this,e),showDismiss:e.showDismiss},e.button&&o["default"].createElement(d["default"],{href:e.href,onClick:e.onClick},e.button))},this);return t=t.concat(this.props.storeNotices.map(function(e,t){return o["default"].createElement(u["default"],{key:"notice-"+t,status:e.status,duration:e.duration||null,showDismiss:e.showDismiss,onDismissClick:this.props.removeNotice.bind(this,e.noticeId),text:e.text})},this)),t.length?o["default"].createElement("div",{id:this.props.id,className:"global-notices"},t):null}});t["default"]=(0,h.connect)(function(e){return{storeNotices:e.globalNotices}},function(e){return(0,m.bindActionCreators)({removeNotice:M.removeNotice},e)})(g)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(454)("calypso:notices"),a=n(1038);r("initializing notices");var o={containerNames:{}};a(o);var i=[];n(1039);var s={"new":function(e,t,n){var a=t.overlay?"overlay-notices":"notices";o.containerNames[a]=a,r("creating notice",e,t,n),o[a]=[];var c={type:t.type||"message",status:n,text:e,duration:t.duration,container:a,button:t.button,href:t.href,onClick:function(e){if("function"==typeof t.onClick){var n=s.removeNotice.bind(s,c);return t.onClick(e,n)}},onRemoveCallback:t.onRemoveCallback||function(){},arrow:t.arrow,isCompact:t.isCompact,showDismiss:t.showDismiss,persistent:t.persistent};return t.displayOnNextPage?i.push(c):o[a].push(c),o.emit("change"),c},success:function(e,t){return t=t||{},this["new"](e,t,"is-success")},error:function(e,t){return t=t||{},this["new"](e,t,"is-error")},info:function(e,t){return t=t||{},this["new"](e,t,"is-info")},warning:function(e,t){return t=t||{},this["new"](e,t,"is-warning")},list:o,removeNotice:function(e){if(e.container){var t=o[e.container],n=t.indexOf(e);-1!==n&&(t.splice(n,1),o.emit("change"))}},clearNoticesOnNavigation:function(e,t){r("clearNoticesOnNavigation");var n,a,s=!1,c=function(e){return e.persistent};for(a in o.containerNames)n=o[a].length,o[a]=o[a].filter(c),n!==o[a].length&&(s=!0);i.length&&(i.forEach(function(e){o[e.container]=[],o[e.container].push(e)}),i=[]),s&&o.emit("change"),t()},clearNotices:function(e){o[e]=[],o.emit("change")},getStatusHelper:function(e){return e.error?"is-error":e.warning?"is-warning":e.info?"is-info":e.success?"is-success":void 0}};t["default"]=s},function(e,t,n){"use strict";var r=n(564).EventEmitter,a=n(649);e.exports=function(e){a(e,r.prototype),e.emitChange=function(){this.emit("change")},e.off=e.removeListener}},787,,787,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(154),s=n(452),c=n(932),u=r(c),l=n(348),d=n(687),p=o["default"].createClass({displayName:"JetpackStateNotices",getInitialState:function(){return{showNotice:!0}},dismissJetpackStateNotice:function(){this.setState({showNotice:!1})},getErrorFromKey:function(e){var t=this.props.jetpackStateNoticesErrorDescription||!1,n="";switch(e){case"cheatin":n=(0,s.translate)("Cheatin' uh?");break;case"access_denied":n=(0,s.translate)("{{p}}Would you mind telling us why you did not complete the Jetpack connection in this {{a}}2 question survey{{/a}}?{{/p}}{{p}}A Jetpack connection is required for our free security and traffic features to work.{{/p}}",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/cancelled-connection/",target:"_blank"}),p:o["default"].createElement("p",null)}});break;case"wrong_state":n=(0,s.translate)("You need to stay logged in to your WordPress blog while you authorize Jetpack.");break;case"invalid_client":n=(0,s.translate)("We had an issue connecting Jetpack; deactivate then reactivate the Jetpack plugin, then connect again.");break;case"invalid_grant":n=(0,s.translate)('There was an issue connecting your Jetpack. Please click "Connect to WordPress.com" again.');break;case"site_inaccessible":case"site_requires_authorization":n=(0,s.translate)("Your website needs to be publicly accessible to use Jetpack: %(error_key)s",{args:{error_key:e}});break;case"not_public":n=(0,s.translate)("{{s}}Your Jetpack has a glitch.{{/s}} Connecting this site with WordPress.com is not possible. This usually means your site is not publicly accessible (localhost).",{components:{s:o["default"].createElement("strong",null)}});break;case"wpcom_408":case"wpcom_5??":case"wpcom_bad_response":case"wpcom_outage":n=(0,s.translate)("WordPress.com is currently having problems and is unable to fuel up your Jetpack. Please try again later.");break;case"register_http_request_failed":case"token_http_request_failed":n=(0,s.translate)("Jetpack could not contact WordPress.com: %(error_key)s. This usually means something is incorrectly configured on your web host.",{args:{error_key:e}});break;case"no_role":case"no_cap":case"no_code":case"no_state":case"invalid_state":case"invalid_request":case"invalid_scope":case"unsupported_response_type":case"invalid_token":case"no_token":case"missing_secrets":case"home_missing":case"siteurl_missing":case"gmt_offset_missing":case"site_name_missing":case"secret_1_missing":case"secret_2_missing":case"site_lang_missing":case"home_malformed":case"siteurl_malformed":case"gmt_offset_malformed":case"timezone_string_malformed":case"site_name_malformed":case"secret_1_malformed":case"secret_2_malformed":case"site_lang_malformed":case"secrets_mismatch":case"verify_secret_1_missing":case"verify_secret_1_malformed":case"verify_secrets_missing":case"verify_secrets_mismatch":n=(0,s.translate)("{{s}}Your Jetpack has a glitch.{{/s}} We're sorry for the inconvenience. Please try again later, if the issue continues please contact support with this message: %(error_key)s",{components:{s:o["default"].createElement("strong",null)},args:{error_key:e}});break;default:n=e}return t?o["default"].createElement("div",null,n,o["default"].createElement("br",null),t):o["default"].createElement("div",null,n)},getMessageFromKey:function(e){var t="",n="is-info";switch(e){case"modules_activated":t=(0,s.translate)("Welcome to {{s}}Jetpack %(jetpack_version)s{{/s}}!",{args:{jetpack_version:this.props.currentVersion},components:{s:o["default"].createElement("strong",null)}});break;case"already_authorized":t=(0,s.translate)("Your Jetpack is already connected."),n="is-success";break;case"authorized":t=(0,s.translate)("You're fueled up and ready to go, Jetpack is now active."),n="is-success";break;case"linked":t=(0,s.translate)("You're fueled up and ready to go."),n="is-success";break;default:t=e}return[t,n]},renderContent:function(){var e="is-info",t="",n=this.props.jetpackStateNoticesErrorCode,r=this.props.jetpackStateNoticesMessageCode;if(n||r){if(n&&(t=this.getErrorFromKey(n),"access_denied"!==n&&(e="is-error")),r){var a=this.getMessageFromKey(r);t=a[0],e=a[1]}return o["default"].createElement(u["default"],{status:e,onDismissClick:this.dismissJetpackStateNotice},t)}},render:function(){return o["default"].createElement("div",null,this.state.showNotice?this.renderContent():null)}});t["default"]=(0,i.connect)(function(e){return{currentVersion:(0,l.getCurrentVersion)(e),jetpackStateNoticesErrorCode:(0,d.getJetpackStateNoticesErrorCode)(e),jetpackStateNoticesMessageCode:(0,d.getJetpackStateNoticesMessageCode)(e),jetpackStateNoticesErrorDescription:(0,d.getJetpackStateNoticesErrorDescription)(e)}})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=n(161),s=n(154),c=n(932),u=r(c),l=n(452),d=n(687),p=o["default"].createClass({displayName:"DismissableNotices",renderNotices:function(){var e=this.props.jetpackNotices;switch(e){case"disconnected":return!this.props.isDismissed(e)&&o["default"].createElement("div",null,o["default"].createElement(u["default"],{onDismissClick:this.props.dismissJetpackActionNotice.bind(null,e)},(0,l.translate)("You have successfully disconnected Jetpack"),o["default"].createElement("br",null),(0,l.translate)("Would you tell us why? Just {{a}}answering two simple questions{{/a}} would help us improve Jetpack.",{components:{a:o["default"].createElement("a",{href:"https://jetpack.com/survey-disconnected/",target:"_blank"})}})));default:return!1}},render:function(){return o["default"].createElement("div",null,this.renderNotices())}});t["default"]=(0,s.connect)(function(e){return{jetpackNotices:(0,d.getJetpackNotices)(e),isDismissed:function(t){return(0,d.isNoticeDismissed)(e,t)}}},function(e){return(0,i.bindActionCreators)({dismissJetpackActionNotice:d.dismissJetpackActionNotice},e)})(p),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=o["default"].createClass({displayName:"AdminNotices",componentDidMount:function(){var e=jQuery(this.refs.adminNotices),t=jQuery(".vp-notice");t.length>0&&t.each(function(){var t=jQuery(this).addClass("dops-notice is-warning").removeClass("wrap vp-notice");t.find("a").addClass("dops-notice__action").appendTo(t),t.find(".vp-message").removeClass("vp-message").addClass("dops-notice__text"),t.find("h3").replaceWith(function(){return jQuery("<strong />",{html:this.innerHTML})}),t.find("p").replaceWith(function(){return jQuery("<div/>",{html:this.innerHTML})}),t.prependTo(e).wrapInner('<div class="dops-notice__content">').show()});var n=jQuery(".woocommerce-message");n.length>0&&n.each(function(){var t=jQuery(this).addClass("dops-notice is-basic").removeClass("updated wc-connect");t.find(".button-primary").addClass("dops-notice__action").removeClass("button-primary").detach().appendTo(t),t.find("p").not(".submit").wrapAll('<div class="dops-notice__text"/>');var n=t.find(".dops-notice__text");n.find("p").replaceWith(function(){return jQuery("<div/>",{html:this.innerHTML,"class":"dops-notice__moved_text"})}),n.find("br").remove(),t.find(".button-secondary").removeClass("button-secondary").detach().appendTo(n),t.find(".submit").remove(),t.find(".woocommerce-message-close").removeClass("woocommerce-message-close").addClass("dops-notice__action"),t.prependTo(e).wrapInner('<div class="dops-notice__content">').show(),t.find(".dops-notice__action").not(":first").removeClass("dops-notice__action").detach().appendTo(t.find(".dops-notice__text"))})},render:function(){return o["default"].createElement("div",{ref:"adminNotices"})}});t["default"]=i,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function a(e){return{__html:e.long_description}}Object.defineProperty(t,"__esModule",{value:!0}),t.SearchResults=void 0;var o=n(142),i=r(o),s=n(154),c=n(849),u=r(c),l=n(938),d=n(582),p=r(d),f=n(829),h=r(f),m=n(802),M=r(m),_=n(1047),g=r(_),v=n(452),b=n(648),y=r(b),A=n(957),T=r(A),L=n(631),E=n(959),w=n(433),z=n(690),S=n(681),k=n(942),O=r(k),N=n(684),C=t.SearchResults=function(e){var t=e.siteAdminUrl,n=e.toggleModule,r=e.isModuleActivated,o=e.isTogglingModule,s=e.getModule,c=e.getModules,d=e.searchTerm,f=e.unavailableInDevMode,m=e.isFetchingPluginsData,_=e.isPluginActive,b=c(),A=[["scan",(0,v.translate)("Security Scanning"),(0,v.translate)("Automatically scan your site for common threats and attacks."),"https://vaultpress.com/jetpack/","security scan threat attacks pro scanning"],["akismet","Akismet",(0,v.translate)("Keep those spammers away!"),"https://akismet.com/jetpack/","spam security comments pro"],["backups",(0,v.translate)("Site Backups"),(0,v.translate)("Keep your site backed up!"),"https://vaultpress.com/jetpack/","backup restore pro security"]],L=void 0;return(0,p["default"])(b,function(e){"vaultpress"!==e.module?A.push([e.module,s(e.module).name,s(e.module).description,s(e.module).learn_more_button,s(e.module).long_description,s(e.module).search_terms,s(e.module).additional_search_queries,s(e.module).short_description,s(e.module).feature.toString()]):""}),L=A.map(function(e){var c="scan"===e[0]||"akismet"===e[0]||"backups"===e[0],d={},p=f(e[0]),g=p?(0,v.translate)("Unavailable in Dev Mode"):i["default"].createElement(l.ModuleToggle,{slug:e[0],activated:r(e[0]),toggling:o(e[0]),toggleModule:n}),b=p?"devmode-disabled":"";return c&&(d={module:e[0],configure_url:""},g=i["default"].createElement(O["default"],{proFeature:e[0]}),e[1]=i["default"].createElement("span",null,e[1],i["default"].createElement(h["default"],{compact:!0,href:"#professional"},(0,v.translate)("Pro"))),m||("akismet"===e[0]&&_("akismet/akismet.php")?d.configure_url=t+"admin.php?page=akismet-key-config":"scan"!==e[0]&&"backups"!==e[0]||!_("vaultpress/vaultpress.php")||(d.configure_url="https://dashboard.vaultpress.com/"))),1===e.length?i["default"].createElement("h1",null,e[0]):i["default"].createElement(u["default"],{key:e[0],className:b,header:e[1],searchTerms:e.toString().replace(/<(?:.|\n)*?>/gm,""),subheader:e[2],summary:g,expandedSummary:g,clickableHeaderText:!0,onOpen:function(){return y["default"].tracks.recordEvent("jetpack_wpa_settings_card_open",{card:e[0],path:"/search"})}},r(e[0])||c?i["default"].createElement(E.AllModuleSettings,{module:c?d:s(e[0])}):i["default"].createElement("div",{dangerouslySetInnerHTML:a(s(e[0]))}),i["default"].createElement("br",null),i["default"].createElement("div",{className:"jp-module-settings__read-more"},i["default"].createElement(h["default"],{borderless:!0,compact:!0,href:e[3]},i["default"].createElement(M["default"],{icon:"help-outline"}),i["default"].createElement("span",{className:"screen-reader-text"},(0,v.translate)("Learn More")))))}),i["default"].createElement("div",null,i["default"].createElement(T["default"],null),i["default"].createElement(g["default"],{filter:d(),noResultsText:(0,v.translate)("No Results Found.")},L))};t["default"]=(0,s.connect)(function(e){return{isModuleActivated:function(t){return(0,w.isModuleActivated)(e,t)},isTogglingModule:function(t){return(0,w.isActivatingModule)(e,t)||(0,w.isDeactivatingModule)(e,t)},getModule:function(t){return(0,w.getModule)(e,t)},getModules:function(){return(0,w.getModules)(e)},searchTerm:function(){return(0,z.getSearchTerm)(e)},sitePlan:function(){return(0,S.getSitePlan)(e)},unavailableInDevMode:function(t){return(0,L.isUnavailableInDevMode)(e,t)},isFetchingPluginsData:(0,N.isFetchingPluginsData)(e),isPluginActive:function(t){return(0,N.isPluginActive)(e,t)}}},function(e){return{toggleModule:function(t,n){return e(n?(0,w.deactivateModule)(t):(0,w.activateModule)(t))}}})(C)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(142),o=r(a),i=o["default"].createClass({displayName:"Hider",propTypes:{hide:o["default"].PropTypes.bool},render:function(){return o["default"].createElement("div",{
|
94 |
className:"design-assets__group",style:this.props.hide?{display:"none"}:{}},this.props.children)}}),s=o["default"].createClass({displayName:"FilterSummary",getDefaultProps:function(){return{noResultsText:"No Results Found"}},propTypes:{noResultsText:o["default"].PropTypes.string},render:function(){return 0===this.props.items.length?o["default"].createElement("p",null,this.props.noResultsText):null}});t["default"]=o["default"].createClass({displayName:"Collection",shouldWeHide:function(e){var t=void 0,n=void 0;return t=this.props.filter||"",n=e.props.searchTerms,this.props.component?e.type.displayName.toLowerCase()!==this.props.component.replace(/-([a-z])/g,"$1"):(e.props.searchKeywords&&(n+=" "+e.props.searchKeywords),!(!t||n.toLowerCase().indexOf(t)>-1))},visibleExamples:function(e){return e.filter(function(e){return!e.props.hide})},render:function(){var e=this,t=void 0,n=void 0;return n=o["default"].Children.map(this.props.children,function(t){return o["default"].createElement(i,{hide:e.shouldWeHide(t),key:"example-"+t.type.displayName},t)}),this.props.component||(t=o["default"].createElement(s,{items:this.visibleExamples(n),total:this.props.children.length,noResultsText:this.props.noResultsText})),o["default"].createElement("div",{className:"collection"},t,n)}})},,,,,function(e,t,n,r,a,o,i,s,c,u){"use strict";function l(e){return e&&e.__esModule?e:{"default":e}}function d(e){return"string"==typeof e&&"/"===e.charAt(0)}function p(){var e=L.getHashPath();return!!d(e)||(L.replaceHashPath("/"+e),!1)}function f(e,t,n){return e+(e.indexOf("?")===-1?"?":"&")+(t+"="+n)}function h(e,t){return e.replace(new RegExp("[?&]?"+t+"=[a-zA-Z0-9]+"),"")}function m(e,t){var n=e.match(new RegExp("\\?.*?\\b"+t+"=(.+?)\\b"));return n&&n[1]}function M(){function e(){var e=L.getHashPath(),t=void 0,n=void 0;v?(t=m(e,v),e=h(e,v),t?n=E.readState(t):(n=null,t=w.createKey(),L.replaceHashPath(f(e,v,t)))):t=n=null;var r=A.parsePath(e);return w.createLocation(_({},r,{state:n}),void 0,t)}function t(t){function n(){p()&&r(e())}var r=t.transitionTo;return p(),L.addEventListener(window,"hashchange",n),function(){L.removeEventListener(window,"hashchange",n)}}function n(e){var t=e.basename,n=e.pathname,r=e.search,a=e.state,o=e.action,i=e.key;if(o!==y.POP){var s=(t||"")+n+r;v?(s=f(s,v,i),E.saveState(i,a)):e.key=e.state=null;var c=L.getHashPath();o===y.PUSH?c!==s&&(window.location.hash=s):c!==s&&L.replaceHashPath(s)}}function r(e){1===++k&&(O=t(w));var n=w.listenBefore(e);return function(){n(),0===--k&&O()}}function a(e){1===++k&&(O=t(w));var n=w.listen(e);return function(){n(),0===--k&&O()}}function o(e){w.push(e)}function i(e){w.replace(e)}function s(e){w.go(e)}function c(e){return"#"+w.createHref(e)}function u(e){1===++k&&(O=t(w)),w.registerTransitionHook(e)}function l(e){w.unregisterTransitionHook(e),0===--k&&O()}function d(e,t){w.pushState(e,t)}function M(e,t){w.replaceState(e,t)}var g=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];T.canUseDOM?void 0:b["default"](!1);var v=g.queryKey;(void 0===v||v)&&(v="string"==typeof v?v:S);var w=z["default"](_({},g,{getCurrentLocation:e,finishTransition:n,saveState:E.saveState})),k=0,O=void 0;L.supportsGoWithoutReloadUsingHash();return _({},w,{listenBefore:r,listen:a,push:o,replace:i,go:s,createHref:c,registerTransitionHook:u,unregisterTransitionHook:l,pushState:d,replaceState:M})}t.__esModule=!0;var _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g=n(r),v=(l(g),n(177)),b=l(v),y=n(a),A=n(o),T=n(i),L=n(s),E=n(c),w=n(u),z=l(w),S="_k";t["default"]=M,e.exports=t["default"]},function(e,t,n,r){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=e.match(/^https?:\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}function i(e){var t=o(e),n="",r="",a=t.indexOf("#");a!==-1&&(r=t.substring(a),t=t.substring(0,a));var i=t.indexOf("?");return i!==-1&&(n=t.substring(i),t=t.substring(0,i)),""===t&&(t="/"),{pathname:t,search:n,hash:r}}t.__esModule=!0,t.extractPath=o,t.parsePath=i;var s=n(r);a(s)},function(e,t,n,r){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function o(e){return u+e}function i(e,t){try{null==t?window.sessionStorage.removeItem(o(e)):window.sessionStorage.setItem(o(e),JSON.stringify(t))}catch(n){if(n.name===d)return;if(l.indexOf(n.name)>=0&&0===window.sessionStorage.length)return;throw n}}function s(e){var t=void 0;try{t=window.sessionStorage.getItem(o(e))}catch(n){if(n.name===d)return null}if(t)try{return JSON.parse(t)}catch(n){}return null}t.__esModule=!0,t.saveState=i,t.readState=s;var c=n(r),u=(a(c),"@@History/"),l=["QuotaExceededError","QUOTA_EXCEEDED_ERR"],d="SecurityError"},function(e,t,n,r,a,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function s(e){function t(e){return d.canUseDOM?void 0:l["default"](!1),n.listen(e)}var n=h["default"](c({getUserConfirmation:p.getUserConfirmation},e,{go:p.go}));return c({},n,{listen:t})}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(177),l=i(u),d=n(r),p=n(a),f=n(o),h=i(f);t["default"]=s,e.exports=t["default"]},function(e,t,n,r,a,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function s(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?l.POP:arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3];"string"==typeof e&&(e=d.parsePath(e)),"object"==typeof t&&(e=c({},e,{state:t}),t=n||l.POP,n=r);var a=e.pathname||"/",o=e.search||"",i=e.hash||"",s=e.state||null;return{pathname:a,search:o,hash:i,state:s,action:t,key:n}}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(r),l=(i(u),n(a)),d=n(o);t["default"]=s,e.exports=t["default"]},function(e,t,n,r){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){var r=e(t,n);e.length<2&&n(r)}t.__esModule=!0;var i=n(r);a(i);t["default"]=o,e.exports=t["default"]},function(e,t,n,r){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){return function(){return e.apply(this,arguments)}}t.__esModule=!0;var i=n(r);a(i);t["default"]=o,e.exports=t["default"]},function(e,t,n,r,a){"use strict";function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var s=n(349),c=i(s),u=n(r),l=o(u),d=n(a),p=o(d),f=(0,c["default"])({},l,p);t["default"]=f,e.exports=t["default"]},function(e,t,n,r){var a=n(r),o=a(Object,"create");e.exports=o},function(e,t,n,r,a){var o=n(r),i=n(a),s=o(i,"Map");e.exports=s},function(e,t,n,r){var a=n(r),o=a.Symbol;e.exports=o},function(e,t,n,r,a){var o=n(r),i=n(a),s=i(o);e.exports=s},function(e,t,n,r,a){function o(e,t){return e&&i(e,t,s)}var i=n(r),s=n(a);e.exports=o},function(e,t,n,r){function a(e,t){return function(n,r){if(null==n)return n;if(!o(n))return e(n,r);for(var a=n.length,i=t?a:-1,s=Object(n);(t?i--:++i<a)&&r(s[i],i,s)!==!1;);return n}}var o=n(r);e.exports=a},function(e,t,n,r,a,o){function i(e,t,n,r,a){return e===t||(null==e||null==t||!c(e)&&!u(t)?e!==e&&t!==t:s(e,t,i,n,r,a))}var s=n(r),c=n(a),u=n(o);e.exports=i},function(e,t,n,r){var a=n(r),o=a.Uint8Array;e.exports=o},function(e,t,n,r,a){var o=n(r),i=n(a),s=o(i,"Set");e.exports=s},function(e,t,n,r,a){var o=n(r),i=n(a),s=o(i,"WeakMap");e.exports=s},function(e,t,n,r){function a(e){return e===e&&!o(e)}var o=n(r);e.exports=a}]));
|
_inc/build/style.min.rtl.css.map
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"version":3,"names":[],"mappings":"","sources":["style.min.rtl.css"],"sourcesContent":["/* Do not modify this file directly. It is compiled SASS code. */\n@media (max-width: 660px){.jp-hidden-on-mobile{display:none}}.jetpack-pagestyles #wpcontent{padding-right:0}.wp-admin.toplevel_page_jetpack{background-color:#f3f6f8;line-height:1.4;height:auto}.jetpack-pagestyles a{text-decoration:none}.jetpack-pagestyles #dolly{float:none;position:relative;left:0;right:0;top:0;padding:0.625rem;text-align:left;background:#fff;font-size:0.75rem;font-style:italic;color:#87a6bc;border-bottom:1px #e9eff3 solid}@media (max-width: 660px){.jetpack-pagestyles #dolly{display:none}}.toplevel_page_jetpack ul#adminmenu a.wp-has-current-submenu:after{border-left-color:#f3f6f8}.jp-lower{margin:0 auto;text-align:right;max-width:45rem;padding:1.5rem}#contextual-help-link-wrap{display:none}.is-placeholder{animation:pulse-light 0.8s ease-in-out infinite;background:#c8d7e1}@keyframes pulse-light{50%{background-color:#e9eff3}}.jp-dash-item a{font-style:italic}.jp-dash-item .dops-section-header__card-badge .dops-button{background:none;border-bottom-width:1px}.jp-dash-item .dops-section-header__card-badge .dops-button:hover{background:#fff}.jp-dash-item__card{margin:0}.jp-dash-item__count{margin-top:0;margin-bottom:0;width:100%;color:#00aadc;font-weight:500;font-size:2rem}@media (max-width: 660px){.jp-dash-item__count{font-size:1.4375rem}}.jp-dash-item__description{margin:0;width:100%;font-size:0.875rem}.jp-dash-item .dops-section-header{background:#fafbfc;width:100%}.jp-dash-item .dops-section-header .dops-button{font-style:normal}.jp-dash-item .dops-section-header .dops-section-header__label{color:#4f748e}.jp-dash-item .dops-section-header .dops-section-header__label:before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(to left, rgba(250,251,252,0), #fafbfc 90%);top:0px;bottom:0px;left:0px;right:auto;width:20%;height:auto}.jp-dash-item .dops-section-header.is-working .dops-section-header__actions,.jp-dash-item .dops-section-header.is-premium-inactive .dops-section-header__actions{color:#c8d7e1}.jp-dash-item .dops-section-header__actions .dops-notice{margin-top:0.125rem;margin-left:-0.625rem}.jp-dash-item__active-label{display:inline-block;padding:0.375rem 0;color:#668eaa;color:#87a6bc;font-size:0.75rem;font-weight:400;text-transform:uppercase}.jp-dash-item__is-inactive .dops-section-header .dops-section-header__label:before{content:'';display:block;position:absolute;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;background:linear-gradient(to left, rgba(243,246,248,0), #f3f6f8 90%);top:0px;bottom:0px;left:0px;right:auto;width:20%;height:auto}.jp-dash-item__is-inactive .dops-card{background-color:#f3f6f8}.jp-dash-item__is-inactive .jp-dash-item__description{font-style:italic;color:#4f748e}.jp-dash-item__disabled{opacity:.5;position:relative}.jp-dash-item__disabled::before{content:\"\";width:100%;height:100%;display:block;position:absolute;top:0;right:0;z-index:1}.jp-dash-item__recently-activated .jp-dash-item__description{font-style:italic;box-sizing:border-box}.jp-dash-section-header{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:2.5rem 0 0.5rem}@media (max-width: 660px){.jp-dash-section-header{margin-bottom:1.5rem}}@media (max-width: 480px){.jp-dash-section-header{display:block}}.jp-dash-section-header__label{-ms-flex:1;flex:1;white-space:nowrap}.jp-dash-section-header__name{display:inline-block;margin-top:0;margin-bottom:0;font-size:1.25rem;font-weight:400;white-space:nowrap}@media (min-width: 481px){.jp-dash-section-header__name{display:inline-block}}@media (max-width: 480px){.jp-dash-section-header__name .jp-dash-section-header__label{display:inline-block}}.jp-dash-section-header__settings{display:inline-block;min-width:2.5rem;text-align:center;color:#668eaa}.jp-dash-section-header__settings:focus{outline:0;box-shadow:none}.jp-dash-section-header__settings:focus .gridicon{color:#0087be}.jp-dash-section-header__settings .gridicon{position:relative;top:1px}.jp-dash-section-header__external-link{-ms-flex-item-align:center;align-self:center;font-style:italic}@media (max-width: 660px){.jp-dash-section-header__external-link{margin-top:0.25rem}}@media (max-width: 480px){.jp-dash-section-header__external-link{display:block;width:100%}}.jp-dash-section-header__children{-ms-flex-item-align:center;align-self:center}@media (max-width: 480px){.jp-dash-section-header__children{width:100%}}.jp-expanded-card__header{font-size:1.25rem}.jp-expanded-card__summary{font-size:0.875rem;color:#666}.dops-foldable-card.dops-card.devmode-disabled .dops-foldable-card__summary,.dops-foldable-card.dops-card.devmode-disabled .dops-foldable-card__summary_expanded{width:100px}@media (min-width: 661px){.dops-foldable-card__main{max-width:85%}}@media (min-width: 481px){.dops-foldable-card__main{max-width:60%}}@media (max-width: 480px){.dops-foldable-card__main{-ms-flex-preferred-size:100%;flex-basis:100%}}@media (max-width: 480px){.dops-foldable-card__header{-ms-flex-wrap:wrap;flex-wrap:wrap}}@media (max-width: 480px){.dops-foldable-card__header-text{font-size:0.875rem;line-height:1.8}}.dops-foldable-card__header-text .dops-button{margin-right:0.5rem}@media (max-width: 480px){.dops-foldable-card__subheader{display:none}}@media (max-width: 480px){.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary,.dops-foldable-card.has-expanded-summary .dops-foldable-card__summary_expanded{text-align:right;margin-top:0.5rem}}.jp-footer{text-align:center;margin:1rem 0 4rem}@media (max-width: 1040px){.jp-footer{margin:2rem 0 3rem}}@media (max-width: 660px){.jp-footer{margin:1.5rem 0 1rem}}.jp-footer__a8c-attr-container{margin-bottom:0.5rem}.jp-footer__a8c-attr{width:11.25rem}.jp-footer__a8c-attr path{fill:#668eaa}.jp-footer__links{border-top:1px #d9e3ea solid;border-bottom:1px #d9e3ea solid;margin-top:0;margin-bottom:1rem}@media (max-width: 660px){.jp-footer__links{border-bottom:none}}.jp-footer__link-item{display:inline-block;margin-bottom:0}@media (min-width: 661px){.jp-footer__link-item{display:inline-block}}@media (max-width: 660px){.jp-footer__link-item{display:block;border-bottom:1px #d9e3ea solid}}.jp-footer__link{padding:1rem 0.5rem;color:#668eaa;display:inline-block;cursor:pointer}.jp-footer__link:visited{color:#668eaa}.jp-footer__link:hover,.jp-footer__link:active{color:#1c2932}@media (max-width: 660px){.jp-footer__link{display:block;padding:0.5rem 0;border-bottom:1px #d9e3ea solid}.jp-footer__link:last-of-type{border-bottom:none}}.jp-loading-placeholder{margin-top:30vh;margin-bottom:25vh;color:#c8d7e1;font-size:12vw;text-align:center}@media (min-width: 961px){.jp-loading-placeholder{font-size:120px}}.jp-loading-placeholder .dashicons{font-size:inherit;width:auto;height:auto}.jp-jetpack-connect__container{text-align:center}.jp-jetpack-connect__container .dops-section-header__label{margin:0.0625rem;padding:1rem;font-size:1rem;font-weight:400;border-bottom:1px #e9eff3 solid}@media (max-width: 660px){.jp-jetpack-connect__cta{text-align:right}}.jp-jetpack-connect__cta .jp-jetpack-connect__description{padding:0 0 1rem}.jp-jetpack-connect__container-title,.jp-jetpack-connect__container-subtitle{font-weight:400}.jp-jetpack-connect__container-subtitle:first-of-type{margin:0;padding:1rem}@media (min-width: 661px){.jp-jetpack-connect__container-subtitle{font-size:1.25rem}}@media (max-width: 660px){.jp-jetpack-connect__container-subtitle{text-align:right}}.jp-jetpack-connect__description{padding:1rem;font-size:1rem}@media (min-width: 961px){.jp-jetpack-connect__description{padding:0 10%;margin-bottom:2rem}}@media (max-width: 660px){.jp-jetpack-connect__description{font-size:0.875rem;text-align:right;margin-top:0;padding:1rem 0}}.jp-jetpack-connect__link{font-style:italic}.jp-jetpack-connect__button{margin:0 0 0.75rem}.jp-jetpack-connect__feature{padding:0}.jp-jetpack-connect__header{position:relative}@media (min-width: 961px){.jp-jetpack-connect__header:first-of-type{background:transparent url(\"../../images/long-clouds.svg\") 50% 110% no-repeat;background-size:100% 63px;padding-bottom:3.125rem}}@media (max-width: 960px){.jp-jetpack-connect__header:first-of-type{border-bottom:1px #e9eff3 solid;background-image:none}}@media (min-width: 961px){.jp-jetpack-connect__header{padding-top:1rem}}@media (max-width: 660px){.jp-jetpack-connect__header .jp-jetpack-connect__description{padding:0 1rem 1rem}}.jp-jetpack-connect__header-img-container{position:absolute;right:0;left:0;bottom:0}@media (max-width: 960px){.jp-jetpack-connect__header-img-container{display:none}}.jp-jetpack-connect__header-img{margin:0 auto;max-width:100%;z-index:1001;position:absolute;right:0;left:0;bottom:0}@media (min-width: 961px){.jp-jetpack-connect__header-img:first-of-type{bottom:-15px}}.jp-jetpack-connect__header-img:last-of-type{z-index:999}@media (min-width: 961px){.jp-jetpack-connect__traffic .jp-jetpack-connect__header:first-of-type{padding-bottom:12.5rem;background:url(\"../../images/stars-right.svg\") no-repeat,url(\"../../images/stars-left.svg\") no-repeat,#fff;background-position:5% 50%, 95% 50%;background-size:100px, 125px}}.jp-jetpack-connect__interior-container{padding:1rem;background:#f3f6f8}@media (min-width: 961px){.jp-jetpack-connect__interior-container{padding:1.5rem 1rem 1rem}}@media (max-width: 960px){.jp-jetpack-connect__interior-container .jp-jetpack-connect__container-subtitle{padding:1rem 0 0}}@media (min-width: 661px){.jp-jetpack-connect__interior-container .jp-jetpack-connect__container-subtitle{margin-top:1.5rem}}.jp-jetpack-connect__feature-list{margin:0;padding:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}@media (min-width: 961px){.jp-jetpack-connect__feature-list{margin-top:1rem}}@media (min-width: 661px){.jp-jetpack-connect__feature-list{-ms-flex-wrap:nowrap;flex-wrap:nowrap}}@media (max-width: 660px){.jp-jetpack-connect__feature-list{margin:-0.5rem -1rem 0}}.jp-jetpack-connect__feature-list-column{box-shadow:0 0 0 1px rgba(200,215,225,0.5),0 1px 2px #e9eff3;text-align:right;background:#fff}@media (min-width: 661px){.jp-jetpack-connect__feature-list-column{-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:33%;flex-basis:33%}}@media (max-width: 660px){.jp-jetpack-connect__feature-list-column{-ms-flex-preferred-size:100%;flex-basis:100%;margin-bottom:0.5rem}}.jp-jetpack-connect__feature-content{padding:1rem}.jp-jetpack-connect__feature-content-title{margin:0}.jp-jetpack-connect__feature-image{max-width:100%;margin:0 auto}.jp-jumpstart{text-align:center}@media (max-width: 660px){.jp-jumpstart{text-align:right}}.jp-jumpstart__cta-container{position:relative;padding:0}.jp-jumpstart__cta-container .dops-spinner{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;position:absolute;top:0;left:0;bottom:0;right:0;background:rgba(255,255,255,0.85);z-index:1001}.jp-jumpstart__cta-container .dops-spinner__image{-ms-flex-item-align:center;align-self:center}.jp-jumpstart__cta{margin-bottom:0}.jp-jumpstart__cta-container{padding:0}.jp-jumpstart__cta{margin-bottom:0;padding-bottom:0}.jp-jumpstart__title{font-weight:400;text-align:center}.jp-jumpstart__description{margin-top:0;padding:0 1rem 1rem;font-size:1rem}@media (max-width: 660px){.jp-jumpstart__description{padding:0 0 1rem}}.jp-jumpstart__features{margin:0;padding:1rem}.jp-jumpstart__features.dops-foldable-card{box-shadow:none}.jp-jumpstart__features.dops-foldable-card.is-expanded{margin-bottom:0}.jp-jumpstart__features .dops-foldable-card__header,.jp-jumpstart__features.dops-foldable-card.is-expanded .dops-foldable-card__header{min-height:auto}.jp-jumpstart__features .dops-foldable-card__main{max-width:100%;margin-left:0}.jp-jumpstart__features .dops-foldable-card__secondary{display:none}.jp-jumpstart__features .dops-foldable-card__subheader{color:#0087be;font-style:italic}.jp-jumpstart__features .dops-foldable-card__content{background-color:#fafbfc}.jp-jumpstart__feature-list{margin:0;padding:0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap}@media (max-width: 660px){.jp-jumpstart__feature-list{margin:-0.5rem -1rem 0}}.jp-jumpstart__feature-list-column{box-shadow:0 0 0 1px rgba(200,215,225,0.5),0 1px 2px #e9eff3;text-align:right;background:#fff}@media (min-width: 661px){.jp-jumpstart__feature-list-column{-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:50%;flex-basis:50%}.jp-jumpstart__feature-list-column:last-of-type{margin-top:1px;max-width:49.9%}}@media (max-width: 660px){.jp-jumpstart__feature-list-column{-ms-flex-preferred-size:100%;flex-basis:100%}}.jp-jumpstart__feature-content{padding:1rem}.jp-jumpstart__feature-content-title{margin:0}.jp-jumpstart__note{margin:0;padding:1rem 0 0;font-size:0.875rem;clear:both;font-style:italic}.jp-jumpstart__skip-step{font-style:italic;cursor:pointer}.jp-masthead{background-color:#fff;text-align:center;box-shadow:0 1px 0 rgba(200,215,225,0.5),0 1px 2px #e9eff3}@media (max-width: 45rem){.jp-masthead{padding:0 1.25rem}}.jp-masthead__inside-container{padding:0.375rem 0;margin:0 auto;width:100%;max-width:45rem;display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.jp-masthead__logo-container{padding:0.3125rem 0 0}.jp-masthead__logo{width:10.375rem;height:1.8125rem;fill:#72af3a}.jp-masthead__logo-link{display:inline-block;outline:none}.jp-masthead__logo-link:focus{line-height:0;box-shadow:0 0 0 2px #78dcfa}.jp-masthead__links{display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap;-ms-flex:2 50%;flex:2 50%;-ms-flex-pack:end;justify-content:flex-end;margin:0}@media (max-width: 480px){.jp-masthead__links{padding-left:0.625rem}}.jp-masthead__link-li{margin:0;padding:0}.jp-masthead__link{font-style:normal;color:#0087be;padding:0.625rem;display:inline-block}.jp-masthead__link:visited{color:#0087be}.jp-masthead__link:active,.jp-masthead__link:hover{color:#00aadc}.jp-masthead__link:hover{text-decoration:underline}.jp-masthead__link .dashicons{display:none}@media (max-width: 480px){.jp-masthead__link:hover,.jp-masthead__link:active{text-decoration:none}.jp-masthead__link .dashicons{display:block;font-size:1.75rem}.jp-masthead__link span+span{display:none}}.jp-masthead__link-li:last-of-type .jp-masthead__link{padding-left:0}.jp-module-settings__external-link{font-size:0.875rem}.jp-module-settings__read-more{clear:both;margin-top:1rem}@media (min-width: 481px){.jp-module-settings__read-more{margin-top:2rem}}.jp-module-settings__read-more .dops-button.is-compact.is-borderless,.jp-module-settings__read-more .jp-module-settings__more-sep,.jp-module-settings__read-more .jp-module-settings__more-text{vertical-align:middle}.jp-module-settings__read-more .jp-module-settings__more-sep{background:#ddd;width:0.125rem;height:0.875rem;margin-right:0.625rem;margin-left:0.625rem;display:inline-block}.jp-connection-settings{margin:1.5rem 0;text-align:center;font-weight:300}.jp-connection-settings__headline{font-size:1.3125rem}.jp-connection-settings__gravatar{display:inline-block;margin-bottom:1rem;width:4.5rem;height:4.5rem;background:#87a6bc;border-radius:50%}.jp-connection-settings__username{font-weight:600}.jp-connection-settings__email{color:#87a6bc;font-size:0.8125rem;font-style:italic;font-weight:400}.jp-connection-settings__actions{margin-top:1rem}.jp-connection-settings__actions>div{display:inline-block;margin:0 0.25rem 1rem}.jp-related-posts-settings__preview-label{margin-bottom:0.5rem;margin-top:1.5rem;font-size:0.875rem;font-weight:600}.jp-related-posts-preview{text-align:center}.jp-related-posts-preview__title{text-align:right;color:#87a6bc;font-weight:600;margin-right:0.5rem;margin-bottom:1rem;text-transform:uppercase}.jp-related-posts-preview__item{box-sizing:border-box;display:inline-block;width:33.33%;padding:0.5rem;text-align:right}@media (max-width: 480px){.jp-related-posts-preview__item{width:100%}}.jp-related-posts-preview__item img{max-width:100%;margin-bottom:0.5rem}.jp-support-card{margin-top:1rem;margin-bottom:0}.jp-support-card__description{margin:0;font-size:0.875rem;line-height:1.65;color:#555d66}@media (max-width: 660px){.jp-support-card__description{margin-bottom:0}}.jp-support-card__link{font-style:italic}@media (max-width: 660px){.jp-support-card__link{display:block;width:100%;width:100%;padding:0.625rem 0;border-top:1px rgba(200,215,225,0.5) solid}.jp-support-card__link:first-letter{text-transform:capitalize}.jp-support-card__link:first-of-type{border-top:0}}.jp-support-card__happiness{margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-flow:row nowrap;flex-flow:row nowrap}@media (max-width: 660px){.jp-support-card__happiness{padding-bottom:0}.jp-support-card__happiness .jp-support-card__description:first-of-type{margin-bottom:1rem}}.jp-support-card__social{background-color:#fafbfc;padding:0.75rem 1rem}@media (max-width: 660px){.jp-support-card__social{background:#fff;margin-top:1rem;padding:0 1rem}}.jp-support-card__header{margin:0 0 1rem 0}@media (min-width: 661px){.jp-support-card__happiness-engineer{-ms-flex-preferred-size:15%;flex-basis:15%;-ms-flex-negative:1;flex-shrink:1;-ms-flex-positive:1;flex-grow:1}}@media (max-width: 660px){.jp-support-card__happiness-engineer{display:none}}.jp-support-card__happiness-engineer-img{width:4.5rem;height:4.5rem;margin-left:1.5rem;border-radius:50%}@media (min-width: 661px){.jp-support-card__happiness-contact{-ms-flex-preferred-size:85%;flex-basis:85%;-ms-flex-negative:1;flex-shrink:1;-ms-flex-positive:1;flex-grow:1}}.jp-form-fieldset{clear:both}.jp-form-fieldset+.jp-form-fieldset{margin-top:1.5rem}.jp-form-legend{padding:0;margin-bottom:0.3125rem;font-size:0.875rem;font-weight:600}.jp-form-label{display:block;font-size:0.875rem;line-height:1.5;margin-bottom:0.3125rem}.jp-form-label input[type=\"radio\"]+span{font-weight:normal}.jp-form-button{margin-top:1rem}@media (min-width: 481px){.jp-form-button{position:absolute;left:1rem;bottom:1rem}}.jp-form-setting-explanation{color:#87a6bc;display:block;margin:0.3125rem 0 0 0;font-size:0.8125rem;font-style:italic;font-weight:400;word-break:break-word}.jp-form-setting-explanation+.dops-card{margin-top:1rem}.jp-form-fieldset .jp-form-legend+.jp-form-setting-explanation{margin-top:0.5rem}.jp-form-fieldset .jp-form-setting-explanation+.jp-form-label{margin-top:1rem}.react-tagsinput{border:1px solid #e9eff3;padding:0.3125rem}.react-tagsinput--focused{border-color:#a5d24a}.react-tagsinput-tag{background-color:#00aadc;border-radius:2px;border:1px solid #0087be;color:#fff;display:inline-block;font-size:13px;padding:0.3125rem;margin-left:0.3125rem;transition:background-color .2s ease-out}.react-tagsinput-tag:hover{background-color:#26b7e2}.react-tagsinput-remove{cursor:pointer;font-weight:bold;transition:color .2s ease-out}.react-tagsinput-remove:hover{color:#caf3ff}.react-tagsinput-tag a::before{content:\" \\00d7\"}.react-tagsinput-input{font-size:13px;padding:0.3125rem;width:9.375rem;margin:0;height:1.875rem;vertical-align:top}.jetpack-pagestyles .vp-notice,.jetpack-pagestyles .woocommerce-message,.jetpack-pagestyles .wc-connect{display:none}.jetpack-pagestyles .woocommerce-message.dops-notice{display:block}.jetpack-pagestyles .woocommerce-message.dops-notice .submit{padding:0}.jetpack-pagestyles .woocommerce-message.dops-notice .skip{color:#87a6bc;opacity:0.85}.jetpack-pagestyles .woocommerce-message.dops-notice .skip:hover{opacity:1}.jetpack-pagestyles .woocommerce-message.dops-notice .notice-dismiss::before{display:none}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>div{max-width:620px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__text>a{margin-left:15px}.jetpack-pagestyles .woocommerce-message.dops-notice .dops-notice__moved_text{margin-bottom:5px}.jetpack-pagestyles .dops-notice__action.notice-dismiss{height:100%}.jp-at-a-glance{margin-bottom:3rem}.jp-at-a-glance__stats-card{padding:0}.jp-at-a-glance__stats-inactive{padding:1rem}@media (min-width: 661px){.jp-at-a-glance__stats-inactive{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}@media (max-width: 660px){.jp-at-a-glance__stats-inactive-icon{display:none}}@media (min-width: 661px){.jp-at-a-glance__stats-inactive-icon{-ms-flex-preferred-size:10%;flex-basis:10%}}.jp-at-a-glance__stats-inactive-text{font-size:0.875rem;line-height:1.5}@media (max-width: 660px){.jp-at-a-glance__stats-inactive-text{padding:0 0 1rem}}@media (min-width: 661px){.jp-at-a-glance__stats-inactive-text{-ms-flex-preferred-size:50%;flex-basis:50%;padding:0 1rem}}.jp-at-a-glance__stats-inactive-button{text-align:right}@media (min-width: 661px){.jp-at-a-glance__stats-inactive-button{-ms-flex-preferred-size:40%;flex-basis:40%;text-align:left}}.jp-at-a-glance__stats-chart{padding:1rem;position:relative}.jp-at-a-glance__stats-chart .dops-spinner{position:absolute;top:50%;right:50%}.jp-at-a-glance__stats-bottom{margin:2rem 0 0}@media (max-width: 480px){.jp-at-a-glance__stats-bottom{box-shadow:0 0 0 1px rgba(200,215,225,0.5),0 1px 2px #e9eff3}}.jp-at-a-glance__stats-summary{text-align:center;border-top:1px #f3f6f8 solid}@media (min-width: 661px){.jp-at-a-glance__stats-summary{-ms-flex-wrap:nowrap;flex-wrap:nowrap;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}}@media (max-width: 660px){.jp-at-a-glance__stats-summary{display:block}}.jp-at-a-glance__stats-summary-today,.jp-at-a-glance__stats-summary-bestday{-ms-flex-preferred-size:25%;flex-basis:25%;padding:1rem;box-shadow:0 0 0 1px rgba(200,215,225,0.5),0 1px 2px #e9eff3}@media (max-width: 660px){.jp-at-a-glance__stats-summary-today{margin-top:-0.0625rem}}@media (min-width: 661px){.jp-at-a-glance__stats-summary-bestday{margin:0 0.0625rem}}@media (max-width: 660px){.jp-at-a-glance__stats-summary-bestday,.jp-at-a-glance__stats-summary-alltime{margin-top:0.0625rem}}.jp-at-a-glance__stats-summary-alltime{-ms-flex-preferred-size:50%;flex-basis:50%;padding:1rem;box-shadow:0 0 0 1px rgba(200,215,225,0.5),0 1px 2px #e9eff3}@media (min-width: 661px){.jp-at-a-glance__stats-summary-alltime{max-width:40%;display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-negative:1;flex-shrink:1}}.jp-at-a-glance__stats-alltime-views,.jp-at-a-glance__stats-alltime-comments{-ms-flex-preferred-size:50%;flex-basis:50%}.jp-at-a-glance__stats-cta{padding:1rem;background-color:#fafbfc}@media (min-width: 661px){.jp-at-a-glance__stats-cta{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center}}@media (max-width: 660px){.jp-at-a-glance__stats-cta{display:block}}@media (min-width: 661px){.jp-at-a-glance__stats-cta-description{-ms-flex-preferred-size:30%;flex-basis:30%}}.jp-at-a-glance__stat-details{margin:0}.jp-at-a-glance__stat-number{font-size:1.375rem;font-weight:400;margin:0.5rem 0}@media (min-width: 661px){.jp-at-a-glance__stats-cta-buttons{text-align:left;-ms-flex-preferred-size:70%;flex-basis:70%}}@media (max-width: 660px){.jp-at-a-glance__stats-cta-buttons{text-align:center}.jp-at-a-glance__stats-cta-buttons .dops-button{width:100%;margin-bottom:0.25rem}}.jp-at-a-glance__stats-cta-buttons .dops-button{text-align:center;margin:0.25rem}.jp-at-a-glance__stats-views{margin-top:0;margin-bottom:0}.jp-at-a-glance__stats-view{display:inline-block;margin-top:0;margin-bottom:0;margin-right:1rem}.jp-at-a-glance__stats-view:focus{outline:0}@media (max-width: 480px){.jp-at-a-glance__stats-view{margin-right:0;margin-left:1rem}}.jp-at-a-glance__stats-view-link,.jp-at-a-glance__stats-view-link:visited{color:#87a6bc;text-decoration:underline}.jp-at-a-glance__stats-view-link.is-current,.jp-at-a-glance__stats-view-link:visited.is-current{font-weight:600;text-decoration:none}.jp-at-a-glance__stats-view-link:focus{outline:0;box-shadow:none}.jp-at-a-glance__item-grid{display:-ms-flexbox;display:flex}@media (max-width: 660px){.jp-at-a-glance__item-grid{display:block}}.jp-at-a-glance__left,.jp-at-a-glance__right{display:-ms-flexbox;display:flex}@media (min-width: 661px){.jp-at-a-glance__left,.jp-at-a-glance__right{-ms-flex-preferred-size:50%;flex-basis:50%;margin-bottom:1rem}}@media (max-width: 660px){.jp-at-a-glance__left,.jp-at-a-glance__right{margin-bottom:0.75rem}}.jp-at-a-glance__left>div,.jp-at-a-glance__left .jp-dash-item,.jp-at-a-glance__right>div,.jp-at-a-glance__right .jp-dash-item{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.jp-at-a-glance__left>div,.jp-at-a-glance__right>div{-ms-flex-preferred-size:100%;flex-basis:100%}.jp-at-a-glance__left .jp-dash-item .dops-card,.jp-at-a-glance__right .jp-dash-item .dops-card{-ms-flex-positive:1;flex-grow:1}.jp-at-a-glance__left .jp-dash-item .dops-card.is-compact,.jp-at-a-glance__right .jp-dash-item .dops-card.is-compact{-ms-flex-positive:0;flex-grow:0}.jp-at-a-glance__left .jp-dash-item__card,.jp-at-a-glance__right .jp-dash-item__card{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end}.jp-at-a-glance__left{display:-ms-flexbox;display:flex}@media (min-width: 661px){.jp-at-a-glance__left{margin-left:1rem}.jp-at-a-glance__left:last-child{-ms-flex-preferred-size:calc( 50% - .5rem);flex-basis:calc( 50% - .5rem)}}.dops-chart__tooltip .tip-arrow{display:none}.jp-landing__plans.dops-card{padding:0}.jp-landing__plans .dops-button{margin-left:10px}.jp-landing-plans__header{background:#2e4453}@media (min-width: 661px){.jp-landing-plans__header{padding:2rem 0 0}}@media (max-width: 660px){.jp-landing-plans__header{padding:2rem}}.jp-landing-plans__header-img-container{margin:2rem 0 0;overflow:hidden}@media (min-width: 661px){.jp-landing-plans__header-img-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}@media (max-width: 660px){.jp-landing-plans__header-img-container{margin-bottom:0}}.jp-landing-plans__header-img{max-width:100%}@media (max-width: 660px){.jp-landing-plans__header-img{margin-top:2rem}}@media (min-width: 661px){.jp-landing-plans__header-img{margin:0 2rem 0 -2rem}}.jp-landing-plans__clouds{position:relative;overflow:hidden;padding-top:5rem}.jp-landing-plans__clouds img{position:absolute;bottom:-2px;right:-5%;left:-5%;height:auto;width:110%}@media (max-width: 660px){.jp-landing-plans__clouds{display:none}}.jp-landing-plans__header-col-left{-ms-flex-preferred-size:60%;flex-basis:60%}@media (min-width: 661px){.jp-landing-plans__header-col-left{padding-right:2rem}}.jp-landing-plans__header-col-right{-ms-flex-preferred-size:40%;flex-basis:40%}.jp-landing-plans__header-title,.jp-landing-plans__header-description{line-height:1.5}@media (min-width: 661px){.jp-landing-plans__header-title,.jp-landing-plans__header-description{text-align:center}}.jp-landing-plans__header-title,.jp-landing-plans__header-subtitle{color:#fff;font-weight:400;margin:0}.jp-landing-plans__header-title{font-size:1.25rem}.jp-landing-plans__header-description{font-size:0.875rem;margin:0;padding-bottom:1rem}.jp-landing-plans__header-subtitle{font-size:1rem;line-height:1.25}.jp-landing-plans__header-description,.jp-landing-plans__header-text{color:#a8bece}.jp-landing-plans__header-text{font-size:0.875rem;padding:1.5rem 0;margin:0}.jp-landing-plans__header-btn-container{margin:0}.jp-landing__plan-features-card{box-shadow:0 0 0 1px rgba(200,215,225,0.5),0 1px 2px #e9eff3;border-radius:3px}@media (min-width: 661px){.jp-landing__plan-features-card{margin-bottom:2rem}}@media (max-width: 660px){.jp-landing__plan-features-card{margin-bottom:1rem}}@media (min-width: 481px){.jp-landing__plan-features-card{padding:2rem}}@media (max-width: 480px){.jp-landing__plan-features-card{padding:1rem}}.jp-landing__plan-features-card:last-of-type{margin-bottom:0}.jp-landing__plan-features-title{margin:0}@media (min-width: 661px){.jp-landing__plan-features{padding:0 2rem 2rem}}@media (max-width: 660px){.jp-landing__plan-features{padding:1rem}}@media (min-width: 661px){.jp-landing__plan-card{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}}@media (min-width: 661px){.jp-landing__plan-card{padding:2rem}}@media (max-width: 660px){.jp-landing__plan-card{padding:2rem 2rem 1rem}}.jp-landing__plan-card .jp-landing__plan-features-title,.jp-landing__plan-card .jp-landing__plan-features-text{padding:0}@media (min-width: 661px){.jp-landing__plan-card .jp-landing__plan-features-title,.jp-landing__plan-card .jp-landing__plan-features-text{margin-right:2rem}}.jp-landing__plan-card .jp-landing__plan-features-title{margin-bottom:1rem}@media (max-width: 660px){.jp-landing__plan-card-img{float:left;margin:0 2rem 2rem 0}}@media (max-width: 480px){.jp-landing__plan-card-img{display:none}}.jp-landing__plan-icon{width:7.5rem}@media (max-width: 660px){.jp-landing__plan-icon{width:6.25rem}}.jp-landing__plan-card-img.is-placeholder{width:7.5rem;height:5.3125rem}.jp-landing__plan-card-img.is-placeholder+.jp-landing__plan-card-current{width:80%}.jp-landing__plan-features-title.is-placeholder{height:1.5rem;max-width:50%}.jp-landing__plan-features-text.is-placeholder{height:2.75rem;max-width:75%}.jp-landing__apps.dops-card{padding:0}.jp-landing__apps .dops-button{margin-left:10px}.jp-landing-apps__header,.jp-landing-apps__footer{background:#2e4453}@media (min-width: 661px){.jp-landing-apps__header{padding:2rem 0 0}}@media (max-width: 660px){.jp-landing-apps__header{padding:2rem}}.jp-landing-apps__header-img-container{margin:2rem 0 0;overflow:hidden}@media (min-width: 661px){.jp-landing-apps__header-img-container{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}@media (max-width: 660px){.jp-landing-apps__header-img-container{margin-bottom:0}}.jp-landing-apps__clouds{position:relative;overflow:hidden}.jp-landing-apps__clouds img{position:absolute;right:-5%;left:-5%;height:auto;width:110%}@media (max-width: 660px){.jp-landing-apps__clouds{display:none}}.jp-clouds-top{padding-top:5rem}.jp-clouds-top img{bottom:-2px}.jp-clouds-bottom{padding-bottom:5rem}.jp-clouds-bottom img{top:-2px}.jp-landing-apps__header-img{max-width:100%}@media (min-width: 661px){.jp-landing-apps__header-img{margin:0 4rem 0 -4rem}}.jp-landing-apps__header-col-left{-ms-flex-preferred-size:45%;flex-basis:45%}@media (min-width: 661px){.jp-landing-apps__header-col-left{padding-right:2rem}}.jp-landing-apps__header-col-right{-ms-flex-preferred-size:55%;flex-basis:55%}.jp-landing-apps__title,.jp-landing-apps__description{line-height:1.5}@media (min-width: 661px){.jp-landing-apps__title,.jp-landing-apps__description{text-align:center}}.jp-landing-apps__title,.jp-landing-apps__subtitle{color:#fff;font-weight:400;margin:0}.jp-landing-apps__title{font-size:1.25rem}.jp-landing-apps__description{font-size:0.875rem;margin:0;padding-bottom:1rem}.jp-landing-apps__subtitle,.jp-landing__apps-feature-title{font-size:1rem;line-height:1.25}.jp-landing-apps__description,.jp-landing-apps__sub-description{color:#a8bece}.jp-landing-apps__sub-description,.jp-landing__apps-feature-text{font-size:0.875rem;padding:1.5rem 0;margin:0}.jp-landing-apps__feature-container{padding:1rem 0}.jp-landing-apps__feature{padding:2rem}@media (min-width: 661px){.jp-landing-apps__feature{display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:top;align-items:top;padding:2rem 0}}@media (min-width: 661px){.jp-landing-apps__feature-col{-ms-flex-preferred-size:50%;flex-basis:50%}}@media (max-width: 660px){.jp-landing-apps__feature-col.jp-landing-apps__feature-img{display:none}}@media (min-width: 661px){.jp-landing-apps__feature-desc:nth-child(odd){padding:0 2rem}.jp-landing-apps__feature-desc:nth-child(even){padding:0 2rem 0 3rem}}.jp-landing__apps-feature-title{margin:0}.jp-landing-apps__feature-img img{max-width:100%}@media (min-width: 661px){.jp-landing-apps__footer-top{padding:0 2rem 2rem}}@media (max-width: 660px){.jp-landing-apps__footer-top{padding:2rem}}.jp-landing-apps__downloads{padding:2rem}.jp-landing-apps__devices{width:100%;margin-top:2rem}.jp-landing-apps__btn-container{margin:0 0 2rem;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.jp-landing-apps__btn-container:last-of-type{margin:0}@media (min-width: 481px){.jp-landing-apps__btn-container{-ms-flex-wrap:nowrap;flex-wrap:nowrap}}@media (max-width: 480px){.jp-landing-apps__btn-container{-ms-flex-wrap:wrap;flex-wrap:wrap}.jp-landing-apps__btn-container .dops-button{margin-left:0}}.jp-app-button{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;height:2.625rem;padding-right:0.375rem;color:#2e4453}@media (max-width: 480px){.jp-app-button{-ms-flex-preferred-size:100%;flex-basis:100%;-ms-flex-pack:center;justify-content:center;margin-bottom:0.625rem}}.jp-app-button svg{margin-left:0.5rem;fill:#2e4453}.jp-app-button.button-ios svg{margin-top:-0.1875rem}.dops-search__input[type=\"search\"]{width:100%}\n"],"file":"style.min.rtl.css","sourceRoot":"/source/"}
|
_inc/lib/admin-pages/class.jetpack-admin-page.php
CHANGED
@@ -17,7 +17,7 @@ abstract class Jetpack_Admin_Page {
|
|
17 |
/**
|
18 |
* Function called after admin_styles to load any additional needed styles.
|
19 |
*
|
20 |
-
* @since 4.3
|
21 |
*/
|
22 |
function additional_styles() {}
|
23 |
|
@@ -41,7 +41,7 @@ abstract class Jetpack_Admin_Page {
|
|
41 |
add_action( "load-$hook", array( $this, 'admin_help' ) );
|
42 |
add_action( "load-$hook", array( $this, 'admin_page_load' ) );
|
43 |
add_action( "admin_head-$hook", array( $this, 'admin_head' ) );
|
44 |
-
|
45 |
add_action( "admin_print_styles-$hook", array( $this, 'admin_styles' ) );
|
46 |
add_action( "admin_print_scripts-$hook", array( $this, 'admin_scripts' ) );
|
47 |
|
17 |
/**
|
18 |
* Function called after admin_styles to load any additional needed styles.
|
19 |
*
|
20 |
+
* @since 4.3.0
|
21 |
*/
|
22 |
function additional_styles() {}
|
23 |
|
41 |
add_action( "load-$hook", array( $this, 'admin_help' ) );
|
42 |
add_action( "load-$hook", array( $this, 'admin_page_load' ) );
|
43 |
add_action( "admin_head-$hook", array( $this, 'admin_head' ) );
|
44 |
+
|
45 |
add_action( "admin_print_styles-$hook", array( $this, 'admin_styles' ) );
|
46 |
add_action( "admin_print_scripts-$hook", array( $this, 'admin_scripts' ) );
|
47 |
|
_inc/lib/admin-pages/class.jetpack-landing-page.php
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// This is intentionally left empty as a stub because some sites were caching the require()
|
3 |
+
// @see https://github.com/Automattic/jetpack/issues/5091
|
_inc/lib/admin-pages/class.jetpack-react-page.php
CHANGED
@@ -49,7 +49,7 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
|
|
49 |
*
|
50 |
* Works in Dev Mode or when user is connected.
|
51 |
*
|
52 |
-
* @since 4.3
|
53 |
*/
|
54 |
function jetpack_add_dashboard_sub_nav_item() {
|
55 |
if ( Jetpack::is_development_mode() || Jetpack::is_active() ) {
|
@@ -65,7 +65,7 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
|
|
65 |
/**
|
66 |
* If user is allowed to see the Jetpack Admin, add Settings sub-link.
|
67 |
*
|
68 |
-
* @since 4.3
|
69 |
*/
|
70 |
function jetpack_add_settings_sub_nav_item() {
|
71 |
if ( ( Jetpack::is_development_mode() || Jetpack::is_active() ) && current_user_can( 'jetpack_admin_page' ) ) {
|
@@ -136,21 +136,33 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
|
|
136 |
/** This action is already documented in views/admin/admin-page.php */
|
137 |
do_action( 'jetpack_notices' );
|
138 |
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
143 |
}
|
144 |
|
145 |
function get_i18n_data() {
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
if ( $locale_data ) {
|
151 |
-
|
152 |
-
|
153 |
return '{}';
|
|
|
|
|
|
|
|
|
154 |
}
|
155 |
}
|
156 |
|
@@ -186,7 +198,7 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
|
|
186 |
|
187 |
function page_admin_styles() {
|
188 |
$rtl = is_rtl() ? '.rtl' : '';
|
189 |
-
|
190 |
wp_enqueue_style( 'dops-css', plugins_url( "_inc/build/admin.dops-style$rtl.css", JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION );
|
191 |
wp_enqueue_style( 'components-css', plugins_url( "_inc/build/style.min$rtl.css", JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION );
|
192 |
}
|
@@ -222,6 +234,15 @@ class Jetpack_React_Page extends Jetpack_Admin_Page {
|
|
222 |
$response = rest_do_request( new WP_REST_Request( 'GET', '/jetpack/v4/module/all' ) );
|
223 |
$modules = $response->get_data();
|
224 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
// Add objects to be passed to the initial state of the app
|
226 |
wp_localize_script( 'react-plugin', 'Initial_State', array(
|
227 |
'WP_API_root' => esc_url_raw( rest_url() ),
|
49 |
*
|
50 |
* Works in Dev Mode or when user is connected.
|
51 |
*
|
52 |
+
* @since 4.3.0
|
53 |
*/
|
54 |
function jetpack_add_dashboard_sub_nav_item() {
|
55 |
if ( Jetpack::is_development_mode() || Jetpack::is_active() ) {
|
65 |
/**
|
66 |
* If user is allowed to see the Jetpack Admin, add Settings sub-link.
|
67 |
*
|
68 |
+
* @since 4.3.0
|
69 |
*/
|
70 |
function jetpack_add_settings_sub_nav_item() {
|
71 |
if ( ( Jetpack::is_development_mode() || Jetpack::is_active() ) && current_user_can( 'jetpack_admin_page' ) ) {
|
136 |
/** This action is already documented in views/admin/admin-page.php */
|
137 |
do_action( 'jetpack_notices' );
|
138 |
|
139 |
+
// Try fetching by patch
|
140 |
+
$static_html = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static.html' );
|
141 |
+
|
142 |
+
if ( false === $static_html ) {
|
143 |
+
|
144 |
+
// If we still have nothing, display an error
|
145 |
+
esc_html_e( 'Error fetching static.html.', 'jetpack' );
|
146 |
+
} else {
|
147 |
+
|
148 |
+
// We got the static.html so let's display it
|
149 |
+
echo $static_html;
|
150 |
+
}
|
151 |
}
|
152 |
|
153 |
function get_i18n_data() {
|
154 |
+
|
155 |
+
// Try fetching by patch
|
156 |
+
$locale_data = @file_get_contents( JETPACK__PLUGIN_DIR . 'languages/json/jetpack-' . get_locale() . '.json' );
|
157 |
+
|
158 |
+
if ( false === $locale_data ) {
|
159 |
+
|
160 |
+
// Return empty if we have nothing to return so it doesn't fail when parsed in JS
|
161 |
return '{}';
|
162 |
+
} else {
|
163 |
+
|
164 |
+
// We got the json file so let's return it
|
165 |
+
return $locale_data;
|
166 |
}
|
167 |
}
|
168 |
|
198 |
|
199 |
function page_admin_styles() {
|
200 |
$rtl = is_rtl() ? '.rtl' : '';
|
201 |
+
|
202 |
wp_enqueue_style( 'dops-css', plugins_url( "_inc/build/admin.dops-style$rtl.css", JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION );
|
203 |
wp_enqueue_style( 'components-css', plugins_url( "_inc/build/style.min$rtl.css", JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION );
|
204 |
}
|
234 |
$response = rest_do_request( new WP_REST_Request( 'GET', '/jetpack/v4/module/all' ) );
|
235 |
$modules = $response->get_data();
|
236 |
|
237 |
+
// Preparing translated fields for JSON encoding by transforming all HTML entities to
|
238 |
+
// respective characters.
|
239 |
+
foreach( $modules as $slug => $data ) {
|
240 |
+
$modules[ $slug ]['name'] = html_entity_decode( $data['name'] );
|
241 |
+
$modules[ $slug ]['description'] = html_entity_decode( $data['description'] );
|
242 |
+
$modules[ $slug ]['short_description'] = html_entity_decode( $data['short_description'] );
|
243 |
+
$modules[ $slug ]['long_description'] = html_entity_decode( $data['long_description'] );
|
244 |
+
}
|
245 |
+
|
246 |
// Add objects to be passed to the initial state of the app
|
247 |
wp_localize_script( 'react-plugin', 'Initial_State', array(
|
248 |
'WP_API_root' => esc_url_raw( rest_url() ),
|
_inc/lib/admin-pages/class.jetpack-settings-page.php
CHANGED
@@ -19,32 +19,19 @@ class Jetpack_Settings_Page extends Jetpack_Admin_Page {
|
|
19 |
// actions to activate/deactivate and configure modules
|
20 |
function page_render() {
|
21 |
$list_table = new Jetpack_Modules_List_Table;
|
22 |
-
$build_url = esc_url( plugins_url( '/_inc/build/', JETPACK__PLUGIN_FILE ) );
|
23 |
|
24 |
-
$static_html =
|
25 |
-
if ( 200 == wp_remote_retrieve_response_code( $static_html ) ) {
|
26 |
-
$static_html = wp_remote_retrieve_body( $static_html );
|
27 |
-
} else {
|
28 |
-
esc_html_e( 'Error fetching static.html.', 'jetpack' );
|
29 |
|
30 |
-
|
|
|
|
|
31 |
return;
|
32 |
}
|
33 |
|
34 |
-
|
35 |
-
$noscript_notice =
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
$version_notice = wp_remote_get( $build_url . 'static-version-notice.html' );
|
40 |
-
$version_notice = 200 == wp_remote_retrieve_response_code( $version_notice )
|
41 |
-
? wp_remote_retrieve_body( $version_notice )
|
42 |
-
: '';
|
43 |
-
|
44 |
-
$ie_notice = wp_remote_get( $build_url . 'static-ie-notice.html' );
|
45 |
-
$ie_notice = 200 == wp_remote_retrieve_response_code( $ie_notice )
|
46 |
-
? wp_remote_retrieve_body( $ie_notice )
|
47 |
-
: '';
|
48 |
|
49 |
$noscript_notice = str_replace(
|
50 |
'#HEADER_TEXT#',
|
@@ -159,17 +146,17 @@ class Jetpack_Settings_Page extends Jetpack_Admin_Page {
|
|
159 |
$static_html
|
160 |
);
|
161 |
|
162 |
-
JetpackTracking::record_user_event( '
|
163 |
}
|
164 |
|
165 |
/**
|
166 |
* Load styles for static page.
|
167 |
*
|
168 |
-
* @since 4.3
|
169 |
*/
|
170 |
function additional_styles() {
|
171 |
$rtl = is_rtl() ? '.rtl' : '';
|
172 |
-
wp_enqueue_style( 'dops-css', plugins_url( "_inc/build/
|
173 |
wp_enqueue_style( 'components-css', plugins_url( "_inc/build/style.min$rtl.css", JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION );
|
174 |
}
|
175 |
|
19 |
// actions to activate/deactivate and configure modules
|
20 |
function page_render() {
|
21 |
$list_table = new Jetpack_Modules_List_Table;
|
|
|
22 |
|
23 |
+
$static_html = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static.html' );
|
|
|
|
|
|
|
|
|
24 |
|
25 |
+
// If static.html isn't there, there's nothing else we can do.
|
26 |
+
if ( false === $static_html ) {
|
27 |
+
esc_html_e( 'Error fetching static.html.', 'jetpack' );
|
28 |
return;
|
29 |
}
|
30 |
|
31 |
+
// We have static.html so let's continue trying to fetch the others
|
32 |
+
$noscript_notice = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static-noscript-notice.html' );
|
33 |
+
$version_notice = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static-version-notice.html' );
|
34 |
+
$ie_notice = @file_get_contents( JETPACK__PLUGIN_DIR . '_inc/build/static-ie-notice.html' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
$noscript_notice = str_replace(
|
37 |
'#HEADER_TEXT#',
|
146 |
$static_html
|
147 |
);
|
148 |
|
149 |
+
JetpackTracking::record_user_event( 'wpa_page_view', array( 'path' => 'old_settings' ) );
|
150 |
}
|
151 |
|
152 |
/**
|
153 |
* Load styles for static page.
|
154 |
*
|
155 |
+
* @since 4.3.0
|
156 |
*/
|
157 |
function additional_styles() {
|
158 |
$rtl = is_rtl() ? '.rtl' : '';
|
159 |
+
wp_enqueue_style( 'dops-css', plugins_url( "_inc/build/admin.dops-style$rtl.css", JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION );
|
160 |
wp_enqueue_style( 'components-css', plugins_url( "_inc/build/style.min$rtl.css", JETPACK__PLUGIN_FILE ), array(), JETPACK__VERSION );
|
161 |
}
|
162 |
|
_inc/lib/class.core-rest-api-endpoints.php
CHANGED
@@ -78,14 +78,14 @@ class Jetpack_Core_Json_Api_Endpoints {
|
|
78 |
|
79 |
// Disconnect site from WordPress.com servers
|
80 |
register_rest_route( 'jetpack/v4', '/connection', array(
|
81 |
-
'methods' => WP_REST_Server::
|
82 |
'callback' => __CLASS__ . '::disconnect_site',
|
83 |
'permission_callback' => __CLASS__ . '::disconnect_site_permission_callback',
|
84 |
) );
|
85 |
|
86 |
// Disconnect/unlink user from WordPress.com servers
|
87 |
register_rest_route( 'jetpack/v4', '/connection/user', array(
|
88 |
-
'methods' => WP_REST_Server::
|
89 |
'callback' => __CLASS__ . '::unlink_user',
|
90 |
'permission_callback' => __CLASS__ . '::link_user_permission_callback',
|
91 |
'args' => array(
|
@@ -186,7 +186,7 @@ class Jetpack_Core_Json_Api_Endpoints {
|
|
186 |
|
187 |
// Reset all Jetpack options
|
188 |
register_rest_route( 'jetpack/v4', '/options/(?P<options>[a-z\-]+)', array(
|
189 |
-
'methods' => WP_REST_Server::
|
190 |
'callback' => __CLASS__ . '::reset_jetpack_options',
|
191 |
'permission_callback' => __CLASS__ . '::manage_modules_permission_check',
|
192 |
) );
|
@@ -227,7 +227,7 @@ class Jetpack_Core_Json_Api_Endpoints {
|
|
227 |
|
228 |
// Dismiss Jetpack Notices
|
229 |
register_rest_route( 'jetpack/v4', '/notice/(?P<notice>[a-z\-_]+)', array(
|
230 |
-
'methods' => WP_REST_Server::
|
231 |
'callback' => __CLASS__ . '::dismiss_notice',
|
232 |
'permission_callback' => __CLASS__ . '::view_admin_page_permission_check',
|
233 |
) );
|
@@ -279,6 +279,12 @@ class Jetpack_Core_Json_Api_Endpoints {
|
|
279 |
*/
|
280 |
public static function dismiss_notice( $data ) {
|
281 |
$notice = $data['notice'];
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
if ( isset( $notice ) && ! empty( $notice ) ) {
|
283 |
switch( $notice ) {
|
284 |
case 'feedback_dash_request':
|
@@ -496,7 +502,13 @@ class Jetpack_Core_Json_Api_Endpoints {
|
|
496 |
* @since 4.3.0
|
497 |
* @return bool|WP_Error True if Jetpack successfully disconnected.
|
498 |
*/
|
499 |
-
public static function disconnect_site() {
|
|
|
|
|
|
|
|
|
|
|
|
|
500 |
if ( Jetpack::is_active() ) {
|
501 |
Jetpack::disconnect();
|
502 |
return rest_ensure_response( array( 'code' => 'success' ) );
|
@@ -620,6 +632,12 @@ class Jetpack_Core_Json_Api_Endpoints {
|
|
620 |
* @return bool|WP_Error True if user successfully unlinked.
|
621 |
*/
|
622 |
public static function unlink_user( $data ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
623 |
if ( isset( $data['id'] ) && Jetpack::unlink_user( $data['id'] ) ) {
|
624 |
return rest_ensure_response(
|
625 |
array(
|
@@ -673,6 +691,12 @@ class Jetpack_Core_Json_Api_Endpoints {
|
|
673 |
* @return bool|WP_Error True if options were reset. Otherwise, a WP_Error instance with the corresponding error.
|
674 |
*/
|
675 |
public static function reset_jetpack_options( $data ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
676 |
if ( isset( $data['options'] ) ) {
|
677 |
$data = $data['options'];
|
678 |
|
78 |
|
79 |
// Disconnect site from WordPress.com servers
|
80 |
register_rest_route( 'jetpack/v4', '/connection', array(
|
81 |
+
'methods' => WP_REST_Server::EDITABLE,
|
82 |
'callback' => __CLASS__ . '::disconnect_site',
|
83 |
'permission_callback' => __CLASS__ . '::disconnect_site_permission_callback',
|
84 |
) );
|
85 |
|
86 |
// Disconnect/unlink user from WordPress.com servers
|
87 |
register_rest_route( 'jetpack/v4', '/connection/user', array(
|
88 |
+
'methods' => WP_REST_Server::EDITABLE,
|
89 |
'callback' => __CLASS__ . '::unlink_user',
|
90 |
'permission_callback' => __CLASS__ . '::link_user_permission_callback',
|
91 |
'args' => array(
|
186 |
|
187 |
// Reset all Jetpack options
|
188 |
register_rest_route( 'jetpack/v4', '/options/(?P<options>[a-z\-]+)', array(
|
189 |
+
'methods' => WP_REST_Server::EDITABLE,
|
190 |
'callback' => __CLASS__ . '::reset_jetpack_options',
|
191 |
'permission_callback' => __CLASS__ . '::manage_modules_permission_check',
|
192 |
) );
|
227 |
|
228 |
// Dismiss Jetpack Notices
|
229 |
register_rest_route( 'jetpack/v4', '/notice/(?P<notice>[a-z\-_]+)', array(
|
230 |
+
'methods' => WP_REST_Server::EDITABLE,
|
231 |
'callback' => __CLASS__ . '::dismiss_notice',
|
232 |
'permission_callback' => __CLASS__ . '::view_admin_page_permission_check',
|
233 |
) );
|
279 |
*/
|
280 |
public static function dismiss_notice( $data ) {
|
281 |
$notice = $data['notice'];
|
282 |
+
$param = $data->get_json_params();
|
283 |
+
|
284 |
+
if ( ! isset( $param['dismissed'] ) || $param['dismissed'] !== true ) {
|
285 |
+
return new WP_Error( 'invalid_param', esc_html__( 'Invalid parameter "dismissed".', 'jetpack' ), array( 'status' => 404 ) );
|
286 |
+
}
|
287 |
+
|
288 |
if ( isset( $notice ) && ! empty( $notice ) ) {
|
289 |
switch( $notice ) {
|
290 |
case 'feedback_dash_request':
|
502 |
* @since 4.3.0
|
503 |
* @return bool|WP_Error True if Jetpack successfully disconnected.
|
504 |
*/
|
505 |
+
public static function disconnect_site( $data ) {
|
506 |
+
$param = $data->get_json_params();
|
507 |
+
|
508 |
+
if ( ! isset( $param['isActive'] ) || $param['isActive'] !== false ) {
|
509 |
+
return new WP_Error( 'invalid_param', esc_html__( 'Invalid Parameter', 'jetpack' ), array( 'status' => 404 ) );
|
510 |
+
}
|
511 |
+
|
512 |
if ( Jetpack::is_active() ) {
|
513 |
Jetpack::disconnect();
|
514 |
return rest_ensure_response( array( 'code' => 'success' ) );
|
632 |
* @return bool|WP_Error True if user successfully unlinked.
|
633 |
*/
|
634 |
public static function unlink_user( $data ) {
|
635 |
+
$param = $data->get_json_params();
|
636 |
+
|
637 |
+
if ( ! isset( $param['linked'] ) || $param['linked'] !== false ) {
|
638 |
+
return new WP_Error( 'invalid_param', esc_html__( 'Invalid Parameter', 'jetpack' ), array( 'status' => 404 ) );
|
639 |
+
}
|
640 |
+
|
641 |
if ( isset( $data['id'] ) && Jetpack::unlink_user( $data['id'] ) ) {
|
642 |
return rest_ensure_response(
|
643 |
array(
|
691 |
* @return bool|WP_Error True if options were reset. Otherwise, a WP_Error instance with the corresponding error.
|
692 |
*/
|
693 |
public static function reset_jetpack_options( $data ) {
|
694 |
+
$param = $data->get_json_params();
|
695 |
+
|
696 |
+
if ( ! isset( $param['reset'] ) || $param['reset'] !== true ) {
|
697 |
+
return new WP_Error( 'invalid_param', esc_html__( 'Invalid Parameter', 'jetpack' ), array( 'status' => 404 ) );
|
698 |
+
}
|
699 |
+
|
700 |
if ( isset( $data['options'] ) ) {
|
701 |
$data = $data['options'];
|
702 |
|
_inc/lib/core-api/class.jetpack-core-api-module-endpoints.php
CHANGED
@@ -675,8 +675,9 @@ class Jetpack_Core_API_Module_Endpoint
|
|
675 |
if ( 'GET' === $request->get_method() ) {
|
676 |
return current_user_can( 'jetpack_admin_page' );
|
677 |
} else {
|
678 |
-
|
679 |
-
|
|
|
680 |
return current_user_can( 'edit_posts' ) && current_user_can( 'jetpack_admin_page' );
|
681 |
}
|
682 |
return current_user_can( 'jetpack_configure_modules' );
|
@@ -982,4 +983,4 @@ class Jetpack_Core_API_Module_Data_Endpoint {
|
|
982 |
public function can_request() {
|
983 |
return current_user_can( 'jetpack_admin_page' );
|
984 |
}
|
985 |
-
}
|
675 |
if ( 'GET' === $request->get_method() ) {
|
676 |
return current_user_can( 'jetpack_admin_page' );
|
677 |
} else {
|
678 |
+
$module = Jetpack_Core_Json_Api_Endpoints::get_module_requested();
|
679 |
+
// User is trying to create, regenerate or delete its PbE || ATD settings.
|
680 |
+
if ( 'post-by-email' === $module || 'after-the-deadline' === $module ) {
|
681 |
return current_user_can( 'edit_posts' ) && current_user_can( 'jetpack_admin_page' );
|
682 |
}
|
683 |
return current_user_can( 'jetpack_configure_modules' );
|
983 |
public function can_request() {
|
984 |
return current_user_can( 'jetpack_admin_page' );
|
985 |
}
|
986 |
+
}
|
changelog.txt
CHANGED
@@ -1,13 +1,40 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
= 4.3 =
|
4 |
|
5 |
* Release date: September 6th, 2016
|
6 |
|
7 |
**Exciting Performance and UI Improvements:**
|
8 |
|
9 |
-
* We have launched the all new React powered interface, a year in the making,
|
10 |
-
designed to give you better control of your favorite Jetpack features.
|
11 |
|
12 |
= 4.2.2 =
|
13 |
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 4.3.1 =
|
4 |
+
|
5 |
+
* Release date: September 7, 2016
|
6 |
+
|
7 |
+
**Enhancements**
|
8 |
+
|
9 |
+
* Sync data on the host being used by any given site so that we can provide better support when things break.
|
10 |
+
* Update inline docs to match version numbers. #5089
|
11 |
+
|
12 |
+
**Bug Fixes:**
|
13 |
+
|
14 |
+
* Admin Page: fix error when Admin Page resources could not be fetched with `wp_remote_get` due to unique host configurations.
|
15 |
+
* Admin Page: fix error when Post By Email could not be enabled when the browser's dev console was enabled.
|
16 |
+
* Admin Page: make sure all translated strings are encoded properly.
|
17 |
+
* Admin Page: only use POST requests for updating the state of Jetpack, to avoid issues on servers not allowing PUT requests.
|
18 |
+
* Admin Page: search icon no longer overlaps the global notices.
|
19 |
+
* Admin Page: make sure that non-admins can also modify Spellchecking settings.
|
20 |
+
* General: Improve random number generation for compatibility with more hosts.
|
21 |
+
* General: Add deprecated PHP file (class.jetpack-landing-page.php) back as an empty file, to avoid generating fatal errors on sites with aggressive caching.
|
22 |
+
* General: Ensure concatenated CSS is generated for RTL languages.
|
23 |
+
* Security: Ensure that all options are included on the security tab.
|
24 |
+
* Stats: fix display for sites with pretty permalinks disabled.
|
25 |
+
* Subscriptions: ensure that no email is sent when updating a published post.
|
26 |
+
* Sync: To improve performance, add snapTW to the list of post meta data that won't be synchronized for each post.
|
27 |
+
* Sync: do not schedule a full sync after each import.
|
28 |
+
* Verification Tools: in the Settings card, use appropriate link for each service.
|
29 |
+
|
30 |
+
|
31 |
= 4.3 =
|
32 |
|
33 |
* Release date: September 6th, 2016
|
34 |
|
35 |
**Exciting Performance and UI Improvements:**
|
36 |
|
37 |
+
* We have launched the all new React powered interface, a year in the making, designed to give you better control of your favorite Jetpack features.
|
|
|
38 |
|
39 |
= 4.2.2 =
|
40 |
|
class.frame-nonce-preview.php
CHANGED
@@ -9,7 +9,7 @@ class Jetpack_Frame_Nonce_Preview {
|
|
9 |
/**
|
10 |
* Returns the single instance of the Jetpack_Frame_Nonce_Preview object
|
11 |
*
|
12 |
-
* @since 4.
|
13 |
*
|
14 |
* @return Jetpack_Frame_Nonce_Preview
|
15 |
**/
|
@@ -30,7 +30,7 @@ class Jetpack_Frame_Nonce_Preview {
|
|
30 |
/**
|
31 |
* Verify that frame nonce exists, and if so, validate the nonce by calling WP.com.
|
32 |
*
|
33 |
-
* @since 4.
|
34 |
*
|
35 |
* @return bool
|
36 |
*/
|
@@ -53,7 +53,7 @@ class Jetpack_Frame_Nonce_Preview {
|
|
53 |
/**
|
54 |
* Conditionally add a hook on posts_results if this is the main query, a preview, and singular.
|
55 |
*
|
56 |
-
* @since 4.
|
57 |
*
|
58 |
* @param WP_Query $query
|
59 |
*
|
@@ -74,7 +74,7 @@ class Jetpack_Frame_Nonce_Preview {
|
|
74 |
/**
|
75 |
* Conditionally set the first post to 'publish' if the frame nonce is valid and there is a post.
|
76 |
*
|
77 |
-
* @since 4.
|
78 |
*
|
79 |
* @param array $posts
|
80 |
*
|
9 |
/**
|
10 |
* Returns the single instance of the Jetpack_Frame_Nonce_Preview object
|
11 |
*
|
12 |
+
* @since 4.3.0
|
13 |
*
|
14 |
* @return Jetpack_Frame_Nonce_Preview
|
15 |
**/
|
30 |
/**
|
31 |
* Verify that frame nonce exists, and if so, validate the nonce by calling WP.com.
|
32 |
*
|
33 |
+
* @since 4.3.0
|
34 |
*
|
35 |
* @return bool
|
36 |
*/
|
53 |
/**
|
54 |
* Conditionally add a hook on posts_results if this is the main query, a preview, and singular.
|
55 |
*
|
56 |
+
* @since 4.3.0
|
57 |
*
|
58 |
* @param WP_Query $query
|
59 |
*
|
74 |
/**
|
75 |
* Conditionally set the first post to 'publish' if the frame nonce is valid and there is a post.
|
76 |
*
|
77 |
+
* @since 4.3.0
|
78 |
*
|
79 |
* @param array $posts
|
80 |
*
|
class.jetpack.php
CHANGED
@@ -1169,7 +1169,7 @@ class Jetpack {
|
|
1169 |
*
|
1170 |
* This filter is especially useful for tests.
|
1171 |
*
|
1172 |
-
* @since 4.
|
1173 |
*
|
1174 |
* @param bool $development_version Is this a develoment version of Jetpack?
|
1175 |
*/
|
1169 |
*
|
1170 |
* This filter is especially useful for tests.
|
1171 |
*
|
1172 |
+
* @since 4.3.0
|
1173 |
*
|
1174 |
* @param bool $development_version Is this a develoment version of Jetpack?
|
1175 |
*/
|
css/jetpack-rtl.css
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*!
|
2 |
+
* Do not modify this file directly. It is concatenated from individual module CSS files.
|
3 |
+
*/
|
4 |
+
.jp-carousel-wrap *{line-height:inherit}.jp-carousel-overlay{background:#000}div.jp-carousel-fadeaway{background:-moz-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background:-webkit-gradient(linear,right bottom,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));position:fixed;bottom:0;z-index:2147483647;width:100%;height:15px}.jp-carousel-next-button span,.jp-carousel-previous-button span{background:url(../modules/carousel/images/arrows.png) center center no-repeat;background-size:200px 126px}.jp-carousel-msg{font-family:"Open Sans",sans-serif;font-style:normal;display:inline-block;line-height:19px;padding:11px 15px;font-size:14px;text-align:center;margin:25px 2px 0 20px;background-color:#fff;border-right:4px solid #ffba00;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.jp-carousel-next-button span,.jp-carousel-previous-button span{background-image:url(../modules/carousel/images/arrows-2x.png)}}.jp-carousel-wrap{font-family:"Helvetica Neue",sans-serif!important}.jp-carousel-info{position:absolute;bottom:0;text-align:right!important;-webkit-font-smoothing:subpixel-antialiased!important}.jp-carousel-info ::selection{background:#68c9e8;color:#fff}.jp-carousel-info ::-moz-selection{background:#68c9e8;color:#fff}.jp-carousel-info h2,div.jp-carousel-buttons a{color:#999;text-shadow:none!important;letter-spacing:0!important}.jp-carousel-photo-info{position:relative;right:25%;width:50%}.jp-carousel-transitions .jp-carousel-photo-info{transition:.4s ease-out}.jp-carousel-info h2{background:100% 0!important;border:none!important;display:block!important;font:400 13px/1.25em "Helvetica Neue",sans-serif!important;margin:7px 0 0!important;padding:10px 0 0!important;overflow:hidden;text-align:right;text-transform:none!important;-webkit-font-smoothing:subpixel-antialiased}.jp-carousel-next-button,.jp-carousel-previous-button{text-indent:-9999px;overflow:hidden;cursor:pointer}.jp-carousel-next-button span,.jp-carousel-previous-button span{position:absolute;top:0;bottom:0;width:82px;zoom:1;filter:alpha(opacity=20);opacity:.2}.jp-carousel-transitions .jp-carousel-next-button span,.jp-carousel-transitions .jp-carousel-previous-button span{transition:.5s opacity ease-out}.jp-carousel-next-button:hover span,.jp-carousel-previous-button:hover span{filter:alpha(opacity=60);opacity:.6}.jp-carousel-next-button span{background-position:-110px center;left:0}.jp-carousel-previous-button span{background-position:-10px center;right:0}.jp-carousel-buttons{margin:-18px -20px 15px;padding:8px 10px;border-bottom:1px solid #222;background:#222;text-align:center}div.jp-carousel-buttons a{border:none!important;font:400 11px/1.2em "Helvetica Neue",sans-serif!important;padding:5px 0 5px 2px;text-decoration:none!important;vertical-align:middle;-webkit-font-smoothing:subpixel-antialiased}div.jp-carousel-buttons a:hover{color:#68c9e8;border:none!important}.jp-carousel-transitions div.jp-carousel-buttons a:hover{transition:none!important}.jp-carousel-next-button,.jp-carousel-previous-button,.jp-carousel-slide,.jp-carousel-slide img{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0)}.jp-carousel-slide{position:fixed;width:0;bottom:0;background-color:#000;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px}.jp-carousel-slide.selected{position:absolute!important;filter:alpha(opacity=100);opacity:1}.jp-carousel-slide{filter:alpha(opacity=25);opacity:.25}.jp-carousel-slide img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;background:100% 0!important;border:none!important;padding:0!important;box-shadow:0 2px 8px rgba(0,0,0,.1);zoom:1}.jp-carousel-transitions .jp-carousel-slide{transition:opacity .4s linear}.jp-carousel-close-hint{color:#999;cursor:default;letter-spacing:0!important;padding:.35em 0 0;position:absolute;text-align:right;width:90%}.jp-carousel-transitions .jp-carousel-close-hint{transition:color .2s linear}.jp-carousel-close-hint span{cursor:pointer;background-color:#000;background-color:rgba(0,0,0,.8);display:block;height:22px;font:400 24px/1 "Helvetica Neue",sans-serif!important;line-height:22px;margin:0 .4em 0 0;text-align:center;vertical-align:middle;width:22px;border-radius:4px}.jp-carousel-transitions .jp-carousel-close-hint span{transition:border-color .2s linear}.jp-carousel-close-hint:hover{cursor:default;color:#fff}.jp-carousel-close-hint:hover span{border-color:#fff}a.jp-carousel-image-download,div.jp-carousel-buttons a.jp-carousel-commentlink,div.jp-carousel-buttons a.jp-carousel-reblog{background:url(../modules/carousel/images/carousel-sprite.png?5) no-repeat;background-size:16px 200px}div.jp-carousel-buttons a.jp-carousel-commentlink,div.jp-carousel-buttons a.jp-carousel-reblog{margin:0 0 0 14px!important}div.jp-carousel-buttons a.jp-carousel-reblog.reblogged{background-color:#303030;padding-left:8px!important;border-radius:2px;-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;-o-border-radius:2px;margin:0 -12px 0 2px!important}div.jp-carousel-buttons a.jp-carousel-reblog,div.jp-carousel-buttons a.jp-carousel-reblog.reblogged:hover{background-position:6px -36px;padding-left:auto!important;padding-right:26px!important;color:#999}div.jp-carousel-buttons a.jp-carousel-commentlink{background-position:100% -156px;padding-right:19px!important}div.jp-carousel-buttons a.jp-carousel-reblog.reblogged:hover{cursor:default}div.jp-carousel-buttons a.jp-carousel-reblog:hover{background-position:6px -56px;color:#68c9e8}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){a.jp-carousel-image-download,div.jp-carousel-buttons a.jp-carousel-commentlink,div.jp-carousel-buttons a.jp-carousel-reblog{background-image:url(../modules/carousel/images/carousel-sprite-2x.png?5)}}div#carousel-reblog-box{background:#222;background:-moz-linear-gradient(bottom,#222,#333);background:-webkit-gradient(linear,right bottom,right top,from(#222),to(#333));padding:3px 0 0;display:none;margin:5px auto 0;border-radius:2px;box-shadow:0 0 20px rgba(0,0,0,.9);height:74px;width:565px}#carousel-reblog-box textarea{background:#999;font:13px/1.4 "Helvetica Neue",sans-serif!important;color:#444;padding:3px 6px;width:370px;height:48px;float:right;margin:6px 9px 0;border:1px solid #666;box-shadow:inset -2px 2px 2px rgba(0,0,0,.2);border-radius:2px}#carousel-reblog-box textarea:focus{background:#ccc;color:#222}#carousel-reblog-box label{color:#aaa;font-size:11px;padding-left:2px;padding-right:2px;display:inline;font-weight:400}#carousel-reblog-box select{width:110px;padding:0;font-size:12px;font-family:"Helvetica Neue",sans-serif!important;background:#333;color:#eee;border:1px solid #444;margin-top:5px}#carousel-reblog-box .submit,#wrapper #carousel-reblog-box p.response{float:right;width:154px;padding-top:0;padding-right:1px;overflow:hidden;height:34px;margin:3px 2px 0 0!important}#wrapper #carousel-reblog-box p.response{font-size:13px;clear:none;padding-right:2px;height:34px;color:#aaa}#carousel-reblog-box input#carousel-reblog-submit,#jp-carousel-comment-form-button-submit{font:13px/24px "Helvetica Neue",sans-serif!important;margin-top:8px;padding:0 10px!important;border-radius:1em;height:24px;color:#333;cursor:pointer;font-weight:400;background:#aaa;background:-moz-linear-gradient(bottom,#aaa,#ccc);background:-webkit-gradient(linear,right bottom,right top,from(#aaa),to(#ccc));border:1px solid #444}#carousel-reblog-box input#carousel-reblog-submit:hover,#jp-carousel-comment-form-button-submit:hover{background:#ccc;background:-moz-linear-gradient(bottom,#ccc,#eee);background:-webkit-gradient(linear,right bottom,right top,from(#ccc),to(#eee))}#carousel-reblog-box .canceltext{color:#aaa;font-size:11px;line-height:24px}#carousel-reblog-box .canceltext a{color:#fff}.jp-carousel-titleanddesc{border-top:1px solid #222;color:#999;font-size:15px;padding-top:24px;margin-bottom:20px;font-weight:400}.jp-carousel-titleanddesc-title{font:300 1.5em/1.1 "Helvetica Neue",sans-serif!important;text-transform:none!important;color:#fff;margin:0 0 15px;padding:0}.jp-carousel-titleanddesc-desc p{color:#999;line-height:1.4;margin-bottom:.75em}.jp-carousel-comments p a,.jp-carousel-info h2 a,.jp-carousel-titleanddesc p a{color:#fff!important;border:none!important;text-decoration:underline!important;font-weight:400!important;font-style:normal!important}.jp-carousel-titleanddesc p b,.jp-carousel-titleanddesc p strong{font-weight:700;color:#999}.jp-carousel-titleanddesc p em,.jp-carousel-titleanddesc p i{font-style:italic;color:#999}.jp-carousel-comments p a:hover,.jp-carousel-info h2 a:hover,.jp-carousel-titleanddesc p a:hover{color:#68c9e8!important}.jp-carousel-titleanddesc p:empty{display:none}.jp-carousel-left-column-wrapper h1:after,.jp-carousel-left-column-wrapper h1:before,.jp-carousel-photo-info h1:after,.jp-carousel-photo-info h1:before{content:none!important}.jp-carousel-image-meta{background:#111;border:1px solid #222;color:#fff;font:12px/1.4 "Helvetica Neue",sans-serif!important;overflow:hidden;padding:18px 20px;width:209px!important}.jp-carousel-image-meta h5,.jp-carousel-image-meta li{font-family:"Helvetica Neue",sans-serif!important;position:inherit!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;background:100% 0!important;border:none!important;font-weight:400!important;line-height:1.3em!important}.jp-carousel-image-meta ul{margin:0!important;padding:0!important;list-style:none!important}.jp-carousel-image-meta li{width:48%!important;float:right!important;margin:0 0 15px 2%!important;color:#fff!important;font-size:13px!important}.jp-carousel-image-meta h5{color:#999!important;text-transform:uppercase!important;font-size:10px!important;margin:0 0 2px!important;letter-spacing:.1em!important}a.jp-carousel-image-download{padding-right:23px;display:inline-block;clear:both;color:#999;line-height:1;font-weight:400;font-size:13px;text-decoration:none;background-position:100% -82px}a.jp-carousel-image-download span.photo-size{font-size:11px;border-radius:1em;margin-right:2px;display:inline-block}a.jp-carousel-image-download span.photo-size-times{padding:0 2px 0 1px}a.jp-carousel-image-download:hover{background-position:100% -122px;color:#68c9e8;border:none!important}.jp-carousel-image-map{position:relative;margin:-20px -20px 20px;border-bottom:1px solid rgba(255,255,255,.17);height:154px}.jp-carousel-image-map img.gmap-main{border-top-right-radius:6px;border-left:1px solid rgba(255,255,255,.17)}.jp-carousel-image-map div.gmap-topright{width:94px;height:154px;position:absolute;top:0;left:0}.jp-carousel-image-map div.imgclip{overflow:hidden;border-top-left-radius:6px}.jp-carousel-image-map div.gmap-topright img{margin-right:-40px}.jp-carousel-image-map img.gmap-bottomright{position:absolute;top:96px;left:0}.jp-carousel-comments{font:15px/1.7 "Helvetica Neue",sans-serif!important;font-weight:400;background:none}.jp-carousel-comments p a:active,.jp-carousel-comments p a:focus,.jp-carousel-comments p a:hover{color:#68c9e8!important}.jp-carousel-comment{background:none;color:#999;margin-bottom:20px;clear:right;overflow:auto;width:100%}.jp-carousel-comment p{color:#999!important}.jp-carousel-comment .comment-author{font-size:13px;font-weight:400;padding:0;width:auto;display:inline;float:none;border:none;margin:0}.jp-carousel-comment .comment-author a{color:#fff}.jp-carousel-comment .comment-gravatar{float:right}.jp-carousel-comment .comment-content{border:none;margin-right:85px;padding:0}.jp-carousel-comment .avatar{margin:0 0 0 20px;border-radius:4px;border:none!important;padding:0!important;background-color:transparent!important}.jp-carousel-comment .comment-date{color:#999;margin-top:4px;font-size:11px;display:inline;float:left}#jp-carousel-comment-form{margin:0 0 10px!important;float:right;width:100%}textarea#jp-carousel-comment-form-comment-field{background:rgba(34,34,34,.9);border:1px solid #3a3a3a;color:#aaa;font:15px/1.4 "Helvetica Neue",sans-serif!important;width:100%;padding:10px 10px 5px;margin:0;float:none;height:147px;box-shadow:inset -2px 2px 2px rgba(0,0,0,.2);border-radius:3px;overflow:hidden;box-sizing:border-box}textarea#jp-carousel-comment-form-comment-field::-webkit-input-placeholder{color:#555}#jp-carousel-comment-form-commenting-as input:focus,textarea#jp-carousel-comment-form-comment-field:focus{background:#ccc;color:#222}textarea#jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder{color:#aaa}#jp-carousel-comment-form-spinner{color:#fff;margin:22px 10px 0 0;display:block;width:20px;height:20px;float:right}#jp-carousel-comment-form-submit-and-info-wrapper{display:none;overflow:hidden;width:100%}#jp-carousel-comment-form-commenting-as input{background:rgba(34,34,34,.9);border:1px solid #3a3a3a;color:#aaa;font:13px/1.4 "Helvetica Neue",sans-serif!important;padding:3px 6px;float:right;box-shadow:inset -2px 2px 2px rgba(0,0,0,.2);border-radius:2px;width:285px}#jp-carousel-comment-form-commenting-as p{font:400 13px/1.7 "Helvetica Neue",sans-serif!important;margin:22px 0 0;float:right}#jp-carousel-comment-form-commenting-as fieldset{float:right;border:none;margin:20px 0 0;padding:0;clear:both}#jp-carousel-comment-form-commenting-as label{font:400 13px/1.7 "Helvetica Neue",sans-serif!important;margin:0 0 3px 20px;float:right;width:100px}#jp-carousel-comment-form-button-submit{margin-top:20px;float:left}#jp-carousel-comment-form-container,#js-carousel-comment-form-container{margin-bottom:15px;overflow:auto;width:100%}#jp-carousel-comment-post-results{display:none;overflow:auto;width:100%}#jp-carousel-comment-post-results span{display:block;text-align:center;margin-top:20px;width:100%;overflow:auto;padding:1em 0;box-sizing:border-box;background:rgba(0,0,0,.7);border-radius:2px;font:13px/1.4 "Helvetica Neue",sans-serif!important;border:1px solid rgba(255,255,255,.17);box-shadow:inset 0 0 5px 5px rgba(0,0,0,1)}.jp-carousel-comment-post-error{color:#DF4926}#jp-carousel-comments-closed{display:none;color:#999}#jp-carousel-comments-loading{font:400 15px/1.7 "Helvetica Neue",sans-serif!important;display:none;color:#999;text-align:right;margin-bottom:20px}.jp-carousel-light .jp-carousel-overlay{background:#fff}.jp-carousel-light .jp-carousel-next-button:hover span,.jp-carousel-light .jp-carousel-previous-button:hover span{opacity:.8}.jp-carousel-light .jp-carousel-close-hint:hover,.jp-carousel-light .jp-carousel-titleanddesc div{color:#000!important}.jp-carousel-light .jp-carousel-comment .comment-author a,.jp-carousel-light .jp-carousel-comments p a,.jp-carousel-light .jp-carousel-info h2 a,.jp-carousel-light .jp-carousel-titleanddesc p a{color:#1e8cbe!important}.jp-carousel-light .jp-carousel-comment .comment-author a:hover,.jp-carousel-light .jp-carousel-comments p a:hover,.jp-carousel-light .jp-carousel-info h2 a:hover,.jp-carousel-light .jp-carousel-titleanddesc p a:hover{color:#f1831e!important}.jp-carousel-light .jp-carousel-comment,.jp-carousel-light .jp-carousel-comment p,.jp-carousel-light .jp-carousel-info h2,.jp-carousel-light .jp-carousel-titleanddesc,.jp-carousel-light .jp-carousel-titleanddesc p,.jp-carousel-light .jp-carousel-titleanddesc p b,.jp-carousel-light .jp-carousel-titleanddesc p em,.jp-carousel-light .jp-carousel-titleanddesc p i,.jp-carousel-light .jp-carousel-titleanddesc p strong,.jp-carousel-light div.jp-carousel-buttons a{color:#666}.jp-carousel-light .jp-carousel-buttons{border-bottom-color:#f0f0f0;background:#f5f5f5}.jp-carousel-light div.jp-carousel-buttons a:hover{text-decoration:none;color:#f1831e}.jp-carousel-light div.jp-carousel-buttons a.jp-carousel-reblog,.jp-carousel-light div.jp-carousel-buttons a.jp-carousel-reblog:hover{background-position:4px -56px;padding-right:24px!important}.jp-carousel-light div.jp-carousel-buttons a.jp-carousel-commentlink{background-position:100% -176px}.jp-carousel-light div.jp-carousel-buttons a.jp-carousel-reblog.reblogged{background-color:#2ea2cc;color:#fff;background-position:5px -36px}.jp-carousel-light div#carousel-reblog-box{background:#eee;background:-moz-linear-gradient(bottom,#ececec,#f7f7f7);background:-webkit-gradient(linear,right bottom,right top,from(#ececec),to(#f7f7f7));box-shadow:0 2px 10px rgba(0,0,0,.1);border:1px solid #ddd}.jp-carousel-light #jp-carousel-comment-form-commenting-as input,.jp-carousel-light textarea#jp-carousel-comment-form-comment-field{box-shadow:inset -2px 2px 2px rgba(0,0,0,.1);border:1px solid #dfdfdf;background:#fbfbfb;color:#333}.jp-carousel-light #carousel-reblog-box textarea{color:#666;border:1px solid #cfcfcf;background:#fff}.jp-carousel-light #carousel-reblog-box .canceltext{color:#888}.jp-carousel-light #carousel-reblog-box .canceltext a{color:#666}.jp-carousel-light #carousel-reblog-box select{background:#eee;color:#333;border:1px solid #aaa}#jp-carousel-comment-form-button-submit,.jp-carousel-light #carousel-reblog-box input#carousel-reblog-submit{color:#333;background:#fff;background:-moz-linear-gradient(bottom,#ddd,#fff);background:-webkit-gradient(linear,right bottom,right top,from(#ddd),to(#fff));border:1px solid #aaa}.jp-carousel-light .jp-carousel-image-meta{background:#fafafa;border:1px solid #eee;border-top-color:#f5f5f5;border-right-color:#f5f5f5;color:#333}.jp-carousel-light .jp-carousel-image-meta li{color:#000!important}.jp-carousel-light .jp-carousel-close-hint{color:#ccc}.jp-carousel-light .jp-carousel-close-hint span{background-color:#fff;border-color:#ccc}.jp-carousel-light #jp-carousel-comment-form-comment-field::-webkit-input-placeholder{color:#aaa}.jp-carousel-light #jp-carousel-comment-form-comment-field:focus{color:#333}.jp-carousel-light #jp-carousel-comment-form-comment-field:focus::-webkit-input-placeholder{color:#ddd}.jp-carousel-light a.jp-carousel-image-download{background-position:100% -122px}.jp-carousel-light a.jp-carousel-image-download:hover{background-position:100% -122px;color:#f1831e}.jp-carousel-light #jp-carousel-comment-form-commenting-as input:focus{background:#fbfbfb;color:#333}.jp-carousel-light #jp-carousel-comment-post-results span{background:#f7f7f7;border:1px solid #dfdfdf;box-shadow:inset 0 0 5px rgba(0,0,0,.05)}.jp-carousel-light .jp-carousel-slide{background-color:#fff}.jp-carousel-light .jp-carousel-titleanddesc{border-top:1px solid #eee}.jp-carousel-light .jp-carousel-fadeaway{background:-moz-linear-gradient(bottom,rgba(255,255,255,.75),rgba(255,255,255,0));background:-webkit-gradient(linear,right bottom,right top,from(rgba(255,255,255,.75)),to(rgba(255,255,255,0)))}@media only screen and (max-width:760px){.jp-carousel-info{margin:0 10px!important}.jp-carousel-buttons,.jp-carousel-next-button,.jp-carousel-previous-button{display:none!important}.jp-carousel-image-meta{float:none!important;width:100%!important;box-sizing:border-box}.jp-carousel-close-hint{font-weight:800!important;font-size:26px!important;position:fixed!important;top:-10px}.jp-carousel-slide img{filter:alpha(opacity=100);opacity:1}.jp-carousel-wrap{background-color:#000}.jp-carousel-fadeaway{display:none}#jp-carousel-comment-form-container{display:none!important}.jp-carousel-titleanddesc{padding-top:0!important;border:none!important}.jp-carousel-titleanddesc-title{font-size:1em!important}.jp-carousel-left-column-wrapper{padding:0;width:100%!important}.jp-carousel-photo-info{right:0!important;width:100%!important}}
|
5 |
+
.contact-form .clear-form{clear:both}.contact-form input[type=text],.contact-form input[type=email]{width:300px;max-width:98%;margin-bottom:13px}.contact-form select{margin-bottom:13px}.contact-form textarea{height:200px;width:80%;float:none;margin-bottom:13px}.contact-form input[type=radio],.contact-form input[type=checkbox]{float:none;margin-bottom:13px}.contact-form label{margin-bottom:3px;float:none;font-weight:700;display:block}.contact-form label.checkbox,.contact-form label.radio{margin-bottom:3px;float:none;font-weight:700;display:inline-block}.contact-form label span{color:#AAA;margin-right:4px;font-weight:400}.contact-form-submission{margin-bottom:4em;padding:1.5em 1em}.contact-form-submission p{margin:0 auto}.form-errors .form-error-message{color:red}.textwidget .contact-form input[type=text],.textwidget .contact-form input[type=email],.textwidget .contact-form textarea{width:250px;max-width:100%;box-sizing:border-box}#jetpack-check-feedback-spam{margin:1px 0 0 8px}.jetpack-check-feedback-spam-spinner{display:inline-block;margin-top:7px}
|
6 |
+
.infinite-loader{color:#000;display:block;height:28px;text-indent:-9999px}#infinite-handle span{background:#333;border-radius:1px;color:#eee;cursor:pointer;font-size:13px;padding:6px 16px}#infinite-handle span button,#infinite-handle span button:focus,#infinite-handle span button:hover{display:inline;position:static;padding:0;margin:0;border:none;line-height:inherit;background:100% 0;color:inherit;cursor:inherit;font-size:inherit;font-weight:inherit;font-family:inherit}#infinite-handle span button::-moz-focus-inner{margin:0;padding:0;border:none}@media (max-width:800px){#infinite-handle span:before{display:none}#infinite-handle span{display:block}}#infinite-footer{position:fixed;bottom:-50px;right:0;width:100%}#infinite-footer a{text-decoration:none}#infinite-footer .blog-credits a:hover,#infinite-footer .blog-info a:hover{color:#444;text-decoration:underline}#infinite-footer .container{background:rgba(255,255,255,.8);border-color:#ccc;border-color:rgba(0,0,0,.1);border-style:solid;border-width:1px 0 0;box-sizing:border-box;margin:0 auto;overflow:hidden;padding:1px 20px;width:780px}#infinite-footer .blog-credits,#infinite-footer .blog-info{box-sizing:border-box;line-height:25px}#infinite-footer .blog-info{float:right;overflow:hidden;text-align:right;text-overflow:ellipsis;white-space:nowrap;width:40%}#infinite-footer .blog-credits{font-weight:400;float:left;width:60%}#infinite-footer .blog-info a{color:#111;font-size:14px;font-weight:700}#infinite-footer .blog-credits{color:#888;font-size:12px;text-align:left}#infinite-footer .blog-credits a{color:#666}.infinity-end.neverending #infinite-footer{display:none}@media (max-width:640px){#infinite-footer .container{box-sizing:border-box;width:100%}#infinite-footer .blog-info{width:30%}#infinite-footer .blog-credits{width:70%}#infinite-footer .blog-credits,#infinite-footer .blog-info a{font-size:10px}#infinite-footer{position:static}}
|
7 |
+
#likes-other-gravatars li::before,div.sharedaddy h3.sd-title:before{content:""}#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{margin:0 0 1em;display:inline-block;line-height:1.2;font-size:9pt;font-weight:700}div.sharedaddy h3.sd-title:before{display:block;width:100%;min-width:30px;border-top:1px solid #ddd;margin-bottom:1em}#wpadminbar li#wp-admin-bar-admin-bar-likes-widget{width:61px;overflow:hidden}#wpadminbar iframe.admin-bar-likes-widget{width:61px;height:28px;min-height:28px;border-width:0;position:absolute;top:0}div.jetpack-likes-widget-wrapper{width:100%;min-height:50px;position:relative}div.jetpack-likes-widget-wrapper .sd-link-color{font-size:12px}div.jetpack-likes-widget-wrapper.slim-likes-widget{width:1px;min-height:0}#likes-other-gravatars{display:none;position:absolute;padding:10px 10px 12px;background-color:#2e4453;border-width:0;box-shadow:0 0 10px #2e4453;box-shadow:0 0 10px rgba(46,68,83,.6);min-width:130px;z-index:1000}#likes-other-gravatars *{line-height:normal}#likes-other-gravatars .likes-text{color:#fff;font-size:12px;padding-bottom:8px}#likes-other-gravatars li,#likes-other-gravatars ul{margin:0;padding:0;text-indent:0;list-style-type:none}#likes-other-gravatars ul.wpl-avatars{overflow:auto;display:block;max-height:190px}#likes-other-gravatars ul.wpl-avatars li{width:32px;height:32px;float:right;margin:0 0 5px 5px}#likes-other-gravatars ul.wpl-avatars li a{margin:0 0 0 2px;border-bottom:none!important;display:block}#likes-other-gravatars ul.wpl-avatars li a img{background:100% 0;border:none;margin:0!important;padding:0!important;position:static}div.sd-box{border-top:1px solid #ddd;border-top:1px solid rgba(0,0,0,.13)}.comment-likes-widget,.entry-content .post-likes-widget,.post-likes-widget{margin:0;border-width:0;display:block}.post-likes-widget-placeholder .button,div.sharedaddy.sd-like-enabled .sd-like h3{display:none}.post-likes-widget-placeholder{margin:0;border-width:0;position:relative}.post-likes-widget-placeholder .loading{color:#999;font-size:12px}.slim-likes-widget .post-likes-widget{width:auto;float:none}div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget{width:100%;float:none;position:absolute;top:0}.comment-likes-widget{width:100%}.pd-rating{display:block!important}.sd-gplus .sd-title{display:none}
|
8 |
+
#jp-relatedposts,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs{position:relative}#jp-relatedposts{display:none;padding-top:1em;margin:1em 0;clear:both}.jp-relatedposts:after{content:'';display:block;clear:both}#jp-relatedposts h3.jp-relatedposts-headline{margin:0 0 1em;display:inline-block;float:right;font-size:9pt;font-weight:700;font-family:inherit}#jp-relatedposts h3.jp-relatedposts-headline em:before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid #ddd;border-top:1px solid rgba(0,0,0,.2);margin-bottom:1em}#jp-relatedposts h3.jp-relatedposts-headline em{font-style:normal;font-weight:700}#jp-relatedposts .jp-relatedposts-items{clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:-20px}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{float:right;width:33%;margin:0 0 1em;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post{padding-left:20px;filter:alpha(opacity=80);-moz-opacity:.8;opacity:.8}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n+4),#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post:nth-child(3n+4){clear:both}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover{filter:alpha(opacity=100);-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items p,#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{font-size:14px;line-height:20px;margin:0}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs a.jp-relatedposts-post-aoverlay{position:absolute;top:0;bottom:0;right:0;left:0;display:block;border-bottom:0}#jp-relatedposts .jp-relatedposts-items p{margin-bottom:0}#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title{text-transform:none;margin:0;font-family:inherit;display:block;max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{font-size:inherit;font-weight:400;text-decoration:none;filter:alpha(opacity=100);-moz-opacity:1;opacity:1}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover{text-decoration:underline}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post span{display:block;max-width:90%;overflow:hidden;text-overflow:ellipsis}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img,#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post span{max-width:100%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-context,#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{opacity:.6}#jp-relatedposts .jp-relatedposts-items-visual div.jp-relatedposts-post-thumbs p.jp-relatedposts-post-excerpt,.jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-date{display:none}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs p.jp-relatedposts-post-excerpt{overflow:hidden}#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post-nothumbs span{margin-bottom:1em}@media only screen and (max-width:640px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:50%}#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:nth-child(3n){clear:right}#jp-relatedposts .jp-relatedposts-items-visual{margin-left:20px}}@media only screen and (max-width:320px){#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post{width:100%;clear:both;margin:0 0 1em}}
|
9 |
+
#jp-post-flair{padding-top:.5em}#content div.sharedaddy,#main div.sharedaddy,div.sharedaddy{clear:both}div.sharedaddy h3.sd-title{margin:0 0 1em;display:inline-block;line-height:1.2;font-size:9pt;font-weight:700}div.sharedaddy h3.sd-title:before{content:"";display:block;width:100%;min-width:30px;border-top:1px solid #ddd;margin-bottom:1em}body.highlander-light h3.sd-title:before{border-top:1px solid rgba(0,0,0,.2)}body.highlander-dark h3.sd-title:before{border-top:1px solid rgba(255,255,255,.4)}.sd-content ul{padding:0!important;margin:0 0 .7em!important;list-style:none!important}.sd-block.sd-gplus{margin:0 0 .5em}.sd-gplus .sd-content{font-size:12px}#sharing_email .sharing_send,.sd-content ul li .option a.share-ustom,.sd-content ul li a.sd-button,.sd-content ul li.advanced a.share-more,.sd-content ul li.preview-item div.option.option-smart-off a,.sd-social-icon .sd-content ul li a.sd-button,.sd-social-icon-text .sd-content ul li a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button,.sd-social-text .sd-content ul li a.sd-button{text-decoration:none!important;display:inline-block;font-size:12px;font-family:"Open Sans",sans-serif;font-weight:400;border-radius:3px;color:#777!important;background:#f8f8f8;border:1px solid #ccc;box-shadow:0 1px 0 rgba(0,0,0,.08);text-shadow:none;line-height:23px;padding:1px 5px 0 8px}.sd-content ul li .option a.share-ustom span,.sd-content ul li a.sd-button>span,.sd-content ul li.advanced a.share-more span,.sd-content ul li.preview-item div.option.option-smart-off a span,.sd-social-icon-text .sd-content ul li a.sd-button>span,.sd-social-official .sd-content>ul>li .digg_button>a span,.sd-social-official .sd-content>ul>li>a.sd-button span,.sd-social-text .sd-content ul li a.sd-button span{line-height:23px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button,.sd-social-official .sd-content>ul>li .digg_button>a,.sd-social-official .sd-content>ul>li>a.sd-button{line-height:17px;box-shadow:none;vertical-align:top}.sd-social-official .sd-content ul li a.sd-button>span{line-height:17px}.sd-social-official .sd-content .sharing-hidden .inner>ul>li .digg_button>a:before,.sd-social-official .sd-content .sharing-hidden .inner>ul>li>a.sd-button:before,.sd-social-official .sd-content>ul>li .digg_button>a:before,.sd-social-official .sd-content>ul>li>a.sd-button:before{margin-bottom:-1px}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon .sd-content ul li a.sd-button:hover,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:hover,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li .digg_button>a:hover,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-official .sd-content>ul>li>a.sd-button:hover,.sd-social-text .sd-content ul li a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:hover{color:#555;background:#fafafa;border:1px solid #999}.sd-social-icon .sd-content ul li a.sd-button:active,.sd-social-icon-text .sd-content ul li a.sd-button:active,.sd-social-official .sd-content>ul>li .digg_button>a:active,.sd-social-official .sd-content>ul>li>a.sd-button:active,.sd-social-text .sd-content ul li a.sd-button:active{box-shadow:inset 0 1px 0 rgba(0,0,0,.16)}.sd-content ul li a.sd-button:before{display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font:400 18px/1 social-logos;vertical-align:top;text-align:center}.googleplus1_button .g-plus,.sd-social-official .fb-share-button>span{vertical-align:top!important}.sd-social-icon-text ul li a.sd-button:before{position:relative;top:2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-content ul li a.sd-button:before{position:relative;top:2px}}.sd-social-official ul li a.sd-button:before{position:relative;top:-2px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-official ul li a.sd-button:before{top:0}}.sd-content ul li{display:inline-block;margin:0 0 5px 5px;padding:0}.sd-content ul li.preview-item a.sd-button span,.sd-social-icon-text .sd-content ul li a span,.sd-social-official .sd-content ul li a.sd-button span{margin-right:3px}.sd-content ul li.preview-item.no-icon a.sd-button span{margin-right:0}.sd-content ul li.no-icon a:before,.sd-social-text .sd-content ul li a:before{display:none}body .sd-content ul li.share-custom.no-icon a span,body .sd-social-text .sd-content ul li.share-custom a span{background-image:none;background-position:-500px -500px!important;background-repeat:no-repeat!important;padding-right:0;height:0;line-height:inherit}.sd-social-icon .sd-content ul li a.share-more{position:relative;top:-4px}@media screen and (-webkit-min-device-pixel-ratio:0){.sd-social-icon .sd-content ul li a.share-more{top:2px}}@-moz-document url-prefix(){.sd-social-icon .sd-content ul li a.share-more{top:2px}}.sd-social-icon .sd-content ul li a.share-more span{margin-right:3px}.sd-content ul li.share-print div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-print a:before,.sd-social-icon-text .sd-content li.share-print a:before,.sd-social-official .sd-content li.share-print a:before,.sd-social-text .sd-content ul li.share-print a:before{content:'\f469'}.sd-content ul li.share-email div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-email a:before,.sd-social-icon-text .sd-content li.share-email a:before,.sd-social-official .sd-content li.share-email a:before,.sd-social-text .sd-content ul li.share-email a:before{content:'\f410'}.sd-content ul li.share-linkedin div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-linkedin a:before,.sd-social-icon-text .sd-content li.share-linkedin a:before,.sd-social-text .sd-content ul li.share-linkedin a:before{content:'\f207'}.sd-content ul li.share-twitter div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-twitter a:before,.sd-social-icon-text .sd-content li.share-twitter a:before,.sd-social-text .sd-content ul li.share-twitter a:before{content:'\f202'}.sd-content ul li.share-reddit div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-reddit a:before,.sd-social-icon-text .sd-content li.share-reddit a:before,.sd-social-text .sd-content ul li.share-reddit a:before{content:'\f222'}.sd-content ul li.share-tumblr div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-tumblr a:before,.sd-social-icon-text .sd-content li.share-tumblr a:before,.sd-social-text .sd-content ul li.share-tumblr a:before{content:'\f607'}.sd-content ul li.share-pocket div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pocket a:before,.sd-social-icon-text .sd-content li.share-pocket a:before,.sd-social-text .sd-content ul li.share-pocket a:before{content:'\f224'}.sd-content ul li.share-pinterest div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-pinterest a:before,.sd-social-icon-text .sd-content li.share-pinterest a:before,.sd-social-text .sd-content ul li.share-pinterest a:before{content:'\f210'}.sd-content ul li.share-google-plus-1 div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-google-plus-1 a:before,.sd-social-icon-text .sd-content li.share-google-plus-1 a:before,.sd-social-text .sd-content ul li.share-google-plus-1 a:before{content:'\f218'}.sd-content ul li.share-facebook div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-facebook a:before,.sd-social-icon-text .sd-content li.share-facebook a:before,.sd-social-text .sd-content ul li.share-facebook a:before{content:'\f203'}.sd-content ul li.share-press-this div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-press-this a:before,.sd-social-icon-text .sd-content li.share-press-this a:before,.sd-social-official .sd-content li.share-press-this a:before,.sd-social-text .sd-content ul li.share-press-this a:before{content:'\f205'}.sd-social-official .sd-content li.share-press-this a:before{color:#2ba1cb}.sd-content ul li.share-telegram div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-telegram a:before,.sd-social-icon-text .sd-content li.share-telegram a:before,.sd-social-official .sd-content li.share-telegram a:before,.sd-social-text .sd-content ul li.share-telegram a:before{content:'\f606'}.sd-social-official .sd-content li.share-telegram a:before{color:#08c}.sd-content ul li.share-skype div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-skype a:before,.sd-social-icon-text .sd-content li.share-skype a:before,.sd-social-text .sd-content ul li.share-skype a:before{content:'\f220'}.sd-content ul li.advanced a.share-more:before,.sd-social-icon .sd-content ul a.share-more:before,.sd-social-icon-text .sd-content a.share-more:before,.sd-social-official .sd-content a.share-more:before,.sd-social-text .sd-content ul a.share-more:before{content:'\f415'}.sd-social-official .sd-content a.share-more:before{color:#2ba1cb}.sd-content ul li.share-jetpack-whatsapp div.option.option-smart-off a:before,.sd-social-icon .sd-content ul li.share-jetpack-whatsapp a:before,.sd-social-icon-text .sd-content li.share-jetpack-whatsapp a:before,.sd-social-official .sd-content li.share-jetpack-whatsapp a:before,.sd-social-text .sd-content ul li.share-jetpack-whatsapp a:before{content:'\f608'}.sd-social-official .sd-content li.share-jetpack-whatsapp a:before{color:#43d854}.sd-social-icon .sd-content ul li[class*=share-].share-jetpack-whatsapp a.sd-button{background:#43d854;color:#fff!important}.sd-social .sd-button .share-count{background:#2ea2cc;color:#fff;border-radius:10px;display:inline-block;text-align:center;font-size:10px;padding:1px 3px;line-height:1}.sd-social-official .sd-content ul,.sd-social-official .sd-content ul li{line-height:25px!important}.sd-social-official .sd-content>ul>li>a.sd-button span{line-height:1}.sd-social-official .sd-content ul:after{content:".";display:block;height:0;clear:both;visibility:hidden}.sd-social-official .sd-content li.share-press-this a{margin:0 0 5px}.sd-social-official .sd-content ul>li{display:block;float:right;margin:0 0 5px 10px!important;height:25px}.sd-social-official .sd-content .pocket_button iframe{width:98px}.reddit_button iframe{margin-top:1px}.googleplus1_button iframe,.linkedin_button>span,.pinterest_button,.pocket_button iframe,.twitter_button{margin:0!important}.sd-social-official .sd-content .share-skype{width:55px}body .sd-social-official li a.share-more,body .sd-social-official li.share-custom a,body .sd-social-official li.share-digg a,body .sd-social-official li.share-email a,body .sd-social-official li.share-press-this a,body .sd-social-official li.share-print{position:relative;top:0}body .sd-social-icon .sd-content li.share-custom>a{padding:2px 3px 0;position:relative;top:4px}body .sd-content ul li.share-custom a.share-icon span,body .sd-social-icon .sd-content li.share-custom a span,body .sd-social-icon-text .sd-content li.share-custom a span,body .sd-social-official .sd-content li.share-custom a span,body .sd-social-text .sd-content li.share-custom a span{background-size:16px 16px;background-repeat:no-repeat;margin-right:0;padding:0 19px 0 0;display:inline-block;height:16px;line-height:16px}body .sd-social-icon .sd-content li.share-custom a span{width:0;padding-right:16px!important}.sharing-hidden .inner{position:absolute;z-index:2;border:1px solid #ccc;padding:10px;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.2);border-radius:2px;margin-top:5px;max-width:400px}.sharing-hidden .inner ul{margin:0!important}.sd-social-official .sd-content .sharing-hidden ul>li.share-end{clear:both;margin:0!important;height:0!important}.sharing-hidden .inner:after,.sharing-hidden .inner:before{position:absolute;z-index:1;top:-8px;right:20px;width:0;height:0;border-right:6px solid transparent;border-left:6px solid transparent;border-bottom:8px solid #ccc;content:"";display:block}.sharing-hidden .inner:after{z-index:2;top:-7px;border-right:6px solid transparent;border-left:6px solid transparent;border-bottom:8px solid #fff}.sharing-hidden ul{margin:0}.sd-social-icon .sd-content ul li[class*=share-] a,.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a{border-radius:50%;-webkit-border-radius:50%;border:0;box-shadow:none;padding:7px;position:relative;top:-2px;line-height:1;width:auto;height:auto;margin-bottom:0}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button>span,.sd-social-icon .sd-content ul li[class*=share-] div.option a span{line-height:1}.sd-social-icon .sd-content ul li[class*=share-] a:hover,.sd-social-icon .sd-content ul li[class*=share-] div.option a:hover{border:none;opacity:.6}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button:before{top:1px;top:0\9}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button.share-custom{padding:8px 8px 6px;top:5px}.sd-social-icon .sd-content ul li a.sd-button.share-more{margin-right:10px}.sd-social-icon .sd-content ul li:first-child a.sd-button.share-more{margin-right:0}.sd-social-icon .sd-button span.share-count{position:absolute;bottom:0;left:0;border-radius:0;background:#555;font-size:9px}.sd-social-icon .sd-content ul li[class*=share-] a.sd-button{background:#e9e9e9;margin-top:2px;text-indent:0}.sd-social-icon .sd-content ul li[class*=share-].share-tumblr a.sd-button{background:#2c4762;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-facebook a.sd-button{background:#3b5998;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-twitter a.sd-button{background:#00acee;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pinterest a.sd-button{background:#ca1f27;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-digg a.sd-button{color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-press-this a.sd-button{background:#1e8cbe;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-telegram a.sd-button{background:#08c;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-linkedin a.sd-button{background:#0077b5;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-google-plus-1 a.sd-button{background:#dd4b39;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-pocket a.sd-button{background:#ee4056;color:#fff!important}.sd-social-icon .sd-content ul li[class*=share-].share-reddit a.sd-button{background:#cee3f8;color:#555!important}.sd-social-icon .sd-content ul li[class*=share-].share-skype a.sd-button{background:#00AFF0;color:#fff!important}.sharing-screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.sharing-screen-reader-text:active,.sharing-screen-reader-text:focus,.sharing-screen-reader-text:hover{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}#sharing_email{width:342px;position:absolute;z-index:1001;border:1px solid #ccc;padding:15px;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.2);text-align:right}div.sharedaddy.sharedaddy-dark #sharing_email{border-color:#fff}#sharing_email .errors{color:#fff;background-color:#771a09;font-size:12px;padding:5px 8px;line-height:1;margin:10px 0 0}#sharing_email label{font-size:12px;color:#333;font-weight:700;display:block;padding:0 0 4px;text-align:right;text-shadow:none}#sharing_email form{margin:0}#sharing_email input[type=text],#sharing_email input[type=email]{width:100%;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;border:1px solid #ccc;margin-bottom:1em;background:#fff;font-size:12px;color:#333;max-width:none;padding:1px 3px}#jetpack-source_f_name{display:none!important;position:absolute!important;right:-9000px}#sharing_email .sharing_cancel{padding:0 1em 0 0;font-size:12px;text-shadow:none}#sharing_email .recaptcha{width:312px;height:123px;margin:0 0 1em}
|
10 |
+
.slideshow-loading img,.slideshow-slide img{vertical-align:middle}.slideshow-window{background-color:#222;border:20px solid #222;border-radius:10px;height:0;margin-bottom:20px;overflow:hidden;padding-top:30px!important;padding-bottom:56.25%!important;position:relative;z-index:1}.slideshow-window.slideshow-white{background-color:#fff;border-color:#fff}.slideshow-window,.slideshow-window *{box-sizing:content-box}.slideshow-loading{height:100%;text-align:center;margin:auto}body div.slideshow-window * img{background-color:transparent!important;background-image:none!important;border-width:0!important;display:block;margin:0 auto;max-width:100%;max-height:100%;padding:0!important;position:relative;transform:translateY(-50%);top:50%}.slideshow-slide{display:none;height:100%!important;right:0;margin:auto;position:absolute;text-align:center;top:0;width:100%!important}.slideshow-line-height-hack{overflow:hidden;width:0;font-size:0}.slideshow-controls,.slideshow-slide-caption{position:absolute;text-align:center;width:100%}.slideshow-slide-caption{font-size:13px;font-family:"Helvetica Neue",sans-serif;color:#f7f7f7;text-shadow:#222 -1px 1px 2px;line-height:25px;height:25px;bottom:5px;right:0;z-index:100}.slideshow-controls{z-index:1000;bottom:30px;margin:auto;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";opacity:.5;direction:rtl;transition:.3s opacity ease-out}.slideshow-window:hover .slideshow-controls{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";opacity:1}body div div.slideshow-controls a,body div div.slideshow-controls a:hover{border:2px solid rgba(255,255,255,.1)!important;background-color:#000!important;background-color:rgba(0,0,0,.6)!important;background-image:url(../modules/shortcodes/img/slideshow-controls.png)!important;background-repeat:no-repeat;background-size:142px 16px!important;background-position:-34px 8px!important;color:#222!important;margin:0 5px!important;padding:0!important;display:inline-block!important;*display:inline;zoom:1;height:32px!important;width:32px!important;line-height:32px!important;text-align:center!important;border-radius:10em!important;transition:.3s border-color ease-out}@media only screen and (-webkit-min-device-pixel-ratio:1.5){body div div.slideshow-controls a,body div div.slideshow-controls a:hover{background-image:url(../modules/shortcodes/img/slideshow-controls-2x.png)!important}}body div div.slideshow-controls a:hover{border-color:rgba(255,255,255,1)!important}body div div.slideshow-controls a:first-child{background-position:-76px 8px!important}body div div.slideshow-controls a:last-child{background-position:-117px 8px!important}body div div.slideshow-controls a:nth-child(2){background-position:-34px 8px!important}body div div.slideshow-controls a.running{background-position:-34px 8px!important}body div div.slideshow-controls a.paused{background-position:9px 8px!important}.slideshow-controls a img{border:50px dotted #f0f}
|
11 |
+
body.presentation-wrapper-fullscreen-parent,html.presentation-wrapper-fullscreen-parent{overflow:hidden!important}.presentation-wrapper-fullscreen-parent #wpadminbar{display:none}.presentation-wrapper-fullscreen,.presentation-wrapper-fullscreen-parent{min-width:100%!important;min-height:100%!important;position:absolute!important;top:0!important;left:0!important;bottom:0!important;right:0!important;margin:0!important;padding:0!important;z-index:10000!important}.presentation-wrapper-fullscreen{background-color:grey;border:none!important}.presentation-wrapper-fullscreen .nav-arrow-left,.presentation-wrapper-fullscreen .nav-arrow-right{z-index:20001}.presentation-wrapper-fullscreen .nav-fullscreen-button{z-index:20002}.presentation-wrapper{margin:20px auto;border:1px solid #e5e5e5;overflow:hidden;line-height:normal}.presentation{position:relative;margin:0;overflow:hidden;outline:0}.presentation,.presentation .step{background-repeat:no-repeat;background-position:center;background-size:100% 100%}.presentation .step.fade:not(.active){opacity:0}.presentation .slide-content{padding:30px}.presentation .nav-arrow-left,.presentation .nav-arrow-right,.presentation .nav-fullscreen-button{position:absolute;width:34px;background-repeat:no-repeat;z-index:2;opacity:0;transition:opacity .25s}.presentation .nav-arrow-left,.presentation .nav-arrow-right{height:100%;background-image:url(../modules/shortcodes/images/slide-nav.png);background-size:450% 61px}.presentation .nav-arrow-left{right:0;background-position:4px 50%}.presentation .nav-arrow-right{left:0;background-position:-120px 50%}.presentation .nav-fullscreen-button{width:32px;height:32px;margin:4px;bottom:0;left:0;z-index:3;background-image:url(../modules/shortcodes/images/expand.png);background-size:100% 100%}.presentation:hover .nav-arrow-left,.presentation:hover .nav-arrow-right{opacity:1}.presentation:hover .nav-fullscreen-button{opacity:.8}.presentation-wrapper-fullscreen .nav-fullscreen-button{background-image:url(../modules/shortcodes/images/collapse.png)}.presentation .autoplay-overlay{height:15%;width:80%;margin:30% 10%;position:relative;z-index:100;display:table;border-radius:50px;background-color:#e5e5e5;background-color:rgba(0,0,0,.75);transition:opacity .5s}.presentation .autoplay-overlay .overlay-msg{position:relative;display:table-cell;text-align:center;vertical-align:middle;color:#fff}.presentation .will-fade{opacity:0}.presentation .do-fade{opacity:1;transition:opacity .5s}
|
12 |
+
#subscribe-email input{width:95%}.comment-subscription-form .subscribe-label{display:inline!important}
|
13 |
+
.jetpack-video-wrapper{margin-bottom:1.6em}.jetpack-video-wrapper>.wp-video,.jetpack-video-wrapper>embed,.jetpack-video-wrapper>iframe,.jetpack-video-wrapper>object{margin-bottom:0}
|
14 |
+
.jetpack-social-navigation ul{display:block;margin:0 0 1.5em;padding:0}.jetpack-social-navigation li{display:inline-block;margin:0;line-height:1}.jetpack-social-navigation a{border:0;height:1em;text-decoration:none;width:1em}.jetpack-social-navigation a:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:Genericons;font-size:1em;font-style:normal;font-weight:400;height:1em;line-height:1;speak:none;text-decoration:inherit;vertical-align:top;width:1em;content:"\f415"}.jetpack-social-navigation a[href*="codepen.io"]:before{content:"\f216"}.jetpack-social-navigation a[href*="digg.com"]:before{content:"\f221"}.jetpack-social-navigation a[href*="dribbble.com"]:before{content:"\f201"}.jetpack-social-navigation a[href*="dropbox.com"]:before{content:"\f225"}.jetpack-social-navigation a[href*="mailto:"]:before{content:"\f410"}.jetpack-social-navigation a[href*="facebook.com"]:before{content:"\f203"}.jetpack-social-navigation a[href*="flickr.com"]:before{content:"\f211"}.jetpack-social-navigation a[href*="foursquare.com"]:before{content:"\f226"}.jetpack-social-navigation a[href*="github.com"]:before{content:"\f200"}.jetpack-social-navigation a[href*="plus.google.com"]:before{content:"\f206"}.jetpack-social-navigation a[href*="instagram.com"]:before{content:"\f215"}.jetpack-social-navigation a[href*="linkedin.com"]:before{content:"\f208"}.jetpack-social-navigation a[href*="path.com"]:before{content:"\f219"}.jetpack-social-navigation a[href*="pinterest.com"]:before{content:"\f210"}.jetpack-social-navigation a[href*="getpocket.com"]:before{content:"\f224"}.jetpack-social-navigation a[href*="polldaddy.com"]:before{content:"\f217"}.jetpack-social-navigation a[href*="reddit.com"]:before{content:"\f222"}.jetpack-social-navigation a[href$="/feed/"]:before{content:"\f413"}.jetpack-social-navigation a[href*="skype:"]:before{content:"\f220"}.jetpack-social-navigation a[href*="spotify.com"]:before{content:"\f515"}.jetpack-social-navigation a[href*="stumbleupon.com"]:before{content:"\f223"}.jetpack-social-navigation a[href*="tumblr.com"]:before{content:"\f214"}.jetpack-social-navigation a[href*="twitch.tv"]:before{content:"\f516"}.jetpack-social-navigation a[href*="twitter.com"]:before{content:"\f202"}.jetpack-social-navigation a[href*="vimeo.com"]:before{content:"\f212"}.jetpack-social-navigation a[href*="vine.co"]:before{content:"\f517"}.jetpack-social-navigation a[href*="wordpress.com"]:before,.jetpack-social-navigation a[href*="wordpress.org"]:before{content:"\f205"}.jetpack-social-navigation a[href*="youtube.com"]:before{content:"\f213"}
|
15 |
+
.tiled-gallery{clear:both;margin:0 0 20px;overflow:hidden}.tiled-gallery img{margin:2px!important}.tiled-gallery .gallery-group{float:right;position:relative}.tiled-gallery .tiled-gallery-item{float:right;margin:0;position:relative;width:inherit}.tiled-gallery .gallery-row{overflow:hidden}.tiled-gallery .tiled-gallery-item a{background:100% 0;border:none;color:inherit;margin:0;padding:0;text-decoration:none;width:auto}.tiled-gallery .tiled-gallery-item img,.tiled-gallery .tiled-gallery-item img:hover{background:100% 0;border:none;box-shadow:none;max-width:100%;padding:0;vertical-align:middle}.tiled-gallery-caption{background:#eee;background:rgba(255,255,255,.8);color:#333;font-size:13px;font-weight:400;overflow:hidden;padding:10px 0;position:absolute;bottom:0;text-indent:10px;text-overflow:ellipsis;width:100%;white-space:nowrap}.tiled-gallery .tiled-gallery-item-small .tiled-gallery-caption{font-size:11px}.widget-gallery .tiled-gallery-unresized{visibility:hidden;height:0;overflow:hidden}.tiled-gallery .tiled-gallery-item img.grayscale{position:absolute;right:0;top:0}.tiled-gallery .tiled-gallery-item img.grayscale:hover{opacity:0}.tiled-gallery.type-circle .tiled-gallery-item img{border-radius:50%!important}.tiled-gallery.type-circle .tiled-gallery-caption{display:none;opacity:0}
|
16 |
+
.jetpack-display-remote-posts{margin:5px 0 20px}.jetpack-display-remote-posts h4{font-size:90%;margin:5px 0;padding:0}.jetpack-display-remote-posts h4 a{text-decoration:none}.jetpack-display-remote-posts p{margin:0!important;padding:0;line-height:1.4em!important;font-size:90%}.jetpack-display-remote-posts img{max-width:100%}
|
17 |
+
.widget-grofile h4{margin:1em 0 .5em}.widget-grofile ul.grofile-urls{margin-right:0;overflow:hidden}.widget-grofile ul.grofile-accounts li{list-style:none;display:inline}.widget-grofile ul.grofile-accounts li::before{content:""!important}.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite.png);background-repeat:no-repeat;width:16px;height:16px;float:right;margin-left:8px;margin-bottom:8px}.rtl .widget-grofile .grofile-accounts-logo{margin-right:8px;margin-left:0}.grofile-thumbnail{width:500px;max-width:100%}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (-o-min-device-pixel-ratio:3/2),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5){.widget-grofile .grofile-accounts-logo{background-image:url(https://secure.gravatar.com/images/grav-share-sprite-2x.png);background-size:16px 784px}}
|
18 |
+
div[class^=gr_custom_container]{border:1px solid gray;border-radius:10px;padding:10px 5px;background-color:#FFF;color:#000}div[class^=gr_custom_container] a{color:#000}div[class^=gr_custom_rating],h2[class^=gr_custom_header]{display:none}div[class^=gr_custom_each_container]{width:100%;clear:both;margin-bottom:10px;overflow:auto;padding-bottom:4px;border-bottom:1px solid #aaa}div[class^=gr_custom_book_container]{float:left;overflow:hidden;height:60px;margin-right:4px;width:39px}div[class^=gr_custom_author]{font-size:10px}div[class^=gr_custom_tags]{font-size:10px;color:gray}
|
19 |
+
.widget_wpcom_social_media_icons_widget ul{list-style-type:none;margin-right:0}.widget_wpcom_social_media_icons_widget li{border:0;display:inline;margin-left:.5em}.widget_wpcom_social_media_icons_widget li a{border:0;text-decoration:none}.widget_wpcom_social_media_icons_widget .genericon{font-family:Genericons}.widget_wpcom_social_media_icons_widget .screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.widget_wpcom_social_media_icons_widget .screen-reader-text:active,.widget_wpcom_social_media_icons_widget .screen-reader-text:focus,.widget_wpcom_social_media_icons_widget .screen-reader-text:hover{background-color:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;color:#21759b;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
|
20 |
+
.widgets-grid-layout{width:100%}.widgets-grid-layout:after,.widgets-grid-layout:before{content:" ";display:table}.widgets-grid-layout:after{clear:both}.widget-grid-view-image{float:right;max-width:50%}.widget-grid-view-image a{display:block;margin:0 0 4px 2px}.widget-grid-view-image:nth-child(even){float:left}.widget-grid-view-image:nth-child(even) a{margin:0 2px 4px 0}.widgets-grid-layout .widget-grid-view-image img{max-width:100%;height:auto}.widgets-multi-column-grid ul{overflow:hidden;padding:0;margin:0;list-style-type:none}.widgets-multi-column-grid ul li{background:100% 0;clear:none;float:right;margin:0 0 -3px -5px;padding:0 0 6px 8px;border:none;list-style-type:none!important}.widgets-multi-column-grid ul li a{background:100% 0;margin:0;padding:0;border:0}.widgets-multi-column-grid .avatar{vertical-align:middle}.widgets-list-layout{padding:0;margin:0;list-style-type:none}.widgets-list-layout li:after,.widgets-list-layout li:before{content:"";display:table}.widgets-list-layout li:after{clear:both}.widgets-list-layout li{zoom:1;margin-bottom:1em;list-style-type:none!important}.widgets-list-layout .widgets-list-layout-blavatar{float:right;width:21.276596%;max-width:40px;height:auto}.widgets-list-layout-links{float:left;width:73.404255%}.widgets-list-layout span{opacity:.5}.widgets-list-layout span:hover{opacity:.8}
|
21 |
+
.jetpack-image-container:after{clear:both}.jetpack-image-container:after,.jetpack-image-container:before{display:table;content:""}
|
jetpack.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin URI: http://jetpack.com
|
6 |
* Description: Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users.
|
7 |
* Author: Automattic
|
8 |
-
* Version: 4.3
|
9 |
* Author URI: http://jetpack.com
|
10 |
* License: GPL2+
|
11 |
* Text Domain: jetpack
|
@@ -14,7 +14,7 @@
|
|
14 |
|
15 |
define( 'JETPACK__MINIMUM_WP_VERSION', '4.5' );
|
16 |
|
17 |
-
define( 'JETPACK__VERSION', '4.3' );
|
18 |
define( 'JETPACK_MASTER_USER', true );
|
19 |
define( 'JETPACK__API_VERSION', 1 );
|
20 |
define( 'JETPACK__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
5 |
* Plugin URI: http://jetpack.com
|
6 |
* Description: Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users.
|
7 |
* Author: Automattic
|
8 |
+
* Version: 4.3.1
|
9 |
* Author URI: http://jetpack.com
|
10 |
* License: GPL2+
|
11 |
* Text Domain: jetpack
|
14 |
|
15 |
define( 'JETPACK__MINIMUM_WP_VERSION', '4.5' );
|
16 |
|
17 |
+
define( 'JETPACK__VERSION', '4.3.1' );
|
18 |
define( 'JETPACK_MASTER_USER', true );
|
19 |
define( 'JETPACK__API_VERSION', 1 );
|
20 |
define( 'JETPACK__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
|
modules/sso/class.jetpack-sso-helpers.php
CHANGED
@@ -161,7 +161,7 @@ class Jetpack_SSO_Helpers {
|
|
161 |
* Instead of accessing JETPACK__API_BASE within the method directly, we set it as the
|
162 |
* default for $api_base due to restrictions with testing constants in our tests.
|
163 |
*
|
164 |
-
* @since 4.
|
165 |
*
|
166 |
* @param array $hosts
|
167 |
* @param string $api_base
|
161 |
* Instead of accessing JETPACK__API_BASE within the method directly, we set it as the
|
162 |
* default for $api_base due to restrictions with testing constants in our tests.
|
163 |
*
|
164 |
+
* @since 4.3.0
|
165 |
*
|
166 |
* @param array $hosts
|
167 |
* @param string $api_base
|
modules/stats.php
CHANGED
@@ -360,7 +360,7 @@ function stats_reports_page( $main_chart_only = false ) {
|
|
360 |
$blog_id = stats_get_option( 'blog_id' );
|
361 |
$domain = Jetpack::build_raw_urls( get_home_url() );
|
362 |
|
363 |
-
JetpackTracking::record_user_event( '
|
364 |
|
365 |
if ( ! $main_chart_only && !isset( $_GET['noheader'] ) && empty( $_GET['nojs'] ) && empty( $_COOKIE['stnojs'] ) ) {
|
366 |
$nojs_url = add_query_arg( 'nojs', '1' );
|
360 |
$blog_id = stats_get_option( 'blog_id' );
|
361 |
$domain = Jetpack::build_raw_urls( get_home_url() );
|
362 |
|
363 |
+
JetpackTracking::record_user_event( 'wpa_page_view', array( 'path' => 'old_stats' ) );
|
364 |
|
365 |
if ( ! $main_chart_only && !isset( $_GET['noheader'] ) && empty( $_GET['nojs'] ) && empty( $_COOKIE['stnojs'] ) ) {
|
366 |
$nojs_url = add_query_arg( 'nojs', '1' );
|
modules/subscriptions.php
CHANGED
@@ -172,6 +172,14 @@ class Jetpack_Subscriptions {
|
|
172 |
return;
|
173 |
}
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
/**
|
176 |
* Array of categories that will never trigger subscription emails.
|
177 |
*
|
172 |
return;
|
173 |
}
|
174 |
|
175 |
+
/**
|
176 |
+
* If we're updating the post, let's make sure the flag to not send to subscribers
|
177 |
+
* is set to minimize the chances of sending posts multiple times.
|
178 |
+
*/
|
179 |
+
if ( 'publish' == $old_status ) {
|
180 |
+
update_post_meta( $post->ID, '_jetpack_dont_email_post_to_subs', 1 );
|
181 |
+
}
|
182 |
+
|
183 |
/**
|
184 |
* Array of categories that will never trigger subscription emails.
|
185 |
*
|
readme.txt
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
=== Jetpack by WordPress.com ===
|
2 |
Contributors: automattic, adamkheckler, aduth, akirk, allendav, alternatekev, andy, annezazu, apeatling, azaozz, batmoo, barry, beaulebens, blobaugh, cainm, cena, cfinke, chaselivingston, chellycat, csonnek, danielbachhuber, davoraltman, daniloercoli, designsimply, dllh, drawmyface, dsmart, dzver, ebinnion, eliorivero, enej, eoigal, ethitter, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, jacobshere, jblz, jeherve, jenhooks, jenia, jgs, jkudish, jmdodd, Joen, johnjamesjacoby, jshreve, koke, kraftbj, lamdayap, lancewillett, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, michael-arestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, roccotripaldi, samhotchkiss, scarstocea, sdquirk, stefmattana, stephdau, tmoorewp, Viper007Bond, westi, yoavf, zinigor
|
3 |
Tags: WordPress.com, jet pack, comments, contact, gallery, performance, sharing, security, shortcodes, stats, subscriptions, widgets
|
4 |
-
Stable tag: 4.3
|
5 |
Requires at least: 4.5
|
6 |
-
Tested up to: 4.6
|
7 |
|
8 |
Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.
|
9 |
|
@@ -75,6 +75,34 @@ There are opportunities for developers at all levels to contribute. [Learn more
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
= 4.3 =
|
79 |
|
80 |
* Release date: September 6th, 2016
|
@@ -151,514 +179,3 @@ There are opportunities for developers at all levels to contribute. [Learn more
|
|
151 |
* We’ve done away with the warnings that appeared when Tonesque processes a file which claims to be one filetype, but is actually another.
|
152 |
* We’ve exterminated PHP notices that appeared when using Random Redirect, as well as when the author wasn't set.
|
153 |
|
154 |
-
= 4.1.1 =
|
155 |
-
|
156 |
-
* Release date: July 7th, 2016
|
157 |
-
|
158 |
-
**Bug Fixes:**
|
159 |
-
|
160 |
-
* SSO: Use high-resolution Gravatar images on the log-in form on Retina devices.
|
161 |
-
* Publicize: improve reliability of Publicize when publishing new posts.
|
162 |
-
|
163 |
-
= 4.1 =
|
164 |
-
|
165 |
-
* Release date: July 6th, 2016
|
166 |
-
* Release Post: http://wp.me/p1moTy-3jd
|
167 |
-
|
168 |
-
**Performance Enhancements:**
|
169 |
-
|
170 |
-
* Carousel no longer loads full-size images in the previous and next previews, increasing the speed and performance of slideshows.
|
171 |
-
* We’ve improved Jetpack’s performance by making calls to the database more efficient; essentially, Jetpack is doing less on each page load, making things faster.
|
172 |
-
* We’ve improved Photon dev mode, eliminating unnecessary attempts to sync images.
|
173 |
-
|
174 |
-
**Exciting Feature and UI Improvements:**
|
175 |
-
|
176 |
-
* A new look: SSO, redesigned and refactored, provides a new and improved experience.
|
177 |
-
* Tracking made simple: quickly view the number of unread feedback submissions in your sidebar.
|
178 |
-
* Getting support just got easier! Access improved self-help tools in the Jetpack Debug menu.
|
179 |
-
* Greater control over Infinite Scroll: pause and resume Infinite Scroll with two new JavaScript methods.
|
180 |
-
* Improved Sharing: we’ve swapped image icons for icon fonts and added Telegram and WhatsApp buttons.
|
181 |
-
* Untappd shortcode: now you can sip and share your favorite craft brews. Cheers!
|
182 |
-
* Recipes, revamped: we’ve added new recipe shortcodes and options to create more detailed recipes.
|
183 |
-
* Improved Gallery Widgets now use Photon to resize and serve images.
|
184 |
-
|
185 |
-
**Security:**
|
186 |
-
|
187 |
-
* We’re continuing our efforts to harden Jetpack security by implementing the `hash_equals()` function in an effort to avoid timing attacks when comparing strings.
|
188 |
-
* We’ve made it easier to use SSL connections on ports `80` and `443`, improving our ability to communicate with an increased number of secure websites.
|
189 |
-
* You will now receive a warning for any failed attempts when connecting your website via SSL.
|
190 |
-
|
191 |
-
**Slightly Less Exciting Feature Improvements:**
|
192 |
-
|
193 |
-
* Updated the Infinite Scroll settings verbiage, which was a bit confusing.
|
194 |
-
* Removed Jetpack Audio Shortcode, which is no longer in use.
|
195 |
-
* Redesigned Jetpack banner notices to match core notification styles.
|
196 |
-
* Added an icon on a connected Jetpack user’s profile page, next to their name.
|
197 |
-
* Added the ability to edit Portfolio custom-post-type options in the Customizer.
|
198 |
-
* Added a new filter called `jetpack_publicize_capability` which allows you to override user role restrictions for Publicize.
|
199 |
-
* Improved the connection process between Jetpack and WordPress.com making it easier to start using Manage.
|
200 |
-
* Updated the Top Posts Widget so you can use and display posts that are older than 10 days.
|
201 |
-
* Updated the Twitter Timeline Widget to support updates made by Twitter.
|
202 |
-
* Improved the VideoPress Shortcode modal.
|
203 |
-
* Updated VideoPress, which now defaults to HTML5 videos when the `freedom` shortcode parameter is in use.
|
204 |
-
* Improved how Jetpack syncs by removing mock options.
|
205 |
-
* Updated the naming convention for feedback posts.
|
206 |
-
* Updated several JSON API endpoints to match WordPress.com endpoints, added support for custom taxonomies, and enabled trash as a valid status for the post update endpoint.
|
207 |
-
|
208 |
-
**Improved Compatibility:**
|
209 |
-
|
210 |
-
* A community member found and fixed a compatibility issue with our Open Graph Meta Tags and Bitly’s older plugin -- we now check to make sure we don’t create conflicts.
|
211 |
-
* We’ve fixed a rare scenario where an error would occur when other plugins or sites were using the `JETPACK__GLOTPRESS_LOCALES_PATH` constant.
|
212 |
-
|
213 |
-
**Bug Fixes:**
|
214 |
-
|
215 |
-
* Comment avatars are now retrieved in a manner more consistent with the login avatar, improving consistency and eliminating the possibility of a future bug.
|
216 |
-
* We eliminated PHP notices that were appearing when Custom Content Types were defined without labels or sections.
|
217 |
-
* PHP memory limits were reached in rare cases when a website had thousands of revisions of their Custom CSS. The issue is fixed -- happy editing!
|
218 |
-
* jQuery deprecated the `size()` function -- as a result, we’ve stopped using it as well.
|
219 |
-
* A PHP notice popped up when plugins were updated from the WordPress.com plugin management interface -- these notices will no longer appear.
|
220 |
-
* We fixed a bug where Photon wasn’t providing the original size for images that were being used outside of the post content.
|
221 |
-
* We eliminated the PHP notices that displayed when posts with slideshows were added to a sitemap.
|
222 |
-
* We fixed an error that was showing up in Sitemaps when a website permalink structure used `index.php`.
|
223 |
-
* We eliminated JavaScript errors that displayed when tiled galleries were viewed.
|
224 |
-
* We fixed an issue where image dimensions weren’t properly saved when added to a new widget.
|
225 |
-
* Since Google Maps API keys are now required to use maps, we’ve updated the Contact Info Widget to allow site owners to set up their keys.
|
226 |
-
* We fixed a bug where multiple `display` properties weren’t able to be saved in Custom CSS.
|
227 |
-
|
228 |
-
= 4.0.4 =
|
229 |
-
Release date: June 20th, 2016
|
230 |
-
Release Post: http://wp.me/p1moTy-3eT
|
231 |
-
|
232 |
-
Security:
|
233 |
-
|
234 |
-
* Post By Email: Added an additional layer of security to prevent unauthorized changes to Post By Email settings.
|
235 |
-
* Likes: Fixed an XSS vulnerability in the Likes module.
|
236 |
-
* REST API/Contact Form: We've eliminated unauthenticated access to Feedback posts.
|
237 |
-
|
238 |
-
Feature Improvements:
|
239 |
-
|
240 |
-
* Customizing Protect: We've increased Protect’s response time and added a new filter, `jetpack_protect_connect_timeout`, reducing the likelihood of seeing the fall back form.
|
241 |
-
* Connection Process: Your site url and icon are displayed on the Jetpack connection screens to help improve communication.
|
242 |
-
* Jetpack for Multisite: It’s now easier to manage your Jetpack connections on the network admin screen.
|
243 |
-
* Photon Responsive Image Improvements: We’re now auto-generating new scrset options, improving how images served from Photon are handled.
|
244 |
-
* Developing on Kinsta: A new constant has been added to improve developing with Jetpack on a staging environment hosted with Kinsta.
|
245 |
-
|
246 |
-
Jetpack UI Improvements:
|
247 |
-
|
248 |
-
* Better Access to Our Support Team: We wanted to make it easier for you to get help so we added a contact form in the admin that links directly to our Jetpack Support Team.
|
249 |
-
|
250 |
-
Improved Compatibility:
|
251 |
-
|
252 |
-
* We’ve stopped adding Open Graph Meta tags if you’re using the SEO Framework plugin.
|
253 |
-
* Having both GlotPress and Jetpack active at the same time was causing errors, we’ve eliminated them.
|
254 |
-
|
255 |
-
Bug Fixes:
|
256 |
-
|
257 |
-
* Fixed the handling of special characters like ampersands in Carousel Titles and Descriptions.
|
258 |
-
* When visitors tried to view a Carousel image with a hash in the URL, a JavaScript error would occur; we’ve fixed that.
|
259 |
-
* Jetpack Comment form fields now use the default language you’ve set for WordPress, previously the verbiage was always in English.
|
260 |
-
* Custom CSS wasn’t handling slashes and quotes properly; we’ve squashed that bug.
|
261 |
-
* There were some rare cases where PHP notices were popping up when a Contact Form was submitted. These instances have been identified and eliminated.
|
262 |
-
* We’ve replaced a bit of code with a Jetpack native function to fix a bug that was breaking things during an API request for available updates.
|
263 |
-
* We accidentally removed the ability for Open Graph to select images from slideshows, it’s up and running again.
|
264 |
-
* There was an issue where Open Graph meta tags weren’t being set when your homepage is a “Static Front Page”, it’s working again.
|
265 |
-
* In rare cases when developers were customizing Photon they were seeing a PHP notice when arguments were passed as a string rather than an array. This has been fixed.
|
266 |
-
* We’ve fixed an issue where Protect’s backup math form wasn’t showing on custom front end login forms.
|
267 |
-
* When setting up WooCommerce you might have seen a Related Posts notice which didn’t belong. We’ve eliminated them.
|
268 |
-
* If you’ve been using our sharing tool with unofficial sharing buttons you might have noticed your sharing numbers were missing. They’re now back.
|
269 |
-
* In unique situations where special characters were used in sitemap stylesheets an error would occur; that has been remedied.
|
270 |
-
* We’ve fixed a problem with mismatching HTML tags in our Spelling and Grammar feature.
|
271 |
-
* We’ve ensured that the `jetpack_disable_twitter_cards` filter actually removes Twitter cards.
|
272 |
-
* We’ve fixed some JavaScript errors that would crop up if you were editing a custom-post-type post that didn’t support the core media editor — say that 10 times fast.
|
273 |
-
* We had some JavaScript errors when you were using the customizer to modify widgets. They are no longer with us.
|
274 |
-
|
275 |
-
= 4.0.3 =
|
276 |
-
Release date: May 26th, 2016
|
277 |
-
Release Post: http://wp.me/p1moTy-3hm
|
278 |
-
|
279 |
-
* Important security update. Please upgrade immediately.
|
280 |
-
|
281 |
-
= 4.0.2 =
|
282 |
-
Release date: April 21st, 2016
|
283 |
-
|
284 |
-
Bug Fix:
|
285 |
-
|
286 |
-
* Addresses an issue where Jetpack 4.0 caused a fatal error on sites with specific configurations.
|
287 |
-
|
288 |
-
= 4.0 =
|
289 |
-
Release date: April 20th, 2016
|
290 |
-
Release Post: http://wp.me/p1moTy-3dL
|
291 |
-
|
292 |
-
Performance Enhancements:
|
293 |
-
|
294 |
-
* Protect: the routine that verifies your site is protected from brute-force attacks got some love and is more efficient.
|
295 |
-
* Contact Forms: cleaning the database of spam form submission records is more efficient.
|
296 |
-
|
297 |
-
Feature Improvements:
|
298 |
-
|
299 |
-
* VideoPress: edit your VideoPress shortcode in the editor with a fancy new modal options window.
|
300 |
-
* Custom Content Types are now classier: a new CSS class on Testimonial featured images — has-testimonial-thumbnail — allows you to customize Jetpack custom post types as you see fit.
|
301 |
-
* Sharing: social icons are now placed under the "add to cart” singular product views in WooCommerce, making it easier for customers to share your products on social media.
|
302 |
-
* Theme Tools: search engines will now have an easier time knowing what page they are on, and how that page relates to the other pages in your site hierarchy with improved schema.org microdata for breadcrumbs.
|
303 |
-
* Widget Visibility: now you can select widgets and when to show or hide them right from custom post type single and archive views.
|
304 |
-
|
305 |
-
Jetpack UI Improvements:
|
306 |
-
|
307 |
-
* What’s in it for me? We’ve done a better job explaining the benefits of Jetpack and connecting it to WordPress.com.
|
308 |
-
* Shortcodes: handy links to shortcode documentation convey the types of media you can quickly and safely embed.
|
309 |
-
* Widgets: As of WordPress 4.5, Jetpack widgets now refresh in the customizer without making you refresh the entire page. Live previews, yes indeed.
|
310 |
-
|
311 |
-
Bug Fixes:
|
312 |
-
|
313 |
-
* Comments: we fixed a mistake where a comment subscription checkbox appeared on custom post types — despite the fact you couldn’t actually subscribe to those types of comments. Our bad.
|
314 |
-
* Contact Forms: we fixed a bug where the telephone field (which can only be added manually) rendered incorrectly — breaking some forms in the process.
|
315 |
-
* General: we blocked direct access to the Jetpack_IXR_Client class which caused fatal PHP errors in some server setups.
|
316 |
-
* Shortcodes: we removed the frameborder attribute in the YouTube embed code. It was deprecated in HTML 5.
|
317 |
-
* Unminified responsive-videos.min.js in order to address a false positive virus alert in ClamAV. Expect it to be re-minified in 4.0.3 once we resolve the issue with ClamAV.
|
318 |
-
|
319 |
-
= 3.9.6 =
|
320 |
-
Release date: March 31st, 2016
|
321 |
-
Release Post: http://wp.me/p1moTy-3bz
|
322 |
-
|
323 |
-
Bug fix: Shortcodes: fixed incorrect Vimeo embed logic.
|
324 |
-
|
325 |
-
= 3.9.5 =
|
326 |
-
Release date: March 31st, 2016
|
327 |
-
Release Post: http://wp.me/p1moTy-3bz
|
328 |
-
|
329 |
-
This release features several WordPress 4.5 compatibility changes that make several Jetpack features work properly in the Customizer view. Big thanks to @westonruter for contributing the code!
|
330 |
-
|
331 |
-
Other enhancements and bug fixes:
|
332 |
-
|
333 |
-
* Contact Form: no longer calling the datepicker method if it's not available.
|
334 |
-
* SSO: settings checkboxes now honor filters and constants that restrict certain sign-in modes.
|
335 |
-
* Shortcodes: fixed a problem with Gist fetching.
|
336 |
-
* Shortcodes: fixed invalid HTML5 markup in YouTube embed code.
|
337 |
-
* Shortcodes: made the Vimeo links work properly in case of multiple mixed uses in one post.
|
338 |
-
|
339 |
-
= 3.9.4 =
|
340 |
-
Release date: March 10th, 2016
|
341 |
-
Release post: http://wp.me/p1moTy-396
|
342 |
-
|
343 |
-
Bug fix: Shortcodes: Addresses an issue with embedded Vimeo content
|
344 |
-
|
345 |
-
= 3.9.3 =
|
346 |
-
Release date: Mar 9th, 2016
|
347 |
-
Release post: http://wp.me/p1moTy-396
|
348 |
-
|
349 |
-
Featured:
|
350 |
-
|
351 |
-
* Site Logo now supports Custom Logo - a theme tool to be introduced in WordPress 4.5.
|
352 |
-
|
353 |
-
Enhancements:
|
354 |
-
|
355 |
-
* Carousel: Made the full size image URL use a Photon URL if enabled.
|
356 |
-
* Comments: Removed an unnecessary redirect by always connecting via HTTPS.
|
357 |
-
* General: Added new actions that fire before automatic updates.
|
358 |
-
* Infinite Scroll: Introduced a later filter for settings.
|
359 |
-
* Infinite Scroll: Removed code that is now redundant due to WordPress Core.
|
360 |
-
* Markdown: Removed deprecated markup from the output.
|
361 |
-
* Publicize: Improved handling of featured images in posts.
|
362 |
-
* Shortcodes: Added houzz.com support.
|
363 |
-
* Sitemaps: Added a language attribute to the news sitemap.
|
364 |
-
* Sitemaps: Improved the image retrieval mechanism for posts.
|
365 |
-
* Widgets: Added new filters in the Top Posts Widget code.
|
366 |
-
* Widgets: Cleaned up the CSS for the Subscription widget.
|
367 |
-
|
368 |
-
Bug Fixes:
|
369 |
-
|
370 |
-
* Comments: No longer reloading the page on clicking the reply button.
|
371 |
-
* Contact Forms: Fixed a fatal error on missing metadata.
|
372 |
-
* Contact Forms: Fixed message formatting for plaintext email clients.
|
373 |
-
* Shortcodes: Fixed dimensions of Vimeo embeds in certain cases.
|
374 |
-
* Shortcodes: Fixed warnings and allowed shorter style Vimeo embeds.
|
375 |
-
* Shortcodes: Removed alignment markup from feeds for YouTube embeds.
|
376 |
-
* Sitemaps: Made URLs display properly according to the permalink structure.
|
377 |
-
* Stats: Fixed non-XHTML-valid markup.
|
378 |
-
* Widgets: No longer showing errors when adding new instances of the Display Post Widget.
|
379 |
-
|
380 |
-
= 3.9.2 =
|
381 |
-
Release date: Feb 25th, 2016
|
382 |
-
Release post: http://wp.me/p1moTy-2Ei
|
383 |
-
|
384 |
-
Maintenance and Security Release
|
385 |
-
|
386 |
-
Featured:
|
387 |
-
|
388 |
-
* Beautiful Math: fix XSS vulnerability when parsing LaTeX markup within HTML elements.
|
389 |
-
* Contact Form: do not save private site credentials in post meta. Thanks to @visualdatasolutions.
|
390 |
-
|
391 |
-
Enhancements:
|
392 |
-
|
393 |
-
* Contact Info: Added two hooks for adding arbitrary information to the widget.
|
394 |
-
* Development: Added new possibilities for REST API debugging.
|
395 |
-
* Embeds: Added Codepen embeds support.
|
396 |
-
* Embeds: Added Sketchfab embeds support.
|
397 |
-
* I18n: Added support for translation packages for the Finnish language.
|
398 |
-
* Markdown: Added a filter to enable skipping processing of developer supplied patterns.
|
399 |
-
* Related Posts: Added a filter to change heading markup.
|
400 |
-
* Staging: Added a constant to force staging mode.
|
401 |
-
* Staging: Added a notice to make staging mode more obvious.
|
402 |
-
* Top Posts Widget: Added a new `[jetpack_top_posts_widget]` shortcode.
|
403 |
-
|
404 |
-
Bug Fixes:
|
405 |
-
|
406 |
-
* Custom Post Types: Nova: Fixed a JavaScript bug on adding multiple items.
|
407 |
-
* Embeds: Allowing embeds from Instagram with a www in an URL.
|
408 |
-
* General: Fixed untranslated module names on the Settings screen.
|
409 |
-
* General: Improved module descriptions and fixed misleading or broken links in descriptions.
|
410 |
-
* General: No more notices on module deprecation on older installations.
|
411 |
-
* General: Only showing one prompt to enable Photon when uploading several new images.
|
412 |
-
* Multisite: Fixed a problem with site lists for older WordPress installations.
|
413 |
-
* OpenGraph: Fixed a bug to properly fallback to a WordPress Site Icon image.
|
414 |
-
* Photon: Improve performance for images over a secure connection.
|
415 |
-
* Photon: No longer including links from data attributes.
|
416 |
-
* Publicize: Fixed problems for en_AU and en_CA locales with Facebook.
|
417 |
-
* Related Posts: Fixed a notice on certain requests.
|
418 |
-
* Site Logo: It's no longer possible to choose a non-image.
|
419 |
-
* Widget Visibility: No longer confusing page IDs and titles in certain cases.
|
420 |
-
|
421 |
-
= 3.9.1 =
|
422 |
-
Release date: Jan 21st, 2016
|
423 |
-
|
424 |
-
Bug Fixes:
|
425 |
-
|
426 |
-
* General: Addresses a namespacing issue which was causing conflicts on some hosting providers.
|
427 |
-
* Sitemaps: Added MSM-Sitemap to the list of plugins which, if installed, will prevent Jetpack Sitemaps from being used
|
428 |
-
|
429 |
-
= 3.9 =
|
430 |
-
Release date: Jan 20th, 2016
|
431 |
-
Release Post: http://wp.me/p1moTy-29R
|
432 |
-
|
433 |
-
Featured:
|
434 |
-
|
435 |
-
* New sharing button: let users share your content using Skype.
|
436 |
-
* New "Social Menu" theme tool that uses Genericons to display Social Links.
|
437 |
-
* Sitemap support for better search engine indexing.
|
438 |
-
|
439 |
-
Enhancements:
|
440 |
-
|
441 |
-
* Contact Form: Added a new filter that allows you to change the "Required" text.
|
442 |
-
* General: Hidden archived sites in multisite site list.
|
443 |
-
* General: Removed several function calls that would be deprecated in WordPress 4.5.
|
444 |
-
* Infinite Scroll: Added a new filter to check if Infinite Scroll has been triggered.
|
445 |
-
* Likes: Added a conditional to ensure WordPress 4.5 compatibility.
|
446 |
-
* Photon: Improved compatibility with responsive images feature added in WordPress 4.4.
|
447 |
-
* Photon: Now enabled by default on sites using HTTPS.
|
448 |
-
* REST API: Extended the ability to manage users from WordPress.com.
|
449 |
-
* REST API: Increased the performance of the plugin update endpoint.
|
450 |
-
* Responsive Videos: Centering videos when they are wrapped in a centered paragraph.
|
451 |
-
* Sharing: Added a new filter to customize the default OpenGraph description.
|
452 |
-
* Shortcodes: Added Wistia oEmbed support.
|
453 |
-
* Shortcodes: Bandcamp: Added support for new attributes for tracks approved by artists.
|
454 |
-
* Shortcodes: Improved Medium path format recognition.
|
455 |
-
* Slideshow: Improved compatibility with older IE versions.
|
456 |
-
* Staging: Improved staging environment detection.
|
457 |
-
* Widgets: Added "width" option to the Facebook Page widget.
|
458 |
-
* Widgets: Added size parameters to tags in Top Posts to avoid warnings.
|
459 |
-
* Widgets: Introduced major performance and stability improvements to the Display Posts Widget.
|
460 |
-
* Widgets: Refactored to remove deprecated code patterns.
|
461 |
-
|
462 |
-
Bug Fixes:
|
463 |
-
|
464 |
-
* AtD: Fixed replacing emojis with images in the text editor in Chrome.
|
465 |
-
* AtD: Made pre tags be excluded from spell-checking.
|
466 |
-
* CPT: Not registering Nova if it is already registered.
|
467 |
-
* Carousel: Fixed a bug where full size images were not always served by Photon.
|
468 |
-
* Carousel: Reverted a change that broke direct link to carousel image.
|
469 |
-
* Contact Form: Fixed a CSV export bug with multiple choice questions.
|
470 |
-
* Contact Form: Fixed notices when creating feedback entries without a contact form.
|
471 |
-
* General: Fixed a scrolling bug on modal window closing.
|
472 |
-
* Infinite Scroll: Disabled in the Customizer when previewing a non-active theme.
|
473 |
-
* Publicize: Fixed notices appearing with bbPress or BuddyPress installed.
|
474 |
-
* Publicize: Showing options only to users that can change them.
|
475 |
-
* Related Posts: Fixed incorrect URLs generated for posts.
|
476 |
-
* Responsive Videos: Fixed warnings in debug mode.
|
477 |
-
* Shortcodes: Bandcamp: Fixed a problem with large track IDs.
|
478 |
-
* Shortcodes: Fixed a problem with dynamic Gist embeds.
|
479 |
-
* Stats: Fixed dashboard widget resize problem.
|
480 |
-
* Widgets: Added a fallback to English US when a locale isn't supported by Facebook.
|
481 |
-
* Widgets: Fixed layout for Twenty Sixteen.
|
482 |
-
|
483 |
-
= 3.8.2 =
|
484 |
-
Release date: Dec 17th, 2015
|
485 |
-
Release post: http://wp.me/p1moTy-26v
|
486 |
-
|
487 |
-
Jetpack 3.8.2 is here to squash a few annoying bugs.
|
488 |
-
|
489 |
-
Bug Fixes:
|
490 |
-
|
491 |
-
* Photon: Fixed a bug where some custom thumbnail image sizes weren't being sized properly.
|
492 |
-
* Shortcodes: Fixed an incompatibility with how WordPress renders the YouTube shortcode.
|
493 |
-
* Shortcodes: Tightened up security in the Wufoo shortcode.
|
494 |
-
* Image Widget: Now shows the caption.
|
495 |
-
* Fixed typos in inline docs.
|
496 |
-
* Very minor fixes to: Carousel, Publicize, Google+, and Infinite Scroll.
|
497 |
-
|
498 |
-
= 3.8.1 =
|
499 |
-
Release date: Dec 1st, 2015
|
500 |
-
Release post: http://wp.me/p1moTy-23V
|
501 |
-
|
502 |
-
Jetpack 3.8.1 is here and is fully compatible with WordPress 4.4.
|
503 |
-
|
504 |
-
Featured:
|
505 |
-
|
506 |
-
* Photon + Responsive Images FTW.
|
507 |
-
* Fully compatible with Twenty Sixteen.
|
508 |
-
* More accessibility enhancements.
|
509 |
-
* Dropped some weight by optimizing Jetpack's plugin images.
|
510 |
-
|
511 |
-
Enhancements:
|
512 |
-
|
513 |
-
* Comments: filter to allow disabling comments per post type.
|
514 |
-
|
515 |
-
Bug Fixes:
|
516 |
-
|
517 |
-
* Carousel: Stop page from scrolling to top when Carousel is closed.
|
518 |
-
* Carousel: Browser compatibility fixes with older version of IE.
|
519 |
-
* Markdown: Fixed a bug that would strip markdown when saving in "Quick Edit" mode.
|
520 |
-
* Single Sign On: Fixed login always redirecting to the admin dashboard.
|
521 |
-
* Subscriptions: Filter to allow per-post emails fixed for use in themes.
|
522 |
-
|
523 |
-
= 3.8.0 =
|
524 |
-
Release date: Nov 4th, 2015
|
525 |
-
Release post: http://wp.me/p1moTy-1VN
|
526 |
-
|
527 |
-
We're happy to introduce Jetpack 3.8, which has significant contributions from the Jetpack community. Read more about it here: http://wp.me/p1moTy-1VN
|
528 |
-
|
529 |
-
Feature enhancements:
|
530 |
-
|
531 |
-
* New Google+ Badge Widget. Display your profile, page, or community Google+ badge.
|
532 |
-
* New twitch.tv shortcode embeds. Display a Twitch.tv stream in your posts.
|
533 |
-
* Accessibility enhancements.
|
534 |
-
* A handful of new filters to allow further customization of Jetpack.
|
535 |
-
|
536 |
-
Other enhancements:
|
537 |
-
|
538 |
-
* Carousel: Added support to retrieve image dimensions from an image url.
|
539 |
-
* Carousel: Simpler algorithm to detect shutter speeds.
|
540 |
-
* Contact Form: New "Checkbox with Multiple Items" field available in the Contact Form.
|
541 |
-
* Contact Form: Allow pre-filling form fields with URL parameters.
|
542 |
-
* Contact Form: Better styling of the emailed form responses.
|
543 |
-
* Performance: Replaced some custom-built functions with core's native functions.
|
544 |
-
* Related Posts: New filter to add post classes to post's container class.
|
545 |
-
* Sharing: New filter to choose if sharing meta box should be shown.
|
546 |
-
* Sharing: New filter to allow sharing button markup to be editable.
|
547 |
-
* Sharing: New filter to allow you to specify a custom Facebook app ID.
|
548 |
-
* Social Media Icons Widget: Added option for YouTube username as well as Channel ID.
|
549 |
-
* Social Media Icons Widget: Added Google+ icon.
|
550 |
-
* Social Media Icons Widget: New filter to allow you to add your own social media icons and links.
|
551 |
-
* Subscriptions: Better errors to your visitors if their subscription sign-up fails.
|
552 |
-
* Subscriptions: Removed "widget" class from Subs shortcode form.
|
553 |
-
|
554 |
-
|
555 |
-
Bug fixes:
|
556 |
-
|
557 |
-
* Carousel: Fixed browser back/forward button behavior.
|
558 |
-
* Contact Form: Allow the email field to be set to empty when building form in post editor.
|
559 |
-
* Facebook Likebox Widget: Fixed an issue where some languages were not translating.
|
560 |
-
* Facebook Likebox Widget: Return a language when none found.
|
561 |
-
* General: Fixed some minor styling issues in the Jetpack admin areas.
|
562 |
-
* General: Add missing parameter to the_title filter call.
|
563 |
-
* General: Prevent scrolling of body when the Jetpack admin modals are opened.
|
564 |
-
* General: Update doc to reflect that Open Graph filter jetpack_enable_opengraph has been deprecated in favor of jetpack_enable_open_graph.
|
565 |
-
* Infinite Scroll: Fixed an error that sometimes occurred that would stop posts from loading.
|
566 |
-
* JSON API: Fixed some undefined notices when publishing a post with the API.
|
567 |
-
* Open Graph: Fixed bug where facebook description content was sometimes being polluted by a filter.
|
568 |
-
* Sharing: Use full SSL Pinterest url instead of protocol relative.
|
569 |
-
* Sharing: Fixed plus signs appearing in tweets shared from iOS.
|
570 |
-
* Shortcodes: Prefer HTTPS for video embeds to avoid mixed content warnings.
|
571 |
-
* Subscriptions Widget: Fix HTML Validation error.
|
572 |
-
* Theme Tools: Check oEmbeds for the presence of a video before adding the responsive videos filter.
|
573 |
-
* Tiled Galleries: Add image alt attribute if there is a title set. This was breaking some screen reader functionality.
|
574 |
-
|
575 |
-
= 3.7.2 =
|
576 |
-
Release date: September 29th, 2015
|
577 |
-
Release Post: http://wp.me/p1moTy-1LB
|
578 |
-
|
579 |
-
* Bug Fix: REST API: Fixed an error when saving drafts and publishing posts
|
580 |
-
|
581 |
-
= 3.7.1 =
|
582 |
-
Release date: September 28th, 2015
|
583 |
-
Release Post: http://wp.me/p1moTy-1LB
|
584 |
-
|
585 |
-
* Enhancement: General: Added inline documentation for various filters and functions
|
586 |
-
* Enhancement: General: Added custom capabilities for module management on multi-site installs
|
587 |
-
* Enhancement: General: Cleaned up old changelog entries from readme
|
588 |
-
* Enhancement: General: Cleaned up unused i18n textdomains
|
589 |
-
* Enhancement: General: Updated the new settings page to look better in various translations
|
590 |
-
* Enhancement: REST API: Added new endpoints to manage users
|
591 |
-
* Enhancement: Sharing: Updated the Google logo
|
592 |
-
* Bug Fix: Carousel: Page scroll no longer disappears after closing the carousel
|
593 |
-
* Bug Fix: Contact Form: Fields are sent and displayed in the correct order
|
594 |
-
* Bug Fix: Contact Form: No longer showing a notice on AJAX actions in feedback lists
|
595 |
-
* Bug Fix: Contact Form: Made using more than two notification emails possible
|
596 |
-
* Bug Fix: Contact Form: Mitigate a potential stored XSS vulnerability. Thanks to Marc-Alexandre Montpas (Sucuri)
|
597 |
-
* Bug Fix: General: Mitigate a potential information disclosure. Thanks to Jaime Delgado Horna
|
598 |
-
* Bug Fix: General: Fixed a locale error in the notifications popout
|
599 |
-
* Bug Fix: General: Fixed a possible fatal error in the client area
|
600 |
-
* Bug Fix: General: Fixed compatibility issues with certain use cases
|
601 |
-
* Bug Fix: General: Disabled connection warnings for multisites with domain mapping
|
602 |
-
* Bug Fix: General: Updated translations for correct link display in admin notices
|
603 |
-
* Bug Fix: REST API: Fixed a fatal error in one of the endpoints
|
604 |
-
* Bug Fix: Sharing: Fixed OpenGraph tags for Instagram embeds
|
605 |
-
* Bug Fix: Sharing: Fixed compatibility issues with bbPress
|
606 |
-
* Bug Fix: Widget Visibility: Fixed a fatal error in case of a missing tag
|
607 |
-
|
608 |
-
= 3.7.0 =
|
609 |
-
Release date: September 9th, 2015
|
610 |
-
Release Post: http://wp.me/p1moTy-1JB
|
611 |
-
|
612 |
-
Feature Enhancements:
|
613 |
-
|
614 |
-
* New admin page interface to easily configure Jetpack
|
615 |
-
* Added staging site support for testing a connected Jetpack site
|
616 |
-
|
617 |
-
Additional changes:
|
618 |
-
|
619 |
-
* Enhancement: CLI: Added a possibility to change all options with confirmation for some of them
|
620 |
-
* Enhancement: Gallery: Added filters to allow new gallery types to be declared
|
621 |
-
* Enhancement: General: Added inline documentation for actions, filters, etc.
|
622 |
-
* Enhancement: General: Changed class variable declarations keyword from var to public
|
623 |
-
* Enhancement: General: Made the Settings page module toggle buttons more accessible
|
624 |
-
* Enhancement: General: The admin bar now loads new notifications popout
|
625 |
-
* Enhancement: General: Renamed some modules to avoid redundant prefixes
|
626 |
-
* Enhancement: General: Switched to the WordPress Core's spinner image
|
627 |
-
* Enhancement: General: Updated the bot list
|
628 |
-
* Enhancement: Manage: Added the ability to activate a network-wide plugin on a single site from WordPress.com
|
629 |
-
* Enhancement: Photon: Added a way to check image URLs against custom domains
|
630 |
-
* Enhancement: Photon: Added prompts on the media upload page telling the user about Photon
|
631 |
-
* Enhancement: Publicize: Added width and height values to OpenGraph tags for default images
|
632 |
-
* Enhancement: Related Posts: Added a filter to allow disabling nofollow
|
633 |
-
* Enhancement: REST API: Added new API endpoints to extend API functionality
|
634 |
-
* Enhancement: REST API: Added new fields to existing API endpoints
|
635 |
-
* Enhancement: Sharing: Added a possibility to opt-out of sharing for a single post
|
636 |
-
* Enhancement: Sharing: Added bbPress support
|
637 |
-
* Enhancement: Sharing: Added more configuration to the Likes modal
|
638 |
-
* Enhancement: Sharing: Made the reddit button open a new tab
|
639 |
-
* Enhancement: Sharing: Removed unused files
|
640 |
-
* Enhancement: Shortcodes: Added auto embed option inside comments
|
641 |
-
* Enhancement: Shortcodes: Added autohide parameter to the YouTube shortcode
|
642 |
-
* Enhancement: Subscriptions: added an action that triggers at the end of the subscription process
|
643 |
-
* Enhancement: VideoPress: Videos are now embedded using a new player
|
644 |
-
* Enhancement: Widget Visibility: Added parent page logic
|
645 |
-
* Enhancement: Widget Visibility: Added support for split terms
|
646 |
-
* Enhancement: Widgets: Added actions to the Social Media widget
|
647 |
-
* Enhancement: Widgets: Switched the Display Posts widget to the new API version
|
648 |
-
* Bug Fix: General: Fixed scrolling to top after modal window closing
|
649 |
-
* Bug Fix: Infinite Scroll: Added a check for cases when output buffering is disabled
|
650 |
-
* Bug Fix: Infinite Scroll: Added translation to the copyright message
|
651 |
-
* Bug Fix: Manage: Fixed automatic update synchronization on WordPress multisite network admin
|
652 |
-
* Bug Fix: Manage: Redirects back to WordPress.com are allowed from the customizer view
|
653 |
-
* Bug Fix: Media: Fixed duplicate images bug in the Media Extractor
|
654 |
-
* Bug Fix: Publicize: Made it possible to remove previously set message
|
655 |
-
* Bug Fix: Sharing: Added a thumbnail image to OpenGraph tags on pages with DailyMotion embeds
|
656 |
-
* Bug Fix: Sharing: Fixed Twitter Cards tags escaping
|
657 |
-
* Bug Fix: Sharing: Made OpenGraph tags for title and description use proper punctuation
|
658 |
-
* Bug Fix: Sharing: Made sure Likes can be disabled on the front page
|
659 |
-
* Bug Fix: Shortcodes: Fixed Facebook embeds by placing the script in the footer
|
660 |
-
* Bug Fix: Shortcodes: Fixed PollDaddy shortcode issues over SSL connections
|
661 |
-
* Bug Fix: Shortcodes: Made responsive video wrappers only wrap video embeds
|
662 |
-
* Bug Fix: Shortcodes: Made SoundCloud accept percents for dimensions
|
663 |
-
* Bug Fix: Social Links: Fixed a possible conflict with another class
|
664 |
-
* Bug Fix: Stats: Made sure the Stats URL is always escaped properly
|
1 |
=== Jetpack by WordPress.com ===
|
2 |
Contributors: automattic, adamkheckler, aduth, akirk, allendav, alternatekev, andy, annezazu, apeatling, azaozz, batmoo, barry, beaulebens, blobaugh, cainm, cena, cfinke, chaselivingston, chellycat, csonnek, danielbachhuber, davoraltman, daniloercoli, designsimply, dllh, drawmyface, dsmart, dzver, ebinnion, eliorivero, enej, eoigal, ethitter, gcorne, georgestephanis, gibrown, goldsounds, hew, hugobaeta, hypertextranch, iammattthomas, iandunn, jacobshere, jblz, jeherve, jenhooks, jenia, jgs, jkudish, jmdodd, Joen, johnjamesjacoby, jshreve, koke, kraftbj, lamdayap, lancewillett, lschuyler, macmanx, martinremy, matt, matveb, mattwiebe, maverick3x6, mcsf, mdawaffe, michael-arestad, migueluy, mikeyarce, mkaz, nancythanki, nickmomrik, obenland, pento, professor44, rachelsquirrel, rdcoll, ryancowles, richardmuscat, richardmtl, roccotripaldi, samhotchkiss, scarstocea, sdquirk, stefmattana, stephdau, tmoorewp, Viper007Bond, westi, yoavf, zinigor
|
3 |
Tags: WordPress.com, jet pack, comments, contact, gallery, performance, sharing, security, shortcodes, stats, subscriptions, widgets
|
4 |
+
Stable tag: 4.3.1
|
5 |
Requires at least: 4.5
|
6 |
+
Tested up to: 4.6.1
|
7 |
|
8 |
Increase your traffic, view your stats, speed up your site, and protect yourself from hackers with Jetpack.
|
9 |
|
75 |
|
76 |
== Changelog ==
|
77 |
|
78 |
+
= 4.3.1 =
|
79 |
+
|
80 |
+
* Release date: September 7, 2016
|
81 |
+
|
82 |
+
**Support Enhancements**
|
83 |
+
|
84 |
+
* We're now syncing data about hosts so that we can provide better support when needed.
|
85 |
+
* Minor update to inline docs to match version numbers.
|
86 |
+
|
87 |
+
**Bug Fixes:**
|
88 |
+
|
89 |
+
* Admin Page: fix error when Admin Page resources could not be fetched with `wp_remote_get` due to unique host configurations.
|
90 |
+
* Admin Page: fix error when Post By Email could not be enabled when the browser's dev console was enabled.
|
91 |
+
* Admin Page: make sure all translated strings are encoded properly.
|
92 |
+
* Admin Page: only use POST requests for updating the state of Jetpack, to avoid issues on servers not allowing PUT requests.
|
93 |
+
* Admin Page: search icon no longer overlaps the global notices.
|
94 |
+
* Admin Page: make sure that non-admins can also modify Spellchecking settings.
|
95 |
+
* General: Improve random number generation for compatibility with more hosts.
|
96 |
+
* General: Add deprecated PHP file (class.jetpack-landing-page.php) back as an empty file, to avoid generating fatal errors on sites with aggressive caching.
|
97 |
+
* General: Ensure concatenated CSS is generated for RTL languages.
|
98 |
+
* Security: Ensure that all options are included on the security tab.
|
99 |
+
* Stats: fix display for sites with pretty permalinks disabled.
|
100 |
+
* Subscriptions: ensure that no email is sent when updating a published post.
|
101 |
+
* Sync: To improve performance, add snapTW to the list of post meta data that won't be synchronized for each post.
|
102 |
+
* Sync: do not schedule a full sync after each import.
|
103 |
+
* Verification Tools: in the Settings card, use appropriate link for each service.
|
104 |
+
|
105 |
+
|
106 |
= 4.3 =
|
107 |
|
108 |
* Release date: September 6th, 2016
|
179 |
* We’ve done away with the warnings that appeared when Tonesque processes a file which claims to be one filetype, but is actually another.
|
180 |
* We’ve exterminated PHP notices that appeared when using Random Redirect, as well as when the author wasn't set.
|
181 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sync/class.jetpack-sync-actions.php
CHANGED
@@ -20,9 +20,6 @@ class Jetpack_Sync_Actions {
|
|
20 |
// On jetpack authorization, schedule a full sync
|
21 |
add_action( 'jetpack_client_authorized', array( __CLASS__, 'schedule_full_sync' ), 10, 0 );
|
22 |
|
23 |
-
// When imports are finished, schedule a full sync
|
24 |
-
add_action( 'import_end', array( __CLASS__, 'schedule_full_sync' ) );
|
25 |
-
|
26 |
// When importing via cron, do not sync
|
27 |
add_action( 'wp_cron_importer_hook', array( __CLASS__, 'set_is_importing_true' ), 1 );
|
28 |
|
20 |
// On jetpack authorization, schedule a full sync
|
21 |
add_action( 'jetpack_client_authorized', array( __CLASS__, 'schedule_full_sync' ), 10, 0 );
|
22 |
|
|
|
|
|
|
|
23 |
// When importing via cron, do not sync
|
24 |
add_action( 'wp_cron_importer_hook', array( __CLASS__, 'set_is_importing_true' ), 1 );
|
25 |
|
sync/class.jetpack-sync-defaults.php
CHANGED
@@ -149,6 +149,7 @@ class Jetpack_Sync_Defaults {
|
|
149 |
'wp_version' => array( 'Jetpack_Sync_Functions', 'wp_version' ),
|
150 |
'get_plugins' => array( 'Jetpack_Sync_Functions', 'get_plugins' ),
|
151 |
'active_modules' => array( 'Jetpack', 'get_active_modules' ),
|
|
|
152 |
'locale' => 'get_locale',
|
153 |
);
|
154 |
|
@@ -221,6 +222,7 @@ class Jetpack_Sync_Defaults {
|
|
221 |
'esml_socialcount_LAST_UPDATED',
|
222 |
'wprss_last_update_items',
|
223 |
'wp_automatic_cache',
|
|
|
224 |
);
|
225 |
|
226 |
// TODO: move this to server? - these are theme support values
|
149 |
'wp_version' => array( 'Jetpack_Sync_Functions', 'wp_version' ),
|
150 |
'get_plugins' => array( 'Jetpack_Sync_Functions', 'get_plugins' ),
|
151 |
'active_modules' => array( 'Jetpack', 'get_active_modules' ),
|
152 |
+
'hosting_provider' => array( 'Jetpack_Sync_Functions', 'get_hosting_provider' ),
|
153 |
'locale' => 'get_locale',
|
154 |
);
|
155 |
|
222 |
'esml_socialcount_LAST_UPDATED',
|
223 |
'wprss_last_update_items',
|
224 |
'wp_automatic_cache',
|
225 |
+
'snapTW',
|
226 |
);
|
227 |
|
228 |
// TODO: move this to server? - these are theme support values
|
sync/class.jetpack-sync-functions.php
CHANGED
@@ -30,6 +30,22 @@ class Jetpack_Sync_Functions {
|
|
30 |
return $_wp_post_type_features;
|
31 |
}
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
public static function rest_api_allowed_post_types() {
|
34 |
/** This filter is already documented in class.json-api-endpoints.php */
|
35 |
return apply_filters( 'rest_api_allowed_post_types', array( 'post', 'page', 'revision' ) );
|
30 |
return $_wp_post_type_features;
|
31 |
}
|
32 |
|
33 |
+
public static function get_hosting_provider() {
|
34 |
+
if ( defined( 'GD_SYSTEM_PLUGIN_DIR' ) || class_exists( '\\WPaaS\\Plugin' ) ) {
|
35 |
+
return 'gd-managed-wp';
|
36 |
+
}
|
37 |
+
if ( defined( 'MM_BASE_DIR' ) ) {
|
38 |
+
return 'bh';
|
39 |
+
}
|
40 |
+
if ( defined( 'IS_PRESSABLE' ) ) {
|
41 |
+
return 'pressable';
|
42 |
+
}
|
43 |
+
if ( function_exists( 'is_wpe' ) || function_exists( 'is_wpe_snapshot' ) ) {
|
44 |
+
return 'wpe';
|
45 |
+
}
|
46 |
+
return 'unknown';
|
47 |
+
}
|
48 |
+
|
49 |
public static function rest_api_allowed_post_types() {
|
50 |
/** This filter is already documented in class.json-api-endpoints.php */
|
51 |
return apply_filters( 'rest_api_allowed_post_types', array( 'post', 'page', 'revision' ) );
|
sync/class.jetpack-sync-module.php
CHANGED
@@ -92,9 +92,16 @@ abstract class Jetpack_Sync_Module {
|
|
92 |
return array();
|
93 |
}
|
94 |
|
|
|
|
|
|
|
95 |
return array_map(
|
96 |
array( $this, 'unserialize_meta' ),
|
97 |
-
$wpdb->get_results(
|
|
|
|
|
|
|
|
|
98 |
);
|
99 |
}
|
100 |
|
92 |
return array();
|
93 |
}
|
94 |
|
95 |
+
$private_meta_whitelist_sql = "'" . implode( "','", array_map( 'esc_sql', Jetpack_Sync_Defaults::$default_whitelist_meta_keys ) ) . "'";
|
96 |
+
$public_meta_blacklist_sql = "'" . implode( "','", array_map( 'esc_sql', Jetpack_Sync_Defaults::$default_blacklist_meta_keys ) ) . "'";
|
97 |
+
|
98 |
return array_map(
|
99 |
array( $this, 'unserialize_meta' ),
|
100 |
+
$wpdb->get_results(
|
101 |
+
"SELECT $id, meta_key, meta_value, meta_id FROM $table WHERE $id IN ( " . implode( ',', wp_parse_id_list( $ids ) ) . ' )'.
|
102 |
+
" AND ( ( meta_key LIKE '\_%' AND meta_key IN ( $private_meta_whitelist_sql ) )".
|
103 |
+
" OR ( meta_key NOT LIKE '\_%' AND meta_key NOT IN ( $public_meta_blacklist_sql ) ) )",
|
104 |
+
OBJECT )
|
105 |
);
|
106 |
}
|
107 |
|
sync/class.jetpack-sync-queue.php
CHANGED
@@ -38,7 +38,7 @@ class Jetpack_Sync_Queue {
|
|
38 |
function __construct( $id ) {
|
39 |
$this->id = str_replace( '-', '_', $id ); // necessary to ensure we don't have ID collisions in the SQL
|
40 |
$this->row_iterator = 0;
|
41 |
-
$this->random_int =
|
42 |
}
|
43 |
|
44 |
function add( $item ) {
|
38 |
function __construct( $id ) {
|
39 |
$this->id = str_replace( '-', '_', $id ); // necessary to ensure we don't have ID collisions in the SQL
|
40 |
$this->row_iterator = 0;
|
41 |
+
$this->random_int = mt_rand( 1, 1000000 );
|
42 |
}
|
43 |
|
44 |
function add( $item ) {
|