www_duniayetu/public/1/img/(2) WhatsApp_files/libsignal-protocol-ee5b8ba.min.js

21 lines
244 KiB
JavaScript
Raw Normal View History

2022-12-16 14:24:00 +00:00
!function(){var A=void 0,e={};window.libsignal={};var t,r=void 0!==r?r:{},n={};for(t in r)r.hasOwnProperty(t)&&(n[t]=r[t]);var g=[],o=!1,I=!1,s=!1,f=!1;o="object"==typeof window,I="function"==typeof importScripts,s="object"==typeof A&&"object"==typeof A.versions&&"string"==typeof A.versions.node,f=!o&&!s&&!I;var a,h,B,C,E="";function u(A){return r.locateFile?r.locateFile(A,E):E+A}s?(E=I?require("path").dirname(E)+"/":__dirname+"/",a=function(A,e){var t=oA(A);return t?e?t:t.toString():(B||(B=require("fs")),C||(C=require("path")),A=C.normalize(A),B.readFileSync(A,e?null:"utf8"))},h=function(A){var e=a(A,!0);return e.buffer||(e=new Uint8Array(e)),d(e.buffer),e},A.argv.length>1&&A.argv[1].replace(/\\/g,"/"),g=A.argv.slice(2),"undefined"!=typeof module&&(module.exports=r),A.on("uncaughtException",(function(A){if(!(A instanceof BA))throw A})),A.on("unhandledRejection",x),r.inspect=function(){return"[Emscripten Module object]"}):f?("undefined"!=typeof read&&(a=function(A){var e=oA(A);return e?rA(e):read(A)}),h=function(A){var e;return(e=oA(A))?e:"function"==typeof readbuffer?new Uint8Array(readbuffer(A)):(d("object"==typeof(e=read(A,"binary"))),e)},"undefined"!=typeof scriptArgs?g=scriptArgs:void 0!==arguments&&(g=arguments),"undefined"!=typeof print&&("undefined"==typeof console&&(console={}),console.log=print,console.warn=console.error="undefined"!=typeof printErr?printErr:print)):(o||I)&&(I?E=self.location.href:document.currentScript&&(E=document.currentScript.src),E=0!==E.indexOf("blob:")?E.substr(0,E.lastIndexOf("/")+1):"",a=function(A){try{var e=new XMLHttpRequest;return e.open("GET",A,!1),e.send(null),e.responseText}catch(e){var t=oA(A);if(t)return rA(t);throw e}},I&&(h=function(A){try{var e=new XMLHttpRequest;return e.open("GET",A,!1),e.responseType="arraybuffer",e.send(null),new Uint8Array(e.response)}catch(e){var t=oA(A);if(t)return t;throw e}})),r.print||console.log.bind(console);var Q,c,l=r.printErr||console.warn.bind(console);for(t in n)n.hasOwnProperty(t)&&(r[t]=n[t]);n=null,r.arguments&&(g=r.arguments),r.thisProgram&&r.thisProgram,r.quit&&r.quit,r.wasmBinary&&(Q=r.wasmBinary),r.noExitRuntime&&r.noExitRuntime,"object"!=typeof WebAssembly&&x("no native wasm support detected");var w=new WebAssembly.Table({initial:1,maximum:1,element:"anyfunc"}),y=!1;function d(A,e){A||x("Assertion failed: "+e)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf8"),"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var p,D,v=65536;function S(A){p=A,r.HEAP8=new Int8Array(A),r.HEAP16=new Int16Array(A),r.HEAP32=new Int32Array(A),r.HEAPU8=D=new Uint8Array(A),r.HEAPU16=new Uint16Array(A),r.HEAPU32=new Uint32Array(A),r.HEAPF32=new Float32Array(A),r.HEAPF64=new Float64Array(A)}var b=r.INITIAL_MEMORY||16777216;(c=r.wasmMemory?r.wasmMemory:new WebAssembly.Memory({initial:b/v,maximum:b/v}))&&(p=c.buffer),b=p.byteLength,S(p);var m=[],P=[],F=[],M=[];function N(){if(r.preRun)for("function"==typeof r.preRun&&(r.preRun=[r.preRun]);r.preRun.length;)T(r.preRun.shift());$(m)}function k(){$(P)}function H(){$(F)}function G(){if(r.postRun)for("function"==typeof r.postRun&&(r.postRun=[r.postRun]);r.postRun.length;)K(r.postRun.shift());$(M)}function T(A){m.unshift(A)}function K(A){M.unshift(A)}Math.abs,Math.ceil,Math.floor,Math.min;var Y=0,R=null,U=null;function L(A){Y++,r.monitorRunDependencies&&r.monitorRunDependencies(Y)}function J(A){if(Y--,r.monitorRunDependencies&&r.monitorRunDependencies(Y),0==Y&&(null!==R&&(clearInterval(R),R=null),U)){var e=U;U=null,e()}}function x(A){throw r.onAbort&&r.onAbort(A),l(A+=""),y=!0,A="abort("+A+"). Build with -s ASSERTIONS=1 for more info.",new WebAssembly.RuntimeError(A)}function O(A,e){return String.prototype.startsWith?A.startsWith(e):0===A.indexOf(e)}r.preloadedImages={},r.preloadedAudios={};var q="data:application/octet-stream;base64,";function W(A){return O(A,q)}var X="file://";function V(A){return O(A,X)}var j="data:application/octet-stream;base64,AGFzbQEAAAABTw1gAn9/AGADf39/AGABfwBgAX8Bf2ADf39/AX9gBH9/f38AYAN/f34AYAABf2ACf38Bf2AAAGAFf39/fn8AYAR/f39/AX9gBX9/f35/AX8CSwMDZW52FWVtc2NyaXB0ZW5fbWVtY3B5X
/**
* @license long.js (c) 2013 Daniel Wirtz <dcode@dcode.io>
* Released under the Apache License, Version 2.0
* see: https://github.com/dcodeIO/long.js for details
*/
sA=this,fA=function(){"use strict";function A(A,e,t){this.low=0|A,this.high=0|e,this.unsigned=!!t}function e(A){return!0===(A&&A.__isLong__)}A.prototype.__isLong__,Object.defineProperty(A.prototype,"__isLong__",{value:!0,enumerable:!1,configurable:!1}),A.isLong=e;var t={},i={};function r(A,e){var r,n,o;return e?(o=0<=(A>>>=0)&&A<256)&&(n=i[A])?n:(r=g(A,(0|A)<0?-1:0,!0),o&&(i[A]=r),r):(o=-128<=(A|=0)&&A<128)&&(n=t[A])?n:(r=g(A,A<0?-1:0,!1),o&&(t[A]=r),r)}function n(A,e){if(isNaN(A)||!isFinite(A))return e?E:C;if(e){if(A<0)return E;if(A>=a)return w}else{if(A<=-h)return y;if(A+1>=h)return l}return A<0?n(-A,e).neg():g(A%f|0,A/f|0,e)}function g(e,t,i){return new A(e,t,i)}A.fromInt=r,A.fromNumber=n,A.fromBits=g;var o=Math.pow;function I(A,e,t){if(0===A.length)throw Error("empty string");if("NaN"===A||"Infinity"===A||"+Infinity"===A||"-Infinity"===A)return C;if("number"==typeof e?(t=e,e=!1):e=!!e,(t=t||10)<2||36<t)throw RangeError("radix");var i;if((i=A.indexOf("-"))>0)throw Error("interior hyphen");if(0===i)return I(A.substring(1),e,t).neg();for(var r=n(o(t,8)),g=C,s=0;s<A.length;s+=8){var f=Math.min(8,A.length-s),a=parseInt(A.substring(s,s+f),t);if(f<8){var h=n(o(t,f));g=g.mul(h).add(n(a))}else g=(g=g.mul(r)).add(n(a))}return g.unsigned=e,g}function s(e){return e instanceof A?e:"number"==typeof e?n(e):"string"==typeof e?I(e):g(e.low,e.high,e.unsigned)}A.fromString=I,A.fromValue=s;var f=4294967296,a=f*f,h=a/2,B=r(1<<24),C=r(0);A.ZERO=C;var E=r(0,!0);A.UZERO=E;var u=r(1);A.ONE=u;var Q=r(1,!0);A.UONE=Q;var c=r(-1);A.NEG_ONE=c;var l=g(-1,2147483647,!1);A.MAX_VALUE=l;var w=g(-1,-1,!0);A.MAX_UNSIGNED_VALUE=w;var y=g(0,-2147483648,!1);A.MIN_VALUE=y;var d=A.prototype;return d.toInt=function(){return this.unsigned?this.low>>>0:this.low},d.toNumber=function(){return this.unsigned?(this.high>>>0)*f+(this.low>>>0):this.high*f+(this.low>>>0)},d.toString=function(A){if((A=A||10)<2||36<A)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(y)){var e=n(A),t=this.div(e),i=t.mul(e).sub(this);return t.toString(A)+i.toInt().toString(A)}return"-"+this.neg().toString(A)}for(var r=n(o(A,6),this.unsigned),g=this,I="";;){var s=g.div(r),f=(g.sub(s.mul(r)).toInt()>>>0).toString(A);if((g=s).isZero())return f+I;for(;f.length<6;)f="0"+f;I=""+f+I}},d.getHighBits=function(){return this.high},d.getHighBitsUnsigned=function(){return this.high>>>0},d.getLowBits=function(){return this.low},d.getLowBitsUnsigned=function(){return this.low>>>0},d.getNumBitsAbs=function(){if(this.isNegative())return this.eq(y)?64:this.neg().getNumBitsAbs();for(var A=0!=this.high?this.high:this.low,e=31;e>0&&0==(A&1<<e);e--);return 0!=this.high?e+33:e+1},d.isZero=function(){return 0===this.high&&0===this.low},d.isNegative=function(){return!this.unsigned&&this.high<0},d.isPositive=function(){return this.unsigned||this.high>=0},d.isOdd=function(){return 1==(1&this.low)},d.isEven=function(){return 0==(1&this.low)},d.equals=function(A){return e(A)||(A=s(A)),(this.unsigned===A.unsigned||this.high>>>31!=1||A.high>>>31!=1)&&this.high===A.high&&this.low===A.low},d.eq=d.equals,d.notEquals=function(A){return!this.eq(A)},d.neq=d.notEquals,d.lessThan=function(A){return this.comp(A)<0},d.lt=d.lessThan,d.lessThanOrEqual=function(A){return this.comp(A)<=0},d.lte=d.lessThanOrEqual,d.greaterThan=function(A){return this.comp(A)>0},d.gt=d.greaterThan,d.greaterThanOrEqual=function(A){return this.comp(A)>=0},d.gte=d.greaterThanOrEqual,d.compare=function(A){if(e(A)||(A=s(A)),this.eq(A))return 0;var t=this.isNegative(),i=A.isNegative();return t&&!i?-1:!t&&i?1:this.unsigned?A.high>>>0>this.high>>>0||A.high===this.high&&A.low>>>0>this.low>>>0?-1:1:this.sub(A).isNegative()?-1:1},d.comp=d.compare,d.negate=function(){return!this.unsigned&&this.eq(y)?y:this.not().add(u)},d.neg=d.negate,d.add=function(A){e(A)||(A=s(A));var t=this.high>>>16,i=65535&this.high,r=this.low>>>16,n=65535&this.low,o=A.high>>>16,I=65535&A.high,f=A.low>>>16,a=0,h=0,B=0,C=0;return B+=(C+=n+(65535&A.low))>>>16,h+=(B+=r+f)>>>16,a+=(h+=i+I)>>>16,a+=t+o,g((B&=65535)<<16|(C&=65535),(a&=65535)<<16|(h&=65535),this
/**
* @license ByteBuffer.js (c) 2013-2014 Daniel Wirtz <dcode@dcode.io>
* This version of ByteBuffer.js uses an ArrayBuffer as its backing buffer which is accessed through a DataView and is
* compatible with modern browsers.
* Released under the Apache License, Version 2.0
* see: https://github.com/dcodeIO/ByteBuffer.js for details
*/
function(A){"use strict";function e(A){var e=function(A,t,i){if(void 0===A&&(A=e.DEFAULT_CAPACITY),void 0===t&&(t=e.DEFAULT_ENDIAN),void 0===i&&(i=e.DEFAULT_NOASSERT),!i){if((A|=0)<0)throw RangeError("Illegal capacity");t=!!t,i=!!i}this.buffer=0===A?r:new ArrayBuffer(A),this.view=0===A?null:new DataView(this.buffer),this.offset=0,this.markedOffset=-1,this.limit=A,this.littleEndian=void 0!==t&&!!t,this.noAssert=!!i};e.VERSION="3.5.5",e.LITTLE_ENDIAN=!0,e.BIG_ENDIAN=!1,e.DEFAULT_CAPACITY=16,e.DEFAULT_ENDIAN=e.BIG_ENDIAN,e.DEFAULT_NOASSERT=!1,e.Long=A||null;var t=e.prototype,r=new ArrayBuffer(0),n=String.fromCharCode;function g(A){var e=0;return function(){return e<A.length?A.charCodeAt(e++):null}}function o(){var A=[],e=[];return function(){if(0===arguments.length)return e.join("")+n.apply(String,A);A.length+arguments.length>1024&&(e.push(n.apply(String,A)),A.length=0),Array.prototype.push.apply(A,arguments)}}e.allocate=function(A,t,i){return new e(A,t,i)},e.concat=function(A,t,i,r){"boolean"!=typeof t&&"string"==typeof t||(r=i,i=t,t=void 0);for(var n,g=0,o=0,I=A.length;o<I;++o)e.isByteBuffer(A[o])||(A[o]=e.wrap(A[o],t)),(n=A[o].limit-A[o].offset)>0&&(g+=n);if(0===g)return new e(0,i,r);var s,f=new e(g,i,r),a=new Uint8Array(f.buffer);for(o=0;o<I;)(n=(s=A[o++]).limit-s.offset)<=0||(a.set(new Uint8Array(s.buffer).subarray(s.offset,s.limit),f.offset),f.offset+=n);return f.limit=f.offset,f.offset=0,f},e.isByteBuffer=function(A){return!0===(A&&A instanceof e)},e.type=function(){return ArrayBuffer},e.wrap=function(A,r,n,g){if("string"!=typeof r&&(g=n,n=r,r=void 0),"string"==typeof A)switch(void 0===r&&(r="utf8"),r){case"base64":return e.fromBase64(A,n);case"hex":return e.fromHex(A,n);case"binary":return e.fromBinary(A,n);case"utf8":return e.fromUTF8(A,n);case"debug":return e.fromDebug(A,n);default:throw Error("Unsupported encoding: "+r)}if(null===A||"object"!=typeof A)throw TypeError("Illegal buffer");var o;if(e.isByteBuffer(A))return(o=t.clone.call(A)).markedOffset=-1,o;if(A instanceof Uint8Array)o=new e(0,n,g),A.length>0&&(o.buffer=A.buffer,o.offset=A.byteOffset,o.limit=A.byteOffset+A.length,o.view=A.length>0?new DataView(A.buffer):null);else if(A instanceof ArrayBuffer)o=new e(0,n,g),A.byteLength>0&&(o.buffer=A,o.offset=0,o.limit=A.byteLength,o.view=A.byteLength>0?new DataView(A):null);else{if("[object Array]"!==Object.prototype.toString.call(A))throw TypeError("Illegal buffer");for((o=new e(A.length,n,g)).limit=A.length,i=0;i<A.length;++i)o.view.setUint8(i,A[i])}return o},t.writeInt8=function(A,e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof A||A%1!=0)throw TypeError("Illegal value: "+A+" (not an integer)");if(A|=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}e+=1;var i=this.buffer.byteLength;return e>i&&this.resize((i*=2)>e?i:e),e-=1,this.view.setInt8(e,A),t&&(this.offset+=1),this},t.writeByte=t.writeInt8,t.readInt8=function(A){var e=void 0===A;if(e&&(A=this.offset),!this.noAssert){if("number"!=typeof A||A%1!=0)throw TypeError("Illegal offset: "+A+" (not an integer)");if((A>>>=0)<0||A+1>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+A+" (+1) <= "+this.buffer.byteLength)}var t=this.view.getInt8(A);return e&&(this.offset+=1),t},t.readByte=t.readInt8,t.writeUint8=function(A,e){var t=void 0===e;if(t&&(e=this.offset),!this.noAssert){if("number"!=typeof A||A%1!=0)throw TypeError("Illegal value: "+A+" (not an integer)");if(A>>>=0,"number"!=typeof e||e%1!=0)throw TypeError("Illegal offset: "+e+" (not an integer)");if((e>>>=0)<0||e+0>this.buffer.byteLength)throw RangeError("Illegal offset: 0 <= "+e+" (+0) <= "+this.buffer.byteLength)}e+=1;var i=this.buffer.byteLength;return e>i&&this.resize((i*=2)>e?i:e),e-=1,this.view.setUint8(e,A),t&&(this.offset+=1),this},t.readUint8=function(A){var e=void 0===A;if(e&&(A=this.offset),!this.noAssert){if("number"!=typeof A||A%1!=0)throw TypeError("Illegal offset: "+A+" (not an integer)");if((A>
/**
* @license protobuf.js (c) 2013 Daniel Wirtz <dcode@dcode.io>
* Released under the Apache License, Version 2.0
* see: https://github.com/dcodeIO/protobuf.js for details
*/
function(A,e){"function"==typeof define&&define.amd?define(["bytebuffer"],e):"function"==typeof require&&"object"==typeof module&&module&&module.exports?module.exports=e(require("bytebuffer"),!0):(A.dcodeIO=A.dcodeIO||{}).ProtoBuf=e(A.dcodeIO.ByteBuffer)}(this,(function(e,t){"use strict";var i,r={};return r.ByteBuffer=e,r.Long=e.Long||null,r.VERSION="5.0.1",r.WIRE_TYPES={},r.WIRE_TYPES.VARINT=0,r.WIRE_TYPES.BITS64=1,r.WIRE_TYPES.LDELIM=2,r.WIRE_TYPES.STARTGROUP=3,r.WIRE_TYPES.ENDGROUP=4,r.WIRE_TYPES.BITS32=5,r.PACKABLE_WIRE_TYPES=[r.WIRE_TYPES.VARINT,r.WIRE_TYPES.BITS64,r.WIRE_TYPES.BITS32],r.TYPES={int32:{name:"int32",wireType:r.WIRE_TYPES.VARINT,defaultValue:0},uint32:{name:"uint32",wireType:r.WIRE_TYPES.VARINT,defaultValue:0},sint32:{name:"sint32",wireType:r.WIRE_TYPES.VARINT,defaultValue:0},int64:{name:"int64",wireType:r.WIRE_TYPES.VARINT,defaultValue:r.Long?r.Long.ZERO:void 0},uint64:{name:"uint64",wireType:r.WIRE_TYPES.VARINT,defaultValue:r.Long?r.Long.UZERO:void 0},sint64:{name:"sint64",wireType:r.WIRE_TYPES.VARINT,defaultValue:r.Long?r.Long.ZERO:void 0},bool:{name:"bool",wireType:r.WIRE_TYPES.VARINT,defaultValue:!1},double:{name:"double",wireType:r.WIRE_TYPES.BITS64,defaultValue:0},string:{name:"string",wireType:r.WIRE_TYPES.LDELIM,defaultValue:""},bytes:{name:"bytes",wireType:r.WIRE_TYPES.LDELIM,defaultValue:null},fixed32:{name:"fixed32",wireType:r.WIRE_TYPES.BITS32,defaultValue:0},sfixed32:{name:"sfixed32",wireType:r.WIRE_TYPES.BITS32,defaultValue:0},fixed64:{name:"fixed64",wireType:r.WIRE_TYPES.BITS64,defaultValue:r.Long?r.Long.UZERO:void 0},sfixed64:{name:"sfixed64",wireType:r.WIRE_TYPES.BITS64,defaultValue:r.Long?r.Long.ZERO:void 0},float:{name:"float",wireType:r.WIRE_TYPES.BITS32,defaultValue:0},enum:{name:"enum",wireType:r.WIRE_TYPES.VARINT,defaultValue:0},message:{name:"message",wireType:r.WIRE_TYPES.LDELIM,defaultValue:null},group:{name:"group",wireType:r.WIRE_TYPES.STARTGROUP,defaultValue:null}},r.MAP_KEY_TYPES=[r.TYPES.int32,r.TYPES.sint32,r.TYPES.sfixed32,r.TYPES.uint32,r.TYPES.fixed32,r.TYPES.int64,r.TYPES.sint64,r.TYPES.sfixed64,r.TYPES.uint64,r.TYPES.fixed64,r.TYPES.bool,r.TYPES.string,r.TYPES.bytes],r.ID_MIN=1,r.ID_MAX=536870911,r.convertFieldsToCamelCase=!1,r.populateAccessors=!0,r.populateDefaults=!0,r.Util=((i={}).IS_NODE=!("object"!=typeof A||A+""!="[object process]"||A.browser),i.XHR=function(){for(var A=[function(){return new XMLHttpRequest},function(){return new ActiveXObject("Msxml2.XMLHTTP")},function(){return new ActiveXObject("Msxml3.XMLHTTP")},function(){return new ActiveXObject("Microsoft.XMLHTTP")}],e=null,t=0;t<A.length;t++){try{e=A[t]()}catch(A){continue}break}if(!e)throw Error("XMLHttpRequest is not supported");return e},i.fetch=function(A,e){if(e&&"function"!=typeof e&&(e=null),i.IS_NODE){var t=require("fs");if(e)t.readFile(A,(function(A,t){e(A?null:""+t)}));else try{return t.readFileSync(A)}catch(A){return null}}else{var r=i.XHR();if(r.open("GET",A,!!e),r.setRequestHeader("Accept","text/plain"),"function"==typeof r.overrideMimeType&&r.overrideMimeType("text/plain"),!e)return r.send(null),200==r.status||0==r.status&&"string"==typeof r.responseText?r.responseText:null;if(r.onreadystatechange=function(){4==r.readyState&&(200==r.status||0==r.status&&"string"==typeof r.responseText?e(r.responseText):e(null))},4==r.readyState)return;r.send(null)}},i.toCamelCase=function(A){return A.replace(/_([a-zA-Z])/g,(function(A,e){return e.toUpperCase()}))},i),r.Lang={DELIM:/[\s\{\}=;:\[\],'"\(\)<>]/g,RULE:/^(?:required|optional|repeated|map)$/,TYPE:/^(?:double|float|int32|uint32|sint32|int64|uint64|sint64|fixed32|sfixed32|fixed64|sfixed64|bool|string|bytes)$/,NAME:/^[a-zA-Z_][a-zA-Z_0-9]*$/,TYPEDEF:/^[a-zA-Z][a-zA-Z_0-9]*$/,TYPEREF:/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)+$/,FQTYPEREF:/^(?:\.[a-zA-Z][a-zA-Z_0-9]*)+$/,NUMBER:/^-?(?:[1-9][0-9]*|0|0[xX][0-9a-fA-F]+|0[0-7]+|([0-9]*(\.[0-9]*)?([Ee][+-]?[0-9]+)?)|inf|nan)$/,NUMBER_DEC:/^(?:[1-9][0-9]*|0)$/,NUMBER_HEX:/^0[xX][0-9a-fA-F]+$/,NUMBER_OCT:/^0[0-7]+$/,NUMBER_FLT:/^([0-9]*(\.[0-9]*)?([Ee][+-]?[0-9]+)?|inf|nan)$/,BOOL:/^(?:true|false)$/i,ID:/^(?:[1-9]