elcrm 0.9.13 → 0.9.15
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/Lang/Lang.d.ts +1 -1
- package/dist/Lang/index.d.ts +1 -1
- package/dist/Layout/Lite.d.ts +12 -0
- package/dist/Layout/index.d.ts +13 -0
- package/dist/Tabs/List.d.ts +20 -0
- package/dist/Tabs/Lite.d.ts +10 -0
- package/dist/Tabs/index.d.ts +20 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +14939 -3923
- package/dist/index.umd.js +388 -11
- package/package.json +1 -1
- package/dist/Tabs/Tabs.d.ts +0 -26
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(T,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],f):(T=typeof globalThis<"u"?globalThis:T||self,f((T.elCRM=T.elCRM||{},T.elCRM.components={}),T.React))})(this,function(T,f){"use strict";var _l=Object.defineProperty;var ul=(T,f,Ce)=>f in T?_l(T,f,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):T[f]=Ce;var Kt=(T,f,Ce)=>ul(T,typeof f!="symbol"?f+"":f,Ce);var Ce=document.createElement("style");Ce.textContent=`@charset "UTF-8";._notice_9i5tr_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_9i5tr_2 ._error_9i5tr_9{color:#bb2014}._notice_9i5tr_2 ._success_9i5tr_12{color:#367738}._notice_9i5tr_2 ._remark_9i5tr_15{color:#b77513}._notice_9i5tr_2 ._copy_9i5tr_18{color:#3f51b5}._notice_9i5tr_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-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_9i5tr_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_9i5tr_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_9i5tr_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_9i5tr_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_9i5tr_1 1s 1;animation-fill-mode:forwards}._notice_9i5tr_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_9i5tr_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_9i5tr_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_9i5tr_1{0%{opacity:1}to{opacity:0}}._alerts_1pds5_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_1pds5_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_1pds5_1 .4s 0s both;animation:_menuAnimation_1pds5_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_1pds5_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_1pds5_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_1pds5_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1pds5_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_1pds5_1 .2s 0s both;animation:_menuItemAnimation_1pds5_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1pds5_1 button[color=blue]{color:#1b6ac0}._alerts_1pds5_1 button[color=red]{color:#c21c0d}._alerts_1pds5_1 button:hover{background:var(--system-hover)}._alerts_1pds5_1 ._--body_1pds5_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1pds5_111 ._--form_1pds5_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)}._al_1pds5_1{display:flex;color:#fff;font-weight:700;height:40px;align-items:center}._al_1pds5_1 svg{fill:#fff;width:25px;height:25px;margin:0 15px}._al_1pds5_1[active=success]{background:#4caf51}._al_1pds5_1[active=error]{background:#f44336}._al_1pds5_1[active=remark]{background:#ff9800}._al_1pds5_1[active=none],._al_1pds5_1[active="0"]{display:none}._al_1pds5_1[active="1"]{background:#ff9800}._al_1pds5_1[active="2"]{background:#f44336}._al_1pds5_1[active="3"]{background:#4caf51}._al_1pds5_1[active="4"]{background:#abb6d2}._al_1pds5_1[active="5"]{background:#506290}._al_1pds5_1 button{height:30px;line-height:30px;padding:0 20px;font-weight:400;margin-left:20px;background:#e6e6e6}._n_euuvm_1{flex:0 0 50px;cursor:pointer;color:#fff;border-right:1px solid #000;display:flex;justify-content:center;align-items:center}._n_euuvm_1 svg{width:30px;height:30px;color:#fff}: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_swayt_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_swayt_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_swayt_1;animation-name:_shake_swayt_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_swayt_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_swayt_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_swayt_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_swayt_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;overflow:hidden}._h_swayt_107{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_swayt_121{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_swayt_121 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_swayt_121 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_swayt_121 li:last-child{border-bottom:0}._l_swayt_121 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_swayt_159{padding-right:10px}._m_swayt_73{flex:1}._x_swayt_167{cursor:pointer;color:#1f253d;opacity:.5;display:flex}._x_swayt_167 svg{width:20px}._s_swayt_177{flex:1;overflow-y:scroll}._c_swayt_182{text-align:center;margin:20px}._f_swayt_187{padding:0 20px;display:flex;flex-direction:column}._f_swayt_187 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_swayt_187 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_swayt_187 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_swayt_187 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_swayt_167:hover{opacity:1}._g_swayt_230{display:flex;gap:10px}._c_swayt_182{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_swayt_182:first-child{margin-left:20px}._c_swayt_182:last-child{margin-right:20px}._c_swayt_182:hover{opacity:1;background:var(--tinge)}._c_swayt_182 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_swayt_182 b{text-align:center;display:block;color:var(--color)}._c_swayt_182 p{text-align:center;font-size:15px;color:var(--text)}._modal_swayt_73._size-a_swayt_279 ._w_swayt_14{width:auto}._modal_swayt_73._size-s_swayt_283 ._w_swayt_14{width:400px}._modal_swayt_73._size-m_swayt_287 ._w_swayt_14{width:500px}._modal_swayt_73._size-l_swayt_291 ._w_swayt_14{width:800px}._modal_swayt_73._size-x_swayt_295 ._w_swayt_14{width:1000px}._modal_swayt_73._size-f_swayt_299 ._w_swayt_14{width:100%;max-width:1200px;min-width:910px}._m_swayt_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_swayt_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_swayt_73 big i:hover{box-shadow:var(--inset)}._m_swayt_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_swayt_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_swayt_73 span._active_swayt_348{box-shadow:var(--inset);color:var(--color)}._coincidence_swayt_354{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_swayt_354 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_swayt_354 dl{display:flex;padding:0;margin:5px}._coincidence_swayt_354 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}._sa_swayt_390{width:auto}._ss_swayt_394{width:400px}._sm_swayt_398{width:500px}._sl_swayt_402{width:800px}._sx_swayt_406{width:1000px}._sf_swayt_410{width:100%;max-width:1200px;min-width:910px}._btn_swayt_416{margin:10px auto 20px}button{background:#b95656;font-weight:700}._btn_1d6a6_6{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1d6a6_6:hover{opacity:1}._confirm_1d6a6_20{background:#4caf50;color:#fff}._cancel_1d6a6_25{background:#f44336;color:#fff}._disabled_1d6a6_30,._await_1d6a6_37{background:#efefef;color:#000;opacity:1;cursor:default}._m_1d6a6_44{min-width:200px}._l_1d6a6_48{flex:1}._h_1usnu_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex;height:35px}._g_1usnu_11{display:flex;gap:5px}._hr_1usnu_16{text-align:center;position:absolute;display:flex;top:0;right:0;align-items:center;gap:6px;padding-right:4px;height:35px}._hl_1usnu_28{text-align:center;position:absolute;display:flex;top:0;left:0;align-items:center;gap:6px;padding-left:4px;height:35px}._t_1usnu_40{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_1usnu_60{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_1usnu_69{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_1usnu_76{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._o_1usnu_76 ul{border-top:1px solid var(--separator);display:flex;flex-direction:column;gap:1px;background:var(--separator)}._o_1usnu_76 li{background:var(--content);display:flex}._o_1usnu_76 li[data-empty]:empty:before{content:attr(data-empty);display:block;color:#ccc;text-align:center;height:50px;line-height:50px;background:#fff}._l_1usnu_105{flex:1;overflow:hidden;overflow-y:scroll;border-radius:0 0 5px 5px}._l_1usnu_105:last-child{border-radius:0}._hh_1usnu_115{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}._c_1usnu_128{width:300px;height:150px;margin:auto;border-radius:5px;text-align:center;background:#0000004a;line-height:150px;color:#fff}[type=load]{display:block;text-align:center;height:50px;line-height:50px;background:#fff;border-radius:0 0 5px 5px}[type=load] i{display:inline-block;width:15px;height:15px;border-radius:15px;background-color:#e6ebf4;margin:0 5px}[type=load] i:nth-last-child(1){animation:_loadingB_1usnu_1 1.5s 1s infinite}[type=load] i:nth-last-child(2){animation:_loadingB_1usnu_1 1.5s .5s infinite}[type=load] i:nth-last-child(3){animation:_loadingB_1usnu_1 1.5s 0s infinite}@keyframes _loadingB_1usnu_1{0%{width:15px}50%{width:35px}to{width:15px}}._m_1usnu_180{-webkit-app-region:no-drag;overflow:hidden;border-radius:5px;margin-top:5px;background:#fff;display:block;min-height:35px;padding:10px;text-align:justify;white-space:pre-line}._m_1usnu_180 dd{min-height:35px}._ul_1usnu_196{overflow:hidden;border-radius:0;background:var(--separator);list-style-type:none;list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1px}._ul_1usnu_196 li{display:flex;font-size:12px;min-height:25px;cursor:pointer;align-items:center;gap:1px}._ul_1usnu_196 span{background:var(--content);flex:1;height:25px;line-height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._f_1usnu_226{border-top:1px solid var(--separator)}._f_1usnu_226 dl{display:flex;border-bottom:1px solid #ddd;margin:0}._f_1usnu_226 dt{flex:0 120px;font-size:13px;color:#999;margin:0;padding:6px 0 5px 9px}._f_1usnu_226 dd{flex:1;margin:0;border-left:1px solid #ddd;padding:5px;font-size:15px;min-height:17px;margin-inline-start:0px;overflow:hidden;overflow-x:scroll}._f_1usnu_226[edit] [edit=true]{color:red}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_dva4m_2{width:100%;overflow:auto}._setting_dva4m_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_dva4m_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_dva4m_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_dva4m_2 nav li[tabs-active=true]{opacity:1}._setting_dva4m_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_dva4m_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_dva4m_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_dva4m_2 li{font-size:20px;line-height:40px}._setting_dva4m_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;color:var(--setting-color);background:var(--setting-bg)}._setting_dva4m_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_dva4m_2 dt{flex:1;padding:0 15px}._setting_dva4m_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_dva4m_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_dva4m_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_dva4m_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_dva4m_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_dva4m_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_dva4m_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_dva4m_2 [role=button]:hover{background:var(--setting-action)}._setting_dva4m_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_dva4m_2 [role=button-outline]:hover{background:#00000038}._setting_dva4m_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_dva4m_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_dva4m_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_dva4m_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_dva4m_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_dva4m_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._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}._s_18bde_1{flex:1;overflow:scroll}._s_18bde_1 [data-load]{display:block;text-align:center;height:50px;line-height:50px;background:#fff;border-radius:0 0 5px 5px}._s_18bde_1 [data-load] i{display:inline-block;width:15px;height:15px;border-radius:15px;background-color:#e6ebf4;margin:0 5px}._s_18bde_1 [data-load] i:nth-last-child(1){animation:_loadingB_18bde_1 1.5s 1s infinite}._s_18bde_1 [data-load] i:nth-last-child(2){animation:_loadingB_18bde_1 1.5s .5s infinite}._s_18bde_1 [data-load] i:nth-last-child(3){animation:_loadingB_18bde_1 1.5s 0s infinite}._ul_18bde_31{overflow:hidden;border-radius:0 0 5px 5px;background:var(--separator);display:block;list-style-type:none;list-style:none;padding:0;margin:0}._ul_18bde_31 [data-empty]:empty:before{content:attr(data-empty);display:block;color:#ccc;text-align:center;height:50px;line-height:50px;background:#fff}@keyframes _loadingB_18bde_1{0%{width:15px}50%{width:35px}to{width:15px}}._o_66f7n_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_66f7n_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:#394264;z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_66f7n_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_66f7n_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_66f7n_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_66f7n_11 b:hover{background:#00000073}._c_66f7n_11 p{color:#abb6d2;text-align:center;padding:0;margin:3px;cursor:default}._c_66f7n_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_66f7n_11 i:hover{background:#00000073}._c_66f7n_11 i:before{cursor:pointer;display:block}._c_66f7n_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_66f7n_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_66f7n_11 span{padding:2px;text-align:center}._c_66f7n_11 ._as_66f7n_87{cursor:ns-resize}._c_66f7n_11 ._ap_66f7n_90{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}._spinner_o487n_1{fill:var(--spunner-color, #fff);display:block;width:70px;height:70px;margin:70px auto;animation:_spinner_o487n_1 1.5s infinite linear;border-radius:50%}@-webkit-keyframes _spinner_o487n_1{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes _spinner_o487n_1{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes _spinner_o487n_1{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes _spinner_o487n_1{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}._l_o487n_75{display:block;text-align:center;height:50px;line-height:50px;background:#fff;border-radius:0 0 5px 5px}._l_o487n_75 i{display:inline-block;width:15px;height:15px;border-radius:15px;background-color:var(--spunner-color, #fff);margin:0 5px}._l_o487n_75 i:nth-last-child(1){animation:_loadingB_o487n_1 1.5s 1s infinite}._l_o487n_75 i:nth-last-child(2){animation:_loadingB_o487n_1 1.5s .5s infinite}._l_o487n_75 i:nth-last-child(3){animation:_loadingB_o487n_1 1.5s 0s infinite}@keyframes _loadingB_o487n_1{0%{width:15px}50%{width:35px}to{width:15px}}._s_t9swc_1{flex:0 0 200px;cursor:text;text-align:left;line-height:30px;max-width:200px;overflow:hidden;white-space:nowrap;outline:none;height:30px;padding:0 5px 0 10px;color:#fff;margin-top:10px;margin-left:5px;background:#0000004d;border:1px solid rgba(0,0,0,.3);border-radius:5px;box-shadow:inset 0 -5px 45px #64646433,0 1px 1px #fff3}._s_t9swc_1:empty:before{content:attr(placeholder);display:block;color:#ccc}._f_q3r0i_1{flex:0 0 50px;position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer}._f_q3r0i_1 svg{width:30px;height:30px;color:#fff}._f_q3r0i_1 i{width:15px;height:15px;color:#fff;position:absolute;background:red;border-radius:50%;font-style:normal;top:5px;right:0;display:flex;align-items:center;justify-content:center;padding:10px}._p_djnh1_1{background:#fff;display:none;height:35px;line-height:35px;margin-top:2px;display:flex}._p_djnh1_1 span{flex:1 1;display:flex;text-align:center;cursor:pointer;color:#999;font-style:normal}._p_djnh1_1 span[active]{color:#000}._p_djnh1_1 i{cursor:pointer;flex:0 1 40px;align-items:center;display:flex;fill:#999;justify-content:center}._p_djnh1_1 i:hover{fill:#000}._p_djnh1_1 i:first-child{transform:rotate(180deg)}._p_djnh1_1 svg{width:20px}._l_djnh1_38{flex:1;overflow:scroll}
|
|
2
|
-
`,document.head.appendChild(
|
|
1
|
+
(function(re,N){typeof exports=="object"&&typeof module<"u"?N(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],N):(re=typeof globalThis<"u"?globalThis:re||self,N((re.elCRM=re.elCRM||{},re.elCRM.components={}),re.React))})(this,function(re,N){"use strict";var Jv=Object.defineProperty;var qv=(re,N,Dn)=>N in re?Jv(re,N,{enumerable:!0,configurable:!0,writable:!0,value:Dn}):re[N]=Dn;var Pa=(re,N,Dn)=>qv(re,typeof N!="symbol"?N+"":N,Dn);var Dn=document.createElement("style");Dn.textContent=`@charset "UTF-8";._notice_9i5tr_2{position:absolute;right:20px;top:72px;z-index:1111;font-family:Inter,sans-serif}._notice_9i5tr_2 ._error_9i5tr_9{color:#bb2014}._notice_9i5tr_2 ._success_9i5tr_12{color:#367738}._notice_9i5tr_2 ._remark_9i5tr_15{color:#b77513}._notice_9i5tr_2 ._copy_9i5tr_18{color:#3f51b5}._notice_9i5tr_2 li{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:block;width:300px;height:70px;border-radius:var(--notice-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_9i5tr_2 svg{float:left;width:50px;height:50px;margin:10px;font-size:40px;line-height:51px;text-align:center}._notice_9i5tr_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_9i5tr_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_9i5tr_2 [data-status=show]{opacity:1;transition:1s;animation:_show-notice_9i5tr_1 1s 1;animation-fill-mode:forwards}._notice_9i5tr_2 [data-status=hide]{opacity:1;transition:1s;animation:_hide-notice_9i5tr_1 1s 1;animation-fill-mode:forwards}@keyframes _show-notice_9i5tr_1{0%{opacity:0}to{opacity:1}}@keyframes _hide-notice_9i5tr_1{0%{opacity:1}to{opacity:0}}._alerts_1pds5_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_1pds5_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_1pds5_1 .4s 0s both;animation:_menuAnimation_1pds5_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_1pds5_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_1pds5_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_1pds5_1 ul{border-top:1px solid var(--system-hr);width:100%;display:flex}._alerts_1pds5_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_1pds5_1 .2s 0s both;animation:_menuItemAnimation_1pds5_1 .2s 0s both;font-family:Inter,sans-serif;border:0}._alerts_1pds5_1 button[color=blue]{color:#1b6ac0}._alerts_1pds5_1 button[color=red]{color:#c21c0d}._alerts_1pds5_1 button:hover{background:var(--system-hover)}._alerts_1pds5_1 ._--body_1pds5_103{position:fixed;top:0;bottom:0;left:0;right:0}._allert_1pds5_111 ._--form_1pds5_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)}._al_1pds5_1{display:flex;color:#fff;font-weight:700;height:40px;align-items:center}._al_1pds5_1 svg{fill:#fff;width:25px;height:25px;margin:0 15px}._al_1pds5_1[active=success]{background:#4caf51}._al_1pds5_1[active=error]{background:#f44336}._al_1pds5_1[active=remark]{background:#ff9800}._al_1pds5_1[active=none],._al_1pds5_1[active="0"]{display:none}._al_1pds5_1[active="1"]{background:#ff9800}._al_1pds5_1[active="2"]{background:#f44336}._al_1pds5_1[active="3"]{background:#4caf51}._al_1pds5_1[active="4"]{background:#abb6d2}._al_1pds5_1[active="5"]{background:#506290}._al_1pds5_1 button{height:30px;line-height:30px;padding:0 20px;font-weight:400;margin-left:20px;background:#e6e6e6}._n_euuvm_1{flex:0 0 50px;cursor:pointer;color:#fff;border-right:1px solid #000;display:flex;justify-content:center;align-items:center}._n_euuvm_1 svg{width:30px;height:30px;color:#fff}: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_swayt_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_swayt_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_swayt_1;animation-name:_shake_swayt_1;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@keyframes _shake_swayt_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_swayt_73{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10;display:flex}._o_swayt_83{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#000000b8}._w_swayt_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;overflow:hidden}._h_swayt_107{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_swayt_121{border-radius:10px;font-size:15px;box-shadow:var(--inset);color:var(--color);margin:10px;overflow:hidden;overflow-y:scroll;padding:5px 0}._l_swayt_121 li{display:flex;margin:0 5px;padding:10px;position:relative}._l_swayt_121 li:after{content:"";border-bottom:1px solid #ddd;position:absolute;bottom:0;left:5px;right:5px}._l_swayt_121 li:last-child{border-bottom:0}._l_swayt_121 li:hover{background:#00000012;cursor:pointer;border-radius:5px}._t_swayt_159{padding-right:10px}._m_swayt_73{flex:1}._x_swayt_167{cursor:pointer;color:#1f253d;opacity:.5;display:flex}._x_swayt_167 svg{width:20px}._s_swayt_177{flex:1;overflow-y:scroll}._c_swayt_182{text-align:center;margin:20px}._f_swayt_187{padding:0 20px;display:flex;flex-direction:column}._f_swayt_187 dl{margin:7px 0;flex:1 1;flex-direction:row;display:flex}._f_swayt_187 dt{padding:7px 10px;color:var(--text);margin-left:7px;flex:0 1 150px}._f_swayt_187 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_swayt_187 p{margin:auto;width:300px;padding:20px 0 5px;color:#1f253dc7;font-size:15px}._x_swayt_167:hover{opacity:1}._g_swayt_230{display:flex;gap:10px}._c_swayt_182{margin:10px 7px 20px;opacity:.8;box-shadow:var(--outset);border-radius:10px;padding:20px;flex:1;text-align:center;cursor:pointer}._c_swayt_182:first-child{margin-left:20px}._c_swayt_182:last-child{margin-right:20px}._c_swayt_182:hover{opacity:1;background:var(--tinge)}._c_swayt_182 i{font-size:70px;margin-bottom:20px;text-align:center;display:block;color:var(--disabled)}._c_swayt_182 b{text-align:center;display:block;color:var(--color)}._c_swayt_182 p{text-align:center;font-size:15px;color:var(--text)}._modal_swayt_73._size-a_swayt_279 ._w_swayt_14{width:auto}._modal_swayt_73._size-s_swayt_283 ._w_swayt_14{width:400px}._modal_swayt_73._size-m_swayt_287 ._w_swayt_14{width:500px}._modal_swayt_73._size-l_swayt_291 ._w_swayt_14{width:800px}._modal_swayt_73._size-x_swayt_295 ._w_swayt_14{width:1000px}._modal_swayt_73._size-f_swayt_299 ._w_swayt_14{width:100%;max-width:1200px;min-width:910px}._m_swayt_73 big{position:absolute;margin:10px auto 20px;border-radius:5px;box-shadow:var(--outset);display:flex;top:-1px;right:55px}._m_swayt_73 big i{width:30px;height:30px;text-align:center;margin:3px;line-height:30px;cursor:pointer;border-radius:5px}._m_swayt_73 big i:hover{box-shadow:var(--inset)}._m_swayt_73 nav{width:fit-content;height:35px;margin:0 auto;box-shadow:var(--outset);border-radius:5px;display:flex}._m_swayt_73 span{border-radius:3px;flex:1 1;margin:2px;padding:0 10px;line-height:35px;color:var(--disabled);cursor:pointer}._m_swayt_73 span._active_swayt_348{box-shadow:var(--inset);color:var(--color)}._coincidence_swayt_354{position:fixed;right:20px;bottom:20px;z-index:1111;overflow-y:scroll;max-height:565px;padding-top:90px}._coincidence_swayt_354 span{display:block;width:300px;border-radius:5px;overflow:hidden;cursor:pointer;margin:10px 0;padding:10px;color:#1f253d}._coincidence_swayt_354 dl{display:flex;padding:0;margin:5px}._coincidence_swayt_354 dd{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0;margin:0 10px}._sa_swayt_390{width:auto}._ss_swayt_394{width:400px}._sm_swayt_398{width:500px}._sl_swayt_402{width:800px}._sx_swayt_406{width:1000px}._sf_swayt_410{width:100%;max-width:1200px;min-width:910px}._btn_swayt_416{margin:10px auto 20px}button{background:#b95656;font-weight:700}._btn_1d6a6_6{opacity:.7;padding:7px 25px;border-radius:5px;box-shadow:var(--outset);display:flex;justify-content:center;cursor:pointer;transition:.3s ease}._btn_1d6a6_6:hover{opacity:1}._confirm_1d6a6_20{background:#4caf50;color:#fff}._cancel_1d6a6_25{background:#f44336;color:#fff}._disabled_1d6a6_30,._await_1d6a6_37{background:#efefef;color:#000;opacity:1;cursor:default}._m_1d6a6_44{min-width:200px}._l_1d6a6_48{flex:1}._h_1usnu_1{background:var(--content);margin-bottom:2px;border-radius:5px 5px 0 0;line-height:35px;align-items:center;display:flex;height:35px}._g_1usnu_11{display:flex;gap:5px}._hr_1usnu_16{text-align:center;position:absolute;display:flex;top:0;right:0;align-items:center;gap:6px;padding-right:4px;height:35px}._hl_1usnu_28{text-align:center;position:absolute;display:flex;top:0;left:0;align-items:center;gap:6px;padding-left:4px;height:35px}._t_1usnu_40{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_1usnu_60{display:flex;flex:1;position:relative;overflow:hidden;border-radius:5px;flex-flow:column nowrap}._u_1usnu_69{overflow:hidden;border-radius:0 0 5px 5px;background:var(--content);display:block}._o_1usnu_76{overflow:hidden;position:relative;border-radius:5px;margin-top:5px;flex:1 1;background:var(--content)}._o_1usnu_76 ul{border-top:1px solid var(--separator);display:flex;flex-direction:column;gap:1px;background:var(--separator)}._o_1usnu_76 li{background:var(--content);display:flex}._o_1usnu_76 li[data-empty]:empty:before{content:attr(data-empty);display:block;color:#ccc;text-align:center;height:50px;line-height:50px;background:#fff}._l_1usnu_105{flex:1;overflow:hidden;overflow-y:scroll;border-radius:0 0 5px 5px}._l_1usnu_105:last-child{border-radius:0}._hh_1usnu_115{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}._c_1usnu_128{width:300px;height:150px;margin:auto;border-radius:5px;text-align:center;background:#0000004a;line-height:150px;color:#fff}[type=load]{display:block;text-align:center;height:50px;line-height:50px;background:#fff;border-radius:0 0 5px 5px}[type=load] i{display:inline-block;width:15px;height:15px;border-radius:15px;background-color:#e6ebf4;margin:0 5px}[type=load] i:nth-last-child(1){animation:_loadingB_1usnu_1 1.5s 1s infinite}[type=load] i:nth-last-child(2){animation:_loadingB_1usnu_1 1.5s .5s infinite}[type=load] i:nth-last-child(3){animation:_loadingB_1usnu_1 1.5s 0s infinite}@keyframes _loadingB_1usnu_1{0%{width:15px}50%{width:35px}to{width:15px}}._m_1usnu_180{-webkit-app-region:no-drag;overflow:hidden;border-radius:5px;margin-top:5px;background:#fff;display:block;min-height:35px;padding:10px;text-align:justify;white-space:pre-line}._m_1usnu_180 dd{min-height:35px}._ul_1usnu_196{overflow:hidden;border-radius:0;background:var(--separator);list-style-type:none;list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:1px}._ul_1usnu_196 li{display:flex;font-size:12px;min-height:25px;cursor:pointer;align-items:center;gap:1px}._ul_1usnu_196 span{background:var(--content);flex:1;height:25px;line-height:25px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._f_1usnu_226{border-top:1px solid var(--separator)}._f_1usnu_226 dl{display:flex;border-bottom:1px solid #ddd;margin:0}._f_1usnu_226 dt{flex:0 120px;font-size:13px;color:#999;margin:0;padding:6px 0 5px 9px}._f_1usnu_226 dd{flex:1;margin:0;border-left:1px solid #ddd;padding:5px;font-size:15px;min-height:17px;margin-inline-start:0px;overflow:hidden;overflow-x:scroll}._f_1usnu_226[edit] [edit=true]{color:red}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_dva4m_2{width:100%;overflow:auto}._setting_dva4m_2 nav{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_dva4m_2 nav ul{display:flex;justify-content:space-between;gap:1px}._setting_dva4m_2 nav li{flex:1;text-align:center;background:var(--setting-bg);color:var(--setting-color);cursor:pointer;opacity:.7}._setting_dva4m_2 nav li[tabs-active=true]{opacity:1}._setting_dva4m_2 fieldset{border:0px;padding:0 10px 5px;margin:25px auto;width:600px}._setting_dva4m_2 legend{text-transform:uppercase;font-weight:300;font-size:1.3em}._setting_dva4m_2 ul{margin:10px 0;color:#000;border-radius:8px;overflow:hidden;list-style-type:none;padding:0}._setting_dva4m_2 li{font-size:20px;line-height:40px}._setting_dva4m_2 dl{display:flex;margin:0 0 1px;align-items:center;padding-right:9px;color:var(--setting-color);background:var(--setting-bg)}._setting_dva4m_2 dd{text-align:right;padding-left:15px;position:relative;display:flex;justify-content:center}._setting_dva4m_2 dt{flex:1;padding:0 15px}._setting_dva4m_2 article{padding-left:15px;color:var(--setting-bg);font-weight:100;font-size:14px}._setting_dva4m_2 legend{color:var(--setting-bg);display:flex;justify-content:space-between;width:100%}._setting_dva4m_2 svg{fill:var(--setting-color);width:15px;margin-left:10px}._setting_dva4m_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_dva4m_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_dva4m_2 [data-item=accordion]>div{margin-top:1px;background-color:var(--setting-bg)}._setting_dva4m_2 [role=button]{font-size:13px;border-radius:5px;text-align:center;width:100px;line-height:30px;padding:0;cursor:pointer}._setting_dva4m_2 [role=button]:hover{background:var(--setting-action)}._setting_dva4m_2 [role=button-outline]{font-size:14px;border:1px solid;padding:3px 13px;border-radius:6px;cursor:pointer;text-transform:none}._setting_dva4m_2 [role=button-outline]:hover{background:#00000038}._setting_dva4m_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_dva4m_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_dva4m_2 [role=switch]:before{content:"";position:absolute;left:0;width:42px;height:22px;background-color:#ddd;border-radius:11px;transition:all .25s linear}._setting_dva4m_2 [role=switch][aria-checked=true]{background-color:#1f253d}._setting_dva4m_2 [role=switch][aria-checked=true]:before{transform:translate3d(18px,2px,0) scale3d(0,0,0)}._setting_dva4m_2 [role=switch][aria-checked=true]:after{transform:translate3d(19px,3px,0)}._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}._s_18bde_1{flex:1;overflow:scroll}._s_18bde_1 [data-load]{display:block;text-align:center;height:50px;line-height:50px;background:#fff;border-radius:0 0 5px 5px}._s_18bde_1 [data-load] i{display:inline-block;width:15px;height:15px;border-radius:15px;background-color:#e6ebf4;margin:0 5px}._s_18bde_1 [data-load] i:nth-last-child(1){animation:_loadingB_18bde_1 1.5s 1s infinite}._s_18bde_1 [data-load] i:nth-last-child(2){animation:_loadingB_18bde_1 1.5s .5s infinite}._s_18bde_1 [data-load] i:nth-last-child(3){animation:_loadingB_18bde_1 1.5s 0s infinite}._ul_18bde_31{overflow:hidden;border-radius:0 0 5px 5px;background:var(--separator);display:block;list-style-type:none;list-style:none;padding:0;margin:0}._ul_18bde_31 [data-empty]:empty:before{content:attr(data-empty);display:block;color:#ccc;text-align:center;height:50px;line-height:50px;background:#fff}@keyframes _loadingB_18bde_1{0%{width:15px}50%{width:35px}to{width:15px}}._o_66f7n_1{position:fixed;z-index:98;top:0;left:0;right:0;bottom:0;background:#0000}._c_66f7n_11{box-shadow:5px 7px 18px #000000a8;padding:10px;margin:0;display:block;position:absolute;background:#394264;z-index:99;border-radius:10px;overflow:hidden;max-height:315px;color:#fff}._c_66f7n_11 [grid-calendar]{display:grid;grid-template-columns:35px 35px 35px 35px 35px 35px 35px}._c_66f7n_11 [grid-month]{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;width:250px}._c_66f7n_11 b{font-weight:400;display:block;padding:8px 5px;border-radius:5px;cursor:pointer;text-align:center}._c_66f7n_11 b:hover{background:#00000073}._c_66f7n_11 p{color:#abb6d2;text-align:center;padding:0;margin:3px;cursor:default}._c_66f7n_11 i{flex:0 30px;padding:9px;text-align:center;cursor:pointer;border-radius:5px}._c_66f7n_11 i:hover{background:#00000073}._c_66f7n_11 i:before{cursor:pointer;display:block}._c_66f7n_11 s{display:flex;font-style:normal;text-decoration:none;padding-bottom:5px;align-items:center}._c_66f7n_11 s h2{flex:1 1;padding:0;margin:0;font-size:18px;text-align:center;font-weight:400;line-height:35px;color:#fff;cursor:default}._c_66f7n_11 span{padding:2px;text-align:center}._c_66f7n_11 ._as_66f7n_87{cursor:ns-resize}._c_66f7n_11 ._ap_66f7n_90{cursor:pointer}[field=password] dd{white-space:nowrap;font-style:unset;-webkit-text-security:disc;user-select:none;-webkit-user-select:text}[field=password] dd:before{-webkit-text-security:none}[field=code] div{display:flex;gap:8px}[field=select] dd{cursor:pointer}[field] dd:before{pointer-events:none}[field=check] dd{max-width:35px;padding:0;cursor:pointer}[field=check] [active]:after{content:"";background:#394264;width:15px;height:15px;display:block;border-radius:5px}[field=file] input{display:none}[field=file] dd{aspect-ratio:16/9;position:relative;cursor:pointer}[field=file] img{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;cursor:pointer}[field=file] label{aspect-ratio:16/9;display:block;width:-webkit-fill-available;object-fit:contain;position:absolute;cursor:pointer}._spinner_o487n_1{fill:var(--spunner-color, #fff);display:block;width:70px;height:70px;margin:70px auto;animation:_spinner_o487n_1 1.5s infinite linear;border-radius:50%}@-webkit-keyframes _spinner_o487n_1{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-moz-keyframes _spinner_o487n_1{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@-o-keyframes _spinner_o487n_1{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes _spinner_o487n_1{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);-o-transform:rotate(360deg);transform:rotate(360deg)}}._l_o487n_75{display:block;text-align:center;height:50px;line-height:50px;background:#fff;border-radius:0 0 5px 5px}._l_o487n_75 i{display:inline-block;width:15px;height:15px;border-radius:15px;background-color:var(--spunner-color, #fff);margin:0 5px}._l_o487n_75 i:nth-last-child(1){animation:_loadingB_o487n_1 1.5s 1s infinite}._l_o487n_75 i:nth-last-child(2){animation:_loadingB_o487n_1 1.5s .5s infinite}._l_o487n_75 i:nth-last-child(3){animation:_loadingB_o487n_1 1.5s 0s infinite}@keyframes _loadingB_o487n_1{0%{width:15px}50%{width:35px}to{width:15px}}._s_t9swc_1{flex:0 0 200px;cursor:text;text-align:left;line-height:30px;max-width:200px;overflow:hidden;white-space:nowrap;outline:none;height:30px;padding:0 5px 0 10px;color:#fff;margin-top:10px;margin-left:5px;background:#0000004d;border:1px solid rgba(0,0,0,.3);border-radius:5px;box-shadow:inset 0 -5px 45px #64646433,0 1px 1px #fff3}._s_t9swc_1:empty:before{content:attr(placeholder);display:block;color:#ccc}._f_q3r0i_1{flex:0 0 50px;position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer}._f_q3r0i_1 svg{width:30px;height:30px;color:#fff}._f_q3r0i_1 i{width:15px;height:15px;color:#fff;position:absolute;background:red;border-radius:50%;font-style:normal;top:5px;right:0;display:flex;align-items:center;justify-content:center;padding:10px}._p_djnh1_1{background:#fff;display:none;height:35px;line-height:35px;margin-top:2px;display:flex}._p_djnh1_1 span{flex:1 1;display:flex;text-align:center;cursor:pointer;color:#999;font-style:normal}._p_djnh1_1 span[active]{color:#000}._p_djnh1_1 i{cursor:pointer;flex:0 1 40px;align-items:center;display:flex;fill:#999;justify-content:center}._p_djnh1_1 i:hover{fill:#000}._p_djnh1_1 i:first-child{transform:rotate(180deg)}._p_djnh1_1 svg{width:20px}._l_djnh1_38{flex:1;overflow:scroll}
|
|
2
|
+
`,document.head.appendChild(Dn);let Lr={enCode:t=>t,deCode:t=>t};const Da=t=>{Lr=t},Ge={enCode:t=>Lr.enCode(t),deCode:t=>Lr.deCode(t),New:Da},ne={},At={},Mn={},Fa={},qt={};let fr="M06";function Ki(t){fr=t}function Vi(){return fr}function Ji(t){if(localStorage.getItem("d")){let o=sessionStorage.getItem("f");o?(o=Ge.deCode(o),o||Zt(),ne.id=o.id,ne.tab=o.tab,ne.page=o.page,ne.module=o.module,ne.time=o.time,ne.payment={active:!0},ne.module_admin=o.module_admin):(ne.id=0,ne.tab="",ne.page="Main",ne.module=ne.module||fr)}else["a","b","c","d","e","m","u","s","q","p"].forEach(o=>localStorage.removeItem(o)),["f"].forEach(o=>sessionStorage.removeItem(o)),ne.id=0,ne.tab="",ne.page="Auth",ne.module=fr;return t}function Zt(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function qi(t){t=t.split("/"),ne.page="Main",ne.module=t[0],ne.tab=t[1],ne.id=0,sessionStorage.setItem("f",Ge.enCode({module:ne.module,page:ne.page,tab:ne.tab,id:ne.id,time:new Date().getTime()})),At.page(ne.page)}function Qi(t){return localStorage.setItem("d",t)}function el(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function tl(t){return localStorage.setItem("a",t)}function nl(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function rl(t){localStorage.setItem("p",Ge.enCode(t))}function Gr(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Ge.deCode(t);return r||Zt(),r}else return Zt(),!1}function al(){const[t,r]=N.useState(La()),o=i=>{r(i)};return At.page=o,[t]}function ol(t,r=!0){ne.page=t,sessionStorage.setItem("f",Ge.enCode(ne)),r&&At.page(t)}function La(){return ne.page}function il(t){return ne.page===t}function ll(t){if(typeof t!="function"){const[r,o]=N.useState(t||Ga()),i=s=>{o(s)};return At.module=i,[r]}else At.module=t}function sl(t,r=!0){ne.module=t,sessionStorage.setItem("f",Ge.enCode(ne)),r&&At.module(t)}function Ga(){return ne.module}function cl(t){return ne.module===t}function ul(t){if(typeof t!="function"){const[r,o]=N.useState(t||pr());return At.tabs=o,[r]}else At.tabs=t}function dl(t,r=!0){if(ne.tab=t,sessionStorage.setItem("f",Ge.enCode(ne)),!!r)if(At.tabs)At.tabs(t);else throw new Error("useTabs not found")}function pr(){return ne.tab}function fl(t){return ne.tab===t}function pl(t){if(typeof t!="function"){const[r,o]=N.useState(t||Ya()),i=s=>{o(s)};return At.id=i,[r]}else At.id=t}function ml(t){At.id=t}function _l(t,r=!0){ne.id=t,sessionStorage.setItem("f",Ge.enCode(ne)),r&&At.id(t)}function Ya(){return ne.id}function gl(t){return Number(ne.id)===t}function yl(t,r,o){ne.module=t,ne.id=o,ne.tab=r,sessionStorage.setItem("f",Ge.enCode(ne)),At.module(t),At.tabs(r)}function vl(t){Mn.data=t[0],delete Mn.data.id,document.body.dataset.theme=Mn.data.s15,localStorage.setItem("s",Ge.enCode(Mn.data))}function hl(t,r){Mn.data[t]=r,localStorage.setItem("s",Ge.enCode(Mn.data))}function bl(t){let r=localStorage.getItem("s");return r===null?{}:(r=Ge.deCode(r),r?t!==void 0?r[t]:r:Zt())}function Ma(t){localStorage.setItem("m",Ge.enCode({data:t}))}function xl(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Ge.deCode(r);o||Zt();const i=(m,_)=>{let v=_+"";for(;v.length<m;)v="0"+v;return v};return o.data.split(",").map(m=>"M"+i(2,m))}else return Zt(),!1}function kl(t){At.sort=t}function Aa(t){let r=localStorage.getItem("b");r=r===null?{}:Ge.deCode(r),r[pr()]=t,localStorage.setItem("b",Ge.enCode(r))}function Yr(){let t=localStorage.getItem("b");return t===null?{}:(t=Ge.deCode(t),t=t[pr()],t=t===void 0?{active:1,sort:"<"}:t,t)}function za(t){localStorage.setItem("c",Ge.enCode(t))}function Ba(t,r){var i;let o=localStorage.getItem("c");if(o!==""&&o!=="undefined"&&o!==null){let s=Ge.deCode(o);return s||Zt(),t===void 0?s:r?(i=s[t][r])==null?void 0:i.n:s[t]}else return Zt(),!1}function zn(t){qt.data=t,localStorage.setItem("q",Ge.enCode(qt.data))}function wl(t,r){qt.data={...qt.data,[t]:r},localStorage.setItem("q",Ge.enCode(qt.data))}function In(t,r){if(!qt.data){let o=localStorage.getItem("q");o&&(qt.data=Ge.deCode(o))}return t===void 0&&r===void 0?qt.data:t!==void 0&&r===void 0?qt.data[t]:qt.data[t][r]}function Sl(t){Fa.data=t}function Cl(t){return Fa.data[t]}function jl(t){ne.payment=t}function Rl(){return ne.payment}function $a(t){localStorage.setItem("u",Ge.enCode(t))}function El(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Ge.deCode(t);return r||Zt(),r}else return Zt(),!1}function Ua(t){localStorage.setItem("e",Ge.enCode(t))}function Il(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Ge.deCode(t);return r||Zt(),r}catch{return{}}else return{}}function Nl(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Ge.deCode(i);if(!s)return;ne[o]={is:!0,time:s.time,data:s.data}}catch{ne[o]={is:!1,time:0,data:{}}}else ne[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function Ol(t){return ne[t]===void 0?(ne[t]={data:{},time:0},{data:{},time:0}):ne[t]}function Tl(t,r){ne[t]={data:r.data,time:r.time},localStorage.setItem(t,Ge.enCode(ne[t]))}function Pl(t,r,o){ne[t].time=o,ne[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Ge.enCode(ne[t]))}const $t={setSSID:Qi,getSSID:el,getPORT:Gr,setPORT:rl,setAUTH:tl,getAUTH:nl,Logaut:Zt,Start:qi,setMenu:Ma,getMenu:xl,useSort:kl,setSort:Aa,getSort:Yr,setCompany:za,getCompany:Ba,setSelect:zn,addSelect:wl,getSelect:In,setApi:Sl,getApi:Cl,setPayment:jl,getPayment:Rl,setUser:$a,getUser:El,getDefaultModules:Vi,getBase:Ol,setBase:Tl,editBase:Pl,loadBase:Nl},Za="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",Dl=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0)),Wa=typeof self<"u"&&self.Blob&&new Blob([Dl(Za)],{type:"text/javascript;charset=utf-8"});function Xa(t){let r;try{if(r=Wa&&(self.URL||self.webkitURL).createObjectURL(Wa),!r)throw"";const o=new Worker(r,{name:t==null?void 0:t.name});return o.addEventListener("error",()=>{(self.URL||self.webkitURL).revokeObjectURL(r)}),o}catch{return new Worker("data:text/javascript;base64,"+Za,{name:t==null?void 0:t.name})}finally{r&&(self.URL||self.webkitURL).revokeObjectURL(r)}}const Kt={};function Fl(t){return t&&(Kt.s=t),Kt.s}function Ll(t){return t&&(Kt.a=t),Kt.a}function Gl(t){return t&&(Kt.c=t),Kt.c}function Yl(t){return t&&(Kt.h=t),Kt.h}function Ml(t){return t&&(Kt.i=t),Kt.i}function mr(t){return Kt.i(t)}function Al(t){Da(t)}const Bn={version:{Api:Ll,Server:Fl,Client:Gl},Host:Yl,Import:Ml,Crypto:Al,defaultModule:Ki};let zl="api",Bl="elcrm",$l="online";function Ul(){let t=$t.getPORT(),r="",o="";return t.address==="localhost"?(r=`http://localhost:${t.socket}/documents`,o=`http://localhost:${t.socket}/files`):(r="https://"+t.address+"/documents",o="https://"+t.address+"/files"),{documents:r,files:o}}let Mr=`${zl}.${Bl}.${$l}`;function Zl(t){return"https://"+$t.getPORT().address+"/audio/"+t}function Wl(t){return"https://"+$t.getPORT().address+"/image/"+t}function $n(t,r={},o=$t.getAUTH()){return new Promise(i=>{const s=new Xa;s.onmessage=m=>{i(m.data),s.terminate()},s.postMessage({link:t,data:r,ssid:o,host:Bn.Host()||`https://${Mr}/`})})}async function Xl(t,r={},o=$t.getAUTH()){try{return await(await $n(Bn.Host()||`https://${Mr}/`+t,{method:"POST",headers:{ssid:o},body:r})).json()}catch(i){return{status:"error",message:i}}}function Hl(t,r={},o=$t.getAUTH()){return new Promise(i=>{const s=new Xa;s.onmessage=m=>{i(m.data),s.terminate()},s.postMessage({link:t,data:r,ssid:o,host:Bn.Host()+"modules/"||`https://${Mr}/modules`})})}function Kl(t,r={},o){const[i,s]=N.useState({status:"load"}),m=async _=>{let v=await $n(t,_,o);s(v)};return N.useEffect(()=>{m(r)},[]),[i,m]}let Ha={"Content-type":"application/json;charset=utf-8",ssid:$t.getAUTH()||""};async function Vl(t,r,o={}){try{return await(await $n("https://"+t+"/"+r,{method:"POST",headers:Ha,body:JSON.stringify(o)})).json()}catch{return{status:"error"}}}async function Jl(t,r={}){try{return await(await $n("https://tb.elcrm.online/v1/"+t,{method:"POST",headers:Ha,body:JSON.stringify(r)})).json()}catch{return{status:"error"}}}function ql(t="qJqEtGe93RVTRF1gTKmdEXw6gCgrSx31"){return t[(t.length/2).toFixed()]+t[(t.length/3).toFixed()]+t[(t.length/4).toFixed()]+t[(t.length/2).toFixed()]}async function Ql(t,r={}){return new Promise(o=>{setTimeout(()=>o(r),t)})}const Ar={audio:Zl,image:Wl,fetch:$n,modules:Hl,remoute:Vl,url:Ul,test:Ql,telegram:Jl,use:Kl,token:ql,formData:Xl};var zr={exports:{}},Un={};/**
|
|
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 Ka;function es(){if(Ka)return Un;Ka=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return Un.Fragment=o,Un.jsx=_,Un.jsxs=_,Un}var Zn={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.development.js
|
|
13
13
|
*
|
|
@@ -15,17 +15,394 @@
|
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the MIT license found in the
|
|
17
17
|
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/var
|
|
19
|
-
`+
|
|
20
|
-
`),
|
|
21
|
-
`),
|
|
22
|
-
`+
|
|
18
|
+
*/var Va;function ts(){return Va||(Va=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
19
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
20
|
+
`),C=l.stack.split(`
|
|
21
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
22
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
23
23
|
|
|
24
|
-
Check the render method of \``+
|
|
24
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
25
25
|
|
|
26
|
-
Check the top-level render call using <`+
|
|
26
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
27
27
|
let props = %s;
|
|
28
28
|
<%s {...props} />
|
|
29
29
|
React keys must be passed directly to JSX without using spread:
|
|
30
30
|
let props = %s;
|
|
31
|
-
<%s key={someKey} {...props} />`,Wt,De,dl,De),ca[De+Wt]=!0}}return c===r?rl(J):al(J),J}}function il(c,v,k){return _a(c,v,k,!0)}function ol(c,v,k){return _a(c,v,k,!1)}var sl=ol,ll=il;Ae.Fragment=r,Ae.jsx=sl,Ae.jsxs=ll}()),Ae}process.env.NODE_ENV==="production"?ht.exports=xr():ht.exports=gr();var a=ht.exports;function vr(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 r in n)t=t.replace(r,n[r]);return t}function br(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 yr=e=>{function t(M,B){var j,D,S;M=M??"",B=B??1;for(var j=[],S=0,D=M.length;S<D;)j.push(M.slice(S,S+=B));return j}function n(M,B){var j=[2,0,1,1,1,2];return B[M>4&&M<20?2:j[Math.min(M,5)]]}var r={null:"ноль",a1:["один","два","три","четыре","пять","шесть","семь","восемь","девять"],a2:["одна","две","три","четыре","пять","шесть","семь","восемь","девять"],a10:["десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],a20:["двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],a100:["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],uc:["копейка","копейки","копеек"],ur:["рубль","рубля","рублей"],u3:["тысяча","тысячи","тысяч"],u2:["миллион","миллиона","миллионов"],u1:["миллиард","миллиарда","миллиардов"]},i,o,s,l,g,d,_,h,u,p,m,x;u=parseFloat(e).toFixed(2).split("."),d=u[0],l=u[1];var b=12-d.length;if(b<0)return!1;for(var h=[];b--;)h.push("0");d=h.join("")+d;var g=[];if(d>0){p=t(d,3);for(var y=-1;y<p.length;y++)if(_=p[y],_>0&&(m=t(_,1),i=parseInt(m[0]),o=parseInt(m[1]),s=parseInt(m[2]),g.push(r.a100[i-1]),x=y+1==3?"a2":"a1",o>1?g.push(r.a20[o-2]+(s>0?" "+r[x][s-1]:"")):g.push(o>0?r.a10[s]:r[x][s-1]),p.length>y+1)){var C=r["u"+(y+1)];g.push(n(_,C))}}else g.push(r.null);return g.push(n(d,r.ur)),g.push(l+" "+n(l,r.uc)),g.join(" ").replace(RegExp(" {2,}","g")," ").trimLeft()};function wr(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 kr(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 Cr(e,t,n,r){let i={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 s in this.rules)for(var l in this.rules[s])for(var d=0,_=this.rules[s][l].length;d<_;d++)this.rules[s][l][d]=this.rule(this.rules[s][l][d])},rule:function(s){var l=s.match(/^\s*([fm]?)\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*$/);return l?{sex:l[1],test:l[2].split(","),mods:[l[3],l[4],l[5],l[6],l[7]]}:!1},word:function(s,l,d,_){if(_===this.gcaseNom)return s;if(s.match(/[-]/)){for(var u=s.split("-"),p=0,m=u.length;p<m;p++)u[p]=this.word(u[p],l,d,_);return u.join("-")}if(s.match(/^[А-ЯЁ]\.?$/i))return s;this.init();var x=this.rules[d];let b;return x.exceptions&&(b=this.pick(s,l,_,x.exceptions,!0),b)?b:(b=this.pick(s,l,_,x.suffixes,!1),b||s)},pick:function(s,l,d,_,u){let p=s.toLowerCase();for(var m=0,x=_.length;m<x;m++)if(this.ruleMatch(p,l,_[m],u))return this.applyMod(s,d,_[m]);return!1},ruleMatch:function(s,l,d,_){if(d.sex===this.sexM&&l===this.sexF||d.sex===this.sexF&&l!==this.sexF)return!1;for(var u=0,p=d.test.length;u<p;u++){var m=_?s:s.substr(Math.max(s.length-d.test[u].length,0));if(m===d.test[u])return!0}return!1},applyMod:function(s,l,d){let _;switch(l){case this.gcaseNom:_=".";break;case this.gcaseGen:_=d.mods[0];break;case this.gcaseDat:_=d.mods[1];break;case this.gcaseAcc:_=d.mods[2];break;case this.gcaseIns:_=d.mods[3];break;case this.gcasePos:_=d.mods[4];break}for(var u=0,p=_.length;u<p;u++){var m=_.substr(u,1);switch(m){case".":break;case"-":s=s.substr(0,s.length-1);break;default:s+=m}}return s},getSex:()=>{if(i.mn.length>2)switch(i.mn.substr(i.mn.length-2)){case"ич":return"m";case"на":return"f"}return""},fullName:s=>((i.fullNameSurnameLast?"":i.lastName(s)+" ")+i.firstName(s)+" "+i.middleName(s)+(i.fullNameSurnameLast?" "+i.lastName(s):"")).replace(/^ +| +$/g,""),lastName:s=>i.word(i.ln,i.sex,"lastName",s),firstName:s=>i.word(i.fn,i.sex,"firstName",s),middleName:s=>i.word(i.mn,i.sex,"middleName",s)};if(typeof t>"u"){var o=e.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);if(!o)return"Cannot parse supplied name";o[5]&&o[3].match(/(ич|на)$/)&&!o[5].match(/(ич|на)$/)?(e=o[5],t=o[1],n=o[3],i.fullNameSurnameLast=!0):(e=o[1],t=o[3],n=o[5])}return i.ln=e,i.fn=t||"",i.mn=n||"",i.sex=r||i.getSex(),i}function jr(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 Sr(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 Er(e,t){return t&&(e=Number(e)/t),parseFloat(e).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}function Dr(e,t){let n=t+"";for(;n.length<e;)n="0"+n;return n}function Ir(e,t,n){let r=t/e*n;return(typeof r!="number"||r===1/0)&&(r=0),parseFloat(r).toFixed(1)}function Nr(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Tr(e,t){e=Math.abs(e)%100;let n=e%10;return e>10&&e<20?t[2]:n>1&&n<5?t[1]:n===1?t[0]:t[2]}function Mr(e,t,n){return xe(e,t)?xe(e,t).n:n||""}function $r(e,t,n,r){return xe(e,t)?xe(e,t)[n]:r||""}function Lr(e,t){return t&&(e=e===0?7:e),{1:{name:"Понедельник",names:"Понедельника",abc:"пн"},2:{name:"Вторник",names:"Вторника",abc:"вт"},3:{name:"Среда",names:"Среды",abc:"ср"},4:{name:"Четверг",names:"Четверга",abc:"чт"},5:{name:"Пятница",names:"Пятницы",abc:"пт"},6:{name:"Суббота",names:"Субботы",abc:"сб"},7:{name:"Воскресенье",names:"Воскресенья",abc:"вс"}}[e]}function Br(e,t){return e.reduce(function(n,r){let i=t instanceof Function?t(r):r[t];return n[i]!==void 0||(n[i]={}),n[i][r.id]=r,n},{})}function Fr(e){return parseInt((Date.now()-new Date(e).getTime())/31536e6+"")+""}function Pr(e){return typeof e!="string"?!1:!isNaN(Number(e))&&!isNaN(parseFloat(e))}function Rr(e){var t="",n={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"e",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ь:"",ы:"y",ъ:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"E",Ж:"Zh",З:"Z",И:"I",Й:"Y",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"H",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sch",Ь:"",Ы:"Y",Ъ:"",Э:"E",Ю:"Yu",Я:"Ya"};for(let r=0;r<e.length;++r)n[e[r]]==null?t+=e[r]:t+=n[e[r]];return t}function Ar(e,t,n=!1){return n?e.sort((r,i)=>i[t]-r[t]):e.sort((r,i)=>r[t]-i[t])}function Or(e,t){return e.reduce(function(n,r){let i=t instanceof Function?t(r):r[t];return n[i]!==void 0||(n[i]={}),n[i][r.id]=r,n},{})}function zr(e,t,n=!1){return n?e.sort((r,i)=>new Date(i[t]).getTime()-new Date(r[t]).getTime()):e.sort((r,i)=>new Date(r[t]).getTime()-new Date(i[t]).getTime())}function Gr(e,t){return e.reduce((n,r)=>n+(r[t]||0),0)}function Zr(e,t,n,r=!1){return r?e.sort((i,o)=>n(o[t])-n(i[t])):e.sort((i,o)=>n(i[t])-n(o[t]))}const K={Age:Fr,ArraySort:Ar,ArrayGroup:Or,ArraySortDate:zr,ArraySortFunction:Zr,ArraySumma:Gr,Translit:Rr,Date:vr,MoneyString:yr,DateSort:br,Size:wr,TypeFiles:kr,Cases:Cr,Initials:jr,Month:Sr,Money:Er,Number:Dr,Percent:Ir,CapitalizeFirstLetter:Nr,DeclensionWord:Tr,Select:Mr,SelectParams:$r,ObjectByArray:Br,isNumeric:Pr,Week:Lr},Ur={Counter:({before:e,from:t=0,to:n})=>{const r=f.useRef();return f.useEffect(()=>{r.n=0;let s=Math.round(1e3/(n/10)),l=setInterval(()=>{r.n=r.n+10,r.n>=n&&clearInterval(l);let d=e?e+" ":"";r.current.textContent=`${d}`+K.Money(r.n)},s)},[t,n]),a.jsx("span",{ref:r})}},Wr={notice:"_notice_9i5tr_2",error:"_error_9i5tr_9",success:"_success_9i5tr_12",remark:"_remark_9i5tr_15",copy:"_copy_9i5tr_18","show-notice":"_show-notice_9i5tr_1","hide-notice":"_hide-notice_9i5tr_1"};let be={};function Kr(){let[e,t]=f.useState([]);return be.set=n=>{t([...e,n])},be.del=n=>{t(e.filter(r=>r.key!==n))},e.length===0?"":a.jsx("ul",{className:Wr.notice,children:e.map(n=>n.item)})}function Oe({data:e}){let[t,n]=f.useState("show");f.useEffect(()=>{setTimeout(function(){n("hide")},1800),setTimeout(function(){be.del(e.key)},2500)},[e.key]);let r,i;switch(e.type){case"error":r=a.jsx(je.error,{}),i="Ошибка:";break;case"success":r=a.jsx(je.success,{}),i="Информация:";break;case"copy":r=a.jsx(je.success,{}),i="Копирование:";break;case"remark":r=a.jsx(je.success,{}),i="Подсказка:";break;default:r=a.jsx(je.success,{}),i="Предупреждение:";break}return a.jsxs("li",{className:"item "+e.type,"data-status":t,children:[r,a.jsx("b",{children:i}),a.jsx("p",{children:e.text})]})}function Yr(e){let t=Date.now(),n={key:t,...e};be.set({item:a.jsx(Oe,{data:n},t),key:t})}function Hr(e){let t=Date.now(),n={key:t,text:e,type:"error"};be.set({item:a.jsx(Oe,{data:n},t),key:t})}function qr(e){let t=Date.now(),n={key:t,text:e,type:"success"};be.set({item:a.jsx(Oe,{data:n},t),key:t})}function Vr(e){let t=Date.now(),n={key:t,text:e,type:"remark"};be.set({item:a.jsx(Oe,{data:n},t),key:t})}function Jr(e){let t=Date.now(),n={key:t,text:e,type:"copy"};be.set({item:a.jsx(Oe,{data:n},t),key:t})}const je={};je.error=()=>a.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[a.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"}),a.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"})]}),je.success=()=>a.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[a.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"}),a.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 xt={alerts:"_alerts_1pds5_1",menuAnimation:"_menuAnimation_1pds5_1",menuItemAnimation:"_menuItemAnimation_1pds5_1","--body":"_--body_1pds5_103",allert:"_allert_1pds5_111","--form":"_--form_1pds5_111",al:"_al_1pds5_1"};let ze={};function Xr(){let[e,t]=f.useState("");return ze.set=n=>t(n),ze.del=()=>t(""),a.jsx(a.Fragment,{children:e})}const Qr=({data:e,callback:t,cancel:n})=>(e.button=e.button===void 0?"Подтвердить":e.button,a.jsxs("div",{className:xt.alerts,children:[a.jsxs("dl",{children:[a.jsx("dt",{children:e.title}),a.jsx("dd",{children:e.text}),a.jsx("ul",{children:a.jsx("button",{"data-color":e.color||"blue",onClick:()=>{t(),ze.del()},children:e.button})})]}),a.jsx("div",{className:xt["--body"],onClick:()=>{n==null||n(),ze.del()}})]}));function ei(e,t,n){ze.set(a.jsx(Qr,{data:e,callback:t,cancel:n}))}const Se={Send:Yr,Error:Hr,Remark:Vr,Success:qr,Copy:Jr},Ne={Path:La,setPage:wa,getPage:qt,usePage:ya,isPage:ka,setModule:ja,getModule:Vt,useModule:Ca,isModule:Sa,setTabs:Da,getTabs:Je,useTabs:Ea,isTabs:Ia,useId:Na,setId:Ma,subId:Ta,getId:Jt,isId:$a};function ti(){return a.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[a.jsx("path",{d:"M5.15837 11.491C5.08489 12.887 5.16936 14.373 3.92213 15.3084C3.34164 15.7438 3 16.427 3 17.1527C3 18.1508 3.7818 19 4.8 19H19.2C20.2182 19 21 18.1508 21 17.1527C21 16.427 20.6584 15.7438 20.0779 15.3084C18.8306 14.373 18.9151 12.887 18.8416 11.491C18.6501 7.85223 15.6438 5 12 5C8.35617 5 5.34988 7.85222 5.15837 11.491Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),a.jsx("path",{d:"M10.5 3.125C10.5 3.95343 11.1716 5 12 5C12.8284 5 13.5 3.95343 13.5 3.125C13.5 2.29657 12.8284 2 12 2C11.1716 2 10.5 2.29657 10.5 3.125Z",stroke:"currentColor",strokeWidth:"1",fill:"none"}),a.jsx("path",{d:"M15 19C15 20.6569 13.6569 22 12 22C10.3431 22 9 20.6569 9 19",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})}function ni(){return a.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[a.jsx("path",{d:"M4.4094 11.4516C4.62188 7.41446 7.95728 4.25 12 4.25C16.0427 4.25 19.3781 7.41446 19.5906 11.4516C19.5997 11.6241 19.6064 11.7893 19.6129 11.9485C19.6351 12.49 19.6544 12.9615 19.7525 13.4133C19.8698 13.9531 20.0867 14.3775 20.5279 14.7084C21.2972 15.2854 21.75 16.191 21.75 17.1527C21.75 18.534 20.6628 19.75 19.2 19.75H4.8C3.33719 19.75 2.25 18.534 2.25 17.1527C2.25 16.191 2.70278 15.2854 3.47213 14.7084C3.91329 14.3775 4.13025 13.9531 4.24749 13.4133C4.34561 12.9615 4.3649 12.49 4.38705 11.9485V11.9485L4.38705 11.9485C4.39356 11.7893 4.40032 11.6241 4.4094 11.4516Z",fill:"#141B34"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5286 1.37434C10.9737 1.08296 11.517 1 12 1C12.483 1 13.0263 1.08296 13.4714 1.37434C13.9652 1.69759 14.25 2.22083 14.25 2.875C14.25 3.47116 14.017 4.09375 13.6626 4.57057C13.3138 5.03989 12.7415 5.5 12 5.5C11.2585 5.5 10.6862 5.03989 10.3374 4.57057C9.98299 4.09375 9.75 3.47116 9.75 2.875C9.75 2.22083 10.0348 1.69759 10.5286 1.37434Z",fill:"#141B34"}),a.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 18C9.55228 18 10 18.4477 10 19C10 20.1046 10.8954 21 12 21C13.1046 21 14 20.1046 14 19C14 18.4477 14.4477 18 15 18C15.5523 18 16 18.4477 16 19C16 21.2091 14.2091 23 12 23C9.79086 23 8 21.2091 8 19C8 18.4477 8.44772 18 9 18Z",fill:"#141B34"})]})}function ai(){return a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:a.jsx("path",{d:"M8.85746 12.5061C6.36901 10.6456 4.59564 8.59915 3.62734 7.44867C3.3276 7.09253 3.22938 6.8319 3.17033 6.3728C2.96811 4.8008 2.86701 4.0148 3.32795 3.5074C3.7889 3 4.60404 3 6.23433 3H17.7657C19.396 3 20.2111 3 20.672 3.5074C21.133 4.0148 21.0319 4.8008 20.8297 6.37281C20.7706 6.83191 20.6724 7.09254 20.3726 7.44867C19.403 8.60062 17.6261 10.6507 15.1326 12.5135C14.907 12.6821 14.7583 12.9567 14.7307 13.2614C14.4837 15.992 14.2559 17.4876 14.1141 18.2442C13.8853 19.4657 12.1532 20.2006 11.226 20.8563C10.6741 21.2466 10.0043 20.782 9.93278 20.1778C9.79643 19.0261 9.53961 16.6864 9.25927 13.2614C9.23409 12.9539 9.08486 12.6761 8.85746 12.5061Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})}const ri={n:"_n_euuvm_1"};let Ge={},Ze=[];const ii=(e,t)=>{switch(t.type){case"open":return{...e,open:t.open};case"view":return{...e,view:e.view===t.view?null:t.view};case"add":return{...e,news:[...e.news,t.data],active:!0};case"news":return{...e,news:t.data,active:t.data.length!==0};case"hide":let n=e.news.filter(i=>i.id!==t.id);return{...e,news:n,active:n.length!==0};case"size":return{...e,size:t.size};case"take":let r={[t.list]:t.take};r={...e.take,...r},e.active=!1;for(let i in r)r[i]!=="999"&&(e.active=!0);return Ge.get(r,e.active),{...e,take:r,active:e.active};case"exit":return e;default:throw new Error}};function oi(e){Ge.fn({action:"add",data:e})}function si(e){Ge.fn({action:"add",data:e})}function li(e){Ge.fn({action:"new",data:e})}function di(e){Ge.fn=e}function ci(){const[e,t]=f.useReducer(ii,{open:!1,active:!1,news:[],take:{}});me.useListener("bell",async r=>{console.log(r)}),di(async r=>{switch(console.log(r),r.action){case"add":Ze.push(r.data);break}}),f.useEffect(()=>{(async()=>{let r=await me.Send({type:"module",module:"M00",query:"x0054",array:["M01","M02"]});console.log(r);for(let i in r)switch(i){case"news":t({type:"news",data:r.news});break;case"M01":r[i].forEach(o=>{Ze.push({module:"M01",type:1,id:o.id,datetime:new Date(o.tDate).getTime(),txt:o.p01})});break;case"M02":r[i].forEach(o=>{Ze.push({module:"M02",type:117,id:o.id,datetime:new Date(o.tDate).getTime(),txt:o.p01})});break}})(),setInterval(()=>{Ze.forEach((r,i)=>{t({type:"add",data:{module:r.module,type:r.type,id:r.id,datetime:r.datetime,txt:r.title}}),r.datetime<new Date().getTime()&&Ze.splice(i,1)})},6e4)},[]);let n=async r=>{t({type:"hide",id:r.id})};return a.jsxs(a.Fragment,{children:[a.jsx("div",{className:ri.n,onClick:()=>{t({type:"open",open:!0})},children:e.active?a.jsx(ni,{}):a.jsx(ti,{})}),e.open?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"notify-o",onClick:()=>{t({type:"open",open:!1})}}),a.jsxs("div",{className:"notify-m",children:[a.jsx("div",{className:"notify-l",children:e.news.map((r,i)=>a.jsx(_i,{data:r,dispatch:t},i))}),a.jsx("div",{className:"notify-b",onClick:n,children:"История"})]})]}):""]})}const _i=({data:e,dispatch:t})=>{let n=async r=>{console.log(r),t({type:"hide",id:r.id});let i=await me.Send({type:"module",module:"M00",query:"x0055",data:{id:r.id,type:r.type,db:r.db}});console.log(i)};return a.jsxs("div",{className:"notify-i",children:[a.jsx("div",{className:"--icon","data-icon":e.type}),a.jsxs("div",{className:"--body",children:[a.jsx("div",{className:"--name",children:e.type}),a.jsx("div",{className:"--text",children:e.txt})]}),a.jsx("div",{className:"--hide","data-icon":"F038",onClick:()=>n(e),children:" "})]})},ui="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";function fi(e){return new SharedWorker("data:text/javascript;base64,"+ui,{name:e==null?void 0:e.name})}function mi(e){let t={},n={};e.data.forEach(i=>{t[i.id]={s:i.v,n:i.a},n[i.id]=i});let r={...xe(),901:t};en(n),Be(r)}function pi(){let e=tn(),t={};return Object.keys(e).forEach(n=>{t[e[n].id]={},t[e[n].id].name=e[n].a}),t}let ue={},Q={},Xe=["filter","online","users","company","select","setting","info","job"];function hi(){const[e,t]=f.useState(!1),[n,r]=f.useState(!1);function i(o){const s=new fi;ue.laodData=l=>{let d=Xe.indexOf(l);d>=0&&Xe.splice(d,1),Xe.length===0&&t(!0)},ue.send=l=>{s.port.postMessage({type:"send",json:l})},s.port.onmessage=l=>{let d=l.data;d.type==="error"&&r(!0),d.type==="true"&&t(!0),d.type==="closed"&&s.port.postMessage({type:"connect",ukey:o,lk:_t()}),Xe.length!==0&&ue.laodData(d.type),Q[d.type]&&Q[d.type](d)},s.port.postMessage({type:"connect",ukey:o,lk:_t()})}return[i,e,n]}Q.module=e=>{ue[e.listen]!==void 0&&(ue[e.listen](e),delete ue[e.listen])},Q.bell=li,Q.company=mi,Q.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"),nn(t),Xt(e.data.menu)},Q.version=async e=>{Fe.version.Server(e.data)},Q.online=async e=>{},Q.offline=async e=>{},Q.chat=e=>{switch(console.log(e.data.action),e.data.action){case"new_message":Ne.getModule();break;case"view_message":Ne.getModule();break;case"write_message":Ne.getModule();break}console.log(e)},Q.users=e=>{console.log("users",e);let t={};e.data.forEach(r=>{let i=r.p01+" "+r.p02+" "+r.p03,o=r.p01+" "+r.p02.substring(0,1)+"."+r.p03.substring(0,1)+".",s=r.p01.substring(0,1)+""+r.p02.substring(0,1)+r.p03.substring(0,1);t[r.id]={id:r.id,admin:r.m.includes("99"),ava:JSON.parse(r.a),job:r.j,login:"",online:{time:r.o,status:0},sts:r.s,nameFull:i,name:o,number:s}});let n={...xe(),user:t};Be(n)},Q.api=e=>{let t={};e.data.forEach(n=>{t[n.api]={key:n.key,p01:n.p01,p02:n.p02}})},Q.delete=()=>{ie()},Q.select=e=>{let t={...xe()};e.data.forEach(n=>{t[n.n]=JSON.parse(n.s)}),Be(t)},Q.job=e=>{let t={...xe()},n={};Object.keys(e.data).forEach(r=>{n[r]={s:1,n:e.data[r]}}),t[1]=n,Be(t)},Q.setting=e=>{Ba(e.data)},Q.app=()=>{};const xi=(e,t)=>{ue[e]=t},gi=(e,t)=>{ue[e](t)};function vi(e){let t="_"+String(Math.random()).substring(2,7);return new Promise(n=>{ue[t]=r=>{r.error!==void 0?n({error:r.error}):n(r.data),delete ue[t]},e={...e,listen:t},e.type="modules",ue.send(e)})}const me={useConnect:hi,useListener:xi,setListener:gi,Send:vi};function bi({children:e}){return a.jsx("div",{className:"l",children:a.jsx("ul",{children:e})})}const oe={white:"_white_swayt_14",black:"_black_swayt_26",shake:"_shake_swayt_1",modal:"_modal_swayt_73",o:"_o_swayt_83",w:"_w_swayt_14",h:"_h_swayt_107",l:"_l_swayt_121",t:"_t_swayt_159",m:"_m_swayt_73",x:"_x_swayt_167",s:"_s_swayt_177",c:"_c_swayt_182",f:"_f_swayt_187",g:"_g_swayt_230","size-a":"_size-a_swayt_279","size-s":"_size-s_swayt_283","size-m":"_size-m_swayt_287","size-l":"_size-l_swayt_291","size-x":"_size-x_swayt_295","size-f":"_size-f_swayt_299",active:"_active_swayt_348",coincidence:"_coincidence_swayt_354",sa:"_sa_swayt_390",ss:"_ss_swayt_394",sm:"_sm_swayt_398",sl:"_sl_swayt_402",sx:"_sx_swayt_406",sf:"_sf_swayt_410",btn:"_btn_swayt_416"};function yi({children:e}){return a.jsx("div",{className:oe.s,children:e})}function wi({children:e,className:t}){let n={};return t&&(n.className=t),a.jsx("div",{"data-form":"outline",className:[oe.f,n.className].join(" "),children:a.jsx("ul",{children:e})})}function ki({children:e}){return a.jsx("div",{className:oe.c,children:e})}const Qe={btn:"_btn_1d6a6_6",confirm:"_confirm_1d6a6_20",cancel:"_cancel_1d6a6_25",disabled:"_disabled_1d6a6_30",await:"_await_1d6a6_37",m:"_m_1d6a6_44",l:"_l_1d6a6_48"};function _n({onClick:e,onSend:t,size:n="m",view:r="confirm",mode:i="primary",className:o,label:s,onRef:l}){let[d,_]=f.useState(!1);const u=p=>{if(e)return e();d||(t?(_(!0),t(_)):p.preventDefault())};return a.jsx("button",{ref:l,className:[Qe.btn,d?Qe.disabled:Qe[r],n&&Qe[n],o].join(" "),onClick:u,children:d?"Ожидайте":s})}let et={};function Ci(){let[e,t]=f.useState([]);return et.x=n=>{n||t([])},et.add=n=>{t([...e,n])},a.jsx(a.Fragment,{children:e.map(n=>n)})}function ji({title:e,children:t,button:n,tabs:r,size:i="m",menu:o}){const[s,l]=f.useState(!0),d=f.useRef(),_=p=>{if(n){if(n.onClick)return p(!1),n.onClick({setOpen:l});if(n.onSend)return n.onSend({setOpen:l,disabled:p})}},u=()=>{d.current.setAttribute("shake",!0),setTimeout(()=>{d.current.setAttribute("shake",!1)},1e3)};return a.jsx(a.Fragment,{children:s?a.jsxs("div",{className:`${oe.modal} ${oe.white}`,children:[a.jsx("div",{className:oe.o,onClick:u}),a.jsxs("div",{className:[oe.w,oe[`s${i}`]].join(" "),ref:d,children:[a.jsxs("div",{className:oe.h,children:[a.jsx("div",{className:oe.t,children:e}),a.jsxs("div",{className:oe.m,children:[r&&a.jsx("nav",{children:r.map((p,m)=>a.jsx("span",{onClick:p.onClick,className:p.active?"active":"",children:p.name},m))}),o]}),a.jsx("div",{className:oe.x,onClick:()=>{l(!1)},children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:a.jsx("path",{d:"M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),t,n!==void 0?a.jsx(_n,{label:n.label,onSend:_,className:oe.btn}):""]})]}):""})}function Si(e){et.add(a.jsx(Ei,{children:e},String(Date.now())))}function Ei({children:e}){return a.jsx(a.Fragment,{children:e})}function Di(e){if(e.target.classList[0]!=="modal")return;let t=e.target.children[0];t.setAttribute("shake",!0),setTimeout(()=>{t.setAttribute("shake",!1)},1e3)}function Ii({type:e,name:t,params:n}){let[r,i]=f.useState(null);return f.useEffect(()=>{ft(`${e}/modal/${t}.tsx`).then(o=>{i(o.default.Icon(n))})},[n.id]),a.jsx(a.Fragment,{children:r})}function Ni(e,t,n){ft(`${e}/modal/${t}.tsx`).then(r=>{r.default.Open(n)})}function Ti(e){et.x(e)}const Ue={List:bi,Scroll:yi,Main:ji,Add:Si,Icon:Ii,Open:Ni,Shake:Di,Form:wi,Center:ki,Close:Ti};function un({text:e,type:t,button:n}){let[r,i]=f.useState(!1),o={active:t};const s=()=>{if(n){if(n.onClick)return n.onClick({});if(n.onSend)return r?void 0:(i(!0),n.onSend(i))}};return a.jsxs("div",{className:xt.al,...o,children:[a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",fillRule:"evenodd",clipRule:"evenodd",children:a.jsx("path",{fill:"#fff",d:"M10.362 2.015C11.4264 1.66167 12.5736 1.66167 13.638 2.015C14.6981 2.36687 15.5304 3.20141 16.3665 4.37395C17.1999 5.5426 18.1208 7.17206 19.3078 9.2725L19.3544 9.35496C20.5417 11.4557 21.4625 13.0851 22.0364 14.4065C22.613 15.7343 22.9002 16.8807 22.6711 17.9821C22.4403 19.0911 21.8714 20.0995 21.0428 20.8617C20.2162 21.622 19.0907 21.9428 17.6736 22.0968C16.2645 22.25 14.4212 22.25 12.0488 22.25H11.9513C9.57882 22.25 7.73554 22.25 6.32642 22.0968C4.90927 21.9428 3.78379 21.622 2.95722 20.8617C2.12862 20.0995 1.55968 19.0911 1.32895 17.9821C1.0998 16.8807 1.387 15.7343 1.96365 14.4065C2.53752 13.0851 3.45835 11.4557 4.64558 9.35495L4.69218 9.2725L4.69218 9.27249C5.87921 7.17206 6.80008 5.5426 7.63347 4.37395C8.46963 3.20141 9.30194 2.36687 10.362 2.015ZM11 17C11 16.4477 11.4457 16 11.9955 16H12.0045C12.5543 16 13 16.4477 13 17C13 17.5523 12.5543 18 12.0045 18H11.9955C11.4457 18 11 17.5523 11 17ZM11 13C11 13.5523 11.4477 14 12 14C12.5523 14 13 13.5523 13 13V9C13 8.44772 12.5523 8 12 8C11.4477 8 11 8.44772 11 9V13Z"})}),a.jsx("span",{children:e}),n&&a.jsx("button",{onClick:s,children:n.label})]})}const ne={h:"_h_1usnu_1",g:"_g_1usnu_11",hr:"_hr_1usnu_16",hl:"_hl_1usnu_28",t:"_t_1usnu_40",s:"_s_1usnu_60",u:"_u_1usnu_69",o:"_o_1usnu_76",l:"_l_1usnu_105",hh:"_hh_1usnu_115",c:"_c_1usnu_128",loadingB:"_loadingB_1usnu_1",m:"_m_1usnu_180",ul:"_ul_1usnu_196",f:"_f_1usnu_226"},fn=({title:e,left:t,right:n,children:r})=>a.jsxs("div",{className:ne.h,children:[a.jsx("div",{className:ne.t,children:e}),t&&a.jsx("div",{className:ne.hl,children:t}),n&&a.jsx("div",{className:ne.hr,children:n}),r]}),mn=({children:e,...t})=>a.jsx("div",{className:ne.l,children:e}),pn=({children:e})=>a.jsx("div",{className:ne.s,children:e}),hn=({children:e,edit:t})=>{const n={};return t&&(n.edit=""),console.log(n),a.jsx("div",{...n,className:ne.f,children:e})};function xn({children:e}){return a.jsx("div",{className:ne.g,children:e})}const gt={Header:fn,Section:pn,Group:xn,Form:hn,List:mn,A:un,U:({children:e})=>a.jsx("div",{className:ne.u,children:e}),G:xn,C:({children:e})=>a.jsx("div",{className:ne.c,children:e}),L:mn,O:({children:e,className:t,title:n})=>a.jsxs("div",{className:[ne.o,t].join(" "),children:[n&&a.jsx("div",{className:ne.hh,children:n}),e]}),S:pn,H:fn,M:({children:e})=>a.jsx("div",{className:ne.m,children:e}),F:hn},Mi=(e,t)=>{switch(t.type){case"load":return{...e,list:t.list.reverse(),load:!1};case"id":return{...e,id:t.id};case"add":return{...e,list:[t.data,...e.list]};case"update":return{...e,list:e.list.map(n=>n.id===t.data.id?Object.assign({},n,{[t.data.name]:t.data.value}):n),temp:e.temp.map(n=>n.id===t.data.id?Object.assign({},n,{[t.data.name]:t.data.value}):n)};case"view":return{...e,view:e.view==="card"?"item":"card"};case"revers":return{...e,list:[...e.list.reverse()],temp:[...e.temp.reverse()],revers:!e.revers};case"delete":return{...e,list:e.list.filter(n=>n.id!==t.id)};case"edit":return{...e,list:e.list.map(n=>n.id===t.j.item?Object.assign({},n,{[t.j.name]:t.j.value}):n)};default:return e}},$i=()=>({load:!0,list:[],name:"Файлы",add:!1,search:!1,revers:!0}),Li=()=>{let[e,t]=f.useState([]);return a.jsx(a.Fragment,{children:e.length!==0?a.jsxs("div",{className:"upload view",children:[a.jsxs("div",{className:"--head",children:[a.jsx("b",{children:"Загрузки"}),a.jsx("i",{className:"x",onClick:()=>t([]),"data-icon":"F038"})]}),a.jsx("div",{className:"--list",children:e.map(n=>n)})]}):""})},Bi=({id:e,name:t,listen:n,dir:r})=>{t=t||"Файлы";const[i,o]=f.useReducer(Mi,{},$i);console.log(n);const s=()=>{Ue.Add(a.jsx(Fi,{dir:r,dispatch:o,id:e},new Date().getTime()))};return f.useEffect(()=>{(async()=>{let l=await me.Send({type:"module",module:"M09",query:"x0900",data:{dir:r,id:e}});o({type:"load",list:l})})()},[e,r]),a.jsxs(gt.O,{children:[" ",a.jsx(gt.H,{title:t,right:a.jsx("i",{className:"f025","data-icon":"C005 25 pointer","data-color":"_b5b9cc :506290",onClick:s}),left:a.jsx("i",{className:"f025","data-icon":"E009 25","data-color":"_2196f3"})}),a.jsx("ul",{"data-empty":"Файлов нет",className:"files_list",children:i.load?a.jsxs("div",{"type-load":"load",children:[a.jsx("i",{}),a.jsx("i",{}),a.jsx("i",{})]}):i.list.length===0?a.jsx(a.Fragment,{}):i.list.map((l,d)=>a.jsx(Pi,{dispatch:o,data:l},d))})]})},Fi=({id:e,dir:t,dispatch:n})=>{let[r,i]=f.useState(!0),o=f.useRef(null),s=_=>{_.preventDefault(),_.stopPropagation()},l=_=>{},d=_=>{};return f.useEffect(()=>{let _=o.current;["dragenter","dragover","dragleave","drop"].forEach(u=>{_.addEventListener(u,s,!1),document.body.addEventListener(u,s,!1)}),["dragenter","dragover"].forEach(u=>{_.addEventListener(u,l,!1)}),["dragleave","drop"].forEach(u=>{_.addEventListener(u,d,!1)})},[]),a.jsx(a.Fragment,{children:r?a.jsx(a.Fragment,{children:a.jsx("div",{className:"modal o ",onClick:Ue.Shake,children:a.jsxs("div",{className:"b",children:[a.jsx("div",{className:"h",children:"Загрузка файлов"}),a.jsx("div",{className:"x","data-icon":"F038",onClick:()=>{i(!1)}}),a.jsxs("div",{className:"upload",ref:o,children:[a.jsx("input",{type:"file",id:"fileElem",name:"files",multiple:!0}),a.jsx("dd",{}),a.jsx("i",{"data-icon":"F061"})]})]})},new Date().getTime())}):""})},Pi=({data:e,dispatch:t})=>{let n=async()=>{let o=await(await fetch(pt.url().files+"/yandex/data/"+e.id,{headers:{"Content-type":"application/json;charset=utf-8",SSID:te.getSSID()||""}})).blob();if(o.size!==2){let s=new Blob([o],{type:o.type});s=URL.createObjectURL(s);let l=document.createElement("a");l.setAttribute("href",s),l.setAttribute("download",e.name),l.click()}},r=async()=>{(await(await fetch(pt.url().files+"/yandex/delete/"+e.id,{headers:{"Content-type":"application/json;charset=utf-8",SSID:te.getSSID()||""}})).json()).status==="success"&&(t({type:"delete",id:e.id}),Se.Send({type:"success",text:"Файл успешно удалён"}))};return a.jsxs("li",{children:[a.jsx("div",{className:"f035",children:K.TypeFiles(e.type)}),a.jsx("div",{className:"f100",children:K.Date(e.uDate,"dd.mm.yy")}),a.jsx("div",{className:"f000",children:e.name}),a.jsxs("div",{className:"f050 flex button",children:[a.jsx("i",{className:"f025","data-icon":"F060 35 pointer","data-color":"_b5b9cc :4CAF50",onClick:n}),a.jsx("i",{className:"f025","data-icon":"F048 35 pointer","data-color":"_b5b9cc :FF9800",onClick:r})]}),a.jsx("div",{className:"f080",children:K.Size(e.size)})]})},tt={setSetting:Fa,getSetting:Pa};let H={};H.list=Ka(),H.active=null;const Ri=()=>{var i;let[e,t]=f.useState([]),[n,r]=f.useState(tt.getSetting("s03"));return f.useEffect(()=>{(async()=>{let o=Object.keys(H.list);if(o.length!==0){let s=[];o.forEach((l,d)=>{s.push({item:a.jsx(vt,{data:H.list[l]},H.list[l].id),link:H.list[l].link})}),t(s)}})()},[]),H.active=o=>{var s;r(o),(s=document.querySelector("app-body"))==null||s.setAttribute("bookmarks",o===1?"bottom":"")},H.set=o=>{t([...e,{item:a.jsx(vt,{data:o},o.id),link:o.link}])},H.del=o=>{e.forEach((s,l)=>{s.link===o&&e.splice(l,1)}),t([...e])},(i=document.querySelector("app-body"))==null||i.setAttribute("bookmarks",n===1&&e.length!==0?"bottom":""),n!==0?a.jsx(a.Fragment,{children:e.length!==0?a.jsx("div",{className:"bookmarks",children:e.map(o=>o.item)}):""}):""},Ai=({id:e,type:t,name:n})=>{let r=t+"-"+e,[i,o]=f.useState(H.list[r]!==void 0);f.useEffect(()=>{o(H.list[r]!==void 0)},[r]);let s=()=>{H.list[r]!==void 0?(H.del(r),delete H.list[r],an(H.list),o(!1),Se.Send({type:"success",text:"Запись удален из закладок"})):(H.list[r]={id:e,name:n,type:t,link:r},H.set(H.list[r]),an(H.list),o(!0),Se.Send({type:"success",text:"Запись добавлен в закладки"}))};return a.jsx(a.Fragment,{children:tt.getSetting("s03")!==0?a.jsx("i",{"data-icon":"C018","data-color":i?"_F44333 :F44333":"_b5b9cc :F44333",onClick:s}):""})},vt=({data:e})=>{let t=r=>{r.preventDefault(),delete H.list[e.link],H.del(e.link)},n=()=>{Ne.setId(e.id)};return a.jsx("span",{onContextMenu:t,onClick:n,children:e.name})},Oi=e=>{H.active(e)},U={},bt={},E={};E.config={iceServers:[{url:"stun:stun.l.google.com:19302"}]},E.constraints={optional:[{DtlsSrtpKeyAgreement:!0}]},E.other=[],E.users={},E.asset=0,E.remoute=!1,E.stream=null,E.user=0,E.connect=!1,E.offer=null,E.btnRefuse=null,E.time=!1;let Ee;Ee=document.createElement("audio"),Ee.setAttribute("autoplay","true"),Ee.setAttribute("muted","true"),U.start=async e=>{E.rtc=new RTCPeerConnection(E.config),E.other=[],E.remoute=!1,E.rtc.onicecandidate=n=>{n.candidate&&E.other.push(n.candidate)},E.rtc.ontrack=n=>{if(n.streams&&n.streams[0])Ee.srcObject=n.streams[0];else{console.log(!1);let r=new MediaStream(n.track);Ee.srcObject=r}};const t=await navigator.mediaDevices.getUserMedia({video:!1,audio:{echoCancellation:!1,autoGainControl:!0}});t.getTracks().forEach(n=>{E.rtc.addTrack(n,t)}),E.rtc.onconnectionstatechange=()=>{console.log(E.rtc.connectionState),E.rtc.connectionState},E.rtc.ontrack=async n=>{if(n.streams&&n.streams[0])Ee.srcObject=n.streams[0];else{console.log(!1);let r=new MediaStream(n.track);Ee.srcObject=r}},E.rtc.onaddstream=n=>{console.log(n)},E.rtc.onnegotiationneeded=n=>{console.log(n)},E.rtc.oniceconnectionstatechange=n=>{console.log(n.target)},E.rtc.onsignalingstatechange=n=>{console.log(n.target.connectionState)},E.rtc.onicegatheringstatechange=n=>{console.log(n)},E.rtc.onicecandidateerror=n=>{console.log(n)},E.rtc.ondatachannel=n=>{console.log(n)},console.log(E.rtc),E.rtc.onerror=n=>{console.log("error",n)},e()},U.useListener=e=>{bt.rtc=e},U.setListener=e=>{bt.rtc&&bt.rtc(e)},U.callTo=async e=>{U.start(async()=>{const t=await E.rtc.createOffer();await E.rtc.setLocalDescription(t),E.uid=e,me.Send({type:"module",module:"M00",query:"x0050",data:{type:"offer",offer:btoa(JSON.stringify(t)),user:E.uid}})})},U.callIn=async e=>{console.log("callIn"),E.asset=e.id,E.offer=e.offer,E.uid=e.id},U.callRise=async()=>{U.start(async()=>{E.rtc.setRemoteDescription(new RTCSessionDescription(JSON.parse(atob(E.offer))));const e=await E.rtc.createAnswer();await E.rtc.setLocalDescription(e),me.Send({type:"module",module:"M00",query:"x0050",data:{type:"answer",answer:btoa(JSON.stringify(e)),user:E.uid}}),console.log("согласилась")})},U.callOk=async e=>{E.asset=e.id;const t=new RTCSessionDescription(JSON.parse(atob(e.answer)));await E.rtc.setRemoteDescription(t),console.log("ok"),me.Send({type:"module",module:"M00",query:"x0050",data:{type:"IceCandidate",candidate:JSON.parse(JSON.stringify(E.other)),user:E.uid,send:!0}})},U.IceCandidate=async e=>{console.log(e),console.log("candidate"),e.candidate.forEach(t=>{E.rtc.addIceCandidate(new RTCIceCandidate(t))}),e.send&&me.Send({type:"module",module:"M00",query:"x0050",data:{type:"IceCandidate",candidate:JSON.parse(JSON.stringify(E.other)),user:E.uid,send:!1}})},U.callFrom=async()=>{},U.callNo=()=>{console.log("Пользователь не в сети или отклонил"),E.asset=0,E.time=!1,E.rtc&&E.rtc.close(),U.setListener({type:"state",data:"closed"})},U.callOf=()=>{E.asset=0,E.time=!1,E.rtc.close()},U.callRefuser=async()=>{me.Send({type:"module",module:"M00",query:"x0050",data:{type:"callRefuser",user:E.uid}}),E.asset=0,E.time=!1,E.rtc&&E.rtc.close()},U.Run=async e=>{U[e.data.type]&&U[e.data.type](e.data)};let We={};function zi(){let[e,t]=f.useState([]),n=f.useRef(null);return f.useEffect(()=>{},[]),We.set=r=>{t([...e,r])},We.del=()=>{t([])},We.audio=(r,i)=>{n.current.volume=.5,n.current.loop=i,n.current.src="/audio/"+r,n.current.muted=!1},a.jsxs(a.Fragment,{children:[e.map(r=>r.item),a.jsx("audio",{id:"audio",ref:n,autoPlay:!0,muted:!0})]})}function Gi(e,t){let n=new Date().getTime();We.set({item:a.jsx(Zi,{type:t,id:e},n),key:n})}function Zi({id:e,type:t}){const[n,r]=f.useState({}),[i,o]=f.useState(t);console.log(i),f.useEffect(()=>{r(te.getSelect("user")[e])},[]),console.log(i),U.useListener(d=>{switch(d.type){case"state":o(d.data)}});const s=()=>{switch(i){case"out":return a.jsx("span",{onClick:()=>{U.callTo(n.id),o("call")},children:a.jsx("svg",{className:"green",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M 27.9999 51.9062 C 41.0546 51.9062 51.9063 41.0547 51.9063 28.0000 C 51.9063 14.9219 41.0312 4.0938 27.9765 4.0938 C 14.8983 4.0938 4.0937 14.9219 4.0937 28.0000 C 4.0937 41.0547 14.9218 51.9062 27.9999 51.9062 Z M 21.8827 33.8360 C 16.0702 28.0469 12.3671 20.6640 16.7499 16.2813 C 17.0077 16.0234 17.2890 15.7656 17.5468 15.5078 C 18.8827 14.2422 20.1718 14.3125 21.3202 15.9297 L 24.3671 20.2656 C 25.3983 21.7656 25.1405 22.6094 24.0390 23.7813 L 23.0780 24.8360 C 22.7265 25.1640 22.8671 25.6094 23.0312 25.8906 C 23.4765 26.7344 24.7421 28.2344 26.1014 29.5938 C 27.5077 31.0000 28.9374 32.1953 29.8280 32.6875 C 30.1562 32.875 30.6249 32.9219 30.9296 32.6406 L 31.9374 31.6797 C 33.0624 30.5781 33.9765 30.2969 35.4296 31.3281 C 37.4452 32.7578 38.6640 33.6016 39.8593 34.4219 C 41.3358 35.5000 41.6874 36.8360 40.1874 38.1953 C 39.9296 38.4531 39.6952 38.7344 39.4374 38.9922 C 35.0546 43.3516 27.6952 39.6484 21.8827 33.8360 Z"})})});case"in":return a.jsxs(a.Fragment,{children:[a.jsx("span",{onClick:l,children:a.jsx("svg",{className:"red",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M 27.9999 51.9063 C 41.0546 51.9063 51.9063 41.0781 51.9063 28 C 51.9063 14.9453 41.0312 4.0937 27.9765 4.0937 C 14.8983 4.0937 4.0937 14.9453 4.0937 28 C 4.0937 41.0781 14.9218 51.9063 27.9999 51.9063 Z M 19.5858 38.4063 C 18.4843 38.4063 17.5936 37.5156 17.5936 36.4141 C 17.5936 35.8750 17.8280 35.4063 18.2030 35.0547 L 25.1874 28.0234 L 18.2030 20.9922 C 17.8280 20.6641 17.5936 20.1719 17.5936 19.6328 C 17.5936 18.5547 18.4843 17.6875 19.5858 17.6875 C 20.1249 17.6875 20.5936 17.8984 20.9452 18.2734 L 27.9765 25.2812 L 35.0546 18.25 C 35.4530 17.8281 35.8749 17.6406 36.3905 17.6406 C 37.4921 17.6406 38.3827 18.5312 38.3827 19.6094 C 38.3827 20.1484 38.1952 20.5937 37.7968 20.9688 L 30.7655 28.0234 L 37.7733 35.0078 C 38.1249 35.3828 38.3593 35.8516 38.3593 36.4141 C 38.3593 37.5156 37.4687 38.4063 36.3671 38.4063 C 35.8046 38.4063 35.3358 38.1719 34.9843 37.8203 L 27.9765 30.7890 L 20.9921 37.8203 C 20.6405 38.1953 20.1249 38.4063 19.5858 38.4063 Z"})})}),a.jsx("span",{onClick:U.callRise,children:a.jsx("svg",{className:"green",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M 27.9999 51.9062 C 41.0546 51.9062 51.9063 41.0547 51.9063 28.0000 C 51.9063 14.9219 41.0312 4.0938 27.9765 4.0938 C 14.8983 4.0938 4.0937 14.9219 4.0937 28.0000 C 4.0937 41.0547 14.9218 51.9062 27.9999 51.9062 Z M 21.8827 33.8360 C 16.0702 28.0469 12.3671 20.6640 16.7499 16.2813 C 17.0077 16.0234 17.2890 15.7656 17.5468 15.5078 C 18.8827 14.2422 20.1718 14.3125 21.3202 15.9297 L 24.3671 20.2656 C 25.3983 21.7656 25.1405 22.6094 24.0390 23.7813 L 23.0780 24.8360 C 22.7265 25.1640 22.8671 25.6094 23.0312 25.8906 C 23.4765 26.7344 24.7421 28.2344 26.1014 29.5938 C 27.5077 31.0000 28.9374 32.1953 29.8280 32.6875 C 30.1562 32.875 30.6249 32.9219 30.9296 32.6406 L 31.9374 31.6797 C 33.0624 30.5781 33.9765 30.2969 35.4296 31.3281 C 37.4452 32.7578 38.6640 33.6016 39.8593 34.4219 C 41.3358 35.5000 41.6874 36.8360 40.1874 38.1953 C 39.9296 38.4531 39.6952 38.7344 39.4374 38.9922 C 35.0546 43.3516 27.6952 39.6484 21.8827 33.8360 Z"})})})]});case"call":return a.jsx("span",{onClick:()=>U.callNo(n.id),children:a.jsx("svg",{className:"red",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M 27.9999 51.9063 C 41.0546 51.9063 51.9063 41.0781 51.9063 28 C 51.9063 14.9453 41.0312 4.0937 27.9765 4.0937 C 14.8983 4.0937 4.0937 14.9453 4.0937 28 C 4.0937 41.0781 14.9218 51.9063 27.9999 51.9063 Z M 19.5858 38.4063 C 18.4843 38.4063 17.5936 37.5156 17.5936 36.4141 C 17.5936 35.8750 17.8280 35.4063 18.2030 35.0547 L 25.1874 28.0234 L 18.2030 20.9922 C 17.8280 20.6641 17.5936 20.1719 17.5936 19.6328 C 17.5936 18.5547 18.4843 17.6875 19.5858 17.6875 C 20.1249 17.6875 20.5936 17.8984 20.9452 18.2734 L 27.9765 25.2812 L 35.0546 18.25 C 35.4530 17.8281 35.8749 17.6406 36.3905 17.6406 C 37.4921 17.6406 38.3827 18.5312 38.3827 19.6094 C 38.3827 20.1484 38.1952 20.5937 37.7968 20.9688 L 30.7655 28.0234 L 37.7733 35.0078 C 38.1249 35.3828 38.3593 35.8516 38.3593 36.4141 C 38.3593 37.5156 37.4687 38.4063 36.3671 38.4063 C 35.8046 38.4063 35.3358 38.1719 34.9843 37.8203 L 27.9765 30.7890 L 20.9921 37.8203 C 20.6405 38.1953 20.1249 38.4063 19.5858 38.4063 Z"})})});case"closed":return a.jsx("span",{onClick:()=>{U.callTo(n.id),o("call")},children:a.jsx("svg",{className:"green",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"M 27.9999 51.9062 C 41.0546 51.9062 51.9063 41.0547 51.9063 28.0000 C 51.9063 14.9219 41.0312 4.0938 27.9765 4.0938 C 14.8983 4.0938 4.0937 14.9219 4.0937 28.0000 C 4.0937 41.0547 14.9218 51.9062 27.9999 51.9062 Z M 21.8827 33.8360 C 16.0702 28.0469 12.3671 20.6640 16.7499 16.2813 C 17.0077 16.0234 17.2890 15.7656 17.5468 15.5078 C 18.8827 14.2422 20.1718 14.3125 21.3202 15.9297 L 24.3671 20.2656 C 25.3983 21.7656 25.1405 22.6094 24.0390 23.7813 L 23.0780 24.8360 C 22.7265 25.1640 22.8671 25.6094 23.0312 25.8906 C 23.4765 26.7344 24.7421 28.2344 26.1014 29.5938 C 27.5077 31.0000 28.9374 32.1953 29.8280 32.6875 C 30.1562 32.875 30.6249 32.9219 30.9296 32.6406 L 31.9374 31.6797 C 33.0624 30.5781 33.9765 30.2969 35.4296 31.3281 C 37.4452 32.7578 38.6640 33.6016 39.8593 34.4219 C 41.3358 35.5000 41.6874 36.8360 40.1874 38.1953 C 39.9296 38.4531 39.6952 38.7344 39.4374 38.9922 C 35.0546 43.3516 27.6952 39.6484 21.8827 33.8360 Z"})})})}},l=()=>{U.callRefuser(n.id),We.del()};return a.jsx("div",{className:"web-phone white",children:a.jsxs("div",{className:"w",children:[a.jsx("div",{className:"x","data-icon":"F038",onClick:l}),a.jsx("div",{className:"a"}),a.jsx("div",{className:"n",children:n.name}),a.jsx("div",{className:"b",children:s()})]})})}const yt={};function Ui(e){yt.add(e)}function Wi({color:e,size:t,name:n}){return a.jsx("svg",{width:t,height:t,color:e,children:a.jsx("use",{href:`#${n}`})})}function Ki(){let[e,t]=f.useState([]);if(yt.x=()=>{t([])},yt.add=r=>{t(r)},e.length===0)return"";const n={sprite:""};return a.jsx("svg",{...n,xmlns:"http://www.w3.org/2000/svg",children:e.map((r,i)=>a.jsx("symbol",{id:r.name,viewBox:"0 0 24 24",fillRule:"evenodd",clipRule:"evenodd",children:a.jsx(r.path,{})},i))})}let nt={},gn={},wt="";const Yi=e=>{gn=e},vn=f.createContext(localStorage.getItem("lang")||navigator.language),Hi=({children:e})=>{const[t,n]=f.useState(localStorage.getItem("lang")||navigator.language);return wt=t,nt.update=n,a.jsx(vn.Provider,{value:gn[t],children:e})},qi=e=>{var t;localStorage.setItem("lang",e),wt=e,(t=nt.update)==null||t.call(nt,e)},Vi=()=>f.useContext(vn),Ji=wt,kt={};function Xi(e,t){kt[e]=t}function Qi(e,t){kt[e]!==void 0&&kt[e](t)}const ye={};function eo(e,t){const[n,r]=f.useState(t);return f.useEffect(()=>{if(ye[e])return ye[e].push(r);ye[e]=[r]},[]),[n]}function to(e,t){if(ye[e])return ye[e].push(t);ye[e]=[t]}function no(e,t){ye[e]&&ye[e].forEach(n=>n(t))}const ge={setListener:Qi,useListener:Xi,setEmitter:no,useEmitter:eo,subEmitter:to};function ao(){let[e,t]=f.useState([]);return ge.useListener("form",n=>{t([n])}),a.jsx(a.Fragment,{children:e.map(n=>n)})}const bn=({children:e,lang:t})=>ma(a.jsxs(Hi,{children:[a.jsx(Ci,{}),a.jsx(Kr,{}),a.jsx(Xr,{}),a.jsx(Li,{}),a.jsx(Ki,{}),a.jsx(ao,{}),a.jsx(zi,{}),a.jsx(Ri,{}),e]})),ro=({children:e,...t})=>a.jsx("menu",{children:e}),io=({children:e,...t})=>a.jsxs("header",{children:["xz",e]}),oo={payment:"_payment_1lxfv_1"};function so(){let[e,t]=f.useState({});return!e.active&&!e.payment?"":a.jsx("div",{className:oo.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const lo=({children:e,...t})=>a.jsxs("div",{className:"app",children:[a.jsx(so,{}),a.jsx(ro,{}),a.jsx(io,{}),a.jsx(bn,{}),e]}),yn=({list:e,onClick:t,active:n,size:r,view:i})=>a.jsx("nav",{children:a.jsx("ul",{className:[r,i].join(" "),children:e.map(o=>a.jsx(co,{onClick:t,active:n,label:o.label,link:o.link},o.link))})}),co=({onClick:e,label:t,link:n,active:r})=>a.jsx("li",{"tabs-active":String(r===n),onClick:()=>e(n),children:t});yn.defaultProps={size:"M",view:"H"};const _o=({title:e="",button:t,description:n="",children:r})=>a.jsxs("fieldset",{children:[e&&a.jsxs("legend",{children:[e,t&&a.jsx("div",{role:"button-outline",onClick:()=>t.onClick(),children:t.label})," "]}),a.jsx("ul",{children:r}),n&&a.jsx("article",{children:n})]}),uo={setting:"_setting_dva4m_2"},fo=({children:e})=>a.jsx("div",{className:uo.setting,children:e}),mo=({label:e,children:t})=>{let[n,r]=f.useState(!1);return a.jsxs("li",{"data-item":"accordion",children:[a.jsxs("dl",{onClick:()=>r(!n),children:[a.jsx("dt",{children:e}),a.jsx("dd",{children:a.jsx("div",{"data-close":String(n)})})]}),n&&a.jsx("div",{children:t})]})},po=({label:e,onClick:t,button:n})=>a.jsx("li",{children:a.jsxs("dl",{children:[a.jsx("dt",{children:e}),a.jsx("dd",{role:"button",onClick:()=>t(),children:n})]})}),wn={Switch:({active:e,onClick:t})=>(console.log(e),e=typeof e=="number"?!!e:e,a.jsx("div",{role:"switch",onClick:()=>{console.log("Wewew"),t()},"aria-checked":e?"true":"false"}))},ho={Accordion:mo,Button:po,Switch:({label:e,onClick:t,active:n})=>a.jsx("li",{children:a.jsxs("dl",{children:[a.jsx("dt",{children:e}),a.jsx("dd",{children:a.jsx(wn.Switch,{onClick:t,active:n})})]})}),Info:({label:e,info:t})=>a.jsx("li",{children:a.jsxs("dl",{children:[a.jsx("dt",{children:e}),a.jsx("dd",{role:"info",children:t})]})}),Select:({label:e,active:t,options:n})=>a.jsx("li",{children:a.jsxs("dl",{children:[a.jsx("dt",{children:e}),a.jsx("dd",{role:"info",children:t})]})}),Component:({label:e,children:t})=>a.jsx("li",{children:a.jsxs("dl",{children:[a.jsx("dt",{children:e}),a.jsx("dd",{children:t})]})}),Node:({label:e,children:t})=>a.jsx("li",{children:a.jsxs("dl",{children:[a.jsx("dt",{children:e}),a.jsx("dd",{children:t})]})})};function kn({list:e,onClick:t,active:n,size:r,view:i}){return a.jsx("nav",{children:a.jsx("ul",{className:[r,i].join(" "),children:e.map(o=>a.jsx(xo,{onClick:t,active:n,label:o.label,link:o.link},o.link))})})}const xo=({onClick:e,label:t,link:n,active:r})=>a.jsx("li",{"tabs-active":String(r===n),onClick:()=>e(n),children:t});kn.defaultProps={size:"M",view:"H"};const go={Section:_o,Main:fo,Item:ho,Tabs:kn},vo={Icon:Ai,Item:vt,Active:Oi},bo={Send:ei,Line:un};function yo(){return a.jsx("svg",{viewBox:"0 0 462.86 359.96",children:a.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 wo={Logo:yo,Sprite:Ui,Symbol:Wi},ko={sort:"_sort_1yrvt_1"};let at={};function Co(e,t){switch(t.type){case"active":let n="<";return e.active===t.data&&(n=e.sort==="<"?">":"<"),at.get({active:t.data,sort:n},!1),Qt({active:t.data,sort:n}),{...e,active:t.data,sort:n};default:throw new Error}}function jo(){const[e,t]=f.useReducer(Co,ut()===void 0?{active:1,sort:"<"}:ut());return a.jsxs("div",{className:ko.sort,children:[a.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})}),a.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})}),a.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 So(e){at.get=e}function Eo(e){at.set(e)}function Do(e,t,n){let r=1,i=0,o={},s=50;o[r]=[];let l={},d="s1a";switch(l.s1a=(_,u)=>u.s1-_.s1,l.s1d=(_,u)=>_.s1-u.s1,l.s2a=(_,u)=>_.s2-u.s2,l.s2d=(_,u)=>u.s2-_.s2,l.s3a=(_,u)=>_.s3.localeCompare(u.s3),l.s3d=(_,u)=>u.s3.localeCompare(_.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(l[d]).forEach(_=>{i++,i<=s||(r++,i=1,o[r]=[]),o[r].push(e[_.id])}),{data:o}}function Io(e){at.count(e)}const No={Init:jo,useValue:So,Set:Eo,Run:Do,Count:Io},rt={},Cn={};function To(e){const[t,n]=f.useState({}),r=async i=>{n(Object.keys(rt).reduce((o,s)=>(o?o[s]=rt[s].all:o={},o),{}))};return f.useEffect(()=>{e.forEach(i=>rt[i]={all:0}),Cn.menu=r,r()},[e]),t}function Mo(e,t){switch(typeof t){case"number":rt[e].all+=t,Cn.menu();break}}const $o={useMenu:To,setUpdate:Mo};class Lo{constructor(t="el",n="db"){Kt(this,"storeName");Kt(this,"_dbp");this.storeName=n,this._dbp=new Promise((r,i)=>{const o=indexedDB.open(t,1);o.onerror=()=>i(o.error),o.onsuccess=()=>r(o.result),o.onupgradeneeded=()=>{o.result.createObjectStore(n)}})}_withIDBStore(t,n){return this._dbp.then(r=>new Promise((i,o)=>{const s=r.transaction(this.storeName,t);s.oncomplete=()=>i(),s.onabort=s.onerror=()=>o(s.error),n(s.objectStore(this.storeName))}))}}let Ct,q={};const Te=()=>(Ct||(Ct=new Lo),Ct),we=(e,t,n=Te())=>n._withIDBStore("readwrite",r=>{q[e]=t,r.put(R.enCode(t),e)}),pe=(e,t=Te())=>q[e]===void 0?new Promise((n,r)=>{let i;t._withIDBStore("readonly",o=>{i=o.get(e)}).then(()=>{if(i.result!==void 0){let o=R.deCode(i.result);q[e]=o,n(o)}else n({})})}):q[e],Bo=(e,t=Te())=>t._withIDBStore("readwrite",n=>{n.delete(e)}),jt=(e=Te())=>e._withIDBStore("readwrite",t=>{t.clear()}),Fo={id:async(e,t,n)=>{let r=await pe(t);if(n!==void 0)n({type:"load",base:r});else return r[e]},get:pe,set:we,add:async(e,t,n,r)=>{let i,o;o=await pe(n),o[e.id]=e,await we(n,o),i!==null&&(i=await pe(t),i[e.id]=e.eDate,await we(t,i)),r!==void 0&&r({type:"load",page:i,base:o})},del:Bo,upd:(e,t,n,r=Te())=>{if(q[e]===void 0)return new Promise((i,o)=>{let s;r._withIDBStore("readonly",l=>{s=l.get(e)}).then(()=>{if(s.result!==void 0){let l=R.deCode(s.result);q[e]=l,q[e][t.id]={...q[e][t.id],...t.data},r.put(R.enCode(q[e]),e),i({})}else i({})})});if(q[e][t.id]!==void 0)return q[e][t.id]={...q[e][t.id],...t.data},n!==void 0&&q[n]!==void 0?q[n][t.id]!==void 0&&(q[n][t.id]=t.data.eDate):q[n]=[],delete q[e][t.id].$_item,delete q[e][t.id].$_send,r._withIDBStore("readwrite",i=>{i.put(R.enCode(q[e]),e),n!==void 0&&i.put(R.enCode(q[n]),n)})},key:(e=Te())=>{const t=[];return e._withIDBStore("readonly",n=>{(n.openKeyCursor||n.openCursor).call(n).onsuccess=function(){this.result&&(t.push(this.result.key),this.result.continue())}}).then(()=>t)},load:e=>q[e],split:(e,t,n=[],r={})=>{let i=n.length!==0,o=[],s=r.sort,l=Object.keys(r).length!==0,d=Object.keys(r),_=Object.keys(e),u=[],p=x=>{let b="";if(n.forEach(h=>{b+=t[x][h]}),l){let h={};d.forEach(g=>{h[g]=t[x][g]});for(let g in s)t[x][s[g]]===void 0&&(jt(),location.reload()),g==="s1"&&(h[g]=new Date(t[x][s[g]]).getTime()),g==="s2"&&(h[g]=t[x][s[g]]),g==="s3"&&(h[g]=t[x][s[g]].replace(/[^a-zа-яё]/gi,"").substring(0,1));o.push({id:x,text:b,...h})}else o.push({id:x,text:b})},m=x=>{};return _.forEach(x=>{u.push(t[x])}),u.forEach(x=>{x===void 0?(jt(),location.reload()):(i&&p(x.id),l&&m(x.id))}),{list:u,search:o,filter:r}},clear:jt,updAll:async(e,t,n,r)=>{let i=await pe(t),o=await pe(n);for(let s in e)o[s]=e[s],i[s]=e[s].eDate;await we(t,i),await we(n,o),r!==void 0&&r({type:"load",page:i,base:o})},delAll:async(e,t,n,r)=>{let i=await pe(t),o=await pe(n);e.forEach(s=>delete i[s]),await we(t,i),r!==void 0&&r({type:"load",page:i,base:o})},delList:async(e,t,n)=>{let r=await pe(t);e.forEach(i=>delete r[i]),await we(t,r)},addList:async(e,t,n)=>{let r=await pe(t);e.forEach(i=>r[i.id]=i.eDate),await we(t,r)}},Po={useKey:(e,t)=>{const n=[];t=t.map(r=>r.charCodeAt(0)),document.onkeydown=function(r){n.push(r.keyCode);for(var i=0;i<t.length;i++)if(n.indexOf(t[i])==-1)return;e(),n.length=0},document.onkeyup=function(r){n.length=0}}},Ro={s:"_s_18bde_1",loadingB:"_loadingB_18bde_1",ul:"_ul_18bde_31"};function jn({children:e}){return a.jsx("ul",{className:ne.ul,children:e})}function Ao(e,t){switch(t.type){case"load":return{...e,load:t.load,wait:!1,item:1,data:t.data,list:t.data[1],size:Object.keys(t.data).length};case"update":let n=Object.keys(e.data).length,r=e.item+1;return r=n<r?1:r,e.item===r?e:{...e,wait:e.size===r,item:r,list:[...e.list,...e.data[r]]};case"clear":return{load:!1,list:[],data:{},item:1,wait:!1,size:0};default:throw new Error}}function Sn({list:e,load:t,className:n,...r}){const i=f.useRef(null),[o,s]=f.useReducer(Ao,{load:!1,list:[],data:{},item:1,wait:!1,size:0});f.useEffect(()=>{i.current.scrollTop=0,e!==null&&s({type:"load",load:!0,data:e})},[t]);let l=()=>{i.current.scrollHeight-i.current.scrollTop-300<=i.current.clientHeight&&!o.wait&&s({type:"update"})};return a.jsx("div",{className:[Ro.s,n].join(" "),ref:i,onScroll:l,children:a.jsx(jn,{"el-empty":"Данные не найдены",children:o.load&&o.list!==void 0?o.list.map(d=>a.jsx(r.item,{data:d},d.id)):a.jsxs("div",{"data-load":"load",children:[a.jsx("i",{}),a.jsx("i",{}),a.jsx("i",{})]})})})}const Oo={Widget:Bi},En=({onClick:e,active:t})=>(t=!!t,a.jsx("div",{role:"switch",onClick:()=>e,"aria-checked":`${t?"true":"false"}`}));let le={};le.KeyDown=e=>{e.key==="Enter"&&e.preventDefault()},le.PasteOne=e=>{e.preventDefault(),navigator.clipboard.readText().then(t=>{t=t.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,t)}).catch(t=>{})},le.Focus=e=>{e.target.textContent.length===0&&(e.target.innerHTML="<br>")},le.Blur=e=>{e.target.scrollLeft=0,e.target.querySelector("br")!==null&&e.target.querySelector("br").remove()};function Ke({id:e,value:t,onValue:n,name:r,placeholder:i="",title:o="",error:s="",hide:l=!1,edit:d=!0,active:_=!0,after:u="",show:p=!0,view:m,onBlur:x,onSave:b,className:h=""}){let g=!!(l&&(t===""||t===void 0)),y=w=>{n&&n({value:w.target.textContent,name:r})},C=w=>{w.key==="Enter"&&w.preventDefault()},M=w=>{w.preventDefault(),navigator.clipboard.writeText(w.target.textContent).then(function(){Se.Copy("Данные в буфер обмене")},function(O){console.error("Async: Could not copy text: ",O)})},B=w=>{};if(!(d&&_)&&!p||!(d&&_)&&g)return"";const j={};j.field="input",h&&(j.className=h);const S={};i&&(S.placeholder=i),d&&_&&(S.edit="");const D=w=>{le.Blur(w),b&&b({value:w.target.textContent,name:r})};return a.jsxs("dl",{...j,children:[o?a.jsx("dt",{children:o}):"",a.jsx("dd",{onPaste:B,onInput:y,onBlur:D,onKeyDown:C,onContextMenu:M,contentEditable:d&&_?"plaintext-only":"false",suppressContentEditableWarning:!0,...S,children:t}),s?a.jsx("em",{children:s}):""]})}function Dn({onClick:e,onSend:t,name:n,onRef:r}){let[i,o]=f.useState(!1);const s=()=>{if(e)return e();i||(o(!0),t&&t(o))};return a.jsx("button",{ref:r,"data-form":"button",className:i?"btn await":"btn confirm pointer",onClick:s,children:i?"Ожидайте":n})}function In({value:e,onValue:t,onActive:n,data:r,name:i,view:o,edit:s=!0,active:l=!0,placeholder:d="Введите сообщение"}){const _=f.useRef({value:e,timerId:null,shift:!1,send:!0}),u=()=>{_.current.value.length>0?_.current.send&&(n(!0),_.current.send=!1,_.current.timerId=setTimeout(()=>{_.current.send=!0},3e3)):n(!1)},p=y=>{_.current.value=y.target.textContent,u()},m=y=>{y.keyCode===16&&(_.current.shift=!0),y.keyCode===13&&!_.current.shift&&(y.preventDefault(),_.current.value.length!==0&&(y.target.textContent="",r&&r(_.current.value),t&&t(_.current.value),_.current.value="",n(!1)))},x=y=>{y.keyCode===16&&(_.current.shift=!1)},b=y=>{y.preventDefault(),navigator.clipboard.readText().then(C=>{window.document.execCommand("insertText",!1,C)}).catch(C=>{})},h=()=>{n(!1)},g={spellCheck:"true"};return d&&(g.placeholder=d),s&&l&&(g.contentEditable="plaintext-only"),a.jsx("dl",{"data-form":"message",children:a.jsx("dd",{onPaste:b,onInput:p,onKeyUp:x,onKeyDown:m,onBlur:h,...g,suppressContentEditableWarning:!0,children:e})})}function Nn(e){let t=()=>e.title?a.jsx("dt",{children:e.title}):"",n=e.edit!==void 0?e.edit:!0,r=e.active!==void 0?e.active:!0,i=e.placeholder!==void 0?e.placeholder:"",o=d=>{e.onValue({value:d.target.textContent,name:e.name})},s=d=>{d.key==="Enter"&&d.preventDefault()},l=d=>{d.preventDefault(),navigator.clipboard.readText().then(_=>{window.document.execCommand("insertText",!1,_)}).catch(_=>{console.log("Something went wrong",_)})};return a.jsxs("dl",{"data-form":"input","type-data":"generator",children:[t(),a.jsx("dd",{onPaste:l,onInput:o,onKeyDown:s,contentEditable:n&&r?"plaintext-only":"false","data-placeholder":i,suppressContentEditableWarning:!0,children:e.value})]})}function Tn({value:e,onValue:t,placeholder:n="",name:r}){let i=(x,b)=>Number(Math.round(x+Math.random()*(b-x))),o=f.useRef(null),s=f.useRef(null),l=i(1e4,99999),d=x=>{x.key!=="Backspace"&&(x.key==="Enter"&&x.preventDefault(),x.target.textContent.length===5&&x.preventDefault(),/\d/.test(x.key)||x.preventDefault())},_=x=>{t({value:Number(x.target.textContent)===l,name:r})},u=x=>{x.preventDefault(),navigator.clipboard.readText().then(b=>{window.document.execCommand("insertText",!1,b.replace(/(\r\n|\n|\r)/gm," ").replace(/[^0-9]/g,"").substring(0,5))}).catch(b=>{console.log("Something went wrong",b)})};f.useEffect(()=>{const x=o.current,b=x.getContext("2d");b.clearRect(0,0,x.width,x.height),b.font="30px brush script mt",b.fillStyle="#eee",b.textAlign="center",b.fillText(l,50,27),s.current.textContent=""},[l]);const p={};p.field="captcha";const m={};return n&&(m.placeholder=n),a.jsxs("dl",{...p,children:[a.jsx("dd",{ref:s,onPaste:u,onInput:_,onBlur:le.Blur,onKeyDown:d,contentEditable:"plaintext-only",suppressContentEditableWarning:!0,...m}),a.jsx("canvas",{ref:o,width:"100",height:"35"})]})}function Mn({className:e,title:t,error:n,edit:r=!0,real:i,onValue:o,empty:s,name:l}){let d={n1:"",n2:"",n3:"",n4:"",n5:"",n6:"",code:""},_=h=>{if(h.preventDefault(),!r)return;h.target.textContent=h.target.textContent.slice(-1).replace(/[^+\d]/g,"");let g=window.getSelection(),y=h.target.textContent.length;if(d[h.target.id]=h.target.textContent,d.code=d.n1+""+d.n2+d.n3+d.n4+d.n5+d.n6,g.collapse(h.target.firstChild,1),y===0){h.target.blur(),h.target.focus();return}h.target.nextSibling!=null&&h.target.nextSibling.focus()},u=h=>{if(r&&(h.key==="Enter"&&h.preventDefault(),h.key==="Backspace")){if(h.preventDefault(),h.target.textContent="",d[h.target.id]="",h.target.previousSibling!=null){let g=h.target.previousSibling.id.slice(1);h.target.previousSibling.textContent="",d["n"+g]="",h.target.previousSibling.focus()}d.code=d.n1+""+d.n2+d.n3+d.n4+d.n5+d.n6}},p=h=>{if(r){if(i)o&&o({value:d.code,name:l});else if(d.code.length===6&&(o&&o({value:d.code,name:l}),s)){d={n1:"",n2:"",n3:"",n4:"",n5:"",n6:"",code:""};for(let g=1;g<=6;g++){let y=document.getElementById("n"+g);y&&(y.textContent="")}}}},m=h=>{h.target.textContent=""},x=h=>{h.preventDefault(),navigator.clipboard.readText().then(g=>{let y=g.split("");for(let C=1;C<=y.length;C++){let M=document.getElementById("n"+C);M&&(M.textContent=y[C-1])}}).catch(g=>{console.log("Something went wrong",g)})};const b={};return b.field="code",e&&(b.className=e),a.jsxs("dl",{...b,children:[t?a.jsx("dt",{children:t}):"",a.jsxs("div",{children:[a.jsx("dd",{id:"n1",onKeyDown:u,onKeyUp:p,onFocus:m,onPaste:x,onInput:_,contentEditable:!0}),a.jsx("dd",{id:"n2",onKeyDown:u,onKeyUp:p,onFocus:m,onPaste:x,onInput:_,contentEditable:!0}),a.jsx("dd",{id:"n3",onKeyDown:u,onKeyUp:p,onFocus:m,onPaste:x,onInput:_,contentEditable:!0}),a.jsx("dd",{id:"n4",onKeyDown:u,onKeyUp:p,onFocus:m,onPaste:x,onInput:_,contentEditable:!0}),a.jsx("dd",{id:"n5",onKeyDown:u,onKeyUp:p,onFocus:m,onPaste:x,onInput:_,contentEditable:!0}),a.jsx("dd",{id:"n6",onKeyDown:u,onKeyUp:p,onFocus:m,onPaste:x,onInput:_,contentEditable:!0})]}),n?a.jsx("em",{children:n}):""]})}function $n(e){let t=()=>e.title?a.jsx("dt",{children:e.title}):"",n=()=>e.error?a.jsx("em",{children:e.error}):"";e.edit!==void 0&&e.edit,e.active!==void 0&&e.active;let[r,i]=f.useState(e.value),o=s=>{let l=s.target.getAttribute("set-color");i(l),e.onValue({value:l,name:e.name})};return a.jsx(a.Fragment,{children:e.view==="icon"?a.jsx("i",{"data-icon":"F043"}):a.jsxs("dl",{children:[t(),a.jsxs("dd",{"el-val":r,children:[a.jsx("em",{onClick:o,"set-color":"0"}),a.jsx("em",{onClick:o,"set-color":"1"}),a.jsx("em",{onClick:o,"set-color":"2"}),a.jsx("em",{onClick:o,"set-color":"3"}),a.jsx("em",{onClick:o,"set-color":"4"}),a.jsx("em",{onClick:o,"set-color":"5"})]}),n()]})})}const he={o:"_o_66f7n_1",c:"_c_66f7n_11",as:"_as_66f7n_87",ap:"_ap_66f7n_90"};function St(e){let t=()=>e.title?a.jsx("dt",{children:e.title}):"",n=()=>e.error?a.jsx("em",{children:e.error}):"",r=e.edit!==void 0?e.edit:!0,i=e.active!==void 0?e.active:!0,o=e.placeholder!==void 0?e.placeholder:"",[s,l]=f.useState(e.value===void 0?new Date:e.value),d=!r&&i;f.useEffect(()=>{l(e.value===void 0?new Date:e.value)},[e.value]);let _=x=>{l(x),e.onValue({value:x,name:e.name})},u=x=>{const b=x.target.getBoundingClientRect(),h=b.left,g=b.top;ge.setListener("form",a.jsx(zo,{position:{x:h,y:g},onValue:_,date:s},new Date().getTime()))};const p={};p.field="input";const m={};return o&&(m.placeholder=o),d?a.jsx(a.Fragment,{}):a.jsx(a.Fragment,{children:e.view==="icon"?a.jsx("i",{"data-icon":"F043",className:"pointer","data-color":"_b5b9cc :506290",onClick:u}):a.jsxs("dl",{...p,children:[t(),a.jsx("dd",{onClick:u,...m,"data-edit":(r&&i)+"",children:K.Date(s,"dd.mm.yyyy")}),n()]})})}const zo=e=>{let[t,n]=f.useState(!0),r=new Date,i=new Date(e.date),o={y:parseInt(r.getFullYear()),d:parseInt(r.getDate()),m:parseInt(r.getMonth())+1},s={y:parseInt(i.getFullYear()),d:parseInt(i.getDate()),m:parseInt(i.getMonth())+1},[l,d]=f.useState({y:s.y,m:s.m}),_=j=>{let S=j.getDay();return S===0&&(S=7),S-1},u=["пн","вт","ср","чт","пт","сб","вс"],p=l.m-1,m=new Date(l.y,p),x=[];for(let j=0;j<_(m);j++)x.push(0);for(;m.getMonth()===p;)x.push(m.getDate()),m.setDate(m.getDate()+1);let b=()=>{n(!1)},h=()=>{C(l.m+1,l.y)},g=()=>{C(l.m-1,l.y)},y=j=>{e.onValue(l.y+"-"+K.Number(2,l.m)+"-"+K.Number(2,j)),b()},C=(j,S)=>{S=j>12?S+1:j<1?S-1:S,j=j>12?1:j<1?12:j,d({y:S,m:j})},M=window.innerHeight-e.position.y+33<320?e.position.y-312:e.position.y+33,B=window.innerWidth-e.position.x<265?e.position.x-235:e.position.x;return a.jsx(a.Fragment,{children:t?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:he.o,onClick:()=>b()},new Date().getTime()),a.jsxs("div",{className:he.c,style:{top:M+"px",left:B+"px"},children:[a.jsxs("s",{children:[a.jsx("i",{onClick:g,children:a.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),a.jsxs("h2",{children:[K.Month(l.m).name," ",l.y]}),a.jsx("i",{onClick:h,children:a.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),a.jsxs("div",{"grid-calendar":"",children:[u.map((j,S)=>a.jsx("p",{children:j},"v"+S)),x.map((j,S)=>a.jsx("span",{children:j!==0?a.jsx("b",{color:o.y===l.y&&o.m===l.m&&o.d===j?"_FFEB3B":"",onClick:()=>y(j),children:j}):a.jsx("p",{})},S))]})]})]}):""})};function Et({value:e,onValue:t,name:n,placeholder:r="",title:i,error:o,hide:s=!1,edit:l=!0,show:d=!0,active:_=!0,after:u="",view:p,modal:m,module:x,options:b,className:h}){let[g,y]=f.useState(e),C=j=>{if(!(l&&_))return;if(!m)return console.error("modal - empty");let S=m.split(".");Ue.Open(S[0],S[1],{callback:D=>{t&&t({value:D,name:n}),y(D)},onValue:t,options:b,name:n,value:e})};const M={};M.field="input",h&&(M.className=h);const B={};return r&&(B.placeholder=r),s?a.jsx(a.Fragment,{}):a.jsxs("dl",{...M,children:[i&&a.jsx("dt",{children:i}),a.jsx("dd",{...B,onClick:C,edit:(l&&_)+"","data-after":u,children:g}),o&&a.jsx("em",{children:o})]})}function Dt({value:e,onValue:t,name:n,placeholder:r="",title:i="",error:o="",hide:s=!1,edit:l=!0,active:d=!0,after:_="",show:u=!0,course:p=100,view:m,onBlur:x,type:b,onSave:h,className:g=""}){let y=!!(s&&(e===""||e===void 0));e=K.isNumeric(e)?Number(e)/p:0;let C=$=>b==="multi"?$.replace(/[^+\d.+-]/g,""):$.replace(/[^+\d.]/g,""),M=($,W)=>{let z=document.createRange(),N=window.getSelection();z.setStart(W.childNodes[0],$),z.collapse(!0),N.removeAllRanges(),N.addRange(z),W.focus()},B=$=>{t==null||t({value:C($.target.textContent)*p,name:n}),$.target.textContent=C($.target.textContent),$.target.textContent.length>0&&M($.target.textContent.length,$.target)},j=$=>{le.Blur($),$.target.textContent===""&&($.target.textContent=0),h==null||h({value:C($.target.textContent)*p,name:n}),t==null||t({value:C($.target.textContent)*p,name:n}),$.target.textContent=K.Money($.target.textContent)},S=$=>{$.target.textContent=C($.target.textContent)},D=$=>{$.key==="Enter"&&$.preventDefault()},w=$=>{$.preventDefault(),navigator.clipboard.readText().then(W=>{W=W.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,W)}).catch(W=>{console.log("Something went wrong",W)})};if(!(l&&d)&&!u||!(l&&d)&&y)return"";const O={};return O.field="input",g&&(O.className=g),a.jsxs("dl",{...O,children:[i?a.jsx("dt",{children:i}):"",a.jsx("dd",{onInput:B,onPaste:w,onBlur:j,onKeyDown:D,onFocus:S,contentEditable:l&&d?"plaintext-only":"false",suppressContentEditableWarning:!0,"e-after":_,children:K.Money(e)}),o?a.jsx("em",{children:o}):""]})}function Ln({value:e,onValue:t,name:n,view:r,error:i,edit:o=!0,active:s=!0,title:l,placeholder:d="",className:_,after:u}){let[p,m]=f.useState(e);f.useEffect(()=>{m(e)},[e]);let x=g=>{m(g),t&&t({value:g,name:n})},b=g=>{if(!o||!s)return;const y=g.target.getBoundingClientRect(),C=y.left,M=y.top;ge.setListener("form",a.jsx(Go,{position:{x:C,y:M},onValue:x,date:p},new Date().getTime()))};const h={};return d&&(h.placeholder=d),r==="icon"?a.jsx("i",{"data-icon":"F043",onClick:b}):a.jsxs("dl",{children:[l&&a.jsx("dt",{children:l}),a.jsx("dd",{onClick:b,...h,children:K.Date(p,"mm.yyyy")}),i&&a.jsx("em",{children:i})]})}const Go=e=>{let[t,n]=f.useState(!0),r=new Date,i=new Date(e.date),o={y:parseInt(r.getFullYear()),m:parseInt(r.getMonth())+1},s={y:parseInt(i.getFullYear()),m:parseInt(i.getMonth())+1},[l,d]=f.useState(s.y),_=()=>{n(!1)},u=()=>{d(l+1)},p=()=>{d(l-1)},m=y=>{e.onValue(l+"-"+K.Number(2,y)),_()},x=y=>o.y===s.y&&o.m===y?"_FFEB3B":"",b=Array(12).fill("").map((y,C)=>C+1),h=window.innerHeight-e.position.y+33<320?e.position.y-312:e.position.y+33,g=window.innerWidth-e.position.x<265?e.position.x-235:e.position.x;return a.jsx(a.Fragment,{children:t?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:he.o,onClick:()=>_()},new Date().getTime()),a.jsxs("div",{className:he.c,style:{top:h+"px",left:g+"px"},children:[a.jsxs("s",{children:[a.jsx("i",{onClick:p,children:a.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),a.jsx("h2",{children:l}),a.jsx("i",{onClick:u,children:a.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:a.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),a.jsx("div",{"grid-month":"",children:b.map((y,C)=>a.jsx("span",{onClick:()=>{m(y)},color:x(y),children:a.jsx("b",{children:K.Month(y).abc})},C))})]})]}):""})};function Bn(e){let t=()=>e.title?a.jsx("dt",{children:e.title}):"",n=()=>e.error?a.jsx("em",{children:e.error}):"",[r,i]=f.useState(!1),o=e.edit!==void 0?e.edit:!0,s=e.active!==void 0?e.active:!0,d=!!(e.hide&&(e.value===""||e.value===void 0))&&!(o&&s);r=o?!0:r;let _=e.placeholder!==void 0?e.placeholder:"",u=g=>{e.onValue&&e.onValue({value:g.target.innerText,name:e.name})},p=g=>{g.preventDefault(),navigator.clipboard.readText().then(y=>{window.document.execCommand("insertText",!1,y)}).catch(y=>{console.log("Something went wrong",y)})},m=g=>{o||i(!r)};const x=g=>{e.onSave&&e.onSave({value:g.target.innerText,name:e.name})},b={};b.field="notes",e.className&&(b.className=e.className);const h={};return _&&(h.placeholder=_),r&&(h.open=""),o&&s&&(h.edit=""),d?a.jsx(a.Fragment,{}):a.jsxs("dl",{...b,children:[t(),a.jsx("dd",{onPaste:p,onInput:u,onBlur:x,contentEditable:o&&s?"plaintext-only":"false",...h,onDoubleClick:m,suppressContentEditableWarning:!0,children:e.value}),n()]})}function It({onValue:e,onSave:t,active:n,max:r,edit:i,title:o,error:s,show:l,hide:d,value:_,placeholder:u,className:p,name:m,after:x,view:b}){i=i!==void 0?i:!0,n=n!==void 0?n:!0,d=!!(d&&(_===""||_===void 0))&&!(i&&n),u=u!==void 0?u:"",r=r!==void 0?r:99;let g=!1,y=w=>{e==null||e({value:w.target.textContent,name:m})},C=w=>{if(!(g&&w.which===86)){if(w.which===17||w.which===91)return g=!0;w.key!=="Backspace"&&(w.target.textContent.length===r&&w.preventDefault(),w.key==="Enter"&&w.preventDefault(),isNaN(parseInt(String.fromCharCode(w.which)))&&w.preventDefault())}},M=w=>{if(w.which===17||w.which===91)return g=!1},B=w=>{w.preventDefault(),navigator.clipboard.readText().then(O=>{O=O.replace(/\D/g,""),console.log(O),window.document.execCommand("insertText",!1,""+O.replace(/\D/g,""))}).catch(O=>{console.log("Something went wrong",O)})};const j=w=>{le.Blur(w),t==null||t({value:w.target.textContent,name:m})},S={};S.field="input",p&&(S.className=p);let D={};return i&&n?(D.edit="true",D.contentEditable="plaintext-only"):D.contentEditable="false",u&&(D.placeholder=u),x&&(D.after=x),d?a.jsx(a.Fragment,{}):a.jsxs("dl",{...S,children:[o&&a.jsx("dt",{children:o}),a.jsx("dd",{...D,onPaste:B,onInput:y,onBlur:j,onKeyDown:C,onKeyUp:M,suppressContentEditableWarning:!0,children:_}),s&&a.jsx("em",{children:s})]})}function Fn({value:e,onValue:t,name:n,placeholder:r="",className:i,title:o,error:s,edit:l=!0,active:d=!0,reload:_=!1,native:u=!1,after:p=""}){let m=y=>{t&&t({value:y.target.textContent,name:n,reload:_})},x=y=>{y.key==="Enter"&&y.preventDefault()},b=y=>{y.preventDefault(),navigator.clipboard.readText().then(C=>{window.document.execCommand("insertText",!1,C.replace(/(\r\n|\n|\r)/gm," "))}).catch(C=>{console.log("Something went wrong",C)})};const h={};h.field="password",i&&(h.className=i);const g={};return r&&(g.placeholder=r),u?"":a.jsxs("dl",{...h,children:[o?a.jsx("dt",{children:o}):"",a.jsx("dd",{onPaste:b,onInput:m,onKeyDown:x,onBlur:le.Blur,contentEditable:l&&d?"plaintext-only":"false",...g,suppressContentEditableWarning:!0,children:e}),s?a.jsx("em",{children:s}):""]})}const Nt={0:{name:"Heard Island and Mcdonald Islands",dial_code:"+0",code:"HM",mask:"+0(___) ___-__-__"},1:{name:"United States",dial_code:"+1",code:"US",mask:"+1(___) ___-__-__"},7:{name:"Russia",dial_code:"+7",code:"RU",mask:"+7(___) ___-__-__"},20:{name:"Egypt",dial_code:"+20",code:"EG",mask:"+20(___) ___-__-__"},27:{name:"South Africa",dial_code:"+27",code:"ZA",mask:"+27(___) __-__-__"},30:{name:"Greece",dial_code:"+30",code:"GR",mask:"+30(___) ___-__-__"},31:{name:"Netherlands",dial_code:"+31",code:"NL",mask:"+31(___) __-__-__"},32:{name:"Belgium",dial_code:"+32",code:"BE",mask:"+32(___) __-__-__"},33:{name:"France",dial_code:"+33",code:"FR",mask:"+33(___) __-__-__"},34:{name:"Spain",dial_code:"+34",code:"ES",mask:"+34(___) __-__-__"},36:{name:"Hungary",dial_code:"+36",code:"HU",mask:"+36(___) __-__-__"},39:{name:"Italy",dial_code:"+39",code:"IT",mask:"+39(___) ___-__-__"},40:{name:"Romania",dial_code:"+40",code:"RO",mask:"+40(___) __-__-__"},41:{name:"Switzerland",dial_code:"+41",code:"CH",mask:"+41(___) __-__-__"},43:{name:"Austria",dial_code:"+43",code:"AT",mask:"+43(__) ___-__-__"},44:{name:"United Kingdom",dial_code:"+44",code:"GB",mask:"+44(___) ___-__-__"},45:{name:"Denmark",dial_code:"+45",code:"DK",mask:"+45(__) __-__-__"},46:{name:"Sweden",dial_code:"+46",code:"SE",mask:"+46(___) __-__-__"},47:{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ",mask:"+47(__) __-__-__"},48:{name:"Poland",dial_code:"+48",code:"PL",mask:"+48(__) __-__-__"},49:{name:"Germany",dial_code:"+49",code:"DE",mask:"+49(___) ___-__-__"},51:{name:"Peru",dial_code:"+51",code:"PE",mask:"+51(___) __-__-__"},52:{name:"Mexico",dial_code:"+52",code:"MX",mask:"+52(__-__) ___-__-__"},53:{name:"Cuba",dial_code:"+53",code:"CU",mask:"+53(__) __-__-__"},54:{name:"Argentina",dial_code:"+54",code:"AR",mask:"+54(__-__) ___-__-__"},55:{name:"Brazil",dial_code:"+55",code:"BR",mask:"+55(___) ___-__-__"},56:{name:"Chile",dial_code:"+56",code:"CL",mask:"+56(___) __-__-__"},57:{name:"Colombia",dial_code:"+57",code:"CO",mask:"+57(___) ___-__-__"},58:{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",code:"VE",mask:"+58(___) ___-__-__"},60:{name:"Malaysia",dial_code:"+60",code:"MY",mask:"+60(___) __-__-__"},61:{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC",mask:"+61(___) ___-__-__"},62:{name:"Indonesia",dial_code:"+62",code:"ID",mask:"+62(___) __-__-__"},63:{name:"Philippines",dial_code:"+63",code:"PH",mask:"+63(___) ___-__-__"},64:{name:"Pitcairn",dial_code:"+64",code:"PN",mask:"+64(___) __-__-__"},65:{name:"Singapore",dial_code:"+65",code:"SG",mask:"+65(__) __-__-__"},66:{name:"Thailand",dial_code:"+66",code:"TH",mask:"+66(___) __-__-__"},77:{name:"Kazakhstan",dial_code:"+77",code:"KZ",mask:"+77(__) ___-__-__"},81:{name:"Japan",dial_code:"+81",code:"JP",mask:"+81(___) ___-__-__"},82:{name:"Korea, Republic of South Korea",dial_code:"+82",code:"KR",mask:"+82(___) ___-__-__"},84:{name:"Vietnam",dial_code:"+84",code:"VN",mask:"+84(___) __-__-__"},86:{name:"China",dial_code:"+86",code:"CN",mask:"+86(__-__) ___-__-__"},90:{name:"Turkey",dial_code:"+90",code:"TR",mask:"+90(___) ___-__-__"},91:{name:"India",dial_code:"+91",code:"IN",mask:"+91(___) ___-__-__"},92:{name:"Pakistan",dial_code:"+92",code:"PK",mask:"+92(___) ___-__-__"},93:{name:"Afghanistan",dial_code:"+93",code:"AF",mask:"+93(__) ___-__-__"},94:{name:"Sri Lanka",dial_code:"+94",code:"LK",mask:"+94(___) __-__-__"},95:{name:"Myanmar",dial_code:"+95",code:"MM",mask:"+95(___) ___-__-__"},98:{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",code:"IR",mask:"+98(___) ___-__-__"},211:{name:"South Sudan",dial_code:"+211",code:"SS",mask:"+211(___) ___-__-__"},212:{name:"Morocco",dial_code:"+212",code:"MA",mask:"+212(___) __-__-__"},213:{name:"Algeria",dial_code:"+213",code:"DZ",mask:"+213(__) ___-__-__"},216:{name:"Tunisia",dial_code:"+216",code:"TN",mask:"+216(__) __-__-__"},218:{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY",mask:"+218(___) ___-__-__"},220:{name:"Gambia",dial_code:"+220",code:"GM",mask:"+220(___) __-__"},221:{name:"Senegal",dial_code:"+221",code:"SN",mask:"+221(___) __-__-__"},222:{name:"Mauritania",dial_code:"+222",code:"MR",mask:"+222(__) __-__-__"},223:{name:"Mali",dial_code:"+223",code:"ML",mask:"+223(__) __-__-__"},224:{name:"Guinea",dial_code:"+224",code:"GN",mask:"+224(__) __-__-__"},225:{name:"Cote d'Ivoire",dial_code:"+225",code:"CI",mask:"+225(__) __-__-__"},226:{name:"Burkina Faso",dial_code:"+226",code:"BF",mask:"+226(__) __-__-__"},227:{name:"Niger",dial_code:"+227",code:"NE",mask:"+227(__) __-__-__"},228:{name:"Togo",dial_code:"+228",code:"TG",mask:"+228(__) __-__-__"},229:{name:"Benin",dial_code:"+229",code:"BJ",mask:"+229(__) __-__-__"},230:{name:"Mauritius",dial_code:"+230",code:"MU",mask:"+230(___) __-__"},231:{name:"Liberia",dial_code:"+231",code:"LR",mask:"+231(___) __-__"},232:{name:"Sierra Leone",dial_code:"+232",code:"SL",mask:"+232(__) __-__-__"},233:{name:"Ghana",dial_code:"+233",code:"GH",mask:"+233(___) __-__-__"},234:{name:"Nigeria",dial_code:"+234",code:"NG",mask:"+234(___) ___-__-__"},235:{name:"Chad",dial_code:"+235",code:"TD",mask:"+235(__) __-__-__"},236:{name:"Central African Republic",dial_code:"+236",code:"CF",mask:"+236(__) __-__-__"},237:{name:"Cameroon",dial_code:"+237",code:"CM",mask:"+237(__) __-__-__"},238:{name:"Cape Verde",dial_code:"+238",code:"CV",mask:"+238(___) __-__"},239:{name:"Sao Tome and Principe",dial_code:"+239",code:"ST",mask:"+239(___) ___-__-__"},240:{name:"Equatorial Guinea",dial_code:"+240",code:"GQ",mask:"+240(___) __-__-__"},241:{name:"Gabon",dial_code:"+241",code:"GA",mask:"+241(__) __-__-__"},242:{name:"Congo",dial_code:"+242",code:"CG",mask:"+242(___) __-__-__"},243:{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",code:"CD",mask:"+243(___) ___-__-__"},244:{name:"Angola",dial_code:"+244",code:"AO",mask:"+244(__) ___-__-__"},245:{name:"Guinea-Bissau",dial_code:"+245",code:"GW",mask:"+245(___) __-__"},246:{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO",mask:"+246(___) ___-__-__"},248:{name:"Seychelles",dial_code:"+248",code:"SC",mask:"+248(___) ___-__-__"},249:{name:"Sudan",dial_code:"+249",code:"SD",mask:"+249(___) __-__-__"},250:{name:"Rwanda",dial_code:"+250",code:"RW",mask:"+250(___) __-__-__"},251:{name:"Ethiopia",dial_code:"+251",code:"ET",mask:"+251(___) __-__-__"},252:{name:"Somalia",dial_code:"+252",code:"SO",mask:"+252(___) ___-__-__"},253:{name:"Djibouti",dial_code:"+253",code:"DJ",mask:"+253(___) ___-__-__"},254:{name:"Kenya",dial_code:"+254",code:"KE",mask:"+254(___) __-__-__"},255:{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",code:"TZ",mask:"+255(___) __-__-__"},256:{name:"Uganda",dial_code:"+256",code:"UG",mask:"+256(___) __-__-__"},257:{name:"Burundi",dial_code:"+257",code:"BI",mask:"+257(__) __-__-__"},258:{name:"Mozambique",dial_code:"+258",code:"MZ",mask:"+258(___) __-__-__"},260:{name:"Zambia",dial_code:"+260",code:"ZM",mask:"+260(___) __-__-__"},261:{name:"Madagascar",dial_code:"+261",code:"MG",mask:"+261(___) __-__-__"},262:{name:"Reunion",dial_code:"+262",code:"RE",mask:"+262(___) __-__-__"},263:{name:"Zimbabwe",dial_code:"+263",code:"ZW",mask:"+263(___) __-__-__"},264:{name:"Namibia",dial_code:"+264",code:"NA",mask:"+264(___) __-__-__"},265:{name:"Malawi",dial_code:"+265",code:"MW",mask:"+265(___) __-__-__"},266:{name:"Lesotho",dial_code:"+266",code:"LS",mask:"+266(__) __-__-__"},267:{name:"Botswana",dial_code:"+267",code:"BW",mask:"+267(__) __-__-__"},268:{name:"Swaziland",dial_code:"+268",code:"SZ",mask:"+268(___) ___-__-__"},269:{name:"Comoros",dial_code:"+269",code:"KM",mask:"+269(___) __-__"},290:{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH",mask:"+290(___) ___-__-__"},291:{name:"Eritrea",dial_code:"+291",code:"ER",mask:"+291(___) ___-__-__"},297:{name:"Aruba",dial_code:"+297",code:"AW",mask:"+297(_) __-__-__"},298:{name:"Faroe Islands",dial_code:"+298",code:"FO",mask:"+298(__) __-__"},299:{name:"Greenland",dial_code:"+299",code:"GL",mask:"+299(__) __-__"},345:{name:"Cayman Islands",dial_code:"+ 345",code:"KY",mask:"+345(___) ___-__-__"},350:{name:"Gibraltar",dial_code:"+350",code:"GI",mask:"+350(__) __-__-__"},351:{name:"Portugal",dial_code:"+351",code:"PT",mask:"+351(___) __-__-__"},352:{name:"Luxembourg",dial_code:"+352",code:"LU",mask:"+352(___) __-__-__"},353:{name:"Ireland",dial_code:"+353",code:"IE",mask:"+353(___) __-__-__"},354:{name:"Iceland",dial_code:"+354",code:"IS",mask:"+354(___) __-__"},355:{name:"Albania",dial_code:"+355",code:"AL",mask:"+355(__) ___-__-__"},356:{name:"Malta",dial_code:"+356",code:"MT",mask:"+356(__) __-__-__"},357:{name:"Cyprus",dial_code:"+357",code:"CY",mask:"+357(__) __-__-__"},358:{name:"Finland",dial_code:"+358",code:"FI",mask:"+358(___) __-__-__"},359:{name:"Bulgaria",dial_code:"+359",code:"BG",mask:"+359(___) __-__-__"},370:{name:"Lithuania",dial_code:"+370",code:"LT",mask:"+370(_) ___-__-__"},371:{name:"Latvia",dial_code:"+371",code:"LV",mask:"+371(__) __-__-__"},372:{name:"Estonia",dial_code:"+372",code:"EE",mask:"+372(__) __-__-__"},373:{name:"Moldova",dial_code:"+373",code:"MD",mask:"+373(__) __-__-__"},374:{name:"Armenia",dial_code:"+374",code:"AM",mask:"+374(_) ___-__-__"},375:{name:"Belarus",dial_code:"+375",code:"BY",mask:"+375(__) ___-__-__"},376:{name:"Andorra",dial_code:"+376",code:"AD",mask:"+376(_) _-__-__"},377:{name:"Monaco",dial_code:"+377",code:"MC",mask:"+377(___) __-__-__"},378:{name:"San Marino",dial_code:"+378",code:"SM",mask:"+378(__) __-__-__"},379:{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA",mask:"+379(___) ___-__-__"},380:{name:"Ukraine",dial_code:"+380",code:"UA",mask:"+380(__) ___-__-__"},381:{name:"Serbia",dial_code:"+381",code:"RS",mask:"+381(__) __-__-__"},382:{name:"Montenegro",dial_code:"+382",code:"ME",mask:"+382(___) ___-__-__"},383:{name:"Kosovo",dial_code:"+383",code:"XK",mask:"+383(___) __-__"},385:{name:"Croatia",dial_code:"+385",code:"HR",mask:"+385(__) __-__-__"},386:{name:"Slovenia",dial_code:"+386",code:"SI",mask:"+386(__) __-__-__"},387:{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA",mask:"+387(__) __-__-__"},389:{name:"Macedonia",dial_code:"+389",code:"MK",mask:"+389(__) __-__-__"},420:{name:"Czech Republic",dial_code:"+420",code:"CZ",mask:"+420(___) __-__-__"},421:{name:"Slovakia",dial_code:"+421",code:"SK",mask:"+421(___) __-__-__"},423:{name:"Liechtenstein",dial_code:"+423",code:"LI",mask:"+423(___) __-__-__"},500:{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS",mask:"+500(___) ___-__-__"},501:{name:"Belize",dial_code:"+501",code:"BZ",mask:"+501(___) __-__"},502:{name:"Guatemala",dial_code:"+502",code:"GT",mask:"+502(__) __-__-__"},503:{name:"El Salvador",dial_code:"+503",code:"SV",mask:"+503(__) __-__-__"},504:{name:"Honduras",dial_code:"+504",code:"HN",mask:"+504(__) __-__-__"},505:{name:"Nicaragua",dial_code:"+505",code:"NI",mask:"+505(__) __-__-__"},506:{name:"Costa Rica",dial_code:"+506",code:"CR",mask:"+506(__) __-__-__"},507:{name:"Panama",dial_code:"+507",code:"PA",mask:"+507(__) __-__-__"},508:{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM",mask:"+508(___) ___-__-__"},509:{name:"Haiti",dial_code:"+509",code:"HT",mask:"+509(__) __-__-__"},590:{name:"Saint Martin",dial_code:"+590",code:"MF",mask:"+590(___) __-__-__"},591:{name:"Bolivia, Plurinational State of bolivia",dial_code:"+591",code:"BO",mask:"+591(__) __-__-__"},592:{name:"Guyana",dial_code:"+592",code:"GY",mask:"+592(___) ___-__-__"},593:{name:"Ecuador",dial_code:"+593",code:"EC",mask:"+593(___) __-__-__"},594:{name:"French Guiana",dial_code:"+594",code:"GF",mask:"+594(___) __-__-__"},595:{name:"Paraguay",dial_code:"+595",code:"PY",mask:"+595(___) __-__-__"},596:{name:"Martinique",dial_code:"+596",code:"MQ",mask:"+596(___) __-__-__"},597:{name:"Suriname",dial_code:"+597",code:"SR",mask:"+597(___) __-__"},598:{name:"Uruguay",dial_code:"+598",code:"UY",mask:"+598(__) __-__-__"},599:{name:"Netherlands Antilles",dial_code:"+599",code:"AN",mask:"+599(__) __-__-__"},670:{name:"Timor-Leste",dial_code:"+670",code:"TL",mask:"+670(__) __-__-__"},672:{name:"Norfolk Island",dial_code:"+672",code:"NF",mask:"+672(___) ___-__-__"},673:{name:"Brunei Darussalam",dial_code:"+673",code:"BN",mask:"+673(___) __-__"},674:{name:"Nauru",dial_code:"+674",code:"NR",mask:"+674(___) __-__"},675:{name:"Papua New Guinea",dial_code:"+675",code:"PG",mask:"+675(___) __-__"},676:{name:"Tonga",dial_code:"+676",code:"TO",mask:"+676(___) __-__"},677:{name:"Solomon Islands",dial_code:"+677",code:"SB",mask:"+677(___) __-__"},678:{name:"Vanuatu",dial_code:"+678",code:"VU",mask:"+678(___) __-__"},679:{name:"Fiji",dial_code:"+679",code:"FJ",mask:"+679(___) __-__"},680:{name:"Palau",dial_code:"+680",code:"PW",mask:"+680(___) ___-__-__"},681:{name:"Wallis and Futuna",dial_code:"+681",code:"WF",mask:"+681(___) ___-__-__"},682:{name:"Cook Islands",dial_code:"+682",code:"CK",mask:"+682(_) __-__"},683:{name:"Niue",dial_code:"+683",code:"NU",mask:"+683(___) ___-__-__"},685:{name:"Samoa",dial_code:"+685",code:"WS",mask:"+685(__) __-__"},686:{name:"Kiribati",dial_code:"+686",code:"KI",mask:"+686(___) ___-__-__"},687:{name:"New Caledonia",dial_code:"+687",code:"NC",mask:"+687(__) __-__"},688:{name:"Tuvalu",dial_code:"+688",code:"TV",mask:"+688(___) ___-__-__"},689:{name:"French Polynesia",dial_code:"+689",code:"PF",mask:"+689(__) __-__"},690:{name:"Tokelau",dial_code:"+690",code:"TK",mask:"+690(___) ___-__-__"},691:{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",code:"FM",mask:"+691(___) ___-__-__"},692:{name:"Marshall Islands",dial_code:"+692",code:"MH",mask:"+692(___) ___-__-__"},850:{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",code:"KP",mask:"+850(___) ___-__-__"},852:{name:"Hong Kong",dial_code:"+852",code:"HK",mask:"+852(__) __-__-__"},853:{name:"Macao",dial_code:"+853",code:"MO",mask:"+853(__) __-__-__"},855:{name:"Cambodia",dial_code:"+855",code:"KH",mask:"+855(__) __-__-__"},856:{name:"Laos",dial_code:"+856",code:"LA",mask:"+856(___) ___-__-__"},880:{name:"Bangladesh",dial_code:"+880",code:"BD",mask:"+880(___) ___-__-__"},886:{name:"Taiwan",dial_code:"+886",code:"TW",mask:"+886(___) __-__-__"},960:{name:"Maldives",dial_code:"+960",code:"MV",mask:"+960(___) __-__"},961:{name:"Lebanon",dial_code:"+961",code:"LB",mask:"+961(__) __-__-__"},962:{name:"Jordan",dial_code:"+962",code:"JO",mask:"+962(___) __-__-__"},963:{name:"Syrian Arab Republic",dial_code:"+963",code:"SY",mask:"+963(___) __-__-__"},964:{name:"Iraq",dial_code:"+964",code:"IQ",mask:"+964(___) ___-__-__"},965:{name:"Kuwait",dial_code:"+965",code:"KW",mask:"+965(__) __-__-__"},966:{name:"Saudi Arabia",dial_code:"+966",code:"SA",mask:"+966(___) __-__-__"},967:{name:"Yemen",dial_code:"+967",code:"YE",mask:"+967(___) __-__-__"},968:{name:"Oman",dial_code:"+968",code:"OM",mask:"+968(__) __-__-__"},970:{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS",mask:"+970(___) __-__-__"},971:{name:"United Arab Emirates",dial_code:"+971",code:"AE",mask:"+971(___) __-__-__"},972:{name:"Israel",dial_code:"+972",code:"IL",mask:"+972(___) __-__-__"},973:{name:"Bahrain",dial_code:"+973",code:"BH",mask:"+973(__) __-__-__"},974:{name:"Qatar",dial_code:"+974",code:"QA",mask:"+974(__) __-__-__"},975:{name:"Bhutan",dial_code:"+975",code:"BT",mask:"+975(__) __-__-__"},976:{name:"Mongolia",dial_code:"+976",code:"MN",mask:"+976(__) __-__-__"},977:{name:"Nepal",dial_code:"+977",code:"NP",mask:"+977(___) ___-__-__"},992:{name:"Tajikistan",dial_code:"+992",code:"TJ",mask:"+992(___) __-__-__"},993:{name:"Turkmenistan",dial_code:"+993",code:"TM",mask:"+993(__) __-__-__"},994:{name:"Azerbaijan",dial_code:"+994",code:"AZ",mask:"+994(__) ___-__-__"},995:{name:"Georgia",dial_code:"+995",code:"GE",mask:"+995(___) __-__-__"},996:{name:"Kyrgyzstan",dial_code:"+996",code:"KG",mask:"+996(___) __-__-__"},998:{name:"Uzbekistan",dial_code:"+998",code:"UZ",mask:"+998(___) __-__-__"},1242:{name:"Bahamas",dial_code:"+1242",code:"BS",mask:"+1242(___) __-__"},1246:{name:"Barbados",dial_code:"+1246",code:"BB",mask:"+1246(___) __-__"},1264:{name:"Anguilla",dial_code:"+1264",code:"AI",mask:"+1264(___) ___-__-__"},1268:{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG",mask:"+1268(_) __-__"},1284:{name:"Virgin Islands, British",dial_code:"+1284",code:"VG",mask:"+1284(___) __-__"},1340:{name:"Virgin Islands, U.S.",dial_code:"+1340",code:"VI",mask:"+1340(___) ___-__-__"},1441:{name:"Bermuda",dial_code:"+1441",code:"BM",mask:"+1441(___) __-__"},1473:{name:"Grenada",dial_code:"+1473",code:"GD",mask:"+1473(___) __-__"},1649:{name:"Turks and Caicos Islands",dial_code:"+1649",code:"TC",mask:"+1649(___) ___-__-__"},1664:{name:"Montserrat",dial_code:"+1664",code:"MS",mask:"+1664(___) ___-__-__"},1670:{name:"Northern Mariana Islands",dial_code:"+1670",code:"MP",mask:"+1670(___) ___-__-__"},1671:{name:"Guam",dial_code:"+1671",code:"GU",mask:"+1671(___) ___-__-__"},1684:{name:"American Samoa",dial_code:"+1684",code:"AS",mask:"+1684(___) ___-__-__"},1758:{name:"Saint Lucia",dial_code:"+1758",code:"LC",mask:"+1758(___) __-__"},1767:{name:"Dominica",dial_code:"+1767",code:"DM",mask:"+1767(___) __-__"},1784:{name:"Saint Vincent and the Grenadines",dial_code:"+1784",code:"VC",mask:"+1784(___) __-__"},1849:{name:"Dominican Republic",dial_code:"+1849",code:"DO",mask:"+1849(___) ___-__-__"},1868:{name:"Trinidad and Tobago",dial_code:"+1868",code:"TT",mask:"+1868(___) __-__"},1869:{name:"Saint Kitts and Nevis",dial_code:"+1869",code:"KN",mask:"+1869(___) __-__"},1876:{name:"Jamaica",dial_code:"+1876",code:"JM",mask:"+1876(___) __-__"},1939:{name:"Puerto Rico",dial_code:"+1939",code:"PR",mask:"+1939(___) ___-__-__"}};function Tt({value:e,onValue:t,onSave:n,name:r,placeholder:i="",title:o="",error:s="",hide:l=!1,edit:d=!0,active:_=!0,after:u="",show:p=!0,view:m,className:x=""}){d=d!==void 0?d:!0,_=_!==void 0?_:!0,l=!!(l&&(e===""||e===void 0))&&!(d&&_),f.useRef(null);let h="+_(___) ___-__-__",g=!0,y=0,C=(z,N)=>{let F=document.createRange(),Y=window.getSelection();F.setStart(N.childNodes[0],z),F.collapse(!0),Y.removeAllRanges(),Y.addRange(F),N.focus()},M=z=>{z.preventDefault(),navigator.clipboard.readText().then(N=>{window.document.execCommand("insertText",!1,N)}).catch(N=>{console.log("Something went wrong",N)})},B=z=>{let N=0,F="",Y=z.replace(/\D/g,"");Y===""&&(g=!0);let ae=Y.split(""),se="";ae.forEach(Ye=>{g&&(se+=Ye,Nt[se]!==void 0&&g?(g=!1,h=Nt[se].mask.replace(new RegExp("[0-9]","g"),"_"),F=Nt[se].code):(g&&(y=(""+se).length,h=`+${se}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),F=""),y>(""+se).length&&(g=!0,h=`+${se}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),F="")))});let ve=h.replace(/\D/g,"");return ve.length>=Y.length&&(Y=ve),{q:h.replace(/[_\d]/g,function(){return Y.charAt(N++)||"_"}),i:N,v:Y,f:F}},j=z=>{z.preventDefault(),navigator.clipboard.writeText(z.target.textContent.replace(/\D/g,"")).then(function(){Se.Copy("Данные в буфер обмене")},function(N){console.error("Async: Could not copy text: ",N)})},S=B(e),D=z=>{let N=B(z.target.textContent);z.target.textContent=N.q,N.i=N.q.lastIndexOf(N.v.substr(-1)),N.i<N.q.length&&N.q!==h?N.i++:N.i=N.q.indexOf("_"),C(N.i,z.target),t&&t({value:N.q.replace(/\D/g,""),name:r})},w=z=>{z.key==="Enter"&&z.preventDefault()};const O=z=>{le.Blur(z),n&&n({value:z.target.textContent.replace(/\D/g,""),name:r})},$={};$.field="input",x&&($.className=x);let W={};return d&&_?(W.edit="true",W.contentEditable="plaintext-only"):W.contentEditable="false",i&&(W.placeholder=i),u&&(W.after=u),l?a.jsx(a.Fragment,{}):a.jsxs("dl",{...$,children:[o&&a.jsx("dt",{children:o}),a.jsx("dd",{...W,onPaste:M,onInput:D,onKeyDown:w,onContextMenu:j,onBlur:O,suppressContentEditableWarning:!0,children:S.q}),s&&a.jsx("em",{children:s})]})}const Pn=e=>{let t=()=>e.title?a.jsx("dt",{children:e.title}):"",n=e.edit!==void 0?e.edit:!0,r=e.active!==void 0?e.active:!0,i=e.placeholder!==void 0?e.placeholder:"",o=0,s=()=>{clearTimeout(o),o=setTimeout(()=>console.log("rerrwere"),1e3)},l=u=>{u.key==="Enter"&&u.preventDefault()},d=u=>{u.preventDefault(),navigator.clipboard.readText().then(p=>{window.document.execCommand("insertText",!1,p)}).catch(p=>{console.log("Something went wrong",p)})};const _={};return i&&(_.placeholder=i),a.jsxs("dl",{"data-form":"input",children:[t(),a.jsx("dd",{onPaste:d,onInput:s,onKeyDown:l,contentEditable:n&&r?"plaintext-only":"false",..._,suppressContentEditableWarning:!0,children:e.value})]})};function Mt({title:e,error:t,edit:n=!0,active:r=!0,hide:i,value:o="0",onValue:s,options:l,placeholder:d="",className:_,name:u,after:p,view:m,order:x}){var j,S;const b=f.useRef();i=!!(i&&(o===""||((j=l[o])==null?void 0:j.n)===void 0))&&!(n&&r);let g=o!==void 0&&o!==""?(S=l[o])==null?void 0:S.n:o,y=D=>{var w;b.current.textContent=(w=l[D])==null?void 0:w.n,s&&s({value:D,name:u})},C=D=>{if(!(n&&r))return;const w=D.target.getBoundingClientRect();ge.setListener("form",a.jsx(Zo,{parent:w,onValue:y,view:m,className:_,options:l,order:x},new Date().getTime()))},M={field:"select",className:_},B={onClick:C};return d&&(B.placeholder=d),p&&(B.after=p),n&&r&&(B.edit=""),i?"":a.jsxs("dl",{...M,children:[e&&a.jsx("dt",{children:e}),a.jsx("dd",{...B,ref:b,children:g}),t&&a.jsx("em",{children:t})]})}const Zo=({onValue:e,parent:t,view:n,className:r,options:i,order:o})=>{let[s,l]=f.useState(!0),d=()=>{l(!1)},_=m=>{l(!1),e(m)},u=window.innerHeight-t.y+t.height<320?t.y-312:t.y+33,p=window.innerWidth-t.x<265?t.x-235:t.x;return a.jsx(a.Fragment,{children:s?a.jsxs(a.Fragment,{children:[a.jsx("div",{"data-select":"backdrop",onClick:d},new Date().getTime()),a.jsx("div",{className:r,"data-select":"background "+n,style:{top:u+"px",left:p+"px",width:t.width},children:a.jsx(Uo,{order:o,options:i,link:_})})]}):""})},Uo=({order:e,options:t,link:n})=>e?a.jsx("ul",{children:e.map((r,i)=>t[r].s===1?a.jsx("li",{onClick:()=>{n(r)},children:t[r].n},i):"")}):a.jsx("ul",{children:Object.keys(t).map((r,i)=>t[r].s===1?a.jsx("li",{onClick:()=>{n(r)},children:t[r].n},i):"")});function $t(e){let t=()=>e.title?a.jsx("dt",{children:e.title}):"",n=()=>e.error?a.jsx("em",{children:e.error}):"",r=e.edit!==void 0?e.edit:!0,i=e.active!==void 0?e.active:!0,s=!!(e.hide&&(e.default===""||e.options[e.default]===void 0))&&!(r&&i),l=e.placeholder!==void 0?e.placeholder:"",d=x=>{u(e.options[x]),e.onValue({value:x,name:e.name})},[_,u]=f.useState(e.default!==void 0?e.options[e.default]:e.default),p=x=>{if(!(r&&i))return;const b=x.target.getBoundingClientRect();ge.setListener("form",a.jsx(Wo,{parent:b,onValue:d,view:e.view,options:e.options},new Date().getTime()))};const m={};return l&&(m.placeholder=l),s?a.jsx(a.Fragment,{}):a.jsxs("dl",{"data-form":"select",children:[t(),a.jsx("dd",{onClick:p,"data-edit":(r&&i)+"",...m,children:_}),n()]})}const Wo=({onValue:e,parent:t,view:n,options:r})=>{let[i,o]=f.useState(!0),s=()=>{o(!1)},l=p=>{o(!1),e(p)},d=Object.keys(r).length*36,_=window.innerHeight-t.y+t.height<d?t.y-(d-33):t.y+33,u=window.innerWidth-t.x<265?t.x-235:t.x;return a.jsx(a.Fragment,{children:i?a.jsxs(a.Fragment,{children:[a.jsx("div",{"data-select":"backdrop",onClick:s},new Date().getTime()),a.jsx("div",{"data-select":"background "+n,style:{top:_+"px",left:u+"px",width:t.width},children:a.jsx("ul",{children:Object.keys(r).map((p,m)=>a.jsx("li",{onClick:()=>{l(p)},children:r[p]},m))})})]}):""})};function Lt({set:e,value:t,onValue:n,name:r,placeholder:i="",title:o="",error:s="",hide:l=!1,edit:d=!0,show:_=!0,active:u=!0,after:p="",view:m,module:x,item:b,className:h=""}){let g={};switch(e){case"Input":return a.jsx(Ke,{title:o,show:_,hide:l,view:m,edit:d,active:u,value:t,onValue:n,name:r,placeholder:i,className:h});case"Select":return b&&(g=te.getSelect(parseInt(b))?te.getSelect(parseInt(b)):{0:{s:"1",n:"не известно"}}),a.jsx(Mt,{title:o,show:_,hide:l,view:m,edit:d,active:u,value:t,onValue:n,name:r,placeholder:i,className:h,options:g});case"Users":return te.getSelect("user"),a.jsx($t,{title:o,show:_,hide:l,view:m,edit:d,active:u,value:t,onValue:n,name:r,placeholder:i,className:h,options:g});case"Date":return a.jsx(St,{title:o,show:_,hide:l,view:m,edit:d,active:u,value:t,onValue:n,name:r,placeholder:i,className:h});case"Phone":return a.jsx(Tt,{title:o,show:_,hide:l,view:m,edit:d,active:u,value:t,onValue:n,name:r,placeholder:i,className:h});case"Number":return a.jsx(It,{title:o,show:_,hide:l,view:m,edit:d,active:u,value:t,onValue:n,name:r,placeholder:i,className:h});case"Money":return a.jsx(Dt,{title:o,show:_,hide:l,view:m,edit:d,active:u,value:t,onValue:n,name:r,placeholder:i,className:h});case"Modal":return a.jsx(Et,{title:o,show:_,hide:l,view:m,edit:d,active:u,value:t,onValue:n,name:r||"",placeholder:i,className:h,options:g,module:x||""})}}function Rn({value:e,onValue:t,name:n,placeholder:r="",title:i="",error:o="",hide:s=!1,edit:l=!0,active:d=!0,after:_="",show:u=!0,view:p,onBlur:m,onSave:x,className:b=""}){let h=!!(s&&(e===""||e===void 0));if(!(l&&d)&&!u||!(l&&d)&&h)return"";let g=j=>{t&&t({value:j.target.innerText,name:n})},y=j=>{x&&x({value:j.target.innerText,name:n})},C=j=>{j.preventDefault(),navigator.clipboard.readText().then(S=>{window.document.execCommand("insertText",!1,S)}).catch(S=>{console.log("Something went wrong",S)})};const M={};M.field="text",b&&(M.className=b);const B={};return r&&(B.placeholder=r),a.jsxs("dl",{...M,children:[i&&a.jsx("dt",{children:i}),a.jsx("dd",{onPaste:C,onBlur:y,onInput:g,contentEditable:l&&d?"plaintext-only":"false",...B,suppressContentEditableWarning:!0,children:e}),o&&a.jsx("em",{children:o})]})}function An({value:e,onValue:t,name:n,placeholder:r="",title:i="",error:o="",hide:s=!1,edit:l=!0,active:d=!0,after:_="",show:u=!0,view:p,onBlur:m,onSave:x,className:b=""}){let h=!!(s&&(e===""||e===void 0)),g=K.Date(e===void 0?new Date:e,"HH:MM"),y=f.useRef(null);if(!(l&&d)&&!u||!(l&&d)&&h)return"";let C=D=>{y.current.textContent=D,t&&t({value:D,name:n})},M=D=>{x&&x({value:D,name:n})},B=D=>{const w=D.target.getBoundingClientRect(),O=w.left,$=w.top;ge.setListener("form",a.jsx(Ko,{positions:{x:O,y:$},onSave:M,onValue:C,date:g},new Date().getTime()))};const j={};j.field="input",b&&(j.className=b);const S={};return r&&(S.placeholder=r),a.jsx(a.Fragment,{children:p==="icon"?a.jsx("i",{"data-icon":"F043",onClick:B}):a.jsxs("dl",{...j,children:[i?a.jsx("dt",{children:i}):"",a.jsx("dd",{onClick:B,ref:y,...S,children:g}),o?a.jsx("em",{children:o}):""]})})}const Ko=({positions:e,onSave:t,onValue:n,date:r})=>{let i=r.split(":"),o={h:K.Number(2,i[0]),m:K.Number(2,i[1])},s="hour",[l,d]=f.useState({}),_=!1,u=0,p=0,m={body:f.useRef(null),time:f.useRef(null),hour:f.useRef(null),timeText:f.useRef(null),hourText:f.useRef(null)};f.useEffect(()=>{d(m.body.current.getBoundingClientRect()),m.hour.current.style.transform="rotate("+o.h*15+"deg)",m.time.current.style.transform="rotate("+o.m*6+"deg)"},[m.body,m.hour,m.time,o.m,o.h]);let x=()=>{_=!0},b=()=>{_=!1,s=s==="hour"?"time":"hour",m.body.current.setAttribute("active",s)},h=S=>{if(_){let w=Math.atan2(S.pageX-(l.x+78),S.pageY-(l.y+78))*(180/Math.PI)*-1+180;m[s].current.style.transform="rotate("+w+"deg)",s==="hour"?(o={...o,h:K.Number(2,parseInt(String(w/15),10))},m.hourText.current.textContent=o.h):(o={...o,m:K.Number(2,parseInt(String(w/6),10))},m.timeText.current.textContent=o.m),n(o.h+":"+o.m)}},g=S=>{if(s==="hour")if(S.deltaY>0){u+=S.deltaY;let D=parseInt(String(u/50));if(p!==D){p=D;let w=parseInt(o.h,10)+1;w=w>23?0:w,o={...o,h:K.Number(2,w)},m.hourText.current.textContent=o.h,m[s].current.style.transform="rotate("+o.h*15+"deg)"}}else{u-=S.deltaY;let D=parseInt(String(u/50));if(p!==D){p=D;let w=parseInt(o.h,10)-1;w=w<0?23:w,o={...o,h:K.Number(2,w)},m.hourText.current.textContent=o.h,m[s].current.style.transform="rotate("+o.h*15+"deg)"}}else if(S.deltaY>0){u+=S.deltaY;let D=parseInt(String(u/50));if(p!==D){p=D;let w=parseInt(o.m,10)+1;w=w>59?0:w,o={...o,m:K.Number(2,w)},m.timeText.current.textContent=o.m,m[s].current.style.transform="rotate("+o.m*6+"deg)"}}else{u-=S.deltaY;let D=parseInt(String(u/50));if(p!==D){p=D;let w=parseInt(o.m,10)-1;w=w<0?59:w,o={...o,m:K.Number(2,w)},m.timeText.current.textContent=o.m,m[s].current.style.transform="rotate("+o.m*6+"deg)"}}n(o.h+":"+o.m)},[y,C]=f.useState(!0),M=()=>{C(!1),t(o.h+":"+o.m)},B=window.innerHeight-e.y+33<320?e.y-312:e.y+33,j=window.innerWidth-e.x<265?e.x-235:e.x;return a.jsx(a.Fragment,{children:y?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:he.o,onClick:()=>M()},new Date().getTime()),a.jsxs("div",{className:he.c,onMouseDown:x,onMouseUp:b,onMouseMove:h,onWheel:g,ref:m.body,style:{top:B+"px",left:j+"px"},children:[a.jsx("div",{className:"b"}),a.jsxs("div",{className:"s",children:[a.jsx("span",{className:["hour",s==="hour"?he.as:he.ap].join(" "),ref:m.hourText,children:o.h})," ",":"," ",a.jsx("span",{className:["min",s==="time"?he.as:he.ap].join(" "),ref:m.timeText,children:o.m})]}),a.jsx("div",{className:"h",ref:m.hour}),a.jsx("div",{className:"t",ref:m.time})]})]}):""})};function On({onValue:e,label:t,value:n,title:r,className:i,name:o,text:s,id:l,reload:d}){const[_,u]=f.useState(!!n),p=t||r;f.useEffect(()=>{u(!!n)},[n]);let m=()=>{e&&e({value:_?0:1,name:o,id:l}),u(!_)};const x={};return x.field="check",i&&(x.className=i),a.jsxs("dl",{...x,children:[p?a.jsx("dt",{children:p}):"",a.jsxs("dd",{onClick:m,children:[a.jsx("span",{children:s}),a.jsx("div",{role:"switch","aria-checked":`${_?"true":"false"}`})]})]})}const Yo=({label:e,onValue:t,value:n,name:r,item:i})=>{const[o,s]=f.useState(!!n);f.useEffect(()=>{s(!!n)},[n]);let l=()=>{let d=parseInt(o)===0?1:0;s(d),t({value:d,name:r,key:i,item:i})};return a.jsx("div",{role:"switch",onClick:l,"aria-checked":`${o?"true":"false"}`})},zn=({onValue:e,value:t,name:n,item:r})=>{const[i,o]=f.useState(!!t);f.useEffect(()=>{o(!!t)},[t]);let s=()=>{let l=parseInt(i)===0?1:0;o(l),e({value:l,name:n,key:r,item:r})};return a.jsx("div",{role:"switch",onClick:s,"aria-checked":`${i?"true":"false"}`})};function Gn({value:e,onValue:t,name:n,placeholder:r="",title:i="",error:o="",hide:s=!1,edit:l=!0,active:d=!0,after:_="",show:u=!0,view:p,onSave:m,className:x="",separator:b=","}){const[h,g]=f.useState(e!==void 0?e.split(b):[]);f.useEffect(()=>{g(e!==void 0?e!==void 0?e.split(b):[]:[])},[e]);let y=()=>{g([...h,""])},C=O=>{h.splice(O,1),h.length===0&&h.push(""),g([...h]),m!==void 0&&m({value:h.join(b),name:n})},M=!!(s&&(e===""||e===void 0)),B=O=>{};if(!(l&&d)&&!u||!(l&&d)&&M)return"";const j={};j.field="group",x&&(j.className=x);const S=(O,$)=>{le.Blur(O),h[$]=O.target.textContent,m&&m({value:h.join(b),name:n})};let D=(O,$)=>{h[$]=O.target.textContent,t&&t({value:h.join(b),name:n})},w=O=>{O.key==="Enter"&&O.preventDefault()};return a.jsxs("dl",{...j,children:[a.jsxs("dt",{children:[i,a.jsx("i",{onClick:y,children:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[a.jsx("path",{d:"M12 5.25v13.5"}),a.jsx("path",{d:"M18.75 12H5.25"})]})})]}),a.jsx("dd",{children:h.map((O,$)=>a.jsxs("li",{className:"field_group_item",children:[a.jsx("span",{onInput:W=>D(W,$),edit:"true",name:n,placeholder:r,onPaste:B,contentEditable:l&&d?"plaintext-only":"false",onKeyDown:w,onBlur:W=>S(W,$),suppressContentEditableWarning:!0,children:h[$]}),a.jsx("i",{onClick:()=>{C($)},children:a.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[a.jsx("path",{d:"M17.25 17.25 6.75 6.75"}),a.jsx("path",{d:"m17.25 6.75-10.5 10.5"})]})})]},$))}),o&&a.jsx("em",{children:o})]})}const Ho=e=>(e=e!==void 0&&e!==""?e.split(","):[],e.reduce((t,n)=>(t[n]=!0,t),{}));function Zn({value:e,onValue:t,name:n,placeholder:r="",title:i,error:o,hide:s=!1,edit:l=!0,show:d=!0,active:_=!0,after:u="",view:p,modal:m,module:x,options:b,className:h}){const[g,y]=f.useState(Ho(e)),C=j=>{if(!(l&&_))return;if(!m)return console.error("modal - empty");let S=m.split(".");Ue.Open(S[0],S[1],{callback:D=>{t&&t({value:D,name:n}),y(D)},onValue:t,options:b,name:n,value:g})},M={};M.field="group",h&&(M.className=h);const B={};return r&&(B.placeholder=r),s?a.jsx(a.Fragment,{}):a.jsxs("dl",{...M,children:[a.jsxs("dt",{children:[i,a.jsx("i",{onClick:C,children:a.jsxs("svg",{width:"20",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[a.jsx("path",{d:"M12 5.25v13.5"}),a.jsx("path",{d:"M18.75 12H5.25"})]})})]}),a.jsx("dd",{...B,onClick:open,edit:(l&&_)+"","data-after":u,children:Object.keys(g).map(j=>{var S;return a.jsx("div",{className:"field_group_item",children:(S=b[j])==null?void 0:S.label},j)})}),o&&a.jsx("em",{children:o})]})}function Un({value:e,onValue:t,name:n,placeholder:r="",title:i="",link:o="",error:s="",hide:l=!1,edit:d=!0,active:_=!0,after:u="",show:p=!0,type:m,view:x,onBlur:b,onSave:h,className:g=""}){const y=f.useId();let C=!!(l&&(e===""||e===void 0)),[M,B]=f.useState(o);if(!(d&&_)&&!p||!(d&&_)&&C)return"";const j=async D=>{if(m){let w=Vo(D,m,e||"default");t==null||t({name:n,value:w}),B(URL.createObjectURL(w))}else t==null||t({name:n,value:D}),B(URL.createObjectURL(D))},S={};return S.field="file",g&&(S.className=g),a.jsxs("dl",{...S,children:[i&&a.jsxs("dt",{children:[i," "]}),a.jsxs(qo,{onFiles:j,children:[a.jsx("input",{id:y,type:"file",multiple:!0,onChange:D=>{D.target.files[0]&&j(D.target.files[0])}}),a.jsx("label",{htmlFor:y}),a.jsx("img",{src:M})]}),s&&a.jsx("em",{children:s})]})}const qo=({children:e,onFiles:t})=>{const n=f.useRef(null);return f.useEffect(()=>{if(n.preventDefaults)return;n.preventDefaults=i=>{i.preventDefault(),i.stopPropagation()},n.highlight=i=>{console.log(i)},n.unhighlight=i=>{console.log(i)},n.onHandleDrop=i=>{let l=i.dataTransfer.files[0];t&&t(l)};let r=n.current;["dragenter","dragover","dragleave","drop"].forEach(i=>{r.addEventListener(i,n.preventDefaults,!1),document.body.addEventListener(i,n.preventDefaults,!1)}),["dragenter","dragover"].forEach(i=>{r.addEventListener(i,n.highlight,!1)}),["dragleave","drop"].forEach(i=>{r.addEventListener(i,n.unhighlight,!1)}),r.addEventListener("drop",n.onHandleDrop,!1)},[]),a.jsx("dd",{ref:n,children:e})},Vo=(e,t,n)=>{var r=document.getElementsByTagName("body")[0],i=document.createElement("canvas");r.appendChild(i);const o=i.getContext("2d"),s=new Image;s.addEventListener("load",()=>{o.drawImage(s,0,0);const l=t==="png"?i.toDataURL():i.toDataURL(`image/${t}`),d=Jo(l,n);return i.remove(),d}),s.src=URL.createObjectURL(e)};function Jo(e,t){let n=e.split(","),r=n[0].match(/:(.*?);/)[1],i=atob(n[1]),o=i.length,s=new Uint8Array(o);for(;o--;)s[o]=i.charCodeAt(o);return new File([s],t,{type:r})}const ke={};function Xo(e){const[t,n]=f.useState({}),r=f.useRef(e);return ke.u=i=>{r.current={...r.current,[i.name]:i.value}},ke.n=i=>{r.current=i,n(Date.now())},ke.r=()=>{n(Date.now())},[r.current,ke.n]}function Qo(e){ke.u(e),e.reload&&ke.r()}function es(){ke.r&&ke.r()}const ts={Color:$n,Date:St,Mask:Un,Image:Un,Code:Mn,Check:On,Switch:En,Input:Ke,Button:Dn,Message:In,Generator:Nn,Captcha:Tn,Modal:Et,Money:Dt,Month:Ln,Notes:Bn,Number:It,Password:Fn,Phone:Tt,Search:Pn,Select:Mt,Set:Lt,Textarea:Rn,Time:An,Users:$t,String:Ke,Form:Lt,runReload:es,useData:Xo,setValue:Qo,Palette:Yo,Toogle:zn,Group:Gn,Options:Zn};function ns({value:e="",onValue:t,onSave:n,name:r,format:i="+_(___) ___-__-__",placeholder:o="",title:s="",error:l="",hide:d=!1,edit:_=!0,active:u=!0,after:p="",show:m=!0,view:x,className:b=""}){_=_!==void 0?_:!0,u=u!==void 0?u:!0,d=!!(d&&(e===""||e===void 0))&&!(_&&u),f.useRef(null);let g=i,y=!0,C=0,M=(N,F)=>{let Y=document.createRange(),ae=window.getSelection();Y.setStart(F.childNodes[0],N),Y.collapse(!0),ae.removeAllRanges(),ae.addRange(Y),F.focus()},B=N=>{N.preventDefault(),navigator.clipboard.readText().then(F=>{window.document.execCommand("insertText",!1,F)}).catch(F=>{console.log("Something went wrong",F)})},j=N=>{let F=0,Y="",ae=N.replace(/\D/g,"");ae===""&&(y=!0);let se=ae.split(""),ve="";se.forEach(it=>{y&&(ve+=it,y&&(C=(""+ve).length,g=i.replace(new RegExp("[0-9]","g"),"_"),Y=""),C>(""+ve).length&&(y=!0,g=i.replace(new RegExp("[0-9]","g"),"_"),Y=""))});let Me=g.replace(/\D/g,"");return Me.length>=ae.length&&(ae=Me),{q:g.replace(/[_\d]/g,function(){return ae.charAt(F++)||"_"}),i:F,v:ae,f:Y}},S=N=>{N.preventDefault(),navigator.clipboard.writeText(N.target.textContent.replace(/\D/g,"")).then(function(){Se.Copy("Данные в буфер обмене")},function(F){console.error("Async: Could not copy text: ",F)})},D=j(e),w=N=>{let F=j(N.target.textContent);N.target.textContent=F.q,F.i=F.q.lastIndexOf(F.v.substr(-1)),F.i<F.q.length&&F.q!==g?F.i++:F.i=F.q.indexOf("_"),M(F.i,N.target),t&&t({value:F.q.replace(/\D/g,""),name:r})},O=N=>{N.key==="Enter"&&N.preventDefault()};const $=N=>{le.Blur(N),n&&n({value:N.target.textContent.replace(/\D/g,""),name:r})},W={};W.field="input",b&&(W.className=b);let z={};return _&&u?(z.edit="true",z.contentEditable="plaintext-only"):z.contentEditable="false",o&&(z.placeholder=o),p&&(z.after=p),d?a.jsx(a.Fragment,{}):a.jsxs("dl",{...W,children:[s&&a.jsx("dt",{children:s}),a.jsx("dd",{...z,onPaste:B,onInput:w,onKeyDown:O,onContextMenu:S,onBlur:$,suppressContentEditableWarning:!0,children:D.q}),l&&a.jsx("em",{children:l})]})}const as={Color:$n,Date:St,Code:Mn,Check:On,Switch:En,Input:Ke,Button:Dn,Message:In,Generator:Nn,Captcha:Tn,Modal:Et,Money:Dt,Mask:ns,Month:Ln,Notes:Bn,Number:It,Password:Fn,Phone:Tt,Search:Pn,Select:Mt,Set:Lt,Textarea:Rn,Time:An,Users:$t,String:Ke,Toogle:zn,Group:Gn,Options:Zn},Wn={spinner:"_spinner_o487n_1",l:"_l_o487n_75",loadingB:"_loadingB_o487n_1"};function rs(){return a.jsx("div",{className:Wn.spinner,children:a.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 483 484",children:a.jsx("path",{d:"M264,492a22.2,22.2,0,0,0,22-22V411a22.2,22.2,0,0,0-22-22H236a22.2,22.2,0,0,0-22,22v59a22.2,22.2,0,0,0,22,22Zm74-134a23.9,23.9,0,0,0-6,16,20.35,20.35,0,0,0,6,15l42,42q7,7,16,7,10,0,16-7l20-20a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16l-42-42q-7-7-16-7-8,0-15,7ZM163,389a18.94,18.94,0,0,0,7-15q0-9-7-16l-20-20q-7-7-16-7-8,0-15,7L70,380q-7,7-7,16a18.94,18.94,0,0,0,7,15l20,20q7,7,16,7a18.94,18.94,0,0,0,15-7ZM112,237a22.2,22.2,0,0,0-22-22H31a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,9,237v28a21.17,21.17,0,0,0,6.5,15.5A21.17,21.17,0,0,0,31,287H90a22.2,22.2,0,0,0,22-22Zm358,50a22.2,22.2,0,0,0,22-22V237a22.2,22.2,0,0,0-22-22H411a22.2,22.2,0,0,0-22,22v28a22.2,22.2,0,0,0,22,22ZM163,142q7-7,7-15.5T163,111L121,69q-7-7-15-7-7,0-16,7L70,89q-7,7-7,16a18.94,18.94,0,0,0,7,15l42,42a18.94,18.94,0,0,0,15,7q10,0,16-7Zm269-22a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16L412,69q-7-7-16-7-7,0-16,7l-42,42q-7,8-7,16t7,15l21,20a18.94,18.94,0,0,0,15,7q10,0,16-7Zm-168-9a22.06,22.06,0,0,0,15.5-6q6.5-6,6.5-16V30a21.17,21.17,0,0,0-6.5-15.5A21.17,21.17,0,0,0,264,8H236a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,214,30V89q0,10,6.5,16a22.06,22.06,0,0,0,15.5,6Z",transform:"translate(-9 -8)"})})})}function is(){return a.jsxs("div",{className:Wn.l,children:[a.jsx("i",{}),a.jsx("i",{}),a.jsx("i",{})]})}const os={Spinner:rs,Inline:is},Kn={s:"_s_t9swc_1"};let Bt;function ss({className:e,placeholder:t}){let n=s=>{Bt(s.target.textContent)},r=s=>{s.key==="Enter"&&s.preventDefault()},i=s=>{s.preventDefault(),navigator.clipboard.readText().then(l=>{window.document.execCommand("insertText",!1,l)}).catch(l=>{console.log("Something went wrong",l)})};const o={};return t&&(o.placeholder=t),o.className=e?[Kn.s,e].join(" "):Kn.s,a.jsx("div",{onPaste:i,onInput:n,onKeyDown:r,contentEditable:"plaintext-only",...o,suppressContentEditableWarning:!0})}function ls(e,t,n){let r=[],i=1,o=0,s={},l=50;return s[i]=[],e.forEach(d=>{d.text.toLowerCase().indexOf(t)>-1&&r.push(d.id)}),r.forEach(d=>{o++,o<=l||(i++,o=1,s[i]=[]),s[i].push(n[d])}),s}function ds(e){Bt=e}function cs(e){Bt=e}const _s={Field:ss,Run:ls,Get:ds,useValue:cs},us={f:"_f_q3r0i_1"};let de={};function fs(e,t){switch(t.type){case"open":return{...e,open:t.open};case"view":return{...e,view:e.view===t.view?null:t.view};case"data":let n={};return Object.keys(t.data).forEach(i=>{i!=="sort"&&(n[i]=t.data[i],e.take[i]="999")}),{...e,data:n,take:e.take};case"size":return{...e,size:t.size};case"take":let r={[t.list]:t.take};r={...e.take,...r},e.active=!1;for(let i in r)r[i]!=="999"&&(e.active=!0);return de.get(r,e.active),{...e,take:r,active:e.active};case"exit":for(let i in e.take)e.take[i]="999";return de.get&&de.get([],!1),{...e,size:0,active:!1,take:e.take,open:!1};default:throw new Error}}function ms(){const[e,t]=f.useReducer(fs,{open:!1,view:null,data:{},take:{},size:0,active:!1});return de.set=n=>{t({type:"data",data:n})},de.count=n=>{t({type:"size",size:n})},de.reset=()=>{t({type:"exit"})},a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:us.f,onClick:()=>{t({type:"open",open:!0})},children:[a.jsx(ai,{}),e.active&&a.jsxs("i",{children:[e.size,"1"]})]}),e.open?a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"filter o",onClick:()=>{t({type:"open",open:!1})}}),a.jsxs("div",{className:"filter m",children:[a.jsx("div",{className:"filter l",children:Object.keys(e.data).map(n=>a.jsx(vs,{data:n,dispatch:t,state:e},n))}),a.jsx("div",{className:"filter b",onClick:()=>{t({type:"exit"})},children:"Убрать фильтер"})]})]}):a.jsx(a.Fragment,{})]})}function ps(e){de.get=e}function hs(e){de.set!==void 0&&de.set(e)}function xs(e){de.reset!==void 0&&de.reset(e)}function gs(e,t,n,r){let i=[],o=1,s=0,l={},d=50;return l[o]=[],r===!0&&(Object.keys(t).forEach(_=>{Number.parseInt(t[_])!==999&&(e=e.filter(u=>Number.parseInt(u[_])===Number.parseInt(t[_])))}),Yn(e.length)),e.forEach(_=>{i.push(_.id)}),i.forEach(_=>{s++,s<=d||(o++,s=1,l[o]=[]),l[o].push(n[_])}),l}function Yn(e){de.count(e)}function vs({data:e,state:t,dispatch:n}){let r=()=>{n({type:"view",view:e})},i=()=>{n({type:"take",list:e,take:"999"})};return a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"filter s",children:[a.jsxs("div",{onClick:r,children:[" ",t.data[e].name," "]}),t.take[e]!=="999"?a.jsx("div",{onClick:i,className:"filter x","data-icon":"F038"}):""]}),a.jsx("div",{className:"filter u","set-active":(t.view===e)+"",children:Object.keys(t.data[e].list).map((o,s)=>a.jsx(bs,{data:t.data[e].list[o],head:e,type:o,dispatch:n,state:t},s))})]})}function bs({data:e,head:t,state:n,dispatch:r,type:i}){if(i!=="999"&&e.count===void 0)return"";const o=()=>{r({type:"take",list:t,take:i})};return a.jsxs("div",{className:"filter a",onClick:o,"set-active":(n.take[t]===i)+"",children:[e.name,a.jsx("div",{className:"filter e",children:e.count})]})}const ys={Button:ms,useValue:ps,Set:hs,Run:gs,Count:Yn,Reset:xs},ws={Bell:ci,Send:si,Add:oi},Hn={p:"_p_djnh1_1",l:"_l_djnh1_38"};function ks(e){let t=3,n=e.page,r=e.count,i=[],o=()=>{i.push({page:1}),i.push({text:"..."})},s=()=>{i.push({text:"..."}),i.push({page:r})},l=(d,_)=>{for(let u=d;u<_;u++)i.push({page:u})};return r<t*2+6?l(1,r+1):n<t*2+1?(l(1,t*2+4),s()):n>r-t*2?(t=r>1e4?1:t,o(),l(r-t*2-2,r+1)):(t=r>1e4?1:t,o(),l(n-t,n+t+1),s()),i.length===1?a.jsx(a.Fragment,{}):a.jsxs("div",{className:Hn.p,children:[a.jsx("i",{onClick:()=>e.onChangePage(n-1),children:a.jsx("svg",{viewBox:"0 0 24 24",children:a.jsx("path",{d:"M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z"})})}),i.map((d,_)=>{console.log(d,e);const u={};return d.page&&(u.onClick=()=>e.onChangePage(d.page)),d.page===e.page&&(u.active=""),f.createElement("span",{...u,key:_},d.page||d.text)}),a.jsx("i",{onClick:()=>e.onChangePage(n+1),children:a.jsx("svg",{viewBox:"0 0 24 24",children:a.jsx("path",{d:"M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z"})})})]})}function Cs(e,t){switch(t.type){case"load":return{...e,load:t.load,wait:!1,data:t.data,list:t.data[e.page],size:Object.keys(t.data).length};case"page":return{...e,page:t.page,list:e.data[t.page]};default:throw new Error}}function qn({load:e,list:t,item:n}){const r=f.useRef(null),[i,o]=f.useReducer(Cs,{load:!1,list:[],data:{},page:1,wait:!1,item:n});console.log("load",e),f.useEffect(()=>{t!==null&&o({type:"load",load:e,data:t})},[e]);let s=l=>{if(l===0)return l=1;if(l>i.size)return l=i.size;o({type:"page",page:l})};return f.useEffect(()=>{},[i]),console.log(i),a.jsxs(a.Fragment,{children:[a.jsx("div",{className:Hn.l,ref:r,children:a.jsx(jn,{"el-empty":"Данные не найдены",children:i.load&&i.list!==void 0?i.list.map(l=>a.jsx(i.item,{data:l},l.id)):a.jsxs("div",{"type-data":"load",children:[a.jsx("i",{}),a.jsx("i",{}),a.jsx("i",{})]})})}),i.load&&i.list!==void 0?a.jsx(ks,{page:i.page,count:i.size,onChangePage:s}):a.jsx(a.Fragment,{})]})}const js={Pagination:qn};function Ss({head:e,load:t,list:n,item:r}){const i=e;return a.jsxs(a.Fragment,{children:[a.jsx(i,{}),tt.getSetting("s05")===1?a.jsx(qn,{list:n,load:t,item:r}):a.jsx(Sn,{list:n,load:t,item:r})]})}function Es(e,t){switch(t.type){case"load":return{...e,time:Date.now(),load:t.load,list:t.list,temp:t.temp};case"filter":return{...e,list:t.list,filter:t.active,band:t.band,time:Date.now()};case"search":return{...e,time:Date.now(),list:t.list};case"triage":return{...e,time:Date.now(),list:t.list,sort:t.sort};case"noload":return{...e,load:!0,time:Date.now()};default:throw new Error}}const Ft={};function Ds(e){Ft.get=e}function Is(e){Ft.get&&Ft.get(e)}const Ns={View:Ss,Reducer:Es,useValue:Ds,setValue:Is},Ts={addDictionary:Yi,getDictionary:Vi,setDictionary:qi,current:Ji},Ms={Get:pi},$s=function({title:e,children:t,imp:n,button:r,page:i,tabs:o,modules:s}){const[l]=Ne.useTabs(i),[d,_]=f.useState(!1);return f.useEffect(()=>{_(!0)},[]),a.jsxs(a.Fragment,{children:[a.jsxs("div",{className:"list-info",children:[a.jsx("h2",{children:e}),a.jsx("div",{className:"empty"}),a.jsx(Bs,{button:r})]}),d&&a.jsx(Ls,{imp:n,modules:s,t:l}),t]})};let Ls=({modules:e,t})=>{const n=f.lazy(()=>ft(e+"/pages/"+t+".tsx"));return a.jsx(f.Suspense,{fallback:"",children:a.jsx(n,{})})},Bs=({button:e})=>{const[t,n]=f.useState(e);return ge.useListener("button",n),a.jsxs(a.Fragment,{children:[" ",t]})};const Fs={Open:Gi};function Ps({active:e,onActive:t,id:n,name:r}){const[i,o]=f.useState(!!e);f.useEffect(()=>{o(!!e)},[e]);let s=()=>{let l=i?0:1;o(!i),t&&t({value:l,is:!i,name:r,id:n,setActive:o})};return a.jsx("div",{role:"switch",onClick:s,"aria-checked":`${i?"true":"false"}`})}T.Action=wn,T.Alert=bo,T.Animation=Ur,T.Api=pt,T.Badge=$o,T.Bookmarks=vo,T.Browser=lo,T.Button=_n,T.Company=Ms,T.Component=gt,T.DataBase=Fo,T.Event=ge,T.Events=ge,T.Files=Oo,T.Filter=ys,T.Form=ts,T.Format=K,T.HotKey=Po,T.Icon=wo,T.Init=bn,T.Input=as,T.Lang=Ts,T.List=Ns,T.Loading=os,T.Modal=Ue,T.Notice=Se,T.Notifications=ws,T.Pagination=js,T.Phone=Fs,T.Router=Ne,T.Scrolling=Sn,T.Search=_s,T.Setting=go,T.Sistym=Fe,T.Socket=me,T.Store=te,T.Switch=Ps,T.Tabs=yn,T.Test=$s,T.Triage=No,T.User=tt,T.WebRTC=U,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})});
|
|
31
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Zn.Fragment=i,Zn.jsx=lt,Zn.jsxs=st}()),Zn}process.env.NODE_ENV==="production"?zr.exports=es():zr.exports=ts();var c=zr.exports;function ns(t,r){r===void 0?(r=t,t=new Date):t=new Date(t);let o={yyyy:t.getFullYear(),yy:(""+t.getFullYear()).slice(-2),mm:("0"+(t.getMonth()+1)).slice(-2),dd:("0"+t.getDate()).slice(-2),HH:("0"+t.getHours()).slice(-2),MM:("0"+t.getMinutes()).slice(-2),SS:("0"+t.getSeconds()).slice(-2),__:" ",_:" "};for(const i in o)r=r.replace(i,o[i]);return r}function rs(t){let r=["Января","Февраля","Марта","Апреля","Мая","Июня","Июля","Августа","Сентября","Октября","Ноября","Декабря"],o=new Date(t);return{day:(""+o.getFullYear()).slice(-2)+""+("0"+(o.getMonth()+1)).slice(-2)+("0"+o.getDate()).slice(-2),name:o.getDate()+" "+r[o.getMonth()]}}const as=t=>{function r(W,H){var z,$,B;W=W??"",H=H??1;for(var z=[],B=0,$=W.length;B<$;)z.push(W.slice(B,B+=H));return z}function o(W,H){var z=[2,0,1,1,1,2];return H[W>4&&W<20?2:z[Math.min(W,5)]]}var i={null:"ноль",a1:["один","два","три","четыре","пять","шесть","семь","восемь","девять"],a2:["одна","две","три","четыре","пять","шесть","семь","восемь","девять"],a10:["десять","одиннадцать","двенадцать","тринадцать","четырнадцать","пятнадцать","шестнадцать","семнадцать","восемнадцать","девятнадцать"],a20:["двадцать","тридцать","сорок","пятьдесят","шестьдесят","семьдесят","восемьдесят","девяносто"],a100:["сто","двести","триста","четыреста","пятьсот","шестьсот","семьсот","восемьсот","девятьсот"],uc:["копейка","копейки","копеек"],ur:["рубль","рубля","рублей"],u3:["тысяча","тысячи","тысяч"],u2:["миллион","миллиона","миллионов"],u1:["миллиард","миллиарда","миллиардов"]},s,m,_,v,D,p,k,P,y,w,S,O;y=parseFloat(t).toFixed(2).split("."),p=y[0],v=y[1];var F=12-p.length;if(F<0)return!1;for(var P=[];F--;)P.push("0");p=P.join("")+p;var D=[];if(p>0){w=r(p,3);for(var I=-1;I<w.length;I++)if(k=w[I],k>0&&(S=r(k,1),s=parseInt(S[0]),m=parseInt(S[1]),_=parseInt(S[2]),D.push(i.a100[s-1]),O=I+1==3?"a2":"a1",m>1?D.push(i.a20[m-2]+(_>0?" "+i[O][_-1]:"")):D.push(m>0?i.a10[_]:i[O][_-1]),w.length>I+1)){var x=i["u"+(I+1)];D.push(o(k,x))}}else D.push(i.null);return D.push(o(p,i.ur)),D.push(v+" "+o(v,i.uc)),D.join(" ").replace(RegExp(" {2,}","g")," ").trimLeft()};function os(t){let r=-1,o=[" kB"," MB"," GB"," TB","PB","EB","ZB","YB"];do t=t/1024,r++;while(t>1024);return Math.max(t,.1).toFixed(1)+o[r]}function is(t){let r={};return r["application/atom+xml"]="atom",r["application/json"]="json",r["application/javascript"]="js",r["application/ogg"]="ogg",r["application/pdf"]="pdf",r["application/soap+xml"]="soap",r["application/font-woff"]="woff",r["application/xhtml+xml"]="xml",r["application/xml-dtd"]="dtd",r["application/xop+xml"]="xop",r["application/zip"]="zip",r["application/gzip"]="gzip",r["application/x-bittorrent"]="bittorrent",r["application/x-tex"]="tex",r["application/xml"]="xml",r["application/msword"]="doc",r["image/svg+xml"]="svg",r[t]}function ls(t,r,o,i){let s={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 _ in this.rules)for(var v in this.rules[_])for(var p=0,k=this.rules[_][v].length;p<k;p++)this.rules[_][v][p]=this.rule(this.rules[_][v][p])},rule:function(_){var v=_.match(/^\s*([fm]?)\s*(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s*$/);return v?{sex:v[1],test:v[2].split(","),mods:[v[3],v[4],v[5],v[6],v[7]]}:!1},word:function(_,v,p,k){if(k===this.gcaseNom)return _;if(_.match(/[-]/)){for(var y=_.split("-"),w=0,S=y.length;w<S;w++)y[w]=this.word(y[w],v,p,k);return y.join("-")}if(_.match(/^[А-ЯЁ]\.?$/i))return _;this.init();var O=this.rules[p];let F;return O.exceptions&&(F=this.pick(_,v,k,O.exceptions,!0),F)?F:(F=this.pick(_,v,k,O.suffixes,!1),F||_)},pick:function(_,v,p,k,y){let w=_.toLowerCase();for(var S=0,O=k.length;S<O;S++)if(this.ruleMatch(w,v,k[S],y))return this.applyMod(_,p,k[S]);return!1},ruleMatch:function(_,v,p,k){if(p.sex===this.sexM&&v===this.sexF||p.sex===this.sexF&&v!==this.sexF)return!1;for(var y=0,w=p.test.length;y<w;y++){var S=k?_:_.substr(Math.max(_.length-p.test[y].length,0));if(S===p.test[y])return!0}return!1},applyMod:function(_,v,p){let k;switch(v){case this.gcaseNom:k=".";break;case this.gcaseGen:k=p.mods[0];break;case this.gcaseDat:k=p.mods[1];break;case this.gcaseAcc:k=p.mods[2];break;case this.gcaseIns:k=p.mods[3];break;case this.gcasePos:k=p.mods[4];break}for(var y=0,w=k.length;y<w;y++){var S=k.substr(y,1);switch(S){case".":break;case"-":_=_.substr(0,_.length-1);break;default:_+=S}}return _},getSex:()=>{if(s.mn.length>2)switch(s.mn.substr(s.mn.length-2)){case"ич":return"m";case"на":return"f"}return""},fullName:_=>((s.fullNameSurnameLast?"":s.lastName(_)+" ")+s.firstName(_)+" "+s.middleName(_)+(s.fullNameSurnameLast?" "+s.lastName(_):"")).replace(/^ +| +$/g,""),lastName:_=>s.word(s.ln,s.sex,"lastName",_),firstName:_=>s.word(s.fn,s.sex,"firstName",_),middleName:_=>s.word(s.mn,s.sex,"middleName",_)};if(typeof r>"u"){var m=t.match(/^\s*(\S+)(\s+(\S+)(\s+(\S+))?)?\s*$/);if(!m)return"Cannot parse supplied name";m[5]&&m[3].match(/(ич|на)$/)&&!m[5].match(/(ич|на)$/)?(t=m[5],r=m[1],o=m[3],s.fullNameSurnameLast=!0):(t=m[1],r=m[3],o=m[5])}return s.ln=t,s.fn=r||"",s.mn=o||"",s.sex=i||s.getSex(),s}function ss(t){let r=t.split(" ");switch(r.length){case 2:return r[0]+" "+r[1].substring(0,1)+".";case 3:return r[0]+" "+r[1].substring(0,1)+"."+r[2].substring(0,1)+".";default:return t}}function cs(t){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:"Дек"}}[t]}function us(t,r){return r&&(t=Number(t)/r),parseFloat(t).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1 ")}function ds(t,r){let o=r+"";for(;o.length<t;)o="0"+o;return o}function fs(t,r,o){let i=r/t*o;return(typeof i!="number"||i===1/0)&&(i=0),parseFloat(i).toFixed(1)}function ps(t){return t.charAt(0).toUpperCase()+t.slice(1)}function ms(t,r){t=Math.abs(t)%100;let o=t%10;return t>10&&t<20?r[2]:o>1&&o<5?r[1]:o===1?r[0]:r[2]}function _s(t,r,o){return In(t,r)?In(t,r).n:o||""}function gs(t,r,o,i){return In(t,r)?In(t,r)[o]:i||""}function ys(t,r){return r&&(t=t===0?7:t),{1:{name:"Понедельник",names:"Понедельника",abc:"пн"},2:{name:"Вторник",names:"Вторника",abc:"вт"},3:{name:"Среда",names:"Среды",abc:"ср"},4:{name:"Четверг",names:"Четверга",abc:"чт"},5:{name:"Пятница",names:"Пятницы",abc:"пт"},6:{name:"Суббота",names:"Субботы",abc:"сб"},7:{name:"Воскресенье",names:"Воскресенья",abc:"вс"}}[t]}function vs(t,r){return t.reduce(function(o,i){let s=r instanceof Function?r(i):i[r];return o[s]!==void 0||(o[s]={}),o[s][i.id]=i,o},{})}function hs(t){return parseInt((Date.now()-new Date(t).getTime())/31536e6+"")+""}function bs(t){return typeof t!="string"?!1:!isNaN(Number(t))&&!isNaN(parseFloat(t))}function xs(t){var r="",o={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"e",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ь:"",ы:"y",ъ:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"E",Ж:"Zh",З:"Z",И:"I",Й:"Y",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"H",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sch",Ь:"",Ы:"Y",Ъ:"",Э:"E",Ю:"Yu",Я:"Ya"};for(let i=0;i<t.length;++i)o[t[i]]==null?r+=t[i]:r+=o[t[i]];return r}function ks(t,r,o=!1){return o?t.sort((i,s)=>s[r]-i[r]):t.sort((i,s)=>i[r]-s[r])}function ws(t,r){return t.reduce(function(o,i){let s=r instanceof Function?r(i):i[r];return o[s]!==void 0||(o[s]={}),o[s][i.id]=i,o},{})}function Ss(t,r,o=!1){return o?t.sort((i,s)=>new Date(s[r]).getTime()-new Date(i[r]).getTime()):t.sort((i,s)=>new Date(i[r]).getTime()-new Date(s[r]).getTime())}function Cs(t,r){return t.reduce((o,i)=>o+(i[r]||0),0)}function js(t,r,o,i=!1){return i?t.sort((s,m)=>o(m[r])-o(s[r])):t.sort((s,m)=>o(s[r])-o(m[r]))}const ft={Age:hs,ArraySort:ks,ArrayGroup:ws,ArraySortDate:Ss,ArraySortFunction:js,ArraySumma:Cs,Translit:xs,Date:ns,MoneyString:as,DateSort:rs,Size:os,TypeFiles:is,Cases:ls,Initials:ss,Month:cs,Money:us,Number:ds,Percent:fs,CapitalizeFirstLetter:ps,DeclensionWord:ms,Select:_s,SelectParams:gs,ObjectByArray:vs,isNumeric:bs,Week:ys},Rs={Counter:({before:t,from:r=0,to:o})=>{const i=N.useRef();return N.useEffect(()=>{i.n=0;let _=Math.round(1e3/(o/10)),v=setInterval(()=>{i.n=i.n+10,i.n>=o&&clearInterval(v);let p=t?t+" ":"";i.current.textContent=`${p}`+ft.Money(i.n)},_)},[r,o]),c.jsx("span",{ref:i})}},Es={notice:"_notice_9i5tr_2",error:"_error_9i5tr_9",success:"_success_9i5tr_12",remark:"_remark_9i5tr_15",copy:"_copy_9i5tr_18","show-notice":"_show-notice_9i5tr_1","hide-notice":"_hide-notice_9i5tr_1"};let Nn={};function Is(){let[t,r]=N.useState([]);return Nn.set=o=>{r([...t,o])},Nn.del=o=>{r(t.filter(i=>i.key!==o))},t.length===0?"":c.jsx("ul",{className:Es.notice,children:t.map(o=>o.item)})}function Wn({data:t}){let[r,o]=N.useState("show");N.useEffect(()=>{setTimeout(function(){o("hide")},1800),setTimeout(function(){Nn.del(t.key)},2500)},[t.key]);let i,s;switch(t.type){case"error":i=c.jsx(Fn.error,{}),s="Ошибка:";break;case"success":i=c.jsx(Fn.success,{}),s="Информация:";break;case"copy":i=c.jsx(Fn.success,{}),s="Копирование:";break;case"remark":i=c.jsx(Fn.success,{}),s="Подсказка:";break;default:i=c.jsx(Fn.success,{}),s="Предупреждение:";break}return c.jsxs("li",{className:"item "+t.type,"data-status":r,children:[i,c.jsx("b",{children:s}),c.jsx("p",{children:t.text})]})}function Ns(t){let r=Date.now(),o={key:r,...t};Nn.set({item:c.jsx(Wn,{data:o},r),key:r})}function Os(t){let r=Date.now(),o={key:r,text:t,type:"error"};Nn.set({item:c.jsx(Wn,{data:o},r),key:r})}function Ts(t){let r=Date.now(),o={key:r,text:t,type:"success"};Nn.set({item:c.jsx(Wn,{data:o},r),key:r})}function Ps(t){let r=Date.now(),o={key:r,text:t,type:"remark"};Nn.set({item:c.jsx(Wn,{data:o},r),key:r})}function Ds(t){let r=Date.now(),o={key:r,text:t,type:"copy"};Nn.set({item:c.jsx(Wn,{data:o},r),key:r})}const Fn={};Fn.error=()=>c.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[c.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"}),c.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"})]}),Fn.success=()=>c.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[c.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"}),c.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 Br={alerts:"_alerts_1pds5_1",menuAnimation:"_menuAnimation_1pds5_1",menuItemAnimation:"_menuItemAnimation_1pds5_1","--body":"_--body_1pds5_103",allert:"_allert_1pds5_111","--form":"_--form_1pds5_111",al:"_al_1pds5_1"};let Xn={};function Fs(){let[t,r]=N.useState("");return Xn.set=o=>r(o),Xn.del=()=>r(""),c.jsx(c.Fragment,{children:t})}const Ls=({data:t,callback:r,cancel:o})=>(t.button=t.button===void 0?"Подтвердить":t.button,c.jsxs("div",{className:Br.alerts,children:[c.jsxs("dl",{children:[c.jsx("dt",{children:t.title}),c.jsx("dd",{children:t.text}),c.jsx("ul",{children:c.jsx("button",{"data-color":t.color||"blue",onClick:()=>{r(),Xn.del()},children:t.button})})]}),c.jsx("div",{className:Br["--body"],onClick:()=>{o==null||o(),Xn.del()}})]}));function Gs(t,r,o){Xn.set(c.jsx(Ls,{data:t,callback:r,cancel:o}))}const Ln={Send:Ns,Error:Os,Remark:Ps,Success:Ts,Copy:Ds},Gn={Path:yl,setPage:ol,getPage:La,usePage:al,isPage:il,setModule:sl,getModule:Ga,useModule:ll,isModule:cl,setTabs:dl,getTabs:pr,useTabs:ul,isTabs:fl,useId:pl,setId:_l,subId:ml,getId:Ya,isId:gl};function Ys(){return c.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[c.jsx("path",{d:"M5.15837 11.491C5.08489 12.887 5.16936 14.373 3.92213 15.3084C3.34164 15.7438 3 16.427 3 17.1527C3 18.1508 3.7818 19 4.8 19H19.2C20.2182 19 21 18.1508 21 17.1527C21 16.427 20.6584 15.7438 20.0779 15.3084C18.8306 14.373 18.9151 12.887 18.8416 11.491C18.6501 7.85223 15.6438 5 12 5C8.35617 5 5.34988 7.85222 5.15837 11.491Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),c.jsx("path",{d:"M10.5 3.125C10.5 3.95343 11.1716 5 12 5C12.8284 5 13.5 3.95343 13.5 3.125C13.5 2.29657 12.8284 2 12 2C11.1716 2 10.5 2.29657 10.5 3.125Z",stroke:"currentColor",strokeWidth:"1",fill:"none"}),c.jsx("path",{d:"M15 19C15 20.6569 13.6569 22 12 22C10.3431 22 9 20.6569 9 19",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})}function Ms(){return c.jsxs("svg",{viewBox:"0 0 24 24",fill:"none",children:[c.jsx("path",{d:"M4.4094 11.4516C4.62188 7.41446 7.95728 4.25 12 4.25C16.0427 4.25 19.3781 7.41446 19.5906 11.4516C19.5997 11.6241 19.6064 11.7893 19.6129 11.9485C19.6351 12.49 19.6544 12.9615 19.7525 13.4133C19.8698 13.9531 20.0867 14.3775 20.5279 14.7084C21.2972 15.2854 21.75 16.191 21.75 17.1527C21.75 18.534 20.6628 19.75 19.2 19.75H4.8C3.33719 19.75 2.25 18.534 2.25 17.1527C2.25 16.191 2.70278 15.2854 3.47213 14.7084C3.91329 14.3775 4.13025 13.9531 4.24749 13.4133C4.34561 12.9615 4.3649 12.49 4.38705 11.9485V11.9485L4.38705 11.9485C4.39356 11.7893 4.40032 11.6241 4.4094 11.4516Z",fill:"#141B34"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5286 1.37434C10.9737 1.08296 11.517 1 12 1C12.483 1 13.0263 1.08296 13.4714 1.37434C13.9652 1.69759 14.25 2.22083 14.25 2.875C14.25 3.47116 14.017 4.09375 13.6626 4.57057C13.3138 5.03989 12.7415 5.5 12 5.5C11.2585 5.5 10.6862 5.03989 10.3374 4.57057C9.98299 4.09375 9.75 3.47116 9.75 2.875C9.75 2.22083 10.0348 1.69759 10.5286 1.37434Z",fill:"#141B34"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 18C9.55228 18 10 18.4477 10 19C10 20.1046 10.8954 21 12 21C13.1046 21 14 20.1046 14 19C14 18.4477 14.4477 18 15 18C15.5523 18 16 18.4477 16 19C16 21.2091 14.2091 23 12 23C9.79086 23 8 21.2091 8 19C8 18.4477 8.44772 18 9 18Z",fill:"#141B34"})]})}function As(){return c.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:c.jsx("path",{d:"M8.85746 12.5061C6.36901 10.6456 4.59564 8.59915 3.62734 7.44867C3.3276 7.09253 3.22938 6.8319 3.17033 6.3728C2.96811 4.8008 2.86701 4.0148 3.32795 3.5074C3.7889 3 4.60404 3 6.23433 3H17.7657C19.396 3 20.2111 3 20.672 3.5074C21.133 4.0148 21.0319 4.8008 20.8297 6.37281C20.7706 6.83191 20.6724 7.09254 20.3726 7.44867C19.403 8.60062 17.6261 10.6507 15.1326 12.5135C14.907 12.6821 14.7583 12.9567 14.7307 13.2614C14.4837 15.992 14.2559 17.4876 14.1141 18.2442C13.8853 19.4657 12.1532 20.2006 11.226 20.8563C10.6741 21.2466 10.0043 20.782 9.93278 20.1778C9.79643 19.0261 9.53961 16.6864 9.25927 13.2614C9.23409 12.9539 9.08486 12.6761 8.85746 12.5061Z",stroke:"currentColor",strokeWidth:"1",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})}const zs={n:"_n_euuvm_1"};let Hn={},Kn=[];const Bs=(t,r)=>{switch(r.type){case"open":return{...t,open:r.open};case"view":return{...t,view:t.view===r.view?null:r.view};case"add":return{...t,news:[...t.news,r.data],active:!0};case"news":return{...t,news:r.data,active:r.data.length!==0};case"hide":let o=t.news.filter(s=>s.id!==r.id);return{...t,news:o,active:o.length!==0};case"size":return{...t,size:r.size};case"take":let i={[r.list]:r.take};i={...t.take,...i},t.active=!1;for(let s in i)i[s]!=="999"&&(t.active=!0);return Hn.get(i,t.active),{...t,take:i,active:t.active};case"exit":return t;default:throw new Error}};function $s(t){Hn.fn({action:"add",data:t})}function Us(t){Hn.fn({action:"add",data:t})}function Zs(t){Hn.fn({action:"new",data:t})}function Ws(t){Hn.fn=t}function Xs(){const[t,r]=N.useReducer(Bs,{open:!1,active:!1,news:[],take:{}});Qt.useListener("bell",async i=>{}),Ws(async i=>{switch(i.action){case"add":Kn.push(i.data);break}}),N.useEffect(()=>{(async()=>{let i=await Qt.Send({type:"module",module:"M00",query:"x0054",array:["M01","M02"]});for(let s in i)switch(s){case"news":r({type:"news",data:i.news});break;case"M01":i[s].forEach(m=>{Kn.push({module:"M01",type:1,id:m.id,datetime:new Date(m.tDate).getTime(),txt:m.p01})});break;case"M02":i[s].forEach(m=>{Kn.push({module:"M02",type:117,id:m.id,datetime:new Date(m.tDate).getTime(),txt:m.p01})});break}})(),setInterval(()=>{Kn.forEach((i,s)=>{r({type:"add",data:{module:i.module,type:i.type,id:i.id,datetime:i.datetime,txt:i.title}}),i.datetime<new Date().getTime()&&Kn.splice(s,1)})},6e4)},[]);let o=async i=>{r({type:"hide",id:i.id})};return c.jsxs(c.Fragment,{children:[c.jsx("div",{className:zs.n,onClick:()=>{r({type:"open",open:!0})},children:t.active?c.jsx(Ms,{}):c.jsx(Ys,{})}),t.open?c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"notify-o",onClick:()=>{r({type:"open",open:!1})}}),c.jsxs("div",{className:"notify-m",children:[c.jsx("div",{className:"notify-l",children:t.news.map((i,s)=>c.jsx(Hs,{data:i,dispatch:r},s))}),c.jsx("div",{className:"notify-b",onClick:o,children:"История"})]})]}):""]})}const Hs=({data:t,dispatch:r})=>{let o=async i=>{r({type:"hide",id:i.id}),await Qt.Send({type:"module",module:"M00",query:"x0055",data:{id:i.id,type:i.type,db:i.db}})};return c.jsxs("div",{className:"notify-i",children:[c.jsx("div",{className:"--icon","data-icon":t.type}),c.jsxs("div",{className:"--body",children:[c.jsx("div",{className:"--name",children:t.type}),c.jsx("div",{className:"--text",children:t.txt})]}),c.jsx("div",{className:"--hide","data-icon":"F038",onClick:()=>o(t),children:" "})]})},Ks="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2xldCBhPVtdLHM9bnVsbDtvbmNvbm5lY3Q9ZnVuY3Rpb24obCl7dmFyIHQ9bC5zb3VyY2U7YS5wdXNoKHQpO2NvbnN0IG49ZT0+e3MhPT1udWxsJiZzLnJlYWR5U3RhdGU9PT0xP3Muc2VuZChKU09OLnN0cmluZ2lmeShlKSk6dC5wb3N0TWVzc2FnZSh7dHlwZToibm9TZW5kIn0pfTtsZXQgcj1lPT57aWYocyE9PW51bGwmJnMucmVhZHlTdGF0ZT09PTEpcmV0dXJuIHQucG9zdE1lc3NhZ2Uoe3R5cGU6InRydWUifSk7ZS5say5hZGRyZXNzPT09ImxvY2FsaG9zdCI/cz1uZXcgV2ViU29ja2V0KGB3czovL2xvY2FsaG9zdDoke2UubGsuc29ja2V0KzF9YCk6cz1uZXcgV2ViU29ja2V0KCJ3c3M6Ly8iK2UubGsuYWRkcmVzcysiOiIrKGUubGsuc29ja2V0KzEpKSxzLm9uZXJyb3I9KCk9PnQucG9zdE1lc3NhZ2Uoe3R5cGU6ImVycm9yIn0pLHMub25vcGVuPSgpPT57bih7dHlwZToiY29ubmVjdCIsdWtleTplLnVrZXl9KX0scy5vbm1lc3NhZ2U9bz0+e2xldCBjPUpTT04ucGFyc2Uoby5kYXRhKTthLmZvckVhY2goZD0+e2QucG9zdE1lc3NhZ2UoYyl9KX0scy5vbmNsb3NlPSgpPT50LnBvc3RNZXNzYWdlKHt0eXBlOiJjbG9zZWQifSl9O3Qub25tZXNzYWdlPWZ1bmN0aW9uKGUpe3N3aXRjaChlLmRhdGEudHlwZSl7Y2FzZSJsZW5ndGgiOnJldHVybiB0LnBvc3RNZXNzYWdlKGEubGVuZ3RoKTtjYXNlImFsbCI6cmV0dXJuIGEuZm9yRWFjaChvPT5vLnBvc3RNZXNzYWdlKHthbGw6YS5sZW5ndGh9KSk7Y2FzZSJzZW5kIjpyZXR1cm4gbihlLmRhdGEuanNvbik7Y2FzZSJjb25uZWN0IjpyZXR1cm4gcihlLmRhdGEpO2RlZmF1bHQ6dC5wb3N0TWVzc2FnZSh7dHlwZToiZGVmYXVsdCIsZGF0YTplLmRhdGEuanNvbn0pfX19fSkoKTsK";function Vs(t){return new SharedWorker("data:text/javascript;base64,"+Ks,{name:t==null?void 0:t.name})}function Js(t){let r={},o={};t.data.forEach(s=>{r[s.id]={s:s.v,n:s.a},o[s.id]=s});let i={...In(),901:r};za(o),zn(i)}function qs(){let t=Ba(),r={};return Object.keys(t).forEach(o=>{r[t[o].id]={},r[t[o].id].name=t[o].a}),r}let Vt={},zt={},_r=["filter","online","users","company","select","setting","info","job"];function Qs(){const[t,r]=N.useState(!1),[o,i]=N.useState(!1);function s(m){const _=new Vs;Vt.laodData=v=>{let p=_r.indexOf(v);p>=0&&_r.splice(p,1),_r.length===0&&r(!0)},Vt.send=v=>{_.port.postMessage({type:"send",json:v})},_.port.onmessage=v=>{let p=v.data;p.type==="error"&&i(!0),p.type==="true"&&r(!0),p.type==="closed"&&_.port.postMessage({type:"connect",ukey:m,lk:Gr()}),_r.length!==0&&Vt.laodData(p.type),zt[p.type]&&zt[p.type](p)},_.port.postMessage({type:"connect",ukey:m,lk:Gr()})}return[s,t,o]}zt.module=t=>{Vt[t.listen]!==void 0&&(Vt[t.listen](t),delete Vt[t.listen])},zt.bell=Zs,zt.company=Js,zt.info=t=>{let r={};r.db=t.db,r.id=t.data.id,r.job=t.data.job,r.login=t.data.login,r.name=t.data.p02,r.patronymic=t.data.p03,r.surname=t.data.p01,r.email=t.data.email,r.admin=t.data.menu.includes("99"),$a(r),Ma(t.data.menu)},zt.version=async t=>{Bn.version.Server(t.data)},zt.online=async t=>{},zt.offline=async t=>{},zt.chat=t=>{switch(t.data.action){case"new_message":Gn.getModule();break;case"view_message":Gn.getModule();break;case"write_message":Gn.getModule();break}},zt.users=t=>{let r={};t.data.forEach(i=>{let s=i.p01+" "+i.p02+" "+i.p03,m=i.p01+" "+i.p02.substring(0,1)+"."+i.p03.substring(0,1)+".",_=i.p01.substring(0,1)+""+i.p02.substring(0,1)+i.p03.substring(0,1);r[i.id]={id:i.id,admin:i.m.includes("99"),ava:JSON.parse(i.a),job:i.j,login:"",online:{time:i.o,status:0},sts:i.s,nameFull:s,name:m,number:_}});let o={...In(),user:r};zn(o)},zt.api=t=>{let r={};t.data.forEach(o=>{r[o.api]={key:o.key,p01:o.p01,p02:o.p02}})},zt.delete=()=>{Zt()},zt.select=t=>{let r={...In()};t.data.forEach(o=>{r[o.n]=JSON.parse(o.s)}),zn(r)},zt.job=t=>{let r={...In()},o={};Object.keys(t.data).forEach(i=>{o[i]={s:1,n:t.data[i]}}),r[1]=o,zn(r)},zt.setting=t=>{vl(t.data)},zt.app=()=>{};const ec=(t,r)=>{Vt[t]=r},tc=(t,r)=>{Vt[t](r)};function nc(t){let r="_"+String(Math.random()).substring(2,7);return new Promise(o=>{Vt[r]=i=>{i.error!==void 0?o({error:i.error}):o(i.data),delete Vt[r]},t={...t,listen:r},t.type="modules",Vt.send(t)})}const Qt={useConnect:Qs,useListener:ec,setListener:tc,Send:nc};function rc({children:t}){return c.jsx("div",{className:"l",children:c.jsx("ul",{children:t})})}const Wt={white:"_white_swayt_14",black:"_black_swayt_26",shake:"_shake_swayt_1",modal:"_modal_swayt_73",o:"_o_swayt_83",w:"_w_swayt_14",h:"_h_swayt_107",l:"_l_swayt_121",t:"_t_swayt_159",m:"_m_swayt_73",x:"_x_swayt_167",s:"_s_swayt_177",c:"_c_swayt_182",f:"_f_swayt_187",g:"_g_swayt_230","size-a":"_size-a_swayt_279","size-s":"_size-s_swayt_283","size-m":"_size-m_swayt_287","size-l":"_size-l_swayt_291","size-x":"_size-x_swayt_295","size-f":"_size-f_swayt_299",active:"_active_swayt_348",coincidence:"_coincidence_swayt_354",sa:"_sa_swayt_390",ss:"_ss_swayt_394",sm:"_sm_swayt_398",sl:"_sl_swayt_402",sx:"_sx_swayt_406",sf:"_sf_swayt_410",btn:"_btn_swayt_416"};function ac({children:t}){return c.jsx("div",{className:Wt.s,children:t})}function oc({children:t,className:r}){let o={};return r&&(o.className=r),c.jsx("div",{"data-form":"outline",className:[Wt.f,o.className].join(" "),children:c.jsx("ul",{children:t})})}function ic({children:t}){return c.jsx("div",{className:Wt.c,children:t})}const gr={btn:"_btn_1d6a6_6",confirm:"_confirm_1d6a6_20",cancel:"_cancel_1d6a6_25",disabled:"_disabled_1d6a6_30",await:"_await_1d6a6_37",m:"_m_1d6a6_44",l:"_l_1d6a6_48"};function Ja({onClick:t,onSend:r,size:o="m",view:i="confirm",mode:s="primary",className:m,label:_,onRef:v}){let[p,k]=N.useState(!1);const y=w=>{if(t)return t();p||(r?(k(!0),r(k)):w.preventDefault())};return c.jsx("button",{ref:v,className:[gr.btn,p?gr.disabled:gr[i],o&&gr[o],m].join(" "),onClick:y,children:p?"Ожидайте":_})}let yr={};function lc(){let[t,r]=N.useState([]);return yr.x=o=>{o||r([])},yr.add=o=>{r([...t,o])},c.jsx(c.Fragment,{children:t.map(o=>o)})}function sc({title:t,children:r,button:o,tabs:i,size:s="m",menu:m}){const[_,v]=N.useState(!0),p=N.useRef(),k=w=>{if(o){if(o.onClick)return w(!1),o.onClick({setOpen:v});if(o.onSend)return o.onSend({setOpen:v,disabled:w})}},y=()=>{p.current.setAttribute("shake",!0),setTimeout(()=>{p.current.setAttribute("shake",!1)},1e3)};return c.jsx(c.Fragment,{children:_?c.jsxs("div",{className:`${Wt.modal} ${Wt.white}`,children:[c.jsx("div",{className:Wt.o,onClick:y}),c.jsxs("div",{className:[Wt.w,Wt[`s${s}`]].join(" "),ref:p,children:[c.jsxs("div",{className:Wt.h,children:[c.jsx("div",{className:Wt.t,children:t}),c.jsxs("div",{className:Wt.m,children:[i&&c.jsx("nav",{children:i.map((w,S)=>c.jsx("span",{onClick:w.onClick,className:w.active?"active":"",children:w.name},S))}),m]}),c.jsx("div",{className:Wt.x,onClick:()=>{v(!1)},children:c.jsx("svg",{viewBox:"0 0 24 24",fill:"none",children:c.jsx("path",{d:"M19.0005 4.99988L5.00045 18.9999M5.00045 4.99988L19.0005 18.9999",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]}),r,o!==void 0?c.jsx(Ja,{label:o.label,onSend:k,className:Wt.btn}):""]})]}):""})}function cc(t){yr.add(c.jsx(uc,{children:t},String(Date.now())))}function uc({children:t}){return c.jsx(c.Fragment,{children:t})}function dc(t){if(t.target.classList[0]!=="modal")return;let r=t.target.children[0];r.setAttribute("shake",!0),setTimeout(()=>{r.setAttribute("shake",!1)},1e3)}function fc({type:t,name:r,params:o}){let[i,s]=N.useState(null);return N.useEffect(()=>{mr(`${t}/modal/${r}.tsx`).then(m=>{s(m.default.Icon(o))})},[o.id]),c.jsx(c.Fragment,{children:i})}function pc(t,r,o){mr(`${t}/modal/${r}.tsx`).then(i=>{i.default.Open(o)})}function mc(t){yr.x(t)}const Vn={List:rc,Scroll:ac,Main:sc,Add:cc,Icon:fc,Open:pc,Shake:dc,Form:oc,Center:ic,Close:mc};function qa({text:t,type:r,button:o}){let[i,s]=N.useState(!1),m={active:r};const _=()=>{if(o){if(o.onClick)return o.onClick({});if(o.onSend)return i?void 0:(s(!0),o.onSend(s))}};return c.jsxs("div",{className:Br.al,...m,children:[c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",fillRule:"evenodd",clipRule:"evenodd",children:c.jsx("path",{fill:"#fff",d:"M10.362 2.015C11.4264 1.66167 12.5736 1.66167 13.638 2.015C14.6981 2.36687 15.5304 3.20141 16.3665 4.37395C17.1999 5.5426 18.1208 7.17206 19.3078 9.2725L19.3544 9.35496C20.5417 11.4557 21.4625 13.0851 22.0364 14.4065C22.613 15.7343 22.9002 16.8807 22.6711 17.9821C22.4403 19.0911 21.8714 20.0995 21.0428 20.8617C20.2162 21.622 19.0907 21.9428 17.6736 22.0968C16.2645 22.25 14.4212 22.25 12.0488 22.25H11.9513C9.57882 22.25 7.73554 22.25 6.32642 22.0968C4.90927 21.9428 3.78379 21.622 2.95722 20.8617C2.12862 20.0995 1.55968 19.0911 1.32895 17.9821C1.0998 16.8807 1.387 15.7343 1.96365 14.4065C2.53752 13.0851 3.45835 11.4557 4.64558 9.35495L4.69218 9.2725L4.69218 9.27249C5.87921 7.17206 6.80008 5.5426 7.63347 4.37395C8.46963 3.20141 9.30194 2.36687 10.362 2.015ZM11 17C11 16.4477 11.4457 16 11.9955 16H12.0045C12.5543 16 13 16.4477 13 17C13 17.5523 12.5543 18 12.0045 18H11.9955C11.4457 18 11 17.5523 11 17ZM11 13C11 13.5523 11.4477 14 12 14C12.5523 14 13 13.5523 13 13V9C13 8.44772 12.5523 8 12 8C11.4477 8 11 8.44772 11 9V13Z"})}),c.jsx("span",{children:t}),o&&c.jsx("button",{onClick:_,children:o.label})]})}const Ut={h:"_h_1usnu_1",g:"_g_1usnu_11",hr:"_hr_1usnu_16",hl:"_hl_1usnu_28",t:"_t_1usnu_40",s:"_s_1usnu_60",u:"_u_1usnu_69",o:"_o_1usnu_76",l:"_l_1usnu_105",hh:"_hh_1usnu_115",c:"_c_1usnu_128",loadingB:"_loadingB_1usnu_1",m:"_m_1usnu_180",ul:"_ul_1usnu_196",f:"_f_1usnu_226"},Qa=({title:t,left:r,right:o,children:i})=>c.jsxs("div",{className:Ut.h,children:[c.jsx("div",{className:Ut.t,children:t}),r&&c.jsx("div",{className:Ut.hl,children:r}),o&&c.jsx("div",{className:Ut.hr,children:o}),i]}),eo=({children:t,...r})=>c.jsx("div",{className:Ut.l,children:t}),to=({children:t})=>c.jsx("div",{className:Ut.s,children:t}),no=({children:t,edit:r})=>{const o={};return r&&(o.edit=""),c.jsx("div",{...o,className:Ut.f,children:t})};function ro({children:t}){return c.jsx("div",{className:Ut.g,children:t})}const $r={Header:Qa,Section:to,Group:ro,Form:no,List:eo,A:qa,U:({children:t})=>c.jsx("div",{className:Ut.u,children:t}),G:ro,C:({children:t})=>c.jsx("div",{className:Ut.c,children:t}),L:eo,O:({children:t,className:r,title:o})=>c.jsxs("div",{className:[Ut.o,r].join(" "),children:[o&&c.jsx("div",{className:Ut.hh,children:o}),t]}),S:to,H:Qa,M:({children:t})=>c.jsx("div",{className:Ut.m,children:t}),F:no},_c=(t,r)=>{switch(r.type){case"load":return{...t,list:r.list.reverse(),load:!1};case"id":return{...t,id:r.id};case"add":return{...t,list:[r.data,...t.list]};case"update":return{...t,list:t.list.map(o=>o.id===r.data.id?Object.assign({},o,{[r.data.name]:r.data.value}):o),temp:t.temp.map(o=>o.id===r.data.id?Object.assign({},o,{[r.data.name]:r.data.value}):o)};case"view":return{...t,view:t.view==="card"?"item":"card"};case"revers":return{...t,list:[...t.list.reverse()],temp:[...t.temp.reverse()],revers:!t.revers};case"delete":return{...t,list:t.list.filter(o=>o.id!==r.id)};case"edit":return{...t,list:t.list.map(o=>o.id===r.j.item?Object.assign({},o,{[r.j.name]:r.j.value}):o)};default:return t}},gc=()=>({load:!0,list:[],name:"Файлы",add:!1,search:!1,revers:!0}),yc=()=>{let[t,r]=N.useState([]);return c.jsx(c.Fragment,{children:t.length!==0?c.jsxs("div",{className:"upload view",children:[c.jsxs("div",{className:"--head",children:[c.jsx("b",{children:"Загрузки"}),c.jsx("i",{className:"x",onClick:()=>r([]),"data-icon":"F038"})]}),c.jsx("div",{className:"--list",children:t.map(o=>o)})]}):""})},vc=({id:t,name:r,listen:o,dir:i})=>{r=r||"Файлы";const[s,m]=N.useReducer(_c,{},gc),_=()=>{Vn.Add(c.jsx(hc,{dir:i,dispatch:m,id:t},new Date().getTime()))};return N.useEffect(()=>{(async()=>{let v=await Qt.Send({type:"module",module:"M09",query:"x0900",data:{dir:i,id:t}});m({type:"load",list:v})})()},[t,i]),c.jsxs($r.O,{children:[" ",c.jsx($r.H,{title:r,right:c.jsx("i",{className:"f025","data-icon":"C005 25 pointer","data-color":"_b5b9cc :506290",onClick:_}),left:c.jsx("i",{className:"f025","data-icon":"E009 25","data-color":"_2196f3"})}),c.jsx("ul",{"data-empty":"Файлов нет",className:"files_list",children:s.load?c.jsxs("div",{"type-load":"load",children:[c.jsx("i",{}),c.jsx("i",{}),c.jsx("i",{})]}):s.list.length===0?c.jsx(c.Fragment,{}):s.list.map((v,p)=>c.jsx(bc,{dispatch:m,data:v},p))})]})},hc=({id:t,dir:r,dispatch:o})=>{let[i,s]=N.useState(!0),m=N.useRef(null),_=k=>{k.preventDefault(),k.stopPropagation()},v=k=>{},p=k=>{};return N.useEffect(()=>{let k=m.current;["dragenter","dragover","dragleave","drop"].forEach(y=>{k.addEventListener(y,_,!1),document.body.addEventListener(y,_,!1)}),["dragenter","dragover"].forEach(y=>{k.addEventListener(y,v,!1)}),["dragleave","drop"].forEach(y=>{k.addEventListener(y,p,!1)})},[]),c.jsx(c.Fragment,{children:i?c.jsx(c.Fragment,{children:c.jsx("div",{className:"modal o ",onClick:Vn.Shake,children:c.jsxs("div",{className:"b",children:[c.jsx("div",{className:"h",children:"Загрузка файлов"}),c.jsx("div",{className:"x","data-icon":"F038",onClick:()=>{s(!1)}}),c.jsxs("div",{className:"upload",ref:m,children:[c.jsx("input",{type:"file",id:"fileElem",name:"files",multiple:!0}),c.jsx("dd",{}),c.jsx("i",{"data-icon":"F061"})]})]})},new Date().getTime())}):""})},bc=({data:t,dispatch:r})=>{let o=async()=>{let m=await(await fetch(Ar.url().files+"/yandex/data/"+t.id,{headers:{"Content-type":"application/json;charset=utf-8",SSID:$t.getSSID()||""}})).blob();if(m.size!==2){let _=new Blob([m],{type:m.type});_=URL.createObjectURL(_);let v=document.createElement("a");v.setAttribute("href",_),v.setAttribute("download",t.name),v.click()}},i=async()=>{(await(await fetch(Ar.url().files+"/yandex/delete/"+t.id,{headers:{"Content-type":"application/json;charset=utf-8",SSID:$t.getSSID()||""}})).json()).status==="success"&&(r({type:"delete",id:t.id}),Ln.Send({type:"success",text:"Файл успешно удалён"}))};return c.jsxs("li",{children:[c.jsx("div",{className:"f035",children:ft.TypeFiles(t.type)}),c.jsx("div",{className:"f100",children:ft.Date(t.uDate,"dd.mm.yy")}),c.jsx("div",{className:"f000",children:t.name}),c.jsxs("div",{className:"f050 flex button",children:[c.jsx("i",{className:"f025","data-icon":"F060 35 pointer","data-color":"_b5b9cc :4CAF50",onClick:o}),c.jsx("i",{className:"f025","data-icon":"F048 35 pointer","data-color":"_b5b9cc :FF9800",onClick:i})]}),c.jsx("div",{className:"f080",children:ft.Size(t.size)})]})},vr={setSetting:hl,getSetting:bl};let jt={};jt.list=Il(),jt.active=null;const xc=()=>{var s;let[t,r]=N.useState([]),[o,i]=N.useState(vr.getSetting("s03"));return N.useEffect(()=>{(async()=>{let m=Object.keys(jt.list);if(m.length!==0){let _=[];m.forEach((v,p)=>{_.push({item:c.jsx(Ur,{data:jt.list[v]},jt.list[v].id),link:jt.list[v].link})}),r(_)}})()},[]),jt.active=m=>{var _;i(m),(_=document.querySelector("app-body"))==null||_.setAttribute("bookmarks",m===1?"bottom":"")},jt.set=m=>{r([...t,{item:c.jsx(Ur,{data:m},m.id),link:m.link}])},jt.del=m=>{t.forEach((_,v)=>{_.link===m&&t.splice(v,1)}),r([...t])},(s=document.querySelector("app-body"))==null||s.setAttribute("bookmarks",o===1&&t.length!==0?"bottom":""),o!==0?c.jsx(c.Fragment,{children:t.length!==0?c.jsx("div",{className:"bookmarks",children:t.map(m=>m.item)}):""}):""},kc=({id:t,type:r,name:o})=>{let i=r+"-"+t,[s,m]=N.useState(jt.list[i]!==void 0);N.useEffect(()=>{m(jt.list[i]!==void 0)},[i]);let _=()=>{jt.list[i]!==void 0?(jt.del(i),delete jt.list[i],Ua(jt.list),m(!1),Ln.Send({type:"success",text:"Запись удален из закладок"})):(jt.list[i]={id:t,name:o,type:r,link:i},jt.set(jt.list[i]),Ua(jt.list),m(!0),Ln.Send({type:"success",text:"Запись добавлен в закладки"}))};return c.jsx(c.Fragment,{children:vr.getSetting("s03")!==0?c.jsx("i",{"data-icon":"C018","data-color":s?"_F44333 :F44333":"_b5b9cc :F44333",onClick:_}):""})},Ur=({data:t})=>{let r=i=>{i.preventDefault(),delete jt.list[t.link],jt.del(t.link)},o=()=>{Gn.setId(t.id)};return c.jsx("span",{onContextMenu:r,onClick:o,children:t.name})},wc=t=>{jt.active(t)},dt={},Zr={},te={};te.config={iceServers:[{url:"stun:stun.l.google.com:19302"}]},te.constraints={optional:[{DtlsSrtpKeyAgreement:!0}]},te.other=[],te.users={},te.asset=0,te.remoute=!1,te.stream=null,te.user=0,te.connect=!1,te.offer=null,te.btnRefuse=null,te.time=!1;let Yn;Yn=document.createElement("audio"),Yn.setAttribute("autoplay","true"),Yn.setAttribute("muted","true"),dt.start=async t=>{te.rtc=new RTCPeerConnection(te.config),te.other=[],te.remoute=!1,te.rtc.onicecandidate=o=>{o.candidate&&te.other.push(o.candidate)},te.rtc.ontrack=o=>{if(o.streams&&o.streams[0])Yn.srcObject=o.streams[0];else{let i=new MediaStream(o.track);Yn.srcObject=i}};const r=await navigator.mediaDevices.getUserMedia({video:!1,audio:{echoCancellation:!1,autoGainControl:!0}});r.getTracks().forEach(o=>{te.rtc.addTrack(o,r)}),te.rtc.onconnectionstatechange=()=>{te.rtc.connectionState},te.rtc.ontrack=async o=>{if(o.streams&&o.streams[0])Yn.srcObject=o.streams[0];else{let i=new MediaStream(o.track);Yn.srcObject=i}},te.rtc.onaddstream=o=>{},te.rtc.onnegotiationneeded=o=>{},te.rtc.oniceconnectionstatechange=o=>{},te.rtc.onsignalingstatechange=o=>{},te.rtc.onicegatheringstatechange=o=>{},te.rtc.onicecandidateerror=o=>{},te.rtc.ondatachannel=o=>{},te.rtc.onerror=o=>{},t()},dt.useListener=t=>{Zr.rtc=t},dt.setListener=t=>{Zr.rtc&&Zr.rtc(t)},dt.callTo=async t=>{dt.start(async()=>{const r=await te.rtc.createOffer();await te.rtc.setLocalDescription(r),te.uid=t,Qt.Send({type:"module",module:"M00",query:"x0050",data:{type:"offer",offer:btoa(JSON.stringify(r)),user:te.uid}})})},dt.callIn=async t=>{te.asset=t.id,te.offer=t.offer,te.uid=t.id},dt.callRise=async()=>{dt.start(async()=>{te.rtc.setRemoteDescription(new RTCSessionDescription(JSON.parse(atob(te.offer))));const t=await te.rtc.createAnswer();await te.rtc.setLocalDescription(t),Qt.Send({type:"module",module:"M00",query:"x0050",data:{type:"answer",answer:btoa(JSON.stringify(t)),user:te.uid}})})},dt.callOk=async t=>{te.asset=t.id;const r=new RTCSessionDescription(JSON.parse(atob(t.answer)));await te.rtc.setRemoteDescription(r),Qt.Send({type:"module",module:"M00",query:"x0050",data:{type:"IceCandidate",candidate:JSON.parse(JSON.stringify(te.other)),user:te.uid,send:!0}})},dt.IceCandidate=async t=>{t.candidate.forEach(r=>{te.rtc.addIceCandidate(new RTCIceCandidate(r))}),t.send&&Qt.Send({type:"module",module:"M00",query:"x0050",data:{type:"IceCandidate",candidate:JSON.parse(JSON.stringify(te.other)),user:te.uid,send:!1}})},dt.callFrom=async()=>{},dt.callNo=()=>{te.asset=0,te.time=!1,te.rtc&&te.rtc.close(),dt.setListener({type:"state",data:"closed"})},dt.callOf=()=>{te.asset=0,te.time=!1,te.rtc.close()},dt.callRefuser=async()=>{Qt.Send({type:"module",module:"M00",query:"x0050",data:{type:"callRefuser",user:te.uid}}),te.asset=0,te.time=!1,te.rtc&&te.rtc.close()},dt.Run=async t=>{dt[t.data.type]&&dt[t.data.type](t.data)};let Jn={};function Sc(){let[t,r]=N.useState([]),o=N.useRef(null);return N.useEffect(()=>{},[]),Jn.set=i=>{r([...t,i])},Jn.del=()=>{r([])},Jn.audio=(i,s)=>{o.current.volume=.5,o.current.loop=s,o.current.src="/audio/"+i,o.current.muted=!1},c.jsxs(c.Fragment,{children:[t.map(i=>i.item),c.jsx("audio",{id:"audio",ref:o,autoPlay:!0,muted:!0})]})}function Cc(t,r){let o=new Date().getTime();Jn.set({item:c.jsx(jc,{type:r,id:t},o),key:o})}function jc({id:t,type:r}){const[o,i]=N.useState({}),[s,m]=N.useState(r);N.useEffect(()=>{i($t.getSelect("user")[t])},[]),dt.useListener(p=>{switch(p.type){case"state":m(p.data)}});const _=()=>{switch(s){case"out":return c.jsx("span",{onClick:()=>{dt.callTo(o.id),m("call")},children:c.jsx("svg",{className:"green",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"M 27.9999 51.9062 C 41.0546 51.9062 51.9063 41.0547 51.9063 28.0000 C 51.9063 14.9219 41.0312 4.0938 27.9765 4.0938 C 14.8983 4.0938 4.0937 14.9219 4.0937 28.0000 C 4.0937 41.0547 14.9218 51.9062 27.9999 51.9062 Z M 21.8827 33.8360 C 16.0702 28.0469 12.3671 20.6640 16.7499 16.2813 C 17.0077 16.0234 17.2890 15.7656 17.5468 15.5078 C 18.8827 14.2422 20.1718 14.3125 21.3202 15.9297 L 24.3671 20.2656 C 25.3983 21.7656 25.1405 22.6094 24.0390 23.7813 L 23.0780 24.8360 C 22.7265 25.1640 22.8671 25.6094 23.0312 25.8906 C 23.4765 26.7344 24.7421 28.2344 26.1014 29.5938 C 27.5077 31.0000 28.9374 32.1953 29.8280 32.6875 C 30.1562 32.875 30.6249 32.9219 30.9296 32.6406 L 31.9374 31.6797 C 33.0624 30.5781 33.9765 30.2969 35.4296 31.3281 C 37.4452 32.7578 38.6640 33.6016 39.8593 34.4219 C 41.3358 35.5000 41.6874 36.8360 40.1874 38.1953 C 39.9296 38.4531 39.6952 38.7344 39.4374 38.9922 C 35.0546 43.3516 27.6952 39.6484 21.8827 33.8360 Z"})})});case"in":return c.jsxs(c.Fragment,{children:[c.jsx("span",{onClick:v,children:c.jsx("svg",{className:"red",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"M 27.9999 51.9063 C 41.0546 51.9063 51.9063 41.0781 51.9063 28 C 51.9063 14.9453 41.0312 4.0937 27.9765 4.0937 C 14.8983 4.0937 4.0937 14.9453 4.0937 28 C 4.0937 41.0781 14.9218 51.9063 27.9999 51.9063 Z M 19.5858 38.4063 C 18.4843 38.4063 17.5936 37.5156 17.5936 36.4141 C 17.5936 35.8750 17.8280 35.4063 18.2030 35.0547 L 25.1874 28.0234 L 18.2030 20.9922 C 17.8280 20.6641 17.5936 20.1719 17.5936 19.6328 C 17.5936 18.5547 18.4843 17.6875 19.5858 17.6875 C 20.1249 17.6875 20.5936 17.8984 20.9452 18.2734 L 27.9765 25.2812 L 35.0546 18.25 C 35.4530 17.8281 35.8749 17.6406 36.3905 17.6406 C 37.4921 17.6406 38.3827 18.5312 38.3827 19.6094 C 38.3827 20.1484 38.1952 20.5937 37.7968 20.9688 L 30.7655 28.0234 L 37.7733 35.0078 C 38.1249 35.3828 38.3593 35.8516 38.3593 36.4141 C 38.3593 37.5156 37.4687 38.4063 36.3671 38.4063 C 35.8046 38.4063 35.3358 38.1719 34.9843 37.8203 L 27.9765 30.7890 L 20.9921 37.8203 C 20.6405 38.1953 20.1249 38.4063 19.5858 38.4063 Z"})})}),c.jsx("span",{onClick:dt.callRise,children:c.jsx("svg",{className:"green",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"M 27.9999 51.9062 C 41.0546 51.9062 51.9063 41.0547 51.9063 28.0000 C 51.9063 14.9219 41.0312 4.0938 27.9765 4.0938 C 14.8983 4.0938 4.0937 14.9219 4.0937 28.0000 C 4.0937 41.0547 14.9218 51.9062 27.9999 51.9062 Z M 21.8827 33.8360 C 16.0702 28.0469 12.3671 20.6640 16.7499 16.2813 C 17.0077 16.0234 17.2890 15.7656 17.5468 15.5078 C 18.8827 14.2422 20.1718 14.3125 21.3202 15.9297 L 24.3671 20.2656 C 25.3983 21.7656 25.1405 22.6094 24.0390 23.7813 L 23.0780 24.8360 C 22.7265 25.1640 22.8671 25.6094 23.0312 25.8906 C 23.4765 26.7344 24.7421 28.2344 26.1014 29.5938 C 27.5077 31.0000 28.9374 32.1953 29.8280 32.6875 C 30.1562 32.875 30.6249 32.9219 30.9296 32.6406 L 31.9374 31.6797 C 33.0624 30.5781 33.9765 30.2969 35.4296 31.3281 C 37.4452 32.7578 38.6640 33.6016 39.8593 34.4219 C 41.3358 35.5000 41.6874 36.8360 40.1874 38.1953 C 39.9296 38.4531 39.6952 38.7344 39.4374 38.9922 C 35.0546 43.3516 27.6952 39.6484 21.8827 33.8360 Z"})})})]});case"call":return c.jsx("span",{onClick:()=>dt.callNo(o.id),children:c.jsx("svg",{className:"red",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"M 27.9999 51.9063 C 41.0546 51.9063 51.9063 41.0781 51.9063 28 C 51.9063 14.9453 41.0312 4.0937 27.9765 4.0937 C 14.8983 4.0937 4.0937 14.9453 4.0937 28 C 4.0937 41.0781 14.9218 51.9063 27.9999 51.9063 Z M 19.5858 38.4063 C 18.4843 38.4063 17.5936 37.5156 17.5936 36.4141 C 17.5936 35.8750 17.8280 35.4063 18.2030 35.0547 L 25.1874 28.0234 L 18.2030 20.9922 C 17.8280 20.6641 17.5936 20.1719 17.5936 19.6328 C 17.5936 18.5547 18.4843 17.6875 19.5858 17.6875 C 20.1249 17.6875 20.5936 17.8984 20.9452 18.2734 L 27.9765 25.2812 L 35.0546 18.25 C 35.4530 17.8281 35.8749 17.6406 36.3905 17.6406 C 37.4921 17.6406 38.3827 18.5312 38.3827 19.6094 C 38.3827 20.1484 38.1952 20.5937 37.7968 20.9688 L 30.7655 28.0234 L 37.7733 35.0078 C 38.1249 35.3828 38.3593 35.8516 38.3593 36.4141 C 38.3593 37.5156 37.4687 38.4063 36.3671 38.4063 C 35.8046 38.4063 35.3358 38.1719 34.9843 37.8203 L 27.9765 30.7890 L 20.9921 37.8203 C 20.6405 38.1953 20.1249 38.4063 19.5858 38.4063 Z"})})});case"closed":return c.jsx("span",{onClick:()=>{dt.callTo(o.id),m("call")},children:c.jsx("svg",{className:"green",width:"50px",height:"50px",viewBox:"0 0 56 56",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"M 27.9999 51.9062 C 41.0546 51.9062 51.9063 41.0547 51.9063 28.0000 C 51.9063 14.9219 41.0312 4.0938 27.9765 4.0938 C 14.8983 4.0938 4.0937 14.9219 4.0937 28.0000 C 4.0937 41.0547 14.9218 51.9062 27.9999 51.9062 Z M 21.8827 33.8360 C 16.0702 28.0469 12.3671 20.6640 16.7499 16.2813 C 17.0077 16.0234 17.2890 15.7656 17.5468 15.5078 C 18.8827 14.2422 20.1718 14.3125 21.3202 15.9297 L 24.3671 20.2656 C 25.3983 21.7656 25.1405 22.6094 24.0390 23.7813 L 23.0780 24.8360 C 22.7265 25.1640 22.8671 25.6094 23.0312 25.8906 C 23.4765 26.7344 24.7421 28.2344 26.1014 29.5938 C 27.5077 31.0000 28.9374 32.1953 29.8280 32.6875 C 30.1562 32.875 30.6249 32.9219 30.9296 32.6406 L 31.9374 31.6797 C 33.0624 30.5781 33.9765 30.2969 35.4296 31.3281 C 37.4452 32.7578 38.6640 33.6016 39.8593 34.4219 C 41.3358 35.5000 41.6874 36.8360 40.1874 38.1953 C 39.9296 38.4531 39.6952 38.7344 39.4374 38.9922 C 35.0546 43.3516 27.6952 39.6484 21.8827 33.8360 Z"})})})}},v=()=>{dt.callRefuser(o.id),Jn.del()};return c.jsx("div",{className:"web-phone white",children:c.jsxs("div",{className:"w",children:[c.jsx("div",{className:"x","data-icon":"F038",onClick:v}),c.jsx("div",{className:"a"}),c.jsx("div",{className:"n",children:o.name}),c.jsx("div",{className:"b",children:_()})]})})}const Wr={};function Rc(t){Wr.add(t)}function Ec({color:t,size:r,name:o}){return c.jsx("svg",{width:r,height:r,color:t,children:c.jsx("use",{href:`#${o}`})})}function Ic(){let[t,r]=N.useState([]);if(Wr.x=()=>{r([])},Wr.add=i=>{r(i)},t.length===0)return"";const o={sprite:""};return c.jsx("svg",{...o,xmlns:"http://www.w3.org/2000/svg",children:t.map((i,s)=>c.jsx("symbol",{id:i.name,viewBox:"0 0 24 24",fillRule:"evenodd",clipRule:"evenodd",children:c.jsx(i.path,{})},s))})}let hr={},ao={};const Nc=t=>{ao=t},oo=N.createContext(localStorage.getItem("lang")||navigator.language),Oc=({children:t})=>{const[r,o]=N.useState(localStorage.getItem("lang")||navigator.language);return hr.update=o,c.jsx(oo.Provider,{value:ao[r],children:t})},Tc=t=>{var r;localStorage.setItem("lang",t),(r=hr.update)==null||r.call(hr,t)},Pc=()=>N.useContext(oo),Dc=()=>localStorage.getItem("lang")||navigator.language,Xr={};function Fc(t,r){Xr[t]=r}function Lc(t,r){Xr[t]!==void 0&&Xr[t](r)}const On={};function Gc(t,r){const[o,i]=N.useState(r);return N.useEffect(()=>{if(On[t])return On[t].push(i);On[t]=[i]},[]),[o]}function Yc(t,r){if(On[t])return On[t].push(r);On[t]=[r]}function Mc(t,r){On[t]&&On[t].forEach(o=>o(r))}const Jt={setListener:Lc,useListener:Fc,setEmitter:Mc,useEmitter:Gc,subEmitter:Yc};function Ac(){let[t,r]=N.useState([]);return Jt.useListener("form",o=>{r([o])}),c.jsx(c.Fragment,{children:t.map(o=>o)})}const io=({children:t,lang:r})=>Ji(c.jsxs(Oc,{children:[c.jsx(lc,{}),c.jsx(Is,{}),c.jsx(Fs,{}),c.jsx(yc,{}),c.jsx(Ic,{}),c.jsx(Ac,{}),c.jsx(Sc,{}),c.jsx(xc,{}),t]})),zc=({children:t,...r})=>c.jsx("menu",{children:t}),Bc=({children:t,...r})=>c.jsxs("header",{children:["xz",t]}),$c={payment:"_payment_1lxfv_1"};function Uc(){let[t,r]=N.useState({});return!t.active&&!t.payment?"":c.jsx("div",{className:$c.payment,children:"Истек срок оплаты! Доступ доступен до 16.04.2024"})}const Zc=({children:t,...r})=>c.jsxs("div",{className:"app",children:[c.jsx(Uc,{}),c.jsx(zc,{}),c.jsx(Bc,{}),c.jsx(io,{}),t]}),Wc=({list:t,onClick:r,active:o,size:i,view:s})=>c.jsx("nav",{children:c.jsx("ul",{className:[i,s].join(" "),children:t.map(m=>c.jsx(Xc,{onClick:r,active:o,label:m.label,link:m.link},m.link))})}),Xc=({onClick:t,label:r,link:o,active:i})=>c.jsx("li",{"tabs-active":String(i===o),onClick:()=>t(o),children:r});let Hr={enCode:t=>t,deCode:t=>t};const Hc=t=>{Hr=t},Kc=t=>Hr.enCode(t),Vc=t=>Hr.deCode(t),pt={enCode:Kc,deCode:Vc,New:Hc},be={},Bt={},lo={},en={};let Jc="M06";function qc(){return Jc}function tn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function Qc(t){t=t.split("/"),be.page="Main",be.module=t[0],be.tab=t[1],be.id=0,sessionStorage.setItem("f",pt.enCode({module:be.module,page:be.page,tab:be.tab,id:be.id,time:new Date().getTime()})),Bt.page(be.page)}function eu(t){return localStorage.setItem("d",t)}function tu(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function nu(t){return localStorage.setItem("a",t)}function ru(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function au(t){localStorage.setItem("p",pt.enCode(t))}function ou(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=pt.deCode(t);return r||tn(),r}else return tn(),!1}function iu(){const[t,r]=N.useState(so()),o=i=>{r(i)};return Bt.page=o,[t]}function lu(t,r=!0){be.page=t,sessionStorage.setItem("f",pt.enCode(be)),r&&Bt.page(t)}function so(){return be.page}function su(t){return be.page===t}function cu(t){if(typeof t!="function"){const[r,o]=N.useState(t||co()),i=s=>{o(s)};return Bt.module=i,[r]}else Bt.module=t}function uu(t,r=!0){be.module=t,sessionStorage.setItem("f",pt.enCode(be)),r&&Bt.module(t)}function co(){return be.module}function du(t){return be.module===t}function fu(t){if(typeof t!="function"){const[r,o]=N.useState(t||br());return Bt.tabs=o,[r]}else Bt.tabs=t}function pu(t,r=!0){if(be.tab=t,sessionStorage.setItem("f",pt.enCode(be)),!!r)if(Bt.tabs)Bt.tabs(t);else throw new Error("useTabs not found")}function br(){return be.tab}function mu(t){return be.tab===t}function _u(t){if(typeof t!="function"){const[r,o]=N.useState(t||uo()),i=s=>{o(s)};return Bt.id=i,[r]}else Bt.id=t}function gu(t){Bt.id=t}function yu(t,r=!0){be.id=t,sessionStorage.setItem("f",pt.enCode(be)),r&&Bt.id(t)}function uo(){return be.id}function vu(t){return Number(be.id)===t}function hu(t,r,o){be.module=t,be.id=o,be.tab=r,sessionStorage.setItem("f",pt.enCode(be)),Bt.module(t),Bt.tabs(r)}function bu(t){localStorage.setItem("m",pt.enCode({data:t}))}function xu(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=pt.deCode(r);o||tn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return tn(),!1}function ku(t){Bt.sort=t}function wu(t){let r=localStorage.getItem("b");r=r===null?{}:pt.deCode(r),r[br()]=t,localStorage.setItem("b",pt.enCode(r))}function Su(){let t=localStorage.getItem("b");return t===null?{}:(t=pt.deCode(t),t=t[br()],t=t===void 0?{active:1,sort:"<"}:t,t)}function Cu(t){localStorage.setItem("c",pt.enCode(t))}function ju(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=pt.deCode(i);return s||tn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return tn(),!1}function Ru(t){en.data=t,localStorage.setItem("q",pt.enCode(en.data))}function Eu(t,r){en.data={...en.data,[t]:r},localStorage.setItem("q",pt.enCode(en.data))}function Iu(t,r){if(!en.data){let o=localStorage.getItem("q");o&&(en.data=pt.deCode(o))}return t===void 0&&r===void 0?en.data:t!==void 0&&r===void 0?en.data[t]:en.data[t][r]}function Nu(t){lo.data=t}function Ou(t){return lo.data[t]}function Tu(t){be.payment=t}function Pu(){return be.payment}function Du(t){localStorage.setItem("u",pt.enCode(t))}function Fu(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=pt.deCode(t);return r||tn(),r}else return tn(),!1}function Lu(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=pt.deCode(t);return r||tn(),r}catch{return{}}else return{}}function Gu(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=pt.deCode(i);if(!s)return;be[o]={is:!0,time:s.time,data:s.data}}catch{be[o]={is:!1,time:0,data:{}}}else be[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function Yu(t){return be[t]===void 0?(be[t]={data:{},time:0},{data:{},time:0}):be[t]}function Mu(t,r){be[t]={data:r.data,time:r.time},localStorage.setItem(t,pt.enCode(be[t]))}function Au(t,r,o){be[t].time=o,be[t].data[r.item][r.name]=r.value,localStorage.setItem(t,pt.enCode(be[t]))}const zu={setSSID:eu,getSSID:tu,getPORT:ou,setPORT:au,setAUTH:nu,getAUTH:ru,Logaut:tn,Start:Qc,setMenu:bu,getMenu:xu,useSort:ku,setSort:wu,getSort:Su,setCompany:Cu,getCompany:ju,setSelect:Ru,addSelect:Eu,getSelect:Iu,setApi:Nu,getApi:Ou,setPayment:Tu,getPayment:Pu,setUser:Du,getUser:Fu,getDefaultModules:qc,getBase:Yu,setBase:Mu,editBase:Au,loadBase:Gu},Bu="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",$u=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([$u(Bu)],{type:"text/javascript;charset=utf-8"}),zu.getAUTH();var qn={};/**
|
|
32
|
+
* @license React
|
|
33
|
+
* react-jsx-runtime.production.min.js
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license found in the
|
|
38
|
+
* LICENSE file in the root directory of this source tree.
|
|
39
|
+
*/var fo;function Uu(){if(fo)return qn;fo=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return qn.Fragment=o,qn.jsx=_,qn.jsxs=_,qn}var xr={};/**
|
|
40
|
+
* @license React
|
|
41
|
+
* react-jsx-runtime.development.js
|
|
42
|
+
*
|
|
43
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
|
+
*
|
|
45
|
+
* This source code is licensed under the MIT license found in the
|
|
46
|
+
* LICENSE file in the root directory of this source tree.
|
|
47
|
+
*/var po;function Zu(){return po||(po=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
48
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
49
|
+
`),C=l.stack.split(`
|
|
50
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
51
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
52
|
+
|
|
53
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
54
|
+
|
|
55
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
56
|
+
let props = %s;
|
|
57
|
+
<%s {...props} />
|
|
58
|
+
React keys must be passed directly to JSX without using spread:
|
|
59
|
+
let props = %s;
|
|
60
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;xr.Fragment=i,xr.jsx=lt,xr.jsxs=st}()),xr}process.env.NODE_ENV==="production"?Uu():Zu();const Wu={Path:hu,setPage:lu,getPage:so,usePage:iu,isPage:su,setModule:uu,getModule:co,useModule:cu,isModule:du,setTabs:pu,getTabs:br,useTabs:fu,isTabs:mu,useId:_u,setId:yu,subId:gu,getId:uo,isId:vu};Lu();let Kr;Kr=document.createElement("audio"),Kr.setAttribute("autoplay","true"),Kr.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let Vr={enCode:t=>t,deCode:t=>t};const Xu=t=>{Vr=t},Hu=t=>Vr.enCode(t),Ku=t=>Vr.deCode(t),Et={enCode:Hu,deCode:Ku,New:Xu},mt={},mo={},_o={},nn={};let Vu="M06";function Ju(){return Vu}function rn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function qu(t){t=t.split("/"),mt.page="Main",mt.module=t[0],mt.tab=t[1],mt.id=0,sessionStorage.setItem("f",Et.enCode({module:mt.module,page:mt.page,tab:mt.tab,id:mt.id,time:new Date().getTime()})),mo.page(mt.page)}function Qu(t){return localStorage.setItem("d",t)}function ed(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function td(t){return localStorage.setItem("a",t)}function nd(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function rd(t){localStorage.setItem("p",Et.enCode(t))}function ad(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Et.deCode(t);return r||rn(),r}else return rn(),!1}function go(){return mt.tab}function od(t){localStorage.setItem("m",Et.enCode({data:t}))}function id(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Et.deCode(r);o||rn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return rn(),!1}function ld(t){mo.sort=t}function sd(t){let r=localStorage.getItem("b");r=r===null?{}:Et.deCode(r),r[go()]=t,localStorage.setItem("b",Et.enCode(r))}function cd(){let t=localStorage.getItem("b");return t===null?{}:(t=Et.deCode(t),t=t[go()],t=t===void 0?{active:1,sort:"<"}:t,t)}function ud(t){localStorage.setItem("c",Et.enCode(t))}function dd(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Et.deCode(i);return s||rn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return rn(),!1}function fd(t){nn.data=t,localStorage.setItem("q",Et.enCode(nn.data))}function pd(t,r){nn.data={...nn.data,[t]:r},localStorage.setItem("q",Et.enCode(nn.data))}function md(t,r){if(!nn.data){let o=localStorage.getItem("q");o&&(nn.data=Et.deCode(o))}return t===void 0&&r===void 0?nn.data:t!==void 0&&r===void 0?nn.data[t]:nn.data[t][r]}function _d(t){_o.data=t}function gd(t){return _o.data[t]}function yd(t){mt.payment=t}function vd(){return mt.payment}function hd(t){localStorage.setItem("u",Et.enCode(t))}function bd(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Et.deCode(t);return r||rn(),r}else return rn(),!1}function xd(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Et.deCode(t);return r||rn(),r}catch{return{}}else return{}}function kd(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Et.deCode(i);if(!s)return;mt[o]={is:!0,time:s.time,data:s.data}}catch{mt[o]={is:!1,time:0,data:{}}}else mt[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function wd(t){return mt[t]===void 0?(mt[t]={data:{},time:0},{data:{},time:0}):mt[t]}function Sd(t,r){mt[t]={data:r.data,time:r.time},localStorage.setItem(t,Et.enCode(mt[t]))}function Cd(t,r,o){mt[t].time=o,mt[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Et.enCode(mt[t]))}const jd={setSSID:Qu,getSSID:ed,getPORT:ad,setPORT:rd,setAUTH:td,getAUTH:nd,Logaut:rn,Start:qu,setMenu:od,getMenu:id,useSort:ld,setSort:sd,getSort:cd,setCompany:ud,getCompany:dd,setSelect:fd,addSelect:pd,getSelect:md,setApi:_d,getApi:gd,setPayment:yd,getPayment:vd,setUser:hd,getUser:bd,getDefaultModules:Ju,getBase:wd,setBase:Sd,editBase:Cd,loadBase:kd},Rd="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",Ed=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([Ed(Rd)],{type:"text/javascript;charset=utf-8"}),jd.getAUTH();var Qn={};/**
|
|
61
|
+
* @license React
|
|
62
|
+
* react-jsx-runtime.production.min.js
|
|
63
|
+
*
|
|
64
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
65
|
+
*
|
|
66
|
+
* This source code is licensed under the MIT license found in the
|
|
67
|
+
* LICENSE file in the root directory of this source tree.
|
|
68
|
+
*/var yo;function Id(){if(yo)return Qn;yo=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return Qn.Fragment=o,Qn.jsx=_,Qn.jsxs=_,Qn}var kr={};/**
|
|
69
|
+
* @license React
|
|
70
|
+
* react-jsx-runtime.development.js
|
|
71
|
+
*
|
|
72
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the MIT license found in the
|
|
75
|
+
* LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/var vo;function Nd(){return vo||(vo=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
77
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
78
|
+
`),C=l.stack.split(`
|
|
79
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
80
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
81
|
+
|
|
82
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
83
|
+
|
|
84
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
85
|
+
let props = %s;
|
|
86
|
+
<%s {...props} />
|
|
87
|
+
React keys must be passed directly to JSX without using spread:
|
|
88
|
+
let props = %s;
|
|
89
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;kr.Fragment=i,kr.jsx=lt,kr.jsxs=st}()),kr}process.env.NODE_ENV==="production"?Id():Nd(),xd();let Jr;Jr=document.createElement("audio"),Jr.setAttribute("autoplay","true"),Jr.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let qr={enCode:t=>t,deCode:t=>t};const Od=t=>{qr=t},Td=t=>qr.enCode(t),Pd=t=>qr.deCode(t),It={enCode:Td,deCode:Pd,New:Od},_t={},ho={},bo={},an={};let Dd="M06";function Fd(){return Dd}function on(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function Ld(t){t=t.split("/"),_t.page="Main",_t.module=t[0],_t.tab=t[1],_t.id=0,sessionStorage.setItem("f",It.enCode({module:_t.module,page:_t.page,tab:_t.tab,id:_t.id,time:new Date().getTime()})),ho.page(_t.page)}function Gd(t){return localStorage.setItem("d",t)}function Yd(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function Md(t){return localStorage.setItem("a",t)}function Ad(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function zd(t){localStorage.setItem("p",It.enCode(t))}function Bd(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=It.deCode(t);return r||on(),r}else return on(),!1}function xo(){return _t.tab}function $d(t){localStorage.setItem("m",It.enCode({data:t}))}function Ud(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=It.deCode(r);o||on();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return on(),!1}function Zd(t){ho.sort=t}function Wd(t){let r=localStorage.getItem("b");r=r===null?{}:It.deCode(r),r[xo()]=t,localStorage.setItem("b",It.enCode(r))}function Xd(){let t=localStorage.getItem("b");return t===null?{}:(t=It.deCode(t),t=t[xo()],t=t===void 0?{active:1,sort:"<"}:t,t)}function Hd(t){localStorage.setItem("c",It.enCode(t))}function Kd(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=It.deCode(i);return s||on(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return on(),!1}function Vd(t){an.data=t,localStorage.setItem("q",It.enCode(an.data))}function Jd(t,r){an.data={...an.data,[t]:r},localStorage.setItem("q",It.enCode(an.data))}function qd(t,r){if(!an.data){let o=localStorage.getItem("q");o&&(an.data=It.deCode(o))}return t===void 0&&r===void 0?an.data:t!==void 0&&r===void 0?an.data[t]:an.data[t][r]}function Qd(t){bo.data=t}function ef(t){return bo.data[t]}function tf(t){_t.payment=t}function nf(){return _t.payment}function rf(t){localStorage.setItem("u",It.enCode(t))}function af(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=It.deCode(t);return r||on(),r}else return on(),!1}function of(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=It.deCode(t);return r||on(),r}catch{return{}}else return{}}function lf(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=It.deCode(i);if(!s)return;_t[o]={is:!0,time:s.time,data:s.data}}catch{_t[o]={is:!1,time:0,data:{}}}else _t[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function sf(t){return _t[t]===void 0?(_t[t]={data:{},time:0},{data:{},time:0}):_t[t]}function cf(t,r){_t[t]={data:r.data,time:r.time},localStorage.setItem(t,It.enCode(_t[t]))}function uf(t,r,o){_t[t].time=o,_t[t].data[r.item][r.name]=r.value,localStorage.setItem(t,It.enCode(_t[t]))}const df={setSSID:Gd,getSSID:Yd,getPORT:Bd,setPORT:zd,setAUTH:Md,getAUTH:Ad,Logaut:on,Start:Ld,setMenu:$d,getMenu:Ud,useSort:Zd,setSort:Wd,getSort:Xd,setCompany:Hd,getCompany:Kd,setSelect:Vd,addSelect:Jd,getSelect:qd,setApi:Qd,getApi:ef,setPayment:tf,getPayment:nf,setUser:rf,getUser:af,getDefaultModules:Fd,getBase:sf,setBase:cf,editBase:uf,loadBase:lf},ff="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",pf=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([pf(ff)],{type:"text/javascript;charset=utf-8"}),df.getAUTH();var er={};/**
|
|
90
|
+
* @license React
|
|
91
|
+
* react-jsx-runtime.production.min.js
|
|
92
|
+
*
|
|
93
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
94
|
+
*
|
|
95
|
+
* This source code is licensed under the MIT license found in the
|
|
96
|
+
* LICENSE file in the root directory of this source tree.
|
|
97
|
+
*/var ko;function mf(){if(ko)return er;ko=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return er.Fragment=o,er.jsx=_,er.jsxs=_,er}var wr={};/**
|
|
98
|
+
* @license React
|
|
99
|
+
* react-jsx-runtime.development.js
|
|
100
|
+
*
|
|
101
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
102
|
+
*
|
|
103
|
+
* This source code is licensed under the MIT license found in the
|
|
104
|
+
* LICENSE file in the root directory of this source tree.
|
|
105
|
+
*/var wo;function _f(){return wo||(wo=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
106
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
107
|
+
`),C=l.stack.split(`
|
|
108
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
109
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
110
|
+
|
|
111
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
112
|
+
|
|
113
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
114
|
+
let props = %s;
|
|
115
|
+
<%s {...props} />
|
|
116
|
+
React keys must be passed directly to JSX without using spread:
|
|
117
|
+
let props = %s;
|
|
118
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;wr.Fragment=i,wr.jsx=lt,wr.jsxs=st}()),wr}process.env.NODE_ENV==="production"?mf():_f(),of();let Qr;Qr=document.createElement("audio"),Qr.setAttribute("autoplay","true"),Qr.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let ea={enCode:t=>t,deCode:t=>t};const gf=t=>{ea=t},yf=t=>ea.enCode(t),vf=t=>ea.deCode(t),Nt={enCode:yf,deCode:vf,New:gf},gt={},So={},Co={},ln={};let hf="M06";function bf(){return hf}function sn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function xf(t){t=t.split("/"),gt.page="Main",gt.module=t[0],gt.tab=t[1],gt.id=0,sessionStorage.setItem("f",Nt.enCode({module:gt.module,page:gt.page,tab:gt.tab,id:gt.id,time:new Date().getTime()})),So.page(gt.page)}function kf(t){return localStorage.setItem("d",t)}function wf(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function Sf(t){return localStorage.setItem("a",t)}function Cf(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function jf(t){localStorage.setItem("p",Nt.enCode(t))}function Rf(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Nt.deCode(t);return r||sn(),r}else return sn(),!1}function jo(){return gt.tab}function Ef(t){localStorage.setItem("m",Nt.enCode({data:t}))}function If(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Nt.deCode(r);o||sn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return sn(),!1}function Nf(t){So.sort=t}function Of(t){let r=localStorage.getItem("b");r=r===null?{}:Nt.deCode(r),r[jo()]=t,localStorage.setItem("b",Nt.enCode(r))}function Tf(){let t=localStorage.getItem("b");return t===null?{}:(t=Nt.deCode(t),t=t[jo()],t=t===void 0?{active:1,sort:"<"}:t,t)}function Pf(t){localStorage.setItem("c",Nt.enCode(t))}function Df(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Nt.deCode(i);return s||sn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return sn(),!1}function Ff(t){ln.data=t,localStorage.setItem("q",Nt.enCode(ln.data))}function Lf(t,r){ln.data={...ln.data,[t]:r},localStorage.setItem("q",Nt.enCode(ln.data))}function Gf(t,r){if(!ln.data){let o=localStorage.getItem("q");o&&(ln.data=Nt.deCode(o))}return t===void 0&&r===void 0?ln.data:t!==void 0&&r===void 0?ln.data[t]:ln.data[t][r]}function Yf(t){Co.data=t}function Mf(t){return Co.data[t]}function Af(t){gt.payment=t}function zf(){return gt.payment}function Bf(t){localStorage.setItem("u",Nt.enCode(t))}function $f(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Nt.deCode(t);return r||sn(),r}else return sn(),!1}function Uf(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Nt.deCode(t);return r||sn(),r}catch{return{}}else return{}}function Zf(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Nt.deCode(i);if(!s)return;gt[o]={is:!0,time:s.time,data:s.data}}catch{gt[o]={is:!1,time:0,data:{}}}else gt[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function Wf(t){return gt[t]===void 0?(gt[t]={data:{},time:0},{data:{},time:0}):gt[t]}function Xf(t,r){gt[t]={data:r.data,time:r.time},localStorage.setItem(t,Nt.enCode(gt[t]))}function Hf(t,r,o){gt[t].time=o,gt[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Nt.enCode(gt[t]))}const Kf={setSSID:kf,getSSID:wf,getPORT:Rf,setPORT:jf,setAUTH:Sf,getAUTH:Cf,Logaut:sn,Start:xf,setMenu:Ef,getMenu:If,useSort:Nf,setSort:Of,getSort:Tf,setCompany:Pf,getCompany:Df,setSelect:Ff,addSelect:Lf,getSelect:Gf,setApi:Yf,getApi:Mf,setPayment:Af,getPayment:zf,setUser:Bf,getUser:$f,getDefaultModules:bf,getBase:Wf,setBase:Xf,editBase:Hf,loadBase:Zf},Vf="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",Jf=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([Jf(Vf)],{type:"text/javascript;charset=utf-8"}),Kf.getAUTH();var tr={};/**
|
|
119
|
+
* @license React
|
|
120
|
+
* react-jsx-runtime.production.min.js
|
|
121
|
+
*
|
|
122
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
123
|
+
*
|
|
124
|
+
* This source code is licensed under the MIT license found in the
|
|
125
|
+
* LICENSE file in the root directory of this source tree.
|
|
126
|
+
*/var Ro;function qf(){if(Ro)return tr;Ro=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return tr.Fragment=o,tr.jsx=_,tr.jsxs=_,tr}var Sr={};/**
|
|
127
|
+
* @license React
|
|
128
|
+
* react-jsx-runtime.development.js
|
|
129
|
+
*
|
|
130
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
131
|
+
*
|
|
132
|
+
* This source code is licensed under the MIT license found in the
|
|
133
|
+
* LICENSE file in the root directory of this source tree.
|
|
134
|
+
*/var Eo;function Qf(){return Eo||(Eo=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
135
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
136
|
+
`),C=l.stack.split(`
|
|
137
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
138
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
139
|
+
|
|
140
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
141
|
+
|
|
142
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
143
|
+
let props = %s;
|
|
144
|
+
<%s {...props} />
|
|
145
|
+
React keys must be passed directly to JSX without using spread:
|
|
146
|
+
let props = %s;
|
|
147
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Sr.Fragment=i,Sr.jsx=lt,Sr.jsxs=st}()),Sr}process.env.NODE_ENV==="production"?qf():Qf(),Uf();let ta;ta=document.createElement("audio"),ta.setAttribute("autoplay","true"),ta.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let na={enCode:t=>t,deCode:t=>t};const ep=t=>{na=t},tp=t=>na.enCode(t),np=t=>na.deCode(t),Ot={enCode:tp,deCode:np,New:ep},yt={},Io={},No={},cn={};let rp="M06";function ap(){return rp}function un(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function op(t){t=t.split("/"),yt.page="Main",yt.module=t[0],yt.tab=t[1],yt.id=0,sessionStorage.setItem("f",Ot.enCode({module:yt.module,page:yt.page,tab:yt.tab,id:yt.id,time:new Date().getTime()})),Io.page(yt.page)}function ip(t){return localStorage.setItem("d",t)}function lp(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function sp(t){return localStorage.setItem("a",t)}function cp(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function up(t){localStorage.setItem("p",Ot.enCode(t))}function dp(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Ot.deCode(t);return r||un(),r}else return un(),!1}function Oo(){return yt.tab}function fp(t){localStorage.setItem("m",Ot.enCode({data:t}))}function pp(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Ot.deCode(r);o||un();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return un(),!1}function mp(t){Io.sort=t}function _p(t){let r=localStorage.getItem("b");r=r===null?{}:Ot.deCode(r),r[Oo()]=t,localStorage.setItem("b",Ot.enCode(r))}function gp(){let t=localStorage.getItem("b");return t===null?{}:(t=Ot.deCode(t),t=t[Oo()],t=t===void 0?{active:1,sort:"<"}:t,t)}function yp(t){localStorage.setItem("c",Ot.enCode(t))}function vp(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Ot.deCode(i);return s||un(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return un(),!1}function hp(t){cn.data=t,localStorage.setItem("q",Ot.enCode(cn.data))}function bp(t,r){cn.data={...cn.data,[t]:r},localStorage.setItem("q",Ot.enCode(cn.data))}function xp(t,r){if(!cn.data){let o=localStorage.getItem("q");o&&(cn.data=Ot.deCode(o))}return t===void 0&&r===void 0?cn.data:t!==void 0&&r===void 0?cn.data[t]:cn.data[t][r]}function kp(t){No.data=t}function wp(t){return No.data[t]}function Sp(t){yt.payment=t}function Cp(){return yt.payment}function jp(t){localStorage.setItem("u",Ot.enCode(t))}function Rp(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Ot.deCode(t);return r||un(),r}else return un(),!1}function Ep(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Ot.deCode(t);return r||un(),r}catch{return{}}else return{}}function Ip(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Ot.deCode(i);if(!s)return;yt[o]={is:!0,time:s.time,data:s.data}}catch{yt[o]={is:!1,time:0,data:{}}}else yt[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function Np(t){return yt[t]===void 0?(yt[t]={data:{},time:0},{data:{},time:0}):yt[t]}function Op(t,r){yt[t]={data:r.data,time:r.time},localStorage.setItem(t,Ot.enCode(yt[t]))}function Tp(t,r,o){yt[t].time=o,yt[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Ot.enCode(yt[t]))}const Pp={setSSID:ip,getSSID:lp,getPORT:dp,setPORT:up,setAUTH:sp,getAUTH:cp,Logaut:un,Start:op,setMenu:fp,getMenu:pp,useSort:mp,setSort:_p,getSort:gp,setCompany:yp,getCompany:vp,setSelect:hp,addSelect:bp,getSelect:xp,setApi:kp,getApi:wp,setPayment:Sp,getPayment:Cp,setUser:jp,getUser:Rp,getDefaultModules:ap,getBase:Np,setBase:Op,editBase:Tp,loadBase:Ip},Dp="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",Fp=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([Fp(Dp)],{type:"text/javascript;charset=utf-8"}),Pp.getAUTH();var nr={};/**
|
|
148
|
+
* @license React
|
|
149
|
+
* react-jsx-runtime.production.min.js
|
|
150
|
+
*
|
|
151
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
152
|
+
*
|
|
153
|
+
* This source code is licensed under the MIT license found in the
|
|
154
|
+
* LICENSE file in the root directory of this source tree.
|
|
155
|
+
*/var To;function Lp(){if(To)return nr;To=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return nr.Fragment=o,nr.jsx=_,nr.jsxs=_,nr}var Cr={};/**
|
|
156
|
+
* @license React
|
|
157
|
+
* react-jsx-runtime.development.js
|
|
158
|
+
*
|
|
159
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
160
|
+
*
|
|
161
|
+
* This source code is licensed under the MIT license found in the
|
|
162
|
+
* LICENSE file in the root directory of this source tree.
|
|
163
|
+
*/var Po;function Gp(){return Po||(Po=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
164
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
165
|
+
`),C=l.stack.split(`
|
|
166
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
167
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
168
|
+
|
|
169
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
170
|
+
|
|
171
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
172
|
+
let props = %s;
|
|
173
|
+
<%s {...props} />
|
|
174
|
+
React keys must be passed directly to JSX without using spread:
|
|
175
|
+
let props = %s;
|
|
176
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Cr.Fragment=i,Cr.jsx=lt,Cr.jsxs=st}()),Cr}process.env.NODE_ENV==="production"?Lp():Gp(),Ep();let ra;ra=document.createElement("audio"),ra.setAttribute("autoplay","true"),ra.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let aa={enCode:t=>t,deCode:t=>t};const Yp=t=>{aa=t},Mp=t=>aa.enCode(t),Ap=t=>aa.deCode(t),Tt={enCode:Mp,deCode:Ap,New:Yp},vt={},Do={},Fo={},dn={};let zp="M06";function Bp(){return zp}function fn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function $p(t){t=t.split("/"),vt.page="Main",vt.module=t[0],vt.tab=t[1],vt.id=0,sessionStorage.setItem("f",Tt.enCode({module:vt.module,page:vt.page,tab:vt.tab,id:vt.id,time:new Date().getTime()})),Do.page(vt.page)}function Up(t){return localStorage.setItem("d",t)}function Zp(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function Wp(t){return localStorage.setItem("a",t)}function Xp(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function Hp(t){localStorage.setItem("p",Tt.enCode(t))}function Kp(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Tt.deCode(t);return r||fn(),r}else return fn(),!1}function Lo(){return vt.tab}function Vp(t){localStorage.setItem("m",Tt.enCode({data:t}))}function Jp(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Tt.deCode(r);o||fn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return fn(),!1}function qp(t){Do.sort=t}function Qp(t){let r=localStorage.getItem("b");r=r===null?{}:Tt.deCode(r),r[Lo()]=t,localStorage.setItem("b",Tt.enCode(r))}function em(){let t=localStorage.getItem("b");return t===null?{}:(t=Tt.deCode(t),t=t[Lo()],t=t===void 0?{active:1,sort:"<"}:t,t)}function tm(t){localStorage.setItem("c",Tt.enCode(t))}function nm(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Tt.deCode(i);return s||fn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return fn(),!1}function rm(t){dn.data=t,localStorage.setItem("q",Tt.enCode(dn.data))}function am(t,r){dn.data={...dn.data,[t]:r},localStorage.setItem("q",Tt.enCode(dn.data))}function om(t,r){if(!dn.data){let o=localStorage.getItem("q");o&&(dn.data=Tt.deCode(o))}return t===void 0&&r===void 0?dn.data:t!==void 0&&r===void 0?dn.data[t]:dn.data[t][r]}function im(t){Fo.data=t}function lm(t){return Fo.data[t]}function sm(t){vt.payment=t}function cm(){return vt.payment}function um(t){localStorage.setItem("u",Tt.enCode(t))}function dm(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Tt.deCode(t);return r||fn(),r}else return fn(),!1}function fm(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Tt.deCode(t);return r||fn(),r}catch{return{}}else return{}}function pm(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Tt.deCode(i);if(!s)return;vt[o]={is:!0,time:s.time,data:s.data}}catch{vt[o]={is:!1,time:0,data:{}}}else vt[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function mm(t){return vt[t]===void 0?(vt[t]={data:{},time:0},{data:{},time:0}):vt[t]}function _m(t,r){vt[t]={data:r.data,time:r.time},localStorage.setItem(t,Tt.enCode(vt[t]))}function gm(t,r,o){vt[t].time=o,vt[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Tt.enCode(vt[t]))}const ym={setSSID:Up,getSSID:Zp,getPORT:Kp,setPORT:Hp,setAUTH:Wp,getAUTH:Xp,Logaut:fn,Start:$p,setMenu:Vp,getMenu:Jp,useSort:qp,setSort:Qp,getSort:em,setCompany:tm,getCompany:nm,setSelect:rm,addSelect:am,getSelect:om,setApi:im,getApi:lm,setPayment:sm,getPayment:cm,setUser:um,getUser:dm,getDefaultModules:Bp,getBase:mm,setBase:_m,editBase:gm,loadBase:pm},vm="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",hm=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([hm(vm)],{type:"text/javascript;charset=utf-8"}),ym.getAUTH();var rr={};/**
|
|
177
|
+
* @license React
|
|
178
|
+
* react-jsx-runtime.production.min.js
|
|
179
|
+
*
|
|
180
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
181
|
+
*
|
|
182
|
+
* This source code is licensed under the MIT license found in the
|
|
183
|
+
* LICENSE file in the root directory of this source tree.
|
|
184
|
+
*/var Go;function bm(){if(Go)return rr;Go=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return rr.Fragment=o,rr.jsx=_,rr.jsxs=_,rr}var jr={};/**
|
|
185
|
+
* @license React
|
|
186
|
+
* react-jsx-runtime.development.js
|
|
187
|
+
*
|
|
188
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
189
|
+
*
|
|
190
|
+
* This source code is licensed under the MIT license found in the
|
|
191
|
+
* LICENSE file in the root directory of this source tree.
|
|
192
|
+
*/var Yo;function xm(){return Yo||(Yo=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
193
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
194
|
+
`),C=l.stack.split(`
|
|
195
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
196
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
197
|
+
|
|
198
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
199
|
+
|
|
200
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
201
|
+
let props = %s;
|
|
202
|
+
<%s {...props} />
|
|
203
|
+
React keys must be passed directly to JSX without using spread:
|
|
204
|
+
let props = %s;
|
|
205
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;jr.Fragment=i,jr.jsx=lt,jr.jsxs=st}()),jr}process.env.NODE_ENV==="production"?bm():xm(),fm();let oa;oa=document.createElement("audio"),oa.setAttribute("autoplay","true"),oa.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let ia={enCode:t=>t,deCode:t=>t};const km=t=>{ia=t},wm=t=>ia.enCode(t),Sm=t=>ia.deCode(t),Pt={enCode:wm,deCode:Sm,New:km},ht={},Mo={},Ao={},pn={};let Cm="M06";function jm(){return Cm}function mn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function Rm(t){t=t.split("/"),ht.page="Main",ht.module=t[0],ht.tab=t[1],ht.id=0,sessionStorage.setItem("f",Pt.enCode({module:ht.module,page:ht.page,tab:ht.tab,id:ht.id,time:new Date().getTime()})),Mo.page(ht.page)}function Em(t){return localStorage.setItem("d",t)}function Im(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function Nm(t){return localStorage.setItem("a",t)}function Om(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function Tm(t){localStorage.setItem("p",Pt.enCode(t))}function Pm(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Pt.deCode(t);return r||mn(),r}else return mn(),!1}function zo(){return ht.tab}function Dm(t){localStorage.setItem("m",Pt.enCode({data:t}))}function Fm(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Pt.deCode(r);o||mn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return mn(),!1}function Lm(t){Mo.sort=t}function Gm(t){let r=localStorage.getItem("b");r=r===null?{}:Pt.deCode(r),r[zo()]=t,localStorage.setItem("b",Pt.enCode(r))}function Ym(){let t=localStorage.getItem("b");return t===null?{}:(t=Pt.deCode(t),t=t[zo()],t=t===void 0?{active:1,sort:"<"}:t,t)}function Mm(t){localStorage.setItem("c",Pt.enCode(t))}function Am(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Pt.deCode(i);return s||mn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return mn(),!1}function zm(t){pn.data=t,localStorage.setItem("q",Pt.enCode(pn.data))}function Bm(t,r){pn.data={...pn.data,[t]:r},localStorage.setItem("q",Pt.enCode(pn.data))}function $m(t,r){if(!pn.data){let o=localStorage.getItem("q");o&&(pn.data=Pt.deCode(o))}return t===void 0&&r===void 0?pn.data:t!==void 0&&r===void 0?pn.data[t]:pn.data[t][r]}function Um(t){Ao.data=t}function Zm(t){return Ao.data[t]}function Wm(t){ht.payment=t}function Xm(){return ht.payment}function Hm(t){localStorage.setItem("u",Pt.enCode(t))}function Km(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Pt.deCode(t);return r||mn(),r}else return mn(),!1}function Vm(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Pt.deCode(t);return r||mn(),r}catch{return{}}else return{}}function Jm(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Pt.deCode(i);if(!s)return;ht[o]={is:!0,time:s.time,data:s.data}}catch{ht[o]={is:!1,time:0,data:{}}}else ht[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function qm(t){return ht[t]===void 0?(ht[t]={data:{},time:0},{data:{},time:0}):ht[t]}function Qm(t,r){ht[t]={data:r.data,time:r.time},localStorage.setItem(t,Pt.enCode(ht[t]))}function e_(t,r,o){ht[t].time=o,ht[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Pt.enCode(ht[t]))}const t_={setSSID:Em,getSSID:Im,getPORT:Pm,setPORT:Tm,setAUTH:Nm,getAUTH:Om,Logaut:mn,Start:Rm,setMenu:Dm,getMenu:Fm,useSort:Lm,setSort:Gm,getSort:Ym,setCompany:Mm,getCompany:Am,setSelect:zm,addSelect:Bm,getSelect:$m,setApi:Um,getApi:Zm,setPayment:Wm,getPayment:Xm,setUser:Hm,getUser:Km,getDefaultModules:jm,getBase:qm,setBase:Qm,editBase:e_,loadBase:Jm},n_="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",r_=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([r_(n_)],{type:"text/javascript;charset=utf-8"}),t_.getAUTH();var ar={};/**
|
|
206
|
+
* @license React
|
|
207
|
+
* react-jsx-runtime.production.min.js
|
|
208
|
+
*
|
|
209
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
210
|
+
*
|
|
211
|
+
* This source code is licensed under the MIT license found in the
|
|
212
|
+
* LICENSE file in the root directory of this source tree.
|
|
213
|
+
*/var Bo;function a_(){if(Bo)return ar;Bo=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return ar.Fragment=o,ar.jsx=_,ar.jsxs=_,ar}var Rr={};/**
|
|
214
|
+
* @license React
|
|
215
|
+
* react-jsx-runtime.development.js
|
|
216
|
+
*
|
|
217
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
218
|
+
*
|
|
219
|
+
* This source code is licensed under the MIT license found in the
|
|
220
|
+
* LICENSE file in the root directory of this source tree.
|
|
221
|
+
*/var $o;function o_(){return $o||($o=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
222
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
223
|
+
`),C=l.stack.split(`
|
|
224
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
225
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
226
|
+
|
|
227
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
228
|
+
|
|
229
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
230
|
+
let props = %s;
|
|
231
|
+
<%s {...props} />
|
|
232
|
+
React keys must be passed directly to JSX without using spread:
|
|
233
|
+
let props = %s;
|
|
234
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Rr.Fragment=i,Rr.jsx=lt,Rr.jsxs=st}()),Rr}process.env.NODE_ENV==="production"?a_():o_(),Vm();let la;la=document.createElement("audio"),la.setAttribute("autoplay","true"),la.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let sa={enCode:t=>t,deCode:t=>t};const i_=t=>{sa=t},l_=t=>sa.enCode(t),s_=t=>sa.deCode(t),Dt={enCode:l_,deCode:s_,New:i_},bt={},Uo={},Zo={},_n={};let c_="M06";function u_(){return c_}function gn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function d_(t){t=t.split("/"),bt.page="Main",bt.module=t[0],bt.tab=t[1],bt.id=0,sessionStorage.setItem("f",Dt.enCode({module:bt.module,page:bt.page,tab:bt.tab,id:bt.id,time:new Date().getTime()})),Uo.page(bt.page)}function f_(t){return localStorage.setItem("d",t)}function p_(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function m_(t){return localStorage.setItem("a",t)}function __(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function g_(t){localStorage.setItem("p",Dt.enCode(t))}function y_(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Dt.deCode(t);return r||gn(),r}else return gn(),!1}function Wo(){return bt.tab}function v_(t){localStorage.setItem("m",Dt.enCode({data:t}))}function h_(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Dt.deCode(r);o||gn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return gn(),!1}function b_(t){Uo.sort=t}function x_(t){let r=localStorage.getItem("b");r=r===null?{}:Dt.deCode(r),r[Wo()]=t,localStorage.setItem("b",Dt.enCode(r))}function k_(){let t=localStorage.getItem("b");return t===null?{}:(t=Dt.deCode(t),t=t[Wo()],t=t===void 0?{active:1,sort:"<"}:t,t)}function w_(t){localStorage.setItem("c",Dt.enCode(t))}function S_(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Dt.deCode(i);return s||gn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return gn(),!1}function C_(t){_n.data=t,localStorage.setItem("q",Dt.enCode(_n.data))}function j_(t,r){_n.data={..._n.data,[t]:r},localStorage.setItem("q",Dt.enCode(_n.data))}function R_(t,r){if(!_n.data){let o=localStorage.getItem("q");o&&(_n.data=Dt.deCode(o))}return t===void 0&&r===void 0?_n.data:t!==void 0&&r===void 0?_n.data[t]:_n.data[t][r]}function E_(t){Zo.data=t}function I_(t){return Zo.data[t]}function N_(t){bt.payment=t}function O_(){return bt.payment}function T_(t){localStorage.setItem("u",Dt.enCode(t))}function P_(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Dt.deCode(t);return r||gn(),r}else return gn(),!1}function D_(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Dt.deCode(t);return r||gn(),r}catch{return{}}else return{}}function F_(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Dt.deCode(i);if(!s)return;bt[o]={is:!0,time:s.time,data:s.data}}catch{bt[o]={is:!1,time:0,data:{}}}else bt[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function L_(t){return bt[t]===void 0?(bt[t]={data:{},time:0},{data:{},time:0}):bt[t]}function G_(t,r){bt[t]={data:r.data,time:r.time},localStorage.setItem(t,Dt.enCode(bt[t]))}function Y_(t,r,o){bt[t].time=o,bt[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Dt.enCode(bt[t]))}const M_={setSSID:f_,getSSID:p_,getPORT:y_,setPORT:g_,setAUTH:m_,getAUTH:__,Logaut:gn,Start:d_,setMenu:v_,getMenu:h_,useSort:b_,setSort:x_,getSort:k_,setCompany:w_,getCompany:S_,setSelect:C_,addSelect:j_,getSelect:R_,setApi:E_,getApi:I_,setPayment:N_,getPayment:O_,setUser:T_,getUser:P_,getDefaultModules:u_,getBase:L_,setBase:G_,editBase:Y_,loadBase:F_},A_="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",z_=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([z_(A_)],{type:"text/javascript;charset=utf-8"}),M_.getAUTH();var or={};/**
|
|
235
|
+
* @license React
|
|
236
|
+
* react-jsx-runtime.production.min.js
|
|
237
|
+
*
|
|
238
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
239
|
+
*
|
|
240
|
+
* This source code is licensed under the MIT license found in the
|
|
241
|
+
* LICENSE file in the root directory of this source tree.
|
|
242
|
+
*/var Xo;function B_(){if(Xo)return or;Xo=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return or.Fragment=o,or.jsx=_,or.jsxs=_,or}var Er={};/**
|
|
243
|
+
* @license React
|
|
244
|
+
* react-jsx-runtime.development.js
|
|
245
|
+
*
|
|
246
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
247
|
+
*
|
|
248
|
+
* This source code is licensed under the MIT license found in the
|
|
249
|
+
* LICENSE file in the root directory of this source tree.
|
|
250
|
+
*/var Ho;function $_(){return Ho||(Ho=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
251
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
252
|
+
`),C=l.stack.split(`
|
|
253
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
254
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
255
|
+
|
|
256
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
257
|
+
|
|
258
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
259
|
+
let props = %s;
|
|
260
|
+
<%s {...props} />
|
|
261
|
+
React keys must be passed directly to JSX without using spread:
|
|
262
|
+
let props = %s;
|
|
263
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Er.Fragment=i,Er.jsx=lt,Er.jsxs=st}()),Er}process.env.NODE_ENV==="production"?B_():$_(),D_();let ca;ca=document.createElement("audio"),ca.setAttribute("autoplay","true"),ca.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let ua={enCode:t=>t,deCode:t=>t};const U_=t=>{ua=t},Z_=t=>ua.enCode(t),W_=t=>ua.deCode(t),Ft={enCode:Z_,deCode:W_,New:U_},xt={},Ko={},Vo={},yn={};let X_="M06";function H_(){return X_}function vn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function K_(t){t=t.split("/"),xt.page="Main",xt.module=t[0],xt.tab=t[1],xt.id=0,sessionStorage.setItem("f",Ft.enCode({module:xt.module,page:xt.page,tab:xt.tab,id:xt.id,time:new Date().getTime()})),Ko.page(xt.page)}function V_(t){return localStorage.setItem("d",t)}function J_(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function q_(t){return localStorage.setItem("a",t)}function Q_(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function eg(t){localStorage.setItem("p",Ft.enCode(t))}function tg(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Ft.deCode(t);return r||vn(),r}else return vn(),!1}function Jo(){return xt.tab}function ng(t){localStorage.setItem("m",Ft.enCode({data:t}))}function rg(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Ft.deCode(r);o||vn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return vn(),!1}function ag(t){Ko.sort=t}function og(t){let r=localStorage.getItem("b");r=r===null?{}:Ft.deCode(r),r[Jo()]=t,localStorage.setItem("b",Ft.enCode(r))}function ig(){let t=localStorage.getItem("b");return t===null?{}:(t=Ft.deCode(t),t=t[Jo()],t=t===void 0?{active:1,sort:"<"}:t,t)}function lg(t){localStorage.setItem("c",Ft.enCode(t))}function sg(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Ft.deCode(i);return s||vn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return vn(),!1}function cg(t){yn.data=t,localStorage.setItem("q",Ft.enCode(yn.data))}function ug(t,r){yn.data={...yn.data,[t]:r},localStorage.setItem("q",Ft.enCode(yn.data))}function dg(t,r){if(!yn.data){let o=localStorage.getItem("q");o&&(yn.data=Ft.deCode(o))}return t===void 0&&r===void 0?yn.data:t!==void 0&&r===void 0?yn.data[t]:yn.data[t][r]}function fg(t){Vo.data=t}function pg(t){return Vo.data[t]}function mg(t){xt.payment=t}function _g(){return xt.payment}function gg(t){localStorage.setItem("u",Ft.enCode(t))}function yg(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Ft.deCode(t);return r||vn(),r}else return vn(),!1}function vg(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Ft.deCode(t);return r||vn(),r}catch{return{}}else return{}}function hg(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Ft.deCode(i);if(!s)return;xt[o]={is:!0,time:s.time,data:s.data}}catch{xt[o]={is:!1,time:0,data:{}}}else xt[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function bg(t){return xt[t]===void 0?(xt[t]={data:{},time:0},{data:{},time:0}):xt[t]}function xg(t,r){xt[t]={data:r.data,time:r.time},localStorage.setItem(t,Ft.enCode(xt[t]))}function kg(t,r,o){xt[t].time=o,xt[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Ft.enCode(xt[t]))}const wg={setSSID:V_,getSSID:J_,getPORT:tg,setPORT:eg,setAUTH:q_,getAUTH:Q_,Logaut:vn,Start:K_,setMenu:ng,getMenu:rg,useSort:ag,setSort:og,getSort:ig,setCompany:lg,getCompany:sg,setSelect:cg,addSelect:ug,getSelect:dg,setApi:fg,getApi:pg,setPayment:mg,getPayment:_g,setUser:gg,getUser:yg,getDefaultModules:H_,getBase:bg,setBase:xg,editBase:kg,loadBase:hg},Sg="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",Cg=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([Cg(Sg)],{type:"text/javascript;charset=utf-8"}),wg.getAUTH();var ir={};/**
|
|
264
|
+
* @license React
|
|
265
|
+
* react-jsx-runtime.production.min.js
|
|
266
|
+
*
|
|
267
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
268
|
+
*
|
|
269
|
+
* This source code is licensed under the MIT license found in the
|
|
270
|
+
* LICENSE file in the root directory of this source tree.
|
|
271
|
+
*/var qo;function jg(){if(qo)return ir;qo=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return ir.Fragment=o,ir.jsx=_,ir.jsxs=_,ir}var Ir={};/**
|
|
272
|
+
* @license React
|
|
273
|
+
* react-jsx-runtime.development.js
|
|
274
|
+
*
|
|
275
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
276
|
+
*
|
|
277
|
+
* This source code is licensed under the MIT license found in the
|
|
278
|
+
* LICENSE file in the root directory of this source tree.
|
|
279
|
+
*/var Qo;function Rg(){return Qo||(Qo=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
280
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
281
|
+
`),C=l.stack.split(`
|
|
282
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
283
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
284
|
+
|
|
285
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
286
|
+
|
|
287
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
288
|
+
let props = %s;
|
|
289
|
+
<%s {...props} />
|
|
290
|
+
React keys must be passed directly to JSX without using spread:
|
|
291
|
+
let props = %s;
|
|
292
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Ir.Fragment=i,Ir.jsx=lt,Ir.jsxs=st}()),Ir}process.env.NODE_ENV==="production"?jg():Rg(),vg();let da;da=document.createElement("audio"),da.setAttribute("autoplay","true"),da.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let fa={enCode:t=>t,deCode:t=>t};const Eg=t=>{fa=t},Ig=t=>fa.enCode(t),Ng=t=>fa.deCode(t),Lt={enCode:Ig,deCode:Ng,New:Eg},kt={},ei={},ti={},hn={};let Og="M06";function Tg(){return Og}function bn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function Pg(t){t=t.split("/"),kt.page="Main",kt.module=t[0],kt.tab=t[1],kt.id=0,sessionStorage.setItem("f",Lt.enCode({module:kt.module,page:kt.page,tab:kt.tab,id:kt.id,time:new Date().getTime()})),ei.page(kt.page)}function Dg(t){return localStorage.setItem("d",t)}function Fg(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function Lg(t){return localStorage.setItem("a",t)}function Gg(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function Yg(t){localStorage.setItem("p",Lt.enCode(t))}function Mg(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Lt.deCode(t);return r||bn(),r}else return bn(),!1}function ni(){return kt.tab}function Ag(t){localStorage.setItem("m",Lt.enCode({data:t}))}function zg(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Lt.deCode(r);o||bn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return bn(),!1}function Bg(t){ei.sort=t}function $g(t){let r=localStorage.getItem("b");r=r===null?{}:Lt.deCode(r),r[ni()]=t,localStorage.setItem("b",Lt.enCode(r))}function Ug(){let t=localStorage.getItem("b");return t===null?{}:(t=Lt.deCode(t),t=t[ni()],t=t===void 0?{active:1,sort:"<"}:t,t)}function Zg(t){localStorage.setItem("c",Lt.enCode(t))}function Wg(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Lt.deCode(i);return s||bn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return bn(),!1}function Xg(t){hn.data=t,localStorage.setItem("q",Lt.enCode(hn.data))}function Hg(t,r){hn.data={...hn.data,[t]:r},localStorage.setItem("q",Lt.enCode(hn.data))}function Kg(t,r){if(!hn.data){let o=localStorage.getItem("q");o&&(hn.data=Lt.deCode(o))}return t===void 0&&r===void 0?hn.data:t!==void 0&&r===void 0?hn.data[t]:hn.data[t][r]}function Vg(t){ti.data=t}function Jg(t){return ti.data[t]}function qg(t){kt.payment=t}function Qg(){return kt.payment}function ey(t){localStorage.setItem("u",Lt.enCode(t))}function ty(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Lt.deCode(t);return r||bn(),r}else return bn(),!1}function ny(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Lt.deCode(t);return r||bn(),r}catch{return{}}else return{}}function ry(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Lt.deCode(i);if(!s)return;kt[o]={is:!0,time:s.time,data:s.data}}catch{kt[o]={is:!1,time:0,data:{}}}else kt[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function ay(t){return kt[t]===void 0?(kt[t]={data:{},time:0},{data:{},time:0}):kt[t]}function oy(t,r){kt[t]={data:r.data,time:r.time},localStorage.setItem(t,Lt.enCode(kt[t]))}function iy(t,r,o){kt[t].time=o,kt[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Lt.enCode(kt[t]))}const ly={setSSID:Dg,getSSID:Fg,getPORT:Mg,setPORT:Yg,setAUTH:Lg,getAUTH:Gg,Logaut:bn,Start:Pg,setMenu:Ag,getMenu:zg,useSort:Bg,setSort:$g,getSort:Ug,setCompany:Zg,getCompany:Wg,setSelect:Xg,addSelect:Hg,getSelect:Kg,setApi:Vg,getApi:Jg,setPayment:qg,getPayment:Qg,setUser:ey,getUser:ty,getDefaultModules:Tg,getBase:ay,setBase:oy,editBase:iy,loadBase:ry},sy="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",cy=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([cy(sy)],{type:"text/javascript;charset=utf-8"}),ly.getAUTH();var lr={};/**
|
|
293
|
+
* @license React
|
|
294
|
+
* react-jsx-runtime.production.min.js
|
|
295
|
+
*
|
|
296
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
297
|
+
*
|
|
298
|
+
* This source code is licensed under the MIT license found in the
|
|
299
|
+
* LICENSE file in the root directory of this source tree.
|
|
300
|
+
*/var ri;function uy(){if(ri)return lr;ri=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return lr.Fragment=o,lr.jsx=_,lr.jsxs=_,lr}var Nr={};/**
|
|
301
|
+
* @license React
|
|
302
|
+
* react-jsx-runtime.development.js
|
|
303
|
+
*
|
|
304
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
305
|
+
*
|
|
306
|
+
* This source code is licensed under the MIT license found in the
|
|
307
|
+
* LICENSE file in the root directory of this source tree.
|
|
308
|
+
*/var ai;function dy(){return ai||(ai=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
309
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
310
|
+
`),C=l.stack.split(`
|
|
311
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
312
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
313
|
+
|
|
314
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
315
|
+
|
|
316
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
317
|
+
let props = %s;
|
|
318
|
+
<%s {...props} />
|
|
319
|
+
React keys must be passed directly to JSX without using spread:
|
|
320
|
+
let props = %s;
|
|
321
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Nr.Fragment=i,Nr.jsx=lt,Nr.jsxs=st}()),Nr}process.env.NODE_ENV==="production"?uy():dy(),ny();let pa;pa=document.createElement("audio"),pa.setAttribute("autoplay","true"),pa.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let ma={enCode:t=>t,deCode:t=>t};const fy=t=>{ma=t},py=t=>ma.enCode(t),my=t=>ma.deCode(t),Gt={enCode:py,deCode:my,New:fy},wt={},oi={},ii={},xn={};let _y="M06";function gy(){return _y}function kn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function yy(t){t=t.split("/"),wt.page="Main",wt.module=t[0],wt.tab=t[1],wt.id=0,sessionStorage.setItem("f",Gt.enCode({module:wt.module,page:wt.page,tab:wt.tab,id:wt.id,time:new Date().getTime()})),oi.page(wt.page)}function vy(t){return localStorage.setItem("d",t)}function hy(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function by(t){return localStorage.setItem("a",t)}function xy(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function ky(t){localStorage.setItem("p",Gt.enCode(t))}function wy(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Gt.deCode(t);return r||kn(),r}else return kn(),!1}function li(){return wt.tab}function Sy(t){localStorage.setItem("m",Gt.enCode({data:t}))}function Cy(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Gt.deCode(r);o||kn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return kn(),!1}function jy(t){oi.sort=t}function Ry(t){let r=localStorage.getItem("b");r=r===null?{}:Gt.deCode(r),r[li()]=t,localStorage.setItem("b",Gt.enCode(r))}function Ey(){let t=localStorage.getItem("b");return t===null?{}:(t=Gt.deCode(t),t=t[li()],t=t===void 0?{active:1,sort:"<"}:t,t)}function Iy(t){localStorage.setItem("c",Gt.enCode(t))}function Ny(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Gt.deCode(i);return s||kn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return kn(),!1}function Oy(t){xn.data=t,localStorage.setItem("q",Gt.enCode(xn.data))}function Ty(t,r){xn.data={...xn.data,[t]:r},localStorage.setItem("q",Gt.enCode(xn.data))}function Py(t,r){if(!xn.data){let o=localStorage.getItem("q");o&&(xn.data=Gt.deCode(o))}return t===void 0&&r===void 0?xn.data:t!==void 0&&r===void 0?xn.data[t]:xn.data[t][r]}function Dy(t){ii.data=t}function Fy(t){return ii.data[t]}function Ly(t){wt.payment=t}function Gy(){return wt.payment}function Yy(t){localStorage.setItem("u",Gt.enCode(t))}function My(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Gt.deCode(t);return r||kn(),r}else return kn(),!1}function Ay(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Gt.deCode(t);return r||kn(),r}catch{return{}}else return{}}function zy(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Gt.deCode(i);if(!s)return;wt[o]={is:!0,time:s.time,data:s.data}}catch{wt[o]={is:!1,time:0,data:{}}}else wt[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function By(t){return wt[t]===void 0?(wt[t]={data:{},time:0},{data:{},time:0}):wt[t]}function $y(t,r){wt[t]={data:r.data,time:r.time},localStorage.setItem(t,Gt.enCode(wt[t]))}function Uy(t,r,o){wt[t].time=o,wt[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Gt.enCode(wt[t]))}const Zy={setSSID:vy,getSSID:hy,getPORT:wy,setPORT:ky,setAUTH:by,getAUTH:xy,Logaut:kn,Start:yy,setMenu:Sy,getMenu:Cy,useSort:jy,setSort:Ry,getSort:Ey,setCompany:Iy,getCompany:Ny,setSelect:Oy,addSelect:Ty,getSelect:Py,setApi:Dy,getApi:Fy,setPayment:Ly,getPayment:Gy,setUser:Yy,getUser:My,getDefaultModules:gy,getBase:By,setBase:$y,editBase:Uy,loadBase:zy},Wy="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",Xy=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([Xy(Wy)],{type:"text/javascript;charset=utf-8"}),Zy.getAUTH();var sr={};/**
|
|
322
|
+
* @license React
|
|
323
|
+
* react-jsx-runtime.production.min.js
|
|
324
|
+
*
|
|
325
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
326
|
+
*
|
|
327
|
+
* This source code is licensed under the MIT license found in the
|
|
328
|
+
* LICENSE file in the root directory of this source tree.
|
|
329
|
+
*/var si;function Hy(){if(si)return sr;si=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return sr.Fragment=o,sr.jsx=_,sr.jsxs=_,sr}var Or={};/**
|
|
330
|
+
* @license React
|
|
331
|
+
* react-jsx-runtime.development.js
|
|
332
|
+
*
|
|
333
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
334
|
+
*
|
|
335
|
+
* This source code is licensed under the MIT license found in the
|
|
336
|
+
* LICENSE file in the root directory of this source tree.
|
|
337
|
+
*/var ci;function Ky(){return ci||(ci=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
338
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
339
|
+
`),C=l.stack.split(`
|
|
340
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
341
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
342
|
+
|
|
343
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
344
|
+
|
|
345
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
346
|
+
let props = %s;
|
|
347
|
+
<%s {...props} />
|
|
348
|
+
React keys must be passed directly to JSX without using spread:
|
|
349
|
+
let props = %s;
|
|
350
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Or.Fragment=i,Or.jsx=lt,Or.jsxs=st}()),Or}process.env.NODE_ENV==="production"?Hy():Ky(),Ay();let _a;_a=document.createElement("audio"),_a.setAttribute("autoplay","true"),_a.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let ga={enCode:t=>t,deCode:t=>t};const Vy=t=>{ga=t},Jy=t=>ga.enCode(t),qy=t=>ga.deCode(t),Yt={enCode:Jy,deCode:qy,New:Vy},St={},ui={},di={},wn={};let Qy="M06";function e0(){return Qy}function Sn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function t0(t){t=t.split("/"),St.page="Main",St.module=t[0],St.tab=t[1],St.id=0,sessionStorage.setItem("f",Yt.enCode({module:St.module,page:St.page,tab:St.tab,id:St.id,time:new Date().getTime()})),ui.page(St.page)}function n0(t){return localStorage.setItem("d",t)}function r0(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function a0(t){return localStorage.setItem("a",t)}function o0(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function i0(t){localStorage.setItem("p",Yt.enCode(t))}function l0(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Yt.deCode(t);return r||Sn(),r}else return Sn(),!1}function fi(){return St.tab}function s0(t){localStorage.setItem("m",Yt.enCode({data:t}))}function c0(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Yt.deCode(r);o||Sn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return Sn(),!1}function u0(t){ui.sort=t}function d0(t){let r=localStorage.getItem("b");r=r===null?{}:Yt.deCode(r),r[fi()]=t,localStorage.setItem("b",Yt.enCode(r))}function f0(){let t=localStorage.getItem("b");return t===null?{}:(t=Yt.deCode(t),t=t[fi()],t=t===void 0?{active:1,sort:"<"}:t,t)}function p0(t){localStorage.setItem("c",Yt.enCode(t))}function m0(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Yt.deCode(i);return s||Sn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return Sn(),!1}function _0(t){wn.data=t,localStorage.setItem("q",Yt.enCode(wn.data))}function g0(t,r){wn.data={...wn.data,[t]:r},localStorage.setItem("q",Yt.enCode(wn.data))}function y0(t,r){if(!wn.data){let o=localStorage.getItem("q");o&&(wn.data=Yt.deCode(o))}return t===void 0&&r===void 0?wn.data:t!==void 0&&r===void 0?wn.data[t]:wn.data[t][r]}function v0(t){di.data=t}function h0(t){return di.data[t]}function b0(t){St.payment=t}function x0(){return St.payment}function k0(t){localStorage.setItem("u",Yt.enCode(t))}function w0(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Yt.deCode(t);return r||Sn(),r}else return Sn(),!1}function S0(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Yt.deCode(t);return r||Sn(),r}catch{return{}}else return{}}function C0(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Yt.deCode(i);if(!s)return;St[o]={is:!0,time:s.time,data:s.data}}catch{St[o]={is:!1,time:0,data:{}}}else St[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function j0(t){return St[t]===void 0?(St[t]={data:{},time:0},{data:{},time:0}):St[t]}function R0(t,r){St[t]={data:r.data,time:r.time},localStorage.setItem(t,Yt.enCode(St[t]))}function E0(t,r,o){St[t].time=o,St[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Yt.enCode(St[t]))}const I0={setSSID:n0,getSSID:r0,getPORT:l0,setPORT:i0,setAUTH:a0,getAUTH:o0,Logaut:Sn,Start:t0,setMenu:s0,getMenu:c0,useSort:u0,setSort:d0,getSort:f0,setCompany:p0,getCompany:m0,setSelect:_0,addSelect:g0,getSelect:y0,setApi:v0,getApi:h0,setPayment:b0,getPayment:x0,setUser:k0,getUser:w0,getDefaultModules:e0,getBase:j0,setBase:R0,editBase:E0,loadBase:C0},N0="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",O0=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([O0(N0)],{type:"text/javascript;charset=utf-8"}),I0.getAUTH();var cr={};/**
|
|
351
|
+
* @license React
|
|
352
|
+
* react-jsx-runtime.production.min.js
|
|
353
|
+
*
|
|
354
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
355
|
+
*
|
|
356
|
+
* This source code is licensed under the MIT license found in the
|
|
357
|
+
* LICENSE file in the root directory of this source tree.
|
|
358
|
+
*/var pi;function T0(){if(pi)return cr;pi=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return cr.Fragment=o,cr.jsx=_,cr.jsxs=_,cr}var Tr={};/**
|
|
359
|
+
* @license React
|
|
360
|
+
* react-jsx-runtime.development.js
|
|
361
|
+
*
|
|
362
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
363
|
+
*
|
|
364
|
+
* This source code is licensed under the MIT license found in the
|
|
365
|
+
* LICENSE file in the root directory of this source tree.
|
|
366
|
+
*/var mi;function P0(){return mi||(mi=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
367
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
368
|
+
`),C=l.stack.split(`
|
|
369
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
370
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
371
|
+
|
|
372
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
373
|
+
|
|
374
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
375
|
+
let props = %s;
|
|
376
|
+
<%s {...props} />
|
|
377
|
+
React keys must be passed directly to JSX without using spread:
|
|
378
|
+
let props = %s;
|
|
379
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Tr.Fragment=i,Tr.jsx=lt,Tr.jsxs=st}()),Tr}process.env.NODE_ENV==="production"?T0():P0(),S0();let ya;ya=document.createElement("audio"),ya.setAttribute("autoplay","true"),ya.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);let va={enCode:t=>t,deCode:t=>t};const D0=t=>{va=t},F0=t=>va.enCode(t),L0=t=>va.deCode(t),Mt={enCode:F0,deCode:L0,New:D0},Ct={},_i={},gi={},Cn={};let G0="M06";function Y0(){return G0}function jn(){["a","b","c","d","e","m","u","s","q","p"].forEach(t=>localStorage.removeItem(t)),["f"].forEach(t=>sessionStorage.removeItem(t)),window.location.reload()}function M0(t){t=t.split("/"),Ct.page="Main",Ct.module=t[0],Ct.tab=t[1],Ct.id=0,sessionStorage.setItem("f",Mt.enCode({module:Ct.module,page:Ct.page,tab:Ct.tab,id:Ct.id,time:new Date().getTime()})),_i.page(Ct.page)}function A0(t){return localStorage.setItem("d",t)}function z0(){let t=localStorage.getItem("d");return t!==""&&t!=="undefined"&&t!==null?t:""}function B0(t){return localStorage.setItem("a",t)}function $0(){let t=localStorage.getItem("a");return t!==""&&t!=="undefined"&&t!==null?t:""}function U0(t){localStorage.setItem("p",Mt.enCode(t))}function Z0(){let t=localStorage.getItem("p");if(t!==""&&t!=="undefined"&&t!==null){let r=Mt.deCode(t);return r||jn(),r}else return jn(),!1}function yi(){return Ct.tab}function W0(t){localStorage.setItem("m",Mt.enCode({data:t}))}function X0(){let t=localStorage.getItem("m");if(t!==""&&t!=="undefined"&&t!==null){let r=localStorage.getItem("m"),o=Mt.deCode(r);o||jn();const i=(s,m)=>{let _=m+"";for(;_.length<s;)_="0"+_;return _};return o.data.split(",").map(s=>"M"+i(2,s))}else return jn(),!1}function H0(t){_i.sort=t}function K0(t){let r=localStorage.getItem("b");r=r===null?{}:Mt.deCode(r),r[yi()]=t,localStorage.setItem("b",Mt.enCode(r))}function V0(){let t=localStorage.getItem("b");return t===null?{}:(t=Mt.deCode(t),t=t[yi()],t=t===void 0?{active:1,sort:"<"}:t,t)}function J0(t){localStorage.setItem("c",Mt.enCode(t))}function q0(t,r){var o;let i=localStorage.getItem("c");if(i!==""&&i!=="undefined"&&i!==null){let s=Mt.deCode(i);return s||jn(),t===void 0?s:r?(o=s[t][r])==null?void 0:o.n:s[t]}else return jn(),!1}function Q0(t){Cn.data=t,localStorage.setItem("q",Mt.enCode(Cn.data))}function e1(t,r){Cn.data={...Cn.data,[t]:r},localStorage.setItem("q",Mt.enCode(Cn.data))}function t1(t,r){if(!Cn.data){let o=localStorage.getItem("q");o&&(Cn.data=Mt.deCode(o))}return t===void 0&&r===void 0?Cn.data:t!==void 0&&r===void 0?Cn.data[t]:Cn.data[t][r]}function n1(t){gi.data=t}function r1(t){return gi.data[t]}function a1(t){Ct.payment=t}function o1(){return Ct.payment}function i1(t){localStorage.setItem("u",Mt.enCode(t))}function l1(){let t=localStorage.getItem("u");if(t!==""&&t!=="undefined"&&t!==null){let r=Mt.deCode(t);return r||jn(),r}else return jn(),!1}function s1(){let t=localStorage.getItem("e");if(t!==""&&t!=="undefined"&&t!==null)try{let r=Mt.deCode(t);return r||jn(),r}catch{return{}}else return{}}function c1(t){const r=o=>{let i=localStorage.getItem(o);if(i!==""&&i!=="undefined"&&i!==null)try{let s=Mt.deCode(i);if(!s)return;Ct[o]={is:!0,time:s.time,data:s.data}}catch{Ct[o]={is:!1,time:0,data:{}}}else Ct[o]={is:!1,time:0,data:{}}};t.forEach(o=>r(o))}function u1(t){return Ct[t]===void 0?(Ct[t]={data:{},time:0},{data:{},time:0}):Ct[t]}function d1(t,r){Ct[t]={data:r.data,time:r.time},localStorage.setItem(t,Mt.enCode(Ct[t]))}function f1(t,r,o){Ct[t].time=o,Ct[t].data[r.item][r.name]=r.value,localStorage.setItem(t,Mt.enCode(Ct[t]))}const p1={setSSID:A0,getSSID:z0,getPORT:Z0,setPORT:U0,setAUTH:B0,getAUTH:$0,Logaut:jn,Start:M0,setMenu:W0,getMenu:X0,useSort:H0,setSort:K0,getSort:V0,setCompany:J0,getCompany:q0,setSelect:Q0,addSelect:e1,getSelect:t1,setApi:n1,getApi:r1,setPayment:a1,getPayment:o1,setUser:i1,getUser:l1,getDefaultModules:Y0,getBase:u1,setBase:d1,editBase:f1,loadBase:c1},m1="KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO29ubWVzc2FnZT1hc3luYyBhPT57bGV0IHM9YS5kYXRhLmRhdGEgaW5zdGFuY2VvZiBGb3JtRGF0YT97fTp7IkNvbnRlbnQtdHlwZSI6ImFwcGxpY2F0aW9uL2pzb247Y2hhcnNldD11dGYtOCJ9O3RyeXtsZXQgdD1hd2FpdCBmZXRjaChgJHthLmRhdGEuaG9zdH0ke2EuZGF0YS5saW5rfWAse21ldGhvZDoiUE9TVCIsaGVhZGVyczp7c3NpZDphLmRhdGEuc3NpZCwuLi5zfSxib2R5OmEuZGF0YS5kYXRhIGluc3RhbmNlb2YgRm9ybURhdGE/YS5kYXRhLmRhdGE6SlNPTi5zdHJpbmdpZnkoYS5kYXRhLmRhdGEpfSk7cG9zdE1lc3NhZ2UoYXdhaXQgdC5qc29uKCkpfWNhdGNoKHQpe3Bvc3RNZXNzYWdlKHtzdGF0dXM6ImVycm9yIixkYXRhOiJ3b3JrZXIiLG1lc3NhZ2U6dH0pfX19KSgpOwo=",_1=t=>Uint8Array.from(atob(t),r=>r.charCodeAt(0));typeof self<"u"&&self.Blob&&new Blob([_1(m1)],{type:"text/javascript;charset=utf-8"}),p1.getAUTH();var ur={};/**
|
|
380
|
+
* @license React
|
|
381
|
+
* react-jsx-runtime.production.min.js
|
|
382
|
+
*
|
|
383
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
384
|
+
*
|
|
385
|
+
* This source code is licensed under the MIT license found in the
|
|
386
|
+
* LICENSE file in the root directory of this source tree.
|
|
387
|
+
*/var vi;function g1(){if(vi)return ur;vi=1;var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0};function _(v,p,k){var y,w={},S=null,O=null;k!==void 0&&(S=""+k),p.key!==void 0&&(S=""+p.key),p.ref!==void 0&&(O=p.ref);for(y in p)i.call(p,y)&&!m.hasOwnProperty(y)&&(w[y]=p[y]);if(v&&v.defaultProps)for(y in p=v.defaultProps,p)w[y]===void 0&&(w[y]=p[y]);return{$$typeof:r,type:v,key:S,ref:O,props:w,_owner:s.current}}return ur.Fragment=o,ur.jsx=_,ur.jsxs=_,ur}var Pr={};/**
|
|
388
|
+
* @license React
|
|
389
|
+
* react-jsx-runtime.development.js
|
|
390
|
+
*
|
|
391
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
392
|
+
*
|
|
393
|
+
* This source code is licensed under the MIT license found in the
|
|
394
|
+
* LICENSE file in the root directory of this source tree.
|
|
395
|
+
*/var hi;function y1(){return hi||(hi=1,process.env.NODE_ENV!=="production"&&function(){var t=N,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),v=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),F=Symbol.iterator,P="@@iterator";function D(e){if(e===null||typeof e!="object")return null;var n=F&&e[F]||e[P];return typeof n=="function"?n:null}var I=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(e){{for(var n=arguments.length,a=new Array(n>1?n-1:0),l=1;l<n;l++)a[l-1]=arguments[l];W("error",e,a)}}function W(e,n,a){{var l=I.ReactDebugCurrentFrame,f=l.getStackAddendum();f!==""&&(n+="%s",a=a.concat([f]));var g=a.map(function(d){return String(d)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,g)}}var H=!1,z=!1,B=!1,$=!1,G=!1,V;V=Symbol.for("react.module.reference");function X(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===m||G||e===s||e===k||e===y||$||e===O||H||z||B||typeof e=="object"&&e!==null&&(e.$$typeof===S||e.$$typeof===w||e.$$typeof===_||e.$$typeof===v||e.$$typeof===p||e.$$typeof===V||e.getModuleId!==void 0))}function _e(e,n,a){var l=e.displayName;if(l)return l;var f=n.displayName||n.name||"";return f!==""?a+"("+f+")":a}function K(e){return e.displayName||"Context"}function R(e){if(e==null)return null;if(typeof e.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case o:return"Portal";case m:return"Profiler";case s:return"StrictMode";case k:return"Suspense";case y:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case v:var n=e;return K(n)+".Consumer";case _:var a=e;return K(a._context)+".Provider";case p:return _e(e,e.render,"ForwardRef");case w:var l=e.displayName||null;return l!==null?l:R(e.type)||"Memo";case S:{var f=e,g=f._payload,d=f._init;try{return R(d(g))}catch{return null}}}return null}var T=Object.assign,Y=0,pe,me,ge,ye,ve,he,xe;function ke(){}ke.__reactDisabledLog=!0;function Ye(){{if(Y===0){pe=console.log,me=console.info,ge=console.warn,ye=console.error,ve=console.group,he=console.groupCollapsed,xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Y++}}function Me(){{if(Y--,Y===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:T({},e,{value:pe}),info:T({},e,{value:me}),warn:T({},e,{value:ge}),error:T({},e,{value:ye}),group:T({},e,{value:ve}),groupCollapsed:T({},e,{value:he}),groupEnd:T({},e,{value:xe})})}Y<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ae=I.ReactCurrentDispatcher,oe;function J(e,n,a){{if(oe===void 0)try{throw Error()}catch(f){var l=f.stack.trim().match(/\n( *(at )?)/);oe=l&&l[1]||""}return`
|
|
396
|
+
`+oe+e}}var ie=!1,q;{var Ae=typeof WeakMap=="function"?WeakMap:Map;q=new Ae}function we(e,n){if(!e||ie)return"";{var a=q.get(e);if(a!==void 0)return a}var l;ie=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=ae.current,ae.current=null,Ye();try{if(n){var d=function(){throw Error()};if(Object.defineProperty(d.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(d,[])}catch(j){l=j}Reflect.construct(e,[],d)}else{try{d.call()}catch(j){l=j}e.call(d.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var u=j.stack.split(`
|
|
397
|
+
`),C=l.stack.split(`
|
|
398
|
+
`),h=u.length-1,b=C.length-1;h>=1&&b>=0&&u[h]!==C[b];)b--;for(;h>=1&&b>=0;h--,b--)if(u[h]!==C[b]){if(h!==1||b!==1)do if(h--,b--,b<0||u[h]!==C[b]){var E=`
|
|
399
|
+
`+u[h].replace(" at new "," at ");return e.displayName&&E.includes("<anonymous>")&&(E=E.replace("<anonymous>",e.displayName)),typeof e=="function"&&q.set(e,E),E}while(h>=1&&b>=0);break}}}finally{ie=!1,ae.current=g,Me(),Error.prepareStackTrace=f}var A=e?e.displayName||e.name:"",L=A?J(A):"";return typeof e=="function"&&q.set(e,L),L}function ze(e,n,a){return we(e,!1)}function Be(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function Q(e,n,a){if(e==null)return"";if(typeof e=="function")return we(e,Be(e));if(typeof e=="string")return J(e);switch(e){case k:return J("Suspense");case y:return J("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case p:return ze(e.render);case w:return Q(e.type,n,a);case S:{var l=e,f=l._payload,g=l._init;try{return Q(g(f),n,a)}catch{}}}return""}var U=Object.prototype.hasOwnProperty,Se={},Ce=I.ReactDebugCurrentFrame;function ee(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ce.setExtraStackFrame(a)}else Ce.setExtraStackFrame(null)}function $e(e,n,a,l,f){{var g=Function.call.bind(U);for(var d in e)if(g(e,d)){var u=void 0;try{if(typeof e[d]!="function"){var C=Error((l||"React class")+": "+a+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw C.name="Invariant Violation",C}u=e[d](n,d,l,a,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(h){u=h}u&&!(u instanceof Error)&&(ee(f),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",l||"React class",a,d,typeof u),ee(null)),u instanceof Error&&!(u.message in Se)&&(Se[u.message]=!0,ee(f),x("Failed %s type: %s",a,u.message),ee(null))}}}var Ue=Array.isArray;function le(e){return Ue(e)}function Ze(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,a=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a}}function We(e){try{return je(e),!1}catch{return!0}}function je(e){return""+e}function Re(e){if(We(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ze(e)),je(e)}var Z=I.ReactCurrentOwner,Xe={key:!0,ref:!0,__self:!0,__source:!0},Ee,Ie,se;se={};function He(e){if(U.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Ke(e){if(U.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function Ve(e,n){if(typeof e.ref=="string"&&Z.current&&n&&Z.current.stateNode!==n){var a=R(Z.current.type);se[a]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',R(Z.current.type),e.ref),se[a]=!0)}}function Je(e,n){{var a=function(){Ee||(Ee=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}}function qe(e,n){{var a=function(){Ie||(Ie=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",n))};a.isReactWarning=!0,Object.defineProperty(e,"ref",{get:a,configurable:!0})}}var Qe=function(e,n,a,l,f,g,d){var u={$$typeof:r,type:e,key:n,ref:a,props:d,_owner:g};return u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(u,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(u,"_source",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u};function et(e,n,a,l,f){{var g,d={},u=null,C=null;a!==void 0&&(Re(a),u=""+a),Ke(n)&&(Re(n.key),u=""+n.key),He(n)&&(C=n.ref,Ve(n,f));for(g in n)U.call(n,g)&&!Xe.hasOwnProperty(g)&&(d[g]=n[g]);if(e&&e.defaultProps){var h=e.defaultProps;for(g in h)d[g]===void 0&&(d[g]=h[g])}if(u||C){var b=typeof e=="function"?e.displayName||e.name||"Unknown":e;u&&Je(d,b),C&&qe(d,b)}return Qe(e,u,C,f,l,Z.current,d)}}var ce=I.ReactCurrentOwner,Ne=I.ReactDebugCurrentFrame;function M(e){if(e){var n=e._owner,a=Q(e.type,e._source,n?n.type:null);Ne.setExtraStackFrame(a)}else Ne.setExtraStackFrame(null)}var ue;ue=!1;function de(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Oe(){{if(ce.current){var e=R(ce.current.type);if(e)return`
|
|
400
|
+
|
|
401
|
+
Check the render method of \``+e+"`."}return""}}function tt(e){return""}var Te={};function nt(e){{var n=Oe();if(!n){var a=typeof e=="string"?e:e.displayName||e.name;a&&(n=`
|
|
402
|
+
|
|
403
|
+
Check the top-level render call using <`+a+">.")}return n}}function Pe(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var a=nt(n);if(Te[a])return;Te[a]=!0;var l="";e&&e._owner&&e._owner!==ce.current&&(l=" It was passed a child from "+R(e._owner.type)+"."),M(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',a,l),M(null)}}function De(e,n){{if(typeof e!="object")return;if(le(e))for(var a=0;a<e.length;a++){var l=e[a];de(l)&&Pe(l,n)}else if(de(e))e._store&&(e._store.validated=!0);else if(e){var f=D(e);if(typeof f=="function"&&f!==e.entries)for(var g=f.call(e),d;!(d=g.next()).done;)de(d.value)&&Pe(d.value,n)}}}function rt(e){{var n=e.type;if(n==null||typeof n=="string")return;var a;if(typeof n=="function")a=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===p||n.$$typeof===w))a=n.propTypes;else return;if(a){var l=R(n);$e(a,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!ue){ue=!0;var f=R(n);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",f||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function at(e){{for(var n=Object.keys(e.props),a=0;a<n.length;a++){var l=n[a];if(l!=="children"&&l!=="key"){M(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),M(null);break}}e.ref!==null&&(M(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),M(null))}}var Fe={};function Le(e,n,a,l,f,g){{var d=X(e);if(!d){var u="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(u+=" 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 C=tt();C?u+=C:u+=Oe();var h;e===null?h="null":le(e)?h="array":e!==void 0&&e.$$typeof===r?(h="<"+(R(e.type)||"Unknown")+" />",u=" Did you accidentally export a JSX literal instead of a component?"):h=typeof e,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",h,u)}var b=et(e,n,a,f,g);if(b==null)return b;if(d){var E=n.children;if(E!==void 0)if(l)if(le(E)){for(var A=0;A<E.length;A++)De(E[A],e);Object.freeze&&Object.freeze(E)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else De(E,e)}if(U.call(n,"key")){var L=R(e),j=Object.keys(n).filter(function(ut){return ut!=="key"}),fe=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Fe[L+fe]){var ct=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX:
|
|
404
|
+
let props = %s;
|
|
405
|
+
<%s {...props} />
|
|
406
|
+
React keys must be passed directly to JSX without using spread:
|
|
407
|
+
let props = %s;
|
|
408
|
+
<%s key={someKey} {...props} />`,fe,L,ct,L),Fe[L+fe]=!0}}return e===i?at(b):rt(b),b}}function ot(e,n,a){return Le(e,n,a,!0)}function it(e,n,a){return Le(e,n,a,!1)}var lt=it,st=ot;Pr.Fragment=i,Pr.jsx=lt,Pr.jsxs=st}()),Pr}process.env.NODE_ENV==="production"?g1():y1(),s1();let ha;ha=document.createElement("audio"),ha.setAttribute("autoplay","true"),ha.setAttribute("muted","true"),N.createContext(localStorage.getItem("lang")||navigator.language);const bi=({list:t=[],active:r})=>c.jsx("div",{className:"tabs",children:t.map(o=>c.jsx("div",{onClick:()=>Wu.setTabs(o.id),className:"tab"+(r===o.id?" active":""),children:o.label},o.id))}),v1={List:Wc,Lite:bi},h1=({title:t="",button:r,description:o="",children:i})=>c.jsxs("fieldset",{children:[t&&c.jsxs("legend",{children:[t,r&&c.jsx("div",{role:"button-outline",onClick:()=>r.onClick(),children:r.label})," "]}),c.jsx("ul",{children:i}),o&&c.jsx("article",{children:o})]}),b1={setting:"_setting_dva4m_2"},x1=({children:t})=>c.jsx("div",{className:b1.setting,children:t}),k1=({label:t,children:r})=>{let[o,i]=N.useState(!1);return c.jsxs("li",{"data-item":"accordion",children:[c.jsxs("dl",{onClick:()=>i(!o),children:[c.jsx("dt",{children:t}),c.jsx("dd",{children:c.jsx("div",{"data-close":String(o)})})]}),o&&c.jsx("div",{children:r})]})},w1=({label:t,onClick:r,button:o})=>c.jsx("li",{children:c.jsxs("dl",{children:[c.jsx("dt",{children:t}),c.jsx("dd",{role:"button",onClick:()=>r(),children:o})]})}),xi={Switch:({active:t,onClick:r})=>(t=typeof t=="number"?!!t:t,c.jsx("div",{role:"switch",onClick:()=>{r()},"aria-checked":t?"true":"false"}))},S1={Accordion:k1,Button:w1,Switch:({label:t,onClick:r,active:o})=>c.jsx("li",{children:c.jsxs("dl",{children:[c.jsx("dt",{children:t}),c.jsx("dd",{children:c.jsx(xi.Switch,{onClick:r,active:o})})]})}),Info:({label:t,info:r})=>c.jsx("li",{children:c.jsxs("dl",{children:[c.jsx("dt",{children:t}),c.jsx("dd",{role:"info",children:r})]})}),Select:({label:t,active:r,options:o})=>c.jsx("li",{children:c.jsxs("dl",{children:[c.jsx("dt",{children:t}),c.jsx("dd",{role:"info",children:r})]})}),Component:({label:t,children:r})=>c.jsx("li",{children:c.jsxs("dl",{children:[c.jsx("dt",{children:t}),c.jsx("dd",{children:r})]})}),Node:({label:t,children:r})=>c.jsx("li",{children:c.jsxs("dl",{children:[c.jsx("dt",{children:t}),c.jsx("dd",{children:r})]})})};function ki({list:t,onClick:r,active:o,size:i,view:s}){return c.jsx("nav",{children:c.jsx("ul",{className:[i,s].join(" "),children:t.map(m=>c.jsx(C1,{onClick:r,active:o,label:m.label,link:m.link},m.link))})})}const C1=({onClick:t,label:r,link:o,active:i})=>c.jsx("li",{"tabs-active":String(i===o),onClick:()=>t(o),children:r});ki.defaultProps={size:"M",view:"H"};const j1={Section:h1,Main:x1,Item:S1,Tabs:ki},R1={Icon:kc,Item:Ur,Active:wc},E1={Send:Gs,Line:qa};function I1(){return c.jsx("svg",{viewBox:"0 0 462.86 359.96",children:c.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 N1={Logo:I1,Sprite:Rc,Symbol:Ec},O1={sort:"_sort_1yrvt_1"};let Dr={};function T1(t,r){switch(r.type){case"active":let o="<";return t.active===r.data&&(o=t.sort==="<"?">":"<"),Dr.get({active:r.data,sort:o},!1),Aa({active:r.data,sort:o}),{...t,active:r.data,sort:o};default:throw new Error}}function P1(){const[t,r]=N.useReducer(T1,Yr()===void 0?{active:1,sort:"<"}:Yr());return c.jsxs("div",{className:O1.sort,children:[c.jsx("i",{"data-color":t.active===1?"_506290":"_b5b9cc","data-icon":t.active===1?t.sort==="<"?"F073":"F072":"F071",onClick:()=>r({type:"active",data:1})}),c.jsx("i",{"data-color":t.active===2?"_506290":"_b5b9cc","data-icon":t.active===2?t.sort==="<"?"F066":"F067":"F074",onClick:()=>r({type:"active",data:2})}),c.jsx("i",{"data-color":t.active===3?"_506290":"_b5b9cc","data-icon":t.active===3?t.sort==="<"?"F068":"F069":"F070",onClick:()=>r({type:"active",data:3})})]})}function D1(t){Dr.get=t}function F1(t){Dr.set(t)}function L1(t,r,o){let i=1,s=0,m={},_=50;m[i]=[];let v={},p="s1a";switch(v.s1a=(k,y)=>y.s1-k.s1,v.s1d=(k,y)=>k.s1-y.s1,v.s2a=(k,y)=>k.s2-y.s2,v.s2d=(k,y)=>y.s2-k.s2,v.s3a=(k,y)=>k.s3.localeCompare(y.s3),v.s3d=(k,y)=>y.s3.localeCompare(k.s3),o.active){case 1:p=o.sort===">"?"s1d":"s1a";break;case 2:p=o.sort===">"?"s2d":"s2a";break;case 3:p=o.sort===">"?"s3d":"s3a";break}return r.sort(v[p]).forEach(k=>{s++,s<=_||(i++,s=1,m[i]=[]),m[i].push(t[k.id])}),{data:m}}function G1(t){Dr.count(t)}const Y1={Init:P1,useValue:D1,Set:F1,Run:L1,Count:G1},Fr={},wi={};function M1(t){const[r,o]=N.useState({}),i=async s=>{o(Object.keys(Fr).reduce((m,_)=>(m?m[_]=Fr[_].all:m={},m),{}))};return N.useEffect(()=>{t.forEach(s=>Fr[s]={all:0}),wi.menu=i,i()},[t]),r}function A1(t,r){switch(typeof r){case"number":Fr[t].all+=r,wi.menu();break}}const z1={useMenu:M1,setUpdate:A1};class B1{constructor(r="el",o="db"){Pa(this,"storeName");Pa(this,"_dbp");this.storeName=o,this._dbp=new Promise((i,s)=>{const m=indexedDB.open(r,1);m.onerror=()=>s(m.error),m.onsuccess=()=>i(m.result),m.onupgradeneeded=()=>{m.result.createObjectStore(o)}})}_withIDBStore(r,o){return this._dbp.then(i=>new Promise((s,m)=>{const _=i.transaction(this.storeName,r);_.oncomplete=()=>s(),_.onabort=_.onerror=()=>m(_.error),o(_.objectStore(this.storeName))}))}}let ba,Rt={};const An=()=>(ba||(ba=new B1),ba),Tn=(t,r,o=An())=>o._withIDBStore("readwrite",i=>{Rt[t]=r,i.put(Ge.enCode(r),t)}),Rn=(t,r=An())=>Rt[t]===void 0?new Promise((o,i)=>{let s;r._withIDBStore("readonly",m=>{s=m.get(t)}).then(()=>{if(s.result!==void 0){let m=Ge.deCode(s.result);Rt[t]=m,o(m)}else o({})})}):Rt[t],$1=(t,r=An())=>r._withIDBStore("readwrite",o=>{o.delete(t)}),xa=(t=An())=>t._withIDBStore("readwrite",r=>{r.clear()}),U1={id:async(t,r,o)=>{let i=await Rn(r);if(o!==void 0)o({type:"load",base:i});else return i[t]},get:Rn,set:Tn,add:async(t,r,o,i)=>{let s,m;m=await Rn(o),m[t.id]=t,await Tn(o,m),s!==null&&(s=await Rn(r),s[t.id]=t.eDate,await Tn(r,s)),i!==void 0&&i({type:"load",page:s,base:m})},del:$1,upd:(t,r,o,i=An())=>{if(Rt[t]===void 0)return new Promise((s,m)=>{let _;i._withIDBStore("readonly",v=>{_=v.get(t)}).then(()=>{if(_.result!==void 0){let v=Ge.deCode(_.result);Rt[t]=v,Rt[t][r.id]={...Rt[t][r.id],...r.data},i.put(Ge.enCode(Rt[t]),t),s({})}else s({})})});if(Rt[t][r.id]!==void 0)return Rt[t][r.id]={...Rt[t][r.id],...r.data},o!==void 0&&Rt[o]!==void 0?Rt[o][r.id]!==void 0&&(Rt[o][r.id]=r.data.eDate):Rt[o]=[],delete Rt[t][r.id].$_item,delete Rt[t][r.id].$_send,i._withIDBStore("readwrite",s=>{s.put(Ge.enCode(Rt[t]),t),o!==void 0&&s.put(Ge.enCode(Rt[o]),o)})},key:(t=An())=>{const r=[];return t._withIDBStore("readonly",o=>{(o.openKeyCursor||o.openCursor).call(o).onsuccess=function(){this.result&&(r.push(this.result.key),this.result.continue())}}).then(()=>r)},load:t=>Rt[t],split:(t,r,o=[],i={})=>{let s=o.length!==0,m=[],_=i.sort,v=Object.keys(i).length!==0,p=Object.keys(i),k=Object.keys(t),y=[],w=O=>{let F="";if(o.forEach(P=>{F+=r[O][P]}),v){let P={};p.forEach(D=>{P[D]=r[O][D]});for(let D in _)r[O][_[D]]===void 0&&(xa(),location.reload()),D==="s1"&&(P[D]=new Date(r[O][_[D]]).getTime()),D==="s2"&&(P[D]=r[O][_[D]]),D==="s3"&&(P[D]=r[O][_[D]].replace(/[^a-zа-яё]/gi,"").substring(0,1));m.push({id:O,text:F,...P})}else m.push({id:O,text:F})},S=O=>{};return k.forEach(O=>{y.push(r[O])}),y.forEach(O=>{O===void 0?(xa(),location.reload()):(s&&w(O.id),v&&S(O.id))}),{list:y,search:m,filter:i}},clear:xa,updAll:async(t,r,o,i)=>{let s=await Rn(r),m=await Rn(o);for(let _ in t)m[_]=t[_],s[_]=t[_].eDate;await Tn(r,s),await Tn(o,m),i!==void 0&&i({type:"load",page:s,base:m})},delAll:async(t,r,o,i)=>{let s=await Rn(r),m=await Rn(o);t.forEach(_=>delete s[_]),await Tn(r,s),i!==void 0&&i({type:"load",page:s,base:m})},delList:async(t,r,o)=>{let i=await Rn(r);t.forEach(s=>delete i[s]),await Tn(r,i)},addList:async(t,r,o)=>{let i=await Rn(r);t.forEach(s=>i[s.id]=s.eDate),await Tn(r,i)}},Z1={useKey:(t,r)=>{const o=[];r=r.map(i=>i.charCodeAt(0)),document.onkeydown=function(i){o.push(i.keyCode);for(var s=0;s<r.length;s++)if(o.indexOf(r[s])==-1)return;t(),o.length=0},document.onkeyup=function(i){o.length=0}}},W1={s:"_s_18bde_1",loadingB:"_loadingB_18bde_1",ul:"_ul_18bde_31"};function Si({children:t}){return c.jsx("ul",{className:Ut.ul,children:t})}function X1(t,r){switch(r.type){case"load":return{...t,load:r.load,wait:!1,item:1,data:r.data,list:r.data[1],size:Object.keys(r.data).length};case"update":let o=Object.keys(t.data).length,i=t.item+1;return i=o<i?1:i,t.item===i?t:{...t,wait:t.size===i,item:i,list:[...t.list,...t.data[i]]};case"clear":return{load:!1,list:[],data:{},item:1,wait:!1,size:0};default:throw new Error}}function Ci({list:t,load:r,className:o,...i}){const s=N.useRef(null),[m,_]=N.useReducer(X1,{load:!1,list:[],data:{},item:1,wait:!1,size:0});N.useEffect(()=>{s.current.scrollTop=0,t!==null&&_({type:"load",load:!0,data:t})},[r]);let v=()=>{s.current.scrollHeight-s.current.scrollTop-300<=s.current.clientHeight&&!m.wait&&_({type:"update"})};return c.jsx("div",{className:[W1.s,o].join(" "),ref:s,onScroll:v,children:c.jsx(Si,{"el-empty":"Данные не найдены",children:m.load&&m.list!==void 0?m.list.map(p=>c.jsx(i.item,{data:p},p.id)):c.jsxs("div",{"data-load":"load",children:[c.jsx("i",{}),c.jsx("i",{}),c.jsx("i",{})]})})})}const H1={Widget:vc},ji=({onClick:t,active:r})=>(r=!!r,c.jsx("div",{role:"switch",onClick:()=>t,"aria-checked":`${r?"true":"false"}`}));let Xt={};Xt.KeyDown=t=>{t.key==="Enter"&&t.preventDefault()},Xt.PasteOne=t=>{t.preventDefault(),navigator.clipboard.readText().then(r=>{r=r.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,r)}).catch(r=>{})},Xt.Focus=t=>{t.target.textContent.length===0&&(t.target.innerHTML="<br>")},Xt.Blur=t=>{t.target.scrollLeft=0,t.target.querySelector("br")!==null&&t.target.querySelector("br").remove()};function dr({id:t,value:r,onValue:o,name:i,placeholder:s="",title:m="",error:_="",hide:v=!1,edit:p=!0,active:k=!0,after:y="",show:w=!0,view:S,onBlur:O,onSave:F,className:P=""}){let D=!!(v&&(r===""||r===void 0)),I=G=>{o&&o({value:G.target.textContent,name:i})},x=G=>{G.key==="Enter"&&G.preventDefault()},W=G=>{G.preventDefault(),navigator.clipboard.writeText(G.target.textContent).then(function(){Ln.Copy("Данные в буфер обмене")},function(V){})},H=G=>{};if(!(p&&k)&&!w||!(p&&k)&&D)return"";const z={};z.field="input",P&&(z.className=P);const B={};s&&(B.placeholder=s),p&&k&&(B.edit="");const $=G=>{Xt.Blur(G),F&&F({value:G.target.textContent,name:i})};return c.jsxs("dl",{...z,children:[m?c.jsx("dt",{children:m}):"",c.jsx("dd",{onPaste:H,onInput:I,onBlur:$,onKeyDown:x,onContextMenu:W,contentEditable:p&&k?"plaintext-only":"false",suppressContentEditableWarning:!0,...B,children:r}),_?c.jsx("em",{children:_}):""]})}function Ri({onClick:t,onSend:r,name:o,onRef:i}){let[s,m]=N.useState(!1);const _=()=>{if(t)return t();s||(m(!0),r&&r(m))};return c.jsx("button",{ref:i,"data-form":"button",className:s?"btn await":"btn confirm pointer",onClick:_,children:s?"Ожидайте":o})}function Ei({value:t,onValue:r,onActive:o,data:i,name:s,view:m,edit:_=!0,active:v=!0,placeholder:p="Введите сообщение"}){const k=N.useRef({value:t,timerId:null,shift:!1,send:!0}),y=()=>{k.current.value.length>0?k.current.send&&(o(!0),k.current.send=!1,k.current.timerId=setTimeout(()=>{k.current.send=!0},3e3)):o(!1)},w=I=>{k.current.value=I.target.textContent,y()},S=I=>{I.keyCode===16&&(k.current.shift=!0),I.keyCode===13&&!k.current.shift&&(I.preventDefault(),k.current.value.length!==0&&(I.target.textContent="",i&&i(k.current.value),r&&r(k.current.value),k.current.value="",o(!1)))},O=I=>{I.keyCode===16&&(k.current.shift=!1)},F=I=>{I.preventDefault(),navigator.clipboard.readText().then(x=>{window.document.execCommand("insertText",!1,x)}).catch(x=>{})},P=()=>{o(!1)},D={spellCheck:"true"};return p&&(D.placeholder=p),_&&v&&(D.contentEditable="plaintext-only"),c.jsx("dl",{"data-form":"message",children:c.jsx("dd",{onPaste:F,onInput:w,onKeyUp:O,onKeyDown:S,onBlur:P,...D,suppressContentEditableWarning:!0,children:t})})}function Ii(t){let r=()=>t.title?c.jsx("dt",{children:t.title}):"",o=t.edit!==void 0?t.edit:!0,i=t.active!==void 0?t.active:!0,s=t.placeholder!==void 0?t.placeholder:"",m=p=>{t.onValue({value:p.target.textContent,name:t.name})},_=p=>{p.key==="Enter"&&p.preventDefault()},v=p=>{p.preventDefault(),navigator.clipboard.readText().then(k=>{window.document.execCommand("insertText",!1,k)}).catch(k=>{})};return c.jsxs("dl",{"data-form":"input","type-data":"generator",children:[r(),c.jsx("dd",{onPaste:v,onInput:m,onKeyDown:_,contentEditable:o&&i?"plaintext-only":"false","data-placeholder":s,suppressContentEditableWarning:!0,children:t.value})]})}function Ni({value:t,onValue:r,placeholder:o="",name:i}){let s=(O,F)=>Number(Math.round(O+Math.random()*(F-O))),m=N.useRef(null),_=N.useRef(null),v=s(1e4,99999),p=O=>{O.key!=="Backspace"&&(O.key==="Enter"&&O.preventDefault(),O.target.textContent.length===5&&O.preventDefault(),/\d/.test(O.key)||O.preventDefault())},k=O=>{r({value:Number(O.target.textContent)===v,name:i})},y=O=>{O.preventDefault(),navigator.clipboard.readText().then(F=>{window.document.execCommand("insertText",!1,F.replace(/(\r\n|\n|\r)/gm," ").replace(/[^0-9]/g,"").substring(0,5))}).catch(F=>{})};N.useEffect(()=>{const O=m.current,F=O.getContext("2d");F.clearRect(0,0,O.width,O.height),F.font="30px brush script mt",F.fillStyle="#eee",F.textAlign="center",F.fillText(v,50,27),_.current.textContent=""},[v]);const w={};w.field="captcha";const S={};return o&&(S.placeholder=o),c.jsxs("dl",{...w,children:[c.jsx("dd",{ref:_,onPaste:y,onInput:k,onBlur:Xt.Blur,onKeyDown:p,contentEditable:"plaintext-only",suppressContentEditableWarning:!0,...S}),c.jsx("canvas",{ref:m,width:"100",height:"35"})]})}function Oi({className:t,title:r,error:o,edit:i=!0,real:s,onValue:m,empty:_,name:v}){let p={n1:"",n2:"",n3:"",n4:"",n5:"",n6:"",code:""},k=P=>{if(P.preventDefault(),!i)return;P.target.textContent=P.target.textContent.slice(-1).replace(/[^+\d]/g,"");let D=window.getSelection(),I=P.target.textContent.length;if(p[P.target.id]=P.target.textContent,p.code=p.n1+""+p.n2+p.n3+p.n4+p.n5+p.n6,D.collapse(P.target.firstChild,1),I===0){P.target.blur(),P.target.focus();return}P.target.nextSibling!=null&&P.target.nextSibling.focus()},y=P=>{if(i&&(P.key==="Enter"&&P.preventDefault(),P.key==="Backspace")){if(P.preventDefault(),P.target.textContent="",p[P.target.id]="",P.target.previousSibling!=null){let D=P.target.previousSibling.id.slice(1);P.target.previousSibling.textContent="",p["n"+D]="",P.target.previousSibling.focus()}p.code=p.n1+""+p.n2+p.n3+p.n4+p.n5+p.n6}},w=P=>{if(i){if(s)m&&m({value:p.code,name:v});else if(p.code.length===6&&(m&&m({value:p.code,name:v}),_)){p={n1:"",n2:"",n3:"",n4:"",n5:"",n6:"",code:""};for(let D=1;D<=6;D++){let I=document.getElementById("n"+D);I&&(I.textContent="")}}}},S=P=>{P.target.textContent=""},O=P=>{P.preventDefault(),navigator.clipboard.readText().then(D=>{let I=D.split("");for(let x=1;x<=I.length;x++){let W=document.getElementById("n"+x);W&&(W.textContent=I[x-1])}}).catch(D=>{})};const F={};return F.field="code",t&&(F.className=t),c.jsxs("dl",{...F,children:[r?c.jsx("dt",{children:r}):"",c.jsxs("div",{children:[c.jsx("dd",{id:"n1",onKeyDown:y,onKeyUp:w,onFocus:S,onPaste:O,onInput:k,contentEditable:!0}),c.jsx("dd",{id:"n2",onKeyDown:y,onKeyUp:w,onFocus:S,onPaste:O,onInput:k,contentEditable:!0}),c.jsx("dd",{id:"n3",onKeyDown:y,onKeyUp:w,onFocus:S,onPaste:O,onInput:k,contentEditable:!0}),c.jsx("dd",{id:"n4",onKeyDown:y,onKeyUp:w,onFocus:S,onPaste:O,onInput:k,contentEditable:!0}),c.jsx("dd",{id:"n5",onKeyDown:y,onKeyUp:w,onFocus:S,onPaste:O,onInput:k,contentEditable:!0}),c.jsx("dd",{id:"n6",onKeyDown:y,onKeyUp:w,onFocus:S,onPaste:O,onInput:k,contentEditable:!0})]}),o?c.jsx("em",{children:o}):""]})}function Ti(t){let r=()=>t.title?c.jsx("dt",{children:t.title}):"",o=()=>t.error?c.jsx("em",{children:t.error}):"";t.edit!==void 0&&t.edit,t.active!==void 0&&t.active;let[i,s]=N.useState(t.value),m=_=>{let v=_.target.getAttribute("set-color");s(v),t.onValue({value:v,name:t.name})};return c.jsx(c.Fragment,{children:t.view==="icon"?c.jsx("i",{"data-icon":"F043"}):c.jsxs("dl",{children:[r(),c.jsxs("dd",{"el-val":i,children:[c.jsx("em",{onClick:m,"set-color":"0"}),c.jsx("em",{onClick:m,"set-color":"1"}),c.jsx("em",{onClick:m,"set-color":"2"}),c.jsx("em",{onClick:m,"set-color":"3"}),c.jsx("em",{onClick:m,"set-color":"4"}),c.jsx("em",{onClick:m,"set-color":"5"})]}),o()]})})}const En={o:"_o_66f7n_1",c:"_c_66f7n_11",as:"_as_66f7n_87",ap:"_ap_66f7n_90"};function ka(t){let r=()=>t.title?c.jsx("dt",{children:t.title}):"",o=()=>t.error?c.jsx("em",{children:t.error}):"",i=t.edit!==void 0?t.edit:!0,s=t.active!==void 0?t.active:!0,m=t.placeholder!==void 0?t.placeholder:"",[_,v]=N.useState(t.value===void 0?new Date:t.value),p=!i&&s;N.useEffect(()=>{v(t.value===void 0?new Date:t.value)},[t.value]);let k=O=>{v(O),t.onValue({value:O,name:t.name})},y=O=>{const F=O.target.getBoundingClientRect(),P=F.left,D=F.top;Jt.setListener("form",c.jsx(K1,{position:{x:P,y:D},onValue:k,date:_},new Date().getTime()))};const w={};w.field="input";const S={};return m&&(S.placeholder=m),p?c.jsx(c.Fragment,{}):c.jsx(c.Fragment,{children:t.view==="icon"?c.jsx("i",{"data-icon":"F043",className:"pointer","data-color":"_b5b9cc :506290",onClick:y}):c.jsxs("dl",{...w,children:[r(),c.jsx("dd",{onClick:y,...S,"data-edit":(i&&s)+"",children:ft.Date(_,"dd.mm.yyyy")}),o()]})})}const K1=t=>{let[r,o]=N.useState(!0),i=new Date,s=new Date(t.date),m={y:parseInt(i.getFullYear()),d:parseInt(i.getDate()),m:parseInt(i.getMonth())+1},_={y:parseInt(s.getFullYear()),d:parseInt(s.getDate()),m:parseInt(s.getMonth())+1},[v,p]=N.useState({y:_.y,m:_.m}),k=z=>{let B=z.getDay();return B===0&&(B=7),B-1},y=["пн","вт","ср","чт","пт","сб","вс"],w=v.m-1,S=new Date(v.y,w),O=[];for(let z=0;z<k(S);z++)O.push(0);for(;S.getMonth()===w;)O.push(S.getDate()),S.setDate(S.getDate()+1);let F=()=>{o(!1)},P=()=>{x(v.m+1,v.y)},D=()=>{x(v.m-1,v.y)},I=z=>{t.onValue(v.y+"-"+ft.Number(2,v.m)+"-"+ft.Number(2,z)),F()},x=(z,B)=>{B=z>12?B+1:z<1?B-1:B,z=z>12?1:z<1?12:z,p({y:B,m:z})},W=window.innerHeight-t.position.y+33<320?t.position.y-312:t.position.y+33,H=window.innerWidth-t.position.x<265?t.position.x-235:t.position.x;return c.jsx(c.Fragment,{children:r?c.jsxs(c.Fragment,{children:[c.jsx("div",{className:En.o,onClick:()=>F()},new Date().getTime()),c.jsxs("div",{className:En.c,style:{top:W+"px",left:H+"px"},children:[c.jsxs("s",{children:[c.jsx("i",{onClick:D,children:c.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),c.jsxs("h2",{children:[ft.Month(v.m).name," ",v.y]}),c.jsx("i",{onClick:P,children:c.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),c.jsxs("div",{"grid-calendar":"",children:[y.map((z,B)=>c.jsx("p",{children:z},"v"+B)),O.map((z,B)=>c.jsx("span",{children:z!==0?c.jsx("b",{color:m.y===v.y&&m.m===v.m&&m.d===z?"_FFEB3B":"",onClick:()=>I(z),children:z}):c.jsx("p",{})},B))]})]})]}):""})};function wa({value:t,onValue:r,name:o,placeholder:i="",title:s,error:m,hide:_=!1,edit:v=!0,show:p=!0,active:k=!0,after:y="",view:w,modal:S,module:O,options:F,className:P}){let[D,I]=N.useState(t),x=z=>{if(!(v&&k)||!S)return;let B=S.split(".");Vn.Open(B[0],B[1],{callback:$=>{r&&r({value:$,name:o}),I($)},onValue:r,options:F,name:o,value:t})};const W={};W.field="input",P&&(W.className=P);const H={};return i&&(H.placeholder=i),_?c.jsx(c.Fragment,{}):c.jsxs("dl",{...W,children:[s&&c.jsx("dt",{children:s}),c.jsx("dd",{...H,onClick:x,edit:(v&&k)+"","data-after":y,children:D}),m&&c.jsx("em",{children:m})]})}function Sa({value:t,onValue:r,name:o,placeholder:i="",title:s="",error:m="",hide:_=!1,edit:v=!0,active:p=!0,after:k="",show:y=!0,course:w=100,view:S,onBlur:O,type:F,onSave:P,className:D=""}){let I=!!(_&&(t===""||t===void 0));t=ft.isNumeric(t)?Number(t)/w:0;let x=X=>F==="multi"?X.replace(/[^+\d.+-]/g,""):X.replace(/[^+\d.]/g,""),W=(X,_e)=>{let K=document.createRange(),R=window.getSelection();K.setStart(_e.childNodes[0],X),K.collapse(!0),R.removeAllRanges(),R.addRange(K),_e.focus()},H=X=>{r==null||r({value:x(X.target.textContent)*w,name:o}),X.target.textContent=x(X.target.textContent),X.target.textContent.length>0&&W(X.target.textContent.length,X.target)},z=X=>{Xt.Blur(X),X.target.textContent===""&&(X.target.textContent=0),P==null||P({value:x(X.target.textContent)*w,name:o}),r==null||r({value:x(X.target.textContent)*w,name:o}),X.target.textContent=ft.Money(X.target.textContent)},B=X=>{X.target.textContent=x(X.target.textContent)},$=X=>{X.key==="Enter"&&X.preventDefault()},G=X=>{X.preventDefault(),navigator.clipboard.readText().then(_e=>{_e=_e.replace(/^\s*/,"").replace(/\s*$/,""),window.document.execCommand("insertText",!1,_e)}).catch(_e=>{})};if(!(v&&p)&&!y||!(v&&p)&&I)return"";const V={};return V.field="input",D&&(V.className=D),c.jsxs("dl",{...V,children:[s?c.jsx("dt",{children:s}):"",c.jsx("dd",{onInput:H,onPaste:G,onBlur:z,onKeyDown:$,onFocus:B,contentEditable:v&&p?"plaintext-only":"false",suppressContentEditableWarning:!0,"e-after":k,children:ft.Money(t)}),m?c.jsx("em",{children:m}):""]})}function Pi({value:t,onValue:r,name:o,view:i,error:s,edit:m=!0,active:_=!0,title:v,placeholder:p="",className:k,after:y}){let[w,S]=N.useState(t);N.useEffect(()=>{S(t)},[t]);let O=D=>{S(D),r&&r({value:D,name:o})},F=D=>{if(!m||!_)return;const I=D.target.getBoundingClientRect(),x=I.left,W=I.top;Jt.setListener("form",c.jsx(V1,{position:{x,y:W},onValue:O,date:w},new Date().getTime()))};const P={};return p&&(P.placeholder=p),i==="icon"?c.jsx("i",{"data-icon":"F043",onClick:F}):c.jsxs("dl",{children:[v&&c.jsx("dt",{children:v}),c.jsx("dd",{onClick:F,...P,children:ft.Date(w,"mm.yyyy")}),s&&c.jsx("em",{children:s})]})}const V1=t=>{let[r,o]=N.useState(!0),i=new Date,s=new Date(t.date),m={y:parseInt(i.getFullYear()),m:parseInt(i.getMonth())+1},_={y:parseInt(s.getFullYear()),m:parseInt(s.getMonth())+1},[v,p]=N.useState(_.y),k=()=>{o(!1)},y=()=>{p(v+1)},w=()=>{p(v-1)},S=I=>{t.onValue(v+"-"+ft.Number(2,I)),k()},O=I=>m.y===_.y&&m.m===I?"_FFEB3B":"",F=Array(12).fill("").map((I,x)=>x+1),P=window.innerHeight-t.position.y+33<320?t.position.y-312:t.position.y+33,D=window.innerWidth-t.position.x<265?t.position.x-235:t.position.x;return c.jsx(c.Fragment,{children:r?c.jsxs(c.Fragment,{children:[c.jsx("div",{className:En.o,onClick:()=>k()},new Date().getTime()),c.jsxs("div",{className:En.c,style:{top:P+"px",left:D+"px"},children:[c.jsxs("s",{children:[c.jsx("i",{onClick:w,children:c.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"m15.09 4.594-7.646 6.553a1.126 1.126 0 0 0 0 1.708l7.647 6.552c.73.625 1.857.107 1.857-.854V5.447c0-.961-1.127-1.48-1.857-.853Z"})})}),c.jsx("h2",{children:v}),c.jsx("i",{onClick:y,children:c.jsx("svg",{width:"16",height:"16",fill:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{d:"m8.91 19.406 7.646-6.552a1.125 1.125 0 0 0 0-1.709L8.91 4.593c-.73-.625-1.857-.107-1.857.854v13.107c0 .96 1.127 1.479 1.857.852Z"})})})]}),c.jsx("div",{"grid-month":"",children:F.map((I,x)=>c.jsx("span",{onClick:()=>{S(I)},color:O(I),children:c.jsx("b",{children:ft.Month(I).abc})},x))})]})]}):""})};function Di(t){let r=()=>t.title?c.jsx("dt",{children:t.title}):"",o=()=>t.error?c.jsx("em",{children:t.error}):"",[i,s]=N.useState(!1),m=t.edit!==void 0?t.edit:!0,_=t.active!==void 0?t.active:!0,p=!!(t.hide&&(t.value===""||t.value===void 0))&&!(m&&_);i=m?!0:i;let k=t.placeholder!==void 0?t.placeholder:"",y=D=>{t.onValue&&t.onValue({value:D.target.innerText,name:t.name})},w=D=>{D.preventDefault(),navigator.clipboard.readText().then(I=>{window.document.execCommand("insertText",!1,I)}).catch(I=>{})},S=D=>{m||s(!i)};const O=D=>{t.onSave&&t.onSave({value:D.target.innerText,name:t.name})},F={};F.field="notes",t.className&&(F.className=t.className);const P={};return k&&(P.placeholder=k),i&&(P.open=""),m&&_&&(P.edit=""),p?c.jsx(c.Fragment,{}):c.jsxs("dl",{...F,children:[r(),c.jsx("dd",{onPaste:w,onInput:y,onBlur:O,contentEditable:m&&_?"plaintext-only":"false",...P,onDoubleClick:S,suppressContentEditableWarning:!0,children:t.value}),o()]})}function Ca({onValue:t,onSave:r,active:o,max:i,edit:s,title:m,error:_,show:v,hide:p,value:k,placeholder:y,className:w,name:S,after:O,view:F}){s=s!==void 0?s:!0,o=o!==void 0?o:!0,p=!!(p&&(k===""||k===void 0))&&!(s&&o),y=y!==void 0?y:"",i=i!==void 0?i:99;let D=!1,I=G=>{t==null||t({value:G.target.textContent,name:S})},x=G=>{if(!(D&&G.which===86)){if(G.which===17||G.which===91)return D=!0;G.key!=="Backspace"&&(G.target.textContent.length===i&&G.preventDefault(),G.key==="Enter"&&G.preventDefault(),isNaN(parseInt(String.fromCharCode(G.which)))&&G.preventDefault())}},W=G=>{if(G.which===17||G.which===91)return D=!1},H=G=>{G.preventDefault(),navigator.clipboard.readText().then(V=>{V=V.replace(/\D/g,""),window.document.execCommand("insertText",!1,""+V.replace(/\D/g,""))}).catch(V=>{})};const z=G=>{Xt.Blur(G),r==null||r({value:G.target.textContent,name:S})},B={};B.field="input",w&&(B.className=w);let $={};return s&&o?($.edit="true",$.contentEditable="plaintext-only"):$.contentEditable="false",y&&($.placeholder=y),O&&($.after=O),p?c.jsx(c.Fragment,{}):c.jsxs("dl",{...B,children:[m&&c.jsx("dt",{children:m}),c.jsx("dd",{...$,onPaste:H,onInput:I,onBlur:z,onKeyDown:x,onKeyUp:W,suppressContentEditableWarning:!0,children:k}),_&&c.jsx("em",{children:_})]})}function Fi({value:t,onValue:r,name:o,placeholder:i="",className:s,title:m,error:_,edit:v=!0,active:p=!0,reload:k=!1,native:y=!1,after:w=""}){let S=I=>{r&&r({value:I.target.textContent,name:o,reload:k})},O=I=>{I.key==="Enter"&&I.preventDefault()},F=I=>{I.preventDefault(),navigator.clipboard.readText().then(x=>{window.document.execCommand("insertText",!1,x.replace(/(\r\n|\n|\r)/gm," "))}).catch(x=>{})};const P={};P.field="password",s&&(P.className=s);const D={};return i&&(D.placeholder=i),y?"":c.jsxs("dl",{...P,children:[m?c.jsx("dt",{children:m}):"",c.jsx("dd",{onPaste:F,onInput:S,onKeyDown:O,onBlur:Xt.Blur,contentEditable:v&&p?"plaintext-only":"false",...D,suppressContentEditableWarning:!0,children:t}),_?c.jsx("em",{children:_}):""]})}const ja={0:{name:"Heard Island and Mcdonald Islands",dial_code:"+0",code:"HM",mask:"+0(___) ___-__-__"},1:{name:"United States",dial_code:"+1",code:"US",mask:"+1(___) ___-__-__"},7:{name:"Russia",dial_code:"+7",code:"RU",mask:"+7(___) ___-__-__"},20:{name:"Egypt",dial_code:"+20",code:"EG",mask:"+20(___) ___-__-__"},27:{name:"South Africa",dial_code:"+27",code:"ZA",mask:"+27(___) __-__-__"},30:{name:"Greece",dial_code:"+30",code:"GR",mask:"+30(___) ___-__-__"},31:{name:"Netherlands",dial_code:"+31",code:"NL",mask:"+31(___) __-__-__"},32:{name:"Belgium",dial_code:"+32",code:"BE",mask:"+32(___) __-__-__"},33:{name:"France",dial_code:"+33",code:"FR",mask:"+33(___) __-__-__"},34:{name:"Spain",dial_code:"+34",code:"ES",mask:"+34(___) __-__-__"},36:{name:"Hungary",dial_code:"+36",code:"HU",mask:"+36(___) __-__-__"},39:{name:"Italy",dial_code:"+39",code:"IT",mask:"+39(___) ___-__-__"},40:{name:"Romania",dial_code:"+40",code:"RO",mask:"+40(___) __-__-__"},41:{name:"Switzerland",dial_code:"+41",code:"CH",mask:"+41(___) __-__-__"},43:{name:"Austria",dial_code:"+43",code:"AT",mask:"+43(__) ___-__-__"},44:{name:"United Kingdom",dial_code:"+44",code:"GB",mask:"+44(___) ___-__-__"},45:{name:"Denmark",dial_code:"+45",code:"DK",mask:"+45(__) __-__-__"},46:{name:"Sweden",dial_code:"+46",code:"SE",mask:"+46(___) __-__-__"},47:{name:"Svalbard and Jan Mayen",dial_code:"+47",code:"SJ",mask:"+47(__) __-__-__"},48:{name:"Poland",dial_code:"+48",code:"PL",mask:"+48(__) __-__-__"},49:{name:"Germany",dial_code:"+49",code:"DE",mask:"+49(___) ___-__-__"},51:{name:"Peru",dial_code:"+51",code:"PE",mask:"+51(___) __-__-__"},52:{name:"Mexico",dial_code:"+52",code:"MX",mask:"+52(__-__) ___-__-__"},53:{name:"Cuba",dial_code:"+53",code:"CU",mask:"+53(__) __-__-__"},54:{name:"Argentina",dial_code:"+54",code:"AR",mask:"+54(__-__) ___-__-__"},55:{name:"Brazil",dial_code:"+55",code:"BR",mask:"+55(___) ___-__-__"},56:{name:"Chile",dial_code:"+56",code:"CL",mask:"+56(___) __-__-__"},57:{name:"Colombia",dial_code:"+57",code:"CO",mask:"+57(___) ___-__-__"},58:{name:"Venezuela, Bolivarian Republic of Venezuela",dial_code:"+58",code:"VE",mask:"+58(___) ___-__-__"},60:{name:"Malaysia",dial_code:"+60",code:"MY",mask:"+60(___) __-__-__"},61:{name:"Cocos (Keeling) Islands",dial_code:"+61",code:"CC",mask:"+61(___) ___-__-__"},62:{name:"Indonesia",dial_code:"+62",code:"ID",mask:"+62(___) __-__-__"},63:{name:"Philippines",dial_code:"+63",code:"PH",mask:"+63(___) ___-__-__"},64:{name:"Pitcairn",dial_code:"+64",code:"PN",mask:"+64(___) __-__-__"},65:{name:"Singapore",dial_code:"+65",code:"SG",mask:"+65(__) __-__-__"},66:{name:"Thailand",dial_code:"+66",code:"TH",mask:"+66(___) __-__-__"},77:{name:"Kazakhstan",dial_code:"+77",code:"KZ",mask:"+77(__) ___-__-__"},81:{name:"Japan",dial_code:"+81",code:"JP",mask:"+81(___) ___-__-__"},82:{name:"Korea, Republic of South Korea",dial_code:"+82",code:"KR",mask:"+82(___) ___-__-__"},84:{name:"Vietnam",dial_code:"+84",code:"VN",mask:"+84(___) __-__-__"},86:{name:"China",dial_code:"+86",code:"CN",mask:"+86(__-__) ___-__-__"},90:{name:"Turkey",dial_code:"+90",code:"TR",mask:"+90(___) ___-__-__"},91:{name:"India",dial_code:"+91",code:"IN",mask:"+91(___) ___-__-__"},92:{name:"Pakistan",dial_code:"+92",code:"PK",mask:"+92(___) ___-__-__"},93:{name:"Afghanistan",dial_code:"+93",code:"AF",mask:"+93(__) ___-__-__"},94:{name:"Sri Lanka",dial_code:"+94",code:"LK",mask:"+94(___) __-__-__"},95:{name:"Myanmar",dial_code:"+95",code:"MM",mask:"+95(___) ___-__-__"},98:{name:"Iran, Islamic Republic of Persian Gulf",dial_code:"+98",code:"IR",mask:"+98(___) ___-__-__"},211:{name:"South Sudan",dial_code:"+211",code:"SS",mask:"+211(___) ___-__-__"},212:{name:"Morocco",dial_code:"+212",code:"MA",mask:"+212(___) __-__-__"},213:{name:"Algeria",dial_code:"+213",code:"DZ",mask:"+213(__) ___-__-__"},216:{name:"Tunisia",dial_code:"+216",code:"TN",mask:"+216(__) __-__-__"},218:{name:"Libyan Arab Jamahiriya",dial_code:"+218",code:"LY",mask:"+218(___) ___-__-__"},220:{name:"Gambia",dial_code:"+220",code:"GM",mask:"+220(___) __-__"},221:{name:"Senegal",dial_code:"+221",code:"SN",mask:"+221(___) __-__-__"},222:{name:"Mauritania",dial_code:"+222",code:"MR",mask:"+222(__) __-__-__"},223:{name:"Mali",dial_code:"+223",code:"ML",mask:"+223(__) __-__-__"},224:{name:"Guinea",dial_code:"+224",code:"GN",mask:"+224(__) __-__-__"},225:{name:"Cote d'Ivoire",dial_code:"+225",code:"CI",mask:"+225(__) __-__-__"},226:{name:"Burkina Faso",dial_code:"+226",code:"BF",mask:"+226(__) __-__-__"},227:{name:"Niger",dial_code:"+227",code:"NE",mask:"+227(__) __-__-__"},228:{name:"Togo",dial_code:"+228",code:"TG",mask:"+228(__) __-__-__"},229:{name:"Benin",dial_code:"+229",code:"BJ",mask:"+229(__) __-__-__"},230:{name:"Mauritius",dial_code:"+230",code:"MU",mask:"+230(___) __-__"},231:{name:"Liberia",dial_code:"+231",code:"LR",mask:"+231(___) __-__"},232:{name:"Sierra Leone",dial_code:"+232",code:"SL",mask:"+232(__) __-__-__"},233:{name:"Ghana",dial_code:"+233",code:"GH",mask:"+233(___) __-__-__"},234:{name:"Nigeria",dial_code:"+234",code:"NG",mask:"+234(___) ___-__-__"},235:{name:"Chad",dial_code:"+235",code:"TD",mask:"+235(__) __-__-__"},236:{name:"Central African Republic",dial_code:"+236",code:"CF",mask:"+236(__) __-__-__"},237:{name:"Cameroon",dial_code:"+237",code:"CM",mask:"+237(__) __-__-__"},238:{name:"Cape Verde",dial_code:"+238",code:"CV",mask:"+238(___) __-__"},239:{name:"Sao Tome and Principe",dial_code:"+239",code:"ST",mask:"+239(___) ___-__-__"},240:{name:"Equatorial Guinea",dial_code:"+240",code:"GQ",mask:"+240(___) __-__-__"},241:{name:"Gabon",dial_code:"+241",code:"GA",mask:"+241(__) __-__-__"},242:{name:"Congo",dial_code:"+242",code:"CG",mask:"+242(___) __-__-__"},243:{name:"Congo, The Democratic Republic of the Congo",dial_code:"+243",code:"CD",mask:"+243(___) ___-__-__"},244:{name:"Angola",dial_code:"+244",code:"AO",mask:"+244(__) ___-__-__"},245:{name:"Guinea-Bissau",dial_code:"+245",code:"GW",mask:"+245(___) __-__"},246:{name:"British Indian Ocean Territory",dial_code:"+246",code:"IO",mask:"+246(___) ___-__-__"},248:{name:"Seychelles",dial_code:"+248",code:"SC",mask:"+248(___) ___-__-__"},249:{name:"Sudan",dial_code:"+249",code:"SD",mask:"+249(___) __-__-__"},250:{name:"Rwanda",dial_code:"+250",code:"RW",mask:"+250(___) __-__-__"},251:{name:"Ethiopia",dial_code:"+251",code:"ET",mask:"+251(___) __-__-__"},252:{name:"Somalia",dial_code:"+252",code:"SO",mask:"+252(___) ___-__-__"},253:{name:"Djibouti",dial_code:"+253",code:"DJ",mask:"+253(___) ___-__-__"},254:{name:"Kenya",dial_code:"+254",code:"KE",mask:"+254(___) __-__-__"},255:{name:"Tanzania, United Republic of Tanzania",dial_code:"+255",code:"TZ",mask:"+255(___) __-__-__"},256:{name:"Uganda",dial_code:"+256",code:"UG",mask:"+256(___) __-__-__"},257:{name:"Burundi",dial_code:"+257",code:"BI",mask:"+257(__) __-__-__"},258:{name:"Mozambique",dial_code:"+258",code:"MZ",mask:"+258(___) __-__-__"},260:{name:"Zambia",dial_code:"+260",code:"ZM",mask:"+260(___) __-__-__"},261:{name:"Madagascar",dial_code:"+261",code:"MG",mask:"+261(___) __-__-__"},262:{name:"Reunion",dial_code:"+262",code:"RE",mask:"+262(___) __-__-__"},263:{name:"Zimbabwe",dial_code:"+263",code:"ZW",mask:"+263(___) __-__-__"},264:{name:"Namibia",dial_code:"+264",code:"NA",mask:"+264(___) __-__-__"},265:{name:"Malawi",dial_code:"+265",code:"MW",mask:"+265(___) __-__-__"},266:{name:"Lesotho",dial_code:"+266",code:"LS",mask:"+266(__) __-__-__"},267:{name:"Botswana",dial_code:"+267",code:"BW",mask:"+267(__) __-__-__"},268:{name:"Swaziland",dial_code:"+268",code:"SZ",mask:"+268(___) ___-__-__"},269:{name:"Comoros",dial_code:"+269",code:"KM",mask:"+269(___) __-__"},290:{name:"Saint Helena, Ascension and Tristan Da Cunha",dial_code:"+290",code:"SH",mask:"+290(___) ___-__-__"},291:{name:"Eritrea",dial_code:"+291",code:"ER",mask:"+291(___) ___-__-__"},297:{name:"Aruba",dial_code:"+297",code:"AW",mask:"+297(_) __-__-__"},298:{name:"Faroe Islands",dial_code:"+298",code:"FO",mask:"+298(__) __-__"},299:{name:"Greenland",dial_code:"+299",code:"GL",mask:"+299(__) __-__"},345:{name:"Cayman Islands",dial_code:"+ 345",code:"KY",mask:"+345(___) ___-__-__"},350:{name:"Gibraltar",dial_code:"+350",code:"GI",mask:"+350(__) __-__-__"},351:{name:"Portugal",dial_code:"+351",code:"PT",mask:"+351(___) __-__-__"},352:{name:"Luxembourg",dial_code:"+352",code:"LU",mask:"+352(___) __-__-__"},353:{name:"Ireland",dial_code:"+353",code:"IE",mask:"+353(___) __-__-__"},354:{name:"Iceland",dial_code:"+354",code:"IS",mask:"+354(___) __-__"},355:{name:"Albania",dial_code:"+355",code:"AL",mask:"+355(__) ___-__-__"},356:{name:"Malta",dial_code:"+356",code:"MT",mask:"+356(__) __-__-__"},357:{name:"Cyprus",dial_code:"+357",code:"CY",mask:"+357(__) __-__-__"},358:{name:"Finland",dial_code:"+358",code:"FI",mask:"+358(___) __-__-__"},359:{name:"Bulgaria",dial_code:"+359",code:"BG",mask:"+359(___) __-__-__"},370:{name:"Lithuania",dial_code:"+370",code:"LT",mask:"+370(_) ___-__-__"},371:{name:"Latvia",dial_code:"+371",code:"LV",mask:"+371(__) __-__-__"},372:{name:"Estonia",dial_code:"+372",code:"EE",mask:"+372(__) __-__-__"},373:{name:"Moldova",dial_code:"+373",code:"MD",mask:"+373(__) __-__-__"},374:{name:"Armenia",dial_code:"+374",code:"AM",mask:"+374(_) ___-__-__"},375:{name:"Belarus",dial_code:"+375",code:"BY",mask:"+375(__) ___-__-__"},376:{name:"Andorra",dial_code:"+376",code:"AD",mask:"+376(_) _-__-__"},377:{name:"Monaco",dial_code:"+377",code:"MC",mask:"+377(___) __-__-__"},378:{name:"San Marino",dial_code:"+378",code:"SM",mask:"+378(__) __-__-__"},379:{name:"Holy See (Vatican City State)",dial_code:"+379",code:"VA",mask:"+379(___) ___-__-__"},380:{name:"Ukraine",dial_code:"+380",code:"UA",mask:"+380(__) ___-__-__"},381:{name:"Serbia",dial_code:"+381",code:"RS",mask:"+381(__) __-__-__"},382:{name:"Montenegro",dial_code:"+382",code:"ME",mask:"+382(___) ___-__-__"},383:{name:"Kosovo",dial_code:"+383",code:"XK",mask:"+383(___) __-__"},385:{name:"Croatia",dial_code:"+385",code:"HR",mask:"+385(__) __-__-__"},386:{name:"Slovenia",dial_code:"+386",code:"SI",mask:"+386(__) __-__-__"},387:{name:"Bosnia and Herzegovina",dial_code:"+387",code:"BA",mask:"+387(__) __-__-__"},389:{name:"Macedonia",dial_code:"+389",code:"MK",mask:"+389(__) __-__-__"},420:{name:"Czech Republic",dial_code:"+420",code:"CZ",mask:"+420(___) __-__-__"},421:{name:"Slovakia",dial_code:"+421",code:"SK",mask:"+421(___) __-__-__"},423:{name:"Liechtenstein",dial_code:"+423",code:"LI",mask:"+423(___) __-__-__"},500:{name:"South Georgia and the South Sandwich Islands",dial_code:"+500",code:"GS",mask:"+500(___) ___-__-__"},501:{name:"Belize",dial_code:"+501",code:"BZ",mask:"+501(___) __-__"},502:{name:"Guatemala",dial_code:"+502",code:"GT",mask:"+502(__) __-__-__"},503:{name:"El Salvador",dial_code:"+503",code:"SV",mask:"+503(__) __-__-__"},504:{name:"Honduras",dial_code:"+504",code:"HN",mask:"+504(__) __-__-__"},505:{name:"Nicaragua",dial_code:"+505",code:"NI",mask:"+505(__) __-__-__"},506:{name:"Costa Rica",dial_code:"+506",code:"CR",mask:"+506(__) __-__-__"},507:{name:"Panama",dial_code:"+507",code:"PA",mask:"+507(__) __-__-__"},508:{name:"Saint Pierre and Miquelon",dial_code:"+508",code:"PM",mask:"+508(___) ___-__-__"},509:{name:"Haiti",dial_code:"+509",code:"HT",mask:"+509(__) __-__-__"},590:{name:"Saint Martin",dial_code:"+590",code:"MF",mask:"+590(___) __-__-__"},591:{name:"Bolivia, Plurinational State of bolivia",dial_code:"+591",code:"BO",mask:"+591(__) __-__-__"},592:{name:"Guyana",dial_code:"+592",code:"GY",mask:"+592(___) ___-__-__"},593:{name:"Ecuador",dial_code:"+593",code:"EC",mask:"+593(___) __-__-__"},594:{name:"French Guiana",dial_code:"+594",code:"GF",mask:"+594(___) __-__-__"},595:{name:"Paraguay",dial_code:"+595",code:"PY",mask:"+595(___) __-__-__"},596:{name:"Martinique",dial_code:"+596",code:"MQ",mask:"+596(___) __-__-__"},597:{name:"Suriname",dial_code:"+597",code:"SR",mask:"+597(___) __-__"},598:{name:"Uruguay",dial_code:"+598",code:"UY",mask:"+598(__) __-__-__"},599:{name:"Netherlands Antilles",dial_code:"+599",code:"AN",mask:"+599(__) __-__-__"},670:{name:"Timor-Leste",dial_code:"+670",code:"TL",mask:"+670(__) __-__-__"},672:{name:"Norfolk Island",dial_code:"+672",code:"NF",mask:"+672(___) ___-__-__"},673:{name:"Brunei Darussalam",dial_code:"+673",code:"BN",mask:"+673(___) __-__"},674:{name:"Nauru",dial_code:"+674",code:"NR",mask:"+674(___) __-__"},675:{name:"Papua New Guinea",dial_code:"+675",code:"PG",mask:"+675(___) __-__"},676:{name:"Tonga",dial_code:"+676",code:"TO",mask:"+676(___) __-__"},677:{name:"Solomon Islands",dial_code:"+677",code:"SB",mask:"+677(___) __-__"},678:{name:"Vanuatu",dial_code:"+678",code:"VU",mask:"+678(___) __-__"},679:{name:"Fiji",dial_code:"+679",code:"FJ",mask:"+679(___) __-__"},680:{name:"Palau",dial_code:"+680",code:"PW",mask:"+680(___) ___-__-__"},681:{name:"Wallis and Futuna",dial_code:"+681",code:"WF",mask:"+681(___) ___-__-__"},682:{name:"Cook Islands",dial_code:"+682",code:"CK",mask:"+682(_) __-__"},683:{name:"Niue",dial_code:"+683",code:"NU",mask:"+683(___) ___-__-__"},685:{name:"Samoa",dial_code:"+685",code:"WS",mask:"+685(__) __-__"},686:{name:"Kiribati",dial_code:"+686",code:"KI",mask:"+686(___) ___-__-__"},687:{name:"New Caledonia",dial_code:"+687",code:"NC",mask:"+687(__) __-__"},688:{name:"Tuvalu",dial_code:"+688",code:"TV",mask:"+688(___) ___-__-__"},689:{name:"French Polynesia",dial_code:"+689",code:"PF",mask:"+689(__) __-__"},690:{name:"Tokelau",dial_code:"+690",code:"TK",mask:"+690(___) ___-__-__"},691:{name:"Micronesia, Federated States of Micronesia",dial_code:"+691",code:"FM",mask:"+691(___) ___-__-__"},692:{name:"Marshall Islands",dial_code:"+692",code:"MH",mask:"+692(___) ___-__-__"},850:{name:"Korea, Democratic People's Republic of Korea",dial_code:"+850",code:"KP",mask:"+850(___) ___-__-__"},852:{name:"Hong Kong",dial_code:"+852",code:"HK",mask:"+852(__) __-__-__"},853:{name:"Macao",dial_code:"+853",code:"MO",mask:"+853(__) __-__-__"},855:{name:"Cambodia",dial_code:"+855",code:"KH",mask:"+855(__) __-__-__"},856:{name:"Laos",dial_code:"+856",code:"LA",mask:"+856(___) ___-__-__"},880:{name:"Bangladesh",dial_code:"+880",code:"BD",mask:"+880(___) ___-__-__"},886:{name:"Taiwan",dial_code:"+886",code:"TW",mask:"+886(___) __-__-__"},960:{name:"Maldives",dial_code:"+960",code:"MV",mask:"+960(___) __-__"},961:{name:"Lebanon",dial_code:"+961",code:"LB",mask:"+961(__) __-__-__"},962:{name:"Jordan",dial_code:"+962",code:"JO",mask:"+962(___) __-__-__"},963:{name:"Syrian Arab Republic",dial_code:"+963",code:"SY",mask:"+963(___) __-__-__"},964:{name:"Iraq",dial_code:"+964",code:"IQ",mask:"+964(___) ___-__-__"},965:{name:"Kuwait",dial_code:"+965",code:"KW",mask:"+965(__) __-__-__"},966:{name:"Saudi Arabia",dial_code:"+966",code:"SA",mask:"+966(___) __-__-__"},967:{name:"Yemen",dial_code:"+967",code:"YE",mask:"+967(___) __-__-__"},968:{name:"Oman",dial_code:"+968",code:"OM",mask:"+968(__) __-__-__"},970:{name:"Palestinian Territory, Occupied",dial_code:"+970",code:"PS",mask:"+970(___) __-__-__"},971:{name:"United Arab Emirates",dial_code:"+971",code:"AE",mask:"+971(___) __-__-__"},972:{name:"Israel",dial_code:"+972",code:"IL",mask:"+972(___) __-__-__"},973:{name:"Bahrain",dial_code:"+973",code:"BH",mask:"+973(__) __-__-__"},974:{name:"Qatar",dial_code:"+974",code:"QA",mask:"+974(__) __-__-__"},975:{name:"Bhutan",dial_code:"+975",code:"BT",mask:"+975(__) __-__-__"},976:{name:"Mongolia",dial_code:"+976",code:"MN",mask:"+976(__) __-__-__"},977:{name:"Nepal",dial_code:"+977",code:"NP",mask:"+977(___) ___-__-__"},992:{name:"Tajikistan",dial_code:"+992",code:"TJ",mask:"+992(___) __-__-__"},993:{name:"Turkmenistan",dial_code:"+993",code:"TM",mask:"+993(__) __-__-__"},994:{name:"Azerbaijan",dial_code:"+994",code:"AZ",mask:"+994(__) ___-__-__"},995:{name:"Georgia",dial_code:"+995",code:"GE",mask:"+995(___) __-__-__"},996:{name:"Kyrgyzstan",dial_code:"+996",code:"KG",mask:"+996(___) __-__-__"},998:{name:"Uzbekistan",dial_code:"+998",code:"UZ",mask:"+998(___) __-__-__"},1242:{name:"Bahamas",dial_code:"+1242",code:"BS",mask:"+1242(___) __-__"},1246:{name:"Barbados",dial_code:"+1246",code:"BB",mask:"+1246(___) __-__"},1264:{name:"Anguilla",dial_code:"+1264",code:"AI",mask:"+1264(___) ___-__-__"},1268:{name:"Antigua and Barbuda",dial_code:"+1268",code:"AG",mask:"+1268(_) __-__"},1284:{name:"Virgin Islands, British",dial_code:"+1284",code:"VG",mask:"+1284(___) __-__"},1340:{name:"Virgin Islands, U.S.",dial_code:"+1340",code:"VI",mask:"+1340(___) ___-__-__"},1441:{name:"Bermuda",dial_code:"+1441",code:"BM",mask:"+1441(___) __-__"},1473:{name:"Grenada",dial_code:"+1473",code:"GD",mask:"+1473(___) __-__"},1649:{name:"Turks and Caicos Islands",dial_code:"+1649",code:"TC",mask:"+1649(___) ___-__-__"},1664:{name:"Montserrat",dial_code:"+1664",code:"MS",mask:"+1664(___) ___-__-__"},1670:{name:"Northern Mariana Islands",dial_code:"+1670",code:"MP",mask:"+1670(___) ___-__-__"},1671:{name:"Guam",dial_code:"+1671",code:"GU",mask:"+1671(___) ___-__-__"},1684:{name:"American Samoa",dial_code:"+1684",code:"AS",mask:"+1684(___) ___-__-__"},1758:{name:"Saint Lucia",dial_code:"+1758",code:"LC",mask:"+1758(___) __-__"},1767:{name:"Dominica",dial_code:"+1767",code:"DM",mask:"+1767(___) __-__"},1784:{name:"Saint Vincent and the Grenadines",dial_code:"+1784",code:"VC",mask:"+1784(___) __-__"},1849:{name:"Dominican Republic",dial_code:"+1849",code:"DO",mask:"+1849(___) ___-__-__"},1868:{name:"Trinidad and Tobago",dial_code:"+1868",code:"TT",mask:"+1868(___) __-__"},1869:{name:"Saint Kitts and Nevis",dial_code:"+1869",code:"KN",mask:"+1869(___) __-__"},1876:{name:"Jamaica",dial_code:"+1876",code:"JM",mask:"+1876(___) __-__"},1939:{name:"Puerto Rico",dial_code:"+1939",code:"PR",mask:"+1939(___) ___-__-__"}};function Ra({value:t,onValue:r,onSave:o,name:i,placeholder:s="",title:m="",error:_="",hide:v=!1,edit:p=!0,active:k=!0,after:y="",show:w=!0,view:S,className:O=""}){p=p!==void 0?p:!0,k=k!==void 0?k:!0,v=!!(v&&(t===""||t===void 0))&&!(p&&k),N.useRef(null);let P="+_(___) ___-__-__",D=!0,I=0,x=(K,R)=>{let T=document.createRange(),Y=window.getSelection();T.setStart(R.childNodes[0],K),T.collapse(!0),Y.removeAllRanges(),Y.addRange(T),R.focus()},W=K=>{K.preventDefault(),navigator.clipboard.readText().then(R=>{window.document.execCommand("insertText",!1,R)}).catch(R=>{})},H=K=>{let R=0,T="",Y=K.replace(/\D/g,"");Y===""&&(D=!0);let pe=Y.split(""),me="";pe.forEach(ve=>{D&&(me+=ve,ja[me]!==void 0&&D?(D=!1,P=ja[me].mask.replace(new RegExp("[0-9]","g"),"_"),T=ja[me].code):(D&&(I=(""+me).length,P=`+${me}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),T=""),I>(""+me).length&&(D=!0,P=`+${me}_(___) ___-__-__`.replace(new RegExp("[0-9]","g"),"_"),T="")))});let ge=P.replace(/\D/g,"");return ge.length>=Y.length&&(Y=ge),{q:P.replace(/[_\d]/g,function(){return Y.charAt(R++)||"_"}),i:R,v:Y,f:T}},z=K=>{K.preventDefault(),navigator.clipboard.writeText(K.target.textContent.replace(/\D/g,"")).then(function(){Ln.Copy("Данные в буфер обмене")},function(R){})},B=H(t),$=K=>{let R=H(K.target.textContent);K.target.textContent=R.q,R.i=R.q.lastIndexOf(R.v.substr(-1)),R.i<R.q.length&&R.q!==P?R.i++:R.i=R.q.indexOf("_"),x(R.i,K.target),r&&r({value:R.q.replace(/\D/g,""),name:i})},G=K=>{K.key==="Enter"&&K.preventDefault()};const V=K=>{Xt.Blur(K),o&&o({value:K.target.textContent.replace(/\D/g,""),name:i})},X={};X.field="input",O&&(X.className=O);let _e={};return p&&k?(_e.edit="true",_e.contentEditable="plaintext-only"):_e.contentEditable="false",s&&(_e.placeholder=s),y&&(_e.after=y),v?c.jsx(c.Fragment,{}):c.jsxs("dl",{...X,children:[m&&c.jsx("dt",{children:m}),c.jsx("dd",{..._e,onPaste:W,onInput:$,onKeyDown:G,onContextMenu:z,onBlur:V,suppressContentEditableWarning:!0,children:B.q}),_&&c.jsx("em",{children:_})]})}const Li=t=>{let r=()=>t.title?c.jsx("dt",{children:t.title}):"",o=t.edit!==void 0?t.edit:!0,i=t.active!==void 0?t.active:!0,s=t.placeholder!==void 0?t.placeholder:"",m=0,_=()=>{clearTimeout(m),m=setTimeout(()=>{},1e3)},v=y=>{y.key==="Enter"&&y.preventDefault()},p=y=>{y.preventDefault(),navigator.clipboard.readText().then(w=>{window.document.execCommand("insertText",!1,w)}).catch(w=>{})};const k={};return s&&(k.placeholder=s),c.jsxs("dl",{"data-form":"input",children:[r(),c.jsx("dd",{onPaste:p,onInput:_,onKeyDown:v,contentEditable:o&&i?"plaintext-only":"false",...k,suppressContentEditableWarning:!0,children:t.value})]})};function Ea({title:t,error:r,edit:o=!0,active:i=!0,hide:s,value:m="0",onValue:_,options:v,placeholder:p="",className:k,name:y,after:w,view:S,order:O}){var z,B;const F=N.useRef();s=!!(s&&(m===""||((z=v[m])==null?void 0:z.n)===void 0))&&!(o&&i);let D=m!==void 0&&m!==""?(B=v[m])==null?void 0:B.n:m,I=$=>{var G;F.current.textContent=(G=v[$])==null?void 0:G.n,_&&_({value:$,name:y})},x=$=>{if(!(o&&i))return;const G=$.target.getBoundingClientRect();Jt.setListener("form",c.jsx(J1,{parent:G,onValue:I,view:S,className:k,options:v,order:O},new Date().getTime()))},W={field:"select",className:k},H={onClick:x};return p&&(H.placeholder=p),w&&(H.after=w),o&&i&&(H.edit=""),s?"":c.jsxs("dl",{...W,children:[t&&c.jsx("dt",{children:t}),c.jsx("dd",{...H,ref:F,children:D}),r&&c.jsx("em",{children:r})]})}const J1=({onValue:t,parent:r,view:o,className:i,options:s,order:m})=>{let[_,v]=N.useState(!0),p=()=>{v(!1)},k=S=>{v(!1),t(S)},y=window.innerHeight-r.y+r.height<320?r.y-312:r.y+33,w=window.innerWidth-r.x<265?r.x-235:r.x;return c.jsx(c.Fragment,{children:_?c.jsxs(c.Fragment,{children:[c.jsx("div",{"data-select":"backdrop",onClick:p},new Date().getTime()),c.jsx("div",{className:i,"data-select":"background "+o,style:{top:y+"px",left:w+"px",width:r.width},children:c.jsx(q1,{order:m,options:s,link:k})})]}):""})},q1=({order:t,options:r,link:o})=>t?c.jsx("ul",{children:t.map((i,s)=>r[i].s===1?c.jsx("li",{onClick:()=>{o(i)},children:r[i].n},s):"")}):c.jsx("ul",{children:Object.keys(r).map((i,s)=>r[i].s===1?c.jsx("li",{onClick:()=>{o(i)},children:r[i].n},s):"")});function Ia(t){let r=()=>t.title?c.jsx("dt",{children:t.title}):"",o=()=>t.error?c.jsx("em",{children:t.error}):"",i=t.edit!==void 0?t.edit:!0,s=t.active!==void 0?t.active:!0,_=!!(t.hide&&(t.default===""||t.options[t.default]===void 0))&&!(i&&s),v=t.placeholder!==void 0?t.placeholder:"",p=O=>{y(t.options[O]),t.onValue({value:O,name:t.name})},[k,y]=N.useState(t.default!==void 0?t.options[t.default]:t.default),w=O=>{if(!(i&&s))return;const F=O.target.getBoundingClientRect();Jt.setListener("form",c.jsx(Q1,{parent:F,onValue:p,view:t.view,options:t.options},new Date().getTime()))};const S={};return v&&(S.placeholder=v),_?c.jsx(c.Fragment,{}):c.jsxs("dl",{"data-form":"select",children:[r(),c.jsx("dd",{onClick:w,"data-edit":(i&&s)+"",...S,children:k}),o()]})}const Q1=({onValue:t,parent:r,view:o,options:i})=>{let[s,m]=N.useState(!0),_=()=>{m(!1)},v=w=>{m(!1),t(w)},p=Object.keys(i).length*36,k=window.innerHeight-r.y+r.height<p?r.y-(p-33):r.y+33,y=window.innerWidth-r.x<265?r.x-235:r.x;return c.jsx(c.Fragment,{children:s?c.jsxs(c.Fragment,{children:[c.jsx("div",{"data-select":"backdrop",onClick:_},new Date().getTime()),c.jsx("div",{"data-select":"background "+o,style:{top:k+"px",left:y+"px",width:r.width},children:c.jsx("ul",{children:Object.keys(i).map((w,S)=>c.jsx("li",{onClick:()=>{v(w)},children:i[w]},S))})})]}):""})};function Na({set:t,value:r,onValue:o,name:i,placeholder:s="",title:m="",error:_="",hide:v=!1,edit:p=!0,show:k=!0,active:y=!0,after:w="",view:S,module:O,item:F,className:P=""}){let D={};switch(t){case"Input":return c.jsx(dr,{title:m,show:k,hide:v,view:S,edit:p,active:y,value:r,onValue:o,name:i,placeholder:s,className:P});case"Select":return F&&(D=$t.getSelect(parseInt(F))?$t.getSelect(parseInt(F)):{0:{s:"1",n:"не известно"}}),c.jsx(Ea,{title:m,show:k,hide:v,view:S,edit:p,active:y,value:r,onValue:o,name:i,placeholder:s,className:P,options:D});case"Users":return $t.getSelect("user"),c.jsx(Ia,{title:m,show:k,hide:v,view:S,edit:p,active:y,value:r,onValue:o,name:i,placeholder:s,className:P,options:D});case"Date":return c.jsx(ka,{title:m,show:k,hide:v,view:S,edit:p,active:y,value:r,onValue:o,name:i,placeholder:s,className:P});case"Phone":return c.jsx(Ra,{title:m,show:k,hide:v,view:S,edit:p,active:y,value:r,onValue:o,name:i,placeholder:s,className:P});case"Number":return c.jsx(Ca,{title:m,show:k,hide:v,view:S,edit:p,active:y,value:r,onValue:o,name:i,placeholder:s,className:P});case"Money":return c.jsx(Sa,{title:m,show:k,hide:v,view:S,edit:p,active:y,value:r,onValue:o,name:i,placeholder:s,className:P});case"Modal":return c.jsx(wa,{title:m,show:k,hide:v,view:S,edit:p,active:y,value:r,onValue:o,name:i||"",placeholder:s,className:P,options:D,module:O||""})}}function Gi({value:t,onValue:r,name:o,placeholder:i="",title:s="",error:m="",hide:_=!1,edit:v=!0,active:p=!0,after:k="",show:y=!0,view:w,onBlur:S,onSave:O,className:F=""}){let P=!!(_&&(t===""||t===void 0));if(!(v&&p)&&!y||!(v&&p)&&P)return"";let D=z=>{r&&r({value:z.target.innerText,name:o})},I=z=>{O&&O({value:z.target.innerText,name:o})},x=z=>{z.preventDefault(),navigator.clipboard.readText().then(B=>{window.document.execCommand("insertText",!1,B)}).catch(B=>{})};const W={};W.field="text",F&&(W.className=F);const H={};return i&&(H.placeholder=i),c.jsxs("dl",{...W,children:[s&&c.jsx("dt",{children:s}),c.jsx("dd",{onPaste:x,onBlur:I,onInput:D,contentEditable:v&&p?"plaintext-only":"false",...H,suppressContentEditableWarning:!0,children:t}),m&&c.jsx("em",{children:m})]})}function Yi({value:t,onValue:r,name:o,placeholder:i="",title:s="",error:m="",hide:_=!1,edit:v=!0,active:p=!0,after:k="",show:y=!0,view:w,onBlur:S,onSave:O,className:F=""}){let P=!!(_&&(t===""||t===void 0)),D=ft.Date(t===void 0?new Date:t,"HH:MM"),I=N.useRef(null);if(!(v&&p)&&!y||!(v&&p)&&P)return"";let x=$=>{I.current.textContent=$,r&&r({value:$,name:o})},W=$=>{O&&O({value:$,name:o})},H=$=>{const G=$.target.getBoundingClientRect(),V=G.left,X=G.top;Jt.setListener("form",c.jsx(ev,{positions:{x:V,y:X},onSave:W,onValue:x,date:D},new Date().getTime()))};const z={};z.field="input",F&&(z.className=F);const B={};return i&&(B.placeholder=i),c.jsx(c.Fragment,{children:w==="icon"?c.jsx("i",{"data-icon":"F043",onClick:H}):c.jsxs("dl",{...z,children:[s?c.jsx("dt",{children:s}):"",c.jsx("dd",{onClick:H,ref:I,...B,children:D}),m?c.jsx("em",{children:m}):""]})})}const ev=({positions:t,onSave:r,onValue:o,date:i})=>{let s=i.split(":"),m={h:ft.Number(2,s[0]),m:ft.Number(2,s[1])},_="hour",[v,p]=N.useState({}),k=!1,y=0,w=0,S={body:N.useRef(null),time:N.useRef(null),hour:N.useRef(null),timeText:N.useRef(null),hourText:N.useRef(null)};N.useEffect(()=>{p(S.body.current.getBoundingClientRect()),S.hour.current.style.transform="rotate("+m.h*15+"deg)",S.time.current.style.transform="rotate("+m.m*6+"deg)"},[S.body,S.hour,S.time,m.m,m.h]);let O=()=>{k=!0},F=()=>{k=!1,_=_==="hour"?"time":"hour",S.body.current.setAttribute("active",_)},P=B=>{if(k){let G=Math.atan2(B.pageX-(v.x+78),B.pageY-(v.y+78))*(180/Math.PI)*-1+180;S[_].current.style.transform="rotate("+G+"deg)",_==="hour"?(m={...m,h:ft.Number(2,parseInt(String(G/15),10))},S.hourText.current.textContent=m.h):(m={...m,m:ft.Number(2,parseInt(String(G/6),10))},S.timeText.current.textContent=m.m),o(m.h+":"+m.m)}},D=B=>{if(_==="hour")if(B.deltaY>0){y+=B.deltaY;let $=parseInt(String(y/50));if(w!==$){w=$;let G=parseInt(m.h,10)+1;G=G>23?0:G,m={...m,h:ft.Number(2,G)},S.hourText.current.textContent=m.h,S[_].current.style.transform="rotate("+m.h*15+"deg)"}}else{y-=B.deltaY;let $=parseInt(String(y/50));if(w!==$){w=$;let G=parseInt(m.h,10)-1;G=G<0?23:G,m={...m,h:ft.Number(2,G)},S.hourText.current.textContent=m.h,S[_].current.style.transform="rotate("+m.h*15+"deg)"}}else if(B.deltaY>0){y+=B.deltaY;let $=parseInt(String(y/50));if(w!==$){w=$;let G=parseInt(m.m,10)+1;G=G>59?0:G,m={...m,m:ft.Number(2,G)},S.timeText.current.textContent=m.m,S[_].current.style.transform="rotate("+m.m*6+"deg)"}}else{y-=B.deltaY;let $=parseInt(String(y/50));if(w!==$){w=$;let G=parseInt(m.m,10)-1;G=G<0?59:G,m={...m,m:ft.Number(2,G)},S.timeText.current.textContent=m.m,S[_].current.style.transform="rotate("+m.m*6+"deg)"}}o(m.h+":"+m.m)},[I,x]=N.useState(!0),W=()=>{x(!1),r(m.h+":"+m.m)},H=window.innerHeight-t.y+33<320?t.y-312:t.y+33,z=window.innerWidth-t.x<265?t.x-235:t.x;return c.jsx(c.Fragment,{children:I?c.jsxs(c.Fragment,{children:[c.jsx("div",{className:En.o,onClick:()=>W()},new Date().getTime()),c.jsxs("div",{className:En.c,onMouseDown:O,onMouseUp:F,onMouseMove:P,onWheel:D,ref:S.body,style:{top:H+"px",left:z+"px"},children:[c.jsx("div",{className:"b"}),c.jsxs("div",{className:"s",children:[c.jsx("span",{className:["hour",_==="hour"?En.as:En.ap].join(" "),ref:S.hourText,children:m.h})," ",":"," ",c.jsx("span",{className:["min",_==="time"?En.as:En.ap].join(" "),ref:S.timeText,children:m.m})]}),c.jsx("div",{className:"h",ref:S.hour}),c.jsx("div",{className:"t",ref:S.time})]})]}):""})};function Mi({onValue:t,label:r,value:o,title:i,className:s,name:m,text:_,id:v,reload:p}){const[k,y]=N.useState(!!o),w=r||i;N.useEffect(()=>{y(!!o)},[o]);let S=()=>{t&&t({value:k?0:1,name:m,id:v}),y(!k)};const O={};return O.field="check",s&&(O.className=s),c.jsxs("dl",{...O,children:[w?c.jsx("dt",{children:w}):"",c.jsxs("dd",{onClick:S,children:[c.jsx("span",{children:_}),c.jsx("div",{role:"switch","aria-checked":`${k?"true":"false"}`})]})]})}const tv=({label:t,onValue:r,value:o,name:i,item:s})=>{const[m,_]=N.useState(!!o);N.useEffect(()=>{_(!!o)},[o]);let v=()=>{let p=parseInt(m)===0?1:0;_(p),r({value:p,name:i,key:s,item:s})};return c.jsx("div",{role:"switch",onClick:v,"aria-checked":`${m?"true":"false"}`})},Ai=({onValue:t,value:r,name:o,item:i})=>{const[s,m]=N.useState(!!r);N.useEffect(()=>{m(!!r)},[r]);let _=()=>{let v=parseInt(s)===0?1:0;m(v),t({value:v,name:o,key:i,item:i})};return c.jsx("div",{role:"switch",onClick:_,"aria-checked":`${s?"true":"false"}`})};function zi({value:t,onValue:r,name:o,placeholder:i="",title:s="",error:m="",hide:_=!1,edit:v=!0,active:p=!0,after:k="",show:y=!0,view:w,onSave:S,className:O="",separator:F=","}){const[P,D]=N.useState(t!==void 0?t.split(F):[]);N.useEffect(()=>{D(t!==void 0?t!==void 0?t.split(F):[]:[])},[t]);let I=()=>{D([...P,""])},x=V=>{P.splice(V,1),P.length===0&&P.push(""),D([...P]),S!==void 0&&S({value:P.join(F),name:o})},W=!!(_&&(t===""||t===void 0)),H=V=>{};if(!(v&&p)&&!y||!(v&&p)&&W)return"";const z={};z.field="group",O&&(z.className=O);const B=(V,X)=>{Xt.Blur(V),P[X]=V.target.textContent,S&&S({value:P.join(F),name:o})};let $=(V,X)=>{P[X]=V.target.textContent,r&&r({value:P.join(F),name:o})},G=V=>{V.key==="Enter"&&V.preventDefault()};return c.jsxs("dl",{...z,children:[c.jsxs("dt",{children:[s,c.jsx("i",{onClick:I,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[c.jsx("path",{d:"M12 5.25v13.5"}),c.jsx("path",{d:"M18.75 12H5.25"})]})})]}),c.jsx("dd",{children:P.map((V,X)=>c.jsxs("li",{className:"field_group_item",children:[c.jsx("span",{onInput:_e=>$(_e,X),edit:"true",name:o,placeholder:i,onPaste:H,contentEditable:v&&p?"plaintext-only":"false",onKeyDown:G,onBlur:_e=>B(_e,X),suppressContentEditableWarning:!0,children:P[X]}),c.jsx("i",{onClick:()=>{x(X)},children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",children:[c.jsx("path",{d:"M17.25 17.25 6.75 6.75"}),c.jsx("path",{d:"m17.25 6.75-10.5 10.5"})]})})]},X))}),m&&c.jsx("em",{children:m})]})}const nv=t=>(t=t!==void 0&&t!==""?t.split(","):[],t.reduce((r,o)=>(r[o]=!0,r),{}));function Bi({value:t,onValue:r,name:o,placeholder:i="",title:s,error:m,hide:_=!1,edit:v=!0,show:p=!0,active:k=!0,after:y="",view:w,modal:S,module:O,options:F,className:P}){const[D,I]=N.useState(nv(t)),x=z=>{if(!(v&&k)||!S)return;let B=S.split(".");Vn.Open(B[0],B[1],{callback:$=>{r&&r({value:$,name:o}),I($)},onValue:r,options:F,name:o,value:D})},W={};W.field="group",P&&(W.className=P);const H={};return i&&(H.placeholder=i),_?c.jsx(c.Fragment,{}):c.jsxs("dl",{...W,children:[c.jsxs("dt",{children:[s,c.jsx("i",{onClick:x,children:c.jsxs("svg",{width:"20",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"M12 5.25v13.5"}),c.jsx("path",{d:"M18.75 12H5.25"})]})})]}),c.jsx("dd",{...H,onClick:open,edit:(v&&k)+"","data-after":y,children:Object.keys(D).map(z=>{var B;return c.jsx("div",{className:"field_group_item",children:(B=F[z])==null?void 0:B.label},z)})}),m&&c.jsx("em",{children:m})]})}function $i({value:t,onValue:r,name:o,placeholder:i="",title:s="",link:m="",error:_="",hide:v=!1,edit:p=!0,active:k=!0,after:y="",show:w=!0,type:S,view:O,onBlur:F,onSave:P,className:D=""}){const I=N.useId();let x=!!(v&&(t===""||t===void 0)),[W,H]=N.useState(m);if(!(p&&k)&&!w||!(p&&k)&&x)return"";const z=async $=>{if(S){let G=av($,S,t||"default");r==null||r({name:o,value:G}),H(URL.createObjectURL(G))}else r==null||r({name:o,value:$}),H(URL.createObjectURL($))},B={};return B.field="file",D&&(B.className=D),c.jsxs("dl",{...B,children:[s&&c.jsxs("dt",{children:[s," "]}),c.jsxs(rv,{onFiles:z,children:[c.jsx("input",{id:I,type:"file",multiple:!0,onChange:$=>{$.target.files[0]&&z($.target.files[0])}}),c.jsx("label",{htmlFor:I}),c.jsx("img",{src:W})]}),_&&c.jsx("em",{children:_})]})}const rv=({children:t,onFiles:r})=>{const o=N.useRef(null);return N.useEffect(()=>{if(o.preventDefaults)return;o.preventDefaults=s=>{s.preventDefault(),s.stopPropagation()},o.highlight=s=>{},o.unhighlight=s=>{},o.onHandleDrop=s=>{let v=s.dataTransfer.files[0];r&&r(v)};let i=o.current;["dragenter","dragover","dragleave","drop"].forEach(s=>{i.addEventListener(s,o.preventDefaults,!1),document.body.addEventListener(s,o.preventDefaults,!1)}),["dragenter","dragover"].forEach(s=>{i.addEventListener(s,o.highlight,!1)}),["dragleave","drop"].forEach(s=>{i.addEventListener(s,o.unhighlight,!1)}),i.addEventListener("drop",o.onHandleDrop,!1)},[]),c.jsx("dd",{ref:o,children:t})},av=(t,r,o)=>{var i=document.getElementsByTagName("body")[0],s=document.createElement("canvas");i.appendChild(s);const m=s.getContext("2d"),_=new Image;_.addEventListener("load",()=>{m.drawImage(_,0,0);const v=r==="png"?s.toDataURL():s.toDataURL(`image/${r}`),p=ov(v,o);return s.remove(),p}),_.src=URL.createObjectURL(t)};function ov(t,r){let o=t.split(","),i=o[0].match(/:(.*?);/)[1],s=atob(o[1]),m=s.length,_=new Uint8Array(m);for(;m--;)_[m]=s.charCodeAt(m);return new File([_],r,{type:i})}const Pn={};function iv(t){const[r,o]=N.useState({}),i=N.useRef(t);return Pn.u=s=>{i.current={...i.current,[s.name]:s.value}},Pn.n=s=>{i.current=s,o(Date.now())},Pn.r=()=>{o(Date.now())},[i.current,Pn.n]}function lv(t){Pn.u(t),t.reload&&Pn.r()}function sv(){Pn.r&&Pn.r()}const cv={Color:Ti,Date:ka,Mask:$i,Image:$i,Code:Oi,Check:Mi,Switch:ji,Input:dr,Button:Ri,Message:Ei,Generator:Ii,Captcha:Ni,Modal:wa,Money:Sa,Month:Pi,Notes:Di,Number:Ca,Password:Fi,Phone:Ra,Search:Li,Select:Ea,Set:Na,Textarea:Gi,Time:Yi,Users:Ia,String:dr,Form:Na,runReload:sv,useData:iv,setValue:lv,Palette:tv,Toogle:Ai,Group:zi,Options:Bi};function uv({value:t="",onValue:r,onSave:o,name:i,format:s="+_(___) ___-__-__",placeholder:m="",title:_="",error:v="",hide:p=!1,edit:k=!0,active:y=!0,after:w="",show:S=!0,view:O,className:F=""}){k=k!==void 0?k:!0,y=y!==void 0?y:!0,p=!!(p&&(t===""||t===void 0))&&!(k&&y),N.useRef(null);let D=s,I=!0,x=0,W=(R,T)=>{let Y=document.createRange(),pe=window.getSelection();Y.setStart(T.childNodes[0],R),Y.collapse(!0),pe.removeAllRanges(),pe.addRange(Y),T.focus()},H=R=>{R.preventDefault(),navigator.clipboard.readText().then(T=>{window.document.execCommand("insertText",!1,T)}).catch(T=>{})},z=R=>{let T=0,Y="",pe=R.replace(/\D/g,"");pe===""&&(I=!0);let me=pe.split(""),ge="";me.forEach(he=>{I&&(ge+=he,I&&(x=(""+ge).length,D=s.replace(new RegExp("[0-9]","g"),"_"),Y=""),x>(""+ge).length&&(I=!0,D=s.replace(new RegExp("[0-9]","g"),"_"),Y=""))});let ye=D.replace(/\D/g,"");return ye.length>=pe.length&&(pe=ye),{q:D.replace(/[_\d]/g,function(){return pe.charAt(T++)||"_"}),i:T,v:pe,f:Y}},B=R=>{R.preventDefault(),navigator.clipboard.writeText(R.target.textContent.replace(/\D/g,"")).then(function(){Ln.Copy("Данные в буфер обмене")},function(T){})},$=z(t),G=R=>{let T=z(R.target.textContent);R.target.textContent=T.q,T.i=T.q.lastIndexOf(T.v.substr(-1)),T.i<T.q.length&&T.q!==D?T.i++:T.i=T.q.indexOf("_"),W(T.i,R.target),r&&r({value:T.q.replace(/\D/g,""),name:i})},V=R=>{R.key==="Enter"&&R.preventDefault()};const X=R=>{Xt.Blur(R),o&&o({value:R.target.textContent.replace(/\D/g,""),name:i})},_e={};_e.field="input",F&&(_e.className=F);let K={};return k&&y?(K.edit="true",K.contentEditable="plaintext-only"):K.contentEditable="false",m&&(K.placeholder=m),w&&(K.after=w),p?c.jsx(c.Fragment,{}):c.jsxs("dl",{..._e,children:[_&&c.jsx("dt",{children:_}),c.jsx("dd",{...K,onPaste:H,onInput:G,onKeyDown:V,onContextMenu:B,onBlur:X,suppressContentEditableWarning:!0,children:$.q}),v&&c.jsx("em",{children:v})]})}const dv={Color:Ti,Date:ka,Code:Oi,Check:Mi,Switch:ji,Input:dr,Button:Ri,Message:Ei,Generator:Ii,Captcha:Ni,Modal:wa,Money:Sa,Mask:uv,Month:Pi,Notes:Di,Number:Ca,Password:Fi,Phone:Ra,Search:Li,Select:Ea,Set:Na,Textarea:Gi,Time:Yi,Users:Ia,String:dr,Toogle:Ai,Group:zi,Options:Bi},Ui={spinner:"_spinner_o487n_1",l:"_l_o487n_75",loadingB:"_loadingB_o487n_1"};function fv(){return c.jsx("div",{className:Ui.spinner,children:c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 483 484",children:c.jsx("path",{d:"M264,492a22.2,22.2,0,0,0,22-22V411a22.2,22.2,0,0,0-22-22H236a22.2,22.2,0,0,0-22,22v59a22.2,22.2,0,0,0,22,22Zm74-134a23.9,23.9,0,0,0-6,16,20.35,20.35,0,0,0,6,15l42,42q7,7,16,7,10,0,16-7l20-20a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16l-42-42q-7-7-16-7-8,0-15,7ZM163,389a18.94,18.94,0,0,0,7-15q0-9-7-16l-20-20q-7-7-16-7-8,0-15,7L70,380q-7,7-7,16a18.94,18.94,0,0,0,7,15l20,20q7,7,16,7a18.94,18.94,0,0,0,15-7ZM112,237a22.2,22.2,0,0,0-22-22H31a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,9,237v28a21.17,21.17,0,0,0,6.5,15.5A21.17,21.17,0,0,0,31,287H90a22.2,22.2,0,0,0,22-22Zm358,50a22.2,22.2,0,0,0,22-22V237a22.2,22.2,0,0,0-22-22H411a22.2,22.2,0,0,0-22,22v28a22.2,22.2,0,0,0,22,22ZM163,142q7-7,7-15.5T163,111L121,69q-7-7-15-7-7,0-16,7L70,89q-7,7-7,16a18.94,18.94,0,0,0,7,15l42,42a18.94,18.94,0,0,0,15,7q10,0,16-7Zm269-22a20.35,20.35,0,0,0,6-15,23.9,23.9,0,0,0-6-16L412,69q-7-7-16-7-7,0-16,7l-42,42q-7,8-7,16t7,15l21,20a18.94,18.94,0,0,0,15,7q10,0,16-7Zm-168-9a22.06,22.06,0,0,0,15.5-6q6.5-6,6.5-16V30a21.17,21.17,0,0,0-6.5-15.5A21.17,21.17,0,0,0,264,8H236a21.17,21.17,0,0,0-15.5,6.5A21.17,21.17,0,0,0,214,30V89q0,10,6.5,16a22.06,22.06,0,0,0,15.5,6Z",transform:"translate(-9 -8)"})})})}function pv(){return c.jsxs("div",{className:Ui.l,children:[c.jsx("i",{}),c.jsx("i",{}),c.jsx("i",{})]})}const mv={Spinner:fv,Inline:pv},_v=function({title:t,affter:r,children:o,button:i,page:s,tabs:m,modules:_,loading:v}){const[p]=Gn.useTabs(s),[k,y]=N.useState(!1);return N.useEffect(()=>{y(!0)},[]),c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"ph",children:[c.jsx(vv,{title:t,affter:r}),c.jsx("div",{className:"e"}),c.jsx(yv,{button:i})]}),m&&c.jsx(bi,{list:m,active:p}),o,k&&c.jsx(gv,{loading:v,m:_,t:p})]})};let gv=({m:t,t:r,loading:o})=>{const i=N.lazy(()=>mr(t+"/pages/"+r+".tsx"));return c.jsx(N.Suspense,{fallback:o,children:c.jsx(i,{})})},yv=({button:t})=>{const[r,o]=N.useState(t);return Jt.useListener("button",o),c.jsxs(c.Fragment,{children:[" ",r]})},vv=({title:t,affter:r})=>{const[o,i]=N.useState(c.jsxs(c.Fragment,{children:[t," ",r]}));return Jt.useListener("title",i),c.jsx("h2",{children:o})};const hv={Lite:_v},Zi={s:"_s_t9swc_1"};let Oa;function bv({className:t,placeholder:r}){let o=_=>{Oa(_.target.textContent)},i=_=>{_.key==="Enter"&&_.preventDefault()},s=_=>{_.preventDefault(),navigator.clipboard.readText().then(v=>{window.document.execCommand("insertText",!1,v)}).catch(v=>{})};const m={};return r&&(m.placeholder=r),m.className=t?[Zi.s,t].join(" "):Zi.s,c.jsx("div",{onPaste:s,onInput:o,onKeyDown:i,contentEditable:"plaintext-only",...m,suppressContentEditableWarning:!0})}function xv(t,r,o){let i=[],s=1,m=0,_={},v=50;return _[s]=[],t.forEach(p=>{p.text.toLowerCase().indexOf(r)>-1&&i.push(p.id)}),i.forEach(p=>{m++,m<=v||(s++,m=1,_[s]=[]),_[s].push(o[p])}),_}function kv(t){Oa=t}function wv(t){Oa=t}const Sv={Field:bv,Run:xv,Get:kv,useValue:wv},Cv={f:"_f_q3r0i_1"};let Ht={};function jv(t,r){switch(r.type){case"open":return{...t,open:r.open};case"view":return{...t,view:t.view===r.view?null:r.view};case"data":let o={};return Object.keys(r.data).forEach(s=>{s!=="sort"&&(o[s]=r.data[s],t.take[s]="999")}),{...t,data:o,take:t.take};case"size":return{...t,size:r.size};case"take":let i={[r.list]:r.take};i={...t.take,...i},t.active=!1;for(let s in i)i[s]!=="999"&&(t.active=!0);return Ht.get(i,t.active),{...t,take:i,active:t.active};case"exit":for(let s in t.take)t.take[s]="999";return Ht.get&&Ht.get([],!1),{...t,size:0,active:!1,take:t.take,open:!1};default:throw new Error}}function Rv(){const[t,r]=N.useReducer(jv,{open:!1,view:null,data:{},take:{},size:0,active:!1});return Ht.set=o=>{r({type:"data",data:o})},Ht.count=o=>{r({type:"size",size:o})},Ht.reset=()=>{r({type:"exit"})},c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:Cv.f,onClick:()=>{r({type:"open",open:!0})},children:[c.jsx(As,{}),t.active&&c.jsxs("i",{children:[t.size,"1"]})]}),t.open?c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"filter o",onClick:()=>{r({type:"open",open:!1})}}),c.jsxs("div",{className:"filter m",children:[c.jsx("div",{className:"filter l",children:Object.keys(t.data).map(o=>c.jsx(Tv,{data:o,dispatch:r,state:t},o))}),c.jsx("div",{className:"filter b",onClick:()=>{r({type:"exit"})},children:"Убрать фильтер"})]})]}):c.jsx(c.Fragment,{})]})}function Ev(t){Ht.get=t}function Iv(t){Ht.set!==void 0&&Ht.set(t)}function Nv(t){Ht.reset!==void 0&&Ht.reset(t)}function Ov(t,r,o,i){let s=[],m=1,_=0,v={},p=50;return v[m]=[],i===!0&&(Object.keys(r).forEach(k=>{Number.parseInt(r[k])!==999&&(t=t.filter(y=>Number.parseInt(y[k])===Number.parseInt(r[k])))}),Wi(t.length)),t.forEach(k=>{s.push(k.id)}),s.forEach(k=>{_++,_<=p||(m++,_=1,v[m]=[]),v[m].push(o[k])}),v}function Wi(t){Ht.count(t)}function Tv({data:t,state:r,dispatch:o}){let i=()=>{o({type:"view",view:t})},s=()=>{o({type:"take",list:t,take:"999"})};return c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"filter s",children:[c.jsxs("div",{onClick:i,children:[" ",r.data[t].name," "]}),r.take[t]!=="999"?c.jsx("div",{onClick:s,className:"filter x","data-icon":"F038"}):""]}),c.jsx("div",{className:"filter u","set-active":(r.view===t)+"",children:Object.keys(r.data[t].list).map((m,_)=>c.jsx(Pv,{data:r.data[t].list[m],head:t,type:m,dispatch:o,state:r},_))})]})}function Pv({data:t,head:r,state:o,dispatch:i,type:s}){if(s!=="999"&&t.count===void 0)return"";const m=()=>{i({type:"take",list:r,take:s})};return c.jsxs("div",{className:"filter a",onClick:m,"set-active":(o.take[r]===s)+"",children:[t.name,c.jsx("div",{className:"filter e",children:t.count})]})}const Dv={Button:Rv,useValue:Ev,Set:Iv,Run:Ov,Count:Wi,Reset:Nv},Fv={Bell:Xs,Send:Us,Add:$s},Xi={p:"_p_djnh1_1",l:"_l_djnh1_38"};function Lv(t){let r=3,o=t.page,i=t.count,s=[],m=()=>{s.push({page:1}),s.push({text:"..."})},_=()=>{s.push({text:"..."}),s.push({page:i})},v=(p,k)=>{for(let y=p;y<k;y++)s.push({page:y})};return i<r*2+6?v(1,i+1):o<r*2+1?(v(1,r*2+4),_()):o>i-r*2?(r=i>1e4?1:r,m(),v(i-r*2-2,i+1)):(r=i>1e4?1:r,m(),v(o-r,o+r+1),_()),s.length===1?c.jsx(c.Fragment,{}):c.jsxs("div",{className:Xi.p,children:[c.jsx("i",{onClick:()=>t.onChangePage(o-1),children:c.jsx("svg",{viewBox:"0 0 24 24",children:c.jsx("path",{d:"M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z"})})}),s.map((p,k)=>{const y={};return p.page&&(y.onClick=()=>t.onChangePage(p.page)),p.page===t.page&&(y.active=""),N.createElement("span",{...y,key:k},p.page||p.text)}),c.jsx("i",{onClick:()=>t.onChangePage(o+1),children:c.jsx("svg",{viewBox:"0 0 24 24",children:c.jsx("path",{d:"M8.19486 5.40705C8.52237 4.96235 9.14837 4.86736 9.59306 5.19488C9.93847 5.44927 10.2668 5.70372 10.5528 5.92689C11.1236 6.3724 11.8882 6.98573 12.6556 7.65208C13.4181 8.31412 14.2064 9.04815 14.8119 9.73344C15.1136 10.0749 15.3911 10.4279 15.5986 10.7721C15.7895 11.0888 16 11.524 16 12.0001C16 12.4762 15.7895 12.9115 15.5986 13.2282C15.3911 13.5724 15.1136 13.9253 14.8119 14.2668C14.2064 14.9521 13.4181 15.6861 12.6556 16.3482C11.8882 17.0145 11.1236 17.6278 10.5528 18.0734C10.2668 18.2965 9.93847 18.551 9.59307 18.8054C9.14837 19.1329 8.52237 19.0379 8.19486 18.5932C8.0632 18.4144 7.99983 18.2064 8.00001 18.0002L8 12.0001L8 6.00007C7.99983 5.79387 8.0632 5.58581 8.19486 5.40705Z"})})})]})}function Gv(t,r){switch(r.type){case"load":return{...t,load:r.load,wait:!1,data:r.data,list:r.data[t.page],size:Object.keys(r.data).length};case"page":return{...t,page:r.page,list:t.data[r.page]};default:throw new Error}}function Hi({load:t,list:r,item:o}){const i=N.useRef(null),[s,m]=N.useReducer(Gv,{load:!1,list:[],data:{},page:1,wait:!1,item:o});N.useEffect(()=>{r!==null&&m({type:"load",load:t,data:r})},[t]);let _=v=>{if(v===0)return v=1;if(v>s.size)return v=s.size;m({type:"page",page:v})};return N.useEffect(()=>{},[s]),c.jsxs(c.Fragment,{children:[c.jsx("div",{className:Xi.l,ref:i,children:c.jsx(Si,{"el-empty":"Данные не найдены",children:s.load&&s.list!==void 0?s.list.map(v=>c.jsx(s.item,{data:v},v.id)):c.jsxs("div",{"type-data":"load",children:[c.jsx("i",{}),c.jsx("i",{}),c.jsx("i",{})]})})}),s.load&&s.list!==void 0?c.jsx(Lv,{page:s.page,count:s.size,onChangePage:_}):c.jsx(c.Fragment,{})]})}const Yv={Pagination:Hi};function Mv({head:t,load:r,list:o,item:i}){const s=t;return c.jsxs(c.Fragment,{children:[c.jsx(s,{}),vr.getSetting("s05")===1?c.jsx(Hi,{list:o,load:r,item:i}):c.jsx(Ci,{list:o,load:r,item:i})]})}function Av(t,r){switch(r.type){case"load":return{...t,time:Date.now(),load:r.load,list:r.list,temp:r.temp};case"filter":return{...t,list:r.list,filter:r.active,band:r.band,time:Date.now()};case"search":return{...t,time:Date.now(),list:r.list};case"triage":return{...t,time:Date.now(),list:r.list,sort:r.sort};case"noload":return{...t,load:!0,time:Date.now()};default:throw new Error}}const Ta={};function zv(t){Ta.get=t}function Bv(t){Ta.get&&Ta.get(t)}const $v={View:Mv,Reducer:Av,useValue:zv,setValue:Bv},Uv={addDictionary:Nc,getDictionary:Pc,setDictionary:Tc,current:Dc},Zv={Get:qs},Wv=function({title:t,children:r,imp:o,button:i,page:s,tabs:m,modules:_}){const[v]=Gn.useTabs(s),[p,k]=N.useState(!1);return N.useEffect(()=>{k(!0)},[]),c.jsxs(c.Fragment,{children:[c.jsxs("div",{className:"list-info",children:[c.jsx("h2",{children:t}),c.jsx("div",{className:"empty"}),c.jsx(Hv,{button:i})]}),p&&c.jsx(Xv,{imp:o,modules:_,t:v}),r]})};let Xv=({modules:t,t:r})=>{const o=N.lazy(()=>mr(t+"/pages/"+r+".tsx"));return c.jsx(N.Suspense,{fallback:"",children:c.jsx(o,{})})},Hv=({button:t})=>{const[r,o]=N.useState(t);return Jt.useListener("button",o),c.jsxs(c.Fragment,{children:[" ",r]})};const Kv={Open:Cc};function Vv({active:t,onActive:r,id:o,name:i}){const[s,m]=N.useState(!!t);N.useEffect(()=>{m(!!t)},[t]);let _=()=>{let v=s?0:1;m(!s),r&&r({value:v,is:!s,name:i,id:o,setActive:m})};return c.jsx("div",{role:"switch",onClick:_,"aria-checked":`${s?"true":"false"}`})}re.Action=xi,re.Alert=E1,re.Animation=Rs,re.Api=Ar,re.Badge=z1,re.Bookmarks=R1,re.Browser=Zc,re.Button=Ja,re.Company=Zv,re.Component=$r,re.DataBase=U1,re.Event=Jt,re.Events=Jt,re.Files=H1,re.Filter=Dv,re.Form=cv,re.Format=ft,re.HotKey=Z1,re.Icon=N1,re.Init=io,re.Input=dv,re.Lang=Uv,re.Layout=hv,re.List=$v,re.Loading=mv,re.Modal=Vn,re.Notice=Ln,re.Notifications=Fv,re.Pagination=Yv,re.Phone=Kv,re.Router=Gn,re.Scrolling=Ci,re.Search=Sv,re.Setting=j1,re.Sistym=Bn,re.Socket=Qt,re.Store=$t,re.Switch=Vv,re.Tabs=v1,re.Test=Wv,re.Triage=Y1,re.User=vr,re.WebRTC=dt,Object.defineProperty(re,Symbol.toStringTag,{value:"Module"})});
|