import{j as e,G as t,aw as u,di as d,az as c,ax as l,dj as r}from"./app-BgLa5dit.js";function m(i){const n=u(),a=d(n);return e.jsxs(c,{children:[e.jsx(l,{label:"Audience(s)",as:"select",name:"audienceIds",id:"audience-ids",multiple:!0,size:i.audiences.length,value:n.values.audienceIds,children:i.audiences.map(s=>e.jsx("option",{value:s.masterId,children:s.name},s.masterId))}),e.jsx("div",{className:"d-flex justify-content-end",children:e.jsx(r,{showSpinner:n.isSubmitting,type:"submit",disabled:!a,children:"Save Audiences"})})]})}function x(i){const n=({audienceIds:a},s)=>i.saveAudiences(a,s);return e.jsx(t,{initialValues:i.initialValues,onSubmit:n,enableReinitialize:!0,children:e.jsx(m,{audiences:i.audiences})})}export{x as S};
//# sourceMappingURL=AvyxFUsd.chunk.js.map
