Module 70433

539 characters · in 9dcd555c8ddfd15c.js, 06e6204b52ca69ca.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,l){l.d(t,{n:()=>o});var n=l(627968),r=l(64700),a=l(452027),i=l(637141),s=l(87730),u=l(451636),c=l(883296);function o(e){let{label:t,giftCardsEnabled:l,giftCardCheckboxProps:o,paymentSourceDropdownProps:d,currencySelectProps:m,showCheckboxAboveDropdown:x=!1,disabled:f}=e,h=r.useMemo(()=>l&&null!=o&&(0,n.jsx)(s.o,{...o,className:x?c.r:c.K,disabled:o.disabled||f}),[l,o,x,f]),p=l&&o?.checked===!0;return(0,n.jsxs)(a.D,{label:t,children:[x&&h,!p&&(0,n.jsx)(i.A,{...d,disabled:f}),!x&&h,!p&&void 0!==m&&(0,n.jsx)(u.q,{...m})]})}}