@solace-health/ui 0.10.256 → 0.10.257

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
@@ -50,8 +50,8 @@ var e2__default = /*#__PURE__*/_interopDefault(e2);
50
50
  var Dh__default = /*#__PURE__*/_interopDefault(Dh);
51
51
  var Zi__namespace = /*#__PURE__*/_interopNamespace(Zi);
52
52
 
53
- var Xs=Object.create;var G6=Object.defineProperty;var Js=Object.getOwnPropertyDescriptor;var qs=Object.getOwnPropertyNames;var Ys=Object.getPrototypeOf,Ks=Object.prototype.hasOwnProperty;var t2=(C,e)=>()=>(e||C((e={exports:{}}).exports,e),e.exports);var Qs=(C,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of qs(e))!Ks.call(C,r)&&r!==t&&G6(C,r,{get:()=>e[r],enumerable:!(o=Js(e,r))||o.enumerable});return C};var js=(C,e,t)=>(t=C!=null?Xs(Ys(C)):{},Qs(e||!C||!C.__esModule?G6(t,"default",{value:C,enumerable:!0}):t,C));var Gt=t2(Y=>{var w1=typeof Symbol=="function"&&Symbol.for,T9=w1?Symbol.for("react.element"):60103,A9=w1?Symbol.for("react.portal"):60106,I7=w1?Symbol.for("react.fragment"):60107,O7=w1?Symbol.for("react.strict_mode"):60108,T7=w1?Symbol.for("react.profiler"):60114,A7=w1?Symbol.for("react.provider"):60109,R7=w1?Symbol.for("react.context"):60110,R9=w1?Symbol.for("react.async_mode"):60111,U7=w1?Symbol.for("react.concurrent_mode"):60111,G7=w1?Symbol.for("react.forward_ref"):60112,$7=w1?Symbol.for("react.suspense"):60113,jd=w1?Symbol.for("react.suspense_list"):60120,z7=w1?Symbol.for("react.memo"):60115,W7=w1?Symbol.for("react.lazy"):60116,Cf=w1?Symbol.for("react.block"):60121,ef=w1?Symbol.for("react.fundamental"):60117,tf=w1?Symbol.for("react.responder"):60118,of=w1?Symbol.for("react.scope"):60119;function I1(C){if(typeof C=="object"&&C!==null){var e=C.$$typeof;switch(e){case T9:switch(C=C.type,C){case R9:case U7:case I7:case T7:case O7:case $7:return C;default:switch(C=C&&C.$$typeof,C){case R7:case G7:case W7:case z7:case A7:return C;default:return e}}case A9:return e}}}function Ut(C){return I1(C)===U7}Y.AsyncMode=R9;Y.ConcurrentMode=U7;Y.ContextConsumer=R7;Y.ContextProvider=A7;Y.Element=T9;Y.ForwardRef=G7;Y.Fragment=I7;Y.Lazy=W7;Y.Memo=z7;Y.Portal=A9;Y.Profiler=T7;Y.StrictMode=O7;Y.Suspense=$7;Y.isAsyncMode=function(C){return Ut(C)||I1(C)===R9};Y.isConcurrentMode=Ut;Y.isContextConsumer=function(C){return I1(C)===R7};Y.isContextProvider=function(C){return I1(C)===A7};Y.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===T9};Y.isForwardRef=function(C){return I1(C)===G7};Y.isFragment=function(C){return I1(C)===I7};Y.isLazy=function(C){return I1(C)===W7};Y.isMemo=function(C){return I1(C)===z7};Y.isPortal=function(C){return I1(C)===A9};Y.isProfiler=function(C){return I1(C)===T7};Y.isStrictMode=function(C){return I1(C)===O7};Y.isSuspense=function(C){return I1(C)===$7};Y.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===I7||C===U7||C===T7||C===O7||C===$7||C===jd||typeof C=="object"&&C!==null&&(C.$$typeof===W7||C.$$typeof===z7||C.$$typeof===A7||C.$$typeof===R7||C.$$typeof===G7||C.$$typeof===ef||C.$$typeof===tf||C.$$typeof===of||C.$$typeof===Cf)};Y.typeOf=I1;});var $t=t2(K=>{process.env.NODE_ENV!=="production"&&function(){var C=typeof Symbol=="function"&&Symbol.for,e=C?Symbol.for("react.element"):60103,t=C?Symbol.for("react.portal"):60106,o=C?Symbol.for("react.fragment"):60107,r=C?Symbol.for("react.strict_mode"):60108,n=C?Symbol.for("react.profiler"):60114,i=C?Symbol.for("react.provider"):60109,a=C?Symbol.for("react.context"):60110,s=C?Symbol.for("react.async_mode"):60111,l=C?Symbol.for("react.concurrent_mode"):60111,p=C?Symbol.for("react.forward_ref"):60112,L=C?Symbol.for("react.suspense"):60113,d=C?Symbol.for("react.suspense_list"):60120,f=C?Symbol.for("react.memo"):60115,g=C?Symbol.for("react.lazy"):60116,x=C?Symbol.for("react.block"):60121,y=C?Symbol.for("react.fundamental"):60117,A=C?Symbol.for("react.responder"):60118,b=C?Symbol.for("react.scope"):60119;function E(P){return typeof P=="string"||typeof P=="function"||P===o||P===l||P===n||P===r||P===L||P===d||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===f||P.$$typeof===i||P.$$typeof===a||P.$$typeof===p||P.$$typeof===y||P.$$typeof===A||P.$$typeof===b||P.$$typeof===x)}function h(P){if(typeof P=="object"&&P!==null){var E8=P.$$typeof;switch(E8){case e:var n7=P.type;switch(n7){case s:case l:case o:case n:case r:case L:return n7;default:var U6=n7&&n7.$$typeof;switch(U6){case a:case p:case g:case f:case i:return U6;default:return E8}}case t:return E8}}}var c=s,F=l,k=a,O=i,J=e,Z=p,t1=o,S1=g,m=f,w=t,B=n,R=r,_=L,D=!1;function V(P){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(P)||h(P)===s}function T(P){return h(P)===l}function $(P){return h(P)===a}function X(P){return h(P)===i}function z(P){return typeof P=="object"&&P!==null&&P.$$typeof===e}function H1(P){return h(P)===p}function h1(P){return h(P)===o}function V2(P){return h(P)===g}function Gs(P){return h(P)===f}function $s(P){return h(P)===t}function zs(P){return h(P)===n}function Ws(P){return h(P)===r}function Ns(P){return h(P)===L}K.AsyncMode=c,K.ConcurrentMode=F,K.ContextConsumer=k,K.ContextProvider=O,K.Element=J,K.ForwardRef=Z,K.Fragment=t1,K.Lazy=S1,K.Memo=m,K.Portal=w,K.Profiler=B,K.StrictMode=R,K.Suspense=_,K.isAsyncMode=V,K.isConcurrentMode=T,K.isContextConsumer=$,K.isContextProvider=X,K.isElement=z,K.isForwardRef=H1,K.isFragment=h1,K.isLazy=V2,K.isMemo=Gs,K.isPortal=$s,K.isProfiler=zs,K.isStrictMode=Ws,K.isSuspense=Ns,K.isValidElementType=E,K.typeOf=h;}();});var G9=t2((NF,U9)=>{process.env.NODE_ENV==="production"?U9.exports=Gt():U9.exports=$t();});var Nt=t2((XF,Wt)=>{var zt=Object.getOwnPropertySymbols,rf=Object.prototype.hasOwnProperty,nf=Object.prototype.propertyIsEnumerable;function af(C){if(C==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(C)}function sf(){try{if(!Object.assign)return !1;var C=new String("abc");if(C[5]="de",Object.getOwnPropertyNames(C)[0]==="5")return !1;for(var e={},t=0;t<10;t++)e["_"+String.fromCharCode(t)]=t;var o=Object.getOwnPropertyNames(e).map(function(n){return e[n]});if(o.join("")!=="0123456789")return !1;var r={};return "abcdefghijklmnopqrst".split("").forEach(function(n){r[n]=n;}),Object.keys(Object.assign({},r)).join("")==="abcdefghijklmnopqrst"}catch{return !1}}Wt.exports=sf()?Object.assign:function(C,e){for(var t,o=af(C),r,n=1;n<arguments.length;n++){t=Object(arguments[n]);for(var i in t)rf.call(t,i)&&(o[i]=t[i]);if(zt){r=zt(t);for(var a=0;a<r.length;a++)nf.call(t,r[a])&&(o[r[a]]=t[r[a]]);}}return o};});var N7=t2((JF,Xt)=>{var lf="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Xt.exports=lf;});var $9=t2((qF,Jt)=>{Jt.exports=Function.call.bind(Object.prototype.hasOwnProperty);});var jt=t2((YF,Qt)=>{var z9=function(){};process.env.NODE_ENV!=="production"&&(qt=N7(),X7={},Yt=$9(),z9=function(C){var e="Warning: "+C;typeof console<"u"&&console.error(e);try{throw new Error(e)}catch{}});var qt,X7,Yt;function Kt(C,e,t,o,r){if(process.env.NODE_ENV!=="production"){for(var n in C)if(Yt(C,n)){var i;try{if(typeof C[n]!="function"){var a=Error((o||"React class")+": "+t+" type `"+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof C[n]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw a.name="Invariant Violation",a}i=C[n](e,n,o,t,null,qt);}catch(l){i=l;}if(i&&!(i instanceof Error)&&z9((o||"React class")+": type specification of "+t+" `"+n+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in X7)){X7[i.message]=!0;var s=r?r():"";z9("Failed "+t+" type: "+i.message+(s??""));}}}}Kt.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(X7={});};Qt.exports=Kt;});var to=t2((KF,eo)=>{var pf=G9(),Lf=Nt(),K3=N7(),W9=$9(),Co=jt(),Q3=function(){};process.env.NODE_ENV!=="production"&&(Q3=function(C){var e="Warning: "+C;typeof console<"u"&&console.error(e);try{throw new Error(e)}catch{}});function J7(){return null}eo.exports=function(C,e){var t=typeof Symbol=="function"&&Symbol.iterator,o="@@iterator";function r(m){var w=m&&(t&&m[t]||m[o]);if(typeof w=="function")return w}var n="<<anonymous>>",i={array:p("array"),bigint:p("bigint"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:L(),arrayOf:d,element:f(),elementType:g(),instanceOf:x,node:E(),objectOf:A,oneOf:y,oneOfType:b,shape:c,exact:F};function a(m,w){return m===w?m!==0||1/m===1/w:m!==m&&w!==w}function s(m,w){this.message=m,this.data=w&&typeof w=="object"?w:{},this.stack="";}s.prototype=Error.prototype;function l(m){if(process.env.NODE_ENV!=="production")var w={},B=0;function R(D,V,T,$,X,z,H1){if($=$||n,z=z||T,H1!==K3){if(e){var h1=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h1.name="Invariant Violation",h1}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var V2=$+":"+T;!w[V2]&&B<3&&(Q3("You are manually calling a React.PropTypes validation function for the `"+z+"` prop on `"+$+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),w[V2]=!0,B++);}}return V[T]==null?D?V[T]===null?new s("The "+X+" `"+z+"` is marked as required "+("in `"+$+"`, but its value is `null`.")):new s("The "+X+" `"+z+"` is marked as required in "+("`"+$+"`, but its value is `undefined`.")):null:m(V,T,$,X,z)}var _=R.bind(null,!1);return _.isRequired=R.bind(null,!0),_}function p(m){function w(B,R,_,D,V,T){var $=B[R],X=J($);if(X!==m){var z=Z($);return new s("Invalid "+D+" `"+V+"` of type "+("`"+z+"` supplied to `"+_+"`, expected ")+("`"+m+"`."),{expectedType:m})}return null}return l(w)}function L(){return l(J7)}function d(m){function w(B,R,_,D,V){if(typeof m!="function")return new s("Property `"+V+"` of component `"+_+"` has invalid PropType notation inside arrayOf.");var T=B[R];if(!Array.isArray(T)){var $=J(T);return new s("Invalid "+D+" `"+V+"` of type "+("`"+$+"` supplied to `"+_+"`, expected an array."))}for(var X=0;X<T.length;X++){var z=m(T,X,_,D,V+"["+X+"]",K3);if(z instanceof Error)return z}return null}return l(w)}function f(){function m(w,B,R,_,D){var V=w[B];if(!C(V)){var T=J(V);return new s("Invalid "+_+" `"+D+"` of type "+("`"+T+"` supplied to `"+R+"`, expected a single ReactElement."))}return null}return l(m)}function g(){function m(w,B,R,_,D){var V=w[B];if(!pf.isValidElementType(V)){var T=J(V);return new s("Invalid "+_+" `"+D+"` of type "+("`"+T+"` supplied to `"+R+"`, expected a single ReactElement type."))}return null}return l(m)}function x(m){function w(B,R,_,D,V){if(!(B[R]instanceof m)){var T=m.name||n,$=S1(B[R]);return new s("Invalid "+D+" `"+V+"` of type "+("`"+$+"` supplied to `"+_+"`, expected ")+("instance of `"+T+"`."))}return null}return l(w)}function y(m){if(!Array.isArray(m))return process.env.NODE_ENV!=="production"&&(arguments.length>1?Q3("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):Q3("Invalid argument supplied to oneOf, expected an array.")),J7;function w(B,R,_,D,V){for(var T=B[R],$=0;$<m.length;$++)if(a(T,m[$]))return null;var X=JSON.stringify(m,function(H1,h1){var V2=Z(h1);return V2==="symbol"?String(h1):h1});return new s("Invalid "+D+" `"+V+"` of value `"+String(T)+"` "+("supplied to `"+_+"`, expected one of "+X+"."))}return l(w)}function A(m){function w(B,R,_,D,V){if(typeof m!="function")return new s("Property `"+V+"` of component `"+_+"` has invalid PropType notation inside objectOf.");var T=B[R],$=J(T);if($!=="object")return new s("Invalid "+D+" `"+V+"` of type "+("`"+$+"` supplied to `"+_+"`, expected an object."));for(var X in T)if(W9(T,X)){var z=m(T,X,_,D,V+"."+X,K3);if(z instanceof Error)return z}return null}return l(w)}function b(m){if(!Array.isArray(m))return process.env.NODE_ENV!=="production"&&Q3("Invalid argument supplied to oneOfType, expected an instance of array."),J7;for(var w=0;w<m.length;w++){var B=m[w];if(typeof B!="function")return Q3("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+t1(B)+" at index "+w+"."),J7}function R(_,D,V,T,$){for(var X=[],z=0;z<m.length;z++){var H1=m[z],h1=H1(_,D,V,T,$,K3);if(h1==null)return null;h1.data&&W9(h1.data,"expectedType")&&X.push(h1.data.expectedType);}var V2=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new s("Invalid "+T+" `"+$+"` supplied to "+("`"+V+"`"+V2+"."))}return l(R)}function E(){function m(w,B,R,_,D){return k(w[B])?null:new s("Invalid "+_+" `"+D+"` supplied to "+("`"+R+"`, expected a ReactNode."))}return l(m)}function h(m,w,B,R,_){return new s((m||"React class")+": "+w+" type `"+B+"."+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+_+"`.")}function c(m){function w(B,R,_,D,V){var T=B[R],$=J(T);if($!=="object")return new s("Invalid "+D+" `"+V+"` of type `"+$+"` "+("supplied to `"+_+"`, expected `object`."));for(var X in m){var z=m[X];if(typeof z!="function")return h(_,D,V,X,Z(z));var H1=z(T,X,_,D,V+"."+X,K3);if(H1)return H1}return null}return l(w)}function F(m){function w(B,R,_,D,V){var T=B[R],$=J(T);if($!=="object")return new s("Invalid "+D+" `"+V+"` of type `"+$+"` "+("supplied to `"+_+"`, expected `object`."));var X=Lf({},B[R],m);for(var z in X){var H1=m[z];if(W9(m,z)&&typeof H1!="function")return h(_,D,V,z,Z(H1));if(!H1)return new s("Invalid "+D+" `"+V+"` key `"+z+"` supplied to `"+_+"`.\nBad object: "+JSON.stringify(B[R],null," ")+`
54
- Valid keys: `+JSON.stringify(Object.keys(m),null," "));var h1=H1(T,z,_,D,V+"."+z,K3);if(h1)return h1}return null}return l(w)}function k(m){switch(typeof m){case"number":case"string":case"undefined":return !0;case"boolean":return !m;case"object":if(Array.isArray(m))return m.every(k);if(m===null||C(m))return !0;var w=r(m);if(w){var B=w.call(m),R;if(w!==m.entries){for(;!(R=B.next()).done;)if(!k(R.value))return !1}else for(;!(R=B.next()).done;){var _=R.value;if(_&&!k(_[1]))return !1}}else return !1;return !0;default:return !1}}function O(m,w){return m==="symbol"?!0:w?w["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&w instanceof Symbol:!1}function J(m){var w=typeof m;return Array.isArray(m)?"array":m instanceof RegExp?"object":O(w,m)?"symbol":w}function Z(m){if(typeof m>"u"||m===null)return ""+m;var w=J(m);if(w==="object"){if(m instanceof Date)return "date";if(m instanceof RegExp)return "regexp"}return w}function t1(m){var w=Z(m);switch(w){case"array":case"object":return "an "+w;case"boolean":case"date":case"regexp":return "a "+w;default:return w}}function S1(m){return !m.constructor||!m.constructor.name?n:m.constructor.name}return i.checkPropTypes=Co,i.resetWarningCache=Co.resetWarningCache,i.PropTypes=i,i};});var io=t2((QF,no)=>{var df=N7();function oo(){}function ro(){}ro.resetWarningCache=oo;no.exports=function(){function C(o,r,n,i,a,s){if(s!==df){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}C.isRequired=C;function e(){return C}var t={array:C,bigint:C,bool:C,func:C,number:C,object:C,string:C,symbol:C,any:C,arrayOf:e,element:C,elementType:C,instanceOf:e,node:C,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:ro,resetWarningCache:oo};return t.PropTypes=t,t};});var lo=t2((jF,N9)=>{process.env.NODE_ENV!=="production"?(ao=G9(),so=!0,N9.exports=to()(ao.isElement,so)):N9.exports=io()();var ao,so;});var ol={from:{opacity:0},to:{opacity:1}},rl={from:{transform:"translateY(50px)",opacity:0},to:{transform:"translateY(0)",opacity:1}},nl=(C,e,t)=>{if(e&&t)return {to:e,from:t};switch(C){case"fadeIn":return ol;case"slideIn":return rl;default:return {to:e,from:t}}},il=({children:C=null,delay:e=0,type:t="fadeIn",to:o=null,from:r=null,trigger:n=!0,disabled:i=!1,style:a={},config:s="default",animationProps:l={},...p})=>{let{to:L,from:d}=nl(t,o,r),f=web.useSpring({from:d,to:n?L:d,delay:e,config:web.config[s],...l});return i?jsxRuntime.jsx("div",{...p,children:C}):jsxRuntime.jsx(web.animated.div,{style:{...a,...f},...p,children:C})},o2=il;var Ll=g1__default.default(web.animated.div)`
53
+ var Xs=Object.create;var G6=Object.defineProperty;var Js=Object.getOwnPropertyDescriptor;var qs=Object.getOwnPropertyNames;var Ys=Object.getPrototypeOf,Ks=Object.prototype.hasOwnProperty;var t2=(C,e)=>()=>(e||C((e={exports:{}}).exports,e),e.exports);var Qs=(C,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of qs(e))!Ks.call(C,r)&&r!==t&&G6(C,r,{get:()=>e[r],enumerable:!(o=Js(e,r))||o.enumerable});return C};var js=(C,e,t)=>(t=C!=null?Xs(Ys(C)):{},Qs(e||!C||!C.__esModule?G6(t,"default",{value:C,enumerable:!0}):t,C));var Gt=t2(Y=>{var w1=typeof Symbol=="function"&&Symbol.for,T9=w1?Symbol.for("react.element"):60103,A9=w1?Symbol.for("react.portal"):60106,I7=w1?Symbol.for("react.fragment"):60107,O7=w1?Symbol.for("react.strict_mode"):60108,T7=w1?Symbol.for("react.profiler"):60114,A7=w1?Symbol.for("react.provider"):60109,R7=w1?Symbol.for("react.context"):60110,R9=w1?Symbol.for("react.async_mode"):60111,U7=w1?Symbol.for("react.concurrent_mode"):60111,G7=w1?Symbol.for("react.forward_ref"):60112,$7=w1?Symbol.for("react.suspense"):60113,jd=w1?Symbol.for("react.suspense_list"):60120,z7=w1?Symbol.for("react.memo"):60115,W7=w1?Symbol.for("react.lazy"):60116,Cf=w1?Symbol.for("react.block"):60121,ef=w1?Symbol.for("react.fundamental"):60117,tf=w1?Symbol.for("react.responder"):60118,of=w1?Symbol.for("react.scope"):60119;function I1(C){if(typeof C=="object"&&C!==null){var e=C.$$typeof;switch(e){case T9:switch(C=C.type,C){case R9:case U7:case I7:case T7:case O7:case $7:return C;default:switch(C=C&&C.$$typeof,C){case R7:case G7:case W7:case z7:case A7:return C;default:return e}}case A9:return e}}}function Ut(C){return I1(C)===U7}Y.AsyncMode=R9;Y.ConcurrentMode=U7;Y.ContextConsumer=R7;Y.ContextProvider=A7;Y.Element=T9;Y.ForwardRef=G7;Y.Fragment=I7;Y.Lazy=W7;Y.Memo=z7;Y.Portal=A9;Y.Profiler=T7;Y.StrictMode=O7;Y.Suspense=$7;Y.isAsyncMode=function(C){return Ut(C)||I1(C)===R9};Y.isConcurrentMode=Ut;Y.isContextConsumer=function(C){return I1(C)===R7};Y.isContextProvider=function(C){return I1(C)===A7};Y.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===T9};Y.isForwardRef=function(C){return I1(C)===G7};Y.isFragment=function(C){return I1(C)===I7};Y.isLazy=function(C){return I1(C)===W7};Y.isMemo=function(C){return I1(C)===z7};Y.isPortal=function(C){return I1(C)===A9};Y.isProfiler=function(C){return I1(C)===T7};Y.isStrictMode=function(C){return I1(C)===O7};Y.isSuspense=function(C){return I1(C)===$7};Y.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===I7||C===U7||C===T7||C===O7||C===$7||C===jd||typeof C=="object"&&C!==null&&(C.$$typeof===W7||C.$$typeof===z7||C.$$typeof===A7||C.$$typeof===R7||C.$$typeof===G7||C.$$typeof===ef||C.$$typeof===tf||C.$$typeof===of||C.$$typeof===Cf)};Y.typeOf=I1;});var $t=t2(K=>{process.env.NODE_ENV!=="production"&&function(){var C=typeof Symbol=="function"&&Symbol.for,e=C?Symbol.for("react.element"):60103,t=C?Symbol.for("react.portal"):60106,o=C?Symbol.for("react.fragment"):60107,r=C?Symbol.for("react.strict_mode"):60108,n=C?Symbol.for("react.profiler"):60114,i=C?Symbol.for("react.provider"):60109,a=C?Symbol.for("react.context"):60110,s=C?Symbol.for("react.async_mode"):60111,l=C?Symbol.for("react.concurrent_mode"):60111,p=C?Symbol.for("react.forward_ref"):60112,L=C?Symbol.for("react.suspense"):60113,d=C?Symbol.for("react.suspense_list"):60120,f=C?Symbol.for("react.memo"):60115,m=C?Symbol.for("react.lazy"):60116,y=C?Symbol.for("react.block"):60121,x=C?Symbol.for("react.fundamental"):60117,A=C?Symbol.for("react.responder"):60118,b=C?Symbol.for("react.scope"):60119;function E(P){return typeof P=="string"||typeof P=="function"||P===o||P===l||P===n||P===r||P===L||P===d||typeof P=="object"&&P!==null&&(P.$$typeof===m||P.$$typeof===f||P.$$typeof===i||P.$$typeof===a||P.$$typeof===p||P.$$typeof===x||P.$$typeof===A||P.$$typeof===b||P.$$typeof===y)}function h(P){if(typeof P=="object"&&P!==null){var E8=P.$$typeof;switch(E8){case e:var n7=P.type;switch(n7){case s:case l:case o:case n:case r:case L:return n7;default:var U6=n7&&n7.$$typeof;switch(U6){case a:case p:case m:case f:case i:return U6;default:return E8}}case t:return E8}}}var c=s,F=l,k=a,O=i,J=e,Z=p,t1=o,S1=m,g=f,w=t,B=n,R=r,_=L,D=!1;function V(P){return D||(D=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),T(P)||h(P)===s}function T(P){return h(P)===l}function $(P){return h(P)===a}function X(P){return h(P)===i}function z(P){return typeof P=="object"&&P!==null&&P.$$typeof===e}function H1(P){return h(P)===p}function h1(P){return h(P)===o}function V2(P){return h(P)===m}function Gs(P){return h(P)===f}function $s(P){return h(P)===t}function zs(P){return h(P)===n}function Ws(P){return h(P)===r}function Ns(P){return h(P)===L}K.AsyncMode=c,K.ConcurrentMode=F,K.ContextConsumer=k,K.ContextProvider=O,K.Element=J,K.ForwardRef=Z,K.Fragment=t1,K.Lazy=S1,K.Memo=g,K.Portal=w,K.Profiler=B,K.StrictMode=R,K.Suspense=_,K.isAsyncMode=V,K.isConcurrentMode=T,K.isContextConsumer=$,K.isContextProvider=X,K.isElement=z,K.isForwardRef=H1,K.isFragment=h1,K.isLazy=V2,K.isMemo=Gs,K.isPortal=$s,K.isProfiler=zs,K.isStrictMode=Ws,K.isSuspense=Ns,K.isValidElementType=E,K.typeOf=h;}();});var G9=t2((NF,U9)=>{process.env.NODE_ENV==="production"?U9.exports=Gt():U9.exports=$t();});var Nt=t2((XF,Wt)=>{var zt=Object.getOwnPropertySymbols,rf=Object.prototype.hasOwnProperty,nf=Object.prototype.propertyIsEnumerable;function af(C){if(C==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(C)}function sf(){try{if(!Object.assign)return !1;var C=new String("abc");if(C[5]="de",Object.getOwnPropertyNames(C)[0]==="5")return !1;for(var e={},t=0;t<10;t++)e["_"+String.fromCharCode(t)]=t;var o=Object.getOwnPropertyNames(e).map(function(n){return e[n]});if(o.join("")!=="0123456789")return !1;var r={};return "abcdefghijklmnopqrst".split("").forEach(function(n){r[n]=n;}),Object.keys(Object.assign({},r)).join("")==="abcdefghijklmnopqrst"}catch{return !1}}Wt.exports=sf()?Object.assign:function(C,e){for(var t,o=af(C),r,n=1;n<arguments.length;n++){t=Object(arguments[n]);for(var i in t)rf.call(t,i)&&(o[i]=t[i]);if(zt){r=zt(t);for(var a=0;a<r.length;a++)nf.call(t,r[a])&&(o[r[a]]=t[r[a]]);}}return o};});var N7=t2((JF,Xt)=>{var lf="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Xt.exports=lf;});var $9=t2((qF,Jt)=>{Jt.exports=Function.call.bind(Object.prototype.hasOwnProperty);});var jt=t2((YF,Qt)=>{var z9=function(){};process.env.NODE_ENV!=="production"&&(qt=N7(),X7={},Yt=$9(),z9=function(C){var e="Warning: "+C;typeof console<"u"&&console.error(e);try{throw new Error(e)}catch{}});var qt,X7,Yt;function Kt(C,e,t,o,r){if(process.env.NODE_ENV!=="production"){for(var n in C)if(Yt(C,n)){var i;try{if(typeof C[n]!="function"){var a=Error((o||"React class")+": "+t+" type `"+n+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof C[n]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw a.name="Invariant Violation",a}i=C[n](e,n,o,t,null,qt);}catch(l){i=l;}if(i&&!(i instanceof Error)&&z9((o||"React class")+": type specification of "+t+" `"+n+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof i+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),i instanceof Error&&!(i.message in X7)){X7[i.message]=!0;var s=r?r():"";z9("Failed "+t+" type: "+i.message+(s??""));}}}}Kt.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(X7={});};Qt.exports=Kt;});var to=t2((KF,eo)=>{var pf=G9(),Lf=Nt(),K3=N7(),W9=$9(),Co=jt(),Q3=function(){};process.env.NODE_ENV!=="production"&&(Q3=function(C){var e="Warning: "+C;typeof console<"u"&&console.error(e);try{throw new Error(e)}catch{}});function J7(){return null}eo.exports=function(C,e){var t=typeof Symbol=="function"&&Symbol.iterator,o="@@iterator";function r(g){var w=g&&(t&&g[t]||g[o]);if(typeof w=="function")return w}var n="<<anonymous>>",i={array:p("array"),bigint:p("bigint"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:L(),arrayOf:d,element:f(),elementType:m(),instanceOf:y,node:E(),objectOf:A,oneOf:x,oneOfType:b,shape:c,exact:F};function a(g,w){return g===w?g!==0||1/g===1/w:g!==g&&w!==w}function s(g,w){this.message=g,this.data=w&&typeof w=="object"?w:{},this.stack="";}s.prototype=Error.prototype;function l(g){if(process.env.NODE_ENV!=="production")var w={},B=0;function R(D,V,T,$,X,z,H1){if($=$||n,z=z||T,H1!==K3){if(e){var h1=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h1.name="Invariant Violation",h1}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var V2=$+":"+T;!w[V2]&&B<3&&(Q3("You are manually calling a React.PropTypes validation function for the `"+z+"` prop on `"+$+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),w[V2]=!0,B++);}}return V[T]==null?D?V[T]===null?new s("The "+X+" `"+z+"` is marked as required "+("in `"+$+"`, but its value is `null`.")):new s("The "+X+" `"+z+"` is marked as required in "+("`"+$+"`, but its value is `undefined`.")):null:g(V,T,$,X,z)}var _=R.bind(null,!1);return _.isRequired=R.bind(null,!0),_}function p(g){function w(B,R,_,D,V,T){var $=B[R],X=J($);if(X!==g){var z=Z($);return new s("Invalid "+D+" `"+V+"` of type "+("`"+z+"` supplied to `"+_+"`, expected ")+("`"+g+"`."),{expectedType:g})}return null}return l(w)}function L(){return l(J7)}function d(g){function w(B,R,_,D,V){if(typeof g!="function")return new s("Property `"+V+"` of component `"+_+"` has invalid PropType notation inside arrayOf.");var T=B[R];if(!Array.isArray(T)){var $=J(T);return new s("Invalid "+D+" `"+V+"` of type "+("`"+$+"` supplied to `"+_+"`, expected an array."))}for(var X=0;X<T.length;X++){var z=g(T,X,_,D,V+"["+X+"]",K3);if(z instanceof Error)return z}return null}return l(w)}function f(){function g(w,B,R,_,D){var V=w[B];if(!C(V)){var T=J(V);return new s("Invalid "+_+" `"+D+"` of type "+("`"+T+"` supplied to `"+R+"`, expected a single ReactElement."))}return null}return l(g)}function m(){function g(w,B,R,_,D){var V=w[B];if(!pf.isValidElementType(V)){var T=J(V);return new s("Invalid "+_+" `"+D+"` of type "+("`"+T+"` supplied to `"+R+"`, expected a single ReactElement type."))}return null}return l(g)}function y(g){function w(B,R,_,D,V){if(!(B[R]instanceof g)){var T=g.name||n,$=S1(B[R]);return new s("Invalid "+D+" `"+V+"` of type "+("`"+$+"` supplied to `"+_+"`, expected ")+("instance of `"+T+"`."))}return null}return l(w)}function x(g){if(!Array.isArray(g))return process.env.NODE_ENV!=="production"&&(arguments.length>1?Q3("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):Q3("Invalid argument supplied to oneOf, expected an array.")),J7;function w(B,R,_,D,V){for(var T=B[R],$=0;$<g.length;$++)if(a(T,g[$]))return null;var X=JSON.stringify(g,function(H1,h1){var V2=Z(h1);return V2==="symbol"?String(h1):h1});return new s("Invalid "+D+" `"+V+"` of value `"+String(T)+"` "+("supplied to `"+_+"`, expected one of "+X+"."))}return l(w)}function A(g){function w(B,R,_,D,V){if(typeof g!="function")return new s("Property `"+V+"` of component `"+_+"` has invalid PropType notation inside objectOf.");var T=B[R],$=J(T);if($!=="object")return new s("Invalid "+D+" `"+V+"` of type "+("`"+$+"` supplied to `"+_+"`, expected an object."));for(var X in T)if(W9(T,X)){var z=g(T,X,_,D,V+"."+X,K3);if(z instanceof Error)return z}return null}return l(w)}function b(g){if(!Array.isArray(g))return process.env.NODE_ENV!=="production"&&Q3("Invalid argument supplied to oneOfType, expected an instance of array."),J7;for(var w=0;w<g.length;w++){var B=g[w];if(typeof B!="function")return Q3("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+t1(B)+" at index "+w+"."),J7}function R(_,D,V,T,$){for(var X=[],z=0;z<g.length;z++){var H1=g[z],h1=H1(_,D,V,T,$,K3);if(h1==null)return null;h1.data&&W9(h1.data,"expectedType")&&X.push(h1.data.expectedType);}var V2=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new s("Invalid "+T+" `"+$+"` supplied to "+("`"+V+"`"+V2+"."))}return l(R)}function E(){function g(w,B,R,_,D){return k(w[B])?null:new s("Invalid "+_+" `"+D+"` supplied to "+("`"+R+"`, expected a ReactNode."))}return l(g)}function h(g,w,B,R,_){return new s((g||"React class")+": "+w+" type `"+B+"."+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+_+"`.")}function c(g){function w(B,R,_,D,V){var T=B[R],$=J(T);if($!=="object")return new s("Invalid "+D+" `"+V+"` of type `"+$+"` "+("supplied to `"+_+"`, expected `object`."));for(var X in g){var z=g[X];if(typeof z!="function")return h(_,D,V,X,Z(z));var H1=z(T,X,_,D,V+"."+X,K3);if(H1)return H1}return null}return l(w)}function F(g){function w(B,R,_,D,V){var T=B[R],$=J(T);if($!=="object")return new s("Invalid "+D+" `"+V+"` of type `"+$+"` "+("supplied to `"+_+"`, expected `object`."));var X=Lf({},B[R],g);for(var z in X){var H1=g[z];if(W9(g,z)&&typeof H1!="function")return h(_,D,V,z,Z(H1));if(!H1)return new s("Invalid "+D+" `"+V+"` key `"+z+"` supplied to `"+_+"`.\nBad object: "+JSON.stringify(B[R],null," ")+`
54
+ Valid keys: `+JSON.stringify(Object.keys(g),null," "));var h1=H1(T,z,_,D,V+"."+z,K3);if(h1)return h1}return null}return l(w)}function k(g){switch(typeof g){case"number":case"string":case"undefined":return !0;case"boolean":return !g;case"object":if(Array.isArray(g))return g.every(k);if(g===null||C(g))return !0;var w=r(g);if(w){var B=w.call(g),R;if(w!==g.entries){for(;!(R=B.next()).done;)if(!k(R.value))return !1}else for(;!(R=B.next()).done;){var _=R.value;if(_&&!k(_[1]))return !1}}else return !1;return !0;default:return !1}}function O(g,w){return g==="symbol"?!0:w?w["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&w instanceof Symbol:!1}function J(g){var w=typeof g;return Array.isArray(g)?"array":g instanceof RegExp?"object":O(w,g)?"symbol":w}function Z(g){if(typeof g>"u"||g===null)return ""+g;var w=J(g);if(w==="object"){if(g instanceof Date)return "date";if(g instanceof RegExp)return "regexp"}return w}function t1(g){var w=Z(g);switch(w){case"array":case"object":return "an "+w;case"boolean":case"date":case"regexp":return "a "+w;default:return w}}function S1(g){return !g.constructor||!g.constructor.name?n:g.constructor.name}return i.checkPropTypes=Co,i.resetWarningCache=Co.resetWarningCache,i.PropTypes=i,i};});var io=t2((QF,no)=>{var df=N7();function oo(){}function ro(){}ro.resetWarningCache=oo;no.exports=function(){function C(o,r,n,i,a,s){if(s!==df){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}C.isRequired=C;function e(){return C}var t={array:C,bigint:C,bool:C,func:C,number:C,object:C,string:C,symbol:C,any:C,arrayOf:e,element:C,elementType:C,instanceOf:e,node:C,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:ro,resetWarningCache:oo};return t.PropTypes=t,t};});var lo=t2((jF,N9)=>{process.env.NODE_ENV!=="production"?(ao=G9(),so=!0,N9.exports=to()(ao.isElement,so)):N9.exports=io()();var ao,so;});var ol={from:{opacity:0},to:{opacity:1}},rl={from:{transform:"translateY(50px)",opacity:0},to:{transform:"translateY(0)",opacity:1}},nl=(C,e,t)=>{if(e&&t)return {to:e,from:t};switch(C){case"fadeIn":return ol;case"slideIn":return rl;default:return {to:e,from:t}}},il=({children:C=null,delay:e=0,type:t="fadeIn",to:o=null,from:r=null,trigger:n=!0,disabled:i=!1,style:a={},config:s="default",animationProps:l={},...p})=>{let{to:L,from:d}=nl(t,o,r),f=web.useSpring({from:d,to:n?L:d,delay:e,config:web.config[s],...l});return i?jsxRuntime.jsx("div",{...p,children:C}):jsxRuntime.jsx(web.animated.div,{style:{...a,...f},...p,children:C})},o2=il;var Ll=g1__default.default(web.animated.div)`
55
55
  position: absolute;
56
56
  top: 1px;
57
57
  left: 0px;
@@ -202,6 +202,7 @@ Valid keys: `+JSON.stringify(Object.keys(m),null," "));var h1=H1(T,z,_,D,V+"."+
202
202
  }
203
203
  `,B4=g1__default.default(E4)`
204
204
  padding: 0;
205
+ height: auto;
205
206
 
206
207
  &&&:hover {
207
208
  background: transparent;
@@ -691,11 +692,11 @@ Valid keys: `+JSON.stringify(Object.keys(m),null," "));var h1=H1(T,z,_,D,V+"."+
691
692
  gap: 8px;
692
693
  margin-top: 6px;
693
694
  margin-bottom: ${({marginBottom:C})=>C}px;
694
- `,Kd=({children:C=null,text:e="This field is required",includeIcon:t=!0,marginBottom:o=0})=>jsxRuntime.jsxs(Yd,{marginBottom:o,children:[t&&jsxRuntime.jsx(I.ErrorExclamation,{}),jsxRuntime.jsx(u.Body,{size:"xs",color:"#DA4D54",children:C||e})]}),W=Kd;var x1=js(lo(),1);var po=[],j3="";function X9({previousConformedValue:C=j3,previousPlaceholder:e=j3,currentCaretPosition:t=0,conformedValue:o,rawValue:r,placeholderChar:n,placeholder:i,indexesOfPipedChars:a=po,caretTrapIndexes:s=po}){if(t===0||!r.length)return 0;let l=r.length,p=C.length,L=i.length,d=o.length,f=l-p,g=f>0,x=p===0;if(f>1&&!g&&!x)return t;let A=g&&(C===o||o===i),b=0,E,h;if(A)b=t-f;else {let c=o.toLowerCase(),O=r.toLowerCase().substr(0,t).split(j3).filter(V=>c.indexOf(V)!==-1);h=O[O.length-1];let J=e.substr(0,O.length).split(j3).filter(V=>V!==n).length,t1=i.substr(0,O.length).split(j3).filter(V=>V!==n).length!==J,S1=e[O.length-1]!==void 0&&i[O.length-2]!==void 0&&e[O.length-1]!==n&&e[O.length-1]!==i[O.length-1]&&e[O.length-1]===i[O.length-2];!g&&(t1||S1)&&J>0&&i.indexOf(h)>-1&&r[t]!==void 0&&(E=!0,h=r[t]);let w=a.map(V=>c[V]).filter(V=>V===h).length,B=O.filter(V=>V===h).length,_=i.substr(0,i.indexOf(n)).split(j3).filter((V,T)=>V===h&&r[T]!==V).length+B+w+(E?1:0),D=0;for(let V=0;V<d;V++){let T=c[V];if(b=V+1,T===h&&D++,D>=_)break}}if(g){let c=b;for(let F=b;F<=L;F++)if(i[F]===n&&(c=F),i[F]===n||s.indexOf(F)!==-1||F===L)return c}else if(E){for(let c=b-1;c>=0;c--)if(o[c]===h||s.indexOf(c)!==-1||c===0)return c}else for(let c=b;c>=0;c--)if(i[c-1]===n||s.indexOf(c)!==-1||c===0)return c}var C5="_",O5="function";var ff=[];function T5(C=ff,e=C5){if(!J9(C))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(C.indexOf(e)!==-1)throw new Error(`Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.
695
+ `,Kd=({children:C=null,text:e="This field is required",includeIcon:t=!0,marginBottom:o=0})=>jsxRuntime.jsxs(Yd,{marginBottom:o,children:[t&&jsxRuntime.jsx(I.ErrorExclamation,{}),jsxRuntime.jsx(u.Body,{size:"xs",color:"#DA4D54",children:C||e})]}),W=Kd;var x1=js(lo(),1);var po=[],j3="";function X9({previousConformedValue:C=j3,previousPlaceholder:e=j3,currentCaretPosition:t=0,conformedValue:o,rawValue:r,placeholderChar:n,placeholder:i,indexesOfPipedChars:a=po,caretTrapIndexes:s=po}){if(t===0||!r.length)return 0;let l=r.length,p=C.length,L=i.length,d=o.length,f=l-p,m=f>0,y=p===0;if(f>1&&!m&&!y)return t;let A=m&&(C===o||o===i),b=0,E,h;if(A)b=t-f;else {let c=o.toLowerCase(),O=r.toLowerCase().substr(0,t).split(j3).filter(V=>c.indexOf(V)!==-1);h=O[O.length-1];let J=e.substr(0,O.length).split(j3).filter(V=>V!==n).length,t1=i.substr(0,O.length).split(j3).filter(V=>V!==n).length!==J,S1=e[O.length-1]!==void 0&&i[O.length-2]!==void 0&&e[O.length-1]!==n&&e[O.length-1]!==i[O.length-1]&&e[O.length-1]===i[O.length-2];!m&&(t1||S1)&&J>0&&i.indexOf(h)>-1&&r[t]!==void 0&&(E=!0,h=r[t]);let w=a.map(V=>c[V]).filter(V=>V===h).length,B=O.filter(V=>V===h).length,_=i.substr(0,i.indexOf(n)).split(j3).filter((V,T)=>V===h&&r[T]!==V).length+B+w+(E?1:0),D=0;for(let V=0;V<d;V++){let T=c[V];if(b=V+1,T===h&&D++,D>=_)break}}if(m){let c=b;for(let F=b;F<=L;F++)if(i[F]===n&&(c=F),i[F]===n||s.indexOf(F)!==-1||F===L)return c}else if(E){for(let c=b-1;c>=0;c--)if(o[c]===h||s.indexOf(c)!==-1||c===0)return c}else for(let c=b;c>=0;c--)if(i[c-1]===n||s.indexOf(c)!==-1||c===0)return c}var C5="_",O5="function";var ff=[];function T5(C=ff,e=C5){if(!J9(C))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(C.indexOf(e)!==-1)throw new Error(`Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.
695
696
 
696
697
  The placeholder character that was received is: ${JSON.stringify(e)}
697
698
 
698
- The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instanceof RegExp?e:t).join("")}function J9(C){return Array.isArray&&Array.isArray(C)||C instanceof Array}function q9(C){return typeof C=="string"||C instanceof String}function Lo(C){return typeof C=="number"&&C.length===void 0&&!isNaN(C)}function A5(C){return typeof C>"u"||C===null}var cf="[]";function q7(C){let e=[],t;for(;t=C.indexOf(cf),t!==-1;)e.push(t),C.splice(t,1);return {maskWithoutCaretTraps:C,indexes:e}}var mf=[],v3="";function Y9(C=v3,e=mf,t={}){if(!J9(e))if(typeof e===O5)e=e(C,t),e=q7(e).maskWithoutCaretTraps;else throw new Error("Text-mask:conformToMask; The mask property must be an array.");let{guide:o=!0,previousConformedValue:r=v3,placeholderChar:n=C5,placeholder:i=T5(e,n),currentCaretPosition:a,keepCharPositions:s}=t,l=o===!1&&r!==void 0,p=C.length,L=r.length,d=i.length,f=e.length,g=p-L,x=g>0,y=a+(x?-g:0),A=y+Math.abs(g);if(s===!0&&!x){let c=v3;for(let F=y;F<A;F++)i[F]===n&&(c+=n);C=C.slice(0,y)+c+C.slice(y,p);}let b=C.split(v3).map((c,F)=>({char:c,isNew:F>=y&&F<A}));for(let c=p-1;c>=0;c--){let{char:F}=b[c];if(F!==n){let k=c>=y&&L===f;F===i[k?c-g:c]&&b.splice(c,1);}}let E=v3,h=!1;C:for(let c=0;c<d;c++){let F=i[c];if(F===n){if(b.length>0)for(;b.length>0;){let{char:k,isNew:O}=b.shift();if(k===n&&l!==!0){E+=n;continue C}else if(e[c].test(k)){if(s!==!0||O===!1||r===v3||o===!1||!x)E+=k;else {let J=b.length,Z=null;for(let t1=0;t1<J;t1++){let S1=b[t1];if(S1.char!==n&&S1.isNew===!1)break;if(S1.char===n){Z=t1;break}}Z!==null?(E+=k,b.splice(Z,1)):c--;}continue C}else h=!0;}l===!1&&(E+=i.substr(c,d));break}else E+=F;}if(l&&x===!1){let c=null;for(let F=0;F<E.length;F++)i[F]===n&&(c=F);c!==null?E=E.substr(0,c+1):E=v3;}return {conformedValue:E,meta:{someCharsRejected:h}}}var co="",fo="none",gf="object",hf=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),uf=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout;function K9(C){let e={previousConformedValue:void 0,previousPlaceholder:void 0};return {state:e,update(t,{inputElement:o,mask:r,guide:n,pipe:i,placeholderChar:a=C5,keepCharPositions:s=!1,showMask:l=!1}=C){if(typeof t>"u"&&(t=o.value),t===e.previousConformedValue)return;typeof r===gf&&r.pipe!==void 0&&r.mask!==void 0&&(i=r.pipe,r=r.mask);let p,L;if(r instanceof Array&&(p=T5(r,a)),r===!1)return;let d=xf(t),{selectionEnd:f}=o,{previousConformedValue:g,previousPlaceholder:x}=e,y;if(typeof r===O5){if(L=r(d,{currentCaretPosition:f,previousConformedValue:g,placeholderChar:a}),L===!1)return;let{maskWithoutCaretTraps:Z,indexes:t1}=q7(L);L=Z,y=t1,p=T5(L,a);}else L=r;let A={previousConformedValue:g,guide:n,placeholderChar:a,pipe:i,placeholder:p,currentCaretPosition:f,keepCharPositions:s},{conformedValue:b}=Y9(d,L,A),E=typeof i===O5,h={};E&&(h=i(b,{rawValue:d,...A}),h===!1?h={value:g,rejected:!0}:q9(h)&&(h={value:h}));let c=E?h.value:b,F=X9({previousConformedValue:g,previousPlaceholder:x,conformedValue:c,placeholder:p,rawValue:d,currentCaretPosition:f,placeholderChar:a,indexesOfPipedChars:h.indexesOfPipedChars,caretTrapIndexes:y}),J=c===p&&F===0?l?p:co:c;e.previousConformedValue=J,e.previousPlaceholder=p,o.value!==J&&(o.value=J,wf(o,F));}}}function wf(C,e){document.activeElement===C&&(hf?uf(()=>C.setSelectionRange(e,e,fo),0):C.setSelectionRange(e,e,fo));}function xf(C){if(q9(C))return C;if(Lo(C))return String(C);if(C==null)return co;throw new Error(`The 'value' provided to Text Mask needs to be a string or a number. The value received was:
699
+ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instanceof RegExp?e:t).join("")}function J9(C){return Array.isArray&&Array.isArray(C)||C instanceof Array}function q9(C){return typeof C=="string"||C instanceof String}function Lo(C){return typeof C=="number"&&C.length===void 0&&!isNaN(C)}function A5(C){return typeof C>"u"||C===null}var cf="[]";function q7(C){let e=[],t;for(;t=C.indexOf(cf),t!==-1;)e.push(t),C.splice(t,1);return {maskWithoutCaretTraps:C,indexes:e}}var mf=[],v3="";function Y9(C=v3,e=mf,t={}){if(!J9(e))if(typeof e===O5)e=e(C,t),e=q7(e).maskWithoutCaretTraps;else throw new Error("Text-mask:conformToMask; The mask property must be an array.");let{guide:o=!0,previousConformedValue:r=v3,placeholderChar:n=C5,placeholder:i=T5(e,n),currentCaretPosition:a,keepCharPositions:s}=t,l=o===!1&&r!==void 0,p=C.length,L=r.length,d=i.length,f=e.length,m=p-L,y=m>0,x=a+(y?-m:0),A=x+Math.abs(m);if(s===!0&&!y){let c=v3;for(let F=x;F<A;F++)i[F]===n&&(c+=n);C=C.slice(0,x)+c+C.slice(x,p);}let b=C.split(v3).map((c,F)=>({char:c,isNew:F>=x&&F<A}));for(let c=p-1;c>=0;c--){let{char:F}=b[c];if(F!==n){let k=c>=x&&L===f;F===i[k?c-m:c]&&b.splice(c,1);}}let E=v3,h=!1;C:for(let c=0;c<d;c++){let F=i[c];if(F===n){if(b.length>0)for(;b.length>0;){let{char:k,isNew:O}=b.shift();if(k===n&&l!==!0){E+=n;continue C}else if(e[c].test(k)){if(s!==!0||O===!1||r===v3||o===!1||!y)E+=k;else {let J=b.length,Z=null;for(let t1=0;t1<J;t1++){let S1=b[t1];if(S1.char!==n&&S1.isNew===!1)break;if(S1.char===n){Z=t1;break}}Z!==null?(E+=k,b.splice(Z,1)):c--;}continue C}else h=!0;}l===!1&&(E+=i.substr(c,d));break}else E+=F;}if(l&&y===!1){let c=null;for(let F=0;F<E.length;F++)i[F]===n&&(c=F);c!==null?E=E.substr(0,c+1):E=v3;}return {conformedValue:E,meta:{someCharsRejected:h}}}var co="",fo="none",gf="object",hf=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),uf=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout;function K9(C){let e={previousConformedValue:void 0,previousPlaceholder:void 0};return {state:e,update(t,{inputElement:o,mask:r,guide:n,pipe:i,placeholderChar:a=C5,keepCharPositions:s=!1,showMask:l=!1}=C){if(typeof t>"u"&&(t=o.value),t===e.previousConformedValue)return;typeof r===gf&&r.pipe!==void 0&&r.mask!==void 0&&(i=r.pipe,r=r.mask);let p,L;if(r instanceof Array&&(p=T5(r,a)),r===!1)return;let d=xf(t),{selectionEnd:f}=o,{previousConformedValue:m,previousPlaceholder:y}=e,x;if(typeof r===O5){if(L=r(d,{currentCaretPosition:f,previousConformedValue:m,placeholderChar:a}),L===!1)return;let{maskWithoutCaretTraps:Z,indexes:t1}=q7(L);L=Z,x=t1,p=T5(L,a);}else L=r;let A={previousConformedValue:m,guide:n,placeholderChar:a,pipe:i,placeholder:p,currentCaretPosition:f,keepCharPositions:s},{conformedValue:b}=Y9(d,L,A),E=typeof i===O5,h={};E&&(h=i(b,{rawValue:d,...A}),h===!1?h={value:m,rejected:!0}:q9(h)&&(h={value:h}));let c=E?h.value:b,F=X9({previousConformedValue:m,previousPlaceholder:y,conformedValue:c,placeholder:p,rawValue:d,currentCaretPosition:f,placeholderChar:a,indexesOfPipedChars:h.indexesOfPipedChars,caretTrapIndexes:x}),J=c===p&&F===0?l?p:co:c;e.previousConformedValue=J,e.previousPlaceholder=p,o.value!==J&&(o.value=J,wf(o,F));}}}function wf(C,e){document.activeElement===C&&(hf?uf(()=>C.setSelectionRange(e,e,fo),0):C.setSelectionRange(e,e,fo));}function xf(C){if(q9(C))return C;if(Lo(C))return String(C);if(C==null)return co;throw new Error(`The 'value' provided to Text Mask needs to be a string or a number. The value received was:
699
700
 
700
701
  ${JSON.stringify(C)}`)}var M3=class extends yf__default.default.PureComponent{constructor(...e){super(...e),this.setRef=this.setRef.bind(this),this.onBlur=this.onBlur.bind(this),this.onChange=this.onChange.bind(this);}setRef(e){this.inputElement=e;}initTextMask(){let{props:e,props:{value:t}}=this;this.textMaskInputElement=K9({inputElement:this.inputElement,...e}),this.textMaskInputElement.update(t);}componentDidMount(){this.initTextMask();}componentDidUpdate(e){let{value:t,pipe:o,mask:r,guide:n,placeholderChar:i,showMask:a}=this.props,s={guide:n,placeholderChar:i,showMask:a},l=typeof o=="function"&&typeof e.pipe=="function"?o.toString()!==e.pipe.toString():A5(o)&&!A5(e.pipe)||!A5(o)&&A5(e.pipe),p=r.toString()!==e.mask.toString(),L=Object.keys(s).some(f=>s[f]!==e[f])||p||l;(t!==this.inputElement.value||L)&&this.initTextMask();}render(){let{render:e,...t}=this.props;return delete t.mask,delete t.guide,delete t.pipe,delete t.placeholderChar,delete t.keepCharPositions,delete t.value,delete t.onBlur,delete t.onChange,delete t.showMask,e(this.setRef,{onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value,...t})}onChange(e){this.textMaskInputElement.update(),typeof this.props.onChange=="function"&&this.props.onChange(e);}onBlur(e){typeof this.props.onBlur=="function"&&this.props.onBlur(e);}};M3.propTypes={mask:x1.default.oneOfType([x1.default.array,x1.default.func,x1.default.bool,x1.default.shape({mask:x1.default.oneOfType([x1.default.array,x1.default.func]),pipe:x1.default.func})]).isRequired,guide:x1.default.bool,value:x1.default.oneOfType([x1.default.string,x1.default.number]),pipe:x1.default.func,placeholderChar:x1.default.string,keepCharPositions:x1.default.bool,showMask:x1.default.bool};M3.defaultProps={render:(C,e)=>jsxRuntime.jsx("input",{ref:C,...e})};var {TextArea:Hf}=antd.Input,mo=g1__default.default(web.animated.div)`
701
702
  position: absolute;
@@ -786,7 +787,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
786
787
  }
787
788
  `;g1__default.default(u.Body)`
788
789
  display: block;
789
- `;var xo=(s=>(s.Phone="phone",s.Currency="currency",s.Email="email",s.Zipcode="zipcode",s.SSN="SSN",s.Zip="SSN",s.MBI="MBI",s.Date="date",s))(xo||{}),yo=(o=>(o.City="city",o.Full="full",o.CityWithState="city_with_state",o))(yo||{});var vo=C=>{let e;switch(C){case"zipcode":e=[/\d/,/\d/,/\d/,/\d/,/\d/];break;case"phone":e=["(",/[1-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/];break;case"currency":e=textMaskAddons.createNumberMask({prefix:"$"});break;case"email":e=textMaskAddons.emailMask;break;default:e=[C];}return e};var Pf=({name:C,label:e=null,details:t=null,type:o="text",formOptions:r={},previewOnly:n=!1,textArea:i=!1,marginBottom:a=void 0,isLabelBold:s=!0,helpContent:l=void 0,helpLabel:p=void 0,format:L="",errorMessage:d="This field is required",...f})=>{let{control:g,formState:{errors:x}}=reactHookForm.useFormContext(),y=!!reactHookForm.get(x,C),A=x?.[C]?.message?.toString()||d,b=({field:E})=>i?jsxRuntime.jsx(wo,{...E,marginBottom:a,error:y,disabled:n,...f}):L?jsxRuntime.jsx(ho,{...E,mask:vo(L),guide:!1,disabled:n,type:o,error:y,...f}):jsxRuntime.jsx(go,{...E,disabled:n,type:o,error:y,...f});return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(N,{label:e,isLabelBold:s,required:!!r.required,details:t,helpLabel:p,helpContent:l}),jsxRuntime.jsxs(uo,{marginBottom:a,children:[jsxRuntime.jsx(reactHookForm.Controller,{render:b,name:C,rules:r,control:g}),jsxRuntime.jsx(mo,{children:y&&jsxRuntime.jsx(I.ErrorExclamation,{})})]}),y&&jsxRuntime.jsx(W,{text:A,includeIcon:!1})]})},t5=Pf;g1__default.default.div`
790
+ `;var xo=(s=>(s.Phone="phone",s.Currency="currency",s.Email="email",s.Zipcode="zipcode",s.SSN="SSN",s.Zip="SSN",s.MBI="MBI",s.Date="date",s))(xo||{}),yo=(o=>(o.City="city",o.Full="full",o.CityWithState="city_with_state",o))(yo||{});var vo=C=>{let e;switch(C){case"zipcode":e=[/\d/,/\d/,/\d/,/\d/,/\d/];break;case"phone":e=["(",/[1-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/];break;case"currency":e=textMaskAddons.createNumberMask({prefix:"$"});break;case"email":e=textMaskAddons.emailMask;break;default:e=[C];}return e};var Pf=({name:C,label:e=null,details:t=null,type:o="text",formOptions:r={},previewOnly:n=!1,textArea:i=!1,marginBottom:a=void 0,isLabelBold:s=!0,helpContent:l=void 0,helpLabel:p=void 0,format:L="",errorMessage:d="This field is required",...f})=>{let{control:m,formState:{errors:y}}=reactHookForm.useFormContext(),x=!!reactHookForm.get(y,C),A=y?.[C]?.message?.toString()||d,b=({field:E})=>i?jsxRuntime.jsx(wo,{...E,marginBottom:a,error:x,disabled:n,...f}):L?jsxRuntime.jsx(ho,{...E,mask:vo(L),guide:!1,disabled:n,type:o,error:x,...f}):jsxRuntime.jsx(go,{...E,disabled:n,type:o,error:x,...f});return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(N,{label:e,isLabelBold:s,required:!!r.required,details:t,helpLabel:p,helpContent:l}),jsxRuntime.jsxs(uo,{marginBottom:a,children:[jsxRuntime.jsx(reactHookForm.Controller,{render:b,name:C,rules:r,control:m}),jsxRuntime.jsx(mo,{children:x&&jsxRuntime.jsx(I.ErrorExclamation,{})})]}),x&&jsxRuntime.jsx(W,{text:A,includeIcon:!1})]})},t5=Pf;g1__default.default.div`
790
791
  margin-bottom: 32px;
791
792
  `;var bo=g1__default.default.div`
792
793
  display: ${C=>C.isColumns?"grid":"flex"};
@@ -1077,7 +1078,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1077
1078
  align-items: center;
1078
1079
  justify-content: center;
1079
1080
  padding-right: 1rem;
1080
- `;var No=({color:C="#5A5A5A",size:e=21})=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 21 21",fill:"none",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.19934 1.57751L2.02083 2.75603L5.4083 6.14349C5.09278 6.40498 4.78053 6.6858 4.47171 6.98444C3.7807 7.65269 3.15554 8.36611 2.60521 9.07983C2.27313 9.51051 2.03735 9.84931 1.90826 10.0511L1.62109 10.5001L1.90826 10.9491C2.03735 11.151 2.27313 11.4898 2.60521 11.9205C3.15554 12.6342 3.7807 13.3476 4.47171 14.0159C6.49722 15.9746 8.67067 17.1668 10.9436 17.1668C12.3777 17.1668 13.7721 16.6922 15.1148 15.85L18.6875 19.4227L19.866 18.2442L3.19934 1.57751ZM13.8974 14.6326L12.6379 13.3731C12.1421 13.6656 11.5639 13.8334 10.9466 13.8334C9.10567 13.8334 7.61328 12.341 7.61328 10.5C7.61328 9.88272 7.78109 9.30459 8.07359 8.80878L6.5933 7.3285C6.2705 7.58882 5.94924 7.87411 5.63032 8.18252C5.00182 8.79032 4.42895 9.44408 3.92508 10.0975C3.81626 10.2387 3.7157 10.3733 3.62376 10.5001C3.7157 10.627 3.81626 10.7616 3.92508 10.9028C4.42895 11.5562 5.00182 12.21 5.63032 12.8178C7.37487 14.5048 9.18939 15.5001 10.9436 15.5001C11.9171 15.5001 12.9091 15.1937 13.8974 14.6326ZM9.33572 10.0709C9.29934 10.2078 9.27995 10.3517 9.27995 10.5C9.27995 11.4205 10.0261 12.1667 10.9466 12.1667C11.095 12.1667 11.2388 12.1473 11.3758 12.1109L9.33572 10.0709ZM17.6889 13.7426L16.5104 12.5641C17.0388 12.0298 17.5246 11.4662 17.959 10.9027C18.0679 10.7616 18.1684 10.6269 18.2604 10.5001C18.1684 10.3733 18.0679 10.2387 17.959 10.0975C17.4552 9.44405 16.8823 8.79029 16.2538 8.1825C14.5093 6.49543 12.6947 5.50012 10.9405 5.50012C10.5052 5.50012 10.0663 5.56139 9.6256 5.6793L8.30729 4.36099C9.16766 4.01794 10.0464 3.83346 10.9405 3.83346C13.2135 3.83346 15.3869 5.02564 17.4124 6.98441C18.1034 7.65266 18.7286 8.36609 19.2789 9.07981C19.611 9.51049 19.8468 9.84928 19.9759 10.0511L20.263 10.5001L19.9759 10.9491C19.8468 11.151 19.611 11.4898 19.2789 11.9204C18.8029 12.5377 18.271 13.1548 17.6889 13.7426Z",fill:C})});var Xo=({color:C="#5A5A5A",size:e=21})=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e*.65,viewBox:"0 0 20 13",fill:"none",children:jsxRuntime.jsx("path",{d:"M9.94792 10.3334C10.9896 10.3334 11.875 9.96879 12.6042 9.23962C13.3333 8.51046 13.6979 7.62504 13.6979 6.58337C13.6979 5.54171 13.3333 4.65629 12.6042 3.92712C11.875 3.19796 10.9896 2.83337 9.94792 2.83337C8.90625 2.83337 8.02083 3.19796 7.29167 3.92712C6.5625 4.65629 6.19792 5.54171 6.19792 6.58337C6.19792 7.62504 6.5625 8.51046 7.29167 9.23962C8.02083 9.96879 8.90625 10.3334 9.94792 10.3334ZM9.94792 8.83337C9.32292 8.83337 8.79167 8.61462 8.35417 8.17712C7.91667 7.73962 7.69792 7.20837 7.69792 6.58337C7.69792 5.95837 7.91667 5.42712 8.35417 4.98962C8.79167 4.55212 9.32292 4.33337 9.94792 4.33337C10.5729 4.33337 11.1042 4.55212 11.5417 4.98962C11.9792 5.42712 12.1979 5.95837 12.1979 6.58337C12.1979 7.20837 11.9792 7.73962 11.5417 8.17712C11.1042 8.61462 10.5729 8.83337 9.94792 8.83337ZM9.94792 12.8334C7.92014 12.8334 6.07292 12.2674 4.40625 11.1355C2.73958 10.0035 1.53125 8.48615 0.78125 6.58337C1.53125 4.6806 2.73958 3.16324 4.40625 2.03129C6.07292 0.899346 7.92014 0.333374 9.94792 0.333374C11.9757 0.333374 13.8229 0.899346 15.4896 2.03129C17.1562 3.16324 18.3646 4.6806 19.1146 6.58337C18.3646 8.48615 17.1562 10.0035 15.4896 11.1355C13.8229 12.2674 11.9757 12.8334 9.94792 12.8334ZM9.94792 11.1667C11.5174 11.1667 12.9583 10.7535 14.2708 9.92712C15.5833 9.10073 16.5868 7.98615 17.2813 6.58337C16.5868 5.1806 15.5833 4.06601 14.2708 3.23962C12.9583 2.41323 11.5174 2.00004 9.94792 2.00004C8.37847 2.00004 6.9375 2.41323 5.625 3.23962C4.3125 4.06601 3.30903 5.1806 2.61458 6.58337C3.30903 7.98615 4.3125 9.10073 5.625 9.92712C6.9375 10.7535 8.37847 11.1667 9.94792 11.1667Z",fill:C})});var pc=({previewOnly:C=!1,format:e,onAccept:t=void 0,...o})=>{let[r,n]=yf.useState(!1),i=o?.status==="error",s=["SSN"].some(p=>p===e),l=(()=>{switch(e){case"phone":return "(000) 000-0000";case"MBI":return "****-***-****";case"date":return "00/00/0000";case"email":return /^\S*@?\S*$/;case"SSN":return [{mask:r?"000-00-0000":"XXX-XX-0000",definitions:{X:{mask:"0",displayChar:"\u25CF",placeholderChar:"#"}},lazy:!1,overwrite:"shift"}];case"SSN":return "00000";case"currency":return [{mask:"$num",lazy:!1,blocks:{num:{mask:Number,scale:2,thousandsSeparator:",",padFractionalZeros:!0,radix:".",mapToRadix:["."]}}}];default:return e}})();return jsxRuntime.jsxs($o,{children:[jsxRuntime.jsx(e8,{format:e,mask:l,unmask:!0,onAccept:t,disabled:C,error:i,...o}),i&&!s&&!!o?.suffix&&jsxRuntime.jsx(Wo,{children:o.suffix}),s&&jsxRuntime.jsx(zo,{onClick:()=>n(!r),children:r?jsxRuntime.jsx(Xo,{}):jsxRuntime.jsx(No,{})})]})},Jo=pc;var K2={Area:Ao,Text:Ro,Number:Uo,Password:Go,Mask:Jo};var qo=C=>{let e;switch(C){case"MBI":e={value:/^[1-9]{1}[^SLOIBZsloibz|^0-9]{1}[^SLOIBZsloibz]{1}[0-9]{1}-?[^SLOIBZsloibz|^0-9]{1}[^SLOIBZsloibz]{1}[0-9]{1}-?[^SLOIBZsloibz|^0-9]{1}[^SLOIBZsloibz|^0-9]{1}[0-9]{1}[0-9]{1}/g,message:"Invalid medicare number"};break;case"zipcode":e={value:/\d{5}/,message:"Invalid zipcode"};break;case"phone":e={value:/\d{10}/,message:"Invalid phone number"};break;case"SSN":e={value:/\d{9}/,message:"Invalid social security number"};break;case"currency":e={value:/\d*(?:\.\d{2})?/,message:"Invalid amount"};break;case"email":e={value:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,message:"Invalid email address"};break;default:e=C;}return e};var cc=({name:C,label:e=null,details:t=null,formOptions:o={},pattern:r=void 0,format:n=void 0,textArea:i=!1,password:a=!1,isLabelBold:s=!0,helpContent:l=void 0,helpLabel:p=void 0,errorMessage:L="This field is required",disableErrorState:d=!1,...f})=>{let{control:g,formState:{errors:x}}=reactHookForm.useFormContext(),y=d?!1:!!reactHookForm.get(x,C),A=reactHookForm.get(x,C)?.message?.toString()||L,b=({field:h})=>i?jsxRuntime.jsx(K2.Area,{status:y?"error":"",suffix:y?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...f,...h}):n?jsxRuntime.jsx(K2.Mask,{name:h.name,onBlur:h.onBlur,format:n,onAccept:c=>h.onChange(c),ref:h.ref,value:h.value,status:y?"error":"",suffix:y?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...f}):a?jsxRuntime.jsx(K2.Password,{status:y?"error":"",suffix:y?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...f,...h}):jsxRuntime.jsx(K2.Text,{status:y?"error":"",suffix:y?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...f,...h}),E=r?{pattern:qo(r)}:{};return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(N,{label:e,isLabelBold:s,required:!!o.required,details:t,helpLabel:p,helpContent:l}),jsxRuntime.jsx(To,{children:jsxRuntime.jsx(reactHookForm.Controller,{render:b,name:C,rules:{...E,...o},control:g})}),y&&jsxRuntime.jsx(W,{text:A,includeIcon:!1})]})},o8=cc;var uc=({label:C=null,isLabelBold:e=!0,name:t,disabled:o=!1,defaultValue:r=void 0,formOptions:n={},errorMessage:i="This field is required.",options:a={},style:s={},...l})=>{let{control:p,formState:{errors:L}}=reactHookForm.useFormContext(),d=!!reactHookForm.get(L,t),f=reactHookForm.get(L,t)?.message?.toString()||i;return jsxRuntime.jsxs("div",{style:s,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:e,required:!!n.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:g})=>jsxRuntime.jsx(K2.Number,{disabled:o,status:d?"error":"",suffix:d?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...l,...g}),name:t,defaultValue:r,rules:n,control:p,...a}),d&&jsxRuntime.jsx(W,{text:f,includeIcon:!1})]})},Qo=uc;var jo=g1__default.default.div`
1081
+ `;var No=({color:C="#5A5A5A",size:e=21})=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,viewBox:"0 0 21 21",fill:"none",children:jsxRuntime.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.19934 1.57751L2.02083 2.75603L5.4083 6.14349C5.09278 6.40498 4.78053 6.6858 4.47171 6.98444C3.7807 7.65269 3.15554 8.36611 2.60521 9.07983C2.27313 9.51051 2.03735 9.84931 1.90826 10.0511L1.62109 10.5001L1.90826 10.9491C2.03735 11.151 2.27313 11.4898 2.60521 11.9205C3.15554 12.6342 3.7807 13.3476 4.47171 14.0159C6.49722 15.9746 8.67067 17.1668 10.9436 17.1668C12.3777 17.1668 13.7721 16.6922 15.1148 15.85L18.6875 19.4227L19.866 18.2442L3.19934 1.57751ZM13.8974 14.6326L12.6379 13.3731C12.1421 13.6656 11.5639 13.8334 10.9466 13.8334C9.10567 13.8334 7.61328 12.341 7.61328 10.5C7.61328 9.88272 7.78109 9.30459 8.07359 8.80878L6.5933 7.3285C6.2705 7.58882 5.94924 7.87411 5.63032 8.18252C5.00182 8.79032 4.42895 9.44408 3.92508 10.0975C3.81626 10.2387 3.7157 10.3733 3.62376 10.5001C3.7157 10.627 3.81626 10.7616 3.92508 10.9028C4.42895 11.5562 5.00182 12.21 5.63032 12.8178C7.37487 14.5048 9.18939 15.5001 10.9436 15.5001C11.9171 15.5001 12.9091 15.1937 13.8974 14.6326ZM9.33572 10.0709C9.29934 10.2078 9.27995 10.3517 9.27995 10.5C9.27995 11.4205 10.0261 12.1667 10.9466 12.1667C11.095 12.1667 11.2388 12.1473 11.3758 12.1109L9.33572 10.0709ZM17.6889 13.7426L16.5104 12.5641C17.0388 12.0298 17.5246 11.4662 17.959 10.9027C18.0679 10.7616 18.1684 10.6269 18.2604 10.5001C18.1684 10.3733 18.0679 10.2387 17.959 10.0975C17.4552 9.44405 16.8823 8.79029 16.2538 8.1825C14.5093 6.49543 12.6947 5.50012 10.9405 5.50012C10.5052 5.50012 10.0663 5.56139 9.6256 5.6793L8.30729 4.36099C9.16766 4.01794 10.0464 3.83346 10.9405 3.83346C13.2135 3.83346 15.3869 5.02564 17.4124 6.98441C18.1034 7.65266 18.7286 8.36609 19.2789 9.07981C19.611 9.51049 19.8468 9.84928 19.9759 10.0511L20.263 10.5001L19.9759 10.9491C19.8468 11.151 19.611 11.4898 19.2789 11.9204C18.8029 12.5377 18.271 13.1548 17.6889 13.7426Z",fill:C})});var Xo=({color:C="#5A5A5A",size:e=21})=>jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e*.65,viewBox:"0 0 20 13",fill:"none",children:jsxRuntime.jsx("path",{d:"M9.94792 10.3334C10.9896 10.3334 11.875 9.96879 12.6042 9.23962C13.3333 8.51046 13.6979 7.62504 13.6979 6.58337C13.6979 5.54171 13.3333 4.65629 12.6042 3.92712C11.875 3.19796 10.9896 2.83337 9.94792 2.83337C8.90625 2.83337 8.02083 3.19796 7.29167 3.92712C6.5625 4.65629 6.19792 5.54171 6.19792 6.58337C6.19792 7.62504 6.5625 8.51046 7.29167 9.23962C8.02083 9.96879 8.90625 10.3334 9.94792 10.3334ZM9.94792 8.83337C9.32292 8.83337 8.79167 8.61462 8.35417 8.17712C7.91667 7.73962 7.69792 7.20837 7.69792 6.58337C7.69792 5.95837 7.91667 5.42712 8.35417 4.98962C8.79167 4.55212 9.32292 4.33337 9.94792 4.33337C10.5729 4.33337 11.1042 4.55212 11.5417 4.98962C11.9792 5.42712 12.1979 5.95837 12.1979 6.58337C12.1979 7.20837 11.9792 7.73962 11.5417 8.17712C11.1042 8.61462 10.5729 8.83337 9.94792 8.83337ZM9.94792 12.8334C7.92014 12.8334 6.07292 12.2674 4.40625 11.1355C2.73958 10.0035 1.53125 8.48615 0.78125 6.58337C1.53125 4.6806 2.73958 3.16324 4.40625 2.03129C6.07292 0.899346 7.92014 0.333374 9.94792 0.333374C11.9757 0.333374 13.8229 0.899346 15.4896 2.03129C17.1562 3.16324 18.3646 4.6806 19.1146 6.58337C18.3646 8.48615 17.1562 10.0035 15.4896 11.1355C13.8229 12.2674 11.9757 12.8334 9.94792 12.8334ZM9.94792 11.1667C11.5174 11.1667 12.9583 10.7535 14.2708 9.92712C15.5833 9.10073 16.5868 7.98615 17.2813 6.58337C16.5868 5.1806 15.5833 4.06601 14.2708 3.23962C12.9583 2.41323 11.5174 2.00004 9.94792 2.00004C8.37847 2.00004 6.9375 2.41323 5.625 3.23962C4.3125 4.06601 3.30903 5.1806 2.61458 6.58337C3.30903 7.98615 4.3125 9.10073 5.625 9.92712C6.9375 10.7535 8.37847 11.1667 9.94792 11.1667Z",fill:C})});var pc=({previewOnly:C=!1,format:e,onAccept:t=void 0,...o})=>{let[r,n]=yf.useState(!1),i=o?.status==="error",s=["SSN"].some(p=>p===e),l=(()=>{switch(e){case"phone":return "(000) 000-0000";case"MBI":return "****-***-****";case"date":return "00/00/0000";case"email":return /^\S*@?\S*$/;case"SSN":return [{mask:r?"000-00-0000":"XXX-XX-0000",definitions:{X:{mask:"0",displayChar:"\u25CF",placeholderChar:"#"}},lazy:!1,overwrite:"shift"}];case"SSN":return "00000";case"currency":return [{mask:"$num",lazy:!1,blocks:{num:{mask:Number,scale:2,thousandsSeparator:",",padFractionalZeros:!0,radix:".",mapToRadix:["."]}}}];default:return e}})();return jsxRuntime.jsxs($o,{children:[jsxRuntime.jsx(e8,{format:e,mask:l,unmask:!0,onAccept:t,disabled:C,error:i,...o}),i&&!s&&!!o?.suffix&&jsxRuntime.jsx(Wo,{children:o.suffix}),s&&jsxRuntime.jsx(zo,{onClick:()=>n(!r),children:r?jsxRuntime.jsx(Xo,{}):jsxRuntime.jsx(No,{})})]})},Jo=pc;var K2={Area:Ao,Text:Ro,Number:Uo,Password:Go,Mask:Jo};var qo=C=>{let e;switch(C){case"MBI":e={value:/^[1-9]{1}[^SLOIBZsloibz|^0-9]{1}[^SLOIBZsloibz]{1}[0-9]{1}-?[^SLOIBZsloibz|^0-9]{1}[^SLOIBZsloibz]{1}[0-9]{1}-?[^SLOIBZsloibz|^0-9]{1}[^SLOIBZsloibz|^0-9]{1}[0-9]{1}[0-9]{1}/g,message:"Invalid medicare number"};break;case"zipcode":e={value:/\d{5}/,message:"Invalid zipcode"};break;case"phone":e={value:/\d{10}/,message:"Invalid phone number"};break;case"SSN":e={value:/\d{9}/,message:"Invalid social security number"};break;case"currency":e={value:/\d*(?:\.\d{2})?/,message:"Invalid amount"};break;case"email":e={value:/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,message:"Invalid email address"};break;default:e=C;}return e};var cc=({name:C,label:e=null,details:t=null,formOptions:o={},pattern:r=void 0,format:n=void 0,textArea:i=!1,password:a=!1,isLabelBold:s=!0,helpContent:l=void 0,helpLabel:p=void 0,errorMessage:L="This field is required",disableErrorState:d=!1,...f})=>{let{control:m,formState:{errors:y}}=reactHookForm.useFormContext(),x=d?!1:!!reactHookForm.get(y,C),A=reactHookForm.get(y,C)?.message?.toString()||L,b=({field:h})=>i?jsxRuntime.jsx(K2.Area,{status:x?"error":"",suffix:x?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...f,...h}):n?jsxRuntime.jsx(K2.Mask,{name:h.name,onBlur:h.onBlur,format:n,onAccept:c=>h.onChange(c),ref:h.ref,value:h.value,status:x?"error":"",suffix:x?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...f}):a?jsxRuntime.jsx(K2.Password,{status:x?"error":"",suffix:x?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...f,...h}):jsxRuntime.jsx(K2.Text,{status:x?"error":"",suffix:x?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...f,...h}),E=r?{pattern:qo(r)}:{};return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(N,{label:e,isLabelBold:s,required:!!o.required,details:t,helpLabel:p,helpContent:l}),jsxRuntime.jsx(To,{children:jsxRuntime.jsx(reactHookForm.Controller,{render:b,name:C,rules:{...E,...o},control:m})}),x&&jsxRuntime.jsx(W,{text:A,includeIcon:!1})]})},o8=cc;var uc=({label:C=null,isLabelBold:e=!0,name:t,disabled:o=!1,defaultValue:r=void 0,formOptions:n={},errorMessage:i="This field is required.",options:a={},style:s={},...l})=>{let{control:p,formState:{errors:L}}=reactHookForm.useFormContext(),d=!!reactHookForm.get(L,t),f=reactHookForm.get(L,t)?.message?.toString()||i;return jsxRuntime.jsxs("div",{style:s,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:e,required:!!n.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:m})=>jsxRuntime.jsx(K2.Number,{disabled:o,status:d?"error":"",suffix:d?jsxRuntime.jsx(I.ErrorExclamation,{}):null,...l,...m}),name:t,defaultValue:r,rules:n,control:p,...a}),d&&jsxRuntime.jsx(W,{text:f,includeIcon:!1})]})},Qo=uc;var jo=g1__default.default.div`
1081
1082
  position: relative;
1082
1083
  margin-bottom: 24px;
1083
1084
 
@@ -1140,7 +1141,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1140
1141
  padding: 12px 6px;
1141
1142
  height: 57px;
1142
1143
  border-bottom: 1px solid #000;
1143
- `;var vc=({label:C="",name:e,formOptions:t={},description:o="",previewOnly:r=!1,errorMessage:n=void 0,signatureType:i=void 0,date:a=void 0,isAdvocate:s=!1,showIcon:l=!0,formStyle:p="MINIMAL",...L})=>{let{control:d,formState:{errors:f}}=reactHookForm.useFormContext(),g=i==="advocate"?"Advocate":"Client",x=s&&i==="advocate"||!s&&i==="client",y=({field:E})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(Cr,{previewOnly:r,children:[l&&jsxRuntime.jsx(B7,{}),jsxRuntime.jsx(nr,{...E,...L})]}),jsxRuntime.jsx("label",{htmlFor:e,children:jsxRuntime.jsx(u.Body,{children:C})})]}),A=a?new Date(a).toLocaleDateString():"",b=({field:E})=>jsxRuntime.jsx(er,{children:jsxRuntime.jsxs(tr,{children:[jsxRuntime.jsxs(or,{children:[jsxRuntime.jsx(ir,{...E,...L,placeholder:`${g} Signature`,disabled:r||!x,hasError:!!f[e]}),jsxRuntime.jsx(j9,{children:`${g}`}),f[e]&&jsxRuntime.jsx(W,{text:n,includeIcon:!1})]}),jsxRuntime.jsxs(rr,{children:[jsxRuntime.jsx(ar,{children:A}),jsxRuntime.jsx(j9,{children:"Date"})]})]})});return jsxRuntime.jsxs(jo,{previewOnly:r,children:[(C||i)&&jsxRuntime.jsx(N,{label:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[i&&`${g} `,C]}),required:!0,isLabelBold:!0}),o,jsxRuntime.jsx(reactHookForm.Controller,{render:p==="MINIMAL"?y:b,name:e,rules:t,control:d})]})},lr=vc;var Lr=g1__default.default(antd.Radio)`
1144
+ `;var vc=({label:C="",name:e,formOptions:t={},description:o="",previewOnly:r=!1,errorMessage:n=void 0,signatureType:i=void 0,date:a=void 0,isAdvocate:s=!1,showIcon:l=!0,formStyle:p="MINIMAL",...L})=>{let{control:d,formState:{errors:f}}=reactHookForm.useFormContext(),m=i==="advocate"?"Advocate":"Client",y=s&&i==="advocate"||!s&&i==="client",x=({field:E})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(Cr,{previewOnly:r,children:[l&&jsxRuntime.jsx(B7,{}),jsxRuntime.jsx(nr,{...E,...L})]}),jsxRuntime.jsx("label",{htmlFor:e,children:jsxRuntime.jsx(u.Body,{children:C})})]}),A=a?new Date(a).toLocaleDateString():"",b=({field:E})=>jsxRuntime.jsx(er,{children:jsxRuntime.jsxs(tr,{children:[jsxRuntime.jsxs(or,{children:[jsxRuntime.jsx(ir,{...E,...L,placeholder:`${m} Signature`,disabled:r||!y,hasError:!!f[e]}),jsxRuntime.jsx(j9,{children:`${m}`}),f[e]&&jsxRuntime.jsx(W,{text:n,includeIcon:!1})]}),jsxRuntime.jsxs(rr,{children:[jsxRuntime.jsx(ar,{children:A}),jsxRuntime.jsx(j9,{children:"Date"})]})]})});return jsxRuntime.jsxs(jo,{previewOnly:r,children:[(C||i)&&jsxRuntime.jsx(N,{label:jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[i&&`${m} `,C]}),required:!0,isLabelBold:!0}),o,jsxRuntime.jsx(reactHookForm.Controller,{render:p==="MINIMAL"?x:b,name:e,rules:t,control:d})]})},lr=vc;var Lr=g1__default.default(antd.Radio)`
1144
1145
  width: 100%;
1145
1146
  height: 100%;
1146
1147
  z-index: 2;
@@ -1447,7 +1448,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1447
1448
  display: flex;
1448
1449
  flex-flow: column;
1449
1450
  gap: var(--spacing-m, 1rem);
1450
- `;var r8=({option:C,name:e,inline:t,previewOnly:o=!1,hasError:r=!1,formOptions:n={},...i})=>{let{register:a}=reactHookForm.useFormContext();return jsxRuntime.jsxs(wr,{inline:t,children:[jsxRuntime.jsx(xr,{type:"radio",...a(e,n),value:C.value,previewOnly:o,disabled:o,hasError:r,...i}),jsxRuntime.jsx("label",{htmlFor:e,children:jsxRuntime.jsx(u.Body,{children:C.label})})]})},Fr=({name:C,label:e,details:t="",options:o=[],inline:r=!1,allowOther:n=!1,previewOnly:i=!1,formOptions:a={},errorMessage:s=void 0,...l})=>{let{formState:{errors:p}}=reactHookForm.useFormContext(),L=!!reactHookForm.get(p,C);return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(N,{label:e,required:!!a.required,isLabelBold:!0,details:t}),jsxRuntime.jsxs(ur,{inline:r,isColumns:o.length>5,children:[o.map(d=>jsxRuntime.jsx(r8,{option:d,name:C,inline:r,previewOnly:i,formOptions:a,...l,hasError:L},`${C}-${d.value}`)),n&&jsxRuntime.jsxs(yr,{children:[jsxRuntime.jsx(r8,{option:{label:"Other",value:"other"},name:C,inline:r,...l},C),jsxRuntime.jsx(t5,{name:`${C}_other`,...l})]})]}),L&&jsxRuntime.jsx(W,{text:s,includeIcon:!1})]})},Ac=({option:C,name:e,formOptions:t})=>{let{register:o,watch:r,formState:n}=reactHookForm.useFormContext(),i=r(e)===C.value;return jsxRuntime.jsxs(vr,{selected:i,hasError:!!n.errors[e],disabled:C.disabled||!1,children:[jsxRuntime.jsxs(Mr,{children:[jsxRuntime.jsxs(Hr,{selected:i,children:[C.icon||null,C.label]}),jsxRuntime.jsx(br,{type:"radio",value:C.value,...o(e,t)})]}),C.description&&jsxRuntime.jsx(kr,{selected:i,children:C.description})]})},Dr=({name:C,label:e=null,className:t="",options:o,formOptions:r={},id:n=""})=>jsxRuntime.jsxs(e6,{className:t,id:n,children:[e&&jsxRuntime.jsx(t6,{size:"lg",children:e}),jsxRuntime.jsx("div",{children:o.map(i=>jsxRuntime.jsx(Ac,{option:i,name:C,formOptions:r},`${i.label}-${i.value}`))})]}),Rc=({option:C,name:e,formOptions:t,showCaret:o=!1,onClick:r=void 0,onMouseEnter:n=()=>null,onMouseLeave:i=()=>null})=>{let{register:a,watch:s}=reactHookForm.useFormContext(),l=s(e)===C.value,[p,L]=yf.useState(!1),d=q8[C.icon],f=web.useSpring(p?{transform:"translate(8px, 0px)"}:{transform:"translate(0px, 0px)"}),g=()=>{L(!0),n(C.value);},x=()=>{L(!1),i(C.value);};return jsxRuntime.jsxs("div",{style:{position:"relative"},children:[jsxRuntime.jsx(Zr,{type:"radio",onClick:y=>r?r(y.currentTarget.value):null,value:C.value,...a(e,t),onMouseEnter:g,onMouseLeave:x}),jsxRuntime.jsxs(Vr,{selected:l,children:[jsxRuntime.jsxs(antd.Flex,{align:"center",gap:16,children:[jsxRuntime.jsx(_r,{children:jsxRuntime.jsx(d,{active:l||p})}),jsxRuntime.jsxs("div",{style:{display:"flex",gap:4,flexDirection:"column"},children:[jsxRuntime.jsx(Pr,{children:C.label}),C?.description&&jsxRuntime.jsx(Er,{children:C.description})]})]}),o&&jsxRuntime.jsx(Sr,{style:f,children:jsxRuntime.jsx(I.Caret,{direction:"right",color:l||p?"#285E50":"#7F7F7F"})})]})]})},Ir=({name:C,label:e=null,className:t="",options:o,onClick:r=void 0,onMouseEnter:n=()=>null,onMouseLeave:i=()=>null,showCaret:a=!1,formOptions:s={}})=>jsxRuntime.jsxs(e6,{className:t,children:[e&&jsxRuntime.jsx(t6,{size:"lg",children:e}),jsxRuntime.jsx(Br,{children:o.map(l=>jsxRuntime.jsx(Rc,{option:l,name:C,onClick:r,onMouseEnter:n,onMouseLeave:i,formOptions:s,showCaret:a},`${l.label}-${l.value}`))})]}),Or=({options:C,name:e,formOptions:t=void 0,disabled:o=!1,errorMessage:r=void 0,onChange:n=()=>null})=>{let{control:i,formState:a}=reactHookForm.useFormContext(),s=!!a.errors[e];return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(reactHookForm.Controller,{rules:t,control:i,name:e,render:({field:l})=>jsxRuntime.jsx(C6,{options:C,disabled:o,...l,onChange:p=>{l.onChange(p),n(p.target.value);}})}),s&&jsxRuntime.jsx(W,{text:r,includeIcon:!1})]})};var Tr=g1__default.default.div`
1451
+ `;var r8=({option:C,name:e,inline:t,previewOnly:o=!1,hasError:r=!1,formOptions:n={},...i})=>{let{register:a}=reactHookForm.useFormContext();return jsxRuntime.jsxs(wr,{inline:t,children:[jsxRuntime.jsx(xr,{type:"radio",...a(e,n),value:C.value,previewOnly:o,disabled:o,hasError:r,...i}),jsxRuntime.jsx("label",{htmlFor:e,children:jsxRuntime.jsx(u.Body,{children:C.label})})]})},Fr=({name:C,label:e,details:t="",options:o=[],inline:r=!1,allowOther:n=!1,previewOnly:i=!1,formOptions:a={},errorMessage:s=void 0,...l})=>{let{formState:{errors:p}}=reactHookForm.useFormContext(),L=!!reactHookForm.get(p,C);return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(N,{label:e,required:!!a.required,isLabelBold:!0,details:t}),jsxRuntime.jsxs(ur,{inline:r,isColumns:o.length>5,children:[o.map(d=>jsxRuntime.jsx(r8,{option:d,name:C,inline:r,previewOnly:i,formOptions:a,...l,hasError:L},`${C}-${d.value}`)),n&&jsxRuntime.jsxs(yr,{children:[jsxRuntime.jsx(r8,{option:{label:"Other",value:"other"},name:C,inline:r,...l},C),jsxRuntime.jsx(t5,{name:`${C}_other`,...l})]})]}),L&&jsxRuntime.jsx(W,{text:s,includeIcon:!1})]})},Ac=({option:C,name:e,formOptions:t})=>{let{register:o,watch:r,formState:n}=reactHookForm.useFormContext(),i=r(e)===C.value;return jsxRuntime.jsxs(vr,{selected:i,hasError:!!n.errors[e],disabled:C.disabled||!1,children:[jsxRuntime.jsxs(Mr,{children:[jsxRuntime.jsxs(Hr,{selected:i,children:[C.icon||null,C.label]}),jsxRuntime.jsx(br,{type:"radio",value:C.value,...o(e,t)})]}),C.description&&jsxRuntime.jsx(kr,{selected:i,children:C.description})]})},Dr=({name:C,label:e=null,className:t="",options:o,formOptions:r={},id:n=""})=>jsxRuntime.jsxs(e6,{className:t,id:n,children:[e&&jsxRuntime.jsx(t6,{size:"lg",children:e}),jsxRuntime.jsx("div",{children:o.map(i=>jsxRuntime.jsx(Ac,{option:i,name:C,formOptions:r},`${i.label}-${i.value}`))})]}),Rc=({option:C,name:e,formOptions:t,showCaret:o=!1,onClick:r=void 0,onMouseEnter:n=()=>null,onMouseLeave:i=()=>null})=>{let{register:a,watch:s}=reactHookForm.useFormContext(),l=s(e)===C.value,[p,L]=yf.useState(!1),d=q8[C.icon],f=web.useSpring(p?{transform:"translate(8px, 0px)"}:{transform:"translate(0px, 0px)"}),m=()=>{L(!0),n(C.value);},y=()=>{L(!1),i(C.value);};return jsxRuntime.jsxs("div",{style:{position:"relative"},children:[jsxRuntime.jsx(Zr,{type:"radio",onClick:x=>r?r(x.currentTarget.value):null,value:C.value,...a(e,t),onMouseEnter:m,onMouseLeave:y}),jsxRuntime.jsxs(Vr,{selected:l,children:[jsxRuntime.jsxs(antd.Flex,{align:"center",gap:16,children:[jsxRuntime.jsx(_r,{children:jsxRuntime.jsx(d,{active:l||p})}),jsxRuntime.jsxs("div",{style:{display:"flex",gap:4,flexDirection:"column"},children:[jsxRuntime.jsx(Pr,{children:C.label}),C?.description&&jsxRuntime.jsx(Er,{children:C.description})]})]}),o&&jsxRuntime.jsx(Sr,{style:f,children:jsxRuntime.jsx(I.Caret,{direction:"right",color:l||p?"#285E50":"#7F7F7F"})})]})]})},Ir=({name:C,label:e=null,className:t="",options:o,onClick:r=void 0,onMouseEnter:n=()=>null,onMouseLeave:i=()=>null,showCaret:a=!1,formOptions:s={}})=>jsxRuntime.jsxs(e6,{className:t,children:[e&&jsxRuntime.jsx(t6,{size:"lg",children:e}),jsxRuntime.jsx(Br,{children:o.map(l=>jsxRuntime.jsx(Rc,{option:l,name:C,onClick:r,onMouseEnter:n,onMouseLeave:i,formOptions:s,showCaret:a},`${l.label}-${l.value}`))})]}),Or=({options:C,name:e,formOptions:t=void 0,disabled:o=!1,errorMessage:r=void 0,onChange:n=()=>null})=>{let{control:i,formState:a}=reactHookForm.useFormContext(),s=!!a.errors[e];return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(reactHookForm.Controller,{rules:t,control:i,name:e,render:({field:l})=>jsxRuntime.jsx(C6,{options:C,disabled:o,...l,onChange:p=>{l.onChange(p),n(p.target.value);}})}),s&&jsxRuntime.jsx(W,{text:r,includeIcon:!1})]})};var Tr=g1__default.default.div`
1451
1452
  position: relative;
1452
1453
  margin-bottom: 24px;
1453
1454
  z-index: 40;
@@ -1517,7 +1518,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1517
1518
  left: 0;
1518
1519
  `;g1__default.default(u.Body)`
1519
1520
  margin-bottom: 24px;
1520
- `;var Nc=({label:C="",name:e,details:t="",placeholder:o="",options:r=[],allowInput:n=!1,previewOnly:i=!1,isLabelBold:a=!0,formOptions:s={},onChange:l=()=>null,containerStyle:p={}})=>{let L=yf.useRef(),d=reactHookForm.useFormContext(),{errors:f}=d.formState;d.register(e,s);let g=!!reactHookForm.get(f,e),x=reactHookForm.get(f,e)?.message?.toString(),[y,A]=yf.useState(!1),[b,E]=yf.useState(""),[h,c]=yf.useState(r),F=web.useSpring(y?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});yf.useEffect(()=>{let Z=t1=>{y&&L.current&&!L.current.contains(t1.target)&&A(!1);};return document.addEventListener("mousedown",t1=>Z(t1)),()=>{document.removeEventListener("mousedown",t1=>Z(t1));}},[y]);let k=r.find(Z=>Z.value===d.getValues(e))?.label,O=Z=>{E(""),d.setValue(e,Z.value),d.trigger(e),l&&l(Z),A(!1);};yf.useEffect(()=>{if(A(!!b),b){let Z=r.filter(t1=>String(t1.value).toLowerCase().match(b.toLowerCase()));c(Z),d.setValue(e,b);}else c(r);},[b,r.length]);let J=Z=>{Z.code==="Enter"&&Z.preventDefault();};return jsxRuntime.jsxs(Tr,{style:p,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:a,required:!!s.required,details:t}),jsxRuntime.jsx(Ar,{onClick:()=>A(!y),previewOnly:i,children:i?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("i",{style:{color:"#7F7F7F"},children:"--Select--"}),jsxRuntime.jsx(I.Caret,{direction:"down",color:"#7F7F7F"})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[k||jsxRuntime.jsx("i",{children:o}),n&&jsxRuntime.jsx($r,{onKeyDown:J,value:b,onChange:Z=>E(Z.target.value),type:"text"}),jsxRuntime.jsx(I.Caret,{direction:y?"up":"down"}),jsxRuntime.jsx(Rr,{style:F,ref:L,children:h.map(Z=>{let{label:t1}=Z,S1=Z.label===k;return jsxRuntime.jsxs(Ur,{onClick:()=>O(Z),children:[jsxRuntime.jsx(u.Body,{size:"lg",children:t1}),jsxRuntime.jsx(Gr,{isCurrent:S1,children:jsxRuntime.jsx(I.Check,{color:"#fff"})})]},Z.value)})})]})}),g&&jsxRuntime.jsx(W,{text:x,includeIcon:!1})]})},Xr=Nc;var Jr=g1__default.default.div`
1521
+ `;var Nc=({label:C="",name:e,details:t="",placeholder:o="",options:r=[],allowInput:n=!1,previewOnly:i=!1,isLabelBold:a=!0,formOptions:s={},onChange:l=()=>null,containerStyle:p={}})=>{let L=yf.useRef(),d=reactHookForm.useFormContext(),{errors:f}=d.formState;d.register(e,s);let m=!!reactHookForm.get(f,e),y=reactHookForm.get(f,e)?.message?.toString(),[x,A]=yf.useState(!1),[b,E]=yf.useState(""),[h,c]=yf.useState(r),F=web.useSpring(x?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});yf.useEffect(()=>{let Z=t1=>{x&&L.current&&!L.current.contains(t1.target)&&A(!1);};return document.addEventListener("mousedown",t1=>Z(t1)),()=>{document.removeEventListener("mousedown",t1=>Z(t1));}},[x]);let k=r.find(Z=>Z.value===d.getValues(e))?.label,O=Z=>{E(""),d.setValue(e,Z.value),d.trigger(e),l&&l(Z),A(!1);};yf.useEffect(()=>{if(A(!!b),b){let Z=r.filter(t1=>String(t1.value).toLowerCase().match(b.toLowerCase()));c(Z),d.setValue(e,b);}else c(r);},[b,r.length]);let J=Z=>{Z.code==="Enter"&&Z.preventDefault();};return jsxRuntime.jsxs(Tr,{style:p,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:a,required:!!s.required,details:t}),jsxRuntime.jsx(Ar,{onClick:()=>A(!x),previewOnly:i,children:i?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("i",{style:{color:"#7F7F7F"},children:"--Select--"}),jsxRuntime.jsx(I.Caret,{direction:"down",color:"#7F7F7F"})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[k||jsxRuntime.jsx("i",{children:o}),n&&jsxRuntime.jsx($r,{onKeyDown:J,value:b,onChange:Z=>E(Z.target.value),type:"text"}),jsxRuntime.jsx(I.Caret,{direction:x?"up":"down"}),jsxRuntime.jsx(Rr,{style:F,ref:L,children:h.map(Z=>{let{label:t1}=Z,S1=Z.label===k;return jsxRuntime.jsxs(Ur,{onClick:()=>O(Z),children:[jsxRuntime.jsx(u.Body,{size:"lg",children:t1}),jsxRuntime.jsx(Gr,{isCurrent:S1,children:jsxRuntime.jsx(I.Check,{color:"#fff"})})]},Z.value)})})]})}),m&&jsxRuntime.jsx(W,{text:y,includeIcon:!1})]})},Xr=Nc;var Jr=g1__default.default.div`
1521
1522
  background: #eeeeee;
1522
1523
  border-radius: 10px;
1523
1524
  border: 1px solid #ccc;
@@ -1628,7 +1629,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1628
1629
  border-color: #3f937c;
1629
1630
  box-shadow: none;
1630
1631
  }
