@solace-health/ui 0.9.21 → 0.9.22

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 I5 = 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 U8 = require('use-places-autocomplete');
16
+ var W8 = 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 e3__default = /*#__PURE__*/_interopDefault(e3);
41
41
  var b1__default = /*#__PURE__*/_interopDefault(b1);
42
42
  var Ht__default = /*#__PURE__*/_interopDefault(Ht);
43
43
  var I5__namespace = /*#__PURE__*/_interopNamespace(I5);
44
- var U8__default = /*#__PURE__*/_interopDefault(U8);
44
+ var W8__default = /*#__PURE__*/_interopDefault(W8);
45
45
 
46
46
  var l1={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}}},T3={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)"}},I3=({children:e,theme:t={}})=>jsxRuntime.jsx(antd.ConfigProvider,{theme:{...T3,...t},children:e});var G3=({children:e,theme:t={}})=>jsxRuntime.jsx(I3,{theme:t,children:e});var g2=(s=>(s.XL="xl",s.LG="lg",s.MD="md",s.SM="sm",s.XS="xs",s))(g2||{});var $3=n__default.default.p`
47
47
  transition: font-size 0.25s;
@@ -191,7 +191,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
191
191
  color: #fff;
192
192
  }
193
193
  }
194
- `,f0=n__default.default(x1)`
194
+ `,c0=n__default.default(x1)`
195
195
  background-color: #eeeeee;
196
196
  border: 1px solid #eeeeee;
197
197
  color: #101010;
@@ -200,7 +200,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
200
200
  border-color: #b2b2b2 !important;
201
201
  background-color: #e9f0ee;
202
202
  }
203
- `,c0=n__default.default(x1)`
203
+ `,f0=n__default.default(x1)`
204
204
  background-color: #fff;
205
205
  border: 1px solid ${e=>e.theme.colors.secondaryGreen};
206
206
  color: ${e=>e.theme.colors.secondaryGreen};
@@ -224,7 +224,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
224
224
  height: 1px;
225
225
  background: #101010;
226
226
  }
