Version Description
- Change the category of FSE blocks from legacy to the updated ones (https://github.com/Automattic/wp-calypso/issues/43198).
- Add a helper function that can be used to assign categories with older fallbacks.
- Add support for TypeScript tests.
- Update visual style of navigation sidebar.
- Fix navigation sidebar dismiss button in IE.
Download this release
Release Info
Developer | julesaus |
Plugin | Full Site Editing |
Version | 1.13 |
Comparing to | |
See all releases |
Code changes from version 1.12 to 1.13
- block-helpers/block-helpers.test.ts +33 -0
- block-helpers/index.ts +35 -0
- block-inserter-modifications/index.php +1 -1
- common/data-stores/index.ts +2 -0
- common/data-stores/launch/actions.ts +41 -0
- common/data-stores/launch/constants.ts +10 -0
- common/data-stores/launch/index.ts +33 -0
- common/data-stores/launch/persist.ts +6 -0
- common/data-stores/launch/reducer.ts +45 -0
- common/data-stores/launch/selectors.ts +15 -0
- common/data-stores/site.ts +6 -0
- common/dist/common.asset.php +1 -1
- common/dist/common.js +1 -1
- common/dist/data-stores.asset.php +1 -1
- common/dist/data-stores.js +4 -4
- donations/dist/donations.asset.php +1 -1
- donations/dist/donations.js +3 -3
- donations/index.js +1 -1
- dotcom-fse/blocks/navigation-menu/index.js +2 -1
- dotcom-fse/blocks/post-content/index.js +2 -1
- dotcom-fse/blocks/site-credit/index.js +2 -1
- dotcom-fse/blocks/site-description/index.js +2 -1
- dotcom-fse/blocks/site-title/index.js +2 -1
- dotcom-fse/blocks/template/index.js +2 -1
- dotcom-fse/dist/dotcom-fse.asset.php +1 -1
- dotcom-fse/dist/dotcom-fse.css +1 -1
- dotcom-fse/dist/dotcom-fse.js +1 -1
- dotcom-fse/dist/dotcom-fse.rtl.css +1 -1
- dotcom-fse/editor/block-inserter/index.js +29 -6
- dotcom-fse/editor/style.scss +1 -1
- editor-domain-picker/dist/editor-domain-picker.asset.php +1 -1
- editor-domain-picker/dist/editor-domain-picker.css +1 -1
- editor-domain-picker/dist/editor-domain-picker.js +3 -3
- editor-domain-picker/dist/editor-domain-picker.rtl.css +1 -1
- editor-domain-picker/src/domain-picker-button/index.tsx +8 -5
- editor-domain-picker/src/domain-picker-fse/index.tsx +28 -18
- editor-domain-picker/src/domain-picker-modal/index.tsx +4 -4
- editor-domain-picker/src/hooks/use-current-domain.ts +6 -4
- editor-domain-picker/src/stores/index.ts +2 -0
- editor-plans-grid/dist/editor-plans-grid.asset.php +1 -1
- editor-plans-grid/dist/editor-plans-grid.css +1 -1
- editor-plans-grid/dist/editor-plans-grid.js +2 -2
- editor-plans-grid/dist/editor-plans-grid.rtl.css +1 -1
- editor-plans-grid/src/hooks/use-selected-plan.ts +12 -6
- editor-plans-grid/src/plans-grid-button/index.tsx +0 -1
- editor-plans-grid/src/plans-grid-fse/index.tsx +16 -8
- editor-plans-grid/src/plans-modal/index.tsx +4 -4
- editor-plans-grid/src/plans-modal/styles.scss +1 -1
- editor-plans-grid/src/stores/index.ts +1 -0
- editor-site-launch/dist/editor-site-launch.asset.php +1 -1
- editor-site-launch/dist/editor-site-launch.css +1 -1
block-helpers/block-helpers.test.ts
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Internal dependencies
|
3 |
+
*/
|
4 |
+
import { getCategoryWithFallbacks } from '.';
|
5 |
+
|
6 |
+
jest.mock( '@wordpress/blocks', () => ( {
|
7 |
+
getCategories: () => [ { slug: 'foobar' }, { slug: 'barfoo' } ],
|
8 |
+
} ) );
|
9 |
+
|
10 |
+
describe( 'getCategoryWithFallbacks', () => {
|
11 |
+
describe( 'single category passed', () => {
|
12 |
+
it( 'returns the category if it exists', () => {
|
13 |
+
expect( getCategoryWithFallbacks( 'foobar' ) ).toBe( 'foobar' );
|
14 |
+
} );
|
15 |
+
it( 'throws an error if it does not exist', () => {
|
16 |
+
expect( () => getCategoryWithFallbacks( 'nah' ) ).toThrow( /nah/ );
|
17 |
+
} );
|
18 |
+
} );
|
19 |
+
|
20 |
+
describe( 'multiple categories are passed', () => {
|
21 |
+
it( 'throws an error if none of the categories exist', () => {
|
22 |
+
expect( () => getCategoryWithFallbacks( 'nah', 'meh', 'wut', 'foo' ) ).toThrow(
|
23 |
+
/nah,meh,wut,foo/
|
24 |
+
);
|
25 |
+
} );
|
26 |
+
|
27 |
+
it( 'ignores all unexisting categories until it finds the *first one* that exists, then returns it', () => {
|
28 |
+
expect( getCategoryWithFallbacks( 'foobar', 'meh', 'barfoo' ) ).toBe( 'foobar' );
|
29 |
+
expect( getCategoryWithFallbacks( 'nah', 'foobar', 'barfoo', 'foo' ) ).toBe( 'foobar' );
|
30 |
+
expect( getCategoryWithFallbacks( 'nah', 'meh', 'foobar' ) ).toBe( 'foobar' );
|
31 |
+
} );
|
32 |
+
} );
|
33 |
+
} );
|
block-helpers/index.ts
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* External dependencies
|
3 |
+
*/
|
4 |
+
import { getCategories } from '@wordpress/blocks';
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Accepts an array of category names and returns the first one that
|
8 |
+
* exists in the categories returned by `getCategories`. This allows
|
9 |
+
* for a "graceful degradation" strategy to category names, where
|
10 |
+
* we just add the new category name as the first item in the array
|
11 |
+
* argument, and leave the old ones for environments where they still
|
12 |
+
* exist and are used.
|
13 |
+
*
|
14 |
+
* @example
|
15 |
+
* // Prefer passing the new category first in the array, followed by
|
16 |
+
* // older fallback categories. Considering the 'new' category is
|
17 |
+
* // registered:
|
18 |
+
* getCategoryWithFallbacks( 'new', 'old', 'older' );
|
19 |
+
* // => 'new'
|
20 |
+
*
|
21 |
+
* @param {string[]} requestedCategories - an array of categories.
|
22 |
+
* @returns {string} the first category name found.
|
23 |
+
* @throws {Error} if the no categories could be found.
|
24 |
+
*/
|
25 |
+
export function getCategoryWithFallbacks( ...requestedCategories: string[] ): string {
|
26 |
+
const knownCategories = getCategories();
|
27 |
+
for ( const requestedCategory of requestedCategories ) {
|
28 |
+
if ( knownCategories.some( ( { slug } ) => slug === requestedCategory ) ) {
|
29 |
+
return requestedCategory;
|
30 |
+
}
|
31 |
+
}
|
32 |
+
throw new Error(
|
33 |
+
`Could not find a category from the provided list: ${ requestedCategories.join( ',' ) }`
|
34 |
+
);
|
35 |
+
}
|
block-inserter-modifications/index.php
CHANGED
@@ -23,7 +23,7 @@ function enqueue_script( $filename, $in_footer = false ) {
|
|
23 |
if ( ! file_exists( $asset_path ) ) {
|
24 |
throw new RuntimeException(
|
25 |
'Asset file not found: ' . $asset_path . '. ' .
|
26 |
-
'Please see https://github.com/Automattic/wp-calypso/blob/
|
27 |
'for more information about the Full Site Editing build system.'
|
28 |
);
|
29 |
}
|
23 |
if ( ! file_exists( $asset_path ) ) {
|
24 |
throw new RuntimeException(
|
25 |
'Asset file not found: ' . $asset_path . '. ' .
|
26 |
+
'Please see https://github.com/Automattic/wp-calypso/blob/HEAD/apps/full-site-editing/README.md#build-system ' .
|
27 |
'for more information about the Full Site Editing build system.'
|
28 |
);
|
29 |
}
|
common/data-stores/index.ts
CHANGED
@@ -3,3 +3,5 @@
|
|
3 |
*/
|
4 |
import './domain-suggestions';
|
5 |
import './plans';
|
|
|
|
3 |
*/
|
4 |
import './domain-suggestions';
|
5 |
import './plans';
|
6 |
+
import './site';
|
7 |
+
import './launch';
|
common/data-stores/launch/actions.ts
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* External dependencies
|
3 |
+
*/
|
4 |
+
import type { DomainSuggestions, Plans } from '@automattic/data-stores';
|
5 |
+
import { dispatch, select } from '@wordpress/data-controls';
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Internal dependencies
|
9 |
+
*/
|
10 |
+
import { SITE_ID, SITE_STORE, PLANS_STORE } from './constants';
|
11 |
+
|
12 |
+
export const setDomain = ( domain: DomainSuggestions.DomainSuggestion ) => ( {
|
13 |
+
type: 'SET_DOMAIN' as const,
|
14 |
+
domain,
|
15 |
+
} );
|
16 |
+
|
17 |
+
export const setDomainSearch = ( domainSearch: string ) => ( {
|
18 |
+
type: 'SET_DOMAIN_SEARCH' as const,
|
19 |
+
domainSearch,
|
20 |
+
} );
|
21 |
+
|
22 |
+
export const setPlan = ( plan: Plans.Plan ) => ( {
|
23 |
+
type: 'SET_PLAN' as const,
|
24 |
+
plan,
|
25 |
+
} );
|
26 |
+
|
27 |
+
export function* updatePlan( planSlug: Plans.PlanSlug ) {
|
28 |
+
const plan: Plans.Plan = yield select( PLANS_STORE, 'getPlanBySlug', planSlug );
|
29 |
+
yield setPlan( plan );
|
30 |
+
}
|
31 |
+
|
32 |
+
export function* launchSite() {
|
33 |
+
try {
|
34 |
+
const success = yield dispatch( SITE_STORE, 'launchSite', SITE_ID );
|
35 |
+
return success;
|
36 |
+
} catch ( error ) {
|
37 |
+
// console.log( 'launch error', error );
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
export type LaunchAction = ReturnType< typeof setDomain | typeof setDomainSearch | typeof setPlan >;
|
common/data-stores/launch/constants.ts
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
export const STORE_KEY = 'automattic/launch';
|
2 |
+
export const SITE_STORE = 'automattic/site';
|
3 |
+
export const PLANS_STORE = 'automattic/onboard/plans';
|
4 |
+
|
5 |
+
declare global {
|
6 |
+
interface Window {
|
7 |
+
_currentSiteId: number;
|
8 |
+
}
|
9 |
+
}
|
10 |
+
export const SITE_ID = window._currentSiteId;
|
common/data-stores/launch/index.ts
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* External dependencies
|
3 |
+
*/
|
4 |
+
import { controls } from '@wordpress/data-controls';
|
5 |
+
import { plugins, registerStore, use } from '@wordpress/data';
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Internal dependencies
|
9 |
+
*/
|
10 |
+
import { STORE_KEY } from './constants';
|
11 |
+
import reducer, { State } from './reducer';
|
12 |
+
import * as actions from './actions';
|
13 |
+
import * as selectors from './selectors';
|
14 |
+
import persistOptions from './persist';
|
15 |
+
import type { SelectFromMap, DispatchFromMap } from '@automattic/data-stores';
|
16 |
+
|
17 |
+
export type { State };
|
18 |
+
export { STORE_KEY };
|
19 |
+
|
20 |
+
use( plugins.persistence, persistOptions );
|
21 |
+
|
22 |
+
registerStore< State >( STORE_KEY, {
|
23 |
+
actions,
|
24 |
+
controls,
|
25 |
+
reducer: reducer as any,
|
26 |
+
selectors,
|
27 |
+
persist: [ 'domain', 'plan' ],
|
28 |
+
} );
|
29 |
+
|
30 |
+
declare module '@wordpress/data' {
|
31 |
+
function dispatch( key: typeof STORE_KEY ): DispatchFromMap< typeof actions >;
|
32 |
+
function select( key: typeof STORE_KEY ): SelectFromMap< typeof selectors >;
|
33 |
+
}
|
common/data-stores/launch/persist.ts
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* External dependencies
|
3 |
+
*/
|
4 |
+
import { persistenceConfigFactory } from '@automattic/data-stores';
|
5 |
+
|
6 |
+
export default persistenceConfigFactory( 'WP_LAUNCH' );
|
common/data-stores/launch/reducer.ts
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* External dependencies
|
3 |
+
*/
|
4 |
+
import type { Reducer } from 'redux';
|
5 |
+
import { combineReducers } from '@wordpress/data';
|
6 |
+
import type { DomainSuggestions, Plans } from '@automattic/data-stores';
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Internal dependencies
|
10 |
+
*/
|
11 |
+
import type { LaunchAction } from './actions';
|
12 |
+
|
13 |
+
const domain: Reducer< DomainSuggestions.DomainSuggestion | undefined, LaunchAction > = (
|
14 |
+
state,
|
15 |
+
action
|
16 |
+
) => {
|
17 |
+
if ( action.type === 'SET_DOMAIN' ) {
|
18 |
+
return action.domain;
|
19 |
+
}
|
20 |
+
return state;
|
21 |
+
};
|
22 |
+
|
23 |
+
const domainSearch: Reducer< string, LaunchAction > = ( state = '', action ) => {
|
24 |
+
if ( action.type === 'SET_DOMAIN_SEARCH' ) {
|
25 |
+
return action.domainSearch;
|
26 |
+
}
|
27 |
+
return state;
|
28 |
+
};
|
29 |
+
|
30 |
+
const plan: Reducer< Plans.Plan | undefined, LaunchAction > = ( state, action ) => {
|
31 |
+
if ( action.type === 'SET_PLAN' ) {
|
32 |
+
return action.plan;
|
33 |
+
}
|
34 |
+
return state;
|
35 |
+
};
|
36 |
+
|
37 |
+
const reducer = combineReducers( {
|
38 |
+
domain,
|
39 |
+
domainSearch,
|
40 |
+
plan,
|
41 |
+
} );
|
42 |
+
|
43 |
+
export type State = ReturnType< typeof reducer >;
|
44 |
+
|
45 |
+
export default reducer;
|
common/data-stores/launch/selectors.ts
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Internal dependencies
|
3 |
+
*/
|
4 |
+
import type { State } from './reducer';
|
5 |
+
|
6 |
+
export const getState = ( state: State ) => state;
|
7 |
+
|
8 |
+
export const hasPaidDomain = ( state: State ): boolean => {
|
9 |
+
if ( ! state.domain ) {
|
10 |
+
return false;
|
11 |
+
}
|
12 |
+
return ! state.domain.is_free;
|
13 |
+
};
|
14 |
+
export const getSelectedDomain = ( state: State ) => state.domain;
|
15 |
+
export const getSelectedPlan = ( state: State ) => state.plan;
|
common/data-stores/site.ts
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* External dependencies
|
3 |
+
*/
|
4 |
+
import { Site } from '@automattic/data-stores';
|
5 |
+
|
6 |
+
Site.register( { client_id: '', client_secret: '' } );
|
common/dist/common.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-polyfill'), 'version' => 'd95bc7e578d70f8ee26b568868efce5d');
|
common/dist/common.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}({32:function(e,t,n){"use strict";n.r(t);n(
|
1 |
+
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=32)}({32:function(e,t,n){"use strict";n.r(t);n(37)},37:function(e,t,n){}}));
|
common/dist/data-stores.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('react', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-polyfill'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('react', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-polyfill'), 'version' => 'b367061c92fcd517bbf555aa0ef960f8');
|
common/dist/data-stores.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=66)}([function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(43)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t){!function(){e.exports=this.wp.dataControls}()},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){var n,r=window.ProgressEvent,o=!!r;try{n=new r("loaded"),o="loaded"===n.type,n=null}catch(i){o=!1}e.exports=o?r:"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("Event");return n.initEvent(e,!1,!1),t?(n.lengthComputable=Boolean(t.lengthComputable),n.loaded=Number(t.loaded)||0,n.total=Number(t.total)||0):(n.lengthComputable=!1,n.loaded=n.total=0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.lengthComputable=Boolean(t.lengthComputable),n.loaded=Number(t.loaded)||0,n.total=Number(t.total)||0):(n.lengthComputable=!1,n.loaded=n.total=0),n}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),u=0;u<s.length;++u){var c=s[u],l=a[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:c}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n){if(0===e.length)return e;var r=e;if("symbol"==typeof e?r=Symbol.prototype.toString.call(e):"string"!=typeof e&&(r=String(e)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=r.charAt(a):s<128?o+=i[s]:s<2048?o+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?o+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),o+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=a(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),s)}}},function(e,t,n){"use strict";var r=n(16),o=n(15);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)n.push(parseInt(e[o]+e[o+1],16))}else for(var r=0,o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):i(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(o=0;o<e.length;o++)n[o]=0|e[o];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e[r];"little"===t&&(o=a(o)),n+=u(o.toString(16))}return n},t.zero2=s,t.zero8=u,t.join32=function(e,t,n,o){var i=n-t;r(i%4==0);for(var a=new Array(i/4),s=0,u=t;s<a.length;s++,u+=4){var c;c="big"===o?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],a[s]=c>>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,o=0;r<e.length;r++,o+=4){var i=e[r];"big"===t?(n[o]=i>>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,o){return e+t+n+r+o>>>0},t.sum64=function(e,t,n,r){var o=e[t],i=r+e[t+1]>>>0,a=(i<r?1:0)+n+o;e[t]=a>>>0,e[t+1]=i},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,o,i,a,s){var u=0,c=t;return u+=(c=c+r>>>0)<t?1:0,u+=(c=c+i>>>0)<i?1:0,e+n+o+a+(u+=(c=c+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,o,i,a,s){return t+r+i+s>>>0},t.sum64_5_hi=function(e,t,n,r,o,i,a,s,u,c){var l=0,f=t;return l+=(f=f+r>>>0)<t?1:0,l+=(f=f+i>>>0)<i?1:0,l+=(f=f+s>>>0)<s?1:0,e+n+o+a+u+(l+=(f=f+c>>>0)<c?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,o,i,a,s,u,c){return t+r+i+s+c>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){var r=n(44),o=n(45),i=n(12),a=n(46);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var o,i,a,s;if(c(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=p.bind(r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):y(o,o.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)i(u,this,t);else{var c=u.length,l=y(u,c);for(n=0;n<c;++n)i(l[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,d(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,d(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,o,i,a;if(c(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i=n(7),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=i.assign({default:a.RFC3986,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}}},a)},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){var r=n(40),o=n(42);function i(e,t){if(t)if("number"==typeof t)a(e,t);else{t.status_code&&a(e,t.status_code),t.error&&(e.name=u(t.error)),t.error_description&&(e.message=t.error_description);var n=t.errors;if(n)i(e,n.length?n[0]:n);for(var r in t)e[r]=t[r];e.status&&(t.method||t.path)&&s(e)}}function a(e,t){e.name=u(o[t]),e.status=e.statusCode=t,s(e)}function s(e){var t=e.status,n=e.method,r=e.path,o=t+" status code",i=n||r;i&&(o+=' for "'),n&&(o+=n),i&&(o+=" "),r&&(o+=r),i&&(o+='"'),e.message=o}function u(e){return r(String(e).replace(/error$/i,""),"error")}e.exports=function e(){for(var t=new Error,n=0;n<arguments.length;n++)i(t,arguments[n]);"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(t,e);return t}},function(e,t,n){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(n=t.cmp,function(e){return function(t,r){var o={key:t,value:e[t]},i={key:r,value:e[r]};return n(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,a;if(Array.isArray(t)){for(a="[",n=0;n<t.length;n++)n&&(a+=","),a+=e(t[n])||"null";return a+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(t)-1,u=Object.keys(t).sort(o&&o(t));for(a="",n=0;n<u.length;n++){var c=u[n],l=e(t[c]);l&&(a&&(a+=","),a+=JSON.stringify(c)+":"+l)}return i.splice(s,1),"{"+a+"}"}}(e)}},function(e,t,n){"use strict";var r=n(48),o=n(49),i=n(13);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(0)),i=s(n(50)),a=s(n(53));function s(e){return e&&e.__esModule?e:{default:e}}var u=void 0;function c(e,t){var n,a,s,l,f,p,d,h,m=[],y={};for(p=0;p<e.length;p++)if("string"!==(f=e[p]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==r(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+u);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],s=p;break}m.push(t[f.value])}else m.push(f.value);return n&&(l=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(s,e),d=c(e.slice(s+1,l),t),a=o.default.cloneElement(n,{},d),m.push(a),l<e.length-1&&(h=c(e.slice(l+1),t),m=m.concat(h))),1===m.length?m[0]:(m.forEach((function(e,t){e&&(y["interpolation-child-"+t]=e)})),(0,i.default)(y))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(u=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return c(i,n)}catch(s){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+s.message+"`");return t}}},function(e,t,n){var r=n(10),o=n(15);function i(e){if(!(this instanceof i))return new i(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=i,o(i,r.EventEmitter),Object.defineProperty(i.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),i.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},i.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},i.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},i.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},i.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},i.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},i.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},i.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(8),o=n(54),i=n(55),a=r.rotl32,s=r.sum32,u=r.sum32_5,c=i.ft_1,l=o.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function p(){if(!(this instanceof p))return new p;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(p,l),e.exports=p,p.blockSize=512,p.outSize=160,p.hmacStrength=80,p.padLength=64,p.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=a(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var o=this.h[0],i=this.h[1],l=this.h[2],p=this.h[3],d=this.h[4];for(r=0;r<n.length;r++){var h=~~(r/20),m=u(a(o,5),c(h,i,l,p),d,n[r],f[h]);d=p,p=l,l=a(i,30),i=o,o=m}this.h[0]=s(this.h[0],o),this.h[1]=s(this.h[1],i),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],p),this.h[4]=s(this.h[4],d)},p.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){var r=n(2);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(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)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(56);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(57),o=n(58),i=n(59);e.exports=function(e){return function(){var t,n=r(e);if(o()){var a=r(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return i(this,t)}}},function(e,t,n){var r=n(61),o=n(62),i=n(12),a=n(63);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";e.exports=n(64)},function(e,t){!function(){e.exports=this.wp.compose}()},,,,,,,,,function(e,t,n){"use strict";var r=n(41);e.exports=function(){var e=r.apply(r,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,n){"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(e,t,n){var r=n(9);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return o.colors[Math.abs(t)%o.colors.length]}function o(e){var n;function r(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(r.enabled){var a=r,s=Number(new Date),u=s-(n||s);a.diff=u,a.prev=n,a.curr=s,n=s,t[0]=o.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var c=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;c++;var r=o.formatters[n];if("function"==typeof r){var i=t[c];e=r.call(a,i),t.splice(c,1),c--}return e})),o.formatArgs.call(a,t);var l=a.log||o.log;l.apply(a,t)}}return r.namespace=e,r.enabled=o.enabled(e),r.useColors=o.useColors(),r.color=t(e),r.destroy=i,r.extend=a,"function"==typeof o.init&&o.init(r),o.instances.push(r),r}function i(){var e=o.instances.indexOf(this);return-1!==e&&(o.instances.splice(e,1),!0)}function a(e,t){var n=o(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return o.debug=o,o.default=o,o.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},o.disable=function(){var e=[].concat(r(o.names.map(s)),r(o.skips.map(s).map((function(e){return"-"+e})))).join(",");return o.enable(""),e},o.enable=function(e){var t;o.save(e),o.names=[],o.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?o.skips.push(new RegExp("^"+e.substr(1)+"$")):o.names.push(new RegExp("^"+e+"$")));for(t=0;t<o.instances.length;t++){var i=o.instances[t];i.enabled=o.enabled(i.namespace)}},o.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=o.skips.length;t<n;t++)if(o.skips[t].test(e))return!1;for(t=0,n=o.names.length;t<n;t++)if(o.names[t].test(e))return!0;return!1},o.humanize=n(47),Object.keys(e).forEach((function(t){o[t]=e[t]})),o.instances=[],o.names=[],o.skips=[],o.formatters={},o.selectColor=t,o.enable(o.load()),o}},function(e,t,n){var r=n(11);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return a(e,t,i,"day");if(t>=o)return a(e,t,o,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";var r=n(7),o=n(13),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,s(t)?t:[t])},l=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},d=function e(t,n,o,i,a,u,l,f,d,h,m,y,g){var v,b=t;if("function"==typeof l?b=l(n,b):b instanceof Date?b=h(b):"comma"===o&&s(b)&&(b=r.maybeMap(b,(function(e){return e instanceof Date?h(e):e})).join(",")),null===b){if(i)return u&&!y?u(n,p.encoder,g,"key"):n;b=""}if("string"==typeof(v=b)||"number"==typeof v||"boolean"==typeof v||"symbol"==typeof v||"bigint"==typeof v||r.isBuffer(b))return u?[m(y?n:u(n,p.encoder,g,"key"))+"="+m(u(b,p.encoder,g,"value"))]:[m(n)+"="+m(String(b))];var w,O=[];if(void 0===b)return O;if(s(l))w=l;else{var S=Object.keys(b);w=f?S.sort(f):S}for(var _=0;_<w.length;++_){var C=w[_],x=b[C];if(!a||null!==x){var E=s(b)?"function"==typeof o?o(n,C):n:n+(d?"."+C:"["+C+"]");c(O,e(x,E,o,i,a,u,l,f,d,h,m,y,g))}}return O};e.exports=function(e,t){var n,r=e,u=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=p.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof u.filter?r=(0,u.filter)("",r):s(u.filter)&&(n=u.filter);var l,f=[];if("object"!=typeof r||null===r)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=a[l];n||(n=Object.keys(r)),u.sort&&n.sort(u.sort);for(var m=0;m<n.length;++m){var y=n[m];u.skipNulls&&null===r[y]||c(f,d(r[y],y,h,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.formatter,u.encodeValuesOnly,u.charset))}var g=f.join(u.delimiter),v=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),g.length>0?v+g:""}},function(e,t,n){"use strict";var r=n(7),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,l=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+i.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:u(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:a[c]=o:a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,c={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=l.split(t.delimiter,f),d=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?h="utf-8":"utf8=%26%2310003%3B"===p[n]&&(h="iso-8859-1"),d=n,n=p.length);for(n=0;n<p.length;++n)if(n!==d){var m,y,g=p[n],v=g.indexOf("]="),b=-1===v?g.indexOf("="):v+1;-1===b?(m=t.decoder(g,a.decoder,h,"key"),y=t.strictNullHandling?null:""):(m=t.decoder(g.slice(0,b),a.decoder,h,"key"),y=r.maybeMap(u(g.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),y&&t.interpretNumericEntities&&"iso-8859-1"===h&&(y=s(y)),g.indexOf("[]=")>-1&&(y=i(y)?[y]:y),o.call(c,m)?c[m]=r.combine(c[m],y):c[m]=y}return c}(e,n):e,f=n.plainObjects?Object.create(null):{},p=Object.keys(l),d=0;d<p.length;++d){var h=p[d],m=c(h,l[h],n,"string"==typeof e);f=r.merge(f,m,n)}return r.compact(f)}},function(e,t,n){"use strict";var r=n(0),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(14),a=n(51),s=n(52),u="function"==typeof Symbol&&Symbol.iterator;function c(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function l(e,t,n,r){var i,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===o)return n(r,e,""===t?"."+c(e,0):t),1;var f=0,p=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)f+=l(i=e[d],p+c(i,d),n,r);else{var h=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var m,y=h.call(e),g=0;!(m=y.next()).done;)f+=l(i=m.value,p+c(i,g++),n,r)}else if("object"===s){0;var v=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===v?"object with keys {"+Object.keys(e).join(", ")+"}":v,"")}}return f}var f=/\/+/g;function p(e){return(""+e).replace(f,"$&/")}var d,h,m=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function b(e,t,n){var o,a,s=e.result,u=e.keyPrefix,c=e.func,l=e.context,f=c.call(l,t,e.count++);Array.isArray(f)?w(f,s,n,i.thatReturnsArgument):null!=f&&(r.isValidElement(f)&&(o=f,a=u+(!f.key||t&&t.key===f.key?"":p(f.key)+"/")+n,f=r.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),s.push(f))}function w(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var a=v.getPooled(t,i,r,o);!function(e,t,n){null==e||l(e,"",t,n)}(e,b,a),v.release(a)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(h=v).instancePool=[],h.getPooled=d||m,h.poolSize||(h.poolSize=10),h.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)w(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=n(14);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(8),o=n(16);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var o=1;o<n;o++)r[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[o++]=0;r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=e>>>24&255,r[o++]=e>>>16&255,r[o++]=e>>>8&255,r[o++]=255&e}else for(r[o++]=255&e,r[o++]=e>>>8&255,r[o++]=e>>>16&255,r[o++]=e>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,i=8;i<this.padLength;i++)r[o++]=0;return r}},function(e,t,n){"use strict";var r=n(8).rotr32;function o(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}function a(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?o(t,n,r):1===e||3===e?a(t,n,r):2===e?i(t,n,r):void 0},t.ch32=o,t.maj32=i,t.p32=a,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,n){var r=n(60),o=n(5);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){"use strict";
|
2 |
/** @license React v1.3.0
|
3 |
* use-subscription.production.min.js
|
4 |
*
|
@@ -6,16 +6,16 @@
|
|
6 |
*
|
7 |
* This source code is licensed under the MIT license found in the
|
8 |
* LICENSE file in the root directory of this source tree.
|
9 |
-
*/Object.defineProperty(t,"__esModule",{value:!0});var r=n(
|
10 |
/*
|
11 |
object-assign
|
12 |
(c) Sindre Sorhus
|
13 |
@license MIT
|
14 |
-
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))o.call(n,l)&&(u[l]=n[l]);if(r){s=r(n);for(var f=0;f<s.length;f++)i.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"receiveCategories",(function(){return b})),n.d(r,"receiveDomainSuggestions",(function(){return w}));var o={};n.r(o),n.d(o,"getCategories",(function(){return ee})),n.d(o,"__internalGetDomainSuggestions",(function(){return te}));var i={};n.r(i),n.d(i,"register",(function(){return oe}));var a={};n.r(a),n.d(a,"setPrices",(function(){return bt})),n.d(a,"setPlan",(function(){return wt})),n.d(a,"resetPlan",(function(){return Ot}));var s={};n.r(s),n.d(s,"getSelectedPlan",(function(){return _t})),n.d(s,"getDefaultPlan",(function(){return Ct})),n.d(s,"getSupportedPlans",(function(){return xt})),n.d(s,"getPlanByPath",(function(){return Et})),n.d(s,"getPlansDetails",(function(){return jt})),n.d(s,"getPlansPaths",(function(){return At})),n.d(s,"getPrices",(function(){return Pt})),n.d(s,"isPlanEcommerce",(function(){return Ft})),n.d(s,"isPlanFree",(function(){return Nt}));var u={};n.r(u),n.d(u,"getPrices",(function(){return kt}));var c={};n.r(c),n.d(c,"plansPaths",(function(){return ht})),n.d(c,"register",(function(){return Tt}));var l=n(1),f="automattic/domains/suggestions";var p=function(){return(p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function d(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}var y=n(18),g=n.n(y).a,v=Object(l.combineReducers)({categories:function(e,t){return void 0===e&&(e=[]),"RECEIVE_CATEGORIES"===t.type?t.categories:e},domainSuggestions:function(e,t){var n;return void 0===e&&(e={}),"RECEIVE_DOMAIN_SUGGESTIONS"===t.type?p(p({},e),((n={})[g(t.queryObject)]=t.suggestions,n)):e}}),b=function(e){return{type:"RECEIVE_CATEGORIES",categories:e}},w=function(e,t){return{type:"RECEIVE_DOMAIN_SUGGESTIONS",queryObject:e,suggestions:t}},O=n(19),S="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),_=new Uint8Array(16);function C(){if(!S)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return S(_)}for(var x=[],E=0;E<256;++E)x[E]=(E+256).toString(16).substr(1);var j=function(e,t){var n=t||0,r=x;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")};var A,P=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||C)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var i=0;i<16;++i)t[r+i]=o[i];return t||j(o)},F=n(17),N=n.n(F),k=n(6),L=n.n(k),T=n(3),M=n.n(T),R=M()("wpcom-proxy-request"),D="https://public-api.wordpress.com",U=window.location.protocol+"//"+window.location.host,H=function(){var e=!1;try{window.postMessage({toString:function(){e=!0}},"*")}catch(t){}return e}(),I=function(){try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(e){return!1}}(),B=null,G=!1,q={},z=!!window.ProgressEvent&&!!window.FormData;R('using "origin": %o',U);var Y=function(e,t){var n=Object.assign({},e);R("request(%o)",n),B||J();var r=P();n.callback=r,n.supports_args=!0,n.supports_error_obj=!0,n.supports_progress=z,n.method=String(n.method||"GET").toUpperCase(),R("params object: %o",n);var o=new window.XMLHttpRequest;if(o.params=n,q[r]=o,"function"==typeof t){var i=!1,a=function(e){if(!i){i=!0;var n=e.error||e.err||e;R("error: ",n),R("headers: ",e.headers),t(n,null,e.headers)}};o.addEventListener("load",(function(e){if(!i){i=!0;var n=e.response||o.response;R("body: ",n),R("headers: ",e.headers),t(null,n,e.headers)}})),o.addEventListener("abort",a),o.addEventListener("error",a)}return G?$(n):(R("buffering API request since proxying <iframe> is not yet loaded"),A.push(n)),o},V=function(e,t){return"function"==typeof t?Y(e,t):new Promise((function(t,n){Y(e,(function(e,r){e?n(e):t(r)}))}))};function $(e){R("sending API request to proxy <iframe> %o",e),e.formData&&function(e){if(!window.chrome||!I)return;for(var t=0;t<e.length;t++){var n=K(e[t][1]);n&&(e[t][1]=new window.File([n],n.name,{type:n.type}))}}(e.formData),B.contentWindow.postMessage(H?JSON.stringify(e):e,D)}function W(e){return e&&"[object File]"===Object.prototype.toString.call(e)}function K(e){return W(e)?e:"object"==typeof e&&W(e.fileContents)?e.fileContents:null}function J(){R("install()"),B&&(R("uninstall()"),window.removeEventListener("message",Q),document.body.removeChild(B),G=!1,B=null),A=[],window.addEventListener("message",Q),(B=document.createElement("iframe")).src=D+"/wp-admin/rest-proxy/?v=2.0#"+U,B.style.display="none",document.body.appendChild(B)}function Q(e){if(R("onmessage"),e.origin===D){var t=e.data;if(!t)return R("no `data`, bailing");if("ready"!==t){if(H&&"string"==typeof t&&(t=JSON.parse(t)),t.upload||t.download)return function(e){R('got "progress" event: %o',e);var t=q[e.callbackId];if(t){var n=new L.a("progress",e);(e.upload?t.upload:t).dispatchEvent(n)}}(t);if(!t.length)return R("`e.data` doesn't appear to be an Array, bailing...");var n=t[t.length-1];if(!(n in q))return R("bailing, no matching request with callback: %o",n);var r=q[n],o=r.params,i=t[0],a=t[1],s=t[2];if(207===a||delete q[n],o.metaAPI?a="metaAPIupdated"===i?200:500:R("got %o status code for URL: %o",a,o.path),"object"==typeof s&&(s.status=a),a&&2===Math.floor(a/100))!function(e,t,n){var r=new L.a("load");r.data=r.body=r.response=t,r.headers=n,e.dispatchEvent(r)}(r,i,s);else!function(e,t,n){var r=new L.a("error");r.error=r.err=t,r.headers=n,e.dispatchEvent(r)}(r,N()(o,a,i),s)}else!function(){if(R('proxy <iframe> "load" event'),G=!0,A){for(var e=0;e<A.length;e++)$(A[e]);A=null}}()}else R("ignoring message... %o !== %o",e.origin,D)}var Z=V,X={WPCOM_REQUEST:function(e){var t=e.request;return Z(t)},FETCH_AND_PARSE:function(e){var t,n,r,o,i=e.resource,a=e.options;return t=void 0,n=void 0,o=function(){var e,t;return d(this,(function(n){switch(n.label){case 0:return[4,window.fetch(i,a)];case 1:return e=n.sent(),t={ok:e.ok},[4,e.json()];case 2:return[2,(t.body=n.sent(),t)]}}))},new((r=void 0)||(r=Promise))((function(e,i){function a(e){try{u(o.next(e))}catch(t){i(t)}}function s(e){try{u(o.throw(e))}catch(t){i(t)}}function u(t){t.done?e(t.value):new r((function(e){e(t.value)})).then(a,s)}u((o=o.apply(t,n||[])).next())}))},RELOAD_PROXY:function(){J()},REQUEST_ALL_BLOGS_ACCESS:function(){return V({metaAPI:{accessAllUsersBlogs:!0}})},WAIT:function(e){var t=e.ms;return new Promise((function(e){return setTimeout(e,t)}))}};function ee(){var e;return d(this,(function(t){switch(t.label){case 0:return[4,(n="https://public-api.wordpress.com/wpcom/v2/onboarding/domains/categories",{type:"FETCH_AND_PARSE",resource:n,options:r})];case 1:return e=t.sent(),[2,b(e.body)]}var n,r}))}function te(e){var t;return d(this,(function(n){switch(n.label){case 0:return e.query?[4,(r={apiVersion:"1.1",path:"/domains/suggestions",query:Object(O.stringify)(e)},{type:"WPCOM_REQUEST",request:r})]:[2,w(e,[])];case 1:return t=n.sent(),[2,w(e,t)]}var r}))}var ne=function(e){function t(t,n){return p(p({include_wordpressdotcom:n.only_wordpressdotcom||!1,include_dotblogsubdomain:!1,only_wordpressdotcom:!1,quantity:5,vendor:e},n),{query:t.trim().toLocaleLowerCase()})}return{getCategories:function(e){return m(e.categories.filter((function(e){return null!==e.tier})).sort((function(e,t){return e>t?1:-1})),e.categories.filter((function(e){return null===e.tier})).sort((function(e,t){return e.title.localeCompare(t.title)})))},getDomainSuggestions:function(e,n,r){void 0===r&&(r={});var o=t(n,r);return Object(l.select)(f).__internalGetDomainSuggestions(o)},getDomainSuggestionVendor:function(){return e},isLoadingDomainSuggestions:function(e,n,r){void 0===r&&(r={});var o=t(n,r);return Object(l.select)("core/data").isResolving(f,"__internalGetDomainSuggestions",[o])},__internalGetDomainSuggestions:function(e,t){return e.domainSuggestions[g(t)]}}},re=!1;function oe(e){var t=e.vendor;return re||(re=!0,Object(l.registerStore)(f,{actions:r,controls:X,reducer:v,resolvers:o,selectors:ne(t)})),f}var ie,ae,se,ue,ce=n(4),le={USD:{format:"SYMBOL_THEN_AMOUNT",symbol:"$",decimal:2},GBP:{format:"SYMBOL_THEN_AMOUNT",symbol:"£",decimal:2},JPY:{format:"SYMBOL_THEN_AMOUNT",symbol:"¥",decimal:0},BRL:{format:"SYMBOL_THEN_AMOUNT",symbol:"R$",decimal:2},EUR:{format:"SYMBOL_THEN_AMOUNT",symbol:"€",decimal:2},NZD:{format:"SYMBOL_THEN_AMOUNT",symbol:"NZ$",decimal:2},AUD:{format:"SYMBOL_THEN_AMOUNT",symbol:"A$",decimal:2},CAD:{format:"SYMBOL_THEN_AMOUNT",symbol:"C$",decimal:2},IDR:{format:"AMOUNT_THEN_SYMBOL",symbol:"Rp",decimal:0},INR:{format:"AMOUNT_THEN_SYMBOL",symbol:"₹",decimal:0},ILS:{format:"AMOUNT_THEN_SYMBOL",symbol:"₪",decimal:2},RUB:{format:"AMOUNT_THEN_SYMBOL",symbol:"₽",decimal:2},MXN:{format:"SYMBOL_THEN_AMOUNT",symbol:"MX$",decimal:2},SEK:{format:"AMOUNT_THEN_SYMBOL",symbol:"SEK",decimal:2},HUF:{format:"AMOUNT_THEN_SYMBOL",symbol:"Ft",decimal:0},CHF:{format:"AMOUNT_THEN_SYMBOL",symbol:"CHF",decimal:2},CZK:{format:"AMOUNT_THEN_SYMBOL",symbol:"Kč",decimal:2},DKK:{format:"AMOUNT_THEN_SYMBOL",symbol:"Dkr",decimal:2},HKD:{format:"AMOUNT_THEN_SYMBOL",symbol:"HK$",decimal:2},NOK:{format:"AMOUNT_THEN_SYMBOL",symbol:"Kr",decimal:2},PHP:{format:"AMOUNT_THEN_SYMBOL",symbol:"₱",decimal:2},PLN:{format:"AMOUNT_THEN_SYMBOL",symbol:"PLN",decimal:2},SGD:{format:"SYMBOL_THEN_AMOUNT",symbol:"S$",decimal:2},TWD:{format:"SYMBOL_THEN_AMOUNT",symbol:"NT$",decimal:0},THB:{format:"SYMBOL_THEN_AMOUNT",symbol:"฿",decimal:2},TRY:{format:"AMOUNT_THEN_SYMBOL",symbol:"TL",decimal:2}},fe=n(9),pe=n.n(fe),de=n(2),he=n.n(de),me=n(20),ye=n.n(me);ie={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},ae=["(","?"],se={")":["("],":":["?","?:"]},ue=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var ge={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function ve(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(ue);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(se[n]){if(se[n][0]===o){n=se[n][1]||n;break}}else if(ae.indexOf(o)>=0||ie[o]<ie[n]){a.push(o);break}i.push(o)}se[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,s,u=[];for(n=0;n<e.length;n++){if(a=e[n],i=ge[a]){for(r=i.length,o=Array(r);r--;)o[r]=u.pop();try{s=i.apply(null,o)}catch(c){return c}}else s=t.hasOwnProperty(a)?t[a]:+a;u.push(s)}return u[0]}(t,e)}}var be={contextDelimiter:"",onMissingKey:null};function we(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},be)this.options[n]=void 0!==t&&n in t?t[n]:be[n]}we.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=ve(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},we.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,s;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(s=this.data[e][a])&&s[i]?s[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var Oe=n(21),Se=n.n(Oe),_e=n(22),Ce=n.n(_e),xe=n(10),Ee=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function je(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(Ee,(function(){var e,r,o,i,a;return e=arguments[3],r=arguments[5],o=arguments[7],"%"===(i=arguments[9])?"%":("*"===o&&(o=t[n-1],n++),void 0!==r?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(a=t[0][r]):(void 0===e&&(e=n),n++,a=t[e-1]),"f"===i?a=parseFloat(a)||0:"d"===i&&(a=parseInt(a)||0),void 0!==o&&("f"===i?a=a.toFixed(o):"s"===i&&(a=a.substr(0,o))),null!=a?a:"")}))}
|
15 |
/*
|
16 |
* Exposes number format capability
|
17 |
*
|
18 |
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
|
19 |
* @license See CREDITS.md
|
20 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
21 |
-
*/function Ae(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a=void 0===r?",":r,s=void 0===n?".":n,u="";return(u=(i?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(o,i):""+Math.round(o)).split("."))[0].length>3&&(u[0]=u[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(u[1]||"").length<i&&(u[1]=u[1]||"",u[1]+=new Array(i-u[1].length+1).join("0")),u.join(s)}var Pe=M()("i18n-calypso"),Fe=[function(e){return e}],Ne={};function ke(){De.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function Le(e){return Array.prototype.slice.call(e)}function Te(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&ke("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",Le(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&ke("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",Le(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function Me(e,t){return e.dcnpgettext("messages",t.context,t.original,t.plural,t.count)}function Re(e,t){for(var n=Fe.length-1;n>=0;n--){var r=Fe[n](Object.assign({},t)),o=r.context?r.context+""+r.original:r.original;if(e.state.locale[o])return Me(e.state.tannin,r)}return null}function De(){if(!(this instanceof De))return new De;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:Se()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new xe.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}De.throwErrors=!1,De.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},De.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},De.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},De.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",o=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return Ae(e,n,r,o)},De.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},De.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var o=e[""]["key-hash"],i=function(e,t){var n=!1===t?"":String(t);if(void 0!==Ne[n+e])return Ne[n+e];var r=Ce()().update(e).digest("hex");return Ne[n+e]=t?r.substr(0,t):r},a=function(e){return function(t){return t.context?(t.original=i(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=i(t.original,e),t}};if("sha1"===o.substr(0,4))if(4===o.length)Fe.push(a(!1));else{var s=o.substr(5).indexOf("-");if(s<0){var u=Number(o.substr(5));Fe.push(a(u))}else for(var c=Number(o.substr(5,s)),l=Number(o.substr(6+s)),f=c;f<=l;f++)Fe.push(a(f))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new we(he()({},"messages",this.state.locale)),this.state.numberFormatSettings.decimal_point=Me(this.state.tannin,Te(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=Me(this.state.tannin,Te(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},De.prototype.getLocale=function(){return this.state.locale},De.prototype.getLocaleSlug=function(){return this.state.localeSlug},De.prototype.isRtl=function(){return"rtl"===this.state.textDirection},De.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},De.prototype.hasTranslation=function(){return!!Re(this,Te(arguments))},De.prototype.translate=function(){var e=Te(arguments),t=Re(this,e);if(t||(t=Me(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=je.apply(void 0,pe()(n))}catch(o){if(!window||!window.console)return;var r=this.throwErrors?"error":"warn";"string"!=typeof o?window.console[r](o):window.console[r]("i18n sprintf error:",n)}}return e.components&&(t=ye()({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},De.prototype.reRenderTranslations=function(){Pe("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},De.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},De.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var Ue=De,He=n(23),Ie=n.n(He),Be=n(24),Ge=n.n(Be),qe=n(25),ze=n.n(qe),Ye=n(5),Ve=n.n(Ye),$e=n(26),We=n.n($e),Ke=n(27),Je=n.n(Ke),Qe=n(0),Ze=n.n(Qe),Xe=n(28),et=n.n(Xe),tt=n(29),nt=n.n(tt),rt=n(30),ot=n(31);var it,at,st,ut,ct=new Ue,lt=(ct.numberFormat.bind(ct),ct.translate.bind(ct)),ft=(ct.configure.bind(ct),ct.setLocale.bind(ct),ct.getLocale.bind(ct),ct.getLocaleSlug.bind(ct),ct.addTranslations.bind(ct),ct.reRenderTranslations.bind(ct),ct.registerComponentUpdateHook.bind(ct),ct.registerTranslateHook.bind(ct),ct.state,ct.stateObserver,ct.on.bind(ct),ct.off.bind(ct),ct.emit.bind(ct),at={numberFormat:(it=ct).numberFormat.bind(it),translate:it.translate.bind(it)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(ct),function(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return Object(rt.useSubscription)(t)}var r=Object(ot.createHigherOrderComponent)((function(e){return Object(Qe.forwardRef)((function(t,r){var o=n();return Ze.a.createElement(e,nt()({},t,{isRtl:o,ref:r}))}))}),"WithRTL");return{useRtl:n,withRtl:r}}(ct)),pt=(ft.useRtl,ft.withRtl,["Remove WordPress.com ads","Email & basic Live Chat Support","Collect recurring payments","Collect one-time payments","Earn ad revenue","Premium themes","Upload videos","Google Analytics support","Business features (incl. SEO)","Upload themes","Install plugins","Accept Payments in 60+ Countries"]),dt=((st={}).free_plan={title:lt("Free"),productId:1,storeSlug:"free_plan",pathSlug:"beginner",features:["3 GB storage space"],isFree:!0},st["personal-bundle"]={title:lt("Personal"),productId:1009,storeSlug:"personal-bundle",pathSlug:"personal",features:m(["6 GB storage space"],pt.slice(0,3))},st.value_bundle={title:lt("Premium"),productId:1003,storeSlug:"value_bundle",pathSlug:"premium",features:m(["13 GB storage space"],pt.slice(0,8)),isPopular:!0},st["business-bundle"]={title:lt("Business"),productId:1008,storeSlug:"business-bundle",pathSlug:"business",features:m(["200 GB storage space"],pt.slice(0,11))},st["ecommerce-bundle"]={title:lt("eCommerce"),productId:1011,storeSlug:"ecommerce-bundle",pathSlug:"ecommerce",features:m(["200 GB storage space"],pt)},st),ht=Object.keys(dt).map((function(e){return dt[e].pathSlug})),mt=[{id:"general",name:null,features:[{name:"Free domain for One Year",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Email & basic live chat support",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"24/7 Priority live chat support",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Preinstalled SSL security",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Jetpack essential features",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Storage",type:"text",data:["3 GB","6 GB","13 GB","200 GB","200 GB"]},{name:"Dozens of free designs",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Remove WordPress.com ads",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Unlimited premium themes",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Advanced design customization",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Get personalized help",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Install plugins",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Upload themes",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Remove WordPress.com branding",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Automated backup & one-click rewind",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"SFTP and database access",type:"checkbox",data:[!1,!1,!1,!0,!0]}]},{id:"commerce",name:"Commerce",features:[{name:"Sell subscriptions (recurring payments)",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Sell single items (simple payments)",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Accept payments in 60+ countries",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Integrations with top shipping carriers",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Sell anything (products and/or services)",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Premium customizable starter themes",type:"checkbox",data:[!1,!1,!1,!1,!0]}]},{id:"marketing",name:"Marketing",features:[{name:"WordAds",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Advanced social media tools",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"VideoPress support",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"SEO tools",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Commerce marketing tools",type:"checkbox",data:[!1,!1,!1,!1,!0]}]}],yt=Object.keys(dt),gt={supportedPlanSlugs:yt,selectedPlanSlug:void 0,prices:(ut={},ut.free_plan="",ut["personal-bundle"]="",ut.value_bundle="",ut["business-bundle"]="",ut["ecommerce-bundle"]="",ut)},vt=function(e,t){switch(void 0===e&&(e=gt),t.type){case"SET_PLAN":return p(p({},e),{selectedPlanSlug:t.slug});case"SET_PRICES":return p(p({},e),{prices:t.prices});case"RESET_PLAN":return gt;default:return e}},bt=function(e){return{type:"SET_PRICES",prices:e}},wt=function(e){return{type:"SET_PLAN",slug:e}},Ot=function(){return{type:"RESET_PLAN"}};function St(e){return dt[e]}var _t=function(e){return e.selectedPlanSlug?St(e.selectedPlanSlug):null},Ct=function(e,t,n){return t||n?St("value_bundle"):void 0},xt=function(e){return e.supportedPlanSlugs.map(St)},Et=function(e,t){return t&&xt(e).find((function(e){return(null==e?void 0:e.pathSlug)===t}))},jt=function(){return mt},At=function(e){return xt(e).map((function(e){return null==e?void 0:e.pathSlug}))},Pt=function(e){return e.prices},Ft=function(e,t){return"ecommerce-bundle"===t},Nt=function(e,t){return"free_plan"===t};function kt(){var e,t,n;return d(this,(function(r){switch(r.label){case 0:return[4,Object(ce.apiFetch)({global:!0,url:"https://public-api.wordpress.com/rest/v1.5/plans",mode:"cors",credentials:"omit"})];case 1:return e=r.sent(),t=e.filter((function(e){return-1!==yt.indexOf(e.product_slug)})),n=t.reduce((function(e,t){return e[t.product_slug]=function(e){var t=le[e.currency_code],n=e.raw_price/12;return Number.isInteger(n)||(n=n.toFixed(t.decimal)),"AMOUNT_THEN_SYMBOL"===t.format?""+n+t.symbol:""+t.symbol+n}(t),e}),{}),[4,bt(n)];case 2:return r.sent(),[2]}}))}var Lt=!1;function Tt(){return Lt||(Lt=!0,Object(l.registerStore)("automattic/onboard/plans",{resolvers:u,actions:a,controls:ce.controls,reducer:vt,selectors:s,persist:["selectedPlanSlug"]})),"automattic/onboard/plans"}i.register({vendor:"variation2_front"}),c.register()}]));
|
1 |
+
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=64)}([function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.dataControls}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(41)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){var n,r=window.ProgressEvent,o=!!r;try{n=new r("loaded"),o="loaded"===n.type,n=null}catch(i){o=!1}e.exports=o?r:"function"==typeof document.createEvent?function(e,t){var n=document.createEvent("Event");return n.initEvent(e,!1,!1),t?(n.lengthComputable=Boolean(t.lengthComputable),n.loaded=Number(t.loaded)||0,n.total=Number(t.total)||0):(n.lengthComputable=!1,n.loaded=n.total=0),n}:function(e,t){var n=document.createEventObject();return n.type=e,t?(n.lengthComputable=Boolean(t.lengthComputable),n.loaded=Number(t.loaded)||0,n.total=Number(t.total)||0):(n.lengthComputable=!1,n.loaded=n.total=0),n}},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),a=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:a,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],s=Object.keys(a),u=0;u<s.length;++u){var c=s[u],l=a[c];"object"==typeof l&&null!==l&&-1===n.indexOf(l)&&(t.push({obj:a,prop:c}),n.push(l))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(o){return r}},encode:function(e,t,n){if(0===e.length)return e;var r=e;if("symbol"==typeof e?r=Symbol.prototype.toString.call(e):"string"!=typeof e&&(r=String(e)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var o="",a=0;a<r.length;++a){var s=r.charCodeAt(a);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?o+=r.charAt(a):s<128?o+=i[s]:s<2048?o+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?o+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),o+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return o},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(o(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,i){if(!n)return t;if("object"!=typeof n){if(o(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var s=t;return o(t)&&!o(n)&&(s=a(t,i)),o(t)&&o(n)?(n.forEach((function(n,o){if(r.call(t,o)){var a=t[o];a&&"object"==typeof a&&n&&"object"==typeof n?t[o]=e(a,n,i):t.push(n)}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var a=n[o];return r.call(t,o)?t[o]=e(t[o],a,i):t[o]=a,t}),s)}}},function(e,t,n){"use strict";var r=n(16),o=n(15);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function u(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)n.push(parseInt(e[o]+e[o+1],16))}else for(var r=0,o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):i(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(o=0;o<e.length;o++)n[o]=0|e[o];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e[r];"little"===t&&(o=a(o)),n+=u(o.toString(16))}return n},t.zero2=s,t.zero8=u,t.join32=function(e,t,n,o){var i=n-t;r(i%4==0);for(var a=new Array(i/4),s=0,u=t;s<a.length;s++,u+=4){var c;c="big"===o?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],a[s]=c>>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,o=0;r<e.length;r++,o+=4){var i=e[r];"big"===t?(n[o]=i>>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,o){return e+t+n+r+o>>>0},t.sum64=function(e,t,n,r){var o=e[t],i=r+e[t+1]>>>0,a=(i<r?1:0)+n+o;e[t]=a>>>0,e[t+1]=i},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,o,i,a,s){var u=0,c=t;return u+=(c=c+r>>>0)<t?1:0,u+=(c=c+i>>>0)<i?1:0,e+n+o+a+(u+=(c=c+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,o,i,a,s){return t+r+i+s>>>0},t.sum64_5_hi=function(e,t,n,r,o,i,a,s,u,c){var l=0,f=t;return l+=(f=f+r>>>0)<t?1:0,l+=(f=f+i>>>0)<i?1:0,l+=(f=f+s>>>0)<s?1:0,e+n+o+a+u+(l+=(f=f+c>>>0)<c?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,o,i,a,s,u,c){return t+r+i+s+c>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){var r=n(42),o=n(43),i=n(12),a=n(44);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var u=10;function c(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var o,i,a,s;if(c(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,s=u,console&&console.warn&&console.warn(s)}return e}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=p.bind(r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):y(o,o.length)}function m(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function y(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return u},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");u=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var u=o[e];if(void 0===u)return!1;if("function"==typeof u)i(u,this,t);else{var c=u.length,l=y(u,c);for(n=0;n<c;++n)i(l[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return c(t),this.on(e,d(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return c(t),this.prependListener(e,d(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,o,i,a;if(c(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):m.call(e,t)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i=n(7),a={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports=i.assign({default:a.RFC3986,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}}},a)},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){var r=n(38),o=n(40);function i(e,t){if(t)if("number"==typeof t)a(e,t);else{t.status_code&&a(e,t.status_code),t.error&&(e.name=u(t.error)),t.error_description&&(e.message=t.error_description);var n=t.errors;if(n)i(e,n.length?n[0]:n);for(var r in t)e[r]=t[r];e.status&&(t.method||t.path)&&s(e)}}function a(e,t){e.name=u(o[t]),e.status=e.statusCode=t,s(e)}function s(e){var t=e.status,n=e.method,r=e.path,o=t+" status code",i=n||r;i&&(o+=' for "'),n&&(o+=n),i&&(o+=" "),r&&(o+=r),i&&(o+='"'),e.message=o}function u(e){return r(String(e).replace(/error$/i,""),"error")}e.exports=function e(){for(var t=new Error,n=0;n<arguments.length;n++)i(t,arguments[n]);"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(t,e);return t}},function(e,t,n){"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n,r="boolean"==typeof t.cycles&&t.cycles,o=t.cmp&&(n=t.cmp,function(e){return function(t,r){var o={key:t,value:e[t]},i={key:r,value:e[r]};return n(o,i)}}),i=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var n,a;if(Array.isArray(t)){for(a="[",n=0;n<t.length;n++)n&&(a+=","),a+=e(t[n])||"null";return a+"]"}if(null===t)return"null";if(-1!==i.indexOf(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var s=i.push(t)-1,u=Object.keys(t).sort(o&&o(t));for(a="",n=0;n<u.length;n++){var c=u[n],l=e(t[c]);l&&(a&&(a+=","),a+=JSON.stringify(c)+":"+l)}return i.splice(s,1),"{"+a+"}"}}(e)}},function(e,t,n){"use strict";var r=n(46),o=n(47),i=n(13);e.exports={formats:i,parse:o,stringify:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(1)),i=s(n(48)),a=s(n(51));function s(e){return e&&e.__esModule?e:{default:e}}var u=void 0;function c(e,t){var n,a,s,l,f,p,d,h,m=[],y={};for(p=0;p<e.length;p++)if("string"!==(f=e[p]).type){if(!t.hasOwnProperty(f.value)||void 0===t[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==r(t[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+u);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){n=t[f.value],s=p;break}m.push(t[f.value])}else m.push(f.value);return n&&(l=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(s,e),d=c(e.slice(s+1,l),t),a=o.default.cloneElement(n,{},d),m.push(a),l<e.length-1&&(h=c(e.slice(l+1),t),m=m.concat(h))),1===m.length?m[0]:(m.forEach((function(e,t){e&&(y["interpolation-child-"+t]=e)})),(0,i.default)(y))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(u=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return c(i,n)}catch(s){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+s.message+"`");return t}}},function(e,t,n){var r=n(10),o=n(15);function i(e){if(!(this instanceof i))return new i(e);"number"==typeof e&&(e={max:e}),e||(e={}),r.EventEmitter.call(this),this.cache={},this.head=this.tail=null,this.length=0,this.max=e.max||1e3,this.maxAge=e.maxAge||0}e.exports=i,o(i,r.EventEmitter),Object.defineProperty(i.prototype,"keys",{get:function(){return Object.keys(this.cache)}}),i.prototype.clear=function(){this.cache={},this.head=this.tail=null,this.length=0},i.prototype.remove=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];return delete this.cache[e],this._unlink(e,t.prev,t.next),t.value}},i.prototype._unlink=function(e,t,n){this.length--,0===this.length?this.head=this.tail=null:this.head===e?(this.head=t,this.cache[this.head].next=null):this.tail===e?(this.tail=n,this.cache[this.tail].prev=null):(this.cache[t].next=n,this.cache[n].prev=t)},i.prototype.peek=function(e){if(this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return t.value}},i.prototype.set=function(e,t){var n;if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){if((n=this.cache[e]).value=t,this.maxAge&&(n.modified=Date.now()),e===this.head)return t;this._unlink(e,n.prev,n.next)}else n={value:t,modified:0,next:null,prev:null},this.maxAge&&(n.modified=Date.now()),this.cache[e]=n,this.length===this.max&&this.evict();return this.length++,n.next=null,n.prev=this.head,this.head&&(this.cache[this.head].next=e),this.head=e,this.tail||(this.tail=e),t},i.prototype._checkAge=function(e,t){return!(this.maxAge&&Date.now()-t.modified>this.maxAge)||(this.remove(e),this.emit("evict",{key:e,value:t.value}),!1)},i.prototype.get=function(e){if("string"!=typeof e&&(e=""+e),this.cache.hasOwnProperty(e)){var t=this.cache[e];if(this._checkAge(e,t))return this.head!==e&&(e===this.tail?(this.tail=t.next,this.cache[this.tail].prev=null):this.cache[t.prev].next=t.next,this.cache[t.next].prev=t.prev,this.cache[this.head].next=e,t.prev=this.head,t.next=null,this.head=e),t.value}},i.prototype.evict=function(){if(this.tail){var e=this.tail,t=this.remove(this.tail);this.emit("evict",{key:e,value:t})}}},function(e,t,n){"use strict";var r=n(8),o=n(52),i=n(53),a=r.rotl32,s=r.sum32,u=r.sum32_5,c=i.ft_1,l=o.BlockHash,f=[1518500249,1859775393,2400959708,3395469782];function p(){if(!(this instanceof p))return new p;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}r.inherits(p,l),e.exports=p,p.blockSize=512,p.outSize=160,p.hmacStrength=80,p.padLength=64,p.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=a(n[r-3]^n[r-8]^n[r-14]^n[r-16],1);var o=this.h[0],i=this.h[1],l=this.h[2],p=this.h[3],d=this.h[4];for(r=0;r<n.length;r++){var h=~~(r/20),m=u(a(o,5),c(h,i,l,p),d,n[r],f[h]);d=p,p=l,l=a(i,30),i=o,o=m}this.h[0]=s(this.h[0],o),this.h[1]=s(this.h[1],i),this.h[2]=s(this.h[2],l),this.h[3]=s(this.h[3],p),this.h[4]=s(this.h[4],d)},p.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){var r=n(3);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(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)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(54);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(55),o=n(56),i=n(57);e.exports=function(e){return function(){var t,n=r(e);if(o()){var a=r(this).constructor;t=Reflect.construct(n,arguments,a)}else t=n.apply(this,arguments);return i(this,t)}}},function(e,t,n){var r=n(59),o=n(60),i=n(12),a=n(61);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";e.exports=n(62)},function(e,t){!function(){e.exports=this.wp.compose}()},,,,,,,function(e,t,n){"use strict";var r=n(39);e.exports=function(){var e=r.apply(r,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,n){"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(e,t,n){var r=n(9);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return o.colors[Math.abs(t)%o.colors.length]}function o(e){var n;function r(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(r.enabled){var a=r,s=Number(new Date),u=s-(n||s);a.diff=u,a.prev=n,a.curr=s,n=s,t[0]=o.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var c=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;c++;var r=o.formatters[n];if("function"==typeof r){var i=t[c];e=r.call(a,i),t.splice(c,1),c--}return e})),o.formatArgs.call(a,t);var l=a.log||o.log;l.apply(a,t)}}return r.namespace=e,r.enabled=o.enabled(e),r.useColors=o.useColors(),r.color=t(e),r.destroy=i,r.extend=a,"function"==typeof o.init&&o.init(r),o.instances.push(r),r}function i(){var e=o.instances.indexOf(this);return-1!==e&&(o.instances.splice(e,1),!0)}function a(e,t){var n=o(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return o.debug=o,o.default=o,o.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},o.disable=function(){var e=[].concat(r(o.names.map(s)),r(o.skips.map(s).map((function(e){return"-"+e})))).join(",");return o.enable(""),e},o.enable=function(e){var t;o.save(e),o.names=[],o.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?o.skips.push(new RegExp("^"+e.substr(1)+"$")):o.names.push(new RegExp("^"+e+"$")));for(t=0;t<o.instances.length;t++){var i=o.instances[t];i.enabled=o.enabled(i.namespace)}},o.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=o.skips.length;t<n;t++)if(o.skips[t].test(e))return!1;for(t=0,n=o.names.length;t<n;t++)if(o.names[t].test(e))return!0;return!1},o.humanize=n(45),Object.keys(e).forEach((function(t){o[t]=e[t]})),o.instances=[],o.names=[],o.skips=[],o.formatters={},o.selectColor=t,o.enable(o.load()),o}},function(e,t,n){var r=n(11);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return a(e,t,i,"day");if(t>=o)return a(e,t,o,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){"use strict";var r=n(7),o=n(13),i=Object.prototype.hasOwnProperty,a={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,s(t)?t:[t])},l=Date.prototype.toISOString,f=o.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:o.formatters[f],indices:!1,serializeDate:function(e){return l.call(e)},skipNulls:!1,strictNullHandling:!1},d=function e(t,n,o,i,a,u,l,f,d,h,m,y,g){var v,b=t;if("function"==typeof l?b=l(n,b):b instanceof Date?b=h(b):"comma"===o&&s(b)&&(b=r.maybeMap(b,(function(e){return e instanceof Date?h(e):e})).join(",")),null===b){if(i)return u&&!y?u(n,p.encoder,g,"key"):n;b=""}if("string"==typeof(v=b)||"number"==typeof v||"boolean"==typeof v||"symbol"==typeof v||"bigint"==typeof v||r.isBuffer(b))return u?[m(y?n:u(n,p.encoder,g,"key"))+"="+m(u(b,p.encoder,g,"value"))]:[m(n)+"="+m(String(b))];var w,S=[];if(void 0===b)return S;if(s(l))w=l;else{var E=Object.keys(b);w=f?E.sort(f):E}for(var _=0;_<w.length;++_){var O=w[_],C=b[O];if(!a||null!==C){var x=s(b)?"function"==typeof o?o(n,O):n:n+(d?"."+O:"["+O+"]");c(S,e(C,x,o,i,a,u,l,f,d,h,m,y,g))}}return S};e.exports=function(e,t){var n,r=e,u=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!i.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],a=p.filter;return("function"==typeof e.filter||s(e.filter))&&(a=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:a,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof u.filter?r=(0,u.filter)("",r):s(u.filter)&&(n=u.filter);var l,f=[];if("object"!=typeof r||null===r)return"";l=t&&t.arrayFormat in a?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=a[l];n||(n=Object.keys(r)),u.sort&&n.sort(u.sort);for(var m=0;m<n.length;++m){var y=n[m];u.skipNulls&&null===r[y]||c(f,d(r[y],y,h,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.formatter,u.encodeValuesOnly,u.charset))}var g=f.join(u.delimiter),v=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),g.length>0?v+g:""}},function(e,t,n){"use strict";var r=n(7),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},u=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,l=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}for(var f=0;n.depth>0&&null!==(s=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(s[1])}return s&&l.push("["+i.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:u(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(a=[])[l]=o:a[c]=o:a={0:o}}o=a}return o}(l,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var l="string"==typeof e?function(e,t){var n,c={},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,f=t.parameterLimit===1/0?void 0:t.parameterLimit,p=l.split(t.delimiter,f),d=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<p.length;++n)0===p[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===p[n]?h="utf-8":"utf8=%26%2310003%3B"===p[n]&&(h="iso-8859-1"),d=n,n=p.length);for(n=0;n<p.length;++n)if(n!==d){var m,y,g=p[n],v=g.indexOf("]="),b=-1===v?g.indexOf("="):v+1;-1===b?(m=t.decoder(g,a.decoder,h,"key"),y=t.strictNullHandling?null:""):(m=t.decoder(g.slice(0,b),a.decoder,h,"key"),y=r.maybeMap(u(g.slice(b+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),y&&t.interpretNumericEntities&&"iso-8859-1"===h&&(y=s(y)),g.indexOf("[]=")>-1&&(y=i(y)?[y]:y),o.call(c,m)?c[m]=r.combine(c[m],y):c[m]=y}return c}(e,n):e,f=n.plainObjects?Object.create(null):{},p=Object.keys(l),d=0;d<p.length;++d){var h=p[d],m=c(h,l[h],n,"string"==typeof e);f=r.merge(f,m,n)}return r.compact(f)}},function(e,t,n){"use strict";var r=n(1),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(14),a=n(49),s=n(50),u="function"==typeof Symbol&&Symbol.iterator;function c(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function l(e,t,n,r){var i,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===o)return n(r,e,""===t?"."+c(e,0):t),1;var f=0,p=""===t?".":t+":";if(Array.isArray(e))for(var d=0;d<e.length;d++)f+=l(i=e[d],p+c(i,d),n,r);else{var h=function(e){var t=e&&(u&&e[u]||e["@@iterator"]);if("function"==typeof t)return t}(e);if(h){0;for(var m,y=h.call(e),g=0;!(m=y.next()).done;)f+=l(i=m.value,p+c(i,g++),n,r)}else if("object"===s){0;var v=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===v?"object with keys {"+Object.keys(e).join(", ")+"}":v,"")}}return f}var f=/\/+/g;function p(e){return(""+e).replace(f,"$&/")}var d,h,m=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function b(e,t,n){var o,a,s=e.result,u=e.keyPrefix,c=e.func,l=e.context,f=c.call(l,t,e.count++);Array.isArray(f)?w(f,s,n,i.thatReturnsArgument):null!=f&&(r.isValidElement(f)&&(o=f,a=u+(!f.key||t&&t.key===f.key?"":p(f.key)+"/")+n,f=r.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),s.push(f))}function w(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var a=v.getPooled(t,i,r,o);!function(e,t,n){null==e||l(e,"",t,n)}(e,b,a),v.release(a)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(h=v).instancePool=[],h.getPooled=d||m,h.poolSize||(h.poolSize=10),h.release=g;e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)w(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=n(14);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(8),o=n(16);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var o=1;o<n;o++)r[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[o++]=0;r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=e>>>24&255,r[o++]=e>>>16&255,r[o++]=e>>>8&255,r[o++]=255&e}else for(r[o++]=255&e,r[o++]=e>>>8&255,r[o++]=e>>>16&255,r[o++]=e>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,i=8;i<this.padLength;i++)r[o++]=0;return r}},function(e,t,n){"use strict";var r=n(8).rotr32;function o(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}function a(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?o(t,n,r):1===e||3===e?a(t,n,r):2===e?i(t,n,r):void 0},t.ch32=o,t.maj32=i,t.p32=a,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,n){var r=n(58),o=n(5);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){"use strict";
|
2 |
/** @license React v1.3.0
|
3 |
* use-subscription.production.min.js
|
4 |
*
|
6 |
*
|
7 |
* This source code is licensed under the MIT license found in the
|
8 |
* LICENSE file in the root directory of this source tree.
|
9 |
+
*/Object.defineProperty(t,"__esModule",{value:!0});var r=n(63),o=n(1);t.useSubscription=function(e){var t=e.getCurrentValue,n=e.subscribe,i=o.useState((function(){return{getCurrentValue:t,subscribe:n,value:t()}}));e=i[0];var a=i[1];return i=e.value,e.getCurrentValue===t&&e.subscribe===n||(i=t(),a({getCurrentValue:t,subscribe:n,value:i})),o.useDebugValue(i),o.useEffect((function(){function e(){if(!o){var e=t();a((function(o){return o.getCurrentValue!==t||o.subscribe!==n||o.value===e?o:r({},o,{value:e})}))}}var o=!1,i=n(e);return e(),function(){o=!0,i()}}),[t,n]),i}},function(e,t,n){"use strict";
|
10 |
/*
|
11 |
object-assign
|
12 |
(c) Sindre Sorhus
|
13 |
@license MIT
|
14 |
+
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,s,u=a(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))o.call(n,l)&&(u[l]=n[l]);if(r){s=r(n);for(var f=0;f<s.length;f++)i.call(n,s[f])&&(u[s[f]]=n[s[f]])}}return u}},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"receiveCategories",(function(){return C})),n.d(r,"receiveDomainSuggestions",(function(){return x}));var o={};n.r(o),n.d(o,"getCategories",(function(){return se})),n.d(o,"__internalGetDomainSuggestions",(function(){return ue}));var i={};n.r(i),n.d(i,"register",(function(){return fe}));var a={};n.r(a),n.d(a,"setPrices",(function(){return xt})),n.d(a,"resetPlan",(function(){return jt}));var s={};n.r(s),n.d(s,"getPlanBySlug",(function(){return At})),n.d(s,"getDefaultPaidPlan",(function(){return Nt})),n.d(s,"getSupportedPlans",(function(){return Pt})),n.d(s,"getPlanByPath",(function(){return Ft})),n.d(s,"getPlansDetails",(function(){return Lt})),n.d(s,"getPlansPaths",(function(){return Rt})),n.d(s,"getPrices",(function(){return kt})),n.d(s,"isPlanEcommerce",(function(){return It})),n.d(s,"isPlanFree",(function(){return Mt}));var u={};n.r(u),n.d(u,"getPrices",(function(){return Dt}));var c={};n.r(c),n.d(c,"plansPaths",(function(){return St})),n.d(c,"register",(function(){return Ut}));var l={};n.r(l),n.d(l,"getSite",(function(){return Gt}));var f={};n.r(f),n.d(f,"getState",(function(){return qt})),n.d(f,"getNewSite",(function(){return zt})),n.d(f,"getNewSiteError",(function(){return Yt})),n.d(f,"isFetchingSite",(function(){return $t})),n.d(f,"isNewSite",(function(){return Kt})),n.d(f,"getSite",(function(){return Jt})),n.d(f,"isLaunched",(function(){return Qt}));var p={};n.r(p),n.d(p,"register",(function(){return Xt}));var d={};n.r(d),n.d(d,"setDomain",(function(){return on})),n.d(d,"setDomainSearch",(function(){return an})),n.d(d,"setPlan",(function(){return sn})),n.d(d,"updatePlan",(function(){return un})),n.d(d,"launchSite",(function(){return cn}));var h={};n.r(h),n.d(h,"getState",(function(){return ln})),n.d(h,"hasPaidDomain",(function(){return fn})),n.d(h,"getSelectedDomain",(function(){return pn})),n.d(h,"getSelectedPlan",(function(){return dn}));var m=n(0),y="automattic/domains/suggestions";var g=function(){return(g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function v(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function b(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function w(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function S(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(w(arguments[t]));return e}var E=n(18),_=n.n(E).a,O=Object(m.combineReducers)({categories:function(e,t){return void 0===e&&(e=[]),"RECEIVE_CATEGORIES"===t.type?t.categories:e},domainSuggestions:function(e,t){var n;return void 0===e&&(e={}),"RECEIVE_DOMAIN_SUGGESTIONS"===t.type?g(g({},e),((n={})[_(t.queryObject)]=t.suggestions,n)):e}}),C=function(e){return{type:"RECEIVE_CATEGORIES",categories:e}},x=function(e,t){return{type:"RECEIVE_DOMAIN_SUGGESTIONS",queryObject:e,suggestions:t}},j=n(19),T="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),A=new Uint8Array(16);function N(){if(!T)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return T(A)}for(var P=[],F=0;F<256;++F)P[F]=(F+256).toString(16).substr(1);var L=function(e,t){var n=t||0,r=P;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")};var R,k=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||N)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var i=0;i<16;++i)t[r+i]=o[i];return t||L(o)},I=n(17),M=n.n(I),D=n(6),H=n.n(D),U=n(4),B=n.n(U),V=B()("wpcom-proxy-request"),W="https://public-api.wordpress.com",G=window.location.protocol+"//"+window.location.host,q=function(){var e=!1;try{window.postMessage({toString:function(){e=!0}},"*")}catch(t){}return e}(),z=function(){try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(e){return!1}}(),Y=null,$=!1,K={},J=!!window.ProgressEvent&&!!window.FormData;V('using "origin": %o',G);var Q=function(e,t){var n=Object.assign({},e);V("request(%o)",n),Y||ne();var r=k();n.callback=r,n.supports_args=!0,n.supports_error_obj=!0,n.supports_progress=J,n.method=String(n.method||"GET").toUpperCase(),V("params object: %o",n);var o=new window.XMLHttpRequest;if(o.params=n,K[r]=o,"function"==typeof t){var i=!1,a=function(e){if(!i){i=!0;var n=e.error||e.err||e;V("error: ",n),V("headers: ",e.headers),t(n,null,e.headers)}};o.addEventListener("load",(function(e){if(!i){i=!0;var n=e.response||o.response;V("body: ",n),V("headers: ",e.headers),t(null,n,e.headers)}})),o.addEventListener("abort",a),o.addEventListener("error",a)}return $?X(n):(V("buffering API request since proxying <iframe> is not yet loaded"),R.push(n)),o},Z=function(e,t){return"function"==typeof t?Q(e,t):new Promise((function(t,n){Q(e,(function(e,r){e?n(e):t(r)}))}))};function X(e){V("sending API request to proxy <iframe> %o",e),e.formData&&function(e){if(!window.chrome||!z)return;for(var t=0;t<e.length;t++){var n=te(e[t][1]);n&&(e[t][1]=new window.File([n],n.name,{type:n.type}))}}(e.formData),Y.contentWindow.postMessage(q?JSON.stringify(e):e,W)}function ee(e){return e&&"[object File]"===Object.prototype.toString.call(e)}function te(e){return ee(e)?e:"object"==typeof e&&ee(e.fileContents)?e.fileContents:null}function ne(){V("install()"),Y&&(V("uninstall()"),window.removeEventListener("message",re),document.body.removeChild(Y),$=!1,Y=null),R=[],window.addEventListener("message",re),(Y=document.createElement("iframe")).src=W+"/wp-admin/rest-proxy/?v=2.0#"+G,Y.style.display="none",document.body.appendChild(Y)}function re(e){if(V("onmessage"),e.origin===W){var t=e.data;if(!t)return V("no `data`, bailing");if("ready"!==t){if(q&&"string"==typeof t&&(t=JSON.parse(t)),t.upload||t.download)return function(e){V('got "progress" event: %o',e);var t=K[e.callbackId];if(t){var n=new H.a("progress",e);(e.upload?t.upload:t).dispatchEvent(n)}}(t);if(!t.length)return V("`e.data` doesn't appear to be an Array, bailing...");var n=t[t.length-1];if(!(n in K))return V("bailing, no matching request with callback: %o",n);var r=K[n],o=r.params,i=t[0],a=t[1],s=t[2];if(207===a||delete K[n],o.metaAPI?a="metaAPIupdated"===i?200:500:V("got %o status code for URL: %o",a,o.path),"object"==typeof s&&(s.status=a),a&&2===Math.floor(a/100))!function(e,t,n){var r=new H.a("load");r.data=r.body=r.response=t,r.headers=n,e.dispatchEvent(r)}(r,i,s);else!function(e,t,n){var r=new H.a("error");r.error=r.err=t,r.headers=n,e.dispatchEvent(r)}(r,M()(o,a,i),s)}else!function(){if(V('proxy <iframe> "load" event'),$=!0,R){for(var e=0;e<R.length;e++)X(R[e]);R=null}}()}else V("ignoring message... %o !== %o",e.origin,W)}var oe=Z,ie=function(e){return{type:"WPCOM_REQUEST",request:e}},ae={WPCOM_REQUEST:function(e){var t=e.request;return oe(t)},FETCH_AND_PARSE:function(e){var t,n,r,o,i=e.resource,a=e.options;return t=void 0,n=void 0,o=function(){var e,t;return b(this,(function(n){switch(n.label){case 0:return[4,window.fetch(i,a)];case 1:return e=n.sent(),t={ok:e.ok},[4,e.json()];case 2:return[2,(t.body=n.sent(),t)]}}))},new((r=void 0)||(r=Promise))((function(e,i){function a(e){try{u(o.next(e))}catch(t){i(t)}}function s(e){try{u(o.throw(e))}catch(t){i(t)}}function u(t){t.done?e(t.value):new r((function(e){e(t.value)})).then(a,s)}u((o=o.apply(t,n||[])).next())}))},RELOAD_PROXY:function(){ne()},REQUEST_ALL_BLOGS_ACCESS:function(){return Z({metaAPI:{accessAllUsersBlogs:!0}})},WAIT:function(e){var t=e.ms;return new Promise((function(e){return setTimeout(e,t)}))}};function se(){var e;return b(this,(function(t){switch(t.label){case 0:return[4,(n="https://public-api.wordpress.com/wpcom/v2/onboarding/domains/categories",{type:"FETCH_AND_PARSE",resource:n,options:r})];case 1:return e=t.sent(),[2,C(e.body)]}var n,r}))}function ue(e){var t;return b(this,(function(n){switch(n.label){case 0:return e.query?[4,ie({apiVersion:"1.1",path:"/domains/suggestions",query:Object(j.stringify)(e)})]:[2,x(e,[])];case 1:return t=n.sent(),[2,x(e,t)]}}))}var ce=function(e){function t(t,n){return g(g({include_wordpressdotcom:n.only_wordpressdotcom||!1,include_dotblogsubdomain:!1,only_wordpressdotcom:!1,quantity:5,vendor:e},n),{query:t.trim().toLocaleLowerCase()})}return{getCategories:function(e){return S(e.categories.filter((function(e){return null!==e.tier})).sort((function(e,t){return e>t?1:-1})),e.categories.filter((function(e){return null===e.tier})).sort((function(e,t){return e.title.localeCompare(t.title)})))},getDomainSuggestions:function(e,n,r){void 0===r&&(r={});var o=t(n,r);return Object(m.select)(y).__internalGetDomainSuggestions(o)},getDomainSuggestionVendor:function(){return e},isLoadingDomainSuggestions:function(e,n,r){void 0===r&&(r={});var o=t(n,r);return Object(m.select)("core/data").isResolving(y,"__internalGetDomainSuggestions",[o])},__internalGetDomainSuggestions:function(e,t){return e.domainSuggestions[_(t)]}}},le=!1;function fe(e){var t=e.vendor;return le||(le=!0,Object(m.registerStore)(y,{actions:r,controls:ae,reducer:O,resolvers:o,selectors:ce(t)})),y}var pe,de,he,me,ye=n(2),ge={USD:{format:"SYMBOL_THEN_AMOUNT",symbol:"$",decimal:2},GBP:{format:"SYMBOL_THEN_AMOUNT",symbol:"£",decimal:2},JPY:{format:"SYMBOL_THEN_AMOUNT",symbol:"¥",decimal:0},BRL:{format:"SYMBOL_THEN_AMOUNT",symbol:"R$",decimal:2},EUR:{format:"SYMBOL_THEN_AMOUNT",symbol:"€",decimal:2},NZD:{format:"SYMBOL_THEN_AMOUNT",symbol:"NZ$",decimal:2},AUD:{format:"SYMBOL_THEN_AMOUNT",symbol:"A$",decimal:2},CAD:{format:"SYMBOL_THEN_AMOUNT",symbol:"C$",decimal:2},IDR:{format:"AMOUNT_THEN_SYMBOL",symbol:"Rp",decimal:0},INR:{format:"AMOUNT_THEN_SYMBOL",symbol:"₹",decimal:0},ILS:{format:"AMOUNT_THEN_SYMBOL",symbol:"₪",decimal:2},RUB:{format:"AMOUNT_THEN_SYMBOL",symbol:"₽",decimal:2},MXN:{format:"SYMBOL_THEN_AMOUNT",symbol:"MX$",decimal:2},SEK:{format:"AMOUNT_THEN_SYMBOL",symbol:"SEK",decimal:2},HUF:{format:"AMOUNT_THEN_SYMBOL",symbol:"Ft",decimal:0},CHF:{format:"AMOUNT_THEN_SYMBOL",symbol:"CHF",decimal:2},CZK:{format:"AMOUNT_THEN_SYMBOL",symbol:"Kč",decimal:2},DKK:{format:"AMOUNT_THEN_SYMBOL",symbol:"Dkr",decimal:2},HKD:{format:"AMOUNT_THEN_SYMBOL",symbol:"HK$",decimal:2},NOK:{format:"AMOUNT_THEN_SYMBOL",symbol:"Kr",decimal:2},PHP:{format:"AMOUNT_THEN_SYMBOL",symbol:"₱",decimal:2},PLN:{format:"AMOUNT_THEN_SYMBOL",symbol:"PLN",decimal:2},SGD:{format:"SYMBOL_THEN_AMOUNT",symbol:"S$",decimal:2},TWD:{format:"SYMBOL_THEN_AMOUNT",symbol:"NT$",decimal:0},THB:{format:"SYMBOL_THEN_AMOUNT",symbol:"฿",decimal:2},TRY:{format:"AMOUNT_THEN_SYMBOL",symbol:"TL",decimal:2}},ve=n(9),be=n.n(ve),we=n(3),Se=n.n(we),Ee=n(20),_e=n.n(Ee);pe={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},de=["(","?"],he={")":["("],":":["?","?:"]},me=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var Oe={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function Ce(e){var t=function(e){for(var t,n,r,o,i=[],a=[];t=e.match(me);){for(n=t[0],(r=e.substr(0,t.index).trim())&&i.push(r);o=a.pop();){if(he[n]){if(he[n][0]===o){n=he[n][1]||n;break}}else if(de.indexOf(o)>=0||pe[o]<pe[n]){a.push(o);break}i.push(o)}he[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&i.push(e),i.concat(a.reverse())}(e);return function(e){return function(e,t){var n,r,o,i,a,s,u=[];for(n=0;n<e.length;n++){if(a=e[n],i=Oe[a]){for(r=i.length,o=Array(r);r--;)o[r]=u.pop();try{s=i.apply(null,o)}catch(c){return c}}else s=t.hasOwnProperty(a)?t[a]:+a;u.push(s)}return u[0]}(t,e)}}var xe={contextDelimiter:"",onMissingKey:null};function je(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},xe)this.options[n]=void 0!==t&&n in t?t[n]:xe[n]}je.prototype.getPluralForm=function(e,t){var n,r,o,i,a=this.pluralForms[e];return a||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),i=Ce(r),o=function(e){return+i({n:e})}),a=this.pluralForms[e]=o),a(t)},je.prototype.dcnpgettext=function(e,t,n,r,o){var i,a,s;return i=void 0===o?0:this.getPluralForm(e,o),a=n,t&&(a=t+this.options.contextDelimiter+n),(s=this.data[e][a])&&s[i]?s[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)};var Te=n(21),Ae=n.n(Te),Ne=n(22),Pe=n.n(Ne),Fe=n(10),Le=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function Re(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(Le,(function(){var e,r,o,i,a;return e=arguments[3],r=arguments[5],o=arguments[7],"%"===(i=arguments[9])?"%":("*"===o&&(o=t[n-1],n++),void 0!==r?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(a=t[0][r]):(void 0===e&&(e=n),n++,a=t[e-1]),"f"===i?a=parseFloat(a)||0:"d"===i&&(a=parseInt(a)||0),void 0!==o&&("f"===i?a=a.toFixed(o):"s"===i&&(a=a.substr(0,o))),null!=a?a:"")}))}
|
15 |
/*
|
16 |
* Exposes number format capability
|
17 |
*
|
18 |
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
|
19 |
* @license See CREDITS.md
|
20 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
21 |
+
*/function ke(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,a=void 0===r?",":r,s=void 0===n?".":n,u="";return(u=(i?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(o,i):""+Math.round(o)).split("."))[0].length>3&&(u[0]=u[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,a)),(u[1]||"").length<i&&(u[1]=u[1]||"",u[1]+=new Array(i-u[1].length+1).join("0")),u.join(s)}var Ie=B()("i18n-calypso"),Me=[function(e){return e}],De={};function He(){Ge.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function Ue(e){return Array.prototype.slice.call(e)}function Be(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&He("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",Ue(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&He("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",Ue(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function Ve(e,t){return e.dcnpgettext("messages",t.context,t.original,t.plural,t.count)}function We(e,t){for(var n=Me.length-1;n>=0;n--){var r=Me[n](Object.assign({},t)),o=r.context?r.context+""+r.original:r.original;if(e.state.locale[o])return Ve(e.state.tannin,r)}return null}function Ge(){if(!(this instanceof Ge))return new Ge;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:Ae()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new Fe.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}Ge.throwErrors=!1,Ge.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},Ge.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},Ge.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},Ge.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",o=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return ke(e,n,r,o)},Ge.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},Ge.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var o=e[""]["key-hash"],i=function(e,t){var n=!1===t?"":String(t);if(void 0!==De[n+e])return De[n+e];var r=Pe()().update(e).digest("hex");return De[n+e]=t?r.substr(0,t):r},a=function(e){return function(t){return t.context?(t.original=i(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=i(t.original,e),t}};if("sha1"===o.substr(0,4))if(4===o.length)Me.push(a(!1));else{var s=o.substr(5).indexOf("-");if(s<0){var u=Number(o.substr(5));Me.push(a(u))}else for(var c=Number(o.substr(5,s)),l=Number(o.substr(6+s)),f=c;f<=l;f++)Me.push(a(f))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new je(Se()({},"messages",this.state.locale)),this.state.numberFormatSettings.decimal_point=Ve(this.state.tannin,Be(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=Ve(this.state.tannin,Be(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},Ge.prototype.getLocale=function(){return this.state.locale},Ge.prototype.getLocaleSlug=function(){return this.state.localeSlug},Ge.prototype.isRtl=function(){return"rtl"===this.state.textDirection},Ge.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},Ge.prototype.hasTranslation=function(){return!!We(this,Be(arguments))},Ge.prototype.translate=function(){var e=Be(arguments),t=We(this,e);if(t||(t=Ve(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=Re.apply(void 0,be()(n))}catch(o){if(!window||!window.console)return;var r=this.throwErrors?"error":"warn";"string"!=typeof o?window.console[r](o):window.console[r]("i18n sprintf error:",n)}}return e.components&&(t=_e()({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},Ge.prototype.reRenderTranslations=function(){Ie("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},Ge.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},Ge.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var qe=Ge,ze=n(23),Ye=n.n(ze),$e=n(24),Ke=n.n($e),Je=n(25),Qe=n.n(Je),Ze=n(5),Xe=n.n(Ze),et=n(26),tt=n.n(et),nt=n(27),rt=n.n(nt),ot=n(1),it=n.n(ot),at=n(28),st=n.n(at),ut=n(29),ct=n.n(ut),lt=n(30),ft=n(31);var pt,dt,ht,mt,yt=new qe,gt=(yt.numberFormat.bind(yt),yt.translate.bind(yt)),vt=(yt.configure.bind(yt),yt.setLocale.bind(yt),yt.getLocale.bind(yt),yt.getLocaleSlug.bind(yt),yt.addTranslations.bind(yt),yt.reRenderTranslations.bind(yt),yt.registerComponentUpdateHook.bind(yt),yt.registerTranslateHook.bind(yt),yt.state,yt.stateObserver,yt.on.bind(yt),yt.off.bind(yt),yt.emit.bind(yt),dt={numberFormat:(pt=yt).numberFormat.bind(pt),translate:pt.translate.bind(pt)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(yt),function(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return Object(lt.useSubscription)(t)}var r=Object(ft.createHigherOrderComponent)((function(e){return Object(ot.forwardRef)((function(t,r){var o=n();return it.a.createElement(e,ct()({},t,{isRtl:o,ref:r}))}))}),"WithRTL");return{useRtl:n,withRtl:r}}(yt)),bt=(vt.useRtl,vt.withRtl,["Remove WordPress.com ads","Email & basic Live Chat Support","Collect recurring payments","Collect one-time payments","Earn ad revenue","Premium themes","Upload videos","Google Analytics support","Business features (incl. SEO)","Upload themes","Install plugins","Accept Payments in 60+ Countries"]),wt=((ht={}).free_plan={title:gt("Free"),productId:1,storeSlug:"free_plan",pathSlug:"beginner",features:["3 GB storage space"],isFree:!0},ht["personal-bundle"]={title:gt("Personal"),productId:1009,storeSlug:"personal-bundle",pathSlug:"personal",features:S(["6 GB storage space"],bt.slice(0,3))},ht.value_bundle={title:gt("Premium"),productId:1003,storeSlug:"value_bundle",pathSlug:"premium",features:S(["13 GB storage space"],bt.slice(0,8)),isPopular:!0},ht["business-bundle"]={title:gt("Business"),productId:1008,storeSlug:"business-bundle",pathSlug:"business",features:S(["200 GB storage space"],bt.slice(0,11))},ht["ecommerce-bundle"]={title:gt("eCommerce"),productId:1011,storeSlug:"ecommerce-bundle",pathSlug:"ecommerce",features:S(["200 GB storage space"],bt)},ht),St=Object.keys(wt).map((function(e){return wt[e].pathSlug})),Et=[{id:"general",name:null,features:[{name:"Free domain for One Year",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Email & basic live chat support",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"24/7 Priority live chat support",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Preinstalled SSL security",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Jetpack essential features",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Storage",type:"text",data:["3 GB","6 GB","13 GB","200 GB","200 GB"]},{name:"Dozens of free designs",type:"checkbox",data:[!0,!0,!0,!0,!0]},{name:"Remove WordPress.com ads",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Unlimited premium themes",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Advanced design customization",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Get personalized help",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Install plugins",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Upload themes",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Remove WordPress.com branding",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Automated backup & one-click rewind",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"SFTP and database access",type:"checkbox",data:[!1,!1,!1,!0,!0]}]},{id:"commerce",name:"Commerce",features:[{name:"Sell subscriptions (recurring payments)",type:"checkbox",data:[!1,!0,!0,!0,!0]},{name:"Sell single items (simple payments)",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Accept payments in 60+ countries",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Integrations with top shipping carriers",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Sell anything (products and/or services)",type:"checkbox",data:[!1,!1,!1,!1,!0]},{name:"Premium customizable starter themes",type:"checkbox",data:[!1,!1,!1,!1,!0]}]},{id:"marketing",name:"Marketing",features:[{name:"WordAds",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"Advanced social media tools",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"VideoPress support",type:"checkbox",data:[!1,!1,!0,!0,!0]},{name:"SEO tools",type:"checkbox",data:[!1,!1,!1,!0,!0]},{name:"Commerce marketing tools",type:"checkbox",data:[!1,!1,!1,!1,!0]}]}],_t=Object.keys(wt),Ot={supportedPlanSlugs:_t,prices:(mt={},mt.free_plan="",mt["personal-bundle"]="",mt.value_bundle="",mt["business-bundle"]="",mt["ecommerce-bundle"]="",mt)},Ct=function(e,t){switch(void 0===e&&(e=Ot),t.type){case"SET_PRICES":return g(g({},e),{prices:t.prices});default:return e}},xt=function(e){return{type:"SET_PRICES",prices:e}},jt=function(){return{type:"RESET_PLAN"}};function Tt(e){return wt[e]}var At=function(e,t){return Tt(t)},Nt=function(){return Tt("value_bundle")},Pt=function(e){return e.supportedPlanSlugs.map(Tt)},Ft=function(e,t){return t&&Pt(e).find((function(e){return(null==e?void 0:e.pathSlug)===t}))},Lt=function(){return Et},Rt=function(e){return Pt(e).map((function(e){return null==e?void 0:e.pathSlug}))},kt=function(e){return e.prices},It=function(e,t){return"ecommerce-bundle"===t},Mt=function(e,t){return"free_plan"===t};function Dt(){var e,t,n;return b(this,(function(r){switch(r.label){case 0:return[4,Object(ye.apiFetch)({global:!0,url:"https://public-api.wordpress.com/rest/v1.5/plans",mode:"cors",credentials:"omit"})];case 1:return e=r.sent(),t=e.filter((function(e){return-1!==_t.indexOf(e.product_slug)})),n=t.reduce((function(e,t){return e[t.product_slug]=function(e){var t=ge[e.currency_code],n=e.raw_price/12;return Number.isInteger(n)||(n=n.toFixed(t.decimal)),"AMOUNT_THEN_SYMBOL"===t.format?""+n+t.symbol:""+t.symbol+n}(t),e}),{}),[4,xt(n)];case 2:return r.sent(),[2]}}))}var Ht=!1;function Ut(){return Ht||(Ht=!0,Object(m.registerStore)("automattic/onboard/plans",{resolvers:u,actions:a,controls:ye.controls,reducer:Ct,selectors:s})),"automattic/onboard/plans"}var Bt=Object(m.combineReducers)({data:function(e,t){return"RECEIVE_NEW_SITE"===t.type?t.response.blog_details:"RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type?e:void 0},error:function(e,t){switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(e,t){switch(void 0===e&&(e=!1),t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),Vt=Object(m.combineReducers)({newSite:Bt,sites:function(e,t){var n;if(void 0===e&&(e={}),"RECEIVE_SITE"===t.type)return g(g({},e),((n={})[t.siteId]=t.response,n));if("RECEIVE_SITE_FAILED"===t.type){var r=e,o=t.siteId,i=(r[o],v(r,["symbol"==typeof o?o:o+""]));return g({},i)}return"RESET_SITE_STORE"===t.type?{}:e},launchStatus:function(e,t){var n;return void 0===e&&(e={}),"LAUNCHED_SITE"===t.type?g(g({},e),((n={})[t.siteId]=!0,n)):e}});function Wt(e){var t=function(){return{type:"FETCH_NEW_SITE"}},n=function(e){return{type:"RECEIVE_NEW_SITE",response:e}},r=function(e){return{type:"RECEIVE_NEW_SITE_FAILED",error:e}};var o=function(e){return{type:"LAUNCHED_SITE",siteId:e}};return{fetchNewSite:t,receiveNewSite:n,receiveNewSiteFailed:r,resetNewSiteFailed:function(){return{type:"RESET_RECEIVE_NEW_SITE_FAILED"}},createSite:function(t){var o,i,a,s,u,c;return b(this,(function(l){switch(l.label){case 0:return[4,{type:"FETCH_NEW_SITE"}];case 1:l.sent(),l.label=2;case 2:return l.trys.push([2,5,,7]),o=t.authToken,i=v(t,["authToken"]),a={client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},s=g(g(g({},a),i),{validate:!1}),[4,ie({path:"/sites/new",apiVersion:"1.1",method:"post",body:s,token:o})];case 3:return u=l.sent(),[4,n(u)];case 4:return l.sent(),[2,!0];case 5:return c=l.sent(),[4,r(c)];case 6:return l.sent(),[2,!1];case 7:return[2]}}))},receiveSite:function(e,t){return{type:"RECEIVE_SITE",siteId:e,response:t}},receiveSiteFailed:function(e,t){return{type:"RECEIVE_SITE_FAILED",siteId:e,response:t}},reset:function(){return{type:"RESET_SITE_STORE"}},launchSite:function(e){return b(this,(function(t){switch(t.label){case 0:return[4,ie({path:"/sites/"+e+"/launch",apiVersion:"1.1",method:"post"})];case 1:return t.sent(),[4,o(e)];case 2:return t.sent(),[2,!0]}}))},launchedSite:o,getCart:function(e){return b(this,(function(t){switch(t.label){case 0:return[4,ie({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"GET"})];case 1:return[2,t.sent()]}}))},setCart:function(e,t){return b(this,(function(n){switch(n.label){case 0:return[4,ie({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"POST",body:t})];case 1:return[2,n.sent()]}}))}}}function Gt(e){var t;return b(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,5]),[4,ie({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"})];case 1:return t=n.sent(),[4,Object(m.dispatch)("automattic/site").receiveSite(e,t)];case 2:return n.sent(),[3,5];case 3:return n.sent(),[4,Object(m.dispatch)("automattic/site").receiveSiteFailed(e,void 0)];case 4:return n.sent(),[3,5];case 5:return[2]}}))}var qt=function(e){return e},zt=function(e){return e.newSite.data},Yt=function(e){return e.newSite.error},$t=function(e){return e.newSite.isFetching},Kt=function(e){return!!e.newSite.data},Jt=function(e,t){return e.sites[t]},Qt=function(e,t){return e.launchStatus[t]},Zt=!1;function Xt(e){return Zt||(Zt=!0,Object(m.registerStore)("automattic/site",{actions:Wt(e),controls:ae,reducer:Vt,resolvers:l,selectors:f})),"automattic/site"}i.register({vendor:"variation2_front"}),c.register(),p.register({client_id:"",client_secret:""});var en=window._currentSiteId,tn=Object(m.combineReducers)({domain:function(e,t){return"SET_DOMAIN"===t.type?t.domain:e},domainSearch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return"SET_DOMAIN_SEARCH"===t.type?t.domainSearch:e},plan:function(e,t){return"SET_PLAN"===t.type?t.plan:e}}),nn=regeneratorRuntime.mark(un),rn=regeneratorRuntime.mark(cn),on=function(e){return{type:"SET_DOMAIN",domain:e}},an=function(e){return{type:"SET_DOMAIN_SEARCH",domainSearch:e}},sn=function(e){return{type:"SET_PLAN",plan:e}};function un(e){var t;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(ye.select)("automattic/onboard/plans","getPlanBySlug",e);case 2:return t=n.sent,n.next=5,sn(t);case 5:case"end":return n.stop()}}),nn)}function cn(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,Object(ye.dispatch)("automattic/site","launchSite",en);case 3:return e=t.sent,t.abrupt("return",e);case 7:t.prev=7,t.t0=t.catch(0);case 9:case"end":return t.stop()}}),rn,null,[[0,7]])}var ln=function(e){return e},fn=function(e){return!!e.domain&&!e.domain.is_free},pn=function(e){return e.domain},dn=function(e){return e.plan};var hn,mn,yn,gn,vn,bn,wn=(mn=hn="WP_LAUNCH",yn=hn+"_TS",gn={},vn={getItem:function(e){return gn.hasOwnProperty(e)?gn[e]:null},setItem:function(e,t){gn[e]=String(t)},removeItem:function(e){delete gn[e]}},bn=function(){try{return window.localStorage.setItem("WP_ONBOARD_TEST","1"),window.localStorage.removeItem("WP_ONBOARD_TEST"),!0}catch(e){return!1}}()?window.localStorage:vn,{storageKey:mn,storage:{getItem:function(e){var t=bn.getItem(yn);return t&&function(e){var t=Number(e);return Boolean(t)&&t+6048e5>Date.now()}(t)&&!new URLSearchParams(window.location.search).has("fresh")?bn.getItem(e):(bn.removeItem(mn),bn.removeItem(yn),null)},setItem:function(e,t){bn.setItem(yn,JSON.stringify(Date.now())),bn.setItem(e,t)}}});Object(m.use)(m.plugins.persistence,wn),Object(m.registerStore)("automattic/launch",{actions:d,controls:ye.controls,reducer:tn,selectors:h,persist:["domain","plan"]})}]));
|
donations/dist/donations.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '031c770af7af0ab80c4929c415fe58ea');
|
donations/dist/donations.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=57)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,n){var r=n(35),i=n(36),o=n(19),s=n(37);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||s()}},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){function n(e,t,n,r,i,o,s){try{var c=e[o](s),a=c.value}catch(l){return void n(l)}c.done?t(a):Promise.resolve(a).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var s=e.apply(t,r);function c(e){n(s,i,o,c,a,"next",e)}function a(e){n(s,i,o,c,a,"throw",e)}c(void 0)}))}}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,n){var r=n(11);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t,n){"use strict";var r=n(23),i=n(22);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function a(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var s=e.charCodeAt(i);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):o(e,i)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=s,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=s(i)),n+=a(i.toString(16))}return n},t.zero2=c,t.zero8=a,t.join32=function(e,t,n,i){var o=n-t;r(o%4==0);for(var s=new Array(o/4),c=0,a=t;c<s.length;c++,a+=4){var l;l="big"===i?e[a]<<24|e[a+1]<<16|e[a+2]<<8|e[a+3]:e[a+3]<<24|e[a+2]<<16|e[a+1]<<8|e[a],s[c]=l>>>0}return s},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,s=(o<r?1:0)+n+i;e[t]=s>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,s,c){var a=0,l=t;return a+=(l=l+r>>>0)<t?1:0,a+=(l=l+o>>>0)<o?1:0,e+n+i+s+(a+=(l=l+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,o,s,c){return t+r+o+c>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,s,c,a,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+o>>>0)<o?1:0,u+=(p=p+c>>>0)<c?1:0,e+n+i+s+a+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,o,s,c,a,l){return t+r+o+c+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){var r=n(38),i=n(39),o=n(19),s=n(40);e.exports=function(e){return r(e)||i(e)||o(e)||s()}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var a=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function p(e,t,n,r){var i,o,s,c;if(l(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void 0===s)s=o[t]=n,++e._eventsCount;else if("function"==typeof s?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=u(e))>0&&s.length>i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,c=a,console&&console.warn&&console.warn(c)}return e}function m(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=m.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):b(i,i.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function b(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return u(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var c=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var a=i[e];if(void 0===a)return!1;if("function"==typeof a)o(a,this,t);else{var l=a.length,u=b(a,l);for(n=0;n<l;++n)o(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return p(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return p(this,e,t,!0)},c.prototype.once=function(e,t){return l(t),this.on(e,f(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,f(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,o,s;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return d(this,e,!0)},c.prototype.rawListeners=function(e){return d(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},c.prototype.listenerCount=g,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){var r;
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
@@ -16,11 +16,11 @@
|
|
16 |
object-assign
|
17 |
(c) Sindre Sorhus
|
18 |
@license MIT
|
19 |
-
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,c,a=s(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))i.call(n,u)&&(a[u]=n[u]);if(r){c=r(n);for(var p=0;p<c.length;p++)o.call(n,c[p])&&(a[c[p]]=n[c[p]])}}return a}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r,i,o,s,c=n(10),a=n.n(c),l=n(
|
20 |
/*
|
21 |
* Exposes number format capability
|
22 |
*
|
23 |
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
|
24 |
* @license See CREDITS.md
|
25 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
26 |
-
*/function W(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,s=void 0===r?",":r,c=void 0===n?".":n,a="";return(a=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,o):""+Math.round(i)).split("."))[0].length>3&&(a[0]=a[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,s)),(a[1]||"").length<o&&(a[1]=a[1]||"",a[1]+=new Array(o-a[1].length+1).join("0")),a.join(c)}var V=N()("i18n-calypso"),Z=[function(e){return e}],z={};function Y(){ee.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function J(e){return Array.prototype.slice.call(e)}function q(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&Y("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",J(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&Y("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",J(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function X(e,t){return e.dcnpgettext("messages",t.context,t.original,t.plural,t.count)}function Q(e,t){for(var n=Z.length-1;n>=0;n--){var r=Z[n](Object.assign({},t)),i=r.context?r.context+""+r.original:r.original;if(e.state.locale[i])return X(e.state.tannin,r)}return null}function ee(){if(!(this instanceof ee))return new ee;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:I()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new K.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}ee.throwErrors=!1,ee.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},ee.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},ee.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},ee.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",i=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return W(e,n,r,i)},ee.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},ee.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var i=e[""]["key-hash"],o=function(e,t){var n=!1===t?"":String(t);if(void 0!==z[n+e])return z[n+e];var r=U()().update(e).digest("hex");return z[n+e]=t?r.substr(0,t):r},s=function(e){return function(t){return t.context?(t.original=o(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=o(t.original,e),t}};if("sha1"===i.substr(0,4))if(4===i.length)Z.push(s(!1));else{var c=i.substr(5).indexOf("-");if(c<0){var a=Number(i.substr(5));Z.push(s(a))}else for(var l=Number(i.substr(5,c)),u=Number(i.substr(6+c)),p=l;p<=u;p++)Z.push(s(p))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new M(S()({},"messages",this.state.locale)),this.state.numberFormatSettings.decimal_point=X(this.state.tannin,q(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=X(this.state.tannin,q(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},ee.prototype.getLocale=function(){return this.state.locale},ee.prototype.getLocaleSlug=function(){return this.state.localeSlug},ee.prototype.isRtl=function(){return"rtl"===this.state.textDirection},ee.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},ee.prototype.hasTranslation=function(){return!!Q(this,q(arguments))},ee.prototype.translate=function(){var e=q(arguments),t=Q(this,e);if(t||(t=X(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=G.apply(void 0,P()(n))}catch(i){if(!window||!window.console)return;var r=this.throwErrors?"error":"warn";"string"!=typeof i?window.console[r](i):window.console[r]("i18n sprintf error:",n)}}return e.components&&(t=T()({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},ee.prototype.reRenderTranslations=function(){V("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},ee.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},ee.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var te=ee,ne=n(30),re=n.n(ne),ie=n(31),oe=n.n(ie),se=n(14),ce=n.n(se),ae=n(32),le=n.n(ae),ue=n(33),pe=n.n(ue),me=n(7),fe=n.n(me),de=n(34),ge=n(13);var be,he,ye=new te,ve=ye.numberFormat.bind(ye),Oe=(ye.translate.bind(ye),ye.configure.bind(ye),ye.setLocale.bind(ye),ye.getLocale.bind(ye),ye.getLocaleSlug.bind(ye),ye.addTranslations.bind(ye),ye.reRenderTranslations.bind(ye),ye.registerComponentUpdateHook.bind(ye),ye.registerTranslateHook.bind(ye),ye.state,ye.stateObserver,ye.on.bind(ye),ye.off.bind(ye),ye.emit.bind(ye),he={numberFormat:(be=ye).numberFormat.bind(be),translate:be.translate.bind(be)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(ye),function(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return Object(de.useSubscription)(t)}var r=Object(ge.createHigherOrderComponent)((function(e){return Object(me.forwardRef)((function(t,r){var i=n();return fe.a.createElement(e,h()({},t,{isRtl:i,ref:r}))}))}),"WithRTL");return{useRtl:n,withRtl:r}}(ye)),_e=(Oe.useRtl,Oe.withRtl,{AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}});function je(e){return _e[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}function we(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=je(t);if(!r||isNaN(e))return null;var i=a()({},r,{},n),o=i.decimal,s=i.grouping,c=i.precision,l=i.symbol,u=e<0?"-":"",p=ve(Math.abs(e),{decimals:c,thousandsSep:s,decPoint:o});return n.stripZeros&&(p=Ce(p,o)),"".concat(u).concat(l).concat(p)}function Ce(e,t){var n=new RegExp("\\".concat(t,"0+$"));return e.replace(n,"")}var Ee=n(25),xe=n(6),Se=n(15);function ke(e){var t=e.className,n=e.tab,r=e.label,i=e.selectedTab,o=e.onSelected,s=(n.id===i.id?["is-pressed","is-active"]:[]).concat([t,"components-button","components-tab-button"]);return Object(p.createElement)("button",{type:"button",onClick:function(){return o(n)},className:s.join(" ")},r)}function Pe(e){var t=e.className,n=e.tabs,r=e.selectedTab,i=e.onSelected,o=e.selectBlock;return Object(p.createElement)("div",{className:"premium-content-tabs block-editor-block-toolbar"},n.map((function(n){return Object(p.createElement)(ke,h()({key:n.id},e,{tab:n,selectedTab:r,className:"".concat(t,"--tab"),label:n.label,onSelected:i}))})),Object(p.createElement)("button",{onClick:function(){Object(xe.select)("core/edit-post").isEditorSidebarOpened()||Object(xe.dispatch)("core/edit-post").openGeneralSidebar("edit-post/block"),o()},className:"edit components-button is-button is-secondary"},Object(g.__)("Edit","full-site-editing")))}function Fe(){return Object(p.createElement)("div",{className:"premium-content-wrapper"},Object(p.createElement)(j.InnerBlocks,{allowedBlocks:["premium-content/subscriber-view","premium-content/logged-out-view"],templateLock:"all",template:[["premium-content/subscriber-view"],["premium-content/logged-out-view"]]}))}function Ne(e){var t=e.className,n=e.plan,r=e.selectedPlan,i=e.onSelected,o=e.onClose,s=e.getPlanDescription,c=r&&n.id===r.id,a=(c?["is-selected"]:[]).concat([t]).join(" "),l=c?"yes":void 0,u=null;return n&&(u=" "+s(n)),Object(p.createElement)(w.MenuItem,{onClick:function(e){e.preventDefault(),i(n),o()},className:a,key:n.id,value:n.id,selected:c,icon:l},n.title," : ",u)}function Ae(e){var t=e.plans,n=e.selectedPlan,r=e.onSelected;return Object(p.createElement)(w.MenuGroup,null,t.map((function(t){return Object(p.createElement)(Ne,h()({},e,{key:t.id,selectedPlan:n,onSelected:r,plan:t}))})))}function Te(e){return Object(p.createElement)(w.MenuGroup,null,Object(p.createElement)(w.MenuItem,{onClick:function(t){t.preventDefault(),Object(xe.select)("core/edit-post").isEditorSidebarOpened()||Object(xe.dispatch)("core/edit-post").openGeneralSidebar("edit-post/block");var n=document.getElementById("new-plan-name");null!==n&&n.focus(),e.onClose()}},Object(g.__)("Add a new subscription","full-site-editing")))}function Le(e){var t=e.selectedPlanId,n=e.onSelected,r=e.plans,i=e.getPlanDescription,o=r.find((function(e){return e.id===t})),s=null;return o&&(s=" "+i(o)),Object(p.createElement)(j.BlockControls,null,Object(p.createElement)(w.Toolbar,null,Object(p.createElement)(w.DropdownMenu,{icon:Object(p.createElement)(p.Fragment,null,Object(p.createElement)(w.Dashicon,{icon:"update"})," ",s&&Object(p.createElement)(p.Fragment,null,s)),label:Object(g.__)("Select a plan","full-site-editing"),className:"premium-content-toolbar-button"},(function(t){var r=t.onClose;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(Ae,h()({},e,{onSelected:n,onClose:r,selectedPlan:o})),Object(p.createElement)(Te,h()({},e,{onClose:r})))}))))}function Re(e){var t=Object(p.useState)(0),n=v()(t,2),r=n[0],i=n[1],o=e.attributes,s=e.setAttributes,c=e.className,a=e.savePlan,l=(e.currencies,e.siteSlug);return Object(p.createElement)(j.InspectorControls,null,l&&Object(p.createElement)(w.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(l),className:"wp-block-premium-content-container---link-to-earn"},Object(g.__)("Manage your subscriptions.","full-site-editing")),Object(p.createElement)(w.PanelBody,{title:"Add a new subscription",initialOpen:!0,className:"".concat(c,"---settings-add_plan")},1===r&&Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Premium Content","full-site-editing"),instructions:Object(g.__)("Saving plan…","full-site-editing")},Object(p.createElement)(w.Spinner,null)),0===r&&Object(p.createElement)("div",null,Object(p.createElement)(w.PanelRow,{className:"plan-name"},Object(p.createElement)(w.TextControl,{id:"new-plan-name",label:"Name",value:o.newPlanName,onChange:function(e){return s({newPlanName:e})}})),Object(p.createElement)(w.PanelRow,{className:"plan-price"},Object(p.createElement)(w.SelectControl,{label:"Currency",onChange:function(e){return s({newPlanCurrency:e})},value:o.newPlanCurrency,options:He}),Object(p.createElement)(w.TextControl,{label:"Price",value:o.newPlanPrice,onChange:function(e){return s({newPlanPrice:parseFloat(e)})},type:"number"})),Object(p.createElement)(w.PanelRow,{className:"plan-interval"},Object(p.createElement)(w.SelectControl,{label:"Interval",onChange:function(e){return s({newPlanInterval:e})},value:o.newPlanInterval,options:[{label:"Month",value:"1 month"},{label:"Year",value:"1 year"}]})),Object(p.createElement)(w.PanelRow,null,Object(p.createElement)(w.Button,{isSecondary:!0,isLarge:!0,onClick:function(t){t.preventDefault(),i(1),a(e.attributes,(function(e){i(0),e&&(s({newPlanPrice:5}),s({newPlanName:""}))}))}},Object(g.__)("Add subscription","full-site-editing"))))))}var De=Object(ge.compose)([Object(xe.withDispatch)((function(e,t){var n,r=t.stripeConnectUrl;return{autosaveAndRedirect:(n=u()(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,e("core/editor").savePost();case 3:window.top.location.href=r;case 4:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})}}))])((function(e){var t=e.autosaveAndRedirect,n=e.stripeConnectUrl;return Object(p.createElement)(j.Warning,{actions:n&&[Object(p.createElement)(w.Button,{key:"connect",href:n,onClick:t,target:"_top",isDefault:!0,className:"premium-content-block-nudge__button stripe-nudge__button"},Object(g.__)("Connect","full-site-editing"))],className:"premium-content-block-nudge"},Object(p.createElement)("span",{className:"premium-content-block-nudge__info"},Object(p.createElement)(w.Dashicon,{icon:"star-filled"}),Object(p.createElement)("span",{className:"premium-content-block-nudge__text-container"},Object(p.createElement)("span",{className:"premium-content-block-nudge__title"},Object(g.__)("Connect to Stripe to use this block on your site","full-site-editing")),Object(p.createElement)("span",{className:"premium-content-block-nudge__message"},Object(g.__)("This block will be hidden from your visitors until you connect to Stripe.","full-site-editing")))))})),Me={selectedTab:{id:"",className:"",label:Object(p.createElement)(p.Fragment,null)},stripeNudge:null},Be=Object(p.createContext)(Me),Ie=[{id:"premium",label:Object(p.createElement)("span",null,Object(g.__)("Subscriber View","full-site-editing")),className:"wp-premium-content-subscriber-view"},{id:"wall",label:Object(p.createElement)("span",null,Object(g.__)("Non-subscriber View","full-site-editing")),className:"wp-premium-content-logged-out-view"}],$e=[];function Ue(e,t){var n=e.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)}Object(ge.compose)([Object(xe.withSelect)((function(e,t){return{postId:(0,e("core/editor").getCurrentPostId)(),containerClientId:e("core/block-editor").getBlockHierarchyRootClientId(t.clientId)}})),w.withNotices,Object(xe.withDispatch)((function(e,t){var n=e("core/block-editor");return{selectBlock:function(){n.selectBlock(t.containerClientId)}}}))])((function(e){var t=Object(p.useState)(Ie[1]),n=v()(t,2),r=n[0],i=n[1],o=Object(p.useState)(!1),s=v()(o,2),c=s[0],a=s[1],l=Object(p.useState)($e),u=v()(l,2),m=u[0],d=u[1],b=Object(p.useState)(null),y=v()(b,2),O=y[0],_=y[1],j=Object(p.useState)(0),C=v()(j,2),E=C[0],x=C[1],S=Object(p.useState)(!1),k=v()(S,2),P=k[0],F=k[1],N=Object(p.useState)(""),A=v()(N,2),T=A[0],L=A[1],R=Object(p.useState)(""),D=v()(R,2),M=D[0],B=D[1];function I(t,n){if(!t.newPlanName||0===t.newPlanName.length)return Ue(e,Object(g.__)("Plan requires a name","full-site-editing")),void n(!1);var r,i,o=parseFloat(t.newPlanPrice),s=Ge(t.newPlanCurrency),c=Object(g.sprintf)(Object(g.__)("Minimum allowed price is %s.","full-site-editing"),we(s,t.newPlanCurrency));if(o<s)return Ue(e,c),void n(!1);if(r=t.newPlanCurrency,i=o,isNaN(i)||!(i>=Ge(r)))return Ue(e,Object(g.__)("Plan requires a valid price","full-site-editing")),void n(!1);var a={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:t.newPlanCurrency,price:t.newPlanPrice,title:t.newPlanName,interval:t.newPlanInterval}};f()(a).then((function(t){var r={id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency};d(m.concat([r])),$(r),function(e,t){var n=e.noticeOperations;n.removeAllNotices(),n.createNotice({status:"info",content:t})}(e,Object(g.__)("Successfully created plan","full-site-editing")),n&&n(!0)}),(function(){Ue(e,Object(g.__)("There was an error when adding the plan.","full-site-editing")),n&&n(!1)}))}function $(t){e.setAttributes({selectedPlanId:t.id})}var U=Object(p.useRef)(null);!function(e,t){function n(n){e.current&&n.target&&n.target instanceof Node&&!e.current.contains(n.target)?t(!1):t(!0)}Object(p.useEffect)((function(){return document.addEventListener("mousedown",n),function(){document.removeEventListener("mousedown",n)}}))}(U,a);var K=e.isSelected,H=e.className;if(Object(p.useEffect)((function(){var t={path:"/wpcom/v2/memberships/status",method:"GET"};f()(t).then((function(t){if(t||"object"==typeof t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return x(2),void Ue(e,Object.values(t.errors)[0][0]);_(t.connect_url),F(t.should_upgrade_to_access_memberships),L(t.upgrade_url),B(t.site_slug),t.products&&0===t.products.length&&!t.should_upgrade_to_access_memberships&&t.connected_account_id?I({newPlanCurrency:"USD",newPlanPrice:5,newPlanName:Object(g.__)("Monthly Subscription","full-site-editing"),newPlanInterval:"1 month"},(function(){x(t.connected_account_id?1:2)})):(t.products&&t.products.length>0&&(d(t.products),e.attributes.selectedPlanId||$(t.products[0])),x(t.connected_account_id?1:2))}}),(function(t){_(null),x(2),Ue(e,t.message)})),e.selectBlock()}),[]),0===E)return Object(p.createElement)("div",{className:H,ref:U},e.noticeUI,Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Premium Content","full-site-editing"),instructions:Object(g.__)("Loading data…","full-site-editing")},Object(p.createElement)(w.Spinner,null)));if(P)return Object(p.createElement)("div",{className:H,ref:U},e.noticeUI,Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Premium Content","full-site-editing"),instructions:Object(g.__)("You'll need to upgrade your plan to use the Premium Content block.","full-site-editing")},Object(p.createElement)(w.Button,{isSecondary:!0,isLarge:!0,href:T,target:"_blank",className:"premium-content-block-nudge__button plan-nudge__button"},Object(g.__)("Upgrade Your Plan","full-site-editing")),Object(p.createElement)("div",{className:"membership-button__disclaimer"},Object(p.createElement)(w.ExternalLink,{href:"https://wordpress.com/support/premium-content-block/"},Object(g.__)("Read more about Premium Content and related fees.","full-site-editing")))));var G=null;if(!P&&1!==E&&O){var W=function(e,t){var n,r=e.postId;if(!Object(Se.isURL)(t))return null;if(!r)return t;try{var i=Object(Se.getQueryArg)(t,"state");"string"==typeof i&&(n=JSON.parse(atob(i)))}catch(o){return t}return n.from_editor_post_id=r,Object(Se.addQueryArgs)(t,{state:btoa(JSON.stringify(n))})}(e,O);G=Object(p.createElement)(De,h()({},e,{stripeConnectUrl:W}))}return Object(p.createElement)("div",{className:H,ref:U},e.noticeUI,(K||c)&&1===E&&Object(p.createElement)(Le,h()({},e,{plans:m,selectedPlanId:e.attributes.selectedPlanId,onSelected:$,getPlanDescription:function(e){var t=we(parseFloat(e.price),e.currency);return"1 month"===e.interval?Object(g.sprintf)(Object(g.__)("%s / month","full-site-editing"),t):"1 year"===e.interval?Object(g.sprintf)(Object(g.__)("%s / year","full-site-editing"),t):"one-time"===e.interval?t:Object(g.sprintf)(Object(g.__)("%s / %s","full-site-editing"),t,e.interval)}})),(K||c)&&1===E&&Object(p.createElement)(Re,h()({},e,{savePlan:I,siteSlug:M})),(K||c)&&Object(p.createElement)(Pe,h()({},e,{tabs:Ie,selectedTab:r,onSelected:i})),Object(p.createElement)(Be.Provider,{value:{selectedTab:r,stripeNudge:G}},Object(p.createElement)(Fe,null)))}));Object(g.__)("Premium Content","full-site-editing"),Object(g.__)("Restrict access to your content for paying subscribers.","full-site-editing"),Object(p.createElement)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(p.createElement)("path",{d:"M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z",fill:"black"}),Object(p.createElement)("circle",{cx:"12.7439",cy:"8.69796",r:"5.94466",stroke:"black",strokeWidth:"1.5",fill:"none"}),Object(p.createElement)("path",{d:"M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533",stroke:"black",strokeWidth:"1.5",fill:"none"})),Object(g.__)("premium","full-site-editing"),Object(g.__)("paywall","full-site-editing");var Ke={USD:.5,AUD:.5,BRL:.5,CAD:.5,CHF:.5,DKK:2.5,EUR:.5,GBP:.3,HKD:4,INR:.5,JPY:50,MXN:10,NOK:3,NZD:.5,PLN:2,SEK:3,SGD:.5},He=Object.keys(Ke).map((function(e){var t=je(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(Ee.trimEnd)(t,"."))}}));function Ge(e){return Ke[e]}var We={heading:{"one-time":"oneTimeHeading","1 month":"monthlyHeading","1 year":"annualHeading"},buttonText:{"one-time":"oneTimeButtonText","1 month":"monthlyButtonText","1 year":"annualButtonText"}},Ve=function(e){var t=e.attributes,n=e.interval,r=e.setAttributes,i=function(e){return e in We?t[We[e][n]]:t[e]},o=function(e,t){return r(e in We?S()({},We[e][n],t):S()({},e,t))},s=i("currency"),c=Ge(s),a=[10*c,30*c,200*c],l=100*c;return Object(p.createElement)(C.Consumer,null,(function(e){var t=e.activeTab;return Object(p.createElement)("div",{hidden:t!==n},Object(p.createElement)(j.RichText,{tagName:j.__experimentalBlock.h4,placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("heading"),onChange:function(e){return o("heading",e)},inlineToolbar:!0}),Object(p.createElement)(j.RichText,{tagName:j.__experimentalBlock.p,placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("chooseAmountText"),onChange:function(e){return o("chooseAmountText",e)},inlineToolbar:!0}),Object(p.createElement)("div",{className:"wp-block-buttons donations__amounts"},a.map((function(e){return Object(p.createElement)("div",{className:"wp-block-button donations__amount"},Object(p.createElement)("div",{className:"wp-block-button__link"},we(e,s)))}))),i("showCustomAmount")&&Object(p.createElement)(p.Fragment,null,Object(p.createElement)(j.RichText,{tagName:j.__experimentalBlock.p,placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("customAmountText"),onChange:function(e){return o("customAmountText",e)},inlineToolbar:!0}),Object(p.createElement)("div",{className:"wp-block-button donations__amount donations__custom-amount"},Object(p.createElement)("div",{className:"wp-block-button__link"},_e[s].symbol,Object(p.createElement)("span",{className:"donations__custom-amount-placeholder"},we(l,s,{symbol:""}))))),Object(p.createElement)("div",{className:"donations__separator"},"——"),Object(p.createElement)(j.RichText,{tagName:j.__experimentalBlock.p,placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("extraText"),onChange:function(e){return o("extraText",e)},inlineToolbar:!0}),Object(p.createElement)(j.RichText,{wrapperClassName:"wp-block-button",className:"wp-block-button__link",placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("buttonText"),onChange:function(e){return o("buttonText",e)},inlineToolbar:!0}))}))},Ze=Object(ge.compose)([Object(xe.withDispatch)((function(e,t){var n,r=t.stripeConnectUrl;return{autosaveAndRedirect:(n=u()(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,e("core/editor").savePost();case 3:window.top.location.href=r;case 4:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})}}))])((function(e){var t=e.autosaveAndRedirect,n=e.stripeConnectUrl;return Object(p.createElement)(j.Warning,{actions:n&&[Object(p.createElement)(w.Button,{key:"connect",href:n,onClick:t,target:"_top",isDefault:!0,className:"premium-content-block-nudge__button stripe-nudge__button"},Object(g.__)("Connect","full-site-editing"))],className:"donations__nudge premium-content-block-nudge"},Object(p.createElement)("span",{className:"donations__nudge-info premium-content-block-nudge__info"},Object(p.createElement)(w.Dashicon,{icon:"star-filled"}),Object(p.createElement)("span",{className:"donations__nudge-text-container premium-content-block-nudge__text-container"},Object(p.createElement)("span",{className:"donations__nudge-title premium-content-block-nudge__title"},Object(g.__)("Connect to Stripe to use this block on your site","full-site-editing")),Object(p.createElement)("span",{className:"donations__nudge-message premium-content-block-nudge__message"},Object(g.__)("This block will be hidden from your visitors until you connect to Stripe.","full-site-editing")))))})),ze=function(e){var t=e.attributes,n=e.products,r=e.setAttributes,i=e.stripeConnectUrl,o=t.oneTimePlanId,s=t.monthlyPlanId,c=t.annuallyPlanId,l=Object(p.useState)("one-time"),u=v()(l,2),m=u[0],f=u[1],d=function(e){return m===e},b=a()({"one-time":{title:Object(g.__)("One-Time","full-site-editing")}},s&&{"1 month":{title:Object(g.__)("Monthly","full-site-editing")}},{},c&&{"1 year":{title:Object(g.__)("Yearly","full-site-editing")}});return Object(p.useEffect)((function(){o||r({oneTimePlanId:n["one-time"],monthlyPlanId:n["1 month"],annuallyPlanId:n["1 year"]})}),[o]),Object(p.useEffect)((function(){!s&&d("1 month")&&f("one-time"),!c&&d("1 year")&&f("one-time")}),[s,c]),Object(p.createElement)(j.__experimentalBlock.div,null,i&&Object(p.createElement)(Ze,{stripeConnectUrl:i}),Object(p.createElement)("div",{className:"donations__container"},Object.keys(b).length>1&&Object(p.createElement)("div",{className:"donations__tabs"},Object.entries(b).map((function(e){var t=v()(e,2),n=t[0],r=t[1].title;return Object(p.createElement)(w.Button,{className:_()({"is-active":d(n)}),onClick:function(){return f(n)}},r)}))),Object(p.createElement)("div",{className:"donations__content"},Object(p.createElement)(C.Provider,{value:{activeTab:m}},Object.keys(b).map((function(t){return Object(p.createElement)(Ve,h()({},e,{interval:t}))}))))),Object(p.createElement)(E,e))},Ye=function(e){var t=e.error;return Object(p.createElement)("div",{className:"donations__loading-status"},Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Donations","full-site-editing"),instructions:t}))},Je=function(){return Object(p.createElement)("div",{className:"donations__loading-status"},Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Donations","full-site-editing"),instructions:Object(g.__)("Loading data…","full-site-editing")},Object(p.createElement)(w.Spinner,null)))},qe=function(e){var t=e.upgradeUrl;return Object(p.createElement)("div",{className:"donations__upgrade-plan"},Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Donations","full-site-editing"),instructions:Object(g.__)("You'll need to upgrade your plan to use the Donations block.","full-site-editing")},Object(p.createElement)(w.Button,{isSecondary:!0,isLarge:!0,href:t,target:"_blank",className:"donations__button plan-nudge__button"},Object(g.__)("Upgrade Your Plan","full-site-editing")),Object(p.createElement)("div",{className:"donations__disclaimer membership-button__disclaimer"},Object(p.createElement)(w.ExternalLink,{href:"https://wordpress.com/support/donations-block/"},Object(g.__)("Read more about Donations and related fees.","full-site-editing")))))},Xe=function(){var e=u()(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f()({path:"/wpcom/v2/memberships/products",method:"POST",data:{type:"donation",currency:t}});case 3:return n=e.sent,e.abrupt("return",n);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",Promise.reject(e.t0.message));case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),Qe=function(){var e=u()(regeneratorRuntime.mark((function e(){var t,n,r,i=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:null,n="/wpcom/v2/memberships/status",t&&(n+="?type=".concat(t)),e.prev=3,e.next=6,f()({path:n,method:"GET"});case 6:return r=e.sent,e.abrupt("return",r);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",Promise.reject(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(){return e.apply(this,arguments)}}(),et=function(e){var t=e.attributes.currency,n=Object(p.useState)(!0),r=v()(n,2),i=r[0],o=r[1],s=Object(p.useState)(""),c=v()(s,2),a=c[0],l=c[1],u=Object(p.useState)(!1),m=v()(u,2),f=m[0],d=m[1],b=Object(p.useState)(!1),y=v()(b,2),O=y[0],_=y[1],j=Object(p.useState)([]),w=v()(j,2),C=w[0],E=w[1],x=Object(p.useState)(""),S=v()(x,2),k=S[0],P=S[1],F=Object(p.useState)(""),N=v()(F,2),A=N[0],T=N[1],L=function(e){l(e),o(!1)},R=function(e){return e.reduce((function(e,n){var r=n.id,i=n.currency,o=n.type,s=n.interval;return i===t&&"donation"===o&&(e[s]=r),e}),{})},D=function(e){if(!e&&"object"!=typeof e||e.errors)l(Object(g.__)("Could not load data from WordPress.com.","full-site-editing"));else{d(e.should_upgrade_to_access_memberships),P(e.upgrade_url),_(e.connect_url),T(e.site_slug);var n=R(e.products);r=n,(i=Object.keys(r)).includes("one-time")&&i.includes("1 month")&&i.includes("1 year")?E(n):Xe(t).then((function(e){return E(R(e))}),L)}var r,i;o(!1)};return Object(p.useEffect)((function(){Qe("donation").then(D,L)}),[]),i?Object(p.createElement)(Je,null):a?Object(p.createElement)(Ye,{error:a}):f?Object(p.createElement)(qe,{upgradeUrl:k}):Object(p.createElement)(ze,h()({},e,{products:C,stripeConnectUrl:O,siteSlug:A}))},tt=(n(56),{title:Object(g.__)("Donations (a8c-only)","full-site-editing"),description:Object(g.__)("Collect one-time, monthly, or annually recurring donations.","full-site-editing"),attributes:{currency:{type:"string",default:"USD"},oneTimePlanId:{type:"number",default:null},monthlyPlanId:{type:"number",default:null},annuallyPlanId:{type:"number",default:null},showCustomAmount:{type:"boolean",default:!0},oneTimeHeading:{type:"string",default:Object(g.__)("Make a one-time donation","full-site-editing")},monthlyHeading:{type:"string",default:Object(g.__)("Make a monthly donation","full-site-editing")},annualHeading:{type:"string",default:Object(g.__)("Make a yearly donation","full-site-editing")},chooseAmountText:{type:"string",default:Object(g.__)("Choose an amount (USD)","full-site-editing")},customAmountText:{type:"string",default:Object(g.__)("Or enter a custom amount","full-site-editing")},extraText:{type:"string",default:Object(g.__)("Your contribution is appreciated.","full-site-editing")},oneTimeButtonText:{type:"string",default:Object(g.__)("Donate","full-site-editing")},monthlyButtonText:{type:"string",default:Object(g.__)("Donate monthly","full-site-editing")},annualButtonText:{type:"string",default:Object(g.__)("Donate yearly","full-site-editing")}},category:"common",icon:Object(p.createElement)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(p.createElement)("path",{d:"M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z",fill:"black"}),Object(p.createElement)("circle",{cx:"12.7439",cy:"8.69796",r:"5.94466",stroke:"black",strokeWidth:"1.5",fill:"none"}),Object(p.createElement)("path",{d:"M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533",stroke:"black",strokeWidth:"1.5",fill:"none"})),supports:{html:!1},edit:et,save:function(){return null}}),nt=function(){var e=u()(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f()({path:"/wpcom/v2/memberships/status"});case 3:t=e.sent,e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return");case 9:if(!t.should_upgrade_to_access_memberships){e.next=17;break}if(n=Object(d.getBlockType)("a8c/donations")){e.next=14;break}return e.abrupt("return");case 14:r=Object(g._x)("paid","Short label appearing near a block requiring a paid plan","full-site-editing"),Object(d.unregisterBlockType)("a8c/donations"),Object(d.registerBlockType)("a8c/donations",a()({},n,{title:"".concat(n.title," (").concat(r,")")}));case 17:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}();Object(d.registerBlockType)("a8c/donations",tt),nt()}]));
|
1 |
+
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=57)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,n){var r=n(35),i=n(36),o=n(19),s=n(37);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||s()}},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){function n(e,t,n,r,i,o,s){try{var c=e[o](s),a=c.value}catch(l){return void n(l)}c.done?t(a):Promise.resolve(a).then(r,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var s=e.apply(t,r);function c(e){n(s,i,o,c,a,"next",e)}function a(e){n(s,i,o,c,a,"throw",e)}c(void 0)}))}}},function(e,t,n){var r=n(11);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t,n){"use strict";var r=n(23),i=n(22);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function s(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function c(e){return 1===e.length?"0"+e:e}function a(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var s=e.charCodeAt(i);s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=63&s|128):o(e,i)?(s=65536+((1023&s)<<10)+(1023&e.charCodeAt(++i)),n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=63&s|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=63&s|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=c(e[n].toString(16));return t},t.htonl=s,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=s(i)),n+=a(i.toString(16))}return n},t.zero2=c,t.zero8=a,t.join32=function(e,t,n,i){var o=n-t;r(o%4==0);for(var s=new Array(o/4),c=0,a=t;c<s.length;c++,a+=4){var l;l="big"===i?e[a]<<24|e[a+1]<<16|e[a+2]<<8|e[a+3]:e[a+3]<<24|e[a+2]<<16|e[a+1]<<8|e[a],s[c]=l>>>0}return s},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,s=(o<r?1:0)+n+i;e[t]=s>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,s,c){var a=0,l=t;return a+=(l=l+r>>>0)<t?1:0,a+=(l=l+o>>>0)<o?1:0,e+n+i+s+(a+=(l=l+c>>>0)<c?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,o,s,c){return t+r+o+c>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,s,c,a,l){var u=0,p=t;return u+=(p=p+r>>>0)<t?1:0,u+=(p=p+o>>>0)<o?1:0,u+=(p=p+c>>>0)<c?1:0,e+n+i+s+a+(u+=(p=p+l>>>0)<l?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,o,s,c,a,l){return t+r+o+c+l>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t,n){var r=n(38),i=n(39),o=n(19),s=n(40);e.exports=function(e){return r(e)||i(e)||o(e)||s()}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var s=Number.isNaN||function(e){return e!=e};function c(){c.init.call(this)}e.exports=c,c.EventEmitter=c,c.prototype._events=void 0,c.prototype._eventsCount=0,c.prototype._maxListeners=void 0;var a=10;function l(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?c.defaultMaxListeners:e._maxListeners}function p(e,t,n,r){var i,o,s,c;if(l(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void 0===s)s=o[t]=n,++e._eventsCount;else if("function"==typeof s?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=u(e))>0&&s.length>i&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=e,a.type=t,a.count=s.length,c=a,console&&console.warn&&console.warn(c)}return e}function m(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=m.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):b(i,i.length)}function g(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function b(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(c,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),c.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},c.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||s(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},c.prototype.getMaxListeners=function(){return u(this)},c.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var s;if(t.length>0&&(s=t[0]),s instanceof Error)throw s;var c=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw c.context=s,c}var a=i[e];if(void 0===a)return!1;if("function"==typeof a)o(a,this,t);else{var l=a.length,u=b(a,l);for(n=0;n<l;++n)o(u[n],this,t)}return!0},c.prototype.addListener=function(e,t){return p(this,e,t,!1)},c.prototype.on=c.prototype.addListener,c.prototype.prependListener=function(e,t){return p(this,e,t,!0)},c.prototype.once=function(e,t){return l(t),this.on(e,f(this,e,t)),this},c.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,f(this,e,t)),this},c.prototype.removeListener=function(e,t){var n,r,i,o,s;if(l(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,s||t)}return this},c.prototype.off=c.prototype.removeListener,c.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},c.prototype.listeners=function(e){return d(this,e,!0)},c.prototype.rawListeners=function(e){return d(this,e,!1)},c.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},c.prototype.listenerCount=g,c.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r=n(20);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){var r;
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
16 |
object-assign
|
17 |
(c) Sindre Sorhus
|
18 |
@license MIT
|
19 |
+
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function s(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(i){return!1}}()?Object.assign:function(e,t){for(var n,c,a=s(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))i.call(n,u)&&(a[u]=n[u]);if(r){c=r(n);for(var p=0;p<c.length;p++)o.call(n,c[p])&&(a[c[p]]=n[c[p]])}}return a}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r,i,o,s,c=n(10),a=n.n(c),l=n(9),u=n.n(l),p=n(0),m=n(12),f=n.n(m),d=n(8),g=n(1),b=n(5),h=n.n(b),y=n(4),v=n.n(y),O=n(24),_=n.n(O),j=n(3),w=n(2),C=Object(p.createContext)({activeTab:"one-time"}),E=function(e){var t=e.attributes,n=e.setAttributes,r=e.products,i=e.siteSlug,o=t.monthlyPlanId,s=t.annuallyPlanId,c=t.showCustomAmount;return Object(p.createElement)(j.InspectorControls,null,Object(p.createElement)(w.PanelBody,{title:Object(g.__)("Settings","full-site-editing")},Object(p.createElement)(w.ToggleControl,{checked:!!o,onChange:function(e){return n({monthlyPlanId:e?r["1 month"]:null})},label:Object(g.__)("Show monthly donations","full-site-editing")}),Object(p.createElement)(w.ToggleControl,{checked:!!s,onChange:function(e){return n({annuallyPlanId:e?r["1 year"]:null})},label:Object(g.__)("Show annual donations","full-site-editing")}),Object(p.createElement)(w.ToggleControl,{checked:c,onChange:function(e){return n({showCustomAmount:e})},label:Object(g.__)("Show custom amount option","full-site-editing")}),Object(p.createElement)(w.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(i)},Object(g.__)("View donation earnings","full-site-editing"))))},x=n(11),S=n.n(x),k=n(17),P=n.n(k),F=n(26),N=n.n(F),A=n(27),T=n.n(A);r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},i=["(","?"],o={")":["("],":":["?","?:"]},s=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var L={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};function R(e){var t=function(e){for(var t,n,c,a,l=[],u=[];t=e.match(s);){for(n=t[0],(c=e.substr(0,t.index).trim())&&l.push(c);a=u.pop();){if(o[n]){if(o[n][0]===a){n=o[n][1]||n;break}}else if(i.indexOf(a)>=0||r[a]<r[n]){u.push(a);break}l.push(a)}o[n]||u.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&l.push(e),l.concat(u.reverse())}(e);return function(e){return function(e,t){var n,r,i,o,s,c,a=[];for(n=0;n<e.length;n++){if(s=e[n],o=L[s]){for(r=o.length,i=Array(r);r--;)i[r]=a.pop();try{c=o.apply(null,i)}catch(l){return l}}else c=t.hasOwnProperty(s)?t[s]:+s;a.push(c)}return a[0]}(t,e)}}var D={contextDelimiter:"",onMissingKey:null};function M(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},D)this.options[n]=void 0!==t&&n in t?t[n]:D[n]}M.prototype.getPluralForm=function(e,t){var n,r,i,o,s=this.pluralForms[e];return s||("function"!=typeof(i=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),o=R(r),i=function(e){return+o({n:e})}),s=this.pluralForms[e]=i),s(t)},M.prototype.dcnpgettext=function(e,t,n,r,i){var o,s,c;return o=void 0===i?0:this.getPluralForm(e,i),s=n,t&&(s=t+this.options.contextDelimiter+n),(c=this.data[e][s])&&c[o]?c[o]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===o?n:r)};var B=n(28),I=n.n(B),$=n(29),U=n.n($),K=n(18),H=/%(((\d+)\$)|(\(([$_a-zA-Z][$_a-zA-Z0-9]*)\)))?[ +0#-]*\d*(\.(\d+|\*))?(ll|[lhqL])?([cduxXefgsp%])/g;function G(e,t){var n;if(!Array.isArray(t))for(t=new Array(arguments.length-1),n=1;n<arguments.length;n++)t[n-1]=arguments[n];return n=1,e.replace(H,(function(){var e,r,i,o,s;return e=arguments[3],r=arguments[5],i=arguments[7],"%"===(o=arguments[9])?"%":("*"===i&&(i=t[n-1],n++),void 0!==r?t[0]&&"object"==typeof t[0]&&t[0].hasOwnProperty(r)&&(s=t[0][r]):(void 0===e&&(e=n),n++,s=t[e-1]),"f"===o?s=parseFloat(s)||0:"d"===o&&(s=parseInt(s)||0),void 0!==i&&("f"===o?s=s.toFixed(i):"s"===o&&(s=s.substr(0,i))),null!=s?s:"")}))}
|
20 |
/*
|
21 |
* Exposes number format capability
|
22 |
*
|
23 |
* @copyright Copyright (c) 2013 Kevin van Zonneveld (http://kvz.io) and Contributors (http://phpjs.org/authors).
|
24 |
* @license See CREDITS.md
|
25 |
* @see https://github.com/kvz/phpjs/blob/ffe1356af23a6f2512c84c954dd4e828e92579fa/functions/strings/number_format.js
|
26 |
+
*/function W(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var i=isFinite(+e)?+e:0,o=isFinite(+t)?Math.abs(t):0,s=void 0===r?",":r,c=void 0===n?".":n,a="";return(a=(o?function(e,t){var n=Math.pow(10,t);return""+(Math.round(e*n)/n).toFixed(t)}(i,o):""+Math.round(i)).split("."))[0].length>3&&(a[0]=a[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,s)),(a[1]||"").length<o&&(a[1]=a[1]||"",a[1]+=new Array(o-a[1].length+1).join("0")),a.join(c)}var V=N()("i18n-calypso"),Z=[function(e){return e}],z={};function Y(){ee.throwErrors&&"undefined"!=typeof window&&window.console&&window.console.warn&&window.console.warn.apply(window.console,arguments)}function J(e){return Array.prototype.slice.call(e)}function q(e){var t=e[0];("string"!=typeof t||e.length>3||e.length>2&&"object"==typeof e[1]&&"object"==typeof e[2])&&Y("Deprecated Invocation: `translate()` accepts ( string, [string], [object] ). These arguments passed:",J(e),". See https://github.com/Automattic/i18n-calypso#translate-method"),2===e.length&&"string"==typeof t&&"string"==typeof e[1]&&Y("Invalid Invocation: `translate()` requires an options object for plural translations, but passed:",J(e));for(var n={},r=0;r<e.length;r++)"object"==typeof e[r]&&(n=e[r]);if("string"==typeof t?n.original=t:"object"==typeof n.original&&(n.plural=n.original.plural,n.count=n.original.count,n.original=n.original.single),"string"==typeof e[1]&&(n.plural=e[1]),void 0===n.original)throw new Error("Translate called without a `string` value as first argument.");return n}function X(e,t){return e.dcnpgettext("messages",t.context,t.original,t.plural,t.count)}function Q(e,t){for(var n=Z.length-1;n>=0;n--){var r=Z[n](Object.assign({},t)),i=r.context?r.context+""+r.original:r.original;if(e.state.locale[i])return X(e.state.tannin,r)}return null}function ee(){if(!(this instanceof ee))return new ee;this.defaultLocaleSlug="en",this.defaultPluralForms=function(e){return 1===e?0:1},this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,textDirection:void 0,translations:I()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new K.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}ee.throwErrors=!1,ee.prototype.on=function(){var e;(e=this.stateObserver).on.apply(e,arguments)},ee.prototype.off=function(){var e;(e=this.stateObserver).off.apply(e,arguments)},ee.prototype.emit=function(){var e;(e=this.stateObserver).emit.apply(e,arguments)},ee.prototype.numberFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",i=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return W(e,n,r,i)},ee.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},ee.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){var i=e[""]["key-hash"],o=function(e,t){var n=!1===t?"":String(t);if(void 0!==z[n+e])return z[n+e];var r=U()().update(e).digest("hex");return z[n+e]=t?r.substr(0,t):r},s=function(e){return function(t){return t.context?(t.original=o(t.context+String.fromCharCode(4)+t.original,e),delete t.context):t.original=o(t.original,e),t}};if("sha1"===i.substr(0,4))if(4===i.length)Z.push(s(!1));else{var c=i.substr(5).indexOf("-");if(c<0){var a=Number(i.substr(5));Z.push(s(a))}else for(var l=Number(i.substr(5,c)),u=Number(i.substr(6+c)),p=l;p<=u;p++)Z.push(s(p))}}if(e&&e[""].localeSlug)if(e[""].localeSlug===this.state.localeSlug){if(e===this.state.locale)return;Object.assign(this.state.locale,e)}else this.state.locale=Object.assign({},e);else this.state.locale={"":{localeSlug:this.defaultLocaleSlug,plural_forms:this.defaultPluralForms}};this.state.localeSlug=this.state.locale[""].localeSlug,this.state.textDirection=(null===(t=this.state.locale["text directionltr"])||void 0===t?void 0:t[0])||(null===(n=this.state.locale[""])||void 0===n||null===(r=n.momentjs_locale)||void 0===r?void 0:r.textDirection),this.state.tannin=new M(S()({},"messages",this.state.locale)),this.state.numberFormatSettings.decimal_point=X(this.state.tannin,q(["number_format_decimals"])),this.state.numberFormatSettings.thousands_sep=X(this.state.tannin,q(["number_format_thousands_sep"])),"number_format_decimals"===this.state.numberFormatSettings.decimal_point&&(this.state.numberFormatSettings.decimal_point="."),"number_format_thousands_sep"===this.state.numberFormatSettings.thousands_sep&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},ee.prototype.getLocale=function(){return this.state.locale},ee.prototype.getLocaleSlug=function(){return this.state.localeSlug},ee.prototype.isRtl=function(){return"rtl"===this.state.textDirection},ee.prototype.addTranslations=function(e){for(var t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},ee.prototype.hasTranslation=function(){return!!Q(this,q(arguments))},ee.prototype.translate=function(){var e=q(arguments),t=Q(this,e);if(t||(t=X(this.state.tannin,e)),e.args){var n=Array.isArray(e.args)?e.args.slice(0):[e.args];n.unshift(t);try{t=G.apply(void 0,P()(n))}catch(i){if(!window||!window.console)return;var r=this.throwErrors?"error":"warn";"string"!=typeof i?window.console[r](i):window.console[r]("i18n sprintf error:",n)}}return e.components&&(t=T()({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},ee.prototype.reRenderTranslations=function(){V("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},ee.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},ee.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)};var te=ee,ne=n(30),re=n.n(ne),ie=n(31),oe=n.n(ie),se=n(14),ce=n.n(se),ae=n(32),le=n.n(ae),ue=n(33),pe=n.n(ue),me=n(7),fe=n.n(me),de=n(34),ge=n(13);var be,he,ye=new te,ve=ye.numberFormat.bind(ye),Oe=(ye.translate.bind(ye),ye.configure.bind(ye),ye.setLocale.bind(ye),ye.getLocale.bind(ye),ye.getLocaleSlug.bind(ye),ye.addTranslations.bind(ye),ye.reRenderTranslations.bind(ye),ye.registerComponentUpdateHook.bind(ye),ye.registerTranslateHook.bind(ye),ye.state,ye.stateObserver,ye.on.bind(ye),ye.off.bind(ye),ye.emit.bind(ye),he={numberFormat:(be=ye).numberFormat.bind(be),translate:be.translate.bind(be)},function(e){function t(){var t=e.translate.bind(e);return Object.defineProperty(t,"localeSlug",{get:e.getLocaleSlug.bind(e)}),t}}(ye),function(e){var t={getCurrentValue:function(){return e.isRtl()},subscribe:function(t){return e.on("change",t),function(){return e.off("change",t)}}};function n(){return Object(de.useSubscription)(t)}var r=Object(ge.createHigherOrderComponent)((function(e){return Object(me.forwardRef)((function(t,r){var i=n();return fe.a.createElement(e,h()({},t,{isRtl:i,ref:r}))}))}),"WithRTL");return{useRtl:n,withRtl:r}}(ye)),_e=(Oe.useRtl,Oe.withRtl,{AED:{symbol:"د.إ.",grouping:",",decimal:".",precision:2},AFN:{symbol:"؋",grouping:",",decimal:".",precision:2},ALL:{symbol:"Lek",grouping:".",decimal:",",precision:2},AMD:{symbol:"֏",grouping:",",decimal:".",precision:2},ANG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AOA:{symbol:"Kz",grouping:",",decimal:".",precision:2},ARS:{symbol:"$",grouping:".",decimal:",",precision:2},AUD:{symbol:"A$",grouping:",",decimal:".",precision:2},AWG:{symbol:"ƒ",grouping:",",decimal:".",precision:2},AZN:{symbol:"₼",grouping:" ",decimal:",",precision:2},BAM:{symbol:"КМ",grouping:".",decimal:",",precision:2},BBD:{symbol:"Bds$",grouping:",",decimal:".",precision:2},BDT:{symbol:"৳",grouping:",",decimal:".",precision:0},BGN:{symbol:"лв.",grouping:" ",decimal:",",precision:2},BHD:{symbol:"د.ب.",grouping:",",decimal:".",precision:3},BIF:{symbol:"FBu",grouping:",",decimal:".",precision:0},BMD:{symbol:"$",grouping:",",decimal:".",precision:2},BND:{symbol:"$",grouping:".",decimal:",",precision:0},BOB:{symbol:"Bs",grouping:".",decimal:",",precision:2},BRL:{symbol:"R$",grouping:".",decimal:",",precision:2},BSD:{symbol:"$",grouping:",",decimal:".",precision:2},BTC:{symbol:"Ƀ",grouping:",",decimal:".",precision:2},BTN:{symbol:"Nu.",grouping:",",decimal:".",precision:1},BWP:{symbol:"P",grouping:",",decimal:".",precision:2},BYR:{symbol:"р.",grouping:" ",decimal:",",precision:2},BZD:{symbol:"BZ$",grouping:",",decimal:".",precision:2},CAD:{symbol:"C$",grouping:",",decimal:".",precision:2},CDF:{symbol:"FC",grouping:",",decimal:".",precision:2},CHF:{symbol:"CHF",grouping:"'",decimal:".",precision:2},CLP:{symbol:"$",grouping:".",decimal:",",precision:2},CNY:{symbol:"¥",grouping:",",decimal:".",precision:2},COP:{symbol:"$",grouping:".",decimal:",",precision:2},CRC:{symbol:"₡",grouping:".",decimal:",",precision:2},CUC:{symbol:"CUC",grouping:",",decimal:".",precision:2},CUP:{symbol:"$MN",grouping:",",decimal:".",precision:2},CVE:{symbol:"$",grouping:",",decimal:".",precision:2},CZK:{symbol:"Kč",grouping:" ",decimal:",",precision:2},DJF:{symbol:"Fdj",grouping:",",decimal:".",precision:0},DKK:{symbol:"kr.",grouping:"",decimal:",",precision:2},DOP:{symbol:"RD$",grouping:",",decimal:".",precision:2},DZD:{symbol:"د.ج.",grouping:",",decimal:".",precision:2},EGP:{symbol:"ج.م.",grouping:",",decimal:".",precision:2},ERN:{symbol:"Nfk",grouping:",",decimal:".",precision:2},ETB:{symbol:"ETB",grouping:",",decimal:".",precision:2},EUR:{symbol:"€",grouping:".",decimal:",",precision:2},FJD:{symbol:"FJ$",grouping:",",decimal:".",precision:2},FKP:{symbol:"£",grouping:",",decimal:".",precision:2},GBP:{symbol:"£",grouping:",",decimal:".",precision:2},GEL:{symbol:"Lari",grouping:" ",decimal:",",precision:2},GHS:{symbol:"₵",grouping:",",decimal:".",precision:2},GIP:{symbol:"£",grouping:",",decimal:".",precision:2},GMD:{symbol:"D",grouping:",",decimal:".",precision:2},GNF:{symbol:"FG",grouping:",",decimal:".",precision:0},GTQ:{symbol:"Q",grouping:",",decimal:".",precision:2},GYD:{symbol:"G$",grouping:",",decimal:".",precision:2},HKD:{symbol:"HK$",grouping:",",decimal:".",precision:2},HNL:{symbol:"L.",grouping:",",decimal:".",precision:2},HRK:{symbol:"kn",grouping:".",decimal:",",precision:2},HTG:{symbol:"G",grouping:",",decimal:".",precision:2},HUF:{symbol:"Ft",grouping:".",decimal:",",precision:0},IDR:{symbol:"Rp",grouping:".",decimal:",",precision:0},ILS:{symbol:"₪",grouping:",",decimal:".",precision:2},INR:{symbol:"₹",grouping:",",decimal:".",precision:2},IQD:{symbol:"د.ع.",grouping:",",decimal:".",precision:2},IRR:{symbol:"﷼",grouping:",",decimal:"/",precision:2},ISK:{symbol:"kr.",grouping:".",decimal:",",precision:0},JMD:{symbol:"J$",grouping:",",decimal:".",precision:2},JOD:{symbol:"د.ا.",grouping:",",decimal:".",precision:3},JPY:{symbol:"¥",grouping:",",decimal:".",precision:0},KES:{symbol:"S",grouping:",",decimal:".",precision:2},KGS:{symbol:"сом",grouping:" ",decimal:"-",precision:2},KHR:{symbol:"៛",grouping:",",decimal:".",precision:0},KMF:{symbol:"CF",grouping:",",decimal:".",precision:2},KPW:{symbol:"₩",grouping:",",decimal:".",precision:0},KRW:{symbol:"₩",grouping:",",decimal:".",precision:0},KWD:{symbol:"د.ك.",grouping:",",decimal:".",precision:3},KYD:{symbol:"$",grouping:",",decimal:".",precision:2},KZT:{symbol:"₸",grouping:" ",decimal:"-",precision:2},LAK:{symbol:"₭",grouping:",",decimal:".",precision:0},LBP:{symbol:"ل.ل.",grouping:",",decimal:".",precision:2},LKR:{symbol:"₨",grouping:",",decimal:".",precision:0},LRD:{symbol:"L$",grouping:",",decimal:".",precision:2},LSL:{symbol:"M",grouping:",",decimal:".",precision:2},LYD:{symbol:"د.ل.",grouping:",",decimal:".",precision:3},MAD:{symbol:"د.م.",grouping:",",decimal:".",precision:2},MDL:{symbol:"lei",grouping:",",decimal:".",precision:2},MGA:{symbol:"Ar",grouping:",",decimal:".",precision:0},MKD:{symbol:"ден.",grouping:".",decimal:",",precision:2},MMK:{symbol:"K",grouping:",",decimal:".",precision:2},MNT:{symbol:"₮",grouping:" ",decimal:",",precision:2},MOP:{symbol:"MOP$",grouping:",",decimal:".",precision:2},MRO:{symbol:"UM",grouping:",",decimal:".",precision:2},MTL:{symbol:"₤",grouping:",",decimal:".",precision:2},MUR:{symbol:"₨",grouping:",",decimal:".",precision:2},MVR:{symbol:"MVR",grouping:",",decimal:".",precision:1},MWK:{symbol:"MK",grouping:",",decimal:".",precision:2},MXN:{symbol:"MX$",grouping:",",decimal:".",precision:2},MYR:{symbol:"RM",grouping:",",decimal:".",precision:2},MZN:{symbol:"MT",grouping:",",decimal:".",precision:0},NAD:{symbol:"N$",grouping:",",decimal:".",precision:2},NGN:{symbol:"₦",grouping:",",decimal:".",precision:2},NIO:{symbol:"C$",grouping:",",decimal:".",precision:2},NOK:{symbol:"kr",grouping:" ",decimal:",",precision:2},NPR:{symbol:"₨",grouping:",",decimal:".",precision:2},NZD:{symbol:"NZ$",grouping:",",decimal:".",precision:2},OMR:{symbol:"﷼",grouping:",",decimal:".",precision:3},PAB:{symbol:"B/.",grouping:",",decimal:".",precision:2},PEN:{symbol:"S/.",grouping:",",decimal:".",precision:2},PGK:{symbol:"K",grouping:",",decimal:".",precision:2},PHP:{symbol:"₱",grouping:",",decimal:".",precision:2},PKR:{symbol:"₨",grouping:",",decimal:".",precision:2},PLN:{symbol:"zł",grouping:" ",decimal:",",precision:2},PYG:{symbol:"₲",grouping:".",decimal:",",precision:2},QAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},RON:{symbol:"lei",grouping:".",decimal:",",precision:2},RSD:{symbol:"Дин.",grouping:".",decimal:",",precision:2},RUB:{symbol:"₽",grouping:" ",decimal:",",precision:2},RWF:{symbol:"RWF",grouping:" ",decimal:",",precision:2},SAR:{symbol:"﷼",grouping:",",decimal:".",precision:2},SBD:{symbol:"S$",grouping:",",decimal:".",precision:2},SCR:{symbol:"₨",grouping:",",decimal:".",precision:2},SDD:{symbol:"LSd",grouping:",",decimal:".",precision:2},SDG:{symbol:"£",grouping:",",decimal:".",precision:2},SEK:{symbol:"kr",grouping:",",decimal:".",precision:2},SGD:{symbol:"S$",grouping:",",decimal:".",precision:2},SHP:{symbol:"£",grouping:",",decimal:".",precision:2},SLL:{symbol:"Le",grouping:",",decimal:".",precision:2},SOS:{symbol:"S",grouping:",",decimal:".",precision:2},SRD:{symbol:"$",grouping:",",decimal:".",precision:2},STD:{symbol:"Db",grouping:",",decimal:".",precision:2},SVC:{symbol:"₡",grouping:",",decimal:".",precision:2},SYP:{symbol:"£",grouping:",",decimal:".",precision:2},SZL:{symbol:"E",grouping:",",decimal:".",precision:2},THB:{symbol:"฿",grouping:",",decimal:".",precision:2},TJS:{symbol:"TJS",grouping:" ",decimal:";",precision:2},TMT:{symbol:"m",grouping:" ",decimal:",",precision:0},TND:{symbol:"د.ت.",grouping:",",decimal:".",precision:3},TOP:{symbol:"T$",grouping:",",decimal:".",precision:2},TRY:{symbol:"TL",grouping:".",decimal:",",precision:2},TTD:{symbol:"TT$",grouping:",",decimal:".",precision:2},TVD:{symbol:"$T",grouping:",",decimal:".",precision:2},TWD:{symbol:"NT$",grouping:",",decimal:".",precision:2},TZS:{symbol:"TSh",grouping:",",decimal:".",precision:2},UAH:{symbol:"₴",grouping:" ",decimal:",",precision:2},UGX:{symbol:"USh",grouping:",",decimal:".",precision:2},USD:{symbol:"$",grouping:",",decimal:".",precision:2},UYU:{symbol:"$U",grouping:".",decimal:",",precision:2},UZS:{symbol:"сўм",grouping:" ",decimal:",",precision:2},VEB:{symbol:"Bs.",grouping:",",decimal:".",precision:2},VEF:{symbol:"Bs. F.",grouping:".",decimal:",",precision:2},VND:{symbol:"₫",grouping:".",decimal:",",precision:1},VUV:{symbol:"VT",grouping:",",decimal:".",precision:0},WST:{symbol:"WS$",grouping:",",decimal:".",precision:2},XAF:{symbol:"F",grouping:",",decimal:".",precision:2},XCD:{symbol:"$",grouping:",",decimal:".",precision:2},XOF:{symbol:"F",grouping:" ",decimal:",",precision:2},XPF:{symbol:"F",grouping:",",decimal:".",precision:2},YER:{symbol:"﷼",grouping:",",decimal:".",precision:2},ZAR:{symbol:"R",grouping:" ",decimal:",",precision:2},ZMW:{symbol:"ZK",grouping:",",decimal:".",precision:2},WON:{symbol:"₩",grouping:",",decimal:".",precision:2}});function je(e){return _e[e]||{symbol:"$",grouping:",",decimal:".",precision:2}}function we(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=je(t);if(!r||isNaN(e))return null;var i=a()({},r,{},n),o=i.decimal,s=i.grouping,c=i.precision,l=i.symbol,u=e<0?"-":"",p=ve(Math.abs(e),{decimals:c,thousandsSep:s,decPoint:o});return n.stripZeros&&(p=Ce(p,o)),"".concat(u).concat(l).concat(p)}function Ce(e,t){var n=new RegExp("\\".concat(t,"0+$"));return e.replace(n,"")}var Ee=n(25),xe=n(6),Se=n(15);function ke(e){var t=e.className,n=e.tab,r=e.label,i=e.selectedTab,o=e.onSelected,s=(n.id===i.id?["is-pressed","is-active"]:[]).concat([t,"components-button","components-tab-button"]);return Object(p.createElement)("button",{type:"button",onClick:function(){return o(n)},className:s.join(" ")},r)}function Pe(e){var t=e.className,n=e.tabs,r=e.selectedTab,i=e.onSelected,o=e.selectBlock;return Object(p.createElement)("div",{className:"premium-content-tabs block-editor-block-toolbar"},n.map((function(n){return Object(p.createElement)(ke,h()({key:n.id},e,{tab:n,selectedTab:r,className:"".concat(t,"--tab"),label:n.label,onSelected:i}))})),Object(p.createElement)("button",{onClick:function(){Object(xe.select)("core/edit-post").isEditorSidebarOpened()||Object(xe.dispatch)("core/edit-post").openGeneralSidebar("edit-post/block"),o()},className:"edit components-button is-button is-secondary"},Object(g.__)("Edit","full-site-editing")))}function Fe(){return Object(p.createElement)("div",{className:"premium-content-wrapper"},Object(p.createElement)(j.InnerBlocks,{allowedBlocks:["premium-content/subscriber-view","premium-content/logged-out-view"],templateLock:"all",template:[["premium-content/subscriber-view"],["premium-content/logged-out-view"]]}))}function Ne(e){var t=e.className,n=e.plan,r=e.selectedPlan,i=e.onSelected,o=e.onClose,s=e.getPlanDescription,c=r&&n.id===r.id,a=(c?["is-selected"]:[]).concat([t]).join(" "),l=c?"yes":void 0,u=null;return n&&(u=" "+s(n)),Object(p.createElement)(w.MenuItem,{onClick:function(e){e.preventDefault(),i(n),o()},className:a,key:n.id,value:n.id,selected:c,icon:l},n.title," : ",u)}function Ae(e){var t=e.plans,n=e.selectedPlan,r=e.onSelected;return Object(p.createElement)(w.MenuGroup,null,t.map((function(t){return Object(p.createElement)(Ne,h()({},e,{key:t.id,selectedPlan:n,onSelected:r,plan:t}))})))}function Te(e){return Object(p.createElement)(w.MenuGroup,null,Object(p.createElement)(w.MenuItem,{onClick:function(t){t.preventDefault(),Object(xe.select)("core/edit-post").isEditorSidebarOpened()||Object(xe.dispatch)("core/edit-post").openGeneralSidebar("edit-post/block");var n=document.getElementById("new-plan-name");null!==n&&n.focus(),e.onClose()}},Object(g.__)("Add a new subscription","full-site-editing")))}function Le(e){var t=e.selectedPlanId,n=e.onSelected,r=e.plans,i=e.getPlanDescription,o=r.find((function(e){return e.id===t})),s=null;return o&&(s=" "+i(o)),Object(p.createElement)(j.BlockControls,null,Object(p.createElement)(w.Toolbar,null,Object(p.createElement)(w.DropdownMenu,{icon:Object(p.createElement)(p.Fragment,null,Object(p.createElement)(w.Dashicon,{icon:"update"})," ",s&&Object(p.createElement)(p.Fragment,null,s)),label:Object(g.__)("Select a plan","full-site-editing"),className:"premium-content-toolbar-button"},(function(t){var r=t.onClose;return Object(p.createElement)(p.Fragment,null,Object(p.createElement)(Ae,h()({},e,{onSelected:n,onClose:r,selectedPlan:o})),Object(p.createElement)(Te,h()({},e,{onClose:r})))}))))}function Re(e){var t=Object(p.useState)(0),n=v()(t,2),r=n[0],i=n[1],o=e.attributes,s=e.setAttributes,c=e.className,a=e.savePlan,l=(e.currencies,e.siteSlug);return Object(p.createElement)(j.InspectorControls,null,l&&Object(p.createElement)(w.ExternalLink,{href:"https://wordpress.com/earn/payments/".concat(l),className:"wp-block-premium-content-container---link-to-earn"},Object(g.__)("Manage your subscriptions.","full-site-editing")),Object(p.createElement)(w.PanelBody,{title:"Add a new subscription",initialOpen:!0,className:"".concat(c,"---settings-add_plan")},1===r&&Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Premium Content","full-site-editing"),instructions:Object(g.__)("Saving plan…","full-site-editing")},Object(p.createElement)(w.Spinner,null)),0===r&&Object(p.createElement)("div",null,Object(p.createElement)(w.PanelRow,{className:"plan-name"},Object(p.createElement)(w.TextControl,{id:"new-plan-name",label:"Name",value:o.newPlanName,onChange:function(e){return s({newPlanName:e})}})),Object(p.createElement)(w.PanelRow,{className:"plan-price"},Object(p.createElement)(w.SelectControl,{label:"Currency",onChange:function(e){return s({newPlanCurrency:e})},value:o.newPlanCurrency,options:He}),Object(p.createElement)(w.TextControl,{label:"Price",value:o.newPlanPrice,onChange:function(e){return s({newPlanPrice:parseFloat(e)})},type:"number"})),Object(p.createElement)(w.PanelRow,{className:"plan-interval"},Object(p.createElement)(w.SelectControl,{label:"Interval",onChange:function(e){return s({newPlanInterval:e})},value:o.newPlanInterval,options:[{label:"Month",value:"1 month"},{label:"Year",value:"1 year"}]})),Object(p.createElement)(w.PanelRow,null,Object(p.createElement)(w.Button,{isSecondary:!0,isLarge:!0,onClick:function(t){t.preventDefault(),i(1),a(e.attributes,(function(e){i(0),e&&(s({newPlanPrice:5}),s({newPlanName:""}))}))}},Object(g.__)("Add subscription","full-site-editing"))))))}var De=Object(ge.compose)([Object(xe.withDispatch)((function(e,t){var n,r=t.stripeConnectUrl;return{autosaveAndRedirect:(n=u()(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,e("core/editor").savePost();case 3:window.top.location.href=r;case 4:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})}}))])((function(e){var t=e.autosaveAndRedirect,n=e.stripeConnectUrl;return Object(p.createElement)(j.Warning,{actions:n&&[Object(p.createElement)(w.Button,{key:"connect",href:n,onClick:t,target:"_top",isDefault:!0,className:"premium-content-block-nudge__button stripe-nudge__button"},Object(g.__)("Connect","full-site-editing"))],className:"premium-content-block-nudge"},Object(p.createElement)("span",{className:"premium-content-block-nudge__info"},Object(p.createElement)(w.Dashicon,{icon:"star-filled"}),Object(p.createElement)("span",{className:"premium-content-block-nudge__text-container"},Object(p.createElement)("span",{className:"premium-content-block-nudge__title"},Object(g.__)("Connect to Stripe to use this block on your site","full-site-editing")),Object(p.createElement)("span",{className:"premium-content-block-nudge__message"},Object(g.__)("This block will be hidden from your visitors until you connect to Stripe.","full-site-editing")))))})),Me={selectedTab:{id:"",className:"",label:Object(p.createElement)(p.Fragment,null)},stripeNudge:null},Be=Object(p.createContext)(Me),Ie=[{id:"premium",label:Object(p.createElement)("span",null,Object(g.__)("Subscriber View","full-site-editing")),className:"wp-premium-content-subscriber-view"},{id:"wall",label:Object(p.createElement)("span",null,Object(g.__)("Non-subscriber View","full-site-editing")),className:"wp-premium-content-logged-out-view"}],$e=[];function Ue(e,t){var n=e.noticeOperations;n.removeAllNotices(),n.createErrorNotice(t)}Object(ge.compose)([Object(xe.withSelect)((function(e,t){return{postId:(0,e("core/editor").getCurrentPostId)(),containerClientId:e("core/block-editor").getBlockHierarchyRootClientId(t.clientId)}})),w.withNotices,Object(xe.withDispatch)((function(e,t){var n=e("core/block-editor");return{selectBlock:function(){n.selectBlock(t.containerClientId)}}}))])((function(e){var t=Object(p.useState)(Ie[1]),n=v()(t,2),r=n[0],i=n[1],o=Object(p.useState)(!1),s=v()(o,2),c=s[0],a=s[1],l=Object(p.useState)($e),u=v()(l,2),m=u[0],d=u[1],b=Object(p.useState)(null),y=v()(b,2),O=y[0],_=y[1],j=Object(p.useState)(0),C=v()(j,2),E=C[0],x=C[1],S=Object(p.useState)(!1),k=v()(S,2),P=k[0],F=k[1],N=Object(p.useState)(""),A=v()(N,2),T=A[0],L=A[1],R=Object(p.useState)(""),D=v()(R,2),M=D[0],B=D[1];function I(t,n){if(!t.newPlanName||0===t.newPlanName.length)return Ue(e,Object(g.__)("Plan requires a name","full-site-editing")),void n(!1);var r,i,o=parseFloat(t.newPlanPrice),s=Ge(t.newPlanCurrency),c=Object(g.sprintf)(Object(g.__)("Minimum allowed price is %s.","full-site-editing"),we(s,t.newPlanCurrency));if(o<s)return Ue(e,c),void n(!1);if(r=t.newPlanCurrency,i=o,isNaN(i)||!(i>=Ge(r)))return Ue(e,Object(g.__)("Plan requires a valid price","full-site-editing")),void n(!1);var a={path:"/wpcom/v2/memberships/product",method:"POST",data:{currency:t.newPlanCurrency,price:t.newPlanPrice,title:t.newPlanName,interval:t.newPlanInterval}};f()(a).then((function(t){var r={id:t.id,title:t.title,interval:t.interval,price:t.price,currency:t.currency};d(m.concat([r])),$(r),function(e,t){var n=e.noticeOperations;n.removeAllNotices(),n.createNotice({status:"info",content:t})}(e,Object(g.__)("Successfully created plan","full-site-editing")),n&&n(!0)}),(function(){Ue(e,Object(g.__)("There was an error when adding the plan.","full-site-editing")),n&&n(!1)}))}function $(t){e.setAttributes({selectedPlanId:t.id})}var U=Object(p.useRef)(null);!function(e,t){function n(n){e.current&&n.target&&n.target instanceof Node&&!e.current.contains(n.target)?t(!1):t(!0)}Object(p.useEffect)((function(){return document.addEventListener("mousedown",n),function(){document.removeEventListener("mousedown",n)}}))}(U,a);var K=e.isSelected,H=e.className;if(Object(p.useEffect)((function(){var t={path:"/wpcom/v2/memberships/status",method:"GET"};f()(t).then((function(t){if(t||"object"==typeof t){if(t.errors&&Object.values(t.errors)&&Object.values(t.errors)[0][0])return x(2),void Ue(e,Object.values(t.errors)[0][0]);_(t.connect_url),F(t.should_upgrade_to_access_memberships),L(t.upgrade_url),B(t.site_slug),t.products&&0===t.products.length&&!t.should_upgrade_to_access_memberships&&t.connected_account_id?I({newPlanCurrency:"USD",newPlanPrice:5,newPlanName:Object(g.__)("Monthly Subscription","full-site-editing"),newPlanInterval:"1 month"},(function(){x(t.connected_account_id?1:2)})):(t.products&&t.products.length>0&&(d(t.products),e.attributes.selectedPlanId||$(t.products[0])),x(t.connected_account_id?1:2))}}),(function(t){_(null),x(2),Ue(e,t.message)})),e.selectBlock()}),[]),0===E)return Object(p.createElement)("div",{className:H,ref:U},e.noticeUI,Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Premium Content","full-site-editing"),instructions:Object(g.__)("Loading data…","full-site-editing")},Object(p.createElement)(w.Spinner,null)));if(P)return Object(p.createElement)("div",{className:H,ref:U},e.noticeUI,Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Premium Content","full-site-editing"),instructions:Object(g.__)("You'll need to upgrade your plan to use the Premium Content block.","full-site-editing")},Object(p.createElement)(w.Button,{isSecondary:!0,isLarge:!0,href:T,target:"_blank",className:"premium-content-block-nudge__button plan-nudge__button"},Object(g.__)("Upgrade Your Plan","full-site-editing")),Object(p.createElement)("div",{className:"membership-button__disclaimer"},Object(p.createElement)(w.ExternalLink,{href:"https://wordpress.com/support/premium-content-block/"},Object(g.__)("Read more about Premium Content and related fees.","full-site-editing")))));var G=null;if(!P&&1!==E&&O){var W=function(e,t){var n,r=e.postId;if(!Object(Se.isURL)(t))return null;if(!r)return t;try{var i=Object(Se.getQueryArg)(t,"state");"string"==typeof i&&(n=JSON.parse(atob(i)))}catch(o){return t}return n.from_editor_post_id=r,Object(Se.addQueryArgs)(t,{state:btoa(JSON.stringify(n))})}(e,O);G=Object(p.createElement)(De,h()({},e,{stripeConnectUrl:W}))}return Object(p.createElement)("div",{className:H,ref:U},e.noticeUI,(K||c)&&1===E&&Object(p.createElement)(Le,h()({},e,{plans:m,selectedPlanId:e.attributes.selectedPlanId,onSelected:$,getPlanDescription:function(e){var t=we(parseFloat(e.price),e.currency);return"1 month"===e.interval?Object(g.sprintf)(Object(g.__)("%s / month","full-site-editing"),t):"1 year"===e.interval?Object(g.sprintf)(Object(g.__)("%s / year","full-site-editing"),t):"one-time"===e.interval?t:Object(g.sprintf)(Object(g.__)("%s / %s","full-site-editing"),t,e.interval)}})),(K||c)&&1===E&&Object(p.createElement)(Re,h()({},e,{savePlan:I,siteSlug:M})),(K||c)&&Object(p.createElement)(Pe,h()({},e,{tabs:Ie,selectedTab:r,onSelected:i})),Object(p.createElement)(Be.Provider,{value:{selectedTab:r,stripeNudge:G}},Object(p.createElement)(Fe,null)))}));(function(){for(var e=Object(d.getCategories)(),t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=function(){var t=s[o];if(e.some((function(e){return e.slug===t})))return{v:t}},o=0,s=n;o<s.length;o++){var c=i();if("object"==typeof c)return c.v}throw new Error("Could not find a category from the provided list: ".concat(n.join(",")))})("design","common"),Object(g.__)("Premium Content","full-site-editing"),Object(g.__)("Restrict access to your content for paying subscribers.","full-site-editing"),Object(p.createElement)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(p.createElement)("path",{d:"M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z",fill:"black"}),Object(p.createElement)("circle",{cx:"12.7439",cy:"8.69796",r:"5.94466",stroke:"black",strokeWidth:"1.5",fill:"none"}),Object(p.createElement)("path",{d:"M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533",stroke:"black",strokeWidth:"1.5",fill:"none"})),Object(g.__)("premium","full-site-editing"),Object(g.__)("paywall","full-site-editing");var Ke={USD:.5,AUD:.5,BRL:.5,CAD:.5,CHF:.5,DKK:2.5,EUR:.5,GBP:.3,HKD:4,INR:.5,JPY:50,MXN:10,NOK:3,NZD:.5,PLN:2,SEK:3,SGD:.5},He=Object.keys(Ke).map((function(e){var t=je(e).symbol;return{value:e,label:t===e?e:"".concat(e," ").concat(Object(Ee.trimEnd)(t,"."))}}));function Ge(e){return Ke[e]}var We={heading:{"one-time":"oneTimeHeading","1 month":"monthlyHeading","1 year":"annualHeading"},buttonText:{"one-time":"oneTimeButtonText","1 month":"monthlyButtonText","1 year":"annualButtonText"}},Ve=function(e){var t=e.attributes,n=e.interval,r=e.setAttributes,i=function(e){return e in We?t[We[e][n]]:t[e]},o=function(e,t){return r(e in We?S()({},We[e][n],t):S()({},e,t))},s=i("currency"),c=Ge(s),a=[10*c,30*c,200*c],l=100*c;return Object(p.createElement)(C.Consumer,null,(function(e){var t=e.activeTab;return Object(p.createElement)("div",{hidden:t!==n},Object(p.createElement)(j.RichText,{tagName:j.__experimentalBlock.h4,placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("heading"),onChange:function(e){return o("heading",e)},inlineToolbar:!0}),Object(p.createElement)(j.RichText,{tagName:j.__experimentalBlock.p,placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("chooseAmountText"),onChange:function(e){return o("chooseAmountText",e)},inlineToolbar:!0}),Object(p.createElement)("div",{className:"wp-block-buttons donations__amounts"},a.map((function(e){return Object(p.createElement)("div",{className:"wp-block-button donations__amount"},Object(p.createElement)("div",{className:"wp-block-button__link"},we(e,s)))}))),i("showCustomAmount")&&Object(p.createElement)(p.Fragment,null,Object(p.createElement)(j.RichText,{tagName:j.__experimentalBlock.p,placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("customAmountText"),onChange:function(e){return o("customAmountText",e)},inlineToolbar:!0}),Object(p.createElement)("div",{className:"wp-block-button donations__amount donations__custom-amount"},Object(p.createElement)("div",{className:"wp-block-button__link"},_e[s].symbol,Object(p.createElement)("span",{className:"donations__custom-amount-placeholder"},we(l,s,{symbol:""}))))),Object(p.createElement)("div",{className:"donations__separator"},"——"),Object(p.createElement)(j.RichText,{tagName:j.__experimentalBlock.p,placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("extraText"),onChange:function(e){return o("extraText",e)},inlineToolbar:!0}),Object(p.createElement)(j.RichText,{wrapperClassName:"wp-block-button",className:"wp-block-button__link",placeholder:Object(g.__)("Write a message…","full-site-editing"),value:i("buttonText"),onChange:function(e){return o("buttonText",e)},inlineToolbar:!0}))}))},Ze=Object(ge.compose)([Object(xe.withDispatch)((function(e,t){var n,r=t.stripeConnectUrl;return{autosaveAndRedirect:(n=u()(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n.preventDefault(),t.next=3,e("core/editor").savePost();case 3:window.top.location.href=r;case 4:case"end":return t.stop()}}),t)}))),function(e){return n.apply(this,arguments)})}}))])((function(e){var t=e.autosaveAndRedirect,n=e.stripeConnectUrl;return Object(p.createElement)(j.Warning,{actions:n&&[Object(p.createElement)(w.Button,{key:"connect",href:n,onClick:t,target:"_top",isDefault:!0,className:"premium-content-block-nudge__button stripe-nudge__button"},Object(g.__)("Connect","full-site-editing"))],className:"donations__nudge premium-content-block-nudge"},Object(p.createElement)("span",{className:"donations__nudge-info premium-content-block-nudge__info"},Object(p.createElement)(w.Dashicon,{icon:"star-filled"}),Object(p.createElement)("span",{className:"donations__nudge-text-container premium-content-block-nudge__text-container"},Object(p.createElement)("span",{className:"donations__nudge-title premium-content-block-nudge__title"},Object(g.__)("Connect to Stripe to use this block on your site","full-site-editing")),Object(p.createElement)("span",{className:"donations__nudge-message premium-content-block-nudge__message"},Object(g.__)("This block will be hidden from your visitors until you connect to Stripe.","full-site-editing")))))})),ze=function(e){var t=e.attributes,n=e.products,r=e.setAttributes,i=e.stripeConnectUrl,o=t.oneTimePlanId,s=t.monthlyPlanId,c=t.annuallyPlanId,l=Object(p.useState)("one-time"),u=v()(l,2),m=u[0],f=u[1],d=function(e){return m===e},b=a()({"one-time":{title:Object(g.__)("One-Time","full-site-editing")}},s&&{"1 month":{title:Object(g.__)("Monthly","full-site-editing")}},{},c&&{"1 year":{title:Object(g.__)("Yearly","full-site-editing")}});return Object(p.useEffect)((function(){o||r({oneTimePlanId:n["one-time"],monthlyPlanId:n["1 month"],annuallyPlanId:n["1 year"]})}),[o]),Object(p.useEffect)((function(){!s&&d("1 month")&&f("one-time"),!c&&d("1 year")&&f("one-time")}),[s,c]),Object(p.createElement)(j.__experimentalBlock.div,null,i&&Object(p.createElement)(Ze,{stripeConnectUrl:i}),Object(p.createElement)("div",{className:"donations__container"},Object.keys(b).length>1&&Object(p.createElement)("div",{className:"donations__tabs"},Object.entries(b).map((function(e){var t=v()(e,2),n=t[0],r=t[1].title;return Object(p.createElement)(w.Button,{className:_()({"is-active":d(n)}),onClick:function(){return f(n)}},r)}))),Object(p.createElement)("div",{className:"donations__content"},Object(p.createElement)(C.Provider,{value:{activeTab:m}},Object.keys(b).map((function(t){return Object(p.createElement)(Ve,h()({},e,{interval:t}))}))))),Object(p.createElement)(E,e))},Ye=function(e){var t=e.error;return Object(p.createElement)("div",{className:"donations__loading-status"},Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Donations","full-site-editing"),instructions:t}))},Je=function(){return Object(p.createElement)("div",{className:"donations__loading-status"},Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Donations","full-site-editing"),instructions:Object(g.__)("Loading data…","full-site-editing")},Object(p.createElement)(w.Spinner,null)))},qe=function(e){var t=e.upgradeUrl;return Object(p.createElement)("div",{className:"donations__upgrade-plan"},Object(p.createElement)(w.Placeholder,{icon:"lock",label:Object(g.__)("Donations","full-site-editing"),instructions:Object(g.__)("You'll need to upgrade your plan to use the Donations block.","full-site-editing")},Object(p.createElement)(w.Button,{isSecondary:!0,isLarge:!0,href:t,target:"_blank",className:"donations__button plan-nudge__button"},Object(g.__)("Upgrade Your Plan","full-site-editing")),Object(p.createElement)("div",{className:"donations__disclaimer membership-button__disclaimer"},Object(p.createElement)(w.ExternalLink,{href:"https://wordpress.com/support/donations-block/"},Object(g.__)("Read more about Donations and related fees.","full-site-editing")))))},Xe=function(){var e=u()(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f()({path:"/wpcom/v2/memberships/products",method:"POST",data:{type:"donation",currency:t}});case 3:return n=e.sent,e.abrupt("return",n);case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",Promise.reject(e.t0.message));case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),Qe=function(){var e=u()(regeneratorRuntime.mark((function e(){var t,n,r,i=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]?i[0]:null,n="/wpcom/v2/memberships/status",t&&(n+="?type=".concat(t)),e.prev=3,e.next=6,f()({path:n,method:"GET"});case 6:return r=e.sent,e.abrupt("return",r);case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",Promise.reject(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(){return e.apply(this,arguments)}}(),et=function(e){var t=e.attributes.currency,n=Object(p.useState)(!0),r=v()(n,2),i=r[0],o=r[1],s=Object(p.useState)(""),c=v()(s,2),a=c[0],l=c[1],u=Object(p.useState)(!1),m=v()(u,2),f=m[0],d=m[1],b=Object(p.useState)(!1),y=v()(b,2),O=y[0],_=y[1],j=Object(p.useState)([]),w=v()(j,2),C=w[0],E=w[1],x=Object(p.useState)(""),S=v()(x,2),k=S[0],P=S[1],F=Object(p.useState)(""),N=v()(F,2),A=N[0],T=N[1],L=function(e){l(e),o(!1)},R=function(e){return e.reduce((function(e,n){var r=n.id,i=n.currency,o=n.type,s=n.interval;return i===t&&"donation"===o&&(e[s]=r),e}),{})},D=function(e){if(!e&&"object"!=typeof e||e.errors)l(Object(g.__)("Could not load data from WordPress.com.","full-site-editing"));else{d(e.should_upgrade_to_access_memberships),P(e.upgrade_url),_(e.connect_url),T(e.site_slug);var n=R(e.products);r=n,(i=Object.keys(r)).includes("one-time")&&i.includes("1 month")&&i.includes("1 year")?E(n):Xe(t).then((function(e){return E(R(e))}),L)}var r,i;o(!1)};return Object(p.useEffect)((function(){Qe("donation").then(D,L)}),[]),i?Object(p.createElement)(Je,null):a?Object(p.createElement)(Ye,{error:a}):f?Object(p.createElement)(qe,{upgradeUrl:k}):Object(p.createElement)(ze,h()({},e,{products:C,stripeConnectUrl:O,siteSlug:A}))},tt=(n(56),{title:Object(g.__)("Donations (a8c-only)","full-site-editing"),description:Object(g.__)("Collect one-time, monthly, or annually recurring donations.","full-site-editing"),attributes:{currency:{type:"string",default:"USD"},oneTimePlanId:{type:"number",default:null},monthlyPlanId:{type:"number",default:null},annuallyPlanId:{type:"number",default:null},showCustomAmount:{type:"boolean",default:!0},oneTimeHeading:{type:"string",default:Object(g.__)("Make a one-time donation","full-site-editing")},monthlyHeading:{type:"string",default:Object(g.__)("Make a monthly donation","full-site-editing")},annualHeading:{type:"string",default:Object(g.__)("Make a yearly donation","full-site-editing")},chooseAmountText:{type:"string",default:Object(g.__)("Choose an amount (USD)","full-site-editing")},customAmountText:{type:"string",default:Object(g.__)("Or enter a custom amount","full-site-editing")},extraText:{type:"string",default:Object(g.__)("Your contribution is appreciated.","full-site-editing")},oneTimeButtonText:{type:"string",default:Object(g.__)("Donate","full-site-editing")},monthlyButtonText:{type:"string",default:Object(g.__)("Donate monthly","full-site-editing")},annualButtonText:{type:"string",default:Object(g.__)("Donate yearly","full-site-editing")}},category:"widgets",icon:Object(p.createElement)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Object(p.createElement)("path",{d:"M12.7439 14.4271L8.64053 13.165L8.51431 13.8718L8.09208 20.7415C8.06165 21.2365 8.61087 21.5526 9.02363 21.2776L12.7439 18.799L16.7475 21.304C17.1687 21.5676 17.7094 21.2343 17.6631 20.7396L17.0212 13.8718L17.0212 13.165L12.7439 14.4271Z",fill:"black"}),Object(p.createElement)("circle",{cx:"12.7439",cy:"8.69796",r:"5.94466",stroke:"black",strokeWidth:"1.5",fill:"none"}),Object(p.createElement)("path",{d:"M9.71023 8.12461L11.9543 10.3687L15.7776 6.54533",stroke:"black",strokeWidth:"1.5",fill:"none"})),supports:{html:!1},edit:et,save:function(){return null}}),nt=function(){var e=u()(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f()({path:"/wpcom/v2/memberships/status"});case 3:t=e.sent,e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(0),e.abrupt("return");case 9:if(!t.should_upgrade_to_access_memberships){e.next=17;break}if(n=Object(d.getBlockType)("a8c/donations")){e.next=14;break}return e.abrupt("return");case 14:r=Object(g._x)("paid","Short label appearing near a block requiring a paid plan","full-site-editing"),Object(d.unregisterBlockType)("a8c/donations"),Object(d.registerBlockType)("a8c/donations",a()({},n,{title:"".concat(n.title," (").concat(r,")")}));case 17:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}();Object(d.registerBlockType)("a8c/donations",tt),nt()}]));
|
donations/index.js
CHANGED
@@ -81,7 +81,7 @@ const settings = {
|
|
81 |
default: __( 'Donate yearly', 'full-site-editing' ),
|
82 |
},
|
83 |
},
|
84 |
-
category: '
|
85 |
icon: (
|
86 |
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
87 |
<path
|
81 |
default: __( 'Donate yearly', 'full-site-editing' ),
|
82 |
},
|
83 |
},
|
84 |
+
category: 'widgets',
|
85 |
icon: (
|
86 |
<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
87 |
<path
|
dotcom-fse/blocks/navigation-menu/index.js
CHANGED
@@ -9,6 +9,7 @@ import { __ } from '@wordpress/i18n';
|
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
import edit from './edit';
|
|
|
12 |
import './style.scss';
|
13 |
|
14 |
const icon = (
|
@@ -22,7 +23,7 @@ registerBlockType( 'a8c/navigation-menu', {
|
|
22 |
title: __( 'Navigation Menu', 'full-site-editing' ),
|
23 |
description: __( 'Visual placeholder for site-wide navigation and menus.', 'full-site-editing' ),
|
24 |
icon,
|
25 |
-
category: 'layout',
|
26 |
supports: {
|
27 |
align: [ 'wide', 'full', 'right', 'left' ],
|
28 |
html: false,
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
import edit from './edit';
|
12 |
+
import { getCategoryWithFallbacks } from '../../../block-helpers';
|
13 |
import './style.scss';
|
14 |
|
15 |
const icon = (
|
23 |
title: __( 'Navigation Menu', 'full-site-editing' ),
|
24 |
description: __( 'Visual placeholder for site-wide navigation and menus.', 'full-site-editing' ),
|
25 |
icon,
|
26 |
+
category: getCategoryWithFallbacks( 'design', 'layout' ),
|
27 |
supports: {
|
28 |
align: [ 'wide', 'full', 'right', 'left' ],
|
29 |
html: false,
|
dotcom-fse/blocks/post-content/index.js
CHANGED
@@ -12,13 +12,14 @@ import { addFilter } from '@wordpress/hooks';
|
|
12 |
*/
|
13 |
import edit from './edit';
|
14 |
import save from './save';
|
|
|
15 |
import './style.scss';
|
16 |
|
17 |
registerBlockType( 'a8c/post-content', {
|
18 |
title: __( 'Content', 'full-site-editing' ),
|
19 |
description: __( 'The page content.', 'full-site-editing' ),
|
20 |
icon: 'layout',
|
21 |
-
category: 'layout',
|
22 |
supports: {
|
23 |
align: [ 'full' ],
|
24 |
anchor: false,
|
12 |
*/
|
13 |
import edit from './edit';
|
14 |
import save from './save';
|
15 |
+
import { getCategoryWithFallbacks } from '../../../block-helpers';
|
16 |
import './style.scss';
|
17 |
|
18 |
registerBlockType( 'a8c/post-content', {
|
19 |
title: __( 'Content', 'full-site-editing' ),
|
20 |
description: __( 'The page content.', 'full-site-editing' ),
|
21 |
icon: 'layout',
|
22 |
+
category: getCategoryWithFallbacks( 'design', 'layout' ),
|
23 |
supports: {
|
24 |
align: [ 'full' ],
|
25 |
anchor: false,
|
dotcom-fse/blocks/site-credit/index.js
CHANGED
@@ -9,6 +9,7 @@ import { __ } from '@wordpress/i18n';
|
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
import edit from './edit';
|
|
|
12 |
import './style.scss';
|
13 |
|
14 |
registerBlockType( 'a8c/site-credit', {
|
@@ -18,7 +19,7 @@ registerBlockType( 'a8c/site-credit', {
|
|
18 |
'full-site-editing'
|
19 |
),
|
20 |
icon: 'wordpress-alt',
|
21 |
-
category: 'layout',
|
22 |
supports: {
|
23 |
align: [ 'wide', 'full' ],
|
24 |
html: false,
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
import edit from './edit';
|
12 |
+
import { getCategoryWithFallbacks } from '../../../block-helpers';
|
13 |
import './style.scss';
|
14 |
|
15 |
registerBlockType( 'a8c/site-credit', {
|
19 |
'full-site-editing'
|
20 |
),
|
21 |
icon: 'wordpress-alt',
|
22 |
+
category: getCategoryWithFallbacks( 'design', 'layout' ),
|
23 |
supports: {
|
24 |
align: [ 'wide', 'full' ],
|
25 |
html: false,
|
dotcom-fse/blocks/site-description/index.js
CHANGED
@@ -9,6 +9,7 @@ import { __ } from '@wordpress/i18n';
|
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
import edit from './edit';
|
|
|
12 |
import './style.scss';
|
13 |
|
14 |
registerBlockType( 'a8c/site-description', {
|
@@ -20,7 +21,7 @@ registerBlockType( 'a8c/site-description', {
|
|
20 |
<path d="M4 9h16v2H4V9zm0 4h10v2H4v-2z" />
|
21 |
</svg>
|
22 |
),
|
23 |
-
category: 'layout',
|
24 |
supports: {
|
25 |
align: [ 'wide', 'full' ],
|
26 |
html: false,
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
import edit from './edit';
|
12 |
+
import { getCategoryWithFallbacks } from '../../../block-helpers';
|
13 |
import './style.scss';
|
14 |
|
15 |
registerBlockType( 'a8c/site-description', {
|
21 |
<path d="M4 9h16v2H4V9zm0 4h10v2H4v-2z" />
|
22 |
</svg>
|
23 |
),
|
24 |
+
category: getCategoryWithFallbacks( 'design', 'layout' ),
|
25 |
supports: {
|
26 |
align: [ 'wide', 'full' ],
|
27 |
html: false,
|
dotcom-fse/blocks/site-title/index.js
CHANGED
@@ -9,13 +9,14 @@ import { __ } from '@wordpress/i18n';
|
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
import edit from './edit';
|
|
|
12 |
import './style.scss';
|
13 |
|
14 |
registerBlockType( 'a8c/site-title', {
|
15 |
title: __( 'Site Title', 'full-site-editing' ),
|
16 |
description: __( 'Your site title.', 'full-site-editing' ),
|
17 |
icon: 'layout',
|
18 |
-
category: 'layout',
|
19 |
supports: {
|
20 |
align: [ 'wide', 'full' ],
|
21 |
html: false,
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
import edit from './edit';
|
12 |
+
import { getCategoryWithFallbacks } from '../../../block-helpers';
|
13 |
import './style.scss';
|
14 |
|
15 |
registerBlockType( 'a8c/site-title', {
|
16 |
title: __( 'Site Title', 'full-site-editing' ),
|
17 |
description: __( 'Your site title.', 'full-site-editing' ),
|
18 |
icon: 'layout',
|
19 |
+
category: getCategoryWithFallbacks( 'design', 'layout' ),
|
20 |
supports: {
|
21 |
align: [ 'wide', 'full' ],
|
22 |
html: false,
|
dotcom-fse/blocks/template/index.js
CHANGED
@@ -11,6 +11,7 @@ import { addFilter } from '@wordpress/hooks';
|
|
11 |
* Internal dependencies
|
12 |
*/
|
13 |
import edit from './edit';
|
|
|
14 |
import './style.scss';
|
15 |
import './site-logo';
|
16 |
|
@@ -20,7 +21,7 @@ if ( 'wp_template_part' !== fullSiteEditing.editorPostType ) {
|
|
20 |
__experimentalDisplayName: 'label',
|
21 |
description: __( 'Display a Template Part.', 'full-site-editing' ),
|
22 |
icon: 'layout',
|
23 |
-
category: 'layout',
|
24 |
attributes: {
|
25 |
templateId: { type: 'number' },
|
26 |
className: { type: 'string' },
|
11 |
* Internal dependencies
|
12 |
*/
|
13 |
import edit from './edit';
|
14 |
+
import { getCategoryWithFallbacks } from '../../../block-helpers';
|
15 |
import './style.scss';
|
16 |
import './site-logo';
|
17 |
|
21 |
__experimentalDisplayName: 'label',
|
22 |
description: __( 'Display a Template Part.', 'full-site-editing' ),
|
23 |
icon: 'layout',
|
24 |
+
category: getCategoryWithFallbacks( 'design', 'layout' ),
|
25 |
attributes: {
|
26 |
templateId: { type: 'number' },
|
27 |
className: { type: 'string' },
|
dotcom-fse/dist/dotcom-fse.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-server-side-render', 'wp-url'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react-dom', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-dom-ready', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-server-side-render', 'wp-url'), 'version' => 'afa9d255992aef3365c83643227d5f8f');
|
dotcom-fse/dist/dotcom-fse.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-block-a8c-navigation-menu.main-navigation{pointer-events:none}.post-content-block__selector{width:300px}.post-content-block__selector a{font-family:sans-serif;font-size:13px;padding-left:8px}.post-content-block__preview{pointer-events:none}.post-content-block__preview:after{content:"";clear:both;display:table}.post-content-block .editor-post-title,.show-post-title-before-content .editor-post-title{display:none}.show-post-title-before-content .post-content-block .editor-post-title{display:block}.block-editor-block-list__layout .post-content__block.is-selected .block-editor-block-contextual-toolbar{display:none}.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-navigate-mode>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block>.block-editor-block-list__block-edit:before{transition:none;border:none;outline:none;box-shadow:none}.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-navigate-mode>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{display:none}.site-credit__block{display:flex;flex-direction:row;align-items:center;font-size:14px;color:grey}.site-credit__block.has-text-align-center{justify-content:center}.site-credit__block.has-text-align-left{justify-content:flex-start}.site-credit__block.has-text-align-right{justify-content:flex-end}.site-credit__block .site-name{font-weight:700}.site-credit__block .site-credit__selection{margin-left:5px;display:flex;flex-direction:row;align-items:center}.site-credit__block .site-credit__selection .components-base-control .components-base-control__field{margin-bottom:0}.block-editor .wp-block-a8c-site-description:focus{box-shadow:none;background-color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description::-webkit-input-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description:-moz-placeholder,.block-editor .wp-block.is-selected .wp-block-a8c-site-description::-moz-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description:-ms-input-placeholder{color:transparent}.block-editor .wp-block-a8c-site-title:focus{box-shadow:none;background-color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title::-webkit-input-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title:-moz-placeholder,.block-editor .wp-block.is-selected .wp-block-a8c-site-title::-moz-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title:-ms-input-placeholder{color:transparent}.template-block{min-height:200px;overflow:hidden;position:relative;margin-top:20px}.post-type-page .editor-styles-wrapper .template-block .fse-template-part{padding:0}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-type="a8c/template"]{display:none}.template__block-container:before{display:none}.template__block-container:hover{cursor:pointer}.template__block-container .block-editor-block-list__block-edit [data-block]{margin:0}.template__block-container .is-navigating-to-template .components-disabled,.template__block-container.is-selected .components-disabled,.template__block-container:hover .components-disabled{filter:blur(2px);transition:filter .2s linear}.template__block-container .is-navigating-to-template .template-block__overlay,.template__block-container.is-selected .template-block__overlay,.template__block-container:hover .template-block__overlay{opacity:1;transition:opacity .2s linear}.template__block-container .is-navigating-to-template .template-block__overlay .components-button,.template__block-container.is-selected .template-block__overlay .components-button,.template__block-container:hover .template-block__overlay .components-button{opacity:1;transition:opacity .2s linear}.template__block-container .components-disabled{filter:blur(0);transition:filter .2s linear 0s}.template__block-container .block-editor-block-contextual-toolbar,.template__block-container .block-editor-block-list__block-edit:before,.template__block-container .block-editor-block-list__block-mobile-toolbar,.template__block-container .block-editor-block-list__breadcrumb,.template__block-container .block-editor-block-list__insertion-point{display:none}.template__block-container .template-block__overlay{background:hsla(0,0%,100%,.8);border:0 solid rgba(123,134,162,.3);bottom:0;left:0;margin:0;opacity:0;padding:0;position:absolute;right:0;transition:opacity .2s linear 0s;top:0;z-index:2}.is-selected .template__block-container .template-block__overlay{border-color:rgba(66,88,99,.4)}.block-editor-block-list__block:first-child .template__block-container .template-block__overlay{border-bottom-width:1px}.block-editor-block-list__block:last-child .template__block-container .template-block__overlay{border-top-width:1px}@media only screen and (min-width:768px){.template__block-container .template-block__overlay{border-width:1px}}.template__block-container .template-block__overlay .components-button{opacity:0;transition:opacity .2s linear 0s;margin:0 auto}.template__block-container .template-block__overlay .components-button.hidden{display:none}.template__block-container .template-block__overlay .template-block__loading{display:flex;align-items:center;color:#191e23}.block-editor-page:not(.post-type-wp_template_part) .fse-site-logo .components-placeholder__fieldset,.block-editor-page:not(.post-type-wp_template_part) .fse-site-logo .components-placeholder__instructions{display:none}.template-block__placeholder .components-spinner{margin:0 auto}.close-button-override-thin,.post-type-page .edit-post-fullscreen-mode-close__toolbar,.post-type-page .edit-post-header .edit-post-fullscreen-mode-close,.post-type-post .edit-post-fullscreen-mode-close__toolbar,.post-type-post .edit-post-header .edit-post-fullscreen-mode-close,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar,.post-type-wp_template_part .edit-post-header .edit-post-fullscreen-mode-close{display:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override{display:flex;align-items:center;margin-right:10px;margin-left:-24px;border:none;border-right:1px solid #e2e4e7}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:visited,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:visited,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:visited{text-decoration:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{font-size:13px}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2{margin-left:-7px}@media (max-width:599px){.post-type-page .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override{margin-left:-2px}}@media (max-width:400px){.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide{display:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin{display:flex}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{display:none}}.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{margin-left:-24px;margin-right:24px}@media (max-width:782px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{display:none}}@media (max-width:960px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{display:none}}@media (max-width:599px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{margin-left:-24px}}.edit-post-header-toolbar>.edit-post-header-toolbar__inserter-toggle{display:none}.post-type-wp_template_part .edit-post-post-status,.post-type-wp_template_part .editor-post-title,.post-type-wp_template_part .editor-post-trash{display:none}.post-type-wp_template_part .edit-post-visual-editor{margin-top:20px;padding-top:0}.post-type-wp_template_part .editor-post-switch-to-draft{display:none}@media (min-width:768px){.post-type-page .block-editor-editor-skeleton__content,.post-type-page .edit-post-editor-regions__content,.post-type-wp_template_part .block-editor-editor-skeleton__content,.post-type-wp_template_part .edit-post-editor-regions__content{background:#eee}.post-type-page .edit-post-editor-regions__content .edit-post-visual-editor,.post-type-page .edit-post-visual-editor.editor-styles-wrapper,.post-type-wp_template_part .edit-post-editor-regions__content .edit-post-visual-editor,.post-type-wp_template_part .edit-post-visual-editor.editor-styles-wrapper{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);flex:none;margin:36px 32px}}.post-type-page .block-editor-block-list__layout,.post-type-wp_template_part .block-editor-block-list__layout{padding-left:0;padding-right:0}.post-type-page .block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.post-type-page .block-editor-block-list__layout .wp-block[data-align=full],.post-type-wp_template_part .block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.post-type-wp_template_part .block-editor-block-list__layout .wp-block[data-align=full]{margin-left:0;margin-right:0}.post-type-page .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit,.post-type-wp_template_part .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-right:0;margin-left:0}.post-type-page .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit,.post-type-wp_template_part .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit{margin-right:14px;margin-left:14px}@media (max-width:1200px){.post-type-page .wp-block:not([data-align=full]):not([data-align=wide]),.post-type-wp_template_part .wp-block:not([data-align=full]):not([data-align=wide]){max-width:580px}.post-type-page .is-sidebar-opened .wp-block:not([data-align=full]):not([data-align=wide]),.post-type-wp_template_part .is-sidebar-opened .wp-block:not([data-align=full]):not([data-align=wide]){max-width:400px}}.post-type-page .block-editor-writing-flow__click-redirect,.post-type-wp_template_part .block-editor-writing-flow__click-redirect{display:none}.editor-styles-wrapper{background:#fff}.post-type-page .edit-post-visual-editor{padding-top:0}.post-type-page .block-editor-writing-flow{display:block}.post-type-page .wp-block.template__block-container .wp-block-column [data-type="core/social-links"] [data-block]{margin:0}@media (max-width:600px){.components-dropdown.table-of-contents{display:none}}
|
1 |
+
.wp-block-a8c-navigation-menu.main-navigation{pointer-events:none}.post-content-block__selector{width:300px}.post-content-block__selector a{font-family:sans-serif;font-size:13px;padding-left:8px}.post-content-block__preview{pointer-events:none}.post-content-block__preview:after{content:"";clear:both;display:table}.post-content-block .editor-post-title,.show-post-title-before-content .editor-post-title{display:none}.show-post-title-before-content .post-content-block .editor-post-title{display:block}.block-editor-block-list__layout .post-content__block.is-selected .block-editor-block-contextual-toolbar{display:none}.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-navigate-mode>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block>.block-editor-block-list__block-edit:before{transition:none;border:none;outline:none;box-shadow:none}.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-navigate-mode>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{display:none}.site-credit__block{display:flex;flex-direction:row;align-items:center;font-size:14px;color:grey}.site-credit__block.has-text-align-center{justify-content:center}.site-credit__block.has-text-align-left{justify-content:flex-start}.site-credit__block.has-text-align-right{justify-content:flex-end}.site-credit__block .site-name{font-weight:700}.site-credit__block .site-credit__selection{margin-left:5px;display:flex;flex-direction:row;align-items:center}.site-credit__block .site-credit__selection .components-base-control .components-base-control__field{margin-bottom:0}.block-editor .wp-block-a8c-site-description:focus{box-shadow:none;background-color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description::-webkit-input-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description:-moz-placeholder,.block-editor .wp-block.is-selected .wp-block-a8c-site-description::-moz-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description:-ms-input-placeholder{color:transparent}.block-editor .wp-block-a8c-site-title:focus{box-shadow:none;background-color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title::-webkit-input-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title:-moz-placeholder,.block-editor .wp-block.is-selected .wp-block-a8c-site-title::-moz-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title:-ms-input-placeholder{color:transparent}.template-block{min-height:200px;overflow:hidden;position:relative;margin-top:20px}.post-type-page .editor-styles-wrapper .template-block .fse-template-part{padding:0}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-type="a8c/template"],.template__block-container:before{display:none}.template__block-container:hover{cursor:pointer}.template__block-container .block-editor-block-list__block-edit [data-block]{margin:0}.template__block-container .is-navigating-to-template .components-disabled,.template__block-container.is-selected .components-disabled,.template__block-container:hover .components-disabled{filter:blur(2px);transition:filter .2s linear}.template__block-container .is-navigating-to-template .template-block__overlay,.template__block-container .is-navigating-to-template .template-block__overlay .components-button,.template__block-container.is-selected .template-block__overlay,.template__block-container.is-selected .template-block__overlay .components-button,.template__block-container:hover .template-block__overlay,.template__block-container:hover .template-block__overlay .components-button{opacity:1;transition:opacity .2s linear}.template__block-container .components-disabled{filter:blur(0);transition:filter .2s linear 0s}.template__block-container .block-editor-block-contextual-toolbar,.template__block-container .block-editor-block-list__block-edit:before,.template__block-container .block-editor-block-list__block-mobile-toolbar,.template__block-container .block-editor-block-list__breadcrumb,.template__block-container .block-editor-block-list__insertion-point{display:none}.template__block-container .template-block__overlay{background:hsla(0,0%,100%,.8);border:0 solid rgba(123,134,162,.3);bottom:0;left:0;margin:0;opacity:0;padding:0;position:absolute;right:0;transition:opacity .2s linear 0s;top:0;z-index:2}.is-selected .template__block-container .template-block__overlay{border-color:rgba(66,88,99,.4)}.block-editor-block-list__block:first-child .template__block-container .template-block__overlay{border-bottom-width:1px}.block-editor-block-list__block:last-child .template__block-container .template-block__overlay{border-top-width:1px}@media only screen and (min-width:768px){.template__block-container .template-block__overlay{border-width:1px}}.template__block-container .template-block__overlay .components-button{opacity:0;transition:opacity .2s linear 0s;margin:0 auto}.template__block-container .template-block__overlay .components-button.hidden{display:none}.template__block-container .template-block__overlay .template-block__loading{display:flex;align-items:center;color:#191e23}.block-editor-page:not(.post-type-wp_template_part) .fse-site-logo .components-placeholder__fieldset,.block-editor-page:not(.post-type-wp_template_part) .fse-site-logo .components-placeholder__instructions{display:none}.template-block__placeholder .components-spinner{margin:0 auto}.close-button-override-thin,.post-type-page .edit-post-fullscreen-mode-close__toolbar,.post-type-page .edit-post-header .edit-post-fullscreen-mode-close,.post-type-post .edit-post-fullscreen-mode-close__toolbar,.post-type-post .edit-post-header .edit-post-fullscreen-mode-close,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar,.post-type-wp_template_part .edit-post-header .edit-post-fullscreen-mode-close{display:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override{display:flex;align-items:center;margin-right:10px;margin-left:-24px;border:none;border-right:1px solid #e2e4e7}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:visited,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:visited,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:visited{text-decoration:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{font-size:13px}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2{margin-left:-7px}@media (max-width:599px){.post-type-page .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override{margin-left:-2px}}@media (max-width:400px){.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide{display:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin{display:flex}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{display:none}}.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{margin-left:-24px;margin-right:24px}@media (max-width:782px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{display:none}}@media (max-width:960px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{display:none}}@media (max-width:599px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{margin-left:-24px}}.post-type-page .edit-post-header-toolbar>.edit-post-header-toolbar__inserter-toggle,.post-type-wp_template_part .edit-post-post-status,.post-type-wp_template_part .editor-post-title,.post-type-wp_template_part .editor-post-trash{display:none}.post-type-wp_template_part .edit-post-visual-editor{margin-top:20px;padding-top:0}.post-type-wp_template_part .editor-post-switch-to-draft{display:none}@media (min-width:768px){.post-type-page .block-editor-editor-skeleton__content,.post-type-page .edit-post-editor-regions__content,.post-type-wp_template_part .block-editor-editor-skeleton__content,.post-type-wp_template_part .edit-post-editor-regions__content{background:#eee}.post-type-page .edit-post-editor-regions__content .edit-post-visual-editor,.post-type-page .edit-post-visual-editor.editor-styles-wrapper,.post-type-wp_template_part .edit-post-editor-regions__content .edit-post-visual-editor,.post-type-wp_template_part .edit-post-visual-editor.editor-styles-wrapper{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);flex:none;margin:36px 32px}}.post-type-page .block-editor-block-list__layout,.post-type-wp_template_part .block-editor-block-list__layout{padding-left:0;padding-right:0}.post-type-page .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit,.post-type-page .block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.post-type-page .block-editor-block-list__layout .wp-block[data-align=full],.post-type-wp_template_part .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit,.post-type-wp_template_part .block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.post-type-wp_template_part .block-editor-block-list__layout .wp-block[data-align=full]{margin-left:0;margin-right:0}.post-type-page .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit,.post-type-wp_template_part .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit{margin-right:14px;margin-left:14px}@media (max-width:1200px){.post-type-page .wp-block:not([data-align=full]):not([data-align=wide]),.post-type-wp_template_part .wp-block:not([data-align=full]):not([data-align=wide]){max-width:580px}.post-type-page .is-sidebar-opened .wp-block:not([data-align=full]):not([data-align=wide]),.post-type-wp_template_part .is-sidebar-opened .wp-block:not([data-align=full]):not([data-align=wide]){max-width:400px}}.post-type-page .block-editor-writing-flow__click-redirect,.post-type-wp_template_part .block-editor-writing-flow__click-redirect{display:none}.editor-styles-wrapper{background:#fff}.post-type-page .edit-post-visual-editor{padding-top:0}.post-type-page .block-editor-writing-flow{display:block}.post-type-page .wp-block.template__block-container .wp-block-column [data-type="core/social-links"] [data-block]{margin:0}@media (max-width:600px){.components-dropdown.table-of-contents{display:none}}
|
dotcom-fse/dist/dotcom-fse.js
CHANGED
@@ -3,4 +3,4 @@
|
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
6 |
-
*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var l=r.apply(null,o);l&&e.push(l)}else if("object"===i)for(var c in o)n.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){var o=n(38),r=n(39),i=n(17),l=n(40);e.exports=function(e,t){return o(e)||r(e,t)||i(e,t)||l()}},function(e,t){!function(){e.exports=this.wp.domReady}()},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.htmlEntities}()},function(e,t,n){var o=n(18);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}},function(e,t,n){},function(e,t){!function(){e.exports=this.wp.serverSideRender}()},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}},function(e,t,n){var o=n(31);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}},function(e,t,n){var o=n(32),r=n(33),i=n(34);e.exports=function(e){return function(){var t,n=o(e);if(r()){var l=o(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return i(this,t)}}},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){var o=n(45),r=n(46),i=n(17),l=n(47);e.exports=function(e){return o(e)||r(e)||i(e)||l()}},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t,n){},function(e,t){function n(t,o){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,o)}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,n){var o=n(35),r=n(36);e.exports=function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?r(e):t}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,r=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(a){r=!0,i=a}finally{try{o||null==c.return||c.return()}finally{if(r)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var o=n(18);e.exports=function(e){if(Array.isArray(e))return o(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(7),i=n(1),l=n(10),c=n.n(l),a=n(20),s=n.n(a),u=n(4),p=n(2),d=n(5),f=n(3),b=Object(u.compose)([Object(p.withColors)("backgroundColor",{textColor:"color"}),Object(p.withFontSizes)("fontSize"),Object(f.withSelect)((function(e){return{isPublished:e("core/editor").isCurrentPostPublished()}}))])((function(e){var t=e.attributes,n=e.backgroundColor,r=e.fontSize,l=e.setAttributes,a=e.setBackgroundColor,u=e.setFontSize,f=e.setTextColor,b=e.textColor,m=e.isPublished,g=t.customFontSize,O=t.textAlign,j=g||r.size;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(p.BlockControls,null,Object(o.createElement)(p.AlignmentToolbar,{value:O,onChange:function(e){l({textAlign:e})}})),Object(o.createElement)(p.InspectorControls,null,Object(o.createElement)(d.PanelBody,{className:"blocks-font-size",title:Object(i.__)("Text Settings","full-site-editing")},Object(o.createElement)(p.FontSizePicker,{onChange:u,value:j})),Object(o.createElement)(p.PanelColorSettings,{title:Object(i.__)("Color Settings","full-site-editing"),initialOpen:!1,colorSettings:[{value:n.color,onChange:a,label:Object(i.__)("Background Color","full-site-editing")},{value:b.color,onChange:f,label:Object(i.__)("Text Color","full-site-editing")}]},Object(o.createElement)(p.ContrastChecker,c()({textColor:b.color,backgroundColor:n.color},{fontSize:j})))),Object(o.createElement)(s.a,{isPublished:m,block:"a8c/navigation-menu",attributes:t}))})),m=(n(30),Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(o.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(o.createElement)("path",{d:"M12 7.27l4.28 10.43-3.47-1.53-.81-.36-.81.36-3.47 1.53L12 7.27M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71L12 2z"})));Object(r.registerBlockType)("a8c/navigation-menu",{title:Object(i.__)("Navigation Menu","full-site-editing"),description:Object(i.__)("Visual placeholder for site-wide navigation and menus.","full-site-editing"),icon:m,category:"layout",supports:{align:["wide","full","right","left"],html:!1,reusable:!1},edit:b,save:function(){return null}});var g=n(12),O=n(6),j=n.n(O),v=n(21),h=n.n(v),y=n(22),_=n.n(y),S=n(23),E=n.n(S),k=n(24),C=n.n(k),w=n(11),x=n.n(w),P=n(25),T=function(e){E()(n,e);var t=C()(n);function n(){return h()(this,n),t.apply(this,arguments)}return _()(n,[{key:"toggleEditing",value:function(){var e=this.props,t=e.isEditing;(0,e.setState)({isEditing:!t})}},{key:"onSelectPost",value:function(e){var t=e.id,n=e.type;this.props.setState({isEditing:!1,selectedPostId:t,selectedPostType:n})}},{key:"render",value:function(){var e=this.props.attributes.align;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:x()("post-content-block",j()({},"align".concat(e),e))},Object(o.createElement)(P.PostTitle,null),Object(o.createElement)(p.InnerBlocks,{templateLock:!1})))}}]),n}(o.Component),B=Object(u.compose)([Object(u.withState)({isEditing:!1,selectedPostId:void 0,selectedPostType:void 0}),Object(f.withSelect)((function(e,t){var n=t.selectedPostId,o=t.selectedPostType;return{selectedPost:(0,e("core").getEntityRecord)("postType",o,n)}}))])(T);n(37);Object(r.registerBlockType)("a8c/post-content",{title:Object(i.__)("Content","full-site-editing"),description:Object(i.__)("The page content.","full-site-editing"),icon:"layout",category:"layout",supports:{align:["full"],anchor:!1,customClassName:!1,html:!1,inserter:!1,multiple:!1,reusable:!1},attributes:{align:{type:"string",default:"full"}},edit:B,save:function(){return Object(o.createElement)(p.InnerBlocks.Content,null)}});var I=Object(u.createHigherOrderComponent)((function(e){return function(t){return"a8c/post-content"!==t.name?Object(o.createElement)(e,t):Object(o.createElement)(e,c()({},t,{className:"post-content__block"}))}}),"addContentSlotClassname");Object(g.addFilter)("editor.BlockListBlock","full-site-editing/blocks/post-content",I,9);var N=n(9),A=n.n(N),z=n(13),D=n.n(z),F=n(15),L=n.n(F),R=n(16);function V(e){var t=Object(o.useRef)();return Object(o.useEffect)((function(){t.current=e}),[e]),t.current}function M(e,t,n,r,l,c){var a=Object(o.useState)({option:t,previousOption:"",loaded:!1,error:!1}),s=D()(a,2),u=s[0],p=s[1],d=V(r),f=V(l);function b(){p(A()({},u,{option:u.previousOption,isSaving:!1}))}return Object(o.useEffect)((function(){u.loaded||u.error?function(){var t=u.option,o=u.previousOption,c=!o&&!t||t&&o&&t.trim()===o.trim(),a=!t||0===t.trim().length;!r&&d&&a&&b();if(!l||c)return;!f&&l&&function(t){p(A()({},u,{isSaving:!0})),L()({path:"/wp/v2/settings",method:"POST",data:j()({},e,t)}).then((function(){return function(e){p(A()({},u,{previousOption:e,isDirty:!1,isSaving:!1}))}(t)})).catch((function(){n(Object(i.sprintf)(Object(i.__)("Unable to save site %s","full-site-editing"),e)),b()}))}(t)}():L()({path:"/wp/v2/settings"}).then((function(t){return p(A()({},u,{option:Object(R.decodeEntities)(t[e]),previousOption:Object(R.decodeEntities)(t[e]),loaded:!0,error:!1}))})).catch((function(){n(Object(i.sprintf)(Object(i.__)("Unable to load site %s","full-site-editing"),e)),p(A()({},u,{option:Object(i.sprintf)(Object(i.__)("Error loading site %s","full-site-editing"),e),error:!0}))}))})),{siteOptions:u,handleChange:function(e){c({updated:Date.now()}),p(A()({},u,{option:e}))}}}var U=function(e){return Object(u.createHigherOrderComponent)((function(t){return Object(u.pure)((function(n){var r=Object(f.useSelect)((function(e){var t=e("core/editor"),n=t.isSavingPost,o=t.isPublishingPost,r=t.isAutosavingPost,i=t.isCurrentPostPublished;return(n()&&i()||o())&&!r()})),i=Object(f.useDispatch)((function(e){return e("core/notices").createErrorNotice})),l=n.isSelected,a=n.setAttributes,s=Object.keys(e).reduce((function(t,n){var o=e[n],c=M(o.optionName,o.defaultValue,i,l,r,a),s=c.siteOptions,u=c.handleChange;return t[n]={value:s.option,updateValue:u,loaded:s.loaded},t}),{});return Object(o.createElement)(t,c()({},n,s))}))}),"withSiteOptions")},H=fullSiteEditing.footerCreditOptions,W=function(e){var t=e.choice,n=H.find((function(e){return e.value===t}));if(!n)return null;var r=n.renderType,i=n.renderProps,l=n.label,c=A()({label:l},i);return"icon"===r?Object(o.createElement)(d.Icon,c):Object(o.createElement)("span",null," ",c.label," ")},q=fullSiteEditing,G=q.footerCreditOptions,Q=q.defaultCreditOption;var Y=Object(u.compose)([U({siteTitleOption:{optionName:"title",defaultValue:Object(i.__)("Site title loading…","full-site-editing")},footerCreditOption:{optionName:"footer_credit",defaultValue:Object(i.__)("Footer credit loading…","full-site-editing")}})])((function(e){var t=e.attributes.textAlign,n=void 0===t?"center":t,r=e.isSelected,i=e.setAttributes,l=e.footerCreditOption,c=l.value,a=l.updateValue,s=e.siteTitleOption.value,u=c||Q;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(p.BlockControls,null,Object(o.createElement)(p.AlignmentToolbar,{value:n,onChange:function(e){i({textAlign:e})}})),Object(o.createElement)("div",{className:x()("site-info","site-credit__block",j()({},"has-text-align-".concat(n),n))},Object(o.createElement)("span",{className:"site-name"},s),Object(o.createElement)("span",{className:"comma"},","),Object(o.createElement)("span",{className:"site-credit__selection"},r?Object(o.createElement)(d.SelectControl,{onChange:a,value:u,options:G}):Object(o.createElement)(W,{choice:u}))))}));n(41);Object(r.registerBlockType)("a8c/site-credit",{title:Object(i.__)("WordPress.com Credit","full-site-editing"),description:Object(i.__)("This block tells the world that you're using WordPress.com.","full-site-editing"),icon:"wordpress-alt",category:"layout",supports:{align:["wide","full"],html:!1,multiple:!1,reusable:!1,removal:!1},attributes:{align:{type:"string",default:"wide"},textAlign:{type:"string",default:"center"}},edit:Y,save:function(){return null}});var $=n(8);var J=Object(u.compose)([Object(p.withColors)("backgroundColor",{textColor:"color"}),Object(p.withFontSizes)("fontSize"),Object(f.withSelect)((function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlockIndex,i=o.getBlockRootClientId,l=o.getTemplateLock,c=i(n);return{blockIndex:r(n,c),isLocked:!!l(c),rootClientId:c}})),Object(f.withDispatch)((function(e,t){var n=t.blockIndex,o=t.rootClientId;return{insertDefaultBlock:function(){return e("core/block-editor").insertDefaultBlock({},o,n+1)}}})),U({siteDescription:{optionName:"description",defaultValue:Object(i.__)("Site description loading…","full-site-editing")}})])((function(e){var t,n=e.attributes,r=e.backgroundColor,l=e.className,a=e.fontSize,s=e.insertDefaultBlock,u=e.setAttributes,f=e.setBackgroundColor,b=e.setFontSize,m=e.setTextColor,g=e.siteDescription,O=e.textColor,v=n.customFontSize,h=n.textAlign,y=v||a.size,_=g.value,S=g.updateValue;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(p.BlockControls,null,Object(o.createElement)(p.AlignmentToolbar,{value:h,onChange:function(e){u({textAlign:e})}})),Object(o.createElement)(p.InspectorControls,null,Object(o.createElement)(d.PanelBody,{className:"blocks-font-size",title:Object(i.__)("Text Settings","full-site-editing")},Object(o.createElement)(p.FontSizePicker,{onChange:b,value:y})),Object(o.createElement)(p.PanelColorSettings,{title:Object(i.__)("Color Settings","full-site-editing"),initialOpen:!1,colorSettings:[{value:r.color,onChange:f,label:Object(i.__)("Background Color","full-site-editing")},{value:O.color,onChange:m,label:Object(i.__)("Text Color","full-site-editing")}]},Object(o.createElement)(p.ContrastChecker,c()({textColor:O.color,backgroundColor:r.color},{fontSize:y})))),Object(o.createElement)(p.RichText,{allowedFormats:[],"aria-label":Object(i.__)("Site Description","full-site-editing"),className:x()("site-description",l,(t={"has-text-color":O.color,"has-background":r.color},j()(t,"has-text-align-".concat(h),h),j()(t,r.class,r.class),j()(t,O.class,O.class),j()(t,a.class,!v&&a.class),t)),identifier:"content",onChange:S,onReplace:s,onSplit:$.noop,placeholder:Object(i.__)("Add a Site Description","full-site-editing"),style:{backgroundColor:r.color,color:O.color,fontSize:y?y+"px":void 0},tagName:"p",value:_}))}));n(42);Object(r.registerBlockType)("a8c/site-description",{title:Object(i.__)("Site Description","full-site-editing"),description:Object(i.__)("Site description, also known as the tagline.","full-site-editing"),icon:Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(o.createElement)("path",{fill:"none",d:"M0 0h24v24H0z"}),Object(o.createElement)("path",{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),category:"layout",supports:{align:["wide","full"],html:!1,multiple:!1,reusable:!1},attributes:{align:{type:"string",default:"wide"},textAlign:{type:"string",default:"center"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string",default:"small"},customFontSize:{type:"number"}},edit:J,save:function(){return null}});var K=Object(u.compose)([Object(p.withColors)({textColor:"color"}),Object(p.withFontSizes)("fontSize"),Object(f.withSelect)((function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlockIndex,i=o.getBlockRootClientId,l=o.getTemplateLock,c=i(n);return{blockIndex:r(n,c),isLocked:!!l(c),rootClientId:c}})),Object(f.withDispatch)((function(e,t){var n=t.blockIndex,o=t.rootClientId;return{insertDefaultBlock:function(){return e("core/block-editor").insertDefaultBlock({},o,n+1)}}})),U({siteTitle:{optionName:"title",defaultValue:Object(i.__)("Site title loading…","full-site-editing")}})])((function(e){var t,n=e.attributes,r=e.className,l=e.fontSize,c=e.insertDefaultBlock,a=e.setAttributes,s=e.setFontSize,u=e.setTextColor,f=e.siteTitle,b=e.textColor,m=n.customFontSize,g=n.textAlign,O=m||l.size,v=f.value,h=f.updateValue;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(p.BlockControls,null,Object(o.createElement)(p.AlignmentToolbar,{value:g,onChange:function(e){a({textAlign:e})}})),Object(o.createElement)(p.InspectorControls,null,Object(o.createElement)(d.PanelBody,{className:"blocks-font-size",title:Object(i.__)("Text Settings","full-site-editing")},Object(o.createElement)(p.FontSizePicker,{onChange:s,value:O})),Object(o.createElement)(p.PanelColorSettings,{title:Object(i.__)("Color Settings","full-site-editing"),initialOpen:!1,colorSettings:[{value:b.color,onChange:u,label:Object(i.__)("Text Color","full-site-editing")}]})),Object(o.createElement)(p.RichText,{allowedFormats:[],"aria-label":Object(i.__)("Site Title","full-site-editing"),className:x()("site-title",r,(t={"has-text-color":b.color},j()(t,"has-text-align-".concat(g),g),j()(t,b.class,b.class),j()(t,l.class,!m&&l.class),t)),identifier:"content",onChange:h,onReplace:c,onSplit:$.noop,placeholder:Object(i.__)("Add a Site Title","full-site-editing"),style:{color:b.color,fontSize:O?O+"px":void 0},tagName:"h1",value:v}))}));n(43);Object(r.registerBlockType)("a8c/site-title",{title:Object(i.__)("Site Title","full-site-editing"),description:Object(i.__)("Your site title.","full-site-editing"),icon:"layout",category:"layout",supports:{align:["wide","full"],html:!1,multiple:!1,reusable:!1},attributes:{align:{type:"string",default:"wide"},textAlign:{type:"string",default:"center"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string",default:"normal"},customFontSize:{type:"number"}},edit:K,save:function(){return null}});var X=n(26),Z=(n(19),Object(u.compose)(Object(u.withState)({templateClientId:null}),Object(f.withSelect)((function(e,t){var n=t.attributes,o=t.templateClientId,r=e("core").getEntityRecord,i=e("core/editor"),l=i.getCurrentPostId,c=i.isEditedPostDirty,a=e("core/block-editor"),s=a.getBlock,u=a.getSelectedBlock,p=e("core/edit-post").isEditorSidebarOpened,d=n.templateId,f=l(),b=d&&r("postType","wp_template_part",d),m=Object(X.addQueryArgs)(fullSiteEditing.editTemplateBaseUrl,{post:d,fse_parent_post:f}),g=u();return{currentPostId:f,editTemplateUrl:m,template:b,templateBlock:s(o),templateTitle:Object($.get)(b,["title","rendered"],""),isDirty:c(),isEditorSidebarOpened:!!p(),isAnyTemplateBlockSelected:g&&"a8c/template"===g.name}})),Object(f.withDispatch)((function(e,t){var n=e("core/block-editor").receiveBlocks,o=e("core/edit-post").openGeneralSidebar,i=t.template,l=t.templateClientId,c=t.setState;return{savePost:e("core/editor").savePost,receiveTemplateBlocks:function(){if(i&&!l){var e=Object(r.parse)(Object($.get)(i,["content","raw"],"")),t=Object(r.createBlock)("core/group",{},e);n([t]),c({templateClientId:t.clientId})}},openGeneralSidebar:o}})))((function(e){var t,n=e.attributes,r=e.editTemplateUrl,l=e.receiveTemplateBlocks,c=e.template,a=e.templateBlock,s=e.templateTitle,u=e.isDirty,f=e.savePost,b=e.isEditorSidebarOpened,m=e.openGeneralSidebar,g=e.isAnyTemplateBlockSelected;if(!c)return Object(o.createElement)(d.Placeholder,{className:"template-block__placeholder"},Object(o.createElement)(d.Spinner,null));var O=Object(o.createRef)(),v=Object(o.useState)(!1),h=D()(v,2),y=h[0],_=h[1];Object(o.useEffect)((function(){y&&!u&&O.current.click(),l()})),Object(o.useEffect)((function(){var e=document.querySelector(".edit-post-sidebar__panel-tabs ul li:last-child");if(b&&e){if(g)return m("edit-post/document"),void e.classList.add("hidden");e.classList.remove("hidden")}}),[g,b,m]);var S=n.align,E=n.className,k=function(e){e.stopPropagation(),_(!0),u&&(e.preventDefault(),f())};return Object(o.createElement)("div",{className:x()("template-block",(t={},j()(t,"align".concat(S),S),j()(t,"is-navigating-to-template",y),t))},a&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d.Disabled,null,Object(o.createElement)("div",{className:E},Object(o.createElement)(p.BlockEdit,{attributes:a.attributes,block:a,clientId:a.clientId,isSelected:!1,name:a.name,setAttributes:$.noop}))),Object(o.createElement)(d.Placeholder,{className:"template-block__overlay",onClick:k},y&&Object(o.createElement)("div",{className:"template-block__loading"},Object(o.createElement)(d.Spinner,null)," ",Object(i.sprintf)(Object(i.__)("Loading editor for: %s","full-site-editing"),s)),Object(o.createElement)(d.Button,{className:y?"hidden":null,href:r,onClick:k,isDefault:!0,isLarge:!0,ref:O},Object(i.sprintf)(Object(i.__)("Edit %s","full-site-editing"),s)))))}))),ee=Object(u.createHigherOrderComponent)((function(e){return function(t){return"fse-site-logo"!==t.attributes.className?Object(o.createElement)(e,t):Object(o.createElement)(e,c()({},t,{className:"template__site-logo"}))}}),"addFSESiteLogoClassname");Object(g.addFilter)("editor.BlockListBlock","full-site-editing/blocks/template",ee),"wp_template_part"!==fullSiteEditing.editorPostType&&Object(r.registerBlockType)("a8c/template",{title:Object(i.__)("Template Part","full-site-editing"),__experimentalDisplayName:"label",description:Object(i.__)("Display a Template Part.","full-site-editing"),icon:"layout",category:"layout",attributes:{templateId:{type:"number"},className:{type:"string"},label:{type:"string"}},supports:{anchor:!1,customClassName:!1,html:!1,inserter:!1,reusable:!1},edit:Z,save:function(){return null},getEditWrapperProps:function(){return{"data-align":"full"}}});var te=Object(u.createHigherOrderComponent)((function(e){return function(t){return"a8c/template"!==t.name?Object(o.createElement)(e,t):Object(o.createElement)(e,c()({},t,{className:"template__block-container"}))}}),"addFSETemplateClassname");Object(g.addFilter)("editor.BlockListBlock","full-site-editing/blocks/template",te,9);var ne=n(14),oe=n.n(ne),re=n(27),ie=n.n(re);n(44);function le(e){var t=e.defaultLabel,n=e.defaultUrl,r=Object(o.useState)(t),i=D()(r,2),l=i[0],c=i[1],a=Object(o.useState)(n),s=D()(a,2),u=s[0],p=s[1];return window.wp.hooks.addAction("updateCloseButtonOverrides","a8c-fse",(function(e){c(e.label),p(e.closeUrl)})),Object(o.createElement)("a",{href:u,"aria-label":l},Object(o.createElement)(d.Button,{className:"components-button components-icon-button"},Object(o.createElement)(d.Dashicon,{icon:"arrow-left-alt2"}),Object(o.createElement)("div",{className:"close-button-override__label"},l)))}oe()((function(){var e=fullSiteEditing.editorPostType;if("wp_template_part"===e||"page"===e||"post"===e)var t=setInterval((function(){var n=document.querySelector(".edit-post-header__toolbar");if(n){clearInterval(t);var r=document.createElement("div");r.className="components-toolbar edit-post-fullscreen-mode-close__toolbar edit-post-fullscreen-mode-close__toolbar__override",n.prepend(r);var l=fullSiteEditing,c=l.closeButtonLabel,a=l.closeButtonUrl,s=window.calypsoifyGutenberg;s&&s.closeUrl&&(a=s.closeUrl),s&&s.closeButtonLabel&&(c=s.closeButtonLabel);var u=a||"edit.php?post_type=".concat(e),p=c||"Back";"page"!==e||c?"post"!==e||c?"wp_template_part"!==e||c||(p=Object(i.__)("Template Parts","full-site-editing")):p=Object(i.__)("Posts","full-site-editing"):p=Object(i.__)("Pages","full-site-editing"),ie.a.render(Object(o.createElement)(le,{defaultLabel:p,defaultUrl:u}),r)}}))}));var ce=n(28),ae=n.n(ce),se=n(29),ue=Object(f.withSelect)((function(e){var t=e("core").getEntityRecord,n=e("core/editor").getEditedPostAttribute;return{templateClasses:Object($.map)(n("template_part_types"),(function(e){var n=Object($.get)(t("taxonomy","wp_template_part_type",e),"name","");return Object($.endsWith)(n,"-header")?"fse-header":Object($.endsWith)(n,"-footer")?"fse-footer":void 0}))}}))((function(e){var t=e.templateClasses,n=setInterval((function(){var e=document.querySelector(".block-editor__typewriter > div");e&&(clearInterval(n),e.className=x.a.apply(void 0,["a8c-template-editor fse-template-part"].concat(ae()(t))))}));return null}));"wp_template_part"===fullSiteEditing.editorPostType&&Object(se.registerPlugin)("fse-editor-template-classes",{render:ue}),oe()((function(){"wp_template_part"===fullSiteEditing.editorPostType&&Object(f.dispatch)("core/notices").createNotice("info",Object(i.__)("Updates to this template will affect all pages on your site.","full-site-editing"),{isDismissible:!1})}));var pe=Object(u.compose)(Object(f.withSelect)((function(e){var t=e("core/editor").getEditorSettings,n=e("core/block-editor").getBlocks,o=e("core/edit-post").getEditorMode,r=n().find((function(e){return"a8c/post-content"===e.name}));return{rootClientId:r?r.clientId:"",showInserter:"visual"===o()&&t().richEditingEnabled}})))((function(e){var t=e.rootClientId,n=e.showInserter;return Object(o.createElement)(p.Inserter,{rootClientId:t,disabled:!n,position:"bottom right",toggleProps:{isPrimary:!0}})}));oe()((function(){return function(){if("page"===fullSiteEditing.editorPostType)var e=setInterval((function(){var t=document.querySelector(".edit-post-header-toolbar");if(t){clearInterval(e);var n=document.createElement("div");n.classList.add("fse-post-content-block-inserter"),t.insertBefore(n,t.firstChild),Object(o.render)(Object(o.createElement)(pe,null),n)}}))}()}));var de=Object(f.subscribe)((function(){if("page"!==fullSiteEditing.editorPostType)return de();!1===Object(f.select)("core/block-editor").isValidTemplate()&&Object(f.dispatch)("core/block-editor").setTemplateValidity(!0)})),fe=["logo","brand","emblem","hallmark"];Object(g.addFilter)("blocks.registerBlockType","full-site-editing/editor/image-block-keywords",(function(e,t){return"core/image"!==t?e:e=Object($.assign)({},e,{keywords:e.keywords.concat(fe)})}));n(48);Object(f.use)((function(e){return{dispatch:function(t){var n=A()({},e.dispatch(t)),o=fullSiteEditing.editorPostType;return"core/editor"===t&&n.trashPost&&"wp_template_part"===o&&(n.trashPost=function(){}),n}}})),Object(f.use)((function(e){return{dispatch:function(t){var n=A()({},e.dispatch(t)),o=fullSiteEditing.editorPostType;if("core/editor"===t&&n.editPost&&"wp_template_part"===o){var r=n.editPost;n.editPost=function(e){"draft"!==e.status&&r(e)}}return n}}}));var be=Object(f.subscribe)((function(){var e=Object(f.dispatch)("core/edit-post").removeEditorPanel;return"page"===fullSiteEditing.editorPostType&&e("featured-image"),"wp_template_part"===fullSiteEditing.editorPostType&&e("post-status"),be()}))}]));
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
6 |
+
*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var l=r.apply(null,o);l&&e.push(l)}else if("object"===i)for(var c in o)n.call(o,c)&&o[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(t,[]))||(e.exports=o)}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t,n){var o=n(38),r=n(39),i=n(17),l=n(40);e.exports=function(e,t){return o(e)||r(e,t)||i(e,t)||l()}},function(e,t){!function(){e.exports=this.wp.domReady}()},function(e,t){!function(){e.exports=this.wp.apiFetch}()},function(e,t){!function(){e.exports=this.wp.htmlEntities}()},function(e,t,n){var o=n(18);e.exports=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}},function(e,t,n){},function(e,t){!function(){e.exports=this.wp.serverSideRender}()},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),e}},function(e,t,n){var o=n(31);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}},function(e,t,n){var o=n(32),r=n(33),i=n(34);e.exports=function(e){return function(){var t,n=o(e);if(r()){var l=o(this).constructor;t=Reflect.construct(n,arguments,l)}else t=n.apply(this,arguments);return i(this,t)}}},function(e,t){!function(){e.exports=this.wp.editor}()},function(e,t){!function(){e.exports=this.wp.url}()},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){var o=n(45),r=n(46),i=n(17),l=n(47);e.exports=function(e){return o(e)||r(e)||i(e)||l()}},function(e,t){!function(){e.exports=this.wp.plugins}()},function(e,t,n){},function(e,t){function n(t,o){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,o)}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}},function(e,t,n){var o=n(35),r=n(36);e.exports=function(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?r(e):t}},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,n){},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,r=!1,i=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done)&&(n.push(l.value),!t||n.length!==t);o=!0);}catch(a){r=!0,i=a}finally{try{o||null==c.return||c.return()}finally{if(r)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){var o=n(18);e.exports=function(e){if(Array.isArray(e))return o(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var o=n(0),r=n(7),i=n(1),l=n(10),c=n.n(l),a=n(20),s=n.n(a),u=n(4),d=n(2),p=n(5),f=n(3),b=Object(u.compose)([Object(d.withColors)("backgroundColor",{textColor:"color"}),Object(d.withFontSizes)("fontSize"),Object(f.withSelect)((function(e){return{isPublished:e("core/editor").isCurrentPostPublished()}}))])((function(e){var t=e.attributes,n=e.backgroundColor,r=e.fontSize,l=e.setAttributes,a=e.setBackgroundColor,u=e.setFontSize,f=e.setTextColor,b=e.textColor,m=e.isPublished,g=t.customFontSize,O=t.textAlign,j=g||r.size;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d.BlockControls,null,Object(o.createElement)(d.AlignmentToolbar,{value:O,onChange:function(e){l({textAlign:e})}})),Object(o.createElement)(d.InspectorControls,null,Object(o.createElement)(p.PanelBody,{className:"blocks-font-size",title:Object(i.__)("Text Settings","full-site-editing")},Object(o.createElement)(d.FontSizePicker,{onChange:u,value:j})),Object(o.createElement)(d.PanelColorSettings,{title:Object(i.__)("Color Settings","full-site-editing"),initialOpen:!1,colorSettings:[{value:n.color,onChange:a,label:Object(i.__)("Background Color","full-site-editing")},{value:b.color,onChange:f,label:Object(i.__)("Text Color","full-site-editing")}]},Object(o.createElement)(d.ContrastChecker,c()({textColor:b.color,backgroundColor:n.color},{fontSize:j})))),Object(o.createElement)(s.a,{isPublished:m,block:"a8c/navigation-menu",attributes:t}))}));function m(){for(var e=Object(r.getCategories)(),t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];for(var i=function(){var t=c[l];if(e.some((function(e){return e.slug===t})))return{v:t}},l=0,c=n;l<c.length;l++){var a=i();if("object"==typeof a)return a.v}throw new Error("Could not find a category from the provided list: ".concat(n.join(",")))}n(30);var g=Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},Object(o.createElement)("path",{fill:"none",d:"M0 0h24v24H0V0z"}),Object(o.createElement)("path",{d:"M12 7.27l4.28 10.43-3.47-1.53-.81-.36-.81.36-3.47 1.53L12 7.27M12 2L4.5 20.29l.71.71L12 18l6.79 3 .71-.71L12 2z"}));Object(r.registerBlockType)("a8c/navigation-menu",{title:Object(i.__)("Navigation Menu","full-site-editing"),description:Object(i.__)("Visual placeholder for site-wide navigation and menus.","full-site-editing"),icon:g,category:m("design","layout"),supports:{align:["wide","full","right","left"],html:!1,reusable:!1},edit:b,save:function(){return null}});var O=n(12),j=n(6),v=n.n(j),h=n(21),y=n.n(h),_=n(22),S=n.n(_),E=n(23),w=n.n(E),k=n(24),C=n.n(k),x=n(11),P=n.n(x),T=n(25),B=function(e){w()(n,e);var t=C()(n);function n(){return y()(this,n),t.apply(this,arguments)}return S()(n,[{key:"toggleEditing",value:function(){var e=this.props,t=e.isEditing;(0,e.setState)({isEditing:!t})}},{key:"onSelectPost",value:function(e){var t=e.id,n=e.type;this.props.setState({isEditing:!1,selectedPostId:t,selectedPostType:n})}},{key:"render",value:function(){var e=this.props.attributes.align;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("div",{className:P()("post-content-block",v()({},"align".concat(e),e))},Object(o.createElement)(T.PostTitle,null),Object(o.createElement)(d.InnerBlocks,{templateLock:!1})))}}]),n}(o.Component),I=Object(u.compose)([Object(u.withState)({isEditing:!1,selectedPostId:void 0,selectedPostType:void 0}),Object(f.withSelect)((function(e,t){var n=t.selectedPostId,o=t.selectedPostType;return{selectedPost:(0,e("core").getEntityRecord)("postType",o,n)}}))])(B);n(37);Object(r.registerBlockType)("a8c/post-content",{title:Object(i.__)("Content","full-site-editing"),description:Object(i.__)("The page content.","full-site-editing"),icon:"layout",category:m("design","layout"),supports:{align:["full"],anchor:!1,customClassName:!1,html:!1,inserter:!1,multiple:!1,reusable:!1},attributes:{align:{type:"string",default:"full"}},edit:I,save:function(){return Object(o.createElement)(d.InnerBlocks.Content,null)}});var N=Object(u.createHigherOrderComponent)((function(e){return function(t){return"a8c/post-content"!==t.name?Object(o.createElement)(e,t):Object(o.createElement)(e,c()({},t,{className:"post-content__block"}))}}),"addContentSlotClassname");Object(O.addFilter)("editor.BlockListBlock","full-site-editing/blocks/post-content",N,9);var A=n(9),z=n.n(A),D=n(13),F=n.n(D),L=n(15),R=n.n(L),M=n(16);function V(e){var t=Object(o.useRef)();return Object(o.useEffect)((function(){t.current=e}),[e]),t.current}function U(e,t,n,r,l,c){var a=Object(o.useState)({option:t,previousOption:"",loaded:!1,error:!1}),s=F()(a,2),u=s[0],d=s[1],p=V(r),f=V(l);function b(){d(z()({},u,{option:u.previousOption,isSaving:!1}))}return Object(o.useEffect)((function(){u.loaded||u.error?function(){var t=u.option,o=u.previousOption,c=!o&&!t||t&&o&&t.trim()===o.trim(),a=!t||0===t.trim().length;!r&&p&&a&&b();if(!l||c)return;!f&&l&&function(t){d(z()({},u,{isSaving:!0})),R()({path:"/wp/v2/settings",method:"POST",data:v()({},e,t)}).then((function(){return function(e){d(z()({},u,{previousOption:e,isDirty:!1,isSaving:!1}))}(t)})).catch((function(){n(Object(i.sprintf)(Object(i.__)("Unable to save site %s","full-site-editing"),e)),b()}))}(t)}():R()({path:"/wp/v2/settings"}).then((function(t){return d(z()({},u,{option:Object(M.decodeEntities)(t[e]),previousOption:Object(M.decodeEntities)(t[e]),loaded:!0,error:!1}))})).catch((function(){n(Object(i.sprintf)(Object(i.__)("Unable to load site %s","full-site-editing"),e)),d(z()({},u,{option:Object(i.sprintf)(Object(i.__)("Error loading site %s","full-site-editing"),e),error:!0}))}))})),{siteOptions:u,handleChange:function(e){c({updated:Date.now()}),d(z()({},u,{option:e}))}}}var H=function(e){return Object(u.createHigherOrderComponent)((function(t){return Object(u.pure)((function(n){var r=Object(f.useSelect)((function(e){var t=e("core/editor"),n=t.isSavingPost,o=t.isPublishingPost,r=t.isAutosavingPost,i=t.isCurrentPostPublished;return(n()&&i()||o())&&!r()})),i=Object(f.useDispatch)((function(e){return e("core/notices").createErrorNotice})),l=n.isSelected,a=n.setAttributes,s=Object.keys(e).reduce((function(t,n){var o=e[n],c=U(o.optionName,o.defaultValue,i,l,r,a),s=c.siteOptions,u=c.handleChange;return t[n]={value:s.option,updateValue:u,loaded:s.loaded},t}),{});return Object(o.createElement)(t,c()({},n,s))}))}),"withSiteOptions")},q=fullSiteEditing.footerCreditOptions,W=function(e){var t=e.choice,n=q.find((function(e){return e.value===t}));if(!n)return null;var r=n.renderType,i=n.renderProps,l=n.label,c=z()({label:l},i);return"icon"===r?Object(o.createElement)(p.Icon,c):Object(o.createElement)("span",null," ",c.label," ")},G=fullSiteEditing,Q=G.footerCreditOptions,Y=G.defaultCreditOption;var $=Object(u.compose)([H({siteTitleOption:{optionName:"title",defaultValue:Object(i.__)("Site title loading…","full-site-editing")},footerCreditOption:{optionName:"footer_credit",defaultValue:Object(i.__)("Footer credit loading…","full-site-editing")}})])((function(e){var t=e.attributes.textAlign,n=void 0===t?"center":t,r=e.isSelected,i=e.setAttributes,l=e.footerCreditOption,c=l.value,a=l.updateValue,s=e.siteTitleOption.value,u=c||Y;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d.BlockControls,null,Object(o.createElement)(d.AlignmentToolbar,{value:n,onChange:function(e){i({textAlign:e})}})),Object(o.createElement)("div",{className:P()("site-info","site-credit__block",v()({},"has-text-align-".concat(n),n))},Object(o.createElement)("span",{className:"site-name"},s),Object(o.createElement)("span",{className:"comma"},","),Object(o.createElement)("span",{className:"site-credit__selection"},r?Object(o.createElement)(p.SelectControl,{onChange:a,value:u,options:Q}):Object(o.createElement)(W,{choice:u}))))}));n(41);Object(r.registerBlockType)("a8c/site-credit",{title:Object(i.__)("WordPress.com Credit","full-site-editing"),description:Object(i.__)("This block tells the world that you're using WordPress.com.","full-site-editing"),icon:"wordpress-alt",category:m("design","layout"),supports:{align:["wide","full"],html:!1,multiple:!1,reusable:!1,removal:!1},attributes:{align:{type:"string",default:"wide"},textAlign:{type:"string",default:"center"}},edit:$,save:function(){return null}});var J=n(8);var K=Object(u.compose)([Object(d.withColors)("backgroundColor",{textColor:"color"}),Object(d.withFontSizes)("fontSize"),Object(f.withSelect)((function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlockIndex,i=o.getBlockRootClientId,l=o.getTemplateLock,c=i(n);return{blockIndex:r(n,c),isLocked:!!l(c),rootClientId:c}})),Object(f.withDispatch)((function(e,t){var n=t.blockIndex,o=t.rootClientId;return{insertDefaultBlock:function(){return e("core/block-editor").insertDefaultBlock({},o,n+1)}}})),H({siteDescription:{optionName:"description",defaultValue:Object(i.__)("Site description loading…","full-site-editing")}})])((function(e){var t,n=e.attributes,r=e.backgroundColor,l=e.className,a=e.fontSize,s=e.insertDefaultBlock,u=e.setAttributes,f=e.setBackgroundColor,b=e.setFontSize,m=e.setTextColor,g=e.siteDescription,O=e.textColor,j=n.customFontSize,h=n.textAlign,y=j||a.size,_=g.value,S=g.updateValue;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d.BlockControls,null,Object(o.createElement)(d.AlignmentToolbar,{value:h,onChange:function(e){u({textAlign:e})}})),Object(o.createElement)(d.InspectorControls,null,Object(o.createElement)(p.PanelBody,{className:"blocks-font-size",title:Object(i.__)("Text Settings","full-site-editing")},Object(o.createElement)(d.FontSizePicker,{onChange:b,value:y})),Object(o.createElement)(d.PanelColorSettings,{title:Object(i.__)("Color Settings","full-site-editing"),initialOpen:!1,colorSettings:[{value:r.color,onChange:f,label:Object(i.__)("Background Color","full-site-editing")},{value:O.color,onChange:m,label:Object(i.__)("Text Color","full-site-editing")}]},Object(o.createElement)(d.ContrastChecker,c()({textColor:O.color,backgroundColor:r.color},{fontSize:y})))),Object(o.createElement)(d.RichText,{allowedFormats:[],"aria-label":Object(i.__)("Site Description","full-site-editing"),className:P()("site-description",l,(t={"has-text-color":O.color,"has-background":r.color},v()(t,"has-text-align-".concat(h),h),v()(t,r.class,r.class),v()(t,O.class,O.class),v()(t,a.class,!j&&a.class),t)),identifier:"content",onChange:S,onReplace:s,onSplit:J.noop,placeholder:Object(i.__)("Add a Site Description","full-site-editing"),style:{backgroundColor:r.color,color:O.color,fontSize:y?y+"px":void 0},tagName:"p",value:_}))}));n(42);Object(r.registerBlockType)("a8c/site-description",{title:Object(i.__)("Site Description","full-site-editing"),description:Object(i.__)("Site description, also known as the tagline.","full-site-editing"),icon:Object(o.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},Object(o.createElement)("path",{fill:"none",d:"M0 0h24v24H0z"}),Object(o.createElement)("path",{d:"M4 9h16v2H4V9zm0 4h10v2H4v-2z"})),category:m("design","layout"),supports:{align:["wide","full"],html:!1,multiple:!1,reusable:!1},attributes:{align:{type:"string",default:"wide"},textAlign:{type:"string",default:"center"},textColor:{type:"string"},customTextColor:{type:"string"},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},fontSize:{type:"string",default:"small"},customFontSize:{type:"number"}},edit:K,save:function(){return null}});var X=Object(u.compose)([Object(d.withColors)({textColor:"color"}),Object(d.withFontSizes)("fontSize"),Object(f.withSelect)((function(e,t){var n=t.clientId,o=e("core/block-editor"),r=o.getBlockIndex,i=o.getBlockRootClientId,l=o.getTemplateLock,c=i(n);return{blockIndex:r(n,c),isLocked:!!l(c),rootClientId:c}})),Object(f.withDispatch)((function(e,t){var n=t.blockIndex,o=t.rootClientId;return{insertDefaultBlock:function(){return e("core/block-editor").insertDefaultBlock({},o,n+1)}}})),H({siteTitle:{optionName:"title",defaultValue:Object(i.__)("Site title loading…","full-site-editing")}})])((function(e){var t,n=e.attributes,r=e.className,l=e.fontSize,c=e.insertDefaultBlock,a=e.setAttributes,s=e.setFontSize,u=e.setTextColor,f=e.siteTitle,b=e.textColor,m=n.customFontSize,g=n.textAlign,O=m||l.size,j=f.value,h=f.updateValue;return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d.BlockControls,null,Object(o.createElement)(d.AlignmentToolbar,{value:g,onChange:function(e){a({textAlign:e})}})),Object(o.createElement)(d.InspectorControls,null,Object(o.createElement)(p.PanelBody,{className:"blocks-font-size",title:Object(i.__)("Text Settings","full-site-editing")},Object(o.createElement)(d.FontSizePicker,{onChange:s,value:O})),Object(o.createElement)(d.PanelColorSettings,{title:Object(i.__)("Color Settings","full-site-editing"),initialOpen:!1,colorSettings:[{value:b.color,onChange:u,label:Object(i.__)("Text Color","full-site-editing")}]})),Object(o.createElement)(d.RichText,{allowedFormats:[],"aria-label":Object(i.__)("Site Title","full-site-editing"),className:P()("site-title",r,(t={"has-text-color":b.color},v()(t,"has-text-align-".concat(g),g),v()(t,b.class,b.class),v()(t,l.class,!m&&l.class),t)),identifier:"content",onChange:h,onReplace:c,onSplit:J.noop,placeholder:Object(i.__)("Add a Site Title","full-site-editing"),style:{color:b.color,fontSize:O?O+"px":void 0},tagName:"h1",value:j}))}));n(43);Object(r.registerBlockType)("a8c/site-title",{title:Object(i.__)("Site Title","full-site-editing"),description:Object(i.__)("Your site title.","full-site-editing"),icon:"layout",category:m("design","layout"),supports:{align:["wide","full"],html:!1,multiple:!1,reusable:!1},attributes:{align:{type:"string",default:"wide"},textAlign:{type:"string",default:"center"},textColor:{type:"string"},customTextColor:{type:"string"},fontSize:{type:"string",default:"normal"},customFontSize:{type:"number"}},edit:X,save:function(){return null}});var Z=n(26),ee=(n(19),Object(u.compose)(Object(u.withState)({templateClientId:null}),Object(f.withSelect)((function(e,t){var n=t.attributes,o=t.templateClientId,r=e("core").getEntityRecord,i=e("core/editor"),l=i.getCurrentPostId,c=i.isEditedPostDirty,a=e("core/block-editor"),s=a.getBlock,u=a.getSelectedBlock,d=e("core/edit-post").isEditorSidebarOpened,p=n.templateId,f=l(),b=p&&r("postType","wp_template_part",p),m=Object(Z.addQueryArgs)(fullSiteEditing.editTemplateBaseUrl,{post:p,fse_parent_post:f}),g=u();return{currentPostId:f,editTemplateUrl:m,template:b,templateBlock:s(o),templateTitle:Object(J.get)(b,["title","rendered"],""),isDirty:c(),isEditorSidebarOpened:!!d(),isAnyTemplateBlockSelected:g&&"a8c/template"===g.name}})),Object(f.withDispatch)((function(e,t){var n=e("core/block-editor").receiveBlocks,o=e("core/edit-post").openGeneralSidebar,i=t.template,l=t.templateClientId,c=t.setState;return{savePost:e("core/editor").savePost,receiveTemplateBlocks:function(){if(i&&!l){var e=Object(r.parse)(Object(J.get)(i,["content","raw"],"")),t=Object(r.createBlock)("core/group",{},e);n([t]),c({templateClientId:t.clientId})}},openGeneralSidebar:o}})))((function(e){var t,n=e.attributes,r=e.editTemplateUrl,l=e.receiveTemplateBlocks,c=e.template,a=e.templateBlock,s=e.templateTitle,u=e.isDirty,f=e.savePost,b=e.isEditorSidebarOpened,m=e.openGeneralSidebar,g=e.isAnyTemplateBlockSelected;if(!c)return Object(o.createElement)(p.Placeholder,{className:"template-block__placeholder"},Object(o.createElement)(p.Spinner,null));var O=Object(o.createRef)(),j=Object(o.useState)(!1),h=F()(j,2),y=h[0],_=h[1];Object(o.useEffect)((function(){y&&!u&&O.current.click(),l()})),Object(o.useEffect)((function(){var e=document.querySelector(".edit-post-sidebar__panel-tabs ul li:last-child");if(b&&e){if(g)return m("edit-post/document"),void e.classList.add("hidden");e.classList.remove("hidden")}}),[g,b,m]);var S=n.align,E=n.className,w=function(e){e.stopPropagation(),_(!0),u&&(e.preventDefault(),f())};return Object(o.createElement)("div",{className:P()("template-block",(t={},v()(t,"align".concat(S),S),v()(t,"is-navigating-to-template",y),t))},a&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)(p.Disabled,null,Object(o.createElement)("div",{className:E},Object(o.createElement)(d.BlockEdit,{attributes:a.attributes,block:a,clientId:a.clientId,isSelected:!1,name:a.name,setAttributes:J.noop}))),Object(o.createElement)(p.Placeholder,{className:"template-block__overlay",onClick:w},y&&Object(o.createElement)("div",{className:"template-block__loading"},Object(o.createElement)(p.Spinner,null)," ",Object(i.sprintf)(Object(i.__)("Loading editor for: %s","full-site-editing"),s)),Object(o.createElement)(p.Button,{className:y?"hidden":null,href:r,onClick:w,isDefault:!0,isLarge:!0,ref:O},Object(i.sprintf)(Object(i.__)("Edit %s","full-site-editing"),s)))))}))),te=Object(u.createHigherOrderComponent)((function(e){return function(t){return"fse-site-logo"!==t.attributes.className?Object(o.createElement)(e,t):Object(o.createElement)(e,c()({},t,{className:"template__site-logo"}))}}),"addFSESiteLogoClassname");Object(O.addFilter)("editor.BlockListBlock","full-site-editing/blocks/template",te),"wp_template_part"!==fullSiteEditing.editorPostType&&Object(r.registerBlockType)("a8c/template",{title:Object(i.__)("Template Part","full-site-editing"),__experimentalDisplayName:"label",description:Object(i.__)("Display a Template Part.","full-site-editing"),icon:"layout",category:m("design","layout"),attributes:{templateId:{type:"number"},className:{type:"string"},label:{type:"string"}},supports:{anchor:!1,customClassName:!1,html:!1,inserter:!1,reusable:!1},edit:ee,save:function(){return null},getEditWrapperProps:function(){return{"data-align":"full"}}});var ne=Object(u.createHigherOrderComponent)((function(e){return function(t){return"a8c/template"!==t.name?Object(o.createElement)(e,t):Object(o.createElement)(e,c()({},t,{className:"template__block-container"}))}}),"addFSETemplateClassname");Object(O.addFilter)("editor.BlockListBlock","full-site-editing/blocks/template",ne,9);var oe=n(14),re=n.n(oe),ie=n(27),le=n.n(ie);n(44);function ce(e){var t=e.defaultLabel,n=e.defaultUrl,r=Object(o.useState)(t),i=F()(r,2),l=i[0],c=i[1],a=Object(o.useState)(n),s=F()(a,2),u=s[0],d=s[1];return window.wp.hooks.addAction("updateCloseButtonOverrides","a8c-fse",(function(e){c(e.label),d(e.closeUrl)})),Object(o.createElement)("a",{href:u,"aria-label":l},Object(o.createElement)(p.Button,{className:"components-button components-icon-button"},Object(o.createElement)(p.Dashicon,{icon:"arrow-left-alt2"}),Object(o.createElement)("div",{className:"close-button-override__label"},l)))}re()((function(){var e=fullSiteEditing.editorPostType;if("wp_template_part"===e||"page"===e||"post"===e)var t=setInterval((function(){var n=document.querySelector(".edit-post-header__toolbar");if(n){clearInterval(t);var r=document.createElement("div");r.className="components-toolbar edit-post-fullscreen-mode-close__toolbar edit-post-fullscreen-mode-close__toolbar__override",n.prepend(r);var l=fullSiteEditing,c=l.closeButtonLabel,a=l.closeButtonUrl,s=window.calypsoifyGutenberg;s&&s.closeUrl&&(a=s.closeUrl),s&&s.closeButtonLabel&&(c=s.closeButtonLabel);var u=a||"edit.php?post_type=".concat(e),d=c||"Back";"page"!==e||c?"post"!==e||c?"wp_template_part"!==e||c||(d=Object(i.__)("Template Parts","full-site-editing")):d=Object(i.__)("Posts","full-site-editing"):d=Object(i.__)("Pages","full-site-editing"),le.a.render(Object(o.createElement)(ce,{defaultLabel:d,defaultUrl:u}),r)}}))}));var ae=n(28),se=n.n(ae),ue=n(29),de=Object(f.withSelect)((function(e){var t=e("core").getEntityRecord,n=e("core/editor").getEditedPostAttribute;return{templateClasses:Object(J.map)(n("template_part_types"),(function(e){var n=Object(J.get)(t("taxonomy","wp_template_part_type",e),"name","");return Object(J.endsWith)(n,"-header")?"fse-header":Object(J.endsWith)(n,"-footer")?"fse-footer":void 0}))}}))((function(e){var t=e.templateClasses,n=setInterval((function(){var e=document.querySelector(".block-editor__typewriter > div");e&&(clearInterval(n),e.className=P.a.apply(void 0,["a8c-template-editor fse-template-part"].concat(se()(t))))}));return null}));"wp_template_part"===fullSiteEditing.editorPostType&&Object(ue.registerPlugin)("fse-editor-template-classes",{render:de}),re()((function(){"wp_template_part"===fullSiteEditing.editorPostType&&Object(f.dispatch)("core/notices").createNotice("info",Object(i.__)("Updates to this template will affect all pages on your site.","full-site-editing"),{isDismissible:!1})}));var pe=Object(u.compose)(Object(f.withSelect)((function(e){var t=e("core/editor").getEditorSettings,n=e("core/block-editor").getBlocks,o=e("core/edit-post").getEditorMode,r=n().find((function(e){return"a8c/post-content"===e.name}));return{rootClientId:r?r.clientId:"",showInserter:"visual"===o()&&t().richEditingEnabled}})))((function(e){var t=e.rootClientId,n=e.showInserter;return Object(o.createElement)(d.Inserter,{rootClientId:t,disabled:!n,position:"bottom right",toggleProps:{isPrimary:!0}})}));function fe(){if(!document.getElementById("fse-post-content-block-inserter")){var e=document.querySelector(".edit-post-header-toolbar");if(e){var t=document.createElement("div");t.className="fse-post-content-block-inserter",t.id="fse-post-content-block-inserter",e.insertBefore(t,e.firstChild),Object(o.render)(Object(o.createElement)(pe,null),t)}}}re()((function(){if("page"===fullSiteEditing.editorPostType)var e=setInterval((function(){document.querySelector(".edit-post-header-toolbar")&&(clearInterval(e),fe(),document.getElementById("wpbody")&&void 0!==window.MutationObserver&&new window.MutationObserver(fe).observe(document.getElementById("wpbody"),{subtree:!0,childList:!0}))}))}));var be=Object(f.subscribe)((function(){if("page"!==fullSiteEditing.editorPostType)return be();!1===Object(f.select)("core/block-editor").isValidTemplate()&&Object(f.dispatch)("core/block-editor").setTemplateValidity(!0)})),me=["logo","brand","emblem","hallmark"];Object(O.addFilter)("blocks.registerBlockType","full-site-editing/editor/image-block-keywords",(function(e,t){return"core/image"!==t?e:e=Object(J.assign)({},e,{keywords:e.keywords.concat(me)})}));n(48);Object(f.use)((function(e){return{dispatch:function(t){var n=z()({},e.dispatch(t)),o=fullSiteEditing.editorPostType;return"core/editor"===t&&n.trashPost&&"wp_template_part"===o&&(n.trashPost=function(){}),n}}})),Object(f.use)((function(e){return{dispatch:function(t){var n=z()({},e.dispatch(t)),o=fullSiteEditing.editorPostType;if("core/editor"===t&&n.editPost&&"wp_template_part"===o){var r=n.editPost;n.editPost=function(e){"draft"!==e.status&&r(e)}}return n}}}));var ge=Object(f.subscribe)((function(){var e=Object(f.dispatch)("core/edit-post").removeEditorPanel;return"page"===fullSiteEditing.editorPostType&&e("featured-image"),"wp_template_part"===fullSiteEditing.editorPostType&&e("post-status"),ge()}))}]));
|
dotcom-fse/dist/dotcom-fse.rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.wp-block-a8c-navigation-menu.main-navigation{pointer-events:none}.post-content-block__selector{width:300px}.post-content-block__selector a{font-family:sans-serif;font-size:13px;padding-right:8px}.post-content-block__preview{pointer-events:none}.post-content-block__preview:after{content:"";clear:both;display:table}.post-content-block .editor-post-title,.show-post-title-before-content .editor-post-title{display:none}.show-post-title-before-content .post-content-block .editor-post-title{display:block}.block-editor-block-list__layout .post-content__block.is-selected .block-editor-block-contextual-toolbar{display:none}.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-navigate-mode>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block>.block-editor-block-list__block-edit:before{transition:none;border:none;outline:none;box-shadow:none}.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-navigate-mode>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{display:none}.site-credit__block{display:flex;flex-direction:row;align-items:center;font-size:14px;color:grey}.site-credit__block.has-text-align-center{justify-content:center}.site-credit__block.has-text-align-left{justify-content:flex-start}.site-credit__block.has-text-align-right{justify-content:flex-end}.site-credit__block .site-name{font-weight:700}.site-credit__block .site-credit__selection{margin-right:5px;display:flex;flex-direction:row;align-items:center}.site-credit__block .site-credit__selection .components-base-control .components-base-control__field{margin-bottom:0}.block-editor .wp-block-a8c-site-description:focus{box-shadow:none;background-color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description::-webkit-input-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description:-moz-placeholder,.block-editor .wp-block.is-selected .wp-block-a8c-site-description::-moz-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description:-ms-input-placeholder{color:transparent}.block-editor .wp-block-a8c-site-title:focus{box-shadow:none;background-color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title::-webkit-input-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title:-moz-placeholder,.block-editor .wp-block.is-selected .wp-block-a8c-site-title::-moz-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title:-ms-input-placeholder{color:transparent}.template-block{min-height:200px;overflow:hidden;position:relative;margin-top:20px}.post-type-page .editor-styles-wrapper .template-block .fse-template-part{padding:0}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-type="a8c/template"]{display:none}.template__block-container:before{display:none}.template__block-container:hover{cursor:pointer}.template__block-container .block-editor-block-list__block-edit [data-block]{margin:0}.template__block-container .is-navigating-to-template .components-disabled,.template__block-container.is-selected .components-disabled,.template__block-container:hover .components-disabled{filter:blur(2px);transition:filter .2s linear}.template__block-container .is-navigating-to-template .template-block__overlay,.template__block-container.is-selected .template-block__overlay,.template__block-container:hover .template-block__overlay{opacity:1;transition:opacity .2s linear}.template__block-container .is-navigating-to-template .template-block__overlay .components-button,.template__block-container.is-selected .template-block__overlay .components-button,.template__block-container:hover .template-block__overlay .components-button{opacity:1;transition:opacity .2s linear}.template__block-container .components-disabled{filter:blur(0);transition:filter .2s linear 0s}.template__block-container .block-editor-block-contextual-toolbar,.template__block-container .block-editor-block-list__block-edit:before,.template__block-container .block-editor-block-list__block-mobile-toolbar,.template__block-container .block-editor-block-list__breadcrumb,.template__block-container .block-editor-block-list__insertion-point{display:none}.template__block-container .template-block__overlay{background:hsla(0,0%,100%,.8);border:0 solid rgba(123,134,162,.3);bottom:0;right:0;margin:0;opacity:0;padding:0;position:absolute;left:0;transition:opacity .2s linear 0s;top:0;z-index:2}.is-selected .template__block-container .template-block__overlay{border-color:rgba(66,88,99,.4)}.block-editor-block-list__block:first-child .template__block-container .template-block__overlay{border-bottom-width:1px}.block-editor-block-list__block:last-child .template__block-container .template-block__overlay{border-top-width:1px}@media only screen and (min-width:768px){.template__block-container .template-block__overlay{border-width:1px}}.template__block-container .template-block__overlay .components-button{opacity:0;transition:opacity .2s linear 0s;margin:0 auto}.template__block-container .template-block__overlay .components-button.hidden{display:none}.template__block-container .template-block__overlay .template-block__loading{display:flex;align-items:center;color:#191e23}.block-editor-page:not(.post-type-wp_template_part) .fse-site-logo .components-placeholder__fieldset,.block-editor-page:not(.post-type-wp_template_part) .fse-site-logo .components-placeholder__instructions{display:none}.template-block__placeholder .components-spinner{margin:0 auto}.close-button-override-thin,.post-type-page .edit-post-fullscreen-mode-close__toolbar,.post-type-page .edit-post-header .edit-post-fullscreen-mode-close,.post-type-post .edit-post-fullscreen-mode-close__toolbar,.post-type-post .edit-post-header .edit-post-fullscreen-mode-close,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar,.post-type-wp_template_part .edit-post-header .edit-post-fullscreen-mode-close{display:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override{display:flex;align-items:center;margin-left:10px;margin-right:-24px;border:none;border-left:1px solid #e2e4e7}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:visited,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:visited,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:visited{text-decoration:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{font-size:13px}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2{margin-right:-7px}@media (max-width:599px){.post-type-page .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override{margin-right:-2px}}@media (max-width:400px){.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide{display:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin{display:flex}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{display:none}}.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{margin-right:-24px;margin-left:24px}@media (max-width:782px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{display:none}}@media (max-width:960px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{display:none}}@media (max-width:599px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{margin-right:-24px}}.edit-post-header-toolbar>.edit-post-header-toolbar__inserter-toggle{display:none}.post-type-wp_template_part .edit-post-post-status,.post-type-wp_template_part .editor-post-title,.post-type-wp_template_part .editor-post-trash{display:none}.post-type-wp_template_part .edit-post-visual-editor{margin-top:20px;padding-top:0}.post-type-wp_template_part .editor-post-switch-to-draft{display:none}@media (min-width:768px){.post-type-page .block-editor-editor-skeleton__content,.post-type-page .edit-post-editor-regions__content,.post-type-wp_template_part .block-editor-editor-skeleton__content,.post-type-wp_template_part .edit-post-editor-regions__content{background:#eee}.post-type-page .edit-post-editor-regions__content .edit-post-visual-editor,.post-type-page .edit-post-visual-editor.editor-styles-wrapper,.post-type-wp_template_part .edit-post-editor-regions__content .edit-post-visual-editor,.post-type-wp_template_part .edit-post-visual-editor.editor-styles-wrapper{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);flex:none;margin:36px 32px}}.post-type-page .block-editor-block-list__layout,.post-type-wp_template_part .block-editor-block-list__layout{padding-right:0;padding-left:0}.post-type-page .block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.post-type-page .block-editor-block-list__layout .wp-block[data-align=full],.post-type-wp_template_part .block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.post-type-wp_template_part .block-editor-block-list__layout .wp-block[data-align=full]{margin-right:0;margin-left:0}.post-type-page .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit,.post-type-wp_template_part .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit{margin-left:0;margin-right:0}.post-type-page .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit,.post-type-wp_template_part .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit{margin-left:14px;margin-right:14px}@media (max-width:1200px){.post-type-page .wp-block:not([data-align=full]):not([data-align=wide]),.post-type-wp_template_part .wp-block:not([data-align=full]):not([data-align=wide]){max-width:580px}.post-type-page .is-sidebar-opened .wp-block:not([data-align=full]):not([data-align=wide]),.post-type-wp_template_part .is-sidebar-opened .wp-block:not([data-align=full]):not([data-align=wide]){max-width:400px}}.post-type-page .block-editor-writing-flow__click-redirect,.post-type-wp_template_part .block-editor-writing-flow__click-redirect{display:none}.editor-styles-wrapper{background:#fff}.post-type-page .edit-post-visual-editor{padding-top:0}.post-type-page .block-editor-writing-flow{display:block}.post-type-page .wp-block.template__block-container .wp-block-column [data-type="core/social-links"] [data-block]{margin:0}@media (max-width:600px){.components-dropdown.table-of-contents{display:none}}
|
1 |
+
.wp-block-a8c-navigation-menu.main-navigation{pointer-events:none}.post-content-block__selector{width:300px}.post-content-block__selector a{font-family:sans-serif;font-size:13px;padding-right:8px}.post-content-block__preview{pointer-events:none}.post-content-block__preview:after{content:"";clear:both;display:table}.post-content-block .editor-post-title,.show-post-title-before-content .editor-post-title{display:none}.show-post-title-before-content .post-content-block .editor-post-title{display:block}.block-editor-block-list__layout .post-content__block.is-selected .block-editor-block-contextual-toolbar{display:none}.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-navigate-mode>.block-editor-block-list__block-edit:before,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block>.block-editor-block-list__block-edit:before{transition:none;border:none;outline:none;box-shadow:none}.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.has-child-selected>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-hovered>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block.is-navigate-mode>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb,.block-editor-block-list__layout .post-content__block.block-editor-block-list__block>.block-editor-block-list__block-edit>.block-editor-block-list__breadcrumb{display:none}.site-credit__block{display:flex;flex-direction:row;align-items:center;font-size:14px;color:grey}.site-credit__block.has-text-align-center{justify-content:center}.site-credit__block.has-text-align-left{justify-content:flex-start}.site-credit__block.has-text-align-right{justify-content:flex-end}.site-credit__block .site-name{font-weight:700}.site-credit__block .site-credit__selection{margin-right:5px;display:flex;flex-direction:row;align-items:center}.site-credit__block .site-credit__selection .components-base-control .components-base-control__field{margin-bottom:0}.block-editor .wp-block-a8c-site-description:focus{box-shadow:none;background-color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description::-webkit-input-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description:-moz-placeholder,.block-editor .wp-block.is-selected .wp-block-a8c-site-description::-moz-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-description:-ms-input-placeholder{color:transparent}.block-editor .wp-block-a8c-site-title:focus{box-shadow:none;background-color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title::-webkit-input-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title:-moz-placeholder,.block-editor .wp-block.is-selected .wp-block-a8c-site-title::-moz-placeholder{color:transparent}.block-editor .wp-block.is-selected .wp-block-a8c-site-title:-ms-input-placeholder{color:transparent}.template-block{min-height:200px;overflow:hidden;position:relative;margin-top:20px}.post-type-page .editor-styles-wrapper .template-block .fse-template-part{padding:0}.components-popover.block-editor-block-list__block-popover .components-popover__content .block-editor-block-contextual-toolbar[data-type="a8c/template"],.template__block-container:before{display:none}.template__block-container:hover{cursor:pointer}.template__block-container .block-editor-block-list__block-edit [data-block]{margin:0}.template__block-container .is-navigating-to-template .components-disabled,.template__block-container.is-selected .components-disabled,.template__block-container:hover .components-disabled{filter:blur(2px);transition:filter .2s linear}.template__block-container .is-navigating-to-template .template-block__overlay,.template__block-container .is-navigating-to-template .template-block__overlay .components-button,.template__block-container.is-selected .template-block__overlay,.template__block-container.is-selected .template-block__overlay .components-button,.template__block-container:hover .template-block__overlay,.template__block-container:hover .template-block__overlay .components-button{opacity:1;transition:opacity .2s linear}.template__block-container .components-disabled{filter:blur(0);transition:filter .2s linear 0s}.template__block-container .block-editor-block-contextual-toolbar,.template__block-container .block-editor-block-list__block-edit:before,.template__block-container .block-editor-block-list__block-mobile-toolbar,.template__block-container .block-editor-block-list__breadcrumb,.template__block-container .block-editor-block-list__insertion-point{display:none}.template__block-container .template-block__overlay{background:hsla(0,0%,100%,.8);border:0 solid rgba(123,134,162,.3);bottom:0;right:0;margin:0;opacity:0;padding:0;position:absolute;left:0;transition:opacity .2s linear 0s;top:0;z-index:2}.is-selected .template__block-container .template-block__overlay{border-color:rgba(66,88,99,.4)}.block-editor-block-list__block:first-child .template__block-container .template-block__overlay{border-bottom-width:1px}.block-editor-block-list__block:last-child .template__block-container .template-block__overlay{border-top-width:1px}@media only screen and (min-width:768px){.template__block-container .template-block__overlay{border-width:1px}}.template__block-container .template-block__overlay .components-button{opacity:0;transition:opacity .2s linear 0s;margin:0 auto}.template__block-container .template-block__overlay .components-button.hidden{display:none}.template__block-container .template-block__overlay .template-block__loading{display:flex;align-items:center;color:#191e23}.block-editor-page:not(.post-type-wp_template_part) .fse-site-logo .components-placeholder__fieldset,.block-editor-page:not(.post-type-wp_template_part) .fse-site-logo .components-placeholder__instructions{display:none}.template-block__placeholder .components-spinner{margin:0 auto}.close-button-override-thin,.post-type-page .edit-post-fullscreen-mode-close__toolbar,.post-type-page .edit-post-header .edit-post-fullscreen-mode-close,.post-type-post .edit-post-fullscreen-mode-close__toolbar,.post-type-post .edit-post-header .edit-post-fullscreen-mode-close,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar,.post-type-wp_template_part .edit-post-header .edit-post-fullscreen-mode-close{display:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override{display:flex;align-items:center;margin-left:10px;margin-right:-24px;border:none;border-left:1px solid #e2e4e7}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-page .edit-post-fullscreen-mode-close__toolbar__override a:visited,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override a:visited,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:active,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:hover,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:link,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override a:visited{text-decoration:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{font-size:13px}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .dashicons-arrow-left-alt2{margin-right:-7px}@media (max-width:599px){.post-type-page .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override{margin-right:-2px}}@media (max-width:400px){.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-wide{display:none}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override-thin{display:flex}.post-type-page .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{display:none}}.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{margin-right:-24px;margin-left:24px}@media (max-width:782px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{display:none}}@media (max-width:960px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override .close-button-override__label{display:none}}@media (max-width:599px){.post-type-page .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-page .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-post .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .block-editor-editor-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override,.post-type-wp_template_part .interface-interface-skeleton__header .edit-post-fullscreen-mode-close__toolbar__override{margin-right:-24px}}.post-type-page .edit-post-header-toolbar>.edit-post-header-toolbar__inserter-toggle,.post-type-wp_template_part .edit-post-post-status,.post-type-wp_template_part .editor-post-title,.post-type-wp_template_part .editor-post-trash{display:none}.post-type-wp_template_part .edit-post-visual-editor{margin-top:20px;padding-top:0}.post-type-wp_template_part .editor-post-switch-to-draft{display:none}@media (min-width:768px){.post-type-page .block-editor-editor-skeleton__content,.post-type-page .edit-post-editor-regions__content,.post-type-wp_template_part .block-editor-editor-skeleton__content,.post-type-wp_template_part .edit-post-editor-regions__content{background:#eee}.post-type-page .edit-post-editor-regions__content .edit-post-visual-editor,.post-type-page .edit-post-visual-editor.editor-styles-wrapper,.post-type-wp_template_part .edit-post-editor-regions__content .edit-post-visual-editor,.post-type-wp_template_part .edit-post-visual-editor.editor-styles-wrapper{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12),0 1px 5px 0 rgba(0,0,0,.2);flex:none;margin:36px 32px}}.post-type-page .block-editor-block-list__layout,.post-type-wp_template_part .block-editor-block-list__layout{padding-right:0;padding-left:0}.post-type-page .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit,.post-type-page .block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.post-type-page .block-editor-block-list__layout .wp-block[data-align=full],.post-type-wp_template_part .block-editor-block-list__block[data-align=full]>.block-editor-block-list__block-edit,.post-type-wp_template_part .block-editor-block-list__layout .block-editor-block-list__block[data-align=full],.post-type-wp_template_part .block-editor-block-list__layout .wp-block[data-align=full]{margin-right:0;margin-left:0}.post-type-page .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit,.post-type-wp_template_part .block-editor-block-list__block[data-align=wide]>.block-editor-block-list__block-edit{margin-left:14px;margin-right:14px}@media (max-width:1200px){.post-type-page .wp-block:not([data-align=full]):not([data-align=wide]),.post-type-wp_template_part .wp-block:not([data-align=full]):not([data-align=wide]){max-width:580px}.post-type-page .is-sidebar-opened .wp-block:not([data-align=full]):not([data-align=wide]),.post-type-wp_template_part .is-sidebar-opened .wp-block:not([data-align=full]):not([data-align=wide]){max-width:400px}}.post-type-page .block-editor-writing-flow__click-redirect,.post-type-wp_template_part .block-editor-writing-flow__click-redirect{display:none}.editor-styles-wrapper{background:#fff}.post-type-page .edit-post-visual-editor{padding-top:0}.post-type-page .block-editor-writing-flow{display:block}.post-type-page .wp-block.template__block-container .wp-block-column [data-type="core/social-links"] [data-block]{margin:0}@media (max-width:600px){.components-dropdown.table-of-contents{display:none}}
|
dotcom-fse/editor/block-inserter/index.js
CHANGED
@@ -11,6 +11,9 @@ import { render } from '@wordpress/element';
|
|
11 |
*/
|
12 |
import PostContentBlockAppender from './post-content-block-appender';
|
13 |
|
|
|
|
|
|
|
14 |
/**
|
15 |
* Renders a custom block inserter that will append new blocks inside the post content block.
|
16 |
*/
|
@@ -26,14 +29,34 @@ function renderPostContentBlockInserter() {
|
|
26 |
return;
|
27 |
}
|
28 |
clearInterval( editPostHeaderToolbarInception );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
30 |
-
|
31 |
-
|
|
|
32 |
|
33 |
-
|
34 |
|
35 |
-
|
36 |
-
} );
|
37 |
}
|
38 |
|
39 |
-
domReady(
|
11 |
*/
|
12 |
import PostContentBlockAppender from './post-content-block-appender';
|
13 |
|
14 |
+
const CONTAINER_CLASS_NAME = 'fse-post-content-block-inserter';
|
15 |
+
const CONTAINER_ID = 'fse-post-content-block-inserter';
|
16 |
+
|
17 |
/**
|
18 |
* Renders a custom block inserter that will append new blocks inside the post content block.
|
19 |
*/
|
29 |
return;
|
30 |
}
|
31 |
clearInterval( editPostHeaderToolbarInception );
|
32 |
+
injectBlockInserter();
|
33 |
+
|
34 |
+
// Re-inject the FSE inserter as needed in case React re-renders the header
|
35 |
+
const wpbody = document.getElementById( 'wpbody' );
|
36 |
+
if ( wpbody && typeof window.MutationObserver !== 'undefined' ) {
|
37 |
+
const observer = new window.MutationObserver( injectBlockInserter );
|
38 |
+
observer.observe( document.getElementById( 'wpbody' ), { subtree: true, childList: true } );
|
39 |
+
}
|
40 |
+
} );
|
41 |
+
}
|
42 |
+
|
43 |
+
function injectBlockInserter() {
|
44 |
+
if ( document.getElementById( CONTAINER_ID ) ) {
|
45 |
+
return;
|
46 |
+
}
|
47 |
+
|
48 |
+
const headerToolbar = document.querySelector( '.edit-post-header-toolbar' );
|
49 |
+
if ( ! headerToolbar ) {
|
50 |
+
return;
|
51 |
+
}
|
52 |
|
53 |
+
const blockInserterContainer = document.createElement( 'div' );
|
54 |
+
blockInserterContainer.className = CONTAINER_CLASS_NAME;
|
55 |
+
blockInserterContainer.id = CONTAINER_ID;
|
56 |
|
57 |
+
headerToolbar.insertBefore( blockInserterContainer, headerToolbar.firstChild );
|
58 |
|
59 |
+
render( <PostContentBlockAppender />, blockInserterContainer );
|
|
|
60 |
}
|
61 |
|
62 |
+
domReady( renderPostContentBlockInserter );
|
dotcom-fse/editor/style.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
.edit-post-header-toolbar > .edit-post-header-toolbar__inserter-toggle {
|
2 |
display: none;
|
3 |
}
|
4 |
|
1 |
+
.post-type-page .edit-post-header-toolbar > .edit-post-header-toolbar__inserter-toggle {
|
2 |
display: none;
|
3 |
}
|
4 |
|
editor-domain-picker/dist/editor-domain-picker.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '94c0cbae08a13c8ebac22821622db80a');
|
editor-domain-picker/dist/editor-domain-picker.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@keyframes domain-picker-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.domain-picker__empty-state{display:flex;justify-content:center;flex-direction:column}.domain-picker__empty-state--text{max-width:320px;font-size:.9em;margin:10px 0;color:#555d66}@media (min-width:480px){.domain-picker__empty-state{flex-direction:row;align-items:center}.domain-picker__empty-state--text{margin:15px 0}}.domain-picker__show-more{padding:10px;text-align:center}.domain-picker__search{position:relative;margin-bottom:20px}.domain-picker__search input[type=text].components-text-control__input{padding:6px 40px 6px 16px;height:38px;background:#f0f0f0;border:none}.domain-picker__search input[type=text].components-text-control__input:-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input:focus{box-shadow:0 0 0 2px #5198d9;box-shadow:0 0 0 2px var(--studio-blue-30);background:#fff;background:var(--studio-white)}.domain-picker__search svg{position:absolute;top:6px;right:8px}.domain-picker__suggestion-item-group{flex-grow:1}.domain-picker__suggestion-sections{flex:1}.domain-picker__suggestion-group-label{margin:1.5em 0 1em;text-transform:uppercase;color:#a7aaad;color:var(--studio-gray-20);font-size:12px;font-weight:400;letter-spacing:1px}.domain-picker__suggestion-item{font-size:14px;line-height:17px;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:58px;border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);padding:10px 14px;margin:0;position:relative;z-index:1;text-align:left;cursor:pointer}.domain-picker__suggestion-item.placeholder{cursor:default}.domain-picker__suggestion-item.is-selected{background:#e9eff5;background:var(--studio-blue-0);border-color:#3582c4;border-color:var(--studio-blue-40);z-index:2}.domain-picker__suggestion-item:focus:not(.placeholder),.domain-picker__suggestion-item:hover:not(.placeholder){background:#e9eff5;background:var(--studio-blue-0);border-color:#3582c4;border-color:var(--studio-blue-40);z-index:2}@media (min-width:600px){.domain-picker__suggestion-item:focus .domain-picker__suggestion-item-select-button,.domain-picker__suggestion-item:hover .domain-picker__suggestion-item-select-button{opacity:1}.domain-picker__suggestion-item:focus .domain-picker__price,.domain-picker__suggestion-item:hover .domain-picker__price{opacity:0}}.domain-picker__suggestion-item:first-of-type{border-top-left-radius:5px;border-top-right-radius:5px}.domain-picker__suggestion-item:last-of-type{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.domain-picker__suggestion-item+.domain-picker__suggestion-item{margin-top:-1px}.domain-picker__suggestion-item:nth-child(7){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:0ms}.domain-picker__suggestion-item:nth-child(8){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:40ms}.domain-picker__suggestion-item:nth-child(9){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:80ms}.domain-picker__suggestion-item:nth-child(10){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.12s}.domain-picker__suggestion-item:nth-child(11){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.16s}.domain-picker__suggestion-item:nth-child(12){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.2s}.domain-picker__suggestion-item:nth-child(13){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.24s}.domain-picker__suggestion-item:nth-child(14){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.28s}@keyframes domain-picker-item-slide-up{to{transform:translateY(0);opacity:1}}.domain-picker__suggestion-item-name{flex-grow:1;margin-right:24px;letter-spacing:.4px}.domain-picker__suggestion-item-name .domain-picker__domain-name{word-break:break-word}.domain-picker__suggestion-item-name.placeholder{animation:domain-picker-loading-fade 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;max-width:30%;margin-right:auto}.domain-picker__suggestion-item-name.placeholder:after{content:"\00a0"}.domain-picker__domain-tld{color:#3582c4;color:var(--studio-blue-40);margin-right:10px}.domain-picker__badge{display:inline-flex;border-radius:2px;padding:0 10px;line-height:20px;height:20px;align-items:center;font-size:10px;text-transform:uppercase;vertical-align:middle;background-color:#2271b1;background-color:var(--studio-blue-50);color:#fff;color:var(--color-text-inverted)}.domain-picker__price{color:#787c82;color:var(--studio-gray-40);text-align:right;flex-basis:0;transition:opacity .2s ease-in-out}.domain-picker__price:not(.is-paid){display:none}@media (min-width:600px){.domain-picker__price{flex-basis:auto}.domain-picker__price:not(.is-paid){display:inline}}.domain-picker__price.placeholder{animation:domain-picker-loading-fade 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;min-width:64px}.domain-picker__price.placeholder:after{content:"\00a0"}.domain-picker__price-long{display:none}@media (min-width:600px){.domain-picker__price-long{display:inline}}.domain-picker__price-short{display:inline}@media (min-width:600px){.domain-picker__price-short{display:none}}.domain-picker__price-cost{text-decoration:line-through}.domain-picker__suggestion-item-select-button{display:flex;align-items:center;height:36px}.domain-picker__suggestion-item-select-button span{display:none}.domain-picker__suggestion-item-select-button svg{fill:#2271b1;fill:var(--studio-blue-50);margin-left:10px;margin-right:-2px}@media (min-width:600px){.domain-picker__suggestion-item-select-button{background:#007cba;color:#fff;color:var(--studio-white);border-radius:2px;padding:0 12px;opacity:0;transition:opacity .2s ease-in-out;position:absolute;right:14px}.domain-picker__suggestion-item-select-button:hover{background:#0070a7}.domain-picker__suggestion-item-select-button span{display:inline-block}.domain-picker__suggestion-item-select-button svg{display:none}}.domain-picker__body{display:flex}@media (max-width:480px){.domain-picker__body{display:block}.domain-picker__body .domain-picker__aside{width:100%;padding:0}}.domain-picker__aside{width:220px;padding-right:30px}:root{--studio-white:#fff;--studio-black:#000;--studio-gray-0:#f6f7f7;--studio-gray-5:#dcdcde;--studio-gray-10:#c3c4c7;--studio-gray-20:#a7aaad;--studio-gray-30:#8c8f94;--studio-gray-40:#787c82;--studio-gray-50:#646970;--studio-gray-60:#50575e;--studio-gray-70:#3c434a;--studio-gray-80:#2c3338;--studio-gray-90:#1d2327;--studio-gray-100:#101517;--studio-gray:#646970;--studio-blue-0:#e9eff5;--studio-blue-5:#c5d9ed;--studio-blue-10:#9ec2e6;--studio-blue-20:#72aee6;--studio-blue-30:#5198d9;--studio-blue-40:#3582c4;--studio-blue-50:#2271b1;--studio-blue-60:#135e96;--studio-blue-70:#0a4b78;--studio-blue-80:#043959;--studio-blue-90:#01263a;--studio-blue-100:#00131c;--studio-blue:#2271b1;--studio-purple-0:#f2e9ed;--studio-purple-5:#ebcee0;--studio-purple-10:#e3afd5;--studio-purple-20:#d48fc8;--studio-purple-30:#c475bd;--studio-purple-40:#b35eb1;--studio-purple-50:#984a9c;--studio-purple-60:#7c3982;--studio-purple-70:#662c6e;--studio-purple-80:#4d2054;--studio-purple-90:#35163b;--studio-purple-100:#1e0c21;--studio-purple:#984a9c;--studio-pink-0:#f5e9ed;--studio-pink-5:#f2ceda;--studio-pink-10:#f7a8c3;--studio-pink-20:#f283aa;--studio-pink-30:#eb6594;--studio-pink-40:#e34c84;--studio-pink-50:#c9356e;--studio-pink-60:#ab235a;--studio-pink-70:#8c1749;--studio-pink-80:#700f3b;--studio-pink-90:#4f092a;--studio-pink-100:#260415;--studio-pink:#c9356e;--studio-red-0:#f7ebec;--studio-red-5:#facfd2;--studio-red-10:#ffabaf;--studio-red-20:#ff8085;--studio-red-30:#f86368;--studio-red-40:#e65054;--studio-red-50:#d63638;--studio-red-60:#b32d2e;--studio-red-70:#8a2424;--studio-red-80:#691c1c;--studio-red-90:#451313;--studio-red-100:#240a0a;--studio-red:#d63638;--studio-orange-0:#f5ece6;--studio-orange-5:#f7dcc6;--studio-orange-10:#ffbf86;--studio-orange-20:#faa754;--studio-orange-30:#e68b28;--studio-orange-40:#d67709;--studio-orange-50:#b26200;--studio-orange-60:#8a4d00;--studio-orange-70:#704000;--studio-orange-80:#543100;--studio-orange-90:#361f00;--studio-orange-100:#1f1200;--studio-orange:#b26200;--studio-yellow-0:#f5f1e1;--studio-yellow-5:#f5e6b3;--studio-yellow-10:#f2d76b;--studio-yellow-20:#f0c930;--studio-yellow-30:#deb100;--studio-yellow-40:#c08c00;--studio-yellow-50:#9d6e00;--studio-yellow-60:#7d5600;--studio-yellow-70:#674600;--studio-yellow-80:#4f3500;--studio-yellow-90:#320;--studio-yellow-100:#1c1300;--studio-yellow:#9d6e00;--studio-green-0:#e6f2e8;--studio-green-5:#b8e6bf;--studio-green-10:#68de86;--studio-green-20:#1ed15a;--studio-green-30:#00ba37;--studio-green-40:#00a32a;--studio-green-50:#008a20;--studio-green-60:#007017;--studio-green-70:#005c12;--studio-green-80:#00450c;--studio-green-90:#003008;--studio-green-100:#001c05;--studio-green:#008a20;--studio-celadon-0:#e4f2ed;--studio-celadon-5:#a7e8d4;--studio-celadon-10:#63d6b6;--studio-celadon-20:#2ebd99;--studio-celadon-30:#09a884;--studio-celadon-40:#009172;--studio-celadon-50:#007e65;--studio-celadon-60:#006753;--studio-celadon-70:#005042;--studio-celadon-80:#003b30;--studio-celadon-90:#002721;--studio-celadon-100:#001c17;--studio-celadon:#007e65;--studio-wordpress-blue-0:#e6f1f5;--studio-wordpress-blue-5:#bedae6;--studio-wordpress-blue-10:#98c6d9;--studio-wordpress-blue-20:#6ab3d0;--studio-wordpress-blue-30:#3895ba;--studio-wordpress-blue-40:#187aa2;--studio-wordpress-blue-50:#006088;--studio-wordpress-blue-60:#004e6e;--studio-wordpress-blue-70:#003c56;--studio-wordpress-blue-80:#002c40;--studio-wordpress-blue-90:#001d2d;--studio-wordpress-blue-100:#00101c;--studio-wordpress-blue:#006088;--studio-simplenote-blue-0:#e9ecf5;--studio-simplenote-blue-5:#ced9f2;--studio-simplenote-blue-10:#abc1f5;--studio-simplenote-blue-20:#84a4f0;--studio-simplenote-blue-30:#618df2;--studio-simplenote-blue-40:#4678eb;--studio-simplenote-blue-50:#3361cc;--studio-simplenote-blue-60:#1d4fc4;--studio-simplenote-blue-70:#113ead;--studio-simplenote-blue-80:#0d2f85;--studio-simplenote-blue-90:#09205c;--studio-simplenote-blue-100:#05102e;--studio-simplenote-blue:#3361cc;--studio-woocommerce-purple-0:#f7edf7;--studio-woocommerce-purple-5:#e5cfe8;--studio-woocommerce-purple-10:#d6b4e0;--studio-woocommerce-purple-20:#c792e0;--studio-woocommerce-purple-30:#af7dd1;--studio-woocommerce-purple-40:#9a69c7;--studio-woocommerce-purple-50:#7f54b3;--studio-woocommerce-purple-60:#674399;--studio-woocommerce-purple-70:#533582;--studio-woocommerce-purple-80:#3c2861;--studio-woocommerce-purple-90:#271b3d;--studio-woocommerce-purple-100:#140e1f;--studio-woocommerce-purple:#7f54b3;--studio-jetpack-green-0:#f0f2eb;--studio-jetpack-green-5:#d0e6b8;--studio-jetpack-green-10:#9dd977;--studio-jetpack-green-20:#64ca43;--studio-jetpack-green-30:#2fb41f;--studio-jetpack-green-40:#069e08;--studio-jetpack-green-50:#008710;--studio-jetpack-green-60:#007117;--studio-jetpack-green-70:#005b18;--studio-jetpack-green-80:#004515;--studio-jetpack-green-90:#003010;--studio-jetpack-green-100:#001c09;--studio-jetpack-green:#2fb41f}:root{--studio-white-rgb:255,255,255;--studio-black-rgb:0,0,0;--studio-gray-0-rgb:246,247,247;--studio-gray-5-rgb:220,220,222;--studio-gray-10-rgb:195,196,199;--studio-gray-20-rgb:167,170,173;--studio-gray-30-rgb:140,143,148;--studio-gray-40-rgb:120,124,130;--studio-gray-50-rgb:100,105,112;--studio-gray-60-rgb:80,87,94;--studio-gray-70-rgb:60,67,74;--studio-gray-80-rgb:44,51,56;--studio-gray-90-rgb:29,35,39;--studio-gray-100-rgb:16,21,23;--studio-gray-rgb:100,105,112;--studio-blue-0-rgb:233,239,245;--studio-blue-5-rgb:197,217,237;--studio-blue-10-rgb:158,194,230;--studio-blue-20-rgb:114,174,230;--studio-blue-30-rgb:81,152,217;--studio-blue-40-rgb:53,130,196;--studio-blue-50-rgb:34,113,177;--studio-blue-60-rgb:19,94,150;--studio-blue-70-rgb:10,75,120;--studio-blue-80-rgb:4,57,89;--studio-blue-90-rgb:1,38,58;--studio-blue-100-rgb:0,19,28;--studio-blue-rgb:34,113,177;--studio-purple-0-rgb:242,233,237;--studio-purple-5-rgb:235,206,224;--studio-purple-10-rgb:227,175,213;--studio-purple-20-rgb:212,143,200;--studio-purple-30-rgb:196,117,189;--studio-purple-40-rgb:179,94,177;--studio-purple-50-rgb:152,74,156;--studio-purple-60-rgb:124,57,130;--studio-purple-70-rgb:102,44,110;--studio-purple-80-rgb:77,32,84;--studio-purple-90-rgb:53,22,59;--studio-purple-100-rgb:30,12,33;--studio-purple-rgb:152,74,156;--studio-pink-0-rgb:245,233,237;--studio-pink-5-rgb:242,206,218;--studio-pink-10-rgb:247,168,195;--studio-pink-20-rgb:242,131,170;--studio-pink-30-rgb:235,101,148;--studio-pink-40-rgb:227,76,132;--studio-pink-50-rgb:201,53,110;--studio-pink-60-rgb:171,35,90;--studio-pink-70-rgb:140,23,73;--studio-pink-80-rgb:112,15,59;--studio-pink-90-rgb:79,9,42;--studio-pink-100-rgb:38,4,21;--studio-pink-rgb:201,53,110;--studio-red-0-rgb:247,235,236;--studio-red-5-rgb:250,207,210;--studio-red-10-rgb:255,171,175;--studio-red-20-rgb:255,128,133;--studio-red-30-rgb:248,99,104;--studio-red-40-rgb:230,80,84;--studio-red-50-rgb:214,54,56;--studio-red-60-rgb:179,45,46;--studio-red-70-rgb:138,36,36;--studio-red-80-rgb:105,28,28;--studio-red-90-rgb:69,19,19;--studio-red-100-rgb:36,10,10;--studio-red-rgb:214,54,56;--studio-orange-0-rgb:245,236,230;--studio-orange-5-rgb:247,220,198;--studio-orange-10-rgb:255,191,134;--studio-orange-20-rgb:250,167,84;--studio-orange-30-rgb:230,139,40;--studio-orange-40-rgb:214,119,9;--studio-orange-50-rgb:178,98,0;--studio-orange-60-rgb:138,77,0;--studio-orange-70-rgb:112,64,0;--studio-orange-80-rgb:84,49,0;--studio-orange-90-rgb:54,31,0;--studio-orange-100-rgb:31,18,0;--studio-orange-rgb:178,98,0;--studio-yellow-0-rgb:245,241,225;--studio-yellow-5-rgb:245,230,179;--studio-yellow-10-rgb:242,215,107;--studio-yellow-20-rgb:240,201,48;--studio-yellow-30-rgb:222,177,0;--studio-yellow-40-rgb:192,140,0;--studio-yellow-50-rgb:157,110,0;--studio-yellow-60-rgb:125,86,0;--studio-yellow-70-rgb:103,70,0;--studio-yellow-80-rgb:79,53,0;--studio-yellow-90-rgb:51,34,0;--studio-yellow-100-rgb:28,19,0;--studio-yellow-rgb:157,110,0;--studio-green-0-rgb:230,242,232;--studio-green-5-rgb:184,230,191;--studio-green-10-rgb:104,222,134;--studio-green-20-rgb:30,209,90;--studio-green-30-rgb:0,186,55;--studio-green-40-rgb:0,163,42;--studio-green-50-rgb:0,138,32;--studio-green-60-rgb:0,112,23;--studio-green-70-rgb:0,92,18;--studio-green-80-rgb:0,69,12;--studio-green-90-rgb:0,48,8;--studio-green-100-rgb:0,28,5;--studio-green-rgb:0,138,32;--studio-celadon-0-rgb:228,242,237;--studio-celadon-5-rgb:167,232,212;--studio-celadon-10-rgb:99,214,182;--studio-celadon-20-rgb:46,189,153;--studio-celadon-30-rgb:9,168,132;--studio-celadon-40-rgb:0,145,114;--studio-celadon-50-rgb:0,126,101;--studio-celadon-60-rgb:0,103,83;--studio-celadon-70-rgb:0,80,66;--studio-celadon-80-rgb:0,59,48;--studio-celadon-90-rgb:0,39,33;--studio-celadon-100-rgb:0,28,23;--studio-celadon-rgb:0,126,101;--studio-wordpress-blue-0-rgb:230,241,245;--studio-wordpress-blue-5-rgb:190,218,230;--studio-wordpress-blue-10-rgb:152,198,217;--studio-wordpress-blue-20-rgb:106,179,208;--studio-wordpress-blue-30-rgb:56,149,186;--studio-wordpress-blue-40-rgb:24,122,162;--studio-wordpress-blue-50-rgb:0,96,136;--studio-wordpress-blue-60-rgb:0,78,110;--studio-wordpress-blue-70-rgb:0,60,86;--studio-wordpress-blue-80-rgb:0,44,64;--studio-wordpress-blue-90-rgb:0,29,45;--studio-wordpress-blue-100-rgb:0,16,28;--studio-wordpress-blue-rgb:0,96,136;--studio-simplenote-blue-0-rgb:233,236,245;--studio-simplenote-blue-5-rgb:206,217,242;--studio-simplenote-blue-10-rgb:171,193,245;--studio-simplenote-blue-20-rgb:132,164,240;--studio-simplenote-blue-30-rgb:97,141,242;--studio-simplenote-blue-40-rgb:70,120,235;--studio-simplenote-blue-50-rgb:51,97,204;--studio-simplenote-blue-60-rgb:29,79,196;--studio-simplenote-blue-70-rgb:17,62,173;--studio-simplenote-blue-80-rgb:13,47,133;--studio-simplenote-blue-90-rgb:9,32,92;--studio-simplenote-blue-100-rgb:5,16,46;--studio-simplenote-blue-rgb:51,97,204;--studio-woocommerce-purple-0-rgb:247,237,247;--studio-woocommerce-purple-5-rgb:229,207,232;--studio-woocommerce-purple-10-rgb:214,180,224;--studio-woocommerce-purple-20-rgb:199,146,224;--studio-woocommerce-purple-30-rgb:175,125,209;--studio-woocommerce-purple-40-rgb:154,105,199;--studio-woocommerce-purple-50-rgb:127,84,179;--studio-woocommerce-purple-60-rgb:103,67,153;--studio-woocommerce-purple-70-rgb:83,53,130;--studio-woocommerce-purple-80-rgb:60,40,97;--studio-woocommerce-purple-90-rgb:39,27,61;--studio-woocommerce-purple-100-rgb:20,14,31;--studio-woocommerce-purple-rgb:127,84,179;--studio-jetpack-green-0-rgb:240,242,235;--studio-jetpack-green-5-rgb:208,230,184;--studio-jetpack-green-10-rgb:157,217,119;--studio-jetpack-green-20-rgb:100,202,67;--studio-jetpack-green-30-rgb:47,180,31;--studio-jetpack-green-40-rgb:6,158,8;--studio-jetpack-green-50-rgb:0,135,16;--studio-jetpack-green-60-rgb:0,113,23;--studio-jetpack-green-70-rgb:0,91,24;--studio-jetpack-green-80-rgb:0,69,21;--studio-jetpack-green-90-rgb:0,48,16;--studio-jetpack-green-100-rgb:0,28,9;--studio-jetpack-green-rgb:47,180,31}:root{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-pink-50);--color-accent-rgb:var(--studio-pink-50-rgb);--color-accent-dark:var(--studio-pink-70);--color-accent-dark-rgb:var(--studio-pink-70-rgb);--color-accent-light:var(--studio-pink-30);--color-accent-light-rgb:var(--studio-pink-30-rgb);--color-accent-0:var(--studio-pink-0);--color-accent-0-rgb:var(--studio-pink-0-rgb);--color-accent-5:var(--studio-pink-5);--color-accent-5-rgb:var(--studio-pink-5-rgb);--color-accent-10:var(--studio-pink-10);--color-accent-10-rgb:var(--studio-pink-10-rgb);--color-accent-20:var(--studio-pink-20);--color-accent-20-rgb:var(--studio-pink-20-rgb);--color-accent-30:var(--studio-pink-30);--color-accent-30-rgb:var(--studio-pink-30-rgb);--color-accent-40:var(--studio-pink-40);--color-accent-40-rgb:var(--studio-pink-40-rgb);--color-accent-50:var(--studio-pink-50);--color-accent-50-rgb:var(--studio-pink-50-rgb);--color-accent-60:var(--studio-pink-60);--color-accent-60-rgb:var(--studio-pink-60-rgb);--color-accent-70:var(--studio-pink-70);--color-accent-70-rgb:var(--studio-pink-70-rgb);--color-accent-80:var(--studio-pink-80);--color-accent-80-rgb:var(--studio-pink-80-rgb);--color-accent-90:var(--studio-pink-90);--color-accent-90-rgb:var(--studio-pink-90-rgb);--color-accent-100:var(--studio-pink-100);--color-accent-100-rgb:var(--studio-pink-100-rgb);--color-neutral:var(--studio-gray-50);--color-neutral-rgb:var(--studio-gray-50-rgb);--color-neutral-dark:var(--studio-gray-70);--color-neutral-dark-rgb:var(--studio-gray-70-rgb);--color-neutral-light:var(--studio-gray-30);--color-neutral-light-rgb:var(--studio-gray-30-rgb);--color-neutral-0:var(--studio-gray-0);--color-neutral-0-rgb:var(--studio-gray-0-rgb);--color-neutral-5:var(--studio-gray-5);--color-neutral-5-rgb:var(--studio-gray-5-rgb);--color-neutral-10:var(--studio-gray-10);--color-neutral-10-rgb:var(--studio-gray-10-rgb);--color-neutral-20:var(--studio-gray-20);--color-neutral-20-rgb:var(--studio-gray-20-rgb);--color-neutral-30:var(--studio-gray-30);--color-neutral-30-rgb:var(--studio-gray-30-rgb);--color-neutral-40:var(--studio-gray-40);--color-neutral-40-rgb:var(--studio-gray-40-rgb);--color-neutral-50:var(--studio-gray-50);--color-neutral-50-rgb:var(--studio-gray-50-rgb);--color-neutral-60:var(--studio-gray-60);--color-neutral-60-rgb:var(--studio-gray-60-rgb);--color-neutral-70:var(--studio-gray-70);--color-neutral-70-rgb:var(--studio-gray-70-rgb);--color-neutral-80:var(--studio-gray-80);--color-neutral-80-rgb:var(--studio-gray-80-rgb);--color-neutral-90:var(--studio-gray-90);--color-neutral-90-rgb:var(--studio-gray-90-rgb);--color-neutral-100:var(--studio-gray-100);--color-neutral-100-rgb:var(--studio-gray-100-rgb);--color-success:var(--studio-green-50);--color-success-rgb:var(--studio-green-50-rgb);--color-success-dark:var(--studio-green-70);--color-success-dark-rgb:var(--studio-green-70-rgb);--color-success-light:var(--studio-green-30);--color-success-light-rgb:var(--studio-green-30-rgb);--color-success-0:var(--studio-green-0);--color-success-0-rgb:var(--studio-green-0-rgb);--color-success-5:var(--studio-green-5);--color-success-5-rgb:var(--studio-green-5-rgb);--color-success-10:var(--studio-green-10);--color-success-10-rgb:var(--studio-green-10-rgb);--color-success-20:var(--studio-green-20);--color-success-20-rgb:var(--studio-green-20-rgb);--color-success-30:var(--studio-green-30);--color-success-30-rgb:var(--studio-green-30-rgb);--color-success-40:var(--studio-green-40);--color-success-40-rgb:var(--studio-green-40-rgb);--color-success-50:var(--studio-green-50);--color-success-50-rgb:var(--studio-green-50-rgb);--color-success-60:var(--studio-green-60);--color-success-60-rgb:var(--studio-green-60-rgb);--color-success-70:var(--studio-green-70);--color-success-70-rgb:var(--studio-green-70-rgb);--color-success-80:var(--studio-green-80);--color-success-80-rgb:var(--studio-green-80-rgb);--color-success-90:var(--studio-green-90);--color-success-90-rgb:var(--studio-green-90-rgb);--color-success-100:var(--studio-green-100);--color-success-100-rgb:var(--studio-green-100-rgb);--color-warning:var(--studio-yellow-50);--color-warning-rgb:var(--studio-yellow-50-rgb);--color-warning-dark:var(--studio-yellow-70);--color-warning-dark-rgb:var(--studio-yellow-70-rgb);--color-warning-light:var(--studio-yellow-30);--color-warning-light-rgb:var(--studio-yellow-30-rgb);--color-warning-0:var(--studio-yellow-0);--color-warning-0-rgb:var(--studio-yellow-0-rgb);--color-warning-5:var(--studio-yellow-5);--color-warning-5-rgb:var(--studio-yellow-5-rgb);--color-warning-10:var(--studio-yellow-10);--color-warning-10-rgb:var(--studio-yellow-10-rgb);--color-warning-20:var(--studio-yellow-20);--color-warning-20-rgb:var(--studio-yellow-20-rgb);--color-warning-30:var(--studio-yellow-30);--color-warning-30-rgb:var(--studio-yellow-30-rgb);--color-warning-40:var(--studio-yellow-40);--color-warning-40-rgb:var(--studio-yellow-40-rgb);--color-warning-50:var(--studio-yellow-50);--color-warning-50-rgb:var(--studio-yellow-50-rgb);--color-warning-60:var(--studio-yellow-60);--color-warning-60-rgb:var(--studio-yellow-60-rgb);--color-warning-70:var(--studio-yellow-70);--color-warning-70-rgb:var(--studio-yellow-70-rgb);--color-warning-80:var(--studio-yellow-80);--color-warning-80-rgb:var(--studio-yellow-80-rgb);--color-warning-90:var(--studio-yellow-90);--color-warning-90-rgb:var(--studio-yellow-90-rgb);--color-warning-100:var(--studio-yellow-100);--color-warning-100-rgb:var(--studio-yellow-100-rgb);--color-error:var(--studio-red-50);--color-error-rgb:var(--studio-red-50-rgb);--color-error-dark:var(--studio-red-70);--color-error-dark-rgb:var(--studio-red-70-rgb);--color-error-light:var(--studio-red-30);--color-error-light-rgb:var(--studio-red-30-rgb);--color-error-0:var(--studio-red-0);--color-error-0-rgb:var(--studio-red-0-rgb);--color-error-5:var(--studio-red-5);--color-error-5-rgb:var(--studio-red-5-rgb);--color-error-10:var(--studio-red-10);--color-error-10-rgb:var(--studio-red-10-rgb);--color-error-20:var(--studio-red-20);--color-error-20-rgb:var(--studio-red-20-rgb);--color-error-30:var(--studio-red-30);--color-error-30-rgb:var(--studio-red-30-rgb);--color-error-40:var(--studio-red-40);--color-error-40-rgb:var(--studio-red-40-rgb);--color-error-50:var(--studio-red-50);--color-error-50-rgb:var(--studio-red-50-rgb);--color-error-60:var(--studio-red-60);--color-error-60-rgb:var(--studio-red-60-rgb);--color-error-70:var(--studio-red-70);--color-error-70-rgb:var(--studio-red-70-rgb);--color-error-80:var(--studio-red-80);--color-error-80-rgb:var(--studio-red-80-rgb);--color-error-90:var(--studio-red-90);--color-error-90-rgb:var(--studio-red-90-rgb);--color-error-100:var(--studio-red-100);--color-error-100-rgb:var(--studio-red-100-rgb);--color-surface:var(--studio-white);--color-surface-rgb:var(--studio-white-rgb);--color-surface-backdrop:var(--studio-gray-0);--color-surface-backdrop-rgb:var(--studio-gray-0-rgb);--color-text:var(--studio-gray-80);--color-text-rgb:var(--studio-gray-80-rgb);--color-text-subtle:var(--studio-gray-50);--color-text-subtle-rgb:var(--studio-gray-50-rgb);--color-text-inverted:var(--studio-white);--color-text-inverted-rgb:var(--studio-white-rgb);--color-border:var(--color-neutral-20);--color-border-rgb:var(--color-neutral-20-rgb);--color-border-subtle:var(--color-neutral-5);--color-border-subtle-rgb:var(--color-neutral-5-rgb);--color-border-shadow:var(--color-neutral-0);--color-border-shadow-rgb:var(--color-neutral-0-rgb);--color-border-inverted:var(--studio-white);--color-border-inverted-rgb:var(--studio-white-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-plan-free:var(--studio-gray-30);--color-plan-blogger:var(--studio-celadon-30);--color-plan-personal:var(--studio-blue-30);--color-plan-premium:var(--studio-yellow-30);--color-plan-business:var(--studio-orange-30);--color-plan-ecommerce:var(--studio-purple-30);--color-jetpack-plan-free:var(--studio-blue-30);--color-jetpack-plan-personal:var(--studio-yellow-30);--color-jetpack-plan-premium:var(--studio-jetpack-green-30);--color-jetpack-plan-professional:var(--studio-purple-30);--color-masterbar-background:var(--studio-blue-60);--color-masterbar-border:var(--studio-blue-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-70);--color-masterbar-item-active-background:var(--studio-blue-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-blue-5);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-5-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-70);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-jetpack-onboarding-text:var(--studio-white);--color-jetpack-onboarding-text-rgb:var(--studio-white-rgb);--color-jetpack-onboarding-background:var(--studio-blue-100);--color-jetpack-onboarding-background-rgb:var(--studio-blue-100-rgb);--color-automattic:var(--studio-blue-40);--color-jetpack:var(--studio-jetpack-green);--color-simplenote:var(--studio-simplenote-blue);--color-woocommerce:var(--studio-woocommerce-purple);--color-wordpress-com:var(--studio-wordpress-blue);--color-wordpress-org:#585c60;--color-blogger:#ff5722;--color-eventbrite:#ff8000;--color-facebook:#39579a;--color-godaddy:#5ea95a;--color-google-plus:#df4a32;--color-instagram:#d93174;--color-linkedin:#0976b4;--color-medium:#12100e;--color-pinterest:#cc2127;--color-pocket:#ee4256;--color-print:#f8f8f8;--color-reddit:#5f99cf;--color-skype:#00aff0;--color-stumbleupon:#eb4924;--color-squarespace:#222;--color-telegram:#08c;--color-tumblr:#35465c;--color-twitter:#55acee;--color-whatsapp:#43d854;--color-wix:#faad4d;--color-email:var(--studio-gray-0);--color-podcasting:#9b4dd5;--color-wp-admin-button-background:#008ec2;--color-wp-admin-button-border:#006799}.color-scheme.is-classic-blue{--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-50)}.color-scheme.is-contrast{--color-primary:var(--studio-gray-80);--color-primary-rgb:var(--studio-gray-80-rgb);--color-primary-dark:var(--studio-gray-100);--color-primary-dark-rgb:var(--studio-gray-100-rgb);--color-primary-light:var(--studio-gray-60);--color-primary-light-rgb:var(--studio-gray-60-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-70);--color-accent-rgb:var(--studio-blue-70-rgb);--color-accent-dark:var(--studio-blue-90);--color-accent-dark-rgb:var(--studio-blue-90-rgb);--color-accent-light:var(--studio-blue-50);--color-accent-light-rgb:var(--studio-blue-50-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-surface-backdrop:var(--studio-white);--color-surface-backdrop-rgb:var(--studio-white-rgb);--color-text:var(--studio-gray-100);--color-text-rgb:var(--studio-gray-100-rgb);--color-text-subtle:var(--studio-gray-70);--color-text-subtle-rgb:var(--studio-gray-70-rgb);--color-link:var(--studio-blue-70);--color-link-rgb:var(--studio-blue-70-rgb);--color-link-dark:var(--studio-blue-100);--color-link-dark-rgb:var(--studio-blue-100-rgb);--color-link-light:var(--studio-blue-50);--color-link-light-rgb:var(--studio-blue-50-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-60);--color-masterbar-item-new-editor-background:var(--studio-gray-70);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-90);--color-masterbar-unread-dot-background:var(--studio-yellow-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-90);--color-sidebar-text-rgb:var(--studio-gray-90-rgb);--color-sidebar-text-alternative:var(--studio-gray-90);--color-sidebar-gridicon-fill:var(--studio-gray-90);--color-sidebar-menu-selected-background:var(--studio-gray-100);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-60);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-midnight{--color-primary:var(--studio-gray-70);--color-primary-rgb:var(--studio-gray-70-rgb);--color-primary-dark:var(--studio-gray-80);--color-primary-dark-rgb:var(--studio-gray-80-rgb);--color-primary-light:var(--studio-gray-50);--color-primary-light-rgb:var(--studio-gray-50-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-red-60);--color-link-rgb:var(--studio-red-60-rgb);--color-link-dark:var(--studio-red-70);--color-link-dark-rgb:var(--studio-red-70-rgb);--color-link-light:var(--studio-red-30);--color-link-light-rgb:var(--studio-red-30-rgb);--color-link-0:var(--studio-red-0);--color-link-0-rgb:var(--studio-red-0-rgb);--color-link-5:var(--studio-red-5);--color-link-5-rgb:var(--studio-red-5-rgb);--color-link-10:var(--studio-red-10);--color-link-10-rgb:var(--studio-red-10-rgb);--color-link-20:var(--studio-red-20);--color-link-20-rgb:var(--studio-red-20-rgb);--color-link-30:var(--studio-red-30);--color-link-30-rgb:var(--studio-red-30-rgb);--color-link-40:var(--studio-red-40);--color-link-40-rgb:var(--studio-red-40-rgb);--color-link-50:var(--studio-red-50);--color-link-50-rgb:var(--studio-red-50-rgb);--color-link-60:var(--studio-red-60);--color-link-60-rgb:var(--studio-red-60-rgb);--color-link-70:var(--studio-red-70);--color-link-70-rgb:var(--studio-red-70-rgb);--color-link-80:var(--studio-red-80);--color-link-80-rgb:var(--studio-red-80-rgb);--color-link-90:var(--studio-red-90);--color-link-90-rgb:var(--studio-red-90-rgb);--color-link-100:var(--studio-red-100);--color-link-100-rgb:var(--studio-red-100-rgb);--color-masterbar-background:var(--studio-gray-70);--color-masterbar-border:var(--studio-gray-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-90);--color-sidebar-background-rgb:var(--studio-gray-90-rgb);--color-sidebar-border:var(--studio-gray-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-gray-20);--color-sidebar-gridicon-fill:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-red-50);--color-sidebar-menu-selected-background-rgb:var(--studio-red-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-80);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-nightfall{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-blue-100);--color-masterbar-border:var(--studio-blue-100);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-80);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-80);--color-sidebar-background-rgb:var(--studio-blue-80-rgb);--color-sidebar-border:var(--studio-blue-90);--color-sidebar-text:var(--studio-blue-5);--color-sidebar-text-rgb:var(--studio-blue-5-rgb);--color-sidebar-text-alternative:var(--studio-blue-20);--color-sidebar-gridicon-fill:var(--studio-blue-10);--color-sidebar-menu-selected-background:var(--studio-blue-100);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-70);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-ocean{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-celadon-50);--color-accent-rgb:var(--studio-celadon-50-rgb);--color-accent-dark:var(--studio-celadon-70);--color-accent-dark-rgb:var(--studio-celadon-70-rgb);--color-accent-light:var(--studio-celadon-30);--color-accent-light-rgb:var(--studio-celadon-30-rgb);--color-accent-0:var(--studio-celadon-0);--color-accent-0-rgb:var(--studio-celadon-0-rgb);--color-accent-5:var(--studio-celadon-5);--color-accent-5-rgb:var(--studio-celadon-5-rgb);--color-accent-10:var(--studio-celadon-10);--color-accent-10-rgb:var(--studio-celadon-10-rgb);--color-accent-20:var(--studio-celadon-20);--color-accent-20-rgb:var(--studio-celadon-20-rgb);--color-accent-30:var(--studio-celadon-30);--color-accent-30-rgb:var(--studio-celadon-30-rgb);--color-accent-40:var(--studio-celadon-40);--color-accent-40-rgb:var(--studio-celadon-40-rgb);--color-accent-50:var(--studio-celadon-50);--color-accent-50-rgb:var(--studio-celadon-50-rgb);--color-accent-60:var(--studio-celadon-60);--color-accent-60-rgb:var(--studio-celadon-60-rgb);--color-accent-70:var(--studio-celadon-70);--color-accent-70-rgb:var(--studio-celadon-70-rgb);--color-accent-80:var(--studio-celadon-80);--color-accent-80-rgb:var(--studio-celadon-80-rgb);--color-accent-90:var(--studio-celadon-90);--color-accent-90-rgb:var(--studio-celadon-90-rgb);--color-accent-100:var(--studio-celadon-100);--color-accent-100-rgb:var(--studio-celadon-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-blue-80);--color-masterbar-border:var(--studio-blue-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-60);--color-sidebar-background-rgb:var(--studio-blue-60-rgb);--color-sidebar-border:var(--studio-blue-70);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-blue-5);--color-sidebar-gridicon-fill:var(--studio-blue-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-90);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-90-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-50);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-powder-snow{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-70);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-60)}.color-scheme.is-sakura{--color-primary:var(--studio-celadon-50);--color-primary-rgb:var(--studio-celadon-50-rgb);--color-primary-dark:var(--studio-celadon-70);--color-primary-dark-rgb:var(--studio-celadon-70-rgb);--color-primary-light:var(--studio-celadon-30);--color-primary-light-rgb:var(--studio-celadon-30-rgb);--color-primary-0:var(--studio-celadon-0);--color-primary-0-rgb:var(--studio-celadon-0-rgb);--color-primary-5:var(--studio-celadon-5);--color-primary-5-rgb:var(--studio-celadon-5-rgb);--color-primary-10:var(--studio-celadon-10);--color-primary-10-rgb:var(--studio-celadon-10-rgb);--color-primary-20:var(--studio-celadon-20);--color-primary-20-rgb:var(--studio-celadon-20-rgb);--color-primary-30:var(--studio-celadon-30);--color-primary-30-rgb:var(--studio-celadon-30-rgb);--color-primary-40:var(--studio-celadon-40);--color-primary-40-rgb:var(--studio-celadon-40-rgb);--color-primary-50:var(--studio-celadon-50);--color-primary-50-rgb:var(--studio-celadon-50-rgb);--color-primary-60:var(--studio-celadon-60);--color-primary-60-rgb:var(--studio-celadon-60-rgb);--color-primary-70:var(--studio-celadon-70);--color-primary-70-rgb:var(--studio-celadon-70-rgb);--color-primary-80:var(--studio-celadon-80);--color-primary-80-rgb:var(--studio-celadon-80-rgb);--color-primary-90:var(--studio-celadon-90);--color-primary-90-rgb:var(--studio-celadon-90-rgb);--color-primary-100:var(--studio-celadon-100);--color-primary-100-rgb:var(--studio-celadon-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-celadon-70);--color-masterbar-border:var(--studio-celadon-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-celadon-80);--color-masterbar-item-active-background:var(--studio-celadon-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-pink-5);--color-sidebar-background-rgb:var(--studio-pink-5-rgb);--color-sidebar-border:var(--studio-pink-10);--color-sidebar-text:var(--studio-pink-80);--color-sidebar-text-rgb:var(--studio-pink-80-rgb);--color-sidebar-text-alternative:var(--studio-pink-60);--color-sidebar-gridicon-fill:var(--studio-pink-70);--color-sidebar-menu-selected-background:var(--studio-blue-50);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-pink-10);--color-sidebar-menu-hover-background-rgb:var(--studio-pink-10-rgb);--color-sidebar-menu-hover-text:var(--studio-pink-90)}.color-scheme.is-sunset{--color-primary:var(--studio-red-50);--color-primary-rgb:var(--studio-red-50-rgb);--color-primary-dark:var(--studio-red-70);--color-primary-dark-rgb:var(--studio-red-70-rgb);--color-primary-light:var(--studio-red-30);--color-primary-light-rgb:var(--studio-red-30-rgb);--color-primary-0:var(--studio-red-0);--color-primary-0-rgb:var(--studio-red-0-rgb);--color-primary-5:var(--studio-red-5);--color-primary-5-rgb:var(--studio-red-5-rgb);--color-primary-10:var(--studio-red-10);--color-primary-10-rgb:var(--studio-red-10-rgb);--color-primary-20:var(--studio-red-20);--color-primary-20-rgb:var(--studio-red-20-rgb);--color-primary-30:var(--studio-red-30);--color-primary-30-rgb:var(--studio-red-30-rgb);--color-primary-40:var(--studio-red-40);--color-primary-40-rgb:var(--studio-red-40-rgb);--color-primary-50:var(--studio-red-50);--color-primary-50-rgb:var(--studio-red-50-rgb);--color-primary-60:var(--studio-red-60);--color-primary-60-rgb:var(--studio-red-60-rgb);--color-primary-70:var(--studio-red-70);--color-primary-70-rgb:var(--studio-red-70-rgb);--color-primary-80:var(--studio-red-80);--color-primary-80-rgb:var(--studio-red-80-rgb);--color-primary-90:var(--studio-red-90);--color-primary-90-rgb:var(--studio-red-90-rgb);--color-primary-100:var(--studio-red-100);--color-primary-100-rgb:var(--studio-red-100-rgb);--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-link:var(--studio-orange-50);--color-link-rgb:var(--studio-orange-50-rgb);--color-link-dark:var(--studio-orange-70);--color-link-dark-rgb:var(--studio-orange-70-rgb);--color-link-light:var(--studio-orange-30);--color-link-light-rgb:var(--studio-orange-30-rgb);--color-link-0:var(--studio-orange-0);--color-link-0-rgb:var(--studio-orange-0-rgb);--color-link-5:var(--studio-orange-5);--color-link-5-rgb:var(--studio-orange-5-rgb);--color-link-10:var(--studio-orange-10);--color-link-10-rgb:var(--studio-orange-10-rgb);--color-link-20:var(--studio-orange-20);--color-link-20-rgb:var(--studio-orange-20-rgb);--color-link-30:var(--studio-orange-30);--color-link-30-rgb:var(--studio-orange-30-rgb);--color-link-40:var(--studio-orange-40);--color-link-40-rgb:var(--studio-orange-40-rgb);--color-link-50:var(--studio-orange-50);--color-link-50-rgb:var(--studio-orange-50-rgb);--color-link-60:var(--studio-orange-60);--color-link-60-rgb:var(--studio-orange-60-rgb);--color-link-70:var(--studio-orange-70);--color-link-70-rgb:var(--studio-orange-70-rgb);--color-link-80:var(--studio-orange-80);--color-link-80-rgb:var(--studio-orange-80-rgb);--color-link-90:var(--studio-orange-90);--color-link-90-rgb:var(--studio-orange-90-rgb);--color-link-100:var(--studio-orange-100);--color-link-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--studio-red-80);--color-masterbar-border:var(--studio-red-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-red-90);--color-masterbar-item-active-background:var(--studio-red-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-red-70);--color-sidebar-background-rgb:var(--studio-red-70-rgb);--color-sidebar-border:var(--studio-red-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-red-10);--color-sidebar-gridicon-fill:var(--studio-red-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-yellow-80);--color-sidebar-menu-selected-text-rgb:var(--studio-yellow-80-rgb);--color-sidebar-menu-hover-background:var(--studio-red-80);--color-sidebar-menu-hover-background-rgb:var(--studio-red-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-jetpack-cloud,.theme-jetpack-cloud{--color-primary:var(--studio-jetpack-green);--color-primary-rgb:var(--studio-jetpack-green-rgb);--color-primary-dark:var(--studio-jetpack-green-70);--color-primary-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-light:var(--studio-jetpack-green-30);--color-primary-light-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-0:var(--studio-jetpack-green-0);--color-primary-0-rgb:var(--studio-jetpack-green-0-rgb);--color-primary-5:var(--studio-jetpack-green-5);--color-primary-5-rgb:var(--studio-jetpack-green-5-rgb);--color-primary-10:var(--studio-jetpack-green-10);--color-primary-10-rgb:var(--studio-jetpack-green-10-rgb);--color-primary-20:var(--studio-jetpack-green-20);--color-primary-20-rgb:var(--studio-jetpack-green-20-rgb);--color-primary-30:var(--studio-jetpack-green-30);--color-primary-30-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-40:var(--studio-jetpack-green-40);--color-primary-40-rgb:var(--studio-jetpack-green-40-rgb);--color-primary-50:var(--studio-jetpack-green-50);--color-primary-50-rgb:var(--studio-jetpack-green-50-rgb);--color-primary-60:var(--studio-jetpack-green-60);--color-primary-60-rgb:var(--studio-jetpack-green-60-rgb);--color-primary-70:var(--studio-jetpack-green-70);--color-primary-70-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-80:var(--studio-jetpack-green-80);--color-primary-80-rgb:var(--studio-jetpack-green-80-rgb);--color-primary-90:var(--studio-jetpack-green-90);--color-primary-90-rgb:var(--studio-jetpack-green-90-rgb);--color-primary-100:var(--studio-jetpack-green-100);--color-primary-100-rgb:var(--studio-jetpack-green-100-rgb);--color-accent:var(--studio-jetpack-green);--color-accent-rgb:var(--studio-jetpack-green-rgb);--color-accent-dark:var(--studio-jetpack-green-70);--color-accent-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-light:var(--studio-jetpack-green-30);--color-accent-light-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-0:var(--studio-jetpack-green-0);--color-accent-0-rgb:var(--studio-jetpack-green-0-rgb);--color-accent-5:var(--studio-jetpack-green-5);--color-accent-5-rgb:var(--studio-jetpack-green-5-rgb);--color-accent-10:var(--studio-jetpack-green-10);--color-accent-10-rgb:var(--studio-jetpack-green-10-rgb);--color-accent-20:var(--studio-jetpack-green-20);--color-accent-20-rgb:var(--studio-jetpack-green-20-rgb);--color-accent-30:var(--studio-jetpack-green-30);--color-accent-30-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-40:var(--studio-jetpack-green-40);--color-accent-40-rgb:var(--studio-jetpack-green-40-rgb);--color-accent-50:var(--studio-jetpack-green-50);--color-accent-50-rgb:var(--studio-jetpack-green-50-rgb);--color-accent-60:var(--studio-jetpack-green-60);--color-accent-60-rgb:var(--studio-jetpack-green-60-rgb);--color-accent-70:var(--studio-jetpack-green-70);--color-accent-70-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-80:var(--studio-jetpack-green-80);--color-accent-80-rgb:var(--studio-jetpack-green-80-rgb);--color-accent-90:var(--studio-jetpack-green-90);--color-accent-90-rgb:var(--studio-jetpack-green-90-rgb);--color-accent-100:var(--studio-jetpack-green-100);--color-accent-100-rgb:var(--studio-jetpack-green-100-rgb);--color-link:var(--studio-jetpack-green-40);--color-link-rgb:var(--studio-jetpack-green-40-rgb);--color-link-dark:var(--studio-jetpack-green-60);--color-link-dark-rgb:var(--studio-jetpack-green-60-rgb);--color-link-light:var(--studio-jetpack-green-20);--color-link-light-rgb:var(--studio-jetpack-green-20-rgb);--color-link-0:var(--studio-jetpack-green-0);--color-link-0-rgb:var(--studio-jetpack-green-0-rgb);--color-link-5:var(--studio-jetpack-green-5);--color-link-5-rgb:var(--studio-jetpack-green-5-rgb);--color-link-10:var(--studio-jetpack-green-10);--color-link-10-rgb:var(--studio-jetpack-green-10-rgb);--color-link-20:var(--studio-jetpack-green-20);--color-link-20-rgb:var(--studio-jetpack-green-20-rgb);--color-link-30:var(--studio-jetpack-green-30);--color-link-30-rgb:var(--studio-jetpack-green-30-rgb);--color-link-40:var(--studio-jetpack-green-40);--color-link-40-rgb:var(--studio-jetpack-green-40-rgb);--color-link-50:var(--studio-jetpack-green-50);--color-link-50-rgb:var(--studio-jetpack-green-50-rgb);--color-link-60:var(--studio-jetpack-green-60);--color-link-60-rgb:var(--studio-jetpack-green-60-rgb);--color-link-70:var(--studio-jetpack-green-70);--color-link-70-rgb:var(--studio-jetpack-green-70-rgb);--color-link-80:var(--studio-jetpack-green-80);--color-link-80-rgb:var(--studio-jetpack-green-80-rgb);--color-link-90:var(--studio-jetpack-green-90);--color-link-90-rgb:var(--studio-jetpack-green-90-rgb);--color-link-100:var(--studio-jetpack-green-100);--color-link-100-rgb:var(--studio-jetpack-green-100-rgb);--color-masterbar-background:var(--studio-white);--color-masterbar-border:var(--studio-gray-5);--color-masterbar-text:var(--studio-gray-50);--color-masterbar-item-hover-background:var(--studio-white);--color-masterbar-item-active-background:var(--studio-white);--color-masterbar-item-new-editor-background:var(--studio-white);--color-masterbar-item-new-editor-hover-background:var(--studio-white);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-white);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-60);--color-sidebar-text-rgb:var(--studio-gray-60-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-60);--color-sidebar-menu-selected-text:var(--studio-jetpack-green-50);--color-sidebar-menu-selected-text-rgb:var(--studio-jetpack-green-50-rgb);--color-sidebar-menu-selected-background:var(--studio-jetpack-green-5);--color-sidebar-menu-selected-background-rgb:var(--studio-jetpack-green-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-scary-0:var(--studio-red-0);--color-scary-5:var(--studio-red-5);--color-scary-40:var(--studio-red-40);--color-scary-50:var(--studio-red-50);--color-scary-60:var(--studio-red-60)}@media (max-width:480px){.domain-categories{margin-bottom:20px}.domain-categories .domain-categories__dropdown-button.components-button{display:block;margin-bottom:0}.domain-categories .domain-categories__item-group{display:none}.domain-categories.is-open .domain-categories__item-group{display:block}}.domain-categories__dropdown-button.components-button{width:100%;text-align:center;margin-bottom:8px;height:40px;border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);display:none}.domain-categories__dropdown-button.components-button>*{vertical-align:middle}.domain-categories__dropdown-button.components-button svg{margin-left:5px}@media (max-width:480px){.domain-categories__item-group{text-align:center;border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);margin-top:-1px}}.domain-categories__item .components-button{color:#101517;color:var(--studio-gray-100);width:100%;text-align:left}.domain-categories__item .components-button:focus,.domain-categories__item .components-button:hover{color:#101517;color:var(--studio-gray-100);box-shadow:none;font-weight:600;text-decoration:underline}.domain-categories__item.is-selected .components-button{font-weight:600;text-decoration:underline}@media (max-width:480px){.domain-categories__item .components-button{display:block;text-align:center}}html:not(.accessible-focus) .domain-categories__item .components-button:focus{box-shadow:none}
|
1 |
+
:root{--studio-white:#fff;--studio-black:#000;--studio-gray-0:#f6f7f7;--studio-gray-5:#dcdcde;--studio-gray-10:#c3c4c7;--studio-gray-20:#a7aaad;--studio-gray-30:#8c8f94;--studio-gray-40:#787c82;--studio-gray-50:#646970;--studio-gray-60:#50575e;--studio-gray-70:#3c434a;--studio-gray-80:#2c3338;--studio-gray-90:#1d2327;--studio-gray-100:#101517;--studio-gray:#646970;--studio-blue-0:#e9eff5;--studio-blue-5:#c5d9ed;--studio-blue-10:#9ec2e6;--studio-blue-20:#72aee6;--studio-blue-30:#5198d9;--studio-blue-40:#3582c4;--studio-blue-50:#2271b1;--studio-blue-60:#135e96;--studio-blue-70:#0a4b78;--studio-blue-80:#043959;--studio-blue-90:#01263a;--studio-blue-100:#00131c;--studio-blue:#2271b1;--studio-purple-0:#f2e9ed;--studio-purple-5:#ebcee0;--studio-purple-10:#e3afd5;--studio-purple-20:#d48fc8;--studio-purple-30:#c475bd;--studio-purple-40:#b35eb1;--studio-purple-50:#984a9c;--studio-purple-60:#7c3982;--studio-purple-70:#662c6e;--studio-purple-80:#4d2054;--studio-purple-90:#35163b;--studio-purple-100:#1e0c21;--studio-purple:#984a9c;--studio-pink-0:#f5e9ed;--studio-pink-5:#f2ceda;--studio-pink-10:#f7a8c3;--studio-pink-20:#f283aa;--studio-pink-30:#eb6594;--studio-pink-40:#e34c84;--studio-pink-50:#c9356e;--studio-pink-60:#ab235a;--studio-pink-70:#8c1749;--studio-pink-80:#700f3b;--studio-pink-90:#4f092a;--studio-pink-100:#260415;--studio-pink:#c9356e;--studio-red-0:#f7ebec;--studio-red-5:#facfd2;--studio-red-10:#ffabaf;--studio-red-20:#ff8085;--studio-red-30:#f86368;--studio-red-40:#e65054;--studio-red-50:#d63638;--studio-red-60:#b32d2e;--studio-red-70:#8a2424;--studio-red-80:#691c1c;--studio-red-90:#451313;--studio-red-100:#240a0a;--studio-red:#d63638;--studio-orange-0:#f5ece6;--studio-orange-5:#f7dcc6;--studio-orange-10:#ffbf86;--studio-orange-20:#faa754;--studio-orange-30:#e68b28;--studio-orange-40:#d67709;--studio-orange-50:#b26200;--studio-orange-60:#8a4d00;--studio-orange-70:#704000;--studio-orange-80:#543100;--studio-orange-90:#361f00;--studio-orange-100:#1f1200;--studio-orange:#b26200;--studio-yellow-0:#f5f1e1;--studio-yellow-5:#f5e6b3;--studio-yellow-10:#f2d76b;--studio-yellow-20:#f0c930;--studio-yellow-30:#deb100;--studio-yellow-40:#c08c00;--studio-yellow-50:#9d6e00;--studio-yellow-60:#7d5600;--studio-yellow-70:#674600;--studio-yellow-80:#4f3500;--studio-yellow-90:#320;--studio-yellow-100:#1c1300;--studio-yellow:#9d6e00;--studio-green-0:#e6f2e8;--studio-green-5:#b8e6bf;--studio-green-10:#68de86;--studio-green-20:#1ed15a;--studio-green-30:#00ba37;--studio-green-40:#00a32a;--studio-green-50:#008a20;--studio-green-60:#007017;--studio-green-70:#005c12;--studio-green-80:#00450c;--studio-green-90:#003008;--studio-green-100:#001c05;--studio-green:#008a20;--studio-celadon-0:#e4f2ed;--studio-celadon-5:#a7e8d4;--studio-celadon-10:#63d6b6;--studio-celadon-20:#2ebd99;--studio-celadon-30:#09a884;--studio-celadon-40:#009172;--studio-celadon-50:#007e65;--studio-celadon-60:#006753;--studio-celadon-70:#005042;--studio-celadon-80:#003b30;--studio-celadon-90:#002721;--studio-celadon-100:#001c17;--studio-celadon:#007e65;--studio-wordpress-blue-0:#e6f1f5;--studio-wordpress-blue-5:#bedae6;--studio-wordpress-blue-10:#98c6d9;--studio-wordpress-blue-20:#6ab3d0;--studio-wordpress-blue-30:#3895ba;--studio-wordpress-blue-40:#187aa2;--studio-wordpress-blue-50:#006088;--studio-wordpress-blue-60:#004e6e;--studio-wordpress-blue-70:#003c56;--studio-wordpress-blue-80:#002c40;--studio-wordpress-blue-90:#001d2d;--studio-wordpress-blue-100:#00101c;--studio-wordpress-blue:#006088;--studio-simplenote-blue-0:#e9ecf5;--studio-simplenote-blue-5:#ced9f2;--studio-simplenote-blue-10:#abc1f5;--studio-simplenote-blue-20:#84a4f0;--studio-simplenote-blue-30:#618df2;--studio-simplenote-blue-40:#4678eb;--studio-simplenote-blue-50:#3361cc;--studio-simplenote-blue-60:#1d4fc4;--studio-simplenote-blue-70:#113ead;--studio-simplenote-blue-80:#0d2f85;--studio-simplenote-blue-90:#09205c;--studio-simplenote-blue-100:#05102e;--studio-simplenote-blue:#3361cc;--studio-woocommerce-purple-0:#f7edf7;--studio-woocommerce-purple-5:#e5cfe8;--studio-woocommerce-purple-10:#d6b4e0;--studio-woocommerce-purple-20:#c792e0;--studio-woocommerce-purple-30:#af7dd1;--studio-woocommerce-purple-40:#9a69c7;--studio-woocommerce-purple-50:#7f54b3;--studio-woocommerce-purple-60:#674399;--studio-woocommerce-purple-70:#533582;--studio-woocommerce-purple-80:#3c2861;--studio-woocommerce-purple-90:#271b3d;--studio-woocommerce-purple-100:#140e1f;--studio-woocommerce-purple:#7f54b3;--studio-jetpack-green-0:#f0f2eb;--studio-jetpack-green-5:#d0e6b8;--studio-jetpack-green-10:#9dd977;--studio-jetpack-green-20:#64ca43;--studio-jetpack-green-30:#2fb41f;--studio-jetpack-green-40:#069e08;--studio-jetpack-green-50:#008710;--studio-jetpack-green-60:#007117;--studio-jetpack-green-70:#005b18;--studio-jetpack-green-80:#004515;--studio-jetpack-green-90:#003010;--studio-jetpack-green-100:#001c09;--studio-jetpack-green:#2fb41f;--studio-white-rgb:255,255,255;--studio-black-rgb:0,0,0;--studio-gray-0-rgb:246,247,247;--studio-gray-5-rgb:220,220,222;--studio-gray-10-rgb:195,196,199;--studio-gray-20-rgb:167,170,173;--studio-gray-30-rgb:140,143,148;--studio-gray-40-rgb:120,124,130;--studio-gray-50-rgb:100,105,112;--studio-gray-60-rgb:80,87,94;--studio-gray-70-rgb:60,67,74;--studio-gray-80-rgb:44,51,56;--studio-gray-90-rgb:29,35,39;--studio-gray-100-rgb:16,21,23;--studio-gray-rgb:100,105,112;--studio-blue-0-rgb:233,239,245;--studio-blue-5-rgb:197,217,237;--studio-blue-10-rgb:158,194,230;--studio-blue-20-rgb:114,174,230;--studio-blue-30-rgb:81,152,217;--studio-blue-40-rgb:53,130,196;--studio-blue-50-rgb:34,113,177;--studio-blue-60-rgb:19,94,150;--studio-blue-70-rgb:10,75,120;--studio-blue-80-rgb:4,57,89;--studio-blue-90-rgb:1,38,58;--studio-blue-100-rgb:0,19,28;--studio-blue-rgb:34,113,177;--studio-purple-0-rgb:242,233,237;--studio-purple-5-rgb:235,206,224;--studio-purple-10-rgb:227,175,213;--studio-purple-20-rgb:212,143,200;--studio-purple-30-rgb:196,117,189;--studio-purple-40-rgb:179,94,177;--studio-purple-50-rgb:152,74,156;--studio-purple-60-rgb:124,57,130;--studio-purple-70-rgb:102,44,110;--studio-purple-80-rgb:77,32,84;--studio-purple-90-rgb:53,22,59;--studio-purple-100-rgb:30,12,33;--studio-purple-rgb:152,74,156;--studio-pink-0-rgb:245,233,237;--studio-pink-5-rgb:242,206,218;--studio-pink-10-rgb:247,168,195;--studio-pink-20-rgb:242,131,170;--studio-pink-30-rgb:235,101,148;--studio-pink-40-rgb:227,76,132;--studio-pink-50-rgb:201,53,110;--studio-pink-60-rgb:171,35,90;--studio-pink-70-rgb:140,23,73;--studio-pink-80-rgb:112,15,59;--studio-pink-90-rgb:79,9,42;--studio-pink-100-rgb:38,4,21;--studio-pink-rgb:201,53,110;--studio-red-0-rgb:247,235,236;--studio-red-5-rgb:250,207,210;--studio-red-10-rgb:255,171,175;--studio-red-20-rgb:255,128,133;--studio-red-30-rgb:248,99,104;--studio-red-40-rgb:230,80,84;--studio-red-50-rgb:214,54,56;--studio-red-60-rgb:179,45,46;--studio-red-70-rgb:138,36,36;--studio-red-80-rgb:105,28,28;--studio-red-90-rgb:69,19,19;--studio-red-100-rgb:36,10,10;--studio-red-rgb:214,54,56;--studio-orange-0-rgb:245,236,230;--studio-orange-5-rgb:247,220,198;--studio-orange-10-rgb:255,191,134;--studio-orange-20-rgb:250,167,84;--studio-orange-30-rgb:230,139,40;--studio-orange-40-rgb:214,119,9;--studio-orange-50-rgb:178,98,0;--studio-orange-60-rgb:138,77,0;--studio-orange-70-rgb:112,64,0;--studio-orange-80-rgb:84,49,0;--studio-orange-90-rgb:54,31,0;--studio-orange-100-rgb:31,18,0;--studio-orange-rgb:178,98,0;--studio-yellow-0-rgb:245,241,225;--studio-yellow-5-rgb:245,230,179;--studio-yellow-10-rgb:242,215,107;--studio-yellow-20-rgb:240,201,48;--studio-yellow-30-rgb:222,177,0;--studio-yellow-40-rgb:192,140,0;--studio-yellow-50-rgb:157,110,0;--studio-yellow-60-rgb:125,86,0;--studio-yellow-70-rgb:103,70,0;--studio-yellow-80-rgb:79,53,0;--studio-yellow-90-rgb:51,34,0;--studio-yellow-100-rgb:28,19,0;--studio-yellow-rgb:157,110,0;--studio-green-0-rgb:230,242,232;--studio-green-5-rgb:184,230,191;--studio-green-10-rgb:104,222,134;--studio-green-20-rgb:30,209,90;--studio-green-30-rgb:0,186,55;--studio-green-40-rgb:0,163,42;--studio-green-50-rgb:0,138,32;--studio-green-60-rgb:0,112,23;--studio-green-70-rgb:0,92,18;--studio-green-80-rgb:0,69,12;--studio-green-90-rgb:0,48,8;--studio-green-100-rgb:0,28,5;--studio-green-rgb:0,138,32;--studio-celadon-0-rgb:228,242,237;--studio-celadon-5-rgb:167,232,212;--studio-celadon-10-rgb:99,214,182;--studio-celadon-20-rgb:46,189,153;--studio-celadon-30-rgb:9,168,132;--studio-celadon-40-rgb:0,145,114;--studio-celadon-50-rgb:0,126,101;--studio-celadon-60-rgb:0,103,83;--studio-celadon-70-rgb:0,80,66;--studio-celadon-80-rgb:0,59,48;--studio-celadon-90-rgb:0,39,33;--studio-celadon-100-rgb:0,28,23;--studio-celadon-rgb:0,126,101;--studio-wordpress-blue-0-rgb:230,241,245;--studio-wordpress-blue-5-rgb:190,218,230;--studio-wordpress-blue-10-rgb:152,198,217;--studio-wordpress-blue-20-rgb:106,179,208;--studio-wordpress-blue-30-rgb:56,149,186;--studio-wordpress-blue-40-rgb:24,122,162;--studio-wordpress-blue-50-rgb:0,96,136;--studio-wordpress-blue-60-rgb:0,78,110;--studio-wordpress-blue-70-rgb:0,60,86;--studio-wordpress-blue-80-rgb:0,44,64;--studio-wordpress-blue-90-rgb:0,29,45;--studio-wordpress-blue-100-rgb:0,16,28;--studio-wordpress-blue-rgb:0,96,136;--studio-simplenote-blue-0-rgb:233,236,245;--studio-simplenote-blue-5-rgb:206,217,242;--studio-simplenote-blue-10-rgb:171,193,245;--studio-simplenote-blue-20-rgb:132,164,240;--studio-simplenote-blue-30-rgb:97,141,242;--studio-simplenote-blue-40-rgb:70,120,235;--studio-simplenote-blue-50-rgb:51,97,204;--studio-simplenote-blue-60-rgb:29,79,196;--studio-simplenote-blue-70-rgb:17,62,173;--studio-simplenote-blue-80-rgb:13,47,133;--studio-simplenote-blue-90-rgb:9,32,92;--studio-simplenote-blue-100-rgb:5,16,46;--studio-simplenote-blue-rgb:51,97,204;--studio-woocommerce-purple-0-rgb:247,237,247;--studio-woocommerce-purple-5-rgb:229,207,232;--studio-woocommerce-purple-10-rgb:214,180,224;--studio-woocommerce-purple-20-rgb:199,146,224;--studio-woocommerce-purple-30-rgb:175,125,209;--studio-woocommerce-purple-40-rgb:154,105,199;--studio-woocommerce-purple-50-rgb:127,84,179;--studio-woocommerce-purple-60-rgb:103,67,153;--studio-woocommerce-purple-70-rgb:83,53,130;--studio-woocommerce-purple-80-rgb:60,40,97;--studio-woocommerce-purple-90-rgb:39,27,61;--studio-woocommerce-purple-100-rgb:20,14,31;--studio-woocommerce-purple-rgb:127,84,179;--studio-jetpack-green-0-rgb:240,242,235;--studio-jetpack-green-5-rgb:208,230,184;--studio-jetpack-green-10-rgb:157,217,119;--studio-jetpack-green-20-rgb:100,202,67;--studio-jetpack-green-30-rgb:47,180,31;--studio-jetpack-green-40-rgb:6,158,8;--studio-jetpack-green-50-rgb:0,135,16;--studio-jetpack-green-60-rgb:0,113,23;--studio-jetpack-green-70-rgb:0,91,24;--studio-jetpack-green-80-rgb:0,69,21;--studio-jetpack-green-90-rgb:0,48,16;--studio-jetpack-green-100-rgb:0,28,9;--studio-jetpack-green-rgb:47,180,31;--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-pink-50);--color-accent-rgb:var(--studio-pink-50-rgb);--color-accent-dark:var(--studio-pink-70);--color-accent-dark-rgb:var(--studio-pink-70-rgb);--color-accent-light:var(--studio-pink-30);--color-accent-light-rgb:var(--studio-pink-30-rgb);--color-accent-0:var(--studio-pink-0);--color-accent-0-rgb:var(--studio-pink-0-rgb);--color-accent-5:var(--studio-pink-5);--color-accent-5-rgb:var(--studio-pink-5-rgb);--color-accent-10:var(--studio-pink-10);--color-accent-10-rgb:var(--studio-pink-10-rgb);--color-accent-20:var(--studio-pink-20);--color-accent-20-rgb:var(--studio-pink-20-rgb);--color-accent-30:var(--studio-pink-30);--color-accent-30-rgb:var(--studio-pink-30-rgb);--color-accent-40:var(--studio-pink-40);--color-accent-40-rgb:var(--studio-pink-40-rgb);--color-accent-50:var(--studio-pink-50);--color-accent-50-rgb:var(--studio-pink-50-rgb);--color-accent-60:var(--studio-pink-60);--color-accent-60-rgb:var(--studio-pink-60-rgb);--color-accent-70:var(--studio-pink-70);--color-accent-70-rgb:var(--studio-pink-70-rgb);--color-accent-80:var(--studio-pink-80);--color-accent-80-rgb:var(--studio-pink-80-rgb);--color-accent-90:var(--studio-pink-90);--color-accent-90-rgb:var(--studio-pink-90-rgb);--color-accent-100:var(--studio-pink-100);--color-accent-100-rgb:var(--studio-pink-100-rgb);--color-neutral:var(--studio-gray-50);--color-neutral-rgb:var(--studio-gray-50-rgb);--color-neutral-dark:var(--studio-gray-70);--color-neutral-dark-rgb:var(--studio-gray-70-rgb);--color-neutral-light:var(--studio-gray-30);--color-neutral-light-rgb:var(--studio-gray-30-rgb);--color-neutral-0:var(--studio-gray-0);--color-neutral-0-rgb:var(--studio-gray-0-rgb);--color-neutral-5:var(--studio-gray-5);--color-neutral-5-rgb:var(--studio-gray-5-rgb);--color-neutral-10:var(--studio-gray-10);--color-neutral-10-rgb:var(--studio-gray-10-rgb);--color-neutral-20:var(--studio-gray-20);--color-neutral-20-rgb:var(--studio-gray-20-rgb);--color-neutral-30:var(--studio-gray-30);--color-neutral-30-rgb:var(--studio-gray-30-rgb);--color-neutral-40:var(--studio-gray-40);--color-neutral-40-rgb:var(--studio-gray-40-rgb);--color-neutral-50:var(--studio-gray-50);--color-neutral-50-rgb:var(--studio-gray-50-rgb);--color-neutral-60:var(--studio-gray-60);--color-neutral-60-rgb:var(--studio-gray-60-rgb);--color-neutral-70:var(--studio-gray-70);--color-neutral-70-rgb:var(--studio-gray-70-rgb);--color-neutral-80:var(--studio-gray-80);--color-neutral-80-rgb:var(--studio-gray-80-rgb);--color-neutral-90:var(--studio-gray-90);--color-neutral-90-rgb:var(--studio-gray-90-rgb);--color-neutral-100:var(--studio-gray-100);--color-neutral-100-rgb:var(--studio-gray-100-rgb);--color-success:var(--studio-green-50);--color-success-rgb:var(--studio-green-50-rgb);--color-success-dark:var(--studio-green-70);--color-success-dark-rgb:var(--studio-green-70-rgb);--color-success-light:var(--studio-green-30);--color-success-light-rgb:var(--studio-green-30-rgb);--color-success-0:var(--studio-green-0);--color-success-0-rgb:var(--studio-green-0-rgb);--color-success-5:var(--studio-green-5);--color-success-5-rgb:var(--studio-green-5-rgb);--color-success-10:var(--studio-green-10);--color-success-10-rgb:var(--studio-green-10-rgb);--color-success-20:var(--studio-green-20);--color-success-20-rgb:var(--studio-green-20-rgb);--color-success-30:var(--studio-green-30);--color-success-30-rgb:var(--studio-green-30-rgb);--color-success-40:var(--studio-green-40);--color-success-40-rgb:var(--studio-green-40-rgb);--color-success-50:var(--studio-green-50);--color-success-50-rgb:var(--studio-green-50-rgb);--color-success-60:var(--studio-green-60);--color-success-60-rgb:var(--studio-green-60-rgb);--color-success-70:var(--studio-green-70);--color-success-70-rgb:var(--studio-green-70-rgb);--color-success-80:var(--studio-green-80);--color-success-80-rgb:var(--studio-green-80-rgb);--color-success-90:var(--studio-green-90);--color-success-90-rgb:var(--studio-green-90-rgb);--color-success-100:var(--studio-green-100);--color-success-100-rgb:var(--studio-green-100-rgb);--color-warning:var(--studio-yellow-50);--color-warning-rgb:var(--studio-yellow-50-rgb);--color-warning-dark:var(--studio-yellow-70);--color-warning-dark-rgb:var(--studio-yellow-70-rgb);--color-warning-light:var(--studio-yellow-30);--color-warning-light-rgb:var(--studio-yellow-30-rgb);--color-warning-0:var(--studio-yellow-0);--color-warning-0-rgb:var(--studio-yellow-0-rgb);--color-warning-5:var(--studio-yellow-5);--color-warning-5-rgb:var(--studio-yellow-5-rgb);--color-warning-10:var(--studio-yellow-10);--color-warning-10-rgb:var(--studio-yellow-10-rgb);--color-warning-20:var(--studio-yellow-20);--color-warning-20-rgb:var(--studio-yellow-20-rgb);--color-warning-30:var(--studio-yellow-30);--color-warning-30-rgb:var(--studio-yellow-30-rgb);--color-warning-40:var(--studio-yellow-40);--color-warning-40-rgb:var(--studio-yellow-40-rgb);--color-warning-50:var(--studio-yellow-50);--color-warning-50-rgb:var(--studio-yellow-50-rgb);--color-warning-60:var(--studio-yellow-60);--color-warning-60-rgb:var(--studio-yellow-60-rgb);--color-warning-70:var(--studio-yellow-70);--color-warning-70-rgb:var(--studio-yellow-70-rgb);--color-warning-80:var(--studio-yellow-80);--color-warning-80-rgb:var(--studio-yellow-80-rgb);--color-warning-90:var(--studio-yellow-90);--color-warning-90-rgb:var(--studio-yellow-90-rgb);--color-warning-100:var(--studio-yellow-100);--color-warning-100-rgb:var(--studio-yellow-100-rgb);--color-error:var(--studio-red-50);--color-error-rgb:var(--studio-red-50-rgb);--color-error-dark:var(--studio-red-70);--color-error-dark-rgb:var(--studio-red-70-rgb);--color-error-light:var(--studio-red-30);--color-error-light-rgb:var(--studio-red-30-rgb);--color-error-0:var(--studio-red-0);--color-error-0-rgb:var(--studio-red-0-rgb);--color-error-5:var(--studio-red-5);--color-error-5-rgb:var(--studio-red-5-rgb);--color-error-10:var(--studio-red-10);--color-error-10-rgb:var(--studio-red-10-rgb);--color-error-20:var(--studio-red-20);--color-error-20-rgb:var(--studio-red-20-rgb);--color-error-30:var(--studio-red-30);--color-error-30-rgb:var(--studio-red-30-rgb);--color-error-40:var(--studio-red-40);--color-error-40-rgb:var(--studio-red-40-rgb);--color-error-50:var(--studio-red-50);--color-error-50-rgb:var(--studio-red-50-rgb);--color-error-60:var(--studio-red-60);--color-error-60-rgb:var(--studio-red-60-rgb);--color-error-70:var(--studio-red-70);--color-error-70-rgb:var(--studio-red-70-rgb);--color-error-80:var(--studio-red-80);--color-error-80-rgb:var(--studio-red-80-rgb);--color-error-90:var(--studio-red-90);--color-error-90-rgb:var(--studio-red-90-rgb);--color-error-100:var(--studio-red-100);--color-error-100-rgb:var(--studio-red-100-rgb);--color-surface:var(--studio-white);--color-surface-rgb:var(--studio-white-rgb);--color-surface-backdrop:var(--studio-gray-0);--color-surface-backdrop-rgb:var(--studio-gray-0-rgb);--color-text:var(--studio-gray-80);--color-text-rgb:var(--studio-gray-80-rgb);--color-text-subtle:var(--studio-gray-50);--color-text-subtle-rgb:var(--studio-gray-50-rgb);--color-text-inverted:var(--studio-white);--color-text-inverted-rgb:var(--studio-white-rgb);--color-border:var(--color-neutral-20);--color-border-rgb:var(--color-neutral-20-rgb);--color-border-subtle:var(--color-neutral-5);--color-border-subtle-rgb:var(--color-neutral-5-rgb);--color-border-shadow:var(--color-neutral-0);--color-border-shadow-rgb:var(--color-neutral-0-rgb);--color-border-inverted:var(--studio-white);--color-border-inverted-rgb:var(--studio-white-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-plan-free:var(--studio-gray-30);--color-plan-blogger:var(--studio-celadon-30);--color-plan-personal:var(--studio-blue-30);--color-plan-premium:var(--studio-yellow-30);--color-plan-business:var(--studio-orange-30);--color-plan-ecommerce:var(--studio-purple-30);--color-jetpack-plan-free:var(--studio-blue-30);--color-jetpack-plan-personal:var(--studio-yellow-30);--color-jetpack-plan-premium:var(--studio-jetpack-green-30);--color-jetpack-plan-professional:var(--studio-purple-30);--color-masterbar-background:var(--studio-blue-60);--color-masterbar-border:var(--studio-blue-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-70);--color-masterbar-item-active-background:var(--studio-blue-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-blue-5);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-5-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-70);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-jetpack-onboarding-text:var(--studio-white);--color-jetpack-onboarding-text-rgb:var(--studio-white-rgb);--color-jetpack-onboarding-background:var(--studio-blue-100);--color-jetpack-onboarding-background-rgb:var(--studio-blue-100-rgb);--color-automattic:var(--studio-blue-40);--color-jetpack:var(--studio-jetpack-green);--color-simplenote:var(--studio-simplenote-blue);--color-woocommerce:var(--studio-woocommerce-purple);--color-wordpress-com:var(--studio-wordpress-blue);--color-wordpress-org:#585c60;--color-blogger:#ff5722;--color-eventbrite:#ff8000;--color-facebook:#39579a;--color-godaddy:#5ea95a;--color-google-plus:#df4a32;--color-instagram:#d93174;--color-linkedin:#0976b4;--color-medium:#12100e;--color-pinterest:#cc2127;--color-pocket:#ee4256;--color-print:#f8f8f8;--color-reddit:#5f99cf;--color-skype:#00aff0;--color-stumbleupon:#eb4924;--color-squarespace:#222;--color-telegram:#08c;--color-tumblr:#35465c;--color-twitter:#55acee;--color-whatsapp:#43d854;--color-wix:#faad4d;--color-email:var(--studio-gray-0);--color-podcasting:#9b4dd5;--color-wp-admin-button-background:#008ec2;--color-wp-admin-button-border:#006799}.color-scheme.is-classic-blue{--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-50)}.color-scheme.is-contrast{--color-primary:var(--studio-gray-80);--color-primary-rgb:var(--studio-gray-80-rgb);--color-primary-dark:var(--studio-gray-100);--color-primary-dark-rgb:var(--studio-gray-100-rgb);--color-primary-light:var(--studio-gray-60);--color-primary-light-rgb:var(--studio-gray-60-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-70);--color-accent-rgb:var(--studio-blue-70-rgb);--color-accent-dark:var(--studio-blue-90);--color-accent-dark-rgb:var(--studio-blue-90-rgb);--color-accent-light:var(--studio-blue-50);--color-accent-light-rgb:var(--studio-blue-50-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-surface-backdrop:var(--studio-white);--color-surface-backdrop-rgb:var(--studio-white-rgb);--color-text:var(--studio-gray-100);--color-text-rgb:var(--studio-gray-100-rgb);--color-text-subtle:var(--studio-gray-70);--color-text-subtle-rgb:var(--studio-gray-70-rgb);--color-link:var(--studio-blue-70);--color-link-rgb:var(--studio-blue-70-rgb);--color-link-dark:var(--studio-blue-100);--color-link-dark-rgb:var(--studio-blue-100-rgb);--color-link-light:var(--studio-blue-50);--color-link-light-rgb:var(--studio-blue-50-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-60);--color-masterbar-item-new-editor-background:var(--studio-gray-70);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-90);--color-masterbar-unread-dot-background:var(--studio-yellow-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-90);--color-sidebar-text-rgb:var(--studio-gray-90-rgb);--color-sidebar-text-alternative:var(--studio-gray-90);--color-sidebar-gridicon-fill:var(--studio-gray-90);--color-sidebar-menu-selected-background:var(--studio-gray-100);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-60);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-midnight{--color-primary:var(--studio-gray-70);--color-primary-rgb:var(--studio-gray-70-rgb);--color-primary-dark:var(--studio-gray-80);--color-primary-dark-rgb:var(--studio-gray-80-rgb);--color-primary-light:var(--studio-gray-50);--color-primary-light-rgb:var(--studio-gray-50-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-red-60);--color-link-rgb:var(--studio-red-60-rgb);--color-link-dark:var(--studio-red-70);--color-link-dark-rgb:var(--studio-red-70-rgb);--color-link-light:var(--studio-red-30);--color-link-light-rgb:var(--studio-red-30-rgb);--color-link-0:var(--studio-red-0);--color-link-0-rgb:var(--studio-red-0-rgb);--color-link-5:var(--studio-red-5);--color-link-5-rgb:var(--studio-red-5-rgb);--color-link-10:var(--studio-red-10);--color-link-10-rgb:var(--studio-red-10-rgb);--color-link-20:var(--studio-red-20);--color-link-20-rgb:var(--studio-red-20-rgb);--color-link-30:var(--studio-red-30);--color-link-30-rgb:var(--studio-red-30-rgb);--color-link-40:var(--studio-red-40);--color-link-40-rgb:var(--studio-red-40-rgb);--color-link-50:var(--studio-red-50);--color-link-50-rgb:var(--studio-red-50-rgb);--color-link-60:var(--studio-red-60);--color-link-60-rgb:var(--studio-red-60-rgb);--color-link-70:var(--studio-red-70);--color-link-70-rgb:var(--studio-red-70-rgb);--color-link-80:var(--studio-red-80);--color-link-80-rgb:var(--studio-red-80-rgb);--color-link-90:var(--studio-red-90);--color-link-90-rgb:var(--studio-red-90-rgb);--color-link-100:var(--studio-red-100);--color-link-100-rgb:var(--studio-red-100-rgb);--color-masterbar-background:var(--studio-gray-70);--color-masterbar-border:var(--studio-gray-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-90);--color-sidebar-background-rgb:var(--studio-gray-90-rgb);--color-sidebar-border:var(--studio-gray-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-gray-20);--color-sidebar-gridicon-fill:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-red-50);--color-sidebar-menu-selected-background-rgb:var(--studio-red-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-80);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-nightfall{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-blue-100);--color-masterbar-border:var(--studio-blue-100);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-80);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-80);--color-sidebar-background-rgb:var(--studio-blue-80-rgb);--color-sidebar-border:var(--studio-blue-90);--color-sidebar-text:var(--studio-blue-5);--color-sidebar-text-rgb:var(--studio-blue-5-rgb);--color-sidebar-text-alternative:var(--studio-blue-20);--color-sidebar-gridicon-fill:var(--studio-blue-10);--color-sidebar-menu-selected-background:var(--studio-blue-100);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-70);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-ocean{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-celadon-50);--color-accent-rgb:var(--studio-celadon-50-rgb);--color-accent-dark:var(--studio-celadon-70);--color-accent-dark-rgb:var(--studio-celadon-70-rgb);--color-accent-light:var(--studio-celadon-30);--color-accent-light-rgb:var(--studio-celadon-30-rgb);--color-accent-0:var(--studio-celadon-0);--color-accent-0-rgb:var(--studio-celadon-0-rgb);--color-accent-5:var(--studio-celadon-5);--color-accent-5-rgb:var(--studio-celadon-5-rgb);--color-accent-10:var(--studio-celadon-10);--color-accent-10-rgb:var(--studio-celadon-10-rgb);--color-accent-20:var(--studio-celadon-20);--color-accent-20-rgb:var(--studio-celadon-20-rgb);--color-accent-30:var(--studio-celadon-30);--color-accent-30-rgb:var(--studio-celadon-30-rgb);--color-accent-40:var(--studio-celadon-40);--color-accent-40-rgb:var(--studio-celadon-40-rgb);--color-accent-50:var(--studio-celadon-50);--color-accent-50-rgb:var(--studio-celadon-50-rgb);--color-accent-60:var(--studio-celadon-60);--color-accent-60-rgb:var(--studio-celadon-60-rgb);--color-accent-70:var(--studio-celadon-70);--color-accent-70-rgb:var(--studio-celadon-70-rgb);--color-accent-80:var(--studio-celadon-80);--color-accent-80-rgb:var(--studio-celadon-80-rgb);--color-accent-90:var(--studio-celadon-90);--color-accent-90-rgb:var(--studio-celadon-90-rgb);--color-accent-100:var(--studio-celadon-100);--color-accent-100-rgb:var(--studio-celadon-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-blue-80);--color-masterbar-border:var(--studio-blue-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-60);--color-sidebar-background-rgb:var(--studio-blue-60-rgb);--color-sidebar-border:var(--studio-blue-70);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-blue-5);--color-sidebar-gridicon-fill:var(--studio-blue-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-90);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-90-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-50);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-powder-snow{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-70);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-60)}.color-scheme.is-sakura{--color-primary:var(--studio-celadon-50);--color-primary-rgb:var(--studio-celadon-50-rgb);--color-primary-dark:var(--studio-celadon-70);--color-primary-dark-rgb:var(--studio-celadon-70-rgb);--color-primary-light:var(--studio-celadon-30);--color-primary-light-rgb:var(--studio-celadon-30-rgb);--color-primary-0:var(--studio-celadon-0);--color-primary-0-rgb:var(--studio-celadon-0-rgb);--color-primary-5:var(--studio-celadon-5);--color-primary-5-rgb:var(--studio-celadon-5-rgb);--color-primary-10:var(--studio-celadon-10);--color-primary-10-rgb:var(--studio-celadon-10-rgb);--color-primary-20:var(--studio-celadon-20);--color-primary-20-rgb:var(--studio-celadon-20-rgb);--color-primary-30:var(--studio-celadon-30);--color-primary-30-rgb:var(--studio-celadon-30-rgb);--color-primary-40:var(--studio-celadon-40);--color-primary-40-rgb:var(--studio-celadon-40-rgb);--color-primary-50:var(--studio-celadon-50);--color-primary-50-rgb:var(--studio-celadon-50-rgb);--color-primary-60:var(--studio-celadon-60);--color-primary-60-rgb:var(--studio-celadon-60-rgb);--color-primary-70:var(--studio-celadon-70);--color-primary-70-rgb:var(--studio-celadon-70-rgb);--color-primary-80:var(--studio-celadon-80);--color-primary-80-rgb:var(--studio-celadon-80-rgb);--color-primary-90:var(--studio-celadon-90);--color-primary-90-rgb:var(--studio-celadon-90-rgb);--color-primary-100:var(--studio-celadon-100);--color-primary-100-rgb:var(--studio-celadon-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-celadon-70);--color-masterbar-border:var(--studio-celadon-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-celadon-80);--color-masterbar-item-active-background:var(--studio-celadon-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-pink-5);--color-sidebar-background-rgb:var(--studio-pink-5-rgb);--color-sidebar-border:var(--studio-pink-10);--color-sidebar-text:var(--studio-pink-80);--color-sidebar-text-rgb:var(--studio-pink-80-rgb);--color-sidebar-text-alternative:var(--studio-pink-60);--color-sidebar-gridicon-fill:var(--studio-pink-70);--color-sidebar-menu-selected-background:var(--studio-blue-50);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-pink-10);--color-sidebar-menu-hover-background-rgb:var(--studio-pink-10-rgb);--color-sidebar-menu-hover-text:var(--studio-pink-90)}.color-scheme.is-sunset{--color-primary:var(--studio-red-50);--color-primary-rgb:var(--studio-red-50-rgb);--color-primary-dark:var(--studio-red-70);--color-primary-dark-rgb:var(--studio-red-70-rgb);--color-primary-light:var(--studio-red-30);--color-primary-light-rgb:var(--studio-red-30-rgb);--color-primary-0:var(--studio-red-0);--color-primary-0-rgb:var(--studio-red-0-rgb);--color-primary-5:var(--studio-red-5);--color-primary-5-rgb:var(--studio-red-5-rgb);--color-primary-10:var(--studio-red-10);--color-primary-10-rgb:var(--studio-red-10-rgb);--color-primary-20:var(--studio-red-20);--color-primary-20-rgb:var(--studio-red-20-rgb);--color-primary-30:var(--studio-red-30);--color-primary-30-rgb:var(--studio-red-30-rgb);--color-primary-40:var(--studio-red-40);--color-primary-40-rgb:var(--studio-red-40-rgb);--color-primary-50:var(--studio-red-50);--color-primary-50-rgb:var(--studio-red-50-rgb);--color-primary-60:var(--studio-red-60);--color-primary-60-rgb:var(--studio-red-60-rgb);--color-primary-70:var(--studio-red-70);--color-primary-70-rgb:var(--studio-red-70-rgb);--color-primary-80:var(--studio-red-80);--color-primary-80-rgb:var(--studio-red-80-rgb);--color-primary-90:var(--studio-red-90);--color-primary-90-rgb:var(--studio-red-90-rgb);--color-primary-100:var(--studio-red-100);--color-primary-100-rgb:var(--studio-red-100-rgb);--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-link:var(--studio-orange-50);--color-link-rgb:var(--studio-orange-50-rgb);--color-link-dark:var(--studio-orange-70);--color-link-dark-rgb:var(--studio-orange-70-rgb);--color-link-light:var(--studio-orange-30);--color-link-light-rgb:var(--studio-orange-30-rgb);--color-link-0:var(--studio-orange-0);--color-link-0-rgb:var(--studio-orange-0-rgb);--color-link-5:var(--studio-orange-5);--color-link-5-rgb:var(--studio-orange-5-rgb);--color-link-10:var(--studio-orange-10);--color-link-10-rgb:var(--studio-orange-10-rgb);--color-link-20:var(--studio-orange-20);--color-link-20-rgb:var(--studio-orange-20-rgb);--color-link-30:var(--studio-orange-30);--color-link-30-rgb:var(--studio-orange-30-rgb);--color-link-40:var(--studio-orange-40);--color-link-40-rgb:var(--studio-orange-40-rgb);--color-link-50:var(--studio-orange-50);--color-link-50-rgb:var(--studio-orange-50-rgb);--color-link-60:var(--studio-orange-60);--color-link-60-rgb:var(--studio-orange-60-rgb);--color-link-70:var(--studio-orange-70);--color-link-70-rgb:var(--studio-orange-70-rgb);--color-link-80:var(--studio-orange-80);--color-link-80-rgb:var(--studio-orange-80-rgb);--color-link-90:var(--studio-orange-90);--color-link-90-rgb:var(--studio-orange-90-rgb);--color-link-100:var(--studio-orange-100);--color-link-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--studio-red-80);--color-masterbar-border:var(--studio-red-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-red-90);--color-masterbar-item-active-background:var(--studio-red-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-red-70);--color-sidebar-background-rgb:var(--studio-red-70-rgb);--color-sidebar-border:var(--studio-red-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-red-10);--color-sidebar-gridicon-fill:var(--studio-red-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-yellow-80);--color-sidebar-menu-selected-text-rgb:var(--studio-yellow-80-rgb);--color-sidebar-menu-hover-background:var(--studio-red-80);--color-sidebar-menu-hover-background-rgb:var(--studio-red-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-jetpack-cloud,.theme-jetpack-cloud{--color-primary:var(--studio-jetpack-green);--color-primary-rgb:var(--studio-jetpack-green-rgb);--color-primary-dark:var(--studio-jetpack-green-70);--color-primary-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-light:var(--studio-jetpack-green-30);--color-primary-light-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-0:var(--studio-jetpack-green-0);--color-primary-0-rgb:var(--studio-jetpack-green-0-rgb);--color-primary-5:var(--studio-jetpack-green-5);--color-primary-5-rgb:var(--studio-jetpack-green-5-rgb);--color-primary-10:var(--studio-jetpack-green-10);--color-primary-10-rgb:var(--studio-jetpack-green-10-rgb);--color-primary-20:var(--studio-jetpack-green-20);--color-primary-20-rgb:var(--studio-jetpack-green-20-rgb);--color-primary-30:var(--studio-jetpack-green-30);--color-primary-30-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-40:var(--studio-jetpack-green-40);--color-primary-40-rgb:var(--studio-jetpack-green-40-rgb);--color-primary-50:var(--studio-jetpack-green-50);--color-primary-50-rgb:var(--studio-jetpack-green-50-rgb);--color-primary-60:var(--studio-jetpack-green-60);--color-primary-60-rgb:var(--studio-jetpack-green-60-rgb);--color-primary-70:var(--studio-jetpack-green-70);--color-primary-70-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-80:var(--studio-jetpack-green-80);--color-primary-80-rgb:var(--studio-jetpack-green-80-rgb);--color-primary-90:var(--studio-jetpack-green-90);--color-primary-90-rgb:var(--studio-jetpack-green-90-rgb);--color-primary-100:var(--studio-jetpack-green-100);--color-primary-100-rgb:var(--studio-jetpack-green-100-rgb);--color-accent:var(--studio-jetpack-green);--color-accent-rgb:var(--studio-jetpack-green-rgb);--color-accent-dark:var(--studio-jetpack-green-70);--color-accent-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-light:var(--studio-jetpack-green-30);--color-accent-light-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-0:var(--studio-jetpack-green-0);--color-accent-0-rgb:var(--studio-jetpack-green-0-rgb);--color-accent-5:var(--studio-jetpack-green-5);--color-accent-5-rgb:var(--studio-jetpack-green-5-rgb);--color-accent-10:var(--studio-jetpack-green-10);--color-accent-10-rgb:var(--studio-jetpack-green-10-rgb);--color-accent-20:var(--studio-jetpack-green-20);--color-accent-20-rgb:var(--studio-jetpack-green-20-rgb);--color-accent-30:var(--studio-jetpack-green-30);--color-accent-30-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-40:var(--studio-jetpack-green-40);--color-accent-40-rgb:var(--studio-jetpack-green-40-rgb);--color-accent-50:var(--studio-jetpack-green-50);--color-accent-50-rgb:var(--studio-jetpack-green-50-rgb);--color-accent-60:var(--studio-jetpack-green-60);--color-accent-60-rgb:var(--studio-jetpack-green-60-rgb);--color-accent-70:var(--studio-jetpack-green-70);--color-accent-70-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-80:var(--studio-jetpack-green-80);--color-accent-80-rgb:var(--studio-jetpack-green-80-rgb);--color-accent-90:var(--studio-jetpack-green-90);--color-accent-90-rgb:var(--studio-jetpack-green-90-rgb);--color-accent-100:var(--studio-jetpack-green-100);--color-accent-100-rgb:var(--studio-jetpack-green-100-rgb);--color-link:var(--studio-jetpack-green-40);--color-link-rgb:var(--studio-jetpack-green-40-rgb);--color-link-dark:var(--studio-jetpack-green-60);--color-link-dark-rgb:var(--studio-jetpack-green-60-rgb);--color-link-light:var(--studio-jetpack-green-20);--color-link-light-rgb:var(--studio-jetpack-green-20-rgb);--color-link-0:var(--studio-jetpack-green-0);--color-link-0-rgb:var(--studio-jetpack-green-0-rgb);--color-link-5:var(--studio-jetpack-green-5);--color-link-5-rgb:var(--studio-jetpack-green-5-rgb);--color-link-10:var(--studio-jetpack-green-10);--color-link-10-rgb:var(--studio-jetpack-green-10-rgb);--color-link-20:var(--studio-jetpack-green-20);--color-link-20-rgb:var(--studio-jetpack-green-20-rgb);--color-link-30:var(--studio-jetpack-green-30);--color-link-30-rgb:var(--studio-jetpack-green-30-rgb);--color-link-40:var(--studio-jetpack-green-40);--color-link-40-rgb:var(--studio-jetpack-green-40-rgb);--color-link-50:var(--studio-jetpack-green-50);--color-link-50-rgb:var(--studio-jetpack-green-50-rgb);--color-link-60:var(--studio-jetpack-green-60);--color-link-60-rgb:var(--studio-jetpack-green-60-rgb);--color-link-70:var(--studio-jetpack-green-70);--color-link-70-rgb:var(--studio-jetpack-green-70-rgb);--color-link-80:var(--studio-jetpack-green-80);--color-link-80-rgb:var(--studio-jetpack-green-80-rgb);--color-link-90:var(--studio-jetpack-green-90);--color-link-90-rgb:var(--studio-jetpack-green-90-rgb);--color-link-100:var(--studio-jetpack-green-100);--color-link-100-rgb:var(--studio-jetpack-green-100-rgb);--color-masterbar-background:var(--studio-white);--color-masterbar-border:var(--studio-gray-5);--color-masterbar-text:var(--studio-gray-50);--color-masterbar-item-hover-background:var(--studio-white);--color-masterbar-item-active-background:var(--studio-white);--color-masterbar-item-new-editor-background:var(--studio-white);--color-masterbar-item-new-editor-hover-background:var(--studio-white);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-white);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-60);--color-sidebar-text-rgb:var(--studio-gray-60-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-60);--color-sidebar-menu-selected-text:var(--studio-jetpack-green-50);--color-sidebar-menu-selected-text-rgb:var(--studio-jetpack-green-50-rgb);--color-sidebar-menu-selected-background:var(--studio-jetpack-green-5);--color-sidebar-menu-selected-background-rgb:var(--studio-jetpack-green-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-scary-0:var(--studio-red-0);--color-scary-5:var(--studio-red-5);--color-scary-40:var(--studio-red-40);--color-scary-50:var(--studio-red-50);--color-scary-60:var(--studio-red-60)}@keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.domain-picker__empty-state{display:flex;justify-content:center;flex-direction:column}.domain-picker__empty-state--text{max-width:320px;font-size:.9em;margin:10px 0;color:#555d66}@media (min-width:480px){.domain-picker__empty-state{flex-direction:row;align-items:center}.domain-picker__empty-state--text{margin:15px 0}}.domain-picker__show-more{padding:10px;text-align:center}.domain-picker__search{position:relative;margin-bottom:20px}.domain-picker__search input[type=text].components-text-control__input{padding:6px 40px 6px 16px;height:38px;background:#f0f0f0;border:none}.domain-picker__search input[type=text].components-text-control__input:-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input:focus{box-shadow:0 0 0 2px #5198d9;box-shadow:0 0 0 2px var(--studio-blue-30);background:#fff;background:var(--studio-white)}.domain-picker__search svg{position:absolute;top:6px;right:8px}.domain-picker__suggestion-item-group{flex-grow:1}.domain-picker__suggestion-sections{flex:1}.domain-picker__suggestion-group-label{margin:1.5em 0 1em;text-transform:uppercase;color:#a7aaad;color:var(--studio-gray-20);font-size:12px;font-weight:400;letter-spacing:1px}.domain-picker__suggestion-item{font-size:.875rem;line-height:17px;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:58px;background:#fff;background:var(--studio-white);border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);padding:10px 14px;margin:0;position:relative;z-index:1;text-align:left;cursor:pointer}.domain-picker__suggestion-item.placeholder{cursor:default}.domain-picker__suggestion-item:first-of-type{border-top-left-radius:5px;border-top-right-radius:5px}.domain-picker__suggestion-item:last-of-type{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.domain-picker__suggestion-item+.domain-picker__suggestion-item{margin-top:-1px}.domain-picker__suggestion-item:nth-child(7){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:0ms}.domain-picker__suggestion-item:nth-child(8){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:40ms}.domain-picker__suggestion-item:nth-child(9){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:80ms}.domain-picker__suggestion-item:nth-child(10){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.12s}.domain-picker__suggestion-item:nth-child(11){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.16s}.domain-picker__suggestion-item:nth-child(12){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.2s}.domain-picker__suggestion-item:nth-child(13){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.24s}.domain-picker__suggestion-item:nth-child(14){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.28s}@keyframes domain-picker-item-slide-up{to{transform:translateY(0);opacity:1}}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button{width:16px;height:16px;min-width:16px;padding:0;margin:1px 12px 0 0;vertical-align:middle;position:relative}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:checked{border-color:#5198d9;border-color:var(--studio-blue-30);background-color:#5198d9;background-color:var(--studio-blue-30)}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:checked:after{content:"";width:12px;height:12px;border:2px solid #fff;border-radius:50%;position:absolute;margin:0;background:transparent}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:checked:focus,.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:not(:disabled):focus,.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:not(:disabled):hover{border-color:#5198d9;border-color:var(--studio-blue-30);box-shadow:0 0 0 1px #5198d9;box-shadow:0 0 0 1px var(--studio-blue-30)}.domain-picker__suggestion-item-name{flex-grow:1;letter-spacing:.4px}.domain-picker__suggestion-item:not(.is-free) .domain-picker__suggestion-item-name{margin-right:0}@media (min-width:480px){.domain-picker__suggestion-item:not(.is-free) .domain-picker__suggestion-item-name{margin-right:24px}}.domain-picker__suggestion-item-name .domain-picker__domain-name{word-break:break-word}.domain-picker__suggestion-item-name.placeholder{animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;max-width:30%;margin-right:auto}.domain-picker__suggestion-item-name.placeholder:after{content:"\00a0"}.domain-picker__domain-tld{color:#3582c4;color:var(--studio-blue-40);margin-right:10px}.domain-picker__badge{display:inline-flex;border-radius:2px;padding:0 10px;line-height:20px;height:20px;align-items:center;font-size:10px;text-transform:uppercase;vertical-align:middle;background-color:#2271b1;background-color:var(--studio-blue-50);color:#fff;color:var(--color-text-inverted)}.domain-picker__price{color:#787c82;color:var(--studio-gray-40);text-align:right;flex-basis:0;transition:opacity .2s ease-in-out}.domain-picker__price:not(.is-paid){display:none}@media (min-width:600px){.domain-picker__price{flex-basis:auto}.domain-picker__price:not(.is-paid){display:inline}}.domain-picker__price.placeholder{animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;min-width:64px}.domain-picker__price.placeholder:after{content:"\00a0"}.domain-picker__price-inclusive{color:#00a32a;color:var(--studio-green-40);display:none}@media (min-width:600px){.domain-picker__price-inclusive{display:inline}}.domain-picker__price-cost{text-decoration:line-through}.domain-picker__body{display:flex}@media (max-width:480px){.domain-picker__body{display:block}.domain-picker__body .domain-picker__aside{width:100%;padding:0}}.domain-picker__aside{width:220px;padding-right:30px}@media (max-width:480px){.domain-categories{margin-bottom:20px}.domain-categories .domain-categories__dropdown-button.components-button{display:block;margin-bottom:0}.domain-categories .domain-categories__item-group{display:none}.domain-categories.is-open .domain-categories__item-group{display:block}}.domain-categories__dropdown-button.components-button{width:100%;text-align:center;margin-bottom:8px;height:40px;border:1px solid var(--studio-gray-5);display:none}.domain-categories__dropdown-button.components-button>*{vertical-align:middle}.domain-categories__dropdown-button.components-button svg{margin-left:5px}@media (max-width:480px){.domain-categories__item-group{text-align:center;border:1px solid var(--studio-gray-5);margin-top:-1px}}.domain-categories__item .components-button{color:var(--studio-gray-100);width:100%;text-align:left}.domain-categories__item .components-button:focus,.domain-categories__item .components-button:hover{color:var(--studio-gray-100);box-shadow:none;font-weight:600;text-decoration:underline}.domain-categories__item.is-selected .components-button{font-weight:600;text-decoration:underline}@media (max-width:480px){.domain-categories__item .components-button{display:block;text-align:center}}html:not(.accessible-focus) .domain-categories__item .components-button:focus{box-shadow:none}
|
editor-domain-picker/dist/editor-domain-picker.js
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
6 |
-
*/!function(){"use strict";var n={}.hasOwnProperty;function
|
7 |
/*!
|
8 |
* cookie
|
9 |
* Copyright(c) 2012-2014 Roman Shtylman
|
10 |
* Copyright(c) 2015 Douglas Christopher Wilson
|
11 |
* MIT Licensed
|
12 |
-
*/t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},o=t||{},a=e.split(i),c=o.decode||r,u=0;u<a.length;u++){var l=a[u],f=l.indexOf("=");if(!(f<0)){var d=l.substr(0,f).trim(),p=l.substr(++f,l.length).trim();'"'==p[0]&&(p=p.slice(1,-1)),null==n[d]&&(n[d]=s(p,c))}}return n},t.serialize=function(e,t,n){var r=n||{},i=r.encode||o;if("function"!=typeof i)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=i(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error("maxAge should be a Number");c+="; Max-Age="+Math.floor(u)}if(r.domain){if(!a.test(r.domain))throw new TypeError("option domain is invalid");c+="; Domain="+r.domain}if(r.path){if(!a.test(r.path))throw new TypeError("option path is invalid");c+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");c+="; Expires="+r.expires.toUTCString()}r.httpOnly&&(c+="; HttpOnly");r.secure&&(c+="; Secure");if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return c};var r=decodeURIComponent,o=encodeURIComponent,i=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(n){return e}}},,function(e,t){!function(){e.exports=this["a8c-fse-common-data-stores"]}()},function(e,t,n){"use strict";var r=n(15),o=n(48);function i(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=o,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),o=0;o<e.length;o+=2)n.push(parseInt(e[o]+e[o+1],16))}else for(var r=0,o=0;o<e.length;o++){var a=e.charCodeAt(o);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):i(e,o)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++o)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(o=0;o<e.length;o++)n[o]=0|e[o];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var o=e[r];"little"===t&&(o=a(o)),n+=c(o.toString(16))}return n},t.zero2=s,t.zero8=c,t.join32=function(e,t,n,o){var i=n-t;r(i%4==0);for(var a=new Array(i/4),s=0,c=t;s<a.length;s++,c+=4){var u;u="big"===o?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],a[s]=u>>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,o=0;r<e.length;r++,o+=4){var i=e[r];"big"===t?(n[o]=i>>>24,n[o+1]=i>>>16&255,n[o+2]=i>>>8&255,n[o+3]=255&i):(n[o+3]=i>>>24,n[o+2]=i>>>16&255,n[o+1]=i>>>8&255,n[o]=255&i)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,o){return e+t+n+r+o>>>0},t.sum64=function(e,t,n,r){var o=e[t],i=r+e[t+1]>>>0,a=(i<r?1:0)+n+o;e[t]=a>>>0,e[t+1]=i},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,o,i,a,s){var c=0,u=t;return c+=(u=u+r>>>0)<t?1:0,c+=(u=u+i>>>0)<i?1:0,e+n+o+a+(c+=(u=u+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,o,i,a,s){return t+r+i+s>>>0},t.sum64_5_hi=function(e,t,n,r,o,i,a,s,c,u){var l=0,f=t;return l+=(f=f+r>>>0)<t?1:0,l+=(f=f+i>>>0)<i?1:0,l+=(f=f+s>>>0)<s?1:0,e+n+o+a+c+(l+=(f=f+u>>>0)<u?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,o,i,a,s,c,u){return t+r+i+s+u>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},function(e,t,n){var r=n(17);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,o=n;return[o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],"-",o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]],o[e[r++]]].join("")}},function(e,t,n){var r=n(38);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},function(e,t){function n(){return e.exports=n=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},n.apply(this,arguments)}e.exports=n},function(e,t,n){var r=n(39),o=n(41);function i(e,t){if(t)if("number"==typeof t)a(e,t);else{t.status_code&&a(e,t.status_code),t.error&&(e.name=c(t.error)),t.error_description&&(e.message=t.error_description);var n=t.errors;if(n)i(e,n.length?n[0]:n);for(var r in t)e[r]=t[r];e.status&&(t.method||t.path)&&s(e)}}function a(e,t){e.name=c(o[t]),e.status=e.statusCode=t,s(e)}function s(e){var t=e.status,n=e.method,r=e.path,o=t+" status code",i=n||r;i&&(o+=' for "'),n&&(o+=n),i&&(o+=" "),r&&(o+=r),i&&(o+='"'),e.message=o}function c(e){return r(String(e).replace(/error$/i,""),"error")}e.exports=function e(){for(var t=new Error,n=0;n<arguments.length;n++)i(t,arguments[n]);"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(t,e);return t}},function(e,t,n){"use strict";var r=n(14),o=n(49),i=n(50),a=n(15),s=r.sum32,c=r.sum32_4,u=r.sum32_5,l=i.ch32,f=i.maj32,d=i.s0_256,p=i.s1_256,m=i.g0_256,h=i.g1_256,v=o.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}r.inherits(y,v),e.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=c(h(n[r-2]),n[r-7],m(n[r-15]),n[r-16]);var o=this.h[0],i=this.h[1],v=this.h[2],g=this.h[3],y=this.h[4],b=this.h[5],_=this.h[6],w=this.h[7];for(a(this.k.length===n.length),r=0;r<n.length;r++){var E=u(w,p(y),l(y,b,_),this.k[r],n[r]),C=s(d(o),f(o,i,v));w=_,_=b,b=y,y=s(g,E),g=v,v=i,i=o,o=s(E,C)}this.h[0]=s(this.h[0],o),this.h[1]=s(this.h[1],i),this.h[2]=s(this.h[2],v),this.h[3]=s(this.h[3],g),this.h[4]=s(this.h[4],y),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],_),this.h[7]=s(this.h[7],w)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var o,i,a,s;if(u(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=d.bind(r);return o.listener=n,r.wrapFn=o,o}function m(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(o):v(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)i(c,this,t);else{var u=c.length,l=v(c,u);for(n=0;n<u;++n)i(l[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return u(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,o,i,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(o=-1,i=n.length-1;i>=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,o),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var o,i=Object.keys(n);for(r=0;r<i.length;++r)"removeListener"!==(o=i[r])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r=n(51),o=n(52),i=o;i.v1=r,i.v4=o,e.exports=i},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t){!function(){e.exports=this.ReactDOM}()},,,,,,,,function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(40);e.exports=function(){var e=r.apply(r,arguments);return e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,n){"use strict";e.exports=function(){var e=[].map.call(arguments,(function(e){return e.trim()})).filter((function(e){return e.length})).join("-");return e.length?1!==e.length&&/[_.\- ]+/.test(e)?e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})):e[0]===e[0].toLowerCase()&&e.slice(1)!==e.slice(1).toLowerCase()?e:e.toLowerCase():""}},function(e,t){e.exports={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}},function(e,t,n){var r=n(43);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return o.colors[Math.abs(t)%o.colors.length]}function o(e){var n;function r(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];if(r.enabled){var a=r,s=Number(new Date),c=s-(n||s);a.diff=c,a.prev=n,a.curr=s,n=s,t[0]=o.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;u++;var r=o.formatters[n];if("function"==typeof r){var i=t[u];e=r.call(a,i),t.splice(u,1),u--}return e})),o.formatArgs.call(a,t);var l=a.log||o.log;l.apply(a,t)}}return r.namespace=e,r.enabled=o.enabled(e),r.useColors=o.useColors(),r.color=t(e),r.destroy=i,r.extend=a,"function"==typeof o.init&&o.init(r),o.instances.push(r),r}function i(){var e=o.instances.indexOf(this);return-1!==e&&(o.instances.splice(e,1),!0)}function a(e,t){var n=o(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return o.debug=o,o.default=o,o.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},o.disable=function(){var e=[].concat(r(o.names.map(s)),r(o.skips.map(s).map((function(e){return"-"+e})))).join(",");return o.enable(""),e},o.enable=function(e){var t;o.save(e),o.names=[],o.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?o.skips.push(new RegExp("^"+e.substr(1)+"$")):o.names.push(new RegExp("^"+e+"$")));for(t=0;t<o.instances.length;t++){var i=o.instances[t];i.enabled=o.enabled(i.namespace)}},o.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=o.skips.length;t<n;t++)if(o.skips[t].test(e))return!1;for(t=0,n=o.names.length;t<n;t++)if(o.names[t].test(e))return!0;return!1},o.humanize=n(47),Object.keys(e).forEach((function(t){o[t]=e[t]})),o.instances=[],o.names=[],o.skips=[],o.formatters={},o.selectColor=t,o.enable(o.load()),o}},function(e,t,n){var r=n(44),o=n(45),i=n(16),a=n(46);e.exports=function(e){return r(e)||o(e)||i(e)||a()}},function(e,t,n){var r=n(17);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=i)return a(e,t,i,"day");if(t>=o)return a(e,t,o,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=i)return Math.round(e/i)+"d";if(t>=o)return Math.round(e/o)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var r=n(14),o=n(15);function i(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=i,i.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var o=0;o<e.length;o+=this._delta32)this._update(e,o,o+this._delta32)}return this},i.prototype.digest=function(e){return this.update(this._pad()),o(null===this.pending),this._digest(e)},i.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var o=1;o<n;o++)r[o]=0;if(e<<=3,"big"===this.endian){for(var i=8;i<this.padLength;i++)r[o++]=0;r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=e>>>24&255,r[o++]=e>>>16&255,r[o++]=e>>>8&255,r[o++]=255&e}else for(r[o++]=255&e,r[o++]=e>>>8&255,r[o++]=e>>>16&255,r[o++]=e>>>24&255,r[o++]=0,r[o++]=0,r[o++]=0,r[o++]=0,i=8;i<this.padLength;i++)r[o++]=0;return r}},function(e,t,n){"use strict";var r=n(14).rotr32;function o(e,t,n){return e&t^~e&n}function i(e,t,n){return e&t^e&n^t&n}function a(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?o(t,n,r):1===e||3===e?a(t,n,r):2===e?i(t,n,r):void 0},t.ch32=o,t.maj32=i,t.p32=a,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){var r,o,i=n(18),a=n(19),s=0,c=0;e.exports=function(e,t,n){var u=t&&n||0,l=t||[],f=(e=e||{}).node||r,d=void 0!==e.clockseq?e.clockseq:o;if(null==f||null==d){var p=i();null==f&&(f=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==d&&(d=o=16383&(p[6]<<8|p[7]))}var m=void 0!==e.msecs?e.msecs:(new Date).getTime(),h=void 0!==e.nsecs?e.nsecs:c+1,v=m-s+(h-c)/1e4;if(v<0&&void 0===e.clockseq&&(d=d+1&16383),(v<0||m>s)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=m,c=h,o=d;var g=(1e4*(268435455&(m+=122192928e5))+h)%4294967296;l[u++]=g>>>24&255,l[u++]=g>>>16&255,l[u++]=g>>>8&255,l[u++]=255&g;var y=m/4294967296*1e4&268435455;l[u++]=y>>>8&255,l[u++]=255&y,l[u++]=y>>>24&15|16,l[u++]=y>>>16&255,l[u++]=d>>>8|128,l[u++]=255&d;for(var b=0;b<6;++b)l[u+b]=f[b];return t||a(l)}},function(e,t,n){var r=n(18),o=n(19);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||o(a)}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"getSite",(function(){return Qe}));var o={};n.r(o),n.d(o,"getState",(function(){return Ze})),n.d(o,"getNewSite",(function(){return Ye})),n.d(o,"getNewSiteError",(function(){return et})),n.d(o,"isFetchingSite",(function(){return tt})),n.d(o,"isNewSite",(function(){return nt})),n.d(o,"getSite",(function(){return rt}));var i={};n.r(i),n.d(i,"register",(function(){return it}));var a=n(0),s=n.n(a),c=(n(13),n(8)),u=n.n(c),l=n(1),f=n(20),d=n.n(f),p=n(3),m=n(21),h=n.n(m),v=n(2),g=n(5);function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var w=function(e){var t=e.icon,n=e.size,r=void 0===n?24:n,o=b(e,["icon","size"]);return Object(l.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:r,height:r},o))},E=n(6),C=Object(l.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(l.createElement)(E.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"})),S=n(4),O=n.n(S),x=O()("calypso:analytics");n(23);"undefined"!=typeof window&&window.addEventListener("popstate",(function(){null}));var j=function(){return(j=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function F(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function k(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}n(11);var R=n(24),I=O()("lib/load-script/callback-handler"),A=new Map;function T(){return A}function N(e){return T().has(e)}function L(e,t){var n=T();N(e)?(I('Adding a callback for an existing script from "'.concat(e,'"')),n.get(e).add(t)):(I('Adding a callback for a new script from "'.concat(e,'"')),n.set(e,new Set([t])))}function P(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=T(),r=n.get(e);if(r){var o='Executing callbacks for "'.concat(e,'"')+(null===t?" with success":' with error "'.concat(t,'"'));I(o),r.forEach((function(e){"function"==typeof e&&e(t)})),n.delete(e)}}function M(){var e=this.getAttribute("src");I('Handling successful request for "'.concat(e,'"')),P(e),this.onload=null}function D(){var e=this.getAttribute("src");I('Handling failed request for "'.concat(e,'"')),P(e,new Error('Failed to load script "'.concat(e,'"'))),this.onerror=null}var V=O()("lib/load-script/dom-operations");O()("package/load-script");function q(e,t){var n;if(!N(e)&&(n=function(e){V('Creating script element for "'.concat(e,'"'));var t=document.createElement("script");return t.src=e,t.type="text/javascript",t.async=!0,t.onload=M,t.onerror=D,t}(e),V("Attaching element to head"),document.head.appendChild(n)),"function"!=typeof t)return new Promise((function(t,n){L(e,(function(e){null===e?t():n(e)}))}));L(e,t)}var U,z=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account"];Promise.resolve();function W(e){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(e))}"undefined"!=typeof document&&q("//stats.wp.com/w.js?61");var B=new R.EventEmitter;function H(e,t){if(x('Record event "%s" called with props %o',e,t=t||{}),e.startsWith("calypso_")||Object(g.includes)(z,e)){if(U){var n=U(t);t=j(j({},t),n)}t=Object(g.omitBy)(t,g.isUndefined),x('Recording event "%s" with actual props %o',e,t),W(["recordEvent",e,t]),B.emit("record-event",e,t)}else x('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}var G=n(25);var $=n(9),J=n(26),X=a.createContext(Q()),K=function(){return a.useContext(X)};Object(J.createHigherOrderComponent)((function(e){return function(t){var n=K();return a.createElement(e,j({},n,t))}}),"withI18n");function Q(e){var t,n,r=Object($.createI18n)(e),o=null!==(n=null===(t=null==e?void 0:e[""])||void 0===t?void 0:t.localeSlug)&&void 0!==n?n:"en";return{__:r.__.bind(r),_n:r._n.bind(r),_nx:r._nx.bind(r),_x:r._x.bind(r),isRTL:r.isRTL.bind(r),i18nLocale:o}}var Z=n(7),Y=n.n(Z),ee="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),te=new Uint8Array(16);function ne(){if(!ee)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ee(te)}for(var re=[],oe=0;oe<256;++oe)re[oe]=(oe+256).toString(16).substr(1);var ie=function(e,t){var n=t||0,r=re;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")};var ae=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||ne)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var i=0;i<16;++i)t[r+i]=o[i];return t||ie(o)},se=Object(l.createElement)(E.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},Object(l.createElement)(E.Path,{d:"M2 11V9h12l-4-4 1-2 7 7-7 7-1-2 4-4H2z"})),ce=function(e){var t=e.suggestion,n=e.railcarId,r=e.isRecommended,o=void 0!==r&&r,i=e.onSelect,c=e.onRender,u=e.selected,f=K().__,d=t.domain_name,p=d.indexOf("."),m=d.slice(0,p),h=d.slice(p),v=Object(a.useState)(),g=v[0],y=v[1],b=Object(a.useState)(),_=b[0],E=b[1],C=ae();Object(a.useEffect)((function(){d!==g&&_!==n&&n&&(c(),y(d),E(n))}),[d,g,_,n,c]);return s.a.createElement("button",{type:"button",className:Y()("domain-picker__suggestion-item",{"is-free":t.is_free,"is-selected":u}),onClick:function(){_&&function(e){H("calypso_traintracks_interact",{railcar:e.railcarId,action:e.action})}({action:"domain_selected",railcarId:_}),i(t)},id:C},s.a.createElement("div",{className:"domain-picker__suggestion-item-name"},s.a.createElement("span",{className:"domain-picker__domain-name"},m),s.a.createElement("span",{className:"domain-picker__domain-tld"},h),o&&s.a.createElement("div",{className:"domain-picker__badge is-recommended"},f("Recommended"))),s.a.createElement("div",{className:Y()("domain-picker__price",{"is-paid":!t.is_free})},t.is_free?f("Included in free plan"):s.a.createElement(s.a.Fragment,null,s.a.createElement("span",{className:"domain-picker__price-long"},Object(l.createInterpolateElement)(Object($.sprintf)(f("Included in paid plan, <strikethrough>%s/year</strikethrough>"),t.cost),{strikethrough:s.a.createElement("span",{className:"domain-picker__price-cost"})})),s.a.createElement("span",{className:"domain-picker__price-short domain-picker__price-cost"},Object($.sprintf)(f("%s/year"),t.cost)))),s.a.createElement("div",{className:"domain-picker__suggestion-item-select-button"},s.a.createElement("span",null,f("Select")),s.a.createElement(w,{icon:se,size:18})))},ue=function(){return s.a.createElement("div",{className:"domain-picker__suggestion-item placeholder"},s.a.createElement("div",{className:"domain-picker__suggestion-item-name placeholder"}),s.a.createElement("div",{className:"domain-picker__price placeholder"}))};function le(e,t){return e===t}function fe(e,t,n){var r=n&&n.equalityFn?n.equalityFn:le,o=Object(a.useState)(e),i=o[0],s=o[1],c=function(e,t,n){void 0===n&&(n={});var r=n.maxWait,o=Object(a.useRef)(null),i=Object(a.useRef)([]),s=n.leading,c=Object(a.useRef)(!1),u=Object(a.useRef)(null),l=Object(a.useRef)(!1),f=Object(a.useRef)(e);f.current=e;var d=Object(a.useCallback)((function(){clearTimeout(u.current),clearTimeout(o.current),o.current=null,i.current=[],u.current=null,c.current=!1}),[]);return Object(a.useEffect)((function(){return function(){l.current=!0}}),[]),[Object(a.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(i.current=e,clearTimeout(u.current),!u.current&&s&&!c.current)return f.current.apply(f,e),void(c.current=!0);u.current=setTimeout((function(){d(),l.current||f.current.apply(f,e)}),t),r&&!o.current&&(o.current=setTimeout((function(){var e=i.current;d(),l.current||f.current.apply(null,e)}),r))}),[r,t,d,s]),d,function(){u.current&&(f.current.apply(null,i.current),d())}]}(Object(a.useCallback)((function(e){return s(e)}),[]),t,n),u=c[0],l=c[1],f=Object(a.useRef)(e);return Object(a.useEffect)((function(){r(f.current,e)||(u(e),f.current=e)}),[e,u,r]),[i,l]}var de=Object(l.createElement)(E.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(E.Path,{d:"M17 9.4L12 14 7 9.4l-1 1.2 6 5.4 6-5.4z"})),pe=(n(54),function(e){var t=e.onSelect,n=e.selected,r=K().__,o=Object(l.useState)(!1),i=o[0],s=o[1],c=function(e){s(!1),t(e)},u=Object(v.useSelect)((function(e){return e("automattic/domains/suggestions").getCategories()}));return a.createElement("div",{className:Y()("domain-categories",{"is-open":i})},a.createElement(p.Button,{className:"domain-categories__dropdown-button",onClick:function(){return s(!i)}},a.createElement("span",null,n||r("All Categories")),a.createElement(w,{icon:de,size:16})),a.createElement("ul",{className:"domain-categories__item-group"},a.createElement("li",{className:Y()("domain-categories__item",{"is-selected":!n})},a.createElement(p.Button,{onClick:function(){return c()}},r("View all"))),u.map((function(e){var t=e.slug,r=e.title;return a.createElement("li",{key:t,className:Y()("domain-categories__item",{"is-selected":t===n})},a.createElement(p.Button,{onClick:function(){return c(t)}},r))}))))}),me=function(){return s.a.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 300 40",xmlSpace:"preserve",width:"300"},s.a.createElement("rect",{x:"0",width:"310",height:"50",rx:"10",fill:"#D8D8D8"}),s.a.createElement("rect",{x:"8",y:"8",width:"25",height:"25",rx:"5",fill:"#fff"}),s.a.createElement("rect",{x:"40",y:"8",width:"25",height:"25",rx:"5",fill:"#fff"}),s.a.createElement("rect",{x:"72",y:"8",width:"300",height:"25",rx:"5",fill:"#fff"}),s.a.createElement("text",{x:"80",y:"26",fontFamily:"roboto",fill:"#999"},"https://"),s.a.createElement("text",{x:"133",y:"26",fontFamily:"roboto",fill:"#515151"},"example.com"))},he=(n(53),function(e){var t,n=e.header,r=e.showDomainCategories,o=e.onDomainSelect,i=e.quantity,c=void 0===i?5:i,u=e.quantityExpanded,l=void 0===u?10:u,f=e.onDomainSearchBlur,d=e.analyticsFlowId,m=e.analyticsUiAlgo,h=e.initialDomainSearch,y=void 0===h?"":h,b=e.onSetDomainSearch,_=e.currentDomain,E=K().__,S=E("Search for a domain"),O=Object(a.useState)(!1),x=O[0],j=O[1],F=Object(a.useState)(y),k=F[0],R=F[1],I=Object(a.useState)(),A=I[0],T=I[1],N=Object(v.useSelect)((function(e){return e("automattic/domains/suggestions").getDomainSuggestionVendor()})),L=function(e,t,n,r){void 0===e&&(e=""),void 0===r&&(r="en");var o=fe(e,300)[0];return Object(v.useSelect)((function(e){if(o)return e("automattic/domains/suggestions").getDomainSuggestions(o,{include_wordpressdotcom:!0,include_dotblogsubdomain:!1,quantity:t+1,locale:r,category_slug:n})}),[o,n,t])}(k.trim(),l,A,K().i18nLocale),P=null==L?void 0:L.slice(0,x?l:c);Object(a.useEffect)((function(){j(!1)}),[k]);var M=Object(a.useState)(),D=M[0],V=M[1];Object(a.useEffect)((function(){var e;L&&V((void 0===(e="suggestion")&&(e="recommendation"),Object(G.v4)().replace(/-/g,"")+"-"+e))}),[L,V]);var q=function(e,t,n,r){var o="/domains/search/"+N+"/"+d+(A?"/"+A:""),i=e.domain_name;!function(e){H("calypso_traintracks_render",{railcar:e.railcarId,ui_algo:e.uiAlgo,ui_position:e.uiPosition,fetch_algo:e.fetchAlgo,rec_result:e.result,fetch_query:e.query})}({uiAlgo:"/"+d+"/"+m,fetchAlgo:o,query:k,railcarId:t,result:r?i+"#recommended":i,uiPosition:n})};return s.a.createElement("div",{className:"domain-picker"},n&&n,s.a.createElement("div",{className:"domain-picker__search"},s.a.createElement("div",{className:"domain-picker__search-icon"},s.a.createElement(w,{icon:C})),s.a.createElement(p.TextControl,{"data-hj-whitelist":!0,hideLabelFromVision:!0,label:S,placeholder:S,onChange:function(e){R(e),b(e)},onBlur:function(e){f&&f(e.currentTarget.value)},value:k})),k.trim()?s.a.createElement("div",{className:"domain-picker__body"},r&&s.a.createElement("div",{className:"domain-picker__aside"},s.a.createElement(pe,{selected:A,onSelect:T})),s.a.createElement("div",{className:"domain-picker__suggestion-sections"},s.a.createElement("div",{className:"domain-picker__suggestion-item-group"},s.a.createElement("p",{className:"domain-picker__suggestion-group-label"},E("Sub-domain")),(null==P?void 0:P[0])?s.a.createElement(ce,{key:P[0].domain_name,suggestion:P[0],railcarId:D?D+"1":void 0,onRender:function(){return q(P[0],D+"1",0,!1)},selected:_===P[0].domain_name,onSelect:o}):s.a.createElement(ue,null)),s.a.createElement("div",{className:"domain-picker__suggestion-item-group"},!P||(null==P?void 0:P.length)&&(null==P?void 0:P.length)>1?s.a.createElement("p",{className:"domain-picker__suggestion-group-label"},E("Custom domains")):null,null!==(t=null==P?void 0:P.slice(1).map((function(e,t){return s.a.createElement(ce,{key:e.domain_name,suggestion:e,railcarId:D?""+D+t:void 0,isRecommended:0===t,onRender:function(){return q(e,""+D+t,t,0===t)},selected:_===e.domain_name,onSelect:o})})))&&void 0!==t?t:Object(g.times)(c-1,(function(e){return s.a.createElement(ue,{key:e})}))),!x&&(null==L?void 0:L.length)&&(null==L?void 0:L.length)>c&&s.a.createElement("div",{className:"domain-picker__show-more"},s.a.createElement(p.Button,{onClick:function(){return j(!0)}},E("View more results"))))):s.a.createElement("div",{className:"domain-picker__empty-state"},s.a.createElement("p",{className:"domain-picker__empty-state--text"},E("A domain name is the site address people type in their browser to visit your site.")),s.a.createElement("div",null,s.a.createElement(me,null))))}),ve="automattic/site",ge=Object(v.combineReducers)({data:function(e,t){return"RECEIVE_NEW_SITE"===t.type?t.response.blog_details:"RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type?e:void 0},error:function(e,t){switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(e,t){switch(void 0===e&&(e=!1),t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),ye=Object(v.combineReducers)({newSite:ge,sites:function(e,t){var n;if(void 0===e&&(e={}),"RECEIVE_SITE"===t.type)return j(j({},e),((n={})[t.siteId]=t.response,n));if("RECEIVE_SITE_FAILED"===t.type){var r=e,o=t.siteId,i=(r[o],F(r,["symbol"==typeof o?o:o+""]));return j({},i)}return"RESET_SITE_STORE"===t.type?{}:e}}),be="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),_e=new Uint8Array(16);function we(){if(!be)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return be(_e)}for(var Ee=[],Ce=0;Ce<256;++Ce)Ee[Ce]=(Ce+256).toString(16).substr(1);var Se=function(e,t){var n=t||0,r=Ee;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")};var Oe,xe=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||we)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t)for(var i=0;i<16;++i)t[r+i]=o[i];return t||Se(o)},je=n(22),Fe=n.n(je),ke=n(10),Re=n.n(ke),Ie=O()("wpcom-proxy-request"),Ae="https://public-api.wordpress.com",Te=window.location.protocol+"//"+window.location.host,Ne=function(){var e=!1;try{window.postMessage({toString:function(){e=!0}},"*")}catch(t){}return e}(),Le=function(){try{return new window.File(["a"],"test.jpg",{type:"image/jpeg"}),!0}catch(e){return!1}}(),Pe=null,Me=!1,De={},Ve=!!window.ProgressEvent&&!!window.FormData;Ie('using "origin": %o',Te);var qe=function(e,t){var n=Object.assign({},e);Ie("request(%o)",n),Pe||He();var r=xe();n.callback=r,n.supports_args=!0,n.supports_error_obj=!0,n.supports_progress=Ve,n.method=String(n.method||"GET").toUpperCase(),Ie("params object: %o",n);var o=new window.XMLHttpRequest;if(o.params=n,De[r]=o,"function"==typeof t){var i=!1,a=function(e){if(!i){i=!0;var n=e.error||e.err||e;Ie("error: ",n),Ie("headers: ",e.headers),t(n,null,e.headers)}};o.addEventListener("load",(function(e){if(!i){i=!0;var n=e.response||o.response;Ie("body: ",n),Ie("headers: ",e.headers),t(null,n,e.headers)}})),o.addEventListener("abort",a),o.addEventListener("error",a)}return Me?ze(n):(Ie("buffering API request since proxying <iframe> is not yet loaded"),Oe.push(n)),o},Ue=function(e,t){return"function"==typeof t?qe(e,t):new Promise((function(t,n){qe(e,(function(e,r){e?n(e):t(r)}))}))};function ze(e){Ie("sending API request to proxy <iframe> %o",e),e.formData&&function(e){if(!window.chrome||!Le)return;for(var t=0;t<e.length;t++){var n=Be(e[t][1]);n&&(e[t][1]=new window.File([n],n.name,{type:n.type}))}}(e.formData),Pe.contentWindow.postMessage(Ne?JSON.stringify(e):e,Ae)}function We(e){return e&&"[object File]"===Object.prototype.toString.call(e)}function Be(e){return We(e)?e:"object"==typeof e&&We(e.fileContents)?e.fileContents:null}function He(){Ie("install()"),Pe&&(Ie("uninstall()"),window.removeEventListener("message",Ge),document.body.removeChild(Pe),Me=!1,Pe=null),Oe=[],window.addEventListener("message",Ge),(Pe=document.createElement("iframe")).src=Ae+"/wp-admin/rest-proxy/?v=2.0#"+Te,Pe.style.display="none",document.body.appendChild(Pe)}function Ge(e){if(Ie("onmessage"),e.origin===Ae){var t=e.data;if(!t)return Ie("no `data`, bailing");if("ready"!==t){if(Ne&&"string"==typeof t&&(t=JSON.parse(t)),t.upload||t.download)return function(e){Ie('got "progress" event: %o',e);var t=De[e.callbackId];if(t){var n=new Re.a("progress",e);(e.upload?t.upload:t).dispatchEvent(n)}}(t);if(!t.length)return Ie("`e.data` doesn't appear to be an Array, bailing...");var n=t[t.length-1];if(!(n in De))return Ie("bailing, no matching request with callback: %o",n);var r=De[n],o=r.params,i=t[0],a=t[1],s=t[2];if(207===a||delete De[n],o.metaAPI?a="metaAPIupdated"===i?200:500:Ie("got %o status code for URL: %o",a,o.path),"object"==typeof s&&(s.status=a),a&&2===Math.floor(a/100))!function(e,t,n){var r=new Re.a("load");r.data=r.body=r.response=t,r.headers=n,e.dispatchEvent(r)}(r,i,s);else!function(e,t,n){var r=new Re.a("error");r.error=r.err=t,r.headers=n,e.dispatchEvent(r)}(r,Fe()(o,a,i),s)}else!function(){if(Ie('proxy <iframe> "load" event'),Me=!0,Oe){for(var e=0;e<Oe.length;e++)ze(Oe[e]);Oe=null}}()}else Ie("ignoring message... %o !== %o",e.origin,Ae)}var $e=Ue,Je=function(e){return{type:"WPCOM_REQUEST",request:e}},Xe={WPCOM_REQUEST:function(e){var t=e.request;return $e(t)},FETCH_AND_PARSE:function(e){var t,n,r,o,i=e.resource,a=e.options;return t=void 0,n=void 0,o=function(){var e,t;return k(this,(function(n){switch(n.label){case 0:return[4,window.fetch(i,a)];case 1:return e=n.sent(),t={ok:e.ok},[4,e.json()];case 2:return[2,(t.body=n.sent(),t)]}}))},new((r=void 0)||(r=Promise))((function(e,i){function a(e){try{c(o.next(e))}catch(t){i(t)}}function s(e){try{c(o.throw(e))}catch(t){i(t)}}function c(t){t.done?e(t.value):new r((function(e){e(t.value)})).then(a,s)}c((o=o.apply(t,n||[])).next())}))},RELOAD_PROXY:function(){He()},REQUEST_ALL_BLOGS_ACCESS:function(){return Ue({metaAPI:{accessAllUsersBlogs:!0}})},WAIT:function(e){var t=e.ms;return new Promise((function(e){return setTimeout(e,t)}))}};function Ke(e){var t=function(){return{type:"FETCH_NEW_SITE"}},n=function(e){return{type:"RECEIVE_NEW_SITE",response:e}},r=function(e){return{type:"RECEIVE_NEW_SITE_FAILED",error:e}};return{fetchNewSite:t,receiveNewSite:n,receiveNewSiteFailed:r,resetNewSiteFailed:function(){return{type:"RESET_RECEIVE_NEW_SITE_FAILED"}},createSite:function(t){var o,i,a,s,c,u;return k(this,(function(l){switch(l.label){case 0:return[4,{type:"FETCH_NEW_SITE"}];case 1:l.sent(),l.label=2;case 2:return l.trys.push([2,5,,7]),o=t.authToken,i=F(t,["authToken"]),a={client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},s=j(j(j({},a),i),{validate:!1}),[4,Je({path:"/sites/new",apiVersion:"1.1",method:"post",body:s,token:o})];case 3:return c=l.sent(),[4,n(c)];case 4:return l.sent(),[2,!0];case 5:return u=l.sent(),[4,r(u)];case 6:return l.sent(),[2,!1];case 7:return[2]}}))},receiveSite:function(e,t){return{type:"RECEIVE_SITE",siteId:e,response:t}},receiveSiteFailed:function(e,t){return{type:"RECEIVE_SITE_FAILED",siteId:e,response:t}},reset:function(){return{type:"RESET_SITE_STORE"}}}}function Qe(e){var t;return k(this,(function(n){switch(n.label){case 0:return n.trys.push([0,3,,5]),[4,Je({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"})];case 1:return t=n.sent(),[4,Object(v.dispatch)(ve).receiveSite(e,t)];case 2:return n.sent(),[3,5];case 3:return n.sent(),[4,Object(v.dispatch)(ve).receiveSiteFailed(e,void 0)];case 4:return n.sent(),[3,5];case 5:return[2]}}))}var Ze=function(e){return e},Ye=function(e){return e.newSite.data},et=function(e){return e.newSite.error},tt=function(e){return e.newSite.isFetching},nt=function(e){return!!e.newSite.data},rt=function(e,t){return e.sites[t]},ot=!1;function it(e){return ot||(ot=!0,Object(v.registerStore)(ve,{actions:Ke(e),controls:Xe,reducer:ye,resolvers:r,selectors:o})),ve}var at=i.register({client_id:"",client_secret:""});function st(){return Object(v.useSelect)((function(e){return e(at).getSite(window._currentSiteId)}))}function ct(){var e=st();return(null==e?void 0:e.URL)&&new URL(null==e?void 0:e.URL).hostname||""}var ut=function(e){var t,n=a.useState(""),r=u()(n,2),o=r[0],i=r[1],s=st(),c=ct(),f=null!==(t=o.trim()||(null==s?void 0:s.name))&&void 0!==t?t:"",d=a.useState(c),p=u()(d,2),m=p[0],v=p[1];return Object(l.createElement)(he,h()({analyticsFlowId:"gutenboarding",analyticsUiAlgo:"editor_domain_modal",initialDomainSearch:f,onSetDomainSearch:i,showDomainCategories:!0,currentDomain:m,onDomainSelect:function(e){v(null==e?void 0:e.domain_name)}},e))},lt=(n(55),function(e){var t=e.onClose,n=d()(e,["onClose"]);return Object(l.createElement)(p.Modal,{className:"domain-picker-modal",overlayClassName:"domain-picker-modal-overlay",bodyOpenClassName:"has-domain-picker-modal",onRequestClose:t,title:""},Object(l.createElement)(ut,n))});function ft(){var e=a.useState(!1),t=u()(e,2),n=t[0],r=t[1],o=ct();return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(p.Button,{"aria-expanded":n,"aria-haspopup":"menu","aria-pressed":n,onClick:function(){return r((function(e){return!e}))}},Object(l.createElement)("span",{className:"domain-picker-button__label"},"Domain: ".concat(o.domain_name)),Object(l.createElement)(w,{icon:de,size:22})),n&&Object(l.createElement)(lt,{onClose:function(){return r(!1)}}))}var dt=n(27),pt=setInterval((function(){var e=document.querySelector(".edit-post-header__settings");if(e){clearInterval(pt);var t=document.createElement("div");e.prepend(t),dt.render(a.createElement(ft),t)}}))}]));
|
1 |
+
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=41)}([function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.lodash}()},function(e,t,n){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(27)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(e,t,n){var r;
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
6 |
+
*/!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},function(e,t){!function(){e.exports=this.wp.primitives}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t,n){"use strict";
|
7 |
/*!
|
8 |
* cookie
|
9 |
* Copyright(c) 2012-2014 Roman Shtylman
|
10 |
* Copyright(c) 2015 Douglas Christopher Wilson
|
11 |
* MIT Licensed
|
12 |
+
*/t.parse=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},i=t||{},a=e.split(o),c=i.decode||r,u=0;u<a.length;u++){var l=a[u],f=l.indexOf("=");if(!(f<0)){var d=l.substr(0,f).trim(),p=l.substr(++f,l.length).trim();'"'==p[0]&&(p=p.slice(1,-1)),null==n[d]&&(n[d]=s(p,c))}}return n},t.serialize=function(e,t,n){var r=n||{},o=r.encode||i;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=o(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var c=e+"="+s;if(null!=r.maxAge){var u=r.maxAge-0;if(isNaN(u))throw new Error("maxAge should be a Number");c+="; Max-Age="+Math.floor(u)}if(r.domain){if(!a.test(r.domain))throw new TypeError("option domain is invalid");c+="; Domain="+r.domain}if(r.path){if(!a.test(r.path))throw new TypeError("option path is invalid");c+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");c+="; Expires="+r.expires.toUTCString()}r.httpOnly&&(c+="; HttpOnly");r.secure&&(c+="; Secure");if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"strict":c+="; SameSite=Strict";break;case"none":c+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return c};var r=decodeURIComponent,i=encodeURIComponent,o=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function s(e,t){try{return t(e)}catch(n){return e}}},function(e,t,n){"use strict";var r=n(11),i=n(33);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function c(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var n=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)n.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var a=e.charCodeAt(i);a<128?n[r++]=a:a<2048?(n[r++]=a>>6|192,n[r++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),n[r++]=a>>18|240,n[r++]=a>>12&63|128,n[r++]=a>>6&63|128,n[r++]=63&a|128):(n[r++]=a>>12|224,n[r++]=a>>6&63|128,n[r++]=63&a|128)}else for(i=0;i<e.length;i++)n[i]=0|e[i];return n},t.toHex=function(e){for(var t="",n=0;n<e.length;n++)t+=s(e[n].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=a(i)),n+=c(i.toString(16))}return n},t.zero2=s,t.zero8=c,t.join32=function(e,t,n,i){var o=n-t;r(o%4==0);for(var a=new Array(o/4),s=0,c=t;s<a.length;s++,c+=4){var u;u="big"===i?e[c]<<24|e[c+1]<<16|e[c+2]<<8|e[c+3]:e[c+3]<<24|e[c+2]<<16|e[c+1]<<8|e[c],a[s]=u>>>0}return a},t.split32=function(e,t){for(var n=new Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(n[i]=o>>>24,n[i+1]=o>>>16&255,n[i+2]=o>>>8&255,n[i+3]=255&o):(n[i+3]=o>>>24,n[i+2]=o>>>16&255,n[i+1]=o>>>8&255,n[i]=255&o)}return n},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,n){return e+t+n>>>0},t.sum32_4=function(e,t,n,r){return e+t+n+r>>>0},t.sum32_5=function(e,t,n,r,i){return e+t+n+r+i>>>0},t.sum64=function(e,t,n,r){var i=e[t],o=r+e[t+1]>>>0,a=(o<r?1:0)+n+i;e[t]=a>>>0,e[t+1]=o},t.sum64_hi=function(e,t,n,r){return(t+r>>>0<t?1:0)+e+n>>>0},t.sum64_lo=function(e,t,n,r){return t+r>>>0},t.sum64_4_hi=function(e,t,n,r,i,o,a,s){var c=0,u=t;return c+=(u=u+r>>>0)<t?1:0,c+=(u=u+o>>>0)<o?1:0,e+n+i+a+(c+=(u=u+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,n,r,i,o,a,s){return t+r+o+s>>>0},t.sum64_5_hi=function(e,t,n,r,i,o,a,s,c,u){var l=0,f=t;return l+=(f=f+r>>>0)<t?1:0,l+=(f=f+o>>>0)<o?1:0,l+=(f=f+s>>>0)<s?1:0,e+n+i+a+c+(l+=(f=f+u>>>0)<u?1:0)>>>0},t.sum64_5_lo=function(e,t,n,r,i,o,a,s,c,u){return t+r+o+s+u>>>0},t.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0},t.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0},t.shr64_hi=function(e,t,n){return e>>>n},t.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0}},function(e,t){function n(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=n,n.equal=function(e,t,n){if(e!=t)throw new Error(n||"Assertion failed: "+e+" != "+t)}},,function(e,t){!function(){e.exports=this["a8c-fse-common-data-stores"]}()},function(e,t,n){var r=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){var n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(n){var r=new Uint8Array(16);e.exports=function(){return n(r),r}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},function(e,t,n){var r=n(24),i=n(25),o=n(14),a=n(26);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||a()}},function(e,t,n){"use strict";var r=n(10),i=n(34),o=n(35),a=n(11),s=r.sum32,c=r.sum32_4,u=r.sum32_5,l=o.ch32,f=o.maj32,d=o.s0_256,p=o.s1_256,m=o.g0_256,h=o.g1_256,v=i.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;v.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=new Array(64)}r.inherits(y,v),e.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var n=this.W,r=0;r<16;r++)n[r]=e[t+r];for(;r<n.length;r++)n[r]=c(h(n[r-2]),n[r-7],m(n[r-15]),n[r-16]);var i=this.h[0],o=this.h[1],v=this.h[2],g=this.h[3],y=this.h[4],b=this.h[5],_=this.h[6],w=this.h[7];for(a(this.k.length===n.length),r=0;r<n.length;r++){var C=u(w,p(y),l(y,b,_),this.k[r],n[r]),x=s(d(i),f(i,o,v));w=_,_=b,b=y,y=s(g,C),g=v,v=o,o=i,i=s(C,x)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],v),this.h[3]=s(this.h[3],g),this.h[4]=s(this.h[4],y),this.h[5]=s(this.h[5],b),this.h[6]=s(this.h[6],_),this.h[7]=s(this.h[7],w)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},function(e,t,n){"use strict";var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function u(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function f(e,t,n,r){var i,o,a,s;if(u(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,s=c,console&&console.warn&&console.warn(s)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=d.bind(r);return i.listener=n,r.wrapFn=i,i}function m(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(i):v(i,i.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function v(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e[r];return n}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");c=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return l(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,i=this._events;if(void 0!==i)r=r&&void 0===i.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)o(c,this,t);else{var u=c.length,l=v(c,u);for(n=0;n<u;++n)o(l[n],this,t)}return!0},s.prototype.addListener=function(e,t){return f(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return f(this,e,t,!0)},s.prototype.once=function(e,t){return u(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return u(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,o,a;if(u(t),void 0===(r=this._events))return this;if(void 0===(n=r[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(i=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,i),1===n.length&&(r[e]=n[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n,r;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var i,o=Object.keys(n);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){var r=n(36),i=n(37),o=i;o.v1=r,o.v4=i,e.exports=o},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){var r=n(28);e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return i.colors[Math.abs(t)%i.colors.length]}function i(e){var n;function r(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];if(r.enabled){var a=r,s=Number(new Date),c=s-(n||s);a.diff=c,a.prev=n,a.curr=s,n=s,t[0]=i.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var u=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;u++;var r=i.formatters[n];if("function"==typeof r){var o=t[u];e=r.call(a,o),t.splice(u,1),u--}return e})),i.formatArgs.call(a,t);var l=a.log||i.log;l.apply(a,t)}}return r.namespace=e,r.enabled=i.enabled(e),r.useColors=i.useColors(),r.color=t(e),r.destroy=o,r.extend=a,"function"==typeof i.init&&i.init(r),i.instances.push(r),r}function o(){var e=i.instances.indexOf(this);return-1!==e&&(i.instances.splice(e,1),!0)}function a(e,t){var n=i(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function s(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return i.debug=i,i.default=i,i.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},i.disable=function(){var e=[].concat(r(i.names.map(s)),r(i.skips.map(s).map((function(e){return"-"+e})))).join(",");return i.enable(""),e},i.enable=function(e){var t;i.save(e),i.names=[],i.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?i.skips.push(new RegExp("^"+e.substr(1)+"$")):i.names.push(new RegExp("^"+e+"$")));for(t=0;t<i.instances.length;t++){var o=i.instances[t];o.enabled=i.enabled(o.namespace)}},i.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=i.skips.length;t<n;t++)if(i.skips[t].test(e))return!1;for(t=0,n=i.names.length;t<n;t++)if(i.names[t].test(e))return!0;return!1},i.humanize=n(32),Object.keys(e).forEach((function(t){i[t]=e[t]})),i.instances=[],i.names=[],i.skips=[],i.formatters={},i.selectColor=t,i.enable(i.load()),i}},function(e,t,n){var r=n(29),i=n(30),o=n(14),a=n(31);e.exports=function(e){return r(e)||i(e)||o(e)||a()}},function(e,t,n){var r=n(15);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){var n=1e3,r=6e4,i=60*r,o=24*i;function a(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return function(e){if((e=String(e)).length>100)return;var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!t)return;var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===s&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=o)return a(e,t,o,"day");if(t>=i)return a(e,t,i,"hour");if(t>=r)return a(e,t,r,"minute");if(t>=n)return a(e,t,n,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=o)return Math.round(e/o)+"d";if(t>=i)return Math.round(e/i)+"h";if(t>=r)return Math.round(e/r)+"m";if(t>=n)return Math.round(e/n)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";var r=n(10),i=n(11);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-n,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,n=t-(e+this.padLength)%t,r=new Array(n+this.padLength);r[0]=128;for(var i=1;i<n;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,o=8;o<this.padLength;o++)r[i++]=0;return r}},function(e,t,n){"use strict";var r=n(10).rotr32;function i(e,t,n){return e&t^~e&n}function o(e,t,n){return e&t^e&n^t&n}function a(e,t,n){return e^t^n}t.ft_1=function(e,t,n,r){return 0===e?i(t,n,r):1===e||3===e?a(t,n,r):2===e?o(t,n,r):void 0},t.ch32=i,t.maj32=o,t.p32=a,t.s0_256=function(e){return r(e,2)^r(e,13)^r(e,22)},t.s1_256=function(e){return r(e,6)^r(e,11)^r(e,25)},t.g0_256=function(e){return r(e,7)^r(e,18)^e>>>3},t.g1_256=function(e){return r(e,17)^r(e,19)^e>>>10}},function(e,t,n){var r,i,o=n(16),a=n(17),s=0,c=0;e.exports=function(e,t,n){var u=t&&n||0,l=t||[],f=(e=e||{}).node||r,d=void 0!==e.clockseq?e.clockseq:i;if(null==f||null==d){var p=o();null==f&&(f=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==d&&(d=i=16383&(p[6]<<8|p[7]))}var m=void 0!==e.msecs?e.msecs:(new Date).getTime(),h=void 0!==e.nsecs?e.nsecs:c+1,v=m-s+(h-c)/1e4;if(v<0&&void 0===e.clockseq&&(d=d+1&16383),(v<0||m>s)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=m,c=h,i=d;var g=(1e4*(268435455&(m+=122192928e5))+h)%4294967296;l[u++]=g>>>24&255,l[u++]=g>>>16&255,l[u++]=g>>>8&255,l[u++]=255&g;var y=m/4294967296*1e4&268435455;l[u++]=y>>>8&255,l[u++]=255&y,l[u++]=y>>>24&15|16,l[u++]=y>>>16&255,l[u++]=d>>>8|128,l[u++]=255&d;for(var b=0;b<6;++b)l[u+b]=f[b];return t||a(l)}},function(e,t,n){var r=n(16),i=n(17);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||r)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||i(a)}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),o=(n(13),n(18)),a=n.n(o),s=n(1),c=n(2),u=n(3),l=n(4);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var m=function(e){var t=e.icon,n=e.size,r=void 0===n?24:n,i=d(e,["icon","size"]);return Object(s.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:r,height:r},i))},h=n(7),v=Object(s.createElement)(h.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(s.createElement)(h.Path,{d:"M13.5 6C10.5 6 8 8.5 8 11.5c0 1.1.3 2.1.9 3l-3.4 3 1 1.1 3.4-2.9c1 .9 2.2 1.4 3.6 1.4 3 0 5.5-2.5 5.5-5.5C19 8.5 16.5 6 13.5 6zm0 9.5c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4z"})),g=n(5),y=n.n(g),b=y()("calypso:analytics");n(19);"undefined"!=typeof window&&window.addEventListener("popstate",(function(){null}));var _=function(){return(_=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};n(9);var w=n(20),C=y()("lib/load-script/callback-handler"),x=new Map;function O(){return x}function E(e){return O().has(e)}function j(e,t){var n=O();E(e)?(C('Adding a callback for an existing script from "'.concat(e,'"')),n.get(e).add(t)):(C('Adding a callback for a new script from "'.concat(e,'"')),n.set(e,new Set([t])))}function S(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=O(),r=n.get(e);if(r){var i='Executing callbacks for "'.concat(e,'"')+(null===t?" with success":' with error "'.concat(t,'"'));C(i),r.forEach((function(e){"function"==typeof e&&e(t)})),n.delete(e)}}function k(){var e=this.getAttribute("src");C('Handling successful request for "'.concat(e,'"')),S(e),this.onload=null}function F(){var e=this.getAttribute("src");C('Handling failed request for "'.concat(e,'"')),S(e,new Error('Failed to load script "'.concat(e,'"'))),this.onerror=null}var A=y()("lib/load-script/dom-operations");y()("package/load-script");function L(e,t){var n;if(!E(e)&&(n=function(e){A('Creating script element for "'.concat(e,'"'));var t=document.createElement("script");return t.src=e,t.type="text/javascript",t.async=!0,t.onload=k,t.onerror=F,t}(e),A("Attaching element to head"),document.head.appendChild(n)),"function"!=typeof t)return new Promise((function(t,n){j(e,(function(e){null===e?t():n(e)}))}));j(e,t)}var N,R=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account"];Promise.resolve();function P(e){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(e))}"undefined"!=typeof document&&L("//stats.wp.com/w.js?61");var T=new w.EventEmitter;function I(e,t){if(b('Record event "%s" called with props %o',e,t=t||{}),e.startsWith("calypso_")||Object(l.includes)(R,e)){if(N){var n=N(t);t=_(_({},t),n)}t=Object(l.omitBy)(t,l.isUndefined),b('Recording event "%s" with actual props %o',e,t),P(["recordEvent",e,t]),T.emit("record-event",e,t)}else b('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}var M=n(21);var D=n(8),z=n(22),q=r.createContext(V()),U=function(){return r.useContext(q)};Object(z.createHigherOrderComponent)((function(e){return function(t){var n=U();return r.createElement(e,_({},n,t))}}),"withI18n");function V(e){var t,n,r=Object(D.createI18n)(e),i=null!==(n=null===(t=null==e?void 0:e[""])||void 0===t?void 0:t.localeSlug)&&void 0!==n?n:"en";return{__:r.__.bind(r),_n:r._n.bind(r),_nx:r._nx.bind(r),_x:r._x.bind(r),isRTL:r.isRTL.bind(r),i18nLocale:i}}var B=n(6),H=n.n(B),$="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),W=new Uint8Array(16);function G(){if(!$)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return $(W)}for(var J=[],K=0;K<256;++K)J[K]=(K+256).toString(16).substr(1);var X=function(e,t){var n=t||0,r=J;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")};var Z=function(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||G)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var o=0;o<16;++o)t[r+o]=i[o];return t||X(i)},Q=function(e){var t=e.suggestion,n=e.railcarId,o=e.isRecommended,a=void 0!==o&&o,s=e.onSelect,c=e.onRender,u=e.selected,l=U().__,f=t.domain_name,d=f.indexOf("."),p=f.slice(0,d),m=f.slice(d),h=Object(r.useState)(),v=h[0],g=h[1],y=Object(r.useState)(),b=y[0],_=y[1],w=Z();Object(r.useEffect)((function(){f!==v&&b!==n&&n&&(c(),g(f),_(n))}),[f,v,b,n,c]);return i.a.createElement("label",{className:H()("domain-picker__suggestion-item",{"is-free":t.is_free,"is-selected":u})},i.a.createElement("input",{"aria-labelledby":w,className:"domain-picker__suggestion-radio-button",type:"radio",name:"domain-picker-suggestion-option",onChange:function(){b&&function(e){I("calypso_traintracks_interact",{railcar:e.railcarId,action:e.action})}({action:"domain_selected",railcarId:b}),s(t)},checked:u}),i.a.createElement("div",{className:"domain-picker__suggestion-item-name"},i.a.createElement("span",{className:"domain-picker__domain-name"},p),i.a.createElement("span",{className:"domain-picker__domain-tld"},m),a&&i.a.createElement("div",{className:"domain-picker__badge is-recommended"},l("Recommended"))),i.a.createElement("div",{className:H()("domain-picker__price",{"is-paid":!t.is_free})},t.is_free?l("Free"):i.a.createElement(i.a.Fragment,null,i.a.createElement("span",{className:"domain-picker__price-inclusive"}," ",l("Included in plans")," "),i.a.createElement("span",{className:"domain-picker__price-cost"},Object(D.sprintf)(l("%s/year"),t.cost)))))},Y=function(){return i.a.createElement("div",{className:"domain-picker__suggestion-item placeholder"},i.a.createElement("div",{className:"domain-picker__suggestion-item-name placeholder"}),i.a.createElement("div",{className:"domain-picker__price placeholder"}))};function ee(e,t){return e===t}function te(e,t,n){var i=n&&n.equalityFn?n.equalityFn:ee,o=Object(r.useState)(e),a=o[0],s=o[1],c=function(e,t,n){void 0===n&&(n={});var i=n.maxWait,o=Object(r.useRef)(null),a=Object(r.useRef)([]),s=n.leading,c=Object(r.useRef)(!1),u=Object(r.useRef)(null),l=Object(r.useRef)(!1),f=Object(r.useRef)(e);f.current=e;var d=Object(r.useCallback)((function(){clearTimeout(u.current),clearTimeout(o.current),o.current=null,a.current=[],u.current=null,c.current=!1}),[]);return Object(r.useEffect)((function(){return function(){l.current=!0}}),[]),[Object(r.useCallback)((function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(a.current=e,clearTimeout(u.current),!u.current&&s&&!c.current)return f.current.apply(f,e),void(c.current=!0);u.current=setTimeout((function(){d(),l.current||f.current.apply(f,e)}),t),i&&!o.current&&(o.current=setTimeout((function(){var e=a.current;d(),l.current||f.current.apply(null,e)}),i))}),[i,t,d,s]),d,function(){u.current&&(f.current.apply(null,a.current),d())}]}(Object(r.useCallback)((function(e){return s(e)}),[]),t,n),u=c[0],l=c[1],f=Object(r.useRef)(e);return Object(r.useEffect)((function(){i(f.current,e)||(u(e),f.current=e)}),[e,u,i]),[a,l]}var ne=Object(s.createElement)(h.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(s.createElement)(h.Path,{d:"M17 9.4L12 14 7 9.4l-1 1.2 6 5.4 6-5.4z"})),re=(n(39),function(e){var t=e.onSelect,n=e.selected,i=U().__,o=Object(s.useState)(!1),a=o[0],l=o[1],f=function(e){l(!1),t(e)},d=Object(c.useSelect)((function(e){return e("automattic/domains/suggestions").getCategories()}));return r.createElement("div",{className:H()("domain-categories",{"is-open":a})},r.createElement(u.Button,{className:"domain-categories__dropdown-button",onClick:function(){return l(!a)}},r.createElement("span",null,n||i("All Categories")),r.createElement(m,{icon:ne,size:16})),r.createElement("ul",{className:"domain-categories__item-group"},r.createElement("li",{className:H()("domain-categories__item",{"is-selected":!n})},r.createElement(u.Button,{onClick:function(){return f()}},i("View all"))),d.map((function(e){var t=e.slug,i=e.title;return r.createElement("li",{key:t,className:H()("domain-categories__item",{"is-selected":t===n})},r.createElement(u.Button,{onClick:function(){return f(t)}},i))}))))}),ie=function(){return i.a.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 300 40",xmlSpace:"preserve",width:"300"},i.a.createElement("rect",{x:"0",width:"310",height:"50",rx:"10",fill:"#D8D8D8"}),i.a.createElement("rect",{x:"8",y:"8",width:"25",height:"25",rx:"5",fill:"#fff"}),i.a.createElement("rect",{x:"40",y:"8",width:"25",height:"25",rx:"5",fill:"#fff"}),i.a.createElement("rect",{x:"72",y:"8",width:"300",height:"25",rx:"5",fill:"#fff"}),i.a.createElement("text",{x:"80",y:"26",fill:"#999"},"https://"),i.a.createElement("text",{x:"133",y:"26",fill:"#515151"},"example.com"))},oe=(n(38),function(e){var t,n=e.header,o=e.showDomainCategories,a=e.onDomainSelect,s=e.quantity,f=void 0===s?5:s,d=e.quantityExpanded,p=void 0===d?10:d,h=e.onDomainSearchBlur,g=e.analyticsFlowId,y=e.analyticsUiAlgo,b=e.initialDomainSearch,_=void 0===b?"":b,w=e.onSetDomainSearch,C=e.currentDomain,x=U().__,O=x("Search for a domain"),E=Object(r.useState)(!1),j=E[0],S=E[1],k=Object(r.useState)(_),F=k[0],A=k[1],L=Object(r.useState)(),N=L[0],R=L[1],P=Object(c.useSelect)((function(e){return e("automattic/domains/suggestions").getDomainSuggestionVendor()})),T=function(e,t,n,r){void 0===e&&(e=""),void 0===r&&(r="en");var i=te(e,300)[0];return Object(c.useSelect)((function(e){if(i)return e("automattic/domains/suggestions").getDomainSuggestions(i,{include_wordpressdotcom:!0,include_dotblogsubdomain:!1,quantity:t+1,locale:r,category_slug:n})}),[i,n,t])}(F.trim(),p,N,U().i18nLocale),D=null==T?void 0:T.slice(0,j?p:f);Object(r.useEffect)((function(){S(!1)}),[F]);var z=Object(r.useState)(),q=z[0],V=z[1];Object(r.useEffect)((function(){var e;T&&V((void 0===(e="suggestion")&&(e="recommendation"),Object(M.v4)().replace(/-/g,"")+"-"+e))}),[T,V]);var B=function(e,t,n,r){var i="/domains/search/"+P+"/"+g+(N?"/"+N:""),o=e.domain_name;!function(e){I("calypso_traintracks_render",{railcar:e.railcarId,ui_algo:e.uiAlgo,ui_position:e.uiPosition,fetch_algo:e.fetchAlgo,rec_result:e.result,fetch_query:e.query})}({uiAlgo:"/"+g+"/"+y,fetchAlgo:i,query:F,railcarId:t,result:r?o+"#recommended":o,uiPosition:n})};return i.a.createElement("div",{className:"domain-picker"},n&&n,i.a.createElement("div",{className:"domain-picker__search"},i.a.createElement("div",{className:"domain-picker__search-icon"},i.a.createElement(m,{icon:v})),i.a.createElement(u.TextControl,{"data-hj-whitelist":!0,hideLabelFromVision:!0,label:O,placeholder:O,onChange:function(e){A(e),w(e)},onBlur:function(e){h&&h(e.currentTarget.value)},value:F})),F.trim()?i.a.createElement("div",{className:"domain-picker__body"},o&&i.a.createElement("div",{className:"domain-picker__aside"},i.a.createElement(re,{selected:N,onSelect:R})),i.a.createElement("div",{className:"domain-picker__suggestion-sections"},i.a.createElement("div",{className:"domain-picker__suggestion-item-group"},null!==(t=null==D?void 0:D.map((function(e,t){return i.a.createElement(Q,{key:e.domain_name,suggestion:e,railcarId:q?""+q+t:void 0,isRecommended:1===t,onRender:function(){return B(e,""+q+t,t,1===t)},selected:C===e.domain_name,onSelect:a})})))&&void 0!==t?t:Object(l.times)(f,(function(e){return i.a.createElement(Y,{key:e})}))),!j&&(null==T?void 0:T.length)&&(null==T?void 0:T.length)>f&&i.a.createElement("div",{className:"domain-picker__show-more"},i.a.createElement(u.Button,{onClick:function(){return S(!0)}},x("View more results"))))):i.a.createElement("div",{className:"domain-picker__empty-state"},i.a.createElement("p",{className:"domain-picker__empty-state--text"},x("A domain name is the site address people type in their browser to visit your site.")),i.a.createElement("div",null,i.a.createElement(ie,null))))});function ae(){return Object(c.useSelect)((function(e){return e("automattic/site").getSite(window._currentSiteId)}))}function se(){var e=ae();return(null==e?void 0:e.URL)&&new URL(null==e?void 0:e.URL).hostname||""}var ce=function(e){var t,n=e.onSelect,r=ae(),i=se(),o=Object(c.useSelect)((function(e){return e("automattic/launch").getState()})),a=o.domain,u=o.domainSearch,l=Object(c.useDispatch)("automattic/launch"),f=l.setDomain,d=l.setDomainSearch,p=null!==(t=u.trim()||(null==r?void 0:r.name))&&void 0!==t?t:"";return Object(s.createElement)(oe,{analyticsFlowId:"gutenboarding",initialDomainSearch:p,onSetDomainSearch:d,onDomainSearchBlur:function(e){I("calypso_newsite_domain_search_blur",{flow:"gutenboarding",query:e,where:"editor_domain_modal"})},currentDomain:(null==a?void 0:a.domain_name)||i,onDomainSelect:function(e){f(e),null==n||n()},analyticsUiAlgo:"editor_domain_modal"})},ue=(n(40),function(e){var t=e.onClose;return Object(s.createElement)(u.Modal,{className:"domain-picker-modal",overlayClassName:"domain-picker-modal-overlay",bodyOpenClassName:"has-domain-picker-modal",onRequestClose:t,title:""},Object(s.createElement)(ce,{onSelect:t}))});function le(){var e=r.useState(!1),t=a()(e,2),n=t[0],i=t[1],o=se(),l=Object(c.useSelect)((function(e){return e("automattic/launch").getState()})).domain;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(u.Button,{"aria-expanded":n,"aria-haspopup":"menu","aria-pressed":n,onClick:function(){return i((function(e){return!e}))}},Object(s.createElement)("span",{className:"domain-picker-button__label"},"Domain: ".concat((null==l?void 0:l.domain_name)||o)),Object(s.createElement)(m,{icon:ne,size:22})),n&&Object(s.createElement)(ue,{onClose:function(){return i(!1)}}))}var fe=n(23),de=setInterval((function(){var e=document.querySelector(".edit-post-header__settings");if(e){clearInterval(de);var t=document.createElement("div");e.prepend(t),fe.render(r.createElement(le),t)}}))}]));
|
editor-domain-picker/dist/editor-domain-picker.rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
@keyframes domain-picker-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.domain-picker__empty-state{display:flex;justify-content:center;flex-direction:column}.domain-picker__empty-state--text{max-width:320px;font-size:.9em;margin:10px 0;color:#555d66}@media (min-width:480px){.domain-picker__empty-state{flex-direction:row;align-items:center}.domain-picker__empty-state--text{margin:15px 0}}.domain-picker__show-more{padding:10px;text-align:center}.domain-picker__search{position:relative;margin-bottom:20px}.domain-picker__search input[type=text].components-text-control__input{padding:6px 16px 6px 40px;height:38px;background:#f0f0f0;border:none}.domain-picker__search input[type=text].components-text-control__input:-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input:focus{box-shadow:0 0 0 2px #5198d9;box-shadow:0 0 0 2px var(--studio-blue-30);background:#fff;background:var(--studio-white)}.domain-picker__search svg{position:absolute;top:6px;left:8px}.domain-picker__suggestion-item-group{flex-grow:1}.domain-picker__suggestion-sections{flex:1}.domain-picker__suggestion-group-label{margin:1.5em 0 1em;text-transform:uppercase;color:#a7aaad;color:var(--studio-gray-20);font-size:12px;font-weight:400;letter-spacing:1px}.domain-picker__suggestion-item{font-size:14px;line-height:17px;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:58px;border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);padding:10px 14px;margin:0;position:relative;z-index:1;text-align:right;cursor:pointer}.domain-picker__suggestion-item.placeholder{cursor:default}.domain-picker__suggestion-item.is-selected{background:#e9eff5;background:var(--studio-blue-0);border-color:#3582c4;border-color:var(--studio-blue-40);z-index:2}.domain-picker__suggestion-item:focus:not(.placeholder),.domain-picker__suggestion-item:hover:not(.placeholder){background:#e9eff5;background:var(--studio-blue-0);border-color:#3582c4;border-color:var(--studio-blue-40);z-index:2}@media (min-width:600px){.domain-picker__suggestion-item:focus .domain-picker__suggestion-item-select-button,.domain-picker__suggestion-item:hover .domain-picker__suggestion-item-select-button{opacity:1}.domain-picker__suggestion-item:focus .domain-picker__price,.domain-picker__suggestion-item:hover .domain-picker__price{opacity:0}}.domain-picker__suggestion-item:first-of-type{border-top-right-radius:5px;border-top-left-radius:5px}.domain-picker__suggestion-item:last-of-type{border-bottom-right-radius:5px;border-bottom-left-radius:5px}.domain-picker__suggestion-item+.domain-picker__suggestion-item{margin-top:-1px}.domain-picker__suggestion-item:nth-child(7){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:0ms}.domain-picker__suggestion-item:nth-child(8){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:40ms}.domain-picker__suggestion-item:nth-child(9){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:80ms}.domain-picker__suggestion-item:nth-child(10){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.12s}.domain-picker__suggestion-item:nth-child(11){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.16s}.domain-picker__suggestion-item:nth-child(12){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.2s}.domain-picker__suggestion-item:nth-child(13){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.24s}.domain-picker__suggestion-item:nth-child(14){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.28s}@keyframes domain-picker-item-slide-up{to{transform:translateY(0);opacity:1}}.domain-picker__suggestion-item-name{flex-grow:1;margin-left:24px;letter-spacing:.4px}.domain-picker__suggestion-item-name .domain-picker__domain-name{word-break:break-word}.domain-picker__suggestion-item-name.placeholder{animation:domain-picker-loading-fade 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;max-width:30%;margin-left:auto}.domain-picker__suggestion-item-name.placeholder:after{content:"\00a0"}.domain-picker__domain-tld{color:#3582c4;color:var(--studio-blue-40);margin-left:10px}.domain-picker__badge{display:inline-flex;border-radius:2px;padding:0 10px;line-height:20px;height:20px;align-items:center;font-size:10px;text-transform:uppercase;vertical-align:middle;background-color:#2271b1;background-color:var(--studio-blue-50);color:#fff;color:var(--color-text-inverted)}.domain-picker__price{color:#787c82;color:var(--studio-gray-40);text-align:left;flex-basis:0;transition:opacity .2s ease-in-out}.domain-picker__price:not(.is-paid){display:none}@media (min-width:600px){.domain-picker__price{flex-basis:auto}.domain-picker__price:not(.is-paid){display:inline}}.domain-picker__price.placeholder{animation:domain-picker-loading-fade 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;min-width:64px}.domain-picker__price.placeholder:after{content:"\00a0"}.domain-picker__price-long{display:none}@media (min-width:600px){.domain-picker__price-long{display:inline}}.domain-picker__price-short{display:inline}@media (min-width:600px){.domain-picker__price-short{display:none}}.domain-picker__price-cost{text-decoration:line-through}.domain-picker__suggestion-item-select-button{display:flex;align-items:center;height:36px}.domain-picker__suggestion-item-select-button span{display:none}.domain-picker__suggestion-item-select-button svg{fill:#2271b1;fill:var(--studio-blue-50);margin-right:10px;margin-left:-2px}@media (min-width:600px){.domain-picker__suggestion-item-select-button{background:#007cba;color:#fff;color:var(--studio-white);border-radius:2px;padding:0 12px;opacity:0;transition:opacity .2s ease-in-out;position:absolute;left:14px}.domain-picker__suggestion-item-select-button:hover{background:#0070a7}.domain-picker__suggestion-item-select-button span{display:inline-block}.domain-picker__suggestion-item-select-button svg{display:none}}.domain-picker__body{display:flex}@media (max-width:480px){.domain-picker__body{display:block}.domain-picker__body .domain-picker__aside{width:100%;padding:0}}.domain-picker__aside{width:220px;padding-left:30px}:root{--studio-white:#fff;--studio-black:#000;--studio-gray-0:#f6f7f7;--studio-gray-5:#dcdcde;--studio-gray-10:#c3c4c7;--studio-gray-20:#a7aaad;--studio-gray-30:#8c8f94;--studio-gray-40:#787c82;--studio-gray-50:#646970;--studio-gray-60:#50575e;--studio-gray-70:#3c434a;--studio-gray-80:#2c3338;--studio-gray-90:#1d2327;--studio-gray-100:#101517;--studio-gray:#646970;--studio-blue-0:#e9eff5;--studio-blue-5:#c5d9ed;--studio-blue-10:#9ec2e6;--studio-blue-20:#72aee6;--studio-blue-30:#5198d9;--studio-blue-40:#3582c4;--studio-blue-50:#2271b1;--studio-blue-60:#135e96;--studio-blue-70:#0a4b78;--studio-blue-80:#043959;--studio-blue-90:#01263a;--studio-blue-100:#00131c;--studio-blue:#2271b1;--studio-purple-0:#f2e9ed;--studio-purple-5:#ebcee0;--studio-purple-10:#e3afd5;--studio-purple-20:#d48fc8;--studio-purple-30:#c475bd;--studio-purple-40:#b35eb1;--studio-purple-50:#984a9c;--studio-purple-60:#7c3982;--studio-purple-70:#662c6e;--studio-purple-80:#4d2054;--studio-purple-90:#35163b;--studio-purple-100:#1e0c21;--studio-purple:#984a9c;--studio-pink-0:#f5e9ed;--studio-pink-5:#f2ceda;--studio-pink-10:#f7a8c3;--studio-pink-20:#f283aa;--studio-pink-30:#eb6594;--studio-pink-40:#e34c84;--studio-pink-50:#c9356e;--studio-pink-60:#ab235a;--studio-pink-70:#8c1749;--studio-pink-80:#700f3b;--studio-pink-90:#4f092a;--studio-pink-100:#260415;--studio-pink:#c9356e;--studio-red-0:#f7ebec;--studio-red-5:#facfd2;--studio-red-10:#ffabaf;--studio-red-20:#ff8085;--studio-red-30:#f86368;--studio-red-40:#e65054;--studio-red-50:#d63638;--studio-red-60:#b32d2e;--studio-red-70:#8a2424;--studio-red-80:#691c1c;--studio-red-90:#451313;--studio-red-100:#240a0a;--studio-red:#d63638;--studio-orange-0:#f5ece6;--studio-orange-5:#f7dcc6;--studio-orange-10:#ffbf86;--studio-orange-20:#faa754;--studio-orange-30:#e68b28;--studio-orange-40:#d67709;--studio-orange-50:#b26200;--studio-orange-60:#8a4d00;--studio-orange-70:#704000;--studio-orange-80:#543100;--studio-orange-90:#361f00;--studio-orange-100:#1f1200;--studio-orange:#b26200;--studio-yellow-0:#f5f1e1;--studio-yellow-5:#f5e6b3;--studio-yellow-10:#f2d76b;--studio-yellow-20:#f0c930;--studio-yellow-30:#deb100;--studio-yellow-40:#c08c00;--studio-yellow-50:#9d6e00;--studio-yellow-60:#7d5600;--studio-yellow-70:#674600;--studio-yellow-80:#4f3500;--studio-yellow-90:#320;--studio-yellow-100:#1c1300;--studio-yellow:#9d6e00;--studio-green-0:#e6f2e8;--studio-green-5:#b8e6bf;--studio-green-10:#68de86;--studio-green-20:#1ed15a;--studio-green-30:#00ba37;--studio-green-40:#00a32a;--studio-green-50:#008a20;--studio-green-60:#007017;--studio-green-70:#005c12;--studio-green-80:#00450c;--studio-green-90:#003008;--studio-green-100:#001c05;--studio-green:#008a20;--studio-celadon-0:#e4f2ed;--studio-celadon-5:#a7e8d4;--studio-celadon-10:#63d6b6;--studio-celadon-20:#2ebd99;--studio-celadon-30:#09a884;--studio-celadon-40:#009172;--studio-celadon-50:#007e65;--studio-celadon-60:#006753;--studio-celadon-70:#005042;--studio-celadon-80:#003b30;--studio-celadon-90:#002721;--studio-celadon-100:#001c17;--studio-celadon:#007e65;--studio-wordpress-blue-0:#e6f1f5;--studio-wordpress-blue-5:#bedae6;--studio-wordpress-blue-10:#98c6d9;--studio-wordpress-blue-20:#6ab3d0;--studio-wordpress-blue-30:#3895ba;--studio-wordpress-blue-40:#187aa2;--studio-wordpress-blue-50:#006088;--studio-wordpress-blue-60:#004e6e;--studio-wordpress-blue-70:#003c56;--studio-wordpress-blue-80:#002c40;--studio-wordpress-blue-90:#001d2d;--studio-wordpress-blue-100:#00101c;--studio-wordpress-blue:#006088;--studio-simplenote-blue-0:#e9ecf5;--studio-simplenote-blue-5:#ced9f2;--studio-simplenote-blue-10:#abc1f5;--studio-simplenote-blue-20:#84a4f0;--studio-simplenote-blue-30:#618df2;--studio-simplenote-blue-40:#4678eb;--studio-simplenote-blue-50:#3361cc;--studio-simplenote-blue-60:#1d4fc4;--studio-simplenote-blue-70:#113ead;--studio-simplenote-blue-80:#0d2f85;--studio-simplenote-blue-90:#09205c;--studio-simplenote-blue-100:#05102e;--studio-simplenote-blue:#3361cc;--studio-woocommerce-purple-0:#f7edf7;--studio-woocommerce-purple-5:#e5cfe8;--studio-woocommerce-purple-10:#d6b4e0;--studio-woocommerce-purple-20:#c792e0;--studio-woocommerce-purple-30:#af7dd1;--studio-woocommerce-purple-40:#9a69c7;--studio-woocommerce-purple-50:#7f54b3;--studio-woocommerce-purple-60:#674399;--studio-woocommerce-purple-70:#533582;--studio-woocommerce-purple-80:#3c2861;--studio-woocommerce-purple-90:#271b3d;--studio-woocommerce-purple-100:#140e1f;--studio-woocommerce-purple:#7f54b3;--studio-jetpack-green-0:#f0f2eb;--studio-jetpack-green-5:#d0e6b8;--studio-jetpack-green-10:#9dd977;--studio-jetpack-green-20:#64ca43;--studio-jetpack-green-30:#2fb41f;--studio-jetpack-green-40:#069e08;--studio-jetpack-green-50:#008710;--studio-jetpack-green-60:#007117;--studio-jetpack-green-70:#005b18;--studio-jetpack-green-80:#004515;--studio-jetpack-green-90:#003010;--studio-jetpack-green-100:#001c09;--studio-jetpack-green:#2fb41f}:root{--studio-white-rgb:255,255,255;--studio-black-rgb:0,0,0;--studio-gray-0-rgb:246,247,247;--studio-gray-5-rgb:220,220,222;--studio-gray-10-rgb:195,196,199;--studio-gray-20-rgb:167,170,173;--studio-gray-30-rgb:140,143,148;--studio-gray-40-rgb:120,124,130;--studio-gray-50-rgb:100,105,112;--studio-gray-60-rgb:80,87,94;--studio-gray-70-rgb:60,67,74;--studio-gray-80-rgb:44,51,56;--studio-gray-90-rgb:29,35,39;--studio-gray-100-rgb:16,21,23;--studio-gray-rgb:100,105,112;--studio-blue-0-rgb:233,239,245;--studio-blue-5-rgb:197,217,237;--studio-blue-10-rgb:158,194,230;--studio-blue-20-rgb:114,174,230;--studio-blue-30-rgb:81,152,217;--studio-blue-40-rgb:53,130,196;--studio-blue-50-rgb:34,113,177;--studio-blue-60-rgb:19,94,150;--studio-blue-70-rgb:10,75,120;--studio-blue-80-rgb:4,57,89;--studio-blue-90-rgb:1,38,58;--studio-blue-100-rgb:0,19,28;--studio-blue-rgb:34,113,177;--studio-purple-0-rgb:242,233,237;--studio-purple-5-rgb:235,206,224;--studio-purple-10-rgb:227,175,213;--studio-purple-20-rgb:212,143,200;--studio-purple-30-rgb:196,117,189;--studio-purple-40-rgb:179,94,177;--studio-purple-50-rgb:152,74,156;--studio-purple-60-rgb:124,57,130;--studio-purple-70-rgb:102,44,110;--studio-purple-80-rgb:77,32,84;--studio-purple-90-rgb:53,22,59;--studio-purple-100-rgb:30,12,33;--studio-purple-rgb:152,74,156;--studio-pink-0-rgb:245,233,237;--studio-pink-5-rgb:242,206,218;--studio-pink-10-rgb:247,168,195;--studio-pink-20-rgb:242,131,170;--studio-pink-30-rgb:235,101,148;--studio-pink-40-rgb:227,76,132;--studio-pink-50-rgb:201,53,110;--studio-pink-60-rgb:171,35,90;--studio-pink-70-rgb:140,23,73;--studio-pink-80-rgb:112,15,59;--studio-pink-90-rgb:79,9,42;--studio-pink-100-rgb:38,4,21;--studio-pink-rgb:201,53,110;--studio-red-0-rgb:247,235,236;--studio-red-5-rgb:250,207,210;--studio-red-10-rgb:255,171,175;--studio-red-20-rgb:255,128,133;--studio-red-30-rgb:248,99,104;--studio-red-40-rgb:230,80,84;--studio-red-50-rgb:214,54,56;--studio-red-60-rgb:179,45,46;--studio-red-70-rgb:138,36,36;--studio-red-80-rgb:105,28,28;--studio-red-90-rgb:69,19,19;--studio-red-100-rgb:36,10,10;--studio-red-rgb:214,54,56;--studio-orange-0-rgb:245,236,230;--studio-orange-5-rgb:247,220,198;--studio-orange-10-rgb:255,191,134;--studio-orange-20-rgb:250,167,84;--studio-orange-30-rgb:230,139,40;--studio-orange-40-rgb:214,119,9;--studio-orange-50-rgb:178,98,0;--studio-orange-60-rgb:138,77,0;--studio-orange-70-rgb:112,64,0;--studio-orange-80-rgb:84,49,0;--studio-orange-90-rgb:54,31,0;--studio-orange-100-rgb:31,18,0;--studio-orange-rgb:178,98,0;--studio-yellow-0-rgb:245,241,225;--studio-yellow-5-rgb:245,230,179;--studio-yellow-10-rgb:242,215,107;--studio-yellow-20-rgb:240,201,48;--studio-yellow-30-rgb:222,177,0;--studio-yellow-40-rgb:192,140,0;--studio-yellow-50-rgb:157,110,0;--studio-yellow-60-rgb:125,86,0;--studio-yellow-70-rgb:103,70,0;--studio-yellow-80-rgb:79,53,0;--studio-yellow-90-rgb:51,34,0;--studio-yellow-100-rgb:28,19,0;--studio-yellow-rgb:157,110,0;--studio-green-0-rgb:230,242,232;--studio-green-5-rgb:184,230,191;--studio-green-10-rgb:104,222,134;--studio-green-20-rgb:30,209,90;--studio-green-30-rgb:0,186,55;--studio-green-40-rgb:0,163,42;--studio-green-50-rgb:0,138,32;--studio-green-60-rgb:0,112,23;--studio-green-70-rgb:0,92,18;--studio-green-80-rgb:0,69,12;--studio-green-90-rgb:0,48,8;--studio-green-100-rgb:0,28,5;--studio-green-rgb:0,138,32;--studio-celadon-0-rgb:228,242,237;--studio-celadon-5-rgb:167,232,212;--studio-celadon-10-rgb:99,214,182;--studio-celadon-20-rgb:46,189,153;--studio-celadon-30-rgb:9,168,132;--studio-celadon-40-rgb:0,145,114;--studio-celadon-50-rgb:0,126,101;--studio-celadon-60-rgb:0,103,83;--studio-celadon-70-rgb:0,80,66;--studio-celadon-80-rgb:0,59,48;--studio-celadon-90-rgb:0,39,33;--studio-celadon-100-rgb:0,28,23;--studio-celadon-rgb:0,126,101;--studio-wordpress-blue-0-rgb:230,241,245;--studio-wordpress-blue-5-rgb:190,218,230;--studio-wordpress-blue-10-rgb:152,198,217;--studio-wordpress-blue-20-rgb:106,179,208;--studio-wordpress-blue-30-rgb:56,149,186;--studio-wordpress-blue-40-rgb:24,122,162;--studio-wordpress-blue-50-rgb:0,96,136;--studio-wordpress-blue-60-rgb:0,78,110;--studio-wordpress-blue-70-rgb:0,60,86;--studio-wordpress-blue-80-rgb:0,44,64;--studio-wordpress-blue-90-rgb:0,29,45;--studio-wordpress-blue-100-rgb:0,16,28;--studio-wordpress-blue-rgb:0,96,136;--studio-simplenote-blue-0-rgb:233,236,245;--studio-simplenote-blue-5-rgb:206,217,242;--studio-simplenote-blue-10-rgb:171,193,245;--studio-simplenote-blue-20-rgb:132,164,240;--studio-simplenote-blue-30-rgb:97,141,242;--studio-simplenote-blue-40-rgb:70,120,235;--studio-simplenote-blue-50-rgb:51,97,204;--studio-simplenote-blue-60-rgb:29,79,196;--studio-simplenote-blue-70-rgb:17,62,173;--studio-simplenote-blue-80-rgb:13,47,133;--studio-simplenote-blue-90-rgb:9,32,92;--studio-simplenote-blue-100-rgb:5,16,46;--studio-simplenote-blue-rgb:51,97,204;--studio-woocommerce-purple-0-rgb:247,237,247;--studio-woocommerce-purple-5-rgb:229,207,232;--studio-woocommerce-purple-10-rgb:214,180,224;--studio-woocommerce-purple-20-rgb:199,146,224;--studio-woocommerce-purple-30-rgb:175,125,209;--studio-woocommerce-purple-40-rgb:154,105,199;--studio-woocommerce-purple-50-rgb:127,84,179;--studio-woocommerce-purple-60-rgb:103,67,153;--studio-woocommerce-purple-70-rgb:83,53,130;--studio-woocommerce-purple-80-rgb:60,40,97;--studio-woocommerce-purple-90-rgb:39,27,61;--studio-woocommerce-purple-100-rgb:20,14,31;--studio-woocommerce-purple-rgb:127,84,179;--studio-jetpack-green-0-rgb:240,242,235;--studio-jetpack-green-5-rgb:208,230,184;--studio-jetpack-green-10-rgb:157,217,119;--studio-jetpack-green-20-rgb:100,202,67;--studio-jetpack-green-30-rgb:47,180,31;--studio-jetpack-green-40-rgb:6,158,8;--studio-jetpack-green-50-rgb:0,135,16;--studio-jetpack-green-60-rgb:0,113,23;--studio-jetpack-green-70-rgb:0,91,24;--studio-jetpack-green-80-rgb:0,69,21;--studio-jetpack-green-90-rgb:0,48,16;--studio-jetpack-green-100-rgb:0,28,9;--studio-jetpack-green-rgb:47,180,31}:root{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-pink-50);--color-accent-rgb:var(--studio-pink-50-rgb);--color-accent-dark:var(--studio-pink-70);--color-accent-dark-rgb:var(--studio-pink-70-rgb);--color-accent-light:var(--studio-pink-30);--color-accent-light-rgb:var(--studio-pink-30-rgb);--color-accent-0:var(--studio-pink-0);--color-accent-0-rgb:var(--studio-pink-0-rgb);--color-accent-5:var(--studio-pink-5);--color-accent-5-rgb:var(--studio-pink-5-rgb);--color-accent-10:var(--studio-pink-10);--color-accent-10-rgb:var(--studio-pink-10-rgb);--color-accent-20:var(--studio-pink-20);--color-accent-20-rgb:var(--studio-pink-20-rgb);--color-accent-30:var(--studio-pink-30);--color-accent-30-rgb:var(--studio-pink-30-rgb);--color-accent-40:var(--studio-pink-40);--color-accent-40-rgb:var(--studio-pink-40-rgb);--color-accent-50:var(--studio-pink-50);--color-accent-50-rgb:var(--studio-pink-50-rgb);--color-accent-60:var(--studio-pink-60);--color-accent-60-rgb:var(--studio-pink-60-rgb);--color-accent-70:var(--studio-pink-70);--color-accent-70-rgb:var(--studio-pink-70-rgb);--color-accent-80:var(--studio-pink-80);--color-accent-80-rgb:var(--studio-pink-80-rgb);--color-accent-90:var(--studio-pink-90);--color-accent-90-rgb:var(--studio-pink-90-rgb);--color-accent-100:var(--studio-pink-100);--color-accent-100-rgb:var(--studio-pink-100-rgb);--color-neutral:var(--studio-gray-50);--color-neutral-rgb:var(--studio-gray-50-rgb);--color-neutral-dark:var(--studio-gray-70);--color-neutral-dark-rgb:var(--studio-gray-70-rgb);--color-neutral-light:var(--studio-gray-30);--color-neutral-light-rgb:var(--studio-gray-30-rgb);--color-neutral-0:var(--studio-gray-0);--color-neutral-0-rgb:var(--studio-gray-0-rgb);--color-neutral-5:var(--studio-gray-5);--color-neutral-5-rgb:var(--studio-gray-5-rgb);--color-neutral-10:var(--studio-gray-10);--color-neutral-10-rgb:var(--studio-gray-10-rgb);--color-neutral-20:var(--studio-gray-20);--color-neutral-20-rgb:var(--studio-gray-20-rgb);--color-neutral-30:var(--studio-gray-30);--color-neutral-30-rgb:var(--studio-gray-30-rgb);--color-neutral-40:var(--studio-gray-40);--color-neutral-40-rgb:var(--studio-gray-40-rgb);--color-neutral-50:var(--studio-gray-50);--color-neutral-50-rgb:var(--studio-gray-50-rgb);--color-neutral-60:var(--studio-gray-60);--color-neutral-60-rgb:var(--studio-gray-60-rgb);--color-neutral-70:var(--studio-gray-70);--color-neutral-70-rgb:var(--studio-gray-70-rgb);--color-neutral-80:var(--studio-gray-80);--color-neutral-80-rgb:var(--studio-gray-80-rgb);--color-neutral-90:var(--studio-gray-90);--color-neutral-90-rgb:var(--studio-gray-90-rgb);--color-neutral-100:var(--studio-gray-100);--color-neutral-100-rgb:var(--studio-gray-100-rgb);--color-success:var(--studio-green-50);--color-success-rgb:var(--studio-green-50-rgb);--color-success-dark:var(--studio-green-70);--color-success-dark-rgb:var(--studio-green-70-rgb);--color-success-light:var(--studio-green-30);--color-success-light-rgb:var(--studio-green-30-rgb);--color-success-0:var(--studio-green-0);--color-success-0-rgb:var(--studio-green-0-rgb);--color-success-5:var(--studio-green-5);--color-success-5-rgb:var(--studio-green-5-rgb);--color-success-10:var(--studio-green-10);--color-success-10-rgb:var(--studio-green-10-rgb);--color-success-20:var(--studio-green-20);--color-success-20-rgb:var(--studio-green-20-rgb);--color-success-30:var(--studio-green-30);--color-success-30-rgb:var(--studio-green-30-rgb);--color-success-40:var(--studio-green-40);--color-success-40-rgb:var(--studio-green-40-rgb);--color-success-50:var(--studio-green-50);--color-success-50-rgb:var(--studio-green-50-rgb);--color-success-60:var(--studio-green-60);--color-success-60-rgb:var(--studio-green-60-rgb);--color-success-70:var(--studio-green-70);--color-success-70-rgb:var(--studio-green-70-rgb);--color-success-80:var(--studio-green-80);--color-success-80-rgb:var(--studio-green-80-rgb);--color-success-90:var(--studio-green-90);--color-success-90-rgb:var(--studio-green-90-rgb);--color-success-100:var(--studio-green-100);--color-success-100-rgb:var(--studio-green-100-rgb);--color-warning:var(--studio-yellow-50);--color-warning-rgb:var(--studio-yellow-50-rgb);--color-warning-dark:var(--studio-yellow-70);--color-warning-dark-rgb:var(--studio-yellow-70-rgb);--color-warning-light:var(--studio-yellow-30);--color-warning-light-rgb:var(--studio-yellow-30-rgb);--color-warning-0:var(--studio-yellow-0);--color-warning-0-rgb:var(--studio-yellow-0-rgb);--color-warning-5:var(--studio-yellow-5);--color-warning-5-rgb:var(--studio-yellow-5-rgb);--color-warning-10:var(--studio-yellow-10);--color-warning-10-rgb:var(--studio-yellow-10-rgb);--color-warning-20:var(--studio-yellow-20);--color-warning-20-rgb:var(--studio-yellow-20-rgb);--color-warning-30:var(--studio-yellow-30);--color-warning-30-rgb:var(--studio-yellow-30-rgb);--color-warning-40:var(--studio-yellow-40);--color-warning-40-rgb:var(--studio-yellow-40-rgb);--color-warning-50:var(--studio-yellow-50);--color-warning-50-rgb:var(--studio-yellow-50-rgb);--color-warning-60:var(--studio-yellow-60);--color-warning-60-rgb:var(--studio-yellow-60-rgb);--color-warning-70:var(--studio-yellow-70);--color-warning-70-rgb:var(--studio-yellow-70-rgb);--color-warning-80:var(--studio-yellow-80);--color-warning-80-rgb:var(--studio-yellow-80-rgb);--color-warning-90:var(--studio-yellow-90);--color-warning-90-rgb:var(--studio-yellow-90-rgb);--color-warning-100:var(--studio-yellow-100);--color-warning-100-rgb:var(--studio-yellow-100-rgb);--color-error:var(--studio-red-50);--color-error-rgb:var(--studio-red-50-rgb);--color-error-dark:var(--studio-red-70);--color-error-dark-rgb:var(--studio-red-70-rgb);--color-error-light:var(--studio-red-30);--color-error-light-rgb:var(--studio-red-30-rgb);--color-error-0:var(--studio-red-0);--color-error-0-rgb:var(--studio-red-0-rgb);--color-error-5:var(--studio-red-5);--color-error-5-rgb:var(--studio-red-5-rgb);--color-error-10:var(--studio-red-10);--color-error-10-rgb:var(--studio-red-10-rgb);--color-error-20:var(--studio-red-20);--color-error-20-rgb:var(--studio-red-20-rgb);--color-error-30:var(--studio-red-30);--color-error-30-rgb:var(--studio-red-30-rgb);--color-error-40:var(--studio-red-40);--color-error-40-rgb:var(--studio-red-40-rgb);--color-error-50:var(--studio-red-50);--color-error-50-rgb:var(--studio-red-50-rgb);--color-error-60:var(--studio-red-60);--color-error-60-rgb:var(--studio-red-60-rgb);--color-error-70:var(--studio-red-70);--color-error-70-rgb:var(--studio-red-70-rgb);--color-error-80:var(--studio-red-80);--color-error-80-rgb:var(--studio-red-80-rgb);--color-error-90:var(--studio-red-90);--color-error-90-rgb:var(--studio-red-90-rgb);--color-error-100:var(--studio-red-100);--color-error-100-rgb:var(--studio-red-100-rgb);--color-surface:var(--studio-white);--color-surface-rgb:var(--studio-white-rgb);--color-surface-backdrop:var(--studio-gray-0);--color-surface-backdrop-rgb:var(--studio-gray-0-rgb);--color-text:var(--studio-gray-80);--color-text-rgb:var(--studio-gray-80-rgb);--color-text-subtle:var(--studio-gray-50);--color-text-subtle-rgb:var(--studio-gray-50-rgb);--color-text-inverted:var(--studio-white);--color-text-inverted-rgb:var(--studio-white-rgb);--color-border:var(--color-neutral-20);--color-border-rgb:var(--color-neutral-20-rgb);--color-border-subtle:var(--color-neutral-5);--color-border-subtle-rgb:var(--color-neutral-5-rgb);--color-border-shadow:var(--color-neutral-0);--color-border-shadow-rgb:var(--color-neutral-0-rgb);--color-border-inverted:var(--studio-white);--color-border-inverted-rgb:var(--studio-white-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-plan-free:var(--studio-gray-30);--color-plan-blogger:var(--studio-celadon-30);--color-plan-personal:var(--studio-blue-30);--color-plan-premium:var(--studio-yellow-30);--color-plan-business:var(--studio-orange-30);--color-plan-ecommerce:var(--studio-purple-30);--color-jetpack-plan-free:var(--studio-blue-30);--color-jetpack-plan-personal:var(--studio-yellow-30);--color-jetpack-plan-premium:var(--studio-jetpack-green-30);--color-jetpack-plan-professional:var(--studio-purple-30);--color-masterbar-background:var(--studio-blue-60);--color-masterbar-border:var(--studio-blue-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-70);--color-masterbar-item-active-background:var(--studio-blue-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-blue-5);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-5-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-70);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-jetpack-onboarding-text:var(--studio-white);--color-jetpack-onboarding-text-rgb:var(--studio-white-rgb);--color-jetpack-onboarding-background:var(--studio-blue-100);--color-jetpack-onboarding-background-rgb:var(--studio-blue-100-rgb);--color-automattic:var(--studio-blue-40);--color-jetpack:var(--studio-jetpack-green);--color-simplenote:var(--studio-simplenote-blue);--color-woocommerce:var(--studio-woocommerce-purple);--color-wordpress-com:var(--studio-wordpress-blue);--color-wordpress-org:#585c60;--color-blogger:#ff5722;--color-eventbrite:#ff8000;--color-facebook:#39579a;--color-godaddy:#5ea95a;--color-google-plus:#df4a32;--color-instagram:#d93174;--color-linkedin:#0976b4;--color-medium:#12100e;--color-pinterest:#cc2127;--color-pocket:#ee4256;--color-print:#f8f8f8;--color-reddit:#5f99cf;--color-skype:#00aff0;--color-stumbleupon:#eb4924;--color-squarespace:#222;--color-telegram:#08c;--color-tumblr:#35465c;--color-twitter:#55acee;--color-whatsapp:#43d854;--color-wix:#faad4d;--color-email:var(--studio-gray-0);--color-podcasting:#9b4dd5;--color-wp-admin-button-background:#008ec2;--color-wp-admin-button-border:#006799}.color-scheme.is-classic-blue{--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-50)}.color-scheme.is-contrast{--color-primary:var(--studio-gray-80);--color-primary-rgb:var(--studio-gray-80-rgb);--color-primary-dark:var(--studio-gray-100);--color-primary-dark-rgb:var(--studio-gray-100-rgb);--color-primary-light:var(--studio-gray-60);--color-primary-light-rgb:var(--studio-gray-60-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-70);--color-accent-rgb:var(--studio-blue-70-rgb);--color-accent-dark:var(--studio-blue-90);--color-accent-dark-rgb:var(--studio-blue-90-rgb);--color-accent-light:var(--studio-blue-50);--color-accent-light-rgb:var(--studio-blue-50-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-surface-backdrop:var(--studio-white);--color-surface-backdrop-rgb:var(--studio-white-rgb);--color-text:var(--studio-gray-100);--color-text-rgb:var(--studio-gray-100-rgb);--color-text-subtle:var(--studio-gray-70);--color-text-subtle-rgb:var(--studio-gray-70-rgb);--color-link:var(--studio-blue-70);--color-link-rgb:var(--studio-blue-70-rgb);--color-link-dark:var(--studio-blue-100);--color-link-dark-rgb:var(--studio-blue-100-rgb);--color-link-light:var(--studio-blue-50);--color-link-light-rgb:var(--studio-blue-50-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-60);--color-masterbar-item-new-editor-background:var(--studio-gray-70);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-90);--color-masterbar-unread-dot-background:var(--studio-yellow-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-90);--color-sidebar-text-rgb:var(--studio-gray-90-rgb);--color-sidebar-text-alternative:var(--studio-gray-90);--color-sidebar-gridicon-fill:var(--studio-gray-90);--color-sidebar-menu-selected-background:var(--studio-gray-100);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-60);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-midnight{--color-primary:var(--studio-gray-70);--color-primary-rgb:var(--studio-gray-70-rgb);--color-primary-dark:var(--studio-gray-80);--color-primary-dark-rgb:var(--studio-gray-80-rgb);--color-primary-light:var(--studio-gray-50);--color-primary-light-rgb:var(--studio-gray-50-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-red-60);--color-link-rgb:var(--studio-red-60-rgb);--color-link-dark:var(--studio-red-70);--color-link-dark-rgb:var(--studio-red-70-rgb);--color-link-light:var(--studio-red-30);--color-link-light-rgb:var(--studio-red-30-rgb);--color-link-0:var(--studio-red-0);--color-link-0-rgb:var(--studio-red-0-rgb);--color-link-5:var(--studio-red-5);--color-link-5-rgb:var(--studio-red-5-rgb);--color-link-10:var(--studio-red-10);--color-link-10-rgb:var(--studio-red-10-rgb);--color-link-20:var(--studio-red-20);--color-link-20-rgb:var(--studio-red-20-rgb);--color-link-30:var(--studio-red-30);--color-link-30-rgb:var(--studio-red-30-rgb);--color-link-40:var(--studio-red-40);--color-link-40-rgb:var(--studio-red-40-rgb);--color-link-50:var(--studio-red-50);--color-link-50-rgb:var(--studio-red-50-rgb);--color-link-60:var(--studio-red-60);--color-link-60-rgb:var(--studio-red-60-rgb);--color-link-70:var(--studio-red-70);--color-link-70-rgb:var(--studio-red-70-rgb);--color-link-80:var(--studio-red-80);--color-link-80-rgb:var(--studio-red-80-rgb);--color-link-90:var(--studio-red-90);--color-link-90-rgb:var(--studio-red-90-rgb);--color-link-100:var(--studio-red-100);--color-link-100-rgb:var(--studio-red-100-rgb);--color-masterbar-background:var(--studio-gray-70);--color-masterbar-border:var(--studio-gray-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-90);--color-sidebar-background-rgb:var(--studio-gray-90-rgb);--color-sidebar-border:var(--studio-gray-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-gray-20);--color-sidebar-gridicon-fill:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-red-50);--color-sidebar-menu-selected-background-rgb:var(--studio-red-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-80);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-nightfall{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-blue-100);--color-masterbar-border:var(--studio-blue-100);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-80);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-80);--color-sidebar-background-rgb:var(--studio-blue-80-rgb);--color-sidebar-border:var(--studio-blue-90);--color-sidebar-text:var(--studio-blue-5);--color-sidebar-text-rgb:var(--studio-blue-5-rgb);--color-sidebar-text-alternative:var(--studio-blue-20);--color-sidebar-gridicon-fill:var(--studio-blue-10);--color-sidebar-menu-selected-background:var(--studio-blue-100);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-70);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-ocean{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-celadon-50);--color-accent-rgb:var(--studio-celadon-50-rgb);--color-accent-dark:var(--studio-celadon-70);--color-accent-dark-rgb:var(--studio-celadon-70-rgb);--color-accent-light:var(--studio-celadon-30);--color-accent-light-rgb:var(--studio-celadon-30-rgb);--color-accent-0:var(--studio-celadon-0);--color-accent-0-rgb:var(--studio-celadon-0-rgb);--color-accent-5:var(--studio-celadon-5);--color-accent-5-rgb:var(--studio-celadon-5-rgb);--color-accent-10:var(--studio-celadon-10);--color-accent-10-rgb:var(--studio-celadon-10-rgb);--color-accent-20:var(--studio-celadon-20);--color-accent-20-rgb:var(--studio-celadon-20-rgb);--color-accent-30:var(--studio-celadon-30);--color-accent-30-rgb:var(--studio-celadon-30-rgb);--color-accent-40:var(--studio-celadon-40);--color-accent-40-rgb:var(--studio-celadon-40-rgb);--color-accent-50:var(--studio-celadon-50);--color-accent-50-rgb:var(--studio-celadon-50-rgb);--color-accent-60:var(--studio-celadon-60);--color-accent-60-rgb:var(--studio-celadon-60-rgb);--color-accent-70:var(--studio-celadon-70);--color-accent-70-rgb:var(--studio-celadon-70-rgb);--color-accent-80:var(--studio-celadon-80);--color-accent-80-rgb:var(--studio-celadon-80-rgb);--color-accent-90:var(--studio-celadon-90);--color-accent-90-rgb:var(--studio-celadon-90-rgb);--color-accent-100:var(--studio-celadon-100);--color-accent-100-rgb:var(--studio-celadon-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-blue-80);--color-masterbar-border:var(--studio-blue-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-60);--color-sidebar-background-rgb:var(--studio-blue-60-rgb);--color-sidebar-border:var(--studio-blue-70);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-blue-5);--color-sidebar-gridicon-fill:var(--studio-blue-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-90);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-90-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-50);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-powder-snow{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-70);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-60)}.color-scheme.is-sakura{--color-primary:var(--studio-celadon-50);--color-primary-rgb:var(--studio-celadon-50-rgb);--color-primary-dark:var(--studio-celadon-70);--color-primary-dark-rgb:var(--studio-celadon-70-rgb);--color-primary-light:var(--studio-celadon-30);--color-primary-light-rgb:var(--studio-celadon-30-rgb);--color-primary-0:var(--studio-celadon-0);--color-primary-0-rgb:var(--studio-celadon-0-rgb);--color-primary-5:var(--studio-celadon-5);--color-primary-5-rgb:var(--studio-celadon-5-rgb);--color-primary-10:var(--studio-celadon-10);--color-primary-10-rgb:var(--studio-celadon-10-rgb);--color-primary-20:var(--studio-celadon-20);--color-primary-20-rgb:var(--studio-celadon-20-rgb);--color-primary-30:var(--studio-celadon-30);--color-primary-30-rgb:var(--studio-celadon-30-rgb);--color-primary-40:var(--studio-celadon-40);--color-primary-40-rgb:var(--studio-celadon-40-rgb);--color-primary-50:var(--studio-celadon-50);--color-primary-50-rgb:var(--studio-celadon-50-rgb);--color-primary-60:var(--studio-celadon-60);--color-primary-60-rgb:var(--studio-celadon-60-rgb);--color-primary-70:var(--studio-celadon-70);--color-primary-70-rgb:var(--studio-celadon-70-rgb);--color-primary-80:var(--studio-celadon-80);--color-primary-80-rgb:var(--studio-celadon-80-rgb);--color-primary-90:var(--studio-celadon-90);--color-primary-90-rgb:var(--studio-celadon-90-rgb);--color-primary-100:var(--studio-celadon-100);--color-primary-100-rgb:var(--studio-celadon-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-celadon-70);--color-masterbar-border:var(--studio-celadon-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-celadon-80);--color-masterbar-item-active-background:var(--studio-celadon-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-pink-5);--color-sidebar-background-rgb:var(--studio-pink-5-rgb);--color-sidebar-border:var(--studio-pink-10);--color-sidebar-text:var(--studio-pink-80);--color-sidebar-text-rgb:var(--studio-pink-80-rgb);--color-sidebar-text-alternative:var(--studio-pink-60);--color-sidebar-gridicon-fill:var(--studio-pink-70);--color-sidebar-menu-selected-background:var(--studio-blue-50);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-pink-10);--color-sidebar-menu-hover-background-rgb:var(--studio-pink-10-rgb);--color-sidebar-menu-hover-text:var(--studio-pink-90)}.color-scheme.is-sunset{--color-primary:var(--studio-red-50);--color-primary-rgb:var(--studio-red-50-rgb);--color-primary-dark:var(--studio-red-70);--color-primary-dark-rgb:var(--studio-red-70-rgb);--color-primary-light:var(--studio-red-30);--color-primary-light-rgb:var(--studio-red-30-rgb);--color-primary-0:var(--studio-red-0);--color-primary-0-rgb:var(--studio-red-0-rgb);--color-primary-5:var(--studio-red-5);--color-primary-5-rgb:var(--studio-red-5-rgb);--color-primary-10:var(--studio-red-10);--color-primary-10-rgb:var(--studio-red-10-rgb);--color-primary-20:var(--studio-red-20);--color-primary-20-rgb:var(--studio-red-20-rgb);--color-primary-30:var(--studio-red-30);--color-primary-30-rgb:var(--studio-red-30-rgb);--color-primary-40:var(--studio-red-40);--color-primary-40-rgb:var(--studio-red-40-rgb);--color-primary-50:var(--studio-red-50);--color-primary-50-rgb:var(--studio-red-50-rgb);--color-primary-60:var(--studio-red-60);--color-primary-60-rgb:var(--studio-red-60-rgb);--color-primary-70:var(--studio-red-70);--color-primary-70-rgb:var(--studio-red-70-rgb);--color-primary-80:var(--studio-red-80);--color-primary-80-rgb:var(--studio-red-80-rgb);--color-primary-90:var(--studio-red-90);--color-primary-90-rgb:var(--studio-red-90-rgb);--color-primary-100:var(--studio-red-100);--color-primary-100-rgb:var(--studio-red-100-rgb);--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-link:var(--studio-orange-50);--color-link-rgb:var(--studio-orange-50-rgb);--color-link-dark:var(--studio-orange-70);--color-link-dark-rgb:var(--studio-orange-70-rgb);--color-link-light:var(--studio-orange-30);--color-link-light-rgb:var(--studio-orange-30-rgb);--color-link-0:var(--studio-orange-0);--color-link-0-rgb:var(--studio-orange-0-rgb);--color-link-5:var(--studio-orange-5);--color-link-5-rgb:var(--studio-orange-5-rgb);--color-link-10:var(--studio-orange-10);--color-link-10-rgb:var(--studio-orange-10-rgb);--color-link-20:var(--studio-orange-20);--color-link-20-rgb:var(--studio-orange-20-rgb);--color-link-30:var(--studio-orange-30);--color-link-30-rgb:var(--studio-orange-30-rgb);--color-link-40:var(--studio-orange-40);--color-link-40-rgb:var(--studio-orange-40-rgb);--color-link-50:var(--studio-orange-50);--color-link-50-rgb:var(--studio-orange-50-rgb);--color-link-60:var(--studio-orange-60);--color-link-60-rgb:var(--studio-orange-60-rgb);--color-link-70:var(--studio-orange-70);--color-link-70-rgb:var(--studio-orange-70-rgb);--color-link-80:var(--studio-orange-80);--color-link-80-rgb:var(--studio-orange-80-rgb);--color-link-90:var(--studio-orange-90);--color-link-90-rgb:var(--studio-orange-90-rgb);--color-link-100:var(--studio-orange-100);--color-link-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--studio-red-80);--color-masterbar-border:var(--studio-red-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-red-90);--color-masterbar-item-active-background:var(--studio-red-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-red-70);--color-sidebar-background-rgb:var(--studio-red-70-rgb);--color-sidebar-border:var(--studio-red-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-red-10);--color-sidebar-gridicon-fill:var(--studio-red-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-yellow-80);--color-sidebar-menu-selected-text-rgb:var(--studio-yellow-80-rgb);--color-sidebar-menu-hover-background:var(--studio-red-80);--color-sidebar-menu-hover-background-rgb:var(--studio-red-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-jetpack-cloud,.theme-jetpack-cloud{--color-primary:var(--studio-jetpack-green);--color-primary-rgb:var(--studio-jetpack-green-rgb);--color-primary-dark:var(--studio-jetpack-green-70);--color-primary-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-light:var(--studio-jetpack-green-30);--color-primary-light-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-0:var(--studio-jetpack-green-0);--color-primary-0-rgb:var(--studio-jetpack-green-0-rgb);--color-primary-5:var(--studio-jetpack-green-5);--color-primary-5-rgb:var(--studio-jetpack-green-5-rgb);--color-primary-10:var(--studio-jetpack-green-10);--color-primary-10-rgb:var(--studio-jetpack-green-10-rgb);--color-primary-20:var(--studio-jetpack-green-20);--color-primary-20-rgb:var(--studio-jetpack-green-20-rgb);--color-primary-30:var(--studio-jetpack-green-30);--color-primary-30-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-40:var(--studio-jetpack-green-40);--color-primary-40-rgb:var(--studio-jetpack-green-40-rgb);--color-primary-50:var(--studio-jetpack-green-50);--color-primary-50-rgb:var(--studio-jetpack-green-50-rgb);--color-primary-60:var(--studio-jetpack-green-60);--color-primary-60-rgb:var(--studio-jetpack-green-60-rgb);--color-primary-70:var(--studio-jetpack-green-70);--color-primary-70-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-80:var(--studio-jetpack-green-80);--color-primary-80-rgb:var(--studio-jetpack-green-80-rgb);--color-primary-90:var(--studio-jetpack-green-90);--color-primary-90-rgb:var(--studio-jetpack-green-90-rgb);--color-primary-100:var(--studio-jetpack-green-100);--color-primary-100-rgb:var(--studio-jetpack-green-100-rgb);--color-accent:var(--studio-jetpack-green);--color-accent-rgb:var(--studio-jetpack-green-rgb);--color-accent-dark:var(--studio-jetpack-green-70);--color-accent-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-light:var(--studio-jetpack-green-30);--color-accent-light-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-0:var(--studio-jetpack-green-0);--color-accent-0-rgb:var(--studio-jetpack-green-0-rgb);--color-accent-5:var(--studio-jetpack-green-5);--color-accent-5-rgb:var(--studio-jetpack-green-5-rgb);--color-accent-10:var(--studio-jetpack-green-10);--color-accent-10-rgb:var(--studio-jetpack-green-10-rgb);--color-accent-20:var(--studio-jetpack-green-20);--color-accent-20-rgb:var(--studio-jetpack-green-20-rgb);--color-accent-30:var(--studio-jetpack-green-30);--color-accent-30-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-40:var(--studio-jetpack-green-40);--color-accent-40-rgb:var(--studio-jetpack-green-40-rgb);--color-accent-50:var(--studio-jetpack-green-50);--color-accent-50-rgb:var(--studio-jetpack-green-50-rgb);--color-accent-60:var(--studio-jetpack-green-60);--color-accent-60-rgb:var(--studio-jetpack-green-60-rgb);--color-accent-70:var(--studio-jetpack-green-70);--color-accent-70-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-80:var(--studio-jetpack-green-80);--color-accent-80-rgb:var(--studio-jetpack-green-80-rgb);--color-accent-90:var(--studio-jetpack-green-90);--color-accent-90-rgb:var(--studio-jetpack-green-90-rgb);--color-accent-100:var(--studio-jetpack-green-100);--color-accent-100-rgb:var(--studio-jetpack-green-100-rgb);--color-link:var(--studio-jetpack-green-40);--color-link-rgb:var(--studio-jetpack-green-40-rgb);--color-link-dark:var(--studio-jetpack-green-60);--color-link-dark-rgb:var(--studio-jetpack-green-60-rgb);--color-link-light:var(--studio-jetpack-green-20);--color-link-light-rgb:var(--studio-jetpack-green-20-rgb);--color-link-0:var(--studio-jetpack-green-0);--color-link-0-rgb:var(--studio-jetpack-green-0-rgb);--color-link-5:var(--studio-jetpack-green-5);--color-link-5-rgb:var(--studio-jetpack-green-5-rgb);--color-link-10:var(--studio-jetpack-green-10);--color-link-10-rgb:var(--studio-jetpack-green-10-rgb);--color-link-20:var(--studio-jetpack-green-20);--color-link-20-rgb:var(--studio-jetpack-green-20-rgb);--color-link-30:var(--studio-jetpack-green-30);--color-link-30-rgb:var(--studio-jetpack-green-30-rgb);--color-link-40:var(--studio-jetpack-green-40);--color-link-40-rgb:var(--studio-jetpack-green-40-rgb);--color-link-50:var(--studio-jetpack-green-50);--color-link-50-rgb:var(--studio-jetpack-green-50-rgb);--color-link-60:var(--studio-jetpack-green-60);--color-link-60-rgb:var(--studio-jetpack-green-60-rgb);--color-link-70:var(--studio-jetpack-green-70);--color-link-70-rgb:var(--studio-jetpack-green-70-rgb);--color-link-80:var(--studio-jetpack-green-80);--color-link-80-rgb:var(--studio-jetpack-green-80-rgb);--color-link-90:var(--studio-jetpack-green-90);--color-link-90-rgb:var(--studio-jetpack-green-90-rgb);--color-link-100:var(--studio-jetpack-green-100);--color-link-100-rgb:var(--studio-jetpack-green-100-rgb);--color-masterbar-background:var(--studio-white);--color-masterbar-border:var(--studio-gray-5);--color-masterbar-text:var(--studio-gray-50);--color-masterbar-item-hover-background:var(--studio-white);--color-masterbar-item-active-background:var(--studio-white);--color-masterbar-item-new-editor-background:var(--studio-white);--color-masterbar-item-new-editor-hover-background:var(--studio-white);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-white);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-60);--color-sidebar-text-rgb:var(--studio-gray-60-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-60);--color-sidebar-menu-selected-text:var(--studio-jetpack-green-50);--color-sidebar-menu-selected-text-rgb:var(--studio-jetpack-green-50-rgb);--color-sidebar-menu-selected-background:var(--studio-jetpack-green-5);--color-sidebar-menu-selected-background-rgb:var(--studio-jetpack-green-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-scary-0:var(--studio-red-0);--color-scary-5:var(--studio-red-5);--color-scary-40:var(--studio-red-40);--color-scary-50:var(--studio-red-50);--color-scary-60:var(--studio-red-60)}@media (max-width:480px){.domain-categories{margin-bottom:20px}.domain-categories .domain-categories__dropdown-button.components-button{display:block;margin-bottom:0}.domain-categories .domain-categories__item-group{display:none}.domain-categories.is-open .domain-categories__item-group{display:block}}.domain-categories__dropdown-button.components-button{width:100%;text-align:center;margin-bottom:8px;height:40px;border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);display:none}.domain-categories__dropdown-button.components-button>*{vertical-align:middle}.domain-categories__dropdown-button.components-button svg{margin-right:5px}@media (max-width:480px){.domain-categories__item-group{text-align:center;border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);margin-top:-1px}}.domain-categories__item .components-button{color:#101517;color:var(--studio-gray-100);width:100%;text-align:right}.domain-categories__item .components-button:focus,.domain-categories__item .components-button:hover{color:#101517;color:var(--studio-gray-100);box-shadow:none;font-weight:600;text-decoration:underline}.domain-categories__item.is-selected .components-button{font-weight:600;text-decoration:underline}@media (max-width:480px){.domain-categories__item .components-button{display:block;text-align:center}}html:not(.accessible-focus) .domain-categories__item .components-button:focus{box-shadow:none}
|
1 |
+
:root{--studio-white:#fff;--studio-black:#000;--studio-gray-0:#f6f7f7;--studio-gray-5:#dcdcde;--studio-gray-10:#c3c4c7;--studio-gray-20:#a7aaad;--studio-gray-30:#8c8f94;--studio-gray-40:#787c82;--studio-gray-50:#646970;--studio-gray-60:#50575e;--studio-gray-70:#3c434a;--studio-gray-80:#2c3338;--studio-gray-90:#1d2327;--studio-gray-100:#101517;--studio-gray:#646970;--studio-blue-0:#e9eff5;--studio-blue-5:#c5d9ed;--studio-blue-10:#9ec2e6;--studio-blue-20:#72aee6;--studio-blue-30:#5198d9;--studio-blue-40:#3582c4;--studio-blue-50:#2271b1;--studio-blue-60:#135e96;--studio-blue-70:#0a4b78;--studio-blue-80:#043959;--studio-blue-90:#01263a;--studio-blue-100:#00131c;--studio-blue:#2271b1;--studio-purple-0:#f2e9ed;--studio-purple-5:#ebcee0;--studio-purple-10:#e3afd5;--studio-purple-20:#d48fc8;--studio-purple-30:#c475bd;--studio-purple-40:#b35eb1;--studio-purple-50:#984a9c;--studio-purple-60:#7c3982;--studio-purple-70:#662c6e;--studio-purple-80:#4d2054;--studio-purple-90:#35163b;--studio-purple-100:#1e0c21;--studio-purple:#984a9c;--studio-pink-0:#f5e9ed;--studio-pink-5:#f2ceda;--studio-pink-10:#f7a8c3;--studio-pink-20:#f283aa;--studio-pink-30:#eb6594;--studio-pink-40:#e34c84;--studio-pink-50:#c9356e;--studio-pink-60:#ab235a;--studio-pink-70:#8c1749;--studio-pink-80:#700f3b;--studio-pink-90:#4f092a;--studio-pink-100:#260415;--studio-pink:#c9356e;--studio-red-0:#f7ebec;--studio-red-5:#facfd2;--studio-red-10:#ffabaf;--studio-red-20:#ff8085;--studio-red-30:#f86368;--studio-red-40:#e65054;--studio-red-50:#d63638;--studio-red-60:#b32d2e;--studio-red-70:#8a2424;--studio-red-80:#691c1c;--studio-red-90:#451313;--studio-red-100:#240a0a;--studio-red:#d63638;--studio-orange-0:#f5ece6;--studio-orange-5:#f7dcc6;--studio-orange-10:#ffbf86;--studio-orange-20:#faa754;--studio-orange-30:#e68b28;--studio-orange-40:#d67709;--studio-orange-50:#b26200;--studio-orange-60:#8a4d00;--studio-orange-70:#704000;--studio-orange-80:#543100;--studio-orange-90:#361f00;--studio-orange-100:#1f1200;--studio-orange:#b26200;--studio-yellow-0:#f5f1e1;--studio-yellow-5:#f5e6b3;--studio-yellow-10:#f2d76b;--studio-yellow-20:#f0c930;--studio-yellow-30:#deb100;--studio-yellow-40:#c08c00;--studio-yellow-50:#9d6e00;--studio-yellow-60:#7d5600;--studio-yellow-70:#674600;--studio-yellow-80:#4f3500;--studio-yellow-90:#320;--studio-yellow-100:#1c1300;--studio-yellow:#9d6e00;--studio-green-0:#e6f2e8;--studio-green-5:#b8e6bf;--studio-green-10:#68de86;--studio-green-20:#1ed15a;--studio-green-30:#00ba37;--studio-green-40:#00a32a;--studio-green-50:#008a20;--studio-green-60:#007017;--studio-green-70:#005c12;--studio-green-80:#00450c;--studio-green-90:#003008;--studio-green-100:#001c05;--studio-green:#008a20;--studio-celadon-0:#e4f2ed;--studio-celadon-5:#a7e8d4;--studio-celadon-10:#63d6b6;--studio-celadon-20:#2ebd99;--studio-celadon-30:#09a884;--studio-celadon-40:#009172;--studio-celadon-50:#007e65;--studio-celadon-60:#006753;--studio-celadon-70:#005042;--studio-celadon-80:#003b30;--studio-celadon-90:#002721;--studio-celadon-100:#001c17;--studio-celadon:#007e65;--studio-wordpress-blue-0:#e6f1f5;--studio-wordpress-blue-5:#bedae6;--studio-wordpress-blue-10:#98c6d9;--studio-wordpress-blue-20:#6ab3d0;--studio-wordpress-blue-30:#3895ba;--studio-wordpress-blue-40:#187aa2;--studio-wordpress-blue-50:#006088;--studio-wordpress-blue-60:#004e6e;--studio-wordpress-blue-70:#003c56;--studio-wordpress-blue-80:#002c40;--studio-wordpress-blue-90:#001d2d;--studio-wordpress-blue-100:#00101c;--studio-wordpress-blue:#006088;--studio-simplenote-blue-0:#e9ecf5;--studio-simplenote-blue-5:#ced9f2;--studio-simplenote-blue-10:#abc1f5;--studio-simplenote-blue-20:#84a4f0;--studio-simplenote-blue-30:#618df2;--studio-simplenote-blue-40:#4678eb;--studio-simplenote-blue-50:#3361cc;--studio-simplenote-blue-60:#1d4fc4;--studio-simplenote-blue-70:#113ead;--studio-simplenote-blue-80:#0d2f85;--studio-simplenote-blue-90:#09205c;--studio-simplenote-blue-100:#05102e;--studio-simplenote-blue:#3361cc;--studio-woocommerce-purple-0:#f7edf7;--studio-woocommerce-purple-5:#e5cfe8;--studio-woocommerce-purple-10:#d6b4e0;--studio-woocommerce-purple-20:#c792e0;--studio-woocommerce-purple-30:#af7dd1;--studio-woocommerce-purple-40:#9a69c7;--studio-woocommerce-purple-50:#7f54b3;--studio-woocommerce-purple-60:#674399;--studio-woocommerce-purple-70:#533582;--studio-woocommerce-purple-80:#3c2861;--studio-woocommerce-purple-90:#271b3d;--studio-woocommerce-purple-100:#140e1f;--studio-woocommerce-purple:#7f54b3;--studio-jetpack-green-0:#f0f2eb;--studio-jetpack-green-5:#d0e6b8;--studio-jetpack-green-10:#9dd977;--studio-jetpack-green-20:#64ca43;--studio-jetpack-green-30:#2fb41f;--studio-jetpack-green-40:#069e08;--studio-jetpack-green-50:#008710;--studio-jetpack-green-60:#007117;--studio-jetpack-green-70:#005b18;--studio-jetpack-green-80:#004515;--studio-jetpack-green-90:#003010;--studio-jetpack-green-100:#001c09;--studio-jetpack-green:#2fb41f;--studio-white-rgb:255,255,255;--studio-black-rgb:0,0,0;--studio-gray-0-rgb:246,247,247;--studio-gray-5-rgb:220,220,222;--studio-gray-10-rgb:195,196,199;--studio-gray-20-rgb:167,170,173;--studio-gray-30-rgb:140,143,148;--studio-gray-40-rgb:120,124,130;--studio-gray-50-rgb:100,105,112;--studio-gray-60-rgb:80,87,94;--studio-gray-70-rgb:60,67,74;--studio-gray-80-rgb:44,51,56;--studio-gray-90-rgb:29,35,39;--studio-gray-100-rgb:16,21,23;--studio-gray-rgb:100,105,112;--studio-blue-0-rgb:233,239,245;--studio-blue-5-rgb:197,217,237;--studio-blue-10-rgb:158,194,230;--studio-blue-20-rgb:114,174,230;--studio-blue-30-rgb:81,152,217;--studio-blue-40-rgb:53,130,196;--studio-blue-50-rgb:34,113,177;--studio-blue-60-rgb:19,94,150;--studio-blue-70-rgb:10,75,120;--studio-blue-80-rgb:4,57,89;--studio-blue-90-rgb:1,38,58;--studio-blue-100-rgb:0,19,28;--studio-blue-rgb:34,113,177;--studio-purple-0-rgb:242,233,237;--studio-purple-5-rgb:235,206,224;--studio-purple-10-rgb:227,175,213;--studio-purple-20-rgb:212,143,200;--studio-purple-30-rgb:196,117,189;--studio-purple-40-rgb:179,94,177;--studio-purple-50-rgb:152,74,156;--studio-purple-60-rgb:124,57,130;--studio-purple-70-rgb:102,44,110;--studio-purple-80-rgb:77,32,84;--studio-purple-90-rgb:53,22,59;--studio-purple-100-rgb:30,12,33;--studio-purple-rgb:152,74,156;--studio-pink-0-rgb:245,233,237;--studio-pink-5-rgb:242,206,218;--studio-pink-10-rgb:247,168,195;--studio-pink-20-rgb:242,131,170;--studio-pink-30-rgb:235,101,148;--studio-pink-40-rgb:227,76,132;--studio-pink-50-rgb:201,53,110;--studio-pink-60-rgb:171,35,90;--studio-pink-70-rgb:140,23,73;--studio-pink-80-rgb:112,15,59;--studio-pink-90-rgb:79,9,42;--studio-pink-100-rgb:38,4,21;--studio-pink-rgb:201,53,110;--studio-red-0-rgb:247,235,236;--studio-red-5-rgb:250,207,210;--studio-red-10-rgb:255,171,175;--studio-red-20-rgb:255,128,133;--studio-red-30-rgb:248,99,104;--studio-red-40-rgb:230,80,84;--studio-red-50-rgb:214,54,56;--studio-red-60-rgb:179,45,46;--studio-red-70-rgb:138,36,36;--studio-red-80-rgb:105,28,28;--studio-red-90-rgb:69,19,19;--studio-red-100-rgb:36,10,10;--studio-red-rgb:214,54,56;--studio-orange-0-rgb:245,236,230;--studio-orange-5-rgb:247,220,198;--studio-orange-10-rgb:255,191,134;--studio-orange-20-rgb:250,167,84;--studio-orange-30-rgb:230,139,40;--studio-orange-40-rgb:214,119,9;--studio-orange-50-rgb:178,98,0;--studio-orange-60-rgb:138,77,0;--studio-orange-70-rgb:112,64,0;--studio-orange-80-rgb:84,49,0;--studio-orange-90-rgb:54,31,0;--studio-orange-100-rgb:31,18,0;--studio-orange-rgb:178,98,0;--studio-yellow-0-rgb:245,241,225;--studio-yellow-5-rgb:245,230,179;--studio-yellow-10-rgb:242,215,107;--studio-yellow-20-rgb:240,201,48;--studio-yellow-30-rgb:222,177,0;--studio-yellow-40-rgb:192,140,0;--studio-yellow-50-rgb:157,110,0;--studio-yellow-60-rgb:125,86,0;--studio-yellow-70-rgb:103,70,0;--studio-yellow-80-rgb:79,53,0;--studio-yellow-90-rgb:51,34,0;--studio-yellow-100-rgb:28,19,0;--studio-yellow-rgb:157,110,0;--studio-green-0-rgb:230,242,232;--studio-green-5-rgb:184,230,191;--studio-green-10-rgb:104,222,134;--studio-green-20-rgb:30,209,90;--studio-green-30-rgb:0,186,55;--studio-green-40-rgb:0,163,42;--studio-green-50-rgb:0,138,32;--studio-green-60-rgb:0,112,23;--studio-green-70-rgb:0,92,18;--studio-green-80-rgb:0,69,12;--studio-green-90-rgb:0,48,8;--studio-green-100-rgb:0,28,5;--studio-green-rgb:0,138,32;--studio-celadon-0-rgb:228,242,237;--studio-celadon-5-rgb:167,232,212;--studio-celadon-10-rgb:99,214,182;--studio-celadon-20-rgb:46,189,153;--studio-celadon-30-rgb:9,168,132;--studio-celadon-40-rgb:0,145,114;--studio-celadon-50-rgb:0,126,101;--studio-celadon-60-rgb:0,103,83;--studio-celadon-70-rgb:0,80,66;--studio-celadon-80-rgb:0,59,48;--studio-celadon-90-rgb:0,39,33;--studio-celadon-100-rgb:0,28,23;--studio-celadon-rgb:0,126,101;--studio-wordpress-blue-0-rgb:230,241,245;--studio-wordpress-blue-5-rgb:190,218,230;--studio-wordpress-blue-10-rgb:152,198,217;--studio-wordpress-blue-20-rgb:106,179,208;--studio-wordpress-blue-30-rgb:56,149,186;--studio-wordpress-blue-40-rgb:24,122,162;--studio-wordpress-blue-50-rgb:0,96,136;--studio-wordpress-blue-60-rgb:0,78,110;--studio-wordpress-blue-70-rgb:0,60,86;--studio-wordpress-blue-80-rgb:0,44,64;--studio-wordpress-blue-90-rgb:0,29,45;--studio-wordpress-blue-100-rgb:0,16,28;--studio-wordpress-blue-rgb:0,96,136;--studio-simplenote-blue-0-rgb:233,236,245;--studio-simplenote-blue-5-rgb:206,217,242;--studio-simplenote-blue-10-rgb:171,193,245;--studio-simplenote-blue-20-rgb:132,164,240;--studio-simplenote-blue-30-rgb:97,141,242;--studio-simplenote-blue-40-rgb:70,120,235;--studio-simplenote-blue-50-rgb:51,97,204;--studio-simplenote-blue-60-rgb:29,79,196;--studio-simplenote-blue-70-rgb:17,62,173;--studio-simplenote-blue-80-rgb:13,47,133;--studio-simplenote-blue-90-rgb:9,32,92;--studio-simplenote-blue-100-rgb:5,16,46;--studio-simplenote-blue-rgb:51,97,204;--studio-woocommerce-purple-0-rgb:247,237,247;--studio-woocommerce-purple-5-rgb:229,207,232;--studio-woocommerce-purple-10-rgb:214,180,224;--studio-woocommerce-purple-20-rgb:199,146,224;--studio-woocommerce-purple-30-rgb:175,125,209;--studio-woocommerce-purple-40-rgb:154,105,199;--studio-woocommerce-purple-50-rgb:127,84,179;--studio-woocommerce-purple-60-rgb:103,67,153;--studio-woocommerce-purple-70-rgb:83,53,130;--studio-woocommerce-purple-80-rgb:60,40,97;--studio-woocommerce-purple-90-rgb:39,27,61;--studio-woocommerce-purple-100-rgb:20,14,31;--studio-woocommerce-purple-rgb:127,84,179;--studio-jetpack-green-0-rgb:240,242,235;--studio-jetpack-green-5-rgb:208,230,184;--studio-jetpack-green-10-rgb:157,217,119;--studio-jetpack-green-20-rgb:100,202,67;--studio-jetpack-green-30-rgb:47,180,31;--studio-jetpack-green-40-rgb:6,158,8;--studio-jetpack-green-50-rgb:0,135,16;--studio-jetpack-green-60-rgb:0,113,23;--studio-jetpack-green-70-rgb:0,91,24;--studio-jetpack-green-80-rgb:0,69,21;--studio-jetpack-green-90-rgb:0,48,16;--studio-jetpack-green-100-rgb:0,28,9;--studio-jetpack-green-rgb:47,180,31;--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-pink-50);--color-accent-rgb:var(--studio-pink-50-rgb);--color-accent-dark:var(--studio-pink-70);--color-accent-dark-rgb:var(--studio-pink-70-rgb);--color-accent-light:var(--studio-pink-30);--color-accent-light-rgb:var(--studio-pink-30-rgb);--color-accent-0:var(--studio-pink-0);--color-accent-0-rgb:var(--studio-pink-0-rgb);--color-accent-5:var(--studio-pink-5);--color-accent-5-rgb:var(--studio-pink-5-rgb);--color-accent-10:var(--studio-pink-10);--color-accent-10-rgb:var(--studio-pink-10-rgb);--color-accent-20:var(--studio-pink-20);--color-accent-20-rgb:var(--studio-pink-20-rgb);--color-accent-30:var(--studio-pink-30);--color-accent-30-rgb:var(--studio-pink-30-rgb);--color-accent-40:var(--studio-pink-40);--color-accent-40-rgb:var(--studio-pink-40-rgb);--color-accent-50:var(--studio-pink-50);--color-accent-50-rgb:var(--studio-pink-50-rgb);--color-accent-60:var(--studio-pink-60);--color-accent-60-rgb:var(--studio-pink-60-rgb);--color-accent-70:var(--studio-pink-70);--color-accent-70-rgb:var(--studio-pink-70-rgb);--color-accent-80:var(--studio-pink-80);--color-accent-80-rgb:var(--studio-pink-80-rgb);--color-accent-90:var(--studio-pink-90);--color-accent-90-rgb:var(--studio-pink-90-rgb);--color-accent-100:var(--studio-pink-100);--color-accent-100-rgb:var(--studio-pink-100-rgb);--color-neutral:var(--studio-gray-50);--color-neutral-rgb:var(--studio-gray-50-rgb);--color-neutral-dark:var(--studio-gray-70);--color-neutral-dark-rgb:var(--studio-gray-70-rgb);--color-neutral-light:var(--studio-gray-30);--color-neutral-light-rgb:var(--studio-gray-30-rgb);--color-neutral-0:var(--studio-gray-0);--color-neutral-0-rgb:var(--studio-gray-0-rgb);--color-neutral-5:var(--studio-gray-5);--color-neutral-5-rgb:var(--studio-gray-5-rgb);--color-neutral-10:var(--studio-gray-10);--color-neutral-10-rgb:var(--studio-gray-10-rgb);--color-neutral-20:var(--studio-gray-20);--color-neutral-20-rgb:var(--studio-gray-20-rgb);--color-neutral-30:var(--studio-gray-30);--color-neutral-30-rgb:var(--studio-gray-30-rgb);--color-neutral-40:var(--studio-gray-40);--color-neutral-40-rgb:var(--studio-gray-40-rgb);--color-neutral-50:var(--studio-gray-50);--color-neutral-50-rgb:var(--studio-gray-50-rgb);--color-neutral-60:var(--studio-gray-60);--color-neutral-60-rgb:var(--studio-gray-60-rgb);--color-neutral-70:var(--studio-gray-70);--color-neutral-70-rgb:var(--studio-gray-70-rgb);--color-neutral-80:var(--studio-gray-80);--color-neutral-80-rgb:var(--studio-gray-80-rgb);--color-neutral-90:var(--studio-gray-90);--color-neutral-90-rgb:var(--studio-gray-90-rgb);--color-neutral-100:var(--studio-gray-100);--color-neutral-100-rgb:var(--studio-gray-100-rgb);--color-success:var(--studio-green-50);--color-success-rgb:var(--studio-green-50-rgb);--color-success-dark:var(--studio-green-70);--color-success-dark-rgb:var(--studio-green-70-rgb);--color-success-light:var(--studio-green-30);--color-success-light-rgb:var(--studio-green-30-rgb);--color-success-0:var(--studio-green-0);--color-success-0-rgb:var(--studio-green-0-rgb);--color-success-5:var(--studio-green-5);--color-success-5-rgb:var(--studio-green-5-rgb);--color-success-10:var(--studio-green-10);--color-success-10-rgb:var(--studio-green-10-rgb);--color-success-20:var(--studio-green-20);--color-success-20-rgb:var(--studio-green-20-rgb);--color-success-30:var(--studio-green-30);--color-success-30-rgb:var(--studio-green-30-rgb);--color-success-40:var(--studio-green-40);--color-success-40-rgb:var(--studio-green-40-rgb);--color-success-50:var(--studio-green-50);--color-success-50-rgb:var(--studio-green-50-rgb);--color-success-60:var(--studio-green-60);--color-success-60-rgb:var(--studio-green-60-rgb);--color-success-70:var(--studio-green-70);--color-success-70-rgb:var(--studio-green-70-rgb);--color-success-80:var(--studio-green-80);--color-success-80-rgb:var(--studio-green-80-rgb);--color-success-90:var(--studio-green-90);--color-success-90-rgb:var(--studio-green-90-rgb);--color-success-100:var(--studio-green-100);--color-success-100-rgb:var(--studio-green-100-rgb);--color-warning:var(--studio-yellow-50);--color-warning-rgb:var(--studio-yellow-50-rgb);--color-warning-dark:var(--studio-yellow-70);--color-warning-dark-rgb:var(--studio-yellow-70-rgb);--color-warning-light:var(--studio-yellow-30);--color-warning-light-rgb:var(--studio-yellow-30-rgb);--color-warning-0:var(--studio-yellow-0);--color-warning-0-rgb:var(--studio-yellow-0-rgb);--color-warning-5:var(--studio-yellow-5);--color-warning-5-rgb:var(--studio-yellow-5-rgb);--color-warning-10:var(--studio-yellow-10);--color-warning-10-rgb:var(--studio-yellow-10-rgb);--color-warning-20:var(--studio-yellow-20);--color-warning-20-rgb:var(--studio-yellow-20-rgb);--color-warning-30:var(--studio-yellow-30);--color-warning-30-rgb:var(--studio-yellow-30-rgb);--color-warning-40:var(--studio-yellow-40);--color-warning-40-rgb:var(--studio-yellow-40-rgb);--color-warning-50:var(--studio-yellow-50);--color-warning-50-rgb:var(--studio-yellow-50-rgb);--color-warning-60:var(--studio-yellow-60);--color-warning-60-rgb:var(--studio-yellow-60-rgb);--color-warning-70:var(--studio-yellow-70);--color-warning-70-rgb:var(--studio-yellow-70-rgb);--color-warning-80:var(--studio-yellow-80);--color-warning-80-rgb:var(--studio-yellow-80-rgb);--color-warning-90:var(--studio-yellow-90);--color-warning-90-rgb:var(--studio-yellow-90-rgb);--color-warning-100:var(--studio-yellow-100);--color-warning-100-rgb:var(--studio-yellow-100-rgb);--color-error:var(--studio-red-50);--color-error-rgb:var(--studio-red-50-rgb);--color-error-dark:var(--studio-red-70);--color-error-dark-rgb:var(--studio-red-70-rgb);--color-error-light:var(--studio-red-30);--color-error-light-rgb:var(--studio-red-30-rgb);--color-error-0:var(--studio-red-0);--color-error-0-rgb:var(--studio-red-0-rgb);--color-error-5:var(--studio-red-5);--color-error-5-rgb:var(--studio-red-5-rgb);--color-error-10:var(--studio-red-10);--color-error-10-rgb:var(--studio-red-10-rgb);--color-error-20:var(--studio-red-20);--color-error-20-rgb:var(--studio-red-20-rgb);--color-error-30:var(--studio-red-30);--color-error-30-rgb:var(--studio-red-30-rgb);--color-error-40:var(--studio-red-40);--color-error-40-rgb:var(--studio-red-40-rgb);--color-error-50:var(--studio-red-50);--color-error-50-rgb:var(--studio-red-50-rgb);--color-error-60:var(--studio-red-60);--color-error-60-rgb:var(--studio-red-60-rgb);--color-error-70:var(--studio-red-70);--color-error-70-rgb:var(--studio-red-70-rgb);--color-error-80:var(--studio-red-80);--color-error-80-rgb:var(--studio-red-80-rgb);--color-error-90:var(--studio-red-90);--color-error-90-rgb:var(--studio-red-90-rgb);--color-error-100:var(--studio-red-100);--color-error-100-rgb:var(--studio-red-100-rgb);--color-surface:var(--studio-white);--color-surface-rgb:var(--studio-white-rgb);--color-surface-backdrop:var(--studio-gray-0);--color-surface-backdrop-rgb:var(--studio-gray-0-rgb);--color-text:var(--studio-gray-80);--color-text-rgb:var(--studio-gray-80-rgb);--color-text-subtle:var(--studio-gray-50);--color-text-subtle-rgb:var(--studio-gray-50-rgb);--color-text-inverted:var(--studio-white);--color-text-inverted-rgb:var(--studio-white-rgb);--color-border:var(--color-neutral-20);--color-border-rgb:var(--color-neutral-20-rgb);--color-border-subtle:var(--color-neutral-5);--color-border-subtle-rgb:var(--color-neutral-5-rgb);--color-border-shadow:var(--color-neutral-0);--color-border-shadow-rgb:var(--color-neutral-0-rgb);--color-border-inverted:var(--studio-white);--color-border-inverted-rgb:var(--studio-white-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-plan-free:var(--studio-gray-30);--color-plan-blogger:var(--studio-celadon-30);--color-plan-personal:var(--studio-blue-30);--color-plan-premium:var(--studio-yellow-30);--color-plan-business:var(--studio-orange-30);--color-plan-ecommerce:var(--studio-purple-30);--color-jetpack-plan-free:var(--studio-blue-30);--color-jetpack-plan-personal:var(--studio-yellow-30);--color-jetpack-plan-premium:var(--studio-jetpack-green-30);--color-jetpack-plan-professional:var(--studio-purple-30);--color-masterbar-background:var(--studio-blue-60);--color-masterbar-border:var(--studio-blue-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-70);--color-masterbar-item-active-background:var(--studio-blue-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-blue-5);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-5-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-70);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-jetpack-onboarding-text:var(--studio-white);--color-jetpack-onboarding-text-rgb:var(--studio-white-rgb);--color-jetpack-onboarding-background:var(--studio-blue-100);--color-jetpack-onboarding-background-rgb:var(--studio-blue-100-rgb);--color-automattic:var(--studio-blue-40);--color-jetpack:var(--studio-jetpack-green);--color-simplenote:var(--studio-simplenote-blue);--color-woocommerce:var(--studio-woocommerce-purple);--color-wordpress-com:var(--studio-wordpress-blue);--color-wordpress-org:#585c60;--color-blogger:#ff5722;--color-eventbrite:#ff8000;--color-facebook:#39579a;--color-godaddy:#5ea95a;--color-google-plus:#df4a32;--color-instagram:#d93174;--color-linkedin:#0976b4;--color-medium:#12100e;--color-pinterest:#cc2127;--color-pocket:#ee4256;--color-print:#f8f8f8;--color-reddit:#5f99cf;--color-skype:#00aff0;--color-stumbleupon:#eb4924;--color-squarespace:#222;--color-telegram:#08c;--color-tumblr:#35465c;--color-twitter:#55acee;--color-whatsapp:#43d854;--color-wix:#faad4d;--color-email:var(--studio-gray-0);--color-podcasting:#9b4dd5;--color-wp-admin-button-background:#008ec2;--color-wp-admin-button-border:#006799}.color-scheme.is-classic-blue{--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-50)}.color-scheme.is-contrast{--color-primary:var(--studio-gray-80);--color-primary-rgb:var(--studio-gray-80-rgb);--color-primary-dark:var(--studio-gray-100);--color-primary-dark-rgb:var(--studio-gray-100-rgb);--color-primary-light:var(--studio-gray-60);--color-primary-light-rgb:var(--studio-gray-60-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-70);--color-accent-rgb:var(--studio-blue-70-rgb);--color-accent-dark:var(--studio-blue-90);--color-accent-dark-rgb:var(--studio-blue-90-rgb);--color-accent-light:var(--studio-blue-50);--color-accent-light-rgb:var(--studio-blue-50-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-surface-backdrop:var(--studio-white);--color-surface-backdrop-rgb:var(--studio-white-rgb);--color-text:var(--studio-gray-100);--color-text-rgb:var(--studio-gray-100-rgb);--color-text-subtle:var(--studio-gray-70);--color-text-subtle-rgb:var(--studio-gray-70-rgb);--color-link:var(--studio-blue-70);--color-link-rgb:var(--studio-blue-70-rgb);--color-link-dark:var(--studio-blue-100);--color-link-dark-rgb:var(--studio-blue-100-rgb);--color-link-light:var(--studio-blue-50);--color-link-light-rgb:var(--studio-blue-50-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-60);--color-masterbar-item-new-editor-background:var(--studio-gray-70);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-90);--color-masterbar-unread-dot-background:var(--studio-yellow-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-90);--color-sidebar-text-rgb:var(--studio-gray-90-rgb);--color-sidebar-text-alternative:var(--studio-gray-90);--color-sidebar-gridicon-fill:var(--studio-gray-90);--color-sidebar-menu-selected-background:var(--studio-gray-100);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-60);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-midnight{--color-primary:var(--studio-gray-70);--color-primary-rgb:var(--studio-gray-70-rgb);--color-primary-dark:var(--studio-gray-80);--color-primary-dark-rgb:var(--studio-gray-80-rgb);--color-primary-light:var(--studio-gray-50);--color-primary-light-rgb:var(--studio-gray-50-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-red-60);--color-link-rgb:var(--studio-red-60-rgb);--color-link-dark:var(--studio-red-70);--color-link-dark-rgb:var(--studio-red-70-rgb);--color-link-light:var(--studio-red-30);--color-link-light-rgb:var(--studio-red-30-rgb);--color-link-0:var(--studio-red-0);--color-link-0-rgb:var(--studio-red-0-rgb);--color-link-5:var(--studio-red-5);--color-link-5-rgb:var(--studio-red-5-rgb);--color-link-10:var(--studio-red-10);--color-link-10-rgb:var(--studio-red-10-rgb);--color-link-20:var(--studio-red-20);--color-link-20-rgb:var(--studio-red-20-rgb);--color-link-30:var(--studio-red-30);--color-link-30-rgb:var(--studio-red-30-rgb);--color-link-40:var(--studio-red-40);--color-link-40-rgb:var(--studio-red-40-rgb);--color-link-50:var(--studio-red-50);--color-link-50-rgb:var(--studio-red-50-rgb);--color-link-60:var(--studio-red-60);--color-link-60-rgb:var(--studio-red-60-rgb);--color-link-70:var(--studio-red-70);--color-link-70-rgb:var(--studio-red-70-rgb);--color-link-80:var(--studio-red-80);--color-link-80-rgb:var(--studio-red-80-rgb);--color-link-90:var(--studio-red-90);--color-link-90-rgb:var(--studio-red-90-rgb);--color-link-100:var(--studio-red-100);--color-link-100-rgb:var(--studio-red-100-rgb);--color-masterbar-background:var(--studio-gray-70);--color-masterbar-border:var(--studio-gray-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-90);--color-sidebar-background-rgb:var(--studio-gray-90-rgb);--color-sidebar-border:var(--studio-gray-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-gray-20);--color-sidebar-gridicon-fill:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-red-50);--color-sidebar-menu-selected-background-rgb:var(--studio-red-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-80);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-nightfall{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-blue-100);--color-masterbar-border:var(--studio-blue-100);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-80);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-80);--color-sidebar-background-rgb:var(--studio-blue-80-rgb);--color-sidebar-border:var(--studio-blue-90);--color-sidebar-text:var(--studio-blue-5);--color-sidebar-text-rgb:var(--studio-blue-5-rgb);--color-sidebar-text-alternative:var(--studio-blue-20);--color-sidebar-gridicon-fill:var(--studio-blue-10);--color-sidebar-menu-selected-background:var(--studio-blue-100);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-70);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-ocean{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-celadon-50);--color-accent-rgb:var(--studio-celadon-50-rgb);--color-accent-dark:var(--studio-celadon-70);--color-accent-dark-rgb:var(--studio-celadon-70-rgb);--color-accent-light:var(--studio-celadon-30);--color-accent-light-rgb:var(--studio-celadon-30-rgb);--color-accent-0:var(--studio-celadon-0);--color-accent-0-rgb:var(--studio-celadon-0-rgb);--color-accent-5:var(--studio-celadon-5);--color-accent-5-rgb:var(--studio-celadon-5-rgb);--color-accent-10:var(--studio-celadon-10);--color-accent-10-rgb:var(--studio-celadon-10-rgb);--color-accent-20:var(--studio-celadon-20);--color-accent-20-rgb:var(--studio-celadon-20-rgb);--color-accent-30:var(--studio-celadon-30);--color-accent-30-rgb:var(--studio-celadon-30-rgb);--color-accent-40:var(--studio-celadon-40);--color-accent-40-rgb:var(--studio-celadon-40-rgb);--color-accent-50:var(--studio-celadon-50);--color-accent-50-rgb:var(--studio-celadon-50-rgb);--color-accent-60:var(--studio-celadon-60);--color-accent-60-rgb:var(--studio-celadon-60-rgb);--color-accent-70:var(--studio-celadon-70);--color-accent-70-rgb:var(--studio-celadon-70-rgb);--color-accent-80:var(--studio-celadon-80);--color-accent-80-rgb:var(--studio-celadon-80-rgb);--color-accent-90:var(--studio-celadon-90);--color-accent-90-rgb:var(--studio-celadon-90-rgb);--color-accent-100:var(--studio-celadon-100);--color-accent-100-rgb:var(--studio-celadon-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-blue-80);--color-masterbar-border:var(--studio-blue-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-60);--color-sidebar-background-rgb:var(--studio-blue-60-rgb);--color-sidebar-border:var(--studio-blue-70);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-blue-5);--color-sidebar-gridicon-fill:var(--studio-blue-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-90);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-90-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-50);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-powder-snow{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-70);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-60)}.color-scheme.is-sakura{--color-primary:var(--studio-celadon-50);--color-primary-rgb:var(--studio-celadon-50-rgb);--color-primary-dark:var(--studio-celadon-70);--color-primary-dark-rgb:var(--studio-celadon-70-rgb);--color-primary-light:var(--studio-celadon-30);--color-primary-light-rgb:var(--studio-celadon-30-rgb);--color-primary-0:var(--studio-celadon-0);--color-primary-0-rgb:var(--studio-celadon-0-rgb);--color-primary-5:var(--studio-celadon-5);--color-primary-5-rgb:var(--studio-celadon-5-rgb);--color-primary-10:var(--studio-celadon-10);--color-primary-10-rgb:var(--studio-celadon-10-rgb);--color-primary-20:var(--studio-celadon-20);--color-primary-20-rgb:var(--studio-celadon-20-rgb);--color-primary-30:var(--studio-celadon-30);--color-primary-30-rgb:var(--studio-celadon-30-rgb);--color-primary-40:var(--studio-celadon-40);--color-primary-40-rgb:var(--studio-celadon-40-rgb);--color-primary-50:var(--studio-celadon-50);--color-primary-50-rgb:var(--studio-celadon-50-rgb);--color-primary-60:var(--studio-celadon-60);--color-primary-60-rgb:var(--studio-celadon-60-rgb);--color-primary-70:var(--studio-celadon-70);--color-primary-70-rgb:var(--studio-celadon-70-rgb);--color-primary-80:var(--studio-celadon-80);--color-primary-80-rgb:var(--studio-celadon-80-rgb);--color-primary-90:var(--studio-celadon-90);--color-primary-90-rgb:var(--studio-celadon-90-rgb);--color-primary-100:var(--studio-celadon-100);--color-primary-100-rgb:var(--studio-celadon-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-celadon-70);--color-masterbar-border:var(--studio-celadon-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-celadon-80);--color-masterbar-item-active-background:var(--studio-celadon-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-pink-5);--color-sidebar-background-rgb:var(--studio-pink-5-rgb);--color-sidebar-border:var(--studio-pink-10);--color-sidebar-text:var(--studio-pink-80);--color-sidebar-text-rgb:var(--studio-pink-80-rgb);--color-sidebar-text-alternative:var(--studio-pink-60);--color-sidebar-gridicon-fill:var(--studio-pink-70);--color-sidebar-menu-selected-background:var(--studio-blue-50);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-pink-10);--color-sidebar-menu-hover-background-rgb:var(--studio-pink-10-rgb);--color-sidebar-menu-hover-text:var(--studio-pink-90)}.color-scheme.is-sunset{--color-primary:var(--studio-red-50);--color-primary-rgb:var(--studio-red-50-rgb);--color-primary-dark:var(--studio-red-70);--color-primary-dark-rgb:var(--studio-red-70-rgb);--color-primary-light:var(--studio-red-30);--color-primary-light-rgb:var(--studio-red-30-rgb);--color-primary-0:var(--studio-red-0);--color-primary-0-rgb:var(--studio-red-0-rgb);--color-primary-5:var(--studio-red-5);--color-primary-5-rgb:var(--studio-red-5-rgb);--color-primary-10:var(--studio-red-10);--color-primary-10-rgb:var(--studio-red-10-rgb);--color-primary-20:var(--studio-red-20);--color-primary-20-rgb:var(--studio-red-20-rgb);--color-primary-30:var(--studio-red-30);--color-primary-30-rgb:var(--studio-red-30-rgb);--color-primary-40:var(--studio-red-40);--color-primary-40-rgb:var(--studio-red-40-rgb);--color-primary-50:var(--studio-red-50);--color-primary-50-rgb:var(--studio-red-50-rgb);--color-primary-60:var(--studio-red-60);--color-primary-60-rgb:var(--studio-red-60-rgb);--color-primary-70:var(--studio-red-70);--color-primary-70-rgb:var(--studio-red-70-rgb);--color-primary-80:var(--studio-red-80);--color-primary-80-rgb:var(--studio-red-80-rgb);--color-primary-90:var(--studio-red-90);--color-primary-90-rgb:var(--studio-red-90-rgb);--color-primary-100:var(--studio-red-100);--color-primary-100-rgb:var(--studio-red-100-rgb);--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-link:var(--studio-orange-50);--color-link-rgb:var(--studio-orange-50-rgb);--color-link-dark:var(--studio-orange-70);--color-link-dark-rgb:var(--studio-orange-70-rgb);--color-link-light:var(--studio-orange-30);--color-link-light-rgb:var(--studio-orange-30-rgb);--color-link-0:var(--studio-orange-0);--color-link-0-rgb:var(--studio-orange-0-rgb);--color-link-5:var(--studio-orange-5);--color-link-5-rgb:var(--studio-orange-5-rgb);--color-link-10:var(--studio-orange-10);--color-link-10-rgb:var(--studio-orange-10-rgb);--color-link-20:var(--studio-orange-20);--color-link-20-rgb:var(--studio-orange-20-rgb);--color-link-30:var(--studio-orange-30);--color-link-30-rgb:var(--studio-orange-30-rgb);--color-link-40:var(--studio-orange-40);--color-link-40-rgb:var(--studio-orange-40-rgb);--color-link-50:var(--studio-orange-50);--color-link-50-rgb:var(--studio-orange-50-rgb);--color-link-60:var(--studio-orange-60);--color-link-60-rgb:var(--studio-orange-60-rgb);--color-link-70:var(--studio-orange-70);--color-link-70-rgb:var(--studio-orange-70-rgb);--color-link-80:var(--studio-orange-80);--color-link-80-rgb:var(--studio-orange-80-rgb);--color-link-90:var(--studio-orange-90);--color-link-90-rgb:var(--studio-orange-90-rgb);--color-link-100:var(--studio-orange-100);--color-link-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--studio-red-80);--color-masterbar-border:var(--studio-red-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-red-90);--color-masterbar-item-active-background:var(--studio-red-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-red-70);--color-sidebar-background-rgb:var(--studio-red-70-rgb);--color-sidebar-border:var(--studio-red-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-red-10);--color-sidebar-gridicon-fill:var(--studio-red-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-yellow-80);--color-sidebar-menu-selected-text-rgb:var(--studio-yellow-80-rgb);--color-sidebar-menu-hover-background:var(--studio-red-80);--color-sidebar-menu-hover-background-rgb:var(--studio-red-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-jetpack-cloud,.theme-jetpack-cloud{--color-primary:var(--studio-jetpack-green);--color-primary-rgb:var(--studio-jetpack-green-rgb);--color-primary-dark:var(--studio-jetpack-green-70);--color-primary-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-light:var(--studio-jetpack-green-30);--color-primary-light-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-0:var(--studio-jetpack-green-0);--color-primary-0-rgb:var(--studio-jetpack-green-0-rgb);--color-primary-5:var(--studio-jetpack-green-5);--color-primary-5-rgb:var(--studio-jetpack-green-5-rgb);--color-primary-10:var(--studio-jetpack-green-10);--color-primary-10-rgb:var(--studio-jetpack-green-10-rgb);--color-primary-20:var(--studio-jetpack-green-20);--color-primary-20-rgb:var(--studio-jetpack-green-20-rgb);--color-primary-30:var(--studio-jetpack-green-30);--color-primary-30-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-40:var(--studio-jetpack-green-40);--color-primary-40-rgb:var(--studio-jetpack-green-40-rgb);--color-primary-50:var(--studio-jetpack-green-50);--color-primary-50-rgb:var(--studio-jetpack-green-50-rgb);--color-primary-60:var(--studio-jetpack-green-60);--color-primary-60-rgb:var(--studio-jetpack-green-60-rgb);--color-primary-70:var(--studio-jetpack-green-70);--color-primary-70-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-80:var(--studio-jetpack-green-80);--color-primary-80-rgb:var(--studio-jetpack-green-80-rgb);--color-primary-90:var(--studio-jetpack-green-90);--color-primary-90-rgb:var(--studio-jetpack-green-90-rgb);--color-primary-100:var(--studio-jetpack-green-100);--color-primary-100-rgb:var(--studio-jetpack-green-100-rgb);--color-accent:var(--studio-jetpack-green);--color-accent-rgb:var(--studio-jetpack-green-rgb);--color-accent-dark:var(--studio-jetpack-green-70);--color-accent-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-light:var(--studio-jetpack-green-30);--color-accent-light-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-0:var(--studio-jetpack-green-0);--color-accent-0-rgb:var(--studio-jetpack-green-0-rgb);--color-accent-5:var(--studio-jetpack-green-5);--color-accent-5-rgb:var(--studio-jetpack-green-5-rgb);--color-accent-10:var(--studio-jetpack-green-10);--color-accent-10-rgb:var(--studio-jetpack-green-10-rgb);--color-accent-20:var(--studio-jetpack-green-20);--color-accent-20-rgb:var(--studio-jetpack-green-20-rgb);--color-accent-30:var(--studio-jetpack-green-30);--color-accent-30-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-40:var(--studio-jetpack-green-40);--color-accent-40-rgb:var(--studio-jetpack-green-40-rgb);--color-accent-50:var(--studio-jetpack-green-50);--color-accent-50-rgb:var(--studio-jetpack-green-50-rgb);--color-accent-60:var(--studio-jetpack-green-60);--color-accent-60-rgb:var(--studio-jetpack-green-60-rgb);--color-accent-70:var(--studio-jetpack-green-70);--color-accent-70-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-80:var(--studio-jetpack-green-80);--color-accent-80-rgb:var(--studio-jetpack-green-80-rgb);--color-accent-90:var(--studio-jetpack-green-90);--color-accent-90-rgb:var(--studio-jetpack-green-90-rgb);--color-accent-100:var(--studio-jetpack-green-100);--color-accent-100-rgb:var(--studio-jetpack-green-100-rgb);--color-link:var(--studio-jetpack-green-40);--color-link-rgb:var(--studio-jetpack-green-40-rgb);--color-link-dark:var(--studio-jetpack-green-60);--color-link-dark-rgb:var(--studio-jetpack-green-60-rgb);--color-link-light:var(--studio-jetpack-green-20);--color-link-light-rgb:var(--studio-jetpack-green-20-rgb);--color-link-0:var(--studio-jetpack-green-0);--color-link-0-rgb:var(--studio-jetpack-green-0-rgb);--color-link-5:var(--studio-jetpack-green-5);--color-link-5-rgb:var(--studio-jetpack-green-5-rgb);--color-link-10:var(--studio-jetpack-green-10);--color-link-10-rgb:var(--studio-jetpack-green-10-rgb);--color-link-20:var(--studio-jetpack-green-20);--color-link-20-rgb:var(--studio-jetpack-green-20-rgb);--color-link-30:var(--studio-jetpack-green-30);--color-link-30-rgb:var(--studio-jetpack-green-30-rgb);--color-link-40:var(--studio-jetpack-green-40);--color-link-40-rgb:var(--studio-jetpack-green-40-rgb);--color-link-50:var(--studio-jetpack-green-50);--color-link-50-rgb:var(--studio-jetpack-green-50-rgb);--color-link-60:var(--studio-jetpack-green-60);--color-link-60-rgb:var(--studio-jetpack-green-60-rgb);--color-link-70:var(--studio-jetpack-green-70);--color-link-70-rgb:var(--studio-jetpack-green-70-rgb);--color-link-80:var(--studio-jetpack-green-80);--color-link-80-rgb:var(--studio-jetpack-green-80-rgb);--color-link-90:var(--studio-jetpack-green-90);--color-link-90-rgb:var(--studio-jetpack-green-90-rgb);--color-link-100:var(--studio-jetpack-green-100);--color-link-100-rgb:var(--studio-jetpack-green-100-rgb);--color-masterbar-background:var(--studio-white);--color-masterbar-border:var(--studio-gray-5);--color-masterbar-text:var(--studio-gray-50);--color-masterbar-item-hover-background:var(--studio-white);--color-masterbar-item-active-background:var(--studio-white);--color-masterbar-item-new-editor-background:var(--studio-white);--color-masterbar-item-new-editor-hover-background:var(--studio-white);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-white);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-60);--color-sidebar-text-rgb:var(--studio-gray-60-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-60);--color-sidebar-menu-selected-text:var(--studio-jetpack-green-50);--color-sidebar-menu-selected-text-rgb:var(--studio-jetpack-green-50-rgb);--color-sidebar-menu-selected-background:var(--studio-jetpack-green-5);--color-sidebar-menu-selected-background-rgb:var(--studio-jetpack-green-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-scary-0:var(--studio-red-0);--color-scary-5:var(--studio-red-5);--color-scary-40:var(--studio-red-40);--color-scary-50:var(--studio-red-50);--color-scary-60:var(--studio-red-60)}@keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.domain-picker__empty-state{display:flex;justify-content:center;flex-direction:column}.domain-picker__empty-state--text{max-width:320px;font-size:.9em;margin:10px 0;color:#555d66}@media (min-width:480px){.domain-picker__empty-state{flex-direction:row;align-items:center}.domain-picker__empty-state--text{margin:15px 0}}.domain-picker__show-more{padding:10px;text-align:center}.domain-picker__search{position:relative;margin-bottom:20px}.domain-picker__search input[type=text].components-text-control__input{padding:6px 16px 6px 40px;height:38px;background:#f0f0f0;border:none}.domain-picker__search input[type=text].components-text-control__input:-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input:focus{box-shadow:0 0 0 2px #5198d9;box-shadow:0 0 0 2px var(--studio-blue-30);background:#fff;background:var(--studio-white)}.domain-picker__search svg{position:absolute;top:6px;left:8px}.domain-picker__suggestion-item-group{flex-grow:1}.domain-picker__suggestion-sections{flex:1}.domain-picker__suggestion-group-label{margin:1.5em 0 1em;text-transform:uppercase;color:#a7aaad;color:var(--studio-gray-20);font-size:12px;font-weight:400;letter-spacing:1px}.domain-picker__suggestion-item{font-size:.875rem;line-height:17px;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:58px;background:#fff;background:var(--studio-white);border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);padding:10px 14px;margin:0;position:relative;z-index:1;text-align:right;cursor:pointer}.domain-picker__suggestion-item.placeholder{cursor:default}.domain-picker__suggestion-item:first-of-type{border-top-right-radius:5px;border-top-left-radius:5px}.domain-picker__suggestion-item:last-of-type{border-bottom-right-radius:5px;border-bottom-left-radius:5px}.domain-picker__suggestion-item+.domain-picker__suggestion-item{margin-top:-1px}.domain-picker__suggestion-item:nth-child(7){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:0ms}.domain-picker__suggestion-item:nth-child(8){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:40ms}.domain-picker__suggestion-item:nth-child(9){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:80ms}.domain-picker__suggestion-item:nth-child(10){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.12s}.domain-picker__suggestion-item:nth-child(11){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.16s}.domain-picker__suggestion-item:nth-child(12){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.2s}.domain-picker__suggestion-item:nth-child(13){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.24s}.domain-picker__suggestion-item:nth-child(14){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.28s}@keyframes domain-picker-item-slide-up{to{transform:translateY(0);opacity:1}}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button{width:16px;height:16px;min-width:16px;padding:0;margin:1px 0 0 12px;vertical-align:middle;position:relative}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:checked{border-color:#5198d9;border-color:var(--studio-blue-30);background-color:#5198d9;background-color:var(--studio-blue-30)}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:checked:after{content:"";width:12px;height:12px;border:2px solid #fff;border-radius:50%;position:absolute;margin:0;background:transparent}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:checked:focus,.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:not(:disabled):focus,.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:not(:disabled):hover{border-color:#5198d9;border-color:var(--studio-blue-30);box-shadow:0 0 0 1px #5198d9;box-shadow:0 0 0 1px var(--studio-blue-30)}.domain-picker__suggestion-item-name{flex-grow:1;letter-spacing:.4px}.domain-picker__suggestion-item:not(.is-free) .domain-picker__suggestion-item-name{margin-left:0}@media (min-width:480px){.domain-picker__suggestion-item:not(.is-free) .domain-picker__suggestion-item-name{margin-left:24px}}.domain-picker__suggestion-item-name .domain-picker__domain-name{word-break:break-word}.domain-picker__suggestion-item-name.placeholder{animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;max-width:30%;margin-left:auto}.domain-picker__suggestion-item-name.placeholder:after{content:"\00a0"}.domain-picker__domain-tld{color:#3582c4;color:var(--studio-blue-40);margin-left:10px}.domain-picker__badge{display:inline-flex;border-radius:2px;padding:0 10px;line-height:20px;height:20px;align-items:center;font-size:10px;text-transform:uppercase;vertical-align:middle;background-color:#2271b1;background-color:var(--studio-blue-50);color:#fff;color:var(--color-text-inverted)}.domain-picker__price{color:#787c82;color:var(--studio-gray-40);text-align:left;flex-basis:0;transition:opacity .2s ease-in-out}.domain-picker__price:not(.is-paid){display:none}@media (min-width:600px){.domain-picker__price{flex-basis:auto}.domain-picker__price:not(.is-paid){display:inline}}.domain-picker__price.placeholder{animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;min-width:64px}.domain-picker__price.placeholder:after{content:"\00a0"}.domain-picker__price-inclusive{color:#00a32a;color:var(--studio-green-40);display:none}@media (min-width:600px){.domain-picker__price-inclusive{display:inline}}.domain-picker__price-cost{text-decoration:line-through}.domain-picker__body{display:flex}@media (max-width:480px){.domain-picker__body{display:block}.domain-picker__body .domain-picker__aside{width:100%;padding:0}}.domain-picker__aside{width:220px;padding-left:30px}@media (max-width:480px){.domain-categories{margin-bottom:20px}.domain-categories .domain-categories__dropdown-button.components-button{display:block;margin-bottom:0}.domain-categories .domain-categories__item-group{display:none}.domain-categories.is-open .domain-categories__item-group{display:block}}.domain-categories__dropdown-button.components-button{width:100%;text-align:center;margin-bottom:8px;height:40px;border:1px solid var(--studio-gray-5);display:none}.domain-categories__dropdown-button.components-button>*{vertical-align:middle}.domain-categories__dropdown-button.components-button svg{margin-right:5px}@media (max-width:480px){.domain-categories__item-group{text-align:center;border:1px solid var(--studio-gray-5);margin-top:-1px}}.domain-categories__item .components-button{color:var(--studio-gray-100);width:100%;text-align:right}.domain-categories__item .components-button:focus,.domain-categories__item .components-button:hover{color:var(--studio-gray-100);box-shadow:none;font-weight:600;text-decoration:underline}.domain-categories__item.is-selected .components-button{font-weight:600;text-decoration:underline}@media (max-width:480px){.domain-categories__item .components-button{display:block;text-align:center}}html:not(.accessible-focus) .domain-categories__item .components-button:focus{box-shadow:none}
|
editor-domain-picker/src/domain-picker-button/index.tsx
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
* External dependencies
|
3 |
*/
|
4 |
import * as React from 'react';
|
5 |
-
import '
|
6 |
|
7 |
/**
|
8 |
* Internal dependencies
|
@@ -10,12 +10,13 @@ import 'a8c-fse-common-data-stores';
|
|
10 |
import DomainPickerModal from '../domain-picker-modal';
|
11 |
import { Button } from '@wordpress/components';
|
12 |
import { Icon, chevronDown } from '@wordpress/icons';
|
13 |
-
import {
|
|
|
14 |
|
15 |
export default function DomainPickerButton() {
|
16 |
const [ isDomainModalVisible, setDomainModalVisibility ] = React.useState( false );
|
17 |
-
|
18 |
-
const
|
19 |
|
20 |
return (
|
21 |
<>
|
@@ -25,7 +26,9 @@ export default function DomainPickerButton() {
|
|
25 |
aria-pressed={ isDomainModalVisible }
|
26 |
onClick={ () => setDomainModalVisibility( ( s ) => ! s ) }
|
27 |
>
|
28 |
-
<span className="domain-picker-button__label">{ `Domain: ${
|
|
|
|
|
29 |
<Icon icon={ chevronDown } size={ 22 } />
|
30 |
</Button>
|
31 |
{ isDomainModalVisible && (
|
2 |
* External dependencies
|
3 |
*/
|
4 |
import * as React from 'react';
|
5 |
+
import { useSelect } from '@wordpress/data';
|
6 |
|
7 |
/**
|
8 |
* Internal dependencies
|
10 |
import DomainPickerModal from '../domain-picker-modal';
|
11 |
import { Button } from '@wordpress/components';
|
12 |
import { Icon, chevronDown } from '@wordpress/icons';
|
13 |
+
import { useCurrentDomainName } from '../hooks/use-current-domain';
|
14 |
+
import { LAUNCH_STORE } from '../stores';
|
15 |
|
16 |
export default function DomainPickerButton() {
|
17 |
const [ isDomainModalVisible, setDomainModalVisibility ] = React.useState( false );
|
18 |
+
const freeDomain = useCurrentDomainName();
|
19 |
+
const { domain } = useSelect( ( select ) => select( LAUNCH_STORE ).getState() );
|
20 |
|
21 |
return (
|
22 |
<>
|
26 |
aria-pressed={ isDomainModalVisible }
|
27 |
onClick={ () => setDomainModalVisibility( ( s ) => ! s ) }
|
28 |
>
|
29 |
+
<span className="domain-picker-button__label">{ `Domain: ${
|
30 |
+
domain?.domain_name || freeDomain
|
31 |
+
}` }</span>
|
32 |
<Icon icon={ chevronDown } size={ 22 } />
|
33 |
</Button>
|
34 |
{ isDomainModalVisible && (
|
editor-domain-picker/src/domain-picker-fse/index.tsx
CHANGED
@@ -2,46 +2,56 @@
|
|
2 |
* External dependencies
|
3 |
*/
|
4 |
import * as React from 'react';
|
5 |
-
import
|
|
|
6 |
import type { DomainSuggestions } from '@automattic/data-stores';
|
|
|
7 |
|
8 |
/**
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
-
import '
|
12 |
-
import {
|
13 |
|
14 |
const FLOW_ID = 'gutenboarding';
|
15 |
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
const [ domainSearch, setDomainSearch ] = React.useState( '' );
|
20 |
|
|
|
21 |
const site = useSite();
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
const search = ( domainSearch.trim() || site?.name ) ?? '';
|
25 |
|
26 |
-
|
27 |
-
|
|
|
|
|
28 |
|
29 |
-
const
|
30 |
-
|
31 |
-
|
32 |
-
|
|
|
|
|
33 |
};
|
34 |
|
35 |
return (
|
36 |
<DomainPicker
|
37 |
analyticsFlowId={ FLOW_ID }
|
38 |
-
analyticsUiAlgo="editor_domain_modal"
|
39 |
initialDomainSearch={ search }
|
40 |
onSetDomainSearch={ setDomainSearch }
|
41 |
-
|
42 |
-
currentDomain={
|
43 |
onDomainSelect={ handleDomainSelect }
|
44 |
-
|
45 |
/>
|
46 |
);
|
47 |
};
|
2 |
* External dependencies
|
3 |
*/
|
4 |
import * as React from 'react';
|
5 |
+
import { useSelect, useDispatch } from '@wordpress/data';
|
6 |
+
import DomainPicker from '@automattic/domain-picker';
|
7 |
import type { DomainSuggestions } from '@automattic/data-stores';
|
8 |
+
import { recordTracksEvent } from '@automattic/calypso-analytics';
|
9 |
|
10 |
/**
|
11 |
* Internal dependencies
|
12 |
*/
|
13 |
+
import { useSite, useCurrentDomainName } from '../hooks/use-current-domain';
|
14 |
+
import { LAUNCH_STORE } from '../stores';
|
15 |
|
16 |
const FLOW_ID = 'gutenboarding';
|
17 |
|
18 |
+
interface Props {
|
19 |
+
onSelect?: () => void;
|
20 |
+
}
|
|
|
21 |
|
22 |
+
const DomainPickerFSE: React.FunctionComponent< Props > = ( { onSelect } ) => {
|
23 |
const site = useSite();
|
24 |
+
|
25 |
+
// TODO: add a new prop on domain Picker to display this value in a disabled state
|
26 |
+
const freeDomain = useCurrentDomainName();
|
27 |
+
|
28 |
+
const { domain, domainSearch } = useSelect( ( select ) => select( LAUNCH_STORE ).getState() );
|
29 |
+
const { setDomain, setDomainSearch } = useDispatch( LAUNCH_STORE );
|
30 |
|
31 |
const search = ( domainSearch.trim() || site?.name ) ?? '';
|
32 |
|
33 |
+
const handleDomainSelect = ( suggestion: DomainSuggestions.DomainSuggestion ) => {
|
34 |
+
setDomain( suggestion );
|
35 |
+
onSelect?.();
|
36 |
+
};
|
37 |
|
38 |
+
const trackDomainSearchInteraction = ( query: string ) => {
|
39 |
+
recordTracksEvent( 'calypso_newsite_domain_search_blur', {
|
40 |
+
flow: FLOW_ID,
|
41 |
+
query,
|
42 |
+
where: 'editor_domain_modal',
|
43 |
+
} );
|
44 |
};
|
45 |
|
46 |
return (
|
47 |
<DomainPicker
|
48 |
analyticsFlowId={ FLOW_ID }
|
|
|
49 |
initialDomainSearch={ search }
|
50 |
onSetDomainSearch={ setDomainSearch }
|
51 |
+
onDomainSearchBlur={ trackDomainSearchInteraction }
|
52 |
+
currentDomain={ domain?.domain_name || freeDomain }
|
53 |
onDomainSelect={ handleDomainSelect }
|
54 |
+
analyticsUiAlgo="editor_domain_modal"
|
55 |
/>
|
56 |
);
|
57 |
};
|
editor-domain-picker/src/domain-picker-modal/index.tsx
CHANGED
@@ -7,14 +7,14 @@ import { Modal } from '@wordpress/components';
|
|
7 |
/**
|
8 |
* Internal dependencies
|
9 |
*/
|
10 |
-
import DomainPickerFSE
|
11 |
import './styles.scss';
|
12 |
|
13 |
-
interface Props
|
14 |
onClose: () => void;
|
15 |
}
|
16 |
|
17 |
-
const DomainPickerModal: React.FunctionComponent< Props > = ( { onClose
|
18 |
return (
|
19 |
<Modal
|
20 |
className="domain-picker-modal"
|
@@ -23,7 +23,7 @@ const DomainPickerModal: React.FunctionComponent< Props > = ( { onClose, ...prop
|
|
23 |
onRequestClose={ onClose }
|
24 |
title=""
|
25 |
>
|
26 |
-
<DomainPickerFSE {
|
27 |
</Modal>
|
28 |
);
|
29 |
};
|
7 |
/**
|
8 |
* Internal dependencies
|
9 |
*/
|
10 |
+
import DomainPickerFSE from '../domain-picker-fse';
|
11 |
import './styles.scss';
|
12 |
|
13 |
+
interface Props {
|
14 |
onClose: () => void;
|
15 |
}
|
16 |
|
17 |
+
const DomainPickerModal: React.FunctionComponent< Props > = ( { onClose } ) => {
|
18 |
return (
|
19 |
<Modal
|
20 |
className="domain-picker-modal"
|
23 |
onRequestClose={ onClose }
|
24 |
title=""
|
25 |
>
|
26 |
+
<DomainPickerFSE onSelect={ onClose } />
|
27 |
</Modal>
|
28 |
);
|
29 |
};
|
editor-domain-picker/src/hooks/use-current-domain.ts
CHANGED
@@ -2,9 +2,11 @@
|
|
2 |
* External dependencies
|
3 |
*/
|
4 |
import { useSelect } from '@wordpress/data';
|
5 |
-
import { Site } from '@automattic/data-stores';
|
6 |
|
7 |
-
|
|
|
|
|
|
|
8 |
|
9 |
declare global {
|
10 |
interface Window {
|
@@ -13,10 +15,10 @@ declare global {
|
|
13 |
}
|
14 |
|
15 |
export function useSite() {
|
16 |
-
return useSelect( ( select ) => select(
|
17 |
}
|
18 |
|
19 |
-
export function
|
20 |
const site = useSite();
|
21 |
return ( site?.URL && new URL( site?.URL ).hostname ) || '';
|
22 |
}
|
2 |
* External dependencies
|
3 |
*/
|
4 |
import { useSelect } from '@wordpress/data';
|
|
|
5 |
|
6 |
+
/**
|
7 |
+
* Internal dependencies
|
8 |
+
*/
|
9 |
+
import { SITE_STORE } from '../stores';
|
10 |
|
11 |
declare global {
|
12 |
interface Window {
|
15 |
}
|
16 |
|
17 |
export function useSite() {
|
18 |
+
return useSelect( ( select ) => select( SITE_STORE ).getSite( window._currentSiteId ) );
|
19 |
}
|
20 |
|
21 |
+
export function useCurrentDomainName() {
|
22 |
const site = useSite();
|
23 |
return ( site?.URL && new URL( site?.URL ).hostname ) || '';
|
24 |
}
|
editor-domain-picker/src/stores/index.ts
CHANGED
@@ -4,3 +4,5 @@
|
|
4 |
import 'a8c-fse-common-data-stores';
|
5 |
|
6 |
export const DOMAIN_SUGGESTIONS_STORE = 'automattic/domains/suggestions';
|
|
|
|
4 |
import 'a8c-fse-common-data-stores';
|
5 |
|
6 |
export const DOMAIN_SUGGESTIONS_STORE = 'automattic/domains/suggestions';
|
7 |
+
export const LAUNCH_STORE = 'automattic/launch';
|
8 |
+
export const SITE_STORE = 'automattic/site';
|
editor-plans-grid/dist/editor-plans-grid.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '47faa7bbf0ee9f881f33e8cc735b7c60');
|
editor-plans-grid/dist/editor-plans-grid.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.plans-grid{margin-bottom:85px}@media (min-width:600px){.plans-grid{margin-bottom:0}}.plans-grid__header{margin:44px 0 50px;display:flex;justify-content:space-between;align-items:center}@media (min-width:480px){.plans-grid__header{margin:64px 0 80px}}.plans-grid__details{margin-top:70px;margin-bottom:120px}@media (max-width:1440px){.plans-grid__details-container{overflow-x:auto;width:100vw;position:absolute;left:0;padding:0 20px}}@media (max-width:1440px) and (min-width:600px){.plans-grid__details-container{padding:0 44px}}@media (max-width:1440px) and (min-width:782px){.plans-grid__details-container{padding:0 88px}}.plans-grid__details-heading .plans-ui-title{color:var(--studio-black);margin-bottom:40px;font-size:32px;line-height:40px;letter-spacing:.2px}.plans-table{width:100%;display:flex;flex-wrap:wrap}.plan-item{display:inline-flex;min-width:250px;flex-grow:1;flex-basis:0;flex-direction:column;margin-top:30px}@media (min-width:480px){.plan-item+.plan-item{margin-left:-1px}}@media (max-width:480px){.plan-item:not(.is-popular){margin-top:-1px}.plan-item.is-open:not(.is-popular){margin-bottom:30px}}.plan-item__viewport{width:100%;height:100%;flex:1;border:1px solid #e2e4e7;padding:20px}.plan-item:not(.is-popular) .plan-item__heading{display:flex;align-items:center}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__heading{font-size:1em}}.plan-item__name{font-weight:700;font-size:18px;line-height:24px;display:inline-block}@media (max-width:480px){.plan-item__name{font-size:14px}}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__name{font-weight:400}}.plan-item__domain-name{font-size:.875rem}.plan-item__mobile-expand-all-plans.components-button.is-link{margin:20px auto;color:#555d66}.plan-item__badge{position:relative;display:block;background:#000;text-align:center;text-transform:uppercase;color:#fff;padding:4.5px;font-size:.75rem;margin:-24px 0 0}.plan-item__price-amount{font-weight:600;font-size:32px;line-height:24px}.plan-item__price-amount.is-loading{max-width:60px;animation:loading-fade 1.6s ease-in-out infinite;background:var(--color-neutral-5);color:transparent}.plan-item__price-amount.is-loading:after{content:"\00a0"}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__price-amount{font-weight:400;font-size:1em}}.plan-item__summary{width:100%}.plan-item__summary::-webkit-details-marker{display:none}@media (min-width:480px){.plan-item.is-popular .plan-item__summary,.plan-item__summary{pointer-events:none}}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__summary{display:flex}}.plan-item__price-note{font-size:12px;line-height:19px;letter-spacing:-.4px;color:var(--studio-gray-40);margin-top:8px;margin-bottom:10px}.plan-item__details .plan-item__summary .plan-item__price{margin-top:16px;margin-bottom:8px}.plan-item:not(.is-open) .plan-item__summary .plan-item__price{margin-top:0;margin-bottom:0;margin-left:10px;color:#555d66}.plan-item__actions{margin-bottom:16px}.plan-item__dropdown-chevron{flex:1;text-align:right}.plan-item.is-open .plan-item__dropdown-chevron{display:none}.plan-item__domain-summary{font-size:.875rem;line-height:22px;margin-top:10px}.plan-item__domain-summary.components-button.is-link{text-decoration:none;font-size:14px;color:var(--studio-blue-40);display:flex;align-items:flex-start}.plan-item__domain-summary svg:first-child{margin-right:5px;vertical-align:middle;margin-top:4px;flex:none}.plan-item__domain-summary svg:first-child path{fill:#4aa150;stroke:#4aa150}@media (max-width:480px){.plan-item.is-popular{order:-3}}.plan-item__domain-summary.is-picked{font-weight:700}.plan-item__domain-summary.is-cta{font-weight:700;padding:0}.plan-item__domain-summary.is-cta.components-button.is-link{color:var(--studio-blue-40)}.plan-item__domain-summary.is-cta svg:first-child path{fill:#4aa150;stroke:#4aa150;margin-top:5px}.plan-item__domain-summary.is-cta svg:last-child{fill:var(--studio-blue-40);stroke:var(--studio-blue-40);margin-left:8px;margin-top:8px}.plan-item__domain-summary.components-button.is-link.is-free{font-weight:700;color:#ce863d;text-decoration:line-through}.plan-item__domain-summary.components-button.is-link.is-free svg path{fill:#ce863d;stroke:#ce863d}.plan-item__select-button.components-button{padding:0 24px;height:40px}.plan-item__select-button.components-button svg{margin-left:-8px;margin-right:10px}.plan-item__domain-picker-button.components-button{font-size:.875rem;line-height:19px;letter-spacing:.2px;word-break:break-word}.plan-item__domain-picker-button.components-button.has-domain{color:var(--studio-gray-50);text-decoration:none}.plan-item__domain-picker-button.components-button svg{margin-left:2px}.plan-item__feature-item{font-size:.875rem;line-height:20px;letter-spacing:.2px;margin:4px 0;vertical-align:middle;color:#555d66;display:flex;align-items:flex-start}.plan-item__feature-item svg{display:block;margin-right:6px;margin-top:2px}.plan-item__feature-item svg path{fill:#4aa150;stroke:#4aa150}.plans-ui-title{font-family:Recoleta,Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:32px;line-height:40px;color:var(--studio-gray-100)}@media (min-width:480px){.plans-ui-title{font-family:Recoleta,Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:36px;line-height:40px}}@media (min-width:1080px){.plans-ui-title{font-family:Recoleta,Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:42px;line-height:57px}}.plans-details__table{width:100%}.plans-details__table td,.plans-details__table th{padding:13px 24px}.plans-details__table td:first-child,.plans-details__table th:first-child{padding-left:0;width:20%}@media (min-width:480px){.plans-details__table td:first-child,.plans-details__table th:first-child{width:40%}}.plans-details__table td:not(:first-child),.plans-details__table th:not(:first-child){white-space:nowrap}.plans-details__table .hidden{display:none}.plans-details__header-row th{font-weight:600;font-size:.875rem;line-height:20px;text-transform:uppercase;color:var(--studio-gray-20);padding-top:5px;padding-bottom:5px;border-bottom:1px solid #eaeaeb}.plans-details__feature-row td,.plans-details__feature-row th{font-size:.875rem;line-height:17px;letter-spacing:.2px;border-bottom:1px solid #eaeaeb;vertical-align:middle}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=ca] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=cs] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=da] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=de] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=en] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=es] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=eu] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=fi] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=fr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=gl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=hr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=hu] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=id] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=is] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=it] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=lv] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=mt] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=nb] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=nl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=pl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=pt] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=ro] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=ru] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sk] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sq] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sv] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sw] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=tr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.plans-modal-overlay.components-modal__screen-overlay{background:none;width:100%;height:100%}.plans-modal.components-modal__frame{width:100%;height:100%;top:0;left:0;min-width:unset;max-width:none;max-height:none;transform:none;border:none;box-shadow:none;position:absolute}.plans-modal .components-modal__content{padding:0}.plans-grid-container{padding:88px}
|
1 |
+
.plans-grid{margin-bottom:85px}@media (min-width:600px){.plans-grid{margin-bottom:0}}.plans-grid__header{margin:44px 0 50px;display:flex;justify-content:space-between;align-items:center}@media (min-width:480px){.plans-grid__header{margin:64px 0 80px}}.plans-grid__details{margin-top:70px}.plans-grid__details-container{padding-bottom:120px}@media (max-width:1440px){.plans-grid__details-container{overflow-x:auto;width:100%;position:absolute;left:0;padding-left:20px;padding-right:20px}}@media (max-width:1440px) and (min-width:600px){.plans-grid__details-container{padding-left:44px;padding-right:44px}}@media (max-width:1440px) and (min-width:782px){.plans-grid__details-container{padding-left:88px;padding-right:88px}}.plans-grid__details-heading .plans-ui-title{color:var(--studio-black);margin-bottom:40px;font-size:32px;line-height:40px;letter-spacing:.2px}.plans-table{width:100%;display:flex;flex-wrap:wrap}.plan-item{display:inline-flex;min-width:250px;flex-grow:1;flex-basis:0;flex-direction:column;margin-top:30px}@media (min-width:480px){.plan-item+.plan-item{margin-left:-1px}}@media (max-width:480px){.plan-item:not(.is-popular){margin-top:-1px}.plan-item.is-open:not(.is-popular){margin-bottom:30px}}.plan-item__viewport{width:100%;height:100%;flex:1;border:1px solid #e2e4e7;padding:20px}.plan-item:not(.is-popular) .plan-item__heading{display:flex;align-items:center}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__heading{font-size:1em}}.plan-item__name{font-weight:700;font-size:18px;line-height:24px;display:inline-block}@media (max-width:480px){.plan-item__name{font-size:14px}}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__name{font-weight:400}}.plan-item__domain-name{font-size:.875rem}ul.plan-item__feature-item-group{margin:0}.plan-item__mobile-expand-all-plans.components-button.is-link{margin:20px auto;color:#555d66}.plan-item__badge{position:relative;display:block;background:#000;text-align:center;text-transform:uppercase;color:#fff;padding:0 5px;font-size:.75rem;margin:-24px 0 0;height:24px;line-height:24px}.plan-item__price-amount{font-weight:600;font-size:32px;line-height:24px}.plan-item__price-amount.is-loading{max-width:60px;animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent}.plan-item__price-amount.is-loading:after{content:"\00a0"}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__price-amount{font-weight:400;font-size:1em}}.plan-item__summary{width:100%}.plan-item__summary::-webkit-details-marker{display:none}@media (min-width:480px){.plan-item.is-popular .plan-item__summary,.plan-item__summary{pointer-events:none}}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__summary{display:flex}}.plan-item__price-note{font-size:12px;line-height:19px;letter-spacing:-.4px;color:var(--studio-gray-40);margin-top:8px;margin-bottom:10px}.plan-item__details .plan-item__summary .plan-item__price{margin-top:16px;margin-bottom:8px}.plan-item:not(.is-open) .plan-item__summary .plan-item__price{margin-top:0;margin-bottom:0;margin-left:10px;color:#555d66}.plan-item__actions{margin-bottom:16px}.plan-item__dropdown-chevron{flex:1;text-align:right}.plan-item.is-open .plan-item__dropdown-chevron{display:none}.plan-item__domain-summary{font-size:.875rem;line-height:22px;margin-top:10px}.plan-item__domain-summary.components-button.is-link{text-decoration:none;font-size:14px;color:var(--studio-blue-40);display:flex;align-items:flex-start}.plan-item__domain-summary svg:first-child{margin-right:5px;vertical-align:middle;margin-top:4px;flex:none}.plan-item__domain-summary svg:first-child path{fill:#4aa150;stroke:#4aa150}@media (max-width:480px){.plan-item.is-popular{order:-3}}.plan-item__domain-summary.is-picked{font-weight:700}.plan-item__domain-summary.is-cta{font-weight:700;padding:0}.plan-item__domain-summary.is-cta.components-button.is-link{color:var(--studio-blue-40)}.plan-item__domain-summary.is-cta svg:first-child path{fill:#4aa150;stroke:#4aa150;margin-top:5px}.plan-item__domain-summary.is-cta svg:last-child{fill:var(--studio-blue-40);stroke:var(--studio-blue-40);margin-left:8px;margin-top:8px}.plan-item__domain-summary.components-button.is-link.is-free{font-weight:700;color:#ce863d;text-decoration:line-through}.plan-item__domain-summary.components-button.is-link.is-free svg path{fill:#ce863d;stroke:#ce863d}.plan-item__select-button.components-button{padding:0 24px;height:40px}.plan-item__select-button.components-button svg{margin-left:-8px;margin-right:10px}.plan-item__domain-picker-button.components-button{font-size:.875rem;line-height:19px;letter-spacing:.2px;word-break:break-word}.plan-item__domain-picker-button.components-button.has-domain{color:var(--studio-gray-50);text-decoration:none}.plan-item__domain-picker-button.components-button svg{margin-left:2px}.plan-item__feature-item{font-size:.875rem;line-height:20px;letter-spacing:.2px;margin:4px 0;vertical-align:middle;color:#555d66;display:flex;align-items:flex-start}.plan-item__feature-item svg{display:block;margin-right:6px;margin-top:2px}.plan-item__feature-item svg path{fill:#4aa150;stroke:#4aa150}@keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.onboarding-title{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:32px;line-height:40px;color:var(--mainColor);margin:0}@media (min-width:480px){.onboarding-title{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:36px;line-height:40px}}@media (min-width:1080px){.onboarding-title{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:42px;line-height:57px}}.onboarding-subtitle{font-size:16px;line-height:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:400;letter-spacing:.2px;color:var(--studio-gray-60);margin:5px 0 0;max-width:550px}@media (min-width:600px){.onboarding-subtitle{margin-top:0}}.plans-grid__details-heading{margin-bottom:20px}.plans-details__table{width:100%;border-spacing:0}.plans-details__table td,.plans-details__table th{padding:13px 24px}.plans-details__table td:first-child,.plans-details__table th:first-child{padding-left:0;width:20%}@media (min-width:480px){.plans-details__table td:first-child,.plans-details__table th:first-child{width:40%}}.plans-details__table td:not(:first-child),.plans-details__table th:not(:first-child){white-space:nowrap}.plans-details__table .hidden{display:none}.plans-details__header-row th{font-weight:600;font-size:.875rem;line-height:20px;text-transform:uppercase;color:var(--studio-gray-20);padding-top:5px;padding-bottom:5px;border-bottom:1px solid #eaeaeb;text-align:left}thead .plans-details__header-row th:not(:first-child){text-align:center}.plans-details__feature-row td,.plans-details__feature-row th{font-size:.875rem;font-weight:400;line-height:17px;letter-spacing:.2px;border-bottom:1px solid #eaeaeb;vertical-align:middle}.plans-details__feature-row th{text-align:left}.plans-details__feature-row td{text-align:center}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.plans-modal-overlay.components-modal__screen-overlay{background:none;width:100%;height:100%}.plans-modal.components-modal__frame{width:100%;height:100%;top:0;left:0;min-width:unset;max-width:none;max-height:none;transform:none;border:none;box-shadow:none;position:absolute}.plans-modal .components-modal__content{padding:0}.plans-grid-container{padding:88px}
|
editor-plans-grid/dist/editor-plans-grid.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
-
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
6 |
-
*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var l=typeof a;if("string"===l||"number"===l)e.push(a);else if(Array.isArray(a)&&a.length){var i=r.apply(null,a);i&&e.push(i)}else if("object"===l)for(var c in a)n.call(a,c)&&a[c]&&e.push(c)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},function(e,t){!function(){e.exports=this["a8c-fse-common-data-stores"]}()},,function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){var a=n(14),r=n(15),l=n(16),i=n(18);e.exports=function(e,t){return a(e)||r(e,t)||l(e,t)||i()}},function(e,t,n){var a=n(19);e.exports=function(e,t){if(null==e)return{};var n,r,l=a(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],a=!0,r=!1,l=void 0;try{for(var i,c=e[Symbol.iterator]();!(a=(i=c.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(o){r=!0,l=o}finally{try{a||null==c.return||c.return()}finally{if(r)throw l}}return n}}},function(e,t,n){var a=n(17);e.exports=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var a=n(0),r=n.n(a),l=n(10),i=(n(8),n(11)),c=n.n(i),o=n(1),s=n(3);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var f=function(e){var t=e.icon,n=e.size,a=void 0===n?24:n,r=m(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:a,height:a},r))},d=n(4),b=Object(o.createElement)(d.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(d.Path,{d:"M17 9.4L12 14 7 9.4l-1 1.2 6 5.4 6-5.4z"})),v=n(12),E=n.n(v),_=n(5),y=n(13),g=n.n(y),O=n(2);var h=function(){return(h=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};var j=n(6),P=a.createContext(w()),N=function(){return a.useContext(P)};Object(j.createHigherOrderComponent)((function(e){return function(t){var n=N();return a.createElement(e,h({},n,t))}}),"withI18n");function w(e){var t,n,a=Object(_.createI18n)(e),r=null!==(n=null===(t=null==e?void 0:e[""])||void 0===t?void 0:t.localeSlug)&&void 0!==n?n:"en";return{__:a.__.bind(a),_n:a._n.bind(a),_nx:a._nx.bind(a),_x:a._x.bind(a),isRTL:a.isRTL.bind(a),i18nLocale:r}}n(22);var S=function(e){var t=e.children;return a.createElement("h1",{className:"plans-ui-title"},t)},x=Object(o.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(d.Path,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"})),k=Object(o.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(d.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),A=n(7),D=n.n(A),C=r.a.createElement(f,{icon:x,size:17}),M=r.a.createElement(f,{icon:k,size:17}),I=r.a.createElement("svg",{width:"8",viewBox:"0 0 8 4"},r.a.createElement("path",{d:"M0 0 L8 0 L4 4 L0 0",fill:"currentColor"}));var L=function(e){var t=e.slug,n=e.name,l=e.price,i=e.isPopular,c=void 0!==i&&i,o=e.isFree,u=void 0!==o&&o,m=e.domain,p=e.features,f=e.onSelect,d=e.onPickDomainClick,b=e.onToggleExpandAll,v=e.allPlansExpanded,E=N().__,y=Object(a.useState)(!1),g=y[0],O=y[1],h=Object(j.useViewportMatch)("mobile",">="),P=function(e,t,n){return{NO_DOMAIN:{FREE_PLAN:null,PAID_PLAN:{className:"plan-item__domain-summary is-cta",icon:C,domainMessage:r.a.createElement(r.a.Fragment,null,n("Pick a free domain (1 year)")," ",I)}},FREE_DOMAIN:{FREE_PLAN:null,PAID_PLAN:{className:"plan-item__domain-summary is-cta",icon:C,domainMessage:r.a.createElement(r.a.Fragment,null,n("Pick a free domain (1 year)")," ",I)}},PAID_DOMAIN:{FREE_PLAN:{className:"plan-item__domain-summary is-free",icon:M,domainMessage:Object(_.sprintf)(n("%s is not included"),null==t?void 0:t.domain_name)},PAID_PLAN:{className:"plan-item__domain-summary is-picked",icon:C,domainMessage:Object(_.sprintf)(n("%s is included"),null==t?void 0:t.domain_name)}}}[t&&(t.is_free?"FREE_DOMAIN":"PAID_DOMAIN")||"NO_DOMAIN"][e?"FREE_PLAN":"PAID_PLAN"]}(u,m,E);Object(a.useEffect)((function(){O(v)}),[v]);var w=v||h||c||g;return r.a.createElement("div",{className:D()("plan-item",{"is-popular":c,"is-open":w})},c&&r.a.createElement("span",{className:"plan-item__badge"},E("Popular")),r.a.createElement("div",{className:D()("plan-item__viewport",{"is-popular":c})},r.a.createElement("div",{className:"plan-item__details"},r.a.createElement("div",{tabIndex:0,role:"button",onClick:function(){return O((function(e){return!e}))},onKeyDown:function(e){return 32===e.keyCode&&O((function(e){return!e}))},className:"plan-item__summary"},r.a.createElement("div",{className:"plan-item__heading"},r.a.createElement("div",{className:"plan-item__name"},n)),r.a.createElement("div",{className:"plan-item__price"},r.a.createElement("div",{className:D()("plan-item__price-amount",{"is-loading":!l})},l||" ")),!w&&r.a.createElement("div",{className:"plan-item__dropdown-chevron"},I)),r.a.createElement("div",{hidden:!w},r.a.createElement("div",{className:"plan-item__price-note"},E(u?"free forever":"per month, billed yearly")),r.a.createElement("div",{className:"plan-item__actions"},r.a.createElement(s.Button,{className:"plan-item__select-button",onClick:function(){f(t)},isPrimary:!0,isLarge:!0},r.a.createElement("span",null,E("Choose")))),r.a.createElement("div",{className:"plan-item__domain"},P&&r.a.createElement(s.Button,{className:P.className,onClick:d,isLink:!0},P.icon,P.domainMessage)),r.a.createElement("div",{className:"plan-item__features"},r.a.createElement("ul",{className:"plan-item__feature-item-group"},p.map((function(e,t){return r.a.createElement("li",{key:t,className:"plan-item__feature-item"},C," ",e)}))))))),c&&!h&&r.a.createElement(s.Button,{onClick:b,className:"plan-item__mobile-expand-all-plans",isLink:!0},E(v?"Collapse all plans":"Expand all plans")))},F="automattic/onboard/plans",R=(n(21),function(e){var t=e.selectedPlanSlug,n=e.onPlanSelect,l=e.onPickDomainClick,i=e.currentDomain,c=Object(O.useSelect)((function(e){return e(F).getSupportedPlans()})),o=Object(O.useSelect)((function(e){return e(F).getPrices()})),s=Object(a.useState)(!1),u=s[0],m=s[1];return r.a.createElement("div",{className:"plans-table"},c.map((function(e){var a;return e&&r.a.createElement(L,{allPlansExpanded:u,key:e.storeSlug,slug:e.storeSlug,domain:i,features:null!==(a=e.features)&&void 0!==a?a:[],isPopular:e.isPopular,isFree:e.isFree,price:o[e.storeSlug],name:null==e?void 0:e.title.toString(),isSelected:e.storeSlug===t,onSelect:n,onPickDomainClick:l,onToggleExpandAll:function(){return m((function(e){return!e}))}})})))}),z=(n(23),r.a.createElement(f,{icon:x,size:25})),B=function(e){var t=e.onSelect,n=Object(O.useSelect)((function(e){return e(F).getPlansDetails()})),a=Object(O.useSelect)((function(e){return e(F).getPrices()})),l=Object(O.useSelect)((function(e){return e(F).getSupportedPlans()})),i=N().__;return r.a.createElement("div",{className:"plans-details"},r.a.createElement("table",{className:"plans-details__table"},r.a.createElement("thead",null,r.a.createElement("tr",{className:"plans-details__header-row"},r.a.createElement("th",null,i("Feature")),l.map((function(e){return r.a.createElement("th",{key:e.storeSlug},e.title)})))),n.map((function(e){return r.a.createElement("tbody",{key:e.id},e.name&&r.a.createElement("tr",{className:"plans-details__header-row"},r.a.createElement("th",{colSpan:6},e.name)),e.features.map((function(e,t){return r.a.createElement("tr",{className:"plans-details__feature-row",key:t},r.a.createElement("th",null,e.name),e.data.map((function(t,n){return r.a.createElement("td",{key:n},"checkbox"===e.type&&(t?r.a.createElement(r.a.Fragment,null,r.a.createElement("span",{className:"hidden"},i("Available")),z):r.a.createElement(r.a.Fragment,null,r.a.createElement("span",{className:"hidden"},i("Unavailable")," "))),"text"===e.type&&t)})))})))})),r.a.createElement("tbody",null,r.a.createElement("tr",{className:"plans-details__header-row"},r.a.createElement("th",{colSpan:6},i("Sign up"))),r.a.createElement("tr",{className:"plans-details__feature-row",key:"price"},r.a.createElement("th",null,i("Monthly subscription (billed yearly)")),l.map((function(e){return r.a.createElement("td",{key:e.storeSlug},a[e.storeSlug])}))),r.a.createElement("tr",{className:"plans-details__feature-row",key:"cta"},r.a.createElement("th",null),l.map((function(e){return r.a.createElement("td",{key:e.storeSlug},r.a.createElement(s.Button,{onClick:function(){t(e.storeSlug)},isPrimary:!0,isLarge:!0},r.a.createElement("span",null,i("Choose"))))}))))))},T=(n(20),function(e){var t,n=e.header,r=e.currentPlan,l=e.currentDomain,i=e.onPlanSelect,c=e.onPickDomainClick,o=N().__,s=Object(O.useDispatch)(F).setPlan,u=function(e){s(e),null==i||i(e)};return a.createElement("div",{className:"plans-grid"},n&&a.createElement("div",{className:"plans-grid__header"},n),a.createElement("div",{className:"plans-grid__table"},a.createElement("div",{className:"plans-grid__table-container"},a.createElement(R,{selectedPlanSlug:null!==(t=null==r?void 0:r.storeSlug)&&void 0!==t?t:"",onPlanSelect:u,currentDomain:l,onPickDomainClick:c}))),a.createElement("div",{className:"plans-grid__details"},a.createElement("div",{className:"plans-grid__details-heading"},a.createElement(S,null,o("Detailed comparison"))),a.createElement("div",{className:"plans-grid__details-container"},a.createElement(B,{onSelect:u}))))});function V(){return Object(O.useSelect)((function(e){return e("automattic/onboard/plans").getSelectedPlan()}))||void 0}var G=function(e){var t=Object.assign({},e),n=V();return Object(o.createElement)(T,g()({currentDomain:void 0,currentPlan:n},t))},q=(n(24),function(e){var t=e.onClose,n=E()(e,["onClose"]),a=Object(o.createElement)("div",null,Object(o.createElement)("h1",{className:"wp-brand-font"},Object(_.__)("Choose a plan")),Object(o.createElement)("p",null,Object(_.__)("Pick a plan that’s right for you. Switch plans as your needs change. There’s no risk, you can cancel for a full refund within 30 days.")));return Object(o.createElement)(s.Modal,{className:"plans-modal",overlayClassName:"plans-modal-overlay",bodyOpenClassName:"has-plans-modal",onRequestClose:t,title:""},a,Object(o.createElement)("div",{className:"plans-grid-container"},Object(o.createElement)(G,n)))}),U=function(){var e=a.useState(!1),t=c()(e,2),n=t[0],r=t[1],l=V();return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.Button,{"aria-expanded":n,"aria-haspopup":"menu","aria-pressed":n,onClick:function(){return r((function(e){return!e}))}},Object(o.createElement)("span",null,"Plans: ",null==l?void 0:l.title),Object(o.createElement)(f,{icon:b,size:22})),n&&Object(o.createElement)(q,{onClose:function(){return r(!1)}}))},H=setInterval((function(){var e=document.querySelector(".edit-post-header__settings");if(e){clearInterval(H);var t=document.createElement("div");e.prepend(t),l.render(a.createElement(U),t)}}))}]));
|
1 |
+
!function(e,t){for(var n in t)e[n]=t[n]}(window,function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=22)}([function(e,t){!function(){e.exports=this.React}()},function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.primitives}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t,n){var a;
|
2 |
/*!
|
3 |
Copyright (c) 2017 Jed Watson.
|
4 |
Licensed under the MIT License (MIT), see
|
5 |
http://jedwatson.github.io/classnames
|
6 |
+
*/!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var l=typeof a;if("string"===l||"number"===l)e.push(a);else if(Array.isArray(a)&&a.length){var c=r.apply(null,a);c&&e.push(c)}else if("object"===l)for(var i in a)n.call(a,i)&&a[i]&&e.push(i)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},,function(e,t){!function(){e.exports=this["a8c-fse-common-data-stores"]}()},function(e,t){!function(){e.exports=this.ReactDOM}()},function(e,t,n){var a=n(12),r=n(13),l=n(14),c=n(16);e.exports=function(e,t){return a(e)||r(e,t)||l(e,t)||c()}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],a=!0,r=!1,l=void 0;try{for(var c,i=e[Symbol.iterator]();!(a=(c=i.next()).done)&&(n.push(c.value),!t||n.length!==t);a=!0);}catch(o){r=!0,l=o}finally{try{a||null==i.return||i.return()}finally{if(r)throw l}}return n}}},function(e,t,n){var a=n(15);e.exports=function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var a=n(0),r=n.n(a),l=n(10),c=(n(9),n(11)),i=n.n(c),o=n(1),s=n(3);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},l=Object.keys(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a<l.length;a++)n=l[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}var d=function(e){var t=e.icon,n=e.size,a=void 0===n?24:n,r=m(e,["icon","size"]);return Object(o.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:a,height:a},r))},f=n(4),b=Object(o.createElement)(f.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},Object(o.createElement)(f.Path,{d:"M17 9.4L12 14 7 9.4l-1 1.2 6 5.4 6-5.4z"})),v=n(5),_=n(2);var E=function(){return(E=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};var g=n(6),y=a.createContext(O()),h=function(){return a.useContext(y)};Object(g.createHigherOrderComponent)((function(e){return function(t){var n=h();return a.createElement(e,E({},n,t))}}),"withI18n");function O(e){var t,n,a=Object(v.createI18n)(e),r=null!==(n=null===(t=null==e?void 0:e[""])||void 0===t?void 0:t.localeSlug)&&void 0!==n?n:"en";return{__:a.__.bind(a),_n:a._n.bind(a),_nx:a._nx.bind(a),_x:a._x.bind(a),isRTL:a.isRTL.bind(a),i18nLocale:r}}n(19);var j=function(e){var t=e.children;return a.createElement("h1",{className:"onboarding-title"},t)},P=Object(o.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(f.Path,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"})),N=Object(o.createElement)(f.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Object(o.createElement)(f.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"})),S=n(7),w=n.n(S),x=r.a.createElement(d,{icon:P,size:17}),k=r.a.createElement(d,{icon:N,size:17}),A=r.a.createElement("svg",{width:"8",viewBox:"0 0 8 4"},r.a.createElement("path",{d:"M0 0 L8 0 L4 4 L0 0",fill:"currentColor"}));var D=function(e){var t=e.slug,n=e.name,l=e.price,c=e.isPopular,i=void 0!==c&&c,o=e.isFree,u=void 0!==o&&o,m=e.domain,p=e.features,d=e.onSelect,f=e.onPickDomainClick,b=e.onToggleExpandAll,_=e.allPlansExpanded,E=h().__,y=Object(a.useState)(!1),O=y[0],j=y[1],P=Object(g.useViewportMatch)("mobile",">="),N=function(e,t,n){return{NO_DOMAIN:{FREE_PLAN:null,PAID_PLAN:{className:"plan-item__domain-summary is-cta",icon:x,domainMessage:r.a.createElement(r.a.Fragment,null,n("Pick a free domain (1 year)")," ",A)}},FREE_DOMAIN:{FREE_PLAN:null,PAID_PLAN:{className:"plan-item__domain-summary is-cta",icon:x,domainMessage:r.a.createElement(r.a.Fragment,null,n("Pick a free domain (1 year)")," ",A)}},PAID_DOMAIN:{FREE_PLAN:{className:"plan-item__domain-summary is-free",icon:k,domainMessage:Object(v.sprintf)(n("%s is not included"),null==t?void 0:t.domain_name)},PAID_PLAN:{className:"plan-item__domain-summary is-picked",icon:x,domainMessage:Object(v.sprintf)(n("%s is included"),null==t?void 0:t.domain_name)}}}[t&&(t.is_free?"FREE_DOMAIN":"PAID_DOMAIN")||"NO_DOMAIN"][e?"FREE_PLAN":"PAID_PLAN"]}(u,m,E);Object(a.useEffect)((function(){j(_)}),[_]);var S=_||P||i||O;return r.a.createElement("div",{className:w()("plan-item",{"is-popular":i,"is-open":S})},i&&r.a.createElement("span",{className:"plan-item__badge"},E("Popular")),r.a.createElement("div",{className:w()("plan-item__viewport",{"is-popular":i})},r.a.createElement("div",{className:"plan-item__details"},r.a.createElement("div",{tabIndex:0,role:"button",onClick:function(){return j((function(e){return!e}))},onKeyDown:function(e){return 32===e.keyCode&&j((function(e){return!e}))},className:"plan-item__summary"},r.a.createElement("div",{className:"plan-item__heading"},r.a.createElement("div",{className:"plan-item__name"},n)),r.a.createElement("div",{className:"plan-item__price"},r.a.createElement("div",{className:w()("plan-item__price-amount",{"is-loading":!l})},l||" ")),!S&&r.a.createElement("div",{className:"plan-item__dropdown-chevron"},A)),r.a.createElement("div",{hidden:!S},r.a.createElement("div",{className:"plan-item__price-note"},E(u?"free forever":"per month, billed yearly")),r.a.createElement("div",{className:"plan-item__actions"},r.a.createElement(s.Button,{className:"plan-item__select-button",onClick:function(){d(t)},isPrimary:!0,isLarge:!0},r.a.createElement("span",null,E("Choose")))),r.a.createElement("div",{className:"plan-item__domain"},N&&r.a.createElement(s.Button,{className:N.className,onClick:f,isLink:!0},N.icon,N.domainMessage)),r.a.createElement("div",{className:"plan-item__features"},r.a.createElement("ul",{className:"plan-item__feature-item-group"},p.map((function(e,t){return r.a.createElement("li",{key:t,className:"plan-item__feature-item"},x," ",e)}))))))),i&&!P&&r.a.createElement(s.Button,{onClick:b,className:"plan-item__mobile-expand-all-plans",isLink:!0},E(_?"Collapse all plans":"Expand all plans")))},C="automattic/onboard/plans",M=(n(18),function(e){var t=e.selectedPlanSlug,n=e.onPlanSelect,l=e.onPickDomainClick,c=e.currentDomain,i=Object(_.useSelect)((function(e){return e(C).getSupportedPlans()})),o=Object(_.useSelect)((function(e){return e(C).getPrices()})),s=Object(a.useState)(!1),u=s[0],m=s[1];return r.a.createElement("div",{className:"plans-table"},i.map((function(e){var a;return e&&r.a.createElement(D,{allPlansExpanded:u,key:e.storeSlug,slug:e.storeSlug,domain:c,features:null!==(a=e.features)&&void 0!==a?a:[],isPopular:e.isPopular,isFree:e.isFree,price:o[e.storeSlug],name:null==e?void 0:e.title.toString(),isSelected:e.storeSlug===t,onSelect:n,onPickDomainClick:l,onToggleExpandAll:function(){return m((function(e){return!e}))}})})))}),I=(n(20),r.a.createElement(d,{icon:P,size:25})),L=function(e){var t=e.onSelect,n=Object(_.useSelect)((function(e){return e(C).getPlansDetails()})),a=Object(_.useSelect)((function(e){return e(C).getPrices()})),l=Object(_.useSelect)((function(e){return e(C).getSupportedPlans()})),c=h().__;return r.a.createElement("div",{className:"plans-details"},r.a.createElement("table",{className:"plans-details__table"},r.a.createElement("thead",null,r.a.createElement("tr",{className:"plans-details__header-row"},r.a.createElement("th",null,c("Feature")),l.map((function(e){return r.a.createElement("th",{key:e.storeSlug},e.title)})))),n.map((function(e){return r.a.createElement("tbody",{key:e.id},e.name&&r.a.createElement("tr",{className:"plans-details__header-row"},r.a.createElement("th",{colSpan:6},e.name)),e.features.map((function(e,t){return r.a.createElement("tr",{className:"plans-details__feature-row",key:t},r.a.createElement("th",null,e.name),e.data.map((function(t,n){return r.a.createElement("td",{key:n},"checkbox"===e.type&&(t?r.a.createElement(r.a.Fragment,null,r.a.createElement("span",{className:"hidden"},c("Available")),I):r.a.createElement(r.a.Fragment,null,r.a.createElement("span",{className:"hidden"},c("Unavailable")," "))),"text"===e.type&&t)})))})))})),r.a.createElement("tbody",null,r.a.createElement("tr",{className:"plans-details__header-row"},r.a.createElement("th",{colSpan:6},c("Sign up"))),r.a.createElement("tr",{className:"plans-details__feature-row",key:"price"},r.a.createElement("th",null,c("Monthly subscription (billed yearly)")),l.map((function(e){return r.a.createElement("td",{key:e.storeSlug},a[e.storeSlug])}))),r.a.createElement("tr",{className:"plans-details__feature-row",key:"cta"},r.a.createElement("th",null),l.map((function(e){return r.a.createElement("td",{key:e.storeSlug},r.a.createElement(s.Button,{onClick:function(){t(e.storeSlug)},isPrimary:!0,isLarge:!0},r.a.createElement("span",null,c("Choose"))))}))))))},F=(n(17),function(e){var t,n=e.header,r=e.currentPlan,l=e.currentDomain,c=e.onPlanSelect,i=e.onPickDomainClick,o=h().__;return a.createElement("div",{className:"plans-grid"},n&&a.createElement("div",{className:"plans-grid__header"},n),a.createElement("div",{className:"plans-grid__table"},a.createElement("div",{className:"plans-grid__table-container"},a.createElement(M,{selectedPlanSlug:null!==(t=null==r?void 0:r.storeSlug)&&void 0!==t?t:"",onPlanSelect:c,currentDomain:l,onPickDomainClick:i}))),a.createElement("div",{className:"plans-grid__details"},a.createElement("div",{className:"plans-grid__details-heading"},a.createElement(j,null,o("Detailed comparison"))),a.createElement("div",{className:"plans-grid__details-container"},a.createElement(L,{onSelect:c}))))}),R=function(e){var t=e.onSelect,n=Object(_.useSelect)((function(e){return e("automattic/launch").getState()})).domain,a=Object(_.useDispatch)("automattic/launch").updatePlan;return Object(o.createElement)(F,{currentDomain:n,onPlanSelect:function(e){a(e),null==t||t()}})},z=(n(21),function(e){var t=e.onClose,n=Object(o.createElement)("div",null,Object(o.createElement)("h1",{className:"wp-brand-font"},Object(v.__)("Choose a plan")),Object(o.createElement)("p",null,Object(v.__)("Pick a plan that’s right for you. Switch plans as your needs change. There’s no risk, you can cancel for a full refund within 30 days.")));return Object(o.createElement)(s.Modal,{className:"plans-modal",overlayClassName:"plans-modal-overlay",bodyOpenClassName:"has-plans-modal",onRequestClose:t,title:""},n,Object(o.createElement)("div",{className:"plans-grid-container"},Object(o.createElement)(R,{onSelect:t})))});var B=function(){var e,t,n,r,l=a.useState(!1),c=i()(l,2),u=c[0],m=c[1],p=(e=Object(_.useSelect)((function(e){return e("automattic/launch").getState()})),t=e.domain,n=e.plan,r=Object(_.useSelect)((function(e){return e("automattic/onboard/plans").getDefaultPaidPlan()})),!t||(null==t?void 0:t.is_free)||n?n:r);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)(s.Button,{"aria-expanded":u,"aria-haspopup":"menu","aria-pressed":u,onClick:function(){return m((function(e){return!e}))}},Object(o.createElement)("span",null,"Plans: ",null==p?void 0:p.title),Object(o.createElement)(d,{icon:b,size:22})),u&&Object(o.createElement)(z,{onClose:function(){return m(!1)}}))},T=setInterval((function(){var e=document.querySelector(".edit-post-header__settings");if(e){clearInterval(T);var t=document.createElement("div");e.prepend(t),l.render(a.createElement(B),t)}}))}]));
|
editor-plans-grid/dist/editor-plans-grid.rtl.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.plans-grid{margin-bottom:85px}@media (min-width:600px){.plans-grid{margin-bottom:0}}.plans-grid__header{margin:44px 0 50px;display:flex;justify-content:space-between;align-items:center}@media (min-width:480px){.plans-grid__header{margin:64px 0 80px}}.plans-grid__details{margin-top:70px;margin-bottom:120px}@media (max-width:1440px){.plans-grid__details-container{overflow-x:auto;width:100vw;position:absolute;right:0;padding:0 20px}}@media (max-width:1440px) and (min-width:600px){.plans-grid__details-container{padding:0 44px}}@media (max-width:1440px) and (min-width:782px){.plans-grid__details-container{padding:0 88px}}.plans-grid__details-heading .plans-ui-title{color:var(--studio-black);margin-bottom:40px;font-size:32px;line-height:40px;letter-spacing:.2px}.plans-table{width:100%;display:flex;flex-wrap:wrap}.plan-item{display:inline-flex;min-width:250px;flex-grow:1;flex-basis:0;flex-direction:column;margin-top:30px}@media (min-width:480px){.plan-item+.plan-item{margin-right:-1px}}@media (max-width:480px){.plan-item:not(.is-popular){margin-top:-1px}.plan-item.is-open:not(.is-popular){margin-bottom:30px}}.plan-item__viewport{width:100%;height:100%;flex:1;border:1px solid #e2e4e7;padding:20px}.plan-item:not(.is-popular) .plan-item__heading{display:flex;align-items:center}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__heading{font-size:1em}}.plan-item__name{font-weight:700;font-size:18px;line-height:24px;display:inline-block}@media (max-width:480px){.plan-item__name{font-size:14px}}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__name{font-weight:400}}.plan-item__domain-name{font-size:.875rem}.plan-item__mobile-expand-all-plans.components-button.is-link{margin:20px auto;color:#555d66}.plan-item__badge{position:relative;display:block;background:#000;text-align:center;text-transform:uppercase;color:#fff;padding:4.5px;font-size:.75rem;margin:-24px 0 0}.plan-item__price-amount{font-weight:600;font-size:32px;line-height:24px}.plan-item__price-amount.is-loading{max-width:60px;animation:loading-fade 1.6s ease-in-out infinite;background:var(--color-neutral-5);color:transparent}.plan-item__price-amount.is-loading:after{content:"\00a0"}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__price-amount{font-weight:400;font-size:1em}}.plan-item__summary{width:100%}.plan-item__summary::-webkit-details-marker{display:none}@media (min-width:480px){.plan-item.is-popular .plan-item__summary,.plan-item__summary{pointer-events:none}}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__summary{display:flex}}.plan-item__price-note{font-size:12px;line-height:19px;letter-spacing:-.4px;color:var(--studio-gray-40);margin-top:8px;margin-bottom:10px}.plan-item__details .plan-item__summary .plan-item__price{margin-top:16px;margin-bottom:8px}.plan-item:not(.is-open) .plan-item__summary .plan-item__price{margin-top:0;margin-bottom:0;margin-right:10px;color:#555d66}.plan-item__actions{margin-bottom:16px}.plan-item__dropdown-chevron{flex:1;text-align:left}.plan-item.is-open .plan-item__dropdown-chevron{display:none}.plan-item__domain-summary{font-size:.875rem;line-height:22px;margin-top:10px}.plan-item__domain-summary.components-button.is-link{text-decoration:none;font-size:14px;color:var(--studio-blue-40);display:flex;align-items:flex-start}.plan-item__domain-summary svg:first-child{margin-left:5px;vertical-align:middle;margin-top:4px;flex:none}.plan-item__domain-summary svg:first-child path{fill:#4aa150;stroke:#4aa150}@media (max-width:480px){.plan-item.is-popular{order:-3}}.plan-item__domain-summary.is-picked{font-weight:700}.plan-item__domain-summary.is-cta{font-weight:700;padding:0}.plan-item__domain-summary.is-cta.components-button.is-link{color:var(--studio-blue-40)}.plan-item__domain-summary.is-cta svg:first-child path{fill:#4aa150;stroke:#4aa150;margin-top:5px}.plan-item__domain-summary.is-cta svg:last-child{fill:var(--studio-blue-40);stroke:var(--studio-blue-40);margin-right:8px;margin-top:8px}.plan-item__domain-summary.components-button.is-link.is-free{font-weight:700;color:#ce863d;text-decoration:line-through}.plan-item__domain-summary.components-button.is-link.is-free svg path{fill:#ce863d;stroke:#ce863d}.plan-item__select-button.components-button{padding:0 24px;height:40px}.plan-item__select-button.components-button svg{margin-right:-8px;margin-left:10px}.plan-item__domain-picker-button.components-button{font-size:.875rem;line-height:19px;letter-spacing:.2px;word-break:break-word}.plan-item__domain-picker-button.components-button.has-domain{color:var(--studio-gray-50);text-decoration:none}.plan-item__domain-picker-button.components-button svg{margin-right:2px}.plan-item__feature-item{font-size:.875rem;line-height:20px;letter-spacing:.2px;margin:4px 0;vertical-align:middle;color:#555d66;display:flex;align-items:flex-start}.plan-item__feature-item svg{display:block;margin-left:6px;margin-top:2px}.plan-item__feature-item svg path{fill:#4aa150;stroke:#4aa150}.plans-ui-title{font-family:Recoleta,Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:32px;line-height:40px;color:var(--studio-gray-100)}@media (min-width:480px){.plans-ui-title{font-family:Recoleta,Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:36px;line-height:40px}}@media (min-width:1080px){.plans-ui-title{font-family:Recoleta,Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:42px;line-height:57px}}.plans-details__table{width:100%}.plans-details__table td,.plans-details__table th{padding:13px 24px}.plans-details__table td:first-child,.plans-details__table th:first-child{padding-right:0;width:20%}@media (min-width:480px){.plans-details__table td:first-child,.plans-details__table th:first-child{width:40%}}.plans-details__table td:not(:first-child),.plans-details__table th:not(:first-child){white-space:nowrap}.plans-details__table .hidden{display:none}.plans-details__header-row th{font-weight:600;font-size:.875rem;line-height:20px;text-transform:uppercase;color:var(--studio-gray-20);padding-top:5px;padding-bottom:5px;border-bottom:1px solid #eaeaeb}.plans-details__feature-row td,.plans-details__feature-row th{font-size:.875rem;line-height:17px;letter-spacing:.2px;border-bottom:1px solid #eaeaeb;vertical-align:middle}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=ca] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=cs] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=da] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=de] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=en] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=es] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=eu] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=fi] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=fr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=gl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=hr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=hu] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=id] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=is] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=it] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=lv] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=mt] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=nb] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=nl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=pl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=pt] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=ro] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=ru] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sk] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sq] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sv] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=sw] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=tr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.plans-modal-overlay.components-modal__screen-overlay{background:none;width:100%;height:100%}.plans-modal.components-modal__frame{width:100%;height:100%;top:0;right:0;min-width:unset;max-width:none;max-height:none;transform:none;border:none;box-shadow:none;position:absolute}.plans-modal .components-modal__content{padding:0}.plans-grid-container{padding:88px}
|
1 |
+
.plans-grid{margin-bottom:85px}@media (min-width:600px){.plans-grid{margin-bottom:0}}.plans-grid__header{margin:44px 0 50px;display:flex;justify-content:space-between;align-items:center}@media (min-width:480px){.plans-grid__header{margin:64px 0 80px}}.plans-grid__details{margin-top:70px}.plans-grid__details-container{padding-bottom:120px}@media (max-width:1440px){.plans-grid__details-container{overflow-x:auto;width:100%;position:absolute;right:0;padding-right:20px;padding-left:20px}}@media (max-width:1440px) and (min-width:600px){.plans-grid__details-container{padding-right:44px;padding-left:44px}}@media (max-width:1440px) and (min-width:782px){.plans-grid__details-container{padding-right:88px;padding-left:88px}}.plans-grid__details-heading .plans-ui-title{color:var(--studio-black);margin-bottom:40px;font-size:32px;line-height:40px;letter-spacing:.2px}.plans-table{width:100%;display:flex;flex-wrap:wrap}.plan-item{display:inline-flex;min-width:250px;flex-grow:1;flex-basis:0;flex-direction:column;margin-top:30px}@media (min-width:480px){.plan-item+.plan-item{margin-right:-1px}}@media (max-width:480px){.plan-item:not(.is-popular){margin-top:-1px}.plan-item.is-open:not(.is-popular){margin-bottom:30px}}.plan-item__viewport{width:100%;height:100%;flex:1;border:1px solid #e2e4e7;padding:20px}.plan-item:not(.is-popular) .plan-item__heading{display:flex;align-items:center}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__heading{font-size:1em}}.plan-item__name{font-weight:700;font-size:18px;line-height:24px;display:inline-block}@media (max-width:480px){.plan-item__name{font-size:14px}}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__name{font-weight:400}}.plan-item__domain-name{font-size:.875rem}ul.plan-item__feature-item-group{margin:0}.plan-item__mobile-expand-all-plans.components-button.is-link{margin:20px auto;color:#555d66}.plan-item__badge{position:relative;display:block;background:#000;text-align:center;text-transform:uppercase;color:#fff;padding:0 5px;font-size:.75rem;margin:-24px 0 0;height:24px;line-height:24px}.plan-item__price-amount{font-weight:600;font-size:32px;line-height:24px}.plan-item__price-amount.is-loading{max-width:60px;animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent}.plan-item__price-amount.is-loading:after{content:"\00a0"}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__price-amount{font-weight:400;font-size:1em}}.plan-item__summary{width:100%}.plan-item__summary::-webkit-details-marker{display:none}@media (min-width:480px){.plan-item.is-popular .plan-item__summary,.plan-item__summary{pointer-events:none}}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__summary{display:flex}}.plan-item__price-note{font-size:12px;line-height:19px;letter-spacing:-.4px;color:var(--studio-gray-40);margin-top:8px;margin-bottom:10px}.plan-item__details .plan-item__summary .plan-item__price{margin-top:16px;margin-bottom:8px}.plan-item:not(.is-open) .plan-item__summary .plan-item__price{margin-top:0;margin-bottom:0;margin-right:10px;color:#555d66}.plan-item__actions{margin-bottom:16px}.plan-item__dropdown-chevron{flex:1;text-align:left}.plan-item.is-open .plan-item__dropdown-chevron{display:none}.plan-item__domain-summary{font-size:.875rem;line-height:22px;margin-top:10px}.plan-item__domain-summary.components-button.is-link{text-decoration:none;font-size:14px;color:var(--studio-blue-40);display:flex;align-items:flex-start}.plan-item__domain-summary svg:first-child{margin-left:5px;vertical-align:middle;margin-top:4px;flex:none}.plan-item__domain-summary svg:first-child path{fill:#4aa150;stroke:#4aa150}@media (max-width:480px){.plan-item.is-popular{order:-3}}.plan-item__domain-summary.is-picked{font-weight:700}.plan-item__domain-summary.is-cta{font-weight:700;padding:0}.plan-item__domain-summary.is-cta.components-button.is-link{color:var(--studio-blue-40)}.plan-item__domain-summary.is-cta svg:first-child path{fill:#4aa150;stroke:#4aa150;margin-top:5px}.plan-item__domain-summary.is-cta svg:last-child{fill:var(--studio-blue-40);stroke:var(--studio-blue-40);margin-right:8px;margin-top:8px}.plan-item__domain-summary.components-button.is-link.is-free{font-weight:700;color:#ce863d;text-decoration:line-through}.plan-item__domain-summary.components-button.is-link.is-free svg path{fill:#ce863d;stroke:#ce863d}.plan-item__select-button.components-button{padding:0 24px;height:40px}.plan-item__select-button.components-button svg{margin-right:-8px;margin-left:10px}.plan-item__domain-picker-button.components-button{font-size:.875rem;line-height:19px;letter-spacing:.2px;word-break:break-word}.plan-item__domain-picker-button.components-button.has-domain{color:var(--studio-gray-50);text-decoration:none}.plan-item__domain-picker-button.components-button svg{margin-right:2px}.plan-item__feature-item{font-size:.875rem;line-height:20px;letter-spacing:.2px;margin:4px 0;vertical-align:middle;color:#555d66;display:flex;align-items:flex-start}.plan-item__feature-item svg{display:block;margin-left:6px;margin-top:2px}.plan-item__feature-item svg path{fill:#4aa150;stroke:#4aa150}@keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.onboarding-title{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:32px;line-height:40px;color:var(--mainColor);margin:0}@media (min-width:480px){.onboarding-title{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:36px;line-height:40px}}@media (min-width:1080px){.onboarding-title{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:42px;line-height:57px}}.onboarding-subtitle{font-size:16px;line-height:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:400;letter-spacing:.2px;color:var(--studio-gray-60);margin:5px 0 0;max-width:550px}@media (min-width:600px){.onboarding-subtitle{margin-top:0}}.plans-grid__details-heading{margin-bottom:20px}.plans-details__table{width:100%;border-spacing:0}.plans-details__table td,.plans-details__table th{padding:13px 24px}.plans-details__table td:first-child,.plans-details__table th:first-child{padding-right:0;width:20%}@media (min-width:480px){.plans-details__table td:first-child,.plans-details__table th:first-child{width:40%}}.plans-details__table td:not(:first-child),.plans-details__table th:not(:first-child){white-space:nowrap}.plans-details__table .hidden{display:none}.plans-details__header-row th{font-weight:600;font-size:.875rem;line-height:20px;text-transform:uppercase;color:var(--studio-gray-20);padding-top:5px;padding-bottom:5px;border-bottom:1px solid #eaeaeb;text-align:right}thead .plans-details__header-row th:not(:first-child){text-align:center}.plans-details__feature-row td,.plans-details__feature-row th{font-size:.875rem;font-weight:400;line-height:17px;letter-spacing:.2px;border-bottom:1px solid #eaeaeb;vertical-align:middle}.plans-details__feature-row th{text-align:right}.plans-details__feature-row td{text-align:center}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.plans-modal-overlay.components-modal__screen-overlay{background:none;width:100%;height:100%}.plans-modal.components-modal__frame{width:100%;height:100%;top:0;right:0;min-width:unset;max-width:none;max-height:none;transform:none;border:none;box-shadow:none;position:absolute}.plans-modal .components-modal__content{padding:0}.plans-grid-container{padding:88px}
|
editor-plans-grid/src/hooks/use-selected-plan.ts
CHANGED
@@ -6,14 +6,20 @@ import { useSelect } from '@wordpress/data';
|
|
6 |
/**
|
7 |
* Internal dependencies
|
8 |
*/
|
9 |
-
import { PLANS_STORE } from '../stores';
|
10 |
|
11 |
export function useSelectedPlan() {
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
15 |
} );
|
16 |
|
17 |
-
|
18 |
-
|
|
|
|
|
|
|
|
|
|
|
19 |
}
|
6 |
/**
|
7 |
* Internal dependencies
|
8 |
*/
|
9 |
+
import { LAUNCH_STORE, PLANS_STORE } from '../stores';
|
10 |
|
11 |
export function useSelectedPlan() {
|
12 |
+
const { domain, plan } = useSelect( ( select ) => select( LAUNCH_STORE ).getState() );
|
13 |
+
|
14 |
+
const defaultPaidPlan = useSelect( ( select ) => {
|
15 |
+
return select( PLANS_STORE ).getDefaultPaidPlan();
|
16 |
} );
|
17 |
|
18 |
+
if ( domain && ! domain?.is_free && ! plan ) {
|
19 |
+
return defaultPaidPlan;
|
20 |
+
}
|
21 |
+
|
22 |
+
// TODO: Switch to paid plan when use switch to paid domain.
|
23 |
+
|
24 |
+
return plan;
|
25 |
}
|
editor-plans-grid/src/plans-grid-button/index.tsx
CHANGED
@@ -4,7 +4,6 @@
|
|
4 |
import * as React from 'react';
|
5 |
import { Button } from '@wordpress/components';
|
6 |
import { Icon, chevronDown } from '@wordpress/icons';
|
7 |
-
import 'a8c-fse-common-data-stores';
|
8 |
|
9 |
/**
|
10 |
* Internal dependencies
|
4 |
import * as React from 'react';
|
5 |
import { Button } from '@wordpress/components';
|
6 |
import { Icon, chevronDown } from '@wordpress/icons';
|
|
|
7 |
|
8 |
/**
|
9 |
* Internal dependencies
|
editor-plans-grid/src/plans-grid-fse/index.tsx
CHANGED
@@ -2,22 +2,30 @@
|
|
2 |
* External dependencies
|
3 |
*/
|
4 |
import * as React from 'react';
|
|
|
|
|
|
|
|
|
5 |
|
6 |
/**
|
7 |
* Internal dependencies
|
8 |
*/
|
9 |
-
import
|
10 |
-
import { useSelectedPlan } from '../hooks/use-selected-plan';
|
11 |
|
12 |
-
|
|
|
|
|
13 |
|
14 |
-
const PlansGridFSE: React.FunctionComponent< Props > = ( {
|
15 |
-
|
16 |
-
const
|
17 |
|
18 |
-
const
|
|
|
|
|
|
|
19 |
|
20 |
-
return <PlansGrid currentDomain={
|
21 |
};
|
22 |
|
23 |
export default PlansGridFSE;
|
2 |
* External dependencies
|
3 |
*/
|
4 |
import * as React from 'react';
|
5 |
+
import { useSelect, useDispatch } from '@wordpress/data';
|
6 |
+
import PlansGrid from '@automattic/plans-grid';
|
7 |
+
|
8 |
+
import type { Plans } from '@automattic/data-stores';
|
9 |
|
10 |
/**
|
11 |
* Internal dependencies
|
12 |
*/
|
13 |
+
import { LAUNCH_STORE } from '../stores';
|
|
|
14 |
|
15 |
+
interface Props {
|
16 |
+
onSelect?: () => void;
|
17 |
+
}
|
18 |
|
19 |
+
const PlansGridFSE: React.FunctionComponent< Props > = ( { onSelect } ) => {
|
20 |
+
const { domain } = useSelect( ( select ) => select( LAUNCH_STORE ).getState() );
|
21 |
+
const { updatePlan } = useDispatch( LAUNCH_STORE );
|
22 |
|
23 |
+
const handleSelect = ( planSlug: Plans.PlanSlug ) => {
|
24 |
+
updatePlan( planSlug );
|
25 |
+
onSelect?.();
|
26 |
+
};
|
27 |
|
28 |
+
return <PlansGrid currentDomain={ domain } onPlanSelect={ handleSelect } />;
|
29 |
};
|
30 |
|
31 |
export default PlansGridFSE;
|
editor-plans-grid/src/plans-modal/index.tsx
CHANGED
@@ -8,14 +8,14 @@ import { __ } from '@wordpress/i18n';
|
|
8 |
/**
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
-
import PlansGridFSE
|
12 |
import './styles.scss';
|
13 |
|
14 |
-
interface Props
|
15 |
onClose: () => void;
|
16 |
}
|
17 |
|
18 |
-
const PlansModal: React.FunctionComponent< Props > = ( { onClose
|
19 |
const header = (
|
20 |
<div>
|
21 |
{ /* eslint-disable @wordpress/i18n-text-domain */ }
|
@@ -38,7 +38,7 @@ const PlansModal: React.FunctionComponent< Props > = ( { onClose, ...props } ) =
|
|
38 |
>
|
39 |
{ header }
|
40 |
<div className="plans-grid-container">
|
41 |
-
<PlansGridFSE {
|
42 |
</div>
|
43 |
</Modal>
|
44 |
);
|
8 |
/**
|
9 |
* Internal dependencies
|
10 |
*/
|
11 |
+
import PlansGridFSE from '../plans-grid-fse';
|
12 |
import './styles.scss';
|
13 |
|
14 |
+
interface Props {
|
15 |
onClose: () => void;
|
16 |
}
|
17 |
|
18 |
+
const PlansModal: React.FunctionComponent< Props > = ( { onClose } ) => {
|
19 |
const header = (
|
20 |
<div>
|
21 |
{ /* eslint-disable @wordpress/i18n-text-domain */ }
|
38 |
>
|
39 |
{ header }
|
40 |
<div className="plans-grid-container">
|
41 |
+
<PlansGridFSE onSelect={ onClose } />
|
42 |
</div>
|
43 |
</Modal>
|
44 |
);
|
editor-plans-grid/src/plans-modal/styles.scss
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
@import '~@automattic/typography/
|
2 |
|
3 |
.plans-modal-overlay {
|
4 |
&.components-modal__screen-overlay {
|
1 |
+
@import '~@automattic/typography/styles/fonts';
|
2 |
|
3 |
.plans-modal-overlay {
|
4 |
&.components-modal__screen-overlay {
|
editor-plans-grid/src/stores/index.ts
CHANGED
@@ -4,3 +4,4 @@
|
|
4 |
import 'a8c-fse-common-data-stores';
|
5 |
|
6 |
export const PLANS_STORE = 'automattic/onboard/plans';
|
|
4 |
import 'a8c-fse-common-data-stores';
|
5 |
|
6 |
export const PLANS_STORE = 'automattic/onboard/plans';
|
7 |
+
export const LAUNCH_STORE = 'automattic/launch';
|
editor-site-launch/dist/editor-site-launch.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('a8c-fse-common-data-stores', 'lodash', 'react', 'react-dom', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '18b86630d0ee68e1769fae541cd5e3a3');
|
editor-site-launch/dist/editor-site-launch.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.nux-launch-modal-overlay.components-modal__screen-overlay{background:none;width:100%;height:100%}.nux-launch-modal.components-modal__frame{width:100%;height:100%;top:0;left:0;min-width:unset;max-width:none;max-height:none;transform:none;border:none;box-shadow:none;position:absolute}.nux-launch-modal .components-modal__header{margin:0}.nux-launch-modal .components-modal__content{padding:0}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.nux-launch-step__heading h1,.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}.nux-launch-step__heading [lang*=af] h1,[lang*=af] .nux-launch-step__heading h1,[lang*=af] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=ca] h1,[lang*=ca] .nux-launch-step__heading h1,[lang*=ca] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=cs] h1,[lang*=cs] .nux-launch-step__heading h1,[lang*=cs] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=da] h1,[lang*=da] .nux-launch-step__heading h1,[lang*=da] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=de] h1,[lang*=de] .nux-launch-step__heading h1,[lang*=de] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=en] h1,[lang*=en] .nux-launch-step__heading h1,[lang*=en] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=es] h1,[lang*=es] .nux-launch-step__heading h1,[lang*=es] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=eu] h1,[lang*=eu] .nux-launch-step__heading h1,[lang*=eu] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=fi] h1,[lang*=fi] .nux-launch-step__heading h1,[lang*=fi] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=fr] h1,[lang*=fr] .nux-launch-step__heading h1,[lang*=fr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=gl] h1,[lang*=gl] .nux-launch-step__heading h1,[lang*=gl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=hr] h1,[lang*=hr] .nux-launch-step__heading h1,[lang*=hr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=hu] h1,[lang*=hu] .nux-launch-step__heading h1,[lang*=hu] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=id] h1,[lang*=id] .nux-launch-step__heading h1,[lang*=id] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=is] h1,[lang*=is] .nux-launch-step__heading h1,[lang*=is] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=it] h1,[lang*=it] .nux-launch-step__heading h1,[lang*=it] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=lv] h1,[lang*=lv] .nux-launch-step__heading h1,[lang*=lv] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=mt] h1,[lang*=mt] .nux-launch-step__heading h1,[lang*=mt] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=nb] h1,[lang*=nb] .nux-launch-step__heading h1,[lang*=nb] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=nl] h1,[lang*=nl] .nux-launch-step__heading h1,[lang*=nl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=pl] h1,[lang*=pl] .nux-launch-step__heading h1,[lang*=pl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=pt] h1,[lang*=pt] .nux-launch-step__heading h1,[lang*=pt] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=ro] h1,[lang*=ro] .nux-launch-step__heading h1,[lang*=ro] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=ru] h1,[lang*=ru] .nux-launch-step__heading h1,[lang*=ru] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=sk] h1,[lang*=sk] .nux-launch-step__heading h1,[lang*=sk] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=sl] h1,[lang*=sl] .nux-launch-step__heading h1,[lang*=sl] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=sq] h1,[lang*=sq] .nux-launch-step__heading h1,[lang*=sq] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=sr] h1,[lang*=sr] .nux-launch-step__heading h1,[lang*=sr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=sv] h1,[lang*=sv] .nux-launch-step__heading h1,[lang*=sv] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=sw] h1,[lang*=sw] .nux-launch-step__heading h1,[lang*=sw] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=tr] h1,[lang*=tr] .nux-launch-step__heading h1,[lang*=tr] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step__heading [lang*=uz] h1,[lang*=uz] .nux-launch-step__heading h1,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}.nux-launch-step{padding:88px}.nux-launch-step__header{display:flex;align-items:baseline}.nux-launch-step__heading{flex-grow:1}.nux-launch-step__heading h1{font-size:42px}@keyframes domain-picker-loading-fade{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.domain-picker__empty-state{display:flex;justify-content:center;flex-direction:column}.domain-picker__empty-state--text{max-width:320px;font-size:.9em;margin:10px 0;color:#555d66}@media (min-width:480px){.domain-picker__empty-state{flex-direction:row;align-items:center}.domain-picker__empty-state--text{margin:15px 0}}.domain-picker__show-more{padding:10px;text-align:center}.domain-picker__search{position:relative;margin-bottom:20px}.domain-picker__search input[type=text].components-text-control__input{padding:6px 40px 6px 16px;height:38px;background:#f0f0f0;border:none}.domain-picker__search input[type=text].components-text-control__input:-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input:focus{box-shadow:0 0 0 2px #5198d9;box-shadow:0 0 0 2px var(--studio-blue-30);background:#fff;background:var(--studio-white)}.domain-picker__search svg{position:absolute;top:6px;right:8px}.domain-picker__suggestion-item-group{flex-grow:1}.domain-picker__suggestion-sections{flex:1}.domain-picker__suggestion-group-label{margin:1.5em 0 1em;text-transform:uppercase;color:#a7aaad;color:var(--studio-gray-20);font-size:12px;font-weight:400;letter-spacing:1px}.domain-picker__suggestion-item{font-size:14px;line-height:17px;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:58px;border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);padding:10px 14px;margin:0;position:relative;z-index:1;text-align:left;cursor:pointer}.domain-picker__suggestion-item.placeholder{cursor:default}.domain-picker__suggestion-item.is-selected{background:#e9eff5;background:var(--studio-blue-0);border-color:#3582c4;border-color:var(--studio-blue-40);z-index:2}.domain-picker__suggestion-item:focus:not(.placeholder),.domain-picker__suggestion-item:hover:not(.placeholder){background:#e9eff5;background:var(--studio-blue-0);border-color:#3582c4;border-color:var(--studio-blue-40);z-index:2}@media (min-width:600px){.domain-picker__suggestion-item:focus .domain-picker__suggestion-item-select-button,.domain-picker__suggestion-item:hover .domain-picker__suggestion-item-select-button{opacity:1}.domain-picker__suggestion-item:focus .domain-picker__price,.domain-picker__suggestion-item:hover .domain-picker__price{opacity:0}}.domain-picker__suggestion-item:first-of-type{border-top-left-radius:5px;border-top-right-radius:5px}.domain-picker__suggestion-item:last-of-type{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.domain-picker__suggestion-item+.domain-picker__suggestion-item{margin-top:-1px}.domain-picker__suggestion-item:nth-child(7){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:0ms}.domain-picker__suggestion-item:nth-child(8){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:40ms}.domain-picker__suggestion-item:nth-child(9){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:80ms}.domain-picker__suggestion-item:nth-child(10){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.12s}.domain-picker__suggestion-item:nth-child(11){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.16s}.domain-picker__suggestion-item:nth-child(12){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.2s}.domain-picker__suggestion-item:nth-child(13){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.24s}.domain-picker__suggestion-item:nth-child(14){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.28s}@keyframes domain-picker-item-slide-up{to{transform:translateY(0);opacity:1}}.domain-picker__suggestion-item-name{flex-grow:1;margin-right:24px;letter-spacing:.4px}.domain-picker__suggestion-item-name .domain-picker__domain-name{word-break:break-word}.domain-picker__suggestion-item-name.placeholder{animation:domain-picker-loading-fade 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;max-width:30%;margin-right:auto}.domain-picker__suggestion-item-name.placeholder:after{content:"\00a0"}.domain-picker__domain-tld{color:#3582c4;color:var(--studio-blue-40);margin-right:10px}.domain-picker__badge{display:inline-flex;border-radius:2px;padding:0 10px;line-height:20px;height:20px;align-items:center;font-size:10px;text-transform:uppercase;vertical-align:middle;background-color:#2271b1;background-color:var(--studio-blue-50);color:#fff;color:var(--color-text-inverted)}.domain-picker__price{color:#787c82;color:var(--studio-gray-40);text-align:right;flex-basis:0;transition:opacity .2s ease-in-out}.domain-picker__price:not(.is-paid){display:none}@media (min-width:600px){.domain-picker__price{flex-basis:auto}.domain-picker__price:not(.is-paid){display:inline}}.domain-picker__price.placeholder{animation:domain-picker-loading-fade 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;min-width:64px}.domain-picker__price.placeholder:after{content:"\00a0"}.domain-picker__price-long{display:none}@media (min-width:600px){.domain-picker__price-long{display:inline}}.domain-picker__price-short{display:inline}@media (min-width:600px){.domain-picker__price-short{display:none}}.domain-picker__price-cost{text-decoration:line-through}.domain-picker__suggestion-item-select-button{display:flex;align-items:center;height:36px}.domain-picker__suggestion-item-select-button span{display:none}.domain-picker__suggestion-item-select-button svg{fill:#2271b1;fill:var(--studio-blue-50);margin-left:10px;margin-right:-2px}@media (min-width:600px){.domain-picker__suggestion-item-select-button{background:#007cba;color:#fff;color:var(--studio-white);border-radius:2px;padding:0 12px;opacity:0;transition:opacity .2s ease-in-out;position:absolute;right:14px}.domain-picker__suggestion-item-select-button:hover{background:#0070a7}.domain-picker__suggestion-item-select-button span{display:inline-block}.domain-picker__suggestion-item-select-button svg{display:none}}.domain-picker__body{display:flex}@media (max-width:480px){.domain-picker__body{display:block}.domain-picker__body .domain-picker__aside{width:100%;padding:0}}.domain-picker__aside{width:220px;padding-right:30px}:root{--studio-white:#fff;--studio-black:#000;--studio-gray-0:#f6f7f7;--studio-gray-5:#dcdcde;--studio-gray-10:#c3c4c7;--studio-gray-20:#a7aaad;--studio-gray-30:#8c8f94;--studio-gray-40:#787c82;--studio-gray-50:#646970;--studio-gray-60:#50575e;--studio-gray-70:#3c434a;--studio-gray-80:#2c3338;--studio-gray-90:#1d2327;--studio-gray-100:#101517;--studio-gray:#646970;--studio-blue-0:#e9eff5;--studio-blue-5:#c5d9ed;--studio-blue-10:#9ec2e6;--studio-blue-20:#72aee6;--studio-blue-30:#5198d9;--studio-blue-40:#3582c4;--studio-blue-50:#2271b1;--studio-blue-60:#135e96;--studio-blue-70:#0a4b78;--studio-blue-80:#043959;--studio-blue-90:#01263a;--studio-blue-100:#00131c;--studio-blue:#2271b1;--studio-purple-0:#f2e9ed;--studio-purple-5:#ebcee0;--studio-purple-10:#e3afd5;--studio-purple-20:#d48fc8;--studio-purple-30:#c475bd;--studio-purple-40:#b35eb1;--studio-purple-50:#984a9c;--studio-purple-60:#7c3982;--studio-purple-70:#662c6e;--studio-purple-80:#4d2054;--studio-purple-90:#35163b;--studio-purple-100:#1e0c21;--studio-purple:#984a9c;--studio-pink-0:#f5e9ed;--studio-pink-5:#f2ceda;--studio-pink-10:#f7a8c3;--studio-pink-20:#f283aa;--studio-pink-30:#eb6594;--studio-pink-40:#e34c84;--studio-pink-50:#c9356e;--studio-pink-60:#ab235a;--studio-pink-70:#8c1749;--studio-pink-80:#700f3b;--studio-pink-90:#4f092a;--studio-pink-100:#260415;--studio-pink:#c9356e;--studio-red-0:#f7ebec;--studio-red-5:#facfd2;--studio-red-10:#ffabaf;--studio-red-20:#ff8085;--studio-red-30:#f86368;--studio-red-40:#e65054;--studio-red-50:#d63638;--studio-red-60:#b32d2e;--studio-red-70:#8a2424;--studio-red-80:#691c1c;--studio-red-90:#451313;--studio-red-100:#240a0a;--studio-red:#d63638;--studio-orange-0:#f5ece6;--studio-orange-5:#f7dcc6;--studio-orange-10:#ffbf86;--studio-orange-20:#faa754;--studio-orange-30:#e68b28;--studio-orange-40:#d67709;--studio-orange-50:#b26200;--studio-orange-60:#8a4d00;--studio-orange-70:#704000;--studio-orange-80:#543100;--studio-orange-90:#361f00;--studio-orange-100:#1f1200;--studio-orange:#b26200;--studio-yellow-0:#f5f1e1;--studio-yellow-5:#f5e6b3;--studio-yellow-10:#f2d76b;--studio-yellow-20:#f0c930;--studio-yellow-30:#deb100;--studio-yellow-40:#c08c00;--studio-yellow-50:#9d6e00;--studio-yellow-60:#7d5600;--studio-yellow-70:#674600;--studio-yellow-80:#4f3500;--studio-yellow-90:#320;--studio-yellow-100:#1c1300;--studio-yellow:#9d6e00;--studio-green-0:#e6f2e8;--studio-green-5:#b8e6bf;--studio-green-10:#68de86;--studio-green-20:#1ed15a;--studio-green-30:#00ba37;--studio-green-40:#00a32a;--studio-green-50:#008a20;--studio-green-60:#007017;--studio-green-70:#005c12;--studio-green-80:#00450c;--studio-green-90:#003008;--studio-green-100:#001c05;--studio-green:#008a20;--studio-celadon-0:#e4f2ed;--studio-celadon-5:#a7e8d4;--studio-celadon-10:#63d6b6;--studio-celadon-20:#2ebd99;--studio-celadon-30:#09a884;--studio-celadon-40:#009172;--studio-celadon-50:#007e65;--studio-celadon-60:#006753;--studio-celadon-70:#005042;--studio-celadon-80:#003b30;--studio-celadon-90:#002721;--studio-celadon-100:#001c17;--studio-celadon:#007e65;--studio-wordpress-blue-0:#e6f1f5;--studio-wordpress-blue-5:#bedae6;--studio-wordpress-blue-10:#98c6d9;--studio-wordpress-blue-20:#6ab3d0;--studio-wordpress-blue-30:#3895ba;--studio-wordpress-blue-40:#187aa2;--studio-wordpress-blue-50:#006088;--studio-wordpress-blue-60:#004e6e;--studio-wordpress-blue-70:#003c56;--studio-wordpress-blue-80:#002c40;--studio-wordpress-blue-90:#001d2d;--studio-wordpress-blue-100:#00101c;--studio-wordpress-blue:#006088;--studio-simplenote-blue-0:#e9ecf5;--studio-simplenote-blue-5:#ced9f2;--studio-simplenote-blue-10:#abc1f5;--studio-simplenote-blue-20:#84a4f0;--studio-simplenote-blue-30:#618df2;--studio-simplenote-blue-40:#4678eb;--studio-simplenote-blue-50:#3361cc;--studio-simplenote-blue-60:#1d4fc4;--studio-simplenote-blue-70:#113ead;--studio-simplenote-blue-80:#0d2f85;--studio-simplenote-blue-90:#09205c;--studio-simplenote-blue-100:#05102e;--studio-simplenote-blue:#3361cc;--studio-woocommerce-purple-0:#f7edf7;--studio-woocommerce-purple-5:#e5cfe8;--studio-woocommerce-purple-10:#d6b4e0;--studio-woocommerce-purple-20:#c792e0;--studio-woocommerce-purple-30:#af7dd1;--studio-woocommerce-purple-40:#9a69c7;--studio-woocommerce-purple-50:#7f54b3;--studio-woocommerce-purple-60:#674399;--studio-woocommerce-purple-70:#533582;--studio-woocommerce-purple-80:#3c2861;--studio-woocommerce-purple-90:#271b3d;--studio-woocommerce-purple-100:#140e1f;--studio-woocommerce-purple:#7f54b3;--studio-jetpack-green-0:#f0f2eb;--studio-jetpack-green-5:#d0e6b8;--studio-jetpack-green-10:#9dd977;--studio-jetpack-green-20:#64ca43;--studio-jetpack-green-30:#2fb41f;--studio-jetpack-green-40:#069e08;--studio-jetpack-green-50:#008710;--studio-jetpack-green-60:#007117;--studio-jetpack-green-70:#005b18;--studio-jetpack-green-80:#004515;--studio-jetpack-green-90:#003010;--studio-jetpack-green-100:#001c09;--studio-jetpack-green:#2fb41f}:root{--studio-white-rgb:255,255,255;--studio-black-rgb:0,0,0;--studio-gray-0-rgb:246,247,247;--studio-gray-5-rgb:220,220,222;--studio-gray-10-rgb:195,196,199;--studio-gray-20-rgb:167,170,173;--studio-gray-30-rgb:140,143,148;--studio-gray-40-rgb:120,124,130;--studio-gray-50-rgb:100,105,112;--studio-gray-60-rgb:80,87,94;--studio-gray-70-rgb:60,67,74;--studio-gray-80-rgb:44,51,56;--studio-gray-90-rgb:29,35,39;--studio-gray-100-rgb:16,21,23;--studio-gray-rgb:100,105,112;--studio-blue-0-rgb:233,239,245;--studio-blue-5-rgb:197,217,237;--studio-blue-10-rgb:158,194,230;--studio-blue-20-rgb:114,174,230;--studio-blue-30-rgb:81,152,217;--studio-blue-40-rgb:53,130,196;--studio-blue-50-rgb:34,113,177;--studio-blue-60-rgb:19,94,150;--studio-blue-70-rgb:10,75,120;--studio-blue-80-rgb:4,57,89;--studio-blue-90-rgb:1,38,58;--studio-blue-100-rgb:0,19,28;--studio-blue-rgb:34,113,177;--studio-purple-0-rgb:242,233,237;--studio-purple-5-rgb:235,206,224;--studio-purple-10-rgb:227,175,213;--studio-purple-20-rgb:212,143,200;--studio-purple-30-rgb:196,117,189;--studio-purple-40-rgb:179,94,177;--studio-purple-50-rgb:152,74,156;--studio-purple-60-rgb:124,57,130;--studio-purple-70-rgb:102,44,110;--studio-purple-80-rgb:77,32,84;--studio-purple-90-rgb:53,22,59;--studio-purple-100-rgb:30,12,33;--studio-purple-rgb:152,74,156;--studio-pink-0-rgb:245,233,237;--studio-pink-5-rgb:242,206,218;--studio-pink-10-rgb:247,168,195;--studio-pink-20-rgb:242,131,170;--studio-pink-30-rgb:235,101,148;--studio-pink-40-rgb:227,76,132;--studio-pink-50-rgb:201,53,110;--studio-pink-60-rgb:171,35,90;--studio-pink-70-rgb:140,23,73;--studio-pink-80-rgb:112,15,59;--studio-pink-90-rgb:79,9,42;--studio-pink-100-rgb:38,4,21;--studio-pink-rgb:201,53,110;--studio-red-0-rgb:247,235,236;--studio-red-5-rgb:250,207,210;--studio-red-10-rgb:255,171,175;--studio-red-20-rgb:255,128,133;--studio-red-30-rgb:248,99,104;--studio-red-40-rgb:230,80,84;--studio-red-50-rgb:214,54,56;--studio-red-60-rgb:179,45,46;--studio-red-70-rgb:138,36,36;--studio-red-80-rgb:105,28,28;--studio-red-90-rgb:69,19,19;--studio-red-100-rgb:36,10,10;--studio-red-rgb:214,54,56;--studio-orange-0-rgb:245,236,230;--studio-orange-5-rgb:247,220,198;--studio-orange-10-rgb:255,191,134;--studio-orange-20-rgb:250,167,84;--studio-orange-30-rgb:230,139,40;--studio-orange-40-rgb:214,119,9;--studio-orange-50-rgb:178,98,0;--studio-orange-60-rgb:138,77,0;--studio-orange-70-rgb:112,64,0;--studio-orange-80-rgb:84,49,0;--studio-orange-90-rgb:54,31,0;--studio-orange-100-rgb:31,18,0;--studio-orange-rgb:178,98,0;--studio-yellow-0-rgb:245,241,225;--studio-yellow-5-rgb:245,230,179;--studio-yellow-10-rgb:242,215,107;--studio-yellow-20-rgb:240,201,48;--studio-yellow-30-rgb:222,177,0;--studio-yellow-40-rgb:192,140,0;--studio-yellow-50-rgb:157,110,0;--studio-yellow-60-rgb:125,86,0;--studio-yellow-70-rgb:103,70,0;--studio-yellow-80-rgb:79,53,0;--studio-yellow-90-rgb:51,34,0;--studio-yellow-100-rgb:28,19,0;--studio-yellow-rgb:157,110,0;--studio-green-0-rgb:230,242,232;--studio-green-5-rgb:184,230,191;--studio-green-10-rgb:104,222,134;--studio-green-20-rgb:30,209,90;--studio-green-30-rgb:0,186,55;--studio-green-40-rgb:0,163,42;--studio-green-50-rgb:0,138,32;--studio-green-60-rgb:0,112,23;--studio-green-70-rgb:0,92,18;--studio-green-80-rgb:0,69,12;--studio-green-90-rgb:0,48,8;--studio-green-100-rgb:0,28,5;--studio-green-rgb:0,138,32;--studio-celadon-0-rgb:228,242,237;--studio-celadon-5-rgb:167,232,212;--studio-celadon-10-rgb:99,214,182;--studio-celadon-20-rgb:46,189,153;--studio-celadon-30-rgb:9,168,132;--studio-celadon-40-rgb:0,145,114;--studio-celadon-50-rgb:0,126,101;--studio-celadon-60-rgb:0,103,83;--studio-celadon-70-rgb:0,80,66;--studio-celadon-80-rgb:0,59,48;--studio-celadon-90-rgb:0,39,33;--studio-celadon-100-rgb:0,28,23;--studio-celadon-rgb:0,126,101;--studio-wordpress-blue-0-rgb:230,241,245;--studio-wordpress-blue-5-rgb:190,218,230;--studio-wordpress-blue-10-rgb:152,198,217;--studio-wordpress-blue-20-rgb:106,179,208;--studio-wordpress-blue-30-rgb:56,149,186;--studio-wordpress-blue-40-rgb:24,122,162;--studio-wordpress-blue-50-rgb:0,96,136;--studio-wordpress-blue-60-rgb:0,78,110;--studio-wordpress-blue-70-rgb:0,60,86;--studio-wordpress-blue-80-rgb:0,44,64;--studio-wordpress-blue-90-rgb:0,29,45;--studio-wordpress-blue-100-rgb:0,16,28;--studio-wordpress-blue-rgb:0,96,136;--studio-simplenote-blue-0-rgb:233,236,245;--studio-simplenote-blue-5-rgb:206,217,242;--studio-simplenote-blue-10-rgb:171,193,245;--studio-simplenote-blue-20-rgb:132,164,240;--studio-simplenote-blue-30-rgb:97,141,242;--studio-simplenote-blue-40-rgb:70,120,235;--studio-simplenote-blue-50-rgb:51,97,204;--studio-simplenote-blue-60-rgb:29,79,196;--studio-simplenote-blue-70-rgb:17,62,173;--studio-simplenote-blue-80-rgb:13,47,133;--studio-simplenote-blue-90-rgb:9,32,92;--studio-simplenote-blue-100-rgb:5,16,46;--studio-simplenote-blue-rgb:51,97,204;--studio-woocommerce-purple-0-rgb:247,237,247;--studio-woocommerce-purple-5-rgb:229,207,232;--studio-woocommerce-purple-10-rgb:214,180,224;--studio-woocommerce-purple-20-rgb:199,146,224;--studio-woocommerce-purple-30-rgb:175,125,209;--studio-woocommerce-purple-40-rgb:154,105,199;--studio-woocommerce-purple-50-rgb:127,84,179;--studio-woocommerce-purple-60-rgb:103,67,153;--studio-woocommerce-purple-70-rgb:83,53,130;--studio-woocommerce-purple-80-rgb:60,40,97;--studio-woocommerce-purple-90-rgb:39,27,61;--studio-woocommerce-purple-100-rgb:20,14,31;--studio-woocommerce-purple-rgb:127,84,179;--studio-jetpack-green-0-rgb:240,242,235;--studio-jetpack-green-5-rgb:208,230,184;--studio-jetpack-green-10-rgb:157,217,119;--studio-jetpack-green-20-rgb:100,202,67;--studio-jetpack-green-30-rgb:47,180,31;--studio-jetpack-green-40-rgb:6,158,8;--studio-jetpack-green-50-rgb:0,135,16;--studio-jetpack-green-60-rgb:0,113,23;--studio-jetpack-green-70-rgb:0,91,24;--studio-jetpack-green-80-rgb:0,69,21;--studio-jetpack-green-90-rgb:0,48,16;--studio-jetpack-green-100-rgb:0,28,9;--studio-jetpack-green-rgb:47,180,31}:root{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-pink-50);--color-accent-rgb:var(--studio-pink-50-rgb);--color-accent-dark:var(--studio-pink-70);--color-accent-dark-rgb:var(--studio-pink-70-rgb);--color-accent-light:var(--studio-pink-30);--color-accent-light-rgb:var(--studio-pink-30-rgb);--color-accent-0:var(--studio-pink-0);--color-accent-0-rgb:var(--studio-pink-0-rgb);--color-accent-5:var(--studio-pink-5);--color-accent-5-rgb:var(--studio-pink-5-rgb);--color-accent-10:var(--studio-pink-10);--color-accent-10-rgb:var(--studio-pink-10-rgb);--color-accent-20:var(--studio-pink-20);--color-accent-20-rgb:var(--studio-pink-20-rgb);--color-accent-30:var(--studio-pink-30);--color-accent-30-rgb:var(--studio-pink-30-rgb);--color-accent-40:var(--studio-pink-40);--color-accent-40-rgb:var(--studio-pink-40-rgb);--color-accent-50:var(--studio-pink-50);--color-accent-50-rgb:var(--studio-pink-50-rgb);--color-accent-60:var(--studio-pink-60);--color-accent-60-rgb:var(--studio-pink-60-rgb);--color-accent-70:var(--studio-pink-70);--color-accent-70-rgb:var(--studio-pink-70-rgb);--color-accent-80:var(--studio-pink-80);--color-accent-80-rgb:var(--studio-pink-80-rgb);--color-accent-90:var(--studio-pink-90);--color-accent-90-rgb:var(--studio-pink-90-rgb);--color-accent-100:var(--studio-pink-100);--color-accent-100-rgb:var(--studio-pink-100-rgb);--color-neutral:var(--studio-gray-50);--color-neutral-rgb:var(--studio-gray-50-rgb);--color-neutral-dark:var(--studio-gray-70);--color-neutral-dark-rgb:var(--studio-gray-70-rgb);--color-neutral-light:var(--studio-gray-30);--color-neutral-light-rgb:var(--studio-gray-30-rgb);--color-neutral-0:var(--studio-gray-0);--color-neutral-0-rgb:var(--studio-gray-0-rgb);--color-neutral-5:var(--studio-gray-5);--color-neutral-5-rgb:var(--studio-gray-5-rgb);--color-neutral-10:var(--studio-gray-10);--color-neutral-10-rgb:var(--studio-gray-10-rgb);--color-neutral-20:var(--studio-gray-20);--color-neutral-20-rgb:var(--studio-gray-20-rgb);--color-neutral-30:var(--studio-gray-30);--color-neutral-30-rgb:var(--studio-gray-30-rgb);--color-neutral-40:var(--studio-gray-40);--color-neutral-40-rgb:var(--studio-gray-40-rgb);--color-neutral-50:var(--studio-gray-50);--color-neutral-50-rgb:var(--studio-gray-50-rgb);--color-neutral-60:var(--studio-gray-60);--color-neutral-60-rgb:var(--studio-gray-60-rgb);--color-neutral-70:var(--studio-gray-70);--color-neutral-70-rgb:var(--studio-gray-70-rgb);--color-neutral-80:var(--studio-gray-80);--color-neutral-80-rgb:var(--studio-gray-80-rgb);--color-neutral-90:var(--studio-gray-90);--color-neutral-90-rgb:var(--studio-gray-90-rgb);--color-neutral-100:var(--studio-gray-100);--color-neutral-100-rgb:var(--studio-gray-100-rgb);--color-success:var(--studio-green-50);--color-success-rgb:var(--studio-green-50-rgb);--color-success-dark:var(--studio-green-70);--color-success-dark-rgb:var(--studio-green-70-rgb);--color-success-light:var(--studio-green-30);--color-success-light-rgb:var(--studio-green-30-rgb);--color-success-0:var(--studio-green-0);--color-success-0-rgb:var(--studio-green-0-rgb);--color-success-5:var(--studio-green-5);--color-success-5-rgb:var(--studio-green-5-rgb);--color-success-10:var(--studio-green-10);--color-success-10-rgb:var(--studio-green-10-rgb);--color-success-20:var(--studio-green-20);--color-success-20-rgb:var(--studio-green-20-rgb);--color-success-30:var(--studio-green-30);--color-success-30-rgb:var(--studio-green-30-rgb);--color-success-40:var(--studio-green-40);--color-success-40-rgb:var(--studio-green-40-rgb);--color-success-50:var(--studio-green-50);--color-success-50-rgb:var(--studio-green-50-rgb);--color-success-60:var(--studio-green-60);--color-success-60-rgb:var(--studio-green-60-rgb);--color-success-70:var(--studio-green-70);--color-success-70-rgb:var(--studio-green-70-rgb);--color-success-80:var(--studio-green-80);--color-success-80-rgb:var(--studio-green-80-rgb);--color-success-90:var(--studio-green-90);--color-success-90-rgb:var(--studio-green-90-rgb);--color-success-100:var(--studio-green-100);--color-success-100-rgb:var(--studio-green-100-rgb);--color-warning:var(--studio-yellow-50);--color-warning-rgb:var(--studio-yellow-50-rgb);--color-warning-dark:var(--studio-yellow-70);--color-warning-dark-rgb:var(--studio-yellow-70-rgb);--color-warning-light:var(--studio-yellow-30);--color-warning-light-rgb:var(--studio-yellow-30-rgb);--color-warning-0:var(--studio-yellow-0);--color-warning-0-rgb:var(--studio-yellow-0-rgb);--color-warning-5:var(--studio-yellow-5);--color-warning-5-rgb:var(--studio-yellow-5-rgb);--color-warning-10:var(--studio-yellow-10);--color-warning-10-rgb:var(--studio-yellow-10-rgb);--color-warning-20:var(--studio-yellow-20);--color-warning-20-rgb:var(--studio-yellow-20-rgb);--color-warning-30:var(--studio-yellow-30);--color-warning-30-rgb:var(--studio-yellow-30-rgb);--color-warning-40:var(--studio-yellow-40);--color-warning-40-rgb:var(--studio-yellow-40-rgb);--color-warning-50:var(--studio-yellow-50);--color-warning-50-rgb:var(--studio-yellow-50-rgb);--color-warning-60:var(--studio-yellow-60);--color-warning-60-rgb:var(--studio-yellow-60-rgb);--color-warning-70:var(--studio-yellow-70);--color-warning-70-rgb:var(--studio-yellow-70-rgb);--color-warning-80:var(--studio-yellow-80);--color-warning-80-rgb:var(--studio-yellow-80-rgb);--color-warning-90:var(--studio-yellow-90);--color-warning-90-rgb:var(--studio-yellow-90-rgb);--color-warning-100:var(--studio-yellow-100);--color-warning-100-rgb:var(--studio-yellow-100-rgb);--color-error:var(--studio-red-50);--color-error-rgb:var(--studio-red-50-rgb);--color-error-dark:var(--studio-red-70);--color-error-dark-rgb:var(--studio-red-70-rgb);--color-error-light:var(--studio-red-30);--color-error-light-rgb:var(--studio-red-30-rgb);--color-error-0:var(--studio-red-0);--color-error-0-rgb:var(--studio-red-0-rgb);--color-error-5:var(--studio-red-5);--color-error-5-rgb:var(--studio-red-5-rgb);--color-error-10:var(--studio-red-10);--color-error-10-rgb:var(--studio-red-10-rgb);--color-error-20:var(--studio-red-20);--color-error-20-rgb:var(--studio-red-20-rgb);--color-error-30:var(--studio-red-30);--color-error-30-rgb:var(--studio-red-30-rgb);--color-error-40:var(--studio-red-40);--color-error-40-rgb:var(--studio-red-40-rgb);--color-error-50:var(--studio-red-50);--color-error-50-rgb:var(--studio-red-50-rgb);--color-error-60:var(--studio-red-60);--color-error-60-rgb:var(--studio-red-60-rgb);--color-error-70:var(--studio-red-70);--color-error-70-rgb:var(--studio-red-70-rgb);--color-error-80:var(--studio-red-80);--color-error-80-rgb:var(--studio-red-80-rgb);--color-error-90:var(--studio-red-90);--color-error-90-rgb:var(--studio-red-90-rgb);--color-error-100:var(--studio-red-100);--color-error-100-rgb:var(--studio-red-100-rgb);--color-surface:var(--studio-white);--color-surface-rgb:var(--studio-white-rgb);--color-surface-backdrop:var(--studio-gray-0);--color-surface-backdrop-rgb:var(--studio-gray-0-rgb);--color-text:var(--studio-gray-80);--color-text-rgb:var(--studio-gray-80-rgb);--color-text-subtle:var(--studio-gray-50);--color-text-subtle-rgb:var(--studio-gray-50-rgb);--color-text-inverted:var(--studio-white);--color-text-inverted-rgb:var(--studio-white-rgb);--color-border:var(--color-neutral-20);--color-border-rgb:var(--color-neutral-20-rgb);--color-border-subtle:var(--color-neutral-5);--color-border-subtle-rgb:var(--color-neutral-5-rgb);--color-border-shadow:var(--color-neutral-0);--color-border-shadow-rgb:var(--color-neutral-0-rgb);--color-border-inverted:var(--studio-white);--color-border-inverted-rgb:var(--studio-white-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-plan-free:var(--studio-gray-30);--color-plan-blogger:var(--studio-celadon-30);--color-plan-personal:var(--studio-blue-30);--color-plan-premium:var(--studio-yellow-30);--color-plan-business:var(--studio-orange-30);--color-plan-ecommerce:var(--studio-purple-30);--color-jetpack-plan-free:var(--studio-blue-30);--color-jetpack-plan-personal:var(--studio-yellow-30);--color-jetpack-plan-premium:var(--studio-jetpack-green-30);--color-jetpack-plan-professional:var(--studio-purple-30);--color-masterbar-background:var(--studio-blue-60);--color-masterbar-border:var(--studio-blue-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-70);--color-masterbar-item-active-background:var(--studio-blue-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-blue-5);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-5-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-70);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-jetpack-onboarding-text:var(--studio-white);--color-jetpack-onboarding-text-rgb:var(--studio-white-rgb);--color-jetpack-onboarding-background:var(--studio-blue-100);--color-jetpack-onboarding-background-rgb:var(--studio-blue-100-rgb);--color-automattic:var(--studio-blue-40);--color-jetpack:var(--studio-jetpack-green);--color-simplenote:var(--studio-simplenote-blue);--color-woocommerce:var(--studio-woocommerce-purple);--color-wordpress-com:var(--studio-wordpress-blue);--color-wordpress-org:#585c60;--color-blogger:#ff5722;--color-eventbrite:#ff8000;--color-facebook:#39579a;--color-godaddy:#5ea95a;--color-google-plus:#df4a32;--color-instagram:#d93174;--color-linkedin:#0976b4;--color-medium:#12100e;--color-pinterest:#cc2127;--color-pocket:#ee4256;--color-print:#f8f8f8;--color-reddit:#5f99cf;--color-skype:#00aff0;--color-stumbleupon:#eb4924;--color-squarespace:#222;--color-telegram:#08c;--color-tumblr:#35465c;--color-twitter:#55acee;--color-whatsapp:#43d854;--color-wix:#faad4d;--color-email:var(--studio-gray-0);--color-podcasting:#9b4dd5;--color-wp-admin-button-background:#008ec2;--color-wp-admin-button-border:#006799}.color-scheme.is-classic-blue{--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-50)}.color-scheme.is-contrast{--color-primary:var(--studio-gray-80);--color-primary-rgb:var(--studio-gray-80-rgb);--color-primary-dark:var(--studio-gray-100);--color-primary-dark-rgb:var(--studio-gray-100-rgb);--color-primary-light:var(--studio-gray-60);--color-primary-light-rgb:var(--studio-gray-60-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-70);--color-accent-rgb:var(--studio-blue-70-rgb);--color-accent-dark:var(--studio-blue-90);--color-accent-dark-rgb:var(--studio-blue-90-rgb);--color-accent-light:var(--studio-blue-50);--color-accent-light-rgb:var(--studio-blue-50-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-surface-backdrop:var(--studio-white);--color-surface-backdrop-rgb:var(--studio-white-rgb);--color-text:var(--studio-gray-100);--color-text-rgb:var(--studio-gray-100-rgb);--color-text-subtle:var(--studio-gray-70);--color-text-subtle-rgb:var(--studio-gray-70-rgb);--color-link:var(--studio-blue-70);--color-link-rgb:var(--studio-blue-70-rgb);--color-link-dark:var(--studio-blue-100);--color-link-dark-rgb:var(--studio-blue-100-rgb);--color-link-light:var(--studio-blue-50);--color-link-light-rgb:var(--studio-blue-50-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-60);--color-masterbar-item-new-editor-background:var(--studio-gray-70);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-90);--color-masterbar-unread-dot-background:var(--studio-yellow-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-90);--color-sidebar-text-rgb:var(--studio-gray-90-rgb);--color-sidebar-text-alternative:var(--studio-gray-90);--color-sidebar-gridicon-fill:var(--studio-gray-90);--color-sidebar-menu-selected-background:var(--studio-gray-100);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-60);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-midnight{--color-primary:var(--studio-gray-70);--color-primary-rgb:var(--studio-gray-70-rgb);--color-primary-dark:var(--studio-gray-80);--color-primary-dark-rgb:var(--studio-gray-80-rgb);--color-primary-light:var(--studio-gray-50);--color-primary-light-rgb:var(--studio-gray-50-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-red-60);--color-link-rgb:var(--studio-red-60-rgb);--color-link-dark:var(--studio-red-70);--color-link-dark-rgb:var(--studio-red-70-rgb);--color-link-light:var(--studio-red-30);--color-link-light-rgb:var(--studio-red-30-rgb);--color-link-0:var(--studio-red-0);--color-link-0-rgb:var(--studio-red-0-rgb);--color-link-5:var(--studio-red-5);--color-link-5-rgb:var(--studio-red-5-rgb);--color-link-10:var(--studio-red-10);--color-link-10-rgb:var(--studio-red-10-rgb);--color-link-20:var(--studio-red-20);--color-link-20-rgb:var(--studio-red-20-rgb);--color-link-30:var(--studio-red-30);--color-link-30-rgb:var(--studio-red-30-rgb);--color-link-40:var(--studio-red-40);--color-link-40-rgb:var(--studio-red-40-rgb);--color-link-50:var(--studio-red-50);--color-link-50-rgb:var(--studio-red-50-rgb);--color-link-60:var(--studio-red-60);--color-link-60-rgb:var(--studio-red-60-rgb);--color-link-70:var(--studio-red-70);--color-link-70-rgb:var(--studio-red-70-rgb);--color-link-80:var(--studio-red-80);--color-link-80-rgb:var(--studio-red-80-rgb);--color-link-90:var(--studio-red-90);--color-link-90-rgb:var(--studio-red-90-rgb);--color-link-100:var(--studio-red-100);--color-link-100-rgb:var(--studio-red-100-rgb);--color-masterbar-background:var(--studio-gray-70);--color-masterbar-border:var(--studio-gray-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-90);--color-sidebar-background-rgb:var(--studio-gray-90-rgb);--color-sidebar-border:var(--studio-gray-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-gray-20);--color-sidebar-gridicon-fill:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-red-50);--color-sidebar-menu-selected-background-rgb:var(--studio-red-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-80);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-nightfall{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-blue-100);--color-masterbar-border:var(--studio-blue-100);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-80);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-80);--color-sidebar-background-rgb:var(--studio-blue-80-rgb);--color-sidebar-border:var(--studio-blue-90);--color-sidebar-text:var(--studio-blue-5);--color-sidebar-text-rgb:var(--studio-blue-5-rgb);--color-sidebar-text-alternative:var(--studio-blue-20);--color-sidebar-gridicon-fill:var(--studio-blue-10);--color-sidebar-menu-selected-background:var(--studio-blue-100);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-70);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-ocean{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-celadon-50);--color-accent-rgb:var(--studio-celadon-50-rgb);--color-accent-dark:var(--studio-celadon-70);--color-accent-dark-rgb:var(--studio-celadon-70-rgb);--color-accent-light:var(--studio-celadon-30);--color-accent-light-rgb:var(--studio-celadon-30-rgb);--color-accent-0:var(--studio-celadon-0);--color-accent-0-rgb:var(--studio-celadon-0-rgb);--color-accent-5:var(--studio-celadon-5);--color-accent-5-rgb:var(--studio-celadon-5-rgb);--color-accent-10:var(--studio-celadon-10);--color-accent-10-rgb:var(--studio-celadon-10-rgb);--color-accent-20:var(--studio-celadon-20);--color-accent-20-rgb:var(--studio-celadon-20-rgb);--color-accent-30:var(--studio-celadon-30);--color-accent-30-rgb:var(--studio-celadon-30-rgb);--color-accent-40:var(--studio-celadon-40);--color-accent-40-rgb:var(--studio-celadon-40-rgb);--color-accent-50:var(--studio-celadon-50);--color-accent-50-rgb:var(--studio-celadon-50-rgb);--color-accent-60:var(--studio-celadon-60);--color-accent-60-rgb:var(--studio-celadon-60-rgb);--color-accent-70:var(--studio-celadon-70);--color-accent-70-rgb:var(--studio-celadon-70-rgb);--color-accent-80:var(--studio-celadon-80);--color-accent-80-rgb:var(--studio-celadon-80-rgb);--color-accent-90:var(--studio-celadon-90);--color-accent-90-rgb:var(--studio-celadon-90-rgb);--color-accent-100:var(--studio-celadon-100);--color-accent-100-rgb:var(--studio-celadon-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-blue-80);--color-masterbar-border:var(--studio-blue-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-60);--color-sidebar-background-rgb:var(--studio-blue-60-rgb);--color-sidebar-border:var(--studio-blue-70);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-blue-5);--color-sidebar-gridicon-fill:var(--studio-blue-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-90);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-90-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-50);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-powder-snow{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-70);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-60)}.color-scheme.is-sakura{--color-primary:var(--studio-celadon-50);--color-primary-rgb:var(--studio-celadon-50-rgb);--color-primary-dark:var(--studio-celadon-70);--color-primary-dark-rgb:var(--studio-celadon-70-rgb);--color-primary-light:var(--studio-celadon-30);--color-primary-light-rgb:var(--studio-celadon-30-rgb);--color-primary-0:var(--studio-celadon-0);--color-primary-0-rgb:var(--studio-celadon-0-rgb);--color-primary-5:var(--studio-celadon-5);--color-primary-5-rgb:var(--studio-celadon-5-rgb);--color-primary-10:var(--studio-celadon-10);--color-primary-10-rgb:var(--studio-celadon-10-rgb);--color-primary-20:var(--studio-celadon-20);--color-primary-20-rgb:var(--studio-celadon-20-rgb);--color-primary-30:var(--studio-celadon-30);--color-primary-30-rgb:var(--studio-celadon-30-rgb);--color-primary-40:var(--studio-celadon-40);--color-primary-40-rgb:var(--studio-celadon-40-rgb);--color-primary-50:var(--studio-celadon-50);--color-primary-50-rgb:var(--studio-celadon-50-rgb);--color-primary-60:var(--studio-celadon-60);--color-primary-60-rgb:var(--studio-celadon-60-rgb);--color-primary-70:var(--studio-celadon-70);--color-primary-70-rgb:var(--studio-celadon-70-rgb);--color-primary-80:var(--studio-celadon-80);--color-primary-80-rgb:var(--studio-celadon-80-rgb);--color-primary-90:var(--studio-celadon-90);--color-primary-90-rgb:var(--studio-celadon-90-rgb);--color-primary-100:var(--studio-celadon-100);--color-primary-100-rgb:var(--studio-celadon-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-celadon-70);--color-masterbar-border:var(--studio-celadon-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-celadon-80);--color-masterbar-item-active-background:var(--studio-celadon-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-pink-5);--color-sidebar-background-rgb:var(--studio-pink-5-rgb);--color-sidebar-border:var(--studio-pink-10);--color-sidebar-text:var(--studio-pink-80);--color-sidebar-text-rgb:var(--studio-pink-80-rgb);--color-sidebar-text-alternative:var(--studio-pink-60);--color-sidebar-gridicon-fill:var(--studio-pink-70);--color-sidebar-menu-selected-background:var(--studio-blue-50);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-pink-10);--color-sidebar-menu-hover-background-rgb:var(--studio-pink-10-rgb);--color-sidebar-menu-hover-text:var(--studio-pink-90)}.color-scheme.is-sunset{--color-primary:var(--studio-red-50);--color-primary-rgb:var(--studio-red-50-rgb);--color-primary-dark:var(--studio-red-70);--color-primary-dark-rgb:var(--studio-red-70-rgb);--color-primary-light:var(--studio-red-30);--color-primary-light-rgb:var(--studio-red-30-rgb);--color-primary-0:var(--studio-red-0);--color-primary-0-rgb:var(--studio-red-0-rgb);--color-primary-5:var(--studio-red-5);--color-primary-5-rgb:var(--studio-red-5-rgb);--color-primary-10:var(--studio-red-10);--color-primary-10-rgb:var(--studio-red-10-rgb);--color-primary-20:var(--studio-red-20);--color-primary-20-rgb:var(--studio-red-20-rgb);--color-primary-30:var(--studio-red-30);--color-primary-30-rgb:var(--studio-red-30-rgb);--color-primary-40:var(--studio-red-40);--color-primary-40-rgb:var(--studio-red-40-rgb);--color-primary-50:var(--studio-red-50);--color-primary-50-rgb:var(--studio-red-50-rgb);--color-primary-60:var(--studio-red-60);--color-primary-60-rgb:var(--studio-red-60-rgb);--color-primary-70:var(--studio-red-70);--color-primary-70-rgb:var(--studio-red-70-rgb);--color-primary-80:var(--studio-red-80);--color-primary-80-rgb:var(--studio-red-80-rgb);--color-primary-90:var(--studio-red-90);--color-primary-90-rgb:var(--studio-red-90-rgb);--color-primary-100:var(--studio-red-100);--color-primary-100-rgb:var(--studio-red-100-rgb);--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-link:var(--studio-orange-50);--color-link-rgb:var(--studio-orange-50-rgb);--color-link-dark:var(--studio-orange-70);--color-link-dark-rgb:var(--studio-orange-70-rgb);--color-link-light:var(--studio-orange-30);--color-link-light-rgb:var(--studio-orange-30-rgb);--color-link-0:var(--studio-orange-0);--color-link-0-rgb:var(--studio-orange-0-rgb);--color-link-5:var(--studio-orange-5);--color-link-5-rgb:var(--studio-orange-5-rgb);--color-link-10:var(--studio-orange-10);--color-link-10-rgb:var(--studio-orange-10-rgb);--color-link-20:var(--studio-orange-20);--color-link-20-rgb:var(--studio-orange-20-rgb);--color-link-30:var(--studio-orange-30);--color-link-30-rgb:var(--studio-orange-30-rgb);--color-link-40:var(--studio-orange-40);--color-link-40-rgb:var(--studio-orange-40-rgb);--color-link-50:var(--studio-orange-50);--color-link-50-rgb:var(--studio-orange-50-rgb);--color-link-60:var(--studio-orange-60);--color-link-60-rgb:var(--studio-orange-60-rgb);--color-link-70:var(--studio-orange-70);--color-link-70-rgb:var(--studio-orange-70-rgb);--color-link-80:var(--studio-orange-80);--color-link-80-rgb:var(--studio-orange-80-rgb);--color-link-90:var(--studio-orange-90);--color-link-90-rgb:var(--studio-orange-90-rgb);--color-link-100:var(--studio-orange-100);--color-link-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--studio-red-80);--color-masterbar-border:var(--studio-red-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-red-90);--color-masterbar-item-active-background:var(--studio-red-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-red-70);--color-sidebar-background-rgb:var(--studio-red-70-rgb);--color-sidebar-border:var(--studio-red-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-red-10);--color-sidebar-gridicon-fill:var(--studio-red-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-yellow-80);--color-sidebar-menu-selected-text-rgb:var(--studio-yellow-80-rgb);--color-sidebar-menu-hover-background:var(--studio-red-80);--color-sidebar-menu-hover-background-rgb:var(--studio-red-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-jetpack-cloud,.theme-jetpack-cloud{--color-primary:var(--studio-jetpack-green);--color-primary-rgb:var(--studio-jetpack-green-rgb);--color-primary-dark:var(--studio-jetpack-green-70);--color-primary-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-light:var(--studio-jetpack-green-30);--color-primary-light-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-0:var(--studio-jetpack-green-0);--color-primary-0-rgb:var(--studio-jetpack-green-0-rgb);--color-primary-5:var(--studio-jetpack-green-5);--color-primary-5-rgb:var(--studio-jetpack-green-5-rgb);--color-primary-10:var(--studio-jetpack-green-10);--color-primary-10-rgb:var(--studio-jetpack-green-10-rgb);--color-primary-20:var(--studio-jetpack-green-20);--color-primary-20-rgb:var(--studio-jetpack-green-20-rgb);--color-primary-30:var(--studio-jetpack-green-30);--color-primary-30-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-40:var(--studio-jetpack-green-40);--color-primary-40-rgb:var(--studio-jetpack-green-40-rgb);--color-primary-50:var(--studio-jetpack-green-50);--color-primary-50-rgb:var(--studio-jetpack-green-50-rgb);--color-primary-60:var(--studio-jetpack-green-60);--color-primary-60-rgb:var(--studio-jetpack-green-60-rgb);--color-primary-70:var(--studio-jetpack-green-70);--color-primary-70-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-80:var(--studio-jetpack-green-80);--color-primary-80-rgb:var(--studio-jetpack-green-80-rgb);--color-primary-90:var(--studio-jetpack-green-90);--color-primary-90-rgb:var(--studio-jetpack-green-90-rgb);--color-primary-100:var(--studio-jetpack-green-100);--color-primary-100-rgb:var(--studio-jetpack-green-100-rgb);--color-accent:var(--studio-jetpack-green);--color-accent-rgb:var(--studio-jetpack-green-rgb);--color-accent-dark:var(--studio-jetpack-green-70);--color-accent-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-light:var(--studio-jetpack-green-30);--color-accent-light-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-0:var(--studio-jetpack-green-0);--color-accent-0-rgb:var(--studio-jetpack-green-0-rgb);--color-accent-5:var(--studio-jetpack-green-5);--color-accent-5-rgb:var(--studio-jetpack-green-5-rgb);--color-accent-10:var(--studio-jetpack-green-10);--color-accent-10-rgb:var(--studio-jetpack-green-10-rgb);--color-accent-20:var(--studio-jetpack-green-20);--color-accent-20-rgb:var(--studio-jetpack-green-20-rgb);--color-accent-30:var(--studio-jetpack-green-30);--color-accent-30-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-40:var(--studio-jetpack-green-40);--color-accent-40-rgb:var(--studio-jetpack-green-40-rgb);--color-accent-50:var(--studio-jetpack-green-50);--color-accent-50-rgb:var(--studio-jetpack-green-50-rgb);--color-accent-60:var(--studio-jetpack-green-60);--color-accent-60-rgb:var(--studio-jetpack-green-60-rgb);--color-accent-70:var(--studio-jetpack-green-70);--color-accent-70-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-80:var(--studio-jetpack-green-80);--color-accent-80-rgb:var(--studio-jetpack-green-80-rgb);--color-accent-90:var(--studio-jetpack-green-90);--color-accent-90-rgb:var(--studio-jetpack-green-90-rgb);--color-accent-100:var(--studio-jetpack-green-100);--color-accent-100-rgb:var(--studio-jetpack-green-100-rgb);--color-link:var(--studio-jetpack-green-40);--color-link-rgb:var(--studio-jetpack-green-40-rgb);--color-link-dark:var(--studio-jetpack-green-60);--color-link-dark-rgb:var(--studio-jetpack-green-60-rgb);--color-link-light:var(--studio-jetpack-green-20);--color-link-light-rgb:var(--studio-jetpack-green-20-rgb);--color-link-0:var(--studio-jetpack-green-0);--color-link-0-rgb:var(--studio-jetpack-green-0-rgb);--color-link-5:var(--studio-jetpack-green-5);--color-link-5-rgb:var(--studio-jetpack-green-5-rgb);--color-link-10:var(--studio-jetpack-green-10);--color-link-10-rgb:var(--studio-jetpack-green-10-rgb);--color-link-20:var(--studio-jetpack-green-20);--color-link-20-rgb:var(--studio-jetpack-green-20-rgb);--color-link-30:var(--studio-jetpack-green-30);--color-link-30-rgb:var(--studio-jetpack-green-30-rgb);--color-link-40:var(--studio-jetpack-green-40);--color-link-40-rgb:var(--studio-jetpack-green-40-rgb);--color-link-50:var(--studio-jetpack-green-50);--color-link-50-rgb:var(--studio-jetpack-green-50-rgb);--color-link-60:var(--studio-jetpack-green-60);--color-link-60-rgb:var(--studio-jetpack-green-60-rgb);--color-link-70:var(--studio-jetpack-green-70);--color-link-70-rgb:var(--studio-jetpack-green-70-rgb);--color-link-80:var(--studio-jetpack-green-80);--color-link-80-rgb:var(--studio-jetpack-green-80-rgb);--color-link-90:var(--studio-jetpack-green-90);--color-link-90-rgb:var(--studio-jetpack-green-90-rgb);--color-link-100:var(--studio-jetpack-green-100);--color-link-100-rgb:var(--studio-jetpack-green-100-rgb);--color-masterbar-background:var(--studio-white);--color-masterbar-border:var(--studio-gray-5);--color-masterbar-text:var(--studio-gray-50);--color-masterbar-item-hover-background:var(--studio-white);--color-masterbar-item-active-background:var(--studio-white);--color-masterbar-item-new-editor-background:var(--studio-white);--color-masterbar-item-new-editor-hover-background:var(--studio-white);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-white);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-60);--color-sidebar-text-rgb:var(--studio-gray-60-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-60);--color-sidebar-menu-selected-text:var(--studio-jetpack-green-50);--color-sidebar-menu-selected-text-rgb:var(--studio-jetpack-green-50-rgb);--color-sidebar-menu-selected-background:var(--studio-jetpack-green-5);--color-sidebar-menu-selected-background-rgb:var(--studio-jetpack-green-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-scary-0:var(--studio-red-0);--color-scary-5:var(--studio-red-5);--color-scary-40:var(--studio-red-40);--color-scary-50:var(--studio-red-50);--color-scary-60:var(--studio-red-60)}@media (max-width:480px){.domain-categories{margin-bottom:20px}.domain-categories .domain-categories__dropdown-button.components-button{display:block;margin-bottom:0}.domain-categories .domain-categories__item-group{display:none}.domain-categories.is-open .domain-categories__item-group{display:block}}.domain-categories__dropdown-button.components-button{width:100%;text-align:center;margin-bottom:8px;height:40px;border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);display:none}.domain-categories__dropdown-button.components-button>*{vertical-align:middle}.domain-categories__dropdown-button.components-button svg{margin-left:5px}@media (max-width:480px){.domain-categories__item-group{text-align:center;border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);margin-top:-1px}}.domain-categories__item .components-button{color:#101517;color:var(--studio-gray-100);width:100%;text-align:left}.domain-categories__item .components-button:focus,.domain-categories__item .components-button:hover{color:#101517;color:var(--studio-gray-100);box-shadow:none;font-weight:600;text-decoration:underline}.domain-categories__item.is-selected .components-button{font-weight:600;text-decoration:underline}@media (max-width:480px){.domain-categories__item .components-button{display:block;text-align:center}}html:not(.accessible-focus) .domain-categories__item .components-button:focus{box-shadow:none}.plans-grid{margin-bottom:85px}@media (min-width:600px){.plans-grid{margin-bottom:0}}.plans-grid__header{margin:44px 0 50px;display:flex;justify-content:space-between;align-items:center}@media (min-width:480px){.plans-grid__header{margin:64px 0 80px}}.plans-grid__details{margin-top:70px;margin-bottom:120px}@media (max-width:1440px){.plans-grid__details-container{overflow-x:auto;width:100vw;position:absolute;left:0;padding:0 20px}}@media (max-width:1440px) and (min-width:600px){.plans-grid__details-container{padding:0 44px}}@media (max-width:1440px) and (min-width:782px){.plans-grid__details-container{padding:0 88px}}.plans-grid__details-heading .plans-ui-title{color:var(--studio-black);margin-bottom:40px;font-size:32px;line-height:40px;letter-spacing:.2px}.plans-table{width:100%;display:flex;flex-wrap:wrap}.plan-item{display:inline-flex;min-width:250px;flex-grow:1;flex-basis:0;flex-direction:column;margin-top:30px}@media (min-width:480px){.plan-item+.plan-item{margin-left:-1px}}@media (max-width:480px){.plan-item:not(.is-popular){margin-top:-1px}.plan-item.is-open:not(.is-popular){margin-bottom:30px}}.plan-item__viewport{width:100%;height:100%;flex:1;border:1px solid #e2e4e7;padding:20px}.plan-item:not(.is-popular) .plan-item__heading{display:flex;align-items:center}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__heading{font-size:1em}}.plan-item__name{font-weight:700;font-size:18px;line-height:24px;display:inline-block}@media (max-width:480px){.plan-item__name{font-size:14px}}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__name{font-weight:400}}.plan-item__domain-name{font-size:.875rem}.plan-item__mobile-expand-all-plans.components-button.is-link{margin:20px auto;color:#555d66}.plan-item__badge{position:relative;display:block;background:#000;text-align:center;text-transform:uppercase;color:#fff;padding:4.5px;font-size:.75rem;margin:-24px 0 0}.plan-item__price-amount{font-weight:600;font-size:32px;line-height:24px}.plan-item__price-amount.is-loading{max-width:60px;animation:loading-fade 1.6s ease-in-out infinite;background:var(--color-neutral-5);color:transparent}.plan-item__price-amount.is-loading:after{content:"\00a0"}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__price-amount{font-weight:400;font-size:1em}}.plan-item__summary{width:100%}.plan-item__summary::-webkit-details-marker{display:none}@media (min-width:480px){.plan-item.is-popular .plan-item__summary,.plan-item__summary{pointer-events:none}}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__summary{display:flex}}.plan-item__price-note{font-size:12px;line-height:19px;letter-spacing:-.4px;color:var(--studio-gray-40);margin-top:8px;margin-bottom:10px}.plan-item__details .plan-item__summary .plan-item__price{margin-top:16px;margin-bottom:8px}.plan-item:not(.is-open) .plan-item__summary .plan-item__price{margin-top:0;margin-bottom:0;margin-left:10px;color:#555d66}.plan-item__actions{margin-bottom:16px}.plan-item__dropdown-chevron{flex:1;text-align:right}.plan-item.is-open .plan-item__dropdown-chevron{display:none}.plan-item__domain-summary{font-size:.875rem;line-height:22px;margin-top:10px}.plan-item__domain-summary.components-button.is-link{text-decoration:none;font-size:14px;color:var(--studio-blue-40);display:flex;align-items:flex-start}.plan-item__domain-summary svg:first-child{margin-right:5px;vertical-align:middle;margin-top:4px;flex:none}.plan-item__domain-summary svg:first-child path{fill:#4aa150;stroke:#4aa150}@media (max-width:480px){.plan-item.is-popular{order:-3}}.plan-item__domain-summary.is-picked{font-weight:700}.plan-item__domain-summary.is-cta{font-weight:700;padding:0}.plan-item__domain-summary.is-cta.components-button.is-link{color:var(--studio-blue-40)}.plan-item__domain-summary.is-cta svg:first-child path{fill:#4aa150;stroke:#4aa150;margin-top:5px}.plan-item__domain-summary.is-cta svg:last-child{fill:var(--studio-blue-40);stroke:var(--studio-blue-40);margin-left:8px;margin-top:8px}.plan-item__domain-summary.components-button.is-link.is-free{font-weight:700;color:#ce863d;text-decoration:line-through}.plan-item__domain-summary.components-button.is-link.is-free svg path{fill:#ce863d;stroke:#ce863d}.plan-item__select-button.components-button{padding:0 24px;height:40px}.plan-item__select-button.components-button svg{margin-left:-8px;margin-right:10px}.plan-item__domain-picker-button.components-button{font-size:.875rem;line-height:19px;letter-spacing:.2px;word-break:break-word}.plan-item__domain-picker-button.components-button.has-domain{color:var(--studio-gray-50);text-decoration:none}.plan-item__domain-picker-button.components-button svg{margin-left:2px}.plan-item__feature-item{font-size:.875rem;line-height:20px;letter-spacing:.2px;margin:4px 0;vertical-align:middle;color:#555d66;display:flex;align-items:flex-start}.plan-item__feature-item svg{display:block;margin-right:6px;margin-top:2px}.plan-item__feature-item svg path{fill:#4aa150;stroke:#4aa150}.plans-ui-title{font-family:Recoleta,Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:32px;line-height:40px;color:var(--studio-gray-100)}@media (min-width:480px){.plans-ui-title{font-family:Recoleta,Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:36px;line-height:40px}}@media (min-width:1080px){.plans-ui-title{font-family:Recoleta,Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:42px;line-height:57px}}.plans-details__table{width:100%}.plans-details__table td,.plans-details__table th{padding:13px 24px}.plans-details__table td:first-child,.plans-details__table th:first-child{padding-left:0;width:20%}@media (min-width:480px){.plans-details__table td:first-child,.plans-details__table th:first-child{width:40%}}.plans-details__table td:not(:first-child),.plans-details__table th:not(:first-child){white-space:nowrap}.plans-details__table .hidden{display:none}.plans-details__header-row th{font-weight:600;font-size:.875rem;line-height:20px;text-transform:uppercase;color:var(--studio-gray-20);padding-top:5px;padding-bottom:5px;border-bottom:1px solid #eaeaeb}.plans-details__feature-row td,.plans-details__feature-row th{font-size:.875rem;line-height:17px;letter-spacing:.2px;border-bottom:1px solid #eaeaeb;vertical-align:middle}
|
1 |
+
.nux-launch-modal-overlay.components-modal__screen-overlay{background:none;width:100%;height:100%}.nux-launch-modal.components-modal__frame{width:100%;height:100%;top:0;left:0;min-width:unset;max-width:none;max-height:none;transform:none;border:none;box-shadow:none;position:absolute}.nux-launch-modal .components-modal__header{display:none}.nux-launch-modal .components-modal__content{padding:0}.nux-launch-modal-header{position:-webkit-sticky;position:sticky;top:0;z-index:10;height:60px;border-bottom:1px solid var(--studio-gray-5);padding:24px;margin:0 -24px 24px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;background:var(--studio-white)}.nux-launch-modal-header__wp-logo{display:flex;align-items:center;justify-content:center;width:60px;height:60px}.nux-launch-modal-header__close-button.components-button.is-link{width:60px;height:60px;justify-content:center;color:var(--studio-gray-50)}.nux-launch-modal-header__close-button.components-button.is-link:hover{color:var(--studio-gray-40)}.nux-launch-step{margin:0 20px}@media (min-width:600px){.nux-launch-step{margin:0 44px}}@media (min-width:782px){.nux-launch-step{margin:0 88px}}.nux-launch-step__header{display:flex;justify-content:space-between;align-items:center;margin:44px 0 50px}@media (min-width:480px){.nux-launch-step__header{margin:64px 0 80px}}.nux-launch-step__heading{flex-grow:1}:root{--studio-white:#fff;--studio-black:#000;--studio-gray-0:#f6f7f7;--studio-gray-5:#dcdcde;--studio-gray-10:#c3c4c7;--studio-gray-20:#a7aaad;--studio-gray-30:#8c8f94;--studio-gray-40:#787c82;--studio-gray-50:#646970;--studio-gray-60:#50575e;--studio-gray-70:#3c434a;--studio-gray-80:#2c3338;--studio-gray-90:#1d2327;--studio-gray-100:#101517;--studio-gray:#646970;--studio-blue-0:#e9eff5;--studio-blue-5:#c5d9ed;--studio-blue-10:#9ec2e6;--studio-blue-20:#72aee6;--studio-blue-30:#5198d9;--studio-blue-40:#3582c4;--studio-blue-50:#2271b1;--studio-blue-60:#135e96;--studio-blue-70:#0a4b78;--studio-blue-80:#043959;--studio-blue-90:#01263a;--studio-blue-100:#00131c;--studio-blue:#2271b1;--studio-purple-0:#f2e9ed;--studio-purple-5:#ebcee0;--studio-purple-10:#e3afd5;--studio-purple-20:#d48fc8;--studio-purple-30:#c475bd;--studio-purple-40:#b35eb1;--studio-purple-50:#984a9c;--studio-purple-60:#7c3982;--studio-purple-70:#662c6e;--studio-purple-80:#4d2054;--studio-purple-90:#35163b;--studio-purple-100:#1e0c21;--studio-purple:#984a9c;--studio-pink-0:#f5e9ed;--studio-pink-5:#f2ceda;--studio-pink-10:#f7a8c3;--studio-pink-20:#f283aa;--studio-pink-30:#eb6594;--studio-pink-40:#e34c84;--studio-pink-50:#c9356e;--studio-pink-60:#ab235a;--studio-pink-70:#8c1749;--studio-pink-80:#700f3b;--studio-pink-90:#4f092a;--studio-pink-100:#260415;--studio-pink:#c9356e;--studio-red-0:#f7ebec;--studio-red-5:#facfd2;--studio-red-10:#ffabaf;--studio-red-20:#ff8085;--studio-red-30:#f86368;--studio-red-40:#e65054;--studio-red-50:#d63638;--studio-red-60:#b32d2e;--studio-red-70:#8a2424;--studio-red-80:#691c1c;--studio-red-90:#451313;--studio-red-100:#240a0a;--studio-red:#d63638;--studio-orange-0:#f5ece6;--studio-orange-5:#f7dcc6;--studio-orange-10:#ffbf86;--studio-orange-20:#faa754;--studio-orange-30:#e68b28;--studio-orange-40:#d67709;--studio-orange-50:#b26200;--studio-orange-60:#8a4d00;--studio-orange-70:#704000;--studio-orange-80:#543100;--studio-orange-90:#361f00;--studio-orange-100:#1f1200;--studio-orange:#b26200;--studio-yellow-0:#f5f1e1;--studio-yellow-5:#f5e6b3;--studio-yellow-10:#f2d76b;--studio-yellow-20:#f0c930;--studio-yellow-30:#deb100;--studio-yellow-40:#c08c00;--studio-yellow-50:#9d6e00;--studio-yellow-60:#7d5600;--studio-yellow-70:#674600;--studio-yellow-80:#4f3500;--studio-yellow-90:#320;--studio-yellow-100:#1c1300;--studio-yellow:#9d6e00;--studio-green-0:#e6f2e8;--studio-green-5:#b8e6bf;--studio-green-10:#68de86;--studio-green-20:#1ed15a;--studio-green-30:#00ba37;--studio-green-40:#00a32a;--studio-green-50:#008a20;--studio-green-60:#007017;--studio-green-70:#005c12;--studio-green-80:#00450c;--studio-green-90:#003008;--studio-green-100:#001c05;--studio-green:#008a20;--studio-celadon-0:#e4f2ed;--studio-celadon-5:#a7e8d4;--studio-celadon-10:#63d6b6;--studio-celadon-20:#2ebd99;--studio-celadon-30:#09a884;--studio-celadon-40:#009172;--studio-celadon-50:#007e65;--studio-celadon-60:#006753;--studio-celadon-70:#005042;--studio-celadon-80:#003b30;--studio-celadon-90:#002721;--studio-celadon-100:#001c17;--studio-celadon:#007e65;--studio-wordpress-blue-0:#e6f1f5;--studio-wordpress-blue-5:#bedae6;--studio-wordpress-blue-10:#98c6d9;--studio-wordpress-blue-20:#6ab3d0;--studio-wordpress-blue-30:#3895ba;--studio-wordpress-blue-40:#187aa2;--studio-wordpress-blue-50:#006088;--studio-wordpress-blue-60:#004e6e;--studio-wordpress-blue-70:#003c56;--studio-wordpress-blue-80:#002c40;--studio-wordpress-blue-90:#001d2d;--studio-wordpress-blue-100:#00101c;--studio-wordpress-blue:#006088;--studio-simplenote-blue-0:#e9ecf5;--studio-simplenote-blue-5:#ced9f2;--studio-simplenote-blue-10:#abc1f5;--studio-simplenote-blue-20:#84a4f0;--studio-simplenote-blue-30:#618df2;--studio-simplenote-blue-40:#4678eb;--studio-simplenote-blue-50:#3361cc;--studio-simplenote-blue-60:#1d4fc4;--studio-simplenote-blue-70:#113ead;--studio-simplenote-blue-80:#0d2f85;--studio-simplenote-blue-90:#09205c;--studio-simplenote-blue-100:#05102e;--studio-simplenote-blue:#3361cc;--studio-woocommerce-purple-0:#f7edf7;--studio-woocommerce-purple-5:#e5cfe8;--studio-woocommerce-purple-10:#d6b4e0;--studio-woocommerce-purple-20:#c792e0;--studio-woocommerce-purple-30:#af7dd1;--studio-woocommerce-purple-40:#9a69c7;--studio-woocommerce-purple-50:#7f54b3;--studio-woocommerce-purple-60:#674399;--studio-woocommerce-purple-70:#533582;--studio-woocommerce-purple-80:#3c2861;--studio-woocommerce-purple-90:#271b3d;--studio-woocommerce-purple-100:#140e1f;--studio-woocommerce-purple:#7f54b3;--studio-jetpack-green-0:#f0f2eb;--studio-jetpack-green-5:#d0e6b8;--studio-jetpack-green-10:#9dd977;--studio-jetpack-green-20:#64ca43;--studio-jetpack-green-30:#2fb41f;--studio-jetpack-green-40:#069e08;--studio-jetpack-green-50:#008710;--studio-jetpack-green-60:#007117;--studio-jetpack-green-70:#005b18;--studio-jetpack-green-80:#004515;--studio-jetpack-green-90:#003010;--studio-jetpack-green-100:#001c09;--studio-jetpack-green:#2fb41f;--studio-white-rgb:255,255,255;--studio-black-rgb:0,0,0;--studio-gray-0-rgb:246,247,247;--studio-gray-5-rgb:220,220,222;--studio-gray-10-rgb:195,196,199;--studio-gray-20-rgb:167,170,173;--studio-gray-30-rgb:140,143,148;--studio-gray-40-rgb:120,124,130;--studio-gray-50-rgb:100,105,112;--studio-gray-60-rgb:80,87,94;--studio-gray-70-rgb:60,67,74;--studio-gray-80-rgb:44,51,56;--studio-gray-90-rgb:29,35,39;--studio-gray-100-rgb:16,21,23;--studio-gray-rgb:100,105,112;--studio-blue-0-rgb:233,239,245;--studio-blue-5-rgb:197,217,237;--studio-blue-10-rgb:158,194,230;--studio-blue-20-rgb:114,174,230;--studio-blue-30-rgb:81,152,217;--studio-blue-40-rgb:53,130,196;--studio-blue-50-rgb:34,113,177;--studio-blue-60-rgb:19,94,150;--studio-blue-70-rgb:10,75,120;--studio-blue-80-rgb:4,57,89;--studio-blue-90-rgb:1,38,58;--studio-blue-100-rgb:0,19,28;--studio-blue-rgb:34,113,177;--studio-purple-0-rgb:242,233,237;--studio-purple-5-rgb:235,206,224;--studio-purple-10-rgb:227,175,213;--studio-purple-20-rgb:212,143,200;--studio-purple-30-rgb:196,117,189;--studio-purple-40-rgb:179,94,177;--studio-purple-50-rgb:152,74,156;--studio-purple-60-rgb:124,57,130;--studio-purple-70-rgb:102,44,110;--studio-purple-80-rgb:77,32,84;--studio-purple-90-rgb:53,22,59;--studio-purple-100-rgb:30,12,33;--studio-purple-rgb:152,74,156;--studio-pink-0-rgb:245,233,237;--studio-pink-5-rgb:242,206,218;--studio-pink-10-rgb:247,168,195;--studio-pink-20-rgb:242,131,170;--studio-pink-30-rgb:235,101,148;--studio-pink-40-rgb:227,76,132;--studio-pink-50-rgb:201,53,110;--studio-pink-60-rgb:171,35,90;--studio-pink-70-rgb:140,23,73;--studio-pink-80-rgb:112,15,59;--studio-pink-90-rgb:79,9,42;--studio-pink-100-rgb:38,4,21;--studio-pink-rgb:201,53,110;--studio-red-0-rgb:247,235,236;--studio-red-5-rgb:250,207,210;--studio-red-10-rgb:255,171,175;--studio-red-20-rgb:255,128,133;--studio-red-30-rgb:248,99,104;--studio-red-40-rgb:230,80,84;--studio-red-50-rgb:214,54,56;--studio-red-60-rgb:179,45,46;--studio-red-70-rgb:138,36,36;--studio-red-80-rgb:105,28,28;--studio-red-90-rgb:69,19,19;--studio-red-100-rgb:36,10,10;--studio-red-rgb:214,54,56;--studio-orange-0-rgb:245,236,230;--studio-orange-5-rgb:247,220,198;--studio-orange-10-rgb:255,191,134;--studio-orange-20-rgb:250,167,84;--studio-orange-30-rgb:230,139,40;--studio-orange-40-rgb:214,119,9;--studio-orange-50-rgb:178,98,0;--studio-orange-60-rgb:138,77,0;--studio-orange-70-rgb:112,64,0;--studio-orange-80-rgb:84,49,0;--studio-orange-90-rgb:54,31,0;--studio-orange-100-rgb:31,18,0;--studio-orange-rgb:178,98,0;--studio-yellow-0-rgb:245,241,225;--studio-yellow-5-rgb:245,230,179;--studio-yellow-10-rgb:242,215,107;--studio-yellow-20-rgb:240,201,48;--studio-yellow-30-rgb:222,177,0;--studio-yellow-40-rgb:192,140,0;--studio-yellow-50-rgb:157,110,0;--studio-yellow-60-rgb:125,86,0;--studio-yellow-70-rgb:103,70,0;--studio-yellow-80-rgb:79,53,0;--studio-yellow-90-rgb:51,34,0;--studio-yellow-100-rgb:28,19,0;--studio-yellow-rgb:157,110,0;--studio-green-0-rgb:230,242,232;--studio-green-5-rgb:184,230,191;--studio-green-10-rgb:104,222,134;--studio-green-20-rgb:30,209,90;--studio-green-30-rgb:0,186,55;--studio-green-40-rgb:0,163,42;--studio-green-50-rgb:0,138,32;--studio-green-60-rgb:0,112,23;--studio-green-70-rgb:0,92,18;--studio-green-80-rgb:0,69,12;--studio-green-90-rgb:0,48,8;--studio-green-100-rgb:0,28,5;--studio-green-rgb:0,138,32;--studio-celadon-0-rgb:228,242,237;--studio-celadon-5-rgb:167,232,212;--studio-celadon-10-rgb:99,214,182;--studio-celadon-20-rgb:46,189,153;--studio-celadon-30-rgb:9,168,132;--studio-celadon-40-rgb:0,145,114;--studio-celadon-50-rgb:0,126,101;--studio-celadon-60-rgb:0,103,83;--studio-celadon-70-rgb:0,80,66;--studio-celadon-80-rgb:0,59,48;--studio-celadon-90-rgb:0,39,33;--studio-celadon-100-rgb:0,28,23;--studio-celadon-rgb:0,126,101;--studio-wordpress-blue-0-rgb:230,241,245;--studio-wordpress-blue-5-rgb:190,218,230;--studio-wordpress-blue-10-rgb:152,198,217;--studio-wordpress-blue-20-rgb:106,179,208;--studio-wordpress-blue-30-rgb:56,149,186;--studio-wordpress-blue-40-rgb:24,122,162;--studio-wordpress-blue-50-rgb:0,96,136;--studio-wordpress-blue-60-rgb:0,78,110;--studio-wordpress-blue-70-rgb:0,60,86;--studio-wordpress-blue-80-rgb:0,44,64;--studio-wordpress-blue-90-rgb:0,29,45;--studio-wordpress-blue-100-rgb:0,16,28;--studio-wordpress-blue-rgb:0,96,136;--studio-simplenote-blue-0-rgb:233,236,245;--studio-simplenote-blue-5-rgb:206,217,242;--studio-simplenote-blue-10-rgb:171,193,245;--studio-simplenote-blue-20-rgb:132,164,240;--studio-simplenote-blue-30-rgb:97,141,242;--studio-simplenote-blue-40-rgb:70,120,235;--studio-simplenote-blue-50-rgb:51,97,204;--studio-simplenote-blue-60-rgb:29,79,196;--studio-simplenote-blue-70-rgb:17,62,173;--studio-simplenote-blue-80-rgb:13,47,133;--studio-simplenote-blue-90-rgb:9,32,92;--studio-simplenote-blue-100-rgb:5,16,46;--studio-simplenote-blue-rgb:51,97,204;--studio-woocommerce-purple-0-rgb:247,237,247;--studio-woocommerce-purple-5-rgb:229,207,232;--studio-woocommerce-purple-10-rgb:214,180,224;--studio-woocommerce-purple-20-rgb:199,146,224;--studio-woocommerce-purple-30-rgb:175,125,209;--studio-woocommerce-purple-40-rgb:154,105,199;--studio-woocommerce-purple-50-rgb:127,84,179;--studio-woocommerce-purple-60-rgb:103,67,153;--studio-woocommerce-purple-70-rgb:83,53,130;--studio-woocommerce-purple-80-rgb:60,40,97;--studio-woocommerce-purple-90-rgb:39,27,61;--studio-woocommerce-purple-100-rgb:20,14,31;--studio-woocommerce-purple-rgb:127,84,179;--studio-jetpack-green-0-rgb:240,242,235;--studio-jetpack-green-5-rgb:208,230,184;--studio-jetpack-green-10-rgb:157,217,119;--studio-jetpack-green-20-rgb:100,202,67;--studio-jetpack-green-30-rgb:47,180,31;--studio-jetpack-green-40-rgb:6,158,8;--studio-jetpack-green-50-rgb:0,135,16;--studio-jetpack-green-60-rgb:0,113,23;--studio-jetpack-green-70-rgb:0,91,24;--studio-jetpack-green-80-rgb:0,69,21;--studio-jetpack-green-90-rgb:0,48,16;--studio-jetpack-green-100-rgb:0,28,9;--studio-jetpack-green-rgb:47,180,31;--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-pink-50);--color-accent-rgb:var(--studio-pink-50-rgb);--color-accent-dark:var(--studio-pink-70);--color-accent-dark-rgb:var(--studio-pink-70-rgb);--color-accent-light:var(--studio-pink-30);--color-accent-light-rgb:var(--studio-pink-30-rgb);--color-accent-0:var(--studio-pink-0);--color-accent-0-rgb:var(--studio-pink-0-rgb);--color-accent-5:var(--studio-pink-5);--color-accent-5-rgb:var(--studio-pink-5-rgb);--color-accent-10:var(--studio-pink-10);--color-accent-10-rgb:var(--studio-pink-10-rgb);--color-accent-20:var(--studio-pink-20);--color-accent-20-rgb:var(--studio-pink-20-rgb);--color-accent-30:var(--studio-pink-30);--color-accent-30-rgb:var(--studio-pink-30-rgb);--color-accent-40:var(--studio-pink-40);--color-accent-40-rgb:var(--studio-pink-40-rgb);--color-accent-50:var(--studio-pink-50);--color-accent-50-rgb:var(--studio-pink-50-rgb);--color-accent-60:var(--studio-pink-60);--color-accent-60-rgb:var(--studio-pink-60-rgb);--color-accent-70:var(--studio-pink-70);--color-accent-70-rgb:var(--studio-pink-70-rgb);--color-accent-80:var(--studio-pink-80);--color-accent-80-rgb:var(--studio-pink-80-rgb);--color-accent-90:var(--studio-pink-90);--color-accent-90-rgb:var(--studio-pink-90-rgb);--color-accent-100:var(--studio-pink-100);--color-accent-100-rgb:var(--studio-pink-100-rgb);--color-neutral:var(--studio-gray-50);--color-neutral-rgb:var(--studio-gray-50-rgb);--color-neutral-dark:var(--studio-gray-70);--color-neutral-dark-rgb:var(--studio-gray-70-rgb);--color-neutral-light:var(--studio-gray-30);--color-neutral-light-rgb:var(--studio-gray-30-rgb);--color-neutral-0:var(--studio-gray-0);--color-neutral-0-rgb:var(--studio-gray-0-rgb);--color-neutral-5:var(--studio-gray-5);--color-neutral-5-rgb:var(--studio-gray-5-rgb);--color-neutral-10:var(--studio-gray-10);--color-neutral-10-rgb:var(--studio-gray-10-rgb);--color-neutral-20:var(--studio-gray-20);--color-neutral-20-rgb:var(--studio-gray-20-rgb);--color-neutral-30:var(--studio-gray-30);--color-neutral-30-rgb:var(--studio-gray-30-rgb);--color-neutral-40:var(--studio-gray-40);--color-neutral-40-rgb:var(--studio-gray-40-rgb);--color-neutral-50:var(--studio-gray-50);--color-neutral-50-rgb:var(--studio-gray-50-rgb);--color-neutral-60:var(--studio-gray-60);--color-neutral-60-rgb:var(--studio-gray-60-rgb);--color-neutral-70:var(--studio-gray-70);--color-neutral-70-rgb:var(--studio-gray-70-rgb);--color-neutral-80:var(--studio-gray-80);--color-neutral-80-rgb:var(--studio-gray-80-rgb);--color-neutral-90:var(--studio-gray-90);--color-neutral-90-rgb:var(--studio-gray-90-rgb);--color-neutral-100:var(--studio-gray-100);--color-neutral-100-rgb:var(--studio-gray-100-rgb);--color-success:var(--studio-green-50);--color-success-rgb:var(--studio-green-50-rgb);--color-success-dark:var(--studio-green-70);--color-success-dark-rgb:var(--studio-green-70-rgb);--color-success-light:var(--studio-green-30);--color-success-light-rgb:var(--studio-green-30-rgb);--color-success-0:var(--studio-green-0);--color-success-0-rgb:var(--studio-green-0-rgb);--color-success-5:var(--studio-green-5);--color-success-5-rgb:var(--studio-green-5-rgb);--color-success-10:var(--studio-green-10);--color-success-10-rgb:var(--studio-green-10-rgb);--color-success-20:var(--studio-green-20);--color-success-20-rgb:var(--studio-green-20-rgb);--color-success-30:var(--studio-green-30);--color-success-30-rgb:var(--studio-green-30-rgb);--color-success-40:var(--studio-green-40);--color-success-40-rgb:var(--studio-green-40-rgb);--color-success-50:var(--studio-green-50);--color-success-50-rgb:var(--studio-green-50-rgb);--color-success-60:var(--studio-green-60);--color-success-60-rgb:var(--studio-green-60-rgb);--color-success-70:var(--studio-green-70);--color-success-70-rgb:var(--studio-green-70-rgb);--color-success-80:var(--studio-green-80);--color-success-80-rgb:var(--studio-green-80-rgb);--color-success-90:var(--studio-green-90);--color-success-90-rgb:var(--studio-green-90-rgb);--color-success-100:var(--studio-green-100);--color-success-100-rgb:var(--studio-green-100-rgb);--color-warning:var(--studio-yellow-50);--color-warning-rgb:var(--studio-yellow-50-rgb);--color-warning-dark:var(--studio-yellow-70);--color-warning-dark-rgb:var(--studio-yellow-70-rgb);--color-warning-light:var(--studio-yellow-30);--color-warning-light-rgb:var(--studio-yellow-30-rgb);--color-warning-0:var(--studio-yellow-0);--color-warning-0-rgb:var(--studio-yellow-0-rgb);--color-warning-5:var(--studio-yellow-5);--color-warning-5-rgb:var(--studio-yellow-5-rgb);--color-warning-10:var(--studio-yellow-10);--color-warning-10-rgb:var(--studio-yellow-10-rgb);--color-warning-20:var(--studio-yellow-20);--color-warning-20-rgb:var(--studio-yellow-20-rgb);--color-warning-30:var(--studio-yellow-30);--color-warning-30-rgb:var(--studio-yellow-30-rgb);--color-warning-40:var(--studio-yellow-40);--color-warning-40-rgb:var(--studio-yellow-40-rgb);--color-warning-50:var(--studio-yellow-50);--color-warning-50-rgb:var(--studio-yellow-50-rgb);--color-warning-60:var(--studio-yellow-60);--color-warning-60-rgb:var(--studio-yellow-60-rgb);--color-warning-70:var(--studio-yellow-70);--color-warning-70-rgb:var(--studio-yellow-70-rgb);--color-warning-80:var(--studio-yellow-80);--color-warning-80-rgb:var(--studio-yellow-80-rgb);--color-warning-90:var(--studio-yellow-90);--color-warning-90-rgb:var(--studio-yellow-90-rgb);--color-warning-100:var(--studio-yellow-100);--color-warning-100-rgb:var(--studio-yellow-100-rgb);--color-error:var(--studio-red-50);--color-error-rgb:var(--studio-red-50-rgb);--color-error-dark:var(--studio-red-70);--color-error-dark-rgb:var(--studio-red-70-rgb);--color-error-light:var(--studio-red-30);--color-error-light-rgb:var(--studio-red-30-rgb);--color-error-0:var(--studio-red-0);--color-error-0-rgb:var(--studio-red-0-rgb);--color-error-5:var(--studio-red-5);--color-error-5-rgb:var(--studio-red-5-rgb);--color-error-10:var(--studio-red-10);--color-error-10-rgb:var(--studio-red-10-rgb);--color-error-20:var(--studio-red-20);--color-error-20-rgb:var(--studio-red-20-rgb);--color-error-30:var(--studio-red-30);--color-error-30-rgb:var(--studio-red-30-rgb);--color-error-40:var(--studio-red-40);--color-error-40-rgb:var(--studio-red-40-rgb);--color-error-50:var(--studio-red-50);--color-error-50-rgb:var(--studio-red-50-rgb);--color-error-60:var(--studio-red-60);--color-error-60-rgb:var(--studio-red-60-rgb);--color-error-70:var(--studio-red-70);--color-error-70-rgb:var(--studio-red-70-rgb);--color-error-80:var(--studio-red-80);--color-error-80-rgb:var(--studio-red-80-rgb);--color-error-90:var(--studio-red-90);--color-error-90-rgb:var(--studio-red-90-rgb);--color-error-100:var(--studio-red-100);--color-error-100-rgb:var(--studio-red-100-rgb);--color-surface:var(--studio-white);--color-surface-rgb:var(--studio-white-rgb);--color-surface-backdrop:var(--studio-gray-0);--color-surface-backdrop-rgb:var(--studio-gray-0-rgb);--color-text:var(--studio-gray-80);--color-text-rgb:var(--studio-gray-80-rgb);--color-text-subtle:var(--studio-gray-50);--color-text-subtle-rgb:var(--studio-gray-50-rgb);--color-text-inverted:var(--studio-white);--color-text-inverted-rgb:var(--studio-white-rgb);--color-border:var(--color-neutral-20);--color-border-rgb:var(--color-neutral-20-rgb);--color-border-subtle:var(--color-neutral-5);--color-border-subtle-rgb:var(--color-neutral-5-rgb);--color-border-shadow:var(--color-neutral-0);--color-border-shadow-rgb:var(--color-neutral-0-rgb);--color-border-inverted:var(--studio-white);--color-border-inverted-rgb:var(--studio-white-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-plan-free:var(--studio-gray-30);--color-plan-blogger:var(--studio-celadon-30);--color-plan-personal:var(--studio-blue-30);--color-plan-premium:var(--studio-yellow-30);--color-plan-business:var(--studio-orange-30);--color-plan-ecommerce:var(--studio-purple-30);--color-jetpack-plan-free:var(--studio-blue-30);--color-jetpack-plan-personal:var(--studio-yellow-30);--color-jetpack-plan-premium:var(--studio-jetpack-green-30);--color-jetpack-plan-professional:var(--studio-purple-30);--color-masterbar-background:var(--studio-blue-60);--color-masterbar-border:var(--studio-blue-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-70);--color-masterbar-item-active-background:var(--studio-blue-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-blue-5);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-5-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-70);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-jetpack-onboarding-text:var(--studio-white);--color-jetpack-onboarding-text-rgb:var(--studio-white-rgb);--color-jetpack-onboarding-background:var(--studio-blue-100);--color-jetpack-onboarding-background-rgb:var(--studio-blue-100-rgb);--color-automattic:var(--studio-blue-40);--color-jetpack:var(--studio-jetpack-green);--color-simplenote:var(--studio-simplenote-blue);--color-woocommerce:var(--studio-woocommerce-purple);--color-wordpress-com:var(--studio-wordpress-blue);--color-wordpress-org:#585c60;--color-blogger:#ff5722;--color-eventbrite:#ff8000;--color-facebook:#39579a;--color-godaddy:#5ea95a;--color-google-plus:#df4a32;--color-instagram:#d93174;--color-linkedin:#0976b4;--color-medium:#12100e;--color-pinterest:#cc2127;--color-pocket:#ee4256;--color-print:#f8f8f8;--color-reddit:#5f99cf;--color-skype:#00aff0;--color-stumbleupon:#eb4924;--color-squarespace:#222;--color-telegram:#08c;--color-tumblr:#35465c;--color-twitter:#55acee;--color-whatsapp:#43d854;--color-wix:#faad4d;--color-email:var(--studio-gray-0);--color-podcasting:#9b4dd5;--color-wp-admin-button-background:#008ec2;--color-wp-admin-button-border:#006799}.color-scheme.is-classic-blue{--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-text-alternative:var(--studio-gray-50);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-50)}.color-scheme.is-contrast{--color-primary:var(--studio-gray-80);--color-primary-rgb:var(--studio-gray-80-rgb);--color-primary-dark:var(--studio-gray-100);--color-primary-dark-rgb:var(--studio-gray-100-rgb);--color-primary-light:var(--studio-gray-60);--color-primary-light-rgb:var(--studio-gray-60-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-70);--color-accent-rgb:var(--studio-blue-70-rgb);--color-accent-dark:var(--studio-blue-90);--color-accent-dark-rgb:var(--studio-blue-90-rgb);--color-accent-light:var(--studio-blue-50);--color-accent-light-rgb:var(--studio-blue-50-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-surface-backdrop:var(--studio-white);--color-surface-backdrop-rgb:var(--studio-white-rgb);--color-text:var(--studio-gray-100);--color-text-rgb:var(--studio-gray-100-rgb);--color-text-subtle:var(--studio-gray-70);--color-text-subtle-rgb:var(--studio-gray-70-rgb);--color-link:var(--studio-blue-70);--color-link-rgb:var(--studio-blue-70-rgb);--color-link-dark:var(--studio-blue-100);--color-link-dark-rgb:var(--studio-blue-100-rgb);--color-link-light:var(--studio-blue-50);--color-link-light-rgb:var(--studio-blue-50-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-60);--color-masterbar-item-new-editor-background:var(--studio-gray-70);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-90);--color-masterbar-unread-dot-background:var(--studio-yellow-20);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-70);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--color-surface);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-90);--color-sidebar-text-rgb:var(--studio-gray-90-rgb);--color-sidebar-text-alternative:var(--studio-gray-90);--color-sidebar-gridicon-fill:var(--studio-gray-90);--color-sidebar-menu-selected-background:var(--studio-gray-100);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-60);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-midnight{--color-primary:var(--studio-gray-70);--color-primary-rgb:var(--studio-gray-70-rgb);--color-primary-dark:var(--studio-gray-80);--color-primary-dark-rgb:var(--studio-gray-80-rgb);--color-primary-light:var(--studio-gray-50);--color-primary-light-rgb:var(--studio-gray-50-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-red-60);--color-link-rgb:var(--studio-red-60-rgb);--color-link-dark:var(--studio-red-70);--color-link-dark-rgb:var(--studio-red-70-rgb);--color-link-light:var(--studio-red-30);--color-link-light-rgb:var(--studio-red-30-rgb);--color-link-0:var(--studio-red-0);--color-link-0-rgb:var(--studio-red-0-rgb);--color-link-5:var(--studio-red-5);--color-link-5-rgb:var(--studio-red-5-rgb);--color-link-10:var(--studio-red-10);--color-link-10-rgb:var(--studio-red-10-rgb);--color-link-20:var(--studio-red-20);--color-link-20-rgb:var(--studio-red-20-rgb);--color-link-30:var(--studio-red-30);--color-link-30-rgb:var(--studio-red-30-rgb);--color-link-40:var(--studio-red-40);--color-link-40-rgb:var(--studio-red-40-rgb);--color-link-50:var(--studio-red-50);--color-link-50-rgb:var(--studio-red-50-rgb);--color-link-60:var(--studio-red-60);--color-link-60-rgb:var(--studio-red-60-rgb);--color-link-70:var(--studio-red-70);--color-link-70-rgb:var(--studio-red-70-rgb);--color-link-80:var(--studio-red-80);--color-link-80-rgb:var(--studio-red-80-rgb);--color-link-90:var(--studio-red-90);--color-link-90-rgb:var(--studio-red-90-rgb);--color-link-100:var(--studio-red-100);--color-link-100-rgb:var(--studio-red-100-rgb);--color-masterbar-background:var(--studio-gray-70);--color-masterbar-border:var(--studio-gray-70);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-90);--color-sidebar-background-rgb:var(--studio-gray-90-rgb);--color-sidebar-border:var(--studio-gray-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-gray-20);--color-sidebar-gridicon-fill:var(--studio-gray-10);--color-sidebar-menu-selected-background:var(--studio-red-50);--color-sidebar-menu-selected-background-rgb:var(--studio-red-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-gray-80);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-nightfall{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-blue-100);--color-masterbar-border:var(--studio-blue-100);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-80);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-80);--color-sidebar-background-rgb:var(--studio-blue-80-rgb);--color-sidebar-border:var(--studio-blue-90);--color-sidebar-text:var(--studio-blue-5);--color-sidebar-text-rgb:var(--studio-blue-5-rgb);--color-sidebar-text-alternative:var(--studio-blue-20);--color-sidebar-gridicon-fill:var(--studio-blue-10);--color-sidebar-menu-selected-background:var(--studio-blue-100);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-100-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-70);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-70-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-ocean{--color-primary:var(--studio-blue-50);--color-primary-rgb:var(--studio-blue-50-rgb);--color-primary-dark:var(--studio-blue-70);--color-primary-dark-rgb:var(--studio-blue-70-rgb);--color-primary-light:var(--studio-blue-30);--color-primary-light-rgb:var(--studio-blue-30-rgb);--color-primary-0:var(--studio-blue-0);--color-primary-0-rgb:var(--studio-blue-0-rgb);--color-primary-5:var(--studio-blue-5);--color-primary-5-rgb:var(--studio-blue-5-rgb);--color-primary-10:var(--studio-blue-10);--color-primary-10-rgb:var(--studio-blue-10-rgb);--color-primary-20:var(--studio-blue-20);--color-primary-20-rgb:var(--studio-blue-20-rgb);--color-primary-30:var(--studio-blue-30);--color-primary-30-rgb:var(--studio-blue-30-rgb);--color-primary-40:var(--studio-blue-40);--color-primary-40-rgb:var(--studio-blue-40-rgb);--color-primary-50:var(--studio-blue-50);--color-primary-50-rgb:var(--studio-blue-50-rgb);--color-primary-60:var(--studio-blue-60);--color-primary-60-rgb:var(--studio-blue-60-rgb);--color-primary-70:var(--studio-blue-70);--color-primary-70-rgb:var(--studio-blue-70-rgb);--color-primary-80:var(--studio-blue-80);--color-primary-80-rgb:var(--studio-blue-80-rgb);--color-primary-90:var(--studio-blue-90);--color-primary-90-rgb:var(--studio-blue-90-rgb);--color-primary-100:var(--studio-blue-100);--color-primary-100-rgb:var(--studio-blue-100-rgb);--color-accent:var(--studio-celadon-50);--color-accent-rgb:var(--studio-celadon-50-rgb);--color-accent-dark:var(--studio-celadon-70);--color-accent-dark-rgb:var(--studio-celadon-70-rgb);--color-accent-light:var(--studio-celadon-30);--color-accent-light-rgb:var(--studio-celadon-30-rgb);--color-accent-0:var(--studio-celadon-0);--color-accent-0-rgb:var(--studio-celadon-0-rgb);--color-accent-5:var(--studio-celadon-5);--color-accent-5-rgb:var(--studio-celadon-5-rgb);--color-accent-10:var(--studio-celadon-10);--color-accent-10-rgb:var(--studio-celadon-10-rgb);--color-accent-20:var(--studio-celadon-20);--color-accent-20-rgb:var(--studio-celadon-20-rgb);--color-accent-30:var(--studio-celadon-30);--color-accent-30-rgb:var(--studio-celadon-30-rgb);--color-accent-40:var(--studio-celadon-40);--color-accent-40-rgb:var(--studio-celadon-40-rgb);--color-accent-50:var(--studio-celadon-50);--color-accent-50-rgb:var(--studio-celadon-50-rgb);--color-accent-60:var(--studio-celadon-60);--color-accent-60-rgb:var(--studio-celadon-60-rgb);--color-accent-70:var(--studio-celadon-70);--color-accent-70-rgb:var(--studio-celadon-70-rgb);--color-accent-80:var(--studio-celadon-80);--color-accent-80-rgb:var(--studio-celadon-80-rgb);--color-accent-90:var(--studio-celadon-90);--color-accent-90-rgb:var(--studio-celadon-90-rgb);--color-accent-100:var(--studio-celadon-100);--color-accent-100-rgb:var(--studio-celadon-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-blue-80);--color-masterbar-border:var(--studio-blue-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-blue-90);--color-masterbar-item-active-background:var(--studio-blue-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-blue-60);--color-sidebar-background-rgb:var(--studio-blue-60-rgb);--color-sidebar-border:var(--studio-blue-70);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-blue-5);--color-sidebar-gridicon-fill:var(--studio-blue-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-blue-90);--color-sidebar-menu-selected-text-rgb:var(--studio-blue-90-rgb);--color-sidebar-menu-hover-background:var(--studio-blue-50);--color-sidebar-menu-hover-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-powder-snow{--color-primary:var(--studio-gray-90);--color-primary-rgb:var(--studio-gray-90-rgb);--color-primary-dark:var(--studio-gray-70);--color-primary-dark-rgb:var(--studio-gray-70-rgb);--color-primary-light:var(--studio-gray-30);--color-primary-light-rgb:var(--studio-gray-30-rgb);--color-primary-0:var(--studio-gray-0);--color-primary-0-rgb:var(--studio-gray-0-rgb);--color-primary-5:var(--studio-gray-5);--color-primary-5-rgb:var(--studio-gray-5-rgb);--color-primary-10:var(--studio-gray-10);--color-primary-10-rgb:var(--studio-gray-10-rgb);--color-primary-20:var(--studio-gray-20);--color-primary-20-rgb:var(--studio-gray-20-rgb);--color-primary-30:var(--studio-gray-30);--color-primary-30-rgb:var(--studio-gray-30-rgb);--color-primary-40:var(--studio-gray-40);--color-primary-40-rgb:var(--studio-gray-40-rgb);--color-primary-50:var(--studio-gray-50);--color-primary-50-rgb:var(--studio-gray-50-rgb);--color-primary-60:var(--studio-gray-60);--color-primary-60-rgb:var(--studio-gray-60-rgb);--color-primary-70:var(--studio-gray-70);--color-primary-70-rgb:var(--studio-gray-70-rgb);--color-primary-80:var(--studio-gray-80);--color-primary-80-rgb:var(--studio-gray-80-rgb);--color-primary-90:var(--studio-gray-90);--color-primary-90-rgb:var(--studio-gray-90-rgb);--color-primary-100:var(--studio-gray-100);--color-primary-100-rgb:var(--studio-gray-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-blue-50);--color-link-rgb:var(--studio-blue-50-rgb);--color-link-dark:var(--studio-blue-70);--color-link-dark-rgb:var(--studio-blue-70-rgb);--color-link-light:var(--studio-blue-30);--color-link-light-rgb:var(--studio-blue-30-rgb);--color-link-0:var(--studio-blue-0);--color-link-0-rgb:var(--studio-blue-0-rgb);--color-link-5:var(--studio-blue-5);--color-link-5-rgb:var(--studio-blue-5-rgb);--color-link-10:var(--studio-blue-10);--color-link-10-rgb:var(--studio-blue-10-rgb);--color-link-20:var(--studio-blue-20);--color-link-20-rgb:var(--studio-blue-20-rgb);--color-link-30:var(--studio-blue-30);--color-link-30-rgb:var(--studio-blue-30-rgb);--color-link-40:var(--studio-blue-40);--color-link-40-rgb:var(--studio-blue-40-rgb);--color-link-50:var(--studio-blue-50);--color-link-50-rgb:var(--studio-blue-50-rgb);--color-link-60:var(--studio-blue-60);--color-link-60-rgb:var(--studio-blue-60-rgb);--color-link-70:var(--studio-blue-70);--color-link-70-rgb:var(--studio-blue-70-rgb);--color-link-80:var(--studio-blue-80);--color-link-80-rgb:var(--studio-blue-80-rgb);--color-link-90:var(--studio-blue-90);--color-link-90-rgb:var(--studio-blue-90-rgb);--color-link-100:var(--studio-blue-100);--color-link-100-rgb:var(--studio-blue-100-rgb);--color-masterbar-background:var(--studio-gray-100);--color-masterbar-border:var(--studio-gray-90);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-gray-80);--color-masterbar-item-active-background:var(--studio-gray-70);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-40);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-gray-5);--color-sidebar-background-rgb:var(--studio-gray-5-rgb);--color-sidebar-border:var(--studio-gray-10);--color-sidebar-text:var(--studio-gray-80);--color-sidebar-text-rgb:var(--studio-gray-80-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-50);--color-sidebar-menu-selected-background:var(--studio-gray-60);--color-sidebar-menu-selected-background-rgb:var(--studio-gray-60-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--color-surface);--color-sidebar-menu-hover-background-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-text:var(--studio-blue-60)}.color-scheme.is-sakura{--color-primary:var(--studio-celadon-50);--color-primary-rgb:var(--studio-celadon-50-rgb);--color-primary-dark:var(--studio-celadon-70);--color-primary-dark-rgb:var(--studio-celadon-70-rgb);--color-primary-light:var(--studio-celadon-30);--color-primary-light-rgb:var(--studio-celadon-30-rgb);--color-primary-0:var(--studio-celadon-0);--color-primary-0-rgb:var(--studio-celadon-0-rgb);--color-primary-5:var(--studio-celadon-5);--color-primary-5-rgb:var(--studio-celadon-5-rgb);--color-primary-10:var(--studio-celadon-10);--color-primary-10-rgb:var(--studio-celadon-10-rgb);--color-primary-20:var(--studio-celadon-20);--color-primary-20-rgb:var(--studio-celadon-20-rgb);--color-primary-30:var(--studio-celadon-30);--color-primary-30-rgb:var(--studio-celadon-30-rgb);--color-primary-40:var(--studio-celadon-40);--color-primary-40-rgb:var(--studio-celadon-40-rgb);--color-primary-50:var(--studio-celadon-50);--color-primary-50-rgb:var(--studio-celadon-50-rgb);--color-primary-60:var(--studio-celadon-60);--color-primary-60-rgb:var(--studio-celadon-60-rgb);--color-primary-70:var(--studio-celadon-70);--color-primary-70-rgb:var(--studio-celadon-70-rgb);--color-primary-80:var(--studio-celadon-80);--color-primary-80-rgb:var(--studio-celadon-80-rgb);--color-primary-90:var(--studio-celadon-90);--color-primary-90-rgb:var(--studio-celadon-90-rgb);--color-primary-100:var(--studio-celadon-100);--color-primary-100-rgb:var(--studio-celadon-100-rgb);--color-accent:var(--studio-blue-50);--color-accent-rgb:var(--studio-blue-50-rgb);--color-accent-dark:var(--studio-blue-70);--color-accent-dark-rgb:var(--studio-blue-70-rgb);--color-accent-light:var(--studio-blue-30);--color-accent-light-rgb:var(--studio-blue-30-rgb);--color-accent-0:var(--studio-blue-0);--color-accent-0-rgb:var(--studio-blue-0-rgb);--color-accent-5:var(--studio-blue-5);--color-accent-5-rgb:var(--studio-blue-5-rgb);--color-accent-10:var(--studio-blue-10);--color-accent-10-rgb:var(--studio-blue-10-rgb);--color-accent-20:var(--studio-blue-20);--color-accent-20-rgb:var(--studio-blue-20-rgb);--color-accent-30:var(--studio-blue-30);--color-accent-30-rgb:var(--studio-blue-30-rgb);--color-accent-40:var(--studio-blue-40);--color-accent-40-rgb:var(--studio-blue-40-rgb);--color-accent-50:var(--studio-blue-50);--color-accent-50-rgb:var(--studio-blue-50-rgb);--color-accent-60:var(--studio-blue-60);--color-accent-60-rgb:var(--studio-blue-60-rgb);--color-accent-70:var(--studio-blue-70);--color-accent-70-rgb:var(--studio-blue-70-rgb);--color-accent-80:var(--studio-blue-80);--color-accent-80-rgb:var(--studio-blue-80-rgb);--color-accent-90:var(--studio-blue-90);--color-accent-90-rgb:var(--studio-blue-90-rgb);--color-accent-100:var(--studio-blue-100);--color-accent-100-rgb:var(--studio-blue-100-rgb);--color-link:var(--studio-celadon-50);--color-link-rgb:var(--studio-celadon-50-rgb);--color-link-dark:var(--studio-celadon-70);--color-link-dark-rgb:var(--studio-celadon-70-rgb);--color-link-light:var(--studio-celadon-30);--color-link-light-rgb:var(--studio-celadon-30-rgb);--color-link-0:var(--studio-celadon-0);--color-link-0-rgb:var(--studio-celadon-0-rgb);--color-link-5:var(--studio-celadon-5);--color-link-5-rgb:var(--studio-celadon-5-rgb);--color-link-10:var(--studio-celadon-10);--color-link-10-rgb:var(--studio-celadon-10-rgb);--color-link-20:var(--studio-celadon-20);--color-link-20-rgb:var(--studio-celadon-20-rgb);--color-link-30:var(--studio-celadon-30);--color-link-30-rgb:var(--studio-celadon-30-rgb);--color-link-40:var(--studio-celadon-40);--color-link-40-rgb:var(--studio-celadon-40-rgb);--color-link-50:var(--studio-celadon-50);--color-link-50-rgb:var(--studio-celadon-50-rgb);--color-link-60:var(--studio-celadon-60);--color-link-60-rgb:var(--studio-celadon-60-rgb);--color-link-70:var(--studio-celadon-70);--color-link-70-rgb:var(--studio-celadon-70-rgb);--color-link-80:var(--studio-celadon-80);--color-link-80-rgb:var(--studio-celadon-80-rgb);--color-link-90:var(--studio-celadon-90);--color-link-90-rgb:var(--studio-celadon-90-rgb);--color-link-100:var(--studio-celadon-100);--color-link-100-rgb:var(--studio-celadon-100-rgb);--color-masterbar-background:var(--studio-celadon-70);--color-masterbar-border:var(--studio-celadon-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-celadon-80);--color-masterbar-item-active-background:var(--studio-celadon-90);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-pink-5);--color-sidebar-background-rgb:var(--studio-pink-5-rgb);--color-sidebar-border:var(--studio-pink-10);--color-sidebar-text:var(--studio-pink-80);--color-sidebar-text-rgb:var(--studio-pink-80-rgb);--color-sidebar-text-alternative:var(--studio-pink-60);--color-sidebar-gridicon-fill:var(--studio-pink-70);--color-sidebar-menu-selected-background:var(--studio-blue-50);--color-sidebar-menu-selected-background-rgb:var(--studio-blue-50-rgb);--color-sidebar-menu-selected-text:var(--studio-white);--color-sidebar-menu-selected-text-rgb:var(--studio-white-rgb);--color-sidebar-menu-hover-background:var(--studio-pink-10);--color-sidebar-menu-hover-background-rgb:var(--studio-pink-10-rgb);--color-sidebar-menu-hover-text:var(--studio-pink-90)}.color-scheme.is-sunset{--color-primary:var(--studio-red-50);--color-primary-rgb:var(--studio-red-50-rgb);--color-primary-dark:var(--studio-red-70);--color-primary-dark-rgb:var(--studio-red-70-rgb);--color-primary-light:var(--studio-red-30);--color-primary-light-rgb:var(--studio-red-30-rgb);--color-primary-0:var(--studio-red-0);--color-primary-0-rgb:var(--studio-red-0-rgb);--color-primary-5:var(--studio-red-5);--color-primary-5-rgb:var(--studio-red-5-rgb);--color-primary-10:var(--studio-red-10);--color-primary-10-rgb:var(--studio-red-10-rgb);--color-primary-20:var(--studio-red-20);--color-primary-20-rgb:var(--studio-red-20-rgb);--color-primary-30:var(--studio-red-30);--color-primary-30-rgb:var(--studio-red-30-rgb);--color-primary-40:var(--studio-red-40);--color-primary-40-rgb:var(--studio-red-40-rgb);--color-primary-50:var(--studio-red-50);--color-primary-50-rgb:var(--studio-red-50-rgb);--color-primary-60:var(--studio-red-60);--color-primary-60-rgb:var(--studio-red-60-rgb);--color-primary-70:var(--studio-red-70);--color-primary-70-rgb:var(--studio-red-70-rgb);--color-primary-80:var(--studio-red-80);--color-primary-80-rgb:var(--studio-red-80-rgb);--color-primary-90:var(--studio-red-90);--color-primary-90-rgb:var(--studio-red-90-rgb);--color-primary-100:var(--studio-red-100);--color-primary-100-rgb:var(--studio-red-100-rgb);--color-accent:var(--studio-orange-50);--color-accent-rgb:var(--studio-orange-50-rgb);--color-accent-dark:var(--studio-orange-70);--color-accent-dark-rgb:var(--studio-orange-70-rgb);--color-accent-light:var(--studio-orange-30);--color-accent-light-rgb:var(--studio-orange-30-rgb);--color-accent-0:var(--studio-orange-0);--color-accent-0-rgb:var(--studio-orange-0-rgb);--color-accent-5:var(--studio-orange-5);--color-accent-5-rgb:var(--studio-orange-5-rgb);--color-accent-10:var(--studio-orange-10);--color-accent-10-rgb:var(--studio-orange-10-rgb);--color-accent-20:var(--studio-orange-20);--color-accent-20-rgb:var(--studio-orange-20-rgb);--color-accent-30:var(--studio-orange-30);--color-accent-30-rgb:var(--studio-orange-30-rgb);--color-accent-40:var(--studio-orange-40);--color-accent-40-rgb:var(--studio-orange-40-rgb);--color-accent-50:var(--studio-orange-50);--color-accent-50-rgb:var(--studio-orange-50-rgb);--color-accent-60:var(--studio-orange-60);--color-accent-60-rgb:var(--studio-orange-60-rgb);--color-accent-70:var(--studio-orange-70);--color-accent-70-rgb:var(--studio-orange-70-rgb);--color-accent-80:var(--studio-orange-80);--color-accent-80-rgb:var(--studio-orange-80-rgb);--color-accent-90:var(--studio-orange-90);--color-accent-90-rgb:var(--studio-orange-90-rgb);--color-accent-100:var(--studio-orange-100);--color-accent-100-rgb:var(--studio-orange-100-rgb);--color-link:var(--studio-orange-50);--color-link-rgb:var(--studio-orange-50-rgb);--color-link-dark:var(--studio-orange-70);--color-link-dark-rgb:var(--studio-orange-70-rgb);--color-link-light:var(--studio-orange-30);--color-link-light-rgb:var(--studio-orange-30-rgb);--color-link-0:var(--studio-orange-0);--color-link-0-rgb:var(--studio-orange-0-rgb);--color-link-5:var(--studio-orange-5);--color-link-5-rgb:var(--studio-orange-5-rgb);--color-link-10:var(--studio-orange-10);--color-link-10-rgb:var(--studio-orange-10-rgb);--color-link-20:var(--studio-orange-20);--color-link-20-rgb:var(--studio-orange-20-rgb);--color-link-30:var(--studio-orange-30);--color-link-30-rgb:var(--studio-orange-30-rgb);--color-link-40:var(--studio-orange-40);--color-link-40-rgb:var(--studio-orange-40-rgb);--color-link-50:var(--studio-orange-50);--color-link-50-rgb:var(--studio-orange-50-rgb);--color-link-60:var(--studio-orange-60);--color-link-60-rgb:var(--studio-orange-60-rgb);--color-link-70:var(--studio-orange-70);--color-link-70-rgb:var(--studio-orange-70-rgb);--color-link-80:var(--studio-orange-80);--color-link-80-rgb:var(--studio-orange-80-rgb);--color-link-90:var(--studio-orange-90);--color-link-90-rgb:var(--studio-orange-90-rgb);--color-link-100:var(--studio-orange-100);--color-link-100-rgb:var(--studio-orange-100-rgb);--color-masterbar-background:var(--studio-red-80);--color-masterbar-border:var(--studio-red-80);--color-masterbar-text:var(--studio-white);--color-masterbar-item-hover-background:var(--studio-red-90);--color-masterbar-item-active-background:var(--studio-red-100);--color-masterbar-item-new-editor-background:var(--studio-gray-50);--color-masterbar-item-new-editor-hover-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-red-70);--color-sidebar-background-rgb:var(--studio-red-70-rgb);--color-sidebar-border:var(--studio-red-80);--color-sidebar-text:var(--studio-white);--color-sidebar-text-rgb:var(--studio-white-rgb);--color-sidebar-text-alternative:var(--studio-red-10);--color-sidebar-gridicon-fill:var(--studio-red-5);--color-sidebar-menu-selected-background:var(--studio-yellow-20);--color-sidebar-menu-selected-background-rgb:var(--studio-yellow-20-rgb);--color-sidebar-menu-selected-text:var(--studio-yellow-80);--color-sidebar-menu-selected-text-rgb:var(--studio-yellow-80-rgb);--color-sidebar-menu-hover-background:var(--studio-red-80);--color-sidebar-menu-hover-background-rgb:var(--studio-red-80-rgb);--color-sidebar-menu-hover-text:var(--studio-white)}.color-scheme.is-jetpack-cloud,.theme-jetpack-cloud{--color-primary:var(--studio-jetpack-green);--color-primary-rgb:var(--studio-jetpack-green-rgb);--color-primary-dark:var(--studio-jetpack-green-70);--color-primary-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-light:var(--studio-jetpack-green-30);--color-primary-light-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-0:var(--studio-jetpack-green-0);--color-primary-0-rgb:var(--studio-jetpack-green-0-rgb);--color-primary-5:var(--studio-jetpack-green-5);--color-primary-5-rgb:var(--studio-jetpack-green-5-rgb);--color-primary-10:var(--studio-jetpack-green-10);--color-primary-10-rgb:var(--studio-jetpack-green-10-rgb);--color-primary-20:var(--studio-jetpack-green-20);--color-primary-20-rgb:var(--studio-jetpack-green-20-rgb);--color-primary-30:var(--studio-jetpack-green-30);--color-primary-30-rgb:var(--studio-jetpack-green-30-rgb);--color-primary-40:var(--studio-jetpack-green-40);--color-primary-40-rgb:var(--studio-jetpack-green-40-rgb);--color-primary-50:var(--studio-jetpack-green-50);--color-primary-50-rgb:var(--studio-jetpack-green-50-rgb);--color-primary-60:var(--studio-jetpack-green-60);--color-primary-60-rgb:var(--studio-jetpack-green-60-rgb);--color-primary-70:var(--studio-jetpack-green-70);--color-primary-70-rgb:var(--studio-jetpack-green-70-rgb);--color-primary-80:var(--studio-jetpack-green-80);--color-primary-80-rgb:var(--studio-jetpack-green-80-rgb);--color-primary-90:var(--studio-jetpack-green-90);--color-primary-90-rgb:var(--studio-jetpack-green-90-rgb);--color-primary-100:var(--studio-jetpack-green-100);--color-primary-100-rgb:var(--studio-jetpack-green-100-rgb);--color-accent:var(--studio-jetpack-green);--color-accent-rgb:var(--studio-jetpack-green-rgb);--color-accent-dark:var(--studio-jetpack-green-70);--color-accent-dark-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-light:var(--studio-jetpack-green-30);--color-accent-light-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-0:var(--studio-jetpack-green-0);--color-accent-0-rgb:var(--studio-jetpack-green-0-rgb);--color-accent-5:var(--studio-jetpack-green-5);--color-accent-5-rgb:var(--studio-jetpack-green-5-rgb);--color-accent-10:var(--studio-jetpack-green-10);--color-accent-10-rgb:var(--studio-jetpack-green-10-rgb);--color-accent-20:var(--studio-jetpack-green-20);--color-accent-20-rgb:var(--studio-jetpack-green-20-rgb);--color-accent-30:var(--studio-jetpack-green-30);--color-accent-30-rgb:var(--studio-jetpack-green-30-rgb);--color-accent-40:var(--studio-jetpack-green-40);--color-accent-40-rgb:var(--studio-jetpack-green-40-rgb);--color-accent-50:var(--studio-jetpack-green-50);--color-accent-50-rgb:var(--studio-jetpack-green-50-rgb);--color-accent-60:var(--studio-jetpack-green-60);--color-accent-60-rgb:var(--studio-jetpack-green-60-rgb);--color-accent-70:var(--studio-jetpack-green-70);--color-accent-70-rgb:var(--studio-jetpack-green-70-rgb);--color-accent-80:var(--studio-jetpack-green-80);--color-accent-80-rgb:var(--studio-jetpack-green-80-rgb);--color-accent-90:var(--studio-jetpack-green-90);--color-accent-90-rgb:var(--studio-jetpack-green-90-rgb);--color-accent-100:var(--studio-jetpack-green-100);--color-accent-100-rgb:var(--studio-jetpack-green-100-rgb);--color-link:var(--studio-jetpack-green-40);--color-link-rgb:var(--studio-jetpack-green-40-rgb);--color-link-dark:var(--studio-jetpack-green-60);--color-link-dark-rgb:var(--studio-jetpack-green-60-rgb);--color-link-light:var(--studio-jetpack-green-20);--color-link-light-rgb:var(--studio-jetpack-green-20-rgb);--color-link-0:var(--studio-jetpack-green-0);--color-link-0-rgb:var(--studio-jetpack-green-0-rgb);--color-link-5:var(--studio-jetpack-green-5);--color-link-5-rgb:var(--studio-jetpack-green-5-rgb);--color-link-10:var(--studio-jetpack-green-10);--color-link-10-rgb:var(--studio-jetpack-green-10-rgb);--color-link-20:var(--studio-jetpack-green-20);--color-link-20-rgb:var(--studio-jetpack-green-20-rgb);--color-link-30:var(--studio-jetpack-green-30);--color-link-30-rgb:var(--studio-jetpack-green-30-rgb);--color-link-40:var(--studio-jetpack-green-40);--color-link-40-rgb:var(--studio-jetpack-green-40-rgb);--color-link-50:var(--studio-jetpack-green-50);--color-link-50-rgb:var(--studio-jetpack-green-50-rgb);--color-link-60:var(--studio-jetpack-green-60);--color-link-60-rgb:var(--studio-jetpack-green-60-rgb);--color-link-70:var(--studio-jetpack-green-70);--color-link-70-rgb:var(--studio-jetpack-green-70-rgb);--color-link-80:var(--studio-jetpack-green-80);--color-link-80-rgb:var(--studio-jetpack-green-80-rgb);--color-link-90:var(--studio-jetpack-green-90);--color-link-90-rgb:var(--studio-jetpack-green-90-rgb);--color-link-100:var(--studio-jetpack-green-100);--color-link-100-rgb:var(--studio-jetpack-green-100-rgb);--color-masterbar-background:var(--studio-white);--color-masterbar-border:var(--studio-gray-5);--color-masterbar-text:var(--studio-gray-50);--color-masterbar-item-hover-background:var(--studio-white);--color-masterbar-item-active-background:var(--studio-white);--color-masterbar-item-new-editor-background:var(--studio-white);--color-masterbar-item-new-editor-hover-background:var(--studio-white);--color-masterbar-unread-dot-background:var(--color-accent-30);--color-masterbar-toggle-drafts-editor-background:var(--studio-gray-60);--color-masterbar-toggle-drafts-editor-hover-background:var(--studio-gray-40);--color-masterbar-toggle-drafts-editor-border:var(--studio-gray-10);--color-sidebar-background:var(--studio-white);--color-sidebar-background-rgb:var(--studio-white-rgb);--color-sidebar-border:var(--studio-gray-5);--color-sidebar-text:var(--studio-gray-60);--color-sidebar-text-rgb:var(--studio-gray-60-rgb);--color-sidebar-text-alternative:var(--studio-gray-60);--color-sidebar-gridicon-fill:var(--studio-gray-60);--color-sidebar-menu-selected-text:var(--studio-jetpack-green-50);--color-sidebar-menu-selected-text-rgb:var(--studio-jetpack-green-50-rgb);--color-sidebar-menu-selected-background:var(--studio-jetpack-green-5);--color-sidebar-menu-selected-background-rgb:var(--studio-jetpack-green-5-rgb);--color-sidebar-menu-hover-text:var(--studio-gray-90);--color-sidebar-menu-hover-background:var(--studio-gray-5);--color-sidebar-menu-hover-background-rgb:var(--studio-gray-5-rgb);--color-scary-0:var(--studio-red-0);--color-scary-5:var(--studio-red-5);--color-scary-40:var(--studio-red-40);--color-scary-50:var(--studio-red-50);--color-scary-60:var(--studio-red-60)}.domain-picker__empty-state{display:flex;justify-content:center;flex-direction:column}.domain-picker__empty-state--text{max-width:320px;font-size:.9em;margin:10px 0;color:#555d66}@media (min-width:480px){.domain-picker__empty-state{flex-direction:row;align-items:center}.domain-picker__empty-state--text{margin:15px 0}}.domain-picker__show-more{padding:10px;text-align:center}.domain-picker__search{position:relative;margin-bottom:20px}.domain-picker__search input[type=text].components-text-control__input{padding:6px 40px 6px 16px;height:38px;background:#f0f0f0;border:none}.domain-picker__search input[type=text].components-text-control__input:-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::-ms-input-placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input::placeholder{color:#000;color:var(--studio-black)}.domain-picker__search input[type=text].components-text-control__input:focus{box-shadow:0 0 0 2px #5198d9;box-shadow:0 0 0 2px var(--studio-blue-30);background:#fff;background:var(--studio-white)}.domain-picker__search svg{position:absolute;top:6px;right:8px}.domain-picker__suggestion-item-group{flex-grow:1}.domain-picker__suggestion-sections{flex:1}.domain-picker__suggestion-group-label{margin:1.5em 0 1em;text-transform:uppercase;color:#a7aaad;color:var(--studio-gray-20);font-size:12px;font-weight:400;letter-spacing:1px}.domain-picker__suggestion-item{font-size:.875rem;line-height:17px;display:flex;justify-content:space-between;align-items:center;width:100%;min-height:58px;background:#fff;background:var(--studio-white);border:1px solid #dcdcde;border:1px solid var(--studio-gray-5);padding:10px 14px;margin:0;position:relative;z-index:1;text-align:left;cursor:pointer}.domain-picker__suggestion-item.placeholder{cursor:default}.domain-picker__suggestion-item:first-of-type{border-top-left-radius:5px;border-top-right-radius:5px}.domain-picker__suggestion-item:last-of-type{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.domain-picker__suggestion-item+.domain-picker__suggestion-item{margin-top:-1px}.domain-picker__suggestion-item:nth-child(7){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:0ms}.domain-picker__suggestion-item:nth-child(8){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:40ms}.domain-picker__suggestion-item:nth-child(9){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:80ms}.domain-picker__suggestion-item:nth-child(10){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.12s}.domain-picker__suggestion-item:nth-child(11){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.16s}.domain-picker__suggestion-item:nth-child(12){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.2s}.domain-picker__suggestion-item:nth-child(13){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.24s}.domain-picker__suggestion-item:nth-child(14){transform:translateY(20px);opacity:0;animation:domain-picker-item-slide-up .1s ease-in forwards;animation-delay:.28s}@keyframes domain-picker-item-slide-up{to{transform:translateY(0);opacity:1}}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button{width:16px;height:16px;min-width:16px;padding:0;margin:1px 12px 0 0;vertical-align:middle;position:relative}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:checked{border-color:#5198d9;border-color:var(--studio-blue-30);background-color:#5198d9;background-color:var(--studio-blue-30)}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:checked:after{content:"";width:12px;height:12px;border:2px solid #fff;border-radius:50%;position:absolute;margin:0;background:transparent}.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:checked:focus,.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:not(:disabled):focus,.domain-picker__suggestion-item input[type=radio].domain-picker__suggestion-radio-button:not(:disabled):hover{border-color:#5198d9;border-color:var(--studio-blue-30);box-shadow:0 0 0 1px #5198d9;box-shadow:0 0 0 1px var(--studio-blue-30)}.domain-picker__suggestion-item-name{flex-grow:1;letter-spacing:.4px}.domain-picker__suggestion-item:not(.is-free) .domain-picker__suggestion-item-name{margin-right:0}@media (min-width:480px){.domain-picker__suggestion-item:not(.is-free) .domain-picker__suggestion-item-name{margin-right:24px}}.domain-picker__suggestion-item-name .domain-picker__domain-name{word-break:break-word}.domain-picker__suggestion-item-name.placeholder{animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;max-width:30%;margin-right:auto}.domain-picker__suggestion-item-name.placeholder:after{content:"\00a0"}.domain-picker__domain-tld{color:#3582c4;color:var(--studio-blue-40);margin-right:10px}.domain-picker__badge{display:inline-flex;border-radius:2px;padding:0 10px;line-height:20px;height:20px;align-items:center;font-size:10px;text-transform:uppercase;vertical-align:middle;background-color:#2271b1;background-color:var(--studio-blue-50);color:#fff;color:var(--color-text-inverted)}.domain-picker__price{color:#787c82;color:var(--studio-gray-40);text-align:right;flex-basis:0;transition:opacity .2s ease-in-out}.domain-picker__price:not(.is-paid){display:none}@media (min-width:600px){.domain-picker__price{flex-basis:auto}.domain-picker__price:not(.is-paid){display:inline}}.domain-picker__price.placeholder{animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent;min-width:64px}.domain-picker__price.placeholder:after{content:"\00a0"}.domain-picker__price-inclusive{color:#00a32a;color:var(--studio-green-40);display:none}@media (min-width:600px){.domain-picker__price-inclusive{display:inline}}.domain-picker__price-cost{text-decoration:line-through}.domain-picker__body{display:flex}@media (max-width:480px){.domain-picker__body{display:block}.domain-picker__body .domain-picker__aside{width:100%;padding:0}}.domain-picker__aside{width:220px;padding-right:30px}@media (max-width:480px){.domain-categories{margin-bottom:20px}.domain-categories .domain-categories__dropdown-button.components-button{display:block;margin-bottom:0}.domain-categories .domain-categories__item-group{display:none}.domain-categories.is-open .domain-categories__item-group{display:block}}.domain-categories__dropdown-button.components-button{width:100%;text-align:center;margin-bottom:8px;height:40px;border:1px solid var(--studio-gray-5);display:none}.domain-categories__dropdown-button.components-button>*{vertical-align:middle}.domain-categories__dropdown-button.components-button svg{margin-left:5px}@media (max-width:480px){.domain-categories__item-group{text-align:center;border:1px solid var(--studio-gray-5);margin-top:-1px}}.domain-categories__item .components-button{color:var(--studio-gray-100);width:100%;text-align:left}.domain-categories__item .components-button:focus,.domain-categories__item .components-button:hover{color:var(--studio-gray-100);box-shadow:none;font-weight:600;text-decoration:underline}.domain-categories__item.is-selected .components-button{font-weight:600;text-decoration:underline}@media (max-width:480px){.domain-categories__item .components-button{display:block;text-align:center}}html:not(.accessible-focus) .domain-categories__item .components-button:focus{box-shadow:none}.nux-launch-domain-step{padding-bottom:88px}.onboarding-title{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:32px;line-height:40px;color:var(--mainColor);margin:0}@media (min-width:480px){.onboarding-title{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:36px;line-height:40px}}@media (min-width:1080px){.onboarding-title{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400;letter-spacing:-.4px;font-size:42px;line-height:57px}}.onboarding-subtitle{font-size:16px;line-height:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-weight:400;letter-spacing:.2px;color:var(--studio-gray-60);margin:5px 0 0;max-width:550px}@media (min-width:600px){.onboarding-subtitle{margin-top:0}}.plans-grid{margin-bottom:85px}@media (min-width:600px){.plans-grid{margin-bottom:0}}.plans-grid__header{margin:44px 0 50px;display:flex;justify-content:space-between;align-items:center}@media (min-width:480px){.plans-grid__header{margin:64px 0 80px}}.plans-grid__details{margin-top:70px}.plans-grid__details-container{padding-bottom:120px}@media (max-width:1440px){.plans-grid__details-container{overflow-x:auto;width:100%;position:absolute;left:0;padding-left:20px;padding-right:20px}}@media (max-width:1440px) and (min-width:600px){.plans-grid__details-container{padding-left:44px;padding-right:44px}}@media (max-width:1440px) and (min-width:782px){.plans-grid__details-container{padding-left:88px;padding-right:88px}}.plans-grid__details-heading .plans-ui-title{color:var(--studio-black);margin-bottom:40px;font-size:32px;line-height:40px;letter-spacing:.2px}.plans-table{width:100%;display:flex;flex-wrap:wrap}.plan-item{display:inline-flex;min-width:250px;flex-grow:1;flex-basis:0;flex-direction:column;margin-top:30px}@media (min-width:480px){.plan-item+.plan-item{margin-left:-1px}}@media (max-width:480px){.plan-item:not(.is-popular){margin-top:-1px}.plan-item.is-open:not(.is-popular){margin-bottom:30px}}.plan-item__viewport{width:100%;height:100%;flex:1;border:1px solid #e2e4e7;padding:20px}.plan-item:not(.is-popular) .plan-item__heading{display:flex;align-items:center}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__heading{font-size:1em}}.plan-item__name{font-weight:700;font-size:18px;line-height:24px;display:inline-block}@media (max-width:480px){.plan-item__name{font-size:14px}}@media (max-width:480px){.plan-item:not(.is-popular) .plan-item__name{font-weight:400}}.plan-item__domain-name{font-size:.875rem}ul.plan-item__feature-item-group{margin:0}.plan-item__mobile-expand-all-plans.components-button.is-link{margin:20px auto;color:#555d66}.plan-item__badge{position:relative;display:block;background:#000;text-align:center;text-transform:uppercase;color:#fff;padding:0 5px;font-size:.75rem;margin:-24px 0 0;height:24px;line-height:24px}.plan-item__price-amount{font-weight:600;font-size:32px;line-height:24px}.plan-item__price-amount.is-loading{max-width:60px;animation:onboarding-loading-pulse 1.6s ease-in-out infinite;background:#f3f4f5;color:transparent}.plan-item__price-amount.is-loading:after{content:"\00a0"}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__price-amount{font-weight:400;font-size:1em}}.plan-item__summary{width:100%}.plan-item__summary::-webkit-details-marker{display:none}@media (min-width:480px){.plan-item.is-popular .plan-item__summary,.plan-item__summary{pointer-events:none}}@media (max-width:480px){.plan-item:not(.is-open) .plan-item__summary{display:flex}}.plan-item__price-note{font-size:12px;line-height:19px;letter-spacing:-.4px;color:var(--studio-gray-40);margin-top:8px;margin-bottom:10px}.plan-item__details .plan-item__summary .plan-item__price{margin-top:16px;margin-bottom:8px}.plan-item:not(.is-open) .plan-item__summary .plan-item__price{margin-top:0;margin-bottom:0;margin-left:10px;color:#555d66}.plan-item__actions{margin-bottom:16px}.plan-item__dropdown-chevron{flex:1;text-align:right}.plan-item.is-open .plan-item__dropdown-chevron{display:none}.plan-item__domain-summary{font-size:.875rem;line-height:22px;margin-top:10px}.plan-item__domain-summary.components-button.is-link{text-decoration:none;font-size:14px;color:var(--studio-blue-40);display:flex;align-items:flex-start}.plan-item__domain-summary svg:first-child{margin-right:5px;vertical-align:middle;margin-top:4px;flex:none}.plan-item__domain-summary svg:first-child path{fill:#4aa150;stroke:#4aa150}@media (max-width:480px){.plan-item.is-popular{order:-3}}.plan-item__domain-summary.is-picked{font-weight:700}.plan-item__domain-summary.is-cta{font-weight:700;padding:0}.plan-item__domain-summary.is-cta.components-button.is-link{color:var(--studio-blue-40)}.plan-item__domain-summary.is-cta svg:first-child path{fill:#4aa150;stroke:#4aa150;margin-top:5px}.plan-item__domain-summary.is-cta svg:last-child{fill:var(--studio-blue-40);stroke:var(--studio-blue-40);margin-left:8px;margin-top:8px}.plan-item__domain-summary.components-button.is-link.is-free{font-weight:700;color:#ce863d;text-decoration:line-through}.plan-item__domain-summary.components-button.is-link.is-free svg path{fill:#ce863d;stroke:#ce863d}.plan-item__select-button.components-button{padding:0 24px;height:40px}.plan-item__select-button.components-button svg{margin-left:-8px;margin-right:10px}.plan-item__domain-picker-button.components-button{font-size:.875rem;line-height:19px;letter-spacing:.2px;word-break:break-word}.plan-item__domain-picker-button.components-button.has-domain{color:var(--studio-gray-50);text-decoration:none}.plan-item__domain-picker-button.components-button svg{margin-left:2px}.plan-item__feature-item{font-size:.875rem;line-height:20px;letter-spacing:.2px;margin:4px 0;vertical-align:middle;color:#555d66;display:flex;align-items:flex-start}.plan-item__feature-item svg{display:block;margin-right:6px;margin-top:2px}.plan-item__feature-item svg path{fill:#4aa150;stroke:#4aa150}.plans-grid__details-heading{margin-bottom:20px}.plans-details__table{width:100%;border-spacing:0}.plans-details__table td,.plans-details__table th{padding:13px 24px}.plans-details__table td:first-child,.plans-details__table th:first-child{padding-left:0;width:20%}@media (min-width:480px){.plans-details__table td:first-child,.plans-details__table th:first-child{width:40%}}.plans-details__table td:not(:first-child),.plans-details__table th:not(:first-child){white-space:nowrap}.plans-details__table .hidden{display:none}.plans-details__header-row th{font-weight:600;font-size:.875rem;line-height:20px;text-transform:uppercase;color:var(--studio-gray-20);padding-top:5px;padding-bottom:5px;border-bottom:1px solid #eaeaeb;text-align:left}thead .plans-details__header-row th:not(:first-child){text-align:center}.plans-details__feature-row td,.plans-details__feature-row th{font-size:.875rem;font-weight:400;line-height:17px;letter-spacing:.2px;border-bottom:1px solid #eaeaeb;vertical-align:middle}.plans-details__feature-row th{text-align:left}.plans-details__feature-row td{text-align:center}@font-face{font-display:swap;font-family:Recoleta;font-weight:400;src:url(https://s1.wp.com/i/fonts/recoleta/400.woff2) format("woff2"),url(https://s1.wp.com/i/fonts/recoleta/400.woff) format("woff")}.wp-brand-font{font-family:"Noto Serif",Georgia,Times New Roman,Times,serif;font-weight:400}[lang*=af] .wp-brand-font,[lang*=ca] .wp-brand-font,[lang*=cs] .wp-brand-font,[lang*=da] .wp-brand-font,[lang*=de] .wp-brand-font,[lang*=en] .wp-brand-font,[lang*=es] .wp-brand-font,[lang*=eu] .wp-brand-font,[lang*=fi] .wp-brand-font,[lang*=fr] .wp-brand-font,[lang*=gl] .wp-brand-font,[lang*=hr] .wp-brand-font,[lang*=hu] .wp-brand-font,[lang*=id] .wp-brand-font,[lang*=is] .wp-brand-font,[lang*=it] .wp-brand-font,[lang*=lv] .wp-brand-font,[lang*=mt] .wp-brand-font,[lang*=nb] .wp-brand-font,[lang*=nl] .wp-brand-font,[lang*=pl] .wp-brand-font,[lang*=pt] .wp-brand-font,[lang*=ro] .wp-brand-font,[lang*=ru] .wp-brand-font,[lang*=sk] .wp-brand-font,[lang*=sl] .wp-brand-font,[lang*=sq] .wp-brand-font,[lang*=sr] .wp-brand-font,[lang*=sv] .wp-brand-font,[lang*=sw] .wp-brand-font,[lang*=tr] .wp-brand-font,[lang*=uz] .wp-brand-font{font-family:Recoleta,"Noto Serif",Georgia,Times New Roman,Times,serif}@keyframes onboarding-loading-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}.action-buttons{padding:0 20px;border-top:1px solid #e2e4e7;background-color:#fff;position:fixed;bottom:0;right:0;left:0;height:60px;justify-content:space-between;display:flex;align-items:center;z-index:30}@media (min-width:600px){.action-buttons{padding:0;position:static;border:none}.action-buttons,.action-buttons .action_buttons__button{margin-left:20px}.action-buttons .action_buttons__button:first-child{margin-left:0}}button.action_buttons__button.components-button{font-size:.875rem;line-height:17px;height:42px;min-width:120px;justify-content:center}button.action_buttons__button.components-button:active,button.action_buttons__button.components-button:focus,button.action_buttons__button.components-button:hover{outline-color:transparent}button.action_buttons__button.components-button.actio
|