1631
- `;var qc=({style:C={},sort:e=!0,...t})=>{let o=(n,i)=>i?.label?(i.label.toString().toLowerCase()??"").includes(n.toLowerCase()):!1,r=(n,i)=>{let a=n?.label?.toString().toLowerCase()??"",s=i?.label?.toString().toLowerCase()??"";return a.localeCompare(s)};return jsxRuntime.jsx(Kr,{showSearch:!0,style:{width:"100%",...C},filterOption:o,filterSort:e?r:void 0,virtual:!1,...t})},W5=qc;var jc=({label:C="",name:e,details:t="",placeholder:o="",unit:r="",options:n=[],disabled:i=!1,mode:a=void 0,previewOnly:s=!1,isLabelBold:l=!0,formOptions:p={},onChange:L=()=>null,showPreview:d=!1,containerStyle:f={},style:g={},allowClear:x=!0,loading:y=!1,value:A=void 0,errorMessage:b="This field is required",defaultValue:E=void 0,...h})=>{let c=reactHookForm.useFormContext();c.register(e,p);let{control:F,formState:{errors:k},getValues:O}=reactHookForm.useFormContext(),J=!!reactHookForm.get(k,e),Z=b||k?.[e]?.message?.toString(),S1=O()[e],m=B=>{c.setValue(e,B,{shouldDirty:!0,shouldTouch:!0}),c.trigger(e),L(B);},w=({field:B})=>jsxRuntime.jsx(W5,{allowClear:x,loading:y,mode:a,showSearch:!0,onChange:m,placeholder:o,options:n,isError:J,disabled:i||s,value:B.value??A,defaultValue:E,style:g,...h});return jsxRuntime.jsxs("div",{style:f,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:l,required:!!p.required,details:t}),jsxRuntime.jsxs(Yr,{children:[jsxRuntime.jsx(reactHookForm.Controller,{control:F,name:e,rules:p,render:w}),r&&jsxRuntime.jsx(u.Body,{size:"lg",children:r})]}),s&&d&&jsxRuntime.jsx(Jr,{children:n.map(B=>jsxRuntime.jsx(qr,{selected:B.value===S1,children:B.label}))}),J&&jsxRuntime.jsx(W,{text:Z,includeIcon:!1})]})},Cn=jc;var om=({label:C="Submit",isSubmitting:e=!1,hideWhenInvalid:t=!1,...o})=>{let r=reactHookForm.useFormContext(),{isValid:n}=r.formState,a=web.useSpring((t?n:!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:a,...o,children:jsxRuntime.jsx(n1.Primary,{htmlType:"submit",isSubmitting:e,...o,children:C})})},tn=om;var rn=g1__default.default.div`
1632
+ `;var qc=({style:C={},sort:e=!0,...t})=>{let o=(n,i)=>i?.label?(i.label.toString().toLowerCase()??"").includes(n.toLowerCase()):!1,r=(n,i)=>{let a=n?.label?.toString().toLowerCase()??"",s=i?.label?.toString().toLowerCase()??"";return a.localeCompare(s)};return jsxRuntime.jsx(Kr,{showSearch:!0,style:{width:"100%",...C},filterOption:o,filterSort:e?r:void 0,virtual:!1,...t})},W5=qc;var jc=({label:C="",name:e,details:t="",placeholder:o="",unit:r="",options:n=[],disabled:i=!1,mode:a=void 0,previewOnly:s=!1,isLabelBold:l=!0,formOptions:p={},onChange:L=()=>null,showPreview:d=!1,containerStyle:f={},style:m={},allowClear:y=!0,loading:x=!1,value:A=void 0,errorMessage:b="This field is required",defaultValue:E=void 0,...h})=>{let c=reactHookForm.useFormContext();c.register(e,p);let{control:F,formState:{errors:k},getValues:O}=reactHookForm.useFormContext(),J=!!reactHookForm.get(k,e),Z=b||k?.[e]?.message?.toString(),S1=O()[e],g=B=>{c.setValue(e,B,{shouldDirty:!0,shouldTouch:!0}),c.trigger(e),L(B);},w=({field:B})=>jsxRuntime.jsx(W5,{allowClear:y,loading:x,mode:a,showSearch:!0,onChange:g,placeholder:o,options:n,isError:J,disabled:i||s,value:B.value??A,defaultValue:E,style:m,...h});return jsxRuntime.jsxs("div",{style:f,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:l,required:!!p.required,details:t}),jsxRuntime.jsxs(Yr,{children:[jsxRuntime.jsx(reactHookForm.Controller,{control:F,name:e,rules:p,render:w}),r&&jsxRuntime.jsx(u.Body,{size:"lg",children:r})]}),s&&d&&jsxRuntime.jsx(Jr,{children:n.map(B=>jsxRuntime.jsx(qr,{selected:B.value===S1,children:B.label}))}),J&&jsxRuntime.jsx(W,{text:Z,includeIcon:!1})]})},Cn=jc;var om=({label:C="Submit",isSubmitting:e=!1,hideWhenInvalid:t=!1,...o})=>{let r=reactHookForm.useFormContext(),{isValid:n}=r.formState,a=web.useSpring((t?n:!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:a,...o,children:jsxRuntime.jsx(n1.Primary,{htmlType:"submit",isSubmitting:e,...o,children:C})})},tn=om;var rn=g1__default.default.div`
1632
1633
  position: relative;
