master-components-react 1.6.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(`.MainButton-module__mainButton{border-radius:.5rem;min-width:7.75rem;border:.125rem solid rgba(255,255,255,.12);background:#7f56d9;display:flex;justify-content:center;align-items:center;padding:.5rem 1.25rem;cursor:pointer}.MainButton-module__mainButton:hover{background:#6941c6}.MainButton-module__mainButton:active{box-shadow:0 0 0 .0625rem #0a0d122e inset,0 -.125rem #0a0d120d inset,0 .0625rem .125rem #0a0d120d,0 0 0 .125rem #fff,0 0 0 .25rem #9e77ed}.MainButton-module__mainButton.MainButton-module__sm{height:2.25rem}.MainButton-module__mainButton.MainButton-module__sm.MainButton-module__onlyIcon{height:2.25rem;width:2.25rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__sm .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__md{height:2.5rem}.MainButton-module__mainButton.MainButton-module__md.MainButton-module__onlyIcon{height:2.5rem;width:2.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__md .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:.875rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__lg{height:2.75rem}.MainButton-module__mainButton.MainButton-module__lg.MainButton-module__onlyIcon{height:2.75rem;width:2.75rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__lg .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.25rem}.MainButton-module__mainButton.MainButton-module__xl{height:3rem}.MainButton-module__mainButton.MainButton-module__xl.MainButton-module__onlyIcon{height:3rem;width:3rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1rem;line-height:1.5rem}.MainButton-module__mainButton.MainButton-module__xl2{height:3.75rem}.MainButton-module__mainButton.MainButton-module__xl2.MainButton-module__onlyIcon{height:3.5rem;width:3.5rem;min-width:unset}.MainButton-module__mainButton.MainButton-module__xl2 .MainButton-module__buttonSlot .MainButton-module__buttonLabel{font-size:1.125rem;line-height:1.75rem}.MainButton-module__mainButton.MainButton-module__disabled{border-radius:.5rem;border:.0625rem solid #e9eaeb;background:#f5f5f5;box-shadow:0 .0625rem .125rem #0a0d120d;cursor:no-drop}.MainButton-module__mainButton.MainButton-module__disabled .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#a4a7ae}.MainButton-module__mainButton .MainButton-module__buttonSlot{display:flex;align-items:center;gap:.5rem}.MainButton-module__mainButton .MainButton-module__buttonSlot .MainButton-module__buttonLabel{color:#fff;font-family:Inter,sans-serif;font-style:normal;font-weight:400}.FormInput-module__inputWrapper{width:100%}.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}.Radio-module__radioWrapper{border-radius:50%;overflow:hidden;position:relative;border-radius:624.9375rem;border:1px 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:8px;height:8px;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:6px;height:6px;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
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("react");var
|
|
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
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("react");var Be={exports:{}},pe={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var
|
|
10
|
+
*/var Ze;function xr(){if(Ze)return pe;Ze=1;var s=k,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,x={key:!0,ref:!0,__self:!0,__source:!0};function j(h,d,_){var i,b={},T=null,P=null;_!==void 0&&(T=""+_),d.key!==void 0&&(T=""+d.key),d.ref!==void 0&&(P=d.ref);for(i in d)m.call(d,i)&&!x.hasOwnProperty(i)&&(b[i]=d[i]);if(h&&h.defaultProps)for(i in d=h.defaultProps,d)b[i]===void 0&&(b[i]=d[i]);return{$$typeof:u,type:h,key:T,ref:P,props:b,_owner:g.current}}return pe.Fragment=o,pe.jsx=j,pe.jsxs=j,pe}var ve={};/**
|
|
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
|
|
19
|
-
`+
|
|
20
|
-
`)
|
|
21
|
-
`),
|
|
22
|
-
`+
|
|
18
|
+
*/var Qe;function br(){return Qe||(Qe=1,process.env.NODE_ENV!=="production"&&function(){var s=k,u=Symbol.for("react.element"),o=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),j=Symbol.for("react.provider"),h=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),i=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),C=Symbol.iterator,W="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var r=C&&e[C]||e[W];return typeof r=="function"?r:null}var S=s.__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),a=1;a<r;a++)t[a-1]=arguments[a];B("error",e,t)}}function B(e,r,t){{var a=S.ReactDebugCurrentFrame,p=a.getStackAddendum();p!==""&&(r+="%s",t=t.concat([p]));var v=t.map(function(f){return String(f)});v.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,v)}}var Z=!1,Q=!1,Y=!1,I=!1,ue=!1,ee;ee=Symbol.for("react.module.reference");function he(e){return!!(typeof e=="string"||typeof e=="function"||e===m||e===x||ue||e===g||e===_||e===i||I||e===P||Z||Q||Y||typeof e=="object"&&e!==null&&(e.$$typeof===T||e.$$typeof===b||e.$$typeof===j||e.$$typeof===h||e.$$typeof===d||e.$$typeof===ee||e.getModuleId!==void 0))}function ce(e,r,t){var a=e.displayName;if(a)return a;var p=r.displayName||r.name||"";return p!==""?t+"("+p+")":t}function _e(e){return e.displayName||"Context"}function F(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 m:return"Fragment";case o:return"Portal";case x:return"Profiler";case g:return"StrictMode";case _:return"Suspense";case i:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case h:var r=e;return _e(r)+".Consumer";case j:var t=e;return _e(t._context)+".Provider";case d:return ce(e,e.render,"ForwardRef");case b:var a=e.displayName||null;return a!==null?a:F(e.type)||"Memo";case T:{var p=e,v=p._payload,f=p._init;try{return F(f(v))}catch{return null}}}return null}var N=Object.assign,V=0,me,ye,xe,be,ge,je,Ce;function Re(){}Re.__reactDisabledLog=!0;function Se(){{if(V===0){me=console.log,ye=console.info,xe=console.warn,be=console.error,ge=console.group,je=console.groupCollapsed,Ce=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Re,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}V++}}function Ye(){{if(V--,V===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},e,{value:me}),info:N({},e,{value:ye}),warn:N({},e,{value:xe}),error:N({},e,{value:be}),group:N({},e,{value:ge}),groupCollapsed:N({},e,{value:je}),groupEnd:N({},e,{value:Ce})})}V<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var fe=S.ReactCurrentDispatcher,de;function q(e,r,t){{if(de===void 0)try{throw Error()}catch(p){var a=p.stack.trim().match(/\n( *(at )?)/);de=a&&a[1]||""}return`
|
|
19
|
+
`+de+e}}var U=!1,H;{var Oe=typeof WeakMap=="function"?WeakMap:Map;H=new Oe}function K(e,r){if(!e||U)return"";{var t=H.get(e);if(t!==void 0)return t}var a;U=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=fe.current,fe.current=null,Se();try{if(r){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(O){a=O}Reflect.construct(e,[],f)}else{try{f.call()}catch(O){a=O}e.call(f.prototype)}}else{try{throw Error()}catch(O){a=O}e()}}catch(O){if(O&&a&&typeof O.stack=="string"){for(var c=O.stack.split(`
|
|
20
|
+
`),$=a.stack.split(`
|
|
21
|
+
`),R=c.length-1,E=$.length-1;R>=1&&E>=0&&c[R]!==$[E];)E--;for(;R>=1&&E>=0;R--,E--)if(c[R]!==$[E]){if(R!==1||E!==1)do if(R--,E--,E<0||c[R]!==$[E]){var A=`
|
|
22
|
+
`+c[R].replace(" at new "," at ");return e.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",e.displayName)),typeof e=="function"&&H.set(e,A),A}while(R>=1&&E>=0);break}}}finally{U=!1,fe.current=v,Ye(),Error.prepareStackTrace=p}var ae=e?e.displayName||e.name:"",X=ae?q(ae):"";return typeof e=="function"&&H.set(e,X),X}function Pe(e,r,t){return K(e,!1)}function Fe(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function re(e,r,t){if(e==null)return"";if(typeof e=="function")return K(e,Fe(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 d:return Pe(e.render);case b:return re(e.type,r,t);case T:{var a=e,p=a._payload,v=a._init;try{return re(v(p),r,t)}catch{}}}return""}var J=Object.prototype.hasOwnProperty,Ee={},Te=S.ReactDebugCurrentFrame;function te(e){if(e){var r=e._owner,t=re(e.type,e._source,r?r.type:null);Te.setExtraStackFrame(t)}else Te.setExtraStackFrame(null)}function ke(e,r,t,a,p){{var v=Function.call.bind(J);for(var f in e)if(v(e,f)){var c=void 0;try{if(typeof e[f]!="function"){var $=Error((a||"React class")+": "+t+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw $.name="Invariant Violation",$}c=e[f](r,f,a,t,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(R){c=R}c&&!(c instanceof Error)&&(te(p),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).",a||"React class",t,f,typeof c),te(null)),c instanceof Error&&!(c.message in Ee)&&(Ee[c.message]=!0,te(p),y("Failed %s type: %s",t,c.message),te(null))}}}var Ae=Array.isArray;function ne(e){return Ae(e)}function Le(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,t=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t}}function we(e){try{return l(e),!1}catch{return!0}}function l(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.",Le(e)),l(e)}var G=S.ReactCurrentOwner,rr={key:!0,ref:!0,__self:!0,__source:!0},Ve,qe,We;We={};function tr(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 nr(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 or(e,r){if(typeof e.ref=="string"&&G.current&&r&&G.current.stateNode!==r){var t=F(G.current.type);We[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',F(G.current.type),e.ref),We[t]=!0)}}function ar(e,r){{var t=function(){Ve||(Ve=!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 ir(e,r){{var t=function(){qe||(qe=!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 sr=function(e,r,t,a,p,v,f){var c={$$typeof:u,type:e,key:r,ref:t,props:f,_owner:v};return c._store={},Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(c,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(c,"_source",{configurable:!1,enumerable:!1,writable:!1,value:p}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c};function lr(e,r,t,a,p){{var v,f={},c=null,$=null;t!==void 0&&(M(t),c=""+t),nr(r)&&(M(r.key),c=""+r.key),tr(r)&&($=r.ref,or(r,p));for(v in r)J.call(r,v)&&!rr.hasOwnProperty(v)&&(f[v]=r[v]);if(e&&e.defaultProps){var R=e.defaultProps;for(v in R)f[v]===void 0&&(f[v]=R[v])}if(c||$){var E=typeof e=="function"?e.displayName||e.name||"Unknown":e;c&&ar(f,E),$&&ir(f,E)}return sr(e,c,$,p,a,G.current,f)}}var Me=S.ReactCurrentOwner,Ue=S.ReactDebugCurrentFrame;function oe(e){if(e){var r=e._owner,t=re(e.type,e._source,r?r.type:null);Ue.setExtraStackFrame(t)}else Ue.setExtraStackFrame(null)}var De;De=!1;function Ne(e){return typeof e=="object"&&e!==null&&e.$$typeof===u}function He(){{if(Me.current){var e=F(Me.current.type);if(e)return`
|
|
23
23
|
|
|
24
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
24
|
+
Check the render method of \``+e+"`."}return""}}function ur(e){return""}var Ke={};function cr(e){{var r=He();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
|
|
26
|
+
Check the top-level render call using <`+t+">.")}return r}}function Je(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=cr(r);if(Ke[t])return;Ke[t]=!0;var a="";e&&e._owner&&e._owner!==Me.current&&(a=" It was passed a child from "+F(e._owner.type)+"."),oe(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,a),oe(null)}}function Ge(e,r){{if(typeof e!="object")return;if(ne(e))for(var t=0;t<e.length;t++){var a=e[t];Ne(a)&&Je(a,r)}else if(Ne(e))e._store&&(e._store.validated=!0);else if(e){var p=D(e);if(typeof p=="function"&&p!==e.entries)for(var v=p.call(e),f;!(f=v.next()).done;)Ne(f.value)&&Je(f.value,r)}}}function fr(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===d||r.$$typeof===b))t=r.propTypes;else return;if(t){var a=F(r);ke(t,e.props,"prop",a,e)}else if(r.PropTypes!==void 0&&!De){De=!0;var p=F(r);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",p||"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 dr(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var a=r[t];if(a!=="children"&&a!=="key"){oe(e),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),oe(null);break}}e.ref!==null&&(oe(e),y("Invalid attribute `ref` supplied to `React.Fragment`."),oe(null))}}var Xe={};function ze(e,r,t,a,p,v){{var f=he(e);if(!f){var c="";(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.");var $=ur();$?c+=$:c+=He();var R;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,y("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)}var E=lr(e,r,t,p,v);if(E==null)return E;if(f){var A=r.children;if(A!==void 0)if(a)if(ne(A)){for(var ae=0;ae<A.length;ae++)Ge(A[ae],e);Object.freeze&&Object.freeze(A)}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 Ge(A,e)}if(J.call(r,"key")){var X=F(e),O=Object.keys(r).filter(function(yr){return yr!=="key"}),Ie=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!Xe[X+Ie]){var mr=O.length>0?"{"+O.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,hr,X),Ge[X+Le]=!0}}return e===x?cr(C):ur(C),C}}function fr(e,r,t){return Xe(e,r,t,!0)}function dr(e,r,t){return Xe(e,r,t,!1)}var pr=dr,vr=fr;pe.Fragment=x,pe.jsx=pr,pe.jsxs=vr}()),pe}process.env.NODE_ENV==="production"?Ne.exports=yr():Ne.exports=mr();var n=Ne.exports;const xr="MainButton-module__mainButton",br="MainButton-module__sm",Cr="MainButton-module__onlyIcon",gr="MainButton-module__buttonSlot",jr="MainButton-module__buttonLabel",Rr="MainButton-module__md",Er="MainButton-module__lg",kr="MainButton-module__xl",wr="MainButton-module__xl2",Tr="MainButton-module__disabled",ie={mainButton:xr,sm:br,onlyIcon:Cr,buttonSlot:gr,buttonLabel:jr,md:Rr,lg:Er,xl:kr,xl2:wr,disabled:Tr},Sr=({label:l,buttonType:f="button",onClick:o,size:x="md",disabled:R,withIcons:g,iconOne:j,iconTwo:h,onlyIcon:d,buttonStyle:_,labelStyle:i,buttonSlotStyle:b})=>n.jsx("button",{type:f,style:_&&typeof _=="object"?_:{},className:`${ie.mainButton} ${d?ie.onlyIcon:""} ${x?ie[x]:""} ${R?ie.disabled:""}`,onClick:()=>{o&&typeof o=="function"&&o()},children:n.jsxs("div",{className:ie.buttonSlot,style:b??{},children:[d||g&&j?j:"",!d&&n.jsx("span",{style:i??{},className:ie.buttonLabel,children:l??"Button"}),g&&h?h:""]})}),$r="FormInput-module__inputWrapper",Or="FormInput-module__inputLabel",Pr="FormInput-module__required",Fr="FormInput-module__inputContainer",Ar="FormInput-module__focused",Dr="FormInput-module__error",Wr="FormInput-module__rightIcon",Mr="FormInput-module__leftIcon",Ir="FormInput-module__inputDropDown",Lr="FormInput-module__http",Nr="FormInput-module__disabled",Br="FormInput-module__sm",Yr="FormInput-module__md",Vr="FormInput-module__withCopy",qr="FormInput-module__inputHelperText",w={inputWrapper:$r,inputLabel:Or,required:Pr,inputContainer:Fr,focused:Ar,error:Dr,rightIcon:Wr,leftIcon:Mr,inputDropDown:Ir,http:Lr,disabled:Nr,sm:Br,md:Yr,withCopy:Vr,inputHelperText:qr},Ur=({width:l,height:f,color:o})=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l??"12",height:f??"8",viewBox:"0 0 12 8",fill:"none",children:n.jsx("path",{d:"M1 1.5L6 6.5L11 1.5",stroke:o??"#A4A7AE",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),Hr=({width:l,height:f,color:o})=>n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:l??"20",height:f??"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:o??"#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"})})})]}),Kr=({value:l,label:f,placeholder:o,required:x,disabled:R,type:g,size:j,onChange:h,onFouce:d,onBlur:_,msg:i,readOnly:b,maxLength:E,onlyText:A,onRightIconIconClick:D,onRightIconIconMouseEnter:M,onRightIconIconMouseLeave:N,onLeftIconIconClick:$,onLeftIconIconMouseEnter:y,onLeftIconIconMouseLeave:B,rightIcon:Z,leftIcon:Q,withDropDown:Y,dropdownData:L,onSelectData:le,withLink:ee,withCopy:ve,onCopy:ue,inputWrapperStyle:he,inputLabelStyle:O,requiredStyle:I,inputContainerStyle:V,leftIconStyle:_e,inputDropDownStyle:ye,ulStyle:me,liStyle:xe,httpStyle:be,inputStyle:Ce,rightIconStyle:ge,withCopyStyle:je,inputHelperTextStyle:Se})=>{const[Be,ce]=k.useState(!1),[fe,q]=k.useState(!1);k.useState(!1);const U=k.useRef(null),H=k.useRef(null),[$e,K]=k.useState(!1),[Oe,Pe]=k.useState(1),re=s=>{let W=s.target.value;W.length===1&&(W=W.trim()),h&&typeof h=="function"&&h(A?W.replace(/\d/g,""):W)},J=()=>{q(!0),d&&typeof d=="function"&&d()},Re=()=>{q(!1),_&&typeof _=="function"&&_()},Ee=s=>{const G=s.target.value.length===0;g==="number"&&(s.keyCode===69||!G&&(s.keyCode===187||s.keyCode===107||s.keyCode===189||s.keyCode===109))&&s.preventDefault()},te=()=>{ue&&typeof ue=="function"&&ue(l)},ke=s=>s,Fe=()=>{let s={};return ve&&(s.borderTopRightRadius=0,s.borderBottomRightRadius=0,s.borderRight=0),Y&&(s.paddingLeft=0),{...s,...V??{}}},ne=s=>{!s.composedPath().includes(H.current)&&s.composedPath().includes(U.current)||K(!1)},Ae=s=>{Pe(s.id),K(!1),le&&typeof le=="function"&&le(s)};k.useEffect(()=>(document.addEventListener("click",ne),()=>{document.removeEventListener("click",ne)}),[]);const we=k.useRef(!1);return k.useEffect(()=>{we.current?setTimeout(()=>{ce(s=>!s)},0):we.current=!0},[]),n.jsxs("div",{className:w.inputWrapper,style:he??{},children:[f&&n.jsxs("label",{className:w.inputLabel,style:O??{},children:[f," ",n.jsx("span",{className:w.required,style:I??{},children:x&&"*"})]}),n.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[n.jsxs("div",{style:Fe(),className:`${w.inputContainer} ${fe&&!b?w.focused:""} ${R?w.disabled:""} ${i!=null&&i.error?w.error:""} ${w[j??"sm"]}`,children:[!Y&&!ee&&Q&&n.jsx("div",{className:w.leftIcon,style:_e??{},onClick:()=>{$&&typeof $=="function"&&$()},onMouseEnter:()=>{y&&typeof y=="function"&&y()},onMouseLeave:()=>{B&&typeof B=="function"&&B()},children:ke(Q)}),!ee&&Y&&n.jsxs("div",{className:w.inputDropDown,style:ye??{},onClick:()=>K(!0),ref:U,children:[L.find(s=>s.id===Oe).label,$e&&n.jsx("ul",{ref:H,style:me??{},children:L&&L.length&&L.map((s,W)=>n.jsx("li",{style:xe??{},onClick:()=>Ae(s),children:(s==null?void 0:s.label)??"-"},s.id))}),n.jsx(Ur,{})]}),ee&&n.jsx("div",{className:`${w.inputDropDown} ${w.http}`,style:be??{},onClick:()=>K(!0),ref:U,children:"http://"}),n.jsx("input",{style:Ce??{},type:g??"text",value:l,onChange:s=>re(s),onFocus:J,onBlur:Re,disabled:R,required:x,onKeyDown:Ee,readOnly:b,spellCheck:!1,placeholder:o??"",autoComplete:"off",maxLength:E}),Z&&n.jsx("div",{className:w.rightIcon,style:ge??{},onClick:()=>{D&&typeof D=="function"&&D()},onMouseEnter:()=>{M&&typeof M=="function"&&M()},onMouseLeave:()=>{N&&typeof N=="function"&&N()},children:ke(Z)})]}),ve&&n.jsxs("div",{style:je??{},onClick:te,className:w.withCopy,children:[n.jsx(Hr,{}),"Copy"]})]}),i&&(i==null?void 0:i.visigle)&&n.jsx("div",{style:Se??{},className:`${w.inputHelperText} ${i!=null&&i.error?w.error:""}`,children:n.jsx("p",{style:(i==null?void 0:i.style)??{},children:i.text})})]})},Jr="Textarea-module__textareaContainer",Gr="Textarea-module__textAreaLabel",Xr="Textarea-module__required",zr="Textarea-module__wrap",Zr="Textarea-module__textarea",Qr="Textarea-module__focused",et="Textarea-module__disabled",rt="Textarea-module__error",tt="Textarea-module__helperTextStyle",F={textareaContainer:Jr,textAreaLabel:Gr,required:Xr,wrap:zr,textarea:Zr,focused:Qr,disabled:et,error:rt,helperTextStyle:tt},nt=({width:l,height:f,color:o})=>n.jsxs("svg",{width:l??"16",height:f??"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:o??"#A4A7AE",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_433_6293",children:n.jsx("rect",{width:l??"16",height:f??"16",fill:"white"})})})]}),ot=({placeholder:l,label:f,msg:o,cols:x,rows:R,value:g,maxLength:j,onChange:h,onFocus:d,onBlur:_,disabled:i,required:b,textareaContainerStyle:E,textareaLabelStyle:A,requiredStyle:D,textareaStyle:M,textareaHelperTextStyle:N})=>{const[$,y]=k.useState(!1),B=Y=>{let L=Y.target.value;h&&typeof h=="function"&&h(L)},Z=()=>{y(!0),d&&typeof d=="function"&&d()},Q=()=>{y(!1),_&&typeof _=="function"&&_()};return n.jsxs("div",{style:E??{},className:`${F.textareaContainer} ${o!=null&&o.type&&(o!=null&&o.visible)?F[o==null?void 0:o.type]:""} ${i?F.disabled:null}`,children:[f&&n.jsxs("div",{style:A,className:F.textAreaLabel,children:[n.jsx("p",{children:f}),n.jsx("span",{style:D??{},className:F.required,children:b&&"*"}),n.jsx(nt,{})]}),n.jsx("div",{className:F.wrap,children:n.jsx("textarea",{style:M??{},className:`${F.textarea} ${$?F.focused:""} ${i?F.disabled:""} ${o!=null&&o.error?F.error:""}`,value:g,placeholder:l??"",cols:x??"30",rows:R??"5",maxLength:j??null,onFocus:Z,disabled:i,onBlur:Q,onChange:B})}),n.jsx("div",{style:N??{},className:`${F.helperTextStyle} ${o!=null&&o.error?F.error:""}`,children:n.jsx("p",{style:(o==null?void 0:o.style)??{},children:o.text})})]})},at="Toggle-module__toggleWrapper",it="Toggle-module__toggleState",st="Toggle-module__checked",lt="Toggle-module__disabled",Te={toggleWrapper:at,toggleState:it,checked:st,disabled:lt},ut=({checked:l,change:f,disabled:o,required:x,activeStyle:R,bgStyle:g,checkedBgStyle:j,disabledBgStyle:h,circleStyle:d,checkedCircleStyle:_,disabledCircleStyle:i})=>{const[b,E]=k.useState(!1),A=()=>{f&&typeof f=="function"&&f(!l)},D=()=>{if(b)return R??{};if(l){if(j)return j}else if(l){if(o&&h)return h}else if(g)return g;return{}},M=()=>{if(l){if(_)return _}else if(l){if(o&&i)return i}else if(d)return d;return{}};return n.jsx("div",{style:D(),onMouseDown:()=>E(!0),onMouseUp:()=>E(!1),onMouseLeave:()=>E(!1),onClick:A,className:`${Te.toggleWrapper} ${l?Te.checked:""} ${o?Te.disabled:""}`,children:n.jsx("div",{style:M(),className:Te.toggleState,children:n.jsx("input",{type:"checkbox",checked:l,readOnly:!0,disabled:o??!1,hidden:!0,required:x??!1})})})},ct="Checkbox-module__checkboxWrapper",ft="Checkbox-module__sm",dt="Checkbox-module__md",pt="Checkbox-module__checkMark",vt="Checkbox-module__checked",ht="Checkbox-module__disabled",se={checkboxWrapper:ct,sm:ft,md:dt,checkMark:pt,checked:vt,disabled:ht},_t=l=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...l,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"})}),yt=l=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...l,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"})}),mt=({checked:l,change:f,disabled:o,required:x,multipleChecked:R,size:g,activeStyle:j,checkBoxStyle:h})=>{const d=k.useRef(null),[_,i]=k.useState(!1),b=()=>{f&&typeof f=="function"&&f(!l)},E=()=>_?j??{}:h??{};return n.jsxs("div",{style:E(),className:`${se.checkboxWrapper} ${se[g]??se.md} ${l?se.checked:se.unChecked} ${o?se.disabled:""}`,onMouseDown:()=>i(!0),onMouseUp:()=>i(!1),onMouseLeave:()=>i(!1),onClick:b,children:[n.jsx("input",{ref:d,type:"checkbox",disabled:o,checked:l,hidden:!0,readOnly:!0,required:x??!1}),l?R?n.jsx(yt,{}):n.jsx(_t,{}):""]})},xt="Radio-module__radioWrapper",bt="Radio-module__sm",Ct="Radio-module__md",gt="Radio-module__checked",jt="Radio-module__innerCircle",Rt="Radio-module__radioState",Et="Radio-module__disabled",z={radioWrapper:xt,sm:bt,md:Ct,checked:gt,innerCircle:jt,radioState:Rt,disabled:Et},kt=({checked:l,change:f,disabled:o,isRequired:x,withUncheckState:R,size:g})=>{k.useState(!1);const j=()=>{f&&typeof f=="function"&&(R||!R&&!l)&&f(!0)};return n.jsxs("div",{className:`${z.radioWrapper} ${z[g]??z.md} ${l?z.checked:""} ${o?z.disabled:""}`,onClick:j,children:[n.jsx("input",{type:"radio",checked:!0,readOnly:!0,hidden:!0,disabled:o??!1,required:x??!1}),n.jsx("div",{className:z.radioState,children:n.jsx("div",{className:z.innerCircle})})]})};exports.Checkbox=mt;exports.FormInput=Kr;exports.MainButton=Sr;exports.Radio=kt;exports.Textarea=ot;exports.Toggle=ut;
|
|
31
|
+
<%s key={someKey} {...props} />`,Ie,X,mr,X),Xe[X+Ie]=!0}}return e===m?dr(E):fr(E),E}}function pr(e,r,t){return ze(e,r,t,!0)}function vr(e,r,t){return ze(e,r,t,!1)}var hr=vr,_r=pr;ve.Fragment=m,ve.jsx=hr,ve.jsxs=_r}()),ve}process.env.NODE_ENV==="production"?Be.exports=xr():Be.exports=br();var n=Be.exports;const gr="MainButton-module__mainButton",jr="MainButton-module__sm",Cr="MainButton-module__onlyIcon",Rr="MainButton-module__buttonSlot",Er="MainButton-module__buttonLabel",Tr="MainButton-module__md",kr="MainButton-module__lg",wr="MainButton-module__xl",$r="MainButton-module__xl2",Sr="MainButton-module__disabled",ie={mainButton:gr,sm:jr,onlyIcon:Cr,buttonSlot:Rr,buttonLabel:Er,md:Tr,lg:kr,xl:wr,xl2:$r,disabled:Sr},Or=({label:s,buttonType:u="button",onClick:o,size:m="md",disabled:g,withIcons:x,iconOne:j,iconTwo:h,onlyIcon:d,buttonStyle:_,labelStyle:i,buttonSlotStyle:b})=>n.jsx("button",{type:u,style:_&&typeof _=="object"?_:{},className:`${ie.mainButton} ${d?ie.onlyIcon:""} ${m?ie[m]:""} ${g?ie.disabled:""}`,onClick:()=>{o&&typeof o=="function"&&o()},children:n.jsxs("div",{className:ie.buttonSlot,style:b??{},children:[d||x&&j?j:"",!d&&n.jsx("span",{style:i??{},className:ie.buttonLabel,children:s??"Button"}),x&&h?h:""]})}),Pr="FormInput-module__inputWrapper",Fr="FormInput-module__inputLabel",Ar="FormInput-module__required",Lr="FormInput-module__inputContainer",Wr="FormInput-module__focused",Mr="FormInput-module__error",Dr="FormInput-module__rightIcon",Nr="FormInput-module__leftIcon",Ir="FormInput-module__inputDropDown",Br="FormInput-module__http",Yr="FormInput-module__disabled",Vr="FormInput-module__sm",qr="FormInput-module__md",Ur="FormInput-module__withCopy",Hr="FormInput-module__inputHelperText",w={inputWrapper:Pr,inputLabel:Fr,required:Ar,inputContainer:Lr,focused:Wr,error:Mr,rightIcon:Dr,leftIcon:Nr,inputDropDown:Ir,http:Br,disabled:Yr,sm:Vr,md:qr,withCopy:Ur,inputHelperText:Hr},Kr=({width:s,height:u,color:o})=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s??"12",height:u??"8",viewBox:"0 0 12 8",fill:"none",children:n.jsx("path",{d:"M1 1.5L6 6.5L11 1.5",stroke:o??"#A4A7AE",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})}),Jr=({width:s,height:u,color:o})=>n.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:s??"20",height:u??"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:o??"#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"})})})]}),Gr=({value:s,label:u,placeholder:o,required:m,disabled:g,type:x,size:j,onChange:h,onFouce:d,onBlur:_,msg:i,readOnly:b,maxLength:T,onlyText:P,onRightIconIconClick:C,onRightIconIconMouseEnter:W,onRightIconIconMouseLeave:D,onLeftIconIconClick:S,onLeftIconIconMouseEnter:y,onLeftIconIconMouseLeave:B,rightIcon:Z,leftIcon:Q,withDropDown:Y,dropdownData:I,onSelectData:ue,withLink:ee,withCopy:he,onCopy:ce,inputWrapperStyle:_e,inputLabelStyle:F,requiredStyle:N,inputContainerStyle:V,leftIconStyle:me,inputDropDownStyle:ye,ulStyle:xe,liStyle:be,httpStyle:ge,inputStyle:je,rightIconStyle:Ce,withCopyStyle:Re,inputHelperTextStyle:Se})=>{const[Ye,fe]=k.useState(!1),[de,q]=k.useState(!1);k.useState(!1);const U=k.useRef(null),H=k.useRef(null),[Oe,K]=k.useState(!1),[Pe,Fe]=k.useState(1),re=l=>{let M=l.target.value;M.length===1&&(M=M.trim()),h&&typeof h=="function"&&h(P?M.replace(/\d/g,""):M)},J=()=>{q(!0),d&&typeof d=="function"&&d()},Ee=()=>{q(!1),_&&typeof _=="function"&&_()},Te=l=>{const G=l.target.value.length===0;x==="number"&&(l.keyCode===69||!G&&(l.keyCode===187||l.keyCode===107||l.keyCode===189||l.keyCode===109))&&l.preventDefault()},te=()=>{ce&&typeof ce=="function"&&ce(s)},ke=l=>l,Ae=()=>{let l={};return he&&(l.borderTopRightRadius=0,l.borderBottomRightRadius=0,l.borderRight=0),Y&&(l.paddingLeft=0),{...l,...V??{}}},ne=l=>{!l.composedPath().includes(H.current)&&l.composedPath().includes(U.current)||K(!1)},Le=l=>{Fe(l.id),K(!1),ue&&typeof ue=="function"&&ue(l)};k.useEffect(()=>(document.addEventListener("click",ne),()=>{document.removeEventListener("click",ne)}),[]);const we=k.useRef(!1);return k.useEffect(()=>{we.current?setTimeout(()=>{fe(l=>!l)},0):we.current=!0},[]),n.jsxs("div",{className:w.inputWrapper,style:_e??{},children:[u&&n.jsxs("label",{className:w.inputLabel,style:F??{},children:[u," ",n.jsx("span",{className:w.required,style:N??{},children:m&&"*"})]}),n.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[n.jsxs("div",{style:Ae(),className:`${w.inputContainer} ${de&&!b?w.focused:""} ${g?w.disabled:""} ${i!=null&&i.error?w.error:""} ${w[j??"sm"]}`,children:[!Y&&!ee&&Q&&n.jsx("div",{className:w.leftIcon,style:me??{},onClick:()=>{S&&typeof S=="function"&&S()},onMouseEnter:()=>{y&&typeof y=="function"&&y()},onMouseLeave:()=>{B&&typeof B=="function"&&B()},children:ke(Q)}),!ee&&Y&&n.jsxs("div",{className:w.inputDropDown,style:ye??{},onClick:()=>K(!0),ref:U,children:[I.find(l=>l.id===Pe).label,Oe&&n.jsx("ul",{ref:H,style:xe??{},children:I&&I.length&&I.map((l,M)=>n.jsx("li",{style:be??{},onClick:()=>Le(l),children:(l==null?void 0:l.label)??"-"},l.id))}),n.jsx(Kr,{})]}),ee&&n.jsx("div",{className:`${w.inputDropDown} ${w.http}`,style:ge??{},onClick:()=>K(!0),ref:U,children:"http://"}),n.jsx("input",{style:je??{},type:x??"text",value:s,onChange:l=>re(l),onFocus:J,onBlur:Ee,disabled:g,required:m,onKeyDown:Te,readOnly:b,spellCheck:!1,placeholder:o??"",autoComplete:"off",maxLength:T}),Z&&n.jsx("div",{className:w.rightIcon,style:Ce??{},onClick:()=>{C&&typeof C=="function"&&C()},onMouseEnter:()=>{W&&typeof W=="function"&&W()},onMouseLeave:()=>{D&&typeof D=="function"&&D()},children:ke(Z)})]}),he&&n.jsxs("div",{style:Re??{},onClick:te,className:w.withCopy,children:[n.jsx(Jr,{}),"Copy"]})]}),i&&(i==null?void 0:i.visigle)&&n.jsx("div",{style:Se??{},className:`${w.inputHelperText} ${i!=null&&i.error?w.error:""}`,children:n.jsx("p",{style:(i==null?void 0:i.style)??{},children:i.text})})]})},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={textareaContainer:Xr,textAreaLabel:zr,required:Zr,wrap:Qr,textarea:et,focused:rt,disabled:tt,error:nt,helperTextStyle:ot},at=({width:s,height:u,color:o})=>n.jsxs("svg",{width:s??"16",height:u??"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:o??"#A4A7AE",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})}),n.jsx("defs",{children:n.jsx("clipPath",{id:"clip0_433_6293",children:n.jsx("rect",{width:s??"16",height:u??"16",fill:"white"})})})]}),it=({placeholder:s,label:u,msg:o,cols:m,rows:g,value:x,maxLength:j,onChange:h,onFocus:d,onBlur:_,disabled:i,required:b,textareaContainerStyle:T,textareaLabelStyle:P,requiredStyle:C,textareaStyle:W,textareaHelperTextStyle:D})=>{const[S,y]=k.useState(!1),B=Y=>{let I=Y.target.value;h&&typeof h=="function"&&h(I)},Z=()=>{y(!0),d&&typeof d=="function"&&d()},Q=()=>{y(!1),_&&typeof _=="function"&&_()};return n.jsxs("div",{style:T??{},className:`${L.textareaContainer} ${o!=null&&o.type&&(o!=null&&o.visible)?L[o==null?void 0:o.type]:""} ${i?L.disabled:null}`,children:[u&&n.jsxs("div",{style:P,className:L.textAreaLabel,children:[n.jsx("p",{children:u}),n.jsx("span",{style:C??{},className:L.required,children:b&&"*"}),n.jsx(at,{})]}),n.jsx("div",{className:L.wrap,children:n.jsx("textarea",{style:W??{},className:`${L.textarea} ${S?L.focused:""} ${i?L.disabled:""} ${o!=null&&o.error?L.error:""}`,value:x,placeholder:s??"",cols:m??"30",rows:g??"5",maxLength:j??null,onFocus:Z,disabled:i,onBlur:Q,onChange:B})}),n.jsx("div",{style:D??{},className:`${L.helperTextStyle} ${o!=null&&o.error?L.error:""}`,children:n.jsx("p",{style:(o==null?void 0:o.style)??{},children:o.text})})]})},st="Toggle-module__toggleWrapper",lt="Toggle-module__toggleState",ut="Toggle-module__checked",ct="Toggle-module__disabled",$e={toggleWrapper:st,toggleState:lt,checked:ut,disabled:ct},ft=({checked:s,change:u,disabled:o,required:m,activeStyle:g,bgStyle:x,checkedBgStyle:j,disabledBgStyle:h,circleStyle:d,checkedCircleStyle:_,disabledCircleStyle:i})=>{const[b,T]=k.useState(!1),P=()=>{u&&typeof u=="function"&&u(!s)},C=()=>{if(b)return g??{};if(s){if(j)return j}else if(s){if(o&&h)return h}else if(x)return x;return{}},W=()=>{if(s){if(_)return _}else if(s){if(o&&i)return i}else if(d)return d;return{}};return n.jsx("div",{style:C(),onMouseDown:()=>T(!0),onMouseUp:()=>T(!1),onMouseLeave:()=>T(!1),onClick:P,className:`${$e.toggleWrapper} ${s?$e.checked:""} ${o?$e.disabled:""}`,children:n.jsx("div",{style:W(),className:$e.toggleState,children:n.jsx("input",{type:"checkbox",checked:s,readOnly:!0,disabled:o??!1,hidden:!0,required:m??!1})})})},dt="Checkbox-module__checkboxWrapper",pt="Checkbox-module__sm",vt="Checkbox-module__md",ht="Checkbox-module__checkMark",_t="Checkbox-module__checked",mt="Checkbox-module__disabled",se={checkboxWrapper:dt,sm:pt,md:vt,checkMark:ht,checked:_t,disabled:mt},yt=s=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...s,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"})}),xt=s=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",...s,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"})}),er=({checked:s,change:u,disabled:o,required:m,multipleChecked:g,size:x,activeStyle:j,checkBoxStyle:h})=>{const d=k.useRef(null),[_,i]=k.useState(!1),b=()=>{u&&typeof u=="function"&&u(!s)},T=()=>_?j??{}:h??{};return n.jsxs("div",{style:T(),className:`${se.checkboxWrapper} ${se[x]??se.md} ${s?se.checked:se.unChecked} ${o?se.disabled:""}`,onMouseDown:()=>i(!0),onMouseUp:()=>i(!1),onMouseLeave:()=>i(!1),onClick:b,children:[n.jsx("input",{ref:d,type:"checkbox",disabled:o,checked:s,hidden:!0,readOnly:!0,required:m??!1}),s?g?n.jsx(xt,{}):n.jsx(yt,{}):""]})},bt="Radio-module__radioWrapper",gt="Radio-module__sm",jt="Radio-module__md",Ct="Radio-module__checked",Rt="Radio-module__innerCircle",Et="Radio-module__radioState",Tt="Radio-module__disabled",z={radioWrapper:bt,sm:gt,md:jt,checked:Ct,innerCircle:Rt,radioState:Et,disabled:Tt},kt=({checked:s,change:u,disabled:o,isRequired:m,withUncheckState:g,size:x})=>{k.useState(!1);const j=()=>{u&&typeof u=="function"&&(g||!g&&!s)&&u(!0)};return n.jsxs("div",{className:`${z.radioWrapper} ${z[x]??z.md} ${s?z.checked:""} ${o?z.disabled:""}`,onClick:j,children:[n.jsx("input",{type:"radio",checked:!0,readOnly:!0,hidden:!0,disabled:o??!1,required:m??!1}),n.jsx("div",{className:z.radioState,children:n.jsx("div",{className:z.innerCircle})})]})},wt=({width:s,height:u,color:o})=>n.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:s??"14",height:u??"14",viewBox:"0 0 14 14",fill:"none",children: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"})}),$t="Tag-module__tagContainer",St="Tag-module__onlyLabel",Ot="Tag-module__sm",Pt="Tag-module__md",Ft="Tag-module__lg",At="Tag-module__tagLabel",Lt="Tag-module__tagNumber",Wt="Tag-module__tagClose",le={tagContainer:$t,onlyLabel:St,sm:Ot,md:Pt,lg:Ft,tagLabel:At,tagNumber:Lt,tagClose:Wt},Mt=({id:s,label:u,icon:o,withDelete:m,withCheckbox:g,withNumber:x,number:j,checkboxProps:h,disable:d,size:_,onClose:i,tagContainerStyle:b,tagLabelStyle:T,tagNumberStyle:P,tagCloseStlye:C})=>{const W=()=>!g&&!o&&!m&&!x,D=()=>o,S=()=>{i&&typeof i=="function"&&i(s??null)};return n.jsxs("div",{style:b??{},className:`${le.tagContainer} ${W()?le.onlyLabel:""} ${le[_??"md"]}`,children:[g&&n.jsx(er,{...h}),o&&D(),u&&n.jsx("p",{style:T??{},className:le.tagLabel,children:u??""}),x&&n.jsx("div",{style:P??{},className:le.tagNumber,children:j??""}),m&&n.jsx("div",{style:C??{},className:le.tagClose,onClick:S,children: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"})})]})};exports.Checkbox=er;exports.FormInput=Gr;exports.MainButton=Or;exports.Radio=kt;exports.Tag=Mt;exports.Textarea=it;exports.Toggle=ft;
|