@solace-health/ui 0.9.64 → 0.9.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -13,7 +13,7 @@ var he = require('contentful');
13
13
  var reactMenu = require('@szhsin/react-menu');
14
14
  var luxon = require('luxon');
15
15
  var reactImask = require('react-imask');
16
- var l6 = require('use-places-autocomplete');
16
+ var s6 = require('use-places-autocomplete');
17
17
  var api = require('@react-google-maps/api');
18
18
 
19
19
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
@@ -41,7 +41,7 @@ var Be__default = /*#__PURE__*/_interopDefault(Be);
41
41
  var T1__default = /*#__PURE__*/_interopDefault(T1);
42
42
  var W0__default = /*#__PURE__*/_interopDefault(W0);
43
43
  var he__namespace = /*#__PURE__*/_interopNamespace(he);
44
- var l6__default = /*#__PURE__*/_interopDefault(l6);
44
+ var s6__default = /*#__PURE__*/_interopDefault(s6);
45
45
 
46
46
  var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",fail:"#ff0000",gray:"#f3f3f3"},breakpoint:{small:"500px",medium:"800px",large:"1200px"},typography:{family:{body:"Lato, helvetica, sans-serif",heading:"'Mollie Glaston', serif",subHeading:"'Cinzel', sans-serif",script:"'Dancing Script', sans-serif"},weight:{normal:400,medium:500,semiBold:600,bold:700}}},at={components:{Switch:{handleSize:24,trackHeight:28,trackMinWidth:67},Tabs:{inkBarColor:"#285E50",itemActiveColor:"#285E50",itemSelectedColor:"#285E50",itemHoverColor:"#285E50",titleFontSize:16,colorBorderSecondary:"#AFC8BF"},Segmented:{fontSize:16,borderRadius:6,borderRadiusXS:6,controlHeight:36,controlHeightSM:30,controlHeightLG:40,itemColor:"#555555",itemActiveBg:"rgba(0, 0, 0, 0)",itemSelectedBg:"#fff",itemHoverBg:"rgba(212, 226, 221, 0.2)",colorBgLayout:"rgb(233, 240, 238)",itemHoverColor:"rgb(85, 85, 85)",itemSelectedColor:"#555555"},Collapse:{headerBg:"rgb(255, 255, 255)",colorBorder:"rgb(175, 200, 191)",colorFillAlter:"rgb(255, 255, 255)",fontSize:18,padding:20,contentPadding:"0px 16px 16px",headerPadding:"25px 16px",borderRadiusLG:10}},token:{colorInfo:"#285E50",colorLink:"#285E50",colorWarning:"#D7A13B",colorError:"#EE2932",colorPrimary:"#285E50",colorPrimaryActive:"#1D4339",fontFamily:"Lato, helvetica, sans-serif",fontSize:16,fontSizeSM:14,fontSizeLG:18,borderRadius:8,borderRadiusLG:20,colorBgMask:"rgba(0, 0, 0, 0.2)"}},st=({children:e,theme:t={}})=>jsxRuntime.jsx(antd.ConfigProvider,{theme:{...at,...t},children:e});var lt=({children:e,theme:t={}})=>jsxRuntime.jsx(st,{theme:t,children:e});var A2=(i=>(i.XL="xl",i.LG="lg",i.MD="md",i.SM="sm",i.XS="xs",i))(A2||{});var pt=d__default.default.p`
47
47
  transition: font-size 0.25s;
@@ -1084,7 +1084,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1084
1084
  margin-bottom: 5px;
1085
1085
  font-weight: ${({isLabelBold:e})=>e?"bold":"regular"};
1086
1086
  text-align: start;