1633
1634
  z-index: 20;
1634
1635
  `,nn=g1__default.default.div`
@@ -1750,7 +1751,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1750
1751
  stroke: ${({color:C})=>C||"#fff"};
1751
1752
  }
1752
1753
  }
1753
- `,n6=({color:C=void 0,size:e="sm"})=>jsxRuntime.jsx(im,{color:C,size:e,children:jsxRuntime.jsx("div",{className:"loader",children:jsxRuntime.jsx("svg",{className:"circular-loader",viewBox:"25 25 50 50",children:jsxRuntime.jsx("circle",{className:"loader-path",cx:"50",cy:"50",r:"20",fill:"none"})})})});var dm=C=>{let e="",t="",o="",r="",n="";C.address_components.forEach(l=>{l.types.some(p=>{switch(p){case"locality":return e=l.short_name,!0;case"administrative_area_level_1":return t=l.short_name,!0;case"street_number":return o=l.short_name,!0;case"route":return r=l.short_name,!0;case"postal_code":return n=l.short_name,!0;default:return !1}});});let i=C.geometry.location.lat(),a=C.geometry.location.lng(),s=`${o} ${r}`;return {city:e,state:t,street:s,zip:n,lat:i,long:a}},fm=({handleSelect:C,option:e,value:t})=>{let{description:o}=e,r=o===t,n=o.replace(", USA","");return jsxRuntime.jsx(ln,{isCurrent:r,onClick:()=>C(n),children:jsxRuntime.jsx(u.Body,{size:"lg",children:n})})},cm=["places"],mm=({label:C="",details:e="",formOptions:t={},previewOnly:o=!1,isLabelBold:r=!0,locationType:n="city",streetFieldName:i="street",cityFieldName:a="city",stateFieldName:s="state",zipFieldName:l="zip",cityWithStateFieldName:p="city_with_state",placeholder:L="",containerStyle:d={},errorMessage:f="This field is required",hasError:g=!1})=>{let x=yf.useRef(),[y,A]=yf.useState(!1),[b,E]=yf.useState(!1),h=reactHookForm.useFormContext(),c;switch(n){case"city":c=a;break;case"full":c=i;break;case"city_with_state":c=p;break;default:return null}let F=web.useSpring(y?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});yf.useEffect(()=>{let _=D=>{y&&x.current&&!x.current.contains(D.target)&&A(!1);};return document.addEventListener("mousedown",D=>_(D)),()=>{document.removeEventListener("mousedown",D=>_(D));}},[y]);let k=h.getValues(c)?`${h.getValues(c)}, ${h.getValues(s)}`:"",{value:O,suggestions:{data:J,loading:Z},setValue:t1,clearSuggestions:S1}=lm__default.default({requestOptions:{...["city","city_with_state"].includes(n)?{types:["locality","postal_code"]}:{},componentRestrictions:{country:"us"}}});yf.useEffect(()=>{if(Z){E(Z);return}setTimeout(()=>{E(Z);},2e3);},[Z]);let m=web.useSpring(b?{opacity:1,transform:"translate(0px, 0px)",config:{duration:400}}:{opacity:0,transform:"translate(5px, 0px)",config:{duration:200}}),w=_=>{t1(_.target.value),h.setValue(s,""),n==="full"&&(h.setValue(l,""),h.setValue(a,"")),h.trigger(c),_.target.value.length>=3&&A(!0);},B=_=>{t1(_,!1),S1(),!(_.length<=2)&&lm.getGeocode({address:_}).then(D=>{let{city:V,state:T,street:$,zip:X,lat:z,long:H1}=dm(D[0]),h1=[c,a,s];h.setValue(a,V),h.setValue(s,T),n==="full"&&(h.setValue(i,$),h.setValue(l,X),h1.push(i,l)),n==="city_with_state"&&h.setValue(p,`${V}, ${T}`),h.setValue("lat",z),h.setValue("long",H1),h.trigger(h1);}).catch(D=>console.error(`Google Maps API error: ${D}`));},R=_=>{_.code==="Enter"&&_.preventDefault();};return jsxRuntime.jsxs(rn,{children:[jsxRuntime.jsx(N,{label:C,isLabelBold:r,required:!!t.required,details:e}),o?jsxRuntime.jsx(Ln,{size:"md",children:k||"N/A"}):jsxRuntime.jsxs(nn,{style:d,children:[jsxRuntime.jsx(pn,{onKeyDown:R,type:"text",placeholder:L,...h.register(c,{...t,onChange:w})}),J.length>0&&jsxRuntime.jsx(an,{style:F,ref:x,children:J.map(_=>jsxRuntime.jsx(fm,{handleSelect:B,option:_,value:O},_.description))}),jsxRuntime.jsx(sn,{style:m,children:jsxRuntime.jsx(n6,{size:"sm"})})]}),g&&jsxRuntime.jsx(W,{text:f,includeIcon:!1})]})},gn=({api_key:C,...e})=>{let{isLoaded:t}=api.useLoadScript({googleMapsApiKey:C||process.env.GOOGLE_MAPS_API_KEY||"",libraries:cm});return t?jsxRuntime.jsx(mm,{...e}):null};var um=g1__default.default(antd.TimePicker)`
1754
+ `,n6=({color:C=void 0,size:e="sm"})=>jsxRuntime.jsx(im,{color:C,size:e,children:jsxRuntime.jsx("div",{className:"loader",children:jsxRuntime.jsx("svg",{className:"circular-loader",viewBox:"25 25 50 50",children:jsxRuntime.jsx("circle",{className:"loader-path",cx:"50",cy:"50",r:"20",fill:"none"})})})});var dm=C=>{let e="",t="",o="",r="",n="";C.address_components.forEach(l=>{l.types.some(p=>{switch(p){case"locality":return e=l.short_name,!0;case"administrative_area_level_1":return t=l.short_name,!0;case"street_number":return o=l.short_name,!0;case"route":return r=l.short_name,!0;case"postal_code":return n=l.short_name,!0;default:return !1}});});let i=C.geometry.location.lat(),a=C.geometry.location.lng(),s=`${o} ${r}`;return {city:e,state:t,street:s,zip:n,lat:i,long:a}},fm=({handleSelect:C,option:e,value:t})=>{let{description:o}=e,r=o===t,n=o.replace(", USA","");return jsxRuntime.jsx(ln,{isCurrent:r,onClick:()=>C(n),children:jsxRuntime.jsx(u.Body,{size:"lg",children:n})})},cm=["places"],mm=({label:C="",details:e="",formOptions:t={},previewOnly:o=!1,isLabelBold:r=!0,locationType:n="city",streetFieldName:i="street",cityFieldName:a="city",stateFieldName:s="state",zipFieldName:l="zip",cityWithStateFieldName:p="city_with_state",placeholder:L="",containerStyle:d={},errorMessage:f="This field is required",hasError:m=!1})=>{let y=yf.useRef(),[x,A]=yf.useState(!1),[b,E]=yf.useState(!1),h=reactHookForm.useFormContext(),c;switch(n){case"city":c=a;break;case"full":c=i;break;case"city_with_state":c=p;break;default:return null}let F=web.useSpring(x?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});yf.useEffect(()=>{let _=D=>{x&&y.current&&!y.current.contains(D.target)&&A(!1);};return document.addEventListener("mousedown",D=>_(D)),()=>{document.removeEventListener("mousedown",D=>_(D));}},[x]);let k=h.getValues(c)?`${h.getValues(c)}, ${h.getValues(s)}`:"",{value:O,suggestions:{data:J,loading:Z},setValue:t1,clearSuggestions:S1}=lm__default.default({requestOptions:{...["city","city_with_state"].includes(n)?{types:["locality","postal_code"]}:{},componentRestrictions:{country:"us"}}});yf.useEffect(()=>{if(Z){E(Z);return}setTimeout(()=>{E(Z);},2e3);},[Z]);let g=web.useSpring(b?{opacity:1,transform:"translate(0px, 0px)",config:{duration:400}}:{opacity:0,transform:"translate(5px, 0px)",config:{duration:200}}),w=_=>{t1(_.target.value),h.setValue(s,""),n==="full"&&(h.setValue(l,""),h.setValue(a,"")),h.trigger(c),_.target.value.length>=3&&A(!0);},B=_=>{t1(_,!1),S1(),!(_.length<=2)&&lm.getGeocode({address:_}).then(D=>{let{city:V,state:T,street:$,zip:X,lat:z,long:H1}=dm(D[0]),h1=[c,a,s];h.setValue(a,V),h.setValue(s,T),n==="full"&&(h.setValue(i,$),h.setValue(l,X),h1.push(i,l)),n==="city_with_state"&&h.setValue(p,`${V}, ${T}`),h.setValue("lat",z),h.setValue("long",H1),h.trigger(h1);}).catch(D=>console.error(`Google Maps API error: ${D}`));},R=_=>{_.code==="Enter"&&_.preventDefault();};return jsxRuntime.jsxs(rn,{children:[jsxRuntime.jsx(N,{label:C,isLabelBold:r,required:!!t.required,details:e}),o?jsxRuntime.jsx(Ln,{size:"md",children:k||"N/A"}):jsxRuntime.jsxs(nn,{style:d,children:[jsxRuntime.jsx(pn,{onKeyDown:R,type:"text",placeholder:L,...h.register(c,{...t,onChange:w})}),J.length>0&&jsxRuntime.jsx(an,{style:F,ref:y,children:J.map(_=>jsxRuntime.jsx(fm,{handleSelect:B,option:_,value:O},_.description))}),jsxRuntime.jsx(sn,{style:g,children:jsxRuntime.jsx(n6,{size:"sm"})})]}),m&&jsxRuntime.jsx(W,{text:f,includeIcon:!1})]})},gn=({api_key:C,...e})=>{let{isLoaded:t}=api.useLoadScript({googleMapsApiKey:C||process.env.GOOGLE_MAPS_API_KEY||"",libraries:cm});return t?jsxRuntime.jsx(mm,{...e}):null};var um=g1__default.default(antd.TimePicker)`
1754
1755
  height: 50px;
