Version Description
- May 24, 2022 =
- WordPress 6.0 compatibility. The new WordPress version will be released soon. The Ecwid ecommerce shopping cart plugin is ready for the new release everything works well in your WordPress admin and storefront pages. Feel free to upgrade your site to WordPress 6.0.
- Minor fixes for Gutenberg ecommerce blocks.
Download this release
Release Info
Developer | Ecwid |
Plugin | Ecwid Ecommerce Shopping Cart |
Version | 6.10.21 |
Comparing to | |
See all releases |
Code changes from version 6.10.20 to 6.10.21
- css/gutenberg/blocks.editor.build.css +3 -3
- ecwid-shopping-cart.php +1 -1
- includes/gutenberg/class-ecwid-gutenberg.php +3 -3
- js/gutenberg/blocks.build.js +1 -1
- readme.txt +6 -2
- templates/admin/developers.php +14 -14
css/gutenberg/blocks.editor.build.css
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
.components-toolbar__control.components-button:not(:disabled).is-pressed>svg rect{fill:white}.components-toolbar div:first-child .components-button.components-button.ecwid-toolbar-icon{padding-left:6px}.components-toolbar div:last-child .components-button.components-button.ecwid-toolbar-icon{padding-right:6px}.components-toolbar div>.components-button.components-button.ecwid-toolbar-icon{padding:0}.block-editor-block-icon.has-colors svg.ec-store-icon-color{color:#0087cd}.ecwid-store-block-icon{background:url("../images/wordpress_20x20.svg");background-size:contain;width:20px;height:20px;margin-bottom:3px}.ecwid-store-block{position:relative}.ecwid-store-block-button{font-family:Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;position:relative;top:135px;font-size:14px}.ecwid-product-block-icon{background:url("../images/gutenberg-block-product.svg");background-size:contain;width:20px;height:20px;margin-bottom:3px}.ecwid-block{text-align:center;font-size:13px;font-family:'Open Sans';padding:1em;background-color:#f8f9f9;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:220px}.ecwid-block>div{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.ecwid-block .ecwid-block-header{font-weight:600;margin-bottom:1em}.ecwid-block .ecwid-block-header svg{max-height:20px;margin-right:1ch}.ecwid-block .ecwid-store-block-icon,.ecwid-block .ecwid-product-block-icon{margin-right:10px}.ecwid-block .ecwid-block-image{height:90px;background-repeat:no-repeat;background-size:contain;background-position:50% 50%}.ecwid-block .ecwid-block-image img{width:auto;max-height:100%;-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.1);box-shadow:0 2px 5px 0 rgba(0,0,0,0.1)}.ecwid-block .ecwid-block-title{margin-top:11px;margin-bottom:1em}.ecwid-block .ecwid-block-button{font-weight:400}.ecwid-selected-product{font-family:Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif}.ecwid-selected-product>div{display:table-cell}.ecwid-selected-product .ecwid-selected-product-image img{-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.1);box-shadow:0 2px 5px 0 rgba(0,0,0,0.1)}.ecwid-selected-product .ecwid-selected-product-image{padding-right:25px;vertical-align:top}.ecwid-selected-product .ecwid-selected-product-details{vertical-align:middle}.ecwid-selected-product .ecwid-selected-product-name{font-size:20px;font-weight:600;margin-bottom:0.5em}.ecwid-selected-product .ecwid-selected-product-sku{font-size:16px;margin-bottom:1em}.media-frame-content.has-selected-product form,.media-frame-content.has-selected-product .products,.media-frame-content.has-selected-product .tablenav{display:none}#ecwid-product-popup-content .media-frame-content.ecwid-selected-product{padding-left:20px;padding-top:40px}.ecwid-store-block-icon{background:url("../images/wordpress_20x20.svg");background-size:contain;width:20px;height:20px;margin-bottom:3px}.ecwid-store-block{position:relative}.ecwid-store-block-button{font-family:Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;position:relative;top:135px;font-size:14px}.ecwid-product-block-icon{background:url("../../images/gutenberg-block-product.svg");background-size:contain;width:20px;height:20px;margin-bottom:3px}.ec-store-block{text-align:center;font-size:13px;font-family:'Open Sans';padding:1em;background-color:#ffffff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:220px}.ec-store-block-product{background:none;display:inline-block}.ec-store-block-product svg{margin:auto}.ec-store-product-title{font-weight:600;font-size:14px;color:#555;margin-top:5px}.ec-store-block>div{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.ec-store-block .ec-store-block-header{font-weight:600;margin-bottom:1em;line-height:24px}.ec-store-block .ec-store-block-header svg{max-height:24px;margin-right:1ch}.ec-store-block .ec-store-block-subheader{font-size:16px;font-weight:bold;line-height:24px;letter-spacing:-.1px;margin:16px 0 0}.ec-store-block .ec-store-block-subheader:first-child{margin-top:0}.ec-store-block .ec-store-store-block-icon,.ec-store-block .ec-store-product-block-icon{margin-right:10px}.ec-store-block .ec-store-block-image{max-height:149px;background-repeat:no-repeat;background-size:contain;background-position:50% 50%}.ec-store-block .ec-store-block-image img{width:auto;max-height:100%;-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.1);box-shadow:0 2px 5px 0 rgba(0,0,0,0.1);-o-object-fit:cover;object-fit:cover}.ec-store-block-product .ec-store-block-image,.ec-store-block-product .ec-store-block-product-preview{height:180px;min-width:180px}.ec-store-block-product .ec-store-block-product-preview{border:1px solid rgba(145,151,162,0.25)}.ec-store-block-minicart{min-height:180px;min-width:180px;display:inline-block;background:none;position:relative}.ec-store-block-minicart .image{background:url("../../images/gutenberg/minicart-widget-preview.png") 50% 50% no-repeat;background-size:50%;position:absolute;left:0;top:0;right:0;bottom:0}.ec-store-block .ec-store-block-title{margin-top:11px;margin-bottom:1em}.ec-store-block .ec-store-block-button{font-weight:400;margin-top:11px}.ec-store-block>.ec-store-products{display:block}.ec-store-products .ec-store-product-block{width:130px;margin:15px;display:inline-block}.ec-store-products .ec-store-product-block .ec-store-product{width:130px;height:130px;background-size:100% 100%}.ec-store-products .ec-store-product-block .ec-store-stub-sample{width:130px;height:40px;margin:0;background:url("../../images/gutenberg/stub-sample.png") no-repeat;background-position:center}.ec-store-products .ec-store-product-block.ec-store-product-filter{vertical-align:top}.ec-store-products .ec-store-product-block.ec-store-product-filter .ec-store-stub-sample{height:130px;background:url("../../images/gutenberg/stub-filter.png") no-repeat;background-size:contain}.ec-store-product1{background:url("../../images/gutenberg/store1.png")}.ec-store-product2{background:url("../../images/gutenberg/store2.png")}.ec-store-product3{background:url("../../images/gutenberg/store3.png")}.ec-store-product4{background:url("../../images/gutenberg/store4.png")}.ec-store-product5{background:url("../../images/gutenberg/store5.png")}.ec-store-product6{background:url("../../images/gutenberg/store6.png")}.ec-store-product-y_sneaker{background:url("../../images/gutenberg/y_sneaker.png")}.ec-store-product-y_shirt{background:url("../../images/gutenberg/y_shirt.png")}.ec-store-product-y_watch{background:url("../../images/gutenberg/y_watch.png")}.ec-store-product-y_bag{background:url("../../images/gutenberg/y_bag.png")}.ec-store-product-y_hat{background:url("../../images/gutenberg/y_hat.png")}.ec-store-product-g_sneaker{background:url("../../images/gutenberg/g_sneaker.png")}.ec-store-product-g_shirt{background:url("../../images/gutenberg/g_shirt.png")}.ec-store-product-g_watch{background:url("../../images/gutenberg/g_watch.png")}.ec-store-product-g_bag{background:url("../../images/gutenberg/g_bag.png")}.ec-store-product-g_hat{background:url("../../images/gutenberg/g_hat.png")}.ec-store-product-p_sneaker{background:url("../../images/gutenberg/p_sneaker.png")}.ec-store-product-p_shirt{background:url("../../images/gutenberg/p_shirt.png")}.ec-store-product-b_hat{background:url("../../images/gutenberg/b_hat.png")}.ec-store-product-b_watch{background:url("../../images/gutenberg/b_watch.png")}.ec-store-product-m_sneaker{background:url("../../images/gutenberg/m_sneaker.png")}.ec-store-category-shirt{background:url("../../images/gutenberg/categories1.png")}.ec-store-category-sneaker{background:url("../../images/gutenberg/categories2.png")}.ec-store-category-bag{background:url("../../images/gutenberg/categories4.png")}.ec-store-category-hat{background:url("../../images/gutenberg/categories3.png")}.ec-store-category-watch{background:url("../../images/gutenberg/categories5.png")}.ec-store-category-glasses{background:url("../../images/gutenberg/categories6.png")}.ec-store-color-picker .component-color-indicator{vertical-align:text-bottom}.ec-store-color-picker .components-color-palette{margin-top:.6rem}.ec-store-color-picker select{margin:6px 0 10px}.ec-store-inspector-subheader-row{margin-bottom:20px}.ec-store-inspector-row{-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:15px 0}.ec-store-inspector-row label,.ec-store-inspector-row button{display:block}.ec-store-inspector-subheader{color:#191e23;font-weight:600;cursor:default}.ec-store-inspector-select{max-width:100%}.ec-store-control-select{width:100%}.ec-store-inspector-button-group{display:block}.ec-store-generic-block>div{display:block}.ec-store-block .ec-store-block-header{font-weight:600;margin-bottom:24px;line-height:24px;display:-ms-flexbox;display:flex;color:#979797}.ec-store-block .ec-store-block-header svg{max-height:20px;margin-right:.5ch;fill:#979797}.ec-store-generic-block,.ec-store-block-categories{-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,0.2);box-shadow:0 2px 4px 0 rgba(0,0,0,0.2)}.ec-store-inspector-radio .components-radio-control__option,.ec-store-inspector-radio .components-radio-control__option input,.ec-store-inspector-radio .components-radio-control__option label{display:-ms-flexbox;display:flex;min-width:20px}.ec-store-inspector-radio .components-base-control__field>label{margin-bottom:12px}.ec-store-inspector-radio .components-radio-control__option label{margin-top:-2px}.ec-store-inspector-radio__title{font-weight:600}.ec-store-categories{background-size:contain}.ec-store-categories-category1{background:url("../../images/gutenberg/categories1.png")}.ec-store-categories-category2{background:url("../../images/gutenberg/categories2.png")}.ec-store-categories-category3{background:url("../../images/gutenberg/categories3.png")}.ec-store-categories-category4{background:url("../../images/gutenberg/categories4.png")}.block-editor-inserter__preview-container .ec-store-products>div,.block-editor-inserter__preview-container .ec-store-category-products>div{margin:5px}.block-editor-inserter__panel-header .ec-store-icon{width:18px;height:18px;margin-bottom:1px}
|
2 |
.wp-block-cgb-block-my-block2{background:#bada55;border:0.2rem solid #292929;color:#292929;margin:0 auto;max-width:740px;padding:2rem}.ec-store-products .ec-store-product-block.ec-store-product-block-small{width:149px}.ec-store-products .ec-store-product-block.ec-store-product-block-small .ec-store-product{width:149px;height:149px}.ec-store-products .ec-store-product-block.ec-store-product-block-small .ec-store-stub-sample{width:149px}
|
3 |
-
.ec-store-block-cart-page .ec-store-block-buynow-preview{max-width:
|
4 |
.ec-store-block-search{min-width:334px;min-height:40px;display:inline-block;background:none;position:relative}.ec-store-block-search .image{background:url("../../images/gutenberg/search-preview.png") 50% 50% no-repeat;background-size:334px 40px;position:absolute;left:0;top:0;right:0;bottom:0}
|
5 |
.ec-store-block-categories{height:50px;min-height:50px}.ec-store-block-categories .ec-store-block-header{margin-bottom:0;font-weight:bold}.ec-store-block-categories .ec-store-block-header>div{height:28px}.ec-store-block-categories .ec-store-block-header .ec-store-categories-menu{width:368px;height:8px;display:inline-block;margin:auto 0 auto 44px}
|
6 |
.ec-store-block-minicart{min-height:66px;min-width:210px;display:inline-block;background:none;position:relative}.ec-store-block-minicart .image{background:url("../../images/gutenberg/minicart-preview.png") 50% 50% no-repeat;background-size:100%;position:absolute;left:0;top:0;right:0;bottom:0}
|
7 |
.ec-store-block>.ec-store-category{display:block}.ec-store-category-products>div{width:130px;height:130px;margin:15px;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #e2e4e7;background-size:100% 100%}.ec-store-category-product1{background:url("../../images/gutenberg/category1.png")}.ec-store-category-product2{background:url("../../images/gutenberg/category2.png")}.ec-store-category-product3{background:url("../../images/gutenberg/category3.png")}.ec-store-category-product4{background:url("../../images/gutenberg/category4.png")}.ec-store-category-product5{background:url("../../images/gutenberg/category5.png")}.ec-store-category-product6{background:url("../../images/gutenberg/category6.png")}
|
8 |
-
.ec-store-
|
9 |
.ec-store-block-filters-page .ec-store-products .ec-store-product-block.ec-store-product-filter .ec-store-stub-sample{min-height:160px;height:160px;background:url("../../images/gutenberg/search-filters-stub.png") no-repeat;background-size:contain}
|
10 |
-
.ec-store-block-cart-page img{padding:0 1em 2em}
|
1 |
.components-toolbar__control.components-button:not(:disabled).is-pressed>svg rect{fill:white}.components-toolbar div:first-child .components-button.components-button.ecwid-toolbar-icon{padding-left:6px}.components-toolbar div:last-child .components-button.components-button.ecwid-toolbar-icon{padding-right:6px}.components-toolbar div>.components-button.components-button.ecwid-toolbar-icon{padding:0}.block-editor-block-icon.has-colors svg.ec-store-icon-color{color:#0087cd}.ecwid-store-block-icon{background:url("../images/wordpress_20x20.svg");background-size:contain;width:20px;height:20px;margin-bottom:3px}.ecwid-store-block{position:relative}.ecwid-store-block-button{font-family:Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;position:relative;top:135px;font-size:14px}.ecwid-product-block-icon{background:url("../images/gutenberg-block-product.svg");background-size:contain;width:20px;height:20px;margin-bottom:3px}.ecwid-block{text-align:center;font-size:13px;font-family:'Open Sans';padding:1em;background-color:#f8f9f9;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:220px}.ecwid-block>div{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.ecwid-block .ecwid-block-header{font-weight:600;margin-bottom:1em}.ecwid-block .ecwid-block-header svg{max-height:20px;margin-right:1ch}.ecwid-block .ecwid-store-block-icon,.ecwid-block .ecwid-product-block-icon{margin-right:10px}.ecwid-block .ecwid-block-image{height:90px;background-repeat:no-repeat;background-size:contain;background-position:50% 50%}.ecwid-block .ecwid-block-image img{width:auto;max-height:100%;-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.1);box-shadow:0 2px 5px 0 rgba(0,0,0,0.1)}.ecwid-block .ecwid-block-title{margin-top:11px;margin-bottom:1em}.ecwid-block .ecwid-block-button{font-weight:400}.ecwid-selected-product{font-family:Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif}.ecwid-selected-product>div{display:table-cell}.ecwid-selected-product .ecwid-selected-product-image img{-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.1);box-shadow:0 2px 5px 0 rgba(0,0,0,0.1)}.ecwid-selected-product .ecwid-selected-product-image{padding-right:25px;vertical-align:top}.ecwid-selected-product .ecwid-selected-product-details{vertical-align:middle}.ecwid-selected-product .ecwid-selected-product-name{font-size:20px;font-weight:600;margin-bottom:0.5em}.ecwid-selected-product .ecwid-selected-product-sku{font-size:16px;margin-bottom:1em}.media-frame-content.has-selected-product form,.media-frame-content.has-selected-product .products,.media-frame-content.has-selected-product .tablenav{display:none}#ecwid-product-popup-content .media-frame-content.ecwid-selected-product{padding-left:20px;padding-top:40px}.ecwid-store-block-icon{background:url("../images/wordpress_20x20.svg");background-size:contain;width:20px;height:20px;margin-bottom:3px}.ecwid-store-block{position:relative}.ecwid-store-block-button{font-family:Open Sans, Trebuchet MS, Helvetica, Verdana, sans-serif;position:relative;top:135px;font-size:14px}.ecwid-product-block-icon{background:url("../../images/gutenberg-block-product.svg");background-size:contain;width:20px;height:20px;margin-bottom:3px}.ec-store-block{text-align:center;font-size:13px;font-family:'Open Sans';padding:1em;background-color:#ffffff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;min-height:220px}.ec-store-block-product{background:none;display:inline-block}.ec-store-block-product svg{margin:auto}.ec-store-product-title{font-weight:600;font-size:14px;color:#555;margin-top:5px}.ec-store-block>div{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}.ec-store-block .ec-store-block-header{font-weight:600;margin-bottom:1em;line-height:24px}.ec-store-block .ec-store-block-header svg{max-height:24px;margin-right:1ch}.ec-store-block .ec-store-block-subheader{font-size:16px;font-weight:bold;line-height:24px;letter-spacing:-.1px;margin:16px 0 0}.ec-store-block .ec-store-block-subheader:first-child{margin-top:0}.ec-store-block .ec-store-store-block-icon,.ec-store-block .ec-store-product-block-icon{margin-right:10px}.ec-store-block .ec-store-block-image{max-height:149px;background-repeat:no-repeat;background-size:contain;background-position:50% 50%}.ec-store-block .ec-store-block-image img{width:auto;max-height:100%;-webkit-box-shadow:0 2px 5px 0 rgba(0,0,0,0.1);box-shadow:0 2px 5px 0 rgba(0,0,0,0.1);-o-object-fit:cover;object-fit:cover}.ec-store-block-product .ec-store-block-image,.ec-store-block-product .ec-store-block-product-preview{height:180px;min-width:180px}.ec-store-block-product .ec-store-block-product-preview{border:1px solid rgba(145,151,162,0.25)}.ec-store-block-minicart{min-height:180px;min-width:180px;display:inline-block;background:none;position:relative}.ec-store-block-minicart .image{background:url("../../images/gutenberg/minicart-widget-preview.png") 50% 50% no-repeat;background-size:50%;position:absolute;left:0;top:0;right:0;bottom:0}.ec-store-block .ec-store-block-title{margin-top:11px;margin-bottom:1em}.ec-store-block .ec-store-block-button{font-weight:400;margin-top:11px}.ec-store-block>.ec-store-products{display:block}.ec-store-products .ec-store-product-block{width:130px;margin:15px;display:inline-block}.ec-store-products .ec-store-product-block .ec-store-product{width:130px;height:130px;background-size:100% 100%}.ec-store-products .ec-store-product-block .ec-store-stub-sample{width:130px;height:40px;margin:0;background:url("../../images/gutenberg/stub-sample.png") no-repeat;background-position:center}.ec-store-products .ec-store-product-block.ec-store-product-filter{vertical-align:top}.ec-store-products .ec-store-product-block.ec-store-product-filter .ec-store-stub-sample{height:130px;background:url("../../images/gutenberg/stub-filter.png") no-repeat;background-size:contain}.ec-store-product1{background:url("../../images/gutenberg/store1.png")}.ec-store-product2{background:url("../../images/gutenberg/store2.png")}.ec-store-product3{background:url("../../images/gutenberg/store3.png")}.ec-store-product4{background:url("../../images/gutenberg/store4.png")}.ec-store-product5{background:url("../../images/gutenberg/store5.png")}.ec-store-product6{background:url("../../images/gutenberg/store6.png")}.ec-store-product-y_sneaker{background:url("../../images/gutenberg/y_sneaker.png")}.ec-store-product-y_shirt{background:url("../../images/gutenberg/y_shirt.png")}.ec-store-product-y_watch{background:url("../../images/gutenberg/y_watch.png")}.ec-store-product-y_bag{background:url("../../images/gutenberg/y_bag.png")}.ec-store-product-y_hat{background:url("../../images/gutenberg/y_hat.png")}.ec-store-product-g_sneaker{background:url("../../images/gutenberg/g_sneaker.png")}.ec-store-product-g_shirt{background:url("../../images/gutenberg/g_shirt.png")}.ec-store-product-g_watch{background:url("../../images/gutenberg/g_watch.png")}.ec-store-product-g_bag{background:url("../../images/gutenberg/g_bag.png")}.ec-store-product-g_hat{background:url("../../images/gutenberg/g_hat.png")}.ec-store-product-p_sneaker{background:url("../../images/gutenberg/p_sneaker.png")}.ec-store-product-p_shirt{background:url("../../images/gutenberg/p_shirt.png")}.ec-store-product-b_hat{background:url("../../images/gutenberg/b_hat.png")}.ec-store-product-b_watch{background:url("../../images/gutenberg/b_watch.png")}.ec-store-product-m_sneaker{background:url("../../images/gutenberg/m_sneaker.png")}.ec-store-category-shirt{background:url("../../images/gutenberg/categories1.png")}.ec-store-category-sneaker{background:url("../../images/gutenberg/categories2.png")}.ec-store-category-bag{background:url("../../images/gutenberg/categories4.png")}.ec-store-category-hat{background:url("../../images/gutenberg/categories3.png")}.ec-store-category-watch{background:url("../../images/gutenberg/categories5.png")}.ec-store-category-glasses{background:url("../../images/gutenberg/categories6.png")}.ec-store-color-picker .component-color-indicator{vertical-align:text-bottom}.ec-store-color-picker .components-color-palette{margin-top:.6rem}.ec-store-color-picker select{margin:6px 0 10px}.ec-store-inspector-subheader-row{margin-bottom:20px}.ec-store-inspector-row{-ms-flex-pack:justify;justify-content:space-between;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;margin:15px 0}.ec-store-inspector-row label,.ec-store-inspector-row button{display:block}.ec-store-inspector-subheader{color:#191e23;font-weight:600;cursor:default}.ec-store-inspector-select{max-width:100%}.ec-store-control-select{width:100%}.ec-store-inspector-button-group{display:block}.ec-store-generic-block>div{display:block}.ec-store-block .ec-store-block-header{font-weight:600;margin-bottom:24px;line-height:24px;display:-ms-flexbox;display:flex;color:#979797}.ec-store-block .ec-store-block-header svg{max-height:20px;margin-right:.5ch;fill:#979797}.ec-store-generic-block,.ec-store-block-categories{-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,0.2);box-shadow:0 2px 4px 0 rgba(0,0,0,0.2)}.ec-store-inspector-radio .components-radio-control__option,.ec-store-inspector-radio .components-radio-control__option input,.ec-store-inspector-radio .components-radio-control__option label{display:-ms-flexbox;display:flex;min-width:20px}.ec-store-inspector-radio .components-base-control__field>label{margin-bottom:12px}.ec-store-inspector-radio .components-radio-control__option label{margin-top:-2px}.ec-store-inspector-radio__title{font-weight:600}.ec-store-categories{background-size:contain}.ec-store-categories-category1{background:url("../../images/gutenberg/categories1.png")}.ec-store-categories-category2{background:url("../../images/gutenberg/categories2.png")}.ec-store-categories-category3{background:url("../../images/gutenberg/categories3.png")}.ec-store-categories-category4{background:url("../../images/gutenberg/categories4.png")}.block-editor-inserter__preview-container .ec-store-products>div,.block-editor-inserter__preview-container .ec-store-category-products>div{margin:5px}.block-editor-inserter__panel-header .ec-store-icon{width:18px;height:18px;margin-bottom:1px}
|
2 |
.wp-block-cgb-block-my-block2{background:#bada55;border:0.2rem solid #292929;color:#292929;margin:0 auto;max-width:740px;padding:2rem}.ec-store-products .ec-store-product-block.ec-store-product-block-small{width:149px}.ec-store-products .ec-store-product-block.ec-store-product-block-small .ec-store-product{width:149px;height:149px}.ec-store-products .ec-store-product-block.ec-store-product-block-small .ec-store-stub-sample{width:149px}
|
3 |
+
.ec-store-block-cart-page .ec-store-block-buynow-preview{max-width:90%;margin:0 auto}
|
4 |
.ec-store-block-search{min-width:334px;min-height:40px;display:inline-block;background:none;position:relative}.ec-store-block-search .image{background:url("../../images/gutenberg/search-preview.png") 50% 50% no-repeat;background-size:334px 40px;position:absolute;left:0;top:0;right:0;bottom:0}
|
5 |
.ec-store-block-categories{height:50px;min-height:50px}.ec-store-block-categories .ec-store-block-header{margin-bottom:0;font-weight:bold}.ec-store-block-categories .ec-store-block-header>div{height:28px}.ec-store-block-categories .ec-store-block-header .ec-store-categories-menu{width:368px;height:8px;display:inline-block;margin:auto 0 auto 44px}
|
6 |
.ec-store-block-minicart{min-height:66px;min-width:210px;display:inline-block;background:none;position:relative}.ec-store-block-minicart .image{background:url("../../images/gutenberg/minicart-preview.png") 50% 50% no-repeat;background-size:100%;position:absolute;left:0;top:0;right:0;bottom:0}
|
7 |
.ec-store-block>.ec-store-category{display:block}.ec-store-category-products>div{width:130px;height:130px;margin:15px;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #e2e4e7;background-size:100% 100%}.ec-store-category-product1{background:url("../../images/gutenberg/category1.png")}.ec-store-category-product2{background:url("../../images/gutenberg/category2.png")}.ec-store-category-product3{background:url("../../images/gutenberg/category3.png")}.ec-store-category-product4{background:url("../../images/gutenberg/category4.png")}.ec-store-category-product5{background:url("../../images/gutenberg/category5.png")}.ec-store-category-product6{background:url("../../images/gutenberg/category6.png")}
|
8 |
+
.ec-store-block-content{padding:0 42px 24px}.ec-store-product-page-preview{max-width:100%}
|
9 |
.ec-store-block-filters-page .ec-store-products .ec-store-product-block.ec-store-product-filter .ec-store-stub-sample{min-height:160px;height:160px;background:url("../../images/gutenberg/search-filters-stub.png") no-repeat;background-size:contain}
|
10 |
+
.ec-store-block-cart-page img{padding:0 1em 2em;max-width:100%}
|
ecwid-shopping-cart.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ecwid.com?partner=wporg
|
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Text Domain: ecwid-shopping-cart
|
7 |
Author: Ecwid Ecommerce
|
8 |
-
Version: 6.10.
|
9 |
Author URI: https://ecwid.to/ecwid-site
|
10 |
License: GPLv2 or later
|
11 |
*/
|
5 |
Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
|
6 |
Text Domain: ecwid-shopping-cart
|
7 |
Author: Ecwid Ecommerce
|
8 |
+
Version: 6.10.21
|
9 |
Author URI: https://ecwid.to/ecwid-site
|
10 |
License: GPLv2 or later
|
11 |
*/
|
includes/gutenberg/class-ecwid-gutenberg.php
CHANGED
@@ -92,8 +92,8 @@ class Ecwid_Gutenberg {
|
|
92 |
}
|
93 |
|
94 |
public function enqueue_block_editor_assets() {
|
95 |
-
wp_enqueue_script( 'ecwid-gutenberg-store' );
|
96 |
-
wp_enqueue_style( 'ecwid-gutenberg-block', ECWID_PLUGIN_URL . 'css/gutenberg/blocks.editor.build.css', get_option('ecwid_plugin_version') );
|
97 |
|
98 |
$locale_data = '';
|
99 |
if ( function_exists( 'gutenberg_get_jed_locale_data' ) ) {
|
@@ -145,7 +145,7 @@ class Ecwid_Gutenberg {
|
|
145 |
'isApiAvailable' => Ecwid_Api_V3::is_available(),
|
146 |
'products' => $this->_get_products_data(),
|
147 |
'hasCategories' => $api->has_public_categories(),
|
148 |
-
'imagesUrl' => ECWID_PLUGIN_URL . '
|
149 |
'isWidgetsScreen' => get_current_screen()->id == 'widgets'
|
150 |
)
|
151 |
);
|
92 |
}
|
93 |
|
94 |
public function enqueue_block_editor_assets() {
|
95 |
+
wp_enqueue_script( 'ecwid-gutenberg-store' );
|
96 |
+
wp_enqueue_style( 'ecwid-gutenberg-block', ECWID_PLUGIN_URL . 'css/gutenberg/blocks.editor.build.css', array(), get_option('ecwid_plugin_version') );
|
97 |
|
98 |
$locale_data = '';
|
99 |
if ( function_exists( 'gutenberg_get_jed_locale_data' ) ) {
|
145 |
'isApiAvailable' => Ecwid_Api_V3::is_available(),
|
146 |
'products' => $this->_get_products_data(),
|
147 |
'hasCategories' => $api->has_public_categories(),
|
148 |
+
'imagesUrl' => ECWID_PLUGIN_URL . 'images/gutenberg/',
|
149 |
'isWidgetsScreen' => get_current_screen()->id == 'widgets'
|
150 |
)
|
151 |
);
|
js/gutenberg/blocks.build.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){function t(o){if(r[o])return r[o].exports;var n=r[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,o){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",function(){return c});var n,l,c={ecwid:wp.element.createElement("svg",{class:"ec-store-icon",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 215 215","enable-background":"new 0 0 215 215"},wp.element.createElement("g",{fill:"#0087cd"},wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M160.68,163.34c-3.67,0-6.65,2.98-6.65,6.66c0,3.68,2.98,6.66,6.65,6.66 c3.68,0,6.66-2.98,6.66-6.66C167.34,166.32,164.36,163.34,160.68,163.34z"}),wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M53.46,162.51c-3.67,0-6.65,2.98-6.65,6.66c0,3.68,2.98,6.66,6.65,6.66 c3.68,0,6.66-2.98,6.66-6.66C60.12,165.49,57.14,162.51,53.46,162.51z"}),wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M166.12,0H48.88C21.89,0,0,21.89,0,48.89v117.23c0,27,21.89,48.88,48.88,48.88 h117.24c27,0,48.88-21.88,48.88-48.88V48.88C215,21.89,193.11,0,166.12,0z M134.43,57.85c5.36,0,9.7,4.34,9.7,9.7 c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C124.73,62.19,129.07,57.85,134.43,57.85z M134.43,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S129.07,85.25,134.43,85.25z M107.09,57.85 c5.36,0,9.7,4.34,9.7,9.7c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C97.39,62.19,101.73,57.85,107.09,57.85z M107.09,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S101.73,85.25,107.09,85.25z M79.75,57.85 c5.36,0,9.7,4.34,9.7,9.7c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C70.05,62.19,74.39,57.85,79.75,57.85z M79.75,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S74.39,85.25,79.75,85.25z M53.46,187.72 c-10.24,0-18.55-8.31-18.55-18.55c0-10.25,8.31-18.56,18.55-18.56c10.25,0,18.56,8.31,18.56,18.56 C72.03,179.41,63.71,187.72,53.46,187.72z M160.68,188.55c-10.24,0-18.55-8.31-18.55-18.55c0-10.25,8.31-18.56,18.55-18.56 c10.25,0,18.56,8.31,18.56,18.56C179.24,180.24,170.93,188.55,160.68,188.55z M193.27,37.66l-19.18,71.44 c-5.12,19.07-21.28,31.04-41.03,31.04h-12.65c-4.18,0-10.23-2.26-12.74-4.62c-0.42-0.39-1.08-0.39-1.5,0 c-2.51,2.36-8.56,4.62-12.74,4.62h-13.9c-19.12,0-33.61-10.9-39.41-29.12L23.81,59.86c-0.32-1.02-0.15-2.1,0.49-2.97 c0.63-0.86,1.6-1.36,2.69-1.36l3.12,0.01c7.52,0.03,14.11,4.86,16.38,12.02l11.98,37.62c3.24,10.19,13.61,17.04,24.3,17.04 l4.65-0.01c4.8,0,8.18-2.46,10.22-4.66c1.06-1.15,2.54-1.82,4.11-1.82l10.44,0.01c1.48,0,2.92,0.59,3.91,1.68 c1.98,2.17,5.49,4.79,10.33,4.79l4.43,0.01c11.04,0,21.75-7.45,24.62-18.11l15.53-57.84c2.03-7.53,8.88-12.78,16.67-12.78l2.74,0 c0.26,0,0.52,0.04,0.76,0.14C192.93,34.37,193.7,36.08,193.27,37.66z"}))),store:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("g",{fill:"none","fill-rule":"evenodd",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"2",transform:"translate(0 3)"},wp.element.createElement("path",{d:"M20 7L20 17C20 18.1045695 19.1045695 19 18 19L4 19C2.8954305 19 2 18.1045695 2 17L2 7 2 7M1 0L21 0 21.5808632 3.48517907C21.8145004 4.88700236 20.8935617 6.22128765 19.5 6.5L18.9764235 6.60471529C17.7961226 6.84077548 16.5971903 6.29508301 16 5.25L16 5.25 16 5.25 15.7442084 5.69763529C15.2840087 6.50298484 14.4275622 7 13.5 7 12.5724378 7 11.7159913 6.50298484 11.2557916 5.69763529L11 5.25 11 5.25 10.7442084 5.69763529C10.2840087 6.50298484 9.42756224 7 8.5 7 7.57243776 7 6.71599134 6.50298484 6.25579159 5.69763529L6 5.25 6 5.25C5.40280971 6.29508301 4.20387741 6.84077548 3.02357646 6.60471529L2.5 6.5C1.10643827 6.22128765.185499607 4.88700236.419136822 3.48517907L1 0 1 0z"}),wp.element.createElement("polygon",{points:"7 11 15 11 15 19 7 19"}))),product:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("g",{fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"},wp.element.createElement("path",{stroke:"currentColor","stroke-width":"2",d:"M5.5638852,7 L18.4361148,7 C19.3276335,7 19.6509198,7.09282561 19.9768457,7.2671327 C20.3027716,7.4414398 20.5585602,7.69722837 20.7328673,8.0231543 C20.9071744,8.34908022 21,8.67236646 21,9.5638852 L21,20.4361148 C21,21.3276335 20.9071744,21.6509198 20.7328673,21.9768457 C20.5585602,22.3027716 20.3027716,22.5585602 19.9768457,22.7328673 C19.6509198,22.9071744 19.3276335,23 18.4361148,23 L5.5638852,23 C4.67236646,23 4.34908022,22.9071744 4.0231543,22.7328673 C3.69722837,22.5585602 3.4414398,22.3027716 3.2671327,21.9768457 C3.09282561,21.6509198 3,21.3276335 3,20.4361148 L3,9.5638852 C3,8.67236646 3.09282561,8.34908022 3.2671327,8.0231543 C3.4414398,7.69722837 3.69722837,7.4414398 4.0231543,7.2671327 C4.34908022,7.09282561 4.67236646,7 5.5638852,7 Z"}),wp.element.createElement("path",{stroke:"currentColor","stroke-width":"2",d:"M8,10 L8,6 C8,3.790861 9.790861,2 12,2 C14.209139,2 16,3.790861 16,6 L16,10 L16,10"}))),aspect169:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"9",y:"14",width:"22",height:"12",rx:"2"}))),aspect916:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"}," ",wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"14",y:"9",width:"12",height:"22",rx:"2"}))),aspect11:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"12",y:"12",width:"16",height:"16",rx:"2"}))),aspect34:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"12",y:"10",width:"16",height:"20",rx:"2"}))),aspect43:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"10",y:"12",width:"20",height:"16",rx:"2"}))),textalignleft:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"16",width:"9",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"19",width:"13",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"22",width:"9",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"}))),textaligncenter:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"16",y:"16",width:"8",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"14",y:"19",width:"12",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"16",y:"22",width:"8",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"}))),textalignright:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"18",y:"16",width:"9",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"14",y:"19",width:"13",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"18",y:"22",width:"9",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"}))),textalignjustify:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",zoomAndPan:"1.5",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"16",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"19",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"22",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"}))),productLayout3Columns:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",transform:"translate(13.000000, 19.500000) rotate(-270.000000) translate(-13.000000, -19.500000) ",x:"3.5",y:"16.5",width:"19",height:"6",rx:"1"}),wp.element.createElement("rect",{fill:"#000000",x:"18",y:"10",width:"5",height:"19"}),wp.element.createElement("rect",{fill:"#000000",x:"25",y:"10",width:"5",height:"8"}),wp.element.createElement("rect",{fill:"#000000",x:"25",y:"19",width:"5",height:"10"}))),productLayout2ColumnsLeft:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"17",y:"10",width:"13",height:"19",rx:"1"}),wp.element.createElement("rect",{fill:"#000000",x:"10",y:"10",width:"5",height:"5"}),wp.element.createElement("rect",{fill:"#000000",x:"10",y:"17",width:"5",height:"12"}))),productLayout2ColumnsRight:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(10.000000, 10.000000)",fill:"#000000"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"}),wp.element.createElement("rect",{x:"15",y:"0",width:"5",height:"5"}),wp.element.createElement("rect",{x:"15",y:"7",width:"5",height:"12"})))),productLayout2ColumnsBottom:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(10.000000, 10.000000)",fill:"#000000"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"12",rx:"1"}),wp.element.createElement("rect",{x:"15",y:"0",width:"5",height:"12"}),wp.element.createElement("rect",{x:"0",y:"14",width:"20",height:"5"})))),galleryLayoutHorizontal:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(20.000000, 20.500000) rotate(-180.000000) translate(-20.000000, -20.500000) translate(10.000000, 11.000000)",fill:"#000000","fill-rule":"nonzero"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"}),wp.element.createElement("rect",{x:"15",y:"0",width:"5",height:"6"}),wp.element.createElement("rect",{x:"15",y:"14",width:"5",height:"5"}),wp.element.createElement("rect",{x:"15",y:"7",width:"5",height:"6"})))),galleryLayoutVertical:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(19.500000, 20.000000) rotate(-270.000000) translate(-19.500000, -20.000000) translate(9.500000, 10.500000)",fill:"#000000","fill-rule":"nonzero"},wp.element.createElement("rect",{x:"0",y:"-1.13686838e-13",width:"13",height:"19",rx:"1"}),wp.element.createElement("rect",{x:"15",y:"-1.13686838e-13",width:"5",height:"6"}),wp.element.createElement("rect",{x:"15",y:"7",width:"5",height:"5"}),wp.element.createElement("rect",{x:"15",y:"13",width:"5",height:"6"})))),galleryLayoutFeed:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(20.500000, 12.500000) rotate(-270.000000) translate(-20.500000, -12.500000) translate(14.000000, 3.000000)",fill:"#000000","fill-rule":"nonzero"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"})),wp.element.createElement("g",{transform:"translate(20.500000, 27.500000) rotate(-270.000000) translate(-20.500000, -27.500000) translate(14.000000, 18.000000)",fill:"#000000","fill-rule":"nonzero"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"})))),cart:wp.element.createElement("svg",(n={class:"ec-store-icon-color"},o(n,"class","ec-store-icon-color"),o(n,"width","24px"),o(n,"height","24px"),o(n,"viewBox","0 0 24 24"),o(n,"version","1.1"),n),wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-352.000000, -415.000000)"},wp.element.createElement("g",{id:"cart-icon",transform:"translate(352.000000, 415.000000)"},wp.element.createElement("path",{d:"M4.5269723,4 L2,4 C1.44771525,4 1,3.55228475 1,3 C1,2.44771525 1.44771525,2 2,2 L5.33333333,2 C5.80393835,2 6.21086155,2.32812702 6.31061146,2.788039 L7.22413999,7 L21,7 C21.6640252,7 22.143636,7.63527258 21.9617572,8.27390353 L19.968471,15.272927 C19.8460922,15.7026358 19.4535094,15.9990234 19.0067139,15.9990234 L7.93579102,15.9990234 C7.465186,15.9990234 7.0582628,15.6708964 6.95851289,15.2109844 L4.5269723,4 Z M7.65791824,9 L8.74215205,13.9990234 L18.2517453,13.9990234 L19.6754416,9 L7.65791824,9 Z",id:"Path-3","fill-rule":"nonzero"}),wp.element.createElement("circle",{id:"Oval-2",cx:"9",cy:"20",r:"2"}),wp.element.createElement("circle",{id:"Oval-2",cx:"18",cy:"20",r:"2"}))))),search:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},wp.element.createElement("g",{fill:"none","fill-rule":"evenodd",stroke:"currentColor","stroke-linecap":"round","stroke-width":"2",transform:"translate(1.667 1.667)"},wp.element.createElement("line",{x1:"10.667",x2:"14.667",y1:"10.667",y2:"14.667"}),wp.element.createElement("circle",{cx:"6",cy:"6",r:"6","stroke-linejoin":"round"}))),categories:wp.element.createElement("svg",(l={class:"ec-store-icon-color"},o(l,"class","ec-store-icon-color"),o(l,"width","24px"),o(l,"height","24px"),o(l,"viewBox","0 0 24 24"),o(l,"version","1.1"),l),wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-234.000000, -416.000000)"},wp.element.createElement("g",{id:"categories-icon",transform:"translate(234.000000, 416.000000)"},wp.element.createElement("polygon",{id:"Triangle",points:"3 2 5.5 7 0.5 7"}),wp.element.createElement("polygon",{id:"Line","fill-rule":"nonzero",points:"8 6 8 4 23 4 23 6"}),wp.element.createElement("polygon",{id:"Line","fill-rule":"nonzero",points:"8 13 8 11 23 11 23 13"}),wp.element.createElement("polygon",{id:"Line","fill-rule":"nonzero",points:"8 20 8 18 23 18 23 20"}),wp.element.createElement("rect",{id:"Rectangle",stroke:"currentColor","stroke-width":"2",fill:"#FFFFFF",x:"2",y:"11",width:"2",height:"2"}),wp.element.createElement("rect",{id:"Rectangle",stroke:"currentColor","stroke-width":"2",fill:"#FFFFFF",x:"2",y:"18",width:"2",height:"2",rx:"1"}))))),category:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4.5638852 2L7.4361148 2C8.32763354 2 8.65091978 2.09282561 8.9768457 2.2671327 9.30277163 2.4414398 9.5585602 2.69722837 9.7328673 3.0231543 9.90717439 3.34908022 10 3.67236646 10 4.5638852L10 7.4361148C10 8.32763354 9.90717439 8.65091978 9.7328673 8.9768457 9.5585602 9.30277163 9.30277163 9.5585602 8.9768457 9.7328673 8.65091978 9.90717439 8.32763354 10 7.4361148 10L4.5638852 10C3.67236646 10 3.34908022 9.90717439 3.0231543 9.7328673 2.69722837 9.5585602 2.4414398 9.30277163 2.2671327 8.9768457 2.09282561 8.65091978 2 8.32763354 2 7.4361148L2 4.5638852C2 3.67236646 2.09282561 3.34908022 2.2671327 3.0231543 2.4414398 2.69722837 2.69722837 2.4414398 3.0231543 2.2671327 3.34908022 2.09282561 3.67236646 2 4.5638852 2zM4.5638852 14L7.4361148 14C8.32763354 14 8.65091978 14.0928256 8.9768457 14.2671327 9.30277163 14.4414398 9.5585602 14.6972284 9.7328673 15.0231543 9.90717439 15.3490802 10 15.6723665 10 16.5638852L10 19.4361148C10 20.3276335 9.90717439 20.6509198 9.7328673 20.9768457 9.5585602 21.3027716 9.30277163 21.5585602 8.9768457 21.7328673 8.65091978 21.9071744 8.32763354 22 7.4361148 22L4.5638852 22C3.67236646 22 3.34908022 21.9071744 3.0231543 21.7328673 2.69722837 21.5585602 2.4414398 21.3027716 2.2671327 20.9768457 2.09282561 20.6509198 2 20.3276335 2 19.4361148L2 16.5638852C2 15.6723665 2.09282561 15.3490802 2.2671327 15.0231543 2.4414398 14.6972284 2.69722837 14.4414398 3.0231543 14.2671327 3.34908022 14.0928256 3.67236646 14 4.5638852 14zM16.5638852 2L19.4361148 2C20.3276335 2 20.6509198 2.09282561 20.9768457 2.2671327 21.3027716 2.4414398 21.5585602 2.69722837 21.7328673 3.0231543 21.9071744 3.34908022 22 3.67236646 22 4.5638852L22 7.4361148C22 8.32763354 21.9071744 8.65091978 21.7328673 8.9768457 21.5585602 9.30277163 21.3027716 9.5585602 20.9768457 9.7328673 20.6509198 9.90717439 20.3276335 10 19.4361148 10L16.5638852 10C15.6723665 10 15.3490802 9.90717439 15.0231543 9.7328673 14.6972284 9.5585602 14.4414398 9.30277163 14.2671327 8.9768457 14.0928256 8.65091978 14 8.32763354 14 7.4361148L14 4.5638852C14 3.67236646 14.0928256 3.34908022 14.2671327 3.0231543 14.4414398 2.69722837 14.6972284 2.4414398 15.0231543 2.2671327 15.3490802 2.09282561 15.6723665 2 16.5638852 2zM16.5638852 14L19.4361148 14C20.3276335 14 20.6509198 14.0928256 20.9768457 14.2671327 21.3027716 14.4414398 21.5585602 14.6972284 21.7328673 15.0231543 21.9071744 15.3490802 22 15.6723665 22 16.5638852L22 19.4361148C22 20.3276335 21.9071744 20.6509198 21.7328673 20.9768457 21.5585602 21.3027716 21.3027716 21.5585602 20.9768457 21.7328673 20.6509198 21.9071744 20.3276335 22 19.4361148 22L16.5638852 22C15.6723665 22 15.3490802 21.9071744 15.0231543 21.7328673 14.6972284 21.5585602 14.4414398 21.3027716 14.2671327 20.9768457 14.0928256 20.6509198 14 20.3276335 14 19.4361148L14 16.5638852C14 15.6723665 14.0928256 15.3490802 14.2671327 15.0231543 14.4414398 14.6972284 14.6972284 14.4414398 15.0231543 14.2671327 15.3490802 14.0928256 15.6723665 14 16.5638852 14z"})),button:wp.element.createElement("svg",{class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1"},wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-345.000000, -280.000000)","fill-rule":"nonzero"},wp.element.createElement("g",{id:"button-icon",transform:"translate(345.000000, 280.000000)"},wp.element.createElement("path",{d:"M4,8 L4,16 L20,16 L20,8 L4,8 Z M4,6 L20,6 C21.1045695,6 22,6.8954305 22,8 L22,16 C22,17.1045695 21.1045695,18 20,18 L4,18 C2.8954305,18 2,17.1045695 2,16 L2,8 C2,6.8954305 2.8954305,6 4,6 Z",id:"Rectangle-5"}),wp.element.createElement("path",{d:"M13.8320367,9.8101295 C14.2137832,9.41102047 14.8467917,9.3969454 15.2459008,9.77869195 C15.6450098,10.1604385 15.6590849,10.793447 15.2773383,11.192556 L12.2122748,14.3970238 C11.8300377,14.7966458 11.1960253,14.8101668 10.7970986,14.427204 L9.5128579,13.1943549 C9.11444327,12.8118837 9.10151859,12.1788506 9.48398981,11.780436 C9.86646103,11.3820214 10.4994941,11.3690967 10.8979087,11.7515679 L11.4594438,12.290632 L13.8320367,9.8101295 Z",id:"Line-6"}))))),productPreview:wp.element.createElement("svg",{width:"72px",height:"72px",viewBox:"0 0 72 72",version:"1.1"},wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets",transform:"translate(-625.000000, -811.000000)",fill:"#AAAAAA"},wp.element.createElement("g",{id:"Group-2",transform:"translate(571.000000, 756.000000)"},wp.element.createElement("g",{id:"product-preview",transform:"translate(54.000000, 55.000000)"},wp.element.createElement("path",{d:"M6,25 L6,69 L66,69 L66,25 L6,25 Z M4,23 L68,23 L68,71 L4,71 L4,23 Z",id:"Rectangle-2-Copy-2","fill-rule":"nonzero"}),wp.element.createElement("path",{d:"M36.5,23.5 L65.836706,23.5 L67.2237665,22.8226349 L55.0328393,7.34740904 L39.8812213,0.895706316 L40.7501329,7.5 L17.0403124,7.5 L5.04031242,22.5 L6.32093727,22.5 L17.5209373,8.5 L36.5,8.5 L36.5,23.5 Z M42.9573255,16.6099474 L41.1011835,2.50206036 L54.4056315,8.16722056 L66.5284549,23.5566573 L42.9573255,16.6099474 Z",id:"Combined-Shape",stroke:"#AAAAAA"}),wp.element.createElement("path",{d:"M29.8056641,41.53125 C29.9375,38.2060547 32.2080078,35.6865234 36.4560547,35.6865234 C40.3232422,35.6865234 42.9306641,37.9863281 42.9306641,41.1210938 C42.9306641,43.3916016 41.7880859,44.9882812 39.8544922,46.1455078 C37.9648438,47.2587891 37.4228516,48.0351562 37.4228516,49.5439453 L37.4228516,50.4375 L34.390625,50.4375 L34.3759766,49.265625 C34.3027344,47.2001953 35.1962891,45.8818359 37.203125,44.6806641 C38.9755859,43.6113281 39.6054688,42.7617188 39.6054688,41.2529297 C39.6054688,39.5976562 38.3017578,38.3818359 36.2949219,38.3818359 C34.2734375,38.3818359 32.9697266,39.5976562 32.8378906,41.53125 L29.8056641,41.53125 Z M35.9287109,57.2197266 C34.859375,57.2197266 34.0097656,56.3994141 34.0097656,55.3300781 C34.0097656,54.2607422 34.859375,53.4404297 35.9287109,53.4404297 C37.0273438,53.4404297 37.8623047,54.2607422 37.8623047,55.3300781 C37.8623047,56.3994141 37.0273438,57.2197266 35.9287109,57.2197266 Z",id:"?"})))))),filters:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("g",{fill:"none","fill-rule":"evenodd","stroke-linecap":"round"},wp.element.createElement("line",{x1:"2",x2:"22",y1:"7",y2:"7",stroke:"currentColor","stroke-width":"2"}),wp.element.createElement("line",{x1:"6",x2:"18",y1:"13",y2:"13",stroke:"currentColor","stroke-width":"2"}),wp.element.createElement("line",{x1:"11",x2:"13",y1:"19",y2:"19",stroke:"currentColor","stroke-width":"2"}))),cartPage:wp.element.createElement("svg",{class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1"},wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-470.000000, -500.000000)"},wp.element.createElement("g",{id:"cart-icon",transform:"translate(470.000000, 500.000000)"},wp.element.createElement("g",{id:"Group-6",transform:"translate(2.000000, 3.000000)"},wp.element.createElement("path",{d:"M2.5269723,1 L0,1 C-0.55228475,1 -1,0.55228475 -1,-1.11022302e-16 C-1,-0.55228475 -0.55228475,-1 0,-1 L3.33333333,-1 C3.80393835,-1 4.21086155,-0.671872981 4.31061146,-0.211960997 L6.74215205,10.9990234 L16.2517453,10.9990234 L17.6754416,6 L17.0067139,6 C16.4544291,6 16.0067139,5.55228475 16.0067139,5 C16.0067139,4.44771525 16.4544291,4 17.0067139,4 L19,4 C19.6640252,4 20.143636,4.63527258 19.9617572,5.27390353 L17.968471,12.272927 C17.8460922,12.7026358 17.4535094,12.9990234 17.0067139,12.9990234 L5.93579102,12.9990234 C5.465186,12.9990234 5.0582628,12.6708964 4.95851289,12.2109844 L2.5269723,1 Z",id:"Path-3","fill-rule":"nonzero"}),wp.element.createElement("path",{d:"M13.6266547,1.30878828 C14.0084012,0.909679249 14.6414097,0.895604177 15.0405188,1.27735072 C15.4396278,1.65909727 15.4537029,2.29210579 15.0719563,2.69121482 L11.0068929,6.89568259 C10.6246557,7.29530459 9.99064332,7.30882561 9.59171662,6.92586281 L7.61584318,5.00113813 C7.21742856,4.61866691 7.20450388,3.98563386 7.5869751,3.58721924 C7.96944632,3.18880462 8.60247937,3.17587994 9.00089399,3.55835116 L10.2540618,4.78929076 L13.6266547,1.30878828 Z",id:"Line-6","fill-rule":"nonzero"}),wp.element.createElement("circle",{id:"Oval-2",cx:"7",cy:"17",r:"2"}),wp.element.createElement("circle",{id:"Oval-2",cx:"16",cy:"17",r:"2"})))))),latestProducts:wp.element.createElement("svg",{class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1"},wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-470.000000, -416.000000)","fill-rule":"nonzero"},wp.element.createElement("g",{transform:"translate(470.000000, 416.000000)"},wp.element.createElement("path",{d:"M5,17 L5,20 L9,20 L9,17 L5,17 Z M3,15 L11,15 L11,22 L3,22 L3,15 Z",id:"Rectangle-2"}),wp.element.createElement("path",{d:"M5,8 L5,11 L9,11 L9,8 L5,8 Z M3,6 L11,6 L11,13 L3,13 L3,6 Z",id:"Rectangle-2-Copy"}),wp.element.createElement("path",{d:"M15,17 L15,20 L19,20 L19,17 L15,17 Z M13,15 L21,15 L21,22 L13,22 L13,15 Z",id:"Rectangle-2"}),wp.element.createElement("path",{d:"M15,8 L15,11 L19,11 L19,8 L15,8 Z M13,6 L21,6 L21,13 L13,13 L13,6 Z",id:"Rectangle-2-Copy-3"})))))}},function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=t.attributes,n=function(e,t,n,l){return wp.element.createElement(g,{label:n},wp.element.createElement(u,{className:"ec-store-inspector-button-group"},l.map(function(n){return wp.element.createElement(w,{isPrimary:r[t]===n.value,onClick:function(){return e.setAttributes(o({},t,n.value))}},n.title)})))},l=function(e,t,r){return wp.element.createElement(_,{label:r,checked:e.attributes[t],onChange:function(){return e.setAttributes(o({},t,!e.attributes[t]))}})},c=function(e,t,r,n){return wp.element.createElement(g,{label:r},wp.element.createElement("select",{className:"ec-store-control-select",onChange:function(r){e.setAttributes(o({},t,r.target.value))}},n.map(function(r){return wp.element.createElement("option",{value:r.value,selected:e.attributes[t]==r.value},r.title)})))},a=function(e,t,r){return wp.element.createElement(g,{label:r},wp.element.createElement("input",{type:"text",value:e.attributes[t],onChange:function(r){e.setAttributes(o({},t,r.target.value))}}))},i=function(e,t,r,n){return wp.element.createElement(g,{label:r},wp.element.createElement(h,{controls:n.map(function(r){return{icon:p.a[r.icon],title:r.title,isActive:e.attributes[t]===r.value,className:"ecwid-toolbar-icon",onClick:function(){return e.setAttributes(o({},t,r.value))}}})}))},s=function(t,r,n,l){var a="DEFAULT_CATEGORY_ID"==t.attributes[r],i=e.default_category_id,s="";i.values&&i.values.length>1&&(s=c(t,i.name,i.title,i.values));var p=l.map(function(e){return{value:e.value,label:wp.element.createElement("div",null,wp.element.createElement("span",{className:"ec-store-inspector-radio__title"},e.title),wp.element.createElement("p",null,e.description),"DEFAULT_CATEGORY_ID"==e.value&&a&&[s])}});return wp.element.createElement(g,null,wp.element.createElement(b,{label:n,className:"ec-store-inspector-radio",options:p,selected:t.attributes[r],onChange:function(e){return t.setAttributes(o({},r,e))}}))};return{buttonGroup:function(r){var o=e[r];return n(t,o.name,o.title,o.values)},toggle:function(r){var o=e[r];return l(t,o.name,o.title)},select:function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e[r];return c(t,n.name,o||n.title,n.values)},textbox:function(r){var o=e[r];return builtTextbox(t,o.name,o.title)},toolbar:function(r){var o=e[r];return i(t,o.name,o.title,o.values)},color:function(r){return wp.element.createElement(m.a,{props:t,name:r,title:e[r].title})},defaultCategoryId:function(r){var o=e[r];return o.values&&o.values.length>1?c(t,o.name,o.title,o.values):a(t,o.name,o.title)},radioButtonWithDescription:function(r){var o=e[r];return s(t,o.name,o.title,o.values)}}}function l(e){return wp.element.createElement("div",{className:"ec-store-inspector-subheader-row"},wp.element.createElement("label",{className:"ec-store-inspector-subheader"},e))}function c(e,t){for(var r=e.props,o=t.split(" "),n=r.clientId,l="#ec-store-block-"+n,c=jQuery(l).data("ec-store-block-stored-properties"),a=!1,i={},s=0;s<o.length;s++){var p=o[s];c&&r.attributes[p]==c[p]||(a=!0),i[p]=r.attributes[p]}return jQuery(l).data("ec-store-block-stored-properties",i),a}function a(e){var t=e.props,r=e.attributes,o=t.clientId,n=t.attributes.show_categories,l=t.attributes.show_search,a="undefined"===typeof e.render||e.render,i="ec-store-block-"+o,s="";t.attributes.default_category_id?s="defaultCategoryId="+t.attributes.default_category_id:t.attributes.default_product_id&&(s="defaultProductId="+t.attributes.default_product_id);var p="ec-store-generic-block ec-store-dynamic-block";a&&document.getElementById(i)&&document.getElementById(i).getAttribute("data-ec-store-rendered")||(p+=" ec-store-block"),n&&(p+=" ec-store-with-categories"),l&&(p+=" ec-store-with-search");var m=c(e,"default_product_id default_category_id show_search show_categories");return a&&m&&(document.getElementById(i)&&document.getElementById(i).removeAttribute("data-ec-store-rendered"),"undefined"!=typeof EcwidGutenberg&&setTimeout(function(){EcwidGutenberg.refresh()})),window.ec=window.ec||{},window.ec.storefront=window.ec.storefront||{},window.ec.config=window.ec.config||{},window.ec.config.chameleon=window.ec.config.chameleon||{},window.ec.config.chameleon.colors=[],Object.keys(r).map(function(e){var o=r[e],n="undefined"!==typeof t.attributes[e]?t.attributes[e]:r.default;-1!==e.indexOf("chameleon")?n&&(window.ec.config.chameleon.colors["color-"+e.substr(16)]=n):window.ec.storefront[o.name]=n}),"undefined"!=typeof Ecwid&&Ecwid.refreshConfig&&Ecwid.refreshConfig(),wp.element.createElement("div",{className:p,"data-ec-store-widget":"productbrowser","data-ec-store-id":o,"data-ec-store-args":s,"data-ec-store-with-search":l,"data-ec-store-with-categories":n,id:i},wp.element.createElement("div",{className:"ec-store-block-header"},e.icon,e.title),wp.element.createElement("div",{className:"ec-store-block-content"},e.children),e.showDemoButton&&wp.element.createElement("div",null,wp.element.createElement("a",{className:"button button-primary",href:"admin.php?page=ec-store"},__("Set up your store","ecwid-shopping-cart"))))}function i(e){var t=EcwidGutenbergParams.imagesUrl+e.src,r="";return""!=e.className&&(r=e.className),wp.element.createElement("img",{src:t,className:r})}function s(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return wp.element.createElement("div",{className:e},wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block ec-store-product-filter"},wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-b_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"}),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_hat"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))};switch(e.state){case"EXPAND_CATEGORIES":return function(){return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Category #1","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))),wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Category #2","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))}();case"SHOW_ROOT_CATEGORIES":return function(){return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Featured Products","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-m_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-p_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_hat"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-b_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_bag"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-p_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))}();case"DEFAULT_CATEGORY_ID":return function(){return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Category #1","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_bag"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_hat"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))}();case"FILTERS_PAGE":return t();case"SEARCH_FILTERS_PAGE":return t("ec-store-block-filters-page");default:return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!=e&&(e=wp.element.createElement("h5",null,e)),wp.element.createElement("div",null,wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Categories","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-sneaker"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-bag"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-shirt"}))),wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Featured Products","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-p_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-b_hat"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))}()}}r.d(t,"a",function(){return n}),r.d(t,"c",function(){return l}),r.d(t,"b",function(){return i}),r.d(t,"d",function(){return a}),r.d(t,"e",function(){return s});var p=r(0),m=r(6),d=wp.components,u=d.ButtonGroup,w=d.Button,g=d.BaseControl,h=d.Toolbar,_=d.ToggleControl,b=d.RadioControl,__=wp.i18n.__},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(r(3),r(7),r(10),r(13),r(16),r(19),r(22),r(25),r(28),r(31),r(0));wp.blocks.updateCategory("ec-store",{icon:o.a.ecwid})},function(e,t,r){"use strict";var o=r(4),n=(r.n(o),r(5)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.blocks.registerBlockType),s=wp.editor.InspectorControls,p=wp.components,m=p.PanelBody,d=(p.PanelRow,p.ToggleControl,p.ButtonGroup,p.Button,p.BaseControl),u=(p.Toolbar,p.ColorPalette,p.ColorIndicator,wp.compose.withState,EcwidGutenbergParams.blockParams["ecwid/store-block"]);i("ecwid/store-block",{title:__("Store Home Page","ecwid-shopping-cart"),icon:l.a.store,category:"ec-store",attributes:u.attributes,description:__("Add storefront (product listing)","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){function t(e,t){return wp.element.createElement(d,{label:e},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}if(Object.keys(e.attributes).length<=1)for(var r in u.attributes)u.attributes.hasOwnProperty(r)&&(e.attributes[r]=u.attributes[r].default);var o=e.attributes;e.setAttributes({widgets:""});var n=t("",__('To improve the look and feel of your store and manage your storefront appearance here, please enable the \u201cNext-gen look and feel of the product list on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),a=t(__("Display cart icon","ecwid-shopping-cart"),u.customizeMinicartText),i=(t("",__('To improve the look and feel of your product page and manage its appearance here, please enable the \u201cNext-gen look and feel of the product page on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),u.isNewProductList),p=u.isNewDetailsPage,w=u.isEnabledProductSubtitles,g=u.attributes.default_category_id&&u.attributes.default_category_id.values&&u.attributes.default_category_id.values.length>0;g&&"DEFAULT_CATEGORY_ID"==o.storefront_view||e.setAttributes({default_category_id:""});var h=Object(c.a)(u.attributes,e);return g||e.setAttributes({storefront_view:"COLLAPSE_CATEGORIES"}),[wp.element.createElement(c.d,{props:e,attributes:o,icon:l.a.store,title:__("Store Home Page","ecwid-shopping-cart"),showDemoButton:u.isDemoStore},wp.element.createElement(c.e,{state:o.storefront_view})),wp.element.createElement(s,null,g&&wp.element.createElement(m,{title:__("Category List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[h.select("product_list_category_title_behavior"),"SHOW_TEXT_ONLY"!==o.product_list_category_title_behavior&&[h.buttonGroup("product_list_category_image_size"),h.toolbar("product_list_category_image_aspect_ratio")]],!i&&n),wp.element.createElement(m,{title:__("Product List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[h.toggle("product_list_show_product_images"),o.product_list_show_product_images&&[h.buttonGroup("product_list_image_size"),h.toolbar("product_list_image_aspect_ratio")],h.toolbar("product_list_product_info_layout"),h.select("product_list_title_behavior"),w&&h.select("product_list_subtitles_behavior"),h.select("product_list_price_behavior"),h.select("product_list_sku_behavior"),h.select("product_list_buybutton_behavior"),h.toggle("product_list_show_additional_image_on_hover"),h.toggle("product_list_show_frame")],!i&&n),wp.element.createElement(m,{title:__("Product Page Appearance","ecwid-shopping-cart"),initialOpen:!1},p&&[h.select("product_details_layout"),("TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"===o.product_details_layout||"TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"===o.product_details_layout)&&h.toggle("show_description_under_image"),h.toolbar("product_details_gallery_layout"),Object(c.c)(__("Product sidebar content","ecwid-shopping-cart")),h.toggle("product_details_show_product_name"),w&&h.toggle("product_details_show_subtitle"),h.toggle("product_details_show_breadcrumbs"),h.toggle("product_details_show_product_sku"),h.toggle("product_details_show_product_price"),h.toggle("product_details_show_qty"),h.toggle("product_details_show_number_of_items_in_stock"),h.toggle("product_details_show_in_stock_label"),h.toggle("product_details_show_wholesale_prices"),h.toggle("product_details_show_share_buttons")],!p&&n),g&&wp.element.createElement(m,{title:__("Store Front Page","ecwid-shopping-cart"),initialOpen:!1},h.radioButtonWithDescription("storefront_view")),wp.element.createElement(m,{title:__("Store Navigation","ecwid-shopping-cart"),initialOpen:!1},h.toggle("show_categories"),h.toggle("show_search"),h.toggle("show_breadcrumbs"),i&&h.toggle("show_footer_menu"),h.toggle("show_signin_link"),h.toggle("product_list_show_sort_viewas_options"),a),wp.element.createElement(m,{title:__("Color settings","ecwid-shopping-cart"),initialOpen:!1},h.color("chameleon_color_button"),h.color("chameleon_color_foreground"),h.color("chameleon_color_price"),h.color("chameleon_color_link"),h.color("chameleon_color_background")))]},save:function(e){var t=["productbrowser"];e.attributes.show_categories&&(t[t.length]="categories"),e.attributes.show_search&&(t[t.length]="search");var r={widgets:t.join(" "),default_category_id:"undefined"!==typeof e.attributes.default_category_id?e.attributes.default_category_id:""};return new wp.shortcode({tag:u.shortcodeName,attrs:r,type:"single"}).string()},deprecated:[{attributes:{widgets:{type:"string"},categories_per_row:{type:"integer"},grid:{type:"string"},list:{type:"integer"},table:{type:"integer"},default_category_id:{type:"integer"},default_product_id:{type:"integer"},category_view:{type:"string"},search_view:{type:"string"},minicart_layout:{type:"string"}},save:function(e){return null}},{attributes:{widgets:{type:"string",default:"productbrowser"},default_category_id:{type:"integer",default:0}},migrate:function(e){return{widgets:e.widgets,default_category_id:e.default_category_id}},save:function(e){for(var t={},r=["widgets","default_category_id"],o=0;o<r.length;o++)t[r[o]]=e.attributes[r[o]];return t.default_product_id=0,new wp.shortcode({tag:u.shortcodeName,attrs:t,type:"single"}).string()}},{save:function(e){return"[ecwid]"}},{save:function(e){return'[ecwid widgets="productbrowser" default_category_id="0" default_product_id="0"]'}},{save:function(e){return'[ecwid widgets="productbrowser" default_category_id="0"]'}}],transforms:{from:[{type:"shortcode",tag:["ecwid","ec_store"],attributes:{default_category_id:{type:"integer",shortcode:function(e){return e.default_category_id}},show_categories:{type:"boolean",shortcode:function(e){return-1!==e.named.widgets.indexOf("categories")}},show_search:{type:"boolean",shortcode:function(e){return-1!==e.named.widgets.indexOf("search")}}},priority:10}]}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){function t(e){l(function(t){return{manual:"manual",color:e}}),m.setAttributes(o({},s,e))}var r=e.manual,n=e.color,l=e.setState,s=arguments[0].name,m=arguments[0].props,d=arguments[0].title,u=null===r&&null!==m.attributes[s]&&""!==m.attributes[s]||"manual"===r;u?null!==n&&m.setAttributes(o({},s,n)):m.setAttributes(o({},s,null));var w=m.attributes[s],g=wp.element.createElement("span",null,d,null!==w&&wp.element.createElement(i,{colorValue:m.attributes[s]}));return wp.element.createElement(c,{label:g,className:"ec-store-color-picker"},wp.element.createElement("select",{onChange:function(e){return l(function(e){return{manual:event.target.value,color:e.color}})}},wp.element.createElement("option",{value:"auto",selected:!u},__("Detect automatically","ecwid-shopping-cart")),wp.element.createElement("option",{value:"manual",selected:u},__("Set manually","ecwid-shopping-cart"))),u&&wp.element.createElement(a,{value:w,colors:p,onChange:t}))}r.d(t,"a",function(){return m});var l=wp.components,c=l.BaseControl,a=l.ColorPalette,i=l.ColorIndicator,s=wp.compose.withState,__=wp.i18n.__,p=[{name:__("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:__("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:__("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:__("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:__("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:__("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:__("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:__("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:__("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:__("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:__("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],m=s({manual:null,color:null})(n)},function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n=r(8),l=(r.n(n),r(9)),c=(r.n(l),r(0)),a=r(1),i=wp.i18n,__=i.__,_x=i._x,s=wp.blocks.registerBlockType,p=wp.editor.InspectorControls,m=wp.components,d=m.PanelBody,u=m.ToggleControl,w=(wp.compose.withState,wp.element.Fragment,EcwidGutenbergParams.blockParams["ecwid/product-block"]);s("ecwid/product-block",{title:__("Product Card Small","ecwid-shopping-cart"),icon:c.a.product,category:"ec-store",attributes:{id:{type:"integer"},show_picture:{type:"boolean",default:!0},show_title:{type:"boolean",default:!0},show_price:{type:"boolean",default:!0},show_options:{type:"boolean",default:!0},show_qty:{type:"boolean",default:!1},show_addtobag:{type:"boolean",default:!0},show_price_on_button:{type:"boolean",default:!0},show_border:{type:"boolean",default:!0},center_align:{type:"boolean",default:!0}},description:__("Display product with a buy button","ecwid-shopping-cart"),alignWide:!1,supports:{customClassName:!1,className:!1,html:!1,align:!0,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(e){function t(e,t,r){return wp.element.createElement(u,{label:r,checked:e.attributes[t],onChange:function(){return e.setAttributes(o({},t,!e.attributes[t]))}})}function r(e){ecwid_open_product_popup({saveCallback:l,props:e})}var n=e.attributes;console.log(e);var l=function(e){var t={id:e.newProps.product.id};EcwidGutenbergParams.products[e.newProps.product.id]={name:e.newProps.product.name,imageUrl:e.newProps.product.thumb},e.originalProps.setAttributes(t)};return[wp.element.createElement(a.d,{props:e,attributes:n,icon:c.a.product,title:__("Product Card Small","ecwid-shopping-cart"),showDemoButton:w.isDemoStore},wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block ec-store-product-block-small"},EcwidGutenbergParams.products&&n.id&&EcwidGutenbergParams.products[n.id]&&wp.element.createElement("div",{className:"ec-store-block-image"},wp.element.createElement("img",{src:EcwidGutenbergParams.products[n.id].imageUrl})),!n.id&&wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_sneaker"}),!n.id&&wp.element.createElement("div",{className:"ec-store-stub-sample"}),!n.id&&wp.element.createElement("div",null,wp.element.createElement("button",{className:"button ec-store-block-button",onClick:function(){var t={saveCallback:l,props:e};ecwid_open_product_popup(t)}},EcwidGutenbergParams.chooseProduct)),EcwidGutenbergParams.products&&n.id&&EcwidGutenbergParams.products[n.id]&&wp.element.createElement("div",{className:"ec-store-product-title"},EcwidGutenbergParams.products[n.id].name)))),wp.element.createElement(p,null,n.id&&wp.element.createElement(d,null,wp.element.createElement("div",{className:"ec-store-inspector-row"},wp.element.createElement("label",{className:"ec-store-inspector-subheader"},__("Displayed product","ecwid-shopping-cart"))),wp.element.createElement("div",{className:"ec-store-inspector-row"},EcwidGutenbergParams.products&&EcwidGutenbergParams.products[n.id]&&wp.element.createElement("label",null,EcwidGutenbergParams.products[n.id].name),wp.element.createElement("button",{className:"button",onClick:function(){return r(e)}},__("Change","ecwid-shopping-cart")))),!n.id&&wp.element.createElement(d,null,wp.element.createElement("button",{className:"button",onClick:function(){return r(e)}},__("Choose product","ecwid-shopping-cart"))),wp.element.createElement(d,{title:_x("Content","gutenberg-product-block","ecwid-shopping-cart"),initialOpen:!1},t(e,"show_picture",__("Picture","ecwid-shopping-cart")),t(e,"show_title",__("Title","ecwid-shopping-cart")),t(e,"show_price",__("Price","ecwid-shopping-cart")),t(e,"show_options",__("Options","ecwid-shopping-cart")),t(e,"show_qty",__("Quantity","ecwid-shopping-cart")),t(e,"show_addtobag",__("\xabBuy now\xbb button","ecwid-shopping-cart"))),wp.element.createElement(d,{title:__("Appearance","ecwid-shopping-cart"),initialOpen:!1},t(e,"show_price_on_button",__("Show price inside the \xabBuy now\xbb button","ecwid-shopping-cart")),t(e,"show_border",__("Add border","ecwid-shopping-cart")),t(e,"center_align",__("Center align on a page","ecwid-shopping-cart"))))]},save:function(e){return!1}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n=r(11),l=(r.n(n),r(12)),c=(r.n(l),r(0)),a=r(1),i=wp.i18n,__=i.__,s=(i._x,wp.blocks),p=(s.BlockControls,s.registerBlockType),m=wp.editor.InspectorControls,d=wp.components,u=d.PanelBody,w=d.ToggleControl;wp.compose.withState,wp.element.Fragment;p("ec-store/buynow",{title:__("Buy Now Button","ecwid-shopping-cart"),icon:c.a.button,category:"ec-store",attributes:{id:{type:"integer"},show_price_on_button:{type:"boolean",default:!0},center_align:{type:"boolean",default:!0}},description:__("Display a buy button","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,align:!0,alignWide:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(e){function t(e,t,r){return wp.element.createElement(w,{label:r,checked:e.attributes[t],onChange:function(){return e.setAttributes(o({},t,!e.attributes[t]))}})}function r(e){ecwid_open_product_popup({saveCallback:l,props:e})}var n=e.attributes,l=function(e){var t={id:e.newProps.id};EcwidGutenbergParams.products[e.newProps.id]={name:e.newProps.product.name,imageUrl:e.newProps.product.thumb},e.originalProps.setAttributes(t)};return[wp.element.createElement(a.d,{props:e,attributes:n,icon:c.a.button,title:__("Buy Now Button","ecwid-shopping-cart")},wp.element.createElement("div",{className:"ec-store-block-cart-page"},wp.element.createElement(a.b,{src:"buy-now-preview.png",className:"ec-store-block-buynow-preview"})),!n.id&&wp.element.createElement("div",{className:"button-container"},wp.element.createElement("button",{className:"button ec-store-block-button",onClick:function(){var t={saveCallback:l,props:e};ecwid_open_product_popup(t)}},EcwidGutenbergParams.chooseProduct))),wp.element.createElement(m,null,n.id&&wp.element.createElement(u,null,wp.element.createElement("div",{className:"ec-store-inspector-row"},wp.element.createElement("label",{className:"ec-store-inspector-subheader"},__("Linked product","ecwid-shopping-cart"))),wp.element.createElement("div",{className:"ec-store-inspector-row"},EcwidGutenbergParams.products&&EcwidGutenbergParams.products[n.id]&&wp.element.createElement("label",null,EcwidGutenbergParams.products[n.id].name),wp.element.createElement("button",{className:"button",onClick:function(){return r(e)}},__("Change","ecwid-shopping-cart")))),!n.id&&wp.element.createElement(u,null,wp.element.createElement("button",{className:"button",onClick:function(){return r(e)}},__("Choose product","ecwid-shopping-cart"))),wp.element.createElement(u,{title:__("Appearance","ecwid-shopping-cart"),initialOpen:!1},t(e,"show_price_on_button",__("Show price inside the \xabBuy now\xbb button","ecwid-shopping-cart")),t(e,"center_align",__("Center align on a page","ecwid-shopping-cart"))))]},save:function(e){return!1}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(14),n=(r.n(o),r(15)),l=(r.n(n),r(0)),c=wp.i18n,__=c.__;c._x;(0,wp.blocks.registerBlockType)("ec-store/search",{title:__("Product Search Box","ecwid-shopping-cart"),icon:l.a.search,category:"ec-store",description:__("Display search box","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(e){return e.attributes,[wp.element.createElement("div",{className:"ec-store-block ec-store-block-search"},wp.element.createElement("div",{class:"image"}))]},save:function(e){return!1}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(17),n=(r.n(o),r(18)),l=(r.n(n),r(0)),c=r(1);if(!EcwidGutenbergParams.isDemoStore){var a=wp.editor.InspectorControls,i=wp.i18n,__=i.__,s=(i._x,wp.blocks.registerBlockType),p=EcwidGutenbergParams.blockParams["ec-store/categories"];s("ec-store/categories",{title:__("Store Categories Menu","ecwid-shopping-cart"),icon:l.a.categories,category:"ec-store",description:__("Display categories navigation bar","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(e){var t=(e.attributes,wp.element.createElement("div",{className:"ec-store-block ec-store-block-categories"},wp.element.createElement("div",{className:"ec-store-block-header"},wp.element.createElement("div",null,__("Categories","ecwid-shopping-cart")),wp.element.createElement(c.b,{src:"categories-menu-preview.png",className:"ec-store-categories-menu"})))),r=__('The block is hidden because you don\'t have categories in your store. <a target="_blank" href="admin.php?page=ec-store-admin-category-id-0-mode-edit">Add categories.</a>',"ecwid-shopping-cart");return[t,wp.element.createElement(a,null,wp.element.createElement("div",{style:{height:"10px"}}),!p.has_categories&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:r}}))]},save:function(e){return!1}})}},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(20),n=(r.n(o),r(21)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.editor.InspectorControls),s=wp.components,p=s.PanelBody;s.BaseControl;(0,wp.blocks.registerBlockType)("ec-store/minicart",{title:__("Shopping Cart Icon","ecwid-shopping-cart"),icon:l.a.cart,category:"ec-store",description:__("Display shopping bag link and summary","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable,align:!0,alignWide:!1},attributes:EcwidGutenbergParams.minicartAttributes,example:{},edit:function(e){function t(e,t,o){var n=EcwidGutenbergParams.minicartAttributes[t];return"undefined"===typeof o&&(o=n.type),r.select(t)}var r=(e.attributes,Object(c.a)(EcwidGutenbergParams.minicartAttributes,e));return[wp.element.createElement("div",{className:"ec-store-block ec-store-block-minicart"},wp.element.createElement("div",{className:"image"})),wp.element.createElement(i,null,wp.element.createElement(p,{title:__("Appearance","ecwid-shopping-cart"),initialOpen:!0},t(e,"layout","select"),t(e,"icon","select"),t(e,"fixed_shape","select")))]},save:function(e){return!1}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(23),n=(r.n(o),r(24)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,l.a,wp.blocks.registerBlockType),s=wp.editor.InspectorControls,p=wp.components,m=p.PanelBody,d=p.BaseControl,u=EcwidGutenbergParams.blockParams["ec-store/category-page"];i("ec-store/category-page",{title:__("Store Category Page","ecwid-shopping-cart"),icon:l.a.category,category:"ec-store",attributes:EcwidGutenbergStoreBlockParams.attributes,description:__("Display category page","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){function t(e,t){return wp.element.createElement(d,{label:e},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}var r=e.attributes;e.setAttributes({widgets:""});var o=wp.element.createElement(c.d,{props:e,attributes:r,icon:l.a.category,title:__("Store Category Page","ecwid-shopping-cart"),showDemoButton:u.isDemoStore},wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-sneaker"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-bag"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-shirt"}))),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-hat"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-watch"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-glasses"})))),n=t("",__('To improve the look and feel of your store and manage your storefront appearance here, please enable the \u201cNext-gen look and feel of the product list on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),a=t(__("Display cart icon","ecwid-shopping-cart"),u.customizeMinicartText),i=u.isNewProductList,p=u.isNewDetailsPage,w=Object(c.a)(u.attributes,e);return[o,wp.element.createElement(s,null,wp.element.createElement(m,null,!EcwidGutenbergParams.hasCategories&&wp.element.createElement("div",{style:{margin:"10px"}},wp.element.createElement("a",{href:"admin.php?page=ec-store-admin-category-id-0-mode-edit",target:"_blank",class:"button button-primary"},__("Add categories","ecwid-shopping-cart"))),EcwidGutenbergParams.hasCategories&&[!e.attributes.default_category_id&&w.select("default_category_id",__("Select category","ecwid-shopping-cart")),e.attributes.default_category_id&&w.select("default_category_id",__("Selected category","ecwid-shopping-cart"))]),wp.element.createElement(m,{title:__("Category List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[w.select("product_list_category_title_behavior"),"SHOW_TEXT_ONLY"!==r.product_list_category_title_behavior&&[w.buttonGroup("product_list_category_image_size"),w.toolbar("product_list_category_image_aspect_ratio")]],!i&&n),wp.element.createElement(m,{title:__("Product List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[w.toggle("product_list_show_product_images"),r.product_list_show_product_images&&[w.buttonGroup("product_list_image_size"),w.toolbar("product_list_image_aspect_ratio")],w.toolbar("product_list_product_info_layout"),w.select("product_list_title_behavior"),w.select("product_list_price_behavior"),w.select("product_list_sku_behavior"),w.select("product_list_buybutton_behavior"),w.toggle("product_list_show_additional_image_on_hover"),w.toggle("product_list_show_frame")],!i&&n),wp.element.createElement(m,{title:__("Product Page Appearance","ecwid-shopping-cart"),initialOpen:!1},p&&[w.select("product_details_layout"),("TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"===r.product_details_layout||"TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"===r.product_details_layout)&&w.toggle("show_description_under_image"),w.toolbar("product_details_gallery_layout"),Object(c.c)(__("Product sidebar content","ecwid-shopping-cart")),w.toggle("product_details_show_product_name"),w.toggle("product_details_show_breadcrumbs"),w.toggle("product_details_show_product_sku"),w.toggle("product_details_show_product_price"),w.toggle("product_details_show_qty"),w.toggle("product_details_show_number_of_items_in_stock"),w.toggle("product_details_show_in_stock_label"),w.toggle("product_details_show_wholesale_prices"),w.toggle("product_details_show_share_buttons")],!p&&productDetailsMigrationWarning),wp.element.createElement(m,{title:__("Store Navigation","ecwid-shopping-cart"),initialOpen:!1},w.toggle("show_categories"),w.toggle("show_search"),w.toggle("show_breadcrumbs"),i&&w.toggle("show_footer_menu"),w.toggle("show_signin_link"),w.toggle("product_list_show_sort_viewas_options"),a),wp.element.createElement(m,{title:__("Color settings","ecwid-shopping-cart"),initialOpen:!1},w.color("chameleon_color_button"),w.color("chameleon_color_foreground"),w.color("chameleon_color_price"),w.color("chameleon_color_link"),w.color("chameleon_color_background")))]},save:function(e){return null}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(26),n=(r.n(o),r(27)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.blocks.registerBlockType),s=wp.editor.InspectorControls,p=wp.components,m=p.PanelBody,d=p.BaseControl,u=(wp.compose.withState,EcwidGutenbergParams.blockParams["ec-store/product-page"]);i("ec-store/product-page",{title:__("Product Card Large","ecwid-shopping-cart"),icon:l.a.product,category:"ec-store",attributes:u.attributes,description:__("Display product page with description and a buy button","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){function t(e){ecwid_open_product_popup({saveCallback:n,props:e})}function r(e,t){return wp.element.createElement(d,{label:e},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}var o=e.attributes,n=function(e){var t={default_product_id:e.newProps.product.id};EcwidGutenbergParams.products[e.newProps.product.id]={name:e.newProps.product.name,imageUrl:e.newProps.product.thumb},e.originalProps.setAttributes(t)},a=wp.element.createElement(c.d,{props:e,attributes:o,icon:l.a.product,title:__("Product Card Large","ecwid-shopping-cart")},wp.element.createElement(c.b,{src:"product-page-preview.png",className:"ec-store-product-page-preview"}),!o.default_product_id&&wp.element.createElement("div",{className:"button-container"},wp.element.createElement("button",{className:"button ec-store-block-button",onClick:function(){var t={saveCallback:n,props:e};ecwid_open_product_popup(t)}},EcwidGutenbergParams.chooseProduct))),i=r("",__('To improve the look and feel of your store and manage your storefront appearance here, please enable the \u201cNext-gen look and feel of the product list on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),p=(r("",__('To improve the look and feel of your product page and manage your its appearance here, please enable the \u201cNext-gen look and feel of the product page on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),u.isNewDetailsPage),w=Object(c.a)(u.attributes,e);return[a,wp.element.createElement(s,null,o.default_product_id>0&&wp.element.createElement(m,null,wp.element.createElement("div",{className:"ec-store-inspector-row"},wp.element.createElement("label",{className:"ec-store-inspector-subheader"},__("Linked product","ecwid-shopping-cart"))),wp.element.createElement("div",{className:"ec-store-inspector-row"},EcwidGutenbergParams.products&&EcwidGutenbergParams.products[o.default_product_id]&&wp.element.createElement("label",null,EcwidGutenbergParams.products[o.default_product_id].name),wp.element.createElement("button",{className:"button",onClick:function(){return t(e)}},__("Change","ecwid-shopping-cart")))),!o.default_product_id&&wp.element.createElement(m,null,wp.element.createElement("button",{className:"button",onClick:function(){return t(e)}},__("Choose product","ecwid-shopping-cart"))),wp.element.createElement(m,{title:__("Appearance","ecwid-shopping-cart"),initialOpen:!1},p&&[w.select("product_details_layout"),("TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"===o.product_details_layout||"TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"===o.product_details_layout)&&w.toggle("show_description_under_image"),w.toolbar("product_details_gallery_layout"),Object(c.c)(__("Product sidebar content","ecwid-shopping-cart")),w.toggle("product_details_show_product_name"),w.toggle("product_details_show_breadcrumbs"),w.toggle("product_details_show_product_sku"),w.toggle("product_details_show_product_price"),w.toggle("product_details_show_qty"),w.toggle("product_details_show_number_of_items_in_stock"),w.toggle("product_details_show_in_stock_label"),w.toggle("product_details_show_wholesale_prices"),w.toggle("product_details_show_share_buttons")],!p&&i),wp.element.createElement(m,{title:__("Color settings","ecwid-shopping-cart"),initialOpen:!1},w.color("chameleon_color_button"),w.color("chameleon_color_foreground"),w.color("chameleon_color_price"),w.color("chameleon_color_link"),w.color("chameleon_color_background")))]},save:function(e){return null}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(29),n=(r.n(o),r(30)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.blocks.registerBlockType),s=wp.editor.InspectorControls,p=wp.components,m=p.PanelBody,d=(p.PanelRow,p.ToggleControl,p.ButtonGroup,p.Button,p.BaseControl),u=(p.Toolbar,p.ColorPalette,p.ColorIndicator,wp.compose.withState,EcwidGutenbergParams.blockParams["ec-store/filters-page"]);i("ec-store/filters-page",{title:__("Product Search and filters","ecwid-shopping-cart"),icon:l.a.filters,category:"ec-store",attributes:u.attributes,description:__("Display search page with filters on a side","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){function t(e,t){return wp.element.createElement(d,{label:e},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}var r=e.attributes,o=wp.element.createElement(c.d,{props:e,attributes:r,icon:l.a.filters,title:__("Search and Filters","ecwid-shopping-cart")},wp.element.createElement(c.e,{state:"SEARCH_FILTERS_PAGE"})),n=t("",__('You can enable filters in the store settings: (\u201c<a target="_blank" href="admin.php?page=ec-store-admin-product-filters-mode-main">Settings \u2192 Product Filters</a>\u201d).',"ecwid-shopping-cart")),a=t("",__('To improve the look and feel of your store and manage your storefront appearance here, please enable the \u201cNext-gen look and feel of the product list on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),i=u.isNewProductList,p=Object(c.a)(u.attributes,e);return[o,wp.element.createElement(s,null,wp.element.createElement(m,{title:__("Filters","ecwid-shopping-cart"),initialOpen:!1},!u.filtersEnabled&&n,u.filtersEnabled&&[p.select("product_filters_position_search_page")]),wp.element.createElement(m,{title:__("Product List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[p.toggle("product_list_show_product_images"),r.product_list_show_product_images&&[p.buttonGroup("product_list_image_size"),p.toolbar("product_list_image_aspect_ratio")],p.toolbar("product_list_product_info_layout"),p.select("product_list_title_behavior"),p.select("product_list_price_behavior"),p.select("product_list_sku_behavior"),p.select("product_list_buybutton_behavior"),p.toggle("product_list_show_additional_image_on_hover"),p.toggle("product_list_show_frame")],!i&&a),wp.element.createElement(m,{title:__("Store Navigation","ecwid-shopping-cart"),initialOpen:!1},p.toggle("show_categories"),p.toggle("show_breadcrumbs"),i&&p.toggle("show_footer_menu"),p.toggle("show_signin_link"),p.toggle("product_list_show_sort_viewas_options")),wp.element.createElement(m,{title:__("Color settings","ecwid-shopping-cart"),initialOpen:!1},p.color("chameleon_color_button"),p.color("chameleon_color_foreground"),p.color("chameleon_color_price"),p.color("chameleon_color_link"),p.color("chameleon_color_background")))]},save:function(e){return null}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(32),n=(r.n(o),r(33)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.blocks.registerBlockType),s=(wp.editor.InspectorControls,wp.components),p=(s.PanelBody,s.PanelRow,s.ToggleControl,s.ButtonGroup,s.Button,s.BaseControl,s.Toolbar,s.ColorPalette,s.ColorIndicator,wp.compose.withState,EcwidGutenbergParams.blockParams["ec-store/cart-page"]);i("ec-store/cart-page",{title:__("Cart and Checkout","ecwid-shopping-cart"),icon:l.a.cartPage,category:"ec-store",attributes:p.attributes,description:__("Display shopping cart and checkout page","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){var t=e.attributes;return[wp.element.createElement(c.d,{props:e,attributes:t,icon:l.a.cartPage,title:__("Cart and Checkout","ecwid-shopping-cart")},wp.element.createElement("div",{className:"ec-store-block-cart-page"},wp.element.createElement(c.b,{src:"cart-page-preview.png"})))]},save:function(e){return null}})},function(e,t){},function(e,t){}]);
|
1 |
+
!function(e){function t(o){if(r[o])return r[o].exports;var n=r[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,o){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",function(){return c});var n,l,c={ecwid:wp.element.createElement("svg",{class:"ec-store-icon",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 215 215","enable-background":"new 0 0 215 215"},wp.element.createElement("g",{fill:"#0087cd"},wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M160.68,163.34c-3.67,0-6.65,2.98-6.65,6.66c0,3.68,2.98,6.66,6.65,6.66 c3.68,0,6.66-2.98,6.66-6.66C167.34,166.32,164.36,163.34,160.68,163.34z"}),wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M53.46,162.51c-3.67,0-6.65,2.98-6.65,6.66c0,3.68,2.98,6.66,6.65,6.66 c3.68,0,6.66-2.98,6.66-6.66C60.12,165.49,57.14,162.51,53.46,162.51z"}),wp.element.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M166.12,0H48.88C21.89,0,0,21.89,0,48.89v117.23c0,27,21.89,48.88,48.88,48.88 h117.24c27,0,48.88-21.88,48.88-48.88V48.88C215,21.89,193.11,0,166.12,0z M134.43,57.85c5.36,0,9.7,4.34,9.7,9.7 c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C124.73,62.19,129.07,57.85,134.43,57.85z M134.43,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S129.07,85.25,134.43,85.25z M107.09,57.85 c5.36,0,9.7,4.34,9.7,9.7c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C97.39,62.19,101.73,57.85,107.09,57.85z M107.09,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S101.73,85.25,107.09,85.25z M79.75,57.85 c5.36,0,9.7,4.34,9.7,9.7c0,5.36-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7C70.05,62.19,74.39,57.85,79.75,57.85z M79.75,85.25 c5.36,0,9.7,4.34,9.7,9.7s-4.34,9.7-9.7,9.7c-5.36,0-9.7-4.34-9.7-9.7S74.39,85.25,79.75,85.25z M53.46,187.72 c-10.24,0-18.55-8.31-18.55-18.55c0-10.25,8.31-18.56,18.55-18.56c10.25,0,18.56,8.31,18.56,18.56 C72.03,179.41,63.71,187.72,53.46,187.72z M160.68,188.55c-10.24,0-18.55-8.31-18.55-18.55c0-10.25,8.31-18.56,18.55-18.56 c10.25,0,18.56,8.31,18.56,18.56C179.24,180.24,170.93,188.55,160.68,188.55z M193.27,37.66l-19.18,71.44 c-5.12,19.07-21.28,31.04-41.03,31.04h-12.65c-4.18,0-10.23-2.26-12.74-4.62c-0.42-0.39-1.08-0.39-1.5,0 c-2.51,2.36-8.56,4.62-12.74,4.62h-13.9c-19.12,0-33.61-10.9-39.41-29.12L23.81,59.86c-0.32-1.02-0.15-2.1,0.49-2.97 c0.63-0.86,1.6-1.36,2.69-1.36l3.12,0.01c7.52,0.03,14.11,4.86,16.38,12.02l11.98,37.62c3.24,10.19,13.61,17.04,24.3,17.04 l4.65-0.01c4.8,0,8.18-2.46,10.22-4.66c1.06-1.15,2.54-1.82,4.11-1.82l10.44,0.01c1.48,0,2.92,0.59,3.91,1.68 c1.98,2.17,5.49,4.79,10.33,4.79l4.43,0.01c11.04,0,21.75-7.45,24.62-18.11l15.53-57.84c2.03-7.53,8.88-12.78,16.67-12.78l2.74,0 c0.26,0,0.52,0.04,0.76,0.14C192.93,34.37,193.7,36.08,193.27,37.66z"}))),store:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("g",{fill:"none","fill-rule":"evenodd",stroke:"currentColor","stroke-linejoin":"round","stroke-width":"2",transform:"translate(0 3)"},wp.element.createElement("path",{d:"M20 7L20 17C20 18.1045695 19.1045695 19 18 19L4 19C2.8954305 19 2 18.1045695 2 17L2 7 2 7M1 0L21 0 21.5808632 3.48517907C21.8145004 4.88700236 20.8935617 6.22128765 19.5 6.5L18.9764235 6.60471529C17.7961226 6.84077548 16.5971903 6.29508301 16 5.25L16 5.25 16 5.25 15.7442084 5.69763529C15.2840087 6.50298484 14.4275622 7 13.5 7 12.5724378 7 11.7159913 6.50298484 11.2557916 5.69763529L11 5.25 11 5.25 10.7442084 5.69763529C10.2840087 6.50298484 9.42756224 7 8.5 7 7.57243776 7 6.71599134 6.50298484 6.25579159 5.69763529L6 5.25 6 5.25C5.40280971 6.29508301 4.20387741 6.84077548 3.02357646 6.60471529L2.5 6.5C1.10643827 6.22128765.185499607 4.88700236.419136822 3.48517907L1 0 1 0z"}),wp.element.createElement("polygon",{points:"7 11 15 11 15 19 7 19"}))),product:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("g",{fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"},wp.element.createElement("path",{stroke:"currentColor","stroke-width":"2",d:"M5.5638852,7 L18.4361148,7 C19.3276335,7 19.6509198,7.09282561 19.9768457,7.2671327 C20.3027716,7.4414398 20.5585602,7.69722837 20.7328673,8.0231543 C20.9071744,8.34908022 21,8.67236646 21,9.5638852 L21,20.4361148 C21,21.3276335 20.9071744,21.6509198 20.7328673,21.9768457 C20.5585602,22.3027716 20.3027716,22.5585602 19.9768457,22.7328673 C19.6509198,22.9071744 19.3276335,23 18.4361148,23 L5.5638852,23 C4.67236646,23 4.34908022,22.9071744 4.0231543,22.7328673 C3.69722837,22.5585602 3.4414398,22.3027716 3.2671327,21.9768457 C3.09282561,21.6509198 3,21.3276335 3,20.4361148 L3,9.5638852 C3,8.67236646 3.09282561,8.34908022 3.2671327,8.0231543 C3.4414398,7.69722837 3.69722837,7.4414398 4.0231543,7.2671327 C4.34908022,7.09282561 4.67236646,7 5.5638852,7 Z"}),wp.element.createElement("path",{stroke:"currentColor","stroke-width":"2",d:"M8,10 L8,6 C8,3.790861 9.790861,2 12,2 C14.209139,2 16,3.790861 16,6 L16,10 L16,10"}))),aspect169:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"9",y:"14",width:"22",height:"12",rx:"2"}))),aspect916:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"}," ",wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"14",y:"9",width:"12",height:"22",rx:"2"}))),aspect11:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"12",y:"12",width:"16",height:"16",rx:"2"}))),aspect34:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"12",y:"10",width:"16",height:"20",rx:"2"}))),aspect43:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"10",y:"12",width:"20",height:"16",rx:"2"}))),textalignleft:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"16",width:"9",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"19",width:"13",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"22",width:"9",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"}))),textaligncenter:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"16",y:"16",width:"8",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"14",y:"19",width:"12",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"16",y:"22",width:"8",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"}))),textalignright:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"18",y:"16",width:"9",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"14",y:"19",width:"13",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"18",y:"22",width:"9",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"}))),textalignjustify:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",zoomAndPan:"1.5",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"13",y:"13",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"16",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"19",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"22",width:"14",height:"2"}),wp.element.createElement("rect",{fill:"#000000",x:"13",y:"25",width:"14",height:"2"}))),productLayout3Columns:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",transform:"translate(13.000000, 19.500000) rotate(-270.000000) translate(-13.000000, -19.500000) ",x:"3.5",y:"16.5",width:"19",height:"6",rx:"1"}),wp.element.createElement("rect",{fill:"#000000",x:"18",y:"10",width:"5",height:"19"}),wp.element.createElement("rect",{fill:"#000000",x:"25",y:"10",width:"5",height:"8"}),wp.element.createElement("rect",{fill:"#000000",x:"25",y:"19",width:"5",height:"10"}))),productLayout2ColumnsLeft:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("rect",{fill:"#000000",x:"17",y:"10",width:"13",height:"19",rx:"1"}),wp.element.createElement("rect",{fill:"#000000",x:"10",y:"10",width:"5",height:"5"}),wp.element.createElement("rect",{fill:"#000000",x:"10",y:"17",width:"5",height:"12"}))),productLayout2ColumnsRight:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(10.000000, 10.000000)",fill:"#000000"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"}),wp.element.createElement("rect",{x:"15",y:"0",width:"5",height:"5"}),wp.element.createElement("rect",{x:"15",y:"7",width:"5",height:"12"})))),productLayout2ColumnsBottom:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(10.000000, 10.000000)",fill:"#000000"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"12",rx:"1"}),wp.element.createElement("rect",{x:"15",y:"0",width:"5",height:"12"}),wp.element.createElement("rect",{x:"0",y:"14",width:"20",height:"5"})))),galleryLayoutHorizontal:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(20.000000, 20.500000) rotate(-180.000000) translate(-20.000000, -20.500000) translate(10.000000, 11.000000)",fill:"#000000","fill-rule":"nonzero"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"}),wp.element.createElement("rect",{x:"15",y:"0",width:"5",height:"6"}),wp.element.createElement("rect",{x:"15",y:"14",width:"5",height:"5"}),wp.element.createElement("rect",{x:"15",y:"7",width:"5",height:"6"})))),galleryLayoutVertical:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(19.500000, 20.000000) rotate(-270.000000) translate(-19.500000, -20.000000) translate(9.500000, 10.500000)",fill:"#000000","fill-rule":"nonzero"},wp.element.createElement("rect",{x:"0",y:"-1.13686838e-13",width:"13",height:"19",rx:"1"}),wp.element.createElement("rect",{x:"15",y:"-1.13686838e-13",width:"5",height:"6"}),wp.element.createElement("rect",{x:"15",y:"7",width:"5",height:"5"}),wp.element.createElement("rect",{x:"15",y:"13",width:"5",height:"6"})))),galleryLayoutFeed:wp.element.createElement("svg",{width:"40px",height:"40px",viewBox:"0 0 40 40",version:"1.1"},wp.element.createElement("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{transform:"translate(20.500000, 12.500000) rotate(-270.000000) translate(-20.500000, -12.500000) translate(14.000000, 3.000000)",fill:"#000000","fill-rule":"nonzero"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"})),wp.element.createElement("g",{transform:"translate(20.500000, 27.500000) rotate(-270.000000) translate(-20.500000, -27.500000) translate(14.000000, 18.000000)",fill:"#000000","fill-rule":"nonzero"},wp.element.createElement("rect",{x:"0",y:"0",width:"13",height:"19",rx:"1"})))),cart:wp.element.createElement("svg",(n={class:"ec-store-icon-color"},o(n,"class","ec-store-icon-color"),o(n,"width","24px"),o(n,"height","24px"),o(n,"viewBox","0 0 24 24"),o(n,"version","1.1"),n),wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-352.000000, -415.000000)"},wp.element.createElement("g",{id:"cart-icon",transform:"translate(352.000000, 415.000000)"},wp.element.createElement("path",{d:"M4.5269723,4 L2,4 C1.44771525,4 1,3.55228475 1,3 C1,2.44771525 1.44771525,2 2,2 L5.33333333,2 C5.80393835,2 6.21086155,2.32812702 6.31061146,2.788039 L7.22413999,7 L21,7 C21.6640252,7 22.143636,7.63527258 21.9617572,8.27390353 L19.968471,15.272927 C19.8460922,15.7026358 19.4535094,15.9990234 19.0067139,15.9990234 L7.93579102,15.9990234 C7.465186,15.9990234 7.0582628,15.6708964 6.95851289,15.2109844 L4.5269723,4 Z M7.65791824,9 L8.74215205,13.9990234 L18.2517453,13.9990234 L19.6754416,9 L7.65791824,9 Z",id:"Path-3","fill-rule":"nonzero"}),wp.element.createElement("circle",{id:"Oval-2",cx:"9",cy:"20",r:"2"}),wp.element.createElement("circle",{id:"Oval-2",cx:"18",cy:"20",r:"2"}))))),search:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18"},wp.element.createElement("g",{fill:"none","fill-rule":"evenodd",stroke:"currentColor","stroke-linecap":"round","stroke-width":"2",transform:"translate(1.667 1.667)"},wp.element.createElement("line",{x1:"10.667",x2:"14.667",y1:"10.667",y2:"14.667"}),wp.element.createElement("circle",{cx:"6",cy:"6",r:"6","stroke-linejoin":"round"}))),categories:wp.element.createElement("svg",(l={class:"ec-store-icon-color"},o(l,"class","ec-store-icon-color"),o(l,"width","24px"),o(l,"height","24px"),o(l,"viewBox","0 0 24 24"),o(l,"version","1.1"),l),wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-234.000000, -416.000000)"},wp.element.createElement("g",{id:"categories-icon",transform:"translate(234.000000, 416.000000)"},wp.element.createElement("polygon",{id:"Triangle",points:"3 2 5.5 7 0.5 7"}),wp.element.createElement("polygon",{id:"Line","fill-rule":"nonzero",points:"8 6 8 4 23 4 23 6"}),wp.element.createElement("polygon",{id:"Line","fill-rule":"nonzero",points:"8 13 8 11 23 11 23 13"}),wp.element.createElement("polygon",{id:"Line","fill-rule":"nonzero",points:"8 20 8 18 23 18 23 20"}),wp.element.createElement("rect",{id:"Rectangle",stroke:"currentColor","stroke-width":"2",fill:"#FFFFFF",x:"2",y:"11",width:"2",height:"2"}),wp.element.createElement("rect",{id:"Rectangle",stroke:"currentColor","stroke-width":"2",fill:"#FFFFFF",x:"2",y:"18",width:"2",height:"2",rx:"1"}))))),category:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4.5638852 2L7.4361148 2C8.32763354 2 8.65091978 2.09282561 8.9768457 2.2671327 9.30277163 2.4414398 9.5585602 2.69722837 9.7328673 3.0231543 9.90717439 3.34908022 10 3.67236646 10 4.5638852L10 7.4361148C10 8.32763354 9.90717439 8.65091978 9.7328673 8.9768457 9.5585602 9.30277163 9.30277163 9.5585602 8.9768457 9.7328673 8.65091978 9.90717439 8.32763354 10 7.4361148 10L4.5638852 10C3.67236646 10 3.34908022 9.90717439 3.0231543 9.7328673 2.69722837 9.5585602 2.4414398 9.30277163 2.2671327 8.9768457 2.09282561 8.65091978 2 8.32763354 2 7.4361148L2 4.5638852C2 3.67236646 2.09282561 3.34908022 2.2671327 3.0231543 2.4414398 2.69722837 2.69722837 2.4414398 3.0231543 2.2671327 3.34908022 2.09282561 3.67236646 2 4.5638852 2zM4.5638852 14L7.4361148 14C8.32763354 14 8.65091978 14.0928256 8.9768457 14.2671327 9.30277163 14.4414398 9.5585602 14.6972284 9.7328673 15.0231543 9.90717439 15.3490802 10 15.6723665 10 16.5638852L10 19.4361148C10 20.3276335 9.90717439 20.6509198 9.7328673 20.9768457 9.5585602 21.3027716 9.30277163 21.5585602 8.9768457 21.7328673 8.65091978 21.9071744 8.32763354 22 7.4361148 22L4.5638852 22C3.67236646 22 3.34908022 21.9071744 3.0231543 21.7328673 2.69722837 21.5585602 2.4414398 21.3027716 2.2671327 20.9768457 2.09282561 20.6509198 2 20.3276335 2 19.4361148L2 16.5638852C2 15.6723665 2.09282561 15.3490802 2.2671327 15.0231543 2.4414398 14.6972284 2.69722837 14.4414398 3.0231543 14.2671327 3.34908022 14.0928256 3.67236646 14 4.5638852 14zM16.5638852 2L19.4361148 2C20.3276335 2 20.6509198 2.09282561 20.9768457 2.2671327 21.3027716 2.4414398 21.5585602 2.69722837 21.7328673 3.0231543 21.9071744 3.34908022 22 3.67236646 22 4.5638852L22 7.4361148C22 8.32763354 21.9071744 8.65091978 21.7328673 8.9768457 21.5585602 9.30277163 21.3027716 9.5585602 20.9768457 9.7328673 20.6509198 9.90717439 20.3276335 10 19.4361148 10L16.5638852 10C15.6723665 10 15.3490802 9.90717439 15.0231543 9.7328673 14.6972284 9.5585602 14.4414398 9.30277163 14.2671327 8.9768457 14.0928256 8.65091978 14 8.32763354 14 7.4361148L14 4.5638852C14 3.67236646 14.0928256 3.34908022 14.2671327 3.0231543 14.4414398 2.69722837 14.6972284 2.4414398 15.0231543 2.2671327 15.3490802 2.09282561 15.6723665 2 16.5638852 2zM16.5638852 14L19.4361148 14C20.3276335 14 20.6509198 14.0928256 20.9768457 14.2671327 21.3027716 14.4414398 21.5585602 14.6972284 21.7328673 15.0231543 21.9071744 15.3490802 22 15.6723665 22 16.5638852L22 19.4361148C22 20.3276335 21.9071744 20.6509198 21.7328673 20.9768457 21.5585602 21.3027716 21.3027716 21.5585602 20.9768457 21.7328673 20.6509198 21.9071744 20.3276335 22 19.4361148 22L16.5638852 22C15.6723665 22 15.3490802 21.9071744 15.0231543 21.7328673 14.6972284 21.5585602 14.4414398 21.3027716 14.2671327 20.9768457 14.0928256 20.6509198 14 20.3276335 14 19.4361148L14 16.5638852C14 15.6723665 14.0928256 15.3490802 14.2671327 15.0231543 14.4414398 14.6972284 14.6972284 14.4414398 15.0231543 14.2671327 15.3490802 14.0928256 15.6723665 14 16.5638852 14z"})),button:wp.element.createElement("svg",{class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1"},wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-345.000000, -280.000000)","fill-rule":"nonzero"},wp.element.createElement("g",{id:"button-icon",transform:"translate(345.000000, 280.000000)"},wp.element.createElement("path",{d:"M4,8 L4,16 L20,16 L20,8 L4,8 Z M4,6 L20,6 C21.1045695,6 22,6.8954305 22,8 L22,16 C22,17.1045695 21.1045695,18 20,18 L4,18 C2.8954305,18 2,17.1045695 2,16 L2,8 C2,6.8954305 2.8954305,6 4,6 Z",id:"Rectangle-5"}),wp.element.createElement("path",{d:"M13.8320367,9.8101295 C14.2137832,9.41102047 14.8467917,9.3969454 15.2459008,9.77869195 C15.6450098,10.1604385 15.6590849,10.793447 15.2773383,11.192556 L12.2122748,14.3970238 C11.8300377,14.7966458 11.1960253,14.8101668 10.7970986,14.427204 L9.5128579,13.1943549 C9.11444327,12.8118837 9.10151859,12.1788506 9.48398981,11.780436 C9.86646103,11.3820214 10.4994941,11.3690967 10.8979087,11.7515679 L11.4594438,12.290632 L13.8320367,9.8101295 Z",id:"Line-6"}))))),productPreview:wp.element.createElement("svg",{width:"72px",height:"72px",viewBox:"0 0 72 72",version:"1.1"},wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets",transform:"translate(-625.000000, -811.000000)",fill:"#AAAAAA"},wp.element.createElement("g",{id:"Group-2",transform:"translate(571.000000, 756.000000)"},wp.element.createElement("g",{id:"product-preview",transform:"translate(54.000000, 55.000000)"},wp.element.createElement("path",{d:"M6,25 L6,69 L66,69 L66,25 L6,25 Z M4,23 L68,23 L68,71 L4,71 L4,23 Z",id:"Rectangle-2-Copy-2","fill-rule":"nonzero"}),wp.element.createElement("path",{d:"M36.5,23.5 L65.836706,23.5 L67.2237665,22.8226349 L55.0328393,7.34740904 L39.8812213,0.895706316 L40.7501329,7.5 L17.0403124,7.5 L5.04031242,22.5 L6.32093727,22.5 L17.5209373,8.5 L36.5,8.5 L36.5,23.5 Z M42.9573255,16.6099474 L41.1011835,2.50206036 L54.4056315,8.16722056 L66.5284549,23.5566573 L42.9573255,16.6099474 Z",id:"Combined-Shape",stroke:"#AAAAAA"}),wp.element.createElement("path",{d:"M29.8056641,41.53125 C29.9375,38.2060547 32.2080078,35.6865234 36.4560547,35.6865234 C40.3232422,35.6865234 42.9306641,37.9863281 42.9306641,41.1210938 C42.9306641,43.3916016 41.7880859,44.9882812 39.8544922,46.1455078 C37.9648438,47.2587891 37.4228516,48.0351562 37.4228516,49.5439453 L37.4228516,50.4375 L34.390625,50.4375 L34.3759766,49.265625 C34.3027344,47.2001953 35.1962891,45.8818359 37.203125,44.6806641 C38.9755859,43.6113281 39.6054688,42.7617188 39.6054688,41.2529297 C39.6054688,39.5976562 38.3017578,38.3818359 36.2949219,38.3818359 C34.2734375,38.3818359 32.9697266,39.5976562 32.8378906,41.53125 L29.8056641,41.53125 Z M35.9287109,57.2197266 C34.859375,57.2197266 34.0097656,56.3994141 34.0097656,55.3300781 C34.0097656,54.2607422 34.859375,53.4404297 35.9287109,53.4404297 C37.0273438,53.4404297 37.8623047,54.2607422 37.8623047,55.3300781 C37.8623047,56.3994141 37.0273438,57.2197266 35.9287109,57.2197266 Z",id:"?"})))))),filters:wp.element.createElement("svg",{class:"ec-store-icon-color",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("g",{fill:"none","fill-rule":"evenodd","stroke-linecap":"round"},wp.element.createElement("line",{x1:"2",x2:"22",y1:"7",y2:"7",stroke:"currentColor","stroke-width":"2"}),wp.element.createElement("line",{x1:"6",x2:"18",y1:"13",y2:"13",stroke:"currentColor","stroke-width":"2"}),wp.element.createElement("line",{x1:"11",x2:"13",y1:"19",y2:"19",stroke:"currentColor","stroke-width":"2"}))),cartPage:wp.element.createElement("svg",{class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1"},wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-470.000000, -500.000000)"},wp.element.createElement("g",{id:"cart-icon",transform:"translate(470.000000, 500.000000)"},wp.element.createElement("g",{id:"Group-6",transform:"translate(2.000000, 3.000000)"},wp.element.createElement("path",{d:"M2.5269723,1 L0,1 C-0.55228475,1 -1,0.55228475 -1,-1.11022302e-16 C-1,-0.55228475 -0.55228475,-1 0,-1 L3.33333333,-1 C3.80393835,-1 4.21086155,-0.671872981 4.31061146,-0.211960997 L6.74215205,10.9990234 L16.2517453,10.9990234 L17.6754416,6 L17.0067139,6 C16.4544291,6 16.0067139,5.55228475 16.0067139,5 C16.0067139,4.44771525 16.4544291,4 17.0067139,4 L19,4 C19.6640252,4 20.143636,4.63527258 19.9617572,5.27390353 L17.968471,12.272927 C17.8460922,12.7026358 17.4535094,12.9990234 17.0067139,12.9990234 L5.93579102,12.9990234 C5.465186,12.9990234 5.0582628,12.6708964 4.95851289,12.2109844 L2.5269723,1 Z",id:"Path-3","fill-rule":"nonzero"}),wp.element.createElement("path",{d:"M13.6266547,1.30878828 C14.0084012,0.909679249 14.6414097,0.895604177 15.0405188,1.27735072 C15.4396278,1.65909727 15.4537029,2.29210579 15.0719563,2.69121482 L11.0068929,6.89568259 C10.6246557,7.29530459 9.99064332,7.30882561 9.59171662,6.92586281 L7.61584318,5.00113813 C7.21742856,4.61866691 7.20450388,3.98563386 7.5869751,3.58721924 C7.96944632,3.18880462 8.60247937,3.17587994 9.00089399,3.55835116 L10.2540618,4.78929076 L13.6266547,1.30878828 Z",id:"Line-6","fill-rule":"nonzero"}),wp.element.createElement("circle",{id:"Oval-2",cx:"7",cy:"17",r:"2"}),wp.element.createElement("circle",{id:"Oval-2",cx:"16",cy:"17",r:"2"})))))),latestProducts:wp.element.createElement("svg",{class:"ec-store-icon-color",width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1"},wp.element.createElement("g",{id:"Typography",stroke:"none","stroke-width":"1","fill-rule":"evenodd"},wp.element.createElement("g",{id:"gutenberg-widgets-icons",transform:"translate(-470.000000, -416.000000)","fill-rule":"nonzero"},wp.element.createElement("g",{transform:"translate(470.000000, 416.000000)"},wp.element.createElement("path",{d:"M5,17 L5,20 L9,20 L9,17 L5,17 Z M3,15 L11,15 L11,22 L3,22 L3,15 Z",id:"Rectangle-2"}),wp.element.createElement("path",{d:"M5,8 L5,11 L9,11 L9,8 L5,8 Z M3,6 L11,6 L11,13 L3,13 L3,6 Z",id:"Rectangle-2-Copy"}),wp.element.createElement("path",{d:"M15,17 L15,20 L19,20 L19,17 L15,17 Z M13,15 L21,15 L21,22 L13,22 L13,15 Z",id:"Rectangle-2"}),wp.element.createElement("path",{d:"M15,8 L15,11 L19,11 L19,8 L15,8 Z M13,6 L21,6 L21,13 L13,13 L13,6 Z",id:"Rectangle-2-Copy-3"})))))}},function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e,t){var r=t.attributes,n=function(e,t,n,l){return wp.element.createElement(g,{label:n},wp.element.createElement(u,{className:"ec-store-inspector-button-group"},l.map(function(n){return wp.element.createElement(w,{isPrimary:r[t]===n.value,onClick:function(){return e.setAttributes(o({},t,n.value))}},n.title)})))},l=function(e,t,r){return wp.element.createElement(_,{label:r,checked:e.attributes[t],onChange:function(){return e.setAttributes(o({},t,!e.attributes[t]))}})},c=function(e,t,r,n){return wp.element.createElement(g,{label:r},wp.element.createElement("select",{className:"ec-store-control-select",onChange:function(r){e.setAttributes(o({},t,r.target.value))}},n.map(function(r){return wp.element.createElement("option",{value:r.value,selected:e.attributes[t]==r.value},r.title)})))},a=function(e,t,r){return wp.element.createElement(g,{label:r},wp.element.createElement("input",{type:"text",value:e.attributes[t],onChange:function(r){e.setAttributes(o({},t,r.target.value))}}))},i=function(e,t,r,n){return wp.element.createElement(g,{label:r},wp.element.createElement(h,{controls:n.map(function(r){return{icon:p.a[r.icon],title:r.title,isActive:e.attributes[t]===r.value,className:"ecwid-toolbar-icon",onClick:function(){return e.setAttributes(o({},t,r.value))}}})}))},s=function(t,r,n,l){var a="DEFAULT_CATEGORY_ID"==t.attributes[r],i=e.default_category_id,s="";i.values&&i.values.length>1&&(s=c(t,i.name,i.title,i.values));var p=l.map(function(e){return{value:e.value,label:wp.element.createElement("div",null,wp.element.createElement("span",{className:"ec-store-inspector-radio__title"},e.title),wp.element.createElement("p",null,e.description),"DEFAULT_CATEGORY_ID"==e.value&&a&&[s])}});return wp.element.createElement(g,null,wp.element.createElement(b,{label:n,className:"ec-store-inspector-radio",options:p,selected:t.attributes[r],onChange:function(e){return t.setAttributes(o({},r,e))}}))};return{buttonGroup:function(r){var o=e[r];return n(t,o.name,o.title,o.values)},toggle:function(r){var o=e[r];return l(t,o.name,o.title)},select:function(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e[r];return c(t,n.name,o||n.title,n.values)},textbox:function(r){var o=e[r];return builtTextbox(t,o.name,o.title)},toolbar:function(r){var o=e[r];return i(t,o.name,o.title,o.values)},color:function(r){return wp.element.createElement(m.a,{props:t,name:r,title:e[r].title})},defaultCategoryId:function(r){var o=e[r];return o.values&&o.values.length>1?c(t,o.name,o.title,o.values):a(t,o.name,o.title)},radioButtonWithDescription:function(r){var o=e[r];return s(t,o.name,o.title,o.values)}}}function l(e){return wp.element.createElement("div",{className:"ec-store-inspector-subheader-row"},wp.element.createElement("label",{className:"ec-store-inspector-subheader"},e))}function c(e,t){for(var r=e.props,o=t.split(" "),n=r.clientId,l="#ec-store-block-"+n,c=jQuery(l).data("ec-store-block-stored-properties"),a=!1,i={},s=0;s<o.length;s++){var p=o[s];c&&r.attributes[p]==c[p]||(a=!0),i[p]=r.attributes[p]}return jQuery(l).data("ec-store-block-stored-properties",i),a}function a(e){var t=e.props,r=e.attributes,o=t.clientId,n=t.attributes.show_categories,l=t.attributes.show_search,a="undefined"===typeof e.render||e.render,i="ec-store-block-"+o,s="";t.attributes.default_category_id?s="defaultCategoryId="+t.attributes.default_category_id:t.attributes.default_product_id&&(s="defaultProductId="+t.attributes.default_product_id);var p="ec-store-generic-block ec-store-dynamic-block";a&&document.getElementById(i)&&document.getElementById(i).getAttribute("data-ec-store-rendered")||(p+=" ec-store-block"),n&&(p+=" ec-store-with-categories"),l&&(p+=" ec-store-with-search");var m=c(e,"default_product_id default_category_id show_search show_categories");return a&&m&&(document.getElementById(i)&&document.getElementById(i).removeAttribute("data-ec-store-rendered"),"undefined"!=typeof EcwidGutenberg&&setTimeout(function(){EcwidGutenberg.refresh()})),window.ec=window.ec||{},window.ec.storefront=window.ec.storefront||{},window.ec.config=window.ec.config||{},window.ec.config.chameleon=window.ec.config.chameleon||{},window.ec.config.chameleon.colors=[],Object.keys(r).map(function(e){var o=r[e],n="undefined"!==typeof t.attributes[e]?t.attributes[e]:r.default;-1!==e.indexOf("chameleon")?n&&(window.ec.config.chameleon.colors["color-"+e.substr(16)]=n):"undefined"!=typeof n&&(window.ec.storefront[o.name]=n)}),"undefined"!=typeof Ecwid&&Ecwid.refreshConfig&&Ecwid.refreshConfig(),wp.element.createElement("div",{className:p,"data-ec-store-widget":"productbrowser","data-ec-store-id":o,"data-ec-store-args":s,"data-ec-store-with-search":l,"data-ec-store-with-categories":n,id:i},wp.element.createElement("div",{className:"ec-store-block-header"},e.icon,e.title),wp.element.createElement("div",{className:"ec-store-block-content"},e.children),e.showDemoButton&&wp.element.createElement("div",null,wp.element.createElement("a",{className:"button button-primary",href:"admin.php?page=ec-store"},__("Set up your store","ecwid-shopping-cart"))))}function i(e){var t=EcwidGutenbergParams.imagesUrl+e.src,r="";return""!=e.className&&(r=e.className),wp.element.createElement("img",{src:t,className:r})}function s(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return wp.element.createElement("div",{className:e},wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block ec-store-product-filter"},wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-b_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"}),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_hat"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))};switch(e.state){case"EXPAND_CATEGORIES":return function(){return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Category #1","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))),wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Category #2","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))}();case"SHOW_ROOT_CATEGORIES":return function(){return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Featured Products","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-m_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-p_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_hat"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-b_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_bag"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-p_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))}();case"DEFAULT_CATEGORY_ID":return function(){return wp.element.createElement("div",null,wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Category #1","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_watch"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_bag"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_hat"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))}();case"FILTERS_PAGE":return t();case"SEARCH_FILTERS_PAGE":return t("ec-store-block-filters-page");default:return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!=e&&(e=wp.element.createElement("h5",null,e)),wp.element.createElement("div",null,wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Categories","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-sneaker"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-bag"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-shirt"}))),wp.element.createElement("div",{className:"ec-store-block-subheader"},__("Featured Products","ecwid-shopping-cart")),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-g_sneaker"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-p_shirt"}),wp.element.createElement("div",{className:"ec-store-stub-sample"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-product-b_hat"}),wp.element.createElement("div",{className:"ec-store-stub-sample"}))))}()}}r.d(t,"a",function(){return n}),r.d(t,"c",function(){return l}),r.d(t,"b",function(){return i}),r.d(t,"d",function(){return a}),r.d(t,"e",function(){return s});var p=r(0),m=r(6),d=wp.components,u=d.ButtonGroup,w=d.Button,g=d.BaseControl,h=d.Toolbar,_=d.ToggleControl,b=d.RadioControl,__=wp.i18n.__},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=(r(3),r(7),r(10),r(13),r(16),r(19),r(22),r(25),r(28),r(31),r(0));wp.blocks.updateCategory("ec-store",{icon:o.a.ecwid})},function(e,t,r){"use strict";var o=r(4),n=(r.n(o),r(5)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.blocks.registerBlockType),s=wp.blockEditor.InspectorControls,p=wp.components,m=p.PanelBody,d=(p.PanelRow,p.ToggleControl,p.ButtonGroup,p.Button,p.BaseControl),u=(p.Toolbar,p.ColorPalette,p.ColorIndicator,wp.compose.withState,EcwidGutenbergParams.blockParams["ecwid/store-block"]);i("ecwid/store-block",{title:__("Store Home Page","ecwid-shopping-cart"),icon:l.a.store,category:"ec-store",attributes:u.attributes,description:__("Add storefront (product listing)","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){function t(e,t){return wp.element.createElement(d,{label:e},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}if(Object.keys(e.attributes).length<=1)for(var r in u.attributes)u.attributes.hasOwnProperty(r)&&(e.attributes[r]=u.attributes[r].default);var o=e.attributes;e.setAttributes({widgets:""});var n=t("",__('To improve the look and feel of your store and manage your storefront appearance here, please enable the \u201cNext-gen look and feel of the product list on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),a=t(__("Display cart icon","ecwid-shopping-cart"),u.customizeMinicartText),i=(t("",__('To improve the look and feel of your product page and manage its appearance here, please enable the \u201cNext-gen look and feel of the product page on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),u.isNewProductList),p=u.isNewDetailsPage,w=u.isEnabledProductSubtitles,g=u.attributes.default_category_id&&u.attributes.default_category_id.values&&u.attributes.default_category_id.values.length>0;g&&"DEFAULT_CATEGORY_ID"==o.storefront_view||e.setAttributes({default_category_id:""});var h=Object(c.a)(u.attributes,e);return g||e.setAttributes({storefront_view:"COLLAPSE_CATEGORIES"}),[wp.element.createElement(c.d,{props:e,attributes:o,icon:l.a.store,title:__("Store Home Page","ecwid-shopping-cart"),showDemoButton:u.isDemoStore},wp.element.createElement(c.e,{state:o.storefront_view})),wp.element.createElement(s,null,g&&wp.element.createElement(m,{title:__("Category List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[h.select("product_list_category_title_behavior"),"SHOW_TEXT_ONLY"!==o.product_list_category_title_behavior&&[h.buttonGroup("product_list_category_image_size"),h.toolbar("product_list_category_image_aspect_ratio")]],!i&&n),wp.element.createElement(m,{title:__("Product List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[h.toggle("product_list_show_product_images"),o.product_list_show_product_images&&[h.buttonGroup("product_list_image_size"),h.toolbar("product_list_image_aspect_ratio")],h.toolbar("product_list_product_info_layout"),h.select("product_list_title_behavior"),w&&h.select("product_list_subtitles_behavior"),h.select("product_list_price_behavior"),h.select("product_list_sku_behavior"),h.select("product_list_buybutton_behavior"),h.toggle("product_list_show_additional_image_on_hover"),h.toggle("product_list_show_frame")],!i&&n),wp.element.createElement(m,{title:__("Product Page Appearance","ecwid-shopping-cart"),initialOpen:!1},p&&[h.select("product_details_layout"),("TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"===o.product_details_layout||"TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"===o.product_details_layout)&&h.toggle("show_description_under_image"),h.toolbar("product_details_gallery_layout"),Object(c.c)(__("Product sidebar content","ecwid-shopping-cart")),h.toggle("product_details_show_product_name"),w&&h.toggle("product_details_show_subtitle"),h.toggle("product_details_show_breadcrumbs"),h.toggle("product_details_show_product_sku"),h.toggle("product_details_show_product_price"),h.toggle("product_details_show_qty"),h.toggle("product_details_show_number_of_items_in_stock"),h.toggle("product_details_show_in_stock_label"),h.toggle("product_details_show_wholesale_prices"),h.toggle("product_details_show_share_buttons")],!p&&n),g&&wp.element.createElement(m,{title:__("Store Front Page","ecwid-shopping-cart"),initialOpen:!1},h.radioButtonWithDescription("storefront_view")),wp.element.createElement(m,{title:__("Store Navigation","ecwid-shopping-cart"),initialOpen:!1},h.toggle("show_categories"),h.toggle("show_search"),h.toggle("show_breadcrumbs"),i&&h.toggle("show_footer_menu"),h.toggle("show_signin_link"),h.toggle("product_list_show_sort_viewas_options"),a),wp.element.createElement(m,{title:__("Color settings","ecwid-shopping-cart"),initialOpen:!1},h.color("chameleon_color_button"),h.color("chameleon_color_foreground"),h.color("chameleon_color_price"),h.color("chameleon_color_link"),h.color("chameleon_color_background")))]},save:function(e){var t=["productbrowser"];e.attributes.show_categories&&(t[t.length]="categories"),e.attributes.show_search&&(t[t.length]="search");var r={widgets:t.join(" "),default_category_id:"undefined"!==typeof e.attributes.default_category_id?e.attributes.default_category_id:""};return new wp.shortcode({tag:u.shortcodeName,attrs:r,type:"single"}).string()},deprecated:[{attributes:{widgets:{type:"string"},categories_per_row:{type:"integer"},grid:{type:"string"},list:{type:"integer"},table:{type:"integer"},default_category_id:{type:"integer"},default_product_id:{type:"integer"},category_view:{type:"string"},search_view:{type:"string"},minicart_layout:{type:"string"}},save:function(e){return null}},{attributes:{widgets:{type:"string",default:"productbrowser"},default_category_id:{type:"integer",default:0}},migrate:function(e){return{widgets:e.widgets,default_category_id:e.default_category_id}},save:function(e){for(var t={},r=["widgets","default_category_id"],o=0;o<r.length;o++)t[r[o]]=e.attributes[r[o]];return t.default_product_id=0,new wp.shortcode({tag:u.shortcodeName,attrs:t,type:"single"}).string()}},{save:function(e){return"[ecwid]"}},{save:function(e){return'[ecwid widgets="productbrowser" default_category_id="0" default_product_id="0"]'}},{save:function(e){return'[ecwid widgets="productbrowser" default_category_id="0"]'}}],transforms:{from:[{type:"shortcode",tag:["ecwid","ec_store"],attributes:{default_category_id:{type:"integer",shortcode:function(e){return e.default_category_id}},show_categories:{type:"boolean",shortcode:function(e){return-1!==e.named.widgets.indexOf("categories")}},show_search:{type:"boolean",shortcode:function(e){return-1!==e.named.widgets.indexOf("search")}}},priority:10}]}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){function t(e){l(function(t){return{manual:"manual",color:e}}),m.setAttributes(o({},s,e))}var r=e.manual,n=e.color,l=e.setState,s=arguments[0].name,m=arguments[0].props,d=arguments[0].title,u=null===r&&null!==m.attributes[s]&&""!==m.attributes[s]||"manual"===r;u?null!==n&&m.setAttributes(o({},s,n)):m.setAttributes(o({},s,null));var w=m.attributes[s],g=wp.element.createElement("span",null,d,null!==w&&wp.element.createElement(i,{colorValue:m.attributes[s]}));return wp.element.createElement(c,{label:g,className:"ec-store-color-picker"},wp.element.createElement("select",{onChange:function(e){return l(function(e){return{manual:event.target.value,color:e.color}})}},wp.element.createElement("option",{value:"auto",selected:!u},__("Detect automatically","ecwid-shopping-cart")),wp.element.createElement("option",{value:"manual",selected:u},__("Set manually","ecwid-shopping-cart"))),u&&wp.element.createElement(a,{value:w,colors:p,onChange:t}))}r.d(t,"a",function(){return m});var l=wp.components,c=l.BaseControl,a=l.ColorPalette,i=l.ColorIndicator,s=wp.compose.withState,__=wp.i18n.__,p=[{name:__("Pale pink"),slug:"pale-pink",color:"#f78da7"},{name:__("Vivid red"),slug:"vivid-red",color:"#cf2e2e"},{name:__("Luminous vivid orange"),slug:"luminous-vivid-orange",color:"#ff6900"},{name:__("Luminous vivid amber"),slug:"luminous-vivid-amber",color:"#fcb900"},{name:__("Light green cyan"),slug:"light-green-cyan",color:"#7bdcb5"},{name:__("Vivid green cyan"),slug:"vivid-green-cyan",color:"#00d084"},{name:__("Pale cyan blue"),slug:"pale-cyan-blue",color:"#8ed1fc"},{name:__("Vivid cyan blue"),slug:"vivid-cyan-blue",color:"#0693e3"},{name:__("Very light gray"),slug:"very-light-gray",color:"#eeeeee"},{name:__("Cyan bluish gray"),slug:"cyan-bluish-gray",color:"#abb8c3"},{name:__("Very dark gray"),slug:"very-dark-gray",color:"#313131"}],m=s({manual:null,color:null})(n)},function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n=r(8),l=(r.n(n),r(9)),c=(r.n(l),r(0)),a=r(1),i=wp.i18n,__=i.__,_x=i._x,s=wp.blocks.registerBlockType,p=wp.blockEditor.InspectorControls,m=wp.components,d=m.PanelBody,u=m.ToggleControl,w=(wp.compose.withState,wp.element.Fragment,EcwidGutenbergParams.blockParams["ecwid/product-block"]);s("ecwid/product-block",{title:__("Product Card Small","ecwid-shopping-cart"),icon:c.a.product,category:"ec-store",attributes:{id:{type:"integer"},show_picture:{type:"boolean",default:!0},show_title:{type:"boolean",default:!0},show_price:{type:"boolean",default:!0},show_options:{type:"boolean",default:!0},show_qty:{type:"boolean",default:!1},show_addtobag:{type:"boolean",default:!0},show_price_on_button:{type:"boolean",default:!0},show_border:{type:"boolean",default:!0},center_align:{type:"boolean",default:!0}},description:__("Display product with a buy button","ecwid-shopping-cart"),alignWide:!1,supports:{customClassName:!1,className:!1,html:!1,align:!0,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(e){function t(e,t,r){return wp.element.createElement(u,{label:r,checked:e.attributes[t],onChange:function(){return e.setAttributes(o({},t,!e.attributes[t]))}})}function r(e){ecwid_open_product_popup({saveCallback:l,props:e})}var n=e.attributes;console.log(e);var l=function(e){var t={id:e.newProps.product.id};EcwidGutenbergParams.products[e.newProps.product.id]={name:e.newProps.product.name,imageUrl:e.newProps.product.thumb},e.originalProps.setAttributes(t)};return[wp.element.createElement(a.d,{props:e,attributes:n,icon:c.a.product,title:__("Product Card Small","ecwid-shopping-cart"),showDemoButton:w.isDemoStore},wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block ec-store-product-block-small"},EcwidGutenbergParams.products&&n.id&&EcwidGutenbergParams.products[n.id]&&wp.element.createElement("div",{className:"ec-store-block-image"},wp.element.createElement("img",{src:EcwidGutenbergParams.products[n.id].imageUrl})),!n.id&&wp.element.createElement("div",{className:"ec-store-product ec-store-product-y_sneaker"}),!n.id&&wp.element.createElement("div",{className:"ec-store-stub-sample"}),!n.id&&wp.element.createElement("div",null,wp.element.createElement("button",{className:"button ec-store-block-button",onClick:function(){var t={saveCallback:l,props:e};ecwid_open_product_popup(t)}},EcwidGutenbergParams.chooseProduct)),EcwidGutenbergParams.products&&n.id&&EcwidGutenbergParams.products[n.id]&&wp.element.createElement("div",{className:"ec-store-product-title"},EcwidGutenbergParams.products[n.id].name)))),wp.element.createElement(p,null,n.id&&wp.element.createElement(d,null,wp.element.createElement("div",{className:"ec-store-inspector-row"},wp.element.createElement("label",{className:"ec-store-inspector-subheader"},__("Displayed product","ecwid-shopping-cart"))),wp.element.createElement("div",{className:"ec-store-inspector-row"},EcwidGutenbergParams.products&&EcwidGutenbergParams.products[n.id]&&wp.element.createElement("label",null,EcwidGutenbergParams.products[n.id].name),wp.element.createElement("button",{className:"button",onClick:function(){return r(e)}},__("Change","ecwid-shopping-cart")))),!n.id&&wp.element.createElement(d,null,wp.element.createElement("button",{className:"button",onClick:function(){return r(e)}},__("Choose product","ecwid-shopping-cart"))),wp.element.createElement(d,{title:_x("Content","gutenberg-product-block","ecwid-shopping-cart"),initialOpen:!1},t(e,"show_picture",__("Picture","ecwid-shopping-cart")),t(e,"show_title",__("Title","ecwid-shopping-cart")),t(e,"show_price",__("Price","ecwid-shopping-cart")),t(e,"show_options",__("Options","ecwid-shopping-cart")),t(e,"show_qty",__("Quantity","ecwid-shopping-cart")),t(e,"show_addtobag",__("\xabBuy now\xbb button","ecwid-shopping-cart"))),wp.element.createElement(d,{title:__("Appearance","ecwid-shopping-cart"),initialOpen:!1},t(e,"show_price_on_button",__("Show price inside the \xabBuy now\xbb button","ecwid-shopping-cart")),t(e,"show_border",__("Add border","ecwid-shopping-cart")),t(e,"center_align",__("Center align on a page","ecwid-shopping-cart"))))]},save:function(e){return!1}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n=r(11),l=(r.n(n),r(12)),c=(r.n(l),r(0)),a=r(1),i=wp.i18n,__=i.__,s=(i._x,wp.blocks),p=(s.BlockControls,s.registerBlockType),m=wp.blockEditor.InspectorControls,d=wp.components,u=d.PanelBody,w=d.ToggleControl;wp.compose.withState,wp.element.Fragment;p("ec-store/buynow",{title:__("Buy Now Button","ecwid-shopping-cart"),icon:c.a.button,category:"ec-store",attributes:{id:{type:"integer"},show_price_on_button:{type:"boolean",default:!0},center_align:{type:"boolean",default:!0}},description:__("Display a buy button","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,align:!0,alignWide:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(e){function t(e,t,r){return wp.element.createElement(w,{label:r,checked:e.attributes[t],onChange:function(){return e.setAttributes(o({},t,!e.attributes[t]))}})}function r(e){ecwid_open_product_popup({saveCallback:l,props:e})}var n=e.attributes,l=function(e){var t={id:e.newProps.id};EcwidGutenbergParams.products[e.newProps.id]={name:e.newProps.product.name,imageUrl:e.newProps.product.thumb},e.originalProps.setAttributes(t)};return[wp.element.createElement(a.d,{props:e,attributes:n,icon:c.a.button,title:__("Buy Now Button","ecwid-shopping-cart")},wp.element.createElement("div",{className:"ec-store-block-cart-page"},wp.element.createElement(a.b,{src:"buy-now-preview.png",className:"ec-store-block-buynow-preview"})),!n.id&&wp.element.createElement("div",{className:"button-container"},wp.element.createElement("button",{className:"button ec-store-block-button",onClick:function(){var t={saveCallback:l,props:e};ecwid_open_product_popup(t)}},EcwidGutenbergParams.chooseProduct))),wp.element.createElement(m,null,n.id&&wp.element.createElement(u,null,wp.element.createElement("div",{className:"ec-store-inspector-row"},wp.element.createElement("label",{className:"ec-store-inspector-subheader"},__("Linked product","ecwid-shopping-cart"))),wp.element.createElement("div",{className:"ec-store-inspector-row"},EcwidGutenbergParams.products&&EcwidGutenbergParams.products[n.id]&&wp.element.createElement("label",null,EcwidGutenbergParams.products[n.id].name),wp.element.createElement("button",{className:"button",onClick:function(){return r(e)}},__("Change","ecwid-shopping-cart")))),!n.id&&wp.element.createElement(u,null,wp.element.createElement("button",{className:"button",onClick:function(){return r(e)}},__("Choose product","ecwid-shopping-cart"))),wp.element.createElement(u,{title:__("Appearance","ecwid-shopping-cart"),initialOpen:!1},t(e,"show_price_on_button",__("Show price inside the \xabBuy now\xbb button","ecwid-shopping-cart")),t(e,"center_align",__("Center align on a page","ecwid-shopping-cart"))))]},save:function(e){return!1}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(14),n=(r.n(o),r(15)),l=(r.n(n),r(0)),c=wp.i18n,__=c.__;c._x;(0,wp.blocks.registerBlockType)("ec-store/search",{title:__("Product Search Box","ecwid-shopping-cart"),icon:l.a.search,category:"ec-store",description:__("Display search box","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(e){return e.attributes,[wp.element.createElement("div",{className:"ec-store-block ec-store-block-search"},wp.element.createElement("div",{class:"image"}))]},save:function(e){return!1}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(17),n=(r.n(o),r(18)),l=(r.n(n),r(0)),c=r(1);if(!EcwidGutenbergParams.isDemoStore){var a=wp.editor.InspectorControls,i=wp.components.PanelBody,s=wp.i18n,__=s.__,p=(s._x,wp.blocks.registerBlockType),m=EcwidGutenbergParams.blockParams["ec-store/categories"];p("ec-store/categories",{title:__("Store Categories Menu","ecwid-shopping-cart"),icon:l.a.categories,category:"ec-store",description:__("Display categories navigation bar","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable},example:{},edit:function(e){var t=(e.attributes,wp.element.createElement("div",{className:"ec-store-block ec-store-block-categories"},wp.element.createElement("div",{className:"ec-store-block-header"},wp.element.createElement("div",null,__("Categories","ecwid-shopping-cart")),wp.element.createElement(c.b,{src:"categories-menu-preview.png",className:"ec-store-categories-menu"})))),r=__('The block is hidden because you don\'t have categories in your store. <a target="_blank" href="admin.php?page=ec-store-admin-category-id-0-mode-edit">Add categories.</a>',"ecwid-shopping-cart");return[t,wp.element.createElement(a,null,wp.element.createElement(i,null,wp.element.createElement("div",{style:{height:"10px"}}),!m.has_categories&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:r}})))]},save:function(e){return!1}})}},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(20),n=(r.n(o),r(21)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.blockEditor.InspectorControls),s=wp.components,p=s.PanelBody;s.BaseControl;(0,wp.blocks.registerBlockType)("ec-store/minicart",{title:__("Shopping Cart Icon","ecwid-shopping-cart"),icon:l.a.cart,category:"ec-store",description:__("Display shopping bag link and summary","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,inserter:EcwidGutenbergParams.isApiAvailable,isPrivate:!EcwidGutenbergParams.isApiAvailable,align:!0,alignWide:!1},attributes:EcwidGutenbergParams.minicartAttributes,example:{},edit:function(e){function t(e,t,o){var n=EcwidGutenbergParams.minicartAttributes[t];return"undefined"===typeof o&&(o=n.type),r.select(t)}var r=(e.attributes,Object(c.a)(EcwidGutenbergParams.minicartAttributes,e));return[wp.element.createElement("div",{className:"ec-store-block ec-store-block-minicart"},wp.element.createElement("div",{className:"image"})),wp.element.createElement(i,null,wp.element.createElement(p,{title:__("Appearance","ecwid-shopping-cart"),initialOpen:!0},t(e,"layout","select"),t(e,"icon","select"),t(e,"fixed_shape","select")))]},save:function(e){return!1}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(23),n=(r.n(o),r(24)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,l.a,wp.blocks.registerBlockType),s=wp.blockEditor.InspectorControls,p=wp.components,m=p.PanelBody,d=p.BaseControl,u=EcwidGutenbergParams.blockParams["ec-store/category-page"];i("ec-store/category-page",{title:__("Store Category Page","ecwid-shopping-cart"),icon:l.a.category,category:"ec-store",attributes:EcwidGutenbergStoreBlockParams.attributes,description:__("Display category page","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){function t(e,t){return wp.element.createElement(d,{label:e},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}var r=e.attributes;e.setAttributes({widgets:""});var o=wp.element.createElement(c.d,{props:e,attributes:r,icon:l.a.category,title:__("Store Category Page","ecwid-shopping-cart"),showDemoButton:u.isDemoStore},wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-sneaker"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-bag"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-shirt"}))),wp.element.createElement("div",{className:"ec-store-products"},wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-hat"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-watch"})),wp.element.createElement("div",{className:"ec-store-product-block"},wp.element.createElement("div",{className:"ec-store-product ec-store-category-glasses"})))),n=t("",__('To improve the look and feel of your store and manage your storefront appearance here, please enable the \u201cNext-gen look and feel of the product list on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),a=t(__("Display cart icon","ecwid-shopping-cart"),u.customizeMinicartText),i=u.isNewProductList,p=u.isNewDetailsPage,w=Object(c.a)(u.attributes,e);return[o,wp.element.createElement(s,null,wp.element.createElement(m,null,!EcwidGutenbergParams.hasCategories&&wp.element.createElement("div",{style:{margin:"10px"}},wp.element.createElement("a",{href:"admin.php?page=ec-store-admin-category-id-0-mode-edit",target:"_blank",class:"button button-primary"},__("Add categories","ecwid-shopping-cart"))),EcwidGutenbergParams.hasCategories&&[!e.attributes.default_category_id&&w.select("default_category_id",__("Select category","ecwid-shopping-cart")),e.attributes.default_category_id&&w.select("default_category_id",__("Selected category","ecwid-shopping-cart"))]),wp.element.createElement(m,{title:__("Category List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[w.select("product_list_category_title_behavior"),"SHOW_TEXT_ONLY"!==r.product_list_category_title_behavior&&[w.buttonGroup("product_list_category_image_size"),w.toolbar("product_list_category_image_aspect_ratio")]],!i&&n),wp.element.createElement(m,{title:__("Product List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[w.toggle("product_list_show_product_images"),r.product_list_show_product_images&&[w.buttonGroup("product_list_image_size"),w.toolbar("product_list_image_aspect_ratio")],w.toolbar("product_list_product_info_layout"),w.select("product_list_title_behavior"),w.select("product_list_price_behavior"),w.select("product_list_sku_behavior"),w.select("product_list_buybutton_behavior"),w.toggle("product_list_show_additional_image_on_hover"),w.toggle("product_list_show_frame")],!i&&n),wp.element.createElement(m,{title:__("Product Page Appearance","ecwid-shopping-cart"),initialOpen:!1},p&&[w.select("product_details_layout"),("TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"===r.product_details_layout||"TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"===r.product_details_layout)&&w.toggle("show_description_under_image"),w.toolbar("product_details_gallery_layout"),Object(c.c)(__("Product sidebar content","ecwid-shopping-cart")),w.toggle("product_details_show_product_name"),w.toggle("product_details_show_breadcrumbs"),w.toggle("product_details_show_product_sku"),w.toggle("product_details_show_product_price"),w.toggle("product_details_show_qty"),w.toggle("product_details_show_number_of_items_in_stock"),w.toggle("product_details_show_in_stock_label"),w.toggle("product_details_show_wholesale_prices"),w.toggle("product_details_show_share_buttons")],!p&&productDetailsMigrationWarning),wp.element.createElement(m,{title:__("Store Navigation","ecwid-shopping-cart"),initialOpen:!1},w.toggle("show_categories"),w.toggle("show_search"),w.toggle("show_breadcrumbs"),i&&w.toggle("show_footer_menu"),w.toggle("show_signin_link"),w.toggle("product_list_show_sort_viewas_options"),a),wp.element.createElement(m,{title:__("Color settings","ecwid-shopping-cart"),initialOpen:!1},w.color("chameleon_color_button"),w.color("chameleon_color_foreground"),w.color("chameleon_color_price"),w.color("chameleon_color_link"),w.color("chameleon_color_background")))]},save:function(e){return null}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(26),n=(r.n(o),r(27)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.blocks.registerBlockType),s=wp.blockEditor.InspectorControls,p=wp.components,m=p.PanelBody,d=p.BaseControl,u=(wp.compose.withState,EcwidGutenbergParams.blockParams["ec-store/product-page"]);i("ec-store/product-page",{title:__("Product Card Large","ecwid-shopping-cart"),icon:l.a.product,category:"ec-store",attributes:u.attributes,description:__("Display product page with description and a buy button","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){function t(e){ecwid_open_product_popup({saveCallback:n,props:e})}function r(e,t){return wp.element.createElement(d,{label:e},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}var o=e.attributes,n=function(e){var t={default_product_id:e.newProps.product.id};EcwidGutenbergParams.products[e.newProps.product.id]={name:e.newProps.product.name,imageUrl:e.newProps.product.thumb},e.originalProps.setAttributes(t)},a=wp.element.createElement(c.d,{props:e,attributes:o,icon:l.a.product,title:__("Product Card Large","ecwid-shopping-cart")},wp.element.createElement(c.b,{src:"product-page-preview.png",className:"ec-store-product-page-preview"}),!o.default_product_id&&wp.element.createElement("div",{className:"button-container"},wp.element.createElement("button",{className:"button ec-store-block-button",onClick:function(){var t={saveCallback:n,props:e};ecwid_open_product_popup(t)}},EcwidGutenbergParams.chooseProduct))),i=r("",__('To improve the look and feel of your store and manage your storefront appearance here, please enable the \u201cNext-gen look and feel of the product list on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),p=(r("",__('To improve the look and feel of your product page and manage your its appearance here, please enable the \u201cNext-gen look and feel of the product page on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),u.isNewDetailsPage),w=Object(c.a)(u.attributes,e);return[a,wp.element.createElement(s,null,o.default_product_id>0&&wp.element.createElement(m,null,wp.element.createElement("div",{className:"ec-store-inspector-row"},wp.element.createElement("label",{className:"ec-store-inspector-subheader"},__("Linked product","ecwid-shopping-cart"))),wp.element.createElement("div",{className:"ec-store-inspector-row"},EcwidGutenbergParams.products&&EcwidGutenbergParams.products[o.default_product_id]&&wp.element.createElement("label",null,EcwidGutenbergParams.products[o.default_product_id].name),wp.element.createElement("button",{className:"button",onClick:function(){return t(e)}},__("Change","ecwid-shopping-cart")))),!o.default_product_id&&wp.element.createElement(m,null,wp.element.createElement("button",{className:"button",onClick:function(){return t(e)}},__("Choose product","ecwid-shopping-cart"))),wp.element.createElement(m,{title:__("Appearance","ecwid-shopping-cart"),initialOpen:!1},p&&[w.select("product_details_layout"),("TWO_COLUMNS_SIDEBAR_ON_THE_RIGHT"===o.product_details_layout||"TWO_COLUMNS_SIDEBAR_ON_THE_LEFT"===o.product_details_layout)&&w.toggle("show_description_under_image"),w.toolbar("product_details_gallery_layout"),Object(c.c)(__("Product sidebar content","ecwid-shopping-cart")),w.toggle("product_details_show_product_name"),w.toggle("product_details_show_breadcrumbs"),w.toggle("product_details_show_product_sku"),w.toggle("product_details_show_product_price"),w.toggle("product_details_show_qty"),w.toggle("product_details_show_number_of_items_in_stock"),w.toggle("product_details_show_in_stock_label"),w.toggle("product_details_show_wholesale_prices"),w.toggle("product_details_show_share_buttons")],!p&&i),wp.element.createElement(m,{title:__("Color settings","ecwid-shopping-cart"),initialOpen:!1},w.color("chameleon_color_button"),w.color("chameleon_color_foreground"),w.color("chameleon_color_price"),w.color("chameleon_color_link"),w.color("chameleon_color_background")))]},save:function(e){return null}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(29),n=(r.n(o),r(30)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.blocks.registerBlockType),s=wp.blockEditor.InspectorControls,p=wp.components,m=p.PanelBody,d=(p.PanelRow,p.ToggleControl,p.ButtonGroup,p.Button,p.BaseControl),u=(p.Toolbar,p.ColorPalette,p.ColorIndicator,wp.compose.withState,EcwidGutenbergParams.blockParams["ec-store/filters-page"]);i("ec-store/filters-page",{title:__("Product Search and filters","ecwid-shopping-cart"),icon:l.a.filters,category:"ec-store",attributes:u.attributes,description:__("Display search page with filters on a side","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){function t(e,t){return wp.element.createElement(d,{label:e},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}var r=e.attributes,o=wp.element.createElement(c.d,{props:e,attributes:r,icon:l.a.filters,title:__("Search and Filters","ecwid-shopping-cart")},wp.element.createElement(c.e,{state:"SEARCH_FILTERS_PAGE"})),n=t("",__('You can enable filters in the store settings: (\u201c<a target="_blank" href="admin.php?page=ec-store-admin-product-filters-mode-main">Settings \u2192 Product Filters</a>\u201d).',"ecwid-shopping-cart")),a=t("",__('To improve the look and feel of your store and manage your storefront appearance here, please enable the \u201cNext-gen look and feel of the product list on the storefront\u201d option in your store dashboard (\u201c<a href="admin.php?page=ec-store&ec-store-page=whatsnew">Settings \u2192 What\u2019s New</a>\u201d).',"ecwid-shopping-cart")),i=u.isNewProductList,p=Object(c.a)(u.attributes,e);return[o,wp.element.createElement(s,null,wp.element.createElement(m,{title:__("Filters","ecwid-shopping-cart"),initialOpen:!1},!u.filtersEnabled&&n,u.filtersEnabled&&[p.select("product_filters_position_search_page")]),wp.element.createElement(m,{title:__("Product List Appearance","ecwid-shopping-cart"),initialOpen:!1},i&&[p.toggle("product_list_show_product_images"),r.product_list_show_product_images&&[p.buttonGroup("product_list_image_size"),p.toolbar("product_list_image_aspect_ratio")],p.toolbar("product_list_product_info_layout"),p.select("product_list_title_behavior"),p.select("product_list_price_behavior"),p.select("product_list_sku_behavior"),p.select("product_list_buybutton_behavior"),p.toggle("product_list_show_additional_image_on_hover"),p.toggle("product_list_show_frame")],!i&&a),wp.element.createElement(m,{title:__("Store Navigation","ecwid-shopping-cart"),initialOpen:!1},p.toggle("show_categories"),p.toggle("show_breadcrumbs"),i&&p.toggle("show_footer_menu"),p.toggle("show_signin_link"),p.toggle("product_list_show_sort_viewas_options")),wp.element.createElement(m,{title:__("Color settings","ecwid-shopping-cart"),initialOpen:!1},p.color("chameleon_color_button"),p.color("chameleon_color_foreground"),p.color("chameleon_color_price"),p.color("chameleon_color_link"),p.color("chameleon_color_background")))]},save:function(e){return null}})},function(e,t){},function(e,t){},function(e,t,r){"use strict";var o=r(32),n=(r.n(o),r(33)),l=(r.n(n),r(0)),c=r(1),a=wp.i18n,__=a.__,i=(a._x,wp.blocks.registerBlockType),s=(wp.blockEditor.InspectorControls,wp.components),p=(s.PanelBody,s.PanelRow,s.ToggleControl,s.ButtonGroup,s.Button,s.BaseControl,s.Toolbar,s.ColorPalette,s.ColorIndicator,wp.compose.withState,EcwidGutenbergParams.blockParams["ec-store/cart-page"]);i("ec-store/cart-page",{title:__("Cart and Checkout","ecwid-shopping-cart"),icon:l.a.cartPage,category:"ec-store",attributes:p.attributes,description:__("Display shopping cart and checkout page","ecwid-shopping-cart"),supports:{customClassName:!1,className:!1,html:!1,multiple:!1,inserter:!EcwidGutenbergParams.isWidgetsScreen},example:{},edit:function(e){var t=e.attributes;return[wp.element.createElement(c.d,{props:e,attributes:t,icon:l.a.cartPage,title:__("Cart and Checkout","ecwid-shopping-cart")},wp.element.createElement("div",{className:"ec-store-block-cart-page"},wp.element.createElement(c.b,{src:"cart-page-preview.png"})))]},save:function(e){return null}})},function(e,t){},function(e,t){}]);
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: Ecwid
|
3 |
Tags: ecommerce, e-commerce, storefront, shopping cart, online store
|
4 |
Requires at least: 4.4
|
5 |
-
Tested up to:
|
6 |
-
Stable tag: 6.10.
|
7 |
|
8 |
Powerful, easy to use ecommerce shopping cart for WordPress. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
|
9 |
|
@@ -152,6 +152,10 @@ You can use Ecwid’s built-in import tools to copy your store products from any
|
|
152 |
|
153 |
== Changelog ==
|
154 |
|
|
|
|
|
|
|
|
|
155 |
= 6.10.20 - Mar 29, 2022 =
|
156 |
- New “Developers” page in the WordPress admin panel (WordPress admin > Ecwid > Developers). The page gives you an overview of plugin features where you can easily find all store blocks we have for popular page editors and quickly access advanced plugin settings. You can find information about external services Ecwid is integrated with and quickly access our APIs if you want to build a custom app. You will also find out how to earn a lifetime commission for every new client you refer to Ecwid. If you see something needs to be improved in the plugin or you want to integrate a third-party plugin, please, send us any feedback via the “Leave Feedback” button at the bottom of the “Developers” page.
|
157 |
- Improvements for compatibility of the shopping cart category menu with WPML plugin. Some ecommerce sites had an issue with category links in multilingual mode when enabling the WPML plugin. We’ve fixed that.
|
2 |
Contributors: Ecwid
|
3 |
Tags: ecommerce, e-commerce, storefront, shopping cart, online store
|
4 |
Requires at least: 4.4
|
5 |
+
Tested up to: 6.0
|
6 |
+
Stable tag: 6.10.21
|
7 |
|
8 |
Powerful, easy to use ecommerce shopping cart for WordPress. Sell on Facebook and Instagram. iPhone & Android apps. Superb support. Free plan available.
|
9 |
|
152 |
|
153 |
== Changelog ==
|
154 |
|
155 |
+
= 6.10.21 - May 24, 2022 =
|
156 |
+
- **WordPress 6.0 compatibility.** The new WordPress version will be released soon. The Ecwid ecommerce shopping cart plugin is ready for the new release — everything works well in your WordPress admin and storefront pages. Feel free to upgrade your site to WordPress 6.0.
|
157 |
+
- Minor fixes for Gutenberg ecommerce blocks.
|
158 |
+
|
159 |
= 6.10.20 - Mar 29, 2022 =
|
160 |
- New “Developers” page in the WordPress admin panel (WordPress admin > Ecwid > Developers). The page gives you an overview of plugin features where you can easily find all store blocks we have for popular page editors and quickly access advanced plugin settings. You can find information about external services Ecwid is integrated with and quickly access our APIs if you want to build a custom app. You will also find out how to earn a lifetime commission for every new client you refer to Ecwid. If you see something needs to be improved in the plugin or you want to integrate a third-party plugin, please, send us any feedback via the “Leave Feedback” button at the bottom of the “Developers” page.
|
161 |
- Improvements for compatibility of the shopping cart category menu with WPML plugin. Some ecommerce sites had an issue with category links in multilingual mode when enabling the WPML plugin. We’ve fixed that.
|
templates/admin/developers.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
<div class="settings-page__titles settings-page__titles--left">
|
4 |
<h1 class="settings-page__title"><?php echo esc_html( __( 'Developers', 'ecwid-shopping-cart' ) );?></h1>
|
5 |
<div class="settings-page__subtitle">
|
6 |
-
<?php echo esc_html( __( 'Build the store your client needs with the
|
7 |
</div>
|
8 |
</div>
|
9 |
</div>
|
@@ -12,10 +12,10 @@
|
|
12 |
<div class="named-area__header">
|
13 |
<div class="named-area__titles">
|
14 |
<div class="named-area__title">
|
15 |
-
<?php echo esc_html( __( '
|
16 |
</div>
|
17 |
<div class="named-area__subtitle">
|
18 |
-
<?php echo esc_html( __( 'Extend your site with an easy-to-use plugin
|
19 |
</div>
|
20 |
</div>
|
21 |
<div class="named-area__description"></div>
|
@@ -37,7 +37,7 @@
|
|
37 |
<div class="titled-item__title"></div>
|
38 |
<div class="titled-item__content">
|
39 |
<div>
|
40 |
-
<?php echo esc_html( __( 'Add store components to any place of your WordPress site using shortcodes or WordPress builders and editors.', 'ecwid-shopping-cart' ) );?>
|
41 |
</div>
|
42 |
</div>
|
43 |
</div>
|
@@ -69,7 +69,7 @@
|
|
69 |
<?php echo esc_html( __( 'Shortcodes', 'ecwid-shopping-cart'));?>
|
70 |
</div>
|
71 |
<div class="cta-block__content">
|
72 |
-
<?php echo esc_html( __( 'Add shortcodes to WordPress site to apply basic changes to your store appearance.', 'ecwid-shopping-cart' ) );?>
|
73 |
</div>
|
74 |
</div>
|
75 |
<div class="cta-block__cta">
|
@@ -95,7 +95,7 @@
|
|
95 |
<?php echo esc_html( __( 'Store blocks for Gutenberg', 'ecwid-shopping-cart'));?>
|
96 |
</div>
|
97 |
<div class="cta-block__content">
|
98 |
-
<?php echo esc_html( __( 'Add store plugin to WordPress site in Gutenberg block editor, with no
|
99 |
</div>
|
100 |
</div>
|
101 |
<div class="cta-block__cta">
|
@@ -121,7 +121,7 @@
|
|
121 |
<?php echo esc_html( __( 'Store blocks for Elementor', 'ecwid-shopping-cart'));?>
|
122 |
</div>
|
123 |
<div class="cta-block__content">
|
124 |
-
<?php echo esc_html( __( 'Create a store from your website with Ecwid plugin and Elementor page builder, no coding required.', 'ecwid-shopping-cart' ) );?>
|
125 |
</div>
|
126 |
</div>
|
127 |
<div class="cta-block__cta">
|
@@ -207,7 +207,7 @@
|
|
207 |
</div>
|
208 |
</div>
|
209 |
<div class="cta-block__cta">
|
210 |
-
<a href="https://api-docs.ecwid.com/reference/customize-appearance" target="_blank" type="button" class="btn btn-default btn-medium"> <span><?php echo esc_html( __( '
|
211 |
</div>
|
212 |
</div>
|
213 |
</div>
|
@@ -251,7 +251,7 @@
|
|
251 |
</div>
|
252 |
<div class="cta-block__cta">
|
253 |
<?php if( class_exists('woocommerce') && class_exists('Ecwid_Importer') ) {?>
|
254 |
-
<a href="<?php echo admin_url('admin.php?page=ec-store-import-woocommerce');?>" target="_blank" type="button" class="btn btn-default btn-medium"> <span><?php echo esc_html( __( '
|
255 |
<?php } else { ?>
|
256 |
<a href="https://support.ecwid.com/hc/en-us/articles/360000049040" target="_blank" type="button" class="btn btn-default btn-medium"> <span><?php echo esc_html( __( 'Learn More', 'ecwid-shopping-cart'));?></span> </a>
|
257 |
<?php } ?>
|
@@ -426,14 +426,14 @@
|
|
426 |
<div class="cta-block">
|
427 |
<div class="cta-block__central">
|
428 |
<div class="cta-block__title">
|
429 |
-
<?php echo esc_html( __( '
|
430 |
</div>
|
431 |
<div class="cta-block__content">
|
432 |
-
<?php echo esc_html( __( '
|
433 |
</div>
|
434 |
</div>
|
435 |
<div class="cta-block__cta">
|
436 |
-
<a href="https://ecommerce-store.typeform.com/to/Heh5d4?utm_source=wp-plugin" target="_blank" type="button" class="btn btn-default btn-medium"> <span><?php echo esc_html( __( '
|
437 |
</div>
|
438 |
</div>
|
439 |
</div>
|
@@ -493,7 +493,7 @@
|
|
493 |
<?php echo esc_html( __( 'Request custom development', 'ecwid-shopping-cart' ) );?>
|
494 |
</div>
|
495 |
<div class="cta-block__content">
|
496 |
-
<?php echo esc_html( __( 'Ecwid team can help you build the desired features and options that Ecwid does not have out of the box — from integrations with other tools to your own mobile app. Custom development is a paid service, the price depends on the complexity of the request.', 'ecwid-shopping-cart' ) );?>
|
497 |
</div>
|
498 |
</div>
|
499 |
<div class="cta-block__cta">
|
@@ -519,7 +519,7 @@
|
|
519 |
<?php echo esc_html( __( 'Leave feedback', 'ecwid-shopping-cart' ) );?>
|
520 |
</div>
|
521 |
<div class="cta-block__content">
|
522 |
-
<?php echo esc_html( __( 'Tell us what can be improved regarding Ecwid
|
523 |
</div>
|
524 |
</div>
|
525 |
<div class="cta-block__cta">
|
3 |
<div class="settings-page__titles settings-page__titles--left">
|
4 |
<h1 class="settings-page__title"><?php echo esc_html( __( 'Developers', 'ecwid-shopping-cart' ) );?></h1>
|
5 |
<div class="settings-page__subtitle">
|
6 |
+
<?php echo esc_html( __( 'Build the store your client needs and realize your own vision with Ecwid. Use the Ecwid plugin, powerful API, apps and integrations to design stores and build your own solutions. Become an Ecwid partner and grow your business effectively.', 'ecwid-shopping-cart' ) );?>
|
7 |
</div>
|
8 |
</div>
|
9 |
</div>
|
12 |
<div class="named-area__header">
|
13 |
<div class="named-area__titles">
|
14 |
<div class="named-area__title">
|
15 |
+
<?php echo esc_html( __( 'Ecwid plugin features', 'ecwid-shopping-cart' ) );?>
|
16 |
</div>
|
17 |
<div class="named-area__subtitle">
|
18 |
+
<?php echo esc_html( __( 'Extend your site with an easy-to-use plugin compatible with WordPress page builders and editors.', 'ecwid-shopping-cart' ) );?>
|
19 |
</div>
|
20 |
</div>
|
21 |
<div class="named-area__description"></div>
|
37 |
<div class="titled-item__title"></div>
|
38 |
<div class="titled-item__content">
|
39 |
<div>
|
40 |
+
<?php echo esc_html( __( 'Add store components to any place of your WordPress site using shortcodes or WordPress site builders and editors.', 'ecwid-shopping-cart' ) );?>
|
41 |
</div>
|
42 |
</div>
|
43 |
</div>
|
69 |
<?php echo esc_html( __( 'Shortcodes', 'ecwid-shopping-cart'));?>
|
70 |
</div>
|
71 |
<div class="cta-block__content">
|
72 |
+
<?php echo esc_html( __( 'Add shortcodes to the WordPress site to apply basic changes to your store appearance.', 'ecwid-shopping-cart' ) );?>
|
73 |
</div>
|
74 |
</div>
|
75 |
<div class="cta-block__cta">
|
95 |
<?php echo esc_html( __( 'Store blocks for Gutenberg', 'ecwid-shopping-cart'));?>
|
96 |
</div>
|
97 |
<div class="cta-block__content">
|
98 |
+
<?php echo esc_html( __( 'Add store plugin to the WordPress site in Gutenberg block editor, with no HTML or shortcodes.', 'ecwid-shopping-cart' ) );?>
|
99 |
</div>
|
100 |
</div>
|
101 |
<div class="cta-block__cta">
|
121 |
<?php echo esc_html( __( 'Store blocks for Elementor', 'ecwid-shopping-cart'));?>
|
122 |
</div>
|
123 |
<div class="cta-block__content">
|
124 |
+
<?php echo esc_html( __( 'Create a store from your website with the Ecwid plugin and Elementor page builder, with no coding required.', 'ecwid-shopping-cart' ) );?>
|
125 |
</div>
|
126 |
</div>
|
127 |
<div class="cta-block__cta">
|
207 |
</div>
|
208 |
</div>
|
209 |
<div class="cta-block__cta">
|
210 |
+
<a href="https://api-docs.ecwid.com/reference/customize-appearance" target="_blank" type="button" class="btn btn-default btn-medium"> <span><?php echo esc_html( __( 'Learn More', 'ecwid-shopping-cart'));?></span> </a>
|
211 |
</div>
|
212 |
</div>
|
213 |
</div>
|
251 |
</div>
|
252 |
<div class="cta-block__cta">
|
253 |
<?php if( class_exists('woocommerce') && class_exists('Ecwid_Importer') ) {?>
|
254 |
+
<a href="<?php echo admin_url('admin.php?page=ec-store-import-woocommerce');?>" target="_blank" type="button" class="btn btn-default btn-medium"> <span><?php echo esc_html( __( 'Go to Import Page', 'ecwid-shopping-cart'));?></span> </a>
|
255 |
<?php } else { ?>
|
256 |
<a href="https://support.ecwid.com/hc/en-us/articles/360000049040" target="_blank" type="button" class="btn btn-default btn-medium"> <span><?php echo esc_html( __( 'Learn More', 'ecwid-shopping-cart'));?></span> </a>
|
257 |
<?php } ?>
|
426 |
<div class="cta-block">
|
427 |
<div class="cta-block__central">
|
428 |
<div class="cta-block__title">
|
429 |
+
<?php echo esc_html( __( 'Use Ecwid premium plan for free', 'ecwid-shopping-cart'));?>
|
430 |
</div>
|
431 |
<div class="cta-block__content">
|
432 |
+
<?php echo esc_html( __( 'If you’re developing sites on WordPress, you can get a free subscription to the Ecwid premium plan. Use it to build and test stores on the WordPress sites, check out the platform features, and get access to Ecwid API. Just apply for the free subscription, and we’ll get in touch with you soon.', 'ecwid-shopping-cart' ) );?>
|
433 |
</div>
|
434 |
</div>
|
435 |
<div class="cta-block__cta">
|
436 |
+
<a href="https://ecommerce-store.typeform.com/to/Heh5d4?utm_source=wp-plugin" target="_blank" type="button" class="btn btn-default btn-medium"> <span><?php echo esc_html( __( 'Apply for Free Plan', 'ecwid-shopping-cart'));?></span> </a>
|
437 |
</div>
|
438 |
</div>
|
439 |
</div>
|
493 |
<?php echo esc_html( __( 'Request custom development', 'ecwid-shopping-cart' ) );?>
|
494 |
</div>
|
495 |
<div class="cta-block__content">
|
496 |
+
<?php echo esc_html( __( 'The Ecwid team can help you build the desired features and options that Ecwid does not have out of the box — from integrations with other tools to your own mobile app. Custom development is a paid service, the price depends on the complexity of the request.', 'ecwid-shopping-cart' ) );?>
|
497 |
</div>
|
498 |
</div>
|
499 |
<div class="cta-block__cta">
|
519 |
<?php echo esc_html( __( 'Leave feedback', 'ecwid-shopping-cart' ) );?>
|
520 |
</div>
|
521 |
<div class="cta-block__content">
|
522 |
+
<?php echo esc_html( __( 'Tell us what can be improved regarding Ecwid features, integrations, and functionality.', 'ecwid-shopping-cart' ) );?>
|
523 |
</div>
|
524 |
</div>
|
525 |
<div class="cta-block__cta">
|