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