@solace-health/ui 0.10.62 → 0.10.63
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 +44 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +44 -44
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -46,8 +46,8 @@ var N8__default = /*#__PURE__*/_interopDefault(N8);
|
|
|
46
46
|
var v3__namespace = /*#__PURE__*/_interopNamespace(v3);
|
|
47
47
|
var Zi__default = /*#__PURE__*/_interopDefault(Zi);
|
|
48
48
|
|
|
49
|
-
var U0=Object.create;var v5=Object.defineProperty;var q0=Object.getOwnPropertyDescriptor;var X0=Object.getOwnPropertyNames;var J0=Object.getPrototypeOf,Y0=Object.prototype.hasOwnProperty;var p1=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var K0=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of X0(t))!Y0.call(e,n)&&n!==o&&v5(e,n,{get:()=>t[n],enumerable:!(r=q0(t,n))||r.enumerable});return e};var j0=(e,t,o)=>(o=e!=null?U0(J0(e)):{},K0(t||!e||!e.__esModule?v5(o,"default",{value:e,enumerable:!0}):o,e));var E3=p1(I=>{var U=typeof Symbol=="function"&&Symbol.for,e5=U?Symbol.for("react.element"):60103,t5=U?Symbol.for("react.portal"):60106,U2=U?Symbol.for("react.fragment"):60107,q2=U?Symbol.for("react.strict_mode"):60108,X2=U?Symbol.for("react.profiler"):60114,J2=U?Symbol.for("react.provider"):60109,Y2=U?Symbol.for("react.context"):60110,o5=U?Symbol.for("react.async_mode"):60111,K2=U?Symbol.for("react.concurrent_mode"):60111,j2=U?Symbol.for("react.forward_ref"):60112,Q2=U?Symbol.for("react.suspense"):60113,f7=U?Symbol.for("react.suspense_list"):60120,ee=U?Symbol.for("react.memo"):60115,te=U?Symbol.for("react.lazy"):60116,c7=U?Symbol.for("react.block"):60121,C7=U?Symbol.for("react.fundamental"):60117,m7=U?Symbol.for("react.responder"):60118,u7=U?Symbol.for("react.scope"):60119;function e1(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case e5:switch(e=e.type,e){case o5:case K2:case U2:case X2:case q2:case Q2:return e;default:switch(e=e&&e.$$typeof,e){case Y2:case j2:case te:case ee:case J2:return e;default:return t}}case t5:return t}}}function V3(e){return e1(e)===K2}I.AsyncMode=o5;I.ConcurrentMode=K2;I.ContextConsumer=Y2;I.ContextProvider=J2;I.Element=e5;I.ForwardRef=j2;I.Fragment=U2;I.Lazy=te;I.Memo=ee;I.Portal=t5;I.Profiler=X2;I.StrictMode=q2;I.Suspense=Q2;I.isAsyncMode=function(e){return V3(e)||e1(e)===o5};I.isConcurrentMode=V3;I.isContextConsumer=function(e){return e1(e)===Y2};I.isContextProvider=function(e){return e1(e)===J2};I.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===e5};I.isForwardRef=function(e){return e1(e)===j2};I.isFragment=function(e){return e1(e)===U2};I.isLazy=function(e){return e1(e)===te};I.isMemo=function(e){return e1(e)===ee};I.isPortal=function(e){return e1(e)===t5};I.isProfiler=function(e){return e1(e)===X2};I.isStrictMode=function(e){return e1(e)===q2};I.isSuspense=function(e){return e1(e)===Q2};I.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===U2||e===K2||e===X2||e===q2||e===Q2||e===f7||typeof e=="object"&&e!==null&&(e.$$typeof===te||e.$$typeof===ee||e.$$typeof===J2||e.$$typeof===Y2||e.$$typeof===j2||e.$$typeof===C7||e.$$typeof===m7||e.$$typeof===u7||e.$$typeof===c7)};I.typeOf=e1;});var P3=p1(z=>{process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,V=e?Symbol.for("react.block"):60121,L=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,B=e?Symbol.for("react.scope"):60119;function O(v){return typeof v=="string"||typeof v=="function"||v===r||v===d||v===i||v===n||v===c||v===m||typeof v=="object"&&v!==null&&(v.$$typeof===y||v.$$typeof===h||v.$$typeof===s||v.$$typeof===a||v.$$typeof===f||v.$$typeof===L||v.$$typeof===E||v.$$typeof===B||v.$$typeof===V)}function b(v){if(typeof v=="object"&&v!==null){var ye=v.$$typeof;switch(ye){case t:var M2=v.type;switch(M2){case l:case d:case r:case i:case n:case c:return M2;default:var b5=M2&&M2.$$typeof;switch(b5){case a:case f:case y:case h:case s:return b5;default:return ye}}case o:return ye}}}var g=l,P=d,u=a,M=s,$=t,X=f,J=r,j=y,p=h,C=o,Z=i,S=n,H=c,T=!1;function x(v){return T||(T=!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.")),_(v)||b(v)===l}function _(v){return b(v)===d}function D(v){return b(v)===a}function F(v){return b(v)===s}function R(v){return typeof v=="object"&&v!==null&&v.$$typeof===t}function K(v){return b(v)===f}function Y(v){return b(v)===r}function x1(v){return b(v)===y}function A0(v){return b(v)===h}function $0(v){return b(v)===o}function N0(v){return b(v)===i}function G0(v){return b(v)===n}function W0(v){return b(v)===c}z.AsyncMode=g,z.ConcurrentMode=P,z.ContextConsumer=u,z.ContextProvider=M,z.Element=$,z.ForwardRef=X,z.Fragment=J,z.Lazy=j,z.Memo=p,z.Portal=C,z.Profiler=Z,z.StrictMode=S,z.Suspense=H,z.isAsyncMode=x,z.isConcurrentMode=_,z.isContextConsumer=D,z.isContextProvider=F,z.isElement=R,z.isForwardRef=K,z.isFragment=Y,z.isLazy=x1,z.isMemo=A0,z.isPortal=$0,z.isProfiler=N0,z.isStrictMode=G0,z.isSuspense=W0,z.isValidElementType=O,z.typeOf=b;}();});var n5=p1((Cu,r5)=>{process.env.NODE_ENV==="production"?r5.exports=E3():r5.exports=P3();});var T3=p1((mu,Z3)=>{var _3=Object.getOwnPropertySymbols,g7=Object.prototype.hasOwnProperty,h7=Object.prototype.propertyIsEnumerable;function x7(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function y7(){try{if(!Object.assign)return !1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return !1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return !1;var n={};return "abcdefghijklmnopqrst".split("").forEach(function(i){n[i]=i;}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return !1}}Z3.exports=y7()?Object.assign:function(e,t){for(var o,r=x7(e),n,i=1;i<arguments.length;i++){o=Object(arguments[i]);for(var s in o)g7.call(o,s)&&(r[s]=o[s]);if(_3){n=_3(o);for(var a=0;a<n.length;a++)h7.call(o,n[a])&&(r[n[a]]=o[n[a]]);}}return r};});var oe=p1((uu,B3)=>{var b7="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";B3.exports=b7;});var i5=p1((gu,O3)=>{O3.exports=Function.call.bind(Object.prototype.hasOwnProperty);});var z3=p1((hu,I3)=>{var s5=function(){};process.env.NODE_ENV!=="production"&&(D3=oe(),re={},R3=i5(),s5=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}});var D3,re,R3;function F3(e,t,o,r,n){if(process.env.NODE_ENV!=="production"){for(var i in e)if(R3(e,i)){var s;try{if(typeof e[i]!="function"){var a=Error((r||"React class")+": "+o+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw a.name="Invariant Violation",a}s=e[i](t,i,r,o,null,D3);}catch(d){s=d;}if(s&&!(s instanceof Error)&&s5((r||"React class")+": type specification of "+o+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in re)){re[s.message]=!0;var l=n?n():"";s5("Failed "+o+" type: "+s.message+(l??""));}}}}F3.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(re={});};I3.exports=F3;});var N3=p1((xu,$3)=>{var v7=n5(),w7=T3(),Y1=oe(),a5=i5(),A3=z3(),K1=function(){};process.env.NODE_ENV!=="production"&&(K1=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}});function ne(){return null}$3.exports=function(e,t){var o=typeof Symbol=="function"&&Symbol.iterator,r="@@iterator";function n(p){var C=p&&(o&&p[o]||p[r]);if(typeof C=="function")return C}var i="<<anonymous>>",s={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:c(),arrayOf:m,element:h(),elementType:y(),instanceOf:V,node:O(),objectOf:E,oneOf:L,oneOfType:B,shape:g,exact:P};function a(p,C){return p===C?p!==0||1/p===1/C:p!==p&&C!==C}function l(p,C){this.message=p,this.data=C&&typeof C=="object"?C:{},this.stack="";}l.prototype=Error.prototype;function d(p){if(process.env.NODE_ENV!=="production")var C={},Z=0;function S(T,x,_,D,F,R,K){if(D=D||i,R=R||_,K!==Y1){if(t){var Y=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 Y.name="Invariant Violation",Y}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var x1=D+":"+_;!C[x1]&&Z<3&&(K1("You are manually calling a React.PropTypes validation function for the `"+R+"` prop on `"+D+"`. 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."),C[x1]=!0,Z++);}}return x[_]==null?T?x[_]===null?new l("The "+F+" `"+R+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new l("The "+F+" `"+R+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:p(x,_,D,F,R)}var H=S.bind(null,!1);return H.isRequired=S.bind(null,!0),H}function f(p){function C(Z,S,H,T,x,_){var D=Z[S],F=$(D);if(F!==p){var R=X(D);return new l("Invalid "+T+" `"+x+"` of type "+("`"+R+"` supplied to `"+H+"`, expected ")+("`"+p+"`."),{expectedType:p})}return null}return d(C)}function c(){return d(ne)}function m(p){function C(Z,S,H,T,x){if(typeof p!="function")return new l("Property `"+x+"` of component `"+H+"` has invalid PropType notation inside arrayOf.");var _=Z[S];if(!Array.isArray(_)){var D=$(_);return new l("Invalid "+T+" `"+x+"` of type "+("`"+D+"` supplied to `"+H+"`, expected an array."))}for(var F=0;F<_.length;F++){var R=p(_,F,H,T,x+"["+F+"]",Y1);if(R instanceof Error)return R}return null}return d(C)}function h(){function p(C,Z,S,H,T){var x=C[Z];if(!e(x)){var _=$(x);return new l("Invalid "+H+" `"+T+"` of type "+("`"+_+"` supplied to `"+S+"`, expected a single ReactElement."))}return null}return d(p)}function y(){function p(C,Z,S,H,T){var x=C[Z];if(!v7.isValidElementType(x)){var _=$(x);return new l("Invalid "+H+" `"+T+"` of type "+("`"+_+"` supplied to `"+S+"`, expected a single ReactElement type."))}return null}return d(p)}function V(p){function C(Z,S,H,T,x){if(!(Z[S]instanceof p)){var _=p.name||i,D=j(Z[S]);return new l("Invalid "+T+" `"+x+"` of type "+("`"+D+"` supplied to `"+H+"`, expected ")+("instance of `"+_+"`."))}return null}return d(C)}function L(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&(arguments.length>1?K1("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])."):K1("Invalid argument supplied to oneOf, expected an array.")),ne;function C(Z,S,H,T,x){for(var _=Z[S],D=0;D<p.length;D++)if(a(_,p[D]))return null;var F=JSON.stringify(p,function(K,Y){var x1=X(Y);return x1==="symbol"?String(Y):Y});return new l("Invalid "+T+" `"+x+"` of value `"+String(_)+"` "+("supplied to `"+H+"`, expected one of "+F+"."))}return d(C)}function E(p){function C(Z,S,H,T,x){if(typeof p!="function")return new l("Property `"+x+"` of component `"+H+"` has invalid PropType notation inside objectOf.");var _=Z[S],D=$(_);if(D!=="object")return new l("Invalid "+T+" `"+x+"` of type "+("`"+D+"` supplied to `"+H+"`, expected an object."));for(var F in _)if(a5(_,F)){var R=p(_,F,H,T,x+"."+F,Y1);if(R instanceof Error)return R}return null}return d(C)}function B(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&K1("Invalid argument supplied to oneOfType, expected an instance of array."),ne;for(var C=0;C<p.length;C++){var Z=p[C];if(typeof Z!="function")return K1("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+J(Z)+" at index "+C+"."),ne}function S(H,T,x,_,D){for(var F=[],R=0;R<p.length;R++){var K=p[R],Y=K(H,T,x,_,D,Y1);if(Y==null)return null;Y.data&&a5(Y.data,"expectedType")&&F.push(Y.data.expectedType);}var x1=F.length>0?", expected one of type ["+F.join(", ")+"]":"";return new l("Invalid "+_+" `"+D+"` supplied to "+("`"+x+"`"+x1+"."))}return d(S)}function O(){function p(C,Z,S,H,T){return u(C[Z])?null:new l("Invalid "+H+" `"+T+"` supplied to "+("`"+S+"`, expected a ReactNode."))}return d(p)}function b(p,C,Z,S,H){return new l((p||"React class")+": "+C+" type `"+Z+"."+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+H+"`.")}function g(p){function C(Z,S,H,T,x){var _=Z[S],D=$(_);if(D!=="object")return new l("Invalid "+T+" `"+x+"` of type `"+D+"` "+("supplied to `"+H+"`, expected `object`."));for(var F in p){var R=p[F];if(typeof R!="function")return b(H,T,x,F,X(R));var K=R(_,F,H,T,x+"."+F,Y1);if(K)return K}return null}return d(C)}function P(p){function C(Z,S,H,T,x){var _=Z[S],D=$(_);if(D!=="object")return new l("Invalid "+T+" `"+x+"` of type `"+D+"` "+("supplied to `"+H+"`, expected `object`."));var F=w7({},Z[S],p);for(var R in F){var K=p[R];if(a5(p,R)&&typeof K!="function")return b(H,T,x,R,X(K));if(!K)return new l("Invalid "+T+" `"+x+"` key `"+R+"` supplied to `"+H+"`.\nBad object: "+JSON.stringify(Z[S],null," ")+`
|
|
50
|
-
Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,Y1);if(Y)return Y}return null}return d(C)}function
|
|
49
|
+
var U0=Object.create;var v5=Object.defineProperty;var q0=Object.getOwnPropertyDescriptor;var X0=Object.getOwnPropertyNames;var J0=Object.getPrototypeOf,Y0=Object.prototype.hasOwnProperty;var p1=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var K0=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of X0(t))!Y0.call(e,n)&&n!==o&&v5(e,n,{get:()=>t[n],enumerable:!(r=q0(t,n))||r.enumerable});return e};var j0=(e,t,o)=>(o=e!=null?U0(J0(e)):{},K0(t||!e||!e.__esModule?v5(o,"default",{value:e,enumerable:!0}):o,e));var E3=p1(I=>{var U=typeof Symbol=="function"&&Symbol.for,e5=U?Symbol.for("react.element"):60103,t5=U?Symbol.for("react.portal"):60106,U2=U?Symbol.for("react.fragment"):60107,q2=U?Symbol.for("react.strict_mode"):60108,X2=U?Symbol.for("react.profiler"):60114,J2=U?Symbol.for("react.provider"):60109,Y2=U?Symbol.for("react.context"):60110,o5=U?Symbol.for("react.async_mode"):60111,K2=U?Symbol.for("react.concurrent_mode"):60111,j2=U?Symbol.for("react.forward_ref"):60112,Q2=U?Symbol.for("react.suspense"):60113,f7=U?Symbol.for("react.suspense_list"):60120,ee=U?Symbol.for("react.memo"):60115,te=U?Symbol.for("react.lazy"):60116,c7=U?Symbol.for("react.block"):60121,C7=U?Symbol.for("react.fundamental"):60117,m7=U?Symbol.for("react.responder"):60118,u7=U?Symbol.for("react.scope"):60119;function e1(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case e5:switch(e=e.type,e){case o5:case K2:case U2:case X2:case q2:case Q2:return e;default:switch(e=e&&e.$$typeof,e){case Y2:case j2:case te:case ee:case J2:return e;default:return t}}case t5:return t}}}function V3(e){return e1(e)===K2}I.AsyncMode=o5;I.ConcurrentMode=K2;I.ContextConsumer=Y2;I.ContextProvider=J2;I.Element=e5;I.ForwardRef=j2;I.Fragment=U2;I.Lazy=te;I.Memo=ee;I.Portal=t5;I.Profiler=X2;I.StrictMode=q2;I.Suspense=Q2;I.isAsyncMode=function(e){return V3(e)||e1(e)===o5};I.isConcurrentMode=V3;I.isContextConsumer=function(e){return e1(e)===Y2};I.isContextProvider=function(e){return e1(e)===J2};I.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===e5};I.isForwardRef=function(e){return e1(e)===j2};I.isFragment=function(e){return e1(e)===U2};I.isLazy=function(e){return e1(e)===te};I.isMemo=function(e){return e1(e)===ee};I.isPortal=function(e){return e1(e)===t5};I.isProfiler=function(e){return e1(e)===X2};I.isStrictMode=function(e){return e1(e)===q2};I.isSuspense=function(e){return e1(e)===Q2};I.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===U2||e===K2||e===X2||e===q2||e===Q2||e===f7||typeof e=="object"&&e!==null&&(e.$$typeof===te||e.$$typeof===ee||e.$$typeof===J2||e.$$typeof===Y2||e.$$typeof===j2||e.$$typeof===C7||e.$$typeof===m7||e.$$typeof===u7||e.$$typeof===c7)};I.typeOf=e1;});var P3=p1(z=>{process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,u=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,V=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,B=e?Symbol.for("react.scope"):60119;function O(v){return typeof v=="string"||typeof v=="function"||v===r||v===d||v===i||v===n||v===c||v===u||typeof v=="object"&&v!==null&&(v.$$typeof===y||v.$$typeof===h||v.$$typeof===s||v.$$typeof===a||v.$$typeof===f||v.$$typeof===b||v.$$typeof===E||v.$$typeof===B||v.$$typeof===V)}function w(v){if(typeof v=="object"&&v!==null){var ye=v.$$typeof;switch(ye){case t:var M2=v.type;switch(M2){case l:case d:case r:case i:case n:case c:return M2;default:var b5=M2&&M2.$$typeof;switch(b5){case a:case f:case y:case h:case s:return b5;default:return ye}}case o:return ye}}}var g=l,P=d,m=a,M=s,$=t,X=f,J=r,j=y,p=h,C=o,Z=i,S=n,H=c,T=!1;function x(v){return T||(T=!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.")),_(v)||w(v)===l}function _(v){return w(v)===d}function D(v){return w(v)===a}function F(v){return w(v)===s}function R(v){return typeof v=="object"&&v!==null&&v.$$typeof===t}function K(v){return w(v)===f}function Y(v){return w(v)===r}function x1(v){return w(v)===y}function A0(v){return w(v)===h}function $0(v){return w(v)===o}function N0(v){return w(v)===i}function G0(v){return w(v)===n}function W0(v){return w(v)===c}z.AsyncMode=g,z.ConcurrentMode=P,z.ContextConsumer=m,z.ContextProvider=M,z.Element=$,z.ForwardRef=X,z.Fragment=J,z.Lazy=j,z.Memo=p,z.Portal=C,z.Profiler=Z,z.StrictMode=S,z.Suspense=H,z.isAsyncMode=x,z.isConcurrentMode=_,z.isContextConsumer=D,z.isContextProvider=F,z.isElement=R,z.isForwardRef=K,z.isFragment=Y,z.isLazy=x1,z.isMemo=A0,z.isPortal=$0,z.isProfiler=N0,z.isStrictMode=G0,z.isSuspense=W0,z.isValidElementType=O,z.typeOf=w;}();});var n5=p1((Cu,r5)=>{process.env.NODE_ENV==="production"?r5.exports=E3():r5.exports=P3();});var T3=p1((mu,Z3)=>{var _3=Object.getOwnPropertySymbols,g7=Object.prototype.hasOwnProperty,h7=Object.prototype.propertyIsEnumerable;function x7(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function y7(){try{if(!Object.assign)return !1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return !1;for(var t={},o=0;o<10;o++)t["_"+String.fromCharCode(o)]=o;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return !1;var n={};return "abcdefghijklmnopqrst".split("").forEach(function(i){n[i]=i;}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch{return !1}}Z3.exports=y7()?Object.assign:function(e,t){for(var o,r=x7(e),n,i=1;i<arguments.length;i++){o=Object(arguments[i]);for(var s in o)g7.call(o,s)&&(r[s]=o[s]);if(_3){n=_3(o);for(var a=0;a<n.length;a++)h7.call(o,n[a])&&(r[n[a]]=o[n[a]]);}}return r};});var oe=p1((uu,B3)=>{var b7="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";B3.exports=b7;});var i5=p1((gu,O3)=>{O3.exports=Function.call.bind(Object.prototype.hasOwnProperty);});var z3=p1((hu,I3)=>{var s5=function(){};process.env.NODE_ENV!=="production"&&(D3=oe(),re={},R3=i5(),s5=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}});var D3,re,R3;function F3(e,t,o,r,n){if(process.env.NODE_ENV!=="production"){for(var i in e)if(R3(e,i)){var s;try{if(typeof e[i]!="function"){var a=Error((r||"React class")+": "+o+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw a.name="Invariant Violation",a}s=e[i](t,i,r,o,null,D3);}catch(d){s=d;}if(s&&!(s instanceof Error)&&s5((r||"React class")+": type specification of "+o+" `"+i+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof s+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),s instanceof Error&&!(s.message in re)){re[s.message]=!0;var l=n?n():"";s5("Failed "+o+" type: "+s.message+(l??""));}}}}F3.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(re={});};I3.exports=F3;});var N3=p1((xu,$3)=>{var v7=n5(),w7=T3(),Y1=oe(),a5=i5(),A3=z3(),K1=function(){};process.env.NODE_ENV!=="production"&&(K1=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}});function ne(){return null}$3.exports=function(e,t){var o=typeof Symbol=="function"&&Symbol.iterator,r="@@iterator";function n(p){var C=p&&(o&&p[o]||p[r]);if(typeof C=="function")return C}var i="<<anonymous>>",s={array:f("array"),bigint:f("bigint"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:c(),arrayOf:u,element:h(),elementType:y(),instanceOf:V,node:O(),objectOf:E,oneOf:b,oneOfType:B,shape:g,exact:P};function a(p,C){return p===C?p!==0||1/p===1/C:p!==p&&C!==C}function l(p,C){this.message=p,this.data=C&&typeof C=="object"?C:{},this.stack="";}l.prototype=Error.prototype;function d(p){if(process.env.NODE_ENV!=="production")var C={},Z=0;function S(T,x,_,D,F,R,K){if(D=D||i,R=R||_,K!==Y1){if(t){var Y=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 Y.name="Invariant Violation",Y}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var x1=D+":"+_;!C[x1]&&Z<3&&(K1("You are manually calling a React.PropTypes validation function for the `"+R+"` prop on `"+D+"`. 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."),C[x1]=!0,Z++);}}return x[_]==null?T?x[_]===null?new l("The "+F+" `"+R+"` is marked as required "+("in `"+D+"`, but its value is `null`.")):new l("The "+F+" `"+R+"` is marked as required in "+("`"+D+"`, but its value is `undefined`.")):null:p(x,_,D,F,R)}var H=S.bind(null,!1);return H.isRequired=S.bind(null,!0),H}function f(p){function C(Z,S,H,T,x,_){var D=Z[S],F=$(D);if(F!==p){var R=X(D);return new l("Invalid "+T+" `"+x+"` of type "+("`"+R+"` supplied to `"+H+"`, expected ")+("`"+p+"`."),{expectedType:p})}return null}return d(C)}function c(){return d(ne)}function u(p){function C(Z,S,H,T,x){if(typeof p!="function")return new l("Property `"+x+"` of component `"+H+"` has invalid PropType notation inside arrayOf.");var _=Z[S];if(!Array.isArray(_)){var D=$(_);return new l("Invalid "+T+" `"+x+"` of type "+("`"+D+"` supplied to `"+H+"`, expected an array."))}for(var F=0;F<_.length;F++){var R=p(_,F,H,T,x+"["+F+"]",Y1);if(R instanceof Error)return R}return null}return d(C)}function h(){function p(C,Z,S,H,T){var x=C[Z];if(!e(x)){var _=$(x);return new l("Invalid "+H+" `"+T+"` of type "+("`"+_+"` supplied to `"+S+"`, expected a single ReactElement."))}return null}return d(p)}function y(){function p(C,Z,S,H,T){var x=C[Z];if(!v7.isValidElementType(x)){var _=$(x);return new l("Invalid "+H+" `"+T+"` of type "+("`"+_+"` supplied to `"+S+"`, expected a single ReactElement type."))}return null}return d(p)}function V(p){function C(Z,S,H,T,x){if(!(Z[S]instanceof p)){var _=p.name||i,D=j(Z[S]);return new l("Invalid "+T+" `"+x+"` of type "+("`"+D+"` supplied to `"+H+"`, expected ")+("instance of `"+_+"`."))}return null}return d(C)}function b(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&(arguments.length>1?K1("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])."):K1("Invalid argument supplied to oneOf, expected an array.")),ne;function C(Z,S,H,T,x){for(var _=Z[S],D=0;D<p.length;D++)if(a(_,p[D]))return null;var F=JSON.stringify(p,function(K,Y){var x1=X(Y);return x1==="symbol"?String(Y):Y});return new l("Invalid "+T+" `"+x+"` of value `"+String(_)+"` "+("supplied to `"+H+"`, expected one of "+F+"."))}return d(C)}function E(p){function C(Z,S,H,T,x){if(typeof p!="function")return new l("Property `"+x+"` of component `"+H+"` has invalid PropType notation inside objectOf.");var _=Z[S],D=$(_);if(D!=="object")return new l("Invalid "+T+" `"+x+"` of type "+("`"+D+"` supplied to `"+H+"`, expected an object."));for(var F in _)if(a5(_,F)){var R=p(_,F,H,T,x+"."+F,Y1);if(R instanceof Error)return R}return null}return d(C)}function B(p){if(!Array.isArray(p))return process.env.NODE_ENV!=="production"&&K1("Invalid argument supplied to oneOfType, expected an instance of array."),ne;for(var C=0;C<p.length;C++){var Z=p[C];if(typeof Z!="function")return K1("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+J(Z)+" at index "+C+"."),ne}function S(H,T,x,_,D){for(var F=[],R=0;R<p.length;R++){var K=p[R],Y=K(H,T,x,_,D,Y1);if(Y==null)return null;Y.data&&a5(Y.data,"expectedType")&&F.push(Y.data.expectedType);}var x1=F.length>0?", expected one of type ["+F.join(", ")+"]":"";return new l("Invalid "+_+" `"+D+"` supplied to "+("`"+x+"`"+x1+"."))}return d(S)}function O(){function p(C,Z,S,H,T){return m(C[Z])?null:new l("Invalid "+H+" `"+T+"` supplied to "+("`"+S+"`, expected a ReactNode."))}return d(p)}function w(p,C,Z,S,H){return new l((p||"React class")+": "+C+" type `"+Z+"."+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+H+"`.")}function g(p){function C(Z,S,H,T,x){var _=Z[S],D=$(_);if(D!=="object")return new l("Invalid "+T+" `"+x+"` of type `"+D+"` "+("supplied to `"+H+"`, expected `object`."));for(var F in p){var R=p[F];if(typeof R!="function")return w(H,T,x,F,X(R));var K=R(_,F,H,T,x+"."+F,Y1);if(K)return K}return null}return d(C)}function P(p){function C(Z,S,H,T,x){var _=Z[S],D=$(_);if(D!=="object")return new l("Invalid "+T+" `"+x+"` of type `"+D+"` "+("supplied to `"+H+"`, expected `object`."));var F=w7({},Z[S],p);for(var R in F){var K=p[R];if(a5(p,R)&&typeof K!="function")return w(H,T,x,R,X(K));if(!K)return new l("Invalid "+T+" `"+x+"` key `"+R+"` supplied to `"+H+"`.\nBad object: "+JSON.stringify(Z[S],null," ")+`
|
|
50
|
+
Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,Y1);if(Y)return Y}return null}return d(C)}function m(p){switch(typeof p){case"number":case"string":case"undefined":return !0;case"boolean":return !p;case"object":if(Array.isArray(p))return p.every(m);if(p===null||e(p))return !0;var C=n(p);if(C){var Z=C.call(p),S;if(C!==p.entries){for(;!(S=Z.next()).done;)if(!m(S.value))return !1}else for(;!(S=Z.next()).done;){var H=S.value;if(H&&!m(H[1]))return !1}}else return !1;return !0;default:return !1}}function M(p,C){return p==="symbol"?!0:C?C["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&C instanceof Symbol:!1}function $(p){var C=typeof p;return Array.isArray(p)?"array":p instanceof RegExp?"object":M(C,p)?"symbol":C}function X(p){if(typeof p>"u"||p===null)return ""+p;var C=$(p);if(C==="object"){if(p instanceof Date)return "date";if(p instanceof RegExp)return "regexp"}return C}function J(p){var C=X(p);switch(C){case"array":case"object":return "an "+C;case"boolean":case"date":case"regexp":return "a "+C;default:return C}}function j(p){return !p.constructor||!p.constructor.name?i:p.constructor.name}return s.checkPropTypes=A3,s.resetWarningCache=A3.resetWarningCache,s.PropTypes=s,s};});var q3=p1((yu,U3)=>{var L7=oe();function G3(){}function W3(){}W3.resetWarningCache=G3;U3.exports=function(){function e(r,n,i,s,a,l){if(l!==L7){var d=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 d.name="Invariant Violation",d}}e.isRequired=e;function t(){return e}var o={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:W3,resetWarningCache:G3};return o.PropTypes=o,o};});var Y3=p1((bu,l5)=>{process.env.NODE_ENV!=="production"?(X3=n5(),J3=!0,l5.exports=N3()(X3.isElement,J3)):l5.exports=q3()();var X3,J3;});var w5=(i=>(i.XL="xl",i.LG="lg",i.MD="md",i.SM="sm",i.XS="xs",i))(w5||{});var W1={colors:{primary:"#1D4339",secondaryGreen:"#285E50",lightGreen:"#BED3CC",fail:"#ff0000",gray:"#f3f3f3"},breakpoint:{small:"500px",medium:"800px",large:"1200px"},typography:{family:{body:"Lato, helvetica, sans-serif",heading:"'Mollie Glaston', serif",subHeading:"'Cinzel', sans-serif",script:"'Dancing Script', sans-serif"},weight:{normal:400,medium:500,semiBold:600,bold:700}}},S2={Small:"(min-width: 550px)",SmallMax:"(max-width: 550px)",Medium:"(min-width: 768px)",MediumMax:"(max-width: 768px)",Large:"(min-width: 1024px)",LargeMax:"(max-width: 1024px)"},e6={components:{Switch:{handleSize:24,trackHeight:28,trackMinWidth:67},Input:{paddingInline:14,paddingInlineLG:16,paddingInlineSM:12,paddingBlock:11,paddingBlockLG:13,paddingBlockSM:7,borderRadiusLG:8},InputNumber:{paddingInline:14,paddingInlineLG:16,paddingInlineSM:12,paddingBlockSM:7,paddingBlock:11,paddingBlockLG:13,borderRadiusLG:8},Tabs:{inkBarColor:"#285E50",itemActiveColor:"#285E50",itemSelectedColor:"#285E50",itemHoverColor:"#285E50",titleFontSize:16,colorBorderSecondary:"#AFC8BF"},Segmented:{fontSize:16,borderRadius:6,borderRadiusXS:6,controlHeight:36,controlHeightSM:30,controlHeightLG:40,itemColor:"#555555",itemActiveBg:"rgba(0, 0, 0, 0)",itemSelectedBg:"#fff",itemHoverBg:"rgba(212, 226, 221, 0.2)",colorBgLayout:"rgb(233, 240, 238)",itemHoverColor:"rgb(85, 85, 85)",itemSelectedColor:"#555555"},Collapse:{headerBg:"rgb(255, 255, 255)",colorBorder:"rgb(175, 200, 191)",colorFillAlter:"rgb(255, 255, 255)",fontSize:18,padding:20,contentPadding:"0px 16px 16px",headerPadding:"25px 16px",borderRadiusLG:10},DatePicker:{activeBorderColor:"#285E50",colorBorder:"#101010",activeShadow:"0 0 0 1px #285E50"},Table:{headerBg:"rgba(233, 240, 238, 0.20)",headerBorderRadius:0,headerColor:"rgba(0, 0, 0, 0.85)",headerSplitColor:"transparent"},Select:{activeBorderColor:"#3F937C",borderRadius:10,optionActiveBg:"rgba(233, 240, 238, 0.37);",optionFontSize:18,optionHeight:40,optionPadding:"12px 16px",optionSelectedColor:"#1D4339",optionSelectedBg:"rgba(233, 240, 238, 0.37);",colorBgContainer:"#fff"}},token:{colorInfo:"#285E50",colorLink:"#285E50",colorWarning:"#D7A13B",colorError:"#EE2932",colorPrimary:"#285E50",colorPrimaryActive:"#1D4339",colorTextDisabled:"rgba(0, 0, 0, 0.5)",fontFamily:"Lato, helvetica, sans-serif",fontSize:16,fontSizeSM:14,fontSizeLG:18,borderRadius:8,borderRadiusLG:20,colorBgMask:"rgba(0, 0, 0, 0.2)"}},t6=({children:e,theme:t={}})=>jsxRuntime.jsx(antd.ConfigProvider,{theme:{...e6,...t},children:e});var o6=({children:e,theme:t={}})=>jsxRuntime.jsx(t6,{theme:t,children:e});var r6=k__default.default.p`
|
|
51
51
|
transition: font-size 0.25s;
|
|
52
52
|
color: ${e=>e.color||"#101010"};
|
|
53
53
|
font-family: ${({theme:e})=>e.typography.family.body};
|
|
@@ -142,7 +142,7 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
142
142
|
`}
|
|
143
143
|
`,d6=({className:e="",children:t="",size:o="md",allCaps:r=!1,color:n="",...i})=>jsxRuntime.jsx(p6,{allCaps:r,className:e,size:o,style:{color:n},...i,children:t}),k5=d6;var c6=k__default.default.span`
|
|
144
144
|
margin: 0;
|
|
145
|
-
`,C6=({children:e,as:t,length:o=120})=>{let n=((i,s,a="...")=>{let l=i.length>s?a:"";return i.substring(0,s)+l})(e,o);return jsxRuntime.jsx(c6,{as:t,children:n})},H5=C6;var
|
|
145
|
+
`,C6=({children:e,as:t,length:o=120})=>{let n=((i,s,a="...")=>{let l=i.length>s?a:"";return i.substring(0,s)+l})(e,o);return jsxRuntime.jsx(c6,{as:t,children:n})},H5=C6;var L={Body:M5,Display:S5,Header:k5,Truncated:H5};var g6=e=>{switch(e){case"patient":return "#D7A13B";case"client":default:return "#285E50"}},k2=k__default.default(antd.Avatar)`
|
|
146
146
|
flex: none;
|
|
147
147
|
display: flex;
|
|
148
148
|
align-items: center;
|
|
@@ -150,7 +150,7 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
150
150
|
background-color: ${e=>g6(e.type)};
|
|
151
151
|
padding: ${e=>e.hasImage?0:e.size*.2}px;
|
|
152
152
|
color: #fff;
|
|
153
|
-
`,E5=k__default.default(
|
|
153
|
+
`,E5=k__default.default(L.Display)`
|
|
154
154
|
color: white;
|
|
155
155
|
`;var x6=({size:e=31})=>jsxRuntime.jsx("svg",{width:e,height:e,viewBox:`0 0 ${e} ${e}`,fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M15.3559 14.2494C13.361 14.2494 11.6748 13.5607 10.2973 12.1832C8.91986 10.8058 8.23113 9.11961 8.23113 7.12469C8.23113 5.12978 8.91986 3.4436 10.2973 2.06616C11.6748 0.688721 13.361 0 15.3559 0C17.3508 0 19.037 0.688721 20.4145 2.06616C21.7919 3.4436 22.4807 5.12978 22.4807 7.12469C22.4807 9.11961 21.7919 10.8058 20.4145 12.1832C19.037 13.5607 17.3508 14.2494 15.3559 14.2494ZM0.5 31V27.1345C0.5 25.8207 0.777916 24.6964 1.33375 23.7616C1.88958 22.8268 2.6728 22.1068 3.68341 21.6015C5.55303 20.6414 7.44791 19.934 9.36806 19.4792C11.2882 19.0244 13.2842 18.7971 15.3559 18.7971C17.4276 18.7971 19.4236 19.0118 21.3437 19.4413C23.2639 19.8708 25.1588 20.5909 27.0284 21.6015C28.039 22.0562 28.8222 22.7637 29.378 23.7237C29.9339 24.6838 30.2118 25.8207 30.2118 27.1345V31H0.5Z",fill:"white"})}),P5=(i=>(i.Client="client",i.Patient="patient",i.Advocate="advocate",i.HybridAdvocate="hybridAdvocate",i.CHWorker="chw",i))(P5||{}),y6=({size:e=46,src:t="",type:o="client",user:r={profile_image_url:"",first_name:"",last_name:""},...n})=>t||r.profile_image_url?jsxRuntime.jsx(k2,{size:e,draggable:!1,hasImage:!0,src:t||r.profile_image_url,type:o,...n}):r.first_name&&r.last_name?jsxRuntime.jsx(k2,{size:e,draggable:!1,gap:0,type:o,...n,children:jsxRuntime.jsxs(E5,{size:"xs",children:[r.first_name[0],r.last_name[0]]})}):jsxRuntime.jsx(k2,{size:e,gap:6,draggable:!1,icon:jsxRuntime.jsx(x6,{}),type:o,...n}),b6=y6;var _5=k__default.default(antd.Button)`
|
|
156
156
|
height: 50px;
|
|
@@ -258,7 +258,7 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
258
258
|
padding-top: 0;
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
`,W6=e=>{let t=reactHookForm.get(e,"isActive",!1),o=web.useSpring(t?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:o,children:jsxRuntime.jsx("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M1.58301 8.24927L7.99968 1.8326L14.4163 8.24927",stroke:"black",strokeWidth:"1.66756",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})})},U6=({items:e,onChange:t=()=>null,...o})=>{let r=Array.isArray(e)?e:[e];return jsxRuntime.jsx(G6,{items:r,expandIcon:W6,defaultActiveKey:["1"],onChange:i=>t(i),expandIconPosition:"end",...o})},q6=U6;var Y6=({value:e=null,onChange:t,startRange:o=null,endRange:r=null,defaultValue:n=V2__default.default(),format:i=null,placeholder:s=null,className:a=null,hasError:l=!1,disabled:d=!1,...f})=>{let[c,
|
|
261
|
+
`,W6=e=>{let t=reactHookForm.get(e,"isActive",!1),o=web.useSpring(t?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:o,children:jsxRuntime.jsx("svg",{width:"16",height:"10",viewBox:"0 0 16 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M1.58301 8.24927L7.99968 1.8326L14.4163 8.24927",stroke:"black",strokeWidth:"1.66756",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})})},U6=({items:e,onChange:t=()=>null,...o})=>{let r=Array.isArray(e)?e:[e];return jsxRuntime.jsx(G6,{items:r,expandIcon:W6,defaultActiveKey:["1"],onChange:i=>t(i),expandIconPosition:"end",...o})},q6=U6;var Y6=({value:e=null,onChange:t,startRange:o=null,endRange:r=null,defaultValue:n=V2__default.default(),format:i=null,placeholder:s=null,className:a=null,hasError:l=!1,disabled:d=!1,...f})=>{let[c,u]=r3.useState(!1),h=V=>V?!!(o&&V<V2__default.default(o).endOf("day")||r&&V>V2__default.default(r).endOf("day")):!1,y=l?W1.colors.fail:"#5a5a5a";return jsxRuntime.jsx(antd.DatePicker,{className:a,placeholder:s,format:i,disabled:d,disabledDate:h,onChange:(V,b)=>{t&&t(b,V);},onFocus:()=>{u(!0);},onBlur:()=>{u(!1);},value:e?V2__default.default(e):n,style:{width:"100%",height:"50px",boxSizing:"border-box",borderRadius:"8px",borderWidth:"1px",borderStyle:"solid",borderColor:c?W1.colors.secondaryGreen:y,padding:"20px 23px",backgroundColor:"#fff",fontFamily:W1.typography.family.body,fontWeight:W1.typography.weight.normal,fontStyle:"normal",fontSize:"16px",outlineStyle:"none",boxShadow:c?`0 0 0 1px ${W1.colors.secondaryGreen}`:"none"},...f})},K6=Y6;var e4=({style:e={width:50,borderWidth:2,borderColor:"#d4e2dd"},type:t="horizontal",...o})=>jsxRuntime.jsx(antd.Divider,{style:e,type:t,...o}),t4=e4;var T5=k__default.default(({className:e,...t})=>jsxRuntime.jsx(antd.Drawer,{rootClassName:e,classNames:{content:e},...t}))`
|
|
262
262
|
--border-radius: ${e=>e.placement==="bottom"?32:0}px;
|
|
263
263
|
|
|
264
264
|
&.ant-drawer-content {
|
|
@@ -432,7 +432,7 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
432
432
|
gap: 8px;
|
|
433
433
|
margin-top: 6px;
|
|
434
434
|
margin-bottom: ${({marginBottom:e})=>e}px;
|
|
435
|
-
`,t9=({children:e=null,text:t="This field is required",includeIcon:o=!0,marginBottom:r=0})=>jsxRuntime.jsxs(e9,{marginBottom:r,children:[o&&jsxRuntime.jsx(N.ErrorExclamation,{}),jsxRuntime.jsx(
|
|
435
|
+
`,t9=({children:e=null,text:t="This field is required",includeIcon:o=!0,marginBottom:r=0})=>jsxRuntime.jsxs(e9,{marginBottom:r,children:[o&&jsxRuntime.jsx(N.ErrorExclamation,{}),jsxRuntime.jsx(L.Body,{size:"xs",color:"red",children:e||t})]}),W=t9;var Ao=k__default.default.div`
|
|
436
436
|
display: flex;
|
|
437
437
|
flex-direction: column;
|
|
438
438
|
gap: 16px;
|
|
@@ -453,7 +453,7 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
453
453
|
justify-content: center;
|
|
454
454
|
gap: 10px;
|
|
455
455
|
max-width: 150px;
|
|
456
|
-
`;var Wo=({file:e,display:t="card",handleDownload:o=()=>null,className:r=""})=>{let n=()=>{o(e);};return t==="list"?null:jsxRuntime.jsxs($o,{className:r,children:[jsxRuntime.jsxs(No,{children:[jsxRuntime.jsx(N.Image,{}),jsxRuntime.jsx(
|
|
456
|
+
`;var Wo=({file:e,display:t="card",handleDownload:o=()=>null,className:r=""})=>{let n=()=>{o(e);};return t==="list"?null:jsxRuntime.jsxs($o,{className:r,children:[jsxRuntime.jsxs(No,{children:[jsxRuntime.jsx(N.Image,{}),jsxRuntime.jsx(L.Header,{children:e.name})]}),jsxRuntime.jsxs(Go,{onClick:n,children:[jsxRuntime.jsx(N.DownloadArrow,{}),"Download"]})]})},r9=({files:e,handleDownload:t,className:o=""})=>jsxRuntime.jsx(Ao,{className:o,children:e.map(r=>jsxRuntime.jsx(Wo,{file:r,handleDownload:t}))}),n9={Group:r9,Display:Wo};var qo=k__default.default.div`
|
|
457
457
|
margin-right: 10px;
|
|
458
458
|
`,Xo=k__default.default.div`
|
|
459
459
|
display: flex;
|
|
@@ -695,7 +695,7 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
695
695
|
.szh-menu--state-closing.szh-menu--dir-bottom {
|
|
696
696
|
animation: szh-menu-hide-slide-bottom 0.15s ease-in forwards;
|
|
697
697
|
}
|
|
698
|
-
`;function Ne({className:e="",isActive:t,color:o="#000"}){let r=web.useSpring(t?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{className:e,style:{...r,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(N.Caret,{direction:"up",color:o})})}var h9=({children:e,cta:t,onItemClick:o=()=>null,onMenuChange:r=()=>null,className:n="",expandIconClassName:i="",menuProps:s={menuButton:null},caretColor:a="#000",borderColor:l="#555555"})=>{let d={overflow:"auto",position:"anchor",viewScroll:"auto",boundingBoxPadding:"20 0 50 0",gap:10,transition:!0,transitionTimeout:50},f=r3.useRef(null),[c,
|
|
698
|
+
`;function Ne({className:e="",isActive:t,color:o="#000"}){let r=web.useSpring(t?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{className:e,style:{...r,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(N.Caret,{direction:"up",color:o})})}var h9=({children:e,cta:t,onItemClick:o=()=>null,onMenuChange:r=()=>null,className:n="",expandIconClassName:i="",menuProps:s={menuButton:null},caretColor:a="#000",borderColor:l="#555555"})=>{let d={overflow:"auto",position:"anchor",viewScroll:"auto",boundingBoxPadding:"20 0 50 0",gap:10,transition:!0,transitionTimeout:50},f=r3.useRef(null),[c,u]=reactMenu.useMenuState({transition:!0}),h=reactMenu.useClick(c.state,u),y=c.state==="open"||c.state==="opening";return r3.useEffect(()=>{r(c.state);},[c.state]),jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(Xo,{className:`${n} ${y?"menu-open":"menu-closed"}`,ref:f,borderColor:l,...h,children:[jsxRuntime.jsx(qo,{children:t}),jsxRuntime.jsx(Ne,{className:i,isActive:y,color:a}),jsxRuntime.jsx(reactMenu.ControlledMenu,{...c,anchorRef:f,onClose:()=>u(!1),onItemClick:o,onMenuChange:r,...d,...s,children:e})]})})},x9=({label:e,className:t=""})=>jsxRuntime.jsx(reactMenu.MenuButton,{className:t,children:e}),y9=({label:e,value:t,selected:o=!1,onClick:r=()=>null,disabled:n=!1,linkTo:i="",className:s=""})=>jsxRuntime.jsx(reactMenu.MenuItem,{className:`${s} ${o?"active":"inactive"}`,value:t,onClick:r,href:i,disabled:n,children:e}),b9=({value:e,onChange:t=()=>null,className:o=""})=>jsxRuntime.jsx(reactMenu.FocusableItem,{children:({ref:r})=>jsxRuntime.jsx("input",{className:o,ref:r,type:"text",placeholder:"Type to filter",value:e,onChange:t})}),v9=({children:e,className:t=""})=>jsxRuntime.jsx(reactMenu.MenuHeader,{className:t,children:e}),w9=({className:e=""})=>jsxRuntime.jsx(reactMenu.MenuDivider,{className:e}),g2={Button:x9,Container:h9,Search:b9,Divider:w9,Header:v9,Item:y9};var Ko=k__default.default.div`
|
|
699
699
|
display: flex;
|
|
700
700
|
flex-direction: column;
|
|
701
701
|
font-weight: 700;
|
|
@@ -818,7 +818,7 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
818
818
|
`;function We({id:e,children:t,onClickElement:o,style:r={}}){let{attributes:n,listeners:i,setNodeRef:s,transform:a,transition:l,isDragging:d}=sortable.useSortable({id:e}),f={...r,transform:utilities.CSS.Transform.toString(a),transition:l,opacity:d?.25:1};return jsxRuntime.jsx(J9,{style:f,ref:s,...n,...i,onClick:()=>o(e),id:e,children:jsxRuntime.jsx(Y9,{children:t})})}var n8=k__default.default.div`
|
|
819
819
|
display: flex;
|
|
820
820
|
flex-direction: column;
|
|
821
|
-
`;function c3({id:e,onClickElement:t=()=>null,elements:o=[],onChange:r,onDragOver:n=()=>null,className:i=""}){let{setNodeRef:s}=core.useDroppable({id:e}),a=({active:f,over:c,delta:
|
|
821
|
+
`;function c3({id:e,onClickElement:t=()=>null,elements:o=[],onChange:r,onDragOver:n=()=>null,className:i=""}){let{setNodeRef:s}=core.useDroppable({id:e}),a=({active:f,over:c,delta:u})=>{if(Math.abs(u.x)<1&&Math.abs(u.y)<1)return t(f.id);let y=o.findIndex(E=>E.id===f.id),V=o.findIndex(E=>E.id===c?.id),b=E=>sortable.arrayMove(E,y,V);return c?.id&&n(b(o)),!1},l=({active:f,over:c,delta:u})=>{if(Math.abs(u.x)<1&&Math.abs(u.y)<1)return t(f.id);let y=o.findIndex(E=>E.id===f.id),V=o.findIndex(E=>E.id===c?.id),b=E=>sortable.arrayMove(E,y,V);return c?.id&&r(b(o)),null},d=core.useSensors(core.useSensor(A2),core.useSensor($2));return jsxRuntime.jsx(core.DndContext,{collisionDetection:core.closestCorners,onDragOver:a,onDragEnd:l,sensors:d,children:jsxRuntime.jsx(sortable.SortableContext,{id:e,items:o,strategy:sortable.verticalListSortingStrategy,children:jsxRuntime.jsx(n8,{ref:s,className:i,children:o.map(f=>jsxRuntime.jsx(We,{onClickElement:t,id:f.id,children:f.children},f.id))})})})}var i8=()=>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"]}),s8=()=>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"})})]}),Ue={Previous:i8,Next:s8};k__default.default.header`
|
|
822
822
|
display: flex;
|
|
823
823
|
justify-content: space-between;
|
|
824
824
|
margin-bottom: 1rem;
|
|
@@ -888,7 +888,7 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
888
888
|
.ant-table-column-sorters {
|
|
889
889
|
justify-content: flex-start;
|
|
890
890
|
}
|
|
891
|
-
`;var l8=(e,t)=>jsxRuntime.jsxs(
|
|
891
|
+
`;var l8=(e,t)=>jsxRuntime.jsxs(L.Body,{children:["Viewing",jsxRuntime.jsx("b",{children:` ${t[0]}-${t[1]}`})," of ",jsxRuntime.jsx("b",{children:`${e}`})," entries"]}),p8=(e,t,o)=>t==="prev"?jsxRuntime.jsx(Ue.Previous,{}):t==="next"?jsxRuntime.jsx(Ue.Next,{}):o,d8=({rowClassName:e="tableRowDefault",columns:t,dataSource:o,pagination:r={},showPagination:n=!1,...i})=>jsxRuntime.jsx(g3,{rowClassName:e,columns:t,dataSource:o,pagination:n&&{showTotal:l8,defaultPageSize:r?.defaultPageSize||5,defaultCurrent:1,itemRender:p8,showSizeChanger:!1,showLessItems:!0},...i}),f8=d8;var m8=({className:e="",items:t,navigate:o,activeKey:r,pathname:n,...i})=>{let s=t?.map(a=>({...a,label:a.label,key:a.key,children:a.children}));return jsxRuntime.jsx(antd.Tabs,{className:e,style:{marginBottom:32},items:s,activeKey:r,onChange:a=>{o&&o(`${n}/${a}`);},...i})},u8=m8;var y8=k__default.default(antd.TimePicker)`
|
|
892
892
|
height: 40px;
|
|
893
893
|
border-color: #424242;
|
|
894
894
|
`,b8=({onChange:e=()=>null,format:t="h:mma",...o})=>jsxRuntime.jsx(y8,{use12Hours:!0,format:t,onChange:e,...o}),qe=b8;k__default.default.div`
|
|
@@ -912,7 +912,7 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
912
912
|
&.szh-menu__divider {
|
|
913
913
|
margin: 0;
|
|
914
914
|
}
|
|
915
|
-
`;var k8=({startTime:e="00:00",endTime:t="24:00",interval:o=30,defaultValue:r="",onChange:n=()=>null})=>{let[i,s]=r3.useState(),l=r3.useCallback(()=>{let f=luxon.DateTime.fromFormat(t,"HH:mm"),c=luxon.Duration.fromObject({minutes:o}),
|
|
915
|
+
`;var k8=({startTime:e="00:00",endTime:t="24:00",interval:o=30,defaultValue:r="",onChange:n=()=>null})=>{let[i,s]=r3.useState(),l=r3.useCallback(()=>{let f=luxon.DateTime.fromFormat(t,"HH:mm"),c=luxon.Duration.fromObject({minutes:o}),u=[],h=luxon.DateTime.fromFormat(e,"hh:mm");for(;h<=f;)u.push({label:h.toFormat("h:mm a"),value:{hour:h.toFormat("HH"),min:h.toFormat("mm"),raw:h.toFormat("HH:mm"),formatted:h.toFormat("h:mm a")}}),h=h.plus(c);return u},[e,t,o,r])();return r3.useEffect(()=>{let f=l.find(c=>c.value.raw===(r||e));s(f);},[r]),jsxRuntime.jsx(h3,{onItemClick:f=>{let c=l.find(u=>u.value.raw===f.value.raw);s(c),n(f);},cta:jsxRuntime.jsx(L.Body,{size:"lg",children:i?.value.formatted||"-"}),children:l.map(f=>jsxRuntime.jsx(x3,{label:f.label,value:f.value,selected:f.value.raw===i?.value.raw},f.label))})},Je=k8;var _8=({defaultState:e=!1,name:t,label:o={active:"YES",inactive:"NO"},handleEvent:r=null,value:n,disabled:i=!1,loading:s=!1})=>{let a=reactHookForm.useFormContext(),[l,d]=r3.useState(e);r3.useEffect(()=>{a&&e&&a.setValue(t,n),d(e);},[e]);let f=c=>{i||(a&&a.setValue(t,c?n:null),r&&r(c),d(c));};return jsxRuntime.jsx(antd.Switch,{defaultChecked:e,checkedChildren:o.active,unCheckedChildren:o.inactive,checked:l,loading:s,disabled:i,onChange:f})},Ye=_8;var D8=k__default.default(({className:e="",children:t,content:o,...r})=>jsxRuntime.jsx(antd.Tooltip,{placement:"topLeft",color:"#E9F0EE",title:o,arrow:{pointAtCenter:!0},overlayClassName:e,...r,children:jsxRuntime.jsx(r3.Fragment,{children:t},"for-tooltip")}))`
|
|
916
916
|
max-width: 355px;
|
|
917
917
|
min-width: 300px;
|
|
918
918
|
width: 100%;
|
|
@@ -1030,11 +1030,11 @@ Valid keys: `+JSON.stringify(Object.keys(p),null," "));var Y=K(_,R,H,T,x+"."+R,
|
|
|
1030
1030
|
:hover {
|
|
1031
1031
|
cursor: pointer;
|
|
1032
1032
|
}
|
|
1033
|
-
`,i7=({searchValue:e="",displaySmall:t=!1,...o})=>jsxRuntime.jsx(n7,{displaySmall:t,searchValue:e,children:jsxRuntime.jsx(antd.Input,{placeholder:"Search",allowClear:!0,suffix:jsxRuntime.jsx(N.Search,{color:"#101010"}),style:{maxWidth:"290px",padding:"12px"},...o})});var s7=({color:e})=>jsxRuntime.jsx("svg",{width:"86",height:"24",viewBox:"0 0 86 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M0.632 6.104C0.632 5.05867 0.834667 4.16267 1.24 3.416C1.66667 2.66933 2.22133 2.06133 2.904 1.592C3.608 1.12267 4.39733 0.781332 5.272 0.567999C6.14667 0.333333 7.032 0.216 7.928 0.216C8.35467 0.216 8.856 0.237333 9.432 0.279999C10.0293 0.322666 10.6267 0.397333 11.224 0.504C11.8427 0.610666 12.44 0.76 13.016 0.952C13.592 1.12267 14.0827 1.34667 14.488 1.624V6.04C14.296 5.336 13.9867 4.664 13.56 4.024C13.1547 3.36267 12.664 2.78667 12.088 2.296C11.512 1.784 10.8613 1.37867 10.136 1.08C9.432 0.759998 8.67467 0.599998 7.864 0.599998C7.224 0.599998 6.584 0.685332 5.944 0.855999C5.32533 1.00533 4.76 1.25067 4.248 1.592C3.75733 1.912 3.352 2.328 3.032 2.84C2.73333 3.352 2.584 3.97067 2.584 4.696C2.584 5.464 2.76533 6.136 3.128 6.712C3.512 7.26667 4.01333 7.768 4.632 8.216C5.25067 8.664 5.95467 9.08 6.744 9.464C7.53333 9.82667 8.33333 10.2 9.144 10.584C9.976 10.9467 10.7867 11.3307 11.576 11.736C12.3653 12.1413 13.0693 12.6107 13.688 13.144C14.3067 13.656 14.7973 14.2533 15.16 14.936C15.544 15.6187 15.736 16.408 15.736 17.304C15.736 18.4773 15.5013 19.4587 15.032 20.248C14.5627 21.016 13.944 21.6347 13.176 22.104C12.4293 22.552 11.576 22.872 10.616 23.064C9.656 23.256 8.68533 23.352 7.704 23.352C7.256 23.352 6.712 23.32 6.072 23.256C5.432 23.2133 4.77067 23.1173 4.088 22.968C3.42667 22.8187 2.78667 22.6373 2.168 22.424C1.54933 22.1893 1.03733 21.8907 0.632 21.528V16.792C0.845333 17.688 1.16533 18.52 1.592 19.288C2.04 20.056 2.57333 20.7173 3.192 21.272C3.832 21.8053 4.54667 22.232 5.336 22.552C6.14667 22.8507 7.02133 23 7.96 23C8.62133 23 9.272 22.9253 9.912 22.776C10.552 22.6053 11.128 22.3493 11.64 22.008C12.152 21.6453 12.5573 21.1973 12.856 20.664C13.176 20.1093 13.336 19.448 13.336 18.68C13.336 17.5493 13.016 16.6107 12.376 15.864C11.7573 15.1173 10.9787 14.4773 10.04 13.944C9.10133 13.3893 8.07733 12.888 6.968 12.44C5.88 11.9707 4.86667 11.4587 3.928 10.904C2.98933 10.3493 2.2 9.69867 1.56 8.952C0.941333 8.20533 0.632 7.256 0.632 6.104ZM25.5425 8.12C26.6945 8.12 27.7078 8.30133 28.5825 8.664C29.4785 9.00533 30.2358 9.48533 30.8545 10.104C31.7932 9.18667 32.6892 8.17333 33.5425 7.064C34.3958 5.95467 35.1852 4.86667 35.9105 3.8C36.3372 3.18133 36.7318 2.60533 37.0945 2.072C37.4572 1.51733 37.7878 1.02667 38.0865 0.599998H38.4065V20.952C38.4065 21.3573 38.4598 21.688 38.5665 21.944C38.6732 22.2 38.8012 22.4027 38.9505 22.552C39.1212 22.68 39.2918 22.776 39.4625 22.84C39.6332 22.8827 39.7825 22.904 39.9105 22.904V23H34.5665V22.904C34.7158 22.904 34.8758 22.8827 35.0465 22.84C35.2172 22.776 35.3772 22.68 35.5265 22.552C35.6758 22.4027 35.7932 22.2 35.8785 21.944C35.9638 21.688 36.0065 21.3573 36.0065 20.952V4.312C35.5158 5.016 34.9932 5.752 34.4385 6.52C33.8838 7.26667 33.2972 8.00267 32.6785 8.728C32.0598 9.432 31.3985 10.104 30.6945 10.744C30.0118 11.3627 29.2972 11.896 28.5505 12.344C27.7185 12.8347 26.9505 13.144 26.2465 13.272C25.5638 13.4 24.9558 13.4 24.4225 13.272C23.8892 13.144 23.4518 12.92 23.1105 12.6C22.7692 12.2587 22.5238 11.8853 22.3745 11.48C22.1398 10.7547 22.2145 10.072 22.5985 9.432C21.9158 10.008 21.4252 10.776 21.1265 11.736C20.8278 12.6747 20.6785 13.6453 20.6785 14.648C20.6785 15.4373 20.7638 16.312 20.9345 17.272C21.1052 18.232 21.3825 19.1387 21.7665 19.992C22.1718 20.824 22.7052 21.528 23.3665 22.104C24.0278 22.68 24.8598 22.968 25.8625 22.968C26.7158 22.968 27.4412 22.808 28.0385 22.488C28.6358 22.168 29.1158 21.7413 29.4785 21.208C29.8412 20.6533 30.0972 20.024 30.2465 19.32C30.4172 18.616 30.5025 17.8907 30.5025 17.144C30.5025 15.416 30.2038 13.7627 29.6065 12.184L31.3985 10.712C31.9532 11.4587 32.3372 12.2587 32.5505 13.112C32.7852 13.9653 32.9025 14.8613 32.9025 15.8C32.9025 16.9307 32.7318 17.9653 32.3905 18.904C32.0705 19.8213 31.5905 20.6107 30.9505 21.272C30.3318 21.9333 29.5638 22.4453 28.6465 22.808C27.7505 23.1707 26.7265 23.352 25.5745 23.352C24.4225 23.352 23.3878 23.1707 22.4705 22.808C21.5745 22.4453 20.8065 21.9333 20.1665 21.272C19.5478 20.6107 19.0678 19.8213 18.7265 18.904C18.4065 17.9653 18.2465 16.9307 18.2465 15.8C18.2465 14.712 18.4172 13.6987 18.7585 12.76C19.0998 11.8213 19.5798 11.0107 20.1985 10.328C20.8385 9.624 21.6065 9.08 22.5025 8.696C23.3985 8.312 24.4118 8.12 25.5425 8.12ZM22.7585 11.224C22.8652 11.608 23.0678 11.96 23.3665 12.28C23.6652 12.6 24.0492 12.824 24.5185 12.952C25.0092 13.08 25.5745 13.0907 26.2145 12.984C26.8758 12.856 27.6118 12.5467 28.4225 12.056C28.5718 11.9493 28.7105 11.8533 28.8385 11.768C28.9878 11.6613 29.1372 11.5547 29.2865 11.448C28.8812 10.6373 28.3478 9.95467 27.6865 9.4C27.0465 8.84533 26.2358 8.568 25.2545 8.568C24.5932 8.568 24.0278 8.664 23.5585 8.856C23.1745 9.15467 22.9185 9.51733 22.7905 9.944C22.6625 10.3707 22.6518 10.7973 22.7585 11.224ZM43.5965 17.016C44.3218 16.44 45.0258 15.992 45.7085 15.672C46.4125 15.352 47.0952 15.0533 47.7565 14.776C48.4392 14.4987 49.0258 14.232 49.5165 13.976C50.0072 13.72 50.4018 13.4533 50.7005 13.176C50.9992 12.8773 51.2125 12.5467 51.3405 12.184C51.4898 11.8 51.5645 11.352 51.5645 10.84C51.5645 10.4773 51.4898 10.136 51.3405 9.816C51.2125 9.496 51.0098 9.22933 50.7325 9.016C50.4552 8.78133 50.1032 8.61067 49.6765 8.504C49.2498 8.39733 48.7378 8.38667 48.1405 8.472C47.0952 8.62133 46.0925 9.15467 45.1325 10.072C44.1938 10.968 43.3512 12.0347 42.6045 13.272V10.648C42.9245 10.2427 43.2978 9.89067 43.7245 9.592C44.1725 9.272 44.6418 9.016 45.1325 8.824C45.6232 8.61067 46.1245 8.45067 46.6365 8.344C47.1698 8.23733 47.6818 8.17333 48.1725 8.152C49.9218 8.10933 51.2872 8.48267 52.2685 9.272C53.2498 10.0613 53.7405 11.384 53.7405 13.24V20.472C53.7405 20.8987 53.8045 21.2933 53.9325 21.656C54.0818 21.9973 54.4338 22.1573 54.9885 22.136C55.1165 22.136 55.2552 22.1147 55.4045 22.072C55.5538 22.008 55.6925 21.912 55.8205 21.784V21.944C55.6285 22.2853 55.3192 22.5733 54.8925 22.808C54.4658 23.0427 53.9752 23.16 53.4205 23.16C53.0365 23.16 52.7165 23.0853 52.4605 22.936C52.2045 22.7867 51.9912 22.6053 51.8205 22.392C51.6712 22.1787 51.5645 21.9653 51.5005 21.752C51.4365 21.5173 51.4045 21.3253 51.4045 21.176C51.0845 21.5387 50.7432 21.8587 50.3805 22.136C50.0392 22.392 49.6445 22.616 49.1965 22.808C48.7698 23 48.2685 23.1387 47.6925 23.224C47.1378 23.3307 46.4872 23.3733 45.7405 23.352C45.1858 23.3307 44.6738 23.2453 44.2045 23.096C43.7352 22.968 43.3512 22.776 43.0525 22.52C42.7325 22.2427 42.4872 21.9227 42.3165 21.56C42.1672 21.1973 42.0818 20.8027 42.0605 20.376C42.0392 19.7573 42.1672 19.1387 42.4445 18.52C42.7218 17.9013 43.1058 17.4 43.5965 17.016ZM44.5885 19.8C44.5885 20.8453 44.8552 21.624 45.3885 22.136C45.9432 22.6267 46.5618 22.8827 47.2445 22.904C47.6712 22.9253 48.1192 22.8613 48.5885 22.712C49.0792 22.5413 49.5272 22.328 49.9325 22.072C50.3378 21.816 50.6685 21.5173 50.9245 21.176C51.2018 20.8133 51.3405 20.4507 51.3405 20.088V13.56C50.5938 13.816 49.8258 14.1253 49.0365 14.488C48.2472 14.8507 47.5218 15.2773 46.8605 15.768C46.1992 16.2587 45.6552 16.8347 45.2285 17.496C44.8018 18.1573 44.5885 18.9253 44.5885 19.8ZM59.2045 21.08C58.6498 20.4613 58.2125 19.7147 57.8925 18.84C57.5938 17.944 57.4445 16.9093 57.4445 15.736C57.4445 14.392 57.7112 13.1867 58.2445 12.12C58.8632 10.8613 59.7592 9.89067 60.9325 9.208C62.1058 8.504 63.4178 8.152 64.8685 8.152C65.8712 8.152 66.8738 8.28 67.8765 8.536C68.9005 8.792 69.7218 9.272 70.3405 9.976V13.016C70.1058 12.5253 69.8285 12.024 69.5085 11.512C69.2098 10.9787 68.8578 10.488 68.4525 10.04C68.0472 9.592 67.5885 9.22933 67.0765 8.952C66.5645 8.65333 65.9778 8.504 65.3165 8.504C64.6125 8.48267 63.8978 8.64267 63.1725 8.984C62.4472 9.304 61.8392 9.74133 61.3485 10.296C60.8792 10.8507 60.5272 11.5333 60.2925 12.344C60.0792 13.1333 59.9618 13.9653 59.9405 14.84C59.9192 15.6933 59.9938 16.536 60.1645 17.368C60.3565 18.2 60.6232 18.9253 60.9645 19.544C61.5405 20.6107 62.2765 21.3787 63.1725 21.848C64.0685 22.296 64.9965 22.52 65.9565 22.52C66.9805 22.52 67.8445 22.2853 68.5485 21.816C69.2738 21.3253 69.9138 20.7387 70.4685 20.056L70.6605 20.184C70.1272 21.016 69.3592 21.752 68.3565 22.392C67.3538 23.032 66.1165 23.352 64.6445 23.352C63.5778 23.352 62.5752 23.1707 61.6365 22.808C60.6978 22.424 59.8872 21.848 59.2045 21.08ZM73.2155 12.12C73.8342 10.8613 74.7302 9.89067 75.9035 9.208C77.0768 8.504 78.3888 8.152 79.8395 8.152C80.9275 8.152 81.8662 8.33333 82.6555 8.696C83.4448 9.03733 84.0742 9.50667 84.5435 10.104C85.0128 10.68 85.3328 11.352 85.5035 12.12C85.6742 12.8667 85.6955 13.6347 85.5675 14.424L74.9435 16.12C75.0075 16.76 75.1248 17.3787 75.2955 17.976C75.4662 18.552 75.6688 19.0747 75.9035 19.544C76.4795 20.6107 77.2155 21.3787 78.1115 21.848C79.0288 22.296 79.9675 22.52 80.9275 22.52C81.9515 22.52 82.8155 22.2853 83.5195 21.816C84.2448 21.3253 84.8848 20.7387 85.4395 20.056L85.5995 20.184C85.0875 21.016 84.3302 21.752 83.3275 22.392C82.3248 23.032 81.0875 23.352 79.6155 23.352C78.5488 23.352 77.5355 23.1707 76.5755 22.808C75.6368 22.424 74.8368 21.848 74.1755 21.08C73.6208 20.4613 73.1835 19.7147 72.8635 18.84C72.5648 17.944 72.4155 16.9093 72.4155 15.736C72.4155 14.392 72.6822 13.1867 73.2155 12.12ZM74.9115 15.768L80.7035 14.68C81.0235 14.616 81.3008 14.5307 81.5355 14.424C81.7915 14.3173 82.0368 14.2107 82.2715 14.104C82.7835 13.848 83.1568 13.5173 83.3915 13.112C83.6262 12.6853 83.7328 12.248 83.7115 11.8C83.6902 10.7547 83.3915 9.976 82.8155 9.464C82.2395 8.93067 81.5568 8.62133 80.7675 8.536C79.9782 8.45067 79.1675 8.55733 78.3355 8.856C77.5035 9.15467 76.8315 9.61333 76.3195 10.232C75.7648 10.8933 75.3702 11.7253 75.1355 12.728C74.9222 13.7093 74.8475 14.7227 74.9115 15.768Z",fill:e})});function k3({children:e,style:t,...o}){return jsxRuntime.jsx(antd.Tag,{color:"#1D4339",...o,style:{borderRadius:90,paddingLeft:12,paddingRight:12,...t},children:e})}function H3({...e}){return jsxRuntime.jsx(antd.AutoComplete,{...e})}var q=j0(Y3(),1);var K3=[],j1="";function p5({previousConformedValue:e=j1,previousPlaceholder:t=j1,currentCaretPosition:o=0,conformedValue:r,rawValue:n,placeholderChar:i,placeholder:s,indexesOfPipedChars:a=K3,caretTrapIndexes:l=K3}){if(o===0||!n.length)return 0;let d=n.length,f=e.length,c=s.length,m=r.length,h=d-f,y=h>0,V=f===0;if(h>1&&!y&&!V)return o;let E=y&&(e===r||r===s),B=0,O,b;if(E)B=o-h;else {let g=r.toLowerCase(),M=n.toLowerCase().substr(0,o).split(j1).filter(x=>g.indexOf(x)!==-1);b=M[M.length-1];let $=t.substr(0,M.length).split(j1).filter(x=>x!==i).length,J=s.substr(0,M.length).split(j1).filter(x=>x!==i).length!==$,j=t[M.length-1]!==void 0&&s[M.length-2]!==void 0&&t[M.length-1]!==i&&t[M.length-1]!==s[M.length-1]&&t[M.length-1]===s[M.length-2];!y&&(J||j)&&$>0&&s.indexOf(b)>-1&&n[o]!==void 0&&(O=!0,b=n[o]);let C=a.map(x=>g[x]).filter(x=>x===b).length,Z=M.filter(x=>x===b).length,H=s.substr(0,s.indexOf(i)).split(j1).filter((x,_)=>x===b&&n[_]!==x).length+Z+C+(O?1:0),T=0;for(let x=0;x<m;x++){let _=g[x];if(B=x+1,_===b&&T++,T>=H)break}}if(y){let g=B;for(let P=B;P<=c;P++)if(s[P]===i&&(g=P),s[P]===i||l.indexOf(P)!==-1||P===c)return g}else if(O){for(let g=B-1;g>=0;g--)if(r[g]===b||l.indexOf(g)!==-1||g===0)return g}else for(let g=B;g>=0;g--)if(s[g-1]===i||l.indexOf(g)!==-1||g===0)return g}var Q1="_",y2="function";var M7=[];function b2(e=M7,t=Q1){if(!d5(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(e.indexOf(t)!==-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.
|
|
1033
|
+
`,i7=({searchValue:e="",displaySmall:t=!1,...o})=>jsxRuntime.jsx(n7,{displaySmall:t,searchValue:e,children:jsxRuntime.jsx(antd.Input,{placeholder:"Search",allowClear:!0,suffix:jsxRuntime.jsx(N.Search,{color:"#101010"}),style:{maxWidth:"290px",padding:"12px"},...o})});var s7=({color:e})=>jsxRuntime.jsx("svg",{width:"86",height:"24",viewBox:"0 0 86 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:jsxRuntime.jsx("path",{d:"M0.632 6.104C0.632 5.05867 0.834667 4.16267 1.24 3.416C1.66667 2.66933 2.22133 2.06133 2.904 1.592C3.608 1.12267 4.39733 0.781332 5.272 0.567999C6.14667 0.333333 7.032 0.216 7.928 0.216C8.35467 0.216 8.856 0.237333 9.432 0.279999C10.0293 0.322666 10.6267 0.397333 11.224 0.504C11.8427 0.610666 12.44 0.76 13.016 0.952C13.592 1.12267 14.0827 1.34667 14.488 1.624V6.04C14.296 5.336 13.9867 4.664 13.56 4.024C13.1547 3.36267 12.664 2.78667 12.088 2.296C11.512 1.784 10.8613 1.37867 10.136 1.08C9.432 0.759998 8.67467 0.599998 7.864 0.599998C7.224 0.599998 6.584 0.685332 5.944 0.855999C5.32533 1.00533 4.76 1.25067 4.248 1.592C3.75733 1.912 3.352 2.328 3.032 2.84C2.73333 3.352 2.584 3.97067 2.584 4.696C2.584 5.464 2.76533 6.136 3.128 6.712C3.512 7.26667 4.01333 7.768 4.632 8.216C5.25067 8.664 5.95467 9.08 6.744 9.464C7.53333 9.82667 8.33333 10.2 9.144 10.584C9.976 10.9467 10.7867 11.3307 11.576 11.736C12.3653 12.1413 13.0693 12.6107 13.688 13.144C14.3067 13.656 14.7973 14.2533 15.16 14.936C15.544 15.6187 15.736 16.408 15.736 17.304C15.736 18.4773 15.5013 19.4587 15.032 20.248C14.5627 21.016 13.944 21.6347 13.176 22.104C12.4293 22.552 11.576 22.872 10.616 23.064C9.656 23.256 8.68533 23.352 7.704 23.352C7.256 23.352 6.712 23.32 6.072 23.256C5.432 23.2133 4.77067 23.1173 4.088 22.968C3.42667 22.8187 2.78667 22.6373 2.168 22.424C1.54933 22.1893 1.03733 21.8907 0.632 21.528V16.792C0.845333 17.688 1.16533 18.52 1.592 19.288C2.04 20.056 2.57333 20.7173 3.192 21.272C3.832 21.8053 4.54667 22.232 5.336 22.552C6.14667 22.8507 7.02133 23 7.96 23C8.62133 23 9.272 22.9253 9.912 22.776C10.552 22.6053 11.128 22.3493 11.64 22.008C12.152 21.6453 12.5573 21.1973 12.856 20.664C13.176 20.1093 13.336 19.448 13.336 18.68C13.336 17.5493 13.016 16.6107 12.376 15.864C11.7573 15.1173 10.9787 14.4773 10.04 13.944C9.10133 13.3893 8.07733 12.888 6.968 12.44C5.88 11.9707 4.86667 11.4587 3.928 10.904C2.98933 10.3493 2.2 9.69867 1.56 8.952C0.941333 8.20533 0.632 7.256 0.632 6.104ZM25.5425 8.12C26.6945 8.12 27.7078 8.30133 28.5825 8.664C29.4785 9.00533 30.2358 9.48533 30.8545 10.104C31.7932 9.18667 32.6892 8.17333 33.5425 7.064C34.3958 5.95467 35.1852 4.86667 35.9105 3.8C36.3372 3.18133 36.7318 2.60533 37.0945 2.072C37.4572 1.51733 37.7878 1.02667 38.0865 0.599998H38.4065V20.952C38.4065 21.3573 38.4598 21.688 38.5665 21.944C38.6732 22.2 38.8012 22.4027 38.9505 22.552C39.1212 22.68 39.2918 22.776 39.4625 22.84C39.6332 22.8827 39.7825 22.904 39.9105 22.904V23H34.5665V22.904C34.7158 22.904 34.8758 22.8827 35.0465 22.84C35.2172 22.776 35.3772 22.68 35.5265 22.552C35.6758 22.4027 35.7932 22.2 35.8785 21.944C35.9638 21.688 36.0065 21.3573 36.0065 20.952V4.312C35.5158 5.016 34.9932 5.752 34.4385 6.52C33.8838 7.26667 33.2972 8.00267 32.6785 8.728C32.0598 9.432 31.3985 10.104 30.6945 10.744C30.0118 11.3627 29.2972 11.896 28.5505 12.344C27.7185 12.8347 26.9505 13.144 26.2465 13.272C25.5638 13.4 24.9558 13.4 24.4225 13.272C23.8892 13.144 23.4518 12.92 23.1105 12.6C22.7692 12.2587 22.5238 11.8853 22.3745 11.48C22.1398 10.7547 22.2145 10.072 22.5985 9.432C21.9158 10.008 21.4252 10.776 21.1265 11.736C20.8278 12.6747 20.6785 13.6453 20.6785 14.648C20.6785 15.4373 20.7638 16.312 20.9345 17.272C21.1052 18.232 21.3825 19.1387 21.7665 19.992C22.1718 20.824 22.7052 21.528 23.3665 22.104C24.0278 22.68 24.8598 22.968 25.8625 22.968C26.7158 22.968 27.4412 22.808 28.0385 22.488C28.6358 22.168 29.1158 21.7413 29.4785 21.208C29.8412 20.6533 30.0972 20.024 30.2465 19.32C30.4172 18.616 30.5025 17.8907 30.5025 17.144C30.5025 15.416 30.2038 13.7627 29.6065 12.184L31.3985 10.712C31.9532 11.4587 32.3372 12.2587 32.5505 13.112C32.7852 13.9653 32.9025 14.8613 32.9025 15.8C32.9025 16.9307 32.7318 17.9653 32.3905 18.904C32.0705 19.8213 31.5905 20.6107 30.9505 21.272C30.3318 21.9333 29.5638 22.4453 28.6465 22.808C27.7505 23.1707 26.7265 23.352 25.5745 23.352C24.4225 23.352 23.3878 23.1707 22.4705 22.808C21.5745 22.4453 20.8065 21.9333 20.1665 21.272C19.5478 20.6107 19.0678 19.8213 18.7265 18.904C18.4065 17.9653 18.2465 16.9307 18.2465 15.8C18.2465 14.712 18.4172 13.6987 18.7585 12.76C19.0998 11.8213 19.5798 11.0107 20.1985 10.328C20.8385 9.624 21.6065 9.08 22.5025 8.696C23.3985 8.312 24.4118 8.12 25.5425 8.12ZM22.7585 11.224C22.8652 11.608 23.0678 11.96 23.3665 12.28C23.6652 12.6 24.0492 12.824 24.5185 12.952C25.0092 13.08 25.5745 13.0907 26.2145 12.984C26.8758 12.856 27.6118 12.5467 28.4225 12.056C28.5718 11.9493 28.7105 11.8533 28.8385 11.768C28.9878 11.6613 29.1372 11.5547 29.2865 11.448C28.8812 10.6373 28.3478 9.95467 27.6865 9.4C27.0465 8.84533 26.2358 8.568 25.2545 8.568C24.5932 8.568 24.0278 8.664 23.5585 8.856C23.1745 9.15467 22.9185 9.51733 22.7905 9.944C22.6625 10.3707 22.6518 10.7973 22.7585 11.224ZM43.5965 17.016C44.3218 16.44 45.0258 15.992 45.7085 15.672C46.4125 15.352 47.0952 15.0533 47.7565 14.776C48.4392 14.4987 49.0258 14.232 49.5165 13.976C50.0072 13.72 50.4018 13.4533 50.7005 13.176C50.9992 12.8773 51.2125 12.5467 51.3405 12.184C51.4898 11.8 51.5645 11.352 51.5645 10.84C51.5645 10.4773 51.4898 10.136 51.3405 9.816C51.2125 9.496 51.0098 9.22933 50.7325 9.016C50.4552 8.78133 50.1032 8.61067 49.6765 8.504C49.2498 8.39733 48.7378 8.38667 48.1405 8.472C47.0952 8.62133 46.0925 9.15467 45.1325 10.072C44.1938 10.968 43.3512 12.0347 42.6045 13.272V10.648C42.9245 10.2427 43.2978 9.89067 43.7245 9.592C44.1725 9.272 44.6418 9.016 45.1325 8.824C45.6232 8.61067 46.1245 8.45067 46.6365 8.344C47.1698 8.23733 47.6818 8.17333 48.1725 8.152C49.9218 8.10933 51.2872 8.48267 52.2685 9.272C53.2498 10.0613 53.7405 11.384 53.7405 13.24V20.472C53.7405 20.8987 53.8045 21.2933 53.9325 21.656C54.0818 21.9973 54.4338 22.1573 54.9885 22.136C55.1165 22.136 55.2552 22.1147 55.4045 22.072C55.5538 22.008 55.6925 21.912 55.8205 21.784V21.944C55.6285 22.2853 55.3192 22.5733 54.8925 22.808C54.4658 23.0427 53.9752 23.16 53.4205 23.16C53.0365 23.16 52.7165 23.0853 52.4605 22.936C52.2045 22.7867 51.9912 22.6053 51.8205 22.392C51.6712 22.1787 51.5645 21.9653 51.5005 21.752C51.4365 21.5173 51.4045 21.3253 51.4045 21.176C51.0845 21.5387 50.7432 21.8587 50.3805 22.136C50.0392 22.392 49.6445 22.616 49.1965 22.808C48.7698 23 48.2685 23.1387 47.6925 23.224C47.1378 23.3307 46.4872 23.3733 45.7405 23.352C45.1858 23.3307 44.6738 23.2453 44.2045 23.096C43.7352 22.968 43.3512 22.776 43.0525 22.52C42.7325 22.2427 42.4872 21.9227 42.3165 21.56C42.1672 21.1973 42.0818 20.8027 42.0605 20.376C42.0392 19.7573 42.1672 19.1387 42.4445 18.52C42.7218 17.9013 43.1058 17.4 43.5965 17.016ZM44.5885 19.8C44.5885 20.8453 44.8552 21.624 45.3885 22.136C45.9432 22.6267 46.5618 22.8827 47.2445 22.904C47.6712 22.9253 48.1192 22.8613 48.5885 22.712C49.0792 22.5413 49.5272 22.328 49.9325 22.072C50.3378 21.816 50.6685 21.5173 50.9245 21.176C51.2018 20.8133 51.3405 20.4507 51.3405 20.088V13.56C50.5938 13.816 49.8258 14.1253 49.0365 14.488C48.2472 14.8507 47.5218 15.2773 46.8605 15.768C46.1992 16.2587 45.6552 16.8347 45.2285 17.496C44.8018 18.1573 44.5885 18.9253 44.5885 19.8ZM59.2045 21.08C58.6498 20.4613 58.2125 19.7147 57.8925 18.84C57.5938 17.944 57.4445 16.9093 57.4445 15.736C57.4445 14.392 57.7112 13.1867 58.2445 12.12C58.8632 10.8613 59.7592 9.89067 60.9325 9.208C62.1058 8.504 63.4178 8.152 64.8685 8.152C65.8712 8.152 66.8738 8.28 67.8765 8.536C68.9005 8.792 69.7218 9.272 70.3405 9.976V13.016C70.1058 12.5253 69.8285 12.024 69.5085 11.512C69.2098 10.9787 68.8578 10.488 68.4525 10.04C68.0472 9.592 67.5885 9.22933 67.0765 8.952C66.5645 8.65333 65.9778 8.504 65.3165 8.504C64.6125 8.48267 63.8978 8.64267 63.1725 8.984C62.4472 9.304 61.8392 9.74133 61.3485 10.296C60.8792 10.8507 60.5272 11.5333 60.2925 12.344C60.0792 13.1333 59.9618 13.9653 59.9405 14.84C59.9192 15.6933 59.9938 16.536 60.1645 17.368C60.3565 18.2 60.6232 18.9253 60.9645 19.544C61.5405 20.6107 62.2765 21.3787 63.1725 21.848C64.0685 22.296 64.9965 22.52 65.9565 22.52C66.9805 22.52 67.8445 22.2853 68.5485 21.816C69.2738 21.3253 69.9138 20.7387 70.4685 20.056L70.6605 20.184C70.1272 21.016 69.3592 21.752 68.3565 22.392C67.3538 23.032 66.1165 23.352 64.6445 23.352C63.5778 23.352 62.5752 23.1707 61.6365 22.808C60.6978 22.424 59.8872 21.848 59.2045 21.08ZM73.2155 12.12C73.8342 10.8613 74.7302 9.89067 75.9035 9.208C77.0768 8.504 78.3888 8.152 79.8395 8.152C80.9275 8.152 81.8662 8.33333 82.6555 8.696C83.4448 9.03733 84.0742 9.50667 84.5435 10.104C85.0128 10.68 85.3328 11.352 85.5035 12.12C85.6742 12.8667 85.6955 13.6347 85.5675 14.424L74.9435 16.12C75.0075 16.76 75.1248 17.3787 75.2955 17.976C75.4662 18.552 75.6688 19.0747 75.9035 19.544C76.4795 20.6107 77.2155 21.3787 78.1115 21.848C79.0288 22.296 79.9675 22.52 80.9275 22.52C81.9515 22.52 82.8155 22.2853 83.5195 21.816C84.2448 21.3253 84.8848 20.7387 85.4395 20.056L85.5995 20.184C85.0875 21.016 84.3302 21.752 83.3275 22.392C82.3248 23.032 81.0875 23.352 79.6155 23.352C78.5488 23.352 77.5355 23.1707 76.5755 22.808C75.6368 22.424 74.8368 21.848 74.1755 21.08C73.6208 20.4613 73.1835 19.7147 72.8635 18.84C72.5648 17.944 72.4155 16.9093 72.4155 15.736C72.4155 14.392 72.6822 13.1867 73.2155 12.12ZM74.9115 15.768L80.7035 14.68C81.0235 14.616 81.3008 14.5307 81.5355 14.424C81.7915 14.3173 82.0368 14.2107 82.2715 14.104C82.7835 13.848 83.1568 13.5173 83.3915 13.112C83.6262 12.6853 83.7328 12.248 83.7115 11.8C83.6902 10.7547 83.3915 9.976 82.8155 9.464C82.2395 8.93067 81.5568 8.62133 80.7675 8.536C79.9782 8.45067 79.1675 8.55733 78.3355 8.856C77.5035 9.15467 76.8315 9.61333 76.3195 10.232C75.7648 10.8933 75.3702 11.7253 75.1355 12.728C74.9222 13.7093 74.8475 14.7227 74.9115 15.768Z",fill:e})});function k3({children:e,style:t,...o}){return jsxRuntime.jsx(antd.Tag,{color:"#1D4339",...o,style:{borderRadius:90,paddingLeft:12,paddingRight:12,...t},children:e})}function H3({...e}){return jsxRuntime.jsx(antd.AutoComplete,{...e})}var q=j0(Y3(),1);var K3=[],j1="";function p5({previousConformedValue:e=j1,previousPlaceholder:t=j1,currentCaretPosition:o=0,conformedValue:r,rawValue:n,placeholderChar:i,placeholder:s,indexesOfPipedChars:a=K3,caretTrapIndexes:l=K3}){if(o===0||!n.length)return 0;let d=n.length,f=e.length,c=s.length,u=r.length,h=d-f,y=h>0,V=f===0;if(h>1&&!y&&!V)return o;let E=y&&(e===r||r===s),B=0,O,w;if(E)B=o-h;else {let g=r.toLowerCase(),M=n.toLowerCase().substr(0,o).split(j1).filter(x=>g.indexOf(x)!==-1);w=M[M.length-1];let $=t.substr(0,M.length).split(j1).filter(x=>x!==i).length,J=s.substr(0,M.length).split(j1).filter(x=>x!==i).length!==$,j=t[M.length-1]!==void 0&&s[M.length-2]!==void 0&&t[M.length-1]!==i&&t[M.length-1]!==s[M.length-1]&&t[M.length-1]===s[M.length-2];!y&&(J||j)&&$>0&&s.indexOf(w)>-1&&n[o]!==void 0&&(O=!0,w=n[o]);let C=a.map(x=>g[x]).filter(x=>x===w).length,Z=M.filter(x=>x===w).length,H=s.substr(0,s.indexOf(i)).split(j1).filter((x,_)=>x===w&&n[_]!==x).length+Z+C+(O?1:0),T=0;for(let x=0;x<u;x++){let _=g[x];if(B=x+1,_===w&&T++,T>=H)break}}if(y){let g=B;for(let P=B;P<=c;P++)if(s[P]===i&&(g=P),s[P]===i||l.indexOf(P)!==-1||P===c)return g}else if(O){for(let g=B-1;g>=0;g--)if(r[g]===w||l.indexOf(g)!==-1||g===0)return g}else for(let g=B;g>=0;g--)if(s[g-1]===i||l.indexOf(g)!==-1||g===0)return g}var Q1="_",y2="function";var M7=[];function b2(e=M7,t=Q1){if(!d5(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(e.indexOf(t)!==-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.
|
|
1034
1034
|
|
|
1035
1035
|
The placeholder character that was received is: ${JSON.stringify(t)}
|
|
1036
1036
|
|
|
1037
|
-
The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instanceof RegExp?t:o).join("")}function d5(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function f5(e){return typeof e=="string"||e instanceof String}function j3(e){return typeof e=="number"&&e.length===void 0&&!isNaN(e)}function v2(e){return typeof e>"u"||e===null}var S7="[]";function ie(e){let t=[],o;for(;o=e.indexOf(S7),o!==-1;)t.push(o),e.splice(o,1);return {maskWithoutCaretTraps:e,indexes:t}}var k7=[],$1="";function c5(e=$1,t=k7,o={}){if(!d5(t))if(typeof t===y2)t=t(e,o),t=ie(t).maskWithoutCaretTraps;else throw new Error("Text-mask:conformToMask; The mask property must be an array.");let{guide:r=!0,previousConformedValue:n=$1,placeholderChar:i=Q1,placeholder:s=b2(t,i),currentCaretPosition:a,keepCharPositions:l}=o,d=r===!1&&n!==void 0,f=e.length,c=n.length,
|
|
1037
|
+
The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instanceof RegExp?t:o).join("")}function d5(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}function f5(e){return typeof e=="string"||e instanceof String}function j3(e){return typeof e=="number"&&e.length===void 0&&!isNaN(e)}function v2(e){return typeof e>"u"||e===null}var S7="[]";function ie(e){let t=[],o;for(;o=e.indexOf(S7),o!==-1;)t.push(o),e.splice(o,1);return {maskWithoutCaretTraps:e,indexes:t}}var k7=[],$1="";function c5(e=$1,t=k7,o={}){if(!d5(t))if(typeof t===y2)t=t(e,o),t=ie(t).maskWithoutCaretTraps;else throw new Error("Text-mask:conformToMask; The mask property must be an array.");let{guide:r=!0,previousConformedValue:n=$1,placeholderChar:i=Q1,placeholder:s=b2(t,i),currentCaretPosition:a,keepCharPositions:l}=o,d=r===!1&&n!==void 0,f=e.length,c=n.length,u=s.length,h=t.length,y=f-c,V=y>0,b=a+(V?-y:0),E=b+Math.abs(y);if(l===!0&&!V){let g=$1;for(let P=b;P<E;P++)s[P]===i&&(g+=i);e=e.slice(0,b)+g+e.slice(b,f);}let B=e.split($1).map((g,P)=>({char:g,isNew:P>=b&&P<E}));for(let g=f-1;g>=0;g--){let{char:P}=B[g];if(P!==i){let m=g>=b&&c===h;P===s[m?g-y:g]&&B.splice(g,1);}}let O=$1,w=!1;e:for(let g=0;g<u;g++){let P=s[g];if(P===i){if(B.length>0)for(;B.length>0;){let{char:m,isNew:M}=B.shift();if(m===i&&d!==!0){O+=i;continue e}else if(t[g].test(m)){if(l!==!0||M===!1||n===$1||r===!1||!V)O+=m;else {let $=B.length,X=null;for(let J=0;J<$;J++){let j=B[J];if(j.char!==i&&j.isNew===!1)break;if(j.char===i){X=J;break}}X!==null?(O+=m,B.splice(X,1)):g--;}continue e}else w=!0;}d===!1&&(O+=s.substr(g,u));break}else O+=P;}if(d&&V===!1){let g=null;for(let P=0;P<O.length;P++)s[P]===i&&(g=P);g!==null?O=O.substr(0,g+1):O=$1;}return {conformedValue:O,meta:{someCharsRejected:w}}}var er="",Q3="none",H7="object",V7=typeof navigator<"u"&&/Android/i.test(navigator.userAgent),E7=typeof requestAnimationFrame<"u"?requestAnimationFrame:setTimeout;function C5(e){let t={previousConformedValue:void 0,previousPlaceholder:void 0};return {state:t,update(o,{inputElement:r,mask:n,guide:i,pipe:s,placeholderChar:a=Q1,keepCharPositions:l=!1,showMask:d=!1}=e){if(typeof o>"u"&&(o=r.value),o===t.previousConformedValue)return;typeof n===H7&&n.pipe!==void 0&&n.mask!==void 0&&(s=n.pipe,n=n.mask);let f,c;if(n instanceof Array&&(f=b2(n,a)),n===!1)return;let u=_7(o),{selectionEnd:h}=r,{previousConformedValue:y,previousPlaceholder:V}=t,b;if(typeof n===y2){if(c=n(u,{currentCaretPosition:h,previousConformedValue:y,placeholderChar:a}),c===!1)return;let{maskWithoutCaretTraps:X,indexes:J}=ie(c);c=X,b=J,f=b2(c,a);}else c=n;let E={previousConformedValue:y,guide:i,placeholderChar:a,pipe:s,placeholder:f,currentCaretPosition:h,keepCharPositions:l},{conformedValue:B}=c5(u,c,E),O=typeof s===y2,w={};O&&(w=s(B,{rawValue:u,...E}),w===!1?w={value:y,rejected:!0}:f5(w)&&(w={value:w}));let g=O?w.value:B,P=p5({previousConformedValue:y,previousPlaceholder:V,conformedValue:g,placeholder:f,rawValue:u,currentCaretPosition:h,placeholderChar:a,indexesOfPipedChars:w.indexesOfPipedChars,caretTrapIndexes:b}),$=g===f&&P===0?d?f:er:g;t.previousConformedValue=$,t.previousPlaceholder=f,r.value!==$&&(r.value=$,P7(r,P));}}}function P7(e,t){document.activeElement===e&&(V7?E7(()=>e.setSelectionRange(t,t,Q3),0):e.setSelectionRange(t,t,Q3));}function _7(e){if(f5(e))return e;if(j3(e))return String(e);if(e==null)return er;throw new Error(`The 'value' provided to Text Mask needs to be a string or a number. The value received was:
|
|
1038
1038
|
|
|
1039
1039
|
${JSON.stringify(e)}`)}var N1=class extends r3__default.default.PureComponent{constructor(...t){super(...t),this.setRef=this.setRef.bind(this),this.onBlur=this.onBlur.bind(this),this.onChange=this.onChange.bind(this);}setRef(t){this.inputElement=t;}initTextMask(){let{props:t,props:{value:o}}=this;this.textMaskInputElement=C5({inputElement:this.inputElement,...t}),this.textMaskInputElement.update(o);}componentDidMount(){this.initTextMask();}componentDidUpdate(t){let{value:o,pipe:r,mask:n,guide:i,placeholderChar:s,showMask:a}=this.props,l={guide:i,placeholderChar:s,showMask:a},d=typeof r=="function"&&typeof t.pipe=="function"?r.toString()!==t.pipe.toString():v2(r)&&!v2(t.pipe)||!v2(r)&&v2(t.pipe),f=n.toString()!==t.mask.toString(),c=Object.keys(l).some(h=>l[h]!==t[h])||f||d;(o!==this.inputElement.value||c)&&this.initTextMask();}render(){let{render:t,...o}=this.props;return delete o.mask,delete o.guide,delete o.pipe,delete o.placeholderChar,delete o.keepCharPositions,delete o.value,delete o.onBlur,delete o.onChange,delete o.showMask,t(this.setRef,{onBlur:this.onBlur,onChange:this.onChange,defaultValue:this.props.value,...o})}onChange(t){this.textMaskInputElement.update(),typeof this.props.onChange=="function"&&this.props.onChange(t);}onBlur(t){typeof this.props.onBlur=="function"&&this.props.onBlur(t);}};N1.propTypes={mask:q.default.oneOfType([q.default.array,q.default.func,q.default.bool,q.default.shape({mask:q.default.oneOfType([q.default.array,q.default.func]),pipe:q.default.func})]).isRequired,guide:q.default.bool,value:q.default.oneOfType([q.default.string,q.default.number]),pipe:q.default.func,placeholderChar:q.default.string,keepCharPositions:q.default.bool,showMask:q.default.bool};N1.defaultProps={render:(e,t)=>jsxRuntime.jsx("input",{ref:e,...t})};var {TextArea:D7}=antd.Input,tr=k__default.default(web.animated.div)`
|
|
1040
1040
|
position: absolute;
|
|
@@ -1123,18 +1123,16 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1123
1123
|
outline-style: solid;
|
|
1124
1124
|
border-color: ${({theme:e})=>e.colors.secondaryGreen};
|
|
1125
1125
|
}
|
|
1126
|
-
`;k__default.default(
|
|
1126
|
+
`;k__default.default(L.Body)`
|
|
1127
1127
|
display: block;
|
|
1128
|
-
`;var sr=k__default.default(
|
|
1128
|
+
`;var sr=k__default.default(L.Body)`
|
|
1129
1129
|
font-weight: ${({isLabelBold:e})=>e?"bold":"regular"};
|
|
1130
1130
|
text-align: start;
|
|
1131
|
-
|
|
1132
|
-
align-items: baseline;
|
|
1133
|
-
`,ar=k__default.default(w.Body)`
|
|
1131
|
+
`,ar=k__default.default(L.Body)`
|
|
1134
1132
|
margin-top: 0.2rem;
|
|
1135
1133
|
`,lr=k__default.default.div`
|
|
1136
1134
|
margin-bottom: 12px;
|
|
1137
|
-
`;var R7=({label:e=null,isLabelBold:t=!1,required:o=!1,details:r=null})=>e?jsxRuntime.jsxs(lr,{children:[jsxRuntime.jsxs(sr,{className:"input-label",size:"lg",isLabelBold:t,children:[e,o&&jsxRuntime.jsx("span",{style:{color:"#DA4D54"},children:"*"})]}),r&&jsxRuntime.jsx(ar,{size:"lg",children:r})]}):null,A=R7;var fr=(i=>(i.Phone="phone",i.Currency="currency",i.Email="email",i.Zipcode="zipcode",i.ShortDate="shortDate",i))(fr||{});var cr=e=>{let t;switch(e){case"shortDate":t=[/\d/,/\d/,"/",/\d/,/\d/,"/",/\d/,/\d/,/\d/,/\d/];break;case"zipcode":t=[/\d/,/\d/,/\d/,/\d/,/\d/];break;case"phone":t=["(",/[1-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/];break;case"currency":t=textMaskAddons.createNumberMask({prefix:"$"});break;case"email":t=textMaskAddons.emailMask;break;default:t=e;}return t};var $7=({name:e,label:t=null,details:o=null,type:r="text",formOptions:n={},previewOnly:i=!1,textArea:s=!1,marginBottom:a=void 0,isLabelBold:l=!0,format:d="",errorMessage:f="This field is required",...c})=>{let{control:
|
|
1135
|
+
`;var R7=({label:e=null,isLabelBold:t=!1,required:o=!1,details:r=null})=>e?jsxRuntime.jsxs(lr,{children:[jsxRuntime.jsxs(sr,{className:"input-label",size:"lg",isLabelBold:t,children:[e,o&&jsxRuntime.jsx("span",{style:{color:"#DA4D54"},children:"*"})]}),r&&jsxRuntime.jsx(ar,{size:"lg",children:r})]}):null,A=R7;var fr=(i=>(i.Phone="phone",i.Currency="currency",i.Email="email",i.Zipcode="zipcode",i.ShortDate="shortDate",i))(fr||{});var cr=e=>{let t;switch(e){case"shortDate":t=[/\d/,/\d/,"/",/\d/,/\d/,"/",/\d/,/\d/,/\d/,/\d/];break;case"zipcode":t=[/\d/,/\d/,/\d/,/\d/,/\d/];break;case"phone":t=["(",/[1-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/];break;case"currency":t=textMaskAddons.createNumberMask({prefix:"$"});break;case"email":t=textMaskAddons.emailMask;break;default:t=e;}return t};var $7=({name:e,label:t=null,details:o=null,type:r="text",formOptions:n={},previewOnly:i=!1,textArea:s=!1,marginBottom:a=void 0,isLabelBold:l=!0,format:d="",errorMessage:f="This field is required",...c})=>{let{control:u,formState:{errors:h}}=reactHookForm.useFormContext(),y=!!h?.[e],V=h?.[e]?.message?.toString()||f,b=({field:E})=>s?jsxRuntime.jsx(ir,{...E,marginBottom:a,error:y,disabled:i,...c}):d?jsxRuntime.jsx(rr,{...E,mask:cr(d),guide:!1,disabled:i,type:r,error:y,...c}):jsxRuntime.jsx(or,{...E,disabled:i,type:r,error:y,...c});return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(A,{label:t,isLabelBold:l,required:!!n.required,details:o}),jsxRuntime.jsxs(nr,{marginBottom:a,children:[jsxRuntime.jsx(reactHookForm.Controller,{render:b,name:e,rules:n,control:u}),jsxRuntime.jsx(tr,{children:y&&jsxRuntime.jsx(N.ErrorExclamation,{})})]}),y&&jsxRuntime.jsx(W,{text:V,includeIcon:!1})]})},H1=$7;k__default.default.div`
|
|
1138
1136
|
margin-bottom: 32px;
|
|
1139
1137
|
`;var mr=k__default.default.div`
|
|
1140
1138
|
display: ${e=>e.isColumns?"grid":"flex"};
|
|
@@ -1155,6 +1153,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1155
1153
|
|
|
1156
1154
|
label {
|
|
1157
1155
|
padding-left: 35px;
|
|
1156
|
+
min-height: 24px;
|
|
1158
1157
|
}
|
|
1159
1158
|
`,gr=k__default.default.input`
|
|
1160
1159
|
-webkit-appearance: none;
|
|
@@ -1172,9 +1171,10 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1172
1171
|
::after {
|
|
1173
1172
|
content: "";
|
|
1174
1173
|
display: block;
|
|
1174
|
+
position: relative;
|
|
1175
1175
|
border-radius: 4px;
|
|
1176
|
-
width:
|
|
1177
|
-
height:
|
|
1176
|
+
width: 75%;
|
|
1177
|
+
height: 100%;
|
|
1178
1178
|
margin: 3px;
|
|
1179
1179
|
}
|
|
1180
1180
|
|
|
@@ -1214,7 +1214,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1214
1214
|
&:checked + label::before {
|
|
1215
1215
|
background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xMC42NjY3IDEuNTAwMTJMNC4yNTAwNCA3LjkxNjc5TDEuMzMzMzcgNS4wMDAxMiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+Cg==");
|
|
1216
1216
|
}
|
|
1217
|
-
`;k__default.default(
|
|
1217
|
+
`;k__default.default(L.Body)`
|
|
1218
1218
|
margin-bottom: 5px;
|
|
1219
1219
|
font-weight: bold;
|
|
1220
1220
|
`;var hr=k__default.default.div`
|
|
@@ -1226,7 +1226,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1226
1226
|
input[type="text"] {
|
|
1227
1227
|
margin: 0;
|
|
1228
1228
|
}
|
|
1229
|
-
`;var ae=({option:e,name:t,formOptions:o={},previewOnly:r=!1,errorMessage:n=void 0,inGroup:i=!1,hasError:s=!1,...a})=>{let{register:l,formState:{errors:d}}=reactHookForm.useFormContext();return jsxRuntime.jsxs(ur,{children:[jsxRuntime.jsx(gr,{type:"checkbox",value:e.value,hasError:s||!!d?.[t],previewOnly:r,disabled:!!a?.disabled||r,...l(t,o),...a}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(
|
|
1229
|
+
`;var ae=({option:e,name:t,formOptions:o={},previewOnly:r=!1,errorMessage:n=void 0,inGroup:i=!1,hasError:s=!1,...a})=>{let{register:l,formState:{errors:d}}=reactHookForm.useFormContext();return jsxRuntime.jsxs(ur,{children:[jsxRuntime.jsx(gr,{type:"checkbox",value:e.value,hasError:s||!!d?.[t],previewOnly:r,disabled:!!a?.disabled||r,...l(t,o),...a}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(L.Body,{children:e.label})}),s&&!i&&jsxRuntime.jsx(W,{text:n,includeIcon:!1})]})},yr=({name:e,label:t=void 0,details:o="",options:r=[],inline:n=!1,previewOnly:i=!1,other:s={},errorMessage:a=void 0,formOptions:l={},...d})=>{let{formState:{errors:f}}=reactHookForm.useFormContext(),c=!!f?.[e];return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(A,{label:t,isLabelBold:!0,required:!!l.required,details:o}),jsxRuntime.jsxs(mr,{inline:n,isColumns:r.length>5,children:[r.map(u=>jsxRuntime.jsx(ae,{name:e,inGroup:!0,option:u,hasError:c,formOptions:l,previewOnly:i,...d},`${e}-${u.value}`)),s.label&&jsxRuntime.jsxs(hr,{children:[jsxRuntime.jsx(ae,{option:{label:s.label,value:"other"},name:e,inGroup:!0,formOptions:l,previewOnly:i,...d},e),jsxRuntime.jsx(H1,{name:`${e}_other`,placeholder:"Other",...d,previewOnly:i})]})]}),c&&jsxRuntime.jsx(W,{text:a,includeIcon:!1})]})};var U7=({formMethods:e=null,formOptions:t={},onSubmit:o,children:r,className:n=""})=>{let i={mode:"onBlur",...t},s=reactHookForm.useForm(i),a=e||s,l=d=>o(d);return jsxRuntime.jsx(reactHookForm.FormProvider,{...a,children:jsxRuntime.jsx("form",{className:n,onSubmit:a.handleSubmit(l),children:r})})},vr=U7;k__default.default(web.animated.div)`
|
|
1230
1230
|
position: absolute;
|
|
1231
1231
|
display: block;
|
|
1232
1232
|
width: 45px;
|
|
@@ -1244,7 +1244,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1244
1244
|
display: flex;
|
|
1245
1245
|
flex-direction: column;
|
|
1246
1246
|
position: relative;
|
|
1247
|
-
`;var J7=({...e})=>jsxRuntime.jsx(antd.Input.TextArea,{...e}),Mr=J7;var j7=({...e})=>jsxRuntime.jsx(antd.Input,{...e}),Sr=j7;var ti=({...e})=>jsxRuntime.jsx(antd.InputNumber,{min:0,...e}),kr=ti;var o2={Area:Mr,Text:Sr,Number:kr};var ii=({name:e,label:t=null,details:o=null,formOptions:r={},textArea:n=!1,isLabelBold:i=!0,errorMessage:s="This field is required",...a})=>{let{control:l,formState:{errors:d}}=reactHookForm.useFormContext(),f=!!reactHookForm.get(d,e),c=reactHookForm.get(d,e)?.message?.toString()||s,
|
|
1247
|
+
`;var J7=({...e})=>jsxRuntime.jsx(antd.Input.TextArea,{...e}),Mr=J7;var j7=({...e})=>jsxRuntime.jsx(antd.Input,{...e}),Sr=j7;var ti=({...e})=>jsxRuntime.jsx(antd.InputNumber,{min:0,...e}),kr=ti;var o2={Area:Mr,Text:Sr,Number:kr};var ii=({name:e,label:t=null,details:o=null,formOptions:r={},textArea:n=!1,isLabelBold:i=!0,errorMessage:s="This field is required",...a})=>{let{control:l,formState:{errors:d}}=reactHookForm.useFormContext(),f=!!reactHookForm.get(d,e),c=reactHookForm.get(d,e)?.message?.toString()||s,u=({field:h})=>n?jsxRuntime.jsx(o2.Area,{status:f?"error":"",suffix:f?jsxRuntime.jsx(N.ErrorExclamation,{}):null,...a,...h}):jsxRuntime.jsx(o2.Text,{status:f?"error":"",suffix:f?jsxRuntime.jsx(N.ErrorExclamation,{}):null,...a,...h});return jsxRuntime.jsxs("div",{style:{width:"100%"},children:[jsxRuntime.jsx(A,{label:t,isLabelBold:i,required:!!r.required,details:o}),jsxRuntime.jsx(Lr,{children:jsxRuntime.jsx(reactHookForm.Controller,{render:u,name:e,rules:r,control:l})}),f&&jsxRuntime.jsx(W,{text:c,includeIcon:!1})]})},Vr=ii;var pi=({label:e=null,isLabelBold:t=!0,name:o,disabled:r=!1,defaultValue:n=void 0,formOptions:i={},errorMessage:s="This field is required.",options:a={},style:l={},...d})=>{let{control:f,formState:{errors:c}}=reactHookForm.useFormContext(),u=!!reactHookForm.get(c,o),h=reactHookForm.get(c,o)?.message?.toString()||s;return jsxRuntime.jsxs("div",{style:l,children:[jsxRuntime.jsx(A,{label:e,isLabelBold:t,required:!!i.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:y})=>jsxRuntime.jsx(o2.Number,{disabled:r,status:u?"error":"",suffix:u?jsxRuntime.jsx(N.ErrorExclamation,{}):null,...d,...y}),name:o,defaultValue:n,rules:i,control:f,...a}),u&&jsxRuntime.jsx(W,{text:h,includeIcon:!1})]})},Pr=pi;var _r=k__default.default.div`
|
|
1248
1248
|
position: relative;
|
|
1249
1249
|
margin-bottom: 24px;
|
|
1250
1250
|
|
|
@@ -1271,7 +1271,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1271
1271
|
flex: 1 0 300px;
|
|
1272
1272
|
`,Dr=k__default.default.div`
|
|
1273
1273
|
flex: 0 160px;
|
|
1274
|
-
`,u5=k__default.default(
|
|
1274
|
+
`,u5=k__default.default(L.Body)`
|
|
1275
1275
|
color: var(--color-neutrals-gray-3, #7f7f7f);
|
|
1276
1276
|
font-size: 14px;
|
|
1277
1277
|
font-weight: 400;
|
|
@@ -1300,14 +1300,14 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1300
1300
|
font-size: 24px;
|
|
1301
1301
|
font-style: normal;
|
|
1302
1302
|
${e=>e.disabled&&"padding-left: 0"};
|
|
1303
|
-
`;k__default.default(
|
|
1303
|
+
`;k__default.default(L.Body)`
|
|
1304
1304
|
font-size: 18px;
|
|
1305
1305
|
margin-bottom: 12px;
|
|
1306
1306
|
`;var Ir=k__default.default.div`
|
|
1307
1307
|
padding: 12px 6px;
|
|
1308
1308
|
height: 57px;
|
|
1309
1309
|
border-bottom: 1px solid #000;
|
|
1310
|
-
`;var Ci=({label:e,name:t,formOptions:o={},description:r="",previewOnly:n=!1,errorMessage:i=void 0,signatureType:s=void 0,date:a=void 0,isAdvocate:l=!1,showIcon:d=!0,formStyle:f="MINIMAL",...c})=>{let{control:
|
|
1310
|
+
`;var Ci=({label:e,name:t,formOptions:o={},description:r="",previewOnly:n=!1,errorMessage:i=void 0,signatureType:s=void 0,date:a=void 0,isAdvocate:l=!1,showIcon:d=!0,formStyle:f="MINIMAL",...c})=>{let{control:u,formState:{errors:h}}=reactHookForm.useFormContext(),y=s==="advocate"?"Advocate":"Client",V=l&&s==="advocate"||!l&&s==="client",b=({field:O})=>jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(Zr,{previewOnly:n,children:[d&&jsxRuntime.jsx(I2,{}),jsxRuntime.jsx(Rr,{...O,...c})]}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(L.Body,{children:e})})]}),E=a?new Date(a).toLocaleDateString():"",B=({field:O})=>jsxRuntime.jsx(Tr,{children:jsxRuntime.jsxs(Br,{children:[jsxRuntime.jsxs(Or,{children:[jsxRuntime.jsx(Fr,{...O,...c,placeholder:`${y} Signature`,disabled:n||!V,hasError:!!h[t]}),jsxRuntime.jsx(u5,{children:`${y}`}),h[t]&&jsxRuntime.jsx(W,{text:i,includeIcon:!1})]}),jsxRuntime.jsxs(Dr,{children:[jsxRuntime.jsx(Ir,{children:E}),jsxRuntime.jsx(u5,{children:"Date"})]})]})});return jsxRuntime.jsxs(_r,{previewOnly:n,children:[e&&jsxRuntime.jsx(A,{label:c?`${y} ${e}`:e,required:!0,isLabelBold:!0}),r,jsxRuntime.jsx(reactHookForm.Controller,{render:f==="MINIMAL"?b:B,name:t,rules:o,control:u})]})},zr=Ci;k__default.default.div`
|
|
1311
1311
|
margin-bottom: 32px;
|
|
1312
1312
|
`;var Ar=k__default.default.div`
|
|
1313
1313
|
display: ${e=>e.isColumns?"grid":"flex"};
|
|
@@ -1388,7 +1388,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1388
1388
|
transform: scale(1.65);
|
|
1389
1389
|
background: #1d4339;
|
|
1390
1390
|
}
|
|
1391
|
-
`;k__default.default(
|
|
1391
|
+
`;k__default.default(L.Body)`
|
|
1392
1392
|
margin-bottom: 5px;
|
|
1393
1393
|
font-weight: bold;
|
|
1394
1394
|
`;var Gr=k__default.default.div`
|
|
@@ -1462,7 +1462,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1462
1462
|
&:checked {
|
|
1463
1463
|
border: 0.15em solid #1d4339;
|
|
1464
1464
|
}
|
|
1465
|
-
`,Jr=k__default.default(
|
|
1465
|
+
`,Jr=k__default.default(L.Body)`
|
|
1466
1466
|
color: #000;
|
|
1467
1467
|
font-family: Lato;
|
|
1468
1468
|
font-size: 18px;
|
|
@@ -1481,11 +1481,11 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1481
1481
|
font-weight: 400;
|
|
1482
1482
|
line-height: 24px;
|
|
1483
1483
|
padding: 0 24px 19px;
|
|
1484
|
-
`;var le=({option:e,name:t,inline:o,previewOnly:r=!1,hasError:n=!1,formOptions:i={},...s})=>{let{register:a}=reactHookForm.useFormContext();return jsxRuntime.jsxs($r,{inline:o,children:[jsxRuntime.jsx(Nr,{type:"radio",...a(t,i),value:e.value,previewOnly:r,disabled:r,hasError:n,...s}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(
|
|
1484
|
+
`;var le=({option:e,name:t,inline:o,previewOnly:r=!1,hasError:n=!1,formOptions:i={},...s})=>{let{register:a}=reactHookForm.useFormContext();return jsxRuntime.jsxs($r,{inline:o,children:[jsxRuntime.jsx(Nr,{type:"radio",...a(t,i),value:e.value,previewOnly:r,disabled:r,hasError:n,...s}),jsxRuntime.jsx("label",{htmlFor:t,children:jsxRuntime.jsx(L.Body,{children:e.label})})]})},jr=({name:e,label:t,details:o="",options:r=[],inline:n=!1,allowOther:i=!1,previewOnly:s=!1,formOptions:a={},errorMessage:l=void 0,...d})=>{let{formState:{errors:f}}=reactHookForm.useFormContext(),c=!!f?.[e];return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(A,{label:t,required:!!a.required,isLabelBold:!0,details:o}),jsxRuntime.jsxs(Ar,{inline:n,isColumns:r.length>5,children:[r.map(u=>jsxRuntime.jsx(le,{option:u,name:e,inline:n,previewOnly:s,formOptions:a,...d,hasError:c},`${e}-${u.value}`)),i&&jsxRuntime.jsxs(Gr,{children:[jsxRuntime.jsx(le,{option:{label:"Other",value:"other"},name:e,inline:n,...d},e),jsxRuntime.jsx(H1,{name:`${e}_other`,...d})]})]}),c&&jsxRuntime.jsx(W,{text:l,includeIcon:!1})]})},gi=({option:e,name:t,formOptions:o})=>{let{register:r,watch:n,formState:i}=reactHookForm.useFormContext(),s=n(t)===e.value;return jsxRuntime.jsxs(Ur,{selected:s,hasError:!!i.errors[t],children:[jsxRuntime.jsxs(qr,{children:[jsxRuntime.jsxs(Yr,{selected:s,children:[e.icon||null,e.label]}),jsxRuntime.jsx(Xr,{type:"radio",value:e.value,...r(t,o)})]}),jsxRuntime.jsx(Kr,{selected:s,children:e.description})]})},Qr=({name:e,label:t=null,className:o="",options:r,formOptions:n={},id:i=""})=>jsxRuntime.jsxs(Wr,{className:o,id:i,children:[t&&jsxRuntime.jsx(Jr,{size:"lg",children:t}),jsxRuntime.jsx("div",{children:r.map(s=>jsxRuntime.jsx(gi,{option:s,name:e,formOptions:n},`${s.label}-${s.value}`))})]});var e0=k__default.default.div`
|
|
1485
1485
|
position: relative;
|
|
1486
1486
|
margin-bottom: 24px;
|
|
1487
1487
|
z-index: 40;
|
|
1488
|
-
`;k__default.default(
|
|
1488
|
+
`;k__default.default(L.Body)`
|
|
1489
1489
|
margin-bottom: 5px;
|
|
1490
1490
|
font-weight: ${({isLabelBold:e})=>e?"bold":"regular"};
|
|
1491
1491
|
text-align: start;
|
|
@@ -1549,9 +1549,9 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1549
1549
|
position: absolute;
|
|
1550
1550
|
top: 0;
|
|
1551
1551
|
left: 0;
|
|
1552
|
-
`;k__default.default(
|
|
1552
|
+
`;k__default.default(L.Body)`
|
|
1553
1553
|
margin-bottom: 24px;
|
|
1554
|
-
`;var vi=({label:e="",name:t,details:o="",placeholder:r="",options:n=[],allowInput:i=!1,previewOnly:s=!1,isLabelBold:a=!0,formOptions:l={},onChange:d=()=>null,containerStyle:f={}})=>{let c=r3.useRef(),
|
|
1554
|
+
`;var vi=({label:e="",name:t,details:o="",placeholder:r="",options:n=[],allowInput:i=!1,previewOnly:s=!1,isLabelBold:a=!0,formOptions:l={},onChange:d=()=>null,containerStyle:f={}})=>{let c=r3.useRef(),u=reactHookForm.useFormContext();u.register(t,l);let[h,y]=r3.useState(!1),[V,b]=r3.useState(""),[E,B]=r3.useState(n),O=web.useSpring(h?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});r3.useEffect(()=>{let m=M=>{h&&c.current&&!c.current.contains(M.target)&&y(!1);};return document.addEventListener("mousedown",M=>m(M)),()=>{document.removeEventListener("mousedown",M=>m(M));}},[h]);let w=n.find(m=>m.value===u.getValues(t))?.label,g=m=>{b(""),u.setValue(t,m.value),u.trigger(t),d&&d(m),y(!1);};r3.useEffect(()=>{if(y(!!V),V){let m=n.filter(M=>M.value.toLowerCase().match(V.toLowerCase()));B(m),u.setValue(t,V);}else B(n);},[V,n.length]);let P=m=>{m.code==="Enter"&&m.preventDefault();};return jsxRuntime.jsxs(e0,{style:f,children:[jsxRuntime.jsx(A,{label:e,isLabelBold:a,required:!!l.required,details:o}),jsxRuntime.jsx(t0,{onClick:()=>y(!h),previewOnly:s,children:s?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx("i",{style:{color:"#7F7F7F"},children:"--Select--"}),jsxRuntime.jsx(N.Caret,{direction:"down",color:"#7F7F7F"})]}):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[w||jsxRuntime.jsx("i",{children:r}),i&&jsxRuntime.jsx(i0,{onKeyDown:P,value:V,onChange:m=>b(m.target.value),type:"text"}),jsxRuntime.jsx(N.Caret,{direction:h?"up":"down"}),jsxRuntime.jsx(o0,{style:O,ref:c,children:E.map(m=>{let{label:M}=m,$=m.label===w;return jsxRuntime.jsxs(r0,{onClick:()=>g(m),children:[jsxRuntime.jsx(L.Body,{size:"lg",children:M}),jsxRuntime.jsx(n0,{isCurrent:$,children:jsxRuntime.jsx(N.Check,{color:"#fff"})})]},m.value)})})]})})]})},l0=vi;var p0=k__default.default.div`
|
|
1555
1555
|
background: #eeeeee;
|
|
1556
1556
|
border-radius: 10px;
|
|
1557
1557
|
border: 1px solid #ccc;
|
|
@@ -1652,7 +1652,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1652
1652
|
border-color: #3f937c;
|
|
1653
1653
|
box-shadow: none;
|
|
1654
1654
|
}
|
|
1655
|
-
`;var Si=({label:e="",name:t,details:o="",placeholder:r="",unit:n="",options:i=[],disabled:s=!1,mode:a=void 0,previewOnly:l=!1,isLabelBold:d=!0,formOptions:f={},onChange:c=()=>null,showPreview:
|
|
1655
|
+
`;var Si=({label:e="",name:t,details:o="",placeholder:r="",unit:n="",options:i=[],disabled:s=!1,mode:a=void 0,previewOnly:l=!1,isLabelBold:d=!0,formOptions:f={},onChange:c=()=>null,showPreview:u=!1,containerStyle:h={},style:y={},allowClear:V=!0,loading:b=!1,value:E=void 0,errorMessage:B=void 0,defaultValue:O=void 0,...w})=>{let g=reactHookForm.useFormContext();g.register(t,f);let{control:P,formState:{errors:m},getValues:M}=reactHookForm.useFormContext(),$=!!m?.[t],J=M()[t],j=S=>{g.setValue(t,S),g.trigger(t),c(S);},p=(S,H)=>(H?.label?.toString().toLowerCase()??"").includes(S.toLowerCase()),C=(S,H)=>{let T=S?.label?.toString().toLowerCase()??"",x=H?.label?.toString().toLowerCase()??"";return T.localeCompare(x)},Z=({field:S})=>jsxRuntime.jsx(c0,{allowClear:V,loading:b,mode:a,showSearch:!0,onChange:j,placeholder:r,options:i,disabled:s||l,value:S.value??E,defaultValue:i.find(H=>H.value===O),style:{width:n?"auto":"100%",...y},filterOption:p,filterSort:C,...w});return jsxRuntime.jsxs("div",{style:h,children:[jsxRuntime.jsx(A,{label:e,isLabelBold:d,required:!!f.required,details:o}),jsxRuntime.jsxs(f0,{children:[jsxRuntime.jsx(reactHookForm.Controller,{control:P,name:t,rules:f,render:Z}),n&&jsxRuntime.jsx(L.Body,{size:"lg",children:n})]}),l&&u&&jsxRuntime.jsx(p0,{children:i.map(S=>jsxRuntime.jsx(d0,{selected:S.value===J,children:S.label}))}),$&&jsxRuntime.jsx(W,{text:B,includeIcon:!1})]})},u0=Si;var Ei=({label:e="Submit",isSubmitting:t=!1,hideWhenInvalid:o=!1,...r})=>{let n=reactHookForm.useFormContext(),{isValid:i}=n.formState,a=web.useSpring((o?i:!0)?{position:"relative",zIndex:0,opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:250}}:{opacity:0,transform:"translate(0px, -3px)",display:"none",config:{duration:250}});return jsxRuntime.jsx(web.animated.div,{style:a,...r,children:jsxRuntime.jsx(a2.Primary,{htmlType:"submit",isSubmitting:t,...r,children:e})})},h0=Ei;var Oi=k__default.default.div`
|
|
1656
1656
|
position: relative;
|
|
1657
1657
|
margin-bottom: 24px;
|
|
1658
1658
|
z-index: 20;
|
|
@@ -1715,12 +1715,12 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1715
1715
|
padding: 0 20px;
|
|
1716
1716
|
width: 100%;
|
|
1717
1717
|
height: 100%;
|
|
1718
|
-
`,Ai=k__default.default(
|
|
1718
|
+
`,Ai=k__default.default(L.Body)`
|
|
1719
1719
|
margin-bottom: 24px;
|
|
1720
|
-
`,$i=e=>{let t="",o="",r="",n="",i="";e.address_components.forEach(d=>{d.types.some(f=>{switch(f){case"locality":return t=d.short_name,!0;case"administrative_area_level_1":return o=d.short_name,!0;case"street_number":return r=d.short_name,!0;case"route":return n=d.short_name,!0;case"postal_code":return i=d.short_name,!0;default:return !1}});});let s=e.geometry.location.lat(),a=e.geometry.location.lng(),l=`${r} ${n}`;return {city:t,state:o,street:l,zip:i,lat:s,long:a}},Ni=({handleSelect:e,option:t,value:o})=>{let{description:r}=t,n=r===o,i=r.replace(", USA","");return jsxRuntime.jsx(Ii,{isCurrent:n,onClick:()=>e(i),children:jsxRuntime.jsx(
|
|
1720
|
+
`,$i=e=>{let t="",o="",r="",n="",i="";e.address_components.forEach(d=>{d.types.some(f=>{switch(f){case"locality":return t=d.short_name,!0;case"administrative_area_level_1":return o=d.short_name,!0;case"street_number":return r=d.short_name,!0;case"route":return n=d.short_name,!0;case"postal_code":return i=d.short_name,!0;default:return !1}});});let s=e.geometry.location.lat(),a=e.geometry.location.lng(),l=`${r} ${n}`;return {city:t,state:o,street:l,zip:i,lat:s,long:a}},Ni=({handleSelect:e,option:t,value:o})=>{let{description:r}=t,n=r===o,i=r.replace(", USA","");return jsxRuntime.jsx(Ii,{isCurrent:n,onClick:()=>e(i),children:jsxRuntime.jsx(L.Body,{size:"lg",children:i})})},Gi=({label:e="",details:t="",formOptions:o={},previewOnly:r=!1,locationType:n="city",streetFieldName:i="street",cityFieldName:s="city",stateFieldName:a="state",zipFieldName:l="zip",placeholder:d="",containerStyle:f={}})=>{let c=r3.useRef(),[u,h]=r3.useState(!1),[y,V]=r3.useState(!1),b=reactHookForm.useFormContext(),E=n==="city"?s:i,B=web.useSpring(u?{opacity:1,transform:"translate(0px, 0px)",display:"block",config:{duration:150}}:{opacity:0,transform:"translate(0px, -2px)",display:"none",config:{duration:150}});r3.useEffect(()=>{let p=C=>{u&&c.current&&!c.current.contains(C.target)&&h(!1);};return document.addEventListener("mousedown",C=>p(C)),()=>{document.removeEventListener("mousedown",C=>p(C));}},[u]);let O=b.getValues(E)?`${b.getValues(E)}, ${b.getValues(a)}`:"",{value:w,suggestions:{data:g,loading:P},setValue:m,clearSuggestions:M}=Zi__default.default({requestOptions:{...n==="city"?{types:["locality","postal_code"]}:{},componentRestrictions:{country:"us"}}});r3.useEffect(()=>{if(P){V(P);return}setTimeout(()=>{V(P);},2e3);},[P]);let $=web.useSpring(y?{opacity:1,transform:"translate(0px, 0px)",config:{duration:400}}:{opacity:0,transform:"translate(5px, 0px)",config:{duration:200}}),X=p=>{m(p.target.value),b.setValue(a,""),n==="full"&&(b.setValue(l,""),b.setValue(s,"")),b.trigger(E),p.target.value.length>=3&&h(!0);},J=p=>{m(p,!1),M(),!(p.length<=2)&&Zi.getGeocode({address:p}).then(C=>{let{city:Z,state:S,street:H,zip:T,lat:x,long:_}=$i(C[0]),D=[E,s,a];b.setValue(s,Z),b.setValue(a,S),n==="full"&&(b.setValue(i,H),b.setValue(l,T),D.push(i,l)),b.setValue("lat",x),b.setValue("long",_),b.trigger(D);}).catch(C=>console.error(`Google Maps API error: ${C}`));},j=p=>{p.code==="Enter"&&p.preventDefault();};return jsxRuntime.jsxs(Oi,{children:[jsxRuntime.jsx(A,{label:e,isLabelBold:!0,required:!!o.required}),r?jsxRuntime.jsx(Ai,{size:"md",children:O||"N/A"}):jsxRuntime.jsxs(Di,{style:f,children:[jsxRuntime.jsx(zi,{onKeyDown:j,type:"text",placeholder:d,...b.register(E,{...o,onChange:X})}),g.length>0&&jsxRuntime.jsx(Ri,{style:B,ref:c,children:g.map(p=>jsxRuntime.jsx(Ni,{handleSelect:J,option:p,value:w},p.description))}),jsxRuntime.jsx(Fi,{style:$,children:jsxRuntime.jsx(Ke,{size:"sm"})})]})]})},L0=e=>{let{isLoaded:t}=api.useLoadScript({googleMapsApiKey:e.api_key||process.env.GOOGLE_MAPS_API_KEY||"",libraries:["places"]});return t?jsxRuntime.jsx(Gi,{...e}):null};var Xi=k__default.default.div`
|
|
1721
1721
|
position: relative;
|
|
1722
1722
|
margin-bottom: 24px;
|
|
1723
|
-
`,Ji=({label:e="",formOptions:t={},defaultValue:o=null,name:r,...n})=>{let{control:i,formState:{errors:s}}=reactHookForm.useFormContext(),a=s[r],l=a?a.message?.toString():"This field is required";return jsxRuntime.jsxs(Xi,{children:[jsxRuntime.jsx(A,{isLabelBold:!0,label:e,required:!!t.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:d})=>jsxRuntime.jsx(qe,{...n,...d,status:!!a&&"error"}),name:r,defaultValue:o?V2__default.default(o):null,rules:t,control:i,...t}),a&&jsxRuntime.jsx(W,{includeIcon:!1,children:l})]})},M0=Ji;var ji=({label:e="",name:t,options:o,...r})=>{let {setValue:n}=reactHookForm.useFormContext();k__default.default(
|
|
1723
|
+
`,Ji=({label:e="",formOptions:t={},defaultValue:o=null,name:r,...n})=>{let{control:i,formState:{errors:s}}=reactHookForm.useFormContext(),a=s[r],l=a?a.message?.toString():"This field is required";return jsxRuntime.jsxs(Xi,{children:[jsxRuntime.jsx(A,{isLabelBold:!0,label:e,required:!!t.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:d})=>jsxRuntime.jsx(qe,{...n,...d,status:!!a&&"error"}),name:r,defaultValue:o?V2__default.default(o):null,rules:t,control:i,...t}),a&&jsxRuntime.jsx(W,{includeIcon:!1,children:l})]})},M0=Ji;var ji=({label:e="",name:t,options:o,...r})=>{let {setValue:n}=reactHookForm.useFormContext();k__default.default(L.Body)`
|
|
1724
1724
|
margin-bottom: 5px;
|
|
1725
1725
|
text-align: start;
|
|
1726
1726
|
`;let s=k__default.default.div`
|
|
@@ -1730,10 +1730,10 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1730
1730
|
position: relative;
|
|
1731
1731
|
margin-bottom: 24px;
|
|
1732
1732
|
z-index: 20;
|
|
1733
|
-
`,ns=k__default.default(
|
|
1733
|
+
`,ns=k__default.default(L.Body)`
|
|
1734
1734
|
margin-bottom: 5px;
|
|
1735
1735
|
font-weight: bold;
|
|
1736
|
-
`,is=k__default.default(
|
|
1736
|
+
`,is=k__default.default(L.Body)`
|
|
1737
1737
|
margin-bottom: 12px;
|
|
1738
1738
|
`,ss=k__default.default.div`
|
|
1739
1739
|
position: relative;
|
|
@@ -1809,7 +1809,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1809
1809
|
border: 0.766898px solid;
|
|
1810
1810
|
border-color: ${e=>e.isCurrent?"#285E50 !important":"#3f937c"};
|
|
1811
1811
|
background: ${e=>e.isCurrent?"#285E50 !important":"#FFF"};
|
|
1812
|
-
`,fs=({label:e="",name:t,details:o="",options:r=[],previewOnly:n=!1})=>{let i=r3.useRef(),s=reactHookForm.useFormContext(),[a,l]=r3.useState(!1),[d,f]=r3.useState(""),[c,
|
|
1812
|
+
`,fs=({label:e="",name:t,details:o="",options:r=[],previewOnly:n=!1})=>{let i=r3.useRef(),s=reactHookForm.useFormContext(),[a,l]=r3.useState(!1),[d,f]=r3.useState(""),[c,u]=r3.useState(s.getValues(t)||[]),h=r3.useRef({search:d,keywords:c});r3.useEffect(()=>{h.current={search:d,keywords:c};},[d,c]);let[y,V]=r3.useState(r),b=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}}),E=r.find(m=>m===s.getValues(t)),B=m=>{let M=[...h.current.keywords,m];f(""),u(M),s.setValue(t,M),l(!1);},O=m=>m?m.charAt(0).toUpperCase()+m.slice(1).toLowerCase():"",w=()=>{if(!h.current.search)return;let m=O(h.current.search);B(m);};r3.useEffect(()=>{let m=M=>{a&&i.current&&!i.current.contains(M.target)&&(w(),l(!1));};return document.addEventListener("mousedown",M=>m(M)),()=>{document.removeEventListener("mousedown",M=>m(M));}},[a]);let g=m=>{m.code==="Enter"&&(w(),m.preventDefault());},P=m=>{let M=c.filter($=>$!==m);u(M),f(""),s.setValue(t,M);};return r3.useEffect(()=>{if(l(!!d),d){let m=r.filter(M=>M.toLowerCase().match(d.toLowerCase()));V(m);}else V(r);},[d]),r3.useEffect(()=>{let m=r.filter(M=>!c.includes(M));V(m);},[c]),jsxRuntime.jsxs(rs,{children:[jsxRuntime.jsx(ns,{size:"lg",children:e}),o&&jsxRuntime.jsx(is,{children:o}),!n&&jsxRuntime.jsxs(ss,{onClick:()=>l(!a),children:[jsxRuntime.jsx(F2,{}),E,jsxRuntime.jsx(ls,{onKeyDown:g,value:d,onChange:m=>f(m.target.value),type:"text",style:{marginLeft:"45px",width:"calc(100% - 80px)"}}),jsxRuntime.jsxs(as,{style:b,ref:i,children:[y.map(m=>{let M=m===E;return jsxRuntime.jsxs(V0,{onClick:()=>B(m),children:[jsxRuntime.jsx(L.Body,{size:"lg",children:m}),jsxRuntime.jsx(ds,{isCurrent:M,children:jsxRuntime.jsx(N.Check,{color:"#fff"})})]},m)}),!y.length&&jsxRuntime.jsx(V0,{onClick:()=>w(),children:jsxRuntime.jsx(L.Body,{size:"lg",children:"Add Option"})},"add")]})]}),jsxRuntime.jsxs("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap"},children:[n&&c.length===0&&"N/A",c.map(m=>jsxRuntime.jsxs(ps,{onClick:()=>P(m),children:[m,!n&&jsxRuntime.jsx(_2,{})]},m))]})]})},E0=fs;var gs=({label:e=null,isLabelBold:t=!0,name:o,details:r=void 0,disabled:n=!1,defaultValue:i=void 0,startRange:s=null,endRange:a=null,formOptions:l={},errorMessage:d="This field is required.",options:f={},style:c={},format:u="",...h})=>{let{control:y,formState:{errors:V,defaultValues:b},setValue:E}=reactHookForm.useFormContext(),B=!!V[o],O=V?.[o]?.message?.toString()||d;r3.useEffect(()=>{b?.[o]&&E(o,V2__default.default(b?.[o]).format(u));},[b]);let w=g=>g?!!(s&&g<V2__default.default(s).endOf("day")||a&&g>V2__default.default(a).endOf("day")):!1;return jsxRuntime.jsxs("div",{style:c,children:[jsxRuntime.jsx(A,{label:e,details:r,isLabelBold:t,required:!!l.required}),jsxRuntime.jsx(reactHookForm.Controller,{render:({field:g})=>jsxRuntime.jsx(antd.DatePicker,{format:u,disabled:n,...h,onChange:(P,m)=>g.onChange(m),disabledDate:w,defaultValue:g.value?V2__default.default(g.value):null,style:{padding:"12px 24px",width:"100%",maxWidth:"25rem"},status:B&&"error"}),name:o,defaultValue:i,rules:l,control:y,...f}),B&&jsxRuntime.jsx(W,{text:O,includeIcon:!1})]})},P0=gs;var Z0=k__default.default.div`
|
|
1813
1813
|
display: flex;
|
|
1814
1814
|
flex: 1;
|
|
1815
1815
|
align-items: center;
|
|
@@ -1817,9 +1817,9 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1817
1817
|
flex-direction: column;
|
|
1818
1818
|
margin-top: 12px;
|
|
1819
1819
|
gap: 8px;
|
|
1820
|
-
`,x5=k__default.default(
|
|
1820
|
+
`,x5=k__default.default(L.Body)`
|
|
1821
1821
|
color: rgba(135, 135, 135);
|
|
1822
|
-
`;var{Dragger:ys}=antd.Upload,bs=({label:e="",name:t,disabled:o=!1,description:r="",isLabelBold:n=!0,formOptions:i={},onChange:s,onRemove:a,onDownload:l,defaultValue:d=void 0,containerStyle:f={},errorMessage:c=void 0,action:
|
|
1822
|
+
`;var{Dragger:ys}=antd.Upload,bs=({label:e="",name:t,disabled:o=!1,description:r="",isLabelBold:n=!0,formOptions:i={},onChange:s,onRemove:a,onDownload:l,defaultValue:d=void 0,containerStyle:f={},errorMessage:c=void 0,action:u="",headers:h={},uploadData:y={},defaultFileList:V=[],...b})=>{reactHookForm.useFormContext().register(t,i);let{getFieldState:B,formState:{errors:O}}=reactHookForm.useFormContext(),w=!!O?.[t],g=()=>{console.log("Dropped files");};return jsxRuntime.jsxs("div",{style:f,children:[e&&jsxRuntime.jsx(A,{label:e,isLabelBold:n,required:!!i.required}),r,jsxRuntime.jsx("div",{style:{height:"0px",width:"0px",opacity:0},children:jsxRuntime.jsx(H1,{formOptions:{required:B(t).invalid},name:`${t}_validation`,type:"text"})}),jsxRuntime.jsxs(ys,{name:"file",multiple:!0,onChange:s,onDrop:g,onRemove:a,onDownload:l,action:u,disabled:o,headers:h,defaultFileList:V,showUploadList:{showDownloadIcon:!0},data:y,...b,capture:void 0,children:[jsxRuntime.jsx(N.Attachment,{}),jsxRuntime.jsxs(Z0,{children:[jsxRuntime.jsx(x5,{children:jsxRuntime.jsx("span",{style:{fontWeight:"bold"},children:"DRAG FILE HERE"})}),jsxRuntime.jsx(x5,{size:"sm",children:"or, click to browse(10 MB max)"})]})]}),d?jsxRuntime.jsxs(jsxRuntime.Fragment,{children:["Current Value: ",d]}):null,w&&jsxRuntime.jsx(W,{text:c,includeIcon:!1})]})},B0=bs;var Hs={Container:vr,Checkbox:ae,CheckboxGroup:yr,InputLabel:A,DateSelect:P0,TextInput:H1,Text:Vr,TimePicker:M0,TimeSelect:k0,Radio:le,RadioGroup:jr,CardRadioGroup:Qr,Number:Pr,Select:l0,SelectMenu:u0,Signature:zr,Submit:h0,LocationSelect:L0,Keyword:E0,Toggle:Ye,FileUpload:B0};function y5({isActive:e,color:t="#000"}){let o=web.useSpring(e?{transform:"rotate(0deg)",config:web.config.stiff}:{transform:"rotate(180deg)",config:web.config.stiff});return jsxRuntime.jsx(web.animated.div,{style:{...o,display:"flex",alignItems:"center"},children:jsxRuntime.jsx(N.Caret,{direction:"up",color:t})})}var R0=k__default.default(antd.Menu)`
|
|
1823
1823
|
.ant-menu-submenu {
|
|
1824
1824
|
background-color: #fff;
|
|
1825
1825
|
color: #555555 !important;
|
|
@@ -1894,7 +1894,7 @@ The mask that was received is: ${JSON.stringify(e)}`);return e.map(o=>o instance
|
|
|
1894
1894
|
margin: 0;
|
|
1895
1895
|
line-height: 12px;
|
|
1896
1896
|
color: #1d4339;
|
|
1897
|
-
`,Ns=({contentfulConfig:e,size:t=58})=>{let[o,r]=r3.useState(""),[n,i]=web.useSpring(()=>({from:{width:t+24,backgroundColor:"#fff",color:"#ffffff"}}));r3.useEffect(()=>{new J1(e).getImage("vanta-logo").then(
|
|
1897
|
+
`,Ns=({contentfulConfig:e,size:t=58})=>{let[o,r]=r3.useState(""),[n,i]=web.useSpring(()=>({from:{width:t+24,backgroundColor:"#fff",color:"#ffffff"}}));r3.useEffect(()=>{new J1(e).getImage("vanta-logo").then(u=>{r(u);});},[]);let[s,a]=web.useSpring(()=>({from:{opacity:0},delay:100})),l=u=>({width:u?198+t:t+24,backgroundColor:u?"#d4e2dd":"#fff"}),d=u=>({opacity:u?1:0}),f=()=>{i(l(!0)),a(d(!0));},c=()=>{i(l(!1)),a(d(!1));};return o?jsxRuntime.jsxs(Is,{style:n,onMouseEnter:f,onMouseLeave:c,size:t,children:[jsxRuntime.jsx("img",{alt:"Vanta Logo",src:o,height:t,width:t}),jsxRuntime.jsxs(zs,{style:s,children:[jsxRuntime.jsx(L.Body,{children:jsxRuntime.jsx(As,{children:"Guaranteed Security"})}),jsxRuntime.jsx(L.Body,{size:"xs",children:jsxRuntime.jsx($s,{children:"We're committed to protecting your privacy. Solace is safe, secure, and HIPAA compliant\u2014 certified by Vanta."})})]})]}):null},Gs=Ns;var Us=({style:e={},...t})=>jsxRuntime.jsx(antd.DatePicker,{open:!0,style:{marginTop:"-30px",marginBottom:"350px",visibility:"hidden",width:"100%",...e},...t}),qs=Us;/*! Bundled license information:
|
|
1898
1898
|
|
|
1899
1899
|
react-is/cjs/react-is.production.min.js:
|
|
1900
1900
|
(** @license React v16.13.1
|
|
@@ -1988,7 +1988,7 @@ exports.TimePicker = qe;
|
|
|
1988
1988
|
exports.TimeSelect = Je;
|
|
1989
1989
|
exports.Toggle = Ye;
|
|
1990
1990
|
exports.Tooltip = R8;
|
|
1991
|
-
exports.Typography =
|
|
1991
|
+
exports.Typography = L;
|
|
1992
1992
|
exports.UserTypes = P5;
|
|
1993
1993
|
exports.VantaLogo = Gs;
|
|
1994
1994
|
//# sourceMappingURL=out.js.map
|