(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[18],{243:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n(163);var c=n(65);const l=()=>c.m>1},249:function(e,t,n){"use strict";var c=n(10),l=n.n(c),o=n(0),s=n(19),r=n(4),a=n.n(r);n(250),t.a=e=>{let{className:t="",disabled:n=!1,name:c,permalink:r="",rel:i,style:u,onClick:d,...p}=e;const b=a()("wc-block-components-product-name",t);if(n){const e=p;return Object(o.createElement)("span",l()({className:b},e,{dangerouslySetInnerHTML:{__html:Object(s.decodeEntities)(c)}}))}return Object(o.createElement)("a",l()({className:b,href:r,rel:i},p,{dangerouslySetInnerHTML:{__html:Object(s.decodeEntities)(c)},style:u}))}},250:function(e,t){},260:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return i}));var c=n(162),l=n(243),o=n(35);const s=e=>Object(o.d)(e)?JSON.parse(e)||{}:Object(o.c)(e)?e:{},r=e=>{if(!Object(l.a)()||"function"!=typeof c.__experimentalGetSpacingClassesAndStyles)return{style:{}};const t=Object(o.c)(e)?e:{},n=s(t.style);return Object(c.__experimentalGetSpacingClassesAndStyles)({...t,style:n})},a=e=>{const t=Object(o.c)(e)?e:{},n=s(t.style),c=Object(o.c)(n.typography)?n.typography:{};return{style:{fontSize:t.fontSize||c.fontSize,lineHeight:c.lineHeight,fontWeight:c.fontWeight,textTransform:c.textTransform,fontFamily:t.fontFamily}}},i=e=>{if(!Object(l.a)())return{className:"",style:{}};const t=Object(o.c)(e)?e:{},n=s(t.style);return Object(c.__experimentalUseColorProps)({...t,style:n})}},315:function(e,t){},398:function(e,t,n){"use strict";n.r(t);var c=n(110),l=n(0),o=n(4),s=n.n(o),r=n(49),a=n(243),i=n(249),u=n(38),d=(n(315),n(260));const p=e=>{let{children:t,headingLevel:n,elementType:c="h"+n,...o}=e;return Object(l.createElement)(c,o,t)};var b=Object(c.withProductDataContext)(e=>{const{className:t,headingLevel:n=2,showProductLink:c=!0,align:o}=e,{parentClassName:b}=Object(r.useInnerBlockLayoutContext)(),{product:m}=Object(r.useProductDataContext)(),{dispatchStoreEvent:y}=Object(u.a)(),O=Object(d.a)(e),f=Object(d.b)(e),j=Object(d.c)(e);return m.id?Object(l.createElement)(p,{headingLevel:n,className:s()(t,O.className,"wc-block-components-product-title",{[b+"__product-title"]:b,["wc-block-components-product-title--align-"+o]:o&&Object(a.a)()}),style:Object(a.a)()?{...f.style,...j.style,...O.style}:{}},Object(l.createElement)(i.a,{disabled:!c,name:m.name,permalink:m.permalink,rel:c?"nofollow":"",onClick:()=>{y("product-view-link",{product:m})}})):Object(l.createElement)(p,{headingLevel:n,className:s()(t,O.className,"wc-block-components-product-title",{[b+"__product-title"]:b,["wc-block-components-product-title--align-"+o]:o&&Object(a.a)()}),style:Object(a.a)()?{...f.style,...j.style,...O.style}:{}})});let m={headingLevel:{type:"number",default:2},showProductLink:{type:"boolean",default:!0},productId:{type:"number",default:0}};Object(a.a)()&&(m={...m,align:{type:"string"},color:{type:"string"},customColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"}});var y=m;t.default=Object(c.withFilteredAttributes)(y)(b)}}]);