git add stuff

This commit is contained in:
Alan
2026-02-14 19:50:25 +03:00
parent 5c3329238b
commit 3942076805
1130 changed files with 120023 additions and 6 deletions

View File

@@ -0,0 +1 @@
(function(){"use strict";function f(a){var b=null;if(window.DOMParser)try{b=(new DOMParser).parseFromString(a,"text/xml")}catch(c){b=null}else if(window.ActiveXObject)try{b=new ActiveXObject("Microsoft.XMLDOM"),b.async=!1,b.loadXML(a)||(b=null)}catch(d){b=null}return b}var a,b,c,d,e;(function(){function a(a){var b,d,e,f,g,h;for(e=a.length,d=0,b="";e>d;){if(f=255&a.charCodeAt(d++),d==e){b+=c.charAt(f>>2),b+=c.charAt((3&f)<<4),b+="==";break}if(g=a.charCodeAt(d++),d==e){b+=c.charAt(f>>2),b+=c.charAt((3&f)<<4|(240&g)>>4),b+=c.charAt((15&g)<<2),b+="=";break}h=a.charCodeAt(d++),b+=c.charAt(f>>2),b+=c.charAt((3&f)<<4|(240&g)>>4),b+=c.charAt((15&g)<<2|(192&h)>>6),b+=c.charAt(63&h)}return b}function b(a){var b,c,e,f,g,h,i;for(h=a.length,g=0,i="";h>g;){do b=d[255&a.charCodeAt(g++)];while(h>g&&-1==b);if(-1==b)break;do c=d[255&a.charCodeAt(g++)];while(h>g&&-1==c);if(-1==c)break;i+=String.fromCharCode(b<<2|(48&c)>>4);do{if(e=255&a.charCodeAt(g++),61==e)return i;e=d[e]}while(h>g&&-1==e);if(-1==e)break;i+=String.fromCharCode((15&c)<<4|(60&e)>>2);do{if(f=255&a.charCodeAt(g++),61==f)return i;f=d[f]}while(h>g&&-1==f);if(-1==f)break;i+=String.fromCharCode((3&e)<<6|f)}return i}var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,-1,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];window.btoa||(window.btoa=a),window.atob||(window.atob=b)})(),d=function(){this.type=null},d.prototype.isTransfer=function(){return"1"===this.type},d.prototype.isIncoming=function(){return"2"===this.type},d.prototype.isHistory=function(){return"4"===this.type},e=function(a,b){b||(a=atob(a)),this.body=$(f(a))},e.prototype.getEvents=function(){var a=[];return this.body.find("Event").each(function(){var b=new d;$.each(this.attributes,function(a,c){b[c.name]=c.value.trim()}),a.push(b)}),a},e.prepareRequest=function(a,b,c){var d="<Request><ProtocolVersion>1</ProtocolVersion><Method>"+a+"</Method><RequestID>0</RequestID><Data>"+b+"</Data></Request>";return c||(d=btoa(d)),d},a=function(){var a="",b=null,c=!1,d={};this.setUserPhone=function(b){a=b},this.connect=function(f){var g=f.host+"?CID="+(f.client_id||0)+"&CT="+f.client_type+"&GID="+a;c=0===f.host.indexOf("wss"),b=new WebSocket(g),b.onopen=function(a){d.onConnect&&"function"==typeof d.onConnect&&d.onConnect(a)},b.onclose=function(a){d.onDisconnect&&"function"==typeof d.onDisconnect&&d.onDisconnect(a)},b.onmessage=function(a){var b,f,g;if(a.data===void 0)return!1;for(f=new e(a.data,c),g=f.getEvents(),b=0;g.length>b;b+=1)d.onEvent&&"function"==typeof d.onEvent&&d.onEvent(g[b])}},this.disconnect=function(){b&&b.close()},this.isConnected=function(){return b&&1===b.readyState},this.onConnect=function(a){d.onConnect=a},this.onDisconnect=function(a){d.onDisconnect=a},this.onEvent=function(a){d.onEvent=a},this.call=function(d){b.send(e.prepareRequest("Call","<From>"+a+"</From><To>"+d+"</To>",c))},this.transfer=function(d,f){f=f||0,b.send(e.prepareRequest("Transfer","<CallID>"+d+"</CallID><To>"+a+"</To>",c))}},b=window.prostiezvonki=new a,c=window.pz=b})();