This commit is contained in:
Alexander Zinchuk 2022-06-06 02:02:10 +04:00
parent c4c5da7f66
commit e06291f2a0
60 changed files with 55 additions and 52 deletions

View File

@ -1 +1 @@
7
1

View File

@ -1,2 +1,2 @@
(()=>{"use strict";var e,r,t={52993:(e,r,t)=>{var a=t(35802);"undefined"!=typeof window&&window.innerHeight,Math.round(425),new Set(["newMessage","newScheduledMessage","deleteMessages","deleteScheduledMessages","deleteHistory"]);const n=new Set(["image/png","image/gif","image/jpeg"]),o=new Set(["video/mp4"]);new Set(["audio/mp3","audio/ogg","audio/wav","audio/mpeg","audio/flac","audio/aac","audio/m4a","audio/mp4","audio/x-m4a"]),new Set([...n,...o]),new Set(["AU","BD","CA","CO","EG","HN","IE","IN","JO","MX","MY","NI","NZ","PH","PK","SA","SV","US"]),self.onerror=e=>{console.error(e),i({type:"unhandledError",error:{message:e.error.message||"Uncaught exception in worker"}})},self.addEventListener("unhandledrejection",(e=>{console.error(e),i({type:"unhandledError",error:{message:e.reason.message||"Uncaught rejection in worker"}})}));const s=new Map;function i(e,r){r?postMessage(e,r):postMessage(e)}let c;self.importScripts("rlottie-wasm.js");const u=new Promise((e=>{Module.onRuntimeInitialized=()=>{c={init:Module.cwrap("lottie_init","",[]),destroy:Module.cwrap("lottie_destroy","",["number"]),resize:Module.cwrap("lottie_resize","",["number","number","number"]),buffer:Module.cwrap("lottie_buffer","number",["number"]),render:Module.cwrap("lottie_render","",["number","number"]),loadFromData:Module.cwrap("lottie_load_from_data","number",["number","number"])},e()}})),d=new Map;async function l(e){const r=await fetch(e),t=r.headers.get("Content-Type");if(null!=t&&t.startsWith("text/"))return r.text();const n=await r.arrayBuffer();return(0,a.inflate)(n,{to:"string"})}function m(e,r,t){const a=r?30:60,n=JSON.parse(e).fr||a,o=n%a==0?n/a:1;return{reduceFactor:o,msPerFrame:1e3/(n/o),reducedFramesCount:Math.ceil(t/o)}}var p;p={init:async function(e,r,t,a,n){c||await u;const o=await l(r),s=allocate(intArrayFromString(o),"i8",0),i=c.init(),p=c.loadFromData(i,s);c.resize(i,t,t);const{reduceFactor:g,msPerFrame:f,reducedFramesCount:h}=m(o,a,p);d.set(e,{imgSize:t,reduceFactor:g,handle:i}),n(g,f,h)},changeData:async function(e,r,t,a){c||await u;const n=await l(r),o=allocate(intArrayFromString(n),"i8",0),{handle:s}=d.get(e),i=c.loadFromData(s,o),{reduceFactor:p,msPerFrame:g,reducedFramesCount:f}=m(n,t,i);a(p,g,f)},renderFrames:async function(e,r,t,a){c||await u;const{imgSize:n,reduceFactor:o,handle:s}=d.get(e);for(let e=r;e<=t;e++){const r=e*o;c.render(s,r);const t=c.buffer(s),i=Module.HEAPU8.subarray(t,t+n*n*4);a(e,new Uint8ClampedArray(i).buffer)}},destroy:function(e){const r=d.get(e);c.destroy(r.handle),d.delete(e)}},onmessage=async e=>{const{data:r}=e;switch(r.type){case"callMethod":{const{messageId:e,name:t,args:a}=r;try{if(e){const r=function(){for(var r=arguments.length,t=new Array(r),a=0;a<r;a++)t[a]=arguments[a];const n=t[t.length-1];i({type:"methodCallback",messageId:e,callbackArgs:t},n instanceof ArrayBuffer?[n]:void 0)};s.set(e,r),a.push(r)}const[r,n]=await p[t](...a)||[];e&&i({type:"methodResponse",messageId:e,response:r},n)}catch(r){e&&i({type:"methodResponse",messageId:e,error:{message:r.message}})}e&&s.delete(e);break}case"cancelProgress":{const e=s.get(r.messageId);e&&(e.isCanceled=!0);break}}}}},a={};function n(e){var r=a[e];if(void 0!==r)return r.exports;var o=a[e]={exports:{}};return t[e].call(o.exports,o,o.exports,n),o.exports}n.m=t,n.x=()=>{var e=n.O(void 0,[5802],(()=>n(52993)));return n.O(e)},e=[],n.O=(r,t,a,o)=>{if(!t){var s=1/0;for(d=0;d<e.length;d++){for(var[t,a,o]=e[d],i=!0,c=0;c<t.length;c++)(!1&o||s>=o)&&Object.keys(n.O).every((e=>n.O[e](t[c])))?t.splice(c--,1):(i=!1,o<s&&(s=o));if(i){e.splice(d--,1);var u=a();void 0!==u&&(r=u)}}return r}o=o||0;for(var d=e.length;d>0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[t,a,o]},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((r,t)=>(n.f[t](e,r),r)),[])),n.u=e=>e+".5a998479cf43543543ff.js",n.miniCssF=e=>{},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var r=n.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");t.length&&(e=t[t.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})(),(()=>{var e={2993:1};n.f.i=(r,t)=>{e[r]||importScripts(n.p+n.u(r))};var r=self.webpackChunktelegram_t=self.webpackChunktelegram_t||[],t=r.push.bind(r);r.push=r=>{var[a,o,s]=r;for(var i in o)n.o(o,i)&&(n.m[i]=o[i]);for(s&&s(n);a.length;)e[a.pop()]=1;t(r)}})(),r=n.x,n.x=()=>n.e(5802).then(r),n.x()})();
//# sourceMappingURL=2993.5d35c50c03152d8bdb1e.js.map
//# sourceMappingURL=2993.09e20e8db89139ad2ad8.js.map

1
dist/2993.09e20e8db89139ad2ad8.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

2
dist/3779.ab15579dd9e558379d93.js vendored Normal file

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

2
dist/5769.2b587ecb8f9bdaf55b4d.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/5769.2b587ecb8f9bdaf55b4d.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

1
dist/621.424ad1dde806eb4c04f3.css.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

1
dist/621.424ad1dde806eb4c04f3.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/8090.51fc8de223940b49c535.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/8090.51fc8de223940b49c535.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

1
dist/9524.d7c3208e6b01a5ff22c3.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.fd4344f91f0f4e07aaf8.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

View File

@ -3,4 +3,4 @@
.CropModal .modal-dialog{width:calc(100% - 2rem);max-width:35rem;height:calc(100% - 1rem);max-height:35rem;position:relative}.CropModal .modal-content,.CropModal #avatar-crop{overflow:hidden}.CropModal .confirm-button{position:absolute;bottom:1rem;right:1rem;box-shadow:0 1px 2px var(--color-default-shadow)}.CropModal #avatar-crop{max-width:25rem;margin:0 auto;position:relative}.CropModal #avatar-crop::before{content:"";display:block;padding-top:100%}.CropModal #avatar-crop .cr-boundary{position:absolute;top:0;left:0;border-radius:var(--border-radius-messages-small)}.CropModal #avatar-crop .cr-viewport{border:none;box-shadow:0 0 2000px 2000px rgba(127,127,127,.5)}.CropModal #avatar-crop .cr-slider::-webkit-slider-runnable-track{background:var(--color-borders)}.CropModal #avatar-crop .cr-slider::-moz-range-track{background:var(--color-borders)}.CropModal #avatar-crop .cr-slider::-ms-track{background:var(--color-borders)}.CropModal #avatar-crop .cr-slider::-webkit-slider-thumb{background:var(--color-primary);cursor:pointer;transform:scale(1);-webkit-transition:transform .25s ease-in-out;transition:transform .25s ease-in-out}.CropModal #avatar-crop .cr-slider::-webkit-slider-thumb:hover{transform:scale(1.2)}.CropModal #avatar-crop .cr-slider::-moz-range-thumb{background:var(--color-primary);cursor:pointer;transform:scale(1);-moz-transition:transform .25s ease-in-out;transition:transform .25s ease-in-out}.CropModal #avatar-crop .cr-slider::-moz-range-thumb:hover{transform:scale(1.2)}.CropModal #avatar-crop .cr-slider::-ms-thumb{background:var(--color-primary);cursor:pointer;transform:scale(1);-ms-transition:transform .25s ease-in-out;transition:transform .25s ease-in-out}.CropModal #avatar-crop .cr-slider::-ms-thumb:hover{transform:scale(1.2)}
.AvatarEditable label{margin-left:auto;margin-right:auto;width:7.5rem;height:7.5rem;margin-bottom:2rem;display:flex !important;align-items:center;justify-content:center;background-color:var(--color-primary);border-radius:50%;color:#fff;font-size:3rem;cursor:pointer;position:relative;overflow:hidden;outline:none !important}.AvatarEditable label input{display:none}.AvatarEditable label img{position:absolute;top:0;left:0;width:100%;height:100%}.AvatarEditable label i{transform:scale(1);transition:transform .15s linear;z-index:var(--z-register-add-avatar)}.Transition>div:not(.Transition__slide--active) .AvatarEditable label input,.Transition>div:not(.Transition__slide--active) .AvatarEditable label i,.Transition>div:not(.Transition__slide--active) .AvatarEditable label::after{display:none !important}.Transition>div:not(.Transition__slide--active) .AvatarEditable label img{position:static !important}.AvatarEditable label:hover i{transform:scale(1.2)}.AvatarEditable label.filled{background-color:var(--color-background)}.AvatarEditable label.filled::after{content:"";display:block;position:absolute;left:0;top:0;width:100%;height:100%;background-color:rgba(0,0,0,.4)}.AvatarEditable label.disabled{pointer-events:none}.AvatarEditable label.disabled i{display:none}.AvatarEditable label.disabled::after{display:none}
/*# sourceMappingURL=BundleAuth.f1566afab16dbd81eae1.css.map*/
/*# sourceMappingURL=BundleAuth.3ff1cc2797e8213e7060.css.map*/

File diff suppressed because one or more lines are too long

View File

@ -10,4 +10,4 @@
.src-components-calls-phone-PhoneCall-module__root .modal-dialog{overflow:hidden}.src-components-calls-phone-PhoneCall-module__root .modal-content{display:flex;flex-direction:column;align-items:center;height:80vh;padding:0}.src-components-calls-phone-PhoneCall-module__root .Avatar{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:0;z-index:-1;transform:scale(1.1)}.src-components-calls-phone-PhoneCall-module__root .Avatar .Avatar__img{border-radius:0;object-fit:cover}.src-components-calls-phone-PhoneCall-module__root .Avatar.src-components-calls-phone-PhoneCall-module__blurred .Avatar__img{filter:blur(10px)}.src-components-calls-phone-PhoneCall-module__single-column .modal-dialog{max-width:100% !important;border-radius:0;margin:0}.src-components-calls-phone-PhoneCall-module__single-column .modal-content{height:calc(var(--vh)*100);max-height:calc(var(--vh)*100)}.src-components-calls-phone-PhoneCall-module__header{width:100%;display:flex;align-items:center;color:#fff;position:absolute;padding:.5rem}.src-components-calls-phone-PhoneCall-module__header .Button{color:#fff}.src-components-calls-phone-PhoneCall-module__close-button{margin-left:auto}.src-components-calls-phone-PhoneCall-module__emojis-backdrop{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}.src-components-calls-phone-PhoneCall-module__emojis-backdrop.src-components-calls-phone-PhoneCall-module__open{background-color:rgba(0,0,0,.7);pointer-events:all}.src-components-calls-phone-PhoneCall-module__emojis{-webkit-user-select:none;user-select:none;pointer-events:all;cursor:pointer;margin-top:1rem;height:3rem;transition:.25s ease-in-out transform;top:0;font-size:1.5rem}.src-components-calls-phone-PhoneCall-module__emojis.src-components-calls-phone-PhoneCall-module__open{transform:scale(2) translateY(3rem)}.src-components-calls-phone-PhoneCall-module__emoji-tooltip{-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}.src-components-calls-phone-PhoneCall-module__emoji-tooltip.src-components-calls-phone-PhoneCall-module__open{opacity:1}.src-components-calls-phone-PhoneCall-module__user-info{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}.src-components-calls-phone-PhoneCall-module__buttons{display:flex;position:absolute;bottom:1rem;-webkit-user-select:none;user-select:none}.src-components-calls-phone-PhoneCall-module__leave{background:#ff595a !important}.src-components-calls-phone-PhoneCall-module__leave:hover{background-color:#d24646 !important}.src-components-calls-phone-PhoneCall-module__accept{background:#5cc85e !important}.src-components-calls-phone-PhoneCall-module__accept:hover{background-color:#4eab50 !important}.src-components-calls-phone-PhoneCall-module__accept-icon{transform:rotate(-135deg)}.src-components-calls-phone-PhoneCall-module__main-video{z-index:-1;position:absolute;width:100%;height:100%}.src-components-calls-phone-PhoneCall-module__second-video{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}.src-components-calls-phone-PhoneCall-module__second-video.src-components-calls-phone-PhoneCall-module__visible{transform:translateY(-5.5rem)}.src-components-calls-phone-PhoneCall-module__second-video.src-components-calls-phone-PhoneCall-module__fullscreen{transform:translateY(0)}
.src-components-calls-phone-RatePhoneCallModal-module__stars{width:100%;display:flex;justify-content:center;font-size:1.5rem}.src-components-calls-phone-RatePhoneCallModal-module__star{cursor:pointer;color:var(--color-text-secondary)}.src-components-calls-phone-RatePhoneCallModal-module__star:not(:first-child){margin-left:1rem}.src-components-calls-phone-RatePhoneCallModal-module__star.src-components-calls-phone-RatePhoneCallModal-module__isFilled{color:var(--color-primary)}.src-components-calls-phone-RatePhoneCallModal-module__comment{margin-top:1rem;overflow:hidden}.src-components-calls-phone-RatePhoneCallModal-module__comment:not(.src-components-calls-phone-RatePhoneCallModal-module__visible){display:none}
/*# sourceMappingURL=BundleCalls.0f4f1ace563a0362bd45.css.map*/
/*# sourceMappingURL=BundleCalls.fd4344f91f0f4e07aaf8.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

BIN
dist/icomoon.194cde192e71caafc593..woff2 vendored Normal file

Binary file not shown.

Binary file not shown.

2
dist/index.html vendored
View File

@ -1 +1 @@
<!doctype html><html lang="en" translate="no" class="notranslate"><head><meta charset="UTF-8"><title>Telegram Web</title><meta name="title" content="Telegram Web"><meta name="description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no,viewport-fit=cover"><meta name="mobile-web-app-capable" content="yes"><meta name="mobile-web-app-title" content="Telegram Web"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="Telegram Web"><meta name="application-name" content="Telegram Web"><meta name="msapplication-TileColor" content="#2b5797"><meta name="msapplication-config" content="./browserconfig.xml"><meta name="theme-color" content="#ffffff"><meta name="google" content="notranslate"><meta property="og:type" content="website"><meta property="og:url" content="https://web.telegram.org/z/"><meta property="og:title" content="Telegram Web"><meta property="og:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="og:image" content="./icon-192x192.png"><meta property="twitter:card" content="summary_large_image"><meta property="twitter:url" content="https://web.telegram.org/z/"><meta property="twitter:title" content="Telegram Web"><meta property="twitter:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="twitter:image" content="./icon-192x192.png"><link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png"><link rel="icon" href="./favicon.svg" type="image/svg+xml"><link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png"><link rel="icon" type="image/png" sizes="192x192" href="./icon-192x192.png"><link rel="alternate icon" href="./favicon.ico" type="image/x-icon"><link rel="manifest" id="the-manifest-placeholder"/><script defer="defer" src="main.922769bb4c3615e5619b.js"></script><link href="main.c54447f7c2c51ceaff54.css" rel="stylesheet"></head><body><div id="root"></div><div id="portals"></div></body></html>
<!doctype html><html lang="en" translate="no" class="notranslate"><head><meta charset="UTF-8"><title>Telegram Web</title><meta name="title" content="Telegram Web"><meta name="description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no,viewport-fit=cover"><meta name="mobile-web-app-capable" content="yes"><meta name="mobile-web-app-title" content="Telegram Web"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="Telegram Web"><meta name="application-name" content="Telegram Web"><meta name="msapplication-TileColor" content="#2b5797"><meta name="msapplication-config" content="./browserconfig.xml"><meta name="theme-color" content="#ffffff"><meta name="google" content="notranslate"><meta property="og:type" content="website"><meta property="og:url" content="https://web.telegram.org/z/"><meta property="og:title" content="Telegram Web"><meta property="og:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="og:image" content="./icon-192x192.png"><meta property="twitter:card" content="summary_large_image"><meta property="twitter:url" content="https://web.telegram.org/z/"><meta property="twitter:title" content="Telegram Web"><meta property="twitter:description" content="Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed."><meta property="twitter:image" content="./icon-192x192.png"><link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png"><link rel="icon" href="./favicon.svg" type="image/svg+xml"><link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png"><link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png"><link rel="icon" type="image/png" sizes="192x192" href="./icon-192x192.png"><link rel="alternate icon" href="./favicon.ico" type="image/x-icon"><link rel="manifest" id="the-manifest-placeholder"/><script defer="defer" src="main.e7b1b16b674a4b591e7a.js"></script><link href="main.9355b16d3ea6e2d56a11.css" rel="stylesheet"></head><body><div id="root"></div><div id="portals"></div></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.e7b1b16b674a4b591e7a.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/main.e7b1b16b674a4b591e7a.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