1087
- `,P8=({label:e=null,isLabelBold:t=!0,name:o,required:r=!1,disabled:n=!1,defaultValue:i=void 0,options:a={},...s})=>{let{control:c,formState:{errors:l}}=reactHookForm.useFormContext(),m=!!l[o];return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[e&&jsxRuntime.jsx(z8,{size:"lg",isLabelBold:t,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:f})=>jsxRuntime.jsx(p2,{disabled:n,...s,...f,hasError:m}),name:o,defaultValue:i,rules:{required:r},control:c,...a}),m&&jsxRuntime.jsx(L,{text:l[o]?.message?.toString(),includeIcon:!1})]})},F1=P8;var T8=({label:e,name:t,formOptions:o={},description:r="",previewOnly:n=!1,errorMessage:i=void 0,advocateSignatureNeeded:a=!1,showIcon:s=!0,formStyle:c="MINIMAL",...l})=>{let{register:m,control:f,setValue:g,getValues:h,formState:{errors:x}}=reactHookForm.useFormContext(),b=Be.useRef(null),H=Be.useRef(null),E=Be.useRef(null),Z=Be.useRef(null),B=[b,H,E,Z];Be.useEffect(()=>{if(c==="MINIMAL")return;let _=h()[t];if(!_)return;let K=JSON.parse(_);B.forEach(a1=>{let M1=a1.current;M1&&(M1.value=K[M1.name]);});},[]);let S=()=>{let u=B.reduce((K,a1)=>a1.current?{...K,[a1.current.name]:a1.current.value}:K,{}),_=JSON.stringify(u);g(t,_,{shouldDirty:!0});},y=({field:u})=>jsxRuntime.jsx("input",{...u,style:{display:"none"}}),w=({field:u})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(Qe,{previewOnly:n,children:[s&&jsxRuntime.jsx(N1,{}),jsxRuntime.jsx(e3,{...u,...l})]}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(C.Body,{children:e})})]}),p=jsxRuntime.jsxs(je,{children:[a&&jsxRuntime.jsxs(_2,{children:[jsxRuntime.jsxs(z2,{children:[jsxRuntime.jsx(F2,{placeholder:"Advocate Signature",disabled:n,...m("advocatesignature",o),ref:b,onChange:S,hasError:!!x?.advocate_signature}),jsxRuntime.jsx(P1,{children:"Advocate Signature"}),x?.advocate_signature&&jsxRuntime.jsx(L,{text:i,includeIcon:!1})]}),jsxRuntime.jsxs(P2,{children:[jsxRuntime.jsx(F1,{disabled:n,name:"advocatedate",ref:H,onChange:S}),jsxRuntime.jsx(P1,{children:"Advocate Signature"})]})]}),jsxRuntime.jsxs(_2,{children:[jsxRuntime.jsxs(z2,{children:[jsxRuntime.jsx(F2,{placeholder:"Client Signature",disabled:n,...m("clientsignature",o),ref:E,onChange:S,hasError:!!x?.clientsignature}),jsxRuntime.jsx(P1,{children:"Client Signature"}),x?.clientSignature&&jsxRuntime.jsx(L,{text:i,includeIcon:!1})]}),jsxRuntime.jsxs(P2,{children:[jsxRuntime.jsx(F1,{disabled:n,ref:Z,onChange:S,name:"clientdate"}),jsxRuntime.jsx(P1,{children:"Client Signature"})]})]})]});return jsxRuntime.jsxs(Ye,{previewOnly:n,children:[e&&jsxRuntime.jsx(P,{label:e,required:!0,isLabelBold:!0}),r,c!=="MINIMAL"?p:null,jsxRuntime.jsx(reactHookForm.Controller,{render:c==="MINIMAL"?w:y,name:t,rules:o,control:f})]})},t3=T8;d__default.default.div`
1087
+ `,P8=({label:e=null,isLabelBold:t=!0,name:o,required:r=!1,disabled:n=!1,defaultValue:i=void 0,options:a={},...s})=>{let{control:c,formState:{errors:l}}=reactHookForm.useFormContext(),m=!!l[o];return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[e&&jsxRuntime.jsx(z8,{size:"lg",isLabelBold:t,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:f})=>jsxRuntime.jsx(p2,{disabled:n,...s,...f,hasError:m}),name:o,defaultValue:i,rules:{required:r},control:c,...a}),m&&jsxRuntime.jsx(L,{text:l[o]?.message?.toString(),includeIcon:!1})]})},F1=P8;var T8=({label:e,name:t,formOptions:o={},description:r="",previewOnly:n=!1,errorMessage:i=void 0,advocateSignatureNeeded:a=!1,showIcon:s=!0,formStyle:c="MINIMAL",...l})=>{let{register:m,control:f,setValue:g,getValues:h,formState:{errors:x}}=reactHookForm.useFormContext(),b=Be.useRef(null),H=Be.useRef(null),E=Be.useRef(null),Z=Be.useRef(null),B=[b,H,E,Z];Be.useEffect(()=>{if(c==="MINIMAL")return;let _=h()[t];if(!_)return;let K=JSON.parse(_);B.forEach(i1=>{let M1=i1.current;M1&&(M1.value=K[M1.name]);});},[]);let S=()=>{let u=B.reduce((K,i1)=>i1.current?{...K,[i1.current.name]:i1.current.value}:K,{}),_=JSON.stringify(u);g(t,_,{shouldDirty:!0});},y=({field:u})=>jsxRuntime.jsx("input",{...u,style:{display:"none"}}),w=({field:u})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(Qe,{previewOnly:n,children:[s&&jsxRuntime.jsx(N1,{}),jsxRuntime.jsx(e3,{...u,...l})]}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(C.Body,{children:e})})]}),p=jsxRuntime.jsxs(je,{children:[a&&jsxRuntime.jsxs(_2,{children:[jsxRuntime.jsxs(z2,{children:[jsxRuntime.jsx(F2,{placeholder:"Advocate Signature",disabled:n,...m("advocatesignature",o),ref:b,onChange:S,hasError:!!x?.advocate_signature}),jsxRuntime.jsx(P1,{children:"Advocate Signature"}),x?.advocate_signature&&jsxRuntime.jsx(L,{text:i,includeIcon:!1})]}),jsxRuntime.jsxs(P2,{children:[jsxRuntime.jsx(F1,{disabled:n,name:"advocatedate",ref:H,onChange:S}),jsxRuntime.jsx(P1,{children:"Advocate Signature"})]})]}),jsxRuntime.jsxs(_2,{children:[jsxRuntime.jsxs(z2,{children:[jsxRuntime.jsx(F2,{placeholder:"Client Signature",disabled:n,...m("clientsignature",o),ref:E,onChange:S,hasError:!!x?.clientsignature}),jsxRuntime.jsx(P1,{children:"Client Signature"}),x?.clientSignature&&jsxRuntime.jsx(L,{text:i,includeIcon:!1})]}),jsxRuntime.jsxs(P2,{children:[jsxRuntime.jsx(F1,{disabled:n,ref:Z,onChange:S,name:"clientdate"}),jsxRuntime.jsx(P1,{children:"Client Signature"})]})]})]});return jsxRuntime.jsxs(Ye,{previewOnly:n,children:[e&&jsxRuntime.jsx(P,{label:e,required:!0,isLabelBold:!0}),r,c!=="MINIMAL"?p:null,jsxRuntime.jsx(reactHookForm.Controller,{render:c==="MINIMAL"?w:y,name:t,rules:o,control:f})]})},t3=T8;d__default.default.div`
1088
1088
  margin-bottom: 32px;
1089
1089
  `;var o3=d__default.default.div`
1090
1090
  display: ${e=>e.isColumns?"grid":"flex"};
@@ -1343,16 +1343,16 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1343
1343
  border-radius: 10px;
1344
1344
  `;var Q8=d__default.default(C.Body)`
1345
1345
  margin-bottom: 12px;