227
- `,u0=({children:e,isSubmitting:t=!1,toolTip:o={title:"",color:"black"},...r})=>jsxRuntime.jsx(K,{content:o?.title,children:jsxRuntime.jsx(m0,{block:!0,type:"primary",loading:t,...r,children:e})}),h0=({children:e,isSubmitting:t=!1,toolTip:o={title:"",color:"black"},...r})=>jsxRuntime.jsx(K,{content:o?.title,children:jsxRuntime.jsx(f0,{block:!0,loading:t,...r,children:e})}),x0=({children:e,isSubmitting:t=!1,toolTip:o={title:"",color:"black"},...r})=>jsxRuntime.jsx(K,{content:o?.title,children:jsxRuntime.jsx(c0,{block:!0,loading:t,...r,children:e})}),y0=({children:e,isSubmitting:t=!1,toolTip:o={title:"",color:"black"},...r})=>jsxRuntime.jsx(K,{content:o?.title,children:jsxRuntime.jsx(x1,{block:!0,type:"text",loading:t,...r,children:e})}),b0=({children:e,toolTip:t={title:"",color:"black"},...o})=>jsxRuntime.jsx(K,{content:t?.title,children:jsxRuntime.jsx(g0,{type:"link",...o,children:e})}),T1={Primary:u0,Outline:x0,Unstyled:y0,Secondary:h0,Link:b0};var k0=n__default.default(antd.Collapse)`
227
+ `,u0=({children:e,isSubmitting:t=!1,toolTip:o={title:"",color:"black"},...r})=>jsxRuntime.jsx(K,{content:o?.title,children:jsxRuntime.jsx(m0,{block:!0,type:"primary",loading:t,...r,children:e})}),h0=({children:e,isSubmitting:t=!1,toolTip:o={title:"",color:"black"},...r})=>jsxRuntime.jsx(K,{content:o?.title,children:jsxRuntime.jsx(c0,{block:!0,loading:t,...r,children:e})}),x0=({children:e,isSubmitting:t=!1,toolTip:o={title:"",color:"black"},...r})=>jsxRuntime.jsx(K,{content:o?.title,children:jsxRuntime.jsx(f0,{block:!0,loading:t,...r,children:e})}),y0=({children:e,isSubmitting:t=!1,toolTip:o={title:"",color:"black"},...r})=>jsxRuntime.jsx(K,{content:o?.title,children:jsxRuntime.jsx(x1,{block:!0,type:"text",loading:t,...r,children:e})}),b0=({children:e,toolTip:t={title:"",color:"black"},...o})=>jsxRuntime.jsx(K,{content:t?.title,children:jsxRuntime.jsx(g0,{type:"link",...o,children:e})}),T1={Primary:u0,Outline:x0,Unstyled:y0,Secondary:h0,Link:b0};var k0=n__default.default(antd.Collapse)`
228
228
  .ant-collapse-header {
229
229
  align-items: center !important;
230
230
  padding: 20px 16px !important;
@@ -275,15 +275,15 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
275
275
  left: 2px;
276
276
  right: 0;
277
277
  z-index: -1;
278
- `,f5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxRuntime.jsxs(pe,{children:[jsxRuntime.jsx("svg",{width:"31",height:"36",viewBox:"0 0 31 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsxs("g",{id:"Group 1507",children:[jsxRuntime.jsx("path",{id:"Rectangle 286",d:"M0 4C0 2.89543 0.895431 2 2 2H6.75C7.7165 2 8.5 2.7835 8.5 3.75C8.5 4.7165 9.2835 5.5 10.25 5.5H20.75C21.1642 5.5 21.5 5.16421 21.5 4.75C21.5 4.33579 21.8358 4 22.25 4H25.5C26.6046 4 27.5 4.89543 27.5 6V23C27.5 24.1046 26.6046 25 25.5 25H22.5C21.3954 25 20.5 25.8954 20.5 27V30.4506C20.5 31.5743 19.5746 32.4774 18.4512 32.45L1.95123 32.0476C0.865985 32.0211 0 31.1338 0 30.0482V4Z",fill:"url(#paint0_linear_20862_2629)"}),jsxRuntime.jsx("path",{id:"Vector",d:"M24.7 32.32L28.18 28.84V5.64H24.7M7.3 5.64H3.82V30.58C3.82 31.5411 4.59894 32.32 5.56 32.32H22.38V28.84C22.38 28.26 22.8997 27.68 23.54 27.68H25.86M24.7 3.32H28.18C29.34 3.32 30.5 4.48 30.5 5.64V32.32C30.5 33.48 29.34 34.64 28.18 34.64H3.82C2.66 34.64 1.5 33.48 1.5 32.32V5.64C1.5 4.48 2.66 3.32 3.82 3.32H7.3M13.7963 25.8889H18.0926M13.7963 22.6667H20.2407M13.7963 19.4444H23.463M13.7963 16.2222H21.3148M13.7963 13H22.3889M9.5 25.8889H10.5741M9.5 22.6667H10.5741M9.5 19.4444H10.5741M9.5 16.2222H10.5741M9.5 13H10.5741M18.8414 3.32C18.5729 1.99644 17.403 1 16 1C14.597 1 13.4271 1.99644 13.1586 3.32H9.62V6.8H22.38V3.32H18.8414ZM16 3.32C15.6793 3.32 15.42 3.57984 15.42 3.9C15.42 4.22016 15.6793 4.48 16 4.48C16.3207 4.48 16.58 4.22016 16.58 3.9C16.58 3.57984 16.3207 3.32 16 3.32Z",stroke:"#555555","stroke-linecap":"round","stroke-linejoin":"round"})]})}),jsxRuntime.jsx(de,{style:o,children:jsxRuntime.jsxs("svg",{width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M1.49997 28C0.499943 25 -1.00001 4.00004 1.49997 2.00004C3.99995 4.3869e-05 13.9999 0.0454984 17.4999 1.00004C20.9999 1.95459 23.9999 5.00004 24.9999 7.00004C26 9.00004 25.5 16 25.5 18C25.5 20 18.4999 27 16.5 28C14.5 29 2.5 31 1.49997 28Z",fill:"url(#paint0_linear_13770_33952)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_13770_33952",x1:"1.49994",y1:"2.50004",x2:"20.9999",y2:"24.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#DEB260"})]})})]})})]})};var fe=n__default.default.div`
278
+ `,c5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxRuntime.jsxs(pe,{children:[jsxRuntime.jsx("svg",{width:"31",height:"36",viewBox:"0 0 31 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsxs("g",{id:"Group 1507",children:[jsxRuntime.jsx("path",{id:"Rectangle 286",d:"M0 4C0 2.89543 0.895431 2 2 2H6.75C7.7165 2 8.5 2.7835 8.5 3.75C8.5 4.7165 9.2835 5.5 10.25 5.5H20.75C21.1642 5.5 21.5 5.16421 21.5 4.75C21.5 4.33579 21.8358 4 22.25 4H25.5C26.6046 4 27.5 4.89543 27.5 6V23C27.5 24.1046 26.6046 25 25.5 25H22.5C21.3954 25 20.5 25.8954 20.5 27V30.4506C20.5 31.5743 19.5746 32.4774 18.4512 32.45L1.95123 32.0476C0.865985 32.0211 0 31.1338 0 30.0482V4Z",fill:"url(#paint0_linear_20862_2629)"}),jsxRuntime.jsx("path",{id:"Vector",d:"M24.7 32.32L28.18 28.84V5.64H24.7M7.3 5.64H3.82V30.58C3.82 31.5411 4.59894 32.32 5.56 32.32H22.38V28.84C22.38 28.26 22.8997 27.68 23.54 27.68H25.86M24.7 3.32H28.18C29.34 3.32 30.5 4.48 30.5 5.64V32.32C30.5 33.48 29.34 34.64 28.18 34.64H3.82C2.66 34.64 1.5 33.48 1.5 32.32V5.64C1.5 4.48 2.66 3.32 3.82 3.32H7.3M13.7963 25.8889H18.0926M13.7963 22.6667H20.2407M13.7963 19.4444H23.463M13.7963 16.2222H21.3148M13.7963 13H22.3889M9.5 25.8889H10.5741M9.5 22.6667H10.5741M9.5 19.4444H10.5741M9.5 16.2222H10.5741M9.5 13H10.5741M18.8414 3.32C18.5729 1.99644 17.403 1 16 1C14.597 1 13.4271 1.99644 13.1586 3.32H9.62V6.8H22.38V3.32H18.8414ZM16 3.32C15.6793 3.32 15.42 3.57984 15.42 3.9C15.42 4.22016 15.6793 4.48 16 4.48C16.3207 4.48 16.58 4.22016 16.58 3.9C16.58 3.57984 16.3207 3.32 16 3.32Z",stroke:"#555555","stroke-linecap":"round","stroke-linejoin":"round"})]})}),jsxRuntime.jsx(de,{style:o,children:jsxRuntime.jsxs("svg",{width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M1.49997 28C0.499943 25 -1.00001 4.00004 1.49997 2.00004C3.99995 4.3869e-05 13.9999 0.0454984 17.4999 1.00004C20.9999 1.95459 23.9999 5.00004 24.9999 7.00004C26 9.00004 25.5 16 25.5 18C25.5 20 18.4999 27 16.5 28C14.5 29 2.5 31 1.49997 28Z",fill:"url(#paint0_linear_13770_33952)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_13770_33952",x1:"1.49994",y1:"2.50004",x2:"20.9999",y2:"24.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#DEB260"})]})})]})})]})};var ce=n__default.default.div`
279
279
  position: relative;
280
- `,ce=n__default.default(web.animated.div)`
280
+ `,fe=n__default.default(web.animated.div)`
281
281
  position: absolute;
282
282
  top: 0px;
283
283
  left: -1px;
284
284
  right: 0;
285
285
  z-index: -1;
286
- `,g5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(7px, 0px)"});return jsxRuntime.jsxs(fe,{children:[jsxRuntime.jsx("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{fill:"none",d:"M5.5 26.5H26.5V6.5H3.5V26.5C3.5 26.5 6.5 21.5 10 21.5C13.5 21.5 15.5 23.5 15.5 23.5C15.5 23.5 17.5 20 24.5 20M17 2L19.5 4.5L17 2ZM13 2L10.5 4.5L13 2ZM15.5 1C15.5 0.724 15.2765 0.5 15 0.5C14.7235 0.5 14.5 0.724 14.5 1C14.5 1.276 14.7235 1.5 15 1.5C15.2765 1.5 15.5 1.276 15.5 1ZM20.5 18V20.452V18ZM22.5 16C22.5 14 22 10 20.5 10C19 10 18.5 14 18.5 16C18.5 17.1045 19.3955 18 20.5 18C21.6045 18 22.5 17.1045 22.5 16ZM28.5 25.011V7.989C29.1035 7.532 29.5 6.815 29.5 6C29.5 4.6195 28.381 3.5 27 3.5C26.1845 3.5 25.468 3.896 25.011 4.5H4.989C4.532 3.896 3.8155 3.5 3 3.5C1.619 3.5 0.5 4.6195 0.5 6C0.5 6.815 0.8965 7.532 1.5 7.989V25.011C0.8965 25.468 0.5 26.185 0.5 27C0.5 28.3805 1.619 29.5 3 29.5C3.8155 29.5 4.532 29.104 4.989 28.5H25.011C25.468 29.104 26.1845 29.5 27 29.5C28.381 29.5 29.5 28.3805 29.5 27C29.5 26.185 29.1035 25.468 28.5 25.011ZM8.086 11.085L6.6705 9.6715L8.086 11.085ZM9.5 10.5L9.4995 8.4995L9.5 10.5ZM10.914 11.086L12.328 9.671L10.914 11.086ZM11.499 12.5H13.5H11.499ZM12.328 15.3285L10.913 13.914L12.328 15.3285ZM9.4995 14.4995V16.5V14.4995ZM8.0855 13.914L6.671 15.3285L8.0855 13.914ZM7.4995 12.5H5.4995H7.4995ZM11.4995 12.5C11.4995 13.6045 10.605 14.5 9.4995 14.5C8.394 14.5 7.4995 13.6045 7.4995 12.5C7.4995 11.3955 8.394 10.5 9.4995 10.5C10.605 10.5 11.4995 11.3955 11.4995 12.5Z",stroke:"#555555",strokeLinejoin:"round"})}),jsxRuntime.jsx(ce,{style:o,children:jsxRuntime.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("rect",{x:"5",y:"8",width:"23",height:"19",fill:"url(#paint0_linear_11308_26863)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11308_26863",x1:"16.5",y1:"8",x2:"16.5",y2:"27",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#D7A13B"})]})})]})})]})};var he=n__default.default.div`
286
+ `,g5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(7px, 0px)"});return jsxRuntime.jsxs(ce,{children:[jsxRuntime.jsx("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{fill:"none",d:"M5.5 26.5H26.5V6.5H3.5V26.5C3.5 26.5 6.5 21.5 10 21.5C13.5 21.5 15.5 23.5 15.5 23.5C15.5 23.5 17.5 20 24.5 20M17 2L19.5 4.5L17 2ZM13 2L10.5 4.5L13 2ZM15.5 1C15.5 0.724 15.2765 0.5 15 0.5C14.7235 0.5 14.5 0.724 14.5 1C14.5 1.276 14.7235 1.5 15 1.5C15.2765 1.5 15.5 1.276 15.5 1ZM20.5 18V20.452V18ZM22.5 16C22.5 14 22 10 20.5 10C19 10 18.5 14 18.5 16C18.5 17.1045 19.3955 18 20.5 18C21.6045 18 22.5 17.1045 22.5 16ZM28.5 25.011V7.989C29.1035 7.532 29.5 6.815 29.5 6C29.5 4.6195 28.381 3.5 27 3.5C26.1845 3.5 25.468 3.896 25.011 4.5H4.989C4.532 3.896 3.8155 3.5 3 3.5C1.619 3.5 0.5 4.6195 0.5 6C0.5 6.815 0.8965 7.532 1.5 7.989V25.011C0.8965 25.468 0.5 26.185 0.5 27C0.5 28.3805 1.619 29.5 3 29.5C3.8155 29.5 4.532 29.104 4.989 28.5H25.011C25.468 29.104 26.1845 29.5 27 29.5C28.381 29.5 29.5 28.3805 29.5 27C29.5 26.185 29.1035 25.468 28.5 25.011ZM8.086 11.085L6.6705 9.6715L8.086 11.085ZM9.5 10.5L9.4995 8.4995L9.5 10.5ZM10.914 11.086L12.328 9.671L10.914 11.086ZM11.499 12.5H13.5H11.499ZM12.328 15.3285L10.913 13.914L12.328 15.3285ZM9.4995 14.4995V16.5V14.4995ZM8.0855 13.914L6.671 15.3285L8.0855 13.914ZM7.4995 12.5H5.4995H7.4995ZM11.4995 12.5C11.4995 13.6045 10.605 14.5 9.4995 14.5C8.394 14.5 7.4995 13.6045 7.4995 12.5C7.4995 11.3955 8.394 10.5 9.4995 10.5C10.605 10.5 11.4995 11.3955 11.4995 12.5Z",stroke:"#555555",strokeLinejoin:"round"})}),jsxRuntime.jsx(fe,{style:o,children:jsxRuntime.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("rect",{x:"5",y:"8",width:"23",height:"19",fill:"url(#paint0_linear_11308_26863)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_11308_26863",x1:"16.5",y1:"8",x2:"16.5",y2:"27",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#D7A13B"})]})})]})})]})};var he=n__default.default.div`
287
287
  position: relative;
288
288
  `,xe=n__default.default(web.animated.div)`
289
289
  position: absolute;
@@ -381,7 +381,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
381
381
  left: 2px;
382
382
  right: 0;
383
383
  z-index: -1;
384
- `,O5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxRuntime.jsxs(at,{children:[jsxRuntime.jsx("svg",{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("g",{id:"financial-report",children:jsxRuntime.jsx("path",{id:"Vector",d:"M13.5 26.1406H14M13.5 23.1406H14M13.5 20.1406H14M16 26.1406H20M16 23.1406H20.5M21.5 12.1406H24.5M13.5 12.1406H19.5M16 20.1406H19.5M13.5 15.1406H26.5M25 26.1406V26.6406M25 19.6406V20.1406M26.5 21.6406C26.5 20.8121 25.828 20.1406 25 20.1406C24.172 20.1406 23.5 20.8121 23.5 21.6406C23.5 22.4691 24.172 23.1406 25 23.1406C25.828 23.1406 26.5 23.8121 26.5 24.6406C26.5 25.4691 25.828 26.1406 25 26.1406C24.172 26.1406 23.5 25.4691 23.5 24.6406M6.5 27.1406H9.5M11 6.14062H28.5C29.6045 6.14062 30.5 7.03612 30.5 8.14062V31.1406H9.5V8.14062C9.5 7.03612 8.6045 6.14062 7.5 6.14062C6.3955 6.14062 5.5 7.03612 5.5 8.14062V25.1406C5.5 26.2451 4.6045 27.1406 3.5 27.1406C2.3955 27.1406 1.5 26.2451 1.5 25.1406V2.14062H22.5V4.14062",stroke:t,"stroke-linecap":"round","stroke-linejoin":"round"})})}),jsxRuntime.jsx(lt,{style:o,children:jsxRuntime.jsxs("svg",{width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M1.49997 28C0.499943 25 -1.00001 4.00004 1.49997 2.00004C3.99995 4.3869e-05 13.9999 0.0454984 17.4999 1.00004C20.9999 1.95459 23.9999 5.00004 24.9999 7.00004C26 9.00004 25.5 16 25.5 18C25.5 20 18.4999 27 16.5 28C14.5 29 2.5 31 1.49997 28Z",fill:"url(#paint0_linear_13770_33952)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_13770_33952",x1:"1.49994",y1:"2.50004",x2:"20.9999",y2:"24.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#DEB260"})]})})]})})]})};var v={AddCircle:M2,Books:a5,Tools:_5,Files:P5,Records:E5,Bank:D5,Copy:L2,Caret:k2,Calendar:S2,CalendarClock:p5,Invoice:O5,Celebrate:C5,Checkbox:Z2,ErrorExclamation:R2,Form:f5,FramedPainting:g5,House:Z5,NoteDocument:i5,CircleExclamation:z2,Check:B2,Close:M1,DefaultFile:E2,Heart:A2,HeartPulse:T2,IdBadge:G2,Key:h5,LightBulb:N2,LocationPin:W2,Message:y5,MoneyLayered:w5,Permissions:K2,Phone:Y2,RatingStar:Q2,ReceptionBell:M5,Rose:H5,Sparkles:j2,Sun:t5,Signature:L1,TaskList:S5,Trash:r5};var dt=n__default.default.span`
384
+ `,O5=({active:e=!1,color:t="#555555"})=>{let o=web.useSpring(e?{opacity:1,transform:"translate(0px, 0px)"}:{opacity:0,transform:"translate(-2px, -4px)"});return jsxRuntime.jsxs(at,{children:[jsxRuntime.jsx("svg",{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("g",{id:"financial-report",children:jsxRuntime.jsx("path",{id:"Vector",d:"M13.5 26.1406H14M13.5 23.1406H14M13.5 20.1406H14M16 26.1406H20M16 23.1406H20.5M21.5 12.1406H24.5M13.5 12.1406H19.5M16 20.1406H19.5M13.5 15.1406H26.5M25 26.1406V26.6406M25 19.6406V20.1406M26.5 21.6406C26.5 20.8121 25.828 20.1406 25 20.1406C24.172 20.1406 23.5 20.8121 23.5 21.6406C23.5 22.4691 24.172 23.1406 25 23.1406C25.828 23.1406 26.5 23.8121 26.5 24.6406C26.5 25.4691 25.828 26.1406 25 26.1406C24.172 26.1406 23.5 25.4691 23.5 24.6406M6.5 27.1406H9.5M11 6.14062H28.5C29.6045 6.14062 30.5 7.03612 30.5 8.14062V31.1406H9.5V8.14062C9.5 7.03612 8.6045 6.14062 7.5 6.14062C6.3955 6.14062 5.5 7.03612 5.5 8.14062V25.1406C5.5 26.2451 4.6045 27.1406 3.5 27.1406C2.3955 27.1406 1.5 26.2451 1.5 25.1406V2.14062H22.5V4.14062",stroke:t,"stroke-linecap":"round","stroke-linejoin":"round"})})}),jsxRuntime.jsx(lt,{style:o,children:jsxRuntime.jsxs("svg",{width:"26",height:"30",viewBox:"0 0 26 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsxRuntime.jsx("path",{d:"M1.49997 28C0.499943 25 -1.00001 4.00004 1.49997 2.00004C3.99995 4.3869e-05 13.9999 0.0454984 17.4999 1.00004C20.9999 1.95459 23.9999 5.00004 24.9999 7.00004C26 9.00004 25.5 16 25.5 18C25.5 20 18.4999 27 16.5 28C14.5 29 2.5 31 1.49997 28Z",fill:"url(#paint0_linear_13770_33952)"}),jsxRuntime.jsx("defs",{children:jsxRuntime.jsxs("linearGradient",{id:"paint0_linear_13770_33952",x1:"1.49994",y1:"2.50004",x2:"20.9999",y2:"24.5",gradientUnits:"userSpaceOnUse",children:[jsxRuntime.jsx("stop",{stopColor:"#AFC8BF"}),jsxRuntime.jsx("stop",{offset:"1",stopColor:"#DEB260"})]})})]})})]})};var v={AddCircle:M2,Books:a5,Tools:_5,Files:P5,Records:E5,Bank:D5,Copy:L2,Caret:k2,Calendar:S2,CalendarClock:p5,Invoice:O5,Celebrate:C5,Checkbox:Z2,ErrorExclamation:R2,Form:c5,FramedPainting:g5,House:Z5,NoteDocument:i5,CircleExclamation:z2,Check:B2,Close:M1,DefaultFile:E2,Heart:A2,HeartPulse:T2,IdBadge:G2,Key:h5,LightBulb:N2,LocationPin:W2,Message:y5,MoneyLayered:w5,Permissions:K2,Phone:Y2,RatingStar:Q2,ReceptionBell:M5,Rose:H5,Sparkles:j2,Sun:t5,Signature:L1,TaskList:S5,Trash:r5};var dt=n__default.default.span`
385
385
  display: flex;
386
386
  align-items: center;
387
387
  gap: 8px;
@@ -733,7 +733,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
733
733
  .szh-menu--state-closing.szh-menu--dir-bottom {
734
734
  animation: szh-menu-hide-slide-bottom 0.15s ease-in forwards;
735
735
  }
736
- `;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 a4=({children:e,cta:t,onItemClick:o=()=>null,onMenuChange:r=()=>null,className:i="",menuProps:s={menuButton:null},caretColor:a="#000",borderColor:l="#555555"})=>{let C={overflow:"auto",position:"archor",viewScroll:"auto",boundingBoxPadding:"20 0 50 0",gap:10,transition:!0,transitionTimeout:50},m=e3.useRef(null),[f,c]=reactMenu.useMenuState({transition:!0}),u=reactMenu.useClick(f.state,c),h=f.state==="open"||f.state==="opening";return e3.useEffect(()=>{r(f.state);},[f.state]),jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(K5,{className:`${i} ${h?"menu-open":"menu-closed"}`,ref:m,borderColor:l,...u,children:[jsxRuntime.jsx(X5,{children:t}),jsxRuntime.jsx(i2,{isActive:h,color:a}),jsxRuntime.jsx(reactMenu.ControlledMenu,{...f,anchorRef:m,onClose:()=>c(!1),onItemClick:o,onMenuChange:r,...C,...s,children:e})]})})},l4=({label:e,className:t=""})=>jsxRuntime.jsx(reactMenu.MenuButton,{className:t,children:e}),p4=({label:e,value:t,selected:o=!1,onClick:r=()=>null,disabled:i=!1,linkTo:s="",className:a=""})=>jsxRuntime.jsx(reactMenu.MenuItem,{className:`${a} ${o?"active":"inactive"}`,value:t,onClick:r,href:s,disabled:i,children:e}),d4=({value:e,onChange:t=()=>null,className:o=""})=>jsxRuntime.jsx(reactMenu.FocusableItem,{children:({ref:r})=>jsxRuntime.jsx("input",{className:o,ref:r,type:"text",placeholder:"Type to filter",value:e,onChange:t})}),C4=({children:e,className:t=""})=>jsxRuntime.jsx(reactMenu.MenuHeader,{className:t,children:e}),m4=({className:e=""})=>jsxRuntime.jsx(reactMenu.MenuDivider,{className:e}),c1={Button:l4,Container:a4,Search:d4,Divider:m4,Header:C4,Item:p4};n__default.default.div`
736
+ `;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 a4=({children:e,cta:t,onItemClick:o=()=>null,onMenuChange:r=()=>null,className:i="",menuProps:s={menuButton:null},caretColor:a="#000",borderColor:l="#555555"})=>{let C={overflow:"auto",position:"archor",viewScroll:"auto",boundingBoxPadding:"20 0 50 0",gap:10,transition:!0,transitionTimeout:50},m=e3.useRef(null),[f,c]=reactMenu.useMenuState({transition:!0}),u=reactMenu.useClick(f.state,c),h=f.state==="open"||f.state==="opening";return e3.useEffect(()=>{r(f.state);},[f.state]),jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(K5,{className:`${i} ${h?"menu-open":"menu-closed"}`,ref:m,borderColor:l,...u,children:[jsxRuntime.jsx(X5,{children:t}),jsxRuntime.jsx(i2,{isActive:h,color:a}),jsxRuntime.jsx(reactMenu.ControlledMenu,{...f,anchorRef:m,onClose:()=>c(!1),onItemClick:o,onMenuChange:r,...C,...s,children:e})]})})},l4=({label:e,className:t=""})=>jsxRuntime.jsx(reactMenu.MenuButton,{className:t,children:e}),p4=({label:e,value:t,selected:o=!1,onClick:r=()=>null,disabled:i=!1,linkTo:s="",className:a=""})=>jsxRuntime.jsx(reactMenu.MenuItem,{className:`${a} ${o?"active":"inactive"}`,value:t,onClick:r,href:s,disabled:i,children:e}),d4=({value:e,onChange:t=()=>null,className:o=""})=>jsxRuntime.jsx(reactMenu.FocusableItem,{children:({ref:r})=>jsxRuntime.jsx("input",{className:o,ref:r,type:"text",placeholder:"Type to filter",value:e,onChange:t})}),C4=({children:e,className:t=""})=>jsxRuntime.jsx(reactMenu.MenuHeader,{className:t,children:e}),m4=({className:e=""})=>jsxRuntime.jsx(reactMenu.MenuDivider,{className:e}),f1={Button:l4,Container:a4,Search:d4,Divider:m4,Header:C4,Item:p4};n__default.default.div`
737
737
  padding: 0 20px;
738
738
  border-radius: 10px;
739
739
  border: 1px solid #7f7f7f;
@@ -744,17 +744,17 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
744
744
  justify-content: space-between;
745
745
  align-items: center;
746
746
  box-sizing: border-box;
747
- `;var q5=n__default.default(c1.Container)`
747
+ `;var q5=n__default.default(f1.Container)`
748
748
  max-width: 140px;
749
- `,Q5=n__default.default(c1.Item)`
749
+ `,Q5=n__default.default(f1.Item)`
750
750
  &.szh-menu__item {
751
751
  min-width: 145px;
752
752
  }
753
- `;n__default.default(c1.Divider)`
753
+ `;n__default.default(f1.Divider)`
754
754
  &.szh-menu__divider {
755
755
  margin: 0;
756
756
  }
757
- `;var y4=({startTime:e="00:00",endTime:t="24:00",interval:o=30,defaultValue:r="",onChange:i=()=>null})=>{let[s,a]=e3.useState(),C=e3.useCallback(()=>{let f=luxon.DateTime.fromFormat(t,"HH:mm"),c=luxon.Duration.fromObject({minutes:o}),u=[],h=luxon.DateTime.fromFormat(e,"hh:mm");for(;h<=f;)u.push({label:h.toFormat("h:mm a"),value:{hour:h.toFormat("HH"),min:h.toFormat("mm"),raw:h.toFormat("HH:mm"),formatted:h.toFormat("h:mm a")}}),h=h.plus(c);return u},[e,t,o,r])();return e3.useEffect(()=>{let f=C.find(c=>c.value.raw===(r||e));a(f);},[r]),jsxRuntime.jsx(q5,{onItemClick:f=>{let c=C.find(u=>u.value.raw===f.value.raw);a(c),i(f);},cta:jsxRuntime.jsx(d.Body,{size:"lg",children:s?.value.formatted||"-"}),children:C.map(f=>jsxRuntime.jsx(Q5,{label:f.label,value:f.value,selected:f.value.raw===s?.value.raw},f.label))})},a2=y4;var M4=({defaultState:e=!1,name:t,label:o={active:"YES",inactive:"NO"},handleEvent:r=null,value:i,disabled:s=!1,loading:a=!1})=>{let l=reactHookForm.useFormContext();e3.useEffect(()=>{l&&e&&l.setValue(t,i);},[]);let C=m=>{s||(l&&l.setValue(t,m?i:null),r&&r(m));};return jsxRuntime.jsx(antd.Switch,{defaultChecked:e,checkedChildren:o.active,unCheckedChildren:o.inactive,loading:a,disabled:s,onChange:C})},l2=M4;var H4=n__default.default.div`
757
+ `;var y4=({startTime:e="00:00",endTime:t="24:00",interval:o=30,defaultValue:r="",onChange:i=()=>null})=>{let[s,a]=e3.useState(),C=e3.useCallback(()=>{let f=luxon.DateTime.fromFormat(t,"HH:mm"),c=luxon.Duration.fromObject({minutes:o}),u=[],h=luxon.DateTime.fromFormat(e,"hh:mm");for(;h<=f;)u.push({label:h.toFormat("h:mm a"),value:{hour:h.toFormat("HH"),min:h.toFormat("mm"),raw:h.toFormat("HH:mm"),formatted:h.toFormat("h:mm a")}}),h=h.plus(c);return u},[e,t,o,r])();return e3.useEffect(()=>{let f=C.find(c=>c.value.raw===(r||e));a(f);},[r]),jsxRuntime.jsx(q5,{onItemClick:f=>{let c=C.find(u=>u.value.raw===f.value.raw);a(c),i(f);},cta:jsxRuntime.jsx(d.Body,{size:"lg",children:s?.value.formatted||"-"}),children:C.map(f=>jsxRuntime.jsx(Q5,{label:f.label,value:f.value,selected:f.value.raw===s?.value.raw},f.label))})},a2=y4;var L4=({defaultState:e=!1,name:t,label:o={active:"YES",inactive:"NO"},handleEvent:r=null,value:i,disabled:s=!1,loading:a=!1})=>{let l=reactHookForm.useFormContext(),[C,m]=e3.useState(e);e3.useEffect(()=>{l&&e&&l.setValue(t,i),m(e);},[e]);let f=c=>{s||(l&&l.setValue(t,c?i:null),r&&r(c),m(c));};return jsxRuntime.jsx(antd.Switch,{defaultChecked:e,checkedChildren:o.active,unCheckedChildren:o.inactive,checked:C,loading:a,disabled:s,onChange:f})},l2=L4;var k4=n__default.default.div`
758
758
  display: flex;
759
759
  flex-direction: column;
760
760
  font-weight: 700;
@@ -765,10 +765,10 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
765
765
  align-items: center;
766
766
  justify-content: center;
767
767
  }
