UNPKG

@egovernments/digit-ui-components

Version:
2 lines 2.2 MB
/*! For license information please see main.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("@egovernments/digit-ui-svg-components"),require("react-i18next"),require("react-router-dom"),require("react-datepicker"),require("react-dom"),require("react-hook-form"),require("@tanstack/react-query"),require("@egovernments/digit-ui-libraries")):"function"==typeof define&&define.amd?define(["react","@egovernments/digit-ui-svg-components","react-i18next","react-router-dom","react-datepicker","react-dom","react-hook-form","@tanstack/react-query","@egovernments/digit-ui-libraries"],t):"object"==typeof exports?exports["@egovernments/digit-ui-components"]=t(require("react"),require("@egovernments/digit-ui-svg-components"),require("react-i18next"),require("react-router-dom"),require("react-datepicker"),require("react-dom"),require("react-hook-form"),require("@tanstack/react-query"),require("@egovernments/digit-ui-libraries")):e["@egovernments/digit-ui-components"]=t(e.React,e["@egovernments/digit-ui-svg-components"],e["react-i18next"],e["react-router-dom"],e["react-datepicker"],e.ReactDOM,e["react-hook-form"],e["@tanstack/react-query"],e["@egovernments/digit-ui-libraries"])}(this,(__WEBPACK_EXTERNAL_MODULE__64012__,__WEBPACK_EXTERNAL_MODULE__80338__,__WEBPACK_EXTERNAL_MODULE__65953__,__WEBPACK_EXTERNAL_MODULE__4442__,__WEBPACK_EXTERNAL_MODULE__2824__,__WEBPACK_EXTERNAL_MODULE__76033__,__WEBPACK_EXTERNAL_MODULE__21862__,__WEBPACK_EXTERNAL_MODULE__94456__,__WEBPACK_EXTERNAL_MODULE__92902__)=>(()=>{var __webpack_modules__={32572(e,t,n){"use strict";n.d(t,{A:()=>s}),n(64012);var r=n(5556),i=n.n(r),o=n(74848),a=function(e){return(0,o.jsx)("span",{className:"digit-action-links ".concat(null!=e&&e.className?null==e?void 0:e.className:""),style:null==e?void 0:e.style,onClick:null==e?void 0:e.onClick,role:"button",tabIndex:0,onKeyDown:function(t){var n;"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),null==e||null===(n=e.onClick)||void 0===n||n.call(e,t))},"aria-label":(null==e?void 0:e.ariaLabel)||"Action link",children:e.children})};a.propTypes={className:i().string,style:i().object,children:i().node};const s=a},66311(e,t,n){"use strict";n.d(t,{A:()=>h}),n(52675),n(89463),n(2259),n(45700),n(28706),n(2008),n(23792),n(62062),n(89572),n(2892),n(83851),n(81278),n(79432),n(26099),n(47764),n(23500),n(62953),n(64012);var r=n(67405),i=n(97100),o=n(5556),a=n.n(o),s=n(79089),l=n(74848);function c(e){return c="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},c(e)}function u(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 d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return(t=function(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){var t=e.label,n=e.text,o=e.variant,a=e.style,c=e.textStyle,u=e.additionalElements,f=e.inline,p=e.className,h=e.headerWrapperClassName,m=e.headerClassName,v=s.J.lightTheme.alert.warning,g=s.J.lightTheme.alert.error,y=s.J.lightTheme.alert.success,b=s.J.lightTheme.alert.info,C=function(e){switch(e){case"warning":return{icon:(0,l.jsx)(r.t.Warning,{fill:v}),defaultLabel:"Warning"};case"success":return{icon:(0,l.jsx)(r.t.CheckCircle,{fill:y}),defaultLabel:"Success"};case"error":return{icon:(0,l.jsx)(r.t.Error,{fill:g}),defaultLabel:"Error"};default:return{icon:(0,l.jsx)(r.t.Info,{fill:b}),defaultLabel:"Info"}}}(o),w=C.icon,x=C.defaultLabel,_=u&&u.length>0,S=(0,i.A)("TOTITLECASE",t)||x;return(0,l.jsxs)("div",{className:"digit-infobanner-wrap ".concat(o||"default"," ").concat(p||""),style:a,role:"alert","aria-live":"error"===o?"assertive":"polite",children:[(0,l.jsxs)("div",{className:"digit-infobanner-header-wrap ".concat(o||"default"," ").concat(h||""),height:"24px",children:[w,(0,l.jsx)("h2",{className:"digit-infobanner-header ".concat(m||""),children:S})]}),n&&(0,l.jsx)("p",{style:d({},c),children:(0,i.A)("TOSENTENCECASE",n)}),_&&(0,l.jsx)("div",{className:f?"additional-elements-inline":"additional-elements-column",children:u.map(function(e,t){return(0,l.jsx)("div",{className:"individualElement",children:e},t)})})]})};p.propTypes={label:a().string.isRequired,text:a().string,variant:a().string,style:a().object,textStyle:a().object,additionalElements:a().arrayOf(a().node),inline:a().bool},p.defaultProps={label:"",text:"",varinat:"",style:{},textStyle:{},additionalElements:[],inline:!1};const h=p},18813(e,t,n){"use strict";n.d(t,{A:()=>o}),n(64012);var r=n(73049),i=n(74848);const o=function(e){var t,n={loop:null==e?void 0:e.loop,autoplay:null==e?void 0:e.autoplay,animationData:null==e?void 0:e.animationData,renderer:"svg"},o=(t=null==e?void 0:e.animationData)&&null!=t&&t.nm?"ckeck"===t.nm?"Error animation":"48 - Warning"===t.nm?"Warning animation":"newScene"===t.nm?"Caution animation":"".concat(t.nm," animation"):"Lottie animation";return(0,i.jsx)("div",{className:"digit-animation","aria-label":o,children:(0,i.jsx)(r.A,{options:n,height:null==e?void 0:e.height,width:null==e?void 0:e.width})})}},78882(e,t,n){"use strict";n.d(t,{A:()=>s}),n(64012);var r=n(5556),i=n.n(r),o=n(74848),a=function(e){var t=e.className,n=void 0===t?"":t,r=e.style,i=void 0===r?{}:r;return(0,o.jsx)("hr",{className:"digit-break-line ".concat(n),style:i})};a.propTypes={className:i().string,style:i().object};const s=a},86863(e,t,n){"use strict";n.d(t,{A:()=>y}),n(52675),n(89463),n(2259),n(45700),n(28706),n(2008),n(23418),n(23792),n(34782),n(89572),n(62010),n(2892),n(83851),n(81278),n(79432),n(26099),n(27495),n(38781),n(47764),n(23500),n(62953);var r=n(64012),i=n(5556),o=n.n(i),a=n(97100),s=n(71992),l=n(79089),c=n(60355),u=n(45194),d=n(74848);function f(e){return f="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},f(e)}function p(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return(t=function(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var g=function(e){var t,n,i=(t=(0,r.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(t,n)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=i[0],f=i[1],p=(0,r.useRef)(null),m=(0,u.Jg)({explicitId:null==e?void 0:e.id,buttonType:"actionButton"===(null==e?void 0:e.type)?"action":null!=e&&e.submit?"submit":"button",buttonName:(null==e?void 0:e.name)||""}),g=m.id,y=m.dataAttributes;(0,r.useEffect)(function(){var e=function(e){null==p||!p.current||null!=p&&p.current.contains(e.target)||f(!1)};return o?document.addEventListener("mousedown",e):document.removeEventListener("mousedown",e),function(){document.removeEventListener("mousedown",e)}},[o]);var b,C,w,x,_=l.J.lightTheme.text.disabled,S=l.J.lightTheme.primary[1],A=l.J.lightTheme.paper.primary,E=(w=e.iconFill?e.iconFill:"primary"===(null==e?void 0:e.variation)?A:null!=e&&e.isDisabled?_:S,x="actionButton"===(null==e?void 0:e.type)&&null!=e&&e.showBottom&&o&&!e.icon?"ArrowDropUp":("actionButton"!==(null==e?void 0:e.type)||null==e||!e.showBottom||o||null!=e&&e.icon)&&("actionButton"!==(null==e?void 0:e.type)||null!=e&&e.showBottom||!o||e.icon)?"actionButton"!==(null==e?void 0:e.type)||null!=e&&e.showBottom||o||null!=e&&e.icon?null==e?void 0:e.icon:"ArrowDropUp":"ArrowDropDown","large"===e.size?(b="link"===e.variation?"1.25rem":"1.5rem",C="link"===e.variation?"1.25rem":"1.5rem"):"medium"===e.size?(b="1.25rem",C="1.25rem"):"small"===e.size?(b="0.875rem",C="0.875rem"):(b="1.5rem",C="1.5rem"),(0,c.Q)(x,w,b,C,"digit-button-customIcon ".concat(null!=e&&e.size?null==e?void 0:e.size:""," ").concat(null!=e&&e.variation?null==e?void 0:e.variation:""))),j=null!=e&&e.label?"link"===(null==e?void 0:e.variation)?null==e?void 0:e.label:(0,a.A)("CAPITALIZEFIRSTLETTER",(0,a.A)("TRUNCATESTRING",null==e?void 0:e.label,{maxLength:64})):"",k=(0,d.jsx)("button",h(h({ref:null==e?void 0:e.ref,id:g,className:"digit-button-".concat(null!=e&&e.variation?null==e?void 0:e.variation:"default"," ").concat(null!=e&&e.size?null==e?void 0:e.size:"large"," ").concat(null!=e&&e.className?null==e?void 0:e.className:""," ").concat(null!=e&&e.isDisabled?"disabled":""),type:null!=e&&e.submit?"submit":(null==e?void 0:e.type)||"button",form:e.formId,onClick:"actionButton"===(null==e?void 0:e.type)?function(e){return function(e){e.stopPropagation(),f(!o)}(e)}:null==e?void 0:e.onClick,disabled:(null==e?void 0:e.isDisabled)||null,title:(null==e?void 0:e.title)||"",style:e.style?e.style:null,"aria-label":(null==e?void 0:e.ariaLabel)||j,"aria-haspopup":"actionButton"===(null==e?void 0:e.type)?"menu":void 0,"aria-expanded":"actionButton"===(null==e?void 0:e.type)?o:void 0},y),{},{children:(0,d.jsxs)("div",{className:"icon-label-container ".concat(null!=e&&e.variation?null==e?void 0:e.variation:""," ").concat(null!=e&&e.size?null==e?void 0:e.size:""),children:[!(null!=e&&e.isSuffix)&&(null==e?void 0:e.icon)&&E,(0,d.jsx)("h2",{style:h({},null==e?void 0:e.textStyles),className:"digit-button-label",children:j}),(null==e?void 0:e.isSuffix)&&(null==e?void 0:e.icon)&&E,"actionButton"===(null==e?void 0:e.type)&&!(null!=e&&e.hideDefaultActionIcon)&&!(null!=e&&e.icon)&&E]})}));return"actionButton"===(null==e?void 0:e.type)?(0,d.jsxs)("div",{className:"digit-action-button-wrapper ".concat(null==e?void 0:e.wrapperClassName),style:null==e?void 0:e.wrapperStyles,ref:p,children:[k,o&&(0,d.jsx)("div",{className:"header-dropdown-container",children:(0,d.jsx)(s.A,{options:null==e?void 0:e.options,setDropdownStatus:f,dropdownStatus:o,isSearchable:null==e?void 0:e.isSearchable,optionsKey:null==e?void 0:e.optionsKey,onSelect:null==e?void 0:e.onOptionSelect,showBottom:null==e?void 0:e.showBottom,style:null==e?void 0:e.menuStyles})})]}):k};g.propTypes={isDisabled:o().bool,label:o().string.isRequired,variation:o().string,icon:o().string,onClick:o().func.isRequired,className:o().string,style:o().object,textStyles:o().object,isSuffix:o().bool,size:o().string,id:o().string,name:o().string},g.defaultProps={label:"",variation:"primary",onClick:function(){},size:"large"};const y=g},38750(e,t,n){"use strict";n.d(t,{A:()=>f}),n(52675),n(89463),n(2259),n(45700),n(2008),n(23792),n(89572),n(62010),n(2892),n(83851),n(81278),n(79432),n(26099),n(47764),n(23500),n(62953),n(64012);var r=n(5556),i=n.n(r),o=n(45194),a=n(74848);function s(e){return s="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},s(e)}function l(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return(t=function(e){var t=function(e){if("object"!=s(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==s(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t=(0,o.Jg)({explicitId:null==e?void 0:e.id,buttonType:(null==e?void 0:e.type)||"submit",buttonName:(null==e?void 0:e.name)||"selector"}),n=t.id,r=t.dataAttributes,i="digit-selector-button-primary";return i="border"===e.theme?"digit-selector-button-border":"digit-selector-button-primary",(0,a.jsx)("button",c(c({id:n,className:e.isDisabled?"digit-selector-button-primary-disabled":i,type:e.type||"submit",form:e.formId,onClick:e.onSubmit,disabled:e.isDisabled,style:e.style?e.style:null},r),{},{children:(0,a.jsx)("h2",{style:c(c({},null==e?void 0:e.textStyles),{width:"100%"}),children:e.label})}))};d.propTypes={label:i().string.isRequired,theme:i().string,onSubmit:i().func,id:i().string,name:i().string},d.defaultProps={label:"",theme:"",onSubmit:void 0};const f=d},80477(e,t,n){"use strict";n.d(t,{A:()=>f}),n(52675),n(89463),n(2259),n(45700),n(2008),n(23792),n(89572),n(2892),n(83851),n(81278),n(79432),n(26099),n(47764),n(23500),n(62953),n(28706),n(64012);var r=n(5556),i=n.n(r),o=(n(4442),n(74848));function a(e){return a="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},a(e)}var s=["type","onClick","style","children","className","ReactRef","variant"];function l(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return(t=function(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t,n=e.type,r=e.onClick,i=e.style,a=void 0===i?{}:i,l=e.children,u=e.className,d=e.ReactRef,f=e.variant,p=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,s),h=(null===(t=window)||void 0===t||null===(t=t.Digit)||void 0===t||null===(t=t.UserService)||void 0===t||null===(t=t.getUser())||void 0===t?void 0:t.info)||null,m=(null==h||h.type,"function"==typeof r);return(0,o.jsx)("div",c(c({role:m?"button":void 0,tabIndex:m?0:void 0,onKeyDown:m?function(e){"Enter"!==e.key&&" "!==e.key||"function"!=typeof r||(e.preventDefault(),r(e))}:void 0,className:"".concat(null!=p&&p.noCardStyle?"":"digit-card-component"," ").concat(n||""," ").concat(f||""," ").concat(u||""),onClick:r,style:a},p),{},{ref:d,children:l}))};d.propTypes={type:i().string,variant:i().string,onClick:i().func,style:i().object,className:i().string,children:i().node};const f=d},84763(e,t,n){"use strict";n.d(t,{A:()=>i}),n(64012);var r=n(74848);const i=function(e){return(0,r.jsx)("label",{style:e.style,className:"digit-card-caption",children:e.children})}},10352(e,t,n){"use strict";n.d(t,{A:()=>i}),n(28706),n(64012);var r=n(74848);const i=function(e){var t=null!=e&&e.variant?null==e?void 0:e.variant:"",n=null!=e&&e.className?null==e?void 0:e.className:"";return(0,r.jsx)("header",{className:"digit-card-header ".concat(t," ").concat(n),style:e.styles?e.styles:{},children:e.children})}},45471(e,t,n){"use strict";n.d(t,{A:()=>s}),n(64012);var r=n(5556),i=n.n(r),o=n(74848),a=function(e){return(0,o.jsx)("h2",{className:"digit-card-label ".concat(null!=e&&e.className?null==e?void 0:e.className:""),style:e.style,children:e.children})};a.propTypes={className:i().string,style:i().object,children:i().node.isRequired};const s=a},23881(e,t,n){"use strict";n.d(t,{A:()=>s}),n(64012);var r=n(5556),i=n.n(r),o=n(74848),a=function(e){return(0,o.jsx)("h2",{className:"digit-card-label-error ".concat(null!=e&&e.className?null==e?void 0:e.className:""),style:e.style,children:e.children})};a.propTypes={className:i().string,style:i().object,children:i().node.isRequired};const s=a},43618(e,t,n){"use strict";n.d(t,{A:()=>i}),n(28706),n(64012);var r=n(74848);const i=function(e){return(0,r.jsx)("p",{className:"digit-card-text ".concat(e.disable&&"disabled"," ").concat(null!=e&&e.className?null==e?void 0:e.className:""),style:e.style,children:e.children})}},34878(e,t,n){"use strict";n.d(t,{A:()=>y}),n(52675),n(89463),n(2259),n(45700),n(2008),n(23792),n(89572),n(2892),n(83851),n(81278),n(79432),n(26099),n(47764),n(23500),n(62953),n(28706),n(62010);var r=n(64012),i=n(67405),o=n(97100),a=n(5556),s=n.n(a),l=n(65953),c=n(79089),u=n(47724),d=(n(33373),n(74848));function f(e){return f="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},f(e)}var p=["onChange","label","value","disabled","ref","checked","inputRef","pageType","style","index","isLabelFirst","hideLabel","isIntermediate","removeMargin","required"];function h(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return(t=function(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){var t,n,a=e.onChange,s=e.label,f=e.value,h=e.disabled,v=(e.ref,e.checked),g=e.inputRef,y=e.pageType,b=(e.style,e.index,e.isLabelFirst),C=e.hideLabel,w=e.isIntermediate,x=e.removeMargin,_=e.required,S=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,p),A=((0,l.useTranslation)().t,y||(0,u.W)()),E=(null==S||S.styles,(null===(t=Digit)||void 0===t||null===(t=t.Utils)||void 0===t||null===(n=t.generateUniqueId)||void 0===n?void 0:n.call(t,{screenPath:(null==S?void 0:S.screenPath)||"",composerType:(null==S?void 0:S.composerType)||"standalone",composerId:(null==S?void 0:S.composerId)||"",sectionId:(null==S?void 0:S.sectionId)||"",name:(null==S?void 0:S.name)||s||"checkbox",type:"checkbox",id:null==S?void 0:S.id}))||(null==S?void 0:S.id)||"checkbox-".concat(f)),j=(0,o.A)("TOSENTENCECASE",s),k=c.J.lightTheme.text.disabled,P=c.J.lightTheme.primary[1];return(0,d.jsxs)("div",{className:"digit-checkbox-container ".concat(b?"labelFirst":"checkboxFirst"," ").concat(h?"disabled":" "," ").concat(x?"noMargin":""," ").concat(null==S?void 0:S.mainClassName),children:[b&&!C?(0,d.jsxs)(r.Fragment,{children:[(0,d.jsx)("label",{htmlFor:E,className:"label ".concat(null==S?void 0:S.labelClassName," "),style:{maxWidth:"100%",width:"auto",marginRight:"0rem"},onClick:null==S?void 0:S.onLabelClick,tabIndex:0,role:"button",onKeyDown:function(e){if("Enter"===e.key||" "===e.key)if(e.preventDefault(),"function"==typeof(null==S?void 0:S.onLabelClick))S.onLabelClick();else{var t=document.getElementById(E);t&&t.click()}},children:j}),_&&(0,d.jsx)("span",{style:{color:"#B91900"},children:" *"})]}):null,(0,d.jsxs)("div",{style:{cursor:"pointer",display:"flex",position:"relative"},className:null==S?void 0:S.inputWrapperClassName,children:[(0,d.jsx)("input",m(m({type:"checkbox",className:"input ".concat("employee"===A?"input-emp":""," ").concat(null==S?void 0:S.inputClassName," "),onChange:a,value:f||s},S),{},{tabIndex:-1,ref:g,disabled:h,checked:v,id:E,"aria-checked":v,"aria-disabled":h})),(0,d.jsx)("p",m(m({},"function"==typeof a&&{tabIndex:0,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),a({target:{checked:!v,value:f||s}}))}}),{},{className:"digit-custom-checkbox ".concat("employee"===A?"digit-custom-checkbox-emp":""," ").concat(w?"intermediate":""," ").concat(null==S?void 0:S.inputIconClassname," "),children:w&&!v?(0,d.jsx)("span",{className:"intermediate-square ".concat(h?"squaredisabled":"")}):(0,d.jsx)(i.t.Check,{fill:(null==S?void 0:S.iconFill)||(h?k:P)})}))]}),b||C?null:(0,d.jsxs)(r.Fragment,{children:[(0,d.jsx)("label",{htmlFor:E,className:"label ".concat(null==S?void 0:S.labelClassName," "),style:{maxWidth:"100%",width:"100%",marginRight:"0rem"},onClick:null==S?void 0:S.onLabelClick,tabIndex:0,role:"button",onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),"function"==typeof(null==S?void 0:S.onLabelClick)?S.onLabelClick():"function"==typeof a&&a({target:{checked:!v,value:f||s}}))},children:j}),_&&(0,d.jsx)("span",{style:{color:"#B91900"},children:" *"})]})]})};g.propTypes={label:s().string.isRequired,onChange:s().func,ref:s().func,userType:s().string,hideLabel:s().bool,isIntermediate:s().bool,required:s().bool},g.defaultProps={label:"Default",isLabelFirst:!1,onChange:function(){},value:"",checked:!1,ref:"ww",index:0,isIntermediate:!1};const y=g},9793(e,t,n){"use strict";n.d(t,{A:()=>d}),n(28706),n(64012);var r=n(5556),i=n.n(r),o=n(67405),a=n(41978),s=n(79089),l=n(60355),c=n(74848),u=function(e){var t=e.className,n=e.text,r=e.onTagClick,i=e.onClick,u=e.extraStyles,d=e.disabled,f=void 0!==d&&d,p=e.isErrorTag,h=e.error,m=e.hideClose,v=e.onErrorClick,g=e.iconReq,y=u?null==u?void 0:u.tagStyles:{},b=u?null==u?void 0:u.textStyles:{},C=u?null==u?void 0:u.closeIconStyles:{},w=s.J.lightTheme.paper.primary;return(0,c.jsxs)("div",{className:"digit-tag-error-container ".concat(!f&&r?"cp":""),onClick:f?null:r,role:r?"button":void 0,tabIndex:r&&!f?0:void 0,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||!r||f||(e.preventDefault(),r(e))},"aria-label":r?"".concat(n," chip"):void 0,"aria-disabled":f?"true":void 0,children:[(0,c.jsxs)("div",{className:"digit-tag ".concat(p?"errortag":""," ").concat(m?"noClose":""," ").concat(g?"":"noIcon"," ").concat(r||i?"clickable":""," ").concat(t||""),style:y,role:"group","aria-label":"".concat(n).concat(p?" error":""," chip").concat(m?"":" with remove button"),children:[g&&function(e,t){var n=t?"#B91900":"#787878";return(0,l.Q)(e,n,"1.25rem","1.25rem","")}(g,p),(0,c.jsx)("span",{className:"digit-text",style:b,children:n}),!m&&(0,c.jsx)("span",{onClick:f?null:i,role:"button",tabIndex:f?-1:0,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||!i||f||(e.preventDefault(),i(e))},className:"close-icon ".concat(f?"disabled":""," ").concat(m?"hideClose":""),"aria-label":"Remove ".concat(n),"aria-disabled":f?"true":void 0,children:(0,c.jsx)(o.t.Close,{fill:w,className:"close",style:C})})]}),h&&(0,c.jsx)("div",{className:"".concat(v?"cp":"nonclickable"),onClick:v,role:v?"button":"alert",tabIndex:v?0:void 0,onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||!v||(e.preventDefault(),v(e))},"aria-label":v?"View error message":void 0,"aria-live":"assertive",children:(0,c.jsx)(a.A,{message:h,truncateMessage:!0,maxLength:256,className:"digit-tag-error-message",wrapperClassName:"digit-tag-error",showIcon:!0})})]})};u.propTypes={className:i().string,text:i().string.isRequired,onClick:i().func.isRequired,extraStyles:i().shape({tagStyles:i().object,textStyles:i().object,closeIconStyles:i().object}),disabled:i().bool,isErrorTag:i().bool,error:i().string,hideClose:i().bool},u.defaultProps={hideClose:!0};const d=u},42513(e,t,n){"use strict";n.d(t,{A:()=>l}),n(33771),n(64012);var r=n(67405),i=n(5556),o=n.n(i),a=n(74848),s=function(e){var t,n,i,o,s,l,c,u,d,f,p,h,m=null===(i=e=null!==(t=e)&&void 0!==t&&t.props?null===(n=e)||void 0===n?void 0:n.props:e)||void 0===i||!i.showInfo||(null===(o=e)||void 0===o?void 0:o.showInfo);return(0,a.jsxs)("div",{className:"digit-info-banner-wrap ".concat(null!==(s=e)&&void 0!==s&&s.className?null===(l=e)||void 0===l?void 0:l.className:""),style:null===(c=e)||void 0===c?void 0:c.style,children:[m&&(0,a.jsxs)("div",{children:[(0,a.jsx)(r.t.Info,{fill:null===(u=e)||void 0===u?void 0:u.fill}),(0,a.jsx)("h2",{style:null===(d=e)||void 0===d?void 0:d.textStyle,children:null===(f=e)||void 0===f?void 0:f.info})]}),(0,a.jsx)("p",{style:null===(p=e)||void 0===p?void 0:p.textStyle,children:null===(h=e)||void 0===h?void 0:h.text})]})};s.propTypes={props:o().object,showInfo:o().bool,className:o().string,style:o().object,fill:o().string,textStyle:o().object,info:o().string,text:o().string.isRequired};const l=s},96024(e,t,n){"use strict";n.d(t,{Yd:()=>h,xp:()=>d}),n(52675),n(89463),n(2259),n(45700),n(2008),n(23792),n(89572),n(2892),n(83851),n(81278),n(79432),n(26099),n(47764),n(23500),n(62953),n(33771),n(64012);var r=n(74848);function i(e){return i="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},i(e)}var o=["width","height","fill","className","style"],a=["width","height","fill","className","style"];function s(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function l(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u(e,t,n){return(t=function(e){var t=function(e){if("object"!=i(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==i(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t=e.fill,n=void 0===t?"#C84C0E":t;return(0,r.jsx)("svg",{width:"12",height:"16",viewBox:"0 0 12 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M0.999837 13.8333C0.999837 14.75 1.74984 15.5 2.6665 15.5L9.33317 15.5C10.2498 15.5 10.9998 14.75 10.9998 13.8333L10.9998 3.83333L0.999837 3.83333L0.999837 13.8333ZM11.8332 1.33333L8.9165 1.33333L8.08317 0.5L3.9165 0.5L3.08317 1.33333L0.166504 1.33333L0.166504 3L11.8332 3V1.33333Z",fill:n})})},f=function(e){var t=e.rotate,n=void 0===t?0:t,i=e.marginRight,o=void 0===i?0:i,a=e.fill,s=void 0===a?"#00703C":a,l=e.width,c=void 0===l?"11":l,u=e.height,d=void 0===u?"16":u;return(0,r.jsx)("svg",{style:{display:"inline-block",verticalAlign:"baseline",transform:"rotate(".concat(n,"deg)"),marginRight:"".concat(o,"px")},width:c,height:d,viewBox:"0 0 11 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M0 5.6L1.10786 6.728L4.71429 3.064V16H6.28571V3.064L9.89214 6.736L11 5.6L5.5 0L0 5.6Z",fill:s})})},p=function(e){var t=e.styles,n=e.className,i=e.fill,o=void 0===i?"#FFFFFF":i,a=e.width,s=void 0===a?"24":a,l=e.height,u=void 0===l?"27":l;return(0,r.jsx)("svg",{width:s,height:u,className:n,style:c({},t),viewBox:"0 0 24 27",fill:o,xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M21.3333 2.99967H15.76C15.2 1.45301 13.7333 0.333008 12 0.333008C10.2667 0.333008 8.8 1.45301 8.24 2.99967H2.66667C1.2 2.99967 0 4.19967 0 5.66634V24.333C0 25.7997 1.2 26.9997 2.66667 26.9997H21.3333C22.8 26.9997 24 25.7997 24 24.333V5.66634C24 4.19967 22.8 2.99967 21.3333 2.99967ZM12 2.99967C12.7333 2.99967 13.3333 3.59967 13.3333 4.33301C13.3333 5.06634 12.7333 5.66634 12 5.66634C11.2667 5.66634 10.6667 5.06634 10.6667 4.33301C10.6667 3.59967 11.2667 2.99967 12 2.99967ZM14.6667 21.6663H5.33333V18.9997H14.6667V21.6663ZM18.6667 16.333H5.33333V13.6663H18.6667V16.333ZM18.6667 10.9997H5.33333V8.33301H18.6667V10.9997Z"})})},h={Microsoft:function(e){var t=e.className,n=e.style,i=void 0===n?{}:n,o=e.width,a=void 0===o?"21":o,s=e.height,l=void 0===s?"21":s;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:a,height:l,viewBox:"0 0 21 21",className:t,style:i,children:[(0,r.jsx)("title",{children:"MS-SymbolLockup"}),(0,r.jsx)("rect",{x:"1",y:"1",width:"9",height:"9",fill:"#f25022"}),(0,r.jsx)("rect",{x:"11",y:"1",width:"9",height:"9",fill:"#7fba00"}),(0,r.jsx)("rect",{x:"1",y:"11",width:"9",height:"9",fill:"#00a4ef"}),(0,r.jsx)("rect",{x:"11",y:"11",width:"9",height:"9",fill:"#ffb900"})]})},VariableAdd:function(e){var t=e.width,n=void 0===t?"32":t,i=e.height,o=void 0===i?"32":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 21 13",fill:"none",children:(0,r.jsx)("path",{d:"M11 10H0V0H18V3H16V2H2V8H11V10ZM16 13V10H13V8H16V5H18V8H21V10H18V13H16Z",fill:s})})},FlowFilled:function(e){var t=e.width,n=void 0===t?"24":t,i=e.height,o=void 0===i?"24":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsxs)("svg",{width:n,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"mask0_78718_26637",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:(0,r.jsx)("rect",{x:"24",y:"1.04907e-06",width:"24",height:"24",transform:"rotate(90 24 1.04907e-06)",fill:"#D9D9D9"})}),(0,r.jsx)("g",{mask:"url(#mask0_78718_26637)",children:(0,r.jsx)("path",{d:"M3 8C3 6.61667 3.4875 5.4375 4.4625 4.4625C5.4375 3.4875 6.61667 3 8 3L17.8 3C18.7 3 19.4583 3.275 20.075 3.825C20.6917 4.375 21 5.1 21 6C21 6.9 20.725 7.625 20.175 8.175C19.625 8.725 18.9 9 18 9C17.15 9 16.4375 8.7125 15.8625 8.1375C15.2875 7.5625 15 6.85 15 6L15 5L8 5C7.16667 5 6.45833 5.29167 5.875 5.875C5.29167 6.45833 5 7.16667 5 8C5 8.83333 5.29167 9.54167 5.875 10.125C6.45833 10.7083 7.16667 11 8 11L16 11C17.3833 11 18.5625 11.4875 19.5375 12.4625C20.5125 13.4375 21 14.6167 21 16C21 17.3833 20.5125 18.5625 19.5375 19.5375C18.5625 20.5125 17.3833 21 16 21L6 21C5.15 21 4.4375 20.6792 3.8625 20.0375C3.2875 19.3958 3 18.65 3 17.8C3 16.95 3.2875 16.2708 3.8625 15.7625C4.4375 15.2542 5.15 15 6 15C6.85 15 7.5625 15.2875 8.1375 15.8625C8.7125 16.4375 9 17.15 9 18L9 19L16 19C16.8333 19 17.5417 18.7083 18.125 18.125C18.7083 17.5417 19 16.8333 19 16C19 15.1667 18.7083 14.4583 18.125 13.875C17.5417 13.2917 16.8333 13 16 13L8 13C6.61667 13 5.4375 12.5125 4.4625 11.5375C3.4875 10.5625 3 9.38333 3 8Z",fill:s})})]})},FlowUnfilled:function(e){var t=e.width,n=void 0===t?"24":t,i=e.height,o=void 0===i?"24":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsxs)("svg",{width:n,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"mask0_78718_26308",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:(0,r.jsx)("rect",{x:"1.04908e-06",y:"24",width:"24",height:"24",transform:"rotate(-90 1.04908e-06 24)",fill:"#D9D9D9"})}),(0,r.jsx)("g",{mask:"url(#mask0_78718_26308)",children:(0,r.jsx)("path",{d:"M21 16C21 17.3833 20.5125 18.5625 19.5375 19.5375C18.5625 20.5125 17.3833 21 16 21L6.2 21C5.3 21 4.54167 20.725 3.925 20.175C3.30833 19.625 3 18.9 3 18C3 17.1 3.275 16.375 3.825 15.825C4.375 15.275 5.1 15 6 15C6.85 15 7.5625 15.2875 8.1375 15.8625C8.7125 16.4375 9 17.15 9 18L9 19L16 19C16.8333 19 17.5417 18.7083 18.125 18.125C18.7083 17.5417 19 16.8333 19 16C19 15.1667 18.7083 14.4583 18.125 13.875C17.5417 13.2917 16.8333 13 16 13L8 13C6.61667 13 5.4375 12.5125 4.4625 11.5375C3.4875 10.5625 3 9.38333 3 8C3 6.61667 3.4875 5.4375 4.4625 4.4625C5.4375 3.4875 6.61667 3 8 3L18 3C18.85 3 19.5625 3.32083 20.1375 3.9625C20.7125 4.60417 21 5.35 21 6.2C21 7.05 20.7125 7.72917 20.1375 8.2375C19.5625 8.74583 18.85 9 18 9C17.15 9 16.4375 8.7125 15.8625 8.1375C15.2875 7.5625 15 6.85 15 6L15 5L8 5C7.16667 5 6.45833 5.29167 5.875 5.875C5.29167 6.45833 5 7.16667 5 8C5 8.83333 5.29167 9.54167 5.875 10.125C6.45833 10.7083 7.16667 11 8 11L16 11C17.3833 11 18.5625 11.4875 19.5375 12.4625C20.5125 13.4375 21 14.6167 21 16ZM7 19L7 18C7 17.7167 6.90417 17.4792 6.7125 17.2875C6.52083 17.0958 6.28333 17 6 17C5.71667 17 5.47917 17.0958 5.2875 17.2875C5.09583 17.4792 5 17.7167 5 18C5 18.2833 5.09583 18.5208 5.2875 18.7125C5.47917 18.9042 5.71667 19 6 19L7 19ZM19 6C19 5.71667 18.9042 5.47917 18.7125 5.2875C18.5208 5.09583 18.2833 5 18 5L17 5L17 6C17 6.28333 17.0958 6.52083 17.2875 6.7125C17.4792 6.90417 17.7167 7 18 7C18.2833 7 18.5208 6.90417 18.7125 6.7125C18.9042 6.52083 19 6.28333 19 6Z",fill:s})})]})},TextAd:function(e){var t=e.width,n=void 0===t?"32":t,i=e.height,o=void 0===i?"32":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 19 15",fill:"none",children:(0,r.jsx)("path",{d:"M2.8655 11.9423H16.1345V10.4423H2.8655V11.9423ZM2.8655 8.25H16.1345V6.75H2.8655V8.25ZM2.8655 4.55775H12.25V3.05775H2.8655V4.55775ZM1.80775 15C1.30258 15 0.875 14.825 0.525 14.475C0.175 14.125 0 13.6974 0 13.1923V1.80775C0 1.30258 0.175 0.875 0.525 0.525C0.875 0.175 1.30258 0 1.80775 0H17.1923C17.6974 0 18.125 0.175 18.475 0.525C18.825 0.875 19 1.30258 19 1.80775V13.1923C19 13.6974 18.825 14.125 18.475 14.475C18.125 14.825 17.6974 15 17.1923 15H1.80775ZM1.80775 13.5H17.1923C17.2693 13.5 17.3398 13.4679 17.4038 13.4038C17.4679 13.3398 17.5 13.2692 17.5 13.1923V1.80775C17.5 1.73075 17.4679 1.66025 17.4038 1.59625C17.3398 1.53208 17.2693 1.5 17.1923 1.5H1.80775C1.73075 1.5 1.66025 1.53208 1.59625 1.59625C1.53208 1.66025 1.5 1.73075 1.5 1.80775V13.1923C1.5 13.2692 1.53208 13.3398 1.59625 13.4038C1.66025 13.4679 1.73075 13.5 1.80775 13.5Z",fill:s})})},FontDownload:function(e){var t=e.width,n=void 0===t?"32":t,i=e.height,o=void 0===i?"32":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 19 19",fill:"none",children:(0,r.jsx)("path",{d:"M4.41925 15.2885H6L7.08075 12.2578H11.9193L13 15.2885H14.5807L10.2423 3.59625H8.75775L4.41925 15.2885ZM7.54625 10.9115L9.45 5.5385H9.55L11.4538 10.9115H7.54625ZM1.80775 19C1.30258 19 0.875 18.825 0.525 18.475C0.175 18.125 0 17.6974 0 17.1923V1.80775C0 1.30258 0.175 0.875 0.525 0.525C0.875 0.175 1.30258 0 1.80775 0H17.1923C17.6974 0 18.125 0.175 18.475 0.525C18.825 0.875 19 1.30258 19 1.80775V17.1923C19 17.6974 18.825 18.125 18.475 18.475C18.125 18.825 17.6974 19 17.1923 19H1.80775ZM1.80775 17.5H17.1923C17.2693 17.5 17.3398 17.4679 17.4038 17.4038C17.4679 17.3398 17.5 17.2693 17.5 17.1923V1.80775C17.5 1.73075 17.4679 1.66025 17.4038 1.59625C17.3398 1.53208 17.2693 1.5 17.1923 1.5H1.80775C1.73075 1.5 1.66025 1.53208 1.59625 1.59625C1.53208 1.66025 1.5 1.73075 1.5 1.80775V17.1923C1.5 17.2693 1.53208 17.3398 1.59625 17.4038C1.66025 17.4679 1.73075 17.5 1.80775 17.5Z",fill:s})})},RadioButtonChecked:function(e){var t=e.width,n=void 0===t?"32":t,i=e.height,o=void 0===i?"32":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("mask",{id:"mask0_78718_25700",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"24",height:"24",children:(0,r.jsx)("rect",{width:"24",height:"24",fill:"#D9D9D9"})}),(0,r.jsx)("g",{mask:"url(#mask0_78718_25700)",children:(0,r.jsx)("path",{d:"M12 16.5C13.2487 16.5 14.3108 16.0622 15.1865 15.1865C16.0622 14.3108 16.5 13.2487 16.5 12C16.5 10.7513 16.0622 9.68917 15.1865 8.8135C14.3108 7.93783 13.2487 7.5 12 7.5C10.7513 7.5 9.68917 7.93783 8.8135 8.8135C7.93783 9.68917 7.5 10.7513 7.5 12C7.5 13.2487 7.93783 14.3108 8.8135 15.1865C9.68917 16.0622 10.7513 16.5 12 16.5ZM12.0017 21.5C10.6877 21.5 9.45267 21.2507 8.2965 20.752C7.14033 20.2533 6.13467 19.5766 5.2795 18.7218C4.42433 17.8669 3.74725 16.8617 3.24825 15.706C2.74942 14.5503 2.5 13.3156 2.5 12.0017C2.5 10.6877 2.74933 9.45267 3.248 8.2965C3.74667 7.14033 4.42342 6.13467 5.27825 5.2795C6.13308 4.42433 7.13833 3.74725 8.294 3.24825C9.44967 2.74942 10.6844 2.5 11.9983 2.5C13.3123 2.5 14.5473 2.74933 15.7035 3.248C16.8597 3.74667 17.8653 4.42342 18.7205 5.27825C19.5757 6.13308 20.2528 7.13833 20.7518 8.294C21.2506 9.44967 21.5 10.6844 21.5 11.9983C21.5 13.3123 21.2507 14.5473 20.752 15.7035C20.2533 16.8597 19.5766 17.8653 18.7218 18.7205C17.8669 19.5757 16.8617 20.2528 15.706 20.7518C14.5503 21.2506 13.3156 21.5 12.0017 21.5ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:s})})]})},Numeric123:function(e){var t=e.width,n=void 0===t?"32":t,i=e.height,o=void 0===i?"32":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 16 6",fill:"none",children:(0,r.jsx)("path",{d:"M1.5 6V1.5H0V0H3V6H1.5ZM5 6V3.5C5 3.21667 5.09583 2.97917 5.2875 2.7875C5.47917 2.59583 5.71667 2.5 6 2.5H8V1.5H5V0H8.5C8.78333 0 9.02083 0.0958333 9.2125 0.2875C9.40417 0.479167 9.5 0.716667 9.5 1V2.5C9.5 2.78333 9.40417 3.02083 9.2125 3.2125C9.02083 3.40417 8.78333 3.5 8.5 3.5H6.5V4.5H9.5V6H5ZM11 6V4.5H14V3.5H12V2.5H14V1.5H11V0H14.5C14.7833 0 15.0208 0.0958333 15.2125 0.2875C15.4042 0.479167 15.5 0.716667 15.5 1V5C15.5 5.28333 15.4042 5.52083 15.2125 5.7125C15.0208 5.90417 14.7833 6 14.5 6H11Z",fill:s})})},EventList:function(e){var t=e.width,n=void 0===t?"32":t,i=e.height,o=void 0===i?"32":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 19 17",fill:"none",children:(0,r.jsx)("path",{d:"M13.3077 17C12.8987 17 12.5465 16.8523 12.251 16.5568C11.9555 16.2613 11.8077 15.909 11.8077 15.5V11.3077C11.8077 10.8987 11.9555 10.5465 12.251 10.251C12.5465 9.9555 12.8987 9.80775 13.3077 9.80775H17.5C17.909 9.80775 18.2613 9.9555 18.5568 10.251C18.8523 10.5465 19 10.8987 19 11.3077V15.5C19 15.909 18.8523 16.2613 18.5568 16.5568C18.2613 16.8523 17.909 17 17.5 17H13.3077ZM13.3077 15.5H17.5V11.3077H13.3077V15.5ZM0 14.1538V12.6538H8.6155V14.1538H0ZM13.3077 7.19225C12.8987 7.19225 12.5465 7.0445 12.251 6.749C11.9555 6.4535 11.8077 6.10125 11.8077 5.69225V1.5C11.8077 1.091 11.9555 0.73875 12.251 0.44325C12.5465 0.14775 12.8987 0 13.3077 0H17.5C17.909 0 18.2613 0.14775 18.5568 0.44325C18.8523 0.73875 19 1.091 19 1.5V5.69225C19 6.10125 18.8523 6.4535 18.5568 6.749C18.2613 7.0445 17.909 7.19225 17.5 7.19225H13.3077ZM13.3077 5.69225H17.5V1.5H13.3077V5.69225ZM0 4.34625V2.84625H8.6155V4.34625H0Z",fill:s})})},CheckboxSVG:function(e){var t=e.width,n=void 0===t?"32":t,i=e.height,o=void 0===i?"32":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 17 17",fill:"none",children:(0,r.jsx)("path",{d:"M7.1 12.3538L13.823 5.63075L12.7693 4.577L7.1 10.2463L4.25 7.39625L3.19625 8.45L7.1 12.3538ZM1.80775 17C1.30258 17 0.875 16.825 0.525 16.475C0.175 16.125 0 15.6974 0 15.1923V1.80775C0 1.30258 0.175 0.875 0.525 0.525C0.875 0.175 1.30258 0 1.80775 0H15.1923C15.6974 0 16.125 0.175 16.475 0.525C16.825 0.875 17 1.30258 17 1.80775V15.1923C17 15.6974 16.825 16.125 16.475 16.475C16.125 16.825 15.6974 17 15.1923 17H1.80775ZM1.80775 15.5H15.1923C15.2692 15.5 15.3398 15.4679 15.4038 15.4038C15.4679 15.3398 15.5 15.2692 15.5 15.1923V1.80775C15.5 1.73075 15.4679 1.66025 15.4038 1.59625C15.3398 1.53208 15.2692 1.5 15.1923 1.5H1.80775C1.73075 1.5 1.66025 1.53208 1.59625 1.59625C1.53208 1.66025 1.5 1.73075 1.5 1.80775V15.1923C1.5 15.2692 1.53208 15.3398 1.59625 15.4038C1.66025 15.4679 1.73075 15.5 1.80775 15.5Z",fill:s})})},VariableAddFilled:function(e){var t=e.width,n=void 0===t?"32":t,i=e.height,o=void 0===i?"32":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 21 13",fill:"none",children:(0,r.jsx)("path",{d:"M0 10V0H18V3.075C17.8333 3.04167 17.6708 3.02083 17.5125 3.0125C17.3542 3.00417 17.1833 3 17 3C15.3333 3 13.9167 3.58333 12.75 4.75C11.5833 5.91667 11 7.33333 11 9C11 9.18333 11.0042 9.35417 11.0125 9.5125C11.0208 9.67083 11.0417 9.83333 11.075 10H0ZM16 13V10H13V8H16V5H18V8H21V10H18V13H16Z",fill:s})})},TabInactive:function(e){var t=e.width,n=void 0===t?"32":t,i=e.height,o=void 0===i?"32":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 32 32",fill:"none",children:[(0,r.jsx)("mask",{id:"mask0_72697_9905",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"32",height:"32",children:(0,r.jsx)("rect",{width:"32",height:"32",fill:"#D9D9D9"})}),(0,r.jsx)("g",{mask:"url(#mask0_72697_9905)",children:(0,r.jsx)("path",{d:"M10.6665 29.3334C9.93317 29.3334 9.30539 29.0723 8.78317 28.5501C8.26095 28.0279 7.99984 27.4001 7.99984 26.6667V24.0001H5.33317C4.59984 24.0001 3.97206 23.739 3.44984 23.2167C2.92762 22.6945 2.6665 22.0667 2.6665 21.3334V18.6667H5.33317V21.3334H7.99984V10.6667C7.99984 9.93341 8.26095 9.30564 8.78317 8.78341C9.30539 8.26119 9.93317 8.00008 10.6665 8.00008H21.3332V5.33341H18.6665V2.66675H21.3332C22.0665 2.66675 22.6943 2.92786 23.2165 3.45008C23.7387 3.9723 23.9998 4.60008 23.9998 5.33341V8.00008H26.6665C27.3998 8.00008 28.0276 8.26119 28.5498 8.78341C29.0721 9.30564 29.3332 9.93341 29.3332 10.6667V26.6667C29.3332 27.4001 29.0721 28.0279 28.5498 28.5501C28.0276 29.0723 27.3998 29.3334 26.6665 29.3334H10.6665ZM10.6665 26.6667H26.6665V10.6667H10.6665V26.6667ZM2.6665 16.0001V10.6667H5.33317V16.0001H2.6665ZM2.6665 8.00008V5.33341C2.6665 4.60008 2.92762 3.9723 3.44984 3.45008C3.97206 2.92786 4.59984 2.66675 5.33317 2.66675H7.99984V5.33341H5.33317V8.00008H2.6665ZM10.6665 5.33341V2.66675H15.9998V5.33341H10.6665Z",fill:s})})]})},PlaceholderSvg:function(e){var t=e.width,n=void 0===t?"800":t,i=e.height,o=void 0===i?"800":i,a=e.fill;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:o,viewBox:"0 0 120 120",fill:"none",children:[(0,r.jsx)("rect",{width:"120",height:"120",fill:"#EFF1F3"}),(0,r.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M33.2503 38.4816C33.2603 37.0472 34.4199 35.8864 35.8543 35.875H83.1463C84.5848 35.875 85.7503 37.0431 85.7503 38.4816V80.5184C85.7403 81.9528 84.5807 83.1136 83.1463 83.125H35.8543C34.4158 83.1236 33.2503 81.957 33.2503 80.5184V38.4816ZM80.5006 41.1251H38.5006V77.8751L62.8921 53.4783C63.9172 52.4536 65.5788 52.4536 66.6039 53.4783L80.5006 67.4013V41.1251ZM43.75 51.6249C43.75 54.5244 46.1005 56.8749 49 56.8749C51.8995 56.8749 54.25 54.5244 54.25 51.6249C54.25 48.7254 51.8995 46.3749 49 46.3749C46.1005 46.3749 43.75 48.7254 43.75 51.6249Z",fill:a||"#687787"})]})},ProfileIcon:function(e){var t=e.className,n=e.styles,i=e.width,o=void 0===i?"32":i,a=e.height,s=void 0===a?"32":a;return(0,r.jsxs)("svg",{className:t,style:c({},n),width:o,height:s,viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M64.1971 32C64.1971 42.1402 59.4661 51.1788 52.0842 57.0414C46.6012 61.3975 39.6545 64 32.0986 64C24.5426 64 17.596 61.3975 12.1129 57.0414C4.73099 51.1788 0 42.1402 0 32C0 14.3271 14.3712 0 32.0986 0C49.8259 0 64.1971 14.3271 64.1971 32Z",fill:"#E5E5E5"}),(0,r.jsx)("path",{d:"M32.0375 37.5803C39.2897 37.5803 45.1687 31.7193 45.1687 24.4893C45.1687 17.2594 39.2897 11.3984 32.0375 11.3984C24.7853 11.3984 18.9062 17.2594 18.9062 24.4893C18.9062 31.7193 24.7853 37.5803 32.0375 37.5803Z",fill:"#A6AFB2"}),(0,r.jsx)("path",{d:"M52.3384 57.0411C46.8554 61.3972 39.9088 63.9996 32.3528 63.9996C24.7969 63.9996 17.8502 61.3972 12.3672 57.0411C14.9628 48.4903 22.9285 42.2651 32.3528 42.2651C41.7771 42.2651 49.7428 48.4903 52.3384 57.0411Z",fill:"#A6AFB2"})]})},AnnouncementIcon:function(e){var t=e.width,n=void 0===t?"28":t,i=e.height,o=void 0===i?"28":i,a=e.fill,s=void 0===a?"#C84C0E":a;return(0,r.jsx)("svg",{width:n,height:o,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M24.6665 0.666016H3.33317C1.8665 0.666016 0.679837 1.86602 0.679837 3.33268L0.666504 27.3327L5.99984 21.9993H24.6665C26.1332 21.9993 27.3332 20.7993 27.3332 19.3327V3.33268C27.3332 1.86602 26.1332 0.666016 24.6665 0.666016ZM15.3332 12.666H12.6665V4.66602H15.3332V12.666ZM15.3332 17.9993H12.6665V15.3327H15.3332V17.9993Z",fill:s})})},ReceiptIcon:function(e){var t=e.fill,n=void 0===t?"white":t,i=e.width,o=void 0===i?"24":i,a=e.height,s=void 0===a?"24":a;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:s,viewBox:"0 0 24 24",width:o,children:[(0,r.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,r.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z",fill:n})]})},CreateEstimateIcon:function(e){var t=e.className,n=e.style,i=void 0===n?{}:n,o=e.fill,a=void 0===o?"#C84C0E":o,s=e.width,l=void 0===s?"18":s,c=e.height,u=void 0===c?"18":c;return(0,r.jsx)("svg",{width:l,height:u,viewBox:"0 0 18 18",fill:"none",className:t,style:i,xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M14 8.75C14.6125 8.75 15.1987 8.86375 15.75 9.05625V5.25L10.5 0H1.75C0.77875 0 0 0.77875 0 1.75V14C0 14.9712 0.7875 15.75 1.75 15.75H9.05625C8.86375 15.1987 8.75 14.6125 8.75 14C8.75 11.1037 11.1037 8.75 14 8.75ZM9.625 1.3125L14.4375 6.125H9.625V1.3125ZM17.5 13.125V14.875H14.875V17.5H13.125V14.875H10.5V13.125H13.125V10.5H14.875V13.125H17.5Z",fill:a})})},GotoInboxIcon:function(e){var t=e.className,n=e.style,i=void 0===n?{}:n,o=e.fill,a=void 0===o?"#C84C0E":o,s=e.width,l=void 0===s?"15":s,c=e.height,u=void 0===c?"13":c;return(0,r.jsx)("svg",{width:l,height:u,viewBox:"0 0 15 13",fill:"none",className:t,style:i,xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M2.14286 6.5C2.14286 2.91056 5.02143 0 8.57143 0C12.1214 0 15 2.91056 15 6.5C15 10.0894 12.1214 13 8.57143 13C7.1 13 5.74286 12.4944 4.65714 11.6567L5.67143 10.6167C6.49286 11.2017 7.49286 11.5556 8.57143 11.5556C11.3357 11.5556 13.5714 9.295 13.5714 6.5C13.5714 3.705 11.3357 1.44444 8.57143 1.44444C5.80714 1.44444 3.57143 3.705 3.57143 6.5H5.71429L2.85714 9.38889L0 6.5H2.14286Z",fill:a})})},ArrowLeft:function(e){var t=e.className,n=e.width,i=void 0===n?"19":n,o=e.height,a=void 0===o?"19":o,s=e.fill,l=void 0===s?"black":s;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",vi