Current Path : /storage/v11800/testtest/public_html/wp-content/plugins/woocommerce/assets/client/blocks/

Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64

Upload File :
Current File : /storage/v11800/testtest/public_html/wp-content/plugins/woocommerce/assets/client/blocks/product-image-frontend.js
(self.webpackChunkwebpackWcBlocksFrontendJsonp=self.webpackChunkwebpackWcBlocksFrontendJsonp||[]).push([[4232,4442],{8415:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>b});var o=l(1616),a=l(1609),n=l(6087),s=l(7723),r=l(851),c=l(5703),i=l(2796),d=l(3566),u=l(3603),m=l(6809);l(5183);let g=function(e){return e.SINGLE="single",e.THUMBNAIL="thumbnail",e}({});const p=e=>(0,a.createElement)("img",{...e,src:c.PLACEHOLDER_IMG_SRC,alt:"",width:void 0,height:void 0}),y=({image:e,loaded:t,showFullSize:l,fallbackAlt:o,width:s,scale:r,height:c,aspectRatio:i})=>{const{thumbnail:d,src:u,srcset:m,sizes:g,alt:y}=e||{},f={alt:y||o,hidden:!t,src:d,...l&&{src:u,srcSet:m,sizes:g}},h={height:c,width:s,objectFit:r,aspectRatio:i};return(0,a.createElement)(n.Fragment,null,f.src&&(0,a.createElement)("img",{style:h,"data-testid":"product-image",...f}),!e&&(0,a.createElement)(p,{style:h}))},f=(0,o.withProductDataContext)((e=>{const{className:t,imageSizing:l=g.SINGLE,showProductLink:o=!0,showSaleBadge:c,saleBadgeAlign:f="right",height:h,width:b,scale:v,aspectRatio:k,...w}=e,S=(0,d.p)(e),{parentClassName:N}=(0,i.useInnerBlockLayoutContext)(),{product:E,isLoading:C}=(0,i.useProductDataContext)(),{dispatchStoreEvent:L}=(0,u.y)();if(!E.id)return(0,a.createElement)("div",{className:(0,r.A)(t,"wc-block-components-product-image",{[`${N}__product-image`]:N},S.className),style:S.style},(0,a.createElement)(p,null));const x=!!E.images.length,_=x?E.images[0]:null,A=o?"a":n.Fragment,B=(0,s.sprintf)(/* translators: %s is referring to the product name */ /* translators: %s is referring to the product name */
(0,s.__)("Link to %s","woocommerce"),E.name),F={href:E.permalink,...!x&&{"aria-label":B},onClick:()=>{L("product-view-link",{product:E})}};return delete w.style,(0,a.createElement)("div",{className:(0,r.A)(t,"wc-block-components-product-image",{[`${N}__product-image`]:N},S.className),style:S.style},(0,a.createElement)(A,{...o&&F},!!c&&(0,a.createElement)(m.default,{align:f,...w}),(0,a.createElement)(y,{fallbackAlt:E.name,image:_,loaded:!C,showFullSize:l!==g.THUMBNAIL,width:b,height:h,scale:v,aspectRatio:k})))})),h={showProductLink:{type:"boolean",default:!0},showSaleBadge:{type:"boolean",default:!0},saleBadgeAlign:{type:"string",default:"right"},imageSizing:{type:"string",default:g.SINGLE},productId:{type:"number",default:0},isDescendentOfQueryLoop:{type:"boolean",default:!1},isDescendentOfSingleProductBlock:{type:"boolean",default:!1},width:{type:"string"},height:{type:"string"},scale:{type:"string",default:"cover"},aspectRatio:{type:"string"}},b=(0,o.withFilteredAttributes)(h)(f)},6809:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Block:()=>d,default:()=>u});var o=l(1609),a=l(7723),n=l(851),s=l(4656),r=l(2796),c=l(3566),i=l(1616);l(6007);const d=e=>{const{className:t,align:l}=e,i=(0,c.p)(e),{parentClassName:d}=(0,r.useInnerBlockLayoutContext)(),{product:u}=(0,r.useProductDataContext)();if(!(u.id&&u.on_sale||e.isDescendentOfSingleProductTemplate))return null;const m="string"==typeof l?`wc-block-components-product-sale-badge--align-${l}`:"";return(0,o.createElement)("div",{className:(0,n.A)("wc-block-components-product-sale-badge",t,m,{[`${d}__product-onsale`]:d},i.className),style:i.style},(0,o.createElement)(s.Label,{label:(0,a.__)("Sale","woocommerce"),screenReaderLabel:(0,a.__)("Product on sale","woocommerce")}))},u=(0,i.withProductDataContext)(d)},3566:(e,t,l)=>{"use strict";l.d(t,{p:()=>r});var o=l(851),a=l(3993),n=l(92),s=l(6032);const r=e=>{const t=(e=>{const t=(0,a.isObject)(e)?e:{style:{}};let l=t.style;return(0,a.isString)(l)&&(l=JSON.parse(l)||{}),(0,a.isObject)(l)||(l={}),{...t,style:l}})(e),l=(0,s.BK)(t),r=(0,s.aR)(t),c=(0,s.fo)(t),i=(0,n.x)(t);return{className:(0,o.A)(i.className,l.className,r.className,c.className),style:{...i.style,...l.style,...r.style,...c.style}}}},92:(e,t,l)=>{"use strict";l.d(t,{x:()=>a});var o=l(3993);const a=e=>{const t=(0,o.isObject)(e.style.typography)?e.style.typography:{},l=(0,o.isString)(t.fontFamily)?t.fontFamily:"";return{className:e.fontFamily?`has-${e.fontFamily}-font-family`:l,style:{fontSize:e.fontSize?`var(--wp--preset--font-size--${e.fontSize})`:t.fontSize,fontStyle:t.fontStyle,fontWeight:t.fontWeight,letterSpacing:t.letterSpacing,lineHeight:t.lineHeight,textDecoration:t.textDecoration,textTransform:t.textTransform}}}},6032:(e,t,l)=>{"use strict";l.d(t,{BK:()=>i,aR:()=>d,fo:()=>u});var o=l(851),a=l(1194),n=l(9786),s=l(3993);function r(e={}){const t={};return(0,n.getCSSRules)(e,{selector:""}).forEach((e=>{t[e.key]=e.value})),t}function c(e,t){return e&&t?`has-${(0,a.c)(t)}-${e}`:""}function i(e){var t,l,a,n,i,d,u;const{backgroundColor:m,textColor:g,gradient:p,style:y}=e,f=c("background-color",m),h=c("color",g),b=function(e){if(e)return`has-${e}-gradient-background`}(p),v=b||(null==y||null===(t=y.color)||void 0===t?void 0:t.gradient);return{className:(0,o.A)(h,b,{[f]:!v&&!!f,"has-text-color":g||(null==y||null===(l=y.color)||void 0===l?void 0:l.text),"has-background":m||(null==y||null===(a=y.color)||void 0===a?void 0:a.background)||p||(null==y||null===(n=y.color)||void 0===n?void 0:n.gradient),"has-link-color":(0,s.isObject)(null==y||null===(i=y.elements)||void 0===i?void 0:i.link)?null==y||null===(d=y.elements)||void 0===d||null===(u=d.link)||void 0===u?void 0:u.color:void 0}),style:r({color:(null==y?void 0:y.color)||{}})}}function d(e){var t;const l=(null===(t=e.style)||void 0===t?void 0:t.border)||{};return{className:function(e){var t;const{borderColor:l,style:a}=e,n=l?c("border-color",l):"";return(0,o.A)({"has-border-color":!!l||!(null==a||null===(t=a.border)||void 0===t||!t.color),[n]:!!n})}(e),style:r({border:l})}}function u(e){var t;return{className:void 0,style:r({spacing:(null===(t=e.style)||void 0===t?void 0:t.spacing)||{}})}}},5183:()=>{},6007:()=>{}}]);

Softgel-Capsule – Affy Pharma Pvt Ltd

Arrange A Callback
[]
1 Step 1
Full Name
Telephone
Departmentyour full name
Postal Address
Message
0 /
Previous
Next
Shopping Basket