768
- `,k4=n__default.default.div`
768
+ `,S4=n__default.default.div`
769
769
  width: 32px;
770
770
  height: 32px;
771
- `,S4=n__default.default.div`
771
+ `,V4=n__default.default.div`
772
772
  border-radius: 30px;
773
773
  border: 1px solid #347866;
774
774
  width: 32px;
@@ -780,11 +780,11 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
780
780
  color: ${({active:e})=>e?"#fff":"#347866"};
781
781
 
782
782
  transition: all 0.15s ease-in;
783
- `,V4=n__default.default.div`
783
+ `,Z4=n__default.default.div`
784
784
  color: #347866;
785
785
  width: 32px;
786
786
  white-space: nowrap;
787
- `,Z4=n__default.default.div`
787
+ `,z4=n__default.default.div`
788
788
  border: 1px solid #afc8bf;
789
789
 
790
790
  width: 35%;
@@ -792,25 +792,25 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
792
792
  @media (max-width: 768px) {
793
793
  width: 25%;
794
794
  }
795
- `,z4=n__default.default.div`
795
+ `,_4=n__default.default.div`
796
796
  width: 35%;
797
797
 
798
798
  @media (max-width: 768px) {
799
799
  width: 25%;
800
800
  }
801
- `,t3=({currentStep:e,steps:t})=>jsxRuntime.jsxs(H4,{children:[jsxRuntime.jsx("div",{children:t.map((o,r)=>jsxRuntime.jsxs(e3__default.default.Fragment,{children:[jsxRuntime.jsx(k4,{children:jsxRuntime.jsx(S4,{active:e===r,children:r+1})}),r<t.length-1&&jsxRuntime.jsx(Z4,{})]},o))}),jsxRuntime.jsx("div",{children:t.map((o,r)=>jsxRuntime.jsxs(e3__default.default.Fragment,{children:[jsxRuntime.jsx(V4,{children:o}),r<t.length-1&&jsxRuntime.jsx(z4,{})]},o))})]});var _4=n__default.default.div`
801
+ `,t3=({currentStep:e,steps:t})=>jsxRuntime.jsxs(k4,{children:[jsxRuntime.jsx("div",{children:t.map((o,r)=>jsxRuntime.jsxs(e3__default.default.Fragment,{children:[jsxRuntime.jsx(S4,{children:jsxRuntime.jsx(V4,{active:e===r,children:r+1})}),r<t.length-1&&jsxRuntime.jsx(z4,{})]},o))}),jsxRuntime.jsx("div",{children:t.map((o,r)=>jsxRuntime.jsxs(e3__default.default.Fragment,{children:[jsxRuntime.jsx(Z4,{children:o}),r<t.length-1&&jsxRuntime.jsx(_4,{})]},o))})]});var B4=n__default.default.div`
802
802
  margin-left: 16px;
