elcrm 0.3.5 → 0.3.7

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.
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- (function(k,j){typeof exports=="object"&&typeof module<"u"?j(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],j):(k=typeof globalThis<"u"?globalThis:k||self,j((k.elCRM=k.elCRM||{},k.elCRM.components={}),k.React))})(this,function(k,j){"use strict";var we=document.createElement("style");we.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:5px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade)}._white_1iomo_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_1iomo_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_1iomo_1;animation-name:_shake_1iomo_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_1iomo_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_1iomo_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_1iomo_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_1iomo_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_1iomo_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_1iomo_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_1iomo_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_1iomo_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_1iomo_120 li:last-child{border-bottom:0}._l_1iomo_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_1iomo_158{padding-right:10px}._m_1iomo_73{flex:1}._x_1iomo_166{cursor:pointer;color:#1f253d;opacity:.5;display:flex}._x_1iomo_166 svg{width:20px}._s_1iomo_176{flex:1;overflow-y:scroll}._c_1iomo_181{text-align:center;margin:20px}._f_1iomo_186{padding:0 20px;display:flex;flex-direction:column}._f_1iomo_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_1iomo_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_1iomo_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_1iomo_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_1iomo_166:hover{opacity:1}._btn_1iomo_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_1iomo_242{display:flex;gap:10px}._c_1iomo_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_1iomo_181:first-child{margin-left:20px}._c_1iomo_181:last-child{margin-right:20px}._c_1iomo_181:hover{opacity:1;background:var(--tinge)}._c_1iomo_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_1iomo_181 b{text-align:center;display:block;color:var(--color)}._c_1iomo_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_1iomo_229:hover{opacity:1}._modal_1iomo_73._size-a_1iomo_294 ._w_1iomo_14{width:auto}._modal_1iomo_73._size-s_1iomo_298 ._w_1iomo_14{width:400px}._modal_1iomo_73._size-m_1iomo_302 ._w_1iomo_14{width:500px}._modal_1iomo_73._size-l_1iomo_306 ._w_1iomo_14{width:800px}._modal_1iomo_73._size-x_1iomo_310 ._w_1iomo_14{width:1000px}._modal_1iomo_73._size-f_1iomo_314 ._w_1iomo_14{width:100%;max-width:1200px;min-width:910px}._btn_1iomo_229._confirm_1iomo_320{background:#4caf50;color:#fff}._btn_1iomo_229._cancel_1iomo_325{background:#f44336;color:#fff}._btn_1iomo_229._disabled_1iomo_330,._btn_1iomo_229._await_1iomo_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_1iomo_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_1iomo_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_1iomo_73 big i:hover{box-shadow:var(--inset)}._m_1iomo_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_1iomo_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_1iomo_73 span._active_1iomo_387{box-shadow:var(--inset);color:var(--color)}._coincidence_1iomo_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_1iomo_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_1iomo_393 dl{display:flex;padding:0;margin:5px}._coincidence_1iomo_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_158b4_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex;height:35px}._t_158b4_11{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:absolute;left:0;right:0;height:35px}._s_158b4_31{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_158b4_40{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_158b4_47{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_158b4_56{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_158b4_63{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}._sort_1yrvt_1{text-align:center;position:absolute;top:0;right:0}._sort_1yrvt_1 i{flex:0 1 35px;text-align:center;font-size:16px;line-height:35px;cursor:pointer;width:30px;display:inline-block}
2
- `,document.head.appendChild(we);var fe={exports:{}},K={};/**
1
+ (function(k,j){typeof exports=="object"&&typeof module<"u"?j(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],j):(k=typeof globalThis<"u"?globalThis:k||self,j((k.elCRM=k.elCRM||{},k.elCRM.components={}),k.React))})(this,function(k,j){"use strict";var Se=document.createElement("style");Se.textContent=`@charset "UTF-8";._notice_820sc_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_820sc_2 ._error_820sc_9{color:#bb2014}._notice_820sc_2 ._success_820sc_12{color:#367738}._notice_820sc_2 ._remark_820sc_15{color:#b77513}._notice_820sc_2 ._copy_820sc_18{color:#3f51b5}._notice_820sc_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:5px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017;background:var(--system-bg);overflow:hidden;cursor:pointer;margin:10px 0;transition:all 3s ease 0s;opacity:0}._notice_820sc_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_820sc_2 b{width:222px;font-size:17px;font-weight:700;position:absolute;left:70px;display:block;margin-top:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 p{color:var(--system-color);font-size:14px;width:222px;position:absolute;left:70px;display:block;margin-top:37px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._notice_820sc_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_820sc_1 1s 1;animation-fill-mode:forwards}._notice_820sc_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_820sc_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_820sc_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_820sc_1{0%{opacity:1}to{opacity:0}}._alerts_1e9y0_1{position:fixed;top:0;bottom:0;left:0;right:0;color:var(--system-color);background:#0000009e;z-index:30;display:flex;flex:1;align-content:center;justify-content:center}._alerts_1e9y0_1 dl{margin:auto;overflow:hidden;width:270px;height:auto;border-radius:12px;border:0;height:fit-content;z-index:1;background:var(--system-bg);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);-webkit-animation:_menuAnimation_1e9y0_1 .4s 0s both;animation:_menuAnimation_1e9y0_1 .4s 0s both;list-style:none;padding-top:20px;font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;box-shadow:0 0 0 1px var(--system-border),0 2px 2px #00000008,0 4px 4px #0000000a,0 10px 8px #0000000d,0 15px 15px #0000000f,0 30px 30px #00000012,0 70px 65px #00000017}._alerts_1e9y0_1 dt{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;text-align:center;text-transform:capitalize;font-weight:600;line-height:22px;margin:0 0 5px;padding:0 20px}._alerts_1e9y0_1 dd{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:13px;margin:0;text-align:center;line-height:16px;padding:0 20px 20px}._alerts_1e9y0_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1e9y0_1 button{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:10px;cursor:pointer;text-align:center;font-weight:600;background:#0000;border-radius:0;display:block;width:-webkit-fill-available;-webkit-animation:_menuItemAnimation_1e9y0_1 .2s 0s both;animation:_menuItemAnimation_1e9y0_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1e9y0_1 button[color=blue]{color:#1b6ac0}._alerts_1e9y0_1 button[color=red]{color:#c21c0d}._alerts_1e9y0_1 button:hover{background:var(--system-hover)}._alerts_1e9y0_1 ._--body_1e9y0_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1e9y0_111 ._--form_1e9y0_111{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;padding:20px;border-bottom:1px solid var(--system-hr)}:root{--primary-light: #8abdff;--primary: #6d5dfc;--primary-dark: #5b0eeb;--white: #fff;--greyLight-1: #e4ebf5;--greyLight-2: #abb6d2;--greyLight-3: #bec8e4;--greyDark: #9baacf;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade)}._white_1iomo_14{--background: #e4ebf5;--shadow: #abb6d2;--shade: #fff;--color: #1f253d;--disabled: #9baacf;--text: #394264;--tinge: #3f51b50a;--inset: inset 2px 2px 2px var(--shadow), inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px var(--shadow), -1px -1px 1px var(--shade)}._black_1iomo_26{--background: #506290;--shadow: #1f253d;--shade: #394264;--color: #fff;--disabled: #29314c;--text: #abb6d2;--tinge: #00000026;--inset: inset 1px 1px 1px #394264, inset -1px -1px 1px #39426470;--outset: 1px 1px 1px #394264, -1px -1px 1px #39426470}[shake=true]{-webkit-animation-name:_shake_1iomo_1;animation-name:_shake_1iomo_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_1iomo_1{0%,to{transform:translateZ(0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}[data-color-bg=fff1d6]{--inset: inset 1px 1px 1px #c9c1ac, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #c9c1ac, -1px -1px 1px var(--shade)}[data-color-bg=ffd9d9]{--inset: inset 1px 1px 1px #cdb0b1, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #cdb0b1, -1px -1px 1px var(--shade)}[data-color-bg=daffe5]{--inset: inset 1px 1px 1px #b6d2be, inset -1px -1px 1px var(--shade);--outset: 2px 2px 2px #b6d2be, -1px -1px 1px var(--shade)}._modal_1iomo_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_1iomo_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_1iomo_14{box-shadow:5px 7px 18px #000000a8;background:var(--background);position:relative;min-width:300px;margin:auto;border-radius:10px;width:400px;max-height:90%;display:flex;flex-flow:column nowrap}._h_1iomo_106{flex:1;font-size:15px;line-height:35px;font-weight:700;text-align:left;color:var(--color);padding:10px 15px 5px 30px;user-select:none;-webkit-user-select:none;display:flex;z-index:1}._l_1iomo_120{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_1iomo_120 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_1iomo_120 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_1iomo_120 li:last-child{border-bottom:0}._l_1iomo_120 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_1iomo_158{padding-right:10px}._m_1iomo_73{flex:1}._x_1iomo_166{cursor:pointer;color:#1f253d;opacity:.5;display:flex}._x_1iomo_166 svg{width:20px}._s_1iomo_176{flex:1;overflow-y:scroll}._c_1iomo_181{text-align:center;margin:20px}._f_1iomo_186{padding:0 20px;display:flex;flex-direction:column}._f_1iomo_186 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_1iomo_186 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_1iomo_186 dd{margin:0;background:var(--tinge);color:var(--color);box-shadow:var(--inset);border-radius:5px;min-height:33px;padding:7px 10px;flex:1 1}._f_1iomo_186 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_1iomo_166:hover{opacity:1}._btn_1iomo_229{min-width:200px;margin:10px auto 20px;opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._g_1iomo_242{display:flex;gap:10px}._c_1iomo_181{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;cursor:pointer}._c_1iomo_181:first-child{margin-left:20px}._c_1iomo_181:last-child{margin-right:20px}._c_1iomo_181:hover{opacity:1;background:var(--tinge)}._c_1iomo_181 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_1iomo_181 b{text-align:center;display:block;color:var(--color)}._c_1iomo_181 p{text-align:center;font-size:15px;color:var(--text)}._btn_1iomo_229:hover{opacity:1}._modal_1iomo_73._size-a_1iomo_294 ._w_1iomo_14{width:auto}._modal_1iomo_73._size-s_1iomo_298 ._w_1iomo_14{width:400px}._modal_1iomo_73._size-m_1iomo_302 ._w_1iomo_14{width:500px}._modal_1iomo_73._size-l_1iomo_306 ._w_1iomo_14{width:800px}._modal_1iomo_73._size-x_1iomo_310 ._w_1iomo_14{width:1000px}._modal_1iomo_73._size-f_1iomo_314 ._w_1iomo_14{width:100%;max-width:1200px;min-width:910px}._btn_1iomo_229._confirm_1iomo_320{background:#4caf50;color:#fff}._btn_1iomo_229._cancel_1iomo_325{background:#f44336;color:#fff}._btn_1iomo_229._disabled_1iomo_330,._btn_1iomo_229._await_1iomo_337{background:#efefef;color:#000;opacity:1;cursor:default}._m_1iomo_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_1iomo_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_1iomo_73 big i:hover{box-shadow:var(--inset)}._m_1iomo_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_1iomo_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_1iomo_73 span._active_1iomo_387{box-shadow:var(--inset);color:var(--color)}._coincidence_1iomo_393{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_1iomo_393 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_1iomo_393 dl{display:flex;padding:0;margin:5px}._coincidence_1iomo_393 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}menu{border-radius:5px;overflow:hidden;display:flex;flex-direction:column;background:var(--contex);grid-area:m}._payment_1lxfv_1{background:#f44336;height:42px;border-radius:5px;color:#fff;font-weight:700;line-height:42px;margin-top:8px;grid-area:p;text-align:center}._setting_1r0pc_2{width:100%;overflow:auto}._setting_1r0pc_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_1r0pc_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_1r0pc_2 nav li[tabs-active=true]{opacity:1}._setting_1r0pc_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_1r0pc_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_1r0pc_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_1r0pc_2 li{font-size:20px;line-height:40px}._setting_1r0pc_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;background:var(--setting-bg);color:var(--setting-color)}._setting_1r0pc_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_1r0pc_2 dt{flex:1;padding:0 15px}._setting_1r0pc_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_1r0pc_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_1r0pc_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_1r0pc_2 [data-close]{cursor:pointer;width:10px;height:10px;border-top:3px solid var(--setting-color);border-left:3px solid var(--setting-color);position:absolute;right:10px;top:3px;-webkit-transform:translate(0,-50%) rotate(45deg);-ms-transform:translate(0,-50%) rotate(45deg);transform:translateY(-50%) rotate(45deg)}._setting_1r0pc_2 [data-close=false]{right:10px;top:0;-webkit-transform:translate(0,-50%) rotate(-135deg);-ms-transform:translate(0,-50%) rotate(-135deg);transform:translateY(-50%) rotate(-135deg)}._setting_1r0pc_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_1r0pc_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_1r0pc_2 [role=button]:hover{background:var(--setting-action)}._setting_1r0pc_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_1r0pc_2 [role=button-outline]:hover{background:#00000038}._setting_1r0pc_2 [role=switch]{cursor:pointer;position:relative;width:44px;height:22px;border-radius:50px;vertical-align:text-bottom;transition:all .3s linear;margin:0}._setting_1r0pc_2 [role=switch]:after{content:"";position:absolute;left:4px;width:16px;height:16px;background-color:#fff;border-radius:50%;box-shadow:0 2px 2px #0000003d;transform:translate3d(0,3px,0);transition:all .2s ease-in-out}._setting_1r0pc_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_1r0pc_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_1r0pc_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_1r0pc_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._h_158b4_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex;height:35px}._t_158b4_11{border-bottom:0;cursor:default;display:block;flex:1;margin-block-start:0;margin-block-end:0;margin-inline-start:0px;margin-inline-end:0px;font-size:14px!important;line-height:35px;font-weight:700;text-align:center;color:var(--label);position:absolute;left:0;right:0;height:35px}._s_158b4_31{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_158b4_40{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_158b4_47{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._l_158b4_56{flex:1;overflow:hidden;overflow-y:scroll;background:var(--content)}._hh_158b4_63{background:#fff;display:block;flex:1 1;font-size:14px;line-height:35px;font-weight:700;text-align:center;color:#1f253d;border-bottom:1px solid #ddd;position:relative}._sort_1yrvt_1{text-align:center;position:absolute;top:0;right:0}._sort_1yrvt_1 i{flex:0 1 35px;text-align:center;font-size:16px;line-height:35px;cursor:pointer;width:30px;display:inline-block}
2
+ `,document.head.appendChild(Se);var _e={exports:{}},Q={};/**
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 ke;function lt(){if(ke)return K;ke=1;var e=j,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,c=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,x={key:!0,ref:!0,__self:!0,__source:!0};function l(u,d,f){var p,b={},w=null,I=null;f!==void 0&&(w=""+f),d.key!==void 0&&(w=""+d.key),d.ref!==void 0&&(I=d.ref);for(p in d)a.call(d,p)&&!x.hasOwnProperty(p)&&(b[p]=d[p]);if(u&&u.defaultProps)for(p in d=u.defaultProps,d)b[p]===void 0&&(b[p]=d[p]);return{$$typeof:r,type:u,key:w,ref:I,props:b,_owner:c.current}}return K.Fragment=o,K.jsx=l,K.jsxs=l,K}var X={};/**
10
+ */var Ce;function ft(){if(Ce)return Q;Ce=1;var e=j,r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,c=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,x={key:!0,ref:!0,__self:!0,__source:!0};function l(u,d,f){var p,b={},w=null,T=null;f!==void 0&&(w=""+f),d.key!==void 0&&(w=""+d.key),d.ref!==void 0&&(T=d.ref);for(p in d)i.call(d,p)&&!x.hasOwnProperty(p)&&(b[p]=d[p]);if(u&&u.defaultProps)for(p in d=u.defaultProps,d)b[p]===void 0&&(b[p]=d[p]);return{$$typeof:r,type:u,key:w,ref:T,props:b,_owner:c.current}}return Q.Fragment=n,Q.jsx=l,Q.jsxs=l,Q}var ee={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,14 +15,14 @@
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 je;function ct(){return je||(je=1,process.env.NODE_ENV!=="production"&&function(){var e=j,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),I=Symbol.for("react.offscreen"),F=Symbol.iterator,te="@@iterator";function M(t){if(t===null||typeof t!="object")return null;var i=F&&t[F]||t[te];return typeof i=="function"?i:null}var z=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function E(t){{for(var i=arguments.length,s=new Array(i>1?i-1:0),_=1;_<i;_++)s[_-1]=arguments[_];N("error",t,s)}}function N(t,i,s){{var _=z.ReactDebugCurrentFrame,v=_.getStackAddendum();v!==""&&(i+="%s",s=s.concat([v]));var y=s.map(function(h){return String(h)});y.unshift("Warning: "+i),Function.prototype.apply.call(console[t],console,y)}}var B=!1,U=!1,G=!1,ae=!1,Dr=!1,Ae;Ae=Symbol.for("react.module.reference");function Lr(t){return!!(typeof t=="string"||typeof t=="function"||t===a||t===x||Dr||t===c||t===f||t===p||ae||t===I||B||U||G||typeof t=="object"&&t!==null&&(t.$$typeof===w||t.$$typeof===b||t.$$typeof===l||t.$$typeof===u||t.$$typeof===d||t.$$typeof===Ae||t.getModuleId!==void 0))}function Br(t,i,s){var _=t.displayName;if(_)return _;var v=i.displayName||i.name||"";return v!==""?s+"("+v+")":s}function De(t){return t.displayName||"Context"}function O(t){if(t==null)return null;if(typeof t.tag=="number"&&E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case a:return"Fragment";case o:return"Portal";case x:return"Profiler";case c:return"StrictMode";case f:return"Suspense";case p:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case u:var i=t;return De(i)+".Consumer";case l:var s=t;return De(s._context)+".Provider";case d:return Br(t,t.render,"ForwardRef");case b:var _=t.displayName||null;return _!==null?_:O(t.type)||"Memo";case w:{var v=t,y=v._payload,h=v._init;try{return O(h(y))}catch{return null}}}return null}var V=Object.assign,re=0,Le,Be,Ye,We,Ue,Ve,He;function qe(){}qe.__reactDisabledLog=!0;function Yr(){{if(re===0){Le=console.log,Be=console.info,Ye=console.warn,We=console.error,Ue=console.group,Ve=console.groupCollapsed,He=console.groupEnd;var t={configurable:!0,enumerable:!0,value:qe,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}re++}}function Wr(){{if(re--,re===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},t,{value:Le}),info:V({},t,{value:Be}),warn:V({},t,{value:Ye}),error:V({},t,{value:We}),group:V({},t,{value:Ue}),groupCollapsed:V({},t,{value:Ve}),groupEnd:V({},t,{value:He})})}re<0&&E("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var _e=z.ReactCurrentDispatcher,me;function se(t,i,s){{if(me===void 0)try{throw Error()}catch(v){var _=v.stack.trim().match(/\n( *(at )?)/);me=_&&_[1]||""}return`
19
- `+me+t}}var xe=!1,le;{var Ur=typeof WeakMap=="function"?WeakMap:Map;le=new Ur}function Ge(t,i){if(!t||xe)return"";{var s=le.get(t);if(s!==void 0)return s}var _;xe=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=_e.current,_e.current=null,Yr();try{if(i){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(A){_=A}Reflect.construct(t,[],h)}else{try{h.call()}catch(A){_=A}t.call(h.prototype)}}else{try{throw Error()}catch(A){_=A}t()}}catch(A){if(A&&_&&typeof A.stack=="string"){for(var g=A.stack.split(`
20
- `),T=_.stack.split(`
21
- `),S=g.length-1,C=T.length-1;S>=1&&C>=0&&g[S]!==T[C];)C--;for(;S>=1&&C>=0;S--,C--)if(g[S]!==T[C]){if(S!==1||C!==1)do if(S--,C--,C<0||g[S]!==T[C]){var $=`
22
- `+g[S].replace(" at new "," at ");return t.displayName&&$.includes("<anonymous>")&&($=$.replace("<anonymous>",t.displayName)),typeof t=="function"&&le.set(t,$),$}while(S>=1&&C>=0);break}}}finally{xe=!1,_e.current=y,Wr(),Error.prepareStackTrace=v}var Z=t?t.displayName||t.name:"",st=Z?se(Z):"";return typeof t=="function"&&le.set(t,st),st}function Vr(t,i,s){return Ge(t,!1)}function Hr(t){var i=t.prototype;return!!(i&&i.isReactComponent)}function ce(t,i,s){if(t==null)return"";if(typeof t=="function")return Ge(t,Hr(t));if(typeof t=="string")return se(t);switch(t){case f:return se("Suspense");case p:return se("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case d:return Vr(t.render);case b:return ce(t.type,i,s);case w:{var _=t,v=_._payload,y=_._init;try{return ce(y(v),i,s)}catch{}}}return""}var de=Object.prototype.hasOwnProperty,Je={},Ze=z.ReactDebugCurrentFrame;function ue(t){if(t){var i=t._owner,s=ce(t.type,t._source,i?i.type:null);Ze.setExtraStackFrame(s)}else Ze.setExtraStackFrame(null)}function qr(t,i,s,_,v){{var y=Function.call.bind(de);for(var h in t)if(y(t,h)){var g=void 0;try{if(typeof t[h]!="function"){var T=Error((_||"React class")+": "+s+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw T.name="Invariant Violation",T}g=t[h](i,h,_,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(S){g=S}g&&!(g instanceof Error)&&(ue(v),E("%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).",_||"React class",s,h,typeof g),ue(null)),g instanceof Error&&!(g.message in Je)&&(Je[g.message]=!0,ue(v),E("Failed %s type: %s",s,g.message),ue(null))}}}var Gr=Array.isArray;function ge(t){return Gr(t)}function Jr(t){{var i=typeof Symbol=="function"&&Symbol.toStringTag,s=i&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function Zr(t){try{return Ke(t),!1}catch{return!0}}function Ke(t){return""+t}function Xe(t){if(Zr(t))return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Jr(t)),Ke(t)}var ne=z.ReactCurrentOwner,Kr={key:!0,ref:!0,__self:!0,__source:!0},Qe,et,he;he={};function Xr(t){if(de.call(t,"ref")){var i=Object.getOwnPropertyDescriptor(t,"ref").get;if(i&&i.isReactWarning)return!1}return t.ref!==void 0}function Qr(t){if(de.call(t,"key")){var i=Object.getOwnPropertyDescriptor(t,"key").get;if(i&&i.isReactWarning)return!1}return t.key!==void 0}function en(t,i){if(typeof t.ref=="string"&&ne.current&&i&&ne.current.stateNode!==i){var s=O(ne.current.type);he[s]||(E('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',O(ne.current.type),t.ref),he[s]=!0)}}function tn(t,i){{var s=function(){Qe||(Qe=!0,E("%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)",i))};s.isReactWarning=!0,Object.defineProperty(t,"key",{get:s,configurable:!0})}}function rn(t,i){{var s=function(){et||(et=!0,E("%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)",i))};s.isReactWarning=!0,Object.defineProperty(t,"ref",{get:s,configurable:!0})}}var nn=function(t,i,s,_,v,y,h){var g={$$typeof:r,type:t,key:i,ref:s,props:h,_owner:y};return g._store={},Object.defineProperty(g._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(g,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.defineProperty(g,"_source",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.freeze&&(Object.freeze(g.props),Object.freeze(g)),g};function on(t,i,s,_,v){{var y,h={},g=null,T=null;s!==void 0&&(Xe(s),g=""+s),Qr(i)&&(Xe(i.key),g=""+i.key),Xr(i)&&(T=i.ref,en(i,v));for(y in i)de.call(i,y)&&!Kr.hasOwnProperty(y)&&(h[y]=i[y]);if(t&&t.defaultProps){var S=t.defaultProps;for(y in S)h[y]===void 0&&(h[y]=S[y])}if(g||T){var C=typeof t=="function"?t.displayName||t.name||"Unknown":t;g&&tn(h,C),T&&rn(h,C)}return nn(t,g,T,v,_,ne.current,h)}}var be=z.ReactCurrentOwner,tt=z.ReactDebugCurrentFrame;function J(t){if(t){var i=t._owner,s=ce(t.type,t._source,i?i.type:null);tt.setExtraStackFrame(s)}else tt.setExtraStackFrame(null)}var ve;ve=!1;function ye(t){return typeof t=="object"&&t!==null&&t.$$typeof===r}function rt(){{if(be.current){var t=O(be.current.type);if(t)return`
18
+ */var Ee;function pt(){return Ee||(Ee=1,process.env.NODE_ENV!=="production"&&function(){var e=j,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),F=Symbol.iterator,ne="@@iterator";function M(t){if(t===null||typeof t!="object")return null;var a=F&&t[F]||t[ne];return typeof a=="function"?a:null}var $=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function I(t){{for(var a=arguments.length,s=new Array(a>1?a-1:0),_=1;_<a;_++)s[_-1]=arguments[_];O("error",t,s)}}function O(t,a,s){{var _=$.ReactDebugCurrentFrame,v=_.getStackAddendum();v!==""&&(a+="%s",s=s.concat([v]));var y=s.map(function(h){return String(h)});y.unshift("Warning: "+a),Function.prototype.apply.call(console[t],console,y)}}var W=!1,H=!1,Z=!1,le=!1,an=!1,Ye;Ye=Symbol.for("react.module.reference");function sn(t){return!!(typeof t=="string"||typeof t=="function"||t===i||t===x||an||t===c||t===f||t===p||le||t===T||W||H||Z||typeof t=="object"&&t!==null&&(t.$$typeof===w||t.$$typeof===b||t.$$typeof===l||t.$$typeof===u||t.$$typeof===d||t.$$typeof===Ye||t.getModuleId!==void 0))}function ln(t,a,s){var _=t.displayName;if(_)return _;var v=a.displayName||a.name||"";return v!==""?s+"("+v+")":s}function We(t){return t.displayName||"Context"}function A(t){if(t==null)return null;if(typeof t.tag=="number"&&I("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case i:return"Fragment";case n:return"Portal";case x:return"Profiler";case c:return"StrictMode";case f:return"Suspense";case p:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case u:var a=t;return We(a)+".Consumer";case l:var s=t;return We(s._context)+".Provider";case d:return ln(t,t.render,"ForwardRef");case b:var _=t.displayName||null;return _!==null?_:A(t.type)||"Memo";case w:{var v=t,y=v._payload,h=v._init;try{return A(h(y))}catch{return null}}}return null}var G=Object.assign,oe=0,Ue,Ve,qe,He,Ge,Je,Ze;function Ke(){}Ke.__reactDisabledLog=!0;function cn(){{if(oe===0){Ue=console.log,Ve=console.info,qe=console.warn,He=console.error,Ge=console.group,Je=console.groupCollapsed,Ze=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Ke,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}oe++}}function dn(){{if(oe--,oe===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:G({},t,{value:Ue}),info:G({},t,{value:Ve}),warn:G({},t,{value:qe}),error:G({},t,{value:He}),group:G({},t,{value:Ge}),groupCollapsed:G({},t,{value:Je}),groupEnd:G({},t,{value:Ze})})}oe<0&&I("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ge=$.ReactCurrentDispatcher,he;function ce(t,a,s){{if(he===void 0)try{throw Error()}catch(v){var _=v.stack.trim().match(/\n( *(at )?)/);he=_&&_[1]||""}return`
19
+ `+he+t}}var be=!1,de;{var un=typeof WeakMap=="function"?WeakMap:Map;de=new un}function Xe(t,a){if(!t||be)return"";{var s=de.get(t);if(s!==void 0)return s}var _;be=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=ge.current,ge.current=null,cn();try{if(a){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(h,[])}catch(D){_=D}Reflect.construct(t,[],h)}else{try{h.call()}catch(D){_=D}t.call(h.prototype)}}else{try{throw Error()}catch(D){_=D}t()}}catch(D){if(D&&_&&typeof D.stack=="string"){for(var g=D.stack.split(`
20
+ `),R=_.stack.split(`
21
+ `),C=g.length-1,E=R.length-1;C>=1&&E>=0&&g[C]!==R[E];)E--;for(;C>=1&&E>=0;C--,E--)if(g[C]!==R[E]){if(C!==1||E!==1)do if(C--,E--,E<0||g[C]!==R[E]){var z=`
22
+ `+g[C].replace(" at new "," at ");return t.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",t.displayName)),typeof t=="function"&&de.set(t,z),z}while(C>=1&&E>=0);break}}}finally{be=!1,ge.current=y,dn(),Error.prepareStackTrace=v}var X=t?t.displayName||t.name:"",ut=X?ce(X):"";return typeof t=="function"&&de.set(t,ut),ut}function fn(t,a,s){return Xe(t,!1)}function pn(t){var a=t.prototype;return!!(a&&a.isReactComponent)}function ue(t,a,s){if(t==null)return"";if(typeof t=="function")return Xe(t,pn(t));if(typeof t=="string")return ce(t);switch(t){case f:return ce("Suspense");case p:return ce("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case d:return fn(t.render);case b:return ue(t.type,a,s);case w:{var _=t,v=_._payload,y=_._init;try{return ue(y(v),a,s)}catch{}}}return""}var fe=Object.prototype.hasOwnProperty,Qe={},et=$.ReactDebugCurrentFrame;function pe(t){if(t){var a=t._owner,s=ue(t.type,t._source,a?a.type:null);et.setExtraStackFrame(s)}else et.setExtraStackFrame(null)}function _n(t,a,s,_,v){{var y=Function.call.bind(fe);for(var h in t)if(y(t,h)){var g=void 0;try{if(typeof t[h]!="function"){var R=Error((_||"React class")+": "+s+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw R.name="Invariant Violation",R}g=t[h](a,h,_,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){g=C}g&&!(g instanceof Error)&&(pe(v),I("%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).",_||"React class",s,h,typeof g),pe(null)),g instanceof Error&&!(g.message in Qe)&&(Qe[g.message]=!0,pe(v),I("Failed %s type: %s",s,g.message),pe(null))}}}var mn=Array.isArray;function ve(t){return mn(t)}function xn(t){{var a=typeof Symbol=="function"&&Symbol.toStringTag,s=a&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function gn(t){try{return tt(t),!1}catch{return!0}}function tt(t){return""+t}function rt(t){if(gn(t))return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",xn(t)),tt(t)}var ie=$.ReactCurrentOwner,hn={key:!0,ref:!0,__self:!0,__source:!0},nt,ot,ye;ye={};function bn(t){if(fe.call(t,"ref")){var a=Object.getOwnPropertyDescriptor(t,"ref").get;if(a&&a.isReactWarning)return!1}return t.ref!==void 0}function vn(t){if(fe.call(t,"key")){var a=Object.getOwnPropertyDescriptor(t,"key").get;if(a&&a.isReactWarning)return!1}return t.key!==void 0}function yn(t,a){if(typeof t.ref=="string"&&ie.current&&a&&ie.current.stateNode!==a){var s=A(ie.current.type);ye[s]||(I('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',A(ie.current.type),t.ref),ye[s]=!0)}}function wn(t,a){{var s=function(){nt||(nt=!0,I("%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)",a))};s.isReactWarning=!0,Object.defineProperty(t,"key",{get:s,configurable:!0})}}function kn(t,a){{var s=function(){ot||(ot=!0,I("%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)",a))};s.isReactWarning=!0,Object.defineProperty(t,"ref",{get:s,configurable:!0})}}var jn=function(t,a,s,_,v,y,h){var g={$$typeof:r,type:t,key:a,ref:s,props:h,_owner:y};return g._store={},Object.defineProperty(g._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(g,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.defineProperty(g,"_source",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.freeze&&(Object.freeze(g.props),Object.freeze(g)),g};function Sn(t,a,s,_,v){{var y,h={},g=null,R=null;s!==void 0&&(rt(s),g=""+s),vn(a)&&(rt(a.key),g=""+a.key),bn(a)&&(R=a.ref,yn(a,v));for(y in a)fe.call(a,y)&&!hn.hasOwnProperty(y)&&(h[y]=a[y]);if(t&&t.defaultProps){var C=t.defaultProps;for(y in C)h[y]===void 0&&(h[y]=C[y])}if(g||R){var E=typeof t=="function"?t.displayName||t.name||"Unknown":t;g&&wn(h,E),R&&kn(h,E)}return jn(t,g,R,v,_,ie.current,h)}}var we=$.ReactCurrentOwner,it=$.ReactDebugCurrentFrame;function K(t){if(t){var a=t._owner,s=ue(t.type,t._source,a?a.type:null);it.setExtraStackFrame(s)}else it.setExtraStackFrame(null)}var ke;ke=!1;function je(t){return typeof t=="object"&&t!==null&&t.$$typeof===r}function at(){{if(we.current){var t=A(we.current.type);if(t)return`
23
23
 
24
- Check the render method of \``+t+"`."}return""}}function an(t){{if(t!==void 0){var i=t.fileName.replace(/^.*[\\\/]/,""),s=t.lineNumber;return`
24
+ Check the render method of \``+t+"`."}return""}}function Cn(t){{if(t!==void 0){var a=t.fileName.replace(/^.*[\\\/]/,""),s=t.lineNumber;return`
25
25
 
26
- Check your code at `+i+":"+s+"."}return""}}var nt={};function sn(t){{var i=rt();if(!i){var s=typeof t=="string"?t:t.displayName||t.name;s&&(i=`
26
+ Check your code at `+a+":"+s+"."}return""}}var st={};function En(t){{var a=at();if(!a){var s=typeof t=="string"?t:t.displayName||t.name;s&&(a=`
27
27
 
28
- Check the top-level render call using <`+s+">.")}return i}}function ot(t,i){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var s=sn(i);if(nt[s])return;nt[s]=!0;var _="";t&&t._owner&&t._owner!==be.current&&(_=" It was passed a child from "+O(t._owner.type)+"."),J(t),E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,_),J(null)}}function it(t,i){{if(typeof t!="object")return;if(ge(t))for(var s=0;s<t.length;s++){var _=t[s];ye(_)&&ot(_,i)}else if(ye(t))t._store&&(t._store.validated=!0);else if(t){var v=M(t);if(typeof v=="function"&&v!==t.entries)for(var y=v.call(t),h;!(h=y.next()).done;)ye(h.value)&&ot(h.value,i)}}}function ln(t){{var i=t.type;if(i==null||typeof i=="string")return;var s;if(typeof i=="function")s=i.propTypes;else if(typeof i=="object"&&(i.$$typeof===d||i.$$typeof===b))s=i.propTypes;else return;if(s){var _=O(i);qr(s,t.props,"prop",_,t)}else if(i.PropTypes!==void 0&&!ve){ve=!0;var v=O(i);E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v||"Unknown")}typeof i.getDefaultProps=="function"&&!i.getDefaultProps.isReactClassApproved&&E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function cn(t){{for(var i=Object.keys(t.props),s=0;s<i.length;s++){var _=i[s];if(_!=="children"&&_!=="key"){J(t),E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_),J(null);break}}t.ref!==null&&(J(t),E("Invalid attribute `ref` supplied to `React.Fragment`."),J(null))}}function at(t,i,s,_,v,y){{var h=Lr(t);if(!h){var g="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(g+=" 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=an(v);T?g+=T:g+=rt();var S;t===null?S="null":ge(t)?S="array":t!==void 0&&t.$$typeof===r?(S="<"+(O(t.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?"):S=typeof t,E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,g)}var C=on(t,i,s,v,y);if(C==null)return C;if(h){var $=i.children;if($!==void 0)if(_)if(ge($)){for(var Z=0;Z<$.length;Z++)it($[Z],t);Object.freeze&&Object.freeze($)}else E("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 it($,t)}return t===a?cn(C):ln(C),C}}function dn(t,i,s){return at(t,i,s,!0)}function un(t,i,s){return at(t,i,s,!1)}var fn=un,pn=dn;X.Fragment=a,X.jsx=fn,X.jsxs=pn}()),X}process.env.NODE_ENV==="production"?fe.exports=lt():fe.exports=ct();var n=fe.exports;const dt={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let D={};function ut(){let[e,r]=j.useState([]);return D.set=o=>{r([...e,o])},D.del=o=>{r(e.filter(a=>a.key!==o))},e.length===0?"":n.jsx("ul",{className:dt.notice,children:e.map(o=>o.item)})}function Q({data:e}){let[r,o]=j.useState("show");j.useEffect(()=>{setTimeout(function(){o("hide")},1800),setTimeout(function(){D.del(e.key)},2500)},[e.key]);let a,c;switch(e.type){case"error":a=n.jsx(Y.error,{}),c="Ошибка:";break;case"success":a=n.jsx(Y.success,{}),c="Информация:";break;case"copy":a=n.jsx(Y.success,{}),c="Копирование:";break;case"remark":a=n.jsx(Y.success,{}),c="Подсказка:";break;default:a=n.jsx(Y.success,{}),c="Предупреждение:";break}return n.jsxs("li",{className:"item "+e.type,"data-status":r,children:[a,n.jsx("b",{children:c}),n.jsx("p",{children:e.text})]})}function ft(e){let r=Date.now(),o={key:r,...e};D.set({item:n.jsx(Q,{data:o},r),key:r})}function pt(e){let r=Date.now(),o={key:r,text:e,type:"error"};D.set({item:n.jsx(Q,{data:o},r),key:r})}function _t(e){let r=Date.now(),o={key:r,text:e,type:"success"};D.set({item:n.jsx(Q,{data:o},r),key:r})}function mt(e){let r=Date.now(),o={key:r,text:e,type:"remark"};D.set({item:n.jsx(Q,{data:o},r),key:r})}function xt(e){let r=Date.now(),o={key:r,text:e,type:"copy"};D.set({item:n.jsx(Q,{data:o},r),key:r})}const Y={};Y.error=()=>n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[n.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),n.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),Y.success=()=>n.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[n.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),n.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});const gt={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let ee={};function ht(){let[e,r]=j.useState("");return ee.set=o=>r(o),ee.del=()=>r(""),n.jsx(n.Fragment,{children:e})}const bt=({data:e,callback:r})=>(e.button=e.button===void 0?"Подтвердить":e.button,n.jsxs("div",{className:gt.alerts,children:[n.jsxs("dl",{children:[n.jsx("dt",{children:e.title}),n.jsx("dd",{children:e.text}),n.jsx("ul",{children:n.jsx("button",{"data-color":e.color||"blue",onClick:()=>{r(),ee.del()},children:e.button})})]}),n.jsx("div",{className:"--body",onClick:ee.del})]}));function vt(e,r){ee.set(n.jsx(bt,{data:e,callback:r}))}function yt({children:e}){return n.jsx("div",{className:"l",children:n.jsx("ul",{children:e})})}function wt({children:e}){return n.jsx("div",{className:"s",children:e})}const Se=({children:e,disabled:r,label:o,onClick:a})=>{const c=x=>{r||a&&a(x)};return n.jsx("button",{disabled:r,onClick:c,children:o})},L={white:"_white_1iomo_14",black:"_black_1iomo_26",shake:"_shake_1iomo_1",modal:"_modal_1iomo_73",o:"_o_1iomo_83",w:"_w_1iomo_14",h:"_h_1iomo_106",l:"_l_1iomo_120",t:"_t_1iomo_158",m:"_m_1iomo_73",x:"_x_1iomo_166",s:"_s_1iomo_176",c:"_c_1iomo_181",f:"_f_1iomo_186",btn:"_btn_1iomo_229",g:"_g_1iomo_242","size-a":"_size-a_1iomo_294","size-s":"_size-s_1iomo_298","size-m":"_size-m_1iomo_302","size-l":"_size-l_1iomo_306","size-x":"_size-x_1iomo_310","size-f":"_size-f_1iomo_314",confirm:"_confirm_1iomo_320",cancel:"_cancel_1iomo_325",disabled:"_disabled_1iomo_330",await:"_await_1iomo_337",active:"_active_1iomo_387",coincidence:"_coincidence_1iomo_393"};let H={};const kt=({config:e})=>{let[r,o]=j.useState([]);return H.x=()=>{o([])},H.config=e,H.add=a=>{o([...r,a])},n.jsx(n.Fragment,{children:r.map(a=>a)})},jt=({children:e,title:r,button:o,tabs:a,size:c="m",menu:x})=>{const[l,u]=j.useState(!0),d=j.useRef(),f=b=>{if(o&&o.onClick)return o.onClick({closed:u,disabled:b})},p=()=>{d.current.setAttribute("shake",!0),setTimeout(()=>{d.current.setAttribute("shake",!1)},1e3)};return n.jsx(n.Fragment,{children:l?n.jsxs("div",{className:`${L.modal} ${L.white}`,children:[n.jsx("div",{className:L.o,onClick:p}),n.jsxs("div",{className:L.w,ref:d,children:[n.jsxs("div",{className:L.h,children:[n.jsx("div",{className:L.t,children:r}),n.jsxs("div",{className:L.m,children:[a&&n.jsx("nav",{children:a.map((b,w)=>n.jsx("span",{onClick:b.onClick,className:b.active?"active":"",children:b.name},w))}),x]}),n.jsx("div",{className:L.x,onClick:()=>{u(!1)},children:n.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:n.jsx("path",{d:"M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})})})]}),e,o!==void 0?n.jsx(Se,{label:String(o.name),onClick:f}):""]})]}):""})},St=e=>{H.add(n.jsx(Ct,{children:e},String(Date.now())))},Ct=({children:e})=>n.jsx(n.Fragment,{children:e}),Ce={List:yt,Scroll:wt,Init:kt,Main:jt,Add:St,Icon:({type:e,name:r,params:o})=>{let[a,c]=j.useState(null);return j.useEffect(()=>{H.config(e,r,o,c)},[o.id]),n.jsx(n.Fragment,{children:a})},Open:(e,r,o)=>{H.config(e,r,o)}};let R={};const m={},P={},Ee={};function Et(e,r){if(R=e,localStorage.getItem("ssid")){let a=sessionStorage.getItem("page");a?(a=R.deCode(a),m.id=a.id,m.tab=a.tab,m.page=a.page,m.module=a.module,m.time=a.time,m.payment={active:!0},m.module_admin=a.module_admin):(m.id=0,m.tab="",m.page="Main",m.module=m.module||"M05")}else["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(a=>localStorage.removeItem(a)),["page"].forEach(a=>sessionStorage.removeItem(a)),m.id=0,m.tab="",m.page="Auth",m.module="M00";return r}function q(){["ssid","menu","temp","user","sett","qder","firm","last","auth","port","mark","sort"].forEach(e=>localStorage.removeItem(e)),["page"].forEach(e=>sessionStorage.removeItem(e)),window.location.reload()}function Rt(e){e=e.split("/"),m.page="Main",m.module=e[0],m.tab=e[1],m.id=0,sessionStorage.setItem("page",R.enCode({module:m.module,page:m.page,tab:m.tab,id:m.id,time:new Date().getTime()})),P.page(m.page)}function Tt(e){return localStorage.setItem("ssid",e)}function It(){let e=localStorage.getItem("ssid");return e!==""&&e!=="undefined"&&e!==null?localStorage.getItem("ssid"):(q(),!1)}function Pt(e){return localStorage.setItem("auth",e)}function zt(){let e=localStorage.getItem("auth");return e!==""&&e!=="undefined"&&e!==null?e:(q(),!1)}function $t(){const[e,r]=j.useState(Re()),o=a=>{r(a)};return P.page=o,[e]}function Ft(e){m.page=e,sessionStorage.setItem("page",R.enCode(m)),P.page(e)}function Re(){return m.page}function Mt(){const[e,r]=j.useState(Te()),o=a=>{r(a)};return P.module=o,[e]}function Nt(e,r){m.module=e,sessionStorage.setItem("page",R.enCode(m)),r!=="false"&&P.module(e)}function Te(){return m.module}function Ot(e){const[r,o]=j.useState(oe()||e),a=c=>{o(c)};return P.tabs=a,[r]}function At(e,r){m.tab=e,sessionStorage.setItem("page",R.enCode(m)),r!=="false"&&P.tabs(e)}function oe(){return m.tab}function Dt(){const[e,r]=j.useState(m.id),o=a=>{r(a)};return P.id=o,[e]}function Lt(e){P.id=e}function Bt(e,r){m.id=e,sessionStorage.setItem("page",R.enCode(m)),r!=="false"&&P.id(e)}function Yt(){return m.id}function Wt(e,r,o){m.module=e,m.id=o,m.tab=r,sessionStorage.setItem("page",R.enCode(m)),P.module(e),P.tabs(r)}function Ut(e,r){Ee.data[e]=r,localStorage.setItem("sett",R.enCode(Ee.data))}function Vt(e){let r=localStorage.getItem("sett");return r===null?{}:(r=R.deCode(r),r?e!==void 0?r[e]:r:q())}function Ht(e){localStorage.setItem("menu",R.enCode({data:e}))}function qt(){let e=localStorage.getItem("menu");if(e!==""&&e!=="undefined"&&e!==null){let r=localStorage.getItem("menu"),o=R.deCode(r);o||q();const a=(x,l)=>{let u=l+"";for(;u.length<x;)u="0"+u;return u};return o.data.split(",").map(x=>"M"+a(2,x))}else return q(),!1}function Gt(e){P.sort=e}function Ie(e){let r=localStorage.getItem("sort");r=r===null?{}:R.deCode(r),r[oe()]=e,localStorage.setItem("sort",R.enCode(r))}function pe(){let e=localStorage.getItem("sort");return e===null?{}:(e=R.deCode(e),e=e[oe()],e=e===void 0?{active:1,sort:"<"}:e,e)}const Pe=({children:e,config:r,crypto:o,...a})=>Et(o,n.jsxs(n.Fragment,{children:[n.jsx(Ce.Init,{config:r.modal}),n.jsx(ut,{}),n.jsx(ht,{}),e]})),Jt=({children:e,...r})=>n.jsx("menu",{children:e}),Zt=({children:e,...r})=>n.jsxs("header",{children:["xz",e]}),Kt={payment:"_payment_1lxfv_1"};function Xt(){let[e,r]=j.useState({});return!e.active&&!e.payment?"":n.jsx("div",{className:Kt.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const Qt=({children:e,...r})=>{let o={};return o.enCode=a=>JSON.stringify(a).toString(),o.deCode=a=>JSON.parse(a),n.jsxs("div",{className:"app",children:[n.jsx(Xt,{}),n.jsx(Jt,{}),n.jsx(Zt,{}),n.jsx(Pe,{config:{modal:{}},crypto:o}),e]})},ze=({list:e,onClick:r,active:o,size:a,view:c})=>n.jsx("nav",{children:n.jsx("ul",{className:[a,c].join(" "),children:e.map(x=>n.jsx(er,{onClick:r,active:o,label:x.label,link:x.link},x.link))})}),er=({onClick:e,label:r,link:o,active:a})=>n.jsx("li",{"tabs-active":String(a===o),onClick:()=>e(o),children:r});ze.defaultProps={size:"M",view:"H"};const tr=({title:e="",button:r,description:o="",children:a})=>n.jsxs("fieldset",{children:[e&&n.jsxs("legend",{children:[e,r&&n.jsx("div",{role:"button-outline",onClick:()=>r.onClick(),children:r.label})," "]}),n.jsx("ul",{children:a}),o&&n.jsx("article",{children:o})]}),rr={setting:"_setting_1r0pc_2"},nr=({children:e})=>n.jsx("div",{className:rr.setting,children:e}),or=({label:e,children:r})=>{let[o,a]=j.useState(!1);return n.jsxs("li",{"data-item":"accordion",children:[n.jsxs("dl",{onClick:()=>a(!o),children:[n.jsx("dt",{children:e}),n.jsx("dd",{children:n.jsx("div",{"data-close":String(o)})})]}),o&&n.jsx("div",{children:r})]})},ir=({label:e,onClick:r,button:o})=>n.jsx("li",{children:n.jsxs("dl",{children:[n.jsx("dt",{children:e}),n.jsx("dd",{role:"button",onClick:()=>r(),children:o})]})}),$e={Switch:({active:e,onClick:r})=>(console.log(e),e=typeof e=="number"?!!e:e,n.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),r()},"aria-checked":e?"true":"false"}))},ar={Accordion:or,Button:ir,Switch:({label:e,onClick:r,active:o})=>n.jsx("li",{children:n.jsxs("dl",{children:[n.jsx("dt",{children:e}),n.jsx("dd",{children:n.jsx($e.Switch,{onClick:r,active:o})})]})}),Info:({label:e,info:r})=>n.jsx("li",{children:n.jsxs("dl",{children:[n.jsx("dt",{children:e}),n.jsx("dd",{role:"info",children:r})]})}),Select:({label:e,active:r,options:o})=>n.jsx("li",{children:n.jsxs("dl",{children:[n.jsx("dt",{children:e}),n.jsx("dd",{role:"info",children:r})]})}),Component:({label:e,children:r})=>n.jsx("li",{children:n.jsxs("dl",{children:[n.jsx("dt",{children:e}),n.jsx("dd",{children:r})]})}),Node:({label:e,children:r})=>n.jsx("li",{children:n.jsxs("dl",{children:[n.jsx("dt",{children:e}),n.jsx("dd",{children:r})]})})};function Fe({list:e,onClick:r,active:o,size:a,view:c}){return n.jsx("nav",{children:n.jsx("ul",{className:[a,c].join(" "),children:e.map(x=>n.jsx(sr,{onClick:r,active:o,label:x.label,link:x.link},x.link))})})}const sr=({onClick:e,label:r,link:o,active:a})=>n.jsx("li",{"tabs-active":String(a===o),onClick:()=>e(o),children:r});Fe.defaultProps={size:"M",view:"H"};const lr={Section:tr,Main:nr,Item:ar,Tabs:Fe},W={h:"_h_158b4_1",t:"_t_158b4_11",s:"_s_158b4_31",u:"_u_158b4_40",o:"_o_158b4_47",l:"_l_158b4_56",hh:"_hh_158b4_63"},Me=({title:e,children:r})=>n.jsxs("div",{className:W.h,children:[n.jsx("div",{className:W.t,children:e}),r]}),cr=({children:e,title:r})=>n.jsxs("div",{className:W.o,children:[r&&n.jsx("div",{className:W.hh,children:r}),e]}),dr=({children:e})=>n.jsx("div",{className:W.u,children:e}),Ne=({children:e})=>n.jsx("div",{className:W.s,children:e}),Oe=({children:e,...r})=>n.jsx("div",{className:W.l,children:e}),ur={Header:Me,Section:Ne,List:Oe,U:dr,L:Oe,O:cr,S:Ne,H:Me},fr={Send:ft,Error:pt,Remark:mt,Success:_t,Copy:xt},pr={Send:vt};function _r(){return n.jsx("svg",{viewBox:"0 0 462.86 359.96",children:n.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const mr={Logo:_r},xr={setSSID:Tt,getSSID:It,Logaut:q,setAUTH:Pt,getAUTH:zt,Start:Rt,setSetting:Ut,getSetting:Vt,setMenu:Ht,getMenu:qt,useSort:Gt,setSort:Ie,getSort:pe},gr={Path:Wt,setPage:Ft,getPage:Re,usePage:$t,setModule:Nt,getModule:Te,useModule:Mt,setTabs:At,getTabs:oe,useTabs:Ot,useId:Dt,setId:Bt,subId:Lt,getId:Yt},hr={sort:"_sort_1yrvt_1"};let ie={};function br(e,r){switch(r.type){case"active":let o="<";return e.active===r.data&&(o=e.sort==="<"?">":"<"),ie.get({active:r.data,sort:o},!1),Ie({active:r.data,sort:o}),{...e,active:r.data,sort:o};default:throw new Error}}function vr(){const[e,r]=j.useReducer(br,pe()===void 0?{active:1,sort:"<"}:pe());return n.jsxs("div",{className:hr.sort,children:[n.jsx("i",{"data-color":e.active===1?"_506290":"_b5b9cc","data-icon":e.active===1?e.sort==="<"?"F073":"F072":"F071",onClick:()=>r({type:"active",data:1})}),n.jsx("i",{"data-color":e.active===2?"_506290":"_b5b9cc","data-icon":e.active===2?e.sort==="<"?"F066":"F067":"F074",onClick:()=>r({type:"active",data:2})}),n.jsx("i",{"data-color":e.active===3?"_506290":"_b5b9cc","data-icon":e.active===3?e.sort==="<"?"F068":"F069":"F070",onClick:()=>r({type:"active",data:3})})]})}function yr(e){ie.get=e}function wr(e){ie.set(e)}function kr(e,r,o){let a=1,c=0,x={},l=50;x[a]=[];let u={},d="s1a";switch(u.s1a=(f,p)=>p.s1-f.s1,u.s1d=(f,p)=>f.s1-p.s1,u.s2a=(f,p)=>f.s2-p.s2,u.s2d=(f,p)=>p.s2-f.s2,u.s3a=(f,p)=>f.s3.localeCompare(p.s3),u.s3d=(f,p)=>p.s3.localeCompare(f.s3),o.active){case 1:d=o.sort===">"?"s1d":"s1a";break;case 2:d=o.sort===">"?"s2d":"s2a";break;case 3:d=o.sort===">"?"s3d":"s3a";break}return r.sort(u[d]).forEach(f=>{c++,c<=l||(a++,c=1,x[a]=[]),x[a].push(e[f.id])}),{data:x}}function jr(e){ie.count(e)}const Sr={Init:vr,useValue:yr,Set:wr,Run:kr,Count:jr};function Cr(e,r){r===void 0?(r=e,e=new Date):e=new Date(e);let o={yyyy:e.getFullYear(),yy:(""+e.getFullYear()).slice(-2),mm:("0"+(e.getMonth()+1)).slice(-2),dd:("0"+e.getDate()).slice(-2),HH:("0"+e.getHours()).slice(-2),MM:("0"+e.getMinutes()).slice(-2),SS:("0"+e.getSeconds()).slice(-2),__:"      ",_:"    "};for(const a in o)r=r.replace(a,o[a]);return r}function Er(e){let r=["Января","Февраля","Марта","Апреля","Мая","Июня","Июля","Августа","Сентября","Октября","Ноября","Декабря"],o=new Date(e);return{day:(""+o.getFullYear()).slice(-2)+""+("0"+(o.getMonth()+1)).slice(-2)+("0"+o.getDate()).slice(-2),name:o.getDate()+" "+r[o.getMonth()]}}const Rr=e=>{function r(N,B){var U,ae,G;N=N??"",B=B??1;for(var U=[],G=0,ae=N.length;G<ae;)U.push(N.slice(G,G+=B));return U}function o(N,B){var U=[2,0,1,1,1,2];return B[N>4&&N<20?2:U[Math.min(N,5)]]}var a={null:"ноль",a1:["один","два","три","четыре","пять","шесть","семь","восемь","девять"],a2:["одна","две","три","четыре","пять","шесть","семь","восемь","девять"],a10:["десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],a20:["двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],a100:["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],uc:["копейка","копейки","копеек"],ur:["рубль","рубля","рублей"],u3:["тысяча","тысячи","тысяч"],u2:["миллион","миллиона","миллионов"],u1:["миллиард","миллиарда","миллиардов"]},c,x,l,u,M,d,f,te,p,b,w,I;p=parseFloat(e).toFixed(2).split("."),d=p[0],u=p[1];var F=12-d.length;if(F<0)return!1;for(var te=[];F--;)te.push("0");d=te.join("")+d;var M=[];if(d>0){b=r(d,3);for(var z=-1;z<b.length;z++)if(f=b[z],f>0&&(w=r(f,1),c=parseInt(w[0]),x=parseInt(w[1]),l=parseInt(w[2]),M.push(a.a100[c-1]),I=z+1==3?"a2":"a1",x>1?M.push(a.a20[x-2]+(l>0?" "+a[I][l-1]:"")):M.push(x>0?a.a10[l]:a[I][l-1]),b.length>z+1)){var E=a["u"+(z+1)];M.push(o(f,E))}}else M.push(a.null);return M.push(o(d,a.ur)),M.push(u+" "+o(u,a.uc)),M.join(" ").replace(RegExp(" {2,}","g")," ").trimLeft()};function Tr(e){let r=-1,o=[" kB"," MB"," GB"," TB","PB","EB","ZB","YB"];do e=e/1024,r++;while(e>1024);return Math.max(e,.1).toFixed(1)+o[r]}function Ir(e){let r={};return r["application/atom+xml"]="atom",r["application/json"]="json",r["application/javascript"]="js",r["application/ogg"]="ogg",r["application/pdf"]="pdf",r["application/soap+xml"]="soap",r["application/font-woff"]="woff",r["application/xhtml+xml"]="xml",r["application/xml-dtd"]="dtd",r["application/xop+xml"]="xop",r["application/zip"]="zip",r["application/gzip"]="gzip",r["application/x-bittorrent"]="bittorrent",r["application/x-tex"]="tex",r["application/xml"]="xml",r["application/msword"]="doc",r["image/svg+xml"]="svg",r[e]}function Pr(e,r,o,a){let c={sexM:"m",sexF:"f",gcaseIm:"nominative",gcaseNom:"nominative",gcaseRod:"genitive",gcaseGen:"genitive",gcaseDat:"dative",gcaseVin:"accusative",gcaseAcc:"accusative",gcaseTvor:"instrumentative",gcaseIns:"instrumentative",gcasePred:"prepositional",gcasePos:"prepositional",rules:{lastName:{exceptions:[" дюма,тома,дега,люка,ферма,гамарра,петипа,шандра . . . . ."," гусь,ремень,камень,онук,богода,нечипас,долгопалец,маненок,рева,кива . . . . ."," вий,сой,цой,хой -я -ю -я -ем -е"],suffixes:["f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ,ь . . . . .","f ска,цка -ой -ой -ую -ой -ой","f ая --ой --ой --ую --ой --ой"," ская --ой --ой --ую --ой --ой","f на -ой -ой -у -ой -ой"," иной -я -ю -я -ем -е"," уй -я -ю -я -ем -е"," ца -a -е -у -ей -е"," рих а у а ом е"," ия . . . . ."," иа,аа,оа,уа,ыа,еа,юа,эа . . . . ."," их,ых . . . . ."," о,е,э,и,ы,у,ю . . . . ."," ова,ева -ой -ой -у -ой -ой"," га,ка,ха,ча,ща,жа -и -е -у -ой -е"," ца -и -е -у -ей -е"," а -ы -е -у -ой -е"," ь -я -ю -я -ем -е"," ия -и -и -ю -ей -и"," я -и -е -ю -ей -е"," ей -я -ю -я -ем -е"," ян,ан,йн а у а ом е"," ынец,обец --ца --цу --ца --цем --це"," онец,овец --ца --цу --ца --цом --це"," ц,ч,ш,щ а у а ем е"," ай -я -ю -я -ем -е"," гой,кой -го -му -го --им -м"," ой -го -му -го --ым -м"," ах,ив а у а ом е"," ший,щий,жий,ний --его --ему --его -м --ем"," кий,ый --ого --ому --ого -м --ом"," ий -я -ю -я -ем -и"," ок --ка --ку --ка --ком --ке"," ец --ца --цу --ца --цом --це"," в,н а у а ым е"," б,г,д,ж,з,к,л,м,п,р,с,т,ф,х а у а ом е"]},firstName:{exceptions:[" лев --ьва --ьву --ьва --ьвом --ьве"," павел --ла --лу --ла --лом --ле","m шота . . . . .","m пётр ---етра ---етру ---етра ---етром ---етре","f рашель,нинель,николь,габриэль,даниэль . . . . ."],suffixes:[" е,ё,и,о,у,ы,э,ю . . . . .","f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ . . . . .","f ь -и -и . ю -и","m ь -я -ю -я -ем -е"," га,ка,ха,ча,ща,жа -и -е -у -ой -е"," ша -и -е -у -ей -е"," а -ы -е -у -ой -е"," ия -и -и -ю -ей -и"," я -и -е -ю -ей -е"," ей -я -ю -я -ем -е"," ий -я -ю -я -ем -и"," й -я -ю -я -ем -е"," б,в,г,д,ж,з,к,л,м,н,п,р,с,т,ф,х,ц,ч а у а ом е"]},middleName:{suffixes:[" ич а у а ем е"," на -ы -е -у -ой -е"]}},initialized:!1,init:function(){this.initialized||(this.prepareRules(),this.initialized=!0)},prepareRules:function(){for(var l in this.rules)for(var u in this.rules[l])for(var d=0,f=this.rules[l][u].length;d<f;d++)this.rules[l][u][d]=this.rule(this.rules[l][u][d])},rule:function(l){var u=l.match(/^\s*([fm]?)\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*$/);return u?{sex:u[1],test:u[2].split(","),mods:[u[3],u[4],u[5],u[6],u[7]]}:!1},word:function(l,u,d,f){if(f===this.gcaseNom)return l;if(l.match(/[-]/)){for(var p=l.split("-"),b=0,w=p.length;b<w;b++)p[b]=this.word(p[b],u,d,f);return p.join("-")}if(l.match(/^[А-ЯЁ]\.?$/i))return l;this.init();var I=this.rules[d];let F;return I.exceptions&&(F=this.pick(l,u,f,I.exceptions,!0),F)?F:(F=this.pick(l,u,f,I.suffixes,!1),F||l)},pick:function(l,u,d,f,p){let b=l.toLowerCase();for(var w=0,I=f.length;w<I;w++)if(this.ruleMatch(b,u,f[w],p))return this.applyMod(l,d,f[w]);return!1},ruleMatch:function(l,u,d,f){if(d.sex===this.sexM&&u===this.sexF||d.sex===this.sexF&&u!==this.sexF)return!1;for(var p=0,b=d.test.length;p<b;p++){var w=f?l:l.substr(Math.max(l.length-d.test[p].length,0));if(w===d.test[p])return!0}return!1},applyMod:function(l,u,d){let f;switch(u){case this.gcaseNom:f=".";break;case this.gcaseGen:f=d.mods[0];break;case this.gcaseDat:f=d.mods[1];break;case this.gcaseAcc:f=d.mods[2];break;case this.gcaseIns:f=d.mods[3];break;case this.gcasePos:f=d.mods[4];break}for(var p=0,b=f.length;p<b;p++){var w=f.substr(p,1);switch(w){case".":break;case"-":l=l.substr(0,l.length-1);break;default:l+=w}}return l},getSex:()=>{if(c.mn.length>2)switch(c.mn.substr(c.mn.length-2)){case"ич":return"m";case"на":return"f"}return""},fullName:l=>((c.fullNameSurnameLast?"":c.lastName(l)+" ")+c.firstName(l)+" "+c.middleName(l)+(c.fullNameSurnameLast?" "+c.lastName(l):"")).replace(/^ +| +$/g,""),lastName:l=>c.word(c.ln,c.sex,"lastName",l),firstName:l=>c.word(c.fn,c.sex,"firstName",l),middleName:l=>c.word(c.mn,c.sex,"middleName",l)};if(typeof r>"u"){var x=e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);if(!x)return"Cannot parse supplied name";x[5]&&x[3].match(/(ич|на)$/)&&!x[5].match(/(ич|на)$/)?(e=x[5],r=x[1],o=x[3],c.fullNameSurnameLast=!0):(e=x[1],r=x[3],o=x[5])}return c.ln=e,c.fn=r||"",c.mn=o||"",c.sex=a||c.getSex(),c}function zr(e){let r=e.split(" ");switch(r.length){case 2:return r[0]+" "+r[1].substring(0,1)+".";case 3:return r[0]+" "+r[1].substring(0,1)+"."+r[2].substring(0,1)+".";default:return e}}function $r(e){return{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентебря",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[e]}function Fr(e){return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}function Mr(e,r){let o=r+"";for(;o.length<e;)o="0"+o;return o}function Nr(e,r,o){let a=r/e*o;return(typeof a!="number"||a===1/0)&&(a=0),parseFloat(a).toFixed(1)}function Or(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Ar={Date:Cr,MoneyString:Rr,DateSort:Er,Size:Tr,TypeFiles:Ir,Cases:Pr,Initials:zr,Month:$r,Money:Fr,Number:Mr,Percent:Nr,CapitalizeFirstLetter:Or};k.Action=$e,k.Alert=pr,k.Browser=Qt,k.Button=Se,k.Component=ur,k.Format=Ar,k.Icon=mr,k.Init=Pe,k.Modal=Ce,k.Notice=fr,k.Router=gr,k.Setting=lr,k.Store=xr,k.Tabs=ze,k.Triage=Sr,Object.defineProperty(k,Symbol.toStringTag,{value:"Module"})});
28
+ Check the top-level render call using <`+s+">.")}return a}}function lt(t,a){{if(!t._store||t._store.validated||t.key!=null)return;t._store.validated=!0;var s=En(a);if(st[s])return;st[s]=!0;var _="";t&&t._owner&&t._owner!==we.current&&(_=" It was passed a child from "+A(t._owner.type)+"."),K(t),I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,_),K(null)}}function ct(t,a){{if(typeof t!="object")return;if(ve(t))for(var s=0;s<t.length;s++){var _=t[s];je(_)&&lt(_,a)}else if(je(t))t._store&&(t._store.validated=!0);else if(t){var v=M(t);if(typeof v=="function"&&v!==t.entries)for(var y=v.call(t),h;!(h=y.next()).done;)je(h.value)&&lt(h.value,a)}}}function In(t){{var a=t.type;if(a==null||typeof a=="string")return;var s;if(typeof a=="function")s=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===d||a.$$typeof===b))s=a.propTypes;else return;if(s){var _=A(a);_n(s,t.props,"prop",_,t)}else if(a.PropTypes!==void 0&&!ke){ke=!0;var v=A(a);I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Rn(t){{for(var a=Object.keys(t.props),s=0;s<a.length;s++){var _=a[s];if(_!=="children"&&_!=="key"){K(t),I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_),K(null);break}}t.ref!==null&&(K(t),I("Invalid attribute `ref` supplied to `React.Fragment`."),K(null))}}function dt(t,a,s,_,v,y){{var h=sn(t);if(!h){var g="";(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(g+=" 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 R=Cn(v);R?g+=R:g+=at();var C;t===null?C="null":ve(t)?C="array":t!==void 0&&t.$$typeof===r?(C="<"+(A(t.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?"):C=typeof t,I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,g)}var E=Sn(t,a,s,v,y);if(E==null)return E;if(h){var z=a.children;if(z!==void 0)if(_)if(ve(z)){for(var X=0;X<z.length;X++)ct(z[X],t);Object.freeze&&Object.freeze(z)}else I("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 ct(z,t)}return t===i?Rn(E):In(E),E}}function Tn(t,a,s){return dt(t,a,s,!0)}function Pn(t,a,s){return dt(t,a,s,!1)}var $n=Pn,zn=Tn;ee.Fragment=i,ee.jsx=$n,ee.jsxs=zn}()),ee}process.env.NODE_ENV==="production"?_e.exports=ft():_e.exports=pt();var o=_e.exports;const _t={notice:"_notice_820sc_2",error:"_error_820sc_9",success:"_success_820sc_12",remark:"_remark_820sc_15",copy:"_copy_820sc_18","show-notice":"_show-notice_820sc_1","hide-notice":"_hide-notice_820sc_1"};let L={};function mt(){let[e,r]=j.useState([]);return L.set=n=>{r([...e,n])},L.del=n=>{r(e.filter(i=>i.key!==n))},e.length===0?"":o.jsx("ul",{className:_t.notice,children:e.map(n=>n.item)})}function te({data:e}){let[r,n]=j.useState("show");j.useEffect(()=>{setTimeout(function(){n("hide")},1800),setTimeout(function(){L.del(e.key)},2500)},[e.key]);let i,c;switch(e.type){case"error":i=o.jsx(U.error,{}),c="Ошибка:";break;case"success":i=o.jsx(U.success,{}),c="Информация:";break;case"copy":i=o.jsx(U.success,{}),c="Копирование:";break;case"remark":i=o.jsx(U.success,{}),c="Подсказка:";break;default:i=o.jsx(U.success,{}),c="Предупреждение:";break}return o.jsxs("li",{className:"item "+e.type,"data-status":r,children:[i,o.jsx("b",{children:c}),o.jsx("p",{children:e.text})]})}function xt(e){let r=Date.now(),n={key:r,...e};L.set({item:o.jsx(te,{data:n},r),key:r})}function gt(e){let r=Date.now(),n={key:r,text:e,type:"error"};L.set({item:o.jsx(te,{data:n},r),key:r})}function ht(e){let r=Date.now(),n={key:r,text:e,type:"success"};L.set({item:o.jsx(te,{data:n},r),key:r})}function bt(e){let r=Date.now(),n={key:r,text:e,type:"remark"};L.set({item:o.jsx(te,{data:n},r),key:r})}function vt(e){let r=Date.now(),n={key:r,text:e,type:"copy"};L.set({item:o.jsx(te,{data:n},r),key:r})}const U={};U.error=()=>o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[o.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#bb2014"}),o.jsx("path",{d:"M8.96967 8.96967C9.26256 8.67678 9.73744 8.67678 10.0303 8.96967L12 10.9394L13.9697 8.96969C14.2626 8.6768 14.7374 8.6768 15.0303 8.96969C15.3232 9.26258 15.3232 9.73746 15.0303 10.0303L13.0607 12L15.0303 13.9697C15.3232 14.2625 15.3232 14.7374 15.0303 15.0303C14.7374 15.3232 14.2625 15.3232 13.9696 15.0303L12 13.0607L10.0304 15.0303C9.73746 15.3232 9.26258 15.3232 8.96969 15.0303C8.6768 14.7374 8.6768 14.2626 8.96969 13.9697L10.9394 12L8.96967 10.0303C8.67678 9.73744 8.67678 9.26256 8.96967 8.96967Z",fill:"#fff"})]}),U.success=()=>o.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[o.jsx("path",{d:"M12 22C7.28595 22 4.92893 22 3.46447 20.5355C2 19.0711 2 16.714 2 12C2 7.28595 2 4.92893 3.46447 3.46447C4.92893 2 7.28595 2 12 2C16.714 2 19.0711 2 20.5355 3.46447C22 4.92893 22 7.28595 22 12C22 16.714 22 19.0711 20.5355 20.5355C19.0711 22 16.714 22 12 22Z",fill:"#367738"}),o.jsx("path",{d:"M16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z",fill:"#fff"})]});const yt={alerts:"_alerts_1e9y0_1",menuAnimation:"_menuAnimation_1e9y0_1",menuItemAnimation:"_menuItemAnimation_1e9y0_1","--body":"_--body_1e9y0_103",allert:"_allert_1e9y0_111","--form":"_--form_1e9y0_111"};let re={};function wt(){let[e,r]=j.useState("");return re.set=n=>r(n),re.del=()=>r(""),o.jsx(o.Fragment,{children:e})}const kt=({data:e,callback:r})=>(e.button=e.button===void 0?"Подтвердить":e.button,o.jsxs("div",{className:yt.alerts,children:[o.jsxs("dl",{children:[o.jsx("dt",{children:e.title}),o.jsx("dd",{children:e.text}),o.jsx("ul",{children:o.jsx("button",{"data-color":e.color||"blue",onClick:()=>{r(),re.del()},children:e.button})})]}),o.jsx("div",{className:"--body",onClick:re.del})]}));function jt(e,r){re.set(o.jsx(kt,{data:e,callback:r}))}function St({children:e}){return o.jsx("div",{className:"l",children:o.jsx("ul",{children:e})})}function Ct({children:e}){return o.jsx("div",{className:"s",children:e})}const Ie=({children:e,disabled:r,label:n,onClick:i})=>{const c=x=>{r||i&&i(x)};return o.jsx("button",{disabled:r,onClick:c,children:n})},B={white:"_white_1iomo_14",black:"_black_1iomo_26",shake:"_shake_1iomo_1",modal:"_modal_1iomo_73",o:"_o_1iomo_83",w:"_w_1iomo_14",h:"_h_1iomo_106",l:"_l_1iomo_120",t:"_t_1iomo_158",m:"_m_1iomo_73",x:"_x_1iomo_166",s:"_s_1iomo_176",c:"_c_1iomo_181",f:"_f_1iomo_186",btn:"_btn_1iomo_229",g:"_g_1iomo_242","size-a":"_size-a_1iomo_294","size-s":"_size-s_1iomo_298","size-m":"_size-m_1iomo_302","size-l":"_size-l_1iomo_306","size-x":"_size-x_1iomo_310","size-f":"_size-f_1iomo_314",confirm:"_confirm_1iomo_320",cancel:"_cancel_1iomo_325",disabled:"_disabled_1iomo_330",await:"_await_1iomo_337",active:"_active_1iomo_387",coincidence:"_coincidence_1iomo_393"};let J={};const Et=({config:e})=>{let[r,n]=j.useState([]);return J.x=()=>{n([])},J.config=e,J.add=i=>{n([...r,i])},o.jsx(o.Fragment,{children:r.map(i=>i)})},It=({children:e,title:r,button:n,tabs:i,size:c="m",menu:x})=>{const[l,u]=j.useState(!0),d=j.useRef(),f=b=>{if(n&&n.onClick)return n.onClick({closed:u,disabled:b})},p=()=>{d.current.setAttribute("shake",!0),setTimeout(()=>{d.current.setAttribute("shake",!1)},1e3)};return o.jsx(o.Fragment,{children:l?o.jsxs("div",{className:`${B.modal} ${B.white}`,children:[o.jsx("div",{className:B.o,onClick:p}),o.jsxs("div",{className:B.w,ref:d,children:[o.jsxs("div",{className:B.h,children:[o.jsx("div",{className:B.t,children:r}),o.jsxs("div",{className:B.m,children:[i&&o.jsx("nav",{children:i.map((b,w)=>o.jsx("span",{onClick:b.onClick,className:b.active?"active":"",children:b.name},w))}),x]}),o.jsx("div",{className:B.x,onClick:()=>{u(!1)},children:o.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:o.jsx("path",{d:"M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})})})]}),e,n!==void 0?o.jsx(Ie,{label:String(n.name),onClick:f}):""]})]}):""})},Rt=e=>{J.add(o.jsx(Tt,{children:e},String(Date.now())))},Tt=({children:e})=>o.jsx(o.Fragment,{children:e}),Re={List:St,Scroll:Ct,Init:Et,Main:It,Add:Rt,Icon:({type:e,name:r,params:n})=>{let[i,c]=j.useState(null);return j.useEffect(()=>{J.config(e,r,n,c)},[n.id]),o.jsx(o.Fragment,{children:i})},Open:(e,r,n)=>{J.config(e,r,n)}};let S={};const m={},P={},Te={},Pe={},V={};function Pt(e,r){if(S=e,localStorage.getItem("ssid")){let i=sessionStorage.getItem("page");i?(i=S.deCode(i),m.id=i.id,m.tab=i.tab,m.page=i.page,m.module=i.module,m.time=i.time,m.payment={active:!0},m.module_admin=i.module_admin):(m.id=0,m.tab="",m.page="Main",m.module=m.module||"M05")}else["ssid","menu","temp","user","sett","qder","c","last","auth","port","mark","sort"].forEach(i=>localStorage.removeItem(i)),["page"].forEach(i=>sessionStorage.removeItem(i)),m.id=0,m.tab="",m.page="Auth",m.module="M00";return r}function N(){["ssid","menu","temp","user","sett","qder","c","last","auth","port","mark","sort"].forEach(e=>localStorage.removeItem(e)),["page"].forEach(e=>sessionStorage.removeItem(e)),window.location.reload()}function $t(e){e=e.split("/"),m.page="Main",m.module=e[0],m.tab=e[1],m.id=0,sessionStorage.setItem("page",S.enCode({module:m.module,page:m.page,tab:m.tab,id:m.id,time:new Date().getTime()})),P.page(m.page)}function zt(e){return localStorage.setItem("ssid",e)}function Ft(){let e=localStorage.getItem("ssid");return e!==""&&e!=="undefined"&&e!==null?localStorage.getItem("ssid"):(N(),!1)}function Mt(e){return localStorage.setItem("auth",e)}function Ot(){let e=localStorage.getItem("auth");return e!==""&&e!=="undefined"&&e!==null?e:(N(),!1)}function Nt(e){localStorage.setItem("port",S.enCode(e))}function At(){let e=localStorage.getItem("port");if(e!==""&&e!=="undefined"&&e!==null){let r=S.deCode(e);return r||N(),r}else return N(),!1}function Dt(){const[e,r]=j.useState($e()),n=i=>{r(i)};return P.page=n,[e]}function Lt(e){m.page=e,sessionStorage.setItem("page",S.enCode(m)),P.page(e)}function $e(){return m.page}function Bt(){const[e,r]=j.useState(ze()),n=i=>{r(i)};return P.module=n,[e]}function Yt(e,r){m.module=e,sessionStorage.setItem("page",S.enCode(m)),r!=="false"&&P.module(e)}function ze(){return m.module}function Wt(e){const[r,n]=j.useState(ae()||e),i=c=>{n(c)};return P.tabs=i,[r]}function Ut(e,r){m.tab=e,sessionStorage.setItem("page",S.enCode(m)),r!=="false"&&P.tabs(e)}function ae(){return m.tab}function Vt(){const[e,r]=j.useState(m.id),n=i=>{r(i)};return P.id=n,[e]}function qt(e){P.id=e}function Ht(e,r){m.id=e,sessionStorage.setItem("page",S.enCode(m)),r!=="false"&&P.id(e)}function Gt(){return m.id}function Jt(e,r,n){m.module=e,m.id=n,m.tab=r,sessionStorage.setItem("page",S.enCode(m)),P.module(e),P.tabs(r)}function Zt(e,r){Te.data[e]=r,localStorage.setItem("sett",S.enCode(Te.data))}function Kt(e){let r=localStorage.getItem("sett");return r===null?{}:(r=S.deCode(r),r?e!==void 0?r[e]:r:N())}function Xt(e){localStorage.setItem("menu",S.enCode({data:e}))}function Qt(){let e=localStorage.getItem("menu");if(e!==""&&e!=="undefined"&&e!==null){let r=localStorage.getItem("menu"),n=S.deCode(r);n||N();const i=(x,l)=>{let u=l+"";for(;u.length<x;)u="0"+u;return u};return n.data.split(",").map(x=>"M"+i(2,x))}else return N(),!1}function er(e){P.sort=e}function Fe(e){let r=localStorage.getItem("sort");r=r===null?{}:S.deCode(r),r[ae()]=e,localStorage.setItem("sort",S.enCode(r))}function me(){let e=localStorage.getItem("sort");return e===null?{}:(e=S.deCode(e),e=e[ae()],e=e===void 0?{active:1,sort:"<"}:e,e)}function tr(e){localStorage.setItem("c",S.enCode(e))}function rr(e){let r=localStorage.getItem("c");if(r!==""&&r!=="undefined"&&r!==null){let n=S.deCode(r);return n||N(),e===void 0?n:n[e]}else return N(),!1}function nr(e){V.data=e,localStorage.setItem("qder",S.enCode(V.data))}function or(e,r){if(!V.data){let n=localStorage.getItem("qder");n&&(V.data=S.deCode(n))}return e===void 0&&r===void 0?V.data:e!==void 0&&r===void 0?V.data[e]:V.data[e][r]}function ir(e){Pe.data=e}function ar(e){return Pe.data[e]}function sr(e){m.payment=e}function lr(){return m.payment}const Me=({children:e,config:r,crypto:n,...i})=>Pt(n,o.jsxs(o.Fragment,{children:[o.jsx(Re.Init,{config:r.modal}),o.jsx(mt,{}),o.jsx(wt,{}),e]})),cr=({children:e,...r})=>o.jsx("menu",{children:e}),dr=({children:e,...r})=>o.jsxs("header",{children:["xz",e]}),ur={payment:"_payment_1lxfv_1"};function fr(){let[e,r]=j.useState({});return!e.active&&!e.payment?"":o.jsx("div",{className:ur.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const pr=({children:e,...r})=>{let n={};return n.enCode=i=>JSON.stringify(i).toString(),n.deCode=i=>JSON.parse(i),o.jsxs("div",{className:"app",children:[o.jsx(fr,{}),o.jsx(cr,{}),o.jsx(dr,{}),o.jsx(Me,{config:{modal:{}},crypto:n}),e]})},Oe=({list:e,onClick:r,active:n,size:i,view:c})=>o.jsx("nav",{children:o.jsx("ul",{className:[i,c].join(" "),children:e.map(x=>o.jsx(_r,{onClick:r,active:n,label:x.label,link:x.link},x.link))})}),_r=({onClick:e,label:r,link:n,active:i})=>o.jsx("li",{"tabs-active":String(i===n),onClick:()=>e(n),children:r});Oe.defaultProps={size:"M",view:"H"};const mr=({title:e="",button:r,description:n="",children:i})=>o.jsxs("fieldset",{children:[e&&o.jsxs("legend",{children:[e,r&&o.jsx("div",{role:"button-outline",onClick:()=>r.onClick(),children:r.label})," "]}),o.jsx("ul",{children:i}),n&&o.jsx("article",{children:n})]}),xr={setting:"_setting_1r0pc_2"},gr=({children:e})=>o.jsx("div",{className:xr.setting,children:e}),hr=({label:e,children:r})=>{let[n,i]=j.useState(!1);return o.jsxs("li",{"data-item":"accordion",children:[o.jsxs("dl",{onClick:()=>i(!n),children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:o.jsx("div",{"data-close":String(n)})})]}),n&&o.jsx("div",{children:r})]})},br=({label:e,onClick:r,button:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"button",onClick:()=>r(),children:n})]})}),Ne={Switch:({active:e,onClick:r})=>(console.log(e),e=typeof e=="number"?!!e:e,o.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),r()},"aria-checked":e?"true":"false"}))},vr={Accordion:hr,Button:br,Switch:({label:e,onClick:r,active:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:o.jsx(Ne.Switch,{onClick:r,active:n})})]})}),Info:({label:e,info:r})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"info",children:r})]})}),Select:({label:e,active:r,options:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"info",children:r})]})}),Component:({label:e,children:r})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:r})]})}),Node:({label:e,children:r})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:r})]})})};function Ae({list:e,onClick:r,active:n,size:i,view:c}){return o.jsx("nav",{children:o.jsx("ul",{className:[i,c].join(" "),children:e.map(x=>o.jsx(yr,{onClick:r,active:n,label:x.label,link:x.link},x.link))})})}const yr=({onClick:e,label:r,link:n,active:i})=>o.jsx("li",{"tabs-active":String(i===n),onClick:()=>e(n),children:r});Ae.defaultProps={size:"M",view:"H"};const wr={Section:mr,Main:gr,Item:vr,Tabs:Ae},q={h:"_h_158b4_1",t:"_t_158b4_11",s:"_s_158b4_31",u:"_u_158b4_40",o:"_o_158b4_47",l:"_l_158b4_56",hh:"_hh_158b4_63"},De=({title:e,children:r})=>o.jsxs("div",{className:q.h,children:[o.jsx("div",{className:q.t,children:e}),r]}),kr=({children:e,title:r})=>o.jsxs("div",{className:q.o,children:[r&&o.jsx("div",{className:q.hh,children:r}),e]}),jr=({children:e})=>o.jsx("div",{className:q.u,children:e}),Le=({children:e})=>o.jsx("div",{className:q.s,children:e}),Be=({children:e,...r})=>o.jsx("div",{className:q.l,children:e}),Sr={Header:De,Section:Le,List:Be,U:jr,L:Be,O:kr,S:Le,H:De},Cr={Send:xt,Error:gt,Remark:bt,Success:ht,Copy:vt},Er={Send:jt};function Ir(){return o.jsx("svg",{viewBox:"0 0 462.86 359.96",children:o.jsx("path",{d:"M210.5,307.78c-27,35.41-58.14,58-120.55,50.84-1-.12-1.58-.39-1.58-2V327.87c0-1.32.51-2.12,1.85-2,100.39-1,88.17-63.46,74.8-90.94-47.3-97.28-14.46-166.27,20.26-205.14,14.1-16.37,50.53-42,128.07-23.24,9.1,2,30.51,7.8,24.46,11.38C317.5,30,297.66,68.33,295,73.12c-3.62,6.59-6.26,13.17-4.57,14.13,2.37,1.35,3.5-1.56,6.58-7.91C319.78,34.41,366-22.76,402.78,37.68a1.14,1.14,0,0,1,.09.26c9.3,56.05,30.57,228.62-97.76,224.22-23.38-2-28.82-22-32.57-18.89-3.36,3,10,21.4,32.76,23.19C448.18,270.75,411.55,66.74,407.79,41.91a1.41,1.41,0,0,1,0-.3c2-7.32,129.15,17.47,112.77,158.08,4.82,6.57,10.89,10,18.7,16.08l.13.07c8.9,3.67,10.46,12.06,11.43,18.88a63.15,63.15,0,0,1-.14,15.49c-10.48-4.62-22.74-10.11-22.26-22.53.43-12,7.35-5.21-8.8-14.22a.69.69,0,0,0-1,.57c-.33,3.87-2.7,14.69-3,16.59v0c-4.64,17-16.59,86-18.41,99.58-.77,5.7-4.94,10.41-11.4,10.39l-56.71.18c-7.73.22-9.57-7.9-10.27-11.89-2.7-15.31-4.08-29.7-4.18-29.67-20.24,9.26-108.69,3.08-108.69,3.27V330c-.29,7.56-4.51,15.26-11.74,15.32l-52.87,1c-10.36.1-13.85-1.67-15.5-11.87-2.08-13.08-1-34.26-5.32-37.43-2,1.84-8.33,8.11-10,10.83M196.16,203q9.57,0,11.42-7.72c2.18-9.07-5.66-17.7-14.77-15.68-4.95,1.11-7.53,4.94-7.53,11.53C185.28,199,188.94,203,196.16,203Z",transform:"translate(-88.37 0)"})})}const Rr={Logo:Ir},Tr={setSSID:zt,getSSID:Ft,getPORT:At,setPORT:Nt,setAUTH:Mt,getAUTH:Ot,Logaut:N,Start:$t,setSetting:Zt,getSetting:Kt,setMenu:Xt,getMenu:Qt,useSort:er,setSort:Fe,getSort:me,setCompany:tr,getCompany:rr,setSelect:nr,getSelect:or,setApi:ir,getApi:ar,setPayment:sr,getPayment:lr},Pr={Path:Jt,setPage:Lt,getPage:$e,usePage:Dt,setModule:Yt,getModule:ze,useModule:Bt,setTabs:Ut,getTabs:ae,useTabs:Wt,useId:Vt,setId:Ht,subId:qt,getId:Gt},$r={sort:"_sort_1yrvt_1"};let se={};function zr(e,r){switch(r.type){case"active":let n="<";return e.active===r.data&&(n=e.sort==="<"?">":"<"),se.get({active:r.data,sort:n},!1),Fe({active:r.data,sort:n}),{...e,active:r.data,sort:n};default:throw new Error}}function Fr(){const[e,r]=j.useReducer(zr,me()===void 0?{active:1,sort:"<"}:me());return o.jsxs("div",{className:$r.sort,children:[o.jsx("i",{"data-color":e.active===1?"_506290":"_b5b9cc","data-icon":e.active===1?e.sort==="<"?"F073":"F072":"F071",onClick:()=>r({type:"active",data:1})}),o.jsx("i",{"data-color":e.active===2?"_506290":"_b5b9cc","data-icon":e.active===2?e.sort==="<"?"F066":"F067":"F074",onClick:()=>r({type:"active",data:2})}),o.jsx("i",{"data-color":e.active===3?"_506290":"_b5b9cc","data-icon":e.active===3?e.sort==="<"?"F068":"F069":"F070",onClick:()=>r({type:"active",data:3})})]})}function Mr(e){se.get=e}function Or(e){se.set(e)}function Nr(e,r,n){let i=1,c=0,x={},l=50;x[i]=[];let u={},d="s1a";switch(u.s1a=(f,p)=>p.s1-f.s1,u.s1d=(f,p)=>f.s1-p.s1,u.s2a=(f,p)=>f.s2-p.s2,u.s2d=(f,p)=>p.s2-f.s2,u.s3a=(f,p)=>f.s3.localeCompare(p.s3),u.s3d=(f,p)=>p.s3.localeCompare(f.s3),n.active){case 1:d=n.sort===">"?"s1d":"s1a";break;case 2:d=n.sort===">"?"s2d":"s2a";break;case 3:d=n.sort===">"?"s3d":"s3a";break}return r.sort(u[d]).forEach(f=>{c++,c<=l||(i++,c=1,x[i]=[]),x[i].push(e[f.id])}),{data:x}}function Ar(e){se.count(e)}const Dr={Init:Fr,useValue:Mr,Set:Or,Run:Nr,Count:Ar};function Lr(e,r){r===void 0?(r=e,e=new Date):e=new Date(e);let n={yyyy:e.getFullYear(),yy:(""+e.getFullYear()).slice(-2),mm:("0"+(e.getMonth()+1)).slice(-2),dd:("0"+e.getDate()).slice(-2),HH:("0"+e.getHours()).slice(-2),MM:("0"+e.getMinutes()).slice(-2),SS:("0"+e.getSeconds()).slice(-2),__:"      ",_:"    "};for(const i in n)r=r.replace(i,n[i]);return r}function Br(e){let r=["Января","Февраля","Марта","Апреля","Мая","Июня","Июля","Августа","Сентября","Октября","Ноября","Декабря"],n=new Date(e);return{day:(""+n.getFullYear()).slice(-2)+""+("0"+(n.getMonth()+1)).slice(-2)+("0"+n.getDate()).slice(-2),name:n.getDate()+" "+r[n.getMonth()]}}const Yr=e=>{function r(O,W){var H,le,Z;O=O??"",W=W??1;for(var H=[],Z=0,le=O.length;Z<le;)H.push(O.slice(Z,Z+=W));return H}function n(O,W){var H=[2,0,1,1,1,2];return W[O>4&&O<20?2:H[Math.min(O,5)]]}var i={null:"ноль",a1:["один","два","три","четыре","пять","шесть","семь","восемь","девять"],a2:["одна","две","три","четыре","пять","шесть","семь","восемь","девять"],a10:["десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],a20:["двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],a100:["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],uc:["копейка","копейки","копеек"],ur:["рубль","рубля","рублей"],u3:["тысяча","тысячи","тысяч"],u2:["миллион","миллиона","миллионов"],u1:["миллиард","миллиарда","миллиардов"]},c,x,l,u,M,d,f,ne,p,b,w,T;p=parseFloat(e).toFixed(2).split("."),d=p[0],u=p[1];var F=12-d.length;if(F<0)return!1;for(var ne=[];F--;)ne.push("0");d=ne.join("")+d;var M=[];if(d>0){b=r(d,3);for(var $=-1;$<b.length;$++)if(f=b[$],f>0&&(w=r(f,1),c=parseInt(w[0]),x=parseInt(w[1]),l=parseInt(w[2]),M.push(i.a100[c-1]),T=$+1==3?"a2":"a1",x>1?M.push(i.a20[x-2]+(l>0?" "+i[T][l-1]:"")):M.push(x>0?i.a10[l]:i[T][l-1]),b.length>$+1)){var I=i["u"+($+1)];M.push(n(f,I))}}else M.push(i.null);return M.push(n(d,i.ur)),M.push(u+" "+n(u,i.uc)),M.join(" ").replace(RegExp(" {2,}","g")," ").trimLeft()};function Wr(e){let r=-1,n=[" kB"," MB"," GB"," TB","PB","EB","ZB","YB"];do e=e/1024,r++;while(e>1024);return Math.max(e,.1).toFixed(1)+n[r]}function Ur(e){let r={};return r["application/atom+xml"]="atom",r["application/json"]="json",r["application/javascript"]="js",r["application/ogg"]="ogg",r["application/pdf"]="pdf",r["application/soap+xml"]="soap",r["application/font-woff"]="woff",r["application/xhtml+xml"]="xml",r["application/xml-dtd"]="dtd",r["application/xop+xml"]="xop",r["application/zip"]="zip",r["application/gzip"]="gzip",r["application/x-bittorrent"]="bittorrent",r["application/x-tex"]="tex",r["application/xml"]="xml",r["application/msword"]="doc",r["image/svg+xml"]="svg",r[e]}function Vr(e,r,n,i){let c={sexM:"m",sexF:"f",gcaseIm:"nominative",gcaseNom:"nominative",gcaseRod:"genitive",gcaseGen:"genitive",gcaseDat:"dative",gcaseVin:"accusative",gcaseAcc:"accusative",gcaseTvor:"instrumentative",gcaseIns:"instrumentative",gcasePred:"prepositional",gcasePos:"prepositional",rules:{lastName:{exceptions:[" дюма,тома,дега,люка,ферма,гамарра,петипа,шандра . . . . ."," гусь,ремень,камень,онук,богода,нечипас,долгопалец,маненок,рева,кива . . . . ."," вий,сой,цой,хой -я -ю -я -ем -е"],suffixes:["f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ,ь . . . . .","f ска,цка -ой -ой -ую -ой -ой","f ая --ой --ой --ую --ой --ой"," ская --ой --ой --ую --ой --ой","f на -ой -ой -у -ой -ой"," иной -я -ю -я -ем -е"," уй -я -ю -я -ем -е"," ца -a -е -у -ей -е"," рих а у а ом е"," ия . . . . ."," иа,аа,оа,уа,ыа,еа,юа,эа . . . . ."," их,ых . . . . ."," о,е,э,и,ы,у,ю . . . . ."," ова,ева -ой -ой -у -ой -ой"," га,ка,ха,ча,ща,жа -и -е -у -ой -е"," ца -и -е -у -ей -е"," а -ы -е -у -ой -е"," ь -я -ю -я -ем -е"," ия -и -и -ю -ей -и"," я -и -е -ю -ей -е"," ей -я -ю -я -ем -е"," ян,ан,йн а у а ом е"," ынец,обец --ца --цу --ца --цем --це"," онец,овец --ца --цу --ца --цом --це"," ц,ч,ш,щ а у а ем е"," ай -я -ю -я -ем -е"," гой,кой -го -му -го --им -м"," ой -го -му -го --ым -м"," ах,ив а у а ом е"," ший,щий,жий,ний --его --ему --его -м --ем"," кий,ый --ого --ому --ого -м --ом"," ий -я -ю -я -ем -и"," ок --ка --ку --ка --ком --ке"," ец --ца --цу --ца --цом --це"," в,н а у а ым е"," б,г,д,ж,з,к,л,м,п,р,с,т,ф,х а у а ом е"]},firstName:{exceptions:[" лев --ьва --ьву --ьва --ьвом --ьве"," павел --ла --лу --ла --лом --ле","m шота . . . . .","m пётр ---етра ---етру ---етра ---етром ---етре","f рашель,нинель,николь,габриэль,даниэль . . . . ."],suffixes:[" е,ё,и,о,у,ы,э,ю . . . . .","f б,в,г,д,ж,з,й,к,л,м,н,п,р,с,т,ф,х,ц,ч,ш,щ,ъ . . . . .","f ь -и -и . ю -и","m ь -я -ю -я -ем -е"," га,ка,ха,ча,ща,жа -и -е -у -ой -е"," ша -и -е -у -ей -е"," а -ы -е -у -ой -е"," ия -и -и -ю -ей -и"," я -и -е -ю -ей -е"," ей -я -ю -я -ем -е"," ий -я -ю -я -ем -и"," й -я -ю -я -ем -е"," б,в,г,д,ж,з,к,л,м,н,п,р,с,т,ф,х,ц,ч а у а ом е"]},middleName:{suffixes:[" ич а у а ем е"," на -ы -е -у -ой -е"]}},initialized:!1,init:function(){this.initialized||(this.prepareRules(),this.initialized=!0)},prepareRules:function(){for(var l in this.rules)for(var u in this.rules[l])for(var d=0,f=this.rules[l][u].length;d<f;d++)this.rules[l][u][d]=this.rule(this.rules[l][u][d])},rule:function(l){var u=l.match(/^\s*([fm]?)\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*$/);return u?{sex:u[1],test:u[2].split(","),mods:[u[3],u[4],u[5],u[6],u[7]]}:!1},word:function(l,u,d,f){if(f===this.gcaseNom)return l;if(l.match(/[-]/)){for(var p=l.split("-"),b=0,w=p.length;b<w;b++)p[b]=this.word(p[b],u,d,f);return p.join("-")}if(l.match(/^[А-ЯЁ]\.?$/i))return l;this.init();var T=this.rules[d];let F;return T.exceptions&&(F=this.pick(l,u,f,T.exceptions,!0),F)?F:(F=this.pick(l,u,f,T.suffixes,!1),F||l)},pick:function(l,u,d,f,p){let b=l.toLowerCase();for(var w=0,T=f.length;w<T;w++)if(this.ruleMatch(b,u,f[w],p))return this.applyMod(l,d,f[w]);return!1},ruleMatch:function(l,u,d,f){if(d.sex===this.sexM&&u===this.sexF||d.sex===this.sexF&&u!==this.sexF)return!1;for(var p=0,b=d.test.length;p<b;p++){var w=f?l:l.substr(Math.max(l.length-d.test[p].length,0));if(w===d.test[p])return!0}return!1},applyMod:function(l,u,d){let f;switch(u){case this.gcaseNom:f=".";break;case this.gcaseGen:f=d.mods[0];break;case this.gcaseDat:f=d.mods[1];break;case this.gcaseAcc:f=d.mods[2];break;case this.gcaseIns:f=d.mods[3];break;case this.gcasePos:f=d.mods[4];break}for(var p=0,b=f.length;p<b;p++){var w=f.substr(p,1);switch(w){case".":break;case"-":l=l.substr(0,l.length-1);break;default:l+=w}}return l},getSex:()=>{if(c.mn.length>2)switch(c.mn.substr(c.mn.length-2)){case"ич":return"m";case"на":return"f"}return""},fullName:l=>((c.fullNameSurnameLast?"":c.lastName(l)+" ")+c.firstName(l)+" "+c.middleName(l)+(c.fullNameSurnameLast?" "+c.lastName(l):"")).replace(/^ +| +$/g,""),lastName:l=>c.word(c.ln,c.sex,"lastName",l),firstName:l=>c.word(c.fn,c.sex,"firstName",l),middleName:l=>c.word(c.mn,c.sex,"middleName",l)};if(typeof r>"u"){var x=e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);if(!x)return"Cannot parse supplied name";x[5]&&x[3].match(/(ич|на)$/)&&!x[5].match(/(ич|на)$/)?(e=x[5],r=x[1],n=x[3],c.fullNameSurnameLast=!0):(e=x[1],r=x[3],n=x[5])}return c.ln=e,c.fn=r||"",c.mn=n||"",c.sex=i||c.getSex(),c}function qr(e){let r=e.split(" ");switch(r.length){case 2:return r[0]+" "+r[1].substring(0,1)+".";case 3:return r[0]+" "+r[1].substring(0,1)+"."+r[2].substring(0,1)+".";default:return e}}function Hr(e){return{1:{val:"01",name:"Январь",names:"Января",abc:"Янв"},2:{val:"02",name:"Февраль",names:"Февраля",abc:"Февр"},3:{val:"03",name:"Март",names:"Марта",abc:"Март"},4:{val:"04",name:"Апрель",names:"Апреля",abc:"Апр"},5:{val:"05",name:"Май",names:"Мая",abc:"Май"},6:{val:"06",name:"Июнь",names:"Июня",abc:"Июнь"},7:{val:"07",name:"Июль",names:"Июля",abc:"Июль"},8:{val:"08",name:"Август",names:"Августа",abc:"Авг"},9:{val:"09",name:"Сентябрь",names:"Сентебря",abc:"Сент"},10:{val:"10",name:"Октябрь",names:"Октября",abc:"Окт"},11:{val:"11",name:"Ноябрь",names:"Ноября",abc:"Нояб"},12:{val:"12",name:"Декабрь",names:"Декабря",abc:"Дек"}}[e]}function Gr(e){return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}function Jr(e,r){let n=r+"";for(;n.length<e;)n="0"+n;return n}function Zr(e,r,n){let i=r/e*n;return(typeof i!="number"||i===1/0)&&(i=0),parseFloat(i).toFixed(1)}function Kr(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Xr={Date:Lr,MoneyString:Yr,DateSort:Br,Size:Wr,TypeFiles:Ur,Cases:Vr,Initials:qr,Month:Hr,Money:Gr,Number:Jr,Percent:Zr,CapitalizeFirstLetter:Kr},xe={};function Qr(e,r){xe[e]=r}function en(e,r){xe[e]!==void 0&&xe[e](r)}const Y={};function tn(e,r){const[n,i]=j.useState(r);return j.useEffect(()=>{if(Y[e])return Y[e].push(i);Y[e]=[i]},[]),[n]}function rn(e,r){if(Y[e])return Y[e].push(r);Y[e]=[r]}function nn(e,r){Y[e]&&Y[e].forEach(n=>n(r))}const on={setListener:en,useListener:Qr,setEmitter:nn,useEmitter:tn,subEmitter:rn};k.Action=Ne,k.Alert=Er,k.Browser=pr,k.Button=Ie,k.Component=Sr,k.Event=on,k.Format=Xr,k.Icon=Rr,k.Init=Me,k.Modal=Re,k.Notice=Cr,k.Router=Pr,k.Setting=wr,k.Store=Tr,k.Tabs=Oe,k.Triage=Dr,Object.defineProperty(k,Symbol.toStringTag,{value:"Module"})});
@@ -0,0 +1,3 @@
1
+ export declare function useEmitter(name: string, value: any): any[];
2
+ export declare function subEmitter(name: string, callback: (p?: any) => any): any;
3
+ export declare function setEmitter(name: string, value: any): void;
@@ -0,0 +1,2 @@
1
+ export declare function useListener(name: string, listener: () => any): void;
2
+ export declare function setListener(name: string, o: any): void;
@@ -0,0 +1,11 @@
1
+ import { setEmitter, useEmitter, subEmitter } from './Emitter';
2
+ import { setListener, useListener } from './Listener';
3
+
4
+ declare const _default: {
5
+ setListener: typeof setListener;
6
+ useListener: typeof useListener;
7
+ setEmitter: typeof setEmitter;
8
+ useEmitter: typeof useEmitter;
9
+ subEmitter: typeof subEmitter;
10
+ };
11
+ export default _default;
@@ -39,4 +39,12 @@ export declare function getMenu(): any;
39
39
  export declare function useSort(l: any): void;
40
40
  export declare function setSort(o: any): void;
41
41
  export declare function getSort(): any;
42
+ export declare function setCompany(s: any): void;
43
+ export declare function getCompany(i: any): any;
44
+ export declare function setSelect(o: any): void;
45
+ export declare function getSelect(a: any, b: any): any;
46
+ export declare function setApi(o: any): void;
47
+ export declare function getApi(a: any): any;
48
+ export declare function setPayment(o: any): void;
49
+ export declare function getPayment(): any;
42
50
  export {};
@@ -1,11 +1,13 @@
1
- import { setSSID, getSSID, Logaut, setAUTH, getAUTH, Start, setSetting, getSetting, setMenu, getMenu, useSort, setSort, getSort } from './Store';
1
+ import { setSSID, getSSID, setAUTH, getAUTH, getPORT, setPORT, Logaut, Start, setSetting, getSetting, setMenu, getMenu, useSort, setSort, getSort, setCompany, getCompany, setSelect, getSelect, setApi, getApi, setPayment, getPayment } from './Store';
2
2
 
3
3
  declare const _default: {
4
4
  setSSID: typeof setSSID;
5
5
  getSSID: typeof getSSID;
6
- Logaut: typeof Logaut;
6
+ getPORT: typeof getPORT;
7
+ setPORT: typeof setPORT;
7
8
  setAUTH: typeof setAUTH;
8
9
  getAUTH: typeof getAUTH;
10
+ Logaut: typeof Logaut;
9
11
  Start: typeof Start;
10
12
  setSetting: typeof setSetting;
11
13
  getSetting: typeof getSetting;
@@ -14,5 +16,13 @@ declare const _default: {
14
16
  useSort: typeof useSort;
15
17
  setSort: typeof setSort;
16
18
  getSort: typeof getSort;
19
+ setCompany: typeof setCompany;
20
+ getCompany: typeof getCompany;
21
+ setSelect: typeof setSelect;
22
+ getSelect: typeof getSelect;
23
+ setApi: typeof setApi;
24
+ getApi: typeof getApi;
25
+ setPayment: typeof setPayment;
26
+ getPayment: typeof getPayment;
17
27
  };
18
28
  export default _default;
@@ -13,3 +13,4 @@ export { default as Store } from './Store/';
13
13
  export { default as Router } from './Router/';
14
14
  export { default as Triage } from './Triage/';
15
15
  export { default as Format } from './Format/';
16
+ export { default as Event } from './Event';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elcrm",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --open --port 4101",