1346
- `,j8=({label:e="",name:t,details:o="",placeholder:r="",className:n="",options:i=[],disabled:a=!1,mode:s=void 0,previewOnly:c=!1,isLabelBold:l=!0,formOptions:m={},onChange:f=()=>null,showPreview:g=!1,containerStyle:h={},allowClear:x=!0,loading:b=!1,value:H=void 0,errorMessage:E=void 0,defaultValue:Z=void 0})=>{let B=reactHookForm.useFormContext();B.register(t,m);let{control:S,formState:{errors:y},getValues:w}=reactHookForm.useFormContext(),p=!!y?.[t],_=w()[t],K=D=>{B.setValue(t,D),B.trigger(t),f(D);},a1=(D,H1)=>(H1?.label?.toString().toLowerCase()??"").includes(D.toLowerCase()),M1=(D,H1)=>{let rt=D?.label?.toString().toLowerCase()??"",nt=H1?.label?.toString().toLowerCase()??"";return rt.localeCompare(nt)},ot=({field:D})=>jsxRuntime.jsx(antd.Select,{allowClear:x,loading:b,mode:s,showSearch:!0,onChange:K,placeholder:r,options:i,disabled:a||c,className:n,popupClassName:n,value:D.value??H,defaultValue:i.find(H1=>H1.value===Z),style:{width:"100%"},filterOption:a1,filterSort:M1});return jsxRuntime.jsxs("div",{style:h,children:[e&&jsxRuntime.jsx(P,{label:e,isLabelBold:l,required:!!m.required}),o&&jsxRuntime.jsx(Q8,{children:o}),jsxRuntime.jsx(reactHookForm.Controller,{control:S,name:t,rules:m,render:ot}),a&&g&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:"The test"}),jsxRuntime.jsx(V3,{children:i.map(D=>jsxRuntime.jsx(E3,{selected:D.value===_,children:D.label}))}),p&&jsxRuntime.jsx(L,{text:E,includeIcon:!1})]})},B3=j8;var i6=({label:e="Submit",isSubmitting:t=!1,hideWhenInvalid:o=!1,...r})=>{let n=reactHookForm.useFormContext(),{isValid:i}=n.formState,s=web.useSpring((o?i:!0)?{position:"relative",zIndex:0,opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:250}}:{opacity:0,transform:"translate(0px, -3px)",display:"none",config:{duration:250}});return jsxRuntime.jsx(web.animated.div,{style:s,...r,children:jsxRuntime.jsx(l2.Primary,{htmlType:"submit",isSubmitting:t,...r,children:e})})},z3=i6;var C6=d__default.default.div`
1346
+ `,j8=({label:e="",name:t,details:o="",placeholder:r="",className:n="",options:i=[],disabled:a=!1,mode:s=void 0,previewOnly:c=!1,isLabelBold:l=!0,formOptions:m={},onChange:f=()=>null,showPreview:g=!1,containerStyle:h={},allowClear:x=!0,loading:b=!1,value:H=void 0,errorMessage:E=void 0,defaultValue:Z=void 0})=>{let B=reactHookForm.useFormContext();B.register(t,m);let{control:S,formState:{errors:y},getValues:w}=reactHookForm.useFormContext(),p=!!y?.[t],_=w()[t],K=D=>{B.setValue(t,D),B.trigger(t),f(D);},i1=(D,H1)=>(H1?.label?.toString().toLowerCase()??"").includes(D.toLowerCase()),M1=(D,H1)=>{let rt=D?.label?.toString().toLowerCase()??"",nt=H1?.label?.toString().toLowerCase()??"";return rt.localeCompare(nt)},ot=({field:D})=>jsxRuntime.jsx(antd.Select,{allowClear:x,loading:b,mode:s,showSearch:!0,onChange:K,placeholder:r,options:i,disabled:a||c,className:n,popupClassName:n,value:D.value??H,defaultValue:i.find(H1=>H1.value===Z),style:{width:"100%"},filterOption:i1,filterSort:M1});return jsxRuntime.jsxs("div",{style:h,children:[e&&jsxRuntime.jsx(P,{label:e,isLabelBold:l,required:!!m.required}),o&&jsxRuntime.jsx(Q8,{children:o}),jsxRuntime.jsx(reactHookForm.Controller,{control:S,name:t,rules:m,render:ot}),c&&g&&jsxRuntime.jsx(V3,{children:i.map(D=>jsxRuntime.jsx(E3,{selected:D.value===_,children:D.label}))}),p&&jsxRuntime.jsx(L,{text:E,includeIcon:!1})]})},B3=j8;var n6=({label:e="Submit",isSubmitting:t=!1,hideWhenInvalid:o=!1,...r})=>{let n=reactHookForm.useFormContext(),{isValid:i}=n.formState,s=web.useSpring((o?i:!0)?{position:"relative",zIndex:0,opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:250}}:{opacity:0,transform:"translate(0px, -3px)",display:"none",config:{duration:250}});return jsxRuntime.jsx(web.animated.div,{style:s,...r,children:jsxRuntime.jsx(l2.Primary,{htmlType:"submit",isSubmitting:t,...r,children:e})})},z3=n6;var d6=d__default.default.div`
1347
1347
  position: relative;
1348
1348
  margin-bottom: 24px;
1349
1349
  z-index: 20;
1350
- `,c6=d__default.default(C.Body)`
1350
+ `,C6=d__default.default(C.Body)`
1351
1351
  margin-bottom: 5px;
1352
1352
  font-weight: bold;
1353
- `,m6=d__default.default(C.Body)`
1353
+ `,c6=d__default.default(C.Body)`
1354
1354
  margin-bottom: 12px;
1355
- `,f6=d__default.default.div`
1355
+ `,m6=d__default.default.div`
1356
1356
  position: relative;
1357
1357
  display: flex;
1358
1358
  align-items: center;
@@ -1363,7 +1363,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1363
1363
  border-radius: 8px;
1364
1364
  height: 50px;
1365
1365
  background-color: #fff;
1366
- `,g6=d__default.default(web.animated.div)`
1366
+ `,f6=d__default.default(web.animated.div)`
1367
1367
  position: absolute;
1368
1368
  background: #fff;
1369
1369
  border-radius: 8px;
@@ -1373,7 +1373,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1373
1373
  right: 0;
1374
1374
  max-height: 180px;
1375
1375
  overflow: scroll;
1376
- `,u6=d__default.default(web.animated.div)`
1376
+ `,g6=d__default.default(web.animated.div)`
1377
1377
  position: absolute;