803
803
 
804
804
  & > div:last-of-type {
805
805
  padding-bottom: 0;
806
806
  border: none;
807
807
  }
808
- `,B4=n__default.default.div`
808
+ `,P4=n__default.default.div`
809
809
  display: flex;
810
810
  gap: 16px;
811
811
  padding-bottom: 40px;
812
812
  border-left: 1px solid #afc8bf;
813
- `,P4=n__default.default.div`
813
+ `,F4=n__default.default.div`
814
814
  margin-left: -18px;
815
815
  border-radius: 30px;
816
816
  border: 1px solid #347866;
@@ -826,23 +826,23 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
826
826
  font-size: 16px;
827
827
  font-style: normal;
828
828
  font-weight: 600;
829
- `,F4=n__default.default.div`
829
+ `,E4=n__default.default.div`
830
830
  display: flex;
831
831
  flex-direction: column;
832
832
  gap: 8px;
833
- `,E4=n__default.default.div`
833
+ `,R4=n__default.default.div`
834
834
  color: #285e50;
835
835
  font-family: Lato;
836
836
  font-size: 18px;
837
837
  font-weight: 700;
838
838
  line-height: normal;
839
- `,R4=n__default.default.div`
839
+ `,D4=n__default.default.div`
840
840
  color: #000;
841
841
  font-family: Lato;
842
842
  font-size: 16px;
843
843
  font-weight: 400;
844
844
  line-height: normal;
845
- `,r3=({steps:e})=>{let t=e.map((o,r)=>jsxRuntime.jsxs(B4,{children:[jsxRuntime.jsx("div",{children:jsxRuntime.jsx(P4,{children:r+1})}),jsxRuntime.jsxs(F4,{children:[jsxRuntime.jsx(E4,{children:o.title}),jsxRuntime.jsx(R4,{children:o.description})]})]},o.title));return jsxRuntime.jsx(_4,{children:t})};var D4={Horizontal:t3,Vertical:r3};var G4=n__default.default(web.animated.div)`
845
+ `,r3=({steps:e})=>{let t=e.map((o,r)=>jsxRuntime.jsxs(P4,{children:[jsxRuntime.jsx("div",{children:jsxRuntime.jsx(F4,{children:r+1})}),jsxRuntime.jsxs(E4,{children:[jsxRuntime.jsx(R4,{children:o.title}),jsxRuntime.jsx(D4,{children:o.description})]})]},o.title));return jsxRuntime.jsx(B4,{children:t})};var A4={Horizontal:t3,Vertical:r3};var $4=n__default.default(web.animated.div)`
846
846
  position: absolute;
847
847
  display: block;
848
848
  width: 45px;
@@ -856,13 +856,13 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
856
856
  right: 20px;
857
857
  top: 17px;
858
858
  }
859
- `,$4=n__default.default(d.Body)`
859
+ `,N4=n__default.default(d.Body)`
860
860
  margin-bottom: 5px;
861
861
  font-weight: ${({isLabelBold:e})=>e?"bold":"regular"};
862
862
  text-align: start;
863
- `,N4=n__default.default(d.Body)`
863
+ `,U4=n__default.default(d.Body)`
864
864
  margin-bottom: 5px;
865
- `,U4=n__default.default.input`
865
+ `,W4=n__default.default.input`
866
866
  width: 100%;
867
867
  height: 50px;
868
868
  box-sizing: border-box;
@@ -887,7 +887,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
887
887
  transition: background-color 5000s ease-in-out 0s;
888
888
  background-clip: content-box !important;
889
889
  }
890
- `,W4=reactImask.IMaskMixin(({inputRef:e,...t})=>jsxRuntime.jsx(U4,{ref:e,...t})),X4=n__default.default.textarea`
890
+ `,X4=reactImask.IMaskMixin(({inputRef:e,...t})=>jsxRuntime.jsx(W4,{ref:e,...t})),K4=n__default.default.textarea`
891
891
  width: 100%;
892
892
  resize: none;
893
893
  height: 200px;
@@ -907,14 +907,14 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
907
907
  }
908
908
  `,n3=n__default.default(d.Body)`
909
909
  margin-bottom: 24px;
910
- `,K4=({name:e,label:t=null,details:o=null,type:r="text",options:i={},previewOnly:s=!1,textArea:a=!1,marginBottom:l="24px",isLabelBold:C=!0,format:m=String,errorMessage:f="This field is required",...c})=>{let{register:u,control:h,getValues:b,formState:{errors:w}}=reactHookForm.useFormContext();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[t&&jsxRuntime.jsx($4,{size:"lg",isLabelBold:C,children:t}),o&&jsxRuntime.jsx(N4,{children:o}),a?jsxRuntime.jsx("div",{children:s?jsxRuntime.jsx(n3,{size:"md",children:b(e)||"N/A"}):jsxRuntime.jsx(X4,{...c,...u(e,i),marginBottom:l,error:w?.[e]})}):jsxRuntime.jsx("div",{style:{width:"100%"},children:s?jsxRuntime.jsx(n3,{size:"md",children:b(e)||"N/A"}):jsxRuntime.jsxs("div",{style:{marginBottom:w?.[e]?"6px":l,display:"flex",flexDirection:"column",position:"relative"},children:[jsxRuntime.jsx(reactHookForm.Controller,{render:V=>jsxRuntime.jsx(W4,{...c,unmask:!1,mask:m,name:V.field.name,onBlur:V.field.onBlur,defaultValue:i.value||V.field.value,onAccept:P=>V.field.onChange({target:{value:P}}),marginBottom:l,type:r,error:w?.[e]}),name:e,rules:i,control:h}),jsxRuntime.jsx(G4,{children:w?.[e]&&jsxRuntime.jsx(v.ErrorExclamation,{})}),w?.[e]&&jsxRuntime.jsx(o2,{text:f,includeIcon:!1})]})})]})},s1=K4;var q4=n__default.default.div`
910
+ `,J4=({name:e,label:t=null,details:o=null,type:r="text",options:i={},previewOnly:s=!1,textArea:a=!1,marginBottom:l="24px",isLabelBold:C=!0,format:m=String,errorMessage:f="This field is required",...c})=>{let{register:u,control:h,getValues:b,formState:{errors:w}}=reactHookForm.useFormContext();return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[t&&jsxRuntime.jsx(N4,{size:"lg",isLabelBold:C,children:t}),o&&jsxRuntime.jsx(U4,{children:o}),a?jsxRuntime.jsx("div",{children:s?jsxRuntime.jsx(n3,{size:"md",children:b(e)||"N/A"}):jsxRuntime.jsx(K4,{...c,...u(e,i),marginBottom:l,error:w?.[e]})}):jsxRuntime.jsx("div",{style:{width:"100%"},children:s?jsxRuntime.jsx(n3,{size:"md",children:b(e)||"N/A"}):jsxRuntime.jsxs("div",{style:{marginBottom:w?.[e]?"6px":l,display:"flex",flexDirection:"column",position:"relative"},children:[jsxRuntime.jsx(reactHookForm.Controller,{render:V=>jsxRuntime.jsx(X4,{...c,unmask:!1,mask:m,name:V.field.name,onBlur:V.field.onBlur,defaultValue:i.value||V.field.value,onAccept:P=>V.field.onChange({target:{value:P}}),marginBottom:l,type:r,error:w?.[e]}),name:e,rules:i,control:h}),jsxRuntime.jsx($4,{children:w?.[e]&&jsxRuntime.jsx(v.ErrorExclamation,{})}),w?.[e]&&jsxRuntime.jsx(o2,{text:f,includeIcon:!1})]})})]})},s1=J4;var Q4=n__default.default.div`
911
911
  margin-bottom: 32px;
912
- `,Q4=n__default.default.div`
912
+ `,j4=n__default.default.div`
913
913
  display: ${({inline:e})=>e?"flex":"block"};
914
914
  gap: 20px;
915
915
  flex-wrap: wrap;
916
916
  margin: 20px 0;
917
- `,j4=n__default.default.div`
917
+ `,e8=n__default.default.div`
918
918
  display: flex;
919
919
  gap: 30rem;
920
920
  align-items: center;
@@ -925,7 +925,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
925
925
  label {
926
926
  padding-left: 35px;
927
927
  }
928
- `,e8=n__default.default.input`
928
+ `,t8=n__default.default.input`
929
929
  -webkit-appearance: none;
930
930
  position: absolute;
931
931
  appearance: none;
@@ -980,12 +980,12 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
980
980
  &:checked + label::before {
981
981
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMC42NjY3IDEuNTAwMTJMNC4yNTAwNCA3LjkxNjc5TDEuMzMzMzcgNS4wMDAxMiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==');
982
982
  }
983
- `,t8=n__default.default(d.Body)`
983
+ `,o8=n__default.default(d.Body)`
984
984
  margin-bottom: 5px;
985
985
  font-weight: bold;
986
- `,o8=n__default.default(d.Body)`
986
+ `,r8=n__default.default(d.Body)`
987
987
  margin-bottom: 5px;
988
- `,r8=n__default.default.div`
988
+ `,n8=n__default.default.div`
989
989
  display: flex;
990
990
  gap: 15px;
991
991
  align-items: center;
@@ -994,7 +994,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
994
994
  input[type='text'] {
995
995
  margin: 0;
996
996
  }
