diff --git a/build/has-click-to-share.asset.php b/build/has-click-to-share.asset.php
index 96eb551..f5c2e48 100644
--- a/build/has-click-to-share.asset.php
+++ b/build/has-click-to-share.asset.php
@@ -1 +1 @@
- array('react', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '8eef88f02ffe38d91337');
+ array('react', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n'), 'version' => '0e663d276edffc99e9a9');
diff --git a/build/has-click-to-share.js b/build/has-click-to-share.js
index 542c21e..458551c 100644
--- a/build/has-click-to-share.js
+++ b/build/has-click-to-share.js
@@ -627,10 +627,10 @@ var HAS_Click_To_Share = function HAS_Click_To_Share(props) {
label: __('Border Radius', 'highlight-and-share'),
allowNegatives: false,
values: borderRadiusSize,
- labelTop: __('T-Left', 'highlight-and-share'),
- labelRight: __('T-Right', 'highlight-and-share'),
- labelBottom: __('B-Right', 'highlight-and-share'),
- labelLeft: __('B-Left', 'highlight-and-share'),
+ labelTop: __('Top Left', 'highlight-and-share'),
+ labelRight: __('Top Right', 'highlight-and-share'),
+ labelBottom: __('Bottom Right', 'highlight-and-share'),
+ labelLeft: __('Bottom Left', 'highlight-and-share'),
units: ['px', 'em', 'rem', '%'],
screenSize: deviceType,
onValuesChange: function onValuesChange(newValues) {
@@ -1560,26 +1560,12 @@ var DimensionsControlBlock = function DimensionsControlBlock(props) {
}
};
var syncIcon = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("svg", {
- "aria-hidden": "true",
- focusable: "false",
- "data-prefix": "fad",
- "data-icon": "sync",
- className: "svg-inline--fa fa-sync fa-w-16",
- role: "img",
xmlns: "http://www.w3.org/2000/svg",
- viewBox: "0 0 512 512"
- }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("g", {
- className: "fa-group"
+ viewBox: "0 0 640 512"
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", {
- className: "fa-secondary",
- fill: "currentColor",
- d: "M0 500V299.67a12 12 0 0 1 12-12h200.33a12 12 0 0 1 12 12v47.41a12 12 0 0 1-12.57 12l-101.87-4.88a176.07 176.07 0 0 0 317.25-56.94 12 12 0 0 1 11.67-9.26h49.09a12 12 0 0 1 11.8 14.18C478.07 417.08 377.19 504 256 504a247.43 247.43 0 0 1-188.76-87.17l4.13 82.57a12 12 0 0 1-12 12.6H12a12 12 0 0 1-12-12z",
- opacity: "0.4"
- }), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("path", {
- className: "fa-primary",
fill: "currentColor",
- d: "M12.3 209.82C33.93 94.92 134.81 8 256 8a247.4 247.4 0 0 1 188.9 87.34l-4-82.77A12 12 0 0 1 452.92 0h47.41a12 12 0 0 1 12 12v200.33a12 12 0 0 1-12 12H300a12 12 0 0 1-12-12v-47.41a12 12 0 0 1 12.57-12l101.53 4.88a176.07 176.07 0 0 0-317.24 56.94A12 12 0 0 1 73.19 224H24.1a12 12 0 0 1-11.8-14.18z"
- })));
+ d: "M580.2 267.3c56.2-56.2 56.2-147.4 0-203.6s-147.4-56.3-203.6 0L365.3 75l45.3 45.3 11.3-11.3c31.2-31.2 81.9-31.2 113.1 0s31.2 81.9 0 113.1L421.8 335.2c-31.2 31.2-81.9 31.2-113.1 0-25.6-25.6-30.3-64.3-13.8-94.6 1.8-3.4 3.9-6.7 6.3-9.8L250 192.4c-4.3 5.7-8.1 11.6-11.4 17.8-29.5 54.6-21.3 124.2 24.9 170.3 56.2 56.2 147.4 56.2 203.6 0l113.1-113.2zM59.8 244.7c-56.2 56.2-56.2 147.4 0 203.6s147.4 56.2 203.6 0l11.3-11.3-45.3-45.3-11.3 11.3c-31.2 31.2-81.9 31.2-113.1 0s-31.2-81.9 0-113.1l113.2-113.1c31.2-31.2 81.9-31.2 113.1 0 25.6 25.6 30.3 64.3 13.8 94.6-1.8 3.4-3.9 6.7-6.3 9.8l51.2 38.4c4.3-5.7 8.1-11.6 11.4-17.8 29.5-54.6 21.3-124.2-24.9-170.3-56.2-56.2-147.4-56.2-203.6 0L59.8 244.7z"
+ }));
return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement((react__WEBPACK_IMPORTED_MODULE_0___default().Fragment), null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
className: "components-base-control components-has-dimensions-control"
}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_hook_form__WEBPACK_IMPORTED_MODULE_4__.Controller, {
@@ -1608,7 +1594,10 @@ var DimensionsControlBlock = function DimensionsControlBlock(props) {
var _ref2$field = _ref2.field,
_onChange = _ref2$field.onChange,
value = _ref2$field.value;
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
+ className: "components-has-dimensions-control__input",
+ "data-tooltip": labelTop
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
value: getValues(screenSize).top,
type: "number",
label: labelTop,
@@ -1618,8 +1607,9 @@ var DimensionsControlBlock = function DimensionsControlBlock(props) {
_onChange(newValue);
},
min: 0,
- placeholder: (0,_Utils_DimensionsHelper__WEBPACK_IMPORTED_MODULE_5__.geHierarchicalPlaceholderValue)(props.values, screenSize, getValues(screenSize).top, 'top')
- });
+ placeholder: (0,_Utils_DimensionsHelper__WEBPACK_IMPORTED_MODULE_5__.geHierarchicalPlaceholderValue)(props.values, screenSize, getValues(screenSize).top, 'top'),
+ "data-tooltip": labelTop
+ }));
}
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_hook_form__WEBPACK_IMPORTED_MODULE_4__.Controller, {
name: "".concat(screenSize, ".right"),
@@ -1628,7 +1618,10 @@ var DimensionsControlBlock = function DimensionsControlBlock(props) {
var _ref3$field = _ref3.field,
_onChange2 = _ref3$field.onChange,
value = _ref3$field.value;
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
+ className: "components-has-dimensions-control__input",
+ "data-tooltip": labelRight
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
value: getValues(screenSize).right,
type: "number",
label: labelRight,
@@ -1638,8 +1631,9 @@ var DimensionsControlBlock = function DimensionsControlBlock(props) {
_onChange2(newValue);
},
min: 0,
- placeholder: (0,_Utils_DimensionsHelper__WEBPACK_IMPORTED_MODULE_5__.geHierarchicalPlaceholderValue)(props.values, screenSize, getValues(screenSize).right, 'right')
- });
+ placeholder: (0,_Utils_DimensionsHelper__WEBPACK_IMPORTED_MODULE_5__.geHierarchicalPlaceholderValue)(props.values, screenSize, getValues(screenSize).right, 'right'),
+ "data-tooltip": labelRight
+ }));
}
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_hook_form__WEBPACK_IMPORTED_MODULE_4__.Controller, {
name: "".concat(screenSize, ".bottom"),
@@ -1648,7 +1642,10 @@ var DimensionsControlBlock = function DimensionsControlBlock(props) {
var _ref4$field = _ref4.field,
_onChange3 = _ref4$field.onChange,
value = _ref4$field.value;
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
+ className: "components-has-dimensions-control__input",
+ "data-tooltip": labelBottom
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
value: getValues(screenSize).bottom,
type: "number",
label: labelBottom,
@@ -1659,7 +1656,7 @@ var DimensionsControlBlock = function DimensionsControlBlock(props) {
},
min: 0,
placeholder: (0,_Utils_DimensionsHelper__WEBPACK_IMPORTED_MODULE_5__.geHierarchicalPlaceholderValue)(props.values, screenSize, getValues(screenSize).bottom, 'bottom')
- });
+ }));
}
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_hook_form__WEBPACK_IMPORTED_MODULE_4__.Controller, {
name: "".concat(screenSize, ".left"),
@@ -1669,7 +1666,10 @@ var DimensionsControlBlock = function DimensionsControlBlock(props) {
var _ref5$field = _ref5.field,
_onChange4 = _ref5$field.onChange,
value = _ref5$field.value;
- return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
+ return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", {
+ className: "components-has-dimensions-control__input",
+ "data-tooltip": labelLeft
+ }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.TextControl, {
value: (_getValues$left = getValues(screenSize).left) !== null && _getValues$left !== void 0 ? _getValues$left : 0,
type: "number",
label: labelLeft,
@@ -1680,7 +1680,7 @@ var DimensionsControlBlock = function DimensionsControlBlock(props) {
},
min: 0,
placeholder: (0,_Utils_DimensionsHelper__WEBPACK_IMPORTED_MODULE_5__.geHierarchicalPlaceholderValue)(props.values, screenSize, getValues(screenSize).left, 'left')
- });
+ }));
}
}), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Tooltip, {
text: !!getValues(screenSize).unitSync ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Unsync', 'highlight-and-share') : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)('Sync', 'highlight-and-share')
diff --git a/build/has-click-to-share.js.map b/build/has-click-to-share.js.map
index a86ce85..18d0f8f 100644
--- a/build/has-click-to-share.js.map
+++ b/build/has-click-to-share.js.map
@@ -1 +1 @@
-{"version":3,"file":"has-click-to-share.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;;AAEoC;AACF;AAC2B;AACM;AACJ;AACU;AACG;AAChB;AACY;AACX;AACF;AACgB;AAI/B;AAE5C,IAAQc,EAAE,GAAKC,EAAE,CAACC,IAAI,CAAdF,EAAE;AAEV,qBASIC,EAAE,CAACE,UAAU;EARhBC,SAAS,kBAATA,SAAS;EACTC,QAAQ,kBAARA,QAAQ;EACRC,YAAY,kBAAZA,YAAY;EACZC,aAAa,kBAAbA,aAAa;EACbC,WAAW,kBAAXA,WAAW;EACXC,WAAW,kBAAXA,WAAW;EACXC,MAAM,kBAANA,MAAM;EACNC,aAAa,kBAAbA,aAAa;AAGd,qBAAgDV,EAAE,CAACW,UAAU;EAArDC,eAAe,kBAAfA,eAAe;EAAEC,kBAAkB,kBAAlBA,kBAAkB;AAE3C,sBAAuDb,EAAE,CAACc,WAAW;EAA7DC,iBAAiB,mBAAjBA,iBAAiB;EAAEC,QAAQ,mBAARA,QAAQ;EAAEC,aAAa,mBAAbA,aAAa;AAElD,IAAQC,aAAa,GAAKlB,EAAE,CAACmB,OAAO,CAA5BD,aAAa;AAErB,mBAAiClB,EAAE,CAACoB,QAAQ;EAApCC,MAAM,gBAANA,MAAM;EAAEC,YAAY,gBAAZA,YAAY;AAE5B,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkB,CAAKC,KAAK,EAAM;EACvC,qBAAsChC,sEAAa,CAAE,SAAS,CAAE;IAAA;IAAxDiC,UAAU;IAAEC,aAAa;EACjC,IAAMC,iBAAiB,GAAGT,aAAa,CAAEK,kBAAkB,EAAE,SAAS,CAAE;EAExE,IAAQK,UAAU,GAAoBJ,KAAK,CAAnCI,UAAU;IAAEC,aAAa,GAAKL,KAAK,C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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACrEA;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,QAAQ;AAC1B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;ACzFA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA,IAAI,IAAqC;AACzC,6BAA6B,mBAAO,CAAC,yFAA4B;AACjE;AACA,YAAY,mBAAO,CAAC,uDAAW;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,YAAY;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,WAAW;AACtB;AACA;AACA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6GAA6G;AAC7G;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,4DAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;;AAEA;;;;;;;;;;;;ACtGA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,cAAc,mBAAO,CAAC,kDAAU;AAChC,aAAa,mBAAO,CAAC,4DAAe;;AAEpC,2BAA2B,mBAAO,CAAC,yFAA4B;AAC/D,UAAU,mBAAO,CAAC,uDAAW;AAC7B,qBAAqB,mBAAO,CAAC,qEAAkB;;AAE/C;;AAEA,IAAI,IAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,2CAA2C;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,8BAA8B;AAC9B,QAAQ;AACR;AACA;AACA;AACA;AACA,+BAA+B,KAAK;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,4BAA4B;AAC5B,OAAO;AACP;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,SAAS,KAAqC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sBAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB,2BAA2B;AACjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,KAAqC,4FAA4F,CAAM;AAC7I;AACA;;AAEA,oBAAoB,gCAAgC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB,gCAAgC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,iHAAiH;AACjH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;ACjmBA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAI,IAAqC;AACzC,gBAAgB,mBAAO,CAAC,kDAAU;;AAElC;AACA;AACA;AACA,mBAAmB,mBAAO,CAAC,uFAA2B;AACtD,EAAE,KAAK,EAIN;;;;;;;;;;;;AClBD;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA;;;;;;;;;;;ACXA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;;;AAIb,IAAI,IAAqC;AACzC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;;AAEjD;AACA;AACA;AACA,kDAAkD;;AAElD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB;AACjB,sBAAsB;AACtB,uBAAuB;AACvB,uBAAuB;AACvB,eAAe;AACf,kBAAkB;AAClB,gBAAgB;AAChB,YAAY;AACZ,YAAY;AACZ,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,gBAAgB;AAChB,mBAAmB;AACnB,wBAAwB;AACxB,yBAAyB;AACzB,yBAAyB;AACzB,iBAAiB;AACjB,oBAAoB;AACpB,kBAAkB;AAClB,cAAc;AACd,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,oBAAoB;AACpB,kBAAkB;AAClB,0BAA0B;AAC1B,cAAc;AACd,GAAG;AACH;;;;;;;;;;;;ACpLa;;AAEb,IAAI,KAAqC,EAAE,EAE1C,CAAC;AACF,EAAE,gIAAyD;AAC3D;;;;;;;;;;;;ACNA;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;;;;;ACA0B;;AAE1B;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,gDAAmB;AAC3C;AACA,iNAAiN,mBAAmB;AACpO;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,YAAY;AAClC,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,WAAW,oBAAoB;AAC5C,oBAAoB,qBAAqB;AACzC;AACA;AACA;AACA,6BAA6B,6CAAgB;AAC7C;AACA,0KAA0K,qBAAqB;AAC/L;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,YAAY;AAClC,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,WAAW,oBAAoB;AAC5C,oBAAoB,qBAAqB;AACzC;AACA;AACA;AACA;AACA,YAAY,oBAAoB;AAChC,YAAY,gDAAmB,6BAA6B,aAAa;AACzE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;;AAEA;;AAEA;AACA,YAAY,qBAAqB;AACjC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,yCAAY;AAC/B;AACA,IAAI,4CAAe;AACnB;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA,aAAa,kCAAkC;AAC/C;AACA;AACA,OAAO;AACP,aAAa,cAAc;AAC3B;AACA,MAAM;AACN;AACA;AACA;AACA,uBAAuB,uBAAuB;AAC9C,iBAAiB,0BAA0B;AAC3C,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,mDAAmD;AAC/D,yCAAyC,2CAAc;AACvD,qBAAqB,yCAAY;AACjC,iCAAiC,yCAAY;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,kBAAkB,yCAAY;AAC9B;AACA;AACA;AACA,kBAAkB,8CAAiB;AACnC;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL,IAAI,4CAAe;AACnB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,YAAY,kEAAkE;AAC9E,kBAAkB,yCAAY;AAC9B;AACA;AACA;AACA;AACA,kBAAkB,8CAAiB;AACnC;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,iCAAiC,2CAAc;AAC/C;AACA;AACA,IAAI,4CAAe;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;AACA,aAAa,+BAA+B;AAC5C;AACA;AACA,iBAAiB,UAAU,aAAa,YAAY;AACpD,aAAa,kCAAkC;AAC/C,aAAa,yCAAyC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,oDAAoD;AAChE;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL,2BAA2B,yCAAY;AACvC;AACA;AACA,KAAK;AACL,IAAI,4CAAe;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,sBAAsB,8CAAiB;AACvC;AACA;AACA;AACA,iBAAiB;AACjB;AACA,aAAa;AACb,oBAAoB,8CAAiB;AACrC;AACA;AACA;AACA,iBAAiB;AACjB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA,8CAA8C;AAC9C;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA,mBAAmB,GAAG,SAAS,8BAA8B,yBAAyB;AACtF;AACA;AACA,2BAA2B,UAAU;AACrC,yBAAyB,QAAQ;AACjC,wBAAwB,OAAO;AAC/B,sBAAsB,KAAK;AAC3B;AACA,mBAAmB,yCAAyC;AAC5D,mBAAmB,sCAAsC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,4EAA4E;AAC5E;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oBAAoB,sBAAsB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,kDAAkD;AAClD;AACA,WAAW,KAAK,GAAG,6DAA6D;AAChF;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,8CAA8C,iDAAoB;;AAElE;;AAEA;;AAEA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY,gHAAgH;AAC5H;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,iBAAiB;AACjC,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,+BAA+B;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,oCAAoC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sFAAsF;AACtF;AACA;AACA;AACA;AACA,aAAa,4DAA4D;AACzE;AACA;AACA;AACA,MAAM;AACN,aAAa,iBAAiB;AAC9B;AACA;AACA,MAAM;AACN;AACA;AACA,uBAAuB,wCAAwC;AAC/D,UAAU;AACV,wBAAwB,UAAU,oBAAoB,MAAM,eAAe;AAC3E;AACA,wCAAwC,eAAe,mBAAmB,EAAE;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,qEAAqE;AACjF,gCAAgC,2CAAc;AAC9C,gBAAgB,yCAAY;AAC5B,sBAAsB,yCAAY;AAClC,kBAAkB,yCAAY;AAC9B,sBAAsB,yCAAY;AAClC;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAAiB,IAAI,+BAA+B;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL,yBAAyB,8CAAiB;AAC1C;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,wFAAwF;AACxF;AACA,IAAI,4CAAe;AACnB;AACA,0EAA0E;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI,4CAAe;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,cAAc,8CAAiB;AAC/B,cAAc,8CAAiB;AAC/B,iBAAiB,8CAAiB;AAClC,gBAAgB,8CAAiB;AACjC,gBAAgB,8CAAiB;AACjC,gBAAgB,8CAAiB;AACjC,gBAAgB,8CAAiB;AACjC,iBAAiB,8CAAiB;AAClC,gBAAgB,0CAAa;AAC7B;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA,kGAAkG;AAClG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gCAAgC,wCAAwC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C,OAAO;AACtD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB,uBAAuB;AACvB,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,UAAU,IAAI;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,oCAAoC,gBAAgB;AACpD;AACA;AACA,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,wBAAwB,oBAAoB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,KAAK,GAAG,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D;AAC1D;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,2CAA2C,uBAAuB,eAAe;AACjF;AACA,8DAA8D;AAC9D;AACA;AACA;AACA,aAAa;AACb;AACA,wBAAwB,SAAS;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4EAA4E,qBAAqB;AACjG,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,MAAM;AAC1B,+CAA+C,UAAU,IAAI;AAC7D;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA,SAAS;AACT;AACA;AACA,0CAA0C,QAAQ,UAAU;AAC5D;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,wCAAwC,IAAI,sBAAsB;AAClE,SAAS;AACT;AACA;AACA,wCAAwC;AACxC;AACA;AACA;AACA,2BAA2B;AAC3B;AACA,qDAAqD,OAAO,QAAQ;AACpE;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,6BAA6B,IAAI;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD;AACA;AACA,2CAA2C,2BAA2B;AACtE;AACA,oCAAoC,eAAe;AACnD,yBAAyB;AACzB,qBAAqB;AACrB;AACA;AACA;AACA,iDAAiD;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,eAAe;AAClD;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,oBAAoB;AACpB,wEAAwE;AACxE;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sEAAsE;AACtE;AACA;AACA;AACA;AACA,aAAa,4CAA4C,WAAW;AACpE;AACA;AACA;AACA;AACA;AACA,uBAAuB,uBAAuB;AAC9C,qCAAqC,wBAAwB;AAC7D,iBAAiB,iCAAiC,gBAAgB,GAAG;AACrE,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B,yBAAyB,yCAAY;AACrC,yCAAyC,2CAAc;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB,yBAAyB;AACzB,kBAAkB;AAClB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kBAAkB,8CAAiB;AACnC;AACA;AACA;AACA;AACA;AACA,kCAAkC,uBAAuB;AACzD;AACA,SAAS;AACT,KAAK;AACL,IAAI,4CAAe;AACnB;AACA;AACA;AACA;AACA;AACA;AACA,2CAA2C;AAC3C;AACA;AACA,KAAK;AACL,IAAI,4CAAe;AACnB;AACA,KAAK;AACL;AACA;AACA;;AAE2I;AAC3I;;;;;;;;;;;;;;;;;;UC1wEA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,eAAe,4BAA4B;WAC3C,eAAe;WACf,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA,8CAA8C;;;;;WCA9C;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;;;;;;ACNoC;AACpC,IAAQhF,EAAE,GAAKC,EAAE,CAACC,IAAI,CAAdF,EAAE;AACV,IAAQkU,iBAAiB,GAAKjU,EAAE,CAACkU,MAAM,CAA/BD,iBAAiB;;AAEzB;AAC0B;AAEnB,IAAM1L,IAAI,GAAG,oBAAoB;AACxC0L,iBAAiB,CAAED,wCAAQ,EAAE;EAC5BI,IAAI,eAAE;IAAK,eAAY,MAAM;IAAC,SAAS,EAAC,OAAO;IAAC,eAAY,KAAK;IAAC,aAAU,WAAW;IAAC,SAAS,EAAC,qCAAqC;IAAC,IAAI,EAAC,KAAK;IAAC,KAAK,EAAC,4BAA4B;IAAC,OAAO,EAAC;EAAa,gBAAC;IAAM,IAAI,EAAC,cAAc;IAAC,CAAC,EAAC;EAA0c,EAAQ,CAAM;EAChsBD,IAAI,EAAJA,6CAAI;EAEJ;EACAE,IAAI,kBAAG;IACN,OAAO,IAAI;EACZ;AACD,CAAC,CAAE,C","sources":["webpack://highlight-and-share/./src/blocks/click-to-share/edit.js","webpack://highlight-and-share/./src/fonts/fonts.js","webpack://highlight-and-share/./src/react/Components/BackgroundSelector/index.js","webpack://highlight-and-share/./src/react/Components/ColorPicker/index.js","webpack://highlight-and-share/./src/react/Components/DimensionsBlock/index.js","webpack://highlight-and-share/./src/react/Components/GradientGenerator/index.js","webpack://highlight-and-share/./src/react/Components/GradientPicker/index.js","webpack://highlight-and-share/./src/react/Components/GradientSync/index.js","webpack://highlight-and-share/./src/react/Components/Typography/index.js","webpack://highlight-and-share/./src/react/Components/unit-picker/index.js","webpack://highlight-and-share/./src/react/Hooks/useDeviceType.js","webpack://highlight-and-share/./src/react/Utils/DimensionsHelper.js","webpack://highlight-and-share/./src/react/Utils/GetRandomGradient.js","webpack://highlight-and-share/./src/react/Utils/ShorthandCSS.js","webpack://highlight-and-share/./src/react/Utils/TypographyHelper.js","webpack://highlight-and-share/./node_modules/classnames/index.js","webpack://highlight-and-share/./node_modules/hex-to-rgba/build/index.js","webpack://highlight-and-share/./node_modules/object-assign/index.js","webpack://highlight-and-share/./node_modules/prop-types/checkPropTypes.js","webpack://highlight-and-share/./node_modules/prop-types/factoryWithTypeCheckers.js","webpack://highlight-and-share/./node_modules/prop-types/index.js","webpack://highlight-and-share/./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://highlight-and-share/./node_modules/prop-types/lib/has.js","webpack://highlight-and-share/./node_modules/react-is/cjs/react-is.development.js","webpack://highlight-and-share/./node_modules/react-is/index.js","webpack://highlight-and-share/external window \"React\"","webpack://highlight-and-share/external window [\"wp\",\"blockEditor\"]","webpack://highlight-and-share/external window [\"wp\",\"components\"]","webpack://highlight-and-share/external window [\"wp\",\"data\"]","webpack://highlight-and-share/external window [\"wp\",\"element\"]","webpack://highlight-and-share/external window [\"wp\",\"i18n\"]","webpack://highlight-and-share/./node_modules/react-hook-form/dist/index.esm.mjs","webpack://highlight-and-share/webpack/bootstrap","webpack://highlight-and-share/webpack/runtime/compat get default export","webpack://highlight-and-share/webpack/runtime/define property getters","webpack://highlight-and-share/webpack/runtime/hasOwnProperty shorthand","webpack://highlight-and-share/webpack/runtime/make namespace object","webpack://highlight-and-share/./src/blocks/click-to-share/block.js"],"sourcesContent":["/**\n * External dependencies\n */\n\nimport classnames from 'classnames';\nimport { useEffect } from 'react';\nimport ColorPicker from '../../react/Components/ColorPicker';\nimport GradientPicker from '../../react/Components/GradientPicker';\nimport GradientSync from '../../react/Components/GradientSync';\nimport GradientGenerator from '../../react/Components/GradientGenerator';\nimport DimensionsControlBlock from '../../react/Components/DimensionsBlock';\nimport useDeviceType from '../../react/Hooks/useDeviceType';\nimport { buildDimensionsCSS } from '../../react/Utils/DimensionsHelper';\nimport UnitChooser from '../../react/Components/unit-picker';\nimport Typography from '../../react/Components/Typography';\nimport BackgroundSelector from '../../react/Components/BackgroundSelector';\nimport {\n\tgeHierarchicalPlaceholderValue,\n\tgetHierarchicalValueUnit,\n} from '../../react/Utils/TypographyHelper';\n\nconst { __ } = wp.i18n;\n\nconst {\n\tPanelBody,\n\tPanelRow,\n\tRangeControl,\n\tSelectControl,\n\tTextControl,\n\tButtonGroup,\n\tButton,\n\tToggleControl,\n} = wp.components;\n\nconst { escapeAttribute, escapeEditableHTML } = wp.escapeHtml;\n\nconst { InspectorControls, RichText, useBlockProps } = wp.blockEditor;\n\nconst { useInstanceId } = wp.compose;\n\nconst { create, toHTMLString } = wp.richText;\n\nconst HAS_Click_To_Share = ( props ) => {\n\tconst [ deviceType, setDeviceType ] = useDeviceType( 'Desktop' );\n\tconst generatedUniqueId = useInstanceId( HAS_Click_To_Share, 'has-cts' );\n\n\tconst { attributes, setAttributes } = props;\n\tconst {\n\t\tshareText,\n\t\tbackgroundType,\n\t\tbackgroundColor,\n\t\tbackgroundColorHover,\n\t\tbackgroundGradient,\n\t\tbackgroundGradientHover,\n\t\tbackgroundGradientSync,\n\t\tbackgroundImage,\n\t\ttextColor,\n\t\ttextColorHover,\n\t\tshareTextColor,\n\t\tshareTextColorHover,\n\t\tshowClickToShare,\n\t\tshowIcon,\n\t\tfontSize,\n\t\ticonSize,\n\t\tclickText,\n\t\tpadding,\n\t\tborder,\n\t\tborderRadius,\n\t\tborderColor,\n\t\ticonColor,\n\t\ticonColorHover,\n\t\tborderColorHover,\n\t\tclickShareFontSize,\n\t\tmaxWidth,\n\t\tmaxWidthUnit,\n\t\talignment,\n\t\talign,\n\t\tmarginTop,\n\t\tmarginRight,\n\t\tmarginBottom,\n\t\tmarginLeft,\n\t\tmarginSize,\n\t\tpaddingSize,\n\t\tborderWidth,\n\t\tborderRadiusSize,\n\t\tuniqueId,\n\t\ttypographyQuote,\n\t\ttypographyShareText,\n\t} = attributes;\n\n\tuseEffect( () => {\n\t\t// Set unique ID for block (for styling).\n\t\tsetAttributes( { uniqueId: generatedUniqueId } );\n\n\t\t// Port padding to new dimensions object.\n\t\tif ( padding !== -1 ) {\n\t\t\tconst portPadding = paddingSize;\n\t\t\tportPadding.desktop = {\n\t\t\t\ttop: padding,\n\t\t\t\tright: padding,\n\t\t\t\tbottom: padding,\n\t\t\t\tleft: padding,\n\t\t\t\tunit: 'px',\n\t\t\t\tunitSync: true,\n\t\t\t};\n\t\t\t// Convert text over.\n\t\t\tconst portText = toHTMLString( {\n\t\t\t\t// Stolen from: https://github.com/WordPress/gutenberg/pull/23562/files\n\t\t\t\tvalue: create( {\n\t\t\t\t\thtml: shareText,\n\t\t\t\t\tpreserveWhiteSpace: true,\n\t\t\t\t} ),\n\t\t\t\tmultilineTag: 'p',\n\t\t\t} );\n\t\t\tsetAttributes( {\n\t\t\t\tpaddingSize: portPadding,\n\t\t\t\tpadding: -1,\n\t\t\t\tbackgroundColorHover: backgroundColor,\n\t\t\t\tshareTextColor: textColor,\n\t\t\t\tshareTextColorHover: textColor,\n\t\t\t\ttextColorHover: textColor,\n\t\t\t\tborderColorHover: borderColor,\n\t\t\t\ticonColorHover: textColor,\n\t\t\t\ticonColor: textColor,\n\t\t\t\tshareText: portText,\n\t\t\t} );\n\t\t}\n\t\t// Port margin to new dimensions object.\n\t\tif ( marginTop !== -1 ) {\n\t\t\tconst portMargin = marginSize;\n\t\t\tportMargin.desktop = {\n\t\t\t\ttop: marginTop,\n\t\t\t\tright: marginRight,\n\t\t\t\tbottom: marginBottom,\n\t\t\t\tleft: marginLeft,\n\t\t\t\tunit: 'px',\n\t\t\t\tunitSync: true,\n\t\t\t};\n\t\t\tsetAttributes( {\n\t\t\t\tmarginSize: portMargin,\n\t\t\t\tmarginTop: -1,\n\t\t\t} );\n\t\t}\n\t\t// Port border width to new dimensions object.\n\t\tif ( border !== -1 ) {\n\t\t\tconst portBorderWidth = borderWidth;\n\t\t\tportBorderWidth.desktop = {\n\t\t\t\ttop: border,\n\t\t\t\tright: border,\n\t\t\t\tbottom: border,\n\t\t\t\tleft: border,\n\t\t\t\tunit: 'px',\n\t\t\t\tunitSync: true,\n\t\t\t};\n\t\t\tsetAttributes( {\n\t\t\t\tborderWidth: portBorderWidth,\n\t\t\t\tborder: -1,\n\t\t\t} );\n\t\t}\n\t\t// Port border radius to new dimensions object.\n\t\tif ( borderRadius !== -1 ) {\n\t\t\tconst portBorderRadius = borderRadiusSize;\n\t\t\tportBorderRadius.desktop = {\n\t\t\t\ttop: borderRadius,\n\t\t\t\tright: borderRadius,\n\t\t\t\tbottom: borderRadius,\n\t\t\t\tleft: borderRadius,\n\t\t\t\tunit: 'px',\n\t\t\t\tunitSync: true,\n\t\t\t};\n\t\t\tsetAttributes( {\n\t\t\t\tborderRadiusSize: portBorderRadius,\n\t\t\t\tborderRadius: -1,\n\t\t\t} );\n\t\t}\n\n\t\t// Port alignment over to align variable.\n\t\tif ( alignment !== 'none' ) {\n\t\t\tsetAttributes( { align: alignment, alignment: 'none' } );\n\t\t}\n\n\t\t// Port over icon size.\n\t\tif ( -1 === iconSize ) {\n\t\t\tsetAttributes( { iconSize: clickShareFontSize } );\n\t\t}\n\t}, [] );\n\n\tconst getFontStyles = ( fontObject ) => {\n\t\tconst fontType = fontObject[ deviceType.toLowerCase() ].fontType;\n\t\tconst fontSlug = fontObject[ deviceType.toLowerCase() ].fontFamilySlug;\n\t\tif ( 'google' === fontType ) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t>\n\t\t\t);\n\t\t}\n\t\tif ( 'adobe' === fontType ) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t>\n\t\t\t);\n\t\t}\n\t\treturn null;\n\t};\n\n\tconst screenSize = deviceType.toLowerCase();\n\tconst styles = `\n\t\t#${ uniqueId }.has-click-to-share {\n\t\t\tmargin: ${ buildDimensionsCSS( marginSize, deviceType ) };\n\t\t\tborder-radius: ${ buildDimensionsCSS( borderRadiusSize, deviceType ) };\n\t\t\tborder-style: solid;\n\t\t\tborder-width: ${ buildDimensionsCSS( borderWidth, deviceType ) };\n\t\t\tmax-width: ${ maxWidth }${ maxWidthUnit };\n\t\t\toverflow: hidden;\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share .has-click-to-share-cta,\n\t\t#${ uniqueId }.has-click-to-share .has-click-to-share-text {\n\t\t\tposition: relative;\n\t\t\tz-index: 2;\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share .has-click-to-share-wrapper {\n\t\t\tposition: relative;\n\t\t\tpadding: ${ buildDimensionsCSS( paddingSize, deviceType ) };\n\t\t\tfont-size: ${ clickShareFontSize }px;\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-color {\n\t\t\tbackground-color: ${ backgroundColor };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-color:hover {\n\t\t\tbackground-color: ${ backgroundColorHover };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-gradient {\n\t\t\tbackground-image: ${ backgroundGradient };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-gradient:hover {\n\t\t\tbackground-image: ${ backgroundGradientHover };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share {\n\t\t\tborder-color: ${ borderColor };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share:hover {\n\t\t\tborder-color: ${ borderColorHover };\n\t\t}\n\t\t\n\t\t#${ uniqueId } .has-click-to-share-cta {\n\t\t\tcolor: ${ shareTextColor }\n\t\t}\n\t\t#${ uniqueId }:hover .has-click-to-share-cta {\n\t\t\tcolor: ${ shareTextColorHover }\n\t\t}\n\t\t#${ uniqueId } .has-click-to-share-text {\n\t\t\tcolor: ${ textColor };\n\t\t}\n\t\t#${ uniqueId }:hover .has-click-to-share-text {\n\t\t\tcolor: ${ textColorHover };\n\t\t}\n\t\t#${ uniqueId } .has-click-to-share-cta svg {\n\t\t\tcolor: ${ iconColor };\n\t\t}\n\t\t#${ uniqueId }:hover .has-click-to-share-cta svg {\n\t\t\tcolor: ${ iconColorHover };\n\t\t}\n\t\t#${ uniqueId } .has-click-to-share-text,\n\t\t#${ uniqueId } .has-click-to-share-text p {\n\t\t\tfont-family: \"${ geHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].fontFamily,\n\t\t'fontFamily'\n\t) }\";\n\t\t\tfont-weight: ${ geHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].fontWeight,\n\t\t'fontWeight'\n\t) };\n\t\t\tfont-size: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].fontSize,\n\t\t'fontSize'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyQuote,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyQuote[ screenSize ].fontSizeUnit,\n\t\t\t\t\t'fontSizeUnit'\n\t\t\t\t)\n};\n\t\t\tline-height: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].lineHeight,\n\t\t'lineHeight'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyQuote,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyQuote[ screenSize ].lineHeightUnit,\n\t\t\t\t\t'lineHeightUnit'\n\t\t\t\t)\n};\n\t\t\tletter-spacing: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].letterSpacing,\n\t\t'letterSpacing'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyQuote,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyQuote[ screenSize ].letterSpacingUnit,\n\t\t\t\t\t'letterSpacingUnit'\n\t\t\t\t)\n};\n\t\t\ttext-transform: ${ geHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].textTransform,\n\t\t'textTransform'\n\t) };\n\t\t}\n\t\t#${ uniqueId } .has-click-to-share-cta,\n\t\t#${ uniqueId } .has-click-to-share-cta p {\n\t\t\tfont-family: \"${ geHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].fontFamily,\n\t\t'fontFamily'\n\t) }\";\n\t\t\tfont-weight: ${ geHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].fontWeight,\n\t\t'fontWeight'\n\t) };\n\t\t\tfont-size: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].fontSize,\n\t\t'fontSize'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyShareText,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyShareText[ screenSize ].fontSizeUnit,\n\t\t\t\t\t'fontSizeUnit'\n\t\t\t\t)\n};\n\t\t\tline-height: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].lineHeight,\n\t\t'lineHeight'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyShareText,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyShareText[ screenSize ].lineHeightUnit,\n\t\t\t\t\t'lineHeightUnit'\n\t\t\t\t)\n};\n\t\t\tletter-spacing: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].letterSpacing,\n\t\t'letterSpacing'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyShareText,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyShareText[ screenSize ].letterSpacingUnit,\n\t\t\t\t\t'letterSpacingUnit'\n\t\t\t\t)\n};\n\t\t\ttext-transform: ${ geHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].textTransform,\n\t\t'textTransform'\n\t) };\n\t\t}\n\t`;\n\n\tlet backgroundImageStyles = '';\n\tif ( 'image' === backgroundType ) {\n\t\tbackgroundImageStyles = `\n\t\t#${ uniqueId }.has-click-to-share.has-background-image {\n\t\t\tbackground-color: ${ backgroundImage.backgroundColor };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-image .has-click-to-share-wrapper:after{\n\t\t\tdisplay: block;\n\t\t\tcontent: '';\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tz-index: 1;\n\t\t\tbackground-image: url('${ decodeURIComponent(\n\t\tencodeURIComponent( backgroundImage.url )\n\t) } ');\n\t\t\tbackground-position: ${ escapeEditableHTML(\n\t\tbackgroundImage.backgroundPosition\n\t) };\n\t\t\tbackground-repeat: ${ escapeEditableHTML( backgroundImage.backgroundRepeat ) };\n\t\t\tbackground-size: ${ escapeEditableHTML( backgroundImage.backgroundSize ) };\n\t\t\topacity: ${ parseFloat( backgroundImage.backgroundOpacity ) };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-image .has-click-to-share-wrapper:hover:after {\n\t\t\topacity: ${ parseFloat( backgroundImage.backgroundOpacityHover ) };\n\t\t}\n\t\t`;\n\t}\n\n\t/* For sticky responsive: forked from GenerateBlocks */\n\tconst panelHeader = document.querySelector(\n\t\t'.edit-post-sidebar .edit-post-sidebar__panel-tabs'\n\t);\n\tconst panelHeaderHeight = panelHeader ? panelHeader.offsetHeight : 0;\n\n\tconst inspectorControls = (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t
\n\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\t\tshowClickToShare: value,\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t{ showClickToShare && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { clickText: value } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\t\tshowIcon: value,\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t setAttributes( { iconSize: value } ) }\n\t\t\t\t\t\t\tmin={ 10 }\n\t\t\t\t\t\t\tmax={ 150 }\n\t\t\t\t\t\t\tstep={ 1 }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t) }\n\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ __( 'Background Type', 'highlight-and-share' ) }
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundType: 'solid' } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Solid Background', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{ __( 'Solid', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundType: 'gradient' } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Gradient Background', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{ __( 'Gradient', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundType: 'image' } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Image Background', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{ __( 'Image', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{ backgroundType === 'solid' && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundColor: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tlabel={ __( 'Background Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\t\t\tdefaultColor={ backgroundColor }\n\t\t\t\t\t\t\t\t\tslug={ 'background-color' }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundColorHover: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tlabel={ __( 'Background Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\t\t\tdefaultColor={ backgroundColorHover }\n\t\t\t\t\t\t\t\t\tslug={ 'background-color-hover' }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t>\n\t\t\t\t\t) }\n\t\t\t\t\t{ backgroundType === 'gradient' && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundGradient: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tlabel={ __( 'Gradient Background', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\tclearable={ false }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundGradientHover: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tlabel={ __( 'Gradient Background Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\tclearable={ false }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t>\n\t\t\t\t\t) }\n\t\t\t\t\t{ backgroundType === 'image' && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundImage: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t>\n\t\t\t\t\t) }\n\t\t\t\t\n\t\t\t) }\n\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { backgroundColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Background Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ backgroundColor }\n\t\t\t\t\t\t\tslug={ 'background-color' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { backgroundColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Background Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ backgroundColorHover }\n\t\t\t\t\t\t\tslug={ 'background-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { textColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Text Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ textColor }\n\t\t\t\t\t\t\tslug={ 'text-color' }\n\t\t\t\t\t\t/>{ ' ' }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { textColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Text Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ textColorHover }\n\t\t\t\t\t\t\tslug={ 'text-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { shareTextColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Share Text Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ shareTextColor }\n\t\t\t\t\t\t\tslug={ 'share-text-color' }\n\t\t\t\t\t\t/>{ ' ' }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { shareTextColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Share Text Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ shareTextColorHover }\n\t\t\t\t\t\t\tslug={ 'share-text-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { borderColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Border Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ borderColor }\n\t\t\t\t\t\t\tslug={ 'border-color' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { borderColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Border Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ borderColorHover }\n\t\t\t\t\t\t\tslug={ 'border-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { iconColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Icon Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ iconColor }\n\t\t\t\t\t\t\tslug={ 'icon-color' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { iconColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Icon Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ iconColorHover }\n\t\t\t\t\t\t\tslug={ 'icon-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t) }\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\ttypographyQuote: formValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\tlabel={ __( 'Quote Typography', 'highlight-and-share' ) }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\ttypographyShareText: formValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\tlabel={ __( 'Share Text Typography', 'highlight-and-share' ) }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\t\tmaxWidthUnit: value,\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\t\tmaxWidth: value,\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tpaddingSize: newValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tmarginSize: newValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tborderWidth: newValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tborderRadiusSize: newValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\t<>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { borderColor: newValue } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Border Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\t\tdefaultColor={ borderColor }\n\t\t\t\t\t\t\t\tslug={ 'border-color' }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { borderColorHover: newValue } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Border Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\t\tdefaultColor={ borderColorHover }\n\t\t\t\t\t\t\t\tslug={ 'border-color-hover' }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t>\n\t\t\t\t) }\n\t\t\t\n\t\t\n\t);\n\n\tconst block = (\n\t\t<>\n\t\t\t{ inspectorControls }\n\t\t\t{ getFontStyles( typographyQuote ) }\n\t\t\t{ getFontStyles( typographyShareText ) }\n\t\t\t\n\t\t\t{ 'image' === backgroundType && ( \n\t\t\t\t\n\t\t\t) }\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
{\n\t\t\t\t\t\t\tsetAttributes( { shareText: value } );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\t{ showClickToShare && <>{ clickText } > }\n\t\t\t\t\t\t{ showIcon && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t) }\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t>\n\t);\n\n\tconst blockProps = useBlockProps( {\n\t\tclassName: classnames( `highlight-and-share`, `align${ align }` ),\n\t} );\n\n\treturn (\n\t\t<>\n\t\t\t{ block }
\n\t\t>\n\t);\n};\n\nexport default HAS_Click_To_Share;\n","const fontFamilies = {\n\tArial: {\n\t\tname: 'Arial',\n\t\tslug: 'arial',\n\t\tfamily: 'Arial',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\tHelvetica: {\n\t\tname: 'Helvetica',\n\t\tslug: 'helvetica',\n\t\tfamily: 'Helvetica',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\t'Times New Roman': {\n\t\tname: 'Times New Roman',\n\t\tslug: 'times-new-roman',\n\t\tfamily: 'Times New Roman',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\tTimes: {\n\t\tname: 'Times',\n\t\tslug: 'times',\n\t\tfamily: 'Times',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\t'Courier New': {\n\t\tname: 'Courier New',\n\t\tslug: 'courier-new',\n\t\tfamily: 'Courier New',\n\t\ttype: 'web',\n\t\tfallback: 'monospace',\n\t},\n\tCourier: {\n\t\tname: 'Courier',\n\t\tslug: 'courier',\n\t\tfamily: 'Courier',\n\t\ttype: 'web',\n\t\tfallback: 'Courier',\n\t},\n\tVerdana: {\n\t\tname: 'Verdana',\n\t\tslug: 'verdana',\n\t\tfamily: 'Verdana',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\tGeorgia: {\n\t\tname: 'Georgia',\n\t\tslug: 'georgia',\n\t\tfamily: 'Georgia',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\tPalatino: {\n\t\tname: 'Palatino',\n\t\tslug: 'palatino',\n\t\tfamily: 'Palatino',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\tGaramond: {\n\t\tname: 'Garamond',\n\t\tslug: 'garamond',\n\t\tfamily: 'Garamond',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\tBookman: {\n\t\tname: 'Bookman',\n\t\tslug: 'bookman',\n\t\tfamily: 'Bookman',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\t'Trebuchet MS': {\n\t\tname: 'Trebuchet MS',\n\t\tslug: 'trebuchet-ms',\n\t\tfamily: 'Trebuchet MS',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\t'Arial Black': {\n\t\tname: 'Arial Black',\n\t\tslug: 'arial-black',\n\t\tfamily: 'Arial Black',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\tImpact: {\n\t\tname: 'Impact',\n\t\tslug: 'impact',\n\t\tfamily: 'Impact',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\tRoboto: {\n\t\tname: 'Roboto',\n\t\tslug: 'roboto',\n\t\tfamily: 'Roboto',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\t'Josefin Sans': {\n\t\tname: 'Josefin Sans',\n\t\tslug: 'josefin-sans',\n\t\tfamily: 'Josefin Sans',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\tKarla: {\n\t\tname: 'Karla',\n\t\tslug: 'karla',\n\t\tfamily: 'Karla',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\tLato: {\n\t\tname: 'Lato',\n\t\tslug: 'lato',\n\t\tfamily: 'Lato',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\tMontserrat: {\n\t\tname: 'Montserrat',\n\t\tslug: 'montserrat',\n\t\tfamily: 'Montserrat',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\t'Open Sans': {\n\t\tname: 'Open Sans',\n\t\tslug: 'open-sans',\n\t\tfamily: 'Open Sans',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\t'Playfair Display': {\n\t\tname: 'Playfair Display',\n\t\tslug: 'playfair-display',\n\t\tfamily: 'Playfair Display',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\tRaleway: {\n\t\tname: 'Raleway',\n\t\tslug: 'raleway',\n\t\tfamily: 'Raleway',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\t'Source Sans Pro': {\n\t\tname: 'Source Sans Pro',\n\t\tslug: 'source-sans-pro',\n\t\tfamily: 'Source Sans Pro',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n};\n\nexport default fontFamilies;\n","import React, { useState, useEffect, useRef } from 'react';\nimport { __ } from '@wordpress/i18n';\nimport {\n\tRangeControl,\n\tButton,\n\tSelectControl,\n\tBaseControl,\n\tTextControl,\n\tPopover,\n} from '@wordpress/components';\nimport { MediaUploadCheck, MediaUpload } from '@wordpress/block-editor';\nimport { useForm, Controller, useWatch } from 'react-hook-form';\nimport ColorPicker from '../ColorPicker';\nimport classNames from 'classnames';\n\nconst BackgroundSelector = ( props ) => {\n\n\tconst mediaUploadButton = useRef( null );\n\n\tconst [ backgroundSettingsVisible, setBackgroundSettingsVisible ] =\n\t\tuseState( false );\n\tconst [ backgroundSettingsPopoverAnchor, setBackgroundSettingsPopoverAnchor ] =\n\t\tuseState( null );\n\n\tconst [ isVisible, setIsVisible ] = useState( false );\n\tconst [ isToggled, setIsToggled ] = useState( false );\n\n\t// Background error image state.\n\tconst [ errorImage, setErrorImage ] = useState( false );\n\t\n\n\tconst getDefaultValues = () => {\n\t\treturn {\n\t\t\turl: props.values.url,\n\t\t\tid: props.values.id,\n\t\t\tbackgroundColor: props.values.backgroundColor,\n\t\t\tbackgroundSize: props.values.backgroundSize,\n\t\t\tbackgroundPosition: props.values.backgroundPosition,\n\t\t\tbackgroundRepeat: props.values.backgroundRepeat,\n\t\t\tbackgroundOpacity: props.values.backgroundOpacity,\n\t\t\tbackgroundOpacityHover: props.values.backgroundOpacityHover,\n\t\t};\n\t};\n\n\tconst { control, setValue, getValues } = useForm( {\n\t\tdefaultValues: getDefaultValues(),\n\t} );\n\n\tconst formValues = useWatch( { control } );\n\n\tconst { label } = props;\n\n\tuseEffect( () => {\n\t\tprops.onValuesChange( formValues );\n\t}, [ formValues ] );\n\n\tconst getBackgroundRepeat = () => {\n\t\tconst backgroundRepeat = [\n\t\t\t{ label: __( 'repeat-x', 'highlight-and-share' ), value: 'repeat-x' },\n\t\t\t{ label: __( 'repeat-y', 'highlight-and-share' ), value: 'repeat-y' },\n\t\t\t{ label: __( 'repeat', 'highlight-and-share' ), value: 'repeat' },\n\t\t\t{ label: __( 'no-repeat', 'highlight-and-share' ), value: 'no-repeat' },\n\t\t];\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t {\n\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\t/**\n\t * Close color popup if visible.\n\t */\n\t const toggleClose = () => {\n\t\tsetIsToggled( true );\n\t\tsetIsVisible( ! isVisible );\n\t\tsetTimeout( () => {\n\t\t\tsetIsToggled( false );\n\t\t}, 500 );\n\t};\n\n\tconst getPopoverContent = () => {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{ getBackgroundRepeat() }\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t};\n\n\tconst getBackgroundUploader = () => {\n\t\treturn (\n\t\t\t\n\t\t\t\t
(\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tplaceholder={ __( 'Enter URL', 'highlight-and-share' ) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tif ( 'image' === media.type ) {\n\t\t\t\t\t\t\t\t\tsetValue( 'url', media.url );\n\t\t\t\t\t\t\t\t\tsetValue( 'id', media.id );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tsetErrorImage( true );\n\t\t\t\t\t\t\t\t\tsetValue( 'url', '' );\n\t\t\t\t\t\t\t\t\tsetValue( 'id', '0' );\n\t\t\t\t\t\t\t\t\tmediaUploadButton.current.focus();\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\t\t\tsetErrorImage( false );\n\t\t\t\t\t\t\t\t\t}, 8000 );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\ttitle={ __( 'Select Background Image', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tmode={ 'upload' }\n\t\t\t\t\t\t\tmultiple={ false }\n\t\t\t\t\t\t\tallowedTypes={ [ 'image' ] }\n\t\t\t\t\t\t\tvalue={ getValues( 'id' ) }\n\t\t\t\t\t\t\trender={ ( { open } ) => (\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetErrorImage( false );\n\t\t\t\t\t\t\t\t\t\topen();\n\t\t\t\t\t\t\t\t\t } }\n\t\t\t\t\t\t\t\t\tlabel={ ! errorImage ? __( 'Upload Background Image', 'highlight-and-share' ) : __( 'Please choose only images.', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\ticon=\"format-image\"\n\t\t\t\t\t\t\t\t\tshowTooltip={ errorImage }\n\t\t\t\t\t\t\t\t\ttooltipPosition=\"top center\"\n\t\t\t\t\t\t\t\t\tref={ mediaUploadButton }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t \n\t\t);\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{ getBackgroundUploader() }\n\t\t\t
\n\t\t\t\n\t\t\t\t
{ __( 'Background Settings', 'highlight-and-share' ) }
\n\t\t\t\t
{\n\t\t\t\t\t\tif ( isToggled ) {\n\t\t\t\t\t\t\tsetIsToggled( false );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsetIsVisible( ! isVisible );\n\t\t\t\t\t\t}\n\t\t\t\t\t} }\n\t\t\t\t\ticon=\"admin-settings\"\n\t\t\t\t\tref={ setBackgroundSettingsPopoverAnchor }\n\t\t\t\t/>\n\t\t\t\t{ true === isVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t{ getPopoverContent() }\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t \n\t\t\t\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Background Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ '#000000' }\n\t\t\t\t\t\t\tslug={ 'background-color-image' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t
\n\t\t\t\n\t\t\t\t (\n\t\t\t\t\t\t onChange( newValue ) }\n\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\tmax={ 1 }\n\t\t\t\t\t\t\tstep={ 0.01 }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t
\n\t\t\t\n\t\t\t\t (\n\t\t\t\t\t\t onChange( newValue ) }\n\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\tmax={ 1 }\n\t\t\t\t\t\t\tstep={ 0.01 }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t
\n\t\t\n\t);\n};\nexport default BackgroundSelector;\n","/**\n * Color Picker.\n *\n * Credit: Forked from @generateblocks\n */\n\nimport React, { useState, useEffect } from 'react';\nimport classnames from 'classnames';\nimport hexToRgba from 'hex-to-rgba';\nimport { __ } from '@wordpress/i18n';\n\nimport {\n\tTooltip,\n\tBaseControl,\n\tColorPicker,\n\tRangeControl,\n\tPopover,\n\tColorPalette,\n\tButton,\n} from '@wordpress/components';\n\nconst HASColorPicker = ( props ) => {\n\tconst [ colorKey, setColorKey ] = useState( props.slug );\n\tconst [ isVisible, setIsVisible ] = useState( false );\n\tconst [ color, setColor ] = useState( props.value );\n\n\tconst {\n\t\tdefaultColor,\n\t\tdefaultColors,\n\t\tvalue,\n\t\tonChange,\n\t\tonOpacityChange,\n\t\tlabel,\n\t\talpha = false,\n\t\tvalueOpacity,\n\t\tslug,\n\t} = props;\n\n\tuseEffect( () => {\n\t\tsetColor( value );\n\t}, [ value ] );\n\n\t// Retrieve colors while avoiding duplicates.\n\tconst getDefaultColors = () => {\n\t\tconst existingColors = [];\n\t\tconst newColors = [];\n\t\tdefaultColors.forEach( ( maybeNewColor, index ) => {\n\t\t\tif ( ! existingColors.includes( maybeNewColor.color ) ) {\n\t\t\t\texistingColors.push( maybeNewColor.color );\n\t\t\t\tnewColors.push( maybeNewColor );\n\t\t\t}\n\t\t} );\n\t\treturn newColors;\n\t};\n\n\tconst opacityIcon = (\n\t\t\n\t);\n\n\t/**\n\t * Toggle whether the color popup is showing.\n\t */\n\tconst toggleVisible = () => {\n\t\tsetIsVisible( true );\n\t};\n\n\t/**\n\t * Close color popup if visible.\n\t */\n\tconst toggleClose = () => {\n\t\tif ( isVisible ) {\n\t\t\tsetIsVisible( false );\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{ !! label && (\n\t\t\t\t\n\t\t\t\t\t{ label }\n\t\t\t\t
\n\t\t\t) }\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{ ! isVisible && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t>\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ isVisible && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ isVisible && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetColor( newColor.hex );\n\t\t\t\t\t\t\t\t\t\tonChange( slug, newColor.hex );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tdisableAlpha\n\t\t\t\t\t\t\t\t\tdefaultValue={ defaultColor }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t{ alpha && (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{ opacityIcon }\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t onOpacityChange( opacityValue ) }\n\t\t\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\t\t\tmax={ 1 }\n\t\t\t\t\t\t\t\t\t\tstep={ 0.01 }\n\t\t\t\t\t\t\t\t\t\tinitialPosition={ 1 }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tconsole.log( newColor );\n\t\t\t\t\t\t\t\t\t\tonChange( slug, newColor );\n\t\t\t\t\t\t\t\t\t\tsetColor( newColor );\n\t\t\t\t\t\t\t\t\t\tsetColorKey( newColor );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tdisableCustomColors={ true }\n\t\t\t\t\t\t\t\t\tclearable={ false }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tonChange( slug, defaultColor );\n\t\t\t\t\t\t\t\t\t\tsetColorKey( defaultColor );\n\t\t\t\t\t\t\t\t\t\tsetColor( defaultColor );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{ __( 'Clear Color', 'quotes-dlx' ) }\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t
\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default HASColorPicker;\n","/**\n * Dimensions Component.\n * Credit: Forked from @GenerateBlocks\n */\nimport React, { useEffect, useState } from 'react';\n\n/**\n * External dependencies\n */\nimport './editor.scss';\nimport UnitPicker from '../unit-picker';\n\nimport { __, sprintf, _x } from '@wordpress/i18n';\nimport { Button, Tooltip, TextControl } from '@wordpress/components';\nimport { useForm, Controller, useWatch, useFormState } from 'react-hook-form';\nimport classNames from 'classnames';\nimport { geHierarchicalPlaceholderValue, getHierarchicalValueUnit, getHierarchicalValueUnitSync } from '../../Utils/DimensionsHelper';\n\nconst DimensionsControlBlock = ( props ) => {\n\tconst [ screenSize, setScreenSize ] = useState( 'desktop' );\n\n\tconst getDefaultValues = () => {\n\t\treturn {\n\t\t\tmobile: {\n\t\t\t\ttop: props.values.mobile.top,\n\t\t\t\tright: props.values.mobile.right,\n\t\t\t\tbottom: props.values.mobile.bottom,\n\t\t\t\tleft: props.values.mobile.left,\n\t\t\t\tunit: props.values.mobile.unit,\n\t\t\t\tunitSync: props.values.mobile.unitSync,\n\t\t\t},\n\t\t\ttablet: {\n\t\t\t\ttop: props.values.tablet.top,\n\t\t\t\tright: props.values.tablet.right,\n\t\t\t\tbottom: props.values.tablet.bottom,\n\t\t\t\tleft: props.values.tablet.left,\n\t\t\t\tunit: props.values.tablet.unit,\n\t\t\t\tunitSync: props.values.tablet.unitSync,\n\t\t\t},\n\t\t\tdesktop: {\n\t\t\t\ttop: props.values.desktop.top,\n\t\t\t\tright: props.values.desktop.right,\n\t\t\t\tbottom: props.values.desktop.bottom,\n\t\t\t\tleft: props.values.desktop.left,\n\t\t\t\tunit: props.values.desktop.unit,\n\t\t\t\tunitSync: props.values.desktop.unitSync,\n\t\t\t},\n\t\t};\n\t};\n\n\tconst {\n\t\tcontrol,\n\t\tsetValue,\n\t\tgetValues,\n\t} = useForm( {\n\t\tdefaultValues: getDefaultValues(),\n\t} );\n\n\tconst formValues = useWatch( { control } );\n\n\tconst {\n\t\tlabel = __( 'Padding', 'highlight-and-share' ),\n\t\tlabelTop = __( 'Top', 'highlight-and-share' ),\n\t\tlabelRight = __( 'Right', 'highlight-and-share' ),\n\t\tlabelBottom = __( 'Bottom', 'highlight-and-share' ),\n\t\tlabelLeft = __( 'Left', 'highlight-and-share' ),\n\t\tunits,\n\t\tonValuesChange,\n\t} = props;\n\n\tuseEffect( () => {\n\t\tonValuesChange( formValues );\n\t}, [ formValues ] );\n\n\tuseEffect( () =>{\n\t\tsetScreenSize( props.screenSize.toLowerCase() );\n\t\tsetValue( props.screenSize.toLowerCase(), getValues( props.screenSize.toLowerCase() ) );\n\t}, [ props.screenSize ] );\n\t/**\n\t * Change the all values in parent.\n\t *\n\t * @param {number} value Value to change to.\n\t */\n\tconst changeAllValues = ( value ) => {\n\t\tconst values = getValues( screenSize );\n\t\tvalues.top = value;\n\t\tvalues.right = value;\n\t\tvalues.bottom = value;\n\t\tvalues.left = value;\n\t\tsetValue( screenSize, values );\n\t};\n\n\t/**\n\t * When the sync value is selected, sync all values to the maximum number.\n\t */\n\tconst syncUnits = () => {\n\t\t// Toggle unit sync value.\n\t\tconst values = getValues( screenSize );\n\t\tvalues.unitSync = ! values.unitSync;\n\t\tsetValue( screenSize, values );\n\n\t\t// If we're syncing, set all values to the maximum.\n\t\tif ( values.unitSync ) {\n\t\t\tconst numbers = [\n\t\t\t\tgetValues( screenSize ).top,\n\t\t\t\tgetValues( screenSize ).right,\n\t\t\t\tgetValues( screenSize ).bottom,\n\t\t\t\tgetValues( screenSize ).left,\n\t\t\t];\n\t\t\tconst syncValue = Math.max.apply( null, numbers );\n\t\t\tchangeAllValues( syncValue );\n\t\t}\n\t};\n\n\t/**\n\t * Change the units.\n\t *\n\t * @param {string} value Unit changing (px, em, rem, vh).\n\t */\n\tconst onChangeUnits = ( value ) => {\n\t\tconst values = getValues( screenSize );\n\t\tvalues.unit = value;\n\t\tsetValue( screenSize, values );\n\t};\n\n\tconst onDimensionChange = ( value ) => {\n\t\tif ( getHierarchicalValueUnitSync( props.values, screenSize, getValues( screenSize ).unitSync ) ) {\n\t\t\tchangeAllValues( value );\n\t\t}\n\t};\n\n\tconst syncIcon = (\n\t\t\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t
(\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\tonChangeUnits( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\n\t\t\t\t\n\t\t\t\t\t (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tonDimensionChange( newValue );\n\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).top, 'top' ) }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t\t (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tonDimensionChange( newValue );\n\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).right, 'right' ) }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t\t (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tonDimensionChange( newValue );\n\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).bottom, 'bottom' ) }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t\t (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tonDimensionChange( newValue );\n\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).left, 'left' ) }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\t syncUnits() }\n\t\t\t\t\t\t\tisSmall\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ syncIcon }\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ labelTop }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ labelRight }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ labelBottom }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ labelLeft }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t \n\t\t>\n\t);\n};\n\nexport default DimensionsControlBlock;\n","/**\n * Gradient Generator (random)\n *\n */\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\nimport getRandomGradient from '../../Utils/GetRandomGradient';\n\nimport {\n\tBaseControl,\n\tButton,\n} from '@wordpress/components';\n\nconst HASGradientGenerator = ( props ) => {\n\tconst {\n\t\tlabel,\n\t\tsetAttributes,\n\t} = props;\n\n\tconst getGradient = () => {\n\t\tconst gradient = getRandomGradient();\n\t\tsetAttributes( {\n\t\t\tbackgroundGradient: gradient,\n\t\t\tbackgroundGradientHover: gradient,\n\t\t} );\n\t};\n\n\treturn (\n\t\t\n\t\t\t{ label }
\n\t\t\t {\n\t\t\t\t\tgetGradient();\n\t\t\t\t} }\n\t\t\t\tvariant=\"secondary\"\n\t\t\t/>\n\t\t\n\t);\n};\n\nHASGradientGenerator.defaultProps = {\n\tlabel: __( 'Gradient Color', 'highlight-and-share' ),\n\tsetAttributes: () => {},\n};\n\nHASGradientGenerator.propTypes = {\n\tlabel: PropTypes.string.isRequired,\n\tsetAttributes: PropTypes.func.isRequired,\n};\n\nexport default HASGradientGenerator;\n","/**\n * Color Picker.\n *\n * Credit: Forked from @generateblocks\n */\n\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\n\nimport {\n\tBaseControl,\n\tPopover,\n\tButton,\n\tGradientPicker,\n} from '@wordpress/components';\n\nconst HASGradientPicker = ( props ) => {\n\tconst [ isVisible, setIsVisible ] = useState( false );\n\tconst [ isToggled, setIsToggled ] = useState( false );\n\tconst [ gradientPickerButtonAnchor, setGradientPickerButtonAnchor ] = useState( null );\n\n\tconst {\n\t\tlabel,\n\t\tonChange,\n\t\tvalue,\n\t\tclearable,\n\t} = props;\n\n\t/**\n\t * Get a gradient style object.\n\t *\n\t * @return {Object} Gradient style object.\n\t */\n\tconst getGradientStyles = () => {\n\t\tconst hexRegex = /#?[0-9A-Fa-f]{6}/gm; // From: https://linuxhint.com/check-if-string-is-hex-in-javascript/\n\t\tif ( '' === value ) {\n\t\t\treturn {\n\t\t\t\tbackground: '#FFFFFF',\n\t\t\t};\n\t\t}\n\t\tif ( value.match( hexRegex ) ) {\n\t\t\treturn {\n\t\t\t\tbackgroundColor: value,\n\t\t\t};\n\t\t}\n\t\t// Return gradient style value.\n\t\treturn {\n\t\t\tbackgroundImage: value,\n\t\t};\n\t};\n\n\t/**\n\t * Close color popup if visible.\n\t */\n\tconst toggleClose = () => {\n\t\tsetIsToggled( true );\n\t\tsetIsVisible( ! isVisible );\n\t\tsetTimeout( () => {\n\t\t\tsetIsToggled( false );\n\t\t}, 500 );\n\t};\n\n\treturn (\n\t\t\n\t\t\t{ label }
\n\t\t\t {\n\t\t\t\t\tif ( isToggled ) {\n\t\t\t\t\t\tsetIsToggled( false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsetIsVisible( ! isVisible );\n\t\t\t\t\t}\n\t\t\t\t} }\n\t\t\t/>\n\t\t\t{ true === isVisible && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t) }\n\n\t\t\n\t);\n};\n\nHASGradientPicker.defaultProps = {\n\tlabel: __( 'Gradient Color', 'highlight-and-share' ),\n\tclearable: false,\n\tvalue: '',\n\tonChange: () => {},\n};\n\nHASGradientPicker.propTypes = {\n\tclearable: PropTypes.bool,\n\tvalue: PropTypes.string.isRequired,\n\tlabel: PropTypes.string.isRequired,\n\tonChange: PropTypes.func.isRequired,\n};\n\nexport default HASGradientPicker;\n","/**\n * Color Picker.\n *\n * Credit: Forked from @generateblocks\n */\n\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\n\nimport {\n\tBaseControl,\n\tButton,\n} from '@wordpress/components';\n\nconst HASGradientSync = ( props ) => {\n\tconst {\n\t\tlabel,\n\t\tattributes,\n\t\tsetAttributes,\n\t} = props;\n\n\tconst { backgroundGradient, backgroundGradientSync } = attributes;\n\n\tuseEffect( () => {\n\t\tif ( backgroundGradientSync ) {\n\t\t\tsetAttributes( {\n\t\t\t\tbackgroundGradientHover: backgroundGradient,\n\t\t\t} );\n\t\t}\n\t}, [ backgroundGradient, backgroundGradientSync ] );\n\n\treturn (\n\t\t\n\t\t\t{ label }
\n\t\t\t {\n\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\tbackgroundGradientSync: ! backgroundGradientSync,\n\t\t\t\t\t} );\n\t\t\t\t} }\n\t\t\t\tvariant={ backgroundGradientSync ? 'primary' : 'secondary' }\n\t\t\t/>\n\t\t\n\t);\n};\n\nHASGradientSync.defaultProps = {\n\tlabel: __( 'Gradient Color', 'highlight-and-share' ),\n\tattributes: {},\n\tsetAttributes: () => {},\n};\n\nHASGradientSync.propTypes = {\n\tlabel: PropTypes.string.isRequired,\n\tattributes: PropTypes.object.isRequired,\n\tsetAttributes: PropTypes.func.isRequired,\n};\n\nexport default HASGradientSync;\n","import React, { useState, useEffect } from 'react';\nimport fontFamilies from '../../../fonts/fonts';\nimport { __ } from '@wordpress/i18n';\nimport { ButtonGroup, Button, Tooltip, SelectControl, BaseControl, TextControl, Popover } from '@wordpress/components';\nimport { useForm, Controller, useWatch } from 'react-hook-form';\nimport { geHierarchicalPlaceholderValue } from '../../Utils/TypographyHelper';\n\nconst Typography = ( props ) => {\n\tconst [ screenSize, setScreenSize ] = useState( 'desktop' );\n\tconst [ fontSizeUnitPopoverVisible, setFontSizeUnitPopoverVisible ] = useState( false );\n\tconst [ fontSizeUnitPopoverAnchor, setFontSizeUnitPopoverAnchor ] = useState( null );\n\tconst [ lineHeightUnitPopoverVisible, setLineHeightUnitPopoverVisible ] = useState( false );\n\tconst [ lineHeightUnitPopoverAnchor, setLineHeightUnitPopoverAnchor ] = useState( null );\n\tconst [ letterSpacingUnitPopoverVisible, setLetterSpacingUnitPopoverVisible ] = useState( false );\n\tconst [ letterSpacingUnitPopoverAnchor, setLetterSpacingUnitPopoverAnchor ] = useState( null );\n\tconst [ fontSettingsPopoverVisible, setFontSettingsPopoverVisible ] = useState( false );\n\tconst [ fontSettingsPopoverAnchor, setFontSettingsPopoverAnchor ] = useState( null );\n\tconst [ isVisible, setIsVisible ] = useState( false ); // for the main typography settings popup.\n\tconst [ isToggled, setIsToggled ] = useState( false ); // for the main typography settings popup.\n\n\tconst getDefaultValues = () => {\n\t\treturn {\n\t\t\tmobile: {\n\t\t\t\tfontFamily: props.values.mobile.fontFamily,\n\t\t\t\tfontFamilySlug: props.values.mobile.fontFamilySlug,\n\t\t\t\tfontSize: props.values.mobile.fontSize,\n\t\t\t\tfontSizeUnit: props.values.mobile.fontSizeUnit,\n\t\t\t\tfontWeight: props.values.mobile.fontWeight,\n\t\t\t\tlineHeight: props.values.mobile.lineHeight,\n\t\t\t\tlineHeightUnit: props.values.mobile.lineHeightUnit,\n\t\t\t\ttextTransform: props.values.mobile.textTransform,\n\t\t\t\tletterSpacing: props.values.mobile.letterSpacing,\n\t\t\t\tletterSpacingUnit: props.values.mobile.letterSpacingUnit,\n\t\t\t\tfontType: props.values.mobile.fontType,\n\t\t\t\tfontFallback: props.values.mobile.fontFallback,\n\t\t\t},\n\t\t\ttablet: {\n\t\t\t\tfontFamily: props.values.tablet.fontFamily,\n\t\t\t\tfontFamilySlug: props.values.tablet.fontFamilySlug,\n\t\t\t\tfontSize: props.values.tablet.fontSize,\n\t\t\t\tfontSizeUnit: props.values.tablet.fontSizeUnit,\n\t\t\t\tfontWeight: props.values.tablet.fontWeight,\n\t\t\t\tlineHeight: props.values.tablet.lineHeight,\n\t\t\t\tlineHeightUnit: props.values.tablet.lineHeightUnit,\n\t\t\t\ttextTransform: props.values.tablet.textTransform,\n\t\t\t\tletterSpacing: props.values.tablet.letterSpacing,\n\t\t\t\tletterSpacingUnit: props.values.tablet.letterSpacingUnit,\n\t\t\t\tfontType: props.values.tablet.fontType,\n\t\t\t\tfontFallback: props.values.tablet.fontFallback,\n\t\t\t},\n\t\t\tdesktop: {\n\t\t\t\tfontFamily: props.values.desktop.fontFamily,\n\t\t\t\tfontFamilySlug: props.values.desktop.fontFamilySlug,\n\t\t\t\tfontSize: props.values.desktop.fontSize,\n\t\t\t\tfontSizeUnit: props.values.desktop.fontSizeUnit,\n\t\t\t\tfontWeight: props.values.desktop.fontWeight,\n\t\t\t\tlineHeight: props.values.desktop.lineHeight,\n\t\t\t\tlineHeightUnit: props.values.desktop.lineHeightUnit,\n\t\t\t\ttextTransform: props.values.desktop.textTransform,\n\t\t\t\tletterSpacing: props.values.desktop.letterSpacing,\n\t\t\t\tletterSpacingUnit: props.values.desktop.letterSpacingUnit,\n\t\t\t\tfontType: props.values.desktop.fontType,\n\t\t\t\tfontFallback: props.values.desktop.fontFallback,\n\t\t\t},\n\t\t};\n\t};\n\n\tconst {\n\t\tcontrol,\n\t\tsetValue,\n\t\tgetValues,\n\t} = useForm( {\n\t\tdefaultValues: getDefaultValues(),\n\t} );\n\n\tconst formValues = useWatch( { control } );\n\n\tconst { label } = props;\n\n\tuseEffect( () => {\n\t\tprops.onValuesChange( formValues );\n\t}, [ formValues ] );\n\n\tuseEffect( () => {\n\t\tsetScreenSize( props.screenSize.toLowerCase() );\n\t\tsetValue( props.screenSize.toLowerCase(), getValues( props.screenSize.toLowerCase() ) );\n\t}, [ props.screenSize ] );\n\n\t/**\n\t * Close color popup if visible.\n\t */\n\tconst toggleClose = () => {\n\t\tsetIsToggled( true );\n\t\tsetIsVisible( ! isVisible );\n\t\tsetTimeout( () => {\n\t\t\tsetIsToggled( false );\n\t\t}, 500 );\n\t};\n\n\t// Retrieve the list all available fonts.\n\tconst getFonts = () => {\n\t\tconst adobeFonts = has_gutenberg.adobeFonts;\n\t\tconst fonts = [];\n\t\tconst families = Object.values( fontFamilies );\n\t\tconst mergedFamilies = [];\n\t\tfamilies.forEach( ( fontFamily ) => {\n\t\t\tfonts.push( { label: fontFamily.name, value: fontFamily.slug } );\n\t\t\tmergedFamilies.push( { family: fontFamily.family, slug: fontFamily.slug, fallback: fontFamily.fallback, type: fontFamily.type } );\n\t\t} );\n\t\t// Push adobe fonts to the front.\n\t\tadobeFonts.forEach( ( font ) => {\n\t\t\tfonts.unshift( { label: font.name, value: font.slug } );\n\t\t\tmergedFamilies.push( { family: font.family, slug: font.slug, fallback: font.fallback, type: 'adobe' } );\n\t\t} );\n\t\t// Add placeholder.\n\t\tfonts.unshift( { label: __( 'Select a Font', 'highlight-and-share' ), value: '' } );\n\t\treturn (\n\t\t\t<>\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\n\t\t\t\t\t\t\t\t// Get font family name for CSS.\n\t\t\t\t\t\t\t\tmergedFamilies.forEach( ( font ) => {\n\t\t\t\t\t\t\t\t\tif ( font.slug === newValue ) {\n\t\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontFamily`, font.family );\n\t\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontFallback`, font.fallback );\n\t\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontType`, font.type );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t>\n\t\t);\n\t};\n\n\tconst getTextTransform = () => {\n\t\tconst textTransform = [\n\t\t\t{ label: __( 'None', 'highlight-and-share' ), value: 'none' },\n\t\t\t{ label: __( 'Uppercase', 'highlight-and-share' ), value: 'uppercase' },\n\t\t\t{ label: __( 'Lowercase', 'highlight-and-share' ), value: 'lowercase' },\n\t\t\t{ label: __( 'Capitalize', 'highlight-and-share' ), value: 'capitalize' },\n\t\t];\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t {\n\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst getFontSize = () => {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).fontSize, 'fontSize' ) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t {\n\t\t\t\t\t\tsetFontSizeUnitPopoverVisible( ! fontSizeUnitPopoverVisible );\n\t\t\t\t\t} }\n\t\t\t\t\tref={ setFontSizeUnitPopoverAnchor }\n\t\t\t\t>{ getValues( `${ screenSize }.fontSizeUnit` ) }\n\t\t\t\t\n\t\t\t\t{ true === fontSizeUnitPopoverVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontSizeUnit`, 'px' );\n\t\t\t\t\t\t\t\t\tsetFontSizeUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>px\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontSizeUnit`, 'em' );\n\t\t\t\t\t\t\t\t\tsetFontSizeUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>em\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontSizeUnit`, 'rem' );\n\t\t\t\t\t\t\t\t\tsetFontSizeUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>rem\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t>\n\t\t);\n\t};\n\n\tconst getFontWeights = () => {\n\t\tconst fontWeights = [\n\t\t\t{ label: __( '100', 'highlight-and-share' ), value: '100' },\n\t\t\t{ label: __( '200', 'highlight-and-share' ), value: '200' },\n\t\t\t{ label: __( '300', 'highlight-and-share' ), value: '300' },\n\t\t\t{ label: __( '400', 'highlight-and-share' ), value: '400' },\n\t\t\t{ label: __( '500', 'highlight-and-share' ), value: '500' },\n\t\t\t{ label: __( '600', 'highlight-and-share' ), value: '600' },\n\t\t\t{ label: __( '700', 'highlight-and-share' ), value: '700' },\n\t\t\t{ label: __( '800', 'highlight-and-share' ), value: '800' },\n\t\t\t{ label: __( '900', 'highlight-and-share' ), value: '900' },\n\t\t];\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t {\n\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst getLineHeight = () => {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).lineHeight, 'lineHeight' ) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t {\n\t\t\t\t\t\tsetLineHeightUnitPopoverVisible( ! lineHeightUnitPopoverVisible );\n\t\t\t\t\t} }\n\t\t\t\t\tref={ setLineHeightUnitPopoverAnchor }\n\t\t\t\t>{ getValues( `${ screenSize }.lineHeightUnit` ) }\n\t\t\t\t\n\t\t\t\t{ true === lineHeightUnitPopoverVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.lineHeightUnit`, 'px' );\n\t\t\t\t\t\t\t\t\tsetLineHeightUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>px\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.lineHeightUnit`, 'em' );\n\t\t\t\t\t\t\t\t\tsetLineHeightUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>em\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.lineHeightUnit`, 'rem' );\n\t\t\t\t\t\t\t\t\tsetLineHeightUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>rem\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t>\n\t\t);\n\t};\n\n\tconst getFontType = () => {\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst getFontFallback = () => {\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst getLetterSpacing = () => {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).letterSpacing, 'letterSpacing' ) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t {\n\t\t\t\t\t\tsetLetterSpacingUnitPopoverVisible( ! letterSpacingUnitPopoverVisible );\n\t\t\t\t\t} }\n\t\t\t\t\tref={ setLetterSpacingUnitPopoverAnchor }\n\t\t\t\t>{ getValues( `${ screenSize }.letterSpacingUnit` ) }\n\t\t\t\t\n\t\t\t\t{ true === letterSpacingUnitPopoverVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.letterSpacingUnit`, 'px' );\n\t\t\t\t\t\t\t\t\tsetLetterSpacingUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>px\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.letterSpacingUnit`, 'em' );\n\t\t\t\t\t\t\t\t\tsetLetterSpacingUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>em\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.letterSpacingUnit`, 'rem' );\n\t\t\t\t\t\t\t\t\tsetLetterSpacingUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>rem\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t>\n\t\t);\n\t};\n\n\tconst getPopoverContent = () => {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getFonts() }\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getTextTransform() }\n\t\t\t\t\t\t{ getFontType() }\n\t\t\t\t\t\t{ getFontFallback() }\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getFontSize() }\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getFontWeights() }\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getLineHeight() }\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getLetterSpacing() }\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{ label }\n\t\t\t
\n\t\t\t\n\t\t\t\t
{\n\t\t\t\t\t\tif ( isToggled ) {\n\t\t\t\t\t\t\tsetIsToggled( false );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsetIsVisible( ! isVisible );\n\t\t\t\t\t\t}\n\t\t\t\t\t} }\n\t\t\t\t\ticon=\"admin-settings\"\n\t\t\t\t/>\n\t\t\t\t{ true === isVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t{ getPopoverContent() }\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t \n\t\t\n\t);\n};\nexport default Typography;\n","/**\n * Unit Picker Component.\n * Credit: Forked from @GenerateBlocks\n */\nimport React from 'react';\n\nimport { __, sprintf, _x } from '@wordpress/i18n';\nimport './editor.scss';\n\nimport { ButtonGroup, Button, Tooltip } from '@wordpress/components';\n\nconst UnitChooser = ( props ) => {\n\tconst { label, value, onClick, units } = props;\n\n\treturn (\n\t\t\n\t\t\t
{ label }
\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{ units.map( ( unit ) => {\n\t\t\t\t\t\tlet unitName = unit;\n\n\t\t\t\t\t\tif ( 'px' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Pixel',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( 'em' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Em',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( '%' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Percentage',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( 'vw' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'View Width',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( 'rem' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Rem',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( 'deg' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Degree',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t onClick( unit ) }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{ unit }\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t);\n\t\t\t\t\t} ) }\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default UnitChooser;\n","import { useDispatch, useSelect, dispatch } from '@wordpress/data';\nimport { useEffect } from '@wordpress/element';\n\n/* Credits: Forked from GenerateBlocks */\n\nexport default () => {\n\tconst {\n\t\t__experimentalSetPreviewDeviceType: setPreviewDeviceType = () => {},\n\t} = useDispatch( 'core/edit-post' );\n\n\tconst deviceType = useSelect( ( select ) => {\n\t\tconst {\n\t\t\t__experimentalGetPreviewDeviceType: experimentalGetPreviewDeviceType = () => false,\n\t\t} = select( 'core/edit-post' );\n\n\t\treturn experimentalGetPreviewDeviceType();\n\t}, [] );\n\n\tuseEffect( () => {\n\t}, [ deviceType ] );\n\n\tconst setDeviceType = ( type ) => {\n\t\tsetPreviewDeviceType( type );\n\t};\n\n\treturn [ deviceType, setDeviceType ];\n};\n","import React from 'react';\nimport shorthandCSS from './ShorthandCSS';\n\n/**\n * Build CSS rules for dimensions and screen size.\n *\n * @param {Object} props Dimensions array (see /components/DimensionsBlock).\n * @param {string} screenSize mobile|tablet|desktop.\n *\n * @return {string} CSS rules.\n */\nexport function buildDimensionsCSS( props, screenSize ) {\n\tscreenSize = screenSize.toLowerCase();\n\tconst dimensions = props[ screenSize ];\n\n\tif ( 'desktop' === screenSize ) {\n\t\tconst top = dimensions.top;\n\t\tconst right = dimensions.right;\n\t\tconst bottom = dimensions.bottom;\n\t\tconst left = dimensions.left;\n\t\tconst unit = dimensions.unit;\n\n\t\treturn shorthandCSS( top, right, bottom, left, unit );\n\t}\n\n\tif ( 'tablet' === screenSize || 'mobile' === screenSize ) {\n\t\tconst top = geHierarchicalPlaceholderValue( props, screenSize, dimensions.top, 'top' );\n\t\tconst right = geHierarchicalPlaceholderValue( props, screenSize, dimensions.right, 'right' );\n\t\tconst bottom = geHierarchicalPlaceholderValue( props, screenSize, dimensions.bottom, 'bottom' );\n\t\tconst left = geHierarchicalPlaceholderValue( props, screenSize, dimensions.left, 'left' );\n\t\tconst unit = getHierarchicalValueUnit( props, screenSize, dimensions.unit );\n\n\t\treturn shorthandCSS( top, right, bottom, left, unit );\n\t}\n\n\treturn '';\n}\n\n/**\n * Get a value placeholder based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n * @param {string} type Type of value (top, right, bottom, left, etc.).\n *\n * @return {string} Value placeholder.\n */\nexport function geHierarchicalPlaceholderValue( props, screenSize, value, type ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && '' === value ) {\n\t\t// Check tablet.\n\t\tif ( '' !== props.tablet[ type ] ) {\n\t\t\treturn props.tablet[ type ];\n\t\t} else if ( '' !== props.desktop[ type ] ) {\n\t\t\t// Check desktop.\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t}\n\n\t// Check tablet screen size.\n\tif ( 'tablet' === screenSize && '' === value ) {\n\t\tif ( '' !== props.desktop[ type ] ) {\n\t\t\t// Check desktop.\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t}\n\n\tif ( '' !== value ) {\n\t\treturn value;\n\t}\n\n\treturn '0';\n}\n\n/**\n * Get a value placeholder based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n *\n * @return {string} Value default or hierarchical value.\n */\nexport function getHierarchicalValueUnit( props, screenSize, value ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && null === value ) {\n\t\tif ( null === props.tablet.unit ) {\n\t\t\treturn props.desktop.unit;\n\t\t}\n\t\treturn props.tablet.unit;\n\t}\n\tif ( 'tablet' === screenSize && null === value ) {\n\t\treturn props.desktop.unit;\n\t}\n\tif ( null === value ) {\n\t\treturn 'px';\n\t}\n\treturn value;\n}\n\n/**\n * Get a value based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n *\n * @return {boolean} Value default or hierarchical value.\n */\nexport function getHierarchicalValueUnitSync( props, screenSize, value ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && null === value ) {\n\t\tif ( null === props.tablet.unitSync ) {\n\t\t\treturn props.desktop.unitSync;\n\t\t}\n\t\treturn props.tablet.unitSync;\n\t}\n\tif ( 'tablet' === screenSize && null === value ) {\n\t\treturn props.desktop.unitSync;\n\t}\n\tif ( null === value ) {\n\t\treturn true;\n\t}\n\treturn value;\n}\n","const gradients = [\n\t{\n\t\tlabel: 'Warm Flame',\n\t\tvalue:\n\t\t\t'linear-gradient(45deg, rgb(255,154,158) 0%, rgb(250,208,196) 99%, rgb(250,208,196) 100%)',\n\t},\n\t{\n\t\tlabel: 'Night Fade',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(161,140,209) 0%, rgb(251,194,235) 100%)',\n\t},\n\t{\n\t\tlabel: 'Spring Warmth',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(250,208,196) 0%, rgb(255,209,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Juicy Peach',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(255,236,210) 0%, rgb(252,182,159) 100%)',\n\t},\n\t{\n\t\tlabel: 'Young Passion',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(255,129,119) 0%, rgb(255,134,122) 0%, rgb(255,140,127) 21%, rgb(249,145,133) 52%, rgb(207,85,108) 78%, rgb(177,42,91) 100%)',\n\t},\n\t{\n\t\tlabel: 'Lady Lips',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(255,154,158) 0%, rgb(254,207,239) 99%, rgb(254,207,239) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sunny Morning',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(246,211,101) 0%, rgb(253,160,133) 100%)',\n\t},\n\t{\n\t\tlabel: 'Rainy Ashville',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(251,194,235) 0%, rgb(166,193,238) 100%)',\n\t},\n\t{\n\t\tlabel: 'Frozen Dreams',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(253,203,241) 0%, rgb(253,203,241) 1%, rgb(230,222,233) 100%)',\n\t},\n\t{\n\t\tlabel: 'Winter Neva',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(161,196,253) 0%, rgb(194,233,251) 100%)',\n\t},\n\t{\n\t\tlabel: 'Dusty Grass',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(212,252,121) 0%, rgb(150,230,161) 100%)',\n\t},\n\t{\n\t\tlabel: 'Tempting Azure',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(132,250,176) 0%, rgb(143,211,244) 100%)',\n\t},\n\t{\n\t\tlabel: 'Heavy Rain',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(207,217,223) 0%, rgb(226,235,240) 100%)',\n\t},\n\t{\n\t\tlabel: 'Amy Crisp',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(166,192,254) 0%, rgb(246,128,132) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mean Fruit',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(252,203,144) 0%, rgb(213,126,235) 100%)',\n\t},\n\t{\n\t\tlabel: 'Deep Blue',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(224,195,252) 0%, rgb(142,197,252) 100%)',\n\t},\n\t{\n\t\tlabel: 'Ripe Malinka',\n\t\tvalue: 'linear-gradient(120deg, rgb(240,147,251) 0%, rgb(245,87,108) 100%)',\n\t},\n\t{\n\t\tlabel: 'Cloudy Knoxville',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(253,251,251) 0%, rgb(235,237,238) 100%)',\n\t},\n\t{\n\t\tlabel: 'Malibu Beach',\n\t\tvalue: 'linear-gradient(to right, rgb(79,172,254) 0%, rgb(0,242,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'New Life',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(67,233,123) 0%, rgb(56,249,215) 100%)',\n\t},\n\t{\n\t\tlabel: 'True Sunset',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(250,112,154) 0%, rgb(254,225,64) 100%)',\n\t},\n\t{\n\t\tlabel: 'Morpheus Den',\n\t\tvalue: 'linear-gradient(to top, rgb(48,207,208) 0%, rgb(51,8,103) 100%)',\n\t},\n\t{\n\t\tlabel: 'Rare Wind',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(168,237,234) 0%, rgb(254,214,227) 100%)',\n\t},\n\t{\n\t\tlabel: 'Near Moon',\n\t\tvalue: 'linear-gradient(to top, rgb(94,231,223) 0%, rgb(180,144,202) 100%)',\n\t},\n\t{\n\t\tlabel: 'Wild Apple',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(210,153,194) 0%, rgb(254,249,215) 100%)',\n\t},\n\t{\n\t\tlabel: 'Saint Petersburg',\n\t\tvalue:\n\t\t\t'linear-gradient(135deg, rgb(245,247,250) 0%, rgb(195,207,226) 100%)',\n\t},\n\t{\n\t\tlabel: 'Arielles Smile',\n\t\tvalue:\n\t\t\t'radial-gradient(circle 248px at center, rgb(22,217,227) 0%, rgb(48,199,236) 47%, rgb(70,174,247) 100%)',\n\t},\n\t{\n\t\tlabel: 'Plum Plate',\n\t\tvalue: 'linear-gradient(135deg, rgb(102,126,234) 0%, rgb(118,75,162) 100%)',\n\t},\n\t{\n\t\tlabel: 'Everlasting Sky',\n\t\tvalue:\n\t\t\t'linear-gradient(135deg, rgb(253,252,251) 0%, rgb(226,209,195) 100%)',\n\t},\n\t{\n\t\tlabel: 'Happy Fisher',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(137,247,254) 0%, rgb(102,166,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Blessing',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(253,219,146) 0%, rgb(209,253,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sharpeye Eagle',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(152,144,227) 0%, rgb(177,244,207) 100%)',\n\t},\n\t{\n\t\tlabel: 'Ladoga Bottom',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(235,192,253) 0%, rgb(217,222,216) 100%)',\n\t},\n\t{\n\t\tlabel: 'Lemon Gate',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(150,251,196) 0%, rgb(249,245,134) 100%)',\n\t},\n\t{\n\t\tlabel: 'Itmeo Branding',\n\t\tvalue: 'linear-gradient(180deg, rgb(42,245,152) 0%, rgb(0,158,253) 100%)',\n\t},\n\t{\n\t\tlabel: 'Zeus Miracle',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(205,156,242) 0%, rgb(246,243,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Old Hat',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(228,175,203) 0%, rgb(184,203,184) 0%, rgb(184,203,184) 0%, rgb(226,197,139) 30%, rgb(194,206,156) 64%, rgb(126,219,220) 100%)',\n\t},\n\t{\n\t\tlabel: 'Star Wine',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(184,203,184) 0%, rgb(184,203,184) 0%, rgb(180,101,218) 0%, rgb(207,108,201) 33%, rgb(238,96,156) 66%, rgb(238,96,156) 100%)',\n\t},\n\t{\n\t\tlabel: 'Deep Blue',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(106,17,203) 0%, rgb(37,117,252) 100%)',\n\t},\n\t{\n\t\tlabel: 'Happy Acid',\n\t\tvalue: 'linear-gradient(to top, rgb(55,236,186) 0%, rgb(114,175,211) 100%)',\n\t},\n\t{\n\t\tlabel: 'Awesome Pine',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(235,187,167) 0%, rgb(207,199,248) 100%)',\n\t},\n\t{\n\t\tlabel: 'New York',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(255,241,235) 0%, rgb(172,224,249) 100%)',\n\t},\n\t{\n\t\tlabel: 'Shy Rainbow',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(238,162,162) 0%, rgb(187,193,191) 19%, rgb(87,198,225) 42%, rgb(180,159,218) 79%, rgb(122,197,216) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mixed Hopes',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(196,113,245) 0%, rgb(250,113,205) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fly High',\n\t\tvalue: 'linear-gradient(to top, rgb(72,198,239) 0%, rgb(111,134,214) 100%)',\n\t},\n\t{\n\t\tlabel: 'Strong Bliss',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(247,140,160) 0%, rgb(249,116,143) 19%, rgb(253,134,140) 60%, rgb(254,154,139) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fresh Milk',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(254,173,166) 0%, rgb(245,239,239) 100%)',\n\t},\n\t{\n\t\tlabel: 'Snow Again',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(230,233,240) 0%, rgb(238,241,245) 100%)',\n\t},\n\t{\n\t\tlabel: 'February Ink',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(172,203,238) 0%, rgb(231,240,253) 100%)',\n\t},\n\t{\n\t\tlabel: 'Kind Steel',\n\t\tvalue:\n\t\t\t'linear-gradient(-20deg, rgb(233,222,250) 0%, rgb(251,252,219) 100%)',\n\t},\n\t{\n\t\tlabel: 'Soft Grass',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(193,223,196) 0%, rgb(222,236,221) 100%)',\n\t},\n\t{\n\t\tlabel: 'Grown Early',\n\t\tvalue: 'linear-gradient(to top, rgb(11,163,96) 0%, rgb(60,186,146) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sharp Blues',\n\t\tvalue: 'linear-gradient(to top, rgb(0,198,251) 0%, rgb(0,91,234) 100%)',\n\t},\n\t{\n\t\tlabel: 'Shady Water',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(116,235,213) 0%, rgb(159,172,230) 100%)',\n\t},\n\t{\n\t\tlabel: 'Dirty Beauty',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(106,133,182) 0%, rgb(186,200,224) 100%)',\n\t},\n\t{\n\t\tlabel: 'Great Whale',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(163,189,237) 0%, rgb(105,145,199) 100%)',\n\t},\n\t{\n\t\tlabel: 'Teen Notebook',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(151,149,240) 0%, rgb(251,200,212) 100%)',\n\t},\n\t{\n\t\tlabel: 'Polite Rumors',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(167,166,203) 0%, rgb(137,137,186) 52%, rgb(137,137,186) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sweet Period',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(63,81,177) 0%, rgb(90,85,174) 13%, rgb(123,95,172) 25%, rgb(143,106,174) 38%, rgb(168,106,164) 50%, rgb(204,107,142) 62%, rgb(241,130,113) 75%, rgb(243,164,105) 87%, rgb(247,201,120) 100%)',\n\t},\n\t{\n\t\tlabel: 'Wide Matrix',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(252,197,228) 0%, rgb(253,163,75) 15%, rgb(255,120,130) 35%, rgb(200,105,158) 52%, rgb(112,70,170) 71%, rgb(12,29,184) 87%, rgb(2,15,117) 100%)',\n\t},\n\t{\n\t\tlabel: 'Soft Cherish',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(219,220,215) 0%, rgb(221,220,215) 24%, rgb(226,201,204) 30%, rgb(231,98,125) 46%, rgb(184,35,90) 59%, rgb(128,19,87) 71%, rgb(61,22,53) 84%, rgb(28,26,39) 100%)',\n\t},\n\t{\n\t\tlabel: 'Red Salvation',\n\t\tvalue: 'linear-gradient(to top, rgb(244,59,71) 0%, rgb(69,58,148) 100%)',\n\t},\n\t{\n\t\tlabel: 'Burning Spring',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(79,181,118) 0%, rgb(68,196,137) 30%, rgb(40,169,174) 46%, rgb(40,162,183) 59%, rgb(76,119,136) 71%, rgb(108,79,99) 86%, rgb(67,44,57) 100%)',\n\t},\n\t{\n\t\tlabel: 'Night Party',\n\t\tvalue: 'linear-gradient(to top, rgb(2,80,197) 0%, rgb(212,63,141) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sky Glider',\n\t\tvalue: 'linear-gradient(to top, rgb(136,211,206) 0%, rgb(110,69,226) 100%)',\n\t},\n\t{\n\t\tlabel: 'Heaven Peach',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(217,175,217) 0%, rgb(151,217,225) 100%)',\n\t},\n\t{\n\t\tlabel: 'Purple Division',\n\t\tvalue: 'linear-gradient(to top, rgb(112,40,228) 0%, rgb(229,178,202) 100%)',\n\t},\n\t{\n\t\tlabel: 'Aqua Splash',\n\t\tvalue: 'linear-gradient(15deg, rgb(19,84,122) 0%, rgb(128,208,199) 100%)',\n\t},\n\t{\n\t\tlabel: 'Spiky Naga',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(80,82,133) 0%, rgb(88,94,146) 12%, rgb(101,104,159) 25%, rgb(116,116,176) 37%, rgb(126,126,187) 50%, rgb(131,137,199) 62%, rgb(151,149,212) 75%, rgb(162,161,220) 87%, rgb(181,174,228) 100%)',\n\t},\n\t{\n\t\tlabel: 'Love Kiss',\n\t\tvalue: 'linear-gradient(to top, rgb(255,8,68) 0%, rgb(255,177,153) 100%)',\n\t},\n\t{\n\t\tlabel: 'Cochiti Lake',\n\t\tvalue: 'linear-gradient(45deg, rgb(147,165,207) 0%, rgb(228,239,233) 100%)',\n\t},\n\t{\n\t\tlabel: 'Premium Dark',\n\t\tvalue: 'linear-gradient(to right, rgb(67,67,67) 0%, black 100%)',\n\t},\n\t{\n\t\tlabel: 'Cold Evening',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(12,52,131) 0%, rgb(162,182,223) 100%, rgb(107,140,206) 100%, rgb(162,182,223) 100%)',\n\t},\n\t{\n\t\tlabel: 'Summer Games',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(146,254,157) 0%, rgb(0,201,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Passionate Bed',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(255,117,140) 0%, rgb(255,126,179) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mountain Rock',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(134,143,150) 0%, rgb(89,97,100) 100%)',\n\t},\n\t{\n\t\tlabel: 'Desert Hump',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(199,144,129) 0%, rgb(223,165,121) 100%)',\n\t},\n\t{\n\t\tlabel: 'Jungle Day',\n\t\tvalue: 'linear-gradient(45deg, rgb(139,170,170) 0%, rgb(174,139,156) 100%)',\n\t},\n\t{\n\t\tlabel: 'Phoenix Start',\n\t\tvalue: 'linear-gradient(to right, rgb(248,54,0) 0%, rgb(249,212,35) 100%)',\n\t},\n\t{\n\t\tlabel: 'October Silence',\n\t\tvalue: 'linear-gradient(-20deg, rgb(183,33,255) 0%, rgb(33,212,253) 100%)',\n\t},\n\t{\n\t\tlabel: 'Faraway River',\n\t\tvalue: 'linear-gradient(-20deg, rgb(110,69,226) 0%, rgb(136,211,206) 100%)',\n\t},\n\t{\n\t\tlabel: 'Alchemist Lab',\n\t\tvalue: 'linear-gradient(-20deg, rgb(213,88,200) 0%, rgb(36,210,146) 100%)',\n\t},\n\t{\n\t\tlabel: 'Over Sun',\n\t\tvalue: 'linear-gradient(60deg, rgb(171,236,214) 0%, rgb(251,237,150) 100%)',\n\t},\n\t{\n\t\tlabel: 'Premium White',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(213,212,208) 0%, rgb(213,212,208) 1%, rgb(238,238,236) 31%, rgb(239,238,236) 75%, rgb(233,233,231) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mars Party',\n\t\tvalue: 'linear-gradient(to top, rgb(95,114,189) 0%, rgb(155,35,234) 100%)',\n\t},\n\t{\n\t\tlabel: 'Eternal Constance',\n\t\tvalue: 'linear-gradient(to top, rgb(9,32,63) 0%, rgb(83,120,149) 100%)',\n\t},\n\t{\n\t\tlabel: 'Japan Blush',\n\t\tvalue:\n\t\t\t'linear-gradient(-20deg, rgb(221,214,243) 0%, rgb(250,172,168) 100%, rgb(250,172,168) 100%)',\n\t},\n\t{\n\t\tlabel: 'Smiling Rain',\n\t\tvalue:\n\t\t\t'linear-gradient(-20deg, rgb(220,176,237) 0%, rgb(153,201,156) 100%)',\n\t},\n\t{\n\t\tlabel: 'Cloudy Apple',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(243,231,233) 0%, rgb(227,238,255) 99%, rgb(227,238,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Big Mango',\n\t\tvalue: 'linear-gradient(to top, rgb(199,29,111) 0%, rgb(208,150,147) 100%)',\n\t},\n\t{\n\t\tlabel: 'Healthy Water',\n\t\tvalue: 'linear-gradient(60deg, rgb(150,222,218) 0%, rgb(80,201,195) 100%)',\n\t},\n\t{\n\t\tlabel: 'Amour Amour',\n\t\tvalue: 'linear-gradient(to top, rgb(247,112,98) 0%, rgb(254,81,150) 100%)',\n\t},\n\t{\n\t\tlabel: 'Risky Concrete',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(196,197,199) 0%, rgb(220,221,223) 52%, rgb(235,235,235) 100%)',\n\t},\n\t{\n\t\tlabel: 'Strong Stick',\n\t\tvalue: 'linear-gradient(to right, rgb(168,202,186) 0%, rgb(93,65,87) 100%)',\n\t},\n\t{\n\t\tlabel: 'Vicious Stance',\n\t\tvalue: 'linear-gradient(60deg, rgb(41,50,60) 0%, rgb(72,85,99) 100%)',\n\t},\n\t{\n\t\tlabel: 'Palo Alto',\n\t\tvalue: 'linear-gradient(-60deg, rgb(22,160,133) 0%, rgb(244,208,63) 100%)',\n\t},\n\t{\n\t\tlabel: 'Happy Memories',\n\t\tvalue: 'linear-gradient(-60deg, rgb(255,88,88) 0%, rgb(240,152,25) 100%)',\n\t},\n\t{\n\t\tlabel: 'Midnight Bloom',\n\t\tvalue: 'linear-gradient(-20deg, rgb(43,88,118) 0%, rgb(78,67,118) 100%)',\n\t},\n\t{\n\t\tlabel: 'Crystalline',\n\t\tvalue: 'linear-gradient(-20deg, rgb(0,205,172) 0%, rgb(141,218,213) 100%)',\n\t},\n\t{\n\t\tlabel: 'River City',\n\t\tvalue: 'linear-gradient(to top, rgb(68,129,235) 0%, rgb(4,190,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'Confident Cloud',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(218,212,236) 0%, rgb(218,212,236) 1%, rgb(243,231,233) 100%)',\n\t},\n\t{\n\t\tlabel: 'Le Cocktail',\n\t\tvalue: 'linear-gradient(45deg, rgb(135,77,162) 0%, rgb(196,58,48) 100%)',\n\t},\n\t{\n\t\tlabel: 'Frozen Berry',\n\t\tvalue: 'linear-gradient(to top, rgb(232,25,139) 0%, rgb(199,234,253) 100%)',\n\t},\n\t{\n\t\tlabel: 'Child Care',\n\t\tvalue:\n\t\t\t'linear-gradient(-20deg, rgb(247,148,164) 0%, rgb(253,214,189) 100%)',\n\t},\n\t{\n\t\tlabel: 'Flying Lemon',\n\t\tvalue: 'linear-gradient(60deg, rgb(100,179,244) 0%, rgb(194,229,156) 100%)',\n\t},\n\t{\n\t\tlabel: 'New Retrowave',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(59,65,197) 0%, rgb(169,129,187) 49%, rgb(255,200,169) 100%)',\n\t},\n\t{\n\t\tlabel: 'Hidden Jaguar',\n\t\tvalue: 'linear-gradient(to top, rgb(15,216,80) 0%, rgb(249,240,71) 100%)',\n\t},\n\t{\n\t\tlabel: 'Above The Sky',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, lightgrey 0%, lightgrey 1%, rgb(224,224,224) 26%, rgb(239,239,239) 48%, rgb(217,217,217) 75%, rgb(188,188,188) 100%)',\n\t},\n\t{\n\t\tlabel: 'Nega',\n\t\tvalue: 'linear-gradient(45deg, rgb(238,156,167) 0%, rgb(255,221,225) 100%)',\n\t},\n\t{\n\t\tlabel: 'Dense Water',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(58,181,176) 0%, rgb(61,153,190) 31%, rgb(86,49,122) 100%)',\n\t},\n\t{\n\t\tlabel: 'Seashore',\n\t\tvalue: 'linear-gradient(to top, rgb(32,156,255) 0%, rgb(104,224,207) 100%)',\n\t},\n\t{\n\t\tlabel: 'Marble Wall',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(189,194,232) 0%, rgb(189,194,232) 1%, rgb(230,222,233) 100%)',\n\t},\n\t{\n\t\tlabel: 'Cheerful Caramel',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(230,185,128) 0%, rgb(234,205,163) 100%)',\n\t},\n\t{\n\t\tlabel: 'Night Sky',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(30,60,114) 0%, rgb(30,60,114) 1%, rgb(42,82,152) 100%)',\n\t},\n\t{\n\t\tlabel: 'Magic Lake',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(213,222,231) 0%, rgb(255,175,189) 0%, rgb(201,255,191) 100%)',\n\t},\n\t{\n\t\tlabel: 'Young Grass',\n\t\tvalue: 'linear-gradient(to top, rgb(155,225,93) 0%, rgb(0,227,174) 100%)',\n\t},\n\t{\n\t\tlabel: 'Royal Garden',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(237,110,160) 0%, rgb(236,140,105) 100%)',\n\t},\n\t{\n\t\tlabel: 'Gentle Care',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(255,195,160) 0%, rgb(255,175,189) 100%)',\n\t},\n\t{\n\t\tlabel: 'Plum Bath',\n\t\tvalue: 'linear-gradient(to top, rgb(204,32,142) 0%, rgb(103,19,210) 100%)',\n\t},\n\t{\n\t\tlabel: 'Happy Unicorn',\n\t\tvalue: 'linear-gradient(to top, rgb(179,255,171) 0%, rgb(18,255,247) 100%)',\n\t},\n\t{\n\t\tlabel: 'African Field',\n\t\tvalue:\n\t\t\t'linear-gradient(-45deg, rgb(255,199,150) 0%, rgb(255,107,149) 100%)',\n\t},\n\t{\n\t\tlabel: 'Solid Stone',\n\t\tvalue: 'linear-gradient(to right, rgb(36,57,73) 0%, rgb(81,127,164) 100%)',\n\t},\n\t{\n\t\tlabel: 'Orange Juice',\n\t\tvalue: 'linear-gradient(-20deg, rgb(252,96,118) 0%, rgb(255,154,68) 100%)',\n\t},\n\t{\n\t\tlabel: 'Glass Water',\n\t\tvalue: 'linear-gradient(to top, rgb(223,233,243) 0%, white 100%)',\n\t},\n\t{\n\t\tlabel: 'North Miracle',\n\t\tvalue: 'linear-gradient(to right, rgb(0,219,222) 0%, rgb(252,0,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fruit Blend',\n\t\tvalue: 'linear-gradient(to right, rgb(249,212,35) 0%, rgb(255,78,80) 100%)',\n\t},\n\t{\n\t\tlabel: 'Millennium Pine',\n\t\tvalue: 'linear-gradient(to top, rgb(80,204,127) 0%, rgb(245,209,0) 100%)',\n\t},\n\t{\n\t\tlabel: 'High Flight',\n\t\tvalue: 'linear-gradient(to right, rgb(10,207,254) 0%, rgb(73,90,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mole Hall',\n\t\tvalue: 'linear-gradient(-20deg, rgb(97,97,97) 0%, rgb(155,197,195) 100%)',\n\t},\n\t{\n\t\tlabel: 'Space Shift',\n\t\tvalue:\n\t\t\t'linear-gradient(60deg, rgb(61,51,147) 0%, rgb(43,118,185) 37%, rgb(44,172,209) 65%, rgb(53,235,147) 100%)',\n\t},\n\t{\n\t\tlabel: 'Forest Inei',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(223,137,181) 0%, rgb(191,217,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'Rich Metal',\n\t\tvalue: 'linear-gradient(to right, rgb(215,210,204) 0%, rgb(48,67,82) 100%)',\n\t},\n\t{\n\t\tlabel: 'Juicy Cake',\n\t\tvalue: 'linear-gradient(to top, rgb(225,79,173) 0%, rgb(249,212,35) 100%)',\n\t},\n\t{\n\t\tlabel: 'Smart Indigo',\n\t\tvalue: 'linear-gradient(to top, rgb(178,36,239) 0%, rgb(117,121,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sand Strike',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(193,193,97) 0%, rgb(193,193,97) 0%, rgb(212,212,177) 100%)',\n\t},\n\t{\n\t\tlabel: 'Norse Beauty',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(236,119,171) 0%, rgb(120,115,245) 100%)',\n\t},\n\t{\n\t\tlabel: 'Aqua Guidance',\n\t\tvalue: 'linear-gradient(to top, rgb(0,122,223) 0%, rgb(0,236,188) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sun Veggie',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(32,226,215) 0%, rgb(249,254,165) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sea Lord',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(44,216,213) 0%, rgb(197,193,255) 56%, rgb(255,186,195) 100%)',\n\t},\n\t{\n\t\tlabel: 'Black Sea',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(44,216,213) 0%, rgb(107,141,214) 48%, rgb(142,55,215) 100%)',\n\t},\n\t{\n\t\tlabel: 'Grass Shampoo',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(223,255,205) 0%, rgb(144,249,196) 48%, rgb(57,243,187) 100%)',\n\t},\n\t{\n\t\tlabel: 'Landing Aircraft',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(93,159,255) 0%, rgb(184,220,255) 48%, rgb(107,187,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Witch Dance',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(168,191,255) 0%, rgb(136,77,128) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sleepless Night',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(82,113,196) 0%, rgb(177,159,255) 48%, rgb(236,161,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'Angel Care',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,226,159) 0%, rgb(255,169,159) 48%, rgb(255,113,154) 100%)',\n\t},\n\t{\n\t\tlabel: 'Crystal River',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(34,225,255) 0%, rgb(29,143,225) 48%, rgb(98,94,177) 100%)',\n\t},\n\t{\n\t\tlabel: 'Soft Lipstick',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(182,206,232) 0%, rgb(245,120,220) 100%)',\n\t},\n\t{\n\t\tlabel: 'Salt Mountain',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,254,255) 0%, rgb(215,255,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'Perfect White',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(227,253,245) 0%, rgb(255,230,250) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fresh Oasis',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(125,226,252) 0%, rgb(185,182,229) 100%)',\n\t},\n\t{\n\t\tlabel: 'Strict November',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(203,186,204) 0%, rgb(37,128,179) 100%)',\n\t},\n\t{\n\t\tlabel: 'Morning Salad',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(183,248,219) 0%, rgb(80,167,194) 100%)',\n\t},\n\t{\n\t\tlabel: 'Deep Relief',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(112,133,182) 0%, rgb(135,167,217) 50%, rgb(222,243,248) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sea Strike',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(119,255,210) 0%, rgb(98,151,219) 48%, rgb(30,236,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Night Call',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(172,50,228) 0%, rgb(121,24,242) 48%, rgb(72,1,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Supreme Sky',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(212,255,236) 0%, rgb(87,242,204) 48%, rgb(69,150,251) 100%)',\n\t},\n\t{\n\t\tlabel: 'Light Blue',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(158,251,211) 0%, rgb(87,233,242) 48%, rgb(69,212,251) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mind Crawl',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(71,59,123) 0%, rgb(53,132,167) 51%, rgb(48,210,190) 100%)',\n\t},\n\t{\n\t\tlabel: 'Lily Meadow',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(101,55,155) 0%, rgb(136,106,234) 53%, rgb(100,87,198) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sugar Lollipop',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(164,69,178) 0%, rgb(212,24,114) 52%, rgb(255,0,102) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sweet Dessert',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(119,66,178) 0%, rgb(241,128,255) 52%, rgb(253,139,217) 100%)',\n\t},\n\t{\n\t\tlabel: 'Magic Ray',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,60,172) 0%, rgb(86,43,124) 52%, rgb(43,134,197) 100%)',\n\t},\n\t{\n\t\tlabel: 'Teen Party',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,5,124) 0%, rgb(141,11,147) 50%, rgb(50,21,117) 100%)',\n\t},\n\t{\n\t\tlabel: 'Frozen Heat',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,5,124) 0%, rgb(124,100,213) 48%, rgb(76,195,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Gagarin View',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(105,234,203) 0%, rgb(234,204,248) 48%, rgb(102,84,241) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fabled Sunset',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(35,21,87) 0%, rgb(68,16,122) 29%, rgb(255,19,97) 67%, rgb(255,248,0) 100%)',\n\t},\n\t{\n\t\tlabel: 'Perfect Blue',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(61,78,129) 0%, rgb(87,83,201) 48%, rgb(110,127,243) 100%)',\n\t},\n];\n\nconst getRandomGradient = () => {\n\tconst randomIndex = Math.floor( Math.random() * gradients.length );\n\treturn gradients[ randomIndex ].value;\n};\nexport default getRandomGradient;\n","/* Credits: Forked from GenerateBlocks */\nexport default function shorthandCSS( top, right, bottom, left, unit ) {\n\tif ( '' === top && '' === right && '' === bottom && '' === left ) {\n\t\treturn;\n\t}\n\n\ttop = ( parseFloat( top ) != 0 && '' !== top ) ? parseFloat( top ) + unit + ' ' : '0 '; // eslint-disable-line eqeqeq\n\tright = ( parseFloat( right ) != 0 && '' !== right ) ? parseFloat( right ) + unit + ' ' : '0 '; // eslint-disable-line eqeqeq\n\tbottom = ( parseFloat( bottom ) != 0 && '' !== bottom ) ? parseFloat( bottom ) + unit + ' ' : '0 '; // eslint-disable-line eqeqeq\n\tleft = ( parseFloat( left ) != 0 && '' !== left ) ? parseFloat( left ) + unit + ' ' : '0 '; // eslint-disable-line eqeqeq\n\n\tif ( right === left ) {\n\t\tleft = '';\n\n\t\tif ( top === bottom ) {\n\t\t\tbottom = '';\n\n\t\t\tif ( top === right ) {\n\t\t\t\tright = '';\n\t\t\t}\n\t\t}\n\t}\n\n\tconst output = top + right + bottom + left;\n\n\treturn output.trim();\n}\n","import React from 'react';\nimport shorthandCSS from './ShorthandCSS';\n\n/**\n * Build CSS rules for dimensions and screen size.\n *\n * @param {Object} props Dimensions array (see /components/DimensionsBlock).\n * @param {string} screenSize mobile|tablet|desktop.\n *\n * @return {string} CSS rules.\n */\nexport function buildDimensionsCSS( props, screenSize ) {\n\tscreenSize = screenSize.toLowerCase();\n\tconst dimensions = props[ screenSize ];\n\n\tif ( 'desktop' === screenSize ) {\n\t\tconst top = dimensions.top;\n\t\tconst right = dimensions.right;\n\t\tconst bottom = dimensions.bottom;\n\t\tconst left = dimensions.left;\n\t\tconst unit = dimensions.unit;\n\n\t\treturn shorthandCSS( top, right, bottom, left, unit );\n\t}\n\n\tif ( 'tablet' === screenSize || 'mobile' === screenSize ) {\n\t\tconst top = geHierarchicalPlaceholderValue( props, screenSize, dimensions.top, 'top' );\n\t\tconst right = geHierarchicalPlaceholderValue( props, screenSize, dimensions.right, 'right' );\n\t\tconst bottom = geHierarchicalPlaceholderValue( props, screenSize, dimensions.bottom, 'bottom' );\n\t\tconst left = geHierarchicalPlaceholderValue( props, screenSize, dimensions.left, 'left' );\n\t\tconst unit = getHierarchicalValueUnit( props, screenSize, dimensions.unit );\n\n\t\treturn shorthandCSS( top, right, bottom, left, unit );\n\t}\n\n\treturn '';\n}\n\n/**\n * Get a value placeholder based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n * @param {string} type Type of value (fontFamily, fontSize, fontWeight, letterSpacing, etc.).\n *\n * @return {string} Value placeholder.\n */\nexport function geHierarchicalPlaceholderValue( props, screenSize, value, type ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && '' === value ) {\n\t\t// Check tablet.\n\t\tif ( '' !== props.tablet[ type ] ) {\n\t\t\treturn props.tablet[ type ];\n\t\t} else if ( '' !== props.desktop[ type ] ) {\n\t\t\t// Check desktop.\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t}\n\n\t// Check tablet screen size.\n\tif ( 'tablet' === screenSize && '' === value ) {\n\t\tif ( '' !== props.desktop[ type ] ) {\n\t\t\t// Check desktop.\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t}\n\n\tif ( '' !== value ) {\n\t\treturn value;\n\t}\n\n\treturn '';\n}\n\n/**\n * Get a value placeholder based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n * @param {string} type Type of value (fontSizeUnit, etc.).\n *\n * @return {string} Value default or hierarchical value.\n */\nexport function getHierarchicalValueUnit( props, screenSize, value, type ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && null === value ) {\n\t\tif ( null === props.tablet[ type ] ) {\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t\treturn props.tablet[ type ];\n\t}\n\tif ( 'tablet' === screenSize && null === value ) {\n\t\treturn props.desktop[ type ];\n\t}\n\tif ( null === value ) {\n\t\treturn 'px';\n\t}\n\treturn value;\n}\n\n/**\n * Get a value based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n *\n * @return {boolean} Value default or hierarchical value.\n */\nexport function getHierarchicalValueUnitSync( props, screenSize, value ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && null === value ) {\n\t\tif ( null === props.tablet.unitSync ) {\n\t\t\treturn props.desktop.unitSync;\n\t\t}\n\t\treturn props.tablet.unitSync;\n\t}\n\tif ( 'tablet' === screenSize && null === value ) {\n\t\treturn props.desktop.unitSync;\n\t}\n\tif ( null === value ) {\n\t\treturn true;\n\t}\n\treturn value;\n}\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\nvar removeHash = function removeHash(hex) {\n return hex.charAt(0) === '#' ? hex.slice(1) : hex;\n};\n\nvar parseHex = function parseHex(nakedHex) {\n var isShort = nakedHex.length === 3 || nakedHex.length === 4;\n var twoDigitHexR = isShort ? \"\".concat(nakedHex.slice(0, 1)).concat(nakedHex.slice(0, 1)) : nakedHex.slice(0, 2);\n var twoDigitHexG = isShort ? \"\".concat(nakedHex.slice(1, 2)).concat(nakedHex.slice(1, 2)) : nakedHex.slice(2, 4);\n var twoDigitHexB = isShort ? \"\".concat(nakedHex.slice(2, 3)).concat(nakedHex.slice(2, 3)) : nakedHex.slice(4, 6);\n var twoDigitHexA = (isShort ? \"\".concat(nakedHex.slice(3, 4)).concat(nakedHex.slice(3, 4)) : nakedHex.slice(6, 8)) || 'ff'; // const numericA = +((parseInt(a, 16) / 255).toFixed(2));\n\n return {\n r: twoDigitHexR,\n g: twoDigitHexG,\n b: twoDigitHexB,\n a: twoDigitHexA\n };\n};\n\nvar hexToDecimal = function hexToDecimal(hex) {\n return parseInt(hex, 16);\n};\n\nvar hexesToDecimals = function hexesToDecimals(_ref) {\n var r = _ref.r,\n g = _ref.g,\n b = _ref.b,\n a = _ref.a;\n return {\n r: hexToDecimal(r),\n g: hexToDecimal(g),\n b: hexToDecimal(b),\n a: +(hexToDecimal(a) / 255).toFixed(2)\n };\n};\n\nvar isNumeric = function isNumeric(n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n}; // eslint-disable-line no-restricted-globals, max-len\n\n\nvar formatRgb = function formatRgb(decimalObject, parameterA) {\n var r = decimalObject.r,\n g = decimalObject.g,\n b = decimalObject.b,\n parsedA = decimalObject.a;\n var a = isNumeric(parameterA) ? parameterA : parsedA;\n return \"rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", \").concat(a, \")\");\n};\n/**\n * Turns an old-fashioned css hex color value into a rgb color value.\n *\n * If you specify an alpha value, you'll get a rgba() value instead.\n *\n * @param The hex value to convert. ('123456'. '#123456', ''123', '#123')\n * @param An alpha value to apply. (optional) ('0.5', '0.25')\n * @return An rgb or rgba value. ('rgb(11, 22, 33)'. 'rgba(11, 22, 33, 0.5)')\n */\n\n\nvar hexToRgba = function hexToRgba(hex, a) {\n var hashlessHex = removeHash(hex);\n var hexObject = parseHex(hashlessHex);\n var decimalObject = hexesToDecimals(hexObject);\n return formatRgb(decimalObject, a);\n};\n\nmodule.exports = hexToRgba;","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","module.exports = window[\"React\"];","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","import React from 'react';\n\nvar isCheckBoxInput = (element) => element.type === 'checkbox';\n\nvar isDateObject = (value) => value instanceof Date;\n\nvar isNullOrUndefined = (value) => value == null;\n\nconst isObjectType = (value) => typeof value === 'object';\r\nvar isObject = (value) => !isNullOrUndefined(value) &&\r\n !Array.isArray(value) &&\r\n isObjectType(value) &&\r\n !isDateObject(value);\n\nvar getEventValue = (event) => isObject(event) && event.target\r\n ? isCheckBoxInput(event.target)\r\n ? event.target.checked\r\n : event.target.value\r\n : event;\n\nvar getNodeParentName = (name) => name.substring(0, name.search(/\\.\\d+(\\.|$)/)) || name;\n\nvar isNameInFieldArray = (names, name) => names.has(getNodeParentName(name));\n\nvar compact = (value) => Array.isArray(value) ? value.filter(Boolean) : [];\n\nvar isUndefined = (val) => val === undefined;\n\nvar get = (obj, path, defaultValue) => {\r\n if (!path || !isObject(obj)) {\r\n return defaultValue;\r\n }\r\n const result = compact(path.split(/[,[\\].]+?/)).reduce((result, key) => isNullOrUndefined(result) ? result : result[key], obj);\r\n return isUndefined(result) || result === obj\r\n ? isUndefined(obj[path])\r\n ? defaultValue\r\n : obj[path]\r\n : result;\r\n};\n\nconst EVENTS = {\r\n BLUR: 'blur',\r\n FOCUS_OUT: 'focusout',\r\n CHANGE: 'change',\r\n};\r\nconst VALIDATION_MODE = {\r\n onBlur: 'onBlur',\r\n onChange: 'onChange',\r\n onSubmit: 'onSubmit',\r\n onTouched: 'onTouched',\r\n all: 'all',\r\n};\r\nconst INPUT_VALIDATION_RULES = {\r\n max: 'max',\r\n min: 'min',\r\n maxLength: 'maxLength',\r\n minLength: 'minLength',\r\n pattern: 'pattern',\r\n required: 'required',\r\n validate: 'validate',\r\n};\n\nconst HookFormContext = React.createContext(null);\r\n/**\r\n * This custom hook allows you to access the form context. useFormContext is intended to be used in deeply nested structures, where it would become inconvenient to pass the context as a prop. To be used with {@link FormProvider}.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)\r\n *\r\n * @returns return all useForm methods\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const methods = useForm();\r\n * const onSubmit = data => console.log(data);\r\n *\r\n * return (\r\n * \r\n * \r\n * \r\n * );\r\n * }\r\n *\r\n * function NestedInput() {\r\n * const { register } = useFormContext(); // retrieve all hook methods\r\n * return ;\r\n * }\r\n * ```\r\n */\r\nconst useFormContext = () => React.useContext(HookFormContext);\r\n/**\r\n * A provider component that propagates the `useForm` methods to all children components via [React Context](https://reactjs.org/docs/context.html) API. To be used with {@link useFormContext}.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)\r\n *\r\n * @param props - all useFrom methods\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const methods = useForm();\r\n * const onSubmit = data => console.log(data);\r\n *\r\n * return (\r\n * \r\n * \r\n * \r\n * );\r\n * }\r\n *\r\n * function NestedInput() {\r\n * const { register } = useFormContext(); // retrieve all hook methods\r\n * return ;\r\n * }\r\n * ```\r\n */\r\nconst FormProvider = (props) => {\r\n const { children, ...data } = props;\r\n return (React.createElement(HookFormContext.Provider, { value: data }, children));\r\n};\n\nvar getProxyFormState = (formState, control, localProxyFormState, isRoot = true) => {\r\n const result = {\r\n defaultValues: control._defaultValues,\r\n };\r\n for (const key in formState) {\r\n Object.defineProperty(result, key, {\r\n get: () => {\r\n const _key = key;\r\n if (control._proxyFormState[_key] !== VALIDATION_MODE.all) {\r\n control._proxyFormState[_key] = !isRoot || VALIDATION_MODE.all;\r\n }\r\n localProxyFormState && (localProxyFormState[_key] = true);\r\n return formState[_key];\r\n },\r\n });\r\n }\r\n return result;\r\n};\n\nvar isEmptyObject = (value) => isObject(value) && !Object.keys(value).length;\n\nvar shouldRenderFormState = (formStateData, _proxyFormState, isRoot) => {\r\n const { name, ...formState } = formStateData;\r\n return (isEmptyObject(formState) ||\r\n Object.keys(formState).length >= Object.keys(_proxyFormState).length ||\r\n Object.keys(formState).find((key) => _proxyFormState[key] ===\r\n (!isRoot || VALIDATION_MODE.all)));\r\n};\n\nvar convertToArrayPayload = (value) => (Array.isArray(value) ? value : [value]);\n\nvar shouldSubscribeByName = (name, signalName, exact) => exact && signalName\r\n ? name === signalName\r\n : !name ||\r\n !signalName ||\r\n name === signalName ||\r\n convertToArrayPayload(name).some((currentName) => currentName &&\r\n (currentName.startsWith(signalName) ||\r\n signalName.startsWith(currentName)));\n\nfunction useSubscribe(props) {\r\n const _props = React.useRef(props);\r\n _props.current = props;\r\n React.useEffect(() => {\r\n const subscription = !props.disabled &&\r\n _props.current.subject.subscribe({\r\n next: _props.current.callback,\r\n });\r\n return () => {\r\n subscription && subscription.unsubscribe();\r\n };\r\n }, [props.disabled]);\r\n}\n\n/**\r\n * This custom hook allows you to subscribe to each form state, and isolate the re-render at the custom hook level. It has its scope in terms of form state subscription, so it would not affect other useFormState and useForm. Using this hook can reduce the re-render impact on large and complex form application.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/useformstate) • [Demo](https://codesandbox.io/s/useformstate-75xly)\r\n *\r\n * @param props - include options on specify fields to subscribe. {@link UseFormStateReturn}\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const { register, handleSubmit, control } = useForm({\r\n * defaultValues: {\r\n * firstName: \"firstName\"\r\n * }});\r\n * const { dirtyFields } = useFormState({\r\n * control\r\n * });\r\n * const onSubmit = (data) => console.log(data);\r\n *\r\n * return (\r\n * \r\n * );\r\n * }\r\n * ```\r\n */\r\nfunction useFormState(props) {\r\n const methods = useFormContext();\r\n const { control = methods.control, disabled, name, exact } = props || {};\r\n const [formState, updateFormState] = React.useState(control._formState);\r\n const _mounted = React.useRef(true);\r\n const _localProxyFormState = React.useRef({\r\n isDirty: false,\r\n dirtyFields: false,\r\n touchedFields: false,\r\n isValidating: false,\r\n isValid: false,\r\n errors: false,\r\n });\r\n const _name = React.useRef(name);\r\n _name.current = name;\r\n useSubscribe({\r\n disabled,\r\n callback: React.useCallback((value) => _mounted.current &&\r\n shouldSubscribeByName(_name.current, value.name, exact) &&\r\n shouldRenderFormState(value, _localProxyFormState.current) &&\r\n updateFormState({\r\n ...control._formState,\r\n ...value,\r\n }), [control, exact]),\r\n subject: control._subjects.state,\r\n });\r\n React.useEffect(() => {\r\n _mounted.current = true;\r\n return () => {\r\n _mounted.current = false;\r\n };\r\n }, []);\r\n return getProxyFormState(formState, control, _localProxyFormState.current, false);\r\n}\n\nvar isString = (value) => typeof value === 'string';\n\nvar generateWatchOutput = (names, _names, formValues, isGlobal) => {\r\n const isArray = Array.isArray(names);\r\n if (isString(names)) {\r\n isGlobal && _names.watch.add(names);\r\n return get(formValues, names);\r\n }\r\n if (isArray) {\r\n return names.map((fieldName) => (isGlobal && _names.watch.add(fieldName),\r\n get(formValues, fieldName)));\r\n }\r\n isGlobal && (_names.watchAll = true);\r\n return formValues;\r\n};\n\nvar isFunction = (value) => typeof value === 'function';\n\nvar objectHasFunction = (data) => {\r\n for (const key in data) {\r\n if (isFunction(data[key])) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n};\n\n/**\r\n * Custom hook to subscribe to field change and isolate re-rendering at the component level.\r\n *\r\n * @remarks\r\n *\r\n * [API](https://react-hook-form.com/api/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)\r\n *\r\n * @example\r\n * ```tsx\r\n * const { watch } = useForm();\r\n * const values = useWatch({\r\n * name: \"fieldName\"\r\n * control,\r\n * })\r\n * ```\r\n */\r\nfunction useWatch(props) {\r\n const methods = useFormContext();\r\n const { control = methods.control, name, defaultValue, disabled, exact, } = props || {};\r\n const _name = React.useRef(name);\r\n _name.current = name;\r\n useSubscribe({\r\n disabled,\r\n subject: control._subjects.watch,\r\n callback: React.useCallback((formState) => {\r\n if (shouldSubscribeByName(_name.current, formState.name, exact)) {\r\n const fieldValues = generateWatchOutput(_name.current, control._names, formState.values || control._formValues);\r\n updateValue(isUndefined(_name.current) ||\r\n (isObject(fieldValues) && !objectHasFunction(fieldValues))\r\n ? { ...fieldValues }\r\n : Array.isArray(fieldValues)\r\n ? [...fieldValues]\r\n : isUndefined(fieldValues)\r\n ? defaultValue\r\n : fieldValues);\r\n }\r\n }, [control, exact, defaultValue]),\r\n });\r\n const [value, updateValue] = React.useState(isUndefined(defaultValue)\r\n ? control._getWatch(name)\r\n : defaultValue);\r\n React.useEffect(() => control._removeUnmounted());\r\n return value;\r\n}\n\n/**\r\n * Custom hook to work with controlled component, this function provide you with both form and field level state. Re-render is isolated at the hook level.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/usecontroller) • [Demo](https://codesandbox.io/s/usecontroller-0o8px)\r\n *\r\n * @param props - the path name to the form field value, and validation rules.\r\n *\r\n * @returns field properties, field and form state. {@link UseControllerReturn}\r\n *\r\n * @example\r\n * ```tsx\r\n * function Input(props) {\r\n * const { field, fieldState, formState } = useController(props);\r\n * return (\r\n * \r\n *
\r\n *
{fieldState.isTouched && \"Touched\"}
\r\n *
{formState.isSubmitted ? \"submitted\" : \"\"}
\r\n *
\r\n * );\r\n * }\r\n * ```\r\n */\r\nfunction useController(props) {\r\n const methods = useFormContext();\r\n const { name, control = methods.control, shouldUnregister } = props;\r\n const isArrayField = isNameInFieldArray(control._names.array, name);\r\n const value = useWatch({\r\n control,\r\n name,\r\n defaultValue: get(control._formValues, name, get(control._defaultValues, name, props.defaultValue)),\r\n exact: true,\r\n });\r\n const formState = useFormState({\r\n control,\r\n name,\r\n });\r\n const _registerProps = React.useRef(control.register(name, {\r\n ...props.rules,\r\n value,\r\n }));\r\n React.useEffect(() => {\r\n const updateMounted = (name, value) => {\r\n const field = get(control._fields, name);\r\n if (field) {\r\n field._f.mount = value;\r\n }\r\n };\r\n updateMounted(name, true);\r\n return () => {\r\n const _shouldUnregisterField = control._options.shouldUnregister || shouldUnregister;\r\n (isArrayField\r\n ? _shouldUnregisterField && !control._stateFlags.action\r\n : _shouldUnregisterField)\r\n ? control.unregister(name)\r\n : updateMounted(name, false);\r\n };\r\n }, [name, control, isArrayField, shouldUnregister]);\r\n return {\r\n field: {\r\n name,\r\n value,\r\n onChange: React.useCallback((event) => _registerProps.current.onChange({\r\n target: {\r\n value: getEventValue(event),\r\n name: name,\r\n },\r\n type: EVENTS.CHANGE,\r\n }), [name]),\r\n onBlur: React.useCallback(() => _registerProps.current.onBlur({\r\n target: {\r\n value: get(control._formValues, name),\r\n name: name,\r\n },\r\n type: EVENTS.BLUR,\r\n }), [name, control]),\r\n ref: (elm) => {\r\n const field = get(control._fields, name);\r\n if (field && elm) {\r\n field._f.ref = {\r\n focus: () => elm.focus(),\r\n select: () => elm.select(),\r\n setCustomValidity: (message) => elm.setCustomValidity(message),\r\n reportValidity: () => elm.reportValidity(),\r\n };\r\n }\r\n },\r\n },\r\n formState,\r\n fieldState: Object.defineProperties({}, {\r\n invalid: {\r\n enumerable: true,\r\n get: () => !!get(formState.errors, name),\r\n },\r\n isDirty: {\r\n enumerable: true,\r\n get: () => !!get(formState.dirtyFields, name),\r\n },\r\n isTouched: {\r\n enumerable: true,\r\n get: () => !!get(formState.touchedFields, name),\r\n },\r\n error: {\r\n enumerable: true,\r\n get: () => get(formState.errors, name),\r\n },\r\n }),\r\n };\r\n}\n\n/**\r\n * Component based on `useController` hook to work with controlled component.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/usecontroller/controller) • [Demo](https://codesandbox.io/s/react-hook-form-v6-controller-ts-jwyzw) • [Video](https://www.youtube.com/watch?v=N2UNk_UCVyA)\r\n *\r\n * @param props - the path name to the form field value, and validation rules.\r\n *\r\n * @returns provide field handler functions, field and form state.\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const { control } = useForm({\r\n * defaultValues: {\r\n * test: \"\"\r\n * }\r\n * });\r\n *\r\n * return (\r\n * \r\n * );\r\n * }\r\n * ```\r\n */\r\nconst Controller = (props) => props.render(useController(props));\n\nvar appendErrors = (name, validateAllFieldCriteria, errors, type, message) => validateAllFieldCriteria\r\n ? {\r\n ...errors[name],\r\n types: {\r\n ...(errors[name] && errors[name].types ? errors[name].types : {}),\r\n [type]: message || true,\r\n },\r\n }\r\n : {};\n\nvar isKey = (value) => /^\\w*$/.test(value);\n\nvar stringToPath = (input) => compact(input.replace(/[\"|']|\\]/g, '').split(/\\.|\\[/));\n\nfunction set(object, path, value) {\r\n let index = -1;\r\n const tempPath = isKey(path) ? [path] : stringToPath(path);\r\n const length = tempPath.length;\r\n const lastIndex = length - 1;\r\n while (++index < length) {\r\n const key = tempPath[index];\r\n let newValue = value;\r\n if (index !== lastIndex) {\r\n const objValue = object[key];\r\n newValue =\r\n isObject(objValue) || Array.isArray(objValue)\r\n ? objValue\r\n : !isNaN(+tempPath[index + 1])\r\n ? []\r\n : {};\r\n }\r\n object[key] = newValue;\r\n object = object[key];\r\n }\r\n return object;\r\n}\n\nconst focusFieldBy = (fields, callback, fieldsNames) => {\r\n for (const key of fieldsNames || Object.keys(fields)) {\r\n const field = get(fields, key);\r\n if (field) {\r\n const { _f, ...currentField } = field;\r\n if (_f && callback(_f.name)) {\r\n if (_f.ref.focus) {\r\n _f.ref.focus();\r\n break;\r\n }\r\n else if (_f.refs && _f.refs[0].focus) {\r\n _f.refs[0].focus();\r\n break;\r\n }\r\n }\r\n else if (isObject(currentField)) {\r\n focusFieldBy(currentField, callback);\r\n }\r\n }\r\n }\r\n};\n\nvar generateId = () => {\r\n const d = typeof performance === 'undefined' ? Date.now() : performance.now() * 1000;\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\r\n const r = (Math.random() * 16 + d) % 16 | 0;\r\n return (c == 'x' ? r : (r & 0x3) | 0x8).toString(16);\r\n });\r\n};\n\nvar getFocusFieldName = (name, index, options = {}) => options.shouldFocus || isUndefined(options.shouldFocus)\r\n ? options.focusName ||\r\n `${name}.${isUndefined(options.focusIndex) ? index : options.focusIndex}.`\r\n : '';\n\nvar isWatched = (name, _names, isBlurEvent) => !isBlurEvent &&\r\n (_names.watchAll ||\r\n _names.watch.has(name) ||\r\n [..._names.watch].some((watchName) => name.startsWith(watchName) &&\r\n /^\\.\\w+/.test(name.slice(watchName.length))));\n\nvar updateFieldArrayRootError = (errors, error, name) => {\r\n const fieldArrayErrors = compact(get(errors, name));\r\n set(fieldArrayErrors, 'root', error[name]);\r\n set(errors, name, fieldArrayErrors);\r\n return errors;\r\n};\n\nvar isBoolean = (value) => typeof value === 'boolean';\n\nvar isFileInput = (element) => element.type === 'file';\n\nvar isMessage = (value) => isString(value) || React.isValidElement(value);\n\nvar isRadioInput = (element) => element.type === 'radio';\n\nvar isRegex = (value) => value instanceof RegExp;\n\nconst defaultResult = {\r\n value: false,\r\n isValid: false,\r\n};\r\nconst validResult = { value: true, isValid: true };\r\nvar getCheckboxValue = (options) => {\r\n if (Array.isArray(options)) {\r\n if (options.length > 1) {\r\n const values = options\r\n .filter((option) => option && option.checked && !option.disabled)\r\n .map((option) => option.value);\r\n return { value: values, isValid: !!values.length };\r\n }\r\n return options[0].checked && !options[0].disabled\r\n ? // @ts-expect-error expected to work in the browser\r\n options[0].attributes && !isUndefined(options[0].attributes.value)\r\n ? isUndefined(options[0].value) || options[0].value === ''\r\n ? validResult\r\n : { value: options[0].value, isValid: true }\r\n : validResult\r\n : defaultResult;\r\n }\r\n return defaultResult;\r\n};\n\nconst defaultReturn = {\r\n isValid: false,\r\n value: null,\r\n};\r\nvar getRadioValue = (options) => Array.isArray(options)\r\n ? options.reduce((previous, option) => option && option.checked && !option.disabled\r\n ? {\r\n isValid: true,\r\n value: option.value,\r\n }\r\n : previous, defaultReturn)\r\n : defaultReturn;\n\nfunction getValidateError(result, ref, type = 'validate') {\r\n if (isMessage(result) ||\r\n (Array.isArray(result) && result.every(isMessage)) ||\r\n (isBoolean(result) && !result)) {\r\n return {\r\n type,\r\n message: isMessage(result) ? result : '',\r\n ref,\r\n };\r\n }\r\n}\n\nvar getValueAndMessage = (validationData) => isObject(validationData) && !isRegex(validationData)\r\n ? validationData\r\n : {\r\n value: validationData,\r\n message: '',\r\n };\n\nvar validateField = async (field, inputValue, validateAllFieldCriteria, shouldUseNativeValidation, isFieldArray) => {\r\n const { ref, refs, required, maxLength, minLength, min, max, pattern, validate, name, valueAsNumber, mount, disabled, } = field._f;\r\n if (!mount || disabled) {\r\n return {};\r\n }\r\n const inputRef = refs ? refs[0] : ref;\r\n const setCustomValidity = (message) => {\r\n if (shouldUseNativeValidation && inputRef.reportValidity) {\r\n inputRef.setCustomValidity(isBoolean(message) ? '' : message || ' ');\r\n inputRef.reportValidity();\r\n }\r\n };\r\n const error = {};\r\n const isRadio = isRadioInput(ref);\r\n const isCheckBox = isCheckBoxInput(ref);\r\n const isRadioOrCheckbox = isRadio || isCheckBox;\r\n const isEmpty = ((valueAsNumber || isFileInput(ref)) && !ref.value) ||\r\n inputValue === '' ||\r\n (Array.isArray(inputValue) && !inputValue.length);\r\n const appendErrorsCurry = appendErrors.bind(null, name, validateAllFieldCriteria, error);\r\n const getMinMaxMessage = (exceedMax, maxLengthMessage, minLengthMessage, maxType = INPUT_VALIDATION_RULES.maxLength, minType = INPUT_VALIDATION_RULES.minLength) => {\r\n const message = exceedMax ? maxLengthMessage : minLengthMessage;\r\n error[name] = {\r\n type: exceedMax ? maxType : minType,\r\n message,\r\n ref,\r\n ...appendErrorsCurry(exceedMax ? maxType : minType, message),\r\n };\r\n };\r\n if (isFieldArray\r\n ? !Array.isArray(inputValue) || !inputValue.length\r\n : required &&\r\n ((!isRadioOrCheckbox && (isEmpty || isNullOrUndefined(inputValue))) ||\r\n (isBoolean(inputValue) && !inputValue) ||\r\n (isCheckBox && !getCheckboxValue(refs).isValid) ||\r\n (isRadio && !getRadioValue(refs).isValid))) {\r\n const { value, message } = isMessage(required)\r\n ? { value: !!required, message: required }\r\n : getValueAndMessage(required);\r\n if (value) {\r\n error[name] = {\r\n type: INPUT_VALIDATION_RULES.required,\r\n message,\r\n ref: inputRef,\r\n ...appendErrorsCurry(INPUT_VALIDATION_RULES.required, message),\r\n };\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(message);\r\n return error;\r\n }\r\n }\r\n }\r\n if (!isEmpty && (!isNullOrUndefined(min) || !isNullOrUndefined(max))) {\r\n let exceedMax;\r\n let exceedMin;\r\n const maxOutput = getValueAndMessage(max);\r\n const minOutput = getValueAndMessage(min);\r\n if (!isNullOrUndefined(inputValue) && !isNaN(inputValue)) {\r\n const valueNumber = ref.valueAsNumber ||\r\n (inputValue ? +inputValue : inputValue);\r\n if (!isNullOrUndefined(maxOutput.value)) {\r\n exceedMax = valueNumber > maxOutput.value;\r\n }\r\n if (!isNullOrUndefined(minOutput.value)) {\r\n exceedMin = valueNumber < minOutput.value;\r\n }\r\n }\r\n else {\r\n const valueDate = ref.valueAsDate || new Date(inputValue);\r\n const convertTimeToDate = (time) => new Date(new Date().toDateString() + ' ' + time);\r\n const isTime = ref.type == 'time';\r\n const isWeek = ref.type == 'week';\r\n if (isString(maxOutput.value) && inputValue) {\r\n exceedMax = isTime\r\n ? convertTimeToDate(inputValue) > convertTimeToDate(maxOutput.value)\r\n : isWeek\r\n ? inputValue > maxOutput.value\r\n : valueDate > new Date(maxOutput.value);\r\n }\r\n if (isString(minOutput.value) && inputValue) {\r\n exceedMin = isTime\r\n ? convertTimeToDate(inputValue) < convertTimeToDate(minOutput.value)\r\n : isWeek\r\n ? inputValue < minOutput.value\r\n : valueDate < new Date(minOutput.value);\r\n }\r\n }\r\n if (exceedMax || exceedMin) {\r\n getMinMaxMessage(!!exceedMax, maxOutput.message, minOutput.message, INPUT_VALIDATION_RULES.max, INPUT_VALIDATION_RULES.min);\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(error[name].message);\r\n return error;\r\n }\r\n }\r\n }\r\n if ((maxLength || minLength) &&\r\n !isEmpty &&\r\n (isString(inputValue) || (isFieldArray && Array.isArray(inputValue)))) {\r\n const maxLengthOutput = getValueAndMessage(maxLength);\r\n const minLengthOutput = getValueAndMessage(minLength);\r\n const exceedMax = !isNullOrUndefined(maxLengthOutput.value) &&\r\n inputValue.length > maxLengthOutput.value;\r\n const exceedMin = !isNullOrUndefined(minLengthOutput.value) &&\r\n inputValue.length < minLengthOutput.value;\r\n if (exceedMax || exceedMin) {\r\n getMinMaxMessage(exceedMax, maxLengthOutput.message, minLengthOutput.message);\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(error[name].message);\r\n return error;\r\n }\r\n }\r\n }\r\n if (pattern && !isEmpty && isString(inputValue)) {\r\n const { value: patternValue, message } = getValueAndMessage(pattern);\r\n if (isRegex(patternValue) && !inputValue.match(patternValue)) {\r\n error[name] = {\r\n type: INPUT_VALIDATION_RULES.pattern,\r\n message,\r\n ref,\r\n ...appendErrorsCurry(INPUT_VALIDATION_RULES.pattern, message),\r\n };\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(message);\r\n return error;\r\n }\r\n }\r\n }\r\n if (validate) {\r\n if (isFunction(validate)) {\r\n const result = await validate(inputValue);\r\n const validateError = getValidateError(result, inputRef);\r\n if (validateError) {\r\n error[name] = {\r\n ...validateError,\r\n ...appendErrorsCurry(INPUT_VALIDATION_RULES.validate, validateError.message),\r\n };\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(validateError.message);\r\n return error;\r\n }\r\n }\r\n }\r\n else if (isObject(validate)) {\r\n let validationResult = {};\r\n for (const key in validate) {\r\n if (!isEmptyObject(validationResult) && !validateAllFieldCriteria) {\r\n break;\r\n }\r\n const validateError = getValidateError(await validate[key](inputValue), inputRef, key);\r\n if (validateError) {\r\n validationResult = {\r\n ...validateError,\r\n ...appendErrorsCurry(key, validateError.message),\r\n };\r\n setCustomValidity(validateError.message);\r\n if (validateAllFieldCriteria) {\r\n error[name] = validationResult;\r\n }\r\n }\r\n }\r\n if (!isEmptyObject(validationResult)) {\r\n error[name] = {\r\n ref: inputRef,\r\n ...validationResult,\r\n };\r\n if (!validateAllFieldCriteria) {\r\n return error;\r\n }\r\n }\r\n }\r\n }\r\n setCustomValidity(true);\r\n return error;\r\n};\n\nfunction append(data, value) {\r\n return [...data, ...convertToArrayPayload(value)];\r\n}\n\nvar isPlainObject = (tempObject) => {\r\n const prototypeCopy = tempObject.constructor && tempObject.constructor.prototype;\r\n return (isObject(prototypeCopy) && prototypeCopy.hasOwnProperty('isPrototypeOf'));\r\n};\n\nvar isWeb = typeof window !== 'undefined' &&\r\n typeof window.HTMLElement !== 'undefined' &&\r\n typeof document !== 'undefined';\n\nfunction cloneObject(data) {\r\n let copy;\r\n const isArray = Array.isArray(data);\r\n if (data instanceof Date) {\r\n copy = new Date(data);\r\n }\r\n else if (data instanceof Set) {\r\n copy = new Set(data);\r\n }\r\n else if (!(isWeb && (data instanceof Blob || data instanceof FileList)) &&\r\n (isArray || isObject(data))) {\r\n copy = isArray ? [] : {};\r\n if (!Array.isArray(data) && !isPlainObject(data)) {\r\n copy = data;\r\n }\r\n else {\r\n for (const key in data) {\r\n copy[key] = cloneObject(data[key]);\r\n }\r\n }\r\n }\r\n else {\r\n return data;\r\n }\r\n return copy;\r\n}\n\nvar fillEmptyArray = (value) => Array.isArray(value) ? value.map(() => undefined) : undefined;\n\nvar getValidationModes = (mode) => ({\r\n isOnSubmit: !mode || mode === VALIDATION_MODE.onSubmit,\r\n isOnBlur: mode === VALIDATION_MODE.onBlur,\r\n isOnChange: mode === VALIDATION_MODE.onChange,\r\n isOnAll: mode === VALIDATION_MODE.all,\r\n isOnTouch: mode === VALIDATION_MODE.onTouched,\r\n});\n\nfunction insert(data, index, value) {\r\n return [\r\n ...data.slice(0, index),\r\n ...convertToArrayPayload(value),\r\n ...data.slice(index),\r\n ];\r\n}\n\nvar moveArrayAt = (data, from, to) => {\r\n if (!Array.isArray(data)) {\r\n return [];\r\n }\r\n if (isUndefined(data[to])) {\r\n data[to] = undefined;\r\n }\r\n data.splice(to, 0, data.splice(from, 1)[0]);\r\n return data;\r\n};\n\nfunction prepend(data, value) {\r\n return [...convertToArrayPayload(value), ...convertToArrayPayload(data)];\r\n}\n\nfunction removeAtIndexes(data, indexes) {\r\n let i = 0;\r\n const temp = [...data];\r\n for (const index of indexes) {\r\n temp.splice(index - i, 1);\r\n i++;\r\n }\r\n return compact(temp).length ? temp : [];\r\n}\r\nvar removeArrayAt = (data, index) => isUndefined(index)\r\n ? []\r\n : removeAtIndexes(data, convertToArrayPayload(index).sort((a, b) => a - b));\n\nvar swapArrayAt = (data, indexA, indexB) => {\r\n data[indexA] = [data[indexB], (data[indexB] = data[indexA])][0];\r\n};\n\nfunction baseGet(object, updatePath) {\r\n const length = updatePath.slice(0, -1).length;\r\n let index = 0;\r\n while (index < length) {\r\n object = isUndefined(object) ? index++ : object[updatePath[index++]];\r\n }\r\n return object;\r\n}\r\nfunction isEmptyArray(obj) {\r\n for (const key in obj) {\r\n if (!isUndefined(obj[key])) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\nfunction unset(object, path) {\r\n const updatePath = isKey(path) ? [path] : stringToPath(path);\r\n const childObject = updatePath.length == 1 ? object : baseGet(object, updatePath);\r\n const key = updatePath[updatePath.length - 1];\r\n let previousObjRef;\r\n if (childObject) {\r\n delete childObject[key];\r\n }\r\n for (let k = 0; k < updatePath.slice(0, -1).length; k++) {\r\n let index = -1;\r\n let objectRef;\r\n const currentPaths = updatePath.slice(0, -(k + 1));\r\n const currentPathsLength = currentPaths.length - 1;\r\n if (k > 0) {\r\n previousObjRef = object;\r\n }\r\n while (++index < currentPaths.length) {\r\n const item = currentPaths[index];\r\n objectRef = objectRef ? objectRef[item] : object[item];\r\n if (currentPathsLength === index &&\r\n ((isObject(objectRef) && isEmptyObject(objectRef)) ||\r\n (Array.isArray(objectRef) && isEmptyArray(objectRef)))) {\r\n previousObjRef ? delete previousObjRef[item] : delete object[item];\r\n }\r\n previousObjRef = objectRef;\r\n }\r\n }\r\n return object;\r\n}\n\nvar updateAt = (fieldValues, index, value) => {\r\n fieldValues[index] = value;\r\n return fieldValues;\r\n};\n\n/**\r\n * A custom hook that exposes convenient methods to perform operations with a list of dynamic inputs that need to be appended, updated, removed etc. • [Demo](https://codesandbox.io/s/react-hook-form-usefieldarray-ssugn) • [Video](https://youtu.be/4MrbfGSFY2A)\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/react-hook-form-usefieldarray-ssugn)\r\n *\r\n * @param props - useFieldArray props\r\n *\r\n * @returns methods - functions to manipulate with the Field Arrays (dynamic inputs) {@link UseFieldArrayReturn}\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const { register, control, handleSubmit, reset, trigger, setError } = useForm({\r\n * defaultValues: {\r\n * test: []\r\n * }\r\n * });\r\n * const { fields, append } = useFieldArray({\r\n * control,\r\n * name: \"test\"\r\n * });\r\n *\r\n * return (\r\n * \r\n * );\r\n * }\r\n * ```\r\n */\r\nfunction useFieldArray(props) {\r\n const methods = useFormContext();\r\n const { control = methods.control, name, keyName = 'id', shouldUnregister, } = props;\r\n const [fields, setFields] = React.useState(control._getFieldArray(name));\r\n const ids = React.useRef(control._getFieldArray(name).map(generateId));\r\n const _fieldIds = React.useRef(fields);\r\n const _name = React.useRef(name);\r\n const _actioned = React.useRef(false);\r\n _name.current = name;\r\n _fieldIds.current = fields;\r\n control._names.array.add(name);\r\n props.rules &&\r\n control.register(name, props.rules);\r\n const callback = React.useCallback(({ values, name: fieldArrayName, }) => {\r\n if (fieldArrayName === _name.current || !fieldArrayName) {\r\n const fieldValues = get(values, _name.current);\r\n if (Array.isArray(fieldValues)) {\r\n setFields(fieldValues);\r\n ids.current = fieldValues.map(generateId);\r\n }\r\n }\r\n }, []);\r\n useSubscribe({\r\n callback,\r\n subject: control._subjects.array,\r\n });\r\n const updateValues = React.useCallback((updatedFieldArrayValues) => {\r\n _actioned.current = true;\r\n control._updateFieldArray(name, updatedFieldArrayValues);\r\n }, [control, name]);\r\n const append$1 = (value, options) => {\r\n const appendValue = convertToArrayPayload(cloneObject(value));\r\n const updatedFieldArrayValues = append(control._getFieldArray(name), appendValue);\r\n control._names.focus = getFocusFieldName(name, updatedFieldArrayValues.length - 1, options);\r\n ids.current = append(ids.current, appendValue.map(generateId));\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, append, {\r\n argA: fillEmptyArray(value),\r\n });\r\n };\r\n const prepend$1 = (value, options) => {\r\n const prependValue = convertToArrayPayload(cloneObject(value));\r\n const updatedFieldArrayValues = prepend(control._getFieldArray(name), prependValue);\r\n control._names.focus = getFocusFieldName(name, 0, options);\r\n ids.current = prepend(ids.current, prependValue.map(generateId));\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, prepend, {\r\n argA: fillEmptyArray(value),\r\n });\r\n };\r\n const remove = (index) => {\r\n const updatedFieldArrayValues = removeArrayAt(control._getFieldArray(name), index);\r\n ids.current = removeArrayAt(ids.current, index);\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, removeArrayAt, {\r\n argA: index,\r\n });\r\n };\r\n const insert$1 = (index, value, options) => {\r\n const insertValue = convertToArrayPayload(cloneObject(value));\r\n const updatedFieldArrayValues = insert(control._getFieldArray(name), index, insertValue);\r\n control._names.focus = getFocusFieldName(name, index, options);\r\n ids.current = insert(ids.current, index, insertValue.map(generateId));\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, insert, {\r\n argA: index,\r\n argB: fillEmptyArray(value),\r\n });\r\n };\r\n const swap = (indexA, indexB) => {\r\n const updatedFieldArrayValues = control._getFieldArray(name);\r\n swapArrayAt(updatedFieldArrayValues, indexA, indexB);\r\n swapArrayAt(ids.current, indexA, indexB);\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, swapArrayAt, {\r\n argA: indexA,\r\n argB: indexB,\r\n }, false);\r\n };\r\n const move = (from, to) => {\r\n const updatedFieldArrayValues = control._getFieldArray(name);\r\n moveArrayAt(updatedFieldArrayValues, from, to);\r\n moveArrayAt(ids.current, from, to);\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, moveArrayAt, {\r\n argA: from,\r\n argB: to,\r\n }, false);\r\n };\r\n const update = (index, value) => {\r\n const updateValue = cloneObject(value);\r\n const updatedFieldArrayValues = updateAt(control._getFieldArray(name), index, updateValue);\r\n ids.current = [...updatedFieldArrayValues].map((item, i) => !item || i === index ? generateId() : ids.current[i]);\r\n updateValues(updatedFieldArrayValues);\r\n setFields([...updatedFieldArrayValues]);\r\n control._updateFieldArray(name, updatedFieldArrayValues, updateAt, {\r\n argA: index,\r\n argB: updateValue,\r\n }, true, false);\r\n };\r\n const replace = (value) => {\r\n const updatedFieldArrayValues = convertToArrayPayload(cloneObject(value));\r\n ids.current = updatedFieldArrayValues.map(generateId);\r\n updateValues([...updatedFieldArrayValues]);\r\n setFields([...updatedFieldArrayValues]);\r\n control._updateFieldArray(name, [...updatedFieldArrayValues], (data) => data, {}, true, false);\r\n };\r\n React.useEffect(() => {\r\n control._stateFlags.action = false;\r\n isWatched(name, control._names) && control._subjects.state.next({});\r\n if (_actioned.current &&\r\n (!getValidationModes(control._options.mode).isOnSubmit ||\r\n control._formState.isSubmitted)) {\r\n if (control._options.resolver) {\r\n control._executeSchema([name]).then((result) => {\r\n const error = get(result.errors, name);\r\n const existingError = get(control._formState.errors, name);\r\n if (existingError ? !error && existingError.type : error && error.type) {\r\n error\r\n ? set(control._formState.errors, name, error)\r\n : unset(control._formState.errors, name);\r\n control._subjects.state.next({\r\n errors: control._formState.errors,\r\n });\r\n }\r\n });\r\n }\r\n else {\r\n const field = get(control._fields, name);\r\n if (field && field._f) {\r\n validateField(field, get(control._formValues, name), control._options.criteriaMode === VALIDATION_MODE.all, control._options.shouldUseNativeValidation, true).then((error) => !isEmptyObject(error) &&\r\n control._subjects.state.next({\r\n errors: updateFieldArrayRootError(control._formState.errors, error, name),\r\n }));\r\n }\r\n }\r\n }\r\n control._subjects.watch.next({\r\n name,\r\n values: control._formValues,\r\n });\r\n control._names.focus &&\r\n focusFieldBy(control._fields, (key) => !!key && key.startsWith(control._names.focus));\r\n control._names.focus = '';\r\n control._proxyFormState.isValid && control._updateValid();\r\n }, [fields, name, control]);\r\n React.useEffect(() => {\r\n !get(control._formValues, name) && control._updateFieldArray(name);\r\n return () => {\r\n (control._options.shouldUnregister || shouldUnregister) &&\r\n control.unregister(name);\r\n };\r\n }, [name, control, keyName, shouldUnregister]);\r\n return {\r\n swap: React.useCallback(swap, [updateValues, name, control]),\r\n move: React.useCallback(move, [updateValues, name, control]),\r\n prepend: React.useCallback(prepend$1, [updateValues, name, control]),\r\n append: React.useCallback(append$1, [updateValues, name, control]),\r\n remove: React.useCallback(remove, [updateValues, name, control]),\r\n insert: React.useCallback(insert$1, [updateValues, name, control]),\r\n update: React.useCallback(update, [updateValues, name, control]),\r\n replace: React.useCallback(replace, [updateValues, name, control]),\r\n fields: React.useMemo(() => fields.map((field, index) => ({\r\n ...field,\r\n [keyName]: ids.current[index] || generateId(),\r\n })), [fields, keyName]),\r\n };\r\n}\n\nfunction createSubject() {\r\n let _observers = [];\r\n const next = (value) => {\r\n for (const observer of _observers) {\r\n observer.next(value);\r\n }\r\n };\r\n const subscribe = (observer) => {\r\n _observers.push(observer);\r\n return {\r\n unsubscribe: () => {\r\n _observers = _observers.filter((o) => o !== observer);\r\n },\r\n };\r\n };\r\n const unsubscribe = () => {\r\n _observers = [];\r\n };\r\n return {\r\n get observers() {\r\n return _observers;\r\n },\r\n next,\r\n subscribe,\r\n unsubscribe,\r\n };\r\n}\n\nvar isPrimitive = (value) => isNullOrUndefined(value) || !isObjectType(value);\n\nfunction deepEqual(object1, object2) {\r\n if (isPrimitive(object1) || isPrimitive(object2)) {\r\n return object1 === object2;\r\n }\r\n if (isDateObject(object1) && isDateObject(object2)) {\r\n return object1.getTime() === object2.getTime();\r\n }\r\n const keys1 = Object.keys(object1);\r\n const keys2 = Object.keys(object2);\r\n if (keys1.length !== keys2.length) {\r\n return false;\r\n }\r\n for (const key of keys1) {\r\n const val1 = object1[key];\r\n if (!keys2.includes(key)) {\r\n return false;\r\n }\r\n if (key !== 'ref') {\r\n const val2 = object2[key];\r\n if ((isDateObject(val1) && isDateObject(val2)) ||\r\n (isObject(val1) && isObject(val2)) ||\r\n (Array.isArray(val1) && Array.isArray(val2))\r\n ? !deepEqual(val1, val2)\r\n : val1 !== val2) {\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n}\n\nvar isHTMLElement = (value) => {\r\n const owner = value ? value.ownerDocument : 0;\r\n const ElementClass = owner && owner.defaultView ? owner.defaultView.HTMLElement : HTMLElement;\r\n return value instanceof ElementClass;\r\n};\n\nvar isMultipleSelect = (element) => element.type === `select-multiple`;\n\nvar isRadioOrCheckbox = (ref) => isRadioInput(ref) || isCheckBoxInput(ref);\n\nvar live = (ref) => isHTMLElement(ref) && ref.isConnected;\n\nfunction markFieldsDirty(data, fields = {}) {\r\n const isParentNodeArray = Array.isArray(data);\r\n if (isObject(data) || isParentNodeArray) {\r\n for (const key in data) {\r\n if (Array.isArray(data[key]) ||\r\n (isObject(data[key]) && !objectHasFunction(data[key]))) {\r\n fields[key] = Array.isArray(data[key]) ? [] : {};\r\n markFieldsDirty(data[key], fields[key]);\r\n }\r\n else if (!isNullOrUndefined(data[key])) {\r\n fields[key] = true;\r\n }\r\n }\r\n }\r\n return fields;\r\n}\r\nfunction getDirtyFieldsFromDefaultValues(data, formValues, dirtyFieldsFromValues) {\r\n const isParentNodeArray = Array.isArray(data);\r\n if (isObject(data) || isParentNodeArray) {\r\n for (const key in data) {\r\n if (Array.isArray(data[key]) ||\r\n (isObject(data[key]) && !objectHasFunction(data[key]))) {\r\n if (isUndefined(formValues) ||\r\n isPrimitive(dirtyFieldsFromValues[key])) {\r\n dirtyFieldsFromValues[key] = Array.isArray(data[key])\r\n ? markFieldsDirty(data[key], [])\r\n : { ...markFieldsDirty(data[key]) };\r\n }\r\n else {\r\n getDirtyFieldsFromDefaultValues(data[key], isNullOrUndefined(formValues) ? {} : formValues[key], dirtyFieldsFromValues[key]);\r\n }\r\n }\r\n else {\r\n dirtyFieldsFromValues[key] = !deepEqual(data[key], formValues[key]);\r\n }\r\n }\r\n }\r\n return dirtyFieldsFromValues;\r\n}\r\nvar getDirtyFields = (defaultValues, formValues) => getDirtyFieldsFromDefaultValues(defaultValues, formValues, markFieldsDirty(formValues));\n\nvar getFieldValueAs = (value, { valueAsNumber, valueAsDate, setValueAs }) => isUndefined(value)\r\n ? value\r\n : valueAsNumber\r\n ? value === ''\r\n ? NaN\r\n : value\r\n ? +value\r\n : value\r\n : valueAsDate && isString(value)\r\n ? new Date(value)\r\n : setValueAs\r\n ? setValueAs(value)\r\n : value;\n\nfunction getFieldValue(_f) {\r\n const ref = _f.ref;\r\n if (_f.refs ? _f.refs.every((ref) => ref.disabled) : ref.disabled) {\r\n return;\r\n }\r\n if (isFileInput(ref)) {\r\n return ref.files;\r\n }\r\n if (isRadioInput(ref)) {\r\n return getRadioValue(_f.refs).value;\r\n }\r\n if (isMultipleSelect(ref)) {\r\n return [...ref.selectedOptions].map(({ value }) => value);\r\n }\r\n if (isCheckBoxInput(ref)) {\r\n return getCheckboxValue(_f.refs).value;\r\n }\r\n return getFieldValueAs(isUndefined(ref.value) ? _f.ref.value : ref.value, _f);\r\n}\n\nvar getResolverOptions = (fieldsNames, _fields, criteriaMode, shouldUseNativeValidation) => {\r\n const fields = {};\r\n for (const name of fieldsNames) {\r\n const field = get(_fields, name);\r\n field && set(fields, name, field._f);\r\n }\r\n return {\r\n criteriaMode,\r\n names: [...fieldsNames],\r\n fields,\r\n shouldUseNativeValidation,\r\n };\r\n};\n\nvar getRuleValue = (rule) => isUndefined(rule)\r\n ? undefined\r\n : isRegex(rule)\r\n ? rule.source\r\n : isObject(rule)\r\n ? isRegex(rule.value)\r\n ? rule.value.source\r\n : rule.value\r\n : rule;\n\nvar hasValidation = (options) => options.mount &&\r\n (options.required ||\r\n options.min ||\r\n options.max ||\r\n options.maxLength ||\r\n options.minLength ||\r\n options.pattern ||\r\n options.validate);\n\nfunction schemaErrorLookup(errors, _fields, name) {\r\n const error = get(errors, name);\r\n if (error || isKey(name)) {\r\n return {\r\n error,\r\n name,\r\n };\r\n }\r\n const names = name.split('.');\r\n while (names.length) {\r\n const fieldName = names.join('.');\r\n const field = get(_fields, fieldName);\r\n const foundError = get(errors, fieldName);\r\n if (field && !Array.isArray(field) && name !== fieldName) {\r\n return { name };\r\n }\r\n if (foundError && foundError.type) {\r\n return {\r\n name: fieldName,\r\n error: foundError,\r\n };\r\n }\r\n names.pop();\r\n }\r\n return {\r\n name,\r\n };\r\n}\n\nvar skipValidation = (isBlurEvent, isTouched, isSubmitted, reValidateMode, mode) => {\r\n if (mode.isOnAll) {\r\n return false;\r\n }\r\n else if (!isSubmitted && mode.isOnTouch) {\r\n return !(isTouched || isBlurEvent);\r\n }\r\n else if (isSubmitted ? reValidateMode.isOnBlur : mode.isOnBlur) {\r\n return !isBlurEvent;\r\n }\r\n else if (isSubmitted ? reValidateMode.isOnChange : mode.isOnChange) {\r\n return isBlurEvent;\r\n }\r\n return true;\r\n};\n\nvar unsetEmptyArray = (ref, name) => !compact(get(ref, name)).length && unset(ref, name);\n\nconst defaultOptions = {\r\n mode: VALIDATION_MODE.onSubmit,\r\n reValidateMode: VALIDATION_MODE.onChange,\r\n shouldFocusError: true,\r\n};\r\nfunction createFormControl(props = {}) {\r\n let _options = {\r\n ...defaultOptions,\r\n ...props,\r\n };\r\n let _formState = {\r\n submitCount: 0,\r\n isDirty: false,\r\n isValidating: false,\r\n isSubmitted: false,\r\n isSubmitting: false,\r\n isSubmitSuccessful: false,\r\n isValid: false,\r\n touchedFields: {},\r\n dirtyFields: {},\r\n errors: {},\r\n };\r\n let _fields = {};\r\n let _defaultValues = cloneObject(_options.defaultValues) || {};\r\n let _formValues = _options.shouldUnregister\r\n ? {}\r\n : cloneObject(_defaultValues);\r\n let _stateFlags = {\r\n action: false,\r\n mount: false,\r\n watch: false,\r\n };\r\n let _names = {\r\n mount: new Set(),\r\n unMount: new Set(),\r\n array: new Set(),\r\n watch: new Set(),\r\n };\r\n let delayErrorCallback;\r\n let timer = 0;\r\n let validateFields = {};\r\n const _proxyFormState = {\r\n isDirty: false,\r\n dirtyFields: false,\r\n touchedFields: false,\r\n isValidating: false,\r\n isValid: false,\r\n errors: false,\r\n };\r\n const _subjects = {\r\n watch: createSubject(),\r\n array: createSubject(),\r\n state: createSubject(),\r\n };\r\n const validationModeBeforeSubmit = getValidationModes(_options.mode);\r\n const validationModeAfterSubmit = getValidationModes(_options.reValidateMode);\r\n const shouldDisplayAllAssociatedErrors = _options.criteriaMode === VALIDATION_MODE.all;\r\n const debounce = (callback) => (wait) => {\r\n clearTimeout(timer);\r\n timer = window.setTimeout(callback, wait);\r\n };\r\n const _updateValid = async (shouldSkipRender) => {\r\n let isValid = false;\r\n if (_proxyFormState.isValid) {\r\n isValid = _options.resolver\r\n ? isEmptyObject((await _executeSchema()).errors)\r\n : await executeBuiltInValidation(_fields, true);\r\n if (!shouldSkipRender && isValid !== _formState.isValid) {\r\n _formState.isValid = isValid;\r\n _subjects.state.next({\r\n isValid,\r\n });\r\n }\r\n }\r\n return isValid;\r\n };\r\n const _updateFieldArray = (name, values = [], method, args, shouldSetValues = true, shouldUpdateFieldsAndState = true) => {\r\n if (args && method) {\r\n _stateFlags.action = true;\r\n if (shouldUpdateFieldsAndState && Array.isArray(get(_fields, name))) {\r\n const fieldValues = method(get(_fields, name), args.argA, args.argB);\r\n shouldSetValues && set(_fields, name, fieldValues);\r\n }\r\n if (_proxyFormState.errors &&\r\n shouldUpdateFieldsAndState &&\r\n Array.isArray(get(_formState.errors, name))) {\r\n const errors = method(get(_formState.errors, name), args.argA, args.argB);\r\n shouldSetValues && set(_formState.errors, name, errors);\r\n unsetEmptyArray(_formState.errors, name);\r\n }\r\n if (_proxyFormState.touchedFields &&\r\n shouldUpdateFieldsAndState &&\r\n Array.isArray(get(_formState.touchedFields, name))) {\r\n const touchedFields = method(get(_formState.touchedFields, name), args.argA, args.argB);\r\n shouldSetValues && set(_formState.touchedFields, name, touchedFields);\r\n }\r\n if (_proxyFormState.dirtyFields) {\r\n _formState.dirtyFields = getDirtyFields(_defaultValues, _formValues);\r\n }\r\n _subjects.state.next({\r\n isDirty: _getDirty(name, values),\r\n dirtyFields: _formState.dirtyFields,\r\n errors: _formState.errors,\r\n isValid: _formState.isValid,\r\n });\r\n }\r\n else {\r\n set(_formValues, name, values);\r\n }\r\n };\r\n const updateErrors = (name, error) => {\r\n set(_formState.errors, name, error);\r\n _subjects.state.next({\r\n errors: _formState.errors,\r\n });\r\n };\r\n const updateValidAndValue = (name, shouldSkipSetValueAs, value, ref) => {\r\n const field = get(_fields, name);\r\n if (field) {\r\n const defaultValue = get(_formValues, name, isUndefined(value) ? get(_defaultValues, name) : value);\r\n isUndefined(defaultValue) ||\r\n (ref && ref.defaultChecked) ||\r\n shouldSkipSetValueAs\r\n ? set(_formValues, name, shouldSkipSetValueAs ? defaultValue : getFieldValue(field._f))\r\n : setFieldValue(name, defaultValue);\r\n _stateFlags.mount && _updateValid();\r\n }\r\n };\r\n const updateTouchAndDirty = (name, fieldValue, isBlurEvent, shouldDirty, shouldRender) => {\r\n let isFieldDirty = false;\r\n const output = {\r\n name,\r\n };\r\n const isPreviousFieldTouched = get(_formState.touchedFields, name);\r\n if (_proxyFormState.isDirty) {\r\n const isPreviousFormDirty = _formState.isDirty;\r\n _formState.isDirty = output.isDirty = _getDirty();\r\n isFieldDirty = isPreviousFormDirty !== output.isDirty;\r\n }\r\n if (_proxyFormState.dirtyFields && (!isBlurEvent || shouldDirty)) {\r\n const isPreviousFieldDirty = get(_formState.dirtyFields, name);\r\n const isCurrentFieldPristine = deepEqual(get(_defaultValues, name), fieldValue);\r\n isCurrentFieldPristine\r\n ? unset(_formState.dirtyFields, name)\r\n : set(_formState.dirtyFields, name, true);\r\n output.dirtyFields = _formState.dirtyFields;\r\n isFieldDirty =\r\n isFieldDirty ||\r\n isPreviousFieldDirty !== get(_formState.dirtyFields, name);\r\n }\r\n if (isBlurEvent && !isPreviousFieldTouched) {\r\n set(_formState.touchedFields, name, isBlurEvent);\r\n output.touchedFields = _formState.touchedFields;\r\n isFieldDirty =\r\n isFieldDirty ||\r\n (_proxyFormState.touchedFields &&\r\n isPreviousFieldTouched !== isBlurEvent);\r\n }\r\n isFieldDirty && shouldRender && _subjects.state.next(output);\r\n return isFieldDirty ? output : {};\r\n };\r\n const shouldRenderByError = async (name, isValid, error, fieldState) => {\r\n const previousFieldError = get(_formState.errors, name);\r\n const shouldUpdateValid = _proxyFormState.isValid && _formState.isValid !== isValid;\r\n if (props.delayError && error) {\r\n delayErrorCallback = debounce(() => updateErrors(name, error));\r\n delayErrorCallback(props.delayError);\r\n }\r\n else {\r\n clearTimeout(timer);\r\n delayErrorCallback = null;\r\n error\r\n ? set(_formState.errors, name, error)\r\n : unset(_formState.errors, name);\r\n }\r\n if ((error ? !deepEqual(previousFieldError, error) : previousFieldError) ||\r\n !isEmptyObject(fieldState) ||\r\n shouldUpdateValid) {\r\n const updatedFormState = {\r\n ...fieldState,\r\n ...(shouldUpdateValid ? { isValid } : {}),\r\n errors: _formState.errors,\r\n name,\r\n };\r\n _formState = {\r\n ..._formState,\r\n ...updatedFormState,\r\n };\r\n _subjects.state.next(updatedFormState);\r\n }\r\n validateFields[name]--;\r\n if (_proxyFormState.isValidating &&\r\n !Object.values(validateFields).some((v) => v)) {\r\n _subjects.state.next({\r\n isValidating: false,\r\n });\r\n validateFields = {};\r\n }\r\n };\r\n const _executeSchema = async (name) => _options.resolver\r\n ? await _options.resolver({ ..._formValues }, _options.context, getResolverOptions(name || _names.mount, _fields, _options.criteriaMode, _options.shouldUseNativeValidation))\r\n : {};\r\n const executeSchemaAndUpdateState = async (names) => {\r\n const { errors } = await _executeSchema();\r\n if (names) {\r\n for (const name of names) {\r\n const error = get(errors, name);\r\n error\r\n ? set(_formState.errors, name, error)\r\n : unset(_formState.errors, name);\r\n }\r\n }\r\n else {\r\n _formState.errors = errors;\r\n }\r\n return errors;\r\n };\r\n const executeBuiltInValidation = async (fields, shouldOnlyCheckValid, context = {\r\n valid: true,\r\n }) => {\r\n for (const name in fields) {\r\n const field = fields[name];\r\n if (field) {\r\n const { _f, ...fieldValue } = field;\r\n if (_f) {\r\n const isFieldArrayRoot = _names.array.has(_f.name);\r\n const fieldError = await validateField(field, get(_formValues, _f.name), shouldDisplayAllAssociatedErrors, _options.shouldUseNativeValidation, isFieldArrayRoot);\r\n if (fieldError[_f.name]) {\r\n context.valid = false;\r\n if (shouldOnlyCheckValid) {\r\n break;\r\n }\r\n }\r\n !shouldOnlyCheckValid &&\r\n (get(fieldError, _f.name)\r\n ? isFieldArrayRoot\r\n ? updateFieldArrayRootError(_formState.errors, fieldError, _f.name)\r\n : set(_formState.errors, _f.name, fieldError[_f.name])\r\n : unset(_formState.errors, _f.name));\r\n }\r\n fieldValue &&\r\n (await executeBuiltInValidation(fieldValue, shouldOnlyCheckValid, context));\r\n }\r\n }\r\n return context.valid;\r\n };\r\n const _removeUnmounted = () => {\r\n for (const name of _names.unMount) {\r\n const field = get(_fields, name);\r\n field &&\r\n (field._f.refs\r\n ? field._f.refs.every((ref) => !live(ref))\r\n : !live(field._f.ref)) &&\r\n unregister(name);\r\n }\r\n _names.unMount = new Set();\r\n };\r\n const _getDirty = (name, data) => (name && data && set(_formValues, name, data),\r\n !deepEqual(getValues(), _defaultValues));\r\n const _getWatch = (names, defaultValue, isGlobal) => {\r\n const fieldValues = {\r\n ...(_stateFlags.mount\r\n ? _formValues\r\n : isUndefined(defaultValue)\r\n ? _defaultValues\r\n : isString(names)\r\n ? { [names]: defaultValue }\r\n : defaultValue),\r\n };\r\n return generateWatchOutput(names, _names, fieldValues, isGlobal);\r\n };\r\n const _getFieldArray = (name) => compact(get(_stateFlags.mount ? _formValues : _defaultValues, name, props.shouldUnregister ? get(_defaultValues, name, []) : []));\r\n const setFieldValue = (name, value, options = {}) => {\r\n const field = get(_fields, name);\r\n let fieldValue = value;\r\n if (field) {\r\n const fieldReference = field._f;\r\n if (fieldReference) {\r\n !fieldReference.disabled &&\r\n set(_formValues, name, getFieldValueAs(value, fieldReference));\r\n fieldValue =\r\n isWeb && isHTMLElement(fieldReference.ref) && isNullOrUndefined(value)\r\n ? ''\r\n : value;\r\n if (isMultipleSelect(fieldReference.ref)) {\r\n [...fieldReference.ref.options].forEach((optionRef) => (optionRef.selected = fieldValue.includes(optionRef.value)));\r\n }\r\n else if (fieldReference.refs) {\r\n if (isCheckBoxInput(fieldReference.ref)) {\r\n fieldReference.refs.length > 1\r\n ? fieldReference.refs.forEach((checkboxRef) => (!checkboxRef.defaultChecked || !checkboxRef.disabled) &&\r\n (checkboxRef.checked = Array.isArray(fieldValue)\r\n ? !!fieldValue.find((data) => data === checkboxRef.value)\r\n : fieldValue === checkboxRef.value))\r\n : fieldReference.refs[0] &&\r\n (fieldReference.refs[0].checked = !!fieldValue);\r\n }\r\n else {\r\n fieldReference.refs.forEach((radioRef) => (radioRef.checked = radioRef.value === fieldValue));\r\n }\r\n }\r\n else if (isFileInput(fieldReference.ref)) {\r\n fieldReference.ref.value = '';\r\n }\r\n else {\r\n fieldReference.ref.value = fieldValue;\r\n if (!fieldReference.ref.type) {\r\n _subjects.watch.next({\r\n name,\r\n });\r\n }\r\n }\r\n }\r\n }\r\n (options.shouldDirty || options.shouldTouch) &&\r\n updateTouchAndDirty(name, fieldValue, options.shouldTouch, options.shouldDirty, true);\r\n options.shouldValidate && trigger(name);\r\n };\r\n const setValues = (name, value, options) => {\r\n for (const fieldKey in value) {\r\n const fieldValue = value[fieldKey];\r\n const fieldName = `${name}.${fieldKey}`;\r\n const field = get(_fields, fieldName);\r\n (_names.array.has(name) ||\r\n !isPrimitive(fieldValue) ||\r\n (field && !field._f)) &&\r\n !isDateObject(fieldValue)\r\n ? setValues(fieldName, fieldValue, options)\r\n : setFieldValue(fieldName, fieldValue, options);\r\n }\r\n };\r\n const setValue = (name, value, options = {}) => {\r\n const field = get(_fields, name);\r\n const isFieldArray = _names.array.has(name);\r\n const cloneValue = cloneObject(value);\r\n set(_formValues, name, cloneValue);\r\n if (isFieldArray) {\r\n _subjects.array.next({\r\n name,\r\n values: _formValues,\r\n });\r\n if ((_proxyFormState.isDirty || _proxyFormState.dirtyFields) &&\r\n options.shouldDirty) {\r\n _formState.dirtyFields = getDirtyFields(_defaultValues, _formValues);\r\n _subjects.state.next({\r\n name,\r\n dirtyFields: _formState.dirtyFields,\r\n isDirty: _getDirty(name, cloneValue),\r\n });\r\n }\r\n }\r\n else {\r\n field && !field._f && !isNullOrUndefined(cloneValue)\r\n ? setValues(name, cloneValue, options)\r\n : setFieldValue(name, cloneValue, options);\r\n }\r\n isWatched(name, _names) && _subjects.state.next({});\r\n _subjects.watch.next({\r\n name,\r\n });\r\n };\r\n const onChange = async (event) => {\r\n const target = event.target;\r\n let name = target.name;\r\n const field = get(_fields, name);\r\n if (field) {\r\n let error;\r\n let isValid;\r\n const fieldValue = target.type\r\n ? getFieldValue(field._f)\r\n : getEventValue(event);\r\n const isBlurEvent = event.type === EVENTS.BLUR || event.type === EVENTS.FOCUS_OUT;\r\n const shouldSkipValidation = (!hasValidation(field._f) &&\r\n !_options.resolver &&\r\n !get(_formState.errors, name) &&\r\n !field._f.deps) ||\r\n skipValidation(isBlurEvent, get(_formState.touchedFields, name), _formState.isSubmitted, validationModeAfterSubmit, validationModeBeforeSubmit);\r\n const watched = isWatched(name, _names, isBlurEvent);\r\n set(_formValues, name, fieldValue);\r\n if (isBlurEvent) {\r\n field._f.onBlur && field._f.onBlur(event);\r\n delayErrorCallback && delayErrorCallback(0);\r\n }\r\n else if (field._f.onChange) {\r\n field._f.onChange(event);\r\n }\r\n const fieldState = updateTouchAndDirty(name, fieldValue, isBlurEvent, false);\r\n const shouldRender = !isEmptyObject(fieldState) || watched;\r\n !isBlurEvent &&\r\n _subjects.watch.next({\r\n name,\r\n type: event.type,\r\n });\r\n if (shouldSkipValidation) {\r\n return (shouldRender &&\r\n _subjects.state.next({ name, ...(watched ? {} : fieldState) }));\r\n }\r\n !isBlurEvent && watched && _subjects.state.next({});\r\n validateFields[name] = validateFields[name] ? +1 : 1;\r\n _subjects.state.next({\r\n isValidating: true,\r\n });\r\n if (_options.resolver) {\r\n const { errors } = await _executeSchema([name]);\r\n const previousErrorLookupResult = schemaErrorLookup(_formState.errors, _fields, name);\r\n const errorLookupResult = schemaErrorLookup(errors, _fields, previousErrorLookupResult.name || name);\r\n error = errorLookupResult.error;\r\n name = errorLookupResult.name;\r\n isValid = isEmptyObject(errors);\r\n }\r\n else {\r\n error = (await validateField(field, get(_formValues, name), shouldDisplayAllAssociatedErrors, _options.shouldUseNativeValidation))[name];\r\n isValid = await _updateValid(true);\r\n }\r\n field._f.deps &&\r\n trigger(field._f.deps);\r\n shouldRenderByError(name, isValid, error, fieldState);\r\n }\r\n };\r\n const trigger = async (name, options = {}) => {\r\n let isValid;\r\n let validationResult;\r\n const fieldNames = convertToArrayPayload(name);\r\n _subjects.state.next({\r\n isValidating: true,\r\n });\r\n if (_options.resolver) {\r\n const errors = await executeSchemaAndUpdateState(isUndefined(name) ? name : fieldNames);\r\n isValid = isEmptyObject(errors);\r\n validationResult = name\r\n ? !fieldNames.some((name) => get(errors, name))\r\n : isValid;\r\n }\r\n else if (name) {\r\n validationResult = (await Promise.all(fieldNames.map(async (fieldName) => {\r\n const field = get(_fields, fieldName);\r\n return await executeBuiltInValidation(field && field._f ? { [fieldName]: field } : field);\r\n }))).every(Boolean);\r\n !(!validationResult && !_formState.isValid) && _updateValid();\r\n }\r\n else {\r\n validationResult = isValid = await executeBuiltInValidation(_fields);\r\n }\r\n _subjects.state.next({\r\n ...(!isString(name) ||\r\n (_proxyFormState.isValid && isValid !== _formState.isValid)\r\n ? {}\r\n : { name }),\r\n ...(_options.resolver || !name ? { isValid } : {}),\r\n errors: _formState.errors,\r\n isValidating: false,\r\n });\r\n options.shouldFocus &&\r\n !validationResult &&\r\n focusFieldBy(_fields, (key) => key && get(_formState.errors, key), name ? fieldNames : _names.mount);\r\n return validationResult;\r\n };\r\n const getValues = (fieldNames) => {\r\n const values = {\r\n ..._defaultValues,\r\n ...(_stateFlags.mount ? _formValues : {}),\r\n };\r\n return isUndefined(fieldNames)\r\n ? values\r\n : isString(fieldNames)\r\n ? get(values, fieldNames)\r\n : fieldNames.map((name) => get(values, name));\r\n };\r\n const getFieldState = (name, formState) => ({\r\n invalid: !!get((formState || _formState).errors, name),\r\n isDirty: !!get((formState || _formState).dirtyFields, name),\r\n isTouched: !!get((formState || _formState).touchedFields, name),\r\n error: get((formState || _formState).errors, name),\r\n });\r\n const clearErrors = (name) => {\r\n name\r\n ? convertToArrayPayload(name).forEach((inputName) => unset(_formState.errors, inputName))\r\n : (_formState.errors = {});\r\n _subjects.state.next({\r\n errors: _formState.errors,\r\n });\r\n };\r\n const setError = (name, error, options) => {\r\n const ref = (get(_fields, name, { _f: {} })._f || {}).ref;\r\n set(_formState.errors, name, {\r\n ...error,\r\n ref,\r\n });\r\n _subjects.state.next({\r\n name,\r\n errors: _formState.errors,\r\n isValid: false,\r\n });\r\n options && options.shouldFocus && ref && ref.focus && ref.focus();\r\n };\r\n const watch = (name, defaultValue) => isFunction(name)\r\n ? _subjects.watch.subscribe({\r\n next: (info) => name(_getWatch(undefined, defaultValue), info),\r\n })\r\n : _getWatch(name, defaultValue, true);\r\n const unregister = (name, options = {}) => {\r\n for (const fieldName of name ? convertToArrayPayload(name) : _names.mount) {\r\n _names.mount.delete(fieldName);\r\n _names.array.delete(fieldName);\r\n if (get(_fields, fieldName)) {\r\n if (!options.keepValue) {\r\n unset(_fields, fieldName);\r\n unset(_formValues, fieldName);\r\n }\r\n !options.keepError && unset(_formState.errors, fieldName);\r\n !options.keepDirty && unset(_formState.dirtyFields, fieldName);\r\n !options.keepTouched && unset(_formState.touchedFields, fieldName);\r\n !_options.shouldUnregister &&\r\n !options.keepDefaultValue &&\r\n unset(_defaultValues, fieldName);\r\n }\r\n }\r\n _subjects.watch.next({});\r\n _subjects.state.next({\r\n ..._formState,\r\n ...(!options.keepDirty ? {} : { isDirty: _getDirty() }),\r\n });\r\n !options.keepIsValid && _updateValid();\r\n };\r\n const register = (name, options = {}) => {\r\n let field = get(_fields, name);\r\n const disabledIsDefined = isBoolean(options.disabled);\r\n set(_fields, name, {\r\n ...(field || {}),\r\n _f: {\r\n ...(field && field._f ? field._f : { ref: { name } }),\r\n name,\r\n mount: true,\r\n ...options,\r\n },\r\n });\r\n _names.mount.add(name);\r\n field\r\n ? disabledIsDefined &&\r\n set(_formValues, name, options.disabled\r\n ? undefined\r\n : get(_formValues, name, getFieldValue(field._f)))\r\n : updateValidAndValue(name, true, options.value);\r\n return {\r\n ...(disabledIsDefined ? { disabled: options.disabled } : {}),\r\n ...(_options.shouldUseNativeValidation\r\n ? {\r\n required: !!options.required,\r\n min: getRuleValue(options.min),\r\n max: getRuleValue(options.max),\r\n minLength: getRuleValue(options.minLength),\r\n maxLength: getRuleValue(options.maxLength),\r\n pattern: getRuleValue(options.pattern),\r\n }\r\n : {}),\r\n name,\r\n onChange,\r\n onBlur: onChange,\r\n ref: (ref) => {\r\n if (ref) {\r\n register(name, options);\r\n field = get(_fields, name);\r\n const fieldRef = isUndefined(ref.value)\r\n ? ref.querySelectorAll\r\n ? ref.querySelectorAll('input,select,textarea')[0] || ref\r\n : ref\r\n : ref;\r\n const radioOrCheckbox = isRadioOrCheckbox(fieldRef);\r\n const refs = field._f.refs || [];\r\n if (radioOrCheckbox\r\n ? refs.find((option) => option === fieldRef)\r\n : fieldRef === field._f.ref) {\r\n return;\r\n }\r\n set(_fields, name, {\r\n _f: {\r\n ...field._f,\r\n ...(radioOrCheckbox\r\n ? {\r\n refs: [\r\n ...refs.filter(live),\r\n fieldRef,\r\n ...(!!Array.isArray(get(_defaultValues, name))\r\n ? [{}]\r\n : []),\r\n ],\r\n ref: { type: fieldRef.type, name },\r\n }\r\n : { ref: fieldRef }),\r\n },\r\n });\r\n updateValidAndValue(name, false, undefined, fieldRef);\r\n }\r\n else {\r\n field = get(_fields, name, {});\r\n if (field._f) {\r\n field._f.mount = false;\r\n }\r\n (_options.shouldUnregister || options.shouldUnregister) &&\r\n !(isNameInFieldArray(_names.array, name) && _stateFlags.action) &&\r\n _names.unMount.add(name);\r\n }\r\n },\r\n };\r\n };\r\n const _focusError = () => _options.shouldFocusError &&\r\n focusFieldBy(_fields, (key) => key && get(_formState.errors, key), _names.mount);\r\n const handleSubmit = (onValid, onInvalid) => async (e) => {\r\n if (e) {\r\n e.preventDefault && e.preventDefault();\r\n e.persist && e.persist();\r\n }\r\n let hasNoPromiseError = true;\r\n let fieldValues = cloneObject(_formValues);\r\n _subjects.state.next({\r\n isSubmitting: true,\r\n });\r\n try {\r\n if (_options.resolver) {\r\n const { errors, values } = await _executeSchema();\r\n _formState.errors = errors;\r\n fieldValues = values;\r\n }\r\n else {\r\n await executeBuiltInValidation(_fields);\r\n }\r\n if (isEmptyObject(_formState.errors)) {\r\n _subjects.state.next({\r\n errors: {},\r\n isSubmitting: true,\r\n });\r\n await onValid(fieldValues, e);\r\n }\r\n else {\r\n if (onInvalid) {\r\n await onInvalid({ ..._formState.errors }, e);\r\n }\r\n _focusError();\r\n }\r\n }\r\n catch (err) {\r\n hasNoPromiseError = false;\r\n throw err;\r\n }\r\n finally {\r\n _formState.isSubmitted = true;\r\n _subjects.state.next({\r\n isSubmitted: true,\r\n isSubmitting: false,\r\n isSubmitSuccessful: isEmptyObject(_formState.errors) && hasNoPromiseError,\r\n submitCount: _formState.submitCount + 1,\r\n errors: _formState.errors,\r\n });\r\n }\r\n };\r\n const resetField = (name, options = {}) => {\r\n if (get(_fields, name)) {\r\n if (isUndefined(options.defaultValue)) {\r\n setValue(name, get(_defaultValues, name));\r\n }\r\n else {\r\n setValue(name, options.defaultValue);\r\n set(_defaultValues, name, options.defaultValue);\r\n }\r\n if (!options.keepTouched) {\r\n unset(_formState.touchedFields, name);\r\n }\r\n if (!options.keepDirty) {\r\n unset(_formState.dirtyFields, name);\r\n _formState.isDirty = options.defaultValue\r\n ? _getDirty(name, get(_defaultValues, name))\r\n : _getDirty();\r\n }\r\n if (!options.keepError) {\r\n unset(_formState.errors, name);\r\n _proxyFormState.isValid && _updateValid();\r\n }\r\n _subjects.state.next({ ..._formState });\r\n }\r\n };\r\n const _reset = (formValues, keepStateOptions = {}) => {\r\n const updatedValues = formValues || _defaultValues;\r\n const cloneUpdatedValues = cloneObject(updatedValues);\r\n const values = formValues && !isEmptyObject(formValues)\r\n ? cloneUpdatedValues\r\n : _defaultValues;\r\n if (!keepStateOptions.keepDefaultValues) {\r\n _defaultValues = updatedValues;\r\n }\r\n if (!keepStateOptions.keepValues) {\r\n if (keepStateOptions.keepDirtyValues) {\r\n for (const fieldName of _names.mount) {\r\n get(_formState.dirtyFields, fieldName)\r\n ? set(values, fieldName, get(_formValues, fieldName))\r\n : setValue(fieldName, get(values, fieldName));\r\n }\r\n }\r\n else {\r\n if (isWeb && isUndefined(formValues)) {\r\n for (const name of _names.mount) {\r\n const field = get(_fields, name);\r\n if (field && field._f) {\r\n const fieldReference = Array.isArray(field._f.refs)\r\n ? field._f.refs[0]\r\n : field._f.ref;\r\n try {\r\n if (isHTMLElement(fieldReference)) {\r\n fieldReference.closest('form').reset();\r\n break;\r\n }\r\n }\r\n catch (_a) { }\r\n }\r\n }\r\n }\r\n _fields = {};\r\n }\r\n _formValues = props.shouldUnregister\r\n ? keepStateOptions.keepDefaultValues\r\n ? cloneObject(_defaultValues)\r\n : {}\r\n : cloneUpdatedValues;\r\n _subjects.array.next({\r\n values,\r\n });\r\n _subjects.watch.next({\r\n values,\r\n });\r\n }\r\n _names = {\r\n mount: new Set(),\r\n unMount: new Set(),\r\n array: new Set(),\r\n watch: new Set(),\r\n watchAll: false,\r\n focus: '',\r\n };\r\n _stateFlags.mount =\r\n !_proxyFormState.isValid || !!keepStateOptions.keepIsValid;\r\n _stateFlags.watch = !!props.shouldUnregister;\r\n _subjects.state.next({\r\n submitCount: keepStateOptions.keepSubmitCount\r\n ? _formState.submitCount\r\n : 0,\r\n isDirty: keepStateOptions.keepDirty || keepStateOptions.keepDirtyValues\r\n ? _formState.isDirty\r\n : !!(keepStateOptions.keepDefaultValues &&\r\n !deepEqual(formValues, _defaultValues)),\r\n isSubmitted: keepStateOptions.keepIsSubmitted\r\n ? _formState.isSubmitted\r\n : false,\r\n dirtyFields: keepStateOptions.keepDirty || keepStateOptions.keepDirtyValues\r\n ? _formState.dirtyFields\r\n : keepStateOptions.keepDefaultValues && formValues\r\n ? getDirtyFields(_defaultValues, formValues)\r\n : {},\r\n touchedFields: keepStateOptions.keepTouched\r\n ? _formState.touchedFields\r\n : {},\r\n errors: keepStateOptions.keepErrors ? _formState.errors : {},\r\n isSubmitting: false,\r\n isSubmitSuccessful: false,\r\n });\r\n };\r\n const reset = (formValues, keepStateOptions) => _reset(isFunction(formValues)\r\n ? formValues(_formValues)\r\n : formValues, keepStateOptions);\r\n const setFocus = (name, options = {}) => {\r\n const field = get(_fields, name);\r\n const fieldReference = field && field._f;\r\n if (fieldReference) {\r\n const fieldRef = fieldReference.refs\r\n ? fieldReference.refs[0]\r\n : fieldReference.ref;\r\n if (fieldRef.focus) {\r\n fieldRef.focus();\r\n options.shouldSelect && fieldRef.select();\r\n }\r\n }\r\n };\r\n return {\r\n control: {\r\n register,\r\n unregister,\r\n getFieldState,\r\n _executeSchema,\r\n _focusError,\r\n _getWatch,\r\n _getDirty,\r\n _updateValid,\r\n _removeUnmounted,\r\n _updateFieldArray,\r\n _getFieldArray,\r\n _subjects,\r\n _proxyFormState,\r\n get _fields() {\r\n return _fields;\r\n },\r\n get _formValues() {\r\n return _formValues;\r\n },\r\n get _stateFlags() {\r\n return _stateFlags;\r\n },\r\n set _stateFlags(value) {\r\n _stateFlags = value;\r\n },\r\n get _defaultValues() {\r\n return _defaultValues;\r\n },\r\n get _names() {\r\n return _names;\r\n },\r\n set _names(value) {\r\n _names = value;\r\n },\r\n get _formState() {\r\n return _formState;\r\n },\r\n set _formState(value) {\r\n _formState = value;\r\n },\r\n get _options() {\r\n return _options;\r\n },\r\n set _options(value) {\r\n _options = {\r\n ..._options,\r\n ...value,\r\n };\r\n },\r\n },\r\n trigger,\r\n register,\r\n handleSubmit,\r\n watch,\r\n setValue,\r\n getValues,\r\n reset,\r\n resetField,\r\n clearErrors,\r\n unregister,\r\n setError,\r\n setFocus,\r\n getFieldState,\r\n };\r\n}\n\n/**\r\n * Custom hook to manage the entire form.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/useform) • [Demo](https://codesandbox.io/s/react-hook-form-get-started-ts-5ksmm) • [Video](https://www.youtube.com/watch?v=RkXv4AXXC_4)\r\n *\r\n * @param props - form configuration and validation parameters.\r\n *\r\n * @returns methods - individual functions to manage the form state. {@link UseFormReturn}\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const { register, handleSubmit, watch, formState: { errors } } = useForm();\r\n * const onSubmit = data => console.log(data);\r\n *\r\n * console.log(watch(\"example\"));\r\n *\r\n * return (\r\n * \r\n * );\r\n * }\r\n * ```\r\n */\r\nfunction useForm(props = {}) {\r\n const _formControl = React.useRef();\r\n const [formState, updateFormState] = React.useState({\r\n isDirty: false,\r\n isValidating: false,\r\n isSubmitted: false,\r\n isSubmitting: false,\r\n isSubmitSuccessful: false,\r\n isValid: false,\r\n submitCount: 0,\r\n dirtyFields: {},\r\n touchedFields: {},\r\n errors: {},\r\n defaultValues: props.defaultValues,\r\n });\r\n if (!_formControl.current) {\r\n _formControl.current = {\r\n ...createFormControl(props),\r\n formState,\r\n };\r\n }\r\n const control = _formControl.current.control;\r\n control._options = props;\r\n useSubscribe({\r\n subject: control._subjects.state,\r\n callback: React.useCallback((value) => {\r\n if (shouldRenderFormState(value, control._proxyFormState, true)) {\r\n control._formState = {\r\n ...control._formState,\r\n ...value,\r\n };\r\n updateFormState({ ...control._formState });\r\n }\r\n }, [control]),\r\n });\r\n React.useEffect(() => {\r\n if (!control._stateFlags.mount) {\r\n control._proxyFormState.isValid && control._updateValid();\r\n control._stateFlags.mount = true;\r\n }\r\n if (control._stateFlags.watch) {\r\n control._stateFlags.watch = false;\r\n control._subjects.state.next({});\r\n }\r\n control._removeUnmounted();\r\n });\r\n React.useEffect(() => {\r\n formState.submitCount && control._focusError();\r\n }, [control, formState.submitCount]);\r\n _formControl.current.formState = getProxyFormState(formState, control);\r\n return _formControl.current;\r\n}\n\nexport { Controller, FormProvider, appendErrors, get, set, useController, useFieldArray, useForm, useFormContext, useFormState, useWatch };\n//# sourceMappingURL=index.esm.mjs.map\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import metadata from './block.json';\nconst { __ } = wp.i18n;\nconst { registerBlockType } = wp.blocks; \n\n// Import JS\nimport edit from './edit';\n\nexport const name = 'has/click-to-share';\nregisterBlockType( metadata, {\n\ticon: ,\n\tedit,\n\n\t// Render via PHP\n\tsave() {\n\t\treturn null;\n\t},\n} );\n"],"names":["classnames","useEffect","ColorPicker","GradientPicker","GradientSync","GradientGenerator","DimensionsControlBlock","useDeviceType","buildDimensionsCSS","UnitChooser","Typography","BackgroundSelector","geHierarchicalPlaceholderValue","getHierarchicalValueUnit","__","wp","i18n","components","PanelBody","PanelRow","RangeControl","SelectControl","TextControl","ButtonGroup","Button","ToggleControl","escapeHtml","escapeAttribute","escapeEditableHTML","blockEditor","InspectorControls","RichText","useBlockProps","useInstanceId","compose","richText","create","toHTMLString","HAS_Click_To_Share","props","deviceType","setDeviceType","generatedUniqueId","attributes","setAttributes","shareText","backgroundType","backgroundColor","backgroundColorHover","backgroundGradient","backgroundGradientHover","backgroundGradientSync","backgroundImage","textColor","textColorHover","shareTextColor","shareTextColorHover","showClickToShare","showIcon","fontSize","iconSize","clickText","padding","border","borderRadius","borderColor","iconColor","iconColorHover","borderColorHover","clickShareFontSize","maxWidth","maxWidthUnit","alignment","align","marginTop","marginRight","marginBottom","marginLeft","marginSize","paddingSize","borderWidth","borderRadiusSize","uniqueId","typographyQuote","typographyShareText","portPadding","desktop","top","right","bottom","left","unit","unitSync","portText","value","html","preserveWhiteSpace","multilineTag","portMargin","portBorderWidth","portBorderRadius","getFontStyles","fontObject","fontType","toLowerCase","fontSlug","fontFamilySlug","has_gutenberg","cssFolder","adobeFontsUrl","adobeProjectId","screenSize","styles","fontFamily","fontWeight","fontSizeUnit","lineHeight","lineHeightUnit","letterSpacing","letterSpacingUnit","textTransform","backgroundImageStyles","decodeURIComponent","encodeURIComponent","url","backgroundPosition","backgroundRepeat","backgroundSize","parseFloat","backgroundOpacity","backgroundOpacityHover","panelHeader","document","querySelector","panelHeaderHeight","offsetHeight","inspectorControls","e","slug","newValue","colorPalette","formValues","newValues","block","width","height","blockProps","className","fontFamilies","Arial","name","family","type","fallback","Helvetica","Times","Courier","Verdana","Georgia","Palatino","Garamond","Bookman","Impact","Roboto","Karla","Lato","Montserrat","Raleway","React","useState","useRef","BaseControl","Popover","MediaUploadCheck","MediaUpload","useForm","Controller","useWatch","classNames","mediaUploadButton","backgroundSettingsVisible","setBackgroundSettingsVisible","backgroundSettingsPopoverAnchor","setBackgroundSettingsPopoverAnchor","isVisible","setIsVisible","isToggled","setIsToggled","errorImage","setErrorImage","getDefaultValues","values","id","defaultValues","control","setValue","getValues","label","onValuesChange","getBackgroundRepeat","field","onChange","toggleClose","setTimeout","getPopoverContent","getBackgroundUploader","media","current","focus","open","hexToRgba","Tooltip","ColorPalette","HASColorPicker","colorKey","setColorKey","color","setColor","defaultColor","defaultColors","onOpacityChange","alpha","valueOpacity","getDefaultColors","existingColors","newColors","forEach","maybeNewColor","index","includes","push","opacityIcon","toggleVisible","background","newColor","hex","opacityValue","console","log","UnitPicker","sprintf","_x","useFormState","getHierarchicalValueUnitSync","setScreenSize","mobile","tablet","labelTop","labelRight","labelBottom","labelLeft","units","changeAllValues","syncUnits","numbers","syncValue","Math","max","apply","onChangeUnits","onDimensionChange","syncIcon","PropTypes","getRandomGradient","HASGradientGenerator","getGradient","gradient","defaultProps","propTypes","string","isRequired","func","HASGradientPicker","gradientPickerButtonAnchor","setGradientPickerButtonAnchor","clearable","getGradientStyles","hexRegex","match","bool","HASGradientSync","object","fontSizeUnitPopoverVisible","setFontSizeUnitPopoverVisible","fontSizeUnitPopoverAnchor","setFontSizeUnitPopoverAnchor","lineHeightUnitPopoverVisible","setLineHeightUnitPopoverVisible","lineHeightUnitPopoverAnchor","setLineHeightUnitPopoverAnchor","letterSpacingUnitPopoverVisible","setLetterSpacingUnitPopoverVisible","letterSpacingUnitPopoverAnchor","setLetterSpacingUnitPopoverAnchor","fontSettingsPopoverVisible","setFontSettingsPopoverVisible","fontSettingsPopoverAnchor","setFontSettingsPopoverAnchor","fontFallback","getFonts","adobeFonts","fonts","families","Object","mergedFamilies","font","unshift","getTextTransform","getFontSize","getFontWeights","fontWeights","getLineHeight","getFontType","getFontFallback","getLetterSpacing","onClick","map","unitName","useDispatch","useSelect","dispatch","__experimentalSetPreviewDeviceType","setPreviewDeviceType","select","__experimentalGetPreviewDeviceType","experimentalGetPreviewDeviceType","shorthandCSS","dimensions","gradients","randomIndex","floor","random","length","output","trim","metadata","registerBlockType","blocks","edit","icon","save"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"has-click-to-share.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;;AAEoC;AACF;AAC2B;AACM;AACJ;AACU;AACG;AAChB;AACY;AACX;AACF;AACgB;AAI/B;AAE5C,IAAQc,EAAE,GAAKC,EAAE,CAACC,IAAI,CAAdF,EAAE;AAEV,qBASIC,EAAE,CAACE,UAAU;EARhBC,SAAS,kBAATA,SAAS;EACTC,QAAQ,kBAARA,QAAQ;EACRC,YAAY,kBAAZA,YAAY;EACZC,aAAa,kBAAbA,aAAa;EACbC,WAAW,kBAAXA,WAAW;EACXC,WAAW,kBAAXA,WAAW;EACX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AAOA,KAAK;AACb;;;;;;;;;;AC9HA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,gBAAgB;AAChB;;AAEA;AACA;;AAEA,kBAAkB,sBAAsB;AACxC;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA,KAAK,KAA6B;AAClC;AACA;AACA,GAAG,SAAS,IAA4E;AACxF;AACA,EAAE,iCAAqB,EAAE,mCAAE;AAC3B;AACA,GAAG;AAAA,kGAAC;AACJ,GAAG,KAAK,EAEN;AACF,CAAC;;;;;;;;;;;;AC3DY;;AAEb;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,8HAA8H;;AAE9H;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;;AAGH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;;AAEA;;;;;;;;;;;ACrEA;AACA;AACA;AACA;AACA;;AAEa;AACb;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA,kCAAkC;AAClC;AACA;AACA;AACA;;AAEA;AACA;AACA,kBAAkB,QAAQ;AAC1B;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH,kCAAkC;AAClC;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,mBAAmB,oBAAoB;AACvC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;;ACzFA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA,IAAI,IAAqC;AACzC,6BAA6B,mBAAO,CAAC,yFAA4B;AACjE;AACA,YAAY,mBAAO,CAAC,uDAAW;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,YAAY;AAClB;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,QAAQ;AACnB,WAAW,WAAW;AACtB;AACA;AACA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6GAA6G;AAC7G;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;AACA,4DAA4D;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,IAAqC;AAC3C;AACA;AACA;;AAEA;;;;;;;;;;;;ACtGA;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb,cAAc,mBAAO,CAAC,kDAAU;AAChC,aAAa,mBAAO,CAAC,4DAAe;;AAEpC,2BAA2B,mBAAO,CAAC,yFAA4B;AAC/D,UAAU,mBAAO,CAAC,uDAAW;AAC7B,qBAAqB,mBAAO,CAAC,qEAAkB;;AAE/C;;AAEA,IAAI,IAAqC;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,2CAA2C;;AAE3C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,SAAS;AACtB,cAAc;AACd;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV,8BAA8B;AAC9B,QAAQ;AACR;AACA;AACA;AACA;AACA,+BAA+B,KAAK;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,4BAA4B;AAC5B,OAAO;AACP;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,QAAQ,IAAqC;AAC7C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,SAAS,KAAqC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,sBAAsB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,UAAU,IAAqC;AAC/C;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB,2BAA2B;AACjD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM,KAAqC,4FAA4F,CAAM;AAC7I;AACA;;AAEA,oBAAoB,gCAAgC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,sBAAsB,gCAAgC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,iHAAiH;AACjH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6BAA6B;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY;AACZ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ;AACR;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;;;;;;;;;;ACjmBA;AACA;AACA;AACA;AACA;AACA;;AAEA,IAAI,IAAqC;AACzC,gBAAgB,mBAAO,CAAC,kDAAU;;AAElC;AACA;AACA;AACA,mBAAmB,mBAAO,CAAC,uFAA2B;AACtD,EAAE,KAAK,EAIN;;;;;;;;;;;;AClBD;AACA;AACA;AACA;AACA;AACA;;AAEa;;AAEb;;AAEA;;;;;;;;;;;ACXA;;;;;;;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEa;;;;AAIb,IAAI,IAAqC;AACzC;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2EAA2E;AAC3E;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;AACA,EAAE;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;;AAEjD;AACA;AACA;AACA,kDAAkD;;AAElD;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iBAAiB;AACjB,sBAAsB;AACtB,uBAAuB;AACvB,uBAAuB;AACvB,eAAe;AACf,kBAAkB;AAClB,gBAAgB;AAChB,YAAY;AACZ,YAAY;AACZ,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,gBAAgB;AAChB,mBAAmB;AACnB,wBAAwB;AACxB,yBAAyB;AACzB,yBAAyB;AACzB,iBAAiB;AACjB,oBAAoB;AACpB,kBAAkB;AAClB,cAAc;AACd,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,oBAAoB;AACpB,kBAAkB;AAClB,0BAA0B;AAC1B,cAAc;AACd,GAAG;AACH;;;;;;;;;;;;ACpLa;;AAEb,IAAI,KAAqC,EAAE,EAE1C,CAAC;AACF,EAAE,gIAAyD;AAC3D;;;;;;;;;;;;ACNA;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;;;;;;ACAA;;;;;;;;;;;;;;;;;;;;;;;;;;ACA0B;;AAE1B;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,wBAAwB,gDAAmB;AAC3C;AACA,iNAAiN,mBAAmB;AACpO;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,YAAY;AAClC,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,WAAW,oBAAoB;AAC5C,oBAAoB,qBAAqB;AACzC;AACA;AACA;AACA,6BAA6B,6CAAgB;AAC7C;AACA,0KAA0K,qBAAqB;AAC/L;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sBAAsB,YAAY;AAClC,yBAAyB,+BAA+B;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,WAAW,oBAAoB;AAC5C,oBAAoB,qBAAqB;AACzC;AACA;AACA;AACA;AACA,YAAY,oBAAoB;AAChC,YAAY,gDAAmB,6BAA6B,aAAa;AACzE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;;AAEA;;AAEA;AACA,YAAY,qBAAqB;AACjC;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,mBAAmB,yCAAY;AAC/B;AACA,IAAI,4CAAe;AACnB;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,mEAAmE;AACnE;AACA;AACA;AACA;AACA,aAAa,kCAAkC;AAC/C;AACA;AACA,OAAO;AACP,aAAa,cAAc;AAC3B;AACA,MAAM;AACN;AACA;AACA;AACA,uBAAuB,uBAAuB;AAC9C,iBAAiB,0BAA0B;AAC3C,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,mDAAmD;AAC/D,yCAAyC,2CAAc;AACvD,qBAAqB,yCAAY;AACjC,iCAAiC,yCAAY;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,kBAAkB,yCAAY;AAC9B;AACA;AACA;AACA,kBAAkB,8CAAiB;AACnC;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA,KAAK;AACL,IAAI,4CAAe;AACnB;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA,YAAY,kEAAkE;AAC9E,kBAAkB,yCAAY;AAC9B;AACA;AACA;AACA;AACA,kBAAkB,8CAAiB;AACnC;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,KAAK;AACL,iCAAiC,2CAAc;AAC/C;AACA;AACA,IAAI,4CAAe;AACnB;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;AACA,aAAa,+BAA+B;AAC5C;AACA;AACA,iBAAiB,UAAU,aAAa,YAAY;AACpD,aAAa,kCAAkC;AAC/C,aAAa,yCAAyC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,oDAAoD;AAChE;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL,2BAA2B,yCAAY;AACvC;AACA;AACA,KAAK;AACL,IAAI,4CAAe;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,sBAAsB,8CAAiB;AACvC;AACA;AACA;AACA,iBAAiB;AACjB;AACA,aAAa;AACb,oBAAoB,8CAAiB;AACrC;AACA;AACA;AACA,iBAAiB;AACjB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA,8CAA8C;AAC9C;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa,UAAU;AACvB;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA,mBAAmB,GAAG,SAAS,8BAA8B,yBAAyB;AACtF;AACA;AACA,2BAA2B,UAAU;AACrC,yBAAyB,QAAQ;AACjC,wBAAwB,OAAO;AAC/B,sBAAsB,KAAK;AAC3B;AACA,mBAAmB,yCAAyC;AAC5D,mBAAmB,sCAAsC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,4EAA4E;AAC5E;AACA,SAAS;AACT;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,oBAAoB,sBAAsB;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA,kDAAkD;AAClD;AACA,WAAW,KAAK,GAAG,6DAA6D;AAChF;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA,8CAA8C,iDAAoB;;AAElE;;AAEA;;AAEA;AACA;AACA;AACA;AACA,sBAAsB;AACtB;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,YAAY,gHAAgH;AAC5H;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,iBAAiB;AACjC,gBAAgB;AAChB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAgB,+BAA+B;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,oCAAoC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sFAAsF;AACtF;AACA;AACA;AACA;AACA,aAAa,4DAA4D;AACzE;AACA;AACA;AACA,MAAM;AACN,aAAa,iBAAiB;AAC9B;AACA;AACA,MAAM;AACN;AACA;AACA,uBAAuB,wCAAwC;AAC/D,UAAU;AACV,wBAAwB,UAAU,oBAAoB,MAAM,eAAe;AAC3E;AACA,wCAAwC,eAAe,mBAAmB,EAAE;AAC5E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,qEAAqE;AACjF,gCAAgC,2CAAc;AAC9C,gBAAgB,yCAAY;AAC5B,sBAAsB,yCAAY;AAClC,kBAAkB,yCAAY;AAC9B,sBAAsB,yCAAY;AAClC;AACA;AACA;AACA;AACA;AACA,qBAAqB,8CAAiB,IAAI,+BAA+B;AACzE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL,yBAAyB,8CAAiB;AAC1C;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,wFAAwF;AACxF;AACA,IAAI,4CAAe;AACnB;AACA,0EAA0E;AAC1E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI,4CAAe;AACnB;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,cAAc,8CAAiB;AAC/B,cAAc,8CAAiB;AAC/B,iBAAiB,8CAAiB;AAClC,gBAAgB,8CAAiB;AACjC,gBAAgB,8CAAiB;AACjC,gBAAgB,8CAAiB;AACjC,gBAAgB,8CAAiB;AACjC,iBAAiB,8CAAiB;AAClC,gBAAgB,0CAAa;AAC7B;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA,kGAAkG;AAClG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,gCAAgC,wCAAwC;AACxE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C,OAAO;AACtD;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB,uBAAuB;AACvB,kBAAkB;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0CAA0C,UAAU,IAAI;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,oCAAoC,gBAAgB;AACpD;AACA;AACA,gBAAgB,SAAS;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,wBAAwB,oBAAoB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iCAAiC,KAAK,GAAG,SAAS;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0DAA0D;AAC1D;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iBAAiB;AACjB;AACA;AACA,2CAA2C,uBAAuB,eAAe;AACjF;AACA,8DAA8D;AAC9D;AACA;AACA;AACA,aAAa;AACb;AACA,wBAAwB,SAAS;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6CAA6C;AAC7C;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,4EAA4E,qBAAqB;AACjG,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB,MAAM;AAC1B,+CAA+C,UAAU,IAAI;AAC7D;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oDAAoD;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,qCAAqC;AACrC;AACA;AACA,SAAS;AACT;AACA;AACA,0CAA0C,QAAQ,UAAU;AAC5D;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+BAA+B;AAC/B;AACA;AACA,wCAAwC,IAAI,sBAAsB;AAClE,SAAS;AACT;AACA;AACA,wCAAwC;AACxC;AACA;AACA;AACA,2BAA2B;AAC3B;AACA,qDAAqD,OAAO,QAAQ;AACpE;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sCAAsC,6BAA6B,IAAI;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oBAAoB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAiD;AACjD;AACA;AACA,2CAA2C,2BAA2B;AACtE;AACA,oCAAoC,eAAe;AACnD,yBAAyB;AACzB,qBAAqB;AACrB;AACA;AACA;AACA,iDAAiD;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,wBAAwB,iBAAiB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,8BAA8B;AAC9B;AACA,iBAAiB;AACjB;AACA;AACA;AACA;AACA,sCAAsC,sBAAsB;AAC5D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,0CAA0C;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,eAAe;AAClD;AACA;AACA,qDAAqD;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACxB;AACA;AACA,oBAAoB;AACpB,wEAAwE;AACxE;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA,wCAAwC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;AACA,aAAa;AACb,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,sEAAsE;AACtE;AACA;AACA;AACA;AACA,aAAa,4CAA4C,WAAW;AACpE;AACA;AACA;AACA;AACA;AACA,uBAAuB,uBAAuB;AAC9C,qCAAqC,wBAAwB;AAC7D,iBAAiB,iCAAiC,gBAAgB,GAAG;AACrE,UAAU;AACV;AACA;AACA;AACA;AACA;AACA;AACA,2BAA2B;AAC3B,yBAAyB,yCAAY;AACrC,yCAAyC,2CAAc;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB,yBAAyB;AACzB,kBAAkB;AAClB;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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light-and-share/./src/blocks/click-to-share/edit.js","webpack://highlight-and-share/./src/fonts/fonts.js","webpack://highlight-and-share/./src/react/Components/BackgroundSelector/index.js","webpack://highlight-and-share/./src/react/Components/ColorPicker/index.js","webpack://highlight-and-share/./src/react/Components/DimensionsBlock/index.js","webpack://highlight-and-share/./src/react/Components/GradientGenerator/index.js","webpack://highlight-and-share/./src/react/Components/GradientPicker/index.js","webpack://highlight-and-share/./src/react/Components/GradientSync/index.js","webpack://highlight-and-share/./src/react/Components/Typography/index.js","webpack://highlight-and-share/./src/react/Components/unit-picker/index.js","webpack://highlight-and-share/./src/react/Hooks/useDeviceType.js","webpack://highlight-and-share/./src/react/Utils/DimensionsHelper.js","webpack://highlight-and-share/./src/react/Utils/GetRandomGradient.js","webpack://highlight-and-share/./src/react/Utils/ShorthandCSS.js","webpack://highlight-and-share/./src/react/Utils/TypographyHelper.js","webpack://highlight-and-share/./node_modules/classnames/index.js","webpack://highlight-and-share/./node_modules/hex-to-rgba/build/index.js","webpack://highlight-and-share/./node_modules/object-assign/index.js","webpack://highlight-and-share/./node_modules/prop-types/checkPropTypes.js","webpack://highlight-and-share/./node_modules/prop-types/factoryWithTypeCheckers.js","webpack://highlight-and-share/./node_modules/prop-types/index.js","webpack://highlight-and-share/./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://highlight-and-share/./node_modules/prop-types/lib/has.js","webpack://highlight-and-share/./node_modules/react-is/cjs/react-is.development.js","webpack://highlight-and-share/./node_modules/react-is/index.js","webpack://highlight-and-share/external window \"React\"","webpack://highlight-and-share/external window [\"wp\",\"blockEditor\"]","webpack://highlight-and-share/external window [\"wp\",\"components\"]","webpack://highlight-and-share/external window [\"wp\",\"data\"]","webpack://highlight-and-share/external window [\"wp\",\"element\"]","webpack://highlight-and-share/external window [\"wp\",\"i18n\"]","webpack://highlight-and-share/./node_modules/react-hook-form/dist/index.esm.mjs","webpack://highlight-and-share/webpack/bootstrap","webpack://highlight-and-share/webpack/runtime/compat get default export","webpack://highlight-and-share/webpack/runtime/define property getters","webpack://highlight-and-share/webpack/runtime/hasOwnProperty shorthand","webpack://highlight-and-share/webpack/runtime/make namespace object","webpack://highlight-and-share/./src/blocks/click-to-share/block.js"],"sourcesContent":["/**\n * External dependencies\n */\n\nimport classnames from 'classnames';\nimport { useEffect } from 'react';\nimport ColorPicker from '../../react/Components/ColorPicker';\nimport GradientPicker from '../../react/Components/GradientPicker';\nimport GradientSync from '../../react/Components/GradientSync';\nimport GradientGenerator from '../../react/Components/GradientGenerator';\nimport DimensionsControlBlock from '../../react/Components/DimensionsBlock';\nimport useDeviceType from '../../react/Hooks/useDeviceType';\nimport { buildDimensionsCSS } from '../../react/Utils/DimensionsHelper';\nimport UnitChooser from '../../react/Components/unit-picker';\nimport Typography from '../../react/Components/Typography';\nimport BackgroundSelector from '../../react/Components/BackgroundSelector';\nimport {\n\tgeHierarchicalPlaceholderValue,\n\tgetHierarchicalValueUnit,\n} from '../../react/Utils/TypographyHelper';\n\nconst { __ } = wp.i18n;\n\nconst {\n\tPanelBody,\n\tPanelRow,\n\tRangeControl,\n\tSelectControl,\n\tTextControl,\n\tButtonGroup,\n\tButton,\n\tToggleControl,\n} = wp.components;\n\nconst { escapeAttribute, escapeEditableHTML } = wp.escapeHtml;\n\nconst { InspectorControls, RichText, useBlockProps } = wp.blockEditor;\n\nconst { useInstanceId } = wp.compose;\n\nconst { create, toHTMLString } = wp.richText;\n\nconst HAS_Click_To_Share = ( props ) => {\n\tconst [ deviceType, setDeviceType ] = useDeviceType( 'Desktop' );\n\tconst generatedUniqueId = useInstanceId( HAS_Click_To_Share, 'has-cts' );\n\n\tconst { attributes, setAttributes } = props;\n\tconst {\n\t\tshareText,\n\t\tbackgroundType,\n\t\tbackgroundColor,\n\t\tbackgroundColorHover,\n\t\tbackgroundGradient,\n\t\tbackgroundGradientHover,\n\t\tbackgroundGradientSync,\n\t\tbackgroundImage,\n\t\ttextColor,\n\t\ttextColorHover,\n\t\tshareTextColor,\n\t\tshareTextColorHover,\n\t\tshowClickToShare,\n\t\tshowIcon,\n\t\tfontSize,\n\t\ticonSize,\n\t\tclickText,\n\t\tpadding,\n\t\tborder,\n\t\tborderRadius,\n\t\tborderColor,\n\t\ticonColor,\n\t\ticonColorHover,\n\t\tborderColorHover,\n\t\tclickShareFontSize,\n\t\tmaxWidth,\n\t\tmaxWidthUnit,\n\t\talignment,\n\t\talign,\n\t\tmarginTop,\n\t\tmarginRight,\n\t\tmarginBottom,\n\t\tmarginLeft,\n\t\tmarginSize,\n\t\tpaddingSize,\n\t\tborderWidth,\n\t\tborderRadiusSize,\n\t\tuniqueId,\n\t\ttypographyQuote,\n\t\ttypographyShareText,\n\t} = attributes;\n\n\tuseEffect( () => {\n\t\t// Set unique ID for block (for styling).\n\t\tsetAttributes( { uniqueId: generatedUniqueId } );\n\n\t\t// Port padding to new dimensions object.\n\t\tif ( padding !== -1 ) {\n\t\t\tconst portPadding = paddingSize;\n\t\t\tportPadding.desktop = {\n\t\t\t\ttop: padding,\n\t\t\t\tright: padding,\n\t\t\t\tbottom: padding,\n\t\t\t\tleft: padding,\n\t\t\t\tunit: 'px',\n\t\t\t\tunitSync: true,\n\t\t\t};\n\t\t\t// Convert text over.\n\t\t\tconst portText = toHTMLString( {\n\t\t\t\t// Stolen from: https://github.com/WordPress/gutenberg/pull/23562/files\n\t\t\t\tvalue: create( {\n\t\t\t\t\thtml: shareText,\n\t\t\t\t\tpreserveWhiteSpace: true,\n\t\t\t\t} ),\n\t\t\t\tmultilineTag: 'p',\n\t\t\t} );\n\t\t\tsetAttributes( {\n\t\t\t\tpaddingSize: portPadding,\n\t\t\t\tpadding: -1,\n\t\t\t\tbackgroundColorHover: backgroundColor,\n\t\t\t\tshareTextColor: textColor,\n\t\t\t\tshareTextColorHover: textColor,\n\t\t\t\ttextColorHover: textColor,\n\t\t\t\tborderColorHover: borderColor,\n\t\t\t\ticonColorHover: textColor,\n\t\t\t\ticonColor: textColor,\n\t\t\t\tshareText: portText,\n\t\t\t} );\n\t\t}\n\t\t// Port margin to new dimensions object.\n\t\tif ( marginTop !== -1 ) {\n\t\t\tconst portMargin = marginSize;\n\t\t\tportMargin.desktop = {\n\t\t\t\ttop: marginTop,\n\t\t\t\tright: marginRight,\n\t\t\t\tbottom: marginBottom,\n\t\t\t\tleft: marginLeft,\n\t\t\t\tunit: 'px',\n\t\t\t\tunitSync: true,\n\t\t\t};\n\t\t\tsetAttributes( {\n\t\t\t\tmarginSize: portMargin,\n\t\t\t\tmarginTop: -1,\n\t\t\t} );\n\t\t}\n\t\t// Port border width to new dimensions object.\n\t\tif ( border !== -1 ) {\n\t\t\tconst portBorderWidth = borderWidth;\n\t\t\tportBorderWidth.desktop = {\n\t\t\t\ttop: border,\n\t\t\t\tright: border,\n\t\t\t\tbottom: border,\n\t\t\t\tleft: border,\n\t\t\t\tunit: 'px',\n\t\t\t\tunitSync: true,\n\t\t\t};\n\t\t\tsetAttributes( {\n\t\t\t\tborderWidth: portBorderWidth,\n\t\t\t\tborder: -1,\n\t\t\t} );\n\t\t}\n\t\t// Port border radius to new dimensions object.\n\t\tif ( borderRadius !== -1 ) {\n\t\t\tconst portBorderRadius = borderRadiusSize;\n\t\t\tportBorderRadius.desktop = {\n\t\t\t\ttop: borderRadius,\n\t\t\t\tright: borderRadius,\n\t\t\t\tbottom: borderRadius,\n\t\t\t\tleft: borderRadius,\n\t\t\t\tunit: 'px',\n\t\t\t\tunitSync: true,\n\t\t\t};\n\t\t\tsetAttributes( {\n\t\t\t\tborderRadiusSize: portBorderRadius,\n\t\t\t\tborderRadius: -1,\n\t\t\t} );\n\t\t}\n\n\t\t// Port alignment over to align variable.\n\t\tif ( alignment !== 'none' ) {\n\t\t\tsetAttributes( { align: alignment, alignment: 'none' } );\n\t\t}\n\n\t\t// Port over icon size.\n\t\tif ( -1 === iconSize ) {\n\t\t\tsetAttributes( { iconSize: clickShareFontSize } );\n\t\t}\n\t}, [] );\n\n\tconst getFontStyles = ( fontObject ) => {\n\t\tconst fontType = fontObject[ deviceType.toLowerCase() ].fontType;\n\t\tconst fontSlug = fontObject[ deviceType.toLowerCase() ].fontFamilySlug;\n\t\tif ( 'google' === fontType ) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t>\n\t\t\t);\n\t\t}\n\t\tif ( 'adobe' === fontType ) {\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t\n\t\t\t\t>\n\t\t\t);\n\t\t}\n\t\treturn null;\n\t};\n\n\tconst screenSize = deviceType.toLowerCase();\n\tconst styles = `\n\t\t#${ uniqueId }.has-click-to-share {\n\t\t\tmargin: ${ buildDimensionsCSS( marginSize, deviceType ) };\n\t\t\tborder-radius: ${ buildDimensionsCSS( borderRadiusSize, deviceType ) };\n\t\t\tborder-style: solid;\n\t\t\tborder-width: ${ buildDimensionsCSS( borderWidth, deviceType ) };\n\t\t\tmax-width: ${ maxWidth }${ maxWidthUnit };\n\t\t\toverflow: hidden;\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share .has-click-to-share-cta,\n\t\t#${ uniqueId }.has-click-to-share .has-click-to-share-text {\n\t\t\tposition: relative;\n\t\t\tz-index: 2;\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share .has-click-to-share-wrapper {\n\t\t\tposition: relative;\n\t\t\tpadding: ${ buildDimensionsCSS( paddingSize, deviceType ) };\n\t\t\tfont-size: ${ clickShareFontSize }px;\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-color {\n\t\t\tbackground-color: ${ backgroundColor };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-color:hover {\n\t\t\tbackground-color: ${ backgroundColorHover };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-gradient {\n\t\t\tbackground-image: ${ backgroundGradient };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-gradient:hover {\n\t\t\tbackground-image: ${ backgroundGradientHover };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share {\n\t\t\tborder-color: ${ borderColor };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share:hover {\n\t\t\tborder-color: ${ borderColorHover };\n\t\t}\n\t\t\n\t\t#${ uniqueId } .has-click-to-share-cta {\n\t\t\tcolor: ${ shareTextColor }\n\t\t}\n\t\t#${ uniqueId }:hover .has-click-to-share-cta {\n\t\t\tcolor: ${ shareTextColorHover }\n\t\t}\n\t\t#${ uniqueId } .has-click-to-share-text {\n\t\t\tcolor: ${ textColor };\n\t\t}\n\t\t#${ uniqueId }:hover .has-click-to-share-text {\n\t\t\tcolor: ${ textColorHover };\n\t\t}\n\t\t#${ uniqueId } .has-click-to-share-cta svg {\n\t\t\tcolor: ${ iconColor };\n\t\t}\n\t\t#${ uniqueId }:hover .has-click-to-share-cta svg {\n\t\t\tcolor: ${ iconColorHover };\n\t\t}\n\t\t#${ uniqueId } .has-click-to-share-text,\n\t\t#${ uniqueId } .has-click-to-share-text p {\n\t\t\tfont-family: \"${ geHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].fontFamily,\n\t\t'fontFamily'\n\t) }\";\n\t\t\tfont-weight: ${ geHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].fontWeight,\n\t\t'fontWeight'\n\t) };\n\t\t\tfont-size: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].fontSize,\n\t\t'fontSize'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyQuote,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyQuote[ screenSize ].fontSizeUnit,\n\t\t\t\t\t'fontSizeUnit'\n\t\t\t\t)\n};\n\t\t\tline-height: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].lineHeight,\n\t\t'lineHeight'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyQuote,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyQuote[ screenSize ].lineHeightUnit,\n\t\t\t\t\t'lineHeightUnit'\n\t\t\t\t)\n};\n\t\t\tletter-spacing: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].letterSpacing,\n\t\t'letterSpacing'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyQuote,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyQuote[ screenSize ].letterSpacingUnit,\n\t\t\t\t\t'letterSpacingUnit'\n\t\t\t\t)\n};\n\t\t\ttext-transform: ${ geHierarchicalPlaceholderValue(\n\t\ttypographyQuote,\n\t\tscreenSize,\n\t\ttypographyQuote[ screenSize ].textTransform,\n\t\t'textTransform'\n\t) };\n\t\t}\n\t\t#${ uniqueId } .has-click-to-share-cta,\n\t\t#${ uniqueId } .has-click-to-share-cta p {\n\t\t\tfont-family: \"${ geHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].fontFamily,\n\t\t'fontFamily'\n\t) }\";\n\t\t\tfont-weight: ${ geHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].fontWeight,\n\t\t'fontWeight'\n\t) };\n\t\t\tfont-size: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].fontSize,\n\t\t'fontSize'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyShareText,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyShareText[ screenSize ].fontSizeUnit,\n\t\t\t\t\t'fontSizeUnit'\n\t\t\t\t)\n};\n\t\t\tline-height: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].lineHeight,\n\t\t'lineHeight'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyShareText,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyShareText[ screenSize ].lineHeightUnit,\n\t\t\t\t\t'lineHeightUnit'\n\t\t\t\t)\n};\n\t\t\tletter-spacing: ${\n\tgeHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].letterSpacing,\n\t\t'letterSpacing'\n\t) +\n\t\t\t\tgetHierarchicalValueUnit(\n\t\t\t\t\ttypographyShareText,\n\t\t\t\t\tscreenSize,\n\t\t\t\t\ttypographyShareText[ screenSize ].letterSpacingUnit,\n\t\t\t\t\t'letterSpacingUnit'\n\t\t\t\t)\n};\n\t\t\ttext-transform: ${ geHierarchicalPlaceholderValue(\n\t\ttypographyShareText,\n\t\tscreenSize,\n\t\ttypographyShareText[ screenSize ].textTransform,\n\t\t'textTransform'\n\t) };\n\t\t}\n\t`;\n\n\tlet backgroundImageStyles = '';\n\tif ( 'image' === backgroundType ) {\n\t\tbackgroundImageStyles = `\n\t\t#${ uniqueId }.has-click-to-share.has-background-image {\n\t\t\tbackground-color: ${ backgroundImage.backgroundColor };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-image .has-click-to-share-wrapper:after{\n\t\t\tdisplay: block;\n\t\t\tcontent: '';\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tz-index: 1;\n\t\t\tbackground-image: url('${ decodeURIComponent(\n\t\tencodeURIComponent( backgroundImage.url )\n\t) } ');\n\t\t\tbackground-position: ${ escapeEditableHTML(\n\t\tbackgroundImage.backgroundPosition\n\t) };\n\t\t\tbackground-repeat: ${ escapeEditableHTML( backgroundImage.backgroundRepeat ) };\n\t\t\tbackground-size: ${ escapeEditableHTML( backgroundImage.backgroundSize ) };\n\t\t\topacity: ${ parseFloat( backgroundImage.backgroundOpacity ) };\n\t\t}\n\t\t#${ uniqueId }.has-click-to-share.has-background-image .has-click-to-share-wrapper:hover:after {\n\t\t\topacity: ${ parseFloat( backgroundImage.backgroundOpacityHover ) };\n\t\t}\n\t\t`;\n\t}\n\n\t/* For sticky responsive: forked from GenerateBlocks */\n\tconst panelHeader = document.querySelector(\n\t\t'.edit-post-sidebar .edit-post-sidebar__panel-tabs'\n\t);\n\tconst panelHeaderHeight = panelHeader ? panelHeader.offsetHeight : 0;\n\n\tconst inspectorControls = (\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetDeviceType( 'Desktop' );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\ticon=\"laptop\"\n\t\t\t\t\t\ticonSize=\"14\"\n\t\t\t\t\t\tlabel={ __( 'Desktop', 'highlight-and-share' ) }\n\t\t\t\t\t/>\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetDeviceType( 'Tablet' );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\ticon=\"tablet\"\n\t\t\t\t\t\tlabel={ __( 'Tablet', 'highlight-and-share' ) }\n\t\t\t\t\t/>\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetDeviceType( 'Mobile' );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\ticon=\"smartphone\"\n\t\t\t\t\t\tlabel={ __( 'Mobile', 'highlight-and-share' ) }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t
\n\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\t\tshowClickToShare: value,\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t{ showClickToShare && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { clickText: value } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\t\tshowIcon: value,\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t setAttributes( { iconSize: value } ) }\n\t\t\t\t\t\t\tmin={ 10 }\n\t\t\t\t\t\t\tmax={ 150 }\n\t\t\t\t\t\t\tstep={ 1 }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t) }\n\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ __( 'Background Type', 'highlight-and-share' ) }
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundType: 'solid' } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Solid Background', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{ __( 'Solid', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundType: 'gradient' } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Gradient Background', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{ __( 'Gradient', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundType: 'image' } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Image Background', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{ __( 'Image', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{ backgroundType === 'solid' && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundColor: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tlabel={ __( 'Background Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\t\t\tdefaultColor={ backgroundColor }\n\t\t\t\t\t\t\t\t\tslug={ 'background-color' }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundColorHover: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tlabel={ __( 'Background Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\t\t\tdefaultColor={ backgroundColorHover }\n\t\t\t\t\t\t\t\t\tslug={ 'background-color-hover' }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t>\n\t\t\t\t\t) }\n\t\t\t\t\t{ backgroundType === 'gradient' && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundGradient: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tlabel={ __( 'Gradient Background', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\tclearable={ false }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundGradientHover: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tlabel={ __( 'Gradient Background Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\tclearable={ false }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t>\n\t\t\t\t\t) }\n\t\t\t\t\t{ backgroundType === 'image' && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetAttributes( { backgroundImage: newValue } );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t>\n\t\t\t\t\t) }\n\t\t\t\t\n\t\t\t) }\n\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { backgroundColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Background Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ backgroundColor }\n\t\t\t\t\t\t\tslug={ 'background-color' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { backgroundColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Background Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ backgroundColorHover }\n\t\t\t\t\t\t\tslug={ 'background-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { textColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Text Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ textColor }\n\t\t\t\t\t\t\tslug={ 'text-color' }\n\t\t\t\t\t\t/>{ ' ' }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { textColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Text Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ textColorHover }\n\t\t\t\t\t\t\tslug={ 'text-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { shareTextColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Share Text Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ shareTextColor }\n\t\t\t\t\t\t\tslug={ 'share-text-color' }\n\t\t\t\t\t\t/>{ ' ' }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { shareTextColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Share Text Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ shareTextColorHover }\n\t\t\t\t\t\t\tslug={ 'share-text-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { borderColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Border Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ borderColor }\n\t\t\t\t\t\t\tslug={ 'border-color' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { borderColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Border Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ borderColorHover }\n\t\t\t\t\t\t\tslug={ 'border-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { iconColor: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Icon Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ iconColor }\n\t\t\t\t\t\t\tslug={ 'icon-color' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( { iconColorHover: newValue } );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Icon Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ iconColorHover }\n\t\t\t\t\t\t\tslug={ 'icon-color-hover' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t) }\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\ttypographyQuote: formValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\tlabel={ __( 'Quote Typography', 'highlight-and-share' ) }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\ttypographyShareText: formValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t\tlabel={ __( 'Share Text Typography', 'highlight-and-share' ) }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\t\tmaxWidthUnit: value,\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\t\tmaxWidth: value,\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tpaddingSize: newValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tmarginSize: newValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tborderWidth: newValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t {\n\t\t\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\t\t\tborderRadiusSize: newValues,\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t{ deviceType === 'Desktop' && (\n\t\t\t\t\t<>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { borderColor: newValue } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Border Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\t\tdefaultColor={ borderColor }\n\t\t\t\t\t\t\t\tslug={ 'border-color' }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetAttributes( { borderColorHover: newValue } );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\tlabel={ __( 'Border Color Hover', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\t\tdefaultColor={ borderColorHover }\n\t\t\t\t\t\t\t\tslug={ 'border-color-hover' }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\n\t\t\t\t\t>\n\t\t\t\t) }\n\t\t\t\n\t\t\n\t);\n\n\tconst block = (\n\t\t<>\n\t\t\t{ inspectorControls }\n\t\t\t{ getFontStyles( typographyQuote ) }\n\t\t\t{ getFontStyles( typographyShareText ) }\n\t\t\t\n\t\t\t{ 'image' === backgroundType && ( \n\t\t\t\t\n\t\t\t) }\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t
{\n\t\t\t\t\t\t\tsetAttributes( { shareText: value } );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\t{ showClickToShare && <>{ clickText } > }\n\t\t\t\t\t\t{ showIcon && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t) }\n\t\t\t\t\t
\n\t\t\t\t\n\t\t\t
\n\t\t>\n\t);\n\n\tconst blockProps = useBlockProps( {\n\t\tclassName: classnames( `highlight-and-share`, `align${ align }` ),\n\t} );\n\n\treturn (\n\t\t<>\n\t\t\t{ block }
\n\t\t>\n\t);\n};\n\nexport default HAS_Click_To_Share;\n","const fontFamilies = {\n\tArial: {\n\t\tname: 'Arial',\n\t\tslug: 'arial',\n\t\tfamily: 'Arial',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\tHelvetica: {\n\t\tname: 'Helvetica',\n\t\tslug: 'helvetica',\n\t\tfamily: 'Helvetica',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\t'Times New Roman': {\n\t\tname: 'Times New Roman',\n\t\tslug: 'times-new-roman',\n\t\tfamily: 'Times New Roman',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\tTimes: {\n\t\tname: 'Times',\n\t\tslug: 'times',\n\t\tfamily: 'Times',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\t'Courier New': {\n\t\tname: 'Courier New',\n\t\tslug: 'courier-new',\n\t\tfamily: 'Courier New',\n\t\ttype: 'web',\n\t\tfallback: 'monospace',\n\t},\n\tCourier: {\n\t\tname: 'Courier',\n\t\tslug: 'courier',\n\t\tfamily: 'Courier',\n\t\ttype: 'web',\n\t\tfallback: 'Courier',\n\t},\n\tVerdana: {\n\t\tname: 'Verdana',\n\t\tslug: 'verdana',\n\t\tfamily: 'Verdana',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\tGeorgia: {\n\t\tname: 'Georgia',\n\t\tslug: 'georgia',\n\t\tfamily: 'Georgia',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\tPalatino: {\n\t\tname: 'Palatino',\n\t\tslug: 'palatino',\n\t\tfamily: 'Palatino',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\tGaramond: {\n\t\tname: 'Garamond',\n\t\tslug: 'garamond',\n\t\tfamily: 'Garamond',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\tBookman: {\n\t\tname: 'Bookman',\n\t\tslug: 'bookman',\n\t\tfamily: 'Bookman',\n\t\ttype: 'web',\n\t\tfallback: 'serif',\n\t},\n\t'Trebuchet MS': {\n\t\tname: 'Trebuchet MS',\n\t\tslug: 'trebuchet-ms',\n\t\tfamily: 'Trebuchet MS',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\t'Arial Black': {\n\t\tname: 'Arial Black',\n\t\tslug: 'arial-black',\n\t\tfamily: 'Arial Black',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\tImpact: {\n\t\tname: 'Impact',\n\t\tslug: 'impact',\n\t\tfamily: 'Impact',\n\t\ttype: 'web',\n\t\tfallback: 'sans-serif',\n\t},\n\tRoboto: {\n\t\tname: 'Roboto',\n\t\tslug: 'roboto',\n\t\tfamily: 'Roboto',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\t'Josefin Sans': {\n\t\tname: 'Josefin Sans',\n\t\tslug: 'josefin-sans',\n\t\tfamily: 'Josefin Sans',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\tKarla: {\n\t\tname: 'Karla',\n\t\tslug: 'karla',\n\t\tfamily: 'Karla',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\tLato: {\n\t\tname: 'Lato',\n\t\tslug: 'lato',\n\t\tfamily: 'Lato',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\tMontserrat: {\n\t\tname: 'Montserrat',\n\t\tslug: 'montserrat',\n\t\tfamily: 'Montserrat',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\t'Open Sans': {\n\t\tname: 'Open Sans',\n\t\tslug: 'open-sans',\n\t\tfamily: 'Open Sans',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\t'Playfair Display': {\n\t\tname: 'Playfair Display',\n\t\tslug: 'playfair-display',\n\t\tfamily: 'Playfair Display',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\tRaleway: {\n\t\tname: 'Raleway',\n\t\tslug: 'raleway',\n\t\tfamily: 'Raleway',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n\t'Source Sans Pro': {\n\t\tname: 'Source Sans Pro',\n\t\tslug: 'source-sans-pro',\n\t\tfamily: 'Source Sans Pro',\n\t\ttype: 'google',\n\t\tfallback: 'Helvetica, Arial, sans-serif',\n\t},\n};\n\nexport default fontFamilies;\n","import React, { useState, useEffect, useRef } from 'react';\nimport { __ } from '@wordpress/i18n';\nimport {\n\tRangeControl,\n\tButton,\n\tSelectControl,\n\tBaseControl,\n\tTextControl,\n\tPopover,\n} from '@wordpress/components';\nimport { MediaUploadCheck, MediaUpload } from '@wordpress/block-editor';\nimport { useForm, Controller, useWatch } from 'react-hook-form';\nimport ColorPicker from '../ColorPicker';\nimport classNames from 'classnames';\n\nconst BackgroundSelector = ( props ) => {\n\n\tconst mediaUploadButton = useRef( null );\n\n\tconst [ backgroundSettingsVisible, setBackgroundSettingsVisible ] =\n\t\tuseState( false );\n\tconst [ backgroundSettingsPopoverAnchor, setBackgroundSettingsPopoverAnchor ] =\n\t\tuseState( null );\n\n\tconst [ isVisible, setIsVisible ] = useState( false );\n\tconst [ isToggled, setIsToggled ] = useState( false );\n\n\t// Background error image state.\n\tconst [ errorImage, setErrorImage ] = useState( false );\n\t\n\n\tconst getDefaultValues = () => {\n\t\treturn {\n\t\t\turl: props.values.url,\n\t\t\tid: props.values.id,\n\t\t\tbackgroundColor: props.values.backgroundColor,\n\t\t\tbackgroundSize: props.values.backgroundSize,\n\t\t\tbackgroundPosition: props.values.backgroundPosition,\n\t\t\tbackgroundRepeat: props.values.backgroundRepeat,\n\t\t\tbackgroundOpacity: props.values.backgroundOpacity,\n\t\t\tbackgroundOpacityHover: props.values.backgroundOpacityHover,\n\t\t};\n\t};\n\n\tconst { control, setValue, getValues } = useForm( {\n\t\tdefaultValues: getDefaultValues(),\n\t} );\n\n\tconst formValues = useWatch( { control } );\n\n\tconst { label } = props;\n\n\tuseEffect( () => {\n\t\tprops.onValuesChange( formValues );\n\t}, [ formValues ] );\n\n\tconst getBackgroundRepeat = () => {\n\t\tconst backgroundRepeat = [\n\t\t\t{ label: __( 'repeat-x', 'highlight-and-share' ), value: 'repeat-x' },\n\t\t\t{ label: __( 'repeat-y', 'highlight-and-share' ), value: 'repeat-y' },\n\t\t\t{ label: __( 'repeat', 'highlight-and-share' ), value: 'repeat' },\n\t\t\t{ label: __( 'no-repeat', 'highlight-and-share' ), value: 'no-repeat' },\n\t\t];\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t {\n\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\t/**\n\t * Close color popup if visible.\n\t */\n\t const toggleClose = () => {\n\t\tsetIsToggled( true );\n\t\tsetIsVisible( ! isVisible );\n\t\tsetTimeout( () => {\n\t\t\tsetIsToggled( false );\n\t\t}, 500 );\n\t};\n\n\tconst getPopoverContent = () => {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{ getBackgroundRepeat() }\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t (\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t};\n\n\tconst getBackgroundUploader = () => {\n\t\treturn (\n\t\t\t\n\t\t\t\t
(\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tplaceholder={ __( 'Enter URL', 'highlight-and-share' ) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tif ( 'image' === media.type ) {\n\t\t\t\t\t\t\t\t\tsetValue( 'url', media.url );\n\t\t\t\t\t\t\t\t\tsetValue( 'id', media.id );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tsetErrorImage( true );\n\t\t\t\t\t\t\t\t\tsetValue( 'url', '' );\n\t\t\t\t\t\t\t\t\tsetValue( 'id', '0' );\n\t\t\t\t\t\t\t\t\tmediaUploadButton.current.focus();\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\t\t\tsetErrorImage( false );\n\t\t\t\t\t\t\t\t\t}, 8000 );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\ttitle={ __( 'Select Background Image', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tmode={ 'upload' }\n\t\t\t\t\t\t\tmultiple={ false }\n\t\t\t\t\t\t\tallowedTypes={ [ 'image' ] }\n\t\t\t\t\t\t\tvalue={ getValues( 'id' ) }\n\t\t\t\t\t\t\trender={ ( { open } ) => (\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetErrorImage( false );\n\t\t\t\t\t\t\t\t\t\topen();\n\t\t\t\t\t\t\t\t\t } }\n\t\t\t\t\t\t\t\t\tlabel={ ! errorImage ? __( 'Upload Background Image', 'highlight-and-share' ) : __( 'Please choose only images.', 'highlight-and-share' ) }\n\t\t\t\t\t\t\t\t\ticon=\"format-image\"\n\t\t\t\t\t\t\t\t\tshowTooltip={ errorImage }\n\t\t\t\t\t\t\t\t\ttooltipPosition=\"top center\"\n\t\t\t\t\t\t\t\t\tref={ mediaUploadButton }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t \n\t\t);\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{ getBackgroundUploader() }\n\t\t\t
\n\t\t\t\n\t\t\t\t
{ __( 'Background Settings', 'highlight-and-share' ) }
\n\t\t\t\t
{\n\t\t\t\t\t\tif ( isToggled ) {\n\t\t\t\t\t\t\tsetIsToggled( false );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsetIsVisible( ! isVisible );\n\t\t\t\t\t\t}\n\t\t\t\t\t} }\n\t\t\t\t\ticon=\"admin-settings\"\n\t\t\t\t\tref={ setBackgroundSettingsPopoverAnchor }\n\t\t\t\t/>\n\t\t\t\t{ true === isVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t{ getPopoverContent() }\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t \n\t\t\t\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\tlabel={ __( 'Background Color', 'highlight-and-share' ) }\n\t\t\t\t\t\t\tdefaultColors={ has_gutenberg.colorPalette }\n\t\t\t\t\t\t\tdefaultColor={ '#000000' }\n\t\t\t\t\t\t\tslug={ 'background-color-image' }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t
\n\t\t\t\n\t\t\t\t (\n\t\t\t\t\t\t onChange( newValue ) }\n\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\tmax={ 1 }\n\t\t\t\t\t\t\tstep={ 0.01 }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t
\n\t\t\t\n\t\t\t\t (\n\t\t\t\t\t\t onChange( newValue ) }\n\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\tmax={ 1 }\n\t\t\t\t\t\t\tstep={ 0.01 }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t
\n\t\t\n\t);\n};\nexport default BackgroundSelector;\n","/**\n * Color Picker.\n *\n * Credit: Forked from @generateblocks\n */\n\nimport React, { useState, useEffect } from 'react';\nimport classnames from 'classnames';\nimport hexToRgba from 'hex-to-rgba';\nimport { __ } from '@wordpress/i18n';\n\nimport {\n\tTooltip,\n\tBaseControl,\n\tColorPicker,\n\tRangeControl,\n\tPopover,\n\tColorPalette,\n\tButton,\n} from '@wordpress/components';\n\nconst HASColorPicker = ( props ) => {\n\tconst [ colorKey, setColorKey ] = useState( props.slug );\n\tconst [ isVisible, setIsVisible ] = useState( false );\n\tconst [ color, setColor ] = useState( props.value );\n\n\tconst {\n\t\tdefaultColor,\n\t\tdefaultColors,\n\t\tvalue,\n\t\tonChange,\n\t\tonOpacityChange,\n\t\tlabel,\n\t\talpha = false,\n\t\tvalueOpacity,\n\t\tslug,\n\t} = props;\n\n\tuseEffect( () => {\n\t\tsetColor( value );\n\t}, [ value ] );\n\n\t// Retrieve colors while avoiding duplicates.\n\tconst getDefaultColors = () => {\n\t\tconst existingColors = [];\n\t\tconst newColors = [];\n\t\tdefaultColors.forEach( ( maybeNewColor, index ) => {\n\t\t\tif ( ! existingColors.includes( maybeNewColor.color ) ) {\n\t\t\t\texistingColors.push( maybeNewColor.color );\n\t\t\t\tnewColors.push( maybeNewColor );\n\t\t\t}\n\t\t} );\n\t\treturn newColors;\n\t};\n\n\tconst opacityIcon = (\n\t\t\n\t);\n\n\t/**\n\t * Toggle whether the color popup is showing.\n\t */\n\tconst toggleVisible = () => {\n\t\tsetIsVisible( true );\n\t};\n\n\t/**\n\t * Close color popup if visible.\n\t */\n\tconst toggleClose = () => {\n\t\tif ( isVisible ) {\n\t\t\tsetIsVisible( false );\n\t\t}\n\t};\n\n\treturn (\n\t\t\n\t\t\t{ !! label && (\n\t\t\t\t\n\t\t\t\t\t{ label }\n\t\t\t\t
\n\t\t\t) }\n\t\t\t\n\t\t\t\t
\n\t\t\t\t\t{ ! isVisible && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t>\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ isVisible && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t) }\n\n\t\t\t\t\t{ isVisible && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tsetColor( newColor.hex );\n\t\t\t\t\t\t\t\t\t\tonChange( slug, newColor.hex );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tdisableAlpha\n\t\t\t\t\t\t\t\t\tdefaultValue={ defaultColor }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t{ alpha && (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t{ opacityIcon }\n\t\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t onOpacityChange( opacityValue ) }\n\t\t\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\t\t\tmax={ 1 }\n\t\t\t\t\t\t\t\t\t\tstep={ 0.01 }\n\t\t\t\t\t\t\t\t\t\tinitialPosition={ 1 }\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tconsole.log( newColor );\n\t\t\t\t\t\t\t\t\t\tonChange( slug, newColor );\n\t\t\t\t\t\t\t\t\t\tsetColor( newColor );\n\t\t\t\t\t\t\t\t\t\tsetColorKey( newColor );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tdisableCustomColors={ true }\n\t\t\t\t\t\t\t\t\tclearable={ false }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tonChange( slug, defaultColor );\n\t\t\t\t\t\t\t\t\t\tsetColorKey( defaultColor );\n\t\t\t\t\t\t\t\t\t\tsetColor( defaultColor );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{ __( 'Clear Color', 'quotes-dlx' ) }\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t
\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default HASColorPicker;\n","/**\n * Dimensions Component.\n * Credit: Forked from @GenerateBlocks\n */\nimport React, { useEffect, useState } from 'react';\n\n/**\n * External dependencies\n */\nimport './editor.scss';\nimport UnitPicker from '../unit-picker';\n\nimport { __, sprintf, _x } from '@wordpress/i18n';\nimport { Button, Tooltip, TextControl } from '@wordpress/components';\nimport { useForm, Controller, useWatch, useFormState } from 'react-hook-form';\nimport classNames from 'classnames';\nimport {\n\tgeHierarchicalPlaceholderValue,\n\tgetHierarchicalValueUnit,\n\tgetHierarchicalValueUnitSync,\n} from '../../Utils/DimensionsHelper';\n\nconst DimensionsControlBlock = ( props ) => {\n\tconst [ screenSize, setScreenSize ] = useState( 'desktop' );\n\n\tconst getDefaultValues = () => {\n\t\treturn {\n\t\t\tmobile: {\n\t\t\t\ttop: props.values.mobile.top,\n\t\t\t\tright: props.values.mobile.right,\n\t\t\t\tbottom: props.values.mobile.bottom,\n\t\t\t\tleft: props.values.mobile.left,\n\t\t\t\tunit: props.values.mobile.unit,\n\t\t\t\tunitSync: props.values.mobile.unitSync,\n\t\t\t},\n\t\t\ttablet: {\n\t\t\t\ttop: props.values.tablet.top,\n\t\t\t\tright: props.values.tablet.right,\n\t\t\t\tbottom: props.values.tablet.bottom,\n\t\t\t\tleft: props.values.tablet.left,\n\t\t\t\tunit: props.values.tablet.unit,\n\t\t\t\tunitSync: props.values.tablet.unitSync,\n\t\t\t},\n\t\t\tdesktop: {\n\t\t\t\ttop: props.values.desktop.top,\n\t\t\t\tright: props.values.desktop.right,\n\t\t\t\tbottom: props.values.desktop.bottom,\n\t\t\t\tleft: props.values.desktop.left,\n\t\t\t\tunit: props.values.desktop.unit,\n\t\t\t\tunitSync: props.values.desktop.unitSync,\n\t\t\t},\n\t\t};\n\t};\n\n\tconst { control, setValue, getValues } = useForm( {\n\t\tdefaultValues: getDefaultValues(),\n\t} );\n\n\tconst formValues = useWatch( { control } );\n\n\tconst {\n\t\tlabel = __( 'Padding', 'highlight-and-share' ),\n\t\tlabelTop = __( 'Top', 'highlight-and-share' ),\n\t\tlabelRight = __( 'Right', 'highlight-and-share' ),\n\t\tlabelBottom = __( 'Bottom', 'highlight-and-share' ),\n\t\tlabelLeft = __( 'Left', 'highlight-and-share' ),\n\t\tunits,\n\t\tonValuesChange,\n\t} = props;\n\n\tuseEffect( () => {\n\t\tonValuesChange( formValues );\n\t}, [ formValues ] );\n\n\tuseEffect( () => {\n\t\tsetScreenSize( props.screenSize.toLowerCase() );\n\t\tsetValue(\n\t\t\tprops.screenSize.toLowerCase(),\n\t\t\tgetValues( props.screenSize.toLowerCase() )\n\t\t);\n\t}, [ props.screenSize ] );\n\t/**\n\t * Change the all values in parent.\n\t *\n\t * @param {number} value Value to change to.\n\t */\n\tconst changeAllValues = ( value ) => {\n\t\tconst values = getValues( screenSize );\n\t\tvalues.top = value;\n\t\tvalues.right = value;\n\t\tvalues.bottom = value;\n\t\tvalues.left = value;\n\t\tsetValue( screenSize, values );\n\t};\n\n\t/**\n\t * When the sync value is selected, sync all values to the maximum number.\n\t */\n\tconst syncUnits = () => {\n\t\t// Toggle unit sync value.\n\t\tconst values = getValues( screenSize );\n\t\tvalues.unitSync = ! values.unitSync;\n\t\tsetValue( screenSize, values );\n\n\t\t// If we're syncing, set all values to the maximum.\n\t\tif ( values.unitSync ) {\n\t\t\tconst numbers = [\n\t\t\t\tgetValues( screenSize ).top,\n\t\t\t\tgetValues( screenSize ).right,\n\t\t\t\tgetValues( screenSize ).bottom,\n\t\t\t\tgetValues( screenSize ).left,\n\t\t\t];\n\t\t\tconst syncValue = Math.max.apply( null, numbers );\n\t\t\tchangeAllValues( syncValue );\n\t\t}\n\t};\n\n\t/**\n\t * Change the units.\n\t *\n\t * @param {string} value Unit changing (px, em, rem, vh).\n\t */\n\tconst onChangeUnits = ( value ) => {\n\t\tconst values = getValues( screenSize );\n\t\tvalues.unit = value;\n\t\tsetValue( screenSize, values );\n\t};\n\n\tconst onDimensionChange = ( value ) => {\n\t\tif (\n\t\t\tgetHierarchicalValueUnitSync(\n\t\t\t\tprops.values,\n\t\t\t\tscreenSize,\n\t\t\t\tgetValues( screenSize ).unitSync\n\t\t\t)\n\t\t) {\n\t\t\tchangeAllValues( value );\n\t\t}\n\t};\n\n\tconst syncIcon = (\n\t\t\n\t);\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t
(\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\tonChangeUnits( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\n\t\t\t\t\n\t\t\t\t\t
(\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tonDimensionChange( newValue );\n\t\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue(\n\t\t\t\t\t\t\t\t\t\tprops.values,\n\t\t\t\t\t\t\t\t\t\tscreenSize,\n\t\t\t\t\t\t\t\t\t\tgetValues( screenSize ).top,\n\t\t\t\t\t\t\t\t\t\t'top'\n\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\tdata-tooltip={ labelTop }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t\t (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tonDimensionChange( newValue );\n\t\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue(\n\t\t\t\t\t\t\t\t\t\tprops.values,\n\t\t\t\t\t\t\t\t\t\tscreenSize,\n\t\t\t\t\t\t\t\t\t\tgetValues( screenSize ).right,\n\t\t\t\t\t\t\t\t\t\t'right'\n\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t\tdata-tooltip={ labelRight }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t\t (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tonDimensionChange( newValue );\n\t\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue(\n\t\t\t\t\t\t\t\t\t\tprops.values,\n\t\t\t\t\t\t\t\t\t\tscreenSize,\n\t\t\t\t\t\t\t\t\t\tgetValues( screenSize ).bottom,\n\t\t\t\t\t\t\t\t\t\t'bottom'\n\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t\t (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\t\tonDimensionChange( newValue );\n\t\t\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t\t\tmin={ 0 }\n\t\t\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue(\n\t\t\t\t\t\t\t\t\t\tprops.values,\n\t\t\t\t\t\t\t\t\t\tscreenSize,\n\t\t\t\t\t\t\t\t\t\tgetValues( screenSize ).left,\n\t\t\t\t\t\t\t\t\t\t'left'\n\t\t\t\t\t\t\t\t\t) }\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t) }\n\t\t\t\t\t/>\n\t\t\t\t\t\n\t\t\t\t\t\t syncUnits() }\n\t\t\t\t\t\t\tisSmall\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{ syncIcon }\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t \n\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ labelTop }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ labelRight }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ labelBottom }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t{ labelLeft }\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t \n\t\t>\n\t);\n};\n\nexport default DimensionsControlBlock;\n","/**\n * Gradient Generator (random)\n *\n */\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\nimport getRandomGradient from '../../Utils/GetRandomGradient';\n\nimport {\n\tBaseControl,\n\tButton,\n} from '@wordpress/components';\n\nconst HASGradientGenerator = ( props ) => {\n\tconst {\n\t\tlabel,\n\t\tsetAttributes,\n\t} = props;\n\n\tconst getGradient = () => {\n\t\tconst gradient = getRandomGradient();\n\t\tsetAttributes( {\n\t\t\tbackgroundGradient: gradient,\n\t\t\tbackgroundGradientHover: gradient,\n\t\t} );\n\t};\n\n\treturn (\n\t\t\n\t\t\t{ label }
\n\t\t\t {\n\t\t\t\t\tgetGradient();\n\t\t\t\t} }\n\t\t\t\tvariant=\"secondary\"\n\t\t\t/>\n\t\t\n\t);\n};\n\nHASGradientGenerator.defaultProps = {\n\tlabel: __( 'Gradient Color', 'highlight-and-share' ),\n\tsetAttributes: () => {},\n};\n\nHASGradientGenerator.propTypes = {\n\tlabel: PropTypes.string.isRequired,\n\tsetAttributes: PropTypes.func.isRequired,\n};\n\nexport default HASGradientGenerator;\n","/**\n * Color Picker.\n *\n * Credit: Forked from @generateblocks\n */\n\nimport React, { useState, useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\n\nimport {\n\tBaseControl,\n\tPopover,\n\tButton,\n\tGradientPicker,\n} from '@wordpress/components';\n\nconst HASGradientPicker = ( props ) => {\n\tconst [ isVisible, setIsVisible ] = useState( false );\n\tconst [ isToggled, setIsToggled ] = useState( false );\n\tconst [ gradientPickerButtonAnchor, setGradientPickerButtonAnchor ] = useState( null );\n\n\tconst {\n\t\tlabel,\n\t\tonChange,\n\t\tvalue,\n\t\tclearable,\n\t} = props;\n\n\t/**\n\t * Get a gradient style object.\n\t *\n\t * @return {Object} Gradient style object.\n\t */\n\tconst getGradientStyles = () => {\n\t\tconst hexRegex = /#?[0-9A-Fa-f]{6}/gm; // From: https://linuxhint.com/check-if-string-is-hex-in-javascript/\n\t\tif ( '' === value ) {\n\t\t\treturn {\n\t\t\t\tbackground: '#FFFFFF',\n\t\t\t};\n\t\t}\n\t\tif ( value.match( hexRegex ) ) {\n\t\t\treturn {\n\t\t\t\tbackgroundColor: value,\n\t\t\t};\n\t\t}\n\t\t// Return gradient style value.\n\t\treturn {\n\t\t\tbackgroundImage: value,\n\t\t};\n\t};\n\n\t/**\n\t * Close color popup if visible.\n\t */\n\tconst toggleClose = () => {\n\t\tsetIsToggled( true );\n\t\tsetIsVisible( ! isVisible );\n\t\tsetTimeout( () => {\n\t\t\tsetIsToggled( false );\n\t\t}, 500 );\n\t};\n\n\treturn (\n\t\t\n\t\t\t{ label }
\n\t\t\t {\n\t\t\t\t\tif ( isToggled ) {\n\t\t\t\t\t\tsetIsToggled( false );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsetIsVisible( ! isVisible );\n\t\t\t\t\t}\n\t\t\t\t} }\n\t\t\t/>\n\t\t\t{ true === isVisible && (\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t) }\n\n\t\t\n\t);\n};\n\nHASGradientPicker.defaultProps = {\n\tlabel: __( 'Gradient Color', 'highlight-and-share' ),\n\tclearable: false,\n\tvalue: '',\n\tonChange: () => {},\n};\n\nHASGradientPicker.propTypes = {\n\tclearable: PropTypes.bool,\n\tvalue: PropTypes.string.isRequired,\n\tlabel: PropTypes.string.isRequired,\n\tonChange: PropTypes.func.isRequired,\n};\n\nexport default HASGradientPicker;\n","/**\n * Color Picker.\n *\n * Credit: Forked from @generateblocks\n */\n\nimport React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport { __ } from '@wordpress/i18n';\n\nimport {\n\tBaseControl,\n\tButton,\n} from '@wordpress/components';\n\nconst HASGradientSync = ( props ) => {\n\tconst {\n\t\tlabel,\n\t\tattributes,\n\t\tsetAttributes,\n\t} = props;\n\n\tconst { backgroundGradient, backgroundGradientSync } = attributes;\n\n\tuseEffect( () => {\n\t\tif ( backgroundGradientSync ) {\n\t\t\tsetAttributes( {\n\t\t\t\tbackgroundGradientHover: backgroundGradient,\n\t\t\t} );\n\t\t}\n\t}, [ backgroundGradient, backgroundGradientSync ] );\n\n\treturn (\n\t\t\n\t\t\t{ label }
\n\t\t\t {\n\t\t\t\t\tsetAttributes( {\n\t\t\t\t\t\tbackgroundGradientSync: ! backgroundGradientSync,\n\t\t\t\t\t} );\n\t\t\t\t} }\n\t\t\t\tvariant={ backgroundGradientSync ? 'primary' : 'secondary' }\n\t\t\t/>\n\t\t\n\t);\n};\n\nHASGradientSync.defaultProps = {\n\tlabel: __( 'Gradient Color', 'highlight-and-share' ),\n\tattributes: {},\n\tsetAttributes: () => {},\n};\n\nHASGradientSync.propTypes = {\n\tlabel: PropTypes.string.isRequired,\n\tattributes: PropTypes.object.isRequired,\n\tsetAttributes: PropTypes.func.isRequired,\n};\n\nexport default HASGradientSync;\n","import React, { useState, useEffect } from 'react';\nimport fontFamilies from '../../../fonts/fonts';\nimport { __ } from '@wordpress/i18n';\nimport { ButtonGroup, Button, Tooltip, SelectControl, BaseControl, TextControl, Popover } from '@wordpress/components';\nimport { useForm, Controller, useWatch } from 'react-hook-form';\nimport { geHierarchicalPlaceholderValue } from '../../Utils/TypographyHelper';\n\nconst Typography = ( props ) => {\n\tconst [ screenSize, setScreenSize ] = useState( 'desktop' );\n\tconst [ fontSizeUnitPopoverVisible, setFontSizeUnitPopoverVisible ] = useState( false );\n\tconst [ fontSizeUnitPopoverAnchor, setFontSizeUnitPopoverAnchor ] = useState( null );\n\tconst [ lineHeightUnitPopoverVisible, setLineHeightUnitPopoverVisible ] = useState( false );\n\tconst [ lineHeightUnitPopoverAnchor, setLineHeightUnitPopoverAnchor ] = useState( null );\n\tconst [ letterSpacingUnitPopoverVisible, setLetterSpacingUnitPopoverVisible ] = useState( false );\n\tconst [ letterSpacingUnitPopoverAnchor, setLetterSpacingUnitPopoverAnchor ] = useState( null );\n\tconst [ fontSettingsPopoverVisible, setFontSettingsPopoverVisible ] = useState( false );\n\tconst [ fontSettingsPopoverAnchor, setFontSettingsPopoverAnchor ] = useState( null );\n\tconst [ isVisible, setIsVisible ] = useState( false ); // for the main typography settings popup.\n\tconst [ isToggled, setIsToggled ] = useState( false ); // for the main typography settings popup.\n\n\tconst getDefaultValues = () => {\n\t\treturn {\n\t\t\tmobile: {\n\t\t\t\tfontFamily: props.values.mobile.fontFamily,\n\t\t\t\tfontFamilySlug: props.values.mobile.fontFamilySlug,\n\t\t\t\tfontSize: props.values.mobile.fontSize,\n\t\t\t\tfontSizeUnit: props.values.mobile.fontSizeUnit,\n\t\t\t\tfontWeight: props.values.mobile.fontWeight,\n\t\t\t\tlineHeight: props.values.mobile.lineHeight,\n\t\t\t\tlineHeightUnit: props.values.mobile.lineHeightUnit,\n\t\t\t\ttextTransform: props.values.mobile.textTransform,\n\t\t\t\tletterSpacing: props.values.mobile.letterSpacing,\n\t\t\t\tletterSpacingUnit: props.values.mobile.letterSpacingUnit,\n\t\t\t\tfontType: props.values.mobile.fontType,\n\t\t\t\tfontFallback: props.values.mobile.fontFallback,\n\t\t\t},\n\t\t\ttablet: {\n\t\t\t\tfontFamily: props.values.tablet.fontFamily,\n\t\t\t\tfontFamilySlug: props.values.tablet.fontFamilySlug,\n\t\t\t\tfontSize: props.values.tablet.fontSize,\n\t\t\t\tfontSizeUnit: props.values.tablet.fontSizeUnit,\n\t\t\t\tfontWeight: props.values.tablet.fontWeight,\n\t\t\t\tlineHeight: props.values.tablet.lineHeight,\n\t\t\t\tlineHeightUnit: props.values.tablet.lineHeightUnit,\n\t\t\t\ttextTransform: props.values.tablet.textTransform,\n\t\t\t\tletterSpacing: props.values.tablet.letterSpacing,\n\t\t\t\tletterSpacingUnit: props.values.tablet.letterSpacingUnit,\n\t\t\t\tfontType: props.values.tablet.fontType,\n\t\t\t\tfontFallback: props.values.tablet.fontFallback,\n\t\t\t},\n\t\t\tdesktop: {\n\t\t\t\tfontFamily: props.values.desktop.fontFamily,\n\t\t\t\tfontFamilySlug: props.values.desktop.fontFamilySlug,\n\t\t\t\tfontSize: props.values.desktop.fontSize,\n\t\t\t\tfontSizeUnit: props.values.desktop.fontSizeUnit,\n\t\t\t\tfontWeight: props.values.desktop.fontWeight,\n\t\t\t\tlineHeight: props.values.desktop.lineHeight,\n\t\t\t\tlineHeightUnit: props.values.desktop.lineHeightUnit,\n\t\t\t\ttextTransform: props.values.desktop.textTransform,\n\t\t\t\tletterSpacing: props.values.desktop.letterSpacing,\n\t\t\t\tletterSpacingUnit: props.values.desktop.letterSpacingUnit,\n\t\t\t\tfontType: props.values.desktop.fontType,\n\t\t\t\tfontFallback: props.values.desktop.fontFallback,\n\t\t\t},\n\t\t};\n\t};\n\n\tconst {\n\t\tcontrol,\n\t\tsetValue,\n\t\tgetValues,\n\t} = useForm( {\n\t\tdefaultValues: getDefaultValues(),\n\t} );\n\n\tconst formValues = useWatch( { control } );\n\n\tconst { label } = props;\n\n\tuseEffect( () => {\n\t\tprops.onValuesChange( formValues );\n\t}, [ formValues ] );\n\n\tuseEffect( () => {\n\t\tsetScreenSize( props.screenSize.toLowerCase() );\n\t\tsetValue( props.screenSize.toLowerCase(), getValues( props.screenSize.toLowerCase() ) );\n\t}, [ props.screenSize ] );\n\n\t/**\n\t * Close color popup if visible.\n\t */\n\tconst toggleClose = () => {\n\t\tsetIsToggled( true );\n\t\tsetIsVisible( ! isVisible );\n\t\tsetTimeout( () => {\n\t\t\tsetIsToggled( false );\n\t\t}, 500 );\n\t};\n\n\t// Retrieve the list all available fonts.\n\tconst getFonts = () => {\n\t\tconst adobeFonts = has_gutenberg.adobeFonts;\n\t\tconst fonts = [];\n\t\tconst families = Object.values( fontFamilies );\n\t\tconst mergedFamilies = [];\n\t\tfamilies.forEach( ( fontFamily ) => {\n\t\t\tfonts.push( { label: fontFamily.name, value: fontFamily.slug } );\n\t\t\tmergedFamilies.push( { family: fontFamily.family, slug: fontFamily.slug, fallback: fontFamily.fallback, type: fontFamily.type } );\n\t\t} );\n\t\t// Push adobe fonts to the front.\n\t\tadobeFonts.forEach( ( font ) => {\n\t\t\tfonts.unshift( { label: font.name, value: font.slug } );\n\t\t\tmergedFamilies.push( { family: font.family, slug: font.slug, fallback: font.fallback, type: 'adobe' } );\n\t\t} );\n\t\t// Add placeholder.\n\t\tfonts.unshift( { label: __( 'Select a Font', 'highlight-and-share' ), value: '' } );\n\t\treturn (\n\t\t\t<>\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\n\t\t\t\t\t\t\t\t// Get font family name for CSS.\n\t\t\t\t\t\t\t\tmergedFamilies.forEach( ( font ) => {\n\t\t\t\t\t\t\t\t\tif ( font.slug === newValue ) {\n\t\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontFamily`, font.family );\n\t\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontFallback`, font.fallback );\n\t\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontType`, font.type );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t>\n\t\t);\n\t};\n\n\tconst getTextTransform = () => {\n\t\tconst textTransform = [\n\t\t\t{ label: __( 'None', 'highlight-and-share' ), value: 'none' },\n\t\t\t{ label: __( 'Uppercase', 'highlight-and-share' ), value: 'uppercase' },\n\t\t\t{ label: __( 'Lowercase', 'highlight-and-share' ), value: 'lowercase' },\n\t\t\t{ label: __( 'Capitalize', 'highlight-and-share' ), value: 'capitalize' },\n\t\t];\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t {\n\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst getFontSize = () => {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).fontSize, 'fontSize' ) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t {\n\t\t\t\t\t\tsetFontSizeUnitPopoverVisible( ! fontSizeUnitPopoverVisible );\n\t\t\t\t\t} }\n\t\t\t\t\tref={ setFontSizeUnitPopoverAnchor }\n\t\t\t\t>{ getValues( `${ screenSize }.fontSizeUnit` ) }\n\t\t\t\t\n\t\t\t\t{ true === fontSizeUnitPopoverVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontSizeUnit`, 'px' );\n\t\t\t\t\t\t\t\t\tsetFontSizeUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>px\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontSizeUnit`, 'em' );\n\t\t\t\t\t\t\t\t\tsetFontSizeUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>em\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.fontSizeUnit`, 'rem' );\n\t\t\t\t\t\t\t\t\tsetFontSizeUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>rem\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t>\n\t\t);\n\t};\n\n\tconst getFontWeights = () => {\n\t\tconst fontWeights = [\n\t\t\t{ label: __( '100', 'highlight-and-share' ), value: '100' },\n\t\t\t{ label: __( '200', 'highlight-and-share' ), value: '200' },\n\t\t\t{ label: __( '300', 'highlight-and-share' ), value: '300' },\n\t\t\t{ label: __( '400', 'highlight-and-share' ), value: '400' },\n\t\t\t{ label: __( '500', 'highlight-and-share' ), value: '500' },\n\t\t\t{ label: __( '600', 'highlight-and-share' ), value: '600' },\n\t\t\t{ label: __( '700', 'highlight-and-share' ), value: '700' },\n\t\t\t{ label: __( '800', 'highlight-and-share' ), value: '800' },\n\t\t\t{ label: __( '900', 'highlight-and-share' ), value: '900' },\n\t\t];\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t {\n\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t} }\n\t\t\t\t\t/>\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst getLineHeight = () => {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).lineHeight, 'lineHeight' ) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t {\n\t\t\t\t\t\tsetLineHeightUnitPopoverVisible( ! lineHeightUnitPopoverVisible );\n\t\t\t\t\t} }\n\t\t\t\t\tref={ setLineHeightUnitPopoverAnchor }\n\t\t\t\t>{ getValues( `${ screenSize }.lineHeightUnit` ) }\n\t\t\t\t\n\t\t\t\t{ true === lineHeightUnitPopoverVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.lineHeightUnit`, 'px' );\n\t\t\t\t\t\t\t\t\tsetLineHeightUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>px\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.lineHeightUnit`, 'em' );\n\t\t\t\t\t\t\t\t\tsetLineHeightUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>em\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.lineHeightUnit`, 'rem' );\n\t\t\t\t\t\t\t\t\tsetLineHeightUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>rem\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t>\n\t\t);\n\t};\n\n\tconst getFontType = () => {\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst getFontFallback = () => {\n\t\treturn (\n\t\t\t (\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t/>\n\t\t);\n\t};\n\n\tconst getLetterSpacing = () => {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t (\n\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\tonChange( newValue );\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\ttype=\"number\"\n\t\t\t\t\t\t\tplaceholder={ geHierarchicalPlaceholderValue( props.values, screenSize, getValues( screenSize ).letterSpacing, 'letterSpacing' ) }\n\t\t\t\t\t\t/>\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t (\n\t\t\t\t\t\t\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t\t {\n\t\t\t\t\t\tsetLetterSpacingUnitPopoverVisible( ! letterSpacingUnitPopoverVisible );\n\t\t\t\t\t} }\n\t\t\t\t\tref={ setLetterSpacingUnitPopoverAnchor }\n\t\t\t\t>{ getValues( `${ screenSize }.letterSpacingUnit` ) }\n\t\t\t\t\n\t\t\t\t{ true === letterSpacingUnitPopoverVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.letterSpacingUnit`, 'px' );\n\t\t\t\t\t\t\t\t\tsetLetterSpacingUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>px\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.letterSpacingUnit`, 'em' );\n\t\t\t\t\t\t\t\t\tsetLetterSpacingUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>em\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t {\n\t\t\t\t\t\t\t\t\tsetValue( `${ screenSize }.letterSpacingUnit`, 'rem' );\n\t\t\t\t\t\t\t\t\tsetLetterSpacingUnitPopoverVisible( false );\n\t\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t>rem\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t>\n\t\t);\n\t};\n\n\tconst getPopoverContent = () => {\n\t\treturn (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getFonts() }\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getTextTransform() }\n\t\t\t\t\t\t{ getFontType() }\n\t\t\t\t\t\t{ getFontFallback() }\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getFontSize() }\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getFontWeights() }\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getLineHeight() }\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t{ getLetterSpacing() }\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\n\t\t);\n\t};\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\t\t{ label }\n\t\t\t
\n\t\t\t\n\t\t\t\t
{\n\t\t\t\t\t\tif ( isToggled ) {\n\t\t\t\t\t\t\tsetIsToggled( false );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tsetIsVisible( ! isVisible );\n\t\t\t\t\t\t}\n\t\t\t\t\t} }\n\t\t\t\t\ticon=\"admin-settings\"\n\t\t\t\t/>\n\t\t\t\t{ true === isVisible && (\n\t\t\t\t\t\n\t\t\t\t\t\t{ getPopoverContent() }\n\t\t\t\t\t\n\t\t\t\t) }\n\t\t\t \n\t\t\n\t);\n};\nexport default Typography;\n","/**\n * Unit Picker Component.\n * Credit: Forked from @GenerateBlocks\n */\nimport React from 'react';\n\nimport { __, sprintf, _x } from '@wordpress/i18n';\nimport './editor.scss';\n\nimport { ButtonGroup, Button, Tooltip } from '@wordpress/components';\n\nconst UnitChooser = ( props ) => {\n\tconst { label, value, onClick, units } = props;\n\n\treturn (\n\t\t\n\t\t\t
{ label }
\n\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{ units.map( ( unit ) => {\n\t\t\t\t\t\tlet unitName = unit;\n\n\t\t\t\t\t\tif ( 'px' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Pixel',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( 'em' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Em',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( '%' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Percentage',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( 'vw' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'View Width',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( 'rem' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Rem',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif ( 'deg' === unit ) {\n\t\t\t\t\t\t\tunitName = _x(\n\t\t\t\t\t\t\t\t'Degree',\n\t\t\t\t\t\t\t\t'A size unit for CSS markup',\n\t\t\t\t\t\t\t\t'highlight-and-share'\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t onClick( unit ) }\n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t{ unit }\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t);\n\t\t\t\t\t} ) }\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t);\n};\n\nexport default UnitChooser;\n","import { useDispatch, useSelect, dispatch } from '@wordpress/data';\nimport { useEffect } from '@wordpress/element';\n\n/* Credits: Forked from GenerateBlocks */\n\nexport default () => {\n\tconst {\n\t\t__experimentalSetPreviewDeviceType: setPreviewDeviceType = () => {},\n\t} = useDispatch( 'core/edit-post' );\n\n\tconst deviceType = useSelect( ( select ) => {\n\t\tconst {\n\t\t\t__experimentalGetPreviewDeviceType: experimentalGetPreviewDeviceType = () => false,\n\t\t} = select( 'core/edit-post' );\n\n\t\treturn experimentalGetPreviewDeviceType();\n\t}, [] );\n\n\tuseEffect( () => {\n\t}, [ deviceType ] );\n\n\tconst setDeviceType = ( type ) => {\n\t\tsetPreviewDeviceType( type );\n\t};\n\n\treturn [ deviceType, setDeviceType ];\n};\n","import React from 'react';\nimport shorthandCSS from './ShorthandCSS';\n\n/**\n * Build CSS rules for dimensions and screen size.\n *\n * @param {Object} props Dimensions array (see /components/DimensionsBlock).\n * @param {string} screenSize mobile|tablet|desktop.\n *\n * @return {string} CSS rules.\n */\nexport function buildDimensionsCSS( props, screenSize ) {\n\tscreenSize = screenSize.toLowerCase();\n\tconst dimensions = props[ screenSize ];\n\n\tif ( 'desktop' === screenSize ) {\n\t\tconst top = dimensions.top;\n\t\tconst right = dimensions.right;\n\t\tconst bottom = dimensions.bottom;\n\t\tconst left = dimensions.left;\n\t\tconst unit = dimensions.unit;\n\n\t\treturn shorthandCSS( top, right, bottom, left, unit );\n\t}\n\n\tif ( 'tablet' === screenSize || 'mobile' === screenSize ) {\n\t\tconst top = geHierarchicalPlaceholderValue( props, screenSize, dimensions.top, 'top' );\n\t\tconst right = geHierarchicalPlaceholderValue( props, screenSize, dimensions.right, 'right' );\n\t\tconst bottom = geHierarchicalPlaceholderValue( props, screenSize, dimensions.bottom, 'bottom' );\n\t\tconst left = geHierarchicalPlaceholderValue( props, screenSize, dimensions.left, 'left' );\n\t\tconst unit = getHierarchicalValueUnit( props, screenSize, dimensions.unit );\n\n\t\treturn shorthandCSS( top, right, bottom, left, unit );\n\t}\n\n\treturn '';\n}\n\n/**\n * Get a value placeholder based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n * @param {string} type Type of value (top, right, bottom, left, etc.).\n *\n * @return {string} Value placeholder.\n */\nexport function geHierarchicalPlaceholderValue( props, screenSize, value, type ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && '' === value ) {\n\t\t// Check tablet.\n\t\tif ( '' !== props.tablet[ type ] ) {\n\t\t\treturn props.tablet[ type ];\n\t\t} else if ( '' !== props.desktop[ type ] ) {\n\t\t\t// Check desktop.\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t}\n\n\t// Check tablet screen size.\n\tif ( 'tablet' === screenSize && '' === value ) {\n\t\tif ( '' !== props.desktop[ type ] ) {\n\t\t\t// Check desktop.\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t}\n\n\tif ( '' !== value ) {\n\t\treturn value;\n\t}\n\n\treturn '0';\n}\n\n/**\n * Get a value placeholder based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n *\n * @return {string} Value default or hierarchical value.\n */\nexport function getHierarchicalValueUnit( props, screenSize, value ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && null === value ) {\n\t\tif ( null === props.tablet.unit ) {\n\t\t\treturn props.desktop.unit;\n\t\t}\n\t\treturn props.tablet.unit;\n\t}\n\tif ( 'tablet' === screenSize && null === value ) {\n\t\treturn props.desktop.unit;\n\t}\n\tif ( null === value ) {\n\t\treturn 'px';\n\t}\n\treturn value;\n}\n\n/**\n * Get a value based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n *\n * @return {boolean} Value default or hierarchical value.\n */\nexport function getHierarchicalValueUnitSync( props, screenSize, value ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && null === value ) {\n\t\tif ( null === props.tablet.unitSync ) {\n\t\t\treturn props.desktop.unitSync;\n\t\t}\n\t\treturn props.tablet.unitSync;\n\t}\n\tif ( 'tablet' === screenSize && null === value ) {\n\t\treturn props.desktop.unitSync;\n\t}\n\tif ( null === value ) {\n\t\treturn true;\n\t}\n\treturn value;\n}\n","const gradients = [\n\t{\n\t\tlabel: 'Warm Flame',\n\t\tvalue:\n\t\t\t'linear-gradient(45deg, rgb(255,154,158) 0%, rgb(250,208,196) 99%, rgb(250,208,196) 100%)',\n\t},\n\t{\n\t\tlabel: 'Night Fade',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(161,140,209) 0%, rgb(251,194,235) 100%)',\n\t},\n\t{\n\t\tlabel: 'Spring Warmth',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(250,208,196) 0%, rgb(255,209,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Juicy Peach',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(255,236,210) 0%, rgb(252,182,159) 100%)',\n\t},\n\t{\n\t\tlabel: 'Young Passion',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(255,129,119) 0%, rgb(255,134,122) 0%, rgb(255,140,127) 21%, rgb(249,145,133) 52%, rgb(207,85,108) 78%, rgb(177,42,91) 100%)',\n\t},\n\t{\n\t\tlabel: 'Lady Lips',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(255,154,158) 0%, rgb(254,207,239) 99%, rgb(254,207,239) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sunny Morning',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(246,211,101) 0%, rgb(253,160,133) 100%)',\n\t},\n\t{\n\t\tlabel: 'Rainy Ashville',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(251,194,235) 0%, rgb(166,193,238) 100%)',\n\t},\n\t{\n\t\tlabel: 'Frozen Dreams',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(253,203,241) 0%, rgb(253,203,241) 1%, rgb(230,222,233) 100%)',\n\t},\n\t{\n\t\tlabel: 'Winter Neva',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(161,196,253) 0%, rgb(194,233,251) 100%)',\n\t},\n\t{\n\t\tlabel: 'Dusty Grass',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(212,252,121) 0%, rgb(150,230,161) 100%)',\n\t},\n\t{\n\t\tlabel: 'Tempting Azure',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(132,250,176) 0%, rgb(143,211,244) 100%)',\n\t},\n\t{\n\t\tlabel: 'Heavy Rain',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(207,217,223) 0%, rgb(226,235,240) 100%)',\n\t},\n\t{\n\t\tlabel: 'Amy Crisp',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(166,192,254) 0%, rgb(246,128,132) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mean Fruit',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(252,203,144) 0%, rgb(213,126,235) 100%)',\n\t},\n\t{\n\t\tlabel: 'Deep Blue',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(224,195,252) 0%, rgb(142,197,252) 100%)',\n\t},\n\t{\n\t\tlabel: 'Ripe Malinka',\n\t\tvalue: 'linear-gradient(120deg, rgb(240,147,251) 0%, rgb(245,87,108) 100%)',\n\t},\n\t{\n\t\tlabel: 'Cloudy Knoxville',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(253,251,251) 0%, rgb(235,237,238) 100%)',\n\t},\n\t{\n\t\tlabel: 'Malibu Beach',\n\t\tvalue: 'linear-gradient(to right, rgb(79,172,254) 0%, rgb(0,242,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'New Life',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(67,233,123) 0%, rgb(56,249,215) 100%)',\n\t},\n\t{\n\t\tlabel: 'True Sunset',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(250,112,154) 0%, rgb(254,225,64) 100%)',\n\t},\n\t{\n\t\tlabel: 'Morpheus Den',\n\t\tvalue: 'linear-gradient(to top, rgb(48,207,208) 0%, rgb(51,8,103) 100%)',\n\t},\n\t{\n\t\tlabel: 'Rare Wind',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(168,237,234) 0%, rgb(254,214,227) 100%)',\n\t},\n\t{\n\t\tlabel: 'Near Moon',\n\t\tvalue: 'linear-gradient(to top, rgb(94,231,223) 0%, rgb(180,144,202) 100%)',\n\t},\n\t{\n\t\tlabel: 'Wild Apple',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(210,153,194) 0%, rgb(254,249,215) 100%)',\n\t},\n\t{\n\t\tlabel: 'Saint Petersburg',\n\t\tvalue:\n\t\t\t'linear-gradient(135deg, rgb(245,247,250) 0%, rgb(195,207,226) 100%)',\n\t},\n\t{\n\t\tlabel: 'Arielles Smile',\n\t\tvalue:\n\t\t\t'radial-gradient(circle 248px at center, rgb(22,217,227) 0%, rgb(48,199,236) 47%, rgb(70,174,247) 100%)',\n\t},\n\t{\n\t\tlabel: 'Plum Plate',\n\t\tvalue: 'linear-gradient(135deg, rgb(102,126,234) 0%, rgb(118,75,162) 100%)',\n\t},\n\t{\n\t\tlabel: 'Everlasting Sky',\n\t\tvalue:\n\t\t\t'linear-gradient(135deg, rgb(253,252,251) 0%, rgb(226,209,195) 100%)',\n\t},\n\t{\n\t\tlabel: 'Happy Fisher',\n\t\tvalue:\n\t\t\t'linear-gradient(120deg, rgb(137,247,254) 0%, rgb(102,166,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Blessing',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(253,219,146) 0%, rgb(209,253,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sharpeye Eagle',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(152,144,227) 0%, rgb(177,244,207) 100%)',\n\t},\n\t{\n\t\tlabel: 'Ladoga Bottom',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(235,192,253) 0%, rgb(217,222,216) 100%)',\n\t},\n\t{\n\t\tlabel: 'Lemon Gate',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(150,251,196) 0%, rgb(249,245,134) 100%)',\n\t},\n\t{\n\t\tlabel: 'Itmeo Branding',\n\t\tvalue: 'linear-gradient(180deg, rgb(42,245,152) 0%, rgb(0,158,253) 100%)',\n\t},\n\t{\n\t\tlabel: 'Zeus Miracle',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(205,156,242) 0%, rgb(246,243,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Old Hat',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(228,175,203) 0%, rgb(184,203,184) 0%, rgb(184,203,184) 0%, rgb(226,197,139) 30%, rgb(194,206,156) 64%, rgb(126,219,220) 100%)',\n\t},\n\t{\n\t\tlabel: 'Star Wine',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(184,203,184) 0%, rgb(184,203,184) 0%, rgb(180,101,218) 0%, rgb(207,108,201) 33%, rgb(238,96,156) 66%, rgb(238,96,156) 100%)',\n\t},\n\t{\n\t\tlabel: 'Deep Blue',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(106,17,203) 0%, rgb(37,117,252) 100%)',\n\t},\n\t{\n\t\tlabel: 'Happy Acid',\n\t\tvalue: 'linear-gradient(to top, rgb(55,236,186) 0%, rgb(114,175,211) 100%)',\n\t},\n\t{\n\t\tlabel: 'Awesome Pine',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(235,187,167) 0%, rgb(207,199,248) 100%)',\n\t},\n\t{\n\t\tlabel: 'New York',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(255,241,235) 0%, rgb(172,224,249) 100%)',\n\t},\n\t{\n\t\tlabel: 'Shy Rainbow',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(238,162,162) 0%, rgb(187,193,191) 19%, rgb(87,198,225) 42%, rgb(180,159,218) 79%, rgb(122,197,216) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mixed Hopes',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(196,113,245) 0%, rgb(250,113,205) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fly High',\n\t\tvalue: 'linear-gradient(to top, rgb(72,198,239) 0%, rgb(111,134,214) 100%)',\n\t},\n\t{\n\t\tlabel: 'Strong Bliss',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(247,140,160) 0%, rgb(249,116,143) 19%, rgb(253,134,140) 60%, rgb(254,154,139) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fresh Milk',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(254,173,166) 0%, rgb(245,239,239) 100%)',\n\t},\n\t{\n\t\tlabel: 'Snow Again',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(230,233,240) 0%, rgb(238,241,245) 100%)',\n\t},\n\t{\n\t\tlabel: 'February Ink',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(172,203,238) 0%, rgb(231,240,253) 100%)',\n\t},\n\t{\n\t\tlabel: 'Kind Steel',\n\t\tvalue:\n\t\t\t'linear-gradient(-20deg, rgb(233,222,250) 0%, rgb(251,252,219) 100%)',\n\t},\n\t{\n\t\tlabel: 'Soft Grass',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(193,223,196) 0%, rgb(222,236,221) 100%)',\n\t},\n\t{\n\t\tlabel: 'Grown Early',\n\t\tvalue: 'linear-gradient(to top, rgb(11,163,96) 0%, rgb(60,186,146) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sharp Blues',\n\t\tvalue: 'linear-gradient(to top, rgb(0,198,251) 0%, rgb(0,91,234) 100%)',\n\t},\n\t{\n\t\tlabel: 'Shady Water',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(116,235,213) 0%, rgb(159,172,230) 100%)',\n\t},\n\t{\n\t\tlabel: 'Dirty Beauty',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(106,133,182) 0%, rgb(186,200,224) 100%)',\n\t},\n\t{\n\t\tlabel: 'Great Whale',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(163,189,237) 0%, rgb(105,145,199) 100%)',\n\t},\n\t{\n\t\tlabel: 'Teen Notebook',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(151,149,240) 0%, rgb(251,200,212) 100%)',\n\t},\n\t{\n\t\tlabel: 'Polite Rumors',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(167,166,203) 0%, rgb(137,137,186) 52%, rgb(137,137,186) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sweet Period',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(63,81,177) 0%, rgb(90,85,174) 13%, rgb(123,95,172) 25%, rgb(143,106,174) 38%, rgb(168,106,164) 50%, rgb(204,107,142) 62%, rgb(241,130,113) 75%, rgb(243,164,105) 87%, rgb(247,201,120) 100%)',\n\t},\n\t{\n\t\tlabel: 'Wide Matrix',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(252,197,228) 0%, rgb(253,163,75) 15%, rgb(255,120,130) 35%, rgb(200,105,158) 52%, rgb(112,70,170) 71%, rgb(12,29,184) 87%, rgb(2,15,117) 100%)',\n\t},\n\t{\n\t\tlabel: 'Soft Cherish',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(219,220,215) 0%, rgb(221,220,215) 24%, rgb(226,201,204) 30%, rgb(231,98,125) 46%, rgb(184,35,90) 59%, rgb(128,19,87) 71%, rgb(61,22,53) 84%, rgb(28,26,39) 100%)',\n\t},\n\t{\n\t\tlabel: 'Red Salvation',\n\t\tvalue: 'linear-gradient(to top, rgb(244,59,71) 0%, rgb(69,58,148) 100%)',\n\t},\n\t{\n\t\tlabel: 'Burning Spring',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(79,181,118) 0%, rgb(68,196,137) 30%, rgb(40,169,174) 46%, rgb(40,162,183) 59%, rgb(76,119,136) 71%, rgb(108,79,99) 86%, rgb(67,44,57) 100%)',\n\t},\n\t{\n\t\tlabel: 'Night Party',\n\t\tvalue: 'linear-gradient(to top, rgb(2,80,197) 0%, rgb(212,63,141) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sky Glider',\n\t\tvalue: 'linear-gradient(to top, rgb(136,211,206) 0%, rgb(110,69,226) 100%)',\n\t},\n\t{\n\t\tlabel: 'Heaven Peach',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(217,175,217) 0%, rgb(151,217,225) 100%)',\n\t},\n\t{\n\t\tlabel: 'Purple Division',\n\t\tvalue: 'linear-gradient(to top, rgb(112,40,228) 0%, rgb(229,178,202) 100%)',\n\t},\n\t{\n\t\tlabel: 'Aqua Splash',\n\t\tvalue: 'linear-gradient(15deg, rgb(19,84,122) 0%, rgb(128,208,199) 100%)',\n\t},\n\t{\n\t\tlabel: 'Spiky Naga',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(80,82,133) 0%, rgb(88,94,146) 12%, rgb(101,104,159) 25%, rgb(116,116,176) 37%, rgb(126,126,187) 50%, rgb(131,137,199) 62%, rgb(151,149,212) 75%, rgb(162,161,220) 87%, rgb(181,174,228) 100%)',\n\t},\n\t{\n\t\tlabel: 'Love Kiss',\n\t\tvalue: 'linear-gradient(to top, rgb(255,8,68) 0%, rgb(255,177,153) 100%)',\n\t},\n\t{\n\t\tlabel: 'Cochiti Lake',\n\t\tvalue: 'linear-gradient(45deg, rgb(147,165,207) 0%, rgb(228,239,233) 100%)',\n\t},\n\t{\n\t\tlabel: 'Premium Dark',\n\t\tvalue: 'linear-gradient(to right, rgb(67,67,67) 0%, black 100%)',\n\t},\n\t{\n\t\tlabel: 'Cold Evening',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(12,52,131) 0%, rgb(162,182,223) 100%, rgb(107,140,206) 100%, rgb(162,182,223) 100%)',\n\t},\n\t{\n\t\tlabel: 'Summer Games',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(146,254,157) 0%, rgb(0,201,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Passionate Bed',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(255,117,140) 0%, rgb(255,126,179) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mountain Rock',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(134,143,150) 0%, rgb(89,97,100) 100%)',\n\t},\n\t{\n\t\tlabel: 'Desert Hump',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(199,144,129) 0%, rgb(223,165,121) 100%)',\n\t},\n\t{\n\t\tlabel: 'Jungle Day',\n\t\tvalue: 'linear-gradient(45deg, rgb(139,170,170) 0%, rgb(174,139,156) 100%)',\n\t},\n\t{\n\t\tlabel: 'Phoenix Start',\n\t\tvalue: 'linear-gradient(to right, rgb(248,54,0) 0%, rgb(249,212,35) 100%)',\n\t},\n\t{\n\t\tlabel: 'October Silence',\n\t\tvalue: 'linear-gradient(-20deg, rgb(183,33,255) 0%, rgb(33,212,253) 100%)',\n\t},\n\t{\n\t\tlabel: 'Faraway River',\n\t\tvalue: 'linear-gradient(-20deg, rgb(110,69,226) 0%, rgb(136,211,206) 100%)',\n\t},\n\t{\n\t\tlabel: 'Alchemist Lab',\n\t\tvalue: 'linear-gradient(-20deg, rgb(213,88,200) 0%, rgb(36,210,146) 100%)',\n\t},\n\t{\n\t\tlabel: 'Over Sun',\n\t\tvalue: 'linear-gradient(60deg, rgb(171,236,214) 0%, rgb(251,237,150) 100%)',\n\t},\n\t{\n\t\tlabel: 'Premium White',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(213,212,208) 0%, rgb(213,212,208) 1%, rgb(238,238,236) 31%, rgb(239,238,236) 75%, rgb(233,233,231) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mars Party',\n\t\tvalue: 'linear-gradient(to top, rgb(95,114,189) 0%, rgb(155,35,234) 100%)',\n\t},\n\t{\n\t\tlabel: 'Eternal Constance',\n\t\tvalue: 'linear-gradient(to top, rgb(9,32,63) 0%, rgb(83,120,149) 100%)',\n\t},\n\t{\n\t\tlabel: 'Japan Blush',\n\t\tvalue:\n\t\t\t'linear-gradient(-20deg, rgb(221,214,243) 0%, rgb(250,172,168) 100%, rgb(250,172,168) 100%)',\n\t},\n\t{\n\t\tlabel: 'Smiling Rain',\n\t\tvalue:\n\t\t\t'linear-gradient(-20deg, rgb(220,176,237) 0%, rgb(153,201,156) 100%)',\n\t},\n\t{\n\t\tlabel: 'Cloudy Apple',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(243,231,233) 0%, rgb(227,238,255) 99%, rgb(227,238,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Big Mango',\n\t\tvalue: 'linear-gradient(to top, rgb(199,29,111) 0%, rgb(208,150,147) 100%)',\n\t},\n\t{\n\t\tlabel: 'Healthy Water',\n\t\tvalue: 'linear-gradient(60deg, rgb(150,222,218) 0%, rgb(80,201,195) 100%)',\n\t},\n\t{\n\t\tlabel: 'Amour Amour',\n\t\tvalue: 'linear-gradient(to top, rgb(247,112,98) 0%, rgb(254,81,150) 100%)',\n\t},\n\t{\n\t\tlabel: 'Risky Concrete',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(196,197,199) 0%, rgb(220,221,223) 52%, rgb(235,235,235) 100%)',\n\t},\n\t{\n\t\tlabel: 'Strong Stick',\n\t\tvalue: 'linear-gradient(to right, rgb(168,202,186) 0%, rgb(93,65,87) 100%)',\n\t},\n\t{\n\t\tlabel: 'Vicious Stance',\n\t\tvalue: 'linear-gradient(60deg, rgb(41,50,60) 0%, rgb(72,85,99) 100%)',\n\t},\n\t{\n\t\tlabel: 'Palo Alto',\n\t\tvalue: 'linear-gradient(-60deg, rgb(22,160,133) 0%, rgb(244,208,63) 100%)',\n\t},\n\t{\n\t\tlabel: 'Happy Memories',\n\t\tvalue: 'linear-gradient(-60deg, rgb(255,88,88) 0%, rgb(240,152,25) 100%)',\n\t},\n\t{\n\t\tlabel: 'Midnight Bloom',\n\t\tvalue: 'linear-gradient(-20deg, rgb(43,88,118) 0%, rgb(78,67,118) 100%)',\n\t},\n\t{\n\t\tlabel: 'Crystalline',\n\t\tvalue: 'linear-gradient(-20deg, rgb(0,205,172) 0%, rgb(141,218,213) 100%)',\n\t},\n\t{\n\t\tlabel: 'River City',\n\t\tvalue: 'linear-gradient(to top, rgb(68,129,235) 0%, rgb(4,190,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'Confident Cloud',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(218,212,236) 0%, rgb(218,212,236) 1%, rgb(243,231,233) 100%)',\n\t},\n\t{\n\t\tlabel: 'Le Cocktail',\n\t\tvalue: 'linear-gradient(45deg, rgb(135,77,162) 0%, rgb(196,58,48) 100%)',\n\t},\n\t{\n\t\tlabel: 'Frozen Berry',\n\t\tvalue: 'linear-gradient(to top, rgb(232,25,139) 0%, rgb(199,234,253) 100%)',\n\t},\n\t{\n\t\tlabel: 'Child Care',\n\t\tvalue:\n\t\t\t'linear-gradient(-20deg, rgb(247,148,164) 0%, rgb(253,214,189) 100%)',\n\t},\n\t{\n\t\tlabel: 'Flying Lemon',\n\t\tvalue: 'linear-gradient(60deg, rgb(100,179,244) 0%, rgb(194,229,156) 100%)',\n\t},\n\t{\n\t\tlabel: 'New Retrowave',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(59,65,197) 0%, rgb(169,129,187) 49%, rgb(255,200,169) 100%)',\n\t},\n\t{\n\t\tlabel: 'Hidden Jaguar',\n\t\tvalue: 'linear-gradient(to top, rgb(15,216,80) 0%, rgb(249,240,71) 100%)',\n\t},\n\t{\n\t\tlabel: 'Above The Sky',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, lightgrey 0%, lightgrey 1%, rgb(224,224,224) 26%, rgb(239,239,239) 48%, rgb(217,217,217) 75%, rgb(188,188,188) 100%)',\n\t},\n\t{\n\t\tlabel: 'Nega',\n\t\tvalue: 'linear-gradient(45deg, rgb(238,156,167) 0%, rgb(255,221,225) 100%)',\n\t},\n\t{\n\t\tlabel: 'Dense Water',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(58,181,176) 0%, rgb(61,153,190) 31%, rgb(86,49,122) 100%)',\n\t},\n\t{\n\t\tlabel: 'Seashore',\n\t\tvalue: 'linear-gradient(to top, rgb(32,156,255) 0%, rgb(104,224,207) 100%)',\n\t},\n\t{\n\t\tlabel: 'Marble Wall',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(189,194,232) 0%, rgb(189,194,232) 1%, rgb(230,222,233) 100%)',\n\t},\n\t{\n\t\tlabel: 'Cheerful Caramel',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(230,185,128) 0%, rgb(234,205,163) 100%)',\n\t},\n\t{\n\t\tlabel: 'Night Sky',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(30,60,114) 0%, rgb(30,60,114) 1%, rgb(42,82,152) 100%)',\n\t},\n\t{\n\t\tlabel: 'Magic Lake',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(213,222,231) 0%, rgb(255,175,189) 0%, rgb(201,255,191) 100%)',\n\t},\n\t{\n\t\tlabel: 'Young Grass',\n\t\tvalue: 'linear-gradient(to top, rgb(155,225,93) 0%, rgb(0,227,174) 100%)',\n\t},\n\t{\n\t\tlabel: 'Royal Garden',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(237,110,160) 0%, rgb(236,140,105) 100%)',\n\t},\n\t{\n\t\tlabel: 'Gentle Care',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(255,195,160) 0%, rgb(255,175,189) 100%)',\n\t},\n\t{\n\t\tlabel: 'Plum Bath',\n\t\tvalue: 'linear-gradient(to top, rgb(204,32,142) 0%, rgb(103,19,210) 100%)',\n\t},\n\t{\n\t\tlabel: 'Happy Unicorn',\n\t\tvalue: 'linear-gradient(to top, rgb(179,255,171) 0%, rgb(18,255,247) 100%)',\n\t},\n\t{\n\t\tlabel: 'African Field',\n\t\tvalue:\n\t\t\t'linear-gradient(-45deg, rgb(255,199,150) 0%, rgb(255,107,149) 100%)',\n\t},\n\t{\n\t\tlabel: 'Solid Stone',\n\t\tvalue: 'linear-gradient(to right, rgb(36,57,73) 0%, rgb(81,127,164) 100%)',\n\t},\n\t{\n\t\tlabel: 'Orange Juice',\n\t\tvalue: 'linear-gradient(-20deg, rgb(252,96,118) 0%, rgb(255,154,68) 100%)',\n\t},\n\t{\n\t\tlabel: 'Glass Water',\n\t\tvalue: 'linear-gradient(to top, rgb(223,233,243) 0%, white 100%)',\n\t},\n\t{\n\t\tlabel: 'North Miracle',\n\t\tvalue: 'linear-gradient(to right, rgb(0,219,222) 0%, rgb(252,0,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fruit Blend',\n\t\tvalue: 'linear-gradient(to right, rgb(249,212,35) 0%, rgb(255,78,80) 100%)',\n\t},\n\t{\n\t\tlabel: 'Millennium Pine',\n\t\tvalue: 'linear-gradient(to top, rgb(80,204,127) 0%, rgb(245,209,0) 100%)',\n\t},\n\t{\n\t\tlabel: 'High Flight',\n\t\tvalue: 'linear-gradient(to right, rgb(10,207,254) 0%, rgb(73,90,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mole Hall',\n\t\tvalue: 'linear-gradient(-20deg, rgb(97,97,97) 0%, rgb(155,197,195) 100%)',\n\t},\n\t{\n\t\tlabel: 'Space Shift',\n\t\tvalue:\n\t\t\t'linear-gradient(60deg, rgb(61,51,147) 0%, rgb(43,118,185) 37%, rgb(44,172,209) 65%, rgb(53,235,147) 100%)',\n\t},\n\t{\n\t\tlabel: 'Forest Inei',\n\t\tvalue:\n\t\t\t'linear-gradient(to top, rgb(223,137,181) 0%, rgb(191,217,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'Rich Metal',\n\t\tvalue: 'linear-gradient(to right, rgb(215,210,204) 0%, rgb(48,67,82) 100%)',\n\t},\n\t{\n\t\tlabel: 'Juicy Cake',\n\t\tvalue: 'linear-gradient(to top, rgb(225,79,173) 0%, rgb(249,212,35) 100%)',\n\t},\n\t{\n\t\tlabel: 'Smart Indigo',\n\t\tvalue: 'linear-gradient(to top, rgb(178,36,239) 0%, rgb(117,121,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sand Strike',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(193,193,97) 0%, rgb(193,193,97) 0%, rgb(212,212,177) 100%)',\n\t},\n\t{\n\t\tlabel: 'Norse Beauty',\n\t\tvalue:\n\t\t\t'linear-gradient(to right, rgb(236,119,171) 0%, rgb(120,115,245) 100%)',\n\t},\n\t{\n\t\tlabel: 'Aqua Guidance',\n\t\tvalue: 'linear-gradient(to top, rgb(0,122,223) 0%, rgb(0,236,188) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sun Veggie',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(32,226,215) 0%, rgb(249,254,165) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sea Lord',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(44,216,213) 0%, rgb(197,193,255) 56%, rgb(255,186,195) 100%)',\n\t},\n\t{\n\t\tlabel: 'Black Sea',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(44,216,213) 0%, rgb(107,141,214) 48%, rgb(142,55,215) 100%)',\n\t},\n\t{\n\t\tlabel: 'Grass Shampoo',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(223,255,205) 0%, rgb(144,249,196) 48%, rgb(57,243,187) 100%)',\n\t},\n\t{\n\t\tlabel: 'Landing Aircraft',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(93,159,255) 0%, rgb(184,220,255) 48%, rgb(107,187,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Witch Dance',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(168,191,255) 0%, rgb(136,77,128) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sleepless Night',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(82,113,196) 0%, rgb(177,159,255) 48%, rgb(236,161,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'Angel Care',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,226,159) 0%, rgb(255,169,159) 48%, rgb(255,113,154) 100%)',\n\t},\n\t{\n\t\tlabel: 'Crystal River',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(34,225,255) 0%, rgb(29,143,225) 48%, rgb(98,94,177) 100%)',\n\t},\n\t{\n\t\tlabel: 'Soft Lipstick',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(182,206,232) 0%, rgb(245,120,220) 100%)',\n\t},\n\t{\n\t\tlabel: 'Salt Mountain',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,254,255) 0%, rgb(215,255,254) 100%)',\n\t},\n\t{\n\t\tlabel: 'Perfect White',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(227,253,245) 0%, rgb(255,230,250) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fresh Oasis',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(125,226,252) 0%, rgb(185,182,229) 100%)',\n\t},\n\t{\n\t\tlabel: 'Strict November',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(203,186,204) 0%, rgb(37,128,179) 100%)',\n\t},\n\t{\n\t\tlabel: 'Morning Salad',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(183,248,219) 0%, rgb(80,167,194) 100%)',\n\t},\n\t{\n\t\tlabel: 'Deep Relief',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(112,133,182) 0%, rgb(135,167,217) 50%, rgb(222,243,248) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sea Strike',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(119,255,210) 0%, rgb(98,151,219) 48%, rgb(30,236,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Night Call',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(172,50,228) 0%, rgb(121,24,242) 48%, rgb(72,1,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Supreme Sky',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(212,255,236) 0%, rgb(87,242,204) 48%, rgb(69,150,251) 100%)',\n\t},\n\t{\n\t\tlabel: 'Light Blue',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(158,251,211) 0%, rgb(87,233,242) 48%, rgb(69,212,251) 100%)',\n\t},\n\t{\n\t\tlabel: 'Mind Crawl',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(71,59,123) 0%, rgb(53,132,167) 51%, rgb(48,210,190) 100%)',\n\t},\n\t{\n\t\tlabel: 'Lily Meadow',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(101,55,155) 0%, rgb(136,106,234) 53%, rgb(100,87,198) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sugar Lollipop',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(164,69,178) 0%, rgb(212,24,114) 52%, rgb(255,0,102) 100%)',\n\t},\n\t{\n\t\tlabel: 'Sweet Dessert',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(119,66,178) 0%, rgb(241,128,255) 52%, rgb(253,139,217) 100%)',\n\t},\n\t{\n\t\tlabel: 'Magic Ray',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,60,172) 0%, rgb(86,43,124) 52%, rgb(43,134,197) 100%)',\n\t},\n\t{\n\t\tlabel: 'Teen Party',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,5,124) 0%, rgb(141,11,147) 50%, rgb(50,21,117) 100%)',\n\t},\n\t{\n\t\tlabel: 'Frozen Heat',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(255,5,124) 0%, rgb(124,100,213) 48%, rgb(76,195,255) 100%)',\n\t},\n\t{\n\t\tlabel: 'Gagarin View',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(105,234,203) 0%, rgb(234,204,248) 48%, rgb(102,84,241) 100%)',\n\t},\n\t{\n\t\tlabel: 'Fabled Sunset',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(35,21,87) 0%, rgb(68,16,122) 29%, rgb(255,19,97) 67%, rgb(255,248,0) 100%)',\n\t},\n\t{\n\t\tlabel: 'Perfect Blue',\n\t\tvalue:\n\t\t\t'linear-gradient(-225deg, rgb(61,78,129) 0%, rgb(87,83,201) 48%, rgb(110,127,243) 100%)',\n\t},\n];\n\nconst getRandomGradient = () => {\n\tconst randomIndex = Math.floor( Math.random() * gradients.length );\n\treturn gradients[ randomIndex ].value;\n};\nexport default getRandomGradient;\n","/* Credits: Forked from GenerateBlocks */\nexport default function shorthandCSS( top, right, bottom, left, unit ) {\n\tif ( '' === top && '' === right && '' === bottom && '' === left ) {\n\t\treturn;\n\t}\n\n\ttop = ( parseFloat( top ) != 0 && '' !== top ) ? parseFloat( top ) + unit + ' ' : '0 '; // eslint-disable-line eqeqeq\n\tright = ( parseFloat( right ) != 0 && '' !== right ) ? parseFloat( right ) + unit + ' ' : '0 '; // eslint-disable-line eqeqeq\n\tbottom = ( parseFloat( bottom ) != 0 && '' !== bottom ) ? parseFloat( bottom ) + unit + ' ' : '0 '; // eslint-disable-line eqeqeq\n\tleft = ( parseFloat( left ) != 0 && '' !== left ) ? parseFloat( left ) + unit + ' ' : '0 '; // eslint-disable-line eqeqeq\n\n\tif ( right === left ) {\n\t\tleft = '';\n\n\t\tif ( top === bottom ) {\n\t\t\tbottom = '';\n\n\t\t\tif ( top === right ) {\n\t\t\t\tright = '';\n\t\t\t}\n\t\t}\n\t}\n\n\tconst output = top + right + bottom + left;\n\n\treturn output.trim();\n}\n","import React from 'react';\nimport shorthandCSS from './ShorthandCSS';\n\n/**\n * Build CSS rules for dimensions and screen size.\n *\n * @param {Object} props Dimensions array (see /components/DimensionsBlock).\n * @param {string} screenSize mobile|tablet|desktop.\n *\n * @return {string} CSS rules.\n */\nexport function buildDimensionsCSS( props, screenSize ) {\n\tscreenSize = screenSize.toLowerCase();\n\tconst dimensions = props[ screenSize ];\n\n\tif ( 'desktop' === screenSize ) {\n\t\tconst top = dimensions.top;\n\t\tconst right = dimensions.right;\n\t\tconst bottom = dimensions.bottom;\n\t\tconst left = dimensions.left;\n\t\tconst unit = dimensions.unit;\n\n\t\treturn shorthandCSS( top, right, bottom, left, unit );\n\t}\n\n\tif ( 'tablet' === screenSize || 'mobile' === screenSize ) {\n\t\tconst top = geHierarchicalPlaceholderValue( props, screenSize, dimensions.top, 'top' );\n\t\tconst right = geHierarchicalPlaceholderValue( props, screenSize, dimensions.right, 'right' );\n\t\tconst bottom = geHierarchicalPlaceholderValue( props, screenSize, dimensions.bottom, 'bottom' );\n\t\tconst left = geHierarchicalPlaceholderValue( props, screenSize, dimensions.left, 'left' );\n\t\tconst unit = getHierarchicalValueUnit( props, screenSize, dimensions.unit );\n\n\t\treturn shorthandCSS( top, right, bottom, left, unit );\n\t}\n\n\treturn '';\n}\n\n/**\n * Get a value placeholder based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n * @param {string} type Type of value (fontFamily, fontSize, fontWeight, letterSpacing, etc.).\n *\n * @return {string} Value placeholder.\n */\nexport function geHierarchicalPlaceholderValue( props, screenSize, value, type ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && '' === value ) {\n\t\t// Check tablet.\n\t\tif ( '' !== props.tablet[ type ] ) {\n\t\t\treturn props.tablet[ type ];\n\t\t} else if ( '' !== props.desktop[ type ] ) {\n\t\t\t// Check desktop.\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t}\n\n\t// Check tablet screen size.\n\tif ( 'tablet' === screenSize && '' === value ) {\n\t\tif ( '' !== props.desktop[ type ] ) {\n\t\t\t// Check desktop.\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t}\n\n\tif ( '' !== value ) {\n\t\treturn value;\n\t}\n\n\treturn '';\n}\n\n/**\n * Get a value placeholder based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n * @param {string} type Type of value (fontSizeUnit, etc.).\n *\n * @return {string} Value default or hierarchical value.\n */\nexport function getHierarchicalValueUnit( props, screenSize, value, type ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && null === value ) {\n\t\tif ( null === props.tablet[ type ] ) {\n\t\t\treturn props.desktop[ type ];\n\t\t}\n\t\treturn props.tablet[ type ];\n\t}\n\tif ( 'tablet' === screenSize && null === value ) {\n\t\treturn props.desktop[ type ];\n\t}\n\tif ( null === value ) {\n\t\treturn 'px';\n\t}\n\treturn value;\n}\n\n/**\n * Get a value based on hierarchy. If the value is not set, get the value from the parent.\n *\n * @param {Object} props Values object.\n * @param {string} screenSize mobile|tablet|desktop.\n * @param {string} value Current value.\n *\n * @return {boolean} Value default or hierarchical value.\n */\nexport function getHierarchicalValueUnitSync( props, screenSize, value ) {\n\t// Check mobile screen size.\n\tif ( 'mobile' === screenSize && null === value ) {\n\t\tif ( null === props.tablet.unitSync ) {\n\t\t\treturn props.desktop.unitSync;\n\t\t}\n\t\treturn props.tablet.unitSync;\n\t}\n\tif ( 'tablet' === screenSize && null === value ) {\n\t\treturn props.desktop.unitSync;\n\t}\n\tif ( null === value ) {\n\t\treturn true;\n\t}\n\treturn value;\n}\n","/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\tvar nativeCodeString = '[native code]';\n\n\tfunction classNames() {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tif (arg.length) {\n\t\t\t\t\tvar inner = classNames.apply(null, arg);\n\t\t\t\t\tif (inner) {\n\t\t\t\t\t\tclasses.push(inner);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\t\t\tclasses.push(arg.toString());\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n","\"use strict\";\n\nvar removeHash = function removeHash(hex) {\n return hex.charAt(0) === '#' ? hex.slice(1) : hex;\n};\n\nvar parseHex = function parseHex(nakedHex) {\n var isShort = nakedHex.length === 3 || nakedHex.length === 4;\n var twoDigitHexR = isShort ? \"\".concat(nakedHex.slice(0, 1)).concat(nakedHex.slice(0, 1)) : nakedHex.slice(0, 2);\n var twoDigitHexG = isShort ? \"\".concat(nakedHex.slice(1, 2)).concat(nakedHex.slice(1, 2)) : nakedHex.slice(2, 4);\n var twoDigitHexB = isShort ? \"\".concat(nakedHex.slice(2, 3)).concat(nakedHex.slice(2, 3)) : nakedHex.slice(4, 6);\n var twoDigitHexA = (isShort ? \"\".concat(nakedHex.slice(3, 4)).concat(nakedHex.slice(3, 4)) : nakedHex.slice(6, 8)) || 'ff'; // const numericA = +((parseInt(a, 16) / 255).toFixed(2));\n\n return {\n r: twoDigitHexR,\n g: twoDigitHexG,\n b: twoDigitHexB,\n a: twoDigitHexA\n };\n};\n\nvar hexToDecimal = function hexToDecimal(hex) {\n return parseInt(hex, 16);\n};\n\nvar hexesToDecimals = function hexesToDecimals(_ref) {\n var r = _ref.r,\n g = _ref.g,\n b = _ref.b,\n a = _ref.a;\n return {\n r: hexToDecimal(r),\n g: hexToDecimal(g),\n b: hexToDecimal(b),\n a: +(hexToDecimal(a) / 255).toFixed(2)\n };\n};\n\nvar isNumeric = function isNumeric(n) {\n return !isNaN(parseFloat(n)) && isFinite(n);\n}; // eslint-disable-line no-restricted-globals, max-len\n\n\nvar formatRgb = function formatRgb(decimalObject, parameterA) {\n var r = decimalObject.r,\n g = decimalObject.g,\n b = decimalObject.b,\n parsedA = decimalObject.a;\n var a = isNumeric(parameterA) ? parameterA : parsedA;\n return \"rgba(\".concat(r, \", \").concat(g, \", \").concat(b, \", \").concat(a, \")\");\n};\n/**\n * Turns an old-fashioned css hex color value into a rgb color value.\n *\n * If you specify an alpha value, you'll get a rgba() value instead.\n *\n * @param The hex value to convert. ('123456'. '#123456', ''123', '#123')\n * @param An alpha value to apply. (optional) ('0.5', '0.25')\n * @return An rgb or rgba value. ('rgb(11, 22, 33)'. 'rgba(11, 22, 33, 0.5)')\n */\n\n\nvar hexToRgba = function hexToRgba(hex, a) {\n var hashlessHex = removeHash(hex);\n var hexObject = parseHex(hashlessHex);\n var decimalObject = hexesToDecimals(hexObject);\n return formatRgb(decimalObject, a);\n};\n\nmodule.exports = hexToRgba;","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n\n'use strict';\n/* eslint-disable no-unused-vars */\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n\tif (val === null || val === undefined) {\n\t\tthrow new TypeError('Object.assign cannot be called with null or undefined');\n\t}\n\n\treturn Object(val);\n}\n\nfunction shouldUseNative() {\n\ttry {\n\t\tif (!Object.assign) {\n\t\t\treturn false;\n\t\t}\n\n\t\t// Detect buggy property enumeration order in older V8 versions.\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\t\tvar test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\t\ttest1[5] = 'de';\n\t\tif (Object.getOwnPropertyNames(test1)[0] === '5') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test2 = {};\n\t\tfor (var i = 0; i < 10; i++) {\n\t\t\ttest2['_' + String.fromCharCode(i)] = i;\n\t\t}\n\t\tvar order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n\t\t\treturn test2[n];\n\t\t});\n\t\tif (order2.join('') !== '0123456789') {\n\t\t\treturn false;\n\t\t}\n\n\t\t// https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\t\tvar test3 = {};\n\t\t'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n\t\t\ttest3[letter] = letter;\n\t\t});\n\t\tif (Object.keys(Object.assign({}, test3)).join('') !==\n\t\t\t\t'abcdefghijklmnopqrst') {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t} catch (err) {\n\t\t// We don't expect any of the above to throw, but better to be safe.\n\t\treturn false;\n\t}\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n\tvar from;\n\tvar to = toObject(target);\n\tvar symbols;\n\n\tfor (var s = 1; s < arguments.length; s++) {\n\t\tfrom = Object(arguments[s]);\n\n\t\tfor (var key in from) {\n\t\t\tif (hasOwnProperty.call(from, key)) {\n\t\t\t\tto[key] = from[key];\n\t\t\t}\n\t\t}\n\n\t\tif (getOwnPropertySymbols) {\n\t\t\tsymbols = getOwnPropertySymbols(from);\n\t\t\tfor (var i = 0; i < symbols.length; i++) {\n\t\t\t\tif (propIsEnumerable.call(from, symbols[i])) {\n\t\t\t\t\tto[symbols[i]] = from[symbols[i]];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn to;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n var loggedTypeFailures = {};\n var has = require('./lib/has');\n\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) { /**/ }\n };\n}\n\n/**\n * Assert that the values match with the type specs.\n * Error messages are memorized and will only be shown once.\n *\n * @param {object} typeSpecs Map of name to a ReactPropType\n * @param {object} values Runtime values that need to be type-checked\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\n * @param {string} componentName Name of the component for error messages.\n * @param {?Function} getStack Returns the component stack.\n * @private\n */\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\n if (process.env.NODE_ENV !== 'production') {\n for (var typeSpecName in typeSpecs) {\n if (has(typeSpecs, typeSpecName)) {\n var error;\n // Prop type validation may throw. In case they do, we don't want to\n // fail the render phase where it didn't fail before. So we log it.\n // After these have been cleaned up, we'll let them throw.\n try {\n // This is intentionally an invariant that gets caught. It's the same\n // behavior as without this statement except with a better message.\n if (typeof typeSpecs[typeSpecName] !== 'function') {\n var err = Error(\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +\n 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'\n );\n err.name = 'Invariant Violation';\n throw err;\n }\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);\n } catch (ex) {\n error = ex;\n }\n if (error && !(error instanceof Error)) {\n printWarning(\n (componentName || 'React class') + ': type specification of ' +\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\n 'You may have forgotten to pass an argument to the type checker ' +\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\n 'shape all require an argument).'\n );\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var stack = getStack ? getStack() : '';\n\n printWarning(\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\n );\n }\n }\n }\n }\n}\n\n/**\n * Resets warning cache when testing.\n *\n * @private\n */\ncheckPropTypes.resetWarningCache = function() {\n if (process.env.NODE_ENV !== 'production') {\n loggedTypeFailures = {};\n }\n}\n\nmodule.exports = checkPropTypes;\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactIs = require('react-is');\nvar assign = require('object-assign');\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\nvar has = require('./lib/has');\nvar checkPropTypes = require('./checkPropTypes');\n\nvar printWarning = function() {};\n\nif (process.env.NODE_ENV !== 'production') {\n printWarning = function(text) {\n var message = 'Warning: ' + text;\n if (typeof console !== 'undefined') {\n console.error(message);\n }\n try {\n // --- Welcome to debugging React ---\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n } catch (x) {}\n };\n}\n\nfunction emptyFunctionThatReturnsNull() {\n return null;\n}\n\nmodule.exports = function(isValidElement, throwOnDirectAccess) {\n /* global Symbol */\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\n\n /**\n * Returns the iterator method function contained on the iterable object.\n *\n * Be sure to invoke the function with the iterable as context:\n *\n * var iteratorFn = getIteratorFn(myIterable);\n * if (iteratorFn) {\n * var iterator = iteratorFn.call(myIterable);\n * ...\n * }\n *\n * @param {?object} maybeIterable\n * @return {?function}\n */\n function getIteratorFn(maybeIterable) {\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\n if (typeof iteratorFn === 'function') {\n return iteratorFn;\n }\n }\n\n /**\n * Collection of methods that allow declaration and validation of props that are\n * supplied to React components. Example usage:\n *\n * var Props = require('ReactPropTypes');\n * var MyArticle = React.createClass({\n * propTypes: {\n * // An optional string prop named \"description\".\n * description: Props.string,\n *\n * // A required enum prop named \"category\".\n * category: Props.oneOf(['News','Photos']).isRequired,\n *\n * // A prop named \"dialog\" that requires an instance of Dialog.\n * dialog: Props.instanceOf(Dialog).isRequired\n * },\n * render: function() { ... }\n * });\n *\n * A more formal specification of how these methods are used:\n *\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\n * decl := ReactPropTypes.{type}(.isRequired)?\n *\n * Each and every declaration produces a function with the same signature. This\n * allows the creation of custom validation functions. For example:\n *\n * var MyLink = React.createClass({\n * propTypes: {\n * // An optional string or URI prop named \"href\".\n * href: function(props, propName, componentName) {\n * var propValue = props[propName];\n * if (propValue != null && typeof propValue !== 'string' &&\n * !(propValue instanceof URI)) {\n * return new Error(\n * 'Expected a string or an URI for ' + propName + ' in ' +\n * componentName\n * );\n * }\n * }\n * },\n * render: function() {...}\n * });\n *\n * @internal\n */\n\n var ANONYMOUS = '<>';\n\n // Important!\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\n var ReactPropTypes = {\n array: createPrimitiveTypeChecker('array'),\n bigint: createPrimitiveTypeChecker('bigint'),\n bool: createPrimitiveTypeChecker('boolean'),\n func: createPrimitiveTypeChecker('function'),\n number: createPrimitiveTypeChecker('number'),\n object: createPrimitiveTypeChecker('object'),\n string: createPrimitiveTypeChecker('string'),\n symbol: createPrimitiveTypeChecker('symbol'),\n\n any: createAnyTypeChecker(),\n arrayOf: createArrayOfTypeChecker,\n element: createElementTypeChecker(),\n elementType: createElementTypeTypeChecker(),\n instanceOf: createInstanceTypeChecker,\n node: createNodeChecker(),\n objectOf: createObjectOfTypeChecker,\n oneOf: createEnumTypeChecker,\n oneOfType: createUnionTypeChecker,\n shape: createShapeTypeChecker,\n exact: createStrictShapeTypeChecker,\n };\n\n /**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\n /*eslint-disable no-self-compare*/\n function is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n }\n /*eslint-enable no-self-compare*/\n\n /**\n * We use an Error-like object for backward compatibility as people may call\n * PropTypes directly and inspect their output. However, we don't use real\n * Errors anymore. We don't inspect their stack anyway, and creating them\n * is prohibitively expensive if they are created too often, such as what\n * happens in oneOfType() for any type before the one that matched.\n */\n function PropTypeError(message, data) {\n this.message = message;\n this.data = data && typeof data === 'object' ? data: {};\n this.stack = '';\n }\n // Make `instanceof Error` still work for returned errors.\n PropTypeError.prototype = Error.prototype;\n\n function createChainableTypeChecker(validate) {\n if (process.env.NODE_ENV !== 'production') {\n var manualPropTypeCallCache = {};\n var manualPropTypeWarningCount = 0;\n }\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\n componentName = componentName || ANONYMOUS;\n propFullName = propFullName || propName;\n\n if (secret !== ReactPropTypesSecret) {\n if (throwOnDirectAccess) {\n // New behavior only for users of `prop-types` package\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\n // Old behavior for people using React.PropTypes\n var cacheKey = componentName + ':' + propName;\n if (\n !manualPropTypeCallCache[cacheKey] &&\n // Avoid spamming the console because they are often not actionable except for lib authors\n manualPropTypeWarningCount < 3\n ) {\n printWarning(\n 'You are manually calling a React.PropTypes validation ' +\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\n 'and will throw in the standalone `prop-types` package. ' +\n 'You may be seeing this warning due to a third-party PropTypes ' +\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\n );\n manualPropTypeCallCache[cacheKey] = true;\n manualPropTypeWarningCount++;\n }\n }\n }\n if (props[propName] == null) {\n if (isRequired) {\n if (props[propName] === null) {\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\n }\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\n }\n return null;\n } else {\n return validate(props, propName, componentName, location, propFullName);\n }\n }\n\n var chainedCheckType = checkType.bind(null, false);\n chainedCheckType.isRequired = checkType.bind(null, true);\n\n return chainedCheckType;\n }\n\n function createPrimitiveTypeChecker(expectedType) {\n function validate(props, propName, componentName, location, propFullName, secret) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== expectedType) {\n // `propValue` being instance of, say, date/regexp, pass the 'object'\n // check, but we can offer a more precise error message here rather than\n // 'of type `object`'.\n var preciseType = getPreciseType(propValue);\n\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),\n {expectedType: expectedType}\n );\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createAnyTypeChecker() {\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\n }\n\n function createArrayOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\n }\n var propValue = props[propName];\n if (!Array.isArray(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\n }\n for (var i = 0; i < propValue.length; i++) {\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!isValidElement(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createElementTypeTypeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n if (!ReactIs.isValidElementType(propValue)) {\n var propType = getPropType(propValue);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createInstanceTypeChecker(expectedClass) {\n function validate(props, propName, componentName, location, propFullName) {\n if (!(props[propName] instanceof expectedClass)) {\n var expectedClassName = expectedClass.name || ANONYMOUS;\n var actualClassName = getClassName(props[propName]);\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createEnumTypeChecker(expectedValues) {\n if (!Array.isArray(expectedValues)) {\n if (process.env.NODE_ENV !== 'production') {\n if (arguments.length > 1) {\n printWarning(\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\n );\n } else {\n printWarning('Invalid argument supplied to oneOf, expected an array.');\n }\n }\n return emptyFunctionThatReturnsNull;\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n for (var i = 0; i < expectedValues.length; i++) {\n if (is(propValue, expectedValues[i])) {\n return null;\n }\n }\n\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\n var type = getPreciseType(value);\n if (type === 'symbol') {\n return String(value);\n }\n return value;\n });\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createObjectOfTypeChecker(typeChecker) {\n function validate(props, propName, componentName, location, propFullName) {\n if (typeof typeChecker !== 'function') {\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\n }\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\n }\n for (var key in propValue) {\n if (has(propValue, key)) {\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error instanceof Error) {\n return error;\n }\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createUnionTypeChecker(arrayOfTypeCheckers) {\n if (!Array.isArray(arrayOfTypeCheckers)) {\n process.env.NODE_ENV !== 'production' ? printWarning('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\n return emptyFunctionThatReturnsNull;\n }\n\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n if (typeof checker !== 'function') {\n printWarning(\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\n );\n return emptyFunctionThatReturnsNull;\n }\n }\n\n function validate(props, propName, componentName, location, propFullName) {\n var expectedTypes = [];\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\n var checker = arrayOfTypeCheckers[i];\n var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);\n if (checkerResult == null) {\n return null;\n }\n if (checkerResult.data && has(checkerResult.data, 'expectedType')) {\n expectedTypes.push(checkerResult.data.expectedType);\n }\n }\n var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));\n }\n return createChainableTypeChecker(validate);\n }\n\n function createNodeChecker() {\n function validate(props, propName, componentName, location, propFullName) {\n if (!isNode(props[propName])) {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function invalidValidatorError(componentName, location, propFullName, key, type) {\n return new PropTypeError(\n (componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +\n 'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'\n );\n }\n\n function createShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n for (var key in shapeTypes) {\n var checker = shapeTypes[key];\n if (typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n return createChainableTypeChecker(validate);\n }\n\n function createStrictShapeTypeChecker(shapeTypes) {\n function validate(props, propName, componentName, location, propFullName) {\n var propValue = props[propName];\n var propType = getPropType(propValue);\n if (propType !== 'object') {\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\n }\n // We need to check all keys in case some are required but missing from props.\n var allKeys = assign({}, props[propName], shapeTypes);\n for (var key in allKeys) {\n var checker = shapeTypes[key];\n if (has(shapeTypes, key) && typeof checker !== 'function') {\n return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));\n }\n if (!checker) {\n return new PropTypeError(\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\n );\n }\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);\n if (error) {\n return error;\n }\n }\n return null;\n }\n\n return createChainableTypeChecker(validate);\n }\n\n function isNode(propValue) {\n switch (typeof propValue) {\n case 'number':\n case 'string':\n case 'undefined':\n return true;\n case 'boolean':\n return !propValue;\n case 'object':\n if (Array.isArray(propValue)) {\n return propValue.every(isNode);\n }\n if (propValue === null || isValidElement(propValue)) {\n return true;\n }\n\n var iteratorFn = getIteratorFn(propValue);\n if (iteratorFn) {\n var iterator = iteratorFn.call(propValue);\n var step;\n if (iteratorFn !== propValue.entries) {\n while (!(step = iterator.next()).done) {\n if (!isNode(step.value)) {\n return false;\n }\n }\n } else {\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n if (!isNode(entry[1])) {\n return false;\n }\n }\n }\n }\n } else {\n return false;\n }\n\n return true;\n default:\n return false;\n }\n }\n\n function isSymbol(propType, propValue) {\n // Native Symbol.\n if (propType === 'symbol') {\n return true;\n }\n\n // falsy value can't be a Symbol\n if (!propValue) {\n return false;\n }\n\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\n if (propValue['@@toStringTag'] === 'Symbol') {\n return true;\n }\n\n // Fallback for non-spec compliant Symbols which are polyfilled.\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\n return true;\n }\n\n return false;\n }\n\n // Equivalent of `typeof` but with special handling for array and regexp.\n function getPropType(propValue) {\n var propType = typeof propValue;\n if (Array.isArray(propValue)) {\n return 'array';\n }\n if (propValue instanceof RegExp) {\n // Old webkits (at least until Android 4.0) return 'function' rather than\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\n // passes PropTypes.object.\n return 'object';\n }\n if (isSymbol(propType, propValue)) {\n return 'symbol';\n }\n return propType;\n }\n\n // This handles more types than `getPropType`. Only used for error messages.\n // See `createPrimitiveTypeChecker`.\n function getPreciseType(propValue) {\n if (typeof propValue === 'undefined' || propValue === null) {\n return '' + propValue;\n }\n var propType = getPropType(propValue);\n if (propType === 'object') {\n if (propValue instanceof Date) {\n return 'date';\n } else if (propValue instanceof RegExp) {\n return 'regexp';\n }\n }\n return propType;\n }\n\n // Returns a string that is postfixed to a warning about an invalid type.\n // For example, \"undefined\" or \"of type array\"\n function getPostfixForTypeWarning(value) {\n var type = getPreciseType(value);\n switch (type) {\n case 'array':\n case 'object':\n return 'an ' + type;\n case 'boolean':\n case 'date':\n case 'regexp':\n return 'a ' + type;\n default:\n return type;\n }\n }\n\n // Returns class name of the object, if any.\n function getClassName(propValue) {\n if (!propValue.constructor || !propValue.constructor.name) {\n return ANONYMOUS;\n }\n return propValue.constructor.name;\n }\n\n ReactPropTypes.checkPropTypes = checkPropTypes;\n ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","module.exports = Function.call.bind(Object.prototype.hasOwnProperty);\n","/** @license React v16.13.1\n * react-is.development.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\n\n\nif (process.env.NODE_ENV !== \"production\") {\n (function() {\n'use strict';\n\n// The Symbol used to tag the ReactElement-like types. If there is no native Symbol\n// nor polyfill, then a plain number is used for performance.\nvar hasSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\nvar REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\nvar REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\nvar REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\nvar REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\nvar REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\nvar REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\n// (unstable) APIs that have been removed. Can we remove the symbols?\n\nvar REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\nvar REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\nvar REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\nvar REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\nvar REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\nvar REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\nvar REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\nvar REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;\nvar REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\nvar REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\nvar REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\n\nfunction isValidElementType(type) {\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);\n}\n\nfunction typeOf(object) {\n if (typeof object === 'object' && object !== null) {\n var $$typeof = object.$$typeof;\n\n switch ($$typeof) {\n case REACT_ELEMENT_TYPE:\n var type = object.type;\n\n switch (type) {\n case REACT_ASYNC_MODE_TYPE:\n case REACT_CONCURRENT_MODE_TYPE:\n case REACT_FRAGMENT_TYPE:\n case REACT_PROFILER_TYPE:\n case REACT_STRICT_MODE_TYPE:\n case REACT_SUSPENSE_TYPE:\n return type;\n\n default:\n var $$typeofType = type && type.$$typeof;\n\n switch ($$typeofType) {\n case REACT_CONTEXT_TYPE:\n case REACT_FORWARD_REF_TYPE:\n case REACT_LAZY_TYPE:\n case REACT_MEMO_TYPE:\n case REACT_PROVIDER_TYPE:\n return $$typeofType;\n\n default:\n return $$typeof;\n }\n\n }\n\n case REACT_PORTAL_TYPE:\n return $$typeof;\n }\n }\n\n return undefined;\n} // AsyncMode is deprecated along with isAsyncMode\n\nvar AsyncMode = REACT_ASYNC_MODE_TYPE;\nvar ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\nvar ContextConsumer = REACT_CONTEXT_TYPE;\nvar ContextProvider = REACT_PROVIDER_TYPE;\nvar Element = REACT_ELEMENT_TYPE;\nvar ForwardRef = REACT_FORWARD_REF_TYPE;\nvar Fragment = REACT_FRAGMENT_TYPE;\nvar Lazy = REACT_LAZY_TYPE;\nvar Memo = REACT_MEMO_TYPE;\nvar Portal = REACT_PORTAL_TYPE;\nvar Profiler = REACT_PROFILER_TYPE;\nvar StrictMode = REACT_STRICT_MODE_TYPE;\nvar Suspense = REACT_SUSPENSE_TYPE;\nvar hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\n\nfunction isAsyncMode(object) {\n {\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\n hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint\n\n console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\n }\n }\n\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\n}\nfunction isConcurrentMode(object) {\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\n}\nfunction isContextConsumer(object) {\n return typeOf(object) === REACT_CONTEXT_TYPE;\n}\nfunction isContextProvider(object) {\n return typeOf(object) === REACT_PROVIDER_TYPE;\n}\nfunction isElement(object) {\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\n}\nfunction isForwardRef(object) {\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\n}\nfunction isFragment(object) {\n return typeOf(object) === REACT_FRAGMENT_TYPE;\n}\nfunction isLazy(object) {\n return typeOf(object) === REACT_LAZY_TYPE;\n}\nfunction isMemo(object) {\n return typeOf(object) === REACT_MEMO_TYPE;\n}\nfunction isPortal(object) {\n return typeOf(object) === REACT_PORTAL_TYPE;\n}\nfunction isProfiler(object) {\n return typeOf(object) === REACT_PROFILER_TYPE;\n}\nfunction isStrictMode(object) {\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\n}\nfunction isSuspense(object) {\n return typeOf(object) === REACT_SUSPENSE_TYPE;\n}\n\nexports.AsyncMode = AsyncMode;\nexports.ConcurrentMode = ConcurrentMode;\nexports.ContextConsumer = ContextConsumer;\nexports.ContextProvider = ContextProvider;\nexports.Element = Element;\nexports.ForwardRef = ForwardRef;\nexports.Fragment = Fragment;\nexports.Lazy = Lazy;\nexports.Memo = Memo;\nexports.Portal = Portal;\nexports.Profiler = Profiler;\nexports.StrictMode = StrictMode;\nexports.Suspense = Suspense;\nexports.isAsyncMode = isAsyncMode;\nexports.isConcurrentMode = isConcurrentMode;\nexports.isContextConsumer = isContextConsumer;\nexports.isContextProvider = isContextProvider;\nexports.isElement = isElement;\nexports.isForwardRef = isForwardRef;\nexports.isFragment = isFragment;\nexports.isLazy = isLazy;\nexports.isMemo = isMemo;\nexports.isPortal = isPortal;\nexports.isProfiler = isProfiler;\nexports.isStrictMode = isStrictMode;\nexports.isSuspense = isSuspense;\nexports.isValidElementType = isValidElementType;\nexports.typeOf = typeOf;\n })();\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}\n","module.exports = window[\"React\"];","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","import React from 'react';\n\nvar isCheckBoxInput = (element) => element.type === 'checkbox';\n\nvar isDateObject = (value) => value instanceof Date;\n\nvar isNullOrUndefined = (value) => value == null;\n\nconst isObjectType = (value) => typeof value === 'object';\r\nvar isObject = (value) => !isNullOrUndefined(value) &&\r\n !Array.isArray(value) &&\r\n isObjectType(value) &&\r\n !isDateObject(value);\n\nvar getEventValue = (event) => isObject(event) && event.target\r\n ? isCheckBoxInput(event.target)\r\n ? event.target.checked\r\n : event.target.value\r\n : event;\n\nvar getNodeParentName = (name) => name.substring(0, name.search(/\\.\\d+(\\.|$)/)) || name;\n\nvar isNameInFieldArray = (names, name) => names.has(getNodeParentName(name));\n\nvar compact = (value) => Array.isArray(value) ? value.filter(Boolean) : [];\n\nvar isUndefined = (val) => val === undefined;\n\nvar get = (obj, path, defaultValue) => {\r\n if (!path || !isObject(obj)) {\r\n return defaultValue;\r\n }\r\n const result = compact(path.split(/[,[\\].]+?/)).reduce((result, key) => isNullOrUndefined(result) ? result : result[key], obj);\r\n return isUndefined(result) || result === obj\r\n ? isUndefined(obj[path])\r\n ? defaultValue\r\n : obj[path]\r\n : result;\r\n};\n\nconst EVENTS = {\r\n BLUR: 'blur',\r\n FOCUS_OUT: 'focusout',\r\n CHANGE: 'change',\r\n};\r\nconst VALIDATION_MODE = {\r\n onBlur: 'onBlur',\r\n onChange: 'onChange',\r\n onSubmit: 'onSubmit',\r\n onTouched: 'onTouched',\r\n all: 'all',\r\n};\r\nconst INPUT_VALIDATION_RULES = {\r\n max: 'max',\r\n min: 'min',\r\n maxLength: 'maxLength',\r\n minLength: 'minLength',\r\n pattern: 'pattern',\r\n required: 'required',\r\n validate: 'validate',\r\n};\n\nconst HookFormContext = React.createContext(null);\r\n/**\r\n * This custom hook allows you to access the form context. useFormContext is intended to be used in deeply nested structures, where it would become inconvenient to pass the context as a prop. To be used with {@link FormProvider}.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)\r\n *\r\n * @returns return all useForm methods\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const methods = useForm();\r\n * const onSubmit = data => console.log(data);\r\n *\r\n * return (\r\n * \r\n * \r\n * \r\n * );\r\n * }\r\n *\r\n * function NestedInput() {\r\n * const { register } = useFormContext(); // retrieve all hook methods\r\n * return ;\r\n * }\r\n * ```\r\n */\r\nconst useFormContext = () => React.useContext(HookFormContext);\r\n/**\r\n * A provider component that propagates the `useForm` methods to all children components via [React Context](https://reactjs.org/docs/context.html) API. To be used with {@link useFormContext}.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi)\r\n *\r\n * @param props - all useFrom methods\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const methods = useForm();\r\n * const onSubmit = data => console.log(data);\r\n *\r\n * return (\r\n * \r\n * \r\n * \r\n * );\r\n * }\r\n *\r\n * function NestedInput() {\r\n * const { register } = useFormContext(); // retrieve all hook methods\r\n * return ;\r\n * }\r\n * ```\r\n */\r\nconst FormProvider = (props) => {\r\n const { children, ...data } = props;\r\n return (React.createElement(HookFormContext.Provider, { value: data }, children));\r\n};\n\nvar getProxyFormState = (formState, control, localProxyFormState, isRoot = true) => {\r\n const result = {\r\n defaultValues: control._defaultValues,\r\n };\r\n for (const key in formState) {\r\n Object.defineProperty(result, key, {\r\n get: () => {\r\n const _key = key;\r\n if (control._proxyFormState[_key] !== VALIDATION_MODE.all) {\r\n control._proxyFormState[_key] = !isRoot || VALIDATION_MODE.all;\r\n }\r\n localProxyFormState && (localProxyFormState[_key] = true);\r\n return formState[_key];\r\n },\r\n });\r\n }\r\n return result;\r\n};\n\nvar isEmptyObject = (value) => isObject(value) && !Object.keys(value).length;\n\nvar shouldRenderFormState = (formStateData, _proxyFormState, isRoot) => {\r\n const { name, ...formState } = formStateData;\r\n return (isEmptyObject(formState) ||\r\n Object.keys(formState).length >= Object.keys(_proxyFormState).length ||\r\n Object.keys(formState).find((key) => _proxyFormState[key] ===\r\n (!isRoot || VALIDATION_MODE.all)));\r\n};\n\nvar convertToArrayPayload = (value) => (Array.isArray(value) ? value : [value]);\n\nvar shouldSubscribeByName = (name, signalName, exact) => exact && signalName\r\n ? name === signalName\r\n : !name ||\r\n !signalName ||\r\n name === signalName ||\r\n convertToArrayPayload(name).some((currentName) => currentName &&\r\n (currentName.startsWith(signalName) ||\r\n signalName.startsWith(currentName)));\n\nfunction useSubscribe(props) {\r\n const _props = React.useRef(props);\r\n _props.current = props;\r\n React.useEffect(() => {\r\n const subscription = !props.disabled &&\r\n _props.current.subject.subscribe({\r\n next: _props.current.callback,\r\n });\r\n return () => {\r\n subscription && subscription.unsubscribe();\r\n };\r\n }, [props.disabled]);\r\n}\n\n/**\r\n * This custom hook allows you to subscribe to each form state, and isolate the re-render at the custom hook level. It has its scope in terms of form state subscription, so it would not affect other useFormState and useForm. Using this hook can reduce the re-render impact on large and complex form application.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/useformstate) • [Demo](https://codesandbox.io/s/useformstate-75xly)\r\n *\r\n * @param props - include options on specify fields to subscribe. {@link UseFormStateReturn}\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const { register, handleSubmit, control } = useForm({\r\n * defaultValues: {\r\n * firstName: \"firstName\"\r\n * }});\r\n * const { dirtyFields } = useFormState({\r\n * control\r\n * });\r\n * const onSubmit = (data) => console.log(data);\r\n *\r\n * return (\r\n * \r\n * );\r\n * }\r\n * ```\r\n */\r\nfunction useFormState(props) {\r\n const methods = useFormContext();\r\n const { control = methods.control, disabled, name, exact } = props || {};\r\n const [formState, updateFormState] = React.useState(control._formState);\r\n const _mounted = React.useRef(true);\r\n const _localProxyFormState = React.useRef({\r\n isDirty: false,\r\n dirtyFields: false,\r\n touchedFields: false,\r\n isValidating: false,\r\n isValid: false,\r\n errors: false,\r\n });\r\n const _name = React.useRef(name);\r\n _name.current = name;\r\n useSubscribe({\r\n disabled,\r\n callback: React.useCallback((value) => _mounted.current &&\r\n shouldSubscribeByName(_name.current, value.name, exact) &&\r\n shouldRenderFormState(value, _localProxyFormState.current) &&\r\n updateFormState({\r\n ...control._formState,\r\n ...value,\r\n }), [control, exact]),\r\n subject: control._subjects.state,\r\n });\r\n React.useEffect(() => {\r\n _mounted.current = true;\r\n return () => {\r\n _mounted.current = false;\r\n };\r\n }, []);\r\n return getProxyFormState(formState, control, _localProxyFormState.current, false);\r\n}\n\nvar isString = (value) => typeof value === 'string';\n\nvar generateWatchOutput = (names, _names, formValues, isGlobal) => {\r\n const isArray = Array.isArray(names);\r\n if (isString(names)) {\r\n isGlobal && _names.watch.add(names);\r\n return get(formValues, names);\r\n }\r\n if (isArray) {\r\n return names.map((fieldName) => (isGlobal && _names.watch.add(fieldName),\r\n get(formValues, fieldName)));\r\n }\r\n isGlobal && (_names.watchAll = true);\r\n return formValues;\r\n};\n\nvar isFunction = (value) => typeof value === 'function';\n\nvar objectHasFunction = (data) => {\r\n for (const key in data) {\r\n if (isFunction(data[key])) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n};\n\n/**\r\n * Custom hook to subscribe to field change and isolate re-rendering at the component level.\r\n *\r\n * @remarks\r\n *\r\n * [API](https://react-hook-form.com/api/usewatch) • [Demo](https://codesandbox.io/s/react-hook-form-v7-ts-usewatch-h9i5e)\r\n *\r\n * @example\r\n * ```tsx\r\n * const { watch } = useForm();\r\n * const values = useWatch({\r\n * name: \"fieldName\"\r\n * control,\r\n * })\r\n * ```\r\n */\r\nfunction useWatch(props) {\r\n const methods = useFormContext();\r\n const { control = methods.control, name, defaultValue, disabled, exact, } = props || {};\r\n const _name = React.useRef(name);\r\n _name.current = name;\r\n useSubscribe({\r\n disabled,\r\n subject: control._subjects.watch,\r\n callback: React.useCallback((formState) => {\r\n if (shouldSubscribeByName(_name.current, formState.name, exact)) {\r\n const fieldValues = generateWatchOutput(_name.current, control._names, formState.values || control._formValues);\r\n updateValue(isUndefined(_name.current) ||\r\n (isObject(fieldValues) && !objectHasFunction(fieldValues))\r\n ? { ...fieldValues }\r\n : Array.isArray(fieldValues)\r\n ? [...fieldValues]\r\n : isUndefined(fieldValues)\r\n ? defaultValue\r\n : fieldValues);\r\n }\r\n }, [control, exact, defaultValue]),\r\n });\r\n const [value, updateValue] = React.useState(isUndefined(defaultValue)\r\n ? control._getWatch(name)\r\n : defaultValue);\r\n React.useEffect(() => control._removeUnmounted());\r\n return value;\r\n}\n\n/**\r\n * Custom hook to work with controlled component, this function provide you with both form and field level state. Re-render is isolated at the hook level.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/usecontroller) • [Demo](https://codesandbox.io/s/usecontroller-0o8px)\r\n *\r\n * @param props - the path name to the form field value, and validation rules.\r\n *\r\n * @returns field properties, field and form state. {@link UseControllerReturn}\r\n *\r\n * @example\r\n * ```tsx\r\n * function Input(props) {\r\n * const { field, fieldState, formState } = useController(props);\r\n * return (\r\n * \r\n *
\r\n *
{fieldState.isTouched && \"Touched\"}
\r\n *
{formState.isSubmitted ? \"submitted\" : \"\"}
\r\n *
\r\n * );\r\n * }\r\n * ```\r\n */\r\nfunction useController(props) {\r\n const methods = useFormContext();\r\n const { name, control = methods.control, shouldUnregister } = props;\r\n const isArrayField = isNameInFieldArray(control._names.array, name);\r\n const value = useWatch({\r\n control,\r\n name,\r\n defaultValue: get(control._formValues, name, get(control._defaultValues, name, props.defaultValue)),\r\n exact: true,\r\n });\r\n const formState = useFormState({\r\n control,\r\n name,\r\n });\r\n const _registerProps = React.useRef(control.register(name, {\r\n ...props.rules,\r\n value,\r\n }));\r\n React.useEffect(() => {\r\n const updateMounted = (name, value) => {\r\n const field = get(control._fields, name);\r\n if (field) {\r\n field._f.mount = value;\r\n }\r\n };\r\n updateMounted(name, true);\r\n return () => {\r\n const _shouldUnregisterField = control._options.shouldUnregister || shouldUnregister;\r\n (isArrayField\r\n ? _shouldUnregisterField && !control._stateFlags.action\r\n : _shouldUnregisterField)\r\n ? control.unregister(name)\r\n : updateMounted(name, false);\r\n };\r\n }, [name, control, isArrayField, shouldUnregister]);\r\n return {\r\n field: {\r\n name,\r\n value,\r\n onChange: React.useCallback((event) => _registerProps.current.onChange({\r\n target: {\r\n value: getEventValue(event),\r\n name: name,\r\n },\r\n type: EVENTS.CHANGE,\r\n }), [name]),\r\n onBlur: React.useCallback(() => _registerProps.current.onBlur({\r\n target: {\r\n value: get(control._formValues, name),\r\n name: name,\r\n },\r\n type: EVENTS.BLUR,\r\n }), [name, control]),\r\n ref: (elm) => {\r\n const field = get(control._fields, name);\r\n if (field && elm) {\r\n field._f.ref = {\r\n focus: () => elm.focus(),\r\n select: () => elm.select(),\r\n setCustomValidity: (message) => elm.setCustomValidity(message),\r\n reportValidity: () => elm.reportValidity(),\r\n };\r\n }\r\n },\r\n },\r\n formState,\r\n fieldState: Object.defineProperties({}, {\r\n invalid: {\r\n enumerable: true,\r\n get: () => !!get(formState.errors, name),\r\n },\r\n isDirty: {\r\n enumerable: true,\r\n get: () => !!get(formState.dirtyFields, name),\r\n },\r\n isTouched: {\r\n enumerable: true,\r\n get: () => !!get(formState.touchedFields, name),\r\n },\r\n error: {\r\n enumerable: true,\r\n get: () => get(formState.errors, name),\r\n },\r\n }),\r\n };\r\n}\n\n/**\r\n * Component based on `useController` hook to work with controlled component.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/usecontroller/controller) • [Demo](https://codesandbox.io/s/react-hook-form-v6-controller-ts-jwyzw) • [Video](https://www.youtube.com/watch?v=N2UNk_UCVyA)\r\n *\r\n * @param props - the path name to the form field value, and validation rules.\r\n *\r\n * @returns provide field handler functions, field and form state.\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const { control } = useForm({\r\n * defaultValues: {\r\n * test: \"\"\r\n * }\r\n * });\r\n *\r\n * return (\r\n * \r\n * );\r\n * }\r\n * ```\r\n */\r\nconst Controller = (props) => props.render(useController(props));\n\nvar appendErrors = (name, validateAllFieldCriteria, errors, type, message) => validateAllFieldCriteria\r\n ? {\r\n ...errors[name],\r\n types: {\r\n ...(errors[name] && errors[name].types ? errors[name].types : {}),\r\n [type]: message || true,\r\n },\r\n }\r\n : {};\n\nvar isKey = (value) => /^\\w*$/.test(value);\n\nvar stringToPath = (input) => compact(input.replace(/[\"|']|\\]/g, '').split(/\\.|\\[/));\n\nfunction set(object, path, value) {\r\n let index = -1;\r\n const tempPath = isKey(path) ? [path] : stringToPath(path);\r\n const length = tempPath.length;\r\n const lastIndex = length - 1;\r\n while (++index < length) {\r\n const key = tempPath[index];\r\n let newValue = value;\r\n if (index !== lastIndex) {\r\n const objValue = object[key];\r\n newValue =\r\n isObject(objValue) || Array.isArray(objValue)\r\n ? objValue\r\n : !isNaN(+tempPath[index + 1])\r\n ? []\r\n : {};\r\n }\r\n object[key] = newValue;\r\n object = object[key];\r\n }\r\n return object;\r\n}\n\nconst focusFieldBy = (fields, callback, fieldsNames) => {\r\n for (const key of fieldsNames || Object.keys(fields)) {\r\n const field = get(fields, key);\r\n if (field) {\r\n const { _f, ...currentField } = field;\r\n if (_f && callback(_f.name)) {\r\n if (_f.ref.focus) {\r\n _f.ref.focus();\r\n break;\r\n }\r\n else if (_f.refs && _f.refs[0].focus) {\r\n _f.refs[0].focus();\r\n break;\r\n }\r\n }\r\n else if (isObject(currentField)) {\r\n focusFieldBy(currentField, callback);\r\n }\r\n }\r\n }\r\n};\n\nvar generateId = () => {\r\n const d = typeof performance === 'undefined' ? Date.now() : performance.now() * 1000;\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\r\n const r = (Math.random() * 16 + d) % 16 | 0;\r\n return (c == 'x' ? r : (r & 0x3) | 0x8).toString(16);\r\n });\r\n};\n\nvar getFocusFieldName = (name, index, options = {}) => options.shouldFocus || isUndefined(options.shouldFocus)\r\n ? options.focusName ||\r\n `${name}.${isUndefined(options.focusIndex) ? index : options.focusIndex}.`\r\n : '';\n\nvar isWatched = (name, _names, isBlurEvent) => !isBlurEvent &&\r\n (_names.watchAll ||\r\n _names.watch.has(name) ||\r\n [..._names.watch].some((watchName) => name.startsWith(watchName) &&\r\n /^\\.\\w+/.test(name.slice(watchName.length))));\n\nvar updateFieldArrayRootError = (errors, error, name) => {\r\n const fieldArrayErrors = compact(get(errors, name));\r\n set(fieldArrayErrors, 'root', error[name]);\r\n set(errors, name, fieldArrayErrors);\r\n return errors;\r\n};\n\nvar isBoolean = (value) => typeof value === 'boolean';\n\nvar isFileInput = (element) => element.type === 'file';\n\nvar isMessage = (value) => isString(value) || React.isValidElement(value);\n\nvar isRadioInput = (element) => element.type === 'radio';\n\nvar isRegex = (value) => value instanceof RegExp;\n\nconst defaultResult = {\r\n value: false,\r\n isValid: false,\r\n};\r\nconst validResult = { value: true, isValid: true };\r\nvar getCheckboxValue = (options) => {\r\n if (Array.isArray(options)) {\r\n if (options.length > 1) {\r\n const values = options\r\n .filter((option) => option && option.checked && !option.disabled)\r\n .map((option) => option.value);\r\n return { value: values, isValid: !!values.length };\r\n }\r\n return options[0].checked && !options[0].disabled\r\n ? // @ts-expect-error expected to work in the browser\r\n options[0].attributes && !isUndefined(options[0].attributes.value)\r\n ? isUndefined(options[0].value) || options[0].value === ''\r\n ? validResult\r\n : { value: options[0].value, isValid: true }\r\n : validResult\r\n : defaultResult;\r\n }\r\n return defaultResult;\r\n};\n\nconst defaultReturn = {\r\n isValid: false,\r\n value: null,\r\n};\r\nvar getRadioValue = (options) => Array.isArray(options)\r\n ? options.reduce((previous, option) => option && option.checked && !option.disabled\r\n ? {\r\n isValid: true,\r\n value: option.value,\r\n }\r\n : previous, defaultReturn)\r\n : defaultReturn;\n\nfunction getValidateError(result, ref, type = 'validate') {\r\n if (isMessage(result) ||\r\n (Array.isArray(result) && result.every(isMessage)) ||\r\n (isBoolean(result) && !result)) {\r\n return {\r\n type,\r\n message: isMessage(result) ? result : '',\r\n ref,\r\n };\r\n }\r\n}\n\nvar getValueAndMessage = (validationData) => isObject(validationData) && !isRegex(validationData)\r\n ? validationData\r\n : {\r\n value: validationData,\r\n message: '',\r\n };\n\nvar validateField = async (field, inputValue, validateAllFieldCriteria, shouldUseNativeValidation, isFieldArray) => {\r\n const { ref, refs, required, maxLength, minLength, min, max, pattern, validate, name, valueAsNumber, mount, disabled, } = field._f;\r\n if (!mount || disabled) {\r\n return {};\r\n }\r\n const inputRef = refs ? refs[0] : ref;\r\n const setCustomValidity = (message) => {\r\n if (shouldUseNativeValidation && inputRef.reportValidity) {\r\n inputRef.setCustomValidity(isBoolean(message) ? '' : message || ' ');\r\n inputRef.reportValidity();\r\n }\r\n };\r\n const error = {};\r\n const isRadio = isRadioInput(ref);\r\n const isCheckBox = isCheckBoxInput(ref);\r\n const isRadioOrCheckbox = isRadio || isCheckBox;\r\n const isEmpty = ((valueAsNumber || isFileInput(ref)) && !ref.value) ||\r\n inputValue === '' ||\r\n (Array.isArray(inputValue) && !inputValue.length);\r\n const appendErrorsCurry = appendErrors.bind(null, name, validateAllFieldCriteria, error);\r\n const getMinMaxMessage = (exceedMax, maxLengthMessage, minLengthMessage, maxType = INPUT_VALIDATION_RULES.maxLength, minType = INPUT_VALIDATION_RULES.minLength) => {\r\n const message = exceedMax ? maxLengthMessage : minLengthMessage;\r\n error[name] = {\r\n type: exceedMax ? maxType : minType,\r\n message,\r\n ref,\r\n ...appendErrorsCurry(exceedMax ? maxType : minType, message),\r\n };\r\n };\r\n if (isFieldArray\r\n ? !Array.isArray(inputValue) || !inputValue.length\r\n : required &&\r\n ((!isRadioOrCheckbox && (isEmpty || isNullOrUndefined(inputValue))) ||\r\n (isBoolean(inputValue) && !inputValue) ||\r\n (isCheckBox && !getCheckboxValue(refs).isValid) ||\r\n (isRadio && !getRadioValue(refs).isValid))) {\r\n const { value, message } = isMessage(required)\r\n ? { value: !!required, message: required }\r\n : getValueAndMessage(required);\r\n if (value) {\r\n error[name] = {\r\n type: INPUT_VALIDATION_RULES.required,\r\n message,\r\n ref: inputRef,\r\n ...appendErrorsCurry(INPUT_VALIDATION_RULES.required, message),\r\n };\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(message);\r\n return error;\r\n }\r\n }\r\n }\r\n if (!isEmpty && (!isNullOrUndefined(min) || !isNullOrUndefined(max))) {\r\n let exceedMax;\r\n let exceedMin;\r\n const maxOutput = getValueAndMessage(max);\r\n const minOutput = getValueAndMessage(min);\r\n if (!isNullOrUndefined(inputValue) && !isNaN(inputValue)) {\r\n const valueNumber = ref.valueAsNumber ||\r\n (inputValue ? +inputValue : inputValue);\r\n if (!isNullOrUndefined(maxOutput.value)) {\r\n exceedMax = valueNumber > maxOutput.value;\r\n }\r\n if (!isNullOrUndefined(minOutput.value)) {\r\n exceedMin = valueNumber < minOutput.value;\r\n }\r\n }\r\n else {\r\n const valueDate = ref.valueAsDate || new Date(inputValue);\r\n const convertTimeToDate = (time) => new Date(new Date().toDateString() + ' ' + time);\r\n const isTime = ref.type == 'time';\r\n const isWeek = ref.type == 'week';\r\n if (isString(maxOutput.value) && inputValue) {\r\n exceedMax = isTime\r\n ? convertTimeToDate(inputValue) > convertTimeToDate(maxOutput.value)\r\n : isWeek\r\n ? inputValue > maxOutput.value\r\n : valueDate > new Date(maxOutput.value);\r\n }\r\n if (isString(minOutput.value) && inputValue) {\r\n exceedMin = isTime\r\n ? convertTimeToDate(inputValue) < convertTimeToDate(minOutput.value)\r\n : isWeek\r\n ? inputValue < minOutput.value\r\n : valueDate < new Date(minOutput.value);\r\n }\r\n }\r\n if (exceedMax || exceedMin) {\r\n getMinMaxMessage(!!exceedMax, maxOutput.message, minOutput.message, INPUT_VALIDATION_RULES.max, INPUT_VALIDATION_RULES.min);\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(error[name].message);\r\n return error;\r\n }\r\n }\r\n }\r\n if ((maxLength || minLength) &&\r\n !isEmpty &&\r\n (isString(inputValue) || (isFieldArray && Array.isArray(inputValue)))) {\r\n const maxLengthOutput = getValueAndMessage(maxLength);\r\n const minLengthOutput = getValueAndMessage(minLength);\r\n const exceedMax = !isNullOrUndefined(maxLengthOutput.value) &&\r\n inputValue.length > maxLengthOutput.value;\r\n const exceedMin = !isNullOrUndefined(minLengthOutput.value) &&\r\n inputValue.length < minLengthOutput.value;\r\n if (exceedMax || exceedMin) {\r\n getMinMaxMessage(exceedMax, maxLengthOutput.message, minLengthOutput.message);\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(error[name].message);\r\n return error;\r\n }\r\n }\r\n }\r\n if (pattern && !isEmpty && isString(inputValue)) {\r\n const { value: patternValue, message } = getValueAndMessage(pattern);\r\n if (isRegex(patternValue) && !inputValue.match(patternValue)) {\r\n error[name] = {\r\n type: INPUT_VALIDATION_RULES.pattern,\r\n message,\r\n ref,\r\n ...appendErrorsCurry(INPUT_VALIDATION_RULES.pattern, message),\r\n };\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(message);\r\n return error;\r\n }\r\n }\r\n }\r\n if (validate) {\r\n if (isFunction(validate)) {\r\n const result = await validate(inputValue);\r\n const validateError = getValidateError(result, inputRef);\r\n if (validateError) {\r\n error[name] = {\r\n ...validateError,\r\n ...appendErrorsCurry(INPUT_VALIDATION_RULES.validate, validateError.message),\r\n };\r\n if (!validateAllFieldCriteria) {\r\n setCustomValidity(validateError.message);\r\n return error;\r\n }\r\n }\r\n }\r\n else if (isObject(validate)) {\r\n let validationResult = {};\r\n for (const key in validate) {\r\n if (!isEmptyObject(validationResult) && !validateAllFieldCriteria) {\r\n break;\r\n }\r\n const validateError = getValidateError(await validate[key](inputValue), inputRef, key);\r\n if (validateError) {\r\n validationResult = {\r\n ...validateError,\r\n ...appendErrorsCurry(key, validateError.message),\r\n };\r\n setCustomValidity(validateError.message);\r\n if (validateAllFieldCriteria) {\r\n error[name] = validationResult;\r\n }\r\n }\r\n }\r\n if (!isEmptyObject(validationResult)) {\r\n error[name] = {\r\n ref: inputRef,\r\n ...validationResult,\r\n };\r\n if (!validateAllFieldCriteria) {\r\n return error;\r\n }\r\n }\r\n }\r\n }\r\n setCustomValidity(true);\r\n return error;\r\n};\n\nfunction append(data, value) {\r\n return [...data, ...convertToArrayPayload(value)];\r\n}\n\nvar isPlainObject = (tempObject) => {\r\n const prototypeCopy = tempObject.constructor && tempObject.constructor.prototype;\r\n return (isObject(prototypeCopy) && prototypeCopy.hasOwnProperty('isPrototypeOf'));\r\n};\n\nvar isWeb = typeof window !== 'undefined' &&\r\n typeof window.HTMLElement !== 'undefined' &&\r\n typeof document !== 'undefined';\n\nfunction cloneObject(data) {\r\n let copy;\r\n const isArray = Array.isArray(data);\r\n if (data instanceof Date) {\r\n copy = new Date(data);\r\n }\r\n else if (data instanceof Set) {\r\n copy = new Set(data);\r\n }\r\n else if (!(isWeb && (data instanceof Blob || data instanceof FileList)) &&\r\n (isArray || isObject(data))) {\r\n copy = isArray ? [] : {};\r\n if (!Array.isArray(data) && !isPlainObject(data)) {\r\n copy = data;\r\n }\r\n else {\r\n for (const key in data) {\r\n copy[key] = cloneObject(data[key]);\r\n }\r\n }\r\n }\r\n else {\r\n return data;\r\n }\r\n return copy;\r\n}\n\nvar fillEmptyArray = (value) => Array.isArray(value) ? value.map(() => undefined) : undefined;\n\nvar getValidationModes = (mode) => ({\r\n isOnSubmit: !mode || mode === VALIDATION_MODE.onSubmit,\r\n isOnBlur: mode === VALIDATION_MODE.onBlur,\r\n isOnChange: mode === VALIDATION_MODE.onChange,\r\n isOnAll: mode === VALIDATION_MODE.all,\r\n isOnTouch: mode === VALIDATION_MODE.onTouched,\r\n});\n\nfunction insert(data, index, value) {\r\n return [\r\n ...data.slice(0, index),\r\n ...convertToArrayPayload(value),\r\n ...data.slice(index),\r\n ];\r\n}\n\nvar moveArrayAt = (data, from, to) => {\r\n if (!Array.isArray(data)) {\r\n return [];\r\n }\r\n if (isUndefined(data[to])) {\r\n data[to] = undefined;\r\n }\r\n data.splice(to, 0, data.splice(from, 1)[0]);\r\n return data;\r\n};\n\nfunction prepend(data, value) {\r\n return [...convertToArrayPayload(value), ...convertToArrayPayload(data)];\r\n}\n\nfunction removeAtIndexes(data, indexes) {\r\n let i = 0;\r\n const temp = [...data];\r\n for (const index of indexes) {\r\n temp.splice(index - i, 1);\r\n i++;\r\n }\r\n return compact(temp).length ? temp : [];\r\n}\r\nvar removeArrayAt = (data, index) => isUndefined(index)\r\n ? []\r\n : removeAtIndexes(data, convertToArrayPayload(index).sort((a, b) => a - b));\n\nvar swapArrayAt = (data, indexA, indexB) => {\r\n data[indexA] = [data[indexB], (data[indexB] = data[indexA])][0];\r\n};\n\nfunction baseGet(object, updatePath) {\r\n const length = updatePath.slice(0, -1).length;\r\n let index = 0;\r\n while (index < length) {\r\n object = isUndefined(object) ? index++ : object[updatePath[index++]];\r\n }\r\n return object;\r\n}\r\nfunction isEmptyArray(obj) {\r\n for (const key in obj) {\r\n if (!isUndefined(obj[key])) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\nfunction unset(object, path) {\r\n const updatePath = isKey(path) ? [path] : stringToPath(path);\r\n const childObject = updatePath.length == 1 ? object : baseGet(object, updatePath);\r\n const key = updatePath[updatePath.length - 1];\r\n let previousObjRef;\r\n if (childObject) {\r\n delete childObject[key];\r\n }\r\n for (let k = 0; k < updatePath.slice(0, -1).length; k++) {\r\n let index = -1;\r\n let objectRef;\r\n const currentPaths = updatePath.slice(0, -(k + 1));\r\n const currentPathsLength = currentPaths.length - 1;\r\n if (k > 0) {\r\n previousObjRef = object;\r\n }\r\n while (++index < currentPaths.length) {\r\n const item = currentPaths[index];\r\n objectRef = objectRef ? objectRef[item] : object[item];\r\n if (currentPathsLength === index &&\r\n ((isObject(objectRef) && isEmptyObject(objectRef)) ||\r\n (Array.isArray(objectRef) && isEmptyArray(objectRef)))) {\r\n previousObjRef ? delete previousObjRef[item] : delete object[item];\r\n }\r\n previousObjRef = objectRef;\r\n }\r\n }\r\n return object;\r\n}\n\nvar updateAt = (fieldValues, index, value) => {\r\n fieldValues[index] = value;\r\n return fieldValues;\r\n};\n\n/**\r\n * A custom hook that exposes convenient methods to perform operations with a list of dynamic inputs that need to be appended, updated, removed etc. • [Demo](https://codesandbox.io/s/react-hook-form-usefieldarray-ssugn) • [Video](https://youtu.be/4MrbfGSFY2A)\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/usefieldarray) • [Demo](https://codesandbox.io/s/react-hook-form-usefieldarray-ssugn)\r\n *\r\n * @param props - useFieldArray props\r\n *\r\n * @returns methods - functions to manipulate with the Field Arrays (dynamic inputs) {@link UseFieldArrayReturn}\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const { register, control, handleSubmit, reset, trigger, setError } = useForm({\r\n * defaultValues: {\r\n * test: []\r\n * }\r\n * });\r\n * const { fields, append } = useFieldArray({\r\n * control,\r\n * name: \"test\"\r\n * });\r\n *\r\n * return (\r\n * \r\n * );\r\n * }\r\n * ```\r\n */\r\nfunction useFieldArray(props) {\r\n const methods = useFormContext();\r\n const { control = methods.control, name, keyName = 'id', shouldUnregister, } = props;\r\n const [fields, setFields] = React.useState(control._getFieldArray(name));\r\n const ids = React.useRef(control._getFieldArray(name).map(generateId));\r\n const _fieldIds = React.useRef(fields);\r\n const _name = React.useRef(name);\r\n const _actioned = React.useRef(false);\r\n _name.current = name;\r\n _fieldIds.current = fields;\r\n control._names.array.add(name);\r\n props.rules &&\r\n control.register(name, props.rules);\r\n const callback = React.useCallback(({ values, name: fieldArrayName, }) => {\r\n if (fieldArrayName === _name.current || !fieldArrayName) {\r\n const fieldValues = get(values, _name.current);\r\n if (Array.isArray(fieldValues)) {\r\n setFields(fieldValues);\r\n ids.current = fieldValues.map(generateId);\r\n }\r\n }\r\n }, []);\r\n useSubscribe({\r\n callback,\r\n subject: control._subjects.array,\r\n });\r\n const updateValues = React.useCallback((updatedFieldArrayValues) => {\r\n _actioned.current = true;\r\n control._updateFieldArray(name, updatedFieldArrayValues);\r\n }, [control, name]);\r\n const append$1 = (value, options) => {\r\n const appendValue = convertToArrayPayload(cloneObject(value));\r\n const updatedFieldArrayValues = append(control._getFieldArray(name), appendValue);\r\n control._names.focus = getFocusFieldName(name, updatedFieldArrayValues.length - 1, options);\r\n ids.current = append(ids.current, appendValue.map(generateId));\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, append, {\r\n argA: fillEmptyArray(value),\r\n });\r\n };\r\n const prepend$1 = (value, options) => {\r\n const prependValue = convertToArrayPayload(cloneObject(value));\r\n const updatedFieldArrayValues = prepend(control._getFieldArray(name), prependValue);\r\n control._names.focus = getFocusFieldName(name, 0, options);\r\n ids.current = prepend(ids.current, prependValue.map(generateId));\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, prepend, {\r\n argA: fillEmptyArray(value),\r\n });\r\n };\r\n const remove = (index) => {\r\n const updatedFieldArrayValues = removeArrayAt(control._getFieldArray(name), index);\r\n ids.current = removeArrayAt(ids.current, index);\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, removeArrayAt, {\r\n argA: index,\r\n });\r\n };\r\n const insert$1 = (index, value, options) => {\r\n const insertValue = convertToArrayPayload(cloneObject(value));\r\n const updatedFieldArrayValues = insert(control._getFieldArray(name), index, insertValue);\r\n control._names.focus = getFocusFieldName(name, index, options);\r\n ids.current = insert(ids.current, index, insertValue.map(generateId));\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, insert, {\r\n argA: index,\r\n argB: fillEmptyArray(value),\r\n });\r\n };\r\n const swap = (indexA, indexB) => {\r\n const updatedFieldArrayValues = control._getFieldArray(name);\r\n swapArrayAt(updatedFieldArrayValues, indexA, indexB);\r\n swapArrayAt(ids.current, indexA, indexB);\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, swapArrayAt, {\r\n argA: indexA,\r\n argB: indexB,\r\n }, false);\r\n };\r\n const move = (from, to) => {\r\n const updatedFieldArrayValues = control._getFieldArray(name);\r\n moveArrayAt(updatedFieldArrayValues, from, to);\r\n moveArrayAt(ids.current, from, to);\r\n updateValues(updatedFieldArrayValues);\r\n setFields(updatedFieldArrayValues);\r\n control._updateFieldArray(name, updatedFieldArrayValues, moveArrayAt, {\r\n argA: from,\r\n argB: to,\r\n }, false);\r\n };\r\n const update = (index, value) => {\r\n const updateValue = cloneObject(value);\r\n const updatedFieldArrayValues = updateAt(control._getFieldArray(name), index, updateValue);\r\n ids.current = [...updatedFieldArrayValues].map((item, i) => !item || i === index ? generateId() : ids.current[i]);\r\n updateValues(updatedFieldArrayValues);\r\n setFields([...updatedFieldArrayValues]);\r\n control._updateFieldArray(name, updatedFieldArrayValues, updateAt, {\r\n argA: index,\r\n argB: updateValue,\r\n }, true, false);\r\n };\r\n const replace = (value) => {\r\n const updatedFieldArrayValues = convertToArrayPayload(cloneObject(value));\r\n ids.current = updatedFieldArrayValues.map(generateId);\r\n updateValues([...updatedFieldArrayValues]);\r\n setFields([...updatedFieldArrayValues]);\r\n control._updateFieldArray(name, [...updatedFieldArrayValues], (data) => data, {}, true, false);\r\n };\r\n React.useEffect(() => {\r\n control._stateFlags.action = false;\r\n isWatched(name, control._names) && control._subjects.state.next({});\r\n if (_actioned.current &&\r\n (!getValidationModes(control._options.mode).isOnSubmit ||\r\n control._formState.isSubmitted)) {\r\n if (control._options.resolver) {\r\n control._executeSchema([name]).then((result) => {\r\n const error = get(result.errors, name);\r\n const existingError = get(control._formState.errors, name);\r\n if (existingError ? !error && existingError.type : error && error.type) {\r\n error\r\n ? set(control._formState.errors, name, error)\r\n : unset(control._formState.errors, name);\r\n control._subjects.state.next({\r\n errors: control._formState.errors,\r\n });\r\n }\r\n });\r\n }\r\n else {\r\n const field = get(control._fields, name);\r\n if (field && field._f) {\r\n validateField(field, get(control._formValues, name), control._options.criteriaMode === VALIDATION_MODE.all, control._options.shouldUseNativeValidation, true).then((error) => !isEmptyObject(error) &&\r\n control._subjects.state.next({\r\n errors: updateFieldArrayRootError(control._formState.errors, error, name),\r\n }));\r\n }\r\n }\r\n }\r\n control._subjects.watch.next({\r\n name,\r\n values: control._formValues,\r\n });\r\n control._names.focus &&\r\n focusFieldBy(control._fields, (key) => !!key && key.startsWith(control._names.focus));\r\n control._names.focus = '';\r\n control._proxyFormState.isValid && control._updateValid();\r\n }, [fields, name, control]);\r\n React.useEffect(() => {\r\n !get(control._formValues, name) && control._updateFieldArray(name);\r\n return () => {\r\n (control._options.shouldUnregister || shouldUnregister) &&\r\n control.unregister(name);\r\n };\r\n }, [name, control, keyName, shouldUnregister]);\r\n return {\r\n swap: React.useCallback(swap, [updateValues, name, control]),\r\n move: React.useCallback(move, [updateValues, name, control]),\r\n prepend: React.useCallback(prepend$1, [updateValues, name, control]),\r\n append: React.useCallback(append$1, [updateValues, name, control]),\r\n remove: React.useCallback(remove, [updateValues, name, control]),\r\n insert: React.useCallback(insert$1, [updateValues, name, control]),\r\n update: React.useCallback(update, [updateValues, name, control]),\r\n replace: React.useCallback(replace, [updateValues, name, control]),\r\n fields: React.useMemo(() => fields.map((field, index) => ({\r\n ...field,\r\n [keyName]: ids.current[index] || generateId(),\r\n })), [fields, keyName]),\r\n };\r\n}\n\nfunction createSubject() {\r\n let _observers = [];\r\n const next = (value) => {\r\n for (const observer of _observers) {\r\n observer.next(value);\r\n }\r\n };\r\n const subscribe = (observer) => {\r\n _observers.push(observer);\r\n return {\r\n unsubscribe: () => {\r\n _observers = _observers.filter((o) => o !== observer);\r\n },\r\n };\r\n };\r\n const unsubscribe = () => {\r\n _observers = [];\r\n };\r\n return {\r\n get observers() {\r\n return _observers;\r\n },\r\n next,\r\n subscribe,\r\n unsubscribe,\r\n };\r\n}\n\nvar isPrimitive = (value) => isNullOrUndefined(value) || !isObjectType(value);\n\nfunction deepEqual(object1, object2) {\r\n if (isPrimitive(object1) || isPrimitive(object2)) {\r\n return object1 === object2;\r\n }\r\n if (isDateObject(object1) && isDateObject(object2)) {\r\n return object1.getTime() === object2.getTime();\r\n }\r\n const keys1 = Object.keys(object1);\r\n const keys2 = Object.keys(object2);\r\n if (keys1.length !== keys2.length) {\r\n return false;\r\n }\r\n for (const key of keys1) {\r\n const val1 = object1[key];\r\n if (!keys2.includes(key)) {\r\n return false;\r\n }\r\n if (key !== 'ref') {\r\n const val2 = object2[key];\r\n if ((isDateObject(val1) && isDateObject(val2)) ||\r\n (isObject(val1) && isObject(val2)) ||\r\n (Array.isArray(val1) && Array.isArray(val2))\r\n ? !deepEqual(val1, val2)\r\n : val1 !== val2) {\r\n return false;\r\n }\r\n }\r\n }\r\n return true;\r\n}\n\nvar isHTMLElement = (value) => {\r\n const owner = value ? value.ownerDocument : 0;\r\n const ElementClass = owner && owner.defaultView ? owner.defaultView.HTMLElement : HTMLElement;\r\n return value instanceof ElementClass;\r\n};\n\nvar isMultipleSelect = (element) => element.type === `select-multiple`;\n\nvar isRadioOrCheckbox = (ref) => isRadioInput(ref) || isCheckBoxInput(ref);\n\nvar live = (ref) => isHTMLElement(ref) && ref.isConnected;\n\nfunction markFieldsDirty(data, fields = {}) {\r\n const isParentNodeArray = Array.isArray(data);\r\n if (isObject(data) || isParentNodeArray) {\r\n for (const key in data) {\r\n if (Array.isArray(data[key]) ||\r\n (isObject(data[key]) && !objectHasFunction(data[key]))) {\r\n fields[key] = Array.isArray(data[key]) ? [] : {};\r\n markFieldsDirty(data[key], fields[key]);\r\n }\r\n else if (!isNullOrUndefined(data[key])) {\r\n fields[key] = true;\r\n }\r\n }\r\n }\r\n return fields;\r\n}\r\nfunction getDirtyFieldsFromDefaultValues(data, formValues, dirtyFieldsFromValues) {\r\n const isParentNodeArray = Array.isArray(data);\r\n if (isObject(data) || isParentNodeArray) {\r\n for (const key in data) {\r\n if (Array.isArray(data[key]) ||\r\n (isObject(data[key]) && !objectHasFunction(data[key]))) {\r\n if (isUndefined(formValues) ||\r\n isPrimitive(dirtyFieldsFromValues[key])) {\r\n dirtyFieldsFromValues[key] = Array.isArray(data[key])\r\n ? markFieldsDirty(data[key], [])\r\n : { ...markFieldsDirty(data[key]) };\r\n }\r\n else {\r\n getDirtyFieldsFromDefaultValues(data[key], isNullOrUndefined(formValues) ? {} : formValues[key], dirtyFieldsFromValues[key]);\r\n }\r\n }\r\n else {\r\n dirtyFieldsFromValues[key] = !deepEqual(data[key], formValues[key]);\r\n }\r\n }\r\n }\r\n return dirtyFieldsFromValues;\r\n}\r\nvar getDirtyFields = (defaultValues, formValues) => getDirtyFieldsFromDefaultValues(defaultValues, formValues, markFieldsDirty(formValues));\n\nvar getFieldValueAs = (value, { valueAsNumber, valueAsDate, setValueAs }) => isUndefined(value)\r\n ? value\r\n : valueAsNumber\r\n ? value === ''\r\n ? NaN\r\n : value\r\n ? +value\r\n : value\r\n : valueAsDate && isString(value)\r\n ? new Date(value)\r\n : setValueAs\r\n ? setValueAs(value)\r\n : value;\n\nfunction getFieldValue(_f) {\r\n const ref = _f.ref;\r\n if (_f.refs ? _f.refs.every((ref) => ref.disabled) : ref.disabled) {\r\n return;\r\n }\r\n if (isFileInput(ref)) {\r\n return ref.files;\r\n }\r\n if (isRadioInput(ref)) {\r\n return getRadioValue(_f.refs).value;\r\n }\r\n if (isMultipleSelect(ref)) {\r\n return [...ref.selectedOptions].map(({ value }) => value);\r\n }\r\n if (isCheckBoxInput(ref)) {\r\n return getCheckboxValue(_f.refs).value;\r\n }\r\n return getFieldValueAs(isUndefined(ref.value) ? _f.ref.value : ref.value, _f);\r\n}\n\nvar getResolverOptions = (fieldsNames, _fields, criteriaMode, shouldUseNativeValidation) => {\r\n const fields = {};\r\n for (const name of fieldsNames) {\r\n const field = get(_fields, name);\r\n field && set(fields, name, field._f);\r\n }\r\n return {\r\n criteriaMode,\r\n names: [...fieldsNames],\r\n fields,\r\n shouldUseNativeValidation,\r\n };\r\n};\n\nvar getRuleValue = (rule) => isUndefined(rule)\r\n ? undefined\r\n : isRegex(rule)\r\n ? rule.source\r\n : isObject(rule)\r\n ? isRegex(rule.value)\r\n ? rule.value.source\r\n : rule.value\r\n : rule;\n\nvar hasValidation = (options) => options.mount &&\r\n (options.required ||\r\n options.min ||\r\n options.max ||\r\n options.maxLength ||\r\n options.minLength ||\r\n options.pattern ||\r\n options.validate);\n\nfunction schemaErrorLookup(errors, _fields, name) {\r\n const error = get(errors, name);\r\n if (error || isKey(name)) {\r\n return {\r\n error,\r\n name,\r\n };\r\n }\r\n const names = name.split('.');\r\n while (names.length) {\r\n const fieldName = names.join('.');\r\n const field = get(_fields, fieldName);\r\n const foundError = get(errors, fieldName);\r\n if (field && !Array.isArray(field) && name !== fieldName) {\r\n return { name };\r\n }\r\n if (foundError && foundError.type) {\r\n return {\r\n name: fieldName,\r\n error: foundError,\r\n };\r\n }\r\n names.pop();\r\n }\r\n return {\r\n name,\r\n };\r\n}\n\nvar skipValidation = (isBlurEvent, isTouched, isSubmitted, reValidateMode, mode) => {\r\n if (mode.isOnAll) {\r\n return false;\r\n }\r\n else if (!isSubmitted && mode.isOnTouch) {\r\n return !(isTouched || isBlurEvent);\r\n }\r\n else if (isSubmitted ? reValidateMode.isOnBlur : mode.isOnBlur) {\r\n return !isBlurEvent;\r\n }\r\n else if (isSubmitted ? reValidateMode.isOnChange : mode.isOnChange) {\r\n return isBlurEvent;\r\n }\r\n return true;\r\n};\n\nvar unsetEmptyArray = (ref, name) => !compact(get(ref, name)).length && unset(ref, name);\n\nconst defaultOptions = {\r\n mode: VALIDATION_MODE.onSubmit,\r\n reValidateMode: VALIDATION_MODE.onChange,\r\n shouldFocusError: true,\r\n};\r\nfunction createFormControl(props = {}) {\r\n let _options = {\r\n ...defaultOptions,\r\n ...props,\r\n };\r\n let _formState = {\r\n submitCount: 0,\r\n isDirty: false,\r\n isValidating: false,\r\n isSubmitted: false,\r\n isSubmitting: false,\r\n isSubmitSuccessful: false,\r\n isValid: false,\r\n touchedFields: {},\r\n dirtyFields: {},\r\n errors: {},\r\n };\r\n let _fields = {};\r\n let _defaultValues = cloneObject(_options.defaultValues) || {};\r\n let _formValues = _options.shouldUnregister\r\n ? {}\r\n : cloneObject(_defaultValues);\r\n let _stateFlags = {\r\n action: false,\r\n mount: false,\r\n watch: false,\r\n };\r\n let _names = {\r\n mount: new Set(),\r\n unMount: new Set(),\r\n array: new Set(),\r\n watch: new Set(),\r\n };\r\n let delayErrorCallback;\r\n let timer = 0;\r\n let validateFields = {};\r\n const _proxyFormState = {\r\n isDirty: false,\r\n dirtyFields: false,\r\n touchedFields: false,\r\n isValidating: false,\r\n isValid: false,\r\n errors: false,\r\n };\r\n const _subjects = {\r\n watch: createSubject(),\r\n array: createSubject(),\r\n state: createSubject(),\r\n };\r\n const validationModeBeforeSubmit = getValidationModes(_options.mode);\r\n const validationModeAfterSubmit = getValidationModes(_options.reValidateMode);\r\n const shouldDisplayAllAssociatedErrors = _options.criteriaMode === VALIDATION_MODE.all;\r\n const debounce = (callback) => (wait) => {\r\n clearTimeout(timer);\r\n timer = window.setTimeout(callback, wait);\r\n };\r\n const _updateValid = async (shouldSkipRender) => {\r\n let isValid = false;\r\n if (_proxyFormState.isValid) {\r\n isValid = _options.resolver\r\n ? isEmptyObject((await _executeSchema()).errors)\r\n : await executeBuiltInValidation(_fields, true);\r\n if (!shouldSkipRender && isValid !== _formState.isValid) {\r\n _formState.isValid = isValid;\r\n _subjects.state.next({\r\n isValid,\r\n });\r\n }\r\n }\r\n return isValid;\r\n };\r\n const _updateFieldArray = (name, values = [], method, args, shouldSetValues = true, shouldUpdateFieldsAndState = true) => {\r\n if (args && method) {\r\n _stateFlags.action = true;\r\n if (shouldUpdateFieldsAndState && Array.isArray(get(_fields, name))) {\r\n const fieldValues = method(get(_fields, name), args.argA, args.argB);\r\n shouldSetValues && set(_fields, name, fieldValues);\r\n }\r\n if (_proxyFormState.errors &&\r\n shouldUpdateFieldsAndState &&\r\n Array.isArray(get(_formState.errors, name))) {\r\n const errors = method(get(_formState.errors, name), args.argA, args.argB);\r\n shouldSetValues && set(_formState.errors, name, errors);\r\n unsetEmptyArray(_formState.errors, name);\r\n }\r\n if (_proxyFormState.touchedFields &&\r\n shouldUpdateFieldsAndState &&\r\n Array.isArray(get(_formState.touchedFields, name))) {\r\n const touchedFields = method(get(_formState.touchedFields, name), args.argA, args.argB);\r\n shouldSetValues && set(_formState.touchedFields, name, touchedFields);\r\n }\r\n if (_proxyFormState.dirtyFields) {\r\n _formState.dirtyFields = getDirtyFields(_defaultValues, _formValues);\r\n }\r\n _subjects.state.next({\r\n isDirty: _getDirty(name, values),\r\n dirtyFields: _formState.dirtyFields,\r\n errors: _formState.errors,\r\n isValid: _formState.isValid,\r\n });\r\n }\r\n else {\r\n set(_formValues, name, values);\r\n }\r\n };\r\n const updateErrors = (name, error) => {\r\n set(_formState.errors, name, error);\r\n _subjects.state.next({\r\n errors: _formState.errors,\r\n });\r\n };\r\n const updateValidAndValue = (name, shouldSkipSetValueAs, value, ref) => {\r\n const field = get(_fields, name);\r\n if (field) {\r\n const defaultValue = get(_formValues, name, isUndefined(value) ? get(_defaultValues, name) : value);\r\n isUndefined(defaultValue) ||\r\n (ref && ref.defaultChecked) ||\r\n shouldSkipSetValueAs\r\n ? set(_formValues, name, shouldSkipSetValueAs ? defaultValue : getFieldValue(field._f))\r\n : setFieldValue(name, defaultValue);\r\n _stateFlags.mount && _updateValid();\r\n }\r\n };\r\n const updateTouchAndDirty = (name, fieldValue, isBlurEvent, shouldDirty, shouldRender) => {\r\n let isFieldDirty = false;\r\n const output = {\r\n name,\r\n };\r\n const isPreviousFieldTouched = get(_formState.touchedFields, name);\r\n if (_proxyFormState.isDirty) {\r\n const isPreviousFormDirty = _formState.isDirty;\r\n _formState.isDirty = output.isDirty = _getDirty();\r\n isFieldDirty = isPreviousFormDirty !== output.isDirty;\r\n }\r\n if (_proxyFormState.dirtyFields && (!isBlurEvent || shouldDirty)) {\r\n const isPreviousFieldDirty = get(_formState.dirtyFields, name);\r\n const isCurrentFieldPristine = deepEqual(get(_defaultValues, name), fieldValue);\r\n isCurrentFieldPristine\r\n ? unset(_formState.dirtyFields, name)\r\n : set(_formState.dirtyFields, name, true);\r\n output.dirtyFields = _formState.dirtyFields;\r\n isFieldDirty =\r\n isFieldDirty ||\r\n isPreviousFieldDirty !== get(_formState.dirtyFields, name);\r\n }\r\n if (isBlurEvent && !isPreviousFieldTouched) {\r\n set(_formState.touchedFields, name, isBlurEvent);\r\n output.touchedFields = _formState.touchedFields;\r\n isFieldDirty =\r\n isFieldDirty ||\r\n (_proxyFormState.touchedFields &&\r\n isPreviousFieldTouched !== isBlurEvent);\r\n }\r\n isFieldDirty && shouldRender && _subjects.state.next(output);\r\n return isFieldDirty ? output : {};\r\n };\r\n const shouldRenderByError = async (name, isValid, error, fieldState) => {\r\n const previousFieldError = get(_formState.errors, name);\r\n const shouldUpdateValid = _proxyFormState.isValid && _formState.isValid !== isValid;\r\n if (props.delayError && error) {\r\n delayErrorCallback = debounce(() => updateErrors(name, error));\r\n delayErrorCallback(props.delayError);\r\n }\r\n else {\r\n clearTimeout(timer);\r\n delayErrorCallback = null;\r\n error\r\n ? set(_formState.errors, name, error)\r\n : unset(_formState.errors, name);\r\n }\r\n if ((error ? !deepEqual(previousFieldError, error) : previousFieldError) ||\r\n !isEmptyObject(fieldState) ||\r\n shouldUpdateValid) {\r\n const updatedFormState = {\r\n ...fieldState,\r\n ...(shouldUpdateValid ? { isValid } : {}),\r\n errors: _formState.errors,\r\n name,\r\n };\r\n _formState = {\r\n ..._formState,\r\n ...updatedFormState,\r\n };\r\n _subjects.state.next(updatedFormState);\r\n }\r\n validateFields[name]--;\r\n if (_proxyFormState.isValidating &&\r\n !Object.values(validateFields).some((v) => v)) {\r\n _subjects.state.next({\r\n isValidating: false,\r\n });\r\n validateFields = {};\r\n }\r\n };\r\n const _executeSchema = async (name) => _options.resolver\r\n ? await _options.resolver({ ..._formValues }, _options.context, getResolverOptions(name || _names.mount, _fields, _options.criteriaMode, _options.shouldUseNativeValidation))\r\n : {};\r\n const executeSchemaAndUpdateState = async (names) => {\r\n const { errors } = await _executeSchema();\r\n if (names) {\r\n for (const name of names) {\r\n const error = get(errors, name);\r\n error\r\n ? set(_formState.errors, name, error)\r\n : unset(_formState.errors, name);\r\n }\r\n }\r\n else {\r\n _formState.errors = errors;\r\n }\r\n return errors;\r\n };\r\n const executeBuiltInValidation = async (fields, shouldOnlyCheckValid, context = {\r\n valid: true,\r\n }) => {\r\n for (const name in fields) {\r\n const field = fields[name];\r\n if (field) {\r\n const { _f, ...fieldValue } = field;\r\n if (_f) {\r\n const isFieldArrayRoot = _names.array.has(_f.name);\r\n const fieldError = await validateField(field, get(_formValues, _f.name), shouldDisplayAllAssociatedErrors, _options.shouldUseNativeValidation, isFieldArrayRoot);\r\n if (fieldError[_f.name]) {\r\n context.valid = false;\r\n if (shouldOnlyCheckValid) {\r\n break;\r\n }\r\n }\r\n !shouldOnlyCheckValid &&\r\n (get(fieldError, _f.name)\r\n ? isFieldArrayRoot\r\n ? updateFieldArrayRootError(_formState.errors, fieldError, _f.name)\r\n : set(_formState.errors, _f.name, fieldError[_f.name])\r\n : unset(_formState.errors, _f.name));\r\n }\r\n fieldValue &&\r\n (await executeBuiltInValidation(fieldValue, shouldOnlyCheckValid, context));\r\n }\r\n }\r\n return context.valid;\r\n };\r\n const _removeUnmounted = () => {\r\n for (const name of _names.unMount) {\r\n const field = get(_fields, name);\r\n field &&\r\n (field._f.refs\r\n ? field._f.refs.every((ref) => !live(ref))\r\n : !live(field._f.ref)) &&\r\n unregister(name);\r\n }\r\n _names.unMount = new Set();\r\n };\r\n const _getDirty = (name, data) => (name && data && set(_formValues, name, data),\r\n !deepEqual(getValues(), _defaultValues));\r\n const _getWatch = (names, defaultValue, isGlobal) => {\r\n const fieldValues = {\r\n ...(_stateFlags.mount\r\n ? _formValues\r\n : isUndefined(defaultValue)\r\n ? _defaultValues\r\n : isString(names)\r\n ? { [names]: defaultValue }\r\n : defaultValue),\r\n };\r\n return generateWatchOutput(names, _names, fieldValues, isGlobal);\r\n };\r\n const _getFieldArray = (name) => compact(get(_stateFlags.mount ? _formValues : _defaultValues, name, props.shouldUnregister ? get(_defaultValues, name, []) : []));\r\n const setFieldValue = (name, value, options = {}) => {\r\n const field = get(_fields, name);\r\n let fieldValue = value;\r\n if (field) {\r\n const fieldReference = field._f;\r\n if (fieldReference) {\r\n !fieldReference.disabled &&\r\n set(_formValues, name, getFieldValueAs(value, fieldReference));\r\n fieldValue =\r\n isWeb && isHTMLElement(fieldReference.ref) && isNullOrUndefined(value)\r\n ? ''\r\n : value;\r\n if (isMultipleSelect(fieldReference.ref)) {\r\n [...fieldReference.ref.options].forEach((optionRef) => (optionRef.selected = fieldValue.includes(optionRef.value)));\r\n }\r\n else if (fieldReference.refs) {\r\n if (isCheckBoxInput(fieldReference.ref)) {\r\n fieldReference.refs.length > 1\r\n ? fieldReference.refs.forEach((checkboxRef) => (!checkboxRef.defaultChecked || !checkboxRef.disabled) &&\r\n (checkboxRef.checked = Array.isArray(fieldValue)\r\n ? !!fieldValue.find((data) => data === checkboxRef.value)\r\n : fieldValue === checkboxRef.value))\r\n : fieldReference.refs[0] &&\r\n (fieldReference.refs[0].checked = !!fieldValue);\r\n }\r\n else {\r\n fieldReference.refs.forEach((radioRef) => (radioRef.checked = radioRef.value === fieldValue));\r\n }\r\n }\r\n else if (isFileInput(fieldReference.ref)) {\r\n fieldReference.ref.value = '';\r\n }\r\n else {\r\n fieldReference.ref.value = fieldValue;\r\n if (!fieldReference.ref.type) {\r\n _subjects.watch.next({\r\n name,\r\n });\r\n }\r\n }\r\n }\r\n }\r\n (options.shouldDirty || options.shouldTouch) &&\r\n updateTouchAndDirty(name, fieldValue, options.shouldTouch, options.shouldDirty, true);\r\n options.shouldValidate && trigger(name);\r\n };\r\n const setValues = (name, value, options) => {\r\n for (const fieldKey in value) {\r\n const fieldValue = value[fieldKey];\r\n const fieldName = `${name}.${fieldKey}`;\r\n const field = get(_fields, fieldName);\r\n (_names.array.has(name) ||\r\n !isPrimitive(fieldValue) ||\r\n (field && !field._f)) &&\r\n !isDateObject(fieldValue)\r\n ? setValues(fieldName, fieldValue, options)\r\n : setFieldValue(fieldName, fieldValue, options);\r\n }\r\n };\r\n const setValue = (name, value, options = {}) => {\r\n const field = get(_fields, name);\r\n const isFieldArray = _names.array.has(name);\r\n const cloneValue = cloneObject(value);\r\n set(_formValues, name, cloneValue);\r\n if (isFieldArray) {\r\n _subjects.array.next({\r\n name,\r\n values: _formValues,\r\n });\r\n if ((_proxyFormState.isDirty || _proxyFormState.dirtyFields) &&\r\n options.shouldDirty) {\r\n _formState.dirtyFields = getDirtyFields(_defaultValues, _formValues);\r\n _subjects.state.next({\r\n name,\r\n dirtyFields: _formState.dirtyFields,\r\n isDirty: _getDirty(name, cloneValue),\r\n });\r\n }\r\n }\r\n else {\r\n field && !field._f && !isNullOrUndefined(cloneValue)\r\n ? setValues(name, cloneValue, options)\r\n : setFieldValue(name, cloneValue, options);\r\n }\r\n isWatched(name, _names) && _subjects.state.next({});\r\n _subjects.watch.next({\r\n name,\r\n });\r\n };\r\n const onChange = async (event) => {\r\n const target = event.target;\r\n let name = target.name;\r\n const field = get(_fields, name);\r\n if (field) {\r\n let error;\r\n let isValid;\r\n const fieldValue = target.type\r\n ? getFieldValue(field._f)\r\n : getEventValue(event);\r\n const isBlurEvent = event.type === EVENTS.BLUR || event.type === EVENTS.FOCUS_OUT;\r\n const shouldSkipValidation = (!hasValidation(field._f) &&\r\n !_options.resolver &&\r\n !get(_formState.errors, name) &&\r\n !field._f.deps) ||\r\n skipValidation(isBlurEvent, get(_formState.touchedFields, name), _formState.isSubmitted, validationModeAfterSubmit, validationModeBeforeSubmit);\r\n const watched = isWatched(name, _names, isBlurEvent);\r\n set(_formValues, name, fieldValue);\r\n if (isBlurEvent) {\r\n field._f.onBlur && field._f.onBlur(event);\r\n delayErrorCallback && delayErrorCallback(0);\r\n }\r\n else if (field._f.onChange) {\r\n field._f.onChange(event);\r\n }\r\n const fieldState = updateTouchAndDirty(name, fieldValue, isBlurEvent, false);\r\n const shouldRender = !isEmptyObject(fieldState) || watched;\r\n !isBlurEvent &&\r\n _subjects.watch.next({\r\n name,\r\n type: event.type,\r\n });\r\n if (shouldSkipValidation) {\r\n return (shouldRender &&\r\n _subjects.state.next({ name, ...(watched ? {} : fieldState) }));\r\n }\r\n !isBlurEvent && watched && _subjects.state.next({});\r\n validateFields[name] = validateFields[name] ? +1 : 1;\r\n _subjects.state.next({\r\n isValidating: true,\r\n });\r\n if (_options.resolver) {\r\n const { errors } = await _executeSchema([name]);\r\n const previousErrorLookupResult = schemaErrorLookup(_formState.errors, _fields, name);\r\n const errorLookupResult = schemaErrorLookup(errors, _fields, previousErrorLookupResult.name || name);\r\n error = errorLookupResult.error;\r\n name = errorLookupResult.name;\r\n isValid = isEmptyObject(errors);\r\n }\r\n else {\r\n error = (await validateField(field, get(_formValues, name), shouldDisplayAllAssociatedErrors, _options.shouldUseNativeValidation))[name];\r\n isValid = await _updateValid(true);\r\n }\r\n field._f.deps &&\r\n trigger(field._f.deps);\r\n shouldRenderByError(name, isValid, error, fieldState);\r\n }\r\n };\r\n const trigger = async (name, options = {}) => {\r\n let isValid;\r\n let validationResult;\r\n const fieldNames = convertToArrayPayload(name);\r\n _subjects.state.next({\r\n isValidating: true,\r\n });\r\n if (_options.resolver) {\r\n const errors = await executeSchemaAndUpdateState(isUndefined(name) ? name : fieldNames);\r\n isValid = isEmptyObject(errors);\r\n validationResult = name\r\n ? !fieldNames.some((name) => get(errors, name))\r\n : isValid;\r\n }\r\n else if (name) {\r\n validationResult = (await Promise.all(fieldNames.map(async (fieldName) => {\r\n const field = get(_fields, fieldName);\r\n return await executeBuiltInValidation(field && field._f ? { [fieldName]: field } : field);\r\n }))).every(Boolean);\r\n !(!validationResult && !_formState.isValid) && _updateValid();\r\n }\r\n else {\r\n validationResult = isValid = await executeBuiltInValidation(_fields);\r\n }\r\n _subjects.state.next({\r\n ...(!isString(name) ||\r\n (_proxyFormState.isValid && isValid !== _formState.isValid)\r\n ? {}\r\n : { name }),\r\n ...(_options.resolver || !name ? { isValid } : {}),\r\n errors: _formState.errors,\r\n isValidating: false,\r\n });\r\n options.shouldFocus &&\r\n !validationResult &&\r\n focusFieldBy(_fields, (key) => key && get(_formState.errors, key), name ? fieldNames : _names.mount);\r\n return validationResult;\r\n };\r\n const getValues = (fieldNames) => {\r\n const values = {\r\n ..._defaultValues,\r\n ...(_stateFlags.mount ? _formValues : {}),\r\n };\r\n return isUndefined(fieldNames)\r\n ? values\r\n : isString(fieldNames)\r\n ? get(values, fieldNames)\r\n : fieldNames.map((name) => get(values, name));\r\n };\r\n const getFieldState = (name, formState) => ({\r\n invalid: !!get((formState || _formState).errors, name),\r\n isDirty: !!get((formState || _formState).dirtyFields, name),\r\n isTouched: !!get((formState || _formState).touchedFields, name),\r\n error: get((formState || _formState).errors, name),\r\n });\r\n const clearErrors = (name) => {\r\n name\r\n ? convertToArrayPayload(name).forEach((inputName) => unset(_formState.errors, inputName))\r\n : (_formState.errors = {});\r\n _subjects.state.next({\r\n errors: _formState.errors,\r\n });\r\n };\r\n const setError = (name, error, options) => {\r\n const ref = (get(_fields, name, { _f: {} })._f || {}).ref;\r\n set(_formState.errors, name, {\r\n ...error,\r\n ref,\r\n });\r\n _subjects.state.next({\r\n name,\r\n errors: _formState.errors,\r\n isValid: false,\r\n });\r\n options && options.shouldFocus && ref && ref.focus && ref.focus();\r\n };\r\n const watch = (name, defaultValue) => isFunction(name)\r\n ? _subjects.watch.subscribe({\r\n next: (info) => name(_getWatch(undefined, defaultValue), info),\r\n })\r\n : _getWatch(name, defaultValue, true);\r\n const unregister = (name, options = {}) => {\r\n for (const fieldName of name ? convertToArrayPayload(name) : _names.mount) {\r\n _names.mount.delete(fieldName);\r\n _names.array.delete(fieldName);\r\n if (get(_fields, fieldName)) {\r\n if (!options.keepValue) {\r\n unset(_fields, fieldName);\r\n unset(_formValues, fieldName);\r\n }\r\n !options.keepError && unset(_formState.errors, fieldName);\r\n !options.keepDirty && unset(_formState.dirtyFields, fieldName);\r\n !options.keepTouched && unset(_formState.touchedFields, fieldName);\r\n !_options.shouldUnregister &&\r\n !options.keepDefaultValue &&\r\n unset(_defaultValues, fieldName);\r\n }\r\n }\r\n _subjects.watch.next({});\r\n _subjects.state.next({\r\n ..._formState,\r\n ...(!options.keepDirty ? {} : { isDirty: _getDirty() }),\r\n });\r\n !options.keepIsValid && _updateValid();\r\n };\r\n const register = (name, options = {}) => {\r\n let field = get(_fields, name);\r\n const disabledIsDefined = isBoolean(options.disabled);\r\n set(_fields, name, {\r\n ...(field || {}),\r\n _f: {\r\n ...(field && field._f ? field._f : { ref: { name } }),\r\n name,\r\n mount: true,\r\n ...options,\r\n },\r\n });\r\n _names.mount.add(name);\r\n field\r\n ? disabledIsDefined &&\r\n set(_formValues, name, options.disabled\r\n ? undefined\r\n : get(_formValues, name, getFieldValue(field._f)))\r\n : updateValidAndValue(name, true, options.value);\r\n return {\r\n ...(disabledIsDefined ? { disabled: options.disabled } : {}),\r\n ...(_options.shouldUseNativeValidation\r\n ? {\r\n required: !!options.required,\r\n min: getRuleValue(options.min),\r\n max: getRuleValue(options.max),\r\n minLength: getRuleValue(options.minLength),\r\n maxLength: getRuleValue(options.maxLength),\r\n pattern: getRuleValue(options.pattern),\r\n }\r\n : {}),\r\n name,\r\n onChange,\r\n onBlur: onChange,\r\n ref: (ref) => {\r\n if (ref) {\r\n register(name, options);\r\n field = get(_fields, name);\r\n const fieldRef = isUndefined(ref.value)\r\n ? ref.querySelectorAll\r\n ? ref.querySelectorAll('input,select,textarea')[0] || ref\r\n : ref\r\n : ref;\r\n const radioOrCheckbox = isRadioOrCheckbox(fieldRef);\r\n const refs = field._f.refs || [];\r\n if (radioOrCheckbox\r\n ? refs.find((option) => option === fieldRef)\r\n : fieldRef === field._f.ref) {\r\n return;\r\n }\r\n set(_fields, name, {\r\n _f: {\r\n ...field._f,\r\n ...(radioOrCheckbox\r\n ? {\r\n refs: [\r\n ...refs.filter(live),\r\n fieldRef,\r\n ...(!!Array.isArray(get(_defaultValues, name))\r\n ? [{}]\r\n : []),\r\n ],\r\n ref: { type: fieldRef.type, name },\r\n }\r\n : { ref: fieldRef }),\r\n },\r\n });\r\n updateValidAndValue(name, false, undefined, fieldRef);\r\n }\r\n else {\r\n field = get(_fields, name, {});\r\n if (field._f) {\r\n field._f.mount = false;\r\n }\r\n (_options.shouldUnregister || options.shouldUnregister) &&\r\n !(isNameInFieldArray(_names.array, name) && _stateFlags.action) &&\r\n _names.unMount.add(name);\r\n }\r\n },\r\n };\r\n };\r\n const _focusError = () => _options.shouldFocusError &&\r\n focusFieldBy(_fields, (key) => key && get(_formState.errors, key), _names.mount);\r\n const handleSubmit = (onValid, onInvalid) => async (e) => {\r\n if (e) {\r\n e.preventDefault && e.preventDefault();\r\n e.persist && e.persist();\r\n }\r\n let hasNoPromiseError = true;\r\n let fieldValues = cloneObject(_formValues);\r\n _subjects.state.next({\r\n isSubmitting: true,\r\n });\r\n try {\r\n if (_options.resolver) {\r\n const { errors, values } = await _executeSchema();\r\n _formState.errors = errors;\r\n fieldValues = values;\r\n }\r\n else {\r\n await executeBuiltInValidation(_fields);\r\n }\r\n if (isEmptyObject(_formState.errors)) {\r\n _subjects.state.next({\r\n errors: {},\r\n isSubmitting: true,\r\n });\r\n await onValid(fieldValues, e);\r\n }\r\n else {\r\n if (onInvalid) {\r\n await onInvalid({ ..._formState.errors }, e);\r\n }\r\n _focusError();\r\n }\r\n }\r\n catch (err) {\r\n hasNoPromiseError = false;\r\n throw err;\r\n }\r\n finally {\r\n _formState.isSubmitted = true;\r\n _subjects.state.next({\r\n isSubmitted: true,\r\n isSubmitting: false,\r\n isSubmitSuccessful: isEmptyObject(_formState.errors) && hasNoPromiseError,\r\n submitCount: _formState.submitCount + 1,\r\n errors: _formState.errors,\r\n });\r\n }\r\n };\r\n const resetField = (name, options = {}) => {\r\n if (get(_fields, name)) {\r\n if (isUndefined(options.defaultValue)) {\r\n setValue(name, get(_defaultValues, name));\r\n }\r\n else {\r\n setValue(name, options.defaultValue);\r\n set(_defaultValues, name, options.defaultValue);\r\n }\r\n if (!options.keepTouched) {\r\n unset(_formState.touchedFields, name);\r\n }\r\n if (!options.keepDirty) {\r\n unset(_formState.dirtyFields, name);\r\n _formState.isDirty = options.defaultValue\r\n ? _getDirty(name, get(_defaultValues, name))\r\n : _getDirty();\r\n }\r\n if (!options.keepError) {\r\n unset(_formState.errors, name);\r\n _proxyFormState.isValid && _updateValid();\r\n }\r\n _subjects.state.next({ ..._formState });\r\n }\r\n };\r\n const _reset = (formValues, keepStateOptions = {}) => {\r\n const updatedValues = formValues || _defaultValues;\r\n const cloneUpdatedValues = cloneObject(updatedValues);\r\n const values = formValues && !isEmptyObject(formValues)\r\n ? cloneUpdatedValues\r\n : _defaultValues;\r\n if (!keepStateOptions.keepDefaultValues) {\r\n _defaultValues = updatedValues;\r\n }\r\n if (!keepStateOptions.keepValues) {\r\n if (keepStateOptions.keepDirtyValues) {\r\n for (const fieldName of _names.mount) {\r\n get(_formState.dirtyFields, fieldName)\r\n ? set(values, fieldName, get(_formValues, fieldName))\r\n : setValue(fieldName, get(values, fieldName));\r\n }\r\n }\r\n else {\r\n if (isWeb && isUndefined(formValues)) {\r\n for (const name of _names.mount) {\r\n const field = get(_fields, name);\r\n if (field && field._f) {\r\n const fieldReference = Array.isArray(field._f.refs)\r\n ? field._f.refs[0]\r\n : field._f.ref;\r\n try {\r\n if (isHTMLElement(fieldReference)) {\r\n fieldReference.closest('form').reset();\r\n break;\r\n }\r\n }\r\n catch (_a) { }\r\n }\r\n }\r\n }\r\n _fields = {};\r\n }\r\n _formValues = props.shouldUnregister\r\n ? keepStateOptions.keepDefaultValues\r\n ? cloneObject(_defaultValues)\r\n : {}\r\n : cloneUpdatedValues;\r\n _subjects.array.next({\r\n values,\r\n });\r\n _subjects.watch.next({\r\n values,\r\n });\r\n }\r\n _names = {\r\n mount: new Set(),\r\n unMount: new Set(),\r\n array: new Set(),\r\n watch: new Set(),\r\n watchAll: false,\r\n focus: '',\r\n };\r\n _stateFlags.mount =\r\n !_proxyFormState.isValid || !!keepStateOptions.keepIsValid;\r\n _stateFlags.watch = !!props.shouldUnregister;\r\n _subjects.state.next({\r\n submitCount: keepStateOptions.keepSubmitCount\r\n ? _formState.submitCount\r\n : 0,\r\n isDirty: keepStateOptions.keepDirty || keepStateOptions.keepDirtyValues\r\n ? _formState.isDirty\r\n : !!(keepStateOptions.keepDefaultValues &&\r\n !deepEqual(formValues, _defaultValues)),\r\n isSubmitted: keepStateOptions.keepIsSubmitted\r\n ? _formState.isSubmitted\r\n : false,\r\n dirtyFields: keepStateOptions.keepDirty || keepStateOptions.keepDirtyValues\r\n ? _formState.dirtyFields\r\n : keepStateOptions.keepDefaultValues && formValues\r\n ? getDirtyFields(_defaultValues, formValues)\r\n : {},\r\n touchedFields: keepStateOptions.keepTouched\r\n ? _formState.touchedFields\r\n : {},\r\n errors: keepStateOptions.keepErrors ? _formState.errors : {},\r\n isSubmitting: false,\r\n isSubmitSuccessful: false,\r\n });\r\n };\r\n const reset = (formValues, keepStateOptions) => _reset(isFunction(formValues)\r\n ? formValues(_formValues)\r\n : formValues, keepStateOptions);\r\n const setFocus = (name, options = {}) => {\r\n const field = get(_fields, name);\r\n const fieldReference = field && field._f;\r\n if (fieldReference) {\r\n const fieldRef = fieldReference.refs\r\n ? fieldReference.refs[0]\r\n : fieldReference.ref;\r\n if (fieldRef.focus) {\r\n fieldRef.focus();\r\n options.shouldSelect && fieldRef.select();\r\n }\r\n }\r\n };\r\n return {\r\n control: {\r\n register,\r\n unregister,\r\n getFieldState,\r\n _executeSchema,\r\n _focusError,\r\n _getWatch,\r\n _getDirty,\r\n _updateValid,\r\n _removeUnmounted,\r\n _updateFieldArray,\r\n _getFieldArray,\r\n _subjects,\r\n _proxyFormState,\r\n get _fields() {\r\n return _fields;\r\n },\r\n get _formValues() {\r\n return _formValues;\r\n },\r\n get _stateFlags() {\r\n return _stateFlags;\r\n },\r\n set _stateFlags(value) {\r\n _stateFlags = value;\r\n },\r\n get _defaultValues() {\r\n return _defaultValues;\r\n },\r\n get _names() {\r\n return _names;\r\n },\r\n set _names(value) {\r\n _names = value;\r\n },\r\n get _formState() {\r\n return _formState;\r\n },\r\n set _formState(value) {\r\n _formState = value;\r\n },\r\n get _options() {\r\n return _options;\r\n },\r\n set _options(value) {\r\n _options = {\r\n ..._options,\r\n ...value,\r\n };\r\n },\r\n },\r\n trigger,\r\n register,\r\n handleSubmit,\r\n watch,\r\n setValue,\r\n getValues,\r\n reset,\r\n resetField,\r\n clearErrors,\r\n unregister,\r\n setError,\r\n setFocus,\r\n getFieldState,\r\n };\r\n}\n\n/**\r\n * Custom hook to manage the entire form.\r\n *\r\n * @remarks\r\n * [API](https://react-hook-form.com/api/useform) • [Demo](https://codesandbox.io/s/react-hook-form-get-started-ts-5ksmm) • [Video](https://www.youtube.com/watch?v=RkXv4AXXC_4)\r\n *\r\n * @param props - form configuration and validation parameters.\r\n *\r\n * @returns methods - individual functions to manage the form state. {@link UseFormReturn}\r\n *\r\n * @example\r\n * ```tsx\r\n * function App() {\r\n * const { register, handleSubmit, watch, formState: { errors } } = useForm();\r\n * const onSubmit = data => console.log(data);\r\n *\r\n * console.log(watch(\"example\"));\r\n *\r\n * return (\r\n * \r\n * );\r\n * }\r\n * ```\r\n */\r\nfunction useForm(props = {}) {\r\n const _formControl = React.useRef();\r\n const [formState, updateFormState] = React.useState({\r\n isDirty: false,\r\n isValidating: false,\r\n isSubmitted: false,\r\n isSubmitting: false,\r\n isSubmitSuccessful: false,\r\n isValid: false,\r\n submitCount: 0,\r\n dirtyFields: {},\r\n touchedFields: {},\r\n errors: {},\r\n defaultValues: props.defaultValues,\r\n });\r\n if (!_formControl.current) {\r\n _formControl.current = {\r\n ...createFormControl(props),\r\n formState,\r\n };\r\n }\r\n const control = _formControl.current.control;\r\n control._options = props;\r\n useSubscribe({\r\n subject: control._subjects.state,\r\n callback: React.useCallback((value) => {\r\n if (shouldRenderFormState(value, control._proxyFormState, true)) {\r\n control._formState = {\r\n ...control._formState,\r\n ...value,\r\n };\r\n updateFormState({ ...control._formState });\r\n }\r\n }, [control]),\r\n });\r\n React.useEffect(() => {\r\n if (!control._stateFlags.mount) {\r\n control._proxyFormState.isValid && control._updateValid();\r\n control._stateFlags.mount = true;\r\n }\r\n if (control._stateFlags.watch) {\r\n control._stateFlags.watch = false;\r\n control._subjects.state.next({});\r\n }\r\n control._removeUnmounted();\r\n });\r\n React.useEffect(() => {\r\n formState.submitCount && control._focusError();\r\n }, [control, formState.submitCount]);\r\n _formControl.current.formState = getProxyFormState(formState, control);\r\n return _formControl.current;\r\n}\n\nexport { Controller, FormProvider, appendErrors, get, set, useController, useFieldArray, useForm, useFormContext, useFormState, useWatch };\n//# sourceMappingURL=index.esm.mjs.map\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import metadata from './block.json';\nconst { __ } = wp.i18n;\nconst { registerBlockType } = wp.blocks; \n\n// Import JS\nimport edit from './edit';\n\nexport const name = 'has/click-to-share';\nregisterBlockType( metadata, {\n\ticon: ,\n\tedit,\n\n\t// Render via PHP\n\tsave() {\n\t\treturn null;\n\t},\n} );\n"],"names":["classnames","useEffect","ColorPicker","GradientPicker","GradientSync","GradientGenerator","DimensionsControlBlock","useDeviceType","buildDimensionsCSS","UnitChooser","Typography","BackgroundSelector","geHierarchicalPlaceholderValue","getHierarchicalValueUnit","__","wp","i18n","components","PanelBody","PanelRow","RangeControl","SelectControl","TextControl","ButtonGroup","Button","ToggleControl","escapeHtml","escapeAttribute","escapeEditableHTML","blockEditor","InspectorControls","RichText","useBlockProps","useInstanceId","compose","richText","create","toHTMLString","HAS_Click_To_Share","props","deviceType","setDeviceType","generatedUniqueId","attributes","setAttributes","shareText","backgroundType","backgroundColor","backgroundColorHover","backgroundGradient","backgroundGradientHover","backgroundGradientSync","backgroundImage","textColor","textColorHover","shareTextColor","shareTextColorHover","showClickToShare","showIcon","fontSize","iconSize","clickText","padding","border","borderRadius","borderColor","iconColor","iconColorHover","borderColorHover","clickShareFontSize","maxWidth","maxWidthUnit","alignment","align","marginTop","marginRight","marginBottom","marginLeft","marginSize","paddingSize","borderWidth","borderRadiusSize","uniqueId","typographyQuote","typographyShareText","portPadding","desktop","top","right","bottom","left","unit","unitSync","portText","value","html","preserveWhiteSpace","multilineTag","portMargin","portBorderWidth","portBorderRadius","getFontStyles","fontObject","fontType","toLowerCase","fontSlug","fontFamilySlug","has_gutenberg","cssFolder","adobeFontsUrl","adobeProjectId","screenSize","styles","fontFamily","fontWeight","fontSizeUnit","lineHeight","lineHeightUnit","letterSpacing","letterSpacingUnit","textTransform","backgroundImageStyles","decodeURIComponent","encodeURIComponent","url","backgroundPosition","backgroundRepeat","backgroundSize","parseFloat","backgroundOpacity","backgroundOpacityHover","panelHeader","document","querySelector","panelHeaderHeight","offsetHeight","inspectorControls","e","slug","newValue","colorPalette","formValues","newValues","block","width","height","blockProps","className","fontFamilies","Arial","name","family","type","fallback","Helvetica","Times","Courier","Verdana","Georgia","Palatino","Garamond","Bookman","Impact","Roboto","Karla","Lato","Montserrat","Raleway","React","useState","useRef","BaseControl","Popover","MediaUploadCheck","MediaUpload","useForm","Controller","useWatch","classNames","mediaUploadButton","backgroundSettingsVisible","setBackgroundSettingsVisible","backgroundSettingsPopoverAnchor","setBackgroundSettingsPopoverAnchor","isVisible","setIsVisible","isToggled","setIsToggled","errorImage","setErrorImage","getDefaultValues","values","id","defaultValues","control","setValue","getValues","label","onValuesChange","getBackgroundRepeat","field","onChange","toggleClose","setTimeout","getPopoverContent","getBackgroundUploader","media","current","focus","open","hexToRgba","Tooltip","ColorPalette","HASColorPicker","colorKey","setColorKey","color","setColor","defaultColor","defaultColors","onOpacityChange","alpha","valueOpacity","getDefaultColors","existingColors","newColors","forEach","maybeNewColor","index","includes","push","opacityIcon","toggleVisible","background","newColor","hex","opacityValue","console","log","UnitPicker","sprintf","_x","useFormState","getHierarchicalValueUnitSync","setScreenSize","mobile","tablet","labelTop","labelRight","labelBottom","labelLeft","units","changeAllValues","syncUnits","numbers","syncValue","Math","max","apply","onChangeUnits","onDimensionChange","syncIcon","PropTypes","getRandomGradient","HASGradientGenerator","getGradient","gradient","defaultProps","propTypes","string","isRequired","func","HASGradientPicker","gradientPickerButtonAnchor","setGradientPickerButtonAnchor","clearable","getGradientStyles","hexRegex","match","bool","HASGradientSync","object","fontSizeUnitPopoverVisible","setFontSizeUnitPopoverVisible","fontSizeUnitPopoverAnchor","setFontSizeUnitPopoverAnchor","lineHeightUnitPopoverVisible","setLineHeightUnitPopoverVisible","lineHeightUnitPopoverAnchor","setLineHeightUnitPopoverAnchor","letterSpacingUnitPopoverVisible","setLetterSpacingUnitPopoverVisible","letterSpacingUnitPopoverAnchor","setLetterSpacingUnitPopoverAnchor","fontSettingsPopoverVisible","setFontSettingsPopoverVisible","fontSettingsPopoverAnchor","setFontSettingsPopoverAnchor","fontFallback","getFonts","adobeFonts","fonts","families","Object","mergedFamilies","font","unshift","getTextTransform","getFontSize","getFontWeights","fontWeights","getLineHeight","getFontType","getFontFallback","getLetterSpacing","onClick","map","unitName","useDispatch","useSelect","dispatch","__experimentalSetPreviewDeviceType","setPreviewDeviceType","select","__experimentalGetPreviewDeviceType","experimentalGetPreviewDeviceType","shorthandCSS","dimensions","gradients","randomIndex","floor","random","length","output","trim","metadata","registerBlockType","blocks","edit","icon","save"],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/has-admin-style.css b/dist/has-admin-style.css
index 68d5332..16cd8cc 100644
--- a/dist/has-admin-style.css
+++ b/dist/has-admin-style.css
@@ -4122,6 +4122,9 @@ h2.has-admin-content-subheading:after {
width: 100%;
height: 100%;
}
+.components-popover.has-component-color-picker .has-component-color-picker-palette button.components-circular-option-picker__option .components-popover {
+ display: none;
+}
.components-popover.has-component-color-picker .has-component-color-picker-palette .components-circular-option-picker__swatches {
display: flex;
flex-wrap: wrap;
diff --git a/dist/has-admin-style.css.map b/dist/has-admin-style.css.map
index 7084212..1c2c4fd 100644
--- a/dist/has-admin-style.css.map
+++ b/dist/has-admin-style.css.map
@@ -1 +1 @@
-{"version":3,"file":"has-admin-style.css","mappings":";;;AAAA,gBAAgB;AAChB;;EAEE;AACF;;EAEE;AACF;;;;;;EAME;AACF;;EAEE;AACF;;EAEE;AACF;;;EAGE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;;EAGE;AACF;;;;;CAKC;AACD;;EAEE;AACF;;;;;EAKE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;;EAGE;AACF;;EAEE;AACF;EACE,+BAA+B;EAC/B,wCAAwC;EACxC,yCAAyC;EACzC,kDAAkD;EAClD,yCAAyC;EACzC,iDAAiD;EACjD,kCAAkC;AACpC;AACA;EACE;IACE,oCAAoC;EACtC;AACF;;AAEA;EACE,kFAAkF;EAClF,6BAA6B;AAC/B;AACA;EACE;IACE,uBAAuB;IACvB,mBAAmB;EACrB;AACF;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,8BAA8B;AAChC;;AAEA;EACE;IACE,+CAA+C;EACjD;EACA;IACE,6CAA6C;EAC/C;AACF;AACA;EACE,iFAAiF;EACjF,6BAA6B;AAC/B;AACA;EACE;IACE,uBAAuB;IACvB,mBAAmB;EACrB;AACF;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,4BAA4B;AAC9B;;AAEA;EACE;IACE,yBAAyB;EAC3B;AACF;AACA;EACE,gEAAgE;AAClE;;AAEA;EACE;IACE,YAAY;EACd;EACA;IACE,UAAU;EACZ;EACA;IACE,YAAY;EACd;AACF;AACA;EACE,aAAa;EACb,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,YAAY;EACZ,gBAAgB;EAChB,gBAAgB;EAChB,WAAW;AACb;AACA;EACE,gFAAgF;AAClF;;AAEA;EACE,qBAAqB;AACvB;AACA;EACE,gBAAgB;EAChB,oBAAoB;EACpB,cAAc;EACd,mCAAmC;AACrC;AACA;EACE,iBAAiB;AACnB;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,mCAAmC;AACrC;;AAEA;EACE,oBAAoB;EACpB,qBAAqB;EACrB,oBAAoB;EACpB,mBAAmB;EACnB,eAAe;EACf,SAAS;EACT,SAAS;EACT,eAAe;EACf,wBAAwB;EACxB,gBAAgB;EAChB,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,sBAAsB;EACtB,iBAAiB;EACjB,kBAAkB;EAClB,cAAc;EACd;;IAEE;EACF;;IAEE;EACF;;IAEE;EACF;;IAEE;EACF;;IAEE;EACF;;IAEE;AACJ;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE,8EAA8E;AAChF;AACA;EACE,cAAc;AAChB;AACA;EACE,4HAA4H;EAC5H,8BAA8B;AAChC;AACA;EACE,mBAAmB;EACnB,mFAAmF;EACnF,WAAW;EACX,qBAAqB;EACrB,iBAAiB;EACjB,8BAA8B;AAChC;AACA;EACE,uGAAuG;EACvG,WAAW;AACb;AACA;EACE,uGAAuG;EACvG,yGAAyG;EACzG,WAAW;AACb;AACA;EACE,kJAAkJ;AACpJ;AACA;EACE,+BAA+B;EAC/B,mFAAmF;EACnF,qFAAqF;EACrF,UAAU;EACV,aAAa;AACf;AACA;EACE,6GAA6G;AAC/G;AACA;EACE,WAAW;EACX,2BAA2B;EAC3B,sBAAsB;EACtB,qYAAqY;EACrY,qBAAqB;EACrB,qFAAqF;AACvF;AACA;EACE,8BAA8B;AAChC;AACA;EACE,gBAAgB;EAChB,kGAAkG;EAClG,gBAAgB;AAClB;AACA;EACE,kGAAkG;EAClG,uHAAuH;AACzH;AACA;EACE,cAAc;EACd,mBAAmB;EACnB,eAAe;EACf,UAAU;EACV,gBAAgB;EAChB,aAAa;AACf;AACA;EACE,mGAAmG;EACnG,8BAA8B;EAC9B,mBAAmB;EACnB,8EAA8E;EAC9E,uBAAuB;AACzB;AACA;EACE,mBAAmB;EACnB,8EAA8E;EAC9E,uBAAuB;EACvB,YAAY;AACd;AACA;EACE,qBAAqB;EACrB,cAAc;AAChB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,qCAAqC;EACrC,+CAA+C;EAC/C,+CAA+C;AACjD;AACA;EACE,cAAc;EACd,mCAAmC;AACrC;AACA;EACE,cAAc;AAChB;AACA;EACE,4DAA4D;AAC9D;AACA;EACE,gBAAgB;AAClB;AACA;EACE,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,SAAS;EACT,gBAAgB;EAChB,gBAAgB;EAChB,aAAa;EACb,gBAAgB;EAChB,8EAA8E;EAC9E,0BAA0B;EAC1B,8CAA8C;EAC9C,0BAA0B;EAC1B,uCAAuC;EACvC,YAAY;AACd;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE,kBAAkB;AACpB;AACA;EACE,cAAc;AAChB;AACA;EACE,eAAe;EACf,YAAY;AACd;AACA;EACE,mEAAmE;EACnE,UAAU;EACV,2BAA2B;EAC3B,sBAAsB;EACtB,6FAA6F;EAC7F,qBAAqB;AACvB;AACA;EACE,YAAY;EACZ,iBAAiB;EACjB,cAAc;EACd,eAAe;AACjB;AACA;EACE,UAAU;EACV,WAAW;EACX,eAAe;AACjB;AACA;EACE,YAAY;EACZ,eAAe;EACf,uBAAuB;AACzB;AACA;EACE,qBAAqB;EACrB,cAAc;EACd,gBAAgB;EAChB,iBAAiB;AACnB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,WAAW;EACX,mBAAmB;AACrB;AACA;EACE,kJAAkJ;EAClJ,8BAA8B;AAChC;AACA;EACE,WAAW;EACX,mBAAmB;AACrB;AACA;EACE,kBAAkB;EAClB,aAAa;AACf;AACA;EACE;IACE,gBAAgB;EAClB;AACF;AACA;EACE,YAAY;AACd;;AAEA;EACE;IACE,4BAA4B;EAC9B;AACF;AACA;EACE,gIAAgI;EAChI,gBAAgB;EAChB,6BAA6B;EAC7B,kCAAkC;EAClC,kBAAkB;EAClB,yBAAyB;EACzB,0DAA0D;EAC1D,eAAe;EACf,+CAA+C;EAC/C,mBAAmB;EACnB,yBAAyB;EACzB,kBAAkB;EAClB,gBAAgB;EAChB,kBAAkB;EAClB,gBAAgB;EAChB,cAAc;EACd,WAAW;EACX,eAAe;EACf,qBAAqB;EACrB,cAAc;EACd,iBAAiB;EACjB,UAAU;EACV,qBAAqB;EACrB,kBAAkB;EAClB,mBAAmB;EACnB,WAAW;EACX,YAAY;EACZ,wBAAwB;UAChB,gBAAgB;EACxB,yCAAyC;AAC3C;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE;IACE,eAAe;IACf,+CAA+C;IAC/C,mBAAmB;EACrB;AACF;AACA;EACE,yCAAyC;EACzC,iDAAiD;EACjD,8BAA8B;AAChC;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,UAAU;EACV,6BAA6B;AAC/B;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,iEAAiE;EACjE,8BAA8B;AAChC;AACA;EACE,uCAAuC;EACvC,yCAAyC;AAC3C;AACA;EACE,UAAU;AACZ;AACA;EACE,iBAAiB;EACjB,WAAW;AACb;AACA;EACE;IACE,qBAAqB;EACvB;AACF;AACA;EACE,uCAAuC;EACvC,yCAAyC;AAC3C;AACA;EACE,YAAY;EACZ,WAAW;EACX,qBAAqB;EACrB,sBAAsB;EACtB,WAAW;EACX,sBAAsB;EACtB,6BAA6B;EAC7B,qBAAqB;EACrB,WAAW;EACX,mCAAmC;EACnC,kCAAkC;AACpC;AACA;EACE;IACE,WAAW;IACX,eAAe;EACjB;AACF;AACA;EACE;IACE,YAAY;IACZ,WAAW;EACb;AACF;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE,iEAAiE;EACjE,8BAA8B;AAChC;AACA;EACE,uCAAuC;EACvC,yCAAyC;AAC3C;AACA;EACE,UAAU;AACZ;AACA;EACE,aAAa;AACf;;AAEA;EACE,kBAAkB;EAClB,qBAAqB;EACrB,kBAAkB;EAClB,sBAAsB;EACtB,WAAW;EACX,YAAY;AACd;AACA;EACE;IACE,WAAW;IACX,YAAY;EACd;AACF;;AAEA;;EAEE,UAAU;EACV,eAAe;EACf,kBAAkB;EAClB,OAAO;EACP,MAAM;EACN,WAAW;EACX,YAAY;EACZ,yBAAyB;UACjB,iBAAiB;EACzB,oBAAoB;AACtB;A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A6C;EAC7C,6BAA6B;AAC/B;AACA;EACE,iEAAiE;EACjE,8BAA8B;EAC9B,mBAAmB;AACrB;AACA;EACE,sBAAsB;EACtB,eAAe;EACf,2BAA2B;AAC7B;AACA;EACE,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,UAAU;EACV,SAAS;EACT,UAAU;EACV,UAAU;EACV,YAAY;AACd;AACA;EACE,gBAAgB;AAClB;AACA;EACE,WAAW;AACb;;AAEA;EACE,gIAAgI;EAChI,gBAAgB;EAChB,6BAA6B;EAC7B,kCAAkC;EAClC,kBAAkB;EAClB,yBAAyB;EACzB,0DAA0D;EAC1D,eAAe;EACf,+CAA+C;EAC/C,mBAAmB;EACnB,WAAW;EACX,iBAAiB;EACjB,UAAU;EACV,YAAY;AACd;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE;IACE,eAAe;IACf,+CAA+C;IAC/C,mBAAmB;EACrB;AACF;AACA;EACE,yCAAyC;EACzC,iDAAiD;EACjD,8BAA8B;AAChC;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,UAAU;EACV,6BAA6B;AAC/B;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,gBAAgB;EAChB,kBAAkB;AACpB;AACA;EACE,yCAAyC;EACzC,iDAAiD;EACjD,8BAA8B;AAChC;AACA;EACE,qBAAqB;EACrB,OAAO;EACP,oBAAoB;EACpB,eAAe;EACf,WAAW;EACX,eAAe;EACf,gBAAgB;EAChB,UAAU;EACV,gBAAgB;EAChB,eAAe;EACf,mBAAmB;EACnB,SAAS;EACT,cAAc;EACd,gBAAgB;AAClB;AACA;EACE;IACE,eAAe;EACjB;AACF;AACA;EACE,aAAa;EACb,gBAAgB;AAClB;AACA;EACE,WAAW;AACb;;AAEA;EACE,eAAe;EACf,kBAAkB;EAClB,cAAc;AAChB;;AAEA;EACE,eAAe;EACf,aAAa;EACb,cAAc;EACd,eAAe;AACjB;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,cAAc;AAChB;AACA;EACE,kBAAkB;EAClB,mBAAmB;AACrB;AACA;EACE,uBAAuB;EACvB,kCAAkC;AACpC;AACA;EACE,uBAAuB;EACvB,cAAc;EACd,kBAAkB;EAClB,QAAQ;EACR,QAAQ;EACR,UAAU;AACZ;AACA;EACE,cAAc;AAChB;AACA;EACE,cAAc;EACd,0BAA0B;EAC1B,oBAAoB;AACtB;AACA;EACE,cAAc;AAChB;AACA;EACE,eAAe;AACjB;;AAEA;;EAEE,qBAAqB;EACrB,iBAAiB;EACjB,YAAY;EACZ,gBAAgB;EAChB,gBAAgB;EAChB,iDAAiD;AACnD;AACA;EACE;;IAEE,uBAAuB;IACvB,oBAAoB;IACpB,uBAAuB;IACvB,mBAAmB;EACrB;AACF;;AAEA;EACE,0BAA0B;EAC1B,kBAAkB;EAClB,mBAAmB;EACnB,gBAAgB;EAChB,uBAAuB;AACzB;;AAEA;EACE,eAAe;EACf,0BAA0B;EAC1B,cAAc;EACd,cAAc;EACd,iBAAiB;EACjB,iBAAiB;AACnB;AACA;EACE,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,eAAe;EACf,eAAe;EACf,gBAAgB;EAChB,iCAAiC;EACjC,gBAAgB;EAChB,6BAA6B;EAC7B,SAAS;EACT,UAAU;AACZ;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;;AAEA;EACE,cAAc;EACd,cAAc;EACd,eAAe;EACf,gBAAgB;EAChB,SAAS;EACT,eAAe;AACjB;AACA;EACE,uCAAuC;EACvC,WAAW;AACb;;AAEA;EACE,0BAA0B;AAC5B;;AAEA;EACE;IACE,YAAY;EACd;AACF;AACA;EACE,UAAU;EACV,aAAa;EACb,kBAAkB;AACpB;AACA;EACE,aAAa;AACf;AACA;EACE,mBAAmB;EACnB,UAAU;EACV,gBAAgB;EAChB,YAAY;AACd;AACA;EACE,sBAAsB;EACtB,mBAAmB;EACnB,gBAAgB;AAClB;AACA;EACE,UAAU;AACZ;AACA;EACE,aAAa;EACb,sBAAsB;EACtB,8BAA8B;EAC9B,iBAAiB;EACjB,gBAAgB;AAClB;AACA;EACE,aAAa;EACb,sBAAsB;EACtB,uBAAuB;EACvB,kBAAkB;AACpB;AACA;EACE;IACE,iBAAiB;EACnB;AACF;AACA;EACE,qBAAqB;EACrB,aAAa;EACb,YAAY;EACZ,uBAAuB;EACvB,kBAAkB;EAClB,eAAe;EACf,kBAAkB;EAClB,WAAW;AACb;AACA;EACE,SAAS;EACT,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,SAAS;AACX;AACA;EACE,YAAY;EACZ,eAAe;EACf,cAAc;AAChB;;AAEA;EACE,YAAY;EACZ,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;AACnB;AACA;EACE;IACE,YAAY;IACZ,iCAAiC;EACnC;AACF;;AAEA;EACE,YAAY;EACZ,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,gBAAgB;AAClB;AACA;EACE,SAAS;AACX;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,UAAU;AACZ;AACA;EACE,WAAW;EACX,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,WAAW;AACb;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,WAAW;EACX,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,OAAO;EACP,QAAQ;EACR,oBAAoB;EACpB,8BAA8B;EAC9B,uDAAuD;AACzD;AACA;EACE;IACE,aAAa;EACf;EACA;IACE,oBAAoB;IACpB,0CAA0C;IAC1C,kBAAkB;IAClB,oBAAoB;EACtB;AACF;;AAEA;EACE,eAAe;EACf,gBAAgB;EAChB,6BAA6B;AAC/B;AACA;EACE,gBAAgB;EAChB,aAAa;EACb,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,eAAe;EACf,mBAAmB;EACnB,cAAc;EACd,yBAAyB;EACzB,eAAe;EACf,gBAAgB;EAChB,mBA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AAEA;EACE;IACE,2BAA2B;EAC7B;EACA;IACE,wBAAwB;EAC1B;AACF;AACA;EACE,sBAAsB;EACtB,oCAAoC;EACpC,eAAe;EACf,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,mBAAmB;EACnB,YAAY;EACZ,WAAW;EACX,WAAW;EACX,kBAAkB;EAClB,MAAM;EACN,OAAO;AACT;AACA;EACE,iBAAiB;EACjB,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,SAAS;AACX;AACA;EACE,kBAAkB;EAClB,SAAS;AACX;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,aAAa;AACf;;AAEA;EACE,mBAAmB;EACnB,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;AACA;EACE,eAAe;EACf,gBAAgB;EAChB,YAAY;AACd;;AAEA;EACE,OAAO;EACP,gBAAgB;EAChB,oBAAoB;EACpB,cAAc;AAChB;AACA;EACE,aAAa;EACb,iBAAiB;AACnB;;AAEA;EACE,aAAa;EACb,gIAAgI;EAChI,eAAe;EACf,sBAAsB;EACtB,kDAAkD;EAClD,oBAAoB;EACpB,iBAAiB;EACjB,mBAAmB;AACrB;AACA;EACE,mBAAmB;EACnB,kBAAkB;AACpB;AACA;EACE,0BAA0B;EAC1B,yBAAyB;AAC3B;AACA;EACE,0BAA0B;EAC1B,yBAAyB;AAC3B;AACA;EACE,0BAA0B;EAC1B,yBAAyB;AAC3B;;AAEA;EACE,YAAY;EACZ,sBAAsB;AACxB;;AAEA;EACE,aAAa;EACb,eAAe;AACjB;;AAEA;EACE,iBAAiB;AACnB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,uBAAuB;AACzB;;AAEA;EACE,cAAc;EACd,sBAAsB;EACtB,cAAc;AAChB;AACA;EACE,cAAc;EACd,6BAA6B;AAC/B;AACA;EACE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;EAChB,sBAAsB;AACxB;AACA;EACE,gBAAgB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AAChC;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,UAAU;EACV,6BAA6B;AAC/B;AACA;EACE,6BAA6B;AAC/B;AACA;EACE;IACE,eAAe;EACjB;AACF;AACA;EACE,gBAAgB;EAChB,sFAAsF;AACxF;AACA;EACE,cAAc;AAChB;AACA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,WAAW;EACX,SAAS;EACT,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,aAAa;AACf;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;EACjB,WAAW;EACX,UAAU;EACV,WAAW;EACX,wDAAwD;AAC1D;AACA;EACE;IACE,YAAY;IACZ,iBAAiB;EACnB;AACF;;AAEA;EACE;IACE,eAAe;EACjB;AACF;AACA;EACE,gIAAgI;EAChI,eAAe;EACf,yBAAyB;EACzB,kBAAkB;EAClB,wCAAwC;EACxC,WAAW;EACX,kBAAkB;EAClB,WAAW;EACX,gBAAgB;EAChB,sBAAsB;EACtB,eAAe;EACf,oBAAoB;AACtB;AACA;EACE;IACE,uBAAuB;IACvB,kBAAkB;EACpB;AACF;AACA;EACE,iEAAiE;AACnE;AACA;EACE,eAAe;AACjB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,kBAAkB;EAClB,SAAS;EACT,UAAU;AACZ;AACA;EACE,iBAAiB;EACjB,eAAe;AACjB;;AAEA;EACE,iBAAiB;EACjB,WAAW;EACX,YAAY;EACZ,cAAc;EACd,gBAAgB;EAChB,UAAU;AACZ;AACA;EACE,0BAA0B;EAC1B,6BAA6B;AAC/B;AACA;EACE,WAAW;EACX,gBAAgB;EAChB,wBAAwB;AAC1B;AACA;EACE,kCAAkC;AACpC;;AAEA;EACE,aAAa;EACb,qBAAqB;EACrB,8BAA8B;EAC9B,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,eAAe;EACf,WAAW;EACX,sBAAsB;EACtB,oBAAoB;A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T,UAAU;AACZ;;AAEA;EACE,gBAAgB;EAChB,SAAS;EACT,yBAAyB;EACzB,sBAAsB;EACtB,oBAAoB;EACpB,cAAc;EACd,eAAe;AACjB;AACA;EACE,eAAe;EACf,SAAS;AACX;;AAEA;EACE,cAAc;EACd,SAAS;AACX;AACA;EACE;IACE,aAAa;EACf;AACF;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,iBAAiB;AACnB;AACA;EACE,qBAAqB;EACrB,WAAW;EACX,uBAAuB;EACvB,sBAAsB;EACtB,kBAAkB;EAClB,QAAQ;EACR,UAAU;EACV,UAAU;EACV,YAAY;AACd;;AAEA;EACE,gBAAgB;AAClB;AACA;EACE,sBAAsB;AACxB;;AAEA;EACE,mBAAmB;EACnB,kBAAkB;EAClB,eAAe;EACf,aAAa;EACb,WAAW;EACX,mBAAmB;EACnB,kBAAkB;EAClB,gBAAgB;EAChB,eAAe;EACf,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EACE,qBAAqB;EACrB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,MAAM;EACN,OAAO;EACP,SAAS;EACT,QAAQ;AACV,C;;;;AC/yGA,gBAAgB;ACAhB;AACA;AACA;ACFA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AFMD;;AA1DA;EACC;IACC;EA6DA;EA3DD;IACC;EA6DA;AACF;AA1DA;EACC;IACC;IACA;EA4DA;EA1DD;IACC;IACA;EA4DA;EA1DD;IACC;IACA;IACA;EA4DA;AACF;AAzDA;EACC;IACC;IACA;EA2DA;EAzDD;IACC;IACA;EA2DA;AACF;AAxDA;EACC;IACC;EA0DA;AACF;AAvDA;AACA;EACC;EACA;EACA;EACA;AAyDD;AAvDC;EACC;AAyDF;;AArDA;EACC;EACA;AAwDD;;AArDA;EACC;AAwDD;;AArDA;EACC;EACA;EACA;EACA;EACA;AAwDD;;AAnDA;EACC;EACA;EACA;AAsDD;AApDC;EACC;AAsDF;AApDC;EACC;EACA;EACA;AAsDF;AApDC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAsDF;ACvIG;EDyEF;IAWE;EAuDD;AACF;AC5IG;EDyEF;IAeE;EAwDD;AACF;ACjJG;EDyEF;IAmBE;EAyDD;AACF;AAvDE;EACC;EACA;AAyDH;AArDC;EACC;AAuDF;AArDE;EACC;EACA;AAuDH;ACjKG;ED8GF;IAEE;EAqDD;AACF;AAjDE;EACC;EACA;EACA;EACA;AAmDH;AAhDE;EACC;EACA;EACA,cArEU;EAsEV;EACA;AAkDH;AAhDG;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,mBAlFe;AAoInB;AA/CG;EACC,cAtFe;AAuInB;AAhDI;EACC;AAkDL;;AA3CA;AACA;EACC;EACA;EACA;EACA;EACA;AA8CD;AC9MG;ED2JH;IAQE;IACA;EA+CA;AACF;ACpNG;ED2JH;IAaE;IACA;EAgDA;AACF;AC1NG;ED2JH;IAkBE;IACA;EAiDA;AACF;AA/CC;EAGC;AA+CF;AA7CC;EACC;AA+CF;AA7CC;EACC;AA+CF;AA7CC;EACC;AA+CF;AA7CC;;EAEC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA+CF;AA7CE;;EACC;EACA;EACA;EACA;EACA;EACA;AAgDH;AA7CC;EACC;EACA;EAEA;AA8CF;AA5CE;EACC;AA8CH;;AAxCC;EACC;AA2CF;AAxCC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;AA0CF;AAvCC;;EAEC;EACA;EACA;AAyCF;AAvCC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAyCF;AAvCE;EACC;EACA;EACA;EACA;EACA;EACA;AAyCH;;AApCA;AACA;EACC;EACA;EACA;AAuCD;AArCC;EACC;AAuCF;AArCC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAuCF;;AAlCC;EACC;AAqCF;AAnCC;EACC;AAqCF;AAjCE;;;;EAEC;EACA;EACA;EACA;AAqCH;AAlCC;;EAEC;EACA;EACA;EACA;AAoCF;AAlCC;EACC;AAoCF;AAlCC;EACC;AAoCF;;AAhCA;AAEC;;EAEC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAkCF;;AA9BA;AAGE;EACC;EACA;AA+BH;AA5BC;EACC;AA8BF;;AA1BA;AACA;EACC;AA6BD;AA3BC;EACC;EACA;AA6BF;AA3BC;EACC;AA6BF;AA1BC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA4BF;AAzBC;EACC;AA2BF;;AAvBA;AACA;AACA;EACC;AA0BD;AAxBE;EACC;EACA;EACA;AA0BH;AAvBE;EACC;AAyBH;AAvBG;EACC;AAyBJ;AArBC;EACC;EACA;EACA;EACA;AAuBF;AArBC;EACC;EACA;EACA;EACA;AAuBF;AArBC;EACC;AAuBF;AApBC;EACC;EACA;EACA;EACA;AAsBF;AAnBC;EACC;AAqBF;AApBE;EACC;EACA;AAsBH;AApBE;EACC;AAsBH;AAlBE;EACC;AAoBH;AAlBE;EACC;AAoBH;AAjBE;EACC;EACA;AAmBH;AAlBG;EACC;AAoBJ;AAhBC;EACC;AAkBF;AAjBE;EACC;AAmBH;AAjBE;EACC;AAmBH;AAhBC;EACC;AAkBF;AAjBE;EACC;AAmBH;AAjBE;EACC;AAmBH;AAhBC;EACC;AAkBF;AAjBE;EACC;AAmBH;AAjBE;EACC;AAmBH;AAhBC;EACC;EACA;EACA;EACA;EACA;AAkBF;AAhBC;EACC;EACA;EACA;EACA;EACA;AAkBF;AAhBC;EACC;EACA;EACA;AAkBF;;AAbC;EACC;EACA;AAgBF;;AAZA;AACA;;EAEC;EACA;EACA;EACA;AAeD;AAbC;;EACC;AAgBF;AAbC;;EACC;EACA;AAgBF;AAdE;;EACC;AAiBH;AAhBG;;EACC;AAmBJ;AAfC;;EACC;EACA;AAkBF;AAfC;;EACC;AAkBF;AAfC;;EACC;AAkBF;AAfC;;EACC;EACA;EACA;EACA;EACA;AAkBF;AAhBE;;EACC;EACA;EACA;AAmBH;AAhBE;;EACC;EACA;AAmBH;AAlBG;;EACC;AAqBJ;AAjBE;;EACC;EACA;EACA;AAoBH;AAlBG;;EACC;EACA;EACA;AAqBJ;AAjBE;;EACC;EACA;EACA;AAoBH;AAlBG;;EACC;EACA;EACA;AAqBJ;AAhBG;;EACC;EACA;EAIA;AAgBJ;AAnBI;;EACC;AAsBL;AAlBG;;EACC;EACA;EACA;AAqBJ;AApBI;;EACC;EACA;EACA;AAuBL;AAtBK;;EACC;AAyBN;AArBG;;EACC;EACA;EACA;AAwBJ;AAvBI;;EACC;EACA;EACA;AA0BL;AAzBK;;EACC;AA4BN;;AApBA;AACA;EACC;EACA;EACA;AAuBD;AAtBC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAwBF;AAtBE;EACC;EACA;AAwBH;AAtBE;EACC;AAwBH;AAtBE;EACC;EACA;AAwBH;AArBC;EACC;EACA;AAuBF;;AAnBA;AACA;;EAGC;EACA;EACA;AAqBD;AAnBC;;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAsBF;AApBE;;EACC;AAuBH;AApBC;;EACC;AAuBF;;AAnBC;EACC;AAsBF;AApBE;EACC;EACA;EACA;AAsBH;AApBE;EACC;EACA;EACA;AAsBH;AApBE;EACC;EACA;EACA;EACA;EACA;AAsBH;AAlBC;;EAEC;AAoBF;AAjBC;EACC;AAmBF;AAhBC;EACC;AAkBF;AAfC;EACC;AAiBF;AAdC;EACC;EACA;AAgBF;AAbC;EACC;AAeF;AAZC;EACC;EACA;EACA;AAcF;;AAVA;EACC;AAaD;;AAVA;EACC;EACA;EACA;AAaD;AAXC;EACC;EACA;AAaF;AAVC;EACC;EACA;AAYF;;AARA;EACC;EACA;EACA;EACA;EACA;AAWD;;AARA;EACC;AAWD;AATC;EACC;AAWF;;AAPA;AACA;EAGC;EACA;AAQD;AAPC;EACC;AASF;AANC;EACC;EACA;EACA;AAQF;AALC;EACC;AAOF;AALE;EACC;AAOH;AAJC;EACC;AAMF;;AAHA;AACA;EAEC;AAKD;;AAFA;AACA;EACC;AAKD;;AAFA;AACA;EACC;AAKD;;AADC;EACC;AAIF;AAFG;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAIJ;AAFI;EACC;EACA;EACA;EACA;EACA;AAIL;;AAGA;AACA;EACC;AAAD;AAEC;;EAEC;EACA;AAAF;AAGC;EACC;EACA;EACA;AADF;AAIC;EACC;EACA;EACA;EACA;EACA;EACA;AAFF;AAIE;EACC;EACA;AAFH;AAKE;EACC;AAHH;;AAOA;EACC;EACA;AAJD;AAMC;EAJD;IAKE;EAHA;AACF;;AAMA;AACA;AACA;AACA;EACC;EACA;AAHD;AAKC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAHF;AAKC;EACC;EACA;EACA;EACA;EACA;EACA;AAHF;AAKE;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAHH;AAKE;EACC;AAHH;AAOC;EACC;AALF;AAQC;EACC;EACA;EACA;EACA;AANF;AAQE;EAEC;EACA;EACA;EACA;AAPH;;AAYA;AAEC;EACC;EACA;EACA;EACA;AAVF;;AAcA;AACA;EACC;AAXD;AAaC;EACC;AAXF;;AAeA;AACA;EACC;EACA;AAZD;;AAeA;AACA;EACC;EACA;AAZD;;AAeA;AACA;EACC;EACA;EACA;EACA;EACA;EACA;AAZD;AAeC;EACC;EACA;EACA;EACA;EACA;EACA;AAbF,C","sources":["webpack://highlight-and-share/./node_modules/@wordpress/components/build-style/style.css","webpack://highlight-and-share/./src/admin.scss","webpack://highlight-and-share/./src/breakpoints-mixin.scss","webpack://highlight-and-share/./src/common.scss"],"sourcesContent":["@charset \"UTF-8\";\n/**\n * Colors\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n * SCSS Variables.\n *\n * Please use variables from this sheet to ensure consistency across the UI.\n * Don't add to this sheet unless you're pretty sure the value will be reused in many places.\n * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.\n */\n/**\n * Colors\n */\n/**\n * Fonts & basic variables.\n */\n/**\n * Grid System.\n * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/\n */\n/**\n * Dimensions.\n */\n/**\n * Shadows.\n */\n/**\n * Editor widths.\n */\n/**\n * Block & Editor UI.\n */\n/**\n * Block paddings.\n */\n/**\n * React Native specific.\n * These variables do not appear to be used anywhere else.\n */\n/**\n* Converts a hex value into the rgb equivalent.\n*\n* @param {string} hex - the hexadecimal value to convert\n* @return {string} comma separated rgb values\n*/\n/**\n * Breakpoint mixins\n */\n/**\n * Long content fade mixin\n *\n * Creates a fading overlay to signify that the content is longer\n * than the space allows.\n */\n/**\n * Focus styles.\n */\n/**\n * Applies editor left position to the selector passed as argument\n */\n/**\n * Styles that are reused verbatim in a few places\n */\n/**\n * Allows users to opt-out of animations via OS-level preferences.\n */\n/**\n * Reset default styles for JavaScript UI based pages.\n * This is a WP-admin agnostic reset\n */\n/**\n * Reset the WP Admin page styles for Gutenberg-like pages.\n */\n:root {\n --wp-admin-theme-color: #007cba;\n --wp-admin-theme-color--rgb: 0, 124, 186;\n --wp-admin-theme-color-darker-10: #006ba1;\n --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;\n --wp-admin-theme-color-darker-20: #005a87;\n --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;\n --wp-admin-border-width-focus: 2px;\n}\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n :root {\n --wp-admin-border-width-focus: 1.5px;\n }\n}\n\n.components-animate__appear {\n animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-animate__appear {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {\n transform-origin: top left;\n}\n.components-animate__appear.is-from-top.is-from-right {\n transform-origin: top right;\n}\n.components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left {\n transform-origin: bottom left;\n}\n.components-animate__appear.is-from-bottom.is-from-right {\n transform-origin: bottom right;\n}\n\n@keyframes components-animate__appear-animation {\n from {\n transform: translateY(-2em) scaleY(0) scaleX(0);\n }\n to {\n transform: translateY(0%) scaleY(1) scaleX(1);\n }\n}\n.components-animate__slide-in {\n animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-animate__slide-in {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n.components-animate__slide-in.is-from-left {\n transform: translateX(100%);\n}\n.components-animate__slide-in.is-from-right {\n transform: translateX(-100%);\n}\n\n@keyframes components-animate__slide-in-animation {\n 100% {\n transform: translateX(0%);\n }\n}\n.components-animate__loading {\n animation: components-animate__loading 1.6s ease-in-out infinite;\n}\n\n@keyframes components-animate__loading {\n 0% {\n opacity: 0.5;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0.5;\n }\n}\n.components-autocomplete__popover .components-popover__content {\n padding: 16px;\n min-width: 220px;\n}\n\n.components-autocomplete__result.components-button {\n display: flex;\n height: auto;\n min-height: 36px;\n text-align: left;\n width: 100%;\n}\n.components-autocomplete__result.components-button.is-selected {\n box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n}\n\n.components-button-group {\n display: inline-block;\n}\n.components-button-group .components-button {\n border-radius: 0;\n display: inline-flex;\n color: #1e1e1e;\n box-shadow: inset 0 0 0 1px #1e1e1e;\n}\n.components-button-group .components-button + .components-button {\n margin-left: -1px;\n}\n.components-button-group .components-button:first-child {\n border-radius: 2px 0 0 2px;\n}\n.components-button-group .components-button:last-child {\n border-radius: 0 2px 2px 0;\n}\n.components-button-group .components-button:focus, .components-button-group .components-button.is-primary {\n position: relative;\n z-index: 1;\n}\n.components-button-group .components-button.is-primary {\n box-shadow: inset 0 0 0 1px #1e1e1e;\n}\n\n.components-button {\n display: inline-flex;\n text-decoration: none;\n font-family: inherit;\n font-weight: normal;\n font-size: 13px;\n margin: 0;\n border: 0;\n cursor: pointer;\n -webkit-appearance: none;\n background: none;\n transition: box-shadow 0.1s linear;\n height: 36px;\n align-items: center;\n box-sizing: border-box;\n padding: 6px 12px;\n border-radius: 2px;\n color: #1e1e1e;\n /**\n * Primary button style.\n */\n /**\n * Secondary and tertiary buttons.\n */\n /**\n * Secondary button style.\n */\n /**\n * Tertiary buttons.\n */\n /**\n * Destructive buttons.\n */\n /**\n * Link buttons.\n */\n}\n@media (prefers-reduced-motion: reduce) {\n .components-button {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-button[aria-expanded=true], .components-button:hover {\n color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n}\n.components-button[aria-disabled=true]:hover {\n color: initial;\n}\n.components-button:focus:not(:disabled) {\n box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n outline: 3px solid transparent;\n}\n.components-button.is-primary {\n white-space: nowrap;\n background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n color: #fff;\n text-decoration: none;\n text-shadow: none;\n outline: 1px solid transparent;\n}\n.components-button.is-primary:hover:not(:disabled) {\n background: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1));\n color: #fff;\n}\n.components-button.is-primary:active:not(:disabled) {\n background: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #005a87));\n border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #005a87));\n color: #fff;\n}\n.components-button.is-primary:focus:not(:disabled) {\n box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n}\n.components-button.is-primary:disabled, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary[aria-disabled=true], .components-button.is-primary[aria-disabled=true]:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled {\n color: rgba(255, 255, 255, 0.4);\n background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n opacity: 1;\n outline: none;\n}\n.components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:focus:enabled, .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled {\n box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n}\n.components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] {\n color: #fff;\n background-size: 100px 100%;\n /* stylelint-disable */\n background-image: linear-gradient(-45deg, var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #005a87)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #005a87)) 70%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba)) 70%);\n /* stylelint-enable */\n border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n}\n.components-button.is-secondary, .components-button.is-tertiary {\n outline: 1px solid transparent;\n}\n.components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {\n background: #ddd;\n color: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1));\n box-shadow: none;\n}\n.components-button.is-secondary:hover:not(:disabled), .components-button.is-tertiary:hover:not(:disabled) {\n color: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1));\n box-shadow: inset 0 0 0 1px var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1));\n}\n.components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled=true], .components-button.is-secondary[aria-disabled=true]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled=true], .components-button.is-tertiary[aria-disabled=true]:hover {\n color: #828282;\n background: #eaeaea;\n transform: none;\n opacity: 1;\n box-shadow: none;\n outline: none;\n}\n.components-button.is-secondary {\n box-shadow: inset 0 0 0 1px var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n outline: 1px solid transparent;\n white-space: nowrap;\n color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n background: transparent;\n}\n.components-button.is-tertiary {\n white-space: nowrap;\n color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n background: transparent;\n padding: 6px;\n}\n.components-button.is-tertiary .dashicon {\n display: inline-block;\n flex: 0 0 auto;\n}\np + .components-button.is-tertiary {\n margin-left: -6px;\n}\n.components-button.is-destructive {\n --wp-components-color-accent: #cc1818;\n --wp-components-color-accent-darker-10: #9e1313;\n --wp-components-color-accent-darker-20: #710d0d;\n}\n.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link) {\n color: #cc1818;\n box-shadow: inset 0 0 0 1px #cc1818;\n}\n.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):hover:not(:disabled) {\n color: #710d0d;\n}\n.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):focus:not(:disabled) {\n box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #cc1818;\n}\n.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):active:not(:disabled) {\n background: #ccc;\n}\n.components-button.is-link {\n margin: 0;\n padding: 0;\n box-shadow: none;\n border: 0;\n border-radius: 0;\n background: none;\n outline: none;\n text-align: left;\n color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n text-decoration: underline;\n transition-property: border, background, color;\n transition-duration: 0.05s;\n transition-timing-function: ease-in-out;\n height: auto;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-button.is-link {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-button.is-link:focus {\n border-radius: 2px;\n}\n.components-button:not([aria-disabled=true]):active {\n color: inherit;\n}\n.components-button:disabled, .components-button[aria-disabled=true] {\n cursor: default;\n opacity: 0.3;\n}\n.components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] {\n animation: components-button__busy-animation 2500ms infinite linear;\n opacity: 1;\n background-size: 100px 100%;\n /* stylelint-disable */\n background-image: linear-gradient(-45deg, #fafafa 33%, #e0e0e0 33%, #e0e0e0 70%, #fafafa 70%);\n /* stylelint-enable */\n}\n.components-button.is-small {\n height: 24px;\n line-height: 22px;\n padding: 0 8px;\n font-size: 11px;\n}\n.components-button.is-small.has-icon:not(.has-text) {\n padding: 0;\n width: 24px;\n min-width: 24px;\n}\n.components-button.has-icon {\n padding: 6px;\n min-width: 36px;\n justify-content: center;\n}\n.components-button.has-icon .dashicon {\n display: inline-block;\n flex: 0 0 auto;\n margin-left: 2px;\n margin-right: 2px;\n}\n.components-button.has-icon.has-text {\n justify-content: start;\n}\n.components-button.has-icon.has-text svg {\n margin-right: 8px;\n}\n.components-button.has-icon.has-text .dashicon {\n margin-right: 10px;\n}\n.components-button.is-pressed {\n color: #fff;\n background: #1e1e1e;\n}\n.components-button.is-pressed:focus:not(:disabled) {\n box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n outline: 2px solid transparent;\n}\n.components-button.is-pressed:hover:not(:disabled) {\n color: #fff;\n background: #1e1e1e;\n}\n.components-button svg {\n fill: currentColor;\n outline: none;\n}\n@media (forced-colors: active) {\n .components-button svg {\n fill: CanvasText;\n }\n}\n.components-button .components-visually-hidden {\n height: auto;\n}\n\n@keyframes components-button__busy-animation {\n 0% {\n background-position: 200px 0;\n }\n}\n.components-checkbox-control__input[type=checkbox] {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n border: 1px solid #1e1e1e;\n margin-right: 12px;\n transition: none;\n border-radius: 2px;\n background: #fff;\n color: #1e1e1e;\n clear: none;\n cursor: pointer;\n display: inline-block;\n line-height: 0;\n margin: 0 4px 0 0;\n outline: 0;\n padding: 0 !important;\n text-align: center;\n vertical-align: top;\n width: 24px;\n height: 24px;\n -webkit-appearance: none;\n appearance: none;\n transition: 0.1s border-color ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-checkbox-control__input[type=checkbox] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-checkbox-control__input[type=checkbox] {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-checkbox-control__input[type=checkbox]:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-checkbox-control__input[type=checkbox]::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-checkbox-control__input[type=checkbox]:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-checkbox-control__input[type=checkbox]:focus {\n box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-checkbox-control__input[type=checkbox]:checked {\n background: var(--wp-admin-theme-color);\n border-color: var(--wp-admin-theme-color);\n}\n.components-checkbox-control__input[type=checkbox]:checked::-ms-check {\n opacity: 0;\n}\n.components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {\n margin: -3px -5px;\n color: #fff;\n}\n@media (min-width: 782px) {\n .components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {\n margin: -4px 0 0 -5px;\n }\n}\n.components-checkbox-control__input[type=checkbox][aria-checked=mixed] {\n background: var(--wp-admin-theme-color);\n border-color: var(--wp-admin-theme-color);\n}\n.components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {\n content: \"ï‘ \";\n float: left;\n display: inline-block;\n vertical-align: middle;\n width: 16px;\n /* stylelint-disable */\n font: normal 30px/1 dashicons;\n /* stylelint-enable */\n speak: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n@media (min-width: 782px) {\n .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {\n float: none;\n font-size: 21px;\n }\n}\n@media (min-width: 600px) {\n .components-checkbox-control__input[type=checkbox] {\n height: 20px;\n width: 20px;\n }\n}\n@media (prefers-reduced-motion: reduce) {\n .components-checkbox-control__input[type=checkbox] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-checkbox-control__input[type=checkbox]:focus {\n box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-checkbox-control__input[type=checkbox]:checked, .components-checkbox-control__input[type=checkbox]:indeterminate {\n background: var(--wp-admin-theme-color);\n border-color: var(--wp-admin-theme-color);\n}\n.components-checkbox-control__input[type=checkbox]:checked::-ms-check, .components-checkbox-control__input[type=checkbox]:indeterminate::-ms-check {\n opacity: 0;\n}\n.components-checkbox-control__input[type=checkbox]:checked::before {\n content: none;\n}\n\n.components-checkbox-control__input-container {\n position: relative;\n display: inline-block;\n margin-right: 12px;\n vertical-align: middle;\n width: 24px;\n height: 24px;\n}\n@media (min-width: 600px) {\n .components-checkbox-control__input-container {\n width: 20px;\n height: 20px;\n }\n}\n\nsvg.components-checkbox-control__checked,\nsvg.components-checkbox-control__indeterminate {\n fill: #fff;\n cursor: pointer;\n position: absolute;\n left: 0;\n top: 0;\n width: 24px;\n height: 24px;\n -webkit-user-select: none;\n user-select: none;\n pointer-events: none;\n}\n@media (min-width: 600px) {\n svg.components-checkbox-control__checked,\nsvg.components-checkbox-control__indeterminate {\n left: -2px;\n top: -2px;\n }\n}\n\n.components-circular-option-picker {\n display: inline-block;\n width: 100%;\n min-width: 188px;\n}\n.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper {\n display: flex;\n justify-content: flex-end;\n margin-top: 12px;\n}\n.components-circular-option-picker .components-circular-option-picker__swatches {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.components-circular-option-picker__option-wrapper {\n display: inline-block;\n height: 28px;\n width: 28px;\n vertical-align: top;\n transform: scale(1);\n transition: 100ms transform ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-circular-option-picker__option-wrapper {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-circular-option-picker__option-wrapper:hover {\n transform: scale(1.2);\n}\n.components-circular-option-picker__option-wrapper > div {\n height: 100%;\n width: 100%;\n}\n\n.components-circular-option-picker__option-wrapper::before {\n content: \"\";\n position: absolute;\n top: 1px;\n left: 1px;\n bottom: 1px;\n right: 1px;\n border-radius: 50%;\n z-index: -1;\n /* stylelint-disable-next-line function-url-quotes */\n background: url('data:image/svg+xml,%3Csvg width=\"28\" height=\"28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cpath d=\"M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z\" fill=\"%23555D65\"/%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z\" fill=\"%23555D65\"/%3E%3Cpath d=\"M18 18v2h-2v-2h2z\" fill=\"%23555D65\"/%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z\" fill=\"%23555D65\"/%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z\" fill=\"%23555D65\"/%3E%3C/svg%3E');\n}\n\n.components-circular-option-picker__option {\n display: inline-block;\n vertical-align: top;\n height: 100%;\n width: 100%;\n border: none;\n border-radius: 50%;\n background: transparent;\n box-shadow: inset 0 0 0 14px;\n transition: 100ms box-shadow ease;\n cursor: pointer;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-circular-option-picker__option {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-circular-option-picker__option:hover {\n box-shadow: inset 0 0 0 14px !important;\n}\n.components-circular-option-picker__option.is-pressed {\n box-shadow: inset 0 0 0 4px;\n position: relative;\n z-index: 1;\n overflow: visible;\n}\n.components-circular-option-picker__option.is-pressed + svg {\n position: absolute;\n left: 2px;\n top: 2px;\n border-radius: 50%;\n z-index: 2;\n pointer-events: none;\n}\n.components-circular-option-picker__option::after {\n content: \"\";\n position: absolute;\n top: -1px;\n left: -1px;\n bottom: -1px;\n right: -1px;\n border-radius: 50%;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);\n border: 1px solid transparent;\n box-sizing: inherit;\n}\n.components-circular-option-picker__option:focus::after {\n content: \"\";\n border: 2px solid #757575;\n width: 32px;\n height: 32px;\n position: absolute;\n top: -2px;\n left: -2px;\n border-radius: 50%;\n box-shadow: inset 0 0 0 2px #fff;\n}\n.components-circular-option-picker__option.components-button:focus {\n background-color: transparent;\n box-shadow: inset 0 0 0 14px;\n outline: none;\n}\n\n.components-circular-option-picker__button-action .components-circular-option-picker__option {\n color: #fff;\n background: #fff;\n}\n\n.components-circular-option-picker__dropdown-link-action {\n margin-right: 16px;\n}\n.components-circular-option-picker__dropdown-link-action .components-button {\n line-height: 22px;\n}\n\n.components-palette-edit__popover-gradient-picker {\n width: 280px;\n padding: 8px;\n}\n\n.components-dropdown-menu__menu .components-palette-edit__menu-button {\n width: 100%;\n}\n\n.component-color-indicator {\n width: 20px;\n height: 20px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);\n border-radius: 50%;\n display: inline-block;\n padding: 0;\n}\n\n.components-combobox-control {\n width: 100%;\n}\n\ninput.components-combobox-control__input[type=text] {\n width: 100%;\n border: none;\n box-shadow: none;\n font-family: inherit;\n font-size: 16px;\n padding: 2px;\n margin: 0;\n line-height: inherit;\n min-height: auto;\n}\n@media (min-width: 600px) {\n input.components-combobox-control__input[type=text] {\n font-size: 13px;\n }\n}\ninput.components-combobox-control__input[type=text]:focus {\n outline: none;\n box-shadow: none;\n}\n\n.components-combobox-control__suggestions-container {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n width: 100%;\n padding: 0;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-combobox-control__suggestions-container {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-combobox-control__suggestions-container {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-combobox-control__suggestions-container:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-combobox-control__suggestions-container::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-combobox-control__suggestions-container::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-combobox-control__suggestions-container:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-combobox-control__suggestions-container:focus-within {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n\n.components-combobox-control__reset.components-button {\n display: flex;\n height: 16px;\n min-width: 16px;\n padding: 0;\n}\n\n.components-color-list-picker,\n.components-color-list-picker__swatch-button {\n width: 100%;\n}\n\n.components-color-list-picker__color-picker {\n margin: 8px 0;\n}\n\n.components-color-list-picker__swatch-button {\n padding: 6px;\n}\n\n.components-color-list-picker__swatch-color {\n margin: 2px;\n}\n\n.components-color-palette__custom-color {\n position: relative;\n border: none;\n background: none;\n border-radius: 2px;\n height: 64px;\n padding: 12px;\n font-family: inherit;\n width: 100%;\n /*rtl:begin:ignore*/\n background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);\n background-position: 0 0, 24px 24px;\n /*rtl:end:ignore*/\n background-size: calc(2 * 24px) calc(2 * 24px);\n box-sizing: border-box;\n color: #fff;\n cursor: pointer;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);\n outline: 1px solid transparent;\n}\n.components-color-palette__custom-color:focus {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n outline-width: 2px;\n}\n\n.components-color-palette__custom-color-name {\n text-align: left;\n}\n\n.components-color-palette__custom-color-value {\n margin-left: 16px;\n text-transform: uppercase;\n}\n\n.components-custom-gradient-picker:not(.is-next-has-no-margin) {\n margin-top: 12px;\n margin-bottom: 24px;\n}\n\n.components-custom-gradient-picker__gradient-bar:not(.has-gradient) {\n opacity: 0.4;\n}\n\n.components-custom-gradient-picker__gradient-bar {\n border-radius: 2px;\n width: 100%;\n height: 48px;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container {\n position: relative;\n width: calc(100% - 48px);\n margin-left: auto;\n margin-right: auto;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-dropdown {\n position: absolute;\n height: 16px;\n width: 16px;\n top: 16px;\n display: flex;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown {\n position: relative;\n height: inherit;\n width: inherit;\n min-width: 16px;\n border-radius: 50%;\n background: #fff;\n padding: 2px;\n color: #1e1e1e;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown svg {\n height: 100%;\n width: 100%;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button {\n height: inherit;\n width: inherit;\n border-radius: 50%;\n padding: 0;\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);\n outline: 2px solid transparent;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus, .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {\n box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);\n outline: 1.5px solid transparent;\n}\n\n.components-custom-gradient-picker__remove-control-point-wrapper {\n padding-bottom: 8px;\n}\n\n.components-custom-gradient-picker__inserter {\n /*rtl:ignore*/\n direction: ltr;\n}\n\n.components-custom-gradient-picker__liner-gradient-indicator {\n display: inline-block;\n flex: 0 auto;\n width: 20px;\n height: 20px;\n}\n\n.components-custom-gradient-picker .components-custom-gradient-picker__toolbar {\n border: none;\n}\n.components-custom-gradient-picker .components-custom-gradient-picker__toolbar > div + div {\n margin-left: 1px;\n}\n.components-custom-gradient-picker .components-custom-gradient-picker__toolbar button.is-pressed > svg {\n background: #fff;\n border: 1px solid #949494;\n border-radius: 2px;\n}\n\n.components-custom-select-control {\n position: relative;\n font-size: 13px;\n}\n\n.components-custom-select-control__button {\n position: relative;\n text-align: left;\n outline: 0;\n}\n\n.components-custom-select-control__menu {\n border: 1px solid #1e1e1e;\n background-color: #fff;\n border-radius: 2px;\n outline: none;\n transition: none;\n max-height: 400px;\n min-width: 100%;\n overflow: auto;\n padding: 0;\n position: absolute;\n z-index: 1000000;\n}\n.components-custom-select-control__menu[aria-hidden=true] {\n display: none;\n}\n\n.components-custom-select-control__item {\n align-items: center;\n display: grid;\n grid-template-columns: auto auto;\n list-style-type: none;\n padding: 8px 16px;\n cursor: default;\n line-height: 28px;\n}\n.components-custom-select-control__item:not(.is-next-36px-default-size) {\n padding: 8px;\n}\n.components-custom-select-control__item.has-hint {\n grid-template-columns: auto auto 30px;\n}\n.components-custom-select-control__item.is-highlighted {\n background: #ddd;\n}\n.components-custom-select-control__item .components-custom-select-control__item-hint {\n color: #757575;\n text-align: right;\n padding-right: 4px;\n}\n.components-custom-select-control__item .components-custom-select-control__item-icon {\n margin-left: auto;\n}\n.components-custom-select-control__item:last-child {\n margin-bottom: 0;\n}\n\n.block-editor-dimension-control .components-base-control__field {\n display: flex;\n align-items: center;\n}\n.block-editor-dimension-control .components-base-control__label {\n display: flex;\n align-items: center;\n margin-right: 1em;\n margin-bottom: 0;\n}\n.block-editor-dimension-control .components-base-control__label .dashicon {\n margin-right: 0.5em;\n}\n.block-editor-dimension-control.is-manual .components-base-control__label {\n width: 10em;\n}\n\nbody.is-dragging-components-draggable {\n cursor: move;\n /* Fallback for IE/Edge < 14 */\n cursor: grabbing !important;\n}\n\n.components-draggable__invisible-drag-image {\n position: fixed;\n left: -1000px;\n height: 50px;\n width: 50px;\n}\n\n.components-draggable__clone {\n position: fixed;\n padding: 0;\n background: transparent;\n pointer-events: none;\n z-index: 1000000000;\n}\n\n.components-drop-zone {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 40;\n visibility: hidden;\n opacity: 0;\n border-radius: 2px;\n}\n.components-drop-zone.is-active {\n opacity: 1;\n visibility: visible;\n}\n\n.components-drop-zone__content {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n width: 100%;\n display: flex;\n background-color: var(--wp-admin-theme-color);\n align-items: center;\n justify-content: center;\n z-index: 50;\n text-align: center;\n color: #fff;\n}\n\n.components-drop-zone__content-icon,\n.components-drop-zone__content-text {\n display: block;\n}\n\n.components-drop-zone__content-icon {\n margin: 0 auto;\n line-height: 0;\n fill: currentColor;\n pointer-events: none;\n}\n\n.components-drop-zone__content-text {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n}\n\n.components-dropdown {\n display: inline-block;\n}\n\n.components-dropdown__content .components-popover__content {\n padding: 8px;\n}\n.components-dropdown__content [role=menuitem] {\n white-space: nowrap;\n}\n\n.components-dropdown-menu__menu {\n width: 100%;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n line-height: 1.4;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item,\n.components-dropdown-menu__menu .components-menu-item {\n width: 100%;\n padding: 6px;\n outline: none;\n cursor: pointer;\n white-space: nowrap;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,\n.components-dropdown-menu__menu .components-menu-item.has-separator {\n margin-top: 6px;\n position: relative;\n overflow: visible;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator::before,\n.components-dropdown-menu__menu .components-menu-item.has-separator::before {\n display: block;\n content: \"\";\n box-sizing: content-box;\n background-color: #ddd;\n position: absolute;\n top: -3px;\n left: 0;\n right: 0;\n height: 1px;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,\n.components-dropdown-menu__menu .components-menu-item.is-active svg {\n color: #fff;\n background: #1e1e1e;\n box-shadow: 0 0 0 1px #1e1e1e;\n border-radius: 1px;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg,\n.components-dropdown-menu__menu .components-menu-item > svg {\n border-radius: 2px;\n width: 24px;\n height: 24px;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-icon-only,\n.components-dropdown-menu__menu .components-menu-item.is-icon-only {\n width: auto;\n}\n.components-dropdown-menu__menu .components-menu-item__button,\n.components-dropdown-menu__menu .components-menu-item__button.components-button {\n min-height: 36px;\n height: auto;\n text-align: left;\n padding-left: 8px;\n padding-right: 8px;\n}\n.components-dropdown-menu__menu .components-menu-group {\n padding: 8px;\n margin-top: 0;\n margin-bottom: 0;\n margin-left: -8px;\n margin-right: -8px;\n}\n.components-dropdown-menu__menu .components-menu-group:first-child {\n margin-top: -8px;\n}\n.components-dropdown-menu__menu .components-menu-group:last-child {\n margin-bottom: -8px;\n}\n.components-dropdown-menu__menu .components-menu-group + .components-menu-group {\n margin-top: 0;\n border-top: 1px solid #ccc;\n padding: 8px;\n}\n.is-alternate .components-dropdown-menu__menu .components-menu-group + .components-menu-group {\n border-color: #1e1e1e;\n}\n\n.components-duotone-picker__color-indicator::before {\n background: transparent;\n}\n\n.components-duotone-picker__color-indicator > .components-button {\n background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);\n color: transparent;\n}\n.components-duotone-picker__color-indicator > .components-button.is-pressed:hover:not(:disabled) {\n background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);\n color: transparent;\n}\n.components-duotone-picker__color-indicator > .components-button:not([aria-disabled=true]):active {\n color: transparent;\n}\n\n.components-form-toggle {\n position: relative;\n display: inline-block;\n}\n.components-form-toggle .components-form-toggle__track {\n content: \"\";\n display: inline-block;\n box-sizing: border-box;\n vertical-align: top;\n background-color: #fff;\n border: 1px solid #1e1e1e;\n width: 36px;\n height: 18px;\n border-radius: 9px;\n transition: 0.2s background ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-toggle .components-form-toggle__track {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-form-toggle .components-form-toggle__thumb {\n display: block;\n position: absolute;\n box-sizing: border-box;\n top: 3px;\n left: 3px;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n transition: 0.1s transform ease;\n background-color: #1e1e1e;\n border: 5px solid #1e1e1e;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-toggle .components-form-toggle__thumb {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-form-toggle.is-checked .components-form-toggle__track {\n background-color: var(--wp-admin-theme-color);\n border: 1px solid var(--wp-admin-theme-color);\n border: 9px solid transparent;\n}\n.components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track {\n box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.components-form-toggle.is-checked .components-form-toggle__thumb {\n background-color: #fff;\n border-width: 0;\n transform: translateX(18px);\n}\n.components-form-toggle.is-disabled, .components-disabled .components-form-toggle {\n opacity: 0.3;\n}\n\n.components-form-toggle input.components-form-toggle__input[type=checkbox] {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n margin: 0;\n padding: 0;\n z-index: 1;\n border: none;\n}\n.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked {\n background: none;\n}\n.components-form-toggle input.components-form-toggle__input[type=checkbox]::before {\n content: \"\";\n}\n\n.components-form-token-field__input-container {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n width: 100%;\n margin: 0 0 8px 0;\n padding: 0;\n cursor: text;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-token-field__input-container {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-form-token-field__input-container {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-form-token-field__input-container:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-form-token-field__input-container::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-form-token-field__input-container::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-form-token-field__input-container:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-form-token-field__input-container.is-disabled {\n background: #ddd;\n border-color: #ddd;\n}\n.components-form-token-field__input-container.is-active {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-form-token-field__input-container input[type=text].components-form-token-field__input {\n display: inline-block;\n flex: 1;\n font-family: inherit;\n font-size: 16px;\n width: 100%;\n max-width: 100%;\n margin-left: 4px;\n padding: 0;\n min-height: 24px;\n min-width: 50px;\n background: inherit;\n border: 0;\n color: #1e1e1e;\n box-shadow: none;\n}\n@media (min-width: 600px) {\n .components-form-token-field__input-container input[type=text].components-form-token-field__input {\n font-size: 13px;\n }\n}\n.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus, .components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input {\n outline: none;\n box-shadow: none;\n}\n.components-form-token-field__input-container .components-form-token-field__token + input[type=text].components-form-token-field__input {\n width: auto;\n}\n\n.components-form-token-field__help {\n font-size: 12px;\n font-style: normal;\n color: #757575;\n}\n\n.components-form-token-field__token {\n font-size: 13px;\n display: flex;\n color: #1e1e1e;\n max-width: 100%;\n}\n.components-form-token-field__token.is-success .components-form-token-field__token-text,\n.components-form-token-field__token.is-success .components-form-token-field__remove-token {\n background: #4ab866;\n}\n.components-form-token-field__token.is-error .components-form-token-field__token-text,\n.components-form-token-field__token.is-error .components-form-token-field__remove-token {\n background: #cc1818;\n}\n.components-form-token-field__token.is-validating .components-form-token-field__token-text,\n.components-form-token-field__token.is-validating .components-form-token-field__remove-token {\n color: #757575;\n}\n.components-form-token-field__token.is-borderless {\n position: relative;\n padding: 0 24px 0 0;\n}\n.components-form-token-field__token.is-borderless .components-form-token-field__token-text {\n background: transparent;\n color: var(--wp-admin-theme-color);\n}\n.components-form-token-field__token.is-borderless .components-form-token-field__remove-token {\n background: transparent;\n color: #757575;\n position: absolute;\n top: 1px;\n right: 0;\n padding: 0;\n}\n.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text {\n color: #4ab866;\n}\n.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text {\n color: #cc1818;\n border-radius: 4px 0 0 4px;\n padding: 0 4px 0 6px;\n}\n.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text {\n color: #1e1e1e;\n}\n.components-form-token-field__token.is-disabled .components-form-token-field__remove-token {\n cursor: default;\n}\n\n.components-form-token-field__token-text,\n.components-form-token-field__remove-token.components-button {\n display: inline-block;\n line-height: 24px;\n height: auto;\n background: #ddd;\n min-width: unset;\n transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1);\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-token-field__token-text,\n.components-form-token-field__remove-token.components-button {\n transition-duration: 0s;\n transition-delay: 0s;\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n\n.components-form-token-field__token-text {\n border-radius: 2px 0 0 2px;\n padding: 0 0 0 8px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.components-form-token-field__remove-token.components-button {\n cursor: pointer;\n border-radius: 0 2px 2px 0;\n padding: 0 2px;\n color: #1e1e1e;\n line-height: 10px;\n overflow: initial;\n}\n.components-form-token-field__remove-token.components-button:hover {\n color: #1e1e1e;\n}\n\n.components-form-token-field__suggestions-list {\n flex: 1 0 100%;\n min-width: 100%;\n max-height: 9em;\n overflow-y: auto;\n transition: all 0.15s ease-in-out;\n list-style: none;\n border-top: 1px solid #757575;\n margin: 0;\n padding: 0;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-token-field__suggestions-list {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n\n.components-form-token-field__suggestion {\n color: #757575;\n display: block;\n font-size: 13px;\n padding: 4px 8px;\n margin: 0;\n cursor: pointer;\n}\n.components-form-token-field__suggestion.is-selected {\n background: var(--wp-admin-theme-color);\n color: #fff;\n}\n\n.components-form-token-field__suggestion-match {\n text-decoration: underline;\n}\n\n@media (min-width: 600px) {\n .components-guide {\n width: 600px;\n }\n}\n.components-guide .components-modal__content {\n padding: 0;\n margin-top: 0;\n border-radius: 2px;\n}\n.components-guide .components-modal__content::before {\n content: none;\n}\n.components-guide .components-modal__header {\n border-bottom: none;\n padding: 0;\n position: sticky;\n height: 60px;\n}\n.components-guide .components-modal__header .components-button {\n align-self: flex-start;\n margin: 8px 8px 0 0;\n position: static;\n}\n.components-guide .components-modal__header .components-button:hover svg {\n fill: #fff;\n}\n.components-guide__container {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: -60px;\n min-height: 100%;\n}\n.components-guide__page {\n display: flex;\n flex-direction: column;\n justify-content: center;\n position: relative;\n}\n@media (min-width: 600px) {\n .components-guide__page {\n min-height: 300px;\n }\n}\n.components-guide__footer {\n align-content: center;\n display: flex;\n height: 30px;\n justify-content: center;\n margin: 0 0 24px 0;\n padding: 0 32px;\n position: relative;\n width: 100%;\n}\n.components-guide__page-control {\n margin: 0;\n text-align: center;\n}\n.components-guide__page-control li {\n display: inline-block;\n margin: 0;\n}\n.components-guide__page-control .components-button {\n height: 30px;\n min-width: 20px;\n margin: -6px 0;\n}\n\n.components-modal__frame.components-guide {\n border: none;\n min-width: 312px;\n height: 80vh;\n max-height: 575px;\n}\n@media (max-width: 600px) {\n .components-modal__frame.components-guide {\n margin: auto;\n max-width: calc(100vw - 16px * 2);\n }\n}\n\n.components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button {\n height: 30px;\n position: absolute;\n}\n.components-button.components-guide__back-button, .components-button.components-guide__forward-button {\n font-size: 13px;\n padding: 4px 2px;\n}\n.components-button.components-guide__back-button.has-text svg, .components-button.components-guide__forward-button.has-text svg {\n margin: 0;\n}\n.components-button.components-guide__back-button:hover, .components-button.components-guide__forward-button:hover {\n text-decoration: underline;\n}\n.components-button.components-guide__back-button {\n left: 32px;\n}\n.components-button.components-guide__forward-button {\n right: 32px;\n color: #1386bf;\n font-weight: bold;\n}\n.components-button.components-guide__finish-button {\n right: 32px;\n}\n\n[role=region] {\n position: relative;\n}\n\n.is-focusing-regions [role=region]:focus::after {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n pointer-events: none;\n outline: 4px solid transparent;\n box-shadow: inset 0 0 0 4px var(--wp-admin-theme-color);\n}\n@supports (outline-offset: 1px) {\n .is-focusing-regions [role=region]:focus::after {\n content: none;\n }\n .is-focusing-regions [role=region]:focus {\n outline-style: solid;\n outline-color: var(--wp-admin-theme-color);\n outline-width: 4px;\n outline-offset: -4px;\n }\n}\n\n.components-menu-group + .components-menu-group {\n margin-top: 8px;\n padding-top: 8px;\n border-top: 1px solid #1e1e1e;\n}\n.components-menu-group + .components-menu-group.has-hidden-separator {\n border-top: none;\n margin-top: 0;\n padding-top: 0;\n}\n\n.components-menu-group__label {\n padding: 0 8px;\n margin-top: 4px;\n margin-bottom: 12px;\n color: #757575;\n text-transform: uppercase;\n font-size: 11px;\n font-weight: 500;\n white-space: nowrap;\n}\n\n.components-menu-item__button,\n.components-menu-item__button.components-button {\n width: 100%;\n}\n.components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child,\n.components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child,\n.components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child {\n padding-right: 48px;\n box-sizing: initial;\n}\n.components-menu-item__button .components-menu-items__item-icon,\n.components-menu-item__button.components-button .components-menu-items__item-icon {\n display: inline-block;\n flex: 0 0 auto;\n}\n.components-menu-item__button .components-menu-items__item-icon.has-icon-right,\n.components-menu-item__button.components-button .components-menu-items__item-icon.has-icon-right {\n margin-right: -2px;\n margin-left: 24px;\n}\n.components-menu-item__button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right,\n.components-menu-item__button.components-button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right {\n margin-left: 8px;\n}\n.components-menu-item__button .block-editor-block-icon,\n.components-menu-item__button.components-button .block-editor-block-icon {\n margin-left: -2px;\n margin-right: 8px;\n}\n.components-menu-item__button.is-primary,\n.components-menu-item__button.components-button.is-primary {\n justify-content: center;\n}\n.components-menu-item__button.is-primary .components-menu-item__item,\n.components-menu-item__button.components-button.is-primary .components-menu-item__item {\n margin-right: 0;\n}\n.components-menu-item__button:disabled.is-tertiary, .components-menu-item__button[aria-disabled=true].is-tertiary,\n.components-menu-item__button.components-button:disabled.is-tertiary,\n.components-menu-item__button.components-button[aria-disabled=true].is-tertiary {\n background: none;\n color: var(--wp-admin-theme-color-darker-10);\n opacity: 0.3;\n}\n\n.components-menu-item__info-wrapper {\n display: flex;\n flex-direction: column;\n margin-right: auto;\n}\n\n.components-menu-item__info {\n margin-top: 4px;\n font-size: 12px;\n color: #757575;\n white-space: normal;\n}\n\n.components-menu-item__item {\n white-space: nowrap;\n min-width: 160px;\n margin-right: auto;\n display: inline-flex;\n align-items: center;\n}\n\n.components-menu-item__shortcut {\n align-self: center;\n margin-right: 0;\n margin-left: auto;\n padding-left: 24px;\n color: currentColor;\n display: none;\n}\n@media (min-width: 480px) {\n .components-menu-item__shortcut {\n display: inline;\n }\n}\n\n.components-menu-items-choice svg,\n.components-menu-items-choice.components-button svg {\n margin-right: 12px;\n}\n.components-menu-items-choice.has-icon,\n.components-menu-items-choice.components-button.has-icon {\n padding-left: 12px;\n}\n\n.components-modal__screen-overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: rgba(0, 0, 0, 0.35);\n z-index: 100000;\n display: flex;\n animation: edit-post__fade-in-animation 0.2s ease-out 0s;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-modal__screen-overlay {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n\n.components-modal__frame {\n margin: 0;\n width: 100%;\n background: #fff;\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);\n border-radius: 2px;\n overflow: hidden;\n display: flex;\n}\n@media (min-width: 600px) {\n .components-modal__frame {\n margin: auto;\n width: auto;\n min-width: 360px;\n max-width: calc(100% - 32px);\n max-height: calc(100% - 120px);\n animation: components-modal__appear-animation 0.1s ease-out;\n animation-fill-mode: forwards;\n }\n}\n@media (min-width: 600px) and (prefers-reduced-motion: reduce) {\n .components-modal__frame {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-modal__frame.is-full-screen {\n width: 90vw;\n min-height: 90vh;\n }\n}\n@media (min-width: 960px) {\n .components-modal__frame {\n max-height: 70%;\n }\n}\n\n@keyframes components-modal__appear-animation {\n from {\n transform: translateY(32px);\n }\n to {\n transform: translateY(0);\n }\n}\n.components-modal__header {\n box-sizing: border-box;\n border-bottom: 1px solid transparent;\n padding: 0 32px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n height: 76px;\n width: 100%;\n z-index: 10;\n position: absolute;\n top: 0;\n left: 0;\n}\n.components-modal__header .components-modal__header-heading {\n font-size: 1.2rem;\n font-weight: 600;\n}\n.components-modal__header h1 {\n line-height: 1;\n margin: 0;\n}\n.components-modal__header .components-button {\n position: relative;\n left: 8px;\n}\n.components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header {\n border-bottom-color: #ddd;\n}\n.components-modal__header + p {\n margin-top: 0;\n}\n\n.components-modal__header-heading-container {\n align-items: center;\n flex-grow: 1;\n display: flex;\n flex-direction: row;\n justify-content: left;\n}\n\n.components-modal__header-icon-container {\n display: inline-block;\n}\n.components-modal__header-icon-container svg {\n max-width: 36px;\n max-height: 36px;\n padding: 8px;\n}\n\n.components-modal__content {\n flex: 1;\n margin-top: 76px;\n padding: 0 32px 32px;\n overflow: auto;\n}\n.components-modal__content.hide-header {\n margin-top: 0;\n padding-top: 24px;\n}\n\n.components-notice {\n display: flex;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n background-color: #fff;\n border-left: 4px solid var(--wp-admin-theme-color);\n margin: 5px 15px 2px;\n padding: 8px 12px;\n align-items: center;\n}\n.components-notice.is-dismissible {\n padding-right: 36px;\n position: relative;\n}\n.components-notice.is-success {\n border-left-color: #4ab866;\n background-color: #eff9f1;\n}\n.components-notice.is-warning {\n border-left-color: #f0b849;\n background-color: #fef8ee;\n}\n.components-notice.is-error {\n border-left-color: #cc1818;\n background-color: #f4a2a2;\n}\n\n.components-notice__content {\n flex-grow: 1;\n margin: 4px 25px 4px 0;\n}\n\n.components-notice__actions {\n display: flex;\n flex-wrap: wrap;\n}\n\n.components-notice__action.components-button {\n margin-right: 8px;\n}\n.components-notice__action.components-button, .components-notice__action.components-button.is-link {\n margin-left: 12px;\n}\n.components-notice__action.components-button.is-secondary {\n vertical-align: initial;\n}\n\n.components-notice__dismiss {\n color: #757575;\n align-self: flex-start;\n flex-shrink: 0;\n}\n.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus {\n color: #1e1e1e;\n background-color: transparent;\n}\n.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {\n box-shadow: none;\n}\n\n.components-notice-list {\n max-width: 100vw;\n box-sizing: border-box;\n}\n.components-notice-list .components-notice__content {\n margin-top: 12px;\n margin-bottom: 12px;\n line-height: 2;\n}\n.components-notice-list .components-notice__action.components-button {\n display: block;\n margin-left: 0;\n margin-top: 8px;\n}\n\n.components-panel {\n background: #fff;\n border: 1px solid #e0e0e0;\n}\n.components-panel > .components-panel__header:first-child,\n.components-panel > .components-panel__body:first-child {\n margin-top: -1px;\n}\n.components-panel > .components-panel__header:last-child,\n.components-panel > .components-panel__body:last-child {\n border-bottom-width: 0;\n}\n\n.components-panel + .components-panel {\n margin-top: -1px;\n}\n\n.components-panel__body {\n border-top: 1px solid #e0e0e0;\n border-bottom: 1px solid #e0e0e0;\n}\n.components-panel__body h3 {\n margin: 0 0 0.5em;\n}\n.components-panel__body.is-opened {\n padding: 16px;\n}\n\n.components-panel__header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 16px;\n border-bottom: 1px solid #ddd;\n box-sizing: content-box;\n height: 47px;\n}\n.components-panel__header h2 {\n margin: 0;\n font-size: inherit;\n color: inherit;\n}\n\n.components-panel__body + .components-panel__body,\n.components-panel__body + .components-panel__header,\n.components-panel__header + .components-panel__body,\n.components-panel__header + .components-panel__header {\n margin-top: -1px;\n}\n\n.components-panel__body > .components-panel__body-title {\n display: block;\n padding: 0;\n font-size: inherit;\n margin-top: 0;\n margin-bottom: 0;\n transition: 0.1s background ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-panel__body > .components-panel__body-title {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n\n.components-panel__body.is-opened > .components-panel__body-title {\n margin: -16px;\n margin-bottom: 5px;\n}\n\n.components-panel__body > .components-panel__body-title:hover {\n background: #f0f0f0;\n border: none;\n}\n\n.components-panel__body-toggle.components-button {\n position: relative;\n padding: 16px 48px 16px 16px;\n outline: none;\n width: 100%;\n font-weight: 500;\n text-align: left;\n color: #1e1e1e;\n border: none;\n box-shadow: none;\n transition: 0.1s background ease-in-out;\n height: auto;\n /* rtl:begin:ignore */\n /* rtl:end:ignore */\n}\n@media (prefers-reduced-motion: reduce) {\n .components-panel__body-toggle.components-button {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-panel__body-toggle.components-button:focus {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n border-radius: 0;\n}\n.components-panel__body-toggle.components-button .components-panel__arrow {\n position: absolute;\n right: 16px;\n top: 50%;\n transform: translateY(-50%);\n color: #1e1e1e;\n fill: currentColor;\n transition: 0.1s color ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-panel__body-toggle.components-button .components-panel__arrow {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\nbody.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right {\n transform: scaleX(-1);\n -ms-filter: fliph;\n filter: FlipH;\n margin-top: -10px;\n}\n\n.components-panel__icon {\n color: #757575;\n margin: -2px 0 -2px 6px;\n}\n\n.components-panel__body-toggle-icon {\n margin-right: -5px;\n}\n\n.components-panel__color-title {\n float: left;\n height: 19px;\n}\n\n.components-panel__row {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-top: 8px;\n min-height: 36px;\n}\n.components-panel__row select {\n min-width: 0;\n}\n.components-panel__row label {\n margin-right: 12px;\n flex-shrink: 0;\n max-width: 75%;\n}\n.components-panel__row:empty, .components-panel__row:first-of-type {\n margin-top: 0;\n}\n\n.components-panel .circle-picker {\n padding-bottom: 20px;\n}\n\n.components-placeholder.components-placeholder {\n box-sizing: border-box;\n position: relative;\n padding: 1em;\n min-height: 200px;\n width: 100%;\n text-align: left;\n margin: 0;\n color: #1e1e1e;\n -moz-font-smoothing: subpixel-antialiased;\n -webkit-font-smoothing: subpixel-antialiased;\n border-radius: 2px;\n background-color: #fff;\n box-shadow: inset 0 0 0 1px #1e1e1e;\n outline: 1px solid transparent;\n}\n@supports (position: sticky) {\n .components-placeholder.components-placeholder {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n }\n}\n\n.components-placeholder__error,\n.components-placeholder__instructions,\n.components-placeholder__label,\n.components-placeholder__fieldset {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n}\n\n.components-placeholder__label {\n display: flex;\n font-weight: 600;\n margin-bottom: 16px;\n align-items: center;\n}\n.components-placeholder__label > svg,\n.components-placeholder__label .dashicon,\n.components-placeholder__label .block-editor-block-icon {\n margin-right: 1ch;\n fill: currentColor;\n}\n@media (forced-colors: active) {\n .components-placeholder__label > svg,\n.components-placeholder__label .dashicon,\n.components-placeholder__label .block-editor-block-icon {\n fill: CanvasText;\n }\n}\n.components-placeholder__label:empty {\n display: none;\n}\n\n.components-placeholder__fieldset,\n.components-placeholder__fieldset form {\n display: flex;\n flex-direction: row;\n width: 100%;\n flex-wrap: wrap;\n}\n.components-placeholder__fieldset p,\n.components-placeholder__fieldset form p {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n}\n\n.components-placeholder__fieldset.components-placeholder__fieldset {\n border: none;\n padding: 0;\n}\n.components-placeholder__fieldset.components-placeholder__fieldset .components-placeholder__instructions {\n padding: 0;\n font-weight: normal;\n font-size: 1em;\n}\n\n.components-placeholder__fieldset.is-column-layout,\n.components-placeholder__fieldset.is-column-layout form {\n flex-direction: column;\n}\n\n.components-placeholder__input[type=url] {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n margin: 0 8px 0 0;\n flex: 1 1 auto;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-placeholder__input[type=url] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-placeholder__input[type=url] {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-placeholder__input[type=url]:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-placeholder__input[type=url]::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-placeholder__input[type=url]::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-placeholder__input[type=url]:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n\n.components-placeholder__instructions {\n margin-bottom: 1em;\n}\n\n.components-placeholder__error {\n margin-top: 1em;\n width: 100%;\n}\n\n.components-placeholder__fieldset .components-button {\n margin-right: 12px;\n margin-bottom: 12px;\n}\n.components-placeholder__fieldset .components-button:last-child {\n margin-bottom: 0;\n margin-right: 0;\n}\n\n.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link {\n margin-left: 10px;\n margin-right: 10px;\n}\n.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child {\n margin-right: 0;\n}\n\n.components-placeholder.is-large .components-placeholder__label {\n font-size: 18pt;\n font-weight: normal;\n}\n.components-placeholder.is-medium .components-placeholder__instructions, .components-placeholder.is-small .components-placeholder__instructions {\n display: none;\n}\n.components-placeholder.is-medium .components-placeholder__fieldset,\n.components-placeholder.is-medium .components-placeholder__fieldset form, .components-placeholder.is-small .components-placeholder__fieldset,\n.components-placeholder.is-small .components-placeholder__fieldset form {\n flex-direction: column;\n}\n.components-placeholder.is-medium .components-placeholder__fieldset .components-button, .components-placeholder.is-small .components-placeholder__fieldset .components-button {\n margin-right: auto;\n}\n.components-placeholder.is-small .components-button {\n padding: 0 8px 2px;\n}\n\n/**\n * Dashed style placeholders\n */\n.components-placeholder.has-illustration {\n color: inherit;\n display: flex;\n box-shadow: none;\n min-width: 100px;\n -webkit-backdrop-filter: blur(100px);\n backdrop-filter: blur(100px);\n background-color: transparent;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n border-radius: 2px;\n overflow: hidden;\n}\n.is-dark-theme .components-placeholder.has-illustration {\n background-color: rgba(0, 0, 0, 0.1);\n}\n.components-placeholder.has-illustration .components-placeholder__fieldset {\n width: auto;\n margin-left: 0;\n margin-right: 0;\n}\n.components-placeholder.has-illustration .components-placeholder__label,\n.components-placeholder.has-illustration .components-placeholder__instructions,\n.components-placeholder.has-illustration .components-button {\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.1s linear;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-placeholder.has-illustration .components-placeholder__label,\n.components-placeholder.has-illustration .components-placeholder__instructions,\n.components-placeholder.has-illustration .components-button {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.is-selected > .components-placeholder.has-illustration .components-placeholder__label,\n.is-selected > .components-placeholder.has-illustration .components-placeholder__instructions,\n.is-selected > .components-placeholder.has-illustration .components-button {\n opacity: 1;\n pointer-events: auto;\n}\n.components-placeholder.has-illustration::before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n background: currentColor;\n opacity: 0.1;\n}\n\n.components-placeholder__preview {\n display: flex;\n justify-content: center;\n}\n\n.components-placeholder__illustration {\n box-sizing: content-box;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n stroke: currentColor;\n opacity: 0.25;\n}\n\n.components-popover {\n z-index: 1000000;\n}\n.components-popover.is-expanded {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000000 !important;\n}\n\n.components-popover__content {\n background: #fff;\n outline: 1px solid #ccc;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);\n border-radius: 2px;\n box-sizing: border-box;\n width: min-content;\n}\n.is-alternate .components-popover__content {\n outline: 1px solid #1e1e1e;\n box-shadow: none;\n}\n.is-unstyled .components-popover__content {\n background: none;\n border: none;\n border-radius: 0;\n outline: none;\n box-shadow: none;\n}\n.components-popover.is-expanded .components-popover__content {\n position: static;\n height: calc(100% - 48px);\n overflow-y: visible;\n width: auto;\n border: none;\n outline: none;\n border-top: 1px solid #1e1e1e;\n}\n\n.components-popover__header {\n align-items: center;\n background: #fff;\n display: flex;\n height: 48px;\n justify-content: space-between;\n padding: 0 8px 0 16px;\n}\n\n.components-popover__header-title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n}\n\n.components-popover__close.components-button {\n z-index: 5;\n}\n\n.components-popover__arrow {\n position: absolute;\n width: 14px;\n height: 14px;\n pointer-events: none;\n display: flex;\n}\n.components-popover__arrow::before {\n content: \"\";\n position: absolute;\n top: -1px;\n left: 1px;\n height: 2px;\n right: 1px;\n background-color: #fff;\n}\n.components-popover__arrow.is-top {\n bottom: -14px !important;\n transform: rotate(0);\n}\n.components-popover__arrow.is-right {\n /*rtl:begin:ignore*/\n left: -14px !important;\n transform: rotate(90deg);\n}\n.components-popover__arrow.is-bottom {\n top: -14px !important;\n transform: rotate(180deg);\n}\n.components-popover__arrow.is-left {\n /*rtl:begin:ignore*/\n right: -14px !important;\n transform: rotate(-90deg);\n /*rtl:end:ignore*/\n}\n\n.components-popover__triangle {\n display: block;\n flex: 1;\n}\n\n.components-popover__triangle-bg {\n fill: #fff;\n}\n\n.components-popover__triangle-border {\n fill: transparent;\n stroke-width: 1px;\n stroke: #ccc;\n}\n.is-alternate .components-popover__triangle-border {\n stroke: #1e1e1e;\n}\n\n.components-radio-control__input[type=radio] {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n border: 1px solid #1e1e1e;\n margin-right: 12px;\n transition: none;\n border-radius: 50%;\n width: 24px;\n height: 24px;\n margin-top: 0;\n margin-right: 6px;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-radio-control__input[type=radio] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-radio-control__input[type=radio] {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-radio-control__input[type=radio]:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-radio-control__input[type=radio]::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-radio-control__input[type=radio]::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-radio-control__input[type=radio]:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n@media (min-width: 600px) {\n .components-radio-control__input[type=radio] {\n height: 20px;\n width: 20px;\n }\n}\n.components-radio-control__input[type=radio]:checked::before {\n box-sizing: inherit;\n width: 8px;\n height: 8px;\n transform: translate(7px, 7px);\n margin: 0;\n background-color: #fff;\n border: 4px solid #fff;\n}\n@media (min-width: 600px) {\n .components-radio-control__input[type=radio]:checked::before {\n transform: translate(5px, 5px);\n }\n}\n.components-radio-control__input[type=radio]:focus {\n box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-radio-control__input[type=radio]:checked {\n background: var(--wp-admin-theme-color);\n border-color: var(--wp-admin-theme-color);\n}\n\n.components-resizable-box__handle {\n display: none;\n width: 23px;\n height: 23px;\n z-index: 2;\n}\n.components-resizable-box__container.has-show-handle .components-resizable-box__handle {\n display: block;\n}\n\n.components-resizable-box__container > img {\n width: inherit;\n}\n\n.components-resizable-box__handle::after {\n display: block;\n content: \"\";\n width: 15px;\n height: 15px;\n border-radius: 50%;\n background: #fff;\n cursor: inherit;\n position: absolute;\n top: calc(50% - 8px);\n right: calc(50% - 8px);\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n\n.components-resizable-box__side-handle::before {\n display: block;\n border-radius: 2px;\n content: \"\";\n width: 3px;\n height: 3px;\n background: var(--wp-admin-theme-color);\n cursor: inherit;\n position: absolute;\n top: calc(50% - 1px);\n right: calc(50% - 1px);\n transition: transform 0.1s ease-in;\n opacity: 0;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-resizable-box__side-handle::before {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n\n.components-resizable-box__side-handle {\n z-index: 2;\n}\n\n.components-resizable-box__corner-handle {\n z-index: 2;\n}\n\n.components-resizable-box__side-handle.components-resizable-box__handle-top,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom,\n.components-resizable-box__side-handle.components-resizable-box__handle-top::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom::before {\n width: 100%;\n left: 0;\n border-left: 0;\n border-right: 0;\n}\n\n.components-resizable-box__side-handle.components-resizable-box__handle-left,\n.components-resizable-box__side-handle.components-resizable-box__handle-right,\n.components-resizable-box__side-handle.components-resizable-box__handle-left::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right::before {\n height: 100%;\n top: 0;\n border-top: 0;\n border-bottom: 0;\n}\n\n.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {\n animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n\n.components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {\n animation: components-resizable-box__left-right-animation 0.1s ease-out 0s;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n\n/* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy.\nSee https://bugs.webkit.org/show_bug.cgi?id=187903. */\n@media not all and (-webkit-min-device-pixel-ratio: 0), not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {\n animation: none;\n }\n\n .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {\n animation: none;\n }\n }\n}\n@keyframes components-resizable-box__top-bottom-animation {\n from {\n transform: scaleX(0);\n opacity: 0;\n }\n to {\n transform: scaleX(1);\n opacity: 1;\n }\n}\n@keyframes components-resizable-box__left-right-animation {\n from {\n transform: scaleY(0);\n opacity: 0;\n }\n to {\n transform: scaleY(1);\n opacity: 1;\n }\n}\n/*!rtl:begin:ignore*/\n.components-resizable-box__handle-right {\n right: calc(11.5px * -1);\n}\n\n.components-resizable-box__handle-left {\n left: calc(11.5px * -1);\n}\n\n.components-resizable-box__handle-top {\n top: calc(11.5px * -1);\n}\n\n.components-resizable-box__handle-bottom {\n bottom: calc(11.5px * -1);\n}\n\n/*!rtl:end:ignore*/\n.components-responsive-wrapper {\n position: relative;\n max-width: 100%;\n}\n.components-responsive-wrapper, .components-responsive-wrapper > span {\n display: block;\n}\n\n.components-responsive-wrapper__content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n margin: auto;\n}\n\n.components-sandbox {\n overflow: hidden;\n}\n\niframe.components-sandbox {\n width: 100%;\n}\n\nhtml.lockscroll,\nbody.lockscroll {\n overflow: hidden;\n}\n\n.components-search-control {\n position: relative;\n}\n.components-search-control input[type=search].components-search-control__input {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n display: block;\n padding: 16px 48px 16px 16px;\n background: #f0f0f0;\n border: none;\n width: 100%;\n height: 48px;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-search-control input[type=search].components-search-control__input {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-search-control input[type=search].components-search-control__input {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-search-control input[type=search].components-search-control__input:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-search-control input[type=search].components-search-control__input::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-search-control input[type=search].components-search-control__input::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-search-control input[type=search].components-search-control__input:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n@media (min-width: 600px) {\n .components-search-control input[type=search].components-search-control__input {\n font-size: 13px;\n }\n}\n.components-search-control input[type=search].components-search-control__input:focus {\n background: #fff;\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n}\n.components-search-control input[type=search].components-search-control__input::placeholder {\n color: #757575;\n}\n.components-search-control input[type=search].components-search-control__input::-webkit-search-decoration, .components-search-control input[type=search].components-search-control__input::-webkit-search-cancel-button, .components-search-control input[type=search].components-search-control__input::-webkit-search-results-button, .components-search-control input[type=search].components-search-control__input::-webkit-search-results-decoration {\n -webkit-appearance: none;\n}\n\n.components-search-control__icon {\n position: absolute;\n top: 0;\n right: 12px;\n bottom: 0;\n display: flex;\n align-items: center;\n}\n.components-search-control__icon > svg {\n margin: 8px 0;\n}\n\n.components-search-control__input-wrapper {\n position: relative;\n}\n\n.components-select-control__input {\n background: #fff;\n height: 36px;\n line-height: 36px;\n margin: 1px;\n outline: 0;\n width: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;\n}\n@media (min-width: 782px) {\n .components-select-control__input {\n height: 28px;\n line-height: 28px;\n }\n}\n\n@media (max-width: 782px) {\n .components-base-control .components-base-control__field .components-select-control__input {\n font-size: 16px;\n }\n}\n.components-snackbar {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n background-color: #1e1e1e;\n border-radius: 2px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);\n color: #fff;\n padding: 16px 24px;\n width: 100%;\n max-width: 600px;\n box-sizing: border-box;\n cursor: pointer;\n pointer-events: auto;\n}\n@media (min-width: 600px) {\n .components-snackbar {\n width: -moz-fit-content;\n width: fit-content;\n }\n}\n.components-snackbar:focus {\n box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);\n}\n.components-snackbar.components-snackbar-explicit-dismiss {\n cursor: default;\n}\n.components-snackbar .components-snackbar__content-with-icon {\n margin-left: 24px;\n}\n.components-snackbar .components-snackbar__icon {\n position: absolute;\n top: 24px;\n left: 28px;\n}\n.components-snackbar .components-snackbar__dismiss-button {\n margin-left: 32px;\n cursor: pointer;\n}\n\n.components-snackbar__action.components-button {\n margin-left: 32px;\n color: #fff;\n height: auto;\n flex-shrink: 0;\n line-height: 1.4;\n padding: 0;\n}\n.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary) {\n text-decoration: underline;\n background-color: transparent;\n}\n.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus {\n color: #fff;\n box-shadow: none;\n outline: 1px dotted #fff;\n}\n.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {\n color: var(--wp-admin-theme-color);\n}\n\n.components-snackbar__content {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n line-height: 1.4;\n}\n\n.components-snackbar-list {\n position: absolute;\n z-index: 100000;\n width: 100%;\n box-sizing: border-box;\n pointer-events: none;\n}\n\n.components-snackbar-list__notice-container {\n position: relative;\n padding-top: 8px;\n}\n\n.components-tab-panel__tabs {\n display: flex;\n align-items: stretch;\n flex-direction: row;\n}\n.components-tab-panel__tabs[aria-orientation=vertical] {\n flex-direction: column;\n}\n\n.components-tab-panel__tabs-item {\n background: transparent;\n border: none;\n box-shadow: none;\n border-radius: 0;\n cursor: pointer;\n height: 48px;\n padding: 3px 16px;\n margin-left: 0;\n font-weight: 500;\n transition: box-shadow 0.1s linear;\n box-sizing: border-box;\n}\n.components-tab-panel__tabs-item::after {\n content: attr(data-label);\n display: block;\n height: 0;\n overflow: hidden;\n speak: none;\n visibility: hidden;\n}\n.components-tab-panel__tabs-item:focus:not(:disabled) {\n box-shadow: inset 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n}\n.components-tab-panel__tabs-item.is-active {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) transparent, inset 0 -1.5px 0 0 var(--wp-admin-theme-color);\n position: relative;\n}\n.components-tab-panel__tabs-item.is-active::before {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 1px;\n right: 0;\n left: 0;\n border-bottom: 1.5px solid transparent;\n}\n.components-tab-panel__tabs-item:focus {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n}\n.components-tab-panel__tabs-item.is-active:focus {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -3px 0 0 var(--wp-admin-theme-color);\n}\n\n.components-text-control__input,\n.components-text-control__input[type=text],\n.components-text-control__input[type=tel],\n.components-text-control__input[type=time],\n.components-text-control__input[type=url],\n.components-text-control__input[type=week],\n.components-text-control__input[type=password],\n.components-text-control__input[type=color],\n.components-text-control__input[type=date],\n.components-text-control__input[type=datetime],\n.components-text-control__input[type=datetime-local],\n.components-text-control__input[type=email],\n.components-text-control__input[type=month],\n.components-text-control__input[type=number] {\n width: 100%;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-text-control__input,\n.components-text-control__input[type=text],\n.components-text-control__input[type=tel],\n.components-text-control__input[type=time],\n.components-text-control__input[type=url],\n.components-text-control__input[type=week],\n.components-text-control__input[type=password],\n.components-text-control__input[type=color],\n.components-text-control__input[type=date],\n.components-text-control__input[type=datetime],\n.components-text-control__input[type=datetime-local],\n.components-text-control__input[type=email],\n.components-text-control__input[type=month],\n.components-text-control__input[type=number] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-text-control__input,\n.components-text-control__input[type=text],\n.components-text-control__input[type=tel],\n.components-text-control__input[type=time],\n.components-text-control__input[type=url],\n.components-text-control__input[type=week],\n.components-text-control__input[type=password],\n.components-text-control__input[type=color],\n.components-text-control__input[type=date],\n.components-text-control__input[type=datetime],\n.components-text-control__input[type=datetime-local],\n.components-text-control__input[type=email],\n.components-text-control__input[type=month],\n.components-text-control__input[type=number] {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-text-control__input:focus,\n.components-text-control__input[type=text]:focus,\n.components-text-control__input[type=tel]:focus,\n.components-text-control__input[type=time]:focus,\n.components-text-control__input[type=url]:focus,\n.components-text-control__input[type=week]:focus,\n.components-text-control__input[type=password]:focus,\n.components-text-control__input[type=color]:focus,\n.components-text-control__input[type=date]:focus,\n.components-text-control__input[type=datetime]:focus,\n.components-text-control__input[type=datetime-local]:focus,\n.components-text-control__input[type=email]:focus,\n.components-text-control__input[type=month]:focus,\n.components-text-control__input[type=number]:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-text-control__input::-webkit-input-placeholder,\n.components-text-control__input[type=text]::-webkit-input-placeholder,\n.components-text-control__input[type=tel]::-webkit-input-placeholder,\n.components-text-control__input[type=time]::-webkit-input-placeholder,\n.components-text-control__input[type=url]::-webkit-input-placeholder,\n.components-text-control__input[type=week]::-webkit-input-placeholder,\n.components-text-control__input[type=password]::-webkit-input-placeholder,\n.components-text-control__input[type=color]::-webkit-input-placeholder,\n.components-text-control__input[type=date]::-webkit-input-placeholder,\n.components-text-control__input[type=datetime]::-webkit-input-placeholder,\n.components-text-control__input[type=datetime-local]::-webkit-input-placeholder,\n.components-text-control__input[type=email]::-webkit-input-placeholder,\n.components-text-control__input[type=month]::-webkit-input-placeholder,\n.components-text-control__input[type=number]::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-text-control__input::-moz-placeholder,\n.components-text-control__input[type=text]::-moz-placeholder,\n.components-text-control__input[type=tel]::-moz-placeholder,\n.components-text-control__input[type=time]::-moz-placeholder,\n.components-text-control__input[type=url]::-moz-placeholder,\n.components-text-control__input[type=week]::-moz-placeholder,\n.components-text-control__input[type=password]::-moz-placeholder,\n.components-text-control__input[type=color]::-moz-placeholder,\n.components-text-control__input[type=date]::-moz-placeholder,\n.components-text-control__input[type=datetime]::-moz-placeholder,\n.components-text-control__input[type=datetime-local]::-moz-placeholder,\n.components-text-control__input[type=email]::-moz-placeholder,\n.components-text-control__input[type=month]::-moz-placeholder,\n.components-text-control__input[type=number]::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-text-control__input:-ms-input-placeholder,\n.components-text-control__input[type=text]:-ms-input-placeholder,\n.components-text-control__input[type=tel]:-ms-input-placeholder,\n.components-text-control__input[type=time]:-ms-input-placeholder,\n.components-text-control__input[type=url]:-ms-input-placeholder,\n.components-text-control__input[type=week]:-ms-input-placeholder,\n.components-text-control__input[type=password]:-ms-input-placeholder,\n.components-text-control__input[type=color]:-ms-input-placeholder,\n.components-text-control__input[type=date]:-ms-input-placeholder,\n.components-text-control__input[type=datetime]:-ms-input-placeholder,\n.components-text-control__input[type=datetime-local]:-ms-input-placeholder,\n.components-text-control__input[type=email]:-ms-input-placeholder,\n.components-text-control__input[type=month]:-ms-input-placeholder,\n.components-text-control__input[type=number]:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n\n.components-tip {\n display: flex;\n color: #757575;\n}\n.components-tip svg {\n align-self: center;\n fill: #f0b849;\n flex-shrink: 0;\n margin-right: 16px;\n}\n.components-tip p {\n margin: 0;\n}\n\n.components-accessible-toolbar {\n display: inline-flex;\n border: 1px solid #1e1e1e;\n border-radius: 2px;\n flex-shrink: 0;\n}\n.components-accessible-toolbar > .components-toolbar-group:last-child {\n border-right: none;\n}\n\n.components-accessible-toolbar .components-button,\n.components-toolbar .components-button {\n position: relative;\n height: 48px;\n z-index: 1;\n padding-left: 16px;\n padding-right: 16px;\n}\n.components-accessible-toolbar .components-button:focus:enabled,\n.components-toolbar .components-button:focus:enabled {\n box-shadow: none;\n outline: none;\n}\n.components-accessible-toolbar .components-button::before,\n.components-toolbar .components-button::before {\n content: \"\";\n position: absolute;\n display: block;\n border-radius: 2px;\n height: 32px;\n left: 8px;\n right: 8px;\n z-index: -1;\n animation: components-button__appear-animation 0.1s ease;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-accessible-toolbar .components-button::before,\n.components-toolbar .components-button::before {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n.components-accessible-toolbar .components-button svg,\n.components-toolbar .components-button svg {\n position: relative;\n margin-left: auto;\n margin-right: auto;\n}\n.components-accessible-toolbar .components-button.is-pressed,\n.components-toolbar .components-button.is-pressed {\n background: transparent;\n}\n.components-accessible-toolbar .components-button.is-pressed:hover,\n.components-toolbar .components-button.is-pressed:hover {\n background: transparent;\n}\n.components-accessible-toolbar .components-button.is-pressed::before,\n.components-toolbar .components-button.is-pressed::before {\n background: #1e1e1e;\n}\n.components-accessible-toolbar .components-button:focus::before,\n.components-toolbar .components-button:focus::before {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff;\n outline: 2px solid transparent;\n}\n.components-accessible-toolbar .components-button.has-icon.has-icon,\n.components-toolbar .components-button.has-icon.has-icon {\n padding-left: 12px;\n padding-right: 12px;\n min-width: 48px;\n}\n.components-accessible-toolbar .components-button.components-tab-button,\n.components-toolbar .components-button.components-tab-button {\n font-weight: 500;\n}\n.components-accessible-toolbar .components-button.components-tab-button span,\n.components-toolbar .components-button.components-tab-button span {\n display: inline-block;\n padding-left: 0;\n padding-right: 0;\n position: relative;\n}\n\n@keyframes components-button__appear-animation {\n from {\n transform: scaleY(0);\n }\n to {\n transform: scaleY(1);\n }\n}\n.components-toolbar__control.components-button {\n position: relative;\n}\n.components-toolbar__control.components-button[data-subscript] svg {\n padding: 5px 10px 5px 0;\n}\n.components-toolbar__control.components-button[data-subscript]::after {\n content: attr(data-subscript);\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n font-weight: 600;\n line-height: 12px;\n position: absolute;\n right: 8px;\n bottom: 10px;\n}\n.components-toolbar__control.components-button:active::before {\n display: none;\n}\n.components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after {\n color: #fff;\n}\n\n.components-toolbar-group {\n min-height: 48px;\n border-right: 1px solid #1e1e1e;\n background-color: #fff;\n display: inline-flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n padding-left: 6px;\n padding-right: 6px;\n line-height: 0;\n}\n.components-toolbar-group .components-toolbar-group.components-toolbar-group {\n border-width: 0;\n margin: 0;\n}\n.components-toolbar-group .components-button.components-button,\n.components-toolbar-group .components-button.has-icon.has-icon {\n min-width: 36px;\n padding-left: 6px;\n padding-right: 6px;\n}\n.components-toolbar-group .components-button.components-button svg,\n.components-toolbar-group .components-button.has-icon.has-icon svg {\n min-width: 24px;\n}\n.components-toolbar-group .components-button.components-button::before,\n.components-toolbar-group .components-button.has-icon.has-icon::before {\n left: 2px;\n right: 2px;\n}\n\n.components-toolbar {\n min-height: 48px;\n margin: 0;\n border: 1px solid #1e1e1e;\n background-color: #fff;\n display: inline-flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n}\n.components-toolbar .components-toolbar.components-toolbar {\n border-width: 0;\n margin: 0;\n}\n\ndiv.components-toolbar > div {\n display: block;\n margin: 0;\n}\n@supports (position: sticky) {\n div.components-toolbar > div {\n display: flex;\n }\n}\ndiv.components-toolbar > div + div.has-left-divider {\n margin-left: 6px;\n position: relative;\n overflow: visible;\n}\ndiv.components-toolbar > div + div.has-left-divider::before {\n display: inline-block;\n content: \"\";\n box-sizing: content-box;\n background-color: #ddd;\n position: absolute;\n top: 8px;\n left: -3px;\n width: 1px;\n height: 20px;\n}\n\n.components-tooltip.components-popover {\n z-index: 1000002;\n}\n.components-tooltip.components-popover .components-popover__content {\n min-width: min-content;\n}\n\n.components-tooltip .components-popover__content {\n background: #1e1e1e;\n border-radius: 2px;\n border-width: 0;\n outline: none;\n color: #fff;\n white-space: nowrap;\n text-align: center;\n line-height: 1.4;\n font-size: 12px;\n box-shadow: none;\n padding: 4px 8px;\n}\n\n.components-tooltip__shortcut {\n display: inline-block;\n margin-left: 8px;\n}\n\n.disabled-element-wrapper {\n position: relative;\n}\n.disabled-element-wrapper .event-catcher {\n z-index: 100002;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n}","@import 'breakpoints-mixin.scss';\n@import '../node_modules/@wordpress/components/build-style/style.css';\n@import 'common.scss';\n@keyframes has-fade-in {\n\tfrom {\n\t\topacity: 0;\n\t}\n\tto {\n\t\topacity: 1;\n\t}\n}\n\n@keyframes has-fade-in-out {\n\t0% {\n\t\topacity: 0;\n\t\theight: 0;\n\t}\n\t50% {\n\t\topacity: 1;\n\t\theight: auto;\n\t}\n\t100% {\n\t\topacity: 0;\n\t\theight: 0;\n\t\tvisibility: hidden;\n\t}\n}\n\n@keyframes has-fade-out {\n\tfrom {\n\t\topacity: 1;\n\t\theight: auto;\n\t}\n\tto {\n\t\topacity: 0;\n\t\theight: 0;\n\t}\n}\n\n@keyframes has-spin {\n\t100% {\n\t\ttransform: rotate(360deg);\n\t}\n}\n\n/* Make interface full-width/full-height */\n#wpcontent {\n\tpadding-left: 0 !important;\n\tpadding-right: 0 !important;\n\tposition: relative;\n\tbackground-color: #ebebeb;\n\n\t.quotes-dlx-plugin {\n\t\tmargin: 0;\n\t}\n}\n\n#wpbody-content {\n\tpadding: 0;\n\tmargin: 0;\n}\n\n#wpfooter {\n\tdisplay: none;\n}\n\n.has-admin-container-body__content {\n\tpadding: 10px 35px;\n\tbackground: #f0f0f1;\n\tborder: 1px solid #c3c4c7;\n\tborder-top: 0;\n\tbox-shadow: 0 1px 6px rgb(0 0 0 / 8%);\n}\n\n$link_color: #2c3a95;\n$link_color_hover: darken(#2c3a95, 15%);\n.has-form-wrapper {\n\tposition: relative;\n\tpadding: 0;\n\tmargin: 0;\n\n\theader {\n\t\tbackground: #4f4f4f;\n\t}\n\t.has-admin-container-body {\n\t\tmax-width: 69.5rem;\n\t\tmargin: 0 auto;\n\t\tpadding: 2.4em 20px;\n\t}\n\t.has-admin-container-wrap {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr;\n\t\tgrid-column-gap: 1.975rem;\n\t\talign-items: center;\n\t\tpadding: 1.5rem;\n\t\tmax-width: 69.5rem;\n\t\tmargin: 0 auto;\n\t\ttext-align: right;\n\n\t\t@include respond-to('small') {\n\t\t\tgrid-template-columns: 1fr 175px;\n\t\t}\n\n\t\t@include respond-to('medium') {\n\t\t\tgrid-template-columns: 1fr 250px;\n\t\t}\n\n\t\t@include respond-to('large') {\n\t\t\tgrid-template-columns: 1fr 250px;\n\t\t}\n\n\t\th2 {\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t}\n\t}\n\n\t.has-logo-wrapper {\n\t\ttext-align: left;\n\n\t\timg {\n\t\t\tmax-width: 100%;\n\t\t\theight: auto;\n\t\t}\n\t}\n\n\t.header__btn-wrap {\n\t\t@include respond-to('small') {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\n\t.has-admin-preview {\n\t\tli {\n\t\t\tdisplay: list-item;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tmargin-bottom: 5px;\n\t\t}\n\n\t\ta {\n\t\t\tdisplay: inline-block;\n\t\t\tposition: relative;\n\t\t\tcolor: $link_color;\n\t\t\ttransition: all 0.3s ease-in-out;\n\t\t\ttext-decoration: none;\n\n\t\t\t&:after {\n\t\t\t\ttransition: all 0.3s ease-in-out;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\topacity: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tbottom: -5px;\n\t\t\t\tleft: 0;\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 2px;\n\t\t\t\tbackground: $link_color_hover;\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\tcolor: $link_color_hover;\n\t\t\t\t&:after {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Button styles stolen from QuotesDLX */\n.header__btn-wrap {\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\tflex-wrap: wrap;\n\tmax-width: 100%;\n\tmargin-top: 15px;\n\n\t@include respond-to('small') {\n\t\tmax-width: 250px;\n\t\tmargin-top: 0;\n\t}\n\n\t@include respond-to('medium') {\n\t\tmax-width: 250px;\n\t\tmargin-top: 0;\n\t}\n\n\t@include respond-to('large') {\n\t\tmax-width: 250px;\n\t\tmargin-top: 0;\n\t}\n\n\t&.left,\n\t&.right,\n\t&.center {\n\t\tdisplay: flex;\n\t}\n\t&.left {\n\t\tjustify-content: flex-start;\n\t}\n\t&.center {\n\t\tjustify-content: center;\n\t}\n\t&.right {\n\t\tjustify-content: flex-end;\n\t}\n\tbutton,\n\t.has__btn-primary {\n\t\twidth: 100%;\n\t\ttext-align: center;\n\t\tmargin-bottom: 0px;\n\t\tborder-radius: 2px;\n\t\tfont-size: 1.3em;\n\t\tdisplay: inline-block;\n\t\tbackground: #fff;\n\t\tcolor: #4f4f4f;\n\t\tborder: 2px solid #4f4f4f;\n\t\tpadding: 10px 20px;\n\t\tcursor: pointer;\n\t\ttransition: all 0.4s ease-in-out;\n\t\ttext-decoration: none;\n\n\t\t&:not([disabled]):hover {\n\t\t\tborder-radius: 2px;\n\t\t\tbackground: #4f4f4f;\n\t\t\tcolor: #fff;\n\t\t\tborder-color: #fff;\n\t\t\ttext-decoration: none;\n\t\t\ttransition: all 0.4s ease-in-out;\n\t\t}\n\t}\n\t.has__btn-primary {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\n\t\tmargin-bottom: 15px;\n\n\t\t&:last-child {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\t}\n}\n\n.has-admin-container-footer {\n\tfooter {\n\t\tbackground: #4f4f4f;\n\t}\n\n\t.has-admin-container-wrap {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\tmargin: 0 auto;\n\t\tmax-width: 275px;\n\t\tmargin: 0 auto;\n\t\tpadding: 4em 0;\n\t}\n\n\t.footer-rate-icon,\n\t.has-plea {\n\t\tdisplay: block;\n\t\tfont-style: italic;\n\t\tcolor: #fff;\n\t}\n\t.has__btn-primary {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\ttext-align: center;\n\t\tmargin-bottom: 0px;\n\t\tborder-radius: 2px;\n\t\tfont-size: 1.3em;\n\t\tline-height: 1.35em;\n\t\tbackground: #f08ea5;\n\t\tcolor: #fff;\n\t\tborder: 2px solid #f5a4b7;\n\t\tpadding: 10px 20px;\n\t\tcursor: pointer;\n\t\ttransition: all 0.4s ease-in-out;\n\t\ttext-decoration: none;\n\t\tmargin-top: 18px;\n\t\tmargin-bottom: 18px;\n\n\t\t&:not([disabled]):hover {\n\t\t\tborder-radius: 2px;\n\t\t\tbackground: #4f4f4f;\n\t\t\tcolor: #fff;\n\t\t\tborder-color: #f08ea5;\n\t\t\ttext-decoration: none;\n\t\t\ttransition: all 0.4s ease-in-out;\n\t\t}\n\t}\n}\n\n/* Admin panel content container styles */\nh2.has-admin-content-subheading {\n\tposition: relative;\n\tfont-size: 1.65em;\n\tmargin-bottom: 1.3em;\n\n\t& ~ .description {\n\t\tmargin-bottom: 1.3em;\n\t}\n\t&:after {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\theight: 2px;\n\t\tbackground: #dcdcde;\n\t\tposition: absolute;\n\t\tbottom: -15px;\n\t\tleft: 0;\n\t}\n}\n\n.has-admin-content-wrapper {\n\t.components-base-control__help {\n\t\tfont-size: 0.95em;\n\t}\n\tp.description {\n\t\tfont-size: 1.1em;\n\t}\n\t.has-admin-component-row,\n\t.has-admin-component-row .components-select-control {\n\t\t.components-has-units-control-label__units,\n\t\tlabel {\n\t\t\tdisplay: block;\n\t\t\tfont-weight: 600;\n\t\t\ttext-transform: unset;\n\t\t\tfont-size: 14px;\n\t\t}\n\t}\n\t.has-admin-colors-tabs h3,\n\t.has-color-component-label {\n\t\tdisplay: block;\n\t\tfont-weight: 600;\n\t\ttext-transform: unset;\n\t\tfont-size: 14px;\n\t}\n\t.has-admin-component-row .components-select-control {\n\t\tmargin-bottom: 15px;\n\t}\n\t.has-admin-component-row.has-descriptio {\n\t\tmargin-bottom: 15px;\n\t}\n}\n\n/* Admin text controls */\n.has-admin__text-control {\n\tinput[type='text'],\n\tinput[type='password'] {\n\t\tmax-width: 350px;\n\t\twidth: 100%;\n\t\tbackground-color: #fff;\n\t\tborder-radius: 3px;\n\t\tfont-family: inherit;\n\t\tfont-size: 0.875rem;\n\t\tline-height: 1.25rem;\n\t\tpadding: 5px 10px;\n\t\tline-height: 2;\n\t\tmin-height: 24px;\n\t\tmargin: 0;\n\t\toutline-style: none;\n\t\tbox-sizing: border-box;\n\t}\n}\n\n/* Admin Radio component */\n.components-radio-control {\n\tinput[type='radio'] {\n\t\t& ~ label {\n\t\t\tdisplay: inline-block;\n\t\t\tmargin-left: 5px;\n\t\t}\n\t}\n\t.components-radio-control__option {\n\t\tmargin-bottom: 8px;\n\t}\n}\n\n/* Is required notice */\n.is-required {\n\tposition: relative;\n\n\tlabel {\n\t\tposition: relative;\n\t\tdisplay: inline-block !important;\n\t}\n\tinput {\n\t\tdisplay: block !important;\n\t}\n\n\tlabel::after {\n\t\tposition: absolute;\n\t\tdisplay: inline-block;\n\t\tvertical-align: middle;\n\t\tcontent: '*';\n\t\ttop: 0;\n\t\tright: -12px;\n\t\tcolor: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\tfont-size: 1.4em;\n\t\tline-height: 1.3;\n\t}\n\n\t.not-is-required::after {\n\t\tdisplay: none;\n\t}\n}\n\n/* Admin Notices */\n/* Error Notices */\n.has-admin__notice {\n\tmargin: 10px 0;\n\t&.has-admin__notice--has-icon {\n\t\t.components-notice__content {\n\t\t\tdisplay: grid;\n\t\t\tgrid-template-columns: 32px 1fr 1px;\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&.has-admin__notice-appearance--inline .components-notice__content {\n\t\t\tdisplay: flex;\n\n\t\t\t.has-admin__notice-icon {\n\t\t\t\tmargin-right: 8px;\n\t\t\t}\n\t\t}\n\t}\n\t.qldx-admin__notice-message {\n\t\tcolor: var(--quotes-dlx-admin--color-dark);\n\t\tfont-size: 1.1em;\n\t\tline-height: 1.2;\n\t\tfont-weight: 500;\n\t}\n\t&.has-admin__notice-appearance--block .components-notice {\n\t\tborder-left: 4px solid transparent;\n\t\tpadding: 15px 0px;\n\t\tpadding-left: 15px;\n\t\tmargin: 0 0 15px 0;\n\t}\n\t&.has-admin__notice-appearance--inline .components-notice {\n\t\tpadding-left: 0;\n\t}\n\n\tsvg {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\twidth: 20px;\n\t\theight: 20px;\n\t}\n\n\t&.has-admin__notice-type--error:not(.has-admin__notice-appearance--inline) {\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--error) !important;\n\t\t.components-notice {\n\t\t\tbackground-color: var(--quotes-dlx-admin--color-notice--error) !important;\n\t\t\tborder-left-color: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\t}\n\t\tsvg path {\n\t\t\tfill: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\t}\n\t}\n\t&.has-admin__notice-type--error.has-admin__notice-appearance--inline {\n\t\t.qldx-admin__notice-message {\n\t\t\tcolor: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\t}\n\t\t.qldx-admin__notice-message {\n\t\t\tfont-size: 0.9em;\n\t\t}\n\n\t\tsvg {\n\t\t\twidth: 16px;\n\t\t\theight: 16px;\n\t\t\tpath {\n\t\t\t\tfill: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\t\t}\n\t\t}\n\t}\n\t&.has-admin__notice-type--success {\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--success);\n\t\t.components-notice {\n\t\t\tborder-left-color: var(--quotes-dlx-admin--color-notice--success-alt);\n\t\t}\n\t\tsvg path {\n\t\t\tfill: var(--quotes-dlx-admin--color-notice--success-alt);\n\t\t}\n\t}\n\t&.has-admin__notice-type--info {\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--info);\n\t\t.components-notice {\n\t\t\tborder-left-color: var(--quotes-dlx-admin--color-notice--info-alt);\n\t\t}\n\t\tsvg path {\n\t\t\tfill: var(--quotes-dlx-admin--color-notice--info-alt);\n\t\t}\n\t}\n\t&.has-admin__notice-type--warning {\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--warning);\n\t\t.components-notice {\n\t\t\tborder-left-color: var(--quotes-dlx-admin--color-notice--warning-alt);\n\t\t}\n\t\tsvg path {\n\t\t\tfill: var(--quotes-dlx-admin--color-notice--warning-alt);\n\t\t}\n\t}\n\t&.has-admin__notice-animate--fadein {\n\t\theight: 0;\n\t\topacity: 0;\n\t\tanimation: has-fade-in 0.6s ease-in-out;\n\t\topacity: 1;\n\t\theight: auto;\n\t}\n\t&.has-admin__notice-animate--fadeout {\n\t\theight: auto;\n\t\topacity: 1;\n\t\tanimation: has-fade-out 0.6s ease-in-out;\n\t\topacity: 0;\n\t\theight: 0;\n\t}\n\t&.has-admin__notice-animate--fadeinout {\n\t\tanimation-name: has-fade-in, has-fade-out;\n\t\tanimation-duration: 0.6s;\n\t\tanimation-delay: 0s, 2s;\n\t}\n}\n\n.has-error {\n\tinput.components-text-control__input {\n\t\tborder: 1px solid var(--quotes-dlx-admin--color-notice--error-alt);\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--error);\n\t}\n}\n\n/* Buttons */\n.has-admin__tabs--content-actions,\n.has-admin__tabs--content-actions-inline {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tpadding-top: 25px;\n\n\t&.has-admin__tabs--content-actions-inline {\n\t\tpadding-top: 0;\n\t}\n\n\t.has-admin__tabs--content-actions--left {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-start;\n\n\t\tbutton {\n\t\t\tmargin-right: 10px;\n\t\t\t&:last-child {\n\t\t\t\tmargin-right: 0;\n\t\t\t}\n\t\t}\n\t}\n\t.has-admin__tabs--content-actions--right {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t}\n\n\t&.no-flex {\n\t\tdisplay: block;\n\t}\n\n\t.has-admin-reset-confirmation {\n\t\tpadding-bottom: 20px;\n\t}\n\n\tbutton {\n\t\tbackground: #ffffff;\n\t\tcolor: #017e01;\n\t\tborder: 1px solid #017e01;\n\t\tpadding: 10px 20px;\n\t\tcursor: pointer;\n\n\t\t&:hover {\n\t\t\tbackground: #e9ece6;\n\t\t\tcolor: #005200;\n\t\t\tborder-color: #006400;\n\t\t}\n\n\t\t&.has-error {\n\t\t\tborder: 1px solid #bc2b2c;\n\t\t\tborder-color: #bc2b2c !important;\n\t\t\t&:hover {\n\t\t\t\tcursor: not-allowed;\n\t\t\t}\n\t\t}\n\n\t\t&.has__btn-danger {\n\t\t\tbackground: #ffffff;\n\t\t\tcolor: #822700;\n\t\t\tborder-color: #822700;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: #ece6e6;\n\t\t\t\tcolor: #822700;\n\t\t\t\tborder-color: #822700;\n\t\t\t}\n\t\t}\n\n\t\t&.has__btn-secondary {\n\t\t\tbackground: #ffffff;\n\t\t\tcolor: #333;\n\t\t\tborder-color: #333;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: rgb(235, 235, 235);\n\t\t\t\tcolor: #333;\n\t\t\t\tborder-color: #333;\n\t\t\t}\n\t\t}\n\n\t\t&.has__btn--icon-right {\n\t\t\tsvg {\n\t\t\t\twidth: 16px;\n\t\t\t\theight: 16px;\n\t\t\t\tpath {\n\t\t\t\t\tfill: #000;\n\t\t\t\t}\n\t\t\t\tmargin-left: 8px;\n\t\t\t}\n\t\t\t&.is-saving {\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: center;\n\t\t\t\talign-items: center;\n\t\t\t\tsvg {\n\t\t\t\t\twidth: 24px;\n\t\t\t\t\theight: 24px;\n\t\t\t\t\tanimation: has-spin 1s linear infinite;\n\t\t\t\t\tpath {\n\t\t\t\t\t\tfill: #017e01;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t&.is-resetting {\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tsvg {\n\t\t\t\t\twidth: 24px;\n\t\t\t\t\theight: 24px;\n\t\t\t\t\tanimation: has-spin 1s linear infinite;\n\t\t\t\t\tpath {\n\t\t\t\t\t\tfill: #822700;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Social Icons for Reorder */\n.has-admin-theme-reorder-list {\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tli {\n\t\tdisplay: flex;\n\t\theight: 52px;\n\t\twidth: 52px;\n\t\tbackground: #fff !important;\n\t\tborder: 1px solid #e5e5e5;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tmargin-right: 8px;\n\n\t\t&:hover {\n\t\t\tcursor: move;\n\t\t\tbackground: #f4f4f4 !important;\n\t\t}\n\t\t&.is-dragging {\n\t\t\topacity: 0.2;\n\t\t}\n\t\t&.is-over {\n\t\t\ttransform: scale(1.2);\n\t\t\tborder: 1px dashed #000;\n\t\t}\n\t}\n\tsvg {\n\t\twidth: 26px;\n\t\theight: 26px;\n\t}\n}\n\n/* Color Component (forked from @GenerateBlocks) */\n.has-component-color-picker-wrapper,\n.qdlx-admin__tabs--content-inner\n\t.components-base-control.has-component-color-picker-wrapper {\n\ttext-align: left;\n\tmargin-bottom: 16px;\n\tmargin-top: 2px;\n\n\t> .components-base-control__field {\n\t\tposition: relative;\n\t\tdisplay: inline-grid;\n\t\tgrid-template-columns: 175px 30px;\n\t\trow-gap: 2;\n\t\tmargin: 0 auto;\n\t\tjustify-content: space-between;\n\t\ttext-align: left;\n\t\tfont-weight: 600;\n\t\tmargin-bottom: 8px;\n\t\talign-items: center;\n\n\t\t.components-color-palette__item-wrapper {\n\t\t\tmargin: 0;\n\t\t}\n\t}\n\t.has-color-component-label {\n\t\tline-height: 1.2;\n\t}\n}\n.components-popover.has-component-color-picker {\n\t.has-component-color-picker-palette {\n\t\tpadding: 0 16px;\n\n\t\tbutton.components-circular-option-picker__option {\n\t\t\tborder-radius: 50%;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\t\t.components-circular-option-picker__swatches {\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tgap: 12px;\n\t\t}\n\t\t.components-circular-option-picker__option-wrapper {\n\t\t\tdisplay: inline-block;\n\t\t\theight: 28px;\n\t\t\twidth: 28px;\n\t\t\tvertical-align: top;\n\t\t\ttransition: 100ms transform ease;\n\t\t}\n\t}\n\n\t.components-base-control__field,\n\t.components-color-palette {\n\t\tmargin: 0;\n\t}\n\n\t.components-color-picker {\n\t\tpadding: 5px;\n\t}\n\n\t.components-color-picker__inputs-toggle {\n\t\tdisplay: none;\n\t}\n\n\t.components-color-picker__body {\n\t\tpadding-bottom: 0;\n\t}\n\n\t.components-popover__content {\n\t\tpadding: 10px;\n\t\twidth: 300px;\n\t}\n\n\t.components-color-picker__inputs-fields {\n\t\tmargin-right: 0;\n\t}\n\n\t.components-color-clear-color {\n\t\ttext-align: right;\n\t\tpadding: 0 16px;\n\t\tcolor: var(--quotes-dlx-admin--color-dark);\n\t}\n}\n\n.components-circular-option-picker__option.is-pressed {\n\tbox-shadow: inset 0 0 0 4px !important;\n}\n\n.has-component-color-opacity {\n\tdisplay: flex;\n\tpadding: 0 16px;\n\tmargin: 10px 0;\n\n\tsvg {\n\t\twidth: 28px;\n\t\theight: 28px;\n\t}\n\n\t.components-range-control {\n\t\tflex-grow: 1;\n\t\tpadding-left: 5px;\n\t}\n}\n\n.components-popover__content {\n\tbackground: #fff;\n\tborder: 1px solid #ccc;\n\tbox-shadow: 0 2px 6px rgb(0 0 0 / 5%);\n\tborder-radius: 2px;\n\twidth: auto !important;\n}\n\n.components-circular-option-picker__option-wrapper {\n\tposition: relative;\n\n\t&:hover {\n\t\ttransform: scale(1.3);\n\t}\n}\n\n/* Dimensions Component */\n.has-admin-content-wrapper\n\t.has-admin-component-row\n\t.components-has-dimensions-control {\n\tdisplay: inline-block;\n\tmargin-bottom: 16px;\n\tlabel {\n\t\tdisplay: none;\n\t}\n\n\t.components-has-dimensions-control__inputs {\n\t\tdisplay: inline-grid;\n\t\tgrid-template-columns: 55px 55px 55px 55px 1fr;\n\t\ttext-align: center;\n\t}\n\n\t.components-has-dimensions-control__number {\n\t\tdisplay: inline;\n\n\t\t.components-base-control__field {\n\t\t\tdisplay: inline;\n\t\t}\n\t}\n\tinput[type='number'] {\n\t\twidth: 100%;\n\t}\n}\n/* Sync button */\n.has-admin-content-wrapper\n\t.components-has-dimensions-control_sync.components-button {\n\theight: 100%;\n}\n\n/* Dimensions labels */\n.has-admin-content-wrapper .components-has-dimensions-control__input-labels {\n\tdisplay: none;\n}\n\n/* Unit Picker Component - Forked from @GenerateBlocks */\n.components-has-units-control-header__units {\n\tmargin-bottom: 5px;\n}\n\n.components-has-dimensions-control {\n\t.components-has-control__units {\n\t\ttext-align: right;\n\t\t.components-has-control-buttons__units {\n\t\t\tbutton.components-button {\n\t\t\t\tbackground: transparent;\n\t\t\t\tbox-shadow: none !important;\n\t\t\t\tcolor: #929da7;\n\t\t\t\tfont-size: 10px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\tposition: relative;\n\t\t\t\ttext-align: center;\n\t\t\t\ttext-shadow: none;\n\t\t\t\tborder: 0;\n\t\t\t\tborder-radius: 0 !important;\n\t\t\t\tline-height: 20px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\theight: auto;\n\n\t\t\t\t&.is-primary {\n\t\t\t\t\tbackground: transparent !important;\n\t\t\t\t\tcolor: #000 !important;\n\t\t\t\t\tcursor: default;\n\t\t\t\t\tz-index: 1;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Appearance Social Network Tabs */\n.has-admin-colors-tabs-panel {\n\tmargin-bottom: 20px;\n\n\t.components-tab-panel__tabs,\n\t.components-button.components-tab-panel__tabs-item {\n\t\tborder-style: solid;\n\t\tborder-color: #ccc;\n\t}\n\n\t.components-tab-panel__tabs {\n\t\tmargin-bottom: 20px;\n\t\tflex-wrap: wrap;\n\t\tborder-width: 2px 0 0 2px;\n\t}\n\n\t.components-tab-panel__tabs-item {\n\t\tbackground: #eee;\n\t\tborder-right: 0;\n\t\tflex: 1 0 auto;\n\t\tborder-width: 0 2px 2px 0;\n\t\ttext-align: center;\n\t\tjustify-content: center;\n\n\t\t&.active-tab {\n\t\t\tbackground: var(--wp-admin-theme-color);\n\t\t\tcolor: #fff;\n\t\t}\n\n\t\t&:focus {\n\t\t\tbox-shadow: none;\n\t\t}\n\t}\n}\n.has-tab-color-picker-wrapper {\n\tdisplay: grid;\n\tgrid-template-columns: 250px 250px;\n\n\t@media (max-width: 500px) {\n\t\tgrid-template-columns: 1fr;\n\t}\n}\n\n/* Theme Dropdown */\n/* Theme Options Select Dropdown and Go Button */\n/* Lots of importants here to override core styles */\n.has-admin__theme-select {\n\tposition: relative;\n\tpadding-bottom: 0px;\n\n\tselect {\n\t\tappearance: none;\n\t\toutline: 0;\n\t\tborder: 0;\n\t\tbox-shadow: none;\n\t\tdisplay: flex;\n\t\tflex: 1 !important;\n\t\tmin-height: 45px !important;\n\t\tmax-height: 45px !important;\n\t\tfont-size: 1.2em !important;\n\t\tline-height: 1.5em !important;\n\t\talign-items: center;\n\t\tcolor: #333 !important;\n\t\tbackground-color: #fff !important;\n\t\tbackground-image: none;\n\t\tcursor: pointer;\n\t\tmax-width: 100% !important;\n\t\tpadding-left: 20px !important;\n\t}\n\t.components-input-control__container {\n\t\tposition: relative;\n\t\tdisplay: flex !important;\n\t\twidth: 100% !important;\n\t\tborder-radius: 0.25em;\n\t\toverflow: hidden;\n\t\talign-items: center;\n\n\t\t&:after {\n\t\t\tcontent: '\\25BC';\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tright: 0;\n\t\t\tmin-height: 45px !important;\n\t\t\tmax-height: 45px !important;\n\t\t\twidth: 4em !important;\n\t\t\tbackground-color: #4f4f4f;\n\t\t\ttransition: 0.25s all ease;\n\t\t\tpointer-events: none;\n\t\t\tcolor: #fff;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t}\n\t\t&:hover:after {\n\t\t\tcolor: #fff;\n\t\t}\n\t}\n\n\t.components-base-control__field {\n\t\tmargin-bottom: 0 !important;\n\t}\n\n\tbutton.qdlx__btn {\n\t\tpadding: 12px 10px;\n\t\tborder: 2px solid var(--quotes-dlx-admin--color-accent);\n\t\tcolor: var(--quotes-dlx-admin--color-accent);\n\t\tmax-height: 45px;\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tpadding: 12px 10px;\n\t\t\tbackground: #f8f7fe;\n\t\t\tborder: 2px solid var(--quotes-dlx-admin--color-accent);\n\t\t\tcolor: var(--quotes-dlx-admin--color-accent);\n\t\t}\n\t}\n}\n\n/* Admin loading icon */\n.has-load-static-svg {\n\tsvg {\n\t\tanimation: has-spin;\n\t\tanimation-duration: 1.5s;\n\t\tanimation-iteration-count: infinite;\n\t\tanimation-timing-function: linear;\n\t}\n}\n\n/* Range Control Component */\n.has-admin__range-control {\n\tmax-width: 450px;\n\n\tspan > span {\n\t\tbackground-color: #4f4f4f !important;\n\t}\n}\n\n/* Preview List Padding/Margin */\n.has-admin-theme-preview-list {\n\tdisplay: inline-flex;\n\tflex-wrap: wrap;\n}\n\n/* Appearance Content Wrapper styles */\n.has-admin-container-body__content:has(.has-admin__tabs--content-actions) {\n\tpadding-bottom: 35px;\n\tmargin-bottom: 40px;\n}\n\n/* Has Icon Headline on the Settings page */\nh3.has-icon-heading {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tposition: relative;\n\tfont-size: 1.4em;\n\tfont-weight: 700;\n\tletter-spacing: 0.12em;\n\n\n\tsvg {\n\t\tfont-size: 1.3em;\n\t\tmargin-right: 8px;\n\t\tbackground: #FFF;\n\t\tborder: 1px solid #ddd;\n\t\tbox-shadow: 1px 1px 15px -7px rgba(146, 146, 146, 0.7);\n\t\tpadding: 6px;\n\t}\n}","/* Responsive styles - In hindsight, should've used mobile-first */\n/* Mixin from: https://css-tricks.com/snippets/sass/mixin-manage-breakpoints/ */\n/* It's only used here, so no external file for mixin? */\n$breakpoints: (\n 'xs': 20em,\n 'small': 30em,\n 'medium': 48em,\n 'large': 64em,\n 'xl': 75em,\n 'xxl': 81.25em\n) !default;\n\n@mixin respond-to($breakpoint) {\n\t// If the key exists in the map\n\t@if map-has-key($breakpoints, $breakpoint) {\n\t // Prints a media query based on the value\n\t @media (min-width: map-get($breakpoints, $breakpoint)) {\n\t\t@content;\n\t }\n\t}\n \n\t// If the key doesn't exist in the map\n\t@else {\n\t @warn \"Unfortunately, no value could be retrieved from `#{$breakpoint}`. \"\n\t\t + \"Available breakpoints are: #{map-keys($breakpoints)}.\";\n\t}\n }",":root {\n\t--quotes-dlx-admin--color-white: #ffffff;\n\t--quotes-dlx-admin--color-dark: #393838;\n\t--quotes-dlx-admin--color-dark-darker: #191c1f;\n\t--quotes-dlx-admin--color-gray: #dddddd;\n\t--quotes-dlx-admin--color-gray-light: #f5f5f5;\n\t--quotes-dlx-admin--color-green: #006400;\n\t--quotes-dlx-admin--color-green-light: #e9ece6;\n\t--quotes-dlx-admin--color-green-alt: #017e01;\n\t--quotes-dlx-admin--color-green-vivid: #009700;\n\t--quotes-dlx-admin--color-green-dark: #005200;\n\t--quotes-dlx-admin--color-red: #641e00;\n\t--quotes-dlx-admin--color-red-alt: #822700;\n\t--quotes-dlx-admin--color-red-light: #ece6e6;\n\t--quotes-dlx-admin--color-red--required: #b53b07;\n\t--quotes-dlx-admin--color-background: #fefdfa;\n\t--quotes-dlx-admin--color-accent: #8019c4;\n\t--quotes-dlx-admin--color-text-color: #6f6f6f;\n\t--quotes-dlx-admin--color-text--alt-color: #874c9e;\n\t--quotes-dlx-admin--color-text-link-color: #874c9e;\n\t--quotes-dlx-admin--color-text-link-color--hover: #9c68b0;\n\t--quotes-dlx-admin--color-anchor: #9949cf;\n\t--quotes-dlx-admin--color-anchor--hover: #8019c4;\n\t--quotes-dlx-admin--color-button-border: #6f6f6f;\n\t--quotes-dlx-admin--color-button-border--hover: #9949cf;\n\t--quotes-dlx-admin--color-button-background: #ffffff;\n\t--quotes-dlx-admin--color-button-background--hover: #ffffff;\n\t--quotes-dlx-admin--color-button-text-color: #6f6f6f;\n\t--quotes-dlx-admin--color-button-text-color--hover: #9949cf;\n\t--quotes-dlx-admin--color-button--alt-border: #9c68b0;\n\t--quotes-dlx-admin--color-button--alt-border--hover: #874c9e;\n\t--quotes-dlx-admin--color-button--alt-background: #874c9e;\n\t--quotes-dlx-admin--color-button--alt-background--hover: #9c68b0;\n\t--quotes-dlx-admin--color-button--alt-text-color: #ffffff;\n\t--quotes-dlx-admin--color-button--alt-text-color--hover: #ffffff;\n\t--quotes-dlx-admin--color-nav-border: transparent;\n\t--quotes-dlx-admin--color-nav-border--active: #e3e6ef;\n\t--quotes-dlx-admin--color-nav-background: transparent;\n\t--quotes-dlx-admin--color-nav-background--active: #ffffff;\n\t--quotes-dlx-admin--color-nav-icon: #242748;\n\t--quotes-dlx-admin--color-nav-icon--hover: #9949cf;\n\t--quotes-dlx-admin--color-nav-icon--active: #a774c9;\n\t--quotes-dlx-admin--color-nav-text: #5b5e80;\n\t--quotes-dlx-admin--color-nav-text--hover: #242748;\n\t--quotes-dlx-admin--color-skeleton--base: #dad4eb;\n\t--quotes-dlx-admin--color-skeleton--highlight: #cbc3e3;\n\t--quotes-dlx-admin--color-notice--info: #e3f3f7;\n\t--quotes-dlx-admin--color-notice--info-alt: #3a8dc4;\n\t--quotes-dlx-admin--color-notice--success: #eaf5ea;\n\t--quotes-dlx-admin--color-notice--success-alt: #49a939;\n\t--quotes-dlx-admin--color-notice--warning: #fef6e1;\n\t--quotes-dlx-admin--color-notice--warning-alt: #e8a931;\n\t--quotes-dlx-admin--color-notice--error: #f5e5e4;\n\t--quotes-dlx-admin--color-notice--error-alt: #bc2b2c;\n\t--quotes-dlx-admin--color-notice--secondary: #e2e3e5;\n\t--quotes-dlx-admin--color-notice--secondary-alt: #41464b;\n}"],"names":[],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"has-admin-style.css","mappings":";;;AAAA,gBAAgB;AAChB;;EAEE;AACF;;EAEE;AACF;;;;;;EAME;AACF;;EAEE;AACF;;EAEE;AACF;;;EAGE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;;EAGE;AACF;;;;;CAKC;AACD;;EAEE;AACF;;;;;EAKE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;EAEE;AACF;;;EAGE;AACF;;EAEE;AACF;EACE,+BAA+B;EAC/B,wCAAwC;EACxC,yCAAyC;EACzC,kDAAkD;EAClD,yCAAyC;EACzC,iDAAiD;EACjD,kCAAkC;AACpC;AACA;EACE;IACE,oCAAoC;EACtC;AACF;;AAEA;EACE,kFAAkF;EAClF,6BAA6B;AAC/B;AACA;EACE;IACE,uBAAuB;IACvB,mBAAmB;EACrB;AACF;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,8BAA8B;AAChC;;AAEA;EACE;IACE,+CAA+C;EACjD;EACA;IACE,6CAA6C;EAC/C;AACF;AACA;EACE,iFAAiF;EACjF,6BAA6B;AAC/B;AACA;EACE;IACE,uBAAuB;IACvB,mBAAmB;EACrB;AACF;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,4BAA4B;AAC9B;;AAEA;EACE;IACE,yBAAyB;EAC3B;AACF;AACA;EACE,gEAAgE;AAClE;;AAEA;EACE;IACE,YAAY;EACd;EACA;IACE,UAAU;EACZ;EACA;IACE,YAAY;EACd;AACF;AACA;EACE,aAAa;EACb,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,YAAY;EACZ,gBAAgB;EAChB,gBAAgB;EAChB,WAAW;AACb;AACA;EACE,gFAAgF;AAClF;;AAEA;EACE,qBAAqB;AACvB;AACA;EACE,gBAAgB;EAChB,oBAAoB;EACpB,cAAc;EACd,mCAAmC;AACrC;AACA;EACE,iBAAiB;AACnB;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,kBAAkB;EAClB,UAAU;AACZ;AACA;EACE,mCAAmC;AACrC;;AAEA;EACE,oBAAoB;EACpB,qBAAqB;EACrB,oBAAoB;EACpB,mBAAmB;EACnB,eAAe;EACf,SAAS;EACT,SAAS;EACT,eAAe;EACf,wBAAwB;EACxB,gBAAgB;EAChB,kCAAkC;EAClC,YAAY;EACZ,mBAAmB;EACnB,sBAAsB;EACtB,iBAAiB;EACjB,kBAAkB;EAClB,cAAc;EACd;;IAEE;EACF;;IAEE;EACF;;IAEE;EACF;;IAEE;EACF;;IAEE;EACF;;IAEE;AACJ;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE,8EAA8E;AAChF;AACA;EACE,cAAc;AAChB;AACA;EACE,4HAA4H;EAC5H,8BAA8B;AAChC;AACA;EACE,mBAAmB;EACnB,mFAAmF;EACnF,WAAW;EACX,qBAAqB;EACrB,iBAAiB;EACjB,8BAA8B;AAChC;AACA;EACE,uGAAuG;EACvG,WAAW;AACb;AACA;EACE,uGAAuG;EACvG,yGAAyG;EACzG,WAAW;AACb;AACA;EACE,kJAAkJ;AACpJ;AACA;EACE,+BAA+B;EAC/B,mFAAmF;EACnF,qFAAqF;EACrF,UAAU;EACV,aAAa;AACf;AACA;EACE,6GAA6G;AAC/G;AACA;EACE,WAAW;EACX,2BAA2B;EAC3B,sBAAsB;EACtB,qYAAqY;EACrY,qBAAqB;EACrB,qFAAqF;AACvF;AACA;EACE,8BAA8B;AAChC;AACA;EACE,gBAAgB;EAChB,kGAAkG;EAClG,gBAAgB;AAClB;AACA;EACE,kGAAkG;EAClG,uHAAuH;AACzH;AACA;EACE,cAAc;EACd,mBAAmB;EACnB,eAAe;EACf,UAAU;EACV,gBAAgB;EAChB,aAAa;AACf;AACA;EACE,mGAAmG;EACnG,8BAA8B;EAC9B,mBAAmB;EACnB,8EAA8E;EAC9E,uBAAuB;AACzB;AACA;EACE,mBAAmB;EACnB,8EAA8E;EAC9E,uBAAuB;EACvB,YAAY;AACd;AACA;EACE,qBAAqB;EACrB,cAAc;AAChB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,qCAAqC;EACrC,+CAA+C;EAC/C,+CAA+C;AACjD;AACA;EACE,cAAc;EACd,mCAAmC;AACrC;AACA;EACE,cAAc;AAChB;AACA;EACE,4DAA4D;AAC9D;AACA;EACE,gBAAgB;AAClB;AACA;EACE,SAAS;EACT,UAAU;EACV,gBAAgB;EAChB,SAAS;EACT,gBAAgB;EAChB,gBAAgB;EAChB,aAAa;EACb,gBAAgB;EAChB,8EAA8E;EAC9E,0BAA0B;EAC1B,8CAA8C;EAC9C,0BAA0B;EAC1B,uCAAuC;EACvC,YAAY;AACd;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE,kBAAkB;AACpB;AACA;EACE,cAAc;AAChB;AACA;EACE,eAAe;EACf,YAAY;AACd;AACA;EACE,mEAAmE;EACnE,UAAU;EACV,2BAA2B;EAC3B,sBAAsB;EACtB,6FAA6F;EAC7F,qBAAqB;AACvB;AACA;EACE,YAAY;EACZ,iBAAiB;EACjB,cAAc;EACd,eAAe;AACjB;AACA;EACE,UAAU;EACV,WAAW;EACX,eAAe;AACjB;AACA;EACE,YAAY;EACZ,eAAe;EACf,uBAAuB;AACzB;AACA;EACE,qBAAqB;EACrB,cAAc;EACd,gBAAgB;EAChB,iBAAiB;AACnB;AACA;EACE,sBAAsB;AACxB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,kBAAkB;AACpB;AACA;EACE,WAAW;EACX,mBAAmB;AACrB;AACA;EACE,kJAAkJ;EAClJ,8BAA8B;AAChC;AACA;EACE,WAAW;EACX,mBAAmB;AACrB;AACA;EACE,kBAAkB;EAClB,aAAa;AACf;AACA;EACE;IACE,gBAAgB;EAClB;AACF;AACA;EACE,YAAY;AACd;;AAEA;EACE;IACE,4BAA4B;EAC9B;AACF;AACA;EACE,gIAAgI;EAChI,gBAAgB;EAChB,6BAA6B;EAC7B,kCAAkC;EAClC,kBAAkB;EAClB,yBAAyB;EACzB,0DAA0D;EAC1D,eAAe;EACf,+CAA+C;EAC/C,mBAAmB;EACnB,yBAAyB;EACzB,kBAAkB;EAClB,gBAAgB;EAChB,kBAAkB;EAClB,gBAAgB;EAChB,cAAc;EACd,WAAW;EACX,eAAe;EACf,qBAAqB;EACrB,cAAc;EACd,iBAAiB;EACjB,UAAU;EACV,qBAAqB;EACrB,kBAAkB;EAClB,mBAAmB;EACnB,WAAW;EACX,YAAY;EACZ,wBAAwB;UAChB,gBAAgB;EACxB,yCAAyC;AAC3C;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE;IACE,eAAe;IACf,+CAA+C;IAC/C,mBAAmB;EACrB;AACF;AACA;EACE,yCAAyC;EACzC,iDAAiD;EACjD,8BAA8B;AAChC;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,UAAU;EACV,6BAA6B;AAC/B;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,iEAAiE;EACjE,8BAA8B;AAChC;AACA;EACE,uCAAuC;EACvC,yCAAyC;AAC3C;AACA;EACE,UAAU;AACZ;AACA;EACE,iBAAiB;EACjB,WAAW;AACb;AACA;EACE;IACE,qBAAqB;EACvB;AACF;AACA;EACE,uCAAuC;EACvC,yCAAyC;AAC3C;AACA;EACE,YAAY;EACZ,WAAW;EACX,qBAAqB;EACrB,sBAAsB;EACtB,WAAW;EACX,sBAAsB;EACtB,6BAA6B;EAC7B,qBAAqB;EACrB,WAAW;EACX,mCAAmC;EACnC,kCAAkC;AACpC;AACA;EACE;IACE,WAAW;IACX,eAAe;EACjB;AACF;AACA;EACE;IACE,YAAY;IACZ,WAAW;EACb;AACF;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE,iEAAiE;EACjE,8BAA8B;AAChC;AACA;EACE,uCAAuC;EACvC,yCAAyC;AAC3C;AACA;EACE,UAAU;AACZ;AACA;EACE,aAAa;AACf;;AAEA;EACE,kBAAkB;EAClB,qBAAqB;EACrB,kBAAkB;EAClB,sBAAsB;EACtB,WAAW;EACX,YAAY;AACd;AACA;EACE;IACE,WAAW;IACX,YAAY;EACd;AACF;;AAEA;;EAEE,UAAU;EACV,eAAe;EACf,kBAAkB;EAClB,OAAO;EACP,MAAM;EACN,WAAW;EACX,YAAY;EACZ,yBAAyB;UACjB,iBAAiB;EACzB,oBAAoB;AACtB;AACA;EACE;;IAEE,UAAU;IACV,SAAS;EACX;AACF;;AAEA;EACE,qBAAqB;EACrB,WAAW;EACX,gBAAgB;AAClB;AACA;EACE,aAAa;EACb,yBAAyB;EACzB,gBAAgB;AAClB;AACA;EACE,aAAa;EACb,eAAe;EACf,SAAS;AACX;;AAEA;EACE,qBAAqB;EACrB,YAAY;EACZ,WAAW;EACX,mBAAmB;EACnB,mBAAmB;EACnB,gCAAgC;AAClC;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE,qBAAqB;AACvB;AACA;EACE,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,WAAW;EACX,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,WAAW;EACX,UAAU;EACV,kBAAkB;EAClB,WAAW;EACX,oDAAoD;EACpD,mDAAo5C;AACt5C;;AAEA;EACE,qBAAqB;EACrB,mBAAmB;EACnB,YAAY;EACZ,WAAW;EACX,YAAY;EACZ,kBAAkB;EAClB,uBAAuB;EACvB,4BAA4B;EAC5B,iCAAiC;EACjC,eAAe;AACjB;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE,uCAAuC;AACzC;AACA;EACE,2BAA2B;EAC3B,kBAAkB;EAClB,UA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a;EACb,cAAc;AAChB;;AAEA;EACE,qBAAqB;EACrB,YAAY;EACZ,WAAW;EACX,YAAY;AACd;;AAEA;EACE,YAAY;AACd;AACA;EACE,gBAAgB;AAClB;AACA;EACE,gBAAgB;EAChB,yBAAyB;EACzB,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,UAAU;AACZ;;AAEA;EACE,yBAAyB;EACzB,sBAAsB;EACtB,kBAAkB;EAClB,aAAa;EACb,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EACf,cAAc;EACd,UAAU;EACV,kBAAkB;EAClB,gBAAgB;AAClB;AACA;EACE,aAAa;AACf;;AAEA;EACE,mBAAmB;EACnB,aAAa;EACb,gCAAgC;EAChC,qBAAqB;EACrB,iBAAiB;EACjB,eAAe;EACf,iBAAiB;AACnB;AACA;EACE,YAAY;AACd;AACA;EACE,qCAAqC;AACvC;AACA;EACE,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,iBAAiB;EACjB,kBAAkB;AACpB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,gBAAgB;AAClB;;AAEA;EACE,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,iBAAiB;EACjB,gBAAgB;AAClB;AACA;EACE,mBAAmB;AACrB;AACA;EACE,WAAW;AACb;;AAEA;EACE,YAAY;EACZ,8BAA8B;EAC9B,2BAA2B;AAC7B;;AAEA;EACE,eAAe;EACf,aAAa;EACb,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,eAAe;EACf,UAAU;EACV,uBAAuB;EACvB,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,QAAQ;EACR,SAAS;EACT,OAAO;EACP,WAAW;EACX,kBAAkB;EAClB,UAAU;EACV,kBAAkB;AACpB;AACA;EACE,UAAU;EACV,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;E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,gBAAgB;EAChB,kBAAkB;AACpB;AACA;EACE,yCAAyC;EACzC,iDAAiD;EACjD,8BAA8B;AAChC;AACA;EACE,qBAAqB;EACrB,OAAO;EACP,oBAAoB;EACpB,eAAe;EACf,WAAW;EACX,eAAe;EACf,gBAAgB;EAChB,UAAU;EACV,gBAAgB;EAChB,eAAe;EACf,mBAAmB;EACnB,SAAS;EACT,cAAc;EACd,gBAAgB;AAClB;AACA;EACE;IACE,eAAe;EACjB;AACF;AACA;EACE,aAAa;EACb,gBAAgB;AAClB;AACA;EACE,WAAW;AACb;;AAEA;EACE,eAAe;EACf,kBAAkB;EAClB,cAAc;AAChB;;AAEA;EACE,eAAe;EACf,aAAa;EACb,cAAc;EACd,eAAe;AACjB;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,mBAAmB;AACrB;AACA;;EAEE,cAAc;AAChB;AACA;EACE,kBAAkB;EAClB,mBAAmB;AACrB;AACA;EACE,uBAAuB;EACvB,kCAAkC;AACpC;AACA;EACE,uBAAuB;EACvB,cAAc;EACd,kBAAkB;EAClB,QAAQ;EACR,QAAQ;EACR,UAAU;AACZ;AACA;EACE,cAAc;AAChB;AACA;EACE,cAAc;EACd,0BAA0B;EAC1B,oBAAoB;AACtB;AACA;EACE,cAAc;AAChB;AACA;EACE,eAAe;AACjB;;AAEA;;EAEE,qBAAqB;EACrB,iBAAiB;EACjB,YAAY;EACZ,gBAAgB;EAChB,gBAAgB;EAChB,iDAAiD;AACnD;AACA;EACE;;IAEE,uBAAuB;IACvB,oBAAoB;IACpB,uBAAuB;IACvB,mBAAmB;EACrB;AACF;;AAEA;EACE,0BAA0B;EAC1B,kBAAkB;EAClB,mBAAmB;EACnB,gBAAgB;EAChB,uBAAuB;AACzB;;AAEA;EACE,eAAe;EACf,0BAA0B;EAC1B,cAAc;EACd,cAAc;EACd,iBAAiB;EACjB,iBAAiB;AACnB;AACA;EACE,cAAc;AAChB;;AAEA;EACE,cAAc;EACd,eAAe;EACf,eAAe;EACf,gBAAgB;EAChB,iCAAiC;EACjC,gBAAgB;EAChB,6BAA6B;EAC7B,SAAS;EACT,UAAU;AACZ;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;;AAEA;EACE,cAAc;EACd,cAAc;EACd,eAAe;EACf,gBAAgB;EAChB,SAAS;EACT,eAAe;AACjB;AACA;EACE,uCAAuC;EACvC,WAAW;AACb;;AAEA;EACE,0BAA0B;AAC5B;;AAEA;EACE;IACE,YAAY;EACd;AACF;AACA;EACE,UAAU;EACV,aAAa;EACb,kBAAkB;AACpB;AACA;EACE,aAAa;AACf;AACA;EACE,mBAAmB;EACnB,UAAU;EACV,gBAAgB;EAChB,YAAY;AACd;AACA;EACE,sBAAsB;EACtB,mBAAmB;EACnB,gBAAgB;AAClB;AACA;EACE,UAAU;AACZ;AACA;EACE,aAAa;EACb,sBAAsB;EACtB,8BAA8B;EAC9B,iBAAiB;EACjB,gBAAgB;AAClB;AACA;EACE,aAAa;EACb,sBAAsB;EACtB,uBAAuB;EACvB,kBAAkB;AACpB;AACA;EACE;IACE,iBAAiB;EACnB;AACF;AACA;EACE,qBAAqB;EACrB,aAAa;EACb,YAAY;EACZ,uBAAuB;EACvB,kBAAkB;EAClB,eAAe;EACf,kBAAkB;EAClB,WAAW;AACb;AACA;EACE,SAAS;EACT,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,SAAS;AACX;AACA;EACE,YAAY;EACZ,eAAe;EACf,cAAc;AAChB;;AAEA;EACE,YAAY;EACZ,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;AACnB;AACA;EACE;IACE,YAAY;IACZ,iCAAiC;EACnC;AACF;;AAEA;EACE,YAAY;EACZ,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,gBAAgB;AAClB;AACA;EACE,SAAS;AACX;AACA;EACE,0BAA0B;AAC5B;AACA;EACE,UAAU;AACZ;AACA;EACE,WAAW;EACX,cAAc;EACd,iBAAiB;AACnB;AACA;EACE,WAAW;AACb;;AA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C,eAAe;EACf,aAAa;EACb,wDAAwD;EACxD,6BAA6B;AAC/B;AACA;EACE;IACE,uBAAuB;IACvB,mBAAmB;EACrB;AACF;;AAEA;EACE,SAAS;EACT,WAAW;EACX,gBAAgB;EAChB,2CAA2C;EAC3C,kBAAkB;EAClB,gBAAgB;EAChB,aAAa;AACf;AACA;EACE;IACE,YAAY;IACZ,WAAW;IACX,gBAAgB;IAChB,4BAA4B;IAC5B,8BAA8B;IAC9B,2DAA2D;IAC3D,6BAA6B;EAC/B;AACF;AACA;EACE;IACE,uBAAuB;IACvB,mBAAmB;EACrB;AACF;AACA;EACE;IACE,WAAW;IACX,gBAAgB;EAClB;AACF;AACA;EACE;IACE,eAAe;EACjB;AACF;;AAEA;EACE;IACE,2BAA2B;EAC7B;EACA;IACE,wBAAwB;EAC1B;AACF;AACA;EACE,sBAAsB;EACtB,oCAAoC;EACpC,eAAe;EACf,aAAa;EACb,mBAAmB;EACnB,8BAA8B;EAC9B,mBAAmB;EACnB,YAAY;EACZ,WAAW;EACX,WAAW;EACX,kBAAkB;EAClB,MAAM;EACN,OAAO;AACT;AACA;EACE,iBAAiB;EACjB,gBAAgB;AAClB;AACA;EACE,cAAc;EACd,SAAS;AACX;AACA;EACE,kBAAkB;EAClB,SAAS;AACX;AACA;EACE,yBAAyB;AAC3B;AACA;EACE,aAAa;AACf;;AAEA;EACE,mBAAmB;EACnB,YAAY;EACZ,aAAa;EACb,mBAAmB;EACnB,qBAAqB;AACvB;;AAEA;EACE,qBAAqB;AACvB;AACA;EACE,eAAe;EACf,gBAAgB;EAChB,YAAY;AACd;;AAEA;EACE,OAAO;EACP,gBAAgB;EAChB,oBAAoB;EACpB,cAAc;AAChB;AACA;EACE,aAAa;EACb,iBAAiB;AACnB;;AAEA;EACE,aAAa;EACb,gIAAgI;EAChI,eAAe;EACf,sBAAsB;EACtB,kDAAkD;EAClD,oBAAoB;EACpB,iBAAiB;EACjB,mBAAmB;AACrB;AACA;EACE,mBAAmB;EACnB,kB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AgB;AAClB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,gIAAgI;EAChI,gBAAgB;EAChB,6BAA6B;EAC7B,kCAAkC;EAClC,kBAAkB;EAClB,yBAAyB;EACzB,0DAA0D;EAC1D,eAAe;EACf,+CAA+C;EAC/C,mBAAmB;EACnB,cAAc;EACd,4BAA4B;EAC5B,mBAAmB;EACnB,YAAY;EACZ,WAAW;EACX,YAAY;EACZ,0DAA0D;EAC1D,eAAe;AACjB;AACA;EACE;IACE,uBAAuB;IACvB,oBAAoB;EACtB;AACF;AACA;EACE;IACE,eAAe;IACf,+CAA+C;IAC/C,mBAAmB;EACrB;AACF;AACA;EACE,yCAAyC;EACzC,iDAAiD;EACjD,8BAA8B;AAChC;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,UAAU;EACV,6BAA6B;AAC/B;AACA;EACE,6BAA6B;AAC/B;AACA;EACE;IACE,eAAe;EACjB;AACF;AACA;EACE,gBAAgB;EAChB,sFAAsF;AACxF;AACA;EACE,cAAc;AAChB;AACA;EACE,wBAAwB;AAC1B;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,WAAW;EACX,SAAS;EACT,aAAa;EACb,mBAAmB;AACrB;AACA;EACE,aAAa;AACf;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;EACjB,WAAW;EACX,UAAU;EACV,WAAW;EACX,wDAAwD;AAC1D;AACA;EACE;IACE,YAAY;IACZ,iBAAiB;EACnB;AACF;;AAEA;EACE;IACE,eAAe;EACjB;AACF;AACA;EACE,gIAAgI;EAChI,eAAe;EACf,yBAAyB;EACzB,kBAAkB;EAClB,wCAAwC;EACxC,WAAW;EACX,kBAAkB;EAClB,WAAW;EACX,gBAAgB;EAChB,sBAAsB;EACtB,eAAe;EACf,oBAAoB;AACtB;AACA;EACE;IACE,uBAAuB;IACvB,kBAAkB;EACpB;AACF;AACA;EACE,iEAAiE;AACnE;AACA;EACE,eAAe;AACjB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B;AACpB;AACA;EACE,uBAAuB;AACzB;AACA;EACE,6BAA6B;EAC7B,gIAAgI;EAChI,eAAe;EACf,gBAAgB;EAChB,iBAAiB;EACjB,kBAAkB;EAClB,UAAU;EACV,YAAY;AACd;AACA;EACE,aAAa;AACf;AACA;EACE,WAAW;AACb;;AAEA;EACE,gBAAgB;EAChB,+BAA+B;EAC/B,sBAAsB;EACtB,oBAAoB;EACpB,cAAc;EACd,eAAe;EACf,iBAAiB;EACjB,kBAAkB;EAClB,cAAc;AAChB;AACA;EACE,eAAe;EACf,SAAS;AACX;AACA;;EAEE,eAAe;EACf,iBAAiB;EACjB,kBAAkB;AACpB;AACA;;EAEE,eAAe;AACjB;AACA;;EAEE,SAAS;EACT,UAAU;AACZ;;AAEA;EACE,gBAAgB;EAChB,SAAS;EACT,yBAAyB;EACzB,sBAAsB;EACtB,oBAAoB;EACpB,cAAc;EACd,eAAe;AACjB;AACA;EACE,eAAe;EACf,SAAS;AACX;;AAEA;EACE,cAAc;EACd,SAAS;AACX;AACA;EACE;IACE,aAAa;EACf;AACF;AACA;EACE,gBAAgB;EAChB,kBAAkB;EAClB,iBAAiB;AACnB;AACA;EACE,qBAAqB;EACrB,WAAW;EACX,uBAAuB;EACvB,sBAAsB;EACtB,kBAAkB;EAClB,QAAQ;EACR,UAAU;EACV,UAAU;EACV,YAAY;AACd;;AAEA;EACE,gBAAgB;AAClB;AACA;EACE,sBAAsB;AACxB;;AAEA;EACE,mBAAmB;EACnB,kBAAkB;EAClB,eAAe;EACf,aAAa;EACb,WAAW;EACX,mBAAmB;EACnB,kBAAkB;EAClB,gBAAgB;EAChB,eAAe;EACf,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EACE,qBAAqB;EACrB,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,MAAM;EACN,OAAO;EACP,SAAS;EACT,QAAQ;AACV,C;;;;AC/yGA,gBAAgB;ACAhB;AACA;AACA;ACFA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AFMD;;AA1DA;EACC;IACC;EA6DA;EA3DD;IACC;EA6DA;AACF;AA1DA;EACC;IACC;IACA;EA4DA;EA1DD;IACC;IACA;EA4DA;EA1DD;IACC;IACA;IACA;EA4DA;AACF;AAzDA;EACC;IACC;IACA;EA2DA;EAzDD;IACC;IACA;EA2DA;AACF;AAxDA;EACC;IACC;EA0DA;AACF;AAvDA;AACA;EACC;EACA;EACA;EACA;AAyDD;AAvDC;EACC;AAyDF;;AArDA;EACC;EACA;AAwDD;;AArDA;EACC;AAwDD;;AArDA;EACC;EACA;EACA;EACA;EACA;AAwDD;;AAnDA;EACC;EACA;EACA;AAsDD;AApDC;EACC;AAsDF;AApDC;EACC;EACA;EACA;AAsDF;AApDC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAsDF;ACvIG;EDyEF;IAWE;EAuDD;AACF;AC5IG;EDyEF;IAeE;EAwDD;AACF;ACjJG;EDyEF;IAmBE;EAyDD;AACF;AAvDE;EACC;EACA;AAyDH;AArDC;EACC;AAuDF;AArDE;EACC;EACA;AAuDH;ACjKG;ED8GF;IAEE;EAqDD;AACF;AAjDE;EACC;EACA;EACA;EACA;AAmDH;AAhDE;EACC;EACA;EACA,cArEU;EAsEV;EACA;AAkDH;AAhDG;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,mBAlFe;AAoInB;AA/CG;EACC,cAtFe;AAuInB;AAhDI;EACC;AAkDL;;AA3CA;AACA;EACC;EACA;EACA;EACA;EACA;AA8CD;AC9MG;ED2JH;IAQE;IACA;EA+CA;AACF;ACpNG;ED2JH;IAaE;IACA;EAgDA;AACF;AC1NG;ED2JH;IAkBE;IACA;EAiDA;AACF;AA/CC;EAGC;AA+CF;AA7CC;EACC;AA+CF;AA7CC;EACC;AA+CF;AA7CC;EACC;AA+CF;AA7CC;;EAEC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA+CF;AA7CE;;EACC;EACA;EACA;EACA;EACA;EACA;AAgDH;AA7CC;EACC;EACA;EAEA;AA8CF;AA5CE;EACC;AA8CH;;AAxCC;EACC;AA2CF;AAxCC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;AA0CF;AAvCC;;EAEC;EACA;EACA;AAyCF;AAvCC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAyCF;AAvCE;EACC;EACA;EACA;EACA;EACA;EACA;AAyCH;;AApCA;AACA;EACC;EACA;EACA;AAuCD;AArCC;EACC;AAuCF;AArCC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAuCF;;AAlCC;EACC;AAqCF;AAnCC;EACC;AAqCF;AAjCE;;;;EAEC;EACA;EACA;EACA;AAqCH;AAlCC;;EAEC;EACA;EACA;EACA;AAoCF;AAlCC;EACC;AAoCF;AAlCC;EACC;AAoCF;;AAhCA;AAEC;;EAEC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAkCF;;AA9BA;AAGE;EACC;EACA;AA+BH;AA5BC;EACC;AA8BF;;AA1BA;AACA;EACC;AA6BD;AA3BC;EACC;EACA;AA6BF;AA3BC;EACC;AA6BF;AA1BC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA4BF;AAzBC;EACC;AA2BF;;AAvBA;AACA;AACA;EACC;AA0BD;AAxBE;EACC;EACA;EACA;AA0BH;AAvBE;EACC;AAyBH;AAvBG;EACC;AAyBJ;AArBC;EACC;EACA;EACA;EACA;AAuBF;AArBC;EACC;EACA;EACA;EACA;AAuBF;AArBC;EACC;AAuBF;AApBC;EACC;EACA;EACA;EACA;AAsBF;AAnBC;EACC;AAqBF;AApBE;EACC;EACA;AAsBH;AApBE;EACC;AAsBH;AAlBE;EACC;AAoBH;AAlBE;EACC;AAoBH;AAjBE;EACC;EACA;AAmBH;AAlBG;EACC;AAoBJ;AAhBC;EACC;AAkBF;AAjBE;EACC;AAmBH;AAjBE;EACC;AAmBH;AAhBC;EACC;AAkBF;AAjBE;EACC;AAmBH;AAjBE;EACC;AAmBH;AAhBC;EACC;AAkBF;AAjBE;EACC;AAmBH;AAjBE;EACC;AAmBH;AAhBC;EACC;EACA;EACA;EACA;EACA;AAkBF;AAhBC;EACC;EACA;EACA;EACA;EACA;AAkBF;AAhBC;EACC;EACA;EACA;AAkBF;;AAbC;EACC;EACA;AAgBF;;AAZA;AACA;;EAEC;EACA;EACA;EACA;AAeD;AAbC;;EACC;AAgBF;AAbC;;EACC;EACA;AAgBF;AAdE;;EACC;AAiBH;AAhBG;;EACC;AAmBJ;AAfC;;EACC;EACA;AAkBF;AAfC;;EACC;AAkBF;AAfC;;EACC;AAkBF;AAfC;;EACC;EACA;EACA;EACA;EACA;AAkBF;AAhBE;;EACC;EACA;EACA;AAmBH;AAhBE;;EACC;EACA;AAmBH;AAlBG;;EACC;AAqBJ;AAjBE;;EACC;EACA;EACA;AAoBH;AAlBG;;EACC;EACA;EACA;AAqBJ;AAjBE;;EACC;EACA;EACA;AAoBH;AAlBG;;EACC;EACA;EACA;AAqBJ;AAhBG;;EACC;EACA;EAIA;AAgBJ;AAnBI;;EACC;AAsBL;AAlBG;;EACC;EACA;EACA;AAqBJ;AApBI;;EACC;EACA;EACA;AAuBL;AAtBK;;EACC;AAyBN;AArBG;;EACC;EACA;EACA;AAwBJ;AAvBI;;EACC;EACA;EACA;AA0BL;AAzBK;;EACC;AA4BN;;AApBA;AACA;EACC;EACA;EACA;AAuBD;AAtBC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAwBF;AAtBE;EACC;EACA;AAwBH;AAtBE;EACC;AAwBH;AAtBE;EACC;EACA;AAwBH;AArBC;EACC;EACA;AAuBF;;AAnBA;AACA;;EAGC;EACA;EACA;AAqBD;AAnBC;;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAsBF;AApBE;;EACC;AAuBH;AApBC;;EACC;AAuBF;;AAnBC;EACC;AAsBF;AApBE;EACC;EACA;EACA;AAsBH;AApBG;EACC;AAsBJ;AAnBE;EACC;EACA;EACA;AAqBH;AAnBE;EACC;EACA;EACA;EACA;EACA;AAqBH;AAjBC;;EAEC;AAmBF;AAhBC;EACC;AAkBF;AAfC;EACC;AAiBF;AAdC;EACC;AAgBF;AAbC;EACC;EACA;AAeF;AAZC;EACC;AAcF;AAXC;EACC;EACA;EACA;AAaF;;AATA;EACC;AAYD;;AATA;EACC;EACA;EACA;AAYD;AAVC;EACC;EACA;AAYF;AATC;EACC;EACA;AAWF;;AAPA;EACC;EACA;EACA;EACA;EACA;AAUD;;AAPA;EACC;AAUD;AARC;EACC;AAUF;;AANA;AACA;EAGC;EACA;AAOD;AANC;EACC;AAQF;AALC;EACC;EACA;EACA;AAOF;AAJC;EACC;AAMF;AAJE;EACC;AAMH;AAHC;EACC;AAKF;;AAFA;AACA;EAEC;AAID;;AADA;AACA;EACC;AAID;;AADA;AACA;EACC;AAID;;AAAC;EACC;AAGF;AADG;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAGJ;AADI;EACC;EACA;EACA;EACA;EACA;AAGL;;AAIA;AACA;EACC;AADD;AAGC;;EAEC;EACA;AADF;AAIC;EACC;EACA;EACA;AAFF;AAKC;EACC;EACA;EACA;EACA;EACA;EACA;AAHF;AAKE;EACC;EACA;AAHH;AAME;EACC;AAJH;;AAQA;EACC;EACA;AALD;AAOC;EAJD;IAKE;EAJA;AACF;;AAOA;AACA;AACA;AACA;EACC;EACA;AAJD;AAMC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAJF;AAMC;EACC;EACA;EACA;EACA;EACA;EACA;AAJF;AAME;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAJH;AAME;EACC;AAJH;AAQC;EACC;AANF;AASC;EACC;EACA;EACA;EACA;AAPF;AASE;EAEC;EACA;EACA;EACA;AARH;;AAaA;AAEC;EACC;EACA;EACA;EACA;AAXF;;AAeA;AACA;EACC;AAZD;AAcC;EACC;AAZF;;AAgBA;AACA;EACC;EACA;AAbD;;AAgBA;AACA;EACC;EACA;AAbD;;AAgBA;AACA;EACC;EACA;EACA;EACA;EACA;EACA;AAbD;AAgBC;EACC;EACA;EACA;EACA;EACA;EACA;AAdF,C","sources":["webpack://highlight-and-share/./node_modules/@wordpress/components/build-style/style.css","webpack://highlight-and-share/./src/admin.scss","webpack://highlight-and-share/./src/breakpoints-mixin.scss","webpack://highlight-and-share/./src/common.scss"],"sourcesContent":["@charset \"UTF-8\";\n/**\n * Colors\n */\n/**\n * Breakpoints & Media Queries\n */\n/**\n * SCSS Variables.\n *\n * Please use variables from this sheet to ensure consistency across the UI.\n * Don't add to this sheet unless you're pretty sure the value will be reused in many places.\n * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.\n */\n/**\n * Colors\n */\n/**\n * Fonts & basic variables.\n */\n/**\n * Grid System.\n * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/\n */\n/**\n * Dimensions.\n */\n/**\n * Shadows.\n */\n/**\n * Editor widths.\n */\n/**\n * Block & Editor UI.\n */\n/**\n * Block paddings.\n */\n/**\n * React Native specific.\n * These variables do not appear to be used anywhere else.\n */\n/**\n* Converts a hex value into the rgb equivalent.\n*\n* @param {string} hex - the hexadecimal value to convert\n* @return {string} comma separated rgb values\n*/\n/**\n * Breakpoint mixins\n */\n/**\n * Long content fade mixin\n *\n * Creates a fading overlay to signify that the content is longer\n * than the space allows.\n */\n/**\n * Focus styles.\n */\n/**\n * Applies editor left position to the selector passed as argument\n */\n/**\n * Styles that are reused verbatim in a few places\n */\n/**\n * Allows users to opt-out of animations via OS-level preferences.\n */\n/**\n * Reset default styles for JavaScript UI based pages.\n * This is a WP-admin agnostic reset\n */\n/**\n * Reset the WP Admin page styles for Gutenberg-like pages.\n */\n:root {\n --wp-admin-theme-color: #007cba;\n --wp-admin-theme-color--rgb: 0, 124, 186;\n --wp-admin-theme-color-darker-10: #006ba1;\n --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;\n --wp-admin-theme-color-darker-20: #005a87;\n --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;\n --wp-admin-border-width-focus: 2px;\n}\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n :root {\n --wp-admin-border-width-focus: 1.5px;\n }\n}\n\n.components-animate__appear {\n animation: components-animate__appear-animation 0.1s cubic-bezier(0, 0, 0.2, 1) 0s;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-animate__appear {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n.components-animate__appear.is-from-top, .components-animate__appear.is-from-top.is-from-left {\n transform-origin: top left;\n}\n.components-animate__appear.is-from-top.is-from-right {\n transform-origin: top right;\n}\n.components-animate__appear.is-from-bottom, .components-animate__appear.is-from-bottom.is-from-left {\n transform-origin: bottom left;\n}\n.components-animate__appear.is-from-bottom.is-from-right {\n transform-origin: bottom right;\n}\n\n@keyframes components-animate__appear-animation {\n from {\n transform: translateY(-2em) scaleY(0) scaleX(0);\n }\n to {\n transform: translateY(0%) scaleY(1) scaleX(1);\n }\n}\n.components-animate__slide-in {\n animation: components-animate__slide-in-animation 0.1s cubic-bezier(0, 0, 0.2, 1);\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-animate__slide-in {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n.components-animate__slide-in.is-from-left {\n transform: translateX(100%);\n}\n.components-animate__slide-in.is-from-right {\n transform: translateX(-100%);\n}\n\n@keyframes components-animate__slide-in-animation {\n 100% {\n transform: translateX(0%);\n }\n}\n.components-animate__loading {\n animation: components-animate__loading 1.6s ease-in-out infinite;\n}\n\n@keyframes components-animate__loading {\n 0% {\n opacity: 0.5;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n opacity: 0.5;\n }\n}\n.components-autocomplete__popover .components-popover__content {\n padding: 16px;\n min-width: 220px;\n}\n\n.components-autocomplete__result.components-button {\n display: flex;\n height: auto;\n min-height: 36px;\n text-align: left;\n width: 100%;\n}\n.components-autocomplete__result.components-button.is-selected {\n box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n}\n\n.components-button-group {\n display: inline-block;\n}\n.components-button-group .components-button {\n border-radius: 0;\n display: inline-flex;\n color: #1e1e1e;\n box-shadow: inset 0 0 0 1px #1e1e1e;\n}\n.components-button-group .components-button + .components-button {\n margin-left: -1px;\n}\n.components-button-group .components-button:first-child {\n border-radius: 2px 0 0 2px;\n}\n.components-button-group .components-button:last-child {\n border-radius: 0 2px 2px 0;\n}\n.components-button-group .components-button:focus, .components-button-group .components-button.is-primary {\n position: relative;\n z-index: 1;\n}\n.components-button-group .components-button.is-primary {\n box-shadow: inset 0 0 0 1px #1e1e1e;\n}\n\n.components-button {\n display: inline-flex;\n text-decoration: none;\n font-family: inherit;\n font-weight: normal;\n font-size: 13px;\n margin: 0;\n border: 0;\n cursor: pointer;\n -webkit-appearance: none;\n background: none;\n transition: box-shadow 0.1s linear;\n height: 36px;\n align-items: center;\n box-sizing: border-box;\n padding: 6px 12px;\n border-radius: 2px;\n color: #1e1e1e;\n /**\n * Primary button style.\n */\n /**\n * Secondary and tertiary buttons.\n */\n /**\n * Secondary button style.\n */\n /**\n * Tertiary buttons.\n */\n /**\n * Destructive buttons.\n */\n /**\n * Link buttons.\n */\n}\n@media (prefers-reduced-motion: reduce) {\n .components-button {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-button[aria-expanded=true], .components-button:hover {\n color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n}\n.components-button[aria-disabled=true]:hover {\n color: initial;\n}\n.components-button:focus:not(:disabled) {\n box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n outline: 3px solid transparent;\n}\n.components-button.is-primary {\n white-space: nowrap;\n background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n color: #fff;\n text-decoration: none;\n text-shadow: none;\n outline: 1px solid transparent;\n}\n.components-button.is-primary:hover:not(:disabled) {\n background: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1));\n color: #fff;\n}\n.components-button.is-primary:active:not(:disabled) {\n background: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #005a87));\n border-color: var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #005a87));\n color: #fff;\n}\n.components-button.is-primary:focus:not(:disabled) {\n box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n}\n.components-button.is-primary:disabled, .components-button.is-primary:disabled:active:enabled, .components-button.is-primary[aria-disabled=true], .components-button.is-primary[aria-disabled=true]:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled {\n color: rgba(255, 255, 255, 0.4);\n background: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n opacity: 1;\n outline: none;\n}\n.components-button.is-primary:disabled:focus:enabled, .components-button.is-primary:disabled:active:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:focus:enabled, .components-button.is-primary[aria-disabled=true]:enabled:focus:enabled, .components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled {\n box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n}\n.components-button.is-primary.is-busy, .components-button.is-primary.is-busy:disabled, .components-button.is-primary.is-busy[aria-disabled=true] {\n color: #fff;\n background-size: 100px 100%;\n /* stylelint-disable */\n background-image: linear-gradient(-45deg, var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #005a87)) 33%, var(--wp-components-color-accent-darker-20, var(--wp-admin-theme-color-darker-20, #005a87)) 70%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba)) 70%);\n /* stylelint-enable */\n border-color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n}\n.components-button.is-secondary, .components-button.is-tertiary {\n outline: 1px solid transparent;\n}\n.components-button.is-secondary:active:not(:disabled), .components-button.is-tertiary:active:not(:disabled) {\n background: #ddd;\n color: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1));\n box-shadow: none;\n}\n.components-button.is-secondary:hover:not(:disabled), .components-button.is-tertiary:hover:not(:disabled) {\n color: var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1));\n box-shadow: inset 0 0 0 1px var(--wp-components-color-accent-darker-10, var(--wp-admin-theme-color-darker-10, #006ba1));\n}\n.components-button.is-secondary:disabled, .components-button.is-secondary[aria-disabled=true], .components-button.is-secondary[aria-disabled=true]:hover, .components-button.is-tertiary:disabled, .components-button.is-tertiary[aria-disabled=true], .components-button.is-tertiary[aria-disabled=true]:hover {\n color: #828282;\n background: #eaeaea;\n transform: none;\n opacity: 1;\n box-shadow: none;\n outline: none;\n}\n.components-button.is-secondary {\n box-shadow: inset 0 0 0 1px var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n outline: 1px solid transparent;\n white-space: nowrap;\n color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n background: transparent;\n}\n.components-button.is-tertiary {\n white-space: nowrap;\n color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n background: transparent;\n padding: 6px;\n}\n.components-button.is-tertiary .dashicon {\n display: inline-block;\n flex: 0 0 auto;\n}\np + .components-button.is-tertiary {\n margin-left: -6px;\n}\n.components-button.is-destructive {\n --wp-components-color-accent: #cc1818;\n --wp-components-color-accent-darker-10: #9e1313;\n --wp-components-color-accent-darker-20: #710d0d;\n}\n.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link) {\n color: #cc1818;\n box-shadow: inset 0 0 0 1px #cc1818;\n}\n.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):hover:not(:disabled) {\n color: #710d0d;\n}\n.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):focus:not(:disabled) {\n box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #cc1818;\n}\n.components-button.is-destructive:not(.is-primary):not(.is-secondary):not(.is-tertiary):not(.is-link):active:not(:disabled) {\n background: #ccc;\n}\n.components-button.is-link {\n margin: 0;\n padding: 0;\n box-shadow: none;\n border: 0;\n border-radius: 0;\n background: none;\n outline: none;\n text-align: left;\n color: var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n text-decoration: underline;\n transition-property: border, background, color;\n transition-duration: 0.05s;\n transition-timing-function: ease-in-out;\n height: auto;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-button.is-link {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-button.is-link:focus {\n border-radius: 2px;\n}\n.components-button:not([aria-disabled=true]):active {\n color: inherit;\n}\n.components-button:disabled, .components-button[aria-disabled=true] {\n cursor: default;\n opacity: 0.3;\n}\n.components-button.is-busy, .components-button.is-secondary.is-busy, .components-button.is-secondary.is-busy:disabled, .components-button.is-secondary.is-busy[aria-disabled=true] {\n animation: components-button__busy-animation 2500ms infinite linear;\n opacity: 1;\n background-size: 100px 100%;\n /* stylelint-disable */\n background-image: linear-gradient(-45deg, #fafafa 33%, #e0e0e0 33%, #e0e0e0 70%, #fafafa 70%);\n /* stylelint-enable */\n}\n.components-button.is-small {\n height: 24px;\n line-height: 22px;\n padding: 0 8px;\n font-size: 11px;\n}\n.components-button.is-small.has-icon:not(.has-text) {\n padding: 0;\n width: 24px;\n min-width: 24px;\n}\n.components-button.has-icon {\n padding: 6px;\n min-width: 36px;\n justify-content: center;\n}\n.components-button.has-icon .dashicon {\n display: inline-block;\n flex: 0 0 auto;\n margin-left: 2px;\n margin-right: 2px;\n}\n.components-button.has-icon.has-text {\n justify-content: start;\n}\n.components-button.has-icon.has-text svg {\n margin-right: 8px;\n}\n.components-button.has-icon.has-text .dashicon {\n margin-right: 10px;\n}\n.components-button.is-pressed {\n color: #fff;\n background: #1e1e1e;\n}\n.components-button.is-pressed:focus:not(:disabled) {\n box-shadow: inset 0 0 0 1px #fff, 0 0 0 var(--wp-admin-border-width-focus) var(--wp-components-color-accent, var(--wp-admin-theme-color, #007cba));\n outline: 2px solid transparent;\n}\n.components-button.is-pressed:hover:not(:disabled) {\n color: #fff;\n background: #1e1e1e;\n}\n.components-button svg {\n fill: currentColor;\n outline: none;\n}\n@media (forced-colors: active) {\n .components-button svg {\n fill: CanvasText;\n }\n}\n.components-button .components-visually-hidden {\n height: auto;\n}\n\n@keyframes components-button__busy-animation {\n 0% {\n background-position: 200px 0;\n }\n}\n.components-checkbox-control__input[type=checkbox] {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n border: 1px solid #1e1e1e;\n margin-right: 12px;\n transition: none;\n border-radius: 2px;\n background: #fff;\n color: #1e1e1e;\n clear: none;\n cursor: pointer;\n display: inline-block;\n line-height: 0;\n margin: 0 4px 0 0;\n outline: 0;\n padding: 0 !important;\n text-align: center;\n vertical-align: top;\n width: 24px;\n height: 24px;\n -webkit-appearance: none;\n appearance: none;\n transition: 0.1s border-color ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-checkbox-control__input[type=checkbox] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-checkbox-control__input[type=checkbox] {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-checkbox-control__input[type=checkbox]:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-checkbox-control__input[type=checkbox]::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-checkbox-control__input[type=checkbox]::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-checkbox-control__input[type=checkbox]:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-checkbox-control__input[type=checkbox]:focus {\n box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-checkbox-control__input[type=checkbox]:checked {\n background: var(--wp-admin-theme-color);\n border-color: var(--wp-admin-theme-color);\n}\n.components-checkbox-control__input[type=checkbox]:checked::-ms-check {\n opacity: 0;\n}\n.components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {\n margin: -3px -5px;\n color: #fff;\n}\n@media (min-width: 782px) {\n .components-checkbox-control__input[type=checkbox]:checked::before, .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {\n margin: -4px 0 0 -5px;\n }\n}\n.components-checkbox-control__input[type=checkbox][aria-checked=mixed] {\n background: var(--wp-admin-theme-color);\n border-color: var(--wp-admin-theme-color);\n}\n.components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {\n content: \"ï‘ \";\n float: left;\n display: inline-block;\n vertical-align: middle;\n width: 16px;\n /* stylelint-disable */\n font: normal 30px/1 dashicons;\n /* stylelint-enable */\n speak: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n@media (min-width: 782px) {\n .components-checkbox-control__input[type=checkbox][aria-checked=mixed]::before {\n float: none;\n font-size: 21px;\n }\n}\n@media (min-width: 600px) {\n .components-checkbox-control__input[type=checkbox] {\n height: 20px;\n width: 20px;\n }\n}\n@media (prefers-reduced-motion: reduce) {\n .components-checkbox-control__input[type=checkbox] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-checkbox-control__input[type=checkbox]:focus {\n box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-checkbox-control__input[type=checkbox]:checked, .components-checkbox-control__input[type=checkbox]:indeterminate {\n background: var(--wp-admin-theme-color);\n border-color: var(--wp-admin-theme-color);\n}\n.components-checkbox-control__input[type=checkbox]:checked::-ms-check, .components-checkbox-control__input[type=checkbox]:indeterminate::-ms-check {\n opacity: 0;\n}\n.components-checkbox-control__input[type=checkbox]:checked::before {\n content: none;\n}\n\n.components-checkbox-control__input-container {\n position: relative;\n display: inline-block;\n margin-right: 12px;\n vertical-align: middle;\n width: 24px;\n height: 24px;\n}\n@media (min-width: 600px) {\n .components-checkbox-control__input-container {\n width: 20px;\n height: 20px;\n }\n}\n\nsvg.components-checkbox-control__checked,\nsvg.components-checkbox-control__indeterminate {\n fill: #fff;\n cursor: pointer;\n position: absolute;\n left: 0;\n top: 0;\n width: 24px;\n height: 24px;\n -webkit-user-select: none;\n user-select: none;\n pointer-events: none;\n}\n@media (min-width: 600px) {\n svg.components-checkbox-control__checked,\nsvg.components-checkbox-control__indeterminate {\n left: -2px;\n top: -2px;\n }\n}\n\n.components-circular-option-picker {\n display: inline-block;\n width: 100%;\n min-width: 188px;\n}\n.components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper {\n display: flex;\n justify-content: flex-end;\n margin-top: 12px;\n}\n.components-circular-option-picker .components-circular-option-picker__swatches {\n display: flex;\n flex-wrap: wrap;\n gap: 12px;\n}\n\n.components-circular-option-picker__option-wrapper {\n display: inline-block;\n height: 28px;\n width: 28px;\n vertical-align: top;\n transform: scale(1);\n transition: 100ms transform ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-circular-option-picker__option-wrapper {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-circular-option-picker__option-wrapper:hover {\n transform: scale(1.2);\n}\n.components-circular-option-picker__option-wrapper > div {\n height: 100%;\n width: 100%;\n}\n\n.components-circular-option-picker__option-wrapper::before {\n content: \"\";\n position: absolute;\n top: 1px;\n left: 1px;\n bottom: 1px;\n right: 1px;\n border-radius: 50%;\n z-index: -1;\n /* stylelint-disable-next-line function-url-quotes */\n background: url('data:image/svg+xml,%3Csvg width=\"28\" height=\"28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cpath d=\"M6 8V6H4v2h2zM8 8V6h2v2H8zM10 16H8v-2h2v2zM12 16v-2h2v2h-2zM12 18v-2h-2v2H8v2h2v-2h2zM14 18v2h-2v-2h2zM16 18h-2v-2h2v2z\" fill=\"%23555D65\"/%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M18 18h2v-2h-2v-2h2v-2h-2v-2h2V8h-2v2h-2V8h-2v2h2v2h-2v2h2v2h2v2zm-2-4v-2h2v2h-2z\" fill=\"%23555D65\"/%3E%3Cpath d=\"M18 18v2h-2v-2h2z\" fill=\"%23555D65\"/%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M8 10V8H6v2H4v2h2v2H4v2h2v2H4v2h2v2H4v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2v2h-2V4h-2v2h-2V4h-2v2h-2V4h-2v2h2v2h-2v2H8zm0 2v-2H6v2h2zm2 0v-2h2v2h-2zm0 2v-2H8v2H6v2h2v2H6v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h-2v2h-2V6h-2v2h-2v2h2v2h-2v2h-2z\" fill=\"%23555D65\"/%3E%3Cpath fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M4 0H2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v2H0v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2h-2V0h-2v2H8V0H6v2H4V0zm0 4V2H2v2h2zm2 0V2h2v2H6zm0 2V4H4v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2H2v2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h2v2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2v-2h-2v-2h2V8h-2V6h2V4h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2h-2V2h-2v2H8v2H6z\" fill=\"%23555D65\"/%3E%3C/svg%3E');\n}\n\n.components-circular-option-picker__option {\n display: inline-block;\n vertical-align: top;\n height: 100%;\n width: 100%;\n border: none;\n border-radius: 50%;\n background: transparent;\n box-shadow: inset 0 0 0 14px;\n transition: 100ms box-shadow ease;\n cursor: pointer;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-circular-option-picker__option {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-circular-option-picker__option:hover {\n box-shadow: inset 0 0 0 14px !important;\n}\n.components-circular-option-picker__option.is-pressed {\n box-shadow: inset 0 0 0 4px;\n position: relative;\n z-index: 1;\n overflow: visible;\n}\n.components-circular-option-picker__option.is-pressed + svg {\n position: absolute;\n left: 2px;\n top: 2px;\n border-radius: 50%;\n z-index: 2;\n pointer-events: none;\n}\n.components-circular-option-picker__option::after {\n content: \"\";\n position: absolute;\n top: -1px;\n left: -1px;\n bottom: -1px;\n right: -1px;\n border-radius: 50%;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);\n border: 1px solid transparent;\n box-sizing: inherit;\n}\n.components-circular-option-picker__option:focus::after {\n content: \"\";\n border: 2px solid #757575;\n width: 32px;\n height: 32px;\n position: absolute;\n top: -2px;\n left: -2px;\n border-radius: 50%;\n box-shadow: inset 0 0 0 2px #fff;\n}\n.components-circular-option-picker__option.components-button:focus {\n background-color: transparent;\n box-shadow: inset 0 0 0 14px;\n outline: none;\n}\n\n.components-circular-option-picker__button-action .components-circular-option-picker__option {\n color: #fff;\n background: #fff;\n}\n\n.components-circular-option-picker__dropdown-link-action {\n margin-right: 16px;\n}\n.components-circular-option-picker__dropdown-link-action .components-button {\n line-height: 22px;\n}\n\n.components-palette-edit__popover-gradient-picker {\n width: 280px;\n padding: 8px;\n}\n\n.components-dropdown-menu__menu .components-palette-edit__menu-button {\n width: 100%;\n}\n\n.component-color-indicator {\n width: 20px;\n height: 20px;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);\n border-radius: 50%;\n display: inline-block;\n padding: 0;\n}\n\n.components-combobox-control {\n width: 100%;\n}\n\ninput.components-combobox-control__input[type=text] {\n width: 100%;\n border: none;\n box-shadow: none;\n font-family: inherit;\n font-size: 16px;\n padding: 2px;\n margin: 0;\n line-height: inherit;\n min-height: auto;\n}\n@media (min-width: 600px) {\n input.components-combobox-control__input[type=text] {\n font-size: 13px;\n }\n}\ninput.components-combobox-control__input[type=text]:focus {\n outline: none;\n box-shadow: none;\n}\n\n.components-combobox-control__suggestions-container {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n width: 100%;\n padding: 0;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-combobox-control__suggestions-container {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-combobox-control__suggestions-container {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-combobox-control__suggestions-container:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-combobox-control__suggestions-container::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-combobox-control__suggestions-container::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-combobox-control__suggestions-container:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-combobox-control__suggestions-container:focus-within {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n\n.components-combobox-control__reset.components-button {\n display: flex;\n height: 16px;\n min-width: 16px;\n padding: 0;\n}\n\n.components-color-list-picker,\n.components-color-list-picker__swatch-button {\n width: 100%;\n}\n\n.components-color-list-picker__color-picker {\n margin: 8px 0;\n}\n\n.components-color-list-picker__swatch-button {\n padding: 6px;\n}\n\n.components-color-list-picker__swatch-color {\n margin: 2px;\n}\n\n.components-color-palette__custom-color {\n position: relative;\n border: none;\n background: none;\n border-radius: 2px;\n height: 64px;\n padding: 12px;\n font-family: inherit;\n width: 100%;\n /*rtl:begin:ignore*/\n background-image: repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0), repeating-linear-gradient(45deg, #e0e0e0 25%, transparent 25%, transparent 75%, #e0e0e0 75%, #e0e0e0);\n background-position: 0 0, 24px 24px;\n /*rtl:end:ignore*/\n background-size: calc(2 * 24px) calc(2 * 24px);\n box-sizing: border-box;\n color: #fff;\n cursor: pointer;\n box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);\n outline: 1px solid transparent;\n}\n.components-color-palette__custom-color:focus {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n outline-width: 2px;\n}\n\n.components-color-palette__custom-color-name {\n text-align: left;\n}\n\n.components-color-palette__custom-color-value {\n margin-left: 16px;\n text-transform: uppercase;\n}\n\n.components-custom-gradient-picker:not(.is-next-has-no-margin) {\n margin-top: 12px;\n margin-bottom: 24px;\n}\n\n.components-custom-gradient-picker__gradient-bar:not(.has-gradient) {\n opacity: 0.4;\n}\n\n.components-custom-gradient-picker__gradient-bar {\n border-radius: 2px;\n width: 100%;\n height: 48px;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__markers-container {\n position: relative;\n width: calc(100% - 48px);\n margin-left: auto;\n margin-right: auto;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-dropdown {\n position: absolute;\n height: 16px;\n width: 16px;\n top: 16px;\n display: flex;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown {\n position: relative;\n height: inherit;\n width: inherit;\n min-width: 16px;\n border-radius: 50%;\n background: #fff;\n padding: 2px;\n color: #1e1e1e;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__insert-point-dropdown svg {\n height: 100%;\n width: 100%;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button {\n height: inherit;\n width: inherit;\n border-radius: 50%;\n padding: 0;\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);\n outline: 2px solid transparent;\n}\n.components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button:focus, .components-custom-gradient-picker__gradient-bar .components-custom-gradient-picker__control-point-button.is-active {\n box-shadow: inset 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #fff, 0 0 2px 0 rgba(0, 0, 0, 0.25);\n outline: 1.5px solid transparent;\n}\n\n.components-custom-gradient-picker__remove-control-point-wrapper {\n padding-bottom: 8px;\n}\n\n.components-custom-gradient-picker__inserter {\n /*rtl:ignore*/\n direction: ltr;\n}\n\n.components-custom-gradient-picker__liner-gradient-indicator {\n display: inline-block;\n flex: 0 auto;\n width: 20px;\n height: 20px;\n}\n\n.components-custom-gradient-picker .components-custom-gradient-picker__toolbar {\n border: none;\n}\n.components-custom-gradient-picker .components-custom-gradient-picker__toolbar > div + div {\n margin-left: 1px;\n}\n.components-custom-gradient-picker .components-custom-gradient-picker__toolbar button.is-pressed > svg {\n background: #fff;\n border: 1px solid #949494;\n border-radius: 2px;\n}\n\n.components-custom-select-control {\n position: relative;\n font-size: 13px;\n}\n\n.components-custom-select-control__button {\n position: relative;\n text-align: left;\n outline: 0;\n}\n\n.components-custom-select-control__menu {\n border: 1px solid #1e1e1e;\n background-color: #fff;\n border-radius: 2px;\n outline: none;\n transition: none;\n max-height: 400px;\n min-width: 100%;\n overflow: auto;\n padding: 0;\n position: absolute;\n z-index: 1000000;\n}\n.components-custom-select-control__menu[aria-hidden=true] {\n display: none;\n}\n\n.components-custom-select-control__item {\n align-items: center;\n display: grid;\n grid-template-columns: auto auto;\n list-style-type: none;\n padding: 8px 16px;\n cursor: default;\n line-height: 28px;\n}\n.components-custom-select-control__item:not(.is-next-36px-default-size) {\n padding: 8px;\n}\n.components-custom-select-control__item.has-hint {\n grid-template-columns: auto auto 30px;\n}\n.components-custom-select-control__item.is-highlighted {\n background: #ddd;\n}\n.components-custom-select-control__item .components-custom-select-control__item-hint {\n color: #757575;\n text-align: right;\n padding-right: 4px;\n}\n.components-custom-select-control__item .components-custom-select-control__item-icon {\n margin-left: auto;\n}\n.components-custom-select-control__item:last-child {\n margin-bottom: 0;\n}\n\n.block-editor-dimension-control .components-base-control__field {\n display: flex;\n align-items: center;\n}\n.block-editor-dimension-control .components-base-control__label {\n display: flex;\n align-items: center;\n margin-right: 1em;\n margin-bottom: 0;\n}\n.block-editor-dimension-control .components-base-control__label .dashicon {\n margin-right: 0.5em;\n}\n.block-editor-dimension-control.is-manual .components-base-control__label {\n width: 10em;\n}\n\nbody.is-dragging-components-draggable {\n cursor: move;\n /* Fallback for IE/Edge < 14 */\n cursor: grabbing !important;\n}\n\n.components-draggable__invisible-drag-image {\n position: fixed;\n left: -1000px;\n height: 50px;\n width: 50px;\n}\n\n.components-draggable__clone {\n position: fixed;\n padding: 0;\n background: transparent;\n pointer-events: none;\n z-index: 1000000000;\n}\n\n.components-drop-zone {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 40;\n visibility: hidden;\n opacity: 0;\n border-radius: 2px;\n}\n.components-drop-zone.is-active {\n opacity: 1;\n visibility: visible;\n}\n\n.components-drop-zone__content {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n height: 100%;\n width: 100%;\n display: flex;\n background-color: var(--wp-admin-theme-color);\n align-items: center;\n justify-content: center;\n z-index: 50;\n text-align: center;\n color: #fff;\n}\n\n.components-drop-zone__content-icon,\n.components-drop-zone__content-text {\n display: block;\n}\n\n.components-drop-zone__content-icon {\n margin: 0 auto;\n line-height: 0;\n fill: currentColor;\n pointer-events: none;\n}\n\n.components-drop-zone__content-text {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n}\n\n.components-dropdown {\n display: inline-block;\n}\n\n.components-dropdown__content .components-popover__content {\n padding: 8px;\n}\n.components-dropdown__content [role=menuitem] {\n white-space: nowrap;\n}\n\n.components-dropdown-menu__menu {\n width: 100%;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n line-height: 1.4;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item,\n.components-dropdown-menu__menu .components-menu-item {\n width: 100%;\n padding: 6px;\n outline: none;\n cursor: pointer;\n white-space: nowrap;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator,\n.components-dropdown-menu__menu .components-menu-item.has-separator {\n margin-top: 6px;\n position: relative;\n overflow: visible;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item.has-separator::before,\n.components-dropdown-menu__menu .components-menu-item.has-separator::before {\n display: block;\n content: \"\";\n box-sizing: content-box;\n background-color: #ddd;\n position: absolute;\n top: -3px;\n left: 0;\n right: 0;\n height: 1px;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-active svg,\n.components-dropdown-menu__menu .components-menu-item.is-active svg {\n color: #fff;\n background: #1e1e1e;\n box-shadow: 0 0 0 1px #1e1e1e;\n border-radius: 1px;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item > svg,\n.components-dropdown-menu__menu .components-menu-item > svg {\n border-radius: 2px;\n width: 24px;\n height: 24px;\n}\n.components-dropdown-menu__menu .components-dropdown-menu__menu-item.is-icon-only,\n.components-dropdown-menu__menu .components-menu-item.is-icon-only {\n width: auto;\n}\n.components-dropdown-menu__menu .components-menu-item__button,\n.components-dropdown-menu__menu .components-menu-item__button.components-button {\n min-height: 36px;\n height: auto;\n text-align: left;\n padding-left: 8px;\n padding-right: 8px;\n}\n.components-dropdown-menu__menu .components-menu-group {\n padding: 8px;\n margin-top: 0;\n margin-bottom: 0;\n margin-left: -8px;\n margin-right: -8px;\n}\n.components-dropdown-menu__menu .components-menu-group:first-child {\n margin-top: -8px;\n}\n.components-dropdown-menu__menu .components-menu-group:last-child {\n margin-bottom: -8px;\n}\n.components-dropdown-menu__menu .components-menu-group + .components-menu-group {\n margin-top: 0;\n border-top: 1px solid #ccc;\n padding: 8px;\n}\n.is-alternate .components-dropdown-menu__menu .components-menu-group + .components-menu-group {\n border-color: #1e1e1e;\n}\n\n.components-duotone-picker__color-indicator::before {\n background: transparent;\n}\n\n.components-duotone-picker__color-indicator > .components-button {\n background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);\n color: transparent;\n}\n.components-duotone-picker__color-indicator > .components-button.is-pressed:hover:not(:disabled) {\n background: linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);\n color: transparent;\n}\n.components-duotone-picker__color-indicator > .components-button:not([aria-disabled=true]):active {\n color: transparent;\n}\n\n.components-form-toggle {\n position: relative;\n display: inline-block;\n}\n.components-form-toggle .components-form-toggle__track {\n content: \"\";\n display: inline-block;\n box-sizing: border-box;\n vertical-align: top;\n background-color: #fff;\n border: 1px solid #1e1e1e;\n width: 36px;\n height: 18px;\n border-radius: 9px;\n transition: 0.2s background ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-toggle .components-form-toggle__track {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-form-toggle .components-form-toggle__thumb {\n display: block;\n position: absolute;\n box-sizing: border-box;\n top: 3px;\n left: 3px;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n transition: 0.1s transform ease;\n background-color: #1e1e1e;\n border: 5px solid #1e1e1e;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-toggle .components-form-toggle__thumb {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-form-toggle.is-checked .components-form-toggle__track {\n background-color: var(--wp-admin-theme-color);\n border: 1px solid var(--wp-admin-theme-color);\n border: 9px solid transparent;\n}\n.components-form-toggle .components-form-toggle__input:focus + .components-form-toggle__track {\n box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n outline-offset: 2px;\n}\n.components-form-toggle.is-checked .components-form-toggle__thumb {\n background-color: #fff;\n border-width: 0;\n transform: translateX(18px);\n}\n.components-form-toggle.is-disabled, .components-disabled .components-form-toggle {\n opacity: 0.3;\n}\n\n.components-form-toggle input.components-form-toggle__input[type=checkbox] {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n margin: 0;\n padding: 0;\n z-index: 1;\n border: none;\n}\n.components-form-toggle input.components-form-toggle__input[type=checkbox]:checked {\n background: none;\n}\n.components-form-toggle input.components-form-toggle__input[type=checkbox]::before {\n content: \"\";\n}\n\n.components-form-token-field__input-container {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n width: 100%;\n margin: 0 0 8px 0;\n padding: 0;\n cursor: text;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-token-field__input-container {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-form-token-field__input-container {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-form-token-field__input-container:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-form-token-field__input-container::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-form-token-field__input-container::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-form-token-field__input-container:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-form-token-field__input-container.is-disabled {\n background: #ddd;\n border-color: #ddd;\n}\n.components-form-token-field__input-container.is-active {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-form-token-field__input-container input[type=text].components-form-token-field__input {\n display: inline-block;\n flex: 1;\n font-family: inherit;\n font-size: 16px;\n width: 100%;\n max-width: 100%;\n margin-left: 4px;\n padding: 0;\n min-height: 24px;\n min-width: 50px;\n background: inherit;\n border: 0;\n color: #1e1e1e;\n box-shadow: none;\n}\n@media (min-width: 600px) {\n .components-form-token-field__input-container input[type=text].components-form-token-field__input {\n font-size: 13px;\n }\n}\n.components-form-token-field__input-container input[type=text].components-form-token-field__input:focus, .components-form-token-field.is-active .components-form-token-field__input-container input[type=text].components-form-token-field__input {\n outline: none;\n box-shadow: none;\n}\n.components-form-token-field__input-container .components-form-token-field__token + input[type=text].components-form-token-field__input {\n width: auto;\n}\n\n.components-form-token-field__help {\n font-size: 12px;\n font-style: normal;\n color: #757575;\n}\n\n.components-form-token-field__token {\n font-size: 13px;\n display: flex;\n color: #1e1e1e;\n max-width: 100%;\n}\n.components-form-token-field__token.is-success .components-form-token-field__token-text,\n.components-form-token-field__token.is-success .components-form-token-field__remove-token {\n background: #4ab866;\n}\n.components-form-token-field__token.is-error .components-form-token-field__token-text,\n.components-form-token-field__token.is-error .components-form-token-field__remove-token {\n background: #cc1818;\n}\n.components-form-token-field__token.is-validating .components-form-token-field__token-text,\n.components-form-token-field__token.is-validating .components-form-token-field__remove-token {\n color: #757575;\n}\n.components-form-token-field__token.is-borderless {\n position: relative;\n padding: 0 24px 0 0;\n}\n.components-form-token-field__token.is-borderless .components-form-token-field__token-text {\n background: transparent;\n color: var(--wp-admin-theme-color);\n}\n.components-form-token-field__token.is-borderless .components-form-token-field__remove-token {\n background: transparent;\n color: #757575;\n position: absolute;\n top: 1px;\n right: 0;\n padding: 0;\n}\n.components-form-token-field__token.is-borderless.is-success .components-form-token-field__token-text {\n color: #4ab866;\n}\n.components-form-token-field__token.is-borderless.is-error .components-form-token-field__token-text {\n color: #cc1818;\n border-radius: 4px 0 0 4px;\n padding: 0 4px 0 6px;\n}\n.components-form-token-field__token.is-borderless.is-validating .components-form-token-field__token-text {\n color: #1e1e1e;\n}\n.components-form-token-field__token.is-disabled .components-form-token-field__remove-token {\n cursor: default;\n}\n\n.components-form-token-field__token-text,\n.components-form-token-field__remove-token.components-button {\n display: inline-block;\n line-height: 24px;\n height: auto;\n background: #ddd;\n min-width: unset;\n transition: all 0.2s cubic-bezier(0.4, 1, 0.4, 1);\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-token-field__token-text,\n.components-form-token-field__remove-token.components-button {\n transition-duration: 0s;\n transition-delay: 0s;\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n\n.components-form-token-field__token-text {\n border-radius: 2px 0 0 2px;\n padding: 0 0 0 8px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.components-form-token-field__remove-token.components-button {\n cursor: pointer;\n border-radius: 0 2px 2px 0;\n padding: 0 2px;\n color: #1e1e1e;\n line-height: 10px;\n overflow: initial;\n}\n.components-form-token-field__remove-token.components-button:hover {\n color: #1e1e1e;\n}\n\n.components-form-token-field__suggestions-list {\n flex: 1 0 100%;\n min-width: 100%;\n max-height: 9em;\n overflow-y: auto;\n transition: all 0.15s ease-in-out;\n list-style: none;\n border-top: 1px solid #757575;\n margin: 0;\n padding: 0;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-form-token-field__suggestions-list {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n\n.components-form-token-field__suggestion {\n color: #757575;\n display: block;\n font-size: 13px;\n padding: 4px 8px;\n margin: 0;\n cursor: pointer;\n}\n.components-form-token-field__suggestion.is-selected {\n background: var(--wp-admin-theme-color);\n color: #fff;\n}\n\n.components-form-token-field__suggestion-match {\n text-decoration: underline;\n}\n\n@media (min-width: 600px) {\n .components-guide {\n width: 600px;\n }\n}\n.components-guide .components-modal__content {\n padding: 0;\n margin-top: 0;\n border-radius: 2px;\n}\n.components-guide .components-modal__content::before {\n content: none;\n}\n.components-guide .components-modal__header {\n border-bottom: none;\n padding: 0;\n position: sticky;\n height: 60px;\n}\n.components-guide .components-modal__header .components-button {\n align-self: flex-start;\n margin: 8px 8px 0 0;\n position: static;\n}\n.components-guide .components-modal__header .components-button:hover svg {\n fill: #fff;\n}\n.components-guide__container {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: -60px;\n min-height: 100%;\n}\n.components-guide__page {\n display: flex;\n flex-direction: column;\n justify-content: center;\n position: relative;\n}\n@media (min-width: 600px) {\n .components-guide__page {\n min-height: 300px;\n }\n}\n.components-guide__footer {\n align-content: center;\n display: flex;\n height: 30px;\n justify-content: center;\n margin: 0 0 24px 0;\n padding: 0 32px;\n position: relative;\n width: 100%;\n}\n.components-guide__page-control {\n margin: 0;\n text-align: center;\n}\n.components-guide__page-control li {\n display: inline-block;\n margin: 0;\n}\n.components-guide__page-control .components-button {\n height: 30px;\n min-width: 20px;\n margin: -6px 0;\n}\n\n.components-modal__frame.components-guide {\n border: none;\n min-width: 312px;\n height: 80vh;\n max-height: 575px;\n}\n@media (max-width: 600px) {\n .components-modal__frame.components-guide {\n margin: auto;\n max-width: calc(100vw - 16px * 2);\n }\n}\n\n.components-button.components-guide__back-button, .components-button.components-guide__forward-button, .components-button.components-guide__finish-button {\n height: 30px;\n position: absolute;\n}\n.components-button.components-guide__back-button, .components-button.components-guide__forward-button {\n font-size: 13px;\n padding: 4px 2px;\n}\n.components-button.components-guide__back-button.has-text svg, .components-button.components-guide__forward-button.has-text svg {\n margin: 0;\n}\n.components-button.components-guide__back-button:hover, .components-button.components-guide__forward-button:hover {\n text-decoration: underline;\n}\n.components-button.components-guide__back-button {\n left: 32px;\n}\n.components-button.components-guide__forward-button {\n right: 32px;\n color: #1386bf;\n font-weight: bold;\n}\n.components-button.components-guide__finish-button {\n right: 32px;\n}\n\n[role=region] {\n position: relative;\n}\n\n.is-focusing-regions [role=region]:focus::after {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n pointer-events: none;\n outline: 4px solid transparent;\n box-shadow: inset 0 0 0 4px var(--wp-admin-theme-color);\n}\n@supports (outline-offset: 1px) {\n .is-focusing-regions [role=region]:focus::after {\n content: none;\n }\n .is-focusing-regions [role=region]:focus {\n outline-style: solid;\n outline-color: var(--wp-admin-theme-color);\n outline-width: 4px;\n outline-offset: -4px;\n }\n}\n\n.components-menu-group + .components-menu-group {\n margin-top: 8px;\n padding-top: 8px;\n border-top: 1px solid #1e1e1e;\n}\n.components-menu-group + .components-menu-group.has-hidden-separator {\n border-top: none;\n margin-top: 0;\n padding-top: 0;\n}\n\n.components-menu-group__label {\n padding: 0 8px;\n margin-top: 4px;\n margin-bottom: 12px;\n color: #757575;\n text-transform: uppercase;\n font-size: 11px;\n font-weight: 500;\n white-space: nowrap;\n}\n\n.components-menu-item__button,\n.components-menu-item__button.components-button {\n width: 100%;\n}\n.components-menu-item__button[role=menuitemradio] .components-menu-item__item:only-child, .components-menu-item__button[role=menuitemcheckbox] .components-menu-item__item:only-child,\n.components-menu-item__button.components-button[role=menuitemradio] .components-menu-item__item:only-child,\n.components-menu-item__button.components-button[role=menuitemcheckbox] .components-menu-item__item:only-child {\n padding-right: 48px;\n box-sizing: initial;\n}\n.components-menu-item__button .components-menu-items__item-icon,\n.components-menu-item__button.components-button .components-menu-items__item-icon {\n display: inline-block;\n flex: 0 0 auto;\n}\n.components-menu-item__button .components-menu-items__item-icon.has-icon-right,\n.components-menu-item__button.components-button .components-menu-items__item-icon.has-icon-right {\n margin-right: -2px;\n margin-left: 24px;\n}\n.components-menu-item__button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right,\n.components-menu-item__button.components-button .components-menu-item__shortcut + .components-menu-items__item-icon.has-icon-right {\n margin-left: 8px;\n}\n.components-menu-item__button .block-editor-block-icon,\n.components-menu-item__button.components-button .block-editor-block-icon {\n margin-left: -2px;\n margin-right: 8px;\n}\n.components-menu-item__button.is-primary,\n.components-menu-item__button.components-button.is-primary {\n justify-content: center;\n}\n.components-menu-item__button.is-primary .components-menu-item__item,\n.components-menu-item__button.components-button.is-primary .components-menu-item__item {\n margin-right: 0;\n}\n.components-menu-item__button:disabled.is-tertiary, .components-menu-item__button[aria-disabled=true].is-tertiary,\n.components-menu-item__button.components-button:disabled.is-tertiary,\n.components-menu-item__button.components-button[aria-disabled=true].is-tertiary {\n background: none;\n color: var(--wp-admin-theme-color-darker-10);\n opacity: 0.3;\n}\n\n.components-menu-item__info-wrapper {\n display: flex;\n flex-direction: column;\n margin-right: auto;\n}\n\n.components-menu-item__info {\n margin-top: 4px;\n font-size: 12px;\n color: #757575;\n white-space: normal;\n}\n\n.components-menu-item__item {\n white-space: nowrap;\n min-width: 160px;\n margin-right: auto;\n display: inline-flex;\n align-items: center;\n}\n\n.components-menu-item__shortcut {\n align-self: center;\n margin-right: 0;\n margin-left: auto;\n padding-left: 24px;\n color: currentColor;\n display: none;\n}\n@media (min-width: 480px) {\n .components-menu-item__shortcut {\n display: inline;\n }\n}\n\n.components-menu-items-choice svg,\n.components-menu-items-choice.components-button svg {\n margin-right: 12px;\n}\n.components-menu-items-choice.has-icon,\n.components-menu-items-choice.components-button.has-icon {\n padding-left: 12px;\n}\n\n.components-modal__screen-overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-color: rgba(0, 0, 0, 0.35);\n z-index: 100000;\n display: flex;\n animation: edit-post__fade-in-animation 0.2s ease-out 0s;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-modal__screen-overlay {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n\n.components-modal__frame {\n margin: 0;\n width: 100%;\n background: #fff;\n box-shadow: 0 10px 10px rgba(0, 0, 0, 0.25);\n border-radius: 2px;\n overflow: hidden;\n display: flex;\n}\n@media (min-width: 600px) {\n .components-modal__frame {\n margin: auto;\n width: auto;\n min-width: 360px;\n max-width: calc(100% - 32px);\n max-height: calc(100% - 120px);\n animation: components-modal__appear-animation 0.1s ease-out;\n animation-fill-mode: forwards;\n }\n}\n@media (min-width: 600px) and (prefers-reduced-motion: reduce) {\n .components-modal__frame {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-modal__frame.is-full-screen {\n width: 90vw;\n min-height: 90vh;\n }\n}\n@media (min-width: 960px) {\n .components-modal__frame {\n max-height: 70%;\n }\n}\n\n@keyframes components-modal__appear-animation {\n from {\n transform: translateY(32px);\n }\n to {\n transform: translateY(0);\n }\n}\n.components-modal__header {\n box-sizing: border-box;\n border-bottom: 1px solid transparent;\n padding: 0 32px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n height: 76px;\n width: 100%;\n z-index: 10;\n position: absolute;\n top: 0;\n left: 0;\n}\n.components-modal__header .components-modal__header-heading {\n font-size: 1.2rem;\n font-weight: 600;\n}\n.components-modal__header h1 {\n line-height: 1;\n margin: 0;\n}\n.components-modal__header .components-button {\n position: relative;\n left: 8px;\n}\n.components-modal__content.has-scrolled-content:not(.hide-header) .components-modal__header {\n border-bottom-color: #ddd;\n}\n.components-modal__header + p {\n margin-top: 0;\n}\n\n.components-modal__header-heading-container {\n align-items: center;\n flex-grow: 1;\n display: flex;\n flex-direction: row;\n justify-content: left;\n}\n\n.components-modal__header-icon-container {\n display: inline-block;\n}\n.components-modal__header-icon-container svg {\n max-width: 36px;\n max-height: 36px;\n padding: 8px;\n}\n\n.components-modal__content {\n flex: 1;\n margin-top: 76px;\n padding: 0 32px 32px;\n overflow: auto;\n}\n.components-modal__content.hide-header {\n margin-top: 0;\n padding-top: 24px;\n}\n\n.components-notice {\n display: flex;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n background-color: #fff;\n border-left: 4px solid var(--wp-admin-theme-color);\n margin: 5px 15px 2px;\n padding: 8px 12px;\n align-items: center;\n}\n.components-notice.is-dismissible {\n padding-right: 36px;\n position: relative;\n}\n.components-notice.is-success {\n border-left-color: #4ab866;\n background-color: #eff9f1;\n}\n.components-notice.is-warning {\n border-left-color: #f0b849;\n background-color: #fef8ee;\n}\n.components-notice.is-error {\n border-left-color: #cc1818;\n background-color: #f4a2a2;\n}\n\n.components-notice__content {\n flex-grow: 1;\n margin: 4px 25px 4px 0;\n}\n\n.components-notice__actions {\n display: flex;\n flex-wrap: wrap;\n}\n\n.components-notice__action.components-button {\n margin-right: 8px;\n}\n.components-notice__action.components-button, .components-notice__action.components-button.is-link {\n margin-left: 12px;\n}\n.components-notice__action.components-button.is-secondary {\n vertical-align: initial;\n}\n\n.components-notice__dismiss {\n color: #757575;\n align-self: flex-start;\n flex-shrink: 0;\n}\n.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):active, .components-notice__dismiss:not(:disabled):not([aria-disabled=true]):focus {\n color: #1e1e1e;\n background-color: transparent;\n}\n.components-notice__dismiss:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {\n box-shadow: none;\n}\n\n.components-notice-list {\n max-width: 100vw;\n box-sizing: border-box;\n}\n.components-notice-list .components-notice__content {\n margin-top: 12px;\n margin-bottom: 12px;\n line-height: 2;\n}\n.components-notice-list .components-notice__action.components-button {\n display: block;\n margin-left: 0;\n margin-top: 8px;\n}\n\n.components-panel {\n background: #fff;\n border: 1px solid #e0e0e0;\n}\n.components-panel > .components-panel__header:first-child,\n.components-panel > .components-panel__body:first-child {\n margin-top: -1px;\n}\n.components-panel > .components-panel__header:last-child,\n.components-panel > .components-panel__body:last-child {\n border-bottom-width: 0;\n}\n\n.components-panel + .components-panel {\n margin-top: -1px;\n}\n\n.components-panel__body {\n border-top: 1px solid #e0e0e0;\n border-bottom: 1px solid #e0e0e0;\n}\n.components-panel__body h3 {\n margin: 0 0 0.5em;\n}\n.components-panel__body.is-opened {\n padding: 16px;\n}\n\n.components-panel__header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 16px;\n border-bottom: 1px solid #ddd;\n box-sizing: content-box;\n height: 47px;\n}\n.components-panel__header h2 {\n margin: 0;\n font-size: inherit;\n color: inherit;\n}\n\n.components-panel__body + .components-panel__body,\n.components-panel__body + .components-panel__header,\n.components-panel__header + .components-panel__body,\n.components-panel__header + .components-panel__header {\n margin-top: -1px;\n}\n\n.components-panel__body > .components-panel__body-title {\n display: block;\n padding: 0;\n font-size: inherit;\n margin-top: 0;\n margin-bottom: 0;\n transition: 0.1s background ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-panel__body > .components-panel__body-title {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n\n.components-panel__body.is-opened > .components-panel__body-title {\n margin: -16px;\n margin-bottom: 5px;\n}\n\n.components-panel__body > .components-panel__body-title:hover {\n background: #f0f0f0;\n border: none;\n}\n\n.components-panel__body-toggle.components-button {\n position: relative;\n padding: 16px 48px 16px 16px;\n outline: none;\n width: 100%;\n font-weight: 500;\n text-align: left;\n color: #1e1e1e;\n border: none;\n box-shadow: none;\n transition: 0.1s background ease-in-out;\n height: auto;\n /* rtl:begin:ignore */\n /* rtl:end:ignore */\n}\n@media (prefers-reduced-motion: reduce) {\n .components-panel__body-toggle.components-button {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.components-panel__body-toggle.components-button:focus {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n border-radius: 0;\n}\n.components-panel__body-toggle.components-button .components-panel__arrow {\n position: absolute;\n right: 16px;\n top: 50%;\n transform: translateY(-50%);\n color: #1e1e1e;\n fill: currentColor;\n transition: 0.1s color ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-panel__body-toggle.components-button .components-panel__arrow {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\nbody.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right {\n transform: scaleX(-1);\n -ms-filter: fliph;\n filter: FlipH;\n margin-top: -10px;\n}\n\n.components-panel__icon {\n color: #757575;\n margin: -2px 0 -2px 6px;\n}\n\n.components-panel__body-toggle-icon {\n margin-right: -5px;\n}\n\n.components-panel__color-title {\n float: left;\n height: 19px;\n}\n\n.components-panel__row {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-top: 8px;\n min-height: 36px;\n}\n.components-panel__row select {\n min-width: 0;\n}\n.components-panel__row label {\n margin-right: 12px;\n flex-shrink: 0;\n max-width: 75%;\n}\n.components-panel__row:empty, .components-panel__row:first-of-type {\n margin-top: 0;\n}\n\n.components-panel .circle-picker {\n padding-bottom: 20px;\n}\n\n.components-placeholder.components-placeholder {\n box-sizing: border-box;\n position: relative;\n padding: 1em;\n min-height: 200px;\n width: 100%;\n text-align: left;\n margin: 0;\n color: #1e1e1e;\n -moz-font-smoothing: subpixel-antialiased;\n -webkit-font-smoothing: subpixel-antialiased;\n border-radius: 2px;\n background-color: #fff;\n box-shadow: inset 0 0 0 1px #1e1e1e;\n outline: 1px solid transparent;\n}\n@supports (position: sticky) {\n .components-placeholder.components-placeholder {\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n }\n}\n\n.components-placeholder__error,\n.components-placeholder__instructions,\n.components-placeholder__label,\n.components-placeholder__fieldset {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n}\n\n.components-placeholder__label {\n display: flex;\n font-weight: 600;\n margin-bottom: 16px;\n align-items: center;\n}\n.components-placeholder__label > svg,\n.components-placeholder__label .dashicon,\n.components-placeholder__label .block-editor-block-icon {\n margin-right: 1ch;\n fill: currentColor;\n}\n@media (forced-colors: active) {\n .components-placeholder__label > svg,\n.components-placeholder__label .dashicon,\n.components-placeholder__label .block-editor-block-icon {\n fill: CanvasText;\n }\n}\n.components-placeholder__label:empty {\n display: none;\n}\n\n.components-placeholder__fieldset,\n.components-placeholder__fieldset form {\n display: flex;\n flex-direction: row;\n width: 100%;\n flex-wrap: wrap;\n}\n.components-placeholder__fieldset p,\n.components-placeholder__fieldset form p {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n}\n\n.components-placeholder__fieldset.components-placeholder__fieldset {\n border: none;\n padding: 0;\n}\n.components-placeholder__fieldset.components-placeholder__fieldset .components-placeholder__instructions {\n padding: 0;\n font-weight: normal;\n font-size: 1em;\n}\n\n.components-placeholder__fieldset.is-column-layout,\n.components-placeholder__fieldset.is-column-layout form {\n flex-direction: column;\n}\n\n.components-placeholder__input[type=url] {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n margin: 0 8px 0 0;\n flex: 1 1 auto;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-placeholder__input[type=url] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-placeholder__input[type=url] {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-placeholder__input[type=url]:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-placeholder__input[type=url]::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-placeholder__input[type=url]::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-placeholder__input[type=url]:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n\n.components-placeholder__instructions {\n margin-bottom: 1em;\n}\n\n.components-placeholder__error {\n margin-top: 1em;\n width: 100%;\n}\n\n.components-placeholder__fieldset .components-button {\n margin-right: 12px;\n margin-bottom: 12px;\n}\n.components-placeholder__fieldset .components-button:last-child {\n margin-bottom: 0;\n margin-right: 0;\n}\n\n.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link {\n margin-left: 10px;\n margin-right: 10px;\n}\n.components-placeholder__fieldset .components-button:not(.is-link) ~ .components-button.is-link:last-child {\n margin-right: 0;\n}\n\n.components-placeholder.is-large .components-placeholder__label {\n font-size: 18pt;\n font-weight: normal;\n}\n.components-placeholder.is-medium .components-placeholder__instructions, .components-placeholder.is-small .components-placeholder__instructions {\n display: none;\n}\n.components-placeholder.is-medium .components-placeholder__fieldset,\n.components-placeholder.is-medium .components-placeholder__fieldset form, .components-placeholder.is-small .components-placeholder__fieldset,\n.components-placeholder.is-small .components-placeholder__fieldset form {\n flex-direction: column;\n}\n.components-placeholder.is-medium .components-placeholder__fieldset .components-button, .components-placeholder.is-small .components-placeholder__fieldset .components-button {\n margin-right: auto;\n}\n.components-placeholder.is-small .components-button {\n padding: 0 8px 2px;\n}\n\n/**\n * Dashed style placeholders\n */\n.components-placeholder.has-illustration {\n color: inherit;\n display: flex;\n box-shadow: none;\n min-width: 100px;\n -webkit-backdrop-filter: blur(100px);\n backdrop-filter: blur(100px);\n background-color: transparent;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n border-radius: 2px;\n overflow: hidden;\n}\n.is-dark-theme .components-placeholder.has-illustration {\n background-color: rgba(0, 0, 0, 0.1);\n}\n.components-placeholder.has-illustration .components-placeholder__fieldset {\n width: auto;\n margin-left: 0;\n margin-right: 0;\n}\n.components-placeholder.has-illustration .components-placeholder__label,\n.components-placeholder.has-illustration .components-placeholder__instructions,\n.components-placeholder.has-illustration .components-button {\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.1s linear;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-placeholder.has-illustration .components-placeholder__label,\n.components-placeholder.has-illustration .components-placeholder__instructions,\n.components-placeholder.has-illustration .components-button {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n.is-selected > .components-placeholder.has-illustration .components-placeholder__label,\n.is-selected > .components-placeholder.has-illustration .components-placeholder__instructions,\n.is-selected > .components-placeholder.has-illustration .components-button {\n opacity: 1;\n pointer-events: auto;\n}\n.components-placeholder.has-illustration::before {\n content: \"\";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n pointer-events: none;\n background: currentColor;\n opacity: 0.1;\n}\n\n.components-placeholder__preview {\n display: flex;\n justify-content: center;\n}\n\n.components-placeholder__illustration {\n box-sizing: content-box;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n width: 100%;\n height: 100%;\n stroke: currentColor;\n opacity: 0.25;\n}\n\n.components-popover {\n z-index: 1000000;\n}\n.components-popover.is-expanded {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000000 !important;\n}\n\n.components-popover__content {\n background: #fff;\n outline: 1px solid #ccc;\n box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);\n border-radius: 2px;\n box-sizing: border-box;\n width: min-content;\n}\n.is-alternate .components-popover__content {\n outline: 1px solid #1e1e1e;\n box-shadow: none;\n}\n.is-unstyled .components-popover__content {\n background: none;\n border: none;\n border-radius: 0;\n outline: none;\n box-shadow: none;\n}\n.components-popover.is-expanded .components-popover__content {\n position: static;\n height: calc(100% - 48px);\n overflow-y: visible;\n width: auto;\n border: none;\n outline: none;\n border-top: 1px solid #1e1e1e;\n}\n\n.components-popover__header {\n align-items: center;\n background: #fff;\n display: flex;\n height: 48px;\n justify-content: space-between;\n padding: 0 8px 0 16px;\n}\n\n.components-popover__header-title {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 100%;\n}\n\n.components-popover__close.components-button {\n z-index: 5;\n}\n\n.components-popover__arrow {\n position: absolute;\n width: 14px;\n height: 14px;\n pointer-events: none;\n display: flex;\n}\n.components-popover__arrow::before {\n content: \"\";\n position: absolute;\n top: -1px;\n left: 1px;\n height: 2px;\n right: 1px;\n background-color: #fff;\n}\n.components-popover__arrow.is-top {\n bottom: -14px !important;\n transform: rotate(0);\n}\n.components-popover__arrow.is-right {\n /*rtl:begin:ignore*/\n left: -14px !important;\n transform: rotate(90deg);\n}\n.components-popover__arrow.is-bottom {\n top: -14px !important;\n transform: rotate(180deg);\n}\n.components-popover__arrow.is-left {\n /*rtl:begin:ignore*/\n right: -14px !important;\n transform: rotate(-90deg);\n /*rtl:end:ignore*/\n}\n\n.components-popover__triangle {\n display: block;\n flex: 1;\n}\n\n.components-popover__triangle-bg {\n fill: #fff;\n}\n\n.components-popover__triangle-border {\n fill: transparent;\n stroke-width: 1px;\n stroke: #ccc;\n}\n.is-alternate .components-popover__triangle-border {\n stroke: #1e1e1e;\n}\n\n.components-radio-control__input[type=radio] {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n border: 1px solid #1e1e1e;\n margin-right: 12px;\n transition: none;\n border-radius: 50%;\n width: 24px;\n height: 24px;\n margin-top: 0;\n margin-right: 6px;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-radio-control__input[type=radio] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-radio-control__input[type=radio] {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-radio-control__input[type=radio]:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-radio-control__input[type=radio]::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-radio-control__input[type=radio]::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-radio-control__input[type=radio]:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n@media (min-width: 600px) {\n .components-radio-control__input[type=radio] {\n height: 20px;\n width: 20px;\n }\n}\n.components-radio-control__input[type=radio]:checked::before {\n box-sizing: inherit;\n width: 8px;\n height: 8px;\n transform: translate(7px, 7px);\n margin: 0;\n background-color: #fff;\n border: 4px solid #fff;\n}\n@media (min-width: 600px) {\n .components-radio-control__input[type=radio]:checked::before {\n transform: translate(5px, 5px);\n }\n}\n.components-radio-control__input[type=radio]:focus {\n box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-radio-control__input[type=radio]:checked {\n background: var(--wp-admin-theme-color);\n border-color: var(--wp-admin-theme-color);\n}\n\n.components-resizable-box__handle {\n display: none;\n width: 23px;\n height: 23px;\n z-index: 2;\n}\n.components-resizable-box__container.has-show-handle .components-resizable-box__handle {\n display: block;\n}\n\n.components-resizable-box__container > img {\n width: inherit;\n}\n\n.components-resizable-box__handle::after {\n display: block;\n content: \"\";\n width: 15px;\n height: 15px;\n border-radius: 50%;\n background: #fff;\n cursor: inherit;\n position: absolute;\n top: calc(50% - 8px);\n right: calc(50% - 8px);\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n\n.components-resizable-box__side-handle::before {\n display: block;\n border-radius: 2px;\n content: \"\";\n width: 3px;\n height: 3px;\n background: var(--wp-admin-theme-color);\n cursor: inherit;\n position: absolute;\n top: calc(50% - 1px);\n right: calc(50% - 1px);\n transition: transform 0.1s ease-in;\n opacity: 0;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-resizable-box__side-handle::before {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n\n.components-resizable-box__side-handle {\n z-index: 2;\n}\n\n.components-resizable-box__corner-handle {\n z-index: 2;\n}\n\n.components-resizable-box__side-handle.components-resizable-box__handle-top,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom,\n.components-resizable-box__side-handle.components-resizable-box__handle-top::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom::before {\n width: 100%;\n left: 0;\n border-left: 0;\n border-right: 0;\n}\n\n.components-resizable-box__side-handle.components-resizable-box__handle-left,\n.components-resizable-box__side-handle.components-resizable-box__handle-right,\n.components-resizable-box__side-handle.components-resizable-box__handle-left::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right::before {\n height: 100%;\n top: 0;\n border-top: 0;\n border-bottom: 0;\n}\n\n.components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {\n animation: components-resizable-box__top-bottom-animation 0.1s ease-out 0s;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n\n.components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {\n animation: components-resizable-box__left-right-animation 0.1s ease-out 0s;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n\n/* This CSS is shown only to Safari, which has a bug with table-caption making it jumpy.\nSee https://bugs.webkit.org/show_bug.cgi?id=187903. */\n@media not all and (-webkit-min-device-pixel-ratio: 0), not all and (min-resolution: 0.001dpcm) {\n @supports (-webkit-appearance: none) {\n .components-resizable-box__side-handle.components-resizable-box__handle-top:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-top:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-bottom:active::before {\n animation: none;\n }\n\n .components-resizable-box__side-handle.components-resizable-box__handle-left:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:hover::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-left:active::before,\n.components-resizable-box__side-handle.components-resizable-box__handle-right:active::before {\n animation: none;\n }\n }\n}\n@keyframes components-resizable-box__top-bottom-animation {\n from {\n transform: scaleX(0);\n opacity: 0;\n }\n to {\n transform: scaleX(1);\n opacity: 1;\n }\n}\n@keyframes components-resizable-box__left-right-animation {\n from {\n transform: scaleY(0);\n opacity: 0;\n }\n to {\n transform: scaleY(1);\n opacity: 1;\n }\n}\n/*!rtl:begin:ignore*/\n.components-resizable-box__handle-right {\n right: calc(11.5px * -1);\n}\n\n.components-resizable-box__handle-left {\n left: calc(11.5px * -1);\n}\n\n.components-resizable-box__handle-top {\n top: calc(11.5px * -1);\n}\n\n.components-resizable-box__handle-bottom {\n bottom: calc(11.5px * -1);\n}\n\n/*!rtl:end:ignore*/\n.components-responsive-wrapper {\n position: relative;\n max-width: 100%;\n}\n.components-responsive-wrapper, .components-responsive-wrapper > span {\n display: block;\n}\n\n.components-responsive-wrapper__content {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 100%;\n margin: auto;\n}\n\n.components-sandbox {\n overflow: hidden;\n}\n\niframe.components-sandbox {\n width: 100%;\n}\n\nhtml.lockscroll,\nbody.lockscroll {\n overflow: hidden;\n}\n\n.components-search-control {\n position: relative;\n}\n.components-search-control input[type=search].components-search-control__input {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n display: block;\n padding: 16px 48px 16px 16px;\n background: #f0f0f0;\n border: none;\n width: 100%;\n height: 48px;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-search-control input[type=search].components-search-control__input {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-search-control input[type=search].components-search-control__input {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-search-control input[type=search].components-search-control__input:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-search-control input[type=search].components-search-control__input::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-search-control input[type=search].components-search-control__input::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-search-control input[type=search].components-search-control__input:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n@media (min-width: 600px) {\n .components-search-control input[type=search].components-search-control__input {\n font-size: 13px;\n }\n}\n.components-search-control input[type=search].components-search-control__input:focus {\n background: #fff;\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n}\n.components-search-control input[type=search].components-search-control__input::placeholder {\n color: #757575;\n}\n.components-search-control input[type=search].components-search-control__input::-webkit-search-decoration, .components-search-control input[type=search].components-search-control__input::-webkit-search-cancel-button, .components-search-control input[type=search].components-search-control__input::-webkit-search-results-button, .components-search-control input[type=search].components-search-control__input::-webkit-search-results-decoration {\n -webkit-appearance: none;\n}\n\n.components-search-control__icon {\n position: absolute;\n top: 0;\n right: 12px;\n bottom: 0;\n display: flex;\n align-items: center;\n}\n.components-search-control__icon > svg {\n margin: 8px 0;\n}\n\n.components-search-control__input-wrapper {\n position: relative;\n}\n\n.components-select-control__input {\n background: #fff;\n height: 36px;\n line-height: 36px;\n margin: 1px;\n outline: 0;\n width: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;\n}\n@media (min-width: 782px) {\n .components-select-control__input {\n height: 28px;\n line-height: 28px;\n }\n}\n\n@media (max-width: 782px) {\n .components-base-control .components-base-control__field .components-select-control__input {\n font-size: 16px;\n }\n}\n.components-snackbar {\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n background-color: #1e1e1e;\n border-radius: 2px;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);\n color: #fff;\n padding: 16px 24px;\n width: 100%;\n max-width: 600px;\n box-sizing: border-box;\n cursor: pointer;\n pointer-events: auto;\n}\n@media (min-width: 600px) {\n .components-snackbar {\n width: -moz-fit-content;\n width: fit-content;\n }\n}\n.components-snackbar:focus {\n box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--wp-admin-theme-color);\n}\n.components-snackbar.components-snackbar-explicit-dismiss {\n cursor: default;\n}\n.components-snackbar .components-snackbar__content-with-icon {\n margin-left: 24px;\n}\n.components-snackbar .components-snackbar__icon {\n position: absolute;\n top: 24px;\n left: 28px;\n}\n.components-snackbar .components-snackbar__dismiss-button {\n margin-left: 32px;\n cursor: pointer;\n}\n\n.components-snackbar__action.components-button {\n margin-left: 32px;\n color: #fff;\n height: auto;\n flex-shrink: 0;\n line-height: 1.4;\n padding: 0;\n}\n.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary) {\n text-decoration: underline;\n background-color: transparent;\n}\n.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):focus {\n color: #fff;\n box-shadow: none;\n outline: 1px dotted #fff;\n}\n.components-snackbar__action.components-button:not(:disabled):not([aria-disabled=true]):not(.is-secondary):hover {\n color: var(--wp-admin-theme-color);\n}\n\n.components-snackbar__content {\n display: flex;\n align-items: baseline;\n justify-content: space-between;\n line-height: 1.4;\n}\n\n.components-snackbar-list {\n position: absolute;\n z-index: 100000;\n width: 100%;\n box-sizing: border-box;\n pointer-events: none;\n}\n\n.components-snackbar-list__notice-container {\n position: relative;\n padding-top: 8px;\n}\n\n.components-tab-panel__tabs {\n display: flex;\n align-items: stretch;\n flex-direction: row;\n}\n.components-tab-panel__tabs[aria-orientation=vertical] {\n flex-direction: column;\n}\n\n.components-tab-panel__tabs-item {\n background: transparent;\n border: none;\n box-shadow: none;\n border-radius: 0;\n cursor: pointer;\n height: 48px;\n padding: 3px 16px;\n margin-left: 0;\n font-weight: 500;\n transition: box-shadow 0.1s linear;\n box-sizing: border-box;\n}\n.components-tab-panel__tabs-item::after {\n content: attr(data-label);\n display: block;\n height: 0;\n overflow: hidden;\n speak: none;\n visibility: hidden;\n}\n.components-tab-panel__tabs-item:focus:not(:disabled) {\n box-shadow: inset 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n}\n.components-tab-panel__tabs-item.is-active {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) transparent, inset 0 -1.5px 0 0 var(--wp-admin-theme-color);\n position: relative;\n}\n.components-tab-panel__tabs-item.is-active::before {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 1px;\n right: 0;\n left: 0;\n border-bottom: 1.5px solid transparent;\n}\n.components-tab-panel__tabs-item:focus {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);\n}\n.components-tab-panel__tabs-item.is-active:focus {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 -3px 0 0 var(--wp-admin-theme-color);\n}\n\n.components-text-control__input,\n.components-text-control__input[type=text],\n.components-text-control__input[type=tel],\n.components-text-control__input[type=time],\n.components-text-control__input[type=url],\n.components-text-control__input[type=week],\n.components-text-control__input[type=password],\n.components-text-control__input[type=color],\n.components-text-control__input[type=date],\n.components-text-control__input[type=datetime],\n.components-text-control__input[type=datetime-local],\n.components-text-control__input[type=email],\n.components-text-control__input[type=month],\n.components-text-control__input[type=number] {\n width: 100%;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n padding: 6px 8px;\n box-shadow: 0 0 0 transparent;\n transition: box-shadow 0.1s linear;\n border-radius: 2px;\n border: 1px solid #757575;\n /* Fonts smaller than 16px causes mobile safari to zoom. */\n font-size: 16px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-text-control__input,\n.components-text-control__input[type=text],\n.components-text-control__input[type=tel],\n.components-text-control__input[type=time],\n.components-text-control__input[type=url],\n.components-text-control__input[type=week],\n.components-text-control__input[type=password],\n.components-text-control__input[type=color],\n.components-text-control__input[type=date],\n.components-text-control__input[type=datetime],\n.components-text-control__input[type=datetime-local],\n.components-text-control__input[type=email],\n.components-text-control__input[type=month],\n.components-text-control__input[type=number] {\n transition-duration: 0s;\n transition-delay: 0s;\n }\n}\n@media (min-width: 600px) {\n .components-text-control__input,\n.components-text-control__input[type=text],\n.components-text-control__input[type=tel],\n.components-text-control__input[type=time],\n.components-text-control__input[type=url],\n.components-text-control__input[type=week],\n.components-text-control__input[type=password],\n.components-text-control__input[type=color],\n.components-text-control__input[type=date],\n.components-text-control__input[type=datetime],\n.components-text-control__input[type=datetime-local],\n.components-text-control__input[type=email],\n.components-text-control__input[type=month],\n.components-text-control__input[type=number] {\n font-size: 13px;\n /* Override core line-height. To be reviewed. */\n line-height: normal;\n }\n}\n.components-text-control__input:focus,\n.components-text-control__input[type=text]:focus,\n.components-text-control__input[type=tel]:focus,\n.components-text-control__input[type=time]:focus,\n.components-text-control__input[type=url]:focus,\n.components-text-control__input[type=week]:focus,\n.components-text-control__input[type=password]:focus,\n.components-text-control__input[type=color]:focus,\n.components-text-control__input[type=date]:focus,\n.components-text-control__input[type=datetime]:focus,\n.components-text-control__input[type=datetime-local]:focus,\n.components-text-control__input[type=email]:focus,\n.components-text-control__input[type=month]:focus,\n.components-text-control__input[type=number]:focus {\n border-color: var(--wp-admin-theme-color);\n box-shadow: 0 0 0 1px var(--wp-admin-theme-color);\n outline: 2px solid transparent;\n}\n.components-text-control__input::-webkit-input-placeholder,\n.components-text-control__input[type=text]::-webkit-input-placeholder,\n.components-text-control__input[type=tel]::-webkit-input-placeholder,\n.components-text-control__input[type=time]::-webkit-input-placeholder,\n.components-text-control__input[type=url]::-webkit-input-placeholder,\n.components-text-control__input[type=week]::-webkit-input-placeholder,\n.components-text-control__input[type=password]::-webkit-input-placeholder,\n.components-text-control__input[type=color]::-webkit-input-placeholder,\n.components-text-control__input[type=date]::-webkit-input-placeholder,\n.components-text-control__input[type=datetime]::-webkit-input-placeholder,\n.components-text-control__input[type=datetime-local]::-webkit-input-placeholder,\n.components-text-control__input[type=email]::-webkit-input-placeholder,\n.components-text-control__input[type=month]::-webkit-input-placeholder,\n.components-text-control__input[type=number]::-webkit-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n.components-text-control__input::-moz-placeholder,\n.components-text-control__input[type=text]::-moz-placeholder,\n.components-text-control__input[type=tel]::-moz-placeholder,\n.components-text-control__input[type=time]::-moz-placeholder,\n.components-text-control__input[type=url]::-moz-placeholder,\n.components-text-control__input[type=week]::-moz-placeholder,\n.components-text-control__input[type=password]::-moz-placeholder,\n.components-text-control__input[type=color]::-moz-placeholder,\n.components-text-control__input[type=date]::-moz-placeholder,\n.components-text-control__input[type=datetime]::-moz-placeholder,\n.components-text-control__input[type=datetime-local]::-moz-placeholder,\n.components-text-control__input[type=email]::-moz-placeholder,\n.components-text-control__input[type=month]::-moz-placeholder,\n.components-text-control__input[type=number]::-moz-placeholder {\n opacity: 1;\n color: rgba(30, 30, 30, 0.62);\n}\n.components-text-control__input:-ms-input-placeholder,\n.components-text-control__input[type=text]:-ms-input-placeholder,\n.components-text-control__input[type=tel]:-ms-input-placeholder,\n.components-text-control__input[type=time]:-ms-input-placeholder,\n.components-text-control__input[type=url]:-ms-input-placeholder,\n.components-text-control__input[type=week]:-ms-input-placeholder,\n.components-text-control__input[type=password]:-ms-input-placeholder,\n.components-text-control__input[type=color]:-ms-input-placeholder,\n.components-text-control__input[type=date]:-ms-input-placeholder,\n.components-text-control__input[type=datetime]:-ms-input-placeholder,\n.components-text-control__input[type=datetime-local]:-ms-input-placeholder,\n.components-text-control__input[type=email]:-ms-input-placeholder,\n.components-text-control__input[type=month]:-ms-input-placeholder,\n.components-text-control__input[type=number]:-ms-input-placeholder {\n color: rgba(30, 30, 30, 0.62);\n}\n\n.components-tip {\n display: flex;\n color: #757575;\n}\n.components-tip svg {\n align-self: center;\n fill: #f0b849;\n flex-shrink: 0;\n margin-right: 16px;\n}\n.components-tip p {\n margin: 0;\n}\n\n.components-accessible-toolbar {\n display: inline-flex;\n border: 1px solid #1e1e1e;\n border-radius: 2px;\n flex-shrink: 0;\n}\n.components-accessible-toolbar > .components-toolbar-group:last-child {\n border-right: none;\n}\n\n.components-accessible-toolbar .components-button,\n.components-toolbar .components-button {\n position: relative;\n height: 48px;\n z-index: 1;\n padding-left: 16px;\n padding-right: 16px;\n}\n.components-accessible-toolbar .components-button:focus:enabled,\n.components-toolbar .components-button:focus:enabled {\n box-shadow: none;\n outline: none;\n}\n.components-accessible-toolbar .components-button::before,\n.components-toolbar .components-button::before {\n content: \"\";\n position: absolute;\n display: block;\n border-radius: 2px;\n height: 32px;\n left: 8px;\n right: 8px;\n z-index: -1;\n animation: components-button__appear-animation 0.1s ease;\n animation-fill-mode: forwards;\n}\n@media (prefers-reduced-motion: reduce) {\n .components-accessible-toolbar .components-button::before,\n.components-toolbar .components-button::before {\n animation-duration: 1ms;\n animation-delay: 0s;\n }\n}\n.components-accessible-toolbar .components-button svg,\n.components-toolbar .components-button svg {\n position: relative;\n margin-left: auto;\n margin-right: auto;\n}\n.components-accessible-toolbar .components-button.is-pressed,\n.components-toolbar .components-button.is-pressed {\n background: transparent;\n}\n.components-accessible-toolbar .components-button.is-pressed:hover,\n.components-toolbar .components-button.is-pressed:hover {\n background: transparent;\n}\n.components-accessible-toolbar .components-button.is-pressed::before,\n.components-toolbar .components-button.is-pressed::before {\n background: #1e1e1e;\n}\n.components-accessible-toolbar .components-button:focus::before,\n.components-toolbar .components-button:focus::before {\n box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color), inset 0 0 0 4px #fff;\n outline: 2px solid transparent;\n}\n.components-accessible-toolbar .components-button.has-icon.has-icon,\n.components-toolbar .components-button.has-icon.has-icon {\n padding-left: 12px;\n padding-right: 12px;\n min-width: 48px;\n}\n.components-accessible-toolbar .components-button.components-tab-button,\n.components-toolbar .components-button.components-tab-button {\n font-weight: 500;\n}\n.components-accessible-toolbar .components-button.components-tab-button span,\n.components-toolbar .components-button.components-tab-button span {\n display: inline-block;\n padding-left: 0;\n padding-right: 0;\n position: relative;\n}\n\n@keyframes components-button__appear-animation {\n from {\n transform: scaleY(0);\n }\n to {\n transform: scaleY(1);\n }\n}\n.components-toolbar__control.components-button {\n position: relative;\n}\n.components-toolbar__control.components-button[data-subscript] svg {\n padding: 5px 10px 5px 0;\n}\n.components-toolbar__control.components-button[data-subscript]::after {\n content: attr(data-subscript);\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen-Sans, Ubuntu, Cantarell, \"Helvetica Neue\", sans-serif;\n font-size: 13px;\n font-weight: 600;\n line-height: 12px;\n position: absolute;\n right: 8px;\n bottom: 10px;\n}\n.components-toolbar__control.components-button:active::before {\n display: none;\n}\n.components-toolbar__control.components-button:not(:disabled).is-pressed[data-subscript]::after {\n color: #fff;\n}\n\n.components-toolbar-group {\n min-height: 48px;\n border-right: 1px solid #1e1e1e;\n background-color: #fff;\n display: inline-flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n padding-left: 6px;\n padding-right: 6px;\n line-height: 0;\n}\n.components-toolbar-group .components-toolbar-group.components-toolbar-group {\n border-width: 0;\n margin: 0;\n}\n.components-toolbar-group .components-button.components-button,\n.components-toolbar-group .components-button.has-icon.has-icon {\n min-width: 36px;\n padding-left: 6px;\n padding-right: 6px;\n}\n.components-toolbar-group .components-button.components-button svg,\n.components-toolbar-group .components-button.has-icon.has-icon svg {\n min-width: 24px;\n}\n.components-toolbar-group .components-button.components-button::before,\n.components-toolbar-group .components-button.has-icon.has-icon::before {\n left: 2px;\n right: 2px;\n}\n\n.components-toolbar {\n min-height: 48px;\n margin: 0;\n border: 1px solid #1e1e1e;\n background-color: #fff;\n display: inline-flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n}\n.components-toolbar .components-toolbar.components-toolbar {\n border-width: 0;\n margin: 0;\n}\n\ndiv.components-toolbar > div {\n display: block;\n margin: 0;\n}\n@supports (position: sticky) {\n div.components-toolbar > div {\n display: flex;\n }\n}\ndiv.components-toolbar > div + div.has-left-divider {\n margin-left: 6px;\n position: relative;\n overflow: visible;\n}\ndiv.components-toolbar > div + div.has-left-divider::before {\n display: inline-block;\n content: \"\";\n box-sizing: content-box;\n background-color: #ddd;\n position: absolute;\n top: 8px;\n left: -3px;\n width: 1px;\n height: 20px;\n}\n\n.components-tooltip.components-popover {\n z-index: 1000002;\n}\n.components-tooltip.components-popover .components-popover__content {\n min-width: min-content;\n}\n\n.components-tooltip .components-popover__content {\n background: #1e1e1e;\n border-radius: 2px;\n border-width: 0;\n outline: none;\n color: #fff;\n white-space: nowrap;\n text-align: center;\n line-height: 1.4;\n font-size: 12px;\n box-shadow: none;\n padding: 4px 8px;\n}\n\n.components-tooltip__shortcut {\n display: inline-block;\n margin-left: 8px;\n}\n\n.disabled-element-wrapper {\n position: relative;\n}\n.disabled-element-wrapper .event-catcher {\n z-index: 100002;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n}","@import 'breakpoints-mixin.scss';\n@import '../node_modules/@wordpress/components/build-style/style.css';\n@import 'common.scss';\n@keyframes has-fade-in {\n\tfrom {\n\t\topacity: 0;\n\t}\n\tto {\n\t\topacity: 1;\n\t}\n}\n\n@keyframes has-fade-in-out {\n\t0% {\n\t\topacity: 0;\n\t\theight: 0;\n\t}\n\t50% {\n\t\topacity: 1;\n\t\theight: auto;\n\t}\n\t100% {\n\t\topacity: 0;\n\t\theight: 0;\n\t\tvisibility: hidden;\n\t}\n}\n\n@keyframes has-fade-out {\n\tfrom {\n\t\topacity: 1;\n\t\theight: auto;\n\t}\n\tto {\n\t\topacity: 0;\n\t\theight: 0;\n\t}\n}\n\n@keyframes has-spin {\n\t100% {\n\t\ttransform: rotate(360deg);\n\t}\n}\n\n/* Make interface full-width/full-height */\n#wpcontent {\n\tpadding-left: 0 !important;\n\tpadding-right: 0 !important;\n\tposition: relative;\n\tbackground-color: #ebebeb;\n\n\t.quotes-dlx-plugin {\n\t\tmargin: 0;\n\t}\n}\n\n#wpbody-content {\n\tpadding: 0;\n\tmargin: 0;\n}\n\n#wpfooter {\n\tdisplay: none;\n}\n\n.has-admin-container-body__content {\n\tpadding: 10px 35px;\n\tbackground: #f0f0f1;\n\tborder: 1px solid #c3c4c7;\n\tborder-top: 0;\n\tbox-shadow: 0 1px 6px rgb(0 0 0 / 8%);\n}\n\n$link_color: #2c3a95;\n$link_color_hover: darken(#2c3a95, 15%);\n.has-form-wrapper {\n\tposition: relative;\n\tpadding: 0;\n\tmargin: 0;\n\n\theader {\n\t\tbackground: #4f4f4f;\n\t}\n\t.has-admin-container-body {\n\t\tmax-width: 69.5rem;\n\t\tmargin: 0 auto;\n\t\tpadding: 2.4em 20px;\n\t}\n\t.has-admin-container-wrap {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr;\n\t\tgrid-column-gap: 1.975rem;\n\t\talign-items: center;\n\t\tpadding: 1.5rem;\n\t\tmax-width: 69.5rem;\n\t\tmargin: 0 auto;\n\t\ttext-align: right;\n\n\t\t@include respond-to('small') {\n\t\t\tgrid-template-columns: 1fr 175px;\n\t\t}\n\n\t\t@include respond-to('medium') {\n\t\t\tgrid-template-columns: 1fr 250px;\n\t\t}\n\n\t\t@include respond-to('large') {\n\t\t\tgrid-template-columns: 1fr 250px;\n\t\t}\n\n\t\th2 {\n\t\t\tpadding: 0;\n\t\t\tmargin: 0;\n\t\t}\n\t}\n\n\t.has-logo-wrapper {\n\t\ttext-align: left;\n\n\t\timg {\n\t\t\tmax-width: 100%;\n\t\t\theight: auto;\n\t\t}\n\t}\n\n\t.header__btn-wrap {\n\t\t@include respond-to('small') {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\n\t.has-admin-preview {\n\t\tli {\n\t\t\tdisplay: list-item;\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t\tmargin-bottom: 5px;\n\t\t}\n\n\t\ta {\n\t\t\tdisplay: inline-block;\n\t\t\tposition: relative;\n\t\t\tcolor: $link_color;\n\t\t\ttransition: all 0.3s ease-in-out;\n\t\t\ttext-decoration: none;\n\n\t\t\t&:after {\n\t\t\t\ttransition: all 0.3s ease-in-out;\n\t\t\t\tdisplay: inline-block;\n\t\t\t\topacity: 0;\n\t\t\t\tposition: absolute;\n\t\t\t\tbottom: -5px;\n\t\t\t\tleft: 0;\n\t\t\t\tcontent: '';\n\t\t\t\twidth: 100%;\n\t\t\t\theight: 2px;\n\t\t\t\tbackground: $link_color_hover;\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\tcolor: $link_color_hover;\n\t\t\t\t&:after {\n\t\t\t\t\topacity: 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Button styles stolen from QuotesDLX */\n.header__btn-wrap {\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\tflex-wrap: wrap;\n\tmax-width: 100%;\n\tmargin-top: 15px;\n\n\t@include respond-to('small') {\n\t\tmax-width: 250px;\n\t\tmargin-top: 0;\n\t}\n\n\t@include respond-to('medium') {\n\t\tmax-width: 250px;\n\t\tmargin-top: 0;\n\t}\n\n\t@include respond-to('large') {\n\t\tmax-width: 250px;\n\t\tmargin-top: 0;\n\t}\n\n\t&.left,\n\t&.right,\n\t&.center {\n\t\tdisplay: flex;\n\t}\n\t&.left {\n\t\tjustify-content: flex-start;\n\t}\n\t&.center {\n\t\tjustify-content: center;\n\t}\n\t&.right {\n\t\tjustify-content: flex-end;\n\t}\n\tbutton,\n\t.has__btn-primary {\n\t\twidth: 100%;\n\t\ttext-align: center;\n\t\tmargin-bottom: 0px;\n\t\tborder-radius: 2px;\n\t\tfont-size: 1.3em;\n\t\tdisplay: inline-block;\n\t\tbackground: #fff;\n\t\tcolor: #4f4f4f;\n\t\tborder: 2px solid #4f4f4f;\n\t\tpadding: 10px 20px;\n\t\tcursor: pointer;\n\t\ttransition: all 0.4s ease-in-out;\n\t\ttext-decoration: none;\n\n\t\t&:not([disabled]):hover {\n\t\t\tborder-radius: 2px;\n\t\t\tbackground: #4f4f4f;\n\t\t\tcolor: #fff;\n\t\t\tborder-color: #fff;\n\t\t\ttext-decoration: none;\n\t\t\ttransition: all 0.4s ease-in-out;\n\t\t}\n\t}\n\t.has__btn-primary {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\n\t\tmargin-bottom: 15px;\n\n\t\t&:last-child {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\t}\n}\n\n.has-admin-container-footer {\n\tfooter {\n\t\tbackground: #4f4f4f;\n\t}\n\n\t.has-admin-container-wrap {\n\t\tdisplay: flex;\n\t\tflex-wrap: wrap;\n\t\tjustify-content: center;\n\t\tmargin: 0 auto;\n\t\tmax-width: 275px;\n\t\tmargin: 0 auto;\n\t\tpadding: 4em 0;\n\t}\n\n\t.footer-rate-icon,\n\t.has-plea {\n\t\tdisplay: block;\n\t\tfont-style: italic;\n\t\tcolor: #fff;\n\t}\n\t.has__btn-primary {\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\ttext-align: center;\n\t\tmargin-bottom: 0px;\n\t\tborder-radius: 2px;\n\t\tfont-size: 1.3em;\n\t\tline-height: 1.35em;\n\t\tbackground: #f08ea5;\n\t\tcolor: #fff;\n\t\tborder: 2px solid #f5a4b7;\n\t\tpadding: 10px 20px;\n\t\tcursor: pointer;\n\t\ttransition: all 0.4s ease-in-out;\n\t\ttext-decoration: none;\n\t\tmargin-top: 18px;\n\t\tmargin-bottom: 18px;\n\n\t\t&:not([disabled]):hover {\n\t\t\tborder-radius: 2px;\n\t\t\tbackground: #4f4f4f;\n\t\t\tcolor: #fff;\n\t\t\tborder-color: #f08ea5;\n\t\t\ttext-decoration: none;\n\t\t\ttransition: all 0.4s ease-in-out;\n\t\t}\n\t}\n}\n\n/* Admin panel content container styles */\nh2.has-admin-content-subheading {\n\tposition: relative;\n\tfont-size: 1.65em;\n\tmargin-bottom: 1.3em;\n\n\t& ~ .description {\n\t\tmargin-bottom: 1.3em;\n\t}\n\t&:after {\n\t\tcontent: '';\n\t\tdisplay: block;\n\t\twidth: 100%;\n\t\theight: 2px;\n\t\tbackground: #dcdcde;\n\t\tposition: absolute;\n\t\tbottom: -15px;\n\t\tleft: 0;\n\t}\n}\n\n.has-admin-content-wrapper {\n\t.components-base-control__help {\n\t\tfont-size: 0.95em;\n\t}\n\tp.description {\n\t\tfont-size: 1.1em;\n\t}\n\t.has-admin-component-row,\n\t.has-admin-component-row .components-select-control {\n\t\t.components-has-units-control-label__units,\n\t\tlabel {\n\t\t\tdisplay: block;\n\t\t\tfont-weight: 600;\n\t\t\ttext-transform: unset;\n\t\t\tfont-size: 14px;\n\t\t}\n\t}\n\t.has-admin-colors-tabs h3,\n\t.has-color-component-label {\n\t\tdisplay: block;\n\t\tfont-weight: 600;\n\t\ttext-transform: unset;\n\t\tfont-size: 14px;\n\t}\n\t.has-admin-component-row .components-select-control {\n\t\tmargin-bottom: 15px;\n\t}\n\t.has-admin-component-row.has-descriptio {\n\t\tmargin-bottom: 15px;\n\t}\n}\n\n/* Admin text controls */\n.has-admin__text-control {\n\tinput[type='text'],\n\tinput[type='password'] {\n\t\tmax-width: 350px;\n\t\twidth: 100%;\n\t\tbackground-color: #fff;\n\t\tborder-radius: 3px;\n\t\tfont-family: inherit;\n\t\tfont-size: 0.875rem;\n\t\tline-height: 1.25rem;\n\t\tpadding: 5px 10px;\n\t\tline-height: 2;\n\t\tmin-height: 24px;\n\t\tmargin: 0;\n\t\toutline-style: none;\n\t\tbox-sizing: border-box;\n\t}\n}\n\n/* Admin Radio component */\n.components-radio-control {\n\tinput[type='radio'] {\n\t\t& ~ label {\n\t\t\tdisplay: inline-block;\n\t\t\tmargin-left: 5px;\n\t\t}\n\t}\n\t.components-radio-control__option {\n\t\tmargin-bottom: 8px;\n\t}\n}\n\n/* Is required notice */\n.is-required {\n\tposition: relative;\n\n\tlabel {\n\t\tposition: relative;\n\t\tdisplay: inline-block !important;\n\t}\n\tinput {\n\t\tdisplay: block !important;\n\t}\n\n\tlabel::after {\n\t\tposition: absolute;\n\t\tdisplay: inline-block;\n\t\tvertical-align: middle;\n\t\tcontent: '*';\n\t\ttop: 0;\n\t\tright: -12px;\n\t\tcolor: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\tfont-size: 1.4em;\n\t\tline-height: 1.3;\n\t}\n\n\t.not-is-required::after {\n\t\tdisplay: none;\n\t}\n}\n\n/* Admin Notices */\n/* Error Notices */\n.has-admin__notice {\n\tmargin: 10px 0;\n\t&.has-admin__notice--has-icon {\n\t\t.components-notice__content {\n\t\t\tdisplay: grid;\n\t\t\tgrid-template-columns: 32px 1fr 1px;\n\t\t\talign-items: center;\n\t\t}\n\n\t\t&.has-admin__notice-appearance--inline .components-notice__content {\n\t\t\tdisplay: flex;\n\n\t\t\t.has-admin__notice-icon {\n\t\t\t\tmargin-right: 8px;\n\t\t\t}\n\t\t}\n\t}\n\t.qldx-admin__notice-message {\n\t\tcolor: var(--quotes-dlx-admin--color-dark);\n\t\tfont-size: 1.1em;\n\t\tline-height: 1.2;\n\t\tfont-weight: 500;\n\t}\n\t&.has-admin__notice-appearance--block .components-notice {\n\t\tborder-left: 4px solid transparent;\n\t\tpadding: 15px 0px;\n\t\tpadding-left: 15px;\n\t\tmargin: 0 0 15px 0;\n\t}\n\t&.has-admin__notice-appearance--inline .components-notice {\n\t\tpadding-left: 0;\n\t}\n\n\tsvg {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\twidth: 20px;\n\t\theight: 20px;\n\t}\n\n\t&.has-admin__notice-type--error:not(.has-admin__notice-appearance--inline) {\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--error) !important;\n\t\t.components-notice {\n\t\t\tbackground-color: var(--quotes-dlx-admin--color-notice--error) !important;\n\t\t\tborder-left-color: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\t}\n\t\tsvg path {\n\t\t\tfill: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\t}\n\t}\n\t&.has-admin__notice-type--error.has-admin__notice-appearance--inline {\n\t\t.qldx-admin__notice-message {\n\t\t\tcolor: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\t}\n\t\t.qldx-admin__notice-message {\n\t\t\tfont-size: 0.9em;\n\t\t}\n\n\t\tsvg {\n\t\t\twidth: 16px;\n\t\t\theight: 16px;\n\t\t\tpath {\n\t\t\t\tfill: var(--quotes-dlx-admin--color-notice--error-alt);\n\t\t\t}\n\t\t}\n\t}\n\t&.has-admin__notice-type--success {\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--success);\n\t\t.components-notice {\n\t\t\tborder-left-color: var(--quotes-dlx-admin--color-notice--success-alt);\n\t\t}\n\t\tsvg path {\n\t\t\tfill: var(--quotes-dlx-admin--color-notice--success-alt);\n\t\t}\n\t}\n\t&.has-admin__notice-type--info {\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--info);\n\t\t.components-notice {\n\t\t\tborder-left-color: var(--quotes-dlx-admin--color-notice--info-alt);\n\t\t}\n\t\tsvg path {\n\t\t\tfill: var(--quotes-dlx-admin--color-notice--info-alt);\n\t\t}\n\t}\n\t&.has-admin__notice-type--warning {\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--warning);\n\t\t.components-notice {\n\t\t\tborder-left-color: var(--quotes-dlx-admin--color-notice--warning-alt);\n\t\t}\n\t\tsvg path {\n\t\t\tfill: var(--quotes-dlx-admin--color-notice--warning-alt);\n\t\t}\n\t}\n\t&.has-admin__notice-animate--fadein {\n\t\theight: 0;\n\t\topacity: 0;\n\t\tanimation: has-fade-in 0.6s ease-in-out;\n\t\topacity: 1;\n\t\theight: auto;\n\t}\n\t&.has-admin__notice-animate--fadeout {\n\t\theight: auto;\n\t\topacity: 1;\n\t\tanimation: has-fade-out 0.6s ease-in-out;\n\t\topacity: 0;\n\t\theight: 0;\n\t}\n\t&.has-admin__notice-animate--fadeinout {\n\t\tanimation-name: has-fade-in, has-fade-out;\n\t\tanimation-duration: 0.6s;\n\t\tanimation-delay: 0s, 2s;\n\t}\n}\n\n.has-error {\n\tinput.components-text-control__input {\n\t\tborder: 1px solid var(--quotes-dlx-admin--color-notice--error-alt);\n\t\tbackground-color: var(--quotes-dlx-admin--color-notice--error);\n\t}\n}\n\n/* Buttons */\n.has-admin__tabs--content-actions,\n.has-admin__tabs--content-actions-inline {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tpadding-top: 25px;\n\n\t&.has-admin__tabs--content-actions-inline {\n\t\tpadding-top: 0;\n\t}\n\n\t.has-admin__tabs--content-actions--left {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-start;\n\n\t\tbutton {\n\t\t\tmargin-right: 10px;\n\t\t\t&:last-child {\n\t\t\t\tmargin-right: 0;\n\t\t\t}\n\t\t}\n\t}\n\t.has-admin__tabs--content-actions--right {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t}\n\n\t&.no-flex {\n\t\tdisplay: block;\n\t}\n\n\t.has-admin-reset-confirmation {\n\t\tpadding-bottom: 20px;\n\t}\n\n\tbutton {\n\t\tbackground: #ffffff;\n\t\tcolor: #017e01;\n\t\tborder: 1px solid #017e01;\n\t\tpadding: 10px 20px;\n\t\tcursor: pointer;\n\n\t\t&:hover {\n\t\t\tbackground: #e9ece6;\n\t\t\tcolor: #005200;\n\t\t\tborder-color: #006400;\n\t\t}\n\n\t\t&.has-error {\n\t\t\tborder: 1px solid #bc2b2c;\n\t\t\tborder-color: #bc2b2c !important;\n\t\t\t&:hover {\n\t\t\t\tcursor: not-allowed;\n\t\t\t}\n\t\t}\n\n\t\t&.has__btn-danger {\n\t\t\tbackground: #ffffff;\n\t\t\tcolor: #822700;\n\t\t\tborder-color: #822700;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: #ece6e6;\n\t\t\t\tcolor: #822700;\n\t\t\t\tborder-color: #822700;\n\t\t\t}\n\t\t}\n\n\t\t&.has__btn-secondary {\n\t\t\tbackground: #ffffff;\n\t\t\tcolor: #333;\n\t\t\tborder-color: #333;\n\n\t\t\t&:hover {\n\t\t\t\tbackground: rgb(235, 235, 235);\n\t\t\t\tcolor: #333;\n\t\t\t\tborder-color: #333;\n\t\t\t}\n\t\t}\n\n\t\t&.has__btn--icon-right {\n\t\t\tsvg {\n\t\t\t\twidth: 16px;\n\t\t\t\theight: 16px;\n\t\t\t\tpath {\n\t\t\t\t\tfill: #000;\n\t\t\t\t}\n\t\t\t\tmargin-left: 8px;\n\t\t\t}\n\t\t\t&.is-saving {\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: center;\n\t\t\t\talign-items: center;\n\t\t\t\tsvg {\n\t\t\t\t\twidth: 24px;\n\t\t\t\t\theight: 24px;\n\t\t\t\t\tanimation: has-spin 1s linear infinite;\n\t\t\t\t\tpath {\n\t\t\t\t\t\tfill: #017e01;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t&.is-resetting {\n\t\t\t\tdisplay: flex;\n\t\t\t\tjustify-content: space-between;\n\t\t\t\talign-items: center;\n\t\t\t\tsvg {\n\t\t\t\t\twidth: 24px;\n\t\t\t\t\theight: 24px;\n\t\t\t\t\tanimation: has-spin 1s linear infinite;\n\t\t\t\t\tpath {\n\t\t\t\t\t\tfill: #822700;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Social Icons for Reorder */\n.has-admin-theme-reorder-list {\n\tdisplay: flex;\n\tjustify-content: flex-start;\n\talign-items: center;\n\tli {\n\t\tdisplay: flex;\n\t\theight: 52px;\n\t\twidth: 52px;\n\t\tbackground: #fff !important;\n\t\tborder: 1px solid #e5e5e5;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\tmargin-right: 8px;\n\n\t\t&:hover {\n\t\t\tcursor: move;\n\t\t\tbackground: #f4f4f4 !important;\n\t\t}\n\t\t&.is-dragging {\n\t\t\topacity: 0.2;\n\t\t}\n\t\t&.is-over {\n\t\t\ttransform: scale(1.2);\n\t\t\tborder: 1px dashed #000;\n\t\t}\n\t}\n\tsvg {\n\t\twidth: 26px;\n\t\theight: 26px;\n\t}\n}\n\n/* Color Component (forked from @GenerateBlocks) */\n.has-component-color-picker-wrapper,\n.qdlx-admin__tabs--content-inner\n\t.components-base-control.has-component-color-picker-wrapper {\n\ttext-align: left;\n\tmargin-bottom: 16px;\n\tmargin-top: 2px;\n\n\t> .components-base-control__field {\n\t\tposition: relative;\n\t\tdisplay: inline-grid;\n\t\tgrid-template-columns: 175px 30px;\n\t\trow-gap: 2;\n\t\tmargin: 0 auto;\n\t\tjustify-content: space-between;\n\t\ttext-align: left;\n\t\tfont-weight: 600;\n\t\tmargin-bottom: 8px;\n\t\talign-items: center;\n\n\t\t.components-color-palette__item-wrapper {\n\t\t\tmargin: 0;\n\t\t}\n\t}\n\t.has-color-component-label {\n\t\tline-height: 1.2;\n\t}\n}\n.components-popover.has-component-color-picker {\n\t.has-component-color-picker-palette {\n\t\tpadding: 0 16px;\n\n\t\tbutton.components-circular-option-picker__option {\n\t\t\tborder-radius: 50%;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\n\t\t\t.components-popover {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\t\t.components-circular-option-picker__swatches {\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tgap: 12px;\n\t\t}\n\t\t.components-circular-option-picker__option-wrapper {\n\t\t\tdisplay: inline-block;\n\t\t\theight: 28px;\n\t\t\twidth: 28px;\n\t\t\tvertical-align: top;\n\t\t\ttransition: 100ms transform ease;\n\t\t}\n\t}\n\n\t.components-base-control__field,\n\t.components-color-palette {\n\t\tmargin: 0;\n\t}\n\n\t.components-color-picker {\n\t\tpadding: 5px;\n\t}\n\n\t.components-color-picker__inputs-toggle {\n\t\tdisplay: none;\n\t}\n\n\t.components-color-picker__body {\n\t\tpadding-bottom: 0;\n\t}\n\n\t.components-popover__content {\n\t\tpadding: 10px;\n\t\twidth: 300px;\n\t}\n\n\t.components-color-picker__inputs-fields {\n\t\tmargin-right: 0;\n\t}\n\n\t.components-color-clear-color {\n\t\ttext-align: right;\n\t\tpadding: 0 16px;\n\t\tcolor: var(--quotes-dlx-admin--color-dark);\n\t}\n}\n\n.components-circular-option-picker__option.is-pressed {\n\tbox-shadow: inset 0 0 0 4px !important;\n}\n\n.has-component-color-opacity {\n\tdisplay: flex;\n\tpadding: 0 16px;\n\tmargin: 10px 0;\n\n\tsvg {\n\t\twidth: 28px;\n\t\theight: 28px;\n\t}\n\n\t.components-range-control {\n\t\tflex-grow: 1;\n\t\tpadding-left: 5px;\n\t}\n}\n\n.components-popover__content {\n\tbackground: #fff;\n\tborder: 1px solid #ccc;\n\tbox-shadow: 0 2px 6px rgb(0 0 0 / 5%);\n\tborder-radius: 2px;\n\twidth: auto !important;\n}\n\n.components-circular-option-picker__option-wrapper {\n\tposition: relative;\n\n\t&:hover {\n\t\ttransform: scale(1.3);\n\t}\n}\n\n/* Dimensions Component */\n.has-admin-content-wrapper\n\t.has-admin-component-row\n\t.components-has-dimensions-control {\n\tdisplay: inline-block;\n\tmargin-bottom: 16px;\n\tlabel {\n\t\tdisplay: none;\n\t}\n\n\t.components-has-dimensions-control__inputs {\n\t\tdisplay: inline-grid;\n\t\tgrid-template-columns: 55px 55px 55px 55px 1fr;\n\t\ttext-align: center;\n\t}\n\n\t.components-has-dimensions-control__number {\n\t\tdisplay: inline;\n\n\t\t.components-base-control__field {\n\t\t\tdisplay: inline;\n\t\t}\n\t}\n\tinput[type='number'] {\n\t\twidth: 100%;\n\t}\n}\n/* Sync button */\n.has-admin-content-wrapper\n\t.components-has-dimensions-control_sync.components-button {\n\theight: 100%;\n}\n\n/* Dimensions labels */\n.has-admin-content-wrapper .components-has-dimensions-control__input-labels {\n\tdisplay: none;\n}\n\n/* Unit Picker Component - Forked from @GenerateBlocks */\n.components-has-units-control-header__units {\n\tmargin-bottom: 5px;\n}\n\n.components-has-dimensions-control {\n\t.components-has-control__units {\n\t\ttext-align: right;\n\t\t.components-has-control-buttons__units {\n\t\t\tbutton.components-button {\n\t\t\t\tbackground: transparent;\n\t\t\t\tbox-shadow: none !important;\n\t\t\t\tcolor: #929da7;\n\t\t\t\tfont-size: 10px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\tposition: relative;\n\t\t\t\ttext-align: center;\n\t\t\t\ttext-shadow: none;\n\t\t\t\tborder: 0;\n\t\t\t\tborder-radius: 0 !important;\n\t\t\t\tline-height: 20px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\theight: auto;\n\n\t\t\t\t&.is-primary {\n\t\t\t\t\tbackground: transparent !important;\n\t\t\t\t\tcolor: #000 !important;\n\t\t\t\t\tcursor: default;\n\t\t\t\t\tz-index: 1;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Appearance Social Network Tabs */\n.has-admin-colors-tabs-panel {\n\tmargin-bottom: 20px;\n\n\t.components-tab-panel__tabs,\n\t.components-button.components-tab-panel__tabs-item {\n\t\tborder-style: solid;\n\t\tborder-color: #ccc;\n\t}\n\n\t.components-tab-panel__tabs {\n\t\tmargin-bottom: 20px;\n\t\tflex-wrap: wrap;\n\t\tborder-width: 2px 0 0 2px;\n\t}\n\n\t.components-tab-panel__tabs-item {\n\t\tbackground: #eee;\n\t\tborder-right: 0;\n\t\tflex: 1 0 auto;\n\t\tborder-width: 0 2px 2px 0;\n\t\ttext-align: center;\n\t\tjustify-content: center;\n\n\t\t&.active-tab {\n\t\t\tbackground: var(--wp-admin-theme-color);\n\t\t\tcolor: #fff;\n\t\t}\n\n\t\t&:focus {\n\t\t\tbox-shadow: none;\n\t\t}\n\t}\n}\n.has-tab-color-picker-wrapper {\n\tdisplay: grid;\n\tgrid-template-columns: 250px 250px;\n\n\t@media (max-width: 500px) {\n\t\tgrid-template-columns: 1fr;\n\t}\n}\n\n/* Theme Dropdown */\n/* Theme Options Select Dropdown and Go Button */\n/* Lots of importants here to override core styles */\n.has-admin__theme-select {\n\tposition: relative;\n\tpadding-bottom: 0px;\n\n\tselect {\n\t\tappearance: none;\n\t\toutline: 0;\n\t\tborder: 0;\n\t\tbox-shadow: none;\n\t\tdisplay: flex;\n\t\tflex: 1 !important;\n\t\tmin-height: 45px !important;\n\t\tmax-height: 45px !important;\n\t\tfont-size: 1.2em !important;\n\t\tline-height: 1.5em !important;\n\t\talign-items: center;\n\t\tcolor: #333 !important;\n\t\tbackground-color: #fff !important;\n\t\tbackground-image: none;\n\t\tcursor: pointer;\n\t\tmax-width: 100% !important;\n\t\tpadding-left: 20px !important;\n\t}\n\t.components-input-control__container {\n\t\tposition: relative;\n\t\tdisplay: flex !important;\n\t\twidth: 100% !important;\n\t\tborder-radius: 0.25em;\n\t\toverflow: hidden;\n\t\talign-items: center;\n\n\t\t&:after {\n\t\t\tcontent: '\\25BC';\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tright: 0;\n\t\t\tmin-height: 45px !important;\n\t\t\tmax-height: 45px !important;\n\t\t\twidth: 4em !important;\n\t\t\tbackground-color: #4f4f4f;\n\t\t\ttransition: 0.25s all ease;\n\t\t\tpointer-events: none;\n\t\t\tcolor: #fff;\n\t\t\tdisplay: flex;\n\t\t\talign-items: center;\n\t\t\tjustify-content: center;\n\t\t}\n\t\t&:hover:after {\n\t\t\tcolor: #fff;\n\t\t}\n\t}\n\n\t.components-base-control__field {\n\t\tmargin-bottom: 0 !important;\n\t}\n\n\tbutton.qdlx__btn {\n\t\tpadding: 12px 10px;\n\t\tborder: 2px solid var(--quotes-dlx-admin--color-accent);\n\t\tcolor: var(--quotes-dlx-admin--color-accent);\n\t\tmax-height: 45px;\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tpadding: 12px 10px;\n\t\t\tbackground: #f8f7fe;\n\t\t\tborder: 2px solid var(--quotes-dlx-admin--color-accent);\n\t\t\tcolor: var(--quotes-dlx-admin--color-accent);\n\t\t}\n\t}\n}\n\n/* Admin loading icon */\n.has-load-static-svg {\n\tsvg {\n\t\tanimation: has-spin;\n\t\tanimation-duration: 1.5s;\n\t\tanimation-iteration-count: infinite;\n\t\tanimation-timing-function: linear;\n\t}\n}\n\n/* Range Control Component */\n.has-admin__range-control {\n\tmax-width: 450px;\n\n\tspan > span {\n\t\tbackground-color: #4f4f4f !important;\n\t}\n}\n\n/* Preview List Padding/Margin */\n.has-admin-theme-preview-list {\n\tdisplay: inline-flex;\n\tflex-wrap: wrap;\n}\n\n/* Appearance Content Wrapper styles */\n.has-admin-container-body__content:has(.has-admin__tabs--content-actions) {\n\tpadding-bottom: 35px;\n\tmargin-bottom: 40px;\n}\n\n/* Has Icon Headline on the Settings page */\nh3.has-icon-heading {\n\tdisplay: inline-flex;\n\talign-items: center;\n\tposition: relative;\n\tfont-size: 1.4em;\n\tfont-weight: 700;\n\tletter-spacing: 0.12em;\n\n\n\tsvg {\n\t\tfont-size: 1.3em;\n\t\tmargin-right: 8px;\n\t\tbackground: #FFF;\n\t\tborder: 1px solid #ddd;\n\t\tbox-shadow: 1px 1px 15px -7px rgba(146, 146, 146, 0.7);\n\t\tpadding: 6px;\n\t}\n}","/* Responsive styles - In hindsight, should've used mobile-first */\n/* Mixin from: https://css-tricks.com/snippets/sass/mixin-manage-breakpoints/ */\n/* It's only used here, so no external file for mixin? */\n$breakpoints: (\n 'xs': 20em,\n 'small': 30em,\n 'medium': 48em,\n 'large': 64em,\n 'xl': 75em,\n 'xxl': 81.25em\n) !default;\n\n@mixin respond-to($breakpoint) {\n\t// If the key exists in the map\n\t@if map-has-key($breakpoints, $breakpoint) {\n\t // Prints a media query based on the value\n\t @media (min-width: map-get($breakpoints, $breakpoint)) {\n\t\t@content;\n\t }\n\t}\n \n\t// If the key doesn't exist in the map\n\t@else {\n\t @warn \"Unfortunately, no value could be retrieved from `#{$breakpoint}`. \"\n\t\t + \"Available breakpoints are: #{map-keys($breakpoints)}.\";\n\t}\n }",":root {\n\t--quotes-dlx-admin--color-white: #ffffff;\n\t--quotes-dlx-admin--color-dark: #393838;\n\t--quotes-dlx-admin--color-dark-darker: #191c1f;\n\t--quotes-dlx-admin--color-gray: #dddddd;\n\t--quotes-dlx-admin--color-gray-light: #f5f5f5;\n\t--quotes-dlx-admin--color-green: #006400;\n\t--quotes-dlx-admin--color-green-light: #e9ece6;\n\t--quotes-dlx-admin--color-green-alt: #017e01;\n\t--quotes-dlx-admin--color-green-vivid: #009700;\n\t--quotes-dlx-admin--color-green-dark: #005200;\n\t--quotes-dlx-admin--color-red: #641e00;\n\t--quotes-dlx-admin--color-red-alt: #822700;\n\t--quotes-dlx-admin--color-red-light: #ece6e6;\n\t--quotes-dlx-admin--color-red--required: #b53b07;\n\t--quotes-dlx-admin--color-background: #fefdfa;\n\t--quotes-dlx-admin--color-accent: #8019c4;\n\t--quotes-dlx-admin--color-text-color: #6f6f6f;\n\t--quotes-dlx-admin--color-text--alt-color: #874c9e;\n\t--quotes-dlx-admin--color-text-link-color: #874c9e;\n\t--quotes-dlx-admin--color-text-link-color--hover: #9c68b0;\n\t--quotes-dlx-admin--color-anchor: #9949cf;\n\t--quotes-dlx-admin--color-anchor--hover: #8019c4;\n\t--quotes-dlx-admin--color-button-border: #6f6f6f;\n\t--quotes-dlx-admin--color-button-border--hover: #9949cf;\n\t--quotes-dlx-admin--color-button-background: #ffffff;\n\t--quotes-dlx-admin--color-button-background--hover: #ffffff;\n\t--quotes-dlx-admin--color-button-text-color: #6f6f6f;\n\t--quotes-dlx-admin--color-button-text-color--hover: #9949cf;\n\t--quotes-dlx-admin--color-button--alt-border: #9c68b0;\n\t--quotes-dlx-admin--color-button--alt-border--hover: #874c9e;\n\t--quotes-dlx-admin--color-button--alt-background: #874c9e;\n\t--quotes-dlx-admin--color-button--alt-background--hover: #9c68b0;\n\t--quotes-dlx-admin--color-button--alt-text-color: #ffffff;\n\t--quotes-dlx-admin--color-button--alt-text-color--hover: #ffffff;\n\t--quotes-dlx-admin--color-nav-border: transparent;\n\t--quotes-dlx-admin--color-nav-border--active: #e3e6ef;\n\t--quotes-dlx-admin--color-nav-background: transparent;\n\t--quotes-dlx-admin--color-nav-background--active: #ffffff;\n\t--quotes-dlx-admin--color-nav-icon: #242748;\n\t--quotes-dlx-admin--color-nav-icon--hover: #9949cf;\n\t--quotes-dlx-admin--color-nav-icon--active: #a774c9;\n\t--quotes-dlx-admin--color-nav-text: #5b5e80;\n\t--quotes-dlx-admin--color-nav-text--hover: #242748;\n\t--quotes-dlx-admin--color-skeleton--base: #dad4eb;\n\t--quotes-dlx-admin--color-skeleton--highlight: #cbc3e3;\n\t--quotes-dlx-admin--color-notice--info: #e3f3f7;\n\t--quotes-dlx-admin--color-notice--info-alt: #3a8dc4;\n\t--quotes-dlx-admin--color-notice--success: #eaf5ea;\n\t--quotes-dlx-admin--color-notice--success-alt: #49a939;\n\t--quotes-dlx-admin--color-notice--warning: #fef6e1;\n\t--quotes-dlx-admin--color-notice--warning-alt: #e8a931;\n\t--quotes-dlx-admin--color-notice--error: #f5e5e4;\n\t--quotes-dlx-admin--color-notice--error-alt: #bc2b2c;\n\t--quotes-dlx-admin--color-notice--secondary: #e2e3e5;\n\t--quotes-dlx-admin--color-notice--secondary-alt: #41464b;\n}"],"names":[],"sourceRoot":""}
\ No newline at end of file
diff --git a/dist/has-cts-editor.css b/dist/has-cts-editor.css
index 5c64e9e..8d00b4a 100644
--- a/dist/has-cts-editor.css
+++ b/dist/has-cts-editor.css
@@ -4,6 +4,14 @@
/**
* Editor styles for the admin
*/
+@keyframes hasFadeIn {
+ from {
+ opacity: 0;
+ }
+ to {
+ opacity: 1;
+ }
+}
.highlight-and-share.aligncenter, .highlight-and-share.alignwide, .highlight-and-share.alignfull {
display: flex;
justify-content: center;
@@ -166,9 +174,42 @@
/* Dimensions Component */
.components-has-dimensions-control {
display: inline-block;
+ /* Hide labels if appropriate and still be screen reader friendly. From: https://css-tricks.com/inclusively-hidden/ */
}
.components-has-dimensions-control label {
- display: none;
+ clip: rect(0 0 0 0);
+ clip-path: inset(50%);
+ height: 1px;
+ overflow: hidden;
+ position: absolute;
+ white-space: nowrap;
+ width: 1px;
+}
+.components-has-dimensions-control .components-has-dimensions-control__input {
+ display: inline-block;
+ position: relative;
+ overflow: visible;
+}
+.components-has-dimensions-control .components-has-dimensions-control__input:hover:after, .components-has-dimensions-control .components-has-dimensions-control__input:focus-within:after {
+ z-index: 1000;
+ animation-duration: 0.8s;
+ animation-name: hasFadeIn;
+ opacity: 1;
+ transition: all 0.2s ease-in-out;
+ display: block;
+ position: absolute;
+ padding: 8px;
+ content: attr(data-tooltip);
+ font-family: "FranklinGothic", Helvetica, sans-serif;
+ background-color: #333;
+ color: #FFF;
+ font-size: 13px;
+ line-height: 1.2;
+ top: -40px;
+ left: 0;
+ text-align: center;
+ border-radius: 3px;
+ min-width: 100px;
}
.components-has-dimensions-control .components-has-dimensions-control__inputs {
display: grid;
diff --git a/dist/has-cts-editor.css.map b/dist/has-cts-editor.css.map
index 600c2f9..db22aec 100644
--- a/dist/has-cts-editor.css.map
+++ b/dist/has-cts-editor.css.map
@@ -1 +1 @@
-{"version":3,"file":"has-cts-editor.css","mappings":";;;AAAA;;EAAA;AAKC;EAGC;EACA;AAHF;AAMC;EACC;AAJF;;AASC;EACC;EACA;AANF;AAQC;EACC;EACA;EACA;AANF;AAQE;EACC;AANH;AASC;EACC;EACA;EACA;AAPF;;AAUA;EACC;AAPD;;AAUA;;EAEC;AAPD;;AAUA;AACA;;EAGC;EACA;EACA;EACA;AARD;AAUC;;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAPF;AASE;;EACC;AANH;AASC;;EACC;EACA;AANF;;AAUC;EACC;AAPF;AASE;EACC;EACA;EACA;AAPH;AASE;EACC;EACA;EACA;AAPH;AASE;EACC;EACA;EACA;EACA;EACA;AAPH;AAWC;;EAEC;AATF;AAYC;EACC;AAVF;AAaC;EACC;AAXF;AAcC;EACC;AAZF;AAeC;EACC;EACA;AAbF;AAgBC;EACC;AAdF;AAiBC;EACC;EACA;EACA;AAfF;;AAmBA;EACC;AAhBD;;AAmBA;EACC;EACA;EACA;AAhBD;AAkBC;EACC;EACA;AAhBF;AAmBC;EACC;EACA;AAjBF;;AAqBA;EACC;EACA;EACA;EACA;EACA;EACA;AAlBD;;AAqBA;EACC;AAlBD;AAoBC;EACC;AAlBF;;AAsBA;EACC;EACA;EACA;EACA;EACA;AAnBD;AAoBC;EACC;EACA;EACA;AAlBF;;AAsBA;AACA;EACC;AAnBD;AAoBC;EACC;AAlBF;AAqBC;EACC;EACA;EACA;AAnBF;AAsBC;EACC;EACA;AApBF;AAsBE;EACC;AApBH;AAuBC;EACC;AArBF;;AAwBA;AACA;EACC;AArBD;;AAwBA;AACA;EACC;AArBD;;AAwBA;AACA;EACC;AArBD;;AAyBC;EACC;AAtBF;AAwBG;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAtBJ;AAwBI;EACC;EACA;EACA;EACA;EACA;AAtBL;;AA6BA;EACC;EACA;AA1BD;AA2BC;EACC;EACA;EACA;EACA;AAzBF;AA8BG;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA5BJ;AA8BI;EACC;EACA;EACA;EACA;EACA;AA5BL;;AAkCA;EACC;AA/BD;;AAkCA;AACA;EACC;AA/BD;AAiCC;EACC;EACA;AA/BF;AAiCC;EACC;EACA;AA/BF;AAkCC;EACC;AAhCF;AAmCC;EACC;EACA;EACA;EACA;AAjCF;AAmCE;EACC;EACA;EACA;EACA;AAjCH;AAmCG;EACC;EACA;EACA;EACA;AAjCJ;;AAwCA;AAEC;EACC;EACA;EACA;EACA;AAtCF;AAwCE;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAtCH;AAwCG;EAEC;AAvCJ;;AA6CA;AACA;EACC;AA1CD;;AA4CA;EACC;EACA;EACA;EACA;EACA;AAzCD;AA2CC;EACC;AAzCF;AA4CC;EACC;EACA;EACA;EACA;EACA;EACA;AA1CF;AA6CC;EACC;EACA;EACA;EACA;AA3CF;AA6CE;EACC;AA3CH;;AA+CA;EACC;EACA;AA5CD;AA8CC;EACC;AA5CF;;AAgDA;AACA;EACC;EACA;AA7CD;AA+CC;EACC;EACA;AA7CF;AA+CE;EACC;EACA;AA7CH;;AAiDA;;;EAGC;AA9CD;;AAgDA;;;EAGC;EACA;EACA;AA7CD;AA+CC;;;EACC;AA3CF;;AA8CA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;AA3CD;AA6CC;EACC;AA3CF;;AA+CC;EACC;EACA;AA5CF;;AAgDA;AACA;EACC;EACA;EACA;EACA;AA7CD;AA+CC;EACC;EACA;AA7CF;AAgDC;;EAEC;AA9CF;;AAkDC;EACC;EACA;AA/CF;;AAkDA;EACC;AA/CD;AAiDC;EACC;EACA;EACA;EACA;AA/CF;AAiDE;EACC;AA/CH;AAkDE;EACC;EACA;AAhDH;;AAoDA;EACC;EACA;EACA;EACA;AAjDD,C","sources":["webpack://highlight-and-share/./src/blocks/editor.scss"],"sourcesContent":["/**\n * Editor styles for the admin\n */\n\n.highlight-and-share {\n\t&.aligncenter,\n\t&.alignwide,\n\t&.alignfull {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t}\n\n\t.has-click-to-share {\n\t\twidth: 100%; /* max width in block settings */\n\t}\n}\n\n.has-click-to-share-wrapper {\n\t.has-click-to-share-text {\n\t\tfont-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;\n\t\tfont-weight: 100;\n\t}\n\t.has-click-to-share-cta {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t\talign-items: center;\n\n\t\tsvg {\n\t\t\tmargin-left: 12px;\n\t\t}\n\t}\n\t&:after {\n\t\tcontent: '';\n\t\tdisplay: table;\n\t\tclear: both;\n\t}\n}\n.has-inline-theme-edit {\n\tpadding: 20px;\n}\n\n.has-click-to-share,\n.has-click-to-share:hover {\n\ttransition: all 0.3s ease-in-out;\n}\n\n/* Color Component (forked from @GenerateBlocks) */\n.has-component-color-picker-wrapper,\n.qdlx-admin__tabs--content-inner\n\t.components-base-control.has-component-color-picker-wrapper {\n\ttext-align: left;\n\tmargin-bottom: 16px;\n\tmargin-top: 2px;\n\twidth: 100%;\n\n\t> .components-base-control__field {\n\t\tposition: relative;\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 175px 30px;\n\t\tcolumn-gap: 15px;\n\t\tmargin: 0 auto;\n\t\tjustify-content: space-between;\n\t\ttext-align: left;\n\t\tmargin-bottom: 8px;\n\t\talign-items: center;\n\t\tfont-size: 13px;\n\n\t\t.components-color-palette__item-wrapper {\n\t\t\tmargin: 0;\n\t\t}\n\t}\n\t.has-color-component-label {\n\t\tmargin-bottom: 0;\n\t\tline-height: 1.2;\n\t}\n}\n.components-popover.has-component-color-picker {\n\t.has-component-color-picker-palette {\n\t\tpadding: 0 16px;\n\n\t\tbutton.components-circular-option-picker__option {\n\t\t\tborder-radius: 50%;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\t\t.components-circular-option-picker__swatches {\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tgap: 12px;\n\t\t}\n\t\t.components-circular-option-picker__option-wrapper {\n\t\t\tdisplay: inline-block;\n\t\t\theight: 28px;\n\t\t\twidth: 28px;\n\t\t\tvertical-align: top;\n\t\t\ttransition: 100ms transform ease;\n\t\t}\n\t}\n\n\t.components-base-control__field,\n\t.components-color-palette {\n\t\tmargin: 0;\n\t}\n\n\t.components-color-picker {\n\t\tpadding: 5px;\n\t}\n\n\t.components-color-picker__inputs-toggle {\n\t\tdisplay: none;\n\t}\n\n\t.components-color-picker__body {\n\t\tpadding-bottom: 0;\n\t}\n\n\t.components-popover__content {\n\t\tpadding: 10px;\n\t\twidth: 300px;\n\t}\n\n\t.components-color-picker__inputs-fields {\n\t\tmargin-right: 0;\n\t}\n\n\t.components-color-clear-color {\n\t\ttext-align: right;\n\t\tpadding: 0 16px;\n\t\tcolor: var(--quotes-dlx-admin--color-dark);\n\t}\n}\n\n.components-circular-option-picker__option.is-pressed {\n\tbox-shadow: inset 0 0 0 4px !important;\n}\n\n.has-component-color-opacity {\n\tdisplay: flex;\n\tpadding: 0 16px;\n\tmargin: 10px 0;\n\n\tsvg {\n\t\twidth: 28px;\n\t\theight: 28px;\n\t}\n\n\t.components-range-control {\n\t\tflex-grow: 1;\n\t\tpadding-left: 5px;\n\t}\n}\n\n.has-component-color-picker .components-popover__content {\n\tbackground: #fff;\n\tborder: 1px solid #ccc;\n\tbox-shadow: 0 2px 6px rgb(0 0 0 / 5%);\n\tborder-radius: 2px;\n\twidth: 100% !important;\n\tmax-width: 250px !important;\n}\n\n.has-component-color-picker .components-circular-option-picker__option-wrapper {\n\tposition: relative;\n\n\t&:hover {\n\t\ttransform: scale(1.3);\n\t}\n}\n\n.has-screensize-variants {\n\tpadding: 0 8px;\n\tposition: sticky;\n\ttop: 0;\n\tbackground: #FFF;\n\tz-index: 10;\n\t.components-button-group {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 1fr 1fr;\n\t\twidth: 100%;\n\t}\n}\n\n/* Dimensions Component */\n.components-has-dimensions-control {\n\tdisplay: inline-block;\n\tlabel {\n\t\tdisplay: none;\n\t}\n\n\t.components-has-dimensions-control__inputs {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 1fr 1fr 1fr 30px;\n\t\ttext-align: center;\n\t}\n\n\t.components-has-dimensions-control__number {\n\t\tdisplay: inline;\n\t\tmargin-bottom: 0;\n\n\t\t.components-base-control__field {\n\t\t\tdisplay: inline;\n\t\t}\n\t}\n\tinput[type='number'] {\n\t\twidth: 100%;\n\t}\n}\n/* Sync button */\n.components-has-dimensions-control_sync.components-button {\n\theight: 100%;\n}\n\n/* Dimensions labels */\n.components-has-dimensions-control__input-labels {\n\tdisplay: none;\n}\n\n/* Unit Picker Component - Forked from @GenerateBlocks */\n.components-has-units-control-header__units {\n\tmargin-bottom: 5px;\n}\n\n.components-has-dimensions-control {\n\t.components-has-control__units {\n\t\ttext-align: right;\n\t\t.components-has-control-buttons__units {\n\t\t\tbutton.components-button {\n\t\t\t\tbackground: transparent;\n\t\t\t\tbox-shadow: none !important;\n\t\t\t\tcolor: #929da7;\n\t\t\t\tfont-size: 10px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\tposition: relative;\n\t\t\t\ttext-align: center;\n\t\t\t\ttext-shadow: none;\n\t\t\t\tborder: 0;\n\t\t\t\tborder-radius: 0 !important;\n\t\t\t\tline-height: 20px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\theight: auto;\n\n\t\t\t\t&.is-primary {\n\t\t\t\t\tbackground: transparent !important;\n\t\t\t\t\tcolor: #000 !important;\n\t\t\t\t\tcursor: default;\n\t\t\t\t\tz-index: 1;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n.has-unit-picker {\n\tdisplay: block;\n\t/* Unit Picker Component - Forked from @GenerateBlocks */\n\t.components-has-units-control-header__units {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tmargin-bottom: 5px;\n\t\talign-items: center;\n\t}\n\n\t.components-has-control__units {\n\t\t.components-has-control-buttons__units {\n\t\t\tbutton.components-button {\n\t\t\t\tbackground: #fff;\n\t\t\t\tbox-shadow: none !important;\n\t\t\t\tcolor: #929da7;\n\t\t\t\tfont-size: 10px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\tposition: relative;\n\t\t\t\ttext-align: center;\n\t\t\t\ttext-shadow: none;\n\t\t\t\tborder: 0;\n\t\t\t\tborder-radius: 0 !important;\n\t\t\t\tline-height: 20px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\theight: auto;\n\n\t\t\t\t&.is-primary {\n\t\t\t\t\tbackground: #fff !important;\n\t\t\t\t\tcolor: #000 !important;\n\t\t\t\t\tcursor: default;\n\t\t\t\t\tz-index: 1;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n.has-range-control {\n\tdisplay: block;\n}\n\n/* Typography Control */\n.has-typography-picker {\n\tpadding: 10px 15px;\n\n\t.components-base-control {\n\t\tpadding-bottom: 0 !important; // override core styles.\n\t\tmargin-bottom: 0 !important; // override core styles.\n\t}\n\t.components-base-control__field {\n\t\tpadding-bottom: 0;\n\t\tmargin-bottom: 0;\n\t}\n\n\t.has-typography-picker__row {\n\t\tmargin-bottom: 10px;\n\t}\n\n\t.has-typography-picker__row__col-2 { /* there's a hidden div that has zero space */\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 1fr;\n\t\tgrid-gap: 10px;\n\t\talign-items: end;\n\n\t\t.has-typography-picker__row_item.has-units {\n\t\t\tdisplay: grid;\n\t\t\tgrid-template-columns: 1fr 0 36px;\n\t\t\tcolumn-gap: 0;\n\t\t\talign-items: end;\n\n\t\t\t.components-button {\n\t\t\t\tfont-size: 13px;\n\t\t\t\tline-height: normal;\n\t\t\t\tpadding: 6px 8px;\n\t\t\t\tmax-height: 30px;\n\t\t\t}\n\t\t}\n\t\t\n\t}\n}\n\n/* Popover unit picker for typography */\n.has-component-font-unit-picker {\n\t.components-popover__content {\n\t\tmin-width: 48px;\n\t\tbackground: #FFF;\n\t\toutline: unset;\n\t\tborder: 1px solid #333;\n\n\t\t.components-button {\n\t\t\twidth: 100%;\n\t\t\tfont-size: 13px;\n\t\t\tpadding: 6px 8px;\n\t\t\tmargin: 0;\n\t\t\tbox-shadow: unset;\n\t\t\tjustify-content: center;\n\t\t\tborder-bottom: 1px solid #dadada;\n\t\t\toutline: unset;\n\n\t\t\t&:last-child,\n\t\t\t&.is-primary {\n\t\t\t\tborder-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Typography row */\n.has-typography-panel-row {\n\tdisplay: block;\n}\n.has-typography-picker-wrapper > div {\n\tdisplay: grid;\n\tgrid-template-columns: 1fr 36px;\n\tcolumn-gap: 0;\n\talign-items: center;\n\twidth: 100%;\n\n\t.has-typography-component-label {\n\t\tfont-size: 13px;\n\t}\n\n\t.components-button {\n\t\twidth: 100%;\n\t\tfont-size: 13px;\n\t\tpadding: 6px 8px;\n\t\tmargin: 0;\n\t\tjustify-content: center;\n\t\toutline: unset;\n\t}\n\n\t.dashicon {\n\t\tdisplay: flex;\n\t\twidth: 25px;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\n\t\t&:before {\n\t\t\tfont-size: 1.4rem;\n\t\t}\n\t}\n}\n.has-component-typography-popup {\n\tmin-width: 250px;\n\tmax-width: 250px;\n\n\t.components-popover__content {\n\t\twidth: unset;\n\t}\n}\n\n/* Background Selector */\n.has-background-type {\n\tdisplay: block;\n\tmargin-bottom: 15px;\n\n\t.components-button-group {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 1fr 1fr;\n\n\t\tbutton {\n\t\t\tdisplay: block;\n\t\t\ttext-align: center;\n\t\t}\n\t}\n}\n.has-background-gradient,\n.has-background-gradient-sync,\n.has-background-gradient-generator{\n\tdisplay: block;\n}\n.has-component-gradient-picker-wrapper > div,\n.has-component-gradient-sync-wrapper > div,\n.has-component-gradient-generator-wrapper > div{\n\tdisplay: grid;\n\tgrid-template-columns: 1fr 30px;\n\talign-items: center;\n\n\th3 {\n\t\tmargin-bottom: 0;\n\t}\n}\n.has-component-gradient-picker {\n\tdisplay: inline-block;\n\theight: 28px;\n\twidth: 28px;\n\tvertical-align: top;\n\ttransition: 100ms transform ease;\n\tborder-radius: 50%;\n\tbox-shadow: inset 0 0 0 1px !important;\n\n\t&:hover {\n\t\ttransform: scale(1.1);\n\t}\n}\n.has-component-gradient-picker-popover {\n\t.components-popover__content {\n\t\twidth: 300px;\n\t\tpadding: 10px;\n\t}\n}\n\n/* Background Image Uploader/Selector */\n.has-background-selector-upload-row {\n\tdisplay: grid;\n\tgrid-template-columns: 1fr 30px;\n\talign-items: end;\n\tcolumn-gap: 15px;\n\n\t.has-background-selector-upload-button button {\n\t\tmax-height: 30px;\n\t\tmax-width: 30px;\n\t}\n\n\t.components-base-control__field,\n\t.components-base-control {\n\t\tmargin-bottom: 0 !important; // override core styles.\n\t}\n}\n.has-component-background-settings-popup {\n\t.components-popover__content {\n\t\twidth: 250px;\n\t\tpadding: 10px;\n\t}\n}\n.has-background-selector__row_item {\n\tmargin-bottom: 20px;\n\n\t&.has-background-selector__row_item-2 {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 30px;\n\t\talign-items: center;\n\t\tcolumn-gap: 15px;\n\n\t\th3 {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\n\t\tbutton { \n\t\t\tmax-height: 30px;\n\t\t\tmax-width: 30px;\n\t\t}\n\t}\n}\n.has-background-selector-image-button-error {\n\tcolor: #bc2b2c !important; // override core styles.\n\tbackground: #f5e5e4 !important; // override core styles.\n\tborder-color: #bc2b2c !important; // override core styles.\n\tbox-shadow: inset 0 0 0 1px #bc2b2c !important; // override core styles.\n}"],"names":[],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"has-cts-editor.css","mappings":";;;AAAA;;EAAA;AAGC;EACA;IACE;EACD;EAED;IACE;EAAD;AACF;AAIC;EAGC;EACA;AAJF;AAOC;EACC;AALF;;AAUC;EACC;EACA;AAPF;AASC;EACC;EACA;EACA;AAPF;AASE;EACC;AAPH;AAUC;EACC;EACA;EACA;AARF;;AAWA;EACC;AARD;;AAWA;;EAEC;AARD;;AAWA;AACA;;EAGC;EACA;EACA;EACA;AATD;AAWC;;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AARF;AAUE;;EACC;AAPH;AAUC;;EACC;EACA;AAPF;;AAWC;EACC;AARF;AAUE;EACC;EACA;EACA;AARH;AAUE;EACC;EACA;EACA;AARH;AAUE;EACC;EACA;EACA;EACA;EACA;AARH;AAYC;;EAEC;AAVF;AAaC;EACC;AAXF;AAcC;EACC;AAZF;AAeC;EACC;AAbF;AAgBC;EACC;EACA;AAdF;AAiBC;EACC;AAfF;AAkBC;EACC;EACA;EACA;AAhBF;;AAoBA;EACC;AAjBD;;AAoBA;EACC;EACA;EACA;AAjBD;AAmBC;EACC;EACA;AAjBF;AAoBC;EACC;EACA;AAlBF;;AAsBA;EACC;EACA;EACA;EACA;EACA;EACA;AAnBD;;AAsBA;EACC;AAnBD;AAqBC;EACC;AAnBF;;AAuBA;EACC;EACA;EACA;EACA;EACA;AApBD;AAqBC;EACC;EACA;EACA;AAnBF;;AAsBA;AACA;EACC;EACA;AAnBD;AAoBC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;AAlBF;AAqBC;EACC;EACA;EACA;AAnBF;AAqBE;EAEC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AApBH;AAwBC;EACC;EACA;EACA;AAtBF;AAyBC;EACC;EACA;AAvBF;AAyBE;EACC;AAvBH;AA0BC;EACC;AAxBF;;AA2BA;AACA;EACC;AAxBD;;AA2BA;AACA;EACC;AAxBD;;AA2BA;AACA;EACC;AAxBD;;AA4BC;EACC;AAzBF;AA2BG;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAzBJ;AA2BI;EACC;EACA;EACA;EACA;EACA;AAzBL;;AAgCA;EACC;EACA;AA7BD;AA8BC;EACC;EACA;EACA;EACA;AA5BF;AAiCG;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AA/BJ;AAiCI;EACC;EACA;EACA;EACA;EACA;AA/BL;;AAqCA;EACC;AAlCD;;AAqCA;AACA;EACC;AAlCD;AAoCC;EACC;EACA;AAlCF;AAoCC;EACC;EACA;AAlCF;AAqCC;EACC;AAnCF;AAsCC;EACC;EACA;EACA;EACA;AApCF;AAsCE;EACC;EACA;EACA;EACA;AApCH;AAsCG;EACC;EACA;EACA;EACA;AApCJ;;AA2CA;AAEC;EACC;EACA;EACA;EACA;AAzCF;AA2CE;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAzCH;AA2CG;EAEC;AA1CJ;;AAgDA;AACA;EACC;AA7CD;;AA+CA;EACC;EACA;EACA;EACA;EACA;AA5CD;AA8CC;EACC;AA5CF;AA+CC;EACC;EACA;EACA;EACA;EACA;EACA;AA7CF;AAgDC;EACC;EACA;EACA;EACA;AA9CF;AAgDE;EACC;AA9CH;;AAkDA;EACC;EACA;AA/CD;AAiDC;EACC;AA/CF;;AAmDA;AACA;EACC;EACA;AAhDD;AAkDC;EACC;EACA;AAhDF;AAkDE;EACC;EACA;AAhDH;;AAoDA;;;EAGC;AAjDD;;AAmDA;;;EAGC;EACA;EACA;AAhDD;AAkDC;;;EACC;AA9CF;;AAiDA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;AA9CD;AAgDC;EACC;AA9CF;;AAkDC;EACC;EACA;AA/CF;;AAmDA;AACA;EACC;EACA;EACA;EACA;AAhDD;AAkDC;EACC;EACA;AAhDF;AAmDC;;EAEC;AAjDF;;AAqDC;EACC;EACA;AAlDF;;AAqDA;EACC;AAlDD;AAoDC;EACC;EACA;EACA;EACA;AAlDF;AAoDE;EACC;AAlDH;AAqDE;EACC;EACA;AAnDH;;AAuDA;EACC;EACA;EACA;EACA;AApDD,C","sources":["webpack://highlight-and-share/./src/blocks/editor.scss"],"sourcesContent":["/**\n * Editor styles for the admin\n */\n @keyframes hasFadeIn {\n\tfrom {\n\t opacity: 0;\n\t}\n \n\tto {\n\t opacity: 1;\n\t}\n }\n\n.highlight-and-share {\n\t&.aligncenter,\n\t&.alignwide,\n\t&.alignfull {\n\t\tdisplay: flex;\n\t\tjustify-content: center;\n\t}\n\n\t.has-click-to-share {\n\t\twidth: 100%; /* max width in block settings */\n\t}\n}\n\n.has-click-to-share-wrapper {\n\t.has-click-to-share-text {\n\t\tfont-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;\n\t\tfont-weight: 100;\n\t}\n\t.has-click-to-share-cta {\n\t\tdisplay: flex;\n\t\tjustify-content: flex-end;\n\t\talign-items: center;\n\n\t\tsvg {\n\t\t\tmargin-left: 12px;\n\t\t}\n\t}\n\t&:after {\n\t\tcontent: '';\n\t\tdisplay: table;\n\t\tclear: both;\n\t}\n}\n.has-inline-theme-edit {\n\tpadding: 20px;\n}\n\n.has-click-to-share,\n.has-click-to-share:hover {\n\ttransition: all 0.3s ease-in-out;\n}\n\n/* Color Component (forked from @GenerateBlocks) */\n.has-component-color-picker-wrapper,\n.qdlx-admin__tabs--content-inner\n\t.components-base-control.has-component-color-picker-wrapper {\n\ttext-align: left;\n\tmargin-bottom: 16px;\n\tmargin-top: 2px;\n\twidth: 100%;\n\n\t> .components-base-control__field {\n\t\tposition: relative;\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 175px 30px;\n\t\tcolumn-gap: 15px;\n\t\tmargin: 0 auto;\n\t\tjustify-content: space-between;\n\t\ttext-align: left;\n\t\tmargin-bottom: 8px;\n\t\talign-items: center;\n\t\tfont-size: 13px;\n\n\t\t.components-color-palette__item-wrapper {\n\t\t\tmargin: 0;\n\t\t}\n\t}\n\t.has-color-component-label {\n\t\tmargin-bottom: 0;\n\t\tline-height: 1.2;\n\t}\n}\n.components-popover.has-component-color-picker {\n\t.has-component-color-picker-palette {\n\t\tpadding: 0 16px;\n\n\t\tbutton.components-circular-option-picker__option {\n\t\t\tborder-radius: 50%;\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t}\n\t\t.components-circular-option-picker__swatches {\n\t\t\tdisplay: flex;\n\t\t\tflex-wrap: wrap;\n\t\t\tgap: 12px;\n\t\t}\n\t\t.components-circular-option-picker__option-wrapper {\n\t\t\tdisplay: inline-block;\n\t\t\theight: 28px;\n\t\t\twidth: 28px;\n\t\t\tvertical-align: top;\n\t\t\ttransition: 100ms transform ease;\n\t\t}\n\t}\n\n\t.components-base-control__field,\n\t.components-color-palette {\n\t\tmargin: 0;\n\t}\n\n\t.components-color-picker {\n\t\tpadding: 5px;\n\t}\n\n\t.components-color-picker__inputs-toggle {\n\t\tdisplay: none;\n\t}\n\n\t.components-color-picker__body {\n\t\tpadding-bottom: 0;\n\t}\n\n\t.components-popover__content {\n\t\tpadding: 10px;\n\t\twidth: 300px;\n\t}\n\n\t.components-color-picker__inputs-fields {\n\t\tmargin-right: 0;\n\t}\n\n\t.components-color-clear-color {\n\t\ttext-align: right;\n\t\tpadding: 0 16px;\n\t\tcolor: var(--quotes-dlx-admin--color-dark);\n\t}\n}\n\n.components-circular-option-picker__option.is-pressed {\n\tbox-shadow: inset 0 0 0 4px !important;\n}\n\n.has-component-color-opacity {\n\tdisplay: flex;\n\tpadding: 0 16px;\n\tmargin: 10px 0;\n\n\tsvg {\n\t\twidth: 28px;\n\t\theight: 28px;\n\t}\n\n\t.components-range-control {\n\t\tflex-grow: 1;\n\t\tpadding-left: 5px;\n\t}\n}\n\n.has-component-color-picker .components-popover__content {\n\tbackground: #fff;\n\tborder: 1px solid #ccc;\n\tbox-shadow: 0 2px 6px rgb(0 0 0 / 5%);\n\tborder-radius: 2px;\n\twidth: 100% !important;\n\tmax-width: 250px !important;\n}\n\n.has-component-color-picker .components-circular-option-picker__option-wrapper {\n\tposition: relative;\n\n\t&:hover {\n\t\ttransform: scale(1.3);\n\t}\n}\n\n.has-screensize-variants {\n\tpadding: 0 8px;\n\tposition: sticky;\n\ttop: 0;\n\tbackground: #FFF;\n\tz-index: 10;\n\t.components-button-group {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 1fr 1fr;\n\t\twidth: 100%;\n\t}\n}\n/* Dimensions Component */\n.components-has-dimensions-control {\n\tdisplay: inline-block;\n\t/* Hide labels if appropriate and still be screen reader friendly. From: https://css-tricks.com/inclusively-hidden/ */\n\tlabel {\n\t\tclip: rect(0 0 0 0); \n\t\tclip-path: inset(50%);\n\t\theight: 1px;\n\t\toverflow: hidden;\n\t\tposition: absolute;\n\t\twhite-space: nowrap; \n\t\twidth: 1px;\n\t}\n\n\t.components-has-dimensions-control__input {\n\t\tdisplay: inline-block;\n\t\tposition: relative;\n\t\toverflow: visible;\n\n\t\t&:hover:after,\n\t\t&:focus-within:after {\n\t\t\tz-index: 1000;\n\t\t\tanimation-duration: 0.8s;\n\t\t\tanimation-name: hasFadeIn;\n\t\t\topacity: 1;\n\t\t\ttransition: all 0.2s ease-in-out;\n\t\t\tdisplay: block;\n\t\t\tposition: absolute;\n\t\t\tpadding: 8px;\n\t\t\tcontent: attr(data-tooltip);\n\t\t\tfont-family: \"FranklinGothic\", Helvetica, sans-serif;\n\t\t\tbackground-color: #333;\n\t\t\tcolor: #FFF;\n\t\t\tfont-size: 13px;\n\t\t\tline-height: 1.2;\n\t\t\ttop: -40px;\n\t\t\tleft: 0;\n\t\t\ttext-align: center;\n\t\t\tborder-radius: 3px;\n\t\t\tmin-width: 100px;\n\t\t}\n\t}\n\n\t.components-has-dimensions-control__inputs {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 1fr 1fr 1fr 30px;\n\t\ttext-align: center;\n\t}\n\n\t.components-has-dimensions-control__number {\n\t\tdisplay: inline;\n\t\tmargin-bottom: 0;\n\n\t\t.components-base-control__field {\n\t\t\tdisplay: inline;\n\t\t}\n\t}\n\tinput[type='number'] {\n\t\twidth: 100%;\n\t}\n}\n/* Sync button */\n.components-has-dimensions-control_sync.components-button {\n\theight: 100%;\n}\n\n/* Dimensions labels */\n.components-has-dimensions-control__input-labels {\n\tdisplay: none;\n}\n\n/* Unit Picker Component - Forked from @GenerateBlocks */\n.components-has-units-control-header__units {\n\tmargin-bottom: 5px;\n}\n\n.components-has-dimensions-control {\n\t.components-has-control__units {\n\t\ttext-align: right;\n\t\t.components-has-control-buttons__units {\n\t\t\tbutton.components-button {\n\t\t\t\tbackground: transparent;\n\t\t\t\tbox-shadow: none !important;\n\t\t\t\tcolor: #929da7;\n\t\t\t\tfont-size: 10px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\tposition: relative;\n\t\t\t\ttext-align: center;\n\t\t\t\ttext-shadow: none;\n\t\t\t\tborder: 0;\n\t\t\t\tborder-radius: 0 !important;\n\t\t\t\tline-height: 20px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\theight: auto;\n\n\t\t\t\t&.is-primary {\n\t\t\t\t\tbackground: transparent !important;\n\t\t\t\t\tcolor: #000 !important;\n\t\t\t\t\tcursor: default;\n\t\t\t\t\tz-index: 1;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n.has-unit-picker {\n\tdisplay: block;\n\t/* Unit Picker Component - Forked from @GenerateBlocks */\n\t.components-has-units-control-header__units {\n\t\tdisplay: flex;\n\t\tjustify-content: space-between;\n\t\tmargin-bottom: 5px;\n\t\talign-items: center;\n\t}\n\n\t.components-has-control__units {\n\t\t.components-has-control-buttons__units {\n\t\t\tbutton.components-button {\n\t\t\t\tbackground: #fff;\n\t\t\t\tbox-shadow: none !important;\n\t\t\t\tcolor: #929da7;\n\t\t\t\tfont-size: 10px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\tposition: relative;\n\t\t\t\ttext-align: center;\n\t\t\t\ttext-shadow: none;\n\t\t\t\tborder: 0;\n\t\t\t\tborder-radius: 0 !important;\n\t\t\t\tline-height: 20px;\n\t\t\t\tpadding: 0 5px;\n\t\t\t\theight: auto;\n\n\t\t\t\t&.is-primary {\n\t\t\t\t\tbackground: #fff !important;\n\t\t\t\t\tcolor: #000 !important;\n\t\t\t\t\tcursor: default;\n\t\t\t\t\tz-index: 1;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n.has-range-control {\n\tdisplay: block;\n}\n\n/* Typography Control */\n.has-typography-picker {\n\tpadding: 10px 15px;\n\n\t.components-base-control {\n\t\tpadding-bottom: 0 !important; // override core styles.\n\t\tmargin-bottom: 0 !important; // override core styles.\n\t}\n\t.components-base-control__field {\n\t\tpadding-bottom: 0;\n\t\tmargin-bottom: 0;\n\t}\n\n\t.has-typography-picker__row {\n\t\tmargin-bottom: 10px;\n\t}\n\n\t.has-typography-picker__row__col-2 { /* there's a hidden div that has zero space */\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 1fr;\n\t\tgrid-gap: 10px;\n\t\talign-items: end;\n\n\t\t.has-typography-picker__row_item.has-units {\n\t\t\tdisplay: grid;\n\t\t\tgrid-template-columns: 1fr 0 36px;\n\t\t\tcolumn-gap: 0;\n\t\t\talign-items: end;\n\n\t\t\t.components-button {\n\t\t\t\tfont-size: 13px;\n\t\t\t\tline-height: normal;\n\t\t\t\tpadding: 6px 8px;\n\t\t\t\tmax-height: 30px;\n\t\t\t}\n\t\t}\n\t\t\n\t}\n}\n\n/* Popover unit picker for typography */\n.has-component-font-unit-picker {\n\t.components-popover__content {\n\t\tmin-width: 48px;\n\t\tbackground: #FFF;\n\t\toutline: unset;\n\t\tborder: 1px solid #333;\n\n\t\t.components-button {\n\t\t\twidth: 100%;\n\t\t\tfont-size: 13px;\n\t\t\tpadding: 6px 8px;\n\t\t\tmargin: 0;\n\t\t\tbox-shadow: unset;\n\t\t\tjustify-content: center;\n\t\t\tborder-bottom: 1px solid #dadada;\n\t\t\toutline: unset;\n\n\t\t\t&:last-child,\n\t\t\t&.is-primary {\n\t\t\t\tborder-bottom: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\n/* Typography row */\n.has-typography-panel-row {\n\tdisplay: block;\n}\n.has-typography-picker-wrapper > div {\n\tdisplay: grid;\n\tgrid-template-columns: 1fr 36px;\n\tcolumn-gap: 0;\n\talign-items: center;\n\twidth: 100%;\n\n\t.has-typography-component-label {\n\t\tfont-size: 13px;\n\t}\n\n\t.components-button {\n\t\twidth: 100%;\n\t\tfont-size: 13px;\n\t\tpadding: 6px 8px;\n\t\tmargin: 0;\n\t\tjustify-content: center;\n\t\toutline: unset;\n\t}\n\n\t.dashicon {\n\t\tdisplay: flex;\n\t\twidth: 25px;\n\t\tjustify-content: center;\n\t\talign-items: center;\n\n\t\t&:before {\n\t\t\tfont-size: 1.4rem;\n\t\t}\n\t}\n}\n.has-component-typography-popup {\n\tmin-width: 250px;\n\tmax-width: 250px;\n\n\t.components-popover__content {\n\t\twidth: unset;\n\t}\n}\n\n/* Background Selector */\n.has-background-type {\n\tdisplay: block;\n\tmargin-bottom: 15px;\n\n\t.components-button-group {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 1fr 1fr;\n\n\t\tbutton {\n\t\t\tdisplay: block;\n\t\t\ttext-align: center;\n\t\t}\n\t}\n}\n.has-background-gradient,\n.has-background-gradient-sync,\n.has-background-gradient-generator{\n\tdisplay: block;\n}\n.has-component-gradient-picker-wrapper > div,\n.has-component-gradient-sync-wrapper > div,\n.has-component-gradient-generator-wrapper > div{\n\tdisplay: grid;\n\tgrid-template-columns: 1fr 30px;\n\talign-items: center;\n\n\th3 {\n\t\tmargin-bottom: 0;\n\t}\n}\n.has-component-gradient-picker {\n\tdisplay: inline-block;\n\theight: 28px;\n\twidth: 28px;\n\tvertical-align: top;\n\ttransition: 100ms transform ease;\n\tborder-radius: 50%;\n\tbox-shadow: inset 0 0 0 1px !important;\n\n\t&:hover {\n\t\ttransform: scale(1.1);\n\t}\n}\n.has-component-gradient-picker-popover {\n\t.components-popover__content {\n\t\twidth: 300px;\n\t\tpadding: 10px;\n\t}\n}\n\n/* Background Image Uploader/Selector */\n.has-background-selector-upload-row {\n\tdisplay: grid;\n\tgrid-template-columns: 1fr 30px;\n\talign-items: end;\n\tcolumn-gap: 15px;\n\n\t.has-background-selector-upload-button button {\n\t\tmax-height: 30px;\n\t\tmax-width: 30px;\n\t}\n\n\t.components-base-control__field,\n\t.components-base-control {\n\t\tmargin-bottom: 0 !important; // override core styles.\n\t}\n}\n.has-component-background-settings-popup {\n\t.components-popover__content {\n\t\twidth: 250px;\n\t\tpadding: 10px;\n\t}\n}\n.has-background-selector__row_item {\n\tmargin-bottom: 20px;\n\n\t&.has-background-selector__row_item-2 {\n\t\tdisplay: grid;\n\t\tgrid-template-columns: 1fr 30px;\n\t\talign-items: center;\n\t\tcolumn-gap: 15px;\n\n\t\th3 {\n\t\t\tmargin-bottom: 0;\n\t\t}\n\n\t\tbutton { \n\t\t\tmax-height: 30px;\n\t\t\tmax-width: 30px;\n\t\t}\n\t}\n}\n.has-background-selector-image-button-error {\n\tcolor: #bc2b2c !important; // override core styles.\n\tbackground: #f5e5e4 !important; // override core styles.\n\tborder-color: #bc2b2c !important; // override core styles.\n\tbox-shadow: inset 0 0 0 1px #bc2b2c !important; // override core styles.\n}"],"names":[],"sourceRoot":""}
\ No newline at end of file
diff --git a/php/Blocks.php b/php/Blocks.php
index 750602e..a9ef247 100644
--- a/php/Blocks.php
+++ b/php/Blocks.php
@@ -116,7 +116,7 @@ public function register_block_assets() {
'has_gutenberg',
array(
'svg' => Functions::get_plugin_url( 'img/share.svg' ),
- 'colorPalette' => $color_palette,
+ 'colorPalette' => Themes::get_default_theme_colors(),
'adobeFonts' => $adobe_fonts,
'adobeFontsUrl' => Adobe_Fonts::$typekit_css_url,
'adobeProjectId' => $block_editor_options['adobe_project_id'] ?? '',
diff --git a/php/Themes.php b/php/Themes.php
index d185107..d7bbc19 100644
--- a/php/Themes.php
+++ b/php/Themes.php
@@ -17,7 +17,7 @@ class Themes {
*/
public static function get_default_theme_colors() {
// Return colors for each social network. Each has a slug, value, and label.
- return array(
+ $colors = array(
array(
'slug' => 'twitter',
'color' => '#1da1f2',
@@ -68,7 +68,54 @@ public static function get_default_theme_colors() {
'color' => '#ffffff',
'label' => __( 'White', 'highlight-and-share' ),
),
+ /* Purple */
+ array(
+ 'slug' => 'theme-purple',
+ 'color' => '#8364E8',
+ 'label' => __( 'Purple', 'highlight-and-share' ),
+ ),
+ /* Black */
+ array(
+ 'slug' => 'theme-black',
+ 'color' => '#333',
+ 'label' => __( 'Black', 'highlight-and-share' ),
+ ),
+ /* Blue */
+ array(
+ 'slug' => 'theme-blue',
+ 'color' => '#0009c1',
+ 'label' => __( 'Blue', 'highlight-and-share' ),
+ ),
+ /* Green */
+ array(
+ 'slug' => 'theme-green',
+ 'color' => '#03ac27',
+ 'label' => __( 'Green', 'highlight-and-share' ),
+ ),
+ /* Cyan */
+ array(
+ 'slug' => 'theme-cyan',
+ 'color' => '#0091b0',
+ 'label' => __( 'Cyan', 'highlight-and-share' ),
+ ),
+ /* Magenta */
+ array(
+ 'slug' => 'theme-magenta',
+ 'color' => '#c700c7',
+ 'label' => __( 'Magenta', 'highlight-and-share' ),
+ ),
+ );
+
+ /**
+ * Filter the default theme colors.
+ *
+ * @param array $colors Array of theme colors
+ */
+ $colors = apply_filters(
+ 'has_default_theme_color_palette',
+ $colors
);
+ return $colors;
}
/**
diff --git a/src/admin.scss b/src/admin.scss
index 388d694..c70fca9 100644
--- a/src/admin.scss
+++ b/src/admin.scss
@@ -719,6 +719,10 @@ h2.has-admin-content-subheading {
border-radius: 50%;
width: 100%;
height: 100%;
+
+ .components-popover {
+ display: none;
+ }
}
.components-circular-option-picker__swatches {
display: flex;
diff --git a/src/blocks/click-to-share/edit.js b/src/blocks/click-to-share/edit.js
index e8751f9..dd1e060 100644
--- a/src/blocks/click-to-share/edit.js
+++ b/src/blocks/click-to-share/edit.js
@@ -892,10 +892,10 @@ const HAS_Click_To_Share = ( props ) => {
label={ __( 'Border Radius', 'highlight-and-share' ) }
allowNegatives={ false }
values={ borderRadiusSize }
- labelTop={ __( 'T-Left', 'highlight-and-share' ) }
- labelRight={ __( 'T-Right', 'highlight-and-share' ) }
- labelBottom={ __( 'B-Right', 'highlight-and-share' ) }
- labelLeft={ __( 'B-Left', 'highlight-and-share' ) }
+ labelTop={ __( 'Top Left', 'highlight-and-share' ) }
+ labelRight={ __( 'Top Right', 'highlight-and-share' ) }
+ labelBottom={ __( 'Bottom Right', 'highlight-and-share' ) }
+ labelLeft={ __( 'Bottom Left', 'highlight-and-share' ) }
units={ [ 'px', 'em', 'rem', '%' ] }
screenSize={ deviceType }
onValuesChange={ ( newValues ) => {
diff --git a/src/blocks/editor.scss b/src/blocks/editor.scss
index faff398..a8c0a2d 100644
--- a/src/blocks/editor.scss
+++ b/src/blocks/editor.scss
@@ -1,6 +1,15 @@
/**
* Editor styles for the admin
*/
+ @keyframes hasFadeIn {
+ from {
+ opacity: 0;
+ }
+
+ to {
+ opacity: 1;
+ }
+ }
.highlight-and-share {
&.aligncenter,
@@ -179,12 +188,47 @@
width: 100%;
}
}
-
/* Dimensions Component */
.components-has-dimensions-control {
display: inline-block;
+ /* Hide labels if appropriate and still be screen reader friendly. From: https://css-tricks.com/inclusively-hidden/ */
label {
- display: none;
+ clip: rect(0 0 0 0);
+ clip-path: inset(50%);
+ height: 1px;
+ overflow: hidden;
+ position: absolute;
+ white-space: nowrap;
+ width: 1px;
+ }
+
+ .components-has-dimensions-control__input {
+ display: inline-block;
+ position: relative;
+ overflow: visible;
+
+ &:hover:after,
+ &:focus-within:after {
+ z-index: 1000;
+ animation-duration: 0.8s;
+ animation-name: hasFadeIn;
+ opacity: 1;
+ transition: all 0.2s ease-in-out;
+ display: block;
+ position: absolute;
+ padding: 8px;
+ content: attr(data-tooltip);
+ font-family: "FranklinGothic", Helvetica, sans-serif;
+ background-color: #333;
+ color: #FFF;
+ font-size: 13px;
+ line-height: 1.2;
+ top: -40px;
+ left: 0;
+ text-align: center;
+ border-radius: 3px;
+ min-width: 100px;
+ }
}
.components-has-dimensions-control__inputs {
diff --git a/src/react/Components/DimensionsBlock/index.js b/src/react/Components/DimensionsBlock/index.js
index 59f1fea..b5939e0 100644
--- a/src/react/Components/DimensionsBlock/index.js
+++ b/src/react/Components/DimensionsBlock/index.js
@@ -14,7 +14,11 @@ import { __, sprintf, _x } from '@wordpress/i18n';
import { Button, Tooltip, TextControl } from '@wordpress/components';
import { useForm, Controller, useWatch, useFormState } from 'react-hook-form';
import classNames from 'classnames';
-import { geHierarchicalPlaceholderValue, getHierarchicalValueUnit, getHierarchicalValueUnitSync } from '../../Utils/DimensionsHelper';
+import {
+ geHierarchicalPlaceholderValue,
+ getHierarchicalValueUnit,
+ getHierarchicalValueUnitSync,
+} from '../../Utils/DimensionsHelper';
const DimensionsControlBlock = ( props ) => {
const [ screenSize, setScreenSize ] = useState( 'desktop' );
@@ -48,11 +52,7 @@ const DimensionsControlBlock = ( props ) => {
};
};
- const {
- control,
- setValue,
- getValues,
- } = useForm( {
+ const { control, setValue, getValues } = useForm( {
defaultValues: getDefaultValues(),
} );
@@ -72,9 +72,12 @@ const DimensionsControlBlock = ( props ) => {
onValuesChange( formValues );
}, [ formValues ] );
- useEffect( () =>{
+ useEffect( () => {
setScreenSize( props.screenSize.toLowerCase() );
- setValue( props.screenSize.toLowerCase(), getValues( props.screenSize.toLowerCase() ) );
+ setValue(
+ props.screenSize.toLowerCase(),
+ getValues( props.screenSize.toLowerCase() )
+ );
}, [ props.screenSize ] );
/**
* Change the all values in parent.
@@ -124,35 +127,23 @@ const DimensionsControlBlock = ( props ) => {
};
const onDimensionChange = ( value ) => {
- if ( getHierarchicalValueUnitSync( props.values, screenSize, getValues( screenSize ).unitSync ) ) {
+ if (
+ getHierarchicalValueUnitSync(
+ props.values,
+ screenSize,
+ getValues( screenSize ).unitSync
+ )
+ ) {
changeAllValues( value );
}
};
const syncIcon = (
-