1378
1378
  display: block;
1379
1379
  width: 45px;
@@ -1387,7 +1387,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1387
1387
  right: 20px;
1388
1388
  top: 17px;
1389
1389
  }
1390
- `,h6=d__default.default.div`
1390
+ `,u6=d__default.default.div`
1391
1391
  cursor: pointer;
1392
1392
  padding: 13px 24px;
1393
1393
  position: relative;
@@ -1398,7 +1398,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1398
1398
  color: #fff;
1399
1399
  }
1400
1400
  }
1401
- `,x6=d__default.default.input`
1401
+ `,h6=d__default.default.input`
1402
1402
  outline: none;
1403
1403
  border: none;
1404
1404
  background: none;
@@ -1411,24 +1411,24 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1411
1411
  padding: 0 20px;
1412
1412
  width: 100%;
1413
1413
  height: 100%;
1414
- `,y6=d__default.default(C.Body)`
1414
+ `,x6=d__default.default(C.Body)`
1415
1415
  margin-bottom: 24px;
1416
- `,b6=e=>{let t="",o="";e.address_components.forEach(i=>{let a=i.types.some(c=>c==="locality"),s=i.types.some(c=>c==="administrative_area_level_1");a?t=i.short_name:s&&(o=i.short_name);});let r=e.geometry.location.lat(),n=e.geometry.location.lng();return {city:t,state:o,lat:r,long:n}},w6=({handleSelect:e,option:t,value:o})=>{let{description:r}=t,n=r===o,i=r.replace(", USA","");return jsxRuntime.jsx(h6,{isCurrent:n,onClick:()=>e(i),children:jsxRuntime.jsx(C.Body,{size:"lg",children:i})})},v6=({label:e="",details:t="",required:o=!0,previewOnly:r=!1})=>{let n=Be.useRef(),[i,a]=Be.useState(!1),[s,c]=Be.useState(!1),l=reactHookForm.useFormContext();l.register("city",{required:o});let m=web.useSpring(i?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});Be.useEffect(()=>{let y=w=>{i&&n.current&&!n.current.contains(w.target)&&a(!1);};return document.addEventListener("mousedown",w=>y(w)),()=>{document.removeEventListener("mousedown",w=>y(w));}},[i]);let f=l.getValues("city")?`${l.getValues("city")}, ${l.getValues("state")}`:"",{value:g,suggestions:{data:h,loading:x},setValue:b,clearSuggestions:H}=l6__default.default({requestOptions:{types:["locality","postal_code"],componentRestrictions:{country:"us"}}});Be.useEffect(()=>{if(x){c(x);return}setTimeout(()=>{c(x);},2e3);},[x]);let E=web.useSpring(s?{opacity:1,transform:"translate(0px, 0px)",config:{duration:400}}:{opacity:0,transform:"translate(5px, 0px)",config:{duration:200}}),Z=y=>{b(y.target.value),l.setValue("city",null),l.setValue("state",null),l.trigger("city"),y.target.value.length>=3&&a(!0);},B=y=>{b(y,!1),H(),!(y.length<=2)&&l6.getGeocode({address:y}).then(w=>{let{city:p,state:u,lat:_,long:K}=b6(w[0]);l.setValue("city",p),l.setValue("state",u),l.setValue("lat",_),l.setValue("long",K),l.trigger("city");}).catch(w=>console.error(`Google Maps API error: ${w}`));},S=y=>{y.code==="Enter"&&y.preventDefault();};return jsxRuntime.jsxs(C6,{children:[jsxRuntime.jsx(c6,{size:"lg",children:e}),t&&jsxRuntime.jsx(m6,{children:t}),r?jsxRuntime.jsx(y6,{size:"md",children:f||"N/A"}):jsxRuntime.jsxs(f6,{children:[jsxRuntime.jsx(x6,{onKeyDown:S,value:g||f,onChange:y=>Z(y),type:"text"}),h.length>0&&jsxRuntime.jsx(g6,{style:m,ref:n,children:h.map(y=>jsxRuntime.jsx(w6,{handleSelect:B,option:y,value:g},y.description))}),jsxRuntime.jsx(u6,{style:E,children:jsxRuntime.jsx(H2,{size:"sm"})})]})]})},I3=e=>{let{isLoaded:t}=api.useLoadScript({googleMapsApiKey:e.api_key||process.env.GOOGLE_MAPS_API_KEY||"",libraries:["places"]});return t?jsxRuntime.jsx(v6,{...e}):null};var M6=({label:e="",name:t,...o})=>{let{setValue:r}=reactHookForm.useFormContext(),n=d__default.default(C.Body)`
1416
+ `,y6=e=>{let t="",o="";e.address_components.forEach(i=>{let a=i.types.some(c=>c==="locality"),s=i.types.some(c=>c==="administrative_area_level_1");a?t=i.short_name:s&&(o=i.short_name);});let r=e.geometry.location.lat(),n=e.geometry.location.lng();return {city:t,state:o,lat:r,long:n}},b6=({handleSelect:e,option:t,value:o})=>{let{description:r}=t,n=r===o,i=r.replace(", USA","");return jsxRuntime.jsx(u6,{isCurrent:n,onClick:()=>e(i),children:jsxRuntime.jsx(C.Body,{size:"lg",children:i})})},w6=({label:e="",details:t="",required:o=!0,previewOnly:r=!1})=>{let n=Be.useRef(),[i,a]=Be.useState(!1),[s,c]=Be.useState(!1),l=reactHookForm.useFormContext();l.register("city",{required:o});let m=web.useSpring(i?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});Be.useEffect(()=>{let y=w=>{i&&n.current&&!n.current.contains(w.target)&&a(!1);};return document.addEventListener("mousedown",w=>y(w)),()=>{document.removeEventListener("mousedown",w=>y(w));}},[i]);let f=l.getValues("city")?`${l.getValues("city")}, ${l.getValues("state")}`:"",{value:g,suggestions:{data:h,loading:x},setValue:b,clearSuggestions:H}=s6__default.default({requestOptions:{types:["locality","postal_code"],componentRestrictions:{country:"us"}}});Be.useEffect(()=>{if(x){c(x);return}setTimeout(()=>{c(x);},2e3);},[x]);let E=web.useSpring(s?{opacity:1,transform:"translate(0px, 0px)",config:{duration:400}}:{opacity:0,transform:"translate(5px, 0px)",config:{duration:200}}),Z=y=>{b(y.target.value),l.setValue("city",null),l.setValue("state",null),l.trigger("city"),y.target.value.length>=3&&a(!0);},B=y=>{b(y,!1),H(),!(y.length<=2)&&s6.getGeocode({address:y}).then(w=>{let{city:p,state:u,lat:_,long:K}=y6(w[0]);l.setValue("city",p),l.setValue("state",u),l.setValue("lat",_),l.setValue("long",K),l.trigger("city");}).catch(w=>console.error(`Google Maps API error: ${w}`));},S=y=>{y.code==="Enter"&&y.preventDefault();};return jsxRuntime.jsxs(d6,{children:[jsxRuntime.jsx(C6,{size:"lg",children:e}),t&&jsxRuntime.jsx(c6,{children:t}),r?jsxRuntime.jsx(x6,{size:"md",children:f||"N/A"}):jsxRuntime.jsxs(m6,{children:[jsxRuntime.jsx(h6,{onKeyDown:S,value:g||f,onChange:y=>Z(y),type:"text"}),h.length>0&&jsxRuntime.jsx(f6,{style:m,ref:n,children:h.map(y=>jsxRuntime.jsx(b6,{handleSelect:B,option:y,value:g},y.description))}),jsxRuntime.jsx(g6,{style:E,children:jsxRuntime.jsx(H2,{size:"sm"})})]})]})},I3=e=>{let{isLoaded:t}=api.useLoadScript({googleMapsApiKey:e.api_key||process.env.GOOGLE_MAPS_API_KEY||"",libraries:["places"]});return t?jsxRuntime.jsx(w6,{...e}):null};var L6=({label:e="",name:t,...o})=>{let{setValue:r}=reactHookForm.useFormContext(),n=d__default.default(C.Body)`
1417
1417
  margin-bottom: 5px;
