master-components-react 1.7.0 → 1.7.2

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,6 +1,6 @@
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%}.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{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 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}.FormInput-module__inputWrapper .FormInput-module__inputContainer 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{height:2.5rem}.FormInput-module__inputWrapper .FormInput-module__inputContainer.FormInput-module__md{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}.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}.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}.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}*{-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{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}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- import tr, { useState as M, useRef as Oe, useEffect as Qe } from "react";
3
- var Ye = { exports: {} }, pe = {};
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}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
+ import or, { useRef as me, useState as M, useEffect as Ke } from "react";
3
+ var Je = { exports: {} }, he = {};
4
4
  /**
5
5
  * @license React
6
6
  * react-jsx-runtime.production.min.js
@@ -10,21 +10,21 @@ var Ye = { exports: {} }, pe = {};
10
10
  * This source code is licensed under the MIT license found in the
11
11
  * LICENSE file in the root directory of this source tree.
12
12
  */
13
- var er;
13
+ var tr;
14
14
  function gr() {
15
- if (er) return pe;
16
- er = 1;
17
- var s = tr, u = Symbol.for("react.element"), o = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, g = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
15
+ if (tr) return he;
16
+ tr = 1;
17
+ var s = or, u = Symbol.for("react.element"), o = Symbol.for("react.fragment"), m = Object.prototype.hasOwnProperty, g = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
18
18
  function j(h, f, _) {
19
- var i, b = {}, w = null, P = null;
20
- _ !== void 0 && (w = "" + _), f.key !== void 0 && (w = "" + f.key), f.ref !== void 0 && (P = f.ref);
19
+ var i, b = {}, E = null, F = null;
20
+ _ !== void 0 && (E = "" + _), f.key !== void 0 && (E = "" + f.key), f.ref !== void 0 && (F = f.ref);
21
21
  for (i in f) m.call(f, i) && !y.hasOwnProperty(i) && (b[i] = f[i]);
22
22
  if (h && h.defaultProps) for (i in f = h.defaultProps, f) b[i] === void 0 && (b[i] = f[i]);
23
- return { $$typeof: u, type: h, key: w, ref: P, props: b, _owner: g.current };
23
+ return { $$typeof: u, type: h, key: E, ref: F, props: b, _owner: g.current };
24
24
  }
25
- return pe.Fragment = o, pe.jsx = j, pe.jsxs = j, pe;
25
+ return he.Fragment = o, he.jsx = j, he.jsxs = j, he;
26
26
  }
27
- var ve = {};
27
+ var _e = {};
28
28
  /**
29
29
  * @license React
30
30
  * react-jsx-runtime.development.js
@@ -34,27 +34,27 @@ var ve = {};
34
34
  * This source code is licensed under the MIT license found in the
35
35
  * LICENSE file in the root directory of this source tree.
36
36
  */
