master-components-react 1.9.0 → 1.10.0

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.
@@ -1,5 +1,5 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.MainButton-module__mainButton{border-radius:.5rem;min-width:7.75rem;border:.125rem solid rgba(255,255,255,.12);background:#7f56d9;display:flex;justify-content:center;align-items:center;padding:.5rem 1.25rem;cursor:pointer}.MainButton-module__mainButton:hover{background:#6941c6}.MainButton-module__mainButton:active{box-shadow:0 0 0 .0625rem #0a0d122e inset,0 -.125rem #0a0d120d inset,0 .0625rem .125rem #0a0d120d,0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.MainButton-module__mainButton.MainButton-module__sm{height:2.25rem}.MainButton-module__mainButton.MainButton-module__sm.MainButton-module__onlyIcon{height:2.25rem;width:2.25rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__sm .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__md{height:2.5rem}.MainButton-module__mainButton.MainButton-module__md.MainButton-module__onlyIcon{height:2.5rem;width:2.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__md .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__lg{height:2.75rem}.MainButton-module__mainButton.MainButton-module__lg.MainButton-module__onlyIcon{height:2.75rem;width:2.75rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__lg .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__xl{height:3rem}.MainButton-module__mainButton.MainButton-module__xl.MainButton-module__onlyIcon{height:3rem;width:3rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.5rem}.MainButton-module__mainButton.MainButton-module__xl2{height:3.75rem}.MainButton-module__mainButton.MainButton-module__xl2.MainButton-module__onlyIcon{height:3.5rem;width:3.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl2 .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1.125rem;line-height:1.75rem}.MainButton-module__mainButton.MainButton-module__disabled{border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#f5f5f5;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.MainButton-module__mainButton.MainButton-module__disabled .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#a4a7ae}.MainButton-module__mainButton .MainButton-module__buttonSlot{display:flex;align-items:center;gap:.5rem}.MainButton-module__mainButton .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#fff;font-family:Inter,sans-serif;font-style:normal;font-weight:400}.FormInput-module__inputWrapper{width:100%;display:grid}.FormInput-module__inputWrapper .FormInput-module__inputLabel{color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputLabel .FormInput-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer{place-items:center;position:relative;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent{width:100%;display:flex;align-items:center;flex-wrap:wrap}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent .FormInput-module__inputTags{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-right:.5rem;padding:.5rem 0}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input{flex:1 0 100px;width:auto;background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input::placeholder{color:#717680}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error.FormInput-module__focused{outline-width:.125rem;outline-color:#f04438}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon,.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{display:flex;justify-content:center;align-items:center}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon{margin:0 .5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{margin-right:.375rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown{padding:.5rem .75rem;display:grid;place-items:center;position:relative;color:#414651;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;cursor:pointer;display:flex;align-items:center;gap:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul{width:100%;position:absolute;left:50%;top:100%;transform:translate(-50%);max-height:9.375rem;overflow:hidden;background-color:#fff;border:.0625rem solid #d5d7da;border-radius:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li{padding:.375rem .75rem;width:100%;display:flex;flex-direction:column;font-size:.875rem;line-height:initial;cursor:pointer}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li:hover{background-color:#d5d7da}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown.FormInput-module__http{cursor:initial;border-right:.0625rem solid #d5d7da;margin-right:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__sm{min-height:2.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__md{min-height:2.75rem}.FormInput-module__inputWrapper .FormInput-module__withCopy{display:grid;place-items:center;position:relative;font-size:1rem;font-weight:400;line-height:1.5rem;gap:.5rem;display:flex;align-items:center;gap:.25rem;border-radius:0rem .5rem .5rem 0rem;border:.0625rem solid #d5d7da;background:#fff;padding:.625rem .875rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:600;line-height:1.25rem;cursor:pointer;-webkit-user-select:none;user-select:none}.FormInput-module__inputWrapper .FormInput-module__withCopy:hover{background:#f0f0f0}.FormInput-module__inputWrapper .FormInput-module__withCopy:active{background:#ececec}.FormInput-module__inputWrapper .FormInput-module__inputHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputHelperText.FormInput-module__error p{color:#d92d20}.Checkbox-module__checkboxWrapper{overflow:hidden;border:.0625rem solid #d1d5d6;background:#fff;position:relative;border-radius:.25rem;cursor:pointer;transition:.2;display:grid;place-items:center}.Checkbox-module__checkboxWrapper.Checkbox-module__sm{width:1rem;height:1rem}.Checkbox-module__checkboxWrapper.Checkbox-module__md{width:1.25rem;height:1.25rem}.Checkbox-module__checkboxWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark{display:grid;place-items:center}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark svg{width:.625rem;-webkit-user-select:none;user-select:none;pointer-events:none}.Checkbox-module__checkboxWrapper.Checkbox-module__checked,.Checkbox-module__checkboxWrapper.Checkbox-module__checked:hover{background:#7f56d9;border:.0625rem solid #7f56d9}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg{opacity:.4}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg path{stroke:#d5d7da}.Checkbox-module__checkboxWrapper.Checkbox-module__disabled{pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important;background:#fafafa!important;border:.0625rem solid #d5d7da!important}*{-webkit-user-select:none;user-select:none}.Tag-module__tagContainer{width:fit-content;display:flex;justify-content:center;align-items:center;gap:.375rem;border-radius:.375rem;border:1px solid #d5d7da;background:#fff;padding:.25rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__sm{padding:.5rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__md{padding:.125rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__lg{padding:.25rem}.Tag-module__tagContainer.Tag-module__sm{height:24px}.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagNumber{font-size:.75rem;line-height:1.125rem}.Tag-module__tagContainer.Tag-module__md{height:24px}.Tag-module__tagContainer.Tag-module__md .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__md .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer.Tag-module__lg{height:28px}.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer .Tag-module__tagLabel{white-space:nowrap;word-wrap:break-word;color:#414651;font-family:Inter,sans-serif}.Tag-module__tagContainer .Tag-module__tagNumber{display:flex;padding:0 5px;flex-direction:column;justify-content:center;align-items:center;border-radius:3px;background:#f5f5f5;color:#414651;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}.Tag-module__tagContainer .Tag-module__tagClose{display:grid;place-items:center;cursor:pointer}.Textarea-module__textareaContainer{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;flex-shrink:0}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel{display:flex;align-items:center;gap:.125rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel p{font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel .Textarea-module__required{color:#7f56d9;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__wrap{position:relative;display:inline-block}.Textarea-module__textareaContainer .Textarea-module__wrap:after{content:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%3e%3cpath%20d='M10%202L2%2010'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3cpath%20d='M11%207L7%2011'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3c/svg%3e");width:.9375rem;background:transparent;position:absolute;right:.125rem;bottom:.3125rem;pointer-events:none;border-radius:25%}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;padding:.75rem .875rem;border:none;outline-color:#d5d7da;outline-width:.0625rem;outline-style:solid;position:relative;color:#181d27;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-resizer{display:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar{width:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-track{-webkit-box-shadow:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-thumb{background-color:none;outline:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__focused{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#fda29b;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error.Textarea-module__focused{outline-color:#f04438}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::placeholder{color:#717680;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle{color:#535862;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle.Textarea-module__error{color:#d92d20}.Toggle-module__toggleWrapper{width:2.25rem;height:1.25rem;position:relative;overflow:hidden;background:#f5f5f5;border-radius:624.9375rem;cursor:pointer}.Toggle-module__toggleWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Toggle-module__toggleWrapper .Toggle-module__toggleState{width:1.125rem;height:1rem;width:1rem;border-radius:624.9375rem;background:#fff;transition:.2s;position:absolute;top:50%;left:.125rem;transform:translateY(-50%)}.Toggle-module__toggleWrapper.Toggle-module__checked{background:#7f56d9}.Toggle-module__toggleWrapper.Toggle-module__checked .Toggle-module__toggleState{left:calc(100% - 1.25rem)}.Toggle-module__toggleWrapper.Toggle-module__checked.Toggle-module__disabled{background:#f5f5f5;cursor:no-drop}.Toggle-module__toggleWrapper.Toggle-module__disabled{pointer-events:none;-webkit-user-select:none;user-select:none;background:#f5f5f5}.Toggle-module__toggleWrapper.Toggle-module__disabled .Toggle-module__toggleState{background:#fafafa}.Radio-module__radioWrapper{border-radius:50%;overflow:hidden;position:relative;border-radius:624.9375rem;border:.0625rem solid #d5d7da;cursor:pointer;transition:.2s}.Radio-module__radioWrapper.Radio-module__sm{width:1rem;height:1rem}.Radio-module__radioWrapper.Radio-module__md{width:1.25rem;height:1.25rem;transition:.2s}.Radio-module__radioWrapper.Radio-module__md.Radio-module__checked .Radio-module__innerCircle{width:.5rem;height:.5rem;transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState{width:100%;background:#10b77f;border-radius:50%;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState .Radio-module__innerCircle{border-radius:624.9375rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.375rem;height:.375rem;background-color:#fff}.Radio-module__radioWrapper.Radio-module__checked{background:#7f56d9;border:none}.Radio-module__radioWrapper.Radio-module__checked .Radio-module__radioState{opacity:1}.Radio-module__radioWrapper.Radio-module__disabled{pointer-events:none;background:#fafafa;border:.0625rem solid #d5d7da}.Radio-module__radioWrapper.Radio-module__disabled .Radio-module__radioState{background:#e9ebec}*{font-family:Inter,sans-serif;-webkit-user-select:none;user-select:none}*::-webkit-scrollbar{display:block!important}*::-webkit-scrollbar-thumb{border:.25rem solid #fff;opacity:.15;background:#00000026;border-radius:624.9375rem;height:7.75rem}.Dropdown-module__dropdownWrapper{width:100%;display:grid}.Dropdown-module__dropdownWrapper .Dropdown-module__placeHolder{color:#717680;text-overflow:ellipsis;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel{display:flex;align-items:center;gap:.125rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel .Dropdown-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer{place-items:center;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem;padding-right:.75rem;position:relative}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags{width:100%}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__selectedList{font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#181d27}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__additional{color:#181d27;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#00adee}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input{background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input::placeholder{color:#717680}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList{width:100%;margin-top:.25rem;position:absolute;top:100%;left:0;border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#fff;box-shadow:0 .75rem 1rem -.25rem #0a0d1214,0 .25rem .375rem -.125rem #0a0d1208,0 .125rem .125rem -.0625rem #0a0d120a;display:flex;max-height:16rem;padding:.25rem;flex-direction:column;align-items:flex-start;flex:1 0 0;overflow:auto}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li{width:100%;padding:.5rem;gap:.5rem;flex:1 0 0;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li p{color:#181d27;font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li:hover{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__disabled{pointer-events:none;opacity:.6}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__selected{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error.Dropdown-module__focused{outline-width:.125rem;outline-color:#f04438}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled{pointer-events:none;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{min-height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{min-height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText.Dropdown-module__error p{color:#d92d20}.Tooltip-module__tooltipContainer{position:relative;width:100%}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent{border-radius:.5rem;background:#181d27;padding:.75rem;width:320px;min-width:118px;position:absolute;z-index:99999;word-break:break-all}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent:before{content:" ";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:6px;margin-left:-6px}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top{top:unset;bottom:calc(100% + 12px)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top:before{top:100%;border-top-color:#181d27;left:var(--pointer-position)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right{left:calc(100% + 30px);top:50%;transform:translate(0) translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right:before{left:-6px;top:50%;transform:translate(0) translateY(-50%);border-right-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom{top:calc(100% + 12px);bottom:unset}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom:before{bottom:100%;left:var(--pointer-position);border-bottom-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left{left:unset;right:calc(100% + 12px);top:50%;transform:translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left:before{left:auto;right:-12px;top:50%;transform:translate(0) translateY(-50%);border-left-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipTitle{width:100%;word-break:break-all;color:#fff;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:600;line-height:1.125rem}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipText{width:100%;word-break:break-all;color:#ffffffe6;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- import ar, { useRef as G, useState as V, useEffect as ve } from "react";
1
+ (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.MainButton-module__mainButton{border-radius:.5rem;min-width:7.75rem;border:.125rem solid rgba(255,255,255,.12);background:#7f56d9;display:flex;justify-content:center;align-items:center;padding:.5rem 1.25rem;cursor:pointer}.MainButton-module__mainButton:hover{background:#6941c6}.MainButton-module__mainButton:active{box-shadow:0 0 0 .0625rem #0a0d122e inset,0 -.125rem #0a0d120d inset,0 .0625rem .125rem #0a0d120d,0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.MainButton-module__mainButton.MainButton-module__sm{height:2.25rem}.MainButton-module__mainButton.MainButton-module__sm.MainButton-module__onlyIcon{height:2.25rem;width:2.25rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__sm .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__md{height:2.5rem}.MainButton-module__mainButton.MainButton-module__md.MainButton-module__onlyIcon{height:2.5rem;width:2.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__md .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__lg{height:2.75rem}.MainButton-module__mainButton.MainButton-module__lg.MainButton-module__onlyIcon{height:2.75rem;width:2.75rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__lg .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__xl{height:3rem}.MainButton-module__mainButton.MainButton-module__xl.MainButton-module__onlyIcon{height:3rem;width:3rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.5rem}.MainButton-module__mainButton.MainButton-module__xl2{height:3.75rem}.MainButton-module__mainButton.MainButton-module__xl2.MainButton-module__onlyIcon{height:3.5rem;width:3.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl2 .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1.125rem;line-height:1.75rem}.MainButton-module__mainButton.MainButton-module__disabled{border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#f5f5f5;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.MainButton-module__mainButton.MainButton-module__disabled .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#a4a7ae}.MainButton-module__mainButton .MainButton-module__buttonSlot{display:flex;align-items:center;gap:.5rem}.MainButton-module__mainButton .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#fff;font-family:Inter,sans-serif;font-style:normal;font-weight:400}.FormInput-module__inputWrapper{width:100%;display:grid}.FormInput-module__inputWrapper .FormInput-module__inputLabel{color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputLabel .FormInput-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer{place-items:center;position:relative;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent{width:100%;display:flex;align-items:center;flex-wrap:wrap}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent .FormInput-module__inputTags{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-right:.5rem;padding:.5rem 0}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input{flex:1 0 100px;width:auto;background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputContent input::placeholder{color:#717680}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__error.FormInput-module__focused{outline-width:.125rem;outline-color:#f04438}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon,.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{display:flex;justify-content:center;align-items:center}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__rightIcon{margin:0 .5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__leftIcon{margin-right:.375rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown{padding:.5rem .75rem;display:grid;place-items:center;position:relative;color:#414651;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;cursor:pointer;display:flex;align-items:center;gap:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul{width:100%;position:absolute;left:50%;top:100%;transform:translate(-50%);max-height:9.375rem;overflow:hidden;background-color:#fff;border:.0625rem solid #d5d7da;border-radius:.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li{padding:.375rem .75rem;width:100%;display:flex;flex-direction:column;font-size:.875rem;line-height:initial;cursor:pointer}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown ul li:hover{background-color:#d5d7da}.FormInput-module__inputWrapper .FormInput-module__inputContainer .FormInput-module__inputDropDown.FormInput-module__http{cursor:initial;border-right:.0625rem solid #d5d7da;margin-right:.75rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__sm{min-height:2.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__md{min-height:2.75rem}.FormInput-module__inputWrapper .FormInput-module__withCopy{display:grid;place-items:center;position:relative;font-size:1rem;font-weight:400;line-height:1.5rem;gap:.5rem;display:flex;align-items:center;gap:.25rem;border-radius:0rem .5rem .5rem 0rem;border:.0625rem solid #d5d7da;background:#fff;padding:.625rem .875rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:600;line-height:1.25rem;cursor:pointer;-webkit-user-select:none;user-select:none}.FormInput-module__inputWrapper .FormInput-module__withCopy:hover{background:#f0f0f0}.FormInput-module__inputWrapper .FormInput-module__withCopy:active{background:#ececec}.FormInput-module__inputWrapper .FormInput-module__inputHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.FormInput-module__inputWrapper .FormInput-module__inputHelperText.FormInput-module__error p{color:#d92d20}.Checkbox-module__checkboxWrapper{overflow:hidden;border:.0625rem solid #d1d5d6;background:#fff;position:relative;border-radius:.25rem;cursor:pointer;transition:.2;display:grid;place-items:center}.Checkbox-module__checkboxWrapper.Checkbox-module__sm{width:1rem;height:1rem}.Checkbox-module__checkboxWrapper.Checkbox-module__md{width:1.25rem;height:1.25rem}.Checkbox-module__checkboxWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark{display:grid;place-items:center}.Checkbox-module__checkboxWrapper .Checkbox-module__checkMark svg{width:.625rem;-webkit-user-select:none;user-select:none;pointer-events:none}.Checkbox-module__checkboxWrapper.Checkbox-module__checked,.Checkbox-module__checkboxWrapper.Checkbox-module__checked:hover{background:#7f56d9;border:.0625rem solid #7f56d9}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg{opacity:.4}.Checkbox-module__checkboxWrapper.Checkbox-module__checked.Checkbox-module__disabled svg path{stroke:#d5d7da}.Checkbox-module__checkboxWrapper.Checkbox-module__disabled{pointer-events:none!important;-webkit-user-select:none!important;user-select:none!important;background:#fafafa!important;border:.0625rem solid #d5d7da!important}*{-webkit-user-select:none;user-select:none}.Tag-module__tagContainer{width:fit-content;display:flex;justify-content:center;align-items:center;gap:.375rem;border-radius:.375rem;border:1px solid #d5d7da;background:#fff;padding:.25rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__sm{padding:.5rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__md{padding:.125rem}.Tag-module__tagContainer.Tag-module__onlyLabel.Tag-module__lg{padding:.25rem}.Tag-module__tagContainer.Tag-module__sm{height:24px}.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__sm .Tag-module__tagNumber{font-size:.75rem;line-height:1.125rem}.Tag-module__tagContainer.Tag-module__md{height:24px}.Tag-module__tagContainer.Tag-module__md .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__md .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer.Tag-module__lg{height:28px}.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagLabel,.Tag-module__tagContainer.Tag-module__lg .Tag-module__tagNumber{font-size:.875rem;line-height:1.25rem}.Tag-module__tagContainer .Tag-module__tagLabel{white-space:nowrap;word-wrap:break-word;color:#414651;font-family:Inter,sans-serif}.Tag-module__tagContainer .Tag-module__tagNumber{display:flex;padding:0 5px;flex-direction:column;justify-content:center;align-items:center;border-radius:3px;background:#f5f5f5;color:#414651;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}.Tag-module__tagContainer .Tag-module__tagClose{display:grid;place-items:center;cursor:pointer}.Textarea-module__textareaContainer{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;flex-shrink:0}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel{display:flex;align-items:center;gap:.125rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel p{font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__textAreaLabel .Textarea-module__required{color:#7f56d9;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:500;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__wrap{position:relative;display:inline-block}.Textarea-module__textareaContainer .Textarea-module__wrap:after{content:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2012%2012'%20fill='none'%3e%3cpath%20d='M10%202L2%2010'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3cpath%20d='M11%207L7%2011'%20stroke='%23D5D7DA'%20stroke-linecap='round'/%3e%3c/svg%3e");width:.9375rem;background:transparent;position:absolute;right:.125rem;bottom:.3125rem;pointer-events:none;border-radius:25%}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;padding:.75rem .875rem;border:none;outline-color:#d5d7da;outline-width:.0625rem;outline-style:solid;position:relative;color:#181d27;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-resizer{display:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar{width:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-track{-webkit-box-shadow:none}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::-webkit-scrollbar-thumb{background-color:none;outline:0}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__focused{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#fda29b;outline-width:.125rem;outline-style:solid}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea.Textarea-module__error.Textarea-module__focused{outline-color:#f04438}.Textarea-module__textareaContainer .Textarea-module__wrap .Textarea-module__textarea::placeholder{color:#717680;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle{color:#535862;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.25rem}.Textarea-module__textareaContainer .Textarea-module__helperTextStyle.Textarea-module__error{color:#d92d20}.Toggle-module__toggleWrapper{width:2.25rem;height:1.25rem;position:relative;overflow:hidden;background:#f5f5f5;border-radius:624.9375rem;cursor:pointer}.Toggle-module__toggleWrapper:active{box-shadow:0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.Toggle-module__toggleWrapper .Toggle-module__toggleState{width:1.125rem;height:1rem;width:1rem;border-radius:624.9375rem;background:#fff;transition:.2s;position:absolute;top:50%;left:.125rem;transform:translateY(-50%)}.Toggle-module__toggleWrapper.Toggle-module__checked{background:#7f56d9}.Toggle-module__toggleWrapper.Toggle-module__checked .Toggle-module__toggleState{left:calc(100% - 1.25rem)}.Toggle-module__toggleWrapper.Toggle-module__checked.Toggle-module__disabled{background:#f5f5f5;cursor:no-drop}.Toggle-module__toggleWrapper.Toggle-module__disabled{pointer-events:none;-webkit-user-select:none;user-select:none;background:#f5f5f5}.Toggle-module__toggleWrapper.Toggle-module__disabled .Toggle-module__toggleState{background:#fafafa}.Radio-module__radioWrapper{border-radius:50%;overflow:hidden;position:relative;border-radius:624.9375rem;border:.0625rem solid #d5d7da;cursor:pointer;transition:.2s}.Radio-module__radioWrapper.Radio-module__sm{width:1rem;height:1rem}.Radio-module__radioWrapper.Radio-module__md{width:1.25rem;height:1.25rem;transition:.2s}.Radio-module__radioWrapper.Radio-module__md.Radio-module__checked .Radio-module__innerCircle{width:.5rem;height:.5rem;transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState{width:100%;background:#10b77f;border-radius:50%;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:.2s}.Radio-module__radioWrapper .Radio-module__radioState .Radio-module__innerCircle{border-radius:624.9375rem;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:.375rem;height:.375rem;background-color:#fff}.Radio-module__radioWrapper.Radio-module__checked{background:#7f56d9;border:none}.Radio-module__radioWrapper.Radio-module__checked .Radio-module__radioState{opacity:1}.Radio-module__radioWrapper.Radio-module__disabled{pointer-events:none;background:#fafafa;border:.0625rem solid #d5d7da}.Radio-module__radioWrapper.Radio-module__disabled .Radio-module__radioState{background:#e9ebec}*{font-family:Inter,sans-serif;-webkit-user-select:none;user-select:none}*::-webkit-scrollbar{display:block!important}*::-webkit-scrollbar-thumb{border:.25rem solid #fff;opacity:.15;background:#00000026;border-radius:624.9375rem;height:7.75rem}.Dropdown-module__dropdownWrapper{width:100%;display:grid}.Dropdown-module__dropdownWrapper .Dropdown-module__placeHolder{color:#717680;text-overflow:ellipsis;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel{display:flex;align-items:center;gap:.125rem;color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownLabel .Dropdown-module__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer{place-items:center;margin:.375rem 0;width:100%;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d;display:flex;padding-left:.75rem;padding-right:.75rem;position:relative}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags{width:100%}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__selectedList{font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#181d27}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__selectedTags .Dropdown-module__additional{color:#181d27;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;color:#00adee}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input{background-color:transparent;width:100%;border:none;padding:.5rem 0;color:#181d27;font-family:Inter,sans-serif;font-size:1rem;font-style:normal;font-weight:400;line-height:1.5rem;outline:none}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer input::placeholder{color:#717680}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList{width:100%;margin-top:.25rem;position:absolute;top:100%;left:0;border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#fff;box-shadow:0 .75rem 1rem -.25rem #0a0d1214,0 .25rem .375rem -.125rem #0a0d1208,0 .125rem .125rem -.0625rem #0a0d120a;display:flex;max-height:16rem;padding:.25rem;flex-direction:column;align-items:flex-start;flex:1 0 0;overflow:auto}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li{width:100%;padding:.5rem;gap:.5rem;flex:1 0 0;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li p{color:#181d27;font-size:1rem;font-style:normal;font-weight:500;line-height:1.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li:hover{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__disabled{pointer-events:none;opacity:.6}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer .Dropdown-module__dropdownList li.Dropdown-module__selected{border-radius:.375rem;background:#fafafa}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__error.Dropdown-module__focused{outline-width:.125rem;outline-color:#f04438}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled{pointer-events:none;border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__sm{min-height:2.5rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownContainer.Dropdown-module__md{min-height:2.75rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.Dropdown-module__dropdownWrapper .Dropdown-module__dropdownHelperText.Dropdown-module__error p{color:#d92d20}.Tooltip-module__tooltipContainer{position:relative;width:100%}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent{border-radius:.5rem;background:#181d27;padding:.75rem;width:320px;min-width:118px;position:absolute;z-index:99999;word-break:break-all}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent:before{content:" ";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-width:6px;margin-left:-6px}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top{top:unset;bottom:calc(100% + 12px)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__top:before{top:100%;border-top-color:#181d27;left:var(--pointer-position)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right{left:calc(100% + 30px);top:50%;transform:translate(0) translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__right:before{left:-6px;top:50%;transform:translate(0) translateY(-50%);border-right-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom{top:calc(100% + 12px);bottom:unset}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__bottom:before{bottom:100%;left:var(--pointer-position);border-bottom-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left{left:unset;right:calc(100% + 12px);top:50%;transform:translateY(-50%)}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent.Tooltip-module__left:before{left:auto;right:-12px;top:50%;transform:translate(0) translateY(-50%);border-left-color:#181d27}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipTitle{width:100%;word-break:break-all;color:#fff;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:600;line-height:1.125rem}.Tooltip-module__tooltipContainer .Tooltip-module__tooltipContent .Tooltip-module__tooltipText{width:100%;word-break:break-all;color:#ffffffe6;font-family:Inter,sans-serif;font-size:.75rem;font-style:normal;font-weight:500;line-height:1.125rem}.Popup-module__modalOverlay{width:100vw;height:100vh;display:grid;place-items:center;position:fixed;top:0;left:0;z-index:250;background:#0a0d12b3}.Popup-module__modalOverlay ::-webkit-scrollbar{width:0}.Popup-module__modalOverlay ::-webkit-scrollbar-track{-webkit-box-shadow:none}.Popup-module__modalOverlay ::-webkit-scrollbar-thumb{background-color:none;outline:0}.Popup-module__modalOverlay.Popup-module__popupDrawerMode{overflow:hidden;place-items:end}.Popup-module__modalOverlay.Popup-module__popupDrawerMode .Popup-module__popupContainer{min-height:unset;max-height:unset;min-width:17.5rem;height:100vh!important;animation:Popup-module__EnterFromLeft .3s forwards!important}@keyframes Popup-module__EnterFromLeft{0%{left:100%}to{left:0}}.Popup-module__modalOverlay .Popup-module__popupContainer{padding:1.5rem;min-height:13.75rem;max-height:calc(100vh - 5.625rem);position:relative;transition:.2s;z-index:280;border-radius:.75rem;background:#fff;box-shadow:0 20px 24px -4px #0a0d1214,0 8px 8px -4px #0a0d1208,0 3px 3px -1.5px #0a0d120a;overflow:auto;animation:Popup-module__fadeIn .3s forwards}@keyframes Popup-module__fadeIn{0%{opacity:0}to{opacity:1}}.Popup-module__modalOverlay .Popup-module__popupContainer.Popup-module__withOptions{width:400px}.Popup-module__modalOverlay .Popup-module__popupContainer.Popup-module__withOptions.Popup-module__horizontal{width:544px}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader{width:100%;position:sticky;top:0;background:#fff;z-index:1}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__popupTitle{margin-top:1rem}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__popupTitle h2{color:#181d27;font-size:1.125rem;font-style:normal;font-weight:600;line-height:28px;font-family:Inter,sans-serif;line-height:1.75rem}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__popupDescription{margin-top:.25rem}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__popupDescription p{color:#535862;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem;font-family:Inter,sans-serif}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__typeIcon{display:flex;align-items:center;justify-content:space-between}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__popupHeader .Popup-module__typeIcon .Popup-module__icon{display:grid;place-items:center;width:3rem;height:3rem;border-radius:624.9375rem}.Popup-module__modalOverlay .Popup-module__popupContainer .Popup-module__templateWrapper{width:100%;position:relative}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import ir, { useRef as Y, useState as q, useEffect as fe } from "react";
3
3
  var Xe = { exports: {} }, Se = {};
4
4
  /**
5
5
  * @license React
@@ -10,21 +10,21 @@ var Xe = { exports: {} }, Se = {};
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
- var or;
14
- function Rr() {
15
- if (or) return Se;
16
- or = 1;
17
- var l = ar, u = Symbol.for("react.element"), s = Symbol.for("react.fragment"), C = Object.prototype.hasOwnProperty, g = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, f = { key: !0, ref: !0, __self: !0, __source: !0 };
18
- function j(v, c, h) {
19
- var a, m = {}, R = null, k = null;
20
- h !== void 0 && (R = "" + h), c.key !== void 0 && (R = "" + c.key), c.ref !== void 0 && (k = c.ref);
21
- for (a in c) C.call(c, a) && !f.hasOwnProperty(a) && (m[a] = c[a]);
22
- if (v && v.defaultProps) for (a in c = v.defaultProps, c) m[a] === void 0 && (m[a] = c[a]);
23
- return { $$typeof: u, type: v, key: R, ref: k, props: m, _owner: g.current };
13
+ var sr;
14
+ function Er() {
15
+ if (sr) return Se;
16
+ sr = 1;
17
+ var s = ir, u = Symbol.for("react.element"), n = Symbol.for("react.fragment"), x = Object.prototype.hasOwnProperty, y = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function g(_, i, p) {
19
+ var a, v = {}, k = null, E = null;
20
+ p !== void 0 && (k = "" + p), i.key !== void 0 && (k = "" + i.key), i.ref !== void 0 && (E = i.ref);
21
+ for (a in i) x.call(i, a) && !d.hasOwnProperty(a) && (v[a] = i[a]);
22
+ if (_ && _.defaultProps) for (a in i = _.defaultProps, i) v[a] === void 0 && (v[a] = i[a]);
23
+ return { $$typeof: u, type: _, key: k, ref: E, props: v, _owner: y.current };
24
24
  }
25
- return Se.Fragment = s, Se.jsx = j, Se.jsxs = j, Se;
25
+ return Se.Fragment = n, Se.jsx = g, Se.jsxs = g, Se;
26
26
  }
27
- var Ae = {};
27
+ var We = {};
28
28
  /**
29
29
  * @license React
30
30
  * react-jsx-runtime.development.js
@@ -34,91 +34,91 @@ var Ae = {};
34
34
  * This source code is licensed under the MIT license found in the
35
35
  * LICENSE file in the root directory of this source tree.
36
36
  */
37
- var sr;
38
- function kr() {
39
- return sr || (sr = 1, process.env.NODE_ENV !== "production" && function() {
40
- var l = ar, u = Symbol.for("react.element"), s = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), f = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), v = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), k = Symbol.for("react.offscreen"), w = Symbol.iterator, N = "@@iterator";
41
- function B(e) {
37
+ var ar;
38
+ function Rr() {
39
+ return ar || (ar = 1, process.env.NODE_ENV !== "production" && function() {
40
+ var s = ir, u = Symbol.for("react.element"), n = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), _ = Symbol.for("react.context"), i = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), j = Symbol.iterator, L = "@@iterator";
41
+ function H(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
- var r = w && e[w] || e[N];
45
- return typeof r == "function" ? r : null;
44
+ var t = j && e[j] || e[L];
45
+ return typeof t == "function" ? t : null;
46
46
  }
47
- var L = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
- function b(e) {
47
+ var O = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
+ function w(e) {
49
49
  {
50
- for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
51
- o[i - 1] = arguments[i];
52
- H("error", e, o);
50
+ for (var t = arguments.length, l = new Array(t > 1 ? t - 1 : 0), c = 1; c < t; c++)
51
+ l[c - 1] = arguments[c];
52
+ B("error", e, l);
53
53
  }
54
54
  }
55
- function H(e, r, o) {
55
+ function B(e, t, l) {
56
56
  {
57
- var i = L.ReactDebugCurrentFrame, y = i.getStackAddendum();
58
- y !== "" && (r += "%s", o = o.concat([y]));
59
- var T = o.map(function(_) {
60
- return String(_);
57
+ var c = O.ReactDebugCurrentFrame, b = c.getStackAddendum();
58
+ b !== "" && (t += "%s", l = l.concat([b]));
59
+ var T = l.map(function(m) {
60
+ return String(m);
61
61
  });
62
- T.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, T);
62
+ T.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, T);
63
63
  }
64
64
  }
65
- var $ = !1, ee = !1, oe = !1, se = !1, de = !1, re;
66
- re = Symbol.for("react.module.reference");
67
- function fe(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === C || e === f || de || e === g || e === h || e === a || se || e === k || $ || ee || oe || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === m || e.$$typeof === j || e.$$typeof === v || e.$$typeof === c || // This needs to include all possible module reference object
65
+ var $ = !1, X = !1, se = !1, ae = !1, pe = !1, oe;
66
+ oe = Symbol.for("react.module.reference");
67
+ function he(e) {
68
+ return !!(typeof e == "string" || typeof e == "function" || e === x || e === d || pe || e === y || e === p || e === a || ae || e === E || $ || X || se || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === v || e.$$typeof === g || e.$$typeof === _ || e.$$typeof === i || // This needs to include all possible module reference object
69
69
  // types supported by any Flight configuration anywhere since
70
70
  // we don't know which Flight build this will end up being used
71
71
  // with.
72
- e.$$typeof === re || e.getModuleId !== void 0));
72
+ e.$$typeof === oe || e.getModuleId !== void 0));
73
73
  }
74
- function $e(e, r, o) {
75
- var i = e.displayName;
76
- if (i)
77
- return i;
78
- var y = r.displayName || r.name || "";
79
- return y !== "" ? o + "(" + y + ")" : o;
74
+ function Le(e, t, l) {
75
+ var c = e.displayName;
76
+ if (c)
77
+ return c;
78
+ var b = t.displayName || t.name || "";
79
+ return b !== "" ? l + "(" + b + ")" : l;
80
80
  }
81
- function me(e) {
81
+ function ye(e) {
82
82
  return e.displayName || "Context";
83
83
  }
84
84
  function W(e) {
85
85
  if (e == null)
86
86
  return null;
87
- if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
87
+ if (typeof e.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
88
88
  return e.displayName || e.name || null;
89
89
  if (typeof e == "string")
90
90
  return e;
91
91
  switch (e) {
92
- case C:
92
+ case x:
93
93
  return "Fragment";
94
- case s:
94
+ case n:
95
95
  return "Portal";
96
- case f:
96
+ case d:
97
97
  return "Profiler";
98
- case g:
98
+ case y:
99
99
  return "StrictMode";
100
- case h:
100
+ case p:
101
101
  return "Suspense";
102
102
  case a:
103
103
  return "SuspenseList";
104
104
  }
105
105
  if (typeof e == "object")
106
106
  switch (e.$$typeof) {
107
+ case _:
108
+ var t = e;
109
+ return ye(t) + ".Consumer";
110
+ case g:
111
+ var l = e;
112
+ return ye(l._context) + ".Provider";
113
+ case i:
114
+ return Le(e, e.render, "ForwardRef");
107
115
  case v:
108
- var r = e;
109
- return me(r) + ".Consumer";
110
- case j:
111
- var o = e;
112
- return me(o._context) + ".Provider";
113
- case c:
114
- return $e(e, e.render, "ForwardRef");
115
- case m:
116
- var i = e.displayName || null;
117
- return i !== null ? i : W(e.type) || "Memo";
118
- case R: {
119
- var y = e, T = y._payload, _ = y._init;
116
+ var c = e.displayName || null;
117
+ return c !== null ? c : W(e.type) || "Memo";
118
+ case k: {
119
+ var b = e, T = b._payload, m = b._init;
120
120
  try {
121
- return W(_(T));
121
+ return W(m(T));
122
122
  } catch {
123
123
  return null;
124
124
  }
@@ -126,18 +126,18 @@ function kr() {
126
126
  }
127
127
  return null;
128
128
  }
129
- var Y = Object.assign, X = 0, Pe, xe, z, ae, I, te, Z;
130
- function D() {
129
+ var U = Object.assign, Z = 0, Ce, Oe, be, ee, ie, M, le;
130
+ function re() {
131
131
  }
132
- D.__reactDisabledLog = !0;
133
- function ye() {
132
+ re.__reactDisabledLog = !0;
133
+ function F() {
134
134
  {
135
- if (X === 0) {
136
- Pe = console.log, xe = console.info, z = console.warn, ae = console.error, I = console.group, te = console.groupCollapsed, Z = console.groupEnd;
135
+ if (Z === 0) {
136
+ Ce = console.log, Oe = console.info, be = console.warn, ee = console.error, ie = console.group, M = console.groupCollapsed, le = console.groupEnd;
137
137
  var e = {
138
138
  configurable: !0,
139
139
  enumerable: !0,
140
- value: D,
140
+ value: re,
141
141
  writable: !0
142
142
  };
143
143
  Object.defineProperties(console, {
@@ -150,194 +150,194 @@ function kr() {
150
150
  groupEnd: e
151
151
  });
152
152
  }
153
- X++;
153
+ Z++;
154
154
  }
155
155
  }
156
- function Oe() {
156
+ function ge() {
157
157
  {
158
- if (X--, X === 0) {
158
+ if (Z--, Z === 0) {
159
159
  var e = {
160
160
  configurable: !0,
161
161
  enumerable: !0,
162
162
  writable: !0
163
163
  };
164
164
  Object.defineProperties(console, {
165
- log: Y({}, e, {
166
- value: Pe
165
+ log: U({}, e, {
166
+ value: Ce
167
167
  }),
168
- info: Y({}, e, {
169
- value: xe
168
+ info: U({}, e, {
169
+ value: Oe
170
170
  }),
171
- warn: Y({}, e, {
172
- value: z
171
+ warn: U({}, e, {
172
+ value: be
173
173
  }),
174
- error: Y({}, e, {
175
- value: ae
174
+ error: U({}, e, {
175
+ value: ee
176
176
  }),
177
- group: Y({}, e, {
178
- value: I
177
+ group: U({}, e, {
178
+ value: ie
179
179
  }),
180
- groupCollapsed: Y({}, e, {
181
- value: te
180
+ groupCollapsed: U({}, e, {
181
+ value: M
182
182
  }),
183
- groupEnd: Y({}, e, {
184
- value: Z
183
+ groupEnd: U({}, e, {
184
+ value: le
185
185
  })
186
186
  });
187
187
  }
188
- X < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
+ Z < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
189
  }
190
190
  }
191
- var U = L.ReactCurrentDispatcher, pe;
192
- function ne(e, r, o) {
191
+ var _e = O.ReactCurrentDispatcher, K;
192
+ function ce(e, t, l) {
193
193
  {
194
- if (pe === void 0)
194
+ if (K === void 0)
195
195
  try {
196
196
  throw Error();
197
- } catch (y) {
198
- var i = y.stack.trim().match(/\n( *(at )?)/);
199
- pe = i && i[1] || "";
197
+ } catch (b) {
198
+ var c = b.stack.trim().match(/\n( *(at )?)/);
199
+ K = c && c[1] || "";
200
200
  }
201
201
  return `
202
- ` + pe + e;
202
+ ` + K + e;
203
203
  }
204
204
  }
205
- var be = !1, le;
205
+ var ve = !1, ue;
206
206
  {
207
- var Le = typeof WeakMap == "function" ? WeakMap : Map;
208
- le = new Le();
207
+ var De = typeof WeakMap == "function" ? WeakMap : Map;
208
+ ue = new De();
209
209
  }
210
- function Ce(e, r) {
211
- if (!e || be)
210
+ function je(e, t) {
211
+ if (!e || ve)
212
212
  return "";
213
213
  {
214
- var o = le.get(e);
215
- if (o !== void 0)
216
- return o;
214
+ var l = ue.get(e);
215
+ if (l !== void 0)
216
+ return l;
217
217
  }
218
- var i;
219
- be = !0;
220
- var y = Error.prepareStackTrace;
218
+ var c;
219
+ ve = !0;
220
+ var b = Error.prepareStackTrace;
221
221
  Error.prepareStackTrace = void 0;
222
222
  var T;
223
- T = U.current, U.current = null, ye();
223
+ T = _e.current, _e.current = null, F();
224
224
  try {
225
- if (r) {
226
- var _ = function() {
225
+ if (t) {
226
+ var m = function() {
227
227
  throw Error();
228
228
  };
229
- if (Object.defineProperty(_.prototype, "props", {
229
+ if (Object.defineProperty(m.prototype, "props", {
230
230
  set: function() {
231
231
  throw Error();
232
232
  }
233
233
  }), typeof Reflect == "object" && Reflect.construct) {
234
234
  try {
235
- Reflect.construct(_, []);
236
- } catch (q) {
237
- i = q;
235
+ Reflect.construct(m, []);
236
+ } catch (V) {
237
+ c = V;
238
238
  }
239
- Reflect.construct(e, [], _);
239
+ Reflect.construct(e, [], m);
240
240
  } else {
241
241
  try {
242
- _.call();
243
- } catch (q) {
244
- i = q;
242
+ m.call();
243
+ } catch (V) {
244
+ c = V;
245
245
  }
246
- e.call(_.prototype);
246
+ e.call(m.prototype);
247
247
  }
248
248
  } else {
249
249
  try {
250
250
  throw Error();
251
- } catch (q) {
252
- i = q;
251
+ } catch (V) {
252
+ c = V;
253
253
  }
254
254
  e();
255
255
  }
256
- } catch (q) {
257
- if (q && i && typeof q.stack == "string") {
258
- for (var p = q.stack.split(`
259
- `), M = i.stack.split(`
260
- `), E = p.length - 1, O = M.length - 1; E >= 1 && O >= 0 && p[E] !== M[O]; )
261
- O--;
262
- for (; E >= 1 && O >= 0; E--, O--)
263
- if (p[E] !== M[O]) {
264
- if (E !== 1 || O !== 1)
256
+ } catch (V) {
257
+ if (V && c && typeof V.stack == "string") {
258
+ for (var h = V.stack.split(`
259
+ `), I = c.stack.split(`
260
+ `), R = h.length - 1, P = I.length - 1; R >= 1 && P >= 0 && h[R] !== I[P]; )
261
+ P--;
262
+ for (; R >= 1 && P >= 0; R--, P--)
263
+ if (h[R] !== I[P]) {
264
+ if (R !== 1 || P !== 1)
265
265
  do
266
- if (E--, O--, O < 0 || p[E] !== M[O]) {
267
- var K = `
268
- ` + p[E].replace(" at new ", " at ");
269
- return e.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", e.displayName)), typeof e == "function" && le.set(e, K), K;
266
+ if (R--, P--, P < 0 || h[R] !== I[P]) {
267
+ var J = `
268
+ ` + h[R].replace(" at new ", " at ");
269
+ return e.displayName && J.includes("<anonymous>") && (J = J.replace("<anonymous>", e.displayName)), typeof e == "function" && ue.set(e, J), J;
270
270
  }
271
- while (E >= 1 && O >= 0);
271
+ while (R >= 1 && P >= 0);
272
272
  break;
273
273
  }
274
274
  }
275
275
  } finally {
276
- be = !1, U.current = T, Oe(), Error.prepareStackTrace = y;
276
+ ve = !1, _e.current = T, ge(), Error.prepareStackTrace = b;
277
277
  }
278
- var we = e ? e.displayName || e.name : "", he = we ? ne(we) : "";
279
- return typeof e == "function" && le.set(e, he), he;
278
+ var Te = e ? e.displayName || e.name : "", me = Te ? ce(Te) : "";
279
+ return typeof e == "function" && ue.set(e, me), me;
280
280
  }
281
- function ie(e, r, o) {
282
- return Ce(e, !1);
281
+ function we(e, t, l) {
282
+ return je(e, !1);
283
283
  }
284
- function ue(e) {
285
- var r = e.prototype;
286
- return !!(r && r.isReactComponent);
284
+ function te(e) {
285
+ var t = e.prototype;
286
+ return !!(t && t.isReactComponent);
287
287
  }
288
- function n(e, r, o) {
288
+ function ne(e, t, l) {
289
289
  if (e == null)
290
290
  return "";
291
291
  if (typeof e == "function")
292
- return Ce(e, ue(e));
292
+ return je(e, te(e));
293
293
  if (typeof e == "string")
294
- return ne(e);
294
+ return ce(e);
295
295
  switch (e) {
296
- case h:
297
- return ne("Suspense");
296
+ case p:
297
+ return ce("Suspense");
298
298
  case a:
299
- return ne("SuspenseList");
299
+ return ce("SuspenseList");
300
300
  }
301
301
  if (typeof e == "object")
302
302
  switch (e.$$typeof) {
303
- case c:
304
- return ie(e.render);
305
- case m:
306
- return n(e.type, r, o);
307
- case R: {
308
- var i = e, y = i._payload, T = i._init;
303
+ case i:
304
+ return we(e.render);
305
+ case v:
306
+ return ne(e.type, t, l);
307
+ case k: {
308
+ var c = e, b = c._payload, T = c._init;
309
309
  try {
310
- return n(T(y), r, o);
310
+ return ne(T(b), t, l);
311
311
  } catch {
312
312
  }
313
313
  }
314
314
  }
315
315
  return "";
316
316
  }
317
- var x = Object.prototype.hasOwnProperty, P = {}, Q = L.ReactDebugCurrentFrame;
318
- function ge(e) {
317
+ var o = Object.prototype.hasOwnProperty, C = {}, N = O.ReactDebugCurrentFrame;
318
+ function z(e) {
319
319
  if (e) {
320
- var r = e._owner, o = n(e.type, e._source, r ? r.type : null);
321
- Q.setExtraStackFrame(o);
320
+ var t = e._owner, l = ne(e.type, e._source, t ? t.type : null);
321
+ N.setExtraStackFrame(l);
322
322
  } else
323
- Q.setExtraStackFrame(null);
323
+ N.setExtraStackFrame(null);
324
324
  }
325
- function Me(e, r, o, i, y) {
325
+ function He(e, t, l, c, b) {
326
326
  {
327
- var T = Function.call.bind(x);
328
- for (var _ in e)
329
- if (T(e, _)) {
330
- var p = void 0;
327
+ var T = Function.call.bind(o);
328
+ for (var m in e)
329
+ if (T(e, m)) {
330
+ var h = void 0;
331
331
  try {
332
- if (typeof e[_] != "function") {
333
- var M = Error((i || "React class") + ": " + o + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
- throw M.name = "Invariant Violation", M;
332
+ if (typeof e[m] != "function") {
333
+ var I = Error((c || "React class") + ": " + l + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
+ throw I.name = "Invariant Violation", I;
335
335
  }
336
- p = e[_](r, _, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
- } catch (E) {
338
- p = E;
336
+ h = e[m](t, m, c, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
+ } catch (R) {
338
+ h = R;
339
339
  }
340
- p && !(p instanceof Error) && (ge(y), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, _, typeof p), ge(null)), p instanceof Error && !(p.message in P) && (P[p.message] = !0, ge(y), b("Failed %s type: %s", o, p.message), ge(null));
340
+ h && !(h instanceof Error) && (z(b), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", c || "React class", l, m, typeof h), z(null)), h instanceof Error && !(h.message in C) && (C[h.message] = !0, z(b), w("Failed %s type: %s", l, h.message), z(null));
341
341
  }
342
342
  }
343
343
  }
@@ -345,10 +345,10 @@ function kr() {
345
345
  function Fe(e) {
346
346
  return Be(e);
347
347
  }
348
- function He(e) {
348
+ function Ve(e) {
349
349
  {
350
- var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
- return o;
350
+ var t = typeof Symbol == "function" && Symbol.toStringTag, l = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
+ return l;
352
352
  }
353
353
  }
354
354
  function qe(e) {
@@ -361,125 +361,125 @@ function kr() {
361
361
  function Ne(e) {
362
362
  return "" + e;
363
363
  }
364
- function We(e) {
364
+ function Me(e) {
365
365
  if (qe(e))
366
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Ne(e);
366
+ return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(e)), Ne(e);
367
367
  }
368
- var ce = L.ReactCurrentOwner, Ve = {
368
+ var de = O.ReactCurrentOwner, Ye = {
369
369
  key: !0,
370
370
  ref: !0,
371
371
  __self: !0,
372
372
  __source: !0
373
- }, De, d, S;
374
- S = {};
375
- function Ye(e) {
376
- if (x.call(e, "ref")) {
377
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
378
- if (r && r.isReactWarning)
373
+ }, Ae, f, A;
374
+ A = {};
375
+ function Ue(e) {
376
+ if (o.call(e, "ref")) {
377
+ var t = Object.getOwnPropertyDescriptor(e, "ref").get;
378
+ if (t && t.isReactWarning)
379
379
  return !1;
380
380
  }
381
381
  return e.ref !== void 0;
382
382
  }
383
- function cr(e) {
384
- if (x.call(e, "key")) {
385
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
386
- if (r && r.isReactWarning)
383
+ function dr(e) {
384
+ if (o.call(e, "key")) {
385
+ var t = Object.getOwnPropertyDescriptor(e, "key").get;
386
+ if (t && t.isReactWarning)
387
387
  return !1;
388
388
  }
389
389
  return e.key !== void 0;
390
390
  }
391
- function dr(e, r) {
392
- if (typeof e.ref == "string" && ce.current && r && ce.current.stateNode !== r) {
393
- var o = W(ce.current.type);
394
- S[o] || (b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(ce.current.type), e.ref), S[o] = !0);
391
+ function fr(e, t) {
392
+ if (typeof e.ref == "string" && de.current && t && de.current.stateNode !== t) {
393
+ var l = W(de.current.type);
394
+ A[l] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(de.current.type), e.ref), A[l] = !0);
395
395
  }
396
396
  }
397
- function fr(e, r) {
397
+ function pr(e, t) {
398
398
  {
399
- var o = function() {
400
- De || (De = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
399
+ var l = function() {
400
+ Ae || (Ae = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
401
401
  };
402
- o.isReactWarning = !0, Object.defineProperty(e, "key", {
403
- get: o,
402
+ l.isReactWarning = !0, Object.defineProperty(e, "key", {
403
+ get: l,
404
404
  configurable: !0
405
405
  });
406
406
  }
407
407
  }
408
- function pr(e, r) {
408
+ function hr(e, t) {
409
409
  {
410
- var o = function() {
411
- d || (d = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
410
+ var l = function() {
411
+ f || (f = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
412
412
  };
413
- o.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
- get: o,
413
+ l.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
+ get: l,
415
415
  configurable: !0
416
416
  });
417
417
  }
418
418
  }
419
- var hr = function(e, r, o, i, y, T, _) {
420
- var p = {
419
+ var _r = function(e, t, l, c, b, T, m) {
420
+ var h = {
421
421
  // This tag allows us to uniquely identify this as a React Element
422
422
  $$typeof: u,
423
423
  // Built-in properties that belong on the element
424
424
  type: e,
425
- key: r,
426
- ref: o,
427
- props: _,
425
+ key: t,
426
+ ref: l,
427
+ props: m,
428
428
  // Record the component responsible for creating this element.
429
429
  _owner: T
430
430
  };
431
- return p._store = {}, Object.defineProperty(p._store, "validated", {
431
+ return h._store = {}, Object.defineProperty(h._store, "validated", {
432
432
  configurable: !1,
433
433
  enumerable: !1,
434
434
  writable: !0,
435
435
  value: !1
436
- }), Object.defineProperty(p, "_self", {
436
+ }), Object.defineProperty(h, "_self", {
437
437
  configurable: !1,
438
438
  enumerable: !1,
439
439
  writable: !1,
440
- value: i
441
- }), Object.defineProperty(p, "_source", {
440
+ value: c
441
+ }), Object.defineProperty(h, "_source", {
442
442
  configurable: !1,
443
443
  enumerable: !1,
444
444
  writable: !1,
445
- value: y
446
- }), Object.freeze && (Object.freeze(p.props), Object.freeze(p)), p;
445
+ value: b
446
+ }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
447
447
  };
448
- function _r(e, r, o, i, y) {
448
+ function vr(e, t, l, c, b) {
449
449
  {
450
- var T, _ = {}, p = null, M = null;
451
- o !== void 0 && (We(o), p = "" + o), cr(r) && (We(r.key), p = "" + r.key), Ye(r) && (M = r.ref, dr(r, y));
452
- for (T in r)
453
- x.call(r, T) && !Ve.hasOwnProperty(T) && (_[T] = r[T]);
450
+ var T, m = {}, h = null, I = null;
451
+ l !== void 0 && (Me(l), h = "" + l), dr(t) && (Me(t.key), h = "" + t.key), Ue(t) && (I = t.ref, fr(t, b));
452
+ for (T in t)
453
+ o.call(t, T) && !Ye.hasOwnProperty(T) && (m[T] = t[T]);
454
454
  if (e && e.defaultProps) {
455
- var E = e.defaultProps;
456
- for (T in E)
457
- _[T] === void 0 && (_[T] = E[T]);
455
+ var R = e.defaultProps;
456
+ for (T in R)
457
+ m[T] === void 0 && (m[T] = R[T]);
458
458
  }
459
- if (p || M) {
460
- var O = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
- p && fr(_, O), M && pr(_, O);
459
+ if (h || I) {
460
+ var P = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
+ h && pr(m, P), I && hr(m, P);
462
462
  }
463
- return hr(e, p, M, y, i, ce.current, _);
463
+ return _r(e, h, I, b, c, de.current, m);
464
464
  }
465
465
  }
466
- var Ue = L.ReactCurrentOwner, ze = L.ReactDebugCurrentFrame;
467
- function je(e) {
466
+ var Ke = O.ReactCurrentOwner, Qe = O.ReactDebugCurrentFrame;
467
+ function ke(e) {
468
468
  if (e) {
469
- var r = e._owner, o = n(e.type, e._source, r ? r.type : null);
470
- ze.setExtraStackFrame(o);
469
+ var t = e._owner, l = ne(e.type, e._source, t ? t.type : null);
470
+ Qe.setExtraStackFrame(l);
471
471
  } else
472
- ze.setExtraStackFrame(null);
472
+ Qe.setExtraStackFrame(null);
473
473
  }
474
- var Ke;
475
- Ke = !1;
474
+ var ze;
475
+ ze = !1;
476
476
  function Je(e) {
477
477
  return typeof e == "object" && e !== null && e.$$typeof === u;
478
478
  }
479
- function Ze() {
479
+ function er() {
480
480
  {
481
- if (Ue.current) {
482
- var e = W(Ue.current.type);
481
+ if (Ke.current) {
482
+ var e = W(Ke.current.type);
483
483
  if (e)
484
484
  return `
485
485
 
@@ -488,846 +488,1006 @@ Check the render method of \`` + e + "`.";
488
488
  return "";
489
489
  }
490
490
  }
491
- function vr(e) {
491
+ function mr(e) {
492
492
  return "";
493
493
  }
494
- var Qe = {};
495
- function mr(e) {
494
+ var rr = {};
495
+ function xr(e) {
496
496
  {
497
- var r = Ze();
498
- if (!r) {
499
- var o = typeof e == "string" ? e : e.displayName || e.name;
500
- o && (r = `
497
+ var t = er();
498
+ if (!t) {
499
+ var l = typeof e == "string" ? e : e.displayName || e.name;
500
+ l && (t = `
501
501
 
502
- Check the top-level render call using <` + o + ">.");
502
+ Check the top-level render call using <` + l + ">.");
503
503
  }
504
- return r;
504
+ return t;
505
505
  }
506
506
  }
507
- function er(e, r) {
507
+ function tr(e, t) {
508
508
  {
509
509
  if (!e._store || e._store.validated || e.key != null)
510
510
  return;
511
511
  e._store.validated = !0;
512
- var o = mr(r);
513
- if (Qe[o])
512
+ var l = xr(t);
513
+ if (rr[l])
514
514
  return;
515
- Qe[o] = !0;
516
- var i = "";
517
- e && e._owner && e._owner !== Ue.current && (i = " It was passed a child from " + W(e._owner.type) + "."), je(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), je(null);
515
+ rr[l] = !0;
516
+ var c = "";
517
+ e && e._owner && e._owner !== Ke.current && (c = " It was passed a child from " + W(e._owner.type) + "."), ke(e), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, c), ke(null);
518
518
  }
519
519
  }
520
- function rr(e, r) {
520
+ function nr(e, t) {
521
521
  {
522
522
  if (typeof e != "object")
523
523
  return;
524
524
  if (Fe(e))
525
- for (var o = 0; o < e.length; o++) {
526
- var i = e[o];
527
- Je(i) && er(i, r);
525
+ for (var l = 0; l < e.length; l++) {
526
+ var c = e[l];
527
+ Je(c) && tr(c, t);
528
528
  }
529
529
  else if (Je(e))
530
530
  e._store && (e._store.validated = !0);
531
531
  else if (e) {
532
- var y = B(e);
533
- if (typeof y == "function" && y !== e.entries)
534
- for (var T = y.call(e), _; !(_ = T.next()).done; )
535
- Je(_.value) && er(_.value, r);
532
+ var b = H(e);
533
+ if (typeof b == "function" && b !== e.entries)
534
+ for (var T = b.call(e), m; !(m = T.next()).done; )
535
+ Je(m.value) && tr(m.value, t);
536
536
  }
537
537
  }
538
538
  }
539
- function xr(e) {
539
+ function yr(e) {
540
540
  {
541
- var r = e.type;
542
- if (r == null || typeof r == "string")
541
+ var t = e.type;
542
+ if (t == null || typeof t == "string")
543
543
  return;
544
- var o;
545
- if (typeof r == "function")
546
- o = r.propTypes;
547
- else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
544
+ var l;
545
+ if (typeof t == "function")
546
+ l = t.propTypes;
547
+ else if (typeof t == "object" && (t.$$typeof === i || // Note: Memo only checks outer props here.
548
548
  // Inner props are checked in the reconciler.
549
- r.$$typeof === m))
550
- o = r.propTypes;
549
+ t.$$typeof === v))
550
+ l = t.propTypes;
551
551
  else
552
552
  return;
553
- if (o) {
554
- var i = W(r);
555
- Me(o, e.props, "prop", i, e);
556
- } else if (r.PropTypes !== void 0 && !Ke) {
557
- Ke = !0;
558
- var y = W(r);
559
- b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
553
+ if (l) {
554
+ var c = W(t);
555
+ He(l, e.props, "prop", c, e);
556
+ } else if (t.PropTypes !== void 0 && !ze) {
557
+ ze = !0;
558
+ var b = W(t);
559
+ w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", b || "Unknown");
560
560
  }
561
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
562
562
  }
563
563
  }
564
- function yr(e) {
564
+ function Cr(e) {
565
565
  {
566
- for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
567
- var i = r[o];
568
- if (i !== "children" && i !== "key") {
569
- je(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), je(null);
566
+ for (var t = Object.keys(e.props), l = 0; l < t.length; l++) {
567
+ var c = t[l];
568
+ if (c !== "children" && c !== "key") {
569
+ ke(e), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), ke(null);
570
570
  break;
571
571
  }
572
572
  }
573
- e.ref !== null && (je(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
573
+ e.ref !== null && (ke(e), w("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
574
574
  }
575
575
  }
576
- var tr = {};
577
- function nr(e, r, o, i, y, T) {
576
+ var or = {};
577
+ function lr(e, t, l, c, b, T) {
578
578
  {
579
- var _ = fe(e);
580
- if (!_) {
581
- var p = "";
582
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (p += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
- var M = vr();
584
- M ? p += M : p += Ze();
585
- var E;
586
- e === null ? E = "null" : Fe(e) ? E = "array" : e !== void 0 && e.$$typeof === u ? (E = "<" + (W(e.type) || "Unknown") + " />", p = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, p);
579
+ var m = he(e);
580
+ if (!m) {
581
+ var h = "";
582
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
+ var I = mr();
584
+ I ? h += I : h += er();
585
+ var R;
586
+ e === null ? R = "null" : Fe(e) ? R = "array" : e !== void 0 && e.$$typeof === u ? (R = "<" + (W(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, h);
587
587
  }
588
- var O = _r(e, r, o, y, T);
589
- if (O == null)
590
- return O;
591
- if (_) {
592
- var K = r.children;
593
- if (K !== void 0)
594
- if (i)
595
- if (Fe(K)) {
596
- for (var we = 0; we < K.length; we++)
597
- rr(K[we], e);
598
- Object.freeze && Object.freeze(K);
588
+ var P = vr(e, t, l, b, T);
589
+ if (P == null)
590
+ return P;
591
+ if (m) {
592
+ var J = t.children;
593
+ if (J !== void 0)
594
+ if (c)
595
+ if (Fe(J)) {
596
+ for (var Te = 0; Te < J.length; Te++)
597
+ nr(J[Te], e);
598
+ Object.freeze && Object.freeze(J);
599
599
  } else
600
- b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
+ w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
601
601
  else
602
- rr(K, e);
602
+ nr(J, e);
603
603
  }
604
- if (x.call(r, "key")) {
605
- var he = W(e), q = Object.keys(r).filter(function(Tr) {
604
+ if (o.call(t, "key")) {
605
+ var me = W(e), V = Object.keys(t).filter(function(Tr) {
606
606
  return Tr !== "key";
607
- }), Ge = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
608
- if (!tr[he + Ge]) {
609
- var wr = q.length > 0 ? "{" + q.join(": ..., ") + ": ...}" : "{}";
610
- b(`A props object containing a "key" prop is being spread into JSX:
607
+ }), Ge = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
608
+ if (!or[me + Ge]) {
609
+ var kr = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
610
+ w(`A props object containing a "key" prop is being spread into JSX:
611
611
  let props = %s;
612
612
  <%s {...props} />
613
613
  React keys must be passed directly to JSX without using spread:
614
614
  let props = %s;
615
- <%s key={someKey} {...props} />`, Ge, he, wr, he), tr[he + Ge] = !0;
615
+ <%s key={someKey} {...props} />`, Ge, me, kr, me), or[me + Ge] = !0;
616
616
  }
617
617
  }
618
- return e === C ? yr(O) : xr(O), O;
618
+ return e === x ? Cr(P) : yr(P), P;
619
619
  }
620
620
  }
621
- function br(e, r, o) {
622
- return nr(e, r, o, !0);
621
+ function br(e, t, l) {
622
+ return lr(e, t, l, !0);
623
623
  }
624
- function Cr(e, r, o) {
625
- return nr(e, r, o, !1);
624
+ function gr(e, t, l) {
625
+ return lr(e, t, l, !1);
626
626
  }
627
- var gr = Cr, jr = br;
628
- Ae.Fragment = C, Ae.jsx = gr, Ae.jsxs = jr;
629
- }()), Ae;
627
+ var jr = gr, wr = br;
628
+ We.Fragment = x, We.jsx = jr, We.jsxs = wr;
629
+ }()), We;
630
630
  }
631
- process.env.NODE_ENV === "production" ? Xe.exports = Rr() : Xe.exports = kr();
632
- var t = Xe.exports;
633
- const Er = "MainButton-module__mainButton", $r = "MainButton-module__sm", Pr = "MainButton-module__onlyIcon", Or = "MainButton-module__buttonSlot", Lr = "MainButton-module__buttonLabel", Fr = "MainButton-module__md", Nr = "MainButton-module__lg", Dr = "MainButton-module__xl", Sr = "MainButton-module__xl2", Ar = "MainButton-module__disabled", Te = {
634
- mainButton: Er,
635
- sm: $r,
636
- onlyIcon: Pr,
631
+ process.env.NODE_ENV === "production" ? Xe.exports = Er() : Xe.exports = Rr();
632
+ var r = Xe.exports;
633
+ const $r = "MainButton-module__mainButton", Pr = "MainButton-module__sm", Lr = "MainButton-module__onlyIcon", Or = "MainButton-module__buttonSlot", Dr = "MainButton-module__buttonLabel", Fr = "MainButton-module__md", Nr = "MainButton-module__lg", Ar = "MainButton-module__xl", Sr = "MainButton-module__xl2", Wr = "MainButton-module__disabled", Ee = {
634
+ mainButton: $r,
635
+ sm: Pr,
636
+ onlyIcon: Lr,
637
637
  buttonSlot: Or,
638
- buttonLabel: Lr,
638
+ buttonLabel: Dr,
639
639
  md: Fr,
640
640
  lg: Nr,
641
- xl: Dr,
641
+ xl: Ar,
642
642
  xl2: Sr,
643
- disabled: Ar
644
- }, fn = ({
645
- label: l,
643
+ disabled: Wr
644
+ }, $n = ({
645
+ label: s,
646
646
  buttonType: u = "button",
647
- onClick: s,
648
- size: C = "md",
649
- disabled: g,
650
- withIcons: f,
651
- iconOne: j,
652
- iconTwo: v,
653
- onlyIcon: c,
654
- buttonStyle: h,
647
+ onClick: n,
648
+ size: x = "md",
649
+ disabled: y,
650
+ withIcons: d,
651
+ iconOne: g,
652
+ iconTwo: _,
653
+ onlyIcon: i,
654
+ buttonStyle: p,
655
655
  labelStyle: a,
656
- buttonSlotStyle: m
657
- }) => /* @__PURE__ */ t.jsx(
656
+ buttonSlotStyle: v
657
+ }) => /* @__PURE__ */ r.jsx(
658
658
  "button",
659
659
  {
660
660
  type: u,
661
- style: h && typeof h == "object" ? h : {},
662
- className: `${Te.mainButton} ${c ? Te.onlyIcon : ""} ${C ? Te[C] : ""} ${g ? Te.disabled : ""}`,
661
+ style: p && typeof p == "object" ? p : {},
662
+ className: `${Ee.mainButton} ${i ? Ee.onlyIcon : ""} ${x ? Ee[x] : ""} ${y ? Ee.disabled : ""}`,
663
663
  onClick: () => {
664
- s && typeof s == "function" && s();
664
+ n && typeof n == "function" && n();
665
665
  },
666
- children: /* @__PURE__ */ t.jsxs("div", { className: Te.buttonSlot, style: m ?? {}, children: [
667
- c || f && j ? j : "",
668
- !c && /* @__PURE__ */ t.jsx("span", { style: a ?? {}, className: Te.buttonLabel, children: l ?? "Button" }),
669
- f && v ? v : ""
666
+ children: /* @__PURE__ */ r.jsxs("div", { className: Ee.buttonSlot, style: v ?? {}, children: [
667
+ i || d && g ? g : "",
668
+ !i && /* @__PURE__ */ r.jsx("span", { style: a ?? {}, className: Ee.buttonLabel, children: s ?? "Button" }),
669
+ d && _ ? _ : ""
670
670
  ] })
671
671
  }
672
- ), Wr = "FormInput-module__inputWrapper", Ir = "FormInput-module__inputLabel", Mr = "FormInput-module__required", Br = "FormInput-module__inputContainer", Hr = "FormInput-module__inputContent", qr = "FormInput-module__inputTags", Vr = "FormInput-module__focused", Yr = "FormInput-module__error", Ur = "FormInput-module__rightIcon", Kr = "FormInput-module__leftIcon", Jr = "FormInput-module__inputDropDown", Gr = "FormInput-module__http", Xr = "FormInput-module__disabled", zr = "FormInput-module__sm", Zr = "FormInput-module__md", Qr = "FormInput-module__withCopy", et = "FormInput-module__inputHelperText", F = {
673
- inputWrapper: Wr,
672
+ ), Mr = "FormInput-module__inputWrapper", Ir = "FormInput-module__inputLabel", Hr = "FormInput-module__required", Br = "FormInput-module__inputContainer", Vr = "FormInput-module__inputContent", qr = "FormInput-module__inputTags", Yr = "FormInput-module__focused", Ur = "FormInput-module__error", Kr = "FormInput-module__rightIcon", zr = "FormInput-module__leftIcon", Jr = "FormInput-module__inputDropDown", Gr = "FormInput-module__http", Xr = "FormInput-module__disabled", Zr = "FormInput-module__sm", Qr = "FormInput-module__md", et = "FormInput-module__withCopy", rt = "FormInput-module__inputHelperText", D = {
673
+ inputWrapper: Mr,
674
674
  inputLabel: Ir,
675
- required: Mr,
675
+ required: Hr,
676
676
  inputContainer: Br,
677
- inputContent: Hr,
677
+ inputContent: Vr,
678
678
  inputTags: qr,
679
- focused: Vr,
680
- error: Yr,
681
- rightIcon: Ur,
682
- leftIcon: Kr,
679
+ focused: Yr,
680
+ error: Ur,
681
+ rightIcon: Kr,
682
+ leftIcon: zr,
683
683
  inputDropDown: Jr,
684
684
  http: Gr,
685
685
  disabled: Xr,
686
- sm: zr,
687
- md: Zr,
688
- withCopy: Qr,
689
- inputHelperText: et
690
- }, lr = ({ width: l, height: u, color: s }) => /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: l ?? "12", height: u ?? "8", viewBox: "0 0 12 8", fill: "none", children: /* @__PURE__ */ t.jsx("path", { d: "M1 1.5L6 6.5L11 1.5", stroke: s ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), rt = ({ width: l, height: u, color: s }) => /* @__PURE__ */ t.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: l ?? "20", height: u ?? "20", viewBox: "0 0 20 20", fill: "none", children: [
691
- /* @__PURE__ */ t.jsx("g", { clipPath: "url(#clip0_444_26)", children: /* @__PURE__ */ t.jsx(
686
+ sm: Zr,
687
+ md: Qr,
688
+ withCopy: et,
689
+ inputHelperText: rt
690
+ }, cr = ({ width: s, height: u, color: n }) => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "12", height: u ?? "8", viewBox: "0 0 12 8", fill: "none", children: /* @__PURE__ */ r.jsx("path", { d: "M1 1.5L6 6.5L11 1.5", stroke: n ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), tt = ({ width: s, height: u, color: n }) => /* @__PURE__ */ r.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "20", height: u ?? "20", viewBox: "0 0 20 20", fill: "none", children: [
691
+ /* @__PURE__ */ r.jsx("g", { clipPath: "url(#clip0_444_26)", children: /* @__PURE__ */ r.jsx(
692
692
  "path",
693
693
  {
694
694
  d: "M4.1665 12.5C3.38993 12.5 3.00165 12.5 2.69536 12.3732C2.28698 12.204 1.96253 11.8795 1.79337 11.4712C1.6665 11.1649 1.6665 10.7766 1.6665 10V4.33335C1.6665 3.39993 1.6665 2.93322 1.84816 2.5767C2.00795 2.2631 2.26292 2.00813 2.57652 1.84834C2.93304 1.66669 3.39975 1.66669 4.33317 1.66669H9.99984C10.7764 1.66669 11.1647 1.66669 11.471 1.79355C11.8794 1.96271 12.2038 2.28717 12.373 2.69555C12.4998 3.00183 12.4998 3.39012 12.4998 4.16669M10.1665 18.3334H15.6665C16.5999 18.3334 17.0666 18.3334 17.4232 18.1517C17.7368 17.9919 17.9917 17.7369 18.1515 17.4233C18.3332 17.0668 18.3332 16.6001 18.3332 15.6667V10.1667C18.3332 9.23327 18.3332 8.76656 18.1515 8.41004C17.9917 8.09643 17.7368 7.84147 17.4232 7.68168C17.0666 7.50002 16.5999 7.50002 15.6665 7.50002H10.1665C9.23308 7.50002 8.76637 7.50002 8.40985 7.68168C8.09625 7.84147 7.84128 8.09643 7.68149 8.41004C7.49984 8.76656 7.49984 9.23327 7.49984 10.1667V15.6667C7.49984 16.6001 7.49984 17.0668 7.68149 17.4233C7.84128 17.7369 8.09625 17.9919 8.40985 18.1517C8.76637 18.3334 9.23308 18.3334 10.1665 18.3334Z",
695
- stroke: s ?? "#414651",
695
+ stroke: n ?? "#414651",
696
696
  strokeWidth: "1.66667",
697
697
  strokeLinecap: "round",
698
698
  strokeLinejoin: "round"
699
699
  }
700
700
  ) }),
701
- /* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsx("clipPath", { id: "clip0_444_26", children: /* @__PURE__ */ t.jsx("rect", { width: "20", height: "20", fill: "white" }) }) })
702
- ] }), ir = ({ width: l, height: u, color: s }) => /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: l ?? "14", height: u ?? "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ t.jsx("path", { d: "M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5", stroke: s ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), tt = "Checkbox-module__checkboxWrapper", nt = "Checkbox-module__sm", ot = "Checkbox-module__md", st = "Checkbox-module__checkMark", at = "Checkbox-module__checked", lt = "Checkbox-module__disabled", Re = {
703
- checkboxWrapper: tt,
704
- sm: nt,
705
- md: ot,
701
+ /* @__PURE__ */ r.jsx("defs", { children: /* @__PURE__ */ r.jsx("clipPath", { id: "clip0_444_26", children: /* @__PURE__ */ r.jsx("rect", { width: "20", height: "20", fill: "white" }) }) })
702
+ ] }), Ze = (s) => /* @__PURE__ */ r.jsx(
703
+ "svg",
704
+ {
705
+ xmlns: s.xmlns ?? "http://www.w3.org/2000/svg",
706
+ width: s.width ?? "14",
707
+ height: s.height ?? "14",
708
+ viewBox: s.viewBox ?? "0 0 14 14",
709
+ fill: s.fill ?? "none",
710
+ children: /* @__PURE__ */ r.jsx(
711
+ "path",
712
+ {
713
+ d: s.d ?? "M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",
714
+ stroke: s.stroke ?? "#A4A7AE",
715
+ strokeWidth: s.strokeWidth ?? "1.66667",
716
+ strokeLinecap: s.strokeLinecap ?? "round",
717
+ strokeLinejoin: s.strokeLinejoin ?? "round"
718
+ }
719
+ )
720
+ }
721
+ ), nt = "Checkbox-module__checkboxWrapper", ot = "Checkbox-module__sm", lt = "Checkbox-module__md", st = "Checkbox-module__checkMark", at = "Checkbox-module__checked", it = "Checkbox-module__disabled", Re = {
722
+ checkboxWrapper: nt,
723
+ sm: ot,
724
+ md: lt,
706
725
  checkMark: st,
707
726
  checked: at,
708
- disabled: lt
709
- }, ur = ({ color: l, width: u, height: s }) => /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: u ?? "12", height: s ?? "12", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ t.jsx("path", { d: "M10 3L4.5 8.5L2 6", stroke: l ?? "white", strokeWidth: "1.6666", strokeLinecap: "round", strokeLinejoin: "round" }) }), it = (l) => /* @__PURE__ */ t.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...l, width: "10", height: "2", viewBox: "0 0 10 2", fill: "none", children: /* @__PURE__ */ t.jsx("path", { d: "M1.5 1H8.5", stroke: "white", strokeWidth: "1.66666", strokeLinecap: "round", strokeLinejoin: "round" }) }), ut = ({ checked: l, change: u, disabled: s, required: C, multipleChecked: g, size: f, activeStyle: j, checkBoxStyle: v }) => {
710
- const c = G(null), [h, a] = V(!1), m = () => {
711
- u && typeof u == "function" && u(!l);
712
- }, R = () => h ? j ?? {} : v ?? {};
713
- return /* @__PURE__ */ t.jsxs(
727
+ disabled: it
728
+ }, ur = ({ color: s, width: u, height: n }) => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: u ?? "12", height: n ?? "12", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ r.jsx("path", { d: "M10 3L4.5 8.5L2 6", stroke: s ?? "white", strokeWidth: "1.6666", strokeLinecap: "round", strokeLinejoin: "round" }) }), ct = (s) => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...s, width: "10", height: "2", viewBox: "0 0 10 2", fill: "none", children: /* @__PURE__ */ r.jsx("path", { d: "M1.5 1H8.5", stroke: "white", strokeWidth: "1.66666", strokeLinecap: "round", strokeLinejoin: "round" }) }), ut = ({ checked: s, change: u, disabled: n, required: x, multipleChecked: y, size: d, activeStyle: g, checkBoxStyle: _ }) => {
729
+ const i = Y(null), [p, a] = q(!1), v = () => {
730
+ u && typeof u == "function" && u(!s);
731
+ }, k = () => p ? g ?? {} : _ ?? {};
732
+ return /* @__PURE__ */ r.jsxs(
714
733
  "div",
715
734
  {
716
- style: R(),
717
- className: `${Re.checkboxWrapper} ${Re[f] ?? Re.md} ${l ? Re.checked : Re.unChecked} ${s ? Re.disabled : ""}`,
735
+ style: k(),
736
+ className: `${Re.checkboxWrapper} ${Re[d] ?? Re.md} ${s ? Re.checked : Re.unChecked} ${n ? Re.disabled : ""}`,
718
737
  onMouseDown: () => a(!0),
719
738
  onMouseUp: () => a(!1),
720
739
  onMouseLeave: () => a(!1),
721
- onClick: m,
740
+ onClick: v,
722
741
  children: [
723
- /* @__PURE__ */ t.jsx("input", { ref: c, type: "checkbox", disabled: s, checked: l, hidden: !0, readOnly: !0, required: C ?? !1 }),
724
- l ? g ? /* @__PURE__ */ t.jsx(it, {}) : /* @__PURE__ */ t.jsx(ur, {}) : ""
742
+ /* @__PURE__ */ r.jsx("input", { ref: i, type: "checkbox", disabled: n, checked: s, hidden: !0, readOnly: !0, required: x ?? !1 }),
743
+ s ? y ? /* @__PURE__ */ r.jsx(ct, {}) : /* @__PURE__ */ r.jsx(ur, {}) : ""
725
744
  ]
726
745
  }
727
746
  );
728
- }, ct = "Tag-module__tagContainer", dt = "Tag-module__onlyLabel", ft = "Tag-module__sm", pt = "Tag-module__md", ht = "Tag-module__lg", _t = "Tag-module__tagLabel", vt = "Tag-module__tagNumber", mt = "Tag-module__tagClose", ke = {
729
- tagContainer: ct,
730
- onlyLabel: dt,
731
- sm: ft,
732
- md: pt,
733
- lg: ht,
734
- tagLabel: _t,
735
- tagNumber: vt,
736
- tagClose: mt
737
- }, xt = ({
738
- id: l,
747
+ }, dt = "Tag-module__tagContainer", ft = "Tag-module__onlyLabel", pt = "Tag-module__sm", ht = "Tag-module__md", _t = "Tag-module__lg", vt = "Tag-module__tagLabel", mt = "Tag-module__tagNumber", xt = "Tag-module__tagClose", $e = {
748
+ tagContainer: dt,
749
+ onlyLabel: ft,
750
+ sm: pt,
751
+ md: ht,
752
+ lg: _t,
753
+ tagLabel: vt,
754
+ tagNumber: mt,
755
+ tagClose: xt
756
+ }, yt = ({
757
+ id: s,
739
758
  label: u,
740
- icon: s,
741
- withClose: C,
742
- withCheckbox: g,
743
- withNumber: f,
744
- number: j,
745
- checkboxProps: v,
746
- disable: c,
747
- size: h,
759
+ icon: n,
760
+ withClose: x,
761
+ withCheckbox: y,
762
+ withNumber: d,
763
+ number: g,
764
+ checkboxProps: _,
765
+ disable: i,
766
+ size: p,
748
767
  onClose: a,
749
- tagContainerStyle: m,
750
- tagLabelStyle: R,
751
- tagNumberStyle: k,
752
- tagCloseStlye: w
768
+ tagContainerStyle: v,
769
+ tagLabelStyle: k,
770
+ tagNumberStyle: E,
771
+ tagCloseStlye: j
753
772
  }) => {
754
- const N = () => !g && !s && !C && !f, B = () => s, L = () => {
755
- a && typeof a == "function" && a(l ?? null);
773
+ const L = () => !y && !n && !x && !d, H = () => n, O = () => {
774
+ a && typeof a == "function" && a(s ?? null);
756
775
  };
757
- return /* @__PURE__ */ t.jsxs("div", { style: m ?? {}, className: `${ke.tagContainer} ${N() ? ke.onlyLabel : ""} ${ke[h ?? "md"]}`, children: [
758
- g && /* @__PURE__ */ t.jsx(ut, { ...v }),
759
- s && B(),
760
- u && /* @__PURE__ */ t.jsx("p", { style: R ?? {}, className: ke.tagLabel, children: u ?? "" }),
761
- f && /* @__PURE__ */ t.jsx("div", { style: k ?? {}, className: ke.tagNumber, children: j ?? "" }),
762
- C && /* @__PURE__ */ t.jsx("div", { style: w ?? {}, className: ke.tagClose, onClick: L, children: /* @__PURE__ */ t.jsx(ir, { width: (w == null ? void 0 : w.width) ?? "14", height: (w == null ? void 0 : w.height) ?? "14", color: (w == null ? void 0 : w.color) ?? "#A4A7AE" }) })
776
+ return /* @__PURE__ */ r.jsxs("div", { style: v ?? {}, className: `${$e.tagContainer} ${L() ? $e.onlyLabel : ""} ${$e[p ?? "md"]}`, children: [
777
+ y && /* @__PURE__ */ r.jsx(ut, { ..._ }),
778
+ n && H(),
779
+ u && /* @__PURE__ */ r.jsx("p", { style: k ?? {}, className: $e.tagLabel, children: u ?? "" }),
780
+ d && /* @__PURE__ */ r.jsx("div", { style: E ?? {}, className: $e.tagNumber, children: g ?? "" }),
781
+ x && /* @__PURE__ */ r.jsx("div", { style: j ?? {}, className: $e.tagClose, onClick: O, children: /* @__PURE__ */ r.jsx(Ze, { width: (j == null ? void 0 : j.width) ?? "14", height: (j == null ? void 0 : j.height) ?? "14", color: (j == null ? void 0 : j.color) ?? "#A4A7AE" }) })
763
782
  ] });
764
- }, pn = ({
765
- value: l,
783
+ }, Pn = ({
784
+ value: s,
766
785
  label: u,
767
- placeholder: s,
768
- required: C,
769
- disabled: g,
770
- type: f,
771
- size: j,
772
- onChange: v,
773
- onFouce: c,
774
- onBlur: h,
786
+ placeholder: n,
787
+ required: x,
788
+ disabled: y,
789
+ type: d,
790
+ size: g,
791
+ onChange: _,
792
+ onFouce: i,
793
+ onBlur: p,
775
794
  msg: a,
776
- readOnly: m,
777
- maxLength: R,
778
- onlyText: k,
779
- tagValues: w,
780
- onRightIconIconClick: N,
781
- onRightIconIconMouseEnter: B,
782
- onRightIconIconMouseLeave: L,
783
- onLeftIconIconClick: b,
784
- onLeftIconIconMouseEnter: H,
795
+ readOnly: v,
796
+ maxLength: k,
797
+ onlyText: E,
798
+ tagValues: j,
799
+ onRightIconIconClick: L,
800
+ onRightIconIconMouseEnter: H,
801
+ onRightIconIconMouseLeave: O,
802
+ onLeftIconIconClick: w,
803
+ onLeftIconIconMouseEnter: B,
785
804
  onLeftIconIconMouseLeave: $,
786
- onPressEnter: ee,
787
- rightIcon: oe,
788
- leftIcon: se,
789
- withDropDown: de,
790
- dropdownData: re,
791
- onSelectData: fe,
792
- withTags: $e,
793
- tagProps: me,
805
+ onPressEnter: X,
806
+ rightIcon: se,
807
+ leftIcon: ae,
808
+ withDropDown: pe,
809
+ dropdownData: oe,
810
+ onSelectData: he,
811
+ withTags: Le,
812
+ tagProps: ye,
794
813
  withLink: W,
795
- withCopy: Y,
796
- onCopy: X,
797
- inputWrapperStyle: Pe,
798
- inputLabelStyle: xe,
799
- requiredStyle: z,
800
- inputContainerStyle: ae,
801
- leftIconStyle: I,
802
- inputDropDownStyle: te,
803
- ulStyle: Z,
804
- liStyle: D,
805
- httpStyle: ye,
806
- inputStyle: Oe,
807
- rightIconStyle: U,
808
- withCopyStyle: pe,
809
- inputHelperTextStyle: ne
814
+ withCopy: U,
815
+ onCopy: Z,
816
+ inputWrapperStyle: Ce,
817
+ inputLabelStyle: Oe,
818
+ requiredStyle: be,
819
+ inputContainerStyle: ee,
820
+ leftIconStyle: ie,
821
+ inputDropDownStyle: M,
822
+ ulStyle: le,
823
+ liStyle: re,
824
+ httpStyle: F,
825
+ inputStyle: ge,
826
+ rightIconStyle: _e,
827
+ withCopyStyle: K,
828
+ inputHelperTextStyle: ce
810
829
  }) => {
811
- const [be, le] = V(!1), Le = G(null), [Ce, ie] = V(!1);
812
- V(!1);
813
- const ue = G(null), n = G(null), [x, P] = V(!1), [Q, ge] = V(1), Me = (d) => {
814
- let S = d.target.value;
815
- S.length === 1 && (S = S.trim()), v && typeof v == "function" && v(k ? S.replace(/\d/g, "") : S);
830
+ const [ve, ue] = q(!1), De = Y(null), [je, we] = q(!1);
831
+ q(!1);
832
+ const te = Y(null), ne = Y(null), [o, C] = q(!1), [N, z] = q(1), He = (f) => {
833
+ let A = f.target.value;
834
+ A.length === 1 && (A = A.trim()), _ && typeof _ == "function" && _(E ? A.replace(/\d/g, "") : A);
816
835
  }, Be = () => {
817
- ie(!0), c && typeof c == "function" && c();
836
+ we(!0), i && typeof i == "function" && i();
818
837
  }, Fe = () => {
819
- ie(!1), h && typeof h == "function" && h();
820
- }, He = (d) => {
821
- const S = d.target.value, Ye = S.length === 0;
822
- f === "number" && (d.keyCode === 69 || !Ye && (d.keyCode === 187 || d.keyCode === 107 || d.keyCode === 189 || d.keyCode === 109)) && d.preventDefault(), d.key === "Enter" && S && S.length > 0 && ee && typeof ee == "function" && ee(S);
838
+ we(!1), p && typeof p == "function" && p();
839
+ }, Ve = (f) => {
840
+ const A = f.target.value, Ue = A.length === 0;
841
+ d === "number" && (f.keyCode === 69 || !Ue && (f.keyCode === 187 || f.keyCode === 107 || f.keyCode === 189 || f.keyCode === 109)) && f.preventDefault(), f.key === "Enter" && A && A.length > 0 && X && typeof X == "function" && X(A);
823
842
  }, qe = () => {
824
- X && typeof X == "function" && X(l);
825
- }, Ne = (d) => d, We = () => {
826
- let d = {};
827
- return Y && (d.borderTopRightRadius = 0, d.borderBottomRightRadius = 0, d.borderRight = 0), de && (d.paddingLeft = 0), { ...d, ...ae ?? {} };
828
- }, ce = (d) => {
829
- !d.composedPath().includes(n.current) && d.composedPath().includes(ue.current) || P(!1);
830
- }, Ve = (d) => {
831
- ge(d.id), P(!1), fe && typeof fe == "function" && fe(d);
843
+ Z && typeof Z == "function" && Z(s);
844
+ }, Ne = (f) => f, Me = () => {
845
+ let f = {};
846
+ return U && (f.borderTopRightRadius = 0, f.borderBottomRightRadius = 0, f.borderRight = 0), pe && (f.paddingLeft = 0), { ...f, ...ee ?? {} };
847
+ }, de = (f) => {
848
+ !f.composedPath().includes(ne.current) && f.composedPath().includes(te.current) || C(!1);
849
+ }, Ye = (f) => {
850
+ z(f.id), C(!1), he && typeof he == "function" && he(f);
832
851
  };
833
- ve(() => {
834
- l && l.length === 0 && calculateWidth();
835
- }, [l]), ve(() => (document.addEventListener("click", ce), () => {
836
- document.removeEventListener("click", ce);
852
+ fe(() => {
853
+ s && s.length === 0 && calculateWidth();
854
+ }, [s]), fe(() => (document.addEventListener("click", de), () => {
855
+ document.removeEventListener("click", de);
837
856
  }), []);
838
- const De = G(!1);
839
- return ve(() => {
840
- De.current ? setTimeout(() => {
841
- le((d) => !d);
842
- }, 0) : De.current = !0;
843
- }, []), /* @__PURE__ */ t.jsxs("div", { className: F.inputWrapper, style: Pe ?? {}, children: [
844
- u && /* @__PURE__ */ t.jsxs("label", { className: F.inputLabel, style: xe ?? {}, children: [
857
+ const Ae = Y(!1);
858
+ return fe(() => {
859
+ Ae.current ? setTimeout(() => {
860
+ ue((f) => !f);
861
+ }, 0) : Ae.current = !0;
862
+ }, []), /* @__PURE__ */ r.jsxs("div", { className: D.inputWrapper, style: Ce ?? {}, children: [
863
+ u && /* @__PURE__ */ r.jsxs("label", { className: D.inputLabel, style: Oe ?? {}, children: [
845
864
  u,
846
865
  " ",
847
- /* @__PURE__ */ t.jsx("span", { className: F.required, style: z ?? {}, children: C && "*" })
866
+ /* @__PURE__ */ r.jsx("span", { className: D.required, style: be ?? {}, children: x && "*" })
848
867
  ] }),
849
- /* @__PURE__ */ t.jsxs("div", { style: { display: "flex", alignItems: "center" }, children: [
850
- /* @__PURE__ */ t.jsxs(
868
+ /* @__PURE__ */ r.jsxs("div", { style: { display: "flex", alignItems: "center" }, children: [
869
+ /* @__PURE__ */ r.jsxs(
851
870
  "div",
852
871
  {
853
- style: We(),
854
- className: `${F.inputContainer} ${Ce && !m ? F.focused : ""} ${g ? F.disabled : ""} ${a != null && a.error ? F.error : ""} ${F[j ?? "sm"]}`,
872
+ style: Me(),
873
+ className: `${D.inputContainer} ${je && !v ? D.focused : ""} ${y ? D.disabled : ""} ${a != null && a.error ? D.error : ""} ${D[g ?? "sm"]}`,
855
874
  children: [
856
- !de && !W && se && /* @__PURE__ */ t.jsx(
875
+ !pe && !W && ae && /* @__PURE__ */ r.jsx(
857
876
  "div",
858
877
  {
859
- className: F.leftIcon,
860
- style: I ?? {},
878
+ className: D.leftIcon,
879
+ style: ie ?? {},
861
880
  onClick: () => {
862
- b && typeof b == "function" && b();
881
+ w && typeof w == "function" && w();
863
882
  },
864
883
  onMouseEnter: () => {
865
- H && typeof H == "function" && H();
884
+ B && typeof B == "function" && B();
866
885
  },
867
886
  onMouseLeave: () => {
868
887
  $ && typeof $ == "function" && $();
869
888
  },
870
- children: Ne(se)
889
+ children: Ne(ae)
871
890
  }
872
891
  ),
873
- !W && de && /* @__PURE__ */ t.jsxs("div", { className: F.inputDropDown, style: te ?? {}, onClick: () => P(!0), ref: ue, children: [
874
- re.find((d) => d.id === Q).label,
875
- x && /* @__PURE__ */ t.jsx("ul", { ref: n, style: Z ?? {}, children: re && re.length && re.map((d, S) => /* @__PURE__ */ t.jsx("li", { style: D ?? {}, onClick: () => Ve(d), children: (d == null ? void 0 : d.label) ?? "-" }, d.id)) }),
876
- /* @__PURE__ */ t.jsx(lr, {})
892
+ !W && pe && /* @__PURE__ */ r.jsxs("div", { className: D.inputDropDown, style: M ?? {}, onClick: () => C(!0), ref: te, children: [
893
+ oe.find((f) => f.id === N).label,
894
+ o && /* @__PURE__ */ r.jsx("ul", { ref: ne, style: le ?? {}, children: oe && oe.length && oe.map((f, A) => /* @__PURE__ */ r.jsx("li", { style: re ?? {}, onClick: () => Ye(f), children: (f == null ? void 0 : f.label) ?? "-" }, f.id)) }),
895
+ /* @__PURE__ */ r.jsx(cr, {})
877
896
  ] }),
878
- W && /* @__PURE__ */ t.jsx("div", { className: `${F.inputDropDown} ${F.http}`, style: ye ?? {}, onClick: () => P(!0), ref: ue, children: "http://" }),
879
- /* @__PURE__ */ t.jsxs("div", { className: F.inputContent, children: [
880
- $e && w && w.length > 0 && /* @__PURE__ */ t.jsx("div", { className: F.inputTags, children: w.map((d, S) => /* @__PURE__ */ t.jsx("div", { className: F.inputSingleTags, children: /* @__PURE__ */ t.jsx(xt, { ...me, id: d, label: d, withClose: !0 }) }, S)) }),
881
- /* @__PURE__ */ t.jsx(
897
+ W && /* @__PURE__ */ r.jsx("div", { className: `${D.inputDropDown} ${D.http}`, style: F ?? {}, onClick: () => C(!0), ref: te, children: "http://" }),
898
+ /* @__PURE__ */ r.jsxs("div", { className: D.inputContent, children: [
899
+ Le && j && j.length > 0 && /* @__PURE__ */ r.jsx("div", { className: D.inputTags, children: j.map((f, A) => /* @__PURE__ */ r.jsx("div", { className: D.inputSingleTags, children: /* @__PURE__ */ r.jsx(yt, { ...ye, id: f, label: f, withClose: !0 }) }, A)) }),
900
+ /* @__PURE__ */ r.jsx(
882
901
  "input",
883
902
  {
884
- ref: Le,
885
- style: Oe ?? {},
886
- type: f ?? "text",
887
- value: l,
888
- onChange: (d) => Me(d),
903
+ ref: De,
904
+ style: ge ?? {},
905
+ type: d ?? "text",
906
+ value: s,
907
+ onChange: (f) => He(f),
889
908
  onFocus: Be,
890
909
  onBlur: Fe,
891
- disabled: g,
892
- required: C,
893
- onKeyDown: He,
894
- readOnly: m,
910
+ disabled: y,
911
+ required: x,
912
+ onKeyDown: Ve,
913
+ readOnly: v,
895
914
  spellCheck: !1,
896
- placeholder: s ?? "",
915
+ placeholder: n ?? "",
897
916
  autoComplete: "off",
898
- maxLength: R
917
+ maxLength: k
899
918
  }
900
919
  )
901
920
  ] }),
902
- oe && /* @__PURE__ */ t.jsx(
921
+ se && /* @__PURE__ */ r.jsx(
903
922
  "div",
904
923
  {
905
- className: F.rightIcon,
906
- style: U ?? {},
924
+ className: D.rightIcon,
925
+ style: _e ?? {},
907
926
  onClick: () => {
908
- N && typeof N == "function" && N();
927
+ L && typeof L == "function" && L();
909
928
  },
910
929
  onMouseEnter: () => {
911
- B && typeof B == "function" && B();
930
+ H && typeof H == "function" && H();
912
931
  },
913
932
  onMouseLeave: () => {
914
- L && typeof L == "function" && L();
933
+ O && typeof O == "function" && O();
915
934
  },
916
- children: Ne(oe)
935
+ children: Ne(se)
917
936
  }
918
937
  )
919
938
  ]
920
939
  }
921
940
  ),
922
- Y && /* @__PURE__ */ t.jsxs("div", { style: pe ?? {}, onClick: qe, className: F.withCopy, children: [
923
- /* @__PURE__ */ t.jsx(rt, {}),
941
+ U && /* @__PURE__ */ r.jsxs("div", { style: K ?? {}, onClick: qe, className: D.withCopy, children: [
942
+ /* @__PURE__ */ r.jsx(tt, {}),
924
943
  "Copy"
925
944
  ] })
926
945
  ] }),
927
- a && (a == null ? void 0 : a.visible) && /* @__PURE__ */ t.jsx("div", { style: ne ?? {}, className: `${F.inputHelperText} ${a != null && a.error ? F.error : ""}`, children: /* @__PURE__ */ t.jsx("p", { style: (a == null ? void 0 : a.style) ?? {}, children: a.text }) })
946
+ a && (a == null ? void 0 : a.visible) && /* @__PURE__ */ r.jsx("div", { style: ce ?? {}, className: `${D.inputHelperText} ${a != null && a.error ? D.error : ""}`, children: /* @__PURE__ */ r.jsx("p", { style: (a == null ? void 0 : a.style) ?? {}, children: a.text }) })
928
947
  ] });
929
- }, yt = "Textarea-module__textareaContainer", bt = "Textarea-module__textAreaLabel", Ct = "Textarea-module__required", gt = "Textarea-module__wrap", jt = "Textarea-module__textarea", wt = "Textarea-module__focused", Tt = "Textarea-module__disabled", Rt = "Textarea-module__error", kt = "Textarea-module__helperTextStyle", J = {
930
- textareaContainer: yt,
948
+ }, Ct = "Textarea-module__textareaContainer", bt = "Textarea-module__textAreaLabel", gt = "Textarea-module__required", jt = "Textarea-module__wrap", wt = "Textarea-module__textarea", kt = "Textarea-module__focused", Tt = "Textarea-module__disabled", Et = "Textarea-module__error", Rt = "Textarea-module__helperTextStyle", G = {
949
+ textareaContainer: Ct,
931
950
  textAreaLabel: bt,
932
- required: Ct,
933
- wrap: gt,
934
- textarea: jt,
935
- focused: wt,
951
+ required: gt,
952
+ wrap: jt,
953
+ textarea: wt,
954
+ focused: kt,
936
955
  disabled: Tt,
937
- error: Rt,
938
- helperTextStyle: kt
939
- }, Et = ({ width: l, height: u, color: s }) => /* @__PURE__ */ t.jsxs("svg", { width: l ?? "16", height: u ?? "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
940
- /* @__PURE__ */ t.jsx("g", { id: "help-circle", clipPath: "url(#clip0_433_6293)", children: /* @__PURE__ */ t.jsx(
956
+ error: Et,
957
+ helperTextStyle: Rt
958
+ }, $t = ({ width: s, height: u, color: n }) => /* @__PURE__ */ r.jsxs("svg", { width: s ?? "16", height: u ?? "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
959
+ /* @__PURE__ */ r.jsx("g", { id: "help-circle", clipPath: "url(#clip0_433_6293)", children: /* @__PURE__ */ r.jsx(
941
960
  "path",
942
961
  {
943
962
  id: "Icon",
944
963
  d: "M6.05992 5.99998C6.21665 5.55442 6.52602 5.17872 6.93322 4.9394C7.34042 4.70009 7.81918 4.61261 8.2847 4.69245C8.75022 4.7723 9.17246 5.01433 9.47664 5.37567C9.78081 5.737 9.94729 6.19433 9.94659 6.66665C9.94659 7.99998 7.94659 8.66665 7.94659 8.66665M7.99992 11.3333H8.00659M14.6666 7.99998C14.6666 11.6819 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6819 1.33325 7.99998C1.33325 4.31808 4.31802 1.33331 7.99992 1.33331C11.6818 1.33331 14.6666 4.31808 14.6666 7.99998Z",
945
- stroke: s ?? "#A4A7AE",
964
+ stroke: n ?? "#A4A7AE",
946
965
  strokeWidth: "1.33333",
947
966
  strokeLinecap: "round",
948
967
  strokeLinejoin: "round"
949
968
  }
950
969
  ) }),
951
- /* @__PURE__ */ t.jsx("defs", { children: /* @__PURE__ */ t.jsx("clipPath", { id: "clip0_433_6293", children: /* @__PURE__ */ t.jsx("rect", { width: l ?? "16", height: u ?? "16", fill: "white" }) }) })
952
- ] }), hn = ({
953
- placeholder: l,
970
+ /* @__PURE__ */ r.jsx("defs", { children: /* @__PURE__ */ r.jsx("clipPath", { id: "clip0_433_6293", children: /* @__PURE__ */ r.jsx("rect", { width: s ?? "16", height: u ?? "16", fill: "white" }) }) })
971
+ ] }), Ln = ({
972
+ placeholder: s,
954
973
  label: u,
955
- msg: s,
956
- cols: C,
957
- rows: g,
958
- value: f,
959
- maxLength: j,
960
- onChange: v,
961
- onFocus: c,
962
- onBlur: h,
974
+ msg: n,
975
+ cols: x,
976
+ rows: y,
977
+ value: d,
978
+ maxLength: g,
979
+ onChange: _,
980
+ onFocus: i,
981
+ onBlur: p,
963
982
  disabled: a,
964
- required: m,
965
- textareaContainerStyle: R,
966
- textareaLabelStyle: k,
967
- requiredStyle: w,
968
- textareaStyle: N,
969
- textareaHelperTextStyle: B
983
+ required: v,
984
+ textareaContainerStyle: k,
985
+ textareaLabelStyle: E,
986
+ requiredStyle: j,
987
+ textareaStyle: L,
988
+ textareaHelperTextStyle: H
970
989
  }) => {
971
- const [L, b] = V(!1), H = (oe) => {
972
- let se = oe.target.value;
973
- v && typeof v == "function" && v(se);
990
+ const [O, w] = q(!1), B = (se) => {
991
+ let ae = se.target.value;
992
+ _ && typeof _ == "function" && _(ae);
974
993
  }, $ = () => {
975
- b(!0), c && typeof c == "function" && c();
976
- }, ee = () => {
977
- b(!1), h && typeof h == "function" && h();
994
+ w(!0), i && typeof i == "function" && i();
995
+ }, X = () => {
996
+ w(!1), p && typeof p == "function" && p();
978
997
  };
979
- return /* @__PURE__ */ t.jsxs(
998
+ return /* @__PURE__ */ r.jsxs(
980
999
  "div",
981
1000
  {
982
- style: R ?? {},
983
- className: `${J.textareaContainer} ${s != null && s.type && (s != null && s.visible) ? J[s == null ? void 0 : s.type] : ""} ${a ? J.disabled : null}`,
1001
+ style: k ?? {},
1002
+ className: `${G.textareaContainer} ${n != null && n.type && (n != null && n.visible) ? G[n == null ? void 0 : n.type] : ""} ${a ? G.disabled : null}`,
984
1003
  children: [
985
- u && /* @__PURE__ */ t.jsxs("div", { style: k, className: J.textAreaLabel, children: [
986
- /* @__PURE__ */ t.jsx("p", { children: u }),
987
- /* @__PURE__ */ t.jsx("span", { style: w ?? {}, className: J.required, children: m && "*" }),
988
- /* @__PURE__ */ t.jsx(Et, {})
1004
+ u && /* @__PURE__ */ r.jsxs("div", { style: E, className: G.textAreaLabel, children: [
1005
+ /* @__PURE__ */ r.jsx("p", { children: u }),
1006
+ /* @__PURE__ */ r.jsx("span", { style: j ?? {}, className: G.required, children: v && "*" }),
1007
+ /* @__PURE__ */ r.jsx($t, {})
989
1008
  ] }),
990
- /* @__PURE__ */ t.jsx("div", { className: J.wrap, children: /* @__PURE__ */ t.jsx(
1009
+ /* @__PURE__ */ r.jsx("div", { className: G.wrap, children: /* @__PURE__ */ r.jsx(
991
1010
  "textarea",
992
1011
  {
993
- style: N ?? {},
994
- className: `${J.textarea} ${L ? J.focused : ""} ${a ? J.disabled : ""} ${s != null && s.error ? J.error : ""}`,
995
- value: f,
996
- placeholder: l ?? "",
997
- cols: C ?? "30",
998
- rows: g ?? "5",
999
- maxLength: j ?? null,
1012
+ style: L ?? {},
1013
+ className: `${G.textarea} ${O ? G.focused : ""} ${a ? G.disabled : ""} ${n != null && n.error ? G.error : ""}`,
1014
+ value: d,
1015
+ placeholder: s ?? "",
1016
+ cols: x ?? "30",
1017
+ rows: y ?? "5",
1018
+ maxLength: g ?? null,
1000
1019
  onFocus: $,
1001
1020
  disabled: a,
1002
- onBlur: ee,
1003
- onChange: H
1021
+ onBlur: X,
1022
+ onChange: B
1004
1023
  }
1005
1024
  ) }),
1006
- /* @__PURE__ */ t.jsx("div", { style: B ?? {}, className: `${J.helperTextStyle} ${s != null && s.error ? J.error : ""}`, children: /* @__PURE__ */ t.jsx("p", { style: (s == null ? void 0 : s.style) ?? {}, children: s.text }) })
1025
+ /* @__PURE__ */ r.jsx("div", { style: H ?? {}, className: `${G.helperTextStyle} ${n != null && n.error ? G.error : ""}`, children: /* @__PURE__ */ r.jsx("p", { style: (n == null ? void 0 : n.style) ?? {}, children: n.text }) })
1007
1026
  ]
1008
1027
  }
1009
1028
  );
1010
- }, $t = "Toggle-module__toggleWrapper", Pt = "Toggle-module__toggleState", Ot = "Toggle-module__checked", Lt = "Toggle-module__disabled", Ie = {
1011
- toggleWrapper: $t,
1012
- toggleState: Pt,
1029
+ }, Pt = "Toggle-module__toggleWrapper", Lt = "Toggle-module__toggleState", Ot = "Toggle-module__checked", Dt = "Toggle-module__disabled", Ie = {
1030
+ toggleWrapper: Pt,
1031
+ toggleState: Lt,
1013
1032
  checked: Ot,
1014
- disabled: Lt
1015
- }, _n = ({
1016
- checked: l,
1033
+ disabled: Dt
1034
+ }, On = ({
1035
+ checked: s,
1017
1036
  change: u,
1018
- disabled: s,
1019
- required: C,
1020
- activeStyle: g,
1021
- bgStyle: f,
1022
- checkedBgStyle: j,
1023
- disabledBgStyle: v,
1024
- circleStyle: c,
1025
- checkedCircleStyle: h,
1037
+ disabled: n,
1038
+ required: x,
1039
+ activeStyle: y,
1040
+ bgStyle: d,
1041
+ checkedBgStyle: g,
1042
+ disabledBgStyle: _,
1043
+ circleStyle: i,
1044
+ checkedCircleStyle: p,
1026
1045
  disabledCircleStyle: a
1027
1046
  }) => {
1028
- const [m, R] = V(!1), k = () => {
1029
- u && typeof u == "function" && u(!l);
1030
- }, w = () => {
1031
- if (m)
1032
- return g ?? {};
1033
- if (l) {
1034
- if (j) return j;
1035
- } else if (l) {
1036
- if (s && v)
1037
- return v;
1038
- } else if (f) return f;
1047
+ const [v, k] = q(!1), E = () => {
1048
+ u && typeof u == "function" && u(!s);
1049
+ }, j = () => {
1050
+ if (v)
1051
+ return y ?? {};
1052
+ if (s) {
1053
+ if (g) return g;
1054
+ } else if (s) {
1055
+ if (n && _)
1056
+ return _;
1057
+ } else if (d) return d;
1039
1058
  return {};
1040
- }, N = () => {
1041
- if (l) {
1042
- if (h) return h;
1043
- } else if (l) {
1044
- if (s && a)
1059
+ }, L = () => {
1060
+ if (s) {
1061
+ if (p) return p;
1062
+ } else if (s) {
1063
+ if (n && a)
1045
1064
  return a;
1046
- } else if (c) return c;
1065
+ } else if (i) return i;
1047
1066
  return {};
1048
1067
  };
1049
- return /* @__PURE__ */ t.jsx(
1068
+ return /* @__PURE__ */ r.jsx(
1050
1069
  "div",
1051
1070
  {
1052
- style: w(),
1053
- onMouseDown: () => R(!0),
1054
- onMouseUp: () => R(!1),
1055
- onMouseLeave: () => R(!1),
1056
- onClick: k,
1057
- className: `${Ie.toggleWrapper} ${l ? Ie.checked : ""} ${s ? Ie.disabled : ""}`,
1058
- children: /* @__PURE__ */ t.jsx("div", { style: N(), className: Ie.toggleState, children: /* @__PURE__ */ t.jsx("input", { type: "checkbox", checked: l, readOnly: !0, disabled: s ?? !1, hidden: !0, required: C ?? !1 }) })
1071
+ style: j(),
1072
+ onMouseDown: () => k(!0),
1073
+ onMouseUp: () => k(!1),
1074
+ onMouseLeave: () => k(!1),
1075
+ onClick: E,
1076
+ className: `${Ie.toggleWrapper} ${s ? Ie.checked : ""} ${n ? Ie.disabled : ""}`,
1077
+ children: /* @__PURE__ */ r.jsx("div", { style: L(), className: Ie.toggleState, children: /* @__PURE__ */ r.jsx("input", { type: "checkbox", checked: s, readOnly: !0, disabled: n ?? !1, hidden: !0, required: x ?? !1 }) })
1059
1078
  }
1060
1079
  );
1061
- }, Ft = "Radio-module__radioWrapper", Nt = "Radio-module__sm", Dt = "Radio-module__md", St = "Radio-module__checked", At = "Radio-module__innerCircle", Wt = "Radio-module__radioState", It = "Radio-module__disabled", _e = {
1080
+ }, Ft = "Radio-module__radioWrapper", Nt = "Radio-module__sm", At = "Radio-module__md", St = "Radio-module__checked", Wt = "Radio-module__innerCircle", Mt = "Radio-module__radioState", It = "Radio-module__disabled", xe = {
1062
1081
  radioWrapper: Ft,
1063
1082
  sm: Nt,
1064
- md: Dt,
1083
+ md: At,
1065
1084
  checked: St,
1066
- innerCircle: At,
1067
- radioState: Wt,
1085
+ innerCircle: Wt,
1086
+ radioState: Mt,
1068
1087
  disabled: It
1069
- }, vn = ({ checked: l, change: u, disabled: s, isRequired: C, withUncheckState: g, size: f }) => {
1070
- V(!1);
1071
- const j = () => {
1072
- u && typeof u == "function" && (g || !g && !l) && u(!0);
1088
+ }, Dn = ({ checked: s, change: u, disabled: n, isRequired: x, withUncheckState: y, size: d }) => {
1089
+ q(!1);
1090
+ const g = () => {
1091
+ u && typeof u == "function" && (y || !y && !s) && u(!0);
1073
1092
  };
1074
- return /* @__PURE__ */ t.jsxs("div", { className: `${_e.radioWrapper} ${_e[f] ?? _e.md} ${l ? _e.checked : ""} ${s ? _e.disabled : ""}`, onClick: j, children: [
1075
- /* @__PURE__ */ t.jsx("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled: s ?? !1, required: C ?? !1 }),
1076
- /* @__PURE__ */ t.jsx("div", { className: _e.radioState, children: /* @__PURE__ */ t.jsx("div", { className: _e.innerCircle }) })
1093
+ return /* @__PURE__ */ r.jsxs("div", { className: `${xe.radioWrapper} ${xe[d] ?? xe.md} ${s ? xe.checked : ""} ${n ? xe.disabled : ""}`, onClick: g, children: [
1094
+ /* @__PURE__ */ r.jsx("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled: n ?? !1, required: x ?? !1 }),
1095
+ /* @__PURE__ */ r.jsx("div", { className: xe.radioState, children: /* @__PURE__ */ r.jsx("div", { className: xe.innerCircle }) })
1077
1096
  ] });
1078
- }, Mt = "Dropdown-module__dropdownWrapper", Bt = "Dropdown-module__placeHolder", Ht = "Dropdown-module__dropdownLabel", qt = "Dropdown-module__required", Vt = "Dropdown-module__dropdownContainer", Yt = "Dropdown-module__sm", Ut = "Dropdown-module__md", Kt = "Dropdown-module__selectedTags", Jt = "Dropdown-module__selectedList", Gt = "Dropdown-module__additional", Xt = "Dropdown-module__dropdownList", zt = "Dropdown-module__disabled", Zt = "Dropdown-module__selected", Qt = "Dropdown-module__focused", en = "Dropdown-module__error", rn = "Dropdown-module__dropdownHelperText", A = {
1079
- dropdownWrapper: Mt,
1097
+ }, Ht = "Dropdown-module__dropdownWrapper", Bt = "Dropdown-module__placeHolder", Vt = "Dropdown-module__dropdownLabel", qt = "Dropdown-module__required", Yt = "Dropdown-module__dropdownContainer", Ut = "Dropdown-module__sm", Kt = "Dropdown-module__md", zt = "Dropdown-module__selectedTags", Jt = "Dropdown-module__selectedList", Gt = "Dropdown-module__additional", Xt = "Dropdown-module__dropdownList", Zt = "Dropdown-module__disabled", Qt = "Dropdown-module__selected", en = "Dropdown-module__focused", rn = "Dropdown-module__error", tn = "Dropdown-module__dropdownHelperText", S = {
1098
+ dropdownWrapper: Ht,
1080
1099
  placeHolder: Bt,
1081
- dropdownLabel: Ht,
1100
+ dropdownLabel: Vt,
1082
1101
  required: qt,
1083
- dropdownContainer: Vt,
1084
- sm: Yt,
1085
- md: Ut,
1086
- selectedTags: Kt,
1102
+ dropdownContainer: Yt,
1103
+ sm: Ut,
1104
+ md: Kt,
1105
+ selectedTags: zt,
1087
1106
  selectedList: Jt,
1088
1107
  additional: Gt,
1089
1108
  dropdownList: Xt,
1090
- disabled: zt,
1091
- selected: Zt,
1092
- focused: Qt,
1093
- error: en,
1094
- dropdownHelperText: rn
1095
- }, mn = ({
1096
- label: l,
1109
+ disabled: Zt,
1110
+ selected: Qt,
1111
+ focused: en,
1112
+ error: rn,
1113
+ dropdownHelperText: tn
1114
+ }, Fn = ({
1115
+ label: s,
1097
1116
  disabled: u,
1098
- required: s,
1099
- size: C = "md",
1100
- placeholder: g = "placeholder",
1101
- msg: f,
1102
- readOnly: j,
1103
- data: v,
1104
- onSelect: c,
1105
- selectedOptionID: h,
1117
+ required: n,
1118
+ size: x = "md",
1119
+ placeholder: y = "placeholder",
1120
+ msg: d,
1121
+ readOnly: g,
1122
+ data: _,
1123
+ onSelect: i,
1124
+ selectedOptionID: p,
1106
1125
  withFilter: a,
1107
- onSearch: m,
1108
- pagination: R,
1109
- withMultiSelect: k = !1,
1110
- skipSelected: w,
1111
- labelIcon: N,
1112
- closeIcon: B,
1113
- iconDown: L,
1114
- onLabelIconClick: b,
1115
- onLabelIconMouseEnter: H,
1116
- onLabelIconMouseLeave: $,
1117
- dropdownWrapperStyle: ee,
1118
- dropdownLabelStyle: oe,
1119
- requiredStyle: se,
1120
- labelIconStyle: de,
1121
- dropdownContainerStyle: re,
1122
- placeHolderStyle: fe,
1123
- selectedTagsStyle: $e,
1124
- selectedListStyle: me,
1125
- additionalStyle: W,
1126
- dropdownListStyle: Y,
1127
- listStyle: X
1126
+ onSearch: v,
1127
+ pagination: k,
1128
+ withMultiSelect: E = !1,
1129
+ skipSelected: j,
1130
+ labelIcon: L,
1131
+ closeIcon: H,
1132
+ dropdownIcon: O,
1133
+ iconDown: w,
1134
+ onLabelIconClick: B,
1135
+ onLabelIconMouseEnter: $,
1136
+ onLabelIconMouseLeave: X,
1137
+ dropdownWrapperStyle: se,
1138
+ dropdownLabelStyle: ae,
1139
+ requiredStyle: pe,
1140
+ labelIconStyle: oe,
1141
+ dropdownContainerStyle: he,
1142
+ placeHolderStyle: Le,
1143
+ selectedTagsStyle: ye,
1144
+ selectedListStyle: W,
1145
+ additionalStyle: U,
1146
+ dropdownListStyle: Z,
1147
+ listStyle: Ce
1128
1148
  }) => {
1129
- const [Pe, xe] = V(!1), [z, ae] = V(!1), I = G(v), [te, Z] = V("");
1130
- V(null);
1131
- const D = G([]), ye = G(null), Oe = G(null), U = G({}), pe = (n, x) => {
1132
- const P = /* @__PURE__ */ new Set();
1133
- return n.filter((Q) => P.has(Q[x]) ? !1 : (P.add(Q[x]), !0));
1134
- }, ne = (n) => {
1135
- var x;
1136
- I.current.forEach((P) => {
1137
- n.id === P.id ? P.selected = !0 : P.selected = !1;
1138
- }), U.current = n, Z((x = U.current) == null ? void 0 : x.label), c && typeof c == "function" && c(U.current), ae(!1);
1139
- }, be = (n) => {
1140
- D.current = [...D.current, ...I.current.filter((x) => x.id === n.id)], n.selected = !n.selected, D.current = pe(D.current, "id").filter((x) => x.selected), c && typeof c == "function" && c(D.current), Z(D.current.map((x) => x.label).join(", ")), xe((x) => !x);
1141
- }, le = (n) => {
1142
- n.stopPropagation(), D.current = [], h = null, I.current && I.current.length > 0 && v.forEach((x) => x.selected = !1), c(k ? [] : {}), Z("");
1143
- }, Le = (n) => {
1144
- if (a && !R)
1145
- if (n && n.length > 0) {
1146
- let x = I.current.filter((P) => {
1147
- var Q;
1148
- return (Q = P == null ? void 0 : P.label) == null ? void 0 : Q.toLowerCase().includes(n.toLowerCase());
1149
+ const [Oe, be] = q(!1), [ee, ie] = q(!1), M = Y(_), [le, re] = q("");
1150
+ q(null);
1151
+ const F = Y([]), ge = Y(null), _e = Y(null), K = Y({}), ce = (o, C) => {
1152
+ const N = /* @__PURE__ */ new Set();
1153
+ return o.filter((z) => N.has(z[C]) ? !1 : (N.add(z[C]), !0));
1154
+ }, ve = (o) => {
1155
+ var C;
1156
+ M.current.forEach((N) => {
1157
+ o.id === N.id ? N.selected = !0 : N.selected = !1;
1158
+ }), K.current = o, re((C = K.current) == null ? void 0 : C.label), i && typeof i == "function" && i(K.current), ie(!1);
1159
+ }, ue = (o) => {
1160
+ F.current = [...F.current, ...M.current.filter((C) => C.id === o.id)], o.selected = !o.selected, F.current = ce(F.current, "id").filter((C) => C.selected), i && typeof i == "function" && i(F.current), re(F.current.map((C) => C.label).join(", ")), be((C) => !C);
1161
+ }, De = (o) => {
1162
+ o.stopPropagation(), F.current = [], p = null, M.current && M.current.length > 0 && _.forEach((C) => C.selected = !1), i(E ? [] : {}), re("");
1163
+ }, je = (o) => {
1164
+ if (a && !k)
1165
+ if (o && o.length > 0) {
1166
+ let C = M.current.filter((N) => {
1167
+ var z;
1168
+ return (z = N == null ? void 0 : N.label) == null ? void 0 : z.toLowerCase().includes(o.toLowerCase());
1149
1169
  });
1150
- I.current = x;
1170
+ M.current = C;
1151
1171
  } else
1152
- I.current = v;
1153
- m && typeof m == "function" && m(n), Z(n);
1154
- }, Ce = () => {
1155
- if (h || h === 0) {
1156
- let n = v.filter((x) => Number(x.id) === Number(h));
1157
- n && n[0] && (U.current = n[0], w ? (m && typeof m == "function" && m(U.current.label), Z(U.current.label), closeOnSelect && setCollapsed((x) => !1), withDropdownSearch && DropdownSearchValue && SetDropdownSearchValue("")) : ne(n[0]));
1172
+ M.current = _;
1173
+ v && typeof v == "function" && v(o), re(o);
1174
+ }, we = () => {
1175
+ if (p || p === 0) {
1176
+ let o = _.filter((C) => Number(C.id) === Number(p));
1177
+ o && o[0] && (K.current = o[0], j ? (v && typeof v == "function" && v(K.current.label), re(K.current.label), closeOnSelect && setCollapsed((C) => !1), withDropdownSearch && DropdownSearchValue && SetDropdownSearchValue("")) : ve(o[0]));
1158
1178
  }
1159
- }, ie = (n) => n, ue = (n) => {
1160
- n.composedPath().includes(ye.current) || ae(!1);
1179
+ }, te = (o) => o, ne = (o) => {
1180
+ o.composedPath().includes(ge.current) || ie(!1);
1161
1181
  };
1162
- return ve(() => {
1163
- k || Ce();
1164
- }, [h]), ve(() => (document.addEventListener("click", ue), () => {
1165
- document.removeEventListener("click", ue);
1166
- }), []), /* @__PURE__ */ t.jsxs("div", { className: A.dropdownWrapper, style: ee ?? {}, children: [
1167
- l && /* @__PURE__ */ t.jsxs("label", { className: A.dropdownLabel, style: oe ?? {}, children: [
1168
- l,
1182
+ return fe(() => {
1183
+ E || we();
1184
+ }, [p]), fe(() => (document.addEventListener("click", ne), () => {
1185
+ document.removeEventListener("click", ne);
1186
+ }), []), /* @__PURE__ */ r.jsxs("div", { className: S.dropdownWrapper, style: se ?? {}, children: [
1187
+ s && /* @__PURE__ */ r.jsxs("label", { className: S.dropdownLabel, style: ae ?? {}, children: [
1188
+ s,
1169
1189
  " ",
1170
- /* @__PURE__ */ t.jsx("span", { className: A.required, style: se ?? {}, children: s && "*" }),
1171
- /* @__PURE__ */ t.jsxs(
1190
+ /* @__PURE__ */ r.jsx("span", { className: S.required, style: pe ?? {}, children: n && "*" }),
1191
+ /* @__PURE__ */ r.jsxs(
1172
1192
  "span",
1173
1193
  {
1174
- style: { ...de ?? {}, display: "grid", placeItems: "center" },
1194
+ style: { ...oe ?? {}, display: "grid", placeItems: "center" },
1175
1195
  onClick: () => {
1176
- b && typeof b == "function" && b();
1196
+ B && typeof B == "function" && B();
1177
1197
  },
1178
1198
  onMouseEnter: () => {
1179
- H && typeof H == "function" && H();
1199
+ $ && typeof $ == "function" && $();
1180
1200
  },
1181
1201
  onMouseLeave: () => {
1182
- $ && typeof $ == "function" && $();
1202
+ X && typeof X == "function" && X();
1183
1203
  },
1184
1204
  children: [
1185
1205
  " ",
1186
- ie(N)
1206
+ te(L)
1187
1207
  ]
1188
1208
  }
1189
1209
  )
1190
1210
  ] }),
1191
- /* @__PURE__ */ t.jsxs(
1211
+ /* @__PURE__ */ r.jsxs(
1192
1212
  "div",
1193
1213
  {
1194
- ref: ye,
1195
- onClick: () => ae((n) => !n),
1196
- className: `${A.dropdownContainer} ${z && !j ? A.focused : ""} ${u ? A.disabled : ""} ${f != null && f.error ? A.error : ""} ${A[C]}`,
1197
- style: re ?? {},
1214
+ ref: ge,
1215
+ onClick: () => ie((o) => !o),
1216
+ className: `${S.dropdownContainer} ${ee && !g ? S.focused : ""} ${u ? S.disabled : ""} ${d != null && d.error ? S.error : ""} ${S[x]}`,
1217
+ style: he ?? {},
1198
1218
  children: [
1199
- /* @__PURE__ */ t.jsx("span", { className: A.placeHolder, style: fe ?? {}, children: te && te.length > 0 ? "" : g }),
1200
- k && /* @__PURE__ */ t.jsxs("div", { className: A.selectedTags, style: $e ?? {}, children: [
1201
- D.current.slice(0, 3).map((n, x) => {
1202
- let P = D.current[D.current.length - 1];
1203
- return /* @__PURE__ */ t.jsxs("span", { className: A.selectedList, style: me ?? {}, children: [
1204
- n.label,
1205
- n.id !== P.id && x !== 2 ? ", " : ""
1206
- ] }, n == null ? void 0 : n.id);
1219
+ /* @__PURE__ */ r.jsx("span", { className: S.placeHolder, style: Le ?? {}, children: le && le.length > 0 ? "" : y }),
1220
+ E && /* @__PURE__ */ r.jsxs("div", { className: S.selectedTags, style: ye ?? {}, children: [
1221
+ F.current.slice(0, 3).map((o, C) => {
1222
+ let N = F.current[F.current.length - 1];
1223
+ return /* @__PURE__ */ r.jsxs("span", { className: S.selectedList, style: W ?? {}, children: [
1224
+ o.label,
1225
+ o.id !== N.id && C !== 2 ? ", " : ""
1226
+ ] }, o == null ? void 0 : o.id);
1207
1227
  }),
1208
- D.current.length > 3 && /* @__PURE__ */ t.jsxs("span", { className: A.additional, style: W ?? {}, children: [
1228
+ F.current.length > 3 && /* @__PURE__ */ r.jsxs("span", { className: S.additional, style: U ?? {}, children: [
1209
1229
  " ",
1210
1230
  "+(",
1211
- D.current.length - 3,
1231
+ F.current.length - 3,
1212
1232
  ")"
1213
1233
  ] })
1214
1234
  ] }),
1215
- /* @__PURE__ */ t.jsx(
1235
+ O && /* @__PURE__ */ r.jsx("div", { style: { display: "grid", alignItems: "center", marginRight: "0.5rem" }, children: te(O) }),
1236
+ /* @__PURE__ */ r.jsx(
1216
1237
  "input",
1217
1238
  {
1218
1239
  autoCorrect: "off",
1219
- hidden: k,
1220
- readOnly: !a || !z || k,
1240
+ hidden: E,
1241
+ readOnly: !a || !ee || E,
1221
1242
  type: "text",
1222
- value: te,
1223
- onChange: (n) => Le(n.target.value)
1243
+ value: le,
1244
+ onChange: (o) => je(o.target.value)
1224
1245
  },
1225
- h
1246
+ p
1226
1247
  ),
1227
- z && I.current && I.current.length > 0 && /* @__PURE__ */ t.jsx("ul", { onClick: (n) => n.stopPropagation(), ref: Oe, className: A.dropdownList, style: Y ?? {}, children: I.current.map((n) => /* @__PURE__ */ t.jsxs(
1248
+ ee && M.current && M.current.length > 0 && /* @__PURE__ */ r.jsx("ul", { onClick: (o) => o.stopPropagation(), ref: _e, className: S.dropdownList, style: Z ?? {}, children: M.current.map((o) => /* @__PURE__ */ r.jsxs(
1228
1249
  "li",
1229
1250
  {
1230
- style: X ?? {},
1231
- className: `${!(n != null && n.label) || n.label === void 0 || n != null && n.disabled ? A.disabled : ""} ${n != null && n.selected ? A.selected : ""}`,
1251
+ style: Ce ?? {},
1252
+ className: `${!(o != null && o.label) || o.label === void 0 || o != null && o.disabled ? S.disabled : ""} ${o != null && o.selected ? S.selected : ""}`,
1232
1253
  onClick: () => {
1233
- k ? be(n) : ne(n);
1254
+ E ? ue(o) : ve(o);
1234
1255
  },
1235
1256
  children: [
1236
- /* @__PURE__ */ t.jsxs("p", { children: [
1257
+ /* @__PURE__ */ r.jsxs("p", { children: [
1237
1258
  " ",
1238
- n != null && n.label ? typeof n.label == "function" ? n.label() : n.label : "-"
1259
+ o != null && o.label ? typeof o.label == "function" ? o.label() : o.label : "-"
1239
1260
  ] }),
1240
- (n == null ? void 0 : n.selected) && /* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(ur, { color: "#7F56D9", width: 20, height: 20 }) })
1261
+ (o == null ? void 0 : o.selected) && /* @__PURE__ */ r.jsx("span", { children: /* @__PURE__ */ r.jsx(ur, { color: "#7F56D9", width: 20, height: 20 }) })
1241
1262
  ]
1242
1263
  },
1243
- n == null ? void 0 : n.id
1264
+ o == null ? void 0 : o.id
1244
1265
  )) }),
1245
- (D.current.length > 0 || te.length) > 0 && /* @__PURE__ */ t.jsx("div", { onClick: (n) => le(n), style: { display: "grid", placeItems: "center", cursor: "pointer" }, children: B ? ie(B) : /* @__PURE__ */ t.jsx(ir, { width: 16, height: 16 }) }),
1246
- /* @__PURE__ */ t.jsx(
1266
+ (F.current.length > 0 || le.length) > 0 && /* @__PURE__ */ r.jsx("div", { onClick: (o) => De(o), style: { display: "grid", placeItems: "center", cursor: "pointer" }, children: H ? te(H) : /* @__PURE__ */ r.jsx(Ze, { width: 16, height: 16 }) }),
1267
+ /* @__PURE__ */ r.jsx(
1247
1268
  "div",
1248
1269
  {
1249
1270
  style: {
1250
1271
  display: "grid",
1251
1272
  placeItems: "center",
1252
- transform: z ? "rotate(180deg)" : "",
1273
+ transform: ee ? "rotate(180deg)" : "",
1253
1274
  transition: "transform 0.2s ease-in-out",
1254
1275
  // Add transition here
1255
1276
  cursor: "pointer",
1256
1277
  marginLeft: "10px"
1257
1278
  },
1258
- children: L ? ie(L) : /* @__PURE__ */ t.jsx(lr, {})
1279
+ children: w ? te(w) : /* @__PURE__ */ r.jsx(cr, {})
1259
1280
  }
1260
1281
  )
1261
1282
  ]
1262
1283
  }
1263
1284
  ),
1264
- f && (f == null ? void 0 : f.visible) && /* @__PURE__ */ t.jsx("div", { className: `${A.dropdownHelperText} ${f != null && f.error ? A.error : ""}`, children: !z && /* @__PURE__ */ t.jsx("p", { style: (f == null ? void 0 : f.style) ?? {}, children: f.text }) })
1285
+ d && (d == null ? void 0 : d.visible) && /* @__PURE__ */ r.jsx("div", { className: `${S.dropdownHelperText} ${d != null && d.error ? S.error : ""}`, children: !ee && /* @__PURE__ */ r.jsx("p", { style: (d == null ? void 0 : d.style) ?? {}, children: d.text }) })
1265
1286
  ] });
1266
- }, tn = "Tooltip-module__tooltipContainer", nn = "Tooltip-module__tooltipContent", on = "Tooltip-module__top", sn = "Tooltip-module__right", an = "Tooltip-module__bottom", ln = "Tooltip-module__left", un = "Tooltip-module__tooltipTitle", cn = "Tooltip-module__tooltipText", Ee = {
1267
- tooltipContainer: tn,
1268
- tooltipContent: nn,
1269
- top: on,
1287
+ }, nn = "Tooltip-module__tooltipContainer", on = "Tooltip-module__tooltipContent", ln = "Tooltip-module__top", sn = "Tooltip-module__right", an = "Tooltip-module__bottom", cn = "Tooltip-module__left", un = "Tooltip-module__tooltipTitle", dn = "Tooltip-module__tooltipText", Pe = {
1288
+ tooltipContainer: nn,
1289
+ tooltipContent: on,
1290
+ top: ln,
1270
1291
  right: sn,
1271
1292
  bottom: an,
1272
- left: ln,
1293
+ left: cn,
1273
1294
  tooltipTitle: un,
1274
- tooltipText: cn
1275
- }, xn = ({
1276
- children: l,
1295
+ tooltipText: dn
1296
+ }, Nn = ({
1297
+ children: s,
1277
1298
  tooltipSlot: u,
1278
- delay: s,
1279
- placement: C = "top",
1280
- trigger: g = "click",
1281
- title: f,
1282
- text: j,
1283
- tooltipContentStyle: v,
1284
- tooltipTitlestyle: c,
1285
- tooltipTextStyle: h,
1299
+ delay: n,
1300
+ placement: x = "top",
1301
+ trigger: y = "hover",
1302
+ title: d,
1303
+ text: g,
1304
+ tooltipContentStyle: _,
1305
+ tooltipTitlestyle: i,
1306
+ tooltipTextStyle: p,
1286
1307
  pointerPosition: a = "10%"
1287
1308
  }) => {
1288
- const m = G(null), R = G(null);
1289
- let k;
1290
- const [w, N] = V(!1), B = () => {
1291
- g === "hover" && (k = setTimeout(() => {
1292
- N(!0);
1293
- }, s || 400));
1294
- }, L = () => {
1295
- g === "hover" && (clearInterval(k), N(!1));
1296
- }, b = () => {
1297
- g === "click" && N(($) => !$);
1298
- }, H = ($) => {
1299
- $.composedPath().includes(m.current) || N(!1);
1309
+ const v = Y(null), k = Y(null);
1310
+ let E;
1311
+ const [j, L] = q(!1), H = () => {
1312
+ y === "hover" && (E = setTimeout(() => {
1313
+ L(!0);
1314
+ }, n || 400));
1315
+ }, O = () => {
1316
+ y === "hover" && (clearInterval(E), L(!1));
1317
+ }, w = () => {
1318
+ y === "click" && L(($) => !$);
1319
+ }, B = ($) => {
1320
+ $.composedPath().includes(v.current) || L(!1);
1300
1321
  };
1301
- return ve(() => (document.addEventListener("click", H), () => {
1302
- document.removeEventListener("click", H);
1303
- }), []), ve(() => {
1304
- const $ = R.current;
1322
+ return fe(() => (document.addEventListener("click", B), () => {
1323
+ document.removeEventListener("click", B);
1324
+ }), []), fe(() => {
1325
+ const $ = k.current;
1305
1326
  $ && $.style.setProperty("--pointer-position", `${a}`);
1306
- }, [w]), /* @__PURE__ */ t.jsxs("div", { ref: m, className: Ee.tooltipContainer, onClick: b, onMouseEnter: B, onMouseLeave: L, children: [
1307
- l,
1308
- w && u ? u() : w && /* @__PURE__ */ t.jsxs(
1327
+ }, [j]), /* @__PURE__ */ r.jsxs("div", { ref: v, className: Pe.tooltipContainer, onClick: w, onMouseEnter: H, onMouseLeave: O, children: [
1328
+ s,
1329
+ j && u ? u() : j && /* @__PURE__ */ r.jsxs(
1309
1330
  "div",
1310
1331
  {
1311
1332
  onClick: ($) => $.stopPropagation(),
1312
- ref: R,
1313
- style: v ?? {},
1314
- className: `${Ee.tooltipContent} ${C ? Ee[C] : Ee.bottom}`,
1333
+ ref: k,
1334
+ style: _ ?? {},
1335
+ className: `${Pe.tooltipContent} ${x ? Pe[x] : Pe.bottom}`,
1315
1336
  children: [
1316
- f && f.length > 0 && /* @__PURE__ */ t.jsx("h2", { className: Ee.tooltipTitle, style: c ?? {}, children: f }),
1317
- j && j.length > 0 && /* @__PURE__ */ t.jsx("p", { className: Ee.tooltipText, style: h ?? {}, children: j })
1337
+ d && d.length > 0 && /* @__PURE__ */ r.jsx("h2", { className: Pe.tooltipTitle, style: i ?? {}, children: d }),
1338
+ g && g.length > 0 && /* @__PURE__ */ r.jsx("p", { className: Pe.tooltipText, style: p ?? {}, children: g })
1318
1339
  ]
1319
1340
  }
1320
1341
  )
1321
1342
  ] });
1343
+ }, fn = "Popup-module__modalOverlay", pn = "Popup-module__popupDrawerMode", hn = "Popup-module__popupContainer", _n = "Popup-module__EnterFromLeft", vn = "Popup-module__fadeIn", mn = "Popup-module__withOptions", xn = "Popup-module__horizontal", yn = "Popup-module__popupHeader", Cn = "Popup-module__popupTitle", bn = "Popup-module__popupDescription", gn = "Popup-module__typeIcon", jn = "Popup-module__icon", wn = "Popup-module__templateWrapper", Q = {
1344
+ modalOverlay: fn,
1345
+ popupDrawerMode: pn,
1346
+ popupContainer: hn,
1347
+ enterFromLeft: _n,
1348
+ fadeIn: vn,
1349
+ withOptions: mn,
1350
+ horizontal: xn,
1351
+ popupHeader: yn,
1352
+ popupTitle: Cn,
1353
+ popupDescription: bn,
1354
+ typeIcon: gn,
1355
+ icon: jn,
1356
+ templateWrapper: wn
1357
+ };
1358
+ location.href.indexOf(".upgaming.dev") > 0 || location.href.indexOf(".upgaming.com") > 0;
1359
+ const kn = () => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ r.jsx(
1360
+ "path",
1361
+ {
1362
+ d: "M7.5 12L10.5 15L16.5 9M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z",
1363
+ stroke: "#079455",
1364
+ strokeWidth: "2",
1365
+ strokeLinecap: "round",
1366
+ strokeLinejoin: "round"
1367
+ }
1368
+ ) }), Tn = () => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ r.jsx(
1369
+ "path",
1370
+ {
1371
+ d: "M7 3V6.4C7 6.96005 7 7.24008 7.10899 7.45399C7.20487 7.64215 7.35785 7.79513 7.54601 7.89101C7.75992 8 8.03995 8 8.6 8H15.4C15.9601 8 16.2401 8 16.454 7.89101C16.6422 7.79513 16.7951 7.64215 16.891 7.45399C17 7.24008 17 6.96005 17 6.4V4M17 21V14.6C17 14.0399 17 13.7599 16.891 13.546C16.7951 13.3578 16.6422 13.2049 16.454 13.109C16.2401 13 15.9601 13 15.4 13H8.6C8.03995 13 7.75992 13 7.54601 13.109C7.35785 13.2049 7.20487 13.3578 7.10899 13.546C7 13.7599 7 14.0399 7 14.6V21M21 9.32548V16.2C21 17.8802 21 18.7202 20.673 19.362C20.3854 19.9265 19.9265 20.3854 19.362 20.673C18.7202 21 17.8802 21 16.2 21H7.8C6.11984 21 5.27976 21 4.63803 20.673C4.07354 20.3854 3.6146 19.9265 3.32698 19.362C3 18.7202 3 17.8802 3 16.2V7.8C3 6.11984 3 5.27976 3.32698 4.63803C3.6146 4.07354 4.07354 3.6146 4.63803 3.32698C5.27976 3 6.11984 3 7.8 3H14.6745C15.1637 3 15.4083 3 15.6385 3.05526C15.8425 3.10425 16.0376 3.18506 16.2166 3.29472C16.4184 3.4184 16.5914 3.59135 16.9373 3.93726L20.0627 7.06274C20.4086 7.40865 20.5816 7.5816 20.7053 7.78343C20.8149 7.96237 20.8957 8.15746 20.9447 8.36154C21 8.59171 21 8.8363 21 9.32548Z",
1372
+ stroke: "#DC6803",
1373
+ strokeWidth: "2",
1374
+ strokeLinecap: "round",
1375
+ strokeLinejoin: "round"
1376
+ }
1377
+ ) }), En = () => /* @__PURE__ */ r.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ r.jsx(
1378
+ "path",
1379
+ {
1380
+ d: "M16 6V5.2C16 4.0799 16 3.51984 15.782 3.09202C15.5903 2.71569 15.2843 2.40973 14.908 2.21799C14.4802 2 13.9201 2 12.8 2H11.2C10.0799 2 9.51984 2 9.09202 2.21799C8.71569 2.40973 8.40973 2.71569 8.21799 3.09202C8 3.51984 8 4.0799 8 5.2V6M10 11.5V16.5M14 11.5V16.5M3 6H21M19 6V17.2C19 18.8802 19 19.7202 18.673 20.362C18.3854 20.9265 17.9265 21.3854 17.362 21.673C16.7202 22 15.8802 22 14.2 22H9.8C8.11984 22 7.27976 22 6.63803 21.673C6.07354 21.3854 5.6146 20.9265 5.32698 20.362C5 19.7202 5 18.8802 5 17.2V6",
1381
+ stroke: "#D92D20",
1382
+ strokeWidth: "2",
1383
+ strokeLinecap: "round",
1384
+ strokeLinejoin: "round"
1385
+ }
1386
+ ) }), An = ({
1387
+ visible: s,
1388
+ template: u,
1389
+ options: n,
1390
+ children: x,
1391
+ onClickOutside: y,
1392
+ onClose: d,
1393
+ widthType: g,
1394
+ // "horizontal"
1395
+ modalOverlayStyle: _,
1396
+ popupContainerStyle: i,
1397
+ templateWrapperStyle: p
1398
+ }) => {
1399
+ const a = () => {
1400
+ if (!(!n || !(n != null && n.type)))
1401
+ switch (String(n == null ? void 0 : n.type)) {
1402
+ case "delete":
1403
+ return /* @__PURE__ */ r.jsx(En, {});
1404
+ case "unsaved":
1405
+ return /* @__PURE__ */ r.jsx(Tn, {});
1406
+ case "success":
1407
+ return /* @__PURE__ */ r.jsx(kn, {});
1408
+ }
1409
+ }, v = () => {
1410
+ d && typeof d == "function" && d(!1);
1411
+ }, k = Y(null), E = (j) => {
1412
+ j.target === k.current && y && typeof y == "function" && y(!1);
1413
+ };
1414
+ return fe(() => (document.addEventListener("click", E), () => {
1415
+ document.removeEventListener("click", E);
1416
+ }), []), s && /* @__PURE__ */ r.jsx(
1417
+ "div",
1418
+ {
1419
+ ref: k,
1420
+ style: _ ?? {},
1421
+ className: `
1422
+ mcModal_global
1423
+ ${Q.modalOverlay}
1424
+ ${n && n.mode === "drawer" ? Q.popupDrawerMode : ""}
1425
+ `,
1426
+ children: /* @__PURE__ */ r.jsxs(
1427
+ "div",
1428
+ {
1429
+ style: i ?? {},
1430
+ className: `
1431
+ mcPopup_global
1432
+ ${Q.popupContainer}
1433
+ ${n != null && n.type ? Q.withOptions : ""}
1434
+ ${g === "horizontal" ? Q.horizontal : ""}
1435
+ `,
1436
+ children: [
1437
+ (n.title || n.description || n.type) && /* @__PURE__ */ r.jsxs("div", { className: `${Q.popupHeader}`, children: [
1438
+ a() && /* @__PURE__ */ r.jsxs("div", { className: Q.typeIcon, children: [
1439
+ /* @__PURE__ */ r.jsx(
1440
+ "div",
1441
+ {
1442
+ style: { backgroundColor: (n == null ? void 0 : n.type) === "success" ? "#DCFAE6" : (n == null ? void 0 : n.type) === "unsaved" ? "#FEF0C7" : "#FEE4E2" },
1443
+ className: Q.icon,
1444
+ children: a()
1445
+ }
1446
+ ),
1447
+ /* @__PURE__ */ r.jsx("div", { style: { display: "grid", placeItems: "center", cursor: "pointer" }, onClick: v, children: /* @__PURE__ */ r.jsx(
1448
+ Ze,
1449
+ {
1450
+ width: "24",
1451
+ height: "24",
1452
+ viewBox: "0 0 24 24",
1453
+ d: "M18 6L6 18M6 6L18 18",
1454
+ stroke: "#A4A7AE",
1455
+ "stroke-width": "2",
1456
+ "stroke-linecap": "round",
1457
+ "stroke-linejoin": "round"
1458
+ }
1459
+ ) })
1460
+ ] }),
1461
+ n && (n == null ? void 0 : n.title) && /* @__PURE__ */ r.jsx("div", { className: Q.popupTitle, children: /* @__PURE__ */ r.jsxs("h2", { children: [
1462
+ " ",
1463
+ (n == null ? void 0 : n.title) ?? "",
1464
+ " "
1465
+ ] }) }),
1466
+ n && (n == null ? void 0 : n.description) && /* @__PURE__ */ r.jsx("div", { className: Q.popupDescription, children: /* @__PURE__ */ r.jsxs("p", { children: [
1467
+ " ",
1468
+ (n == null ? void 0 : n.description) ?? "",
1469
+ " "
1470
+ ] }) })
1471
+ ] }),
1472
+ /* @__PURE__ */ r.jsxs("div", { className: Q.templateWrapper, style: p ?? {}, children: [
1473
+ u && u(),
1474
+ x && x
1475
+ ] })
1476
+ ]
1477
+ }
1478
+ )
1479
+ }
1480
+ );
1322
1481
  };
1323
1482
  export {
1324
1483
  ut as Checkbox,
1325
- mn as Dropdown,
1326
- pn as FormInput,
1327
- fn as MainButton,
1328
- vn as Radio,
1329
- xt as Tag,
1330
- hn as Textarea,
1331
- _n as Toggle,
1332
- xn as Tooltip
1484
+ Fn as Dropdown,
1485
+ Pn as FormInput,
1486
+ $n as MainButton,
1487
+ An as Popup,
1488
+ Dn as Radio,
1489
+ yt as Tag,
1490
+ Ln as Textarea,
1491
+ On as Toggle,
1492
+ Nn as Tooltip
1333
1493
  };