geno/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/order-confirmation-billing-address.js

1 line
3.3 KiB
JavaScript
Raw Permalink Normal View History

2024-02-01 17:24:18 +05:30
(()=>{var e,r={5883:(e,r,t)=>{"use strict";t.r(r);var o=t(9196);const n=window.wp.blocks;var i=t(1984),l=t(5427);const a=JSON.parse('{"name":"woocommerce/order-confirmation-billing-address","version":"1.0.0","title":"Billing Address","description":"Display the order confirmation billing address.","category":"woocommerce","keywords":["WooCommerce"],"supports":{"multiple":false,"align":["wide","full"],"inserter":false,"html":false,"color":{"text":true,"background":true,"__experimentalDefaultControls":{"background":true,"text":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"__experimentalBorder":{"color":true,"radius":true,"width":true,"style":true,"__experimentalDefaultControls":{"width":true,"color":true}},"spacing":{"padding":true,"margin":true,"__experimentalDefaultControls":{"margin":false,"padding":false}}},"attributes":{"align":{"type":"string","default":"wide"}},"textdomain":"woocommerce","apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json"}'),s=window.wp.blockEditor;t(756);(0,n.registerBlockType)(a,{icon:{src:(0,o.createElement)(i.Z,{icon:l.Z,className:"wc-block-editor-components-block-icon"})},attributes:{...a.attributes},edit:()=>{const e=(0,s.useBlockProps)({className:"wc-block-order-confirmation-billing-address"});return(0,o.createElement)("div",{...e},(0,o.createElement)("address",null,"Test address 1",(0,o.createElement)("br",null),"Test address 2",(0,o.createElement)("br",null),"San Francisco, CA 94110",(0,o.createElement)("br",null),"United States"))},save:()=>null})},756:()=>{},9196:e=>{"use strict";e.exports=window.React},9307:e=>{"use strict";e.exports=window.wp.element},444:e=>{"use strict";e.exports=window.wp.primitives}},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var i=t[e]={exports:{}};return r[e].call(i.exports,i,i.exports,o),i.exports}o.m=r,e=[],o.O=(r,t,n,i)=>{if(!t){var l=1/0;for(u=0;u<e.length;u++){for(var[t,n,i]=e[u],a=!0,s=0;s<t.length;s++)(!1&i||l>=i)&&Object.keys(o.O).every((e=>o.O[e](t[s])))?t.splice(s--,1):(a=!1,i<l&&(l=i));if(a){e.splice(u--,1);var c=n();void 0!==c&&(r=c)}}return r}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[t,n,i]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.j=5653,(()=>{var e={5653:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var n,i,[l,a,s]=t,c=0;if(l.some((r=>0!==e[r]))){for(n in a)o.o(a,n)&&(o.m[n]=a[n]);if(s)var u=s(o)}for(r&&r(t);c<l.length;c++)i=l[c],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(u)},t=self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var n=o.O(void 0,[2869],(()=>o(5883)));n=o.O(n),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["order-confirmation-billing-address"]=n})();