37
- var rr;
37
+ var nr;
38
38
  function jr() {
39
- return rr || (rr = 1, process.env.NODE_ENV !== "production" && function() {
40
- var s = tr, u = Symbol.for("react.element"), o = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), h = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), C = Symbol.iterator, S = "@@iterator";
39
+ return nr || (nr = 1, process.env.NODE_ENV !== "production" && function() {
40
+ var s = or, u = Symbol.for("react.element"), o = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), h = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), C = Symbol.iterator, N = "@@iterator";
41
41
  function D(e) {
42
42
  if (e === null || typeof e != "object")
43
43
  return null;
44
- var r = C && e[C] || e[S];
44
+ var r = C && e[C] || e[N];
45
45
  return typeof r == "function" ? r : null;
46
46
  }
47
- var $ = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
47
+ var O = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
48
  function x(e) {
49
49
  {
50
50
  for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
51
51
  t[a - 1] = arguments[a];
52
- B("error", e, t);
52
+ Y("error", e, t);
53
53
  }
54
54
  }
55
- function B(e, r, t) {
55
+ function Y(e, r, t) {
56
56
  {
57
- var a = $.ReactDebugCurrentFrame, p = a.getStackAddendum();
57
+ var a = O.ReactDebugCurrentFrame, p = a.getStackAddendum();
58
58
  p !== "" && (r += "%s", t = t.concat([p]));
59
59
  var v = t.map(function(d) {
60
60
  return String(d);
@@ -62,26 +62,26 @@ function jr() {
62
62
  v.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, v);
63
63
  }
64
64
  }
65
- var Z = !1, Q = !1, Y = !1, I = !1, ue = !1, ee;
66
- ee = Symbol.for("react.module.reference");
67
- function he(e) {
68
- return !!(typeof e == "string" || typeof e == "function" || e === m || e === y || ue || e === g || e === _ || e === i || I || e === P || Z || Q || Y || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === b || e.$$typeof === j || e.$$typeof === h || e.$$typeof === f || // This needs to include all possible module reference object
65
+ var V = !1, q = !1, z = !1, Z = !1, se = !1, U;
66
+ U = Symbol.for("react.module.reference");
67
+ function le(e) {
68
+ return !!(typeof e == "string" || typeof e == "function" || e === m || e === y || se || e === g || e === _ || e === i || Z || e === F || V || q || z || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === b || e.$$typeof === j || e.$$typeof === h || e.$$typeof === f || // This needs to include all possible module reference object
69
69
  // types supported by any Flight configuration anywhere since
70
70
  // we don't know which Flight build this will end up being used
71
71
  // with.
72
- e.$$typeof === ee || e.getModuleId !== void 0));
72
+ e.$$typeof === U || e.getModuleId !== void 0));
73
73
  }
74
- function ce(e, r, t) {
74
+ function Fe(e, r, t) {
75
75
  var a = e.displayName;
76
76
  if (a)
77
77
  return a;
78
78
  var p = r.displayName || r.name || "";
79
79
  return p !== "" ? t + "(" + p + ")" : t;
80
80
  }
81
- function _e(e) {
81
+ function xe(e) {
82
82
  return e.displayName || "Context";
83
83
  }
84
- function F(e) {
84
+ function P(e) {
85
85
  if (e == null)
86
86
  return null;
87
87
  if (typeof e.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -106,19 +106,19 @@ function jr() {
106
106
  switch (e.$$typeof) {
107
107
  case h:
108
108
  var r = e;
109
- return _e(r) + ".Consumer";
109
+ return xe(r) + ".Consumer";
110
110
  case j:
111
111
  var t = e;
112
- return _e(t._context) + ".Provider";
112
+ return xe(t._context) + ".Provider";
113
113
  case f:
114
- return ce(e, e.render, "ForwardRef");
114
+ return Fe(e, e.render, "ForwardRef");
115
115
  case b:
116
116
  var a = e.displayName || null;
117
- return a !== null ? a : F(e.type) || "Memo";
118
- case w: {
117
+ return a !== null ? a : P(e.type) || "Memo";
118
+ case E: {
119
119
  var p = e, v = p._payload, d = p._init;
120
120
  try {
121
- return F(d(v));
121
+ return P(d(v));
122
122
  } catch {
123
123
  return null;
124
124
  }
@@ -126,18 +126,18 @@ function jr() {
126
126
  }
127
127
  return null;
128
128
  }
129
- var N = Object.assign, V = 0, me, xe, ye, be, ge, je, Ce;
130
- function Re() {
129
+ var W = Object.assign, I = 0, ye, be, ge, je, Ce, Re, Te;
130
+ function Ee() {
131
131
  }
132
- Re.__reactDisabledLog = !0;
133
- function Pe() {
132
+ Ee.__reactDisabledLog = !0;
133
+ function Ae() {
134
134
  {
135
- if (V === 0) {
136
- me = console.log, xe = console.info, ye = console.warn, be = console.error, ge = console.group, je = console.groupCollapsed, Ce = console.groupEnd;
135
+ if (I === 0) {
136
+ ye = console.log, be = console.info, ge = console.warn, je = console.error, Ce = console.group, Re = console.groupCollapsed, Te = console.groupEnd;
137
137
  var e = {
138
138
  configurable: !0,
139
139
  enumerable: !0,
140
- value: Re,
140
+ value: Ee,
141
141
  writable: !0
142
142
  };
143
143
  Object.defineProperties(console, {
@@ -150,77 +150,77 @@ function jr() {
150
150
  groupEnd: e
151
151
  });
152
152
  }
153
- V++;
153
+ I++;
154
154
  }
155
155
  }
156
- function Ve() {
156
+ function Le() {
157
157
  {
158
- if (V--, V === 0) {
158
+ if (I--, I === 0) {
159
159
  var e = {
160
160
  configurable: !0,
161
161
  enumerable: !0,
162
162
  writable: !0
163
163
  };
164
164
  Object.defineProperties(console, {
165
- log: N({}, e, {
166
- value: me
167
- }),
168
- info: N({}, e, {
169
- value: xe
170
- }),
171
- warn: N({}, e, {
165
+ log: W({}, e, {
172
166
  value: ye
173
167
  }),
174
- error: N({}, e, {
168
+ info: W({}, e, {
175
169
  value: be
176
170
  }),
177
- group: N({}, e, {
171
+ warn: W({}, e, {
178
172
  value: ge
179
173
  }),
180
- groupCollapsed: N({}, e, {
174
+ error: W({}, e, {
181
175
  value: je
182
176
  }),
183
- groupEnd: N({}, e, {
177
+ group: W({}, e, {
184
178
  value: Ce
179
+ }),
180
+ groupCollapsed: W({}, e, {
181
+ value: Re
182
+ }),
183
+ groupEnd: W({}, e, {
184
+ value: Te
185
185
  })
186
186
  });
187
187
  }
188
- V < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
+ I < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
189
189
  }
190
190
  }
191
- var de = $.ReactCurrentDispatcher, fe;
192
- function q(e, r, t) {
191
+ var ue = O.ReactCurrentDispatcher, ce;
192
+ function Q(e, r, t) {
193
193
  {
194
- if (fe === void 0)
194
+ if (ce === void 0)
195
195
  try {
196
196
  throw Error();
197
197
  } catch (p) {
198
198
  var a = p.stack.trim().match(/\n( *(at )?)/);
199
- fe = a && a[1] || "";
199
+ ce = a && a[1] || "";
200
200
  }
201
201
  return `
202
- ` + fe + e;
202
+ ` + ce + e;
203
203
  }
204
204
  }
205
- var U = !1, H;
205
+ var we = !1, ee;
206
206
  {
207
- var Se = typeof WeakMap == "function" ? WeakMap : Map;
208
- H = new Se();
207
+ var Ne = typeof WeakMap == "function" ? WeakMap : Map;
208
+ ee = new Ne();
209
209
  }
210
- function K(e, r) {
211
- if (!e || U)
210
+ function ke(e, r) {
211
+ if (!e || we)
212
212
  return "";
213
213
  {
214
- var t = H.get(e);
214
+ var t = ee.get(e);
215
215
  if (t !== void 0)
216
216
  return t;
217
217
  }
218
218
  var a;
219
- U = !0;
219
+ we = !0;
220
220
  var p = Error.prepareStackTrace;
221
221
  Error.prepareStackTrace = void 0;
222
222
  var v;
223
- v = de.current, de.current = null, Pe();
223
+ v = ue.current, ue.current = null, Ae();
224
224
  try {
225
225
  if (r) {
226
226
  var d = function() {
@@ -233,147 +233,147 @@ function jr() {
233
233
  }), typeof Reflect == "object" && Reflect.construct) {
234
234
  try {
235
235
  Reflect.construct(d, []);
236
- } catch (O) {
237
- a = O;
236
+ } catch (S) {
237
+ a = S;
238
238
  }
239
239
  Reflect.construct(e, [], d);
240
240
  } else {
241
241
  try {
242
242
  d.call();
243
- } catch (O) {
244
- a = O;
243
+ } catch (S) {
244
+ a = S;
245
245
  }
246
246
  e.call(d.prototype);
247
247
  }
248
248
  } else {
249
249
  try {
250
250
  throw Error();
251
- } catch (O) {
252
- a = O;
251
+ } catch (S) {
252
+ a = S;
253
253
  }
254
254
  e();
255
255
  }
256
- } catch (O) {
257
- if (O && a && typeof O.stack == "string") {
258
- for (var c = O.stack.split(`
259
- `), T = a.stack.split(`
260
- `), R = c.length - 1, E = T.length - 1; R >= 1 && E >= 0 && c[R] !== T[E]; )
261
- E--;
262
- for (; R >= 1 && E >= 0; R--, E--)
263
- if (c[R] !== T[E]) {
264
- if (R !== 1 || E !== 1)
256
+ } catch (S) {
257
+ if (S && a && typeof S.stack == "string") {
258
+ for (var c = S.stack.split(`
259
+ `), $ = a.stack.split(`
260
+ `), R = c.length - 1, T = $.length - 1; R >= 1 && T >= 0 && c[R] !== $[T]; )
261
+ T--;
262
+ for (; R >= 1 && T >= 0; R--, T--)
263
+ if (c[R] !== $[T]) {
264
+ if (R !== 1 || T !== 1)
265
265
  do
266
- if (R--, E--, E < 0 || c[R] !== T[E]) {
266
+ if (R--, T--, T < 0 || c[R] !== $[T]) {
267
267
  var A = `
268
268
  ` + c[R].replace(" at new ", " at ");
269
- return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, A), A;
269
+ return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && ee.set(e, A), A;
270
270
  }
271
- while (R >= 1 && E >= 0);
271
+ while (R >= 1 && T >= 0);
272
272
  break;
273
273
  }
274
274
  }
275
275
  } finally {
276
- U = !1, de.current = v, Ve(), Error.prepareStackTrace = p;
276
+ we = !1, ue.current = v, Le(), Error.prepareStackTrace = p;
277
277
  }
278
- var ae = e ? e.displayName || e.name : "", X = ae ? q(ae) : "";
279
- return typeof e == "function" && H.set(e, X), X;
278
+ var ne = e ? e.displayName || e.name : "", G = ne ? Q(ne) : "";
279
+ return typeof e == "function" && ee.set(e, G), G;
280
280
  }
281
- function Fe(e, r, t) {
282
- return K(e, !1);
281
+ function $e(e, r, t) {
282
+ return ke(e, !1);
283
283
  }
284
- function Ae(e) {
284
+ function de(e) {
285
285
  var r = e.prototype;
286
286
  return !!(r && r.isReactComponent);
287
287
  }
288
- function re(e, r, t) {
288
+ function H(e, r, t) {
289
289
  if (e == null)
290
290
  return "";
291
291
  if (typeof e == "function")
292
- return K(e, Ae(e));
292
+ return ke(e, de(e));
293
293
  if (typeof e == "string")
294
- return q(e);
294
+ return Q(e);
295
295
  switch (e) {
296
296
  case _:
297
- return q("Suspense");
297
+ return Q("Suspense");
298
298
  case i:
299
- return q("SuspenseList");
299
+ return Q("SuspenseList");
300
300
  }
301
301
  if (typeof e == "object")
302
302
  switch (e.$$typeof) {
303
303
  case f:
304
- return Fe(e.render);
304
+ return $e(e.render);
305
305
  case b:
306
- return re(e.type, r, t);
307
- case w: {
306
+ return H(e.type, r, t);
307
+ case E: {
308
308
  var a = e, p = a._payload, v = a._init;
309
309
  try {
310
- return re(v(p), r, t);
310
+ return H(v(p), r, t);
311
311
  } catch {
312
312
  }
313
313
  }
314
314
  }
315
315
  return "";
316
316
  }
317
- var J = Object.prototype.hasOwnProperty, Ee = {}, we = $.ReactDebugCurrentFrame;
318
- function te(e) {
317
+ var K = Object.prototype.hasOwnProperty, J = {}, Oe = O.ReactDebugCurrentFrame;
318
+ function re(e) {
319
319
  if (e) {
320
- var r = e._owner, t = re(e.type, e._source, r ? r.type : null);
321
- we.setExtraStackFrame(t);
320
+ var r = e._owner, t = H(e.type, e._source, r ? r.type : null);
321
+ Oe.setExtraStackFrame(t);
322
322
  } else
323
- we.setExtraStackFrame(null);
323
+ Oe.setExtraStackFrame(null);
324
324
  }
325
- function ke(e, r, t, a, p) {
325
+ function We(e, r, t, a, p) {
326
326
  {
327
- var v = Function.call.bind(J);
327
+ var v = Function.call.bind(K);
328
328
  for (var d in e)
329
329
  if (v(e, d)) {
330
330
  var c = void 0;
331
331
  try {
332
332
  if (typeof e[d] != "function") {
333
- var T = Error((a || "React class") + ": " + t + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
- throw T.name = "Invariant Violation", T;
333
+ var $ = Error((a || "React class") + ": " + t + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
+ throw $.name = "Invariant Violation", $;
335
335
  }
336
336
  c = e[d](r, d, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
337
  } catch (R) {
338
338
  c = R;
339
339
  }
340
- c && !(c instanceof Error) && (te(p), x("%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).", a || "React class", t, d, typeof c), te(null)), c instanceof Error && !(c.message in Ee) && (Ee[c.message] = !0, te(p), x("Failed %s type: %s", t, c.message), te(null));
340
+ c && !(c instanceof Error) && (re(p), x("%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).", a || "React class", t, d, typeof c), re(null)), c instanceof Error && !(c.message in J) && (J[c.message] = !0, re(p), x("Failed %s type: %s", t, c.message), re(null));
341
341
  }
342
342
  }
343
343
  }
344
- var Le = Array.isArray;
345
- function ne(e) {
346
- return Le(e);
344
+ var De = Array.isArray;
345
+ function fe(e) {
346
+ return De(e);
347
347
  }
348
- function We(e) {
348
+ function Ie(e) {
349
349
  {
350
350
  var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
351
  return t;
352
352
  }
353
353
  }
354
- function Te(e) {
354
+ function Me(e) {
355
355
  try {
356
- return l(e), !1;
356
+ return pe(e), !1;
357
357
  } catch {
358
358
  return !0;
359
359
  }
360
360
  }
361
- function l(e) {
361
+ function pe(e) {
362
362
  return "" + e;
363
363
  }
364
- function W(e) {
365
- if (Te(e))
366
- return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", We(e)), l(e);
364
+ function Pe(e) {
365
+ if (Me(e))
366
+ return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ie(e)), pe(e);
367
367
  }
368
- var G = $.ReactCurrentOwner, nr = {
368
+ var B = O.ReactCurrentOwner, Be = {
369
369
  key: !0,
370
370
  ref: !0,
371
371
  __self: !0,
372
372
  __source: !0
373
- }, qe, Ue, De;
374
- De = {};
375
- function or(e) {
376
- if (J.call(e, "ref")) {
373
+ }, ve, l, k;
374
+ k = {};
375
+ function Ye(e) {
376
+ if (K.call(e, "ref")) {
377
377
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
378
378
  if (r && r.isReactWarning)
379
379
  return !1;
@@ -381,7 +381,7 @@ function jr() {
381
381
  return e.ref !== void 0;
382
382
  }
383
383
  function ar(e) {
384
- if (J.call(e, "key")) {
384
+ if (K.call(e, "key")) {
385
385
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
386
386
  if (r && r.isReactWarning)
387
387
  return !1;
@@ -389,15 +389,15 @@ function jr() {
389
389
  return e.key !== void 0;
390
390
  }
391
391
  function ir(e, r) {
392
- if (typeof e.ref == "string" && G.current && r && G.current.stateNode !== r) {
393
- var t = F(G.current.type);
394
- De[t] || (x('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', F(G.current.type), e.ref), De[t] = !0);
392
+ if (typeof e.ref == "string" && B.current && r && B.current.stateNode !== r) {
393
+ var t = P(B.current.type);
394
+ k[t] || (x('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', P(B.current.type), e.ref), k[t] = !0);
395
395
  }
396
396
  }
397
397
  function sr(e, r) {
398
398
  {
399
399
  var t = function() {
400
- qe || (qe = !0, x("%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));
400
+ ve || (ve = !0, x("%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));
401
401
  };
402
402
  t.isReactWarning = !0, Object.defineProperty(e, "key", {
403
403
  get: t,
@@ -408,7 +408,7 @@ function jr() {
408
408
  function lr(e, r) {
409
409
  {
410
410
  var t = function() {
411
- Ue || (Ue = !0, x("%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));
411
+ l || (l = !0, x("%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));
412
412
  };
413
413
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
414
  get: t,
@@ -447,39 +447,39 @@ function jr() {
447
447
  };
448
448
  function cr(e, r, t, a, p) {
449
449
  {
450
- var v, d = {}, c = null, T = null;
451
- t !== void 0 && (W(t), c = "" + t), ar(r) && (W(r.key), c = "" + r.key), or(r) && (T = r.ref, ir(r, p));
450
+ var v, d = {}, c = null, $ = null;
451
+ t !== void 0 && (Pe(t), c = "" + t), ar(r) && (Pe(r.key), c = "" + r.key), Ye(r) && ($ = r.ref, ir(r, p));
452
452
  for (v in r)
453
- J.call(r, v) && !nr.hasOwnProperty(v) && (d[v] = r[v]);
453
+ K.call(r, v) && !Be.hasOwnProperty(v) && (d[v] = r[v]);
454
454
  if (e && e.defaultProps) {
455
455
  var R = e.defaultProps;
456
456
  for (v in R)
457
457
  d[v] === void 0 && (d[v] = R[v]);
458
458
  }
459
- if (c || T) {
460
- var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
- c && sr(d, E), T && lr(d, E);
459
+ if (c || $) {
460
+ var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
+ c && sr(d, T), $ && lr(d, T);
462
462
  }
463
- return ur(e, c, T, p, a, G.current, d);
463
+ return ur(e, c, $, p, a, B.current, d);
464
464
  }
465
465
  }
466
- var Ne = $.ReactCurrentOwner, He = $.ReactDebugCurrentFrame;
467
- function oe(e) {
466
+ var Ve = O.ReactCurrentOwner, Ge = O.ReactDebugCurrentFrame;
467
+ function te(e) {
468
468
  if (e) {
469
- var r = e._owner, t = re(e.type, e._source, r ? r.type : null);
470
- He.setExtraStackFrame(t);
469
+ var r = e._owner, t = H(e.type, e._source, r ? r.type : null);
470
+ Ge.setExtraStackFrame(t);
471
471
  } else
472
- He.setExtraStackFrame(null);
472
+ Ge.setExtraStackFrame(null);
473
473
  }
474
- var Me;
475
- Me = !1;
476
- function Ie(e) {
474
+ var qe;
475
+ qe = !1;
476
+ function Ue(e) {
477
477
  return typeof e == "object" && e !== null && e.$$typeof === u;
478
478
  }
479
- function Ke() {
479
+ function Xe() {
480
480
  {
481
- if (Ne.current) {
482
- var e = F(Ne.current.type);
481
+ if (Ve.current) {
482
+ var e = P(Ve.current.type);
483
483
  if (e)
484
484
  return `
485
485
 
@@ -491,10 +491,10 @@ Check the render method of \`` + e + "`.";
491
491
  function dr(e) {
492
492
  return "";
493
493
  }
494
- var Je = {};
494
+ var ze = {};
495
495
  function fr(e) {
496
496
  {
497
- var r = Ke();
497
+ var r = Xe();
498
498
  if (!r) {
499
499
  var t = typeof e == "string" ? e : e.displayName || e.name;
500
500
  t && (r = `
@@ -504,35 +504,35 @@ Check the top-level render call using <` + t + ">.");
504
504
  return r;
505
505
  }
506
506
  }
507
- function Ge(e, r) {
507
+ function Ze(e, r) {
508
508
  {
509
509
  if (!e._store || e._store.validated || e.key != null)
510
510
  return;
511
511
  e._store.validated = !0;
512
512
  var t = fr(r);
513
- if (Je[t])
513
+ if (ze[t])
514
514
  return;
515
- Je[t] = !0;
515
+ ze[t] = !0;
516
516
  var a = "";
517
- e && e._owner && e._owner !== Ne.current && (a = " It was passed a child from " + F(e._owner.type) + "."), oe(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), oe(null);
517
+ e && e._owner && e._owner !== Ve.current && (a = " It was passed a child from " + P(e._owner.type) + "."), te(e), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), te(null);
518
518
  }
519
519
  }
520
- function Xe(e, r) {
520
+ function Qe(e, r) {
521
521
  {
522
522
  if (typeof e != "object")
523
523
  return;
524
- if (ne(e))
524
+ if (fe(e))
525
525
  for (var t = 0; t < e.length; t++) {
526
526
  var a = e[t];
527
- Ie(a) && Ge(a, r);
527
+ Ue(a) && Ze(a, r);
528
528
  }
529
- else if (Ie(e))
529
+ else if (Ue(e))
530
530
  e._store && (e._store.validated = !0);
531
531
  else if (e) {
532
532
  var p = D(e);
533
533
  if (typeof p == "function" && p !== e.entries)
534
534
  for (var v = p.call(e), d; !(d = v.next()).done; )
535
- Ie(d.value) && Ge(d.value, r);
535
+ Ue(d.value) && Ze(d.value, r);
536
536
  }
537
537
  }
538
538
  }
@@ -551,11 +551,11 @@ Check the top-level render call using <` + t + ">.");
551
551
  else
552
552
  return;
553
553
  if (t) {
554
- var a = F(r);
555
- ke(t, e.props, "prop", a, e);
556
- } else if (r.PropTypes !== void 0 && !Me) {
557
- Me = !0;
558
- var p = F(r);
554
+ var a = P(r);
555
+ We(t, e.props, "prop", a, e);
556
+ } else if (r.PropTypes !== void 0 && !qe) {
557
+ qe = !0;
558
+ var p = P(r);
559
559
  x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
560
560
  }
561
561
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -566,82 +566,82 @@ Check the top-level render call using <` + t + ">.");
566
566
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
567
567
  var a = r[t];
568
568
  if (a !== "children" && a !== "key") {
569
- oe(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), oe(null);
569
+ te(e), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), te(null);
570
570
  break;
571
571
  }
572
572
  }
573
- e.ref !== null && (oe(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), oe(null));
573
+ e.ref !== null && (te(e), x("Invalid attribute `ref` supplied to `React.Fragment`."), te(null));
574
574
  }
575
575
  }
576
- var ze = {};
577
- function Ze(e, r, t, a, p, v) {
576
+ var er = {};
577
+ function rr(e, r, t, a, p, v) {
578
578
  {
579
- var d = he(e);
579
+ var d = le(e);
580
580
  if (!d) {
581
581
  var c = "";
582
582
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
- var T = dr();
584
- T ? c += T : c += Ke();
583
+ var $ = dr();
584
+ $ ? c += $ : c += Xe();
585
585
  var R;
586
- e === null ? R = "null" : ne(e) ? R = "array" : e !== void 0 && e.$$typeof === u ? (R = "<" + (F(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, c);
586
+ e === null ? R = "null" : fe(e) ? R = "array" : e !== void 0 && e.$$typeof === u ? (R = "<" + (P(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : R = typeof e, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", R, c);
587
587
  }
588
- var E = cr(e, r, t, p, v);
589
- if (E == null)
590
- return E;
588
+ var T = cr(e, r, t, p, v);
589
+ if (T == null)
590
+ return T;
591
591
  if (d) {
592
592
  var A = r.children;
593
593
  if (A !== void 0)
594
594
  if (a)
595
- if (ne(A)) {
596
- for (var ae = 0; ae < A.length; ae++)
597
- Xe(A[ae], e);
595
+ if (fe(A)) {
596
+ for (var ne = 0; ne < A.length; ne++)
597
+ Qe(A[ne], e);
598
598
  Object.freeze && Object.freeze(A);
599
599
  } else
600
600
  x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
601
601
  else
602
- Xe(A, e);
602
+ Qe(A, e);
603
603
  }
604
- if (J.call(r, "key")) {
605
- var X = F(e), O = Object.keys(r).filter(function(br) {
604
+ if (K.call(r, "key")) {
605
+ var G = P(e), S = Object.keys(r).filter(function(br) {
606
606
  return br !== "key";
607
- }), Be = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
608
- if (!ze[X + Be]) {
609
- var yr = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
607
+ }), He = S.length > 0 ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}";
608
+ if (!er[G + He]) {
609
+ var yr = S.length > 0 ? "{" + S.join(": ..., ") + ": ...}" : "{}";
610
610
  x(`A props object containing a "key" prop is being spread into JSX:
611
611
  let props = %s;
612
612
  <%s {...props} />
613
613
  React keys must be passed directly to JSX without using spread:
614
614
  let props = %s;
615
- <%s key={someKey} {...props} />`, Be, X, yr, X), ze[X + Be] = !0;
615
+ <%s key={someKey} {...props} />`, He, G, yr, G), er[G + He] = !0;
616
616
  }
617
617
  }
618
- return e === m ? vr(E) : pr(E), E;
618
+ return e === m ? vr(T) : pr(T), T;
619
619
  }
620
620
  }
621
621
  function hr(e, r, t) {
622
- return Ze(e, r, t, !0);
622
+ return rr(e, r, t, !0);
623
623
  }
624
624
  function _r(e, r, t) {
625
- return Ze(e, r, t, !1);
625
+ return rr(e, r, t, !1);
626
626
  }
627
627
  var mr = _r, xr = hr;
628
- ve.Fragment = m, ve.jsx = mr, ve.jsxs = xr;
629
- }()), ve;
628
+ _e.Fragment = m, _e.jsx = mr, _e.jsxs = xr;
629
+ }()), _e;
630
630
  }
631
- process.env.NODE_ENV === "production" ? Ye.exports = gr() : Ye.exports = jr();
632
- var n = Ye.exports;
633
- const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Er = "MainButton-module__onlyIcon", wr = "MainButton-module__buttonSlot", kr = "MainButton-module__buttonLabel", Tr = "MainButton-module__md", $r = "MainButton-module__lg", Or = "MainButton-module__xl", Pr = "MainButton-module__xl2", Sr = "MainButton-module__disabled", ie = {
631
+ process.env.NODE_ENV === "production" ? Je.exports = gr() : Je.exports = jr();
632
+ var n = Je.exports;
633
+ const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Tr = "MainButton-module__onlyIcon", Er = "MainButton-module__buttonSlot", wr = "MainButton-module__buttonLabel", kr = "MainButton-module__md", $r = "MainButton-module__lg", Or = "MainButton-module__xl", Pr = "MainButton-module__xl2", Sr = "MainButton-module__disabled", oe = {
634
634
  mainButton: Cr,
635
635
  sm: Rr,
636
- onlyIcon: Er,
637
- buttonSlot: wr,
638
- buttonLabel: kr,
639
- md: Tr,
636
+ onlyIcon: Tr,
637
+ buttonSlot: Er,
638
+ buttonLabel: wr,
639
+ md: kr,
640
640
  lg: $r,
641
641
  xl: Or,
642
642
  xl2: Pr,
643
643
  disabled: Sr
644
- }, Wt = ({
644
+ }, It = ({
645
645
  label: s,
646
646
  buttonType: u = "button",
647
647
  onClick: o,
@@ -659,33 +659,35 @@ const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Er = "
659
659
  {
660
660
  type: u,
661
661
  style: _ && typeof _ == "object" ? _ : {},
662
- className: `${ie.mainButton} ${f ? ie.onlyIcon : ""} ${m ? ie[m] : ""} ${g ? ie.disabled : ""}`,
662
+ className: `${oe.mainButton} ${f ? oe.onlyIcon : ""} ${m ? oe[m] : ""} ${g ? oe.disabled : ""}`,
663
663
  onClick: () => {
664
664
  o && typeof o == "function" && o();
665
665
  },
666
- children: /* @__PURE__ */ n.jsxs("div", { className: ie.buttonSlot, style: b ?? {}, children: [
666
+ children: /* @__PURE__ */ n.jsxs("div", { className: oe.buttonSlot, style: b ?? {}, children: [
667
667
  f || y && j ? j : "",
668
- !f && /* @__PURE__ */ n.jsx("span", { style: i ?? {}, className: ie.buttonLabel, children: s ?? "Button" }),
668
+ !f && /* @__PURE__ */ n.jsx("span", { style: i ?? {}, className: oe.buttonLabel, children: s ?? "Button" }),
669
669
  y && h ? h : ""
670
670
  ] })
671
671
  }
672
- ), Fr = "FormInput-module__inputWrapper", Ar = "FormInput-module__inputLabel", Lr = "FormInput-module__required", Wr = "FormInput-module__inputContainer", Dr = "FormInput-module__focused", Nr = "FormInput-module__error", Mr = "FormInput-module__rightIcon", Ir = "FormInput-module__leftIcon", Br = "FormInput-module__inputDropDown", Yr = "FormInput-module__http", Vr = "FormInput-module__disabled", qr = "FormInput-module__sm", Ur = "FormInput-module__md", Hr = "FormInput-module__withCopy", Kr = "FormInput-module__inputHelperText", k = {
672
+ ), Fr = "FormInput-module__inputWrapper", Ar = "FormInput-module__inputLabel", Lr = "FormInput-module__required", Nr = "FormInput-module__inputContainer", Wr = "FormInput-module__inputContent", Dr = "FormInput-module__inputTags", Ir = "FormInput-module__focused", Mr = "FormInput-module__error", Br = "FormInput-module__rightIcon", Yr = "FormInput-module__leftIcon", Vr = "FormInput-module__inputDropDown", qr = "FormInput-module__http", Ur = "FormInput-module__disabled", Hr = "FormInput-module__sm", Kr = "FormInput-module__md", Jr = "FormInput-module__withCopy", Gr = "FormInput-module__inputHelperText", w = {
673
673
  inputWrapper: Fr,
674
674
  inputLabel: Ar,
675
675
  required: Lr,
676
- inputContainer: Wr,
677
- focused: Dr,
678
- error: Nr,
679
- rightIcon: Mr,
680
- leftIcon: Ir,
681
- inputDropDown: Br,
682
- http: Yr,
683
- disabled: Vr,
684
- sm: qr,
685
- md: Ur,
686
- withCopy: Hr,
687
- inputHelperText: Kr
688
- }, Jr = ({ width: s, height: u, color: o }) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "12", height: u ?? "8", viewBox: "0 0 12 8", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M1 1.5L6 6.5L11 1.5", stroke: o ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), Gr = ({ width: s, height: u, color: o }) => /* @__PURE__ */ n.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "20", height: u ?? "20", viewBox: "0 0 20 20", fill: "none", children: [
676
+ inputContainer: Nr,
677
+ inputContent: Wr,
678
+ inputTags: Dr,
679
+ focused: Ir,
680
+ error: Mr,
681
+ rightIcon: Br,
682
+ leftIcon: Yr,
683
+ inputDropDown: Vr,
684
+ http: qr,
685
+ disabled: Ur,
686
+ sm: Hr,
687
+ md: Kr,
688
+ withCopy: Jr,
689
+ inputHelperText: Gr
690
+ }, Xr = ({ width: s, height: u, color: o }) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "12", height: u ?? "8", viewBox: "0 0 12 8", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M1 1.5L6 6.5L11 1.5", stroke: o ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), zr = ({ width: s, height: u, color: o }) => /* @__PURE__ */ n.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "20", height: u ?? "20", viewBox: "0 0 20 20", fill: "none", children: [
689
691
  /* @__PURE__ */ n.jsx("g", { clipPath: "url(#clip0_444_26)", children: /* @__PURE__ */ n.jsx(
690
692
  "path",
691
693
  {
@@ -697,7 +699,69 @@ const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Er = "
697
699
  }
698
700
  ) }),
699
701
  /* @__PURE__ */ n.jsx("defs", { children: /* @__PURE__ */ n.jsx("clipPath", { id: "clip0_444_26", children: /* @__PURE__ */ n.jsx("rect", { width: "20", height: "20", fill: "white" }) }) })
700
- ] }), Dt = ({
702
+ ] }), Zr = ({ width: s, height: u, color: o }) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "14", height: u ?? "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5", stroke: o ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), Qr = "Checkbox-module__checkboxWrapper", et = "Checkbox-module__sm", rt = "Checkbox-module__md", tt = "Checkbox-module__checkMark", nt = "Checkbox-module__checked", ot = "Checkbox-module__disabled", ae = {
703
+ checkboxWrapper: Qr,
704
+ sm: et,
705
+ md: rt,
706
+ checkMark: tt,
707
+ checked: nt,
708
+ disabled: ot
709
+ }, at = (s) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...s, width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M10 3L4.5 8.5L2 6", stroke: "white", strokeWidth: "1.6666", strokeLinecap: "round", strokeLinejoin: "round" }) }), it = (s) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...s, width: "10", height: "2", viewBox: "0 0 10 2", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M1.5 1H8.5", stroke: "white", strokeWidth: "1.66666", strokeLinecap: "round", strokeLinejoin: "round" }) }), st = ({ checked: s, change: u, disabled: o, required: m, multipleChecked: g, size: y, activeStyle: j, checkBoxStyle: h }) => {
710
+ const f = me(null), [_, i] = M(!1), b = () => {
711
+ u && typeof u == "function" && u(!s);
712
+ }, E = () => _ ? j ?? {} : h ?? {};
713
+ return /* @__PURE__ */ n.jsxs(
714
+ "div",
715
+ {
716
+ style: E(),
717
+ className: `${ae.checkboxWrapper} ${ae[y] ?? ae.md} ${s ? ae.checked : ae.unChecked} ${o ? ae.disabled : ""}`,
718
+ onMouseDown: () => i(!0),
719
+ onMouseUp: () => i(!1),
720
+ onMouseLeave: () => i(!1),
721
+ onClick: b,
722
+ children: [
723
+ /* @__PURE__ */ n.jsx("input", { ref: f, type: "checkbox", disabled: o, checked: s, hidden: !0, readOnly: !0, required: m ?? !1 }),
724
+ s ? g ? /* @__PURE__ */ n.jsx(it, {}) : /* @__PURE__ */ n.jsx(at, {}) : ""
725
+ ]
726
+ }
727
+ );
728
+ }, lt = "Tag-module__tagContainer", ut = "Tag-module__onlyLabel", ct = "Tag-module__sm", dt = "Tag-module__md", ft = "Tag-module__lg", pt = "Tag-module__tagLabel", vt = "Tag-module__tagNumber", ht = "Tag-module__tagClose", ie = {
729
+ tagContainer: lt,
730
+ onlyLabel: ut,
731
+ sm: ct,
732
+ md: dt,
733
+ lg: ft,
734
+ tagLabel: pt,
735
+ tagNumber: vt,
736
+ tagClose: ht
737
+ }, _t = ({
738
+ id: s,
739
+ label: u,
740
+ icon: o,
741
+ withClose: m,
742
+ withCheckbox: g,
743
+ withNumber: y,
744
+ number: j,
745
+ checkboxProps: h,
746
+ disable: f,
747
+ size: _,
748
+ onClose: i,
749
+ tagContainerStyle: b,
750
+ tagLabelStyle: E,
751
+ tagNumberStyle: F,
752
+ tagCloseStlye: C
753
+ }) => {
754
+ const N = () => !g && !o && !m && !y, D = () => o, O = () => {
755
+ i && typeof i == "function" && i(s ?? null);
756
+ };
757
+ return /* @__PURE__ */ n.jsxs("div", { style: b ?? {}, className: `${ie.tagContainer} ${N() ? ie.onlyLabel : ""} ${ie[_ ?? "md"]}`, children: [
758
+ g && /* @__PURE__ */ n.jsx(st, { ...h }),
759
+ o && D(),
760
+ u && /* @__PURE__ */ n.jsx("p", { style: E ?? {}, className: ie.tagLabel, children: u ?? "" }),
761
+ y && /* @__PURE__ */ n.jsx("div", { style: F ?? {}, className: ie.tagNumber, children: j ?? "" }),
762
+ m && /* @__PURE__ */ n.jsx("div", { style: C ?? {}, className: ie.tagClose, onClick: O, children: /* @__PURE__ */ n.jsx(Zr, { width: (C == null ? void 0 : C.width) ?? "14", height: (C == null ? void 0 : C.height) ?? "14", color: (C == null ? void 0 : C.color) ?? "#A4A7AE" }) })
763
+ ] });
764
+ }, Mt = ({
701
765
  value: s,
702
766
  label: u,
703
767
  placeholder: o,
@@ -710,159 +774,169 @@ const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Er = "
710
774
  onBlur: _,
711
775
  msg: i,
712
776
  readOnly: b,
713
- maxLength: w,
714
- onlyText: P,
715
- onRightIconIconClick: C,
716
- onRightIconIconMouseEnter: S,
717
- onRightIconIconMouseLeave: D,
718
- onLeftIconIconClick: $,
719
- onLeftIconIconMouseEnter: x,
720
- onLeftIconIconMouseLeave: B,
721
- rightIcon: Z,
722
- leftIcon: Q,
723
- withDropDown: Y,
724
- dropdownData: I,
725
- onSelectData: ue,
726
- withLink: ee,
727
- withCopy: he,
728
- onCopy: ce,
729
- inputWrapperStyle: _e,
730
- inputLabelStyle: F,
731
- requiredStyle: N,
732
- inputContainerStyle: V,
733
- leftIconStyle: me,
734
- inputDropDownStyle: xe,
735
- ulStyle: ye,
736
- liStyle: be,
737
- httpStyle: ge,
738
- inputStyle: je,
739
- rightIconStyle: Ce,
740
- withCopyStyle: Re,
741
- inputHelperTextStyle: Pe
777
+ maxLength: E,
778
+ onlyText: F,
779
+ tagValues: C,
780
+ onRightIconIconClick: N,
781
+ onRightIconIconMouseEnter: D,
782
+ onRightIconIconMouseLeave: O,
783
+ onLeftIconIconClick: x,
784
+ onLeftIconIconMouseEnter: Y,
785
+ onLeftIconIconMouseLeave: V,
786
+ onPressEnter: q,
787
+ rightIcon: z,
788
+ leftIcon: Z,
789
+ withDropDown: se,
790
+ dropdownData: U,
791
+ onSelectData: le,
792
+ withTags: Fe,
793
+ tagProps: xe,
794
+ withLink: P,
795
+ withCopy: W,
796
+ onCopy: I,
797
+ inputWrapperStyle: ye,
798
+ inputLabelStyle: be,
799
+ requiredStyle: ge,
800
+ inputContainerStyle: je,
801
+ leftIconStyle: Ce,
802
+ inputDropDownStyle: Re,
803
+ ulStyle: Te,
804
+ liStyle: Ee,
805
+ httpStyle: Ae,
806
+ inputStyle: Le,
807
+ rightIconStyle: ue,
808
+ withCopyStyle: ce,
809
+ inputHelperTextStyle: Q
742
810
  }) => {
743
- const [Ve, de] = M(!1), [fe, q] = M(!1);
811
+ const [we, ee] = M(!1), Ne = me(null), [ke, $e] = M(!1);
744
812
  M(!1);
745
- const U = Oe(null), H = Oe(null), [Se, K] = M(!1), [Fe, Ae] = M(1), re = (l) => {
746
- let W = l.target.value;
747
- W.length === 1 && (W = W.trim()), h && typeof h == "function" && h(P ? W.replace(/\d/g, "") : W);
748
- }, J = () => {
749
- q(!0), f && typeof f == "function" && f();
750
- }, Ee = () => {
751
- q(!1), _ && typeof _ == "function" && _();
752
- }, we = (l) => {
753
- const G = l.target.value.length === 0;
754
- y === "number" && (l.keyCode === 69 || !G && (l.keyCode === 187 || l.keyCode === 107 || l.keyCode === 189 || l.keyCode === 109)) && l.preventDefault();
755
- }, te = () => {
756
- ce && typeof ce == "function" && ce(s);
757
- }, ke = (l) => l, Le = () => {
813
+ const de = me(null), H = me(null), [K, J] = M(!1), [Oe, re] = M(1), We = (l) => {
814
+ let k = l.target.value;
815
+ k.length === 1 && (k = k.trim()), h && typeof h == "function" && h(F ? k.replace(/\d/g, "") : k);
816
+ }, De = () => {
817
+ $e(!0), f && typeof f == "function" && f();
818
+ }, fe = () => {
819
+ $e(!1), _ && typeof _ == "function" && _();
820
+ }, Ie = (l) => {
821
+ const k = l.target.value, Ye = k.length === 0;
822
+ y === "number" && (l.keyCode === 69 || !Ye && (l.keyCode === 187 || l.keyCode === 107 || l.keyCode === 189 || l.keyCode === 109)) && l.preventDefault(), l.key === "Enter" && k && k.length > 0 && q && typeof q == "function" && q(k);
823
+ }, Me = () => {
824
+ I && typeof I == "function" && I(s);
825
+ }, pe = (l) => l, Pe = () => {
758
826
  let l = {};
759
- return he && (l.borderTopRightRadius = 0, l.borderBottomRightRadius = 0, l.borderRight = 0), Y && (l.paddingLeft = 0), { ...l, ...V ?? {} };
760
- }, ne = (l) => {
761
- !l.composedPath().includes(H.current) && l.composedPath().includes(U.current) || K(!1);
762
- }, We = (l) => {
763
- Ae(l.id), K(!1), ue && typeof ue == "function" && ue(l);
827
+ return W && (l.borderTopRightRadius = 0, l.borderBottomRightRadius = 0, l.borderRight = 0), se && (l.paddingLeft = 0), { ...l, ...je ?? {} };
828
+ }, B = (l) => {
829
+ !l.composedPath().includes(H.current) && l.composedPath().includes(de.current) || J(!1);
830
+ }, Be = (l) => {
831
+ re(l.id), J(!1), le && typeof le == "function" && le(l);
764
832
  };
765
- Qe(() => (document.addEventListener("click", ne), () => {
766
- document.removeEventListener("click", ne);
833
+ Ke(() => {
834
+ s && s.length === 0 && calculateWidth();
835
+ }, [s]), Ke(() => (document.addEventListener("click", B), () => {
836
+ document.removeEventListener("click", B);
767
837
  }), []);
768
- const Te = Oe(!1);
769
- return Qe(() => {
770
- Te.current ? setTimeout(() => {
771
- de((l) => !l);
772
- }, 0) : Te.current = !0;
773
- }, []), /* @__PURE__ */ n.jsxs("div", { className: k.inputWrapper, style: _e ?? {}, children: [
774
- u && /* @__PURE__ */ n.jsxs("label", { className: k.inputLabel, style: F ?? {}, children: [
838
+ const ve = me(!1);
839
+ return Ke(() => {
840
+ ve.current ? setTimeout(() => {
841
+ ee((l) => !l);
842
+ }, 0) : ve.current = !0;
843
+ }, []), /* @__PURE__ */ n.jsxs("div", { className: w.inputWrapper, style: ye ?? {}, children: [
844
+ u && /* @__PURE__ */ n.jsxs("label", { className: w.inputLabel, style: be ?? {}, children: [
775
845
  u,
776
846
  " ",
777
- /* @__PURE__ */ n.jsx("span", { className: k.required, style: N ?? {}, children: m && "*" })
847
+ /* @__PURE__ */ n.jsx("span", { className: w.required, style: ge ?? {}, children: m && "*" })
778
848
  ] }),
779
849
  /* @__PURE__ */ n.jsxs("div", { style: { display: "flex", alignItems: "center" }, children: [
780
850
  /* @__PURE__ */ n.jsxs(
781
851
  "div",
782
852
  {
783
- style: Le(),
784
- className: `${k.inputContainer} ${fe && !b ? k.focused : ""} ${g ? k.disabled : ""} ${i != null && i.error ? k.error : ""} ${k[j ?? "sm"]}`,
853
+ style: Pe(),
854
+ className: `${w.inputContainer} ${ke && !b ? w.focused : ""} ${g ? w.disabled : ""} ${i != null && i.error ? w.error : ""} ${w[j ?? "sm"]}`,
785
855
  children: [
786
- !Y && !ee && Q && /* @__PURE__ */ n.jsx(
856
+ !se && !P && Z && /* @__PURE__ */ n.jsx(
787
857
  "div",
788
858
  {
789
- className: k.leftIcon,
790
- style: me ?? {},
859
+ className: w.leftIcon,
860
+ style: Ce ?? {},
791
861
  onClick: () => {
792
- $ && typeof $ == "function" && $();
862
+ x && typeof x == "function" && x();
793
863
  },
794
864
  onMouseEnter: () => {
795
- x && typeof x == "function" && x();
865
+ Y && typeof Y == "function" && Y();
796
866
  },
797
867
  onMouseLeave: () => {
798
- B && typeof B == "function" && B();
868
+ V && typeof V == "function" && V();
799
869
  },
800
- children: ke(Q)
870
+ children: pe(Z)
801
871
  }
802
872
  ),
803
- !ee && Y && /* @__PURE__ */ n.jsxs("div", { className: k.inputDropDown, style: xe ?? {}, onClick: () => K(!0), ref: U, children: [
804
- I.find((l) => l.id === Fe).label,
805
- Se && /* @__PURE__ */ n.jsx("ul", { ref: H, style: ye ?? {}, children: I && I.length && I.map((l, W) => /* @__PURE__ */ n.jsx("li", { style: be ?? {}, onClick: () => We(l), children: (l == null ? void 0 : l.label) ?? "-" }, l.id)) }),
806
- /* @__PURE__ */ n.jsx(Jr, {})
873
+ !P && se && /* @__PURE__ */ n.jsxs("div", { className: w.inputDropDown, style: Re ?? {}, onClick: () => J(!0), ref: de, children: [
874
+ U.find((l) => l.id === Oe).label,
875
+ K && /* @__PURE__ */ n.jsx("ul", { ref: H, style: Te ?? {}, children: U && U.length && U.map((l, k) => /* @__PURE__ */ n.jsx("li", { style: Ee ?? {}, onClick: () => Be(l), children: (l == null ? void 0 : l.label) ?? "-" }, l.id)) }),
876
+ /* @__PURE__ */ n.jsx(Xr, {})
807
877
  ] }),
808
- ee && /* @__PURE__ */ n.jsx("div", { className: `${k.inputDropDown} ${k.http}`, style: ge ?? {}, onClick: () => K(!0), ref: U, children: "http://" }),
809
- /* @__PURE__ */ n.jsx(
810
- "input",
811
- {
812
- style: je ?? {},
813
- type: y ?? "text",
814
- value: s,
815
- onChange: (l) => re(l),
816
- onFocus: J,
817
- onBlur: Ee,
818
- disabled: g,
819
- required: m,
820
- onKeyDown: we,
821
- readOnly: b,
822
- spellCheck: !1,
823
- placeholder: o ?? "",
824
- autoComplete: "off",
825
- maxLength: w
826
- }
827
- ),
828
- Z && /* @__PURE__ */ n.jsx(
878
+ P && /* @__PURE__ */ n.jsx("div", { className: `${w.inputDropDown} ${w.http}`, style: Ae ?? {}, onClick: () => J(!0), ref: de, children: "http://" }),
879
+ /* @__PURE__ */ n.jsxs("div", { className: w.inputContent, children: [
880
+ Fe && C && C.length > 0 && /* @__PURE__ */ n.jsx("div", { className: w.inputTags, children: C.map((l, k) => /* @__PURE__ */ n.jsx("div", { className: w.inputSingleTags, children: /* @__PURE__ */ n.jsx(_t, { ...xe, id: l, label: l, withClose: !0 }) }, k)) }),
881
+ /* @__PURE__ */ n.jsx(
882
+ "input",
883
+ {
884
+ ref: Ne,
885
+ style: Le ?? {},
886
+ type: y ?? "text",
887
+ value: s,
888
+ onChange: (l) => We(l),
889
+ onFocus: De,
890
+ onBlur: fe,
891
+ disabled: g,
892
+ required: m,
893
+ onKeyDown: Ie,
894
+ readOnly: b,
895
+ spellCheck: !1,
896
+ placeholder: o ?? "",
897
+ autoComplete: "off",
898
+ maxLength: E
899
+ }
900
+ )
901
+ ] }),
902
+ z && /* @__PURE__ */ n.jsx(
829
903
  "div",
830
904
  {
831
- className: k.rightIcon,
832
- style: Ce ?? {},
905
+ className: w.rightIcon,
906
+ style: ue ?? {},
833
907
  onClick: () => {
834
- C && typeof C == "function" && C();
908
+ N && typeof N == "function" && N();
835
909
  },
836
910
  onMouseEnter: () => {
837
- S && typeof S == "function" && S();
911
+ D && typeof D == "function" && D();
838
912
  },
839
913
  onMouseLeave: () => {
840
- D && typeof D == "function" && D();
914
+ O && typeof O == "function" && O();
841
915
  },
842
- children: ke(Z)
916
+ children: pe(z)
843
917
  }
844
918
  )
845
919
  ]
846
920
  }
847
921
  ),
848
- he && /* @__PURE__ */ n.jsxs("div", { style: Re ?? {}, onClick: te, className: k.withCopy, children: [
849
- /* @__PURE__ */ n.jsx(Gr, {}),
922
+ W && /* @__PURE__ */ n.jsxs("div", { style: ce ?? {}, onClick: Me, className: w.withCopy, children: [
923
+ /* @__PURE__ */ n.jsx(zr, {}),
850
924
  "Copy"
851
925
  ] })
852
926
  ] }),
853
- i && (i == null ? void 0 : i.visigle) && /* @__PURE__ */ n.jsx("div", { style: Pe ?? {}, className: `${k.inputHelperText} ${i != null && i.error ? k.error : ""}`, children: /* @__PURE__ */ n.jsx("p", { style: (i == null ? void 0 : i.style) ?? {}, children: i.text }) })
927
+ i && (i == null ? void 0 : i.visible) && /* @__PURE__ */ n.jsx("div", { style: Q ?? {}, className: `${w.inputHelperText} ${i != null && i.error ? w.error : ""}`, children: /* @__PURE__ */ n.jsx("p", { style: (i == null ? void 0 : i.style) ?? {}, children: i.text }) })
854
928
  ] });
855
- }, Xr = "Textarea-module__textareaContainer", zr = "Textarea-module__textAreaLabel", Zr = "Textarea-module__required", Qr = "Textarea-module__wrap", et = "Textarea-module__textarea", rt = "Textarea-module__focused", tt = "Textarea-module__disabled", nt = "Textarea-module__error", ot = "Textarea-module__helperTextStyle", L = {
856
- textareaContainer: Xr,
857
- textAreaLabel: zr,
858
- required: Zr,
859
- wrap: Qr,
860
- textarea: et,
861
- focused: rt,
862
- disabled: tt,
863
- error: nt,
864
- helperTextStyle: ot
865
- }, at = ({ width: s, height: u, color: o }) => /* @__PURE__ */ n.jsxs("svg", { width: s ?? "16", height: u ?? "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
929
+ }, mt = "Textarea-module__textareaContainer", xt = "Textarea-module__textAreaLabel", yt = "Textarea-module__required", bt = "Textarea-module__wrap", gt = "Textarea-module__textarea", jt = "Textarea-module__focused", Ct = "Textarea-module__disabled", Rt = "Textarea-module__error", Tt = "Textarea-module__helperTextStyle", L = {
930
+ textareaContainer: mt,
931
+ textAreaLabel: xt,
932
+ required: yt,
933
+ wrap: bt,
934
+ textarea: gt,
935
+ focused: jt,
936
+ disabled: Ct,
937
+ error: Rt,
938
+ helperTextStyle: Tt
939
+ }, Et = ({ width: s, height: u, color: o }) => /* @__PURE__ */ n.jsxs("svg", { width: s ?? "16", height: u ?? "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
866
940
  /* @__PURE__ */ n.jsx("g", { id: "help-circle", clipPath: "url(#clip0_433_6293)", children: /* @__PURE__ */ n.jsx(
867
941
  "path",
868
942
  {
@@ -875,7 +949,7 @@ const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Er = "
875
949
  }
876
950
  ) }),
877
951
  /* @__PURE__ */ n.jsx("defs", { children: /* @__PURE__ */ n.jsx("clipPath", { id: "clip0_433_6293", children: /* @__PURE__ */ n.jsx("rect", { width: s ?? "16", height: u ?? "16", fill: "white" }) }) })
878
- ] }), Nt = ({
952
+ ] }), Bt = ({
879
953
  placeholder: s,
880
954
  label: u,
881
955
  msg: o,
@@ -888,57 +962,57 @@ const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Er = "
888
962
  onBlur: _,
889
963
  disabled: i,
890
964
  required: b,
891
- textareaContainerStyle: w,
892
- textareaLabelStyle: P,
965
+ textareaContainerStyle: E,
966
+ textareaLabelStyle: F,
893
967
  requiredStyle: C,
894
- textareaStyle: S,
968
+ textareaStyle: N,
895
969
  textareaHelperTextStyle: D
896
970
  }) => {
897
- const [$, x] = M(!1), B = (Y) => {
898
- let I = Y.target.value;
899
- h && typeof h == "function" && h(I);
900
- }, Z = () => {
971
+ const [O, x] = M(!1), Y = (z) => {
972
+ let Z = z.target.value;
973
+ h && typeof h == "function" && h(Z);
974
+ }, V = () => {
901
975
  x(!0), f && typeof f == "function" && f();
902
- }, Q = () => {
976
+ }, q = () => {
903
977
  x(!1), _ && typeof _ == "function" && _();
904
978
  };
905
979
  return /* @__PURE__ */ n.jsxs(
906
980
  "div",
907
981
  {
908
- style: w ?? {},
982
+ style: E ?? {},
909
983
  className: `${L.textareaContainer} ${o != null && o.type && (o != null && o.visible) ? L[o == null ? void 0 : o.type] : ""} ${i ? L.disabled : null}`,
910
984
  children: [
911
- u && /* @__PURE__ */ n.jsxs("div", { style: P, className: L.textAreaLabel, children: [
985
+ u && /* @__PURE__ */ n.jsxs("div", { style: F, className: L.textAreaLabel, children: [
912
986
  /* @__PURE__ */ n.jsx("p", { children: u }),
913
987
  /* @__PURE__ */ n.jsx("span", { style: C ?? {}, className: L.required, children: b && "*" }),
914
- /* @__PURE__ */ n.jsx(at, {})
988
+ /* @__PURE__ */ n.jsx(Et, {})
915
989
  ] }),
916
990
  /* @__PURE__ */ n.jsx("div", { className: L.wrap, children: /* @__PURE__ */ n.jsx(
917
991
  "textarea",
918
992
  {
919
- style: S ?? {},
920
- className: `${L.textarea} ${$ ? L.focused : ""} ${i ? L.disabled : ""} ${o != null && o.error ? L.error : ""}`,
993
+ style: N ?? {},
994
+ className: `${L.textarea} ${O ? L.focused : ""} ${i ? L.disabled : ""} ${o != null && o.error ? L.error : ""}`,
921
995
  value: y,
922
996
  placeholder: s ?? "",
923
997
  cols: m ?? "30",
924
998
  rows: g ?? "5",
925
999
  maxLength: j ?? null,
926
- onFocus: Z,
1000
+ onFocus: V,
927
1001
  disabled: i,
928
- onBlur: Q,
929
- onChange: B
1002
+ onBlur: q,
1003
+ onChange: Y
930
1004
  }
931
1005
  ) }),
932
1006
  /* @__PURE__ */ n.jsx("div", { style: D ?? {}, className: `${L.helperTextStyle} ${o != null && o.error ? L.error : ""}`, children: /* @__PURE__ */ n.jsx("p", { style: (o == null ? void 0 : o.style) ?? {}, children: o.text }) })
933
1007
  ]
934
1008
  }
935
1009
  );
936
- }, it = "Toggle-module__toggleWrapper", st = "Toggle-module__toggleState", lt = "Toggle-module__checked", ut = "Toggle-module__disabled", $e = {
937
- toggleWrapper: it,
938
- toggleState: st,
939
- checked: lt,
940
- disabled: ut
941
- }, Mt = ({
1010
+ }, wt = "Toggle-module__toggleWrapper", kt = "Toggle-module__toggleState", $t = "Toggle-module__checked", Ot = "Toggle-module__disabled", Se = {
1011
+ toggleWrapper: wt,
1012
+ toggleState: kt,
1013
+ checked: $t,
1014
+ disabled: Ot
1015
+ }, Yt = ({
942
1016
  checked: s,
943
1017
  change: u,
944
1018
  disabled: o,
@@ -951,7 +1025,7 @@ const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Er = "
951
1025
  checkedCircleStyle: _,
952
1026
  disabledCircleStyle: i
953
1027
  }) => {
954
- const [b, w] = M(!1), P = () => {
1028
+ const [b, E] = M(!1), F = () => {
955
1029
  u && typeof u == "function" && u(!s);
956
1030
  }, C = () => {
957
1031
  if (b)
@@ -963,7 +1037,7 @@ const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Er = "
963
1037
  return h;
964
1038
  } else if (y) return y;
965
1039
  return {};
966
- }, S = () => {
1040
+ }, N = () => {
967
1041
  if (s) {
968
1042
  if (_) return _;
969
1043
  } else if (s) {
@@ -976,102 +1050,38 @@ const Cr = "MainButton-module__mainButton", Rr = "MainButton-module__sm", Er = "
976
1050
  "div",
977
1051
  {
978
1052
  style: C(),
979
- onMouseDown: () => w(!0),
980
- onMouseUp: () => w(!1),
981
- onMouseLeave: () => w(!1),
982
- onClick: P,
983
- className: `${$e.toggleWrapper} ${s ? $e.checked : ""} ${o ? $e.disabled : ""}`,
984
- children: /* @__PURE__ */ n.jsx("div", { style: S(), className: $e.toggleState, children: /* @__PURE__ */ n.jsx("input", { type: "checkbox", checked: s, readOnly: !0, disabled: o ?? !1, hidden: !0, required: m ?? !1 }) })
985
- }
986
- );
987
- }, ct = "Checkbox-module__checkboxWrapper", dt = "Checkbox-module__sm", ft = "Checkbox-module__md", pt = "Checkbox-module__checkMark", vt = "Checkbox-module__checked", ht = "Checkbox-module__disabled", se = {
988
- checkboxWrapper: ct,
989
- sm: dt,
990
- md: ft,
991
- checkMark: pt,
992
- checked: vt,
993
- disabled: ht
994
- }, _t = (s) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...s, width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M10 3L4.5 8.5L2 6", stroke: "white", strokeWidth: "1.6666", strokeLinecap: "round", strokeLinejoin: "round" }) }), mt = (s) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", ...s, width: "10", height: "2", viewBox: "0 0 10 2", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M1.5 1H8.5", stroke: "white", strokeWidth: "1.66666", strokeLinecap: "round", strokeLinejoin: "round" }) }), xt = ({ checked: s, change: u, disabled: o, required: m, multipleChecked: g, size: y, activeStyle: j, checkBoxStyle: h }) => {
995
- const f = Oe(null), [_, i] = M(!1), b = () => {
996
- u && typeof u == "function" && u(!s);
997
- }, w = () => _ ? j ?? {} : h ?? {};
998
- return /* @__PURE__ */ n.jsxs(
999
- "div",
1000
- {
1001
- style: w(),
1002
- className: `${se.checkboxWrapper} ${se[y] ?? se.md} ${s ? se.checked : se.unChecked} ${o ? se.disabled : ""}`,
1003
- onMouseDown: () => i(!0),
1004
- onMouseUp: () => i(!1),
1005
- onMouseLeave: () => i(!1),
1006
- onClick: b,
1007
- children: [
1008
- /* @__PURE__ */ n.jsx("input", { ref: f, type: "checkbox", disabled: o, checked: s, hidden: !0, readOnly: !0, required: m ?? !1 }),
1009
- s ? g ? /* @__PURE__ */ n.jsx(mt, {}) : /* @__PURE__ */ n.jsx(_t, {}) : ""
1010
- ]
1053
+ onMouseDown: () => E(!0),
1054
+ onMouseUp: () => E(!1),
1055
+ onMouseLeave: () => E(!1),
1056
+ onClick: F,
1057
+ className: `${Se.toggleWrapper} ${s ? Se.checked : ""} ${o ? Se.disabled : ""}`,
1058
+ children: /* @__PURE__ */ n.jsx("div", { style: N(), className: Se.toggleState, children: /* @__PURE__ */ n.jsx("input", { type: "checkbox", checked: s, readOnly: !0, disabled: o ?? !1, hidden: !0, required: m ?? !1 }) })
1011
1059
  }
1012
1060
  );
1013
- }, yt = "Radio-module__radioWrapper", bt = "Radio-module__sm", gt = "Radio-module__md", jt = "Radio-module__checked", Ct = "Radio-module__innerCircle", Rt = "Radio-module__radioState", Et = "Radio-module__disabled", z = {
1014
- radioWrapper: yt,
1015
- sm: bt,
1016
- md: gt,
1017
- checked: jt,
1018
- innerCircle: Ct,
1019
- radioState: Rt,
1020
- disabled: Et
1021
- }, It = ({ checked: s, change: u, disabled: o, isRequired: m, withUncheckState: g, size: y }) => {
1061
+ }, Pt = "Radio-module__radioWrapper", St = "Radio-module__sm", Ft = "Radio-module__md", At = "Radio-module__checked", Lt = "Radio-module__innerCircle", Nt = "Radio-module__radioState", Wt = "Radio-module__disabled", X = {
1062
+ radioWrapper: Pt,
1063
+ sm: St,
1064
+ md: Ft,
1065
+ checked: At,
1066
+ innerCircle: Lt,
1067
+ radioState: Nt,
1068
+ disabled: Wt
1069
+ }, Vt = ({ checked: s, change: u, disabled: o, isRequired: m, withUncheckState: g, size: y }) => {
1022
1070
  M(!1);
1023
1071
  const j = () => {
1024
1072
  u && typeof u == "function" && (g || !g && !s) && u(!0);
1025
1073
  };
1026
- return /* @__PURE__ */ n.jsxs("div", { className: `${z.radioWrapper} ${z[y] ?? z.md} ${s ? z.checked : ""} ${o ? z.disabled : ""}`, onClick: j, children: [
1074
+ return /* @__PURE__ */ n.jsxs("div", { className: `${X.radioWrapper} ${X[y] ?? X.md} ${s ? X.checked : ""} ${o ? X.disabled : ""}`, onClick: j, children: [
1027
1075
  /* @__PURE__ */ n.jsx("input", { type: "radio", checked: !0, readOnly: !0, hidden: !0, disabled: o ?? !1, required: m ?? !1 }),
1028
- /* @__PURE__ */ n.jsx("div", { className: z.radioState, children: /* @__PURE__ */ n.jsx("div", { className: z.innerCircle }) })
1029
- ] });
1030
- }, wt = ({ width: s, height: u, color: o }) => /* @__PURE__ */ n.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: s ?? "14", height: u ?? "14", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ n.jsx("path", { d: "M10.5 3.5L3.5 10.5M3.5 3.5L10.5 10.5", stroke: o ?? "#A4A7AE", strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }) }), kt = "Tag-module__tagContainer", Tt = "Tag-module__onlyLabel", $t = "Tag-module__sm", Ot = "Tag-module__md", Pt = "Tag-module__lg", St = "Tag-module__tagLabel", Ft = "Tag-module__tagNumber", At = "Tag-module__tagClose", le = {
1031
- tagContainer: kt,
1032
- onlyLabel: Tt,
1033
- sm: $t,
1034
- md: Ot,
1035
- lg: Pt,
1036
- tagLabel: St,
1037
- tagNumber: Ft,
1038
- tagClose: At
1039
- }, Bt = ({
1040
- id: s,
1041
- label: u,
1042
- icon: o,
1043
- withDelete: m,
1044
- withCheckbox: g,
1045
- withNumber: y,
1046
- number: j,
1047
- checkboxProps: h,
1048
- disable: f,
1049
- size: _,
1050
- onClose: i,
1051
- tagContainerStyle: b,
1052
- tagLabelStyle: w,
1053
- tagNumberStyle: P,
1054
- tagCloseStlye: C
1055
- }) => {
1056
- const S = () => !g && !o && !m && !y;
1057
- console.log(S());
1058
- const D = () => o, $ = () => {
1059
- i && typeof i == "function" && i(s ?? null);
1060
- };
1061
- return /* @__PURE__ */ n.jsxs("div", { style: b ?? {}, className: `${le.tagContainer} ${S() ? le.onlyLabel : ""} ${le[_ ?? "md"]}`, children: [
1062
- g && /* @__PURE__ */ n.jsx(xt, { ...h }),
1063
- o && D(),
1064
- u && /* @__PURE__ */ n.jsx("p", { style: w ?? {}, className: le.tagLabel, children: u ?? "" }),
1065
- y && /* @__PURE__ */ n.jsx("div", { style: P ?? {}, className: le.tagNumber, children: j ?? "" }),
1066
- m && /* @__PURE__ */ n.jsx("div", { style: C ?? {}, className: le.tagClose, onClick: $, children: /* @__PURE__ */ n.jsx(wt, { width: (C == null ? void 0 : C.width) ?? "14", height: (C == null ? void 0 : C.height) ?? "14", color: (C == null ? void 0 : C.color) ?? "#A4A7AE" }) })
1076
+ /* @__PURE__ */ n.jsx("div", { className: X.radioState, children: /* @__PURE__ */ n.jsx("div", { className: X.innerCircle }) })
1067
1077
  ] });
1068
1078
  };
1069
1079
  export {
1070
- xt as Checkbox,
1071
- Dt as FormInput,
1072
- Wt as MainButton,
1073
- It as Radio,
1074
- Bt as Tag,
1075
- Nt as Textarea,
1076
- Mt as Toggle
1080
+ st as Checkbox,
1081
+ Mt as FormInput,
1082
+ It as MainButton,
1083
+ Vt as Radio,
1084
+ _t as Tag,
1085
+ Bt as Textarea,
1086
+ Yt as Toggle
1077
1087
  };