PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/footcrew.com/wp-content/plugins/woocommerce/assets/client/blocks/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/footcrew.com/wp-content/plugins/woocommerce/assets/client/blocks/product-summary.js |
(self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[]).push([[8185],{1985:(t,e,o)=>{"use strict";o.r(e),o.d(e,{default:()=>v});var n=o(9196),s=o(3849),r=o.n(s),l=o(9307),c=o(987);const a=t=>t.replace(/<\/?[a-z][^>]*?>/gi,""),u=(t,e)=>t.replace(/[\s|\.\,]+$/i,"")+e;var i=o(5266);const d=({source:t,maxLength:e=15,countType:o="words",className:s="",style:r={}})=>{const d=(0,l.useMemo)((()=>((t,e=15,o="words")=>{const n=(0,c.autop)(t);if((0,i.count)(n,o)<=e)return n;const s=(t=>{const e=t.indexOf("</p>");return-1===e?t:t.substr(0,e+4)})(n);return(0,i.count)(s,o)<=e?s:"words"===o?((t,e,o="…",n=!0)=>{const s=a(t),r=s.split(" ").splice(0,e).join(" ");return r===s?n?(0,c.autop)(s):s:n?(0,c.autop)(u(r,o)):u(r,o)})(s,e):((t,e,o=!0,n="…",s=!0)=>{const r=a(t),l=r.slice(0,e);if(l===r)return s?(0,c.autop)(r):r;if(o)return(0,c.autop)(u(l,n));const i=l.match(/([\s]+)/g),d=i?i.length:0,p=r.slice(0,e+d);return s?(0,c.autop)(u(p,n)):u(p,n)})(s,e,"characters_including_spaces"===o)})(t,e,o)),[t,e,o]);return(0,n.createElement)(l.RawHTML,{style:r,className:s},d)};var p=o(8752),y=o(2864),m=o(947),f=o(721);o(4950);const v=(0,f.withProductDataContext)((t=>{const{className:e}=t,{parentClassName:o}=(0,y.useInnerBlockLayoutContext)(),{product:s}=(0,y.useProductDataContext)(),l=(0,m.F)(t);if(!s)return(0,n.createElement)("div",{className:r()(e,"wc-block-components-product-summary",{[`${o}__product-summary`]:o})});const c=s.short_description?s.short_description:s.description;return c?(0,n.createElement)(d,{className:r()(e,l.className,"wc-block-components-product-summary",{[`${o}__product-summary`]:o}),source:c,maxLength:150,countType:p.Cm.wordCountType||"words",style:l.style}):null}))},947:(t,e,o)=>{"use strict";o.d(e,{F:()=>u});var n=o(3849),s=o.n(n),r=o(7998),l=o(3243),c=o(3392),a=o(172);const u=t=>{const e=(t=>{const e=(0,r.Kn)(t)?t:{style:{}};let o=e.style;return(0,l.H)(o)&&(o=JSON.parse(o)||{}),(0,r.Kn)(o)||(o={}),{...e,style:o}})(t),o=(0,a.vc)(e),n=(0,a.l8)(e),u=(0,a.su)(e),i=(0,c.f)(e);return{className:s()(i.className,o.className,n.className,u.className),style:{...i.style,...o.style,...n.style,...u.style}}}},3392:(t,e,o)=>{"use strict";o.d(e,{f:()=>r});var n=o(7998),s=o(3243);const r=t=>{const e=(0,n.Kn)(t.style.typography)?t.style.typography:{},o=(0,s.H)(e.fontFamily)?e.fontFamily:"";return{className:t.fontFamily?`has-${t.fontFamily}-font-family`:o,style:{fontSize:t.fontSize?`var(--wp--preset--font-size--${t.fontSize})`:e.fontSize,fontStyle:e.fontStyle,fontWeight:e.fontWeight,letterSpacing:e.letterSpacing,lineHeight:e.lineHeight,textDecoration:e.textDecoration,textTransform:e.textTransform}}}},172:(t,e,o)=>{"use strict";o.d(e,{l8:()=>d,su:()=>p,vc:()=>i});var n=o(3849),s=o.n(n),r=o(7427),l=o(2289),c=o(7998);function a(t={}){const e={};return(0,l.getCSSRules)(t,{selector:""}).forEach((t=>{e[t.key]=t.value})),e}function u(t,e){return t&&e?`has-${(0,r.o)(e)}-${t}`:""}function i(t){var e,o,n,r,l,i,d;const{backgroundColor:p,textColor:y,gradient:m,style:f}=t,v=u("background-color",p),g=u("color",y),h=function(t){if(t)return`has-${t}-gradient-background`}(m),b=h||(null==f||null===(e=f.color)||void 0===e?void 0:e.gradient);return{className:s()(g,h,{[v]:!b&&!!v,"has-text-color":y||(null==f||null===(o=f.color)||void 0===o?void 0:o.text),"has-background":p||(null==f||null===(n=f.color)||void 0===n?void 0:n.background)||m||(null==f||null===(r=f.color)||void 0===r?void 0:r.gradient),"has-link-color":(0,c.Kn)(null==f||null===(l=f.elements)||void 0===l?void 0:l.link)?null==f||null===(i=f.elements)||void 0===i||null===(d=i.link)||void 0===d?void 0:d.color:void 0}),style:a({color:(null==f?void 0:f.color)||{}})}}function d(t){var e;const o=(null===(e=t.style)||void 0===e?void 0:e.border)||{};return{className:function(t){var e;const{borderColor:o,style:n}=t,r=o?u("border-color",o):"";return s()({"has-border-color":!!o||!(null==n||null===(e=n.border)||void 0===e||!e.color),[r]:!!r})}(t),style:a({border:o})}}function p(t){var e;return{className:void 0,style:a({spacing:(null===(e=t.style)||void 0===e?void 0:e.spacing)||{}})}}},2893:(t,e,o)=>{"use strict";o.d(e,{F:()=>n});const n=t=>null===t},7998:(t,e,o)=>{"use strict";o.d(e,{$n:()=>r,Kn:()=>s,Qr:()=>l});var n=o(2893);const s=t=>!(0,n.F)(t)&&t instanceof Object&&t.constructor===Object;function r(t,e){return s(t)&&e in t}const l=t=>0===Object.keys(t).length},3243:(t,e,o)=>{"use strict";o.d(e,{H:()=>n});const n=t=>"string"==typeof t},4950:()=>{}}]);