1418
1418
  text-align: start;
1419
1419
  `,i=d__default.default.div`
1420
1420
  position: relative;
1421
1421
  margin-bottom: 24px;
1422
- `;return jsxRuntime.jsxs(i,{children:[e&&jsxRuntime.jsx(n,{children:e}),jsxRuntime.jsx(E2,{...o,onChange:s=>{r(t,s.value);}})]})},A3=M6;var G3=({color:e="#5A5A5A"})=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9999 10.9999H12.2099L11.9299 10.7299C13.1299 9.32989 13.7499 7.41989 13.4099 5.38989C12.9399 2.60989 10.6199 0.389893 7.81989 0.0498932C3.58989 -0.470107 0.0298932 3.08989 0.549893 7.31989C0.889893 10.1199 3.10989 12.4399 5.88989 12.9099C7.91989 13.2499 9.82989 12.6299 11.2299 11.4299L11.4999 11.7099V12.4999L15.7499 16.7499C16.1599 17.1599 16.8299 17.1599 17.2399 16.7499C17.6499 16.3399 17.6499 15.6699 17.2399 15.2599L12.9999 10.9999ZM6.99989 10.9999C4.50989 10.9999 2.49989 8.98989 2.49989 6.49989C2.49989 4.00989 4.50989 1.99989 6.99989 1.99989C9.48989 1.99989 11.4999 4.00989 11.4999 6.49989C11.4999 8.98989 9.48989 10.9999 6.99989 10.9999Z",fill:"#5A5A5A",color:e})});var E6=d__default.default.div`
1422
+ `;return jsxRuntime.jsxs(i,{children:[e&&jsxRuntime.jsx(n,{children:e}),jsxRuntime.jsx(E2,{...o,onChange:s=>{r(t,s.value);}})]})},A3=L6;var G3=({color:e="#5A5A5A"})=>jsxRuntime.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9999 10.9999H12.2099L11.9299 10.7299C13.1299 9.32989 13.7499 7.41989 13.4099 5.38989C12.9399 2.60989 10.6199 0.389893 7.81989 0.0498932C3.58989 -0.470107 0.0298932 3.08989 0.549893 7.31989C0.889893 10.1199 3.10989 12.4399 5.88989 12.9099C7.91989 13.2499 9.82989 12.6299 11.2299 11.4299L11.4999 11.7099V12.4999L15.7499 16.7499C16.1599 17.1599 16.8299 17.1599 17.2399 16.7499C17.6499 16.3399 17.6499 15.6699 17.2399 15.2599L12.9999 10.9999ZM6.99989 10.9999C4.50989 10.9999 2.49989 8.98989 2.49989 6.49989C2.49989 4.00989 4.50989 1.99989 6.99989 1.99989C9.48989 1.99989 11.4999 4.00989 11.4999 6.49989C11.4999 8.98989 9.48989 10.9999 6.99989 10.9999Z",fill:"#5A5A5A",color:e})});var V6=d__default.default.div`
1423
1423
  position: relative;
1424
1424
  margin-bottom: 24px;
1425
1425
  z-index: 20;
1426
- `,Z6=d__default.default(C.Body)`
1426
+ `,E6=d__default.default(C.Body)`
1427
1427
  margin-bottom: 5px;
1428
1428
  font-weight: bold;
1429
- `,B6=d__default.default(C.Body)`
1429
+ `,Z6=d__default.default(C.Body)`
1430
1430
  margin-bottom: 12px;
1431
- `,_6=d__default.default.div`
1431
+ `,B6=d__default.default.div`
1432
1432
  position: relative;
1433
1433
  padding: 15px 23px;
1434
1434
  margin-top: 8px;
@@ -1445,7 +1445,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1445
1445
  left: 25px;
1446
1446
  top: 17px;
1447
1447
  }