1755
1756
  border-color: #424242;
1756
1757
  `,wm=({onChange:C=()=>null,format:e="h:mma",...t})=>jsxRuntime.jsx(um,{use12Hours:!0,format:e,onChange:C,...t}),i6=wm;var Hm=g1__default.default.div`
@@ -1842,11 +1843,11 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1842
1843
  border: 0.766898px solid;
1843
1844
  border-color: ${C=>C.isCurrent?"#285E50 !important":"#3f937c"};
1844
1845
  background: ${C=>C.isCurrent?"#285E50 !important":"#FFF"};
1845
- `,Nm=({label:C="",name:e,details:t="",options:o=[],previewOnly:r=!1})=>{let n=yf.useRef(),i=reactHookForm.useFormContext(),[a,s]=yf.useState(!1),[l,p]=yf.useState(""),[L,d]=yf.useState(i.getValues(e)||[]),f=yf.useRef({search:l,keywords:L});yf.useEffect(()=>{f.current={search:l,keywords:L};},[l,L]);let[g,x]=yf.useState(o),y=web.useSpring(a?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}}),A=o.find(k=>k===i.getValues(e)),b=k=>{let O=[...f.current.keywords,k];p(""),d(O),i.setValue(e,O),s(!1);},E=k=>k?k.charAt(0).toUpperCase()+k.slice(1).toLowerCase():"",h=()=>{if(!f.current.search)return;let k=E(f.current.search);b(k);};yf.useEffect(()=>{let k=O=>{a&&n.current&&!n.current.contains(O.target)&&(h(),s(!1));};return document.addEventListener("mousedown",O=>k(O)),()=>{document.removeEventListener("mousedown",O=>k(O));}},[a]);let c=k=>{k.code==="Enter"&&(h(),k.preventDefault());},F=k=>{let O=L.filter(J=>J!==k);d(O),p(""),i.setValue(e,O);};return yf.useEffect(()=>{if(s(!!l),l){let k=o.filter(O=>O.toLowerCase().match(l.toLowerCase()));x(k);}else x(o);},[l]),yf.useEffect(()=>{let k=o.filter(O=>!L.includes(O));x(k);},[L]),jsxRuntime.jsxs(Tm,{children:[jsxRuntime.jsx(Am,{size:"lg",children:C}),t&&jsxRuntime.jsx(Rm,{children:t}),!r&&jsxRuntime.jsxs(Um,{onClick:()=>s(!a),children:[jsxRuntime.jsx(S7,{}),A,jsxRuntime.jsx($m,{onKeyDown:c,value:l,onChange:k=>p(k.target.value),type:"text",style:{marginLeft:"45px",width:"calc(100% - 80px)"}}),jsxRuntime.jsxs(Gm,{style:y,ref:n,children:[g.map(k=>{let O=k===A;return jsxRuntime.jsxs(vn,{onClick:()=>b(k),children:[jsxRuntime.jsx(u.Body,{size:"lg",children:k}),jsxRuntime.jsx(Wm,{isCurrent:O,children:jsxRuntime.jsx(I.Check,{color:"#fff"})})]},k)}),!g.length&&jsxRuntime.jsx(vn,{onClick:()=>h(),children:jsxRuntime.jsx(u.Body,{size:"lg",children:"Add Option"})},"add")]})]}),jsxRuntime.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:[r&&L.length===0&&"N/A",L.map(k=>jsxRuntime.jsxs(zm,{onClick:()=>F(k),children:[k,!r&&jsxRuntime.jsx(w7,{})]},k))]})]})},Mn=Nm;var Km=({defaultState:C=!1,name:e,label:t={active:"YES",inactive:"NO"},handleEvent:o=null,value:r,disabled:n=!1,loading:i=!1})=>{let a=reactHookForm.useFormContext(),[s,l]=yf.useState(C);yf.useEffect(()=>{a&&C&&a.setValue(e,r),l(C);},[C]);let p=L=>{n||(a&&a.setValue(e,L?r:null),o&&o(L),l(L));};return jsxRuntime.jsx(antd.Switch,{defaultChecked:C,checkedChildren:t.active,unCheckedChildren:t.inactive,checked:s,loading:i,disabled:n,onChange:p})},s6=Km;var rg=g1__default.default(antd.DatePicker)`
1846
+ `,Nm=({label:C="",name:e,details:t="",options:o=[],previewOnly:r=!1})=>{let n=yf.useRef(),i=reactHookForm.useFormContext(),[a,s]=yf.useState(!1),[l,p]=yf.useState(""),[L,d]=yf.useState(i.getValues(e)||[]),f=yf.useRef({search:l,keywords:L});yf.useEffect(()=>{f.current={search:l,keywords:L};},[l,L]);let[m,y]=yf.useState(o),x=web.useSpring(a?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}}),A=o.find(k=>k===i.getValues(e)),b=k=>{let O=[...f.current.keywords,k];p(""),d(O),i.setValue(e,O),s(!1);},E=k=>k?k.charAt(0).toUpperCase()+k.slice(1).toLowerCase():"",h=()=>{if(!f.current.search)return;let k=E(f.current.search);b(k);};yf.useEffect(()=>{let k=O=>{a&&n.current&&!n.current.contains(O.target)&&(h(),s(!1));};return document.addEventListener("mousedown",O=>k(O)),()=>{document.removeEventListener("mousedown",O=>k(O));}},[a]);let c=k=>{k.code==="Enter"&&(h(),k.preventDefault());},F=k=>{let O=L.filter(J=>J!==k);d(O),p(""),i.setValue(e,O);};return yf.useEffect(()=>{if(s(!!l),l){let k=o.filter(O=>O.toLowerCase().match(l.toLowerCase()));y(k);}else y(o);},[l]),yf.useEffect(()=>{let k=o.filter(O=>!L.includes(O));y(k);},[L]),jsxRuntime.jsxs(Tm,{children:[jsxRuntime.jsx(Am,{size:"lg",children:C}),t&&jsxRuntime.jsx(Rm,{children:t}),!r&&jsxRuntime.jsxs(Um,{onClick:()=>s(!a),children:[jsxRuntime.jsx(S7,{}),A,jsxRuntime.jsx($m,{onKeyDown:c,value:l,onChange:k=>p(k.target.value),type:"text",style:{marginLeft:"45px",width:"calc(100% - 80px)"}}),jsxRuntime.jsxs(Gm,{style:x,ref:n,children:[m.map(k=>{let O=k===A;return jsxRuntime.jsxs(vn,{onClick:()=>b(k),children:[jsxRuntime.jsx(u.Body,{size:"lg",children:k}),jsxRuntime.jsx(Wm,{isCurrent:O,children:jsxRuntime.jsx(I.Check,{color:"#fff"})})]},k)}),!m.length&&jsxRuntime.jsx(vn,{onClick:()=>h(),children:jsxRuntime.jsx(u.Body,{size:"lg",children:"Add Option"})},"add")]})]}),jsxRuntime.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:[r&&L.length===0&&"N/A",L.map(k=>jsxRuntime.jsxs(zm,{onClick:()=>F(k),children:[k,!r&&jsxRuntime.jsx(w7,{})]},k))]})]})},Mn=Nm;var Km=({defaultState:C=!1,name:e,label:t={active:"YES",inactive:"NO"},handleEvent:o=null,value:r,disabled:n=!1,loading:i=!1})=>{let a=reactHookForm.useFormContext(),[s,l]=yf.useState(C);yf.useEffect(()=>{a&&C&&a.setValue(e,r),l(C);},[C]);let p=L=>{n||(a&&a.setValue(e,L?r:null),o&&o(L),l(L));};return jsxRuntime.jsx(antd.Switch,{defaultChecked:C,checkedChildren:t.active,unCheckedChildren:t.inactive,checked:s,loading:i,disabled:n,onChange:p})},s6=Km;var rg=g1__default.default(antd.DatePicker)`
1846
1847
  padding: 12px 24px;
