@elcrm/telegram 0.0.141 → 0.0.142
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.css +1 -1
- package/dist/index.es.js +73 -73
- package/dist/index.umd.js +18 -18
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";:root{--tg-safe-area-height: 100dvh;--tg-max-width: 500px;--tg-scroll-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-header-height, 0px) );--tg-modal-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-header-height, 0px) )}*{-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}:root{--tg-modal-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var( --tg-content-safe-area-inset-top, 0px ) - var(--tg-offset-bottom, 60px) )}._o_1apbm_11{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:11;display:flex;justify-content:center;animation:_fadeIn_1apbm_1 .3s ease}._o_1apbm_11._x_1apbm_24{animation:_fadeOut_1apbm_1 .3s ease}._p_1apbm_28{position:fixed;width:100%;overflow:hidden;animation:_slideUp_1apbm_1 .3s ease;background:var(--tg-theme-bg-color);bottom:0;left:0;right:0;margin:0 auto;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px))}._p_1apbm_28._x_1apbm_24{animation:_slideDown_1apbm_1 .3s ease}._p_1apbm_28._m_1apbm_45{--tg-scroll-height: 100dvh;--tg-modal-offset-top: calc( var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px) );top:0}._p_1apbm_28._o_1apbm_11{--tg-modal-offset-top: 0px;top:calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px))}@keyframes _fadeIn_1apbm_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1apbm_1{0%{opacity:1}to{opacity:0}}@keyframes _slideUp_1apbm_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes _slideDown_1apbm_1{0%{transform:translateY(0)}to{transform:translateY(100%)}}._n_zlj3m_1{position:fixed;z-index:999;max-height:0px;top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px))}._n_zlj3m_1 ._i_zlj3m_10{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)}._n_zlj3m_1 svg{margin-top:7px}._n_zlj3m_1 ._t_zlj3m_28{padding:9px 0;flex:1}._n_zlj3m_1 ._e_zlj3m_32{background:var(--tg-notice-error, #f44336)}._n_zlj3m_1 ._s_zlj3m_35{background:var(--tg-notice-success, #4caf50)}._n_zlj3m_1 ._w_zlj3m_38{background:var(--tg-notice-warning, #ff9800)}._n_zlj3m_1 ._i_zlj3m_10._h_zlj3m_41{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}._n_zlj3m_1 ._i_zlj3m_10._e_zlj3m_32._h_zlj3m_41 svg{color:#f44336}._n_zlj3m_1 ._i_zlj3m_10._s_zlj3m_35._t_zlj3m_28 svg{color:#4caf50}._n_zlj3m_1 ._i_zlj3m_10._w_zlj3m_38._t_zlj3m_28 svg{color:#ff9800}body:has(._d_1u25q_1){--tg-viewport-height: calc(100dvh - 50px) ;--tg-safe-area-inset-top: 50px}._d_1u25q_1{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}._d_1u25q_1 ._b_1u25q_21,._d_1u25q_1 ._o_1u25q_25{padding:0 15px;cursor:pointer}._m_1u25q_30{bottom:0;position:fixed;left:0;right:0;padding:10px}._m_1u25q_30 button{width:100%}._t_1u25q_41{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)}._t_1u25q_41 ul{list-style-type:none;margin:0;display:block;width:100%;padding:8px;border-top:1px solid var(--tg-theme-hint-color)}._t_1u25q_41 ul:first-child{border-top:0}._t_1u25q_41 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)}._t_1u25q_41 ol:hover{display:flex}._t_1u25q_41 li{position:relative}._t_1u25q_41 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)}._t_1u25q_41 button:hover{background-color:var(--tg-theme-button-color)}._t_1u25q_41 button:hover+ol{display:flex}._a_1u25q_108{margin:0;width:100vw;height:100vh;display:-webkit-flex;display:flex;justify-content:center;align-items:center;background-color:#0006}._a_1u25q_108 ._v_1u25q_118{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}._p_1axqy_1{padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-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)}._m_1axqy_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_1axqy_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_1w0w0_2){--tg-offset-bottom: 60px}._h_1w0w0_2{z-index:2;position:fixed;bottom:0;left:0;right:0;display:flex;gap:10px;max-width:var(--tg-max-width, 500px);opacity:1;visibility:visible;transition:opacity .3s ease,visibility .3s ease,transform .15s cubic-bezier(.4,0,.2,1);transform-origin:center;background-color:var(--tab-bar-bg, var(--tg-theme-secondary-bg-color-alpha));margin:var(--tab-bar-margin, 0 auto);padding:var(--tab-bar-padding, 0 0 calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px)) 0)}._h_1w0w0_2[data-scale=true]{transform:scale(1.02)}._h_1w0w0_2[data-style=liquid-glass]{--tab-bar-actual-radius: 100px;--tab-bar-padding: 3px;--tab-bar-margin: 0px 16px calc( var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) ) 16px;--c-glass: #bbbbbc;--saturation: 150%;--c-light: #fff;--c-dark: #000;--glass-reflex-dark: 2;--glass-reflex-light: .3;border:none;box-shadow:0 -.5px #0000001a;justify-content:space-around;align-items:flex-start;align-self:stretch;border-radius:100px;touch-action:none;background-color:color-mix(in srgb,var(--c-glass) 12%,transparent);-webkit-backdrop-filter:blur(8px) saturate(var(--saturation));backdrop-filter:blur(8px) saturate(var(--saturation));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 10%),transparent),inset 1.8px 3px 0 -2px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 90%),transparent),inset -2px -2px 0 -2px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 80%),transparent),inset -3px -8px 1px -6px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 60%),transparent),inset -.3px -1px 4px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 12%),transparent),inset -1.5px 2.5px 0 -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 0 3px 4px -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 2px -6.5px 1px -4px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 1px 5px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 6px 16px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 8%),transparent)!important;transition:background-color .4s cubic-bezier(1,0,.4,1),box-shadow .4s cubic-bezier(1,0,.4,1)}._h_1w0w0_2._r_1w0w0_53{flex-direction:row}._h_1w0w0_2._c_1w0w0_56{flex-direction:column}._h_1w0w0_2._x_1w0w0_59{opacity:0;visibility:hidden}._h_1w0w0_2 ._b_1w0w0_63{width:100%;position:relative;display:flex;justify-content:space-around;align-items:flex-start;align-self:stretch;color:var(--tg-theme-hint-color)}._h_1w0w0_2 ._b_1w0w0_63 div{display:flex;flex-direction:column;align-items:center;padding:var(--tab-bar-button-padding);cursor:pointer;transition:transform .15s cubic-bezier(.4,0,.2,1);transform-origin:center;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;height:100%;justify-content:center}._h_1w0w0_2 ._b_1w0w0_63 div[data-active]{flex:1;text-align:center;position:relative;z-index:1}._h_1w0w0_2 ._b_1w0w0_63 div[data-active=true]{color:var(--tg-theme-button-color)}._h_1w0w0_2 ._b_1w0w0_63 span{padding-top:2px;font-size:10px;font-weight:400}._h_1w0w0_2 ._b_1w0w0_63 ._a_1w0w0_99{position:absolute;top:0;bottom:0;left:0;width:calc(100% / var(--count-options));border-radius:inherit;box-shadow:var(--tab-bar-actual-shadow);--tab-bar-translate-x: calc(var(--tab-bar-actual-index) * 100%);transform:translate(var(--tab-bar-translate-x));transform-origin:0 0;border-radius:var(--tab-bar-actual-radius);background:var(--tab-bar-actual-color);background-color:color-mix(in srgb,var(--c-glass) 36%,transparent);transition:transform .44s;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 10%),transparent),inset 2px 1px 0 -1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 90%),transparent),inset -1.5px -1px 0 -1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 80%),transparent),inset -2px -6px 1px -5px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 60%),transparent),inset -1px 2px 3px -1px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 0 -4px 1px -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 3px 6px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 8%),transparent)}@keyframes _draw_1w0w0_1{to{stroke-dashoffset:0}}._h_1w0w0_2 [data-active=true] path{stroke-dasharray:60;stroke-dashoffset:60;animation:_draw_1w0w0_1 1s ease-in-out forwards}._h_1w0w0_2[data-scale=true] ._a_1w0w0_99{transition:background-color .4s cubic-bezier(1,0,.4,1),box-shadow .4s cubic-bezier(1,0,.4,1)}._h_1w0w0_2[data-scale=true][data-direction=left] ._a_1w0w0_99{animation:_scaleToggleLeft_1w0w0_1 .44s ease;transform-origin:right center}._h_1w0w0_2[data-scale=true][data-direction=right] ._a_1w0w0_99{animation:_scaleToggleRight_1w0w0_1 .44s ease;transform-origin:left center}@-webkit-keyframes _scaleToggleRight_1w0w0_1{0%{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}50%{transform:translate(var(--tab-bar-translate-x)) scaleX(1.1)}to{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@keyframes _scaleToggleRight_1w0w0_1{0%{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}50%{transform:translate(var(--tab-bar-translate-x)) scaleX(1.1)}to{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@-webkit-keyframes _scaleToggleLeft_1w0w0_1{0%{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}50%{transform:translate(var(--tab-bar-translate-x)) scaleX(1.1)}to{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@keyframes _scaleToggleLeft_1w0w0_1{0%{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}50%{transform:translate(var(--tab-bar-translate-x)) scaleX(1.1)}to{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}._b_r6m8n_1{position:absolute;inset:var(--tg-badge-inset, 0px 0px auto auto);color:var(--tg-badge-color, #ffffff);border-radius:var(--tg-badge-border-radius, 50%);transform:var(--tg-badge-transform, translate(50%, -50%));background:var(--tg-badge-background, #ff0000);padding:var(--tg-badge-padding, 5px);font-size:var(--tg-badge-font-size, 14px);font-weight:var(--tg-badge-font-weight, 700);line-height:var(--tg-badge-line-height, 1);letter-spacing:var(--tg-badge-letter-spacing, 0)}._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_l7xl0_3{overflow:scroll;width:100%;max-width:var(--tg-max-width);height:var(--tg-scroll-height);max-height:var(--tg-scroll-height);padding-top:var(--tg-modal-offset-top, 0px);padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px));margin:0 auto}._s_l7xl0_3._n_l7xl0_14{padding-left:var(--scroll-padding, 7px);padding-right:var(--scroll-padding, 7px)}._b_l7xl0_19{position:fixed;top:0;right:0;bottom:0;width:7px;z-index:1;background:var(--tg-theme-bg-color)}._s_l7xl0_3._f_l7xl0_29{position:fixed;top:0;right:0;bottom:0;left:0;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));height:100dvh;max-height:100dvh}._a_prp23_1{display:flex;align-items:center;justify-content:center;padding:10px 0;gap:16px;margin-bottom:10px}._a_prp23_1 b{font-size:18px;font-weight:600}._a_prp23_1._l_prp23_13{justify-content:flex-start}._a_prp23_1._r_prp23_16{justify-content:flex-end}._a_prp23_1._b_prp23_19{justify-content:space-between}
|
|
1
|
+
@charset "UTF-8";:root{--tg-safe-area-height: 100dvh;--tg-max-width: 500px;--tg-scroll-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-header-height, 0px) );--tg-modal-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-header-height, 0px) )}*{-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}:root{--tg-modal-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var( --tg-content-safe-area-inset-top, 0px ) - var(--tg-offset-bottom, 60px) )}._o_1apbm_11{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:11;display:flex;justify-content:center;animation:_fadeIn_1apbm_1 .3s ease}._o_1apbm_11._x_1apbm_24{animation:_fadeOut_1apbm_1 .3s ease}._p_1apbm_28{position:fixed;width:100%;overflow:hidden;animation:_slideUp_1apbm_1 .3s ease;background:var(--tg-theme-bg-color);bottom:0;left:0;right:0;margin:0 auto;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px))}._p_1apbm_28._x_1apbm_24{animation:_slideDown_1apbm_1 .3s ease}._p_1apbm_28._m_1apbm_45{--tg-scroll-height: 100dvh;--tg-modal-offset-top: calc( var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px) );top:0}._p_1apbm_28._o_1apbm_11{--tg-modal-offset-top: 0px;top:calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px))}@keyframes _fadeIn_1apbm_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1apbm_1{0%{opacity:1}to{opacity:0}}@keyframes _slideUp_1apbm_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes _slideDown_1apbm_1{0%{transform:translateY(0)}to{transform:translateY(100%)}}._n_zlj3m_1{position:fixed;z-index:999;max-height:0px;top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px))}._n_zlj3m_1 ._i_zlj3m_10{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)}._n_zlj3m_1 svg{margin-top:7px}._n_zlj3m_1 ._t_zlj3m_28{padding:9px 0;flex:1}._n_zlj3m_1 ._e_zlj3m_32{background:var(--tg-notice-error, #f44336)}._n_zlj3m_1 ._s_zlj3m_35{background:var(--tg-notice-success, #4caf50)}._n_zlj3m_1 ._w_zlj3m_38{background:var(--tg-notice-warning, #ff9800)}._n_zlj3m_1 ._i_zlj3m_10._h_zlj3m_41{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}._n_zlj3m_1 ._i_zlj3m_10._e_zlj3m_32._h_zlj3m_41 svg{color:#f44336}._n_zlj3m_1 ._i_zlj3m_10._s_zlj3m_35._t_zlj3m_28 svg{color:#4caf50}._n_zlj3m_1 ._i_zlj3m_10._w_zlj3m_38._t_zlj3m_28 svg{color:#ff9800}body:has(._d_1u25q_1){--tg-viewport-height: calc(100dvh - 50px) ;--tg-safe-area-inset-top: 50px}._d_1u25q_1{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}._d_1u25q_1 ._b_1u25q_21,._d_1u25q_1 ._o_1u25q_25{padding:0 15px;cursor:pointer}._m_1u25q_30{bottom:0;position:fixed;left:0;right:0;padding:10px}._m_1u25q_30 button{width:100%}._t_1u25q_41{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)}._t_1u25q_41 ul{list-style-type:none;margin:0;display:block;width:100%;padding:8px;border-top:1px solid var(--tg-theme-hint-color)}._t_1u25q_41 ul:first-child{border-top:0}._t_1u25q_41 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)}._t_1u25q_41 ol:hover{display:flex}._t_1u25q_41 li{position:relative}._t_1u25q_41 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)}._t_1u25q_41 button:hover{background-color:var(--tg-theme-button-color)}._t_1u25q_41 button:hover+ol{display:flex}._a_1u25q_108{margin:0;width:100vw;height:100vh;display:-webkit-flex;display:flex;justify-content:center;align-items:center;background-color:#0006}._a_1u25q_108 ._v_1u25q_118{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}._p_1axqy_1{padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-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)}._m_1axqy_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_1axqy_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_6lse3_2){--tg-offset-bottom: 60px}._h_6lse3_2{z-index:2;position:fixed;bottom:0;left:0;right:0;display:flex;gap:10px;max-width:var(--tg-max-width, 500px);opacity:1;visibility:visible;-webkit-transition:opacity .4s cubic-bezier(.25,.46,.45,.94),visibility .4s cubic-bezier(.25,.46,.45,.94),-webkit-transform .5s cubic-bezier(.34,1.56,.64,1),transform .5s cubic-bezier(.34,1.56,.64,1);transition:opacity .4s cubic-bezier(.25,.46,.45,.94),visibility .4s cubic-bezier(.25,.46,.45,.94),transform .5s cubic-bezier(.34,1.56,.64,1);-webkit-transform-origin:center;transform-origin:center;background-color:var(--tab-bar-bg, var(--tg-theme-secondary-bg-color-alpha));margin:var(--tab-bar-margin, 0 auto);padding:var(--tab-bar-padding, 0 0 calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px)) 0)}._h_6lse3_2[data-scale=true]{transform:scale(1.02)}._h_6lse3_2[data-style=liquid-glass]{--tab-bar-actual-radius: 100px;--tab-bar-padding: 3px;--tab-bar-margin: 0px 16px calc( var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) ) 16px;--c-glass: #bbbbbc;--saturation: 150%;--c-light: #fff;--c-dark: #000;--glass-reflex-dark: 2;--glass-reflex-light: .3;border:none;box-shadow:0 -.5px #0000001a;justify-content:space-around;align-items:flex-start;align-self:stretch;border-radius:100px;touch-action:none;background-color:color-mix(in srgb,var(--c-glass) 12%,transparent);-webkit-backdrop-filter:blur(8px) saturate(var(--saturation));backdrop-filter:blur(8px) saturate(var(--saturation));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 10%),transparent),inset 1.8px 3px 0 -2px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 90%),transparent),inset -2px -2px 0 -2px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 80%),transparent),inset -3px -8px 1px -6px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 60%),transparent),inset -.3px -1px 4px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 12%),transparent),inset -1.5px 2.5px 0 -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 0 3px 4px -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 2px -6.5px 1px -4px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 1px 5px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 6px 16px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 8%),transparent)!important;transition:background-color .4s cubic-bezier(1,0,.4,1),box-shadow .4s cubic-bezier(1,0,.4,1)}._h_6lse3_2._r_6lse3_55{flex-direction:row}._h_6lse3_2._c_6lse3_58{flex-direction:column}._h_6lse3_2._x_6lse3_61{opacity:0;visibility:hidden}._h_6lse3_2 ._b_6lse3_65{width:100%;position:relative;display:flex;justify-content:space-around;align-items:flex-start;align-self:stretch;color:var(--tg-theme-hint-color)}._h_6lse3_2 ._b_6lse3_65 div{display:flex;flex-direction:column;align-items:center;padding:var(--tab-bar-button-padding);cursor:pointer;-webkit-transition:-webkit-transform .4s cubic-bezier(.34,1.56,.64,1),transform .4s cubic-bezier(.34,1.56,.64,1),opacity .3s cubic-bezier(.25,.46,.45,.94);transition:transform .4s cubic-bezier(.34,1.56,.64,1),opacity .3s cubic-bezier(.25,.46,.45,.94);-webkit-transform-origin:center;transform-origin:center;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;height:100%;justify-content:center}._h_6lse3_2 ._b_6lse3_65 div[data-active]{flex:1;text-align:center;position:relative;z-index:1}._h_6lse3_2 ._b_6lse3_65 div[data-active=true]{color:var(--tg-theme-button-color)}._h_6lse3_2 ._b_6lse3_65 span{padding-top:2px;font-size:10px;font-weight:400}._h_6lse3_2 ._b_6lse3_65 ._a_6lse3_103{position:absolute;top:0;bottom:0;left:0;width:calc(100% / var(--count-options));border-radius:inherit;box-shadow:var(--tab-bar-actual-shadow);--tab-bar-translate-x: calc(var(--tab-bar-actual-index) * 100%);-webkit-transform:translateX(var(--tab-bar-translate-x));transform:translate(var(--tab-bar-translate-x));-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:var(--tab-bar-actual-radius);background:var(--tab-bar-actual-color);background-color:color-mix(in srgb,var(--c-glass) 36%,transparent);-webkit-transition:-webkit-transform .5s cubic-bezier(.34,1.56,.64,1),transform .5s cubic-bezier(.34,1.56,.64,1),background-color .4s cubic-bezier(.25,.46,.45,.94),box-shadow .4s cubic-bezier(.25,.46,.45,.94);transition:transform .5s cubic-bezier(.34,1.56,.64,1),background-color .4s cubic-bezier(.25,.46,.45,.94),box-shadow .4s cubic-bezier(.25,.46,.45,.94);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 10%),transparent),inset 2px 1px 0 -1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 90%),transparent),inset -1.5px -1px 0 -1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 80%),transparent),inset -2px -6px 1px -5px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 60%),transparent),inset -1px 2px 3px -1px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 0 -4px 1px -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 3px 6px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 8%),transparent)}@keyframes _draw_6lse3_1{to{stroke-dashoffset:0}}._h_6lse3_2 [data-active=true] path{stroke-dasharray:60;stroke-dashoffset:60;animation:_draw_6lse3_1 1s ease-in-out forwards}._h_6lse3_2[data-scale=true] ._a_6lse3_103{-webkit-transition:background-color .4s cubic-bezier(.25,.46,.45,.94),box-shadow .4s cubic-bezier(.25,.46,.45,.94),-webkit-transform .5s cubic-bezier(.34,1.56,.64,1),transform .5s cubic-bezier(.34,1.56,.64,1);transition:background-color .4s cubic-bezier(.25,.46,.45,.94),box-shadow .4s cubic-bezier(.25,.46,.45,.94),transform .5s cubic-bezier(.34,1.56,.64,1);-webkit-transform:translateX(var(--tab-bar-translate-x));transform:translate(var(--tab-bar-translate-x));will-change:transform}._h_6lse3_2[data-scale=true][data-direction=left] ._a_6lse3_103{-webkit-animation:_scaleToggleLeft_6lse3_1 .5s cubic-bezier(.34,1.56,.64,1);animation:_scaleToggleLeft_6lse3_1 .5s cubic-bezier(.34,1.56,.64,1);-webkit-transform-origin:right center;transform-origin:right center}._h_6lse3_2[data-scale=true][data-direction=right] ._a_6lse3_103{-webkit-animation:_scaleToggleRight_6lse3_1 .5s cubic-bezier(.34,1.56,.64,1);animation:_scaleToggleRight_6lse3_1 .5s cubic-bezier(.34,1.56,.64,1);-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes _scaleToggleRight_6lse3_1{0%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}30%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.08);transform:translate(var(--tab-bar-translate-x)) scaleX(1.08)}60%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.12);transform:translate(var(--tab-bar-translate-x)) scaleX(1.12)}85%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(.98);transform:translate(var(--tab-bar-translate-x)) scaleX(.98)}to{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@keyframes _scaleToggleRight_6lse3_1{0%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}30%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.08);transform:translate(var(--tab-bar-translate-x)) scaleX(1.08)}60%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.12);transform:translate(var(--tab-bar-translate-x)) scaleX(1.12)}85%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(.98);transform:translate(var(--tab-bar-translate-x)) scaleX(.98)}to{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@-webkit-keyframes _scaleToggleLeft_6lse3_1{0%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}30%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.08);transform:translate(var(--tab-bar-translate-x)) scaleX(1.08)}60%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.12);transform:translate(var(--tab-bar-translate-x)) scaleX(1.12)}85%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(.98);transform:translate(var(--tab-bar-translate-x)) scaleX(.98)}to{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@keyframes _scaleToggleLeft_6lse3_1{0%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}30%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.08);transform:translate(var(--tab-bar-translate-x)) scaleX(1.08)}60%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.12);transform:translate(var(--tab-bar-translate-x)) scaleX(1.12)}85%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(.98);transform:translate(var(--tab-bar-translate-x)) scaleX(.98)}to{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}._b_r6m8n_1{position:absolute;inset:var(--tg-badge-inset, 0px 0px auto auto);color:var(--tg-badge-color, #ffffff);border-radius:var(--tg-badge-border-radius, 50%);transform:var(--tg-badge-transform, translate(50%, -50%));background:var(--tg-badge-background, #ff0000);padding:var(--tg-badge-padding, 5px);font-size:var(--tg-badge-font-size, 14px);font-weight:var(--tg-badge-font-weight, 700);line-height:var(--tg-badge-line-height, 1);letter-spacing:var(--tg-badge-letter-spacing, 0)}._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_l7xl0_3{overflow:scroll;width:100%;max-width:var(--tg-max-width);height:var(--tg-scroll-height);max-height:var(--tg-scroll-height);padding-top:var(--tg-modal-offset-top, 0px);padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px));margin:0 auto}._s_l7xl0_3._n_l7xl0_14{padding-left:var(--scroll-padding, 7px);padding-right:var(--scroll-padding, 7px)}._b_l7xl0_19{position:fixed;top:0;right:0;bottom:0;width:7px;z-index:1;background:var(--tg-theme-bg-color)}._s_l7xl0_3._f_l7xl0_29{position:fixed;top:0;right:0;bottom:0;left:0;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));height:100dvh;max-height:100dvh}._a_prp23_1{display:flex;align-items:center;justify-content:center;padding:10px 0;gap:16px;margin-bottom:10px}._a_prp23_1 b{font-size:18px;font-weight:600}._a_prp23_1._l_prp23_13{justify-content:flex-start}._a_prp23_1._r_prp23_16{justify-content:flex-end}._a_prp23_1._b_prp23_19{justify-content:space-between}
|
package/dist/index.es.js
CHANGED
|
@@ -38,7 +38,7 @@ var Ht;
|
|
|
38
38
|
function pr() {
|
|
39
39
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
40
40
|
var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), M = Symbol.iterator, ce = "@@iterator";
|
|
41
|
-
function
|
|
41
|
+
function we(e) {
|
|
42
42
|
if (e === null || typeof e != "object")
|
|
43
43
|
return null;
|
|
44
44
|
var n = M && e[M] || e[ce];
|
|
@@ -233,29 +233,29 @@ function pr() {
|
|
|
233
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
234
234
|
try {
|
|
235
235
|
Reflect.construct(g, []);
|
|
236
|
-
} catch (
|
|
237
|
-
u =
|
|
236
|
+
} catch (O) {
|
|
237
|
+
u = O;
|
|
238
238
|
}
|
|
239
239
|
Reflect.construct(e, [], g);
|
|
240
240
|
} else {
|
|
241
241
|
try {
|
|
242
242
|
g.call();
|
|
243
|
-
} catch (
|
|
244
|
-
u =
|
|
243
|
+
} catch (O) {
|
|
244
|
+
u = O;
|
|
245
245
|
}
|
|
246
246
|
e.call(g.prototype);
|
|
247
247
|
}
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
throw Error();
|
|
251
|
-
} catch (
|
|
252
|
-
u =
|
|
251
|
+
} catch (O) {
|
|
252
|
+
u = O;
|
|
253
253
|
}
|
|
254
254
|
e();
|
|
255
255
|
}
|
|
256
|
-
} catch (
|
|
257
|
-
if (
|
|
258
|
-
for (var v =
|
|
256
|
+
} catch (O) {
|
|
257
|
+
if (O && u && typeof O.stack == "string") {
|
|
258
|
+
for (var v = O.stack.split(`
|
|
259
259
|
`), k = u.stack.split(`
|
|
260
260
|
`), S = v.length - 1, E = k.length - 1; S >= 1 && E >= 0 && v[S] !== k[E]; )
|
|
261
261
|
E--;
|
|
@@ -264,9 +264,9 @@ function pr() {
|
|
|
264
264
|
if (S !== 1 || E !== 1)
|
|
265
265
|
do
|
|
266
266
|
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
267
|
-
var
|
|
267
|
+
var w = `
|
|
268
268
|
` + v[S].replace(" at new ", " at ");
|
|
269
|
-
return e.displayName &&
|
|
269
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, w), w;
|
|
270
270
|
}
|
|
271
271
|
while (S >= 1 && E >= 0);
|
|
272
272
|
break;
|
|
@@ -401,7 +401,7 @@ function pr() {
|
|
|
401
401
|
});
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Ot(e, n) {
|
|
405
405
|
{
|
|
406
406
|
var a = function() {
|
|
407
407
|
Je || (Je = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
|
|
@@ -412,7 +412,7 @@ function pr() {
|
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
var
|
|
415
|
+
var wt = function(e, n, a, u, m, _, g) {
|
|
416
416
|
var v = {
|
|
417
417
|
// This tag allows us to uniquely identify this as a React Element
|
|
418
418
|
$$typeof: r,
|
|
@@ -454,9 +454,9 @@ function pr() {
|
|
|
454
454
|
}
|
|
455
455
|
if (v || k) {
|
|
456
456
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
457
|
-
v && kt(g, E), k &&
|
|
457
|
+
v && kt(g, E), k && Ot(g, E);
|
|
458
458
|
}
|
|
459
|
-
return
|
|
459
|
+
return wt(e, v, k, m, u, Ve.current, g);
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
var pe = C.ReactCurrentOwner, He = C.ReactDebugCurrentFrame;
|
|
@@ -525,7 +525,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
525
525
|
else if (ge(e))
|
|
526
526
|
e._store && (e._store.validated = !0);
|
|
527
527
|
else if (e) {
|
|
528
|
-
var m =
|
|
528
|
+
var m = we(e);
|
|
529
529
|
if (typeof m == "function" && m !== e.entries)
|
|
530
530
|
for (var _ = m.call(e), g; !(g = _.next()).done; )
|
|
531
531
|
ge(g.value) && Xe(g.value, n);
|
|
@@ -585,24 +585,24 @@ Check the top-level render call using <` + a + ">.");
|
|
|
585
585
|
if (E == null)
|
|
586
586
|
return E;
|
|
587
587
|
if (g) {
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
588
|
+
var w = n.children;
|
|
589
|
+
if (w !== void 0)
|
|
590
590
|
if (u)
|
|
591
|
-
if (de(
|
|
592
|
-
for (var q = 0; q <
|
|
593
|
-
Ze(
|
|
594
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (de(w)) {
|
|
592
|
+
for (var q = 0; q < w.length; q++)
|
|
593
|
+
Ze(w[q], e);
|
|
594
|
+
Object.freeze && Object.freeze(w);
|
|
595
595
|
} else
|
|
596
596
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
597
597
|
else
|
|
598
|
-
Ze(
|
|
598
|
+
Ze(w, e);
|
|
599
599
|
}
|
|
600
600
|
if (J.call(n, "key")) {
|
|
601
|
-
var B = N(e),
|
|
601
|
+
var B = N(e), O = Object.keys(n).filter(function(Ut) {
|
|
602
602
|
return Ut !== "key";
|
|
603
|
-
}), he =
|
|
603
|
+
}), he = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
604
604
|
if (!Qe[B + he]) {
|
|
605
|
-
var Dt =
|
|
605
|
+
var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
606
606
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
607
607
|
let props = %s;
|
|
608
608
|
<%s {...props} />
|
|
@@ -873,7 +873,7 @@ var Xt;
|
|
|
873
873
|
function Ar() {
|
|
874
874
|
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
875
875
|
var t = U, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), d = Symbol.for("react.provider"), p = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), M = Symbol.iterator, ce = "@@iterator";
|
|
876
|
-
function
|
|
876
|
+
function we(e) {
|
|
877
877
|
if (e === null || typeof e != "object")
|
|
878
878
|
return null;
|
|
879
879
|
var n = M && e[M] || e[ce];
|
|
@@ -1068,29 +1068,29 @@ function Ar() {
|
|
|
1068
1068
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
1069
1069
|
try {
|
|
1070
1070
|
Reflect.construct(g, []);
|
|
1071
|
-
} catch (
|
|
1072
|
-
u =
|
|
1071
|
+
} catch (O) {
|
|
1072
|
+
u = O;
|
|
1073
1073
|
}
|
|
1074
1074
|
Reflect.construct(e, [], g);
|
|
1075
1075
|
} else {
|
|
1076
1076
|
try {
|
|
1077
1077
|
g.call();
|
|
1078
|
-
} catch (
|
|
1079
|
-
u =
|
|
1078
|
+
} catch (O) {
|
|
1079
|
+
u = O;
|
|
1080
1080
|
}
|
|
1081
1081
|
e.call(g.prototype);
|
|
1082
1082
|
}
|
|
1083
1083
|
} else {
|
|
1084
1084
|
try {
|
|
1085
1085
|
throw Error();
|
|
1086
|
-
} catch (
|
|
1087
|
-
u =
|
|
1086
|
+
} catch (O) {
|
|
1087
|
+
u = O;
|
|
1088
1088
|
}
|
|
1089
1089
|
e();
|
|
1090
1090
|
}
|
|
1091
|
-
} catch (
|
|
1092
|
-
if (
|
|
1093
|
-
for (var v =
|
|
1091
|
+
} catch (O) {
|
|
1092
|
+
if (O && u && typeof O.stack == "string") {
|
|
1093
|
+
for (var v = O.stack.split(`
|
|
1094
1094
|
`), k = u.stack.split(`
|
|
1095
1095
|
`), S = v.length - 1, E = k.length - 1; S >= 1 && E >= 0 && v[S] !== k[E]; )
|
|
1096
1096
|
E--;
|
|
@@ -1099,9 +1099,9 @@ function Ar() {
|
|
|
1099
1099
|
if (S !== 1 || E !== 1)
|
|
1100
1100
|
do
|
|
1101
1101
|
if (S--, E--, E < 0 || v[S] !== k[E]) {
|
|
1102
|
-
var
|
|
1102
|
+
var w = `
|
|
1103
1103
|
` + v[S].replace(" at new ", " at ");
|
|
1104
|
-
return e.displayName &&
|
|
1104
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, w), w;
|
|
1105
1105
|
}
|
|
1106
1106
|
while (S >= 1 && E >= 0);
|
|
1107
1107
|
break;
|
|
@@ -1236,7 +1236,7 @@ function Ar() {
|
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function Ot(e, n) {
|
|
1240
1240
|
{
|
|
1241
1241
|
var a = function() {
|
|
1242
1242
|
Je || (Je = !0, A("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
|
|
@@ -1247,7 +1247,7 @@ function Ar() {
|
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
1250
|
-
var
|
|
1250
|
+
var wt = function(e, n, a, u, m, _, g) {
|
|
1251
1251
|
var v = {
|
|
1252
1252
|
// This tag allows us to uniquely identify this as a React Element
|
|
1253
1253
|
$$typeof: r,
|
|
@@ -1289,9 +1289,9 @@ function Ar() {
|
|
|
1289
1289
|
}
|
|
1290
1290
|
if (v || k) {
|
|
1291
1291
|
var E = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
1292
|
-
v && kt(g, E), k &&
|
|
1292
|
+
v && kt(g, E), k && Ot(g, E);
|
|
1293
1293
|
}
|
|
1294
|
-
return
|
|
1294
|
+
return wt(e, v, k, m, u, Ve.current, g);
|
|
1295
1295
|
}
|
|
1296
1296
|
}
|
|
1297
1297
|
var pe = C.ReactCurrentOwner, He = C.ReactDebugCurrentFrame;
|
|
@@ -1360,7 +1360,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1360
1360
|
else if (ge(e))
|
|
1361
1361
|
e._store && (e._store.validated = !0);
|
|
1362
1362
|
else if (e) {
|
|
1363
|
-
var m =
|
|
1363
|
+
var m = we(e);
|
|
1364
1364
|
if (typeof m == "function" && m !== e.entries)
|
|
1365
1365
|
for (var _ = m.call(e), g; !(g = _.next()).done; )
|
|
1366
1366
|
ge(g.value) && Xe(g.value, n);
|
|
@@ -1420,24 +1420,24 @@ Check the top-level render call using <` + a + ">.");
|
|
|
1420
1420
|
if (E == null)
|
|
1421
1421
|
return E;
|
|
1422
1422
|
if (g) {
|
|
1423
|
-
var
|
|
1424
|
-
if (
|
|
1423
|
+
var w = n.children;
|
|
1424
|
+
if (w !== void 0)
|
|
1425
1425
|
if (u)
|
|
1426
|
-
if (de(
|
|
1427
|
-
for (var q = 0; q <
|
|
1428
|
-
Ze(
|
|
1429
|
-
Object.freeze && Object.freeze(
|
|
1426
|
+
if (de(w)) {
|
|
1427
|
+
for (var q = 0; q < w.length; q++)
|
|
1428
|
+
Ze(w[q], e);
|
|
1429
|
+
Object.freeze && Object.freeze(w);
|
|
1430
1430
|
} else
|
|
1431
1431
|
A("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
1432
1432
|
else
|
|
1433
|
-
Ze(
|
|
1433
|
+
Ze(w, e);
|
|
1434
1434
|
}
|
|
1435
1435
|
if (J.call(n, "key")) {
|
|
1436
|
-
var B = N(e),
|
|
1436
|
+
var B = N(e), O = Object.keys(n).filter(function(Ut) {
|
|
1437
1437
|
return Ut !== "key";
|
|
1438
|
-
}), he =
|
|
1438
|
+
}), he = O.length > 0 ? "{key: someKey, " + O.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
1439
1439
|
if (!Qe[B + he]) {
|
|
1440
|
-
var Dt =
|
|
1440
|
+
var Dt = O.length > 0 ? "{" + O.join(": ..., ") + ": ...}" : "{}";
|
|
1441
1441
|
A(`A props object containing a "key" prop is being spread into JSX:
|
|
1442
1442
|
let props = %s;
|
|
1443
1443
|
<%s {...props} />
|
|
@@ -1610,7 +1610,7 @@ function Qt(t = ".", r, o) {
|
|
|
1610
1610
|
pages: o
|
|
1611
1611
|
}) : Yt({ basePath: t });
|
|
1612
1612
|
}
|
|
1613
|
-
function
|
|
1613
|
+
function Or() {
|
|
1614
1614
|
var t;
|
|
1615
1615
|
let r = sessionStorage.getItem("f");
|
|
1616
1616
|
if (r) {
|
|
@@ -1645,7 +1645,7 @@ function zt() {
|
|
|
1645
1645
|
function lr() {
|
|
1646
1646
|
return j().id;
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function wr(t) {
|
|
1649
1649
|
let r = (i) => (X({ page: i }), i);
|
|
1650
1650
|
const [o, s] = T(
|
|
1651
1651
|
ir() || t && r(t) || j().page
|
|
@@ -1781,7 +1781,7 @@ async function qr(t) {
|
|
|
1781
1781
|
ie.enCode(j())
|
|
1782
1782
|
);
|
|
1783
1783
|
}
|
|
1784
|
-
const
|
|
1784
|
+
const Oe = {
|
|
1785
1785
|
Reset() {
|
|
1786
1786
|
ne.id = 0, ne.tab = "", ne.page = j().page, ne.module = j().module;
|
|
1787
1787
|
},
|
|
@@ -1809,13 +1809,13 @@ const we = {
|
|
|
1809
1809
|
debug: s,
|
|
1810
1810
|
dir: i,
|
|
1811
1811
|
importModules: h
|
|
1812
|
-
}),
|
|
1812
|
+
}), Or();
|
|
1813
1813
|
},
|
|
1814
1814
|
// Упрощенная функция для создания importModules
|
|
1815
1815
|
createImportModules: Qt,
|
|
1816
1816
|
getImportModules: () => j().importModules,
|
|
1817
1817
|
// Методы страниц
|
|
1818
|
-
usePage:
|
|
1818
|
+
usePage: wr,
|
|
1819
1819
|
setPage: Pr,
|
|
1820
1820
|
getPage: ir,
|
|
1821
1821
|
isPage: Tr,
|
|
@@ -2015,7 +2015,7 @@ const ln = () => {
|
|
|
2015
2015
|
{
|
|
2016
2016
|
onClick: () => {
|
|
2017
2017
|
var R;
|
|
2018
|
-
o.page === void 0 ? (R = o.callback) == null || R.call(o) :
|
|
2018
|
+
o.page === void 0 ? (R = o.callback) == null || R.call(o) : Oe.setPage(o.page);
|
|
2019
2019
|
},
|
|
2020
2020
|
className: oe.b,
|
|
2021
2021
|
children: "Назад"
|
|
@@ -2035,7 +2035,7 @@ const ln = () => {
|
|
|
2035
2035
|
"button",
|
|
2036
2036
|
{
|
|
2037
2037
|
onClick: () => {
|
|
2038
|
-
t.page &&
|
|
2038
|
+
t.page && Oe.setPage(t.page), t.callback && t.callback();
|
|
2039
2039
|
},
|
|
2040
2040
|
children: t.text
|
|
2041
2041
|
}
|
|
@@ -2129,7 +2129,7 @@ const ln = () => {
|
|
|
2129
2129
|
n: En
|
|
2130
2130
|
}, xn = ({ items: t }) => {
|
|
2131
2131
|
const r = (s) => {
|
|
2132
|
-
|
|
2132
|
+
Oe.setPage(s);
|
|
2133
2133
|
}, o = (s) => {
|
|
2134
2134
|
ae.openTelegramLink(s);
|
|
2135
2135
|
};
|
|
@@ -2158,12 +2158,12 @@ const ln = () => {
|
|
|
2158
2158
|
},
|
|
2159
2159
|
l
|
|
2160
2160
|
)) }, s.id)) });
|
|
2161
|
-
}, An = "_o_8ho2f_3", jn = "_m_8ho2f_14", kn = "_l_8ho2f_28",
|
|
2161
|
+
}, An = "_o_8ho2f_3", jn = "_m_8ho2f_14", kn = "_l_8ho2f_28", On = "_r_8ho2f_33", wn = "_x_8ho2f_38", Pn = "_h_8ho2f_42", Tn = "_c_8ho2f_57", Cn = "_u_8ho2f_72", re = {
|
|
2162
2162
|
o: An,
|
|
2163
2163
|
m: jn,
|
|
2164
2164
|
l: kn,
|
|
2165
|
-
r:
|
|
2166
|
-
x:
|
|
2165
|
+
r: On,
|
|
2166
|
+
x: wn,
|
|
2167
2167
|
h: Pn,
|
|
2168
2168
|
c: Tn,
|
|
2169
2169
|
u: Cn
|
|
@@ -2284,7 +2284,7 @@ const ur = ({
|
|
|
2284
2284
|
)
|
|
2285
2285
|
}
|
|
2286
2286
|
);
|
|
2287
|
-
}, Mn = "
|
|
2287
|
+
}, Mn = "_h_6lse3_2", In = "_r_6lse3_55", Bn = "_c_6lse3_58", Ln = "_x_6lse3_61", Dn = "_b_6lse3_65", Un = "_a_6lse3_103", Fn = "_draw_6lse3_1", Wn = "_scaleToggleLeft_6lse3_1", Yn = "_scaleToggleRight_6lse3_1", ke = {
|
|
2288
2288
|
h: Mn,
|
|
2289
2289
|
r: In,
|
|
2290
2290
|
c: Bn,
|
|
@@ -2340,7 +2340,7 @@ const ur = ({
|
|
|
2340
2340
|
});
|
|
2341
2341
|
};
|
|
2342
2342
|
}, []);
|
|
2343
|
-
const [
|
|
2343
|
+
const [we, C] = U.useState(!1), A = () => {
|
|
2344
2344
|
C(!0);
|
|
2345
2345
|
}, Se = () => {
|
|
2346
2346
|
C(!1);
|
|
@@ -2354,7 +2354,7 @@ const ur = ({
|
|
|
2354
2354
|
{
|
|
2355
2355
|
"data-direction": x,
|
|
2356
2356
|
"data-style": d,
|
|
2357
|
-
"data-scale":
|
|
2357
|
+
"data-scale": we ? "true" : "false",
|
|
2358
2358
|
...K,
|
|
2359
2359
|
className: Re(
|
|
2360
2360
|
ke.h,
|
|
@@ -2533,7 +2533,7 @@ const D = {
|
|
|
2533
2533
|
t === !1 ? (P.WebApp.BackButton.isVisible = !1, P.WebApp.BackButton.offClick(D.listen[0]), D.listen.shift(), D.state.length !== 1 && D.state.pop()) : (P.WebApp.BackButton.isVisible = !0, P.WebApp.BackButton.offClick(D.listen[0]), D.listen.shift(), D.listen.push(() => {
|
|
2534
2534
|
var o;
|
|
2535
2535
|
let r = D.state.pop();
|
|
2536
|
-
D.prev =
|
|
2536
|
+
D.prev = Oe.getPage(), r.page !== void 0 ? Oe.setPage(r.page) : (o = r.callback) == null || o.call(r);
|
|
2537
2537
|
}), ae.BackButton.onClick(D.listen[0]));
|
|
2538
2538
|
}
|
|
2539
2539
|
}, Re = (...t) => t.filter((r) => r !== void 0 && r !== !1 && r !== null && r !== "").join(" ");
|
|
@@ -2582,7 +2582,7 @@ var P;
|
|
|
2582
2582
|
t.WebApp.MainButton.offClick(s);
|
|
2583
2583
|
}), t.WebApp.MainButton.callback = [], typeof o == "boolean" ? t.WebApp.MainButton.isVisible = !1 : (t.WebApp.MainButton.text = o.text, o.color && (t.WebApp.MainButton.color = o.color), o.textColor && (t.WebApp.MainButton.textColor = o.textColor), t.WebApp.MainButton.isVisible = !0, t.WebApp.MainButton.isActive = o.isActive === void 0 ? !0 : o.isActive, t.WebApp.MainButton.callback.push(() => {
|
|
2584
2584
|
var s;
|
|
2585
|
-
o.page === void 0 ? (s = o.callback) == null || s.call(o) :
|
|
2585
|
+
o.page === void 0 ? (s = o.callback) == null || s.call(o) : Oe.setPage(o.page);
|
|
2586
2586
|
}), t.WebApp.MainButton.onClick(
|
|
2587
2587
|
t.WebApp.MainButton.callback[0]
|
|
2588
2588
|
)));
|
|
@@ -2593,7 +2593,7 @@ var P;
|
|
|
2593
2593
|
se.is ? se.BackButton.set(o) : (D.state.push(o), D.router(o));
|
|
2594
2594
|
};
|
|
2595
2595
|
})(P || (P = {}));
|
|
2596
|
-
const ho = P.TabBar, bo = ur, tr = P.BackButton, mo = P.BackButtonPrev, po = P.BackButtonState, yo = P.Notice, _o = P.SafeArea, Ro = P.Loading, So = P.Menu, Eo = P.SidePanel, xo = P.Scroll, Ao = P.AppBar, jo = P.Sidebar, ko = P.Location,
|
|
2596
|
+
const ho = P.TabBar, bo = ur, tr = P.BackButton, mo = P.BackButtonPrev, po = P.BackButtonState, yo = P.Notice, _o = P.SafeArea, Ro = P.Loading, So = P.Menu, Eo = P.SidePanel, xo = P.Scroll, Ao = P.AppBar, jo = P.Sidebar, ko = P.Location, Oo = P.SidePanelController, wo = P.SideBarController, { Header: Po, toggleBottomSheet: To, Modal: Co, MainButton: $o, WebApp: ae, getUser: No } = P;
|
|
2597
2597
|
export {
|
|
2598
2598
|
Ao as AppBar,
|
|
2599
2599
|
tr as BackButton,
|
|
@@ -2609,9 +2609,9 @@ export {
|
|
|
2609
2609
|
yo as Notice,
|
|
2610
2610
|
_o as SafeArea,
|
|
2611
2611
|
xo as Scroll,
|
|
2612
|
-
|
|
2612
|
+
wo as SideBarController,
|
|
2613
2613
|
Eo as SidePanel,
|
|
2614
|
-
|
|
2614
|
+
Oo as SidePanelController,
|
|
2615
2615
|
jo as Sidebar,
|
|
2616
2616
|
ho as TabBar,
|
|
2617
2617
|
ae as WebApp,
|
package/dist/index.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(x,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):(x=typeof globalThis<"u"?globalThis:x||self,w((x.elCRM=x.elCRM||{},x.elCRM.components={}),x.React,x.ReactDOM))})(this,function(x,w,fr){"use strict";var Vt=document.createElement("style");Vt.textContent=`@charset "UTF-8";:root{--tg-safe-area-height: 100dvh;--tg-max-width: 500px;--tg-scroll-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-header-height, 0px) );--tg-modal-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-header-height, 0px) )}*{-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}:root{--tg-modal-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var( --tg-content-safe-area-inset-top, 0px ) - var(--tg-offset-bottom, 60px) )}._o_1apbm_11{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:11;display:flex;justify-content:center;animation:_fadeIn_1apbm_1 .3s ease}._o_1apbm_11._x_1apbm_24{animation:_fadeOut_1apbm_1 .3s ease}._p_1apbm_28{position:fixed;width:100%;overflow:hidden;animation:_slideUp_1apbm_1 .3s ease;background:var(--tg-theme-bg-color);bottom:0;left:0;right:0;margin:0 auto;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px))}._p_1apbm_28._x_1apbm_24{animation:_slideDown_1apbm_1 .3s ease}._p_1apbm_28._m_1apbm_45{--tg-scroll-height: 100dvh;--tg-modal-offset-top: calc( var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px) );top:0}._p_1apbm_28._o_1apbm_11{--tg-modal-offset-top: 0px;top:calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px))}@keyframes _fadeIn_1apbm_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1apbm_1{0%{opacity:1}to{opacity:0}}@keyframes _slideUp_1apbm_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes _slideDown_1apbm_1{0%{transform:translateY(0)}to{transform:translateY(100%)}}._n_zlj3m_1{position:fixed;z-index:999;max-height:0px;top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px))}._n_zlj3m_1 ._i_zlj3m_10{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)}._n_zlj3m_1 svg{margin-top:7px}._n_zlj3m_1 ._t_zlj3m_28{padding:9px 0;flex:1}._n_zlj3m_1 ._e_zlj3m_32{background:var(--tg-notice-error, #f44336)}._n_zlj3m_1 ._s_zlj3m_35{background:var(--tg-notice-success, #4caf50)}._n_zlj3m_1 ._w_zlj3m_38{background:var(--tg-notice-warning, #ff9800)}._n_zlj3m_1 ._i_zlj3m_10._h_zlj3m_41{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}._n_zlj3m_1 ._i_zlj3m_10._e_zlj3m_32._h_zlj3m_41 svg{color:#f44336}._n_zlj3m_1 ._i_zlj3m_10._s_zlj3m_35._t_zlj3m_28 svg{color:#4caf50}._n_zlj3m_1 ._i_zlj3m_10._w_zlj3m_38._t_zlj3m_28 svg{color:#ff9800}body:has(._d_1u25q_1){--tg-viewport-height: calc(100dvh - 50px) ;--tg-safe-area-inset-top: 50px}._d_1u25q_1{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}._d_1u25q_1 ._b_1u25q_21,._d_1u25q_1 ._o_1u25q_25{padding:0 15px;cursor:pointer}._m_1u25q_30{bottom:0;position:fixed;left:0;right:0;padding:10px}._m_1u25q_30 button{width:100%}._t_1u25q_41{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)}._t_1u25q_41 ul{list-style-type:none;margin:0;display:block;width:100%;padding:8px;border-top:1px solid var(--tg-theme-hint-color)}._t_1u25q_41 ul:first-child{border-top:0}._t_1u25q_41 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)}._t_1u25q_41 ol:hover{display:flex}._t_1u25q_41 li{position:relative}._t_1u25q_41 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)}._t_1u25q_41 button:hover{background-color:var(--tg-theme-button-color)}._t_1u25q_41 button:hover+ol{display:flex}._a_1u25q_108{margin:0;width:100vw;height:100vh;display:-webkit-flex;display:flex;justify-content:center;align-items:center;background-color:#0006}._a_1u25q_108 ._v_1u25q_118{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}._p_1axqy_1{padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-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)}._m_1axqy_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_1axqy_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_1w0w0_2){--tg-offset-bottom: 60px}._h_1w0w0_2{z-index:2;position:fixed;bottom:0;left:0;right:0;display:flex;gap:10px;max-width:var(--tg-max-width, 500px);opacity:1;visibility:visible;transition:opacity .3s ease,visibility .3s ease,transform .15s cubic-bezier(.4,0,.2,1);transform-origin:center;background-color:var(--tab-bar-bg, var(--tg-theme-secondary-bg-color-alpha));margin:var(--tab-bar-margin, 0 auto);padding:var(--tab-bar-padding, 0 0 calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px)) 0)}._h_1w0w0_2[data-scale=true]{transform:scale(1.02)}._h_1w0w0_2[data-style=liquid-glass]{--tab-bar-actual-radius: 100px;--tab-bar-padding: 3px;--tab-bar-margin: 0px 16px calc( var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) ) 16px;--c-glass: #bbbbbc;--saturation: 150%;--c-light: #fff;--c-dark: #000;--glass-reflex-dark: 2;--glass-reflex-light: .3;border:none;box-shadow:0 -.5px #0000001a;justify-content:space-around;align-items:flex-start;align-self:stretch;border-radius:100px;touch-action:none;background-color:color-mix(in srgb,var(--c-glass) 12%,transparent);-webkit-backdrop-filter:blur(8px) saturate(var(--saturation));backdrop-filter:blur(8px) saturate(var(--saturation));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 10%),transparent),inset 1.8px 3px 0 -2px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 90%),transparent),inset -2px -2px 0 -2px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 80%),transparent),inset -3px -8px 1px -6px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 60%),transparent),inset -.3px -1px 4px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 12%),transparent),inset -1.5px 2.5px 0 -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 0 3px 4px -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 2px -6.5px 1px -4px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 1px 5px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 6px 16px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 8%),transparent)!important;transition:background-color .4s cubic-bezier(1,0,.4,1),box-shadow .4s cubic-bezier(1,0,.4,1)}._h_1w0w0_2._r_1w0w0_53{flex-direction:row}._h_1w0w0_2._c_1w0w0_56{flex-direction:column}._h_1w0w0_2._x_1w0w0_59{opacity:0;visibility:hidden}._h_1w0w0_2 ._b_1w0w0_63{width:100%;position:relative;display:flex;justify-content:space-around;align-items:flex-start;align-self:stretch;color:var(--tg-theme-hint-color)}._h_1w0w0_2 ._b_1w0w0_63 div{display:flex;flex-direction:column;align-items:center;padding:var(--tab-bar-button-padding);cursor:pointer;transition:transform .15s cubic-bezier(.4,0,.2,1);transform-origin:center;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;height:100%;justify-content:center}._h_1w0w0_2 ._b_1w0w0_63 div[data-active]{flex:1;text-align:center;position:relative;z-index:1}._h_1w0w0_2 ._b_1w0w0_63 div[data-active=true]{color:var(--tg-theme-button-color)}._h_1w0w0_2 ._b_1w0w0_63 span{padding-top:2px;font-size:10px;font-weight:400}._h_1w0w0_2 ._b_1w0w0_63 ._a_1w0w0_99{position:absolute;top:0;bottom:0;left:0;width:calc(100% / var(--count-options));border-radius:inherit;box-shadow:var(--tab-bar-actual-shadow);--tab-bar-translate-x: calc(var(--tab-bar-actual-index) * 100%);transform:translate(var(--tab-bar-translate-x));transform-origin:0 0;border-radius:var(--tab-bar-actual-radius);background:var(--tab-bar-actual-color);background-color:color-mix(in srgb,var(--c-glass) 36%,transparent);transition:transform .44s;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 10%),transparent),inset 2px 1px 0 -1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 90%),transparent),inset -1.5px -1px 0 -1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 80%),transparent),inset -2px -6px 1px -5px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 60%),transparent),inset -1px 2px 3px -1px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 0 -4px 1px -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 3px 6px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 8%),transparent)}@keyframes _draw_1w0w0_1{to{stroke-dashoffset:0}}._h_1w0w0_2 [data-active=true] path{stroke-dasharray:60;stroke-dashoffset:60;animation:_draw_1w0w0_1 1s ease-in-out forwards}._h_1w0w0_2[data-scale=true] ._a_1w0w0_99{transition:background-color .4s cubic-bezier(1,0,.4,1),box-shadow .4s cubic-bezier(1,0,.4,1)}._h_1w0w0_2[data-scale=true][data-direction=left] ._a_1w0w0_99{animation:_scaleToggleLeft_1w0w0_1 .44s ease;transform-origin:right center}._h_1w0w0_2[data-scale=true][data-direction=right] ._a_1w0w0_99{animation:_scaleToggleRight_1w0w0_1 .44s ease;transform-origin:left center}@-webkit-keyframes _scaleToggleRight_1w0w0_1{0%{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}50%{transform:translate(var(--tab-bar-translate-x)) scaleX(1.1)}to{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@keyframes _scaleToggleRight_1w0w0_1{0%{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}50%{transform:translate(var(--tab-bar-translate-x)) scaleX(1.1)}to{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@-webkit-keyframes _scaleToggleLeft_1w0w0_1{0%{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}50%{transform:translate(var(--tab-bar-translate-x)) scaleX(1.1)}to{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@keyframes _scaleToggleLeft_1w0w0_1{0%{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}50%{transform:translate(var(--tab-bar-translate-x)) scaleX(1.1)}to{transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}._b_r6m8n_1{position:absolute;inset:var(--tg-badge-inset, 0px 0px auto auto);color:var(--tg-badge-color, #ffffff);border-radius:var(--tg-badge-border-radius, 50%);transform:var(--tg-badge-transform, translate(50%, -50%));background:var(--tg-badge-background, #ff0000);padding:var(--tg-badge-padding, 5px);font-size:var(--tg-badge-font-size, 14px);font-weight:var(--tg-badge-font-weight, 700);line-height:var(--tg-badge-line-height, 1);letter-spacing:var(--tg-badge-letter-spacing, 0)}._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_l7xl0_3{overflow:scroll;width:100%;max-width:var(--tg-max-width);height:var(--tg-scroll-height);max-height:var(--tg-scroll-height);padding-top:var(--tg-modal-offset-top, 0px);padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px));margin:0 auto}._s_l7xl0_3._n_l7xl0_14{padding-left:var(--scroll-padding, 7px);padding-right:var(--scroll-padding, 7px)}._b_l7xl0_19{position:fixed;top:0;right:0;bottom:0;width:7px;z-index:1;background:var(--tg-theme-bg-color)}._s_l7xl0_3._f_l7xl0_29{position:fixed;top:0;right:0;bottom:0;left:0;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));height:100dvh;max-height:100dvh}._a_prp23_1{display:flex;align-items:center;justify-content:center;padding:10px 0;gap:16px;margin-bottom:10px}._a_prp23_1 b{font-size:18px;font-weight:600}._a_prp23_1._l_prp23_13{justify-content:flex-start}._a_prp23_1._r_prp23_16{justify-content:flex-end}._a_prp23_1._b_prp23_19{justify-content:space-between}
|
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(
|
|
1
|
+
(function(x,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],k):(x=typeof globalThis<"u"?globalThis:x||self,k((x.elCRM=x.elCRM||{},x.elCRM.components={}),x.React,x.ReactDOM))})(this,function(x,k,ur){"use strict";var Yt=document.createElement("style");Yt.textContent=`@charset "UTF-8";:root{--tg-safe-area-height: 100dvh;--tg-max-width: 500px;--tg-scroll-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-header-height, 0px) );--tg-modal-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var(--tg-content-safe-area-inset-top, 0px) - var(--tg-header-height, 0px) )}*{-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}:root{--tg-modal-height: calc( 100dvh - var(--tg-safe-area-inset-top, 0px) - var( --tg-content-safe-area-inset-top, 0px ) - var(--tg-offset-bottom, 60px) )}._o_1apbm_11{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--tg-theme-bg-color-alpha);z-index:11;display:flex;justify-content:center;animation:_fadeIn_1apbm_1 .3s ease}._o_1apbm_11._x_1apbm_24{animation:_fadeOut_1apbm_1 .3s ease}._p_1apbm_28{position:fixed;width:100%;overflow:hidden;animation:_slideUp_1apbm_1 .3s ease;background:var(--tg-theme-bg-color);bottom:0;left:0;right:0;margin:0 auto;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px))}._p_1apbm_28._x_1apbm_24{animation:_slideDown_1apbm_1 .3s ease}._p_1apbm_28._m_1apbm_45{--tg-scroll-height: 100dvh;--tg-modal-offset-top: calc( var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px) );top:0}._p_1apbm_28._o_1apbm_11{--tg-modal-offset-top: 0px;top:calc(var(--tg-safe-area-inset-top, 0px) + var(--tg-content-safe-area-inset-top, 0px))}@keyframes _fadeIn_1apbm_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1apbm_1{0%{opacity:1}to{opacity:0}}@keyframes _slideUp_1apbm_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes _slideDown_1apbm_1{0%{transform:translateY(0)}to{transform:translateY(100%)}}._n_zlj3m_1{position:fixed;z-index:999;max-height:0px;top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px))}._n_zlj3m_1 ._i_zlj3m_10{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)}._n_zlj3m_1 svg{margin-top:7px}._n_zlj3m_1 ._t_zlj3m_28{padding:9px 0;flex:1}._n_zlj3m_1 ._e_zlj3m_32{background:var(--tg-notice-error, #f44336)}._n_zlj3m_1 ._s_zlj3m_35{background:var(--tg-notice-success, #4caf50)}._n_zlj3m_1 ._w_zlj3m_38{background:var(--tg-notice-warning, #ff9800)}._n_zlj3m_1 ._i_zlj3m_10._h_zlj3m_41{background:var(--tg-theme-secondary-bg-color);color:var(--tg-theme-text-color)}._n_zlj3m_1 ._i_zlj3m_10._e_zlj3m_32._h_zlj3m_41 svg{color:#f44336}._n_zlj3m_1 ._i_zlj3m_10._s_zlj3m_35._t_zlj3m_28 svg{color:#4caf50}._n_zlj3m_1 ._i_zlj3m_10._w_zlj3m_38._t_zlj3m_28 svg{color:#ff9800}body:has(._d_1u25q_1){--tg-viewport-height: calc(100dvh - 50px) ;--tg-safe-area-inset-top: 50px}._d_1u25q_1{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}._d_1u25q_1 ._b_1u25q_21,._d_1u25q_1 ._o_1u25q_25{padding:0 15px;cursor:pointer}._m_1u25q_30{bottom:0;position:fixed;left:0;right:0;padding:10px}._m_1u25q_30 button{width:100%}._t_1u25q_41{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)}._t_1u25q_41 ul{list-style-type:none;margin:0;display:block;width:100%;padding:8px;border-top:1px solid var(--tg-theme-hint-color)}._t_1u25q_41 ul:first-child{border-top:0}._t_1u25q_41 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)}._t_1u25q_41 ol:hover{display:flex}._t_1u25q_41 li{position:relative}._t_1u25q_41 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)}._t_1u25q_41 button:hover{background-color:var(--tg-theme-button-color)}._t_1u25q_41 button:hover+ol{display:flex}._a_1u25q_108{margin:0;width:100vw;height:100vh;display:-webkit-flex;display:flex;justify-content:center;align-items:center;background-color:#0006}._a_1u25q_108 ._v_1u25q_118{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}._p_1axqy_1{padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-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)}._m_1axqy_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_1axqy_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_6lse3_2){--tg-offset-bottom: 60px}._h_6lse3_2{z-index:2;position:fixed;bottom:0;left:0;right:0;display:flex;gap:10px;max-width:var(--tg-max-width, 500px);opacity:1;visibility:visible;-webkit-transition:opacity .4s cubic-bezier(.25,.46,.45,.94),visibility .4s cubic-bezier(.25,.46,.45,.94),-webkit-transform .5s cubic-bezier(.34,1.56,.64,1),transform .5s cubic-bezier(.34,1.56,.64,1);transition:opacity .4s cubic-bezier(.25,.46,.45,.94),visibility .4s cubic-bezier(.25,.46,.45,.94),transform .5s cubic-bezier(.34,1.56,.64,1);-webkit-transform-origin:center;transform-origin:center;background-color:var(--tab-bar-bg, var(--tg-theme-secondary-bg-color-alpha));margin:var(--tab-bar-margin, 0 auto);padding:var(--tab-bar-padding, 0 0 calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px)) 0)}._h_6lse3_2[data-scale=true]{transform:scale(1.02)}._h_6lse3_2[data-style=liquid-glass]{--tab-bar-actual-radius: 100px;--tab-bar-padding: 3px;--tab-bar-margin: 0px 16px calc( var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) ) 16px;--c-glass: #bbbbbc;--saturation: 150%;--c-light: #fff;--c-dark: #000;--glass-reflex-dark: 2;--glass-reflex-light: .3;border:none;box-shadow:0 -.5px #0000001a;justify-content:space-around;align-items:flex-start;align-self:stretch;border-radius:100px;touch-action:none;background-color:color-mix(in srgb,var(--c-glass) 12%,transparent);-webkit-backdrop-filter:blur(8px) saturate(var(--saturation));backdrop-filter:blur(8px) saturate(var(--saturation));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 10%),transparent),inset 1.8px 3px 0 -2px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 90%),transparent),inset -2px -2px 0 -2px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 80%),transparent),inset -3px -8px 1px -6px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 60%),transparent),inset -.3px -1px 4px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 12%),transparent),inset -1.5px 2.5px 0 -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 0 3px 4px -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 2px -6.5px 1px -4px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 1px 5px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 6px 16px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 8%),transparent)!important;transition:background-color .4s cubic-bezier(1,0,.4,1),box-shadow .4s cubic-bezier(1,0,.4,1)}._h_6lse3_2._r_6lse3_55{flex-direction:row}._h_6lse3_2._c_6lse3_58{flex-direction:column}._h_6lse3_2._x_6lse3_61{opacity:0;visibility:hidden}._h_6lse3_2 ._b_6lse3_65{width:100%;position:relative;display:flex;justify-content:space-around;align-items:flex-start;align-self:stretch;color:var(--tg-theme-hint-color)}._h_6lse3_2 ._b_6lse3_65 div{display:flex;flex-direction:column;align-items:center;padding:var(--tab-bar-button-padding);cursor:pointer;-webkit-transition:-webkit-transform .4s cubic-bezier(.34,1.56,.64,1),transform .4s cubic-bezier(.34,1.56,.64,1),opacity .3s cubic-bezier(.25,.46,.45,.94);transition:transform .4s cubic-bezier(.34,1.56,.64,1),opacity .3s cubic-bezier(.25,.46,.45,.94);-webkit-transform-origin:center;transform-origin:center;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;height:100%;justify-content:center}._h_6lse3_2 ._b_6lse3_65 div[data-active]{flex:1;text-align:center;position:relative;z-index:1}._h_6lse3_2 ._b_6lse3_65 div[data-active=true]{color:var(--tg-theme-button-color)}._h_6lse3_2 ._b_6lse3_65 span{padding-top:2px;font-size:10px;font-weight:400}._h_6lse3_2 ._b_6lse3_65 ._a_6lse3_103{position:absolute;top:0;bottom:0;left:0;width:calc(100% / var(--count-options));border-radius:inherit;box-shadow:var(--tab-bar-actual-shadow);--tab-bar-translate-x: calc(var(--tab-bar-actual-index) * 100%);-webkit-transform:translateX(var(--tab-bar-translate-x));transform:translate(var(--tab-bar-translate-x));-webkit-transform-origin:0 0;transform-origin:0 0;border-radius:var(--tab-bar-actual-radius);background:var(--tab-bar-actual-color);background-color:color-mix(in srgb,var(--c-glass) 36%,transparent);-webkit-transition:-webkit-transform .5s cubic-bezier(.34,1.56,.64,1),transform .5s cubic-bezier(.34,1.56,.64,1),background-color .4s cubic-bezier(.25,.46,.45,.94),box-shadow .4s cubic-bezier(.25,.46,.45,.94);transition:transform .5s cubic-bezier(.34,1.56,.64,1),background-color .4s cubic-bezier(.25,.46,.45,.94),box-shadow .4s cubic-bezier(.25,.46,.45,.94);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 10%),transparent),inset 2px 1px 0 -1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 90%),transparent),inset -1.5px -1px 0 -1px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 80%),transparent),inset -2px -6px 1px -5px color-mix(in srgb,var(--c-light) calc(var(--glass-reflex-light) * 60%),transparent),inset -1px 2px 3px -1px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 20%),transparent),inset 0 -4px 1px -2px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 10%),transparent),0 3px 6px color-mix(in srgb,var(--c-dark) calc(var(--glass-reflex-dark) * 8%),transparent)}@keyframes _draw_6lse3_1{to{stroke-dashoffset:0}}._h_6lse3_2 [data-active=true] path{stroke-dasharray:60;stroke-dashoffset:60;animation:_draw_6lse3_1 1s ease-in-out forwards}._h_6lse3_2[data-scale=true] ._a_6lse3_103{-webkit-transition:background-color .4s cubic-bezier(.25,.46,.45,.94),box-shadow .4s cubic-bezier(.25,.46,.45,.94),-webkit-transform .5s cubic-bezier(.34,1.56,.64,1),transform .5s cubic-bezier(.34,1.56,.64,1);transition:background-color .4s cubic-bezier(.25,.46,.45,.94),box-shadow .4s cubic-bezier(.25,.46,.45,.94),transform .5s cubic-bezier(.34,1.56,.64,1);-webkit-transform:translateX(var(--tab-bar-translate-x));transform:translate(var(--tab-bar-translate-x));will-change:transform}._h_6lse3_2[data-scale=true][data-direction=left] ._a_6lse3_103{-webkit-animation:_scaleToggleLeft_6lse3_1 .5s cubic-bezier(.34,1.56,.64,1);animation:_scaleToggleLeft_6lse3_1 .5s cubic-bezier(.34,1.56,.64,1);-webkit-transform-origin:right center;transform-origin:right center}._h_6lse3_2[data-scale=true][data-direction=right] ._a_6lse3_103{-webkit-animation:_scaleToggleRight_6lse3_1 .5s cubic-bezier(.34,1.56,.64,1);animation:_scaleToggleRight_6lse3_1 .5s cubic-bezier(.34,1.56,.64,1);-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes _scaleToggleRight_6lse3_1{0%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}30%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.08);transform:translate(var(--tab-bar-translate-x)) scaleX(1.08)}60%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.12);transform:translate(var(--tab-bar-translate-x)) scaleX(1.12)}85%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(.98);transform:translate(var(--tab-bar-translate-x)) scaleX(.98)}to{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@keyframes _scaleToggleRight_6lse3_1{0%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}30%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.08);transform:translate(var(--tab-bar-translate-x)) scaleX(1.08)}60%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.12);transform:translate(var(--tab-bar-translate-x)) scaleX(1.12)}85%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(.98);transform:translate(var(--tab-bar-translate-x)) scaleX(.98)}to{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@-webkit-keyframes _scaleToggleLeft_6lse3_1{0%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}30%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.08);transform:translate(var(--tab-bar-translate-x)) scaleX(1.08)}60%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.12);transform:translate(var(--tab-bar-translate-x)) scaleX(1.12)}85%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(.98);transform:translate(var(--tab-bar-translate-x)) scaleX(.98)}to{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}@keyframes _scaleToggleLeft_6lse3_1{0%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}30%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.08);transform:translate(var(--tab-bar-translate-x)) scaleX(1.08)}60%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1.12);transform:translate(var(--tab-bar-translate-x)) scaleX(1.12)}85%{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(.98);transform:translate(var(--tab-bar-translate-x)) scaleX(.98)}to{-webkit-transform:translateX(var(--tab-bar-translate-x)) scaleX(1);transform:translate(var(--tab-bar-translate-x)) scaleX(1)}}._b_r6m8n_1{position:absolute;inset:var(--tg-badge-inset, 0px 0px auto auto);color:var(--tg-badge-color, #ffffff);border-radius:var(--tg-badge-border-radius, 50%);transform:var(--tg-badge-transform, translate(50%, -50%));background:var(--tg-badge-background, #ff0000);padding:var(--tg-badge-padding, 5px);font-size:var(--tg-badge-font-size, 14px);font-weight:var(--tg-badge-font-weight, 700);line-height:var(--tg-badge-line-height, 1);letter-spacing:var(--tg-badge-letter-spacing, 0)}._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_l7xl0_3{overflow:scroll;width:100%;max-width:var(--tg-max-width);height:var(--tg-scroll-height);max-height:var(--tg-scroll-height);padding-top:var(--tg-modal-offset-top, 0px);padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px));margin:0 auto}._s_l7xl0_3._n_l7xl0_14{padding-left:var(--scroll-padding, 7px);padding-right:var(--scroll-padding, 7px)}._b_l7xl0_19{position:fixed;top:0;right:0;bottom:0;width:7px;z-index:1;background:var(--tg-theme-bg-color)}._s_l7xl0_3._f_l7xl0_29{position:fixed;top:0;right:0;bottom:0;left:0;padding-bottom:calc(var(--tg-safe-area-inset-bottom) + var(--tg-content-safe-area-inset-bottom, 0px) + var(--tg-offset-bottom, 0px));padding-top:calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top, 0px));height:100dvh;max-height:100dvh}._a_prp23_1{display:flex;align-items:center;justify-content:center;padding:10px 0;gap:16px;margin-bottom:10px}._a_prp23_1 b{font-size:18px;font-weight:600}._a_prp23_1._l_prp23_13{justify-content:flex-start}._a_prp23_1._r_prp23_16{justify-content:flex-end}._a_prp23_1._b_prp23_19{justify-content:space-between}
|
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(Yt);var ft={exports:{}},Re={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var
|
|
10
|
+
*/var Vt;function dr(){if(Vt)return Re;Vt=1;var t=k,r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function d(p,u,m){var _,v={},w=null,j=null;m!==void 0&&(w=""+m),u.key!==void 0&&(w=""+u.key),u.ref!==void 0&&(j=u.ref);for(_ in u)s.call(u,_)&&!c.hasOwnProperty(_)&&(v[_]=u[_]);if(p&&p.defaultProps)for(_ in u=p.defaultProps,u)v[_]===void 0&&(v[_]=u[_]);return{$$typeof:r,type:p,key:w,ref:j,props:v,_owner:i.current}}return Re.Fragment=n,Re.jsx=d,Re.jsxs=d,Re}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 Ht;function pr(){return Ht||(Ht=1,process.env.NODE_ENV!=="production"&&function(){var t=
|
|
19
|
-
`+pe+e}}var ge=!1,ee;{var yt=typeof WeakMap=="function"?WeakMap:Map;ee=new yt}function Ue(e,a){if(!e||ge)return"";{var
|
|
20
|
-
`),O=
|
|
18
|
+
*/var Ht;function pr(){return Ht||(Ht=1,process.env.NODE_ENV!=="production"&&function(){var t=k,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),p=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),B=Symbol.iterator,ue="@@iterator";function $e(e){if(e===null||typeof e!="object")return null;var a=B&&e[B]||e[ue];return typeof a=="function"?a:null}var P=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var a=arguments.length,o=new Array(a>1?a-1:0),f=1;f<a;f++)o[f-1]=arguments[f];we("error",e,o)}}function we(e,a,o){{var f=P.ReactDebugCurrentFrame,h=f.getStackAddendum();h!==""&&(a+="%s",o=o.concat([h]));var y=o.map(function(b){return String(b)});y.unshift("Warning: "+a),Function.prototype.apply.call(console[e],console,y)}}var Te=!1,J=!1,Se=!1,Ee=!1,je=!1,C;C=Symbol.for("react.module.reference");function _t(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===c||je||e===i||e===m||e===_||Ee||e===j||Te||J||Se||typeof e=="object"&&e!==null&&(e.$$typeof===w||e.$$typeof===v||e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===C||e.getModuleId!==void 0))}function ht(e,a,o){var f=e.displayName;if(f)return f;var h=a.displayName||a.name||"";return h!==""?o+"("+h+")":o}function Pe(e){return e.displayName||"Context"}function z(e){if(e==null)return null;if(typeof e.tag=="number"&&R("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 s:return"Fragment";case n:return"Portal";case c:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case _:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case p:var a=e;return Pe(a)+".Consumer";case d:var o=e;return Pe(o._context)+".Provider";case u:return ht(e,e.render,"ForwardRef");case v:var f=e.displayName||null;return f!==null?f:z(e.type)||"Memo";case w:{var h=e,y=h._payload,b=h._init;try{return z(b(y))}catch{return null}}}return null}var I=Object.assign,q=0,Ce,ze,Me,Ne,Be,Ie,Le;function De(){}De.__reactDisabledLog=!0;function vt(){{if(q===0){Ce=console.log,ze=console.info,Me=console.warn,Ne=console.error,Be=console.group,Ie=console.groupCollapsed,Le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:De,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}q++}}function xt(){{if(q--,q===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:Ce}),info:I({},e,{value:ze}),warn:I({},e,{value:Me}),error:I({},e,{value:Ne}),group:I({},e,{value:Be}),groupCollapsed:I({},e,{value:Ie}),groupEnd:I({},e,{value:Le})})}q<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var de=P.ReactCurrentDispatcher,pe;function Q(e,a,o){{if(pe===void 0)try{throw Error()}catch(h){var f=h.stack.trim().match(/\n( *(at )?)/);pe=f&&f[1]||""}return`
|
|
19
|
+
`+pe+e}}var ge=!1,ee;{var yt=typeof WeakMap=="function"?WeakMap:Map;ee=new yt}function Ue(e,a){if(!e||ge)return"";{var o=ee.get(e);if(o!==void 0)return o}var f;ge=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=de.current,de.current=null,vt();try{if(a){var b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[])}catch($){f=$}Reflect.construct(e,[],b)}else{try{b.call()}catch($){f=$}e.call(b.prototype)}}else{try{throw Error()}catch($){f=$}e()}}catch($){if($&&f&&typeof $.stack=="string"){for(var g=$.stack.split(`
|
|
20
|
+
`),O=f.stack.split(`
|
|
21
21
|
`),S=g.length-1,E=O.length-1;S>=1&&E>=0&&g[S]!==O[E];)E--;for(;S>=1&&E>=0;S--,E--)if(g[S]!==O[E]){if(S!==1||E!==1)do if(S--,E--,E<0||g[S]!==O[E]){var T=`
|
|
22
|
-
`+g[S].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&ee.set(e,T),T}while(S>=1&&E>=0);break}}}finally{ge=!1,de.current=y,xt(),Error.prepareStackTrace=
|
|
22
|
+
`+g[S].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&ee.set(e,T),T}while(S>=1&&E>=0);break}}}finally{ge=!1,de.current=y,xt(),Error.prepareStackTrace=h}var X=e?e.displayName||e.name:"",L=X?Q(X):"";return typeof e=="function"&&ee.set(e,L),L}function kt(e,a,o){return Ue(e,!1)}function wt(e){var a=e.prototype;return!!(a&&a.isReactComponent)}function te(e,a,o){if(e==null)return"";if(typeof e=="function")return Ue(e,wt(e));if(typeof e=="string")return Q(e);switch(e){case m:return Q("Suspense");case _:return Q("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return kt(e.render);case v:return te(e.type,a,o);case w:{var f=e,h=f._payload,y=f._init;try{return te(y(h),a,o)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,Fe={},Xe=P.ReactDebugCurrentFrame;function re(e){if(e){var a=e._owner,o=te(e.type,e._source,a?a.type:null);Xe.setExtraStackFrame(o)}else Xe.setExtraStackFrame(null)}function St(e,a,o,f,h){{var y=Function.call.bind(Y);for(var b in e)if(y(e,b)){var g=void 0;try{if(typeof e[b]!="function"){var O=Error((f||"React class")+": "+o+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw O.name="Invariant Violation",O}g=e[b](a,b,f,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(S){g=S}g&&!(g instanceof Error)&&(re(h),R("%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).",f||"React class",o,b,typeof g),re(null)),g instanceof Error&&!(g.message in Fe)&&(Fe[g.message]=!0,re(h),R("Failed %s type: %s",o,g.message),re(null))}}}var Et=Array.isArray;function be(e){return Et(e)}function jt(e){{var a=typeof Symbol=="function"&&Symbol.toStringTag,o=a&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o}}function Rt(e){try{return We(e),!1}catch{return!0}}function We(e){return""+e}function qe(e){if(Rt(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(e)),We(e)}var Ye=P.ReactCurrentOwner,At={key:!0,ref:!0,__self:!0,__source:!0},Ve,He;function Ot(e){if(Y.call(e,"ref")){var a=Object.getOwnPropertyDescriptor(e,"ref").get;if(a&&a.isReactWarning)return!1}return e.ref!==void 0}function $t(e){if(Y.call(e,"key")){var a=Object.getOwnPropertyDescriptor(e,"key").get;if(a&&a.isReactWarning)return!1}return e.key!==void 0}function Tt(e,a){typeof e.ref=="string"&&Ye.current}function Pt(e,a){{var o=function(){Ve||(Ve=!0,R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}}function Ct(e,a){{var o=function(){He||(He=!0,R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}}var zt=function(e,a,o,f,h,y,b){var g={$$typeof:r,type:e,key:a,ref:o,props:b,_owner:y};return g._store={},Object.defineProperty(g._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(g,"_self",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.defineProperty(g,"_source",{configurable:!1,enumerable:!1,writable:!1,value:h}),Object.freeze&&(Object.freeze(g.props),Object.freeze(g)),g};function Mt(e,a,o,f,h){{var y,b={},g=null,O=null;o!==void 0&&(qe(o),g=""+o),$t(a)&&(qe(a.key),g=""+a.key),Ot(a)&&(O=a.ref,Tt(a,h));for(y in a)Y.call(a,y)&&!At.hasOwnProperty(y)&&(b[y]=a[y]);if(e&&e.defaultProps){var S=e.defaultProps;for(y in S)b[y]===void 0&&(b[y]=S[y])}if(g||O){var E=typeof e=="function"?e.displayName||e.name||"Unknown":e;g&&Pt(b,E),O&&Ct(b,E)}return zt(e,g,O,h,f,Ye.current,b)}}var me=P.ReactCurrentOwner,Je=P.ReactDebugCurrentFrame;function F(e){if(e){var a=e._owner,o=te(e.type,e._source,a?a.type:null);Je.setExtraStackFrame(o)}else Je.setExtraStackFrame(null)}var _e;_e=!1;function he(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Ke(){{if(me.current){var e=z(me.current.type);if(e)return`
|
|
23
23
|
|
|
24
|
-
Check the render method of \``+e+"`."}return""}}function
|
|
24
|
+
Check the render method of \``+e+"`."}return""}}function Nt(e){return""}var Ge={};function Bt(e){{var a=Ke();if(!a){var o=typeof e=="string"?e:e.displayName||e.name;o&&(a=`
|
|
25
25
|
|
|
26
|
-
Check the top-level render call using <`+
|
|
26
|
+
Check the top-level render call using <`+o+">.")}return a}}function Ze(e,a){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=Bt(a);if(Ge[o])return;Ge[o]=!0;var f="";e&&e._owner&&e._owner!==me.current&&(f=" It was passed a child from "+z(e._owner.type)+"."),F(e),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,f),F(null)}}function Qe(e,a){{if(typeof e!="object")return;if(be(e))for(var o=0;o<e.length;o++){var f=e[o];he(f)&&Ze(f,a)}else if(he(e))e._store&&(e._store.validated=!0);else if(e){var h=$e(e);if(typeof h=="function"&&h!==e.entries)for(var y=h.call(e),b;!(b=y.next()).done;)he(b.value)&&Ze(b.value,a)}}}function It(e){{var a=e.type;if(a==null||typeof a=="string")return;var o;if(typeof a=="function")o=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===u||a.$$typeof===v))o=a.propTypes;else return;if(o){var f=z(a);St(o,e.props,"prop",f,e)}else if(a.PropTypes!==void 0&&!_e){_e=!0;var h=z(a);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",h||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Lt(e){{for(var a=Object.keys(e.props),o=0;o<a.length;o++){var f=a[o];if(f!=="children"&&f!=="key"){F(e),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f),F(null);break}}e.ref!==null&&(F(e),R("Invalid attribute `ref` supplied to `React.Fragment`."),F(null))}}var et={};function tt(e,a,o,f,h,y){{var b=_t(e);if(!b){var g="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O=Nt();O?g+=O:g+=Ke();var S;e===null?S="null":be(e)?S="array":e!==void 0&&e.$$typeof===r?(S="<"+(z(e.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,g)}var E=Mt(e,a,o,h,y);if(E==null)return E;if(b){var T=a.children;if(T!==void 0)if(f)if(be(T)){for(var X=0;X<T.length;X++)Qe(T[X],e);Object.freeze&&Object.freeze(T)}else R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Qe(T,e)}if(Y.call(a,"key")){var L=z(e),$=Object.keys(a).filter(function(qt){return qt!=="key"}),ve=$.length>0?"{key: someKey, "+$.join(": ..., ")+": ...}":"{key: someKey}";if(!et[L+ve]){var Wt=$.length>0?"{"+$.join(": ..., ")+": ...}":"{}";R(`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} />`,ve,
|
|
31
|
+
<%s key={someKey} {...props} />`,ve,L,Wt,L),et[L+ve]=!0}}return e===s?Lt(E):It(E),E}}function Dt(e,a,o){return tt(e,a,o,!0)}function Ut(e,a,o){return tt(e,a,o,!1)}var Ft=Ut,Xt=Dt;Ae.Fragment=s,Ae.jsx=Ft,Ae.jsxs=Xt}()),Ae}process.env.NODE_ENV==="production"?ft.exports=dr():ft.exports=pr();var l=ft.exports;const xe={o:"_o_1apbm_11",x:"_x_1apbm_24",p:"_p_1apbm_28",m:"_m_1apbm_45"};let U={};var ut;(t=>{function r({children:p,onCallbackModal:u,nameModal:m,offsetTop:_}){const[v,w]=k.useState(!1),[j,B]=k.useState(!1);if(U[m].onClose=()=>{x.default.BackButton(!1),B(!0),setTimeout(()=>{w(!1),B(!1),u==null||u(),U.x(m)},300)},k.useEffect(()=>{v?U[m].onClose():(x.default.BackButton({callback:()=>U[m].onClose()}),w(!0))},[]),!!v)return l.jsx("div",{className:se(xe.o,j&&xe.x),children:l.jsx("div",{className:se(xe.p,j&&xe.x,_?xe.o:xe.m),children:p})})}t.Content=r;function n({import_modules:p}){let[u,m]=k.useState([]);return U.x=_=>{m(_?u.filter(v=>v.key!==_):[])},k.useEffect(()=>{p&&(U.i=p)},[]),U.add=(_,v=Date.now())=>{m([...u,{key:v,item:_}])},l.jsx(l.Fragment,{children:u.map(_=>_.item)})}t.Init=n;function s(p,u,m){U.add(l.jsx(r,{onCallbackModal:U["callback_modal"+u],nameModal:u||"",offsetTop:m,children:p},String(Date.now())),u)}t.Add=s;function i(p,u=Date.now().toString(),m){return U[u]={},{Open:w=>{t.Add(l.jsx(p,{...w,onCallbackModal:j=>{var B;(B=w.callback)==null||B.call(w,j)},nameModal:u},new Date().getTime()),u,m===void 0?!0:m)}}}t.Create=i;function c(p){U[p].onClose()}t.Close=c;function d(p,u,m,_){U.i&&(_&&(m.callback=_),U.i(`${p}/modals/${u}.tsx`).then(v=>{var w;v.Open?v.Open(m):(w=v.default)!=null&&w.Open?v.default.Open(m):v.default&&v.default(m)}))}t.Open=d})(ut||(ut={}));function Jt(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}const Kt={key:"Y0zt37HgOx-BY7SQjYVmrqhPkO41Ii2Jcb9yydUDPf6",iterations:7,saltLength:16};function Gt(t){const r=Jt();r.CRYPTO_PARAMS?r.CRYPTO_PARAMS={...r.CRYPTO_PARAMS,...t}:r.CRYPTO_PARAMS={...Kt,...t}}function rt(){return Jt().CRYPTO_PARAMS||Kt}const at=t=>{let r=0;for(let s=0;s<t.length;s++){const i=t.charCodeAt(s);r=(r<<5)-r+i,r=r&r}r=Math.abs(r);let n="";for(let s=0;s<64;s++){const i=(r^s*197)&255;n+=i.toString(16).padStart(2,"0")}return n},Zt=(t,r)=>{let n=t+r;for(let i=0;i<rt().iterations;i++)n=at(n);const s=new Uint8Array(32);for(let i=0;i<32;i++)s[i]=parseInt(n.substring(i*2,i*2+2),16);return s},Qt=(t,r)=>{const n=new Uint8Array(t.length),s=new Uint8Array(t.length);let i=0;for(let c=0;c<t.length;c++){const d=c%r.length;i=r[d]+c+i&255,s[c]=i}for(let c=0;c<t.length;c++)n[c]=t[c]^s[c];return n},gr=t=>new TextEncoder().encode(t),br=t=>new TextDecoder().decode(t),mr=t=>{let r="";for(let n=0;n<t.length;n+=8192){const s=t.slice(n,Math.min(n+8192,t.length));r+=String.fromCharCode.apply(null,Array.from(s))}return btoa(r)},_r=t=>{const r=atob(t),n=new Uint8Array(r.length);for(let s=0;s<r.length;s++)n[s]=r.charCodeAt(s);return n},hr=t=>{try{const r=at(Date.now().toString()+Math.random()).substring(0,rt().saltLength*2),n=at(t+r).substring(0,8),s=Zt(rt().key,r),i=gr(t),c=Qt(i,s),d=mr(c);return`${r}.${d}.${n}`}catch{throw new Error("Не удалось зашифровать данные")}},vr=t=>{try{const r=t.split(".");if(r.length!==3)throw new Error("Неверный формат зашифрованных данных");const n=r[0],s=r[1],i=r[2],c=Zt(rt().key,n),d=_r(s),p=Qt(d,c),u=br(p);if(at(u+n).substring(0,8)!==i)throw new Error("Контрольная сумма не совпадает");return u}catch{return""}};var ae;(t=>{t.setKey=r=>{Gt({key:r})},t.enCode=r=>{try{const n=JSON.stringify(r);return hr(n)}catch{throw new Error("Не удалось зашифровать объект")}},t.deCode=r=>{try{if(!r||r.length<10)return!1;const n=vr(r);return n&&JSON.parse(n)||!1}catch{return!1}},t.setSecurityParams=(r,n)=>{Gt({iterations:r,saltLength:n})}})(ae||(ae={}));var Oe={};/**
|
|
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 er;function xr(){if(er)return Oe;er=1;var t=
|
|
39
|
+
*/var er;function xr(){if(er)return Oe;er=1;var t=k,r=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function d(p,u,m){var _,v={},w=null,j=null;m!==void 0&&(w=""+m),u.key!==void 0&&(w=""+u.key),u.ref!==void 0&&(j=u.ref);for(_ in u)s.call(u,_)&&!c.hasOwnProperty(_)&&(v[_]=u[_]);if(p&&p.defaultProps)for(_ in u=p.defaultProps,u)v[_]===void 0&&(v[_]=u[_]);return{$$typeof:r,type:p,key:w,ref:j,props:v,_owner:i.current}}return Oe.Fragment=n,Oe.jsx=d,Oe.jsxs=d,Oe}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 tr;function yr(){return tr||(tr=1,process.env.NODE_ENV!=="production"&&function(){var t=
|
|
48
|
-
`+pe+e}}var ge=!1,ee;{var yt=typeof WeakMap=="function"?WeakMap:Map;ee=new yt}function Ue(e,a){if(!e||ge)return"";{var
|
|
49
|
-
`),O=
|
|
47
|
+
*/var tr;function yr(){return tr||(tr=1,process.env.NODE_ENV!=="production"&&function(){var t=k,r=Symbol.for("react.element"),n=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),d=Symbol.for("react.provider"),p=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),j=Symbol.for("react.offscreen"),B=Symbol.iterator,ue="@@iterator";function $e(e){if(e===null||typeof e!="object")return null;var a=B&&e[B]||e[ue];return typeof a=="function"?a:null}var P=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(e){{for(var a=arguments.length,o=new Array(a>1?a-1:0),f=1;f<a;f++)o[f-1]=arguments[f];we("error",e,o)}}function we(e,a,o){{var f=P.ReactDebugCurrentFrame,h=f.getStackAddendum();h!==""&&(a+="%s",o=o.concat([h]));var y=o.map(function(b){return String(b)});y.unshift("Warning: "+a),Function.prototype.apply.call(console[e],console,y)}}var Te=!1,J=!1,Se=!1,Ee=!1,je=!1,C;C=Symbol.for("react.module.reference");function _t(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===c||je||e===i||e===m||e===_||Ee||e===j||Te||J||Se||typeof e=="object"&&e!==null&&(e.$$typeof===w||e.$$typeof===v||e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===C||e.getModuleId!==void 0))}function ht(e,a,o){var f=e.displayName;if(f)return f;var h=a.displayName||a.name||"";return h!==""?o+"("+h+")":o}function Pe(e){return e.displayName||"Context"}function z(e){if(e==null)return null;if(typeof e.tag=="number"&&R("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 s:return"Fragment";case n:return"Portal";case c:return"Profiler";case i:return"StrictMode";case m:return"Suspense";case _:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case p:var a=e;return Pe(a)+".Consumer";case d:var o=e;return Pe(o._context)+".Provider";case u:return ht(e,e.render,"ForwardRef");case v:var f=e.displayName||null;return f!==null?f:z(e.type)||"Memo";case w:{var h=e,y=h._payload,b=h._init;try{return z(b(y))}catch{return null}}}return null}var I=Object.assign,q=0,Ce,ze,Me,Ne,Be,Ie,Le;function De(){}De.__reactDisabledLog=!0;function vt(){{if(q===0){Ce=console.log,ze=console.info,Me=console.warn,Ne=console.error,Be=console.group,Ie=console.groupCollapsed,Le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:De,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}q++}}function xt(){{if(q--,q===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:Ce}),info:I({},e,{value:ze}),warn:I({},e,{value:Me}),error:I({},e,{value:Ne}),group:I({},e,{value:Be}),groupCollapsed:I({},e,{value:Ie}),groupEnd:I({},e,{value:Le})})}q<0&&R("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var de=P.ReactCurrentDispatcher,pe;function Q(e,a,o){{if(pe===void 0)try{throw Error()}catch(h){var f=h.stack.trim().match(/\n( *(at )?)/);pe=f&&f[1]||""}return`
|
|
48
|
+
`+pe+e}}var ge=!1,ee;{var yt=typeof WeakMap=="function"?WeakMap:Map;ee=new yt}function Ue(e,a){if(!e||ge)return"";{var o=ee.get(e);if(o!==void 0)return o}var f;ge=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=de.current,de.current=null,vt();try{if(a){var b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[])}catch($){f=$}Reflect.construct(e,[],b)}else{try{b.call()}catch($){f=$}e.call(b.prototype)}}else{try{throw Error()}catch($){f=$}e()}}catch($){if($&&f&&typeof $.stack=="string"){for(var g=$.stack.split(`
|
|
49
|
+
`),O=f.stack.split(`
|
|
50
50
|
`),S=g.length-1,E=O.length-1;S>=1&&E>=0&&g[S]!==O[E];)E--;for(;S>=1&&E>=0;S--,E--)if(g[S]!==O[E]){if(S!==1||E!==1)do if(S--,E--,E<0||g[S]!==O[E]){var T=`
|
|
51
|
-
`+g[S].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&ee.set(e,T),T}while(S>=1&&E>=0);break}}}finally{ge=!1,de.current=y,xt(),Error.prepareStackTrace=
|
|
51
|
+
`+g[S].replace(" at new "," at ");return e.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",e.displayName)),typeof e=="function"&&ee.set(e,T),T}while(S>=1&&E>=0);break}}}finally{ge=!1,de.current=y,xt(),Error.prepareStackTrace=h}var X=e?e.displayName||e.name:"",L=X?Q(X):"";return typeof e=="function"&&ee.set(e,L),L}function kt(e,a,o){return Ue(e,!1)}function wt(e){var a=e.prototype;return!!(a&&a.isReactComponent)}function te(e,a,o){if(e==null)return"";if(typeof e=="function")return Ue(e,wt(e));if(typeof e=="string")return Q(e);switch(e){case m:return Q("Suspense");case _:return Q("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case u:return kt(e.render);case v:return te(e.type,a,o);case w:{var f=e,h=f._payload,y=f._init;try{return te(y(h),a,o)}catch{}}}return""}var Y=Object.prototype.hasOwnProperty,Fe={},Xe=P.ReactDebugCurrentFrame;function re(e){if(e){var a=e._owner,o=te(e.type,e._source,a?a.type:null);Xe.setExtraStackFrame(o)}else Xe.setExtraStackFrame(null)}function St(e,a,o,f,h){{var y=Function.call.bind(Y);for(var b in e)if(y(e,b)){var g=void 0;try{if(typeof e[b]!="function"){var O=Error((f||"React class")+": "+o+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw O.name="Invariant Violation",O}g=e[b](a,b,f,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(S){g=S}g&&!(g instanceof Error)&&(re(h),R("%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).",f||"React class",o,b,typeof g),re(null)),g instanceof Error&&!(g.message in Fe)&&(Fe[g.message]=!0,re(h),R("Failed %s type: %s",o,g.message),re(null))}}}var Et=Array.isArray;function be(e){return Et(e)}function jt(e){{var a=typeof Symbol=="function"&&Symbol.toStringTag,o=a&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o}}function Rt(e){try{return We(e),!1}catch{return!0}}function We(e){return""+e}function qe(e){if(Rt(e))return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",jt(e)),We(e)}var Ye=P.ReactCurrentOwner,At={key:!0,ref:!0,__self:!0,__source:!0},Ve,He;function Ot(e){if(Y.call(e,"ref")){var a=Object.getOwnPropertyDescriptor(e,"ref").get;if(a&&a.isReactWarning)return!1}return e.ref!==void 0}function $t(e){if(Y.call(e,"key")){var a=Object.getOwnPropertyDescriptor(e,"key").get;if(a&&a.isReactWarning)return!1}return e.key!==void 0}function Tt(e,a){typeof e.ref=="string"&&Ye.current}function Pt(e,a){{var o=function(){Ve||(Ve=!0,R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}}function Ct(e,a){{var o=function(){He||(He=!0,R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",a))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}}var zt=function(e,a,o,f,h,y,b){var g={$$typeof:r,type:e,key:a,ref:o,props:b,_owner:y};return g._store={},Object.defineProperty(g._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(g,"_self",{configurable:!1,enumerable:!1,writable:!1,value:f}),Object.defineProperty(g,"_source",{configurable:!1,enumerable:!1,writable:!1,value:h}),Object.freeze&&(Object.freeze(g.props),Object.freeze(g)),g};function Mt(e,a,o,f,h){{var y,b={},g=null,O=null;o!==void 0&&(qe(o),g=""+o),$t(a)&&(qe(a.key),g=""+a.key),Ot(a)&&(O=a.ref,Tt(a));for(y in a)Y.call(a,y)&&!At.hasOwnProperty(y)&&(b[y]=a[y]);if(e&&e.defaultProps){var S=e.defaultProps;for(y in S)b[y]===void 0&&(b[y]=S[y])}if(g||O){var E=typeof e=="function"?e.displayName||e.name||"Unknown":e;g&&Pt(b,E),O&&Ct(b,E)}return zt(e,g,O,h,f,Ye.current,b)}}var me=P.ReactCurrentOwner,Je=P.ReactDebugCurrentFrame;function F(e){if(e){var a=e._owner,o=te(e.type,e._source,a?a.type:null);Je.setExtraStackFrame(o)}else Je.setExtraStackFrame(null)}var _e;_e=!1;function he(e){return typeof e=="object"&&e!==null&&e.$$typeof===r}function Ke(){{if(me.current){var e=z(me.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 Nt(e){return""}var Ge={};function Bt(e){{var a=Ke();if(!a){var o=typeof e=="string"?e:e.displayName||e.name;o&&(a=`
|
|
54
54
|
|
|
55
|
-
Check the top-level render call using <`+
|
|
55
|
+
Check the top-level render call using <`+o+">.")}return a}}function Ze(e,a){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=Bt(a);if(Ge[o])return;Ge[o]=!0;var f="";e&&e._owner&&e._owner!==me.current&&(f=" It was passed a child from "+z(e._owner.type)+"."),F(e),R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,f),F(null)}}function Qe(e,a){{if(typeof e!="object")return;if(be(e))for(var o=0;o<e.length;o++){var f=e[o];he(f)&&Ze(f,a)}else if(he(e))e._store&&(e._store.validated=!0);else if(e){var h=$e(e);if(typeof h=="function"&&h!==e.entries)for(var y=h.call(e),b;!(b=y.next()).done;)he(b.value)&&Ze(b.value,a)}}}function It(e){{var a=e.type;if(a==null||typeof a=="string")return;var o;if(typeof a=="function")o=a.propTypes;else if(typeof a=="object"&&(a.$$typeof===u||a.$$typeof===v))o=a.propTypes;else return;if(o){var f=z(a);St(o,e.props,"prop",f,e)}else if(a.PropTypes!==void 0&&!_e){_e=!0;var h=z(a);R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",h||"Unknown")}typeof a.getDefaultProps=="function"&&!a.getDefaultProps.isReactClassApproved&&R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Lt(e){{for(var a=Object.keys(e.props),o=0;o<a.length;o++){var f=a[o];if(f!=="children"&&f!=="key"){F(e),R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",f),F(null);break}}e.ref!==null&&(F(e),R("Invalid attribute `ref` supplied to `React.Fragment`."),F(null))}}var et={};function tt(e,a,o,f,h,y){{var b=_t(e);if(!b){var g="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O=Nt();O?g+=O:g+=Ke();var S;e===null?S="null":be(e)?S="array":e!==void 0&&e.$$typeof===r?(S="<"+(z(e.type)||"Unknown")+" />",g=" Did you accidentally export a JSX literal instead of a component?"):S=typeof e,R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",S,g)}var E=Mt(e,a,o,h,y);if(E==null)return E;if(b){var T=a.children;if(T!==void 0)if(f)if(be(T)){for(var X=0;X<T.length;X++)Qe(T[X],e);Object.freeze&&Object.freeze(T)}else R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Qe(T,e)}if(Y.call(a,"key")){var L=z(e),$=Object.keys(a).filter(function(qt){return qt!=="key"}),ve=$.length>0?"{key: someKey, "+$.join(": ..., ")+": ...}":"{key: someKey}";if(!et[L+ve]){var Wt=$.length>0?"{"+$.join(": ..., ")+": ...}":"{}";R(`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} />`,ve,z,qt,z),et[z+ve]=!0}}return e===i?zt(E):Lt(E),E}}function Dt(e,a,n){return tt(e,a,n,!0)}function Ut(e,a,n){return tt(e,a,n,!1)}var Ft=Ut,Wt=Dt;ot.Fragment=i,ot.jsx=Ft,ot.jsxs=Wt}()),ot}process.env.NODE_ENV==="production"?xr():yr();const wr="0.0.46",rr={version:wr},K={},D={module:"",v:rr.version,page:"Main",auth:"Auth",STORAGE:"f",LISTENER:{},debug:!1,tab:"",id:0,dir:".",fileExtension:".tsx",prev:{page:"",module:"",tab:"",id:0}};function X(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}X().elcrm||(X().elcrm={}),Object.assign(X().elcrm,{router:rr.version});function H(t){var r,o,i,s;const c=X();if(c.ROUTER_PARAMS){t.debug||c.ROUTER_PARAMS.debug;const d={page:(r=c.ROUTER_PARAMS)==null?void 0:r.page,module:(o=c.ROUTER_PARAMS)==null?void 0:o.module,tab:(i=c.ROUTER_PARAMS)==null?void 0:i.tab,id:(s=c.ROUTER_PARAMS)==null?void 0:s.id};c.ROUTER_PARAMS={...c.ROUTER_PARAMS,...t,prev:d}}else{t.debug||D.debug;const d={page:D==null?void 0:D.page,module:D==null?void 0:D.module,tab:D==null?void 0:D.tab,id:D==null?void 0:D.id};c.ROUTER_PARAMS={...D,...t,prev:d}}}function A(){return X().ROUTER_PARAMS||D}function se(t){const r=X();r.ROUTER_PARAMS||(r.ROUTER_PARAMS={...D}),r.ROUTER_PARAMS.LISTENER||(r.ROUTER_PARAMS.LISTENER={}),Object.keys(t).forEach(o=>{r.ROUTER_PARAMS.LISTENER[o]||(r.ROUTER_PARAMS.LISTENER[o]=[]),Array.isArray(r.ROUTER_PARAMS.LISTENER[o])||(r.ROUTER_PARAMS.LISTENER[o]=[r.ROUTER_PARAMS.LISTENER[o]]),r.ROUTER_PARAMS.LISTENER[o].includes(t[o])||r.ROUTER_PARAMS.LISTENER[o].push(t[o])})}function q(){var t;const r=X();let o=((t=r.ROUTER_PARAMS)==null?void 0:t.LISTENER)||D.LISTENER;return o||(o={},r.ROUTER_PARAMS?r.ROUTER_PARAMS.LISTENER=o:D.LISTENER=o),new Proxy(o,{get(i,s){const c=i[s];return Array.isArray(c)&&c.length>0?(...d)=>{c.forEach(p=>{if(typeof p=="function")try{p(...d)}catch{}})}:c==null?()=>{}:typeof c=="function"?c:()=>{}}})}function ar(t,r){const o=t.replace(/^\.\//,"").replace(/\.(tsx|ts|jsx|js)$/,"");for(const[i,s]of Object.entries(r))if(i.replace(/^\.\//,"").replace(/\.(tsx|ts|jsx|js)$/,"")===o)return s;return null}function dt(t){const{basePath:r=".",devExtensions:o=[".tsx",".ts",".jsx",".js"],prodExtension:i=".js"}=t||{};return s=>{const c=s.replace(/\.(tsx|ts|jsx|js)$/,"");if(r===".")return import(`./${c.replace(/^\.\//,"").replace(/\/+/g,"/")}.js`);{const d=r.replace(/^\.\//,"").replace(/\/+$/,""),p=c.replace(/^\.\//,"").replace(/\/+/g,"/");return import(`./${d}/${p}.js`)}}}function kr(t){const{basePath:r=".",modules:o,pages:i}=t||{};return s=>{if(o){const d=ar(s,o);if(d)return d()}if(i){const d=ar(s,i);if(d)return d()}const c=s.replace(/\.(tsx|ts|jsx|js)$/,"");if(r===".")return import(`./${c.replace(/^\.\//,"").replace(/\/+/g,"/")}.js`);{const d=r.replace(/^\.\//,"").replace(/\/+$/,""),p=c.replace(/^\.\//,"").replace(/\/+/g,"/");return import(`./${d}/${p}.js`)}}}function or(t=".",r,o){return r||o?kr({basePath:t,modules:r,pages:o}):dt({basePath:t})}function Sr(){var t;let r=sessionStorage.getItem("f");if(r){if(r=ae.deCode(r),!r)return!1;H({id:r.id,tab:r.tab,page:r.page,module:r.module,time:r.time,payment:{active:!0},module_admin:r.module_admin})}else H({id:0,tab:"",page:(t=localStorage.getItem("d"))!=null&&t.length?A().page:A().auth,module:A().module});return!0}function nr(){return A().page}function ir(){return A().module||""}function pt(){return A().tab}function sr(){return A().id}function Er(t){let r=s=>(H({page:s}),s);const[o,i]=w.useState(nr()||t&&r(t)||A().page);return w.useEffect(()=>{const s=c=>{i(c)};return se({page:s}),()=>{var c,d;const p=X();if((d=(c=p.ROUTER_PARAMS)==null?void 0:c.LISTENER)!=null&&d.page){const f=p.ROUTER_PARAMS.LISTENER.page;if(Array.isArray(f)){const h=f.indexOf(s);h>-1&&f.splice(h,1)}}}},[]),o}function jr(t,r=!0,o={}){H({page:t,...o}),sessionStorage.setItem(A().STORAGE,ae.enCode(A())),r&&q().page(t)}function Rr(t){return A().page===t}function Ar(){return A().prev}function Or(t,r){const[o,i]=w.useState(ir()||t||A().module);return w.useEffect(()=>(se({module:i}),()=>{const s=q();s.module===i&&delete s.module}),[]),o}function $r(t,r=!0){H({module:t}),sessionStorage.setItem(A().STORAGE,ae.enCode(A())),r&&q().module(t)}function Tr(t){return A().module===t}function Pr(t,r){if(typeof t!="function"){const[o,i]=w.useState(!r),[s,c]=w.useState(t||pt());return se({tabs:c}),r&&w.useEffect(()=>{i(!0)},[]),[s,o]}else se({tabs:t})}function Cr(t){let r=s=>(H({tab:s}),s);const[o,i]=w.useState(pt()||t&&r(t)||A().tab);return w.useEffect(()=>{const s=c=>{i(c)};return se({tabs:s}),()=>{var c,d;const p=X();if((d=(c=p.ROUTER_PARAMS)==null?void 0:c.LISTENER)!=null&&d.tabs){const f=p.ROUTER_PARAMS.LISTENER.tabs;if(Array.isArray(f)){const h=f.indexOf(s);h>-1&&f.splice(h,1)}}}},[]),o}async function Mr(t,r=!0){H({tab:t}),sessionStorage.setItem(A().STORAGE,ae.enCode(A())),r&&(q().tabs&&q().tabs(t))}function Nr(t){return A().tab===t}function Br(t){if(typeof t!="function"){const[r,o]=w.useState(t||sr());return w.useEffect(()=>{const i=s=>{o(s)};return se({id:i}),()=>{const s=q();s.id===i&&delete s.id}},[]),r}else w.useEffect(()=>(se({id:t}),()=>{var r,o;const i=X();if((o=(r=i.ROUTER_PARAMS)==null?void 0:r.LISTENER)!=null&&o.id){const s=i.ROUTER_PARAMS.LISTENER.id;if(Array.isArray(s)){const c=s.indexOf(t);c>-1&&s.splice(c,1)}}}),[t])}function Ir(t){}async function Lr(t,r=!0){H({id:t}),sessionStorage.setItem(A().STORAGE,ae.enCode(A())),r&&q().id(t)}function zr(t){return Number(A().id)===t}async function Dr(t){var r,o,i,s,c,d,p,f;const{page:h,module:b,tab:v,id:k}=t;h!==void 0&&(K.page=h),b!==void 0&&(K.module=b),v!==void 0&&(K.tab=v),k!==void 0&&(K.id=k),H({...K}),k!==void 0&&((o=(r=q()).id)==null||o.call(r,k)),v!==void 0&&((s=(i=q()).tabs)==null||s.call(i,v)),b!==void 0&&((d=(c=q()).module)==null||d.call(c,b)),h!==void 0&&((f=(p=q()).page)==null||f.call(p,h)),sessionStorage.setItem(A().STORAGE,ae.enCode(A()))}const ye={Reset(){K.id=0,K.tab="",K.page=A().page,K.module=A().module},Default({module:t=A().module,page:r=A().page,auth:o=A().auth,debug:i=A().debug,dir:s=A().dir||".",importModules:c,modules:d,pages:p,glob:f}){let h=c,b=d,v=p;f?(b=typeof d=="object"?d:f,v=typeof p=="object"?p:f):(b=b||f,v=v||f),!h&&(b||v)?!f&&(typeof b=="string"||typeof v=="string")?h=dt({basePath:s}):h=or(s,b,v):h||(h=dt({basePath:s})),H({page:r,module:t,auth:o,debug:i,dir:s,importModules:h}),Sr()},createImportModules:or,getImportModules:()=>A().importModules,usePage:Er,setPage:jr,getPage:nr,isPage:Rr,getBack:Ar,useModule:Or,setModule:$r,getModule:ir,isModule:Tr,useTabs:Pr,useTab:Cr,setTabs:Mr,getTabs:pt,isTabs:Nr,useId:Br,subId:Ir,setId:Lr,getId:sr,isId:zr,navigate:Dr},le={n:"_n_zlj3m_1",i:"_i_zlj3m_10",t:"_t_zlj3m_28",e:"_e_zlj3m_32",s:"_s_zlj3m_35",w:"_w_zlj3m_38",h:"_h_zlj3m_41"};let nt={};function Ur(){const[t,r]=w.useState([]);return nt.set=o=>{r([...t,o])},nt.del=o=>{t.forEach((i,s)=>{i.key===o&&t.splice(s,1)}),r(t)},t.length===0?l.jsx(l.Fragment,{}):l.jsx("div",{className:le.n,children:t.map(o=>o.item)})}function Fr(t){let r=new Date().getTime();t.key=r,nt.set({item:l.jsx(Wr,{data:t},r),key:r})}function Wr(t){const r=t.data;let[o]=w.useState("show"),[i,s]=w.useState(!1);w.useEffect(()=>{setTimeout(function(){s(!0),nt.del(r.key)},5e3)},[r.key]);let c;switch(r.type){case"error":c=l.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":c=l.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":c=l.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:c="icon fa fa-exclamation-circle";break}const d={error:le.e,success:le.s,warning:le.w};return l.jsx(l.Fragment,{children:i?l.jsx(l.Fragment,{}):l.jsxs("div",{className:le.i+d[r.type]+` ${r.thema!==void 0?le.h:""}`,"data-status":o,children:[l.jsx("svg",{type:"solid",fill:"currentColor",stroke:"none",strokeWidth:"0",width:"24",height:"24",viewBox:"0 0 24 24",children:c}),l.jsx("span",{className:le.t,children:r.text})]})})}let ce={Send:Fr,Init:Ur};const oe={d:"_d_1u25q_1",b:"_b_1u25q_21",o:"_o_1u25q_25",m:"_m_1u25q_30",t:"_t_1u25q_41",a:"_a_1u25q_108",v:"_v_1u25q_118"},ne={is:!1,MainButton:{},BackButton:{}};let N={};N.dark={"--tg-color-scheme":"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"},N.light={"--tg-color-scheme":"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"},N.users={"--tg-color-scheme":"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 qr=()=>{if(location.hostname==="localhost"){let[t,r]=w.useState(!1),[o,i]=w.useState(!1),[s,c]=w.useState("dark"),[d,p]=w.useState(!1),[f,h]=w.useState(!1);ne.is=!0,ne.MainButton.set=r,ne.BackButton.set=i,w.useEffect(()=>{var k;N[s]["--tg-theme-bg-color-alpha"]=N[s]["--tg-theme-bg-color"]+"b3",N[s]["--tg-theme-secondary-bg-color-alpha"]=N[s]["--tg-theme-secondary-bg-color"]+"d3",N[s]["--tg-theme-bg-color-alpha-25"]=N[s]["--tg-theme-bg-color"]+"40",N[s]["--tg-theme-secondary-bg-color-alpha-25"]=N[s]["--tg-theme-secondary-bg-color"]+"40";for(let j in N[s])document.documentElement.style.setProperty(j,N[s][j]);((k=Z.safeAreaInset)==null?void 0:k.bottom)===0?document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px"):Z.safeAreaInset||document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]);let b=k=>{for(let j in N[k])document.documentElement.style.setProperty(j,N[k][j]),document.documentElement.setAttribute("data-color-scheme",k);c(k),p(!1)},v=()=>{p(!1),h(!0)};return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:oe.d,children:[o===!1?l.jsx("div",{className:oe.b,children:"Отмена"}):l.jsx("div",{onClick:()=>{var k;o.page===void 0?(k=o.callback)==null||k.call(o):ye.setPage(o.page)},className:oe.b,children:"Назад"}),l.jsx("div",{className:oe.o,onClick:()=>p(!d),children:"Меню"})]}),l.jsx(ce.Init,{}),t&&l.jsx("div",{className:oe.m,children:l.jsx("button",{onClick:()=>{t.page&&ye.setPage(t.page),t.callback&&t.callback()},children:t.text})}),d?l.jsxs("div",{className:oe.t,children:[l.jsxs("ul",{children:[l.jsx("li",{children:l.jsx("button",{onClick:v,children:"Authorization"})}),l.jsx("li",{})]}),l.jsxs("ul",{children:[l.jsxs("li",{children:[l.jsx("button",{children:"Thema"}),l.jsxs("ol",{children:[l.jsx("li",{children:l.jsx("button",{onClick:()=>b("dark"),children:"Dark"})}),l.jsx("li",{children:l.jsx("button",{onClick:()=>b("light"),children:"Light"})}),l.jsx("li",{children:l.jsx("button",{onClick:()=>b("users"),children:"Users"})})]})]}),l.jsx("li",{children:l.jsx("button",{onClick:()=>p(!d),children:"Closed"})})]})]}):"",f?l.jsx(Yr,{setAuthorization:h}):""]})}else return w.useEffect(()=>{var t;document.documentElement.style.setProperty("--tg-theme-secondary-bg-color-alpha",Z.themeParams.secondary_bg_color+"d3"),document.documentElement.style.setProperty("--tg-theme-bg-color-alpha",Z.themeParams.bg_color+"b3"),((t=Z.safeAreaInset)==null?void 0:t.bottom)===0?document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px"):Z.safeAreaInset||document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]),l.jsx(l.Fragment,{children:l.jsx(ce.Init,{})})},Yr=({setAuthorization:t})=>{let r={},o=()=>{localStorage.setItem("auth",r)};return l.jsx("div",{className:oe.a,children:l.jsxs("div",{className:oe.v,children:[l.jsx("fieldset",{}),l.jsx("div",{onClick:o,children:" Сохранить "})]})})},lr={p:"_p_1axqy_1",s:"_s_1axqy_17"},Vr=({className:t,children:r,isScroll:o=!0})=>l.jsx("div",{className:[lr.p,o&&lr.s,t].filter(i=>i!==void 0).join(" "),children:r}),Xr={l:"_l_gfyud_1"},Hr=({children:t,className:r})=>l.jsx("div",{className:[Xr.l,r].filter(o=>o!==void 0).join(" "),children:t}),ue={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"},Jr=({items:t})=>{const r=i=>{ye.setPage(i)},o=i=>{Z.openTelegramLink(i)};return l.jsx("div",{className:ue.m,children:t.map(i=>l.jsx("div",{className:ue.g,children:i.items.map((s,c)=>l.jsxs("div",{className:ue.i,onClick:()=>{s.link&&o(s.link),s.page&&r(s.page),s.callback&&s.callback()},children:[l.jsxs("div",{className:ue.c,children:[l.jsx("span",{className:ue.l,style:{background:s.color},children:s.icon}),s.title,s.count&&l.jsx("span",{className:ue.n,children:s.count})]}),l.jsx("span",{className:ue.a,children:"›"})]},c))},i.id))})},G={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"},it={};function Kr({children:t,icon:r,iconBadge:o=0,title:i,className:s,view:c="list",position:d="left",name:p="default"}){const[f,h]=w.useState(!1),[b,v]=w.useState(null);w.useEffect(()=>{let j=document.querySelector(".p_sb");return j||(j=document.createElement("div"),j.className="_p_sb",document.body.appendChild(j)),v(j),it[p]=I=>h(I),()=>{j&&j.parentNode&&j.parentNode.removeChild(j)}},[]);const k=l.jsxs(l.Fragment,{children:[f&&l.jsx("div",{className:G.o,onClick:()=>h(!1)}),l.jsxs("div",{className:ie(G.m,d==="left"?G.l:G.r,f&&G.x,s),children:[l.jsxs("div",{className:G.h,children:[i&&l.jsx("h3",{className:G.t,children:i}),l.jsxs("svg",{onClick:()=>h(!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:[l.jsx("path",{d:"M17.25 17.25 6.75 6.75"}),l.jsx("path",{d:"m17.25 6.75-10.5 10.5"})]})]}),l.jsx("div",{className:G.c,children:c==="list"?l.jsx("ul",{className:G.u,children:t}):t})]})]});return l.jsxs(l.Fragment,{children:[r&&l.jsx("div",{onClick:()=>h(!0),className:"bage","data-count":o,children:r}),b&&fr.createPortal(k,b)]})}const Gr=(t,r)=>{var o;(o=it[t])==null||o.call(it,r)};let gt=()=>{};const cr=({children:t,title:r,isOverlay:o=!0,footer:i=!0,className:s,onOpen:c,name:d})=>{const[p,f]=w.useState(!1);return l.jsx("div",{className:`footer-menu-overlay ${o?"is-overlay":""} ${p?"closing":""} `,onClick:gt,children:l.jsxs("div",{className:`footer-menu-popup-book ${p?"closing":""} ${s||""} ${i?"footer":""}`,onClick:h=>h.stopPropagation(),children:[l.jsxs("div",{className:"footer-menu-header",children:[l.jsx("h3",{children:r}),l.jsx("button",{className:"footer-menu-close-btn",onClick:gt,children:"✕"})]}),t]})})},we={h:"_h_1w0w0_2",r:"_r_1w0w0_53",c:"_c_1w0w0_56",x:"_x_1w0w0_59",b:"_b_1w0w0_63",a:"_a_1w0w0_99",draw:"_draw_1w0w0_1",scaleToggleLeft:"_scaleToggleLeft_1w0w0_1",scaleToggleRight:"_scaleToggleRight_1w0w0_1"},Zr={b:"_b_r6m8n_1"},Qr=({className:t,value:r})=>l.jsx("div",{className:[Zr.b,t].filter(o=>o!==void 0).join(" "),children:r}),ea=(t,r)=>t.findIndex(o=>(o==null?void 0:o.page)===r),ta=({actions:t,children:r,className:o,actual:i,toHide:s=!1,page:c,style:d="default",onPageChange:p,direction:f="row"})=>{const[h,b]=w.useState(null),[v,k]=w.useState(c?ea(t||[],c):0),[j,I]=w.useState("right"),fe=w.useRef(v);w.useEffect(()=>{fe.current!==v&&(I(v>fe.current?"left":"right"),fe.current=v)},[v]),w.useEffect(()=>{if(!s)return;const Se=document.querySelectorAll("[contenteditable]"),Ee=()=>{const C=document.querySelector("footer");C&&C.classList.remove(we.x)},je=()=>{const C=document.querySelector("footer");C&&C.classList.add(we.x)};return Se.forEach(C=>{C.addEventListener("focus",je,!0),C.addEventListener("blur",Ee,!0)}),()=>{Se.forEach(C=>{C.removeEventListener("focus",je,!0),C.removeEventListener("blur",Ee,!0)})}},[]);const[$e,P]=w.useState(!1),R=()=>{P(!0)},ke=()=>{P(!1)},Te=()=>{P(!1)},J={};return d==="liquid-glass"&&(J.onMouseDown=R,J.onMouseUp=ke,J.onMouseLeave=Te,J.onTouchStart=R,J.onTouchEnd=ke),l.jsxs(l.Fragment,{children:[h,l.jsxs("footer",{"data-direction":j,"data-style":d,"data-scale":$e?"true":"false",...J,className:ie(we.h,we[f==="row"?"r":"c"],o),children:[r,t&&l.jsx(ra,{actions:t,activeIndex:v,setActiveIndex:k,onPageChange:p,setComponent:b,actual:i})]})]})},ra=({actions:t,activeIndex:r,setActiveIndex:o,onPageChange:i,setComponent:s,actual:c})=>l.jsxs("div",{className:we.b,children:[t.map((d,p)=>l.jsxs("div",{"data-active":r===p?"true":"false",onClick:()=>{d.page&&(o(p),i==null||i(d.page)),d.onClick&&d.onClick(()=>o(p)),d.component&&(r===p||(s(d.component),o(p)))},children:[d.icon,d.title&&l.jsx("span",{children:d.title}),d.badge&&l.jsx(Qr,{value:d.badge})]},p)),c&&l.jsx("div",{className:we.a,style:{"--count-options":t.length,"--tab-bar-actual-index":r}})]}),st={w:"_w_yx04q_3",v:"_v_yx04q_24",s:"_s_yx04q_34",n:"_n_yx04q_38"},_t={};function aa({children:t,name:r,onClose:o,isOpen:i,isScroll:s=!0,nextBackButton:c}){const[d,p]=w.useState(!1);return w.useEffect(()=>{if(!i)return;const f=c===void 0?ur().pop():c,h=()=>{p(!1),setTimeout(()=>{ht(f||!1),o==null||o()},300)};_t[r]={onClose:h,onOpen:()=>{p(!0)}},ht({callback:h});const b=setTimeout(()=>{p(!0)},10);return()=>{clearTimeout(b)}},[i]),i?l.jsxs("div",{className:ie(st.w,d&&st.v,s&&st.s),children:[l.jsx("div",{className:st.n}),t]}):""}const oa=(t,r)=>{var o,i;r?(o=_t[t])==null||o.onOpen():(i=_t[t])==null||i.onClose()},lt={s:"_s_l7xl0_3",n:"_n_l7xl0_14",b:"_b_l7xl0_19",f:"_f_l7xl0_29"};function na({className:t,children:r,onScrollEnd:o,offset:i=100,isLoading:s,fullscreen:c=!1,isScrollBar:d=!1}){const[p,f]=w.useState(s||!1);w.useEffect(()=>{f(s||!1)},[s]);let h={onScroll:b=>{const{scrollTop:v,scrollHeight:k,clientHeight:j}=b.currentTarget;v+j>=k-i&&!p&&(f(!0),o==null||o())}};return l.jsxs(l.Fragment,{children:[!d&&l.jsx("div",{className:lt.b}),l.jsx("div",{...h,className:ie(lt.s,!d&<.n,c&<.f,t),children:r})]})}const ct={a:"_a_prp23_1",l:"_l_prp23_13",r:"_r_prp23_16",b:"_b_prp23_19"};function ia({children:t,className:r,position:o="center",title:i}){let s="";return o==="left"?s=ct.l:o==="right"?s=ct.r:o==="between"&&(s=ct.b),l.jsxs("div",{className:ie(ct.a,s,r),children:[t,i&&l.jsx("b",{children:i})]})}const B={state:[!1],listen:[],prev:{},router:t=>{t===!1?(x.default.WebApp.BackButton.isVisible=!1,x.default.WebApp.BackButton.offClick(B.listen[0]),B.listen.shift(),B.state.length!==1&&B.state.pop()):(x.default.WebApp.BackButton.isVisible=!0,x.default.WebApp.BackButton.offClick(B.listen[0]),B.listen.shift(),B.listen.push(()=>{var o;let r=B.state.pop();B.prev=ye.getPage(),r.page!==void 0?ye.setPage(r.page):(o=r.callback)==null||o.call(r)}),Z.BackButton.onClick(B.listen[0]))}},ie=(...t)=>t.filter(r=>r!==void 0&&r!==!1&&r!==null&&r!=="").join(" ");x.default=void 0,(t=>{var r;t.WebApp=typeof window<"u"&&((r=window.Telegram)==null?void 0:r.WebApp)||{},t.getUser=()=>{var o;return((o=t.WebApp.initDataUnsafe)==null?void 0:o.user)===void 0?{}:t.WebApp.initDataUnsafe},t.Location=o=>{if(ne.is)return o({latitude:55.752555,longitude:37.623123});let i=()=>{t.WebApp.LocationManager.getLocation(async s=>{if(!s){t.WebApp.LocationManager.isAccessRequested||t.WebApp.LocationManager.openSettings();return}o(s)})};!t.WebApp.LocationManager||!t.WebApp.LocationManager.isInited?t.WebApp.LocationManager.init(()=>{i()}):i()},t.Notice={Send:(o,i,s)=>{var c,d;i!==void 0?(ce.Send({type:o,text:i,thema:s}),(c=t.WebApp.HapticFeedback)==null||c.notificationOccurred(o)):(ce.Send(o),(d=t.WebApp.HapticFeedback)==null||d.notificationOccurred(o.type))},Error:o=>{var i;ce.Send({type:"error",text:o}),(i=t.WebApp.HapticFeedback)==null||i.notificationOccurred("error")},Success:o=>{var i;ce.Send({type:"success",text:o}),(i=t.WebApp.HapticFeedback)==null||i.notificationOccurred("success")},Warning:o=>{var i;ce.Send({type:"warning",text:o}),(i=t.WebApp.HapticFeedback)==null||i.notificationOccurred("warning")}},t.Header=qr,t.TabBar=ta,t.BottomSheet=cr,t.toggleBottomSheet=gt,t.SafeArea=Vr,t.Loading=Hr,t.Sidebar=Kr,t.SidePanel=aa,t.AppBar=ia,t.SideBarController=Gr,t.SidePanelController=oa,t.Scroll=na,t.Modal=ft,t.Menu=Jr,t.MainButton={callback:[],set:o=>{ne.is?ne.MainButton.set(o):(t.WebApp.MainButton.callback.forEach(i=>{t.WebApp.MainButton.offClick(i)}),t.WebApp.MainButton.callback=[],typeof o=="boolean"?t.WebApp.MainButton.isVisible=!1:(t.WebApp.MainButton.text=o.text,o.color&&(t.WebApp.MainButton.color=o.color),o.textColor&&(t.WebApp.MainButton.textColor=o.textColor),t.WebApp.MainButton.isVisible=!0,t.WebApp.MainButton.isActive=o.isActive===void 0?!0:o.isActive,t.WebApp.MainButton.callback.push(()=>{var i;o.page===void 0?(i=o.callback)==null||i.call(o):ye.setPage(o.page)}),t.WebApp.MainButton.onClick(t.WebApp.MainButton.callback[0])))}},t.BackButtonPrev=()=>{B.prev&&(0,t.BackButton)(B.prev)},t.BackButtonState=()=>B.state,t.BackButton=o=>{ne.is?ne.BackButton.set(o):(B.state.push(o),B.router(o))}})(x.default||(x.default={}));const sa=x.default.TabBar,la=cr,ht=x.default.BackButton,ca=x.default.BackButtonPrev,ur=x.default.BackButtonState,ua=x.default.Notice,fa=x.default.SafeArea,da=x.default.Loading,pa=x.default.Menu,ga=x.default.SidePanel,_a=x.default.Scroll,ha=x.default.AppBar,ba=x.default.Sidebar,ma=x.default.Location,va=x.default.SidePanelController,xa=x.default.SideBarController,{Header:ya,toggleBottomSheet:wa,Modal:ka,MainButton:Sa,WebApp:Z,getUser:Ea}=x.default;x.AppBar=ha,x.BackButton=ht,x.BackButtonPrev=ca,x.BackButtonState=ur,x.BottomSheet=la,x.Header=ya,x.Loading=da,x.Location=ma,x.MainButton=Sa,x.Menu=pa,x.Modal=ka,x.Notice=ua,x.SafeArea=fa,x.Scroll=_a,x.SideBarController=xa,x.SidePanel=ga,x.SidePanelController=va,x.Sidebar=ba,x.TabBar=sa,x.WebApp=Z,x.clsx=ie,x.getUser=Ea,x.toggleBottomSheet=wa,Object.defineProperties(x,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
60
|
+
<%s key={someKey} {...props} />`,ve,L,Wt,L),et[L+ve]=!0}}return e===s?Lt(E):It(E),E}}function Dt(e,a,o){return tt(e,a,o,!0)}function Ut(e,a,o){return tt(e,a,o,!1)}var Ft=Ut,Xt=Dt;nt.Fragment=s,nt.jsx=Ft,nt.jsxs=Xt}()),nt}process.env.NODE_ENV==="production"?xr():yr();const kr="0.0.46",rr={version:kr},K={},D={module:"",v:rr.version,page:"Main",auth:"Auth",STORAGE:"f",LISTENER:{},debug:!1,tab:"",id:0,dir:".",fileExtension:".tsx",prev:{page:"",module:"",tab:"",id:0}};function V(){return typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:typeof global<"u"?global:{}}V().elcrm||(V().elcrm={}),Object.assign(V().elcrm,{router:rr.version});function H(t){var r,n,s,i;const c=V();if(c.ROUTER_PARAMS){t.debug||c.ROUTER_PARAMS.debug;const d={page:(r=c.ROUTER_PARAMS)==null?void 0:r.page,module:(n=c.ROUTER_PARAMS)==null?void 0:n.module,tab:(s=c.ROUTER_PARAMS)==null?void 0:s.tab,id:(i=c.ROUTER_PARAMS)==null?void 0:i.id};c.ROUTER_PARAMS={...c.ROUTER_PARAMS,...t,prev:d}}else{t.debug||D.debug;const d={page:D==null?void 0:D.page,module:D==null?void 0:D.module,tab:D==null?void 0:D.tab,id:D==null?void 0:D.id};c.ROUTER_PARAMS={...D,...t,prev:d}}}function A(){return V().ROUTER_PARAMS||D}function ie(t){const r=V();r.ROUTER_PARAMS||(r.ROUTER_PARAMS={...D}),r.ROUTER_PARAMS.LISTENER||(r.ROUTER_PARAMS.LISTENER={}),Object.keys(t).forEach(n=>{r.ROUTER_PARAMS.LISTENER[n]||(r.ROUTER_PARAMS.LISTENER[n]=[]),Array.isArray(r.ROUTER_PARAMS.LISTENER[n])||(r.ROUTER_PARAMS.LISTENER[n]=[r.ROUTER_PARAMS.LISTENER[n]]),r.ROUTER_PARAMS.LISTENER[n].includes(t[n])||r.ROUTER_PARAMS.LISTENER[n].push(t[n])})}function W(){var t;const r=V();let n=((t=r.ROUTER_PARAMS)==null?void 0:t.LISTENER)||D.LISTENER;return n||(n={},r.ROUTER_PARAMS?r.ROUTER_PARAMS.LISTENER=n:D.LISTENER=n),new Proxy(n,{get(s,i){const c=s[i];return Array.isArray(c)&&c.length>0?(...d)=>{c.forEach(p=>{if(typeof p=="function")try{p(...d)}catch{}})}:c==null?()=>{}:typeof c=="function"?c:()=>{}}})}function ar(t,r){const n=t.replace(/^\.\//,"").replace(/\.(tsx|ts|jsx|js)$/,"");for(const[s,i]of Object.entries(r))if(s.replace(/^\.\//,"").replace(/\.(tsx|ts|jsx|js)$/,"")===n)return i;return null}function dt(t){const{basePath:r=".",devExtensions:n=[".tsx",".ts",".jsx",".js"],prodExtension:s=".js"}=t||{};return i=>{const c=i.replace(/\.(tsx|ts|jsx|js)$/,"");if(r===".")return import(`./${c.replace(/^\.\//,"").replace(/\/+/g,"/")}.js`);{const d=r.replace(/^\.\//,"").replace(/\/+$/,""),p=c.replace(/^\.\//,"").replace(/\/+/g,"/");return import(`./${d}/${p}.js`)}}}function wr(t){const{basePath:r=".",modules:n,pages:s}=t||{};return i=>{if(n){const d=ar(i,n);if(d)return d()}if(s){const d=ar(i,s);if(d)return d()}const c=i.replace(/\.(tsx|ts|jsx|js)$/,"");if(r===".")return import(`./${c.replace(/^\.\//,"").replace(/\/+/g,"/")}.js`);{const d=r.replace(/^\.\//,"").replace(/\/+$/,""),p=c.replace(/^\.\//,"").replace(/\/+/g,"/");return import(`./${d}/${p}.js`)}}}function nr(t=".",r,n){return r||n?wr({basePath:t,modules:r,pages:n}):dt({basePath:t})}function Sr(){var t;let r=sessionStorage.getItem("f");if(r){if(r=ae.deCode(r),!r)return!1;H({id:r.id,tab:r.tab,page:r.page,module:r.module,time:r.time,payment:{active:!0},module_admin:r.module_admin})}else H({id:0,tab:"",page:(t=localStorage.getItem("d"))!=null&&t.length?A().page:A().auth,module:A().module});return!0}function or(){return A().page}function sr(){return A().module||""}function pt(){return A().tab}function ir(){return A().id}function Er(t){let r=i=>(H({page:i}),i);const[n,s]=k.useState(or()||t&&r(t)||A().page);return k.useEffect(()=>{const i=c=>{s(c)};return ie({page:i}),()=>{var c,d;const p=V();if((d=(c=p.ROUTER_PARAMS)==null?void 0:c.LISTENER)!=null&&d.page){const u=p.ROUTER_PARAMS.LISTENER.page;if(Array.isArray(u)){const m=u.indexOf(i);m>-1&&u.splice(m,1)}}}},[]),n}function jr(t,r=!0,n={}){H({page:t,...n}),sessionStorage.setItem(A().STORAGE,ae.enCode(A())),r&&W().page(t)}function Rr(t){return A().page===t}function Ar(){return A().prev}function Or(t,r){const[n,s]=k.useState(sr()||t||A().module);return k.useEffect(()=>(ie({module:s}),()=>{const i=W();i.module===s&&delete i.module}),[]),n}function $r(t,r=!0){H({module:t}),sessionStorage.setItem(A().STORAGE,ae.enCode(A())),r&&W().module(t)}function Tr(t){return A().module===t}function Pr(t,r){if(typeof t!="function"){const[n,s]=k.useState(!r),[i,c]=k.useState(t||pt());return ie({tabs:c}),r&&k.useEffect(()=>{s(!0)},[]),[i,n]}else ie({tabs:t})}function Cr(t){let r=i=>(H({tab:i}),i);const[n,s]=k.useState(pt()||t&&r(t)||A().tab);return k.useEffect(()=>{const i=c=>{s(c)};return ie({tabs:i}),()=>{var c,d;const p=V();if((d=(c=p.ROUTER_PARAMS)==null?void 0:c.LISTENER)!=null&&d.tabs){const u=p.ROUTER_PARAMS.LISTENER.tabs;if(Array.isArray(u)){const m=u.indexOf(i);m>-1&&u.splice(m,1)}}}},[]),n}async function zr(t,r=!0){H({tab:t}),sessionStorage.setItem(A().STORAGE,ae.enCode(A())),r&&(W().tabs&&W().tabs(t))}function Mr(t){return A().tab===t}function Nr(t){if(typeof t!="function"){const[r,n]=k.useState(t||ir());return k.useEffect(()=>{const s=i=>{n(i)};return ie({id:s}),()=>{const i=W();i.id===s&&delete i.id}},[]),r}else k.useEffect(()=>(ie({id:t}),()=>{var r,n;const s=V();if((n=(r=s.ROUTER_PARAMS)==null?void 0:r.LISTENER)!=null&&n.id){const i=s.ROUTER_PARAMS.LISTENER.id;if(Array.isArray(i)){const c=i.indexOf(t);c>-1&&i.splice(c,1)}}}),[t])}function Br(t){}async function Ir(t,r=!0){H({id:t}),sessionStorage.setItem(A().STORAGE,ae.enCode(A())),r&&W().id(t)}function Lr(t){return Number(A().id)===t}async function Dr(t){var r,n,s,i,c,d,p,u;const{page:m,module:_,tab:v,id:w}=t;m!==void 0&&(K.page=m),_!==void 0&&(K.module=_),v!==void 0&&(K.tab=v),w!==void 0&&(K.id=w),H({...K}),w!==void 0&&((n=(r=W()).id)==null||n.call(r,w)),v!==void 0&&((i=(s=W()).tabs)==null||i.call(s,v)),_!==void 0&&((d=(c=W()).module)==null||d.call(c,_)),m!==void 0&&((u=(p=W()).page)==null||u.call(p,m)),sessionStorage.setItem(A().STORAGE,ae.enCode(A()))}const ye={Reset(){K.id=0,K.tab="",K.page=A().page,K.module=A().module},Default({module:t=A().module,page:r=A().page,auth:n=A().auth,debug:s=A().debug,dir:i=A().dir||".",importModules:c,modules:d,pages:p,glob:u}){let m=c,_=d,v=p;u?(_=typeof d=="object"?d:u,v=typeof p=="object"?p:u):(_=_||u,v=v||u),!m&&(_||v)?!u&&(typeof _=="string"||typeof v=="string")?m=dt({basePath:i}):m=nr(i,_,v):m||(m=dt({basePath:i})),H({page:r,module:t,auth:n,debug:s,dir:i,importModules:m}),Sr()},createImportModules:nr,getImportModules:()=>A().importModules,usePage:Er,setPage:jr,getPage:or,isPage:Rr,getBack:Ar,useModule:Or,setModule:$r,getModule:sr,isModule:Tr,useTabs:Pr,useTab:Cr,setTabs:zr,getTabs:pt,isTabs:Mr,useId:Nr,subId:Br,setId:Ir,getId:ir,isId:Lr,navigate:Dr},le={n:"_n_zlj3m_1",i:"_i_zlj3m_10",t:"_t_zlj3m_28",e:"_e_zlj3m_32",s:"_s_zlj3m_35",w:"_w_zlj3m_38",h:"_h_zlj3m_41"};let ot={};function Ur(){const[t,r]=k.useState([]);return ot.set=n=>{r([...t,n])},ot.del=n=>{t.forEach((s,i)=>{s.key===n&&t.splice(i,1)}),r(t)},t.length===0?l.jsx(l.Fragment,{}):l.jsx("div",{className:le.n,children:t.map(n=>n.item)})}function Fr(t){let r=new Date().getTime();t.key=r,ot.set({item:l.jsx(Xr,{data:t},r),key:r})}function Xr(t){const r=t.data;let[n]=k.useState("show"),[s,i]=k.useState(!1);k.useEffect(()=>{setTimeout(function(){i(!0),ot.del(r.key)},5e3)},[r.key]);let c;switch(r.type){case"error":c=l.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":c=l.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":c=l.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:c="icon fa fa-exclamation-circle";break}const d={error:le.e,success:le.s,warning:le.w};return l.jsx(l.Fragment,{children:s?l.jsx(l.Fragment,{}):l.jsxs("div",{className:le.i+d[r.type]+` ${r.thema!==void 0?le.h:""}`,"data-status":n,children:[l.jsx("svg",{type:"solid",fill:"currentColor",stroke:"none",strokeWidth:"0",width:"24",height:"24",viewBox:"0 0 24 24",children:c}),l.jsx("span",{className:le.t,children:r.text})]})})}let ce={Send:Fr,Init:Ur};const ne={d:"_d_1u25q_1",b:"_b_1u25q_21",o:"_o_1u25q_25",m:"_m_1u25q_30",t:"_t_1u25q_41",a:"_a_1u25q_108",v:"_v_1u25q_118"},oe={is:!1,MainButton:{},BackButton:{}};let M={};M.dark={"--tg-color-scheme":"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"},M.light={"--tg-color-scheme":"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"},M.users={"--tg-color-scheme":"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 Wr=()=>{if(location.hostname==="localhost"){let[t,r]=k.useState(!1),[n,s]=k.useState(!1),[i,c]=k.useState("dark"),[d,p]=k.useState(!1),[u,m]=k.useState(!1);oe.is=!0,oe.MainButton.set=r,oe.BackButton.set=s,k.useEffect(()=>{var w;M[i]["--tg-theme-bg-color-alpha"]=M[i]["--tg-theme-bg-color"]+"b3",M[i]["--tg-theme-secondary-bg-color-alpha"]=M[i]["--tg-theme-secondary-bg-color"]+"d3",M[i]["--tg-theme-bg-color-alpha-25"]=M[i]["--tg-theme-bg-color"]+"40",M[i]["--tg-theme-secondary-bg-color-alpha-25"]=M[i]["--tg-theme-secondary-bg-color"]+"40";for(let j in M[i])document.documentElement.style.setProperty(j,M[i][j]);((w=Z.safeAreaInset)==null?void 0:w.bottom)===0?document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px"):Z.safeAreaInset||document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]);let _=w=>{for(let j in M[w])document.documentElement.style.setProperty(j,M[w][j]),document.documentElement.setAttribute("data-color-scheme",w);c(w),p(!1)},v=()=>{p(!1),m(!0)};return l.jsxs(l.Fragment,{children:[l.jsxs("div",{className:ne.d,children:[n===!1?l.jsx("div",{className:ne.b,children:"Отмена"}):l.jsx("div",{onClick:()=>{var w;n.page===void 0?(w=n.callback)==null||w.call(n):ye.setPage(n.page)},className:ne.b,children:"Назад"}),l.jsx("div",{className:ne.o,onClick:()=>p(!d),children:"Меню"})]}),l.jsx(ce.Init,{}),t&&l.jsx("div",{className:ne.m,children:l.jsx("button",{onClick:()=>{t.page&&ye.setPage(t.page),t.callback&&t.callback()},children:t.text})}),d?l.jsxs("div",{className:ne.t,children:[l.jsxs("ul",{children:[l.jsx("li",{children:l.jsx("button",{onClick:v,children:"Authorization"})}),l.jsx("li",{})]}),l.jsxs("ul",{children:[l.jsxs("li",{children:[l.jsx("button",{children:"Thema"}),l.jsxs("ol",{children:[l.jsx("li",{children:l.jsx("button",{onClick:()=>_("dark"),children:"Dark"})}),l.jsx("li",{children:l.jsx("button",{onClick:()=>_("light"),children:"Light"})}),l.jsx("li",{children:l.jsx("button",{onClick:()=>_("users"),children:"Users"})})]})]}),l.jsx("li",{children:l.jsx("button",{onClick:()=>p(!d),children:"Closed"})})]})]}):"",u?l.jsx(qr,{setAuthorization:m}):""]})}else return k.useEffect(()=>{var t;document.documentElement.style.setProperty("--tg-theme-secondary-bg-color-alpha",Z.themeParams.secondary_bg_color+"d3"),document.documentElement.style.setProperty("--tg-theme-bg-color-alpha",Z.themeParams.bg_color+"b3"),((t=Z.safeAreaInset)==null?void 0:t.bottom)===0?document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px"):Z.safeAreaInset||document.documentElement.style.setProperty("--tg-safe-area-inset-bottom","16px")},[]),l.jsx(l.Fragment,{children:l.jsx(ce.Init,{})})},qr=({setAuthorization:t})=>{let r={},n=()=>{localStorage.setItem("auth",r)};return l.jsx("div",{className:ne.a,children:l.jsxs("div",{className:ne.v,children:[l.jsx("fieldset",{}),l.jsx("div",{onClick:n,children:" Сохранить "})]})})},lr={p:"_p_1axqy_1",s:"_s_1axqy_17"},Yr=({className:t,children:r,isScroll:n=!0})=>l.jsx("div",{className:[lr.p,n&&lr.s,t].filter(s=>s!==void 0).join(" "),children:r}),Vr={l:"_l_gfyud_1"},Hr=({children:t,className:r})=>l.jsx("div",{className:[Vr.l,r].filter(n=>n!==void 0).join(" "),children:t}),fe={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"},Jr=({items:t})=>{const r=s=>{ye.setPage(s)},n=s=>{Z.openTelegramLink(s)};return l.jsx("div",{className:fe.m,children:t.map(s=>l.jsx("div",{className:fe.g,children:s.items.map((i,c)=>l.jsxs("div",{className:fe.i,onClick:()=>{i.link&&n(i.link),i.page&&r(i.page),i.callback&&i.callback()},children:[l.jsxs("div",{className:fe.c,children:[l.jsx("span",{className:fe.l,style:{background:i.color},children:i.icon}),i.title,i.count&&l.jsx("span",{className:fe.n,children:i.count})]}),l.jsx("span",{className:fe.a,children:"›"})]},c))},s.id))})},G={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"},st={};function Kr({children:t,icon:r,iconBadge:n=0,title:s,className:i,view:c="list",position:d="left",name:p="default"}){const[u,m]=k.useState(!1),[_,v]=k.useState(null);k.useEffect(()=>{let j=document.querySelector(".p_sb");return j||(j=document.createElement("div"),j.className="_p_sb",document.body.appendChild(j)),v(j),st[p]=B=>m(B),()=>{j&&j.parentNode&&j.parentNode.removeChild(j)}},[]);const w=l.jsxs(l.Fragment,{children:[u&&l.jsx("div",{className:G.o,onClick:()=>m(!1)}),l.jsxs("div",{className:se(G.m,d==="left"?G.l:G.r,u&&G.x,i),children:[l.jsxs("div",{className:G.h,children:[s&&l.jsx("h3",{className:G.t,children:s}),l.jsxs("svg",{onClick:()=>m(!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:[l.jsx("path",{d:"M17.25 17.25 6.75 6.75"}),l.jsx("path",{d:"m17.25 6.75-10.5 10.5"})]})]}),l.jsx("div",{className:G.c,children:c==="list"?l.jsx("ul",{className:G.u,children:t}):t})]})]});return l.jsxs(l.Fragment,{children:[r&&l.jsx("div",{onClick:()=>m(!0),className:"bage","data-count":n,children:r}),_&&ur.createPortal(w,_)]})}const Gr=(t,r)=>{var n;(n=st[t])==null||n.call(st,r)};let gt=()=>{};const cr=({children:t,title:r,isOverlay:n=!0,footer:s=!0,className:i,onOpen:c,name:d})=>{const[p,u]=k.useState(!1);return l.jsx("div",{className:`footer-menu-overlay ${n?"is-overlay":""} ${p?"closing":""} `,onClick:gt,children:l.jsxs("div",{className:`footer-menu-popup-book ${p?"closing":""} ${i||""} ${s?"footer":""}`,onClick:m=>m.stopPropagation(),children:[l.jsxs("div",{className:"footer-menu-header",children:[l.jsx("h3",{children:r}),l.jsx("button",{className:"footer-menu-close-btn",onClick:gt,children:"✕"})]}),t]})})},ke={h:"_h_6lse3_2",r:"_r_6lse3_55",c:"_c_6lse3_58",x:"_x_6lse3_61",b:"_b_6lse3_65",a:"_a_6lse3_103",draw:"_draw_6lse3_1",scaleToggleLeft:"_scaleToggleLeft_6lse3_1",scaleToggleRight:"_scaleToggleRight_6lse3_1"},Zr={b:"_b_r6m8n_1"},Qr=({className:t,value:r})=>l.jsx("div",{className:[Zr.b,t].filter(n=>n!==void 0).join(" "),children:r}),ea=(t,r)=>t.findIndex(n=>(n==null?void 0:n.page)===r),ta=({actions:t,children:r,className:n,actual:s,toHide:i=!1,page:c,style:d="default",onPageChange:p,direction:u="row"})=>{const[m,_]=k.useState(null),[v,w]=k.useState(c?ea(t||[],c):0),[j,B]=k.useState("right"),ue=k.useRef(v);k.useEffect(()=>{ue.current!==v&&(B(v>ue.current?"left":"right"),ue.current=v)},[v]),k.useEffect(()=>{if(!i)return;const Se=document.querySelectorAll("[contenteditable]"),Ee=()=>{const C=document.querySelector("footer");C&&C.classList.remove(ke.x)},je=()=>{const C=document.querySelector("footer");C&&C.classList.add(ke.x)};return Se.forEach(C=>{C.addEventListener("focus",je,!0),C.addEventListener("blur",Ee,!0)}),()=>{Se.forEach(C=>{C.removeEventListener("focus",je,!0),C.removeEventListener("blur",Ee,!0)})}},[]);const[$e,P]=k.useState(!1),R=()=>{P(!0)},we=()=>{P(!1)},Te=()=>{P(!1)},J={};return d==="liquid-glass"&&(J.onMouseDown=R,J.onMouseUp=we,J.onMouseLeave=Te,J.onTouchStart=R,J.onTouchEnd=we),l.jsxs(l.Fragment,{children:[m,l.jsxs("footer",{"data-direction":j,"data-style":d,"data-scale":$e?"true":"false",...J,className:se(ke.h,ke[u==="row"?"r":"c"],n),children:[r,t&&l.jsx(ra,{actions:t,activeIndex:v,setActiveIndex:w,onPageChange:p,setComponent:_,actual:s})]})]})},ra=({actions:t,activeIndex:r,setActiveIndex:n,onPageChange:s,setComponent:i,actual:c})=>l.jsxs("div",{className:ke.b,children:[t.map((d,p)=>l.jsxs("div",{"data-active":r===p?"true":"false",onClick:()=>{d.page&&(n(p),s==null||s(d.page)),d.onClick&&d.onClick(()=>n(p)),d.component&&(r===p||(i(d.component),n(p)))},children:[d.icon,d.title&&l.jsx("span",{children:d.title}),d.badge&&l.jsx(Qr,{value:d.badge})]},p)),c&&l.jsx("div",{className:ke.a,style:{"--count-options":t.length,"--tab-bar-actual-index":r}})]}),it={w:"_w_yx04q_3",v:"_v_yx04q_24",s:"_s_yx04q_34",n:"_n_yx04q_38"},bt={};function aa({children:t,name:r,onClose:n,isOpen:s,isScroll:i=!0,nextBackButton:c}){const[d,p]=k.useState(!1);return k.useEffect(()=>{if(!s)return;const u=c===void 0?fr().pop():c,m=()=>{p(!1),setTimeout(()=>{mt(u||!1),n==null||n()},300)};bt[r]={onClose:m,onOpen:()=>{p(!0)}},mt({callback:m});const _=setTimeout(()=>{p(!0)},10);return()=>{clearTimeout(_)}},[s]),s?l.jsxs("div",{className:se(it.w,d&&it.v,i&&it.s),children:[l.jsx("div",{className:it.n}),t]}):""}const na=(t,r)=>{var n,s;r?(n=bt[t])==null||n.onOpen():(s=bt[t])==null||s.onClose()},lt={s:"_s_l7xl0_3",n:"_n_l7xl0_14",b:"_b_l7xl0_19",f:"_f_l7xl0_29"};function oa({className:t,children:r,onScrollEnd:n,offset:s=100,isLoading:i,fullscreen:c=!1,isScrollBar:d=!1}){const[p,u]=k.useState(i||!1);k.useEffect(()=>{u(i||!1)},[i]);let m={onScroll:_=>{const{scrollTop:v,scrollHeight:w,clientHeight:j}=_.currentTarget;v+j>=w-s&&!p&&(u(!0),n==null||n())}};return l.jsxs(l.Fragment,{children:[!d&&l.jsx("div",{className:lt.b}),l.jsx("div",{...m,className:se(lt.s,!d&<.n,c&<.f,t),children:r})]})}const ct={a:"_a_prp23_1",l:"_l_prp23_13",r:"_r_prp23_16",b:"_b_prp23_19"};function sa({children:t,className:r,position:n="center",title:s}){let i="";return n==="left"?i=ct.l:n==="right"?i=ct.r:n==="between"&&(i=ct.b),l.jsxs("div",{className:se(ct.a,i,r),children:[t,s&&l.jsx("b",{children:s})]})}const N={state:[!1],listen:[],prev:{},router:t=>{t===!1?(x.default.WebApp.BackButton.isVisible=!1,x.default.WebApp.BackButton.offClick(N.listen[0]),N.listen.shift(),N.state.length!==1&&N.state.pop()):(x.default.WebApp.BackButton.isVisible=!0,x.default.WebApp.BackButton.offClick(N.listen[0]),N.listen.shift(),N.listen.push(()=>{var n;let r=N.state.pop();N.prev=ye.getPage(),r.page!==void 0?ye.setPage(r.page):(n=r.callback)==null||n.call(r)}),Z.BackButton.onClick(N.listen[0]))}},se=(...t)=>t.filter(r=>r!==void 0&&r!==!1&&r!==null&&r!=="").join(" ");x.default=void 0,(t=>{var r;t.WebApp=typeof window<"u"&&((r=window.Telegram)==null?void 0:r.WebApp)||{},t.getUser=()=>{var n;return((n=t.WebApp.initDataUnsafe)==null?void 0:n.user)===void 0?{}:t.WebApp.initDataUnsafe},t.Location=n=>{if(oe.is)return n({latitude:55.752555,longitude:37.623123});let s=()=>{t.WebApp.LocationManager.getLocation(async i=>{if(!i){t.WebApp.LocationManager.isAccessRequested||t.WebApp.LocationManager.openSettings();return}n(i)})};!t.WebApp.LocationManager||!t.WebApp.LocationManager.isInited?t.WebApp.LocationManager.init(()=>{s()}):s()},t.Notice={Send:(n,s,i)=>{var c,d;s!==void 0?(ce.Send({type:n,text:s,thema:i}),(c=t.WebApp.HapticFeedback)==null||c.notificationOccurred(n)):(ce.Send(n),(d=t.WebApp.HapticFeedback)==null||d.notificationOccurred(n.type))},Error:n=>{var s;ce.Send({type:"error",text:n}),(s=t.WebApp.HapticFeedback)==null||s.notificationOccurred("error")},Success:n=>{var s;ce.Send({type:"success",text:n}),(s=t.WebApp.HapticFeedback)==null||s.notificationOccurred("success")},Warning:n=>{var s;ce.Send({type:"warning",text:n}),(s=t.WebApp.HapticFeedback)==null||s.notificationOccurred("warning")}},t.Header=Wr,t.TabBar=ta,t.BottomSheet=cr,t.toggleBottomSheet=gt,t.SafeArea=Yr,t.Loading=Hr,t.Sidebar=Kr,t.SidePanel=aa,t.AppBar=sa,t.SideBarController=Gr,t.SidePanelController=na,t.Scroll=oa,t.Modal=ut,t.Menu=Jr,t.MainButton={callback:[],set:n=>{oe.is?oe.MainButton.set(n):(t.WebApp.MainButton.callback.forEach(s=>{t.WebApp.MainButton.offClick(s)}),t.WebApp.MainButton.callback=[],typeof n=="boolean"?t.WebApp.MainButton.isVisible=!1:(t.WebApp.MainButton.text=n.text,n.color&&(t.WebApp.MainButton.color=n.color),n.textColor&&(t.WebApp.MainButton.textColor=n.textColor),t.WebApp.MainButton.isVisible=!0,t.WebApp.MainButton.isActive=n.isActive===void 0?!0:n.isActive,t.WebApp.MainButton.callback.push(()=>{var s;n.page===void 0?(s=n.callback)==null||s.call(n):ye.setPage(n.page)}),t.WebApp.MainButton.onClick(t.WebApp.MainButton.callback[0])))}},t.BackButtonPrev=()=>{N.prev&&(0,t.BackButton)(N.prev)},t.BackButtonState=()=>N.state,t.BackButton=n=>{oe.is?oe.BackButton.set(n):(N.state.push(n),N.router(n))}})(x.default||(x.default={}));const ia=x.default.TabBar,la=cr,mt=x.default.BackButton,ca=x.default.BackButtonPrev,fr=x.default.BackButtonState,fa=x.default.Notice,ua=x.default.SafeArea,da=x.default.Loading,pa=x.default.Menu,ga=x.default.SidePanel,ba=x.default.Scroll,ma=x.default.AppBar,_a=x.default.Sidebar,ha=x.default.Location,va=x.default.SidePanelController,xa=x.default.SideBarController,{Header:ya,toggleBottomSheet:ka,Modal:wa,MainButton:Sa,WebApp:Z,getUser:Ea}=x.default;x.AppBar=ma,x.BackButton=mt,x.BackButtonPrev=ca,x.BackButtonState=fr,x.BottomSheet=la,x.Header=ya,x.Loading=da,x.Location=ha,x.MainButton=Sa,x.Menu=pa,x.Modal=wa,x.Notice=fa,x.SafeArea=ua,x.Scroll=ba,x.SideBarController=xa,x.SidePanel=ga,x.SidePanelController=va,x.Sidebar=_a,x.TabBar=ia,x.WebApp=Z,x.clsx=se,x.getUser=Ea,x.toggleBottomSheet=ka,Object.defineProperties(x,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|