(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[69],{113:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n(102);var c=n(46);const r=()=>c.m>1},137:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return d}));var c=n(72),r=n(113),a=n(52),s=n(20);const l=e=>Object(a.a)(e)?JSON.parse(e)||{}:Object(s.a)(e)?e:{},o=e=>{if(!Object(r.a)()||"function"!=typeof c.__experimentalGetSpacingClassesAndStyles)return{style:{}};const t=Object(s.a)(e)?e:{},n=l(t.style);return Object(c.__experimentalGetSpacingClassesAndStyles)({...t,style:n})},i=e=>{const t=Object(s.a)(e)?e:{},n=l(t.style),c=Object(s.a)(n.typography)?n.typography:{};return{style:{fontSize:t.fontSize?`var(--wp--preset--font-size--${t.fontSize})`:c.fontSize,lineHeight:c.lineHeight,fontWeight:c.fontWeight,textTransform:c.textTransform,fontFamily:t.fontFamily}}},u=e=>{if(!Object(r.a)())return{className:"",style:{}};const t=Object(s.a)(e)?e:{},n=l(t.style);return Object(c.__experimentalUseColorProps)({...t,style:n})},d=e=>{if(!Object(r.a)())return{className:"",style:{}};const t=Object(s.a)(e)?e:{},n=l(t.style);return Object(c.__experimentalUseBorderProps)({...t,style:n})}},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return r}));const c=e=>!(e=>null===e)(e)&&e instanceof Object&&e.constructor===Object;function r(e,t){return c(e)&&t in e}},284:function(e,t,n){"use strict";var c=n(12),r=n.n(c),a=n(0),s=n(18),l=n(5),o=n.n(l);n(285),t.a=e=>{let{className:t="",disabled:n=!1,name:c,permalink:l="",target:i,rel:u,style:d,onClick:b,...p}=e;const m=o()("wc-block-components-product-name",t);if(n){const e=p;return Object(a.createElement)("span",r()({className:m},e,{dangerouslySetInnerHTML:{__html:Object(s.decodeEntities)(c)}}))}return Object(a.createElement)("a",r()({className:m,href:l,target:i},p,{dangerouslySetInnerHTML:{__html:Object(s.decodeEntities)(c)},style:d}))}},285:function(e,t){},351:function(e,t){},449:function(e,t,n){"use strict";n.r(t);var c=n(120),r=n(0),a=n(5),s=n.n(a),l=n(45),o=n(113),i=n(284),u=n(58),d=(n(351),n(137));const b=e=>{let{children:t,headingLevel:n,elementType:c="h"+n,...a}=e;return Object(r.createElement)(c,a,t)};var p=Object(c.withProductDataContext)(e=>{const{className:t,headingLevel:n=2,showProductLink:c=!0,linkTarget:a,align:p}=e,{parentClassName:m}=Object(l.useInnerBlockLayoutContext)(),{product:y}=Object(l.useProductDataContext)(),{dispatchStoreEvent:f}=Object(u.a)(),O=Object(d.b)(e),j=Object(d.c)(e),g=Object(d.d)(e);return y.id?Object(r.createElement)(b,{headingLevel:n,className:s()(t,O.className,"wc-block-components-product-title",{[m+"__product-title"]:m,["wc-block-components-product-title--align-"+p]:p&&Object(o.a)()}),style:Object(o.a)()?{...j.style,...g.style,...O.style}:{}},Object(r.createElement)(i.a,{disabled:!c,name:y.name,permalink:y.permalink,target:a,onClick:()=>{f("product-view-link",{product:y})}})):Object(r.createElement)(b,{headingLevel:n,className:s()(t,O.className,"wc-block-components-product-title",{[m+"__product-title"]:m,["wc-block-components-product-title--align-"+p]:p&&Object(o.a)()}),style:Object(o.a)()?{...j.style,...g.style,...O.style}:{}})});let m={headingLevel:{type:"number",default:2},showProductLink:{type:"boolean",default:!0},linkTarget:{type:"string"},productId:{type:"number",default:0}};Object(o.a)()&&(m={...m,align:{type:"string"}});var y=m;t.default=Object(c.withFilteredAttributes)(y)(p)}}]);