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