1847
1848
  width: 100%;
1848
1849
  max-width: 25rem;
1849
- `,ng=({label:C=null,isLabelBold:e=!0,name:t,details:o=void 0,disabled:r=!1,defaultValue:n=void 0,returnFormat:i="string",startRange:a=null,endRange:s=null,formOptions:l={},errorMessage:p="This field is required.",options:L={},style:d={},format:f="MM/DD/YYYY",...g})=>{let{control:x,formState:{errors:y}}=reactHookForm.useFormContext(),A=!!reactHookForm.get(y,t),b=y?.[t]?.message?.toString()||p,E=c=>c?!!(a&&c<e2__default.default(a).endOf("day")||s&&c>e2__default.default(s).endOf("day")):!1,h=c=>{if(c)return e2__default.default(c);if(n)return e2__default.default(n)};return jsxRuntime.jsxs("div",{style:d,children:[jsxRuntime.jsx(N,{label:C,details:o,isLabelBold:e,required:!!l.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:c})=>jsxRuntime.jsx(rg,{format:f,disabled:r,disabledDate:E,defaultValue:h(c.value),status:A?"error":"",onChange:(F,k)=>c.onChange(i==="date"?F:k),value:c.value?e2__default.default(c.value):null,changeOnBlur:!0,...g}),name:t,rules:l,control:x,...L}),A&&jsxRuntime.jsx(W,{text:b,includeIcon:!1})]})},bn=ng;var kn=g1__default.default.div`
1850
+ `,ng=({label:C=null,isLabelBold:e=!0,name:t,details:o=void 0,disabled:r=!1,defaultValue:n=void 0,returnFormat:i="string",startRange:a=null,endRange:s=null,formOptions:l={},errorMessage:p="This field is required.",options:L={},style:d={},format:f="MM/DD/YYYY",...m})=>{let{control:y,formState:{errors:x}}=reactHookForm.useFormContext(),A=!!reactHookForm.get(x,t),b=x?.[t]?.message?.toString()||p,E=c=>c?!!(a&&c<e2__default.default(a).endOf("day")||s&&c>e2__default.default(s).endOf("day")):!1,h=c=>{if(c)return e2__default.default(c);if(n)return e2__default.default(n)};return jsxRuntime.jsxs("div",{style:d,children:[jsxRuntime.jsx(N,{label:C,details:o,isLabelBold:e,required:!!l.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:c})=>jsxRuntime.jsx(rg,{format:f,disabled:r,disabledDate:E,defaultValue:h(c.value),status:A?"error":"",onChange:(F,k)=>c.onChange(i==="date"?F:k),value:c.value?e2__default.default(c.value):null,changeOnBlur:!0,...m}),name:t,rules:l,control:y,...L}),A&&jsxRuntime.jsx(W,{text:b,includeIcon:!1})]})},bn=ng;var kn=g1__default.default.div`
1850
1851
  display: flex;
