HEX
Server: LiteSpeed
System: Linux eko108.isimtescil.net 4.18.0-477.21.1.lve.1.el8.x86_64 #1 SMP Tue Sep 5 23:08:35 UTC 2023 x86_64
User: uyarreklamcomtr (11202)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/uyarreklam.com.tr/httpdocs/product-editor.tar
blocks/attributes/block.json000064400000001273151545121230012176 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-attributes-field",
    "title": "Product attributes",
    "category": "widgets",
    "description": "The product attributes.",
    "keywords": ["products", "attributes"],
    "textdomain": "default",
    "attributes": {
        "name": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/attributes/edit.js000064400000001160151545121230011467 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor"),core_data_1=require("@wordpress/core-data"),attributes_1=require("../../components/attributes/attributes");function Edit(){const[e,t]=(0,core_data_1.useEntityProp)("postType","product","attributes"),r=(0,core_data_1.useEntityId)("postType","product"),o=(0,block_editor_1.useBlockProps)();return(0,element_1.createElement)("div",{...o},(0,element_1.createElement)(attributes_1.Attributes,{productId:r,value:e,onChange:t}))}exports.Edit=Edit;blocks/attributes/index.js000064400000001135151545121230011653 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const utils_1=require("../../utils"),block_json_1=__importDefault(require("./block.json"));exports.metadata=block_json_1.default;const edit_1=require("./edit"),{name}=block_json_1.default;exports.name=name,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,utils_1.initBlock)({name,metadata:block_json_1.default,settings:exports.settings});exports.init=init;blocks/blocks/conditional/block.json000064400000001105151545121230013562 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/conditional",
	"title": "Conditional",
	"category": "widgets",
	"description": "Container to only conditionally render inner blocks.",
	"textdomain": "default",
	"attributes": {
		"mustMatch": {
			"__experimentalRole": "content",
			"type": "array",
			"items": {
				"type": "object"
			},
			"default": []
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	}
}
blocks/blocks/product-attributes-field/block.json000064400000001116151545121230016206 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-attributes-field",
	"title": "Product attributes",
	"category": "widgets",
	"description": "The product attributes.",
	"keywords": [ "products", "attributes" ],
	"textdomain": "default",
	"attributes": {
		"name": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-attributes-field/editor-rtl.css000064400000017157151545121230017034 0ustar00/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/attributes/editor.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-attributes-field .woocommerce-sortable {
  padding: 0;
}
.wp-block-woocommerce-product-attributes-field .woocommerce-list-item {
  background: none;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding-right: 0;
  -ms-grid-columns: 26% auto 90px;
  grid-template-columns: 26% auto 90px;
}
.wp-block-woocommerce-product-attributes-field .woocommerce-sortable__handle {
  display: none;
}
blocks/blocks/product-attributes-field/editor.css000064400000017156151545121230016234 0ustar00/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/attributes/editor.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-attributes-field .woocommerce-sortable {
  padding: 0;
}
.wp-block-woocommerce-product-attributes-field .woocommerce-list-item {
  background: none;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding-left: 0;
  -ms-grid-columns: 26% auto 90px;
  grid-template-columns: 26% auto 90px;
}
.wp-block-woocommerce-product-attributes-field .woocommerce-sortable__handle {
  display: none;
}
blocks/blocks/product-catalog-visibility-field/block.json000064400000001375151545121230017626 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-catalog-visibility-field",
	"description": "A checkbox to manage the catalog visibility of the product.",
	"title": "Product catalog visibility",
	"category": "widgets",
	"keywords": [ "products", "catalog" ],
	"textdomain": "default",
	"attributes": {
		"label": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"visibility": {
			"type": "string",
			"enum": [ "visible", "catalog", "search", "hidden" ],
			"default": "visible"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-checkbox-field/block.json000064400000001322151545121230015605 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-checkbox-field",
	"title": "Product checkbox control",
	"category": "woocommerce",
	"description": "The product checkbox.",
	"keywords": [ "products", "checkbox", "input" ],
	"textdomain": "default",
	"attributes": {
		"title": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"label": {
			"type": "string"
		},
		"property": {
			"type": "string"
		},
		"tooltip": {
			"type": "string"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-checkbox-field/editor-rtl.css000064400000017613151545121230016431 0ustar00/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/checkbox/editor.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.woocommerce-product-form__checkbox .components-base-control__field,
.woocommerce-product-form__checkbox .components-checkbox-control__label, .woocommerce-product-form__checkbox-wrapper, .woocommerce-product-form__checkbox-tooltip-icon {
  display: flex;
  align-items: center;
}
.woocommerce-product-form__checkbox .components-base-control__field {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.woocommerce-product-form__checkbox .components-checkbox-control__label {
  margin-bottom: 0;
}

.woocommerce-product-form__checkbox-wrapper {
  gap: 4px;
}

.woocommerce-product-form__checkbox-tooltip .components-popover__content {
  width: 200px;
  min-width: auto;
  white-space: normal !important;
}
blocks/blocks/product-checkbox-field/editor.css000064400000017613151545121230015632 0ustar00/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/checkbox/editor.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.woocommerce-product-form__checkbox .components-base-control__field,
.woocommerce-product-form__checkbox .components-checkbox-control__label, .woocommerce-product-form__checkbox-wrapper, .woocommerce-product-form__checkbox-tooltip-icon {
  display: flex;
  align-items: center;
}
.woocommerce-product-form__checkbox .components-base-control__field {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.woocommerce-product-form__checkbox .components-checkbox-control__label {
  margin-bottom: 0;
}

.woocommerce-product-form__checkbox-wrapper {
  gap: 4px;
}

.woocommerce-product-form__checkbox-tooltip .components-popover__content {
  width: 200px;
  min-width: auto;
  white-space: normal !important;
}
blocks/blocks/product-collapsible/block.json000064400000001151151545121230015227 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-collapsible",
	"title": "Collapsible",
	"category": "widgets",
	"description": "Container with collapsible inner blocks.",
	"textdomain": "default",
	"attributes": {
		"toggleText": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"initialCollapsed": {
			"type": "boolean"
		},
		"persistRender": {
			"type": "boolean"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	}
}
blocks/blocks/product-description-field/block.json000064400000001075151545121230016347 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-description-field",
	"title": "Product description",
	"category": "woocommerce",
	"description": "The product description.",
	"keywords": [ "products", "description" ],
	"textdomain": "default",
	"attributes": {
		"__contentEditable": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	}
}
blocks/blocks/product-has-variations-notice/block.json000064400000001266151545121230017154 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-has-variations-notice",
	"title": "Notice",
	"category": "woocommerce",
	"description": "Notice description",
	"keywords": [ "products", "notice" ],
	"textdomain": "default",
	"attributes": {
		"title": {
			"type": "string"
		},
		"content": {
			"type": "string"
		},
		"buttonText": {
			"type": "string"
		},
		"type": {
			"type": "string"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css",
	"templateLock": "contentOnly"
}
blocks/blocks/product-has-variations-notice/editor-rtl.css000064400000016476151545121230017777 0ustar00/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/notice/editor.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.woocommerce-product-notice {
  margin-top: 64px;
}
.woocommerce-product-notice button {
  pointer-events: all;
  cursor: pointer;
}
blocks/blocks/product-has-variations-notice/editor.css000064400000016476151545121230017200 0ustar00/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/notice/editor.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.woocommerce-product-notice {
  margin-top: 64px;
}
.woocommerce-product-notice button {
  pointer-events: all;
  cursor: pointer;
}
blocks/blocks/product-images-field/block.json000064400000001332151545121230015265 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-images-field",
	"title": "Product images",
	"category": "widgets",
	"description": "The product images.",
	"keywords": [ "products", "image", "images", "gallery" ],
	"textdomain": "default",
	"attributes": {
		"mediaId": {
			"type": "number",
			"__experimentalRole": "content"
		},
		"images": {
			"__experimentalRole": "content",
			"type": "array",
			"items": {
				"type": "number"
			},
			"default": []
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-images-field/editor-rtl.css000064400000017260151545121230016106 0ustar00/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/images/editor.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-images-field .woocommerce-media-uploader {
  text-align: right;
}
.wp-block-woocommerce-product-images-field .woocommerce-media-uploader__label {
  display: none;
}
.wp-block-woocommerce-product-images-field .woocommerce-sortable {
  margin-top: 0;
  padding: 0;
}
.wp-block-woocommerce-product-images-field.has-images .woocommerce-image-gallery {
  margin-top: 40px;
}
.wp-block-woocommerce-product-images-field:not(.has-images) .woocommerce-sortable {
  display: none;
}
blocks/blocks/product-images-field/editor.css000064400000017257151545121230015315 0ustar00/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/images/editor.scss ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-images-field .woocommerce-media-uploader {
  text-align: left;
}
.wp-block-woocommerce-product-images-field .woocommerce-media-uploader__label {
  display: none;
}
.wp-block-woocommerce-product-images-field .woocommerce-sortable {
  margin-top: 0;
  padding: 0;
}
.wp-block-woocommerce-product-images-field.has-images .woocommerce-image-gallery {
  margin-top: 40px;
}
.wp-block-woocommerce-product-images-field:not(.has-images) .woocommerce-sortable {
  display: none;
}
blocks/blocks/product-inventory-email-field/block.json000064400000001164151545121230017145 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-inventory-email-field",
	"title": "Stock level threshold",
	"category": "widgets",
	"description": "Stock management minimum quantity.",
	"keywords": [ "products", "inventory", "email", "minimum" ],
	"textdomain": "default",
	"attributes": {
		"name": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-inventory-email-field/editor-rtl.css000064400000016440151545121230017762 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/inventory-email/editor.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-inventory-email-field {
  margin-top: 24px;
}
blocks/blocks/product-inventory-email-field/editor.css000064400000016440151545121230017163 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/inventory-email/editor.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-inventory-email-field {
  margin-top: 24px;
}
blocks/blocks/product-inventory-quantity-field/block.json000064400000001177151545121230017740 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-inventory-quantity-field",
	"title": "Product inventory quantity available",
	"category": "woocommerce",
	"description": "The product available quantity.",
	"keywords": [ "products", "quantity", "inventory" ],
	"textdomain": "default",
	"attributes": {
		"name": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-name-field/block.json000064400000001177151545121230014747 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-name-field",
	"title": "Product name",
	"category": "widgets",
	"description": "The product name.",
	"keywords": [ "products", "name", "title" ],
	"textdomain": "default",
	"attributes": {
		"name": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"autoFocus": {
			"type": "boolean",
			"default": false
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-name-field/editor-rtl.css000064400000017526151545121230015566 0ustar00/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/name/editor.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.product-details-section__product-link {
  color: #757575;
  font-size: 12px;
  display: block;
  margin-top: 8px;
}
.product-details-section__product-link > a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.product-details-section__product-link .components-button.is-link {
  font-size: 12px;
  text-decoration: none;
  margin-right: 8px;
}

.woocommerce-product-form__required-input {
  color: #CC1818;
}

.wp-block-woocommerce-product-name-field .has-error .components-base-control .components-input-control__backdrop {
  border-color: #d63638;
}
.wp-block-woocommerce-product-name-field .has-error .components-base-control__help {
  color: #d63638;
}
blocks/blocks/product-name-field/editor.css000064400000017525151545121230014766 0ustar00/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/name/editor.scss ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.product-details-section__product-link {
  color: #757575;
  font-size: 12px;
  display: block;
  margin-top: 8px;
}
.product-details-section__product-link > a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.product-details-section__product-link .components-button.is-link {
  font-size: 12px;
  text-decoration: none;
  margin-left: 8px;
}

.woocommerce-product-form__required-input {
  color: #CC1818;
}

.wp-block-woocommerce-product-name-field .has-error .components-base-control .components-input-control__backdrop {
  border-color: #d63638;
}
.wp-block-woocommerce-product-name-field .has-error .components-base-control__help {
  color: #d63638;
}
blocks/blocks/product-password-field/block.json000064400000001157151545121230015667 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-password-field",
	"description": "A checkbox and an input to type a password to view a product.",
	"title": "Product password",
	"category": "widgets",
	"keywords": [ "products", "password" ],
	"textdomain": "default",
	"attributes": {
		"label": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-password-field/editor-rtl.css000064400000016417151545121230016506 0ustar00/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/password/editor.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-password-fields__field {
  margin-bottom: 16px;
}
blocks/blocks/product-password-field/editor.css000064400000016417151545121230015707 0ustar00/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/password/editor.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-password-fields__field {
  margin-bottom: 16px;
}
blocks/blocks/product-pricing-field/block.json000064400000001243151545121230015454 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-pricing-field",
	"description": "A product price block with currency display.",
	"title": "Product pricing",
	"category": "widgets",
	"keywords": [ "products", "price" ],
	"textdomain": "default",
	"attributes": {
		"name": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"label": {
			"type": "string"
		},
		"help": {
			"type": "string"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-pricing-field/editor-rtl.css000064400000016547151545121230016303 0ustar00/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/pricing/editor.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.components-currency-control .components-input-control__prefix {
  color: #757575;
}
.components-currency-control .components-input-control__input {
  text-align: left;
}
blocks/blocks/product-pricing-field/editor.css000064400000016550151545121230015476 0ustar00/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/pricing/editor.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.components-currency-control .components-input-control__prefix {
  color: #757575;
}
.components-currency-control .components-input-control__input {
  text-align: right;
}
blocks/blocks/product-radio-field/block.json000064400000001341151545121230015116 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-radio-field",
	"title": "Product radio control",
	"category": "woocommerce",
	"description": "The product radio.",
	"keywords": [ "products", "radio", "input" ],
	"textdomain": "default",
	"attributes": {
		"title": {
			"type": "string"
		},
		"description": {
			"type": "string"
		},
		"property": {
			"type": "string"
		},
		"options": {
			"type": "array",
			"items": {
				"type": "object"
			},
			"default": [],
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	}
}
blocks/blocks/product-regular-price-field/block.json000064400000001212151545121230016556 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-regular-price-field",
	"description": "A product price block with currency display.",
	"title": "Product regular price",
	"category": "widgets",
	"keywords": [ "products", "price" ],
	"textdomain": "default",
	"attributes": {
		"label": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"help": {
			"type": "string"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-regular-price-field/editor-rtl.css000064400000016735151545121230017410 0ustar00/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/regular-price/editor.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-regular-price-field .components-currency-control .components-input-control__prefix {
  color: #757575;
}
.wp-block-woocommerce-product-regular-price-field .components-currency-control .components-input-control__input {
  text-align: left;
}
blocks/blocks/product-regular-price-field/editor.css000064400000016736151545121230016612 0ustar00/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/regular-price/editor.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-regular-price-field .components-currency-control .components-input-control__prefix {
  color: #757575;
}
.wp-block-woocommerce-product-regular-price-field .components-currency-control .components-input-control__input {
  text-align: right;
}
blocks/blocks/product-sale-price-field/block.json000064400000001204151545121230016042 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-sale-price-field",
	"description": "A product price block with currency display.",
	"title": "Product sale price",
	"category": "widgets",
	"keywords": [ "products", "price" ],
	"textdomain": "default",
	"attributes": {
		"label": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"help": {
			"type": "string"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-sale-price-field/editor-rtl.css000064400000016716151545121230016672 0ustar00/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/sale-price/editor.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-sale-price-field .components-currency-control .components-input-control__prefix {
  color: #757575;
}
.wp-block-woocommerce-product-sale-price-field .components-currency-control .components-input-control__input {
  text-align: left;
}
blocks/blocks/product-sale-price-field/editor.css000064400000016717151545121230016074 0ustar00/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/sale-price/editor.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-sale-price-field .components-currency-control .components-input-control__prefix {
  color: #757575;
}
.wp-block-woocommerce-product-sale-price-field .components-currency-control .components-input-control__input {
  text-align: right;
}
blocks/blocks/product-schedule-sale-fields/block.json000064400000001157151545121230016726 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-schedule-sale-fields",
	"title": "Product schedule sale fields",
	"category": "woocommerce",
	"description": "The product schedule sale fields.",
	"keywords": [ "products", "schedule", "sale" ],
	"textdomain": "default",
	"attributes": {
		"name": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-schedule-sale-fields/editor-rtl.css000064400000016442151545121230017543 0ustar00/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/schedule-sale/editor.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-schedule-sale-fields__content {
  margin-top: 24px;
}
blocks/blocks/product-schedule-sale-fields/editor.css000064400000016442151545121230016744 0ustar00/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/schedule-sale/editor.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-schedule-sale-fields__content {
  margin-top: 24px;
}
blocks/blocks/product-section/block.json000064400000001334151545121230014405 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-section",
	"title": "Product section",
	"category": "woocommerce",
	"description": "The product section.",
	"keywords": [ "products", "section", "group" ],
	"textdomain": "default",
	"attributes": {
		"title": {
			"type": "string"
		},
		"description": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"blockGap": {
			"type": "string",
			"enum": [ "unit-30", "unit-40" ],
			"default": "unit-30"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-section/editor-rtl.css000064400000021176151545121230015225 0ustar00/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/section/editor.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-section {
  margin: 48px 0 0;
  padding: 0 0 48px;
  border-bottom: 1px solid #ddd;
}
.wp-block-woocommerce-product-section:first-child {
  margin-top: 64px;
}
.wp-block-woocommerce-product-section:last-child {
  border-bottom: none;
}
.wp-block-woocommerce-product-section__heading {
  padding: 0;
  margin: 0 0 32px 0;
  width: 100%;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: #1e1e1e;
  display: inline-flex;
  align-items: center;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title .block-editor-block-icon {
  margin-left: 14px;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title .block-editor-block-icon > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-description {
  margin: 12px 0 0;
  font-size: 13px;
  color: #757575;
  line-height: 1.5;
}
.wp-block-woocommerce-product-section__content--block-gap-unit-30 > * + * {
  margin-top: 24px;
}
.wp-block-woocommerce-product-section__content--block-gap-unit-40 > * + * {
  margin-top: 32px;
}
.wp-block-woocommerce-product-section__content .wp-block-woocommerce-product-section {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: none;
}
blocks/blocks/product-section/editor.css000064400000021177151545121230014427 0ustar00/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/section/editor.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-section {
  margin: 48px 0 0;
  padding: 0 0 48px;
  border-bottom: 1px solid #ddd;
}
.wp-block-woocommerce-product-section:first-child {
  margin-top: 64px;
}
.wp-block-woocommerce-product-section:last-child {
  border-bottom: none;
}
.wp-block-woocommerce-product-section__heading {
  padding: 0;
  margin: 0 0 32px 0;
  width: 100%;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: #1e1e1e;
  display: inline-flex;
  align-items: center;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title .block-editor-block-icon {
  margin-right: 14px;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title .block-editor-block-icon > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-description {
  margin: 12px 0 0;
  font-size: 13px;
  color: #757575;
  line-height: 1.5;
}
.wp-block-woocommerce-product-section__content--block-gap-unit-30 > * + * {
  margin-top: 24px;
}
.wp-block-woocommerce-product-section__content--block-gap-unit-40 > * + * {
  margin-top: 32px;
}
.wp-block-woocommerce-product-section__content .wp-block-woocommerce-product-section {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: none;
}
blocks/blocks/product-shipping-class-field/block.json000064400000001161151545121230016744 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-shipping-class-field",
	"title": "Product shipping class field",
	"category": "woocommerce",
	"description": "The product shipping class field.",
	"keywords": [ "products", "shipping", "class" ],
	"textdomain": "default",
	"attributes": {
		"title": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-shipping-dimensions-fields/block.json000064400000001225151545121230020173 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-shipping-dimensions-fields",
	"title": "Product shipping dimensions fields",
	"category": "woocommerce",
	"description": "The product shipping dimensions fields.",
	"keywords": [ "products", "shipping", "dimensions" ],
	"textdomain": "default",
	"attributes": {
		"__contentEditable": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-shipping-dimensions-fields/editor-rtl.css000064400000017432151545121230021014 0ustar00/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/shipping-dimensions/editor.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control {
  margin-bottom: 16px;
}
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control__field .components-base-control__label > span {
  color: #757575;
}
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control__field .components-input-control__suffix {
  flex-shrink: 0;
  color: #757575;
}
.wp-block-woocommerce-product-shipping-dimensions-fields__dimensions-image {
  width: 100%;
  height: 100%;
  padding: 16px;
  overflow: visible;
}
blocks/blocks/product-shipping-dimensions-fields/editor.css000064400000017432151545121230020215 0ustar00/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/shipping-dimensions/editor.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control {
  margin-bottom: 16px;
}
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control__field .components-base-control__label > span {
  color: #757575;
}
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control__field .components-input-control__suffix {
  flex-shrink: 0;
  color: #757575;
}
.wp-block-woocommerce-product-shipping-dimensions-fields__dimensions-image {
  width: 100%;
  height: 100%;
  padding: 16px;
  overflow: visible;
}
blocks/blocks/product-sku-field/block.json000064400000001076151545121230014627 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-sku-field",
	"title": "Product text control",
	"category": "woocommerce",
	"description": "The product sku.",
	"keywords": [ "products", "sku" ],
	"textdomain": "default",
	"attributes": {
		"name": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-sku-field/editor-rtl.css000064400000017014151545121230015440 0ustar00/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/inventory-sku/editor.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.woocommerce-product-form_inventory-sku .components-base-control__label {
  display: flex;
  align-items: center;
}
.woocommerce-product-form_inventory-sku .woocommerce-product-form__optional-input {
  margin-right: 4px;
}
.woocommerce-product-form_inventory-sku .woocommerce-tooltip__button {
  padding: 0 4px 0 0;
}
blocks/blocks/product-sku-field/editor.css000064400000017013151545121230014640 0ustar00/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/inventory-sku/editor.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.woocommerce-product-form_inventory-sku .components-base-control__label {
  display: flex;
  align-items: center;
}
.woocommerce-product-form_inventory-sku .woocommerce-product-form__optional-input {
  margin-left: 4px;
}
.woocommerce-product-form_inventory-sku .woocommerce-tooltip__button {
  padding: 0 0 0 4px;
}
blocks/blocks/product-summary-field/block.json000064400000001723151545121230015521 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-summary-field",
	"title": "Product summary",
	"category": "widgets",
	"description": "The product summary.",
	"keywords": [ "products", "summary", "excerpt" ],
	"textdomain": "default",
	"attributes": {
		"align": {
			"type": "string"
		},
		"allowedFormats": {
			"type": "array",
			"default": [
				"core/bold",
				"core/code",
				"core/italic",
				"core/link",
				"core/strikethrough",
				"core/underline",
				"core/text-color",
				"core/subscript",
				"core/superscript",
				"core/unknown"
			]
		},
		"direction": {
			"type": "string",
			"enum": [ "ltr", "rtl" ]
		},
		"label": {
			"type": "string"
		},
		"content": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-summary-field/editor-rtl.css000064400000020011151545121230016322 0ustar00/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/summary/editor.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-summary-field-wrapper .wp-block-woocommerce-product-summary-field {
  margin-top: 0;
  margin-bottom: 0;
}

.components-summary-control {
  width: 100%;
  min-height: 108px;
  background-color: #fff;
  box-sizing: border-box;
  border: 1px solid #757575;
  border-radius: 2px;
  padding: 8px;
  margin: 0;
  -webkit-appearance: textarea;
     -moz-appearance: textarea;
          appearance: textarea;
  resize: vertical;
  overflow: hidden;
}
.components-summary-control.rich-text [data-rich-text-placeholder]:after {
  color: #757575;
  opacity: 1;
}
.components-summary-control:focus {
  box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10, --wp-admin-theme-color);
  border-color: var(--wp-admin-theme-color-darker-10, --wp-admin-theme-color);
}

.has-text-align-justify {
  text-align: justify;
}
blocks/blocks/product-summary-field/editor.css000064400000020032151545121230015526 0ustar00/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/summary/editor.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-summary-field-wrapper .wp-block-woocommerce-product-summary-field {
  margin-top: 0;
  margin-bottom: 0;
}

.components-summary-control {
  width: 100%;
  min-height: 108px;
  background-color: #fff;
  box-sizing: border-box;
  border: 1px solid #757575;
  border-radius: 2px;
  padding: 8px;
  margin: 0;
  -webkit-appearance: textarea;
     -moz-appearance: textarea;
          appearance: textarea;
  resize: vertical;
  overflow: hidden;
}
.components-summary-control.rich-text [data-rich-text-placeholder]:after {
  color: #757575;
  opacity: 1;
}
.components-summary-control:focus {
  box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10, --wp-admin-theme-color);
  border-color: var(--wp-admin-theme-color-darker-10, --wp-admin-theme-color);
}

.has-text-align-justify {
  /*rtl:ignore*/
  text-align: justify;
}
blocks/blocks/product-tab/block.json000064400000001335151545121230013510 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-tab",
	"title": "Product tab",
	"category": "woocommerce",
	"description": "The product tab.",
	"keywords": [ "products", "tab", "group" ],
	"textdomain": "default",
	"attributes": {
		"id": {
			"type": "string"
		},
		"title": {
			"type": "string"
		},
		"order": {
			"type": "number"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"providesContext": {
		"isInSelectedTab": "isSelected"
	},
	"usesContext": [ "selectedTab" ],
	"editorStyle": "file:./editor.css",
	"templateLock": "contentOnly"
}
blocks/blocks/product-tab/editor-rtl.css000064400000016662151545121230014333 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/tab/editor.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-tab__content:not(.is-selected) {
  display: none;
}

.woocommerce-product-tabs .wp-block-woocommerce-product-tab__button:focus:not(:disabled) {
  box-shadow: none;
}

.wp-block-woocommerce-product-tab:after {
  display: none;
}
blocks/blocks/product-tab/editor.css000064400000016662151545121230013534 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/tab/editor.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-tab__content:not(.is-selected) {
  display: none;
}

.woocommerce-product-tabs .wp-block-woocommerce-product-tab__button:focus:not(:disabled) {
  box-shadow: none;
}

.wp-block-woocommerce-product-tab:after {
  display: none;
}
blocks/blocks/product-tag-field/block.json000064400000001263151545121230014576 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-tag-field",
	"title": "Product Tag",
	"category": "widgets",
	"description": "A field to select product tags.",
	"keywords": [ "products", "tag" ],
	"textdomain": "default",
	"attributes": {
		"name": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"label": {
			"type": "string"
		},
		"placeholder": {
			"type": "string"
		}
	},
	"usesContext": [ "postType" ],
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-tag-field/editor-rtl.css000064400000017525151545121230015420 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/tag/editor.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-tag-field .woocommerce-experimental-select-tree-control__menu .experimental-woocommerce-tree-item {
  font-size: 13px;
}
.wp-block-woocommerce-product-tag-field .woocommerce-experimental-select-tree-control__menu .experimental-woocommerce-tree-item .components-checkbox-control__input-container,
.wp-block-woocommerce-product-tag-field .woocommerce-experimental-select-tree-control__menu .experimental-woocommerce-tree-item input[type=checkbox],
.wp-block-woocommerce-product-tag-field .woocommerce-experimental-select-tree-control__menu .experimental-woocommerce-tree-item .components-checkbox-control__checked {
  width: 20px;
  height: 20px;
}
blocks/blocks/product-tag-field/editor.css000064400000017525151545121230014621 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/tag/editor.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-tag-field .woocommerce-experimental-select-tree-control__menu .experimental-woocommerce-tree-item {
  font-size: 13px;
}
.wp-block-woocommerce-product-tag-field .woocommerce-experimental-select-tree-control__menu .experimental-woocommerce-tree-item .components-checkbox-control__input-container,
.wp-block-woocommerce-product-tag-field .woocommerce-experimental-select-tree-control__menu .experimental-woocommerce-tree-item input[type=checkbox],
.wp-block-woocommerce-product-tag-field .woocommerce-experimental-select-tree-control__menu .experimental-woocommerce-tree-item .components-checkbox-control__checked {
  width: 20px;
  height: 20px;
}
blocks/blocks/product-taxonomy-field/block.json000064400000002021151545121230015672 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-taxonomy-field",
	"title": "Taxonomy",
	"category": "widgets",
	"description": "A block that displays a taxonomy field, allowing searching, selection, and creation of new items",
	"keywords": [ "taxonomy"],
	"textdomain": "default",
	"attributes": {
		"slug": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"property": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"label": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"createTitle": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"dialogNameHelpText": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"parentTaxonomyText": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-taxonomy-field/editor-rtl.css000064400000017756151545121230016531 0ustar00/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/taxonomy/editor.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal {
  min-width: 650px;
  overflow: visible;
}
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal__optional {
  color: #757575;
}
.components-modal__screen-overlay .components-base-control {
  margin-bottom: 16px;
}
.components-modal__screen-overlay .components-base-control__field .components-base-control {
  margin-bottom: 0;
}
.components-modal__screen-overlay .has-error .components-text-control__input {
  border-color: #d63638;
}
.components-modal__screen-overlay .has-error .components-base-control__help {
  color: #d63638;
}
blocks/blocks/product-taxonomy-field/editor.css000064400000017756151545121230015732 0ustar00/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/taxonomy/editor.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal {
  min-width: 650px;
  overflow: visible;
}
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal__optional {
  color: #757575;
}
.components-modal__screen-overlay .components-base-control {
  margin-bottom: 16px;
}
.components-modal__screen-overlay .components-base-control__field .components-base-control {
  margin-bottom: 0;
}
.components-modal__screen-overlay .has-error .components-text-control__input {
  border-color: #d63638;
}
.components-modal__screen-overlay .has-error .components-base-control__help {
  color: #d63638;
}
blocks/blocks/product-toggle-field/block.json000064400000001345151545121230015305 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-toggle-field",
	"title": "Product toggle control",
	"category": "woocommerce",
	"description": "The product toggle.",
	"keywords": [ "products", "radio", "input" ],
	"textdomain": "default",
	"attributes": {
		"label": {
			"type": "string",
			"__experimentalRole": "content"
		},
		"property": {
			"type": "string"
		},
		"disabled": {
			"type": "boolean",
			"default": false
		},
		"disabledCopy": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": true,
		"reusable": true,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	}
}
blocks/blocks/product-variation-items-field/block.json000064400000001221151545121230017130 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-variation-items-field",
	"title": "Product variations items",
	"category": "woocommerce",
	"description": "The product variations items.",
	"keywords": [ "products", "variations" ],
	"textdomain": "default",
	"attributes": {
		"description": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"usesContext": [ "isInSelectedTab" ],
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-variation-items-field/editor-rtl.css000064400000017060151545121230017752 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/variation-items/editor.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
@media (min-width: 782px) {
  .wp-block-woocommerce-product-variation-items-field {
    min-height: 420px;
  }
}

.variation-items-product-tour .tour-kit-spotlight {
  border-radius: 8px;
  padding: 24px;
}
.variation-items-product-tour .tour-kit-frame__container,
.variation-items-product-tour .woocommerce-tour-kit-step {
  border-radius: 8px;
}
blocks/blocks/product-variation-items-field/editor.css000064400000017060151545121230017153 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/variation-items/editor.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
@media (min-width: 782px) {
  .wp-block-woocommerce-product-variation-items-field {
    min-height: 420px;
  }
}

.variation-items-product-tour .tour-kit-spotlight {
  border-radius: 8px;
  padding: 24px;
}
.variation-items-product-tour .tour-kit-frame__container,
.variation-items-product-tour .woocommerce-tour-kit-step {
  border-radius: 8px;
}
blocks/blocks/product-variations-fields/block.json000064400000001141151545121230016360 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-variations-fields",
	"title": "Product variations fields",
	"category": "woocommerce",
	"description": "The product variations.",
	"keywords": [ "products", "variations" ],
	"textdomain": "default",
	"attributes": {
		"description": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-variations-fields/editor-rtl.css000064400000017663151545121230017212 0ustar00/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/variations/editor.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-variations-fields {
  margin-top: 64px;
}
.wp-block-woocommerce-product-variations-fields--has-attributes .wp-block-woocommerce-product-variations-fields__heading {
  display: none;
}
.wp-block-woocommerce-product-variations-fields--has-attributes .wp-block-woocommerce-product-variations-fields__content {
  display: block;
}
.wp-block-woocommerce-product-variations-fields__heading {
  text-align: center;
}
.wp-block-woocommerce-product-variations-fields__heading-image-container {
  padding-top: 48px;
  padding-bottom: 48px;
}
.wp-block-woocommerce-product-variations-fields__heading-description {
  margin: 0;
  padding-bottom: 24px;
}
.wp-block-woocommerce-product-variations-fields__content {
  display: none;
}
blocks/blocks/product-variations-fields/editor.css000064400000017663151545121230016413 0ustar00/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/variations/editor.scss ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-variations-fields {
  margin-top: 64px;
}
.wp-block-woocommerce-product-variations-fields--has-attributes .wp-block-woocommerce-product-variations-fields__heading {
  display: none;
}
.wp-block-woocommerce-product-variations-fields--has-attributes .wp-block-woocommerce-product-variations-fields__content {
  display: block;
}
.wp-block-woocommerce-product-variations-fields__heading {
  text-align: center;
}
.wp-block-woocommerce-product-variations-fields__heading-image-container {
  padding-top: 48px;
  padding-bottom: 48px;
}
.wp-block-woocommerce-product-variations-fields__heading-description {
  margin: 0;
  padding-bottom: 24px;
}
.wp-block-woocommerce-product-variations-fields__content {
  display: none;
}
blocks/blocks/product-variations-options-field/block.json000064400000001161151545121230017670 0ustar00{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 2,
	"name": "woocommerce/product-variations-options-field",
	"title": "Product variations options",
	"category": "woocommerce",
	"description": "The product variations options.",
	"keywords": [ "products", "variations" ],
	"textdomain": "default",
	"attributes": {
		"description": {
			"type": "string",
			"__experimentalRole": "content"
		}
	},
	"supports": {
		"align": false,
		"html": false,
		"multiple": false,
		"reusable": false,
		"inserter": false,
		"lock": false,
		"__experimentalToolbar": false
	},
	"editorStyle": "file:./editor.css"
}
blocks/blocks/product-variations-options-field/editor-rtl.css000064400000017433151545121230020513 0ustar00/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/variation-options/editor.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable {
  padding: 0;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable__item:not(:last-child) .woocommerce-list-item {
  border-bottom: 1px solid #e0e0e0;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-list-item {
  background: none;
  border: none;
  padding-right: 0;
  -ms-grid-columns: 26% auto 90px;
  grid-template-columns: 26% auto 90px;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable__handle {
  display: none;
}
blocks/blocks/product-variations-options-field/editor.css000064400000017432151545121230017713 0ustar00/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/blocks/variation-options/editor.scss ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable {
  padding: 0;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable__item:not(:last-child) .woocommerce-list-item {
  border-bottom: 1px solid #e0e0e0;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-list-item {
  background: none;
  border: none;
  padding-left: 0;
  -ms-grid-columns: 26% auto 90px;
  grid-template-columns: 26% auto 90px;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable__handle {
  display: none;
}
blocks/catalog-visibility/block.json000064400000001617151545121230013611 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-catalog-visibility-field",
    "description": "A checkbox to manage the catalog visibility of the product.",
    "title": "Product catalog visibility",
    "category": "widgets",
    "keywords": ["products", "catalog"],
    "textdomain": "default",
    "attributes": {
        "label": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "visibility": {
            "type": "string",
            "enum": ["visible", "catalog", "search", "hidden"],
            "default": "visible"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/catalog-visibility/edit.js000064400000001440151545121230013101 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const block_editor_1=require("@wordpress/block-editor"),components_1=require("@wordpress/components"),core_data_1=require("@wordpress/core-data"),element_1=require("@wordpress/element");function Edit({attributes:e}){const{label:t,visibility:o}=e,r=(0,block_editor_1.useBlockProps)(),[i,s]=(0,core_data_1.useEntityProp)("postType","product","catalog_visibility"),d=i===o||"hidden"===i;return(0,element_1.createElement)("div",{...r},(0,element_1.createElement)(components_1.CheckboxControl,{label:t,checked:d,onChange:function(e){if(e){if("visible"===i)return void s(o);s("hidden")}else{if("hidden"===i)return"catalog"===o?void s("search"):"search"===o?void s("catalog"):void 0;s("visible")}}}))}exports.Edit=Edit;blocks/catalog-visibility/index.js000064400000001136151545121230013265 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/catalog-visibility/types.js000064400000000104151545121230013314 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/checkbox/block.json000064400000001576151545121230011604 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-checkbox-field",
    "title": "Product checkbox control",
    "category": "woocommerce",
    "description": "The product checkbox.",
    "keywords": ["products", "checkbox", "input"],
    "textdomain": "default",
    "attributes": {
        "title": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "label": {
            "type": "string"
        },
        "property": {
            "type": "string"
        },
        "tooltip": {
            "type": "string"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/checkbox/edit.js000064400000002260151545121230011071 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const element_1=require("@wordpress/element"),components_1=require("@wordpress/components"),block_editor_1=require("@wordpress/block-editor"),core_data_1=require("@wordpress/core-data"),icons_1=require("@wordpress/icons");function Edit({attributes:e}){const o=(0,block_editor_1.useBlockProps)({className:"woocommerce-product-form__checkbox"}),{property:t,title:r,label:c,tooltip:n}=e,[l,s]=(0,core_data_1.useEntityProp)("postType","product",t);return(0,element_1.createElement)("div",{...o},(0,element_1.createElement)("h4",null,r),(0,element_1.createElement)("div",{className:"woocommerce-product-form__checkbox-wrapper"},(0,element_1.createElement)(components_1.CheckboxControl,{label:c,checked:l,onChange:e=>s(e)}),n&&(0,element_1.createElement)(components_1.Tooltip,{text:(0,element_1.createElement)("span",null,n),position:"top center",className:"woocommerce-product-form__checkbox-tooltip",delay:0},(0,element_1.createElement)("span",{className:"woocommerce-product-form__checkbox-tooltip-icon"},(0,element_1.createElement)(icons_1.Icon,{icon:icons_1.help,size:21.94,fill:"#949494"})))))}exports.Edit=Edit;blocks/checkbox/index.js000064400000001127151545121230011254 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,init_block_1.initBlock)({name,metadata,settings:exports.settings});exports.init=init;blocks/collapsible/block.json000064400000001374151545121230012303 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-collapsible",
    "title": "Collapsible",
    "category": "widgets",
    "description": "Container with collapsible inner blocks.",
    "textdomain": "default",
    "attributes": {
        "toggleText": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "initialCollapsed": {
            "type": "boolean"
        },
        "persistRender": {
            "type": "boolean"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    }
}
blocks/collapsible/edit.js000064400000001146151545121230011576 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const components_1=require("@woocommerce/components"),element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor");function Edit({attributes:e}){const t=(0,block_editor_1.useBlockProps)(),{toggleText:o,initialCollapsed:r,persistRender:l=!0}=e;return(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(components_1.CollapsibleContent,{toggleText:o,initialCollapsed:r,persistRender:l},(0,element_1.createElement)(block_editor_1.InnerBlocks,{templateLock:"all"})))}exports.Edit=Edit;blocks/collapsible/index.js000064400000001135151545121230011756 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const utils_1=require("../../utils"),block_json_1=__importDefault(require("./block.json"));exports.metadata=block_json_1.default;const edit_1=require("./edit"),{name}=block_json_1.default;exports.name=name,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,utils_1.initBlock)({name,metadata:block_json_1.default,settings:exports.settings});exports.init=init;blocks/conditional/block.json000064400000001325151545121230012311 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/conditional",
    "title": "Conditional",
    "category": "widgets",
    "description": "Container to only conditionally render inner blocks.",
    "textdomain": "default",
    "attributes": {
        "mustMatch": {
            "__experimentalRole": "content",
            "type": "array",
            "items": {
                "type": "object"
            },
            "default": []
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    }
}
blocks/conditional/edit.js000064400000001565151545121230011615 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor"),data_1=require("@wordpress/data"),components_1=require("@woocommerce/components"),core_data_1=require("@wordpress/core-data");function Edit({attributes:e}){const t=(0,block_editor_1.useBlockProps)(),{mustMatch:r}=e,o=(0,core_data_1.useEntityId)("postType","product"),s=(0,data_1.useSelect)((e=>e("core").getEditedEntityRecord("postType","product",o))),c=(0,element_1.useMemo)((()=>{for(const[e,t]of Object.entries(r))if(!t.includes(s[e]))return!1;return!0}),[r,s]);return(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(components_1.DisplayState,{state:c?"visible":"visually-hidden"},(0,element_1.createElement)(block_editor_1.InnerBlocks,{templateLock:"all"})))}exports.Edit=Edit;blocks/conditional/index.js000064400000001135151545121230011770 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const utils_1=require("../../utils"),block_json_1=__importDefault(require("./block.json"));exports.metadata=block_json_1.default;const edit_1=require("./edit"),{name}=block_json_1.default;exports.name=name,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,utils_1.initBlock)({name,metadata:block_json_1.default,settings:exports.settings});exports.init=init;blocks/description/block.json000064400000001247151545121230012334 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-description-field",
    "title": "Product description",
    "category": "woocommerce",
    "description": "The product description.",
    "keywords": ["products", "description"],
    "textdomain": "default",
    "attributes": {
        "__contentEditable": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    }
}
blocks/description/edit.js000064400000002641151545121230011631 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const i18n_1=require("@wordpress/i18n"),element_1=require("@wordpress/element"),blocks_1=require("@wordpress/blocks"),components_1=require("@wordpress/components"),tracks_1=require("@woocommerce/tracks"),block_editor_1=require("@wordpress/block-editor"),core_data_1=require("@wordpress/core-data"),content_preview_1=require("../../components/content-preview"),modal_editor_1=require("../../components/modal-editor");function clearDescriptionIfEmpty(e){if(1===e.length){const{content:t}=e[0].attributes;if(!t||!t.trim())return[]}return e}function Edit(){const e=(0,block_editor_1.useBlockProps)(),[t,o]=(0,element_1.useState)(!1),[r,n]=(0,core_data_1.useEntityProp)("postType","product","description");return(0,element_1.createElement)("div",{...e},(0,element_1.createElement)(components_1.Button,{variant:"secondary",onClick:()=>{o(!0),(0,tracks_1.recordEvent)("product_add_description_click")}},r.length?(0,i18n_1.__)("Edit description","woocommerce"):(0,i18n_1.__)("Add description","woocommerce")),t&&(0,element_1.createElement)(modal_editor_1.ModalEditor,{initialBlocks:(0,blocks_1.parse)(r),onChange:e=>{const t=(0,blocks_1.serialize)(clearDescriptionIfEmpty(e));n(t)},onClose:()=>o(!1),title:(0,i18n_1.__)("Edit description","woocommerce")}),!!r.length&&(0,element_1.createElement)(content_preview_1.ContentPreview,{content:r}))}exports.Edit=Edit;blocks/description/index.js000064400000001127151545121230012011 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,init_block_1.initBlock)({name,metadata,settings:exports.settings});exports.init=init;blocks/images/block.json000064400000001614151545121230011254 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-images-field",
    "title": "Product images",
    "category": "widgets",
    "description": "The product images.",
    "keywords": ["products", "image", "images", "gallery"],
    "textdomain": "default",
    "attributes": {
        "mediaId": {
            "type": "number",
            "__experimentalRole": "content"
        },
        "images": {
            "__experimentalRole": "content",
            "type": "array",
            "items": {
                "type": "number"
            },
            "default": []
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/images/edit.js000064400000006006151545121230010552 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const i18n_1=require("@wordpress/i18n"),components_1=require("@wordpress/components"),classnames_1=__importDefault(require("classnames")),element_1=require("@wordpress/element"),icons_1=require("@wordpress/icons"),components_2=require("@woocommerce/components"),tracks_1=require("@woocommerce/tracks"),block_editor_1=require("@wordpress/block-editor"),core_data_1=require("@wordpress/core-data");function Edit(){const[e,r]=(0,core_data_1.useEntityProp)("postType","product","images"),[o,t]=(0,element_1.useState)(!1),[a,n]=(0,element_1.useState)(!1),[c,_]=(0,element_1.useState)(null),i=(0,block_editor_1.useBlockProps)({className:(0,classnames_1.default)({"has-images":e.length>0})}),l=()=>{t(!o)};return(0,element_1.createElement)("div",{...i},(0,element_1.createElement)("div",{className:"woocommerce-product-form__image-drop-zone"},o?(0,element_1.createElement)("div",{className:"woocommerce-product-form__remove-image-drop-zone"},(0,element_1.createElement)("span",null,(0,element_1.createElement)(icons_1.Icon,{icon:icons_1.trash,size:20,className:"icon-control"}),(0,i18n_1.__)("Drop here to remove","woocommerce")),(0,element_1.createElement)(components_1.DropZone,{onHTMLDrop:()=>n(!0),onDrop:()=>n(!0),label:(0,i18n_1.__)("Drop here to remove","woocommerce")})):(0,element_1.createElement)(components_2.MediaUploader,{multipleSelect:"add",onError:()=>null,onFileUploadChange:o=>{o[0].id&&((0,tracks_1.recordEvent)("product_images_add_via_file_upload_area"),r([...e,...o]))},onMediaGalleryOpen:()=>{(0,tracks_1.recordEvent)("product_images_media_gallery_open")},onSelect:o=>{const t=o.filter((r=>!e.find((e=>e.id===r.id))));t.length>0&&((0,tracks_1.recordEvent)("product_images_add_via_media_library"),r([...e,...t]))},onUpload:o=>{o[0].id&&((0,tracks_1.recordEvent)("product_images_add_via_drag_and_drop_upload"),r([...e,...o]))},label:""})),(0,element_1.createElement)(components_2.ImageGallery,{allowDragging:!1,onDragStart:r=>{var o;const{id:t,dataset:a}=r.target;if(t)_(parseInt(t,10));else{const r=null==a?void 0:a.index;r&&_(null===(o=e[parseInt(r,10)])||void 0===o?void 0:o.id)}l()},onDragEnd:()=>{a&&c&&((0,tracks_1.recordEvent)("product_images_remove_image_button_click"),r(e.filter((e=>e.id!==c))),n(!1),_(null)),l()},onOrderChange:o=>{const t=o.map((r=>e.find((e=>{var o;return e.id===parseInt(null===(o=null==r?void 0:r.props)||void 0===o?void 0:o.id,10)}))));(0,tracks_1.recordEvent)("product_images_change_image_order_via_image_gallery"),r(t)},onReplace:({replaceIndex:o,media:t})=>{if(void 0===e.find((e=>t.id===e.id))){const a=[...e];a[o]=t,(0,tracks_1.recordEvent)("product_images_replace_image_button_click"),r(a)}},onSelectAsCover:()=>(0,tracks_1.recordEvent)("product_images_select_image_as_cover_button_click")},e.map((e=>(0,element_1.createElement)(components_2.ImageGalleryItem,{key:e.id||e.url,alt:e.alt,src:e.url||e.src,id:`${e.id}`})))))}exports.Edit=Edit;blocks/images/index.js000064400000001135151545121230010732 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const utils_1=require("../../utils"),block_json_1=__importDefault(require("./block.json"));exports.metadata=block_json_1.default;const edit_1=require("./edit"),{name}=block_json_1.default;exports.name=name,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,utils_1.initBlock)({name,metadata:block_json_1.default,settings:exports.settings});exports.init=init;blocks/index.js000064400000011556151545121230007475 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.initTaxonomy=exports.initNotice=exports.initVariationOptions=exports.initVariationItems=exports.initRequirePassword=exports.initVariations=exports.attributesInit=exports.initToggle=exports.initInventoryQuantity=exports.initTag=exports.initTab=exports.initSummary=exports.initShippingDimensions=exports.initShippingClass=exports.initSection=exports.initScheduleSale=exports.initSalePrice=exports.initRegularPrice=exports.initRadio=exports.initPricing=exports.initName=exports.initSku=exports.initLowStockQty=exports.initImages=exports.initDescription=exports.initConditional=exports.initCollapsible=exports.initCheckbox=exports.initCatalogVisibility=void 0;var catalog_visibility_1=require("./catalog-visibility");Object.defineProperty(exports,"initCatalogVisibility",{enumerable:!0,get:function(){return catalog_visibility_1.init}});var checkbox_1=require("./checkbox");Object.defineProperty(exports,"initCheckbox",{enumerable:!0,get:function(){return checkbox_1.init}});var collapsible_1=require("./collapsible");Object.defineProperty(exports,"initCollapsible",{enumerable:!0,get:function(){return collapsible_1.init}});var conditional_1=require("./conditional");Object.defineProperty(exports,"initConditional",{enumerable:!0,get:function(){return conditional_1.init}});var description_1=require("./description");Object.defineProperty(exports,"initDescription",{enumerable:!0,get:function(){return description_1.init}});var images_1=require("./images");Object.defineProperty(exports,"initImages",{enumerable:!0,get:function(){return images_1.init}});var inventory_email_1=require("./inventory-email");Object.defineProperty(exports,"initLowStockQty",{enumerable:!0,get:function(){return inventory_email_1.init}});var inventory_sku_1=require("./inventory-sku");Object.defineProperty(exports,"initSku",{enumerable:!0,get:function(){return inventory_sku_1.init}});var name_1=require("./name");Object.defineProperty(exports,"initName",{enumerable:!0,get:function(){return name_1.init}});var pricing_1=require("./pricing");Object.defineProperty(exports,"initPricing",{enumerable:!0,get:function(){return pricing_1.init}});var radio_1=require("./radio");Object.defineProperty(exports,"initRadio",{enumerable:!0,get:function(){return radio_1.init}});var regular_price_1=require("./regular-price");Object.defineProperty(exports,"initRegularPrice",{enumerable:!0,get:function(){return regular_price_1.init}});var sale_price_1=require("./sale-price");Object.defineProperty(exports,"initSalePrice",{enumerable:!0,get:function(){return sale_price_1.init}});var schedule_sale_1=require("./schedule-sale");Object.defineProperty(exports,"initScheduleSale",{enumerable:!0,get:function(){return schedule_sale_1.init}});var section_1=require("./section");Object.defineProperty(exports,"initSection",{enumerable:!0,get:function(){return section_1.init}});var shipping_class_1=require("./shipping-class");Object.defineProperty(exports,"initShippingClass",{enumerable:!0,get:function(){return shipping_class_1.init}});var shipping_dimensions_1=require("./shipping-dimensions");Object.defineProperty(exports,"initShippingDimensions",{enumerable:!0,get:function(){return shipping_dimensions_1.init}});var summary_1=require("./summary");Object.defineProperty(exports,"initSummary",{enumerable:!0,get:function(){return summary_1.init}});var tab_1=require("./tab");Object.defineProperty(exports,"initTab",{enumerable:!0,get:function(){return tab_1.init}});var tag_1=require("./tag");Object.defineProperty(exports,"initTag",{enumerable:!0,get:function(){return tag_1.init}});var inventory_quantity_1=require("./inventory-quantity");Object.defineProperty(exports,"initInventoryQuantity",{enumerable:!0,get:function(){return inventory_quantity_1.init}});var toggle_1=require("./toggle");Object.defineProperty(exports,"initToggle",{enumerable:!0,get:function(){return toggle_1.init}});var attributes_1=require("./attributes");Object.defineProperty(exports,"attributesInit",{enumerable:!0,get:function(){return attributes_1.init}});var variations_1=require("./variations");Object.defineProperty(exports,"initVariations",{enumerable:!0,get:function(){return variations_1.init}});var password_1=require("./password");Object.defineProperty(exports,"initRequirePassword",{enumerable:!0,get:function(){return password_1.init}});var variation_items_1=require("./variation-items");Object.defineProperty(exports,"initVariationItems",{enumerable:!0,get:function(){return variation_items_1.init}});var variation_options_1=require("./variation-options");Object.defineProperty(exports,"initVariationOptions",{enumerable:!0,get:function(){return variation_options_1.init}});var notice_1=require("./notice");Object.defineProperty(exports,"initNotice",{enumerable:!0,get:function(){return notice_1.init}});var taxonomy_1=require("./taxonomy");Object.defineProperty(exports,"initTaxonomy",{enumerable:!0,get:function(){return taxonomy_1.init}});blocks/inventory-email/block.json000064400000001341151545121230013126 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-inventory-email-field",
    "title": "Stock level threshold",
    "category": "widgets",
    "description": "Stock management minimum quantity.",
    "keywords": ["products", "inventory", "email", "minimum"],
    "textdomain": "default",
    "attributes": {
        "name": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/inventory-email/edit.js000064400000003751151545121230012433 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const i18n_1=require("@wordpress/i18n"),components_1=require("@woocommerce/components"),element_1=require("@wordpress/element"),settings_1=require("@woocommerce/settings"),block_editor_1=require("@wordpress/block-editor"),compose_1=require("@wordpress/compose"),components_2=require("@wordpress/components"),core_data_1=require("@wordpress/core-data"),validation_context_1=require("../../contexts/validation-context");function Edit({clientId:e}){const t=(0,block_editor_1.useBlockProps)(),o=(0,settings_1.getSetting)("notifyLowStockAmount",2),[n,r]=(0,core_data_1.useEntityProp)("postType","product","low_stock_amount"),s=(0,compose_1.useInstanceId)(components_2.BaseControl,"low_stock_amount"),{ref:c,error:i,validate:l}=(0,validation_context_1.useValidation)(`low_stock_amount-${e}`,(async function(){if(n&&n<0)return(0,i18n_1.__)("This field must be a positive number.","woocommerce")}),[n]);return(0,element_1.createElement)(element_1.Fragment,null,(0,element_1.createElement)("div",{...t},(0,element_1.createElement)("div",{className:"wp-block-columns"},(0,element_1.createElement)("div",{className:"wp-block-column"},(0,element_1.createElement)(components_2.BaseControl,{id:s,label:(0,i18n_1.__)("Email me when stock reaches","woocommerce"),help:i||(0,element_1.createInterpolateElement)((0,i18n_1.__)("Make sure to enable notifications in <link>store settings.</link>","woocommerce"),{link:(0,element_1.createElement)(components_1.Link,{href:`${(0,settings_1.getSetting)("adminUrl")}admin.php?page=wc-settings&tab=products&section=inventory`,target:"_blank",type:"external"})}),className:i&&"has-error"},(0,element_1.createElement)(components_2.__experimentalInputControl,{id:s,ref:c,name:"low_stock_amount",placeholder:(0,i18n_1.sprintf)((0,i18n_1.__)("%d (store default)","woocommerce"),o),onChange:r,onBlur:l,value:n,type:"number",min:0}))),(0,element_1.createElement)("div",{className:"wp-block-column"}))))}exports.Edit=Edit;blocks/inventory-email/index.js000064400000001136151545121240012611 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/inventory-email/types.js000064400000000104151545121240012640 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/inventory-quantity/block.json000064400000001354151545121240013722 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-inventory-quantity-field",
    "title": "Product inventory quantity available",
    "category": "woocommerce",
    "description": "The product available quantity.",
    "keywords": ["products", "quantity", "inventory"],
    "textdomain": "default",
    "attributes": {
        "name": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/inventory-quantity/edit.js000064400000003016151545121240013215 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const block_editor_1=require("@wordpress/block-editor"),compose_1=require("@wordpress/compose"),core_data_1=require("@wordpress/core-data"),element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),components_1=require("@wordpress/components"),validation_context_1=require("../../contexts/validation-context");function Edit({clientId:e}){const t=(0,block_editor_1.useBlockProps)(),[o]=(0,core_data_1.useEntityProp)("postType","product","manage_stock"),[n,r]=(0,core_data_1.useEntityProp)("postType","product","stock_quantity"),c=(0,compose_1.useInstanceId)(components_1.BaseControl,"product_stock_quantity"),{ref:s,error:a,validate:i}=(0,validation_context_1.useValidation)(`stock_quantity-${e}`,(async function(){if(o&&n&&n<0)return(0,i18n_1.__)("Stock quantity must be a positive number.","woocommerce")}),[o,n]);return(0,element_1.useEffect)((()=>{o&&null===n&&r(1)}),[o,n]),(0,element_1.createElement)("div",{...t},(0,element_1.createElement)("div",{className:"wp-block-columns"},(0,element_1.createElement)("div",{className:"wp-block-column"},(0,element_1.createElement)(components_1.BaseControl,{id:c,className:a&&"has-error",help:null!=a?a:""},(0,element_1.createElement)(components_1.__experimentalInputControl,{id:c,name:"stock_quantity",ref:s,label:(0,i18n_1.__)("Available quantity","woocommerce"),value:n,onChange:r,onBlur:i,type:"number",min:0}))),(0,element_1.createElement)("div",{className:"wp-block-column"})))}exports.Edit=Edit;blocks/inventory-quantity/index.js000064400000001136151545121240013400 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/inventory-quantity/types.js000064400000000104151545121240013427 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/inventory-sku/block.json000064400000001253151545121240012644 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-sku-field",
    "title": "Product text control",
    "category": "woocommerce",
    "description": "The product sku.",
    "keywords": ["products", "sku"],
    "textdomain": "default",
    "attributes": {
        "name": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/inventory-sku/edit.js000064400000001750151545121240012144 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const i18n_1=require("@wordpress/i18n"),element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor"),components_1=require("@wordpress/components"),core_data_1=require("@wordpress/core-data");function Edit(){const e=(0,block_editor_1.useBlockProps)(),[o,t]=(0,core_data_1.useEntityProp)("postType","product","sku");return(0,element_1.createElement)("div",{...e},(0,element_1.createElement)(components_1.BaseControl,{id:"product_sku",className:"woocommerce-product-form_inventory-sku",label:(0,element_1.createInterpolateElement)((0,i18n_1.__)("Sku <description />","woocommerce"),{description:(0,element_1.createElement)("span",{className:"woocommerce-product-form__optional-input"},(0,i18n_1.__)("(STOCK KEEPING UNIT)","woocommerce"))})},(0,element_1.createElement)(components_1.__experimentalInputControl,{name:"woocommerce-product-sku",onChange:t,value:o||""})))}exports.Edit=Edit;blocks/inventory-sku/index.js000064400000001127151545121240012324 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,init_block_1.initBlock)({name,metadata,settings:exports.settings});exports.init=init;blocks/name/block.json000064400000001412151545121240010724 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-name-field",
    "title": "Product name",
    "category": "widgets",
    "description": "The product name.",
    "keywords": ["products", "name", "title"],
    "textdomain": "default",
    "attributes": {
        "name": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "autoFocus": {
            "type": "boolean",
            "default": false
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/name/edit.js000064400000007000151545121240010221 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const i18n_1=require("@wordpress/i18n"),element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor"),compose_1=require("@wordpress/compose"),url_1=require("@wordpress/url"),data_1=require("@wordpress/data"),data_2=require("@woocommerce/data"),classnames_1=__importDefault(require("classnames")),components_1=require("@wordpress/components"),core_data_1=require("@wordpress/core-data"),utils_1=require("../../utils"),edit_product_link_modal_1=require("../../components/edit-product-link-modal"),validation_context_1=require("../../contexts/validation-context"),use_product_edits_1=require("../../hooks/use-product-edits");function Edit({attributes:e}){const t=(0,block_editor_1.useBlockProps)(),{editEntityRecord:r,saveEntityRecord:o}=(0,data_1.useDispatch)("core"),{hasEdit:n}=(0,use_product_edits_1.useProductEdits)(),[a,i]=(0,element_1.useState)(!1),s=(0,core_data_1.useEntityId)("postType","product"),l=(0,data_1.useSelect)((e=>e("core").getEditedEntityRecord("postType","product",s))),[c,_]=(0,core_data_1.useEntityProp)("postType","product","sku"),[u,d]=(0,core_data_1.useEntityProp)("postType","product","name"),{permalinkPrefix:m,permalinkSuffix:p}=(0,data_1.useSelect)((e=>{const{getPermalinkParts:t}=e(data_2.PRODUCTS_STORE_NAME);if(s){const e=t(s);return{permalinkPrefix:null==e?void 0:e.prefix,permalinkSuffix:null==e?void 0:e.suffix}}return{}})),{ref:f,error:E,validate:k}=(0,validation_context_1.useValidation)("name",(async function(){return u&&u!==utils_1.AUTO_DRAFT_NAME?u.length>120?(0,i18n_1.__)("Please enter a product name shorter than 120 characters.","woocommerce"):void 0:(0,i18n_1.__)("This field is required.","woocommerce")}),[u]),w=null!=E?E:s&&["publish","draft"].includes(l.status)&&m&&(0,element_1.createElement)("span",{className:"woocommerce-product-form__secondary-text product-details-section__product-link"},(0,i18n_1.__)("Product link","woocommerce"),": ",(0,element_1.createElement)("a",{href:l.permalink,target:"_blank",rel:"noreferrer"},m,l.slug||(0,url_1.cleanForSlug)(u),p),(0,element_1.createElement)(components_1.Button,{variant:"link",onClick:()=>i(!0)},(0,i18n_1.__)("Edit","woocommerce"))),q=(0,compose_1.useInstanceId)(components_1.BaseControl,"product_name");return(0,element_1.createElement)(element_1.Fragment,null,(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(components_1.BaseControl,{id:q,label:(0,element_1.createInterpolateElement)((0,i18n_1.__)("Name <required />","woocommerce"),{required:(0,element_1.createElement)("span",{className:"woocommerce-product-form__required-input"},(0,i18n_1.__)("*","woocommerce"))}),className:(0,classnames_1.default)({"has-error":E}),help:w},(0,element_1.createElement)(components_1.__experimentalInputControl,{id:q,ref:f,name:"name",autoFocus:e.autoFocus,placeholder:(0,i18n_1.__)("e.g. 12 oz Coffee Mug","woocommerce"),onChange:d,value:u&&u!==utils_1.AUTO_DRAFT_NAME?u:"",autoComplete:"off","data-1p-ignore":!0,onBlur:()=>{n("name")&&(c||E||_((0,url_1.cleanForSlug)(u)),k())}})),a&&(0,element_1.createElement)(edit_product_link_modal_1.EditProductLinkModal,{permalinkPrefix:m||"",permalinkSuffix:p||"",product:l,onCancel:()=>i(!1),onSaved:()=>i(!1),saveHandler:async e=>{const{slug:t,permalink:n}=await o("postType","product",{id:l.id,slug:e});if(t&&n)return r("postType","product",l.id,{slug:t,permalink:n}),{slug:t,permalink:n}}})))}exports.Edit=Edit;blocks/name/index.js000064400000001135151545121240010406 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const utils_1=require("../../utils"),block_json_1=__importDefault(require("./block.json"));exports.metadata=block_json_1.default;const edit_1=require("./edit"),{name}=block_json_1.default;exports.name=name,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,utils_1.initBlock)({name,metadata:block_json_1.default,settings:exports.settings});exports.init=init;blocks/name/types.js000064400000000104151545121240010436 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/notice/block.json000064400000001534151545121240011272 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-has-variations-notice",
    "title": "Notice",
    "category": "woocommerce",
    "description": "Notice description",
    "keywords": ["products", "notice"],
    "textdomain": "default",
    "attributes": {
        "title": {
            "type": "string"
        },
        "content": {
            "type": "string"
        },
        "buttonText": {
            "type": "string"
        },
        "type": {
            "type": "string"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css",
    "templateLock": "contentOnly"
}
blocks/notice/edit.js000064400000001654151545121240010573 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const block_editor_1=require("@wordpress/block-editor"),element_1=require("@wordpress/element"),components_1=require("@wordpress/components"),navigation_1=require("@woocommerce/navigation"),core_data_1=require("@wordpress/core-data"),notice_1=require("../../components/notice"),utils_1=require("../../utils");function Edit({attributes:e}){const t=(0,block_editor_1.useBlockProps)(),{buttonText:o,content:r,title:i,type:n="info"}=e,[s]=(0,core_data_1.useEntityProp)("postType","product","attributes"),a=(0,utils_1.hasAttributesUsedForVariations)(s);return(0,element_1.createElement)("div",{...t},a&&(0,element_1.createElement)(notice_1.Notice,{content:r,title:i,type:n},(0,element_1.createElement)(components_1.Button,{isSecondary:!0,onClick:()=>(0,navigation_1.navigateTo)({url:(0,navigation_1.getNewPath)({tab:"variations"})})},o)))}exports.Edit=Edit;blocks/notice/index.js000064400000001130151545121240010742 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/password/block.json000064400000001334151545121240011651 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-password-field",
    "description": "A checkbox and an input to type a password to view a product.",
    "title": "Product password",
    "category": "widgets",
    "keywords": ["products", "password"],
    "textdomain": "default",
    "attributes": {
        "label": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/password/edit.js000064400000002045151545121240011147 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const block_editor_1=require("@wordpress/block-editor"),compose_1=require("@wordpress/compose"),core_data_1=require("@wordpress/core-data"),element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),components_1=require("@wordpress/components");function Edit({attributes:e}){const o=(0,block_editor_1.useBlockProps)(),{label:t}=e,[r,s]=(0,core_data_1.useEntityProp)("postType","product","post_password"),[n,c]=(0,element_1.useState)(Boolean(r)),l=(0,compose_1.useInstanceId)(components_1.BaseControl,"post_password");return(0,element_1.createElement)("div",{...o},(0,element_1.createElement)(components_1.CheckboxControl,{label:t,checked:n,className:"wp-block-woocommerce-product-password-fields__field",onChange:e=>{c(e),e||s("")}}),n&&(0,element_1.createElement)(components_1.BaseControl,{id:l,label:(0,i18n_1.__)("Password","woocommerce")},(0,element_1.createElement)(components_1.__experimentalInputControl,{id:l,value:r,onChange:s})))}exports.Edit=Edit;blocks/password/index.js000064400000001123151545121240011325 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={edit:edit_1.Edit},exports.init=init;blocks/password/types.js000064400000000104151545121240011360 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/pricing/block.json000064400000001472151545121240011445 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-pricing-field",
    "description": "A product price block with currency display.",
    "title": "Product pricing",
    "category": "widgets",
    "keywords": ["products", "price"],
    "textdomain": "default",
    "attributes": {
        "name": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "label": {
            "type": "string"
        },
        "help": {
            "type": "string"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/pricing/edit.js000064400000002564151545121240010746 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const components_1=require("@woocommerce/components"),navigation_1=require("@woocommerce/navigation"),tracks_1=require("@woocommerce/tracks"),block_editor_1=require("@wordpress/block-editor"),compose_1=require("@wordpress/compose"),core_data_1=require("@wordpress/core-data"),element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),components_2=require("@wordpress/components"),use_currency_input_props_1=require("../../hooks/use-currency-input-props");function Edit({attributes:e}){const r=(0,block_editor_1.useBlockProps)(),{name:o,label:t,help:n}=e,[c,i]=(0,core_data_1.useEntityProp)("postType","product",o),s=(0,use_currency_input_props_1.useCurrencyInputProps)({value:c,onChange:i}),p=n?(0,element_1.createInterpolateElement)(n,{PricingTab:(0,element_1.createElement)(components_1.Link,{href:(0,navigation_1.getNewPath)({tab:"pricing"}),onClick:()=>{(0,tracks_1.recordEvent)("product_pricing_help_click")}})}):null,_=(0,compose_1.useInstanceId)(components_2.BaseControl,"wp-block-woocommerce-product-pricing-field");return(0,element_1.createElement)("div",{...r},(0,element_1.createElement)(components_2.BaseControl,{id:_,help:p},(0,element_1.createElement)(components_2.__experimentalInputControl,{...s,id:_,name:o,label:t||(0,i18n_1.__)("Price","woocommerce")})))}exports.Edit=Edit;blocks/pricing/index.js000064400000001136151545121240011122 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/pricing/types.js000064400000000104151545121240011151 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/radio/block.json000064400000001661151545121240011110 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-radio-field",
    "title": "Product radio control",
    "category": "woocommerce",
    "description": "The product radio.",
    "keywords": ["products", "radio", "input"],
    "textdomain": "default",
    "attributes": {
        "title": {
            "type": "string"
        },
        "description": {
            "type": "string"
        },
        "property": {
            "type": "string"
        },
        "options": {
            "type": "array",
            "items": {
                "type": "object"
            },
            "default": [],
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    }
}
blocks/radio/edit.js000064400000001210151545121240010374 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor"),core_data_1=require("@wordpress/core-data"),radio_field_1=require("../../components/radio-field");function Edit({attributes:e}){const t=(0,block_editor_1.useBlockProps)(),{description:r,options:o,property:i,title:d}=e,[s,n]=(0,core_data_1.useEntityProp)("postType","product",i);return(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(radio_field_1.RadioField,{title:d,description:r,selected:s,options:o,onChange:e=>n(e||"")}))}exports.Edit=Edit;blocks/radio/index.js000064400000001136151545121240010565 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/radio/types.js000064400000000104151545121240010614 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/regular-price/block.json000064400000001414151545121240012547 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-regular-price-field",
    "description": "A product price block with currency display.",
    "title": "Product regular price",
    "category": "widgets",
    "keywords": ["products", "price"],
    "textdomain": "default",
    "attributes": {
        "label": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "help": {
            "type": "string"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/regular-price/edit.js000064400000004077151545121240012055 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const classnames_1=__importDefault(require("classnames")),components_1=require("@woocommerce/components"),navigation_1=require("@woocommerce/navigation"),tracks_1=require("@woocommerce/tracks"),block_editor_1=require("@wordpress/block-editor"),compose_1=require("@wordpress/compose"),core_data_1=require("@wordpress/core-data"),element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),components_2=require("@wordpress/components"),validation_context_1=require("../../contexts/validation-context"),use_currency_input_props_1=require("../../hooks/use-currency-input-props");function Edit({attributes:e,clientId:r}){const t=(0,block_editor_1.useBlockProps)(),{label:o,help:n}=e,[c,i]=(0,core_data_1.useEntityProp)("postType","product","regular_price"),[s]=(0,core_data_1.useEntityProp)("postType","product","sale_price"),a=(0,use_currency_input_props_1.useCurrencyInputProps)({value:c,onChange:i}),_=n?(0,element_1.createInterpolateElement)(n,{PricingTab:(0,element_1.createElement)(components_1.Link,{href:(0,navigation_1.getNewPath)({tab:"pricing"}),onClick:()=>{(0,tracks_1.recordEvent)("product_pricing_help_click")}})}):null,p=(0,compose_1.useInstanceId)(components_2.BaseControl,"wp-block-woocommerce-product-regular-price-field"),{ref:l,error:u,validate:m}=(0,validation_context_1.useValidation)(`regular_price-${r}`,(async function(){const e=Number.parseFloat(c);if(e){if(e<0)return(0,i18n_1.__)("List price must be greater than or equals to zero.","woocommerce");if(s&&e<=Number.parseFloat(s))return(0,i18n_1.__)("List price must be greater than the sale price.","woocommerce")}}),[c,s]);return(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(components_2.BaseControl,{id:p,help:u||_,className:(0,classnames_1.default)({"has-error":u})},(0,element_1.createElement)(components_2.__experimentalInputControl,{...a,id:p,name:"regular_price",ref:l,label:o,onBlur:m})))}exports.Edit=Edit;blocks/regular-price/index.js000064400000001136151545121240012230 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/regular-price/types.js000064400000000104151545121240012257 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/sale-price/block.json000064400000001406151545121240012033 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-sale-price-field",
    "description": "A product price block with currency display.",
    "title": "Product sale price",
    "category": "widgets",
    "keywords": ["products", "price"],
    "textdomain": "default",
    "attributes": {
        "label": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "help": {
            "type": "string"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/sale-price/edit.js000064400000003330151545121240011327 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const classnames_1=__importDefault(require("classnames")),block_editor_1=require("@wordpress/block-editor"),compose_1=require("@wordpress/compose"),core_data_1=require("@wordpress/core-data"),element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),components_1=require("@wordpress/components"),validation_context_1=require("../../contexts/validation-context"),use_currency_input_props_1=require("../../hooks/use-currency-input-props");function Edit({attributes:e,clientId:r}){const t=(0,block_editor_1.useBlockProps)(),{label:o,help:s}=e,[n]=(0,core_data_1.useEntityProp)("postType","product","regular_price"),[a,i]=(0,core_data_1.useEntityProp)("postType","product","sale_price"),c=(0,use_currency_input_props_1.useCurrencyInputProps)({value:a,onChange:i}),p=(0,compose_1.useInstanceId)(components_1.BaseControl,"wp-block-woocommerce-product-sale-price-field"),{ref:l,error:u,validate:_}=(0,validation_context_1.useValidation)(`sale-price-${r}`,(async function(){if(a){if(Number.parseFloat(a)<0)return(0,i18n_1.__)("Sale price must be greater than or equals to zero.","woocommerce");const e=Number.parseFloat(n);if(!e||e<=Number.parseFloat(a))return(0,i18n_1.__)("Sale price must be lower than the list price.","woocommerce")}}),[n,a]);return(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(components_1.BaseControl,{id:p,help:u||s,className:(0,classnames_1.default)({"has-error":u})},(0,element_1.createElement)(components_1.__experimentalInputControl,{...c,id:p,name:"sale_price",ref:l,label:o,onBlur:_})))}exports.Edit=Edit;blocks/sale-price/index.js000064400000001136151545121240011513 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/sale-price/types.js000064400000000104151545121240011542 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/schedule-sale/block.json000064400000001334151545121240012525 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-schedule-sale-fields",
    "title": "Product schedule sale fields",
    "category": "woocommerce",
    "description": "The product schedule sale fields.",
    "keywords": ["products", "schedule", "sale"],
    "textdomain": "default",
    "attributes": {
        "name": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/schedule-sale/edit.js000064400000006364151545121240012033 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const components_1=require("@woocommerce/components"),tracks_1=require("@woocommerce/tracks"),block_editor_1=require("@wordpress/block-editor"),components_2=require("@wordpress/components"),core_data_1=require("@wordpress/core-data"),element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),moment_1=__importDefault(require("moment")),date_1=require("@wordpress/date"),use_product_edits_1=require("../../hooks/use-product-edits"),validation_context_1=require("../../contexts/validation-context");function Edit({clientId:e}){const t=(0,block_editor_1.useBlockProps)(),{hasEdit:o}=(0,use_product_edits_1.useProductEdits)(),r=(0,date_1.getSettings)().formats.datetime,[a,n]=(0,element_1.useState)(!1),[_]=(0,core_data_1.useEntityProp)("postType","product","sale_price"),c=Number.parseFloat(_||"0")>0,[i,l]=(0,core_data_1.useEntityProp)("postType","product","date_on_sale_from_gmt"),[s,m]=(0,core_data_1.useEntityProp)("postType","product","date_on_sale_to_gmt"),d=(0,moment_1.default)().startOf("minute").toISOString();(0,element_1.useEffect)((()=>{o("sale_price")&&!c&&(n(!1),l(""),m(""))}),[c]),(0,element_1.useEffect)((()=>{(i||s)&&n(!0)}),[i,s]);const u=(0,moment_1.default)(i,moment_1.default.ISO_8601,!0),p=(0,moment_1.default)(s,moment_1.default.ISO_8601,!0),{ref:f,error:h,validate:w}=(0,validation_context_1.useValidation)(`date_on_sale_from_gmt-${e}`,(async function(){if(a&&i){if(!u.isValid())return(0,i18n_1.__)("Please enter a valid date.","woocommerce");if(u.isAfter(p))return(0,i18n_1.__)("The start date of the sale must be before the end date.","woocommerce")}}),[a,i,u,p]),{ref:E,error:b,validate:g}=(0,validation_context_1.useValidation)(`date_on_sale_to_gmt-${e}`,(async function(){if(a&&s){if(!p.isValid())return(0,i18n_1.__)("Please enter a valid date.","woocommerce");if(p.isBefore(u))return(0,i18n_1.__)("The end date of the sale must be after the start date.","woocommerce")}}),[a,i,u,p]);return(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(components_2.ToggleControl,{label:(0,i18n_1.__)("Schedule sale","woocommerce"),checked:a,onChange:function(e){(0,tracks_1.recordEvent)("product_pricing_schedule_sale_toggle_click",{enabled:e}),n(e),e?(l(d),m("")):(l(""),m(""))},disabled:!c}),a&&(0,element_1.createElement)("div",{className:"wp-block-columns wp-block-woocommerce-product-schedule-sale-fields__content"},(0,element_1.createElement)("div",{className:"wp-block-column"},(0,element_1.createElement)(components_1.DateTimePickerControl,{ref:f,label:(0,i18n_1.__)("From","woocommerce"),placeholder:(0,i18n_1.__)("Sale start date and time (optional)","woocommerce"),dateTimeFormat:r,currentDate:i,onChange:l,className:h&&"has-error",help:h,onBlur:w})),(0,element_1.createElement)("div",{className:"wp-block-column"},(0,element_1.createElement)(components_1.DateTimePickerControl,{ref:E,label:(0,i18n_1.__)("To","woocommerce"),placeholder:(0,i18n_1.__)("Sale end date and time (optional)","woocommerce"),dateTimeFormat:r,currentDate:s,onChange:e=>m((0,moment_1.default)(e).startOf("minute").toISOString()),onBlur:g,className:b&&"has-error",help:b}))))}exports.Edit=Edit;blocks/schedule-sale/index.js000064400000001136151545121240012205 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/schedule-sale/types.js000064400000000104151545121240012234 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/section/block.json000064400000001603151545121240011452 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-section",
    "title": "Product section",
    "category": "woocommerce",
    "description": "The product section.",
    "keywords": ["products", "section", "group"],
    "textdomain": "default",
    "attributes": {
        "title": {
            "type": "string"
        },
        "description": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "blockGap": {
            "type": "string",
            "enum": ["unit-30", "unit-40"],
            "default": "unit-30"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/section/edit.js000064400000002316151545121240010752 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const classnames_1=__importDefault(require("classnames")),element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor"),sanitize_html_1=require("../../utils/sanitize-html");function Edit({attributes:e}){const{description:t,title:o,blockGap:c}=e,l=(0,block_editor_1.useBlockProps)(),r=(0,block_editor_1.useInnerBlocksProps)({className:(0,classnames_1.default)("wp-block-woocommerce-product-section__content",`wp-block-woocommerce-product-section__content--block-gap-${c}`)},{templateLock:"all"}),s=o?"fieldset":"div",i="fieldset"===s?"legend":"div";return(0,element_1.createElement)(s,{...l},o&&(0,element_1.createElement)(i,{className:"wp-block-woocommerce-product-section__heading"},(0,element_1.createElement)("h2",{className:"wp-block-woocommerce-product-section__heading-title"},o),t&&(0,element_1.createElement)("p",{className:"wp-block-woocommerce-product-section__heading-description",dangerouslySetInnerHTML:(0,sanitize_html_1.sanitizeHTML)(t)})),(0,element_1.createElement)("div",{...r}))}exports.Edit=Edit;blocks/section/index.js000064400000001136151545121240011133 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/section/types.js000064400000000104151545121240011162 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/shipping-class/block.json000064400000001336151545121240012735 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-shipping-class-field",
    "title": "Product shipping class field",
    "category": "woocommerce",
    "description": "The product shipping class field.",
    "keywords": ["products", "shipping", "class"],
    "textdomain": "default",
    "attributes": {
        "title": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/shipping-class/edit.js000064400000006751151545121240012241 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=exports.DEFAULT_SHIPPING_CLASS_OPTIONS=void 0;const components_1=require("@woocommerce/components"),data_1=require("@woocommerce/data"),navigation_1=require("@woocommerce/navigation"),tracks_1=require("@woocommerce/tracks"),block_editor_1=require("@wordpress/block-editor"),components_2=require("@wordpress/components"),compose_1=require("@wordpress/compose"),data_2=require("@wordpress/data"),element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),core_data_1=require("@wordpress/core-data"),components_3=require("../../components"),constants_1=require("../../constants");function mapShippingClassToSelectOption(e){return e.map((({slug:e,name:t})=>({value:e,label:t})))}function extractDefaultShippingClassFromProduct(e,t){const s=null==e?void 0:e.find((({slug:e})=>"uncategorized"!==e));if(s&&!(null==t?void 0:t.some((({slug:e})=>e===s.slug))))return{name:s.name,slug:s.slug}}function Edit({}){const[e,t]=(0,element_1.useState)(!1),s=(0,block_editor_1.useBlockProps)(),{createProductShippingClass:o,invalidateResolution:n}=(0,data_2.useDispatch)(data_1.EXPERIMENTAL_PRODUCT_SHIPPING_CLASSES_STORE_NAME),{createErrorNotice:a}=(0,data_2.useDispatch)("core/notices"),[i]=(0,core_data_1.useEntityProp)("postType","product","categories"),[c,r]=(0,core_data_1.useEntityProp)("postType","product","shipping_class");function l(e){let t=(0,i18n_1.__)("We couldn’t add this shipping class. Try again in a few seconds.","woocommerce");throw"term_exists"===e.code&&(t=(0,i18n_1.__)("A shipping class with that slug already exists.","woocommerce")),a(t,{explicitDismiss:!0}),e}const{shippingClasses:_}=(0,data_2.useSelect)((e=>{var t;const{getProductShippingClasses:s}=e(data_1.EXPERIMENTAL_PRODUCT_SHIPPING_CLASSES_STORE_NAME);return{shippingClasses:null!==(t=s())&&void 0!==t?t:[]}}),[]),p=(0,compose_1.useInstanceId)(components_2.BaseControl,"wp-block-woocommerce-product-shipping-class-field");return(0,element_1.createElement)("div",{...s},(0,element_1.createElement)("div",{className:"wp-block-columns"},(0,element_1.createElement)("div",{className:"wp-block-column"},(0,element_1.createElement)(components_2.SelectControl,{id:p,name:"shipping_class",value:c,onChange:e=>{e!==constants_1.ADD_NEW_SHIPPING_CLASS_OPTION_VALUE?r(e):t(!0)},label:(0,i18n_1.__)("Shipping class","woocommerce"),options:[...exports.DEFAULT_SHIPPING_CLASS_OPTIONS,...mapShippingClassToSelectOption(null!=_?_:[])],help:(0,element_1.createInterpolateElement)((0,i18n_1.__)("Manage shipping classes and rates in <Link>global settings</Link>.","woocommerce"),{Link:(0,element_1.createElement)(components_1.Link,{href:(0,navigation_1.getNewPath)({tab:"shipping",section:"classes"},"",{},"wc-settings"),target:"_blank",type:"external",onClick:()=>{(0,tracks_1.recordEvent)("product_shipping_global_settings_link_click")}},(0,element_1.createElement)(element_1.Fragment,null))})})),(0,element_1.createElement)("div",{className:"wp-block-column"})),e&&(0,element_1.createElement)(components_3.AddNewShippingClassModal,{shippingClass:extractDefaultShippingClassFromProduct(i,_),onAdd:e=>o(e).then((e=>((0,tracks_1.recordEvent)("product_new_shipping_class_modal_add_button_click"),n("getProductShippingClasses"),r(e.slug),e))).catch(l),onCancel:()=>t(!1)}))}exports.DEFAULT_SHIPPING_CLASS_OPTIONS=[{value:"",label:(0,i18n_1.__)("No shipping class","woocommerce")},{value:constants_1.ADD_NEW_SHIPPING_CLASS_OPTION_VALUE,label:(0,i18n_1.__)("Add new shipping class","woocommerce")}],exports.Edit=Edit;blocks/shipping-class/index.js000064400000001136151545121240012413 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/shipping-class/types.js000064400000000104151545121240012442 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/shipping-dimensions/block.json000064400000001402151545121240013772 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-shipping-dimensions-fields",
    "title": "Product shipping dimensions fields",
    "category": "woocommerce",
    "description": "The product shipping dimensions fields.",
    "keywords": ["products", "shipping", "dimensions"],
    "textdomain": "default",
    "attributes": {
        "__contentEditable": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/shipping-dimensions/edit.js000064400000011567151545121240013305 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const block_editor_1=require("@wordpress/block-editor"),data_1=require("@woocommerce/data"),compose_1=require("@wordpress/compose"),core_data_1=require("@wordpress/core-data"),data_2=require("@wordpress/data"),element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),classnames_1=__importDefault(require("classnames")),components_1=require("@wordpress/components"),use_product_helper_1=require("../../hooks/use-product-helper"),shipping_dimensions_image_1=require("../../components/shipping-dimensions-image"),validation_context_1=require("../../contexts/validation-context");function Edit({clientId:e}){var n,t,o;const i=(0,block_editor_1.useBlockProps)(),[r,l]=(0,core_data_1.useEntityProp)("postType","product","dimensions"),[s,a]=(0,core_data_1.useEntityProp)("postType","product","weight"),[_,m]=(0,element_1.useState)(),{formatNumber:c,parseNumber:d}=(0,use_product_helper_1.useProductHelper)(),{dimensionUnit:u,weightUnit:p}=(0,data_2.useSelect)((e=>{const{getOption:n}=e(data_1.OPTIONS_STORE_NAME);return{dimensionUnit:n("woocommerce_dimension_unit"),weightUnit:n("woocommerce_weight_unit")}}),[]);function h(e,n){return{name:`dimensions.${e}`,value:r?c(String(r[e])):void 0,onChange:n=>l({...null!=r?r:{},[e]:d(n)}),onFocus:()=>m(n),onBlur:()=>m(void 0),suffix:u}}const{ref:g,error:v,validate:w}=(0,validation_context_1.useValidation)(`dimensions_width-${e}`,(async function(){if((null==r?void 0:r.width)&&+r.width<=0)return(0,i18n_1.__)("Width must be greater than zero.","woocommerce")}),[null==r?void 0:r.width]),{ref:f,error:E,validate:b}=(0,validation_context_1.useValidation)(`dimensions_length-${e}`,(async function(){if((null==r?void 0:r.length)&&+r.length<=0)return(0,i18n_1.__)("Length must be greater than zero.","woocommerce")}),[null==r?void 0:r.length]),{ref:I,error:B,validate:C}=(0,validation_context_1.useValidation)(`dimensions_height-${e}`,(async function(){if((null==r?void 0:r.height)&&+r.height<=0)return(0,i18n_1.__)("Height must be greater than zero.","woocommerce")}),[null==r?void 0:r.height]),{ref:x,error:S,validate:q}=(0,validation_context_1.useValidation)(`weight-${e}`,(async function(){if(s&&+s<=0)return(0,i18n_1.__)("Weight must be greater than zero.","woocommerce")}),[s]),N={...h("width","A"),id:(0,compose_1.useInstanceId)(components_1.BaseControl,"product_shipping_dimensions_width"),ref:g,onBlur:w},k={...h("length","B"),id:(0,compose_1.useInstanceId)(components_1.BaseControl,"product_shipping_dimensions_length"),ref:f,onBlur:b},y={...h("height","C"),id:(0,compose_1.useInstanceId)(components_1.BaseControl,"product_shipping_dimensions_height"),ref:I,onBlur:C},P={id:(0,compose_1.useInstanceId)(components_1.BaseControl,"product_shipping_weight"),name:"weight",value:c(String(s)),onChange:e=>a(d(e)),suffix:p,ref:x,onBlur:q};return(0,element_1.createElement)("div",{...i},(0,element_1.createElement)("h4",null,(0,i18n_1.__)("Dimensions","woocommerce")),(0,element_1.createElement)("div",{className:"wp-block-columns"},(0,element_1.createElement)("div",{className:"wp-block-column"},(0,element_1.createElement)(components_1.BaseControl,{id:N.id,label:(0,element_1.createInterpolateElement)((0,i18n_1.__)("Width <Side />","woocommerce"),{Side:(0,element_1.createElement)("span",null,"A")}),className:(0,classnames_1.default)({"has-error":v}),help:v},(0,element_1.createElement)(components_1.__experimentalInputControl,{...N})),(0,element_1.createElement)(components_1.BaseControl,{id:k.id,label:(0,element_1.createInterpolateElement)((0,i18n_1.__)("Length <Side />","woocommerce"),{Side:(0,element_1.createElement)("span",null,"B")}),className:(0,classnames_1.default)({"has-error":E}),help:E},(0,element_1.createElement)(components_1.__experimentalInputControl,{...k})),(0,element_1.createElement)(components_1.BaseControl,{id:y.id,label:(0,element_1.createInterpolateElement)((0,i18n_1.__)("Height <Side />","woocommerce"),{Side:(0,element_1.createElement)("span",null,"C")}),className:(0,classnames_1.default)({"has-error":B}),help:B},(0,element_1.createElement)(components_1.__experimentalInputControl,{...y})),(0,element_1.createElement)(components_1.BaseControl,{id:P.id,label:(0,i18n_1.__)("Weight","woocommerce"),className:(0,classnames_1.default)({"has-error":S}),help:S},(0,element_1.createElement)(components_1.__experimentalInputControl,{...P}))),(0,element_1.createElement)("div",{className:"wp-block-column"},(0,element_1.createElement)(shipping_dimensions_image_1.ShippingDimensionsImage,{highlight:_,className:"wp-block-woocommerce-product-shipping-dimensions-fields__dimensions-image",labels:{A:(null===(n=N.value)||void 0===n?void 0:n.length)?N.value:void 0,B:(null===(t=k.value)||void 0===t?void 0:t.length)?k.value:void 0,C:(null===(o=y.value)||void 0===o?void 0:o.length)?y.value:void 0}}))))}exports.Edit=Edit;blocks/shipping-dimensions/index.js000064400000001136151545121240013456 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/shipping-dimensions/types.js000064400000000104151545121240013505 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/summary/block.json000064400000002437151545121240011511 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-summary-field",
    "title": "Product summary",
    "category": "widgets",
    "description": "The product summary.",
    "keywords": ["products", "summary", "excerpt"],
    "textdomain": "default",
    "attributes": {
        "align": {
            "type": "string"
        },
        "allowedFormats": {
            "type": "array",
            "default": [
                "core/bold",
                "core/code",
                "core/italic",
                "core/link",
                "core/strikethrough",
                "core/underline",
                "core/text-color",
                "core/subscript",
                "core/superscript",
                "core/unknown"
            ]
        },
        "direction": {
            "type": "string",
            "enum": ["ltr", "rtl"]
        },
        "label": {
            "type": "string"
        },
        "content": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/summary/constants.js000064400000001115151545121240012066 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ALIGNMENT_CONTROLS=void 0;const i18n_1=require("@wordpress/i18n"),icons_1=require("@wordpress/icons");exports.ALIGNMENT_CONTROLS=[{icon:icons_1.alignLeft,title:(0,i18n_1.__)("Align text left","woocommerce"),align:"left"},{icon:icons_1.alignCenter,title:(0,i18n_1.__)("Align text center","woocommerce"),align:"center"},{icon:icons_1.alignRight,title:(0,i18n_1.__)("Align text right","woocommerce"),align:"right"},{icon:icons_1.alignJustify,title:(0,i18n_1.__)("Align text justify","woocommerce"),align:"justify"}];blocks/summary/edit.js000064400000004211151545121240010777 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const i18n_1=require("@wordpress/i18n"),element_1=require("@wordpress/element"),components_1=require("@wordpress/components"),data_1=require("@wordpress/data"),core_data_1=require("@wordpress/core-data"),compose_1=require("@wordpress/compose"),classnames_1=__importDefault(require("classnames")),block_editor_1=require("@wordpress/block-editor"),paragraph_rtl_control_1=require("./paragraph-rtl-control"),constants_1=require("./constants");function Edit({attributes:e,setAttributes:t}){const{align:o,allowedFormats:r,direction:n,label:a}=e,l=(0,block_editor_1.useBlockProps)({style:{direction:n}}),s=(0,compose_1.useInstanceId)(Edit,"wp-block-woocommerce-product-summary-field__content"),[c,i]=(0,core_data_1.useEntityProp)("postType","product","short_description"),{clearSelectedBlock:_}=(0,data_1.useDispatch)(block_editor_1.store);return(0,element_1.createElement)("div",{className:"wp-block wp-block-woocommerce-product-summary-field-wrapper"},(0,element_1.createElement)(block_editor_1.BlockControls,{group:"block"},(0,element_1.createElement)(block_editor_1.AlignmentControl,{alignmentControls:constants_1.ALIGNMENT_CONTROLS,value:o,onChange:function(e){t({align:e})}}),(0,element_1.createElement)(paragraph_rtl_control_1.ParagraphRTLControl,{direction:n,onChange:function(e){t({direction:e})}})),(0,element_1.createElement)(components_1.BaseControl,{id:s.toString(),label:a||(0,i18n_1.__)("Summary","woocommerce"),help:(0,i18n_1.__)("Summarize this product in 1-2 short sentences. We'll show it at the top of the page.","woocommerce")},(0,element_1.createElement)("div",{...l},(0,element_1.createElement)(block_editor_1.RichText,{id:s.toString(),identifier:"content",tagName:"p",value:c,onChange:i,"data-empty":Boolean(c),className:(0,classnames_1.default)("components-summary-control",{[`has-text-align-${o}`]:o}),dir:n,allowedFormats:r,onBlur:function(e){var t;(null===(t=e.relatedTarget)||void 0===t?void 0:t.closest(".block-editor-block-contextual-toolbar"))||_()}}))))}exports.Edit=Edit;blocks/summary/index.js000064400000001111151545121240011155 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.metadata=exports.name=void 0;const utils_1=require("../../utils"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,utils_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/summary/paragraph-rtl-control/index.js000064400000001201151545121240015377 0ustar00"use strict";var __createBinding=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,o)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),__exportStar=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||__createBinding(t,e,r)};Object.defineProperty(exports,"__esModule",{value:!0}),__exportStar(require("./paragraph-rtl-control"),exports),__exportStar(require("./types"),exports);blocks/summary/paragraph-rtl-control/paragraph-rtl-control.js000064400000001252151545121240020520 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ParagraphRTLControl=void 0;const element_1=require("@wordpress/element"),components_1=require("@wordpress/components"),i18n_1=require("@wordpress/i18n"),icons_1=require("@wordpress/icons");function ParagraphRTLControl({direction:e,onChange:r}){return(0,element_1.createElement)(element_1.Fragment,null,(0,i18n_1.isRTL)()&&(0,element_1.createElement)(components_1.ToolbarButton,{icon:icons_1.formatLtr,title:(0,i18n_1._x)("Left to right","editor button","woocommerce"),isActive:"ltr"===e,onClick:function(){"function"==typeof r&&r("ltr"===e?void 0:"ltr")}}))}exports.ParagraphRTLControl=ParagraphRTLControl;blocks/summary/paragraph-rtl-control/types.js000064400000000104151545121240015435 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/summary/types.js000064400000000104151545121240011213 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/tab/block.json000064400000001573151545121240010562 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-tab",
    "title": "Product tab",
    "category": "woocommerce",
    "description": "The product tab.",
    "keywords": ["products", "tab", "group"],
    "textdomain": "default",
    "attributes": {
        "id": {
            "type": "string"
        },
        "title": {
            "type": "string"
        },
        "order": {
            "type": "number"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "providesContext": {
        "isInSelectedTab": "isSelected"
    },
    "usesContext": ["selectedTab"],
    "editorStyle": "file:./editor.css",
    "templateLock": "contentOnly"
}
blocks/tab/edit.js000064400000002037151545121240010054 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const block_editor_1=require("@wordpress/block-editor"),classnames_1=__importDefault(require("classnames")),element_1=require("@wordpress/element"),tab_button_1=require("./tab-button");function Edit({setAttributes:e,attributes:t,context:o}){const r=(0,block_editor_1.useBlockProps)(),{id:l,title:c,order:n,isSelected:s}=t,i=(null==o?void 0:o.selectedTab)===l;i!==s&&e({isSelected:i});const a=(0,classnames_1.default)("wp-block-woocommerce-product-tab__content",{"is-selected":i});return(0,element_1.createElement)("div",{...r},(0,element_1.createElement)(tab_button_1.TabButton,{id:l,selected:i,order:n},c),(0,element_1.createElement)("div",{id:`woocommerce-product-tab__${l}-content`,"aria-labelledby":`woocommerce-product-tab__${l}`,role:"tabpanel",className:a},(0,element_1.createElement)(block_editor_1.InnerBlocks,{templateLock:"contentOnly"})))}exports.Edit=Edit;blocks/tab/index.js000064400000001130151545121240010227 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/tab/tab-button.js000064400000002153151545121240011205 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.TabButton=exports.DEFAULT_TAB_ORDER=void 0;const components_1=require("@wordpress/components"),classnames_1=__importDefault(require("classnames")),element_1=require("@wordpress/element"),constants_1=require("../../components/tabs/constants");exports.DEFAULT_TAB_ORDER=100;const OrderedWrapper=({children:e})=>(0,element_1.createElement)(element_1.Fragment,null,e);function TabButton({children:e,className:t,id:o,order:r=exports.DEFAULT_TAB_ORDER,selected:n=!1}){const s=(0,classnames_1.default)("wp-block-woocommerce-product-tab__button",t,{"is-selected":n});return(0,element_1.createElement)(components_1.Fill,{name:constants_1.TABS_SLOT_NAME},(t=>{const{onClick:c}=t;return(0,element_1.createElement)(OrderedWrapper,{order:r},(0,element_1.createElement)(components_1.Button,{key:o,className:s,onClick:()=>c(o),id:`woocommerce-product-tab__${o}`,"aria-controls":`woocommerce-product-tab__${o}-content`,"aria-selected":n},e))}))}exports.TabButton=TabButton;blocks/tag/block.json000064400000001513151545121240010561 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-tag-field",
    "title": "Product Tag",
    "category": "widgets",
    "description": "A field to select product tags.",
    "keywords": ["products", "tag"],
    "textdomain": "default",
    "attributes": {
        "name": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "label": {
            "type": "string"
        },
        "placeholder": {
            "type": "string"
        }
    },
    "usesContext": ["postType"],
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/tag/edit.js000064400000001660151545121240010062 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const i18n_1=require("@wordpress/i18n"),element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor"),components_1=require("@wordpress/components"),compose_1=require("@wordpress/compose"),core_data_1=require("@wordpress/core-data"),tags_field_1=require("../../components/tags-field");function Edit({attributes:e,context:o}){const r=(0,block_editor_1.useBlockProps)(),{name:t,label:s,placeholder:n}=e,[c,i]=(0,core_data_1.useEntityProp)("postType",(null==o?void 0:o.postType)||"product",t||"tags"),d=(0,compose_1.useInstanceId)(components_1.BaseControl,"tag-field");return(0,element_1.createElement)("div",{...r},(0,element_1.createElement)(tags_field_1.TagField,{id:d,label:s||(0,i18n_1.__)("Tags","woocommerce"),placeholder:n||(0,i18n_1.__)("Search or create tags…","woocommerce"),onChange:i,value:c||[]}))}exports.Edit=Edit;blocks/tag/index.js000064400000001135151545121240010241 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const utils_1=require("../../utils"),block_json_1=__importDefault(require("./block.json"));exports.metadata=block_json_1.default;const edit_1=require("./edit"),{name}=block_json_1.default;exports.name=name,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,utils_1.initBlock)({name,metadata:block_json_1.default,settings:exports.settings});exports.init=init;blocks/taxonomy/block.json000064400000002425151545121240011667 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-taxonomy-field",
    "title": "Taxonomy",
    "category": "widgets",
    "description": "A block that displays a taxonomy field, allowing searching, selection, and creation of new items",
    "keywords": ["taxonomy"],
    "textdomain": "default",
    "attributes": {
        "slug": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "property": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "label": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "createTitle": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "dialogNameHelpText": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "parentTaxonomyText": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/taxonomy/create-taxonomy-modal.js000064400000006076151545121240014457 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.CreateTaxonomyModal=void 0;const i18n_1=require("@wordpress/i18n"),components_1=require("@wordpress/components"),element_1=require("@wordpress/element"),data_1=require("@wordpress/data"),components_2=require("@woocommerce/components"),compose_1=require("@wordpress/compose"),classnames_1=__importDefault(require("classnames")),use_taxonomy_search_1=__importDefault(require("./use-taxonomy-search")),CreateTaxonomyModal=({onCancel:e,onCreate:t,initialName:o,slug:n,hierarchical:a,dialogNameHelpText:r,parentTaxonomyText:l,title:m})=>{const[s,c]=(0,element_1.useState)(""),[_,i]=(0,element_1.useState)([]),{searchEntity:u,isResolving:p}=(0,use_taxonomy_search_1.default)(n),d=(0,compose_1.useDebounce)((0,element_1.useCallback)((e=>u(e||"").then(i)),[]),150);(0,element_1.useEffect)((()=>{d("")}),[]);const{saveEntityRecord:y}=(0,data_1.useDispatch)("core"),[w,x]=(0,element_1.useState)(!1),[h,C]=(0,element_1.useState)(null),[v,E]=(0,element_1.useState)(o||""),[S,f]=(0,element_1.useState)(null),g=(0,compose_1.useInstanceId)(components_1.BaseControl,"taxonomy_name"),b=(0,compose_1.useInstanceId)(components_2.__experimentalSelectTreeControl,"parent-taxonomy-select");return(0,element_1.createElement)(components_1.Modal,{title:m,onRequestClose:e,className:"woocommerce-create-new-taxonomy-modal"},(0,element_1.createElement)("div",{className:"woocommerce-create-new-taxonomy-modal__wrapper"},(0,element_1.createElement)(components_1.BaseControl,{id:g,label:(0,i18n_1.__)("Name","woocommerce"),help:h||r,className:(0,classnames_1.default)({"has-error":h})},(0,element_1.createElement)(components_1.TextControl,{id:g,value:v,onChange:E})),a&&(0,element_1.createElement)(components_2.__experimentalSelectTreeControl,{isLoading:p,label:(0,element_1.createInterpolateElement)(`${l||(0,i18n_1.__)("Parent","woocommerce")} <optional/>`,{optional:(0,element_1.createElement)("span",{className:"woocommerce-create-new-taxonomy-modal__optional"},(0,i18n_1.__)("(optional)","woocommerce"))}),id:b,items:_.map((e=>({label:e.name,value:String(e.id),parent:e.parent>0?String(e.parent):void 0}))),shouldNotRecursivelySelect:!0,selected:S?{value:String(S.id),label:S.name}:void 0,onSelect:e=>e&&f({id:+e.value,name:e.label,parent:e.parent?+e.parent:0}),onRemove:()=>f(null),onInputChange:e=>{d(e),c(e||"")},createValue:s}),(0,element_1.createElement)("div",{className:"woocommerce-create-new-taxonomy-modal__buttons"},(0,element_1.createElement)(components_1.Button,{variant:"tertiary",onClick:e,disabled:w},(0,i18n_1.__)("Cancel","woocommerce")),(0,element_1.createElement)(components_1.Button,{variant:"primary",disabled:0===v.length||w,isBusy:w,onClick:async()=>{C(null),x(!0);try{const e=await y("taxonomy",n,{name:v,parent:S?S.id:null},{throwOnError:!0});x(!1),t(e)}catch(e){if(x(!1),!e.message)throw C((0,i18n_1.__)("Failed to create taxonomy","woocommerce")),e;C(e.message)}}},(0,i18n_1.__)("Create","woocommerce")))))};exports.CreateTaxonomyModal=CreateTaxonomyModal;blocks/taxonomy/edit.js000064400000004667151545121240011177 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const block_editor_1=require("@wordpress/block-editor"),element_1=require("@wordpress/element");require("@woocommerce/settings");const components_1=require("@woocommerce/components"),core_data_1=require("@wordpress/core-data"),compose_1=require("@wordpress/compose"),data_1=require("@wordpress/data"),create_taxonomy_modal_1=require("./create-taxonomy-modal"),use_taxonomy_search_1=__importDefault(require("./use-taxonomy-search"));function Edit({attributes:e}){const t=(0,block_editor_1.useBlockProps)(),{hierarchical:r}=(0,data_1.useSelect)((t=>t("core").getTaxonomy(e.slug)||{hierarchical:!1})),{label:a,slug:o,property:n,createTitle:l,dialogNameHelpText:i,parentTaxonomyText:s}=e,[m,c]=(0,element_1.useState)(""),[u,_]=(0,element_1.useState)([]),{searchEntity:d,isResolving:p}=(0,use_taxonomy_search_1.default)(o,{fetchParents:r}),x=(0,compose_1.useDebounce)((0,element_1.useCallback)((e=>{c(e),d(e||"").then(_)}),[r]),150);(0,element_1.useEffect)((()=>{x("")}),[]);const[y,h]=(0,core_data_1.useEntityProp)("postType","product",n),g=y.map((e=>({value:String(e.id),label:e.name}))),[f,b]=(0,element_1.useState)(!1),v=u.map((e=>({parent:r&&e.parent&&e.parent>0?String(e.parent):void 0,label:e.name,value:String(e.id)})));return(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(element_1.Fragment,null,(0,element_1.createElement)(components_1.__experimentalSelectTreeControl,{id:(0,compose_1.useInstanceId)(components_1.__experimentalSelectTreeControl,"woocommerce-taxonomy-select"),label:a,isLoading:p,multiple:!0,createValue:m,onInputChange:x,shouldNotRecursivelySelect:!0,shouldShowCreateButton:e=>!e||-1===v.findIndex((t=>t.label.toLowerCase()===e.toLowerCase())),onCreateNew:()=>b(!0),items:v,selected:g,onSelect:e=>{Array.isArray(e)?h([...e.map((e=>({id:+e.value,name:e.label,parent:+(e.parent||0)}))),...y]):h([{id:+e.value,name:e.label,parent:+(e.parent||0)},...y])},onRemove:e=>{Array.isArray(e)?h(y.filter((t=>!e.find((e=>e.value===String(t.id)))))):h(y.filter((t=>String(t.id)!==e.value)))}}),f&&(0,element_1.createElement)(create_taxonomy_modal_1.CreateTaxonomyModal,{slug:o,hierarchical:r,title:l,dialogNameHelpText:i,parentTaxonomyText:s,onCancel:()=>b(!1),onCreate:e=>{b(!1),c(""),h([{id:e.id,name:e.name,parent:e.parent},...y])},initialName:m})))}exports.Edit=Edit;blocks/taxonomy/index.js000064400000001135151545121240011344 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const utils_1=require("../../utils"),block_json_1=__importDefault(require("./block.json"));exports.metadata=block_json_1.default;const edit_1=require("./edit"),{name}=block_json_1.default;exports.name=name,exports.settings={example:{},edit:edit_1.Edit};const init=()=>(0,utils_1.initBlock)({name,metadata:block_json_1.default,settings:exports.settings});exports.init=init;blocks/taxonomy/types.js000064400000000104151545121240011374 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/taxonomy/use-taxonomy-search.js000064400000001650151545121240014152 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const element_1=require("@wordpress/element"),data_1=require("@wordpress/data"),components_1=require("@woocommerce/components");async function getTaxonomiesMissingParents(e,t){const n=[],o={};return e.forEach((e=>{o[e.id]=e})),e.forEach((e=>{e.parent>0&&!o[e.parent]&&n.push(e.parent)})),n.length>0?(0,data_1.resolveSelect)("core").getEntityRecords("taxonomy",t,{include:n}).then((n=>getTaxonomiesMissingParents([...n,...e],t))):e}const PAGINATION_SIZE=30,useTaxonomySearch=(e,t={fetchParents:!0})=>{const[n,o]=(0,element_1.useState)(!1);return{searchEntity:async function(n){o(!0);let s=[];try{s=await(0,data_1.resolveSelect)("core").getEntityRecords("taxonomy",e,{per_page:30,search:(0,components_1.escapeHTML)(n)}),(null==t?void 0:t.fetchParents)&&(s=await getTaxonomiesMissingParents(s,e))}finally{o(!1)}return s},isResolving:n}};exports.default=useTaxonomySearch;blocks/toggle/block.json000064400000001640151545121240011270 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-toggle-field",
    "title": "Product toggle control",
    "category": "woocommerce",
    "description": "The product toggle.",
    "keywords": ["products", "radio", "input"],
    "textdomain": "default",
    "attributes": {
        "label": {
            "type": "string",
            "__experimentalRole": "content"
        },
        "property": {
            "type": "string"
        },
        "disabled": {
            "type": "boolean",
            "default": false
        },
        "disabledCopy": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": true,
        "reusable": true,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    }
}
blocks/toggle/edit.js000064400000001501151545121240010562 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const element_1=require("@wordpress/element"),block_editor_1=require("@wordpress/block-editor"),core_data_1=require("@wordpress/core-data"),components_1=require("@wordpress/components"),sanitize_html_1=require("../../utils/sanitize-html");function Edit({attributes:e}){const t=(0,block_editor_1.useBlockProps)(),{label:o,property:r,disabled:s,disabledCopy:i}=e,[l,n]=(0,core_data_1.useEntityProp)("postType","product",r);return(0,element_1.createElement)("div",{...t},(0,element_1.createElement)(components_1.ToggleControl,{label:o,checked:l,disabled:s,onChange:n}),s&&(0,element_1.createElement)("p",{className:"wp-block-woocommerce-product-toggle__disable-copy",dangerouslySetInnerHTML:(0,sanitize_html_1.sanitizeHTML)(i)}))}exports.Edit=Edit;blocks/toggle/index.js000064400000001136151545121240010750 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/toggle/types.js000064400000000104151545121240010777 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/variation-items/block.json000064400000001377151545121240013131 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-variation-items-field",
    "title": "Product variations items",
    "category": "woocommerce",
    "description": "The product variations items.",
    "keywords": ["products", "variations"],
    "textdomain": "default",
    "attributes": {
        "description": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "usesContext": ["isInSelectedTab"],
    "editorStyle": "file:./editor.css"
}
blocks/variation-items/edit.js000064400000005626151545121240012430 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const i18n_1=require("@wordpress/i18n"),data_1=require("@woocommerce/data"),block_editor_1=require("@wordpress/block-editor"),tracks_1=require("@woocommerce/tracks"),element_1=require("@wordpress/element"),data_2=require("@wordpress/data"),core_data_1=require("@wordpress/core-data"),variations_table_1=require("../../components/variations-table"),validation_context_1=require("../../contexts/validation-context"),variable_product_tour_1=require("./variable-product-tour"),constants_1=require("../../constants"),handle_prompt_1=require("../../utils/handle-prompt");function Edit({context:e}){const t=(0,element_1.useRef)(!1),{invalidateResolution:r}=(0,data_2.useDispatch)(data_1.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME),o=(0,core_data_1.useEntityId)("postType","product"),i=(0,block_editor_1.useBlockProps)(),[a]=(0,core_data_1.useEntityProp)("postType","product","status"),s=(0,element_1.useMemo)((()=>({product_id:o,order:"asc",orderby:"menu_order",has_price:!1})),[o]),{totalCountWithoutPrice:_}=(0,data_2.useSelect)((e=>{const{getProductVariationsTotalCount:t}=e(data_1.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCountWithoutPrice:t(s)}}),[o]),{updateUserPreferences:n,variable_items_without_price_notice_dismissed:c}=(0,data_1.useUserPreferences)(),{ref:d}=(0,validation_context_1.useValidation)("variations",(async function(e,r){if(_>0&&!t.current&&"publish"!==a&&"publish"===(null==r?void 0:r.status))return"yes"!==c&&n({variable_items_without_price_notice_dismissed:{...c||{},[o]:"no"}}),(0,i18n_1.__)("Set variation prices before adding this product.","woocommerce")}),[_]),u=!c||"yes"!==c[o],l=_>0&&u?(0,i18n_1.sprintf)((0,i18n_1.__)("%d variations do not have prices. Variations that do not have prices will not be visible to customers.","woocommerce"),_):"";return(0,element_1.createElement)("div",{...i},(0,element_1.createElement)(variations_table_1.VariationsTable,{ref:d,noticeText:l,onNoticeDismiss:()=>{t.current=!0,n({variable_items_without_price_notice_dismissed:{...c||{},[o]:"yes"}})},noticeActions:[{label:(0,i18n_1.__)("Set prices","woocommerce"),onClick:function(e){(0,tracks_1.recordEvent)("product_variations_set_prices_select",{source:constants_1.TRACKS_SOURCE});const t=(0,data_2.resolveSelect)(data_1.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME).getProductVariations({product_id:o,has_price:!1,_fields:["id"]});(0,handle_prompt_1.handlePrompt)({onOk(r){(0,tracks_1.recordEvent)("product_variations_set_prices_update",{source:constants_1.TRACKS_SOURCE}),t.then((t=>{e(t.map((({id:e})=>({id:e,regular_price:r}))))}))}})},className:"is-destructive"}],onVariationTableChange:(e,t)=>{("delete"===e||"update"===e&&t&&t.find((e=>e.regular_price||e.sale_price)))&&r("getProductVariationsTotalCount",[s])}}),(null==e?void 0:e.isInSelectedTab)&&(0,element_1.createElement)(variable_product_tour_1.VariableProductTour,null))}exports.Edit=Edit;blocks/variation-items/index.js000064400000001136151545121240012602 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/variation-items/types.js000064400000000104151545121240012631 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/variation-items/variable-product-tour.js000064400000004217151545121240015730 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.VariableProductTour=void 0;const element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),components_1=require("@woocommerce/components"),data_1=require("@woocommerce/data"),tracks_1=require("@woocommerce/tracks"),data_2=require("@wordpress/data"),core_data_1=require("@wordpress/core-data"),constants_1=require("../../constants"),VariableProductTour=()=>{const[e,o]=(0,element_1.useState)(!1),r=(0,core_data_1.useEntityId)("postType","product"),t=(0,element_1.useRef)(),a=(0,element_1.useMemo)((()=>({product_id:r,page:1,per_page:constants_1.DEFAULT_VARIATION_PER_PAGE_OPTION,order:"asc",orderby:"menu_order"})),[r]),{totalCount:n}=(0,data_2.useSelect)((e=>{const{getProductVariationsTotalCount:o}=e(data_1.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCount:o(a)}}),[r]),{updateUserPreferences:c,variable_product_block_tour_shown:s}=(0,data_1.useUserPreferences)(),i={placement:"top",steps:[{referenceElements:{desktop:".wp-block-woocommerce-product-variation-items-field"},focusElement:{desktop:".wp-block-woocommerce-product-variation-items-field"},meta:{name:"product-variations-2",heading:(0,i18n_1.__)("⚡️ This product now has variations","woocommerce"),descriptions:{desktop:(0,i18n_1.__)("From now on, you’ll manage pricing, shipping, and inventory for each variation individually—just like any other product in your store.","woocommerce")},primaryButton:{text:(0,i18n_1.__)("Got it","woocommerce")}}}],options:{classNames:["variation-items-product-tour"],effects:{arrowIndicator:!0,spotlight:{interactivity:{enabled:!0}}},callbacks:{onStepViewOnce:()=>{(0,tracks_1.recordEvent)("variable_product_block_tour_shown",{variable_count:n})}},popperModifiers:[{name:"offset",options:{offset:[0,32]}}]},closeHandler:()=>{c({variable_product_block_tour_shown:"yes"}),o(!1),(0,tracks_1.recordEvent)("variable_product_block_tour_dismissed")}};return(0,element_1.useEffect)((()=>{const r=t.current!==n&&n>0&&0===t.current;t.current=n,r&&!e&&o(!0)}),[n]),"yes"!==s&&e?(0,element_1.createElement)(components_1.TourKit,{config:i}):null};exports.VariableProductTour=VariableProductTour;blocks/variation-options/block.json000064400000001336151545121240013476 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-variations-options-field",
    "title": "Product variations options",
    "category": "woocommerce",
    "description": "The product variations options.",
    "keywords": ["products", "variations"],
    "textdomain": "default",
    "attributes": {
        "description": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/variation-options/edit.js000064400000005707151545121240013002 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const i18n_1=require("@wordpress/i18n"),block_editor_1=require("@wordpress/block-editor"),element_1=require("@wordpress/element"),data_1=require("@woocommerce/data"),components_1=require("@woocommerce/components"),core_data_1=require("@wordpress/core-data"),use_product_attributes_1=require("../../hooks/use-product-attributes"),attribute_control_1=require("../../components/attribute-control"),use_product_variations_helper_1=require("../../hooks/use-product-variations-helper");function Edit(){const e=(0,block_editor_1.useBlockProps)(),{generateProductVariations:t}=(0,use_product_variations_helper_1.useProductVariationsHelper)(),{updateUserPreferences:o,product_block_variable_options_notice_dismissed:r}=(0,data_1.useUserPreferences)(),[i,a]=(0,core_data_1.useEntityProp)("postType","product","attributes"),[n,s]=(0,core_data_1.useEntityProp)("postType","product","default_attributes"),{attributes:u,handleChange:c}=(0,use_product_attributes_1.useProductAttributes)({allAttributes:i,isVariationAttributes:!0,productId:(0,core_data_1.useEntityId)("postType","product"),onChange(e,o){a(e),s(o),t(e,o)}}),l=u.filter((e=>0===e.id)).map((e=>e.name));let d="";return l.length>0&&"yes"!==r&&(d=(0,element_1.createInterpolateElement)((0,i18n_1.__)("Buyers can’t search or filter by <attributeNames /> to find the variations. Consider adding them again as <globalAttributeLink>global attributes</globalAttributeLink> to make them easier to discover.","woocommerce"),{attributeNames:(0,element_1.createElement)("span",null,2===l.length?l.join((0,i18n_1.__)(" and ","woocommerce")):l.join(", ")),globalAttributeLink:(0,element_1.createElement)(components_1.Link,{href:"https://woocommerce.com/document/variable-product/#add-attributes-to-use-for-variations",type:"external",target:"_blank"})})),(0,element_1.createElement)("div",{...e},(0,element_1.createElement)(attribute_control_1.AttributeControl,{value:(0,element_1.useMemo)((function(){return u.map((e=>({...e,isDefault:n.some((t=>t.id===e.id||t.name===e.name))})))}),[u,n]),onChange:c,createNewAttributesAsGlobal:!0,useRemoveConfirmationModal:!0,onNoticeDismiss:()=>o({product_block_variable_options_notice_dismissed:"yes"}),disabledAttributeIds:i.filter((e=>!e.variation)).map((e=>e.id)),termsAutoSelection:"all",uiStrings:{notice:d,globalAttributeHelperMessage:"",customAttributeHelperMessage:"",newAttributeModalNotice:"",newAttributeModalTitle:(0,i18n_1.__)("Add variation options","woocommerce"),newAttributeModalDescription:(0,i18n_1.__)("Select from existing attributes or create new ones to add new variations for your product. You can change the order later.","woocommerce"),attributeRemoveLabel:(0,i18n_1.__)("Remove variation option","woocommerce"),attributeRemoveConfirmationModalMessage:(0,i18n_1.__)("If you continue, some variations of this product will be deleted and customers will no longer be able to purchase them.","woocommerce")}}))}exports.Edit=Edit;blocks/variation-options/index.js000064400000001136151545121240013154 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/variation-options/types.js000064400000000104151545121240013203 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});blocks/variations/block.json000064400000001316151545121240012166 0ustar00{
    "$schema": "https://schemas.wp.org/trunk/block.json",
    "apiVersion": 2,
    "name": "woocommerce/product-variations-fields",
    "title": "Product variations fields",
    "category": "woocommerce",
    "description": "The product variations.",
    "keywords": ["products", "variations"],
    "textdomain": "default",
    "attributes": {
        "description": {
            "type": "string",
            "__experimentalRole": "content"
        }
    },
    "supports": {
        "align": false,
        "html": false,
        "multiple": false,
        "reusable": false,
        "inserter": false,
        "lock": false,
        "__experimentalToolbar": false
    },
    "editorStyle": "file:./editor.css"
}
blocks/variations/edit.js000064400000006604151545121240011471 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.Edit=void 0;const classnames_1=__importDefault(require("classnames")),components_1=require("@wordpress/components"),tracks_1=require("@woocommerce/tracks"),element_1=require("@wordpress/element"),i18n_1=require("@wordpress/i18n"),block_editor_1=require("@wordpress/block-editor"),core_data_1=require("@wordpress/core-data"),sanitize_html_1=require("../../utils/sanitize-html"),empty_variations_image_1=require("./empty-variations-image"),new_attribute_modal_1=require("../../components/attribute-control/new-attribute-modal"),use_product_attributes_1=require("../../hooks/use-product-attributes"),utils_1=require("../../components/attribute-control/utils"),use_product_variations_helper_1=require("../../hooks/use-product-variations-helper"),utils_2=require("../../utils"),constants_1=require("../../constants");function Edit({attributes:e}){const{description:t}=e,{generateProductVariations:r}=(0,use_product_variations_helper_1.useProductVariationsHelper)(),[o,i]=(0,element_1.useState)(!1),[a,s]=(0,core_data_1.useEntityProp)("postType","product","attributes"),[,n]=(0,core_data_1.useEntityProp)("postType","product","default_attributes"),{attributes:c,handleChange:u}=(0,use_product_attributes_1.useProductAttributes)({allAttributes:a,isVariationAttributes:!0,productId:(0,core_data_1.useEntityId)("postType","product"),onChange(e,t){s(e),n(t),r(e,t)}}),l=(0,utils_2.hasAttributesUsedForVariations)(a),_=(0,block_editor_1.useBlockProps)({className:(0,classnames_1.default)({"wp-block-woocommerce-product-variations-fields--has-attributes":l})}),d=(0,block_editor_1.useInnerBlocksProps)({className:"wp-block-woocommerce-product-variations-fields__content"},{templateLock:"all"}),m=()=>{i(!1)};return(0,element_1.createElement)("div",{..._},(0,element_1.createElement)("div",{className:"wp-block-woocommerce-product-variations-fields__heading"},(0,element_1.createElement)("div",{className:"wp-block-woocommerce-product-variations-fields__heading-image-container"},(0,element_1.createElement)(empty_variations_image_1.EmptyVariationsImage,null)),(0,element_1.createElement)("p",{className:"wp-block-woocommerce-product-variations-fields__heading-description",dangerouslySetInnerHTML:(0,sanitize_html_1.sanitizeHTML)(t)}),(0,element_1.createElement)("div",{className:"wp-block-woocommerce-product-variations-fields__heading-actions"},(0,element_1.createElement)(components_1.Button,{variant:"primary",onClick:()=>{i(!0)}},(0,i18n_1.__)("Add variation options","woocommerce")))),(0,element_1.createElement)("div",{...d}),o&&(0,element_1.createElement)(new_attribute_modal_1.NewAttributeModal,{title:(0,i18n_1.__)("Add variation options","woocommerce"),description:(0,i18n_1.__)("Select from existing attributes or create new ones to add new variations for your product. You can change the order later.","woocommerce"),createNewAttributesAsGlobal:!0,notice:"",onCancel:()=>{m()},onAdd:e=>{const t=e.filter((e=>!c.some((t=>(0,utils_1.getAttributeId)(e)===(0,utils_1.getAttributeId)(t)))));(0,tracks_1.recordEvent)("product_options_add",{source:constants_1.TRACKS_SOURCE,options:t.map((e=>({attribute:e.name,values:e.options})))}),u(t),m()},selectedAttributeIds:c.map((e=>e.id)),disabledAttributeIds:a.filter((e=>!e.variation)).map((e=>e.id)),termsAutoSelection:"all"}))}exports.Edit=Edit;blocks/variations/empty-variations-image.js000064400000017770151545121240015145 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.EmptyVariationsImage=void 0;const components_1=require("@wordpress/components"),compose_1=require("@wordpress/compose"),element_1=require("@wordpress/element");function EmptyVariationsImage(e){const t=(0,compose_1.useInstanceId)(components_1.G,"clip");return(0,element_1.createElement)(components_1.SVG,{width:"264",height:"167",...e,viewBox:"0 0 264 167",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,element_1.createElement)(components_1.G,{clipPath:`url(#${t})`},(0,element_1.createElement)(components_1.Path,{d:"M38.5556 0.164185C11.3783 0.164185 -3.89877 21.4091 1.5234 37.3916C7.43365 54.8517 25.6968 71.9169 25.6968 85.7696H51.4188C51.4188 71.908 69.6821 54.8517 75.5923 37.3916C81.0145 21.4091 65.7463 0.164185 38.5556 0.164185Z",fill:"#F0F0F0"}),(0,element_1.createElement)(components_1.Path,{d:"M50.5063 48.3114C44.2189 48.3114 40.5228 52.5755 40.5228 59.1735V59.9899C40.079 59.9899 39.6176 59.9899 39.1827 59.9944H38.3486C37.7141 59.9944 37.3325 59.9944 36.5915 59.9944V59.1779C36.5915 52.5755 32.8953 48.3114 26.6124 48.3114C21.0127 48.3114 17.8047 50.4812 17.8047 54.2616C17.8047 57.0969 20.4936 59.0137 25.7915 59.9589C29.0306 60.5357 32.1721 60.6777 35.2781 60.7087V85.7652H36.6003V60.7176C37.3413 60.722 37.7185 60.722 38.3574 60.7176C38.9919 60.7176 39.7906 60.7176 40.5316 60.7176V85.7652H41.8539V60.7132C44.9554 60.6777 48.0969 60.5401 51.3405 59.9633C56.6384 59.0182 59.3273 57.1013 59.3273 54.266C59.3273 50.4856 56.1192 48.3158 50.5196 48.3158L50.5063 48.3114ZM35.2781 59.9855C32.2032 59.95 29.106 59.8124 25.9202 59.2445C21.0172 58.3704 19.6905 56.2938 19.6905 54.1329C19.6905 50.2682 23.5996 49.0347 26.6124 49.0347C32.2342 49.0347 35.2781 53.0148 35.2781 59.169V59.981V59.9855ZM51.1985 59.2445C48.0126 59.8124 44.9155 59.9544 41.845 59.9855V59.1735C41.845 53.0148 44.8889 49.0391 50.5107 49.0391C53.528 49.0391 57.4326 50.2726 57.4326 54.1373C57.4326 56.2982 56.1015 58.3704 51.2029 59.2489L51.1985 59.2445Z",fill:"white"}),(0,element_1.createElement)(components_1.Path,{d:"M38.5585 101.872C45.5248 101.872 51.4173 96.1613 51.4173 89.834H25.6953C25.6953 96.1613 31.5923 101.872 38.5585 101.872Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M57.2858 89.9271H19.832V85.7695H57.2858V89.9271Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M69.5768 106.602H7.63895L0.4375 167L15.2974 151.328H64.2566L69.5768 106.602Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M119.436 122.749C113.97 115.072 110.828 111.394 104.652 111.394C97.8809 111.394 94.908 119.061 98.9724 123.853C103.445 129.125 118.993 134.627 118.993 134.627C118.993 134.627 94.0694 129.923 84.9112 129.923C79.8573 129.923 74.6836 131.96 74.6836 139.135C74.6836 146.31 79.8617 148.346 84.9112 148.346C94.0694 148.346 118.993 143.643 118.993 143.643C118.993 143.643 103.445 149.145 98.9724 154.416C94.908 159.208 97.8764 166.876 104.652 166.876C110.828 166.876 113.97 163.197 119.436 155.521C121.287 152.921 130.707 139.135 130.707 139.135C130.707 139.135 121.287 125.349 119.436 122.749Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M94.2838 102.671L169.715 102.671V80.4849L94.2838 80.4849V102.671Z",fill:"#F0F0F0"}),(0,element_1.createElement)(components_1.Path,{d:"M169.712 0H94.2812V75.4311H169.712V0Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M147.619 49.6336C147.619 44.4156 144.429 39.4194 138.168 36.0116H157.66L139.472 6.00781H124.524L106.336 36.0116H125.828C119.567 39.4194 116.377 44.4156 116.377 49.6336C116.377 55.5394 121.005 61.4985 127.106 64.6888C118.667 62.9849 117.344 69.4232 117.344 69.4232H146.661C146.661 69.4232 145.338 62.9849 136.899 64.6888C143 61.4985 147.628 55.5394 147.628 49.6336H147.619Z",fill:"white"}),(0,element_1.createElement)(components_1.Path,{d:"M147.86 80.7911H94.2812V85.2283H147.86V80.7911Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M169.712 89.8473H94.2812V94.2844H169.712V89.8473Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M136.82 98.9034H94.2812V103.341H136.82V98.9034Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M219.52 167C229.042 167 235.063 158.538 235.063 151.457H203.977C203.977 158.538 209.998 167 219.52 167Z",fill:"#DDDDDD"}),(0,element_1.createElement)(components_1.Path,{d:"M219.516 58.2018C185.027 58.2018 168.143 86.1557 178.522 110.613C185.541 127.141 202.225 125.264 202.225 138.505H236.826C236.826 125.264 253.514 127.141 260.529 110.613C270.903 86.1557 254.006 58.2018 219.516 58.2018Z",fill:"#F0F0F0"}),(0,element_1.createElement)(components_1.Path,{d:"M219.52 167C228.9 167 234.882 158.787 235.059 151.776C235.059 151.67 235.059 142.707 235.059 142.6H203.973C203.973 142.685 203.973 151.63 203.973 151.719C204.115 158.742 210.105 167.004 219.511 167.004L219.52 167Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M240.248 142.596H198.801V138.505H240.248V142.596Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M240.248 149.074H198.801V144.983H240.248V149.074Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M169.656 125.371H142.133V152.894H169.656V125.371Z",fill:"#F0F0F0"}),(0,element_1.createElement)(components_1.Path,{d:"M155.015 146.194L162.181 139.587L147.445 139.663V138.571L162.154 138.647L155.015 132.067L155.676 131.228L163.982 139.055V139.184L155.676 147.033L155.015 146.194Z",fill:"#DDDDDD"}),(0,element_1.createElement)(components_1.Path,{d:"M22.0977 126.533L27.44 141.921L53.5835 112.729",stroke:"white",strokeMiterlimit:"10"}),(0,element_1.createElement)(components_1.Path,{d:"M232.227 110.138C232.227 102.307 227.559 97.4392 220.042 97.4126C220.042 97.4126 220.025 97.4126 220.016 97.4126C220.007 97.4126 219.998 97.4126 219.989 97.4126C212.473 97.4392 207.805 102.928 207.805 110.138C207.805 117.349 212.22 120.774 218.516 125.287C214.704 128.858 212.663 134.516 212.663 138.505H215.867C215.867 134.809 216.572 129.56 220.016 126.462C223.463 129.56 224.164 134.809 224.164 138.505H227.368C227.368 134.516 225.322 128.858 221.515 125.287C227.812 120.778 232.227 116.958 232.227 110.138ZM220.016 124.435C213.773 119.989 209.242 117.158 209.242 110.138C209.242 103.119 213.546 98.7216 220.016 98.7082C226.485 98.7216 230.789 103.354 230.789 110.138C230.789 116.222 226.259 119.989 220.016 124.435Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M250.84 40.1516C250.84 45.9864 246.155 50.7297 240.342 50.8184H199.862C193.97 50.8184 189.195 46.0441 189.195 40.1516C189.195 34.2591 193.97 29.4847 199.862 29.4847H240.36C246.164 29.4847 250.84 34.3256 250.84 40.1516Z",fill:"#F0F0F0"}),(0,element_1.createElement)(components_1.Path,{d:"M240.122 47.7347C244.31 47.7347 247.705 44.3396 247.705 40.1516C247.705 35.9636 244.31 32.5686 240.122 32.5686C235.934 32.5686 232.539 35.9636 232.539 40.1516C232.539 44.3396 235.934 47.7347 240.122 47.7347Z",fill:"#E0E0E0"}),(0,element_1.createElement)(components_1.Path,{d:"M131.996 6.00781H124.524L106.332 36.0116H125.824H138.168H157.661L139.468 6.00781H131.996Z",fill:"#F0F0F0"}),(0,element_1.createElement)(components_1.Path,{d:"M151.608 26.0281H112.384L106.332 36.0116L151.608 26.0281Z",fill:"white"}),(0,element_1.createElement)(components_1.Path,{d:"M145.555 16.0446H118.435L112.383 26.0281L145.555 16.0446Z",fill:"white"}),(0,element_1.createElement)(components_1.Path,{d:"M139.469 6.00781H124.525L118.438 16.0446L139.469 6.00781Z",fill:"white"}),(0,element_1.createElement)(components_1.Path,{d:"M57.4297 42.9647H87.8994",stroke:"#DDDDDD",strokeWidth:"0.71",strokeMiterlimit:"10"}),(0,element_1.createElement)(components_1.Path,{d:"M61.8945 32.1914L83.4412 53.7381",stroke:"#DDDDDD",strokeWidth:"0.71",strokeMiterlimit:"10"}),(0,element_1.createElement)(components_1.Path,{d:"M72.668 27.7321V58.2018",stroke:"#DDDDDD",strokeWidth:"0.71",strokeMiterlimit:"10"})),(0,element_1.createElement)("defs",null,(0,element_1.createElement)("clipPath",{id:t},(0,element_1.createElement)(components_1.Rect,{width:"263.121",height:"167",fill:"white",transform:"translate(0.4375)"}))))}exports.EmptyVariationsImage=EmptyVariationsImage;blocks/variations/index.js000064400000001136151545121240011646 0ustar00"use strict";var __importDefault=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=exports.settings=exports.name=exports.metadata=void 0;const init_block_1=require("../../utils/init-block"),block_json_1=__importDefault(require("./block.json")),edit_1=require("./edit"),{name,...metadata}=block_json_1.default;function init(){return(0,init_block_1.initBlock)({name,metadata,settings:exports.settings})}exports.name=name,exports.metadata=metadata,exports.settings={example:{},edit:edit_1.Edit},exports.init=init;blocks/variations/types.js000064400000000104151545121240011675 0ustar00"use strict";Object.defineProperty(exports,"__esModule",{value:!0});index.asset.php000064400000001117151545121240007502 0ustar00<?php return array('dependencies' => array('lodash', 'moment', 'react', 'wc-admin-layout', 'wc-components', 'wc-currency', 'wc-customer-effort-score', 'wc-experimental', 'wc-navigation', 'wc-number', 'wc-settings', 'wc-store-data', 'wc-tracks', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-preferences', 'wp-primitives', 'wp-url'), 'version' => '4a26ee3737d72ef40ebf1830031d515d');index.js000064400000660237151545121240006227 0ustar00/*! For license information please see index.js.LICENSE.txt */
(()=>{var e={83849:(e,t)=>{var o;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)){if(o.length){var i=n.apply(null,o);i&&e.push(i)}}else if("object"===a)if(o.toString===Object.prototype.toString)for(var c in o)r.call(o,c)&&o[c]&&e.push(c);else e.push(o.toString())}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):void 0===(o=function(){return n}.apply(t,[]))||(e.exports=o)}()},74944:function(e){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,o=Object.isFrozen,r=Object.getPrototypeOf,n=Object.getOwnPropertyDescriptor,a=Object.freeze,i=Object.seal,c=Object.create,l="undefined"!=typeof Reflect&&Reflect,s=l.apply,m=l.construct;s||(s=function(e,t,o){return e.apply(t,o)}),a||(a=function(e){return e}),i||(i=function(e){return e}),m||(m=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}(t))))});var u,d=y(Array.prototype.forEach),p=y(Array.prototype.pop),_=y(Array.prototype.push),f=y(String.prototype.toLowerCase),h=y(String.prototype.match),g=y(String.prototype.replace),b=y(String.prototype.indexOf),v=y(String.prototype.trim),w=y(RegExp.prototype.test),E=(u=TypeError,function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return m(u,t)});function y(e){return function(t){for(var o=arguments.length,r=Array(o>1?o-1:0),n=1;n<o;n++)r[n-1]=arguments[n];return s(e,t,r)}}function k(e,r){t&&t(e,null);for(var n=r.length;n--;){var a=r[n];if("string"==typeof a){var i=f(a);i!==a&&(o(r)||(r[n]=i),a=i)}e[a]=!0}return e}function C(t){var o=c(null),r=void 0;for(r in t)s(e,t,[r])&&(o[r]=t[r]);return o}function S(e,t){for(;null!==e;){var o=n(e,t);if(o){if(o.get)return y(o.get);if("function"==typeof o.value)return y(o.value)}e=r(e)}return function(e){return console.warn("fallback value for",e),null}}var x=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),N=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),T=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),P=a(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),A=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),I=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=a(["#text"]),R=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),O=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),L=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),D=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),F=i(/<%[\s\S]*|[\s\S]*%>/gm),V=i(/^data-[\-\w.\u00B7-\uFFFF]/),H=i(/^aria-[\-\w]+$/),U=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=i(/^(?:\w+script|data):/i),j=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),$=i(/^html$/i),G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function W(e){if(Array.isArray(e)){for(var t=0,o=Array(e.length);t<e.length;t++)o[t]=e[t];return o}return Array.from(e)}var q=function(){return"undefined"==typeof window?null:window},Z=function(e,t){if("object"!==(void 0===e?"undefined":G(e))||"function"!=typeof e.createPolicy)return null;var o=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(o=t.currentScript.getAttribute(r));var n="dompurify"+(o?"#"+o:"");try{return e.createPolicy(n,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+n+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q(),o=function(t){return e(t)};if(o.version="2.3.6",o.removed=[],!t||!t.document||9!==t.document.nodeType)return o.isSupported=!1,o;var r=t.document,n=t.document,i=t.DocumentFragment,c=t.HTMLTemplateElement,l=t.Node,s=t.Element,m=t.NodeFilter,u=t.NamedNodeMap,y=void 0===u?t.NamedNodeMap||t.MozNamedAttrMap:u,J=t.HTMLFormElement,Y=t.DOMParser,X=t.trustedTypes,K=s.prototype,Q=S(K,"cloneNode"),ee=S(K,"nextSibling"),te=S(K,"childNodes"),oe=S(K,"parentNode");if("function"==typeof c){var re=n.createElement("template");re.content&&re.content.ownerDocument&&(n=re.content.ownerDocument)}var ne=Z(X,r),ae=ne?ne.createHTML(""):"",ie=n,ce=ie.implementation,le=ie.createNodeIterator,se=ie.createDocumentFragment,me=ie.getElementsByTagName,ue=r.importNode,de={};try{de=C(n).documentMode?n.documentMode:{}}catch(e){}var pe={};o.isSupported="function"==typeof oe&&ce&&void 0!==ce.createHTMLDocument&&9!==de;var _e=B,fe=F,he=V,ge=H,be=z,ve=j,we=U,Ee=null,ye=k({},[].concat(W(x),W(N),W(T),W(A),W(M))),ke=null,Ce=k({},[].concat(W(R),W(O),W(L),W(D))),Se=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),xe=null,Ne=null,Te=!0,Pe=!0,Ae=!1,Ie=!1,Me=!1,Re=!1,Oe=!1,Le=!1,De=!1,Be=!1,Fe=!0,Ve=!0,He=!1,Ue={},ze=null,je=k({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),$e=null,Ge=k({},["audio","video","img","source","image","track"]),We=null,qe=k({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ze="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml",Xe=Ye,Ke=!1,Qe=void 0,et=["application/xhtml+xml","text/html"],tt="text/html",ot=void 0,rt=null,nt=n.createElement("form"),at=function(e){return e instanceof RegExp||e instanceof Function},it=function(e){rt&&rt===e||(e&&"object"===(void 0===e?"undefined":G(e))||(e={}),e=C(e),Ee="ALLOWED_TAGS"in e?k({},e.ALLOWED_TAGS):ye,ke="ALLOWED_ATTR"in e?k({},e.ALLOWED_ATTR):Ce,We="ADD_URI_SAFE_ATTR"in e?k(C(qe),e.ADD_URI_SAFE_ATTR):qe,$e="ADD_DATA_URI_TAGS"in e?k(C(Ge),e.ADD_DATA_URI_TAGS):Ge,ze="FORBID_CONTENTS"in e?k({},e.FORBID_CONTENTS):je,xe="FORBID_TAGS"in e?k({},e.FORBID_TAGS):{},Ne="FORBID_ATTR"in e?k({},e.FORBID_ATTR):{},Ue="USE_PROFILES"in e&&e.USE_PROFILES,Te=!1!==e.ALLOW_ARIA_ATTR,Pe=!1!==e.ALLOW_DATA_ATTR,Ae=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=e.SAFE_FOR_TEMPLATES||!1,Me=e.WHOLE_DOCUMENT||!1,Le=e.RETURN_DOM||!1,De=e.RETURN_DOM_FRAGMENT||!1,Be=e.RETURN_TRUSTED_TYPE||!1,Oe=e.FORCE_BODY||!1,Fe=!1!==e.SANITIZE_DOM,Ve=!1!==e.KEEP_CONTENT,He=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||we,Xe=e.NAMESPACE||Ye,e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Se.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&at(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Se.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Se.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Qe=Qe=-1===et.indexOf(e.PARSER_MEDIA_TYPE)?tt:e.PARSER_MEDIA_TYPE,ot="application/xhtml+xml"===Qe?function(e){return e}:f,Ie&&(Pe=!1),De&&(Le=!0),Ue&&(Ee=k({},[].concat(W(M))),ke=[],!0===Ue.html&&(k(Ee,x),k(ke,R)),!0===Ue.svg&&(k(Ee,N),k(ke,O),k(ke,D)),!0===Ue.svgFilters&&(k(Ee,T),k(ke,O),k(ke,D)),!0===Ue.mathMl&&(k(Ee,A),k(ke,L),k(ke,D))),e.ADD_TAGS&&(Ee===ye&&(Ee=C(Ee)),k(Ee,e.ADD_TAGS)),e.ADD_ATTR&&(ke===Ce&&(ke=C(ke)),k(ke,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&k(We,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(ze===je&&(ze=C(ze)),k(ze,e.FORBID_CONTENTS)),Ve&&(Ee["#text"]=!0),Me&&k(Ee,["html","head","body"]),Ee.table&&(k(Ee,["tbody"]),delete xe.tbody),a&&a(e),rt=e)},ct=k({},["mi","mo","mn","ms","mtext"]),lt=k({},["foreignobject","desc","title","annotation-xml"]),st=k({},N);k(st,T),k(st,P);var mt=k({},A);k(mt,I);var ut=function(e){var t=oe(e);t&&t.tagName||(t={namespaceURI:Ye,tagName:"template"});var o=f(e.tagName),r=f(t.tagName);if(e.namespaceURI===Je)return t.namespaceURI===Ye?"svg"===o:t.namespaceURI===Ze?"svg"===o&&("annotation-xml"===r||ct[r]):Boolean(st[o]);if(e.namespaceURI===Ze)return t.namespaceURI===Ye?"math"===o:t.namespaceURI===Je?"math"===o&&lt[r]:Boolean(mt[o]);if(e.namespaceURI===Ye){if(t.namespaceURI===Je&&!lt[r])return!1;if(t.namespaceURI===Ze&&!ct[r])return!1;var n=k({},["title","style","font","a","script"]);return!mt[o]&&(n[o]||!st[o])}return!1},dt=function(e){_(o.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=ae}catch(t){e.remove()}}},pt=function(e,t){try{_(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){_(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ke[e])if(Le||De)try{dt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},_t=function(e){var t=void 0,o=void 0;if(Oe)e="<remove></remove>"+e;else{var r=h(e,/^[\r\n\t ]+/);o=r&&r[0]}"application/xhtml+xml"===Qe&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var a=ne?ne.createHTML(e):e;if(Xe===Ye)try{t=(new Y).parseFromString(a,Qe)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(Xe,"template",null);try{t.documentElement.innerHTML=Ke?"":a}catch(e){}}var i=t.body||t.documentElement;return e&&o&&i.insertBefore(n.createTextNode(o),i.childNodes[0]||null),Xe===Ye?me.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},ft=function(e){return le.call(e.ownerDocument||e,e,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT,null,!1)},ht=function(e){return e instanceof J&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof y)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},gt=function(e){return"object"===(void 0===l?"undefined":G(l))?e instanceof l:e&&"object"===(void 0===e?"undefined":G(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},bt=function(e,t,r){pe[e]&&d(pe[e],(function(e){e.call(o,t,r,rt)}))},vt=function(e){var t=void 0;if(bt("beforeSanitizeElements",e,null),ht(e))return dt(e),!0;if(h(e.nodeName,/[\u0080-\uFFFF]/))return dt(e),!0;var r=ot(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:r,allowedTags:Ee}),!gt(e.firstElementChild)&&(!gt(e.content)||!gt(e.content.firstElementChild))&&w(/<[/\w]/g,e.innerHTML)&&w(/<[/\w]/g,e.textContent))return dt(e),!0;if("select"===r&&w(/<template/i,e.innerHTML))return dt(e),!0;if(!Ee[r]||xe[r]){if(!xe[r]&&Et(r)){if(Se.tagNameCheck instanceof RegExp&&w(Se.tagNameCheck,r))return!1;if(Se.tagNameCheck instanceof Function&&Se.tagNameCheck(r))return!1}if(Ve&&!ze[r]){var n=oe(e)||e.parentNode,a=te(e)||e.childNodes;if(a&&n)for(var i=a.length-1;i>=0;--i)n.insertBefore(Q(a[i],!0),ee(e))}return dt(e),!0}return e instanceof s&&!ut(e)?(dt(e),!0):"noscript"!==r&&"noembed"!==r||!w(/<\/no(script|embed)/i,e.innerHTML)?(Ie&&3===e.nodeType&&(t=e.textContent,t=g(t,_e," "),t=g(t,fe," "),e.textContent!==t&&(_(o.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(dt(e),!0)},wt=function(e,t,o){if(Fe&&("id"===t||"name"===t)&&(o in n||o in nt))return!1;if(Pe&&!Ne[t]&&w(he,t));else if(Te&&w(ge,t));else if(!ke[t]||Ne[t]){if(!(Et(e)&&(Se.tagNameCheck instanceof RegExp&&w(Se.tagNameCheck,e)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(e))&&(Se.attributeNameCheck instanceof RegExp&&w(Se.attributeNameCheck,t)||Se.attributeNameCheck instanceof Function&&Se.attributeNameCheck(t))||"is"===t&&Se.allowCustomizedBuiltInElements&&(Se.tagNameCheck instanceof RegExp&&w(Se.tagNameCheck,o)||Se.tagNameCheck instanceof Function&&Se.tagNameCheck(o))))return!1}else if(We[t]);else if(w(we,g(o,ve,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==b(o,"data:")||!$e[e])if(Ae&&!w(be,g(o,ve,"")));else if(o)return!1;return!0},Et=function(e){return e.indexOf("-")>0},yt=function(e){var t=void 0,r=void 0,n=void 0,a=void 0;bt("beforeSanitizeAttributes",e,null);var i=e.attributes;if(i){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ke};for(a=i.length;a--;){var l=t=i[a],s=l.name,m=l.namespaceURI;if(r=v(t.value),n=ot(s),c.attrName=n,c.attrValue=r,c.keepAttr=!0,c.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,c),r=c.attrValue,!c.forceKeepAttr&&(pt(s,e),c.keepAttr))if(w(/\/>/i,r))pt(s,e);else{Ie&&(r=g(r,_e," "),r=g(r,fe," "));var u=ot(e.nodeName);if(wt(u,n,r))try{m?e.setAttributeNS(m,s,r):e.setAttribute(s,r),p(o.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)}},kt=function e(t){var o=void 0,r=ft(t);for(bt("beforeSanitizeShadowDOM",t,null);o=r.nextNode();)bt("uponSanitizeShadowNode",o,null),vt(o)||(o.content instanceof i&&e(o.content),yt(o));bt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e,n){var a=void 0,c=void 0,s=void 0,m=void 0,u=void 0;if((Ke=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!gt(e)){if("function"!=typeof e.toString)throw E("toString is not a function");if("string"!=typeof(e=e.toString()))throw E("dirty is not a string, aborting")}if(!o.isSupported){if("object"===G(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(gt(e))return t.toStaticHTML(e.outerHTML)}return e}if(Re||it(n),o.removed=[],"string"==typeof e&&(He=!1),He){if(e.nodeName){var d=ot(e.nodeName);if(!Ee[d]||xe[d])throw E("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)1===(c=(a=_t("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===c.nodeName||"HTML"===c.nodeName?a=c:a.appendChild(c);else{if(!Le&&!Ie&&!Me&&-1===e.indexOf("<"))return ne&&Be?ne.createHTML(e):e;if(!(a=_t(e)))return Le?null:Be?ae:""}a&&Oe&&dt(a.firstChild);for(var p=ft(He?e:a);s=p.nextNode();)3===s.nodeType&&s===m||vt(s)||(s.content instanceof i&&kt(s.content),yt(s),m=s);if(m=null,He)return e;if(Le){if(De)for(u=se.call(a.ownerDocument);a.firstChild;)u.appendChild(a.firstChild);else u=a;return ke.shadowroot&&(u=ue.call(r,u,!0)),u}var _=Me?a.outerHTML:a.innerHTML;return Me&&Ee["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&w($,a.ownerDocument.doctype.name)&&(_="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+_),Ie&&(_=g(_,_e," "),_=g(_,fe," ")),ne&&Be?ne.createHTML(_):_},o.setConfig=function(e){it(e),Re=!0},o.clearConfig=function(){rt=null,Re=!1},o.isValidAttribute=function(e,t,o){rt||it({});var r=ot(e),n=ot(t);return wt(r,n,o)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],_(pe[e],t))},o.removeHook=function(e){pe[e]&&p(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}()}()},70861:(e,t,o)=>{var r=o(83250).Symbol;e.exports=r},29233:e=>{e.exports=function(e,t){for(var o=-1,r=null==e?0:e.length,n=Array(r);++o<r;)n[o]=t(e[o],o,e);return n}},97088:(e,t,o)=>{var r=o(86174)("length");e.exports=r},59512:e=>{e.exports=function(e){return e.split("")}},69823:(e,t,o)=>{var r=o(70861),n=o(91339),a=o(25151),i=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":i&&i in Object(e)?n(e):a(e)}},58261:(e,t,o)=>{var r=o(69823),n=o(50440);e.exports=function(e){return n(e)&&"[object RegExp]"==r(e)}},86174:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},77379:e=>{e.exports=function(e,t,o){var r=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(o=o>n?n:o)<0&&(o+=n),n=t>o?0:o-t>>>0,t>>>=0;for(var a=Array(n);++r<n;)a[r]=e[r+t];return a}},86245:(e,t,o)=>{var r=o(70861),n=o(29233),a=o(55589),i=o(52624),c=r?r.prototype:void 0,l=c?c.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return n(t,e)+"";if(i(t))return l?l.call(t):"";var o=t+"";return"0"==o&&1/t==-1/0?"-0":o}},21656:(e,t,o)=>{var r=o(62438),n=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(n,""):e}},31525:e=>{e.exports=function(e){return function(t){return e(t)}}},3237:(e,t,o)=>{var r=o(77379);e.exports=function(e,t,o){var n=e.length;return o=void 0===o?n:o,!t&&o>=n?e:r(e,t,o)}},20302:(e,t,o)=>{var r="object"==typeof o.g&&o.g&&o.g.Object===Object&&o.g;e.exports=r},91339:(e,t,o)=>{var r=o(70861),n=Object.prototype,a=n.hasOwnProperty,i=n.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=a.call(e,c),o=e[c];try{e[c]=void 0;var r=!0}catch(e){}var n=i.call(e);return r&&(t?e[c]=o:delete e[c]),n}},63932:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},8690:(e,t,o)=>{e=o.nmd(e);var r=o(20302),n=t&&!t.nodeType&&t,a=n&&e&&!e.nodeType&&e,i=a&&a.exports===n&&r.process,c=function(){try{return a&&a.require&&a.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=c},25151:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},83250:(e,t,o)=>{var r=o(20302),n="object"==typeof self&&self&&self.Object===Object&&self,a=r||n||Function("return this")();e.exports=a},11324:(e,t,o)=>{var r=o(97088),n=o(63932),a=o(60445);e.exports=function(e){return n(e)?a(e):r(e)}},15233:(e,t,o)=>{var r=o(59512),n=o(63932),a=o(32205);e.exports=function(e){return n(e)?a(e):r(e)}},62438:e=>{var t=/\s/;e.exports=function(e){for(var o=e.length;o--&&t.test(e.charAt(o)););return o}},60445:e=>{var t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",r="[^\\ud800-\\udfff]",n="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",i="(?:"+t+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",l=c+i+"(?:\\u200d(?:"+[r,n,a].join("|")+")"+c+i+")*",s="(?:"+[r+t+"?",t,n,a,"[\\ud800-\\udfff]"].join("|")+")",m=RegExp(o+"(?="+o+")|"+s+l,"g");e.exports=function(e){for(var t=m.lastIndex=0;m.test(e);)++t;return t}},32205:e=>{var t="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",r="[^\\ud800-\\udfff]",n="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",i="(?:"+t+"|"+o+")?",c="[\\ufe0e\\ufe0f]?",l=c+i+"(?:\\u200d(?:"+[r,n,a].join("|")+")"+c+i+")*",s="(?:"+[r+t+"?",t,n,a,"[\\ud800-\\udfff]"].join("|")+")",m=RegExp(o+"(?="+o+")|"+s+l,"g");e.exports=function(e){return e.match(m)||[]}},55589:e=>{var t=Array.isArray;e.exports=t},93702:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},50440:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},68290:(e,t,o)=>{var r=o(58261),n=o(31525),a=o(8690),i=a&&a.isRegExp,c=i?n(i):r;e.exports=c},52624:(e,t,o)=>{var r=o(69823),n=o(50440);e.exports=function(e){return"symbol"==typeof e||n(e)&&"[object Symbol]"==r(e)}},99558:(e,t,o)=>{var r=o(29153);e.exports=function(e){return e?Infinity===(e=r(e))||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},96843:(e,t,o)=>{var r=o(99558);e.exports=function(e){var t=r(e),o=t%1;return t==t?o?t-o:t:0}},29153:(e,t,o)=>{var r=o(21656),n=o(93702),a=o(52624),i=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return NaN;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var o=c.test(e);return o||l.test(e)?s(e.slice(2),o?2:8):i.test(e)?NaN:+e}},99835:(e,t,o)=>{var r=o(86245);e.exports=function(e){return null==e?"":r(e)}},56519:(e,t,o)=>{var r=o(86245),n=o(3237),a=o(63932),i=o(93702),c=o(68290),l=o(11324),s=o(15233),m=o(96843),u=o(99835),d=/\w*$/;e.exports=function(e,t){var o=30,p="...";if(i(t)){var _="separator"in t?t.separator:_;o="length"in t?m(t.length):o,p="omission"in t?r(t.omission):p}var f=(e=u(e)).length;if(a(e)){var h=s(e);f=h.length}if(o>=f)return e;var g=o-l(p);if(g<1)return p;var b=h?n(h,0,g).join(""):e.slice(0,g);if(void 0===_)return b+p;if(h&&(g+=b.length-g),c(_)){if(e.slice(g).search(_)){var v,w=b;for(_.global||(_=RegExp(_.source,u(d.exec(_))+"g")),_.lastIndex=0;v=_.exec(w);)var E=v.index;b=b.slice(0,void 0===E?g:E)}}else if(e.indexOf(r(_),g)!=g){var y=b.lastIndexOf(_);y>-1&&(b=b.slice(0,y))}return b+p}},31772:(e,t,o)=>{"use strict";var r=o(25148);function n(){}function a(){}a.resetWarningCache=n,e.exports=function(){function e(e,t,o,n,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:n};return o.PropTypes=o,o}},7862:(e,t,o)=>{e.exports=o(31772)()},25148:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},t={};function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var r={};(()=>{"use strict";o.r(r),o.d(r,{AUTO_DRAFT_NAME:()=>R,AddNewShippingClassModal:()=>br,DETAILS_SECTION_ID:()=>x,NEW_PRODUCT_MANAGEMENT_ENABLED_OPTION_NAME:()=>k,PRODUCT_STATUS_LABELS:()=>ri,TAB_GENERAL_ID:()=>S,TRACKS_SOURCE:()=>N,__experimentalAttributeControl:()=>Vn,__experimentalAttributes:()=>jn,__experimentalBlockIcon:()=>ei,__experimentalDetailsDescriptionField:()=>z,__experimentalDetailsFeatureField:()=>V,__experimentalDetailsNameField:()=>B,__experimentalDetailsSummaryField:()=>U,__experimentalEditor:()=>Qe,__experimentalInitBlocks:()=>Qa,__experimentalProductFieldSection:()=>s,__experimentalProductMVPCESFooter:()=>Ce,__experimentalProductMVPFeedbackModal:()=>Pe,__experimentalProductMVPFeedbackModalContainer:()=>Ae,__experimentalProductSectionLayout:()=>c,__experimentalShippingDimensionsImage:()=>Nr,__experimentalUseCurrencyInputProps:()=>Oo,__experimentalUseFeedbackBar:()=>ye,__experimentalUseProductHelper:()=>D,__experimentalUseVariationsOrder:()=>_i,__experimentalWooProductFieldItem:()=>f,__experimentalWooProductMoreMenuItem:()=>W,__experimentalWooProductSectionItem:()=>h,__experimentalWooProductTabItem:()=>g,createOrderedChildren:()=>u,formatCurrencyDisplayValue:()=>Ro,getCheckboxTracks:()=>F,getCurrencySymbolProps:()=>ti,getDerivedProductType:()=>M,getHeaderTitle:()=>Me,getProductStatus:()=>ni,getProductStockStatus:()=>da,getProductStockStatusClass:()=>pa,getProductTitle:()=>ai,getProductVariationTitle:()=>ii,getTruncatedProductVariationTitle:()=>ci,hasAttributesUsedForVariations:()=>Yn,initBlock:()=>tt,isValidEmail:()=>ke,preventLeavingProductForm:()=>Ze,productApiFetchMiddleware:()=>mi,sift:()=>Hn,sortFillsByOrder:()=>d,useValidation:()=>bo,useValidations:()=>Be});var e={};o.r(e),o.d(e,{disableComplementaryArea:()=>me,enableComplementaryArea:()=>se,pinItem:()=>ue,setFeatureDefaults:()=>fe,setFeatureValue:()=>_e,toggleFeature:()=>pe,unpinItem:()=>de});var t={};o.r(t),o.d(t,{getActiveComplementaryArea:()=>he,isFeatureActive:()=>be,isItemPinned:()=>ge});var n={};o.r(n),o.d(n,{attributesInit:()=>Wn,initCatalogVisibility:()=>it,initCheckbox:()=>pt,initCollapsible:()=>gt,initConditional:()=>Et,initDescription:()=>mo,initImages:()=>ho,initInventoryQuantity:()=>dn,initLowStockQty:()=>yo,initName:()=>Io,initNotice:()=>Ga,initPricing:()=>Fo,initRadio:()=>$o,initRegularPrice:()=>Jo,initRequirePassword:()=>aa,initSalePrice:()=>er,initScheduleSale:()=>lr,initSection:()=>pr,initShippingClass:()=>Sr,initShippingDimensions:()=>Ir,initSku:()=>No,initSummary:()=>jr,initTab:()=>Xr,initTag:()=>cn,initTaxonomy:()=>Ka,initToggle:()=>gn,initVariationItems:()=>Oa,initVariationOptions:()=>Va,initVariations:()=>ea});const a=window.wp.element,i=window.wc.components,c=e=>{let{title:t,description:o,className:r,children:n}=e;return(0,a.createElement)(i.FormSection,{title:t,description:o,className:r},a.Children.map(n,(e=>(0,a.isValidElement)(e)&&e.props.onChange?(0,a.createElement)("div",{className:"product-field-layout"},e):e)))},l=window.wp.components,s=e=>{let{id:t,title:o,description:r,className:n,children:s}=e;return(0,a.createElement)(c,{title:o,description:r,className:n},(0,a.createElement)(l.Card,null,(0,a.createElement)(l.CardBody,null,s,(0,a.createElement)(i.__experimentalWooProductFieldItem.Slot,{section:t}))))},m=window.React;function u(e,t,o,r){const{children:n,props:i}=function(e,t,o,r){if("function"==typeof e)return{children:e({...o,order:t,...r}),props:{order:t,...r}};if((0,m.isValidElement)(e))return"function"==typeof(null==e?void 0:e.type)?{children:e,props:{...o,order:t,...r}}:{children:e,props:{order:t,...r}};throw Error("Invalid children type")}(e,t,o,r);return(0,a.cloneElement)(n,i)}const d=e=>{const t=[...e].sort(((e,t)=>e[0].props.order-t[0].props.order));return(0,a.createElement)(m.Fragment,null,t)},p=20,_=e=>{let{fieldName:t,sectionName:o,order:r,children:n}=e;const{registerFill:c,getFillHelpers:s}=(0,i.useSlotContext)(),m=`product_field/${o}/${t}`;return(0,a.useEffect)((()=>{c(m)}),[]),(0,a.createElement)(l.Fill,{name:`woocommerce_product_field_${o}`,key:m},(e=>u(n,r,{sectionName:o,...e,...s()},{_id:m})))},f=e=>{let{children:t,sections:o,id:r}=e;return(0,a.createElement)(a.Fragment,null,o.map((e=>{let{name:o,order:n=p}=e;return(0,a.createElement)(_,{fieldName:r,sectionName:o,order:n,key:o},t)})))};f.Slot=e=>{let{fillProps:t,section:o}=e;const{filterRegisteredFills:r}=(0,i.useSlotContext)();return(0,a.createElement)(l.Slot,{name:`woocommerce_product_field_${o}`,fillProps:t},(e=>{var t;return d?a.Children.map(null===(t=d(r(e)))||void 0===t?void 0:t.props.children,(e=>(0,a.createElement)("div",{className:"woocommerce-product-form__field"},e))):null}))};const h=e=>{let{children:t,tabs:o}=e;return(0,a.createElement)(a.Fragment,null,o.map((e=>{let{name:o,order:r}=e;return(0,a.createElement)(l.Fill,{name:`woocommerce_product_section_${o}`,key:o},(e=>u(t,r||20,{tabName:o,...e})))})))};h.Slot=e=>{let{fillProps:t,tab:o}=e;return(0,a.createElement)(l.Slot,{name:`woocommerce_product_section_${o}`,fillProps:t},(e=>d?d(e):null))};const g=e=>{let{children:t,tabProps:o,templates:r}=e;return r?(0,a.createElement)(a.Fragment,null,r.map((e=>(0,a.createElement)(l.Fill,{name:`woocommerce_product_tab_${e.name}`,key:e.name},(r=>u(t,e.order||20,{},{tabProps:o,templateName:e.name,order:e.order||20,...r})))))):(console.warn("WooProductTabItem fill is missing templates property."),null)};g.Slot=e=>{let{fillProps:t,template:o,children:r}=e;return(0,a.createElement)(l.Slot,{name:`woocommerce_product_tab_${o}`,fillProps:t},(e=>{const o=e.reduce(((e,o)=>{let{childrenMap:r,tabs:n}=e;var a;const i=o[0].props;if(i&&i.tabProps){r[i.tabProps.name]=o[0];const e="function"==typeof i.tabProps?i.tabProps(t):i.tabProps;n.push({...e,order:null!==(a=i.order)&&void 0!==a?a:20})}return{childrenMap:r,tabs:n}}),{childrenMap:{},tabs:[]}),n=o.tabs.sort(((e,t)=>e.order-t.order));return r(n,o.childrenMap)}))};const b=window.wp.data,v=window.wp.i18n,w=window.wp.url,E=window.wc.data,y="woocommerce_product_editor_show_feedback_bar",k="woocommerce_new_product_management_enabled",C="__ADD_NEW_SHIPPING_CLASS_OPTION__",S="tab/general",x=`${S}/details`,N="product-block-editor-v1",T=window.wc.tracks,P=e=>{let{product:t,permalinkPrefix:o,permalinkSuffix:r,onCancel:n,onSaved:i,saveHandler:c}=e;const{createNotice:s}=(0,b.useDispatch)("core/notices"),[m,u]=(0,a.useState)(!1),[d,p]=(0,a.useState)(t.slug||(0,w.cleanForSlug)(t.name)),_=o+(0,w.cleanForSlug)(d)+r;return(0,a.createElement)(l.Modal,{title:(0,v.__)("Edit product link","woocommerce"),onRequestClose:()=>n(),className:"woocommerce-product-link-edit-modal"},(0,a.createElement)("div",{className:"woocommerce-product-link-edit-modal__wrapper"},(0,a.createElement)("p",{className:"woocommerce-product-link-edit-modal__description"},(0,v.__)("Create a unique link for this product. Use simple, descriptive words and numbers. We'll replace spaces with hyphens (-).","woocommerce")),(0,a.createElement)(l.TextControl,{label:(0,v.__)("Product link","woocommerce"),name:"slug",value:d,onChange:p,hideLabelFromVision:!0,help:(0,a.createInterpolateElement)((0,v.__)("Preview: <link />","woocommerce"),{link:(0,a.createElement)("strong",null,_)})}),(0,a.createElement)("div",{className:"woocommerce-product-link-edit-modal__buttons"},(0,a.createElement)(l.Button,{isSecondary:!0,onClick:()=>n()},(0,v.__)("Cancel","woocommerce")),(0,a.createElement)(l.Button,{isPrimary:!0,isBusy:m,disabled:m||d===t.slug,onClick:async()=>{u(!0),await(async()=>{var e;(0,T.recordEvent)("product_update_slug",{source:N,product_id:t.id,product_type:t.type});const{slug:o,permalink:r}=null!==(e=await c(d))&&void 0!==e?e:{};o?s(o===(0,w.cleanForSlug)(d)?"success":"info",o===(0,w.cleanForSlug)(d)?(0,v.__)("Product link successfully updated.","woocommerce"):(0,v.__)("Product link already existed, updated to ","woocommerce")+r):s("error",(0,v.__)("Failed to update product link.","woocommerce")),i()})(),u(!1)}},(0,v.__)("Save","woocommerce")))))},A=window.wc.number,I=window.wc.currency,M=e=>{var t;return window.wcAdminFeatures["product-variation-management"]&&(null===(t=e.attributes)||void 0===t?void 0:t.find((e=>e.options.length&&e.variation)))?"variable":"simple"},R="AUTO-DRAFT";function O(e){return E.productReadOnlyProperties.forEach((t=>delete e[t])),e}function L(e,t){return"publish"===e&&t?[{label:(0,v.__)("View in store","woocommerce"),onClick:()=>{(0,T.recordEvent)("product_preview_changes",{source:N}),window.open(t,"_blank")}}]:[]}function D(){const{createProduct:e,updateProduct:t,deleteProduct:o}=(0,b.useDispatch)(E.PRODUCTS_STORE_NAME),{batchUpdateProductVariations:r,invalidateResolutionForStoreSelector:n}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME),{createNotice:i}=(0,b.useDispatch)("core/notices"),[c,l]=(0,a.useState)(!1),[s,m]=(0,a.useState)({draft:!1,publish:!1}),u=(0,a.useContext)(I.CurrencyContext),d=(0,a.useCallback)((async function(t,o){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return m({...s,[o]:!0}),e({...t,status:o,type:M(t)}).then((e=>{if(!r){const t="publish"===e.status?(0,v.__)("Product published.","woocommerce"):(0,v.__)("Product successfully created.","woocommerce");i("success",`🎉‎ ${t}`,{actions:L(e.status,e.permalink)})}return m({...s,[o]:!1}),e}),(e=>(r||i("error","publish"===o?(0,v.__)("Failed to publish product.","woocommerce"):(0,v.__)("Failed to create product.","woocommerce")),m({...s,[o]:!1}),e)))}),[s]);async function p(e,t){if(t)return r({product_id:e},{update:Object.values(t).flatMap(Object.entries).map((e=>{let[t,o]=e;return{id:t,menu_order:o}}))})}const _=(0,a.useCallback)((async function(e,o,r){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return m({...s,[r]:!0}),t(e,{...o,status:r,type:M(o)}).then((async e=>p(e.id,o.variationsOrder).then((()=>n("getProductVariations"))).then((()=>e)))).then((e=>{if(!a){const t="draft"===o.status&&"publish"===e.status?(0,v.__)("Product published.","woocommerce"):(0,v.__)("Product successfully updated.","woocommerce");i("success",`🎉‎ ${t}`,{actions:L(e.status,e.permalink)})}return m({...s,[r]:!1}),e}),(e=>(a||i("error",(0,v.__)("Failed to update product.","woocommerce")),m({...s,[r]:!1}),e)))}),[s]),f=(0,a.useCallback)((async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"draft";return d(O({...e,name:(e.name||R)+" - Copy"}),t)}),[]),h=(0,a.useCallback)((async e=>(l(!0),o(e).then((e=>{const t=(0,v.__)("Successfully moved product to Trash.","woocommerce");return i("success",`🎉‎ ${t}`),l(!1),e}),(e=>(i("error",(0,v.__)("Failed to move product to Trash.","woocommerce")),l(!1),e))))),[]),g=(0,a.useCallback)((e=>{if(!e.length)return"";const{getCurrencyConfig:t}=u,{decimalSeparator:o}=t(),r=new RegExp("[^-\\d\\%s]+".replace("%s",o),"g"),n=new RegExp("[%s](?=%s*[%s])".replaceAll("%s",o),"g");return e.replace(r,"").replace(n,"").replace(o,".")}),[u]),w=(0,a.useCallback)((e=>{const{getCurrencyConfig:t}=u,{decimalSeparator:o,thousandSeparator:r}=t();return A.numberFormat({decimalSeparator:o,thousandSeparator:r},e)}),[u]),y=(0,a.useCallback)((e=>{const{getCurrencyConfig:t}=u,{decimalSeparator:o,thousandSeparator:r}=t();return A.parseNumber({decimalSeparator:o,thousandSeparator:r},e)}),[u]);return{createProductWithStatus:d,updateProductWithStatus:_,copyProductWithStatus:f,deleteProductAndRedirect:h,sanitizePrice:g,formatNumber:w,parseNumber:y,isUpdatingDraft:s.draft,isUpdatingPublished:s.publish,isDeleting:c}}const B=e=>{let{}=e;const{updateProductWithStatus:t}=D(),[o,r]=(0,a.useState)(!1),{getInputProps:n,values:c,touched:s,errors:m,setValue:u,resetForm:d}=(0,i.useFormContext)(),{permalinkPrefix:p,permalinkSuffix:_}=(0,b.useSelect)((e=>{const{getPermalinkParts:t}=e(E.PRODUCTS_STORE_NAME);if(c.id){const e=t(c.id);return{permalinkPrefix:null==e?void 0:e.prefix,permalinkSuffix:null==e?void 0:e.suffix}}return{}}));return(0,a.createElement)("div",null,(0,a.createElement)(l.TextControl,{label:(0,a.createInterpolateElement)((0,v.__)("Name <required />","woocommerce"),{required:(0,a.createElement)("span",{className:"woocommerce-product-form__optional-input"},(0,v.__)("(required)","woocommerce"))}),name:"product-details-name",placeholder:(0,v.__)("e.g. 12 oz Coffee Mug","woocommerce"),...n("name",{onBlur:()=>{var e;!c.sku&&(null===(e=c.name)||void 0===e?void 0:e.length)&&u("sku",(0,w.cleanForSlug)(c.name))}})}),c.id&&!(Boolean(s.name)&&Boolean(m.name))&&p&&(0,a.createElement)("span",{className:"woocommerce-product-form__secondary-text product-details-section__product-link"},(0,v.__)("Product link","woocommerce"),": ",(0,a.createElement)("a",{href:c.permalink,target:"_blank",rel:"noreferrer"},p,c.slug||(0,w.cleanForSlug)(c.name),_),(0,a.createElement)(l.Button,{variant:"link",onClick:()=>r(!0)},(0,v.__)("Edit","woocommerce"))),o&&(0,a.createElement)(P,{permalinkPrefix:p||"",permalinkSuffix:_||"",product:c,onCancel:()=>r(!1),onSaved:()=>r(!1),saveHandler:async e=>{const o=await t(c.id,{slug:e},c.status,!0);if(o&&o.id)return d({...c,slug:o.slug,permalink:o.permalink},s,m),{slug:o.slug,permalink:o.permalink}}}))};function F(e){return{onChange:t=>{(0,T.recordEvent)(`product_checkbox_${e}`,{checked:t})}}}const V=()=>{const{getCheckboxControlProps:e}=(0,i.useFormContext)();return(0,a.createElement)(l.CheckboxControl,{label:(0,a.createElement)(a.Fragment,null,(0,v.__)("Feature this product","woocommerce"),(0,a.createElement)(i.__experimentalTooltip,{text:(0,a.createInterpolateElement)((0,v.__)("Include this product in a featured section on your website with a widget or shortcode. <moreLink />","woocommerce"),{moreLink:(0,a.createElement)(i.Link,{href:"https://woocommerce.com/document/woocommerce-shortcodes/#products",target:"_blank",type:"external",onClick:()=>(0,T.recordEvent)("add_product_learn_more",{category:"product-details"})},(0,v.__)("Learn more","woocommerce"))})})),...e("featured",F("featured"))})},H=window.wp.blocks,U=()=>{const{setValue:e,values:t}=(0,i.useFormContext)(),[o,r]=(0,a.useState)((0,H.parse)(t.short_description||""));return(0,a.createElement)(i.__experimentalRichTextEditor,{label:(0,v.__)("Summary","woocommerce"),blocks:o,onChange:t=>{r(t),o.length&&e("short_description",(0,H.serialize)(t))},placeholder:(0,v.__)("Summarize this product in 1-2 short sentences. We'll show it at the top of the page.","woocommerce")})},z=()=>{const{setValue:e,values:t}=(0,i.useFormContext)(),[o,r]=(0,a.useState)((0,H.parse)(t.description||""));return(0,a.createElement)(i.__experimentalRichTextEditor,{label:(0,v.__)("Description","woocommerce"),blocks:o,onChange:t=>{r(t),o.length&&e("description",(0,H.serialize)(t))},placeholder:(0,v.__)("Describe this product. What makes it unique? What are its most important features?","woocommerce")})},j=window.lodash,{Fill:$,Slot:G}=(0,l.createSlotFill)("WooProductMoreMenuItem");$.Slot=e=>{let{fillProps:t}=e;return(0,a.createElement)(G,{fillProps:t},(e=>(0,j.isEmpty)(e)?null:(0,a.createElement)(a.Fragment,null,e)))};const W=$,q=window.wp.plugins,Z=window.wc.adminLayout,J=window.wp.coreData,Y=window.wp.keyboardShortcuts,X=e=>{let{isActive:t}=e;return(0,a.useEffect)((()=>{let e=!1;return document.body.classList.contains("sticky-menu")&&(e=!0,document.body.classList.remove("sticky-menu")),()=>{e&&document.body.classList.add("sticky-menu")}}),[]),(0,a.useEffect)((()=>(t?document.body.classList.add("is-fullscreen-mode"):document.body.classList.remove("is-fullscreen-mode"),()=>{t&&document.body.classList.remove("is-fullscreen-mode")})),[t]),null};function K(){return K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},K.apply(this,arguments)}var Q=o(83849),ee=o.n(Q);const te=window.wp.compose,oe=(0,a.forwardRef)((function(e,t){let{footer:o,header:r,sidebar:n,secondarySidebar:i,notices:c,content:s,drawer:m,actions:u,labels:d,className:p,shortcuts:_}=e;const f=(0,l.__unstableUseNavigateRegions)(_);!function(e){(0,a.useEffect)((()=>{const t=document&&document.querySelector(`html:not(.${e})`);if(t)return t.classList.toggle(e),()=>{t.classList.toggle(e)}}),[e])}("interface-interface-skeleton__html-container");const h={drawer:(0,v.__)("Drawer"),header:(0,v.__)("Header"),body:(0,v.__)("Content"),secondarySidebar:(0,v.__)("Block Library"),sidebar:(0,v.__)("Settings"),actions:(0,v.__)("Publish"),footer:(0,v.__)("Footer"),...d};return(0,a.createElement)("div",K({},f,{ref:(0,te.useMergeRefs)([t,f.ref]),className:ee()(p,"interface-interface-skeleton",f.className,!!o&&"has-footer")}),!!m&&(0,a.createElement)("div",{className:"interface-interface-skeleton__drawer",role:"region","aria-label":h.drawer,tabIndex:"-1"},m),(0,a.createElement)("div",{className:"interface-interface-skeleton__editor"},!!r&&(0,a.createElement)("div",{className:"interface-interface-skeleton__header",role:"region","aria-label":h.header,tabIndex:"-1"},r),(0,a.createElement)("div",{className:"interface-interface-skeleton__body"},!!i&&(0,a.createElement)("div",{className:"interface-interface-skeleton__secondary-sidebar",role:"region","aria-label":h.secondarySidebar,tabIndex:"-1"},i),!!c&&(0,a.createElement)("div",{className:"interface-interface-skeleton__notices"},c),(0,a.createElement)("div",{className:"interface-interface-skeleton__content",role:"region","aria-label":h.body,tabIndex:"-1"},s),!!n&&(0,a.createElement)("div",{className:"interface-interface-skeleton__sidebar",role:"region","aria-label":h.sidebar,tabIndex:"-1"},n),!!u&&(0,a.createElement)("div",{className:"interface-interface-skeleton__actions",role:"region","aria-label":h.actions,tabIndex:"-1"},u))),!!o&&(0,a.createElement)("div",{className:"interface-interface-skeleton__footer",role:"region","aria-label":h.footer,tabIndex:"-1"},o))})),re=window.wp.primitives,ne=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"}));function ae(e){let{as:t=l.DropdownMenu,className:o,label:r=(0,v.__)("Options"),popoverProps:n,toggleProps:i,children:c}=e;return(0,a.createElement)(t,{className:ee()("interface-more-menu-dropdown",o),icon:ne,label:r,popoverProps:{position:"bottom left",...n,className:ee()("interface-more-menu-dropdown__content",null==n?void 0:n.className)},toggleProps:{tooltipPosition:"bottom",...i}},(e=>c(e)))}const ie=window.wp.deprecated;var ce=o.n(ie);const le=window.wp.preferences,se=(e,t)=>o=>{let{registry:r}=o;t&&r.dispatch(le.store).set(e,"complementaryArea",t)},me=e=>t=>{let{registry:o}=t;o.dispatch(le.store).set(e,"complementaryArea",null)},ue=(e,t)=>o=>{let{registry:r}=o;if(!t)return;const n=r.select(le.store).get(e,"pinnedItems");!0!==(null==n?void 0:n[t])&&r.dispatch(le.store).set(e,"pinnedItems",{...n,[t]:!0})},de=(e,t)=>o=>{let{registry:r}=o;if(!t)return;const n=r.select(le.store).get(e,"pinnedItems");r.dispatch(le.store).set(e,"pinnedItems",{...n,[t]:!1})};function pe(e,t){return function(o){let{registry:r}=o;ce()("dispatch( 'core/interface' ).toggleFeature",{since:"6.0",alternative:"dispatch( 'core/preferences' ).toggle"}),r.dispatch(le.store).toggle(e,t)}}function _e(e,t,o){return function(r){let{registry:n}=r;ce()("dispatch( 'core/interface' ).setFeatureValue",{since:"6.0",alternative:"dispatch( 'core/preferences' ).set"}),n.dispatch(le.store).set(e,t,!!o)}}function fe(e,t){return function(o){let{registry:r}=o;ce()("dispatch( 'core/interface' ).setFeatureDefaults",{since:"6.0",alternative:"dispatch( 'core/preferences' ).setDefaults"}),r.dispatch(le.store).setDefaults(e,t)}}const he=(0,b.createRegistrySelector)((e=>(t,o)=>e(le.store).get(o,"complementaryArea"))),ge=(0,b.createRegistrySelector)((e=>(t,o,r)=>{var n;const a=e(le.store).get(o,"pinnedItems");return null===(n=null==a?void 0:a[r])||void 0===n||n})),be=(0,b.createRegistrySelector)((e=>(t,o,r)=>(ce()("select( 'core/interface' ).isFeatureActive( scope, featureName )",{since:"6.0",alternative:"select( 'core/preferences' ).get( scope, featureName )"}),!!e(le.store).get(o,r)))),ve=(0,b.createReduxStore)("core/interface",{reducer:()=>{},actions:e,selectors:t});(0,b.register)(ve);const we=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),Ee=window.wc.customerEffortScore,ye=()=>{const{updateOptions:e}=(0,b.useDispatch)(E.OPTIONS_STORE_NAME),{shouldShowFeedbackBar:t}=(0,b.useSelect)((e=>{var t;const{getOption:o,hasFinishedResolution:r}=e(E.OPTIONS_STORE_NAME),n=o(y);return{shouldShowFeedbackBar:!!r("getOption",[y])&&(null===(t=window.wcTracks)||void 0===t?void 0:t.isEnabled)&&"yes"===n}}),[]);return{shouldShowFeedbackBar:t,maybeShowFeedbackBar:async()=>{var t;const{showFeedbackBarOption:o}=await(async()=>{const{getOption:e}=(0,b.resolveSelect)(E.OPTIONS_STORE_NAME);return{showFeedbackBarOption:await e(y)}})();(null===(t=window.wcTracks)||void 0===t?void 0:t.isEnabled)&&"no"!==o&&e({[y]:"yes"})},hideFeedbackBar:()=>{e({[y]:"no"})}}},ke=e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase());function Ce(e){let{product:t}=e;const{hideFeedbackBar:o,shouldShowFeedbackBar:r}=ye(),{showCesModal:n,showProductMVPFeedbackModal:c}=(0,Ee.useCustomerEffortScoreModal)(),s=()=>({product_type:t.type});return(0,a.createElement)(a.Fragment,null,r&&(0,a.createElement)("div",{className:"woocommerce-product-mvp-ces-footer"},(0,a.createElement)(i.Pill,null,"Beta"),(0,a.createElement)("div",{className:"woocommerce-product-mvp-ces-footer__message"},(0,a.createInterpolateElement)((0,v.__)("How is your experience with the new product form? <span><shareButton>Share feedback</shareButton> or <turnOffButton>turn it off</turnOffButton></span>","woocommerce"),{span:(0,a.createElement)("span",{className:"woocommerce-product-mvp-ces-footer__message-buttons"}),shareButton:(0,a.createElement)(l.Button,{variant:"link",onClick:()=>{(0,T.recordEvent)("product_editor_feedback_bar_share_feedback_click",{...s()}),n({action:"product_editor",showDescription:!1,title:(0,v.__)("What do you think of the new product form?","woocommerce"),firstQuestion:(0,v.__)("The product editing screen is easy to use","woocommerce"),secondQuestion:(0,v.__)("Product form is easy to use","woocommerce"),onsubmitLabel:(0,v.__)("Thanks for the feedback — we'll put it to good use!","woocommerce"),shouldShowComments:()=>!1,getExtraFieldsToBeShown:(e,t,o)=>(0,a.createElement)(a.Fragment,null,(0,a.createElement)(l.BaseControl,{id:"feedback_additional_thoughts",className:"woocommerce-product-feedback__additional-thoughts",label:(0,a.createInterpolateElement)((0,v.__)("ADDITIONAL THOUGHTS <optional />","woocommerce"),{optional:(0,a.createElement)("span",{className:"woocommerce-product-feedback__optional-input"},(0,v.__)("(OPTIONAL)","woocommerce"))})},(0,a.createElement)(l.TextareaControl,{value:e.additional_thoughts||"",onChange:o=>t({...e,additional_thoughts:o}),help:(null==o?void 0:o.additional_thoughts)||""})),(0,a.createElement)(l.BaseControl,{id:"feedback_email",className:"woocommerce-product-feedback__email",label:(0,a.createInterpolateElement)((0,v.__)("YOUR EMAIL ADDRESS <optional />","woocommerce"),{optional:(0,a.createElement)("span",{className:"woocommerce-product-feedback__optional-input"},(0,v.__)("(OPTIONAL)","woocommerce"))})},(0,a.createElement)(l.TextControl,{value:e.email||"",onChange:o=>t({...e,email:o}),help:(null==o?void 0:o.email)||""}),(0,a.createElement)("span",null,(0,v.__)("In case you want to participate in further discussion and future user research.","woocommerce")))),validateExtraFields:e=>{let{email:t="",additional_thoughts:o=""}=e;const r={};return t.length>0&&!ke(t)&&(r.email=(0,v.__)("Please enter a valid email address.","woocommerce")),(null==o?void 0:o.length)>500&&(r.additional_thoughts=(0,v.__)("Please enter no more than 500 characters.","woocommerce")),r}},{},{type:"snackbar"})}}),turnOffButton:(0,a.createElement)(l.Button,{onClick:()=>{(0,T.recordEvent)("product_editor_feedback_bar_turnoff_editor_click",{...s()}),o(),c()},variant:"link"})})),(0,a.createElement)(l.Button,{className:"woocommerce-product-mvp-ces-footer__close-button",icon:we,label:(0,v.__)("Hide this message","woocommerce"),onClick:()=>{(0,T.recordEvent)("product_editor_feedback_bar_dismiss_click",{...s()}),o()}})))}const Se=window.wc.wcSettings;var xe=o(7862),Ne=o.n(xe);const Te=window.wc.experimental;function Pe(e){let{recordScoreCallback:t,onCloseModal:o}=e;const[r,n]=(0,a.useState)(!1),[i,c]=(0,a.useState)(!1),[s,m]=(0,a.useState)(!1),[u,d]=(0,a.useState)(!1),[p,_]=(0,a.useState)(!1),f=[{key:"missing-features",label:(0,v.__)("Missing features","woocommerce"),checked:r,onChange:n},{key:"missing-plugins",label:(0,v.__)("Missing plugins","woocommerce"),checked:i,onChange:c},{key:"difficult-to-use",label:(0,v.__)("It's difficult to use","woocommerce"),checked:s,onChange:m},{key:"slow-buggy-or-broken",label:(0,v.__)("It's slow, buggy, or broken","woocommerce"),checked:u,onChange:d},{key:"other",label:(0,v.__)("Other (describe below)","woocommerce"),checked:p,onChange:_}],[h,g]=(0,a.useState)(""),[w,E]=(0,a.useState)(""),y=f.filter((e=>e.checked)).map((e=>e.key)),{createSuccessNotice:k}=(0,b.useDispatch)("core/notices"),C=(0,a.createElement)("span",{className:"woocommerce-product-mvp-feedback-modal__optional"},(0,v.__)("(optional)","woocommerce"));return(0,a.createElement)(Ee.FeedbackModal,{title:(0,v.__)("Thanks for trying out the new product form!","woocommerce"),onSubmit:()=>{t(y,h,w),k((0,v.__)("Thanks for the feedback — we'll put it to good use!","woocommerce"))},onModalClose:o,isSubmitButtonDisabled:!y.length,submitButtonLabel:(0,v.__)("Send","woocommerce"),cancelButtonLabel:(0,v.__)("Skip","woocommerce"),className:"woocommerce-product-mvp-feedback-modal"},(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Te.Text,{variant:"subtitle.small",as:"p",weight:"600",size:"14",lineHeight:"20px"}),(0,a.createElement)("fieldset",{className:"woocommerce-product-mvp-feedback-modal__reason"},(0,a.createElement)("legend",null,(0,v.__)("What made you turn off the new product form?","woocommerce")),(0,a.createElement)("div",{className:"woocommerce-product-mvp-feedback-modal__checkboxes"},f.map(((e,t)=>(0,a.createElement)(l.CheckboxControl,{key:t,label:e.label,name:e.key,checked:e.checked,onChange:e.onChange}))))),(0,a.createElement)("div",{className:"woocommerce-product-mvp-feedback-modal__comments"},(0,a.createElement)(l.TextareaControl,{label:(0,a.createInterpolateElement)((0,v.__)("Additional thoughts <optional/>","woocommerce"),{optional:C}),value:h,onChange:e=>g(e),rows:5})),(0,a.createElement)("div",{className:"woocommerce-product-mvp-feedback-modal__email"},(0,a.createElement)(l.TextControl,{label:(0,a.createInterpolateElement)((0,v.__)("Your email address <optional/>","woocommerce"),{optional:C}),value:w,onChange:e=>E(e),rows:5,help:(0,v.__)("In case you want to participate in further discussion and future user research.","woocommerce")}))))}Pe.propTypes={recordScoreCallback:Ne().func.isRequired,onCloseModal:Ne().func};const Ae=e=>{let{productId:t}=e;const{values:o}=(0,i.useFormContext)(),{hideProductMVPFeedbackModal:r}=(0,b.useDispatch)(Ee.STORE_KEY),{isProductMVPModalVisible:n}=(0,b.useSelect)((e=>{const{isProductMVPFeedbackModalVisible:t}=e(Ee.STORE_KEY);return{isProductMVPModalVisible:t()}})),c=null!=t?t:o.id,{_feature_nonce:l}=(0,Se.getSetting)("admin",{}),s=c?(0,Se.getAdminLink)(`post.php?post=${c}&action=edit&product_block_editor=0&_feature_nonce=${l}`):(0,Se.getAdminLink)(`post-new.php?post_type=product&product_block_editor=0&_feature_nonce=${l}`);return n?(0,a.createElement)(Pe,{recordScoreCallback:(e,t,o)=>{(0,T.recordEvent)("product_mvp_feedback",{action:"disable",checked:e,comments:t||"",email:o}),r(),window.location.href=`${s}&new-product-experience-disabled=true`},onCloseModal:()=>{(0,T.recordEvent)("product_mvp_feedback",{action:"disable",checked:"",comments:""}),r(),window.location.href=s}}):null};function Ie(e){let{product:t}=e;return(0,a.createElement)(Z.WooFooterItem,null,(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Ce,{product:t}),(0,a.createElement)(Ae,{productId:t.id})))}const Me=(e,t)=>Boolean(e)&&e!==t?e:t===R?(0,v.__)("Add new product","woocommerce"):t,Re=()=>(0,a.createElement)(a.Fragment,null,(0,a.createElement)(ae,{toggleProps:{onClick:()=>(0,T.recordEvent)("product_dropdown_click")},popoverProps:{className:"woocommerce-product-header__more-menu"}},(e=>{let{onClose:t}=e;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(W.Slot,{fillProps:{onClose:t}}))}))),Oe=window.wc.navigation;function Le(e){switch(e.code){case"variable_product_no_variation_prices":return e.message;case"product_invalid_sku":return(0,v.__)("Invalid or duplicated SKU.","woocommerce");case"product_create_error":return(0,v.__)("Failed to create product.","woocommerce");case"product_publish_error":return(0,v.__)("Failed to publish product.","woocommerce");case"product_preview_error":return(0,v.__)("Failed to preview product.","woocommerce");default:return(0,v.__)("Failed to save product.","woocommerce")}}const De=(0,a.createContext)({errors:{},registerValidator:()=>()=>{},validateField:()=>Promise.resolve(void 0),validateAll:()=>Promise.resolve({})});function Be(){const e=(0,a.useContext)(De),[t,o]=(0,a.useState)(!1);return{isValidating:t,validate:async t=>(o(!0),new Promise(((o,r)=>{e.validateAll(t).then((e=>{!function(e){return Object.values(e).some(Boolean)}(e)?o():r(e)})).catch((()=>{r(e.errors)}))})).finally((()=>{o(!1)})))}}function Fe(e){let{productStatus:t,...o}=e;const{createErrorNotice:r}=(0,b.useDispatch)("core/notices"),n=function(e){let{productStatus:t,disabled:o,onClick:r,onSaveSuccess:n,onSaveError:i,...c}=e;const l=(0,a.useRef)(),[s]=(0,J.useEntityProp)("postType","product","id"),[m]=(0,J.useEntityProp)("postType","product","permalink"),{hasEdits:u,isDisabled:d}=(0,b.useSelect)((e=>{const{hasEditsForEntityRecord:t,isSavingEntityRecord:o}=e("core");return{isDisabled:o("postType","product",s),hasEdits:t("postType","product",s)}}),[s]),{isValidating:p,validate:_}=Be(),f=o||d||p,{editEntityRecord:h,saveEditedEntityRecord:g}=(0,b.useDispatch)("core");let w;return"string"==typeof m&&(w=new URL(m),w.searchParams.append("preview","true")),{"aria-label":(0,v.__)("Preview in new tab","woocommerce"),children:(0,v.__)("Preview","woocommerce"),target:"_blank",...c,ref(e){"function"==typeof c.ref&&c.ref(e),l.current=e},"aria-disabled":f,href:null==w?void 0:w.toString(),variant:"tertiary",onClick:async function(e){var o;if(f)return e.preventDefault();if(r&&r(e),u){e.preventDefault();try{await _(),"auto-draft"===t&&await h("postType","product",s,{status:"draft"});const e=await g("postType","product",s,{throwOnError:!0});null===(o=l.current)||void 0===o||o.click(),n&&n(e)}catch(e){if(i){let t=e;t.code||(t={code:"product_preview_error"}),i(t)}}}}}}({productStatus:t,...o,onClick(){(0,T.recordEvent)("product_preview_changes",{source:N})},onSaveSuccess(e){if("auto-draft"===t){const t=(0,Oe.getNewPath)({},`/product/${e.id}`);(0,Oe.navigateTo)({url:t})}},onSaveError(e){const t=Le(e);r(t)}});return(0,a.createElement)(l.Button,{...n})}function Ve(e,t){const{attributes:o,categories:r,cross_sell_ids:n,description:a,dimensions:i,downloadable:c,id:l,images:s,manage_stock:m,menu_order:u,purchase_note:d,reviews_allowed:p,sale_price:_,short_description:f,tags:h,type:g,upsell_ids:b,virtual:v,weight:w}=t,E={virtual:v,downloadable:c};(0,T.recordEvent)(e,{attributes:o.length?"yes":"no",categories:r.length?"yes":"no",cross_sells:n.length?"yes":"no",description:a.length?"yes":"no",dimensions:i.length.length||i.width.length||i.height.length?"yes":"no",enable_reviews:p?"yes":"no",is_downloadable:c?"yes":"no",is_virtual:v?"yes":"no",manage_stock:m?"yes":"no",menu_order:u?"yes":"no",product_id:l,product_gallery:s.length>1?"yes":"no",product_image:s.length?"yes":"no",product_type:g,product_type_options:Object.keys(E).filter((e=>E[e])).join(","),purchase_note:d.length?"yes":"no",sale_price:_.length?"yes":"no",short_description:f.length?"yes":"no",source:"product-blocks-editor-v1",tags:h.length?"yes":"no",upsells:b.length?"yes":"no",weight:w.length?"yes":"no"})}const He=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"}));function Ue(e){let{productStatus:t,...o}=e;const{createSuccessNotice:r,createErrorNotice:n}=(0,b.useDispatch)("core/notices"),{maybeShowFeedbackBar:i}=ye(),c=function(e){let{productStatus:t,disabled:o,onClick:r,onSaveSuccess:n,onSaveError:i,...c}=e;const[s]=(0,J.useEntityProp)("postType","product","id"),{hasEdits:m,isDisabled:u}=(0,b.useSelect)((e=>{const{hasEditsForEntityRecord:t,isSavingEntityRecord:o}=e("core");return{isDisabled:o("postType","product",s),hasEdits:t("postType","product",s)}}),[s]),{isValidating:d,validate:p}=Be(),_=o||u||"publish"!==t&&!m||d,{editEntityRecord:f,saveEditedEntityRecord:h}=(0,b.useDispatch)("core");let g;return g="publish"===t?(0,v.__)("Switch to draft","woocommerce"):m||"auto-draft"===t?(0,v.__)("Save draft","woocommerce"):(0,a.createElement)(a.Fragment,null,(0,a.createElement)(l.Icon,{icon:He}),(0,v.__)("Saved","woocommerce")),{children:g,...c,"aria-disabled":_,variant:"tertiary",onClick:async function(e){if(_)return e.preventDefault();r&&r(e);try{await p({status:"draft"}),await f("postType","product",s,{status:"draft"});const e=await h("postType","product",s,{throwOnError:!0});n&&n(e)}catch(e){i&&i(e)}}}}({productStatus:t,...o,onSaveSuccess(e){if(Ve("product_edit",e),r((0,v.__)("Product saved as draft.","woocommerce")),i(),"auto-draft"===t){const t=(0,Oe.getNewPath)({},`/product/${e.id}`);(0,Oe.navigateTo)({url:t})}},onSaveError(e){const t=Le(e);n(t)}});return(0,a.createElement)(l.Button,{...c})}function ze(e){let{productStatus:t,...o}=e;const{createSuccessNotice:r,createErrorNotice:n}=(0,b.useDispatch)("core/notices"),{maybeShowFeedbackBar:i}=ye(),c=function(e){let{productStatus:t,disabled:o,onClick:r,onPublishSuccess:n,onPublishError:a,...i}=e;const{isValidating:c,validate:l}=Be(),[s]=(0,J.useEntityProp)("postType","product","id"),{isSaving:m}=(0,b.useSelect)((e=>{const{isSavingEntityRecord:t}=e("core");return{isSaving:t("postType","product",s)}}),[s]),u=m||c,d="publish"===t,{editEntityRecord:p,saveEditedEntityRecord:_}=(0,b.useDispatch)("core");return{children:d?(0,v.__)("Update","woocommerce"):(0,v.__)("Add","woocommerce"),...i,isBusy:u,variant:"primary",onClick:async function(e){r&&r(e);try{await l({status:"publish"}),d||await p("postType","product",s,{status:"publish"});const e=await _("postType","product",s,{throwOnError:!0});e&&n&&n(e)}catch(e){if(a){let t=e;t.code||(t={code:d?"product_publish_error":"product_create_error"},e.variations&&(t.code="variable_product_no_variation_prices",t.message=e.variations)),a(t)}}}}}({productStatus:t,...o,onPublishSuccess(e){const o="publish"===t;o&&Ve("product_update",e);const n=o?(0,v.__)("Product updated.","woocommerce"):(0,v.__)("Product added.","woocommerce"),a={icon:"🎉",actions:[{label:(0,v.__)("View in store","woocommerce"),url:e.permalink,onClick(t){t.preventDefault(),window.open(e.permalink,"_blank")}}]};if(r(n,a),i(),"auto-draft"===t){const t=(0,Oe.getNewPath)({},`/product/${e.id}`);(0,Oe.navigateTo)({url:t})}},onPublishError(e){const t=Le(e);n(t)}});return(0,a.createElement)(l.Button,{...c})}const je="woocommerce_product_tabs";function $e(e){let{onChange:t=(()=>{})}=e;const[o,r]=(0,a.useState)(null),n=(0,Oe.getQuery)(),[i]=(0,J.useEntityProp)("postType","product","id"),c=(0,b.useSelect)((e=>e("core").getEditedEntityRecord("postType","product",i)));return(0,a.useEffect)((()=>{t(o)}),[o]),(0,a.useEffect)((()=>{n.tab&&r(n.tab)}),[n.tab]),(0,a.createElement)(l.NavigableMenu,{role:"tablist",onNavigate:function(e,t){t.click()},className:"woocommerce-product-tabs",orientation:"horizontal"},(0,a.createElement)(l.Slot,{fillProps:{onClick:e=>{(0,Oe.navigateTo)({url:(0,Oe.getNewPath)({tab:e})}),(0,T.recordEvent)("product_tab_click",function(e,t){const o={product_tab:e,product_type:t.type,source:N};return"inventory"===e?{...o,is_store_stock_management_enabled:t.manage_stock}:o}(e,c))}},name:je},(e=>d?(function(e){var t,n;if(!o)for(let o=0;o<e.length;o++){if(e[o][0].props.disabled)continue;const a=(null===(n=null===(t=e[o][0].props)||void 0===t?void 0:t.children)||void 0===n?void 0:n.key)||null;return void r(a)}}(e),d(e)):null)))}function Ge(e){let{onTabSelect:t}=e;const[o]=(0,J.useEntityProp)("postType","product","id"),r=(0,b.useSelect)((e=>{const{getEntityRecord:t}=e("core");return t("postType","product",o)}),[o]),[n]=(0,J.useEntityProp)("postType","product","name");return(0,a.createElement)("div",{className:"woocommerce-product-header",role:"region","aria-label":(0,v.__)("Product Editor top bar.","woocommerce"),tabIndex:-1},(0,a.createElement)("div",{className:"woocommerce-product-header__inner"},(0,a.createElement)("div",null),(0,a.createElement)("h1",{className:"woocommerce-product-header__title"},Me(n,r.name)),(0,a.createElement)("div",{className:"woocommerce-product-header__actions"},(0,a.createElement)(Ue,{productStatus:r.status}),(0,a.createElement)(Fe,{productStatus:r.status}),(0,a.createElement)(ze,{productStatus:r.status}),(0,a.createElement)(Z.WooHeaderItem.Slot,{name:"product"}),(0,a.createElement)(Re,null))),(0,a.createElement)($e,{onChange:t}))}const We=window.wp.mediaUtils,qe=window.wp.blockEditor,Ze=e=>(t,o)=>{const r=new URLSearchParams(t.search),n=new URLSearchParams(o.search);return r.delete("tab"),n.delete("tab"),(void 0===e||"/add-product"!==n.get("path")||r.get("path")!=="/product/"+e)&&r.toString()!==n.toString()};function Je(e){return delete e.content,delete e.blocks,e}function Ye(){const[e]=(0,J.useEntityProp)("postType","product","id"),{edits:t}=(0,b.useSelect)((t=>{const{getEntityRecordNonTransientEdits:o}=t("core");return{edits:Je(o("postType","product",e))}}),[e]);return{hasEdit:function(e){return t.hasOwnProperty(e)},hasEdits:Object.keys(t).length>0}}function Xe(e){let{context:t,settings:o,product:r}=e;!function(){const[e]=(0,J.useEntityProp)("postType","product","id"),{hasEdits:t}=Ye(),{isSaving:o}=(0,b.useSelect)((t=>{const{isSavingEntityRecord:o}=t("core");return{isSaving:o("postType","product",e)}}),[e]);(0,Oe.useConfirmUnsavedChanges)(t||o,Ze(e))}();const n=(0,b.useSelect)((e=>{const{canUser:t}=e("core");return!1!==t("create","media","")}),[]),i=(0,a.useMemo)((()=>n?{...o,mediaUpload(e){let{onError:t,...r}=e;(0,We.uploadMedia)({wpAllowedMimeTypes:(null==o?void 0:o.allowedMimeTypes)||void 0,onError:e=>{let{message:o}=e;return t(o)},...r})}}:o),[n,o]),[c,l,s]=(0,J.useEntityBlockEditor)("postType","product",{id:r.id});return(0,a.useLayoutEffect)((()=>{s((0,H.synchronizeBlocksWithTemplate)([],null==o?void 0:o.template),{})}),[r.id]),c?(0,a.createElement)("div",{className:"woocommerce-product-block-editor"},(0,a.createElement)(qe.BlockContextProvider,{value:t},(0,a.createElement)(qe.BlockEditorProvider,{value:c,onInput:l,onChange:s,settings:i},(0,a.createElement)(qe.BlockEditorKeyboardShortcuts.Register,null),(0,a.createElement)(qe.BlockTools,null,(0,a.createElement)(qe.ObserveTyping,null,(0,a.createElement)(qe.BlockList,{className:"woocommerce-product-block-editor__block-list"})))))):null}function Ke(e){let{initialValue:t,children:o}=e;const r=(0,a.useRef)({}),n=(0,a.useRef)({}),[i,c]=(0,a.useState)({});async function l(e,o){const n=r.current;return e in n?(0,n[e])(t,o).then((t=>(c((o=>({...o,[e]:t}))),t))):Promise.resolve(void 0)}return(0,a.createElement)(De.Provider,{value:{errors:i,registerValidator:function(e,t){return r.current={...r.current,[e]:t},t=>{n.current[e]=t}},validateField:l,validateAll:async function(e){const t={},o=r.current;for(const r in o)t[r]=await l(r,e);c(t);const a=function(e,t){const o=Object.entries(e).filter((e=>{let[o,r]=e;return(null==r?void 0:r.closest('.is-selected[role="tabpanel"]'))&&Boolean(t[o])})),[r]=o.sort(((e,t)=>{let[,o]=e,[,r]=t;return o.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1})),[,n]=null!=r?r:[];return n}(n.current,t);return null==a||a.focus(),t}}},o)}function Qe(e){let{product:t,settings:o}=e;const[r,n]=(0,a.useState)(null),i=(0,Z.useExtendLayout)("product-block-editor");return(0,a.createElement)(Z.LayoutContextProvider,{value:i},(0,a.createElement)(a.StrictMode,null,(0,a.createElement)(J.EntityProvider,{kind:"postType",type:"product",id:t.id},(0,a.createElement)(Y.ShortcutProvider,null,(0,a.createElement)(X,{isActive:!1}),(0,a.createElement)(l.SlotFillProvider,null,(0,a.createElement)(Ke,{initialValue:t},(0,a.createElement)(oe,{header:(0,a.createElement)(Ge,{onTabSelect:n}),content:(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Xe,{settings:o,product:t,context:{selectedTab:r,postType:"product",postId:t.id}}),(0,a.createElement)(q.PluginArea,{scope:"woocommerce-product-block-editor"}))}),(0,a.createElement)(l.Popover.Slot,null)))),(0,a.createElement)(Ie,{product:t}))))}const et=window.wp.blockLibrary;function tt(e){if(!e)return;const{metadata:t,settings:o,name:r}=e;return(0,H.registerBlockType)({name:r,...t},o)}const ot=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-catalog-visibility-field","description":"A checkbox to manage the catalog visibility of the product.","title":"Product catalog visibility","category":"widgets","keywords":["products","catalog"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"visibility":{"type":"string","enum":["visible","catalog","search","hidden"],"default":"visible"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:rt,...nt}=ot,at={example:{},edit:function(e){let{attributes:t}=e;const{label:o,visibility:r}=t,n=(0,qe.useBlockProps)(),[i,c]=(0,J.useEntityProp)("postType","product","catalog_visibility"),s=i===r||"hidden"===i;return(0,a.createElement)("div",{...n},(0,a.createElement)(l.CheckboxControl,{label:o,checked:s,onChange:function(e){if(e){if("visible"===i)return void c(r);c("hidden")}else{if("hidden"===i)return"catalog"===r?void c("search"):"search"===r?void c("catalog"):void 0;c("visible")}}}))}};function it(){return tt({name:rt,metadata:nt,settings:at})}const ct=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-checkbox-field","title":"Product checkbox control","category":"woocommerce","description":"The product checkbox.","keywords":["products","checkbox","input"],"textdomain":"default","attributes":{"title":{"type":"string","__experimentalRole":"content"},"label":{"type":"string"},"property":{"type":"string"},"tooltip":{"type":"string"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),lt=function(e){let{icon:t,size:o=24,...r}=e;return(0,a.cloneElement)(t,{width:o,height:o,...r})},st=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"})),{name:mt,...ut}=ct,dt={example:{},edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)({className:"woocommerce-product-form__checkbox"}),{property:r,title:n,label:i,tooltip:c}=t,[s,m]=(0,J.useEntityProp)("postType","product",r);return(0,a.createElement)("div",{...o},(0,a.createElement)("h4",null,n),(0,a.createElement)("div",{className:"woocommerce-product-form__checkbox-wrapper"},(0,a.createElement)(l.CheckboxControl,{label:i,checked:s,onChange:e=>m(e)}),c&&(0,a.createElement)(l.Tooltip,{text:(0,a.createElement)("span",null,c),position:"top center",className:"woocommerce-product-form__checkbox-tooltip",delay:0},(0,a.createElement)("span",{className:"woocommerce-product-form__checkbox-tooltip-icon"},(0,a.createElement)(lt,{icon:st,size:21.94,fill:"#949494"})))))}},pt=()=>tt({name:mt,metadata:ut,settings:dt}),_t=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-collapsible","title":"Collapsible","category":"widgets","description":"Container with collapsible inner blocks.","textdomain":"default","attributes":{"toggleText":{"type":"string","__experimentalRole":"content"},"initialCollapsed":{"type":"boolean"},"persistRender":{"type":"boolean"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false}}'),{name:ft}=_t,ht={example:{},edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)(),{toggleText:r,initialCollapsed:n,persistRender:c=!0}=t;return(0,a.createElement)("div",{...o},(0,a.createElement)(i.CollapsibleContent,{toggleText:r,initialCollapsed:n,persistRender:c},(0,a.createElement)(qe.InnerBlocks,{templateLock:"all"})))}},gt=()=>tt({name:ft,metadata:_t,settings:ht}),bt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/conditional","title":"Conditional","category":"widgets","description":"Container to only conditionally render inner blocks.","textdomain":"default","attributes":{"mustMatch":{"__experimentalRole":"content","type":"array","items":{"type":"object"},"default":[]}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false}}'),{name:vt}=bt,wt={example:{},edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)(),{mustMatch:r}=t,n=(0,J.useEntityId)("postType","product"),c=(0,b.useSelect)((e=>e("core").getEditedEntityRecord("postType","product",n))),l=(0,a.useMemo)((()=>{for(const[e,t]of Object.entries(r))if(!t.includes(c[e]))return!1;return!0}),[r,c]);return(0,a.createElement)("div",{...o},(0,a.createElement)(i.DisplayState,{state:l?"visible":"visually-hidden"},(0,a.createElement)(qe.InnerBlocks,{templateLock:"all"})))}},Et=()=>tt({name:vt,metadata:bt,settings:wt}),yt=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-description-field","title":"Product description","category":"woocommerce","description":"The product description.","keywords":["products","description"],"textdomain":"default","attributes":{"__contentEditable":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false}}');var kt=o(74944);const Ct=["a","b","em","i","strong","p","br"],St=["target","href","rel","name","download"];function xt(e,t){const o=(null==t?void 0:t.tags)||Ct,r=(null==t?void 0:t.attr)||St;return{__html:(0,kt.sanitize)(e,{ALLOWED_TAGS:o,ALLOWED_ATTR:r})}}const Nt=["a","b","em","i","strong","p","br","img","blockquote","cite","h1","h2","h3","h4","h5","h6","ul","li","ol","div"],Tt=["target","href","rel","name","download","src","style","class"];function Pt(e){let{content:t}=e;const o=(0,b.useSelect)((e=>e(qe.store).getSettings()));return(0,a.createElement)("div",{className:"woocommerce-content-preview"},(0,a.createElement)(qe.__unstableIframe,{className:"woocommerce-content-preview__iframe"},(0,a.createElement)(a.Fragment,null,(0,a.createElement)(qe.__unstableEditorStyles,{styles:null==o?void 0:o.styles}),(0,a.createElement)("style",null,"body {\n\t\t\t\t\t\t\t\t\toverflow: hidden;\n\t\t\t\t\t\t\t\t}"),(0,a.createElement)("div",{className:"woocommerce-content-preview__content",dangerouslySetInnerHTML:xt(t,{tags:Nt,attr:Tt})}))))}const At=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M20 10.8H6.7l4.1-4.5-1.1-1.1-5.8 6.3 5.8 5.8 1.1-1.1-4-3.9H20z"}));function It(e){let{onClick:t}=e;return(0,a.createElement)(l.Button,{className:"woocommerce-iframe-editor__back-button",icon:At,onClick:t},(0,v.__)("Back","woocommerce"))}function Mt(e){let{children:t,enableResizing:o,settings:r,...n}=e;const i=(0,qe.__unstableUseMouseMoveTypingReset)();return(0,a.createElement)(qe.__unstableIframe,{ref:i,name:"editor-canvas",className:"edit-site-visual-editor__editor-canvas",...n},(0,a.createElement)(a.Fragment,null,(0,a.createElement)(qe.__unstableEditorStyles,{styles:null==r?void 0:r.styles}),(0,a.createElement)("style",null,".is-root-container {\n\t\t\t\t\t\t\t\tpadding: 36px;\n\t\t\t\t\t\t\t\tdisplay: flow-root;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tbody { position: relative; }"),o&&(0,a.createElement)("style",null,".is-root-container { min-height: 0 !important; }"),t))}const Rt=(0,a.createContext)({hasRedo:!1,hasUndo:!1,isDocumentOverviewOpened:!1,isInserterOpened:!1,isSidebarOpened:!0,redo:()=>{},setIsDocumentOverviewOpened:()=>{},setIsInserterOpened:()=>{},setIsSidebarOpened:()=>{},undo:()=>{}}),Ot=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M18 11.2h-5.2V6h-1.6v5.2H6v1.6h5.2V18h1.6v-5.2H18z"})),Lt=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})),Dt=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})),Bt=(0,a.forwardRef)((function(e,t){const{hasRedo:o,redo:r}=(0,a.useContext)(Rt);return(0,a.createElement)(l.Button,{...e,ref:t,icon:(0,v.isRTL)()?Dt:Lt,label:(0,v.__)("Redo","woocommerce"),"aria-disabled":!o,onClick:o?r:void 0,className:"editor-history__redo"})})),Ft=(0,a.forwardRef)((function(e,t){const{hasUndo:o,undo:r}=(0,a.useContext)(Rt);return(0,a.createElement)(l.Button,{...e,ref:t,icon:(0,v.isRTL)()?Lt:Dt,label:(0,v.__)("Undo","woocommerce"),"aria-disabled":!o,onClick:o?r:void 0,className:"editor-history__undo"})})),Vt=(0,a.createElement)(re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(re.Path,{d:"M13.8 5.2H3v1.5h10.8V5.2zm-3.6 12v1.5H21v-1.5H10.2zm7.2-6H6.6v1.5h10.8v-1.5z"})),Ht=(0,a.forwardRef)((function(e,t){const{isDocumentOverviewOpened:o,setIsDocumentOverviewOpened:r}=(0,a.useContext)(Rt);return(0,a.createElement)(l.Button,{...e,ref:t,icon:Vt,isPressed:o,label:(0,v.__)("Document overview","woocommerce"),onClick:function(){r(!o)},className:"document-overview"})})),Ut=(0,a.createElement)("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false"},(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4 14.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h8v13zm4.5-.5c0 .3-.2.5-.5.5h-2.5v-13H18c.3 0 .5.2.5.5v12z"})),zt=(0,a.forwardRef)((function(e,t){const{isSidebarOpened:o,setIsSidebarOpened:r}=(0,a.useContext)(Rt);return(0,a.createElement)(l.Button,{...e,ref:t,icon:Ut,isPressed:o,label:(0,v.__)("Show/hide block inspector","woocommerce"),onClick:function(){r(!o)}})})),jt=()=>{const{createNotice:e}=(0,b.useDispatch)("core/notices"),{blocks:t}=(0,b.useSelect)((e=>{const{getBlocks:t}=e(qe.store);return{blocks:t()}}),[]),o=(0,te.useCopyToClipboard)((()=>(0,H.serialize)(t)),(()=>{e("success",(0,v.__)("All content copied.","woocommerce"))}));return(0,a.createElement)(l.MenuItem,{ref:o,role:"menuitem",onClick:()=>{(0,T.recordEvent)("product_iframe_editor_copy_all_content_menu_item_click")},disabled:!t.length},(0,v.__)("Copy all content","woocommerce"))},$t=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"})),Gt=()=>(0,a.createElement)(l.MenuItem,{role:"menuitem",icon:$t,href:(0,v.__)("https://wordpress.org/documentation/article/wordpress-block-editor/","woocommerce"),onClick:()=>{(0,T.recordEvent)("product_iframe_editor_help_menu_item_click")},target:"_blank",rel:"noopener noreferrer"},(0,v.__)("Help","woocommerce"),(0,a.createElement)(l.VisuallyHidden,{as:"span"},(0,v.__)("(opens in a new tab)","woocommerce"))),Wt=()=>(0,a.createElement)(l.MenuGroup,{label:(0,v.__)("Tools","woocommerce")},(0,a.createElement)(jt,null),(0,a.createElement)(Gt,null)),qt=()=>(0,a.createElement)(ae,null,(()=>(0,a.createElement)(a.Fragment,null,(0,a.createElement)(Wt,null))));function Zt(e){let{onSave:t=(()=>{}),onCancel:o=(()=>{})}=e;const{isInserterOpened:r,setIsInserterOpened:n}=(0,a.useContext)(Rt),i=(0,te.useViewportMatch)("medium"),c=(0,a.useRef)(null),{isInserterEnabled:s,isTextModeEnabled:m}=(0,b.useSelect)((e=>{const{hasInserterItems:t,getBlockRootClientId:o,getBlockSelectionEnd:r,__unstableGetEditorMode:n}=e(qe.store);return{isTextModeEnabled:"text"===n(),isInserterEnabled:t(o(r()))}}),[]),u=(0,v.__)("Document tools","woocommerce"),d=(0,a.useCallback)((()=>{var e;r?(null===(e=c.current)||void 0===e||e.focus(),n(!1)):n(!0)}),[r,n]);return(0,a.createElement)(qe.NavigableToolbar,{className:"woocommerce-iframe-editor__header-toolbar","aria-label":u},(0,a.createElement)("div",{className:"woocommerce-iframe-editor__header-toolbar-left"},(0,a.createElement)(l.ToolbarItem,{ref:c,as:l.Button,className:"woocommerce-iframe-editor__header-toolbar-inserter-toggle",variant:"primary",isPressed:r,onMouseDown:e=>{e.preventDefault()},onClick:d,disabled:!s,icon:Ot,label:r?(0,v.__)("Close","woocommerce"):(0,v.__)("Add","woocommerce"),showTooltip:!0}),i&&(0,a.createElement)(l.ToolbarItem,{as:qe.ToolSelector,disabled:m}),(0,a.createElement)(l.ToolbarItem,{as:Ft}),(0,a.createElement)(l.ToolbarItem,{as:Bt}),(0,a.createElement)(l.ToolbarItem,{as:Ht})),(0,a.createElement)("div",{className:"woocommerce-iframe-editor__header-toolbar-right"},(0,a.createElement)(l.ToolbarItem,{as:l.Button,variant:"tertiary",className:"woocommerce-modal-actions__cancel-button",onClick:o,text:(0,v.__)("Cancel","woocommerce")}),(0,a.createElement)(l.ToolbarItem,{as:l.Button,variant:"primary",className:"woocommerce-modal-actions__done-button",onClick:t,text:(0,v.__)("Done","woocommerce")}),(0,a.createElement)(l.ToolbarItem,{as:zt,className:"woocommerce-show-block-inspector-panel"}),(0,a.createElement)(l.ToolbarItem,{as:qt})))}const Jt=window.wp.keycodes;function Yt(e){let{direction:t,resizeWidthBy:o}=e;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("button",{className:`resizable-editor__drag-handle is-${t}`,"aria-label":(0,v.__)("Drag to resize","woocommerce"),"aria-describedby":`resizable-editor__resize-help-${t}`,onKeyDown:function(e){const{keyCode:r}=e;"left"===t&&r===Jt.LEFT||"right"===t&&r===Jt.RIGHT?o(20):("left"===t&&r===Jt.RIGHT||"right"===t&&r===Jt.LEFT)&&o(-20)}}),(0,a.createElement)(l.VisuallyHidden,{id:`resizable-editor__resize-help-${t}`},(0,v.__)("Use left and right arrow keys to resize the canvas.","woocommerce")))}const Xt={position:void 0,userSelect:void 0,cursor:void 0,width:void 0,height:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0};function Kt(e){let{enableResizing:t,height:o,children:r}=e;const[n,i]=(0,a.useState)("100%"),c=(0,a.useRef)(),s=(0,a.useCallback)((e=>{c.current&&i(c.current.offsetWidth+e)}),[]);return(0,a.createElement)(l.ResizableBox,{ref:e=>{c.current=null==e?void 0:e.resizable},size:{width:t?n:"100%",height:t&&o?o:"100%"},onResizeStop:(e,t,o)=>{i(o.style.width)},minWidth:300,maxWidth:"100%",maxHeight:"100%",minHeight:o,enable:{right:t,left:t},showHandle:t,resizeRatio:2,handleComponent:{left:(0,a.createElement)(Yt,{direction:"left",resizeWidthBy:s}),right:(0,a.createElement)(Yt,{direction:"right",resizeWidthBy:s})},handleClasses:void 0,handleStyles:{left:Xt,right:Xt}},r)}const Qt=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function eo(){const{setIsInserterOpened:e}=(0,a.useContext)(Rt),t=(0,te.useViewportMatch)("medium","<"),{rootClientId:o}=(0,b.useSelect)((e=>{const{getBlockRootClientId:t}=e(qe.store);return{rootClientId:t()}})),r=(0,a.useCallback)((()=>e(!1)),[e]),n=t?"div":l.VisuallyHidden,[i,c]=(0,te.__experimentalUseDialog)({onClose:r,focusOnMount:!1}),s=(0,a.useRef)(null);return(0,a.useEffect)((()=>{var e;null===(e=s.current)||void 0===e||e.focusSearch()}),[]),(0,a.createElement)("div",{ref:i,...c,className:"woocommerce-iframe-editor__inserter-panel"},(0,a.createElement)(n,{className:"woocommerce-iframe-editor__inserter-panel-header"},(0,a.createElement)(l.Button,{icon:Qt,onClick:r,label:(0,v.__)("Close block inserter","woocommerce")})),(0,a.createElement)("div",{className:"woocommerce-iframe-editor__inserter-panel-content"},(0,a.createElement)(qe.__experimentalLibrary,{showInserterHelpPanel:!0,shouldFocusBlock:t,rootClientId:o,ref:s})))}function to(){const{setIsDocumentOverviewOpened:e}=(0,a.useContext)(Rt),t=(0,te.useFocusOnMount)("firstElement"),o=(0,te.useFocusReturn)(),r=(0,te.useFocusReturn)(),[n,i]=(0,a.useState)(null),[c,s]=(0,a.useState)("list-view"),m=(0,a.useRef)(null),u=(0,te.useMergeRefs)([r,t,m,i]);return(0,a.createElement)("div",{className:"woocommerce-iframe-editor__document-overview-sidebar",onKeyDown:function(t){"Escape"!==t.code||t.defaultPrevented||(t.preventDefault(),e(!1))}},(0,a.createElement)(l.Button,{className:"woocommerce-iframe-editor__document-overview-sidebar-close-button",ref:o,icon:we,label:(0,v.__)("Close","woocommerce"),onClick:()=>e(!1)}),(0,a.createElement)(l.TabPanel,{className:"woocommerce-iframe-editor__document-overview-sidebar-tab-panel",initialTabName:c,onSelect:s,tabs:[{name:"list-view",title:"List View",className:"woocommerce-iframe-editor__document-overview-sidebar-tab-item"}]},(e=>(0,a.createElement)("div",{className:"woocommerce-iframe-editor__document-overview-sidebar-tab-content",ref:u},"list-view"===e.name?(0,a.createElement)(qe.__experimentalListView,{dropZoneElement:n}):null))))}function oo(){const{isInserterOpened:e,isDocumentOverviewOpened:t}=(0,a.useContext)(Rt);return e?(0,a.createElement)(eo,null):t?(0,a.createElement)(to,null):null}const ro=50;function no(e){let{maxHistory:t=ro,setBlocks:o}=e;const[r,n]=(0,a.useState)([]),[i,c]=(0,a.useState)(0);return{appendEdit:function(e){const o=[...r.slice(0,i+1),e].slice(-1*t);n(o),c(o.length-1)},hasRedo:!!r.length&&i<r.length-1,hasUndo:!!r.length&&i>0,redo:function(){const e=Math.min(r.length-1,i+1);r[e]&&(o(r[e]),c(e))},undo:function(){const e=Math.max(0,i-1);r[e]&&(o(r[e]),c(e))}}}function ao(e){let{closeModal:t=(()=>{}),initialBlocks:o=[],onChange:r=(()=>{}),onClose:n,onInput:i=(()=>{}),settings:c}=e;const[s]=(0,te.useResizeObserver)(),[m,u]=(0,a.useState)(o),[d,p]=(0,a.useState)(o),{appendEdit:_}=no({setBlocks:u}),{appendEdit:f,hasRedo:h,hasUndo:g,redo:v,undo:w}=no({setBlocks:p}),[E,y]=(0,a.useState)(!1),[k,C]=(0,a.useState)(!1),[S,x]=(0,a.useState)(!0),{clearSelectedBlock:N,updateSettings:T}=(0,b.useDispatch)(qe.store),P=(0,b.useSelect)((e=>e(qe.store).getSettings()),[]);(0,a.useEffect)((()=>{T(productBlockEditorSettings)}),[]);const A=c||P;return(0,a.createElement)("div",{className:"woocommerce-iframe-editor"},(0,a.createElement)(Rt.Provider,{value:{hasRedo:h,hasUndo:g,isInserterOpened:E,isDocumentOverviewOpened:k,redo:v,setIsInserterOpened:y,setIsDocumentOverviewOpened:C,undo:w,isSidebarOpened:S,setIsSidebarOpened:x}},(0,a.createElement)(qe.BlockEditorProvider,{settings:{...A,hasFixedToolbar:!0,templateLock:!1},value:m,onChange:e=>{f(e),p(e),r(e)},onInput:e=>{f(e),p(e),i(e)},useSubRegistry:!0},(0,a.createElement)(Zt,{onSave:()=>{_(d),u(d),r(d),t()},onCancel:()=>{_(m),u(m),r(m),p(m),t()}}),(0,a.createElement)("div",{className:"woocommerce-iframe-editor__main"},(0,a.createElement)(oo,null),(0,a.createElement)(qe.BlockTools,{className:"woocommerce-iframe-editor__content",onClick:e=>{e.target===e.currentTarget&&N()}},(0,a.createElement)(qe.BlockEditorKeyboardShortcuts.Register,null),n&&(0,a.createElement)(It,{onClick:()=>{setTimeout(n,550)}}),(0,a.createElement)(Kt,{enableResizing:!0,height:"100%"},(0,a.createElement)(Mt,{enableResizing:!0,settings:A},s,(0,a.createElement)(qe.BlockList,{className:"edit-site-block-editor__block-list wp-site-blocks"})),(0,a.createElement)(l.Popover.Slot,null)),(0,a.createElement)("div",{className:"woocommerce-iframe-editor__content-inserter-clipper"})),S&&(0,a.createElement)("div",{className:"woocommerce-iframe-editor__sidebar"},(0,a.createElement)(qe.BlockInspector,null))))))}function io(e){let{initialBlocks:t,onChange:o,onClose:r,title:n}=e;const i=(0,te.useDebounce)((e=>{o(e)}),250);function c(){const e=i.flush();e&&o(e),r()}return(0,a.createElement)(l.Modal,{className:"woocommerce-modal-editor",title:n,onRequestClose:c,shouldCloseOnClickOutside:!1},(0,a.createElement)(ao,{initialBlocks:t,onInput:i,onChange:i,closeModal:c}))}const{name:co,...lo}=yt,so={example:{},edit:function(){const e=(0,qe.useBlockProps)(),[t,o]=(0,a.useState)(!1),[r,n]=(0,J.useEntityProp)("postType","product","description");return(0,a.createElement)("div",{...e},(0,a.createElement)(l.Button,{variant:"secondary",onClick:()=>{o(!0),(0,T.recordEvent)("product_add_description_click")}},r.length?(0,v.__)("Edit description","woocommerce"):(0,v.__)("Add description","woocommerce")),t&&(0,a.createElement)(io,{initialBlocks:(0,H.parse)(r),onChange:e=>{const t=(0,H.serialize)(function(e){if(1===e.length){const{content:t}=e[0].attributes;if(!t||!t.trim())return[]}return e}(e));n(t)},onClose:()=>o(!1),title:(0,v.__)("Edit description","woocommerce")}),!!r.length&&(0,a.createElement)(Pt,{content:r}))}},mo=()=>tt({name:co,metadata:lo,settings:so}),uo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-images-field","title":"Product images","category":"widgets","description":"The product images.","keywords":["products","image","images","gallery"],"textdomain":"default","attributes":{"mediaId":{"type":"number","__experimentalRole":"content"},"images":{"__experimentalRole":"content","type":"array","items":{"type":"number"},"default":[]}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),po=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z"})),{name:_o}=uo,fo={example:{},edit:function(){const[e,t]=(0,J.useEntityProp)("postType","product","images"),[o,r]=(0,a.useState)(!1),[n,c]=(0,a.useState)(!1),[s,m]=(0,a.useState)(null),u=(0,qe.useBlockProps)({className:ee()({"has-images":e.length>0})}),d=()=>{r(!o)};return(0,a.createElement)("div",{...u},(0,a.createElement)("div",{className:"woocommerce-product-form__image-drop-zone"},o?(0,a.createElement)("div",{className:"woocommerce-product-form__remove-image-drop-zone"},(0,a.createElement)("span",null,(0,a.createElement)(lt,{icon:po,size:20,className:"icon-control"}),(0,v.__)("Drop here to remove","woocommerce")),(0,a.createElement)(l.DropZone,{onHTMLDrop:()=>c(!0),onDrop:()=>c(!0),label:(0,v.__)("Drop here to remove","woocommerce")})):(0,a.createElement)(i.MediaUploader,{multipleSelect:"add",onError:()=>null,onFileUploadChange:o=>{o[0].id&&((0,T.recordEvent)("product_images_add_via_file_upload_area"),t([...e,...o]))},onMediaGalleryOpen:()=>{(0,T.recordEvent)("product_images_media_gallery_open")},onSelect:o=>{const r=o.filter((t=>!e.find((e=>e.id===t.id))));r.length>0&&((0,T.recordEvent)("product_images_add_via_media_library"),t([...e,...r]))},onUpload:o=>{o[0].id&&((0,T.recordEvent)("product_images_add_via_drag_and_drop_upload"),t([...e,...o]))},label:""})),(0,a.createElement)(i.ImageGallery,{allowDragging:!1,onDragStart:t=>{var o;const{id:r,dataset:n}=t.target;if(r)m(parseInt(r,10));else{const t=null==n?void 0:n.index;t&&m(null===(o=e[parseInt(t,10)])||void 0===o?void 0:o.id)}d()},onDragEnd:()=>{n&&s&&((0,T.recordEvent)("product_images_remove_image_button_click"),t(e.filter((e=>e.id!==s))),c(!1),m(null)),d()},onOrderChange:o=>{const r=o.map((t=>e.find((e=>{var o;return e.id===parseInt(null===(o=null==t?void 0:t.props)||void 0===o?void 0:o.id,10)}))));(0,T.recordEvent)("product_images_change_image_order_via_image_gallery"),t(r)},onReplace:o=>{let{replaceIndex:r,media:n}=o;if(void 0===e.find((e=>n.id===e.id))){const o=[...e];o[r]=n,(0,T.recordEvent)("product_images_replace_image_button_click"),t(o)}},onSelectAsCover:()=>(0,T.recordEvent)("product_images_select_image_as_cover_button_click")},e.map((e=>(0,a.createElement)(i.ImageGalleryItem,{key:e.id||e.url,alt:e.alt,src:e.url||e.src,id:`${e.id}`})))))}},ho=()=>tt({name:_o,metadata:uo,settings:fo}),go=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-inventory-email-field","title":"Stock level threshold","category":"widgets","description":"Stock management minimum quantity.","keywords":["products","inventory","email","minimum"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}');function bo(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const r=(0,a.useContext)(De),[n,i]=(0,a.useState)(!1),c=(0,a.useMemo)((()=>r.registerValidator(e,t)),[e,...o]);return{ref:c,error:r.errors[e],isValidating:n,validate:async()=>(i(!0),r.validateField(e).finally((()=>{i(!1)})))}}const{name:vo,...wo}=go,Eo={example:{},edit:function(e){let{clientId:t}=e;const o=(0,qe.useBlockProps)(),r=(0,Se.getSetting)("notifyLowStockAmount",2),[n,c]=(0,J.useEntityProp)("postType","product","low_stock_amount"),s=(0,te.useInstanceId)(l.BaseControl,"low_stock_amount"),{ref:m,error:u,validate:d}=bo(`low_stock_amount-${t}`,(async function(){if(n&&n<0)return(0,v.__)("This field must be a positive number.","woocommerce")}),[n]);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{...o},(0,a.createElement)("div",{className:"wp-block-columns"},(0,a.createElement)("div",{className:"wp-block-column"},(0,a.createElement)(l.BaseControl,{id:s,label:(0,v.__)("Email me when stock reaches","woocommerce"),help:u||(0,a.createInterpolateElement)((0,v.__)("Make sure to enable notifications in <link>store settings.</link>","woocommerce"),{link:(0,a.createElement)(i.Link,{href:`${(0,Se.getSetting)("adminUrl")}admin.php?page=wc-settings&tab=products&section=inventory`,target:"_blank",type:"external"})}),className:u&&"has-error"},(0,a.createElement)(l.__experimentalInputControl,{id:s,ref:m,name:"low_stock_amount",placeholder:(0,v.sprintf)((0,v.__)("%d (store default)","woocommerce"),r),onChange:c,onBlur:d,value:n,type:"number",min:0}))),(0,a.createElement)("div",{className:"wp-block-column"}))))}};function yo(){return tt({name:vo,metadata:wo,settings:Eo})}const ko=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-sku-field","title":"Product text control","category":"woocommerce","description":"The product sku.","keywords":["products","sku"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:Co,...So}=ko,xo={example:{},edit:function(){const e=(0,qe.useBlockProps)(),[t,o]=(0,J.useEntityProp)("postType","product","sku");return(0,a.createElement)("div",{...e},(0,a.createElement)(l.BaseControl,{id:"product_sku",className:"woocommerce-product-form_inventory-sku",label:(0,a.createInterpolateElement)((0,v.__)("Sku <description />","woocommerce"),{description:(0,a.createElement)("span",{className:"woocommerce-product-form__optional-input"},(0,v.__)("(STOCK KEEPING UNIT)","woocommerce"))})},(0,a.createElement)(l.__experimentalInputControl,{name:"woocommerce-product-sku",onChange:o,value:t||""})))}},No=()=>tt({name:Co,metadata:So,settings:xo}),To=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-name-field","title":"Product name","category":"widgets","description":"The product name.","keywords":["products","name","title"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"},"autoFocus":{"type":"boolean","default":false}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:Po}=To,Ao={example:{},edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)(),{editEntityRecord:r,saveEntityRecord:n}=(0,b.useDispatch)("core"),{hasEdit:i}=Ye(),[c,s]=(0,a.useState)(!1),m=(0,J.useEntityId)("postType","product"),u=(0,b.useSelect)((e=>e("core").getEditedEntityRecord("postType","product",m))),[d,p]=(0,J.useEntityProp)("postType","product","sku"),[_,f]=(0,J.useEntityProp)("postType","product","name"),{permalinkPrefix:h,permalinkSuffix:g}=(0,b.useSelect)((e=>{const{getPermalinkParts:t}=e(E.PRODUCTS_STORE_NAME);if(m){const e=t(m);return{permalinkPrefix:null==e?void 0:e.prefix,permalinkSuffix:null==e?void 0:e.suffix}}return{}})),{ref:y,error:k,validate:C}=bo("name",(async function(){return _&&_!==R?_.length>120?(0,v.__)("Please enter a product name shorter than 120 characters.","woocommerce"):void 0:(0,v.__)("This field is required.","woocommerce")}),[_]),S=null!=k?k:m&&["publish","draft"].includes(u.status)&&h&&(0,a.createElement)("span",{className:"woocommerce-product-form__secondary-text product-details-section__product-link"},(0,v.__)("Product link","woocommerce"),": ",(0,a.createElement)("a",{href:u.permalink,target:"_blank",rel:"noreferrer"},h,u.slug||(0,w.cleanForSlug)(_),g),(0,a.createElement)(l.Button,{variant:"link",onClick:()=>s(!0)},(0,v.__)("Edit","woocommerce"))),x=(0,te.useInstanceId)(l.BaseControl,"product_name");return(0,a.createElement)(a.Fragment,null,(0,a.createElement)("div",{...o},(0,a.createElement)(l.BaseControl,{id:x,label:(0,a.createInterpolateElement)((0,v.__)("Name <required />","woocommerce"),{required:(0,a.createElement)("span",{className:"woocommerce-product-form__required-input"},(0,v.__)("*","woocommerce"))}),className:ee()({"has-error":k}),help:S},(0,a.createElement)(l.__experimentalInputControl,{id:x,ref:y,name:"name",autoFocus:t.autoFocus,placeholder:(0,v.__)("e.g. 12 oz Coffee Mug","woocommerce"),onChange:f,value:_&&_!==R?_:"",autoComplete:"off","data-1p-ignore":!0,onBlur:()=>{i("name")&&(d||k||p((0,w.cleanForSlug)(_)),C())}})),c&&(0,a.createElement)(P,{permalinkPrefix:h||"",permalinkSuffix:g||"",product:u,onCancel:()=>s(!1),onSaved:()=>s(!1),saveHandler:async e=>{const{slug:t,permalink:o}=await n("postType","product",{id:u.id,slug:e});if(t&&o)return r("postType","product",u.id,{slug:t,permalink:o}),{slug:t,permalink:o}}})))}},Io=()=>tt({name:Po,metadata:To,settings:Ao}),Mo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-pricing-field","description":"A product price block with currency display.","title":"Product pricing","category":"widgets","keywords":["products","price"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"},"label":{"type":"string"},"help":{"type":"string"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),Ro=(e,t,o)=>{const{decimalSeparator:r,thousandSeparator:n}=t,a=new RegExp("[^-0-9%s1%s2]".replace("%s1",r).replace("%s2",n),"g");return void 0===e?e:o(e).replace(a,"")},Oo=e=>{let{value:t,onChange:o,onFocus:r,onKeyUp:n}=e;const{sanitizePrice:i}=D(),c=(0,a.useContext)(I.CurrencyContext),{getCurrencyConfig:l,formatAmount:s}=c,m=l();return{prefix:m.symbol,className:"components-currency-control",value:Ro(String(t),m,s),sanitize:e=>i(String(e)),onFocus(e){setTimeout((function(e){e.select()}),0,e.currentTarget),r&&r(e)},onKeyUp(e){const r=Number.parseFloat(i(t||"0")),a=Number(e.currentTarget.step||"1");"ArrowUp"===e.code&&o(String(r+a)),"ArrowDown"===e.code&&o(String(r-a)),n&&n(e)},onChange(e){const t=i(e);o&&o(t)}}},{name:Lo,...Do}=Mo,Bo={example:{},edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)(),{name:r,label:n,help:c}=t,[s,m]=(0,J.useEntityProp)("postType","product",r),u=Oo({value:s,onChange:m}),d=c?(0,a.createInterpolateElement)(c,{PricingTab:(0,a.createElement)(i.Link,{href:(0,Oe.getNewPath)({tab:"pricing"}),onClick:()=>{(0,T.recordEvent)("product_pricing_help_click")}})}):null,p=(0,te.useInstanceId)(l.BaseControl,"wp-block-woocommerce-product-pricing-field");return(0,a.createElement)("div",{...o},(0,a.createElement)(l.BaseControl,{id:p,help:d},(0,a.createElement)(l.__experimentalInputControl,{...u,id:p,name:r,label:n||(0,v.__)("Price","woocommerce")})))}};function Fo(){return tt({name:Lo,metadata:Do,settings:Bo})}const Vo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-radio-field","title":"Product radio control","category":"woocommerce","description":"The product radio.","keywords":["products","radio","input"],"textdomain":"default","attributes":{"title":{"type":"string"},"description":{"type":"string"},"property":{"type":"string"},"options":{"type":"array","items":{"type":"object"},"default":[],"__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false}}');function Ho(e){let{title:t,description:o,className:r,...n}=e;return(0,a.createElement)(l.RadioControl,{...n,className:ee()(r,"woocommerce-radio-field"),label:(0,a.createElement)(a.Fragment,null,(0,a.createElement)("span",{className:"woocommerce-radio-field__title"},t),o&&(0,a.createElement)("span",{className:"woocommerce-radio-field__description",dangerouslySetInnerHTML:xt(o)}))})}const{name:Uo,...zo}=Vo,jo={example:{},edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)(),{description:r,options:n,property:i,title:c}=t,[l,s]=(0,J.useEntityProp)("postType","product",i);return(0,a.createElement)("div",{...o},(0,a.createElement)(Ho,{title:c,description:r,selected:l,options:n,onChange:e=>s(e||"")}))}};function $o(){return tt({name:Uo,metadata:zo,settings:jo})}const Go=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-regular-price-field","description":"A product price block with currency display.","title":"Product regular price","category":"widgets","keywords":["products","price"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"help":{"type":"string"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:Wo,...qo}=Go,Zo={example:{},edit:function(e){let{attributes:t,clientId:o}=e;const r=(0,qe.useBlockProps)(),{label:n,help:c}=t,[s,m]=(0,J.useEntityProp)("postType","product","regular_price"),[u]=(0,J.useEntityProp)("postType","product","sale_price"),d=Oo({value:s,onChange:m}),p=c?(0,a.createInterpolateElement)(c,{PricingTab:(0,a.createElement)(i.Link,{href:(0,Oe.getNewPath)({tab:"pricing"}),onClick:()=>{(0,T.recordEvent)("product_pricing_help_click")}})}):null,_=(0,te.useInstanceId)(l.BaseControl,"wp-block-woocommerce-product-regular-price-field"),{ref:f,error:h,validate:g}=bo(`regular_price-${o}`,(async function(){const e=Number.parseFloat(s);if(e){if(e<0)return(0,v.__)("List price must be greater than or equals to zero.","woocommerce");if(u&&e<=Number.parseFloat(u))return(0,v.__)("List price must be greater than the sale price.","woocommerce")}}),[s,u]);return(0,a.createElement)("div",{...r},(0,a.createElement)(l.BaseControl,{id:_,help:h||p,className:ee()({"has-error":h})},(0,a.createElement)(l.__experimentalInputControl,{...d,id:_,name:"regular_price",ref:f,label:n,onBlur:g})))}};function Jo(){return tt({name:Wo,metadata:qo,settings:Zo})}const Yo=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-sale-price-field","description":"A product price block with currency display.","title":"Product sale price","category":"widgets","keywords":["products","price"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"help":{"type":"string"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:Xo,...Ko}=Yo,Qo={example:{},edit:function(e){let{attributes:t,clientId:o}=e;const r=(0,qe.useBlockProps)(),{label:n,help:i}=t,[c]=(0,J.useEntityProp)("postType","product","regular_price"),[s,m]=(0,J.useEntityProp)("postType","product","sale_price"),u=Oo({value:s,onChange:m}),d=(0,te.useInstanceId)(l.BaseControl,"wp-block-woocommerce-product-sale-price-field"),{ref:p,error:_,validate:f}=bo(`sale-price-${o}`,(async function(){if(s){if(Number.parseFloat(s)<0)return(0,v.__)("Sale price must be greater than or equals to zero.","woocommerce");const e=Number.parseFloat(c);if(!e||e<=Number.parseFloat(s))return(0,v.__)("Sale price must be lower than the list price.","woocommerce")}}),[c,s]);return(0,a.createElement)("div",{...r},(0,a.createElement)(l.BaseControl,{id:d,help:_||i,className:ee()({"has-error":_})},(0,a.createElement)(l.__experimentalInputControl,{...u,id:d,name:"sale_price",ref:p,label:n,onBlur:f})))}};function er(){return tt({name:Xo,metadata:Ko,settings:Qo})}const tr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-schedule-sale-fields","title":"Product schedule sale fields","category":"woocommerce","description":"The product schedule sale fields.","keywords":["products","schedule","sale"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),or=window.moment;var rr=o.n(or);const nr=window.wp.date,{name:ar,...ir}=tr,cr={example:{},edit:function(e){let{clientId:t}=e;const o=(0,qe.useBlockProps)(),{hasEdit:r}=Ye(),n=(0,nr.getSettings)().formats.datetime,[c,s]=(0,a.useState)(!1),[m]=(0,J.useEntityProp)("postType","product","sale_price"),u=Number.parseFloat(m||"0")>0,[d,p]=(0,J.useEntityProp)("postType","product","date_on_sale_from_gmt"),[_,f]=(0,J.useEntityProp)("postType","product","date_on_sale_to_gmt"),h=rr()().startOf("minute").toISOString();(0,a.useEffect)((()=>{r("sale_price")&&!u&&(s(!1),p(""),f(""))}),[u]),(0,a.useEffect)((()=>{(d||_)&&s(!0)}),[d,_]);const g=rr()(d,rr().ISO_8601,!0),b=rr()(_,rr().ISO_8601,!0),{ref:w,error:E,validate:y}=bo(`date_on_sale_from_gmt-${t}`,(async function(){if(c&&d){if(!g.isValid())return(0,v.__)("Please enter a valid date.","woocommerce");if(g.isAfter(b))return(0,v.__)("The start date of the sale must be before the end date.","woocommerce")}}),[c,d,g,b]),{ref:k,error:C,validate:S}=bo(`date_on_sale_to_gmt-${t}`,(async function(){if(c&&_){if(!b.isValid())return(0,v.__)("Please enter a valid date.","woocommerce");if(b.isBefore(g))return(0,v.__)("The end date of the sale must be after the start date.","woocommerce")}}),[c,d,g,b]);return(0,a.createElement)("div",{...o},(0,a.createElement)(l.ToggleControl,{label:(0,v.__)("Schedule sale","woocommerce"),checked:c,onChange:function(e){(0,T.recordEvent)("product_pricing_schedule_sale_toggle_click",{enabled:e}),s(e),e?(p(h),f("")):(p(""),f(""))},disabled:!u}),c&&(0,a.createElement)("div",{className:"wp-block-columns wp-block-woocommerce-product-schedule-sale-fields__content"},(0,a.createElement)("div",{className:"wp-block-column"},(0,a.createElement)(i.DateTimePickerControl,{ref:w,label:(0,v.__)("From","woocommerce"),placeholder:(0,v.__)("Sale start date and time (optional)","woocommerce"),dateTimeFormat:n,currentDate:d,onChange:p,className:E&&"has-error",help:E,onBlur:y})),(0,a.createElement)("div",{className:"wp-block-column"},(0,a.createElement)(i.DateTimePickerControl,{ref:k,label:(0,v.__)("To","woocommerce"),placeholder:(0,v.__)("Sale end date and time (optional)","woocommerce"),dateTimeFormat:n,currentDate:_,onChange:e=>f(rr()(e).startOf("minute").toISOString()),onBlur:S,className:C&&"has-error",help:C}))))}};function lr(){return tt({name:ar,metadata:ir,settings:cr})}const sr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-section","title":"Product section","category":"woocommerce","description":"The product section.","keywords":["products","section","group"],"textdomain":"default","attributes":{"title":{"type":"string"},"description":{"type":"string","__experimentalRole":"content"},"blockGap":{"type":"string","enum":["unit-30","unit-40"],"default":"unit-30"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:mr,...ur}=sr,dr={example:{},edit:function(e){let{attributes:t}=e;const{description:o,title:r,blockGap:n}=t,i=(0,qe.useBlockProps)(),c=(0,qe.useInnerBlocksProps)({className:ee()("wp-block-woocommerce-product-section__content",`wp-block-woocommerce-product-section__content--block-gap-${n}`)},{templateLock:"all"}),l=r?"fieldset":"div",s="fieldset"===l?"legend":"div";return(0,a.createElement)(l,{...i},r&&(0,a.createElement)(s,{className:"wp-block-woocommerce-product-section__heading"},(0,a.createElement)("h2",{className:"wp-block-woocommerce-product-section__heading-title"},r),o&&(0,a.createElement)("p",{className:"wp-block-woocommerce-product-section__heading-description",dangerouslySetInnerHTML:xt(o)})),(0,a.createElement)("div",{...c}))}};function pr(){return tt({name:mr,metadata:ur,settings:dr})}const _r=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-shipping-class-field","title":"Product shipping class field","category":"woocommerce","description":"The product shipping class field.","keywords":["products","shipping","class"],"textdomain":"default","attributes":{"title":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}');function fr(e){let{onAdd:t,onCancel:o}=e;var r;const{errors:n,getInputProps:c,isValidForm:s}=(0,i.useFormContext)(),[m,u]=(0,a.useState)(!1);return(0,a.createElement)("div",{className:"woocommerce-add-new-shipping-class-modal__wrapper"},(0,a.createElement)(l.TextControl,{...c("name"),placeholder:(0,v.__)("e.g. Fragile products","woocommerce"),label:(0,a.createInterpolateElement)((0,v.__)("Name <required />","woocommerce"),{required:(0,a.createElement)("span",{className:"woocommerce-add-new-shipping-class-modal__optional-input"},(0,v.__)("(required)","woocommerce"))})}),(0,a.createElement)(l.TextControl,{...c("slug"),label:(0,v.__)("Slug","woocommerce")}),(0,a.createElement)(l.TextControl,{...c("description"),label:(0,v.__)("Description","woocommerce"),help:null!==(r=null==n?void 0:n.description)&&void 0!==r?r:(0,v.__)("Describe how you and other store administrators can use this shipping class.","woocommerce")}),(0,a.createElement)("div",{className:"woocommerce-add-new-shipping-class-modal__buttons"},(0,a.createElement)(l.Button,{isSecondary:!0,onClick:o},(0,v.__)("Cancel","woocommerce")),(0,a.createElement)(l.Button,{isPrimary:!0,isBusy:m,disabled:!s||m,onClick:function(){u(!0),t().then((()=>{u(!1),o()})).catch((()=>{u(!1)}))}},(0,v.__)("Add","woocommerce"))))}function hr(e){var t;const o={};return(null===(t=e.name)||void 0===t?void 0:t.length)||(o.name=(0,v.__)("The shipping class name is required.","woocommerce")),o}const gr={name:"",slug:"",description:""};function br(e){let{shippingClass:t,onAdd:o,onCancel:r}=e;return(0,a.createElement)(l.Modal,{title:(0,v.__)("New shipping class","woocommerce"),className:"woocommerce-add-new-shipping-class-modal",onRequestClose:r},(0,a.createElement)(i.Form,{initialValues:null!=t?t:gr,validate:hr,errors:{},onSubmit:o},(e=>(0,a.createElement)(fr,{onAdd:e.handleSubmit,onCancel:r}))))}const vr=[{value:"",label:(0,v.__)("No shipping class","woocommerce")},{value:C,label:(0,v.__)("Add new shipping class","woocommerce")}];function wr(e){return e.map((e=>{let{slug:t,name:o}=e;return{value:t,label:o}}))}function Er(e,t){const o=null==e?void 0:e.find((e=>{let{slug:t}=e;return"uncategorized"!==t}));if(o&&!(null==t?void 0:t.some((e=>{let{slug:t}=e;return t===o.slug}))))return{name:o.name,slug:o.slug}}const{name:yr,...kr}=_r,Cr={example:{},edit:function(e){let{}=e;const[t,o]=(0,a.useState)(!1),r=(0,qe.useBlockProps)(),{createProductShippingClass:n,invalidateResolution:c}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_SHIPPING_CLASSES_STORE_NAME),{createErrorNotice:s}=(0,b.useDispatch)("core/notices"),[m]=(0,J.useEntityProp)("postType","product","categories"),[u,d]=(0,J.useEntityProp)("postType","product","shipping_class");function p(e){let t=(0,v.__)("We couldn’t add this shipping class. Try again in a few seconds.","woocommerce");throw"term_exists"===e.code&&(t=(0,v.__)("A shipping class with that slug already exists.","woocommerce")),s(t,{explicitDismiss:!0}),e}const{shippingClasses:_}=(0,b.useSelect)((e=>{var t;const{getProductShippingClasses:o}=e(E.EXPERIMENTAL_PRODUCT_SHIPPING_CLASSES_STORE_NAME);return{shippingClasses:null!==(t=o())&&void 0!==t?t:[]}}),[]),f=(0,te.useInstanceId)(l.BaseControl,"wp-block-woocommerce-product-shipping-class-field");return(0,a.createElement)("div",{...r},(0,a.createElement)("div",{className:"wp-block-columns"},(0,a.createElement)("div",{className:"wp-block-column"},(0,a.createElement)(l.SelectControl,{id:f,name:"shipping_class",value:u,onChange:e=>{e!==C?d(e):o(!0)},label:(0,v.__)("Shipping class","woocommerce"),options:[...vr,...wr(null!=_?_:[])],help:(0,a.createInterpolateElement)((0,v.__)("Manage shipping classes and rates in <Link>global settings</Link>.","woocommerce"),{Link:(0,a.createElement)(i.Link,{href:(0,Oe.getNewPath)({tab:"shipping",section:"classes"},"",{},"wc-settings"),target:"_blank",type:"external",onClick:()=>{(0,T.recordEvent)("product_shipping_global_settings_link_click")}},(0,a.createElement)(a.Fragment,null))})})),(0,a.createElement)("div",{className:"wp-block-column"})),t&&(0,a.createElement)(br,{shippingClass:Er(m,_),onAdd:e=>n(e).then((e=>((0,T.recordEvent)("product_new_shipping_class_modal_add_button_click"),c("getProductShippingClasses"),d(e.slug),e))).catch(p),onCancel:()=>o(!1)}))}};function Sr(){return tt({name:yr,metadata:kr,settings:Cr})}const xr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-shipping-dimensions-fields","title":"Product shipping dimensions fields","category":"woocommerce","description":"The product shipping dimensions fields.","keywords":["products","shipping","dimensions"],"textdomain":"default","attributes":{"__contentEditable":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}');function Nr(e){let{highlight:t,labels:o={},...r}=e;return(0,a.createElement)("svg",{width:"295",height:"195",viewBox:"0 0 295 195",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r},(0,a.createElement)("path",{d:"M11.5664 134.604V35.3599C11.5664 33.9482 12.9862 32.9782 14.3014 33.4915L99.6373 66.7959C100.4 67.0935 100.905 67.8243 100.914 68.6426L102.037 171.578C102.052 173.027 100.574 174.014 99.2419 173.444L12.7831 136.448C12.0451 136.132 11.5664 135.407 11.5664 134.604Z",fill:"A"===t?"#F0F6FC":"#FFFFFF"}),(0,a.createElement)("path",{d:"M11.5664 134.603V35.3599C11.5664 33.9482 12.9862 32.9782 14.3014 33.4915L99.624 66.7908C100.393 67.0909 100.9 67.8314 100.901 68.6569L101.024 174.131L12.7844 136.447C12.0457 136.132 11.5664 135.406 11.5664 134.603Z",stroke:"#E0E0E0",strokeWidth:"2.00574"}),(0,a.createElement)("path",{d:"M1.25977 150.388L86.0112 188.183",stroke:"A"===t?"#006FAD":"#CCCCCC",strokeWidth:"1.50431",strokeMiterlimit:"16"}),(0,a.createElement)("path",{d:"M250.775 32.9793L100.9 66.9577V172.981C100.9 174.297 102.146 175.257 103.418 174.921L251.73 135.764C252.611 135.531 253.224 134.735 253.224 133.824V34.9354C253.224 33.6488 252.03 32.6948 250.775 32.9793Z",fill:"B"===t?"#F0F6FC":"#FFFFFF",stroke:"#E0E0E0",strokeWidth:"2.00574"}),(0,a.createElement)("path",{d:"M270.402 28.9875V132.064",stroke:"C"===t?"#006FAD":"#CCCCCC",strokeWidth:"1.50431",strokeMiterlimit:"16"}),(0,a.createElement)("path",{d:"M257.804 152.679L107.771 192.765",stroke:"B"===t?"#006FAD":"#CCCCCC",strokeWidth:"1.50431",strokeMiterlimit:"16"}),(0,a.createElement)("path",{d:"M13.1406 33.41L161.446 1.61817C161.808 1.54066 162.184 1.56462 162.533 1.68742L251.16 32.8868",stroke:"#E0E0E0",strokeWidth:"2.00574"}),o.C?(0,a.createElement)("text",{x:"280",y:"85",fontSize:11,fill:"C"===t?"#007CBA":"#949494"},o.C):(0,a.createElement)("path",{d:"M282.123 80.7892C282.123 79.5323 282.435 78.5405 283.058 77.8136C283.685 77.0867 284.537 76.7233 285.615 76.7233C286.467 76.7233 287.192 76.9739 287.79 77.4752C288.391 77.9729 288.741 78.6175 288.837 79.4088H287.639C287.525 78.9326 287.285 78.553 286.92 78.2701C286.558 77.9873 286.123 77.8458 285.615 77.8458C284.92 77.8458 284.368 78.1108 283.96 78.6407C283.556 79.1671 283.353 79.8833 283.353 80.7892C283.353 81.6915 283.556 82.4077 283.96 82.9376C284.368 83.464 284.922 83.7272 285.62 83.7272C286.132 83.7272 286.569 83.5983 286.93 83.3405C287.296 83.0826 287.532 82.7353 287.639 82.2985H288.837C288.73 83.0647 288.382 83.6824 287.795 84.1515C287.208 84.617 286.483 84.8497 285.62 84.8497C284.542 84.8497 283.69 84.4863 283.063 83.7594C282.437 83.0325 282.123 82.0424 282.123 80.7892Z",fill:"C"===t?"#007CBA":"#949494"}),o.B?(0,a.createElement)("text",{x:"188",y:"190",fontSize:11,fill:"B"===t?"#007CBA":"#949494"},o.B):(0,a.createElement)("path",{d:"M192.281 189.611V181.861H195.396C196.123 181.861 196.692 182.034 197.104 182.382C197.519 182.725 197.727 183.196 197.727 183.794C197.727 184.199 197.596 184.562 197.335 184.885C197.073 185.203 196.751 185.395 196.368 185.459V185.551C196.891 185.604 197.312 185.803 197.63 186.147C197.953 186.487 198.114 186.91 198.114 187.414C198.114 188.098 197.879 188.635 197.41 189.026C196.941 189.416 196.293 189.611 195.466 189.611H192.281ZM193.484 188.591H195.224C195.765 188.591 196.177 188.483 196.459 188.268C196.742 188.054 196.884 187.74 196.884 187.328C196.884 186.924 196.737 186.618 196.443 186.41C196.15 186.199 195.72 186.093 195.154 186.093H193.484V188.591ZM193.484 185.142H194.913C195.442 185.142 195.844 185.048 196.116 184.858C196.391 184.664 196.529 184.383 196.529 184.015C196.529 183.656 196.404 183.379 196.153 183.182C195.906 182.981 195.561 182.881 195.117 182.881H193.484V185.142Z",fill:"B"===t?"#007CBA":"#949494"}),o.A?(0,a.createElement)("text",{x:"18",y:"185",fontSize:11,fill:"A"===t?"#007CBA":"#949494"},o.A):(0,a.createElement)("path",{d:"M22.7694 185.149L25.5678 177.399H26.8622L29.6605 185.149H28.3822L27.6732 183.092H24.7191L24.0048 185.149H22.7694ZM25.0253 182.082H27.3671L26.2445 178.806H26.1532L25.0253 182.082Z",fill:"A"===t?"#007CBA":"#949494"}))}const{name:Tr,...Pr}=xr,Ar={example:{},edit:function(e){let{clientId:t}=e;var o,r,n;const i=(0,qe.useBlockProps)(),[c,s]=(0,J.useEntityProp)("postType","product","dimensions"),[m,u]=(0,J.useEntityProp)("postType","product","weight"),[d,p]=(0,a.useState)(),{formatNumber:_,parseNumber:f}=D(),{dimensionUnit:h,weightUnit:g}=(0,b.useSelect)((e=>{const{getOption:t}=e(E.OPTIONS_STORE_NAME);return{dimensionUnit:t("woocommerce_dimension_unit"),weightUnit:t("woocommerce_weight_unit")}}),[]);function w(e,t){return{name:`dimensions.${e}`,value:c?_(String(c[e])):void 0,onChange:t=>s({...null!=c?c:{},[e]:f(t)}),onFocus:()=>p(t),onBlur:()=>p(void 0),suffix:h}}const{ref:y,error:k,validate:C}=bo(`dimensions_width-${t}`,(async function(){if((null==c?void 0:c.width)&&+c.width<=0)return(0,v.__)("Width must be greater than zero.","woocommerce")}),[null==c?void 0:c.width]),{ref:S,error:x,validate:N}=bo(`dimensions_length-${t}`,(async function(){if((null==c?void 0:c.length)&&+c.length<=0)return(0,v.__)("Length must be greater than zero.","woocommerce")}),[null==c?void 0:c.length]),{ref:T,error:P,validate:A}=bo(`dimensions_height-${t}`,(async function(){if((null==c?void 0:c.height)&&+c.height<=0)return(0,v.__)("Height must be greater than zero.","woocommerce")}),[null==c?void 0:c.height]),{ref:I,error:M,validate:R}=bo(`weight-${t}`,(async function(){if(m&&+m<=0)return(0,v.__)("Weight must be greater than zero.","woocommerce")}),[m]),O={...w("width","A"),id:(0,te.useInstanceId)(l.BaseControl,"product_shipping_dimensions_width"),ref:y,onBlur:C},L={...w("length","B"),id:(0,te.useInstanceId)(l.BaseControl,"product_shipping_dimensions_length"),ref:S,onBlur:N},B={...w("height","C"),id:(0,te.useInstanceId)(l.BaseControl,"product_shipping_dimensions_height"),ref:T,onBlur:A},F={id:(0,te.useInstanceId)(l.BaseControl,"product_shipping_weight"),name:"weight",value:_(String(m)),onChange:e=>u(f(e)),suffix:g,ref:I,onBlur:R};return(0,a.createElement)("div",{...i},(0,a.createElement)("h4",null,(0,v.__)("Dimensions","woocommerce")),(0,a.createElement)("div",{className:"wp-block-columns"},(0,a.createElement)("div",{className:"wp-block-column"},(0,a.createElement)(l.BaseControl,{id:O.id,label:(0,a.createInterpolateElement)((0,v.__)("Width <Side />","woocommerce"),{Side:(0,a.createElement)("span",null,"A")}),className:ee()({"has-error":k}),help:k},(0,a.createElement)(l.__experimentalInputControl,{...O})),(0,a.createElement)(l.BaseControl,{id:L.id,label:(0,a.createInterpolateElement)((0,v.__)("Length <Side />","woocommerce"),{Side:(0,a.createElement)("span",null,"B")}),className:ee()({"has-error":x}),help:x},(0,a.createElement)(l.__experimentalInputControl,{...L})),(0,a.createElement)(l.BaseControl,{id:B.id,label:(0,a.createInterpolateElement)((0,v.__)("Height <Side />","woocommerce"),{Side:(0,a.createElement)("span",null,"C")}),className:ee()({"has-error":P}),help:P},(0,a.createElement)(l.__experimentalInputControl,{...B})),(0,a.createElement)(l.BaseControl,{id:F.id,label:(0,v.__)("Weight","woocommerce"),className:ee()({"has-error":M}),help:M},(0,a.createElement)(l.__experimentalInputControl,{...F}))),(0,a.createElement)("div",{className:"wp-block-column"},(0,a.createElement)(Nr,{highlight:d,className:"wp-block-woocommerce-product-shipping-dimensions-fields__dimensions-image",labels:{A:(null===(o=O.value)||void 0===o?void 0:o.length)?O.value:void 0,B:(null===(r=L.value)||void 0===r?void 0:r.length)?L.value:void 0,C:(null===(n=B.value)||void 0===n?void 0:n.length)?B.value:void 0}}))))}};function Ir(){return tt({name:Tr,metadata:Pr,settings:Ar})}const Mr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-summary-field","title":"Product summary","category":"widgets","description":"The product summary.","keywords":["products","summary","excerpt"],"textdomain":"default","attributes":{"align":{"type":"string"},"allowedFormats":{"type":"array","default":["core/bold","core/code","core/italic","core/link","core/strikethrough","core/underline","core/text-color","core/subscript","core/superscript","core/unknown"]},"direction":{"type":"string","enum":["ltr","rtl"]},"label":{"type":"string"},"content":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false},"editorStyle":"file:./editor.css"}'),Rr=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,a.createElement)(re.Path,{d:"M5.52 2h7.43c.55 0 1 .45 1 1s-.45 1-1 1h-1v13c0 .55-.45 1-1 1s-1-.45-1-1V5c0-.55-.45-1-1-1s-1 .45-1 1v12c0 .55-.45 1-1 1s-1-.45-1-1v-5.96h-.43C3.02 11.04 1 9.02 1 6.52S3.02 2 5.52 2zM14 14l5-4-5-4v8z"}));function Or(e){let{direction:t,onChange:o}=e;return(0,a.createElement)(a.Fragment,null,(0,v.isRTL)()&&(0,a.createElement)(l.ToolbarButton,{icon:Rr,title:(0,v._x)("Left to right","editor button","woocommerce"),isActive:"ltr"===t,onClick:function(){"function"==typeof o&&o("ltr"===t?void 0:"ltr")}}))}const Lr=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M4 19.8h8.9v-1.5H4v1.5zm8.9-15.6H4v1.5h8.9V4.2zm-8.9 7v1.5h16v-1.5H4z"})),Dr=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M16.4 4.2H7.6v1.5h8.9V4.2zM4 11.2v1.5h16v-1.5H4zm3.6 8.6h8.9v-1.5H7.6v1.5z"})),Br=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M11.1 19.8H20v-1.5h-8.9v1.5zm0-15.6v1.5H20V4.2h-8.9zM4 12.8h16v-1.5H4v1.5z"})),Fr=(0,a.createElement)(re.SVG,{xmlns:"https://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M4 12.8h16v-1.5H4v1.5zm0 7h12.4v-1.5H4v1.5zM4 4.3v1.5h16V4.3H4z"})),Vr=[{icon:Lr,title:(0,v.__)("Align text left","woocommerce"),align:"left"},{icon:Dr,title:(0,v.__)("Align text center","woocommerce"),align:"center"},{icon:Br,title:(0,v.__)("Align text right","woocommerce"),align:"right"},{icon:Fr,title:(0,v.__)("Align text justify","woocommerce"),align:"justify"}],{name:Hr,...Ur}=Mr,zr={example:{},edit:function e(t){let{attributes:o,setAttributes:r}=t;const{align:n,allowedFormats:i,direction:c,label:s}=o,m=(0,qe.useBlockProps)({style:{direction:c}}),u=(0,te.useInstanceId)(e,"wp-block-woocommerce-product-summary-field__content"),[d,p]=(0,J.useEntityProp)("postType","product","short_description"),{clearSelectedBlock:_}=(0,b.useDispatch)(qe.store);return(0,a.createElement)("div",{className:"wp-block wp-block-woocommerce-product-summary-field-wrapper"},(0,a.createElement)(qe.BlockControls,{group:"block"},(0,a.createElement)(qe.AlignmentControl,{alignmentControls:Vr,value:n,onChange:function(e){r({align:e})}}),(0,a.createElement)(Or,{direction:c,onChange:function(e){r({direction:e})}})),(0,a.createElement)(l.BaseControl,{id:u.toString(),label:s||(0,v.__)("Summary","woocommerce"),help:(0,v.__)("Summarize this product in 1-2 short sentences. We'll show it at the top of the page.","woocommerce")},(0,a.createElement)("div",{...m},(0,a.createElement)(qe.RichText,{id:u.toString(),identifier:"content",tagName:"p",value:d,onChange:p,"data-empty":Boolean(d),className:ee()("components-summary-control",{[`has-text-align-${n}`]:n}),dir:c,allowedFormats:i,onBlur:function(e){var t;(null===(t=e.relatedTarget)||void 0===t?void 0:t.closest(".block-editor-block-contextual-toolbar"))||_()}}))))}};function jr(){return tt({name:Hr,metadata:Ur,settings:zr})}const $r=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-tab","title":"Product tab","category":"woocommerce","description":"The product tab.","keywords":["products","tab","group"],"textdomain":"default","attributes":{"id":{"type":"string"},"title":{"type":"string"},"order":{"type":"number"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"providesContext":{"isInSelectedTab":"isSelected"},"usesContext":["selectedTab"],"editorStyle":"file:./editor.css","templateLock":"contentOnly"}'),Gr=100,Wr=e=>{let{children:t}=e;return(0,a.createElement)(a.Fragment,null,t)};function qr(e){let{children:t,className:o,id:r,order:n=Gr,selected:i=!1}=e;const c=ee()("wp-block-woocommerce-product-tab__button",o,{"is-selected":i});return(0,a.createElement)(l.Fill,{name:je},(e=>{const{onClick:o}=e;return(0,a.createElement)(Wr,{order:n},(0,a.createElement)(l.Button,{key:r,className:c,onClick:()=>o(r),id:`woocommerce-product-tab__${r}`,"aria-controls":`woocommerce-product-tab__${r}-content`,"aria-selected":i},t))}))}const{name:Zr,...Jr}=$r,Yr={example:{},edit:function(e){let{setAttributes:t,attributes:o,context:r}=e;const n=(0,qe.useBlockProps)(),{id:i,title:c,order:l,isSelected:s}=o,m=(null==r?void 0:r.selectedTab)===i;m!==s&&t({isSelected:m});const u=ee()("wp-block-woocommerce-product-tab__content",{"is-selected":m});return(0,a.createElement)("div",{...n},(0,a.createElement)(qr,{id:i,selected:m,order:l},c),(0,a.createElement)("div",{id:`woocommerce-product-tab__${i}-content`,"aria-labelledby":`woocommerce-product-tab__${i}`,role:"tabpanel",className:u},(0,a.createElement)(qe.InnerBlocks,{templateLock:"contentOnly"})))}};function Xr(){tt({name:Zr,metadata:Jr,settings:Yr})}const Kr=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-tag-field","title":"Product Tag","category":"widgets","description":"A field to select product tags.","keywords":["products","tag"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"},"label":{"type":"string"},"placeholder":{"type":"string"}},"usesContext":["postType"],"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),Qr=e=>{let{initialTagName:t,onCancel:o,onCreate:r}=e;const{createNotice:n}=(0,b.useDispatch)("core/notices"),[i,c]=(0,a.useState)(!1),{createProductTag:s,invalidateResolutionForStoreSelector:m}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_TAGS_STORE_NAME),[u,d]=(0,a.useState)(t||"");return(0,a.createElement)(l.Modal,{title:(0,v.__)("Create tag","woocommerce"),onRequestClose:()=>o(),className:"woocommerce-create-new-tag-modal"},(0,a.createElement)("div",{className:"woocommerce-create-new-tag-modal__wrapper"},(0,a.createElement)(l.TextControl,{label:(0,v.__)("Name","woocommerce"),name:"Tops",value:u,onChange:d}),(0,a.createElement)("div",{className:"woocommerce-create-new-tag-modal__buttons"},(0,a.createElement)(l.Button,{isSecondary:!0,onClick:()=>o(),disabled:i},(0,v.__)("Cancel","woocommerce")),(0,a.createElement)(l.Button,{isPrimary:!0,disabled:0===u.length||i,isBusy:i,onClick:()=>{(async()=>{(0,T.recordEvent)("product_tag_add",{source:N}),c(!0);try{const e=await s({name:u});m("getProductTags"),c(!1),r(e)}catch(e){n("error",(0,v.__)("Failed to create tag.","woocommerce")),c(!1),o()}})()}},(0,v.__)("Save","woocommerce")))))};function en(e){return{value:String(e.id),label:e.name}}function tn(e){return{id:+e.value,name:e.label}}function on(e){return e.map(en)}const rn=e=>{let{id:t,label:o,placeholder:r,value:n=[],onChange:c}=e;const{tagsSelectList:l,searchTags:s}=(()=>{const[e,t]=(0,a.useState)([]),[o,r]=(0,a.useState)(!0),n=e=>{r(!0);const o=void 0!==e?{search:e}:"";(0,b.resolveSelect)(E.EXPERIMENTAL_PRODUCT_TAGS_STORE_NAME).getProductTags(o).then((e=>{t(e)})).finally((()=>{r(!1)}))};return(0,a.useEffect)(n,[]),{searchTags:n,tagsSelectList:e,isSearching:o}})(),[m,u]=(0,a.useState)(""),[d,p]=(0,a.useState)(!1),[_,f]=(0,a.useState)(!1),[h,g]=(0,a.useState)(),{createProductTag:w,invalidateResolutionForStoreSelector:y}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_TAGS_STORE_NAME),{createNotice:k}=(0,b.useDispatch)("core/notices"),C=e=>{u(e||""),s(e||""),g(e)},S=(0,te.useDebounce)(C,150);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(i.__experimentalSelectTreeControl,{id:t,multiple:!0,shouldNotRecursivelySelect:!0,createValue:m,label:o,isLoading:d,onInputChange:S,placeholder:0===n.length?r:"",initialInputValue:h,onCreateNew:0===m.length?()=>f(!0):async()=>{(0,T.recordEvent)("product_tag_add",{source:N}),p(!0);try{g("");const e=await w({name:m});y("getProductTags"),p(!1),c([...n,e]),C("")}catch(e){k("error",(0,v.__)("Failed to create tag.","woocommerce")),p(!1)}},shouldShowCreateButton:e=>!e||-1===l.findIndex((t=>t.name===e)),items:on(l),selected:on(n),onSelect:e=>{if(Array.isArray(e)){const t=e.filter((e=>{let{value:t}=e;return!n.some((e=>e.id===+t))})).map(tn);c([...n,...t])}},onRemove:e=>{const t=Array.isArray(e)?n.filter((t=>!e.some((e=>{let{value:o}=e;return t.id===+o})))):n.filter((t=>t.id!==+e.value));c(t)}}),_&&(0,a.createElement)(Qr,{initialTagName:m,onCancel:()=>f(!1),onCreate:e=>{c([...n,e]),f(!1),C("")}}))},{name:nn}=Kr,an={example:{},edit:function(e){let{attributes:t,context:o}=e;const r=(0,qe.useBlockProps)(),{name:n,label:i,placeholder:c}=t,[s,m]=(0,J.useEntityProp)("postType",(null==o?void 0:o.postType)||"product",n||"tags"),u=(0,te.useInstanceId)(l.BaseControl,"tag-field");return(0,a.createElement)("div",{...r},(0,a.createElement)(rn,{id:u,label:i||(0,v.__)("Tags","woocommerce"),placeholder:c||(0,v.__)("Search or create tags…","woocommerce"),onChange:m,value:s||[]}))}},cn=()=>tt({name:nn,metadata:Kr,settings:an}),ln=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-inventory-quantity-field","title":"Product inventory quantity available","category":"woocommerce","description":"The product available quantity.","keywords":["products","quantity","inventory"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:sn,...mn}=ln,un={example:{},edit:function(e){let{clientId:t}=e;const o=(0,qe.useBlockProps)(),[r]=(0,J.useEntityProp)("postType","product","manage_stock"),[n,i]=(0,J.useEntityProp)("postType","product","stock_quantity"),c=(0,te.useInstanceId)(l.BaseControl,"product_stock_quantity"),{ref:s,error:m,validate:u}=bo(`stock_quantity-${t}`,(async function(){if(r&&n&&n<0)return(0,v.__)("Stock quantity must be a positive number.","woocommerce")}),[r,n]);return(0,a.useEffect)((()=>{r&&null===n&&i(1)}),[r,n]),(0,a.createElement)("div",{...o},(0,a.createElement)("div",{className:"wp-block-columns"},(0,a.createElement)("div",{className:"wp-block-column"},(0,a.createElement)(l.BaseControl,{id:c,className:m&&"has-error",help:null!=m?m:""},(0,a.createElement)(l.__experimentalInputControl,{id:c,name:"stock_quantity",ref:s,label:(0,v.__)("Available quantity","woocommerce"),value:n,onChange:i,onBlur:u,type:"number",min:0}))),(0,a.createElement)("div",{className:"wp-block-column"})))}};function dn(){return tt({name:sn,metadata:mn,settings:un})}const pn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-toggle-field","title":"Product toggle control","category":"woocommerce","description":"The product toggle.","keywords":["products","radio","input"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"},"property":{"type":"string"},"disabled":{"type":"boolean","default":false},"disabledCopy":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":true,"inserter":false,"lock":false,"__experimentalToolbar":false}}'),{name:_n,...fn}=pn,hn={example:{},edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)(),{label:r,property:n,disabled:i,disabledCopy:c}=t,[s,m]=(0,J.useEntityProp)("postType","product",n);return(0,a.createElement)("div",{...o},(0,a.createElement)(l.ToggleControl,{label:r,checked:s,disabled:i,onChange:m}),i&&(0,a.createElement)("p",{className:"wp-block-woocommerce-product-toggle__disable-copy",dangerouslySetInnerHTML:xt(c)}))}};function gn(){return tt({name:_n,metadata:fn,settings:hn})}const bn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-attributes-field","title":"Product attributes","category":"widgets","description":"The product attributes.","keywords":["products","attributes"],"textdomain":"default","attributes":{"name":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),vn=e=>{let{initialAttributeTermName:t,attributeId:o,onCancel:r=(()=>{}),onCreated:n=(()=>{})}=e;const{createNotice:c}=(0,b.useDispatch)("core/notices"),[s,m]=(0,a.useState)(!1),{createProductAttributeTerm:u,invalidateResolutionForStoreSelector:d}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME);return(0,a.createElement)(l.Modal,{title:(0,v.__)("Create attribute","woocommerce"),onRequestClose:e=>{e.stopPropagation(),r()},className:"woocommerce-create-attribute-term-modal"},(0,a.createElement)(i.Form,{initialValues:{name:t,slug:(0,w.cleanForSlug)(t)},validate:function(e){var t;const o={};return(null===(t=e.name)||void 0===t?void 0:t.length)||(o.name=(0,v.__)("The attribute term name is required.","woocommerce")),o},errors:{},onSubmit:async e=>{(0,T.recordEvent)("product_attribute_term_add",{source:N}),m(!0);try{const t=await u({...e,attribute_id:o});(0,T.recordEvent)("product_attribute_term_add_success",{source:N}),d("getProductAttributes"),m(!1),n(t)}catch(e){(0,T.recordEvent)("product_attribute_term_add_failed",{source:N}),c("error",(0,v.__)("Failed to create attribute term.","woocommerce")),m(!1),r()}}},(e=>{let{getInputProps:t,handleSubmit:o,isValidForm:n,setValue:i,values:c}=e;const m=t("name");return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(l.TextControl,{label:(0,v.__)("Name","woocommerce"),...m,onBlur:()=>{m.onBlur(),i("slug",(0,w.cleanForSlug)(c.name))}}),(0,a.createElement)(l.TextControl,{label:(0,v.__)("Slug","woocommerce"),...t("slug"),help:(0,v.__)("The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.","woocommerce")}),(0,a.createElement)(l.TextareaControl,{label:(0,v.__)("Description","woocommerce"),...t("description")}),(0,a.createElement)("div",{className:"woocommerce-create-attribute-term-modal__buttons"},(0,a.createElement)(l.Button,{isSecondary:!0,label:(0,v.__)("Cancel","woocommerce"),onClick:()=>r()},(0,v.__)("Cancel","woocommerce")),(0,a.createElement)(l.Button,{isPrimary:!0,isBusy:s,label:(0,v.__)("Add attribute","woocommerce"),disabled:!n||s,onClick:o},(0,v.__)("Add","woocommerce"))))})))};let wn=0;const En=e=>{let{value:t=[],onChange:o,placeholder:r,disabled:n,attributeId:c,label:s="",autoCreateOnSelect:m=!0}=e;const u=(0,a.useRef)("woocommerce-attribute-term-field-"+ ++wn),[d,p]=(0,a.useState)([]),[_,f]=(0,a.useState)(!1),[h,g]=(0,a.useState)(!1),[y,k]=(0,a.useState)(),{createNotice:C}=(0,b.useDispatch)("core/notices"),{createProductAttributeTerm:S,invalidateResolutionForStoreSelector:x}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME),P=(0,a.useCallback)((e=>(f(!0),(0,b.resolveSelect)(E.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME).getProductAttributeTerms({search:e||"",attribute_id:c}).then((e=>(p(e),f(!1),e)),(e=>(f(!1),e))))),[c]),A=(0,te.useDebounce)(P,250);(0,a.useEffect)((()=>{n||void 0===c||d.length||P()}),[n,c]);const I=e=>{o(t.filter((t=>t.slug!==e.slug)))},M=()=>{const e=document.querySelector("."+u.current+" .woocommerce-experimental-select-control__input");e&&setTimeout((()=>{e.focus()}),0)},R=e=>{-99!==e.id?t.find((t=>t.slug===e.slug))?I(e):o([...t,e]):m?((async e=>{(0,T.recordEvent)("product_attribute_term_add",{source:N}),g(!0);try{const r=await S({...e,attribute_id:c});(0,T.recordEvent)("product_attribute_term_add_success",{source:N}),o([...t,r]),x("getProductAttributes"),x("getProductAttributeTerms"),g(!1)}catch(e){let t={source:N,code:"Unknown error.",message:"An unknown error occurred."},o=(0,v.__)("Failed to create attribute term.","woocommerce");const r=e;(null==r?void 0:r.code)&&(null==r?void 0:r.message)&&(t={...t,code:r.code,message:r.message},"term_exists"===r.code&&(o=(0,v.__)("Attribute term already exists.","woocommerce"))),(0,T.recordEvent)("product_attribute_term_add_failed",t),C("error",o),g(!1)}})({name:e.name,slug:(0,w.cleanForSlug)(e.name)}),M()):k(e.name)},O=(t||[]).map((e=>e.slug));return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(i.__experimentalSelectControl,{items:d,multiple:!0,disabled:n||!c,label:s,getFilteredItems:(e,t)=>t.length>0&&!e.find((e=>e.name.toLowerCase()===t.toLowerCase()))?[...e,{id:-99,name:t}]:e,onInputChange:A,placeholder:r||"",getItemLabel:e=>(null==e?void 0:e.name)||"",getItemValue:e=>(null==e?void 0:e.slug)||"",stateReducer:(e,t)=>{const{changes:o,type:r}=t;switch(r){case i.selectControlStateChangeTypes.ControlledPropUpdatedSelectedItem:const t=h?{isOpen:h}:{};return{...o,...t,inputValue:e.inputValue};case i.selectControlStateChangeTypes.ItemClick:return o.selectedItem&&-99===o.selectedItem.id?o:{...o,isOpen:!0,inputValue:e.inputValue,highlightedIndex:e.highlightedIndex};default:return o}},selected:t,onSelect:R,onRemove:I,className:"woocommerce-attribute-term-field "+u.current,__experimentalOpenMenuOnFocus:!0},(e=>{let{items:t,highlightedIndex:o,getItemProps:r,getMenuProps:n,isOpen:c}=e;return(0,a.createElement)(i.__experimentalSelectControlMenu,{isOpen:c,getMenuProps:n},[_||h?(0,a.createElement)("div",{key:"loading-spinner",className:"woocommerce-attribute-term-field__loading-spinner"},(0,a.createElement)(l.Spinner,null)):null,...t.map(((e,t)=>{const n=O.includes(e.slug);return(0,a.createElement)(i.__experimentalSelectControlMenuItem,{key:`${e.slug}`,index:t,isActive:o===t,item:e,getItemProps:r},-99!==e.id?(0,a.createElement)(l.CheckboxControl,{onChange:()=>null,checked:n,label:(0,a.createElement)("span",{style:{fontWeight:n?"bold":"normal"}},e.name)}):(0,a.createElement)("div",{className:"woocommerce-attribute-term-field__add-new"},(0,a.createElement)(l.Icon,{icon:Ot,size:20,className:"woocommerce-attribute-term-field__add-new-icon"}),(0,a.createElement)("span",null,(0,v.sprintf)((0,v.__)('Create "%s"',"woocommerce"),e.name))))}))].filter((e=>null!==e)))})),!m&&y&&void 0!==c&&(0,a.createElement)(vn,{initialAttributeTermName:y,onCancel:()=>{k(void 0),M()},attributeId:c,onCreated:e=>{R(e),k(void 0),x("getProductAttributeTerms"),M()}}))};function yn(e){return null!==e&&"object"==typeof e&&!!e.label}const kn=e=>{let{value:t=[],onChange:o,placeholder:r,disabled:n,label:c}=e;const[s,m]=(0,a.useState)(t),u=e=>{o(t.filter((t=>t!==e)))};return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(i.__experimentalSelectControl,{items:s,multiple:!0,disabled:n,label:c||"",placeholder:r||"",getItemLabel:e=>yn(e)?e.label:e||"",getItemValue:e=>yn(e)?e.id:e||"",getFilteredItems:(e,t)=>{const o=e.filter((e=>!t.length||!yn(e)&&e.toLowerCase().includes(t.toLowerCase())));return t.length>0&&!o.find((e=>!yn(e)&&e.toLowerCase()===t.toLowerCase()))?[...o,{id:"is-new",label:t}]:o},selected:t,onSelect:e=>{if(yn(e))return m([...s,e.label]),void o([...t,e.label]);t.includes(e)?u(e):o([...t,e])},onRemove:u,className:"woocommerce-attribute-term-field"},(e=>{let{items:o,highlightedIndex:r,getItemProps:n,getMenuProps:c,isOpen:s}=e;return(0,a.createElement)(i.__experimentalSelectControlMenu,{isOpen:s,getMenuProps:c},o.map(((e,o)=>(0,a.createElement)(i.__experimentalSelectControlMenuItem,{key:`${yn(e)?e.id:e}`,index:o,isActive:r===o,item:e,getItemProps:n},yn(e)?(0,a.createElement)("div",{className:"woocommerce-attribute-term-field__add-new"},(0,a.createElement)(l.Icon,{icon:Ot,size:20,className:"woocommerce-attribute-term-field__add-new-icon"}),(0,a.createElement)("span",null,(0,v.sprintf)((0,v.__)('Create "%s"',"woocommerce"),e.label))):(0,a.createElement)(l.CheckboxControl,{onChange:()=>null,checked:t.includes(e),label:(0,a.createElement)("span",{style:{fontWeight:t.includes(e)?"bold":"normal"}},e)})))))})))},Cn=e=>{let{title:t=(0,v.__)("Edit attribute","woocommerce"),nameLabel:o=(0,v.__)("Name","woocommerce"),globalAttributeHelperMessage:r,customAttributeHelperMessage:n=(0,v.__)("Your customers will see this on the product page","woocommerce"),termsLabel:c=(0,v.__)("Values","woocommerce"),termsPlaceholder:s=(0,v.__)("Search or create value","woocommerce"),isDefaultLabel:m=(0,v.__)("Set default value","woocommerce"),isDefaultTooltip:u=(0,v.__)("Check to preselect the first choice when customers enter the product page.","woocommerce"),useAsFilterLabel:d=(0,v.__)("Use as filter","woocommerce"),useAsFilterTooltip:p=(0,v.__)("Check to allow customers to search and filter by this option in your store.","woocommerce"),visibleLabel:_=(0,v.__)("Show in product details","woocommerce"),visibleTooltip:f=(0,v.__)("Check to show this option and its values in the product details section on the product page.","woocommerce"),cancelAccessibleLabel:h=(0,v.__)("Cancel","woocommerce"),cancelLabel:g=(0,v.__)("Cancel","woocommerce"),updateAccessibleLabel:b=(0,v.__)("Edit attribute","woocommerce"),updateLabel:w=(0,v.__)("Update","woocommerce"),onCancel:E,onEdit:y,attribute:k}=e;const[C,S]=(0,a.useState)({...k}),x=0===(null==C?void 0:C.id);return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(l.Modal,{title:t,onRequestClose:()=>E(),className:"woocommerce-edit-attribute-modal"},(0,a.createElement)("div",{className:"woocommerce-edit-attribute-modal__body"},(0,a.createElement)(l.TextControl,{label:o,disabled:!x,value:(null==C?void 0:C.name)?null==C?void 0:C.name:"",onChange:e=>S({...C,name:e})}),(0,a.createElement)("p",{className:"woocommerce-edit-attribute-modal__helper-text"},x?n:r),k.terms?(0,a.createElement)(En,{label:c,placeholder:s,value:null==C?void 0:C.terms,attributeId:null==C?void 0:C.id,onChange:e=>{S({...C,terms:e})}}):(0,a.createElement)(kn,{label:c,placeholder:s,disabled:!(null==k?void 0:k.name),value:null==C?void 0:C.options,onChange:e=>{S({...C,options:e})}}),(0,a.createElement)("div",{className:"woocommerce-edit-attribute-modal__options"},k.variation&&(0,a.createElement)("div",{className:"woocommerce-edit-attribute-modal__option-container"},(0,a.createElement)(l.CheckboxControl,{onChange:e=>S({...C,isDefault:e}),checked:null==C?void 0:C.isDefault,label:m}),(0,a.createElement)(i.__experimentalTooltip,{text:u})),(0,a.createElement)("div",{className:"woocommerce-edit-attribute-modal__option-container"},(0,a.createElement)(l.CheckboxControl,{onChange:e=>S({...C,visible:e}),checked:null==C?void 0:C.visible,label:_}),(0,a.createElement)(i.__experimentalTooltip,{text:f})),0!==k.id&&(0,a.createElement)("div",{className:"woocommerce-edit-attribute-modal__option-container"},(0,a.createElement)(l.CheckboxControl,{disabled:!0,onChange:()=>{},checked:!0,label:d}),(0,a.createElement)(i.__experimentalTooltip,{text:p})))),(0,a.createElement)("div",{className:"woocommerce-edit-attribute-modal__buttons"},(0,a.createElement)(l.Button,{isSecondary:!0,label:h,onClick:()=>E()},g),(0,a.createElement)(l.Button,{isPrimary:!0,label:b,onClick:()=>{y(C)}},w))),(0,a.createElement)(i.__experimentalSelectControlMenuSlot,null))};function Sn(e){return 0!==e.id?e.id:e.name}const xn=e=>`${e.id}-${e.name}`;function Nn(e){return"string"==typeof e?{id:0,name:e,options:[]}:e}function Tn(e){let{width:t=10,height:o=15,...r}=e;return(0,a.createElement)("svg",{...r,width:t,height:o,viewBox:`0 0 ${t} ${o}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("g",{id:"help"},(0,a.createElement)("g",{id:"bundle os x cursors"},(0,a.createElement)("g",{id:"Made with 💕by Azendoo design team   @azendoo"},(0,a.createElement)("g",{id:"help_2"},(0,a.createElement)("path",{id:"cursor",fillRule:"evenodd",clipRule:"evenodd",d:"M2.3165 1.9407C2.9225 1.4527 4.0465 1.0657 5.0025 1.0597C6.5165 1.0507 7.3135 1.5157 8.0285 2.2107C8.7165 2.8797 9.0325 3.5627 8.9815 4.6107C8.9405 5.4637 8.7145 5.9587 8.3775 6.4217C8.1795 6.7027 7.8005 7.0627 7.2395 7.4997L6.7065 7.9297C6.3765 8.2497 6.2325 8.3927 6.1065 8.7497C6.0125 9.0157 5.9905 9.2557 5.9855 9.6717H4.0085C4.0055 8.6557 3.9895 8.2967 4.0985 7.8587C4.2055 7.4327 4.6005 7.1247 5.1615 6.6877L5.7295 6.2417C5.9175 6.1017 6.2235 5.8277 6.3375 5.6607C6.5455 5.3747 6.6715 4.9787 6.6885 4.6357C6.7045 4.3127 6.6075 3.9367 6.3445 3.6087C6.0325 3.2187 5.6415 2.9707 4.8795 3.0047C4.2785 3.0317 3.8185 3.3377 3.5375 3.6267C3.2075 3.9667 3.0635 4.5307 3.0395 4.9767H1.0625C1.1245 3.4927 1.4165 2.6647 2.3165 1.9407Z",fill:"white"}),(0,a.createElement)("path",{id:"cursor_2",fillRule:"evenodd",clipRule:"evenodd",d:"M2.3165 1.9407C2.9225 1.4527 4.0465 1.0657 5.0025 1.0597C6.5165 1.0507 7.3135 1.5157 8.0285 2.2107C8.7165 2.8797 9.0325 3.5627 8.9815 4.6107C8.9405 5.4637 8.7145 5.9587 8.3775 6.4217C8.1795 6.7027 7.8005 7.0627 7.2395 7.4997L6.7065 7.9297C6.3765 8.2497 6.2325 8.3927 6.1065 8.7497C6.0125 9.0157 5.9905 9.2557 5.9855 9.6717H4.0085C4.0055 8.6557 3.9895 8.2967 4.0985 7.8587C4.2055 7.4327 4.6005 7.1247 5.1615 6.6877L5.7295 6.2417C5.9175 6.1017 6.2235 5.8277 6.3375 5.6607C6.5455 5.3747 6.6715 4.9787 6.6885 4.6357C6.7045 4.3127 6.6075 3.9367 6.3445 3.6087C6.0325 3.2187 5.6415 2.9707 4.8795 3.0047C4.2785 3.0317 3.8185 3.3377 3.5375 3.6267C3.2075 3.9667 3.0635 4.5307 3.0395 4.9767H1.0625C1.1245 3.4927 1.4165 2.6647 2.3165 1.9407Z",stroke:"white",strokeWidth:"2"}),(0,a.createElement)("mask",{id:"mask0_4951_449651",maskUnits:"userSpaceOnUse",x:"-4",y:"-1",width:"18",height:"18"},(0,a.createElement)("g",{id:"mask 2"},(0,a.createElement)("path",{id:"Vector",d:"M-4 -1H14V17H-4V-1Z",fill:"white"}))),(0,a.createElement)("g",{mask:"url(#mask0_4951_449651)"},(0,a.createElement)("path",{id:"cursor_3",fillRule:"evenodd",clipRule:"evenodd",d:"M3.75391 10.8628H6.22791V13.2578H3.75391V10.8628Z",fill:"white"}),(0,a.createElement)("path",{id:"cursor_4",fillRule:"evenodd",clipRule:"evenodd",d:"M3.75391 10.8628H6.22791V13.2578H3.75391V10.8628Z",stroke:"white",strokeWidth:"1.5"}),(0,a.createElement)("path",{id:"cursor_5",fillRule:"evenodd",clipRule:"evenodd",d:"M2.515 1.92095C3.212 1.47195 3.857 1.12695 4.941 1.12695C6.558 1.12695 6.924 1.36895 7.753 2.03095C8.503 2.62995 8.96 3.40695 8.96 4.51095C8.96 5.18795 8.596 5.91895 8.258 6.38195C8.061 6.66295 7.799 6.94195 7.238 7.37995L6.626 7.84995C6.326 8.08395 6.028 8.43795 5.929 8.74995C5.867 8.94795 5.871 9.37295 5.867 9.78895H4.007C4.038 8.90895 4.041 8.18395 4.176 7.84795C4.311 7.51195 4.659 7.12495 5.22 6.68795L5.767 6.24195C5.954 6.10195 6.242 5.88795 6.356 5.72095C6.564 5.43495 6.745 5.01995 6.745 4.67595C6.745 4.27995 6.767 3.99995 6.536 3.67395C6.266 3.29595 6.02 2.87995 4.858 2.85995C3.953 2.84395 3.567 3.30695 3.316 3.70695C3.064 4.10895 2.978 4.56495 2.978 4.99695H1C1.063 3.51295 1.541 2.54095 2.515 1.92095Z",fill:"black"}),(0,a.createElement)("path",{id:"cursor_6",fillRule:"evenodd",clipRule:"evenodd",d:"M4.01172 11.0161H5.99072V13.0001H4.01172V11.0161Z",fill:"black"})))))),(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:"clip0_4951_449651"},(0,a.createElement)("rect",{width:"10",height:"15",fill:"white"}))))}function Pn(e){let{width:t=24,height:o=24,...r}=e;return(0,a.createElement)("svg",{...r,width:t,height:o,viewBox:`0 0 ${t} ${o}`,fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)("g",null,(0,a.createElement)("path",{d:"M10 17.5H14V16H10V17.5ZM6 6V7.5H18V6H6ZM8 12.5H16V11H8V12.5Z",fill:"#949494"}),(0,a.createElement)("rect",{x:"16.7734",y:"4",width:"1.22727",height:"16",transform:"rotate(30 16.7734 4)",fill:"#949494"}),(0,a.createElement)("rect",{x:"16",y:"3",width:"1.22727",height:"16",transform:"rotate(30 16 3)",fill:"white"})),(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:"clip0_4951_450432"},(0,a.createElement)("rect",{width:"24",height:"24",fill:"white"}))))}function An(e){let{width:t=24,height:o=24,...r}=e;return(0,a.createElement)("svg",{...r,width:t,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},(0,a.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.7226 6.2125C13.1641 6.0766 12.5883 6 11.9999 6C8.10055 6 4.75407 9.36447 3.31899 11.0546C2.8507 11.6061 2.8507 12.3939 3.31899 12.9454C4.17896 13.9582 5.72533 15.5723 7.66574 16.7033L8.41572 15.4043C8.13761 15.242 7.86389 15.0655 7.59553 14.8776C6.25019 13.9359 5.15775 12.7905 4.48406 12C5.15775 11.2095 6.25019 10.0641 7.59553 9.12235C8.96667 8.16257 10.4775 7.5 11.9999 7.5C12.3118 7.5 12.6231 7.5278 12.9329 7.58027L13.7226 6.2125ZM12.3504 8.58923C12.2352 8.57753 12.1182 8.57153 11.9999 8.57153C10.1063 8.57153 8.57132 10.1066 8.57132 12.0001C8.57132 12.7505 8.81237 13.4445 9.22126 14.0091L10.1233 12.4467C10.0893 12.3034 10.0713 12.1538 10.0713 12.0001C10.0713 11.1266 10.652 10.3888 11.4484 10.1515L12.3504 8.58923ZM12.8092 10.2491L13.5611 8.94679C14.6697 9.51479 15.4285 10.6688 15.4285 12.0001C15.4285 13.8937 13.8934 15.4287 11.9999 15.4287C11.3128 15.4287 10.6729 15.2266 10.1364 14.8785L10.8883 13.5763C11.2025 13.7983 11.5859 13.9287 11.9999 13.9287C13.065 13.9287 13.9285 13.0652 13.9285 12.0001C13.9285 11.224 13.4701 10.555 12.8092 10.2491ZM9.51376 15.957C10.3246 16.2986 11.1605 16.5 11.9999 16.5C13.5223 16.5 15.0331 15.8374 16.4043 14.8776C17.7496 13.9359 18.842 12.7905 19.5157 12C18.842 11.2095 17.7496 10.0641 16.4043 9.12235C15.6875 8.62066 14.9327 8.20018 14.1579 7.91308L14.917 6.59839C17.5164 7.64275 19.6204 9.80575 20.6808 11.0546C21.1491 11.6061 21.1491 12.3939 20.6808 12.9454C19.2457 14.6355 15.8992 18 11.9999 18C10.8611 18 9.76945 17.713 8.7588 17.2646L9.51376 15.957Z",fill:"currentColor"}),(0,a.createElement)("rect",{x:"16.0625",y:"4.61377",width:"1.22727",height:"16",transform:"rotate(30 16.0625 4.61377)",fill:"currentColor"}))}function In(e){let{width:t=24,height:o=24,...r}=e;return(0,a.createElement)("div",{className:"woocommerce-hidden-with-help-icon",...r},(0,a.createElement)(An,{className:"woocommerce-hidden-with-help-icon__hidden-icon",width:t,height:o}),(0,a.createElement)(Tn,{className:"woocommerce-hidden-with-help-icon__help-icon"}))}const Mn=(0,v.__)("Not visible","woocommerce"),Rn=(0,v.__)("Custom attribute. Customers can’t filter or search by it to find this product","woocommerce"),On=e=>{let{attribute:t,editLabel:o=(0,v.__)("Edit","woocommerce"),removeLabel:r=(0,v.__)("Remove attribute","woocommerce"),onDragStart:n,onDragEnd:c,onEditClick:s,onRemoveClick:m}=e;return(0,a.createElement)(i.ListItem,{className:"woocommerce-attribute-list-item",onDragStart:n,onDragEnd:c},(0,a.createElement)("div",null,t.name),(0,a.createElement)("div",{className:"woocommerce-attribute-list-item__options"},t.options.slice(0,t.options.length>3?2:3).map(((e,t)=>(0,a.createElement)("div",{className:"woocommerce-attribute-list-item__option-chip",key:t},e))),t.options.length>3&&(0,a.createElement)("div",{className:"woocommerce-attribute-list-item__option-chip"},(0,v.sprintf)((0,v.__)("+ %i more","woocommerce"),t.options.length-2))),(0,a.createElement)("div",{className:"woocommerce-attribute-list-item__actions"},0===t.id&&(0,a.createElement)(l.Tooltip,{className:"woocommerce-attribute-list-item__actions-tooltip",position:"top center",text:Rn},(0,a.createElement)("div",{className:"woocommerce-attribute-list-item__actions-icon-wrapper"},(0,a.createElement)(Pn,{className:"woocommerce-attribute-list-item__actions-icon-wrapper-icon"}),(0,a.createElement)(Tn,{className:"woocommerce-attribute-list-item__actions-icon-wrapper-help-icon"}))),!t.visible&&(0,a.createElement)(l.Tooltip,{className:"woocommerce-attribute-list-item__actions-tooltip",position:"top center",text:Mn},(0,a.createElement)("div",null,(0,a.createElement)(In,null))),"function"==typeof s&&(0,a.createElement)(l.Button,{variant:"tertiary",onClick:()=>s(t)},o),"function"==typeof m&&(0,a.createElement)(l.Button,{icon:we,label:r,onClick:()=>m(t)})))};function Ln(e){return-99===e.id}const Dn=e=>{let{value:t=null,onChange:o,placeholder:r,label:n,disabled:c,disabledAttributeIds:s=[],disabledAttributeMessage:m,ignoredAttributeIds:u=[],createNewAttributesAsGlobal:d=!1}=e;const{createErrorNotice:p}=(0,b.useDispatch)("core/notices"),{createProductAttribute:_,invalidateResolution:f}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_ATTRIBUTES_STORE_NAME),{attributes:h,isLoading:g}=(0,b.useSelect)((e=>{const{getProductAttributes:t,hasFinishedResolution:o}=e(E.EXPERIMENTAL_PRODUCT_ATTRIBUTES_STORE_NAME);return{isLoading:!o("getProductAttributes"),attributes:t()}})),w=(0,a.useMemo)((function(){var e;return null!==(e=null==h?void 0:h.map((e=>({...e,isDisabled:s.includes(e.id)}))))&&void 0!==e?e:[]}),[h,s]);return(0,a.createElement)(i.__experimentalSelectControl,{className:"woocommerce-attribute-input-field",items:w||[],label:n||"",disabled:c,getFilteredItems:(e,t)=>{const o=e.filter((e=>(e=>!u.length||!u.includes(e.id))(e)&&(e.name||"").toLowerCase().startsWith(t.toLowerCase())));return t.length>0&&(d||!e.find((e=>e.name.toLowerCase()===t.toLowerCase())))?[...o,{id:-99,name:t}]:o},placeholder:r,getItemLabel:e=>(null==e?void 0:e.name)||"",getItemValue:e=>(null==e?void 0:e.id)||"",selected:t,onSelect:e=>{Ln(e)?(e=>{(0,T.recordEvent)("product_attribute_add_custom_attribute",{source:N}),d?_({name:e.name,generate_slug:!0}).then((e=>{f("getProductAttributes"),o({...e,options:[]})}),(e=>{let t=(0,v.__)("Failed to create new attribute.","woocommerce");"woocommerce_rest_cannot_create"===e.code&&(t=e.message),p(t,{explicitDismiss:!0})})):o(e.name)})(e):o({id:e.id,name:e.name,options:[]})},onRemove:()=>o(),__experimentalOpenMenuOnFocus:!0},(e=>{let{items:t,highlightedIndex:o,getItemProps:r,getMenuProps:n,isOpen:c}=e;return(0,a.createElement)(i.__experimentalSelectControlMenu,{getMenuProps:n,isOpen:c},g?(0,a.createElement)(l.Spinner,null):t.map(((e,t)=>(0,a.createElement)(i.__experimentalSelectControlMenuItem,{key:e.id,index:t,isActive:o===t,item:e,getItemProps:t=>({...r(t),disabled:e.isDisabled||void 0}),tooltipText:e.isDisabled?m:e.slug},Ln(e)?(0,a.createElement)("div",{className:"woocommerce-attribute-input-field__add-new"},(0,a.createElement)(l.Icon,{icon:Ot,size:20,className:"woocommerce-attribute-input-field__add-new-icon"}),(0,a.createElement)("span",null,(0,v.sprintf)((0,v.__)('Create "%s"',"woocommerce"),e.name))):e.name))))}))},Bn=e=>{let{title:t=(0,v.__)("Add attributes","woocommerce"),description:o="",notice:r=(0,v.__)("By default, attributes are filterable and visible on the product page. You can change these settings for each attribute separately later.","woocommerce"),attributeLabel:n=(0,v.__)("Attribute","woocommerce"),valueLabel:c=(0,v.__)("Values","woocommerce"),attributePlaceholder:s=(0,v.__)("Search or create attribute","woocommerce"),termPlaceholder:m=(0,v.__)("Search or create value","woocommerce"),removeLabel:u=(0,v.__)("Remove attribute","woocommerce"),addAnotherAccessibleLabel:d=(0,v.__)("Add another attribute","woocommerce"),addAnotherLabel:p=(0,v.__)("+ Add another","woocommerce"),cancelLabel:_=(0,v.__)("Cancel","woocommerce"),addAccessibleLabel:f=(0,v.__)("Add attributes","woocommerce"),addLabel:h=(0,v.__)("Add","woocommerce"),confirmMessage:g=(0,v.__)("You have some attributes added to the list, are you sure you want to cancel?","woocommerce"),confirmCancelLabel:w=(0,v.__)("No thanks","woocommerce"),confirmConfirmLabel:y=(0,v.__)("Yes please!","woocommerce"),onCancel:k,onAdd:C,selectedAttributeIds:S=[],createNewAttributesAsGlobal:x=!1,disabledAttributeIds:N=[],disabledAttributeMessage:P=(0,v.__)("Already used in Attributes","woocommerce"),termsAutoSelection:A,defaultVisibility:I=!1}=e;const[M,R]=(0,a.useState)(!1),O=e=>{return(e=>0!==e.id)(e)?(t=e.terms)?t.map((e=>e.name)):[]:e.options;var t},L=e=>void 0!==e.visible?e.visible:I,D=e=>{setTimeout((()=>{const t=document.querySelector(".woocommerce-new-attribute-modal__table-row-"+e+" .woocommerce-new-attribute-modal__table-attribute-value-column .woocommerce-experimental-select-control__input");t&&t.focus()}),0)},B=e=>{e.attributes.some((e=>null!==e&&(null==e?void 0:e.terms)&&(null==e?void 0:e.terms.length)>0))?R(!0):k()};return(0,a.useEffect)((function(){const e=document.querySelector(".woocommerce-new-attribute-modal__table-row .woocommerce-attribute-input-field label"),t=setTimeout((()=>{null==e||e.focus()}),100);return()=>clearTimeout(t)}),[]),(0,a.createElement)(a.Fragment,null,(0,a.createElement)(i.Form,{initialValues:{attributes:[null]}},(e=>{let{values:i,setValue:g}=e;function v(e){return function(t){A&&t&&"string"!=typeof t?(0,b.resolveSelect)(E.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME).getProductAttributeTerms({search:"",attribute_id:t.id}).then((o=>{const r=Nn(t);"all"===A?r.terms=o:o.length>0&&(r.terms=[o[0]]),g("attributes["+e+"]",{...r}),D(e)})):(g("attributes["+e+"]",t&&Nn(t)),t&&D(e))}}return(0,a.createElement)(l.Modal,{title:t,onRequestClose:e=>{e.isPropagationStopped()||B(i)},className:"woocommerce-new-attribute-modal"},r&&(0,a.createElement)(l.Notice,{isDismissible:!1},(0,a.createElement)("p",null,r)),o&&(0,a.createElement)("p",null,o),(0,a.createElement)("div",{className:"woocommerce-new-attribute-modal__body"},(0,a.createElement)("table",{className:"woocommerce-new-attribute-modal__table"},(0,a.createElement)("thead",null,(0,a.createElement)("tr",{className:"woocommerce-new-attribute-modal__table-header"},(0,a.createElement)("th",null,n),(0,a.createElement)("th",null,c))),(0,a.createElement)("tbody",null,i.attributes.map(((e,t)=>(0,a.createElement)("tr",{key:t,className:`woocommerce-new-attribute-modal__table-row woocommerce-new-attribute-modal__table-row-${t}`},(0,a.createElement)("td",{className:"woocommerce-new-attribute-modal__table-attribute-column"},(0,a.createElement)(Dn,{placeholder:s,value:e,label:n,onChange:v(t),ignoredAttributeIds:[...S,...i.attributes.map((e=>null==e?void 0:e.id)).filter((e=>void 0!==e))],createNewAttributesAsGlobal:x,disabledAttributeIds:N,disabledAttributeMessage:P})),(0,a.createElement)("td",{className:"woocommerce-new-attribute-modal__table-attribute-value-column"},e&&0===e.id?(0,a.createElement)(kn,{placeholder:m,disabled:!e.name,value:e.options,label:c,onChange:e=>g("attributes["+t+"].options",e)}):(0,a.createElement)(En,{placeholder:m,disabled:!e||!e.id,attributeId:e?e.id:void 0,value:null==e?[]:e.terms,label:c,onChange:e=>g("attributes["+t+"].terms",e)})),(0,a.createElement)("td",{className:"woocommerce-new-attribute-modal__table-attribute-trash-column"},(0,a.createElement)(l.Button,{icon:po,disabled:1===i.attributes.length&&null===i.attributes[0],label:u,onClick:()=>((e,t,o)=>{(0,T.recordEvent)("product_add_attributes_modal_remove_attribute_button_click"),t.attributes.length>1?o("attributes",t.attributes.filter(((t,o)=>o!==e))):o(`attributes[${e}]`,[null])})(t,i,g)})))))))),(0,a.createElement)("div",null,(0,a.createElement)(l.Button,{className:"woocommerce-new-attribute-modal__add-attribute",variant:"tertiary",label:d,onClick:()=>{(0,T.recordEvent)("product_add_attributes_modal_add_another_attribute_button_click"),((e,t)=>{var o;t("attributes",[...e.attributes,null]),o=e.attributes.length,setTimeout((()=>{const e=document.querySelector(`.woocommerce-new-attribute-modal__table-row-${o}`);null==e||e.scrollIntoView({behavior:"smooth"})}),0)})(i,g)}},p)),(0,a.createElement)("div",{className:"woocommerce-new-attribute-modal__buttons"},(0,a.createElement)(l.Button,{isSecondary:!0,label:_,onClick:()=>B(i)},_),(0,a.createElement)(l.Button,{isPrimary:!0,label:f,disabled:1===i.attributes.length&&(null===i.attributes[0]||void 0===i.attributes[0]),onClick:()=>(e=>{const t=[];e.attributes.forEach((e=>{var o;null!==(o=e)&&o.name.length>0&&(e=>e.terms&&e.terms.length>0||e.options&&e.options.length>0)(o)&&t.push({...e,visible:L(e),options:O(e)})})),C(t)})(i)},h)))})),(0,a.createElement)(i.__experimentalSelectControlMenuSlot,null),M&&(0,a.createElement)(l.__experimentalConfirmDialog,{cancelButtonText:w,confirmButtonText:y,onCancel:()=>R(!1),onConfirm:k},g))},Fn=e=>{let{title:t=(0,v.__)("Add attributes","woocommerce"),description:o="",onCancel:r,onRemove:n}=e;return(0,a.createElement)(l.Modal,{title:t,onRequestClose:e=>{e.isPropagationStopped()||r()},className:"woocommerce-remove-attribute-modal"},o&&(0,a.createElement)("p",null,o),(0,a.createElement)("div",{className:"woocommerce-remove-attribute-modal__buttons"},(0,a.createElement)(l.Button,{isDestructive:!0,variant:"primary",label:(0,v.__)("Delete","woocommerce"),onClick:n},(0,v.__)("Delete","woocommerce")),(0,a.createElement)(l.Button,{variant:"tertiary",label:(0,v.__)("Cancel","woocommerce"),onClick:r},(0,v.__)("Cancel","woocommerce"))))},Vn=e=>{let{value:t,onAdd:o=(()=>{}),onChange:r,onEdit:n=(()=>{}),onNewModalCancel:c=(()=>{}),onNewModalClose:s=(()=>{}),onNewModalOpen:m=(()=>{}),onEditModalCancel:u=(()=>{}),onEditModalClose:d=(()=>{}),onEditModalOpen:p=(()=>{}),onRemove:_=(()=>{}),onRemoveCancel:f=(()=>{}),onNoticeDismiss:h=(()=>{}),uiStrings:g,createNewAttributesAsGlobal:b=!1,useRemoveConfirmationModal:w=!1,disabledAttributeIds:E=[],termsAutoSelection:y,defaultVisibility:k=!1}=e;g={newAttributeListItemLabel:(0,v.__)("Add new","woocommerce"),globalAttributeHelperMessage:(0,v.__)("You can change the attribute's name in <link>Attributes</link>.","woocommerce"),newAttributeModalNotice:(0,v.__)("By default, attributes are filterable and visible on the product page. You can change these settings for each attribute separately later.","woocommerce"),attributeRemoveConfirmationMessage:(0,v.__)("Remove this attribute?","woocommerce"),...g};const[C,S]=(0,a.useState)(!1),[x,P]=(0,a.useState)(),[A,I]=(0,a.useState)(null),M=e=>{r(e.map((e=>({...e,options:e.terms?e.terms.map((e=>e.name)):e.options,terms:void 0,visible:e.visible||!1}))))},R=e=>{M(t.filter((t=>xn(t)!==xn(e)))),_(e),P(null)},O=()=>{S(!1),s()},L=e=>{I(null),d(e)},D=t.sort(((e,t)=>e.position-t.position)),B=t.reduce(((e,t)=>(e[Sn(t)]=t,e)),{}),F=t.find((e=>xn(e)===A));return(0,a.createElement)("div",{className:"woocommerce-attribute-field"},(0,a.createElement)(l.Button,{variant:"secondary",className:"woocommerce-add-attribute-list-item__add-button",onClick:()=>{S(!0),m(),(0,T.recordEvent)("product_options_add_button_click",{source:N})}},g.newAttributeListItemLabel),g.notice&&(0,a.createElement)(l.Notice,{isDismissible:!0,status:"warning",className:"woocommerce-attribute-field__notice",onRemove:h},(0,a.createElement)("p",null,g.notice)),Boolean(t.length)&&(0,a.createElement)(i.Sortable,{onOrderChange:e=>{const t=e.reduce(((e,t,o)=>{let{props:r}=t;return e[Sn(r.attribute)]=o,e}),{});r(function(e,t){return Object.keys(t).map((o=>isNaN(e[o])?{...t[o]}:{...t[o],position:e[o]}))}(t,B))}},D.map((e=>(0,a.createElement)(On,{attribute:e,removeLabel:null==g?void 0:g.attributeRemoveLabel,key:xn(e),onEditClick:()=>{return t=e,(0,T.recordEvent)("product_options_edit",{source:N,attribute:t.name}),I(xn(t)),void p(t);var t},onRemoveClick:()=>{return t=e,void(w?P(t):window.confirm(null==g?void 0:g.attributeRemoveConfirmationMessage)?R(t):f(t));var t}})))),C&&(0,a.createElement)(Bn,{title:g.newAttributeModalTitle,description:g.newAttributeModalDescription,notice:g.newAttributeModalNotice,onCancel:()=>{O(),c()},onAdd:e=>{const r=e.filter((e=>!t.some((t=>xn(e)===xn(t)))));(0,T.recordEvent)("product_options_add",{source:N,options:r.map((e=>({attribute:e.name,values:e.options})))}),M([...t,...r]),o(e),O()},selectedAttributeIds:t.map((e=>e.id)),createNewAttributesAsGlobal:b,disabledAttributeIds:E,disabledAttributeMessage:g.disabledAttributeMessage,termsAutoSelection:y,defaultVisibility:k}),(0,a.createElement)(i.__experimentalSelectControlMenuSlot,null),F&&(0,a.createElement)(Cn,{title:(0,v.sprintf)((0,v.__)("Edit %s","woocommerce"),F.name),customAttributeHelperMessage:g.customAttributeHelperMessage,globalAttributeHelperMessage:g.globalAttributeHelperMessage?(0,a.createInterpolateElement)(g.globalAttributeHelperMessage,{link:(0,a.createElement)(i.Link,{href:(0,Se.getAdminLink)("edit.php?post_type=product&page=product_attributes"),target:"_blank",type:"wp-admin"},(0,a.createElement)(a.Fragment,null))}):void 0,onCancel:()=>{L(F),u(F)},onEdit:e=>{(e=>{var o;(0,T.recordEvent)("product_options_update",{source:N,attribute:e.name,values:null===(o=e.terms)||void 0===o?void 0:o.map((e=>e.name)),default:e.isDefault,visible:e.visible,filter:!0});const r=t.map((t=>xn(t)===xn(e)?e:t));n(e),M(r),L(e)})(e)},attribute:F}),x&&(0,a.createElement)(Fn,{title:(0,v.sprintf)((0,v.__)("Delete %(attributeName)s","woocommerce"),{attributeName:x.name}),description:g.attributeRemoveConfirmationModalMessage,onRemove:()=>R(x),onCancel:()=>{f(x),P(null)}}))},Hn=(e,t)=>e.reduce(((e,o)=>(e[t(o)?0:1].push(o),e)),[[],[]]),Un=(e,t)=>t?e.filter((e=>!!e.variation)):e.filter((e=>!e.variation));function zn(e){let{allAttributes:t=[],isVariationAttributes:o=!1,onChange:r,productId:n}=e;const[i,c]=(0,a.useState)(Un(t,o)),l=(0,a.useCallback)((e=>(0,b.resolveSelect)(E.EXPERIMENTAL_PRODUCT_ATTRIBUTE_TERMS_STORE_NAME).getProductAttributeTerms({attribute_id:e}).then((e=>e),(e=>e))),[n]),s=(e,t,o)=>e.map(((e,r)=>{let{isDefault:n,terms:a,...i}=e;return{...i,variation:t,position:o+r}}));return(0,a.useEffect)((()=>{const[e,r]=Hn(Un(t,o),(e=>0===e.id));Promise.all(r.map((e=>l(e.id)))).then((t=>{c([...r.map(((e,o)=>{return r=e,n=t[o],{...r,terms:(n||[]).filter((e=>r.options.includes(e.name)))};var r,n})),...e])}))}),[t,o,l]),{attributes:i,handleChange:e=>{const n=e.reduce(((e,t)=>void 0===t.isDefault||!0===t.isDefault?[...e,{id:t.id,name:t.name,option:t.options[0]}]:e),[]);let a=o?t.filter((e=>!e.variation)):t.filter((e=>!!e.variation));a=a.filter((t=>!(t.id>0&&e.some((e=>e.id===t.id))||0===t.id&&e.some((e=>e.name.toLowerCase()===t.name.toLowerCase())))));const i=s(e,o,o?a.length:0),c=s(a,!o,o?0:e.length);r(o?[...c,...i]:[...i,...c],n)},setAttributes:c}}const jn=e=>{let{value:t,onChange:o,productId:r}=e;const{attributes:n,handleChange:i}=zn({allAttributes:t,onChange:o,productId:r});return(0,a.createElement)(Vn,{value:n,disabledAttributeIds:t.filter((e=>!!e.variation)).map((e=>e.id)),uiStrings:{disabledAttributeMessage:(0,v.__)("Already used in Variations","woocommerce")},onAdd:()=>{(0,T.recordEvent)("product_add_attributes_modal_add_button_click")},onChange:i,onNewModalCancel:()=>{(0,T.recordEvent)("product_add_attributes_modal_cancel_button_click")},onNewModalOpen:()=>{n.length?(0,T.recordEvent)("product_add_attribute_button"):(0,T.recordEvent)("product_add_first_attribute_button_click")},onRemove:()=>(0,T.recordEvent)("product_remove_attribute_confirmation_confirm_click"),onRemoveCancel:()=>(0,T.recordEvent)("product_remove_attribute_confirmation_cancel_click"),termsAutoSelection:"first",defaultVisibility:!0})},{name:$n}=bn,Gn={example:{},edit:function(){const[e,t]=(0,J.useEntityProp)("postType","product","attributes"),o=(0,J.useEntityId)("postType","product"),r=(0,qe.useBlockProps)();return(0,a.createElement)("div",{...r},(0,a.createElement)(jn,{productId:o,value:e,onChange:t}))}},Wn=()=>tt({name:$n,metadata:bn,settings:Gn}),qn=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-variations-fields","title":"Product variations fields","category":"woocommerce","description":"The product variations.","keywords":["products","variations"],"textdomain":"default","attributes":{"description":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}');function Zn(e){const t=(0,te.useInstanceId)(l.G,"clip");return(0,a.createElement)(l.SVG,{width:"264",height:"167",...e,viewBox:"0 0 264 167",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(l.G,{clipPath:`url(#${t})`},(0,a.createElement)(l.Path,{d:"M38.5556 0.164185C11.3783 0.164185 -3.89877 21.4091 1.5234 37.3916C7.43365 54.8517 25.6968 71.9169 25.6968 85.7696H51.4188C51.4188 71.908 69.6821 54.8517 75.5923 37.3916C81.0145 21.4091 65.7463 0.164185 38.5556 0.164185Z",fill:"#F0F0F0"}),(0,a.createElement)(l.Path,{d:"M50.5063 48.3114C44.2189 48.3114 40.5228 52.5755 40.5228 59.1735V59.9899C40.079 59.9899 39.6176 59.9899 39.1827 59.9944H38.3486C37.7141 59.9944 37.3325 59.9944 36.5915 59.9944V59.1779C36.5915 52.5755 32.8953 48.3114 26.6124 48.3114C21.0127 48.3114 17.8047 50.4812 17.8047 54.2616C17.8047 57.0969 20.4936 59.0137 25.7915 59.9589C29.0306 60.5357 32.1721 60.6777 35.2781 60.7087V85.7652H36.6003V60.7176C37.3413 60.722 37.7185 60.722 38.3574 60.7176C38.9919 60.7176 39.7906 60.7176 40.5316 60.7176V85.7652H41.8539V60.7132C44.9554 60.6777 48.0969 60.5401 51.3405 59.9633C56.6384 59.0182 59.3273 57.1013 59.3273 54.266C59.3273 50.4856 56.1192 48.3158 50.5196 48.3158L50.5063 48.3114ZM35.2781 59.9855C32.2032 59.95 29.106 59.8124 25.9202 59.2445C21.0172 58.3704 19.6905 56.2938 19.6905 54.1329C19.6905 50.2682 23.5996 49.0347 26.6124 49.0347C32.2342 49.0347 35.2781 53.0148 35.2781 59.169V59.981V59.9855ZM51.1985 59.2445C48.0126 59.8124 44.9155 59.9544 41.845 59.9855V59.1735C41.845 53.0148 44.8889 49.0391 50.5107 49.0391C53.528 49.0391 57.4326 50.2726 57.4326 54.1373C57.4326 56.2982 56.1015 58.3704 51.2029 59.2489L51.1985 59.2445Z",fill:"white"}),(0,a.createElement)(l.Path,{d:"M38.5585 101.872C45.5248 101.872 51.4173 96.1613 51.4173 89.834H25.6953C25.6953 96.1613 31.5923 101.872 38.5585 101.872Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M57.2858 89.9271H19.832V85.7695H57.2858V89.9271Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M69.5768 106.602H7.63895L0.4375 167L15.2974 151.328H64.2566L69.5768 106.602Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M119.436 122.749C113.97 115.072 110.828 111.394 104.652 111.394C97.8809 111.394 94.908 119.061 98.9724 123.853C103.445 129.125 118.993 134.627 118.993 134.627C118.993 134.627 94.0694 129.923 84.9112 129.923C79.8573 129.923 74.6836 131.96 74.6836 139.135C74.6836 146.31 79.8617 148.346 84.9112 148.346C94.0694 148.346 118.993 143.643 118.993 143.643C118.993 143.643 103.445 149.145 98.9724 154.416C94.908 159.208 97.8764 166.876 104.652 166.876C110.828 166.876 113.97 163.197 119.436 155.521C121.287 152.921 130.707 139.135 130.707 139.135C130.707 139.135 121.287 125.349 119.436 122.749Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M94.2838 102.671L169.715 102.671V80.4849L94.2838 80.4849V102.671Z",fill:"#F0F0F0"}),(0,a.createElement)(l.Path,{d:"M169.712 0H94.2812V75.4311H169.712V0Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M147.619 49.6336C147.619 44.4156 144.429 39.4194 138.168 36.0116H157.66L139.472 6.00781H124.524L106.336 36.0116H125.828C119.567 39.4194 116.377 44.4156 116.377 49.6336C116.377 55.5394 121.005 61.4985 127.106 64.6888C118.667 62.9849 117.344 69.4232 117.344 69.4232H146.661C146.661 69.4232 145.338 62.9849 136.899 64.6888C143 61.4985 147.628 55.5394 147.628 49.6336H147.619Z",fill:"white"}),(0,a.createElement)(l.Path,{d:"M147.86 80.7911H94.2812V85.2283H147.86V80.7911Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M169.712 89.8473H94.2812V94.2844H169.712V89.8473Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M136.82 98.9034H94.2812V103.341H136.82V98.9034Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M219.52 167C229.042 167 235.063 158.538 235.063 151.457H203.977C203.977 158.538 209.998 167 219.52 167Z",fill:"#DDDDDD"}),(0,a.createElement)(l.Path,{d:"M219.516 58.2018C185.027 58.2018 168.143 86.1557 178.522 110.613C185.541 127.141 202.225 125.264 202.225 138.505H236.826C236.826 125.264 253.514 127.141 260.529 110.613C270.903 86.1557 254.006 58.2018 219.516 58.2018Z",fill:"#F0F0F0"}),(0,a.createElement)(l.Path,{d:"M219.52 167C228.9 167 234.882 158.787 235.059 151.776C235.059 151.67 235.059 142.707 235.059 142.6H203.973C203.973 142.685 203.973 151.63 203.973 151.719C204.115 158.742 210.105 167.004 219.511 167.004L219.52 167Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M240.248 142.596H198.801V138.505H240.248V142.596Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M240.248 149.074H198.801V144.983H240.248V149.074Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M169.656 125.371H142.133V152.894H169.656V125.371Z",fill:"#F0F0F0"}),(0,a.createElement)(l.Path,{d:"M155.015 146.194L162.181 139.587L147.445 139.663V138.571L162.154 138.647L155.015 132.067L155.676 131.228L163.982 139.055V139.184L155.676 147.033L155.015 146.194Z",fill:"#DDDDDD"}),(0,a.createElement)(l.Path,{d:"M22.0977 126.533L27.44 141.921L53.5835 112.729",stroke:"white",strokeMiterlimit:"10"}),(0,a.createElement)(l.Path,{d:"M232.227 110.138C232.227 102.307 227.559 97.4392 220.042 97.4126C220.042 97.4126 220.025 97.4126 220.016 97.4126C220.007 97.4126 219.998 97.4126 219.989 97.4126C212.473 97.4392 207.805 102.928 207.805 110.138C207.805 117.349 212.22 120.774 218.516 125.287C214.704 128.858 212.663 134.516 212.663 138.505H215.867C215.867 134.809 216.572 129.56 220.016 126.462C223.463 129.56 224.164 134.809 224.164 138.505H227.368C227.368 134.516 225.322 128.858 221.515 125.287C227.812 120.778 232.227 116.958 232.227 110.138ZM220.016 124.435C213.773 119.989 209.242 117.158 209.242 110.138C209.242 103.119 213.546 98.7216 220.016 98.7082C226.485 98.7216 230.789 103.354 230.789 110.138C230.789 116.222 226.259 119.989 220.016 124.435Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M250.84 40.1516C250.84 45.9864 246.155 50.7297 240.342 50.8184H199.862C193.97 50.8184 189.195 46.0441 189.195 40.1516C189.195 34.2591 193.97 29.4847 199.862 29.4847H240.36C246.164 29.4847 250.84 34.3256 250.84 40.1516Z",fill:"#F0F0F0"}),(0,a.createElement)(l.Path,{d:"M240.122 47.7347C244.31 47.7347 247.705 44.3396 247.705 40.1516C247.705 35.9636 244.31 32.5686 240.122 32.5686C235.934 32.5686 232.539 35.9636 232.539 40.1516C232.539 44.3396 235.934 47.7347 240.122 47.7347Z",fill:"#E0E0E0"}),(0,a.createElement)(l.Path,{d:"M131.996 6.00781H124.524L106.332 36.0116H125.824H138.168H157.661L139.468 6.00781H131.996Z",fill:"#F0F0F0"}),(0,a.createElement)(l.Path,{d:"M151.608 26.0281H112.384L106.332 36.0116L151.608 26.0281Z",fill:"white"}),(0,a.createElement)(l.Path,{d:"M145.555 16.0446H118.435L112.383 26.0281L145.555 16.0446Z",fill:"white"}),(0,a.createElement)(l.Path,{d:"M139.469 6.00781H124.525L118.438 16.0446L139.469 6.00781Z",fill:"white"}),(0,a.createElement)(l.Path,{d:"M57.4297 42.9647H87.8994",stroke:"#DDDDDD",strokeWidth:"0.71",strokeMiterlimit:"10"}),(0,a.createElement)(l.Path,{d:"M61.8945 32.1914L83.4412 53.7381",stroke:"#DDDDDD",strokeWidth:"0.71",strokeMiterlimit:"10"}),(0,a.createElement)(l.Path,{d:"M72.668 27.7321V58.2018",stroke:"#DDDDDD",strokeWidth:"0.71",strokeMiterlimit:"10"})),(0,a.createElement)("defs",null,(0,a.createElement)("clipPath",{id:t},(0,a.createElement)(l.Rect,{width:"263.121",height:"167",fill:"white",transform:"translate(0.4375)"}))))}function Jn(){const[e]=(0,J.useEntityProp)("postType","product","id"),{generateProductVariations:t,invalidateResolutionForStoreSelector:o}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME),[r,n]=(0,a.useState)(!1);return{generateProductVariations:(0,a.useCallback)((async(r,a)=>{n(!0);const i=(await(0,b.resolveSelect)("core").getEditedEntityRecord("postType","product",e)).status,c=r.some((e=>e.variation));return t({product_id:e},{type:c?"variable":"simple",attributes:r,default_attributes:a},{delete:!0}).then((()=>(o("getProductVariations"),o("getProductVariationsTotalCount")))).finally((()=>{if(n(!1),"auto-draft"===i&&(0,Oe.getPath)().endsWith("add-product")){const t=(0,Oe.getNewPath)({},`/product/${e}`);(0,Oe.navigateTo)({url:t})}}))}),[]),isGenerating:r}}const Yn=e=>!(!Array.isArray(e)||!e.length)&&e.some((e=>{let{variation:t}=e;return t})),{name:Xn,...Kn}=qn,Qn={example:{},edit:function(e){let{attributes:t}=e;const{description:o}=t,{generateProductVariations:r}=Jn(),[n,i]=(0,a.useState)(!1),[c,s]=(0,J.useEntityProp)("postType","product","attributes"),[,m]=(0,J.useEntityProp)("postType","product","default_attributes"),{attributes:u,handleChange:d}=zn({allAttributes:c,isVariationAttributes:!0,productId:(0,J.useEntityId)("postType","product"),onChange(e,t){s(e),m(t),r(e,t)}}),p=Yn(c),_=(0,qe.useBlockProps)({className:ee()({"wp-block-woocommerce-product-variations-fields--has-attributes":p})}),f=(0,qe.useInnerBlocksProps)({className:"wp-block-woocommerce-product-variations-fields__content"},{templateLock:"all"}),h=()=>{i(!1)};return(0,a.createElement)("div",{..._},(0,a.createElement)("div",{className:"wp-block-woocommerce-product-variations-fields__heading"},(0,a.createElement)("div",{className:"wp-block-woocommerce-product-variations-fields__heading-image-container"},(0,a.createElement)(Zn,null)),(0,a.createElement)("p",{className:"wp-block-woocommerce-product-variations-fields__heading-description",dangerouslySetInnerHTML:xt(o)}),(0,a.createElement)("div",{className:"wp-block-woocommerce-product-variations-fields__heading-actions"},(0,a.createElement)(l.Button,{variant:"primary",onClick:()=>{i(!0)}},(0,v.__)("Add variation options","woocommerce")))),(0,a.createElement)("div",{...f}),n&&(0,a.createElement)(Bn,{title:(0,v.__)("Add variation options","woocommerce"),description:(0,v.__)("Select from existing attributes or create new ones to add new variations for your product. You can change the order later.","woocommerce"),createNewAttributesAsGlobal:!0,notice:"",onCancel:()=>{h()},onAdd:e=>{const t=e.filter((e=>!u.some((t=>xn(e)===xn(t)))));(0,T.recordEvent)("product_options_add",{source:N,options:t.map((e=>({attribute:e.name,values:e.options})))}),d(t),h()},selectedAttributeIds:u.map((e=>e.id)),disabledAttributeIds:c.filter((e=>!e.variation)).map((e=>e.id)),termsAutoSelection:"all"}))}};function ea(){return tt({name:Xn,metadata:Kn,settings:Qn})}const ta=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-password-field","description":"A checkbox and an input to type a password to view a product.","title":"Product password","category":"widgets","keywords":["products","password"],"textdomain":"default","attributes":{"label":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:oa,...ra}=ta,na={edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)(),{label:r}=t,[n,i]=(0,J.useEntityProp)("postType","product","post_password"),[c,s]=(0,a.useState)(Boolean(n)),m=(0,te.useInstanceId)(l.BaseControl,"post_password");return(0,a.createElement)("div",{...o},(0,a.createElement)(l.CheckboxControl,{label:r,checked:c,className:"wp-block-woocommerce-product-password-fields__field",onChange:e=>{s(e),e||i("")}}),c&&(0,a.createElement)(l.BaseControl,{id:m,label:(0,v.__)("Password","woocommerce")},(0,a.createElement)(l.__experimentalInputControl,{id:m,value:n,onChange:i})))}};function aa(){return tt({name:oa,metadata:ra,settings:na})}const ia=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-variation-items-field","title":"Product variations items","category":"woocommerce","description":"The product variations items.","keywords":["products","variations"],"textdomain":"default","attributes":{"description":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"usesContext":["isInSelectedTab"],"editorStyle":"file:./editor.css"}');var ca,la,sa=o(56519),ma=o.n(sa);!function(e){e.instock="instock",e.onbackorder="onbackorder",e.outofstock="outofstock"}(ca||(ca={})),function(e){e.instock="green",e.onbackorder="yellow",e.outofstock="red"}(la||(la={}));const ua={[ca.instock]:(0,v.__)("In stock","woocommerce"),[ca.onbackorder]:(0,v.__)("On backorder","woocommerce"),[ca.outofstock]:(0,v.__)("Out of stock","woocommerce")},da=e=>e.manage_stock?e.stock_quantity||0:e.stock_status?ua[e.stock_status]:ua.instock,pa=e=>{if(e.manage_stock){const t=e.stock_quantity||0;return t>=10?la.instock:t<10&&t>2?la.onbackorder:la.outofstock}return e.stock_status?la[e.stock_status]:""},_a=(0,a.createElement)(re.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,a.createElement)(re.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"}));async function fa(e){let{message:t=(0,v.__)("Enter a value","woocommerce"),defaultValue:o,onOk:r,onCancel:n}=e;const a=window.prompt(t,o);null!==a?r(a):n&&n()}function ha(e){let{selection:t,onChange:o,onClose:r}=e;const n=Array.isArray(t)?t.map((e=>{let{id:t}=e;return t})):t.id;function i(e){Array.isArray(t)?o(t.map((t=>{let{id:o,dimensions:r}=t;return{id:o,dimensions:{...r,...e}}}))):o({dimensions:{...t.dimensions,...e}})}return(0,a.createElement)(l.Dropdown,{position:"middle right",renderToggle:e=>{let{isOpen:t,onToggle:o}=e;return(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_shipping_click",{source:N,variation_id:n}),o()},"aria-expanded":t,icon:_a,iconPosition:"right"},(0,v.__)("Shipping","woocommerce"))},renderContent:()=>(0,a.createElement)("div",{className:"components-dropdown-menu__menu"},(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_shipping_select",{source:N,action:"dimensions_length_set",variation_id:n}),fa({onOk(e){(0,T.recordEvent)("product_variations_menu_shipping_update",{source:N,action:"dimensions_length_set",variation_id:n}),i({length:e})}}),r()}},(0,v.__)("Set length","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_shipping_select",{source:N,action:"dimensions_width_set",variation_id:n}),fa({onOk(e){(0,T.recordEvent)("product_variations_menu_shipping_update",{source:N,action:"dimensions_width_set",variation_id:n}),i({width:e})}}),r()}},(0,v.__)("Set width","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_shipping_select",{source:N,action:"dimensions_height_set",variation_id:n}),fa({onOk(e){(0,T.recordEvent)("product_variations_menu_shipping_update",{source:N,action:"dimensions_height_set",variation_id:n}),i({height:e})}}),r()}},(0,v.__)("Set height","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_shipping_select",{source:N,action:"weight_set",variation_id:n}),fa({onOk(e){(0,T.recordEvent)("product_variations_menu_shipping_update",{source:N,action:"weight_set",variation_id:n}),Array.isArray(t)?o(t.map((t=>{let{id:o}=t;return{id:o,weight:e}}))):o({weight:e})}}),r()}},(0,v.__)("Set weight","woocommerce")))})}function ga(e){let{selection:t,onChange:o,onClose:r}=e;return(0,a.createElement)(l.MenuItem,{onClick:()=>{const e=Array.isArray(t)?t.map((e=>{let{id:t}=e;return t})):t.id;(0,T.recordEvent)("product_variations_menu_inventory_select",{source:N,action:"stock_quantity_set",variation_id:e}),fa({onOk(r){const n=Number(r);Number.isNaN(n)||((0,T.recordEvent)("product_variations_menu_inventory_update",{source:N,action:"stock_quantity_set",variation_id:e}),Array.isArray(t)?o(t.map((e=>{let{id:t}=e;return{id:t,stock_quantity:n,manage_stock:!0}}))):o({stock_quantity:n,manage_stock:!0}))}}),r()}},(0,v.__)("Update stock","woocommerce"))}function ba(e){let{selection:t,onChange:o,onClose:r}=e;const n=Array.isArray(t)?t.map((e=>{let{id:t}=e;return t})):t.id;return(0,a.createElement)(l.Dropdown,{position:"middle right",renderToggle:e=>{let{isOpen:t,onToggle:o}=e;return(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_inventory_click",{source:N,variation_id:n}),o()},"aria-expanded":t,icon:_a,iconPosition:"right"},(0,v.__)("Inventory","woocommerce"))},renderContent:()=>(0,a.createElement)("div",{className:"components-dropdown-menu__menu"},(0,a.createElement)(l.MenuGroup,null,(0,a.createElement)(ga,{selection:t,onChange:o,onClose:r}),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_inventory_select",{source:N,action:"manage_stock_toggle",variation_id:n}),Array.isArray(t)?o(t.map((e=>{let{id:t,manage_stock:o}=e;return{id:t,manage_stock:!o}}))):o({manage_stock:!t.manage_stock}),r()}},(0,v.__)('Toggle "track quantity"',"woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_inventory_select",{source:N,action:"set_status_in_stock",variation_id:n}),Array.isArray(t)?o(t.map((e=>{let{id:t}=e;return{id:t,stock_status:ca.instock,manage_stock:!1}}))):o({stock_status:ca.instock,manage_stock:!1}),r()}},(0,v.__)("Set status to In stock","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_inventory_select",{source:N,action:"set_status_out_of_stock",variation_id:n}),Array.isArray(t)?o(t.map((e=>{let{id:t}=e;return{id:t,stock_status:ca.outofstock,manage_stock:!1}}))):o({stock_status:ca.outofstock,manage_stock:!1}),r()}},(0,v.__)("Set status to Out of stock","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_inventory_select",{source:N,action:"set_status_on_back_order",variation_id:n}),Array.isArray(t)?o(t.map((e=>{let{id:t}=e;return{id:t,stock_status:ca.onbackorder,manage_stock:!1}}))):o({stock_status:ca.onbackorder,manage_stock:!1}),r()}},(0,v.__)("Set status to On back order","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_inventory_select",{source:N,action:"low_stock_amount_set",variation_id:n}),fa({onOk(e){(0,T.recordEvent)("product_variations_menu_inventory_update",{source:N,action:"low_stock_amount_set",variation_id:n});const r=Number(e);if(Number.isNaN(r))return null;Array.isArray(t)?o(t.map((e=>{let{id:t}=e;return{id:t,low_stock_amount:r,manage_stock:!0}}))):o({low_stock_amount:r,manage_stock:!0})}}),r()}},(0,v.__)("Edit low stock threshold","woocommerce"))))})}function va(e){let{selection:t,onChange:o,onClose:r}=e;return(0,a.createElement)(l.MenuItem,{onClick:()=>{const e=Array.isArray(t)?t.map((e=>{let{id:t}=e;return t})):t.id;(0,T.recordEvent)("product_variations_menu_pricing_select",{source:N,action:"list_price_set",variation_id:e}),fa({onOk(r){(0,T.recordEvent)("product_variations_menu_pricing_update",{source:N,action:"list_price_set",variation_id:e}),Array.isArray(t)?o(t.map((e=>{let{id:t}=e;return{id:t,regular_price:r}}))):o({regular_price:r})}}),r()}},(0,v.__)("Set list price","woocommerce"))}function wa(e){return e.endsWith("%")}function Ea(e){const t=e.substring(0,e.length-1);if(!Number.isNaN(Number(t)))return Number(t)}function ya(e,t){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;if(wa(t)){if(Number.isNaN(Number(e)))return 0;const r=Ea(t);return void 0===r?Number(e):Number(e)+Number(e)*(r/100)*o}if(Number.isNaN(Number(e))){if(Number.isNaN(Number(t)))return;return Number(t)}return Number(e)+Number(t)*o}function ka(e){let{selection:t,onChange:o,onClose:r}=e;const n=Array.isArray(t)?t.map((e=>{let{id:t}=e;return t})):t.id;return(0,a.createElement)(l.Dropdown,{position:"middle right",renderToggle:e=>{let{isOpen:t,onToggle:o}=e;return(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_pricing_click",{source:N,variation_id:n}),o()},"aria-expanded":t,icon:_a,iconPosition:"right"},(0,v.__)("Pricing","woocommerce"))},renderContent:()=>(0,a.createElement)("div",{className:"components-dropdown-menu__menu"},(0,a.createElement)(l.MenuGroup,{label:(0,v.__)("List price","woocommerce")},(0,a.createElement)(va,{selection:t,onChange:o,onClose:r}),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_pricing_select",{source:N,action:"list_price_increase",variation_id:n}),fa({message:(0,v.__)("Enter a value (fixed or %)","woocommerce"),onOk(e){var r;(0,T.recordEvent)("product_variations_menu_pricing_update",{source:N,action:"list_price_increase",variation_id:n}),Array.isArray(t)?o(t.map((t=>{let{id:o,regular_price:r}=t;var n;return{id:o,regular_price:null===(n=ya(r,e))||void 0===n?void 0:n.toFixed(2)}}))):o({regular_price:null===(r=ya(t.regular_price,e))||void 0===r?void 0:r.toFixed(2)})}}),r()}},(0,v.__)("Increase list price","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_pricing_select",{source:N,action:"list_price_decrease",variation_id:n}),fa({message:(0,v.__)("Enter a value (fixed or %)","woocommerce"),onOk(e){var r;(0,T.recordEvent)("product_variations_menu_pricing_update",{source:N,action:"list_price_increase",variation_id:n}),Array.isArray(t)?o(t.map((t=>{let{id:o,regular_price:r}=t;var n;return{id:o,regular_price:null===(n=ya(r,e,-1))||void 0===n?void 0:n.toFixed(2)}}))):o({regular_price:null===(r=ya(t.regular_price,e,-1))||void 0===r?void 0:r.toFixed(2)})}}),r()}},(0,v.__)("Decrease list price","woocommerce"))),(0,a.createElement)(l.MenuGroup,{label:(0,v.__)("Sale price","woocommerce")},(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_pricing_select",{source:N,action:"sale_price_set",variation_id:n}),fa({onOk(e){(0,T.recordEvent)("product_variations_menu_pricing_update",{source:N,action:"sale_price_set",variation_id:n}),Array.isArray(t)?o(t.map((t=>{let{id:o}=t;return{id:o,sale_price:e}}))):o({sale_price:e})}}),r()}},(0,v.__)("Set sale price","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_pricing_select",{source:N,action:"sale_price_increase",variation_id:n}),fa({message:(0,v.__)("Enter a value (fixed or %)","woocommerce"),onOk(e){var r;(0,T.recordEvent)("product_variations_menu_pricing_update",{source:N,action:"sale_price_increase",variation_id:n}),Array.isArray(t)?o(t.map((t=>{let{id:o,sale_price:r}=t;var n;return{id:o,sale_price:null===(n=ya(r,e))||void 0===n?void 0:n.toFixed(2)}}))):o({sale_price:null===(r=ya(t.sale_price,e))||void 0===r?void 0:r.toFixed(2)})}}),r()}},(0,v.__)("Increase sale price","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_pricing_select",{source:N,action:"sale_price_decrease",variation_id:n}),fa({message:(0,v.__)("Enter a value (fixed or %)","woocommerce"),onOk(e){var r;(0,T.recordEvent)("product_variations_menu_pricing_update",{source:N,action:"sale_price_decrease",variation_id:n}),Array.isArray(t)?o(t.map((t=>{let{id:o,sale_price:r}=t;var n;return{id:o,sale_price:null===(n=ya(r,e,-1))||void 0===n?void 0:n.toFixed(2)}}))):o({sale_price:null===(r=ya(t.sale_price,e,-1))||void 0===r?void 0:r.toFixed(2)})}}),r()}},(0,v.__)("Decrease sale price","woocommerce")),(0,a.createElement)(l.MenuItem,{onClick:()=>{(0,T.recordEvent)("product_variations_menu_pricing_select",{source:N,action:"sale_price_schedule",variation_id:n}),fa({message:(0,v.__)("Sale start date (YYYY-MM-DD format or leave blank)","woocommerce"),onOk(e){(0,T.recordEvent)("product_variations_menu_pricing_update",{source:N,action:"sale_price_schedule",variation_id:n}),Array.isArray(t)?o(t.map((t=>{let{id:o}=t;return{id:o,date_on_sale_from_gmt:e}}))):o({date_on_sale_from_gmt:e})}}),fa({message:(0,v.__)("Sale end date (YYYY-MM-DD format or leave blank)","woocommerce"),onOk(e){(0,T.recordEvent)("product_variations_menu_pricing_update",{source:N,action:"sale_price_schedule",variation_id:n}),Array.isArray(t)?o(t.map((t=>{let{id:o}=t;return{id:o,date_on_sale_to_gmt:e}}))):o({date_on_sale_to_gmt:e})}}),r()}},(0,v.__)("Schedule sale","woocommerce"))))})}function Ca(e){let{selection:t,onChange:o,onDelete:r}=e;return(0,a.createElement)(l.DropdownMenu,{icon:ne,label:(0,v.__)("Actions","woocommerce"),toggleProps:{onClick(){(0,T.recordEvent)("product_variations_menu_view",{source:N,variation_id:t.id})}}},(e=>{let{onClose:n}=e;return(0,a.createElement)(a.Fragment,null,(0,a.createElement)(l.MenuGroup,{label:(0,v.sprintf)((0,v.__)("Variation Id: %s","woocommerce"),t.id)},(0,a.createElement)(l.MenuItem,{href:t.permalink,onClick:()=>{(0,T.recordEvent)("product_variations_preview",{source:N,variation_id:t.id})}},(0,v.__)("Preview","woocommerce"))),(0,a.createElement)(l.MenuGroup,null,(0,a.createElement)(ka,{selection:t,onChange:o,onClose:n}),(0,a.createElement)(ba,{selection:t,onChange:o,onClose:n}),(0,a.createElement)(ha,{selection:t,onChange:o,onClose:n})),(0,a.createElement)(l.MenuGroup,null,(0,a.createElement)(l.MenuItem,{isDestructive:!0,label:(0,v.__)("Delete variation","woocommerce"),variant:"link",onClick:()=>{r(t),n()},className:"woocommerce-product-variations__actions--delete"},(0,v.__)("Delete","woocommerce"))))}))}const Sa=(0,a.createElement)(re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(re.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})),xa=(0,a.createElement)(re.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,a.createElement)(re.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"}));function Na(e){let{selection:t,disabled:o,onChange:r,onDelete:n}=e;return(0,a.createElement)(l.Dropdown,{position:"bottom left",renderToggle:e=>{let{isOpen:t,onToggle:r}=e;return(0,a.createElement)(l.Button,{disabled:o,"aria-expanded":t,icon:t?Sa:xa,variant:"secondary",onClick:r,className:"variations-actions-menu__toogle"},(0,a.createElement)("span",null,(0,v.__)("Quick update","woocommerce")))},renderContent:e=>{let{onClose:o}=e;return(0,a.createElement)("div",{className:"components-dropdown-menu__menu"},(0,a.createElement)(l.MenuGroup,null,(0,a.createElement)(ga,{selection:t,onChange:r,onClose:o}),(0,a.createElement)(va,{selection:t,onChange:r,onClose:o})),(0,a.createElement)(l.MenuGroup,null,(0,a.createElement)(ka,{selection:t,onChange:r,onClose:o}),(0,a.createElement)(ba,{selection:t,onChange:r,onClose:o}),(0,a.createElement)(ha,{selection:t,onChange:r,onClose:o})),(0,a.createElement)(l.MenuGroup,null,(0,a.createElement)(l.MenuItem,{isDestructive:!0,variant:"link",onClick:()=>{n(t),o()},className:"woocommerce-product-variations__actions--delete"},(0,v.__)("Delete","woocommerce"))))}})}const Ta=(0,v.__)("Not visible to customers","woocommerce"),Pa=(0,a.forwardRef)((function(e,t){let{noticeText:o,noticeActions:r=[],noticeStatus:n="error",onNoticeDismiss:c=(()=>{}),onVariationTableChange:s=(()=>{})}=e;const[m,u]=(0,a.useState)(1),d=(0,a.useRef)(null),[p,_]=(0,a.useState)(5),[f,h]=(0,a.useState)({}),{areAllSelected:g,isSelected:w,hasSelection:y,onSelectAll:k,onSelectItem:C,onClearSelection:S}=function(){const[e,t]=(0,a.useState)({});function o(t){return Boolean(e[t])}return{selectedItems:e,areAllSelected:function(e){return e.every((e=>o(e)))},hasSelection:function(e){return e.some((e=>o(e)))},isSelected:o,onSelectItem:function(e){return function(o){t((t=>({...t,[e]:o})))}},onSelectAll:function(e){return function(o){const r=e.reduce(((e,t)=>({...e,[t]:o})),{});t(r)}},onClearSelection:function(){t({})}}}(),x=(0,J.useEntityId)("postType","product"),P=(0,a.useMemo)((()=>({product_id:x,page:m,per_page:p,order:"asc",orderby:"menu_order"})),[x,m,p]),A=(0,a.useMemo)((()=>({product_id:x,order:"asc",orderby:"menu_order"})),[x]),M=(0,a.useContext)(I.CurrencyContext),{formatAmount:R}=M,{isLoading:O,latestVariations:L,isGeneratingVariations:D}=(0,b.useSelect)((e=>{const{getProductVariations:t,hasFinishedResolution:o,isGeneratingVariations:r}=e(E.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{isLoading:!o("getProductVariations",[P]),isGeneratingVariations:r({product_id:P.product_id}),latestVariations:t(P)}}),[m,p,x]),{totalCount:B}=(0,b.useSelect)((e=>{const{getProductVariationsTotalCount:t}=e(E.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCount:t(A)}}),[x]),F=(0,i.usePagination)({totalCount:B,defaultPerPage:5,onPageChange:u,onPerPageChange:_}),{updateProductVariation:V,deleteProductVariation:H,batchUpdateProductVariations:U,invalidateResolution:z}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME),{createSuccessNotice:j,createErrorNotice:$}=(0,b.useDispatch)("core/notices");if(L&&L!==d.current&&(d.current=L),O&&null===d.current)return(0,a.createElement)("div",{className:"woocommerce-product-variations__loading"},(0,a.createElement)(l.Spinner,null),D&&(0,a.createElement)("span",null,(0,v.__)("Generating variations…","woocommerce")));const G=L||d.current,W=G.map((e=>{let{id:t}=e;return t}));function q(e){U({product_id:x},{update:e}).then((e=>z("getProductVariations",[P]).then((()=>e)))).then((t=>{j((0,v.sprintf)((0,v.__)("%s variation/s updated.","woocommerce"),t.update.length)),s("update",e)})).catch((()=>{$((0,v.__)("Failed to update variations.","woocommerce"))}))}function Z(e){U({product_id:x},{delete:e.map((e=>{let{id:t}=e;return t}))}).then((e=>z("getProductVariations",[P]).then((()=>e)))).then((e=>{j((0,v.sprintf)((0,v.__)("%s variation/s updated.","woocommerce"),e.delete.length)),s("delete")})).catch((()=>{$((0,v.__)("Failed to delete variations.","woocommerce"))}))}return(0,a.createElement)("div",{className:"woocommerce-product-variations",ref:t},(O||D)&&(0,a.createElement)("div",{className:"woocommerce-product-variations__loading"},(0,a.createElement)(l.Spinner,null),D&&(0,a.createElement)("span",null,(0,v.__)("Generating variations…","woocommerce"))),o&&(0,a.createElement)(l.Notice,{status:n,className:"woocommerce-product-variations__notice",onRemove:c,actions:r.map((e=>({...e,onClick:()=>{null==e||e.onClick(q,Z)}})))},o),(0,a.createElement)("div",{className:"woocommerce-product-variations__header"},(0,a.createElement)("div",{className:"woocommerce-product-variations__selection"},(0,a.createElement)(l.CheckboxControl,{value:"all",checked:g(W),indeterminate:!g(W)&&y(W),onChange:k(W)})),(0,a.createElement)("div",{className:"woocommerce-product-variations__filters"},(0,a.createElement)(l.Button,{variant:"tertiary",disabled:g(W),onClick:()=>k(W)(!0)},(0,v.__)("Select all","woocommerce")),(0,a.createElement)(l.Button,{variant:"tertiary",disabled:!y(W),onClick:()=>S()},(0,v.__)("Clear selection","woocommerce"))),(0,a.createElement)("div",null,(0,a.createElement)(Na,{selection:G.filter((e=>w(e.id))),disabled:!y(W),onChange:q,onDelete:Z}))),(0,a.createElement)(i.Sortable,{className:"woocommerce-product-variations__table"},G.map((e=>(0,a.createElement)(i.ListItem,{key:`${e.id}`},(0,a.createElement)("div",{className:"woocommerce-product-variations__selection"},(0,a.createElement)(l.CheckboxControl,{value:e.id,checked:w(e.id),onChange:C(e.id)})),(0,a.createElement)("div",{className:"woocommerce-product-variations__attributes"},e.attributes.map((e=>{const t=(0,a.createElement)(i.Tag,{id:e.id,className:"woocommerce-product-variations__attribute",key:e.id,label:ma()(e.option,{length:32}),screenReaderLabel:e.option});return e.option.length<=32?t:(0,a.createElement)(l.Tooltip,{key:e.id,text:e.option,position:"top center"},(0,a.createElement)("span",null,t))}))),(0,a.createElement)("div",{className:ee()("woocommerce-product-variations__price",{"woocommerce-product-variations__price--fade":"private"===e.status})},e.on_sale&&(0,a.createElement)("span",{className:"woocommerce-product-variations__sale-price"},R(e.sale_price)),(0,a.createElement)("span",{className:ee()("woocommerce-product-variations__regular-price",{"woocommerce-product-variations__regular-price--on-sale":e.on_sale})},R(e.regular_price))),(0,a.createElement)("div",{className:ee()("woocommerce-product-variations__quantity",{"woocommerce-product-variations__quantity--fade":"private"===e.status})},e.regular_price&&(0,a.createElement)(a.Fragment,null,(0,a.createElement)("span",{className:ee()("woocommerce-product-variations__status-dot",pa(e))},"●"),da(e))),(0,a.createElement)("div",{className:"woocommerce-product-variations__actions"},("private"===e.status||!e.regular_price)&&(0,a.createElement)(l.Tooltip,{className:"woocommerce-attribute-list-item__actions-tooltip",position:"top center",text:Ta},(0,a.createElement)("div",null,(0,a.createElement)(In,null))),(0,a.createElement)(Ca,{selection:e,onChange:t=>function(e,t){f[e]||(h((t=>({...t,[e]:!0}))),V({product_id:x,id:e},t).then((()=>{j((0,v.sprintf)((0,v.__)("%s variation/s updated.","woocommerce"),1))})).catch((()=>{$((0,v.__)("Failed to save variation.","woocommerce"))})).finally((()=>{h((t=>({...t,[e]:!1}))),s("update",[t])})))}(e.id,t),onDelete:e=>{let{id:t}=e;var o;f[o=t]||(h((e=>({...e,[o]:!0}))),H({product_id:x,id:o}).then((()=>{(0,T.recordEvent)("product_variations_delete",{source:N}),z("getProductVariations",[P])})).finally((()=>{h((e=>({...e,[o]:!1}))),s("delete")})))}})))))),B>5&&(0,a.createElement)("div",{className:"woocommerce-product-variations__footer woocommerce-pagination"},(0,a.createElement)("div",null,(0,v.sprintf)((0,v.__)("Viewing %d-%d of %d items","woocommerce"),F.start,F.end,B)),(0,a.createElement)(i.PaginationPageArrowsWithPicker,{...F}),(0,a.createElement)(i.PaginationPageSizePicker,{...F,total:B,perPageOptions:[5,10,25],label:""})))})),Aa=()=>{const[e,t]=(0,a.useState)(!1),o=(0,J.useEntityId)("postType","product"),r=(0,a.useRef)(),n=(0,a.useMemo)((()=>({product_id:o,page:1,per_page:5,order:"asc",orderby:"menu_order"})),[o]),{totalCount:c}=(0,b.useSelect)((e=>{const{getProductVariationsTotalCount:t}=e(E.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCount:t(n)}}),[o]),{updateUserPreferences:l,variable_product_block_tour_shown:s}=(0,E.useUserPreferences)(),m={placement:"top",steps:[{referenceElements:{desktop:".wp-block-woocommerce-product-variation-items-field"},focusElement:{desktop:".wp-block-woocommerce-product-variation-items-field"},meta:{name:"product-variations-2",heading:(0,v.__)("⚡️ This product now has variations","woocommerce"),descriptions:{desktop:(0,v.__)("From now on, you’ll manage pricing, shipping, and inventory for each variation individually—just like any other product in your store.","woocommerce")},primaryButton:{text:(0,v.__)("Got it","woocommerce")}}}],options:{classNames:["variation-items-product-tour"],effects:{arrowIndicator:!0,spotlight:{interactivity:{enabled:!0}}},callbacks:{onStepViewOnce:()=>{(0,T.recordEvent)("variable_product_block_tour_shown",{variable_count:c})}},popperModifiers:[{name:"offset",options:{offset:[0,32]}}]},closeHandler:()=>{l({variable_product_block_tour_shown:"yes"}),t(!1),(0,T.recordEvent)("variable_product_block_tour_dismissed")}};return(0,a.useEffect)((()=>{const o=r.current!==c&&c>0&&0===r.current;r.current=c,o&&!e&&t(!0)}),[c]),"yes"!==s&&e?(0,a.createElement)(i.TourKit,{config:m}):null},{name:Ia,...Ma}=ia,Ra={example:{},edit:function(e){let{context:t}=e;const o=(0,a.useRef)(!1),{invalidateResolution:r}=(0,b.useDispatch)(E.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME),n=(0,J.useEntityId)("postType","product"),i=(0,qe.useBlockProps)(),[c]=(0,J.useEntityProp)("postType","product","status"),l=(0,a.useMemo)((()=>({product_id:n,order:"asc",orderby:"menu_order",has_price:!1})),[n]),{totalCountWithoutPrice:s}=(0,b.useSelect)((e=>{const{getProductVariationsTotalCount:t}=e(E.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME);return{totalCountWithoutPrice:t(l)}}),[n]),{updateUserPreferences:m,variable_items_without_price_notice_dismissed:u}=(0,E.useUserPreferences)(),{ref:d}=bo("variations",(async function(e,t){if(s>0&&!o.current&&"publish"!==c&&"publish"===(null==t?void 0:t.status))return"yes"!==u&&m({variable_items_without_price_notice_dismissed:{...u||{},[n]:"no"}}),(0,v.__)("Set variation prices before adding this product.","woocommerce")}),[s]),p=!u||"yes"!==u[n],_=s>0&&p?(0,v.sprintf)((0,v.__)("%d variations do not have prices. Variations that do not have prices will not be visible to customers.","woocommerce"),s):"";return(0,a.createElement)("div",{...i},(0,a.createElement)(Pa,{ref:d,noticeText:_,onNoticeDismiss:()=>{o.current=!0,m({variable_items_without_price_notice_dismissed:{...u||{},[n]:"yes"}})},noticeActions:[{label:(0,v.__)("Set prices","woocommerce"),onClick:function(e){(0,T.recordEvent)("product_variations_set_prices_select",{source:N});const t=(0,b.resolveSelect)(E.EXPERIMENTAL_PRODUCT_VARIATIONS_STORE_NAME).getProductVariations({product_id:n,has_price:!1,_fields:["id"]});fa({onOk(o){(0,T.recordEvent)("product_variations_set_prices_update",{source:N}),t.then((t=>{e(t.map((e=>{let{id:t}=e;return{id:t,regular_price:o}})))}))}})},className:"is-destructive"}],onVariationTableChange:(e,t)=>{("delete"===e||"update"===e&&t&&t.find((e=>e.regular_price||e.sale_price)))&&r("getProductVariationsTotalCount",[l])}}),(null==t?void 0:t.isInSelectedTab)&&(0,a.createElement)(Aa,null))}};function Oa(){return tt({name:Ia,metadata:Ma,settings:Ra})}const La=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-variations-options-field","title":"Product variations options","category":"woocommerce","description":"The product variations options.","keywords":["products","variations"],"textdomain":"default","attributes":{"description":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}'),{name:Da,...Ba}=La,Fa={example:{},edit:function(){const e=(0,qe.useBlockProps)(),{generateProductVariations:t}=Jn(),{updateUserPreferences:o,product_block_variable_options_notice_dismissed:r}=(0,E.useUserPreferences)(),[n,c]=(0,J.useEntityProp)("postType","product","attributes"),[l,s]=(0,J.useEntityProp)("postType","product","default_attributes"),{attributes:m,handleChange:u}=zn({allAttributes:n,isVariationAttributes:!0,productId:(0,J.useEntityId)("postType","product"),onChange(e,o){c(e),s(o),t(e,o)}}),d=m.filter((e=>0===e.id)).map((e=>e.name));let p="";return d.length>0&&"yes"!==r&&(p=(0,a.createInterpolateElement)((0,v.__)("Buyers can’t search or filter by <attributeNames /> to find the variations. Consider adding them again as <globalAttributeLink>global attributes</globalAttributeLink> to make them easier to discover.","woocommerce"),{attributeNames:(0,a.createElement)("span",null,2===d.length?d.join((0,v.__)(" and ","woocommerce")):d.join(", ")),globalAttributeLink:(0,a.createElement)(i.Link,{href:"https://woocommerce.com/document/variable-product/#add-attributes-to-use-for-variations",type:"external",target:"_blank"})})),(0,a.createElement)("div",{...e},(0,a.createElement)(Vn,{value:(0,a.useMemo)((function(){return m.map((e=>({...e,isDefault:l.some((t=>t.id===e.id||t.name===e.name))})))}),[m,l]),onChange:u,createNewAttributesAsGlobal:!0,useRemoveConfirmationModal:!0,onNoticeDismiss:()=>o({product_block_variable_options_notice_dismissed:"yes"}),disabledAttributeIds:n.filter((e=>!e.variation)).map((e=>e.id)),termsAutoSelection:"all",uiStrings:{notice:p,globalAttributeHelperMessage:"",customAttributeHelperMessage:"",newAttributeModalNotice:"",newAttributeModalTitle:(0,v.__)("Add variation options","woocommerce"),newAttributeModalDescription:(0,v.__)("Select from existing attributes or create new ones to add new variations for your product. You can change the order later.","woocommerce"),attributeRemoveLabel:(0,v.__)("Remove variation option","woocommerce"),attributeRemoveConfirmationModalMessage:(0,v.__)("If you continue, some variations of this product will be deleted and customers will no longer be able to purchase them.","woocommerce")}}))}};function Va(){return tt({name:Da,metadata:Ba,settings:Fa})}const Ha=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-has-variations-notice","title":"Notice","category":"woocommerce","description":"Notice description","keywords":["products","notice"],"textdomain":"default","attributes":{"title":{"type":"string"},"content":{"type":"string"},"buttonText":{"type":"string"},"type":{"type":"string"}},"supports":{"align":false,"html":false,"multiple":true,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css","templateLock":"contentOnly"}');function Ua(e){let{title:t="",content:o="",className:r,type:n="info",children:i}=e;return(0,a.createElement)("div",{className:ee()(r,n,"woocommerce-product-notice")},t&&(0,a.createElement)("h3",{className:"woocommerce-product-notice__title"},t),o&&(0,a.createElement)("p",{className:"woocommerce-product-notice__content"},o),(0,a.createElement)("div",{className:"woocommerce-product-notice__content"},i))}const{name:za,...ja}=Ha,$a={example:{},edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)(),{buttonText:r,content:n,title:i,type:c="info"}=t,[s]=(0,J.useEntityProp)("postType","product","attributes"),m=Yn(s);return(0,a.createElement)("div",{...o},m&&(0,a.createElement)(Ua,{content:n,title:i,type:c},(0,a.createElement)(l.Button,{isSecondary:!0,onClick:()=>(0,Oe.navigateTo)({url:(0,Oe.getNewPath)({tab:"variations"})})},r)))}};function Ga(){tt({name:za,metadata:ja,settings:$a})}const Wa=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"woocommerce/product-taxonomy-field","title":"Taxonomy","category":"widgets","description":"A block that displays a taxonomy field, allowing searching, selection, and creation of new items","keywords":["taxonomy"],"textdomain":"default","attributes":{"slug":{"type":"string","__experimentalRole":"content"},"property":{"type":"string","__experimentalRole":"content"},"label":{"type":"string","__experimentalRole":"content"},"createTitle":{"type":"string","__experimentalRole":"content"},"dialogNameHelpText":{"type":"string","__experimentalRole":"content"},"parentTaxonomyText":{"type":"string","__experimentalRole":"content"}},"supports":{"align":false,"html":false,"multiple":false,"reusable":false,"inserter":false,"lock":false,"__experimentalToolbar":false},"editorStyle":"file:./editor.css"}');async function qa(e,t){const o=[],r={};return e.forEach((e=>{r[e.id]=e})),e.forEach((e=>{e.parent>0&&!r[e.parent]&&o.push(e.parent)})),o.length>0?(0,b.resolveSelect)("core").getEntityRecords("taxonomy",t,{include:o}).then((o=>qa([...o,...e],t))):e}const Za=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fetchParents:!0};const[o,r]=(0,a.useState)(!1);async function n(o){r(!0);let n=[];try{n=await(0,b.resolveSelect)("core").getEntityRecords("taxonomy",e,{per_page:30,search:(0,i.escapeHTML)(o)}),(null==t?void 0:t.fetchParents)&&(n=await qa(n,e))}finally{r(!1)}return n}return{searchEntity:n,isResolving:o}},Ja=e=>{let{onCancel:t,onCreate:o,initialName:r,slug:n,hierarchical:c,dialogNameHelpText:s,parentTaxonomyText:m,title:u}=e;const[d,p]=(0,a.useState)(""),[_,f]=(0,a.useState)([]),{searchEntity:h,isResolving:g}=Za(n),w=(0,te.useDebounce)((0,a.useCallback)((e=>h(e||"").then(f)),[]),150);(0,a.useEffect)((()=>{w("")}),[]);const{saveEntityRecord:E}=(0,b.useDispatch)("core"),[y,k]=(0,a.useState)(!1),[C,S]=(0,a.useState)(null),[x,N]=(0,a.useState)(r||""),[T,P]=(0,a.useState)(null),A=(0,te.useInstanceId)(l.BaseControl,"taxonomy_name"),I=(0,te.useInstanceId)(i.__experimentalSelectTreeControl,"parent-taxonomy-select");return(0,a.createElement)(l.Modal,{title:u,onRequestClose:t,className:"woocommerce-create-new-taxonomy-modal"},(0,a.createElement)("div",{className:"woocommerce-create-new-taxonomy-modal__wrapper"},(0,a.createElement)(l.BaseControl,{id:A,label:(0,v.__)("Name","woocommerce"),help:C||s,className:ee()({"has-error":C})},(0,a.createElement)(l.TextControl,{id:A,value:x,onChange:N})),c&&(0,a.createElement)(i.__experimentalSelectTreeControl,{isLoading:g,label:(0,a.createInterpolateElement)(`${m||(0,v.__)("Parent","woocommerce")} <optional/>`,{optional:(0,a.createElement)("span",{className:"woocommerce-create-new-taxonomy-modal__optional"},(0,v.__)("(optional)","woocommerce"))}),id:I,items:_.map((e=>({label:e.name,value:String(e.id),parent:e.parent>0?String(e.parent):void 0}))),shouldNotRecursivelySelect:!0,selected:T?{value:String(T.id),label:T.name}:void 0,onSelect:e=>e&&P({id:+e.value,name:e.label,parent:e.parent?+e.parent:0}),onRemove:()=>P(null),onInputChange:e=>{w(e),p(e||"")},createValue:d}),(0,a.createElement)("div",{className:"woocommerce-create-new-taxonomy-modal__buttons"},(0,a.createElement)(l.Button,{variant:"tertiary",onClick:t,disabled:y},(0,v.__)("Cancel","woocommerce")),(0,a.createElement)(l.Button,{variant:"primary",disabled:0===x.length||y,isBusy:y,onClick:async()=>{S(null),k(!0);try{const e=await E("taxonomy",n,{name:x,parent:T?T.id:null},{throwOnError:!0});k(!1),o(e)}catch(e){if(k(!1),!e.message)throw S((0,v.__)("Failed to create taxonomy","woocommerce")),e;S(e.message)}}},(0,v.__)("Create","woocommerce")))))},{name:Ya}=Wa,Xa={example:{},edit:function(e){let{attributes:t}=e;const o=(0,qe.useBlockProps)(),{hierarchical:r}=(0,b.useSelect)((e=>e("core").getTaxonomy(t.slug)||{hierarchical:!1})),{label:n,slug:c,property:l,createTitle:s,dialogNameHelpText:m,parentTaxonomyText:u}=t,[d,p]=(0,a.useState)(""),[_,f]=(0,a.useState)([]),{searchEntity:h,isResolving:g}=Za(c,{fetchParents:r}),v=(0,te.useDebounce)((0,a.useCallback)((e=>{p(e),h(e||"").then(f)}),[r]),150);(0,a.useEffect)((()=>{v("")}),[]);const[w,E]=(0,J.useEntityProp)("postType","product",l),y=w.map((e=>({value:String(e.id),label:e.name}))),[k,C]=(0,a.useState)(!1),S=_.map((e=>({parent:r&&e.parent&&e.parent>0?String(e.parent):void 0,label:e.name,value:String(e.id)})));return(0,a.createElement)("div",{...o},(0,a.createElement)(a.Fragment,null,(0,a.createElement)(i.__experimentalSelectTreeControl,{id:(0,te.useInstanceId)(i.__experimentalSelectTreeControl,"woocommerce-taxonomy-select"),label:n,isLoading:g,multiple:!0,createValue:d,onInputChange:v,shouldNotRecursivelySelect:!0,shouldShowCreateButton:e=>!e||-1===S.findIndex((t=>t.label.toLowerCase()===e.toLowerCase())),onCreateNew:()=>C(!0),items:S,selected:y,onSelect:e=>{Array.isArray(e)?E([...e.map((e=>({id:+e.value,name:e.label,parent:+(e.parent||0)}))),...w]):E([{id:+e.value,name:e.label,parent:+(e.parent||0)},...w])},onRemove:e=>{Array.isArray(e)?E(w.filter((t=>!e.find((e=>e.value===String(t.id)))))):E(w.filter((t=>String(t.id)!==e.value)))}}),k&&(0,a.createElement)(Ja,{slug:c,hierarchical:r,title:s,dialogNameHelpText:m,parentTaxonomyText:u,onCancel:()=>C(!1),onCreate:e=>{C(!1),p(""),E([{id:e.id,name:e.name,parent:e.parent},...w])},initialName:d})))}},Ka=()=>tt({name:Ya,metadata:Wa,settings:Xa});function Qa(){const e=(0,et.__experimentalGetCoreBlocks)().filter((e=>!(0,H.getBlockType)(e.name)));(0,et.registerCoreBlocks)(e);const t=Object.values(n).map((e=>e())),o=[...e,...t];return function(){o.forEach((e=>e&&(0,H.unregisterBlockType)(e.name)))}}function ei(e){let{clientId:t}=e;const o=(0,b.useSelect)((e=>{const{getBlockAttributes:o,getBlockName:r}=e("core/block-editor"),n=o(t);if(null==n?void 0:n.icon)return n.icon;const{getBlockType:a}=e("core/blocks"),i=a(r(t));return null==i?void 0:i.icon}),[t]);if(!o)return null;if("object"==typeof o){const{src:e,...t}=o;if(/^<(.)+>$/.test(e)){const o=(0,a.createElement)(a.RawHTML,{"aria-hidden":"true",...t},e);return(0,a.createElement)(qe.BlockIcon,{icon:o,showColors:!0})}if(/^https?:\/\/(.)+/.test(e)){const o=(0,a.createElement)("img",{src:e,alt:"","aria-hidden":"true",...t,height:24,width:24});return(0,a.createElement)(qe.BlockIcon,{icon:o,showColors:!0})}}return(0,a.createElement)(qe.BlockIcon,{icon:o,showColors:!0})}const ti=e=>{const{symbol:t,symbolPosition:o}=e;return{[o.includes("left")?"prefix":"suffix"]:t}};var oi;!function(e){e.unsaved="unsaved",e.draft="draft",e.instock="instock",e.outofstock="outofstock"}(oi||(oi={}));const ri={[oi.unsaved]:(0,v.__)("Unsaved","woocommerce"),[oi.draft]:(0,v.__)("Draft","woocommerce"),[oi.instock]:(0,v.__)("In stock","woocommerce"),[oi.outofstock]:(0,v.__)("Out of stock","woocommerce")},ni=e=>e?"draft"===e.status?oi.draft:"instock"===e.stock_status?oi.instock:oi.outofstock:oi.unsaved,ai=(e,t,o)=>(null==e?void 0:e.length)?e:o&&o!==R?o:"simple"===t?(0,v.__)("New standard product","woocommerce"):(0,v.__)("New product","woocommerce"),ii=e=>{var t;return(null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.length)?e.attributes.map((e=>e.option)).join(", "):"#"+e.id},ci=e=>{const t=ii(e);return t.length>32?t.substring(0,32)+"…":t},li=window.wp.apiFetch;var si=o.n(li);const mi=()=>{si().use(((e,t)=>{const o=new RegExp("^/wp/v2/product(?!_)");return e.path&&o.test(null==e?void 0:e.path)&&(()=>{const e=(0,Oe.getQuery)();return"wc-admin"===(null==e?void 0:e.page)&&["/add-product","/product/"].some((t=>{var o;return null===(o=null==e?void 0:e.path)||void 0===o?void 0:o.startsWith(t)}))})()&&(e.path=e.path.replace(o,"/wc/v3/products")),t(e)}))};function ui(e){return`${e.id}:${e.menu_order}`}function di(e){let{key:t}=e;return"string"==typeof t?Number.parseInt(t.split(":")[1],10):Number.MAX_SAFE_INTEGER}function pi(e,t,o){let{variationsOrder:r}=o;if(!r||!r[t])return e;const n=r[t];return[...e].sort(((e,t)=>n[e.id]&&n[t.id]?n[e.id]-n[t.id]:0))}const _i=e=>{let{variations:t,currentPage:o}=e;const{setValue:r,values:n}=(0,i.useFormContext)();return{sortedVariations:pi(t,o,n),getVariationKey:ui,onOrderChange:function(e){const t=Math.min(...e.map(di));r("variationsOrder",{...n.variationsOrder,[o]:e.reduce(((e,o,r)=>({...e,[function(e){let{key:t}=e;return"string"==typeof t?Number.parseInt(t.split(":")[0],10):0}(o)]:t+r})),{})})}}}})(),(window.wc=window.wc||{}).productEditor=r})();index.js.LICENSE.txt000064400000000471151545121240010112 0ustar00/*!
  Copyright (c) 2018 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/

/*! @license DOMPurify 2.3.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.6/LICENSE */
style-rtl.css000064400000164161151545121240007226 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/style.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/* Editor */
.components-panel__header.interface-complementary-area-header__small {
  background: #fff;
  padding-left: 4px;
}
.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
@media (min-width: 782px) {
  .components-panel__header.interface-complementary-area-header__small {
    display: none;
  }
}

.interface-complementary-area-header {
  background: #fff;
  padding-left: 4px;
}
.interface-complementary-area-header .components-button.has-icon {
  display: none;
  margin-right: auto;
}
.interface-complementary-area-header .components-button.has-icon ~ .components-button {
  margin-right: 0;
}
@media (min-width: 782px) {
  .interface-complementary-area-header .components-button.has-icon {
    display: flex;
  }
}

@media (min-width: 782px) {
  .components-panel__header + .interface-complementary-area-header {
    margin-top: 0;
  }
}

.interface-complementary-area {
  background: #fff;
  color: #1e1e1e;
}
@media (min-width: 600px) {
  .interface-complementary-area {
    -webkit-overflow-scrolling: touch;
  }
}
@media (min-width: 782px) {
  .interface-complementary-area {
    width: 272px;
  }
}
.interface-complementary-area .components-panel {
  border: none;
  position: relative;
  z-index: 0;
}
.interface-complementary-area .components-panel__header {
  position: sticky;
  top: 0;
  z-index: 1;
}
.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
  top: 48px;
}
@media (min-width: 782px) {
  .interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
    top: 0;
  }
}
.interface-complementary-area p {
  margin-top: 0;
}
.interface-complementary-area h2 {
  font-size: 13px;
  color: #1e1e1e;
  margin-bottom: 1.5em;
}
.interface-complementary-area h3 {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  color: #1e1e1e;
  margin-bottom: 1.5em;
}
.interface-complementary-area hr {
  border-top: none;
  border-bottom: 1px solid #f0f0f0;
  margin: 1.5em 0;
}
.interface-complementary-area div.components-toolbar-group,
.interface-complementary-area div.components-toolbar {
  box-shadow: none;
  margin-bottom: 1.5em;
}
.interface-complementary-area div.components-toolbar-group:last-child,
.interface-complementary-area div.components-toolbar:last-child {
  margin-bottom: 0;
}
.interface-complementary-area .block-editor-skip-to-selected-block:focus {
  top: auto;
  left: 10px;
  bottom: 10px;
  right: auto;
}

@media (min-width: 782px) {
  body.js.is-fullscreen-mode {
    margin-top: -32px;
    height: calc(100% + 32px);
  }
  body.js.is-fullscreen-mode #adminmenumain,
  body.js.is-fullscreen-mode #wpadminbar {
    display: none;
  }
  body.js.is-fullscreen-mode #wpcontent,
  body.js.is-fullscreen-mode #wpfooter {
    margin-right: 0;
  }
}

html.interface-interface-skeleton__html-container {
  position: fixed;
  width: 100%;
}
@media (min-width: 782px) {
  html.interface-interface-skeleton__html-container {
    position: initial;
    width: initial;
  }
}

.interface-interface-skeleton {
  display: flex;
  flex-direction: row;
  height: auto;
  max-height: 100%;
  position: fixed;
  top: 46px;
  right: 0;
  left: 0;
  bottom: 0;
}
@media (min-width: 783px) {
  .interface-interface-skeleton {
    top: 32px;
  }
  .is-fullscreen-mode .interface-interface-skeleton {
    top: 0;
  }
}

.interface-interface-skeleton__editor {
  display: flex;
  flex-direction: column;
  flex: 0 1 100%;
  overflow: hidden;
}

.interface-interface-skeleton { /* Set left position when auto-fold is not on the body element. */
  right: 0;
}
@media (min-width: 783px) {
  .interface-interface-skeleton {
    right: 160px;
  }
}

.auto-fold .interface-interface-skeleton { /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ }
@media (min-width: 783px) {
  .auto-fold .interface-interface-skeleton {
    right: 36px;
  }
}
@media (min-width: 961px) {
  .auto-fold .interface-interface-skeleton {
    right: 160px;
  }
}

/* Sidebar manually collapsed. */
.folded .interface-interface-skeleton {
  right: 0;
}
@media (min-width: 783px) {
  .folded .interface-interface-skeleton {
    right: 36px;
  }
}

body.is-fullscreen-mode .interface-interface-skeleton {
  right: 0 !important;
}

.interface-interface-skeleton__body {
  flex-grow: 1;
  display: flex;
  overflow: auto;
  overscroll-behavior-y: none;
}
@media (min-width: 782px) {
  .has-footer .interface-interface-skeleton__body {
    padding-bottom: 25px;
  }
}

.interface-interface-skeleton__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  z-index: 20;
}

.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
  display: block;
  flex-shrink: 0;
  position: absolute;
  z-index: 100000;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #fff;
  color: #1e1e1e;
}
@media (min-width: 782px) {
  .interface-interface-skeleton__secondary-sidebar,
  .interface-interface-skeleton__sidebar {
    position: relative !important;
    z-index: 90;
    width: auto;
  }
}

.interface-interface-skeleton__sidebar {
  overflow: auto;
}
@media (min-width: 782px) {
  .interface-interface-skeleton__sidebar {
    border-right: 1px solid #e0e0e0;
  }
}

@media (min-width: 782px) {
  .interface-interface-skeleton__secondary-sidebar {
    border-left: 1px solid #e0e0e0;
  }
}

.interface-interface-skeleton__header {
  flex-shrink: 0;
  height: auto;
  border-bottom: 1px solid #e0e0e0;
  z-index: 30;
  color: #1e1e1e;
}

.interface-interface-skeleton__footer {
  height: auto;
  flex-shrink: 0;
  border-top: 1px solid #e0e0e0;
  color: #1e1e1e;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  background-color: #fff;
  z-index: 90;
  display: none;
}
@media (min-width: 782px) {
  .interface-interface-skeleton__footer {
    display: flex;
  }
}
.interface-interface-skeleton__footer .block-editor-block-breadcrumb {
  z-index: 30;
  display: flex;
  background: #fff;
  height: 24px;
  align-items: center;
  font-size: 13px;
  padding: 0 18px;
}

.interface-interface-skeleton__actions {
  z-index: 100000;
  position: fixed !important;
  top: -9999em;
  bottom: auto;
  right: auto;
  left: 0;
  width: 272px;
  color: #1e1e1e;
}
.interface-interface-skeleton__actions:focus {
  top: auto;
  bottom: 0;
}

.interface-more-menu-dropdown {
  margin-right: -4px;
}
.interface-more-menu-dropdown .components-button {
  width: auto;
  padding: 0 2px;
}
@media (min-width: 600px) {
  .interface-more-menu-dropdown {
    margin-right: 0;
  }
  .interface-more-menu-dropdown .components-button {
    padding: 0 4px;
  }
}

.interface-more-menu-dropdown__content .components-popover__content {
  min-width: 280px;
}
@media (min-width: 480px) {
  .interface-more-menu-dropdown__content .components-popover__content {
    width: auto;
    max-width: 480px;
  }
}
.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu {
  padding: 0;
}

.components-popover.interface-more-menu-dropdown__content {
  z-index: 99998;
}

.interface-pinned-items {
  display: flex;
}
.interface-pinned-items .components-button:not(:first-child) {
  display: none;
}
@media (min-width: 600px) {
  .interface-pinned-items .components-button:not(:first-child) {
    display: flex;
  }
}
.interface-pinned-items .components-button {
  margin-right: 4px;
}
.interface-pinned-items .components-button svg {
  max-width: 24px;
  max-height: 24px;
}

@media (min-width: 600px) {
  .interface-preferences-modal {
    width: calc(100% - 32px);
    height: calc(100% - 120px);
  }
}
@media (min-width: 782px) {
  .interface-preferences-modal {
    width: 750px;
  }
}
@media (min-width: 960px) {
  .interface-preferences-modal {
    height: 70%;
  }
}
@media (max-width: 781px) {
  .interface-preferences-modal .components-modal__content {
    padding: 0;
  }
  .interface-preferences-modal .components-modal__content::before {
    content: none;
  }
}

.interface-preferences__tabs .components-tab-panel__tabs {
  position: absolute;
  top: 84px;
  right: 16px;
  width: 160px;
}
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
  border-radius: 2px;
  font-weight: 400;
}
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active {
  background: #f0f0f0;
  box-shadow: none;
  font-weight: 500;
}
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) {
  box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}
.interface-preferences__tabs .components-tab-panel__tab-content {
  padding-right: 24px;
  margin-right: 160px;
}

@media (max-width: 781px) {
  .interface-preferences__provider {
    height: 100%;
  }
}
.interface-preferences-modal__section {
  margin: 0 0 2.5rem 0;
}
.interface-preferences-modal__section:last-child {
  margin: 0;
}

.interface-preferences-modal__section-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0;
}

.interface-preferences-modal__section-description {
  margin: -8px 0 8px 0;
  font-size: 12px;
  font-style: normal;
  color: #757575;
}

.interface-preferences-modal__option .components-base-control .components-base-control__field {
  align-items: center;
  display: flex;
  margin-bottom: 0;
}
.interface-preferences-modal__option .components-base-control .components-base-control__field > label {
  flex-grow: 1;
  padding: 0.6rem 10px 0.6rem 0;
}
.interface-preferences-modal__option .components-base-control__help {
  margin: -8px 58px 8px 0;
  font-size: 12px;
  font-style: normal;
  color: #757575;
}

.woocommerce-product-block-editor {
  /*
   * Override default block margins and layout applied for themes without a theme.json file.
   *
   * If we no longer call `is_block_editor( true )` in the future for the product editor,
   * we can remove this.
   *
   * See: `wp_add_editor_classic_theme_styles()`
   */
}
.woocommerce-product-block-editor h1,
.woocommerce-product-block-editor h2,
.woocommerce-product-block-editor h3,
.woocommerce-product-block-editor h4,
.woocommerce-product-block-editor h5,
.woocommerce-product-block-editor h6,
.woocommerce-product-block-editor p,
.woocommerce-product-block-editor button,
.woocommerce-product-block-editor span,
.woocommerce-product-block-editor label,
.woocommerce-product-block-editor div,
.woocommerce-product-block-editor input {
  font-family: var(--wp--preset--font-family--system-font);
}
.woocommerce-product-block-editor h4 {
  font-size: 16px;
}
.woocommerce-product-block-editor label {
  color: #1e1e1e;
}
.woocommerce-product-block-editor a {
  text-decoration: none;
}
.woocommerce-product-block-editor :where(.wp-block) {
  margin-bottom: 0;
  margin-top: 0;
  max-width: unset;
}
.woocommerce-product-block-editor .has-error .components-base-control {
  margin-bottom: 0;
}
.woocommerce-product-block-editor .has-error .components-base-control .components-input-control__backdrop {
  border-color: #d63638;
}
.woocommerce-product-block-editor .has-error .components-base-control__help {
  color: #d63638;
}
.woocommerce-product-block-editor .components-base-control .components-base-control__field {
  margin-bottom: 0;
}
.woocommerce-product-block-editor .components-base-control .components-base-control__help {
  margin-bottom: 0;
}
.woocommerce-product-block-editor .components-toggle-control {
  margin-bottom: 0;
}
.woocommerce-product-block-editor .components-toggle-control .components-form-toggle {
  display: flex;
  align-items: center;
}
.woocommerce-product-block-editor .components-toggle-control .components-toggle-control__label {
  display: flex;
  align-items: center;
}
.woocommerce-product-block-editor .woocommerce-collapsible-content .woocommerce-collapsible-content__content {
  margin-top: 32px;
}
.woocommerce-product-block-editor .components-input-control__input::-moz-placeholder {
  color: #757575;
}
.woocommerce-product-block-editor .components-input-control__input:-ms-input-placeholder {
  color: #757575;
}
.woocommerce-product-block-editor .components-input-control__input::placeholder {
  color: #757575;
}
.woocommerce-product-block-editor .components-input-control__prefix {
  margin-right: 8px;
}
.woocommerce-product-block-editor .components-input-control__suffix {
  margin-left: 8px;
}
.woocommerce-product-block-editor .woocommerce-product-form__custom-label-input {
  display: flex;
  flex-direction: column;
}
.woocommerce-product-block-editor .woocommerce-product-form__custom-label-input label {
  display: block;
  margin-bottom: 8px;
}
.woocommerce-product-block-editor .woocommerce-product-form__optional-input {
  color: #757575;
}
.woocommerce-product-block-editor .wp-block-columns {
  gap: 24px;
  margin-bottom: 0;
}
.woocommerce-product-block-editor .woocommerce-experimental-select-control__label {
  text-transform: uppercase;
  font-size: 11px;
  color: #1e1e1e;
  font-weight: 500;
}
.woocommerce-product-block-editor .block-editor-block-list__layout.is-root-container {
  padding-right: 32px;
  padding-left: 32px;
  padding-bottom: 128px;
}
@media (min-width: 783px) {
  .woocommerce-product-block-editor .block-editor-block-list__layout.is-root-container {
    padding-right: 0;
    padding-left: 0;
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
  }
}
.woocommerce-product-block-editor .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after {
  display: none;
}

.woocommerce-layout:has(.woocommerce-product-block-editor) .woocommerce-layout__primary {
  margin-top: 48px;
}
.woocommerce-layout:has(.woocommerce-product-block-editor) .woocommerce-layout__header {
  display: none;
}

.wp-admin.woocommerce-feature-enabled-product-block-editor .components-modal__frame {
  border-radius: 8px;
}
.wp-admin.woocommerce-feature-enabled-product-block-editor .components-modal__header {
  border: none;
}

/* Structural */
.woocommerce-product-tabs {
  display: flex;
  justify-content: center;
}
.woocommerce-product-tabs .components-button {
  padding: 8px 0 20px 0;
  margin-right: 12px;
  margin-left: 12px;
  border-bottom: 3.5px solid transparent;
  border-radius: 0;
  height: auto;
}
.woocommerce-product-tabs .components-button.is-selected {
  border-color: var(--wp-admin-theme-color);
}

.woocommerce-form-section a {
  text-decoration: none;
}
.woocommerce-form-section__content .components-card {
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow: none;
}
.woocommerce-form-section__content .components-card__body {
  padding: 24px;
}
.woocommerce-form-section__content .components-card__body .components-base-control:not(:first-child):not(.components-radio-control),
.woocommerce-form-section__content .components-card__body .components-dropdown:not(:first-child):not(.components-radio-control),
.woocommerce-form-section__content .components-card__body .woocommerce-rich-text-editor:not(:first-child):not(.components-radio-control) {
  margin-top: 16px;
  margin-bottom: 0;
}
.woocommerce-form-section__content .woocommerce-product-form__field:not(:first-child) {
  margin-top: 24px;
}
.woocommerce-form-section__content .woocommerce-product-form__field:not(:first-child) > .components-base-control {
  margin-bottom: 0;
}
.woocommerce-form-section__content .components-radio-control .components-v-stack {
  gap: 12px;
}
.woocommerce-form-section__content .woocommerce-collapsible-content {
  margin-top: 24px;
}
.woocommerce-form-section__header p > span {
  display: block;
  margin-bottom: 8px;
}
.woocommerce-form-section:not(:first-child) {
  margin-top: 40px;
}

.woocommerce-product-header__inner {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr auto 1fr;
  grid-template-columns: 1fr auto 1fr;
  grid-gap: 16px;
  align-items: center;
  padding: 0 16px;
  height: 60px;
}
@media (max-width: 960px) {
  .woocommerce-product-header__inner {
    -ms-grid-columns: auto 1fr;
    grid-template-columns: auto 1fr;
  }
}
.woocommerce-product-header .woocommerce-product-header__title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  color: #000000;
  max-width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 960px) {
  .woocommerce-product-header .woocommerce-product-header__title {
    display: none;
  }
}
.woocommerce-product-header__actions {
  margin-right: auto;
}
.woocommerce-product-header .woocommerce-product-header__actions {
  display: flex;
}
.woocommerce-product-header .woocommerce-product-header__actions > * + * {
  margin-right: 8px;
}
.woocommerce-product-header .components-dropdown-menu__toggle.is-opened {
  background-color: #1E1E1E;
  color: #fff;
}

.woocommerce-product-header__more-menu .components-popover__content {
  min-width: auto;
  width: -moz-min-content;
  width: min-content;
}

.woocommerce-product-footer {
  width: 100%;
}

.woocommerce-add-new-shipping-class-modal {
  min-width: 650px;
}
.woocommerce-add-new-shipping-class-modal__optional-input {
  color: #757575;
}
.woocommerce-add-new-shipping-class-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.woocommerce-add-new-shipping-class-modal .has-error .components-base-control__help {
  color: #d63638;
}

/* Components */
.woocommerce-content-preview {
  border: 1px solid #ddd;
  max-height: 144px;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}
.woocommerce-content-preview:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  height: 57px;
  width: 100%;
  background: linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 89.5%);
}
.woocommerce-content-preview__iframe {
  width: 100%;
}
.woocommerce-content-preview__content {
  box-sizing: border-box;
  padding: 24px;
}
.woocommerce-content-preview__content > :first-child {
  margin-top: 0;
}
.woocommerce-content-preview__content > * {
  max-width: 100%;
}

.woocommerce-radio-field .components-base-control__label {
  text-transform: none;
  font-weight: 400;
  margin-bottom: 12px;
}
.woocommerce-radio-field .components-base-control__label > span {
  display: block;
  line-height: 1.5;
}
.woocommerce-radio-field__title {
  font-size: 11px;
  font-weight: 500;
  color: #1e1e1e;
  text-transform: uppercase;
}
.woocommerce-radio-field__description {
  font-size: 13px;
  color: #757575;
}
.woocommerce-radio-field .components-base-control__field > .components-v-stack {
  gap: 16px;
}

.woocommerce-product-notice {
  padding: 12px 16px;
}
.woocommerce-product-notice p {
  color: #1e1e1e;
  letter-spacing: 0.24px;
}
.woocommerce-product-notice button {
  letter-spacing: 0.24px;
}
.woocommerce-product-notice.info {
  background-color: #f0f6fc;
}

.woocommerce-iframe-editor {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.woocommerce-iframe-editor__main {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 1000;
}
.woocommerce-iframe-editor iframe {
  width: 100%;
  height: 100%;
}
.woocommerce-iframe-editor__content {
  box-sizing: border-box;
  flex-grow: 1;
  background-color: #2f2f2f;
  padding: 90px 48px 40px;
  height: 100%;
  justify-content: center;
  display: flex;
  position: relative;
}
.woocommerce-iframe-editor__content-inserter-clipper {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 40px;
  background-color: inherit;
  z-index: 100;
}
.woocommerce-iframe-editor__sidebar {
  flex-shrink: 0;
  height: 100%;
  width: 280px;
  overflow: scroll;
}
.woocommerce-iframe-editor .block-editor-block-contextual-toolbar.is-fixed {
  position: absolute;
  right: 0;
  top: 0;
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  box-sizing: border-box;
  margin-right: 0px;
  width: 100%;
  min-height: 47px;
}
.woocommerce-iframe-editor .block-editor-block-contextual-toolbar.is-fixed > .block-editor-block-toolbar.is-showing-movers:before {
  display: none;
}
.woocommerce-iframe-editor .block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar__group-expand-fixed-toolbar,
.woocommerce-iframe-editor .block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar__group-collapse-fixed-toolbar {
  display: none;
}

.woocommerce-iframe-editor__header-toolbar {
  height: 60px;
  border: 0;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.woocommerce-iframe-editor__header-toolbar .woocommerce-iframe-editor__header-toolbar-inserter-toggle.components-button.has-icon {
  height: 32px;
  margin-left: 8px;
  min-width: 32px;
  padding: 0;
  width: 32px;
}
.woocommerce-iframe-editor__header-toolbar .woocommerce-iframe-editor__header-toolbar-inserter-toggle.components-button.has-icon svg {
  transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.woocommerce-iframe-editor__header-toolbar .woocommerce-iframe-editor__header-toolbar-inserter-toggle.components-button.has-icon.is-pressed:before {
  width: 100%;
  right: 0;
}
.woocommerce-iframe-editor__header-toolbar .woocommerce-iframe-editor__header-toolbar-inserter-toggle.components-button.has-icon.is-pressed svg {
  transform: rotate(-45deg);
}
.woocommerce-iframe-editor__header-toolbar-left {
  padding-right: 12px;
}
.woocommerce-iframe-editor__header-toolbar-right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.woocommerce-iframe-editor__header-toolbar-right > .components-dropdown-menu {
  margin-left: 12px;
  width: 48px;
}
.woocommerce-iframe-editor__header-toolbar-right > .components-dropdown-menu > button.components-dropdown-menu__toggle {
  padding: 8px !important;
  margin-left: -8px;
}
.woocommerce-iframe-editor__header-toolbar-right > .woocommerce-show-block-inspector-panel {
  margin-left: -8px;
}
.woocommerce-iframe-editor__header-toolbar-right button.woocommerce-modal-actions__done-button,
.woocommerce-iframe-editor__header-toolbar-right button.woocommerce-modal-actions__cancel-button {
  height: 32px;
}

.resizable-editor__drag-handle {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: none;
  border: 0;
  border-radius: 2px;
  bottom: 0;
  cursor: ew-resize;
  margin: auto 0;
  outline: none;
  padding: 0;
  position: absolute;
  top: 0;
  width: 12px;
  height: 100px;
}
.resizable-editor__drag-handle.is-left {
  right: -16px;
}
.resizable-editor__drag-handle.is-right {
  left: -16px;
}
.resizable-editor__drag-handle:after {
  background: #949494;
  border-radius: 2px;
  bottom: 24px;
  content: "";
  right: 4px;
  position: absolute;
  left: 0;
  top: 24px;
  width: 4px;
}

.woocommerce-iframe-editor__back-button {
  align-self: flex-start;
  margin-top: 16px;
  margin-bottom: 16px;
  color: white;
}

.woocommerce-iframe-editor__inserter-panel {
  border-left: 1px solid #ccc;
  height: 100%;
}
.woocommerce-iframe-editor__inserter-panel-content {
  height: 100%;
}

.woocommerce-iframe-editor__document-overview-sidebar {
  position: relative;
  width: 350px;
  height: 100%;
  border-left: 1px solid #ccc;
}
.woocommerce-iframe-editor__document-overview-sidebar-close-button {
  position: absolute;
  left: 6px;
  top: 6px;
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-panel {
  height: 100%;
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-panel .components-tab-panel__tabs {
  padding-left: 48px;
  border-bottom: 1px solid #ccc;
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-panel .components-tab-panel__tab-content {
  display: flex;
  flex-direction: column;
  height: calc(100% - 48px);
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-content {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 6px;
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-content .block-editor-list-view-tree {
  margin: 0;
  width: 100%;
}

.woocommerce-modal-editor {
  width: 100%;
  height: 100%;
  max-height: calc(100% - 40px);
  margin: 20px;
  border-radius: 8px;
}
.woocommerce-modal-editor .components-modal__header {
  height: 60px;
  border-bottom: 1px solid #ccc;
  padding-right: 18px;
  padding-left: 18px;
}
.woocommerce-modal-editor .components-modal__header .components-modal__header-heading {
  font-size: 16px;
  line-height: 24px;
}
.woocommerce-modal-editor .components-modal__content {
  display: flex;
  margin-top: 60px;
  padding: 0;
}
.woocommerce-modal-editor .components-modal__content > div {
  width: 100%;
}

.woocommerce-product-mvp-ces-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 44px;
  gap: 16px;
}
@media (min-width: 783px) {
  .woocommerce-product-mvp-ces-footer {
    padding: 16px 0;
    max-width: 650px;
    margin: 0 auto;
  }
}
.woocommerce-product-mvp-ces-footer .woocommerce-pill {
  background-color: #f5e6b3;
  border: 0;
  font-size: 1em;
}
.woocommerce-product-mvp-ces-footer__close-button {
  padding: 0;
}
.woocommerce-product-mvp-ces-footer__message {
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  white-space: pre-wrap;
}
.woocommerce-product-mvp-ces-footer__message-buttons {
  white-space: nowrap;
}
.woocommerce-product-mvp-ces-footer__message-buttons button.is-link {
  text-decoration: none;
}

.woocommerce-customer-effort-score .components-modal__content > p {
  text-transform: uppercase;
  color: #1e1e1e;
}
.woocommerce-customer-effort-score .components-modal__content > .components-base-control {
  margin-top: 12px;
}
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__additional-thoughts .components-base-control__help,
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__email .components-base-control__help {
  color: #d94f4f;
}
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__additional-thoughts .components-base-control__label,
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__email .components-base-control__label {
  color: #1e1e1e;
  line-height: 16px;
  text-transform: uppercase;
}
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__additional-thoughts .components-base-control__label .woocommerce-product-feedback__optional-input,
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__email .components-base-control__label .woocommerce-product-feedback__optional-input {
  color: #757575;
}
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__additional-thoughts .components-base-control__field > span,
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__email .components-base-control__field > span {
  font-size: 12px;
  line-height: 16px;
  color: #757575;
}
.woocommerce-customer-effort-score__selection .components-radio-control__option {
  margin-left: 0;
}
.woocommerce-customer-effort-score__selection .components-radio-control__option label {
  color: #1e1e1e;
  padding: 1em 0;
  width: 8.8em;
  height: 80px;
}
.woocommerce-customer-effort-score__selection .components-radio-control__option label::before {
  margin: 8px 0;
}
.woocommerce-customer-effort-score__selection .components-radio-control__option label:hover {
  box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
  border-radius: 2px;
  background-color: #fff;
}
.woocommerce-customer-effort-score__errors > p {
  color: #d94f4f;
}

.woocommerce-product-mvp-feedback-modal {
  width: 600px;
}
.woocommerce-product-mvp-feedback-modal .components-modal__header {
  height: 84px;
}
.woocommerce-product-mvp-feedback-modal .components-modal__header-heading {
  font-weight: 500;
  font-size: 20px;
}
.woocommerce-product-mvp-feedback-modal .components-modal__content {
  margin-top: 84px;
  padding-bottom: 32px;
}
.woocommerce-product-mvp-feedback-modal legend,
.woocommerce-product-mvp-feedback-modal label {
  color: #1e1e1e;
}
.woocommerce-product-mvp-feedback-modal .woocommerce-product-mvp-feedback-modal__optional {
  color: #757575;
}
.woocommerce-product-mvp-feedback-modal legend {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
  padding: 0;
}
.woocommerce-product-mvp-feedback-modal__subtitle {
  margin-top: 8px !important;
}
.woocommerce-product-mvp-feedback-modal__checkboxes {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}
.woocommerce-product-mvp-feedback-modal__comments {
  margin-top: 2em;
  margin-bottom: 1.5em;
}
.woocommerce-product-mvp-feedback-modal__comments textarea {
  width: 100%;
}
.woocommerce-product-mvp-feedback-modal__reason, .woocommerce-product-mvp-feedback-modal__comments, .woocommerce-product-mvp-feedback-modal__email {
  margin-bottom: 24px;
}

.woocommerce-product-link-edit-modal {
  max-width: 650px;
}
.woocommerce-product-link-edit-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.woocommerce-product-link-edit-modal .woocommerce-product-link-edit-modal__description {
  margin-top: 0;
  margin-bottom: 24px;
}

.woocommerce-product-link-edit-modal {
  max-width: 650px;
}
.woocommerce-product-link-edit-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.woocommerce-product-link-edit-modal .woocommerce-product-link-edit-modal__description {
  margin-top: 0;
  margin-bottom: 24px;
}

.woocommerce-attribute-field {
  width: 100%;
  font-size: 13px;
}
.woocommerce-attribute-field .woocommerce-sortable {
  margin: 0;
}
.woocommerce-attribute-field .woocommerce-sortable__item:not(:first-child) {
  margin-top: -1px;
}
.woocommerce-attribute-field .woocommerce-sortable__item:focus-visible:not(:active) + .woocommerce-sortable__item .woocommerce-attribute-list-item {
  background: none;
  border-top: 0;
}
.woocommerce-attribute-field .woocommerce-add-attribute-list-item__add-button {
  margin-bottom: 16px;
}
.woocommerce-attribute-field__notice.components-notice {
  margin: 0px;
  padding-left: 12px;
}

.woocommerce-edit-attribute-modal {
  overflow: visible;
}
.woocommerce-edit-attribute-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}

.woocommerce-edit-attribute-modal__body {
  width: 500px;
  max-width: 100%;
}
.woocommerce-edit-attribute-modal__body .woocommerce-experimental-select-control + .woocommerce-experimental-select-control {
  margin-top: 1.3em;
}
.woocommerce-edit-attribute-modal__body .woocommerce-experimental-select-control__label,
.woocommerce-edit-attribute-modal__body .components-base-control__label {
  font-size: 14px;
  color: #757575;
  font-weight: bold;
  text-transform: none;
}
.woocommerce-edit-attribute-modal__body .woocommerce-edit-attribute-modal__option-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.woocommerce-edit-attribute-modal__body .woocommerce-edit-attribute-modal__option-container .components-checkbox-control .components-base-control__field {
  margin-bottom: 0;
}
.woocommerce-edit-attribute-modal__body .woocommerce-attribute-term-field {
  margin-bottom: 1.5em;
}
.woocommerce-edit-attribute-modal__body .woocommerce-edit-attribute-modal__helper-text {
  color: #757575;
  margin: 0.5em 0 1.5em 0;
}

.woocommerce-new-attribute-modal {
  min-width: 50%;
}
.woocommerce-new-attribute-modal .components-notice.is-info {
  margin-right: 0;
  margin-left: 0;
  background-color: #f0f6fc;
}
.woocommerce-new-attribute-modal__add-attribute {
  margin-top: 12px;
}
.woocommerce-new-attribute-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.woocommerce-new-attribute-modal .components-modal__content {
  display: flex;
  flex-direction: column;
}
.woocommerce-new-attribute-modal__body {
  min-height: 200px;
  flex: 1 1 auto;
  overflow: auto;
}
.woocommerce-new-attribute-modal__table {
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 782px) {
  .woocommerce-new-attribute-modal__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
}
.woocommerce-new-attribute-modal__table th {
  text-align: right;
  color: #757575;
  font-weight: normal;
  text-transform: uppercase;
}
.woocommerce-new-attribute-modal__table-header {
  padding: 0 0 16px;
}
.woocommerce-new-attribute-modal__table-header, .woocommerce-new-attribute-modal__table-row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 40% 55% 5%;
  grid-template-columns: 40% 55% 5%;
  border-bottom: 1px solid #ddd;
  align-items: center;
}
.woocommerce-new-attribute-modal__table-row {
  padding: 24px 0;
}
.woocommerce-new-attribute-modal__table-row td:not(:last-child) {
  margin-left: 16px;
}
@media (max-width: 782px) {
  .woocommerce-new-attribute-modal__table-row {
    position: relative;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    padding-left: 42px;
  }
}
@media (min-width: 783px) {
  .woocommerce-new-attribute-modal__table-row .woocommerce-experimental-select-control__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  .woocommerce-new-attribute-modal__table-row .woocommerce-experimental-select-control__combo-box-wrapper {
    margin-bottom: 0;
  }
}
.woocommerce-new-attribute-modal__table-attribute-trash-column {
  display: flex;
  justify-content: center;
}
@media (max-width: 782px) {
  .woocommerce-new-attribute-modal__table-attribute-trash-column {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    align-items: center;
  }
}
.woocommerce-new-attribute-modal__table-attribute-trash-column .components-button.has-icon {
  padding: 8px;
}

.woocommerce-remove-attribute-modal {
  max-width: 650px;
}
.woocommerce-remove-attribute-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}

.woocommerce-attribute-input-field__add-new {
  display: flex;
  align-items: center;
  font-weight: 600;
}
.woocommerce-attribute-input-field__add-new-icon {
  margin-left: 12px;
}

.woocommerce-experimental-select-control__popover-menu-container .woocommerce-experimental-select-control__menu-item[disabled] {
  pointer-events: none;
  color: #949494;
}
.woocommerce-experimental-select-control__popover-menu-container .disabled-element-wrapper {
  cursor: not-allowed;
}

.woocommerce-add-attribute-list-item,
.woocommerce-attribute-list-item {
  min-height: 82px;
  padding: 0 24px;
}
.woocommerce-add-attribute-list-item:last-child,
.woocommerce-attribute-list-item:last-child {
  margin-bottom: -1px;
}

.woocommerce-attribute-list-item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 24px 26% auto 90px;
  grid-template-columns: 24px 26% auto 90px;
}
.woocommerce-attribute-list-item:last-child {
  margin-bottom: -1px;
}
.woocommerce-attribute-list-item__options {
  display: flex;
  flex-direction: row;
  gap: 4px;
}
.woocommerce-attribute-list-item__option-chip {
  padding: 4px 8px;
  gap: 2px;
  background: #f0f0f0;
  border-radius: 2px;
}
.woocommerce-attribute-list-item__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  gap: 8px;
}
.woocommerce-attribute-list-item__actions-tooltip.components-tooltip.components-popover .components-popover__content {
  width: 100%;
  max-width: 150px;
  white-space: normal;
}
.woocommerce-attribute-list-item__actions-icon-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}
.woocommerce-attribute-list-item__actions-icon-wrapper-icon {
  color: #949494;
}
.woocommerce-attribute-list-item__actions-icon-wrapper-help-icon {
  position: absolute;
  left: -2px;
  bottom: 0px;
}

.woocommerce-attribute-term-field__loading-spinner {
  padding: 12px 0;
}
.woocommerce-attribute-term-field__add-new {
  display: flex;
  align-items: center;
  font-weight: 600;
}
.woocommerce-attribute-term-field__add-new-icon {
  margin-left: 12px;
}

.woocommerce-attribute-term-field__add-new {
  display: flex;
  align-items: center;
}

.variations-actions-menu__toogle {
  flex-direction: row-reverse;
}
.variations-actions-menu__toogle > span {
  margin: 0 6px;
}

.woocommerce-hidden-with-help-icon {
  display: flex;
  align-items: center;
  position: relative;
}
.woocommerce-hidden-with-help-icon__hidden-icon {
  color: #949494;
}
.woocommerce-hidden-with-help-icon__help-icon {
  position: absolute;
  left: -2px;
  bottom: 0px;
}

.woocommerce-product-variations {
  display: flex;
  flex-direction: column;
  position: relative;
}
.woocommerce-product-variations__header {
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}
.woocommerce-product-variations__notice {
  border-right: 0px;
  margin: 0 0 24px 0;
}
.woocommerce-product-variations__notice.is-error {
  background-color: #fcf0f1;
}
.woocommerce-product-variations__notice .components-notice__actions {
  margin-top: 12px;
}
.woocommerce-product-variations__notice .components-notice__actions .components-button:first-child {
  margin-right: 0px;
}
.woocommerce-product-variations__table {
  height: 360px;
  overflow: auto;
}
.woocommerce-product-variations__selection {
  margin-right: 4px;
}
.woocommerce-product-variations__selection .components-checkbox-control__input[type=checkbox]:not(:checked):not(:focus) {
  border-color: #949494;
}
.woocommerce-product-variations__filters {
  flex: 1 0 auto;
}
.woocommerce-product-variations__loading {
  display: flex;
  flex-direction: column;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.woocommerce-product-variations__loading .components-spinner {
  width: 40px;
  height: 40px;
}
.woocommerce-product-variations__price {
  text-align: left;
  padding-left: 32px;
}
.woocommerce-product-variations__regular-price--on-sale {
  text-decoration: line-through;
  color: #949494;
  margin-right: 6px;
  word-wrap: normal;
}
.woocommerce-product-variations__status-dot {
  margin-left: 8px;
}
.woocommerce-product-variations__status-dot.green {
  color: #4ab866;
}
.woocommerce-product-variations__status-dot.yellow {
  color: #ffb900;
}
.woocommerce-product-variations__status-dot.red {
  color: #d94f4f;
}
.woocommerce-product-variations__price--fade, .woocommerce-product-variations__quantity--fade {
  opacity: 0.5;
}
.woocommerce-product-variations__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: 4px;
}
.woocommerce-product-variations__actions--delete.components-button.components-menu-item__button.is-link {
  text-decoration: none;
}
.woocommerce-product-variations__actions .components-button {
  position: relative;
  color: var(--wp-admin-theme-color);
}
.woocommerce-product-variations__actions .components-button:disabled, .woocommerce-product-variations__actions .components-button[aria-disabled=true] {
  opacity: 1;
}
.woocommerce-product-variations__actions .components-button .components-spinner {
  margin: 4px;
}
.woocommerce-product-variations__actions .components-button.components-dropdown-menu__toggle.has-icon svg {
  fill: inherit;
}
.woocommerce-product-variations__actions .components-button svg {
  fill: none;
}
.woocommerce-product-variations__actions .components-button--visible {
  color: #757575;
}
.woocommerce-product-variations__actions .components-button--hidden {
  color: #d94f4f;
}
.woocommerce-product-variations .woocommerce-list-item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 44px auto 25% 25% 88px;
  grid-template-columns: 44px auto 25% 25% 88px;
  padding: 0;
  min-height: 72px;
  border: none;
}
.woocommerce-product-variations .woocommerce-sortable {
  margin: 0;
  flex: 1 0 auto;
}
.woocommerce-product-variations .woocommerce-sortable__item:not(:last-child) .woocommerce-list-item {
  border-bottom: 1px solid #e0e0e0;
}
.woocommerce-product-variations .woocommerce-sortable__handle {
  display: none;
}
.woocommerce-product-variations__footer {
  padding: 16px 0;
  justify-content: space-between;
}

.woocommerce-create-new-tag-modal {
  min-width: 650px;
  overflow: visible;
}
.woocommerce-create-new-tag-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}

.woocommerce-tag-field-dropdown .woocommerce-experimental-select-control__input {
  height: auto;
}
.woocommerce-tag-field-dropdown .woocommerce-experimental-select-control__combo-box-wrapper {
  border-color: #757575;
}
.woocommerce-tag-field-dropdown__menu {
  padding: 0 12px;
  max-height: 300px;
  overflow-y: scroll;
}
.woocommerce-tag-field-dropdown__menu > .woocommerce-tag-field-dropdown__item:not(:first-child) > .woocommerce-tag-field-dropdown__item-content {
  border-top: 1px solid #e0e0e0;
}
.woocommerce-tag-field-dropdown__item {
  margin-bottom: 0;
}
.woocommerce-tag-field-dropdown__item .woocommerce-tag-field-dropdown__item-content .components-base-control {
  margin-top: 0;
}
.woocommerce-tag-field-dropdown__item.is-new .tag-field-dropdown__toggle {
  margin-left: 8px;
}
.woocommerce-tag-field-dropdown__item-content {
  height: 48px;
  padding: 8px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}
.woocommerce-tag-field-dropdown__item-content .components-base-control__field {
  margin-bottom: 0;
}
.woocommerce-tag-field-dropdown__item-children {
  margin-right: 36px;
  display: none;
}
.woocommerce-tag-field-dropdown__item-open {
  display: block;
}
.woocommerce-tag-field-dropdown__toggle {
  margin-left: 8px;
  cursor: pointer;
}
.woocommerce-tag-field-dropdown__toggle-placeholder {
  width: 28px;
}

.woocommerce-tag-field-dropdown__item.item_highlighted > .woocommerce-tag-field-dropdown__item-content {
  font-weight: bold;
}

.woocommerce-experimental-select-control__combox-box-icon {
  box-sizing: unset;
}

/* Field Blocks */
.wp-block-woocommerce-product-attributes-field .woocommerce-sortable {
  padding: 0;
}
.wp-block-woocommerce-product-attributes-field .woocommerce-list-item {
  background: none;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding-right: 0;
  -ms-grid-columns: 26% auto 90px;
  grid-template-columns: 26% auto 90px;
}
.wp-block-woocommerce-product-attributes-field .woocommerce-sortable__handle {
  display: none;
}

.woocommerce-product-form__checkbox .components-base-control__field,
.woocommerce-product-form__checkbox .components-checkbox-control__label, .woocommerce-product-form__checkbox-wrapper, .woocommerce-product-form__checkbox-tooltip-icon {
  display: flex;
  align-items: center;
}
.woocommerce-product-form__checkbox .components-base-control__field {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.woocommerce-product-form__checkbox .components-checkbox-control__label {
  margin-bottom: 0;
}

.woocommerce-product-form__checkbox-wrapper {
  gap: 4px;
}

.woocommerce-product-form__checkbox-tooltip .components-popover__content {
  width: 200px;
  min-width: auto;
  white-space: normal !important;
}

.wp-block-woocommerce-product-images-field .woocommerce-media-uploader {
  text-align: right;
}
.wp-block-woocommerce-product-images-field .woocommerce-media-uploader__label {
  display: none;
}
.wp-block-woocommerce-product-images-field .woocommerce-sortable {
  margin-top: 0;
  padding: 0;
}
.wp-block-woocommerce-product-images-field.has-images .woocommerce-image-gallery {
  margin-top: 40px;
}
.wp-block-woocommerce-product-images-field:not(.has-images) .woocommerce-sortable {
  display: none;
}

.wp-block-woocommerce-product-inventory-email-field {
  margin-top: 24px;
}

.woocommerce-product-form_inventory-sku .components-base-control__label {
  display: flex;
  align-items: center;
}
.woocommerce-product-form_inventory-sku .woocommerce-product-form__optional-input {
  margin-right: 4px;
}
.woocommerce-product-form_inventory-sku .woocommerce-tooltip__button {
  padding: 0 4px 0 0;
}

.product-details-section__product-link {
  color: #757575;
  font-size: 12px;
  display: block;
  margin-top: 8px;
}
.product-details-section__product-link > a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.product-details-section__product-link .components-button.is-link {
  font-size: 12px;
  text-decoration: none;
  margin-right: 8px;
}

.woocommerce-product-form__required-input {
  color: #CC1818;
}

.wp-block-woocommerce-product-name-field .has-error .components-base-control .components-input-control__backdrop {
  border-color: #d63638;
}
.wp-block-woocommerce-product-name-field .has-error .components-base-control__help {
  color: #d63638;
}

.woocommerce-product-notice {
  margin-top: 64px;
}
.woocommerce-product-notice button {
  pointer-events: all;
  cursor: pointer;
}

.components-currency-control .components-input-control__prefix {
  color: #757575;
}
.components-currency-control .components-input-control__input {
  text-align: left;
}

.wp-block-woocommerce-product-regular-price-field .components-currency-control .components-input-control__prefix {
  color: #757575;
}
.wp-block-woocommerce-product-regular-price-field .components-currency-control .components-input-control__input {
  text-align: left;
}

.wp-block-woocommerce-product-sale-price-field .components-currency-control .components-input-control__prefix {
  color: #757575;
}
.wp-block-woocommerce-product-sale-price-field .components-currency-control .components-input-control__input {
  text-align: left;
}

.wp-block-woocommerce-product-schedule-sale-fields__content {
  margin-top: 24px;
}

.wp-block-woocommerce-product-section {
  margin: 48px 0 0;
  padding: 0 0 48px;
  border-bottom: 1px solid #ddd;
}
.wp-block-woocommerce-product-section:first-child {
  margin-top: 64px;
}
.wp-block-woocommerce-product-section:last-child {
  border-bottom: none;
}
.wp-block-woocommerce-product-section__heading {
  padding: 0;
  margin: 0 0 32px 0;
  width: 100%;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: #1e1e1e;
  display: inline-flex;
  align-items: center;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title .block-editor-block-icon {
  margin-left: 14px;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title .block-editor-block-icon > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-description {
  margin: 12px 0 0;
  font-size: 13px;
  color: #757575;
  line-height: 1.5;
}
.wp-block-woocommerce-product-section__content--block-gap-unit-30 > * + * {
  margin-top: 24px;
}
.wp-block-woocommerce-product-section__content--block-gap-unit-40 > * + * {
  margin-top: 32px;
}
.wp-block-woocommerce-product-section__content .wp-block-woocommerce-product-section {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control {
  margin-bottom: 16px;
}
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control__field .components-base-control__label > span {
  color: #757575;
}
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control__field .components-input-control__suffix {
  flex-shrink: 0;
  color: #757575;
}
.wp-block-woocommerce-product-shipping-dimensions-fields__dimensions-image {
  width: 100%;
  height: 100%;
  padding: 16px;
  overflow: visible;
}

.wp-block-woocommerce-product-summary-field-wrapper .wp-block-woocommerce-product-summary-field {
  margin-top: 0;
  margin-bottom: 0;
}

.components-summary-control {
  width: 100%;
  min-height: 108px;
  background-color: #fff;
  box-sizing: border-box;
  border: 1px solid #757575;
  border-radius: 2px;
  padding: 8px;
  margin: 0;
  -webkit-appearance: textarea;
     -moz-appearance: textarea;
          appearance: textarea;
  resize: vertical;
  overflow: hidden;
}
.components-summary-control.rich-text [data-rich-text-placeholder]:after {
  color: #757575;
  opacity: 1;
}
.components-summary-control:focus {
  box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10, --wp-admin-theme-color);
  border-color: var(--wp-admin-theme-color-darker-10, --wp-admin-theme-color);
}

.has-text-align-justify {
  text-align: justify;
}

.wp-block-woocommerce-product-tab__content:not(.is-selected) {
  display: none;
}

.woocommerce-product-tabs .wp-block-woocommerce-product-tab__button:focus:not(:disabled) {
  box-shadow: none;
}

.wp-block-woocommerce-product-tab:after {
  display: none;
}

.wp-block-woocommerce-product-variations-fields {
  margin-top: 64px;
}
.wp-block-woocommerce-product-variations-fields--has-attributes .wp-block-woocommerce-product-variations-fields__heading {
  display: none;
}
.wp-block-woocommerce-product-variations-fields--has-attributes .wp-block-woocommerce-product-variations-fields__content {
  display: block;
}
.wp-block-woocommerce-product-variations-fields__heading {
  text-align: center;
}
.wp-block-woocommerce-product-variations-fields__heading-image-container {
  padding-top: 48px;
  padding-bottom: 48px;
}
.wp-block-woocommerce-product-variations-fields__heading-description {
  margin: 0;
  padding-bottom: 24px;
}
.wp-block-woocommerce-product-variations-fields__content {
  display: none;
}

.wp-block-woocommerce-product-password-fields__field {
  margin-bottom: 16px;
}

@media (min-width: 782px) {
  .wp-block-woocommerce-product-variation-items-field {
    min-height: 420px;
  }
}

.variation-items-product-tour .tour-kit-spotlight {
  border-radius: 8px;
  padding: 24px;
}
.variation-items-product-tour .tour-kit-frame__container,
.variation-items-product-tour .woocommerce-tour-kit-step {
  border-radius: 8px;
}

.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable {
  padding: 0;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable__item:not(:last-child) .woocommerce-list-item {
  border-bottom: 1px solid #e0e0e0;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-list-item {
  background: none;
  border: none;
  padding-right: 0;
  -ms-grid-columns: 26% auto 90px;
  grid-template-columns: 26% auto 90px;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable__handle {
  display: none;
}

.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal {
  min-width: 650px;
  overflow: visible;
}
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal__optional {
  color: #757575;
}
.components-modal__screen-overlay .components-base-control {
  margin-bottom: 16px;
}
.components-modal__screen-overlay .components-base-control__field .components-base-control {
  margin-bottom: 0;
}
.components-modal__screen-overlay .has-error .components-text-control__input {
  border-color: #d63638;
}
.components-modal__screen-overlay .has-error .components-base-control__help {
  color: #d63638;
}

.wp-block-woocommerce-product-toggle__disable-copy {
  margin: 12px 0 0;
  font-size: 12px;
  color: #757575;
  line-height: 1.5;
}
style.css000064400000164173151545121240006432 0ustar00/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.70.0/node_modules/css-loader/dist/cjs.js!../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.12_webpack@5.70.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[0].use[2]!../../../node_modules/.pnpm/sass-loader@10.2.1_sass@1.60.0_webpack@5.70.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./src/style.scss ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Colors
 */
/**
 * Colors
 */
/**
 * SCSS Variables.
 *
 * Please use variables from this sheet to ensure consistency across the UI.
 * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
 * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
 */
/**
 * Colors
 */
/**
 * Fonts & basic variables.
 */
/**
 * Grid System.
 * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
 */
/**
 * Dimensions.
 */
/**
 * Shadows.
 */
/**
 * Editor widths.
 */
/**
 * Block & Editor UI.
 */
/**
 * Block paddings.
 */
/**
 * React Native specific.
 * These variables do not appear to be used anywhere else.
 */
/**
*  Converts a hex value into the rgb equivalent.
*
* @param {string} hex - the hexadecimal value to convert
* @return {string} comma separated rgb values
*/
/**
 * Breakpoint mixins
 */
/**
 * Long content fade mixin
 *
 * Creates a fading overlay to signify that the content is longer
 * than the space allows.
 */
/**
 * Focus styles.
 */
/**
 * Applies editor left position to the selector passed as argument
 */
/**
 * Styles that are reused verbatim in a few places
 */
/**
 * Allows users to opt-out of animations via OS-level preferences.
 */
/**
 * Reset default styles for JavaScript UI based pages.
 * This is a WP-admin agnostic reset
 */
/**
 * Reset the WP Admin page styles for Gutenberg-like pages.
 */
/**
 * Breakpoints & Media Queries
 */
:root {
  --wp-admin-theme-color: #007cba;
  --wp-admin-theme-color--rgb: 0, 124, 186;
  --wp-admin-theme-color-darker-10: #006ba1;
  --wp-admin-theme-color-darker-10--rgb: 0, 107, 161;
  --wp-admin-theme-color-darker-20: #005a87;
  --wp-admin-theme-color-darker-20--rgb: 0, 90, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  :root {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-light {
  --wp-admin-theme-color: #0085ba;
  --wp-admin-theme-color--rgb: 0, 133, 186;
  --wp-admin-theme-color-darker-10: #0073a1;
  --wp-admin-theme-color-darker-10--rgb: 0, 115, 161;
  --wp-admin-theme-color-darker-20: #006187;
  --wp-admin-theme-color-darker-20--rgb: 0, 97, 135;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-light {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-modern {
  --wp-admin-theme-color: #3858e9;
  --wp-admin-theme-color--rgb: 56, 88, 233;
  --wp-admin-theme-color-darker-10: #2145e6;
  --wp-admin-theme-color-darker-10--rgb: 33, 69, 230;
  --wp-admin-theme-color-darker-20: #183ad6;
  --wp-admin-theme-color-darker-20--rgb: 24, 58, 214;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-modern {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-blue {
  --wp-admin-theme-color: #096484;
  --wp-admin-theme-color--rgb: 9, 100, 132;
  --wp-admin-theme-color-darker-10: #07526c;
  --wp-admin-theme-color-darker-10--rgb: 7, 82, 108;
  --wp-admin-theme-color-darker-20: #064054;
  --wp-admin-theme-color-darker-20--rgb: 6, 64, 84;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-blue {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-coffee {
  --wp-admin-theme-color: #46403c;
  --wp-admin-theme-color--rgb: 70, 64, 60;
  --wp-admin-theme-color-darker-10: #383330;
  --wp-admin-theme-color-darker-10--rgb: 56, 51, 48;
  --wp-admin-theme-color-darker-20: #2b2724;
  --wp-admin-theme-color-darker-20--rgb: 43, 39, 36;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-coffee {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ectoplasm {
  --wp-admin-theme-color: #523f6d;
  --wp-admin-theme-color--rgb: 82, 63, 109;
  --wp-admin-theme-color-darker-10: #46365d;
  --wp-admin-theme-color-darker-10--rgb: 70, 54, 93;
  --wp-admin-theme-color-darker-20: #3a2c4d;
  --wp-admin-theme-color-darker-20--rgb: 58, 44, 77;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ectoplasm {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-midnight {
  --wp-admin-theme-color: #e14d43;
  --wp-admin-theme-color--rgb: 225, 77, 67;
  --wp-admin-theme-color-darker-10: #dd382d;
  --wp-admin-theme-color-darker-10--rgb: 221, 56, 45;
  --wp-admin-theme-color-darker-20: #d02c21;
  --wp-admin-theme-color-darker-20--rgb: 208, 44, 33;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-midnight {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-ocean {
  --wp-admin-theme-color: #627c83;
  --wp-admin-theme-color--rgb: 98, 124, 131;
  --wp-admin-theme-color-darker-10: #576e74;
  --wp-admin-theme-color-darker-10--rgb: 87, 110, 116;
  --wp-admin-theme-color-darker-20: #4c6066;
  --wp-admin-theme-color-darker-20--rgb: 76, 96, 102;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-ocean {
    --wp-admin-border-width-focus: 1.5px;
  }
}

body.admin-color-sunrise {
  --wp-admin-theme-color: #dd823b;
  --wp-admin-theme-color--rgb: 221, 130, 59;
  --wp-admin-theme-color-darker-10: #d97426;
  --wp-admin-theme-color-darker-10--rgb: 217, 116, 38;
  --wp-admin-theme-color-darker-20: #c36922;
  --wp-admin-theme-color-darker-20--rgb: 195, 105, 34;
  --wp-admin-border-width-focus: 2px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body.admin-color-sunrise {
    --wp-admin-border-width-focus: 1.5px;
  }
}

/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/**
 * Breakpoint mixins
 */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-enable */
/* Editor */
.components-panel__header.interface-complementary-area-header__small {
  background: #fff;
  padding-right: 4px;
}
.components-panel__header.interface-complementary-area-header__small .interface-complementary-area-header__small-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
@media (min-width: 782px) {
  .components-panel__header.interface-complementary-area-header__small {
    display: none;
  }
}

.interface-complementary-area-header {
  background: #fff;
  padding-right: 4px;
}
.interface-complementary-area-header .components-button.has-icon {
  display: none;
  margin-left: auto;
}
.interface-complementary-area-header .components-button.has-icon ~ .components-button {
  margin-left: 0;
}
@media (min-width: 782px) {
  .interface-complementary-area-header .components-button.has-icon {
    display: flex;
  }
}

@media (min-width: 782px) {
  .components-panel__header + .interface-complementary-area-header {
    margin-top: 0;
  }
}

.interface-complementary-area {
  background: #fff;
  color: #1e1e1e;
}
@media (min-width: 600px) {
  .interface-complementary-area {
    -webkit-overflow-scrolling: touch;
  }
}
@media (min-width: 782px) {
  .interface-complementary-area {
    width: 272px;
  }
}
.interface-complementary-area .components-panel {
  border: none;
  position: relative;
  z-index: 0;
}
.interface-complementary-area .components-panel__header {
  position: sticky;
  top: 0;
  z-index: 1;
}
.interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
  top: 48px;
}
@media (min-width: 782px) {
  .interface-complementary-area .components-panel__header.edit-post-sidebar__panel-tabs {
    top: 0;
  }
}
.interface-complementary-area p {
  margin-top: 0;
}
.interface-complementary-area h2 {
  font-size: 13px;
  color: #1e1e1e;
  margin-bottom: 1.5em;
}
.interface-complementary-area h3 {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
  color: #1e1e1e;
  margin-bottom: 1.5em;
}
.interface-complementary-area hr {
  border-top: none;
  border-bottom: 1px solid #f0f0f0;
  margin: 1.5em 0;
}
.interface-complementary-area div.components-toolbar-group,
.interface-complementary-area div.components-toolbar {
  box-shadow: none;
  margin-bottom: 1.5em;
}
.interface-complementary-area div.components-toolbar-group:last-child,
.interface-complementary-area div.components-toolbar:last-child {
  margin-bottom: 0;
}
.interface-complementary-area .block-editor-skip-to-selected-block:focus {
  top: auto;
  right: 10px;
  bottom: 10px;
  left: auto;
}

@media (min-width: 782px) {
  body.js.is-fullscreen-mode {
    margin-top: -32px;
    height: calc(100% + 32px);
  }
  body.js.is-fullscreen-mode #adminmenumain,
  body.js.is-fullscreen-mode #wpadminbar {
    display: none;
  }
  body.js.is-fullscreen-mode #wpcontent,
  body.js.is-fullscreen-mode #wpfooter {
    margin-left: 0;
  }
}

html.interface-interface-skeleton__html-container {
  position: fixed;
  width: 100%;
}
@media (min-width: 782px) {
  html.interface-interface-skeleton__html-container {
    position: initial;
    width: initial;
  }
}

.interface-interface-skeleton {
  display: flex;
  flex-direction: row;
  height: auto;
  max-height: 100%;
  position: fixed;
  top: 46px;
  left: 0;
  right: 0;
  bottom: 0;
}
@media (min-width: 783px) {
  .interface-interface-skeleton {
    top: 32px;
  }
  .is-fullscreen-mode .interface-interface-skeleton {
    top: 0;
  }
}

.interface-interface-skeleton__editor {
  display: flex;
  flex-direction: column;
  flex: 0 1 100%;
  overflow: hidden;
}

.interface-interface-skeleton { /* Set left position when auto-fold is not on the body element. */
  left: 0;
}
@media (min-width: 783px) {
  .interface-interface-skeleton {
    left: 160px;
  }
}

.auto-fold .interface-interface-skeleton { /* Auto fold is when on smaller breakpoints, nav menu auto collapses. */ }
@media (min-width: 783px) {
  .auto-fold .interface-interface-skeleton {
    left: 36px;
  }
}
@media (min-width: 961px) {
  .auto-fold .interface-interface-skeleton {
    left: 160px;
  }
}

/* Sidebar manually collapsed. */
.folded .interface-interface-skeleton {
  left: 0;
}
@media (min-width: 783px) {
  .folded .interface-interface-skeleton {
    left: 36px;
  }
}

body.is-fullscreen-mode .interface-interface-skeleton {
  left: 0 !important;
}

.interface-interface-skeleton__body {
  flex-grow: 1;
  display: flex;
  overflow: auto;
  overscroll-behavior-y: none;
}
@media (min-width: 782px) {
  .has-footer .interface-interface-skeleton__body {
    padding-bottom: 25px;
  }
}

.interface-interface-skeleton__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  z-index: 20;
}

.interface-interface-skeleton__secondary-sidebar,
.interface-interface-skeleton__sidebar {
  display: block;
  flex-shrink: 0;
  position: absolute;
  z-index: 100000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
  color: #1e1e1e;
}
@media (min-width: 782px) {
  .interface-interface-skeleton__secondary-sidebar,
  .interface-interface-skeleton__sidebar {
    position: relative !important;
    z-index: 90;
    width: auto;
  }
}

.interface-interface-skeleton__sidebar {
  overflow: auto;
}
@media (min-width: 782px) {
  .interface-interface-skeleton__sidebar {
    border-left: 1px solid #e0e0e0;
  }
}

@media (min-width: 782px) {
  .interface-interface-skeleton__secondary-sidebar {
    border-right: 1px solid #e0e0e0;
  }
}

.interface-interface-skeleton__header {
  flex-shrink: 0;
  height: auto;
  border-bottom: 1px solid #e0e0e0;
  z-index: 30;
  color: #1e1e1e;
}

.interface-interface-skeleton__footer {
  height: auto;
  flex-shrink: 0;
  border-top: 1px solid #e0e0e0;
  color: #1e1e1e;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 90;
  display: none;
}
@media (min-width: 782px) {
  .interface-interface-skeleton__footer {
    display: flex;
  }
}
.interface-interface-skeleton__footer .block-editor-block-breadcrumb {
  z-index: 30;
  display: flex;
  background: #fff;
  height: 24px;
  align-items: center;
  font-size: 13px;
  padding: 0 18px;
}

.interface-interface-skeleton__actions {
  z-index: 100000;
  position: fixed !important;
  top: -9999em;
  bottom: auto;
  left: auto;
  right: 0;
  width: 272px;
  color: #1e1e1e;
}
.interface-interface-skeleton__actions:focus {
  top: auto;
  bottom: 0;
}

.interface-more-menu-dropdown {
  margin-left: -4px;
}
.interface-more-menu-dropdown .components-button {
  width: auto;
  padding: 0 2px;
}
@media (min-width: 600px) {
  .interface-more-menu-dropdown {
    margin-left: 0;
  }
  .interface-more-menu-dropdown .components-button {
    padding: 0 4px;
  }
}

.interface-more-menu-dropdown__content .components-popover__content {
  min-width: 280px;
}
@media (min-width: 480px) {
  .interface-more-menu-dropdown__content .components-popover__content {
    width: auto;
    max-width: 480px;
  }
}
.interface-more-menu-dropdown__content .components-popover__content .components-dropdown-menu__menu {
  padding: 0;
}

.components-popover.interface-more-menu-dropdown__content {
  z-index: 99998;
}

.interface-pinned-items {
  display: flex;
}
.interface-pinned-items .components-button:not(:first-child) {
  display: none;
}
@media (min-width: 600px) {
  .interface-pinned-items .components-button:not(:first-child) {
    display: flex;
  }
}
.interface-pinned-items .components-button {
  margin-left: 4px;
}
.interface-pinned-items .components-button svg {
  max-width: 24px;
  max-height: 24px;
}

@media (min-width: 600px) {
  .interface-preferences-modal {
    width: calc(100% - 32px);
    height: calc(100% - 120px);
  }
}
@media (min-width: 782px) {
  .interface-preferences-modal {
    width: 750px;
  }
}
@media (min-width: 960px) {
  .interface-preferences-modal {
    height: 70%;
  }
}
@media (max-width: 781px) {
  .interface-preferences-modal .components-modal__content {
    padding: 0;
  }
  .interface-preferences-modal .components-modal__content::before {
    content: none;
  }
}

.interface-preferences__tabs .components-tab-panel__tabs {
  position: absolute;
  top: 84px;
  left: 16px;
  width: 160px;
}
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item {
  border-radius: 2px;
  font-weight: 400;
}
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item.is-active {
  background: #f0f0f0;
  box-shadow: none;
  font-weight: 500;
}
.interface-preferences__tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus:not(:disabled) {
  box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
}
.interface-preferences__tabs .components-tab-panel__tab-content {
  padding-left: 24px;
  margin-left: 160px;
}

@media (max-width: 781px) {
  .interface-preferences__provider {
    height: 100%;
  }
}
.interface-preferences-modal__section {
  margin: 0 0 2.5rem 0;
}
.interface-preferences-modal__section:last-child {
  margin: 0;
}

.interface-preferences-modal__section-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0;
}

.interface-preferences-modal__section-description {
  margin: -8px 0 8px 0;
  font-size: 12px;
  font-style: normal;
  color: #757575;
}

.interface-preferences-modal__option .components-base-control .components-base-control__field {
  align-items: center;
  display: flex;
  margin-bottom: 0;
}
.interface-preferences-modal__option .components-base-control .components-base-control__field > label {
  flex-grow: 1;
  padding: 0.6rem 0 0.6rem 10px;
}
.interface-preferences-modal__option .components-base-control__help {
  margin: -8px 0 8px 58px;
  font-size: 12px;
  font-style: normal;
  color: #757575;
}

.woocommerce-product-block-editor {
  /*
   * Override default block margins and layout applied for themes without a theme.json file.
   *
   * If we no longer call `is_block_editor( true )` in the future for the product editor,
   * we can remove this.
   *
   * See: `wp_add_editor_classic_theme_styles()`
   */
}
.woocommerce-product-block-editor h1,
.woocommerce-product-block-editor h2,
.woocommerce-product-block-editor h3,
.woocommerce-product-block-editor h4,
.woocommerce-product-block-editor h5,
.woocommerce-product-block-editor h6,
.woocommerce-product-block-editor p,
.woocommerce-product-block-editor button,
.woocommerce-product-block-editor span,
.woocommerce-product-block-editor label,
.woocommerce-product-block-editor div,
.woocommerce-product-block-editor input {
  font-family: var(--wp--preset--font-family--system-font);
}
.woocommerce-product-block-editor h4 {
  font-size: 16px;
}
.woocommerce-product-block-editor label {
  color: #1e1e1e;
}
.woocommerce-product-block-editor a {
  text-decoration: none;
}
.woocommerce-product-block-editor :where(.wp-block) {
  margin-bottom: 0;
  margin-top: 0;
  max-width: unset;
}
.woocommerce-product-block-editor .has-error .components-base-control {
  margin-bottom: 0;
}
.woocommerce-product-block-editor .has-error .components-base-control .components-input-control__backdrop {
  border-color: #d63638;
}
.woocommerce-product-block-editor .has-error .components-base-control__help {
  color: #d63638;
}
.woocommerce-product-block-editor .components-base-control .components-base-control__field {
  margin-bottom: 0;
}
.woocommerce-product-block-editor .components-base-control .components-base-control__help {
  margin-bottom: 0;
}
.woocommerce-product-block-editor .components-toggle-control {
  margin-bottom: 0;
}
.woocommerce-product-block-editor .components-toggle-control .components-form-toggle {
  display: flex;
  align-items: center;
}
.woocommerce-product-block-editor .components-toggle-control .components-toggle-control__label {
  display: flex;
  align-items: center;
}
.woocommerce-product-block-editor .woocommerce-collapsible-content .woocommerce-collapsible-content__content {
  margin-top: 32px;
}
.woocommerce-product-block-editor .components-input-control__input::-moz-placeholder {
  color: #757575;
}
.woocommerce-product-block-editor .components-input-control__input:-ms-input-placeholder {
  color: #757575;
}
.woocommerce-product-block-editor .components-input-control__input::placeholder {
  color: #757575;
}
.woocommerce-product-block-editor .components-input-control__prefix {
  margin-left: 8px;
}
.woocommerce-product-block-editor .components-input-control__suffix {
  margin-right: 8px;
}
.woocommerce-product-block-editor .woocommerce-product-form__custom-label-input {
  display: flex;
  flex-direction: column;
}
.woocommerce-product-block-editor .woocommerce-product-form__custom-label-input label {
  display: block;
  margin-bottom: 8px;
}
.woocommerce-product-block-editor .woocommerce-product-form__optional-input {
  color: #757575;
}
.woocommerce-product-block-editor .wp-block-columns {
  gap: 24px;
  margin-bottom: 0;
}
.woocommerce-product-block-editor .woocommerce-experimental-select-control__label {
  text-transform: uppercase;
  font-size: 11px;
  color: #1e1e1e;
  font-weight: 500;
}
.woocommerce-product-block-editor .block-editor-block-list__layout.is-root-container {
  padding-left: 32px;
  padding-right: 32px;
  padding-bottom: 128px;
}
@media (min-width: 783px) {
  .woocommerce-product-block-editor .block-editor-block-list__layout.is-root-container {
    padding-left: 0;
    padding-right: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }
}
.woocommerce-product-block-editor .block-editor-block-list__layout .block-editor-block-list__block:not([contenteditable]):focus:after {
  display: none;
}

.woocommerce-layout:has(.woocommerce-product-block-editor) .woocommerce-layout__primary {
  margin-top: 48px;
}
.woocommerce-layout:has(.woocommerce-product-block-editor) .woocommerce-layout__header {
  display: none;
}

.wp-admin.woocommerce-feature-enabled-product-block-editor .components-modal__frame {
  border-radius: 8px;
}
.wp-admin.woocommerce-feature-enabled-product-block-editor .components-modal__header {
  border: none;
}

/* Structural */
.woocommerce-product-tabs {
  display: flex;
  justify-content: center;
}
.woocommerce-product-tabs .components-button {
  padding: 8px 0 20px 0;
  margin-left: 12px;
  margin-right: 12px;
  border-bottom: 3.5px solid transparent;
  border-radius: 0;
  height: auto;
}
.woocommerce-product-tabs .components-button.is-selected {
  border-color: var(--wp-admin-theme-color);
}

.woocommerce-form-section a {
  text-decoration: none;
}
.woocommerce-form-section__content .components-card {
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow: none;
}
.woocommerce-form-section__content .components-card__body {
  padding: 24px;
}
.woocommerce-form-section__content .components-card__body .components-base-control:not(:first-child):not(.components-radio-control),
.woocommerce-form-section__content .components-card__body .components-dropdown:not(:first-child):not(.components-radio-control),
.woocommerce-form-section__content .components-card__body .woocommerce-rich-text-editor:not(:first-child):not(.components-radio-control) {
  margin-top: 16px;
  margin-bottom: 0;
}
.woocommerce-form-section__content .woocommerce-product-form__field:not(:first-child) {
  margin-top: 24px;
}
.woocommerce-form-section__content .woocommerce-product-form__field:not(:first-child) > .components-base-control {
  margin-bottom: 0;
}
.woocommerce-form-section__content .components-radio-control .components-v-stack {
  gap: 12px;
}
.woocommerce-form-section__content .woocommerce-collapsible-content {
  margin-top: 24px;
}
.woocommerce-form-section__header p > span {
  display: block;
  margin-bottom: 8px;
}
.woocommerce-form-section:not(:first-child) {
  margin-top: 40px;
}

.woocommerce-product-header__inner {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr auto 1fr;
  grid-template-columns: 1fr auto 1fr;
  grid-gap: 16px;
  align-items: center;
  padding: 0 16px;
  height: 60px;
}
@media (max-width: 960px) {
  .woocommerce-product-header__inner {
    -ms-grid-columns: auto 1fr;
    grid-template-columns: auto 1fr;
  }
}
.woocommerce-product-header .woocommerce-product-header__title {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 0;
  color: #000000;
  max-width: 500px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 960px) {
  .woocommerce-product-header .woocommerce-product-header__title {
    display: none;
  }
}
.woocommerce-product-header__actions {
  margin-left: auto;
}
.woocommerce-product-header .woocommerce-product-header__actions {
  display: flex;
}
.woocommerce-product-header .woocommerce-product-header__actions > * + * {
  margin-left: 8px;
}
.woocommerce-product-header .components-dropdown-menu__toggle.is-opened {
  background-color: #1E1E1E;
  color: #fff;
}

.woocommerce-product-header__more-menu .components-popover__content {
  min-width: auto;
  width: -moz-min-content;
  width: min-content;
}

.woocommerce-product-footer {
  width: 100%;
}

.woocommerce-add-new-shipping-class-modal {
  min-width: 650px;
}
.woocommerce-add-new-shipping-class-modal__optional-input {
  color: #757575;
}
.woocommerce-add-new-shipping-class-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.woocommerce-add-new-shipping-class-modal .has-error .components-base-control__help {
  color: #d63638;
}

/* Components */
.woocommerce-content-preview {
  border: 1px solid #ddd;
  max-height: 144px;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}
.woocommerce-content-preview:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 57px;
  width: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 89.5%);
}
.woocommerce-content-preview__iframe {
  width: 100%;
}
.woocommerce-content-preview__content {
  box-sizing: border-box;
  padding: 24px;
}
.woocommerce-content-preview__content > :first-child {
  margin-top: 0;
}
.woocommerce-content-preview__content > * {
  max-width: 100%;
}

.woocommerce-radio-field .components-base-control__label {
  text-transform: none;
  font-weight: 400;
  margin-bottom: 12px;
}
.woocommerce-radio-field .components-base-control__label > span {
  display: block;
  line-height: 1.5;
}
.woocommerce-radio-field__title {
  font-size: 11px;
  font-weight: 500;
  color: #1e1e1e;
  text-transform: uppercase;
}
.woocommerce-radio-field__description {
  font-size: 13px;
  color: #757575;
}
.woocommerce-radio-field .components-base-control__field > .components-v-stack {
  gap: 16px;
}

.woocommerce-product-notice {
  padding: 12px 16px;
}
.woocommerce-product-notice p {
  color: #1e1e1e;
  letter-spacing: 0.24px;
}
.woocommerce-product-notice button {
  letter-spacing: 0.24px;
}
.woocommerce-product-notice.info {
  background-color: #f0f6fc;
}

.woocommerce-iframe-editor {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.woocommerce-iframe-editor__main {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  height: 100%;
  width: 100%;
  overflow: hidden;
  z-index: 1000;
}
.woocommerce-iframe-editor iframe {
  width: 100%;
  height: 100%;
}
.woocommerce-iframe-editor__content {
  box-sizing: border-box;
  flex-grow: 1;
  background-color: #2f2f2f;
  padding: 90px 48px 40px;
  height: 100%;
  justify-content: center;
  display: flex;
  position: relative;
}
.woocommerce-iframe-editor__content-inserter-clipper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background-color: inherit;
  z-index: 100;
}
.woocommerce-iframe-editor__sidebar {
  flex-shrink: 0;
  height: 100%;
  width: 280px;
  overflow: scroll;
}
.woocommerce-iframe-editor .block-editor-block-contextual-toolbar.is-fixed {
  position: absolute;
  left: 0;
  top: 0;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  box-sizing: border-box;
  margin-left: 0px;
  width: 100%;
  min-height: 47px;
}
.woocommerce-iframe-editor .block-editor-block-contextual-toolbar.is-fixed > .block-editor-block-toolbar.is-showing-movers:before {
  display: none;
}
.woocommerce-iframe-editor .block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar__group-expand-fixed-toolbar,
.woocommerce-iframe-editor .block-editor-block-contextual-toolbar.is-fixed .block-editor-block-toolbar__group-collapse-fixed-toolbar {
  display: none;
}

.woocommerce-iframe-editor__header-toolbar {
  height: 60px;
  border: 0;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.woocommerce-iframe-editor__header-toolbar .woocommerce-iframe-editor__header-toolbar-inserter-toggle.components-button.has-icon {
  height: 32px;
  margin-right: 8px;
  min-width: 32px;
  padding: 0;
  width: 32px;
}
.woocommerce-iframe-editor__header-toolbar .woocommerce-iframe-editor__header-toolbar-inserter-toggle.components-button.has-icon svg {
  transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.woocommerce-iframe-editor__header-toolbar .woocommerce-iframe-editor__header-toolbar-inserter-toggle.components-button.has-icon.is-pressed:before {
  width: 100%;
  left: 0;
}
.woocommerce-iframe-editor__header-toolbar .woocommerce-iframe-editor__header-toolbar-inserter-toggle.components-button.has-icon.is-pressed svg {
  transform: rotate(45deg);
}
.woocommerce-iframe-editor__header-toolbar-left {
  padding-left: 12px;
}
.woocommerce-iframe-editor__header-toolbar-right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.woocommerce-iframe-editor__header-toolbar-right > .components-dropdown-menu {
  margin-right: 12px;
  width: 48px;
}
.woocommerce-iframe-editor__header-toolbar-right > .components-dropdown-menu > button.components-dropdown-menu__toggle {
  padding: 8px !important;
  margin-right: -8px;
}
.woocommerce-iframe-editor__header-toolbar-right > .woocommerce-show-block-inspector-panel {
  margin-right: -8px;
}
.woocommerce-iframe-editor__header-toolbar-right button.woocommerce-modal-actions__done-button,
.woocommerce-iframe-editor__header-toolbar-right button.woocommerce-modal-actions__cancel-button {
  height: 32px;
}

.resizable-editor__drag-handle {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: none;
  border: 0;
  border-radius: 2px;
  bottom: 0;
  cursor: ew-resize;
  margin: auto 0;
  outline: none;
  padding: 0;
  position: absolute;
  top: 0;
  width: 12px;
  height: 100px;
}
.resizable-editor__drag-handle.is-left {
  left: -16px;
}
.resizable-editor__drag-handle.is-right {
  right: -16px;
}
.resizable-editor__drag-handle:after {
  background: #949494;
  border-radius: 2px;
  bottom: 24px;
  content: "";
  left: 4px;
  position: absolute;
  right: 0;
  top: 24px;
  width: 4px;
}

.woocommerce-iframe-editor__back-button {
  align-self: flex-start;
  margin-top: 16px;
  margin-bottom: 16px;
  color: white;
}

.woocommerce-iframe-editor__inserter-panel {
  border-right: 1px solid #ccc;
  height: 100%;
}
.woocommerce-iframe-editor__inserter-panel-content {
  height: 100%;
}

.woocommerce-iframe-editor__document-overview-sidebar {
  position: relative;
  width: 350px;
  height: 100%;
  border-right: 1px solid #ccc;
}
.woocommerce-iframe-editor__document-overview-sidebar-close-button {
  position: absolute;
  right: 6px;
  top: 6px;
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-panel {
  height: 100%;
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-panel .components-tab-panel__tabs {
  padding-right: 48px;
  border-bottom: 1px solid #ccc;
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-panel .components-tab-panel__tab-content {
  display: flex;
  flex-direction: column;
  height: calc(100% - 48px);
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-content {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px 6px;
}
.woocommerce-iframe-editor__document-overview-sidebar-tab-content .block-editor-list-view-tree {
  margin: 0;
  width: 100%;
}

.woocommerce-modal-editor {
  width: 100%;
  height: 100%;
  max-height: calc(100% - 40px);
  margin: 20px;
  border-radius: 8px;
}
.woocommerce-modal-editor .components-modal__header {
  height: 60px;
  border-bottom: 1px solid #ccc;
  padding-left: 18px;
  padding-right: 18px;
}
.woocommerce-modal-editor .components-modal__header .components-modal__header-heading {
  font-size: 16px;
  line-height: 24px;
}
.woocommerce-modal-editor .components-modal__content {
  display: flex;
  margin-top: 60px;
  padding: 0;
}
.woocommerce-modal-editor .components-modal__content > div {
  width: 100%;
}

.woocommerce-product-mvp-ces-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 16px 44px;
  gap: 16px;
}
@media (min-width: 783px) {
  .woocommerce-product-mvp-ces-footer {
    padding: 16px 0;
    max-width: 650px;
    margin: 0 auto;
  }
}
.woocommerce-product-mvp-ces-footer .woocommerce-pill {
  background-color: #f5e6b3;
  border: 0;
  font-size: 1em;
}
.woocommerce-product-mvp-ces-footer__close-button {
  padding: 0;
}
.woocommerce-product-mvp-ces-footer__message {
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  white-space: pre-wrap;
}
.woocommerce-product-mvp-ces-footer__message-buttons {
  white-space: nowrap;
}
.woocommerce-product-mvp-ces-footer__message-buttons button.is-link {
  text-decoration: none;
}

.woocommerce-customer-effort-score .components-modal__content > p {
  text-transform: uppercase;
  color: #1e1e1e;
}
.woocommerce-customer-effort-score .components-modal__content > .components-base-control {
  margin-top: 12px;
}
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__additional-thoughts .components-base-control__help,
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__email .components-base-control__help {
  color: #d94f4f;
}
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__additional-thoughts .components-base-control__label,
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__email .components-base-control__label {
  color: #1e1e1e;
  line-height: 16px;
  text-transform: uppercase;
}
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__additional-thoughts .components-base-control__label .woocommerce-product-feedback__optional-input,
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__email .components-base-control__label .woocommerce-product-feedback__optional-input {
  color: #757575;
}
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__additional-thoughts .components-base-control__field > span,
.woocommerce-customer-effort-score .components-modal__content .woocommerce-product-feedback__email .components-base-control__field > span {
  font-size: 12px;
  line-height: 16px;
  color: #757575;
}
.woocommerce-customer-effort-score__selection .components-radio-control__option {
  margin-right: 0;
}
.woocommerce-customer-effort-score__selection .components-radio-control__option label {
  color: #1e1e1e;
  padding: 1em 0;
  width: 8.8em;
  height: 80px;
}
.woocommerce-customer-effort-score__selection .components-radio-control__option label::before {
  margin: 8px 0;
}
.woocommerce-customer-effort-score__selection .components-radio-control__option label:hover {
  box-shadow: 0 0 0 1.5px var(--wp-admin-theme-color);
  border-radius: 2px;
  background-color: #fff;
}
.woocommerce-customer-effort-score__errors > p {
  color: #d94f4f;
}

.woocommerce-product-mvp-feedback-modal {
  width: 600px;
}
.woocommerce-product-mvp-feedback-modal .components-modal__header {
  height: 84px;
}
.woocommerce-product-mvp-feedback-modal .components-modal__header-heading {
  font-weight: 500;
  font-size: 20px;
}
.woocommerce-product-mvp-feedback-modal .components-modal__content {
  margin-top: 84px;
  padding-bottom: 32px;
}
.woocommerce-product-mvp-feedback-modal legend,
.woocommerce-product-mvp-feedback-modal label {
  color: #1e1e1e;
}
.woocommerce-product-mvp-feedback-modal .woocommerce-product-mvp-feedback-modal__optional {
  color: #757575;
}
.woocommerce-product-mvp-feedback-modal legend {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
  padding: 0;
}
.woocommerce-product-mvp-feedback-modal__subtitle {
  margin-top: 8px !important;
}
.woocommerce-product-mvp-feedback-modal__checkboxes {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
}
.woocommerce-product-mvp-feedback-modal__comments {
  margin-top: 2em;
  margin-bottom: 1.5em;
}
.woocommerce-product-mvp-feedback-modal__comments textarea {
  width: 100%;
}
.woocommerce-product-mvp-feedback-modal__reason, .woocommerce-product-mvp-feedback-modal__comments, .woocommerce-product-mvp-feedback-modal__email {
  margin-bottom: 24px;
}

.woocommerce-product-link-edit-modal {
  max-width: 650px;
}
.woocommerce-product-link-edit-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.woocommerce-product-link-edit-modal .woocommerce-product-link-edit-modal__description {
  margin-top: 0;
  margin-bottom: 24px;
}

.woocommerce-product-link-edit-modal {
  max-width: 650px;
}
.woocommerce-product-link-edit-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.woocommerce-product-link-edit-modal .woocommerce-product-link-edit-modal__description {
  margin-top: 0;
  margin-bottom: 24px;
}

.woocommerce-attribute-field {
  width: 100%;
  font-size: 13px;
}
.woocommerce-attribute-field .woocommerce-sortable {
  margin: 0;
}
.woocommerce-attribute-field .woocommerce-sortable__item:not(:first-child) {
  margin-top: -1px;
}
.woocommerce-attribute-field .woocommerce-sortable__item:focus-visible:not(:active) + .woocommerce-sortable__item .woocommerce-attribute-list-item {
  background: none;
  border-top: 0;
}
.woocommerce-attribute-field .woocommerce-add-attribute-list-item__add-button {
  margin-bottom: 16px;
}
.woocommerce-attribute-field__notice.components-notice {
  margin: 0px;
  padding-right: 12px;
}

.woocommerce-edit-attribute-modal {
  overflow: visible;
}
.woocommerce-edit-attribute-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}

.woocommerce-edit-attribute-modal__body {
  width: 500px;
  max-width: 100%;
}
.woocommerce-edit-attribute-modal__body .woocommerce-experimental-select-control + .woocommerce-experimental-select-control {
  margin-top: 1.3em;
}
.woocommerce-edit-attribute-modal__body .woocommerce-experimental-select-control__label,
.woocommerce-edit-attribute-modal__body .components-base-control__label {
  font-size: 14px;
  color: #757575;
  font-weight: bold;
  text-transform: none;
}
.woocommerce-edit-attribute-modal__body .woocommerce-edit-attribute-modal__option-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.woocommerce-edit-attribute-modal__body .woocommerce-edit-attribute-modal__option-container .components-checkbox-control .components-base-control__field {
  margin-bottom: 0;
}
.woocommerce-edit-attribute-modal__body .woocommerce-attribute-term-field {
  margin-bottom: 1.5em;
}
.woocommerce-edit-attribute-modal__body .woocommerce-edit-attribute-modal__helper-text {
  color: #757575;
  margin: 0.5em 0 1.5em 0;
}

.woocommerce-new-attribute-modal {
  min-width: 50%;
}
.woocommerce-new-attribute-modal .components-notice.is-info {
  margin-left: 0;
  margin-right: 0;
  background-color: #f0f6fc;
}
.woocommerce-new-attribute-modal__add-attribute {
  margin-top: 12px;
}
.woocommerce-new-attribute-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.woocommerce-new-attribute-modal .components-modal__content {
  display: flex;
  flex-direction: column;
}
.woocommerce-new-attribute-modal__body {
  min-height: 200px;
  flex: 1 1 auto;
  overflow: auto;
}
.woocommerce-new-attribute-modal__table {
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 782px) {
  .woocommerce-new-attribute-modal__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
}
.woocommerce-new-attribute-modal__table th {
  text-align: left;
  color: #757575;
  font-weight: normal;
  text-transform: uppercase;
}
.woocommerce-new-attribute-modal__table-header {
  padding: 0 0 16px;
}
.woocommerce-new-attribute-modal__table-header, .woocommerce-new-attribute-modal__table-row {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 40% 55% 5%;
  grid-template-columns: 40% 55% 5%;
  border-bottom: 1px solid #ddd;
  align-items: center;
}
.woocommerce-new-attribute-modal__table-row {
  padding: 24px 0;
}
.woocommerce-new-attribute-modal__table-row td:not(:last-child) {
  margin-right: 16px;
}
@media (max-width: 782px) {
  .woocommerce-new-attribute-modal__table-row {
    position: relative;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    padding-right: 42px;
  }
}
@media (min-width: 783px) {
  .woocommerce-new-attribute-modal__table-row .woocommerce-experimental-select-control__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  .woocommerce-new-attribute-modal__table-row .woocommerce-experimental-select-control__combo-box-wrapper {
    margin-bottom: 0;
  }
}
.woocommerce-new-attribute-modal__table-attribute-trash-column {
  display: flex;
  justify-content: center;
}
@media (max-width: 782px) {
  .woocommerce-new-attribute-modal__table-attribute-trash-column {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    align-items: center;
  }
}
.woocommerce-new-attribute-modal__table-attribute-trash-column .components-button.has-icon {
  padding: 8px;
}

.woocommerce-remove-attribute-modal {
  max-width: 650px;
}
.woocommerce-remove-attribute-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}

.woocommerce-attribute-input-field__add-new {
  display: flex;
  align-items: center;
  font-weight: 600;
}
.woocommerce-attribute-input-field__add-new-icon {
  margin-right: 12px;
}

.woocommerce-experimental-select-control__popover-menu-container .woocommerce-experimental-select-control__menu-item[disabled] {
  pointer-events: none;
  color: #949494;
}
.woocommerce-experimental-select-control__popover-menu-container .disabled-element-wrapper {
  cursor: not-allowed;
}

.woocommerce-add-attribute-list-item,
.woocommerce-attribute-list-item {
  min-height: 82px;
  padding: 0 24px;
}
.woocommerce-add-attribute-list-item:last-child,
.woocommerce-attribute-list-item:last-child {
  margin-bottom: -1px;
}

.woocommerce-attribute-list-item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 24px 26% auto 90px;
  grid-template-columns: 24px 26% auto 90px;
}
.woocommerce-attribute-list-item:last-child {
  margin-bottom: -1px;
}
.woocommerce-attribute-list-item__options {
  display: flex;
  flex-direction: row;
  gap: 4px;
}
.woocommerce-attribute-list-item__option-chip {
  padding: 4px 8px;
  gap: 2px;
  background: #f0f0f0;
  border-radius: 2px;
}
.woocommerce-attribute-list-item__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  gap: 8px;
}
.woocommerce-attribute-list-item__actions-tooltip.components-tooltip.components-popover .components-popover__content {
  width: 100%;
  max-width: 150px;
  white-space: normal;
}
.woocommerce-attribute-list-item__actions-icon-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}
.woocommerce-attribute-list-item__actions-icon-wrapper-icon {
  color: #949494;
}
.woocommerce-attribute-list-item__actions-icon-wrapper-help-icon {
  position: absolute;
  right: -2px;
  bottom: 0px;
}

.woocommerce-attribute-term-field__loading-spinner {
  padding: 12px 0;
}
.woocommerce-attribute-term-field__add-new {
  display: flex;
  align-items: center;
  font-weight: 600;
}
.woocommerce-attribute-term-field__add-new-icon {
  margin-right: 12px;
}

.woocommerce-attribute-term-field__add-new {
  display: flex;
  align-items: center;
}

.variations-actions-menu__toogle {
  flex-direction: row-reverse;
}
.variations-actions-menu__toogle > span {
  margin: 0 6px;
}

.woocommerce-hidden-with-help-icon {
  display: flex;
  align-items: center;
  position: relative;
}
.woocommerce-hidden-with-help-icon__hidden-icon {
  color: #949494;
}
.woocommerce-hidden-with-help-icon__help-icon {
  position: absolute;
  right: -2px;
  bottom: 0px;
}

.woocommerce-product-variations {
  display: flex;
  flex-direction: column;
  position: relative;
}
.woocommerce-product-variations__header {
  padding-bottom: 24px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
}
.woocommerce-product-variations__notice {
  border-left: 0px;
  margin: 0 0 24px 0;
}
.woocommerce-product-variations__notice.is-error {
  background-color: #fcf0f1;
}
.woocommerce-product-variations__notice .components-notice__actions {
  margin-top: 12px;
}
.woocommerce-product-variations__notice .components-notice__actions .components-button:first-child {
  margin-left: 0px;
}
.woocommerce-product-variations__table {
  height: 360px;
  overflow: auto;
}
.woocommerce-product-variations__selection {
  margin-left: 4px;
}
.woocommerce-product-variations__selection .components-checkbox-control__input[type=checkbox]:not(:checked):not(:focus) {
  border-color: #949494;
}
.woocommerce-product-variations__filters {
  flex: 1 0 auto;
}
.woocommerce-product-variations__loading {
  display: flex;
  flex-direction: column;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.woocommerce-product-variations__loading .components-spinner {
  width: 40px;
  height: 40px;
}
.woocommerce-product-variations__price {
  text-align: right;
  padding-right: 32px;
}
.woocommerce-product-variations__regular-price--on-sale {
  text-decoration: line-through;
  color: #949494;
  margin-left: 6px;
  word-wrap: normal;
}
.woocommerce-product-variations__status-dot {
  margin-right: 8px;
}
.woocommerce-product-variations__status-dot.green {
  color: #4ab866;
}
.woocommerce-product-variations__status-dot.yellow {
  color: #ffb900;
}
.woocommerce-product-variations__status-dot.red {
  color: #d94f4f;
}
.woocommerce-product-variations__price--fade, .woocommerce-product-variations__quantity--fade {
  opacity: 0.5;
}
.woocommerce-product-variations__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-right: 4px;
}
.woocommerce-product-variations__actions--delete.components-button.components-menu-item__button.is-link {
  text-decoration: none;
}
.woocommerce-product-variations__actions .components-button {
  position: relative;
  color: var(--wp-admin-theme-color);
}
.woocommerce-product-variations__actions .components-button:disabled, .woocommerce-product-variations__actions .components-button[aria-disabled=true] {
  opacity: 1;
}
.woocommerce-product-variations__actions .components-button .components-spinner {
  margin: 4px;
}
.woocommerce-product-variations__actions .components-button.components-dropdown-menu__toggle.has-icon svg {
  fill: inherit;
}
.woocommerce-product-variations__actions .components-button svg {
  fill: none;
}
.woocommerce-product-variations__actions .components-button--visible {
  color: #757575;
}
.woocommerce-product-variations__actions .components-button--hidden {
  color: #d94f4f;
}
.woocommerce-product-variations .woocommerce-list-item {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 44px auto 25% 25% 88px;
  grid-template-columns: 44px auto 25% 25% 88px;
  padding: 0;
  min-height: 72px;
  border: none;
}
.woocommerce-product-variations .woocommerce-sortable {
  margin: 0;
  flex: 1 0 auto;
}
.woocommerce-product-variations .woocommerce-sortable__item:not(:last-child) .woocommerce-list-item {
  border-bottom: 1px solid #e0e0e0;
}
.woocommerce-product-variations .woocommerce-sortable__handle {
  display: none;
}
.woocommerce-product-variations__footer {
  padding: 16px 0;
  justify-content: space-between;
}

.woocommerce-create-new-tag-modal {
  min-width: 650px;
  overflow: visible;
}
.woocommerce-create-new-tag-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}

.woocommerce-tag-field-dropdown .woocommerce-experimental-select-control__input {
  height: auto;
}
.woocommerce-tag-field-dropdown .woocommerce-experimental-select-control__combo-box-wrapper {
  border-color: #757575;
}
.woocommerce-tag-field-dropdown__menu {
  padding: 0 12px;
  max-height: 300px;
  overflow-y: scroll;
}
.woocommerce-tag-field-dropdown__menu > .woocommerce-tag-field-dropdown__item:not(:first-child) > .woocommerce-tag-field-dropdown__item-content {
  border-top: 1px solid #e0e0e0;
}
.woocommerce-tag-field-dropdown__item {
  margin-bottom: 0;
}
.woocommerce-tag-field-dropdown__item .woocommerce-tag-field-dropdown__item-content .components-base-control {
  margin-top: 0;
}
.woocommerce-tag-field-dropdown__item.is-new .tag-field-dropdown__toggle {
  margin-right: 8px;
}
.woocommerce-tag-field-dropdown__item-content {
  height: 48px;
  padding: 8px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  cursor: pointer;
}
.woocommerce-tag-field-dropdown__item-content .components-base-control__field {
  margin-bottom: 0;
}
.woocommerce-tag-field-dropdown__item-children {
  margin-left: 36px;
  display: none;
}
.woocommerce-tag-field-dropdown__item-open {
  display: block;
}
.woocommerce-tag-field-dropdown__toggle {
  margin-right: 8px;
  cursor: pointer;
}
.woocommerce-tag-field-dropdown__toggle-placeholder {
  width: 28px;
}

.woocommerce-tag-field-dropdown__item.item_highlighted > .woocommerce-tag-field-dropdown__item-content {
  font-weight: bold;
}

.woocommerce-experimental-select-control__combox-box-icon {
  box-sizing: unset;
}

/* Field Blocks */
.wp-block-woocommerce-product-attributes-field .woocommerce-sortable {
  padding: 0;
}
.wp-block-woocommerce-product-attributes-field .woocommerce-list-item {
  background: none;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding-left: 0;
  -ms-grid-columns: 26% auto 90px;
  grid-template-columns: 26% auto 90px;
}
.wp-block-woocommerce-product-attributes-field .woocommerce-sortable__handle {
  display: none;
}

.woocommerce-product-form__checkbox .components-base-control__field,
.woocommerce-product-form__checkbox .components-checkbox-control__label, .woocommerce-product-form__checkbox-wrapper, .woocommerce-product-form__checkbox-tooltip-icon {
  display: flex;
  align-items: center;
}
.woocommerce-product-form__checkbox .components-base-control__field {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.woocommerce-product-form__checkbox .components-checkbox-control__label {
  margin-bottom: 0;
}

.woocommerce-product-form__checkbox-wrapper {
  gap: 4px;
}

.woocommerce-product-form__checkbox-tooltip .components-popover__content {
  width: 200px;
  min-width: auto;
  white-space: normal !important;
}

.wp-block-woocommerce-product-images-field .woocommerce-media-uploader {
  text-align: left;
}
.wp-block-woocommerce-product-images-field .woocommerce-media-uploader__label {
  display: none;
}
.wp-block-woocommerce-product-images-field .woocommerce-sortable {
  margin-top: 0;
  padding: 0;
}
.wp-block-woocommerce-product-images-field.has-images .woocommerce-image-gallery {
  margin-top: 40px;
}
.wp-block-woocommerce-product-images-field:not(.has-images) .woocommerce-sortable {
  display: none;
}

.wp-block-woocommerce-product-inventory-email-field {
  margin-top: 24px;
}

.woocommerce-product-form_inventory-sku .components-base-control__label {
  display: flex;
  align-items: center;
}
.woocommerce-product-form_inventory-sku .woocommerce-product-form__optional-input {
  margin-left: 4px;
}
.woocommerce-product-form_inventory-sku .woocommerce-tooltip__button {
  padding: 0 0 0 4px;
}

.product-details-section__product-link {
  color: #757575;
  font-size: 12px;
  display: block;
  margin-top: 8px;
}
.product-details-section__product-link > a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.product-details-section__product-link .components-button.is-link {
  font-size: 12px;
  text-decoration: none;
  margin-left: 8px;
}

.woocommerce-product-form__required-input {
  color: #CC1818;
}

.wp-block-woocommerce-product-name-field .has-error .components-base-control .components-input-control__backdrop {
  border-color: #d63638;
}
.wp-block-woocommerce-product-name-field .has-error .components-base-control__help {
  color: #d63638;
}

.woocommerce-product-notice {
  margin-top: 64px;
}
.woocommerce-product-notice button {
  pointer-events: all;
  cursor: pointer;
}

.components-currency-control .components-input-control__prefix {
  color: #757575;
}
.components-currency-control .components-input-control__input {
  text-align: right;
}

.wp-block-woocommerce-product-regular-price-field .components-currency-control .components-input-control__prefix {
  color: #757575;
}
.wp-block-woocommerce-product-regular-price-field .components-currency-control .components-input-control__input {
  text-align: right;
}

.wp-block-woocommerce-product-sale-price-field .components-currency-control .components-input-control__prefix {
  color: #757575;
}
.wp-block-woocommerce-product-sale-price-field .components-currency-control .components-input-control__input {
  text-align: right;
}

.wp-block-woocommerce-product-schedule-sale-fields__content {
  margin-top: 24px;
}

.wp-block-woocommerce-product-section {
  margin: 48px 0 0;
  padding: 0 0 48px;
  border-bottom: 1px solid #ddd;
}
.wp-block-woocommerce-product-section:first-child {
  margin-top: 64px;
}
.wp-block-woocommerce-product-section:last-child {
  border-bottom: none;
}
.wp-block-woocommerce-product-section__heading {
  padding: 0;
  margin: 0 0 32px 0;
  width: 100%;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: #1e1e1e;
  display: inline-flex;
  align-items: center;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title .block-editor-block-icon {
  margin-right: 14px;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-title .block-editor-block-icon > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.wp-block-woocommerce-product-section__heading .wp-block-woocommerce-product-section__heading-description {
  margin: 12px 0 0;
  font-size: 13px;
  color: #757575;
  line-height: 1.5;
}
.wp-block-woocommerce-product-section__content--block-gap-unit-30 > * + * {
  margin-top: 24px;
}
.wp-block-woocommerce-product-section__content--block-gap-unit-40 > * + * {
  margin-top: 32px;
}
.wp-block-woocommerce-product-section__content .wp-block-woocommerce-product-section {
  margin-top: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control {
  margin-bottom: 16px;
}
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control__field .components-base-control__label > span {
  color: #757575;
}
.wp-block-woocommerce-product-shipping-dimensions-fields .components-base-control__field .components-input-control__suffix {
  flex-shrink: 0;
  color: #757575;
}
.wp-block-woocommerce-product-shipping-dimensions-fields__dimensions-image {
  width: 100%;
  height: 100%;
  padding: 16px;
  overflow: visible;
}

.wp-block-woocommerce-product-summary-field-wrapper .wp-block-woocommerce-product-summary-field {
  margin-top: 0;
  margin-bottom: 0;
}

.components-summary-control {
  width: 100%;
  min-height: 108px;
  background-color: #fff;
  box-sizing: border-box;
  border: 1px solid #757575;
  border-radius: 2px;
  padding: 8px;
  margin: 0;
  -webkit-appearance: textarea;
     -moz-appearance: textarea;
          appearance: textarea;
  resize: vertical;
  overflow: hidden;
}
.components-summary-control.rich-text [data-rich-text-placeholder]:after {
  color: #757575;
  opacity: 1;
}
.components-summary-control:focus {
  box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color-darker-10, --wp-admin-theme-color);
  border-color: var(--wp-admin-theme-color-darker-10, --wp-admin-theme-color);
}

.has-text-align-justify {
  /*rtl:ignore*/
  text-align: justify;
}

.wp-block-woocommerce-product-tab__content:not(.is-selected) {
  display: none;
}

.woocommerce-product-tabs .wp-block-woocommerce-product-tab__button:focus:not(:disabled) {
  box-shadow: none;
}

.wp-block-woocommerce-product-tab:after {
  display: none;
}

.wp-block-woocommerce-product-variations-fields {
  margin-top: 64px;
}
.wp-block-woocommerce-product-variations-fields--has-attributes .wp-block-woocommerce-product-variations-fields__heading {
  display: none;
}
.wp-block-woocommerce-product-variations-fields--has-attributes .wp-block-woocommerce-product-variations-fields__content {
  display: block;
}
.wp-block-woocommerce-product-variations-fields__heading {
  text-align: center;
}
.wp-block-woocommerce-product-variations-fields__heading-image-container {
  padding-top: 48px;
  padding-bottom: 48px;
}
.wp-block-woocommerce-product-variations-fields__heading-description {
  margin: 0;
  padding-bottom: 24px;
}
.wp-block-woocommerce-product-variations-fields__content {
  display: none;
}

.wp-block-woocommerce-product-password-fields__field {
  margin-bottom: 16px;
}

@media (min-width: 782px) {
  .wp-block-woocommerce-product-variation-items-field {
    min-height: 420px;
  }
}

.variation-items-product-tour .tour-kit-spotlight {
  border-radius: 8px;
  padding: 24px;
}
.variation-items-product-tour .tour-kit-frame__container,
.variation-items-product-tour .woocommerce-tour-kit-step {
  border-radius: 8px;
}

.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable {
  padding: 0;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable__item:not(:last-child) .woocommerce-list-item {
  border-bottom: 1px solid #e0e0e0;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-list-item {
  background: none;
  border: none;
  padding-left: 0;
  -ms-grid-columns: 26% auto 90px;
  grid-template-columns: 26% auto 90px;
}
.wp-block-woocommerce-product-variations-options-field .woocommerce-sortable__handle {
  display: none;
}

.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal {
  min-width: 650px;
  overflow: visible;
}
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal__buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
}
.components-modal__screen-overlay .woocommerce-create-new-taxonomy-modal__optional {
  color: #757575;
}
.components-modal__screen-overlay .components-base-control {
  margin-bottom: 16px;
}
.components-modal__screen-overlay .components-base-control__field .components-base-control {
  margin-bottom: 0;
}
.components-modal__screen-overlay .has-error .components-text-control__input {
  border-color: #d63638;
}
.components-modal__screen-overlay .has-error .components-base-control__help {
  color: #d63638;
}

.wp-block-woocommerce-product-toggle__disable-copy {
  margin: 12px 0 0;
  font-size: 12px;
  color: #757575;
  line-height: 1.5;
}