1448
- `,z6=d__default.default(web.animated.div)`
1448
+ `,_6=d__default.default(web.animated.div)`
1449
1449
  position: absolute;
1450
1450
  background: #fff;
1451
1451
  border-radius: 8px;
@@ -1465,7 +1465,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1465
1465
  background: #3f937c;
1466
1466
  }
1467
1467
  }
1468
- `,P6=d__default.default.input`
1468
+ `,z6=d__default.default.input`
1469
1469
  outline: none;
1470
1470
  border: none;
1471
1471
  background: none;
@@ -1477,7 +1477,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1477
1477
  width: 100%;
1478
1478
  height: 100%;
1479
1479
  padding-left: 10px;
1480
- `,F6=d__default.default.div`
1480
+ `,P6=d__default.default.div`
1481
1481
  height: 32px;
1482
1482
  border-radius: 32px;
1483
1483
  margin-right: 10px;
@@ -1488,7 +1488,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1488
1488
  align-items: center;
1489
1489
  display: flex;
1490
1490
  margin-top: 8px;
1491
- `,D6=d__default.default.div`
1491
+ `,F6=d__default.default.div`
1492
1492
  display: flex;
1493
1493
  align-items: center;
1494
1494
  justify-content: center;
@@ -1502,7 +1502,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1502
1502
  border: 0.766898px solid;
1503
1503
  border-color: ${e=>e.isCurrent?"#285E50 !important":"#3f937c"};
1504
1504
  background: ${e=>e.isCurrent?"#285E50 !important":"#FFF"};
1505
- `,R6=({label:e="",name:t,details:o="",options:r=[],previewOnly:n=!1})=>{let i=Be.useRef(),a=reactHookForm.useFormContext(),[s,c]=Be.useState(!1),[l,m]=Be.useState(""),[f,g]=Be.useState(a.getValues(t)||[]),h=Be.useRef({search:l,keywords:f});Be.useEffect(()=>{h.current={search:l,keywords:f};},[l,f]);let[x,b]=Be.useState(r),H=web.useSpring(s?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}}),E=r.find(p=>p===a.getValues(t)),Z=p=>{let u=[...h.current.keywords,p];m(""),g(u),a.setValue(t,u),c(!1);},B=p=>p?p.charAt(0).toUpperCase()+p.slice(1).toLowerCase():"",S=()=>{if(!h.current.search)return;let p=B(h.current.search);Z(p);};Be.useEffect(()=>{let p=u=>{s&&i.current&&!i.current.contains(u.target)&&(S(),c(!1));};return document.addEventListener("mousedown",u=>p(u)),()=>{document.removeEventListener("mousedown",u=>p(u));}},[s]);let y=p=>{p.code==="Enter"&&(S(),p.preventDefault());},w=p=>{let u=f.filter(_=>_!==p);g(u),m(""),a.setValue(t,u);};return Be.useEffect(()=>{if(c(!!l),l){let p=r.filter(u=>u.toLowerCase().match(l.toLowerCase()));b(p);}else b(r);},[l]),Be.useEffect(()=>{let p=r.filter(u=>!f.includes(u));b(p);},[f]),jsxRuntime.jsxs(E6,{children:[jsxRuntime.jsx(Z6,{size:"lg",children:e}),o&&jsxRuntime.jsx(B6,{children:o}),!n&&jsxRuntime.jsxs(_6,{onClick:()=>c(!s),children:[jsxRuntime.jsx(G3,{}),E,jsxRuntime.jsx(P6,{onKeyDown:y,value:l,onChange:p=>m(p.target.value),type:"text",style:{marginLeft:"45px",width:"calc(100% - 80px)"}}),jsxRuntime.jsxs(z6,{style:H,ref:i,children:[x.map(p=>{let u=p===E;return jsxRuntime.jsxs(W3,{onClick:()=>Z(p),children:[jsxRuntime.jsx(C.Body,{size:"lg",children:p}),jsxRuntime.jsx(D6,{isCurrent:u,children:jsxRuntime.jsx(v.Check,{color:"#fff"})})]},p)}),!x.length&&jsxRuntime.jsx(W3,{onClick:()=>S(),children:jsxRuntime.jsx(C.Body,{size:"lg",children:"Add Option"})},"add")]})]}),jsxRuntime.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:[n&&f.length===0&&"N/A",f.map(p=>jsxRuntime.jsxs(F6,{onClick:()=>w(p),children:[p,!n&&jsxRuntime.jsx(G1,{})]},p))]})]})},U3=R6;var J3=d__default.default.div`
1505
+ `,D6=({label:e="",name:t,details:o="",options:r=[],previewOnly:n=!1})=>{let i=Be.useRef(),a=reactHookForm.useFormContext(),[s,c]=Be.useState(!1),[l,m]=Be.useState(""),[f,g]=Be.useState(a.getValues(t)||[]),h=Be.useRef({search:l,keywords:f});Be.useEffect(()=>{h.current={search:l,keywords:f};},[l,f]);let[x,b]=Be.useState(r),H=web.useSpring(s?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}}),E=r.find(p=>p===a.getValues(t)),Z=p=>{let u=[...h.current.keywords,p];m(""),g(u),a.setValue(t,u),c(!1);},B=p=>p?p.charAt(0).toUpperCase()+p.slice(1).toLowerCase():"",S=()=>{if(!h.current.search)return;let p=B(h.current.search);Z(p);};Be.useEffect(()=>{let p=u=>{s&&i.current&&!i.current.contains(u.target)&&(S(),c(!1));};return document.addEventListener("mousedown",u=>p(u)),()=>{document.removeEventListener("mousedown",u=>p(u));}},[s]);let y=p=>{p.code==="Enter"&&(S(),p.preventDefault());},w=p=>{let u=f.filter(_=>_!==p);g(u),m(""),a.setValue(t,u);};return Be.useEffect(()=>{if(c(!!l),l){let p=r.filter(u=>u.toLowerCase().match(l.toLowerCase()));b(p);}else b(r);},[l]),Be.useEffect(()=>{let p=r.filter(u=>!f.includes(u));b(p);},[f]),jsxRuntime.jsxs(V6,{children:[jsxRuntime.jsx(E6,{size:"lg",children:e}),o&&jsxRuntime.jsx(Z6,{children:o}),!n&&jsxRuntime.jsxs(B6,{onClick:()=>c(!s),children:[jsxRuntime.jsx(G3,{}),E,jsxRuntime.jsx(z6,{onKeyDown:y,value:l,onChange:p=>m(p.target.value),type:"text",style:{marginLeft:"45px",width:"calc(100% - 80px)"}}),jsxRuntime.jsxs(_6,{style:H,ref:i,children:[x.map(p=>{let u=p===E;return jsxRuntime.jsxs(W3,{onClick:()=>Z(p),children:[jsxRuntime.jsx(C.Body,{size:"lg",children:p}),jsxRuntime.jsx(F6,{isCurrent:u,children:jsxRuntime.jsx(v.Check,{color:"#fff"})})]},p)}),!x.length&&jsxRuntime.jsx(W3,{onClick:()=>S(),children:jsxRuntime.jsx(C.Body,{size:"lg",children:"Add Option"})},"add")]})]}),jsxRuntime.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:[n&&f.length===0&&"N/A",f.map(p=>jsxRuntime.jsxs(P6,{onClick:()=>w(p),children:[p,!n&&jsxRuntime.jsx(G1,{})]},p))]})]})},U3=D6;var J3=d__default.default.div`
1506
1506
  display: flex;