1851
1852
  flex: 1;
1852
1853
  align-items: center;
@@ -1856,7 +1857,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1856
1857
  gap: 8px;
1857
1858
  `,l6=g1__default.default(u.Body)`
1858
1859
  color: rgba(135, 135, 135);
1859
- `;var{Dragger:lg}=antd.Upload,pg=({label:C="",name:e,disabled:t=!1,description:o="",isLabelBold:r=!0,formOptions:n={},onChange:i,onRemove:a,onDownload:s,onDrop:l,defaultValue:p=void 0,containerStyle:L={},errorMessage:d=void 0,action:f="",headers:g={},uploadData:x={},defaultFileList:y=[],...A})=>{reactHookForm.useFormContext().register(e,n);let{getFieldState:E,formState:{errors:h}}=reactHookForm.useFormContext(),c=!!reactHookForm.get(h,e);return jsxRuntime.jsxs("div",{style:L,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:r,required:!!n.required,details:o}),jsxRuntime.jsx("div",{style:{height:"0px",width:"0px",opacity:0},children:jsxRuntime.jsx(o8,{formOptions:{required:E(e).invalid},name:`${e}_validation`,type:"text"})}),jsxRuntime.jsxs(lg,{name:"file",multiple:!0,onChange:i,onDrop:l,onRemove:a,onDownload:s,action:f,disabled:t,headers:g,defaultFileList:y,showUploadList:{showDownloadIcon:!0},data:x,...A,capture:void 0,children:[jsxRuntime.jsx(I.Attachment,{}),jsxRuntime.jsxs(kn,{children:[jsxRuntime.jsx(l6,{children:jsxRuntime.jsx("span",{style:{fontWeight:"bold"},children:"DRAG FILE HERE"})}),jsxRuntime.jsx(l6,{size:"sm",children:"or click to browse (10 MB max)"})]})]}),p?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Current Value: ",p]}):null,c&&jsxRuntime.jsx(W,{text:d,includeIcon:!1})]})},_n=pg;var fg=C=>{let{title:e,description:t}=C;return jsxRuntime.jsxs(R1,{vertical:!0,style:{paddingBottom:24},children:[jsxRuntime.jsx(u.Header,{children:e}),t&&jsxRuntime.jsx(u.Body,{children:t})]})};function f8({defaultExpandAll:C,treeData:e,checkedKeys:t,...o}){let[r,n]=yf.useState([]),[i,a]=yf.useState([]),s=p=>{let L=[];return p.forEach(d=>{d.key&&L.push(d.key),Array.isArray(d.children)&&(L=L.concat(s(d.children)));}),L},l=(p,L)=>{if(i.includes(L.node.key)){let f=new Set([L.node.key]);L.node.children&&L.node.children.forEach(({key:g})=>f.add(g)),a(g=>g.filter(x=>!f.has(x))),n(g=>g.filter(x=>!f.has(x)));}else a(f=>[...f,L.node.key]),n(f=>[...f,L.node.key]);};return yf.useEffect(()=>{if(!C||!e)return;let p=s(e);a(p),n(p);},[C]),yf.useEffect(()=>{t&&(C||(a(t),n(t)));},[C,t]),jsxRuntime.jsx(antd.Tree,{switcherIcon:null,expandedKeys:r,checkedKeys:t,checkable:!0,checkStrictly:!0,selectable:!1,treeData:e,onCheck:l,titleRender:fg,style:{backgroundColor:"#F4F8F7"},...o})}var hg=({name:C,...e})=>{let{control:t}=reactHookForm.useFormContext();return jsxRuntime.jsx(reactHookForm.Controller,{control:t,name:C,render:({field:o})=>jsxRuntime.jsx(f8,{onCheck:r=>{Array.isArray(r)?o.onChange(r):o.onChange(r.checked);},checkedKeys:o.value,onBlur:o.onBlur,...e})})},En=hg;var Bn=g1__default.default.div`
1860
+ `;var{Dragger:lg}=antd.Upload,pg=({label:C="",name:e,disabled:t=!1,description:o="",isLabelBold:r=!0,formOptions:n={},onChange:i,onRemove:a,onDownload:s,onDrop:l,defaultValue:p=void 0,containerStyle:L={},errorMessage:d=void 0,action:f="",headers:m={},uploadData:y={},defaultFileList:x=[],...A})=>{reactHookForm.useFormContext().register(e,n);let{getFieldState:E,formState:{errors:h}}=reactHookForm.useFormContext(),c=!!reactHookForm.get(h,e);return jsxRuntime.jsxs("div",{style:L,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:r,required:!!n.required,details:o}),jsxRuntime.jsx("div",{style:{height:"0px",width:"0px",opacity:0},children:jsxRuntime.jsx(o8,{formOptions:{required:E(e).invalid},name:`${e}_validation`,type:"text"})}),jsxRuntime.jsxs(lg,{name:"file",multiple:!0,onChange:i,onDrop:l,onRemove:a,onDownload:s,action:f,disabled:t,headers:m,defaultFileList:x,showUploadList:{showDownloadIcon:!0},data:y,...A,capture:void 0,children:[jsxRuntime.jsx(I.Attachment,{}),jsxRuntime.jsxs(kn,{children:[jsxRuntime.jsx(l6,{children:jsxRuntime.jsx("span",{style:{fontWeight:"bold"},children:"DRAG FILE HERE"})}),jsxRuntime.jsx(l6,{size:"sm",children:"or click to browse (10 MB max)"})]})]}),p?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Current Value: ",p]}):null,c&&jsxRuntime.jsx(W,{text:d,includeIcon:!1})]})},_n=pg;var fg=C=>{let{title:e,description:t}=C;return jsxRuntime.jsxs(R1,{vertical:!0,style:{paddingBottom:24},children:[jsxRuntime.jsx(u.Header,{children:e}),t&&jsxRuntime.jsx(u.Body,{children:t})]})};function f8({defaultExpandAll:C,treeData:e,checkedKeys:t,...o}){let[r,n]=yf.useState([]),[i,a]=yf.useState([]),s=p=>{let L=[];return p.forEach(d=>{d.key&&L.push(d.key),Array.isArray(d.children)&&(L=L.concat(s(d.children)));}),L},l=(p,L)=>{if(i.includes(L.node.key)){let f=new Set([L.node.key]);L.node.children&&L.node.children.forEach(({key:m})=>f.add(m)),a(m=>m.filter(y=>!f.has(y))),n(m=>m.filter(y=>!f.has(y)));}else a(f=>[...f,L.node.key]),n(f=>[...f,L.node.key]);};return yf.useEffect(()=>{if(!C||!e)return;let p=s(e);a(p),n(p);},[C]),yf.useEffect(()=>{t&&(C||(a(t),n(t)));},[C,t]),jsxRuntime.jsx(antd.Tree,{switcherIcon:null,expandedKeys:r,checkedKeys:t,checkable:!0,checkStrictly:!0,selectable:!1,treeData:e,onCheck:l,titleRender:fg,style:{backgroundColor:"#F4F8F7"},...o})}var hg=({name:C,...e})=>{let{control:t}=reactHookForm.useFormContext();return jsxRuntime.jsx(reactHookForm.Controller,{control:t,name:C,render:({field:o})=>jsxRuntime.jsx(f8,{onCheck:r=>{Array.isArray(r)?o.onChange(r):o.onChange(r.checked);},checkedKeys:o.value,onBlur:o.onBlur,...e})})},En=hg;var Bn=g1__default.default.div`
1860
1861
  position: relative;