997
- `,_1=({option:e,name:t,inputOptions:o={},...r})=>{let{register:i}=reactHookForm.useFormContext();return jsxRuntime.jsxs(j4,{children:[jsxRuntime.jsx(e8,{type:"checkbox",value:e.value,...i(t,o),...r}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e.label})})]})},s3=({name:e,label:t,details:o="",options:r=[],inline:i=!1,other:s={},...a})=>jsxRuntime.jsxs(q4,{children:[jsxRuntime.jsx(t8,{size:"lg",children:t}),o&&jsxRuntime.jsx(o8,{children:o}),jsxRuntime.jsxs(Q4,{inline:i,children:[r.map(l=>jsxRuntime.jsx(_1,{option:l,name:e,...a},`${e}-${l.value}`)),s.label&&jsxRuntime.jsxs(r8,{children:[jsxRuntime.jsx(_1,{option:{label:s.label,value:"other"},name:e,...a},e),jsxRuntime.jsx(s1,{name:`${e}_other`,...a})]})]})]});var s8=({formMethods:e=null,formOptions:t={},onSubmit:o,children:r,className:i=""})=>{let s={mode:"onBlur",...t},a=reactHookForm.useForm(s),l=e||a,C=m=>o(m);return jsxRuntime.jsx(reactHookForm.FormProvider,{...l,children:jsxRuntime.jsx("form",{className:i,onSubmit:l.handleSubmit(C),children:r})})},l3=s8;var l8=({label:e,name:t,options:o={},...r})=>{let{register:i}=reactHookForm.useFormContext(),s=n__default.default.div`
997
+ `,_1=({option:e,name:t,inputOptions:o={},...r})=>{let{register:i}=reactHookForm.useFormContext();return jsxRuntime.jsxs(e8,{children:[jsxRuntime.jsx(t8,{type:"checkbox",value:e.value,...i(t,o),...r}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e.label})})]})},s3=({name:e,label:t,details:o="",options:r=[],inline:i=!1,other:s={},...a})=>jsxRuntime.jsxs(Q4,{children:[jsxRuntime.jsx(o8,{size:"lg",children:t}),o&&jsxRuntime.jsx(r8,{children:o}),jsxRuntime.jsxs(j4,{inline:i,children:[r.map(l=>jsxRuntime.jsx(_1,{option:l,name:e,...a},`${e}-${l.value}`)),s.label&&jsxRuntime.jsxs(n8,{children:[jsxRuntime.jsx(_1,{option:{label:s.label,value:"other"},name:e,...a},e),jsxRuntime.jsx(s1,{name:`${e}_other`,...a})]})]})]});var a8=({formMethods:e=null,formOptions:t={},onSubmit:o,children:r,className:i=""})=>{let s={mode:"onBlur",...t},a=reactHookForm.useForm(s),l=e||a,C=m=>o(m);return jsxRuntime.jsx(reactHookForm.FormProvider,{...l,children:jsxRuntime.jsx("form",{className:i,onSubmit:l.handleSubmit(C),children:r})})},l3=a8;var p8=({label:e,name:t,options:o={},...r})=>{let{register:i}=reactHookForm.useFormContext(),s=n__default.default.div`
998
998
  position: relative;
999
999
  margin-bottom: 24px;
1000
1000
 
@@ -1021,14 +1021,14 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1021
1021
  font-size: 24px;
1022
1022
  font-style: normal;
1023
1023
  width: 100%;
1024
- `;return jsxRuntime.jsxs(s,{children:[jsxRuntime.jsxs(a,{children:[jsxRuntime.jsx(L1,{}),jsxRuntime.jsx(l,{...i(t,o),...r})]}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e})})]})},d3=l8;var p8=n__default.default.div`
1024
+ `;return jsxRuntime.jsxs(s,{children:[jsxRuntime.jsxs(a,{children:[jsxRuntime.jsx(L1,{}),jsxRuntime.jsx(l,{...i(t,o),...r})]}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e})})]})},d3=p8;var d8=n__default.default.div`
1025
1025
  margin-bottom: 32px;
1026
- `,d8=n__default.default.div`
1026
+ `,C8=n__default.default.div`
1027
1027
  display: ${({inline:e})=>e?"flex":"block"};
1028
1028
  gap: 20px;
1029
1029
  flex-wrap: wrap;
1030
1030
  margin: 20px 0;
1031
- `,C8=n__default.default.div`
1031
+ `,m8=n__default.default.div`
1032
1032
  display: flex;
1033
1033
  gap: 30rem;
1034
1034
  align-items: center;
@@ -1039,7 +1039,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1039
1039
  label {
1040
1040
  padding-left: 32px;
1041
1041
  }
1042
- `,m8=n__default.default.input`
1042
+ `,c8=n__default.default.input`
1043
1043
  -webkit-appearance: none;
1044
1044
  position: absolute;
1045
1045
  appearance: none;
@@ -1096,9 +1096,9 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1096
1096
  `,f8=n__default.default(d.Body)`
1097
1097
  margin-bottom: 5px;
1098
1098
  font-weight: bold;
1099
- `,c8=n__default.default(d.Body)`
1099
+ `,g8=n__default.default(d.Body)`
1100
1100
  margin-bottom: 5px;
1101
- `,g8=n__default.default.div`
1101
+ `,u8=n__default.default.div`
1102
1102
  display: flex;
1103
1103
  gap: 15px;
1104
1104
  align-items: center;
@@ -1106,9 +1106,9 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1106
1106
  input[type="text"] {
1107
1107
  margin: 0;
1108
1108
  }
1109
- `,P1=({option:e,name:t,inline:o,...r})=>{let{register:i}=reactHookForm.useFormContext();return jsxRuntime.jsxs(C8,{inline:o,children:[jsxRuntime.jsx(m8,{type:"radio",value:e.value,...i(t),...r}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e.label})})]})},m3=({name:e,label:t,details:o="",options:r=[],inline:i=!1,allowOther:s=!1,...a})=>jsxRuntime.jsxs(p8,{children:[jsxRuntime.jsx(f8,{size:"lg",children:t}),o&&jsxRuntime.jsx(c8,{children:o}),jsxRuntime.jsxs(d8,{inline:i,children:[r.map(l=>jsxRuntime.jsx(P1,{option:l,name:e,inline:i,...a},`${e}-${l.value}`)),s&&jsxRuntime.jsxs(g8,{children:[jsxRuntime.jsx(P1,{option:{label:"Other",value:"other"},name:e,inline:i,...a},e),jsxRuntime.jsx(s1,{name:`${e}_other`,...a})]})]})]}),u8=n__default.default.div`
1109
+ `,P1=({option:e,name:t,inline:o,...r})=>{let{register:i}=reactHookForm.useFormContext();return jsxRuntime.jsxs(m8,{inline:o,children:[jsxRuntime.jsx(c8,{type:"radio",value:e.value,...i(t),...r}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(d.Body,{children:e.label})})]})},m3=({name:e,label:t,details:o="",options:r=[],inline:i=!1,allowOther:s=!1,...a})=>jsxRuntime.jsxs(d8,{children:[jsxRuntime.jsx(f8,{size:"lg",children:t}),o&&jsxRuntime.jsx(g8,{children:o}),jsxRuntime.jsxs(C8,{inline:i,children:[r.map(l=>jsxRuntime.jsx(P1,{option:l,name:e,inline:i,...a},`${e}-${l.value}`)),s&&jsxRuntime.jsxs(u8,{children:[jsxRuntime.jsx(P1,{option:{label:"Other",value:"other"},name:e,inline:i,...a},e),jsxRuntime.jsx(s1,{name:`${e}_other`,...a})]})]})]}),h8=n__default.default.div`
1110
1110
  width: 100%;
1111
- `,h8=({hasError:e,selected:t})=>e?"red":t?"#285E50":"#7f7f7f",x8=n__default.default.label`
1111
+ `,x8=({hasError:e,selected:t})=>e?"red":t?"#285E50":"#7f7f7f",y8=n__default.default.label`
1112
1112
  display: flex;
1113
1113
  width: 100%;
1114
1114
  gap: 8px;
@@ -1119,7 +1119,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1119
1119
  cursor: pointer;
1120
1120
 
1121
1121
  border: 2px solid
1122
- ${({hasError:e,selected:t})=>h8({hasError:e,selected:t})};
1122
+ ${({hasError:e,selected:t})=>x8({hasError:e,selected:t})};
1123
1123
 
1124
1124
  svg {
1125
1125
  width: 24px;
@@ -1130,7 +1130,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1130
1130
  stroke: ${({selected:e})=>e?"#285E50":"#7F7F7F"};
1131
1131
  stroke-width: 2.6;
1132
1132
  }
1133
- `,y8=n__default.default.div`
1133
+ `,b8=n__default.default.div`
1134
1134
  display: flex;
1135
1135
  justify-content: space-between;
1136
1136
  color: #000;
@@ -1139,7 +1139,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1139
1139
  font-weight: 700;
1140
1140
  line-height: 24px;
1141
1141
  padding: 18px 24px 0;
1142
- `,b8=n__default.default.input`
1142
+ `,w8=n__default.default.input`
1143
1143
  appearance: none;
1144
1144
  background-color: #fff;
1145
1145
  margin: 0;
@@ -1169,17 +1169,17 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1169
1169
  &:checked {
1170
1170
  border: 0.15em solid #1d4339;
1171
1171
  }
1172
- `,w8=n__default.default(d.Body)`
1172
+ `,v8=n__default.default(d.Body)`
1173
1173
  color: #000;
1174
1174
  font-family: Lato;
1175
1175
  font-size: 18px;
1176
1176
  font-weight: 700;
1177
1177
  margin-bottom: 16px;
1178
- `,v8=n__default.default.div`
1178
+ `,M8=n__default.default.div`
1179
1179
  display: flex;
1180
1180
  gap: 8px;
1181
1181
  color: ${e=>e.selected?"#285E50":"#000"};
1182
- `,M8=n__default.default.div`
1182
+ `,L8=n__default.default.div`
1183
1183
  display: flex;
1184
1184
  color: ${e=>e.selected?"#000":"#7F7F7F"};
1185
1185
  font-family: Lato;
@@ -1188,17 +1188,17 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1188
1188
  font-weight: 400;
1189
1189
  line-height: 24px;
1190
1190
  padding: 0 24px 19px;
1191
- `,L8=({option:e,name:t,formOptions:o})=>{let{register:r,watch:i,formState:s}=reactHookForm.useFormContext(),a=i(t)===e.value;return jsxRuntime.jsxs(x8,{selected:a,hasError:!!s.errors[t],children:[jsxRuntime.jsxs(y8,{children:[jsxRuntime.jsxs(v8,{selected:a,children:[e.icon||null,e.label]}),jsxRuntime.jsx(b8,{type:"radio",value:e.value,...r(t,o)})]}),jsxRuntime.jsx(M8,{selected:a,children:e.description})]})},f3=({name:e,label:t=null,className:o="",options:r,formOptions:i={},id:s=""})=>jsxRuntime.jsxs(u8,{className:o,id:s,children:[t&&jsxRuntime.jsx(w8,{size:"lg",children:t}),jsxRuntime.jsx("div",{children:r.map(a=>jsxRuntime.jsx(L8,{option:a,name:e,formOptions:i},`${a.label}-${a.value}`))})]});var Z8=n__default.default.div`
1191
+ `,H8=({option:e,name:t,formOptions:o})=>{let{register:r,watch:i,formState:s}=reactHookForm.useFormContext(),a=i(t)===e.value;return jsxRuntime.jsxs(y8,{selected:a,hasError:!!s.errors[t],children:[jsxRuntime.jsxs(b8,{children:[jsxRuntime.jsxs(M8,{selected:a,children:[e.icon||null,e.label]}),jsxRuntime.jsx(w8,{type:"radio",value:e.value,...r(t,o)})]}),jsxRuntime.jsx(L8,{selected:a,children:e.description})]})},c3=({name:e,label:t=null,className:o="",options:r,formOptions:i={},id:s=""})=>jsxRuntime.jsxs(h8,{className:o,id:s,children:[t&&jsxRuntime.jsx(v8,{size:"lg",children:t}),jsxRuntime.jsx("div",{children:r.map(a=>jsxRuntime.jsx(H8,{option:a,name:e,formOptions:i},`${a.label}-${a.value}`))})]});var z8=n__default.default.div`
1192
1192
  position: relative;
