master-components-react 1.3.2 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.mc__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}.mc__mainButton:hover{background:#6941c6}.mc__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}.mc__mainButton.mc__sm{height:2.25rem}.mc__mainButton.mc__sm.mc__onlyIcon{height:2.25rem;width:2.25rem;min-width:unset}.mc__mainButton.mc__sm .mc__buttonSlot .mc__buttonLabel{font-size:.875rem;line-height:1.25rem}.mc__mainButton.mc__md{height:2.5rem}.mc__mainButton.mc__md.mc__onlyIcon{height:2.5rem;width:2.5rem;min-width:unset}.mc__mainButton.mc__md .mc__buttonSlot .mc__buttonLabel{font-size:.875rem;line-height:1.25rem}.mc__mainButton.mc__lg{height:2.75rem}.mc__mainButton.mc__lg.mc__onlyIcon{height:2.75rem;width:2.75rem;min-width:unset}.mc__mainButton.mc__lg .mc__buttonSlot .mc__buttonLabel{font-size:1rem;line-height:1.25rem}.mc__mainButton.mc__xl{height:3rem}.mc__mainButton.mc__xl.mc__onlyIcon{height:3rem;width:3rem;min-width:unset}.mc__mainButton.mc__xl .mc__buttonSlot .mc__buttonLabel{font-size:1rem;line-height:1.5rem}.mc__mainButton.mc__xl2{height:3.75rem}.mc__mainButton.mc__xl2.mc__onlyIcon{height:3.5rem;width:3.5rem;min-width:unset}.mc__mainButton.mc__xl2 .mc__buttonSlot .mc__buttonLabel{font-size:1.125rem;line-height:1.75rem}.mc__mainButton.mc__disabled{border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#f5f5f5;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.mc__mainButton.mc__disabled .mc__buttonSlot .mc__buttonLabel{color:#a4a7ae}.mc__mainButton .mc__buttonSlot{display:flex;align-items:center;gap:.5rem}.mc__mainButton .mc__buttonSlot .mc__buttonLabel{color:#fff;font-family:Inter,sans-serif;font-style:normal;font-weight:400}.mc__inputWrapper{width:100%}.mc__inputWrapper .mc__inputLabel{color:#414651;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.mc__inputWrapper .mc__inputLabel .mc__required{color:#7f56d9;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.mc__inputWrapper .mc__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}.mc__inputWrapper .mc__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}.mc__inputWrapper .mc__inputContainer input::placeholder{color:#717680}.mc__inputWrapper .mc__inputContainer.mc__focused{border-radius:.5rem;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.mc__inputWrapper .mc__inputContainer.mc__error{border-radius:.5rem;outline-color:#fda29b;outline-width:.0625rem;outline-style:solid;background:#fff;box-shadow:0 .0625rem .125rem #0a0d120d}.mc__inputWrapper .mc__inputContainer.mc__error.mc__focused{outline-width:.125rem;outline-color:#f04438}.mc__inputWrapper .mc__inputContainer .mc__rightIcon,.mc__inputWrapper .mc__inputContainer .mc__leftIcon{display:flex;justify-content:center;align-items:center}.mc__inputWrapper .mc__inputContainer .mc__rightIcon{margin:0 .5rem}.mc__inputWrapper .mc__inputContainer .mc__leftIcon{margin-right:.375rem}.mc__inputWrapper .mc__inputContainer .mc__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}.mc__inputWrapper .mc__inputContainer .mc__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}.mc__inputWrapper .mc__inputContainer .mc__inputDropDown ul li{padding:.375rem .75rem;width:100%;display:flex;flex-direction:column;font-size:.875rem;line-height:initial;cursor:pointer}.mc__inputWrapper .mc__inputContainer .mc__inputDropDown ul li:hover{background-color:#d5d7da}.mc__inputWrapper .mc__inputContainer .mc__inputDropDown.mc__http{cursor:initial;border-right:.0625rem solid #d5d7da;margin-right:.75rem}.mc__inputWrapper .mc__inputContainer.mc__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.mc__inputWrapper .mc__inputContainer.mc__disabled input{background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.mc__inputWrapper .mc__inputContainer.mc__sm{height:2.5rem}.mc__inputWrapper .mc__inputContainer.mc__md{height:2.75rem}.mc__inputWrapper .mc__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}.mc__inputWrapper .mc__withCopy:hover{background:#f0f0f0}.mc__inputWrapper .mc__withCopy:active{background:#ececec}.mc__inputWrapper .mc__inputHelperText p{color:#535862;font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:400;line-height:1.25rem}.mc__inputWrapper .mc__inputHelperText.mc__error p{color:#d92d20}.mc__textareaContainer{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:.375rem;flex-shrink:0}.mc__textareaContainer .mc__textAreaLabel{display:flex;align-items:center;gap:.125rem}.mc__textareaContainer .mc__textAreaLabel p{font-family:Inter,sans-serif;font-size:.875rem;font-style:normal;font-weight:500;line-height:1.25rem}.mc__textareaContainer .mc__textAreaLabel .mc__required{color:#7f56d9;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:500;line-height:1.25rem}.mc__textareaContainer .mc__wrap{position:relative;display:inline-block}.mc__textareaContainer .mc__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%}.mc__textareaContainer .mc__wrap .mc__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}.mc__textareaContainer .mc__wrap .mc__textarea::-webkit-resizer{display:none}.mc__textareaContainer .mc__wrap .mc__textarea::-webkit-scrollbar{width:0}.mc__textareaContainer .mc__wrap .mc__textarea::-webkit-scrollbar-track{-webkit-box-shadow:none}.mc__textareaContainer .mc__wrap .mc__textarea::-webkit-scrollbar-thumb{background-color:none;outline:0}.mc__textareaContainer .mc__wrap .mc__textarea.mc__focused{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#9e77ed;outline-width:.125rem;outline-style:solid}.mc__textareaContainer .mc__wrap .mc__textarea.mc__disabled{border-radius:.5rem;border:.0625rem solid #d5d7da;background:#fafafa;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.mc__textareaContainer .mc__wrap .mc__textarea.mc__error{border-radius:.5rem;box-shadow:0 .0625rem .125rem #0a0d120d;outline-color:#fda29b;outline-width:.125rem;outline-style:solid}.mc__textareaContainer .mc__wrap .mc__textarea.mc__error.mc__focused{outline-color:#f04438}.mc__textareaContainer .mc__wrap .mc__textarea::placeholder{color:#717680;font-size:1rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.5rem}.mc__textareaContainer .mc__helperTextStyle{color:#535862;font-size:.875rem;font-family:Inter,sans-serif;font-style:normal;font-weight:400;line-height:1.25rem}.mc__textareaContainer .mc__helperTextStyle.mc__error{color:#d92d20}`)),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react");var Ne={exports:{}},ce={};/**
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:36px;height:20px;position:relative;overflow:hidden;background:#f5f5f5;border-radius:624.9375rem;cursor:pointer}.Toggle-module__toggleWrapper:active{box-shadow:0 0 0 2px #fff,0 0 0 4px #9e77ed}.Toggle-module__toggleWrapper .Toggle-module__toggleState{width:1.125rem;height:16px;width:16px;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}`)),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react");var Le={exports:{}},fe={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var Je;function vr(){if(Je)return ce;Je=1;var m=g,h=Symbol.for("react.element"),s=Symbol.for("react.fragment"),R=Object.prototype.hasOwnProperty,$=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w={key:!0,ref:!0,__self:!0,__source:!0};function T(y,f,b){var l,x={},A=null,L=null;b!==void 0&&(A=""+b),f.key!==void 0&&(A=""+f.key),f.ref!==void 0&&(L=f.ref);for(l in f)R.call(f,l)&&!w.hasOwnProperty(l)&&(x[l]=f[l]);if(y&&y.defaultProps)for(l in f=y.defaultProps,f)x[l]===void 0&&(x[l]=f[l]);return{$$typeof:h,type:y,key:A,ref:L,props:x,_owner:$.current}}return ce.Fragment=s,ce.jsx=T,ce.jsxs=T,ce}var fe={};/**
10
+ */var Xe;function _r(){if(Xe)return fe;Xe=1;var u=w,p=Symbol.for("react.element"),a=Symbol.for("react.fragment"),g=Object.prototype.hasOwnProperty,k=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,C={key:!0,ref:!0,__self:!0,__source:!0};function j(h,f,_){var i,x={},R=null,A=null;_!==void 0&&(R=""+_),f.key!==void 0&&(R=""+f.key),f.ref!==void 0&&(A=f.ref);for(i in f)g.call(f,i)&&!C.hasOwnProperty(i)&&(x[i]=f[i]);if(h&&h.defaultProps)for(i in f=h.defaultProps,f)x[i]===void 0&&(x[i]=f[i]);return{$$typeof:p,type:h,key:R,ref:A,props:x,_owner:k.current}}return fe.Fragment=a,fe.jsx=j,fe.jsxs=j,fe}var de={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,17 +15,17 @@
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var Ge;function hr(){return Ge||(Ge=1,process.env.NODE_ENV!=="production"&&function(){var m=g,h=Symbol.for("react.element"),s=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),T=Symbol.for("react.provider"),y=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),L=Symbol.for("react.offscreen"),N=Symbol.iterator,Y="@@iterator";function I(e){if(e===null||typeof e!="object")return null;var r=N&&e[N]||e[Y];return typeof r=="function"?r:null}var S=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),n=1;n<r;n++)t[n-1]=arguments[n];M("error",e,t)}}function M(e,r,t){{var n=S.ReactDebugCurrentFrame,c=n.getStackAddendum();c!==""&&(r+="%s",t=t.concat([c]));var d=t.map(function(u){return String(u)});d.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,d)}}var z=!1,Z=!1,V=!1,W=!1,oe=!1,Q;Q=Symbol.for("react.module.reference");function de(e){return!!(typeof e=="string"||typeof e=="function"||e===R||e===w||oe||e===$||e===b||e===l||W||e===L||z||Z||V||typeof e=="object"&&e!==null&&(e.$$typeof===A||e.$$typeof===x||e.$$typeof===T||e.$$typeof===y||e.$$typeof===f||e.$$typeof===Q||e.getModuleId!==void 0))}function se(e,r,t){var n=e.displayName;if(n)return n;var c=r.displayName||r.name||"";return c!==""?t+"("+c+")":t}function pe(e){return e.displayName||"Context"}function k(e){if(e==null)return null;if(typeof e.tag=="number"&&p("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case R:return"Fragment";case s:return"Portal";case w:return"Profiler";case $:return"StrictMode";case b:return"Suspense";case l:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case y:var r=e;return pe(r)+".Consumer";case T:var t=e;return pe(t._context)+".Provider";case f:return se(e,e.render,"ForwardRef");case x:var n=e.displayName||null;return n!==null?n:k(e.type)||"Memo";case A:{var c=e,d=c._payload,u=c._init;try{return k(u(d))}catch{return null}}}return null}var D=Object.assign,B=0,ve,he,_e,ye,be,me,xe;function Ce(){}Ce.__reactDisabledLog=!0;function we(){{if(B===0){ve=console.log,he=console.info,_e=console.warn,ye=console.error,be=console.group,me=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ce,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}B++}}function We(){{if(B--,B===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:ve}),info:D({},e,{value:he}),warn:D({},e,{value:_e}),error:D({},e,{value:ye}),group:D({},e,{value:be}),groupCollapsed:D({},e,{value:me}),groupEnd:D({},e,{value:xe})})}B<0&&p("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var le=S.ReactCurrentDispatcher,ue;function q(e,r,t){{if(ue===void 0)try{throw Error()}catch(c){var n=c.stack.trim().match(/\n( *(at )?)/);ue=n&&n[1]||""}return`
19
- `+ue+e}}var U=!1,H;{var Te=typeof WeakMap=="function"?WeakMap:Map;H=new Te}function K(e,r){if(!e||U)return"";{var t=H.get(e);if(t!==void 0)return t}var n;U=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=le.current,le.current=null,we();try{if(r){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(j){n=j}Reflect.construct(e,[],u)}else{try{u.call()}catch(j){n=j}e.call(u.prototype)}}else{try{throw Error()}catch(j){n=j}e()}}catch(j){if(j&&n&&typeof j.stack=="string"){for(var o=j.stack.split(`
20
- `),E=n.stack.split(`
21
- `),v=o.length-1,_=E.length-1;v>=1&&_>=0&&o[v]!==E[_];)_--;for(;v>=1&&_>=0;v--,_--)if(o[v]!==E[_]){if(v!==1||_!==1)do if(v--,_--,_<0||o[v]!==E[_]){var P=`
22
- `+o[v].replace(" at new "," at ");return e.displayName&&P.includes("<anonymous>")&&(P=P.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,P),P}while(v>=1&&_>=0);break}}}finally{U=!1,le.current=d,We(),Error.prepareStackTrace=c}var ae=e?e.displayName||e.name:"",X=ae?q(ae):"";return typeof e=="function"&&H.set(e,X),X}function Se(e,r,t){return K(e,!1)}function ke(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function ee(e,r,t){if(e==null)return"";if(typeof e=="function")return K(e,ke(e));if(typeof e=="string")return q(e);switch(e){case b:return q("Suspense");case l:return q("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return Se(e.render);case x:return ee(e.type,r,t);case A:{var n=e,c=n._payload,d=n._init;try{return ee(d(c),r,t)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,Ee={},Re=S.ReactDebugCurrentFrame;function re(e){if(e){var r=e._owner,t=ee(e.type,e._source,r?r.type:null);Re.setExtraStackFrame(t)}else Re.setExtraStackFrame(null)}function je(e,r,t,n,c){{var d=Function.call.bind(J);for(var u in e)if(d(e,u)){var o=void 0;try{if(typeof e[u]!="function"){var E=Error((n||"React class")+": "+t+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw E.name="Invariant Violation",E}o=e[u](r,u,n,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(v){o=v}o&&!(o instanceof Error)&&(re(c),p("%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).",n||"React class",t,u,typeof o),re(null)),o instanceof Error&&!(o.message in Ee)&&(Ee[o.message]=!0,re(c),p("Failed %s type: %s",t,o.message),re(null))}}}var Pe=Array.isArray;function te(e){return Pe(e)}function Oe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function ge(e){try{return i(e),!1}catch{return!0}}function i(e){return""+e}function F(e){if(ge(e))return p("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Oe(e)),i(e)}var G=S.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ye,Ie,$e;$e={};function ze(e){if(J.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ze(e){if(J.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Qe(e,r){if(typeof e.ref=="string"&&G.current&&r&&G.current.stateNode!==r){var t=k(G.current.type);$e[t]||(p('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',k(G.current.type),e.ref),$e[t]=!0)}}function er(e,r){{var t=function(){Ye||(Ye=!0,p("%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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function rr(e,r){{var t=function(){Ie||(Ie=!0,p("%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))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var tr=function(e,r,t,n,c,d,u){var o={$$typeof:h,type:e,key:r,ref:t,props:u,_owner:d};return o._store={},Object.defineProperty(o._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(o,"_self",{configurable:!1,enumerable:!1,writable:!1,value:n}),Object.defineProperty(o,"_source",{configurable:!1,enumerable:!1,writable:!1,value:c}),Object.freeze&&(Object.freeze(o.props),Object.freeze(o)),o};function nr(e,r,t,n,c){{var d,u={},o=null,E=null;t!==void 0&&(F(t),o=""+t),Ze(r)&&(F(r.key),o=""+r.key),ze(r)&&(E=r.ref,Qe(r,c));for(d in r)J.call(r,d)&&!Xe.hasOwnProperty(d)&&(u[d]=r[d]);if(e&&e.defaultProps){var v=e.defaultProps;for(d in v)u[d]===void 0&&(u[d]=v[d])}if(o||E){var _=typeof e=="function"?e.displayName||e.name||"Unknown":e;o&&er(u,_),E&&rr(u,_)}return tr(e,o,E,c,n,G.current,u)}}var Ae=S.ReactCurrentOwner,Me=S.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=ee(e.type,e._source,r?r.type:null);Me.setExtraStackFrame(t)}else Me.setExtraStackFrame(null)}var Fe;Fe=!1;function De(e){return typeof e=="object"&&e!==null&&e.$$typeof===h}function Ve(){{if(Ae.current){var e=k(Ae.current.type);if(e)return`
18
+ */var ze;function yr(){return ze||(ze=1,process.env.NODE_ENV!=="production"&&function(){var u=w,p=Symbol.for("react.element"),a=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),C=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"),x=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),D=Symbol.iterator,W="@@iterator";function N(e){if(e===null||typeof e!="object")return null;var r=D&&e[D]||e[W];return typeof r=="function"?r:null}var $=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function y(e){{for(var r=arguments.length,t=new Array(r>1?r-1:0),o=1;o<r;o++)t[o-1]=arguments[o];B("error",e,t)}}function B(e,r,t){{var o=$.ReactDebugCurrentFrame,d=o.getStackAddendum();d!==""&&(r+="%s",t=t.concat([d]));var v=t.map(function(c){return String(c)});v.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,v)}}var z=!1,Z=!1,Y=!1,L=!1,se=!1,Q;Q=Symbol.for("react.module.reference");function pe(e){return!!(typeof e=="string"||typeof e=="function"||e===g||e===C||se||e===k||e===_||e===i||L||e===A||z||Z||Y||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===x||e.$$typeof===j||e.$$typeof===h||e.$$typeof===f||e.$$typeof===Q||e.getModuleId!==void 0))}function le(e,r,t){var o=e.displayName;if(o)return o;var d=r.displayName||r.name||"";return d!==""?t+"("+d+")":t}function ve(e){return e.displayName||"Context"}function P(e){if(e==null)return null;if(typeof e.tag=="number"&&y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case g:return"Fragment";case a:return"Portal";case C:return"Profiler";case k:return"StrictMode";case _:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case h:var r=e;return ve(r)+".Consumer";case j:var t=e;return ve(t._context)+".Provider";case f:return le(e,e.render,"ForwardRef");case x:var o=e.displayName||null;return o!==null?o:P(e.type)||"Memo";case R:{var d=e,v=d._payload,c=d._init;try{return P(c(v))}catch{return null}}}return null}var I=Object.assign,V=0,he,_e,ye,me,xe,be,ge;function Ce(){}Ce.__reactDisabledLog=!0;function Te(){{if(V===0){he=console.log,_e=console.info,ye=console.warn,me=console.error,xe=console.group,be=console.groupCollapsed,ge=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Ce,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}V++}}function Ne(){{if(V--,V===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:he}),info:I({},e,{value:_e}),warn:I({},e,{value:ye}),error:I({},e,{value:me}),group:I({},e,{value:xe}),groupCollapsed:I({},e,{value:be}),groupEnd:I({},e,{value:ge})})}V<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ue=$.ReactCurrentDispatcher,ce;function q(e,r,t){{if(ce===void 0)try{throw Error()}catch(d){var o=d.stack.trim().match(/\n( *(at )?)/);ce=o&&o[1]||""}return`
19
+ `+ce+e}}var U=!1,H;{var Se=typeof WeakMap=="function"?WeakMap:Map;H=new Se}function K(e,r){if(!e||U)return"";{var t=H.get(e);if(t!==void 0)return t}var o;U=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=ue.current,ue.current=null,Te();try{if(r){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(S){o=S}Reflect.construct(e,[],c)}else{try{c.call()}catch(S){o=S}e.call(c.prototype)}}else{try{throw Error()}catch(S){o=S}e()}}catch(S){if(S&&o&&typeof S.stack=="string"){for(var l=S.stack.split(`
20
+ `),T=o.stack.split(`
21
+ `),m=l.length-1,b=T.length-1;m>=1&&b>=0&&l[m]!==T[b];)b--;for(;m>=1&&b>=0;m--,b--)if(l[m]!==T[b]){if(m!==1||b!==1)do if(m--,b--,b<0||l[m]!==T[b]){var O=`
22
+ `+l[m].replace(" at new "," at ");return e.displayName&&O.includes("<anonymous>")&&(O=O.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,O),O}while(m>=1&&b>=0);break}}}finally{U=!1,ue.current=v,Ne(),Error.prepareStackTrace=d}var oe=e?e.displayName||e.name:"",X=oe?q(oe):"";return typeof e=="function"&&H.set(e,X),X}function $e(e,r,t){return K(e,!1)}function Pe(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function ee(e,r,t){if(e==null)return"";if(typeof e=="function")return K(e,Pe(e));if(typeof e=="string")return q(e);switch(e){case _:return q("Suspense");case i:return q("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case f:return $e(e.render);case x:return ee(e.type,r,t);case R:{var o=e,d=o._payload,v=o._init;try{return ee(v(d),r,t)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,je={},Re=$.ReactDebugCurrentFrame;function re(e){if(e){var r=e._owner,t=ee(e.type,e._source,r?r.type:null);Re.setExtraStackFrame(t)}else Re.setExtraStackFrame(null)}function Ee(e,r,t,o,d){{var v=Function.call.bind(J);for(var c in e)if(v(e,c)){var l=void 0;try{if(typeof e[c]!="function"){var T=Error((o||"React class")+": "+t+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}l=e[c](r,c,o,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(m){l=m}l&&!(l instanceof Error)&&(re(d),y("%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).",o||"React class",t,c,typeof l),re(null)),l instanceof Error&&!(l.message in je)&&(je[l.message]=!0,re(d),y("Failed %s type: %s",t,l.message),re(null))}}}var Oe=Array.isArray;function te(e){return Oe(e)}function Fe(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function we(e){try{return s(e),!1}catch{return!0}}function s(e){return""+e}function M(e){if(we(e))return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Fe(e)),s(e)}var G=$.ReactCurrentOwner,Ze={key:!0,ref:!0,__self:!0,__source:!0},Be,Ye,Ae;Ae={};function Qe(e){if(J.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function er(e){if(J.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function rr(e,r){if(typeof e.ref=="string"&&G.current&&r&&G.current.stateNode!==r){var t=P(G.current.type);Ae[t]||(y('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(G.current.type),e.ref),Ae[t]=!0)}}function tr(e,r){{var t=function(){Be||(Be=!0,y("%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))};t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}}function nr(e,r){{var t=function(){Ye||(Ye=!0,y("%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))};t.isReactWarning=!0,Object.defineProperty(e,"ref",{get:t,configurable:!0})}}var or=function(e,r,t,o,d,v,c){var l={$$typeof:p,type:e,key:r,ref:t,props:c,_owner:v};return l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:d}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l};function ar(e,r,t,o,d){{var v,c={},l=null,T=null;t!==void 0&&(M(t),l=""+t),er(r)&&(M(r.key),l=""+r.key),Qe(r)&&(T=r.ref,rr(r,d));for(v in r)J.call(r,v)&&!Ze.hasOwnProperty(v)&&(c[v]=r[v]);if(e&&e.defaultProps){var m=e.defaultProps;for(v in m)c[v]===void 0&&(c[v]=m[v])}if(l||T){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;l&&tr(c,b),T&&nr(c,b)}return or(e,l,T,d,o,G.current,c)}}var De=$.ReactCurrentOwner,Ve=$.ReactDebugCurrentFrame;function ne(e){if(e){var r=e._owner,t=ee(e.type,e._source,r?r.type:null);Ve.setExtraStackFrame(t)}else Ve.setExtraStackFrame(null)}var Me;Me=!1;function We(e){return typeof e=="object"&&e!==null&&e.$$typeof===p}function qe(){{if(De.current){var e=P(De.current.type);if(e)return`
23
23
 
24
- Check the render method of \``+e+"`."}return""}}function ar(e){return""}var Be={};function ir(e){{var r=Ve();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
24
+ Check the render method of \``+e+"`."}return""}}function ir(e){return""}var Ue={};function sr(e){{var r=qe();if(!r){var t=typeof e=="string"?e:e.displayName||e.name;t&&(r=`
25
25
 
26
- Check the top-level render call using <`+t+">.")}return r}}function qe(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ir(r);if(Be[t])return;Be[t]=!0;var n="";e&&e._owner&&e._owner!==Ae.current&&(n=" It was passed a child from "+k(e._owner.type)+"."),ne(e),p('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),ne(null)}}function Ue(e,r){{if(typeof e!="object")return;if(te(e))for(var t=0;t<e.length;t++){var n=e[t];De(n)&&qe(n,r)}else if(De(e))e._store&&(e._store.validated=!0);else if(e){var c=I(e);if(typeof c=="function"&&c!==e.entries)for(var d=c.call(e),u;!(u=d.next()).done;)De(u.value)&&qe(u.value,r)}}}function or(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===f||r.$$typeof===x))t=r.propTypes;else return;if(t){var n=k(r);je(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!Fe){Fe=!0;var c=k(r);p("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",c||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&p("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function sr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){ne(e),p("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),ne(null);break}}e.ref!==null&&(ne(e),p("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}}var He={};function Ke(e,r,t,n,c,d){{var u=de(e);if(!u){var o="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(o+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var E=ar();E?o+=E:o+=Ve();var v;e===null?v="null":te(e)?v="array":e!==void 0&&e.$$typeof===h?(v="<"+(k(e.type)||"Unknown")+" />",o=" Did you accidentally export a JSX literal instead of a component?"):v=typeof e,p("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",v,o)}var _=nr(e,r,t,c,d);if(_==null)return _;if(u){var P=r.children;if(P!==void 0)if(n)if(te(P)){for(var ae=0;ae<P.length;ae++)Ue(P[ae],e);Object.freeze&&Object.freeze(P)}else p("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ue(P,e)}if(J.call(r,"key")){var X=k(e),j=Object.keys(r).filter(function(pr){return pr!=="key"}),Le=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!He[X+Le]){var dr=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";p(`A props object containing a "key" prop is being spread into JSX:
26
+ Check the top-level render call using <`+t+">.")}return r}}function He(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=sr(r);if(Ue[t])return;Ue[t]=!0;var o="";e&&e._owner&&e._owner!==De.current&&(o=" It was passed a child from "+P(e._owner.type)+"."),ne(e),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,o),ne(null)}}function Ke(e,r){{if(typeof e!="object")return;if(te(e))for(var t=0;t<e.length;t++){var o=e[t];We(o)&&He(o,r)}else if(We(e))e._store&&(e._store.validated=!0);else if(e){var d=N(e);if(typeof d=="function"&&d!==e.entries)for(var v=d.call(e),c;!(c=v.next()).done;)We(c.value)&&He(c.value,r)}}}function lr(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===f||r.$$typeof===x))t=r.propTypes;else return;if(t){var o=P(r);Ee(t,e.props,"prop",o,e)}else if(r.PropTypes!==void 0&&!Me){Me=!0;var d=P(r);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",d||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ur(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var o=r[t];if(o!=="children"&&o!=="key"){ne(e),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",o),ne(null);break}}e.ref!==null&&(ne(e),y("Invalid attribute `ref` supplied to `React.Fragment`."),ne(null))}}var Je={};function Ge(e,r,t,o,d,v){{var c=pe(e);if(!c){var l="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(l+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var T=ir();T?l+=T:l+=qe();var m;e===null?m="null":te(e)?m="array":e!==void 0&&e.$$typeof===p?(m="<"+(P(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):m=typeof e,y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",m,l)}var b=ar(e,r,t,d,v);if(b==null)return b;if(c){var O=r.children;if(O!==void 0)if(o)if(te(O)){for(var oe=0;oe<O.length;oe++)Ke(O[oe],e);Object.freeze&&Object.freeze(O)}else y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ke(O,e)}if(J.call(r,"key")){var X=P(e),S=Object.keys(r).filter(function(hr){return hr!=="key"}),Ie=S.length>0?"{key: someKey, "+S.join(": ..., ")+": ...}":"{key: someKey}";if(!Je[X+Ie]){var vr=S.length>0?"{"+S.join(": ..., ")+": ...}":"{}";y(`A props object containing a "key" prop is being spread into JSX:
27
27
  let props = %s;
28
28
  <%s {...props} />
29
29
  React keys must be passed directly to JSX without using spread:
30
30
  let props = %s;
31
- <%s key={someKey} {...props} />`,Le,X,dr,X),He[X+Le]=!0}}return e===R?sr(_):or(_),_}}function lr(e,r,t){return Ke(e,r,t,!0)}function ur(e,r,t){return Ke(e,r,t,!1)}var cr=ur,fr=lr;fe.Fragment=R,fe.jsx=cr,fe.jsxs=fr}()),fe}process.env.NODE_ENV==="production"?Ne.exports=vr():Ne.exports=hr();var a=Ne.exports;const _r="mc__mainButton",yr="mc__sm",br="mc__onlyIcon",mr="mc__buttonSlot",xr="mc__buttonLabel",Cr="mc__md",Er="mc__lg",Rr="mc__xl",jr="mc__xl2",gr="mc__disabled",ie={mainButton:_r,sm:yr,onlyIcon:br,buttonSlot:mr,buttonLabel:xr,md:Cr,lg:Er,xl:Rr,xl2:jr,disabled:gr},wr=({label:m,buttonType:h="button",onClick:s,size:R="md",disabled:$,withIcons:w,iconOne:T,iconTwo:y,onlyIcon:f,buttonStyle:b,labelStyle:l,buttonSlotStyle:x})=>a.jsx("button",{type:h,style:b&&typeof b=="object"?b:{},className:`${ie.mainButton} ${f?ie.onlyIcon:""} ${R?ie[R]:""} ${$?ie.disabled:""}`,onClick:()=>{s&&typeof s=="function"&&s()},children:a.jsxs("div",{className:ie.buttonSlot,style:x??{},children:[f||w&&T?T:"",!f&&a.jsx("span",{style:l??{},className:ie.buttonLabel,children:m??"Button"}),w&&y?y:""]})}),Tr="mc__inputWrapper",Sr="mc__inputLabel",kr="mc__required",Pr="mc__inputContainer",Or="mc__focused",$r="mc__error",Ar="mc__rightIcon",Fr="mc__leftIcon",Dr="mc__inputDropDown",Lr="mc__http",Nr="mc__disabled",Wr="mc__sm",Yr="mc__md",Ir="mc__withCopy",Mr="mc__inputHelperText",C={inputWrapper:Tr,inputLabel:Sr,required:kr,inputContainer:Pr,focused:Or,error:$r,rightIcon:Ar,leftIcon:Fr,inputDropDown:Dr,http:Lr,disabled:Nr,sm:Wr,md:Yr,withCopy:Ir,inputHelperText:Mr},Vr=({width:m,height:h,color:s})=>a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:m??"12",height:h??"8",viewBox:"0 0 12 8",fill:"none",children:a.jsx("path",{d:"M1 1.5L6 6.5L11 1.5",stroke:s??"#A4A7AE",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),Br=({width:m,height:h,color:s})=>a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:m??"20",height:h??"20",viewBox:"0 0 20 20",fill:"none",children:[a.jsx("g",{clipPath:"url(#clip0_444_26)",children:a.jsx("path",{d:"M4.1665 12.5C3.38993 12.5 3.00165 12.5 2.69536 12.3732C2.28698 12.204 1.96253 11.8795 1.79337 11.4712C1.6665 11.1649 1.6665 10.7766 1.6665 10V4.33335C1.6665 3.39993 1.6665 2.93322 1.84816 2.5767C2.00795 2.2631 2.26292 2.00813 2.57652 1.84834C2.93304 1.66669 3.39975 1.66669 4.33317 1.66669H9.99984C10.7764 1.66669 11.1647 1.66669 11.471 1.79355C11.8794 1.96271 12.2038 2.28717 12.373 2.69555C12.4998 3.00183 12.4998 3.39012 12.4998 4.16669M10.1665 18.3334H15.6665C16.5999 18.3334 17.0666 18.3334 17.4232 18.1517C17.7368 17.9919 17.9917 17.7369 18.1515 17.4233C18.3332 17.0668 18.3332 16.6001 18.3332 15.6667V10.1667C18.3332 9.23327 18.3332 8.76656 18.1515 8.41004C17.9917 8.09643 17.7368 7.84147 17.4232 7.68168C17.0666 7.50002 16.5999 7.50002 15.6665 7.50002H10.1665C9.23308 7.50002 8.76637 7.50002 8.40985 7.68168C8.09625 7.84147 7.84128 8.09643 7.68149 8.41004C7.49984 8.76656 7.49984 9.23327 7.49984 10.1667V15.6667C7.49984 16.6001 7.49984 17.0668 7.68149 17.4233C7.84128 17.7369 8.09625 17.9919 8.40985 18.1517C8.76637 18.3334 9.23308 18.3334 10.1665 18.3334Z",stroke:s??"#414651",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),a.jsx("defs",{children:a.jsx("clipPath",{id:"clip0_444_26",children:a.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),qr=({value:m,label:h,placeholder:s,required:R,disabled:$,type:w,size:T,onChange:y,onFouce:f,onBlur:b,msg:l,readOnly:x,maxLength:A,onlyText:L,onRightIconIconClick:N,onRightIconIconMouseEnter:Y,onRightIconIconMouseLeave:I,onLeftIconIconClick:S,onLeftIconIconMouseEnter:p,onLeftIconIconMouseLeave:M,rightIcon:z,leftIcon:Z,withDropDown:V,dropdownData:W,onSelectData:oe,withLink:Q,withCopy:de,onCopy:se,inputWrapperStyle:pe,inputLabelStyle:k,requiredStyle:D,inputContainerStyle:B,leftIconStyle:ve,inputDropDownStyle:he,ulStyle:_e,liStyle:ye,httpStyle:be,inputStyle:me,rightIconStyle:xe,withCopyStyle:Ce,inputHelperTextStyle:we})=>{const[We,le]=g.useState(!1),[ue,q]=g.useState(!1);g.useState(!1);const U=g.useRef(null),H=g.useRef(null),[Te,K]=g.useState(!1),[Se,ke]=g.useState(1),ee=i=>{let F=i.target.value;F.length===1&&(F=F.trim()),y&&typeof y=="function"&&y(L?F.replace(/\d/g,""):F)},J=()=>{q(!0),f&&typeof f=="function"&&f()},Ee=()=>{q(!1),b&&typeof b=="function"&&b()},Re=i=>{const G=i.target.value.length===0;w==="number"&&(i.keyCode===69||!G&&(i.keyCode===187||i.keyCode===107||i.keyCode===189||i.keyCode===109))&&i.preventDefault()},re=()=>{se&&typeof se=="function"&&se(m)},je=i=>i,Pe=()=>{let i={};return de&&(i.borderTopRightRadius=0,i.borderBottomRightRadius=0,i.borderRight=0),V&&(i.paddingLeft=0),{...i,...B??{}}},te=i=>{!i.composedPath().includes(H.current)&&i.composedPath().includes(U.current)||K(!1)},Oe=i=>{ke(i.id),K(!1),oe&&typeof oe=="function"&&oe(i)};g.useEffect(()=>(document.addEventListener("click",te),()=>{document.removeEventListener("click",te)}),[]);const ge=g.useRef(!1);return g.useEffect(()=>{ge.current?setTimeout(()=>{le(i=>!i)},0):ge.current=!0},[]),a.jsxs("div",{className:C.inputWrapper,style:pe??{},children:[h&&a.jsxs("label",{className:C.inputLabel,style:k??{},children:[h," ",a.jsx("span",{className:C.required,style:D??{},children:R&&"*"})]}),a.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[a.jsxs("div",{style:Pe(),className:`${C.inputContainer} ${ue&&!x?C.focused:""} ${$?C.disabled:""} ${l!=null&&l.error?C.error:""} ${C[T??"sm"]}`,children:[!V&&!Q&&Z&&a.jsx("div",{className:C.leftIcon,style:ve??{},onClick:()=>{S&&typeof S=="function"&&S()},onMouseEnter:()=>{p&&typeof p=="function"&&p()},onMouseLeave:()=>{M&&typeof M=="function"&&M()},children:je(Z)}),!Q&&V&&a.jsxs("div",{className:C.inputDropDown,style:he??{},onClick:()=>K(!0),ref:U,children:[W.find(i=>i.id===Se).label,Te&&a.jsx("ul",{ref:H,style:_e??{},children:W&&W.length&&W.map((i,F)=>a.jsx("li",{style:ye??{},onClick:()=>Oe(i),children:(i==null?void 0:i.label)??"-"},i.id))}),a.jsx(Vr,{})]}),Q&&a.jsx("div",{className:`${C.inputDropDown} ${C.http}`,style:be??{},onClick:()=>K(!0),ref:U,children:"http://"}),a.jsx("input",{style:me??{},type:w??"text",value:m,onChange:i=>ee(i),onFocus:J,onBlur:Ee,disabled:$,required:R,onKeyDown:Re,readOnly:x,spellCheck:!1,placeholder:s??"",autoComplete:"off",maxLength:A}),z&&a.jsx("div",{className:C.rightIcon,style:xe??{},onClick:()=>{N&&typeof N=="function"&&N()},onMouseEnter:()=>{Y&&typeof Y=="function"&&Y()},onMouseLeave:()=>{I&&typeof I=="function"&&I()},children:je(z)})]}),de&&a.jsxs("div",{style:Ce??{},onClick:re,className:C.withCopy,children:[a.jsx(Br,{}),"Copy"]})]}),l&&(l==null?void 0:l.visigle)&&a.jsx("div",{style:we??{},className:`${C.inputHelperText} ${l!=null&&l.error?C.error:""}`,children:a.jsx("p",{style:(l==null?void 0:l.style)??{},children:l.text})})]})},Ur="mc__textareaContainer",Hr="mc__textAreaLabel",Kr="mc__required",Jr="mc__wrap",Gr="mc__textarea",Xr="mc__focused",zr="mc__disabled",Zr="mc__error",Qr="mc__helperTextStyle",O={textareaContainer:Ur,textAreaLabel:Hr,required:Kr,wrap:Jr,textarea:Gr,focused:Xr,disabled:zr,error:Zr,helperTextStyle:Qr},et=({width:m,height:h,color:s})=>a.jsxs("svg",{width:m??"16",height:h??"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("g",{id:"help-circle",clipPath:"url(#clip0_433_6293)",children:a.jsx("path",{id:"Icon",d:"M6.05992 5.99998C6.21665 5.55442 6.52602 5.17872 6.93322 4.9394C7.34042 4.70009 7.81918 4.61261 8.2847 4.69245C8.75022 4.7723 9.17246 5.01433 9.47664 5.37567C9.78081 5.737 9.94729 6.19433 9.94659 6.66665C9.94659 7.99998 7.94659 8.66665 7.94659 8.66665M7.99992 11.3333H8.00659M14.6666 7.99998C14.6666 11.6819 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6819 1.33325 7.99998C1.33325 4.31808 4.31802 1.33331 7.99992 1.33331C11.6818 1.33331 14.6666 4.31808 14.6666 7.99998Z",stroke:s??"#A4A7AE",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),a.jsx("defs",{children:a.jsx("clipPath",{id:"clip0_433_6293",children:a.jsx("rect",{width:m??"16",height:h??"16",fill:"white"})})})]}),rt=({placeholder:m,label:h,msg:s,cols:R,rows:$,value:w,maxLength:T,onChange:y,onFocus:f,onBlur:b,disabled:l,required:x,textareaContainerStyle:A,textareaLabelStyle:L,requiredStyle:N,textareaStyle:Y,textareaHelperTextStyle:I})=>{const[S,p]=g.useState(!1),M=V=>{let W=V.target.value;y&&typeof y=="function"&&y(W)},z=()=>{p(!0),f&&typeof f=="function"&&f()},Z=()=>{p(!1),b&&typeof b=="function"&&b()};return a.jsxs("div",{style:A??{},className:`${O.textareaContainer} ${s!=null&&s.type&&(s!=null&&s.visible)?O[s==null?void 0:s.type]:""} ${l?O.disabled:null}`,children:[h&&a.jsxs("div",{style:L,className:O.textAreaLabel,children:[a.jsx("p",{children:h}),a.jsx("span",{style:N??{},className:O.required,children:x&&"*"}),a.jsx(et,{})]}),a.jsx("div",{className:O.wrap,children:a.jsx("textarea",{style:Y??{},className:`${O.textarea} ${S?O.focused:""} ${l?O.disabled:""} ${s!=null&&s.error?O.error:""}`,value:w,placeholder:m??"",cols:R??"30",rows:$??"5",maxLength:T??null,onFocus:z,disabled:l,onBlur:Z,onChange:M})}),a.jsx("div",{style:I??{},className:`${O.helperTextStyle} ${s!=null&&s.error?O.error:""}`,children:a.jsx("p",{style:(s==null?void 0:s.style)??{},children:s.text})})]})};exports.FormInput=qr;exports.MainButton=wr;exports.Textarea=rt;
31
+ <%s key={someKey} {...props} />`,Ie,X,vr,X),Je[X+Ie]=!0}}return e===g?ur(b):lr(b),b}}function cr(e,r,t){return Ge(e,r,t,!0)}function fr(e,r,t){return Ge(e,r,t,!1)}var dr=fr,pr=cr;de.Fragment=g,de.jsx=dr,de.jsxs=pr}()),de}process.env.NODE_ENV==="production"?Le.exports=_r():Le.exports=yr();var n=Le.exports;const mr="MainButton-module__mainButton",xr="MainButton-module__sm",br="MainButton-module__onlyIcon",gr="MainButton-module__buttonSlot",Cr="MainButton-module__buttonLabel",jr="MainButton-module__md",Rr="MainButton-module__lg",Er="MainButton-module__xl",wr="MainButton-module__xl2",kr="MainButton-module__disabled",ae={mainButton:mr,sm:xr,onlyIcon:br,buttonSlot:gr,buttonLabel:Cr,md:jr,lg:Rr,xl:Er,xl2:wr,disabled:kr},Tr=({label:u,buttonType:p="button",onClick:a,size:g="md",disabled:k,withIcons:C,iconOne:j,iconTwo:h,onlyIcon:f,buttonStyle:_,labelStyle:i,buttonSlotStyle:x})=>n.jsx("button",{type:p,style:_&&typeof _=="object"?_:{},className:`${ae.mainButton} ${f?ae.onlyIcon:""} ${g?ae[g]:""} ${k?ae.disabled:""}`,onClick:()=>{a&&typeof a=="function"&&a()},children:n.jsxs("div",{className:ae.buttonSlot,style:x??{},children:[f||C&&j?j:"",!f&&n.jsx("span",{style:i??{},className:ae.buttonLabel,children:u??"Button"}),C&&h?h:""]})}),Sr="FormInput-module__inputWrapper",$r="FormInput-module__inputLabel",Pr="FormInput-module__required",Or="FormInput-module__inputContainer",Fr="FormInput-module__focused",Ar="FormInput-module__error",Dr="FormInput-module__rightIcon",Mr="FormInput-module__leftIcon",Wr="FormInput-module__inputDropDown",Ir="FormInput-module__http",Lr="FormInput-module__disabled",Nr="FormInput-module__sm",Br="FormInput-module__md",Yr="FormInput-module__withCopy",Vr="FormInput-module__inputHelperText",E={inputWrapper:Sr,inputLabel:$r,required:Pr,inputContainer:Or,focused:Fr,error:Ar,rightIcon:Dr,leftIcon:Mr,inputDropDown:Wr,http:Ir,disabled:Lr,sm:Nr,md:Br,withCopy:Yr,inputHelperText:Vr},qr=({width:u,height:p,color:a})=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:u??"12",height:p??"8",viewBox:"0 0 12 8",fill:"none",children:n.jsx("path",{d:"M1 1.5L6 6.5L11 1.5",stroke:a??"#A4A7AE",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),Ur=({width:u,height:p,color:a})=>n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:u??"20",height:p??"20",viewBox:"0 0 20 20",fill:"none",children:[n.jsx("g",{clipPath:"url(#clip0_444_26)",children:n.jsx("path",{d:"M4.1665 12.5C3.38993 12.5 3.00165 12.5 2.69536 12.3732C2.28698 12.204 1.96253 11.8795 1.79337 11.4712C1.6665 11.1649 1.6665 10.7766 1.6665 10V4.33335C1.6665 3.39993 1.6665 2.93322 1.84816 2.5767C2.00795 2.2631 2.26292 2.00813 2.57652 1.84834C2.93304 1.66669 3.39975 1.66669 4.33317 1.66669H9.99984C10.7764 1.66669 11.1647 1.66669 11.471 1.79355C11.8794 1.96271 12.2038 2.28717 12.373 2.69555C12.4998 3.00183 12.4998 3.39012 12.4998 4.16669M10.1665 18.3334H15.6665C16.5999 18.3334 17.0666 18.3334 17.4232 18.1517C17.7368 17.9919 17.9917 17.7369 18.1515 17.4233C18.3332 17.0668 18.3332 16.6001 18.3332 15.6667V10.1667C18.3332 9.23327 18.3332 8.76656 18.1515 8.41004C17.9917 8.09643 17.7368 7.84147 17.4232 7.68168C17.0666 7.50002 16.5999 7.50002 15.6665 7.50002H10.1665C9.23308 7.50002 8.76637 7.50002 8.40985 7.68168C8.09625 7.84147 7.84128 8.09643 7.68149 8.41004C7.49984 8.76656 7.49984 9.23327 7.49984 10.1667V15.6667C7.49984 16.6001 7.49984 17.0668 7.68149 17.4233C7.84128 17.7369 8.09625 17.9919 8.40985 18.1517C8.76637 18.3334 9.23308 18.3334 10.1665 18.3334Z",stroke:a??"#414651",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_444_26",children:n.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),Hr=({value:u,label:p,placeholder:a,required:g,disabled:k,type:C,size:j,onChange:h,onFouce:f,onBlur:_,msg:i,readOnly:x,maxLength:R,onlyText:A,onRightIconIconClick:D,onRightIconIconMouseEnter:W,onRightIconIconMouseLeave:N,onLeftIconIconClick:$,onLeftIconIconMouseEnter:y,onLeftIconIconMouseLeave:B,rightIcon:z,leftIcon:Z,withDropDown:Y,dropdownData:L,onSelectData:se,withLink:Q,withCopy:pe,onCopy:le,inputWrapperStyle:ve,inputLabelStyle:P,requiredStyle:I,inputContainerStyle:V,leftIconStyle:he,inputDropDownStyle:_e,ulStyle:ye,liStyle:me,httpStyle:xe,inputStyle:be,rightIconStyle:ge,withCopyStyle:Ce,inputHelperTextStyle:Te})=>{const[Ne,ue]=w.useState(!1),[ce,q]=w.useState(!1);w.useState(!1);const U=w.useRef(null),H=w.useRef(null),[Se,K]=w.useState(!1),[$e,Pe]=w.useState(1),ee=s=>{let M=s.target.value;M.length===1&&(M=M.trim()),h&&typeof h=="function"&&h(A?M.replace(/\d/g,""):M)},J=()=>{q(!0),f&&typeof f=="function"&&f()},je=()=>{q(!1),_&&typeof _=="function"&&_()},Re=s=>{const G=s.target.value.length===0;C==="number"&&(s.keyCode===69||!G&&(s.keyCode===187||s.keyCode===107||s.keyCode===189||s.keyCode===109))&&s.preventDefault()},re=()=>{le&&typeof le=="function"&&le(u)},Ee=s=>s,Oe=()=>{let s={};return pe&&(s.borderTopRightRadius=0,s.borderBottomRightRadius=0,s.borderRight=0),Y&&(s.paddingLeft=0),{...s,...V??{}}},te=s=>{!s.composedPath().includes(H.current)&&s.composedPath().includes(U.current)||K(!1)},Fe=s=>{Pe(s.id),K(!1),se&&typeof se=="function"&&se(s)};w.useEffect(()=>(document.addEventListener("click",te),()=>{document.removeEventListener("click",te)}),[]);const we=w.useRef(!1);return w.useEffect(()=>{we.current?setTimeout(()=>{ue(s=>!s)},0):we.current=!0},[]),n.jsxs("div",{className:E.inputWrapper,style:ve??{},children:[p&&n.jsxs("label",{className:E.inputLabel,style:P??{},children:[p," ",n.jsx("span",{className:E.required,style:I??{},children:g&&"*"})]}),n.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[n.jsxs("div",{style:Oe(),className:`${E.inputContainer} ${ce&&!x?E.focused:""} ${k?E.disabled:""} ${i!=null&&i.error?E.error:""} ${E[j??"sm"]}`,children:[!Y&&!Q&&Z&&n.jsx("div",{className:E.leftIcon,style:he??{},onClick:()=>{$&&typeof $=="function"&&$()},onMouseEnter:()=>{y&&typeof y=="function"&&y()},onMouseLeave:()=>{B&&typeof B=="function"&&B()},children:Ee(Z)}),!Q&&Y&&n.jsxs("div",{className:E.inputDropDown,style:_e??{},onClick:()=>K(!0),ref:U,children:[L.find(s=>s.id===$e).label,Se&&n.jsx("ul",{ref:H,style:ye??{},children:L&&L.length&&L.map((s,M)=>n.jsx("li",{style:me??{},onClick:()=>Fe(s),children:(s==null?void 0:s.label)??"-"},s.id))}),n.jsx(qr,{})]}),Q&&n.jsx("div",{className:`${E.inputDropDown} ${E.http}`,style:xe??{},onClick:()=>K(!0),ref:U,children:"http://"}),n.jsx("input",{style:be??{},type:C??"text",value:u,onChange:s=>ee(s),onFocus:J,onBlur:je,disabled:k,required:g,onKeyDown:Re,readOnly:x,spellCheck:!1,placeholder:a??"",autoComplete:"off",maxLength:R}),z&&n.jsx("div",{className:E.rightIcon,style:ge??{},onClick:()=>{D&&typeof D=="function"&&D()},onMouseEnter:()=>{W&&typeof W=="function"&&W()},onMouseLeave:()=>{N&&typeof N=="function"&&N()},children:Ee(z)})]}),pe&&n.jsxs("div",{style:Ce??{},onClick:re,className:E.withCopy,children:[n.jsx(Ur,{}),"Copy"]})]}),i&&(i==null?void 0:i.visigle)&&n.jsx("div",{style:Te??{},className:`${E.inputHelperText} ${i!=null&&i.error?E.error:""}`,children:n.jsx("p",{style:(i==null?void 0:i.style)??{},children:i.text})})]})},Kr="Textarea-module__textareaContainer",Jr="Textarea-module__textAreaLabel",Gr="Textarea-module__required",Xr="Textarea-module__wrap",zr="Textarea-module__textarea",Zr="Textarea-module__focused",Qr="Textarea-module__disabled",et="Textarea-module__error",rt="Textarea-module__helperTextStyle",F={textareaContainer:Kr,textAreaLabel:Jr,required:Gr,wrap:Xr,textarea:zr,focused:Zr,disabled:Qr,error:et,helperTextStyle:rt},tt=({width:u,height:p,color:a})=>n.jsxs("svg",{width:u??"16",height:p??"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n.jsx("g",{id:"help-circle",clipPath:"url(#clip0_433_6293)",children:n.jsx("path",{id:"Icon",d:"M6.05992 5.99998C6.21665 5.55442 6.52602 5.17872 6.93322 4.9394C7.34042 4.70009 7.81918 4.61261 8.2847 4.69245C8.75022 4.7723 9.17246 5.01433 9.47664 5.37567C9.78081 5.737 9.94729 6.19433 9.94659 6.66665C9.94659 7.99998 7.94659 8.66665 7.94659 8.66665M7.99992 11.3333H8.00659M14.6666 7.99998C14.6666 11.6819 11.6818 14.6666 7.99992 14.6666C4.31802 14.6666 1.33325 11.6819 1.33325 7.99998C1.33325 4.31808 4.31802 1.33331 7.99992 1.33331C11.6818 1.33331 14.6666 4.31808 14.6666 7.99998Z",stroke:a??"#A4A7AE",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_433_6293",children:n.jsx("rect",{width:u??"16",height:p??"16",fill:"white"})})})]}),nt=({placeholder:u,label:p,msg:a,cols:g,rows:k,value:C,maxLength:j,onChange:h,onFocus:f,onBlur:_,disabled:i,required:x,textareaContainerStyle:R,textareaLabelStyle:A,requiredStyle:D,textareaStyle:W,textareaHelperTextStyle:N})=>{const[$,y]=w.useState(!1),B=Y=>{let L=Y.target.value;h&&typeof h=="function"&&h(L)},z=()=>{y(!0),f&&typeof f=="function"&&f()},Z=()=>{y(!1),_&&typeof _=="function"&&_()};return n.jsxs("div",{style:R??{},className:`${F.textareaContainer} ${a!=null&&a.type&&(a!=null&&a.visible)?F[a==null?void 0:a.type]:""} ${i?F.disabled:null}`,children:[p&&n.jsxs("div",{style:A,className:F.textAreaLabel,children:[n.jsx("p",{children:p}),n.jsx("span",{style:D??{},className:F.required,children:x&&"*"}),n.jsx(tt,{})]}),n.jsx("div",{className:F.wrap,children:n.jsx("textarea",{style:W??{},className:`${F.textarea} ${$?F.focused:""} ${i?F.disabled:""} ${a!=null&&a.error?F.error:""}`,value:C,placeholder:u??"",cols:g??"30",rows:k??"5",maxLength:j??null,onFocus:z,disabled:i,onBlur:Z,onChange:B})}),n.jsx("div",{style:N??{},className:`${F.helperTextStyle} ${a!=null&&a.error?F.error:""}`,children:n.jsx("p",{style:(a==null?void 0:a.style)??{},children:a.text})})]})},ot="Toggle-module__toggleWrapper",at="Toggle-module__toggleState",it="Toggle-module__checked",st="Toggle-module__disabled",ke={toggleWrapper:ot,toggleState:at,checked:it,disabled:st},lt=({checked:u,change:p,disabled:a,required:g,activeStyle:k,bgStyle:C,checkedBgStyle:j,disabledBgStyle:h,circleStyle:f,checkedCircleStyle:_,disabledCircleStyle:i})=>{const[x,R]=w.useState(!1),A=()=>{p&&typeof p=="function"&&p(!u)},D=()=>{if(x)return k??{};if(u){if(j)return j}else if(u){if(a&&h)return h}else if(C)return C;return{}},W=()=>{if(u){if(_)return _}else if(u){if(a&&i)return i}else if(f)return f;return{}};return n.jsx("div",{style:D(),onMouseDown:()=>R(!0),onMouseUp:()=>R(!1),onMouseLeave:()=>R(!1),onClick:A,className:`${ke.toggleWrapper} ${u?ke.checked:""} ${a?ke.disabled:""}`,children:n.jsx("div",{style:W(),className:ke.toggleState,children:n.jsx("input",{type:"checkbox",checked:u,readOnly:!0,disabled:a??!1,hidden:!0,required:g??!1})})})},ut="Checkbox-module__checkboxWrapper",ct="Checkbox-module__sm",ft="Checkbox-module__md",dt="Checkbox-module__checkMark",pt="Checkbox-module__checked",vt="Checkbox-module__disabled",ie={checkboxWrapper:ut,sm:ct,md:ft,checkMark:dt,checked:pt,disabled:vt},ht=u=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...u,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:n.jsx("path",{d:"M10 3L4.5 8.5L2 6",stroke:"white",strokeWidth:"1.6666",strokeLinecap:"round",strokeLinejoin:"round"})}),_t=u=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...u,width:"10",height:"2",viewBox:"0 0 10 2",fill:"none",children:n.jsx("path",{d:"M1.5 1H8.5",stroke:"white",strokeWidth:"1.66666",strokeLinecap:"round",strokeLinejoin:"round"})}),yt=({checked:u,change:p,disabled:a,required:g,multipleChecked:k,size:C,activeStyle:j,checkBoxStyle:h})=>{const f=w.useRef(null),[_,i]=w.useState(!1),x=()=>{p&&typeof p=="function"&&p(!u)},R=()=>_?j??{}:h??{};return n.jsxs("div",{style:R(),className:`${ie.checkboxWrapper} ${ie[C]??ie.md} ${u?ie.checked:ie.unChecked} ${a?ie.disabled:""}`,onMouseDown:()=>i(!0),onMouseUp:()=>i(!1),onMouseLeave:()=>i(!1),onClick:x,children:[n.jsx("input",{ref:f,type:"checkbox",disabled:a,checked:u,hidden:!0,readOnly:!0,required:g??!1}),u?k?n.jsx(_t,{}):n.jsx(ht,{}):""]})};exports.Checkbox=yt;exports.FormInput=Hr;exports.MainButton=Tr;exports.Textarea=nt;exports.Toggle=lt;