1861
1862
  z-index: 40;
1862
1863
  `;g1__default.default(u.Body)`
@@ -1923,7 +1924,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1923
1924
  width: auto;
1924
1925
  height: auto;
1925
1926
  }
1926
- `;var Hg={dissatisfied:{iconFill:"#DA4D54",background:"#F1E1E2"},neutral:{iconFill:"#D7A13B",background:"#F4E5CA"},satisfied:{iconFill:"#285E50",background:"#D4E2DD"}};function c8({iconProps:C={},containerStyles:e={},value:t=void 0,onChange:o=void 0}){let[r,n]=yf.useState(t),i=s=>n(s),a=s=>r===s;return yf.useEffect(()=>{o&&o(r);},[r]),jsxRuntime.jsx(R1,{gap:".5rem",style:{...e},children:Object.values(Z7).map(s=>{let{iconFill:l,background:p}=Hg[s],L=a(s);return jsxRuntime.jsx(On,{backgroundColor:r?p:"#ffffff",onClick:()=>i(s),isActive:L,children:jsxRuntime.jsx(I.Sentiment,{...C,variant:s,color:L?l:"#7F7F7F"})})})})}function f6({name:C,...e}){let{control:t}=reactHookForm.useFormContext();return jsxRuntime.jsx(reactHookForm.Controller,{control:t,name:C,render:({field:{value:o,onChange:r}})=>jsxRuntime.jsx(c8,{...e,onChange:r,value:o})})}var An=C=>{let e=C.split("/"),t=+e[0],o=+e[1],r=+e[2];return new Date(r,t-1,o)},Rn=C=>{let e=C.getDate(),t=C.getMonth()+1,o=C.getFullYear(),r=e<10?`0${e}`:e.toString();return [t<10?`0${t}`:t.toString(),r,o].join("/")},Eg=({label:C=void 0,isLabelBold:e=!0,name:t,details:o=void 0,formOptions:r={},style:n={},errorMessage:i="This field is required.",minDate:a=new Date(1915,0,1),maxDate:s=new Date,...l})=>{let{formState:{errors:p},setValue:L,register:d,watch:f}=reactHookForm.useFormContext();d(t,r);let g=f(t),[x,y]=yf.useState("");yf.useEffect(()=>{if(!g)return;let h=typeof g=="string"?new Date(g):g,c=Rn(h);y(c);},[g]);let A=(h,c)=>{y(h),c.unmaskedValue.length!==8&&L(t,"");},b=!!reactHookForm.get(p,t),E=p?.[t]?.message?.toString()||i;return jsxRuntime.jsxs("div",{style:n,children:[jsxRuntime.jsx(N,{label:C,details:o,isLabelBold:e,required:!!r.required}),jsxRuntime.jsx(e8,{value:x,mask:Date,placeholder:"MM/DD/YYYY",pattern:"m/d/Y",format:Rn,parse:An,onAccept:A,onComplete:h=>L(t,An(h)),min:a,max:s,autofix:!1,lazy:!0,overwrite:!1,...l}),b&&jsxRuntime.jsx(W,{text:E,includeIcon:!1})]})},Un=Eg;var n5={ButtonRadioGroup:Ir,Container:Io,Checkbox:K7,CheckboxGroup:Eo,CheckboxCardGroup:Bo,InputLabel:N,DateSelect:bn,DateTextMaskInput:Un,TextInput:t5,Text:o8,TimePicker:hn,TimeSelect:xn,Radio:r8,RadioGroup:Fr,CheckMarkRadio:Or,WelcomeCheckbox:Fo,CardRadioGroup:Dr,Number:Qo,Select:Xr,SelectMenu:Cn,SentimentSelector:f6,Signature:lr,Submit:tn,LocationSelect:gn,Keyword:Mn,Toggle:s6,FileUpload:_n,Tree:En,DateDropdown:In};var $g=()=>Array.from({length:12},(e,t)=>({label:new Date(t,t).toLocaleString("en-US",{month:"long"}),value:t+1})),zg=(C,e)=>{let t=C||1,o=e||2024,r=new Date(o,t,0).getDate();return Array.from({length:r},(i,a)=>({label:a+1,value:a+1}))},Wg=()=>Array.from({length:110},(e,t)=>{let o=new Date().getFullYear()-t;return {label:o,value:o}}),Ng=({label:C="",details:e=void 0,isLabelBold:t=!1,required:o=!1,onChange:r=()=>null,defaultValue:n=null,hasError:i=!1})=>{let a=yf.useRef(null),[s,l]=yf.useState(!1),p=reactHookForm.useForm({defaultValues:{month:null,day:null,year:null}}),{reset:L}=p;yf.useEffect(()=>{if(!n)return;let g=new Date(n);L({month:g.getMonth()+1,day:g.getDate(),year:g.getFullYear()});},[n]);let d=p.watch(),f=zg(d?.month,d?.year);return yf.useEffect(()=>{let g=f.find(x=>x.value===d.day);if(d.month&&d.day&&d.year&&g){let x=new Date(d.year,d.month-1,d.day);r(x);}else r(null);},[d.month,d.day,d.year]),yf.useEffect(()=>{a.current&&l(!0);},[a,s]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{ref:a}),s&&reactDom.createPortal(jsxRuntime.jsxs(n5.Container,{formMethods:p,onSubmit:()=>null,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:t,required:!!o,details:e}),jsxRuntime.jsxs(Mt,{gap:8,hasError:i,children:[jsxRuntime.jsx(n5.SelectMenu,{name:"month",options:$g(),placeholder:"Month",containerStyle:{width:"100%"},sort:!1}),jsxRuntime.jsx(n5.SelectMenu,{name:"day",options:f,placeholder:"Day",containerStyle:{width:"100%"},sort:!1}),jsxRuntime.jsx(n5.SelectMenu,{name:"year",options:Wg(),placeholder:"Year",containerStyle:{width:"100%"}})]})]}),a.current||document.body)]})},L6=Ng;var Yg=({value:C=null,onChange:e,startRange:t=null,endRange:o=null,defaultValue:r=e2__default.default(),format:n=null,placeholder:i=null,className:a=null,hasError:s=!1,disabled:l=!1,...p})=>{let[L,d]=yf.useState(!1),f=x=>x?!!(t&&x<e2__default.default(t).endOf("day")||o&&x>e2__default.default(o).endOf("day")):!1,g=s?F3.colors.fail:"#5a5a5a";return jsxRuntime.jsx(antd.DatePicker,{className:a,placeholder:i,format:n,disabled:l,disabledDate:f,onChange:(x,y)=>{e&&e(y,x);},onFocus:()=>{d(!0);},onBlur:()=>{d(!1);},value:C?e2__default.default(C):r,style:{width:"100%",height:"50px",boxSizing:"border-box",borderRadius:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:L?F3.colors.secondaryGreen:g,padding:"20px 23px",backgroundColor:"#fff",fontFamily:F3.typography.family.body,fontWeight:F3.typography.weight.normal,fontStyle:"normal",fontSize:"16px",outlineStyle:"none",boxShadow:L?`0 0 0 1px ${F3.colors.secondaryGreen}`:"none"},...p})},Kg=Yg;var Ch=({style:C={width:50,borderWidth:2,borderColor:"#d4e2dd"},type:e="horizontal",...t})=>jsxRuntime.jsx(antd.Divider,{style:C,type:e,...t}),eh=Ch;var Gn=g1__default.default(({className:C,...e})=>jsxRuntime.jsx(antd.Drawer,{rootClassName:C,classNames:{content:C},...e}))`
1927
+ `;var Hg={dissatisfied:{iconFill:"#DA4D54",background:"#F1E1E2"},neutral:{iconFill:"#D7A13B",background:"#F4E5CA"},satisfied:{iconFill:"#285E50",background:"#D4E2DD"}};function c8({iconProps:C={},containerStyles:e={},value:t=void 0,onChange:o=void 0}){let[r,n]=yf.useState(t),i=s=>n(s),a=s=>r===s;return yf.useEffect(()=>{o&&o(r);},[r]),jsxRuntime.jsx(R1,{gap:".5rem",style:{...e},children:Object.values(Z7).map(s=>{let{iconFill:l,background:p}=Hg[s],L=a(s);return jsxRuntime.jsx(On,{backgroundColor:r?p:"#ffffff",onClick:()=>i(s),isActive:L,children:jsxRuntime.jsx(I.Sentiment,{...C,variant:s,color:L?l:"#7F7F7F"})})})})}function f6({name:C,...e}){let{control:t}=reactHookForm.useFormContext();return jsxRuntime.jsx(reactHookForm.Controller,{control:t,name:C,render:({field:{value:o,onChange:r}})=>jsxRuntime.jsx(c8,{...e,onChange:r,value:o})})}var An=C=>{let e=C.split("/"),t=+e[0],o=+e[1],r=+e[2];return new Date(r,t-1,o)},Rn=C=>{let e=C.getDate(),t=C.getMonth()+1,o=C.getFullYear(),r=e<10?`0${e}`:e.toString();return [t<10?`0${t}`:t.toString(),r,o].join("/")},Eg=({label:C=void 0,isLabelBold:e=!0,name:t,details:o=void 0,formOptions:r={},style:n={},errorMessage:i="This field is required.",minDate:a=new Date(1915,0,1),maxDate:s=new Date,...l})=>{let{formState:{errors:p},setValue:L,register:d,watch:f}=reactHookForm.useFormContext();d(t,r);let m=f(t),[y,x]=yf.useState("");yf.useEffect(()=>{if(!m)return;let h=typeof m=="string"?new Date(m):m,c=Rn(h);x(c);},[m]);let A=(h,c)=>{x(h),c.unmaskedValue.length!==8&&L(t,"");},b=!!reactHookForm.get(p,t),E=p?.[t]?.message?.toString()||i;return jsxRuntime.jsxs("div",{style:n,children:[jsxRuntime.jsx(N,{label:C,details:o,isLabelBold:e,required:!!r.required}),jsxRuntime.jsx(e8,{value:y,mask:Date,placeholder:"MM/DD/YYYY",pattern:"m/d/Y",format:Rn,parse:An,onAccept:A,onComplete:h=>L(t,An(h)),min:a,max:s,autofix:!1,lazy:!0,overwrite:!1,...l}),b&&jsxRuntime.jsx(W,{text:E,includeIcon:!1})]})},Un=Eg;var n5={ButtonRadioGroup:Ir,Container:Io,Checkbox:K7,CheckboxGroup:Eo,CheckboxCardGroup:Bo,InputLabel:N,DateSelect:bn,DateTextMaskInput:Un,TextInput:t5,Text:o8,TimePicker:hn,TimeSelect:xn,Radio:r8,RadioGroup:Fr,CheckMarkRadio:Or,WelcomeCheckbox:Fo,CardRadioGroup:Dr,Number:Qo,Select:Xr,SelectMenu:Cn,SentimentSelector:f6,Signature:lr,Submit:tn,LocationSelect:gn,Keyword:Mn,Toggle:s6,FileUpload:_n,Tree:En,DateDropdown:In};var $g=()=>Array.from({length:12},(e,t)=>({label:new Date(t,t).toLocaleString("en-US",{month:"long"}),value:t+1})),zg=(C,e)=>{let t=C||1,o=e||2024,r=new Date(o,t,0).getDate();return Array.from({length:r},(i,a)=>({label:a+1,value:a+1}))},Wg=()=>Array.from({length:110},(e,t)=>{let o=new Date().getFullYear()-t;return {label:o,value:o}}),Ng=({label:C="",details:e=void 0,isLabelBold:t=!1,required:o=!1,onChange:r=()=>null,defaultValue:n=null,hasError:i=!1})=>{let a=yf.useRef(null),[s,l]=yf.useState(!1),p=reactHookForm.useForm({defaultValues:{month:null,day:null,year:null}}),{reset:L}=p;yf.useEffect(()=>{if(!n)return;let m=new Date(n);L({month:m.getMonth()+1,day:m.getDate(),year:m.getFullYear()});},[n]);let d=p.watch(),f=zg(d?.month,d?.year);return yf.useEffect(()=>{let m=f.find(y=>y.value===d.day);if(d.month&&d.day&&d.year&&m){let y=new Date(d.year,d.month-1,d.day);r(y);}else r(null);},[d.month,d.day,d.year]),yf.useEffect(()=>{a.current&&l(!0);},[a,s]),jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("div",{ref:a}),s&&reactDom.createPortal(jsxRuntime.jsxs(n5.Container,{formMethods:p,onSubmit:()=>null,children:[jsxRuntime.jsx(N,{label:C,isLabelBold:t,required:!!o,details:e}),jsxRuntime.jsxs(Mt,{gap:8,hasError:i,children:[jsxRuntime.jsx(n5.SelectMenu,{name:"month",options:$g(),placeholder:"Month",containerStyle:{width:"100%"},sort:!1}),jsxRuntime.jsx(n5.SelectMenu,{name:"day",options:f,placeholder:"Day",containerStyle:{width:"100%"},sort:!1}),jsxRuntime.jsx(n5.SelectMenu,{name:"year",options:Wg(),placeholder:"Year",containerStyle:{width:"100%"}})]})]}),a.current||document.body)]})},L6=Ng;var Yg=({value:C=null,onChange:e,startRange:t=null,endRange:o=null,defaultValue:r=e2__default.default(),format:n=null,placeholder:i=null,className:a=null,hasError:s=!1,disabled:l=!1,...p})=>{let[L,d]=yf.useState(!1),f=y=>y?!!(t&&y<e2__default.default(t).endOf("day")||o&&y>e2__default.default(o).endOf("day")):!1,m=s?F3.colors.fail:"#5a5a5a";return jsxRuntime.jsx(antd.DatePicker,{className:a,placeholder:i,format:n,disabled:l,disabledDate:f,onChange:(y,x)=>{e&&e(x,y);},onFocus:()=>{d(!0);},onBlur:()=>{d(!1);},value:C?e2__default.default(C):r,style:{width:"100%",height:"50px",boxSizing:"border-box",borderRadius:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:L?F3.colors.secondaryGreen:m,padding:"20px 23px",backgroundColor:"#fff",fontFamily:F3.typography.family.body,fontWeight:F3.typography.weight.normal,fontStyle:"normal",fontSize:"16px",outlineStyle:"none",boxShadow:L?`0 0 0 1px ${F3.colors.secondaryGreen}`:"none"},...p})},Kg=Yg;var Ch=({style:C={width:50,borderWidth:2,borderColor:"#d4e2dd"},type:e="horizontal",...t})=>jsxRuntime.jsx(antd.Divider,{style:C,type:e,...t}),eh=Ch;var Gn=g1__default.default(({className:C,...e})=>jsxRuntime.jsx(antd.Drawer,{rootClassName:C,classNames:{content:C},...e}))`
1927
1928
  --border-radius: ${C=>C.placement==="bottom"?32:0}px;
