@elcrm/telegram 0.0.103 → 0.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +332 -331
- package/dist/index.umd.js +16 -16
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(v,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],w):(v=typeof globalThis<"u"?globalThis:v||self,w((v.elCRM=v.elCRM||{},v.elCRM.components={}),v.React,v.ReactDOM))})(this,function(v,w,or){"use strict";var Wt=document.createElement("style");Wt.textContent=`@charset "UTF-8";*{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0}html{height:-webkit-fill-available}body{background-color:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);-webkit-font-smoothing:antialiased;font-family:sans-serif;font-variant:no-common-ligatures;text-rendering:optimizeLegibility;padding:0;margin:0}body{overflow:hidden!important}body::-webkit-scrollbar{width:0px;height:0px;display:none!important;-ms-overflow-style:none;scrollbar-width:none}.debug{height:50px;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;background:var(--tg-theme-header-bg-color);color:var(--tg-theme-text-color);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--tg-theme-bg-color);z-index:222;position:fixed;top:0;left:0;right:0}.debug .b,.debug .o{padding:0 15px;cursor:pointer}.mb{bottom:0;position:fixed;left:0;right:0;padding:10px}.mb button{width:100%}.tm{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;display:flex;flex-direction:column;background-color:var(--tg-theme-bg-color);border-radius:10px;box-shadow:0 10px 20px #40404026;width:200px;position:absolute;right:5px;z-index:999;border:1px solid var(--tg-theme-hint-color)}.tm ul{list-style-type:none;margin:0;display:block;width:100%;padding:8px;border-top:1px solid var(--tg-theme-hint-color)}.tm ul:first-child{border-top:0}.tm ol{list-style-type:none;display:none;padding:8px;background-color:var(--tg-theme-bg-color);border-radius:10px;box-shadow:0 10px 20px #40404026;position:absolute;right:100%;left:-180px;z-index:100;width:100%;top:0;flex-direction:column;border:1px solid var(--tg-theme-hint-color)}.tm ol:hover{display:flex}.tm li{position:relative}.tm button{font:inherit;border:0;padding:8px 36px 8px 8px;width:100%;border-radius:8px;text-align:left;display:flex;align-items:center;position:relative;color:var(--tg-theme-text-color);background-color:var(--tg-theme-bg-color)}.tm button:hover{background-color:var(--tg-theme-button-color)}.tm button:hover+ol{display:flex}.ta{margin:0;width:100vw;height:100vh;display:-webkit-flex;display:flex;justify-content:center;align-items:center;background-color:#0006}.ta .--body{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;overflow:hidden;width:270px;height:auto;background-color:#ffffff73;border-radius:12px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:11;display:flex;align-items:flex-end;justify-content:center;animation:fadeIn .3s ease}.modal-overlay.closing{animation:fadeOut .3s ease}.modal-popup{position:relative;width:100%;min-height:var(--modal-height);max-width:500px;max-height:var(--modal-height);overflow:hidden;animation:slideUp .3s ease;background:var(--tg-theme-bg-color);padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px))}.modal-popup.closing{animation:slideDown .3s ease}.notice{position:fixed;top:0;z-index:999;max-height:0px}.notice .item{display:block;color:#fff;overflow:hidden;cursor:pointer;display:flex;margin:20px 20px 10px;border-radius:10px;padding-left:10px;gap:10px;width:calc(100vw - 40px)}.notice svg{margin-top:7px}.notice .text{padding:9px 0;flex:1}.notice .error{background:#f44336}.notice .success{background:#4caf50}.notice .warning{background:#ff9800}.notice .item.thema{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}.notice .item.error.thema svg{color:#f44336}.notice .item.success.thema svg{color:#4caf50}.notice .item.warning.thema svg{color:#ff9800}._p_12hh1_1{padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-footer-height, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));padding-left:calc(var(--tg-safe-area-inset-left) + var(--tg-content-safe-area-inset-left, 0px));padding-right:calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right, 0px));height:var(--tg-safe-area-height);max-height:var(--tg-safe-area-height)}._m_12hh1_10{margin-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px));margin-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));margin-left:calc(var(--tg-safe-area-inset-left) + var(--tg-content-safe-area-inset-left, 0px));margin-right:calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right, 0px))}._s_12hh1_17{overflow:scroll}._l_gfyud_1{padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));padding-left:calc(var(--tg-safe-area-inset-left) + var(--tg-content-safe-area-inset-left, 0px));padding-right:calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right, 0px));margin:auto;position:absolute;top:0;right:0;bottom:0;left:0}._m_ppm7n_2{display:flex;flex-direction:column;gap:8px;margin-top:20px;padding:0 10px}._g_ppm7n_10{display:flex;flex-direction:column;border-radius:10px;overflow:hidden;gap:1px}._i_ppm7n_18{display:flex;align-items:center;padding:12px 16px;border:none;text-align:left;font-size:17px;cursor:pointer;transition:background-color .2s;width:100%;position:relative;background:none;color:inherit;background-color:var(--tg-theme-secondary-bg-color);font-weight:400}._c_ppm7n_35{display:flex;align-items:center;gap:12px;flex:1}._l_ppm7n_42{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}._l_ppm7n_42 svg{width:20px;height:20px;color:#fff}._a_ppm7n_57{color:#8e8e93;font-size:18px}._n_ppm7n_62{margin-left:auto;color:#8e8e93;font-size:17px;margin-right:4px}._o_8ho2f_3{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:998;animation:_fadeIn_8ho2f_1 .3s ease}._m_8ho2f_14{position:fixed;bottom:0;width:80%;max-width:320px;background:var(--tg-theme-bg-color, #ffffff);z-index:999;transition:transform .3s ease;box-shadow:2px 0 10px #0000001a;display:flex;flex-direction:column;top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px))}._l_8ho2f_28{left:0;transform:translate(-100%)}._r_8ho2f_33{right:0;transform:translate(100%)}._x_8ho2f_38{transform:translate(0)}._h_8ho2f_42{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid var(--tg-theme-section-bg-color, #e5e5e5)}._h_8ho2f_42 h3{margin:0;font-size:18px;font-weight:700;color:var(--tg-theme-text-color, #000000)}._c_8ho2f_57{flex:1;overflow-y:auto}._c_8ho2f_57:after{content:"";position:absolute;top:0;bottom:0;right:0;width:7px;height:100%;background:var(--tg-theme-bg-color)}._u_8ho2f_72{display:flex;flex-direction:column;gap:10px;padding:16px}._u_8ho2f_72 li{padding:12px 0;border-bottom:1px solid var(--tg-theme-secondary-bg-color, #e5e5e5);display:flex;align-items:center;gap:10px}._u_8ho2f_72 li i{width:15px;height:15px;display:block;background:var(--tg-theme-button-color);border-radius:50%}._u_8ho2f_72 li em{display:block;width:15px;height:15px;background:var(--tg-theme-secondary-bg-color);border-radius:50%}._u_8ho2f_72 li:last-child{border-bottom:none}._u_8ho2f_72 li p{margin:0;font-size:15px;color:var(--tg-theme-text-color, #000000)}.footer-menu-overlay{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:10;display:flex;align-items:flex-end;justify-content:center;transition:opacity .5s ease-out;opacity:1}.footer-menu-overlay.is-overlay{background:var(--tg-theme-bg-color-alpha);top:0}.footer-menu-overlay.closing{opacity:0}.footer-menu-popup-book{position:relative;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-radius:20px 20px 0 0;width:100%;max-width:500px;max-height:70vh;overflow:hidden;animation:slideUp .3s ease;box-shadow:0 -10px 30px #00000080;box-shadow:0 -.5px #0000001a;background:var(--tg-theme-secondary-bg-color-alpha);border-bottom:1px solid var(--tg-theme-section-separator-color)}.footer-menu-popup-book.footer{margin-bottom:calc(var(--tg-safe-area-inset-bottom) + 40px)}.footer-menu-popup-book.closing{animation:slideDown .3s ease}.footer-menu-header{position:relative;display:flex;opacity:.8;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--tg-theme-section-separator-color);z-index:1}.footer-menu-header h3{margin:0;color:var(--tg-theme-text-color);font-size:18px;font-weight:600}.footer-menu-close-btn{background:none;border:none;color:var(--tg-theme-text-color);font-size:20px;cursor:pointer;padding:5px;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease,transform .15s ease-in-out}.footer-menu-close-btn:active{transform:scale(1.1)}.chapters-list{position:relative;max-height:60vh;overflow-y:auto;overflow-x:hidden;padding:10px 0 20px;z-index:1}.chapter-item{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;cursor:pointer;transition:background-color .2s ease,transform .15s ease-in-out;border-bottom:1px solid var(--tg-theme-section-separator-color)}.chapter-item:active{transform:scale(1.02)}.chapter-item:hover{background-color:#ffffff0d}.chapter-item.active{background-color:#ffffff1a}.chapter-info-item{display:flex;align-items:center;gap:12px}.chapter-number{background:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);min-width:24px;min-height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.chapter-item.active .chapter-number{background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.chapter-title{color:var(--tg-theme-text-color);font-size:16px;font-weight:400}.chapter-title p{font-size:10px;color:var(--tg-subtitle_text_color);font-weight:400}.chapter-title b{font-size:16px;font-weight:400}.chapter-duration{color:var(--tg-theme-text-color);opacity:.8;font-size:14px;font-weight:400}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideDown{0%{transform:translateY(0)}to{transform:translateY(100%)}}.chapters-list::-webkit-scrollbar{width:6px}.chapters-list::-webkit-scrollbar-track{background:#333}.chapters-list::-webkit-scrollbar-thumb{background:#666;border-radius:3px}.chapters-list::-webkit-scrollbar-thumb:hover{background:#888}@media (max-width: 375px){.chapter-progress{padding:15px 10px 5px}.chapters-popup{max-height:80vh}.chapter-item{padding:12px 15px}.chapter-title{font-size:14px}.chapter-duration{font-size:12px}}body:has(._h_1ffr7_1){--tg-footer-height: 60px}._h_1ffr7_1{z-index:2;position:fixed;bottom:0;left:0;right:0;display:flex;padding:5px 16px 0;gap:10px;background-color:var(--tg-theme-footer-bg);max-width:var(--tg-max-width, 500px);margin:0 auto;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px))}._h_1ffr7_1._row_1ffr7_20{flex-direction:row}._h_1ffr7_1._column_1ffr7_23{flex-direction:column}._h_1ffr7_1 div[data-active]{flex:1;text-align:center;padding:10px 0 0;position:relative}._h_1ffr7_1 div[data-active=true]{color:var(--tg-theme-button-color)}._h_1ffr7_1 ._badge_1ffr7_36{position:absolute;top:0;right:0;color:var(--tg-theme-button-text-color);border-radius:50%;transform:translate(50%,-50%)}._w_yx04q_3{position:fixed;top:0;left:0;z-index:10;width:100%;height:100%;transform:translate(100%);transition:transform .35s cubic-bezier(.4,0,.2,1);will-change:transform;overflow:hidden;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));padding-left:calc(var(--tg-safe-area-inset-left) + var(--tg-content-safe-area-inset-left, 0px));padding-right:calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right, 0px));height:var(--tg-safe-area-height);max-height:var(--tg-safe-area-height);background:var(--tg-theme-bg-color)}._v_yx04q_24{transform:translate(0)}._w_yx04q_3{backface-visibility:hidden;perspective:1000px}._s_yx04q_34{overflow:scroll}._n_yx04q_38{position:fixed;top:0;right:0;bottom:0;width:7px;z-index:2;background:var(--tg-theme-bg-color)}@media (prefers-reduced-motion: no-preference){._w_yx04q_3{transition:transform .35s cubic-bezier(.4,0,.2,1)}}@media (prefers-reduced-motion: reduce){._w_yx04q_3{transform:translate(0);transition:none}}._s_10r8v_3{overflow:scroll;width:100%;max-width:var(--tg-max-width);height:calc(100dvh - var(--tg-safe-area-inset-top) - var(--tg-content-safe-area-inset-top, 0px));max-height:var(--tg-viewport-height);padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-footer-height, 0px));margin:0 auto}._s_10r8v_3._n_10r8v_13:after{content:"";position:fixed;top:0;right:0;bottom:0;width:7px;z-index:2;background:var(--tg-theme-bg-color)}._a_ohhaz_1{display:flex;align-items:center;justify-content:center;padding:8px 8px 12px}._a_ohhaz_1 b{font-size:18px;font-weight:600}._a_ohhaz_1._l_ohhaz_12{justify-content:flex-start}._a_ohhaz_1._r_ohhaz_15{justify-content:flex-end}
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(
|
|
1
|
+
(function(y,S){typeof exports=="object"&&typeof module<"u"?S(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],S):(y=typeof globalThis<"u"?globalThis:y||self,S((y.elCRM=y.elCRM||{},y.elCRM.components={}),y.React,y.ReactDOM))})(this,function(y,S,rr){"use strict";var zt=document.createElement("style");zt.textContent=`@charset "UTF-8";*{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;box-sizing:border-box;padding:0;margin:0}html{height:-webkit-fill-available}body{background-color:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);-webkit-font-smoothing:antialiased;font-family:sans-serif;font-variant:no-common-ligatures;text-rendering:optimizeLegibility;padding:0;margin:0}body{overflow:hidden!important}body::-webkit-scrollbar{width:0px;height:0px;display:none!important;-ms-overflow-style:none;scrollbar-width:none}.debug{height:50px;font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;background:var(--tg-theme-header-bg-color);color:var(--tg-theme-text-color);display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--tg-theme-bg-color);z-index:222;position:fixed;top:0;left:0;right:0}.debug .b,.debug .o{padding:0 15px;cursor:pointer}.mb{bottom:0;position:fixed;left:0;right:0;padding:10px}.mb button{width:100%}.tm{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;display:flex;flex-direction:column;background-color:var(--tg-theme-bg-color);border-radius:10px;box-shadow:0 10px 20px #40404026;width:200px;position:absolute;right:5px;z-index:999;border:1px solid var(--tg-theme-hint-color)}.tm ul{list-style-type:none;margin:0;display:block;width:100%;padding:8px;border-top:1px solid var(--tg-theme-hint-color)}.tm ul:first-child{border-top:0}.tm ol{list-style-type:none;display:none;padding:8px;background-color:var(--tg-theme-bg-color);border-radius:10px;box-shadow:0 10px 20px #40404026;position:absolute;right:100%;left:-180px;z-index:100;width:100%;top:0;flex-direction:column;border:1px solid var(--tg-theme-hint-color)}.tm ol:hover{display:flex}.tm li{position:relative}.tm button{font:inherit;border:0;padding:8px 36px 8px 8px;width:100%;border-radius:8px;text-align:left;display:flex;align-items:center;position:relative;color:var(--tg-theme-text-color);background-color:var(--tg-theme-bg-color)}.tm button:hover{background-color:var(--tg-theme-button-color)}.tm button:hover+ol{display:flex}.ta{margin:0;width:100vw;height:100vh;display:-webkit-flex;display:flex;justify-content:center;align-items:center;background-color:#0006}.ta .--body{font-family:-apple-system,BlinkMacSystemFont;-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;box-sizing:border-box;font-size:17px;overflow:hidden;width:270px;height:auto;background-color:#ffffff73;border-radius:12px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:11;display:flex;align-items:flex-end;justify-content:center;animation:fadeIn .3s ease}.modal-overlay.closing{animation:fadeOut .3s ease}.modal-popup{position:relative;width:100%;min-height:var(--modal-height);max-width:500px;max-height:var(--modal-height);overflow:hidden;animation:slideUp .3s ease;background:var(--tg-theme-bg-color);padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px))}.modal-popup.closing{animation:slideDown .3s ease}.notice{position:fixed;top:0;z-index:999;max-height:0px}.notice .item{display:block;color:#fff;overflow:hidden;cursor:pointer;display:flex;margin:20px 20px 10px;border-radius:10px;padding-left:10px;gap:10px;width:calc(100vw - 40px)}.notice svg{margin-top:7px}.notice .text{padding:9px 0;flex:1}.notice .error{background:#f44336}.notice .success{background:#4caf50}.notice .warning{background:#ff9800}.notice .item.thema{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}.notice .item.error.thema svg{color:#f44336}.notice .item.success.thema svg{color:#4caf50}.notice .item.warning.thema svg{color:#ff9800}._p_12hh1_1{padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-footer-height, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));padding-left:calc(var(--tg-safe-area-inset-left) + var(--tg-content-safe-area-inset-left, 0px));padding-right:calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right, 0px));height:var(--tg-safe-area-height);max-height:var(--tg-safe-area-height)}._m_12hh1_10{margin-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px));margin-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));margin-left:calc(var(--tg-safe-area-inset-left) + var(--tg-content-safe-area-inset-left, 0px));margin-right:calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right, 0px))}._s_12hh1_17{overflow:scroll}._l_gfyud_1{padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));padding-left:calc(var(--tg-safe-area-inset-left) + var(--tg-content-safe-area-inset-left, 0px));padding-right:calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right, 0px));margin:auto;position:absolute;top:0;right:0;bottom:0;left:0}._m_ppm7n_2{display:flex;flex-direction:column;gap:8px;margin-top:20px;padding:0 10px}._g_ppm7n_10{display:flex;flex-direction:column;border-radius:10px;overflow:hidden;gap:1px}._i_ppm7n_18{display:flex;align-items:center;padding:12px 16px;border:none;text-align:left;font-size:17px;cursor:pointer;transition:background-color .2s;width:100%;position:relative;background:none;color:inherit;background-color:var(--tg-theme-secondary-bg-color);font-weight:400}._c_ppm7n_35{display:flex;align-items:center;gap:12px;flex:1}._l_ppm7n_42{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}._l_ppm7n_42 svg{width:20px;height:20px;color:#fff}._a_ppm7n_57{color:#8e8e93;font-size:18px}._n_ppm7n_62{margin-left:auto;color:#8e8e93;font-size:17px;margin-right:4px}._o_8ho2f_3{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:998;animation:_fadeIn_8ho2f_1 .3s ease}._m_8ho2f_14{position:fixed;bottom:0;width:80%;max-width:320px;background:var(--tg-theme-bg-color, #ffffff);z-index:999;transition:transform .3s ease;box-shadow:2px 0 10px #0000001a;display:flex;flex-direction:column;top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px))}._l_8ho2f_28{left:0;transform:translate(-100%)}._r_8ho2f_33{right:0;transform:translate(100%)}._x_8ho2f_38{transform:translate(0)}._h_8ho2f_42{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;border-bottom:1px solid var(--tg-theme-section-bg-color, #e5e5e5)}._h_8ho2f_42 h3{margin:0;font-size:18px;font-weight:700;color:var(--tg-theme-text-color, #000000)}._c_8ho2f_57{flex:1;overflow-y:auto}._c_8ho2f_57:after{content:"";position:absolute;top:0;bottom:0;right:0;width:7px;height:100%;background:var(--tg-theme-bg-color)}._u_8ho2f_72{display:flex;flex-direction:column;gap:10px;padding:16px}._u_8ho2f_72 li{padding:12px 0;border-bottom:1px solid var(--tg-theme-secondary-bg-color, #e5e5e5);display:flex;align-items:center;gap:10px}._u_8ho2f_72 li i{width:15px;height:15px;display:block;background:var(--tg-theme-button-color);border-radius:50%}._u_8ho2f_72 li em{display:block;width:15px;height:15px;background:var(--tg-theme-secondary-bg-color);border-radius:50%}._u_8ho2f_72 li:last-child{border-bottom:none}._u_8ho2f_72 li p{margin:0;font-size:15px;color:var(--tg-theme-text-color, #000000)}.footer-menu-overlay{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:10;display:flex;align-items:flex-end;justify-content:center;transition:opacity .5s ease-out;opacity:1}.footer-menu-overlay.is-overlay{background:var(--tg-theme-bg-color-alpha);top:0}.footer-menu-overlay.closing{opacity:0}.footer-menu-popup-book{position:relative;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px);border-radius:20px 20px 0 0;width:100%;max-width:500px;max-height:70vh;overflow:hidden;animation:slideUp .3s ease;box-shadow:0 -10px 30px #00000080;box-shadow:0 -.5px #0000001a;background:var(--tg-theme-secondary-bg-color-alpha);border-bottom:1px solid var(--tg-theme-section-separator-color)}.footer-menu-popup-book.footer{margin-bottom:calc(var(--tg-safe-area-inset-bottom) + 40px)}.footer-menu-popup-book.closing{animation:slideDown .3s ease}.footer-menu-header{position:relative;display:flex;opacity:.8;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--tg-theme-section-separator-color);z-index:1}.footer-menu-header h3{margin:0;color:var(--tg-theme-text-color);font-size:18px;font-weight:600}.footer-menu-close-btn{background:none;border:none;color:var(--tg-theme-text-color);font-size:20px;cursor:pointer;padding:5px;border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease,transform .15s ease-in-out}.footer-menu-close-btn:active{transform:scale(1.1)}.chapters-list{position:relative;max-height:60vh;overflow-y:auto;overflow-x:hidden;padding:10px 0 20px;z-index:1}.chapter-item{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;cursor:pointer;transition:background-color .2s ease,transform .15s ease-in-out;border-bottom:1px solid var(--tg-theme-section-separator-color)}.chapter-item:active{transform:scale(1.02)}.chapter-item:hover{background-color:#ffffff0d}.chapter-item.active{background-color:#ffffff1a}.chapter-info-item{display:flex;align-items:center;gap:12px}.chapter-number{background:var(--tg-theme-bg-color);color:var(--tg-theme-text-color);min-width:24px;min-height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600}.chapter-item.active .chapter-number{background:var(--tg-theme-button-color);color:var(--tg-theme-button-text-color)}.chapter-title{color:var(--tg-theme-text-color);font-size:16px;font-weight:400}.chapter-title p{font-size:10px;color:var(--tg-subtitle_text_color);font-weight:400}.chapter-title b{font-size:16px;font-weight:400}.chapter-duration{color:var(--tg-theme-text-color);opacity:.8;font-size:14px;font-weight:400}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slideDown{0%{transform:translateY(0)}to{transform:translateY(100%)}}.chapters-list::-webkit-scrollbar{width:6px}.chapters-list::-webkit-scrollbar-track{background:#333}.chapters-list::-webkit-scrollbar-thumb{background:#666;border-radius:3px}.chapters-list::-webkit-scrollbar-thumb:hover{background:#888}@media (max-width: 375px){.chapter-progress{padding:15px 10px 5px}.chapters-popup{max-height:80vh}.chapter-item{padding:12px 15px}.chapter-title{font-size:14px}.chapter-duration{font-size:12px}}body:has(._h_1ffr7_1){--tg-footer-height: 60px}._h_1ffr7_1{z-index:2;position:fixed;bottom:0;left:0;right:0;display:flex;padding:5px 16px 0;gap:10px;background-color:var(--tg-theme-footer-bg);max-width:var(--tg-max-width, 500px);margin:0 auto;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px))}._h_1ffr7_1._row_1ffr7_20{flex-direction:row}._h_1ffr7_1._column_1ffr7_23{flex-direction:column}._h_1ffr7_1 div[data-active]{flex:1;text-align:center;padding:10px 0 0;position:relative}._h_1ffr7_1 div[data-active=true]{color:var(--tg-theme-button-color)}._h_1ffr7_1 ._badge_1ffr7_36{position:absolute;top:0;right:0;color:var(--tg-theme-button-text-color);border-radius:50%;transform:translate(50%,-50%)}._w_yx04q_3{position:fixed;top:0;left:0;z-index:10;width:100%;height:100%;transform:translate(100%);transition:transform .35s cubic-bezier(.4,0,.2,1);will-change:transform;overflow:hidden;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));padding-left:calc(var(--tg-safe-area-inset-left) + var(--tg-content-safe-area-inset-left, 0px));padding-right:calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right, 0px));height:var(--tg-safe-area-height);max-height:var(--tg-safe-area-height);background:var(--tg-theme-bg-color)}._v_yx04q_24{transform:translate(0)}._w_yx04q_3{backface-visibility:hidden;perspective:1000px}._s_yx04q_34{overflow:scroll}._n_yx04q_38{position:fixed;top:0;right:0;bottom:0;width:7px;z-index:2;background:var(--tg-theme-bg-color)}@media (prefers-reduced-motion: no-preference){._w_yx04q_3{transition:transform .35s cubic-bezier(.4,0,.2,1)}}@media (prefers-reduced-motion: reduce){._w_yx04q_3{transform:translate(0);transition:none}}._s_10r8v_3{overflow:scroll;width:100%;max-width:var(--tg-max-width);height:calc(100dvh - var(--tg-safe-area-inset-top) - var(--tg-content-safe-area-inset-top, 0px));max-height:var(--tg-viewport-height);padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-footer-height, 0px));margin:0 auto}._s_10r8v_3._n_10r8v_13:after{content:"";position:fixed;top:0;right:0;bottom:0;width:7px;z-index:2;background:var(--tg-theme-bg-color)}._a_ohhaz_1{display:flex;align-items:center;justify-content:center;padding:8px 8px 12px}._a_ohhaz_1 b{font-size:18px;font-weight:600}._a_ohhaz_1._l_ohhaz_12{justify-content:flex-start}._a_ohhaz_1._r_ohhaz_15{justify-content:flex-end}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(zt);var st={exports:{}},Oe={};/**
|
|
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 Wt;function or(){if(Wt)return Oe;Wt=1;var r=S,o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function R(_,u,w){var h,m={},b=null,$=null;w!==void 0&&(b=""+w),u.key!==void 0&&(b=""+u.key),u.ref!==void 0&&($=u.ref);for(h in u)c.call(u,h)&&!p.hasOwnProperty(h)&&(m[h]=u[h]);if(_&&_.defaultProps)for(h in u=_.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:o,type:_,key:b,ref:$,props:m,_owner:l.current}}return Oe.Fragment=a,Oe.jsx=R,Oe.jsxs=R,Oe}var Ae={};/**
|
|
11
11
|
* @license React
|
|
12
12
|
* react-jsx-runtime.development.js
|
|
13
13
|
*
|
|
@@ -15,20 +15,20 @@
|
|
|
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
|
-
`+ye+e}}var _e=!1,ae;{var
|
|
18
|
+
*/var Lt;function nr(){return Lt||(Lt=1,process.env.NODE_ENV!=="production"&&function(){var r=S,o=Symbol.for("react.element"),a=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),_=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),M=Symbol.iterator,$e="@@iterator";function ve(e){if(e===null||typeof e!="object")return null;var t=M&&e[M]||e[$e];return typeof t=="function"?t:null}var W=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(e){{for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];Be("error",e,n)}}function Be(e,t,n){{var s=W.ReactDebugCurrentFrame,g=s.getStackAddendum();g!==""&&(t+="%s",n=n.concat([g]));var v=n.map(function(d){return String(d)});v.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,v)}}var Ne=!1,je=!1,Ie=!1,Me=!1,x=!1,j;j=Symbol.for("react.module.reference");function N(e){return!!(typeof e=="string"||typeof e=="function"||e===c||e===p||x||e===l||e===w||e===h||Me||e===$||Ne||je||Ie||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===R||e.$$typeof===_||e.$$typeof===u||e.$$typeof===j||e.getModuleId!==void 0))}function D(e,t,n){var s=e.displayName;if(s)return s;var g=t.displayName||t.name||"";return g!==""?n+"("+g+")":n}function I(e){return e.displayName||"Context"}function B(e){if(e==null)return null;if(typeof e.tag=="number"&&O("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 c:return"Fragment";case a:return"Portal";case p:return"Profiler";case l:return"StrictMode";case w:return"Suspense";case h:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var t=e;return I(t)+".Consumer";case R:var n=e;return I(n._context)+".Provider";case u:return D(e,e.render,"ForwardRef");case m:var s=e.displayName||null;return s!==null?s:B(e.type)||"Memo";case b:{var g=e,v=g._payload,d=g._init;try{return B(d(v))}catch{return null}}}return null}var F=Object.assign,U=0,ue,X,Y,Q,ee,De,Fe;function ze(){}ze.__reactDisabledLog=!0;function pt(){{if(U===0){ue=console.log,X=console.info,Y=console.warn,Q=console.error,ee=console.group,De=console.groupCollapsed,Fe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ze,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}U++}}function gt(){{if(U--,U===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},e,{value:ue}),info:F({},e,{value:X}),warn:F({},e,{value:Y}),error:F({},e,{value:Q}),group:F({},e,{value:ee}),groupCollapsed:F({},e,{value:De}),groupEnd:F({},e,{value:Fe})})}U<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var be=W.ReactCurrentDispatcher,ye;function ne(e,t,n){{if(ye===void 0)try{throw Error()}catch(g){var s=g.stack.trim().match(/\n( *(at )?)/);ye=s&&s[1]||""}return`
|
|
19
|
+
`+ye+e}}var _e=!1,ae;{var ht=typeof WeakMap=="function"?WeakMap:Map;ae=new ht}function We(e,t){if(!e||_e)return"";{var n=ae.get(e);if(n!==void 0)return n}var s;_e=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=be.current,be.current=null,pt();try{if(t){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(P){s=P}Reflect.construct(e,[],d)}else{try{d.call()}catch(P){s=P}e.call(d.prototype)}}else{try{throw Error()}catch(P){s=P}e()}}catch(P){if(P&&s&&typeof P.stack=="string"){for(var f=P.stack.split(`
|
|
20
20
|
`),C=s.stack.split(`
|
|
21
21
|
`),k=f.length-1,E=C.length-1;k>=1&&E>=0&&f[k]!==C[E];)E--;for(;k>=1&&E>=0;k--,E--)if(f[k]!==C[E]){if(k!==1||E!==1)do if(k--,E--,E<0||f[k]!==C[E]){var T=`
|
|
22
|
-
`+f[k].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&ae.set(e,T),T}while(k>=1&&E>=0);break}}}finally{_e=!1,be.current=
|
|
22
|
+
`+f[k].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&ae.set(e,T),T}while(k>=1&&E>=0);break}}}finally{_e=!1,be.current=v,gt(),Error.prepareStackTrace=g}var H=e?e.displayName||e.name:"",L=H?ne(H):"";return typeof e=="function"&&ae.set(e,L),L}function mt(e,t,n){return We(e,!1)}function vt(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function ie(e,t,n){if(e==null)return"";if(typeof e=="function")return We(e,vt(e));if(typeof e=="string")return ne(e);switch(e){case w:return ne("Suspense");case h:return ne("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return mt(e.render);case m:return ie(e.type,t,n);case b:{var s=e,g=s._payload,v=s._init;try{return ie(v(g),t,n)}catch{}}}return""}var G=Object.prototype.hasOwnProperty,Le={},Ue=W.ReactDebugCurrentFrame;function se(e){if(e){var t=e._owner,n=ie(e.type,e._source,t?t.type:null);Ue.setExtraStackFrame(n)}else Ue.setExtraStackFrame(null)}function bt(e,t,n,s,g){{var v=Function.call.bind(G);for(var d in e)if(v(e,d)){var f=void 0;try{if(typeof e[d]!="function"){var C=Error((s||"React class")+": "+n+" 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}f=e[d](t,d,s,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){f=k}f&&!(f instanceof Error)&&(se(g),O("%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).",s||"React class",n,d,typeof f),se(null)),f instanceof Error&&!(f.message in Le)&&(Le[f.message]=!0,se(g),O("Failed %s type: %s",n,f.message),se(null))}}}var yt=Array.isArray;function xe(e){return yt(e)}function _t(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function xt(e){try{return Ve(e),!1}catch{return!0}}function Ve(e){return""+e}function qe(e){if(xt(e))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",_t(e)),Ve(e)}var He=W.ReactCurrentOwner,kt={key:!0,ref:!0,__self:!0,__source:!0},Je,Ke;function St(e){if(G.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function wt(e){if(G.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function Rt(e,t){typeof e.ref=="string"&&He.current}function Et(e,t){{var n=function(){Je||(Je=!0,O("%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}}function jt(e,t){{var n=function(){Ke||(Ke=!0,O("%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}}var Ot=function(e,t,n,s,g,v,d){var f={$$typeof:o,type:e,key:t,ref:n,props:d,_owner:v};return f._store={},Object.defineProperty(f._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(f,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(f,"_source",{configurable:!1,enumerable:!1,writable:!1,value:g}),Object.freeze&&(Object.freeze(f.props),Object.freeze(f)),f};function At(e,t,n,s,g){{var v,d={},f=null,C=null;n!==void 0&&(qe(n),f=""+n),wt(t)&&(qe(t.key),f=""+t.key),St(t)&&(C=t.ref,Rt(t,g));for(v in t)G.call(t,v)&&!kt.hasOwnProperty(v)&&(d[v]=t[v]);if(e&&e.defaultProps){var k=e.defaultProps;for(v in k)d[v]===void 0&&(d[v]=k[v])}if(f||C){var E=typeof e=="function"?e.displayName||e.name||"Unknown":e;f&&Et(d,E),C&&jt(d,E)}return Ot(e,f,C,g,s,He.current,d)}}var ke=W.ReactCurrentOwner,Ge=W.ReactDebugCurrentFrame;function q(e){if(e){var t=e._owner,n=ie(e.type,e._source,t?t.type:null);Ge.setExtraStackFrame(n)}else Ge.setExtraStackFrame(null)}var Se;Se=!1;function we(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}function Ze(){{if(ke.current){var e=B(ke.current.type);if(e)return`
|
|
23
23
|
|
|
24
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
24
|
+
Check the render method of \``+e+"`."}return""}}function Ct(e){return""}var Xe={};function Pt(e){{var t=Ze();if(!t){var n=typeof e=="string"?e:e.displayName||e.name;n&&(t=`
|
|
25
25
|
|
|
26
|
-
Check the top-level render call using <`+n+">.")}return t}}function Ye(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var n=
|
|
26
|
+
Check the top-level render call using <`+n+">.")}return t}}function Ye(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var n=Pt(t);if(Xe[n])return;Xe[n]=!0;var s="";e&&e._owner&&e._owner!==ke.current&&(s=" It was passed a child from "+B(e._owner.type)+"."),q(e),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,s),q(null)}}function Qe(e,t){{if(typeof e!="object")return;if(xe(e))for(var n=0;n<e.length;n++){var s=e[n];we(s)&&Ye(s,t)}else if(we(e))e._store&&(e._store.validated=!0);else if(e){var g=ve(e);if(typeof g=="function"&&g!==e.entries)for(var v=g.call(e),d;!(d=v.next()).done;)we(d.value)&&Ye(d.value,t)}}}function Tt(e){{var t=e.type;if(t==null||typeof t=="string")return;var n;if(typeof t=="function")n=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===u||t.$$typeof===m))n=t.propTypes;else return;if(n){var s=B(t);bt(n,e.props,"prop",s,e)}else if(t.PropTypes!==void 0&&!Se){Se=!0;var g=B(t);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",g||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $t(e){{for(var t=Object.keys(e.props),n=0;n<t.length;n++){var s=t[n];if(s!=="children"&&s!=="key"){q(e),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),q(null);break}}e.ref!==null&&(q(e),O("Invalid attribute `ref` supplied to `React.Fragment`."),q(null))}}var et={};function tt(e,t,n,s,g,v){{var d=N(e);if(!d){var f="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(f+=" 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=Ct();C?f+=C:f+=Ze();var k;e===null?k="null":xe(e)?k="array":e!==void 0&&e.$$typeof===o?(k="<"+(B(e.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):k=typeof e,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",k,f)}var E=At(e,t,n,g,v);if(E==null)return E;if(d){var T=t.children;if(T!==void 0)if(s)if(xe(T)){for(var H=0;H<T.length;H++)Qe(T[H],e);Object.freeze&&Object.freeze(T)}else O("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 Qe(T,e)}if(G.call(t,"key")){var L=B(e),P=Object.keys(t).filter(function(Ft){return Ft!=="key"}),Re=P.length>0?"{key: someKey, "+P.join(": ..., ")+": ...}":"{key: someKey}";if(!et[L+Re]){var Dt=P.length>0?"{"+P.join(": ..., ")+": ...}":"{}";O(`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} />`,Re,L,
|
|
31
|
+
<%s key={someKey} {...props} />`,Re,L,Dt,L),et[L+Re]=!0}}return e===c?$t(E):Tt(E),E}}function Bt(e,t,n){return tt(e,t,n,!0)}function Nt(e,t,n){return tt(e,t,n,!1)}var It=Nt,Mt=Bt;Ae.Fragment=c,Ae.jsx=It,Ae.jsxs=Mt}()),Ae}process.env.NODE_ENV==="production"?st.exports=or():st.exports=nr();var i=st.exports;let V={};var lt;(r=>{function o({children:_,onCallbackModal:u,nameModal:w}){const[h,m]=S.useState(!1),[b,$]=S.useState(!1);if(V[w].onClose=()=>{y.default.BackButton(!1),$(!0),setTimeout(()=>{m(!1),$(!1),u==null||u(),V.x(w)},300)},S.useEffect(()=>{h?V[w].onClose():(y.default.BackButton({callback:()=>V[w].onClose()}),m(!0))},[]),!!h)return i.jsx("div",{className:`modal-overlay ${b?"closing":""}`,children:i.jsx("div",{className:`modal-popup ${b?"closing":""}`,children:i.jsx("div",{children:_})})})}r.Content=o;function a({import_modules:_}){let[u,w]=S.useState([]);return V.x=h=>{w(h?u.filter(m=>m.key!==h):[])},S.useEffect(()=>{_&&(V.i=_)},[]),V.add=(h,m=Date.now())=>{w([...u,{key:m,item:h}])},i.jsx(i.Fragment,{children:u.map(h=>h.item)})}r.Init=a;function c(_,u){V.add(i.jsx(o,{onCallbackModal:V["callback_modal"+u],nameModal:u||"",children:_},String(Date.now())),u)}r.Add=c;function l(_,u=Date.now().toString()){return V[u]={},{Open:m=>{r.Add(i.jsx(_,{...m,onCallbackModal:b=>{var $;($=m.callback)==null||$.call(m,b)},nameModal:u},new Date().getTime()),u)}}}r.Create=l;function p(_){V[_].onClose()}r.Close=p;function R(_,u,w,h){V.i&&(h&&(w.callback=h),V.i(`${_}/modals/${u}.tsx`).then(m=>{m.default.Open(w)}))}r.Open=R})(lt||(lt={}));function Ut(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}const Vt={key:"Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",iterations:7,saltLength:16};function qt(r){const o=Ut();o.CRYPTO_PARAMS?o.CRYPTO_PARAMS={...o.CRYPTO_PARAMS,...r}:o.CRYPTO_PARAMS={...Vt,...r}}function rt(){return Ut().CRYPTO_PARAMS||Vt}const ot=r=>{let o=0;for(let c=0;c<r.length;c++){const l=r.charCodeAt(c);o=(o<<5)-o+l,o=o&o}o=Math.abs(o);let a="";for(let c=0;c<64;c++){const l=(o^c*197)&255;a+=l.toString(16).padStart(2,"0")}return a},Ht=(r,o)=>{let a=r+o;for(let l=0;l<rt().iterations;l++)a=ot(a);const c=new Uint8Array(32);for(let l=0;l<32;l++)c[l]=parseInt(a.substring(l*2,l*2+2),16);return c},Jt=(r,o)=>{const a=new Uint8Array(r.length),c=new Uint8Array(r.length);let l=0;for(let p=0;p<r.length;p++){const R=p%o.length;l=o[R]+p+l&255,c[p]=l}for(let p=0;p<r.length;p++)a[p]=r[p]^c[p];return a},ar=r=>new TextEncoder().encode(r),ir=r=>new TextDecoder().decode(r),sr=r=>{let o="";for(let a=0;a<r.length;a+=8192){const c=r.slice(a,Math.min(a+8192,r.length));o+=String.fromCharCode.apply(null,Array.from(c))}return btoa(o)},lr=r=>{const o=atob(r),a=new Uint8Array(o.length);for(let c=0;c<o.length;c++)a[c]=o.charCodeAt(c);return a},cr=r=>{try{const o=ot(Date.now().toString()+Math.random()).substring(0,rt().saltLength*2),a=ot(r+o).substring(0,8),c=Ht(rt().key,o),l=ar(r),p=Jt(l,c),R=sr(p);return`${o}.${R}.${a}`}catch{throw new Error("Не удалось зашифровать данные")}},ur=r=>{try{const o=r.split(".");if(o.length!==3)throw new Error("Неверный формат зашифрованных данных");const a=o[0],c=o[1],l=o[2],p=Ht(rt().key,a),R=lr(c),_=Jt(R,p),u=ir(_);if(ot(u+a).substring(0,8)!==l)throw new Error("Контрольная сумма не совпадает");return u}catch{return""}};var le;(r=>{r.setKey=o=>{qt({key:o})},r.enCode=o=>{try{const a=JSON.stringify(o);return cr(a)}catch{throw new Error("Не удалось зашифровать объект")}},r.deCode=o=>{try{if(!o||o.length<10)return!1;const a=ur(o);return a&&JSON.parse(a)||!1}catch{return!1}},r.setSecurityParams=(o,a)=>{qt({iterations:o,saltLength:a})}})(le||(le={}));var Ce={};/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.production.min.js
|
|
34
34
|
*
|
|
@@ -36,7 +36,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
36
36
|
*
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/var
|
|
39
|
+
*/var Kt;function fr(){if(Kt)return Ce;Kt=1;var r=S,o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};function R(_,u,w){var h,m={},b=null,$=null;w!==void 0&&(b=""+w),u.key!==void 0&&(b=""+u.key),u.ref!==void 0&&($=u.ref);for(h in u)c.call(u,h)&&!p.hasOwnProperty(h)&&(m[h]=u[h]);if(_&&_.defaultProps)for(h in u=_.defaultProps,u)m[h]===void 0&&(m[h]=u[h]);return{$$typeof:o,type:_,key:b,ref:$,props:m,_owner:l.current}}return Ce.Fragment=a,Ce.jsx=R,Ce.jsxs=R,Ce}var nt={};/**
|
|
40
40
|
* @license React
|
|
41
41
|
* react-jsx-runtime.development.js
|
|
42
42
|
*
|
|
@@ -44,17 +44,17 @@ React keys must be passed directly to JSX without using spread:
|
|
|
44
44
|
*
|
|
45
45
|
* This source code is licensed under the MIT license found in the
|
|
46
46
|
* LICENSE file in the root directory of this source tree.
|
|
47
|
-
*/var
|
|
48
|
-
`+ye+e}}var _e=!1,ae;{var
|
|
47
|
+
*/var Gt;function dr(){return Gt||(Gt=1,process.env.NODE_ENV!=="production"&&function(){var r=S,o=Symbol.for("react.element"),a=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),R=Symbol.for("react.provider"),_=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),$=Symbol.for("react.offscreen"),M=Symbol.iterator,$e="@@iterator";function ve(e){if(e===null||typeof e!="object")return null;var t=M&&e[M]||e[$e];return typeof t=="function"?t:null}var W=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(e){{for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];Be("error",e,n)}}function Be(e,t,n){{var s=W.ReactDebugCurrentFrame,g=s.getStackAddendum();g!==""&&(t+="%s",n=n.concat([g]));var v=n.map(function(d){return String(d)});v.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,v)}}var Ne=!1,je=!1,Ie=!1,Me=!1,x=!1,j;j=Symbol.for("react.module.reference");function N(e){return!!(typeof e=="string"||typeof e=="function"||e===c||e===p||x||e===l||e===w||e===h||Me||e===$||Ne||je||Ie||typeof e=="object"&&e!==null&&(e.$$typeof===b||e.$$typeof===m||e.$$typeof===R||e.$$typeof===_||e.$$typeof===u||e.$$typeof===j||e.getModuleId!==void 0))}function D(e,t,n){var s=e.displayName;if(s)return s;var g=t.displayName||t.name||"";return g!==""?n+"("+g+")":n}function I(e){return e.displayName||"Context"}function B(e){if(e==null)return null;if(typeof e.tag=="number"&&O("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 c:return"Fragment";case a:return"Portal";case p:return"Profiler";case l:return"StrictMode";case w:return"Suspense";case h:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _:var t=e;return I(t)+".Consumer";case R:var n=e;return I(n._context)+".Provider";case u:return D(e,e.render,"ForwardRef");case m:var s=e.displayName||null;return s!==null?s:B(e.type)||"Memo";case b:{var g=e,v=g._payload,d=g._init;try{return B(d(v))}catch{return null}}}return null}var F=Object.assign,U=0,ue,X,Y,Q,ee,De,Fe;function ze(){}ze.__reactDisabledLog=!0;function pt(){{if(U===0){ue=console.log,X=console.info,Y=console.warn,Q=console.error,ee=console.group,De=console.groupCollapsed,Fe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ze,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}U++}}function gt(){{if(U--,U===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},e,{value:ue}),info:F({},e,{value:X}),warn:F({},e,{value:Y}),error:F({},e,{value:Q}),group:F({},e,{value:ee}),groupCollapsed:F({},e,{value:De}),groupEnd:F({},e,{value:Fe})})}U<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var be=W.ReactCurrentDispatcher,ye;function ne(e,t,n){{if(ye===void 0)try{throw Error()}catch(g){var s=g.stack.trim().match(/\n( *(at )?)/);ye=s&&s[1]||""}return`
|
|
48
|
+
`+ye+e}}var _e=!1,ae;{var ht=typeof WeakMap=="function"?WeakMap:Map;ae=new ht}function We(e,t){if(!e||_e)return"";{var n=ae.get(e);if(n!==void 0)return n}var s;_e=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var v;v=be.current,be.current=null,pt();try{if(t){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(P){s=P}Reflect.construct(e,[],d)}else{try{d.call()}catch(P){s=P}e.call(d.prototype)}}else{try{throw Error()}catch(P){s=P}e()}}catch(P){if(P&&s&&typeof P.stack=="string"){for(var f=P.stack.split(`
|
|
49
49
|
`),C=s.stack.split(`
|
|
50
50
|
`),k=f.length-1,E=C.length-1;k>=1&&E>=0&&f[k]!==C[E];)E--;for(;k>=1&&E>=0;k--,E--)if(f[k]!==C[E]){if(k!==1||E!==1)do if(k--,E--,E<0||f[k]!==C[E]){var T=`
|
|
51
|
-
`+f[k].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&ae.set(e,T),T}while(k>=1&&E>=0);break}}}finally{_e=!1,be.current=
|
|
51
|
+
`+f[k].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&ae.set(e,T),T}while(k>=1&&E>=0);break}}}finally{_e=!1,be.current=v,gt(),Error.prepareStackTrace=g}var H=e?e.displayName||e.name:"",L=H?ne(H):"";return typeof e=="function"&&ae.set(e,L),L}function mt(e,t,n){return We(e,!1)}function vt(e){var t=e.prototype;return!!(t&&t.isReactComponent)}function ie(e,t,n){if(e==null)return"";if(typeof e=="function")return We(e,vt(e));if(typeof e=="string")return ne(e);switch(e){case w:return ne("Suspense");case h:return ne("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return mt(e.render);case m:return ie(e.type,t,n);case b:{var s=e,g=s._payload,v=s._init;try{return ie(v(g),t,n)}catch{}}}return""}var G=Object.prototype.hasOwnProperty,Le={},Ue=W.ReactDebugCurrentFrame;function se(e){if(e){var t=e._owner,n=ie(e.type,e._source,t?t.type:null);Ue.setExtraStackFrame(n)}else Ue.setExtraStackFrame(null)}function bt(e,t,n,s,g){{var v=Function.call.bind(G);for(var d in e)if(v(e,d)){var f=void 0;try{if(typeof e[d]!="function"){var C=Error((s||"React class")+": "+n+" 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}f=e[d](t,d,s,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(k){f=k}f&&!(f instanceof Error)&&(se(g),O("%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).",s||"React class",n,d,typeof f),se(null)),f instanceof Error&&!(f.message in Le)&&(Le[f.message]=!0,se(g),O("Failed %s type: %s",n,f.message),se(null))}}}var yt=Array.isArray;function xe(e){return yt(e)}function _t(e){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&e[Symbol.toStringTag]||e.constructor.name||"Object";return n}}function xt(e){try{return Ve(e),!1}catch{return!0}}function Ve(e){return""+e}function qe(e){if(xt(e))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",_t(e)),Ve(e)}var He=W.ReactCurrentOwner,kt={key:!0,ref:!0,__self:!0,__source:!0},Je,Ke;function St(e){if(G.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return e.ref!==void 0}function wt(e){if(G.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return e.key!==void 0}function Rt(e,t){typeof e.ref=="string"&&He.current}function Et(e,t){{var n=function(){Je||(Je=!0,O("%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}}function jt(e,t){{var n=function(){Ke||(Ke=!0,O("%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)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}}var Ot=function(e,t,n,s,g,v,d){var f={$$typeof:o,type:e,key:t,ref:n,props:d,_owner:v};return f._store={},Object.defineProperty(f._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(f,"_self",{configurable:!1,enumerable:!1,writable:!1,value:s}),Object.defineProperty(f,"_source",{configurable:!1,enumerable:!1,writable:!1,value:g}),Object.freeze&&(Object.freeze(f.props),Object.freeze(f)),f};function At(e,t,n,s,g){{var v,d={},f=null,C=null;n!==void 0&&(qe(n),f=""+n),wt(t)&&(qe(t.key),f=""+t.key),St(t)&&(C=t.ref,Rt(t));for(v in t)G.call(t,v)&&!kt.hasOwnProperty(v)&&(d[v]=t[v]);if(e&&e.defaultProps){var k=e.defaultProps;for(v in k)d[v]===void 0&&(d[v]=k[v])}if(f||C){var E=typeof e=="function"?e.displayName||e.name||"Unknown":e;f&&Et(d,E),C&&jt(d,E)}return Ot(e,f,C,g,s,He.current,d)}}var ke=W.ReactCurrentOwner,Ge=W.ReactDebugCurrentFrame;function q(e){if(e){var t=e._owner,n=ie(e.type,e._source,t?t.type:null);Ge.setExtraStackFrame(n)}else Ge.setExtraStackFrame(null)}var Se;Se=!1;function we(e){return typeof e=="object"&&e!==null&&e.$$typeof===o}function Ze(){{if(ke.current){var e=B(ke.current.type);if(e)return`
|
|
52
52
|
|
|
53
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
53
|
+
Check the render method of \``+e+"`."}return""}}function Ct(e){return""}var Xe={};function Pt(e){{var t=Ze();if(!t){var n=typeof e=="string"?e:e.displayName||e.name;n&&(t=`
|
|
54
54
|
|
|
55
|
-
Check the top-level render call using <`+n+">.")}return t}}function Ye(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var n=
|
|
55
|
+
Check the top-level render call using <`+n+">.")}return t}}function Ye(e,t){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var n=Pt(t);if(Xe[n])return;Xe[n]=!0;var s="";e&&e._owner&&e._owner!==ke.current&&(s=" It was passed a child from "+B(e._owner.type)+"."),q(e),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,s),q(null)}}function Qe(e,t){{if(typeof e!="object")return;if(xe(e))for(var n=0;n<e.length;n++){var s=e[n];we(s)&&Ye(s,t)}else if(we(e))e._store&&(e._store.validated=!0);else if(e){var g=ve(e);if(typeof g=="function"&&g!==e.entries)for(var v=g.call(e),d;!(d=v.next()).done;)we(d.value)&&Ye(d.value,t)}}}function Tt(e){{var t=e.type;if(t==null||typeof t=="string")return;var n;if(typeof t=="function")n=t.propTypes;else if(typeof t=="object"&&(t.$$typeof===u||t.$$typeof===m))n=t.propTypes;else return;if(n){var s=B(t);bt(n,e.props,"prop",s,e)}else if(t.PropTypes!==void 0&&!Se){Se=!0;var g=B(t);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",g||"Unknown")}typeof t.getDefaultProps=="function"&&!t.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $t(e){{for(var t=Object.keys(e.props),n=0;n<t.length;n++){var s=t[n];if(s!=="children"&&s!=="key"){q(e),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",s),q(null);break}}e.ref!==null&&(q(e),O("Invalid attribute `ref` supplied to `React.Fragment`."),q(null))}}var et={};function tt(e,t,n,s,g,v){{var d=N(e);if(!d){var f="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(f+=" 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=Ct();C?f+=C:f+=Ze();var k;e===null?k="null":xe(e)?k="array":e!==void 0&&e.$$typeof===o?(k="<"+(B(e.type)||"Unknown")+" />",f=" Did you accidentally export a JSX literal instead of a component?"):k=typeof e,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",k,f)}var E=At(e,t,n,g,v);if(E==null)return E;if(d){var T=t.children;if(T!==void 0)if(s)if(xe(T)){for(var H=0;H<T.length;H++)Qe(T[H],e);Object.freeze&&Object.freeze(T)}else O("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 Qe(T,e)}if(G.call(t,"key")){var L=B(e),P=Object.keys(t).filter(function(Ft){return Ft!=="key"}),Re=P.length>0?"{key: someKey, "+P.join(": ..., ")+": ...}":"{key: someKey}";if(!et[L+Re]){var Dt=P.length>0?"{"+P.join(": ..., ")+": ...}":"{}";O(`A props object containing a "key" prop is being spread into JSX:
|
|
56
56
|
let props = %s;
|
|
57
57
|
<%s {...props} />
|
|
58
58
|
React keys must be passed directly to JSX without using spread:
|
|
59
59
|
let props = %s;
|
|
60
|
-
<%s key={someKey} {...props} />`,Re,L,Ft,L),et[L+Re]=!0}}return e===l?Bt(E):$t(E),E}}function Nt(e,t,n){return tt(e,t,n,!0)}function It(e,t,n){return tt(e,t,n,!1)}var Mt=It,Dt=Nt;nt.Fragment=l,nt.jsx=Mt,nt.jsxs=Dt}()),nt}process.env.NODE_ENV==="production"?dr():pr();const hr="0.0.40",Xt={version:hr},te={},J={module:"",v:Xt.version,page:"Main",auth:"Auth",STORAGE:"f",LISTENER:{},debug:!1,tab:"",id:0,prev:{page:"",module:"",tab:"",id:0}};function fe(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}fe().elcrm||(fe().elcrm={}),Object.assign(fe().elcrm,{router:Xt.version});function Z(r){var o,a,l,c;const p=fe();if(p.ROUTER_PARAMS){r.debug||p.ROUTER_PARAMS.debug;const R={page:(o=p.ROUTER_PARAMS)==null?void 0:o.page,module:(a=p.ROUTER_PARAMS)==null?void 0:a.module,tab:(l=p.ROUTER_PARAMS)==null?void 0:l.tab,id:(c=p.ROUTER_PARAMS)==null?void 0:c.id};p.ROUTER_PARAMS={...p.ROUTER_PARAMS,...r,prev:R}}else{r.debug||J.debug;const R={page:J==null?void 0:J.page,module:J==null?void 0:J.module,tab:J==null?void 0:J.tab,id:J==null?void 0:J.id};p.ROUTER_PARAMS={...J,...r,prev:R}}}function A(){return fe().ROUTER_PARAMS||J}function de(r){const o=fe();o.ROUTER_PARAMS?o.ROUTER_PARAMS.LISTENER={...o.ROUTER_PARAMS.LISTENER,...r}:o.ROUTER_PARAMS.LISTENER={...r}}function re(){return fe().ROUTER_PARAMS.LISTENER||J.LISTENER}var ce;(r=>{function o(){var x;let j=sessionStorage.getItem("f");if(j){if(j=le.deCode(j),!j)return!1;Z({id:j.id,tab:j.tab,page:j.page,module:j.module,time:j.time,payment:{active:!0},module_admin:j.module_admin})}else Z({id:0,tab:"",page:(x=localStorage.getItem("d"))!=null&&x.length?A().page:A().auth,module:A().module});return!0}function a(){te.id=0,te.tab="",te.page=A().page,te.module=A().module}r.Reset=a;function l({module:x=A().module,page:j=A().page,auth:N=A().auth,debug:D=A().debug}){Z({page:j,module:x,auth:N,debug:D}),o()}r.Default=l;function c(x){let j=I=>(Z({page:I}),I);const[N,D]=w.useState(R()||x&&j(x)||A().page);return de({page:I=>{D(I)}}),N}r.usePage=c;function p(x,j=!0,N={}){Z({page:x,...N}),sessionStorage.setItem(A().STORAGE,le.enCode(A())),j&&re().page(x)}r.setPage=p;function R(){return A().page}r.getPage=R;function _(x){return A().page===x}r.isPage=_;function u(){return A().prev}r.getBack=u;function S(x,j){const[N,D]=w.useState(b()||x||A().module);return de({module:D}),N}r.useModule=S;function g(x,j=!0){Z({module:x}),sessionStorage.setItem(A().STORAGE,le.enCode(A())),j&&re().module(x)}r.setModule=g;function b(){return A().module||""}r.getModule=b;function y(x){return A().module===x}r.isModule=y;function $(x,j){if(typeof x!="function"){const[N,D]=w.useState(!j),[I,B]=w.useState(x||ve());return de({tabs:B}),j&&w.useEffect(()=>{D(!0)},[]),[I,N]}else de({tabs:x})}r.useTabs=$;function M(x){let j=I=>(Z({tab:I}),I);const[N,D]=w.useState(ve()||x&&j(x)||A().tab);return de({tabs:I=>{D(I)}}),N}r.useTab=M;async function $e(x,j=!0){Z({tab:x}),sessionStorage.setItem(A().STORAGE,le.enCode(A())),j&&(re().tabs&&re().tabs(x))}r.setTabs=$e;function ve(){return A().tab}r.getTabs=ve;function W(x){return A().tab===x}r.isTabs=W;function O(x){if(typeof x!="function"){const[j,N]=w.useState(x||je());return de({id:D=>{N(D)}}),j}else de({id:x})}r.useId=O;function Be(x){}r.subId=Be;async function Ne(x,j=!0){Z({id:x}),sessionStorage.setItem(A().STORAGE,le.enCode(A())),j&&re().id(x)}r.setId=Ne;function je(){return A().id}r.getId=je;function Ie(x){return Number(A().id)===x}r.isId=Ie;async function Me(x){var j,N,D,I,B,F,U,ue;const{page:X,module:Y,tab:Q,id:ee}=x;X!==void 0&&(te.page=X),Y!==void 0&&(te.module=Y),Q!==void 0&&(te.tab=Q),ee!==void 0&&(te.id=ee),Z({...te}),ee!==void 0&&((N=(j=re()).id)==null||N.call(j,ee)),Q!==void 0&&((I=(D=re()).tabs)==null||I.call(D,Q)),Y!==void 0&&((F=(B=re()).module)==null||F.call(B,Y)),X!==void 0&&((ue=(U=re()).page)==null||ue.call(U,X)),sessionStorage.setItem(A().STORAGE,le.enCode(A()))}r.navigate=Me})(ce||(ce={}));let at={};function gr(){const[r,o]=w.useState([]);return at.set=a=>{o([...r,a])},at.del=a=>{r.forEach((l,c)=>{l.key===a&&r.splice(c,1)}),o(r)},r.length===0?i.jsx(i.Fragment,{}):i.jsx("div",{className:"notice",children:r.map(a=>a.item)})}function mr(r){let o=new Date().getTime();r.key=o,at.set({item:i.jsx(vr,{data:r},o),key:o})}function vr(r){const o=r.data;let[a]=w.useState("show"),[l,c]=w.useState(!1);w.useEffect(()=>{setTimeout(function(){c(!0),at.del(o.key)},5e3)},[o.key]);let p;switch(o.type){case"error":p=i.jsx("path",{d:"M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z"});break;case"success":p=i.jsx("path",{d:"M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z"});break;case"warning":p=i.jsx("path",{d:"M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z"});break;default:p="icon fa fa-exclamation-circle";break}return i.jsx(i.Fragment,{children:l?i.jsx(i.Fragment,{}):i.jsxs("div",{className:"item "+o.type+` ${o.thema!==void 0?" thema":""}`,"data-status":a,children:[i.jsx("svg",{type:"solid",fill:"currentColor",stroke:"none",strokeWidth:"0",width:"24",height:"24",viewBox:"0 0 24 24",children:p}),i.jsx("span",{className:"text",children:o.text})]})})}let pe={Send:mr,Init:gr};const he={is:!1,MainButton:{},BackButton:{}};let K={};K.dark={"--tg-theme-subtitle-text-color":"#98989e","--tg-theme-destructive-text-color":"#e53935","--tg-theme-section-separator-color":"#545458","--tg-theme-link-color":"#3e88f7","--tg-theme-accent-text-color":"#3e88f7","--tg-theme-bg-color":"#000000","--tg-theme-secondary-bg-color":"#1c1c1d","--tg-theme-button-color":"#3e88f7","--tg-theme-button-text-color":"#ffffff","--tg-theme-bottom-bar-bg-color":"#1d1d1d","--tg-theme-section-header-text-color":"#8d8e93","--tg-theme-header-bg-color":"#1a1a1a","--tg-theme-hint-color":"#98989e","--tg-theme-text-color":"#ffffff","--tg-theme-section-bg-color":"#2c2c2e"},K.light={"--tg-theme-subtitle-text-color":"#8e8e93","--tg-theme-destructive-text-color":"#ff3b30","--tg-theme-section-separator-color":"#c8c7cc","--tg-theme-link-color":"#007aff","--tg-theme-accent-text-color":"#007aff","--tg-theme-bg-color":"#ffffff","--tg-theme-secondary-bg-color":"#efeff4","--tg-theme-button-color":"#007aff","--tg-theme-button-text-color":"#ffffff","--tg-theme-bottom-bar-bg-color":"#f2f2f2","--tg-theme-section-header-text-color":"#6d6d72","--tg-theme-header-bg-color":"#f8f8f8","--tg-theme-hint-color":"#8e8e93","--tg-theme-text-color":"#000000","--tg-theme-section-bg-color":"#f8f8f8"},K.users={"--tg-theme-bg-color":"#000000","--tg-theme-text-color":"#ffffff","--tg-theme-hint-color":"#98989e","--tg-theme-link-color":"#ffffff","--tg-theme-button-color":"#ffffff","--tg-theme-button-text-color":"#000000","--tg-theme-secondary-bg-color":"#000000"};const br=()=>{if(location.hostname==="localhost"){let[r,o]=w.useState(!1),[a,l]=w.useState(!1),[c,p]=w.useState("dark"),[R,_]=w.useState(!1),[u,S]=w.useState(!1);he.is=!0,he.MainButton.set=o,he.BackButton.set=l,w.useEffect(()=>{K[c]["--tg-theme-bg-color-alpha"]=K[c]["--tg-theme-bg-color"]+"b3",K[c]["--tg-theme-secondary-bg-color-alpha"]=K[c]["--tg-theme-secondary-bg-color"]+"d3";for(let y in K[c])document.documentElement.style.setProperty(y,K[c][y]);me.safeAreaInset.bottom===0&&document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]);let g=y=>{for(let $ in K[y])document.documentElement.style.setProperty($,K[y][$]);p(y),_(!1)},b=()=>{_(!1),S(!0)};return i.jsxs(i.Fragment,{children:[i.jsxs("header",{className:"debug",children:[a===!1?i.jsx("div",{className:"b",children:"Отмена"}):i.jsx("div",{onClick:()=>{var y;a.page===void 0?(y=a.callback)==null||y.call(a):ce.setPage(a.page)},className:"b",children:"Назад"}),i.jsx("div",{className:"o",onClick:()=>_(!R),children:"Меню"})]}),i.jsx(pe.Init,{}),r&&i.jsx("div",{className:"mb",children:i.jsx("button",{onClick:()=>{r.page&&ce.setPage(r.page),r.callback&&r.callback()},children:r.text})}),R?i.jsxs("div",{className:"tm",children:[i.jsxs("ul",{children:[i.jsx("li",{children:i.jsx("button",{onClick:b,children:"Authorization"})}),i.jsx("li",{})]}),i.jsxs("ul",{children:[i.jsxs("li",{children:[i.jsx("button",{children:"Thema"}),i.jsxs("ol",{children:[i.jsx("li",{children:i.jsx("button",{onClick:()=>g("dark"),children:"Dark"})}),i.jsx("li",{children:i.jsx("button",{onClick:()=>g("light"),children:"Light"})}),i.jsx("li",{children:i.jsx("button",{onClick:()=>g("users"),children:"Users"})})]})]}),i.jsx("li",{children:i.jsx("button",{onClick:()=>_(!R),children:"Closed"})})]})]}):"",u?i.jsx(yr,{setAuthorization:S}):""]})}else return w.useEffect(()=>{document.documentElement.style.setProperty("--tg-theme-secondary-bg-color-alpha",me.themeParams.secondary_bg_color+"d3"),document.documentElement.style.setProperty("--tg-theme-bg-color-alpha",me.themeParams.bg_color+"b3"),me.safeAreaInset.bottom===0&&document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]),i.jsx(i.Fragment,{children:i.jsx(pe.Init,{})})},yr=({setAuthorization:r})=>{let o={},a=()=>{localStorage.setItem("auth",o)};return i.jsx("div",{className:"ta",children:i.jsxs("div",{className:"--body",children:[i.jsx("fieldset",{}),i.jsx("div",{onClick:a,children:" Сохранить "})]})})},Yt={p:"_p_12hh1_1",s:"_s_12hh1_17"},_r=({className:r,children:o,isScroll:a=!0})=>i.jsx("div",{className:[Yt.p,a&&Yt.s,r].filter(l=>l!==void 0).join(" "),children:o}),xr={l:"_l_gfyud_1"},kr=({children:r,className:o})=>i.jsx("div",{className:[xr.l,o].filter(a=>a!==void 0).join(" "),children:r}),ge={m:"_m_ppm7n_2",g:"_g_ppm7n_10",i:"_i_ppm7n_18",c:"_c_ppm7n_35",l:"_l_ppm7n_42",a:"_a_ppm7n_57",n:"_n_ppm7n_62"},Sr=({items:r})=>{const o=l=>{ce.setPage(l)},a=l=>{me.openTelegramLink(l)};return i.jsx("div",{className:ge.m,children:r.map(l=>i.jsx("div",{className:ge.g,children:l.items.map((c,p)=>i.jsxs("div",{className:ge.i,onClick:()=>{c.link&&a(c.link),c.page&&o(c.page),c.callback&&c.callback()},children:[i.jsxs("div",{className:ge.c,children:[i.jsx("span",{className:ge.l,style:{background:c.color},children:c.icon}),c.title,c.count&&i.jsx("span",{className:ge.n,children:c.count})]}),i.jsx("span",{className:ge.a,children:"›"})]},p))},l.id))})},oe={o:"_o_8ho2f_3",m:"_m_8ho2f_14",l:"_l_8ho2f_28",r:"_r_8ho2f_33",x:"_x_8ho2f_38",h:"_h_8ho2f_42",c:"_c_8ho2f_57",u:"_u_8ho2f_72"};function wr({children:r,icon:o,iconBadge:a=0,title:l,className:c,view:p="list",position:R="left"}){const[_,u]=w.useState(!1),[S,g]=w.useState(null);w.useEffect(()=>{let y=document.querySelector(".p_sb");return y||(y=document.createElement("div"),y.className="_p_sb",document.body.appendChild(y)),g(y),()=>{y&&y.parentNode&&y.parentNode.removeChild(y)}},[]);const b=i.jsxs(i.Fragment,{children:[_&&i.jsx("div",{className:oe.o,onClick:()=>u(!1)}),i.jsxs("div",{className:Te(oe.m,R==="left"?oe.l:oe.r,_&&oe.x,c),children:[i.jsxs("div",{className:oe.h,children:[l&&i.jsx("h3",{className:oe.t,children:l}),i.jsxs("svg",{onClick:()=>u(!1),fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"24",height:"24","data-pointer":"true",style:{cursor:"pointer"},children:[i.jsx("path",{d:"M17.25 17.25 6.75 6.75"}),i.jsx("path",{d:"m17.25 6.75-10.5 10.5"})]})]}),i.jsx("div",{className:oe.c,children:p==="list"?i.jsx("ul",{className:oe.u,children:r}):r})]})]});return i.jsxs(i.Fragment,{children:[o&&i.jsx("div",{onClick:()=>u(!0),className:"bage","data-count":a,children:o}),S&&or.createPortal(b,S)]})}let Pe=()=>{};const Qt=({children:r,title:o,isOverlay:a=!0,footer:l=!0,className:c,onOpen:p})=>{const[R,_]=w.useState(!1);return Pe=()=>{_(!0),setTimeout(()=>{var u;p==null||p(!1),(u=Ee==null?void 0:Ee.onClose)==null||u.call(Ee)},300)},i.jsx("div",{className:`footer-menu-overlay ${a?"is-overlay":""} ${R?"closing":""} `,onClick:Pe,children:i.jsxs("div",{className:`footer-menu-popup-book ${R?"closing":""} ${c||""} ${l?"footer":""}`,onClick:u=>u.stopPropagation(),children:[i.jsxs("div",{className:"footer-menu-header",children:[i.jsx("h3",{children:o}),i.jsx("button",{className:"footer-menu-close-btn",onClick:Pe,children:"✕"})]}),r]})})},ct={h:"_h_1ffr7_1",row:"_row_1ffr7_20",column:"_column_1ffr7_23",badge:"_badge_1ffr7_36"},Ee=[],er=(r,o)=>r.findIndex(a=>(a==null?void 0:a.page)===o),Rr=({actions:r,children:o,className:a,toHide:l=!1,page:c,onPageChange:p,direction:R="row"})=>{const[_,u]=w.useState(null),[S,g]=w.useState(c?er(r||[],c):0);return Ee.onClose=()=>{u(null),g(c?er(r||[],c):0)},w.useEffect(()=>{if(!l)return;const b=document.querySelectorAll("[contenteditable]"),y=()=>{const M=document.querySelector("footer");M&&(M.style.display="flex")},$=()=>{const M=document.querySelector("footer");M&&(M.style.display="none")};return b.forEach(M=>{M.addEventListener("focus",$,!0),M.addEventListener("blur",y,!0)}),()=>{b.forEach(M=>{M.removeEventListener("focus",$,!0),M.removeEventListener("blur",y,!0)})}},[]),i.jsxs(i.Fragment,{children:[_,i.jsxs("footer",{className:`${ct.h} ${ct[R]} ${a} `,children:[o,r&&r.map((b,y)=>i.jsxs("div",{"data-active":S===y?"true":"false",onClick:()=>{b.page&&(g(y),p==null||p(b.page)),b.callback&&(b.callback(),g(y)),b.component&&(S===y?Pe():(u(b.component),g(y)))},children:[b.icon,b.badge&&i.jsx("div",{className:ct.badge,children:b.badge})]},y))]})]})},it={w:"_w_yx04q_3",v:"_v_yx04q_24",s:"_s_yx04q_34",n:"_n_yx04q_38"},ut={};function Er({children:r,name:o,onClose:a,isOpen:l,isScroll:c=!0,nextBackButton:p}){const[R,_]=w.useState(!1);return w.useEffect(()=>{if(!l)return;const u=p===void 0?rr().pop():p,S=()=>{_(!1),setTimeout(()=>{pt(u||!1),a==null||a()},300)};ut[o]={onClose:S,onOpen:()=>{_(!0)}},pt({callback:S});const g=setTimeout(()=>{_(!0)},10);return()=>{clearTimeout(g)}},[l]),l?i.jsxs("div",{className:Te(it.w,R&&it.v,c&&it.s),children:[i.jsx("div",{className:it.n}),r]}):""}const jr=(r,o)=>{var a,l;o?(a=ut[r])==null||a.onOpen():(l=ut[r])==null||l.onClose()},tr={s:"_s_10r8v_3",n:"_n_10r8v_13"},ft={stop:!1};function Or({className:r,children:o,onScrollEnd:a,offset:l=100,isLoading:c,isScrollBar:p=!1}){w.useEffect(()=>{ft.satte=c||!1},[c]);let R={onScroll:_=>{const{scrollTop:u,scrollHeight:S,clientHeight:g}=_.currentTarget;u+g>=S-l&&!ft.stop&&(ft.stop=!0,a==null||a())}};return i.jsx("div",{...R,className:Te(tr.s,!p&&tr.n,r),children:o})}const dt={a:"_a_ohhaz_1",l:"_l_ohhaz_12",r:"_r_ohhaz_15"};function Ar({children:r,className:o,position:a="center",title:l}){let c="";return a==="left"?c=dt.l:a==="right"&&(c=dt.r),i.jsxs("div",{className:Te(dt.a,c,o),children:[r,l&&i.jsx("b",{children:l})]})}const z={state:[!1],listen:[],prev:{},router:r=>{r===!1?(v.default.WebApp.BackButton.isVisible=!1,v.default.WebApp.BackButton.offClick(z.listen[0]),z.listen.shift(),z.state.length!==1&&z.state.pop()):(v.default.WebApp.BackButton.isVisible=!0,v.default.WebApp.BackButton.offClick(z.listen[0]),z.listen.shift(),z.listen.push(()=>{var a;let o=z.state.pop();z.prev=ce.getPage(),o.page!==void 0?ce.setPage(o.page):(a=o.callback)==null||a.call(o)}),me.BackButton.onClick(z.listen[0]))}},Te=(...r)=>r.filter(o=>o!==void 0&&o!==!1&&o!==null&&o!=="").join(" ");v.default=void 0,(r=>{r.WebApp=window.Telegram.WebApp,r.getUser=()=>{var o;return((o=r.WebApp.initDataUnsafe)==null?void 0:o.user)===void 0?{}:r.WebApp.initDataUnsafe},r.Notice={Send:(o,a,l)=>{var c,p;a!==void 0?(pe.Send({type:o,text:a,thema:l}),(c=r.WebApp.HapticFeedback)==null||c.notificationOccurred(o)):(pe.Send(o),(p=r.WebApp.HapticFeedback)==null||p.notificationOccurred(o.type))},Error:o=>{var a;pe.Send({type:"error",text:o}),(a=r.WebApp.HapticFeedback)==null||a.notificationOccurred("error")},Success:o=>{var a;pe.Send({type:"success",text:o}),(a=r.WebApp.HapticFeedback)==null||a.notificationOccurred("success")},Warning:o=>{var a;pe.Send({type:"warning",text:o}),(a=r.WebApp.HapticFeedback)==null||a.notificationOccurred("warning")}},r.Header=br,r.TabBar=Rr,r.BottomSheet=Qt,r.toggleBottomSheet=Pe,r.SafeArea=_r,r.Loading=kr,r.Sidebar=wr,r.SidePanel=Er,r.AppBar=Ar,r.SidePanelController=jr,r.Scroll=Or,r.Modal=lt,r.Menu=Sr,r.MainButton={callback:[],set:o=>{he.is?he.MainButton.set(o):(r.WebApp.MainButton.callback.forEach(a=>{r.WebApp.MainButton.offClick(a)}),r.WebApp.MainButton.callback=[],typeof o=="boolean"?r.WebApp.MainButton.isVisible=!1:(r.WebApp.MainButton.text=o.text,o.color&&(r.WebApp.MainButton.color=o.color),o.textColor&&(r.WebApp.MainButton.textColor=o.textColor),r.WebApp.MainButton.isVisible=!0,r.WebApp.MainButton.isActive=o.isActive===void 0?!0:o.isActive,r.WebApp.MainButton.callback.push(()=>{var a;o.page===void 0?(a=o.callback)==null||a.call(o):ce.setPage(o.page)}),r.WebApp.MainButton.onClick(r.WebApp.MainButton.callback[0])))}},r.BackButtonPrev=()=>{z.prev&&(0,r.BackButton)(z.prev)},r.BackButtonState=()=>z.state,r.BackButton=o=>{he.is?he.BackButton.set(o):(z.state.push(o),z.router(o))}})(v.default||(v.default={}));const Cr=v.default.TabBar,Pr=Qt,pt=v.default.BackButton,Tr=v.default.BackButtonPrev,rr=v.default.BackButtonState,$r=v.default.Notice,Br=v.default.SafeArea,Nr=v.default.Loading,Ir=v.default.Menu,Mr=v.default.SidePanel,Dr=v.default.Scroll,Fr=v.default.AppBar,zr=v.default.Sidebar,Wr=v.default.SidePanelController,{Header:Lr,toggleBottomSheet:Ur,Modal:Vr,MainButton:qr,WebApp:me,getUser:Hr}=v.default;v.AppBar=Fr,v.BackButton=pt,v.BackButtonPrev=Tr,v.BackButtonState=rr,v.BottomSheet=Pr,v.Header=Lr,v.Loading=Nr,v.MainButton=qr,v.Menu=Ir,v.Modal=Vr,v.Notice=$r,v.SafeArea=Br,v.Scroll=Dr,v.SidePanel=Mr,v.SidePanelController=Wr,v.Sidebar=zr,v.TabBar=Cr,v.WebApp=me,v.clsx=Te,v.getUser=Hr,v.toggleBottomSheet=Ur,Object.defineProperties(v,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
60
|
+
<%s key={someKey} {...props} />`,Re,L,Dt,L),et[L+Re]=!0}}return e===c?$t(E):Tt(E),E}}function Bt(e,t,n){return tt(e,t,n,!0)}function Nt(e,t,n){return tt(e,t,n,!1)}var It=Nt,Mt=Bt;nt.Fragment=c,nt.jsx=It,nt.jsxs=Mt}()),nt}process.env.NODE_ENV==="production"?fr():dr();const pr="0.0.40",Zt={version:pr},te={},J={module:"",v:Zt.version,page:"Main",auth:"Auth",STORAGE:"f",LISTENER:{},debug:!1,tab:"",id:0,prev:{page:"",module:"",tab:"",id:0}};function fe(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}fe().elcrm||(fe().elcrm={}),Object.assign(fe().elcrm,{router:Zt.version});function Z(r){var o,a,c,l;const p=fe();if(p.ROUTER_PARAMS){r.debug||p.ROUTER_PARAMS.debug;const R={page:(o=p.ROUTER_PARAMS)==null?void 0:o.page,module:(a=p.ROUTER_PARAMS)==null?void 0:a.module,tab:(c=p.ROUTER_PARAMS)==null?void 0:c.tab,id:(l=p.ROUTER_PARAMS)==null?void 0:l.id};p.ROUTER_PARAMS={...p.ROUTER_PARAMS,...r,prev:R}}else{r.debug||J.debug;const R={page:J==null?void 0:J.page,module:J==null?void 0:J.module,tab:J==null?void 0:J.tab,id:J==null?void 0:J.id};p.ROUTER_PARAMS={...J,...r,prev:R}}}function A(){return fe().ROUTER_PARAMS||J}function de(r){const o=fe();o.ROUTER_PARAMS?o.ROUTER_PARAMS.LISTENER={...o.ROUTER_PARAMS.LISTENER,...r}:o.ROUTER_PARAMS.LISTENER={...r}}function re(){return fe().ROUTER_PARAMS.LISTENER||J.LISTENER}var ce;(r=>{function o(){var x;let j=sessionStorage.getItem("f");if(j){if(j=le.deCode(j),!j)return!1;Z({id:j.id,tab:j.tab,page:j.page,module:j.module,time:j.time,payment:{active:!0},module_admin:j.module_admin})}else Z({id:0,tab:"",page:(x=localStorage.getItem("d"))!=null&&x.length?A().page:A().auth,module:A().module});return!0}function a(){te.id=0,te.tab="",te.page=A().page,te.module=A().module}r.Reset=a;function c({module:x=A().module,page:j=A().page,auth:N=A().auth,debug:D=A().debug}){Z({page:j,module:x,auth:N,debug:D}),o()}r.Default=c;function l(x){let j=I=>(Z({page:I}),I);const[N,D]=S.useState(R()||x&&j(x)||A().page);return de({page:I=>{D(I)}}),N}r.usePage=l;function p(x,j=!0,N={}){Z({page:x,...N}),sessionStorage.setItem(A().STORAGE,le.enCode(A())),j&&re().page(x)}r.setPage=p;function R(){return A().page}r.getPage=R;function _(x){return A().page===x}r.isPage=_;function u(){return A().prev}r.getBack=u;function w(x,j){const[N,D]=S.useState(m()||x||A().module);return de({module:D}),N}r.useModule=w;function h(x,j=!0){Z({module:x}),sessionStorage.setItem(A().STORAGE,le.enCode(A())),j&&re().module(x)}r.setModule=h;function m(){return A().module||""}r.getModule=m;function b(x){return A().module===x}r.isModule=b;function $(x,j){if(typeof x!="function"){const[N,D]=S.useState(!j),[I,B]=S.useState(x||ve());return de({tabs:B}),j&&S.useEffect(()=>{D(!0)},[]),[I,N]}else de({tabs:x})}r.useTabs=$;function M(x){let j=I=>(Z({tab:I}),I);const[N,D]=S.useState(ve()||x&&j(x)||A().tab);return de({tabs:I=>{D(I)}}),N}r.useTab=M;async function $e(x,j=!0){Z({tab:x}),sessionStorage.setItem(A().STORAGE,le.enCode(A())),j&&(re().tabs&&re().tabs(x))}r.setTabs=$e;function ve(){return A().tab}r.getTabs=ve;function W(x){return A().tab===x}r.isTabs=W;function O(x){if(typeof x!="function"){const[j,N]=S.useState(x||je());return de({id:D=>{N(D)}}),j}else de({id:x})}r.useId=O;function Be(x){}r.subId=Be;async function Ne(x,j=!0){Z({id:x}),sessionStorage.setItem(A().STORAGE,le.enCode(A())),j&&re().id(x)}r.setId=Ne;function je(){return A().id}r.getId=je;function Ie(x){return Number(A().id)===x}r.isId=Ie;async function Me(x){var j,N,D,I,B,F,U,ue;const{page:X,module:Y,tab:Q,id:ee}=x;X!==void 0&&(te.page=X),Y!==void 0&&(te.module=Y),Q!==void 0&&(te.tab=Q),ee!==void 0&&(te.id=ee),Z({...te}),ee!==void 0&&((N=(j=re()).id)==null||N.call(j,ee)),Q!==void 0&&((I=(D=re()).tabs)==null||I.call(D,Q)),Y!==void 0&&((F=(B=re()).module)==null||F.call(B,Y)),X!==void 0&&((ue=(U=re()).page)==null||ue.call(U,X)),sessionStorage.setItem(A().STORAGE,le.enCode(A()))}r.navigate=Me})(ce||(ce={}));let at={};function gr(){const[r,o]=S.useState([]);return at.set=a=>{o([...r,a])},at.del=a=>{r.forEach((c,l)=>{c.key===a&&r.splice(l,1)}),o(r)},r.length===0?i.jsx(i.Fragment,{}):i.jsx("div",{className:"notice",children:r.map(a=>a.item)})}function hr(r){let o=new Date().getTime();r.key=o,at.set({item:i.jsx(mr,{data:r},o),key:o})}function mr(r){const o=r.data;let[a]=S.useState("show"),[c,l]=S.useState(!1);S.useEffect(()=>{setTimeout(function(){l(!0),at.del(o.key)},5e3)},[o.key]);let p;switch(o.type){case"error":p=i.jsx("path",{d:"M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm3.53 12.22a.75.75 0 1 1-1.06 1.06L12 13.06l-2.47 2.47a.75.75 0 0 1-1.06-1.06L10.94 12 8.47 9.53a.75.75 0 0 1 1.06-1.06L12 10.94l2.47-2.47a.75.75 0 0 1 1.06 1.06L13.06 12l2.47 2.47Z"});break;case"success":p=i.jsx("path",{d:"M12 2.25c-5.376 0-9.75 4.374-9.75 9.75s4.374 9.75 9.75 9.75 9.75-4.374 9.75-9.75S17.376 2.25 12 2.25Zm5.074 6.482-6.3 7.5a.748.748 0 0 1-.562.268h-.013a.75.75 0 0 1-.557-.248l-2.7-3a.751.751 0 0 1 .88-1.186c.09.045.17.107.234.182l2.123 2.36 5.747-6.84a.75.75 0 0 1 1.148.964Z"});break;case"warning":p=i.jsx("path",{d:"M12 2.625c-5.17 0-9.375 4.206-9.375 9.375 0 5.17 4.206 9.375 9.375 9.375 5.17 0 9.375-4.206 9.375-9.375 0-5.17-4.206-9.375-9.375-9.375Zm0 3.844a1.219 1.219 0 1 1 0 2.437 1.219 1.219 0 0 1 0-2.437Zm2.25 10.593h-4.125a.75.75 0 1 1 0-1.5h1.313v-4.124h-.75a.75.75 0 1 1 0-1.5h1.5a.75.75 0 0 1 .75.75v4.874h1.312a.75.75 0 1 1 0 1.5Z"});break;default:p="icon fa fa-exclamation-circle";break}return i.jsx(i.Fragment,{children:c?i.jsx(i.Fragment,{}):i.jsxs("div",{className:"item "+o.type+` ${o.thema!==void 0?" thema":""}`,"data-status":a,children:[i.jsx("svg",{type:"solid",fill:"currentColor",stroke:"none",strokeWidth:"0",width:"24",height:"24",viewBox:"0 0 24 24",children:p}),i.jsx("span",{className:"text",children:o.text})]})})}let pe={Send:hr,Init:gr};const ge={is:!1,MainButton:{},BackButton:{}};let K={};K.dark={"--tg-theme-subtitle-text-color":"#98989e","--tg-theme-destructive-text-color":"#e53935","--tg-theme-section-separator-color":"#545458","--tg-theme-link-color":"#3e88f7","--tg-theme-accent-text-color":"#3e88f7","--tg-theme-bg-color":"#000000","--tg-theme-secondary-bg-color":"#1c1c1d","--tg-theme-button-color":"#3e88f7","--tg-theme-button-text-color":"#ffffff","--tg-theme-bottom-bar-bg-color":"#1d1d1d","--tg-theme-section-header-text-color":"#8d8e93","--tg-theme-header-bg-color":"#1a1a1a","--tg-theme-hint-color":"#98989e","--tg-theme-text-color":"#ffffff","--tg-theme-section-bg-color":"#2c2c2e"},K.light={"--tg-theme-subtitle-text-color":"#8e8e93","--tg-theme-destructive-text-color":"#ff3b30","--tg-theme-section-separator-color":"#c8c7cc","--tg-theme-link-color":"#007aff","--tg-theme-accent-text-color":"#007aff","--tg-theme-bg-color":"#ffffff","--tg-theme-secondary-bg-color":"#efeff4","--tg-theme-button-color":"#007aff","--tg-theme-button-text-color":"#ffffff","--tg-theme-bottom-bar-bg-color":"#f2f2f2","--tg-theme-section-header-text-color":"#6d6d72","--tg-theme-header-bg-color":"#f8f8f8","--tg-theme-hint-color":"#8e8e93","--tg-theme-text-color":"#000000","--tg-theme-section-bg-color":"#f8f8f8"},K.users={"--tg-theme-bg-color":"#000000","--tg-theme-text-color":"#ffffff","--tg-theme-hint-color":"#98989e","--tg-theme-link-color":"#ffffff","--tg-theme-button-color":"#ffffff","--tg-theme-button-text-color":"#000000","--tg-theme-secondary-bg-color":"#000000"};const vr=()=>{if(location.hostname==="localhost"){let[r,o]=S.useState(!1),[a,c]=S.useState(!1),[l,p]=S.useState("dark"),[R,_]=S.useState(!1),[u,w]=S.useState(!1);ge.is=!0,ge.MainButton.set=o,ge.BackButton.set=c,S.useEffect(()=>{K[l]["--tg-theme-bg-color-alpha"]=K[l]["--tg-theme-bg-color"]+"b3",K[l]["--tg-theme-secondary-bg-color-alpha"]=K[l]["--tg-theme-secondary-bg-color"]+"d3";for(let b in K[l])document.documentElement.style.setProperty(b,K[l][b]);me.safeAreaInset.bottom===0&&document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]);let h=b=>{for(let $ in K[b])document.documentElement.style.setProperty($,K[b][$]);p(b),_(!1)},m=()=>{_(!1),w(!0)};return i.jsxs(i.Fragment,{children:[i.jsxs("header",{className:"debug",children:[a===!1?i.jsx("div",{className:"b",children:"Отмена"}):i.jsx("div",{onClick:()=>{var b;a.page===void 0?(b=a.callback)==null||b.call(a):ce.setPage(a.page)},className:"b",children:"Назад"}),i.jsx("div",{className:"o",onClick:()=>_(!R),children:"Меню"})]}),i.jsx(pe.Init,{}),r&&i.jsx("div",{className:"mb",children:i.jsx("button",{onClick:()=>{r.page&&ce.setPage(r.page),r.callback&&r.callback()},children:r.text})}),R?i.jsxs("div",{className:"tm",children:[i.jsxs("ul",{children:[i.jsx("li",{children:i.jsx("button",{onClick:m,children:"Authorization"})}),i.jsx("li",{})]}),i.jsxs("ul",{children:[i.jsxs("li",{children:[i.jsx("button",{children:"Thema"}),i.jsxs("ol",{children:[i.jsx("li",{children:i.jsx("button",{onClick:()=>h("dark"),children:"Dark"})}),i.jsx("li",{children:i.jsx("button",{onClick:()=>h("light"),children:"Light"})}),i.jsx("li",{children:i.jsx("button",{onClick:()=>h("users"),children:"Users"})})]})]}),i.jsx("li",{children:i.jsx("button",{onClick:()=>_(!R),children:"Closed"})})]})]}):"",u?i.jsx(br,{setAuthorization:w}):""]})}else return S.useEffect(()=>{document.documentElement.style.setProperty("--tg-theme-secondary-bg-color-alpha",me.themeParams.secondary_bg_color+"d3"),document.documentElement.style.setProperty("--tg-theme-bg-color-alpha",me.themeParams.bg_color+"b3"),me.safeAreaInset.bottom===0&&document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]),i.jsx(i.Fragment,{children:i.jsx(pe.Init,{})})},br=({setAuthorization:r})=>{let o={},a=()=>{localStorage.setItem("auth",o)};return i.jsx("div",{className:"ta",children:i.jsxs("div",{className:"--body",children:[i.jsx("fieldset",{}),i.jsx("div",{onClick:a,children:" Сохранить "})]})})},Xt={p:"_p_12hh1_1",s:"_s_12hh1_17"},yr=({className:r,children:o,isScroll:a=!0})=>i.jsx("div",{className:[Xt.p,a&&Xt.s,r].filter(c=>c!==void 0).join(" "),children:o}),_r={l:"_l_gfyud_1"},xr=({children:r,className:o})=>i.jsx("div",{className:[_r.l,o].filter(a=>a!==void 0).join(" "),children:r}),he={m:"_m_ppm7n_2",g:"_g_ppm7n_10",i:"_i_ppm7n_18",c:"_c_ppm7n_35",l:"_l_ppm7n_42",a:"_a_ppm7n_57",n:"_n_ppm7n_62"},kr=({items:r})=>{const o=c=>{ce.setPage(c)},a=c=>{me.openTelegramLink(c)};return i.jsx("div",{className:he.m,children:r.map(c=>i.jsx("div",{className:he.g,children:c.items.map((l,p)=>i.jsxs("div",{className:he.i,onClick:()=>{l.link&&a(l.link),l.page&&o(l.page),l.callback&&l.callback()},children:[i.jsxs("div",{className:he.c,children:[i.jsx("span",{className:he.l,style:{background:l.color},children:l.icon}),l.title,l.count&&i.jsx("span",{className:he.n,children:l.count})]}),i.jsx("span",{className:he.a,children:"›"})]},p))},c.id))})},oe={o:"_o_8ho2f_3",m:"_m_8ho2f_14",l:"_l_8ho2f_28",r:"_r_8ho2f_33",x:"_x_8ho2f_38",h:"_h_8ho2f_42",c:"_c_8ho2f_57",u:"_u_8ho2f_72"};function Sr({children:r,icon:o,iconBadge:a=0,title:c,className:l,view:p="list",position:R="left"}){const[_,u]=S.useState(!1),[w,h]=S.useState(null);S.useEffect(()=>{let b=document.querySelector(".p_sb");return b||(b=document.createElement("div"),b.className="_p_sb",document.body.appendChild(b)),h(b),()=>{b&&b.parentNode&&b.parentNode.removeChild(b)}},[]);const m=i.jsxs(i.Fragment,{children:[_&&i.jsx("div",{className:oe.o,onClick:()=>u(!1)}),i.jsxs("div",{className:Te(oe.m,R==="left"?oe.l:oe.r,_&&oe.x,l),children:[i.jsxs("div",{className:oe.h,children:[c&&i.jsx("h3",{className:oe.t,children:c}),i.jsxs("svg",{onClick:()=>u(!1),fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"24",height:"24","data-pointer":"true",style:{cursor:"pointer"},children:[i.jsx("path",{d:"M17.25 17.25 6.75 6.75"}),i.jsx("path",{d:"m17.25 6.75-10.5 10.5"})]})]}),i.jsx("div",{className:oe.c,children:p==="list"?i.jsx("ul",{className:oe.u,children:r}):r})]})]});return i.jsxs(i.Fragment,{children:[o&&i.jsx("div",{onClick:()=>u(!0),className:"bage","data-count":a,children:o}),w&&rr.createPortal(m,w)]})}let Pe=()=>{};const Yt=({children:r,title:o,isOverlay:a=!0,footer:c=!0,className:l,onOpen:p})=>{const[R,_]=S.useState(!1);return Pe=()=>{_(!0),setTimeout(()=>{var u;p==null||p(!1),(u=Ee==null?void 0:Ee.onClose)==null||u.call(Ee)},300)},i.jsx("div",{className:`footer-menu-overlay ${a?"is-overlay":""} ${R?"closing":""} `,onClick:Pe,children:i.jsxs("div",{className:`footer-menu-popup-book ${R?"closing":""} ${l||""} ${c?"footer":""}`,onClick:u=>u.stopPropagation(),children:[i.jsxs("div",{className:"footer-menu-header",children:[i.jsx("h3",{children:o}),i.jsx("button",{className:"footer-menu-close-btn",onClick:Pe,children:"✕"})]}),r]})})},ct={h:"_h_1ffr7_1",row:"_row_1ffr7_20",column:"_column_1ffr7_23",badge:"_badge_1ffr7_36"},Ee=[],Qt=(r,o)=>r.findIndex(a=>(a==null?void 0:a.page)===o),wr=({actions:r,children:o,className:a,toHide:c=!1,page:l,onPageChange:p,direction:R="row"})=>{const[_,u]=S.useState(null),[w,h]=S.useState(l?Qt(r||[],l):0);return Ee.onClose=()=>{u(null),h(l?Qt(r||[],l):0)},S.useEffect(()=>{if(!c)return;const m=document.querySelectorAll("[contenteditable]"),b=()=>{const M=document.querySelector("footer");M&&(M.style.display="flex")},$=()=>{const M=document.querySelector("footer");M&&(M.style.display="none")};return m.forEach(M=>{M.addEventListener("focus",$,!0),M.addEventListener("blur",b,!0)}),()=>{m.forEach(M=>{M.removeEventListener("focus",$,!0),M.removeEventListener("blur",b,!0)})}},[]),i.jsxs(i.Fragment,{children:[_,i.jsxs("footer",{className:`${ct.h} ${ct[R]} ${a} `,children:[o,r&&r.map((m,b)=>i.jsxs("div",{"data-active":w===b?"true":"false",onClick:()=>{m.page&&(h(b),p==null||p(m.page)),m.callback&&(m.callback(),h(b)),m.component&&(w===b?Pe():(u(m.component),h(b)))},children:[m.icon,m.badge&&i.jsx("div",{className:ct.badge,children:m.badge})]},b))]})]})},it={w:"_w_yx04q_3",v:"_v_yx04q_24",s:"_s_yx04q_34",n:"_n_yx04q_38"},ut={};function Rr({children:r,name:o,onClose:a,isOpen:c,isScroll:l=!0,nextBackButton:p}){const[R,_]=S.useState(!1);return S.useEffect(()=>{if(!c)return;const u=p===void 0?tr().pop():p,w=()=>{_(!1),setTimeout(()=>{dt(u||!1),a==null||a()},300)};ut[o]={onClose:w,onOpen:()=>{_(!0)}},dt({callback:w});const h=setTimeout(()=>{_(!0)},10);return()=>{clearTimeout(h)}},[c]),c?i.jsxs("div",{className:Te(it.w,R&&it.v,l&&it.s),children:[i.jsx("div",{className:it.n}),r]}):""}const Er=(r,o)=>{var a,c;o?(a=ut[r])==null||a.onOpen():(c=ut[r])==null||c.onClose()},er={s:"_s_10r8v_3",n:"_n_10r8v_13"};function jr({className:r,children:o,onScrollEnd:a,offset:c=100,isLoading:l,isScrollBar:p=!1}){const[R,_]=S.useState(l||!1);S.useEffect(()=>{_(l||!1)},[l]);let u={onScroll:w=>{const{scrollTop:h,scrollHeight:m,clientHeight:b}=w.currentTarget;h+b>=m-c&&!R&&(_(!0),a==null||a())}};return i.jsx("div",{...u,className:Te(er.s,!p&&er.n,r),children:o})}const ft={a:"_a_ohhaz_1",l:"_l_ohhaz_12",r:"_r_ohhaz_15"};function Or({children:r,className:o,position:a="center",title:c}){let l="";return a==="left"?l=ft.l:a==="right"&&(l=ft.r),i.jsxs("div",{className:Te(ft.a,l,o),children:[r,c&&i.jsx("b",{children:c})]})}const z={state:[!1],listen:[],prev:{},router:r=>{r===!1?(y.default.WebApp.BackButton.isVisible=!1,y.default.WebApp.BackButton.offClick(z.listen[0]),z.listen.shift(),z.state.length!==1&&z.state.pop()):(y.default.WebApp.BackButton.isVisible=!0,y.default.WebApp.BackButton.offClick(z.listen[0]),z.listen.shift(),z.listen.push(()=>{var a;let o=z.state.pop();z.prev=ce.getPage(),o.page!==void 0?ce.setPage(o.page):(a=o.callback)==null||a.call(o)}),me.BackButton.onClick(z.listen[0]))}},Te=(...r)=>r.filter(o=>o!==void 0&&o!==!1&&o!==null&&o!=="").join(" ");y.default=void 0,(r=>{r.WebApp=window.Telegram.WebApp,r.getUser=()=>{var o;return((o=r.WebApp.initDataUnsafe)==null?void 0:o.user)===void 0?{}:r.WebApp.initDataUnsafe},r.Notice={Send:(o,a,c)=>{var l,p;a!==void 0?(pe.Send({type:o,text:a,thema:c}),(l=r.WebApp.HapticFeedback)==null||l.notificationOccurred(o)):(pe.Send(o),(p=r.WebApp.HapticFeedback)==null||p.notificationOccurred(o.type))},Error:o=>{var a;pe.Send({type:"error",text:o}),(a=r.WebApp.HapticFeedback)==null||a.notificationOccurred("error")},Success:o=>{var a;pe.Send({type:"success",text:o}),(a=r.WebApp.HapticFeedback)==null||a.notificationOccurred("success")},Warning:o=>{var a;pe.Send({type:"warning",text:o}),(a=r.WebApp.HapticFeedback)==null||a.notificationOccurred("warning")}},r.Header=vr,r.TabBar=wr,r.BottomSheet=Yt,r.toggleBottomSheet=Pe,r.SafeArea=yr,r.Loading=xr,r.Sidebar=Sr,r.SidePanel=Rr,r.AppBar=Or,r.SidePanelController=Er,r.Scroll=jr,r.Modal=lt,r.Menu=kr,r.MainButton={callback:[],set:o=>{ge.is?ge.MainButton.set(o):(r.WebApp.MainButton.callback.forEach(a=>{r.WebApp.MainButton.offClick(a)}),r.WebApp.MainButton.callback=[],typeof o=="boolean"?r.WebApp.MainButton.isVisible=!1:(r.WebApp.MainButton.text=o.text,o.color&&(r.WebApp.MainButton.color=o.color),o.textColor&&(r.WebApp.MainButton.textColor=o.textColor),r.WebApp.MainButton.isVisible=!0,r.WebApp.MainButton.isActive=o.isActive===void 0?!0:o.isActive,r.WebApp.MainButton.callback.push(()=>{var a;o.page===void 0?(a=o.callback)==null||a.call(o):ce.setPage(o.page)}),r.WebApp.MainButton.onClick(r.WebApp.MainButton.callback[0])))}},r.BackButtonPrev=()=>{z.prev&&(0,r.BackButton)(z.prev)},r.BackButtonState=()=>z.state,r.BackButton=o=>{ge.is?ge.BackButton.set(o):(z.state.push(o),z.router(o))}})(y.default||(y.default={}));const Ar=y.default.TabBar,Cr=Yt,dt=y.default.BackButton,Pr=y.default.BackButtonPrev,tr=y.default.BackButtonState,Tr=y.default.Notice,$r=y.default.SafeArea,Br=y.default.Loading,Nr=y.default.Menu,Ir=y.default.SidePanel,Mr=y.default.Scroll,Dr=y.default.AppBar,Fr=y.default.Sidebar,zr=y.default.SidePanelController,{Header:Wr,toggleBottomSheet:Lr,Modal:Ur,MainButton:Vr,WebApp:me,getUser:qr}=y.default;y.AppBar=Dr,y.BackButton=dt,y.BackButtonPrev=Pr,y.BackButtonState=tr,y.BottomSheet=Cr,y.Header=Wr,y.Loading=Br,y.MainButton=Vr,y.Menu=Nr,y.Modal=Ur,y.Notice=Tr,y.SafeArea=$r,y.Scroll=Mr,y.SidePanel=Ir,y.SidePanelController=zr,y.Sidebar=Fr,y.TabBar=Ar,y.WebApp=me,y.clsx=Te,y.getUser=qr,y.toggleBottomSheet=Lr,Object.defineProperties(y,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|