Loading
function(e,t,l){l.d(t,{n:()=>o});var s=l(627968),a=l(64700),r=l(452027),n=l(637141),i=l(87730),d=l(451636),c=l(883296);function o(e){let{label:t,giftCardsEnabled:l,giftCardCheckboxProps:o,paymentSourceDropdownProps:u,currencySelectProps:m,showCheckboxAboveDropdown:x=!1,disabled:h,customSelectorContent:v}=e,p=a.useMemo(()=>l&&null!=o&&(0,s.jsx)(i.o,{...o,className:x?c.r:c.K,disabled:o.disabled||h}),[l,o,x,h]),j=x&&l&&o?.checked===!0,g=null!=v,f=a.useMemo(()=>null!=v?v:(0,s.jsx)(n.Ay,{...u,disabled:h}),[v,h,u]);return(0,s.jsxs)(r.D,{label:t,children:[x&&p,!j&&f,!x&&p,!g&&!j&&void 0!==m&&(0,s.jsx)(d.q,{...m})]})}}