1928
1929
 
1929
1930
  &.ant-drawer-content {
@@ -1952,7 +1953,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1952
1953
  min-height: 100%;
1953
1954
  overflow-x: hidden;
1954
1955
  width: 100%;
1955
- `,zn=g1__default.default(o2,{shouldForwardProp:C=>C!=="isLeft"})`
1956
+ `,zn=g1__default.default(o2,{shouldForwardProp:C=>!["isLeft","bottomArrow"].includes(C)})`
1956
1957
  position: absolute;
1957
1958
  top: 0;
1958
1959
  width: ${C=>C.width}rem;
@@ -1960,7 +1961,8 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1960
1961
  height: 100%;
1961
1962
  padding: var(--Spacing-xl, 1.5rem);
1962
1963
 
1963
- display: ${C=>C.hidden?"none":"block"};
1964
+ display: ${C=>C.hidden?"none":"flex"};
1965
+ flex-flow: ${C=>C.bottomArrow?"column-reverse":"column"};
1964
1966
 
1965
1967
  ${C=>C.isLeft?`
1966
1968
  left: 0;
@@ -1987,7 +1989,9 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
1987
1989
  border: var(--border-width-sm, 1px) solid var(--border-color-dark-green, #285e50);
1988
1990
  background: var(--surface-primary, #fff);
1989
1991
  ${C=>C.isLeft&&"margin-left: auto;"}
1990
- `,Nn=g1__default.default(o2)``;var hh=({width:C=25,style:e={},hidden:t=!1,position:o="right",variant:r="default",children:n,drawerContent:i,defaultOpen:a=!1,config:s="gentle"})=>{let[l,p]=yf.useState(a),{isMobile:L}=R5(),d=o==="left",f=r==="minimal",g=f||L||t?"0rem":"3rem",x=L||t?"0rem":`${C}rem`;return jsxRuntime.jsxs($n,{trigger:l,from:d?{paddingLeft:g}:{paddingRight:g},to:d?{paddingLeft:x}:{paddingRight:x},config:s,style:e,animationProps:{reset:t},children:[n,jsxRuntime.jsxs(zn,{width:C,trigger:l,from:d?{transform:L||f?"translateX(-100%)":`translateX(${3-C}rem)`,paddingRight:"0.5rem"}:{transform:f||L?"translateX(100%)":`translateX(${C-3}rem)`,paddingLeft:"0.5rem"},to:{transform:f||L?"translateX(0%)":"translateX(0rem)",paddingLeft:"1.5rem",paddingRight:"1.5rem"},config:s,hidden:t,animationProps:{reset:t},isLeft:d,children:[jsxRuntime.jsx(o2,{from:{transform:f||L?`translateX(${d?"3rem":"-3rem"})`:"none"},to:{transform:"translateX(0rem)"},trigger:l,children:jsxRuntime.jsx(n1.Unstyled,{onClick:()=>p(!l),children:jsxRuntime.jsx(Wn,{isLeft:d,trigger:l,from:{transform:`rotate(${d?"180deg":"0deg"})`},to:{transform:`rotate(${d?"0deg":"180deg"})`},children:jsxRuntime.jsx(I.Caret,{})})})}),jsxRuntime.jsx(Nn,{trigger:l,from:{opacity:0},to:{opacity:1},children:i})]})]})},uh=hh;var Jn=g1__default.default.div`
1992
+ `,Nn=g1__default.default(o2)`
1993
+ flex: 1;
1994
+ `;var hh=({width:C=25,style:e={},hidden:t=!1,position:o="right",arrowPosition:r="top",variant:n="default",children:i,drawerContent:a,defaultOpen:s=!1,config:l="gentle"})=>{let[p,L]=yf.useState(s),{isMobile:d}=R5(),f=o==="left",m=n==="minimal",y=m||d||t?"0rem":"3rem",x=d||t?"0rem":`${C}rem`;return jsxRuntime.jsxs($n,{trigger:p,from:f?{paddingLeft:y}:{paddingRight:y},to:f?{paddingLeft:x}:{paddingRight:x},config:l,style:e,animationProps:{reset:t},children:[i,jsxRuntime.jsxs(zn,{width:C,trigger:p,bottomArrow:r==="bottom",from:f?{transform:d||m?"translateX(-100%)":`translateX(${3-C}rem)`,paddingRight:"0.5rem"}:{transform:m||d?"translateX(100%)":`translateX(${C-3}rem)`,paddingLeft:"0.5rem"},to:{transform:m||d?"translateX(0%)":"translateX(0rem)",paddingLeft:"1.5rem",paddingRight:"1.5rem"},config:l,hidden:t,animationProps:{reset:t},isLeft:f,children:[jsxRuntime.jsx(o2,{from:{transform:m||d?`translateX(${f?"3rem":"-3rem"})`:"translateX(0rem)"},to:{transform:"translateX(0rem)"},trigger:p,children:jsxRuntime.jsx(n1.Unstyled,{onClick:()=>L(!p),children:jsxRuntime.jsx(Wn,{isLeft:f,trigger:p,from:{transform:`rotate(${f?"180deg":"0deg"})`},to:{transform:`rotate(${f?"0deg":"180deg"})`},children:jsxRuntime.jsx(I.Caret,{})})})}),jsxRuntime.jsx(Nn,{trigger:p,from:{opacity:0},to:{opacity:1},children:a})]})]})},uh=hh;var Jn=g1__default.default.div`
1991
1995
  display: flex;
1992
1996
  flex-direction: column;
1993
1997
  gap: 16px;
@@ -2465,7 +2469,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
2465
2469
  div * {
2466
2470
  color: ${({isActive:C})=>C?"#000":"rgba(85, 85, 85, 0.50)"};
2467
2471
  }
2468
- `;var aa=200,la=({steps:C,activeStep:e=void 0,allActive:t=!1,isWide:o=!1,spacing:r=40,showGradient:n=!1,animated:i=!1,variant:a="default"})=>{let s=yf.useRef(null),l=yf.useRef(null),p=f=>f===0?l:f===C.length-1?s:null,L=f=>t||e===f,d=C.map((f,g)=>jsxRuntime.jsx(o2,{type:"slideIn",delay:g*aa,disabled:!i,children:jsxRuntime.jsxs(Ca,{last:g===C.length-1,animated:i,delay:g*aa,isWide:o,showGradient:n,gradientPercent:g/C.length*100,children:[f?.icon&&f?.iconOnly?jsxRuntime.jsx(ta,{children:f.icon}):jsxRuntime.jsx("div",{children:jsxRuntime.jsx(ea,{hideBorder:!!f?.icon,isActive:L(g),variant:a,index:g,children:f?.icon?f.icon:g+1})}),jsxRuntime.jsxs(oa,{spacing:r,children:[jsxRuntime.jsx(ra,{isActive:L(g),ref:p(g),children:f.title}),jsxRuntime.jsx(na,{isActive:L(g),children:f.description})]})]})},f.title.toString()));return jsxRuntime.jsx(ji,{children:d})};var ru={Horizontal:Qi,Vertical:la};var su=g1__default.default(antd.Tag)`
2472
+ `;var aa=200,la=({steps:C,activeStep:e=void 0,allActive:t=!1,isWide:o=!1,spacing:r=40,showGradient:n=!1,animated:i=!1,variant:a="default"})=>{let s=yf.useRef(null),l=yf.useRef(null),p=f=>f===0?l:f===C.length-1?s:null,L=f=>t||e===f,d=C.map((f,m)=>jsxRuntime.jsx(o2,{type:"slideIn",delay:m*aa,disabled:!i,children:jsxRuntime.jsxs(Ca,{last:m===C.length-1,animated:i,delay:m*aa,isWide:o,showGradient:n,gradientPercent:m/C.length*100,children:[f?.icon&&f?.iconOnly?jsxRuntime.jsx(ta,{children:f.icon}):jsxRuntime.jsx("div",{children:jsxRuntime.jsx(ea,{hideBorder:!!f?.icon,isActive:L(m),variant:a,index:m,children:f?.icon?f.icon:m+1})}),jsxRuntime.jsxs(oa,{spacing:r,children:[jsxRuntime.jsx(ra,{isActive:L(m),ref:p(m),children:f.title}),jsxRuntime.jsx(na,{isActive:L(m),children:f.description})]})]})},f.title.toString()));return jsxRuntime.jsx(ji,{children:d})};var ru={Horizontal:Qi,Vertical:la};var su=g1__default.default(antd.Tag)`
2469
2473
  font-size: 16px;
2470
2474
  line-height: 16px;
2471
2475
  padding: ${({padding:C})=>C||"4px 10px"};
@@ -2526,7 +2530,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
2526
2530
  `;function H6({id:C,children:e,onClickElement:t,style:o={},disabled:r=!1}){let{attributes:n,listeners:i,setNodeRef:a,transform:s,transition:l,isDragging:p}=sortable.useSortable({id:C,disabled:r}),L={...o,transform:utilities.CSS.Transform.toString(s),transition:l,opacity:p?.25:1};return jsxRuntime.jsx(zu,{style:L,ref:a,...n,...i,onClick:()=>t(C),id:C,children:jsxRuntime.jsx(Wu,{children:e})})}var ju=g1__default.default.div`
2527
2531
  display: flex;
2528
2532
  flex-direction: column;
2529
- `;function ha({id:C,onClickElement:e=()=>null,elements:t=[],onChange:o,onDragOver:r=()=>null,className:n="",disabled:i=!1}){let{setNodeRef:a}=core.useDroppable({id:C}),s=({active:L,over:d,delta:f})=>{if(Math.abs(f.x)<1&&Math.abs(f.y)<1)return e(L.id);let x=t.findIndex(b=>b.id===L.id),y=t.findIndex(b=>b.id===d?.id),A=b=>sortable.arrayMove(b,x,y);return d?.id&&r(A(t)),!1},l=({active:L,over:d,delta:f})=>{if(Math.abs(f.x)<1&&Math.abs(f.y)<1)return e(L.id);let x=t.findIndex(b=>b.id===L.id),y=t.findIndex(b=>b.id===d?.id),A=b=>sortable.arrayMove(b,x,y);return d?.id&&o(A(t)),null},p=core.useSensors(core.useSensor(v8),core.useSensor(M8));return jsxRuntime.jsx(core.DndContext,{collisionDetection:core.closestCorners,onDragOver:s,onDragEnd:l,sensors:p,children:jsxRuntime.jsx(sortable.SortableContext,{id:C,items:t,strategy:sortable.verticalListSortingStrategy,children:jsxRuntime.jsx(ju,{ref:a,className:n,children:t.map(L=>jsxRuntime.jsx(H6,{onClickElement:e,id:L.id,disabled:i,children:L.children},L.id))})})})}var Cw=()=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:jsxRuntime.jsx("path",{d:"M6.17984 0L7.58984 1.41L3.00984 6L7.58984 10.59L6.17984 12L0.179844 6L6.17984 0Z",fill:"#555555"})}),"Previous"]}),ew=()=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Next",jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:jsxRuntime.jsx("path",{d:"M1.99984 0L0.589844 1.41L5.16984 6L0.589844 10.59L1.99984 12L7.99984 6L1.99984 0Z",fill:"#555555"})})]}),k6={Previous:Cw,Next:ew};g1__default.default.header`
2533
+ `;function ha({id:C,onClickElement:e=()=>null,elements:t=[],onChange:o,onDragOver:r=()=>null,className:n="",disabled:i=!1}){let{setNodeRef:a}=core.useDroppable({id:C}),s=({active:L,over:d,delta:f})=>{if(Math.abs(f.x)<1&&Math.abs(f.y)<1)return e(L.id);let y=t.findIndex(b=>b.id===L.id),x=t.findIndex(b=>b.id===d?.id),A=b=>sortable.arrayMove(b,y,x);return d?.id&&r(A(t)),!1},l=({active:L,over:d,delta:f})=>{if(Math.abs(f.x)<1&&Math.abs(f.y)<1)return e(L.id);let y=t.findIndex(b=>b.id===L.id),x=t.findIndex(b=>b.id===d?.id),A=b=>sortable.arrayMove(b,y,x);return d?.id&&o(A(t)),null},p=core.useSensors(core.useSensor(v8),core.useSensor(M8));return jsxRuntime.jsx(core.DndContext,{collisionDetection:core.closestCorners,onDragOver:s,onDragEnd:l,sensors:p,children:jsxRuntime.jsx(sortable.SortableContext,{id:C,items:t,strategy:sortable.verticalListSortingStrategy,children:jsxRuntime.jsx(ju,{ref:a,className:n,children:t.map(L=>jsxRuntime.jsx(H6,{onClickElement:e,id:L.id,disabled:i,children:L.children},L.id))})})})}var Cw=()=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:jsxRuntime.jsx("path",{d:"M6.17984 0L7.58984 1.41L3.00984 6L7.58984 10.59L6.17984 12L0.179844 6L6.17984 0Z",fill:"#555555"})}),"Previous"]}),ew=()=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Next",jsxRuntime.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"12",viewBox:"0 0 8 12",fill:"none",children:jsxRuntime.jsx("path",{d:"M1.99984 0L0.589844 1.41L5.16984 6L0.589844 10.59L1.99984 12L7.99984 6L1.99984 0Z",fill:"#555555"})})]}),k6={Previous:Cw,Next:ew};g1__default.default.header`
2530
2534
  display: flex;
2531
2535
  justify-content: space-between;
2532
2536
  margin-bottom: 1rem;
@@ -2967,7 +2971,7 @@ The mask that was received is: ${JSON.stringify(C)}`);return C.map(t=>t instance
2967
2971
  color: var(--Primary-Subtitle-Color, #686868);
2968
2972
  font-size: 0.875rem;
2969
2973
  line-height: 150%;
2970
- `;var qw=({event:C})=>jsxRuntime.jsxs(cs,{children:[jsxRuntime.jsx(ms,{children:C.title})," ",jsxRuntime.jsx(gs,{children:e2__default.default(C.start).format("HH:mm")})]}),us=qw;var jw=reactBigCalendar.dayjsLocalizer(e2__default.default);var Cx=({events:C,defaultView:e="day",defaultDate:t=new Date,date:o=void 0,titleRender:r=void 0,dayEventRender:n=void 0,weekEventRender:i=void 0,monthEventRender:a=void 0,onEventClick:s=void 0,resources:l=void 0,height:p="auto",...L})=>{let[d,f]=yf.useState(e),[g,x]=yf.useState(o||t),[y,A]=yf.useState(e2__default.default().subtract(1,"hour").toDate());yf.useEffect(()=>{o&&x(o);},[o]);let b=yf.useMemo(()=>({day:{header:fs,event:n||us},toolbar:()=>null,week:{header:Na,event:i||Oa},month:{header:Ka,dateHeader:ts,event:a||as}}),[n,i,a]),E=yf.useMemo(()=>({timeGutterFormat:Z=>e2__default.default(Z).format("h A")}),[]),h={event:"Event",agenda:"Agenda",noEventsInRange:"There are no events in this range.",showMore:Z=>`+${Z}`},c=()=>d==="week"?"Weekly Visits":d==="month"?`${e2__default.default(g).format("MMMM")} Visits`:e2__default.default(g).isSame(e2__default.default(),"day")?"Today's Visits":e2__default.default(g).format("MMMM D, YYYY"),F=Z=>{f(Z);},k=Z=>{f("day"),x(e2__default.default(Z.start).toDate()),A(e2__default.default(Z.start).toDate());},O=()=>{x(Z=>e2__default.default(Z).add(1,d).toDate());};return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(Ta,{children:[jsxRuntime.jsxs(antd.Flex,{align:"center",gap:"2rem",children:[jsxRuntime.jsxs(antd.Flex,{align:"center",gap:".5rem",children:[jsxRuntime.jsx(Z6,{onClick:()=>{x(Z=>e2__default.default(Z).subtract(1,d).toDate());},style:{paddingRight:3},children:jsxRuntime.jsx(I.Caret,{direction:"left",size:12,color:"#285E50"})}),jsxRuntime.jsx(Z6,{onClick:O,style:{paddingLeft:3},children:jsxRuntime.jsx(I.Caret,{direction:"right",size:12,color:"#285E50"})})]}),jsxRuntime.jsx(Aa,{children:c()})]}),jsxRuntime.jsx(b6,{options:[{label:"Day",value:"day"},{label:"Week",value:"week"},{label:"Month",value:"month"}],onChange:F,defaultValue:e,value:d})]}),jsxRuntime.jsx("div",{style:{},children:jsxRuntime.jsx(Ra,{localizer:jw,events:C||[],components:b,defaultDate:t,date:g,view:d,onView:Z=>f(Z),titleAccessor:r,views:["day","week","month"],formats:E,messages:h,className:`${d}-view`,height:p,scrollToTime:y,resources:d==="day"?l:void 0,onSelectEvent:s||k,...L})})]})};function I6({isActive:C,color:e="#000"}){let t=web.useSpring(C?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:{...t,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(I.Caret,{direction:"up",color:e})})}var Ms=g1__default.default(antd.Menu)`
2974
+ `;var qw=({event:C})=>jsxRuntime.jsxs(cs,{children:[jsxRuntime.jsx(ms,{children:C.title})," ",jsxRuntime.jsx(gs,{children:e2__default.default(C.start).format("HH:mm")})]}),us=qw;var jw=reactBigCalendar.dayjsLocalizer(e2__default.default);var Cx=({events:C,defaultView:e="day",defaultDate:t=new Date,date:o=void 0,titleRender:r=void 0,dayEventRender:n=void 0,weekEventRender:i=void 0,monthEventRender:a=void 0,onEventClick:s=void 0,resources:l=void 0,height:p="auto",...L})=>{let[d,f]=yf.useState(e),[m,y]=yf.useState(o||t),[x,A]=yf.useState(e2__default.default().subtract(1,"hour").toDate());yf.useEffect(()=>{o&&y(o);},[o]);let b=yf.useMemo(()=>({day:{header:fs,event:n||us},toolbar:()=>null,week:{header:Na,event:i||Oa},month:{header:Ka,dateHeader:ts,event:a||as}}),[n,i,a]),E=yf.useMemo(()=>({timeGutterFormat:Z=>e2__default.default(Z).format("h A")}),[]),h={event:"Event",agenda:"Agenda",noEventsInRange:"There are no events in this range.",showMore:Z=>`+${Z}`},c=()=>d==="week"?"Weekly Visits":d==="month"?`${e2__default.default(m).format("MMMM")} Visits`:e2__default.default(m).isSame(e2__default.default(),"day")?"Today's Visits":e2__default.default(m).format("MMMM D, YYYY"),F=Z=>{f(Z);},k=Z=>{f("day"),y(e2__default.default(Z.start).toDate()),A(e2__default.default(Z.start).toDate());},O=()=>{y(Z=>e2__default.default(Z).add(1,d).toDate());};return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(Ta,{children:[jsxRuntime.jsxs(antd.Flex,{align:"center",gap:"2rem",children:[jsxRuntime.jsxs(antd.Flex,{align:"center",gap:".5rem",children:[jsxRuntime.jsx(Z6,{onClick:()=>{y(Z=>e2__default.default(Z).subtract(1,d).toDate());},style:{paddingRight:3},children:jsxRuntime.jsx(I.Caret,{direction:"left",size:12,color:"#285E50"})}),jsxRuntime.jsx(Z6,{onClick:O,style:{paddingLeft:3},children:jsxRuntime.jsx(I.Caret,{direction:"right",size:12,color:"#285E50"})})]}),jsxRuntime.jsx(Aa,{children:c()})]}),jsxRuntime.jsx(b6,{options:[{label:"Day",value:"day"},{label:"Week",value:"week"},{label:"Month",value:"month"}],onChange:F,defaultValue:e,value:d})]}),jsxRuntime.jsx("div",{style:{},children:jsxRuntime.jsx(Ra,{localizer:jw,events:C||[],components:b,defaultDate:t,date:m,view:d,onView:Z=>f(Z),titleAccessor:r,views:["day","week","month"],formats:E,messages:h,className:`${d}-view`,height:p,scrollToTime:x,resources:d==="day"?l:void 0,onSelectEvent:s||k,...L})})]})};function I6({isActive:C,color:e="#000"}){let t=web.useSpring(C?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:{...t,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(I.Caret,{direction:"up",color:e})})}var Ms=g1__default.default(antd.Menu)`
2971
2975
  --border-radius: 5px;
2972
2976
  --green-dark: #285e50;
2973
2977
  --green-light: #e9f0ee;