master-components-react 1.9.1 → 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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
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
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("react");var Je={exports:{}},Fe={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var
|
|
10
|
+
*/var ot;function kt(){if(ot)return Fe;ot=1;var a=p,c=Symbol.for("react.element"),n=Symbol.for("react.fragment"),y=Object.prototype.hasOwnProperty,C=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,d={key:!0,ref:!0,__self:!0,__source:!0};function j(v,i,h){var l,m={},k=null,E=null;h!==void 0&&(k=""+h),i.key!==void 0&&(k=""+i.key),i.ref!==void 0&&(E=i.ref);for(l in i)y.call(i,l)&&!d.hasOwnProperty(l)&&(m[l]=i[l]);if(v&&v.defaultProps)for(l in i=v.defaultProps,i)m[l]===void 0&&(m[l]=i[l]);return{$$typeof:c,type:v,key:k,ref:E,props:m,_owner:C.current}}return Fe.Fragment=n,Fe.jsx=j,Fe.jsxs=j,Fe}var Ne={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.development.js
|
|
13
13
|
*
|
|
@@ -15,17 +15,26 @@
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var
|
|
19
|
-
`+
|
|
20
|
-
`),B=
|
|
21
|
-
`),$=
|
|
22
|
-
`+
|
|
18
|
+
*/var st;function Rt(){return st||(st=1,process.env.NODE_ENV!=="production"&&function(){var a=p,c=Symbol.for("react.element"),n=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),v=Symbol.for("react.context"),i=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),w=Symbol.iterator,O="@@iterator";function H(e){if(e===null||typeof e!="object")return null;var r=w&&e[w]||e[O];return typeof r=="function"?r:null}var D=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function T(e){{for(var r=arguments.length,s=new Array(r>1?r-1:0),u=1;u<r;u++)s[u-1]=arguments[u];V("error",e,s)}}function V(e,r,s){{var u=D.ReactDebugCurrentFrame,g=u.getStackAddendum();g!==""&&(r+="%s",s=s.concat([g]));var R=s.map(function(x){return String(x)});R.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,R)}}var P=!1,G=!1,se=!1,ae=!1,de=!1,ne;ne=Symbol.for("react.module.reference");function fe(e){return!!(typeof e=="string"||typeof e=="function"||e===y||e===d||de||e===C||e===h||e===l||ae||e===E||P||G||se||typeof e=="object"&&e!==null&&(e.$$typeof===k||e.$$typeof===m||e.$$typeof===j||e.$$typeof===v||e.$$typeof===i||e.$$typeof===ne||e.getModuleId!==void 0))}function $e(e,r,s){var u=e.displayName;if(u)return u;var g=r.displayName||r.name||"";return g!==""?s+"("+g+")":s}function me(e){return e.displayName||"Context"}function M(e){if(e==null)return null;if(typeof e.tag=="number"&&T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case y:return"Fragment";case n:return"Portal";case d:return"Profiler";case C:return"StrictMode";case h:return"Suspense";case l:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var r=e;return me(r)+".Consumer";case j:var s=e;return me(s._context)+".Provider";case i:return $e(e,e.render,"ForwardRef");case m:var u=e.displayName||null;return u!==null?u:M(e.type)||"Memo";case k:{var g=e,R=g._payload,x=g._init;try{return M(x(R))}catch{return null}}}return null}var Y=Object.assign,X=0,xe,Pe,ye,Q,le,I,oe;function ee(){}ee.__reactDisabledLog=!0;function F(){{if(X===0){xe=console.log,Pe=console.info,ye=console.warn,Q=console.error,le=console.group,I=console.groupCollapsed,oe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ee,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}X++}}function Ce(){{if(X--,X===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Y({},e,{value:xe}),info:Y({},e,{value:Pe}),warn:Y({},e,{value:ye}),error:Y({},e,{value:Q}),group:Y({},e,{value:le}),groupCollapsed:Y({},e,{value:I}),groupEnd:Y({},e,{value:oe})})}X<0&&T("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var pe=D.ReactCurrentDispatcher,U;function ie(e,r,s){{if(U===void 0)try{throw Error()}catch(g){var u=g.stack.trim().match(/\n( *(at )?)/);U=u&&u[1]||""}return`
|
|
19
|
+
`+U+e}}var he=!1,ue;{var Le=typeof WeakMap=="function"?WeakMap:Map;ue=new Le}function be(e,r){if(!e||he)return"";{var s=ue.get(e);if(s!==void 0)return s}var u;he=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var R;R=pe.current,pe.current=null,F();try{if(r){var x=function(){throw Error()};if(Object.defineProperty(x.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(x,[])}catch(q){u=q}Reflect.construct(e,[],x)}else{try{x.call()}catch(q){u=q}e.call(x.prototype)}}else{try{throw Error()}catch(q){u=q}e()}}catch(q){if(q&&u&&typeof q.stack=="string"){for(var _=q.stack.split(`
|
|
20
|
+
`),B=u.stack.split(`
|
|
21
|
+
`),$=_.length-1,L=B.length-1;$>=1&&L>=0&&_[$]!==B[L];)L--;for(;$>=1&&L>=0;$--,L--)if(_[$]!==B[L]){if($!==1||L!==1)do if($--,L--,L<0||_[$]!==B[L]){var z=`
|
|
22
|
+
`+_[$].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),typeof e=="function"&&ue.set(e,z),z}while($>=1&&L>=0);break}}}finally{he=!1,pe.current=R,Ce(),Error.prepareStackTrace=g}var we=e?e.displayName||e.name:"",_e=we?ie(we):"";return typeof e=="function"&&ue.set(e,_e),_e}function ge(e,r,s){return be(e,!1)}function te(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function re(e,r,s){if(e==null)return"";if(typeof e=="function")return be(e,te(e));if(typeof e=="string")return ie(e);switch(e){case h:return ie("Suspense");case l:return ie("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case i:return ge(e.render);case m:return re(e.type,r,s);case k:{var u=e,g=u._payload,R=u._init;try{return re(R(g),r,s)}catch{}}}return""}var o=Object.prototype.hasOwnProperty,b={},N=D.ReactDebugCurrentFrame;function K(e){if(e){var r=e._owner,s=re(e.type,e._source,r?r.type:null);N.setExtraStackFrame(s)}else N.setExtraStackFrame(null)}function Me(e,r,s,u,g){{var R=Function.call.bind(o);for(var x in e)if(R(e,x)){var _=void 0;try{if(typeof e[x]!="function"){var B=Error((u||"React class")+": "+s+" type `"+x+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[x]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw B.name="Invariant Violation",B}_=e[x](r,x,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch($){_=$}_&&!(_ instanceof Error)&&(K(g),T("%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).",u||"React class",s,x,typeof _),K(null)),_ instanceof Error&&!(_.message in b)&&(b[_.message]=!0,K(g),T("Failed %s type: %s",s,_.message),K(null))}}}var Ie=Array.isArray;function Oe(e){return Ie(e)}function Be(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,s=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return s}}function He(e){try{return De(e),!1}catch{return!0}}function De(e){return""+e}function Ae(e){if(He(e))return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Be(e)),De(e)}var ce=D.ReactCurrentOwner,Ve={key:!0,ref:!0,__self:!0,__source:!0},Se,f,A;A={};function qe(e){if(o.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function ct(e){if(o.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function dt(e,r){if(typeof e.ref=="string"&&ce.current&&r&&ce.current.stateNode!==r){var s=M(ce.current.type);A[s]||(T('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',M(ce.current.type),e.ref),A[s]=!0)}}function ft(e,r){{var s=function(){Se||(Se=!0,T("%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))};s.isReactWarning=!0,Object.defineProperty(e,"key",{get:s,configurable:!0})}}function pt(e,r){{var s=function(){f||(f=!0,T("%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))};s.isReactWarning=!0,Object.defineProperty(e,"ref",{get:s,configurable:!0})}}var ht=function(e,r,s,u,g,R,x){var _={$$typeof:c,type:e,key:r,ref:s,props:x,_owner:R};return _._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(_,"_self",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.defineProperty(_,"_source",{configurable:!1,enumerable:!1,writable:!1,value:g}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_};function _t(e,r,s,u,g){{var R,x={},_=null,B=null;s!==void 0&&(Ae(s),_=""+s),ct(r)&&(Ae(r.key),_=""+r.key),qe(r)&&(B=r.ref,dt(r,g));for(R in r)o.call(r,R)&&!Ve.hasOwnProperty(R)&&(x[R]=r[R]);if(e&&e.defaultProps){var $=e.defaultProps;for(R in $)x[R]===void 0&&(x[R]=$[R])}if(_||B){var L=typeof e=="function"?e.displayName||e.name||"Unknown":e;_&&ft(x,L),B&&pt(x,L)}return ht(e,_,B,g,u,ce.current,x)}}var Ye=D.ReactCurrentOwner,Xe=D.ReactDebugCurrentFrame;function je(e){if(e){var r=e._owner,s=re(e.type,e._source,r?r.type:null);Xe.setExtraStackFrame(s)}else Xe.setExtraStackFrame(null)}var Ue;Ue=!1;function Ke(e){return typeof e=="object"&&e!==null&&e.$$typeof===c}function Ze(){{if(Ye.current){var e=M(Ye.current.type);if(e)return`
|
|
23
23
|
|
|
24
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
24
|
+
Check the render method of \``+e+"`."}return""}}function vt(e){return""}var Qe={};function mt(e){{var r=Ze();if(!r){var s=typeof e=="string"?e:e.displayName||e.name;s&&(r=`
|
|
25
25
|
|
|
26
|
-
Check the top-level render call using <`+
|
|
26
|
+
Check the top-level render call using <`+s+">.")}return r}}function et(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var s=mt(r);if(Qe[s])return;Qe[s]=!0;var u="";e&&e._owner&&e._owner!==Ye.current&&(u=" It was passed a child from "+M(e._owner.type)+"."),je(e),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,u),je(null)}}function tt(e,r){{if(typeof e!="object")return;if(Oe(e))for(var s=0;s<e.length;s++){var u=e[s];Ke(u)&&et(u,r)}else if(Ke(e))e._store&&(e._store.validated=!0);else if(e){var g=H(e);if(typeof g=="function"&&g!==e.entries)for(var R=g.call(e),x;!(x=R.next()).done;)Ke(x.value)&&et(x.value,r)}}}function xt(e){{var r=e.type;if(r==null||typeof r=="string")return;var s;if(typeof r=="function")s=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===i||r.$$typeof===m))s=r.propTypes;else return;if(s){var u=M(r);Me(s,e.props,"prop",u,e)}else if(r.PropTypes!==void 0&&!Ue){Ue=!0;var g=M(r);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",g||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function yt(e){{for(var r=Object.keys(e.props),s=0;s<r.length;s++){var u=r[s];if(u!=="children"&&u!=="key"){je(e),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u),je(null);break}}e.ref!==null&&(je(e),T("Invalid attribute `ref` supplied to `React.Fragment`."),je(null))}}var rt={};function nt(e,r,s,u,g,R){{var x=fe(e);if(!x){var _="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(_+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var B=vt();B?_+=B:_+=Ze();var $;e===null?$="null":Oe(e)?$="array":e!==void 0&&e.$$typeof===c?($="<"+(M(e.type)||"Unknown")+" />",_=" Did you accidentally export a JSX literal instead of a component?"):$=typeof e,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",$,_)}var L=_t(e,r,s,g,R);if(L==null)return L;if(x){var z=r.children;if(z!==void 0)if(u)if(Oe(z)){for(var we=0;we<z.length;we++)tt(z[we],e);Object.freeze&&Object.freeze(z)}else T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else tt(z,e)}if(o.call(r,"key")){var _e=M(e),q=Object.keys(r).filter(function(Tt){return Tt!=="key"}),ze=q.length>0?"{key: someKey, "+q.join(": ..., ")+": ...}":"{key: someKey}";if(!rt[_e+ze]){var wt=q.length>0?"{"+q.join(": ..., ")+": ...}":"{}";T(`A props object containing a "key" prop is being spread into JSX:
|
|
27
27
|
let props = %s;
|
|
28
28
|
<%s {...props} />
|
|
29
29
|
React keys must be passed directly to JSX without using spread:
|
|
30
30
|
let props = %s;
|
|
31
|
-
<%s key={someKey} {...props} />`,Ke,pe,jt,pe),et[pe+Ke]=!0}}return e===C?xt(O):mt(O),O}}function yt(e,t,o){return tt(e,t,o,!0)}function bt(e,t,o){return tt(e,t,o,!1)}var gt=bt,Ct=yt;De.Fragment=C,De.jsx=gt,De.jsxs=Ct}()),De}process.env.NODE_ENV==="production"?Je.exports=Tt():Je.exports=Rt();var r=Je.exports;const Et="MainButton-module__mainButton",kt="MainButton-module__sm",$t="MainButton-module__onlyIcon",St="MainButton-module__buttonSlot",Pt="MainButton-module__buttonLabel",Ot="MainButton-module__md",Lt="MainButton-module__lg",Ft="MainButton-module__xl",Dt="MainButton-module__xl2",Nt="MainButton-module__disabled",je={mainButton:Et,sm:kt,onlyIcon:$t,buttonSlot:St,buttonLabel:Pt,md:Ot,lg:Lt,xl:Ft,xl2:Dt,disabled:Nt},At=({label:l,buttonType:u="button",onClick:s,size:C="md",disabled:j,withIcons:f,iconOne:w,iconTwo:m,onlyIcon:c,buttonStyle:_,labelStyle:a,buttonSlotStyle:x})=>r.jsx("button",{type:u,style:_&&typeof _=="object"?_:{},className:`${je.mainButton} ${c?je.onlyIcon:""} ${C?je[C]:""} ${j?je.disabled:""}`,onClick:()=>{s&&typeof s=="function"&&s()},children:r.jsxs("div",{className:je.buttonSlot,style:x??{},children:[c||f&&w?w:"",!c&&r.jsx("span",{style:a??{},className:je.buttonLabel,children:l??"Button"}),f&&m?m:""]})}),Wt="FormInput-module__inputWrapper",Mt="FormInput-module__inputLabel",It="FormInput-module__required",Bt="FormInput-module__inputContainer",Ht="FormInput-module__inputContent",qt="FormInput-module__inputTags",Vt="FormInput-module__focused",Yt="FormInput-module__error",Ut="FormInput-module__rightIcon",Kt="FormInput-module__leftIcon",Jt="FormInput-module__inputDropDown",Gt="FormInput-module__http",Xt="FormInput-module__disabled",zt="FormInput-module__sm",Zt="FormInput-module__md",Qt="FormInput-module__withCopy",er="FormInput-module__inputHelperText",F={inputWrapper:Wt,inputLabel:Mt,required:It,inputContainer:Bt,inputContent:Ht,inputTags:qt,focused:Vt,error:Yt,rightIcon:Ut,leftIcon:Kt,inputDropDown:Jt,http:Gt,disabled:Xt,sm:zt,md:Zt,withCopy:Qt,inputHelperText:er},ot=({width:l,height:u,color:s})=>r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l??"12",height:u??"8",viewBox:"0 0 12 8",fill:"none",children:r.jsx("path",{d:"M1 1.5L6 6.5L11 1.5",stroke:s??"#A4A7AE",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),tr=({width:l,height:u,color:s})=>r.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l??"20",height:u??"20",viewBox:"0 0 20 20",fill:"none",children:[r.jsx("g",{clipPath:"url(#clip0_444_26)",children:r.jsx("path",{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",stroke:s??"#414651",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"clip0_444_26",children:r.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),st=({width:l,height:u,color:s})=>r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l??"14",height:u??"14",viewBox:"0 0 14 14",fill:"none",children:r.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"})}),rr="Checkbox-module__checkboxWrapper",nr="Checkbox-module__sm",or="Checkbox-module__md",sr="Checkbox-module__checkMark",ar="Checkbox-module__checked",lr="Checkbox-module__disabled",we={checkboxWrapper:rr,sm:nr,md:or,checkMark:sr,checked:ar,disabled:lr},at=({color:l,width:u,height:s})=>r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:u??"12",height:s??"12",viewBox:"0 0 12 12",fill:"none",children:r.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:l??"white",strokeWidth:"1.6666",strokeLinecap:"round",strokeLinejoin:"round"})}),ir=l=>r.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...l,width:"10",height:"2",viewBox:"0 0 10 2",fill:"none",children:r.jsx("path",{d:"M1.5 1H8.5",stroke:"white",strokeWidth:"1.66666",strokeLinecap:"round",strokeLinejoin:"round"})}),lt=({checked:l,change:u,disabled:s,required:C,multipleChecked:j,size:f,activeStyle:w,checkBoxStyle:m})=>{const c=h.useRef(null),[_,a]=h.useState(!1),x=()=>{u&&typeof u=="function"&&u(!l)},E=()=>_?w??{}:m??{};return r.jsxs("div",{style:E(),className:`${we.checkboxWrapper} ${we[f]??we.md} ${l?we.checked:we.unChecked} ${s?we.disabled:""}`,onMouseDown:()=>a(!0),onMouseUp:()=>a(!1),onMouseLeave:()=>a(!1),onClick:x,children:[r.jsx("input",{ref:c,type:"checkbox",disabled:s,checked:l,hidden:!0,readOnly:!0,required:C??!1}),l?j?r.jsx(ir,{}):r.jsx(at,{}):""]})},ur="Tag-module__tagContainer",cr="Tag-module__onlyLabel",dr="Tag-module__sm",fr="Tag-module__md",pr="Tag-module__lg",hr="Tag-module__tagLabel",_r="Tag-module__tagNumber",vr="Tag-module__tagClose",Te={tagContainer:ur,onlyLabel:cr,sm:dr,md:fr,lg:pr,tagLabel:hr,tagNumber:_r,tagClose:vr},it=({id:l,label:u,icon:s,withClose:C,withCheckbox:j,withNumber:f,number:w,checkboxProps:m,disable:c,size:_,onClose:a,tagContainerStyle:x,tagLabelStyle:E,tagNumberStyle:k,tagCloseStlye:T})=>{const D=()=>!j&&!s&&!C&&!f,H=()=>s,L=()=>{a&&typeof a=="function"&&a(l??null)};return r.jsxs("div",{style:x??{},className:`${Te.tagContainer} ${D()?Te.onlyLabel:""} ${Te[_??"md"]}`,children:[j&&r.jsx(lt,{...m}),s&&H(),u&&r.jsx("p",{style:E??{},className:Te.tagLabel,children:u??""}),f&&r.jsx("div",{style:k??{},className:Te.tagNumber,children:w??""}),C&&r.jsx("div",{style:T??{},className:Te.tagClose,onClick:L,children:r.jsx(st,{width:(T==null?void 0:T.width)??"14",height:(T==null?void 0:T.height)??"14",color:(T==null?void 0:T.color)??"#A4A7AE"})})]})},mr=({value:l,label:u,placeholder:s,required:C,disabled:j,type:f,size:w,onChange:m,onFouce:c,onBlur:_,msg:a,readOnly:x,maxLength:E,onlyText:k,tagValues:T,onRightIconIconClick:D,onRightIconIconMouseEnter:H,onRightIconIconMouseLeave:L,onLeftIconIconClick:g,onLeftIconIconMouseEnter:q,onLeftIconIconMouseLeave:S,onPressEnter:Q,rightIcon:ne,leftIcon:oe,withDropDown:ce,dropdownData:ee,onSelectData:de,withTags:Ee,tagProps:_e,withLink:M,withCopy:Y,onCopy:G,inputWrapperStyle:ke,inputLabelStyle:ve,requiredStyle:X,inputContainerStyle:se,leftIconStyle:I,inputDropDownStyle:te,ulStyle:z,liStyle:N,httpStyle:me,inputStyle:$e,rightIconStyle:U,withCopyStyle:fe,inputHelperTextStyle:re})=>{const[xe,ae]=h.useState(!1),Se=h.useRef(null),[ye,le]=h.useState(!1);h.useState(!1);const ie=h.useRef(null),n=h.useRef(null),[y,P]=h.useState(!1),[Z,be]=h.useState(1),We=d=>{let A=d.target.value;A.length===1&&(A=A.trim()),m&&typeof m=="function"&&m(k?A.replace(/\d/g,""):A)},Me=()=>{le(!0),c&&typeof c=="function"&&c()},Pe=()=>{le(!1),_&&typeof _=="function"&&_()},Ie=d=>{const A=d.target.value,qe=A.length===0;f==="number"&&(d.keyCode===69||!qe&&(d.keyCode===187||d.keyCode===107||d.keyCode===189||d.keyCode===109))&&d.preventDefault(),d.key==="Enter"&&A&&A.length>0&&Q&&typeof Q=="function"&&Q(A)},Be=()=>{G&&typeof G=="function"&&G(l)},Oe=d=>d,Ne=()=>{let d={};return Y&&(d.borderTopRightRadius=0,d.borderBottomRightRadius=0,d.borderRight=0),ce&&(d.paddingLeft=0),{...d,...se??{}}},ue=d=>{!d.composedPath().includes(n.current)&&d.composedPath().includes(ie.current)||P(!1)},He=d=>{be(d.id),P(!1),de&&typeof de=="function"&&de(d)};h.useEffect(()=>{l&&l.length===0&&calculateWidth()},[l]),h.useEffect(()=>(document.addEventListener("click",ue),()=>{document.removeEventListener("click",ue)}),[]);const Le=h.useRef(!1);return h.useEffect(()=>{Le.current?setTimeout(()=>{ae(d=>!d)},0):Le.current=!0},[]),r.jsxs("div",{className:F.inputWrapper,style:ke??{},children:[u&&r.jsxs("label",{className:F.inputLabel,style:ve??{},children:[u," ",r.jsx("span",{className:F.required,style:X??{},children:C&&"*"})]}),r.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[r.jsxs("div",{style:Ne(),className:`${F.inputContainer} ${ye&&!x?F.focused:""} ${j?F.disabled:""} ${a!=null&&a.error?F.error:""} ${F[w??"sm"]}`,children:[!ce&&!M&&oe&&r.jsx("div",{className:F.leftIcon,style:I??{},onClick:()=>{g&&typeof g=="function"&&g()},onMouseEnter:()=>{q&&typeof q=="function"&&q()},onMouseLeave:()=>{S&&typeof S=="function"&&S()},children:Oe(oe)}),!M&&ce&&r.jsxs("div",{className:F.inputDropDown,style:te??{},onClick:()=>P(!0),ref:ie,children:[ee.find(d=>d.id===Z).label,y&&r.jsx("ul",{ref:n,style:z??{},children:ee&&ee.length&&ee.map((d,A)=>r.jsx("li",{style:N??{},onClick:()=>He(d),children:(d==null?void 0:d.label)??"-"},d.id))}),r.jsx(ot,{})]}),M&&r.jsx("div",{className:`${F.inputDropDown} ${F.http}`,style:me??{},onClick:()=>P(!0),ref:ie,children:"http://"}),r.jsxs("div",{className:F.inputContent,children:[Ee&&T&&T.length>0&&r.jsx("div",{className:F.inputTags,children:T.map((d,A)=>r.jsx("div",{className:F.inputSingleTags,children:r.jsx(it,{..._e,id:d,label:d,withClose:!0})},A))}),r.jsx("input",{ref:Se,style:$e??{},type:f??"text",value:l,onChange:d=>We(d),onFocus:Me,onBlur:Pe,disabled:j,required:C,onKeyDown:Ie,readOnly:x,spellCheck:!1,placeholder:s??"",autoComplete:"off",maxLength:E})]}),ne&&r.jsx("div",{className:F.rightIcon,style:U??{},onClick:()=>{D&&typeof D=="function"&&D()},onMouseEnter:()=>{H&&typeof H=="function"&&H()},onMouseLeave:()=>{L&&typeof L=="function"&&L()},children:Oe(ne)})]}),Y&&r.jsxs("div",{style:fe??{},onClick:Be,className:F.withCopy,children:[r.jsx(tr,{}),"Copy"]})]}),a&&(a==null?void 0:a.visible)&&r.jsx("div",{style:re??{},className:`${F.inputHelperText} ${a!=null&&a.error?F.error:""}`,children:r.jsx("p",{style:(a==null?void 0:a.style)??{},children:a.text})})]})},xr="Textarea-module__textareaContainer",yr="Textarea-module__textAreaLabel",br="Textarea-module__required",gr="Textarea-module__wrap",Cr="Textarea-module__textarea",jr="Textarea-module__focused",wr="Textarea-module__disabled",Tr="Textarea-module__error",Rr="Textarea-module__helperTextStyle",J={textareaContainer:xr,textAreaLabel:yr,required:br,wrap:gr,textarea:Cr,focused:jr,disabled:wr,error:Tr,helperTextStyle:Rr},Er=({width:l,height:u,color:s})=>r.jsxs("svg",{width:l??"16",height:u??"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[r.jsx("g",{id:"help-circle",clipPath:"url(#clip0_433_6293)",children:r.jsx("path",{id:"Icon",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",stroke:s??"#A4A7AE",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),r.jsx("defs",{children:r.jsx("clipPath",{id:"clip0_433_6293",children:r.jsx("rect",{width:l??"16",height:u??"16",fill:"white"})})})]}),kr=({placeholder:l,label:u,msg:s,cols:C,rows:j,value:f,maxLength:w,onChange:m,onFocus:c,onBlur:_,disabled:a,required:x,textareaContainerStyle:E,textareaLabelStyle:k,requiredStyle:T,textareaStyle:D,textareaHelperTextStyle:H})=>{const[L,g]=h.useState(!1),q=ne=>{let oe=ne.target.value;m&&typeof m=="function"&&m(oe)},S=()=>{g(!0),c&&typeof c=="function"&&c()},Q=()=>{g(!1),_&&typeof _=="function"&&_()};return r.jsxs("div",{style:E??{},className:`${J.textareaContainer} ${s!=null&&s.type&&(s!=null&&s.visible)?J[s==null?void 0:s.type]:""} ${a?J.disabled:null}`,children:[u&&r.jsxs("div",{style:k,className:J.textAreaLabel,children:[r.jsx("p",{children:u}),r.jsx("span",{style:T??{},className:J.required,children:x&&"*"}),r.jsx(Er,{})]}),r.jsx("div",{className:J.wrap,children:r.jsx("textarea",{style:D??{},className:`${J.textarea} ${L?J.focused:""} ${a?J.disabled:""} ${s!=null&&s.error?J.error:""}`,value:f,placeholder:l??"",cols:C??"30",rows:j??"5",maxLength:w??null,onFocus:S,disabled:a,onBlur:Q,onChange:q})}),r.jsx("div",{style:H??{},className:`${J.helperTextStyle} ${s!=null&&s.error?J.error:""}`,children:r.jsx("p",{style:(s==null?void 0:s.style)??{},children:s.text})})]})},$r="Toggle-module__toggleWrapper",Sr="Toggle-module__toggleState",Pr="Toggle-module__checked",Or="Toggle-module__disabled",Ae={toggleWrapper:$r,toggleState:Sr,checked:Pr,disabled:Or},Lr=({checked:l,change:u,disabled:s,required:C,activeStyle:j,bgStyle:f,checkedBgStyle:w,disabledBgStyle:m,circleStyle:c,checkedCircleStyle:_,disabledCircleStyle:a})=>{const[x,E]=h.useState(!1),k=()=>{u&&typeof u=="function"&&u(!l)},T=()=>{if(x)return j??{};if(l){if(w)return w}else if(l){if(s&&m)return m}else if(f)return f;return{}},D=()=>{if(l){if(_)return _}else if(l){if(s&&a)return a}else if(c)return c;return{}};return r.jsx("div",{style:T(),onMouseDown:()=>E(!0),onMouseUp:()=>E(!1),onMouseLeave:()=>E(!1),onClick:k,className:`${Ae.toggleWrapper} ${l?Ae.checked:""} ${s?Ae.disabled:""}`,children:r.jsx("div",{style:D(),className:Ae.toggleState,children:r.jsx("input",{type:"checkbox",checked:l,readOnly:!0,disabled:s??!1,hidden:!0,required:C??!1})})})},Fr="Radio-module__radioWrapper",Dr="Radio-module__sm",Nr="Radio-module__md",Ar="Radio-module__checked",Wr="Radio-module__innerCircle",Mr="Radio-module__radioState",Ir="Radio-module__disabled",he={radioWrapper:Fr,sm:Dr,md:Nr,checked:Ar,innerCircle:Wr,radioState:Mr,disabled:Ir},Br=({checked:l,change:u,disabled:s,isRequired:C,withUncheckState:j,size:f})=>{h.useState(!1);const w=()=>{u&&typeof u=="function"&&(j||!j&&!l)&&u(!0)};return r.jsxs("div",{className:`${he.radioWrapper} ${he[f]??he.md} ${l?he.checked:""} ${s?he.disabled:""}`,onClick:w,children:[r.jsx("input",{type:"radio",checked:!0,readOnly:!0,hidden:!0,disabled:s??!1,required:C??!1}),r.jsx("div",{className:he.radioState,children:r.jsx("div",{className:he.innerCircle})})]})},Hr="Dropdown-module__dropdownWrapper",qr="Dropdown-module__placeHolder",Vr="Dropdown-module__dropdownLabel",Yr="Dropdown-module__required",Ur="Dropdown-module__dropdownContainer",Kr="Dropdown-module__sm",Jr="Dropdown-module__md",Gr="Dropdown-module__selectedTags",Xr="Dropdown-module__selectedList",zr="Dropdown-module__additional",Zr="Dropdown-module__dropdownList",Qr="Dropdown-module__disabled",en="Dropdown-module__selected",tn="Dropdown-module__focused",rn="Dropdown-module__error",nn="Dropdown-module__dropdownHelperText",W={dropdownWrapper:Hr,placeHolder:qr,dropdownLabel:Vr,required:Yr,dropdownContainer:Ur,sm:Kr,md:Jr,selectedTags:Gr,selectedList:Xr,additional:zr,dropdownList:Zr,disabled:Qr,selected:en,focused:tn,error:rn,dropdownHelperText:nn},on=({label:l,disabled:u,required:s,size:C="md",placeholder:j="placeholder",msg:f,readOnly:w,data:m,onSelect:c,selectedOptionID:_,withFilter:a,onSearch:x,pagination:E,withMultiSelect:k=!1,skipSelected:T,labelIcon:D,closeIcon:H,iconDown:L,onLabelIconClick:g,onLabelIconMouseEnter:q,onLabelIconMouseLeave:S,dropdownWrapperStyle:Q,dropdownLabelStyle:ne,requiredStyle:oe,labelIconStyle:ce,dropdownContainerStyle:ee,placeHolderStyle:de,selectedTagsStyle:Ee,selectedListStyle:_e,additionalStyle:M,dropdownListStyle:Y,listStyle:G})=>{const[ke,ve]=h.useState(!1),[X,se]=h.useState(!1),I=h.useRef(m),[te,z]=h.useState("");h.useState(null);const N=h.useRef([]),me=h.useRef(null),$e=h.useRef(null),U=h.useRef({}),fe=(n,y)=>{const P=new Set;return n.filter(Z=>P.has(Z[y])?!1:(P.add(Z[y]),!0))},re=n=>{var y;I.current.forEach(P=>{n.id===P.id?P.selected=!0:P.selected=!1}),U.current=n,z((y=U.current)==null?void 0:y.label),c&&typeof c=="function"&&c(U.current),se(!1)},xe=n=>{N.current=[...N.current,...I.current.filter(y=>y.id===n.id)],n.selected=!n.selected,N.current=fe(N.current,"id").filter(y=>y.selected),c&&typeof c=="function"&&c(N.current),z(N.current.map(y=>y.label).join(", ")),ve(y=>!y)},ae=n=>{n.stopPropagation(),N.current=[],_=null,I.current&&I.current.length>0&&m.forEach(y=>y.selected=!1),c(k?[]:{}),z("")},Se=n=>{if(a&&!E)if(n&&n.length>0){let y=I.current.filter(P=>{var Z;return(Z=P==null?void 0:P.label)==null?void 0:Z.toLowerCase().includes(n.toLowerCase())});I.current=y}else I.current=m;x&&typeof x=="function"&&x(n),z(n)},ye=()=>{if(_||_===0){let n=m.filter(y=>Number(y.id)===Number(_));n&&n[0]&&(U.current=n[0],T?(x&&typeof x=="function"&&x(U.current.label),z(U.current.label),closeOnSelect&&setCollapsed(y=>!1),withDropdownSearch&&DropdownSearchValue&&SetDropdownSearchValue("")):re(n[0]))}},le=n=>n,ie=n=>{n.composedPath().includes(me.current)||se(!1)};return h.useEffect(()=>{k||ye()},[_]),h.useEffect(()=>(document.addEventListener("click",ie),()=>{document.removeEventListener("click",ie)}),[]),r.jsxs("div",{className:W.dropdownWrapper,style:Q??{},children:[l&&r.jsxs("label",{className:W.dropdownLabel,style:ne??{},children:[l," ",r.jsx("span",{className:W.required,style:oe??{},children:s&&"*"}),r.jsxs("span",{style:{...ce??{},display:"grid",placeItems:"center"},onClick:()=>{g&&typeof g=="function"&&g()},onMouseEnter:()=>{q&&typeof q=="function"&&q()},onMouseLeave:()=>{S&&typeof S=="function"&&S()},children:[" ",le(D)]})]}),r.jsxs("div",{ref:me,onClick:()=>se(n=>!n),className:`${W.dropdownContainer} ${X&&!w?W.focused:""} ${u?W.disabled:""} ${f!=null&&f.error?W.error:""} ${W[C]}`,style:ee??{},children:[r.jsx("span",{className:W.placeHolder,style:de??{},children:te&&te.length>0?"":j}),k&&r.jsxs("div",{className:W.selectedTags,style:Ee??{},children:[N.current.slice(0,3).map((n,y)=>{let P=N.current[N.current.length-1];return r.jsxs("span",{className:W.selectedList,style:_e??{},children:[n.label,n.id!==P.id&&y!==2?", ":""]},n==null?void 0:n.id)}),N.current.length>3&&r.jsxs("span",{className:W.additional,style:M??{},children:[" ","+(",N.current.length-3,")"]})]}),r.jsx("input",{autoCorrect:"off",hidden:k,readOnly:!a||!X||k,type:"text",value:te,onChange:n=>Se(n.target.value)},_),X&&I.current&&I.current.length>0&&r.jsx("ul",{onClick:n=>n.stopPropagation(),ref:$e,className:W.dropdownList,style:Y??{},children:I.current.map(n=>r.jsxs("li",{style:G??{},className:`${!(n!=null&&n.label)||n.label===void 0||n!=null&&n.disabled?W.disabled:""} ${n!=null&&n.selected?W.selected:""}`,onClick:()=>{k?xe(n):re(n)},children:[r.jsxs("p",{children:[" ",n!=null&&n.label?typeof n.label=="function"?n.label():n.label:"-"]}),(n==null?void 0:n.selected)&&r.jsx("span",{children:r.jsx(at,{color:"#7F56D9",width:20,height:20})})]},n==null?void 0:n.id))}),(N.current.length>0||te.length)>0&&r.jsx("div",{onClick:n=>ae(n),style:{display:"grid",placeItems:"center",cursor:"pointer"},children:H?le(H):r.jsx(st,{width:16,height:16})}),r.jsx("div",{style:{display:"grid",placeItems:"center",transform:X?"rotate(180deg)":"",transition:"transform 0.2s ease-in-out",cursor:"pointer",marginLeft:"10px"},children:L?le(L):r.jsx(ot,{})})]}),f&&(f==null?void 0:f.visible)&&r.jsx("div",{className:`${W.dropdownHelperText} ${f!=null&&f.error?W.error:""}`,children:!X&&r.jsx("p",{style:(f==null?void 0:f.style)??{},children:f.text})})]})},sn="Tooltip-module__tooltipContainer",an="Tooltip-module__tooltipContent",ln="Tooltip-module__top",un="Tooltip-module__right",cn="Tooltip-module__bottom",dn="Tooltip-module__left",fn="Tooltip-module__tooltipTitle",pn="Tooltip-module__tooltipText",Re={tooltipContainer:sn,tooltipContent:an,top:ln,right:un,bottom:cn,left:dn,tooltipTitle:fn,tooltipText:pn},hn=({children:l,tooltipSlot:u,delay:s,placement:C="top",trigger:j="hover",title:f,text:w,tooltipContentStyle:m,tooltipTitlestyle:c,tooltipTextStyle:_,pointerPosition:a="10%"})=>{const x=h.useRef(null),E=h.useRef(null);let k;const[T,D]=h.useState(!1),H=()=>{j==="hover"&&(k=setTimeout(()=>{D(!0)},s||400))},L=()=>{j==="hover"&&(clearInterval(k),D(!1))},g=()=>{j==="click"&&D(S=>!S)},q=S=>{S.composedPath().includes(x.current)||D(!1)};return h.useEffect(()=>(document.addEventListener("click",q),()=>{document.removeEventListener("click",q)}),[]),h.useEffect(()=>{const S=E.current;S&&S.style.setProperty("--pointer-position",`${a}`)},[T]),r.jsxs("div",{ref:x,className:Re.tooltipContainer,onClick:g,onMouseEnter:H,onMouseLeave:L,children:[l,T&&u?u():T&&r.jsxs("div",{onClick:S=>S.stopPropagation(),ref:E,style:m??{},className:`${Re.tooltipContent} ${C?Re[C]:Re.bottom}`,children:[f&&f.length>0&&r.jsx("h2",{className:Re.tooltipTitle,style:c??{},children:f}),w&&w.length>0&&r.jsx("p",{className:Re.tooltipText,style:_??{},children:w})]})]})};exports.Checkbox=lt;exports.Dropdown=on;exports.FormInput=mr;exports.MainButton=At;exports.Radio=Br;exports.Tag=it;exports.Textarea=kr;exports.Toggle=Lr;exports.Tooltip=hn;
|
|
31
|
+
<%s key={someKey} {...props} />`,ze,_e,wt,_e),rt[_e+ze]=!0}}return e===y?yt(L):xt(L),L}}function Ct(e,r,s){return nt(e,r,s,!0)}function bt(e,r,s){return nt(e,r,s,!1)}var gt=bt,jt=Ct;Ne.Fragment=y,Ne.jsx=gt,Ne.jsxs=jt}()),Ne}process.env.NODE_ENV==="production"?Je.exports=kt():Je.exports=Rt();var t=Je.exports;const Et="MainButton-module__mainButton",$t="MainButton-module__sm",Pt="MainButton-module__onlyIcon",Lt="MainButton-module__buttonSlot",Ot="MainButton-module__buttonLabel",Dt="MainButton-module__md",St="MainButton-module__lg",Ft="MainButton-module__xl",Nt="MainButton-module__xl2",At="MainButton-module__disabled",Te={mainButton:Et,sm:$t,onlyIcon:Pt,buttonSlot:Lt,buttonLabel:Ot,md:Dt,lg:St,xl:Ft,xl2:Nt,disabled:At},Wt=({label:a,buttonType:c="button",onClick:n,size:y="md",disabled:C,withIcons:d,iconOne:j,iconTwo:v,onlyIcon:i,buttonStyle:h,labelStyle:l,buttonSlotStyle:m})=>t.jsx("button",{type:c,style:h&&typeof h=="object"?h:{},className:`${Te.mainButton} ${i?Te.onlyIcon:""} ${y?Te[y]:""} ${C?Te.disabled:""}`,onClick:()=>{n&&typeof n=="function"&&n()},children:t.jsxs("div",{className:Te.buttonSlot,style:m??{},children:[i||d&&j?j:"",!i&&t.jsx("span",{style:l??{},className:Te.buttonLabel,children:a??"Button"}),d&&v?v:""]})}),Mt="FormInput-module__inputWrapper",It="FormInput-module__inputLabel",Bt="FormInput-module__required",Ht="FormInput-module__inputContainer",Vt="FormInput-module__inputContent",qt="FormInput-module__inputTags",Yt="FormInput-module__focused",Ut="FormInput-module__error",Kt="FormInput-module__rightIcon",zt="FormInput-module__leftIcon",Jt="FormInput-module__inputDropDown",Gt="FormInput-module__http",Xt="FormInput-module__disabled",Zt="FormInput-module__sm",Qt="FormInput-module__md",er="FormInput-module__withCopy",tr="FormInput-module__inputHelperText",S={inputWrapper:Mt,inputLabel:It,required:Bt,inputContainer:Ht,inputContent:Vt,inputTags:qt,focused:Yt,error:Ut,rightIcon:Kt,leftIcon:zt,inputDropDown:Jt,http:Gt,disabled:Xt,sm:Zt,md:Qt,withCopy:er,inputHelperText:tr},at=({width:a,height:c,color:n})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:a??"12",height:c??"8",viewBox:"0 0 12 8",fill:"none",children:t.jsx("path",{d:"M1 1.5L6 6.5L11 1.5",stroke:n??"#A4A7AE",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),rr=({width:a,height:c,color:n})=>t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:a??"20",height:c??"20",viewBox:"0 0 20 20",fill:"none",children:[t.jsx("g",{clipPath:"url(#clip0_444_26)",children:t.jsx("path",{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",stroke:n??"#414651",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_444_26",children:t.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Ge=a=>t.jsx("svg",{xmlns:a.xmlns??"http://www.w3.org/2000/svg",width:a.width??"14",height:a.height??"14",viewBox:a.viewBox??"0 0 14 14",fill:a.fill??"none",children:t.jsx("path",{d:a.d??"M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5",stroke:a.stroke??"#A4A7AE",strokeWidth:a.strokeWidth??"1.66667",strokeLinecap:a.strokeLinecap??"round",strokeLinejoin:a.strokeLinejoin??"round"})}),nr="Checkbox-module__checkboxWrapper",or="Checkbox-module__sm",sr="Checkbox-module__md",ar="Checkbox-module__checkMark",lr="Checkbox-module__checked",ir="Checkbox-module__disabled",ke={checkboxWrapper:nr,sm:or,md:sr,checkMark:ar,checked:lr,disabled:ir},lt=({color:a,width:c,height:n})=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:c??"12",height:n??"12",viewBox:"0 0 12 12",fill:"none",children:t.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:a??"white",strokeWidth:"1.6666",strokeLinecap:"round",strokeLinejoin:"round"})}),ur=a=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...a,width:"10",height:"2",viewBox:"0 0 10 2",fill:"none",children:t.jsx("path",{d:"M1.5 1H8.5",stroke:"white",strokeWidth:"1.66666",strokeLinecap:"round",strokeLinejoin:"round"})}),it=({checked:a,change:c,disabled:n,required:y,multipleChecked:C,size:d,activeStyle:j,checkBoxStyle:v})=>{const i=p.useRef(null),[h,l]=p.useState(!1),m=()=>{c&&typeof c=="function"&&c(!a)},k=()=>h?j??{}:v??{};return t.jsxs("div",{style:k(),className:`${ke.checkboxWrapper} ${ke[d]??ke.md} ${a?ke.checked:ke.unChecked} ${n?ke.disabled:""}`,onMouseDown:()=>l(!0),onMouseUp:()=>l(!1),onMouseLeave:()=>l(!1),onClick:m,children:[t.jsx("input",{ref:i,type:"checkbox",disabled:n,checked:a,hidden:!0,readOnly:!0,required:y??!1}),a?C?t.jsx(ur,{}):t.jsx(lt,{}):""]})},cr="Tag-module__tagContainer",dr="Tag-module__onlyLabel",fr="Tag-module__sm",pr="Tag-module__md",hr="Tag-module__lg",_r="Tag-module__tagLabel",vr="Tag-module__tagNumber",mr="Tag-module__tagClose",Re={tagContainer:cr,onlyLabel:dr,sm:fr,md:pr,lg:hr,tagLabel:_r,tagNumber:vr,tagClose:mr},ut=({id:a,label:c,icon:n,withClose:y,withCheckbox:C,withNumber:d,number:j,checkboxProps:v,disable:i,size:h,onClose:l,tagContainerStyle:m,tagLabelStyle:k,tagNumberStyle:E,tagCloseStlye:w})=>{const O=()=>!C&&!n&&!y&&!d,H=()=>n,D=()=>{l&&typeof l=="function"&&l(a??null)};return t.jsxs("div",{style:m??{},className:`${Re.tagContainer} ${O()?Re.onlyLabel:""} ${Re[h??"md"]}`,children:[C&&t.jsx(it,{...v}),n&&H(),c&&t.jsx("p",{style:k??{},className:Re.tagLabel,children:c??""}),d&&t.jsx("div",{style:E??{},className:Re.tagNumber,children:j??""}),y&&t.jsx("div",{style:w??{},className:Re.tagClose,onClick:D,children:t.jsx(Ge,{width:(w==null?void 0:w.width)??"14",height:(w==null?void 0:w.height)??"14",color:(w==null?void 0:w.color)??"#A4A7AE"})})]})},xr=({value:a,label:c,placeholder:n,required:y,disabled:C,type:d,size:j,onChange:v,onFouce:i,onBlur:h,msg:l,readOnly:m,maxLength:k,onlyText:E,tagValues:w,onRightIconIconClick:O,onRightIconIconMouseEnter:H,onRightIconIconMouseLeave:D,onLeftIconIconClick:T,onLeftIconIconMouseEnter:V,onLeftIconIconMouseLeave:P,onPressEnter:G,rightIcon:se,leftIcon:ae,withDropDown:de,dropdownData:ne,onSelectData:fe,withTags:$e,tagProps:me,withLink:M,withCopy:Y,onCopy:X,inputWrapperStyle:xe,inputLabelStyle:Pe,requiredStyle:ye,inputContainerStyle:Q,leftIconStyle:le,inputDropDownStyle:I,ulStyle:oe,liStyle:ee,httpStyle:F,inputStyle:Ce,rightIconStyle:pe,withCopyStyle:U,inputHelperTextStyle:ie})=>{const[he,ue]=p.useState(!1),Le=p.useRef(null),[be,ge]=p.useState(!1);p.useState(!1);const te=p.useRef(null),re=p.useRef(null),[o,b]=p.useState(!1),[N,K]=p.useState(1),Me=f=>{let A=f.target.value;A.length===1&&(A=A.trim()),v&&typeof v=="function"&&v(E?A.replace(/\d/g,""):A)},Ie=()=>{ge(!0),i&&typeof i=="function"&&i()},Oe=()=>{ge(!1),h&&typeof h=="function"&&h()},Be=f=>{const A=f.target.value,qe=A.length===0;d==="number"&&(f.keyCode===69||!qe&&(f.keyCode===187||f.keyCode===107||f.keyCode===189||f.keyCode===109))&&f.preventDefault(),f.key==="Enter"&&A&&A.length>0&&G&&typeof G=="function"&&G(A)},He=()=>{X&&typeof X=="function"&&X(a)},De=f=>f,Ae=()=>{let f={};return Y&&(f.borderTopRightRadius=0,f.borderBottomRightRadius=0,f.borderRight=0),de&&(f.paddingLeft=0),{...f,...Q??{}}},ce=f=>{!f.composedPath().includes(re.current)&&f.composedPath().includes(te.current)||b(!1)},Ve=f=>{K(f.id),b(!1),fe&&typeof fe=="function"&&fe(f)};p.useEffect(()=>{a&&a.length===0&&calculateWidth()},[a]),p.useEffect(()=>(document.addEventListener("click",ce),()=>{document.removeEventListener("click",ce)}),[]);const Se=p.useRef(!1);return p.useEffect(()=>{Se.current?setTimeout(()=>{ue(f=>!f)},0):Se.current=!0},[]),t.jsxs("div",{className:S.inputWrapper,style:xe??{},children:[c&&t.jsxs("label",{className:S.inputLabel,style:Pe??{},children:[c," ",t.jsx("span",{className:S.required,style:ye??{},children:y&&"*"})]}),t.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[t.jsxs("div",{style:Ae(),className:`${S.inputContainer} ${be&&!m?S.focused:""} ${C?S.disabled:""} ${l!=null&&l.error?S.error:""} ${S[j??"sm"]}`,children:[!de&&!M&&ae&&t.jsx("div",{className:S.leftIcon,style:le??{},onClick:()=>{T&&typeof T=="function"&&T()},onMouseEnter:()=>{V&&typeof V=="function"&&V()},onMouseLeave:()=>{P&&typeof P=="function"&&P()},children:De(ae)}),!M&&de&&t.jsxs("div",{className:S.inputDropDown,style:I??{},onClick:()=>b(!0),ref:te,children:[ne.find(f=>f.id===N).label,o&&t.jsx("ul",{ref:re,style:oe??{},children:ne&&ne.length&&ne.map((f,A)=>t.jsx("li",{style:ee??{},onClick:()=>Ve(f),children:(f==null?void 0:f.label)??"-"},f.id))}),t.jsx(at,{})]}),M&&t.jsx("div",{className:`${S.inputDropDown} ${S.http}`,style:F??{},onClick:()=>b(!0),ref:te,children:"http://"}),t.jsxs("div",{className:S.inputContent,children:[$e&&w&&w.length>0&&t.jsx("div",{className:S.inputTags,children:w.map((f,A)=>t.jsx("div",{className:S.inputSingleTags,children:t.jsx(ut,{...me,id:f,label:f,withClose:!0})},A))}),t.jsx("input",{ref:Le,style:Ce??{},type:d??"text",value:a,onChange:f=>Me(f),onFocus:Ie,onBlur:Oe,disabled:C,required:y,onKeyDown:Be,readOnly:m,spellCheck:!1,placeholder:n??"",autoComplete:"off",maxLength:k})]}),se&&t.jsx("div",{className:S.rightIcon,style:pe??{},onClick:()=>{O&&typeof O=="function"&&O()},onMouseEnter:()=>{H&&typeof H=="function"&&H()},onMouseLeave:()=>{D&&typeof D=="function"&&D()},children:De(se)})]}),Y&&t.jsxs("div",{style:U??{},onClick:He,className:S.withCopy,children:[t.jsx(rr,{}),"Copy"]})]}),l&&(l==null?void 0:l.visible)&&t.jsx("div",{style:ie??{},className:`${S.inputHelperText} ${l!=null&&l.error?S.error:""}`,children:t.jsx("p",{style:(l==null?void 0:l.style)??{},children:l.text})})]})},yr="Textarea-module__textareaContainer",Cr="Textarea-module__textAreaLabel",br="Textarea-module__required",gr="Textarea-module__wrap",jr="Textarea-module__textarea",wr="Textarea-module__focused",Tr="Textarea-module__disabled",kr="Textarea-module__error",Rr="Textarea-module__helperTextStyle",J={textareaContainer:yr,textAreaLabel:Cr,required:br,wrap:gr,textarea:jr,focused:wr,disabled:Tr,error:kr,helperTextStyle:Rr},Er=({width:a,height:c,color:n})=>t.jsxs("svg",{width:a??"16",height:c??"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("g",{id:"help-circle",clipPath:"url(#clip0_433_6293)",children:t.jsx("path",{id:"Icon",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",stroke:n??"#A4A7AE",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),t.jsx("defs",{children:t.jsx("clipPath",{id:"clip0_433_6293",children:t.jsx("rect",{width:a??"16",height:c??"16",fill:"white"})})})]}),$r=({placeholder:a,label:c,msg:n,cols:y,rows:C,value:d,maxLength:j,onChange:v,onFocus:i,onBlur:h,disabled:l,required:m,textareaContainerStyle:k,textareaLabelStyle:E,requiredStyle:w,textareaStyle:O,textareaHelperTextStyle:H})=>{const[D,T]=p.useState(!1),V=se=>{let ae=se.target.value;v&&typeof v=="function"&&v(ae)},P=()=>{T(!0),i&&typeof i=="function"&&i()},G=()=>{T(!1),h&&typeof h=="function"&&h()};return t.jsxs("div",{style:k??{},className:`${J.textareaContainer} ${n!=null&&n.type&&(n!=null&&n.visible)?J[n==null?void 0:n.type]:""} ${l?J.disabled:null}`,children:[c&&t.jsxs("div",{style:E,className:J.textAreaLabel,children:[t.jsx("p",{children:c}),t.jsx("span",{style:w??{},className:J.required,children:m&&"*"}),t.jsx(Er,{})]}),t.jsx("div",{className:J.wrap,children:t.jsx("textarea",{style:O??{},className:`${J.textarea} ${D?J.focused:""} ${l?J.disabled:""} ${n!=null&&n.error?J.error:""}`,value:d,placeholder:a??"",cols:y??"30",rows:C??"5",maxLength:j??null,onFocus:P,disabled:l,onBlur:G,onChange:V})}),t.jsx("div",{style:H??{},className:`${J.helperTextStyle} ${n!=null&&n.error?J.error:""}`,children:t.jsx("p",{style:(n==null?void 0:n.style)??{},children:n.text})})]})},Pr="Toggle-module__toggleWrapper",Lr="Toggle-module__toggleState",Or="Toggle-module__checked",Dr="Toggle-module__disabled",We={toggleWrapper:Pr,toggleState:Lr,checked:Or,disabled:Dr},Sr=({checked:a,change:c,disabled:n,required:y,activeStyle:C,bgStyle:d,checkedBgStyle:j,disabledBgStyle:v,circleStyle:i,checkedCircleStyle:h,disabledCircleStyle:l})=>{const[m,k]=p.useState(!1),E=()=>{c&&typeof c=="function"&&c(!a)},w=()=>{if(m)return C??{};if(a){if(j)return j}else if(a){if(n&&v)return v}else if(d)return d;return{}},O=()=>{if(a){if(h)return h}else if(a){if(n&&l)return l}else if(i)return i;return{}};return t.jsx("div",{style:w(),onMouseDown:()=>k(!0),onMouseUp:()=>k(!1),onMouseLeave:()=>k(!1),onClick:E,className:`${We.toggleWrapper} ${a?We.checked:""} ${n?We.disabled:""}`,children:t.jsx("div",{style:O(),className:We.toggleState,children:t.jsx("input",{type:"checkbox",checked:a,readOnly:!0,disabled:n??!1,hidden:!0,required:y??!1})})})},Fr="Radio-module__radioWrapper",Nr="Radio-module__sm",Ar="Radio-module__md",Wr="Radio-module__checked",Mr="Radio-module__innerCircle",Ir="Radio-module__radioState",Br="Radio-module__disabled",ve={radioWrapper:Fr,sm:Nr,md:Ar,checked:Wr,innerCircle:Mr,radioState:Ir,disabled:Br},Hr=({checked:a,change:c,disabled:n,isRequired:y,withUncheckState:C,size:d})=>{p.useState(!1);const j=()=>{c&&typeof c=="function"&&(C||!C&&!a)&&c(!0)};return t.jsxs("div",{className:`${ve.radioWrapper} ${ve[d]??ve.md} ${a?ve.checked:""} ${n?ve.disabled:""}`,onClick:j,children:[t.jsx("input",{type:"radio",checked:!0,readOnly:!0,hidden:!0,disabled:n??!1,required:y??!1}),t.jsx("div",{className:ve.radioState,children:t.jsx("div",{className:ve.innerCircle})})]})},Vr="Dropdown-module__dropdownWrapper",qr="Dropdown-module__placeHolder",Yr="Dropdown-module__dropdownLabel",Ur="Dropdown-module__required",Kr="Dropdown-module__dropdownContainer",zr="Dropdown-module__sm",Jr="Dropdown-module__md",Gr="Dropdown-module__selectedTags",Xr="Dropdown-module__selectedList",Zr="Dropdown-module__additional",Qr="Dropdown-module__dropdownList",en="Dropdown-module__disabled",tn="Dropdown-module__selected",rn="Dropdown-module__focused",nn="Dropdown-module__error",on="Dropdown-module__dropdownHelperText",W={dropdownWrapper:Vr,placeHolder:qr,dropdownLabel:Yr,required:Ur,dropdownContainer:Kr,sm:zr,md:Jr,selectedTags:Gr,selectedList:Xr,additional:Zr,dropdownList:Qr,disabled:en,selected:tn,focused:rn,error:nn,dropdownHelperText:on},sn=({label:a,disabled:c,required:n,size:y="md",placeholder:C="placeholder",msg:d,readOnly:j,data:v,onSelect:i,selectedOptionID:h,withFilter:l,onSearch:m,pagination:k,withMultiSelect:E=!1,skipSelected:w,labelIcon:O,closeIcon:H,dropdownIcon:D,iconDown:T,onLabelIconClick:V,onLabelIconMouseEnter:P,onLabelIconMouseLeave:G,dropdownWrapperStyle:se,dropdownLabelStyle:ae,requiredStyle:de,labelIconStyle:ne,dropdownContainerStyle:fe,placeHolderStyle:$e,selectedTagsStyle:me,selectedListStyle:M,additionalStyle:Y,dropdownListStyle:X,listStyle:xe})=>{const[Pe,ye]=p.useState(!1),[Q,le]=p.useState(!1),I=p.useRef(v),[oe,ee]=p.useState("");p.useState(null);const F=p.useRef([]),Ce=p.useRef(null),pe=p.useRef(null),U=p.useRef({}),ie=(o,b)=>{const N=new Set;return o.filter(K=>N.has(K[b])?!1:(N.add(K[b]),!0))},he=o=>{var b;I.current.forEach(N=>{o.id===N.id?N.selected=!0:N.selected=!1}),U.current=o,ee((b=U.current)==null?void 0:b.label),i&&typeof i=="function"&&i(U.current),le(!1)},ue=o=>{F.current=[...F.current,...I.current.filter(b=>b.id===o.id)],o.selected=!o.selected,F.current=ie(F.current,"id").filter(b=>b.selected),i&&typeof i=="function"&&i(F.current),ee(F.current.map(b=>b.label).join(", ")),ye(b=>!b)},Le=o=>{o.stopPropagation(),F.current=[],h=null,I.current&&I.current.length>0&&v.forEach(b=>b.selected=!1),i(E?[]:{}),ee("")},be=o=>{if(l&&!k)if(o&&o.length>0){let b=I.current.filter(N=>{var K;return(K=N==null?void 0:N.label)==null?void 0:K.toLowerCase().includes(o.toLowerCase())});I.current=b}else I.current=v;m&&typeof m=="function"&&m(o),ee(o)},ge=()=>{if(h||h===0){let o=v.filter(b=>Number(b.id)===Number(h));o&&o[0]&&(U.current=o[0],w?(m&&typeof m=="function"&&m(U.current.label),ee(U.current.label),closeOnSelect&&setCollapsed(b=>!1),withDropdownSearch&&DropdownSearchValue&&SetDropdownSearchValue("")):he(o[0]))}},te=o=>o,re=o=>{o.composedPath().includes(Ce.current)||le(!1)};return p.useEffect(()=>{E||ge()},[h]),p.useEffect(()=>(document.addEventListener("click",re),()=>{document.removeEventListener("click",re)}),[]),t.jsxs("div",{className:W.dropdownWrapper,style:se??{},children:[a&&t.jsxs("label",{className:W.dropdownLabel,style:ae??{},children:[a," ",t.jsx("span",{className:W.required,style:de??{},children:n&&"*"}),t.jsxs("span",{style:{...ne??{},display:"grid",placeItems:"center"},onClick:()=>{V&&typeof V=="function"&&V()},onMouseEnter:()=>{P&&typeof P=="function"&&P()},onMouseLeave:()=>{G&&typeof G=="function"&&G()},children:[" ",te(O)]})]}),t.jsxs("div",{ref:Ce,onClick:()=>le(o=>!o),className:`${W.dropdownContainer} ${Q&&!j?W.focused:""} ${c?W.disabled:""} ${d!=null&&d.error?W.error:""} ${W[y]}`,style:fe??{},children:[t.jsx("span",{className:W.placeHolder,style:$e??{},children:oe&&oe.length>0?"":C}),E&&t.jsxs("div",{className:W.selectedTags,style:me??{},children:[F.current.slice(0,3).map((o,b)=>{let N=F.current[F.current.length-1];return t.jsxs("span",{className:W.selectedList,style:M??{},children:[o.label,o.id!==N.id&&b!==2?", ":""]},o==null?void 0:o.id)}),F.current.length>3&&t.jsxs("span",{className:W.additional,style:Y??{},children:[" ","+(",F.current.length-3,")"]})]}),D&&t.jsx("div",{style:{display:"grid",alignItems:"center",marginRight:"0.5rem"},children:te(D)}),t.jsx("input",{autoCorrect:"off",hidden:E,readOnly:!l||!Q||E,type:"text",value:oe,onChange:o=>be(o.target.value)},h),Q&&I.current&&I.current.length>0&&t.jsx("ul",{onClick:o=>o.stopPropagation(),ref:pe,className:W.dropdownList,style:X??{},children:I.current.map(o=>t.jsxs("li",{style:xe??{},className:`${!(o!=null&&o.label)||o.label===void 0||o!=null&&o.disabled?W.disabled:""} ${o!=null&&o.selected?W.selected:""}`,onClick:()=>{E?ue(o):he(o)},children:[t.jsxs("p",{children:[" ",o!=null&&o.label?typeof o.label=="function"?o.label():o.label:"-"]}),(o==null?void 0:o.selected)&&t.jsx("span",{children:t.jsx(lt,{color:"#7F56D9",width:20,height:20})})]},o==null?void 0:o.id))}),(F.current.length>0||oe.length)>0&&t.jsx("div",{onClick:o=>Le(o),style:{display:"grid",placeItems:"center",cursor:"pointer"},children:H?te(H):t.jsx(Ge,{width:16,height:16})}),t.jsx("div",{style:{display:"grid",placeItems:"center",transform:Q?"rotate(180deg)":"",transition:"transform 0.2s ease-in-out",cursor:"pointer",marginLeft:"10px"},children:T?te(T):t.jsx(at,{})})]}),d&&(d==null?void 0:d.visible)&&t.jsx("div",{className:`${W.dropdownHelperText} ${d!=null&&d.error?W.error:""}`,children:!Q&&t.jsx("p",{style:(d==null?void 0:d.style)??{},children:d.text})})]})},an="Tooltip-module__tooltipContainer",ln="Tooltip-module__tooltipContent",un="Tooltip-module__top",cn="Tooltip-module__right",dn="Tooltip-module__bottom",fn="Tooltip-module__left",pn="Tooltip-module__tooltipTitle",hn="Tooltip-module__tooltipText",Ee={tooltipContainer:an,tooltipContent:ln,top:un,right:cn,bottom:dn,left:fn,tooltipTitle:pn,tooltipText:hn},_n=({children:a,tooltipSlot:c,delay:n,placement:y="top",trigger:C="hover",title:d,text:j,tooltipContentStyle:v,tooltipTitlestyle:i,tooltipTextStyle:h,pointerPosition:l="10%"})=>{const m=p.useRef(null),k=p.useRef(null);let E;const[w,O]=p.useState(!1),H=()=>{C==="hover"&&(E=setTimeout(()=>{O(!0)},n||400))},D=()=>{C==="hover"&&(clearInterval(E),O(!1))},T=()=>{C==="click"&&O(P=>!P)},V=P=>{P.composedPath().includes(m.current)||O(!1)};return p.useEffect(()=>(document.addEventListener("click",V),()=>{document.removeEventListener("click",V)}),[]),p.useEffect(()=>{const P=k.current;P&&P.style.setProperty("--pointer-position",`${l}`)},[w]),t.jsxs("div",{ref:m,className:Ee.tooltipContainer,onClick:T,onMouseEnter:H,onMouseLeave:D,children:[a,w&&c?c():w&&t.jsxs("div",{onClick:P=>P.stopPropagation(),ref:k,style:v??{},className:`${Ee.tooltipContent} ${y?Ee[y]:Ee.bottom}`,children:[d&&d.length>0&&t.jsx("h2",{className:Ee.tooltipTitle,style:i??{},children:d}),j&&j.length>0&&t.jsx("p",{className:Ee.tooltipText,style:h??{},children:j})]})]})},vn="Popup-module__modalOverlay",mn="Popup-module__popupDrawerMode",xn="Popup-module__popupContainer",yn="Popup-module__EnterFromLeft",Cn="Popup-module__fadeIn",bn="Popup-module__withOptions",gn="Popup-module__horizontal",jn="Popup-module__popupHeader",wn="Popup-module__popupTitle",Tn="Popup-module__popupDescription",kn="Popup-module__typeIcon",Rn="Popup-module__icon",En="Popup-module__templateWrapper",Z={modalOverlay:vn,popupDrawerMode:mn,popupContainer:xn,enterFromLeft:yn,fadeIn:Cn,withOptions:bn,horizontal:gn,popupHeader:jn,popupTitle:wn,popupDescription:Tn,typeIcon:kn,icon:Rn,templateWrapper:En};location.href.indexOf(".upgaming.dev")>0||location.href.indexOf(".upgaming.com")>0;const $n=()=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:t.jsx("path",{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",stroke:"#079455",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Pn=()=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:t.jsx("path",{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",stroke:"#DC6803",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),Ln=()=>t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:t.jsx("path",{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",stroke:"#D92D20",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),On=({visible:a,template:c,options:n,children:y,onClickOutside:C,onClose:d,widthType:j,modalOverlayStyle:v,popupContainerStyle:i,templateWrapperStyle:h})=>{const l=()=>{if(!(!n||!(n!=null&&n.type)))switch(String(n==null?void 0:n.type)){case"delete":return t.jsx(Ln,{});case"unsaved":return t.jsx(Pn,{});case"success":return t.jsx($n,{})}},m=()=>{d&&typeof d=="function"&&d(!1)},k=p.useRef(null),E=w=>{w.target===k.current&&C&&typeof C=="function"&&C(!1)};return p.useEffect(()=>(document.addEventListener("click",E),()=>{document.removeEventListener("click",E)}),[]),a&&t.jsx("div",{ref:k,style:v??{},className:`
|
|
32
|
+
mcModal_global
|
|
33
|
+
${Z.modalOverlay}
|
|
34
|
+
${n&&n.mode==="drawer"?Z.popupDrawerMode:""}
|
|
35
|
+
`,children:t.jsxs("div",{style:i??{},className:`
|
|
36
|
+
mcPopup_global
|
|
37
|
+
${Z.popupContainer}
|
|
38
|
+
${n!=null&&n.type?Z.withOptions:""}
|
|
39
|
+
${j==="horizontal"?Z.horizontal:""}
|
|
40
|
+
`,children:[(n.title||n.description||n.type)&&t.jsxs("div",{className:`${Z.popupHeader}`,children:[l()&&t.jsxs("div",{className:Z.typeIcon,children:[t.jsx("div",{style:{backgroundColor:(n==null?void 0:n.type)==="success"?"#DCFAE6":(n==null?void 0:n.type)==="unsaved"?"#FEF0C7":"#FEE4E2"},className:Z.icon,children:l()}),t.jsx("div",{style:{display:"grid",placeItems:"center",cursor:"pointer"},onClick:m,children:t.jsx(Ge,{width:"24",height:"24",viewBox:"0 0 24 24",d:"M18 6L6 18M6 6L18 18",stroke:"#A4A7AE","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})})]}),n&&(n==null?void 0:n.title)&&t.jsx("div",{className:Z.popupTitle,children:t.jsxs("h2",{children:[" ",(n==null?void 0:n.title)??""," "]})}),n&&(n==null?void 0:n.description)&&t.jsx("div",{className:Z.popupDescription,children:t.jsxs("p",{children:[" ",(n==null?void 0:n.description)??""," "]})})]}),t.jsxs("div",{className:Z.templateWrapper,style:h??{},children:[c&&c(),y&&y]})]})})};exports.Checkbox=it;exports.Dropdown=sn;exports.FormInput=xr;exports.MainButton=Wt;exports.Popup=On;exports.Radio=Hr;exports.Tag=ut;exports.Textarea=$r;exports.Toggle=Sr;exports.Tooltip=_n;
|