1193
1193
  margin-bottom: 24px;
1194
1194
  z-index: 40;
1195
- `,z8=n__default.default(d.Body)`
1195
+ `,_8=n__default.default(d.Body)`
1196
1196
  margin-bottom: 5px;
1197
1197
  font-weight: ${({isLabelBold:e})=>e?"bold":"regular"};
1198
1198
  text-align: start;
1199
- `,_8=n__default.default(d.Body)`
1199
+ `,B8=n__default.default(d.Body)`
1200
1200
  margin-bottom: 12px;
1201
- `,B8=n__default.default.div`
1201
+ `,P8=n__default.default.div`
1202
1202
  position: relative;
1203
1203
  margin-top: 8px;
1204
1204
  border: 1px solid #5a5a5a;
@@ -1217,7 +1217,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1217
1217
  right: 25px;
1218
1218
  top: 17px;
1219
1219
  }
1220
- `,P8=n__default.default(web.animated.div)`
1220
+ `,F8=n__default.default(web.animated.div)`
1221
1221
  position: absolute;
1222
1222
  background: #fff;
1223
1223
  border-radius: 8px;
@@ -1227,7 +1227,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1227
1227
  right: 0;
1228
1228
  max-height: 180px;
1229
1229
  overflow: scroll;
1230
- `,F8=n__default.default.div`
1230
+ `,E8=n__default.default.div`
1231
1231
  cursor: pointer;
1232
1232
  padding: 13px 24px;
1233
1233
  position: relative;
@@ -1237,7 +1237,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1237
1237
  background: #3f937c;
1238
1238
  }
1239
1239
  }
1240
- `,E8=n__default.default.div`
1240
+ `,R8=n__default.default.div`
1241
1241
  display: flex;
1242
1242
  align-items: center;
1243
1243
  justify-content: center;
@@ -1251,25 +1251,25 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1251
1251
  border: 0.766898px solid;
1252
1252
  border-color: ${e=>e.isCurrent?"#285E50 !important":"#3f937c"};
1253
1253
  background: ${e=>e.isCurrent?"#285E50 !important":"#FFF"};
1254
- `,R8=n__default.default.input`
1254
+ `,D8=n__default.default.input`
1255
1255
  outline: none;
1256
1256
  border: none;
1257
1257
  background: none;
1258
1258
  position: absolute;
1259
1259
  top: 0;
1260
1260
  left: 0;
1261
- `,D8=n__default.default(d.Body)`
1261
+ `,A8=n__default.default(d.Body)`
1262
1262
  margin-bottom: 24px;
1263
- `,A8=({label:e="",name:t,details:o="",placeholder:r="",options:i=[],allowInput:s=!1,previewOnly:a=!1,isLabelBold:l=!0,formOptions:C={},onChange:m=()=>null})=>{let f=e3.useRef(),c=reactHookForm.useFormContext();c.register(t,C);let[u,h]=e3.useState(!1),[b,w]=e3.useState(""),[V,P]=e3.useState(i),o1=web.useSpring(u?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});e3.useEffect(()=>{let g=p=>{u&&f.current&&!f.current.contains(p.target)&&h(!1);};return document.addEventListener("mousedown",p=>g(p)),()=>{document.removeEventListener("mousedown",p=>g(p));}},[u]);let W=i.find(g=>g.value===c.getValues(t))?.label,X=g=>{w(""),c.setValue(t,g.value),c.trigger(t),m&&m(g),h(!1);};e3.useEffect(()=>{if(h(!!b),b){let g=i.filter(p=>p.value.match(b.toLowerCase()));P(g),c.setValue(t,b);}else P(i);},[b,i.length]);let x=g=>{g.code==="Enter"&&g.preventDefault();};return jsxRuntime.jsxs(Z8,{children:[jsxRuntime.jsx(z8,{size:"lg",isLabelBold:l,children:e}),o&&jsxRuntime.jsx(_8,{children:o}),a?jsxRuntime.jsx(D8,{size:"md",children:W||"N/A"}):jsxRuntime.jsxs(B8,{onClick:()=>h(!u),children:[W||jsxRuntime.jsx("i",{children:r}),s&&jsxRuntime.jsx(R8,{onKeyDown:x,value:b,onChange:g=>w(g.target.value),type:"text"}),jsxRuntime.jsx(v.Caret,{direction:u?"up":"down"}),jsxRuntime.jsx(P8,{style:o1,ref:f,children:V.map(g=>{let{label:p}=g,y=g.label===W;return jsxRuntime.jsxs(F8,{onClick:()=>X(g),children:[jsxRuntime.jsx(d.Body,{size:"lg",children:p}),jsxRuntime.jsx(E8,{isCurrent:y,children:jsxRuntime.jsx(v.Check,{color:"#fff"})})]},g.value)})})]})]})},g3=A8;var G8=({label:e="Submit",isSubmitting:t=!1,hideWhenInvalid:o=!1,...r})=>{let i=reactHookForm.useFormContext(),{isValid:s}=i.formState,l=web.useSpring((o?s:!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:l,...r,children:jsxRuntime.jsx(T1.Primary,{htmlType:"submit",isSubmitting:t,...r,children:e})})},h3=G8;var K8=n__default.default.div`
1263
+ `,O8=({label:e="",name:t,details:o="",placeholder:r="",options:i=[],allowInput:s=!1,previewOnly:a=!1,isLabelBold:l=!0,formOptions:C={},onChange:m=()=>null})=>{let f=e3.useRef(),c=reactHookForm.useFormContext();c.register(t,C);let[u,h]=e3.useState(!1),[b,w]=e3.useState(""),[V,P]=e3.useState(i),o1=web.useSpring(u?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});e3.useEffect(()=>{let g=p=>{u&&f.current&&!f.current.contains(p.target)&&h(!1);};return document.addEventListener("mousedown",p=>g(p)),()=>{document.removeEventListener("mousedown",p=>g(p));}},[u]);let W=i.find(g=>g.value===c.getValues(t))?.label,X=g=>{w(""),c.setValue(t,g.value),c.trigger(t),m&&m(g),h(!1);};e3.useEffect(()=>{if(h(!!b),b){let g=i.filter(p=>p.value.match(b.toLowerCase()));P(g),c.setValue(t,b);}else P(i);},[b,i.length]);let x=g=>{g.code==="Enter"&&g.preventDefault();};return jsxRuntime.jsxs(z8,{children:[jsxRuntime.jsx(_8,{size:"lg",isLabelBold:l,children:e}),o&&jsxRuntime.jsx(B8,{children:o}),a?jsxRuntime.jsx(A8,{size:"md",children:W||"N/A"}):jsxRuntime.jsxs(P8,{onClick:()=>h(!u),children:[W||jsxRuntime.jsx("i",{children:r}),s&&jsxRuntime.jsx(D8,{onKeyDown:x,value:b,onChange:g=>w(g.target.value),type:"text"}),jsxRuntime.jsx(v.Caret,{direction:u?"up":"down"}),jsxRuntime.jsx(F8,{style:o1,ref:f,children:V.map(g=>{let{label:p}=g,y=g.label===W;return jsxRuntime.jsxs(E8,{onClick:()=>X(g),children:[jsxRuntime.jsx(d.Body,{size:"lg",children:p}),jsxRuntime.jsx(R8,{isCurrent:y,children:jsxRuntime.jsx(v.Check,{color:"#fff"})})]},g.value)})})]})]})},g3=O8;var $8=({label:e="Submit",isSubmitting:t=!1,hideWhenInvalid:o=!1,...r})=>{let i=reactHookForm.useFormContext(),{isValid:s}=i.formState,l=web.useSpring((o?s:!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:l,...r,children:jsxRuntime.jsx(T1.Primary,{htmlType:"submit",isSubmitting:t,...r,children:e})})},h3=$8;var J8=n__default.default.div`
1264
1264
  position: relative;
1265
1265
  margin-bottom: 24px;
1266
1266
  z-index: 20;
1267
- `,J8=n__default.default(d.Body)`
1267
+ `,Y8=n__default.default(d.Body)`
1268
1268
  margin-bottom: 5px;
1269
1269
  font-weight: bold;
1270
- `,Y8=n__default.default(d.Body)`
1270
+ `,q8=n__default.default(d.Body)`
1271
1271
  margin-bottom: 12px;
1272
- `,q8=n__default.default.div`
1272
+ `,Q8=n__default.default.div`
1273
1273
  position: relative;
1274
1274
  display: flex;
1275
1275
  align-items: center;
@@ -1280,7 +1280,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1280
1280
  border-radius: 8px;
1281
1281
  height: 50px;
1282
1282
  background-color: #fff;
1283
- `,Q8=n__default.default(web.animated.div)`
1283
+ `,j8=n__default.default(web.animated.div)`
1284
1284
  position: absolute;
1285
1285
  background: #fff;
1286
1286
  border-radius: 8px;
@@ -1290,7 +1290,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1290
1290
  right: 0;
1291
1291
  max-height: 180px;
1292
1292
  overflow: scroll;
1293
- `,j8=n__default.default(web.animated.div)`
1293
+ `,e9=n__default.default(web.animated.div)`
1294
1294
  position: absolute;
1295
1295
  display: block;
1296
1296
  width: 45px;
@@ -1304,7 +1304,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1304
1304
  right: 20px;
1305
1305
  top: 17px;
1306
1306
  }
1307
- `,e9=n__default.default.div`
1307
+ `,t9=n__default.default.div`
1308
1308
  cursor: pointer;
1309
1309
  padding: 13px 24px;
1310
1310
  position: relative;
@@ -1315,7 +1315,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1315
1315
  color: #fff;
1316
1316
  }
1317
1317
  }
1318
- `,t9=n__default.default.input`
1318
+ `,o9=n__default.default.input`
1319
1319
  outline: none;
1320
1320
  border: none;
1321
1321
  background: none;
@@ -1328,24 +1328,24 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1328
1328
  padding: 0 20px;
1329
1329
  width: 100%;
1330
1330
  height: 100%;
1331
- `,o9=n__default.default(d.Body)`
1331
+ `,r9=n__default.default(d.Body)`
1332
1332
  margin-bottom: 24px;
