(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[13],{181:function(e,t,c){"use strict";c.d(t,"a",(function(){return o}));var o=function(e,t){var c=[];return Object.keys(e).forEach((function(o){if(void 0!==t[o])switch(e[o].type){case"boolean":c[o]="false"!==t[o]&&!1!==t[o];break;case"number":c[o]=parseInt(t[o],10);break;case"array":case"object":c[o]=JSON.parse(t[o]);break;default:c[o]=t[o]}else c[o]=e[o].default})),c}},282:function(e,t,c){"use strict";var o=c(11),n=c.n(o),r=c(181);t.a=function(e){return function(t){return function(c){var o=Object(r.a)(e,c);return React.createElement(t,n()({},c,o))}}}},286:function(e,t){},306:function(e,t,c){"use strict";c.r(t);var o=c(28),n=c(282),r=c(6),a=c.n(r),i=(c(4),c(5)),s=c.n(i),l=c(17),u=c(69),p=c(192),b=c(8),f=function(e){var t=e.color,c=e.fontSize;return Object(b.G)()?{color:t,fontSize:c}:{}},O=c(191),d=(c(286),Object(O.withProductDataContext)((function(e){var t,c,o,n=e.className,r=e.headingLevel,i=void 0===r?2:r,O=e.productLink,d=void 0===O||O,m=e.align,j=e.color,y=e.customColor,g=e.fontSize,v=e.customFontSize,w=Object(u.useInnerBlockLayoutContext)().parentClassName,k=Object(u.useProductDataContext)().product,h="h".concat(i),S=Object(p.getColorClassName)("color",j),z=Object(p.getFontSizeClass)(g),P=s()((t={"has-text-color":j||y,"has-font-size":g||v},a()(t,S,S),a()(t,z,z),t));if(!k.id)return React.createElement(h,{className:s()(n,"kkart-block-components-product-title",(o={},a()(o,"".concat(w,"__product-title"),w),a()(o,"kkart-block-components-product-title--align-".concat(m),m&&Object(b.G)()),a()(o,P,Object(b.G)()),o)),style:f({color:y,fontSize:v})});var C=Object(l.decodeEntities)(k.name);return React.createElement(h,{className:s()(n,"kkart-block-components-product-title",(c={},a()(c,"".concat(w,"__product-title"),w),a()(c,"kkart-block-components-product-title--align-".concat(m),m&&Object(b.G)()),c))},d?React.createElement("a",{href:k.permalink,rel:"nofollow",className:s()(a()({},P,Object(b.G)())),style:f({color:y,fontSize:v})},C):React.createElement("span",{className:s()(a()({},P,Object(b.G)())),style:f({color:y,fontSize:v})},C))})));function m(e,t){var c=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),c.push.apply(c,o)}return c}function j(e){for(var t=1;t<arguments.length;t++){var c=null!=arguments[t]?arguments[t]:{};t%2?m(Object(c),!0).forEach((function(t){a()(e,t,c[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(c)):m(Object(c)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(c,t))}))}return e}var y={headingLevel:{type:"number",default:2},productLink:{type:"boolean",default:!0},productId:{type:"number",default:0}};Object(b.G)()&&(y=j(j({},y),{},{align:{type:"string"},color:{type:"string"},customColor:{type:"string"},fontSize:{type:"string"},customFontSize:{type:"number"}}));var g=y;t.default=Object(o.compose)(Object(n.a)(g))(d)}}]);