(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[16],{243:function(t,e,n){"use strict";n.d(e,"a",(function(){return s})),n(163);var c=n(65);const s=()=>c.m>1},260:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var c=n(162),s=n(243),o=n(35);const r=t=>Object(o.d)(t)?JSON.parse(t)||{}:Object(o.c)(t)?t:{},a=t=>{if(!Object(s.a)()||"function"!=typeof c.__experimentalGetSpacingClassesAndStyles)return{style:{}};const e=Object(o.c)(t)?t:{},n=r(e.style);return Object(c.__experimentalGetSpacingClassesAndStyles)({...e,style:n})},u=t=>{const e=Object(o.c)(t)?t:{},n=r(e.style),c=Object(o.c)(n.typography)?n.typography:{};return{style:{fontSize:e.fontSize||c.fontSize,lineHeight:c.lineHeight,fontWeight:c.fontWeight,textTransform:c.textTransform,fontFamily:e.fontFamily}}},i=t=>{if(!Object(s.a)())return{className:"",style:{}};const e=Object(o.c)(t)?t:{},n=r(e.style);return Object(c.__experimentalUseColorProps)({...e,style:n})}},261:function(t,e,n){"use strict";var c=n(0),s=n(113),o=n(114);const r=t=>{const e=t.indexOf("</p>");return-1===e?t:t.substr(0,e+4)},a=t=>t.replace(/<\/?[a-z][^>]*?>/gi,""),u=(t,e)=>t.replace(/[\s|\.\,]+$/i,"")+e,i=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"&hellip;";const c=a(t),s=c.split(" ").splice(0,e).join(" ");return Object(o.autop)(u(s,n))},l=function(t,e){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&hellip;";const s=a(t),r=s.slice(0,e);if(n)return Object(o.autop)(u(r,c));const i=r.match(/([\s]+)/g),l=i?i.length:0,p=s.slice(0,e+l);return Object(o.autop)(u(p,c))};e.a=t=>{let{source:e,maxLength:n=15,countType:a="words",className:u="",style:p={}}=t;const d=Object(c.useMemo)(()=>function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"words";const c=Object(o.autop)(t),a=Object(s.count)(c,n);if(a<=e)return c;const u=r(c),p=Object(s.count)(u,n);return p<=e?u:"words"===n?i(u,e):l(u,e,"characters_including_spaces"===n)}(e,n,a),[e,n,a]);return Object(c.createElement)(c.RawHTML,{style:p,className:u},d)}},319:function(t,e){},367:function(t,e,n){"use strict";n.r(e);var c=n(0),s=(n(8),n(4)),o=n.n(s),r=n(261),a=n(65),u=n(49),i=n(110),l=(n(319),n(260));e.default=Object(i.withProductDataContext)(t=>{const{className:e}=t,{parentClassName:n}=Object(u.useInnerBlockLayoutContext)(),{product:s}=Object(u.useProductDataContext)(),i=Object(l.a)(t),p=Object(l.c)(t);if(!s)return Object(c.createElement)("div",{className:o()(e,"wc-block-components-product-summary",{[n+"__product-summary"]:n})});const d=s.short_description?s.short_description:s.description;return d?Object(c.createElement)(r.a,{className:o()(e,i.className,"wc-block-components-product-summary",{[n+"__product-summary"]:n}),source:d,maxLength:150,countType:a.n.wordCountType||"words",style:{...i.style,...p.style}}):null})}}]);