import{j as e,Q as m,Z as d,aw as p}from"./app-BgLa5dit.js";import{C as x,a as u}from"./GYlSv6lg.chunk.js";import{A as C}from"./B6D3K4Nu.chunk.js";import{C as s}from"./CMrPv4Jl.chunk.js";import{C as _}from"./BddP3S5c.chunk.js";import"./DJ0pq8J_.chunk.js";import"./Bs6fQ2wT.chunk.js";import"./BUT90D7O.chunk.js";import"./DyuQzTEw.chunk.js";import"./DDfKZ_ng.chunk.js";import"./BgshPevy.chunk.js";import"./DkDkjje4.chunk.js";import"./C1m0yEk1.chunk.js";const f="_panel_10kmx_1",g="_selected_10kmx_8",h="_iconContainer_10kmx_11",r={panel:f,selected:g,iconContainer:h};function j(t){return e.jsxs("div",{className:`rounded-3 cursor-pointer d-flex flex-column ${r.panel} ${t.isSelected?r.selected:""}`,onClick:()=>t.onClick(t.id),children:[e.jsx("div",{className:"flex-grow-1 d-flex justify-content-center align-items-center",children:e.jsx(m,{svg:t.icon,size:d.XXL,className:`d-inline-block svg-container ${r.iconContainer}`})}),e.jsx("div",{className:"text-center",children:e.jsx("label",{className:"m-0 p-0 cursor-pointer",children:t.label})})]})}const T="_grid_6m83z_1",N="_alertSpan_6m83z_7",a={grid:T,alertSpan:N};function y(){const{values:t,setValues:c}=p(),n=s.find(i=>i.id===t.originType);function l(i){c(o=>_.applyOriginTypeChange(o,i))}return e.jsxs("div",{className:a.grid,children:[s.map(i=>e.jsx(j,{id:i.id,label:i.label,icon:i.icon,isSelected:t.originType===i.id,onClick:l},i.id)),n&&e.jsx("div",{className:a.alertSpan,children:e.jsxs(C,{variant:"default",className:"p-3 w-100",children:[e.jsx("p",{className:"fw-semibold mb-1",children:n.alertTitle}),e.jsx("p",{className:"m-0 fw-normal",children:n.alertDescription})]})})]})}function L(t){return e.jsx(x,{currentStepId:u.ORIGIN_TYPE,queryParams:t.queryParams,title:"Select origin of contacts",description:"Choose the source that best matches how these contacts were collected.",children:e.jsx(y,{})})}export{L as ContactImportOriginTypeView};
//# sourceMappingURL=DC7FvHwb.chunk.js.map