1507
1507
  flex: 1;
1508
1508
  align-items: center;
@@ -1512,7 +1512,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1512
1512
  gap: 8px;
1513
1513
  `,O2=d__default.default(C.Body)`
1514
1514
  color: rgba(135, 135, 135);
1515
- `;var{Dragger:I6}=antd.Upload,T6=({label:e="",name:t,disabled:o=!1,description:r="",isLabelBold:n=!0,formOptions:i={},onChange:a=()=>null,defaultValue:s=void 0,containerStyle:c={},errorMessage:l=void 0})=>{reactHookForm.useFormContext().register(t,i);let{formState:{errors:f}}=reactHookForm.useFormContext(),g=!!f?.[t],h=()=>{console.log("Dropped files");};return jsxRuntime.jsxs("div",{style:c,children:[e&&jsxRuntime.jsx(P,{label:e,isLabelBold:n,required:!!i.required}),r,jsxRuntime.jsxs(I6,{name:"file",multiple:!0,action:"https://run.mocky.io/v3/435e224c-44fb-4773-9faf-380c5e6a2188",onChange:a,onDrop:h,capture:void 0,disabled:o,children:[jsxRuntime.jsx(v.Attachment,{}),jsxRuntime.jsxs(J3,{children:[jsxRuntime.jsx(O2,{children:jsxRuntime.jsx("span",{style:{fontWeight:"bold"},children:"DRAG FILE HERE"})}),jsxRuntime.jsx(O2,{size:"sm",children:"or, click to browse(10 MB max)"})]})]}),s?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Current Value: ",s]}):null,g&&jsxRuntime.jsx(L,{text:l,includeIcon:!1})]})},q3=T6;var X6={Container:qe,Checkbox:Y1,CheckboxGroup:Je,DateSelect:F1,TextInput:w1,TimeSelect:A3,Radio:e2,RadioGroup:f3,CardRadioGroup:g3,Select:S3,SelectMenu:B3,Signature:t3,Submit:z3,LocationSelect:I3,Keyword:U3,Toggle:Z2,FileUpload:q3};var q6=d__default.default(web.animated.div)`
1515
+ `;var{Dragger:O6}=antd.Upload,I6=({label:e="",name:t,disabled:o=!1,description:r="",isLabelBold:n=!0,formOptions:i={},onChange:a=()=>null,defaultValue:s=void 0,containerStyle:c={},errorMessage:l=void 0})=>{reactHookForm.useFormContext().register(t,i);let{formState:{errors:f}}=reactHookForm.useFormContext(),g=!!f?.[t],h=()=>{console.log("Dropped files");};return jsxRuntime.jsxs("div",{style:c,children:[e&&jsxRuntime.jsx(P,{label:e,isLabelBold:n,required:!!i.required}),r,jsxRuntime.jsxs(O6,{name:"file",multiple:!0,action:"https://run.mocky.io/v3/435e224c-44fb-4773-9faf-380c5e6a2188",onChange:a,onDrop:h,capture:void 0,disabled:o,children:[jsxRuntime.jsx(v.Attachment,{}),jsxRuntime.jsxs(J3,{children:[jsxRuntime.jsx(O2,{children:jsxRuntime.jsx("span",{style:{fontWeight:"bold"},children:"DRAG FILE HERE"})}),jsxRuntime.jsx(O2,{size:"sm",children:"or, click to browse(10 MB max)"})]})]}),s?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Current Value: ",s]}):null,g&&jsxRuntime.jsx(L,{text:l,includeIcon:!1})]})},q3=I6;var U6={Container:qe,Checkbox:Y1,CheckboxGroup:Je,DateSelect:F1,TextInput:w1,TimeSelect:A3,Radio:e2,RadioGroup:f3,CardRadioGroup:g3,Select:S3,SelectMenu:B3,Signature:t3,Submit:z3,LocationSelect:I3,Keyword:U3,Toggle:Z2,FileUpload:q3};var K6=d__default.default(web.animated.div)`
1516
1516
  max-height: ${({size:e})=>(e||58)+24}px;
1517
1517
  padding: 12px;
1518
1518
  display: flex;
@@ -1526,25 +1526,25 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1526
1526
  &:hover {
1527
1527
  border-radius: 40px;
1528
1528
  }
1529
- `,Y6=d__default.default(web.animated.div)`
1529
+ `,q6=d__default.default(web.animated.div)`
1530
1530
  display: flex;
1531
1531
  flex-direction: column;
1532
1532
  flex-wrap: wrap;
1533
1533
  min-width: 180px;
1534
1534
  max-width: 180px;