1333
- `,r9=e=>{let t="",o="";e.address_components.forEach(s=>{let a=s.types.some(C=>C==="locality"),l=s.types.some(C=>C==="administrative_area_level_1");a?t=s.short_name:l&&(o=s.short_name);});let r=e.geometry.location.lat(),i=e.geometry.location.lng();return {city:t,state:o,lat:r,long:i}},n9=({handleSelect:e,option:t,value:o})=>{let{description:r}=t,i=r===o,s=r.replace(", USA","");return jsxRuntime.jsx(e9,{isCurrent:i,onClick:()=>e(s),children:jsxRuntime.jsx(d.Body,{size:"lg",children:s})})},i9=({label:e="",details:t="",required:o=!0,previewOnly:r=!1})=>{let i=e3.useRef(),[s,a]=e3.useState(!1),[l,C]=e3.useState(!1),m=reactHookForm.useFormContext();m.register("city",{required:o});let f=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}});e3.useEffect(()=>{let x=g=>{s&&i.current&&!i.current.contains(g.target)&&a(!1);};return document.addEventListener("mousedown",g=>x(g)),()=>{document.removeEventListener("mousedown",g=>x(g));}},[s]);let c=m.getValues("city")?`${m.getValues("city")}, ${m.getValues("state")}`:"",{value:u,suggestions:{data:h,loading:b},setValue:w,clearSuggestions:V}=U8__default.default({requestOptions:{types:["locality","postal_code"],componentRestrictions:{country:"us"}}});e3.useEffect(()=>{if(b){C(b);return}setTimeout(()=>{C(b);},2e3);},[b]);let P=web.useSpring(l?{opacity:1,transform:"translate(0px, 0px)",config:{duration:400}}:{opacity:0,transform:"translate(5px, 0px)",config:{duration:200}}),o1=x=>{w(x.target.value),m.setValue("city",null),m.setValue("state",null),m.trigger("city"),x.target.value.length>=3&&a(!0);},W=x=>{w(x,!1),V(),!(x.length<=2)&&U8.getGeocode({address:x}).then(g=>{let{city:p,state:y,lat:A1,long:A3}=r9(g[0]);m.setValue("city",p),m.setValue("state",y),m.setValue("lat",A1),m.setValue("long",A3),m.trigger("city");}).catch(g=>console.error(`Google Maps API error: ${g}`));},X=x=>{x.code==="Enter"&&x.preventDefault();};return jsxRuntime.jsxs(K8,{children:[jsxRuntime.jsx(J8,{size:"lg",children:e}),t&&jsxRuntime.jsx(Y8,{children:t}),r?jsxRuntime.jsx(o9,{size:"md",children:c||"N/A"}):jsxRuntime.jsxs(q8,{children:[jsxRuntime.jsx(t9,{onKeyDown:X,value:u||c,onChange:x=>o1(x),type:"text"}),h.length>0&&jsxRuntime.jsx(Q8,{style:f,ref:i,children:h.map(x=>jsxRuntime.jsx(n9,{handleSelect:W,option:x,value:u},x.description))}),jsxRuntime.jsx(j8,{style:P,children:jsxRuntime.jsx(r2,{size:"sm"})})]})]})},M3=e=>{let{isLoaded:t}=api.useLoadScript({googleMapsApiKey:e.api_key||process.env.GOOGLE_MAPS_API_KEY||"",libraries:["places"]});return t?jsxRuntime.jsx(i9,{...e}):null};var a9=({label:e="",name:t,...o})=>{let{setValue:r}=reactHookForm.useFormContext(),i=n__default.default(d.Body)`
1333
+ `,n9=e=>{let t="",o="";e.address_components.forEach(s=>{let a=s.types.some(C=>C==="locality"),l=s.types.some(C=>C==="administrative_area_level_1");a?t=s.short_name:l&&(o=s.short_name);});let r=e.geometry.location.lat(),i=e.geometry.location.lng();return {city:t,state:o,lat:r,long:i}},i9=({handleSelect:e,option:t,value:o})=>{let{description:r}=t,i=r===o,s=r.replace(", USA","");return jsxRuntime.jsx(t9,{isCurrent:i,onClick:()=>e(s),children:jsxRuntime.jsx(d.Body,{size:"lg",children:s})})},s9=({label:e="",details:t="",required:o=!0,previewOnly:r=!1})=>{let i=e3.useRef(),[s,a]=e3.useState(!1),[l,C]=e3.useState(!1),m=reactHookForm.useFormContext();m.register("city",{required:o});let f=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}});e3.useEffect(()=>{let x=g=>{s&&i.current&&!i.current.contains(g.target)&&a(!1);};return document.addEventListener("mousedown",g=>x(g)),()=>{document.removeEventListener("mousedown",g=>x(g));}},[s]);let c=m.getValues("city")?`${m.getValues("city")}, ${m.getValues("state")}`:"",{value:u,suggestions:{data:h,loading:b},setValue:w,clearSuggestions:V}=W8__default.default({requestOptions:{types:["locality","postal_code"],componentRestrictions:{country:"us"}}});e3.useEffect(()=>{if(b){C(b);return}setTimeout(()=>{C(b);},2e3);},[b]);let P=web.useSpring(l?{opacity:1,transform:"translate(0px, 0px)",config:{duration:400}}:{opacity:0,transform:"translate(5px, 0px)",config:{duration:200}}),o1=x=>{w(x.target.value),m.setValue("city",null),m.setValue("state",null),m.trigger("city"),x.target.value.length>=3&&a(!0);},W=x=>{w(x,!1),V(),!(x.length<=2)&&W8.getGeocode({address:x}).then(g=>{let{city:p,state:y,lat:A1,long:A3}=n9(g[0]);m.setValue("city",p),m.setValue("state",y),m.setValue("lat",A1),m.setValue("long",A3),m.trigger("city");}).catch(g=>console.error(`Google Maps API error: ${g}`));},X=x=>{x.code==="Enter"&&x.preventDefault();};return jsxRuntime.jsxs(J8,{children:[jsxRuntime.jsx(Y8,{size:"lg",children:e}),t&&jsxRuntime.jsx(q8,{children:t}),r?jsxRuntime.jsx(r9,{size:"md",children:c||"N/A"}):jsxRuntime.jsxs(Q8,{children:[jsxRuntime.jsx(o9,{onKeyDown:X,value:u||c,onChange:x=>o1(x),type:"text"}),h.length>0&&jsxRuntime.jsx(j8,{style:f,ref:i,children:h.map(x=>jsxRuntime.jsx(i9,{handleSelect:W,option:x,value:u},x.description))}),jsxRuntime.jsx(e9,{style:P,children:jsxRuntime.jsx(r2,{size:"sm"})})]})]})},M3=e=>{let{isLoaded:t}=api.useLoadScript({googleMapsApiKey:e.api_key||process.env.GOOGLE_MAPS_API_KEY||"",libraries:["places"]});return t?jsxRuntime.jsx(s9,{...e}):null};var l9=({label:e="",name:t,...o})=>{let{setValue:r}=reactHookForm.useFormContext(),i=n__default.default(d.Body)`
1334
1334
  margin-bottom: 5px;
1335
1335
  text-align: start;
1336
1336
  `,s=n__default.default.div`
1337
1337
  position: relative;
1338
1338
  margin-bottom: 24px;
1339
- `;return jsxRuntime.jsxs(s,{children:[e&&jsxRuntime.jsx(i,{children:e}),jsxRuntime.jsx(a2,{...o,onChange:l=>{r(t,l.value);}})]})},H3=a9;var S3=({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 m9=n__default.default.div`
1339
+ `;return jsxRuntime.jsxs(s,{children:[e&&jsxRuntime.jsx(i,{children:e}),jsxRuntime.jsx(a2,{...o,onChange:l=>{r(t,l.value);}})]})},H3=l9;var S3=({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 c9=n__default.default.div`
1340
1340
  position: relative;
1341
1341
  margin-bottom: 24px;
1342
1342
  z-index: 20;
1343
1343
  `,f9=n__default.default(d.Body)`
1344
1344
  margin-bottom: 5px;
1345
1345
  font-weight: bold;
1346
- `,c9=n__default.default(d.Body)`
1346
+ `,g9=n__default.default(d.Body)`
1347
1347
  margin-bottom: 12px;
1348
- `,g9=n__default.default.div`
1348
+ `,u9=n__default.default.div`
1349
1349
  position: relative;
1350
1350
  padding: 15px 23px;
1351
1351
  margin-top: 8px;
@@ -1362,7 +1362,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1362
1362
  left: 25px;
1363
1363
  top: 17px;
1364
1364
  }
1365
- `,u9=n__default.default(web.animated.div)`
1365
+ `,h9=n__default.default(web.animated.div)`
1366
1366
  position: absolute;
1367
1367
  background: #fff;
1368
1368
  border-radius: 8px;
@@ -1382,7 +1382,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1382
1382
  background: #3f937c;
1383
1383
  }
1384
1384
  }
1385
- `,h9=n__default.default.input`
1385
+ `,x9=n__default.default.input`
1386
1386
  outline: none;
1387
1387
  border: none;
1388
1388
  background: none;
@@ -1394,7 +1394,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1394
1394
  width: 100%;
1395
1395
  height: 100%;
1396
1396
  padding-left: 10px;
1397
- `,x9=n__default.default.div`
1397
+ `,y9=n__default.default.div`
1398
1398
  height: 32px;
1399
1399
  border-radius: 32px;
1400
1400
  margin-right: 10px;
@@ -1405,7 +1405,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1405
1405
  align-items: center;
1406
1406
  display: flex;
1407
1407
  margin-top: 8px;
1408
- `,y9=n__default.default.div`
1408
+ `,b9=n__default.default.div`
1409
1409
  display: flex;
1410
1410
  align-items: center;
1411
1411
  justify-content: center;
@@ -1419,14 +1419,14 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1419
1419
  border: 0.766898px solid;
1420
1420
  border-color: ${e=>e.isCurrent?"#285E50 !important":"#3f937c"};
1421
1421
  background: ${e=>e.isCurrent?"#285E50 !important":"#FFF"};
