(()=>{"use strict";var e,t,o,r={7420:(e,t,o)=>{const r=window.wp.blocks;var n=o(8992);const a=window.wp.blockEditor,i=window.wc.wcBlocksSharedContext,c=window.wp.components,l=JSON.parse('{"name":"woocommerce/add-to-cart-with-options-grouped-product-item-label","title":"Grouped Product: Item Label (Beta)","description":"Display the product title as a label or paragraph.","category":"woocommerce-product-elements","keywords":["WooCommerce"],"ancestor":["woocommerce/add-to-cart-with-options-grouped-product-item"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json","supports":{"color":{"text":true,"background":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"html":false,"layout":{"selfStretch":true},"spacing":{"margin":true,"padding":true,"blockGap":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"textAlign":true,"__experimentalDefaultControls":{"fontSize":true,"fontWeight":true,"fontStyle":true}}},"usesContext":["postId","postType"]}');var p=o(790);(0,r.registerBlockType)(l.name,{...l,edit:function(){const e=(0,a.useBlockProps)(),{isLoading:t,product:o}=(0,i.useProductDataContext)();return t?(0,p.jsx)(c.Spinner,{}):(0,p.jsx)("div",{...e,children:(0,p.jsx)("div",{className:"wp-block-woocommerce-add-to-cart-with-options-grouped-product-item-label",children:o.name})})},icon:n.A,save:()=>null})},1609:e=>{e.exports=window.React},790:e=>{e.exports=window.ReactJSXRuntime},5573:e=>{e.exports=window.wp.primitives}},n={};function a(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e].call(o.exports,o,o.exports,a),o.exports}a.m=r,e=[],a.O=(t,o,r,n)=>{if(!o){var i=1/0;for(s=0;s<e.length;s++){for(var[o,r,n]=e[s],c=!0,l=0;l<o.length;l++)(!1&n||i>=n)&&Object.keys(a.O).every((e=>a.O[e](o[l])))?o.splice(l--,1):(c=!1,n<i&&(i=n));if(c){e.splice(s--,1);var p=r();void 0!==p&&(t=p)}}return t}n=n||0;for(var s=e.length;s>0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[o,r,n]},a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.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 n=Object.create(null);a.r(n);var i={};t=t||[null,o({}),o([]),o(o)];for(var c=2&r&&e;"object"==typeof c&&!~t.indexOf(c);c=o(c))Object.getOwnPropertyNames(c).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,a.d(n,i),n},a.d=(e,t)=>{for(var o in t)a.o(t,o)&&!a.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.j=1861,(()=>{var e={1861:0};a.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[i,c,l]=o,p=0;if(i.some((t=>0!==e[t]))){for(r in c)a.o(c,r)&&(a.m[r]=c[r]);if(l)var s=l(a)}for(t&&t(o);p<i.length;p++)n=i[p],a.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return a.O(s)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i=a.O(void 0,[94],(()=>a(7420)));i=a.O(i),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-cart-with-options-grouped-product-item-label"]=i})();