Submit
Path:
~
/
home
/
getwphos
/
public_html
/
seasons-newtheme
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
blocks
/
File Content:
product-collection.js
(()=>{var e,t,o,r={9828:(e,t,o)=>{"use strict";o.r(t);const r=window.wp.blocks,c=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/product-collection","version":"1.0.0","title":"Product Collection","description":"Display a collection of products from your store.","category":"woocommerce","keywords":["WooCommerce","Products (Beta)","all products","by category","by tag","by attribute"],"textdomain":"woocommerce","attributes":{"queryId":{"type":"number"},"query":{"type":"object"},"tagName":{"type":"string"},"displayLayout":{"type":"object"},"dimensions":{"type":"object"},"convertedFromProducts":{"type":"boolean","default":false},"collection":{"type":"string"},"hideControls":{"default":[],"type":"array"},"queryContextIncludes":{"type":"array"},"forcePageReload":{"type":"boolean","default":false},"__privatePreviewState":{"type":"object"}},"providesContext":{"queryId":"queryId","query":"query","displayLayout":"displayLayout","dimensions":"dimensions","queryContextIncludes":"queryContextIncludes","collection":"collection","__privateProductCollectionPreviewState":"__privatePreviewState"},"usesContext":["templateSlug","postId"],"supports":{"align":["wide","full"],"anchor":true,"html":false,"__experimentalLayout":true,"interactivity":true}}');var n=o(1609);const l=window.wp.blockEditor;var a=o(6087);const i=window.wp.data,s=window.wp.coreData;let u=function(e){return e.Product="product",e.Archive="archive",e.Cart="cart",e.Order="order",e.Site="site",e}({});const m="single-product",d="taxonomy-product_cat",p="taxonomy-product_tag",_=async(e,t,o,r)=>{var c,n;r((c=await(0,i.resolveSelect)(s.store).getEntityRecords(e,t,{_fields:["id"],slug:o}))&&c.length&&null!==(n=c[0])&&void 0!==n&&n.id?c[0].id:null)},g=(e,t={})=>({type:e,sourceData:t}),w=window.wp.components;let E=function(e){return e.COLLECTION_PICKER="collection_chooser",e.PRODUCT_REFERENCE_PICKER="product_context_picker",e.VALID_WITH_PREVIEW="uses_reference_preview_mode",e.VALID="valid",e.DELETED_PRODUCT_REFERENCE="deleted_product_reference",e}({}),h=function(e){return e.GRID="flex",e.STACK="list",e}({}),b=function(e){return e.FILL="fill",e.FIXED="fixed",e}({}),y=function(e){return e.IN="in",e.NOT_IN="not-in",e}({}),v=function(e){return e.PRODUCT_CATALOG="woocommerce/product-collection/product-catalog",e.BEST_SELLERS="woocommerce/product-collection/best-sellers",e.FEATURED="woocommerce/product-collection/featured",e.NEW_ARRIVALS="woocommerce/product-collection/new-arrivals",e.ON_SALE="woocommerce/product-collection/on-sale",e.TOP_RATED="woocommerce/product-collection/top-rated",e.HAND_PICKED="woocommerce/product-collection/hand-picked",e.RELATED="woocommerce/product-collection/related",e.UPSELLS="woocommerce/product-collection/upsells",e.CROSS_SELLS="woocommerce/product-collection/cross-sells",e}({}),f=function(e){return e.ATTRIBUTES="attributes",e.CREATED="created",e.FEATURED="featured",e.HAND_PICKED="hand-picked",e.INHERIT="inherit",e.KEYWORD="keyword",e.ON_SALE="on-sale",e.ORDER="order",e.STOCK_STATUS="stock-status",e.TAXONOMY="taxonomy",e.PRICE_RANGE="price-range",e.FILTERABLE="filterable",e.PRODUCTS_PER_PAGE="products-per-page",e.MAX_PAGES_TO_SHOW="max-pages-to-show",e.OFFSET="offset",e.RELATED_BY="related-by",e}({});var C=o(7723),k=o(4922),S=o.n(k);S()("wc-admin:tracks:stats");const A=S()("wc-admin:tracks");function R(e,t){return A("recordevent %s %o","wcadmin_"+e,t,{_tqk:window._tkq,shouldRecord:!(!window._tkq||!window.wcTracks||!window.wcTracks.isEnabled)}),!(!window.wcTracks||"function"!=typeof window.wcTracks.recordEvent)&&void window.wcTracks.recordEvent(e,t)}var P=o(9491);const I=window.wc.wcBlocksRegistry;var T=o(7104),x=o(9744);const O=window.wc.wcSettings;let L=function(e){return e.SINGLE="single",e.THUMBNAIL="thumbnail",e}({});const N=`${c.name}/product-title`,D=(0,O.getSetting)("stockStatusOptions",[]),B=(0,O.getSetting)("hideOutOfStockItems",!1),F=()=>B?Object.keys(function(e,t){const{[t]:o,...r}=e;return r}(D,"outofstock")):Object.keys(D),q={perPage:9,pages:0,offset:0,postType:"product",order:"asc",orderBy:"title",search:"",exclude:[],inherit:!1,taxQuery:{},isProductCollectionBlock:!0,featured:!1,woocommerceOnSale:!1,woocommerceStockStatus:F(),woocommerceAttributes:[],woocommerceHandPickedProducts:[],timeFrame:void 0,priceRange:void 0,filterable:!1,relatedBy:{categories:!0,tags:!0}},M={query:q,tagName:"div",displayLayout:{type:h.GRID,columns:3,shrinkColumns:!0},dimensions:{widthType:b.FILL},queryContextIncludes:["collection"],forcePageReload:!1},V={woocommerceOnSale:q.woocommerceOnSale,woocommerceStockStatus:q.woocommerceStockStatus,woocommerceAttributes:q.woocommerceAttributes,woocommerceHandPickedProducts:q.woocommerceHandPickedProducts,taxQuery:q.taxQuery,featured:q.featured,timeFrame:q.timeFrame,priceRange:q.priceRange},H=["woocommerce/product-template",{},[["woocommerce/product-image",{imageSizing:L.THUMBNAIL}],["core/post-title",{textAlign:"center",level:3,fontSize:"medium",style:{spacing:{margin:{bottom:"0.75rem",top:"0"}}},isLink:!0,__woocommerceNamespace:N}],["woocommerce/product-price",{textAlign:"center",fontSize:"small"}],["woocommerce/product-button",{textAlign:"center",fontSize:"small"}]]],U="core/query-pagination",$=[H,[U,{layout:{type:"flex",justifyContent:"center"}}],["woocommerce/product-collection-no-results"]],G={name:v.BEST_SELLERS,title:(0,C.__)("Best Sellers","woocommerce"),icon:(0,n.createElement)(T.A,{icon:x.A}),description:(0,C.__)("Recommend your best-selling products.","woocommerce"),keywords:["best selling"],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{orderBy:"popularity",order:"desc",perPage:5,pages:1},hideControls:[f.ORDER,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Best selling products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],H]};var j=o(8635);const W={name:v.CROSS_SELLS,title:(0,C.__)("Cross-Sells","woocommerce"),icon:(0,n.createElement)(T.A,{icon:j.A}),description:(0,C.__)("By suggesting complementary products in the cart using cross-sells, you can significantly increase the average order value.","woocommerce"),keywords:["boost","promotion"],scope:["inserter","block"],usesReference:["product","cart","order"],attributes:{displayLayout:{type:"flex",columns:4,shrinkColumns:!0},query:{perPage:8,pages:1},hideControls:[f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("You may be interested in…","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],H]};var Q=o(43);const K={name:v.FEATURED,title:(0,C.__)("Featured Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:Q.A}),description:(0,C.__)("Showcase your featured products.","woocommerce"),keywords:[],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{featured:!0,perPage:5,pages:1},hideControls:[f.FEATURED,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Featured products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],H]};var z=o(5573);const Z=(0,n.createElement)(z.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)(z.Path,{d:"M8.85074 4.8213L7.64702 3.92627L5.56365 6.72818L4.44959 5.89735L3.55286 7.0998L5.87107 8.82862L8.85074 4.8213Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{d:"M20 7.75004H11.1111V6.25004H20V7.75004Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{d:"M20 12.75H11.1111V11.25H20V12.75Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M6 14C7.10457 14 8 13.1046 8 12C8 10.8955 7.10457 10 6 10C4.89543 10 4 10.8955 4 12C4 13.1046 4.89543 14 6 14ZM6 13C6.55229 13 7 12.5523 7 12C7 11.4478 6.55229 11 6 11C5.44772 11 5 11.4478 5 12C5 12.5523 5.44772 13 6 13Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M8 17C8 18.1046 7.10457 19 6 19C4.89543 19 4 18.1046 4 17C4 15.8955 4.89543 15 6 15C7.10457 15 8 15.8955 8 17ZM7 17C7 17.5523 6.55229 18 6 18C5.44772 18 5 17.5523 5 17C5 16.4478 5.44772 16 6 16C6.55229 16 7 16.4478 7 17Z",fill:"currentColor"}),(0,n.createElement)(z.Path,{d:"M11.1111 17.75H20V16.25H11.1111V17.75Z",fill:"currentColor"})),Y={name:v.HAND_PICKED,title:(0,C.__)("Hand-Picked Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:Z}),description:(0,C.__)("Select specific products to recommend to customers.","woocommerce"),keywords:["specific","choose","recommend","handpicked","hand picked"],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{orderBy:"post__in"},hideControls:[f.HAND_PICKED,f.FILTERABLE,f.ORDER]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Recommended products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],H,["core/query-pagination",{layout:{type:"flex",justifyContent:"center"}}]]};var X=o(9948);const J={name:v.NEW_ARRIVALS,title:(0,C.__)("New Arrivals","woocommerce"),icon:(0,n.createElement)(T.A,{icon:X.A}),description:(0,C.__)("Recommend your newest products.","woocommerce"),keywords:["newest"],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{orderBy:"date",order:"desc",perPage:5,pages:1,timeFrame:{operator:y.IN,value:"-7 days"}},hideControls:[f.ORDER,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("New arrivals","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],H]};var ee=o(1173);const te={name:v.ON_SALE,title:(0,C.__)("On Sale Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:ee.A}),description:(0,C.__)("Highlight products that are currently on sale.","woocommerce"),keywords:["discount","promotion","onsale"],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{woocommerceOnSale:!0,perPage:5,pages:1},hideControls:[f.ON_SALE,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("On sale products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],H]};var oe=o(4552);const re={name:v.PRODUCT_CATALOG,title:(0,C.__)("Product Catalog","woocommerce"),icon:(0,n.createElement)(T.A,{icon:oe.A}),description:"Display all products in your catalog. Results can (change to) match the current template, page, or search term.",keywords:["all products"],scope:[],innerBlocks:$},ce={name:v.RELATED,title:(0,C.__)("Related Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:oe.A}),description:(0,C.__)("Recommend products like this one.","woocommerce"),keywords:[],scope:["inserter","block"],usesReference:["product"],attributes:{displayLayout:{type:h.GRID,columns:4,shrinkColumns:!0},query:{perPage:4,pages:1}},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Related Products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],H]};var ne=o(846);const le={name:v.TOP_RATED,title:(0,C.__)("Top Rated Products","woocommerce"),icon:(0,n.createElement)(T.A,{icon:ne.A}),description:(0,C.__)("Recommend products with the highest review ratings.","woocommerce"),keywords:[],scope:["inserter","block"],attributes:{displayLayout:{type:"flex",columns:5,shrinkColumns:!0},query:{orderBy:"rating",order:"desc",perPage:5,pages:1},hideControls:[f.ORDER,f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("Top rated products","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],H]};var ae=o(9093);const ie=[re,K,J,te,G,le,Y,ce,{name:v.UPSELLS,title:(0,C.__)("Upsells","woocommerce"),icon:(0,n.createElement)(T.A,{icon:ae.A}),description:(0,C.__)("Upsells are typically products that are extra profitable or better quality or more expensive. Experiment with combinations to boost sales.","woocommerce"),keywords:["boost","promotion"],scope:["inserter","block"],usesReference:["product","cart","order"],attributes:{displayLayout:{type:"flex",columns:4,shrinkColumns:!0},query:{perPage:8,pages:1},hideControls:[f.FILTERABLE]},innerBlocks:[["core/heading",{textAlign:"center",level:2,content:(0,C.__)("You may also like","woocommerce"),style:{spacing:{margin:{bottom:"1rem"}}}}],H]},W],se=e=>e?(0,i.select)(r.store).getBlockVariations(c.name).find((({name:t})=>t===e)):null,ue=window.wp.hooks,me=window.wp.url,de=window.wp.apiFetch;var pe,_e,ge,we,Ee,he,be,ye,ve,fe,Ce=o.n(de);const ke=(0,O.getSetting)("wcBlocksConfig",{pluginUrl:"",productCount:0,defaultAvatar:"",restApiRoutes:{},wordCountType:"words"}),Se=ke.pluginUrl+"assets/images/",Ae=(ke.pluginUrl,null===(pe=O.STORE_PAGES.shop)||void 0===pe||pe.permalink,null===(_e=O.STORE_PAGES.checkout)||void 0===_e||_e.id,null===(ge=O.STORE_PAGES.checkout)||void 0===ge||ge.permalink,null===(we=O.STORE_PAGES.privacy)||void 0===we||we.permalink,null===(Ee=O.STORE_PAGES.privacy)||void 0===Ee||Ee.title,null===(he=O.STORE_PAGES.terms)||void 0===he||he.permalink,null===(be=O.STORE_PAGES.terms)||void 0===be||be.title,null===(ye=O.STORE_PAGES.cart)||void 0===ye||ye.id,null===(ve=O.STORE_PAGES.cart)||void 0===ve||ve.permalink,null!==(fe=O.STORE_PAGES.myaccount)&&void 0!==fe&&fe.permalink?O.STORE_PAGES.myaccount.permalink:(0,O.getSetting)("wpLoginUrl","/wp-login.php"),(0,O.getSetting)("localPickupEnabled",!1),(0,O.getSetting)("shippingMethodsExist",!1),(0,O.getSetting)("countries",{})),Re=(0,O.getSetting)("countryData",{}),Pe=(Object.fromEntries(Object.keys(Re).filter((e=>!0===Re[e].allowBilling)).map((e=>[e,Ae[e]||""]))),Object.fromEntries(Object.keys(Re).filter((e=>!0===Re[e].allowBilling)).map((e=>[e,Re[e].states||[]]))),Object.fromEntries(Object.keys(Re).filter((e=>!0===Re[e].allowShipping)).map((e=>[e,Ae[e]||""]))),Object.fromEntries(Object.keys(Re).filter((e=>!0===Re[e].allowShipping)).map((e=>[e,Re[e].states||[]]))),Object.fromEntries(Object.keys(Re).map((e=>[e,Re[e].locale||[]]))),{address:["first_name","last_name","company","address_1","address_2","city","postcode","country","state","phone"],contact:["email"],order:[]}),Ie=((0,O.getSetting)("addressFieldsLocations",Pe).address,(0,O.getSetting)("addressFieldsLocations",Pe).contact,(0,O.getSetting)("addressFieldsLocations",Pe).order,(0,O.getSetting)("additionalOrderFields",{}),(0,O.getSetting)("additionalContactFields",{}),(0,O.getSetting)("additionalAddressFields",{}),(e,t)=>{const o=new Map;return e.filter((e=>{const r=t(e);return!o.has(r)&&(o.set(r,e),!0)}))}),Te=({selected:e=[],search:t="",queryArgs:o={}})=>{const r=(({selected:e=[],search:t="",queryArgs:o={}})=>{const r=ke.productCount>100,c={per_page:r?100:0,catalog_visibility:"any",search:t,orderby:"title",order:"asc"},n=[(0,me.addQueryArgs)("/wc/store/v1/products",{...c,...o})];return r&&e.length&&n.push((0,me.addQueryArgs)("/wc/store/v1/products",{catalog_visibility:"any",include:e,per_page:0})),n})({selected:e,search:t,queryArgs:o});return Promise.all(r.map((e=>Ce()({path:e})))).then((e=>{const t=e.flat(),o=Ie(t,(e=>e.id));return o.map((e=>({...e,parent:0})))})).catch((e=>{throw e}))},xe=e=>Ce()({path:`wc/store/v1/products/attributes/${e}/terms`});function Oe(e,t){const{query:o}=e.attributes;e.setAttributes({query:{...o,...t}})}const Le=()=>{var e;const t=null===(e=(0,i.select)("core/edit-site"))||void 0===e?void 0:e.getEditedPostId();return!!t&&["woocommerce/woocommerce//archive-product","woocommerce/woocommerce//taxonomy-product_attribute","woocommerce/woocommerce//product-search-results","//taxonomy-product_cat","//taxonomy-product_tag"].some((e=>t.includes(e)))},Ne=e=>{const{getBlocksByName:t,getBlock:o}=(0,i.select)(l.store);return!t("woocommerce/product-collection").find((t=>{var r,c;return null===(r=o(t).attributes)||void 0===r||null===(c=r.query)||void 0===c?void 0:c[e]}))};function De(){return!!Le()&&Ne("inherit")}function Be(){return!Le()&&Ne("filterable")}const Fe=()=>M.displayLayout,qe=(e,t,o)=>{const n=se(e);n&&o(t,n.name===v.PRODUCT_CATALOG?(0,r.createBlock)(c.name,{...M,query:{...M.query,inherit:De(),filterable:Be()}},(0,r.createBlocksFromInnerBlocksTemplate)($)):(0,r.createBlock)(c.name,n.attributes,(0,r.createBlocksFromInnerBlocksTemplate)(n.innerBlocks)))},Me=({title:e,icon:t,description:o,onClick:r})=>(0,n.createElement)(w.Tooltip,{text:o,placement:"top"},(0,n.createElement)(w.Button,{className:"wc-blocks-product-collection__collection-button",onClick:r},(0,n.createElement)("div",{className:"wc-blocks-product-collection__collection-button-icon"},(0,n.createElement)(w.Icon,{icon:t})),(0,n.createElement)("p",{className:"wc-blocks-product-collection__collection-button-title"},e))),Ve=e=>{const{description:t,onClick:o}=e;return(0,n.createElement)("div",{className:"wc-blocks-product-collection__collections-create"},(0,n.createElement)("span",null,(0,C.__)("or","woocommerce")),(0,n.createElement)(w.Tooltip,{text:t,placement:"top"},(0,n.createElement)(w.Button,{onClick:o},(0,C.__)("create your own","woocommerce"))))},He=e=>{const{onCollectionClick:t,catalogVariation:o,collectionVariations:r}=e;return(0,n.createElement)("div",{className:"wc-blocks-product-collection__collections-grid"},(0,n.createElement)("div",{className:"wc-blocks-product-collection__collections-section"},r.map((({name:e,title:o,icon:r,description:c})=>(0,n.createElement)(Me,{key:e,title:o,description:c,icon:r,onClick:()=>t(e)})))),(0,n.createElement)(Ve,{title:o.title,description:o.description,icon:o.icon,onClick:()=>t(o.name)}))},Ue=e=>{const{onCollectionClick:t,catalogVariation:o,collectionVariations:r}=e;return(0,n.createElement)("div",{className:"wc-blocks-product-collection__collections-dropdown"},(0,n.createElement)(w.Dropdown,{className:"wc-blocks-product-collection__collections-dropdown-toggle",contentClassName:"wc-blocks-product-collection__collections-dropdown-content",renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(w.Button,{variant:"secondary",onClick:t,"aria-expanded":e},(0,C.__)("Choose collection","woocommerce")),renderContent:()=>(0,n.createElement)(n.Fragment,null,r.map((({name:e,title:o,icon:r,description:c})=>(0,n.createElement)(Me,{key:e,title:o,description:c,icon:r,onClick:()=>t(e)}))))}),(0,n.createElement)(Ve,{title:o.title,description:o.description,icon:o.icon,onClick:()=>t(o.name)}))},$e=e=>{const t=(0,i.useSelect)((e=>{const{getBlockVariations:t}=e(r.store);return t(c.name)}),[]),o=(0,a.useMemo)((()=>t.find((({name:e})=>e===v.PRODUCT_CATALOG))),[t]),l=(0,a.useMemo)((()=>t.filter((({name:e,scope:t})=>e!==v.PRODUCT_CATALOG&&(void 0===t||(null==t?void 0:t.includes("block")))))),[t]),[s,{width:u}]=(0,P.useResizeObserver)();let m;return m=null!==u&&u>=600?He:Ue,(0,n.createElement)(n.Fragment,null,s,!!u&&(0,n.createElement)(m,{...e,catalogVariation:o,collectionVariations:l}))},Ge=e=>{const t=(0,l.useBlockProps)(),{clientId:o,tracksLocation:r}=e,{replaceBlock:c}=(0,i.useDispatch)(l.store);return(0,n.createElement)("div",{...t},(0,n.createElement)(w.Placeholder,{className:"wc-blocks-product-collection__placeholder",instructions:(0,C.__)("What products do you want to show?","woocommerce")},(0,n.createElement)($e,{onCollectionClick:e=>{R("blocks_product_collection_collection_chosen_from_placeholder",{collection:e,location:r}),qe(e,o,c)}})))};var je=o(458),We=o.n(je);const Qe="wc-blocks_upgraded-products-to-product-collection",Ke=()=>({status:"notseen",time:Date.now(),displayCount:0}),ze=window.wc.wcTypes,Ze=e=>"woocommerce/product-collection"===e.name&&e.attributes.convertedFromProducts,Ye=(e,t)=>{let o=[];return e.forEach((e=>{t(e)&&(o=[...o,e.clientId]),o=[...o,...Ye(e.innerBlocks,t)]})),o},Xe=(0,O.getSettingWithCoercion)("postTemplateHasSupportForGridView",!1,ze.isBoolean),Je=()=>{const e=window.localStorage.getItem(Qe);return e?JSON.parse(e):Ke()},et=e=>{window.localStorage.setItem(Qe,JSON.stringify(e))},tt=e=>"flex"===e?"grid":"list"===e?"default":"grid",ot=e=>{const{type:t,columns:o}=e;return{type:tt(t),columnCount:o}},rt=(e,t)=>{const o=e.map((e=>{const{name:o,attributes:c}=e,n=rt(e.innerBlocks);return(({name:e})=>"woocommerce/product-template"===e)(e)?((e,t,o)=>(0,r.createBlock)("core/post-template",{className:"products-block-post-template",layout:Xe?ot(o):void 0,__woocommerceNamespace:"woocommerce/product-query/product-template",...e.attributes},t))(e,n,t):(({name:e,attributes:t})=>"core/post-title"===e&&"woocommerce/product-collection/product-title"===t.__woocommerceNamespace)(e)?((e,t)=>{const{__woocommerceNamespace:o,...c}=e.attributes;return(0,r.createBlock)("core/post-title",{__woocommerceNamespace:"woocommerce/product-collection/product-title",...c},t)})(e,n):(({name:e,attributes:t})=>"core/post-excerpt"===e&&"woocommerce/product-collection/product-summary"===t.__woocommerceNamespace)(e)?((e,t)=>{const{__woocommerceNamespace:o,...c}=e.attributes;return(0,r.createBlock)("core/post-excerpt",{__woocommerceNamespace:"woocommerce/product-collection/product-summary",...c},t)})(e,n):(0,r.createBlock)(o,c,n)}));return o},ct=e=>{const t=(0,i.select)("core/block-editor").getBlock(e),o=((e,t)=>{const o=(0,i.select)("core/block-editor").getBlockRootClientId(e)||void 0;return(0,i.select)("core/block-editor").canInsertBlockType("core/query",o)})(e);if(t&&o){const{attributes:o={},innerBlocks:c=[]}=t,{displayLayout:n,...l}=o,a=(e=>{const{query:t,...o}=e,{woocommerceAttributes:r,woocommerceStockStatus:c,woocommerceOnSale:n,woocommerceHandPickedProducts:l,taxQuery:a,isProductCollectionBlock:i,...s}=t,u={...s};return l&&(u.include=l),n&&(u.__woocommerceOnSale=n),a&&(u.taxQuery=a),{...o,namespace:"woocommerce/product-query",query:{__woocommerceAttributes:r||[],__woocommerceStockStatus:c||[],...u}}})(Xe?l:o),s=rt(c,n),u=(0,r.createBlock)("core/query",a,s);return(0,i.dispatch)("core/block-editor").replaceBlock(e,u),!0}return!1},nt=()=>{var e;et({status:"reverted",time:Date.now()}),(e=(0,i.select)("core/block-editor").getBlocks(),Ye(e,Ze)).map(ct)},lt=window.wc.customerEffortScore,at=({size:e=12})=>(0,n.createElement)(z.SVG,{width:e,height:e,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.45865 9.08341L1.6665 9.87639L1.6665 1.66675L10.3332 1.66675L10.3332 9.08341L2.45865 9.08341ZM2.87317 10.0834L10.6665 10.0834C11.0347 10.0834 11.3332 9.78494 11.3332 9.41675L11.3332 1.33342C11.3332 0.965226 11.0347 0.666748 10.6665 0.666748H1.33317C0.964982 0.666748 0.666504 0.965225 0.666504 1.33341V11.0166C0.666504 11.2116 0.773993 11.3907 0.946074 11.4825C1.15124 11.5919 1.40385 11.5543 1.56818 11.3898L2.87317 10.0834ZM8.6665 4.66673H3.33317V3.66673H8.6665V4.66673ZM3.33317 7.33339H6.6665V6.33339H3.33317V7.33339Z",fill:"currentColor"})),it=({blockName:e,title:t=(0,C.__)("Share your experience","woocommerce"),firstQuestion:o=(0,C.sprintf)(/* translators: %s is the block name. */ /* translators: %s is the block name. */ (0,C.__)("It was easy for me to accomplish what I wanted with the %s.","woocommerce"),e),feedbackLabel:r=(0,C.sprintf)(/* translators: %s is the block name. */ /* translators: %s is the block name. */ (0,C.__)("How can we improve the %s block for you? (Optional)","woocommerce"),e),feedbackPlaceholder:c=(0,C.__)("What did you try to build using this block? What did and didn't work?","woocommerce"),emailLabel:l=(0,C.__)("Email address (Optional)","woocommerce"),emailHelp:a=(0,C.__)("Share if you would like to discuss your experience or participate in future research.","woocommerce"),buttonText:i=(0,C.__)("Help us improve","woocommerce"),submitLabel:s=(0,C.__)("🙏🏻 Thanks for sharing — we're on it!","woocommerce"),wrapper:u,wrapperProps:m={}})=>{var d;const{showCesModal:p}=(0,lt.useCustomerEffortScoreModal)();if(null===(d=window.wcTracks)||void 0===d||!d.isEnabled)return null;const _=(0,n.createElement)(n.Fragment,null,(0,n.createElement)(lt.CustomerEffortScoreModalContainer,null),(0,n.createElement)(w.Button,{variant:"tertiary",icon:(0,n.createElement)(at,null),iconSize:12,onClick:()=>{p({action:`${e.toLowerCase().replace(/\s+/g,"_")}_block_feedback`,title:t,firstQuestion:o,showDescription:!1,onsubmitLabel:s,getExtraFieldsToBeShown:(e,t,o)=>(0,n.createElement)("div",null,(0,n.createElement)(w.TextareaControl,{label:r,value:e.feedback_comment||"",onChange:o=>t({...e,feedback_comment:o}),placeholder:c}),(0,n.createElement)(w.TextControl,{label:l,type:"email",value:e.email||"",onChange:o=>t({...e,email:o}),help:null!=o&&o.email?(0,n.createElement)("span",{className:"woocommerce-customer-effort-score__errors"},(0,n.createElement)("p",null,o.email)):a})),validateExtraFields:({email:e=""})=>{const t={};return e.length>0&&!(0,me.isEmail)(e)&&(t.email=(0,C.__)("Please enter a valid email address.","woocommerce")),t}},{blockName:e,shouldShowComments:()=>!1},{},{})},className:"wc-block-editor__feedback-button"},i));return u?(0,n.createElement)(u,{...m},_):_},st=window.wp.editor;var ut=function(e){return e.SINGLE_PRODUCT="single-product",e.PRODUCT_CATALOG="product-catalog",e.PRODUCT_ARCHIVE="product-archive",e.ORDER_CONFIRMATION="order-confirmation",e.CART="cart",e.CHECKOUT="checkout",e.POST="post",e.PAGE="page",e.OTHER="other",e}(ut||{});const mt={"single-product":ut.SINGLE_PRODUCT,"archive-product":ut.PRODUCT_CATALOG,"taxonomy-product_cat":ut.PRODUCT_ARCHIVE,"taxonomy-product_tag":ut.PRODUCT_ARCHIVE,"taxonomy-product_attribute":ut.PRODUCT_ARCHIVE,"product-search-results":ut.PRODUCT_ARCHIVE,"order-confirmation":ut.ORDER_CONFIRMATION,"page-cart":ut.CART,"page-checkout":ut.CHECKOUT},dt=e=>{const t=(0,i.useSelect)((e=>e(st.store).getCurrentPostType()),[]);if(t===ut.PAGE||t===ut.POST)return t;if(!e)return ut.OTHER;return mt[e]||(e.includes("single-product")?ut.SINGLE_PRODUCT:e.includes("taxonomy-product_cat")||e.includes("taxonomy-product_tag")?ut.PRODUCT_ARCHIVE:ut.OTHER)};var pt=o(851);function _t({children:e,className:t,actionLabel:o,onActionClick:r,...c}){return(0,n.createElement)(w.Notice,{...c,className:(0,pt.$)("wc-block-editor-components-upgrade-downgrade-notice",t),actions:[{label:o,onClick:r,noDefaultClasses:!0,variant:"link"}]},(0,n.createElement)("div",{className:"wc-block-editor-components-upgrade-downgrade-notice__text"},e))}o(2615);const gt=(0,a.createInterpolateElement)((0,C.__)("Products (Beta) block was upgraded to <strongText />, an updated version with new features and simplified settings.","woocommerce"),{strongText:(0,n.createElement)("strong",null,(0,C.__)("Product Collection","woocommerce"))}),wt=(0,C.__)("Revert to Products (Beta)","woocommerce"),Et=({revertMigration:e})=>{const[t,o]=((e,t)=>{const[o,r]=(0,a.useState)((()=>{const o=window.localStorage.getItem(e);if(o)try{return JSON.parse(o)}catch{console.error(`Value for key '${e}' could not be retrieved from localStorage because it can't be parsed.`)}return t}));return(0,a.useEffect)((()=>{try{window.localStorage.setItem(e,JSON.stringify(o))}catch{console.error(`Value for key '${e}' could not be saved in localStorage because it can't be converted into a string.`)}}),[e,o]),[o,r]})(Qe,Ke()),r=(0,a.useRef)(!0),{status:c}=t;return(0,a.useEffect)((()=>()=>{r.current&&((()=>{const e=Je(),t=(0,ze.isNumber)(e.displayCount)?e.displayCount+1:0;et({...e,displayCount:t})})(),r.current=!1)}),[r]),"notseen"===c?(0,n.createElement)(_t,{actionLabel:wt,onActionClick:()=>{e(),R("blocks_product_collection_migration_between_products_beta",{transform_to:"products_beta"})},onRemove:()=>{o({status:"seen",time:Date.now()})}},gt):null},ht=(0,C.__)("Columns","woocommerce"),bt=(0,C.__)("Responsive","woocommerce"),yt=(0,C.__)("Automatically adjust the number of columns to better fit smaller screens.","woocommerce"),vt=e=>{const{type:t,columns:o,shrinkColumns:r}=e.displayLayout,c="flex"===t,l=Fe(),a=()=>{e.setAttributes({displayLayout:l})};return c?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(w.__experimentalToolsPanelItem,{label:ht,hasValue:()=>(null==l?void 0:l.columns)!==o,isShownByDefault:!0,onDeselect:a},(0,n.createElement)(w.RangeControl,{__next40pxDefaultSize:!0,label:ht,onChange:t=>e.setAttributes({displayLayout:{...e.displayLayout,columns:t}}),value:o,min:2,max:Math.max(6,o)})),(0,n.createElement)(w.__experimentalToolsPanelItem,{label:bt,hasValue:()=>(null==l?void 0:l.shrinkColumns)!==r,isShownByDefault:!0,onDeselect:a},(0,n.createElement)(w.ToggleControl,{checked:!!r,label:bt,help:yt,onChange:t=>{e.setAttributes({displayLayout:{...e.displayLayout,shrinkColumns:t}})}}))):null},ft=(0,C.__)("Query type","woocommerce"),Ct=(0,C.__)("Default","woocommerce"),kt=(0,C.__)("Custom","woocommerce"),St=(0,C.__)("Display products based on the current template and allow shoppers to filter.","woocommerce"),At=(0,C.__)("Show products based on specific criteria and allow shoppers to filter.","woocommerce"),Rt=(0,C.__)("Show a list of products based on fixed criteria.","woocommerce"),Pt=({setQueryAttribute:e,trackInteraction:t,query:o})=>{const r=null==o?void 0:o.inherit,c=function(e,t){const o=(0,a.useRef)();return(0,a.useEffect)((()=>{o.current===e||t&&!t(e,o.current)||(o.current=e)}),[e,t]),o.current}(o,(e=>!1===(null==e?void 0:e.inherit))),l=(0,a.useMemo)((()=>De()),[]);return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:ft,hasValue:()=>r!==l,isShownByDefault:!0,onDeselect:()=>{e({inherit:l}),t(f.INHERIT)}},(0,n.createElement)(w.__experimentalToggleGroupControl,{className:"wc-block-product-collection__inherit-query-control",isBlock:!0,label:ft,help:r?St:Rt,value:!!r,onChange:o=>{e(o?{...q,inherit:o}:{...q,...c,inherit:o}),t(f.INHERIT)}},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:!0,label:Ct}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:!1,label:kt})))},It=({setQueryAttribute:e,trackInteraction:t,query:o})=>{const r=null==o?void 0:o.filterable,c=(0,a.useMemo)((()=>Be()),[]);return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:ft,hasValue:()=>r!==c,isShownByDefault:!0,onDeselect:()=>{e({filterable:c}),t(f.FILTERABLE)}},(0,n.createElement)(w.__experimentalToggleGroupControl,{className:"wc-block-product-collection__inherit-query-control",isBlock:!0,label:ft,help:r?At:Rt,value:!!r,onChange:o=>{e({filterable:o}),t(f.FILTERABLE)}},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:!0,label:Ct}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:!1,label:kt})))},Tt=[{label:(0,C.__)("A → Z","woocommerce"),value:"title/asc"},{label:(0,C.__)("Z → A","woocommerce"),value:"title/desc"},{label:(0,C.__)("Newest to oldest","woocommerce"),value:"date/desc"},{label:(0,C.__)("Oldest to newest","woocommerce"),value:"date/asc"},{label:(0,C.__)("Price, high to low","woocommerce"),value:"price/desc"},{label:(0,C.__)("Price, low to high","woocommerce"),value:"price/asc"},{label:(0,C.__)("Sales, high to low","woocommerce"),value:"sales/desc"},{label:(0,C.__)("Sales, low to high","woocommerce"),value:"sales/asc"},{value:"rating/desc",label:(0,C.__)("Rating, high to low","woocommerce")},{value:"rating/asc",label:(0,C.__)("Rating, low to high","woocommerce")},{value:"menu_order/asc",label:(0,C.__)("Manual (menu order)","woocommerce")},{value:"random",label:(0,C.__)("Random","woocommerce")}],xt=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,{order:c,orderBy:l}=t,a=()=>{r({orderBy:q.orderBy}),o(f.ORDER)};let i=c?`${l}/${c}`:l;return"popularity"===l&&(i=`sales/${c}`),(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Order by","woocommerce"),hasValue:()=>c!==q.order||l!==q.orderBy,isShownByDefault:!0,onDeselect:a,resetAllFilter:a},(0,n.createElement)(w.SelectControl,{value:i,options:Tt,label:(0,C.__)("Order by","woocommerce"),onChange:e=>{const[t,c]=e.split("/");r({orderBy:t,order:c||void 0}),o(f.ORDER)}}))},Ot=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,c=()=>{r({woocommerceOnSale:V.woocommerceOnSale}),o(f.ON_SALE)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("On Sale","woocommerce"),hasValue:()=>!0===t.woocommerceOnSale,isShownByDefault:!0,onDeselect:c,resetAllFilter:c},(0,n.createElement)(w.ToggleControl,{label:(0,C.__)("Show only products on sale","woocommerce"),checked:t.woocommerceOnSale||!1,onChange:e=>{r({woocommerceOnSale:e}),o(f.ON_SALE)}}))};function Lt(e){var t;const o="string"==typeof e?e:e.value;return null===(t=Object.entries(D).find((([,e])=>e===o)))||void 0===t?void 0:t[0]}const Nt=e=>{var t;const{query:o,trackInteraction:r,setQueryAttribute:c}=e,l=()=>{c({woocommerceStockStatus:V.woocommerceStockStatus}),r(f.STOCK_STATUS)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Stock Status","woocommerce"),hasValue:()=>!We()(o.woocommerceStockStatus,F()),onDeselect:l,resetAllFilter:l,isShownByDefault:!0},(0,n.createElement)(w.FormTokenField,{label:(0,C.__)("Stock Status","woocommerce"),onChange:e=>{const t=e.map(Lt).filter(Boolean);c({woocommerceStockStatus:t}),r(f.STOCK_STATUS)},suggestions:Object.values(D),validateInput:e=>Object.values(D).includes(e),value:(null==o||null===(t=o.woocommerceStockStatus)||void 0===t?void 0:t.map((e=>D[e])))||[],__experimentalExpandOnFocus:!0,__experimentalShowHowTo:!1}))},Dt=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,[c,l]=(0,a.useState)(t.search),i=(0,P.useDebounce)((()=>{t.search!==c&&(r({search:c}),o(f.KEYWORD))}),250);(0,a.useEffect)((()=>(i(),i.cancel)),[c,i]);const s=()=>{l(""),o(f.KEYWORD)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{hasValue:()=>!!c,label:(0,C.__)("Keyword","woocommerce"),onDeselect:s,resetAllFilter:s},(0,n.createElement)(w.TextControl,{label:(0,C.__)("Keyword","woocommerce"),value:c,onChange:l}))};function Bt(e,t,o){const r=new Set(t.map((e=>e[o])));return e.filter((e=>!r.has(e[o])))}const Ft=window.wp.htmlEntities,qt={clear:(0,C.__)("Clear all selected items","woocommerce"),noItems:(0,C.__)("No items found.","woocommerce"), /* Translators: %s search term */ noResults:(0,C.__)("No results for %s","woocommerce"),search:(0,C.__)("Search for items","woocommerce"),selected:e=>(0,C.sprintf)(/* translators: Number of items selected from list. */ /* translators: Number of items selected from list. */ (0,C._n)("%d item selected","%d items selected",e,"woocommerce"),e),updated:(0,C.__)("Search results updated.","woocommerce")},Mt=(e,t=e)=>{const o=e.reduce(((e,t)=>{const o=t.parent||0;return e[o]||(e[o]=[]),e[o].push(t),e}),{}),r=("id",t.reduce(((e,t)=>(e[String(t.id)]=t,e)),{}));const c=["0"],n=(e={})=>e.parent?[...n(r[e.parent]),e.name]:e.name?[e.name]:[],l=e=>e.map((e=>{const t=o[e.id];return c.push(""+e.id),{...e,breadcrumbs:n(r[e.parent]),children:t&&t.length?l(t):[]}})),a=l(o[0]||[]);return Object.entries(o).forEach((([e,t])=>{c.includes(e)||a.push(...l(t||[]))})),a},Vt=(e,t)=>{if(!t)return e;const o=new RegExp(`(${t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")})`,"ig");return e.split(o).map(((e,t)=>o.test(e)?(0,n.createElement)("strong",{key:t},e):(0,n.createElement)(a.Fragment,{key:t},e)))},Ht=({label:e})=>(0,n.createElement)("span",{className:"woocommerce-search-list__item-count"},e),Ut=e=>{const{item:t,search:o}=e,r=t.breadcrumbs&&t.breadcrumbs.length;return(0,n.createElement)("span",{className:"woocommerce-search-list__item-label"},r?(0,n.createElement)("span",{className:"woocommerce-search-list__item-prefix"},1===(c=t.breadcrumbs).length?c.slice(0,1).toString():2===c.length?c.slice(0,1).toString()+" › "+c.slice(-1).toString():c.slice(0,1).toString()+" … "+c.slice(-1).toString()):null,(0,n.createElement)("span",{className:"woocommerce-search-list__item-name"},Vt((0,Ft.decodeEntities)(t.name),o)));var c},$t=({countLabel:e,className:t,depth:o=0,controlId:r="",item:c,isSelected:l,isSingle:i,onSelect:s,search:u="",selected:m,useExpandedPanelId:d,...p})=>{var _,g;const[E,h]=d,b=null!=e&&void 0!==c.count&&null!==c.count,y=!(null===(_=c.breadcrumbs)||void 0===_||!_.length),v=!(null===(g=c.children)||void 0===g||!g.length),f=E===c.id,C=(0,pt.A)(["woocommerce-search-list__item",`depth-${o}`,t],{"has-breadcrumbs":y,"has-children":v,"has-count":b,"is-expanded":f,"is-radio-button":i});(0,a.useEffect)((()=>{v&&l&&h(c.id)}),[c,v,l,h]);const k=p.name||`search-list-item-${r}`,S=`${k}-${c.id}`,A=(0,a.useCallback)((()=>{h(f?-1:Number(c.id))}),[f,c.id,h]);return v?(0,n.createElement)("div",{className:C,onClick:A,onKeyDown:e=>"Enter"===e.key||" "===e.key?A():null,role:"treeitem",tabIndex:0},i?(0,n.createElement)(n.Fragment,null,(0,n.createElement)("input",{type:"radio",id:S,name:k,value:c.value,onChange:s(c),onClick:e=>e.stopPropagation(),checked:l,className:"woocommerce-search-list__item-input",...p}),(0,n.createElement)(Ut,{item:c,search:u}),b?(0,n.createElement)(Ht,{label:e||c.count}):null):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(w.CheckboxControl,{className:"woocommerce-search-list__item-input",checked:l,...!l&&c.children.some((e=>m.find((t=>t.id===e.id))))?{indeterminate:!0}:{},label:Vt((0,Ft.decodeEntities)(c.name),u),onChange:()=>{l?s(Bt(m,c.children,"id"))():s(function(e,t,o){const r=Bt(t,e,"id");return[...e,...r]}(m,c.children))()},onClick:e=>e.stopPropagation()}),b?(0,n.createElement)(Ht,{label:e||c.count}):null)):(0,n.createElement)("label",{htmlFor:S,className:C},i?(0,n.createElement)(n.Fragment,null,(0,n.createElement)("input",{...p,type:"radio",id:S,name:k,value:c.value,onChange:s(c),checked:l,className:"woocommerce-search-list__item-input"}),(0,n.createElement)(Ut,{item:c,search:u})):(0,n.createElement)(w.CheckboxControl,{...p,id:S,name:k,className:"woocommerce-search-list__item-input",value:(0,Ft.decodeEntities)(c.value),label:Vt((0,Ft.decodeEntities)(c.name),u),onChange:s(c),checked:l}),b?(0,n.createElement)(Ht,{label:e||c.count}):null)},Gt=$t;var jt=o(2478),Wt=o(2370);o(6636);const Qt=({id:e,label:t,popoverContents:o,remove:r,screenReaderLabel:c,className:l=""})=>{const[i,s]=(0,a.useState)(!1),u=(0,P.useInstanceId)(Qt);if(c=c||t,!t)return null;t=(0,Ft.decodeEntities)(t);const m=(0,pt.A)("woocommerce-tag",l,{"has-remove":!!r}),d=`woocommerce-tag__label-${u}`,p=(0,n.createElement)(n.Fragment,null,(0,n.createElement)("span",{className:"screen-reader-text"},c),(0,n.createElement)("span",{"aria-hidden":"true"},t));return(0,n.createElement)("span",{className:m},o?(0,n.createElement)(w.Button,{className:"woocommerce-tag__text",id:d,onClick:()=>s(!0)},p):(0,n.createElement)("span",{className:"woocommerce-tag__text",id:d},p),o&&i&&(0,n.createElement)(w.Popover,{onClose:()=>s(!1)},o),r&&(0,n.createElement)(w.Button,{className:"woocommerce-tag__remove",onClick:r(e),label:(0,C.sprintf)( // Translators: %s label. // Translators: %s label. (0,C.__)("Remove %s","woocommerce"),t),"aria-describedby":d},(0,n.createElement)(T.A,{icon:Wt.A,size:20,className:"clear-icon",role:"img"})))},Kt=Qt;o(8137);const zt=e=>(0,n.createElement)(Gt,{...e}),Zt=e=>{const{list:t,selected:o,renderItem:r,depth:c=0,onSelect:l,instanceId:i,isSingle:s,search:u,useExpandedPanelId:m}=e,[d]=m;return t?(0,n.createElement)(a.Fragment,null,t.map((t=>{var p,_;const g=null!==(p=t.children)&&void 0!==p&&p.length&&!s?t.children.every((({id:e})=>o.find((t=>t.id===e)))):!!o.find((({id:e})=>e===t.id)),w=(null===(_=t.children)||void 0===_?void 0:_.length)&&d===t.id;return(0,n.createElement)(a.Fragment,{key:t.id},(0,n.createElement)("li",null,r({item:t,isSelected:g,onSelect:l,isSingle:s,selected:o,search:u,depth:c,useExpandedPanelId:m,controlId:i})),w?(0,n.createElement)(Zt,{...e,list:t.children,depth:c+1}):null)}))):null},Yt=({isLoading:e,isSingle:t,selected:o,messages:r,onChange:c,onRemove:l})=>{if(e||t||!o)return null;const a=o.length;return(0,n.createElement)("div",{className:"woocommerce-search-list__selected"},(0,n.createElement)("div",{className:"woocommerce-search-list__selected-header"},(0,n.createElement)("strong",null,r.selected(a)),a>0?(0,n.createElement)(w.Button,{variant:"link",isDestructive:!0,onClick:()=>c([]),"aria-label":r.clear},(0,C.__)("Clear all","woocommerce")):null),a>0?(0,n.createElement)("ul",null,o.map(((e,t)=>(0,n.createElement)("li",{key:t},(0,n.createElement)(Kt,{label:e.name,id:e.id,remove:l}))))):null)},Xt=({filteredList:e,search:t,onSelect:o,instanceId:r,useExpandedPanelId:c,...l})=>{const{messages:a,renderItem:i,selected:s,isSingle:u}=l,m=i||zt;return 0===e.length?(0,n.createElement)("div",{className:"woocommerce-search-list__list is-not-found"},(0,n.createElement)("span",{className:"woocommerce-search-list__not-found-icon"},(0,n.createElement)(T.A,{icon:jt.A,role:"img"})),(0,n.createElement)("span",{className:"woocommerce-search-list__not-found-text"},t?(0,C.sprintf)(a.noResults,t):a.noItems)):(0,n.createElement)("ul",{className:"woocommerce-search-list__list"},(0,n.createElement)(Zt,{useExpandedPanelId:c,list:e,selected:s,renderItem:m,onSelect:o,instanceId:r,isSingle:u,search:t}))},Jt=e=>{const{className:t="",isCompact:o,isHierarchical:r,isLoading:c,isSingle:l,list:i,messages:s=qt,onChange:u,onSearch:m,selected:d,type:p="text",debouncedSpeak:_}=e,[g,E]=(0,a.useState)(""),h=(0,a.useState)(-1),b=(0,P.useInstanceId)(Jt),y=(0,a.useMemo)((()=>({...qt,...s})),[s]),v=(0,a.useMemo)((()=>((e,t,o)=>{if(!t)return o?Mt(e):e;const r=new RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"i"),c=e.map((e=>!!r.test(e.name)&&e)).filter(Boolean);return o?Mt(c,e):c})(i,g,r)),[i,g,r]);(0,a.useEffect)((()=>{_&&_(y.updated)}),[_,y]),(0,a.useEffect)((()=>{"function"==typeof m&&m(g)}),[g,m]);const f=(0,a.useCallback)((e=>()=>{l&&u([]);const t=d.findIndex((({id:t})=>t===e));u([...d.slice(0,t),...d.slice(t+1)])}),[l,d,u]),k=(0,a.useCallback)((e=>()=>{Array.isArray(e)?u(e):-1===d.findIndex((({id:t})=>t===e.id))?u(l?[e]:[...d,e]):f(e.id)()}),[l,f,u,d]),S=(0,a.useCallback)((e=>{const[t]=d.filter((t=>!e.find((e=>t.id===e.id))));f(t.id)()}),[f,d]);return(0,n.createElement)("div",{className:(0,pt.A)("woocommerce-search-list",t,{"is-compact":o,"is-loading":c,"is-token":"token"===p})},"text"===p&&(0,n.createElement)(Yt,{...e,onRemove:f,messages:y}),(0,n.createElement)("div",{className:"woocommerce-search-list__search"},"text"===p?(0,n.createElement)(w.TextControl,{label:y.search,type:"search",value:g,onChange:e=>E(e)}):(0,n.createElement)(w.FormTokenField,{disabled:c,label:y.search,onChange:S,onInputChange:e=>E(e),suggestions:[],__experimentalValidateInput:()=>!1,value:c?[(0,C.__)("Loading…","woocommerce")]:d.map((e=>({...e,value:e.name}))),__experimentalShowHowTo:!1})),c?(0,n.createElement)("div",{className:"woocommerce-search-list__list"},(0,n.createElement)(w.Spinner,null)):(0,n.createElement)(Xt,{...e,search:g,filteredList:v,messages:y,onSelect:k,instanceId:b,useExpandedPanelId:h}))},eo=((0,w.withSpokenMessages)(Jt),async e=>{if(!("json"in e))return{code:e.code||"",message:e.message,type:e.type||"general"};try{const t=await e.json();return{code:t.code||"",message:t.message,type:t.type||"api"}}catch(e){return{message:e.message,type:"general"}}});const to=window.wp.escapeHtml,oo=({error:e})=>(0,n.createElement)("div",{className:"wc-block-error-message"},(({message:e,type:t})=>e?"general"===t?(0,n.createElement)("span",null,(0,C.__)("The following error was returned","woocommerce"),(0,n.createElement)("br",null),(0,n.createElement)("code",null,(0,to.escapeHTML)(e))):"api"===t?(0,n.createElement)("span",null,(0,C.__)("The following error was returned from the API","woocommerce"),(0,n.createElement)("br",null),(0,n.createElement)("code",null,(0,to.escapeHTML)(e))):e:(0,C.__)("An error has prevented the block from being updated.","woocommerce"))(e)),ro=({className:e,item:t,isSelected:o,isLoading:r,onSelect:c,disabled:l,...a})=>(0,n.createElement)(n.Fragment,null,(0,n.createElement)($t,{...a,key:t.id,className:e,isSelected:o,item:t,onSelect:c,disabled:l}),o&&r&&(0,n.createElement)("div",{key:"loading",className:(0,pt.A)("woocommerce-search-list__item","woocommerce-product-attributes__item","depth-1","is-loading","is-not-active")},(0,n.createElement)(w.Spinner,null))),co=((0,O.getSetting)("attributes",[]).reduce(((e,t)=>{const o=(r=t)&&r.attribute_name?{id:parseInt(r.attribute_id,10),name:r.attribute_name,taxonomy:"pa_"+r.attribute_name,label:r.attribute_label,orderby:r.attribute_orderby}:null;var r;return o&&o.id&&e.push(o),e}),[]),e=>{const{count:t,id:o,name:r,parent:c}=e;return{count:t,id:o,name:r,parent:c,breadcrumbs:[],children:[],value:(0,ze.isAttributeTerm)(e)?e.attr_slug:""}});o(2777);const no=(0,P.withInstanceId)((({onChange:e,onOperatorChange:t,instanceId:o,isCompact:r=!1,messages:c={},operator:l="any",selected:i,type:s="text"})=>{const{errorLoadingAttributes:u,isLoadingAttributes:m,productsAttributes:d}=function(e){const[t,o]=(0,a.useState)(null),[r,c]=(0,a.useState)(!1),[n,l]=(0,a.useState)([]),i=(0,a.useRef)(!1);return(0,a.useEffect)((()=>{if(e&&!r&&!i.current)return async function(){c(!0);try{const e=await Ce()({path:"wc/store/v1/products/attributes"}),t=[];for(const o of e){const e=await xe(o.id);t.push({...o,parent:0,terms:e.map((e=>({...e,attr_slug:o.taxonomy,parent:o.id})))})}l(t),i.current=!0}catch(e){e instanceof Error&&o(await eo(e))}finally{c(!1)}}(),()=>{i.current=!0}}),[r,e]),{errorLoadingAttributes:t,isLoadingAttributes:r,productsAttributes:n}}(!0),p=d.reduce(((e,t)=>{const{terms:o,...r}=t;return[...e,co(r),...o.map(co)]}),[]);return c={clear:(0,C.__)("Clear all product attributes","woocommerce"),noItems:(0,C.__)("Your store doesn't have any product attributes.","woocommerce"),search:(0,C.__)("Search for product attributes","woocommerce"),selected:e=>(0,C.sprintf)(/* translators: %d is the count of attributes selected. */ /* translators: %d is the count of attributes selected. */ (0,C._n)("%d attribute selected","%d attributes selected",e,"woocommerce"),e),updated:(0,C.__)("Product attribute search results updated.","woocommerce"),...c},u?(0,n.createElement)(oo,{error:u}):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Jt,{className:"woocommerce-product-attributes",isCompact:r,isHierarchical:!0,isLoading:m,isSingle:!1,list:p,messages:c,onChange:e,renderItem:e=>{const{item:t,search:r,depth:c=0}=e,l=t.count||0,a=["woocommerce-product-attributes__item","woocommerce-search-list__item",{"is-searching":r.length>0,"is-skip-level":0===c&&0!==t.parent}];if(!t.breadcrumbs.length)return(0,n.createElement)(ro,{...e,className:(0,pt.A)(a),item:t,isLoading:m,disabled:0===t.count,name:`attributes-${o}`,countLabel:(0,C.sprintf)(/* translators: %d is the count of terms. */ /* translators: %d is the count of terms. */ (0,C._n)("%d term","%d terms",l,"woocommerce"),l),"aria-label":(0,C.sprintf)(/* translators: %1$s is the item name, %2$d is the count of terms for the item. */ /* translators: %1$s is the item name, %2$d is the count of terms for the item. */ (0,C._n)("%1$s, has %2$d term","%1$s, has %2$d terms",l,"woocommerce"),t.name,l)});const i=`${t.breadcrumbs[0]}: ${t.name}`;return(0,n.createElement)($t,{...e,name:`terms-${o}`,className:(0,pt.A)(...a,"has-count"),countLabel:(0,C.sprintf)(/* translators: %d is the count of products. */ /* translators: %d is the count of products. */ (0,C._n)("%d product","%d products",l,"woocommerce"),l),"aria-label":(0,C.sprintf)(/* translators: %1$s is the attribute name, %2$d is the count of products for that attribute. */ /* translators: %1$s is the attribute name, %2$d is the count of products for that attribute. */ (0,C._n)("%1$s, has %2$d product","%1$s, has %2$d products",l,"woocommerce"),i,l)})},selected:i.map((({id:e})=>p.find((t=>t.id===e)))).filter(Boolean),type:s}),!!t&&(0,n.createElement)("div",{hidden:i.length<2},(0,n.createElement)(w.SelectControl,{className:"woocommerce-product-attributes__operator",label:(0,C.__)("Display products matching","woocommerce"),help:(0,C.__)("Pick at least two attributes to use this setting.","woocommerce"),value:l,onChange:t,options:[{label:(0,C.__)("Any selected attributes","woocommerce"),value:"any"},{label:(0,C.__)("All selected attributes","woocommerce"),value:"all"}]})))})),lo=`${O.ADMIN_URL}edit.php?post_type=product&page=product_attributes`,ao=({query:e,trackInteraction:t,setQueryAttribute:o})=>{const r=e.woocommerceAttributes||[],c=null==r?void 0:r.map((({termId:e})=>({id:e}))),l=()=>{o({woocommerceAttributes:V.woocommerceAttributes}),t(f.ATTRIBUTES)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Product Attributes","woocommerce"),hasValue:()=>!(null==r||!r.length),onDeselect:l,resetAllFilter:l},(0,n.createElement)(no,{messages:{search:(0,C.__)("Attributes","woocommerce")},selected:c||[],onChange:e=>{const r=e.map((({id:e,value:t})=>({termId:e,taxonomy:t})));o({woocommerceAttributes:r}),t(f.ATTRIBUTES)},operator:"any",isCompact:!0,type:"token"}),(0,n.createElement)(w.ExternalLink,{className:"wc-block-editor-product-collection-panel__manage-attributes-link",href:lo},(0,C.__)("Manage attributes","woocommerce")))},io={_fields:"id,name",order:"asc",orderby:"name",context:"view"},so=e=>{var t;const o=e.match(/^(?:(.+) )?\(#(\d+)\)$/);return!!o&&{name:null!==(t=o[1])&&void 0!==t?t:"",id:parseInt(o[2],10)}},uo=({taxonomy:e,termIds:t,onChange:o})=>{const{existingTerms:r,isLoadingExistingTerms:c}=(0,i.useSelect)((o=>{if(!t||!t.length)return{existingTerms:[],isLoadingExistingTerms:!1};const{getEntityRecords:r,hasFinishedResolution:c}=o("core"),n=["taxonomy",e.slug,{...io,include:t}];return{existingTerms:r(...n),isLoadingExistingTerms:!c("getEntityRecords",n)}}),[e,t]),[l,s]=(0,a.useState)(""),{searchTerms:u}=(0,i.useSelect)((o=>{if(l.length<=1)return{searchTerms:[]};const{getEntityRecords:r}=o("core");return{searchTerms:r("taxonomy",e.slug,{...io,exclude:t,search:l})}}),[e,t,l]),m=(0,P.useDebounce)(s,250),d=new Set,p=new Set,_=e=>(d.has(e.name)&&p.add(e.name),d.add(e.name),(e=>`${e.name} (#${e.id})`)(e)),g=r?r.map(_):[],E=u?u.map(_):[];if(r&&t.length!==r.length){const e=r.reduce(((e,t)=>(e[t.id]=t,e)),{});t.forEach((t=>{e[t]||g.push(`(#${t})`)}))}return(0,n.createElement)("div",{className:"wc-block-editor-product-collection-inspector__taxonomy-control"},(0,n.createElement)(w.FormTokenField,{label:e.name,value:g,onInputChange:m,onChange:e=>{const t=[];e.forEach((e=>{const o=so(e);o&&t.push(o.id)})),o(t)},suggestions:E,disabled:c,displayTransform:e=>{const t=so(e);return t&&(e=t.name?p.has(t.name)?`${t.name} (#${t.id})`:t.name:`(#${t.id} ${(0,C.__)("Missing","woocommerce")})`),(0,Ft.decodeEntities)(e)||""},__experimentalShowHowTo:!1}))},mo=function({setQueryAttribute:e,trackInteraction:t,query:o}){const{taxQuery:r}=o,c=(()=>{const e=(0,i.useSelect)((e=>{const{getTaxonomies:t}=e(s.store);return t({type:"product",per_page:-1})}),[]);return(0,a.useMemo)((()=>null==e?void 0:e.filter((({visibility:e})=>!(null==e||!e.publicly_queryable)))),[e])})();if(!c||0===c.length)return null;const l=e=>e?e.split(" ").map((e=>e.charAt(0).toUpperCase()+e.slice(1))).join(" "):"";return(0,n.createElement)(n.Fragment,null,c.map((o=>{const{slug:c,name:a}=o,i=(null==r?void 0:r[c])||[],s=o=>{e({taxQuery:{...r,[c]:o}}),t(`${f.TAXONOMY}__${c}`)},u=()=>{s([]),t(`${f.TAXONOMY}__${c}`)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{key:c,label:l(a),hasValue:()=>i.length,onDeselect:u,resetAllFilter:u},(0,n.createElement)(uo,{key:c,taxonomy:o,termIds:i,onChange:s}))})))},po=({query:e,trackInteraction:t,setQueryAttribute:o})=>{const r=(ke.productCount||0)>100,c=e.woocommerceHandPickedProducts,[l,i]=(0,a.useState)(""),{productsMap:s,productsList:u}=function(e,t,o=[]){const[r,c]=(0,a.useState)(new Map),[n,l]=(0,a.useState)([]);return(0,a.useEffect)((()=>{const r={selected:e?o.map(Number):[],queryArgs:e?{search:t,per_page:40}:{per_page:0}};Te(r).then((e=>{const t=new Map;e.forEach((e=>{t.set(e.id,e),t.set(e.name,e)})),l(e),c(t)}))}),[e,t,o]),{productsMap:r,productsList:n}}(r,l,c),m=(0,P.useDebounce)(i,250),d=(0,a.useMemo)((()=>null!=c&&c.length&&s.size?c.filter((e=>!!s.get(Number(e)))):c||[]),[c,s]);(0,a.useEffect)((()=>{d.length!==c.length&&o({woocommerceHandPickedProducts:d})}),[d,c,o]);const p=(0,a.useCallback)((e=>{const r=e.reduce(((e,t)=>{const o=s.get(t)||s.get(Number(t));return o&&e.add(String(o.id)),e}),new Set);o({woocommerceHandPickedProducts:Array.from(r)}),t(f.HAND_PICKED)}),[o,t,s]),_=(0,a.useMemo)((()=>u.filter((e=>!(null!=d&&d.includes(String(e.id))))).map((e=>e.name))),[u,d]);return(0,n.createElement)(w.FormTokenField,{displayTransform:e=>{const t=Number(e);if(Number.isNaN(t))return(0,Ft.decodeEntities)(e)||"";const o=s.get(t);return(0,Ft.decodeEntities)(null==o?void 0:o.name)||""},label:(0,C.__)("Hand-Picked","woocommerce"),onChange:p,onInputChange:r?m:void 0,suggestions:_,__experimentalValidateInput:e=>s.has(e),value:s.size?d||[]:[(0,C.__)("Loading…","woocommerce")],__experimentalExpandOnFocus:!0,__experimentalShowHowTo:!1,placeholder:(0,C.__)("Search for products to display…","woocommerce")})},_o=({query:e,trackInteraction:t,setQueryAttribute:o})=>{const r=e.woocommerceHandPickedProducts,c=()=>{o({woocommerceHandPickedProducts:V.woocommerceHandPickedProducts}),t(f.HAND_PICKED)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Hand-Picked","woocommerce"),hasValue:()=>!(null==r||!r.length),onDeselect:c,resetAllFilter:c},(0,n.createElement)(po,{query:e,trackInteraction:t,setQueryAttribute:o}))},go=e=>{switch(e){case h.GRID:return(0,C.__)("Display products using rows and columns.","woocommerce");case h.STACK:return(0,C.__)("Display products in a single column.","woocommerce");default:return""}},wo=h.GRID,Eo=e=>{const{type:t,columns:o,shrinkColumns:r}=e.displayLayout,c=t=>{e.setAttributes({displayLayout:{type:t,columns:o,shrinkColumns:r}})};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Layout","woocommerce"),hasValue:()=>t!==wo,isShownByDefault:!0,onDeselect:()=>{c(h.GRID)}},(0,n.createElement)(w.__experimentalToggleGroupControl,{label:(0,C.__)("Layout","woocommerce"),isBlock:!0,onChange:e=>{c(e)},help:go(t),value:t},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:h.STACK,label:(0,C.__)("Stack","woocommerce")}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:h.GRID,label:(0,C.__)("Grid","woocommerce")})))},ho=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,c=()=>{r({featured:V.featured}),o(f.FEATURED)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Featured","woocommerce"),hasValue:()=>!0===t.featured,onDeselect:c,resetAllFilter:c},(0,n.createElement)(w.BaseControl,{id:"product-collection-featured-products-control",label:(0,C.__)("Featured","woocommerce")},(0,n.createElement)(w.ToggleControl,{label:(0,C.__)("Show only featured products","woocommerce"),checked:t.featured||!1,onChange:e=>{r({featured:e}),o(f.FEATURED)}})))},bo=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,{timeFrame:c}=t,l=()=>{r({timeFrame:V.timeFrame}),o(f.CREATED)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Created","woocommerce"),hasValue:()=>(null==c?void 0:c.operator)&&(null==c?void 0:c.value),onDeselect:l,resetAllFilter:l},(0,n.createElement)(w.Flex,{direction:"column",gap:3},(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.__experimentalToggleGroupControl,{label:(0,C.__)("Created","woocommerce"),isBlock:!0,onChange:e=>{r({timeFrame:{...c,operator:e}}),o(f.CREATED)},value:(null==c?void 0:c.operator)||y.IN},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:y.IN,label:(0,C._x)("Within","Product Collection query operator","woocommerce")}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:y.NOT_IN,label:(0,C._x)("Before","Product Collection query operator","woocommerce")}))),(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.RadioControl,{onChange:e=>{r({timeFrame:{operator:y.IN,...c,value:e}}),o(f.CREATED)},options:[{label:"last 24 hours",value:"-1 day"},{label:"last 7 days",value:"-7 days"},{label:"last 30 days",value:"-30 days"},{label:"last 3 months",value:"-3 months"}],selected:null==c?void 0:c.value}))))},yo=window.wc.priceFormat,vo=({value:e,onChange:t,label:o})=>{const[r,c]=(0,a.useState)(`${e||""}`),l=(0,yo.getCurrency)(),i=((e="",t)=>{const o=e.replace(new RegExp(`[^0-9\\${t.decimalSeparator||""}]`,"g"),"").replace(new RegExp(`\\${t.decimalSeparator}`,"g"),"."),r=Number(o);if(""!==o&&!isNaN(r))return r<0?0:r})(r,l),s=((e,t)=>{if(void 0===e||isNaN(e))return;let o=((e,t)=>{const o=Math.pow(10,t.minorUnit),r=""+Math.round(e*o)/o;let[c,n]=r.split(".");return t.thousandSeparator&&(c=c.replace(/\B(?=(\d{3})+(?!\d))/g,t.thousandSeparator)),n?`${c}${t.decimalSeparator||"."}${n}`:c})(e,t);return null!=t&&t.prefix&&(o=`${t.prefix}${o}`),null!=t&&t.suffix&&(o=`${o}${t.suffix}`),o})(i,l);return(0,n.createElement)(w.__experimentalInputControl,{value:s,onChange:e=>{c(e)},onBlur:()=>{t(i)},onKeyDown:e=>{"Enter"===e.key&&t(i)},label:o,prefix:(0,n.createElement)(w.__experimentalInputControlPrefixWrapper,null,o),placeholder:(0,C.__)("Auto","woocommerce"),hideLabelFromVision:!0,type:"text",style:{textAlign:"right"},__next40pxDefaultSize:!0})},fo=e=>{const{query:t,trackInteraction:o,setQueryAttribute:r}=e,c=t.priceRange,l=()=>{r({priceRange:V.priceRange}),o(f.PRICE_RANGE)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Price Range","woocommerce"),hasValue:()=>void 0!==(null==c?void 0:c.min)||void 0!==(null==c?void 0:c.max),onDeselect:l,resetAllFilter:l,className:"wc-block-product-price-range-control"},(0,n.createElement)(w.BaseControl.VisualLabel,null,(0,C.__)("PRICE RANGE","woocommerce")),(0,n.createElement)(w.__experimentalHStack,{spacing:"2"},(0,n.createElement)(vo,{label:(0,C.__)("MIN","woocommerce"),value:null==c?void 0:c.min,onChange:e=>{r({priceRange:{min:0===e?void 0:e,max:null==c?void 0:c.max}}),o(f.PRICE_RANGE)}}),(0,n.createElement)(vo,{label:(0,C.__)("MAX","woocommerce"),value:null==c?void 0:c.max,onChange:e=>{const t=0===e?void 0:e;r({priceRange:{min:null==c?void 0:c.min,max:t}}),o(f.PRICE_RANGE)}})))};var Co=o(4717);var ko=o(2294),So=o(923),Ao=o.n(So);const Ro=(0,P.createHigherOrderComponent)((e=>{class t extends a.Component{constructor(...e){super(...e),(0,ko.A)(this,"state",{error:null,loading:!1,variations:{}}),(0,ko.A)(this,"prevSelectedItem",void 0),(0,ko.A)(this,"loadVariations",(()=>{const{products:e}=this.props,{loading:t,variations:o}=this.state;if(t)return;const r=this.getExpandedProduct();if(!r||o[r])return;const c=e.find((e=>e.id===r));var n;null!=c&&c.variations&&0!==c.variations.length?(this.setState({loading:!0}),(n=r,Ce()({path:(0,me.addQueryArgs)("wc/store/v1/products",{per_page:0,type:"variation",parent:n})})).then((e=>{const t=e.map((e=>({...e,parent:r})));this.setState({variations:{...this.state.variations,[r]:t},loading:!1,error:null})})).catch((async e=>{const t=await eo(e);this.setState({variations:{...this.state.variations,[r]:null},loading:!1,error:t})}))):this.setState({variations:{...this.state.variations,[r]:null},loading:!1,error:null})}))}componentDidMount(){const{selected:e,showVariations:t}=this.props;e&&t&&this.loadVariations()}componentDidUpdate(e){const{isLoading:t,selected:o,showVariations:r}=this.props;r&&(!Ao()(e.selected,o)||e.isLoading&&!t)&&this.loadVariations()}isProductId(e){const{products:t}=this.props;return t.some((t=>t.id===e))}findParentProduct(e){var t;const{products:o}=this.props;return null===(t=o.filter((t=>t.variations&&t.variations.find((({id:t})=>t===e))))[0])||void 0===t?void 0:t.id}getExpandedProduct(){const{isLoading:e,selected:t,showVariations:o}=this.props;if(!o)return null;let r=t&&t.length?t[0]:null;return r?this.prevSelectedItem=r:!this.prevSelectedItem||e||this.isProductId(this.prevSelectedItem)||(r=this.prevSelectedItem),!e&&r?this.isProductId(r)?r:this.findParentProduct(r):null}render(){const{error:t,isLoading:o}=this.props,{error:r,loading:c,variations:l}=this.state;return(0,n.createElement)(e,{...this.props,error:r||t,expandedProduct:this.getExpandedProduct(),isLoading:o,variations:l,variationsLoading:c})}}return t}),"withProductVariations"),Po=e=>{const{id:t,name:o,parent:r}=e;return{id:t,name:o,parent:r,breadcrumbs:[],children:[],details:e,value:e.slug}};o(7369);const Io={list:(0,C.__)("Products","woocommerce"),noItems:(0,C.__)("Your store doesn't have any products.","woocommerce"),search:(0,C.__)("Search for a product to display","woocommerce"),updated:(0,C.__)("Product search results updated.","woocommerce")},To=(e=>t=>{let{selected:o}=t;o=void 0===o?null:o;const r=null===o;return Array.isArray(o)?(0,n.createElement)(e,{...t}):(0,n.createElement)(e,{...t,selected:r?[]:[o]})})((Bo=Ro((0,P.withInstanceId)((e=>{const{expandedProduct:t=null,error:o,instanceId:r,isCompact:c=!1,isLoading:l,onChange:a,onSearch:i,products:s,renderItem:u,selected:m=[],showVariations:d=!1,variations:p,variationsLoading:_}=e;if(o)return(0,n.createElement)(oo,{error:o});const g=[...s,...p&&t&&p[t]?p[t]:[]].map(Po);return(0,n.createElement)(Jt,{className:"woocommerce-products",list:g,isCompact:c,isLoading:l,isSingle:!0,selected:g.filter((({id:e})=>m.includes(Number(e)))),onChange:a,renderItem:u||(d?e=>{var t,o,c,a;const{item:i,search:s,depth:u=0,isSelected:m,onSelect:d}=e,p=null!==(t=i.details)&&void 0!==t&&t.variations&&Array.isArray(i.details.variations)?i.details.variations.length:0,g=(0,pt.A)("woocommerce-search-product__item","woocommerce-search-list__item",`depth-${u}`,"has-count",{"is-searching":s.length>0,"is-skip-level":0===u&&0!==i.parent,"is-variable":p>0});if(!i.breadcrumbs.length){var w,E,h,b,y;const t=(null===(w=i.details)||void 0===w?void 0:w.variations)&&i.details.variations.length>0;return(0,n.createElement)(ro,{...e,className:(0,pt.A)(g,{"is-selected":m}),isSelected:m,item:i,onSelect:()=>()=>{d(i)()},isLoading:l||_,countLabel:t?(0,C.sprintf)(/* translators: %1$d is the number of variations of a product product. */ /* translators: %1$d is the number of variations of a product product. */ (0,C.__)("%1$d variations","woocommerce"),null===(E=i.details)||void 0===E?void 0:E.variations.length):null,name:`products-${r}`,"aria-label":t?(0,C.sprintf)(/* translators: %1$s is the product name, %2$d is the number of variations of that product. */ /* translators: %1$s is the product name, %2$d is the number of variations of that product. */ (0,C._n)("%1$s, has %2$d variation","%1$s, has %2$d variations",null===(h=i.details)||void 0===h||null===(b=h.variations)||void 0===b?void 0:b.length,"woocommerce"),i.name,null===(y=i.details)||void 0===y?void 0:y.variations.length):void 0})}const v=(0,ze.isEmpty)(null===(o=i.details)||void 0===o?void 0:o.variation)?e:{...e,item:{...e.item,name:null===(c=i.details)||void 0===c?void 0:c.variation},"aria-label":`${i.breadcrumbs[0]}: ${null===(a=i.details)||void 0===a?void 0:a.variation}`};return(0,n.createElement)($t,{...v,className:g,name:`variations-${r}`})}:void 0),onSearch:i,messages:{...Io,...e.messages},isHierarchical:!0})}))),({selected:e,...t})=>{const[o,r]=(0,a.useState)(!0),[c,l]=(0,a.useState)(null),[i,s]=(0,a.useState)([]),u=ke.productCount>100,m=async e=>{const t=await eo(e);l(t),r(!1)},d=(0,a.useRef)(e);(0,a.useEffect)((()=>{Te({selected:d.current}).then((e=>{s(e),r(!1)})).catch(m)}),[d]);const p=(0,Co.YQ)((t=>{Te({selected:e,search:t}).then((e=>{s(e),r(!1)})).catch(m)}),400),_=(0,a.useCallback)((e=>{r(!0),p(e)}),[r,p]);return(0,n.createElement)(Bo,{...t,selected:e,error:c,products:i,isLoading:o,onSearch:u?_:null})})),xo="product",Oo="cart",Lo="order",No=({isOpen:e,onToggle:t,product:o,isLoading:r})=>{var c,l;if(r&&!o)return(0,n.createElement)(w.Spinner,null);const a=!o,i=a||!(null!=o&&null!==(c=o.images)&&void 0!==c&&null!==(l=c[0])&&void 0!==l&&l.src),s=i?`${Se}/blocks/product-collection/placeholder.svg`:o.images[0].src,u=i?"":null==o?void 0:o.name;return(0,n.createElement)(w.Button,{className:"wc-block-product-collection-linked-product-control__button",onClick:t,"aria-expanded":e,disabled:r},(0,n.createElement)(w.Flex,{direction:"row",expanded:!0,justify:"flex-start"},(0,n.createElement)(w.FlexItem,{className:"wc-block-product-collection-linked-product-control__image-container"},(0,n.createElement)("img",{src:s,alt:u})),(0,n.createElement)(w.Flex,{direction:"column",align:"flex-start",gap:1,className:"wc-block-product-collection-linked-product-control__content"},a?(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.__experimentalText,{color:"inherit",lineHeight:1},(0,C.__)("Select product","woocommerce"))):(0,n.createElement)(n.Fragment,null,(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.__experimentalText,{color:"inherit",lineHeight:1},null!=o&&o.name?(0,Ft.decodeEntities)(o.name):"")),(0,n.createElement)(w.FlexItem,null,(0,n.createElement)(w.__experimentalText,{color:"inherit",lineHeight:1},null==o?void 0:o.sku))))))},Do=({query:e,setAttributes:t,setIsDropdownOpen:o})=>(0,n.createElement)(To,{selected:null==e?void 0:e.productReference,onChange:(r=[])=>{var c,n;const l=null!==(c=null===(n=r[0])||void 0===n?void 0:n.id)&&void 0!==c?c:null;null!==l&&(t({query:{...e,productReference:l}}),o(!1))},messages:{search:(0,C.__)("Select a product","woocommerce")}});var Bo,Fo=function(e){return e.CURRENT_PRODUCT="CURRENT_PRODUCT",e.SPECIFIC_PRODUCT="SPECIFIC_PRODUCT",e}(Fo||{});const qo=({query:e,setAttributes:t,location:o,usesReference:r})=>{const c=o.type===xo,l=!(null==r||!r.includes(xo)),i=o.type===Oo,s=!(null==r||!r.includes(Oo)),u=o.type===Lo,m=!(null==r||!r.includes(Lo)),{productReference:d}=e,{product:p,isLoading:_}=(e=>{const[t,o]=(0,a.useState)(null),[r,c]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{(async()=>{if(e){c(!0);try{const t=await(e=>Ce()({path:`/wc/store/v1/products/${e}`}))(e);o(t)}catch(e){o(null)}finally{c(!1)}}else o(null),c(!1)})()}),[e]),{product:t,isLoading:r}})(d),[g,E]=(0,a.useState)(!1),[h,b]=(0,a.useState)((c||i||u)&&(0,ze.isEmpty)(d)?Fo.CURRENT_PRODUCT:Fo.SPECIFIC_PRODUCT),y=(0,a.useRef)(void 0),v=c&&l||i&&s||u&&m,f=v?h===Fo.SPECIFIC_PRODUCT:!(0,ze.isEmpty)(d);if(!v&&!f||!(l||s||m))return null;const k=h===Fo.CURRENT_PRODUCT?(0,C.__)("Linked products will be pulled from the product a shopper is currently viewing","woocommerce"):(0,C.__)("Select a product to pull the linked products from","woocommerce"),S=((e,t,o)=>e===Oo&&t?(0,C.__)("From products in the cart","woocommerce"):e===Lo&&o?(0,C.__)("From products in the order","woocommerce"):(0,C.__)("From the current product","woocommerce"))(o.type,s,m);return(0,n.createElement)(w.PanelBody,{title:(0,C.__)("Linked Product","woocommerce")},v&&(0,n.createElement)(w.PanelRow,null,(0,n.createElement)(w.RadioControl,{className:"wc-block-product-collection-product-reference-radio",label:(0,C.__)("Products to show","woocommerce"),help:k,selected:h,options:[{label:S,value:Fo.CURRENT_PRODUCT},{label:(0,C.__)("From a specific product","woocommerce"),value:Fo.SPECIFIC_PRODUCT}],onChange:o=>{if(o===Fo.CURRENT_PRODUCT){const{productReference:o,...r}=e;y.current=o,t({query:r})}else t({query:y.current?{...e,productReference:y.current}:e});b(o)}})),f&&(0,n.createElement)(w.PanelRow,null,(0,n.createElement)(w.Dropdown,{className:"wc-block-product-collection-linked-product-control",contentClassName:"wc-block-product-collection-linked-product__popover-content",popoverProps:{placement:"left-start"},renderToggle:({isOpen:e,onToggle:t})=>(0,n.createElement)(No,{isOpen:e,onToggle:t,product:p,isLoading:_}),renderContent:()=>(0,n.createElement)(Do,{query:e,setAttributes:t,setIsDropdownOpen:E}),open:g,onToggle:()=>E(!g)})))},Mo=({dimensions:e,setAttributes:t})=>{const{widthType:o,fixedWidth:r=""}=e;return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Width","woocommerce"),hasValue:()=>o!==b.FILL,isShownByDefault:!0},(0,n.createElement)(w.__experimentalToggleGroupControl,{label:(0,C.__)("Width","woocommerce"),value:o,help:(c=o,c===b.FILL?(0,C.__)("Stretch to fill available space.","woocommerce"):(0,C.__)("Specify a fixed width.","woocommerce")),onChange:o=>(o=>{t({dimensions:{...e,widthType:o}})})(o),isBlock:!0},(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:b.FILL,label:(0,C.__)("Fill","woocommerce")}),(0,n.createElement)(w.__experimentalToggleGroupControlOption,{value:b.FIXED,label:(0,C.__)("Fixed","woocommerce")})),o===b.FIXED&&(0,n.createElement)(w.__experimentalUnitControl,{onChange:o=>{t({dimensions:{...e,fixedWidth:o}})},value:r}));var c},Vo=({query:e,setQueryAttribute:t,trackInteraction:o})=>{const r=null==e?void 0:e.relatedBy,c=(e,c)=>{const n={...r,[c]:e};t({relatedBy:n}),o(f.RELATED_BY)};return(0,n.createElement)(w.PanelBody,{title:(0,C.__)("Related by","woocommerce")},(0,n.createElement)("div",{className:"wc-block-editor-product-collection-inspector-controls__relate-by"},(0,n.createElement)(w.CheckboxControl,{label:(0,C.__)("Categories","woocommerce"),checked:null==r?void 0:r.categories,onChange:e=>{c(e,"categories")}}),(0,n.createElement)(w.CheckboxControl,{label:(0,C.__)("Tags","woocommerce"),checked:null==r?void 0:r.tags,onChange:e=>{c(e,"tags")}})))},Ho=({query:e,setQueryAttribute:t,trackInteraction:o})=>{const r=()=>{t({perPage:q.perPage}),o(f.PRODUCTS_PER_PAGE)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Products per page","woocommerce"),isShownByDefault:!0,hasValue:()=>e.perPage!==q.perPage,onDeselect:r,resetAllFilter:r},(0,n.createElement)(w.RangeControl,{__next40pxDefaultSize:!0,__nextHasNoMarginBottom:!0,label:(0,C.__)("Products per page","woocommerce"),min:1,max:100,onChange:e=>{isNaN(e)||e<1||e>100||(t({perPage:e}),o(f.PRODUCTS_PER_PAGE))},value:e.perPage||q.perPage}))},Uo=({query:e,setQueryAttribute:t,trackInteraction:o})=>{const r=()=>{t({offset:q.offset}),o(f.OFFSET)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Offset","woocommerce"),hasValue:()=>e.offset!==q.offset,onDeselect:r,resetAllFilter:r},(0,n.createElement)(w.__experimentalNumberControl,{__next40pxDefaultSize:!0,label:(0,C.__)("Offset","woocommerce"),value:e.offset,min:0,onChange:e=>{isNaN(e)||e<0||e>100||(t({offset:e}),o(f.OFFSET))}}))},$o=({query:e,setQueryAttribute:t,trackInteraction:o})=>{const r=()=>{t({pages:q.pages}),o(f.MAX_PAGES_TO_SHOW)};return(0,n.createElement)(w.__experimentalToolsPanelItem,{label:(0,C.__)("Max pages to show","woocommerce"),hasValue:()=>e.pages!==q.pages,onDeselect:r,resetAllFilter:r},(0,n.createElement)(w.__experimentalNumberControl,{__next40pxDefaultSize:!0,label:(0,C.__)("Max pages to show","woocommerce"),value:e.pages,min:0,onChange:e=>{isNaN(e)||e<0||(t({pages:e}),o(f.MAX_PAGES_TO_SHOW))},help:(0,C.__)("Limit the pages you want to show, even if the query has more results. To show all pages use 0 (zero).","woocommerce")}))},Go=e=>{const{attributes:t,context:o,setAttributes:r}=e,{query:i,hideControls:s,dimensions:u,displayLayout:m}=t,d=dt(o.templateSlug),p=(null==i?void 0:i.inherit)||!1,_=(e=>t=>!e.includes(t))(s),g="product-catalog"===d||"product-archive"===d,E=!1===p,h=g&&_(f.INHERIT),b=!g&&_(f.FILTERABLE),y=E&&_(f.ORDER),v=E&&_(f.OFFSET),k=E&&_(f.MAX_PAGES_TO_SHOW),S=E&&_(f.PRODUCTS_PER_PAGE),A=_(f.ON_SALE),P=_(f.STOCK_STATUS),I=_(f.HAND_PICKED),T=_(f.KEYWORD),x=_(f.ATTRIBUTES),O=_(f.TAXONOMY),L=_(f.FEATURED),N=_(f.CREATED),D=_(f.PRICE_RANGE),B={setAttributes:r,displayLayout:m},F={setAttributes:r,dimensions:u},V={setQueryAttribute:(0,a.useMemo)((()=>Oe.bind(null,e)),[e]),trackInteraction:e=>R("blocks_product_collection_inspector_control_clicked",{collection:t.collection,location:d,filter:e}),query:i};return(0,n.createElement)(l.InspectorControls,null,(0,n.createElement)(qo,{query:e.attributes.query,setAttributes:e.setAttributes,usesReference:e.usesReference,location:e.location}),(0,n.createElement)(w.__experimentalToolsPanel,{label:(0,C.__)("Settings","woocommerce"),resetAll:()=>{const t=(o=e.attributes,{displayLayout:Fe(),query:(r=o.query,{...r,orderBy:q.orderBy,order:q.order,inherit:De(),filterable:Be(),perPage:q.perPage,offset:q.offset,pages:q.pages}),dimensions:M.dimensions});var o,r;e.setAttributes(t)},className:"wc-block-editor-product-collection__settings_panel"},h&&(0,n.createElement)(Pt,{...V}),b&&(0,n.createElement)(It,{...V}),(0,n.createElement)(Eo,{...B}),(0,n.createElement)(Mo,{...F}),S&&(0,n.createElement)(Ho,{...V}),(0,n.createElement)(vt,{...B}),y&&(0,n.createElement)(xt,{...V}),v&&(0,n.createElement)(Uo,{...V}),k&&(0,n.createElement)($o,{...V})),E?(0,n.createElement)(w.__experimentalToolsPanel,{label:(0,C.__)("Filters","woocommerce"),resetAll:e=>{e.forEach((e=>{e()}))},className:"wc-block-editor-product-collection-inspector-toolspanel__filters"},A&&(0,n.createElement)(Ot,{...V}),P&&(0,n.createElement)(Nt,{...V}),I&&(0,n.createElement)(_o,{...V}),T&&(0,n.createElement)(Dt,{...V}),x&&(0,n.createElement)(ao,{...V}),O&&(0,n.createElement)(mo,{...V}),L&&(0,n.createElement)(ho,{...V}),N&&(0,n.createElement)(bo,{...V}),D&&(0,n.createElement)(fo,{...V})):null,(0,n.createElement)(it,{blockName:c.title,wrapper:w.PanelBody}))},jo=e=>e===c.name,Wo=e=>{const t=e+2592e5;return Date.now()<t},Qo=(e=0)=>e<=4,Ko=e=>{const t=(0,a.useMemo)((()=>Oe.bind(null,e)),[e]),o=dt(e.context.templateSlug),r={setQueryAttribute:t,trackInteraction:t=>R("blocks_product_collection_inspector_control_clicked",{collection:e.attributes.collection,location:o,filter:t}),query:e.attributes.query};return(0,n.createElement)(l.InspectorControls,null,"woocommerce/product-collection/hand-picked"===e.attributes.collection&&(0,n.createElement)(w.PanelBody,null,(0,n.createElement)(po,{...r})),"woocommerce/product-collection/related"===e.attributes.collection&&(0,n.createElement)(Vo,{...r}))};(0,ue.addFilter)("editor.BlockEdit",c.name,(e=>t=>jo(t.name)&&t.isSelected?(0,n.createElement)(n.Fragment,null,(0,n.createElement)(Ko,{...t}),(0,n.createElement)(e,{...t})):(0,n.createElement)(e,{...t}))),(0,ue.addFilter)("editor.BlockEdit",c.name,(e=>t=>{if(!jo(t.name))return(0,n.createElement)(e,{...t});const o=(e=>{const{attributes:t}=e,{convertedFromProducts:o}=t,{status:r,time:c,displayCount:n}=Je();return o&&"notseen"===r&&Wo(c)&&Qo(n)})(t),r=(e=>{const{attributes:t}=e,{convertedFromProducts:o}=t,{status:r,time:c,displayCount:n}=Je();return o&&("seen"===r||!Wo(c)||!Qo(n))})(t);return r&&t.setAttributes({convertedFromProducts:!1}),(0,n.createElement)(n.Fragment,null,o&&(0,n.createElement)(l.InspectorControls,null,(0,n.createElement)(Et,{revertMigration:nt})),(0,n.createElement)(e,{...t}))}));const zo=["core/post-content","woocommerce/mini-cart","woocommerce/featured-product"],Zo=["core/","woocommerce/"],Yo=(0,C.__)("Enable to enforce full page reload on certain interactions, like using paginations controls.","woocommerce"),Xo=(0,C.__)("Browsing between pages requires a full page reload.","woocommerce"),Jo=(0,C.__)("Reload full page can't be disabled because there are incompatible blocks inside the Product Collection block.","woocommerce"),er=e=>{const{clientId:t,forcePageReload:o,setAttributes:r}=e,c=(e=>(0,i.useSelect)((t=>{const{getClientIdsOfDescendants:o,getBlockName:r}=t(l.store);return o(e).find((e=>{var t;return t=r(e),!(!zo.includes(t)&&Zo.find((e=>t.startsWith(e))))}))||!1}),[e]))(t);(0,a.useEffect)((()=>{!o&&c&&r({forcePageReload:!0})}),[o,c,r]);let s=Yo;return o&&(s=Xo),c&&(s=Jo),(0,n.createElement)(w.ToggleControl,{label:(0,C.__)("Reload full page","woocommerce"),help:s,checked:o,onChange:()=>r({forcePageReload:!o}),disabled:c})};function tr(e){const{clientId:t,attributes:o,setAttributes:r}=e,{forcePageReload:c}=o;return(0,n.createElement)(l.InspectorAdvancedControls,null,(0,n.createElement)(er,{clientId:t,forcePageReload:c,setAttributes:r}))}var or=o(5866),rr=o(6554);const cr=e=>{const{type:t,columns:o,shrinkColumns:r}=e.displayLayout,c=t=>{e.setAttributes({displayLayout:t})},l=[{icon:or.A,title:(0,C.__)("List view","woocommerce"),onClick:()=>c({type:h.STACK,columns:o,shrinkColumns:r}),isActive:t===h.STACK},{icon:rr.A,title:(0,C.__)("Grid view","woocommerce"),onClick:()=>c({type:h.GRID,columns:o,shrinkColumns:r}),isActive:t===h.GRID}];return(0,n.createElement)(w.ToolbarGroup,{controls:l})},nr=e=>(0,n.createElement)(w.ToolbarGroup,null,(0,n.createElement)(w.ToolbarButton,{onClick:e.openCollectionSelectionModal},(0,C.__)("Choose collection","woocommerce")));function lr(e){var t;const{attributes:o,openCollectionSelectionModal:r,setAttributes:c}=e,{query:a,displayLayout:i}=o,s=se(e.attributes.collection),u=(null==s||null===(t=s.scope)||void 0===t?void 0:t.includes("block"))||void 0===(null==s?void 0:s.scope);return(0,n.createElement)(l.BlockControls,null,u&&(0,n.createElement)(nr,{openCollectionSelectionModal:r}),!a.inherit&&(0,n.createElement)(cr,{displayLayout:i,setAttributes:c}))}const ar=({preview:{setPreviewState:e,initialPreviewState:t}={},...o})=>{var r,c,s,m;const d=(0,a.useRef)(!1),{clientId:p,attributes:_,setAttributes:g,location:E,isUsingReferencePreviewMode:h}=o;(({setPreviewState:e,location:t,attributes:o,setAttributes:r,isUsingReferencePreviewMode:c})=>{var n,l;const i=e=>{r({__privatePreviewState:{...o.__privatePreviewState,...e}})},s=((e,t)=>t?e.type===u.Product?(0,C.__)("Actual products will vary depending on the product being viewed.","woocommerce"):(0,C.__)("Actual products will vary depending on the page being viewed.","woocommerce"):"")(t,c);(0,a.useLayoutEffect)((()=>{c&&r({__privatePreviewState:{isPreview:s.length>0,previewMessage:s}})}),[r,s,c]),(0,a.useLayoutEffect)((()=>{if(e||c)return(null==e?void 0:e({setState:i,location:t,attributes:o}))||void 0}),[e]);const m=t.type===u.Archive?null===(n=t.sourceData)||void 0===n?void 0:n.termId:null;(0,a.useLayoutEffect)((()=>{if(!e&&!c){var n;const e=t.type===u.Archive&&null===m;r({__privatePreviewState:{isPreview:!!e&&!(null==o||null===(n=o.query)||void 0===n||!n.inherit),previewMessage:(0,C.__)("Actual products will vary depending on the page being viewed.","woocommerce")}})}}),[null==o||null===(l=o.query)||void 0===l?void 0:l.inherit,s,m,t.type,r,e,c])})({setPreviewState:e,setAttributes:g,location:E,attributes:_,isUsingReferencePreviewMode:h});const y=(0,l.useBlockProps)(),v=(0,l.useInnerBlocksProps)(y,{template:$}),f=((e,t,o)=>{const r=(0,P.useInstanceId)(o),{getBlockParentsByBlockName:c}=(0,i.useSelect)(l.store);let n=r;return(0,a.useMemo)((()=>c(e,"core/block")),[c,e]).length>0&&(n=t.queryId),n})(p,_,ar),k={...M,query:{...M.query,inherit:De(),filterable:Be()},..._,queryId:f,...!!_.collection&&t&&{__privatePreviewState:t}};let S={};return b.FIXED===(null==_||null===(r=_.dimensions)||void 0===r?void 0:r.widthType)&&null!=_&&null!==(c=_.dimensions)&&void 0!==c&&c.fixedWidth&&(S={maxWidth:_.dimensions.fixedWidth,margin:"0 auto"}),(0,a.useEffect)((()=>{g(k),d.current=!0}),[]),d.current=d.current||We()(_,k),d.current?(0,n.createElement)("div",{...y},(null===(s=_.__privatePreviewState)||void 0===s?void 0:s.isPreview)&&o.isSelected&&(0,n.createElement)(w.Button,{variant:"primary",size:"small",showTooltip:!0,label:null===(m=_.__privatePreviewState)||void 0===m?void 0:m.previewMessage,className:"wc-block-product-collection__preview-button","data-testid":"product-collection-preview-button"},"Preview"),(0,n.createElement)(Go,{...o}),(0,n.createElement)(tr,{...o}),(0,n.createElement)(lr,{...o}),(0,n.createElement)("div",{...v,style:S})):null},ir=ar,sr=e=>{const{clientId:t,attributes:o,tracksLocation:r,closePatternSelectionModal:c}=e,{collection:s}=o,{replaceBlock:u}=(0,i.useDispatch)(l.store),[m,d]=(0,a.useState)(s),p=e=>{R("blocks_product_collection_collection_replaced_from_placeholder",{action:e,location:r}),c()};return(0,n.createElement)(w.Modal,{overlayClassName:"wc-blocks-product-collection__modal",title:(0,C.__)("What products do you want to show?","woocommerce"),onRequestClose:()=>p("close"),size:"large"},(0,n.createElement)("div",{className:"wc-blocks-product-collection__content"},(0,n.createElement)($e,{chosenCollection:m,onCollectionClick:d}),(0,n.createElement)("div",{className:"wc-blocks-product-collection__footer"},(0,n.createElement)(w.Button,{variant:"tertiary",onClick:()=>p("cancel")},(0,C.__)("Cancel","woocommerce")),(0,n.createElement)(w.Button,{variant:"primary",onClick:()=>{m&&(R("blocks_product_collection_collection_replaced_from_placeholder",{from:s,to:m,location:r}),qe(m,t,u))}},(0,C.__)("Continue","woocommerce")))))};o(6818);const ur=e=>{var t;const o=(0,l.useBlockProps)(),{attributes:r,isDeletedProductReference:c}=e,i=se(r.collection);if(!i)return null;const s=c?(0,C.__)("Previously selected product is no longer available.","woocommerce"):(0,a.createInterpolateElement)((0,C.sprintf)(/* translators: %s: collection title */ /* translators: %s: collection title */ (0,C.__)("<strong>%s</strong> requires a product to be selected in order to display associated items.","woocommerce"),i.title),{strong:(0,n.createElement)("strong",null)});return(0,n.createElement)("div",{...o},(0,n.createElement)(w.Placeholder,{className:"wc-blocks-product-collection__editor-product-picker"},(0,n.createElement)(w.__experimentalHStack,{alignment:"center"},(0,n.createElement)(T.A,{icon:jt.A,className:"wc-blocks-product-collection__info-icon"}),(0,n.createElement)(w.__experimentalText,null,s)),(0,n.createElement)(To,{selected:null===(t=r.query)||void 0===t?void 0:t.productReference,onChange:(t=[])=>{var o,c;null!==(null!==(o=null===(c=t[0])||void 0===c?void 0:c.id)&&void 0!==o?o:null)&&e.setAttributes({query:{...r.query,productReference:t[0].id}})},messages:{search:(0,C.__)("Select a product","woocommerce")}})))};var mr=o(6465);function dr(e,{blockDescription:t,blockIcon:o,blockTitle:c,variationName:n,scope:l}){(0,r.registerBlockVariation)(e,{description:t,name:n,title:c,isActive:e=>e.__woocommerceNamespace===n,icon:{src:o},attributes:{__woocommerceNamespace:n},scope:l})}const pr=(0,C.__)("Product Summary","woocommerce"),_r=((0,n.createElement)(T.A,{icon:mr.A,className:"wc-block-editor-components-block-icon"}),(0,C.__)("Display a short description about a product.","woocommerce")),gr=`${c.name}/product-summary`;var wr=o(4478);const Er=(0,C.__)("Product Title","woocommerce"),hr=((0,n.createElement)(T.A,{icon:wr.A,className:"wc-block-editor-components-block-icon"}),(0,C.__)("Display the title of a product.","woocommerce")),br=`${c.name}/product-title`;(0,r.registerBlockType)(c,{icon:()=>(0,n.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 11H5C4.72386 11 4.5 11.2239 4.5 11.5V17.5C4.5 17.7761 4.72386 18 5 18H19C19.2761 18 19.5 17.7761 19.5 17.5V11.5C19.5 11.2239 19.2761 11 19 11ZM5 9.5H19C20.1046 9.5 21 10.3954 21 11.5V17.5C21 18.6046 20.1046 19.5 19 19.5H5C3.89543 19.5 3 18.6046 3 17.5V11.5C3 10.3954 3.89543 9.5 5 9.5Z",fill:"currentColor"}),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 7.5C18 7.77614 17.7761 8 17.5 8L6.5 8C6.22386 8 6 7.77614 6 7.5V7.5C6 7.22386 6.22386 7 6.5 7L17.5 7C17.7761 7 18 7.22386 18 7.5V7.5Z",fill:"currentColor"}),(0,n.createElement)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 5C16 5.27614 15.7761 5.5 15.5 5.5L8.5 5.5C8.22386 5.5 8 5.27614 8 5V5C8 4.72386 8.22386 4.5 8.5 4.5L15.5 4.5C15.7761 4.5 16 4.72386 16 5V5Z",fill:"currentColor"})),edit:e=>{const{clientId:t,attributes:o,context:r}=e,c=((e,t)=>{const o=e.templateSlug||"",r=e.postId||null,c=(e=>t=>e.replace(`${t}-`,""))(o),n=(e=>t=>e.includes(t)&&e!==t)(o),s=n(m),w=n(d),E=n(p),[h,b]=(0,a.useState)(null),[y,v]=(0,a.useState)(null),[f,C]=(0,a.useState)(null);(0,a.useEffect)((()=>{if(s){const e=c(m);_("postType","product",e,b)}if(w){const e=c(d);_("taxonomy","product_cat",e,v)}if(E){const e=c(p);_("taxonomy","product_tag",e,C)}}),[s,w,E,c]);const{isInSingleProductBlock:k,isInSomeCartCheckoutBlock:S}=(0,i.useSelect)((e=>{const{getBlockParentsByBlockName:o}=e(l.store),r=e=>o(t,e).length>0;return{isInSingleProductBlock:r(["woocommerce/single-product"]),isInSomeCartCheckoutBlock:r(["woocommerce/cart","woocommerce/checkout","woocommerce/mini-cart-contents"])}}),[t]);if(k)return g(u.Product,{productId:r});if(S)return g(u.Cart);if(s)return g(u.Product,{productId:h});const A=(e=>t=>e===t)(o);if(A(m))return g(u.Product,{productId:null});if(w)return g(u.Archive,{taxonomy:"product_cat",termId:y});if(E)return g(u.Archive,{taxonomy:"product_tag",termId:f});if(A(d))return g(u.Archive,{taxonomy:"product_cat",termId:null});if(A(p))return g(u.Archive,{taxonomy:"product_tag",termId:null});if(A("taxonomy-product_attribute"))return g(u.Archive,{taxonomy:null,termId:null});if("page-cart"===o||"page-checkout"===o)return g(u.Cart);const R=A("order-confirmation");return g(R?u.Order:u.Site)})(r,t),h=dt(r.templateSlug),[b,y]=(0,a.useState)(!1),v=(0,i.useSelect)((e=>!!e(l.store).getBlocks(t).length),[t]),{productCollectionUIStateInEditor:f,isLoading:C}=(({location:e,usesReference:t,attributes:o,hasInnerBlocks:r})=>{var c,n,l,m;const d=null===(c=o.query)||void 0===c?void 0:c.productReference,{product:p,hasResolved:_}=(0,i.useSelect)((e=>{if(!d)return{product:null,hasResolved:!0};const{getEntityRecord:t,hasFinishedResolution:o}=e(s.store),r=["postType","product",d];return{product:t(...r),hasResolved:o("getEntityRecord",r)}}),[d]);return{productCollectionUIStateInEditor:(0,a.useMemo)((()=>{var c,n;const l=null==t?void 0:t.includes(e.type),a=!!o.collection,i=null==t?void 0:t.includes("product"),s=null!==(null!==(c=null===(n=o.query)||void 0===n?void 0:n.productReference)&&void 0!==c?c:null);if(a&&i&&!l&&!s)return E.PRODUCT_REFERENCE_PICKER;if(a&&i&&!l&&s&&d&&(void 0===p||"trash"===(null==p?void 0:p.status)))return E.DELETED_PRODUCT_REFERENCE;if(l){var m,_,g,w;const t=e.type===u.Archive&&null!==(null!==(m=null===(_=e.sourceData)||void 0===_?void 0:_.termId)&&void 0!==m?m:null),o=e.type===u.Product&&null!==(null!==(g=null===(w=e.sourceData)||void 0===w?void 0:w.productId)&&void 0!==g?g:null);if(!t&&!o&&!d)return E.VALID_WITH_PREVIEW}return r||a?E.VALID:E.COLLECTION_PICKER}),[e.type,null===(n=e.sourceData)||void 0===n?void 0:n.termId,null===(l=e.sourceData)||void 0===l?void 0:l.productId,t,o.collection,d,p,r,null===(m=o.query)||void 0===m?void 0:m.productReference]),isLoading:!_}})({location:c,attributes:o,hasInnerBlocks:v,usesReference:e.usesReference});if(C)return(0,n.createElement)(w.Flex,{justify:"center",align:"center"},(0,n.createElement)(w.Spinner,null));const k={...e,openCollectionSelectionModal:()=>y(!0),location:c,isUsingReferencePreviewMode:f===E.VALID_WITH_PREVIEW};return(0,n.createElement)(n.Fragment,null,(()=>{switch(f){case E.COLLECTION_PICKER:return(0,n.createElement)(Ge,{...e,tracksLocation:h});case E.PRODUCT_REFERENCE_PICKER:return(0,n.createElement)(ur,{...e,isDeletedProductReference:!1});case E.DELETED_PRODUCT_REFERENCE:return(0,n.createElement)(ur,{...e,isDeletedProductReference:!0});case E.VALID:case E.VALID_WITH_PREVIEW:return(0,n.createElement)(ir,{...k});default:return(0,n.createElement)(Ge,{...e,tracksLocation:h})}})(),b&&(0,n.createElement)(sr,{clientId:t,attributes:o,tracksLocation:h,closePatternSelectionModal:()=>y(!1)}))},save:function({attributes:{tagName:e="div"}}){const t=l.useBlockProps.save(),o=l.useInnerBlocksProps.save(t);return(0,n.createElement)(e,{...o})}}),dr("core/post-excerpt",{blockDescription:_r,blockIcon:(0,n.createElement)(w.Icon,{icon:mr.A}),blockTitle:pr,variationName:gr,scope:[]}),dr("core/post-title",{blockDescription:hr,blockIcon:(0,n.createElement)(w.Icon,{icon:wr.A}),blockTitle:Er,variationName:br,scope:["block","inserter"]}),ie.forEach((e=>(0,I.__experimentalRegisterProductCollection)(e))),(0,O.isWpVersion)("6.1",">=")&&(0,ue.addFilter)("blocks.registerBlockType","woocommerce/add-product-collection-block-to-parent-array-of-pagination-block",((e,t)=>t!==U?e:null!=e&&e.ancestor?{...e,ancestor:[...e.ancestor,c.name]}:null!=e&&e.parent?{...e,parent:[...e.parent,c.name]}:e))},6818:()=>{},2777:()=>{},7369:()=>{},8137:()=>{},6636:()=>{},2615:()=>{},1609:e=>{"use strict";e.exports=window.React},9491:e=>{"use strict";e.exports=window.wp.compose},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},923:e=>{"use strict";e.exports=window.wp.isShallowEqual},5573:e=>{"use strict";e.exports=window.wp.primitives}},c={};function n(e){var t=c[e];if(void 0!==t)return t.exports;var o=c[e]={exports:{}};return r[e].call(o.exports,o,o.exports,n),o.exports}n.m=r,e=[],n.O=(t,o,r,c)=>{if(!o){var l=1/0;for(u=0;u<e.length;u++){for(var[o,r,c]=e[u],a=!0,i=0;i<o.length;i++)(!1&c||l>=c)&&Object.keys(n.O).every((e=>n.O[e](o[i])))?o.splice(i--,1):(a=!1,c<l&&(l=c));if(a){e.splice(u--,1);var s=r();void 0!==s&&(t=s)}}return t}c=c||0;for(var u=e.length;u>0&&e[u-1][2]>c;u--)e[u]=e[u-1];e[u]=[o,r,c]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var c=Object.create(null);n.r(c);var l={};t=t||[null,o({}),o([]),o(o)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=o(a))Object.getOwnPropertyNames(a).forEach((t=>l[t]=()=>e[t]));return l.default=()=>e,n.d(c,l),c},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=5201,(()=>{var e={5201:0};n.O.j=t=>0===e[t];var t=(t,o)=>{var r,c,[l,a,i]=o,s=0;if(l.some((t=>0!==e[t]))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(i)var u=i(n)}for(t&&t(o);s<l.length;s++)c=l[s],n.o(e,c)&&e[c]&&e[c][0](),e[c]=0;return n.O(u)},o=self.webpackChunkwebpackWcBlocksMainJsonp=self.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var l=n.O(void 0,[94],(()=>n(9828)));l=n.O(l),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["product-collection"]=l})();
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
active-filters
---
0755
add-to-cart-form
---
0755
add-to-cart-with-options
---
0755
add-to-cart-with-options-quantity-selector
---
0755
add-to-cart-with-options-variation-selector
---
0755
all-products
---
0755
attribute-filter
---
0755
breadcrumbs
---
0755
cart-blocks
---
0755
cart-link
---
0755
catalog-sorting
---
0755
checkout
---
0755
checkout-blocks
---
0755
classic-shortcode
---
0755
coming-soon
---
0755
customer-account
---
0755
featured-category
---
0755
featured-product
---
0755
filter-wrapper
---
0755
handpicked-products
---
0755
inner-blocks
---
0755
mini-cart
---
0755
mini-cart-contents-block
---
0755
order-confirmation-additional-fields
---
0755
order-confirmation-additional-fields-wrapper
---
0755
order-confirmation-additional-information
---
0755
order-confirmation-billing-address
---
0755
order-confirmation-billing-wrapper
---
0755
order-confirmation-create-account
---
0755
order-confirmation-downloads
---
0755
order-confirmation-downloads-wrapper
---
0755
order-confirmation-shipping-address
---
0755
order-confirmation-shipping-wrapper
---
0755
order-confirmation-status
---
0755
order-confirmation-summary
---
0755
order-confirmation-totals
---
0755
order-confirmation-totals-wrapper
---
0755
page-content-wrapper
---
0755
price-filter
---
0755
product-average-rating
---
0755
product-best-sellers
---
0755
product-button
---
0755
product-categories
---
0755
product-category
---
0755
product-collection
---
0755
product-collection-no-results
---
0755
product-details
---
0755
product-filter-active
---
0755
product-filter-attribute
---
0755
product-filter-checkbox-list
---
0755
product-filter-chips
---
0755
product-filter-clear-button
---
0755
product-filter-price
---
0755
product-filter-price-slider
---
0755
product-filter-rating
---
0755
product-filter-removable-chips
---
0755
product-filter-status
---
0755
product-filters
---
0755
product-gallery
---
0755
product-gallery-large-image
---
0755
product-gallery-large-image-next-previous
---
0755
product-gallery-pager
---
0755
product-gallery-thumbnails
---
0755
product-image
---
0755
product-image-gallery
---
0755
product-meta
---
0755
product-new
---
0755
product-price
---
0755
product-rating
---
0755
product-rating-counter
---
0755
product-rating-stars
---
0755
product-results-count
---
0755
product-reviews
---
0755
product-sale-badge
---
0755
product-summary
---
0755
product-tag
---
0755
product-template
---
0755
product-top-rated
---
0755
products-by-attribute
---
0755
rating-filter
---
0755
related-products
---
0755
single-product
---
0755
stock-filter
---
0755
store-notices
---
0755
2727-style.js.LICENSE.txt
188 bytes
0644
3671-style.js.LICENSE.txt
121 bytes
0644
active-filters-frontend.asset.php
336 bytes
0644
active-filters-frontend.js
18768 bytes
0644
active-filters-rtl.css
10302 bytes
0644
active-filters-style.asset.php
369 bytes
0644
active-filters-wrapper-frontend.js
15044 bytes
0644
active-filters-wrapper-rtl.css
9558 bytes
0644
active-filters-wrapper.css
9558 bytes
0644
active-filters.asset.php
369 bytes
0644
active-filters.css
10300 bytes
0644
active-filters.js
17385 bytes
0644
add-to-cart-form-frontend.asset.php
147 bytes
0644
add-to-cart-form-frontend.js
1067 bytes
0644
add-to-cart-form-rtl.css
7888 bytes
0644
add-to-cart-form-style.asset.php
310 bytes
0644
add-to-cart-form.asset.php
290 bytes
0644
add-to-cart-form.css
7884 bytes
0644
add-to-cart-form.js
20581 bytes
0644
add-to-cart-with-options-frontend.asset.php
147 bytes
0644
add-to-cart-with-options-frontend.js
370 bytes
0644
add-to-cart-with-options-quantity-selector-frontend.asset.php
147 bytes
0644
add-to-cart-with-options-quantity-selector-frontend.js
1101 bytes
0644
add-to-cart-with-options-quantity-selector-rtl.css
4237 bytes
0644
add-to-cart-with-options-quantity-selector-style.asset.php
310 bytes
0644
add-to-cart-with-options-quantity-selector.asset.php
290 bytes
0644
add-to-cart-with-options-quantity-selector.css
4233 bytes
0644
add-to-cart-with-options-quantity-selector.js
17771 bytes
0644
add-to-cart-with-options-rtl.css
212 bytes
0644
add-to-cart-with-options-style.asset.php
310 bytes
0644
add-to-cart-with-options-variation-selector-frontend.asset.php
147 bytes
0644
add-to-cart-with-options-variation-selector-frontend.js
389 bytes
0644
add-to-cart-with-options-variation-selector-rtl.css
519 bytes
0644
add-to-cart-with-options-variation-selector-style.asset.php
310 bytes
0644
add-to-cart-with-options-variation-selector.asset.php
290 bytes
0644
add-to-cart-with-options-variation-selector.css
515 bytes
0644
add-to-cart-with-options-variation-selector.js
16539 bytes
0644
add-to-cart-with-options.asset.php
290 bytes
0644
add-to-cart-with-options.css
210 bytes
0644
add-to-cart-with-options.js
14354 bytes
0644
all-products-frontend.asset.php
531 bytes
0644
all-products-frontend.js
31017 bytes
0644
all-products-rtl.css
32674 bytes
0644
all-products-style.asset.php
548 bytes
0644
all-products-style.js.LICENSE.txt
188 bytes
0644
all-products.asset.php
548 bytes
0644
all-products.css
32632 bytes
0644
all-products.js
140646 bytes
0644
all-reviews-rtl.css
10828 bytes
0644
all-reviews-style.asset.php
313 bytes
0644
all-reviews-style.js.LICENSE.txt
188 bytes
0644
all-reviews.asset.php
313 bytes
0644
all-reviews.css
10817 bytes
0644
all-reviews.js
27115 bytes
0644
attribute-filter-frontend.asset.php
408 bytes
0644
attribute-filter-frontend.js
22743 bytes
0644
attribute-filter-rtl.css
31009 bytes
0644
attribute-filter-style.asset.php
427 bytes
0644
attribute-filter-style.js.LICENSE.txt
121 bytes
0644
attribute-filter-wrapper-frontend.js
19208 bytes
0644
attribute-filter-wrapper-rtl.css
9320 bytes
0644
attribute-filter-wrapper.css
9314 bytes
0644
attribute-filter.asset.php
427 bytes
0644
attribute-filter.css
30987 bytes
0644
attribute-filter.js
34970 bytes
0644
base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss-rtl.css
20945 bytes
0644
base-components-stock-filter-wrapper~attribute-filter-wrapper~rating-filter-wrapper-style.scss.css
20931 bytes
0644
blocks-checkout.asset.php
421 bytes
0644
blocks-checkout.js
2552 bytes
0644
blocks-components.asset.php
338 bytes
0644
blocks-components.js
2371 bytes
0644
blocks-json.php
136727 bytes
0644
breadcrumbs-rtl.css
366 bytes
0644
breadcrumbs-style.asset.php
197 bytes
0644
breadcrumbs.asset.php
197 bytes
0644
breadcrumbs.css
364 bytes
0644
breadcrumbs.js
3941 bytes
0644
cart-frontend.asset.php
602 bytes
0644
cart-frontend.js
22782 bytes
0644
cart-link-rtl.css
1444 bytes
0644
cart-link-style.asset.php
197 bytes
0644
cart-link.asset.php
197 bytes
0644
cart-link.css
1438 bytes
0644
cart-link.js
9025 bytes
0644
cart-rtl.css
82481 bytes
0644
cart-style.asset.php
651 bytes
0644
cart-style.js.LICENSE.txt
438 bytes
0644
cart.asset.php
651 bytes
0644
cart.css
82403 bytes
0644
cart.js
165793 bytes
0644
catalog-sorting-rtl.css
568 bytes
0644
catalog-sorting-style.asset.php
197 bytes
0644
catalog-sorting.asset.php
197 bytes
0644
catalog-sorting.css
567 bytes
0644
catalog-sorting.js
4806 bytes
0644
checkout-frontend.asset.php
564 bytes
0644
checkout-frontend.js
31832 bytes
0644
checkout-rtl.css
95718 bytes
0644
checkout-style.asset.php
604 bytes
0644
checkout-style.js.LICENSE.txt
438 bytes
0644
checkout.asset.php
579 bytes
0644
checkout.css
95605 bytes
0644
checkout.js
199260 bytes
0644
classic-shortcode-rtl.css
325 bytes
0644
classic-shortcode-style.asset.php
222 bytes
0644
classic-shortcode.asset.php
222 bytes
0644
classic-shortcode.css
323 bytes
0644
classic-shortcode.js
14585 bytes
0644
coming-soon-rtl.css
7898 bytes
0644
coming-soon-style.asset.php
219 bytes
0644
coming-soon.asset.php
219 bytes
0644
coming-soon.css
7892 bytes
0644
coming-soon.js
7182 bytes
0644
customer-account-rtl.css
917 bytes
0644
customer-account-style.asset.php
212 bytes
0644
customer-account.asset.php
212 bytes
0644
customer-account.css
915 bytes
0644
customer-account.js
9307 bytes
0644
featured-category-rtl.css
5137 bytes
0644
featured-category-style.asset.php
355 bytes
0644
featured-category.asset.php
355 bytes
0644
featured-category.css
5135 bytes
0644
featured-category.js
45716 bytes
0644
featured-product-rtl.css
5553 bytes
0644
featured-product-style.asset.php
355 bytes
0644
featured-product.asset.php
355 bytes
0644
featured-product.css
5551 bytes
0644
featured-product.js
46167 bytes
0644
filter-wrapper-frontend.asset.php
490 bytes
0644
filter-wrapper-frontend.js
13883 bytes
0644
filter-wrapper-rtl.css
744 bytes
0644
filter-wrapper-style.asset.php
492 bytes
0644
filter-wrapper.asset.php
180 bytes
0644
filter-wrapper.css
742 bytes
0644
filter-wrapper.js
6931 bytes
0644
handpicked-products-style.asset.php
315 bytes
0644
handpicked-products.asset.php
315 bytes
0644
handpicked-products.js
26737 bytes
0644
legacy-template-rtl.css
323 bytes
0644
legacy-template-style.asset.php
253 bytes
0644
legacy-template.asset.php
253 bytes
0644
legacy-template.css
321 bytes
0644
legacy-template.js
27302 bytes
0644
mini-cart-component-frontend.asset.php
519 bytes
0644
mini-cart-component-frontend.js
20518 bytes
0644
mini-cart-contents-rtl.css
22537 bytes
0644
mini-cart-contents-style.asset.php
525 bytes
0644
mini-cart-contents-style.js.LICENSE.txt
438 bytes
0644
mini-cart-contents.asset.php
492 bytes
0644
mini-cart-contents.css
22518 bytes
0644
mini-cart-contents.js
62108 bytes
0644
mini-cart-frontend.asset.php
242 bytes
0644
mini-cart-frontend.js
5814 bytes
0644
mini-cart-rtl.css
13165 bytes
0644
mini-cart-style.asset.php
353 bytes
0644
mini-cart-style.js.LICENSE.txt
249 bytes
0644
mini-cart.asset.php
276 bytes
0644
mini-cart.css
13154 bytes
0644
mini-cart.js
19546 bytes
0644
order-confirmation-additional-fields-rtl.css
2436 bytes
0644
order-confirmation-additional-fields-style.asset.php
195 bytes
0644
order-confirmation-additional-fields-wrapper-rtl.css
291 bytes
0644
order-confirmation-additional-fields-wrapper-style.asset.php
195 bytes
0644
order-confirmation-additional-fields-wrapper.asset.php
195 bytes
0644
order-confirmation-additional-fields-wrapper.css
289 bytes
0644
order-confirmation-additional-fields-wrapper.js
5498 bytes
0644
order-confirmation-additional-fields.asset.php
195 bytes
0644
order-confirmation-additional-fields.css
2432 bytes
0644
order-confirmation-additional-fields.js
5698 bytes
0644
order-confirmation-additional-information-rtl.css
383 bytes
0644
order-confirmation-additional-information-style.asset.php
180 bytes
0644
order-confirmation-additional-information.asset.php
180 bytes
0644
order-confirmation-additional-information.css
381 bytes
0644
order-confirmation-additional-information.js
3512 bytes
0644
order-confirmation-billing-address-rtl.css
2039 bytes
0644
order-confirmation-billing-address-style.asset.php
195 bytes
0644
order-confirmation-billing-address.asset.php
195 bytes
0644
order-confirmation-billing-address.css
2035 bytes
0644
order-confirmation-billing-address.js
6232 bytes
0644
order-confirmation-billing-wrapper-style.asset.php
180 bytes
0644
order-confirmation-billing-wrapper.asset.php
180 bytes
0644
order-confirmation-billing-wrapper.js
3352 bytes
0644
order-confirmation-create-account-frontend.asset.php
266 bytes
0644
order-confirmation-create-account-frontend.js
13342 bytes
0644
order-confirmation-create-account-rtl.css
10266 bytes
0644
order-confirmation-create-account-style.asset.php
302 bytes
0644
order-confirmation-create-account-style.js.LICENSE.txt
249 bytes
0644
order-confirmation-create-account.asset.php
302 bytes
0644
order-confirmation-create-account.css
10254 bytes
0644
order-confirmation-create-account.js
13714 bytes
0644
order-confirmation-downloads-rtl.css
1772 bytes
0644
order-confirmation-downloads-style.asset.php
197 bytes
0644
order-confirmation-downloads-wrapper-style.asset.php
195 bytes
0644
order-confirmation-downloads-wrapper.asset.php
195 bytes
0644
order-confirmation-downloads-wrapper.js
3556 bytes
0644
order-confirmation-downloads.asset.php
197 bytes
0644
order-confirmation-downloads.css
1770 bytes
0644
order-confirmation-downloads.js
5551 bytes
0644
order-confirmation-shipping-address-rtl.css
2609 bytes
0644
order-confirmation-shipping-address-style.asset.php
195 bytes
0644
order-confirmation-shipping-address.asset.php
195 bytes
0644
order-confirmation-shipping-address.css
2605 bytes
0644
order-confirmation-shipping-address.js
6235 bytes
0644
order-confirmation-shipping-wrapper-style.asset.php
180 bytes
0644
order-confirmation-shipping-wrapper.asset.php
180 bytes
0644
order-confirmation-shipping-wrapper.js
3379 bytes
0644
order-confirmation-status-rtl.css
1035 bytes
0644
order-confirmation-status-style.asset.php
180 bytes
0644
order-confirmation-status.asset.php
180 bytes
0644
order-confirmation-status.css
1034 bytes
0644
order-confirmation-status.js
3733 bytes
0644
order-confirmation-summary-rtl.css
1124 bytes
0644
order-confirmation-summary-style.asset.php
242 bytes
0644
order-confirmation-summary.asset.php
242 bytes
0644
order-confirmation-summary.css
1122 bytes
0644
order-confirmation-summary.js
5589 bytes
0644
order-confirmation-totals-rtl.css
2207 bytes
0644
order-confirmation-totals-style.asset.php
216 bytes
0644
order-confirmation-totals-wrapper-style.asset.php
180 bytes
0644
order-confirmation-totals-wrapper.asset.php
180 bytes
0644
order-confirmation-totals-wrapper.js
4061 bytes
0644
order-confirmation-totals.asset.php
216 bytes
0644
order-confirmation-totals.css
2204 bytes
0644
order-confirmation-totals.js
6420 bytes
0644
packages-style-rtl.css
49765 bytes
0644
packages-style-style.asset.php
377 bytes
0644
packages-style-style.js.LICENSE.txt
1948 bytes
0644
packages-style.css
49715 bytes
0644
page-content-wrapper-style.asset.php
195 bytes
0644
page-content-wrapper.asset.php
195 bytes
0644
page-content-wrapper.js
5412 bytes
0644
price-filter-frontend.asset.php
299 bytes
0644
price-filter-frontend.js
21743 bytes
0644
price-filter-rtl.css
19219 bytes
0644
price-filter-style.asset.php
349 bytes
0644
price-filter-wrapper-frontend.js
17809 bytes
0644
price-filter-wrapper-rtl.css
18475 bytes
0644
price-filter-wrapper.css
18450 bytes
0644
price-filter.asset.php
349 bytes
0644
price-filter.css
19192 bytes
0644
price-filter.js
23501 bytes
0644
price-format.asset.php
132 bytes
0644
price-format.js
1669 bytes
0644
product-average-rating-frontend.js
2768 bytes
0644
product-average-rating.js
2947 bytes
0644
product-best-sellers-style.asset.php
315 bytes
0644
product-best-sellers.asset.php
315 bytes
0644
product-best-sellers.js
26158 bytes
0644
product-button-frontend.js
10902 bytes
0644
product-button-interactivity-frontend.asset.php
281 bytes
0644
product-button-interactivity-frontend.js
18794 bytes
0644
product-button-rtl.css
5137 bytes
0644
product-button.css
5135 bytes
0644
product-button.js
12323 bytes
0644
product-categories-rtl.css
1968 bytes
0644
product-categories-style.asset.php
233 bytes
0644
product-categories.asset.php
233 bytes
0644
product-categories.css
1966 bytes
0644
product-categories.js
7588 bytes
0644
product-category-style.asset.php
315 bytes
0644
product-category.asset.php
315 bytes
0644
product-category.js
30236 bytes
0644
product-collection-frontend.asset.php
147 bytes
0644
product-collection-frontend.js
3048 bytes
0644
product-collection-no-results-style.asset.php
166 bytes
0644
product-collection-no-results.asset.php
166 bytes
0644
product-collection-no-results.js
3793 bytes
0644
product-collection-rtl.css
1125 bytes
0644
product-collection-style.asset.php
466 bytes
0644
product-collection.asset.php
446 bytes
0644
product-collection.css
1119 bytes
0644
product-collection.js
89664 bytes
0644
product-details-rtl.css
2424 bytes
0644
product-details-style.asset.php
220 bytes
0644
product-details.css
2420 bytes
0644
product-filter-active-frontend.asset.php
147 bytes
0644
product-filter-active-frontend.js
1079 bytes
0644
product-filter-active-rtl.css
727 bytes
0644
product-filter-active-style.asset.php
243 bytes
0644
product-filter-active.asset.php
223 bytes
0644
product-filter-active.css
725 bytes
0644
product-filter-active.js
4496 bytes
0644
product-filter-attribute-frontend.asset.php
147 bytes
0644
product-filter-attribute-frontend.js
1771 bytes
0644
product-filter-attribute-rtl.css
1610 bytes
0644
product-filter-attribute-style.asset.php
302 bytes
0644
product-filter-attribute.asset.php
282 bytes
0644
product-filter-attribute.css
1605 bytes
0644
product-filter-attribute.js
19085 bytes
0644
product-filter-checkbox-list-frontend.asset.php
147 bytes
0644
product-filter-checkbox-list-frontend.js
427 bytes
0644
product-filter-checkbox-list-rtl.css
2041 bytes
0644
product-filter-checkbox-list-style.asset.php
232 bytes
0644
product-filter-checkbox-list.asset.php
212 bytes
0644
product-filter-checkbox-list.css
2037 bytes
0644
product-filter-checkbox-list.js
7832 bytes
0644
product-filter-chips-frontend.asset.php
147 bytes
0644
product-filter-chips-frontend.js
411 bytes
0644
product-filter-chips-rtl.css
1779 bytes
0644
product-filter-chips-style.asset.php
215 bytes
0644
product-filter-chips.asset.php
195 bytes
0644
product-filter-chips.css
1777 bytes
0644
product-filter-chips.js
8230 bytes
0644
product-filter-clear-button-style.asset.php
181 bytes
0644
product-filter-clear-button.asset.php
181 bytes
0644
product-filter-clear-button.js
3775 bytes
0644
product-filter-price-frontend.asset.php
166 bytes
0644
product-filter-price-frontend.js
2497 bytes
0644
product-filter-price-rtl.css
727 bytes
0644
product-filter-price-slider-frontend.asset.php
147 bytes
0644
product-filter-price-slider-frontend.js
1224 bytes
0644
product-filter-price-slider-rtl.css
6813 bytes
0644
product-filter-price-slider-style.asset.php
222 bytes
0644
product-filter-price-slider.asset.php
202 bytes
0644
product-filter-price-slider.css
6798 bytes
0644
product-filter-price-slider.js
6939 bytes
0644
product-filter-price-style.asset.php
321 bytes
0644
product-filter-price.asset.php
301 bytes
0644
product-filter-price.css
725 bytes
0644
product-filter-price.js
11820 bytes
0644
product-filter-rating-frontend.asset.php
147 bytes
0644
product-filter-rating-frontend.js
1345 bytes
0644
product-filter-rating-rtl.css
5088 bytes
0644
product-filter-rating-style.asset.php
312 bytes
0644
product-filter-rating.asset.php
292 bytes
0644
product-filter-rating.css
5078 bytes
0644
product-filter-rating.js
15645 bytes
0644
product-filter-removable-chips-frontend.asset.php
147 bytes
0644
product-filter-removable-chips-frontend.js
460 bytes
0644
product-filter-removable-chips-rtl.css
1708 bytes
0644
product-filter-removable-chips-style.asset.php
256 bytes
0644
product-filter-removable-chips.asset.php
236 bytes
0644
product-filter-removable-chips.css
1706 bytes
0644
product-filter-removable-chips.js
7387 bytes
0644
product-filter-status-frontend.asset.php
147 bytes
0644
product-filter-status-frontend.js
1345 bytes
0644
product-filter-status-rtl.css
1244 bytes
0644
product-filter-status-style.asset.php
302 bytes
0644
product-filter-status.asset.php
282 bytes
0644
product-filter-status.css
1240 bytes
0644
product-filter-status.js
12404 bytes
0644
product-filters-frontend.asset.php
162 bytes
0644
product-filters-frontend.js
2931 bytes
0644
product-filters-rtl.css
4831 bytes
0644
product-filters-style.asset.php
244 bytes
0644
product-filters.asset.php
224 bytes
0644
product-filters.css
4829 bytes
0644
product-filters.js
8870 bytes
0644
product-gallery-frontend.asset.php
147 bytes
0644
product-gallery-frontend.js
4190 bytes
0644
product-gallery-large-image-frontend.asset.php
147 bytes
0644
product-gallery-large-image-frontend.js
1396 bytes
0644
product-gallery-large-image-next-previous-style.asset.php
208 bytes
0644
product-gallery-large-image-next-previous.asset.php
208 bytes
0644
product-gallery-large-image-next-previous.js
11348 bytes
0644
product-gallery-large-image-style.asset.php
187 bytes
0644
product-gallery-large-image.asset.php
167 bytes
0644
product-gallery-large-image.js
6634 bytes
0644
product-gallery-pager-style.asset.php
208 bytes
0644
product-gallery-pager.asset.php
208 bytes
0644
product-gallery-pager.js
7833 bytes
0644
product-gallery-rtl.css
12865 bytes
0644
product-gallery-style.asset.php
255 bytes
0644
product-gallery-thumbnails-style.asset.php
223 bytes
0644
product-gallery-thumbnails.asset.php
223 bytes
0644
product-gallery-thumbnails.js
11957 bytes
0644
product-gallery.asset.php
235 bytes
0644
product-gallery.css
12862 bytes
0644
product-gallery.js
36912 bytes
0644
product-image-frontend.js
5706 bytes
0644
product-image-gallery-rtl.css
619 bytes
0644
product-image-gallery-style.asset.php
210 bytes
0644
product-image-gallery.css
617 bytes
0644
product-image-rtl.css
4092 bytes
0644
product-image.css
4089 bytes
0644
product-image.js
6774 bytes
0644
product-new-style.asset.php
315 bytes
0644
product-new.asset.php
315 bytes
0644
product-new.js
28323 bytes
0644
product-on-sale-style.asset.php
315 bytes
0644
product-on-sale.asset.php
315 bytes
0644
product-on-sale.js
27514 bytes
0644
product-price-frontend.js
6288 bytes
0644
product-price-rtl.css
1754 bytes
0644
product-price.css
1751 bytes
0644
product-price.js
6581 bytes
0644
product-query-rtl.css
655 bytes
0644
product-query-style.asset.php
325 bytes
0644
product-query.asset.php
325 bytes
0644
product-query.css
652 bytes
0644
product-query.js
40941 bytes
0644
product-rating-counter-frontend.js
3603 bytes
0644
product-rating-counter.js
3781 bytes
0644
product-rating-frontend.js
5454 bytes
0644
product-rating-rtl.css
428 bytes
0644
product-rating-stars-frontend.js
5397 bytes
0644
product-rating-stars-rtl.css
3053 bytes
0644
product-rating-stars.css
3050 bytes
0644
product-rating-stars.js
5601 bytes
0644
product-rating.css
426 bytes
0644
product-rating.js
5657 bytes
0644
product-results-count-rtl.css
323 bytes
0644
product-results-count-style.asset.php
180 bytes
0644
product-results-count.asset.php
180 bytes
0644
product-results-count.css
321 bytes
0644
product-results-count.js
3846 bytes
0644
product-reviews-rtl.css
1127 bytes
0644
product-reviews-style.asset.php
204 bytes
0644
product-reviews.css
1126 bytes
0644
product-sale-badge-frontend.js
3075 bytes
0644
product-sale-badge-rtl.css
954 bytes
0644
product-sale-badge.css
952 bytes
0644
product-sale-badge.js
3279 bytes
0644
product-search-rtl.css
1169 bytes
0644
product-search-style.asset.php
261 bytes
0644
product-search.asset.php
261 bytes
0644
product-search.css
1166 bytes
0644
product-search.js
9999 bytes
0644
product-sku-frontend.js
3704 bytes
0644
product-sku-rtl.css
523 bytes
0644
product-sku.css
521 bytes
0644
product-sku.js
3908 bytes
0644
product-stock-indicator-frontend.js
4758 bytes
0644
product-stock-indicator-rtl.css
321 bytes
0644
product-stock-indicator.css
319 bytes
0644
product-stock-indicator.js
4961 bytes
0644
product-summary-frontend.js
5127 bytes
0644
product-summary-rtl.css
1560 bytes
0644
product-summary.css
1558 bytes
0644
product-summary.js
5331 bytes
0644
product-tag-style.asset.php
309 bytes
0644
product-tag.asset.php
309 bytes
0644
product-tag.js
27801 bytes
0644
product-template-rtl.css
2124 bytes
0644
product-template-style.asset.php
302 bytes
0644
product-template.asset.php
302 bytes
0644
product-template.css
2122 bytes
0644
product-template.js
11369 bytes
0644
product-title-frontend.js
3987 bytes
0644
product-title-rtl.css
1932 bytes
0644
product-title.css
1928 bytes
0644
product-title.js
4859 bytes
0644
product-top-rated-style.asset.php
315 bytes
0644
product-top-rated.asset.php
315 bytes
0644
product-top-rated.js
27741 bytes
0644
products-by-attribute-style.asset.php
338 bytes
0644
products-by-attribute.asset.php
338 bytes
0644
products-by-attribute.js
29472 bytes
0644
rating-filter-frontend.asset.php
388 bytes
0644
rating-filter-frontend.js
19321 bytes
0644
rating-filter-rtl.css
31704 bytes
0644
rating-filter-style.asset.php
407 bytes
0644
rating-filter-style.js.LICENSE.txt
121 bytes
0644
rating-filter-wrapper-frontend.js
14995 bytes
0644
rating-filter-wrapper-rtl.css
10015 bytes
0644
rating-filter-wrapper.css
10008 bytes
0644
rating-filter.asset.php
407 bytes
0644
rating-filter.css
31681 bytes
0644
rating-filter.js
17125 bytes
0644
reviews-by-category-rtl.css
10828 bytes
0644
reviews-by-category-style.asset.php
337 bytes
0644
reviews-by-category-style.js.LICENSE.txt
188 bytes
0644
reviews-by-category.asset.php
337 bytes
0644
reviews-by-category.css
10817 bytes
0644
reviews-by-category.js
40902 bytes
0644
reviews-by-product-rtl.css
10828 bytes
0644
reviews-by-product-style.asset.php
349 bytes
0644
reviews-by-product-style.js.LICENSE.txt
188 bytes
0644
reviews-by-product.asset.php
349 bytes
0644
reviews-by-product.css
10817 bytes
0644
reviews-by-product.js
45240 bytes
0644
reviews-frontend.asset.php
270 bytes
0644
reviews-frontend.js
22684 bytes
0644
single-product-rtl.css
744 bytes
0644
single-product-style.asset.php
554 bytes
0644
single-product.asset.php
554 bytes
0644
single-product.css
742 bytes
0644
single-product.js
35988 bytes
0644
stock-filter-frontend.asset.php
408 bytes
0644
stock-filter-frontend.js
19701 bytes
0644
stock-filter-rtl.css
29869 bytes
0644
stock-filter-style.asset.php
427 bytes
0644
stock-filter-style.js.LICENSE.txt
121 bytes
0644
stock-filter-wrapper-frontend.js
15543 bytes
0644
stock-filter-wrapper-rtl.css
8180 bytes
0644
stock-filter-wrapper.css
8174 bytes
0644
stock-filter.asset.php
427 bytes
0644
stock-filter.css
29847 bytes
0644
stock-filter.js
18939 bytes
0644
store-notices-rtl.css
6645 bytes
0644
store-notices-style.asset.php
208 bytes
0644
store-notices-style.js.LICENSE.txt
249 bytes
0644
store-notices.asset.php
208 bytes
0644
store-notices.css
6638 bytes
0644
store-notices.js
6108 bytes
0644
wc-blocks-classic-template-revert-button-style-rtl.css
428 bytes
0644
wc-blocks-classic-template-revert-button-style-style.asset.php
234 bytes
0644
wc-blocks-classic-template-revert-button-style.css
426 bytes
0644
wc-blocks-classic-template-revert-button.asset.php
234 bytes
0644
wc-blocks-classic-template-revert-button.js
2560 bytes
0644
wc-blocks-data.asset.php
324 bytes
0644
wc-blocks-data.js
77430 bytes
0644
wc-blocks-editor-style-rtl.css
79625 bytes
0644
wc-blocks-editor-style.css
79460 bytes
0644
wc-blocks-frontend-vendors-frontend.asset.php
97 bytes
0644
wc-blocks-frontend-vendors-frontend.js
116818 bytes
0644
wc-blocks-google-analytics.asset.php
120 bytes
0644
wc-blocks-google-analytics.js
3153 bytes
0644
wc-blocks-middleware.asset.php
123 bytes
0644
wc-blocks-middleware.js
1898 bytes
0644
wc-blocks-registry.asset.php
175 bytes
0644
wc-blocks-registry.js
20901 bytes
0644
wc-blocks-rtl.css
12947 bytes
0644
wc-blocks-shared-context.asset.php
120 bytes
0644
wc-blocks-shared-context.js
1861 bytes
0644
wc-blocks-shared-hocs.asset.php
218 bytes
0644
wc-blocks-shared-hocs.js
3213 bytes
0644
wc-blocks-style.asset.php
272 bytes
0644
wc-blocks-vendors.asset.php
97 bytes
0644
wc-blocks-vendors.js
130633 bytes
0644
wc-blocks.asset.php
272 bytes
0644
wc-blocks.css
12942 bytes
0644
wc-blocks.js
30289 bytes
0644
wc-cart-checkout-base-frontend.asset.php
97 bytes
0644
wc-cart-checkout-base-frontend.js
202267 bytes
0644
wc-cart-checkout-vendors-frontend.asset.php
97 bytes
0644
wc-cart-checkout-vendors-frontend.js
159559 bytes
0644
wc-interactivity-checkbox-list-rtl.css
1559 bytes
0644
wc-interactivity-checkbox-list-style.asset.php
117 bytes
0644
wc-interactivity-checkbox-list.asset.php
117 bytes
0644
wc-interactivity-checkbox-list.css
1556 bytes
0644
wc-interactivity-checkbox-list.js
738 bytes
0644
wc-interactivity-dropdown-rtl.css
2646 bytes
0644
wc-interactivity-dropdown-style.asset.php
117 bytes
0644
wc-interactivity-dropdown.asset.php
117 bytes
0644
wc-interactivity-dropdown.css
2646 bytes
0644
wc-interactivity-dropdown.js
1437 bytes
0644
wc-interactivity.asset.php
97 bytes
0644
wc-interactivity.js
35707 bytes
0644
wc-payment-method-bacs.asset.php
188 bytes
0644
wc-payment-method-bacs.js
23237 bytes
0644
wc-payment-method-cheque.asset.php
188 bytes
0644
wc-payment-method-cheque.js
23234 bytes
0644
wc-payment-method-cod.asset.php
188 bytes
0644
wc-payment-method-cod.js
23470 bytes
0644
wc-payment-method-paypal.asset.php
188 bytes
0644
wc-payment-method-paypal.js
23305 bytes
0644
wc-settings.asset.php
109 bytes
0644
wc-settings.js
4568 bytes
0644
wc-shipping-method-pickup-location.asset.php
242 bytes
0644
wc-shipping-method-pickup-location.js
85634 bytes
0644
wc-types.asset.php
97 bytes
0644
wc-types.js
2629 bytes
0644
N4ST4R_ID | Naxtarrr