(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[17],{173:function(e,t,n){"use strict";var o=n(10),c=n.n(o),r=n(21),l=n.n(r),i=n(0),a=n(26),s=n(5),u=n.n(s),d=(n(219),["className","disabled","name","permalink","rel","style","onClick"]);t.a=function(e){var t=e.className,n=void 0===t?"":t,o=e.disabled,r=void 0!==o&&o,s=e.name,p=e.permalink,b=void 0===p?"":p,m=e.rel,v=e.style,O=(e.onClick,l()(e,d)),f=u()("wc-block-components-product-name",n);if(r){var y=O;return Object(i.createElement)("span",c()({className:f},y,{dangerouslySetInnerHTML:{__html:Object(a.decodeEntities)(s)}}))}return Object(i.createElement)("a",c()({className:f,href:b,rel:m},O,{dangerouslySetInnerHTML:{__html:Object(a.decodeEntities)(s)},style:v}))}},219:function(e,t){},365:function(e,t,n){"use strict";var o=n(6),c=n.n(o),r=n(116);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var a={headingLevel:{type:"number",default:2},showProductLink:{type:"boolean",default:!0},productId:{type:"number",default:0}};Object(r.b)()&&(a=i(i({},a),{},{align:{type:"string"},color:{type:"string"},customColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"}})),t.a=a},366:function(e,t,n){"use strict";var o=n(6),c=n.n(o),r=n(21),l=n.n(r),i=n(0),a=n(5),s=n.n(a),u=n(41),d=n(12),p=n(116),b=n(81),m=n(173),v=n(78),O=(n(539),["children","headingLevel","elementType"]),f=function(e){var t=e.children,n=e.headingLevel,o=e.elementType,c=void 0===o?"h".concat(n):o,r=l()(e,O);return Object(i.createElement)(c,r,t)};t.a=Object(b.withProductDataContext)((function(e){var t,n,o,r,l,a,b,O=e.className,y=e.headingLevel,j=void 0===y?2:y,g=e.showProductLink,h=void 0===g||g,w=e.align,k=e.textColor,S=e.fontSize,C=e.style,P=Object(u.useInnerBlockLayoutContext)().parentClassName,E=Object(u.useProductDataContext)().product,L=Object(v.a)().dispatchStoreEvent,z=Object(d.getColorClassName)("color",k),N=Object(d.getFontSizeClass)(S),_=s()("wp-block-woocommerce-product-title",(o={"has-text-color":k||(null==C||null===(t=C.color)||void 0===t?void 0:t.text)||(null==C?void 0:C.color)},c()(o,"has-font-size",S||(null==C||null===(n=C.typography)||void 0===n?void 0:n.fontSize)||(null==C?void 0:C.fontSize)),c()(o,z,z),c()(o,N,N),o)),x={fontSize:(null==C?void 0:C.fontSize)||(null==C||null===(r=C.typography)||void 0===r?void 0:r.fontSize),color:(null==C||null===(l=C.color)||void 0===l?void 0:l.text)||(null==C?void 0:C.color)};return E.id?Object(i.createElement)(f,{headingLevel:j,className:s()(O,"wc-block-components-product-title",(a={},c()(a,"".concat(P,"__product-title"),P),c()(a,"wc-block-components-product-title--align-".concat(w),w&&Object(p.b)()),a))},Object(i.createElement)(m.a,{className:s()(c()({},_,Object(p.b)())),disabled:!h,name:E.name,permalink:E.permalink,rel:h?"nofollow":"",onClick:function(){L("product-view-link",{product:E})},style:Object(p.b)()?x:{}})):Object(i.createElement)(f,{headingLevel:j,className:s()(O,"wc-block-components-product-title",(b={},c()(b,"".concat(P,"__product-title"),P),c()(b,"wc-block-components-product-title--align-".concat(w),w&&Object(p.b)()),c()(b,_,Object(p.b)()),b))})}))},539:function(e,t){},897:function(e,t,n){"use strict";n.r(t);var o=n(81),c=n(366),r=n(365);t.default=Object(o.withFilteredAttributes)(r.a)(c.a)}}]);