@careevolution/mydatahelps-ui 2.10.1-InboxAndAsthmaUI.8 → 2.10.1-InboxAndAsthmaUI.9
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -143,7 +143,7 @@ body {
|
|
|
143
143
|
object-assign
|
|
144
144
|
(c) Sindre Sorhus
|
|
145
145
|
@license MIT
|
|
146
|
-
*/function xs(){if(ls)return os;ls=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return os=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(r,a){for(var i,o,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))t.call(i,c)&&(l[c]=i[c]);if(e){o=e(i);for(var u=0;u<o.length;u++)n.call(i,o[u])&&(l[o[u]]=i[o[u]])}}return l},os}function ws(){if(cs)return ss;cs=1;return ss="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function As(){return ds?us:(ds=1,us=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Ss=bs();ts.exports=function(){if(ms)return hs;ms=1;var e=bs(),t=xs(),n=ws(),r=As(),a=function(){if(ps)return fs;ps=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=ws(),n={},r=As();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function a(a,i,o,l,s){if("production"!==process.env.NODE_ENV)for(var c in a)if(r(a,c)){var u;try{if("function"!=typeof a[c]){var d=Error((l||"React class")+": "+o+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=a[c](i,c,l,o,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+o+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=s?s():"";e("Failed "+o+" type: "+u.message+(null!=f?f:""))}}}return a.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},fs=a}(),i=function(){};function o(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),hs=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:m(o),arrayOf:function(e){return m((function(t,r,a,i,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+a+"` has invalid PropType notation inside arrayOf.");var l=t[r];if(!Array.isArray(l))return new h("Invalid "+i+" `"+o+"` of type `"+b(l)+"` supplied to `"+a+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,a,i,o+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,r,a){var i=e[t];return l(i)?null:new h("Invalid "+r+" `"+a+"` of type `"+b(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,r,a,i){var o=t[n];return e.isValidElementType(o)?null:new h("Invalid "+a+" `"+i+"` of type `"+b(o)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,r,a,i){if(!(t[n]instanceof e)){var o=e.name||d;return new h("Invalid "+a+" `"+i+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+o+"`.")}var l;return null}))},node:m((function(e,t,n,r,a){return y(e[t])?null:new h("Invalid "+r+" `"+a+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,a,i,o,l){if("function"!=typeof e)return new h("Property `"+l+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[a],c=b(s);if("object"!==c)return new h("Invalid "+o+" `"+l+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(r(s,u)){var d=e(s,u,i,o,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,r,a,i){for(var o=t[n],l=0;l<e.length;l++)if(p(o,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===x(t)?String(t):t}));return new h("Invalid "+a+" `"+i+"` of value `"+String(o)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),o)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var t=0;t<e.length;t++){var a=e[t];if("function"!=typeof a)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(a)+" at index "+t+"."),o}return m((function(t,a,i,o,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,a,i,o,l,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&s.push(u.data.expectedType)}return new h("Invalid "+o+" `"+l+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,r,a,i,o){var l=t[r],s=b(l);if("object"!==s)return new h("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(a,i,o,c,x(u));var d=u(l,c,a,i,o+"."+c,n);if(d)return d}return null}))},exact:function(e){return m((function(a,i,o,l,s){var c=a[i],u=b(c);if("object"!==u)return new h("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");var d=t({},a[i],e);for(var f in d){var p=e[f];if(r(e,f)&&"function"!=typeof p)return g(o,l,s,f,x(p));if(!p)return new h("Invalid "+l+" `"+s+"` key `"+f+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(a[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(c,f,o,l,s+"."+f,n);if(m)return m}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function a(a,o,l,c,u,f,p){if(c=c||d,f=f||l,p!==n){if(s){var m=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 m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=c+":"+l;!t[v]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+c+"`. 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."),t[v]=!0,r++)}}return null==o[l]?a?null===o[l]?new h("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(o,l,c,u,f)}var o=a.bind(null,!1);return o.isRequired=a.bind(null,!0),o}function v(e){return m((function(t,n,r,a,i,o){var l=t[n];return b(l)!==e?new h("Invalid "+a+" `"+i+"` of type `"+x(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,r,a){return new h((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+a+"`.")}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||l(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var a=n.value;if(a&&!y(a[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function x(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=x(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,f.checkPropTypes=a,f.resetWarningCache=a.resetWarningCache,f.PropTypes=f,f},hs}()(Ss.isElement,!0)}else ts.exports=function(){if(gs)return vs;gs=1;var e=ws();function t(){}function n(){}return n.resetWarningCache=t,vs=function(){function r(t,n,r,a,i,o){if(o!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function a(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var ks=p(ts.exports);function Es(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Es(Object(n),!0).forEach((function(t){Os(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Es(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ds(e){return Ds="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ds(e)}function Os(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ns(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ts(e){return function(e){if(Array.isArray(e))return Ms(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ms(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ms(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ms(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ps(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var Is=["style"];var js=!1;try{js="production"===process.env.NODE_ENV}catch(v){}function Rs(e){return e&&"object"===Ds(e)&&e.prefix&&e.iconName&&e.icon?e:$l.icon?$l.icon(e):null===e?null:e&&"object"===Ds(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Ls(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Os({},e,t):{}}var Bs=o.default.forwardRef((function(e,t){var n=e.icon,r=e.mask,a=e.symbol,i=e.className,o=e.title,l=e.titleId,s=e.maskId,c=Rs(n),u=Ls("classes",[].concat(Ts(function(e){var t,n=e.beat,r=e.fade,a=e.beatFade,i=e.bounce,o=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,m=e.listItem,v=e.flip,g=e.size,y=e.rotation,b=e.pull,x=(Os(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":a,"fa-bounce":i,"fa-shake":o,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":m,"fa-flip":!0===v,"fa-flip-horizontal":"horizontal"===v||"both"===v,"fa-flip-vertical":"vertical"===v||"both"===v},"fa-".concat(g),null!=g),Os(t,"fa-rotate-".concat(y),null!=y&&0!==y),Os(t,"fa-pull-".concat(b),null!=b),Os(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(x).map((function(e){return x[e]?e:null})).filter((function(e){return e}))}(e)),Ts(i.split(" ")))),d=Ls("transform","string"==typeof e.transform?$l.transform(e.transform):e.transform),f=Ls("mask",Rs(r)),p=es(c,Cs(Cs(Cs(Cs({},u),d),f),{},{symbol:a,title:o,titleId:l,maskId:s}));if(!p)return function(){var e;!js&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=p.abstract,m={ref:t};return Object.keys(e).forEach((function(t){Bs.defaultProps.hasOwnProperty(t)||(m[t]=e[t])})),Fs(h[0],m)}));Bs.displayName="FontAwesomeIcon",Bs.propTypes={beat:ks.bool,border:ks.bool,beatFade:ks.bool,bounce:ks.bool,className:ks.string,fade:ks.bool,flash:ks.bool,mask:ks.oneOfType([ks.object,ks.array,ks.string]),maskId:ks.string,fixedWidth:ks.bool,inverse:ks.bool,flip:ks.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ks.oneOfType([ks.object,ks.array,ks.string]),listItem:ks.bool,pull:ks.oneOf(["right","left"]),pulse:ks.bool,rotation:ks.oneOf([0,90,180,270]),shake:ks.bool,size:ks.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ks.bool,spinPulse:ks.bool,spinReverse:ks.bool,symbol:ks.oneOfType([ks.bool,ks.string]),title:ks.string,titleId:ks.string,transform:ks.oneOfType([ks.string,ks.object]),swapOpacity:ks.bool},Bs.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Fs=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),a=Ps(t.slice(0,r)),i=t.slice(r+1).trim();return a.startsWith("webkit")?e[(n=a,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[a]=i,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Ps(t)]=r}return e}),{attrs:{}}),o=r.style,l=void 0===o?{}:o,s=Ns(r,Is);return i.attrs.style=Cs(Cs({},i.attrs.style),l),t.apply(void 0,[n.tag,Cs(Cs({},i.attrs),s)].concat(Ts(a)))}.bind(null,o.default.createElement),_s={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},zs={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Hs={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},qs={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},Us={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Vs={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 256h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-32-96a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zm256-32H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Xs={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},Ws={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},Gs={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Qs=Gs,Ys={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Ks={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},Zs={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]};function Js(t){var n;const r=e.useContext(Bt),a=null!==(n=t.selectedValues)&&void 0!==n?n:[],i=e=>{t.onChange&&t.onChange(e)};let l={"--mdhui-value-selector-title-color":y(null==r?void 0:r.colorScheme,t.titleColor),"--mdhui-value-selector-subtitle-color":y(null==r?void 0:r.colorScheme,t.subtitleColor),"--mdhui-value-selector-value-background-color":y(null==r?void 0:r.colorScheme,t.valueBackgroundColor),"--mdhui-value-selector-value-text-color":y(null==r?void 0:r.colorScheme,t.valueTextColor),"--mdhui-value-selector-button-value-selected-background-color":y(null==r?void 0:r.colorScheme,t.selectedButtonBackgroundColor),"--mdhui-value-selector-button-value-selected-text-color":y(null==r?void 0:r.colorScheme,t.selectedButtonTextColor),"--mdhui-value-selector-checkbox-color":y(null==r?void 0:r.colorScheme,t.checkboxColor),"--mdhui-value-selector-checkbox-selected-color":y(null==r?void 0:r.colorScheme,t.selectedCheckboxColor)};return o.default.createElement("div",{className:"mdhui-value-selector",style:l,ref:t.innerRef},t.title&&o.default.createElement("div",{className:"mdhui-value-selector-title"},t.title),t.subtitle&&o.default.createElement("div",{className:"mdhui-value-selector-subtitle"},t.subtitle),o.default.createElement("div",{className:"mdhui-value-selector-values"},t.values.map(((e,n)=>{let r=["mdhui-value-selector-value"];return a.includes(e)&&r.push("mdhui-value-selector-value-selected"),"checkboxes"===t.variant?r.push("mdhui-value-selector-value-checkbox"):r.push("mdhui-value-selector-value-button"),o.default.createElement("div",{key:n,className:r.join(" "),onClick:()=>(e=>{a.includes(e)?(a.length>1||!t.preventEmptySelections)&&i(a.filter((t=>t!==e))):t.multiSelect?i([...a,e]):i([e])})(e)},o.default.createElement("div",{className:"mdhui-value-selector-value-text"},e),"checkboxes"===t.variant&&a.includes(e)&&o.default.createElement(Bs,{className:"mdhui-value-selector-value-checkbox-icon mdhui-value-selector-value-checkbox-icon-selected",icon:Us}),"checkboxes"===t.variant&&!a.includes(e)&&o.default.createElement(Bs,{className:"mdhui-value-selector-value-checkbox-icon",icon:_s}))}))))}function $s(t){let n=e.useContext(Bt);return t.title||t.subtitle?o.default.createElement("div",{className:"mdhui-view-header"},o.default.createElement("div",{className:"mdhui-view-header-text"},t.title&&o.default.createElement("div",{style:{color:y(n.colorScheme,t.titleColor)},className:"mdhui-view-header-title"},t.title),t.subtitle&&o.default.createElement("div",{style:{color:y(n.colorScheme,t.subtitleColor)},className:"mdhui-view-header-subtitle"},t.subtitle)),o.default.createElement("div",{className:"mdhui-view-header-action"},t.action)):null}u(".mdhui-view-header {\n padding: 32px 16px;\n display: grid;\n grid-template-columns: auto max-content;\n align-content: center;\n}\n\n.mdhui-view-header .mdhui-view-header-title {\n font-weight: 700;\n font-size: 2em;\n margin-bottom: 8px;\n color: var(--mdhui-text-color-0);\n}\n\n.mdhui-view-header .mdhui-view-header-subtitle {\n font-weight: 500;\n color: var(--mdhui-text-color-2);\n font-size: 1.2em;\n}");u(".mdhui-week-calendar {\n background: var(--mdhui-background-color-0);\n overflow-x: scroll;\n overflow-y: hidden;\n z-index: 0;\n position: relative;\n display: flex;\n scroll-snap-type: x mandatory;\n scrollbar-width: none;\n border-top: solid 1px var(--mdhui-border-color-1);\n border-bottom: solid 1px var(--mdhui-border-color-1);\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-loading {\n position: absolute;\n width: 100%;\n left: 100%;\n top: calc(50% - 10px);\n}\n\n.mdhui-week-calendar * {\n user-select: none;\n}\n\n.mdhui-week-calendar::-webkit-scrollbar {\n display: none;\n /* Safari and Chrome */\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-week {\n min-width: 100%;\n scroll-snap-align: start;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day {\n width: calc(14.28% - 1px);\n border-left: solid 1px var(--mdhui-border-color-1);\n overflow: hidden;\n position: relative;\n display: inline-block;\n vertical-align: top;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day:first-child {\n width: 14.28%;\n border-left: none;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label {\n padding-top: 4px;\n line-height: 16px;\n padding-bottom: 8px;\n text-align: center;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-week {\n font-size: 10px;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-month {\n font-size: 14px;\n display: inline-block;\n text-align: center;\n width: 24px;\n height: 24px;\n border-radius: 24px;\n line-height: 24px;\n margin-top: 2px;\n margin-bottom: 2px;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selectable {\n cursor: pointer;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selected {\n background: var(--mdhui-background-color-2);\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selected .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-month {\n background-color: var(--mdhui-color-primary);\n color: #FFF;\n font-weight: bold;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-future>* {\n opacity: .4;\n}");function ec(e){return o.default.createElement("div",{className:"mdhui-inbox-completed-list-item",ref:e.innerRef},e.onClick&&o.default.createElement(_t,{title:e.name,subtitle:e.status,onClick:()=>e.onClick()}),!e.onClick&&o.default.createElement(Vr,null,o.default.createElement("div",{className:"mdhui-inbox-completed-list-item-name"},e.name),o.default.createElement("div",{className:"mdhui-inbox-completed-list-item-status"},e.status)))}u(".mdhui-inbox-completed-list-item {\n background: var(--mdhui-background-color-0);\n border-radius: 12px;\n margin: 12px 0;\n}\n\n.mdhui-inbox-completed-list-item .mdhui-action, .mdhui-inbox-completed-list-item .mdhui-card {\n border-radius: 12px;\n padding: 16px;\n margin: 12px 0;\n}\n\n.mdhui-inbox-completed-list-item .mdhui-action .title, .mdhui-inbox-completed-list-item-name {\n font-weight: bold;\n font-size: 1.15em;\n}\n\n.mdhui-inbox-completed-list-item .mdhui-action .subtitle, .mdhui-inbox-completed-list-item-status {\n color: var(--mdhui-text-color-2);\n font-size: 0.7em;\n margin-top: 4px;\n}");function tc(e){return"incomplete"===e.message.status?o.default.createElement("div",{className:"mdhui-inbox-message-list-item",ref:e.innerRef},o.default.createElement(_t,{title:e.message.title,onClick:()=>e.onClick()})):"complete"===e.message.status?o.default.createElement(ec,{name:e.message.title,status:fa("inbox-message-completed-status"),onClick:()=>e.onClick(),innerRef:e.innerRef}):null}u(".mdhui-inbox-message-list-item {\n background: var(--mdhui-background-color-0);\n border-radius: 12px;\n margin: 12px 0;\n}\n\n.mdhui-inbox-message-list-item .mdhui-action .title {\n font-size: 1.15em;\n}\n");function nc(e){var t;return o.default.createElement("div",{className:"mdhui-inbox-resource",ref:e.innerRef},o.default.createElement(d,{onClick:()=>e.onClick()},e.resource.imageUrl&&o.default.createElement("div",{className:"mdhui-inbox-resource-image",style:{textAlign:null!==(t=e.imageAlignment)&&void 0!==t?t:"left"}},o.default.createElement("img",{src:e.resource.imageUrl,alt:"resource image"})),o.default.createElement("div",{className:"mdhui-inbox-resource-title"},e.resource.title),o.default.createElement("div",{className:"mdhui-inbox-resource-subtitle"},e.resource.subTitle),o.default.createElement(Vt,{onClick:Oa},e.buttonText||fa("inbox-resource-default-button-text"))))}function rc(e){return"incomplete"===e.resource.status?o.default.createElement("div",{className:"mdhui-inbox-resource-list-item",ref:e.innerRef},o.default.createElement(nc,{resource:e.resource,imageAlignment:e.imageAlignment,buttonText:e.buttonText,onClick:()=>e.onClick()})):"complete"===e.resource.status?o.default.createElement(ec,{name:e.resource.title,status:fa("inbox-resource-completed-status"),onClick:()=>e.onClick(),innerRef:e.innerRef}):null}u(".mdhui-inbox-resource {\n background: var(--mdhui-background-color-0);\n border-radius: 12px;\n width: 100%;\n margin: 12px 0;\n}\n\n.mdhui-inbox-resource .mdhui-unstyled-button {\n width: 100%;\n padding: 16px;\n}\n\n.mdhui-inbox-resource-image {\n width: 100%;\n margin-bottom: 16px;\n}\n\n.mdhui-inbox-resource-image img {\n max-width: 100%;\n}\n\n.mdhui-inbox-resource-title {\n font-size: 1.4em;\n}\n\n.mdhui-inbox-resource-subtitle {\n margin: 12px 0;\n}");function ac(e){return"incomplete"===e.survey.status?o.default.createElement("div",{className:"mdhui-inbox-survey-list-item",ref:e.innerRef},o.default.createElement(Na,{task:{surveyName:e.survey.name,surveyDisplayName:e.survey.name,surveyDescription:e.survey.description,endDate:e.survey.endDate,status:e.survey.status,hasSavedProgress:e.survey.hasRestorationData,dueDate:e.survey.dueDate},variant:e.variant,surveyActive:e.surveyActive,onClick:()=>e.onClick()})):"complete"===e.survey.status?o.default.createElement(ec,{name:e.survey.name,status:fa("inbox-survey-completed-status"),innerRef:e.innerRef}):null}u(".mdhui-inbox-survey-list-item {\n background: var(--mdhui-background-color-0);\n border-radius: 12px;\n margin: 12px 0;\n}");var ic={exports:{}};
|
|
146
|
+
*/function xs(){if(ls)return os;ls=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;return os=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(r,a){for(var i,o,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(r),s=1;s<arguments.length;s++){for(var c in i=Object(arguments[s]))t.call(i,c)&&(l[c]=i[c]);if(e){o=e(i);for(var u=0;u<o.length;u++)n.call(i,o[u])&&(l[o[u]]=i[o[u]])}}return l},os}function ws(){if(cs)return ss;cs=1;return ss="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}function As(){return ds?us:(ds=1,us=Function.call.bind(Object.prototype.hasOwnProperty))}if("production"!==process.env.NODE_ENV){var Ss=bs();ts.exports=function(){if(ms)return hs;ms=1;var e=bs(),t=xs(),n=ws(),r=As(),a=function(){if(ps)return fs;ps=1;var e=function(){};if("production"!==process.env.NODE_ENV){var t=ws(),n={},r=As();e=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}function a(a,i,o,l,s){if("production"!==process.env.NODE_ENV)for(var c in a)if(r(a,c)){var u;try{if("function"!=typeof a[c]){var d=Error((l||"React class")+": "+o+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=a[c](i,c,l,o,null,t)}catch(e){u=e}if(!u||u instanceof Error||e((l||"React class")+": type specification of "+o+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in n)){n[u.message]=!0;var f=s?s():"";e("Failed "+o+" type: "+u.message+(null!=f?f:""))}}}return a.resetWarningCache=function(){"production"!==process.env.NODE_ENV&&(n={})},fs=a}(),i=function(){};function o(){return null}return"production"!==process.env.NODE_ENV&&(i=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),hs=function(l,s){var c="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",d="<<anonymous>>",f={array:v("array"),bigint:v("bigint"),bool:v("boolean"),func:v("function"),number:v("number"),object:v("object"),string:v("string"),symbol:v("symbol"),any:m(o),arrayOf:function(e){return m((function(t,r,a,i,o){if("function"!=typeof e)return new h("Property `"+o+"` of component `"+a+"` has invalid PropType notation inside arrayOf.");var l=t[r];if(!Array.isArray(l))return new h("Invalid "+i+" `"+o+"` of type `"+b(l)+"` supplied to `"+a+"`, expected an array.");for(var s=0;s<l.length;s++){var c=e(l,s,a,i,o+"["+s+"]",n);if(c instanceof Error)return c}return null}))},element:m((function(e,t,n,r,a){var i=e[t];return l(i)?null:new h("Invalid "+r+" `"+a+"` of type `"+b(i)+"` supplied to `"+n+"`, expected a single ReactElement.")})),elementType:m((function(t,n,r,a,i){var o=t[n];return e.isValidElementType(o)?null:new h("Invalid "+a+" `"+i+"` of type `"+b(o)+"` supplied to `"+r+"`, expected a single ReactElement type.")})),instanceOf:function(e){return m((function(t,n,r,a,i){if(!(t[n]instanceof e)){var o=e.name||d;return new h("Invalid "+a+" `"+i+"` of type `"+((l=t[n]).constructor&&l.constructor.name?l.constructor.name:d)+"` supplied to `"+r+"`, expected instance of `"+o+"`.")}var l;return null}))},node:m((function(e,t,n,r,a){return y(e[t])?null:new h("Invalid "+r+" `"+a+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return m((function(t,a,i,o,l){if("function"!=typeof e)return new h("Property `"+l+"` of component `"+i+"` has invalid PropType notation inside objectOf.");var s=t[a],c=b(s);if("object"!==c)return new h("Invalid "+o+" `"+l+"` of type `"+c+"` supplied to `"+i+"`, expected an object.");for(var u in s)if(r(s,u)){var d=e(s,u,i,o,l+"."+u,n);if(d instanceof Error)return d}return null}))},oneOf:function(e){return Array.isArray(e)?m((function(t,n,r,a,i){for(var o=t[n],l=0;l<e.length;l++)if(p(o,e[l]))return null;var s=JSON.stringify(e,(function(e,t){return"symbol"===x(t)?String(t):t}));return new h("Invalid "+a+" `"+i+"` of value `"+String(o)+"` supplied to `"+r+"`, expected one of "+s+".")})):("production"!==process.env.NODE_ENV&&i(arguments.length>1?"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]).":"Invalid argument supplied to oneOf, expected an array."),o)},oneOfType:function(e){if(!Array.isArray(e))return"production"!==process.env.NODE_ENV&&i("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var t=0;t<e.length;t++){var a=e[t];if("function"!=typeof a)return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(a)+" at index "+t+"."),o}return m((function(t,a,i,o,l){for(var s=[],c=0;c<e.length;c++){var u=(0,e[c])(t,a,i,o,l,n);if(null==u)return null;u.data&&r(u.data,"expectedType")&&s.push(u.data.expectedType)}return new h("Invalid "+o+" `"+l+"` supplied to `"+i+"`"+(s.length>0?", expected one of type ["+s.join(", ")+"]":"")+".")}))},shape:function(e){return m((function(t,r,a,i,o){var l=t[r],s=b(l);if("object"!==s)return new h("Invalid "+i+" `"+o+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");for(var c in e){var u=e[c];if("function"!=typeof u)return g(a,i,o,c,x(u));var d=u(l,c,a,i,o+"."+c,n);if(d)return d}return null}))},exact:function(e){return m((function(a,i,o,l,s){var c=a[i],u=b(c);if("object"!==u)return new h("Invalid "+l+" `"+s+"` of type `"+u+"` supplied to `"+o+"`, expected `object`.");var d=t({},a[i],e);for(var f in d){var p=e[f];if(r(e,f)&&"function"!=typeof p)return g(o,l,s,f,x(p));if(!p)return new h("Invalid "+l+" `"+s+"` key `"+f+"` supplied to `"+o+"`.\nBad object: "+JSON.stringify(a[i],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=p(c,f,o,l,s+"."+f,n);if(m)return m}return null}))}};function p(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function h(e,t){this.message=e,this.data=t&&"object"==typeof t?t:{},this.stack=""}function m(e){if("production"!==process.env.NODE_ENV)var t={},r=0;function a(a,o,l,c,u,f,p){if(c=c||d,f=f||l,p!==n){if(s){var m=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 m.name="Invariant Violation",m}if("production"!==process.env.NODE_ENV&&"undefined"!=typeof console){var v=c+":"+l;!t[v]&&r<3&&(i("You are manually calling a React.PropTypes validation function for the `"+f+"` prop on `"+c+"`. 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."),t[v]=!0,r++)}}return null==o[l]?a?null===o[l]?new h("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `null`."):new h("The "+u+" `"+f+"` is marked as required in `"+c+"`, but its value is `undefined`."):null:e(o,l,c,u,f)}var o=a.bind(null,!1);return o.isRequired=a.bind(null,!0),o}function v(e){return m((function(t,n,r,a,i,o){var l=t[n];return b(l)!==e?new h("Invalid "+a+" `"+i+"` of type `"+x(l)+"` supplied to `"+r+"`, expected `"+e+"`.",{expectedType:e}):null}))}function g(e,t,n,r,a){return new h((e||"React class")+": "+t+" type `"+n+"."+r+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+a+"`.")}function y(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(y);if(null===e||l(e))return!0;var t=function(e){var t=e&&(c&&e[c]||e[u]);if("function"==typeof t)return t}(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!y(n.value))return!1}else for(;!(n=r.next()).done;){var a=n.value;if(a&&!y(a[1]))return!1}return!0;default:return!1}}function b(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function x(e){if(null==e)return""+e;var t=b(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=x(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return h.prototype=Error.prototype,f.checkPropTypes=a,f.resetWarningCache=a.resetWarningCache,f.PropTypes=f,f},hs}()(Ss.isElement,!0)}else ts.exports=function(){if(gs)return vs;gs=1;var e=ws();function t(){}function n(){}return n.resetWarningCache=t,vs=function(){function r(t,n,r,a,i,o){if(o!==e){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function a(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:a,element:r,elementType:r,instanceOf:a,node:r,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i}}()();var ks=p(ts.exports);function Es(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Es(Object(n),!0).forEach((function(t){Os(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Es(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ds(e){return Ds="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ds(e)}function Os(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ns(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function Ts(e){return function(e){if(Array.isArray(e))return Ms(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ms(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ms(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ms(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ps(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var Is=["style"];var js=!1;try{js="production"===process.env.NODE_ENV}catch(v){}function Rs(e){return e&&"object"===Ds(e)&&e.prefix&&e.iconName&&e.icon?e:$l.icon?$l.icon(e):null===e?null:e&&"object"===Ds(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Ls(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Os({},e,t):{}}var Bs=o.default.forwardRef((function(e,t){var n=e.icon,r=e.mask,a=e.symbol,i=e.className,o=e.title,l=e.titleId,s=e.maskId,c=Rs(n),u=Ls("classes",[].concat(Ts(function(e){var t,n=e.beat,r=e.fade,a=e.beatFade,i=e.bounce,o=e.shake,l=e.flash,s=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,m=e.listItem,v=e.flip,g=e.size,y=e.rotation,b=e.pull,x=(Os(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":a,"fa-bounce":i,"fa-shake":o,"fa-flash":l,"fa-spin":s,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":m,"fa-flip":!0===v,"fa-flip-horizontal":"horizontal"===v||"both"===v,"fa-flip-vertical":"vertical"===v||"both"===v},"fa-".concat(g),null!=g),Os(t,"fa-rotate-".concat(y),null!=y&&0!==y),Os(t,"fa-pull-".concat(b),null!=b),Os(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(x).map((function(e){return x[e]?e:null})).filter((function(e){return e}))}(e)),Ts(i.split(" ")))),d=Ls("transform","string"==typeof e.transform?$l.transform(e.transform):e.transform),f=Ls("mask",Rs(r)),p=es(c,Cs(Cs(Cs(Cs({},u),d),f),{},{symbol:a,title:o,titleId:l,maskId:s}));if(!p)return function(){var e;!js&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=p.abstract,m={ref:t};return Object.keys(e).forEach((function(t){Bs.defaultProps.hasOwnProperty(t)||(m[t]=e[t])})),Fs(h[0],m)}));Bs.displayName="FontAwesomeIcon",Bs.propTypes={beat:ks.bool,border:ks.bool,beatFade:ks.bool,bounce:ks.bool,className:ks.string,fade:ks.bool,flash:ks.bool,mask:ks.oneOfType([ks.object,ks.array,ks.string]),maskId:ks.string,fixedWidth:ks.bool,inverse:ks.bool,flip:ks.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ks.oneOfType([ks.object,ks.array,ks.string]),listItem:ks.bool,pull:ks.oneOf(["right","left"]),pulse:ks.bool,rotation:ks.oneOf([0,90,180,270]),shake:ks.bool,size:ks.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ks.bool,spinPulse:ks.bool,spinReverse:ks.bool,symbol:ks.oneOfType([ks.bool,ks.string]),title:ks.string,titleId:ks.string,transform:ks.oneOfType([ks.string,ks.object]),swapOpacity:ks.bool},Bs.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Fs=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var a=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=r.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),a=Ps(t.slice(0,r)),i=t.slice(r+1).trim();return a.startsWith("webkit")?e[(n=a,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[a]=i,e}),{});break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[Ps(t)]=r}return e}),{attrs:{}}),o=r.style,l=void 0===o?{}:o,s=Ns(r,Is);return i.attrs.style=Cs(Cs({},i.attrs.style),l),t.apply(void 0,[n.tag,Cs(Cs({},i.attrs),s)].concat(Ts(a)))}.bind(null,o.default.createElement),_s={prefix:"far",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z"]},zs={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Hs={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},qs={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},Us={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},Vs={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 256h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm-32-96a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zm256-32H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},Xs={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]},Ws={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]},Gs={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},Qs=Gs,Ys={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Ks={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]},Zs={prefix:"fas",iconName:"chevron-right",icon:[320,512,[9002],"f054","M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]};function Js(t){var n;const r=e.useContext(Bt),a=null!==(n=t.selectedValues)&&void 0!==n?n:[],i=e=>{t.onChange&&t.onChange(e)};let l={"--mdhui-value-selector-title-color":y(null==r?void 0:r.colorScheme,t.titleColor),"--mdhui-value-selector-subtitle-color":y(null==r?void 0:r.colorScheme,t.subtitleColor),"--mdhui-value-selector-value-background-color":y(null==r?void 0:r.colorScheme,t.valueBackgroundColor),"--mdhui-value-selector-value-text-color":y(null==r?void 0:r.colorScheme,t.valueTextColor),"--mdhui-value-selector-button-value-selected-background-color":y(null==r?void 0:r.colorScheme,t.selectedButtonBackgroundColor),"--mdhui-value-selector-button-value-selected-text-color":y(null==r?void 0:r.colorScheme,t.selectedButtonTextColor),"--mdhui-value-selector-checkbox-color":y(null==r?void 0:r.colorScheme,t.checkboxColor),"--mdhui-value-selector-checkbox-selected-color":y(null==r?void 0:r.colorScheme,t.selectedCheckboxColor)};return o.default.createElement("div",{className:"mdhui-value-selector",style:l,ref:t.innerRef},t.title&&o.default.createElement("div",{className:"mdhui-value-selector-title"},t.title),t.subtitle&&o.default.createElement("div",{className:"mdhui-value-selector-subtitle"},t.subtitle),o.default.createElement("div",{className:"mdhui-value-selector-values"},t.values.map(((e,n)=>{let r=["mdhui-value-selector-value"];return a.includes(e)&&r.push("mdhui-value-selector-value-selected"),"checkboxes"===t.variant?r.push("mdhui-value-selector-value-checkbox"):r.push("mdhui-value-selector-value-button"),o.default.createElement("div",{key:n,className:r.join(" "),onClick:()=>(e=>{a.includes(e)?(a.length>1||!t.preventEmptySelections)&&i(a.filter((t=>t!==e))):t.multiSelect?i([...a,e]):i([e])})(e)},o.default.createElement("div",{className:"mdhui-value-selector-value-text"},e),"checkboxes"===t.variant&&a.includes(e)&&o.default.createElement(Bs,{className:"mdhui-value-selector-value-checkbox-icon mdhui-value-selector-value-checkbox-icon-selected",icon:Us}),"checkboxes"===t.variant&&!a.includes(e)&&o.default.createElement(Bs,{className:"mdhui-value-selector-value-checkbox-icon",icon:_s}))}))))}function $s(t){let n=e.useContext(Bt);return t.title||t.subtitle?o.default.createElement("div",{className:"mdhui-view-header"},o.default.createElement("div",{className:"mdhui-view-header-text"},t.title&&o.default.createElement("div",{style:{color:y(n.colorScheme,t.titleColor)},className:"mdhui-view-header-title"},t.title),t.subtitle&&o.default.createElement("div",{style:{color:y(n.colorScheme,t.subtitleColor)},className:"mdhui-view-header-subtitle"},t.subtitle)),o.default.createElement("div",{className:"mdhui-view-header-action"},t.action)):null}u(".mdhui-view-header {\n padding: 32px 16px;\n display: grid;\n grid-template-columns: auto max-content;\n align-content: center;\n}\n\n.mdhui-view-header .mdhui-view-header-title {\n font-weight: 700;\n font-size: 2em;\n margin-bottom: 8px;\n color: var(--mdhui-text-color-0);\n}\n\n.mdhui-view-header .mdhui-view-header-subtitle {\n font-weight: 500;\n color: var(--mdhui-text-color-2);\n font-size: 1.2em;\n}");u(".mdhui-week-calendar {\n background: var(--mdhui-background-color-0);\n overflow-x: scroll;\n overflow-y: hidden;\n z-index: 0;\n position: relative;\n display: flex;\n scroll-snap-type: x mandatory;\n scrollbar-width: none;\n border-top: solid 1px var(--mdhui-border-color-1);\n border-bottom: solid 1px var(--mdhui-border-color-1);\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-loading {\n position: absolute;\n width: 100%;\n left: 100%;\n top: calc(50% - 10px);\n}\n\n.mdhui-week-calendar * {\n user-select: none;\n}\n\n.mdhui-week-calendar::-webkit-scrollbar {\n display: none;\n /* Safari and Chrome */\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-week {\n min-width: 100%;\n scroll-snap-align: start;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day {\n width: calc(14.28% - 1px);\n border-left: solid 1px var(--mdhui-border-color-1);\n overflow: hidden;\n position: relative;\n display: inline-block;\n vertical-align: top;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day:first-child {\n width: 14.28%;\n border-left: none;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label {\n padding-top: 4px;\n line-height: 16px;\n padding-bottom: 8px;\n text-align: center;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-week {\n font-size: 10px;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-month {\n font-size: 14px;\n display: inline-block;\n text-align: center;\n width: 24px;\n height: 24px;\n border-radius: 24px;\n line-height: 24px;\n margin-top: 2px;\n margin-bottom: 2px;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selectable {\n cursor: pointer;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selected {\n background: var(--mdhui-background-color-2);\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-selected .mdhui-week-calendar-date-label .mdhui-week-calendar-day-of-month {\n background-color: var(--mdhui-color-primary);\n color: #FFF;\n font-weight: bold;\n}\n\n.mdhui-week-calendar .mdhui-week-calendar-day-future>* {\n opacity: .4;\n}");function ec(e){return o.default.createElement("div",{className:"mdhui-inbox-completed-list-item",ref:e.innerRef},e.onClick&&o.default.createElement(_t,{title:e.name,subtitle:e.status,onClick:()=>e.onClick()}),!e.onClick&&o.default.createElement(Vr,null,o.default.createElement("div",{className:"mdhui-inbox-completed-list-item-name"},e.name),o.default.createElement("div",{className:"mdhui-inbox-completed-list-item-status"},e.status)))}u(".mdhui-inbox-completed-list-item {\n background: var(--mdhui-background-color-0);\n border-radius: 12px;\n margin: 12px 0;\n}\n\n.mdhui-inbox-completed-list-item .mdhui-action, .mdhui-inbox-completed-list-item .mdhui-card {\n border-radius: 12px;\n padding: 16px;\n margin: 12px 0;\n}\n\n.mdhui-inbox-completed-list-item .mdhui-acqtion .title, .mdhui-inbox-completed-list-item-name {\n font-weight: bold;\n font-size: 1.05em;\n}\n\n.mdhui-inbox-completed-list-item .mdhui-action .subtitle, .mdhui-inbox-completed-list-item-status {\n color: var(--mdhui-text-color-2);\n font-size: 0.7em;\n margin-top: 4px;\n}");function tc(e){return"incomplete"===e.message.status?o.default.createElement("div",{className:"mdhui-inbox-message-list-item",ref:e.innerRef},o.default.createElement(_t,{title:e.message.title,onClick:()=>e.onClick()})):"complete"===e.message.status?o.default.createElement(ec,{name:e.message.title,status:fa("inbox-message-completed-status"),onClick:()=>e.onClick(),innerRef:e.innerRef}):null}u(".mdhui-inbox-message-list-item {\n background: var(--mdhui-background-color-0);\n border-radius: 12px;\n margin: 12px 0;\n}\n\n.mdhui-inbox-message-list-item .mdhui-action .title {\n font-size: 1.05em;\n}\n");function nc(e){var t;return o.default.createElement("div",{className:"mdhui-inbox-resource",ref:e.innerRef},o.default.createElement(d,{onClick:()=>e.onClick()},e.resource.imageUrl&&o.default.createElement("div",{className:"mdhui-inbox-resource-image",style:{textAlign:null!==(t=e.imageAlignment)&&void 0!==t?t:"left"}},o.default.createElement("img",{src:e.resource.imageUrl,alt:"resource image"})),o.default.createElement("div",{className:"mdhui-inbox-resource-title"},e.resource.title),o.default.createElement("div",{className:"mdhui-inbox-resource-subtitle"},e.resource.subTitle),o.default.createElement(Vt,{onClick:Oa},e.buttonText||fa("inbox-resource-default-button-text"))))}function rc(e){return"incomplete"===e.resource.status?o.default.createElement("div",{className:"mdhui-inbox-resource-list-item",ref:e.innerRef},o.default.createElement(nc,{resource:e.resource,imageAlignment:e.imageAlignment,buttonText:e.buttonText,onClick:()=>e.onClick()})):"complete"===e.resource.status?o.default.createElement(ec,{name:e.resource.title,status:fa("inbox-resource-completed-status"),onClick:()=>e.onClick(),innerRef:e.innerRef}):null}u(".mdhui-inbox-resource {\n background: var(--mdhui-background-color-0);\n border-radius: 12px;\n width: 100%;\n margin: 12px 0;\n}\n\n.mdhui-inbox-resource .mdhui-unstyled-button {\n width: 100%;\n padding: 16px;\n}\n\n.mdhui-inbox-resource-image {\n width: 100%;\n margin-bottom: 16px;\n}\n\n.mdhui-inbox-resource-image img {\n max-width: 100%;\n}\n\n.mdhui-inbox-resource-title {\n font-size: 1.4em;\n}\n\n.mdhui-inbox-resource-subtitle {\n margin: 12px 0;\n}");function ac(e){return"incomplete"===e.survey.status?o.default.createElement("div",{className:"mdhui-inbox-survey-list-item",ref:e.innerRef},o.default.createElement(Na,{task:{surveyName:e.survey.name,surveyDisplayName:e.survey.name,surveyDescription:e.survey.description,endDate:e.survey.endDate,status:e.survey.status,hasSavedProgress:e.survey.hasRestorationData,dueDate:e.survey.dueDate},variant:e.variant,surveyActive:e.surveyActive,onClick:()=>e.onClick()})):"complete"===e.survey.status?o.default.createElement(ec,{name:e.survey.name,status:fa("inbox-survey-completed-status"),innerRef:e.innerRef}):null}u(".mdhui-inbox-survey-list-item {\n background: var(--mdhui-background-color-0);\n border-radius: 12px;\n margin: 12px 0;\n}");var ic={exports:{}};
|
|
147
147
|
/**
|
|
148
148
|
* @license
|
|
149
149
|
* Lodash <https://lodash.com/>
|