1422
- `,b9=({label:e="",name:t,details:o="",options:r=[],previewOnly:i=!1})=>{let s=e3.useRef(),a=reactHookForm.useFormContext(),[l,C]=e3.useState(!1),[m,f]=e3.useState(""),[c,u]=e3.useState(a.getValues(t)||[]),h=e3.useRef({search:m,keywords:c});e3.useEffect(()=>{h.current={search:m,keywords:c};},[m,c]);let[b,w]=e3.useState(r),V=web.useSpring(l?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}}),P=r.find(p=>p===a.getValues(t)),o1=p=>{let y=[...h.current.keywords,p];f(""),u(y),a.setValue(t,y),C(!1);},W=p=>p?p.charAt(0).toUpperCase()+p.slice(1).toLowerCase():"",X=()=>{if(!h.current.search)return;let p=W(h.current.search);o1(p);};e3.useEffect(()=>{let p=y=>{l&&s.current&&!s.current.contains(y.target)&&(X(),C(!1));};return document.addEventListener("mousedown",y=>p(y)),()=>{document.removeEventListener("mousedown",y=>p(y));}},[l]);let x=p=>{p.code==="Enter"&&(X(),p.preventDefault());},g=p=>{let y=c.filter(A1=>A1!==p);u(y),f(""),a.setValue(t,y);};return e3.useEffect(()=>{if(C(!!m),m){let p=r.filter(y=>y.toLowerCase().match(m.toLowerCase()));w(p);}else w(r);},[m]),e3.useEffect(()=>{let p=r.filter(y=>!c.includes(y));w(p);},[c]),jsxRuntime.jsxs(m9,{children:[jsxRuntime.jsx(f9,{size:"lg",children:e}),o&&jsxRuntime.jsx(c9,{children:o}),!i&&jsxRuntime.jsxs(g9,{onClick:()=>C(!l),children:[jsxRuntime.jsx(S3,{}),P,jsxRuntime.jsx(h9,{onKeyDown:x,value:m,onChange:p=>f(p.target.value),type:"text",style:{marginLeft:"45px",width:"calc(100% - 80px)"}}),jsxRuntime.jsxs(u9,{style:V,ref:s,children:[b.map(p=>{let y=p===P;return jsxRuntime.jsxs(Z3,{onClick:()=>o1(p),children:[jsxRuntime.jsx(d.Body,{size:"lg",children:p}),jsxRuntime.jsx(y9,{isCurrent:y,children:jsxRuntime.jsx(v.Check,{color:"#fff"})})]},p)}),!b.length&&jsxRuntime.jsx(Z3,{onClick:()=>X(),children:jsxRuntime.jsx(d.Body,{size:"lg",children:"Add Option"})},"add")]})]}),jsxRuntime.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:[i&&c.length===0&&"N/A",c.map(p=>jsxRuntime.jsxs(x9,{onClick:()=>g(p),children:[p,!i&&jsxRuntime.jsx(M1,{})]},p))]})]})},z3=b9;var M9=({label:e=null,isLabelBold:t=!0,name:o,options:r={},...i})=>{let{control:s}=reactHookForm.useFormContext(),a=n__default.default(d.Body)`
1422
+ `,w9=({label:e="",name:t,details:o="",options:r=[],previewOnly:i=!1})=>{let s=e3.useRef(),a=reactHookForm.useFormContext(),[l,C]=e3.useState(!1),[m,f]=e3.useState(""),[c,u]=e3.useState(a.getValues(t)||[]),h=e3.useRef({search:m,keywords:c});e3.useEffect(()=>{h.current={search:m,keywords:c};},[m,c]);let[b,w]=e3.useState(r),V=web.useSpring(l?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}}),P=r.find(p=>p===a.getValues(t)),o1=p=>{let y=[...h.current.keywords,p];f(""),u(y),a.setValue(t,y),C(!1);},W=p=>p?p.charAt(0).toUpperCase()+p.slice(1).toLowerCase():"",X=()=>{if(!h.current.search)return;let p=W(h.current.search);o1(p);};e3.useEffect(()=>{let p=y=>{l&&s.current&&!s.current.contains(y.target)&&(X(),C(!1));};return document.addEventListener("mousedown",y=>p(y)),()=>{document.removeEventListener("mousedown",y=>p(y));}},[l]);let x=p=>{p.code==="Enter"&&(X(),p.preventDefault());},g=p=>{let y=c.filter(A1=>A1!==p);u(y),f(""),a.setValue(t,y);};return e3.useEffect(()=>{if(C(!!m),m){let p=r.filter(y=>y.toLowerCase().match(m.toLowerCase()));w(p);}else w(r);},[m]),e3.useEffect(()=>{let p=r.filter(y=>!c.includes(y));w(p);},[c]),jsxRuntime.jsxs(c9,{children:[jsxRuntime.jsx(f9,{size:"lg",children:e}),o&&jsxRuntime.jsx(g9,{children:o}),!i&&jsxRuntime.jsxs(u9,{onClick:()=>C(!l),children:[jsxRuntime.jsx(S3,{}),P,jsxRuntime.jsx(x9,{onKeyDown:x,value:m,onChange:p=>f(p.target.value),type:"text",style:{marginLeft:"45px",width:"calc(100% - 80px)"}}),jsxRuntime.jsxs(h9,{style:V,ref:s,children:[b.map(p=>{let y=p===P;return jsxRuntime.jsxs(Z3,{onClick:()=>o1(p),children:[jsxRuntime.jsx(d.Body,{size:"lg",children:p}),jsxRuntime.jsx(b9,{isCurrent:y,children:jsxRuntime.jsx(v.Check,{color:"#fff"})})]},p)}),!b.length&&jsxRuntime.jsx(Z3,{onClick:()=>X(),children:jsxRuntime.jsx(d.Body,{size:"lg",children:"Add Option"})},"add")]})]}),jsxRuntime.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:[i&&c.length===0&&"N/A",c.map(p=>jsxRuntime.jsxs(y9,{onClick:()=>g(p),children:[p,!i&&jsxRuntime.jsx(M1,{})]},p))]})]})},z3=w9;var L9=({label:e=null,isLabelBold:t=!0,name:o,options:r={},...i})=>{let{control:s}=reactHookForm.useFormContext(),a=n__default.default(d.Body)`
1423
1423
  margin-bottom: 5px;
1424
1424
  font-weight: ${({isLabelBold:C})=>C?"bold":"regular"};
1425
1425
  text-align: start;
1426
1426
  `,l=n__default.default.div`
1427
1427
  position: relative;
1428
1428
  margin-bottom: 24px;
1429
- `;return jsxRuntime.jsxs(l,{children:[e&&jsxRuntime.jsx(a,{size:"lg",isLabelBold:t,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:C})=>jsxRuntime.jsx(I1,{...i,...C}),name:o,control:s,...r})]})},B3=M9;var Z9={Container:l3,Checkbox:_1,CheckboxGroup:s3,DateSelect:B3,TextInput:s1,TimeSelect:H3,Radio:P1,RadioGroup:m3,CardRadioGroup:f3,Select:g3,Signature:d3,Submit:h3,LocationSelect:M3,Keyword:z3,Toggle:l2};var B9=n__default.default(web.animated.div)`
1429
+ `;return jsxRuntime.jsxs(l,{children:[e&&jsxRuntime.jsx(a,{size:"lg",isLabelBold:t,children:e}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:C})=>jsxRuntime.jsx(I1,{...i,...C}),name:o,control:s,...r})]})},B3=L9;var z9={Container:l3,Checkbox:_1,CheckboxGroup:s3,DateSelect:B3,TextInput:s1,TimeSelect:H3,Radio:P1,RadioGroup:m3,CardRadioGroup:c3,Select:g3,Signature:d3,Submit:h3,LocationSelect:M3,Keyword:z3,Toggle:l2};var P9=n__default.default(web.animated.div)`
1430
1430
  max-height: ${({size:e})=>(e||58)+24}px;
1431
1431
  padding: 12px;
1432
1432
  display: flex;
@@ -1440,25 +1440,25 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1440
1440
  &:hover {
1441
1441
  border-radius: 40px;
1442
1442
  }
1443
- `,P9=n__default.default(web.animated.div)`
1443
+ `,F9=n__default.default(web.animated.div)`
1444
1444
  display: flex;
1445
1445
  flex-direction: column;
1446
1446
  flex-wrap: wrap;
1447
1447
  min-width: 180px;
1448
1448
  max-width: 180px;
1449
1449
  margin-left: 12px;
1450
- `,F9=n__default.default.span`
1450
+ `,E9=n__default.default.span`
1451
1451
  font-weight: 700;
1452
1452
  letter-spacing: 0.157px;
1453
1453
  color: #1d4339;
1454
- `,E9=n__default.default.p`
1454
+ `,R9=n__default.default.p`
1455
1455
  font-size: 10px;
1456
1456
  letter-spacing: 0.157px;
1457
1457
  text-align: left;
1458
1458
  margin: 0;
1459
1459
  line-height: 12px;
1460
1460
  color: #1d4339;
1461
- `,R9=({contentfulConfig:e,size:t=58})=>{let[o,r]=e3.useState(""),[i,s]=web.useSpring(()=>({from:{width:t+24,backgroundColor:"#fff",color:"#ffffff"}}));e3.useEffect(()=>{new i1(e).getImage("vanta-logo").then(u=>{r(u);});},[]);let[a,l]=web.useSpring(()=>({from:{opacity:0},delay:100})),C=u=>({width:u?198+t:t+24,backgroundColor:u?"#d4e2dd":"#fff"}),m=u=>({opacity:u?1:0}),f=()=>{s(C(!0)),l(m(!0));},c=()=>{s(C(!1)),l(m(!1));};return o?jsxRuntime.jsxs(B9,{style:i,onMouseEnter:f,onMouseLeave:c,size:t,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:o,height:t,width:t}),jsxRuntime.jsxs(P9,{style:a,children:[jsxRuntime.jsx(d.Body,{children:jsxRuntime.jsx(F9,{children:"Guaranteed Security"})}),jsxRuntime.jsx(d.Body,{size:"xs",children:jsxRuntime.jsx(E9,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},D9=R9;function f2({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=n__default.default(antd.Menu)`
1461
+ `,D9=({contentfulConfig:e,size:t=58})=>{let[o,r]=e3.useState(""),[i,s]=web.useSpring(()=>({from:{width:t+24,backgroundColor:"#fff",color:"#ffffff"}}));e3.useEffect(()=>{new i1(e).getImage("vanta-logo").then(u=>{r(u);});},[]);let[a,l]=web.useSpring(()=>({from:{opacity:0},delay:100})),C=u=>({width:u?198+t:t+24,backgroundColor:u?"#d4e2dd":"#fff"}),m=u=>({opacity:u?1:0}),f=()=>{s(C(!0)),l(m(!0));},c=()=>{s(C(!1)),l(m(!1));};return o?jsxRuntime.jsxs(P9,{style:i,onMouseEnter:f,onMouseLeave:c,size:t,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:o,height:t,width:t}),jsxRuntime.jsxs(F9,{style:a,children:[jsxRuntime.jsx(d.Body,{children:jsxRuntime.jsx(E9,{children:"Guaranteed Security"})}),jsxRuntime.jsx(d.Body,{size:"xs",children:jsxRuntime.jsx(R9,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},A9=D9;function c2({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 G9=n__default.default(antd.Menu)`
1462
1462
  .ant-menu-submenu {
1463
1463
  background-color: #fff;
1464
1464
  color: #555555 !important;
@@ -1498,7 +1498,7 @@ var l1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",
1498
1498
  background-color: #fff !important;
1499
1499
  color: #000 !important;
1500
1500
  }
1501
- `,G9=({children:e,...t})=>jsxRuntime.jsx(I9,{...t,expandIcon:o=>jsxRuntime.jsx(f2,{isActive:o.isOpen,color:"#555555"}),children:e}),$9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.Item,{...t,children:e}),N9=e=>jsxRuntime.jsx(antd.Menu.Divider,{...e}),U9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.SubMenu,{...t,children:e}),W9={Container:G9,MenuDivider:N9,MenuItem:$9,SubMenuContainer:U9};
1501
+ `,$9=({children:e,...t})=>jsxRuntime.jsx(G9,{...t,expandIcon:o=>jsxRuntime.jsx(c2,{isActive:o.isOpen,color:"#555555"}),children:e}),N9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.Item,{...t,children:e}),U9=e=>jsxRuntime.jsx(antd.Menu.Divider,{...e}),W9=({children:e,...t})=>jsxRuntime.jsx(antd.Menu.SubMenu,{...t,children:e}),X9={Container:$9,MenuDivider:U9,MenuItem:N9,SubMenuContainer:W9};
1502
1502
 
1503
1503
  Object.defineProperty(exports, 'styled', {
1504
1504
  enumerable: true,
@@ -1528,14 +1528,14 @@ exports.ContentfulLottieFileSlug = vt;
1528
1528
  exports.DateSelect = I1;
1529
1529
  exports.Drawer = R0;
1530
1530
  exports.ErrorTypography = o2;
1531
- exports.Form = Z9;
1531
+ exports.Form = z9;
1532
1532
  exports.Icons = v;
1533
1533
  exports.LoadingSpinner = r2;
1534
1534
  exports.LottieAnimation = Zt;
1535
- exports.Menu = c1;
1535
+ exports.Menu = f1;
1536
1536
  exports.Modal = Et;
1537
- exports.NavigationMenu = W9;
1538
- exports.NumberedProgressSteps = D4;
1537
+ exports.NavigationMenu = X9;
1538
+ exports.NumberedProgressSteps = A4;
1539
1539
  exports.Pill = xt;
1540
1540
  exports.Progress = At;
1541
1541
  exports.Segmented = Gt;
@@ -1547,6 +1547,6 @@ exports.TimeSelect = a2;
1547
1547
  exports.Toggle = l2;
1548
1548
  exports.Tooltip = K;
1549
1549
  exports.Typography = d;
1550
- exports.VantaLogo = D9;
1550
+ exports.VantaLogo = A9;
1551
1551
  //# sourceMappingURL=out.js.map
1552
1552
  //# sourceMappingURL=index.cjs.map