1535
1535
  margin-left: 12px;
1536
- `,Q6=d__default.default.span`
1536
+ `,Y6=d__default.default.span`
1537
1537
  font-weight: 700;
1538
1538
  letter-spacing: 0.157px;
1539
1539
  color: #1d4339;
1540
- `,j6=d__default.default.p`
1540
+ `,Q6=d__default.default.p`
1541
1541
  font-size: 10px;
1542
1542
  letter-spacing: 0.157px;
1543
1543
  text-align: left;
1544
1544
  margin: 0;
1545
1545
  line-height: 12px;
1546
1546
  color: #1d4339;
1547
- `,e9=({contentfulConfig:e,size:t=58})=>{let[o,r]=Be.useState(""),[n,i]=web.useSpring(()=>({from:{width:t+24,backgroundColor:"#fff",color:"#ffffff"}}));Be.useEffect(()=>{new y1(e).getImage("vanta-logo").then(g=>{r(g);});},[]);let[a,s]=web.useSpring(()=>({from:{opacity:0},delay:100})),c=g=>({width:g?198+t:t+24,backgroundColor:g?"#d4e2dd":"#fff"}),l=g=>({opacity:g?1:0}),m=()=>{i(c(!0)),s(l(!0));},f=()=>{i(c(!1)),s(l(!1));};return o?jsxRuntime.jsxs(q6,{style:n,onMouseEnter:m,onMouseLeave:f,size:t,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:o,height:t,width:t}),jsxRuntime.jsxs(Y6,{style:a,children:[jsxRuntime.jsx(C.Body,{children:jsxRuntime.jsx(Q6,{children:"Guaranteed Security"})}),jsxRuntime.jsx(C.Body,{size:"xs",children:jsxRuntime.jsx(j6,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},t9=e9;function I2({isActive:e,color:t="#000"}){let o=web.useSpring(e?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:{...o,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(v.Caret,{direction:"up",color:t})})}var i9=d__default.default(antd.Menu)`
1547
+ `,j6=({contentfulConfig:e,size:t=58})=>{let[o,r]=Be.useState(""),[n,i]=web.useSpring(()=>({from:{width:t+24,backgroundColor:"#fff",color:"#ffffff"}}));Be.useEffect(()=>{new y1(e).getImage("vanta-logo").then(g=>{r(g);});},[]);let[a,s]=web.useSpring(()=>({from:{opacity:0},delay:100})),c=g=>({width:g?198+t:t+24,backgroundColor:g?"#d4e2dd":"#fff"}),l=g=>({opacity:g?1:0}),m=()=>{i(c(!0)),s(l(!0));},f=()=>{i(c(!1)),s(l(!1));};return o?jsxRuntime.jsxs(K6,{style:n,onMouseEnter:m,onMouseLeave:f,size:t,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:o,height:t,width:t}),jsxRuntime.jsxs(q6,{style:a,children:[jsxRuntime.jsx(C.Body,{children:jsxRuntime.jsx(Y6,{children:"Guaranteed Security"})}),jsxRuntime.jsx(C.Body,{size:"xs",children:jsxRuntime.jsx(Q6,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},e9=j6;function I2({isActive:e,color:t="#000"}){let o=web.useSpring(e?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:{...o,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(v.Caret,{direction:"up",color:t})})}var n9=d__default.default(antd.Menu)`
1548
1548
  .ant-menu-submenu {
1549
1549
  background-color: #fff;
1550
1550
  color: #555555 !important;
@@ -1587,7 +1587,7 @@ var u1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1587
1587
  background-color: #fff !important;
1588
1588
  color: #000 !important;
1589
1589
  }
1590
- `,a9=({children:e,...t})=>jsxRuntime.jsx(i9,{...t,expandIcon:o=>!o?.hideExpandIcon&&jsxRuntime.jsx(I2,{isActive:o.isOpen,color:"#555555"}),children:e}),s9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.Item,{...t,children:e}),l9=e=>jsxRuntime.jsx(antd.Menu.Divider,{...e}),p9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.SubMenu,{...t,children:e}),d9={Container:a9,MenuDivider:l9,MenuItem:s9,SubMenuContainer:p9};
1590
+ `,i9=({children:e,...t})=>jsxRuntime.jsx(n9,{...t,expandIcon:o=>!o?.hideExpandIcon&&jsxRuntime.jsx(I2,{isActive:o.isOpen,color:"#555555"}),children:e}),a9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.Item,{...t,children:e}),s9=e=>jsxRuntime.jsx(antd.Menu.Divider,{...e}),l9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.SubMenu,{...t,children:e}),p9={Container:i9,MenuDivider:s9,MenuItem:a9,SubMenuContainer:l9};
1591
1591
 
1592
1592
  Object.defineProperty(exports, 'styled', {
1593
1593
  enumerable: true,
@@ -1622,13 +1622,13 @@ exports.DateSelect = p2;
1622
1622
  exports.Drawer = Qt;
1623
1623
  exports.Dropdown = m8;
1624
1624
  exports.ErrorTypography = L;
1625
- exports.Form = X6;
1625
+ exports.Form = U6;
1626
1626
  exports.Icons = v;
1627
1627
  exports.LoadingSpinner = H2;
1628
1628
  exports.LottieAnimation = K0;
1629
1629
  exports.Menu = _1;
1630
1630
  exports.Modal = t4;
1631
- exports.NavigationMenu = d9;
1631
+ exports.NavigationMenu = p9;
1632
1632
  exports.NumberedProgressSteps = p8;
1633
1633
  exports.Pill = O0;
1634
1634
  exports.Progress = n4;
@@ -1641,6 +1641,6 @@ exports.TimeSelect = E2;
1641
1641
  exports.Toggle = Z2;
1642
1642
  exports.Tooltip = q4;
1643
1643
  exports.Typography = C;
1644
- exports.VantaLogo = t9;
1644
+ exports.VantaLogo = e9;
1645
1645
  //# sourceMappingURL=out.js.map
1646
1646
  //# sourceMappingURL=index.cjs.map