(()=>{var e,t,o,r={5371:(e,t,o)=>{"use strict";const r=window.wp.blocks;var i=o(7723);const s=window.wp.blockEditor;var n=o(7715);const a=window.wc.wcSettings,c=(0,a.getSetting)("wcBlocksConfig",{pluginUrl:"",productCount:0,defaultAvatar:"",restApiRoutes:{},wordCountType:"words"}),p=(c.pluginUrl,c.pluginUrl,a.STORE_PAGES.shop,a.STORE_PAGES.checkout?.id),l=(a.STORE_PAGES.checkout,a.STORE_PAGES.privacy,a.STORE_PAGES.privacy,a.STORE_PAGES.terms,a.STORE_PAGES.terms,a.STORE_PAGES.cart?.id),d=(a.STORE_PAGES.cart,a.STORE_PAGES.myaccount?.permalink?a.STORE_PAGES.myaccount.permalink:(0,a.getSetting)("wpLoginUrl","/wp-login.php"),(0,a.getSetting)("localPickupEnabled",!1),(0,a.getSetting)("shippingMethodsExist",!1),(0,a.getSetting)("shippingEnabled",!0),(0,a.getSetting)("countries",{})),g=(0,a.getSetting)("countryData",{}),u={...Object.fromEntries(Object.keys(g).filter((e=>!0===g[e].allowBilling)).map((e=>[e,d[e]||""]))),...Object.fromEntries(Object.keys(g).filter((e=>!0===g[e].allowShipping)).map((e=>[e,d[e]||""])))},m=(Object.fromEntries(Object.keys(u).map((e=>[e,g[e].states||{}]))),Object.fromEntries(Object.keys(u).map((e=>[e,g[e].locale||{}]))),{address:["first_name","last_name","company","address_1","address_2","city","postcode","country","state","phone"],contact:["email"],order:[]});(0,a.getSetting)("addressFieldsLocations",m).address,(0,a.getSetting)("addressFieldsLocations",m).contact,(0,a.getSetting)("addressFieldsLocations",m).order,(0,a.getSetting)("additionalOrderFields",{}),(0,a.getSetting)("additionalContactFields",{}),(0,a.getSetting)("additionalAddressFields",{});var w=o(6087);const f=JSON.parse('{"name":"woocommerce/page-content-wrapper","title":"WooCommerce Page","description":"Displays WooCommerce page content.","category":"woocommerce","keywords":["WooCommerce"],"textdomain":"woocommerce","supports":{"html":false,"multiple":false,"inserter":false},"attributes":{"page":{"type":"string","default":""}},"providesContext":{"postId":"postId","postType":"postType"},"apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json"}');o(1089);var b=o(790);(0,r.registerBlockType)(f,{icon:{src:n.A},edit:({attributes:e,setAttributes:t})=>{const o=(0,s.useBlockProps)({className:"wp-block-woocommerce-page-content-wrapper"});return(0,w.useEffect)((()=>{if(!e.postId&&e.page){let o=0;"checkout"===e.page&&(o=p),"cart"===e.page&&(o=l),o&&t({postId:o,postType:"page"})}}),[e,t]),(0,b.jsx)("div",{...o,children:(0,b.jsx)(s.InnerBlocks,{template:[["core/post-title",{align:"wide",level:1}],["core/post-content",{align:"wide"}]]})})},save:()=>(0,b.jsx)(s.InnerBlocks.Content,{}),variations:[{name:"checkout-page",title:(0,i.__)("Checkout Page","woocommerce"),attributes:{page:"checkout"},isActive:(e,t)=>e.page===t.page},{name:"cart-page",title:(0,i.__)("Cart Page","woocommerce"),attributes:{page:"cart"},isActive:(e,t)=>e.page===t.page}]})},1089:()=>{},1609:e=>{"use strict";e.exports=window.React},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},6087:e=>{"use strict";e.exports=window.wp.element},7723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives}},i={};function s(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return r[e](o,o.exports,s),o.exports}s.m=r,e=[],s.O=(t,o,r,i)=>{if(!o){var n=1/0;for(l=0;l<e.length;l++){for(var[o,r,i]=e[l],a=!0,c=0;c<o.length;c++)(!1&i||n>=i)&&Object.keys(s.O).every((e=>s.O[e](o[c])))?o.splice(c--,1):(a=!1,i<n&&(n=i));if(a){e.splice(l--,1);var p=r();void 0!==p&&(t=p)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[o,r,i]},s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,s.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 i=Object.create(null);s.r(i);var n={};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=>n[t]=()=>e[t]));return n.default=()=>e,s.d(i,n),i},s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.j=7960,(()=>{var e={7960:0};s.O.j=t=>0===e[t];var t=(t,o)=>{var r,i,[n,a,c]=o,p=0;if(n.some((t=>0!==e[t]))){for(r in a)s.o(a,r)&&(s.m[r]=a[r]);if(c)var l=c(s)}for(t&&t(o);p<n.length;p++)i=n[p],s.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return s.O(l)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var n=s.O(void 0,[94],(()=>s(5371)));n=s.O(n),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["page-content-wrapper"]=n})();