Module 70433

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