Build
This commit is contained in:
parent
3f1e7a0ce1
commit
1532e9582e
4
.env
4
.env
|
@ -1,5 +1,5 @@
|
|||
API_ID=1025907
|
||||
API_HASH=452b0359b988148995f22ff0f4229750
|
||||
VERSION=1.5.0
|
||||
VERSION_FULL=1.5.0 (238)
|
||||
BUILD=238
|
||||
VERSION_FULL=1.5.0 (239)
|
||||
BUILD=239
|
||||
|
|
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
|
@ -0,0 +1,2 @@
|
|||
"use strict";(this.webpackChunktweb=this.webpackChunktweb||[]).push([[436,781],{5436:(e,t,a)=>{a.r(t),a.d(t,{default:()=>h});var n=a(8799),s=a(4541),r=a(2325),l=a(3512);const o=new(a(4874).Z)("page-chats",!1,(()=>(l.Z.managers.appStateManager.pushToState("authState",{_:"authStateSignedIn"}),r.ZP.requestedServerLanguage||r.ZP.getCacheLangPack().then((e=>{e.local&&r.ZP.getLangPack(e.lang_code)})),o.pageEl.style.display="",(0,n.Z)(),Promise.all([(0,s.Z)(),Promise.resolve().then(a.bind(a,7692)),"requestVideoFrameCallback"in HTMLVideoElement.prototype?Promise.resolve():a.e(783).then(a.bind(a,7482))]).then((([e,t,a])=>{t.default.start(),setTimeout((()=>{document.getElementById("auth-pages").remove()}),1e3)}))))),h=o}}]);
|
||||
//# sourceMappingURL=436.7eced789e64ed1ae3ea3.chunk.js.map
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"436.7eced789e64ed1ae3ea3.chunk.js","mappings":"yKAYA,MA0CMA,EAAO,I,QAAI,GAAK,cAAc,GA1Cf,KACnB,yCAA+C,YAAa,CAACC,EAAG,sBAI5D,8BACF,wBAAwBC,MAAMC,IACzBA,EAASC,OACV,iBAAiBD,EAASE,cAKhCL,EAAKM,OAAOC,MAAMC,QAAU,IAe5B,SAEOC,QAAQC,IAAI,EACjB,SACA,uCACA,8BAA+BC,iBAAiBC,UAAYH,QAAQI,UAAY,gCAC/EX,MAAK,EAAED,EAAGa,EAAmBC,MAC9BD,EAAkBE,QAAQC,QAC1BC,YAAW,KACTC,SAASC,eAAe,cAAcC,WACrC,WAKP","sources":["webpack://tweb/./src/pages/pageIm.ts"],"sourcesContent":["/*\r\n * https://github.com/morethanwords/tweb\r\n * Copyright (C) 2019-2021 Eduard Kuzmenko\r\n * https://github.com/morethanwords/tweb/blob/master/LICENSE\r\n */\r\n\r\nimport blurActiveElement from '../helpers/dom/blurActiveElement';\r\nimport loadFonts from '../helpers/dom/loadFonts';\r\nimport I18n from '../lib/langPack';\r\nimport rootScope from '../lib/rootScope';\r\nimport Page from './page';\r\n\r\nconst onFirstMount = () => {\r\n rootScope.managers.appStateManager.pushToState('authState', {_: 'authStateSignedIn'});\r\n // ! TOO SLOW\r\n /* appStateManager.saveState(); */\r\n\r\n if(!I18n.requestedServerLanguage) {\r\n I18n.getCacheLangPack().then((langPack) => {\r\n if(langPack.local) {\r\n I18n.getLangPack(langPack.lang_code);\r\n }\r\n });\r\n }\r\n\r\n page.pageEl.style.display = '';\r\n\r\n // AudioContext && global.navigator && global.navigator.mediaDevices && global.navigator.mediaDevices.getUserMedia && global.WebAssembly;\r\n\r\n /* // @ts-ignore\r\n var AudioContext = globalThis.AudioContext || globalThis.webkitAudioContext;\r\n alert('AudioContext:' + typeof(AudioContext));\r\n // @ts-ignore\r\n alert('global.navigator:' + typeof(navigator));\r\n alert('navigator.mediaDevices:' + typeof(navigator.mediaDevices));\r\n alert('navigator.mediaDevices.getUserMedia:' + typeof(navigator.mediaDevices?.getUserMedia));\r\n alert('global.WebAssembly:' + typeof(WebAssembly)); */\r\n\r\n // (Array.from(document.getElementsByClassName('rp')) as HTMLElement[]).forEach((el) => ripple(el));\r\n\r\n blurActiveElement();\r\n\r\n return Promise.all([\r\n loadFonts()/* .then(() => new Promise((resolve) => window.requestAnimationFrame(resolve))) */,\r\n import('../lib/appManagers/appDialogsManager'),\r\n 'requestVideoFrameCallback' in HTMLVideoElement.prototype ? Promise.resolve() : import('../helpers/dom/requestVideoFrameCallbackPolyfill')\r\n ]).then(([_, appDialogsManager, __]) => {\r\n appDialogsManager.default.start();\r\n setTimeout(() => {\r\n document.getElementById('auth-pages').remove();\r\n }, 1e3);\r\n });\r\n};\r\n\r\nconst page = new Page('page-chats', false, onFirstMount);\r\nexport default page;\r\n"],"names":["page","_","then","langPack","local","lang_code","pageEl","style","display","Promise","all","HTMLVideoElement","prototype","resolve","appDialogsManager","__","default","start","setTimeout","document","getElementById","remove"],"sourceRoot":""}
|
|
@ -1,2 +0,0 @@
|
|||
"use strict";(this.webpackChunktweb=this.webpackChunktweb||[]).push([[436,781],{5436:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});var n=a(8799),s=a(4541),g=a(2325),h=a(3512);const u=new(a(4874).Z)("page-chats",!1,(()=>(h.Z.managers.appStateManager.pushToState("authState",{_:"authStateSignedIn"}),g.ZP.requestedServerLanguage||g.ZP.getCacheLangPack().then((e=>{e.local&&g.ZP.getLangPack(e.lang_code)})),u.pageEl.style.display="",(0,n.Z)(),Promise.all([(0,s.Z)(),Promise.resolve().then(a.bind(a,7692))]).then((([e,t])=>{t.default.start(),setTimeout((()=>{document.getElementById("auth-pages").remove()}),1e3)}))))),r=u}}]);
|
||||
//# sourceMappingURL=436.c0a1bc1885d062854036.chunk.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"436.c0a1bc1885d062854036.chunk.js","mappings":"yKAYA,MAyCMA,EAAO,I,QAAI,GAAK,cAAc,GAzCf,KACnB,yCAA+C,YAAa,CAACC,EAAG,sBAI5D,8BACF,wBAAwBC,MAAMC,IACzBA,EAASC,OACV,iBAAiBD,EAASE,cAKhCL,EAAKM,OAAOC,MAAMC,QAAU,IAe5B,SAEOC,QAAQC,IAAI,EACjB,SACA,yCACCR,MAAK,EAAED,EAAGU,MACXA,EAAkBC,QAAQC,QAC1BC,YAAW,KACTC,SAASC,eAAe,cAAcC,WACrC,WAKP","sources":["webpack://tweb/./src/pages/pageIm.ts"],"sourcesContent":["/*\r\n * https://github.com/morethanwords/tweb\r\n * Copyright (C) 2019-2021 Eduard Kuzmenko\r\n * https://github.com/morethanwords/tweb/blob/master/LICENSE\r\n */\r\n\r\nimport blurActiveElement from '../helpers/dom/blurActiveElement';\r\nimport loadFonts from '../helpers/dom/loadFonts';\r\nimport I18n from '../lib/langPack';\r\nimport rootScope from '../lib/rootScope';\r\nimport Page from './page';\r\n\r\nconst onFirstMount = () => {\r\n rootScope.managers.appStateManager.pushToState('authState', {_: 'authStateSignedIn'});\r\n // ! TOO SLOW\r\n /* appStateManager.saveState(); */\r\n\r\n if(!I18n.requestedServerLanguage) {\r\n I18n.getCacheLangPack().then((langPack) => {\r\n if(langPack.local) {\r\n I18n.getLangPack(langPack.lang_code);\r\n }\r\n });\r\n }\r\n\r\n page.pageEl.style.display = '';\r\n\r\n // AudioContext && global.navigator && global.navigator.mediaDevices && global.navigator.mediaDevices.getUserMedia && global.WebAssembly;\r\n\r\n /* // @ts-ignore\r\n var AudioContext = globalThis.AudioContext || globalThis.webkitAudioContext;\r\n alert('AudioContext:' + typeof(AudioContext));\r\n // @ts-ignore\r\n alert('global.navigator:' + typeof(navigator));\r\n alert('navigator.mediaDevices:' + typeof(navigator.mediaDevices));\r\n alert('navigator.mediaDevices.getUserMedia:' + typeof(navigator.mediaDevices?.getUserMedia));\r\n alert('global.WebAssembly:' + typeof(WebAssembly)); */\r\n\r\n // (Array.from(document.getElementsByClassName('rp')) as HTMLElement[]).forEach((el) => ripple(el));\r\n\r\n blurActiveElement();\r\n\r\n return Promise.all([\r\n loadFonts()/* .then(() => new Promise((resolve) => window.requestAnimationFrame(resolve))) */,\r\n import('../lib/appManagers/appDialogsManager')\r\n ]).then(([_, appDialogsManager]) => {\r\n appDialogsManager.default.start();\r\n setTimeout(() => {\r\n document.getElementById('auth-pages').remove();\r\n }, 1e3);\r\n });\r\n};\r\n\r\nconst page = new Page('page-chats', false, onFirstMount);\r\nexport default page;\r\n"],"names":["page","_","then","langPack","local","lang_code","pageEl","style","display","Promise","all","appDialogsManager","default","start","setTimeout","document","getElementById","remove"],"sourceRoot":""}
|
|
@ -1,2 +1,2 @@
|
|||
(()=>{"use strict";(()=>{if("undefined"!=typeof __webpack_require__){var e=__webpack_require__.u,t=__webpack_require__.e,i=new Map,r=new Map;__webpack_require__.u=function(t){return e(t)+(i.has(t)?"?"+i.get(t):"")},__webpack_require__.e=function(n){return t(n).catch((function(t){var a=r.has(n)?r.get(n):999999;if(a<1){var o=e(n);throw t.message="Loading chunk "+n+" failed after 999999 retries.\n("+o+")",t.request=o,t}return new Promise((function(e){setTimeout((function(){var t=Date.now();i.set(n,t),r.set(n,a-1),e(__webpack_require__.e(n))}),3e3)}))}))}}})();const e="undefined"!=typeof window?window:self,t=navigator?navigator.userAgent:null,i=(navigator.userAgent.search(/OS X|iPhone|iPad|iOS/i),navigator.userAgent.toLowerCase().indexOf("android"),/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor),(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&e.MSStream,!!("safari"in e)||!(!t||!(/\b(iPad|iPhone|iPod)\b/.test(t)||t.match("Safari")&&!t.match("Chrome"))));let r;if(navigator.userAgent.toLowerCase().indexOf("firefox"),navigator.maxTouchPoints>0&&navigator.userAgent.search(/iOS|iPhone OS|Android|BlackBerry|BB10|Series ?[64]0|J2ME|MIDP|opera mini|opera mobi|mobi.+Gecko|Windows Phone/i),i)try{r=+navigator.userAgent.match(/Version\/(.+?) /)[1]>=14}catch(e){r=!1}else r=!0;const n=r,a="undefined"!=typeof ImageBitmap;const o=[[[16219713,13335381],[16757049,16168585],[16765248,16764327],[16768889,16768965]],[[16219713,10771e3],[16757049,14653547],[16765248,15577475],[16768889,16040864]],[[16219713,7354903],[16757049,11233085],[16765248,12812110],[16768889,14194279]],[[16219713,4858889],[16757049,8207886],[16765248,9852201],[16768889,11100983]],[[16219713,2101002],[16757049,4270372],[16765248,5848375],[16768889,6505791]]],s=e=>Math.round(255*Math.min(Math.max(e,0),1));importScripts("rlottie-wasm.js");const h=self.Module;class d{constructor(e,t,i){this.reqId=e,this.width=t,this.height=i}init(e,t){if(!this.dead){this.fps=Math.max(1,Math.min(60,t||60));try{this.handle=c.Api.init(),this.stringOnWasmHeap=allocate(intArrayFromString(e),"i8",0),this.frameCount=c.Api.loadFromData(this.handle,this.stringOnWasmHeap),c.Api.resize(this.handle,this.width,this.height),m(["loaded",this.reqId,this.frameCount,this.fps]),a&&(this.imageData=new ImageData(this.width,this.height))}catch(e){console.error("init RLottieItem error:",e),m(["error",this.reqId,e])}}}render(e,t){if(!this.dead&&void 0!==this.handle&&!(this.frameCount<e||e<0))try{c.Api.render(this.handle,e);const i=c.Api.buffer(this.handle),r=h.HEAPU8.subarray(i,i+this.width*this.height*4);this.imageData?(this.imageData.data.set(r),createImageBitmap(this.imageData).then((t=>{m(["frame",this.reqId,e,t],[t])}))):(t?t.set(r):t=new Uint8ClampedArray(r),m(["frame",this.reqId,e,t],[t]))}catch(e){console.error("Render error:",e),this.dead=!0,m(["error",this.reqId,e])}}destroy(){this.dead=!0,void 0!==this.handle&&c.Api.destroy(this.handle)}}const c=new class{constructor(){this.Api={}}initApi(){this.Api={init:h.cwrap("lottie_init","",[]),destroy:h.cwrap("lottie_destroy","",["number"]),resize:h.cwrap("lottie_resize","",["number","number","number"]),buffer:h.cwrap("lottie_buffer","number",["number"]),render:h.cwrap("lottie_render","",["number","number"]),loadFromData:h.cwrap("lottie_load_from_data","number",["number","number"])}}init(){this.initApi(),m(["ready"])}};h.onRuntimeInitialized=function(){c.init()};const u={},f={loadFromData:function(e,t,i,r,n){const a=u[e]=new d(e,i,r);(function(e){return function(e,t){return new Promise((t=>{const i=new FileReader;i.addEventListener("loadend",(e=>{t(e.target.result)})),i.readAsText(e)}))}(e)})(t).then((t=>{try{if("number"==typeof n&&n>=1&&n<=5){const e=JSON.parse(t);(function(e,t){const i=o[Math.max(t-1,0)],r=e=>{switch(e.ty){case"st":case"fl":(e=>{const t=e.c.k,r=s(t[2])|s(t[1])<<8|s(t[0])<<16,n=i.find((e=>e[0]===r));n&&(t[0]=(n[1]>>16&255)/255,t[1]=(n[1]>>8&255)/255,t[2]=(255&n[1])/255)})(e)}e.hasOwnProperty("it")&&n(e.it)},n=e=>{for(const t of e)r(t)};try{for(const t of e.layers)if(t.shapes)for(const e of t.shapes)e.it?n(e.it):r(e)}catch(i){console.warn("cant apply replacements",i,e,t)}})(e,n),t=JSON.stringify(e)}const e=t.match(/"fr":\s*?(\d+?),/),i=+(null==e?void 0:e[1])||60;a.init(t,i)}catch(i){console.error("Invalid file for sticker:",t),m(["error",e,i])}}))},destroy:function(e){const t=u[e];t&&(t.destroy(),delete u[e])},renderFrame:function(e,t,i){u[e].render(t,i)}};function m(e,t){postMessage({queryMethodListener:e.shift(),queryMethodArguments:e},n?t:void 0)}onmessage=function(e){f[e.data.queryMethod].apply(f,e.data.queryMethodArguments)}})();
|
||||
//# sourceMappingURL=508.4694354927bc916e65dd.chunk.js.map
|
||||
//# sourceMappingURL=508.5c1c65e7f6a399ee9ab5.chunk.js.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
|
@ -1,2 +0,0 @@
|
|||
"use strict";(this.webpackChunktweb=this.webpackChunktweb||[]).push([[781,436],{5436:(e,t,a)=>{a.r(t),a.d(t,{default:()=>r});var n=a(8799),s=a(4541),g=a(2325),h=a(3512);const u=new(a(4874).Z)("page-chats",!1,(()=>(h.Z.managers.appStateManager.pushToState("authState",{_:"authStateSignedIn"}),g.ZP.requestedServerLanguage||g.ZP.getCacheLangPack().then((e=>{e.local&&g.ZP.getLangPack(e.lang_code)})),u.pageEl.style.display="",(0,n.Z)(),Promise.all([(0,s.Z)(),Promise.resolve().then(a.bind(a,7692))]).then((([e,t])=>{t.default.start(),setTimeout((()=>{document.getElementById("auth-pages").remove()}),1e3)}))))),r=u}}]);
|
||||
//# sourceMappingURL=781.1b1dc04e2fdfefc04408.chunk.js.map
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"781.1b1dc04e2fdfefc04408.chunk.js","mappings":"yKAYA,MAyCMA,EAAO,I,QAAI,GAAK,cAAc,GAzCf,KACnB,yCAA+C,YAAa,CAACC,EAAG,sBAI5D,8BACF,wBAAwBC,MAAMC,IACzBA,EAASC,OACV,iBAAiBD,EAASE,cAKhCL,EAAKM,OAAOC,MAAMC,QAAU,IAe5B,SAEOC,QAAQC,IAAI,EACjB,SACA,yCACCR,MAAK,EAAED,EAAGU,MACXA,EAAkBC,QAAQC,QAC1BC,YAAW,KACTC,SAASC,eAAe,cAAcC,WACrC,WAKP","sources":["webpack://tweb/./src/pages/pageIm.ts"],"sourcesContent":["/*\r\n * https://github.com/morethanwords/tweb\r\n * Copyright (C) 2019-2021 Eduard Kuzmenko\r\n * https://github.com/morethanwords/tweb/blob/master/LICENSE\r\n */\r\n\r\nimport blurActiveElement from '../helpers/dom/blurActiveElement';\r\nimport loadFonts from '../helpers/dom/loadFonts';\r\nimport I18n from '../lib/langPack';\r\nimport rootScope from '../lib/rootScope';\r\nimport Page from './page';\r\n\r\nconst onFirstMount = () => {\r\n rootScope.managers.appStateManager.pushToState('authState', {_: 'authStateSignedIn'});\r\n // ! TOO SLOW\r\n /* appStateManager.saveState(); */\r\n\r\n if(!I18n.requestedServerLanguage) {\r\n I18n.getCacheLangPack().then((langPack) => {\r\n if(langPack.local) {\r\n I18n.getLangPack(langPack.lang_code);\r\n }\r\n });\r\n }\r\n\r\n page.pageEl.style.display = '';\r\n\r\n // AudioContext && global.navigator && global.navigator.mediaDevices && global.navigator.mediaDevices.getUserMedia && global.WebAssembly;\r\n\r\n /* // @ts-ignore\r\n var AudioContext = globalThis.AudioContext || globalThis.webkitAudioContext;\r\n alert('AudioContext:' + typeof(AudioContext));\r\n // @ts-ignore\r\n alert('global.navigator:' + typeof(navigator));\r\n alert('navigator.mediaDevices:' + typeof(navigator.mediaDevices));\r\n alert('navigator.mediaDevices.getUserMedia:' + typeof(navigator.mediaDevices?.getUserMedia));\r\n alert('global.WebAssembly:' + typeof(WebAssembly)); */\r\n\r\n // (Array.from(document.getElementsByClassName('rp')) as HTMLElement[]).forEach((el) => ripple(el));\r\n\r\n blurActiveElement();\r\n\r\n return Promise.all([\r\n loadFonts()/* .then(() => new Promise((resolve) => window.requestAnimationFrame(resolve))) */,\r\n import('../lib/appManagers/appDialogsManager')\r\n ]).then(([_, appDialogsManager]) => {\r\n appDialogsManager.default.start();\r\n setTimeout(() => {\r\n document.getElementById('auth-pages').remove();\r\n }, 1e3);\r\n });\r\n};\r\n\r\nconst page = new Page('page-chats', false, onFirstMount);\r\nexport default page;\r\n"],"names":["page","_","then","langPack","local","lang_code","pageEl","style","display","Promise","all","appDialogsManager","default","start","setTimeout","document","getElementById","remove"],"sourceRoot":""}
|
|
@ -0,0 +1,2 @@
|
|||
"use strict";(this.webpackChunktweb=this.webpackChunktweb||[]).push([[781,436],{5436:(e,t,a)=>{a.r(t),a.d(t,{default:()=>h});var n=a(8799),s=a(4541),r=a(2325),l=a(3512);const o=new(a(4874).Z)("page-chats",!1,(()=>(l.Z.managers.appStateManager.pushToState("authState",{_:"authStateSignedIn"}),r.ZP.requestedServerLanguage||r.ZP.getCacheLangPack().then((e=>{e.local&&r.ZP.getLangPack(e.lang_code)})),o.pageEl.style.display="",(0,n.Z)(),Promise.all([(0,s.Z)(),Promise.resolve().then(a.bind(a,7692)),"requestVideoFrameCallback"in HTMLVideoElement.prototype?Promise.resolve():a.e(783).then(a.bind(a,7482))]).then((([e,t,a])=>{t.default.start(),setTimeout((()=>{document.getElementById("auth-pages").remove()}),1e3)}))))),h=o}}]);
|
||||
//# sourceMappingURL=781.6c044395803f275bb528.chunk.js.map
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"781.6c044395803f275bb528.chunk.js","mappings":"yKAYA,MA0CMA,EAAO,I,QAAI,GAAK,cAAc,GA1Cf,KACnB,yCAA+C,YAAa,CAACC,EAAG,sBAI5D,8BACF,wBAAwBC,MAAMC,IACzBA,EAASC,OACV,iBAAiBD,EAASE,cAKhCL,EAAKM,OAAOC,MAAMC,QAAU,IAe5B,SAEOC,QAAQC,IAAI,EACjB,SACA,uCACA,8BAA+BC,iBAAiBC,UAAYH,QAAQI,UAAY,gCAC/EX,MAAK,EAAED,EAAGa,EAAmBC,MAC9BD,EAAkBE,QAAQC,QAC1BC,YAAW,KACTC,SAASC,eAAe,cAAcC,WACrC,WAKP","sources":["webpack://tweb/./src/pages/pageIm.ts"],"sourcesContent":["/*\r\n * https://github.com/morethanwords/tweb\r\n * Copyright (C) 2019-2021 Eduard Kuzmenko\r\n * https://github.com/morethanwords/tweb/blob/master/LICENSE\r\n */\r\n\r\nimport blurActiveElement from '../helpers/dom/blurActiveElement';\r\nimport loadFonts from '../helpers/dom/loadFonts';\r\nimport I18n from '../lib/langPack';\r\nimport rootScope from '../lib/rootScope';\r\nimport Page from './page';\r\n\r\nconst onFirstMount = () => {\r\n rootScope.managers.appStateManager.pushToState('authState', {_: 'authStateSignedIn'});\r\n // ! TOO SLOW\r\n /* appStateManager.saveState(); */\r\n\r\n if(!I18n.requestedServerLanguage) {\r\n I18n.getCacheLangPack().then((langPack) => {\r\n if(langPack.local) {\r\n I18n.getLangPack(langPack.lang_code);\r\n }\r\n });\r\n }\r\n\r\n page.pageEl.style.display = '';\r\n\r\n // AudioContext && global.navigator && global.navigator.mediaDevices && global.navigator.mediaDevices.getUserMedia && global.WebAssembly;\r\n\r\n /* // @ts-ignore\r\n var AudioContext = globalThis.AudioContext || globalThis.webkitAudioContext;\r\n alert('AudioContext:' + typeof(AudioContext));\r\n // @ts-ignore\r\n alert('global.navigator:' + typeof(navigator));\r\n alert('navigator.mediaDevices:' + typeof(navigator.mediaDevices));\r\n alert('navigator.mediaDevices.getUserMedia:' + typeof(navigator.mediaDevices?.getUserMedia));\r\n alert('global.WebAssembly:' + typeof(WebAssembly)); */\r\n\r\n // (Array.from(document.getElementsByClassName('rp')) as HTMLElement[]).forEach((el) => ripple(el));\r\n\r\n blurActiveElement();\r\n\r\n return Promise.all([\r\n loadFonts()/* .then(() => new Promise((resolve) => window.requestAnimationFrame(resolve))) */,\r\n import('../lib/appManagers/appDialogsManager'),\r\n 'requestVideoFrameCallback' in HTMLVideoElement.prototype ? Promise.resolve() : import('../helpers/dom/requestVideoFrameCallbackPolyfill')\r\n ]).then(([_, appDialogsManager, __]) => {\r\n appDialogsManager.default.start();\r\n setTimeout(() => {\r\n document.getElementById('auth-pages').remove();\r\n }, 1e3);\r\n });\r\n};\r\n\r\nconst page = new Page('page-chats', false, onFirstMount);\r\nexport default page;\r\n"],"names":["page","_","then","langPack","local","lang_code","pageEl","style","display","Promise","all","HTMLVideoElement","prototype","resolve","appDialogsManager","__","default","start","setTimeout","document","getElementById","remove"],"sourceRoot":""}
|
|
@ -0,0 +1,2 @@
|
|||
"use strict";(this.webpackChunktweb=this.webpackChunktweb||[]).push([[783],{7482:(e,t,i)=>{i.r(t),!("requestVideoFrameCallback"in HTMLVideoElement.prototype)&&"getVideoPlaybackQuality"in HTMLVideoElement.prototype&&(HTMLVideoElement.prototype._rvfcpolyfillmap={},HTMLVideoElement.prototype.requestVideoFrameCallback=function(e){const t=this.getVideoPlaybackQuality(),i=this.mozPresentedFrames||this.mozPaintedFrames||t.totalVideoFrames-t.droppedVideoFrames,a=(r,l)=>{const m=this.getVideoPlaybackQuality(),s=this.mozPresentedFrames||this.mozPaintedFrames||m.totalVideoFrames-m.droppedVideoFrames;if(s>i){const i=this.mozFrameDelay||m.totalFrameDelay-t.totalFrameDelay||0,a=l-r;e(l,{presentationTime:l+1e3*i,expectedDisplayTime:l+a,width:this.videoWidth,height:this.videoHeight,mediaTime:Math.max(0,this.currentTime||0)+a/1e3,presentedFrames:s,processingDuration:i}),delete this._rvfcpolyfillmap[o]}else this._rvfcpolyfillmap[o]=requestAnimationFrame((e=>a(l,e)))},o=Date.now(),r=performance.now();return this._rvfcpolyfillmap[o]=requestAnimationFrame((e=>a(r,e))),o},HTMLVideoElement.prototype.cancelVideoFrameCallback=function(e){cancelAnimationFrame(this._rvfcpolyfillmap[e]),delete this._rvfcpolyfillmap[e]})}}]);
|
||||
//# sourceMappingURL=783.a6d272fbd6f947bd972d.chunk.js.map
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"783.a6d272fbd6f947bd972d.chunk.js","mappings":"oGAGK,8BAA+BA,iBAAiBC,YAAc,4BAA6BD,iBAAiBC,YAC/GD,iBAAiBC,UAAUC,iBAAmB,GAC9CF,iBAAiBC,UAAUE,0BAA4B,SAASC,GAC9D,MAAMC,EAAUC,KAAKC,0BACfC,EAAWF,KAAKG,oBAAsBH,KAAKI,kBAAoBL,EAAQM,iBAAmBN,EAAQO,mBAElGC,EAAQ,CAACC,EAAKC,KAClB,MAAMC,EAAaV,KAAKC,0BAClBU,EAAkBX,KAAKG,oBAAsBH,KAAKI,kBAAoBM,EAAWL,iBAAmBK,EAAWJ,mBACrH,GAAGK,EAAkBT,EAAU,CAC7B,MAAMU,EAAqBZ,KAAKa,eAAkBH,EAAWI,gBAAkBf,EAAQe,iBAAoB,EACrGC,EAAWN,EAAMD,EACvBV,EAASW,EAAK,CACZO,iBAAkBP,EAA2B,IAArBG,EACxBK,oBAAqBR,EAAMM,EAC3BG,MAAOlB,KAAKmB,WACZC,OAAQpB,KAAKqB,YACbC,UAAWC,KAAKC,IAAI,EAAGxB,KAAKyB,aAAe,GAAKV,EAAW,IAC3DJ,gBAAAA,EACAC,mBAAAA,WAEKZ,KAAKJ,iBAAiB8B,QAE7B1B,KAAKJ,iBAAiB8B,GAAUC,uBAAsBC,GAASrB,EAAME,EAAKmB,MAIxEF,EAASG,KAAKpB,MACdA,EAAMqB,YAAYrB,MAExB,OADAT,KAAKJ,iBAAiB8B,GAAUC,uBAAsBC,GAASrB,EAAME,EAAKmB,KACnEF,GAGThC,iBAAiBC,UAAUoC,yBAA2B,SAASL,GAC7DM,qBAAqBhC,KAAKJ,iBAAiB8B,WACpC1B,KAAKJ,iBAAiB8B","sources":["webpack://tweb/./src/helpers/dom/requestVideoFrameCallbackPolyfill.ts"],"sourcesContent":["// @ts-nocheck\n// https://github.com/ThaUnknown/rvfc-polyfill/blob/main/index.js\n\nif(!('requestVideoFrameCallback' in HTMLVideoElement.prototype) && 'getVideoPlaybackQuality' in HTMLVideoElement.prototype) {\n HTMLVideoElement.prototype._rvfcpolyfillmap = {};\n HTMLVideoElement.prototype.requestVideoFrameCallback = function(callback) {\n const quality = this.getVideoPlaybackQuality();\n const baseline = this.mozPresentedFrames || this.mozPaintedFrames || quality.totalVideoFrames - quality.droppedVideoFrames;\n\n const check = (old, now) => {\n const newquality = this.getVideoPlaybackQuality();\n const presentedFrames = this.mozPresentedFrames || this.mozPaintedFrames || newquality.totalVideoFrames - newquality.droppedVideoFrames;\n if(presentedFrames > baseline) {\n const processingDuration = this.mozFrameDelay || (newquality.totalFrameDelay - quality.totalFrameDelay) || 0;\n const timediff = now - old; // HighRes diff\n callback(now, {\n presentationTime: now + processingDuration * 1000,\n expectedDisplayTime: now + timediff,\n width: this.videoWidth,\n height: this.videoHeight,\n mediaTime: Math.max(0, this.currentTime || 0) + timediff / 1000,\n presentedFrames,\n processingDuration\n });\n delete this._rvfcpolyfillmap[handle];\n } else {\n this._rvfcpolyfillmap[handle] = requestAnimationFrame(newer => check(now, newer));\n }\n }\n\n const handle = Date.now();\n const now = performance.now();\n this._rvfcpolyfillmap[handle] = requestAnimationFrame(newer => check(now, newer));\n return handle; // spec says long, not doube, so can't re-use performance.now\n };\n\n HTMLVideoElement.prototype.cancelVideoFrameCallback = function(handle) {\n cancelAnimationFrame(this._rvfcpolyfillmap[handle]);\n delete this._rvfcpolyfillmap[handle];\n };\n}\n\nexport {};\n"],"names":["HTMLVideoElement","prototype","_rvfcpolyfillmap","requestVideoFrameCallback","callback","quality","this","getVideoPlaybackQuality","baseline","mozPresentedFrames","mozPaintedFrames","totalVideoFrames","droppedVideoFrames","check","old","now","newquality","presentedFrames","processingDuration","mozFrameDelay","totalFrameDelay","timediff","presentationTime","expectedDisplayTime","width","videoWidth","height","videoHeight","mediaTime","Math","max","currentTime","handle","requestAnimationFrame","newer","Date","performance","cancelVideoFrameCallback","cancelAnimationFrame"],"sourceRoot":""}
|
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
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
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
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
1.5.0 (238)
|
||||
1.5.0 (239)
|
Loading…
Reference in New Issue