elcrm 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1046 -893
- package/dist/index.umd.js +11 -11
- package/dist/lib/Socket/Socket.d.ts +4 -0
- package/dist/lib/Socket/index.d.ts +9 -0
- package/dist/lib/Store/Store.d.ts +3 -1
- package/dist/lib/Store/index.d.ts +3 -1
- package/dist/lib/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(w,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],k):(w=typeof globalThis<"u"?globalThis:w||self,k((w.elCRM=w.elCRM||{},w.elCRM.components={}),w.React))})(this,function(w,k){"use strict";var Ee=document.createElement("style");Ee.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(
|
|
1
|
+
(function(w,y){typeof exports=="object"&&typeof module<"u"?y(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],y):(w=typeof globalThis<"u"?globalThis:w||self,y((w.elCRM=w.elCRM||{},w.elCRM.components={}),w.React))})(this,function(w,y){"use strict";var Oe=document.createElement("style");Oe.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(Oe);let j={};const x={},z={},Fe={},Me={},V={};function Rt(e,t){if(j=e,localStorage.getItem("ssid")){let o=sessionStorage.getItem("page");o?(o=j.deCode(o),x.id=o.id,x.tab=o.tab,x.page=o.page,x.module=o.module,x.time=o.time,x.payment={active:!0},x.module_admin=o.module_admin):(x.id=0,x.tab="",x.page="Main",x.module=x.module||"M05")}else["ssid","menu","temp","user","sett","qder","c","last","auth","port","mark","sort"].forEach(o=>localStorage.removeItem(o)),["page"].forEach(o=>sessionStorage.removeItem(o)),x.id=0,x.tab="",x.page="Auth",x.module="M00";return t}function P(){["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 Tt(e){e=e.split("/"),x.page="Main",x.module=e[0],x.tab=e[1],x.id=0,sessionStorage.setItem("page",j.enCode({module:x.module,page:x.page,tab:x.tab,id:x.id,time:new Date().getTime()})),z.page(x.page)}function It(e){return localStorage.setItem("ssid",e)}function Nt(){let e=localStorage.getItem("ssid");return e!==""&&e!=="undefined"&&e!==null?localStorage.getItem("ssid"):(P(),!1)}function zt(e){return localStorage.setItem("auth",e)}function Pt(){let e=localStorage.getItem("auth");return e!==""&&e!=="undefined"&&e!==null?e:(P(),!1)}function Ot(e){localStorage.setItem("port",j.enCode(e))}function we(){let e=localStorage.getItem("port");if(e!==""&&e!=="undefined"&&e!==null){let t=j.deCode(e);return t||P(),t}else return P(),!1}function Ft(){const[e,t]=y.useState(Le()),r=o=>{t(o)};return z.page=r,[e]}function Mt(e){x.page=e,sessionStorage.setItem("page",j.enCode(x)),z.page(e)}function Le(){return x.page}function Lt(){const[e,t]=y.useState($e()),r=o=>{t(o)};return z.module=r,[e]}function $t(e,t){x.module=e,sessionStorage.setItem("page",j.enCode(x)),t!=="false"&&z.module(e)}function $e(){return x.module}function Zt(e){const[t,r]=y.useState(de()||e),o=l=>{r(l)};return z.tabs=o,[t]}function At(e,t){x.tab=e,sessionStorage.setItem("page",j.enCode(x)),t!=="false"&&z.tabs(e)}function de(){return x.tab}function Dt(){const[e,t]=y.useState(x.id),r=o=>{t(o)};return z.id=r,[e]}function Ut(e){z.id=e}function Wt(e,t){x.id=e,sessionStorage.setItem("page",j.enCode(x)),t!=="false"&&z.id(e)}function Yt(){return x.id}function Gt(e,t,r){x.module=e,x.id=r,x.tab=t,sessionStorage.setItem("page",j.enCode(x)),z.module(e),z.tabs(t)}function Vt(e,t){Fe.data[e]=t,localStorage.setItem("sett",j.enCode(Fe.data))}function Bt(e){let t=localStorage.getItem("sett");return t===null?{}:(t=j.deCode(t),t?e!==void 0?t[e]:t:P())}function Ze(e){localStorage.setItem("menu",j.enCode({data:e}))}function Xt(){let e=localStorage.getItem("menu");if(e!==""&&e!=="undefined"&&e!==null){let t=localStorage.getItem("menu"),r=j.deCode(t);r||P();const o=(f,c)=>{let u=c+"";for(;u.length<f;)u="0"+u;return u};return r.data.split(",").map(f=>"M"+o(2,f))}else return P(),!1}function Ht(e){z.sort=e}function Ae(e){let t=localStorage.getItem("sort");t=t===null?{}:j.deCode(t),t[de()]=e,localStorage.setItem("sort",j.enCode(t))}function ke(){let e=localStorage.getItem("sort");return e===null?{}:(e=j.deCode(e),e=e[de()],e=e===void 0?{active:1,sort:"<"}:e,e)}function De(e){localStorage.setItem("c",j.enCode(e))}function Jt(e){let t=localStorage.getItem("c");if(t!==""&&t!=="undefined"&&t!==null){let r=j.deCode(t);return r||P(),e===void 0?r:r[e]}else return P(),!1}function te(e){V.data=e,localStorage.setItem("qder",j.enCode(V.data))}function ne(e,t){if(!V.data){let r=localStorage.getItem("qder");r&&(V.data=j.deCode(r))}return e===void 0&&t===void 0?V.data:e!==void 0&&t===void 0?V.data[e]:V.data[e][t]}function Kt(e){Me.data=e}function Qt(e){return Me.data[e]}function qt(e){x.payment=e}function en(){return x.payment}function Ue(e){localStorage.setItem("user",j.enCode(e))}function tn(){let e=localStorage.getItem("user");if(e!==""&&e!=="undefined"&&e!==null){let t=j.deCode(e);return t||P(),t}else return P(),!1}const ue={setSSID:It,getSSID:Nt,getPORT:we,setPORT:Ot,setAUTH:zt,getAUTH:Pt,Logaut:P,Start:Tt,setSetting:Vt,getSetting:Bt,setMenu:Ze,getMenu:Xt,useSort:Ht,setSort:Ae,getSort:ke,setCompany:De,getCompany:Jt,setSelect:te,getSelect:ne,setApi:Kt,getApi:Qt,setPayment:qt,getPayment:en,setUser:Ue,getUser:tn},We="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO3ZhciBhPXtCQVNFX1VSTDoiLyIsTU9ERToicHJvZHVjdGlvbiIsREVWOiExLFBST0Q6ITAsU1NSOiExfTtvbm1lc3NhZ2U9YXN5bmMgdD0+e2NvbnNvbGUubG9nKGEuVklURV9VUkwpO3RyeXtsZXQgZT1hLlZJVEVfVVJMPT09ImxvY2FsaG9zdCI/Imh0dHA6Ly9sb2NhbGhvc3Q6MzUzNS8iOiJodHRwczovL2FwaS5lbGNybS5vbmxpbmUvIixzPWF3YWl0IGZldGNoKGAke2V9JHt0LmRhdGEubGlua31gLHttZXRob2Q6IlBPU1QiLGhlYWRlcnM6eyJDb250ZW50LXR5cGUiOiJhcHBsaWNhdGlvbi9qc29uO2NoYXJzZXQ9dXRmLTgiLHNzaWQ6dC5kYXRhLnNzaWR9LGJvZHk6SlNPTi5zdHJpbmdpZnkodC5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgcy5qc29uKCkpfWNhdGNoe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIn0pfX19KSgpOwo=",nn=e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0)),Ye=typeof window<"u"&&window.Blob&&new Blob([nn(We)],{type:"text/javascript;charset=utf-8"});function rn(e){let t;try{if(t=Ye&&(window.URL||window.webkitURL).createObjectURL(Ye),!t)throw"";const r=new Worker(t,{name:e==null?void 0:e.name});return r.addEventListener("error",()=>{(window.URL||window.webkitURL).revokeObjectURL(t)}),r}catch{return new Worker("data:text/javascript;base64,"+We,{name:e==null?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}function on(e){return"https://"+ue.getPORT().address+"/audio/"+e}function Ge(e,t={},r=ue.getAUTH()){return new Promise(o=>{const l=new rn;l.onmessage=f=>{o(f.data),l.terminate()},l.postMessage({link:e,data:t,ssid:r})})}async function an(e,t,r={}){try{return await(await Ge("https://"+e+"/"+t,{method:"POST",headers:{"Content-type":"application/json;charset=utf-8",ssid:ue.getAUTH()||""},body:JSON.stringify(r)})).json()}catch{return{status:"error"}}}const sn={audio:on,fetch:Ge,remoute:an};var Se={exports:{}},re={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var
|
|
10
|
+
*/var Ve;function ln(){if(Ve)return re;Ve=1;var e=y,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,l=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function c(u,d,p){var m,b={},S=null,N=null;p!==void 0&&(S=""+p),d.key!==void 0&&(S=""+d.key),d.ref!==void 0&&(N=d.ref);for(m in d)o.call(d,m)&&!f.hasOwnProperty(m)&&(b[m]=d[m]);if(u&&u.defaultProps)for(m in d=u.defaultProps,d)b[m]===void 0&&(b[m]=d[m]);return{$$typeof:t,type:u,key:S,ref:N,props:b,_owner:l.current}}return re.Fragment=r,re.jsx=c,re.jsxs=c,re}var oe={};/**
|
|
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
|
|
19
|
-
`+
|
|
20
|
-
`),I=
|
|
21
|
-
`),C=h.length-1,E=I.length-1;C>=1&&E>=0&&h[C]!==I[E];)E--;for(;C>=1&&E>=0;C--,E--)if(h[C]!==I[E]){if(C!==1||E!==1)do if(C--,E--,E<0||h[C]!==I[E]){var
|
|
22
|
-
`+h[C].replace(" at new "," at ");return
|
|
18
|
+
*/var Be;function cn(){return Be||(Be=1,process.env.NODE_ENV!=="production"&&function(){var e=y,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),L=Symbol.iterator,se="@@iterator";function $(n){if(n===null||typeof n!="object")return null;var a=L&&n[L]||n[se];return typeof a=="function"?a:null}var F=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function T(n){{for(var a=arguments.length,s=new Array(a>1?a-1:0),_=1;_<a;_++)s[_-1]=arguments[_];Z("error",n,s)}}function Z(n,a,s){{var _=F.ReactDebugCurrentFrame,v=_.getStackAddendum();v!==""&&(a+="%s",s=s.concat([v]));var k=s.map(function(g){return String(g)});k.unshift("Warning: "+a),Function.prototype.apply.call(console[n],console,k)}}var G=!1,H=!1,Q=!1,xe=!1,Nr=!1,ot;ot=Symbol.for("react.module.reference");function zr(n){return!!(typeof n=="string"||typeof n=="function"||n===o||n===f||Nr||n===l||n===p||n===m||xe||n===N||G||H||Q||typeof n=="object"&&n!==null&&(n.$$typeof===S||n.$$typeof===b||n.$$typeof===c||n.$$typeof===u||n.$$typeof===d||n.$$typeof===ot||n.getModuleId!==void 0))}function Pr(n,a,s){var _=n.displayName;if(_)return _;var v=a.displayName||a.name||"";return v!==""?s+"("+v+")":s}function it(n){return n.displayName||"Context"}function A(n){if(n==null)return null;if(typeof n.tag=="number"&&T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case o:return"Fragment";case r:return"Portal";case f:return"Profiler";case l:return"StrictMode";case p:return"Suspense";case m:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case u:var a=n;return it(a)+".Consumer";case c:var s=n;return it(s._context)+".Provider";case d:return Pr(n,n.render,"ForwardRef");case b:var _=n.displayName||null;return _!==null?_:A(n.type)||"Memo";case S:{var v=n,k=v._payload,g=v._init;try{return A(g(k))}catch{return null}}}return null}var J=Object.assign,le=0,at,st,lt,ct,dt,ut,ft;function pt(){}pt.__reactDisabledLog=!0;function Or(){{if(le===0){at=console.log,st=console.info,lt=console.warn,ct=console.error,dt=console.group,ut=console.groupCollapsed,ft=console.groupEnd;var n={configurable:!0,enumerable:!0,value:pt,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}le++}}function Fr(){{if(le--,le===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:J({},n,{value:at}),info:J({},n,{value:st}),warn:J({},n,{value:lt}),error:J({},n,{value:ct}),group:J({},n,{value:dt}),groupCollapsed:J({},n,{value:ut}),groupEnd:J({},n,{value:ft})})}le<0&&T("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ce=F.ReactCurrentDispatcher,Ee;function he(n,a,s){{if(Ee===void 0)try{throw Error()}catch(v){var _=v.stack.trim().match(/\n( *(at )?)/);Ee=_&&_[1]||""}return`
|
|
19
|
+
`+Ee+n}}var Re=!1,ge;{var Mr=typeof WeakMap=="function"?WeakMap:Map;ge=new Mr}function mt(n,a){if(!n||Re)return"";{var s=ge.get(n);if(s!==void 0)return s}var _;Re=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var k;k=Ce.current,Ce.current=null,Or();try{if(a){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(D){_=D}Reflect.construct(n,[],g)}else{try{g.call()}catch(D){_=D}n.call(g.prototype)}}else{try{throw Error()}catch(D){_=D}n()}}catch(D){if(D&&_&&typeof D.stack=="string"){for(var h=D.stack.split(`
|
|
20
|
+
`),I=_.stack.split(`
|
|
21
|
+
`),C=h.length-1,E=I.length-1;C>=1&&E>=0&&h[C]!==I[E];)E--;for(;C>=1&&E>=0;C--,E--)if(h[C]!==I[E]){if(C!==1||E!==1)do if(C--,E--,E<0||h[C]!==I[E]){var M=`
|
|
22
|
+
`+h[C].replace(" at new "," at ");return n.displayName&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",n.displayName)),typeof n=="function"&&ge.set(n,M),M}while(C>=1&&E>=0);break}}}finally{Re=!1,Ce.current=k,Fr(),Error.prepareStackTrace=v}var ee=n?n.displayName||n.name:"",Et=ee?he(ee):"";return typeof n=="function"&&ge.set(n,Et),Et}function Lr(n,a,s){return mt(n,!1)}function $r(n){var a=n.prototype;return!!(a&&a.isReactComponent)}function be(n,a,s){if(n==null)return"";if(typeof n=="function")return mt(n,$r(n));if(typeof n=="string")return he(n);switch(n){case p:return he("Suspense");case m:return he("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case d:return Lr(n.render);case b:return be(n.type,a,s);case S:{var _=n,v=_._payload,k=_._init;try{return be(k(v),a,s)}catch{}}}return""}var ve=Object.prototype.hasOwnProperty,_t={},xt=F.ReactDebugCurrentFrame;function ye(n){if(n){var a=n._owner,s=be(n.type,n._source,a?a.type:null);xt.setExtraStackFrame(s)}else xt.setExtraStackFrame(null)}function Zr(n,a,s,_,v){{var k=Function.call.bind(ve);for(var g in n)if(k(n,g)){var h=void 0;try{if(typeof n[g]!="function"){var I=Error((_||"React class")+": "+s+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw I.name="Invariant Violation",I}h=n[g](a,g,_,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(C){h=C}h&&!(h instanceof Error)&&(ye(v),T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",_||"React class",s,g,typeof h),ye(null)),h instanceof Error&&!(h.message in _t)&&(_t[h.message]=!0,ye(v),T("Failed %s type: %s",s,h.message),ye(null))}}}var Ar=Array.isArray;function Te(n){return Ar(n)}function Dr(n){{var a=typeof Symbol=="function"&&Symbol.toStringTag,s=a&&n[Symbol.toStringTag]||n.constructor.name||"Object";return s}}function Ur(n){try{return ht(n),!1}catch{return!0}}function ht(n){return""+n}function gt(n){if(Ur(n))return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Dr(n)),ht(n)}var ce=F.ReactCurrentOwner,Wr={key:!0,ref:!0,__self:!0,__source:!0},bt,vt,Ie;Ie={};function Yr(n){if(ve.call(n,"ref")){var a=Object.getOwnPropertyDescriptor(n,"ref").get;if(a&&a.isReactWarning)return!1}return n.ref!==void 0}function Gr(n){if(ve.call(n,"key")){var a=Object.getOwnPropertyDescriptor(n,"key").get;if(a&&a.isReactWarning)return!1}return n.key!==void 0}function Vr(n,a){if(typeof n.ref=="string"&&ce.current&&a&&ce.current.stateNode!==a){var s=A(ce.current.type);Ie[s]||(T('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',A(ce.current.type),n.ref),Ie[s]=!0)}}function Br(n,a){{var s=function(){bt||(bt=!0,T("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};s.isReactWarning=!0,Object.defineProperty(n,"key",{get:s,configurable:!0})}}function Xr(n,a){{var s=function(){vt||(vt=!0,T("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};s.isReactWarning=!0,Object.defineProperty(n,"ref",{get:s,configurable:!0})}}var Hr=function(n,a,s,_,v,k,g){var h={$$typeof:t,type:n,key:a,ref:s,props:g,_owner:k};return h._store={},Object.defineProperty(h._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(h,"_self",{configurable:!1,enumerable:!1,writable:!1,value:_}),Object.defineProperty(h,"_source",{configurable:!1,enumerable:!1,writable:!1,value:v}),Object.freeze&&(Object.freeze(h.props),Object.freeze(h)),h};function Jr(n,a,s,_,v){{var k,g={},h=null,I=null;s!==void 0&&(gt(s),h=""+s),Gr(a)&&(gt(a.key),h=""+a.key),Yr(a)&&(I=a.ref,Vr(a,v));for(k in a)ve.call(a,k)&&!Wr.hasOwnProperty(k)&&(g[k]=a[k]);if(n&&n.defaultProps){var C=n.defaultProps;for(k in C)g[k]===void 0&&(g[k]=C[k])}if(h||I){var E=typeof n=="function"?n.displayName||n.name||"Unknown":n;h&&Br(g,E),I&&Xr(g,E)}return Hr(n,h,I,v,_,ce.current,g)}}var Ne=F.ReactCurrentOwner,yt=F.ReactDebugCurrentFrame;function q(n){if(n){var a=n._owner,s=be(n.type,n._source,a?a.type:null);yt.setExtraStackFrame(s)}else yt.setExtraStackFrame(null)}var ze;ze=!1;function Pe(n){return typeof n=="object"&&n!==null&&n.$$typeof===t}function wt(){{if(Ne.current){var n=A(Ne.current.type);if(n)return`
|
|
23
23
|
|
|
24
|
-
Check the render method of \``+
|
|
24
|
+
Check the render method of \``+n+"`."}return""}}function Kr(n){{if(n!==void 0){var a=n.fileName.replace(/^.*[\\\/]/,""),s=n.lineNumber;return`
|
|
25
25
|
|
|
26
|
-
Check your code at `+a+":"+s+"."}return""}}var
|
|
26
|
+
Check your code at `+a+":"+s+"."}return""}}var kt={};function Qr(n){{var a=wt();if(!a){var s=typeof n=="string"?n:n.displayName||n.name;s&&(a=`
|
|
27
27
|
|
|
28
|
-
Check the top-level render call using <`+s+">.")}return a}}function _t(r,a){{if(!r._store||r._store.validated||r.key!=null)return;r._store.validated=!0;var s=Dn(a);if(pt[s])return;pt[s]=!0;var m="";r&&r._owner&&r._owner!==je.current&&(m=" It was passed a child from "+L(r._owner.type)+"."),q(r),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,m),q(null)}}function mt(r,a){{if(typeof r!="object")return;if(we(r))for(var s=0;s<r.length;s++){var m=r[s];Ce(m)&&_t(m,a)}else if(Ce(r))r._store&&(r._store.validated=!0);else if(r){var v=$(r);if(typeof v=="function"&&v!==r.entries)for(var y=v.call(r),g;!(g=y.next()).done;)Ce(g.value)&&_t(g.value,a)}}}function Un(r){{var a=r.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 m=L(a);En(s,r.props,"prop",m,r)}else if(a.PropTypes!==void 0&&!Se){Se=!0;var v=L(a);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Bn(r){{for(var a=Object.keys(r.props),s=0;s<a.length;s++){var m=a[s];if(m!=="children"&&m!=="key"){q(r),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",m),q(null);break}}r.ref!==null&&(q(r),R("Invalid attribute `ref` supplied to `React.Fragment`."),q(null))}}function xt(r,a,s,m,v,y){{var g=vn(r);if(!g){var h="";(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(h+=" 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 I=An(v);I?h+=I:h+=ft();var C;r===null?C="null":we(r)?C="array":r!==void 0&&r.$$typeof===t?(C="<"+(L(r.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):C=typeof r,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,h)}var E=Ln(r,a,s,v,y);if(E==null)return E;if(g){var z=a.children;if(z!==void 0)if(m)if(we(z)){for(var K=0;K<z.length;K++)mt(z[K],r);Object.freeze&&Object.freeze(z)}else R("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 mt(z,r)}return r===i?Bn(E):Un(E),E}}function Wn(r,a,s){return xt(r,a,s,!0)}function Yn(r,a,s){return xt(r,a,s,!1)}var Vn=Yn,Gn=Wn;ee.Fragment=i,ee.jsx=Vn,ee.jsxs=Gn}()),ee}process.env.NODE_ENV==="production"?he.exports=tr():he.exports=rr();var o=he.exports;const nr={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 or(){let[e,t]=k.useState([]);return D.set=n=>{t([...e,n])},D.del=n=>{t(e.filter(i=>i.key!==n))},e.length===0?"":o.jsx("ul",{className:nr.notice,children:e.map(n=>n.item)})}function te({data:e}){let[t,n]=k.useState("show");k.useEffect(()=>{setTimeout(function(){n("hide")},1800),setTimeout(function(){D.del(e.key)},2500)},[e.key]);let i,l;switch(e.type){case"error":i=o.jsx(V.error,{}),l="Ошибка:";break;case"success":i=o.jsx(V.success,{}),l="Информация:";break;case"copy":i=o.jsx(V.success,{}),l="Копирование:";break;case"remark":i=o.jsx(V.success,{}),l="Подсказка:";break;default:i=o.jsx(V.success,{}),l="Предупреждение:";break}return o.jsxs("li",{className:"item "+e.type,"data-status":t,children:[i,o.jsx("b",{children:l}),o.jsx("p",{children:e.text})]})}function ir(e){let t=Date.now(),n={key:t,...e};D.set({item:o.jsx(te,{data:n},t),key:t})}function ar(e){let t=Date.now(),n={key:t,text:e,type:"error"};D.set({item:o.jsx(te,{data:n},t),key:t})}function sr(e){let t=Date.now(),n={key:t,text:e,type:"success"};D.set({item:o.jsx(te,{data:n},t),key:t})}function lr(e){let t=Date.now(),n={key:t,text:e,type:"remark"};D.set({item:o.jsx(te,{data:n},t),key:t})}function cr(e){let t=Date.now(),n={key:t,text:e,type:"copy"};D.set({item:o.jsx(te,{data:n},t),key:t})}const V={};V.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"})]}),V.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 dr={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 ur(){let[e,t]=k.useState("");return re.set=n=>t(n),re.del=()=>t(""),o.jsx(o.Fragment,{children:e})}const fr=({data:e,callback:t})=>(e.button=e.button===void 0?"Подтвердить":e.button,o.jsxs("div",{className:dr.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:()=>{t(),re.del()},children:e.button})})]}),o.jsx("div",{className:"--body",onClick:re.del})]}));function pr(e,t){re.set(o.jsx(fr,{data:e,callback:t}))}function _r({children:e}){return o.jsx("div",{className:"l",children:o.jsx("ul",{children:e})})}function mr({children:e}){return o.jsx("div",{className:"s",children:e})}const Le=({children:e,disabled:t,label:n,onClick:i})=>{const l=p=>{t||i&&i(p)};return o.jsx("button",{disabled:t,onClick:l,children:n})},U={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 xr=({config:e})=>{let[t,n]=k.useState([]);return J.x=()=>{n([])},J.config=e,J.add=i=>{n([...t,i])},o.jsx(o.Fragment,{children:t.map(i=>i)})},hr=({children:e,title:t,button:n,tabs:i,size:l="m",menu:p})=>{const[c,u]=k.useState(!0),d=k.useRef(),f=b=>{if(n&&n.onClick)return n.onClick({closed:u,disabled:b})},_=()=>{d.current.setAttribute("shake",!0),setTimeout(()=>{d.current.setAttribute("shake",!1)},1e3)};return o.jsx(o.Fragment,{children:c?o.jsxs("div",{className:`${U.modal} ${U.white}`,children:[o.jsx("div",{className:U.o,onClick:_}),o.jsxs("div",{className:U.w,ref:d,children:[o.jsxs("div",{className:U.h,children:[o.jsx("div",{className:U.t,children:t}),o.jsxs("div",{className:U.m,children:[i&&o.jsx("nav",{children:i.map((b,j)=>o.jsx("span",{onClick:b.onClick,className:b.active?"active":"",children:b.name},j))}),p]}),o.jsx("div",{className:U.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(Le,{label:String(n.name),onClick:f}):""]})]}):""})},gr=e=>{J.add(o.jsx(br,{children:e},String(Date.now())))},br=({children:e})=>o.jsx(o.Fragment,{children:e}),Ae={List:_r,Scroll:mr,Init:xr,Main:hr,Add:gr,Icon:({type:e,name:t,params:n})=>{let[i,l]=k.useState(null);return k.useEffect(()=>{J.config(e,t,n,l)},[n.id]),o.jsx(o.Fragment,{children:i})},Open:(e,t,n)=>{J.config(e,t,n)}},De=({children:e,config:t,crypto:n,...i})=>gt(n,o.jsxs(o.Fragment,{children:[o.jsx(Ae.Init,{config:t.modal}),o.jsx(or,{}),o.jsx(ur,{}),e]})),vr=({children:e,...t})=>o.jsx("menu",{children:e}),yr=({children:e,...t})=>o.jsxs("header",{children:["xz",e]}),wr={payment:"_payment_1lxfv_1"};function kr(){let[e,t]=k.useState({});return!e.active&&!e.payment?"":o.jsx("div",{className:wr.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const jr=({children:e,...t})=>{let n={};return n.enCode=i=>JSON.stringify(i).toString(),n.deCode=i=>JSON.parse(i),o.jsxs("div",{className:"app",children:[o.jsx(kr,{}),o.jsx(vr,{}),o.jsx(yr,{}),o.jsx(De,{config:{modal:{}},crypto:n}),e]})},Ue=({list:e,onClick:t,active:n,size:i,view:l})=>o.jsx("nav",{children:o.jsx("ul",{className:[i,l].join(" "),children:e.map(p=>o.jsx(Sr,{onClick:t,active:n,label:p.label,link:p.link},p.link))})}),Sr=({onClick:e,label:t,link:n,active:i})=>o.jsx("li",{"tabs-active":String(i===n),onClick:()=>e(n),children:t});Ue.defaultProps={size:"M",view:"H"};const Cr=({title:e="",button:t,description:n="",children:i})=>o.jsxs("fieldset",{children:[e&&o.jsxs("legend",{children:[e,t&&o.jsx("div",{role:"button-outline",onClick:()=>t.onClick(),children:t.label})," "]}),o.jsx("ul",{children:i}),n&&o.jsx("article",{children:n})]}),Er={setting:"_setting_1r0pc_2"},Rr=({children:e})=>o.jsx("div",{className:Er.setting,children:e}),Ir=({label:e,children:t})=>{let[n,i]=k.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:t})]})},Tr=({label:e,onClick:t,button:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"button",onClick:()=>t(),children:n})]})}),Be={Switch:({active:e,onClick:t})=>(console.log(e),e=typeof e=="number"?!!e:e,o.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),t()},"aria-checked":e?"true":"false"}))},Nr={Accordion:Ir,Button:Tr,Switch:({label:e,onClick:t,active:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:o.jsx(Be.Switch,{onClick:t,active:n})})]})}),Info:({label:e,info:t})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"info",children:t})]})}),Select:({label:e,active:t,options:n})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{role:"info",children:t})]})}),Component:({label:e,children:t})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:t})]})}),Node:({label:e,children:t})=>o.jsx("li",{children:o.jsxs("dl",{children:[o.jsx("dt",{children:e}),o.jsx("dd",{children:t})]})})};function We({list:e,onClick:t,active:n,size:i,view:l}){return o.jsx("nav",{children:o.jsx("ul",{className:[i,l].join(" "),children:e.map(p=>o.jsx(Pr,{onClick:t,active:n,label:p.label,link:p.link},p.link))})})}const Pr=({onClick:e,label:t,link:n,active:i})=>o.jsx("li",{"tabs-active":String(i===n),onClick:()=>e(n),children:t});We.defaultProps={size:"M",view:"H"};const zr={Section:Cr,Main:Rr,Item:Nr,Tabs:We},G={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"},Ye=({title:e,children:t})=>o.jsxs("div",{className:G.h,children:[o.jsx("div",{className:G.t,children:e}),t]}),Or=({children:e,title:t})=>o.jsxs("div",{className:G.o,children:[t&&o.jsx("div",{className:G.hh,children:t}),e]}),$r=({children:e})=>o.jsx("div",{className:G.u,children:e}),Ve=({children:e})=>o.jsx("div",{className:G.s,children:e}),Ge=({children:e,...t})=>o.jsx("div",{className:G.l,children:e}),Fr={Header:Ye,Section:Ve,List:Ge,U:$r,L:Ge,O:Or,S:Ve,H:Ye},Mr={Send:ir,Error:ar,Remark:lr,Success:sr,Copy:cr},Lr={Send:pr};function Ar(){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 Dr={Logo:Ar},Ur={Path:Ft,setPage:Et,getPage:Te,usePage:Ct,setModule:It,getModule:Ne,useModule:Rt,setTabs:Nt,getTabs:ae,useTabs:Tt,useId:Pt,setId:Ot,subId:zt,getId:$t},Br={sort:"_sort_1yrvt_1"};let le={};function Wr(e,t){switch(t.type){case"active":let n="<";return e.active===t.data&&(n=e.sort==="<"?">":"<"),le.get({active:t.data,sort:n},!1),Pe({active:t.data,sort:n}),{...e,active:t.data,sort:n};default:throw new Error}}function Yr(){const[e,t]=k.useReducer(Wr,xe()===void 0?{active:1,sort:"<"}:xe());return o.jsxs("div",{className:Br.sort,children:[o.jsx("i",{"data-color":e.active===1?"_506290":"_b5b9cc","data-icon":e.active===1?e.sort==="<"?"F073":"F072":"F071",onClick:()=>t({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:()=>t({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:()=>t({type:"active",data:3})})]})}function Vr(e){le.get=e}function Gr(e){le.set(e)}function Hr(e,t,n){let i=1,l=0,p={},c=50;p[i]=[];let u={},d="s1a";switch(u.s1a=(f,_)=>_.s1-f.s1,u.s1d=(f,_)=>f.s1-_.s1,u.s2a=(f,_)=>f.s2-_.s2,u.s2d=(f,_)=>_.s2-f.s2,u.s3a=(f,_)=>f.s3.localeCompare(_.s3),u.s3d=(f,_)=>_.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 t.sort(u[d]).forEach(f=>{l++,l<=c||(i++,l=1,p[i]=[]),p[i].push(e[f.id])}),{data:p}}function Zr(e){le.count(e)}const Jr={Init:Yr,useValue:Vr,Set:Gr,Run:Hr,Count:Zr};function Xr(e,t){t===void 0?(t=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)t=t.replace(i,n[i]);return t}function qr(e){let t=["Января","Февраля","Марта","Апреля","Мая","Июня","Июля","Августа","Сентября","Октября","Ноября","Декабря"],n=new Date(e);return{day:(""+n.getFullYear()).slice(-2)+""+("0"+(n.getMonth()+1)).slice(-2)+("0"+n.getDate()).slice(-2),name:n.getDate()+" "+t[n.getMonth()]}}const Kr=e=>{function t(F,W){var H,de,X;F=F??"",W=W??1;for(var H=[],X=0,de=F.length;X<de;)H.push(F.slice(X,X+=W));return H}function n(F,W){var H=[2,0,1,1,1,2];return W[F>4&&F<20?2:H[Math.min(F,5)]]}var i={null:"ноль",a1:["один","два","три","четыре","пять","шесть","семь","восемь","девять"],a2:["одна","две","три","четыре","пять","шесть","семь","восемь","девять"],a10:["десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],a20:["двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],a100:["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],uc:["копейка","копейки","копеек"],ur:["рубль","рубля","рублей"],u3:["тысяча","тысячи","тысяч"],u2:["миллион","миллиона","миллионов"],u1:["миллиард","миллиарда","миллиардов"]},l,p,c,u,$,d,f,ne,_,b,j,T;_=parseFloat(e).toFixed(2).split("."),d=_[0],u=_[1];var O=12-d.length;if(O<0)return!1;for(var ne=[];O--;)ne.push("0");d=ne.join("")+d;var $=[];if(d>0){b=t(d,3);for(var P=-1;P<b.length;P++)if(f=b[P],f>0&&(j=t(f,1),l=parseInt(j[0]),p=parseInt(j[1]),c=parseInt(j[2]),$.push(i.a100[l-1]),T=P+1==3?"a2":"a1",p>1?$.push(i.a20[p-2]+(c>0?" "+i[T][c-1]:"")):$.push(p>0?i.a10[c]:i[T][c-1]),b.length>P+1)){var R=i["u"+(P+1)];$.push(n(f,R))}}else $.push(i.null);return $.push(n(d,i.ur)),$.push(u+" "+n(u,i.uc)),$.join(" ").replace(RegExp(" {2,}","g")," ").trimLeft()};function Qr(e){let t=-1,n=[" kB"," MB"," GB"," TB","PB","EB","ZB","YB"];do e=e/1024,t++;while(e>1024);return Math.max(e,.1).toFixed(1)+n[t]}function en(e){let t={};return t["application/atom+xml"]="atom",t["application/json"]="json",t["application/javascript"]="js",t["application/ogg"]="ogg",t["application/pdf"]="pdf",t["application/soap+xml"]="soap",t["application/font-woff"]="woff",t["application/xhtml+xml"]="xml",t["application/xml-dtd"]="dtd",t["application/xop+xml"]="xop",t["application/zip"]="zip",t["application/gzip"]="gzip",t["application/x-bittorrent"]="bittorrent",t["application/x-tex"]="tex",t["application/xml"]="xml",t["application/msword"]="doc",t["image/svg+xml"]="svg",t[e]}function tn(e,t,n,i){let l={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 c in this.rules)for(var u in this.rules[c])for(var d=0,f=this.rules[c][u].length;d<f;d++)this.rules[c][u][d]=this.rule(this.rules[c][u][d])},rule:function(c){var u=c.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(c,u,d,f){if(f===this.gcaseNom)return c;if(c.match(/[-]/)){for(var _=c.split("-"),b=0,j=_.length;b<j;b++)_[b]=this.word(_[b],u,d,f);return _.join("-")}if(c.match(/^[А-ЯЁ]\.?$/i))return c;this.init();var T=this.rules[d];let O;return T.exceptions&&(O=this.pick(c,u,f,T.exceptions,!0),O)?O:(O=this.pick(c,u,f,T.suffixes,!1),O||c)},pick:function(c,u,d,f,_){let b=c.toLowerCase();for(var j=0,T=f.length;j<T;j++)if(this.ruleMatch(b,u,f[j],_))return this.applyMod(c,d,f[j]);return!1},ruleMatch:function(c,u,d,f){if(d.sex===this.sexM&&u===this.sexF||d.sex===this.sexF&&u!==this.sexF)return!1;for(var _=0,b=d.test.length;_<b;_++){var j=f?c:c.substr(Math.max(c.length-d.test[_].length,0));if(j===d.test[_])return!0}return!1},applyMod:function(c,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 _=0,b=f.length;_<b;_++){var j=f.substr(_,1);switch(j){case".":break;case"-":c=c.substr(0,c.length-1);break;default:c+=j}}return c},getSex:()=>{if(l.mn.length>2)switch(l.mn.substr(l.mn.length-2)){case"ич":return"m";case"на":return"f"}return""},fullName:c=>((l.fullNameSurnameLast?"":l.lastName(c)+" ")+l.firstName(c)+" "+l.middleName(c)+(l.fullNameSurnameLast?" "+l.lastName(c):"")).replace(/^ +| +$/g,""),lastName:c=>l.word(l.ln,l.sex,"lastName",c),firstName:c=>l.word(l.fn,l.sex,"firstName",c),middleName:c=>l.word(l.mn,l.sex,"middleName",c)};if(typeof t>"u"){var p=e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);if(!p)return"Cannot parse supplied name";p[5]&&p[3].match(/(ич|на)$/)&&!p[5].match(/(ич|на)$/)?(e=p[5],t=p[1],n=p[3],l.fullNameSurnameLast=!0):(e=p[1],t=p[3],n=p[5])}return l.ln=e,l.fn=t||"",l.mn=n||"",l.sex=i||l.getSex(),l}function rn(e){let t=e.split(" ");switch(t.length){case 2:return t[0]+" "+t[1].substring(0,1)+".";case 3:return t[0]+" "+t[1].substring(0,1)+"."+t[2].substring(0,1)+".";default:return e}}function nn(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 on(e){return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}function an(e,t){let n=t+"";for(;n.length<e;)n="0"+n;return n}function sn(e,t,n){let i=t/e*n;return(typeof i!="number"||i===1/0)&&(i=0),parseFloat(i).toFixed(1)}function ln(e){return e.charAt(0).toUpperCase()+e.slice(1)}const cn={Date:Xr,MoneyString:Kr,DateSort:qr,Size:Qr,TypeFiles:en,Cases:tn,Initials:rn,Month:nn,Money:on,Number:an,Percent:sn,CapitalizeFirstLetter:ln},ge={};function dn(e,t){ge[e]=t}function un(e,t){ge[e]!==void 0&&ge[e](t)}const B={};function fn(e,t){const[n,i]=k.useState(t);return k.useEffect(()=>{if(B[e])return B[e].push(i);B[e]=[i]},[]),[n]}function pn(e,t){if(B[e])return B[e].push(t);B[e]=[t]}function _n(e,t){B[e]&&B[e].forEach(n=>n(t))}const mn={setListener:un,useListener:dn,setEmitter:_n,useEmitter:fn,subEmitter:pn},ce={},He={};function xn(e){const[t,n]=k.useState({}),i=async l=>{n(Object.keys(ce).reduce((p,c)=>(p?p[c]=ce[c].all:p={},p),{}))};return k.useEffect(()=>{e.forEach(l=>ce[l]={all:0}),He.menu=i,i()},[e]),t}function hn(e,t){switch(typeof t){case"number":ce[e].all+=t,He.menu();break}}const gn={useMenu:xn,setUpdate:hn};w.Action=Be,w.Alert=Lr,w.Api=er,w.Badge=gn,w.Browser=jr,w.Button=Le,w.Component=Fr,w.Event=mn,w.Format=cn,w.Icon=Dr,w.Init=De,w.Modal=Ae,w.Notice=Mr,w.Router=Ur,w.Setting=zr,w.Store=se,w.Tabs=Ue,w.Triage=Jr,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})});
|
|
28
|
+
Check the top-level render call using <`+s+">.")}return a}}function St(n,a){{if(!n._store||n._store.validated||n.key!=null)return;n._store.validated=!0;var s=Qr(a);if(kt[s])return;kt[s]=!0;var _="";n&&n._owner&&n._owner!==Ne.current&&(_=" It was passed a child from "+A(n._owner.type)+"."),q(n),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',s,_),q(null)}}function jt(n,a){{if(typeof n!="object")return;if(Te(n))for(var s=0;s<n.length;s++){var _=n[s];Pe(_)&&St(_,a)}else if(Pe(n))n._store&&(n._store.validated=!0);else if(n){var v=$(n);if(typeof v=="function"&&v!==n.entries)for(var k=v.call(n),g;!(g=k.next()).done;)Pe(g.value)&&St(g.value,a)}}}function qr(n){{var a=n.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);Zr(s,n.props,"prop",_,n)}else if(a.PropTypes!==void 0&&!ze){ze=!0;var v=A(a);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",v||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function eo(n){{for(var a=Object.keys(n.props),s=0;s<a.length;s++){var _=a[s];if(_!=="children"&&_!=="key"){q(n),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_),q(null);break}}n.ref!==null&&(q(n),T("Invalid attribute `ref` supplied to `React.Fragment`."),q(null))}}function Ct(n,a,s,_,v,k){{var g=zr(n);if(!g){var h="";(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(h+=" 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 I=Kr(v);I?h+=I:h+=wt();var C;n===null?C="null":Te(n)?C="array":n!==void 0&&n.$$typeof===t?(C="<"+(A(n.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):C=typeof n,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",C,h)}var E=Jr(n,a,s,v,k);if(E==null)return E;if(g){var M=a.children;if(M!==void 0)if(_)if(Te(M)){for(var ee=0;ee<M.length;ee++)jt(M[ee],n);Object.freeze&&Object.freeze(M)}else T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else jt(M,n)}return n===o?eo(E):qr(E),E}}function to(n,a,s){return Ct(n,a,s,!0)}function no(n,a,s){return Ct(n,a,s,!1)}var ro=no,oo=to;oe.Fragment=o,oe.jsx=ro,oe.jsxs=oo}()),oe}process.env.NODE_ENV==="production"?Se.exports=ln():Se.exports=cn();var i=Se.exports;const dn={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 U={};function un(){let[e,t]=y.useState([]);return U.set=r=>{t([...e,r])},U.del=r=>{t(e.filter(o=>o.key!==r))},e.length===0?"":i.jsx("ul",{className:dn.notice,children:e.map(r=>r.item)})}function ie({data:e}){let[t,r]=y.useState("show");y.useEffect(()=>{setTimeout(function(){r("hide")},1800),setTimeout(function(){U.del(e.key)},2500)},[e.key]);let o,l;switch(e.type){case"error":o=i.jsx(B.error,{}),l="Ошибка:";break;case"success":o=i.jsx(B.success,{}),l="Информация:";break;case"copy":o=i.jsx(B.success,{}),l="Копирование:";break;case"remark":o=i.jsx(B.success,{}),l="Подсказка:";break;default:o=i.jsx(B.success,{}),l="Предупреждение:";break}return i.jsxs("li",{className:"item "+e.type,"data-status":t,children:[o,i.jsx("b",{children:l}),i.jsx("p",{children:e.text})]})}function fn(e){let t=Date.now(),r={key:t,...e};U.set({item:i.jsx(ie,{data:r},t),key:t})}function pn(e){let t=Date.now(),r={key:t,text:e,type:"error"};U.set({item:i.jsx(ie,{data:r},t),key:t})}function mn(e){let t=Date.now(),r={key:t,text:e,type:"success"};U.set({item:i.jsx(ie,{data:r},t),key:t})}function _n(e){let t=Date.now(),r={key:t,text:e,type:"remark"};U.set({item:i.jsx(ie,{data:r},t),key:t})}function xn(e){let t=Date.now(),r={key:t,text:e,type:"copy"};U.set({item:i.jsx(ie,{data:r},t),key:t})}const B={};B.error=()=>i.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[i.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"}),i.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"})]}),B.success=()=>i.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[i.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"}),i.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 hn={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 ae={};function gn(){let[e,t]=y.useState("");return ae.set=r=>t(r),ae.del=()=>t(""),i.jsx(i.Fragment,{children:e})}const bn=({data:e,callback:t})=>(e.button=e.button===void 0?"Подтвердить":e.button,i.jsxs("div",{className:hn.alerts,children:[i.jsxs("dl",{children:[i.jsx("dt",{children:e.title}),i.jsx("dd",{children:e.text}),i.jsx("ul",{children:i.jsx("button",{"data-color":e.color||"blue",onClick:()=>{t(),ae.del()},children:e.button})})]}),i.jsx("div",{className:"--body",onClick:ae.del})]}));function vn(e,t){ae.set(i.jsx(bn,{data:e,callback:t}))}function yn({children:e}){return i.jsx("div",{className:"l",children:i.jsx("ul",{children:e})})}function wn({children:e}){return i.jsx("div",{className:"s",children:e})}const Xe=({children:e,disabled:t,label:r,onClick:o})=>{const l=f=>{t||o&&o(f)};return i.jsx("button",{disabled:t,onClick:l,children:r})},W={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 K={};const kn=({config:e})=>{let[t,r]=y.useState([]);return K.x=()=>{r([])},K.config=e,K.add=o=>{r([...t,o])},i.jsx(i.Fragment,{children:t.map(o=>o)})},Sn=({children:e,title:t,button:r,tabs:o,size:l="m",menu:f})=>{const[c,u]=y.useState(!0),d=y.useRef(),p=b=>{if(r&&r.onClick)return r.onClick({closed:u,disabled:b})},m=()=>{d.current.setAttribute("shake",!0),setTimeout(()=>{d.current.setAttribute("shake",!1)},1e3)};return i.jsx(i.Fragment,{children:c?i.jsxs("div",{className:`${W.modal} ${W.white}`,children:[i.jsx("div",{className:W.o,onClick:m}),i.jsxs("div",{className:W.w,ref:d,children:[i.jsxs("div",{className:W.h,children:[i.jsx("div",{className:W.t,children:t}),i.jsxs("div",{className:W.m,children:[o&&i.jsx("nav",{children:o.map((b,S)=>i.jsx("span",{onClick:b.onClick,className:b.active?"active":"",children:b.name},S))}),f]}),i.jsx("div",{className:W.x,onClick:()=>{u(!1)},children:i.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:i.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,r!==void 0?i.jsx(Xe,{label:String(r.name),onClick:p}):""]})]}):""})},jn=e=>{K.add(i.jsx(Cn,{children:e},String(Date.now())))},Cn=({children:e})=>i.jsx(i.Fragment,{children:e}),He={List:yn,Scroll:wn,Init:kn,Main:Sn,Add:jn,Icon:({type:e,name:t,params:r})=>{let[o,l]=y.useState(null);return y.useEffect(()=>{K.config(e,t,r,l)},[r.id]),i.jsx(i.Fragment,{children:o})},Open:(e,t,r)=>{K.config(e,t,r)}},Je=({children:e,config:t,crypto:r,...o})=>Rt(r,i.jsxs(i.Fragment,{children:[i.jsx(He.Init,{config:t.modal}),i.jsx(un,{}),i.jsx(gn,{}),e]})),En=({children:e,...t})=>i.jsx("menu",{children:e}),Rn=({children:e,...t})=>i.jsxs("header",{children:["xz",e]}),Tn={payment:"_payment_1lxfv_1"};function In(){let[e,t]=y.useState({});return!e.active&&!e.payment?"":i.jsx("div",{className:Tn.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const Nn=({children:e,...t})=>{let r={};return r.enCode=o=>JSON.stringify(o).toString(),r.deCode=o=>JSON.parse(o),i.jsxs("div",{className:"app",children:[i.jsx(In,{}),i.jsx(En,{}),i.jsx(Rn,{}),i.jsx(Je,{config:{modal:{}},crypto:r}),e]})},Ke=({list:e,onClick:t,active:r,size:o,view:l})=>i.jsx("nav",{children:i.jsx("ul",{className:[o,l].join(" "),children:e.map(f=>i.jsx(zn,{onClick:t,active:r,label:f.label,link:f.link},f.link))})}),zn=({onClick:e,label:t,link:r,active:o})=>i.jsx("li",{"tabs-active":String(o===r),onClick:()=>e(r),children:t});Ke.defaultProps={size:"M",view:"H"};const Pn=({title:e="",button:t,description:r="",children:o})=>i.jsxs("fieldset",{children:[e&&i.jsxs("legend",{children:[e,t&&i.jsx("div",{role:"button-outline",onClick:()=>t.onClick(),children:t.label})," "]}),i.jsx("ul",{children:o}),r&&i.jsx("article",{children:r})]}),On={setting:"_setting_1r0pc_2"},Fn=({children:e})=>i.jsx("div",{className:On.setting,children:e}),Mn=({label:e,children:t})=>{let[r,o]=y.useState(!1);return i.jsxs("li",{"data-item":"accordion",children:[i.jsxs("dl",{onClick:()=>o(!r),children:[i.jsx("dt",{children:e}),i.jsx("dd",{children:i.jsx("div",{"data-close":String(r)})})]}),r&&i.jsx("div",{children:t})]})},Ln=({label:e,onClick:t,button:r})=>i.jsx("li",{children:i.jsxs("dl",{children:[i.jsx("dt",{children:e}),i.jsx("dd",{role:"button",onClick:()=>t(),children:r})]})}),Qe={Switch:({active:e,onClick:t})=>(console.log(e),e=typeof e=="number"?!!e:e,i.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),t()},"aria-checked":e?"true":"false"}))},$n={Accordion:Mn,Button:Ln,Switch:({label:e,onClick:t,active:r})=>i.jsx("li",{children:i.jsxs("dl",{children:[i.jsx("dt",{children:e}),i.jsx("dd",{children:i.jsx(Qe.Switch,{onClick:t,active:r})})]})}),Info:({label:e,info:t})=>i.jsx("li",{children:i.jsxs("dl",{children:[i.jsx("dt",{children:e}),i.jsx("dd",{role:"info",children:t})]})}),Select:({label:e,active:t,options:r})=>i.jsx("li",{children:i.jsxs("dl",{children:[i.jsx("dt",{children:e}),i.jsx("dd",{role:"info",children:t})]})}),Component:({label:e,children:t})=>i.jsx("li",{children:i.jsxs("dl",{children:[i.jsx("dt",{children:e}),i.jsx("dd",{children:t})]})}),Node:({label:e,children:t})=>i.jsx("li",{children:i.jsxs("dl",{children:[i.jsx("dt",{children:e}),i.jsx("dd",{children:t})]})})};function qe({list:e,onClick:t,active:r,size:o,view:l}){return i.jsx("nav",{children:i.jsx("ul",{className:[o,l].join(" "),children:e.map(f=>i.jsx(Zn,{onClick:t,active:r,label:f.label,link:f.link},f.link))})})}const Zn=({onClick:e,label:t,link:r,active:o})=>i.jsx("li",{"tabs-active":String(o===r),onClick:()=>e(r),children:t});qe.defaultProps={size:"M",view:"H"};const An={Section:Pn,Main:Fn,Item:$n,Tabs:qe},X={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"},et=({title:e,children:t})=>i.jsxs("div",{className:X.h,children:[i.jsx("div",{className:X.t,children:e}),t]}),Dn=({children:e,title:t})=>i.jsxs("div",{className:X.o,children:[t&&i.jsx("div",{className:X.hh,children:t}),e]}),Un=({children:e})=>i.jsx("div",{className:X.u,children:e}),tt=({children:e})=>i.jsx("div",{className:X.s,children:e}),nt=({children:e,...t})=>i.jsx("div",{className:X.l,children:e}),Wn={Header:et,Section:tt,List:nt,U:Un,L:nt,O:Dn,S:tt,H:et},Yn={Send:fn,Error:pn,Remark:_n,Success:mn,Copy:xn},Gn={Send:vn};function Vn(){return i.jsx("svg",{viewBox:"0 0 462.86 359.96",children:i.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 Bn={Logo:Vn},fe={Path:Gt,setPage:Mt,getPage:Le,usePage:Ft,setModule:$t,getModule:$e,useModule:Lt,setTabs:At,getTabs:de,useTabs:Zt,useId:Dt,setId:Wt,subId:Ut,getId:Yt},Xn={sort:"_sort_1yrvt_1"};let pe={};function Hn(e,t){switch(t.type){case"active":let r="<";return e.active===t.data&&(r=e.sort==="<"?">":"<"),pe.get({active:t.data,sort:r},!1),Ae({active:t.data,sort:r}),{...e,active:t.data,sort:r};default:throw new Error}}function Jn(){const[e,t]=y.useReducer(Hn,ke()===void 0?{active:1,sort:"<"}:ke());return i.jsxs("div",{className:Xn.sort,children:[i.jsx("i",{"data-color":e.active===1?"_506290":"_b5b9cc","data-icon":e.active===1?e.sort==="<"?"F073":"F072":"F071",onClick:()=>t({type:"active",data:1})}),i.jsx("i",{"data-color":e.active===2?"_506290":"_b5b9cc","data-icon":e.active===2?e.sort==="<"?"F066":"F067":"F074",onClick:()=>t({type:"active",data:2})}),i.jsx("i",{"data-color":e.active===3?"_506290":"_b5b9cc","data-icon":e.active===3?e.sort==="<"?"F068":"F069":"F070",onClick:()=>t({type:"active",data:3})})]})}function Kn(e){pe.get=e}function Qn(e){pe.set(e)}function qn(e,t,r){let o=1,l=0,f={},c=50;f[o]=[];let u={},d="s1a";switch(u.s1a=(p,m)=>m.s1-p.s1,u.s1d=(p,m)=>p.s1-m.s1,u.s2a=(p,m)=>p.s2-m.s2,u.s2d=(p,m)=>m.s2-p.s2,u.s3a=(p,m)=>p.s3.localeCompare(m.s3),u.s3d=(p,m)=>m.s3.localeCompare(p.s3),r.active){case 1:d=r.sort===">"?"s1d":"s1a";break;case 2:d=r.sort===">"?"s2d":"s2a";break;case 3:d=r.sort===">"?"s3d":"s3a";break}return t.sort(u[d]).forEach(p=>{l++,l<=c||(o++,l=1,f[o]=[]),f[o].push(e[p.id])}),{data:f}}function er(e){pe.count(e)}const tr={Init:Jn,useValue:Kn,Set:Qn,Run:qn,Count:er};function nr(e,t){t===void 0?(t=e,e=new Date):e=new Date(e);let r={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 o in r)t=t.replace(o,r[o]);return t}function rr(e){let t=["Января","Февраля","Марта","Апреля","Мая","Июня","Июля","Августа","Сентября","Октября","Ноября","Декабря"],r=new Date(e);return{day:(""+r.getFullYear()).slice(-2)+""+("0"+(r.getMonth()+1)).slice(-2)+("0"+r.getDate()).slice(-2),name:r.getDate()+" "+t[r.getMonth()]}}const or=e=>{function t(Z,G){var H,xe,Q;Z=Z??"",G=G??1;for(var H=[],Q=0,xe=Z.length;Q<xe;)H.push(Z.slice(Q,Q+=G));return H}function r(Z,G){var H=[2,0,1,1,1,2];return G[Z>4&&Z<20?2:H[Math.min(Z,5)]]}var o={null:"ноль",a1:["один","два","три","четыре","пять","шесть","семь","восемь","девять"],a2:["одна","две","три","четыре","пять","шесть","семь","восемь","девять"],a10:["десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],a20:["двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],a100:["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],uc:["копейка","копейки","копеек"],ur:["рубль","рубля","рублей"],u3:["тысяча","тысячи","тысяч"],u2:["миллион","миллиона","миллионов"],u1:["миллиард","миллиарда","миллиардов"]},l,f,c,u,$,d,p,se,m,b,S,N;m=parseFloat(e).toFixed(2).split("."),d=m[0],u=m[1];var L=12-d.length;if(L<0)return!1;for(var se=[];L--;)se.push("0");d=se.join("")+d;var $=[];if(d>0){b=t(d,3);for(var F=-1;F<b.length;F++)if(p=b[F],p>0&&(S=t(p,1),l=parseInt(S[0]),f=parseInt(S[1]),c=parseInt(S[2]),$.push(o.a100[l-1]),N=F+1==3?"a2":"a1",f>1?$.push(o.a20[f-2]+(c>0?" "+o[N][c-1]:"")):$.push(f>0?o.a10[c]:o[N][c-1]),b.length>F+1)){var T=o["u"+(F+1)];$.push(r(p,T))}}else $.push(o.null);return $.push(r(d,o.ur)),$.push(u+" "+r(u,o.uc)),$.join(" ").replace(RegExp(" {2,}","g")," ").trimLeft()};function ir(e){let t=-1,r=[" kB"," MB"," GB"," TB","PB","EB","ZB","YB"];do e=e/1024,t++;while(e>1024);return Math.max(e,.1).toFixed(1)+r[t]}function ar(e){let t={};return t["application/atom+xml"]="atom",t["application/json"]="json",t["application/javascript"]="js",t["application/ogg"]="ogg",t["application/pdf"]="pdf",t["application/soap+xml"]="soap",t["application/font-woff"]="woff",t["application/xhtml+xml"]="xml",t["application/xml-dtd"]="dtd",t["application/xop+xml"]="xop",t["application/zip"]="zip",t["application/gzip"]="gzip",t["application/x-bittorrent"]="bittorrent",t["application/x-tex"]="tex",t["application/xml"]="xml",t["application/msword"]="doc",t["image/svg+xml"]="svg",t[e]}function sr(e,t,r,o){let l={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 c in this.rules)for(var u in this.rules[c])for(var d=0,p=this.rules[c][u].length;d<p;d++)this.rules[c][u][d]=this.rule(this.rules[c][u][d])},rule:function(c){var u=c.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(c,u,d,p){if(p===this.gcaseNom)return c;if(c.match(/[-]/)){for(var m=c.split("-"),b=0,S=m.length;b<S;b++)m[b]=this.word(m[b],u,d,p);return m.join("-")}if(c.match(/^[А-ЯЁ]\.?$/i))return c;this.init();var N=this.rules[d];let L;return N.exceptions&&(L=this.pick(c,u,p,N.exceptions,!0),L)?L:(L=this.pick(c,u,p,N.suffixes,!1),L||c)},pick:function(c,u,d,p,m){let b=c.toLowerCase();for(var S=0,N=p.length;S<N;S++)if(this.ruleMatch(b,u,p[S],m))return this.applyMod(c,d,p[S]);return!1},ruleMatch:function(c,u,d,p){if(d.sex===this.sexM&&u===this.sexF||d.sex===this.sexF&&u!==this.sexF)return!1;for(var m=0,b=d.test.length;m<b;m++){var S=p?c:c.substr(Math.max(c.length-d.test[m].length,0));if(S===d.test[m])return!0}return!1},applyMod:function(c,u,d){let p;switch(u){case this.gcaseNom:p=".";break;case this.gcaseGen:p=d.mods[0];break;case this.gcaseDat:p=d.mods[1];break;case this.gcaseAcc:p=d.mods[2];break;case this.gcaseIns:p=d.mods[3];break;case this.gcasePos:p=d.mods[4];break}for(var m=0,b=p.length;m<b;m++){var S=p.substr(m,1);switch(S){case".":break;case"-":c=c.substr(0,c.length-1);break;default:c+=S}}return c},getSex:()=>{if(l.mn.length>2)switch(l.mn.substr(l.mn.length-2)){case"ич":return"m";case"на":return"f"}return""},fullName:c=>((l.fullNameSurnameLast?"":l.lastName(c)+" ")+l.firstName(c)+" "+l.middleName(c)+(l.fullNameSurnameLast?" "+l.lastName(c):"")).replace(/^ +| +$/g,""),lastName:c=>l.word(l.ln,l.sex,"lastName",c),firstName:c=>l.word(l.fn,l.sex,"firstName",c),middleName:c=>l.word(l.mn,l.sex,"middleName",c)};if(typeof t>"u"){var f=e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);if(!f)return"Cannot parse supplied name";f[5]&&f[3].match(/(ич|на)$/)&&!f[5].match(/(ич|на)$/)?(e=f[5],t=f[1],r=f[3],l.fullNameSurnameLast=!0):(e=f[1],t=f[3],r=f[5])}return l.ln=e,l.fn=t||"",l.mn=r||"",l.sex=o||l.getSex(),l}function lr(e){let t=e.split(" ");switch(t.length){case 2:return t[0]+" "+t[1].substring(0,1)+".";case 3:return t[0]+" "+t[1].substring(0,1)+"."+t[2].substring(0,1)+".";default:return e}}function cr(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 dr(e){return parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}function ur(e,t){let r=t+"";for(;r.length<e;)r="0"+r;return r}function fr(e,t,r){let o=t/e*r;return(typeof o!="number"||o===1/0)&&(o=0),parseFloat(o).toFixed(1)}function pr(e){return e.charAt(0).toUpperCase()+e.slice(1)}const mr={Date:nr,MoneyString:or,DateSort:rr,Size:ir,TypeFiles:ar,Cases:sr,Initials:lr,Month:cr,Money:dr,Number:ur,Percent:fr,CapitalizeFirstLetter:pr},je={};function _r(e,t){je[e]=t}function xr(e,t){je[e]!==void 0&&je[e](t)}const Y={};function hr(e,t){const[r,o]=y.useState(t);return y.useEffect(()=>{if(Y[e])return Y[e].push(o);Y[e]=[o]},[]),[r]}function gr(e,t){if(Y[e])return Y[e].push(t);Y[e]=[t]}function br(e,t){Y[e]&&Y[e].forEach(r=>r(t))}const vr={setListener:xr,useListener:_r,setEmitter:br,useEmitter:hr,subEmitter:gr},me={},rt={};function yr(e){const[t,r]=y.useState({}),o=async l=>{r(Object.keys(me).reduce((f,c)=>(f?f[c]=me[c].all:f={},f),{}))};return y.useEffect(()=>{e.forEach(l=>me[l]={all:0}),rt.menu=o,o()},[e]),t}function wr(e,t){switch(typeof t){case"number":me[e].all+=t,rt.menu();break}}const kr={useMenu:yr,setUpdate:wr},Sr="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";function jr(e){return new SharedWorker("data:text/javascript;base64,"+Sr,{name:e==null?void 0:e.name})}let O={},R={},_e=["filter","online","users","company","select","setting","info","job"];const Cr=()=>{const[e,t]=y.useState(!1),[r,o]=y.useState(!1);return[f=>{const c=new jr;O.laodData=u=>{let d=_e.indexOf(u);d>=0&&_e.splice(d,1),_e.length===0&&t(!0)},O.send=u=>{c.port.postMessage({type:"send",json:u})},c.port.onmessage=u=>{let d=u.data;console.log(d),d.type==="error"&&o(!0),d.type==="true"&&t(!0),d.type==="closed"&&(console.warn("closed"),c.port.postMessage({type:"connect",ukey:f,lk:we()})),_e.length!==0&&O.laodData(d.type),R[d.type]&&R[d.type](d)},c.port.postMessage({type:"connect",ukey:f,lk:we()})},e,r]};R.module=e=>{O[e.listen]!==void 0&&(O[e.listen](e),delete O[e.listen])},R.bell=e=>{O.bell!==void 0&&O.bell(e)},R.info=e=>{let t={};t.db=e.db,t.id=e.data.id,t.job=e.data.job,t.login=e.data.login,t.name=e.data.p02,t.patronymic=e.data.p03,t.surname=e.data.p01,t.email=e.data.email,t.admin=e.data.menu.includes("99"),Ue(t),Ze(e.data.menu)},R.version=async e=>{},R.online=async e=>{},R.offline=async e=>{},R.chat=e=>{switch(console.log(e.data.action),e.data.action){case"new_message":fe.getModule();break;case"view_message":fe.getModule();break;case"write_message":fe.getModule();break}console.log(e)},R.users=e=>{console.log("users",e);let t={};e.data.forEach(o=>{let l=o.p01+" "+o.p02+" "+o.p03,f=o.p01+" "+o.p02.substring(0,1)+"."+o.p03.substring(0,1)+".",c=o.p01.substring(0,1)+""+o.p02.substring(0,1)+o.p03.substring(0,1);t[o.id]={id:o.id,admin:o.m.includes("99"),ava:JSON.parse(o.a),job:o.j,login:"",online:{time:o.o,status:0},sts:o.s,nameFull:l,name:f,number:c}});let r={...ne(),user:t};te(r)},R.company=e=>{let t={},r={};e.data.forEach(l=>{t[l.id]={s:l.v,n:l.a},r[l.id]=l});let o={...ne(),901:t};De(r),te(o)},R.api=e=>{let t={};e.data.forEach(r=>{t[r.api]={key:r.key,p01:r.p01,p02:r.p02}})},R.delete=()=>{P()},R.select=e=>{let t={...ne()};e.data.forEach(r=>{t[r.n]=JSON.parse(r.s)}),te(t)},R.job=e=>{let t={...ne()},r={};Object.keys(e.data).forEach(o=>{r[o]={s:1,n:e.data[o]}}),t[1]=r,te(t)},R.setting=e=>{},R.app=()=>{};const Er=(e,t)=>{O[e]=t},Rr=(e,t)=>{O[e](t)};function Tr(e){let t="_"+String(Math.random()).substring(2,7);return new Promise(r=>{O[t]=o=>{o.error!==void 0?r({error:o.error}):r(o.data),delete O[t]},e={...e,listen:t},e.type="modules",O.send(e)})}const Ir={useConnect:Cr,useListener:Er,setListener:Rr,Send:Tr};w.Action=Qe,w.Alert=Gn,w.Api=sn,w.Badge=kr,w.Browser=Nn,w.Button=Xe,w.Component=Wn,w.Event=vr,w.Format=mr,w.Icon=Bn,w.Init=Je,w.Modal=He,w.Notice=Yn,w.Router=fe,w.Setting=An,w.Socket=Ir,w.Store=ue,w.Tabs=Ke,w.Triage=tr,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Send } from './Socket';
|
|
2
|
+
|
|
3
|
+
declare const _default: {
|
|
4
|
+
useConnect: () => (boolean | ((ukey: string) => void))[];
|
|
5
|
+
useListener: (name: string, listener: any) => void;
|
|
6
|
+
setListener: (q: any, o: any) => void;
|
|
7
|
+
Send: typeof Send;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -42,9 +42,11 @@ export declare function getSort(): any;
|
|
|
42
42
|
export declare function setCompany(s: any): void;
|
|
43
43
|
export declare function getCompany(i: any): any;
|
|
44
44
|
export declare function setSelect(o: any): void;
|
|
45
|
-
export declare function getSelect(a
|
|
45
|
+
export declare function getSelect(a?: any, b?: any): any;
|
|
46
46
|
export declare function setApi(o: any): void;
|
|
47
47
|
export declare function getApi(a: any): any;
|
|
48
48
|
export declare function setPayment(o: any): void;
|
|
49
49
|
export declare function getPayment(): any;
|
|
50
|
+
export declare function setUser(s: any): void;
|
|
51
|
+
export declare function getUser(): any;
|
|
50
52
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
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';
|
|
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, setUser, getUser } from './Store';
|
|
2
2
|
|
|
3
3
|
declare const _default: {
|
|
4
4
|
setSSID: typeof setSSID;
|
|
@@ -24,5 +24,7 @@ declare const _default: {
|
|
|
24
24
|
getApi: typeof getApi;
|
|
25
25
|
setPayment: typeof setPayment;
|
|
26
26
|
getPayment: typeof getPayment;
|
|
27
|
+
setUser: typeof setUser;
|
|
28
|
+
getUser: typeof getUser;
|
|
27
29
|
};
|
|
28
30
|
export default _default;
|
package/dist/lib/index.d.ts
CHANGED