This commit is contained in:
Alexander Zinchuk 2023-05-15 11:00:10 +02:00
parent fec2118a02
commit 52a512feb3
63 changed files with 98 additions and 58 deletions

View File

@ -1 +1 @@
10
11

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/3748.384215938594b7a2a83a.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/3748.384215938594b7a2a83a.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/3779.fec4d57a470008c5f04a.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/3779.fec4d57a470008c5f04a.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/5648.5cc871e48c0ada85e6cc.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/5648.5cc871e48c0ada85e6cc.js.map vendored Normal file

File diff suppressed because one or more lines are too long

2
dist/5769.3344b005f66647598645.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/5769.3344b005f66647598645.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/8325.4b8fa983d93e3a12264d.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/8325.4b8fa983d93e3a12264d.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
.VerifiedIcon{display:inline-block;flex-shrink:0;width:1.5rem;height:1.5rem;--color-fill: var(--color-primary);--color-checkmark: #fff}
.FakeIcon{border:1px solid var(--color-error);border-radius:.375rem;color:var(--color-error);font-size:.625rem;padding:.125rem .25rem;line-height:initial;margin-inline:.25rem;font-weight:500;text-transform:capitalize}
.PremiumIcon{flex-shrink:0;display:flex;width:1rem;height:1rem;--color-fill: var(--color-primary)}.PremiumIcon.big{width:1.5rem;height:1.5rem}.PremiumIcon>svg{width:100%;height:100%}.PremiumIcon.clickable{cursor:var(--custom-cursor, pointer);pointer-events:auto}
.ysHMmXALnn0fgFRc7Bn7{display:flex;align-items:center;gap:.25rem}.ysHMmXALnn0fgFRc7Bn7>h3{margin-bottom:0}
.ysHMmXALnn0fgFRc7Bn7{display:flex;align-items:center;gap:.25rem}.ysHMmXALnn0fgFRc7Bn7>h3{margin-bottom:0}.ysHMmXALnn0fgFRc7Bn7 .custom-emoji{color:var(--color-primary)}
.Notification-container{position:relative;width:27rem;max-width:100vw;margin:4.25rem auto .25rem;z-index:var(--z-notification)}.has-header-tools .Notification-container{margin-top:7.375rem}@media(min-width: 1276px){.Notification-container{transition:transform var(--layer-transition)}}.Notification-container~.Notification-container{margin-top:.25rem}.has-header-tools .Notification-container~.Notification-container{margin-top:.25rem}.Notification{background:rgba(32,32,32,.8) url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48Y2lyY2xlIGZpbGw9IiNGRkYiIGN4PSIxMiIgY3k9IjEyIiByPSIxMiIvPjxjaXJjbGUgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIiBjeD0iMTIiIGN5PSI2LjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik0xMiA5LjVjLS41NTIgMC0xIC4zNy0xIC44MjZ2Ny4zNDhjMCAuNDU2LjQ0OC44MjYgMSAuODI2czEtLjM3IDEtLjgyNnYtNy4zNDhjMC0uNDU2LS40NDgtLjgyNi0xLS44MjZ6IiBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L2c+PC9zdmc+) no-repeat .9375rem 50%;background-size:1.5rem;border-radius:var(--border-radius-default);padding:.9375rem .9375rem .9375rem 3.375rem;color:#fff;margin:0 .5rem;display:flex;align-items:center}.Notification .text-entity-link,.Notification .text-entity-link:hover,.Notification .text-entity-link:active{color:#fff !important;text-decoration:underline}.Notification .content{line-height:1.25;word-break:break-word;font-size:.9375rem;flex-grow:1}.Notification.bold-link b{color:var(--color-primary);cursor:var(--custom-cursor, pointer)}.Notification .notification-title{font-weight:500}.Notification .Notification-button{color:var(--color-primary);font-weight:500;text-transform:none;margin:0 .5rem;height:2rem;width:auto}
.StickerButton{--custom-emoji-size: 2.25rem;--premium-gradient: linear-gradient(88.39deg, #6C93FF -2.56%, #976FFF 51.27%, #DF69D1 107.39%);display:inline-block;width:4.5rem;height:4.5rem;border-radius:var(--border-radius-messages-small);background:rgba(0,0,0,0) no-repeat center;background-size:contain;transition:background-color .15s ease,opacity .3s ease !important;position:relative;flex-shrink:0}.StickerButton.custom-emoji{color:var(--color-primary);width:var(--custom-emoji-size);height:var(--custom-emoji-size);margin:.3125rem}.StickerButton.custom-emoji.status-default{font-size:2rem;padding:.25rem;color:var(--color-text)}.StickerButton.set-expand{padding:0;vertical-align:bottom;align-self:center;justify-self:center}.StickerButton .sticker-locked{position:absolute;bottom:0;left:50%;transform:translate(-50%, 50%);width:1.25rem;height:1.25rem;display:flex;justify-content:center;align-items:center;border-radius:50%;color:#fff;background:var(--premium-gradient)}.StickerButton .sticker-premium{position:absolute;bottom:0;right:0;width:1.25rem;height:1.25rem;display:flex;justify-content:center;align-items:center;border-radius:50%;color:#fff;background:var(--premium-gradient);z-index:1}.StickerButton.selected{background-color:var(--color-interactive-element-hover)}.StickerButton.interactive{cursor:var(--custom-cursor, pointer)}.StickerButton.interactive:hover{background-color:var(--color-interactive-element-hover)}.StickerButton.interactive:hover .sticker-remove-button{opacity:1}@media(max-width: 600px){.StickerButton,.StickerButton.custom-emoji{margin:.25rem}}.StickerButton.set-button{width:2.75rem !important;height:2.75rem;margin:0 .5rem}.StickerButton.large{width:10rem;height:10rem;margin:0}.StickerButton .AnimatedSticker,.StickerButton .sticker-media{position:absolute;top:0;left:0;width:100%;height:100%}.StickerButton .sticker-media{object-fit:contain;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.StickerButton .sticker-remove-button{position:absolute;top:-0.125rem;right:-0.125rem;width:1.25rem;height:1.25rem;padding:.125rem;z-index:1;opacity:0}.StickerButton .sticker-remove-button .icon{font-size:1rem}.sticker-context-menu{position:absolute;cursor:var(--custom-cursor, default);z-index:var(--z-header-menu)}.sticker-context-menu .bubble{width:auto !important}.SymbolMenu .sticker-context-menu .bubble{--offset-y: 0}
.oGmd77AsTbJeJk8CV6gl{position:relative;display:block !important}.gp5OwinzPeHwkesmaEIR{position:absolute;left:0;top:0;width:100%;height:100%}
@ -50,4 +50,4 @@
.FloatingActionButton{position:absolute;right:1rem;bottom:1rem;transform:translateY(calc(5rem - var(--call-header-height, 0rem)));transition:transform .25s cubic-bezier(0.34, 1.56, 0.64, 1);z-index:2}body.no-page-transitions .FloatingActionButton{transition:none !important}.FloatingActionButton.revealed{transform:translateY(calc(0rem - var(--call-header-height, 0rem)))}.FloatingActionButton[dir=rtl]{right:auto;left:1rem}
.Picker{height:100%;display:flex;flex-direction:column;overflow:hidden}.Picker .picker-header{padding:0 1rem .25rem .75rem;border-bottom:1px solid var(--color-borders);display:flex;flex-flow:row wrap;flex-shrink:0;overflow-y:auto;max-height:20rem}.Picker .picker-header .input-group{margin-bottom:.5rem;margin-left:.5rem;flex-grow:1}.Picker .picker-header .form-control{height:2rem;border:none;border-radius:0;padding:0;box-shadow:none}.Picker .picker-list{flex-grow:1;overflow-y:auto;overflow-x:hidden;padding:.5rem}@media(max-width: 600px){.Picker .picker-list{padding-left:0 !important;padding-right:0 !important}}.Picker .no-results{height:100%;margin:0;padding:1rem 1rem;display:flex;align-items:center;justify-content:center;color:var(--color-text-secondary)}
/*# sourceMappingURL=9545.8636b20ce7986515de49.css.map*/
/*# sourceMappingURL=9545.b8722cdbb647b55ea4dd.css.map*/

File diff suppressed because one or more lines are too long

2
dist/9545.b8722cdbb647b55ea4dd.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/9545.b8722cdbb647b55ea4dd.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/9954.c94541e690b17f728ef9.js.map vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -8,4 +8,4 @@
.AddQYAOZJv2f7U7qIfC3 .modal-dialog{overflow:hidden}.AddQYAOZJv2f7U7qIfC3 .modal-content{display:flex;flex-direction:column;align-items:center;height:80vh;padding:0}.AddQYAOZJv2f7U7qIfC3 .Avatar{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:0;z-index:-1;transform:scale(1.1)}.AddQYAOZJv2f7U7qIfC3 .Avatar .Avatar__media{border-radius:0;object-fit:cover}.AddQYAOZJv2f7U7qIfC3 .Avatar.anFtHj7Wvsv4M_2I2EFF .Avatar__media{filter:blur(10px)}.Oi7aFYBAbl4bYichdt52 .modal-dialog{max-width:100% !important;border-radius:0;margin:0}.Oi7aFYBAbl4bYichdt52 .modal-content{height:calc(var(--vh)*100);max-height:calc(var(--vh)*100)}._iK8HccGNSmmo2wL7tMs{width:100%;display:flex;align-items:center;color:#fff;position:absolute;padding:.5rem}._iK8HccGNSmmo2wL7tMs .Button{color:#fff}.U66J7V5JKTCiktgwYpcC{margin-left:auto}.IekzemHkkO4bfrWHmxlv{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;pointer-events:none;transition:.25s ease-in-out background-color;z-index:2}.IekzemHkkO4bfrWHmxlv.hiNHKiq2owo1FvdT9a5g{background-color:rgba(0,0,0,.7);pointer-events:auto}.BjOb1fDymE5GCiJ4g6YN{-webkit-user-select:none;user-select:none;pointer-events:auto;cursor:var(--custom-cursor, pointer);margin-top:1rem;height:3rem;transition:.25s ease-in-out transform;top:0;font-size:1.5rem}.BjOb1fDymE5GCiJ4g6YN.hiNHKiq2owo1FvdT9a5g{transform:scale(2) translateY(3rem)}.Ci9ie86NFinrXvowDx23{-webkit-user-select:none;user-select:none;position:absolute;margin-top:10rem;color:#fff;max-width:20rem;text-align:center;font-weight:500;opacity:0;transition:.25s ease-in-out opacity}.Ci9ie86NFinrXvowDx23.hiNHKiq2owo1FvdT9a5g{opacity:1}.eiM2IbZjKKAwrfNtXtAy{width:100%;display:flex;flex-direction:column;align-items:center;margin-top:0;padding-top:4rem;padding-bottom:2rem;margin-bottom:auto;color:#fff;background:linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);pointer-events:none;-webkit-user-select:none;user-select:none}.AtK8DjRToL8Uk7ZAY25p{display:flex;position:absolute;bottom:1rem;-webkit-user-select:none;user-select:none}.uI2mkCTKDcqYPu64xKOk{background:#ff595a !important}.uI2mkCTKDcqYPu64xKOk:hover{background-color:#d24646 !important}.PC2FeM0OEDDW0TVFGMkk{background:#5cc85e !important}.PC2FeM0OEDDW0TVFGMkk:hover{background-color:#4eab50 !important}.hBxp1Loj3vj4DtnculDA{transform:rotate(-135deg)}.lXMZESnc4CBKQbvV7qkL{z-index:-1;position:absolute;width:100%;height:100%}.cnQvI_xwAbO0EEwRcLsg{z-index:-1;position:absolute;width:9rem;bottom:1rem;right:1rem;border-radius:.5rem;transform:translateY(calc(100% + 1rem));transition:.25s ease-in-out transform}.cnQvI_xwAbO0EEwRcLsg.XaD79h6hSiEi0ypkn5OK{transform:translateY(-5.5rem)}.cnQvI_xwAbO0EEwRcLsg.NlF9_Kb2le_3B712PZnO{transform:translateY(0)}
.wLqZtZzJMOmPkr1Z7kT5{width:100%;display:flex;justify-content:center;font-size:1.5rem}.OLQPS_OeztNYIaL15tdz{cursor:var(--custom-cursor, pointer);color:var(--color-text-secondary)}.OLQPS_OeztNYIaL15tdz:not(:first-child){margin-left:1rem}.OLQPS_OeztNYIaL15tdz.o_nOyYqj5URif5S86StK{color:var(--color-primary)}.ZToDNX6q1Yhf4aDPyuJF{margin-top:1rem;overflow:hidden}.ZToDNX6q1Yhf4aDPyuJF:not(.HdCq8jVctaJoit7bdgZd){display:none}
/*# sourceMappingURL=BundleCalls.0298139d050a9bdb5df7.css.map*/
/*# sourceMappingURL=BundleCalls.c94541e690b17f728ef9.css.map*/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

24
dist/index.html vendored
View File

@ -6,4 +6,26 @@
if ((hostname === 'weba.telegram.org' || hostname === 'webz.telegram.org') && !localStorage.getItem('tt-global-state')) {
window.location.href = 'https://web.telegram.org/a';
}</script><script defer="defer" src="main.9d88f54d447e808602e4.js"></script><link href="main.4c5fe2db2459b17ee198.css" rel="stylesheet"></head><body id="root"><noscript><video src="./nojs.mp4" class="nojs-video" muted loop autoplay playsinline disablepictureinpicture></video><h1>Telegram Web</h1><p>Please, enable JavaScript to open the app.</p></noscript><div id="portals"></div></body></html>
}</script><script defer="defer" src="main.db417d1e1ff89b3936de.js"></script><link href="main.c60951f6b66bf3781290.css" rel="stylesheet"></head><body id="root"><noscript><video src="./nojs.mp4" class="nojs-video" muted loop autoplay playsinline disablepictureinpicture></video><h1>Telegram Web</h1><p>Please, enable JavaScript to open the app.</p></noscript><div id="portals"></div><script>function compatTest() {
var hasPromise = typeof Promise !== 'undefined';
var hasWebSockets = typeof WebSocket !== 'undefined';
var hasWebCrypto = window.crypto && typeof window.crypto.subtle !== 'undefined';
var hasObjectFromEntries = typeof Object.fromEntries !== 'undefined';
var isCompatible = hasPromise && hasWebSockets && hasWebCrypto && hasObjectFromEntries;
if (isCompatible) {
window.isCompatTestPassed = true;
return;
}
console.warn('Compatibility test report:');
console.warn('Promise', hasPromise);
console.warn('WebSocket', hasWebSockets);
console.warn('WebCrypto', hasWebCrypto);
console.warn('Object.fromEntries', hasObjectFromEntries);
document.body.innerHTML = '<iframe src="./unsupported.html" width="100%" height="100%">';
}
compatTest();</script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/main.db417d1e1ff89b3936de.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/main.db417d1e1ff89b3936de.js.map vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

18
dist/unsupported.html vendored Normal file
View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html style="height: 100%">
<head>
<title>Unsupported browser</title>
</head>
<body style="height: 100%; margin: 0;">
<table style="width: 100%; height: 100%; border-collapse: collapse;">
<tr>
<td style="vertical-align: middle; text-align: center;">
<div style="display: inline-block;">
<img src="./unsupported.png">
<h3>Your browser is not supported. Please, update it or use our <a href="http://telegram.org/dl" target="_blank">native clients</a></h3>
</div>
</td>
</tr>
</table>
</body>
</html>

BIN
dist/unsupported.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

2
dist/version.txt vendored
View File

@ -1 +1 @@
1.61.10
1.61.11

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
1.61.10
1.61.11